diff --git a/app/kuma-ui/pkg/resources/data/assets/AddNewServices.b6c8456a.js b/app/kuma-ui/pkg/resources/data/assets/AddNewServices.94ef0507.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/AddNewServices.b6c8456a.js rename to app/kuma-ui/pkg/resources/data/assets/AddNewServices.94ef0507.js index 3fefb985f54b..be5818f60cfd 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AddNewServices.b6c8456a.js +++ b/app/kuma-ui/pkg/resources/data/assets/AddNewServices.94ef0507.js @@ -1 +1 @@ -import{D as c,o as l,j as f,I as b,A as x,cn as w,cR as O,c as h,w as a,a as s,l as e,i as r}from"./index.09f51eb8.js";import{O as $}from"./OnboardingNavigation.06ee2172.js";import{O as k,a as y}from"./OnboardingPage.2f3fde76.js";const B={name:"ServiceBox",props:{active:{type:Boolean,default:!1}},emits:["clicked"],computed:{classes(){return["box",{"box--active":this.active}]}}};function S(n,t,p,m,u,o){return l(),f("div",{"data-testid":"box",class:x(o.classes),onClick:t[0]||(t[0]=i=>n.$emit("clicked"))},[b(n.$slots,"default",{},void 0,!0)],2)}const C=c(B,[["render",S],["__scopeId","data-v-a26d9032"]]),N=""+new URL("new-service-demo.bff0792e.svg",import.meta.url).href,A=""+new URL("new-service-manually.5bec5301.svg",import.meta.url).href,M={name:"AddNewServices",components:{OnboardingNavigation:$,OnboardingHeading:k,OnboardingPage:y,ServiceBox:C},computed:{...w({onboardingMode:"onboarding/getMode"}),nextStep(){return this.mode==="manually"?"onboarding-completed":"onboarding-add-services-code"},mode:{get(){return this.onboardingMode},set(n){this.update(n)}}},methods:{...O({update:"onboarding/UPDATE_MODE"})}},D={class:"h-full w-full flex justify-evenly items-center"},P=e("div",null,[e("img",{src:N}),e("div",{class:"ml-3"},[e("p",{class:"uppercase font-bold tracking-wider"}," Demo app "),e("p",null,"Counter application")])],-1),E=e("div",{class:"cursor-pointer"},[e("img",{src:A}),e("div",{class:"ml-3"},[e("p",{class:"uppercase font-bold tracking-wider"}," Manually "),e("p",null,"After this wizard")])],-1);function H(n,t,p,m,u,o){const i=r("OnboardingHeading"),d=r("ServiceBox"),v=r("OnboardingNavigation"),_=r("OnboardingPage");return l(),h(_,null,{header:a(()=>[s(i,{title:"Add services"})]),content:a(()=>[e("div",D,[s(d,{active:o.mode==="demo",class:"cursor-pointer",onClicked:t[0]||(t[0]=g=>n.update("demo"))},{default:a(()=>[P]),_:1},8,["active"]),s(d,{active:o.mode==="manually",class:"cursor-pointer",onClicked:t[1]||(t[1]=g=>n.update("manually"))},{default:a(()=>[E]),_:1},8,["active"])])]),navigation:a(()=>[s(v,{"next-step":o.nextStep,"previous-step":"onboarding-create-mesh"},null,8,["next-step"])]),_:1})}const z=c(M,[["render",H]]);export{z as default}; +import{D as c,o as l,j as f,I as b,A as x,cn as w,cR as O,c as h,w as a,a as s,l as e,i as r}from"./index.47c8bf16.js";import{O as $}from"./OnboardingNavigation.2f2b8505.js";import{O as k,a as y}from"./OnboardingPage.545eed79.js";const B={name:"ServiceBox",props:{active:{type:Boolean,default:!1}},emits:["clicked"],computed:{classes(){return["box",{"box--active":this.active}]}}};function S(n,t,p,m,u,o){return l(),f("div",{"data-testid":"box",class:x(o.classes),onClick:t[0]||(t[0]=i=>n.$emit("clicked"))},[b(n.$slots,"default",{},void 0,!0)],2)}const C=c(B,[["render",S],["__scopeId","data-v-a26d9032"]]),N=""+new URL("new-service-demo.bff0792e.svg",import.meta.url).href,A=""+new URL("new-service-manually.5bec5301.svg",import.meta.url).href,M={name:"AddNewServices",components:{OnboardingNavigation:$,OnboardingHeading:k,OnboardingPage:y,ServiceBox:C},computed:{...w({onboardingMode:"onboarding/getMode"}),nextStep(){return this.mode==="manually"?"onboarding-completed":"onboarding-add-services-code"},mode:{get(){return this.onboardingMode},set(n){this.update(n)}}},methods:{...O({update:"onboarding/UPDATE_MODE"})}},D={class:"h-full w-full flex justify-evenly items-center"},P=e("div",null,[e("img",{src:N}),e("div",{class:"ml-3"},[e("p",{class:"uppercase font-bold tracking-wider"}," Demo app "),e("p",null,"Counter application")])],-1),E=e("div",{class:"cursor-pointer"},[e("img",{src:A}),e("div",{class:"ml-3"},[e("p",{class:"uppercase font-bold tracking-wider"}," Manually "),e("p",null,"After this wizard")])],-1);function H(n,t,p,m,u,o){const i=r("OnboardingHeading"),d=r("ServiceBox"),v=r("OnboardingNavigation"),_=r("OnboardingPage");return l(),h(_,null,{header:a(()=>[s(i,{title:"Add services"})]),content:a(()=>[e("div",D,[s(d,{active:o.mode==="demo",class:"cursor-pointer",onClicked:t[0]||(t[0]=g=>n.update("demo"))},{default:a(()=>[P]),_:1},8,["active"]),s(d,{active:o.mode==="manually",class:"cursor-pointer",onClicked:t[1]||(t[1]=g=>n.update("manually"))},{default:a(()=>[E]),_:1},8,["active"])])]),navigation:a(()=>[s(v,{"next-step":o.nextStep,"previous-step":"onboarding-create-mesh"},null,8,["next-step"])]),_:1})}const z=c(M,[["render",H]]);export{z as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode.1aab921c.js b/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode.96ae6653.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode.1aab921c.js rename to app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode.96ae6653.js index 7241f5a98a3d..fe682f66c443 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode.1aab921c.js +++ b/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode.96ae6653.js @@ -1,4 +1,4 @@ -import{D as g,M as _,ck as k,cn as b,k as P,o as t,c as f,w as r,a as o,j as s,F as D,l as a,t as v,b as x,z as C,i as n}from"./index.09f51eb8.js";import{j as y}from"./index.58caa11d.js";import{k as O}from"./kumaDpServerUrl.8cd5871a.js";import{_ as A}from"./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js";import{L as N}from"./LoadingBox.e4d58f37.js";import{O as T}from"./OnboardingNavigation.06ee2172.js";import{O as w,a as L}from"./OnboardingPage.2f3fde76.js";import"./_commonjsHelpers.f037b798.js";const B=1e3,R={type:"Dataplane",mesh:"default",name:"example",networking:{address:"localhost",inbound:[{port:7777,servicePort:7777,serviceAddress:"127.0.0.1",tags:{"kuma.io/service":"example","kuma.io/protocol":"tcp"}}]}},E={name:"AddNewServicesCode",components:{CodeBlock:A,OnboardingNavigation:T,OnboardingHeading:w,OnboardingPage:L,LoadingBox:N,KCard:_},data(){return{productName:k,githubLink:"https://github.com/kumahq/kuma-counter-demo/",githubLinkReadme:"https://github.com/kumahq/kuma-counter-demo/blob/master/README.md",k8sRunCommand:"kubectl apply -f https://bit.ly/3Kh2Try",generateDpTokenCode:"kumactl generate dataplane-token --name=redis > kuma-token-redis",startDpCode:`kuma-dp run \\ +import{D as g,M as _,ck as k,cn as b,k as P,o as t,c as f,w as r,a as o,j as s,F as D,l as a,t as v,b as x,z as C,i as n}from"./index.47c8bf16.js";import{j as y}from"./index.58caa11d.js";import{k as O}from"./kumaDpServerUrl.8cd5871a.js";import{_ as A}from"./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js";import{L as N}from"./LoadingBox.3ecf3ffd.js";import{O as T}from"./OnboardingNavigation.2f2b8505.js";import{O as w,a as L}from"./OnboardingPage.545eed79.js";import"./_commonjsHelpers.f037b798.js";const B=1e3,R={type:"Dataplane",mesh:"default",name:"example",networking:{address:"localhost",inbound:[{port:7777,servicePort:7777,serviceAddress:"127.0.0.1",tags:{"kuma.io/service":"example","kuma.io/protocol":"tcp"}}]}},E={name:"AddNewServicesCode",components:{CodeBlock:A,OnboardingNavigation:T,OnboardingHeading:w,OnboardingPage:L,LoadingBox:N,KCard:_},data(){return{productName:k,githubLink:"https://github.com/kumahq/kuma-counter-demo/",githubLinkReadme:"https://github.com/kumahq/kuma-counter-demo/blob/master/README.md",k8sRunCommand:"kubectl apply -f https://bit.ly/3Kh2Try",generateDpTokenCode:"kumactl generate dataplane-token --name=redis > kuma-token-redis",startDpCode:`kuma-dp run \\ --cp-address=${O()} \\ --dataplane=${`"${y(R)}"`} \\ --dataplane-token-file=kuma-token-example`,hasDPPs:!1,DPPsTimeout:null}},computed:{...b({environment:"config/getEnvironment"}),isKubernetes(){return this.environment==="kubernetes"}},created(){this.getDPPs()},unmounted(){clearTimeout(this.DPPsTimeout)},methods:{async getDPPs(){try{const{total:i}=await P.getAllDataplanes();this.hasDPPs=i>0}catch(i){console.error(i)}this.hasDPPs||(this.DPPsTimeout=setTimeout(()=>this.getDPPs(),B))}}},K=a("p",{class:"text-center mb-12"}," The demo application includes two services: a Redis backend to store a counter value, and a frontend web UI to show and increment the counter. ",-1),S=a("p",null,"To run execute the following command:",-1),V={key:1},j=a("p",null,"Clone the GitHub repository for the demo application:",-1),G=["href"],H={class:"text-center my-4"},M={key:0,class:"text-green-500","data-testid":"dpps-connected"},I={key:1,class:"text-red-500","data-testid":"dpps-disconnected"},U={key:0,class:"flex justify-center"};function q(i,F,z,J,e,d){const l=n("OnboardingHeading"),c=n("CodeBlock"),m=n("KCard"),u=n("LoadingBox"),p=n("OnboardingNavigation"),h=n("OnboardingPage");return t(),f(h,null,{header:r(()=>[o(l,{title:"Add services"})]),content:r(()=>[K,d.isKubernetes?(t(),s(D,{key:0},[S,o(c,{id:"code-block-kubernetes-command",language:"bash",code:e.k8sRunCommand},null,8,["code"])],64)):(t(),s("div",V,[j,o(c,{id:"code-block-clone-command",language:"bash",code:e.githubLink},null,8,["code"]),o(m,{title:"And follow the instructions in the README","border-variant":"noBorder"},{body:r(()=>[a("a",{target:"_blank",class:"external-link-code-block",href:e.githubLinkReadme},v(e.githubLinkReadme),9,G)]),_:1})])),a("div",null,[a("p",H,[x(" DPPs status: "),e.hasDPPs?(t(),s("span",M,"Connected")):(t(),s("span",I,"Disconeccted"))]),e.hasDPPs?C("",!0):(t(),s("div",U,[o(u)]))])]),navigation:r(()=>[o(p,{"next-step":"onboarding-dataplanes-overview","previous-step":"onboarding-add-services","should-allow-next":e.hasDPPs},null,8,["should-allow-next"])]),_:1})}const oe=g(E,[["render",q]]);export{oe as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView.d65b4bb1.js b/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView.0d7920fa.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/AppNotFoundView.d65b4bb1.js rename to app/kuma-ui/pkg/resources/data/assets/AppNotFoundView.0d7920fa.js index 8d0be4d76f7d..42999122e65b 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView.d65b4bb1.js +++ b/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView.0d7920fa.js @@ -1 +1 @@ -import{d as n,o as s,j as r,a as o,w as e,u as a,K as c,b as t,e as l,O as i,l as d}from"./index.09f51eb8.js";const p={class:"overview"},_=d("p",null,"Page Not Found",-1),g=n({__name:"AppNotFoundView",setup(u){return(m,f)=>(s(),r("div",p,[o(a(i),null,{title:e(()=>[o(a(c),{class:"kong-icon--centered",icon:"warning",color:"var(--black-75)","secondary-color":"var(--yellow-300)",size:"64"}),_]),message:e(()=>[t(" The page or entity you were looking for does not exist. ")]),cta:e(()=>[o(a(l),{appearance:"primary",to:{name:"home"}},{default:e(()=>[t(" Go Home ")]),_:1})]),_:1})]))}});export{g as default}; +import{d as n,o as s,j as r,a as o,w as e,u as a,K as c,b as t,e as l,O as i,l as d}from"./index.47c8bf16.js";const p={class:"overview"},_=d("p",null,"Page Not Found",-1),g=n({__name:"AppNotFoundView",setup(u){return(m,f)=>(s(),r("div",p,[o(a(i),null,{title:e(()=>[o(a(c),{class:"kong-icon--centered",icon:"warning",color:"var(--black-75)","secondary-color":"var(--yellow-300)",size:"64"}),_]),message:e(()=>[t(" The page or entity you were looking for does not exist. ")]),cta:e(()=>[o(a(l),{appearance:"primary",to:{name:"home"}},{default:e(()=>[t(" Go Home ")]),_:1})]),_:1})]))}});export{g as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js b/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js rename to app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js index 3dbc2cc78eab..0e2512ef5ec7 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js +++ b/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js @@ -1,4 +1,4 @@ -import{d as te,r as ae,f as ne,S as U,o as re,c as ie,T as se,u as q,U as oe,V as le}from"./index.09f51eb8.js";import{c as Z}from"./_commonjsHelpers.f037b798.js";var W={exports:{}};(function(m){var p=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** +import{d as te,r as ae,f as ne,S as U,o as re,c as ie,T as se,u as q,U as oe,V as le}from"./index.47c8bf16.js";import{c as Z}from"./_commonjsHelpers.f037b798.js";var W={exports:{}};(function(m){var p=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.6ab5c546.js b/app/kuma-ui/pkg/resources/data/assets/CompletedView.11be9340.js similarity index 67% rename from app/kuma-ui/pkg/resources/data/assets/CompletedView.6ab5c546.js rename to app/kuma-ui/pkg/resources/data/assets/CompletedView.11be9340.js index c9223955138d..10b26c9fcaa3 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CompletedView.6ab5c546.js +++ b/app/kuma-ui/pkg/resources/data/assets/CompletedView.11be9340.js @@ -1 +1 @@ -import{O as o}from"./OnboardingNavigation.06ee2172.js";import{O as s,a as n}from"./OnboardingPage.2f3fde76.js";import{d as r,o as i,c,w as e,a as t,l as a}from"./index.09f51eb8.js";const p=""+new URL("kuma_gui.ecebdf10.png",import.meta.url).href,d=a("div",{class:"flex justify-center"},[a("img",{src:p})],-1),u=r({__name:"CompletedView",setup(m){return(l,_)=>(i(),c(n,null,{header:e(()=>[t(s,{title:"Go to the dashboard"})]),content:e(()=>[d]),navigation:e(()=>[t(o,{"next-step":"home","next-step-title":"Completed","last-step":"","show-skip":!1})]),_:1}))}});export{u as default}; +import{O as o}from"./OnboardingNavigation.2f2b8505.js";import{O as s,a as n}from"./OnboardingPage.545eed79.js";import{d as r,o as i,c,w as e,a as t,l as a}from"./index.47c8bf16.js";const p=""+new URL("kuma_gui.ecebdf10.png",import.meta.url).href,d=a("div",{class:"flex justify-center"},[a("img",{src:p})],-1),u=r({__name:"CompletedView",setup(m){return(l,_)=>(i(),c(n,null,{header:e(()=>[t(s,{title:"Go to the dashboard"})]),content:e(()=>[d]),navigation:e(()=>[t(o,{"next-step":"home","next-step-title":"Completed","last-step":"","show-skip":!1})]),_:1}))}});export{u as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes.96dc26ce.js b/app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes.5050c194.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes.96dc26ce.js rename to app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes.5050c194.js index f6867b2c4a97..f6de0e69dec4 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes.96dc26ce.js +++ b/app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes.5050c194.js @@ -1 +1 @@ -import{D as u,cK as g,ck as h,i as f,o as p,j as m,a as r,w as C,b as l,t as a,cO as d,l as e,cQ as y,cn as _,c as x,cy as Z}from"./index.09f51eb8.js";import{O as S}from"./OnboardingNavigation.06ee2172.js";import{O as w,a as F}from"./OnboardingPage.2f3fde76.js";const G={name:"KubernetesGraph",components:{KPop:g},data(){return{productName:h}}},v={width:"794",height:"181",viewBox:"0 0 794 181",fill:"none",xmlns:"http://www.w3.org/2000/svg"},A=d('',17),k=e("g",{class:"cursor-help animate-pulse"},[e("g",{filter:"url(#filter7_d)"},[e("circle",{cx:"92",cy:"66",r:"27",fill:"url(#paint0_linear)"}),e("circle",{cx:"92",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),e("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:"#4A4622"})],-1),O=e("g",{class:"cursor-help animate-pulse"},[e("g",{filter:"url(#filter8_d)"},[e("circle",{cx:"495",cy:"66",r:"27",fill:"url(#paint1_linear)"}),e("circle",{cx:"495",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),e("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:"#4A4622"})],-1),U=e("g",{class:"cursor-help animate-pulse"},[e("g",{filter:"url(#filter9_d)"},[e("circle",{cx:"745",cy:"66",r:"27",fill:"url(#paint2_linear)"}),e("circle",{cx:"745",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),e("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:"#4A4622"})],-1),b=d('',1);function I(c,i,V,M,t,s){const o=f("KPop");return p(),m("svg",v,[A,r(o,{trigger:"hover",title:"Yaml","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:C(()=>[l(" Configuration for all "+a(t.productName)+" resources is specified in YAML config files. The config files can be stored in an external datastore. ",1)]),default:C(()=>[k]),_:1}),r(o,{trigger:"hover",title:t.productName,"is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:C(()=>[l(" In Kubernetes mode, the "+a(t.productName)+" control plane listens to the Kubernetes API to fetch the right resources and configure the service mesh. ",1)]),default:C(()=>[O]),_:1},8,["title"]),r(o,{trigger:"hover",title:"Kubernetes","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:C(()=>[l(" You can store the YAML config files for "+a(t.productName)+" in etcd, the native datastore for Kubernetes. ",1)]),default:C(()=>[U]),_:1}),b])}const D=u(G,[["render",I]]),R={name:"PostgresGraph",components:{KPop:g},data(){return{productName:h}}},N={width:"794",height:"181",viewBox:"0 0 794 181",fill:"none",xmlns:"http://www.w3.org/2000/svg"},P=d('',17),K=e("g",{class:"cursor-help animate-pulse"},[e("g",{filter:"url(#filter7_d)"},[e("circle",{cx:"92",cy:"66",r:"27",fill:"url(#paint0_linear)"}),e("circle",{cx:"92",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),e("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:"#4A4622"})],-1),$=e("g",{class:"cursor-help animate-pulse"},[e("g",{filter:"url(#filter8_d)"},[e("circle",{cx:"495",cy:"66",r:"27",fill:"url(#paint1_linear)"}),e("circle",{cx:"495",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),e("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:"#4A4622"})],-1),Y=e("g",{class:"cursor-help animate-pulse"},[e("g",{filter:"url(#filter9_d)"},[e("circle",{cx:"745",cy:"66",r:"27",fill:"url(#paint2_linear)"}),e("circle",{cx:"745",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),e("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:"#4A4622"})],-1),T=d('',1);function E(c,i,V,M,t,s){const o=f("KPop");return p(),m("svg",N,[P,r(o,{trigger:"hover",title:"Yaml","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:C(()=>[l(" Configuration for all "+a(t.productName)+" resources is specified in YAML config files. The config files can be stored in an external datastore. ",1)]),default:C(()=>[K]),_:1}),r(o,{trigger:"hover",title:t.productName,"is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:C(()=>[l(" In Postgres mode, the "+a(t.productName)+" control plane connects to Postgres to fetch the right resources and configure the service mesh. ",1)]),default:C(()=>[$]),_:1},8,["title"]),r(o,{trigger:"hover",title:"Postgres","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:C(()=>[l(" You can store the YAML config files for "+a(t.productName)+" in a Postgres database. You can work with a managed Postgres offering or manage your own. ",1)]),default:C(()=>[Y]),_:1}),T])}const j=u(R,[["render",E]]),z={name:"MemoryGraph",components:{KPop:g},data(){return{productName:h}}},Q={width:"544",height:"181",viewBox:"0 0 544 181",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q=d('',10),J=e("g",{class:"cursor-help animate-pulse"},[e("g",{filter:"url(#filter3_d)"},[e("circle",{cx:"92",cy:"66",r:"27",fill:"url(#paint0_linear)"}),e("circle",{cx:"92",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),e("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:"#4A4622"})],-1),W=e("g",{class:"cursor-help animate-pulse"},[e("g",{filter:"url(#filter4_d)"},[e("circle",{cx:"495",cy:"66",r:"27",fill:"url(#paint1_linear)"}),e("circle",{cx:"495",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),e("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:"#4A4622"})],-1),X=d('',1);function e1(c,i,V,M,t,s){const o=f("KPop");return p(),m("svg",Q,[q,r(o,{trigger:"hover",title:"Yaml","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:C(()=>[l(" You can store the YAML config files for "+a(t.productName)+" in memory to skip the complexity of setting up a reliable datastore. For testing only. Not for production. ",1)]),default:C(()=>[J]),_:1}),r(o,{trigger:"hover",title:t.productName,"is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:C(()=>[l(" Since everything is stored in-memory, if "+a(t.productName)+" restarts the configuration will be lost. This mode is only recommended in development/testing mode. ",1)]),default:C(()=>[W]),_:1},8,["title"]),X])}const C1=u(z,[["render",e1]]);const t1={name:"ConfigurationTypes",components:{KubernetesGraph:D,PostgresGraph:j,MemoryGraph:C1,OnboardingNavigation:S,OnboardingHeading:w,OnboardingPage:F,KRadio:y},data(){return{mode:"kubernetes",productName:h}},computed:{..._({multicluster:"config/getMulticlusterStatus",configurationType:"config/getConfigurationType"}),nextStep(){return this.multicluster?"onboarding-multi-zone":"onboarding-create-mesh"},currentGraph(){switch(this.mode){case"kubernetes":return"KubernetesGraph";case"postgres":return"PostgresGraph";case"memory":return"MemoryGraph";default:return"KubernetesGraph"}}},mounted(){this.mode=this.configurationType}},r1={class:"h-full w-full flex items-center justify-center mb-10"},o1={class:"radio flex text-base justify-between w-full sm:w-3/4 md:w-3/5 lg:w-1/2 absolute bottom-0 right-0 left-0 mb-10 mx-auto configuration-type-radio-buttons"};function l1(c,i,V,M,t,s){const o=f("OnboardingHeading"),H=f("KRadio"),B=f("OnboardingNavigation"),L=f("OnboardingPage");return p(),x(L,{"with-image":""},{header:C(()=>[r(o,{title:"Learn about configuration storage"})]),content:C(()=>[e("div",r1,[(p(),x(Z(s.currentGraph)))]),e("div",o1,[r(H,{modelValue:t.mode,"onUpdate:modelValue":i[0]||(i[0]=n=>t.mode=n),name:"deployment","selected-value":"kubernetes"},{default:C(()=>[l(" Kubernetes ")]),_:1},8,["modelValue"]),r(H,{modelValue:t.mode,"onUpdate:modelValue":i[1]||(i[1]=n=>t.mode=n),name:"deployment","selected-value":"postgres"},{default:C(()=>[l(" Postgres ")]),_:1},8,["modelValue"]),r(H,{modelValue:t.mode,"onUpdate:modelValue":i[2]||(i[2]=n=>t.mode=n),name:"deployment","selected-value":"memory"},{default:C(()=>[l(" Memory ")]),_:1},8,["modelValue"])])]),navigation:C(()=>[r(B,{"next-step":s.nextStep,"previous-step":"onboarding-deployment-types"},null,8,["next-step"])]),_:1})}const d1=u(t1,[["render",l1],["__scopeId","data-v-38755e4e"]]);export{d1 as default}; +import{D as u,cK as g,ck as h,i as f,o as p,j as m,a as r,w as C,b as l,t as a,cO as d,l as e,cQ as y,cn as _,c as x,cy as Z}from"./index.47c8bf16.js";import{O as S}from"./OnboardingNavigation.2f2b8505.js";import{O as w,a as F}from"./OnboardingPage.545eed79.js";const G={name:"KubernetesGraph",components:{KPop:g},data(){return{productName:h}}},v={width:"794",height:"181",viewBox:"0 0 794 181",fill:"none",xmlns:"http://www.w3.org/2000/svg"},A=d('',17),k=e("g",{class:"cursor-help animate-pulse"},[e("g",{filter:"url(#filter7_d)"},[e("circle",{cx:"92",cy:"66",r:"27",fill:"url(#paint0_linear)"}),e("circle",{cx:"92",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),e("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:"#4A4622"})],-1),O=e("g",{class:"cursor-help animate-pulse"},[e("g",{filter:"url(#filter8_d)"},[e("circle",{cx:"495",cy:"66",r:"27",fill:"url(#paint1_linear)"}),e("circle",{cx:"495",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),e("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:"#4A4622"})],-1),U=e("g",{class:"cursor-help animate-pulse"},[e("g",{filter:"url(#filter9_d)"},[e("circle",{cx:"745",cy:"66",r:"27",fill:"url(#paint2_linear)"}),e("circle",{cx:"745",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),e("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:"#4A4622"})],-1),b=d('',1);function I(c,i,V,M,t,s){const o=f("KPop");return p(),m("svg",v,[A,r(o,{trigger:"hover",title:"Yaml","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:C(()=>[l(" Configuration for all "+a(t.productName)+" resources is specified in YAML config files. The config files can be stored in an external datastore. ",1)]),default:C(()=>[k]),_:1}),r(o,{trigger:"hover",title:t.productName,"is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:C(()=>[l(" In Kubernetes mode, the "+a(t.productName)+" control plane listens to the Kubernetes API to fetch the right resources and configure the service mesh. ",1)]),default:C(()=>[O]),_:1},8,["title"]),r(o,{trigger:"hover",title:"Kubernetes","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:C(()=>[l(" You can store the YAML config files for "+a(t.productName)+" in etcd, the native datastore for Kubernetes. ",1)]),default:C(()=>[U]),_:1}),b])}const D=u(G,[["render",I]]),R={name:"PostgresGraph",components:{KPop:g},data(){return{productName:h}}},N={width:"794",height:"181",viewBox:"0 0 794 181",fill:"none",xmlns:"http://www.w3.org/2000/svg"},P=d('',17),K=e("g",{class:"cursor-help animate-pulse"},[e("g",{filter:"url(#filter7_d)"},[e("circle",{cx:"92",cy:"66",r:"27",fill:"url(#paint0_linear)"}),e("circle",{cx:"92",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),e("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:"#4A4622"})],-1),$=e("g",{class:"cursor-help animate-pulse"},[e("g",{filter:"url(#filter8_d)"},[e("circle",{cx:"495",cy:"66",r:"27",fill:"url(#paint1_linear)"}),e("circle",{cx:"495",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),e("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:"#4A4622"})],-1),Y=e("g",{class:"cursor-help animate-pulse"},[e("g",{filter:"url(#filter9_d)"},[e("circle",{cx:"745",cy:"66",r:"27",fill:"url(#paint2_linear)"}),e("circle",{cx:"745",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),e("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:"#4A4622"})],-1),T=d('',1);function E(c,i,V,M,t,s){const o=f("KPop");return p(),m("svg",N,[P,r(o,{trigger:"hover",title:"Yaml","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:C(()=>[l(" Configuration for all "+a(t.productName)+" resources is specified in YAML config files. The config files can be stored in an external datastore. ",1)]),default:C(()=>[K]),_:1}),r(o,{trigger:"hover",title:t.productName,"is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:C(()=>[l(" In Postgres mode, the "+a(t.productName)+" control plane connects to Postgres to fetch the right resources and configure the service mesh. ",1)]),default:C(()=>[$]),_:1},8,["title"]),r(o,{trigger:"hover",title:"Postgres","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:C(()=>[l(" You can store the YAML config files for "+a(t.productName)+" in a Postgres database. You can work with a managed Postgres offering or manage your own. ",1)]),default:C(()=>[Y]),_:1}),T])}const j=u(R,[["render",E]]),z={name:"MemoryGraph",components:{KPop:g},data(){return{productName:h}}},Q={width:"544",height:"181",viewBox:"0 0 544 181",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q=d('',10),J=e("g",{class:"cursor-help animate-pulse"},[e("g",{filter:"url(#filter3_d)"},[e("circle",{cx:"92",cy:"66",r:"27",fill:"url(#paint0_linear)"}),e("circle",{cx:"92",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),e("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:"#4A4622"})],-1),W=e("g",{class:"cursor-help animate-pulse"},[e("g",{filter:"url(#filter4_d)"},[e("circle",{cx:"495",cy:"66",r:"27",fill:"url(#paint1_linear)"}),e("circle",{cx:"495",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),e("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:"#4A4622"})],-1),X=d('',1);function e1(c,i,V,M,t,s){const o=f("KPop");return p(),m("svg",Q,[q,r(o,{trigger:"hover",title:"Yaml","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:C(()=>[l(" You can store the YAML config files for "+a(t.productName)+" in memory to skip the complexity of setting up a reliable datastore. For testing only. Not for production. ",1)]),default:C(()=>[J]),_:1}),r(o,{trigger:"hover",title:t.productName,"is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:C(()=>[l(" Since everything is stored in-memory, if "+a(t.productName)+" restarts the configuration will be lost. This mode is only recommended in development/testing mode. ",1)]),default:C(()=>[W]),_:1},8,["title"]),X])}const C1=u(z,[["render",e1]]);const t1={name:"ConfigurationTypes",components:{KubernetesGraph:D,PostgresGraph:j,MemoryGraph:C1,OnboardingNavigation:S,OnboardingHeading:w,OnboardingPage:F,KRadio:y},data(){return{mode:"kubernetes",productName:h}},computed:{..._({multicluster:"config/getMulticlusterStatus",configurationType:"config/getConfigurationType"}),nextStep(){return this.multicluster?"onboarding-multi-zone":"onboarding-create-mesh"},currentGraph(){switch(this.mode){case"kubernetes":return"KubernetesGraph";case"postgres":return"PostgresGraph";case"memory":return"MemoryGraph";default:return"KubernetesGraph"}}},mounted(){this.mode=this.configurationType}},r1={class:"h-full w-full flex items-center justify-center mb-10"},o1={class:"radio flex text-base justify-between w-full sm:w-3/4 md:w-3/5 lg:w-1/2 absolute bottom-0 right-0 left-0 mb-10 mx-auto configuration-type-radio-buttons"};function l1(c,i,V,M,t,s){const o=f("OnboardingHeading"),H=f("KRadio"),B=f("OnboardingNavigation"),L=f("OnboardingPage");return p(),x(L,{"with-image":""},{header:C(()=>[r(o,{title:"Learn about configuration storage"})]),content:C(()=>[e("div",r1,[(p(),x(Z(s.currentGraph)))]),e("div",o1,[r(H,{modelValue:t.mode,"onUpdate:modelValue":i[0]||(i[0]=n=>t.mode=n),name:"deployment","selected-value":"kubernetes"},{default:C(()=>[l(" Kubernetes ")]),_:1},8,["modelValue"]),r(H,{modelValue:t.mode,"onUpdate:modelValue":i[1]||(i[1]=n=>t.mode=n),name:"deployment","selected-value":"postgres"},{default:C(()=>[l(" Postgres ")]),_:1},8,["modelValue"]),r(H,{modelValue:t.mode,"onUpdate:modelValue":i[2]||(i[2]=n=>t.mode=n),name:"deployment","selected-value":"memory"},{default:C(()=>[l(" Memory ")]),_:1},8,["modelValue"])])]),navigation:C(()=>[r(B,{"next-step":s.nextStep,"previous-step":"onboarding-deployment-types"},null,8,["next-step"])]),_:1})}const d1=u(t1,[["render",l1],["__scopeId","data-v-38755e4e"]]);export{d1 as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ContentWrapper.dfc9e5ec.js b/app/kuma-ui/pkg/resources/data/assets/ContentWrapper.1e8852e7.js similarity index 87% rename from app/kuma-ui/pkg/resources/data/assets/ContentWrapper.dfc9e5ec.js rename to app/kuma-ui/pkg/resources/data/assets/ContentWrapper.1e8852e7.js index c095558d369d..06bbe72cacbf 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ContentWrapper.dfc9e5ec.js +++ b/app/kuma-ui/pkg/resources/data/assets/ContentWrapper.1e8852e7.js @@ -1 +1 @@ -import{d as a,H as r,o as t,j as o,l as _,I as s,u as c,z as p,D as d}from"./index.09f51eb8.js";const i={class:"content-wrapper"},l={class:"content-wrapper__content component-frame"},m={key:0,class:"content-wrapper__sidebar component-frame"},u=a({__name:"ContentWrapper",setup(v){const n=r();return(e,f)=>(t(),o("div",i,[_("div",l,[s(e.$slots,"content",{},void 0,!0)]),c(n).sidebar?(t(),o("div",m,[s(e.$slots,"sidebar",{},void 0,!0)])):p("",!0)]))}});const b=d(u,[["__scopeId","data-v-154249ab"]]);export{b as C}; +import{d as a,H as r,o as t,j as o,l as _,I as s,u as c,z as p,D as d}from"./index.47c8bf16.js";const i={class:"content-wrapper"},l={class:"content-wrapper__content component-frame"},m={key:0,class:"content-wrapper__sidebar component-frame"},u=a({__name:"ContentWrapper",setup(v){const n=r();return(e,f)=>(t(),o("div",i,[_("div",l,[s(e.$slots,"content",{},void 0,!0)]),c(n).sidebar?(t(),o("div",m,[s(e.$slots,"sidebar",{},void 0,!0)])):p("",!0)]))}});const b=d(u,[["__scopeId","data-v-154249ab"]]);export{b as C}; diff --git a/app/kuma-ui/pkg/resources/data/assets/CreateMesh.aea713fc.js b/app/kuma-ui/pkg/resources/data/assets/CreateMesh.8a2971c1.js similarity index 88% rename from app/kuma-ui/pkg/resources/data/assets/CreateMesh.aea713fc.js rename to app/kuma-ui/pkg/resources/data/assets/CreateMesh.8a2971c1.js index 48adad073a45..6054f39608c0 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CreateMesh.aea713fc.js +++ b/app/kuma-ui/pkg/resources/data/assets/CreateMesh.8a2971c1.js @@ -1 +1 @@ -import{D as p,L as m,ck as u,cn as b,o as g,c as _,w as s,a as n,l as e,b as o,t as h,i as t}from"./index.09f51eb8.js";import{O as f}from"./OnboardingNavigation.06ee2172.js";import{O as v,a as y}from"./OnboardingPage.2f3fde76.js";const O={name:"CreateMesh",components:{OnboardingNavigation:f,OnboardingHeading:v,OnboardingPage:y,KTable:m},data(){return{productName:u,tableHeaders:[{label:"Name",key:"name"},{label:"Services",key:"servicesAmount"},{label:"DPPs",key:"dppsAmount"}],tableData:{total:1,data:[{name:"default",servicesAmount:0,dppsAmount:0}]}}},computed:{...b({multicluster:"config/getMulticlusterStatus"}),previousStep(){return this.multicluster?"onboarding-multi-zone":"onboarding-configuration-types"}}},x={class:"text-center mb-4"},N=e("i",null,"default",-1),k={class:"flex justify-center mt-10 mb-12 pb-12"},C={class:"w-full sm:w-3/5 lg:w-2/5 p-4"},D=e("p",{class:"text-center"}," This mesh is empty. Next, you add services and their data plane proxies. ",-1);function P(T,w,A,H,a,r){const i=t("OnboardingHeading"),c=t("KTable"),l=t("OnboardingNavigation"),d=t("OnboardingPage");return g(),_(d,null,{header:s(()=>[n(i,{title:"Create the mesh"})]),content:s(()=>[e("p",x,[o(" When you install, "+h(a.productName)+" creates a ",1),N,o(" mesh, but you can add as many meshes as you need. ")]),e("div",k,[e("div",C,[n(c,{fetcher:()=>a.tableData,headers:a.tableHeaders,"disable-pagination":"","is-small":""},null,8,["fetcher","headers"])])]),D]),navigation:s(()=>[n(l,{"next-step":"onboarding-add-services","previous-step":r.previousStep},null,8,["previous-step"])]),_:1})}const K=p(O,[["render",P]]);export{K as default}; +import{D as p,L as m,ck as u,cn as b,o as g,c as _,w as s,a as n,l as e,b as o,t as h,i as t}from"./index.47c8bf16.js";import{O as f}from"./OnboardingNavigation.2f2b8505.js";import{O as v,a as y}from"./OnboardingPage.545eed79.js";const O={name:"CreateMesh",components:{OnboardingNavigation:f,OnboardingHeading:v,OnboardingPage:y,KTable:m},data(){return{productName:u,tableHeaders:[{label:"Name",key:"name"},{label:"Services",key:"servicesAmount"},{label:"DPPs",key:"dppsAmount"}],tableData:{total:1,data:[{name:"default",servicesAmount:0,dppsAmount:0}]}}},computed:{...b({multicluster:"config/getMulticlusterStatus"}),previousStep(){return this.multicluster?"onboarding-multi-zone":"onboarding-configuration-types"}}},x={class:"text-center mb-4"},N=e("i",null,"default",-1),k={class:"flex justify-center mt-10 mb-12 pb-12"},C={class:"w-full sm:w-3/5 lg:w-2/5 p-4"},D=e("p",{class:"text-center"}," This mesh is empty. Next, you add services and their data plane proxies. ",-1);function P(T,w,A,H,a,r){const i=t("OnboardingHeading"),c=t("KTable"),l=t("OnboardingNavigation"),d=t("OnboardingPage");return g(),_(d,null,{header:s(()=>[n(i,{title:"Create the mesh"})]),content:s(()=>[e("p",x,[o(" When you install, "+h(a.productName)+" creates a ",1),N,o(" mesh, but you can add as many meshes as you need. ")]),e("div",k,[e("div",C,[n(c,{fetcher:()=>a.tableData,headers:a.tableHeaders,"disable-pagination":"","is-small":""},null,8,["fetcher","headers"])])]),D]),navigation:s(()=>[n(l,{"next-step":"onboarding-add-services","previous-step":r.previousStep},null,8,["previous-step"])]),_:1})}const K=p(O,[["render",P]]);export{K as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataOverview.75cd0a9e.js b/app/kuma-ui/pkg/resources/data/assets/DataOverview.ae0ae0a9.js similarity index 95% rename from app/kuma-ui/pkg/resources/data/assets/DataOverview.75cd0a9e.js rename to app/kuma-ui/pkg/resources/data/assets/DataOverview.ae0ae0a9.js index 8bfa1993ded2..784edf1758d7 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataOverview.75cd0a9e.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataOverview.ae0ae0a9.js @@ -1 +1 @@ -import{d as P,o as s,j as d,c,w as n,b as u,u as f,e as k,z as y,E as S,G as x,D as T,H as G,r as I,f as C,g as M,l,I as E,a as _,A as p,J as L,n as V,K as O,t as r,F as B,L as J,i as X,B as Q,C as Y}from"./index.09f51eb8.js";import{_ as R}from"./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js";import{E as Z}from"./ErrorBlock.6cb5eaea.js";import{_ as ee}from"./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js";import{T as ae}from"./TagList.c6e1c385.js";const te=""+new URL("icon-empty-table.dbb0b754.svg",import.meta.url).href,se={class:"pagination"},ne=P({__name:"PaginationWidget",props:{hasPrevious:{type:Boolean,default:!1},hasNext:{type:Boolean,default:!1}},emits:["next","previous"],setup(t,{emit:g}){const a=t;function D(){g("next"),S.logger.info(x.PAGINATION_NEXT_BUTTON_CLICKED)}function v(){g("previous"),S.logger.info(x.PAGINATION_PREVIOUS_BUTTON_CLICKED)}return(h,N)=>(s(),d("div",se,[a.hasPrevious?(s(),c(f(k),{key:0,appearance:"primary","data-testid":"pagination-previous-button",onClick:v},{default:n(()=>[u(" \u2039 Previous ")]),_:1})):y("",!0),a.hasNext?(s(),c(f(k),{key:1,appearance:"primary","data-testid":"pagination-next-button",onClick:D},{default:n(()=>[u(" Next \u203A ")]),_:1})):y("",!0)]))}});const oe=T(ne,[["__scopeId","data-v-aa2207ca"]]),w=t=>(Q("data-v-23361f5e"),t=t(),Y(),t),le={class:"data-overview","data-testid":"data-overview"},ie={class:"data-table-controls mb-2"},re=w(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},[l("g",{fill:"#fff","fill-rule":"nonzero"},[l("path",{d:"M18 5.5a12.465 12.465 0 00-8.118 2.995 1.5 1.5 0 001.847 2.363l.115-.095A9.437 9.437 0 0118 8.5l.272.004a9.487 9.487 0 019.07 7.75l.04.246H25a.5.5 0 00-.416.777l4 6a.5.5 0 00.832 0l4-6 .04-.072A.5.5 0 0033 16.5h-2.601l-.017-.15C29.567 10.2 24.294 5.5 18 5.5zM2.584 18.723l-.04.072A.5.5 0 003 19.5h2.6l.018.15C6.433 25.8 11.706 30.5 18 30.5c3.013 0 5.873-1.076 8.118-2.995a1.5 1.5 0 00-1.847-2.363l-.115.095A9.437 9.437 0 0118 27.5l-.272-.004a9.487 9.487 0 01-9.07-7.75l-.041-.246H11a.5.5 0 00.416-.777l-4-6a.5.5 0 00-.832 0l-4 6z"})])],-1)),de=[re],ce=w(()=>l("span",null,"Refresh",-1)),ue={key:3,class:"data-overview-content"},fe={key:0,class:"data-overview-table"},ge={key:0,class:"action-link__active-state"},ve=w(()=>l("span",{class:"sr-only"},"Selected",-1)),me={key:1,class:"action-link__normal-state"},pe=w(()=>l("div",{class:"card-icon mb-3"},[l("img",{src:te})],-1)),ye={key:0},he={key:1},_e={key:2,class:"data-overview-content mt-6"},be=P({__name:"DataOverview",props:{selectedEntityName:{type:String,required:!1,default:""},pageSize:{type:Number,required:!1,default:12},isLoading:{type:Boolean,required:!1,default:!1},error:{type:[Error,null],required:!1,default:null},isEmpty:{type:Boolean,required:!1,default:!1},emptyState:{type:Object,required:!1,default:null},tableData:{type:Object,required:!1,default:null},tableDataIsEmpty:{type:Boolean,required:!1,default:!1},showWarnings:{type:Boolean,required:!1,default:!1},showDetails:{type:Boolean,required:!1,default:!1},next:{type:[String,Boolean,null],required:!1,default:!1},pageOffset:{type:Number,required:!1,default:0}},emits:["table-action","refresh","load-data"],setup(t,{emit:g}){const a=t,D=G(),v=I(""),h=I(a.pageOffset),N=C(()=>a.showWarnings?a.tableData.headers:a.tableData.headers.filter(o=>o.key!=="warnings")),A=C(()=>a.tableData.headers.map(o=>o.key).filter(o=>D[o])),q=C(()=>`${a.tableData.data.length}-${N.value.length}`);M(()=>a.isLoading,function(){!a.isLoading&&a.tableData.data.length>0&&(v.value=a.selectedEntityName||a.tableData.data[0].name)});function z(){return{data:a.tableData.data,total:a.tableData.data.length}}function $(o,m){v.value=m.name,g("table-action",m)}function K(){g("refresh"),g("load-data",h.value),S.logger.info(x.TABLE_REFRESH_BUTTON_CLICKED)}function U(){h.value=a.pageOffset-a.pageSize,g("load-data",a.pageOffset-a.pageSize)}function W(){h.value=a.pageOffset+a.pageSize,g("load-data",a.pageOffset+a.pageSize)}function H({headerKey:o}){return{class:["warnings"].includes(o)?"text-center":["details"].includes(o)?"text-right":""}}function F({name:o}){const m=a.selectedEntityName||a.tableData.data[0].name;return{class:o===m?"is-selected":""}}return(o,m)=>{const b=X("router-link");return s(),d("div",le,[l("div",ie,[E(o.$slots,"additionalControls",{},void 0,!0),_(f(k),{class:"refresh-button",appearance:"primary",disabled:t.isLoading,"data-testid":"data-overview-refresh-button",onClick:K},{default:n(()=>[l("span",{class:p(["refresh-icon custom-control-icon",{"is-spinning":t.isLoading}])},de,2),ce]),_:1},8,["disabled"])]),t.isLoading?(s(),c(ee,{key:0})):t.error!==null?(s(),c(Z,{key:1,error:t.error},null,8,["error"])):t.isEmpty?(s(),c(R,{key:2})):(s(),d("div",ue,[!t.tableDataIsEmpty&&t.tableData?(s(),d("div",fe,[(s(),c(f(J),{key:f(q),class:p({"data-table-is-hidden":t.tableDataIsEmpty}),fetcher:z,headers:f(N),"cell-attrs":H,"row-attrs":F,"disable-pagination":"","is-clickable":"","data-testid":"data-overview-table","onRow:click":$},L({status:n(({rowValue:e})=>[l("div",{class:p(["entity-status",{"is-offline":e.toLowerCase()==="offline"||e===!1,"is-online":e.toLowerCase()==="online","is-degraded":e.toLowerCase()==="partially degraded","is-not-available":e.toLowerCase()==="not available"}])},[l("span",null,r(e),1)],2)]),tags:n(({rowValue:e})=>[_(ae,{tags:e},null,8,["tags"])]),name:n(({row:e,rowValue:i})=>[e.nameRoute?(s(),c(b,{key:0,to:e.nameRoute},{default:n(()=>[u(r(i),1)]),_:2},1032,["to"])):(s(),d(B,{key:1},[u(r(i),1)],64))]),mesh:n(({row:e,rowValue:i})=>[e.meshRoute?(s(),c(b,{key:0,to:e.meshRoute},{default:n(()=>[u(r(i),1)]),_:2},1032,["to"])):(s(),d(B,{key:1},[u(r(i),1)],64))]),service:n(({row:e,rowValue:i})=>[e.serviceInsightRoute?(s(),c(b,{key:0,to:e.serviceInsightRoute},{default:n(()=>[u(r(i),1)]),_:2},1032,["to"])):(s(),d(B,{key:1},[u(r(i),1)],64))]),totalUpdates:n(({row:e})=>[l("span",null,r(e.totalUpdates),1)]),selected:n(({row:e})=>[l("a",{class:p(["data-table-action-link",{"is-active":v.value===e.name}])},[v.value===e.name?(s(),d("span",ge,[u(" \u2713 "),ve])):(s(),d("span",me," View "))],2)]),dpVersion:n(({row:e,rowValue:i})=>[l("div",{class:p({"with-warnings":e.unsupportedEnvoyVersion||e.unsupportedKumaDPVersion||e.kumaDpAndKumaCpMismatch})},r(i),3)]),envoyVersion:n(({row:e,rowValue:i})=>[l("div",{class:p({"with-warnings":e.unsupportedEnvoyVersion})},r(i),3)]),_:2},[V(f(A),e=>({name:e,fn:n(({rowValue:i,row:j})=>[E(o.$slots,e,{rowValue:i,row:j},void 0,!0)])})),t.showWarnings?{name:"warnings",fn:n(({row:e})=>[e.withWarnings?(s(),c(f(O),{key:0,class:"mr-1",icon:"warning",color:"var(--black-75)","secondary-color":"var(--yellow-300)",size:"20"})):y("",!0)]),key:"0"}:void 0,t.showDetails?{name:"details",fn:n(({row:e})=>[_(f(k),{class:"detail-link",appearance:"btn-link",to:e.nameRoute},{icon:n(()=>[_(f(O),{icon:e.warnings.length>0?"warning":"info",color:e.warnings.length>0?"var(--black-75)":"var(--blue-500)","secondary-color":e.warnings.length>0?"var(--yellow-300)":void 0,size:"20"},null,8,["icon","color","secondary-color"])]),default:n(()=>[u(" Details ")]),_:2},1032,["to"])]),key:"1"}:void 0]),1032,["class","headers"])),_(oe,{"has-previous":h.value>0,"has-next":Boolean(t.next),onNext:W,onPrevious:U},null,8,["has-previous","has-next"])])):y("",!0),t.tableDataIsEmpty&&t.tableData?(s(),c(R,{key:1},L({title:n(()=>[pe,t.emptyState.title?(s(),d("p",ye,r(t.emptyState.title),1)):(s(),d("p",he," No items found "))]),_:2},[t.emptyState.message?{name:"message",fn:n(()=>[u(r(t.emptyState.message),1)]),key:"0"}:void 0]),1024)):y("",!0),o.$slots.content?(s(),d("div",_e,[E(o.$slots,"content",{},void 0,!0)])):y("",!0)]))])}}});const Ee=T(be,[["__scopeId","data-v-23361f5e"]]);export{Ee as D}; +import{d as P,o as s,j as d,c,w as n,b as u,u as f,e as k,z as y,E as S,G as x,D as T,H as G,r as I,f as C,g as M,l,I as E,a as _,A as p,J as L,n as V,K as O,t as r,F as B,L as J,i as X,B as Q,C as Y}from"./index.47c8bf16.js";import{_ as R}from"./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js";import{E as Z}from"./ErrorBlock.456ea0f6.js";import{_ as ee}from"./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js";import{T as ae}from"./TagList.d43e2716.js";const te=""+new URL("icon-empty-table.dbb0b754.svg",import.meta.url).href,se={class:"pagination"},ne=P({__name:"PaginationWidget",props:{hasPrevious:{type:Boolean,default:!1},hasNext:{type:Boolean,default:!1}},emits:["next","previous"],setup(t,{emit:g}){const a=t;function D(){g("next"),S.logger.info(x.PAGINATION_NEXT_BUTTON_CLICKED)}function v(){g("previous"),S.logger.info(x.PAGINATION_PREVIOUS_BUTTON_CLICKED)}return(h,N)=>(s(),d("div",se,[a.hasPrevious?(s(),c(f(k),{key:0,appearance:"primary","data-testid":"pagination-previous-button",onClick:v},{default:n(()=>[u(" \u2039 Previous ")]),_:1})):y("",!0),a.hasNext?(s(),c(f(k),{key:1,appearance:"primary","data-testid":"pagination-next-button",onClick:D},{default:n(()=>[u(" Next \u203A ")]),_:1})):y("",!0)]))}});const oe=T(ne,[["__scopeId","data-v-aa2207ca"]]),w=t=>(Q("data-v-23361f5e"),t=t(),Y(),t),le={class:"data-overview","data-testid":"data-overview"},ie={class:"data-table-controls mb-2"},re=w(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},[l("g",{fill:"#fff","fill-rule":"nonzero"},[l("path",{d:"M18 5.5a12.465 12.465 0 00-8.118 2.995 1.5 1.5 0 001.847 2.363l.115-.095A9.437 9.437 0 0118 8.5l.272.004a9.487 9.487 0 019.07 7.75l.04.246H25a.5.5 0 00-.416.777l4 6a.5.5 0 00.832 0l4-6 .04-.072A.5.5 0 0033 16.5h-2.601l-.017-.15C29.567 10.2 24.294 5.5 18 5.5zM2.584 18.723l-.04.072A.5.5 0 003 19.5h2.6l.018.15C6.433 25.8 11.706 30.5 18 30.5c3.013 0 5.873-1.076 8.118-2.995a1.5 1.5 0 00-1.847-2.363l-.115.095A9.437 9.437 0 0118 27.5l-.272-.004a9.487 9.487 0 01-9.07-7.75l-.041-.246H11a.5.5 0 00.416-.777l-4-6a.5.5 0 00-.832 0l-4 6z"})])],-1)),de=[re],ce=w(()=>l("span",null,"Refresh",-1)),ue={key:3,class:"data-overview-content"},fe={key:0,class:"data-overview-table"},ge={key:0,class:"action-link__active-state"},ve=w(()=>l("span",{class:"sr-only"},"Selected",-1)),me={key:1,class:"action-link__normal-state"},pe=w(()=>l("div",{class:"card-icon mb-3"},[l("img",{src:te})],-1)),ye={key:0},he={key:1},_e={key:2,class:"data-overview-content mt-6"},be=P({__name:"DataOverview",props:{selectedEntityName:{type:String,required:!1,default:""},pageSize:{type:Number,required:!1,default:12},isLoading:{type:Boolean,required:!1,default:!1},error:{type:[Error,null],required:!1,default:null},isEmpty:{type:Boolean,required:!1,default:!1},emptyState:{type:Object,required:!1,default:null},tableData:{type:Object,required:!1,default:null},tableDataIsEmpty:{type:Boolean,required:!1,default:!1},showWarnings:{type:Boolean,required:!1,default:!1},showDetails:{type:Boolean,required:!1,default:!1},next:{type:[String,Boolean,null],required:!1,default:!1},pageOffset:{type:Number,required:!1,default:0}},emits:["table-action","refresh","load-data"],setup(t,{emit:g}){const a=t,D=G(),v=I(""),h=I(a.pageOffset),N=C(()=>a.showWarnings?a.tableData.headers:a.tableData.headers.filter(o=>o.key!=="warnings")),A=C(()=>a.tableData.headers.map(o=>o.key).filter(o=>D[o])),q=C(()=>`${a.tableData.data.length}-${N.value.length}`);M(()=>a.isLoading,function(){!a.isLoading&&a.tableData.data.length>0&&(v.value=a.selectedEntityName||a.tableData.data[0].name)});function z(){return{data:a.tableData.data,total:a.tableData.data.length}}function $(o,m){v.value=m.name,g("table-action",m)}function K(){g("refresh"),g("load-data",h.value),S.logger.info(x.TABLE_REFRESH_BUTTON_CLICKED)}function U(){h.value=a.pageOffset-a.pageSize,g("load-data",a.pageOffset-a.pageSize)}function W(){h.value=a.pageOffset+a.pageSize,g("load-data",a.pageOffset+a.pageSize)}function H({headerKey:o}){return{class:["warnings"].includes(o)?"text-center":["details"].includes(o)?"text-right":""}}function F({name:o}){const m=a.selectedEntityName||a.tableData.data[0].name;return{class:o===m?"is-selected":""}}return(o,m)=>{const b=X("router-link");return s(),d("div",le,[l("div",ie,[E(o.$slots,"additionalControls",{},void 0,!0),_(f(k),{class:"refresh-button",appearance:"primary",disabled:t.isLoading,"data-testid":"data-overview-refresh-button",onClick:K},{default:n(()=>[l("span",{class:p(["refresh-icon custom-control-icon",{"is-spinning":t.isLoading}])},de,2),ce]),_:1},8,["disabled"])]),t.isLoading?(s(),c(ee,{key:0})):t.error!==null?(s(),c(Z,{key:1,error:t.error},null,8,["error"])):t.isEmpty?(s(),c(R,{key:2})):(s(),d("div",ue,[!t.tableDataIsEmpty&&t.tableData?(s(),d("div",fe,[(s(),c(f(J),{key:f(q),class:p({"data-table-is-hidden":t.tableDataIsEmpty}),fetcher:z,headers:f(N),"cell-attrs":H,"row-attrs":F,"disable-pagination":"","is-clickable":"","data-testid":"data-overview-table","onRow:click":$},L({status:n(({rowValue:e})=>[l("div",{class:p(["entity-status",{"is-offline":e.toLowerCase()==="offline"||e===!1,"is-online":e.toLowerCase()==="online","is-degraded":e.toLowerCase()==="partially degraded","is-not-available":e.toLowerCase()==="not available"}])},[l("span",null,r(e),1)],2)]),tags:n(({rowValue:e})=>[_(ae,{tags:e},null,8,["tags"])]),name:n(({row:e,rowValue:i})=>[e.nameRoute?(s(),c(b,{key:0,to:e.nameRoute},{default:n(()=>[u(r(i),1)]),_:2},1032,["to"])):(s(),d(B,{key:1},[u(r(i),1)],64))]),mesh:n(({row:e,rowValue:i})=>[e.meshRoute?(s(),c(b,{key:0,to:e.meshRoute},{default:n(()=>[u(r(i),1)]),_:2},1032,["to"])):(s(),d(B,{key:1},[u(r(i),1)],64))]),service:n(({row:e,rowValue:i})=>[e.serviceInsightRoute?(s(),c(b,{key:0,to:e.serviceInsightRoute},{default:n(()=>[u(r(i),1)]),_:2},1032,["to"])):(s(),d(B,{key:1},[u(r(i),1)],64))]),totalUpdates:n(({row:e})=>[l("span",null,r(e.totalUpdates),1)]),selected:n(({row:e})=>[l("a",{class:p(["data-table-action-link",{"is-active":v.value===e.name}])},[v.value===e.name?(s(),d("span",ge,[u(" \u2713 "),ve])):(s(),d("span",me," View "))],2)]),dpVersion:n(({row:e,rowValue:i})=>[l("div",{class:p({"with-warnings":e.unsupportedEnvoyVersion||e.unsupportedKumaDPVersion||e.kumaDpAndKumaCpMismatch})},r(i),3)]),envoyVersion:n(({row:e,rowValue:i})=>[l("div",{class:p({"with-warnings":e.unsupportedEnvoyVersion})},r(i),3)]),_:2},[V(f(A),e=>({name:e,fn:n(({rowValue:i,row:j})=>[E(o.$slots,e,{rowValue:i,row:j},void 0,!0)])})),t.showWarnings?{name:"warnings",fn:n(({row:e})=>[e.withWarnings?(s(),c(f(O),{key:0,class:"mr-1",icon:"warning",color:"var(--black-75)","secondary-color":"var(--yellow-300)",size:"20"})):y("",!0)]),key:"0"}:void 0,t.showDetails?{name:"details",fn:n(({row:e})=>[_(f(k),{class:"detail-link",appearance:"btn-link",to:e.nameRoute},{icon:n(()=>[_(f(O),{icon:e.warnings.length>0?"warning":"info",color:e.warnings.length>0?"var(--black-75)":"var(--blue-500)","secondary-color":e.warnings.length>0?"var(--yellow-300)":void 0,size:"20"},null,8,["icon","color","secondary-color"])]),default:n(()=>[u(" Details ")]),_:2},1032,["to"])]),key:"1"}:void 0]),1032,["class","headers"])),_(oe,{"has-previous":h.value>0,"has-next":Boolean(t.next),onNext:W,onPrevious:U},null,8,["has-previous","has-next"])])):y("",!0),t.tableDataIsEmpty&&t.tableData?(s(),c(R,{key:1},L({title:n(()=>[pe,t.emptyState.title?(s(),d("p",ye,r(t.emptyState.title),1)):(s(),d("p",he," No items found "))]),_:2},[t.emptyState.message?{name:"message",fn:n(()=>[u(r(t.emptyState.message),1)]),key:"0"}:void 0]),1024)):y("",!0),o.$slots.content?(s(),d("div",_e,[E(o.$slots,"content",{},void 0,!0)])):y("",!0)]))])}}});const Ee=T(be,[["__scopeId","data-v-23361f5e"]]);export{Ee as D}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView.7d1a6b0c.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView.9493c893.js similarity index 95% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView.7d1a6b0c.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView.9493c893.js index 8b5328b31234..fd676c0eaba0 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView.7d1a6b0c.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView.9493c893.js @@ -1 +1 @@ -import{d as A,o as e,c as b,w as l,j as a,n as D,cl as j,J,l as t,F as _,t as o,a as h,b as P,z as T,u as v,K as le,cK as oe,R as Z,cm as W,i as X,D as x,B as Q,C as ee,r as L,g as K,k as E,q as z,f as I,cA as ie,cz as H,cC as re,x as ce,cL as ue,A as de,M as pe,y as me,ck as he,cH as _e,cI as ye,cM as ve,cJ as fe,cv as ge,p as Pe}from"./index.09f51eb8.js";import{_ as ae}from"./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js";import{E as te}from"./ErrorBlock.6cb5eaea.js";import{_ as se}from"./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js";import{S as ke,E as V}from"./EnvoyData.4c5a7bbc.js";import{_ as Y}from"./LabelList.vue_vue_type_style_index_0_lang.6ccc9977.js";import{T as we}from"./TabsWidget.55b438d0.js";import{Y as De}from"./YamlView.e892619a.js";import{a as be,S as $e}from"./SubscriptionHeader.1363ed57.js";import{W as Le}from"./WarningsWidget.92381260.js";import"./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js";import"./_commonjsHelpers.f037b798.js";import"./index.58caa11d.js";const Se={class:"dataplane-policy-header"},Ce={class:"dataplane-policy-subtitle"},Ie={key:0,class:"badge-list"},Te={class:"policy-wrapper"},Me={class:"policy-type"},Oe={key:0},Ne=A({__name:"SidecarDataplanePolicyList",props:{sidecarDataplanePolicies:{type:Array,required:!0}},setup(u){const i=u,S={inbound:"Policies applied on incoming connection on address",outbound:"Policies applied on outgoing connection to the address",service:"Policies applied on outgoing connections to service",dataplane:"Policies applied on all incoming and outgoing connections to the selected data plane proxy"};return(k,f)=>{const m=X("router-link");return e(),b(W,{"initially-open":[],"multiple-open":""},{default:l(()=>[(e(!0),a(_,null,D(i.sidecarDataplanePolicies,(s,p)=>(e(),b(j,{key:p},J({"accordion-header":l(()=>[t("div",Se,[t("div",null,[t("p",null,[s.type==="dataplane"?(e(),a(_,{key:0},[P(" Dataplane ")],64)):(e(),a(_,{key:1},[P(o(s.service),1)],64))]),t("p",Ce,[s.type==="inbound"||s.type==="outbound"?(e(),a(_,{key:0},[P(o(s.type)+" "+o(s.name),1)],64)):s.type==="service"||s.type==="dataplane"?(e(),a(_,{key:1},[P(o(s.type),1)],64)):T("",!0),h(v(oe),{width:"300",placement:"right",trigger:"hover"},{content:l(()=>[P(o(S[s.type]),1)]),default:l(()=>[h(v(le),{icon:"help",size:"16",class:"ml-1"})]),_:2},1024)])]),s.matchedPolicies.length>0?(e(),a("div",Ie,[(e(!0),a(_,null,D(s.matchedPolicies,(g,y)=>(e(),b(v(Z),{key:`${p}-${y}`},{default:l(()=>[P(o(g.name),1)]),_:2},1024))),128))])):T("",!0)])]),_:2},[s.matchedPolicies.length>0?{name:"accordion-content",fn:l(()=>[t("div",Te,[(e(!0),a(_,null,D(s.matchedPolicies,(g,y)=>(e(),a("div",{key:`${p}-${y}`},[t("p",Me,o(g.pluralName),1),g.policies.length>0?(e(),a("ul",Oe,[(e(!0),a(_,null,D(g.policies,(w,O)=>(e(),a("li",{key:`${p}-${y}-${O}`,"data-testid":"policy-name"},[h(m,{to:w.route},{default:l(()=>[P(o(w.name),1)]),_:2},1032,["to"])]))),128))])):T("",!0)]))),128))])]),key:"0"}:void 0]),1024))),128))]),_:1})}}});const Ae=x(Ne,[["__scopeId","data-v-84de6b02"]]),N=u=>(Q("data-v-5d6a081d"),u=u(),ee(),u),Ge={class:"mesh-gateway-policy-list"},Ee=N(()=>t("h3",null,"Gateway policies",-1)),xe={key:0,class:"policy-list"},Be=N(()=>t("h3",{class:"mt-6"}," Listeners ",-1)),qe=N(()=>t("b",null,"Host",-1)),Re=N(()=>t("h4",{class:"mt-2"}," Routes ",-1)),Ve={class:"dataplane-policy-header"},Ke=N(()=>t("b",null,"Route",-1)),je=N(()=>t("b",null,"Service",-1)),We={key:0,class:"badge-list"},ze={class:"policy-list mt-1"},Fe=A({__name:"MeshGatewayDataplanePolicyList",props:{meshGatewayDataplane:{type:Object,required:!0},meshGatewayListenerEntries:{type:Array,required:!0},meshGatewayRoutePolicies:{type:Array,required:!0}},setup(u){const i=u;return(S,k)=>{const f=X("router-link");return e(),a("div",Ge,[Ee,u.meshGatewayRoutePolicies.length>0?(e(),a("ul",xe,[(e(!0),a(_,null,D(u.meshGatewayRoutePolicies,(m,s)=>(e(),a("li",{key:s},[t("span",null,o(m.type),1),P(": "),h(f,{to:m.route},{default:l(()=>[P(o(m.name),1)]),_:2},1032,["to"])]))),128))])):T("",!0),Be,t("div",null,[(e(!0),a(_,null,D(i.meshGatewayListenerEntries,(m,s)=>(e(),a("div",{key:s},[t("div",null,[t("div",null,[qe,P(": "+o(m.hostName)+":"+o(m.port)+" ("+o(m.protocol)+") ",1)]),m.routeEntries.length>0?(e(),a(_,{key:0},[Re,h(W,{"initially-open":[],"multiple-open":""},{default:l(()=>[(e(!0),a(_,null,D(m.routeEntries,(p,g)=>(e(),b(j,{key:g},J({"accordion-header":l(()=>[t("div",Ve,[t("div",null,[t("div",null,[Ke,P(": "),h(f,{to:p.route},{default:l(()=>[P(o(p.routeName),1)]),_:2},1032,["to"])]),t("div",null,[je,P(": "+o(p.service),1)])]),p.policies.length>0?(e(),a("div",We,[(e(!0),a(_,null,D(p.policies,(y,w)=>(e(),b(v(Z),{key:`${s}-${w}`},{default:l(()=>[P(o(y.type),1)]),_:2},1024))),128))])):T("",!0)])]),_:2},[p.policies.length>0?{name:"accordion-content",fn:l(()=>[t("ul",ze,[(e(!0),a(_,null,D(p.policies,(y,w)=>(e(),a("li",{key:`${s}-${w}`},[P(o(y.type)+": ",1),h(f,{to:y.route},{default:l(()=>[P(o(y.name),1)]),_:2},1032,["to"])]))),128))])]),key:"0"}:void 0]),1024))),128))]),_:2},1024)],64)):T("",!0)])]))),128))])])}}});const Ue=x(Fe,[["__scopeId","data-v-5d6a081d"]]),He={key:2,class:"policies-list"},Ye={key:3,class:"policies-list"},Je=A({__name:"DataplanePolicies",props:{dataPlane:{type:Object,required:!0}},setup(u){const i=u,S=z(),k=L(null),f=L([]),m=L([]),s=L([]),p=L(!0),g=L(null);K(()=>i.dataPlane.name,function(){y()}),y();async function y(){var $,c;g.value=null,p.value=!0,f.value=[],m.value=[],s.value=[];try{if(((c=($=i.dataPlane.networking.gateway)==null?void 0:$.type)==null?void 0:c.toUpperCase())==="BUILTIN")k.value=await E.getMeshGatewayDataplane({mesh:i.dataPlane.mesh,name:i.dataPlane.name}),m.value=w(k.value),s.value=O(k.value.policies);else{const{items:n}=await E.getSidecarDataplanePolicies({mesh:i.dataPlane.mesh,name:i.dataPlane.name});f.value=B(n)}}catch(r){r instanceof Error?g.value=r:console.error(r)}finally{p.value=!1}}function w($){const c=[];for(const r of $.listeners)for(const n of r.hosts)for(const d of n.routes){const M=[];for(const C of d.destinations){const G=O(C.policies),q={routeName:d.route,route:{name:"meshgatewayroutes",params:{mesh:$.gateway.mesh},query:{ns:d.route}},service:C.tags["kuma.io/service"],policies:G};M.push(q)}c.push({protocol:r.protocol,port:r.port,hostName:n.hostName,routeEntries:M})}return c}function O($){if($===void 0)return[];const c=[];for(const r of Object.values($)){const n=S.state.policiesByType[r.type];c.push({type:r.type,name:r.name,route:{name:n.path,params:{mesh:r.mesh},query:{ns:r.name}}})}return c}function B($){const c=[];for(const r of $){const n=[];for(const[G,q]of Object.entries(r.matchedPolicies)){const F=S.state.policiesByType[G],U=[];for(const R of q)U.push({name:R.name,route:{name:F.path,query:{ns:R.name},params:{mesh:R.mesh}}});n.push({name:G,pluralName:F.pluralDisplayName,policies:U})}const{name:d,type:M,service:C}=r;c.push({name:d,type:M,service:C,matchedPolicies:n})}return c}return($,c)=>p.value?(e(),b(se,{key:0})):g.value!==null?(e(),b(te,{key:1,error:g.value},null,8,["error"])):f.value.length>0?(e(),a("div",He,[h(Ae,{"sidecar-dataplane-policies":f.value},null,8,["sidecar-dataplane-policies"])])):m.value.length>0&&k.value!==null?(e(),a("div",Ye,[h(Ue,{"mesh-gateway-dataplane":k.value,"mesh-gateway-listener-entries":m.value,"mesh-gateway-route-policies":s.value},null,8,["mesh-gateway-dataplane","mesh-gateway-listener-entries","mesh-gateway-route-policies"])])):(e(),b(ae,{key:4}))}});const Ze=x(Je,[["__scopeId","data-v-34268377"]]),ne=u=>(Q("data-v-ec63e4f6"),u=u(),ee(),u),Xe={key:0},Qe={key:1},ea=ne(()=>t("h4",null,"Tags",-1)),aa=ne(()=>t("h4",null,"Versions",-1)),ta={class:"config-wrapper"},sa={key:0},na=["href"],la=A({__name:"DataPlaneDetails",props:{dataPlane:{type:Object,required:!0},dataPlaneOverview:{type:Object,required:!0}},setup(u){const i=u,S=z(),k=[{hash:"#overview",title:"Overview"},{hash:"#insights",title:"DPP Insights"},{hash:"#dpp-policies",title:"Policies"},{hash:"#xds-configuration",title:"XDS Configuration"},{hash:"#envoy-stats",title:"Stats"},{hash:"#envoy-clusters",title:"Clusters"},{hash:"#mtls",title:"Certificate Insights"},{hash:"#warnings",title:"Warnings"}],f=L([]),m=I(()=>{const{type:c,name:r,mesh:n}=i.dataPlane,d=ie(i.dataPlane,i.dataPlaneOverview.dataplaneInsight);return{type:c,name:r,mesh:n,status:d}}),s=I(()=>H(i.dataPlane)),p=I(()=>re(i.dataPlaneOverview.dataplaneInsight)),g=I(()=>ce(i.dataPlane)),y=I(()=>ue(i.dataPlaneOverview)),w=I(()=>{const c=Array.from(i.dataPlaneOverview.dataplaneInsight.subscriptions);return c.reverse(),c}),O=I(()=>{const c=S.getters["config/getKumaDocsVersion"];return c!==null?c:"latest"}),B=I(()=>f.value.length===0?k.filter(c=>c.hash!=="#warnings"):k);function $(){const c=i.dataPlaneOverview.dataplaneInsight.subscriptions;if(c.length===0||!("version"in c[0]))return;const r=c[0].version;if(r&&r.kumaDp&&r.envoy){const d=_e(r);d.kind!==ye&&d.kind!==ve&&f.value.push(d)}S.getters["config/getMulticlusterStatus"]&&r&&H(i.dataPlane).find(C=>C.label===fe)&&typeof r.kumaDp.kumaCpCompatible=="boolean"&&!r.kumaDp.kumaCpCompatible&&f.value.push({kind:ge,payload:{kumaDp:r.kumaDp.version}})}return $(),(c,r)=>(e(),b(we,{tabs:v(B),"initial-tab-override":"overview"},{tabHeader:l(()=>[t("div",null,[t("h3",null," DPP: "+o(u.dataPlane.name),1)])]),overview:l(()=>[h(Y,null,{default:l(()=>[t("div",null,[t("ul",null,[(e(!0),a(_,null,D(v(m),(n,d)=>(e(),a("li",{key:d},[t("h4",null,o(d),1),d==="status"&&typeof n!="string"?(e(),a("div",Xe,[t("div",{class:de(["entity-status",{"is-offline":n.status.toLowerCase()==="offline","is-online":n.status.toLowerCase()==="online","is-degraded":n.status.toLowerCase()==="partially degraded","is-not-available":n.status.toLowerCase()==="not available"}])},[t("span",null,o(n.status),1)],2),(e(!0),a(_,null,D(n.reason,(M,C)=>(e(),a("div",{key:C,class:"reason"},o(M),1))),128))])):(e(),a("div",Qe,o(n),1))]))),128))])]),t("div",null,[v(s).length>0?(e(),a(_,{key:0},[ea,t("p",null,[(e(!0),a(_,null,D(v(s),(n,d)=>(e(),a("span",{key:d,class:"tag-cols"},[t("span",null,o(n.label)+": ",1),t("span",null,o(n.value),1)]))),128))])],64)):T("",!0),v(p)?(e(),a(_,{key:1},[aa,t("p",null,[(e(!0),a(_,null,D(v(p),(n,d)=>(e(),a("span",{key:d,class:"tag-cols"},[t("span",null,o(d)+": ",1),t("span",null,o(n),1)]))),128))])],64)):T("",!0)])]),_:1}),t("div",ta,[h(De,{id:"code-block-data-plane",content:v(g),"is-searchable":""},null,8,["content"])])]),insights:l(()=>[h(ke,{"is-empty":v(w).length===0},{default:l(()=>[h(v(pe),{"border-variant":"noBorder"},{body:l(()=>[h(W,{"initially-open":0},{default:l(()=>[(e(!0),a(_,null,D(v(w),(n,d)=>(e(),b(j,{key:d},{"accordion-header":l(()=>[h(be,{details:n},null,8,["details"])]),"accordion-content":l(()=>[h($e,{details:n,"is-discovery-subscription":""},null,8,["details"])]),_:2},1024))),128))]),_:1})]),_:1})]),_:1},8,["is-empty"])]),"dpp-policies":l(()=>[h(Ze,{"data-plane":u.dataPlane},null,8,["data-plane"])]),"xds-configuration":l(()=>[h(V,{"data-path":"xds",mesh:u.dataPlane.mesh,"dpp-name":u.dataPlane.name,"query-key":"envoy-data-data-plane"},null,8,["mesh","dpp-name"])]),"envoy-stats":l(()=>[h(V,{"data-path":"stats",mesh:u.dataPlane.mesh,"dpp-name":u.dataPlane.name,"query-key":"envoy-data-data-plane"},null,8,["mesh","dpp-name"])]),"envoy-clusters":l(()=>[h(V,{"data-path":"clusters",mesh:u.dataPlane.mesh,"dpp-name":u.dataPlane.name,"query-key":"envoy-data-data-plane"},null,8,["mesh","dpp-name"])]),mtls:l(()=>[h(Y,null,{default:l(()=>[v(y)!==null?(e(),a("ul",sa,[(e(!0),a(_,null,D(v(y),(n,d)=>(e(),a("li",{key:d},[t("h4",null,o(n.label),1),t("p",null,o(n.value),1)]))),128))])):(e(),b(v(me),{key:1,appearance:"danger"},{alertMessage:l(()=>[P(" This data plane proxy does not yet have mTLS configured \u2014 "),t("a",{href:`https://kuma.io/docs/${v(O)}/policies/mutual-tls/`,class:"external-link",target:"_blank"}," Learn About Certificates in "+o(v(he)),9,na)]),_:1}))]),_:1})]),warnings:l(()=>[h(Le,{warnings:f.value},null,8,["warnings"])]),_:1},8,["tabs"]))}});const oa=x(la,[["__scopeId","data-v-ec63e4f6"]]),ia={class:"component-frame"},ka=A({__name:"DataPlaneDetailView",setup(u){const i=Pe(),S=z(),k=L(null),f=L(null),m=L(!0),s=L(null);async function p(){s.value=null,m.value=!0;const g=i.params.mesh,y=i.params.dataPlane;try{k.value=await E.getDataplaneFromMesh({mesh:g,name:y}),f.value=await E.getDataplaneOverviewFromMesh({mesh:g,name:y})}catch(w){k.value=null,w instanceof Error?s.value=w:console.error(w)}finally{m.value=!1}}return K(()=>i.params.mesh,function(){i.name==="data-plane-detail-view"&&p()}),K(()=>i.params.dataPlane,function(){i.name==="data-plane-detail-view"&&p()}),p(),S.dispatch("updatePageTitle",i.params.dataPlane),(g,y)=>(e(),a("div",ia,[m.value?(e(),b(se,{key:0})):s.value!==null?(e(),b(te,{key:1,error:s.value},null,8,["error"])):k.value===null||f.value===null?(e(),b(ae,{key:2})):(e(),b(oa,{key:3,"data-plane":k.value,"data-plane-overview":f.value},null,8,["data-plane","data-plane-overview"]))]))}});export{ka as default}; +import{d as A,o as e,c as b,w as l,j as a,n as D,cl as j,J,l as t,F as _,t as o,a as h,b as P,z as T,u as v,K as le,cK as oe,R as Z,cm as W,i as X,D as x,B as Q,C as ee,r as L,g as K,k as E,q as z,f as I,cA as ie,cz as H,cC as re,x as ce,cL as ue,A as de,M as pe,y as me,ck as he,cH as _e,cI as ye,cM as ve,cJ as fe,cv as ge,p as Pe}from"./index.47c8bf16.js";import{_ as ae}from"./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js";import{E as te}from"./ErrorBlock.456ea0f6.js";import{_ as se}from"./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js";import{S as ke,E as V}from"./EnvoyData.988dd7af.js";import{_ as Y}from"./LabelList.vue_vue_type_style_index_0_lang.96dd97a6.js";import{T as we}from"./TabsWidget.a8296b4a.js";import{Y as De}from"./YamlView.941aa063.js";import{a as be,S as $e}from"./SubscriptionHeader.ad23ccb6.js";import{W as Le}from"./WarningsWidget.10850a61.js";import"./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js";import"./_commonjsHelpers.f037b798.js";import"./index.58caa11d.js";const Se={class:"dataplane-policy-header"},Ce={class:"dataplane-policy-subtitle"},Ie={key:0,class:"badge-list"},Te={class:"policy-wrapper"},Me={class:"policy-type"},Oe={key:0},Ne=A({__name:"SidecarDataplanePolicyList",props:{sidecarDataplanePolicies:{type:Array,required:!0}},setup(u){const i=u,S={inbound:"Policies applied on incoming connection on address",outbound:"Policies applied on outgoing connection to the address",service:"Policies applied on outgoing connections to service",dataplane:"Policies applied on all incoming and outgoing connections to the selected data plane proxy"};return(k,f)=>{const m=X("router-link");return e(),b(W,{"initially-open":[],"multiple-open":""},{default:l(()=>[(e(!0),a(_,null,D(i.sidecarDataplanePolicies,(s,p)=>(e(),b(j,{key:p},J({"accordion-header":l(()=>[t("div",Se,[t("div",null,[t("p",null,[s.type==="dataplane"?(e(),a(_,{key:0},[P(" Dataplane ")],64)):(e(),a(_,{key:1},[P(o(s.service),1)],64))]),t("p",Ce,[s.type==="inbound"||s.type==="outbound"?(e(),a(_,{key:0},[P(o(s.type)+" "+o(s.name),1)],64)):s.type==="service"||s.type==="dataplane"?(e(),a(_,{key:1},[P(o(s.type),1)],64)):T("",!0),h(v(oe),{width:"300",placement:"right",trigger:"hover"},{content:l(()=>[P(o(S[s.type]),1)]),default:l(()=>[h(v(le),{icon:"help",size:"16",class:"ml-1"})]),_:2},1024)])]),s.matchedPolicies.length>0?(e(),a("div",Ie,[(e(!0),a(_,null,D(s.matchedPolicies,(g,y)=>(e(),b(v(Z),{key:`${p}-${y}`},{default:l(()=>[P(o(g.name),1)]),_:2},1024))),128))])):T("",!0)])]),_:2},[s.matchedPolicies.length>0?{name:"accordion-content",fn:l(()=>[t("div",Te,[(e(!0),a(_,null,D(s.matchedPolicies,(g,y)=>(e(),a("div",{key:`${p}-${y}`},[t("p",Me,o(g.pluralName),1),g.policies.length>0?(e(),a("ul",Oe,[(e(!0),a(_,null,D(g.policies,(w,O)=>(e(),a("li",{key:`${p}-${y}-${O}`,"data-testid":"policy-name"},[h(m,{to:w.route},{default:l(()=>[P(o(w.name),1)]),_:2},1032,["to"])]))),128))])):T("",!0)]))),128))])]),key:"0"}:void 0]),1024))),128))]),_:1})}}});const Ae=x(Ne,[["__scopeId","data-v-84de6b02"]]),N=u=>(Q("data-v-5d6a081d"),u=u(),ee(),u),Ge={class:"mesh-gateway-policy-list"},Ee=N(()=>t("h3",null,"Gateway policies",-1)),xe={key:0,class:"policy-list"},Be=N(()=>t("h3",{class:"mt-6"}," Listeners ",-1)),qe=N(()=>t("b",null,"Host",-1)),Re=N(()=>t("h4",{class:"mt-2"}," Routes ",-1)),Ve={class:"dataplane-policy-header"},Ke=N(()=>t("b",null,"Route",-1)),je=N(()=>t("b",null,"Service",-1)),We={key:0,class:"badge-list"},ze={class:"policy-list mt-1"},Fe=A({__name:"MeshGatewayDataplanePolicyList",props:{meshGatewayDataplane:{type:Object,required:!0},meshGatewayListenerEntries:{type:Array,required:!0},meshGatewayRoutePolicies:{type:Array,required:!0}},setup(u){const i=u;return(S,k)=>{const f=X("router-link");return e(),a("div",Ge,[Ee,u.meshGatewayRoutePolicies.length>0?(e(),a("ul",xe,[(e(!0),a(_,null,D(u.meshGatewayRoutePolicies,(m,s)=>(e(),a("li",{key:s},[t("span",null,o(m.type),1),P(": "),h(f,{to:m.route},{default:l(()=>[P(o(m.name),1)]),_:2},1032,["to"])]))),128))])):T("",!0),Be,t("div",null,[(e(!0),a(_,null,D(i.meshGatewayListenerEntries,(m,s)=>(e(),a("div",{key:s},[t("div",null,[t("div",null,[qe,P(": "+o(m.hostName)+":"+o(m.port)+" ("+o(m.protocol)+") ",1)]),m.routeEntries.length>0?(e(),a(_,{key:0},[Re,h(W,{"initially-open":[],"multiple-open":""},{default:l(()=>[(e(!0),a(_,null,D(m.routeEntries,(p,g)=>(e(),b(j,{key:g},J({"accordion-header":l(()=>[t("div",Ve,[t("div",null,[t("div",null,[Ke,P(": "),h(f,{to:p.route},{default:l(()=>[P(o(p.routeName),1)]),_:2},1032,["to"])]),t("div",null,[je,P(": "+o(p.service),1)])]),p.policies.length>0?(e(),a("div",We,[(e(!0),a(_,null,D(p.policies,(y,w)=>(e(),b(v(Z),{key:`${s}-${w}`},{default:l(()=>[P(o(y.type),1)]),_:2},1024))),128))])):T("",!0)])]),_:2},[p.policies.length>0?{name:"accordion-content",fn:l(()=>[t("ul",ze,[(e(!0),a(_,null,D(p.policies,(y,w)=>(e(),a("li",{key:`${s}-${w}`},[P(o(y.type)+": ",1),h(f,{to:y.route},{default:l(()=>[P(o(y.name),1)]),_:2},1032,["to"])]))),128))])]),key:"0"}:void 0]),1024))),128))]),_:2},1024)],64)):T("",!0)])]))),128))])])}}});const Ue=x(Fe,[["__scopeId","data-v-5d6a081d"]]),He={key:2,class:"policies-list"},Ye={key:3,class:"policies-list"},Je=A({__name:"DataplanePolicies",props:{dataPlane:{type:Object,required:!0}},setup(u){const i=u,S=z(),k=L(null),f=L([]),m=L([]),s=L([]),p=L(!0),g=L(null);K(()=>i.dataPlane.name,function(){y()}),y();async function y(){var $,c;g.value=null,p.value=!0,f.value=[],m.value=[],s.value=[];try{if(((c=($=i.dataPlane.networking.gateway)==null?void 0:$.type)==null?void 0:c.toUpperCase())==="BUILTIN")k.value=await E.getMeshGatewayDataplane({mesh:i.dataPlane.mesh,name:i.dataPlane.name}),m.value=w(k.value),s.value=O(k.value.policies);else{const{items:n}=await E.getSidecarDataplanePolicies({mesh:i.dataPlane.mesh,name:i.dataPlane.name});f.value=B(n)}}catch(r){r instanceof Error?g.value=r:console.error(r)}finally{p.value=!1}}function w($){const c=[];for(const r of $.listeners)for(const n of r.hosts)for(const d of n.routes){const M=[];for(const C of d.destinations){const G=O(C.policies),q={routeName:d.route,route:{name:"meshgatewayroutes",params:{mesh:$.gateway.mesh},query:{ns:d.route}},service:C.tags["kuma.io/service"],policies:G};M.push(q)}c.push({protocol:r.protocol,port:r.port,hostName:n.hostName,routeEntries:M})}return c}function O($){if($===void 0)return[];const c=[];for(const r of Object.values($)){const n=S.state.policiesByType[r.type];c.push({type:r.type,name:r.name,route:{name:n.path,params:{mesh:r.mesh},query:{ns:r.name}}})}return c}function B($){const c=[];for(const r of $){const n=[];for(const[G,q]of Object.entries(r.matchedPolicies)){const F=S.state.policiesByType[G],U=[];for(const R of q)U.push({name:R.name,route:{name:F.path,query:{ns:R.name},params:{mesh:R.mesh}}});n.push({name:G,pluralName:F.pluralDisplayName,policies:U})}const{name:d,type:M,service:C}=r;c.push({name:d,type:M,service:C,matchedPolicies:n})}return c}return($,c)=>p.value?(e(),b(se,{key:0})):g.value!==null?(e(),b(te,{key:1,error:g.value},null,8,["error"])):f.value.length>0?(e(),a("div",He,[h(Ae,{"sidecar-dataplane-policies":f.value},null,8,["sidecar-dataplane-policies"])])):m.value.length>0&&k.value!==null?(e(),a("div",Ye,[h(Ue,{"mesh-gateway-dataplane":k.value,"mesh-gateway-listener-entries":m.value,"mesh-gateway-route-policies":s.value},null,8,["mesh-gateway-dataplane","mesh-gateway-listener-entries","mesh-gateway-route-policies"])])):(e(),b(ae,{key:4}))}});const Ze=x(Je,[["__scopeId","data-v-34268377"]]),ne=u=>(Q("data-v-ec63e4f6"),u=u(),ee(),u),Xe={key:0},Qe={key:1},ea=ne(()=>t("h4",null,"Tags",-1)),aa=ne(()=>t("h4",null,"Versions",-1)),ta={class:"config-wrapper"},sa={key:0},na=["href"],la=A({__name:"DataPlaneDetails",props:{dataPlane:{type:Object,required:!0},dataPlaneOverview:{type:Object,required:!0}},setup(u){const i=u,S=z(),k=[{hash:"#overview",title:"Overview"},{hash:"#insights",title:"DPP Insights"},{hash:"#dpp-policies",title:"Policies"},{hash:"#xds-configuration",title:"XDS Configuration"},{hash:"#envoy-stats",title:"Stats"},{hash:"#envoy-clusters",title:"Clusters"},{hash:"#mtls",title:"Certificate Insights"},{hash:"#warnings",title:"Warnings"}],f=L([]),m=I(()=>{const{type:c,name:r,mesh:n}=i.dataPlane,d=ie(i.dataPlane,i.dataPlaneOverview.dataplaneInsight);return{type:c,name:r,mesh:n,status:d}}),s=I(()=>H(i.dataPlane)),p=I(()=>re(i.dataPlaneOverview.dataplaneInsight)),g=I(()=>ce(i.dataPlane)),y=I(()=>ue(i.dataPlaneOverview)),w=I(()=>{const c=Array.from(i.dataPlaneOverview.dataplaneInsight.subscriptions);return c.reverse(),c}),O=I(()=>{const c=S.getters["config/getKumaDocsVersion"];return c!==null?c:"latest"}),B=I(()=>f.value.length===0?k.filter(c=>c.hash!=="#warnings"):k);function $(){const c=i.dataPlaneOverview.dataplaneInsight.subscriptions;if(c.length===0||!("version"in c[0]))return;const r=c[0].version;if(r&&r.kumaDp&&r.envoy){const d=_e(r);d.kind!==ye&&d.kind!==ve&&f.value.push(d)}S.getters["config/getMulticlusterStatus"]&&r&&H(i.dataPlane).find(C=>C.label===fe)&&typeof r.kumaDp.kumaCpCompatible=="boolean"&&!r.kumaDp.kumaCpCompatible&&f.value.push({kind:ge,payload:{kumaDp:r.kumaDp.version}})}return $(),(c,r)=>(e(),b(we,{tabs:v(B),"initial-tab-override":"overview"},{tabHeader:l(()=>[t("div",null,[t("h3",null," DPP: "+o(u.dataPlane.name),1)])]),overview:l(()=>[h(Y,null,{default:l(()=>[t("div",null,[t("ul",null,[(e(!0),a(_,null,D(v(m),(n,d)=>(e(),a("li",{key:d},[t("h4",null,o(d),1),d==="status"&&typeof n!="string"?(e(),a("div",Xe,[t("div",{class:de(["entity-status",{"is-offline":n.status.toLowerCase()==="offline","is-online":n.status.toLowerCase()==="online","is-degraded":n.status.toLowerCase()==="partially degraded","is-not-available":n.status.toLowerCase()==="not available"}])},[t("span",null,o(n.status),1)],2),(e(!0),a(_,null,D(n.reason,(M,C)=>(e(),a("div",{key:C,class:"reason"},o(M),1))),128))])):(e(),a("div",Qe,o(n),1))]))),128))])]),t("div",null,[v(s).length>0?(e(),a(_,{key:0},[ea,t("p",null,[(e(!0),a(_,null,D(v(s),(n,d)=>(e(),a("span",{key:d,class:"tag-cols"},[t("span",null,o(n.label)+": ",1),t("span",null,o(n.value),1)]))),128))])],64)):T("",!0),v(p)?(e(),a(_,{key:1},[aa,t("p",null,[(e(!0),a(_,null,D(v(p),(n,d)=>(e(),a("span",{key:d,class:"tag-cols"},[t("span",null,o(d)+": ",1),t("span",null,o(n),1)]))),128))])],64)):T("",!0)])]),_:1}),t("div",ta,[h(De,{id:"code-block-data-plane",content:v(g),"is-searchable":""},null,8,["content"])])]),insights:l(()=>[h(ke,{"is-empty":v(w).length===0},{default:l(()=>[h(v(pe),{"border-variant":"noBorder"},{body:l(()=>[h(W,{"initially-open":0},{default:l(()=>[(e(!0),a(_,null,D(v(w),(n,d)=>(e(),b(j,{key:d},{"accordion-header":l(()=>[h(be,{details:n},null,8,["details"])]),"accordion-content":l(()=>[h($e,{details:n,"is-discovery-subscription":""},null,8,["details"])]),_:2},1024))),128))]),_:1})]),_:1})]),_:1},8,["is-empty"])]),"dpp-policies":l(()=>[h(Ze,{"data-plane":u.dataPlane},null,8,["data-plane"])]),"xds-configuration":l(()=>[h(V,{"data-path":"xds",mesh:u.dataPlane.mesh,"dpp-name":u.dataPlane.name,"query-key":"envoy-data-data-plane"},null,8,["mesh","dpp-name"])]),"envoy-stats":l(()=>[h(V,{"data-path":"stats",mesh:u.dataPlane.mesh,"dpp-name":u.dataPlane.name,"query-key":"envoy-data-data-plane"},null,8,["mesh","dpp-name"])]),"envoy-clusters":l(()=>[h(V,{"data-path":"clusters",mesh:u.dataPlane.mesh,"dpp-name":u.dataPlane.name,"query-key":"envoy-data-data-plane"},null,8,["mesh","dpp-name"])]),mtls:l(()=>[h(Y,null,{default:l(()=>[v(y)!==null?(e(),a("ul",sa,[(e(!0),a(_,null,D(v(y),(n,d)=>(e(),a("li",{key:d},[t("h4",null,o(n.label),1),t("p",null,o(n.value),1)]))),128))])):(e(),b(v(me),{key:1,appearance:"danger"},{alertMessage:l(()=>[P(" This data plane proxy does not yet have mTLS configured \u2014 "),t("a",{href:`https://kuma.io/docs/${v(O)}/policies/mutual-tls/`,class:"external-link",target:"_blank"}," Learn About Certificates in "+o(v(he)),9,na)]),_:1}))]),_:1})]),warnings:l(()=>[h(Le,{warnings:f.value},null,8,["warnings"])]),_:1},8,["tabs"]))}});const oa=x(la,[["__scopeId","data-v-ec63e4f6"]]),ia={class:"component-frame"},ka=A({__name:"DataPlaneDetailView",setup(u){const i=Pe(),S=z(),k=L(null),f=L(null),m=L(!0),s=L(null);async function p(){s.value=null,m.value=!0;const g=i.params.mesh,y=i.params.dataPlane;try{k.value=await E.getDataplaneFromMesh({mesh:g,name:y}),f.value=await E.getDataplaneOverviewFromMesh({mesh:g,name:y})}catch(w){k.value=null,w instanceof Error?s.value=w:console.error(w)}finally{m.value=!1}}return K(()=>i.params.mesh,function(){i.name==="data-plane-detail-view"&&p()}),K(()=>i.params.dataPlane,function(){i.name==="data-plane-detail-view"&&p()}),p(),S.dispatch("updatePageTitle",i.params.dataPlane),(g,y)=>(e(),a("div",ia,[m.value?(e(),b(se,{key:0})):s.value!==null?(e(),b(te,{key:1,error:s.value},null,8,["error"])):k.value===null||f.value===null?(e(),b(ae,{key:2})):(e(),b(oa,{key:3,"data-plane":k.value,"data-plane-overview":f.value},null,8,["data-plane","data-plane-overview"]))]))}});export{ka as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView.ad00b9ee.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView.8d04d9e5.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneListView.ad00b9ee.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneListView.8d04d9e5.js index 200d617ace6c..cea1fd2f68df 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView.ad00b9ee.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView.8d04d9e5.js @@ -1 +1 @@ -import{d as he,f as U,cz as _e,cu as me,cA as ge,cB as Ie,cC as Ke,o as i,j as v,l as e,a as O,w as S,b as G,t as g,A as Oe,u as d,z as x,F as A,n as M,K as Le,i as Ne,B as be,C as ke,D as De,p as Re,r as T,g as $e,S as ve,k as xe,c as B,m as Me,cD as ze,cE as je,cF as He,e as fe,q as Be,E as Ge,G as qe,cs as ye,cG as Ye,cH as Ze,cI as Fe,cw as Je,cx as Qe,cJ as We,cv as Xe}from"./index.09f51eb8.js";import{C as et}from"./ContentWrapper.dfc9e5ec.js";import{D as tt}from"./DataOverview.75cd0a9e.js";import{T as at}from"./TagList.c6e1c385.js";import{Y as nt}from"./YamlView.e892619a.js";import{_ as st}from"./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js";import"./ErrorBlock.6cb5eaea.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js";import"./index.58caa11d.js";import"./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js";import"./_commonjsHelpers.f037b798.js";const V=a=>(be("data-v-49299a0f"),a=a(),ke(),a),lt={class:"entity-summary entity-section-list"},ot={class:"entity-title","data-testid":"data-plane-proxy-title"},it=V(()=>e("span",{class:"kutil-sr-only"},"Data plane proxy:",-1)),rt={class:"definition"},dt=V(()=>e("span",null,"Mesh:",-1)),ct={key:0},ut=V(()=>e("h4",null,"Tags",-1)),pt={key:1},mt=V(()=>e("h4",null,"Dependencies",-1)),vt={class:"mt-2 heading-with-icon"},ft=V(()=>e("h4",null,"Insights",-1)),yt={class:"entity-section-list"},ht=["data-testid"],_t=V(()=>e("span",null,"Connect time:",-1)),gt=["data-testid"],bt=V(()=>e("span",null,"Disconnect time:",-1)),kt={class:"definition"},Dt=V(()=>e("span",null,"Control plane instance ID:",-1)),wt={key:0},Tt=V(()=>e("summary",null," Responses (acknowledged / sent) ",-1)),Ct=["data-testid"],Pt=he({__name:"DataPlaneEntitySummary",props:{dataPlaneOverview:{type:Object,required:!0}},setup(a){const m=a,h={"Partially degraded":"partially_degraded",Offline:"offline",Online:"online"},F=U(()=>{const{name:p,mesh:r,dataplane:f}=m.dataPlaneOverview;return{type:"Dataplane",name:p,mesh:r,networking:f.networking}}),E=U(()=>_e(m.dataPlaneOverview.dataplane)),z=U(()=>{const p=Array.from(m.dataPlaneOverview.dataplaneInsight.subscriptions);return p.reverse(),p.map(r=>{const f=r.connectTime!==void 0?me(r.connectTime):"\u2014",l=r.disconnectTime!==void 0?me(r.disconnectTime):"\u2014",c=Object.entries(r.status).filter(([b])=>!["total","lastUpdateTime"].includes(b)).map(([b,k])=>{var N,q,Y,Z,j;const D=`${(N=k.responsesAcknowledged)!=null?N:0} / ${(q=k.responsesSent)!=null?q:0}`;return{type:b.toUpperCase(),ratio:D,responsesSent:(Y=k.responsesSent)!=null?Y:0,responsesAcknowledged:(Z=k.responsesAcknowledged)!=null?Z:0,responsesRejected:(j=k.responsesRejected)!=null?j:0}});return{subscription:r,formattedConnectDate:f,formattedDisconnectDate:l,statuses:c}})}),C=U(()=>{const{status:p}=ge(m.dataPlaneOverview.dataplane,m.dataPlaneOverview.dataplaneInsight);return Ie[h[p]]}),L=U(()=>{const p=Ke(m.dataPlaneOverview.dataplaneInsight);return p!==null?Object.entries(p).map(([r,f])=>({name:r,version:f})):[]}),I=U(()=>{const{subscriptions:p}=m.dataPlaneOverview.dataplaneInsight;if(p.length===0)return[];const r=p[p.length-1];if(!r.version)return[];const f=[],l=r.version.envoy,c=r.version.kumaDp;if(!(l.kumaDpCompatible!==void 0?l.kumaDpCompatible:!0)){const D=`Envoy ${l.version} is not supported by Kuma DP ${c.version}.`;f.push(D)}if(!(c.kumaCpCompatible!==void 0?c.kumaCpCompatible:!0)){const D=`Kuma DP ${c.version} is not supported by this Kuma control plane.`;f.push(D)}return f});return(p,r)=>{const f=Ne("router-link");return i(),v("div",lt,[e("section",null,[e("h3",ot,[it,O(f,{to:{name:"data-plane-detail-view",params:{mesh:a.dataPlaneOverview.mesh,dataPlane:a.dataPlaneOverview.name}}},{default:S(()=>[G(g(a.dataPlaneOverview.name),1)]),_:1},8,["to"]),e("div",{class:Oe(`status status--${d(C).appearance}`),"data-testid":"data-plane-status-badge"},g(d(C).title.toLowerCase()),3)]),e("div",rt,[dt,e("span",null,g(a.dataPlaneOverview.mesh),1)])]),d(E).length>0?(i(),v("section",ct,[ut,O(at,{tags:d(E)},null,8,["tags"])])):x("",!0),d(L).length>0?(i(),v("section",pt,[mt,(i(!0),v(A,null,M(d(L),(l,c)=>(i(),v("div",{key:c,class:"definition"},[e("span",null,g(l.name)+":",1),e("span",null,g(l.version),1)]))),128)),d(I).length>0?(i(),v(A,{key:0},[e("h5",vt,[G(" Warnings "),O(d(Le),{class:"ml-1",icon:"warning",color:"var(--black-75)","secondary-color":"var(--yellow-300)",size:"20"})]),(i(!0),v(A,null,M(d(I),(l,c)=>(i(),v("p",{key:c},g(l),1))),128))],64)):x("",!0)])):x("",!0),d(z).length>0?(i(),v(A,{key:2},[e("section",null,[ft,e("div",yt,[(i(!0),v(A,null,M(d(z),(l,c)=>(i(),v("div",{key:c},[e("div",{class:"definition","data-testid":`data-plane-connect-time-${c}`},[_t,e("span",null,g(l.formattedConnectDate),1)],8,ht),e("div",{class:"definition","data-testid":`data-plane-disconnect-time-${c}`},[bt,e("span",null,g(l.formattedDisconnectDate),1)],8,gt),e("div",kt,[Dt,e("span",null,g(l.subscription.controlPlaneInstanceId),1)]),l.statuses.length>0?(i(),v("details",wt,[Tt,(i(!0),v(A,null,M(l.statuses,(b,k)=>(i(),v("div",{key:`${c}-${k}`,class:"definition","data-testid":`data-plane-subscription-status-${c}-${k}`},[e("span",null,g(b.type)+":",1),e("span",null,g(b.ratio),1)],8,Ct))),128))])):x("",!0)]))),128))])]),e("section",null,[O(nt,{id:"code-block-data-plane-summary",content:d(F),"code-max-height":"250px"},null,8,["content"])])],64)):x("",!0)])}}});const Ut=De(Pt,[["__scopeId","data-v-49299a0f"]]),we=[{key:"status",label:"Status"},{key:"name",label:"Name"},{key:"mesh",label:"Mesh"},{key:"type",label:"Type"},{key:"service",label:"Service"},{key:"protocol",label:"Protocol"},{key:"zone",label:"Zone"},{key:"lastConnected",label:"Last Connected"},{key:"lastUpdated",label:"Last Updated"},{key:"totalUpdates",label:"Total Updates"},{key:"dpVersion",label:"Kuma DP version"},{key:"envoyVersion",label:"Envoy version"},{key:"details",label:"Details",hideLabel:!0}],Vt=["name","details"],St=we.filter(a=>!Vt.includes(a.key)).map(a=>({tableHeaderKey:a.key,label:a.label,isChecked:!1})),Te=["status","name","mesh","type","service","protocol","zone","lastUpdated","dpVersion","details"];function At(a,m=Te){return we.filter(h=>m.includes(h.key)?a?!0:h.key!=="zone":!1)}function ee(a,m){const h=new URL(window.location.href);m!=null?h.searchParams.set(a,String(m)):h.searchParams.has(a)&&h.searchParams.delete(a),window.history.replaceState({path:h.href},"",h.href)}const te=a=>(be("data-v-ff8c3ecb"),a=a(),ke(),a),Et=te(()=>e("label",{for:"data-planes-type-filter",class:"mr-2"}," Type: ",-1)),It=["value"],Kt=["for"],Ot=["id","checked","onChange"],Lt=te(()=>e("span",{class:"custom-control-icon"}," + ",-1)),Nt=te(()=>e("span",{class:"custom-control-icon"}," \u2190 ",-1)),Rt=he({__name:"DataPlaneListView",props:{name:{type:String,required:!1,default:null},offset:{type:Number,required:!1,default:0}},setup(a){const m=a,h=50,F=["All","Standard","Gateway (builtin)","Gateway (delegated)"],E=Re(),z=Be(),C=T(Te),L=T(!0),I=T(!1),p=T(null),r=T(!1),f=T({headers:[],data:[]}),l=T([]),c=T(null),b=T("All"),k=T(m.offset),D=T(null),N=U(()=>z.getters["config/getMulticlusterStatus"]),q=U(()=>({name:z.getters["config/getEnvironment"]==="universal"?"universal-dataplane":"kubernetes-dataplane"})),Y=U(()=>{const t=f.value.data.filter(y=>b.value==="All"?!0:y.type.toLowerCase()===b.value.toLowerCase()),s=At(N.value,C.value);return{data:t,headers:s}}),Z=U(()=>St.filter(t=>N.value?!0:t.tableHeaderKey!=="zone").map(t=>{const s=C.value.includes(t.tableHeaderKey);return{...t,isChecked:s}}));$e(()=>E.params.mesh,function(){E.name==="data-plane-list-view"&&(I.value=!1,p.value=null,r.value=!1,J(0))});const j=ve.get("dpVisibleTableHeaderKeys");Array.isArray(j)&&(C.value=j),J(m.offset);function Ce(t){t.stopPropagation()}function Pe(t,s){const y=t.target,o=C.value.findIndex(u=>u===s);y.checked&&o===-1?C.value.push(s):!y.checked&&o>-1&&C.value.splice(o,1),ve.set("dpVisibleTableHeaderKeys",Array.from(new Set(C.value)))}function Ue(){Ge.logger.info(qe.CREATE_DATA_PLANE_PROXY_CLICKED)}function Ve(){return{title:"No Data",message:"There are no data plane proxies present."}}async function Se(t){var ne,se,le,oe,ie;const s=t.mesh,y=t.name,o={name:"data-plane-detail-view",params:{mesh:s,dataPlane:y}},u={name:"mesh-detail-view",params:{mesh:s}},H=["kuma.io/protocol","kuma.io/service","kuma.io/zone"],R=_e(t.dataplane).filter(n=>H.includes(n.label)),w=(ne=R.find(n=>n.label==="kuma.io/service"))==null?void 0:ne.value,K=(se=R.find(n=>n.label==="kuma.io/protocol"))==null?void 0:se.value,W=(le=R.find(n=>n.label==="kuma.io/zone"))==null?void 0:le.value;let ae;w!==void 0&&(ae={name:"service-insight-detail-view",params:{mesh:s,service:w}});const{status:Ae}=ge(t.dataplane,t.dataplaneInsight),Ee={totalUpdates:0,totalRejectedUpdates:0,dpVersion:null,envoyVersion:null,selectedTime:NaN,selectedUpdateTime:NaN,version:null},_=t.dataplaneInsight.subscriptions.reduce((n,P)=>{var re,de,ce,ue;if(P.connectTime){const pe=Date.parse(P.connectTime);(!n.selectedTime||pe>n.selectedTime)&&(n.selectedTime=pe)}const X=Date.parse(P.status.lastUpdateTime);return X&&(!n.selectedUpdateTime||X>n.selectedUpdateTime)&&(n.selectedUpdateTime=X),{totalUpdates:n.totalUpdates+parseInt((re=P.status.total.responsesSent)!=null?re:"0",10),totalRejectedUpdates:n.totalRejectedUpdates+parseInt((de=P.status.total.responsesRejected)!=null?de:"0",10),dpVersion:((ce=P.version)==null?void 0:ce.kumaDp.version)||n.dpVersion,envoyVersion:((ue=P.version)==null?void 0:ue.envoy.version)||n.envoyVersion,selectedTime:n.selectedTime,selectedUpdateTime:n.selectedUpdateTime,version:P.version||n.version}},Ee),$={name:y,nameRoute:o,mesh:s,meshRoute:u,zone:W!=null?W:"\u2014",service:w!=null?w:"\u2014",serviceInsightRoute:ae,protocol:K!=null?K:"\u2014",status:Ae,totalUpdates:_.totalUpdates,totalRejectedUpdates:_.totalRejectedUpdates,dpVersion:(oe=_.dpVersion)!=null?oe:"\u2014",envoyVersion:(ie=_.envoyVersion)!=null?ie:"\u2014",warnings:[],unsupportedEnvoyVersion:!1,unsupportedKumaDPVersion:!1,kumaDpAndKumaCpMismatch:!1,lastUpdated:_.selectedUpdateTime?ye(new Date(_.selectedUpdateTime).toUTCString()):"\u2014",lastConnected:_.selectedTime?ye(new Date(_.selectedTime).toUTCString()):"\u2014",type:Ye(t.dataplane)};if(_.version){const{kind:n}=Ze(_.version);switch(n!==Fe&&$.warnings.push(n),n){case Qe:$.unsupportedEnvoyVersion=!0;break;case Je:$.unsupportedKumaDPVersion=!0;break}}return N.value&&_.dpVersion&&R.find(P=>P.label===We)&&typeof _.version.kumaDp.kumaCpCompatible=="boolean"&&!_.version.kumaDp.kumaCpCompatible&&($.warnings.push(Xe),$.kumaDpAndKumaCpMismatch=!0),$}async function J(t){var o;L.value=!0,k.value=t,ee("offset",t>0?t:null);const s=E.params.mesh,y=h;try{const{items:u,next:H}=await xe.getAllDataplaneOverviewsFromMesh({mesh:s},{size:y,offset:t});if(Array.isArray(u)&&u.length>0){u.sort(function(w,K){return w.name===K.name?w.mesh>K.mesh?1:-1:w.name.localeCompare(K.name)}),c.value=H,l.value=u,Q((o=m.name)!=null?o:u[0].name);const R=await Promise.all(l.value.map(w=>Se(w)));f.value.data=R,r.value=!1,I.value=!1}else Q(null),f.value.data=[],r.value=!0,I.value=!0}catch(u){u instanceof Error?p.value=u:console.error(u),I.value=!0}finally{L.value=!1}}function Q(t){var s;t&&l.value.length>0?(D.value=(s=l.value.find(y=>y.name===t))!=null?s:l.value[0],ee("name",D.value.name)):(D.value=null,ee("name",null))}return(t,s)=>(i(),B(et,null,{content:S(()=>{var y;return[O(tt,{"selected-entity-name":(y=D.value)==null?void 0:y.name,"page-size":h,"is-loading":L.value,error:p.value,"empty-state":Ve(),"table-data":d(Y),"table-data-is-empty":r.value,"show-details":"",next:c.value!==null,"page-offset":k.value,onTableAction:s[1]||(s[1]=o=>Q(o.name)),onLoadData:s[2]||(s[2]=o=>J(o))},{additionalControls:S(()=>[e("div",null,[Et,Me(e("select",{id:"data-planes-type-filter","onUpdate:modelValue":s[0]||(s[0]=o=>b.value=o),"data-testid":"data-planes-type-filter"},[(i(),v(A,null,M(F,(o,u)=>e("option",{key:u,value:o},g(o),9,It)),64))],512),[[ze,b.value]])]),O(d(je),{label:"Columns",icon:"cogwheel","button-appearance":"outline"},{items:S(()=>[e("div",{onClick:Ce},[(i(!0),v(A,null,M(d(Z),(o,u)=>(i(),B(d(He),{key:u,class:"table-header-selector-item",item:o},{default:S(()=>[e("label",{for:`data-plane-table-header-checkbox-${u}`,class:"k-checkbox table-header-selector-item-checkbox"},[e("input",{id:`data-plane-table-header-checkbox-${u}`,checked:o.isChecked,type:"checkbox",class:"k-input",onChange:H=>Pe(H,o.tableHeaderKey)},null,40,Ot),G(" "+g(o.label),1)],8,Kt)]),_:2},1032,["item"]))),128))])]),_:1}),O(d(fe),{class:"add-dp-button",appearance:"primary",to:d(q),"data-testid":"data-plane-create-data-plane-button",onClick:Ue},{default:S(()=>[Lt,G(" Create data plane proxy ")]),_:1},8,["to"]),d(E).query.ns?(i(),B(d(fe),{key:0,appearance:"primary",to:{name:"data-plane-list-view"},"data-testid":"data-plane-ns-back-button"},{default:S(()=>[Nt,G(" View All ")]),_:1})):x("",!0)]),_:1},8,["selected-entity-name","is-loading","error","empty-state","table-data","table-data-is-empty","next","page-offset"])]}),sidebar:S(()=>[D.value!==null?(i(),B(Ut,{key:0,"data-plane-overview":D.value},null,8,["data-plane-overview"])):(i(),B(st,{key:1}))]),_:1}))}});const Ft=De(Rt,[["__scopeId","data-v-ff8c3ecb"]]);export{Ft as default}; +import{d as he,f as U,cz as _e,cu as me,cA as ge,cB as Ie,cC as Ke,o as i,j as v,l as e,a as O,w as S,b as G,t as g,A as Oe,u as d,z as x,F as A,n as M,K as Le,i as Ne,B as be,C as ke,D as De,p as Re,r as T,g as $e,S as ve,k as xe,c as B,m as Me,cD as ze,cE as je,cF as He,e as fe,q as Be,E as Ge,G as qe,cs as ye,cG as Ye,cH as Ze,cI as Fe,cw as Je,cx as Qe,cJ as We,cv as Xe}from"./index.47c8bf16.js";import{C as et}from"./ContentWrapper.1e8852e7.js";import{D as tt}from"./DataOverview.ae0ae0a9.js";import{T as at}from"./TagList.d43e2716.js";import{Y as nt}from"./YamlView.941aa063.js";import{_ as st}from"./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js";import"./ErrorBlock.456ea0f6.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js";import"./index.58caa11d.js";import"./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js";import"./_commonjsHelpers.f037b798.js";const V=a=>(be("data-v-49299a0f"),a=a(),ke(),a),lt={class:"entity-summary entity-section-list"},ot={class:"entity-title","data-testid":"data-plane-proxy-title"},it=V(()=>e("span",{class:"kutil-sr-only"},"Data plane proxy:",-1)),rt={class:"definition"},dt=V(()=>e("span",null,"Mesh:",-1)),ct={key:0},ut=V(()=>e("h4",null,"Tags",-1)),pt={key:1},mt=V(()=>e("h4",null,"Dependencies",-1)),vt={class:"mt-2 heading-with-icon"},ft=V(()=>e("h4",null,"Insights",-1)),yt={class:"entity-section-list"},ht=["data-testid"],_t=V(()=>e("span",null,"Connect time:",-1)),gt=["data-testid"],bt=V(()=>e("span",null,"Disconnect time:",-1)),kt={class:"definition"},Dt=V(()=>e("span",null,"Control plane instance ID:",-1)),wt={key:0},Tt=V(()=>e("summary",null," Responses (acknowledged / sent) ",-1)),Ct=["data-testid"],Pt=he({__name:"DataPlaneEntitySummary",props:{dataPlaneOverview:{type:Object,required:!0}},setup(a){const m=a,h={"Partially degraded":"partially_degraded",Offline:"offline",Online:"online"},F=U(()=>{const{name:p,mesh:r,dataplane:f}=m.dataPlaneOverview;return{type:"Dataplane",name:p,mesh:r,networking:f.networking}}),E=U(()=>_e(m.dataPlaneOverview.dataplane)),z=U(()=>{const p=Array.from(m.dataPlaneOverview.dataplaneInsight.subscriptions);return p.reverse(),p.map(r=>{const f=r.connectTime!==void 0?me(r.connectTime):"\u2014",l=r.disconnectTime!==void 0?me(r.disconnectTime):"\u2014",c=Object.entries(r.status).filter(([b])=>!["total","lastUpdateTime"].includes(b)).map(([b,k])=>{var N,q,Y,Z,j;const D=`${(N=k.responsesAcknowledged)!=null?N:0} / ${(q=k.responsesSent)!=null?q:0}`;return{type:b.toUpperCase(),ratio:D,responsesSent:(Y=k.responsesSent)!=null?Y:0,responsesAcknowledged:(Z=k.responsesAcknowledged)!=null?Z:0,responsesRejected:(j=k.responsesRejected)!=null?j:0}});return{subscription:r,formattedConnectDate:f,formattedDisconnectDate:l,statuses:c}})}),C=U(()=>{const{status:p}=ge(m.dataPlaneOverview.dataplane,m.dataPlaneOverview.dataplaneInsight);return Ie[h[p]]}),L=U(()=>{const p=Ke(m.dataPlaneOverview.dataplaneInsight);return p!==null?Object.entries(p).map(([r,f])=>({name:r,version:f})):[]}),I=U(()=>{const{subscriptions:p}=m.dataPlaneOverview.dataplaneInsight;if(p.length===0)return[];const r=p[p.length-1];if(!r.version)return[];const f=[],l=r.version.envoy,c=r.version.kumaDp;if(!(l.kumaDpCompatible!==void 0?l.kumaDpCompatible:!0)){const D=`Envoy ${l.version} is not supported by Kuma DP ${c.version}.`;f.push(D)}if(!(c.kumaCpCompatible!==void 0?c.kumaCpCompatible:!0)){const D=`Kuma DP ${c.version} is not supported by this Kuma control plane.`;f.push(D)}return f});return(p,r)=>{const f=Ne("router-link");return i(),v("div",lt,[e("section",null,[e("h3",ot,[it,O(f,{to:{name:"data-plane-detail-view",params:{mesh:a.dataPlaneOverview.mesh,dataPlane:a.dataPlaneOverview.name}}},{default:S(()=>[G(g(a.dataPlaneOverview.name),1)]),_:1},8,["to"]),e("div",{class:Oe(`status status--${d(C).appearance}`),"data-testid":"data-plane-status-badge"},g(d(C).title.toLowerCase()),3)]),e("div",rt,[dt,e("span",null,g(a.dataPlaneOverview.mesh),1)])]),d(E).length>0?(i(),v("section",ct,[ut,O(at,{tags:d(E)},null,8,["tags"])])):x("",!0),d(L).length>0?(i(),v("section",pt,[mt,(i(!0),v(A,null,M(d(L),(l,c)=>(i(),v("div",{key:c,class:"definition"},[e("span",null,g(l.name)+":",1),e("span",null,g(l.version),1)]))),128)),d(I).length>0?(i(),v(A,{key:0},[e("h5",vt,[G(" Warnings "),O(d(Le),{class:"ml-1",icon:"warning",color:"var(--black-75)","secondary-color":"var(--yellow-300)",size:"20"})]),(i(!0),v(A,null,M(d(I),(l,c)=>(i(),v("p",{key:c},g(l),1))),128))],64)):x("",!0)])):x("",!0),d(z).length>0?(i(),v(A,{key:2},[e("section",null,[ft,e("div",yt,[(i(!0),v(A,null,M(d(z),(l,c)=>(i(),v("div",{key:c},[e("div",{class:"definition","data-testid":`data-plane-connect-time-${c}`},[_t,e("span",null,g(l.formattedConnectDate),1)],8,ht),e("div",{class:"definition","data-testid":`data-plane-disconnect-time-${c}`},[bt,e("span",null,g(l.formattedDisconnectDate),1)],8,gt),e("div",kt,[Dt,e("span",null,g(l.subscription.controlPlaneInstanceId),1)]),l.statuses.length>0?(i(),v("details",wt,[Tt,(i(!0),v(A,null,M(l.statuses,(b,k)=>(i(),v("div",{key:`${c}-${k}`,class:"definition","data-testid":`data-plane-subscription-status-${c}-${k}`},[e("span",null,g(b.type)+":",1),e("span",null,g(b.ratio),1)],8,Ct))),128))])):x("",!0)]))),128))])]),e("section",null,[O(nt,{id:"code-block-data-plane-summary",content:d(F),"code-max-height":"250px"},null,8,["content"])])],64)):x("",!0)])}}});const Ut=De(Pt,[["__scopeId","data-v-49299a0f"]]),we=[{key:"status",label:"Status"},{key:"name",label:"Name"},{key:"mesh",label:"Mesh"},{key:"type",label:"Type"},{key:"service",label:"Service"},{key:"protocol",label:"Protocol"},{key:"zone",label:"Zone"},{key:"lastConnected",label:"Last Connected"},{key:"lastUpdated",label:"Last Updated"},{key:"totalUpdates",label:"Total Updates"},{key:"dpVersion",label:"Kuma DP version"},{key:"envoyVersion",label:"Envoy version"},{key:"details",label:"Details",hideLabel:!0}],Vt=["name","details"],St=we.filter(a=>!Vt.includes(a.key)).map(a=>({tableHeaderKey:a.key,label:a.label,isChecked:!1})),Te=["status","name","mesh","type","service","protocol","zone","lastUpdated","dpVersion","details"];function At(a,m=Te){return we.filter(h=>m.includes(h.key)?a?!0:h.key!=="zone":!1)}function ee(a,m){const h=new URL(window.location.href);m!=null?h.searchParams.set(a,String(m)):h.searchParams.has(a)&&h.searchParams.delete(a),window.history.replaceState({path:h.href},"",h.href)}const te=a=>(be("data-v-ff8c3ecb"),a=a(),ke(),a),Et=te(()=>e("label",{for:"data-planes-type-filter",class:"mr-2"}," Type: ",-1)),It=["value"],Kt=["for"],Ot=["id","checked","onChange"],Lt=te(()=>e("span",{class:"custom-control-icon"}," + ",-1)),Nt=te(()=>e("span",{class:"custom-control-icon"}," \u2190 ",-1)),Rt=he({__name:"DataPlaneListView",props:{name:{type:String,required:!1,default:null},offset:{type:Number,required:!1,default:0}},setup(a){const m=a,h=50,F=["All","Standard","Gateway (builtin)","Gateway (delegated)"],E=Re(),z=Be(),C=T(Te),L=T(!0),I=T(!1),p=T(null),r=T(!1),f=T({headers:[],data:[]}),l=T([]),c=T(null),b=T("All"),k=T(m.offset),D=T(null),N=U(()=>z.getters["config/getMulticlusterStatus"]),q=U(()=>({name:z.getters["config/getEnvironment"]==="universal"?"universal-dataplane":"kubernetes-dataplane"})),Y=U(()=>{const t=f.value.data.filter(y=>b.value==="All"?!0:y.type.toLowerCase()===b.value.toLowerCase()),s=At(N.value,C.value);return{data:t,headers:s}}),Z=U(()=>St.filter(t=>N.value?!0:t.tableHeaderKey!=="zone").map(t=>{const s=C.value.includes(t.tableHeaderKey);return{...t,isChecked:s}}));$e(()=>E.params.mesh,function(){E.name==="data-plane-list-view"&&(I.value=!1,p.value=null,r.value=!1,J(0))});const j=ve.get("dpVisibleTableHeaderKeys");Array.isArray(j)&&(C.value=j),J(m.offset);function Ce(t){t.stopPropagation()}function Pe(t,s){const y=t.target,o=C.value.findIndex(u=>u===s);y.checked&&o===-1?C.value.push(s):!y.checked&&o>-1&&C.value.splice(o,1),ve.set("dpVisibleTableHeaderKeys",Array.from(new Set(C.value)))}function Ue(){Ge.logger.info(qe.CREATE_DATA_PLANE_PROXY_CLICKED)}function Ve(){return{title:"No Data",message:"There are no data plane proxies present."}}async function Se(t){var ne,se,le,oe,ie;const s=t.mesh,y=t.name,o={name:"data-plane-detail-view",params:{mesh:s,dataPlane:y}},u={name:"mesh-detail-view",params:{mesh:s}},H=["kuma.io/protocol","kuma.io/service","kuma.io/zone"],R=_e(t.dataplane).filter(n=>H.includes(n.label)),w=(ne=R.find(n=>n.label==="kuma.io/service"))==null?void 0:ne.value,K=(se=R.find(n=>n.label==="kuma.io/protocol"))==null?void 0:se.value,W=(le=R.find(n=>n.label==="kuma.io/zone"))==null?void 0:le.value;let ae;w!==void 0&&(ae={name:"service-insight-detail-view",params:{mesh:s,service:w}});const{status:Ae}=ge(t.dataplane,t.dataplaneInsight),Ee={totalUpdates:0,totalRejectedUpdates:0,dpVersion:null,envoyVersion:null,selectedTime:NaN,selectedUpdateTime:NaN,version:null},_=t.dataplaneInsight.subscriptions.reduce((n,P)=>{var re,de,ce,ue;if(P.connectTime){const pe=Date.parse(P.connectTime);(!n.selectedTime||pe>n.selectedTime)&&(n.selectedTime=pe)}const X=Date.parse(P.status.lastUpdateTime);return X&&(!n.selectedUpdateTime||X>n.selectedUpdateTime)&&(n.selectedUpdateTime=X),{totalUpdates:n.totalUpdates+parseInt((re=P.status.total.responsesSent)!=null?re:"0",10),totalRejectedUpdates:n.totalRejectedUpdates+parseInt((de=P.status.total.responsesRejected)!=null?de:"0",10),dpVersion:((ce=P.version)==null?void 0:ce.kumaDp.version)||n.dpVersion,envoyVersion:((ue=P.version)==null?void 0:ue.envoy.version)||n.envoyVersion,selectedTime:n.selectedTime,selectedUpdateTime:n.selectedUpdateTime,version:P.version||n.version}},Ee),$={name:y,nameRoute:o,mesh:s,meshRoute:u,zone:W!=null?W:"\u2014",service:w!=null?w:"\u2014",serviceInsightRoute:ae,protocol:K!=null?K:"\u2014",status:Ae,totalUpdates:_.totalUpdates,totalRejectedUpdates:_.totalRejectedUpdates,dpVersion:(oe=_.dpVersion)!=null?oe:"\u2014",envoyVersion:(ie=_.envoyVersion)!=null?ie:"\u2014",warnings:[],unsupportedEnvoyVersion:!1,unsupportedKumaDPVersion:!1,kumaDpAndKumaCpMismatch:!1,lastUpdated:_.selectedUpdateTime?ye(new Date(_.selectedUpdateTime).toUTCString()):"\u2014",lastConnected:_.selectedTime?ye(new Date(_.selectedTime).toUTCString()):"\u2014",type:Ye(t.dataplane)};if(_.version){const{kind:n}=Ze(_.version);switch(n!==Fe&&$.warnings.push(n),n){case Qe:$.unsupportedEnvoyVersion=!0;break;case Je:$.unsupportedKumaDPVersion=!0;break}}return N.value&&_.dpVersion&&R.find(P=>P.label===We)&&typeof _.version.kumaDp.kumaCpCompatible=="boolean"&&!_.version.kumaDp.kumaCpCompatible&&($.warnings.push(Xe),$.kumaDpAndKumaCpMismatch=!0),$}async function J(t){var o;L.value=!0,k.value=t,ee("offset",t>0?t:null);const s=E.params.mesh,y=h;try{const{items:u,next:H}=await xe.getAllDataplaneOverviewsFromMesh({mesh:s},{size:y,offset:t});if(Array.isArray(u)&&u.length>0){u.sort(function(w,K){return w.name===K.name?w.mesh>K.mesh?1:-1:w.name.localeCompare(K.name)}),c.value=H,l.value=u,Q((o=m.name)!=null?o:u[0].name);const R=await Promise.all(l.value.map(w=>Se(w)));f.value.data=R,r.value=!1,I.value=!1}else Q(null),f.value.data=[],r.value=!0,I.value=!0}catch(u){u instanceof Error?p.value=u:console.error(u),I.value=!0}finally{L.value=!1}}function Q(t){var s;t&&l.value.length>0?(D.value=(s=l.value.find(y=>y.name===t))!=null?s:l.value[0],ee("name",D.value.name)):(D.value=null,ee("name",null))}return(t,s)=>(i(),B(et,null,{content:S(()=>{var y;return[O(tt,{"selected-entity-name":(y=D.value)==null?void 0:y.name,"page-size":h,"is-loading":L.value,error:p.value,"empty-state":Ve(),"table-data":d(Y),"table-data-is-empty":r.value,"show-details":"",next:c.value!==null,"page-offset":k.value,onTableAction:s[1]||(s[1]=o=>Q(o.name)),onLoadData:s[2]||(s[2]=o=>J(o))},{additionalControls:S(()=>[e("div",null,[Et,Me(e("select",{id:"data-planes-type-filter","onUpdate:modelValue":s[0]||(s[0]=o=>b.value=o),"data-testid":"data-planes-type-filter"},[(i(),v(A,null,M(F,(o,u)=>e("option",{key:u,value:o},g(o),9,It)),64))],512),[[ze,b.value]])]),O(d(je),{label:"Columns",icon:"cogwheel","button-appearance":"outline"},{items:S(()=>[e("div",{onClick:Ce},[(i(!0),v(A,null,M(d(Z),(o,u)=>(i(),B(d(He),{key:u,class:"table-header-selector-item",item:o},{default:S(()=>[e("label",{for:`data-plane-table-header-checkbox-${u}`,class:"k-checkbox table-header-selector-item-checkbox"},[e("input",{id:`data-plane-table-header-checkbox-${u}`,checked:o.isChecked,type:"checkbox",class:"k-input",onChange:H=>Pe(H,o.tableHeaderKey)},null,40,Ot),G(" "+g(o.label),1)],8,Kt)]),_:2},1032,["item"]))),128))])]),_:1}),O(d(fe),{class:"add-dp-button",appearance:"primary",to:d(q),"data-testid":"data-plane-create-data-plane-button",onClick:Ue},{default:S(()=>[Lt,G(" Create data plane proxy ")]),_:1},8,["to"]),d(E).query.ns?(i(),B(d(fe),{key:0,appearance:"primary",to:{name:"data-plane-list-view"},"data-testid":"data-plane-ns-back-button"},{default:S(()=>[Nt,G(" View All ")]),_:1})):x("",!0)]),_:1},8,["selected-entity-name","is-loading","error","empty-state","table-data","table-data-is-empty","next","page-offset"])]}),sidebar:S(()=>[D.value!==null?(i(),B(Ut,{key:0,"data-plane-overview":D.value},null,8,["data-plane-overview"])):(i(),B(st,{key:1}))]),_:1}))}});const Ft=De(Rt,[["__scopeId","data-v-ff8c3ecb"]]);export{Ft as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataplaneKubernetes.2aad0314.js b/app/kuma-ui/pkg/resources/data/assets/DataplaneKubernetes.50f69123.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/DataplaneKubernetes.2aad0314.js rename to app/kuma-ui/pkg/resources/data/assets/DataplaneKubernetes.50f69123.js index bc472e066dbf..f70db571ce73 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataplaneKubernetes.2aad0314.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataplaneKubernetes.50f69123.js @@ -1,4 +1,4 @@ -import{D as B,y as E,e as M,M as K,ck as V,cn as F,cT as U,k as T,o as r,j as c,l as e,a as i,w as a,t as h,m as d,cD as P,F as q,n as z,b as f,cU as _,c as b,v as S,z as v,i as p,B as A,C as j}from"./index.09f51eb8.js";import{_ as W}from"./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js";import{f as O}from"./formatForCLI.199be697.js";import{F as G,S as Y,E as L}from"./EntityScanner.ff503354.js";import{E as R}from"./EnvironmentSwitcher.5673fe91.js";import"./_commonjsHelpers.f037b798.js";import"./index.58caa11d.js";const H={apiVersion:"v1",kind:"Namespace",metadata:{name:null,namespace:null,annotations:{"kuma.io/sidecar-injection":"enabled","kuma.io/mesh":null}}};const J={name:"DataplaneWizardKubernetes",components:{CodeBlock:W,FormFragment:G,StepSkeleton:Y,EnvironmentSwitcher:R,EntityScanner:L,KAlert:E,KButton:M,KCard:K},data(){return{productName:V,schema:H,steps:[{label:"General",slug:"general"},{label:"Scope Settings",slug:"scope-settings"},{label:"Install",slug:"complete"}],tabs:[{hash:"#kubernetes",title:"Kubernetes"}],sidebarContent:[{name:"dataplane"},{name:"example"},{name:"switch"}],startScanner:!1,scanFound:!1,hideScannerSiblings:!1,scanError:!1,isComplete:!1,validate:{meshName:"",k8sDataplaneType:"dataplane-type-service",k8sServices:"all-services",k8sNamespace:"",k8sNamespaceSelection:"",k8sServiceDeployment:"",k8sServiceDeploymentSelection:"",k8sIngressDeployment:"",k8sIngressDeploymentSelection:"",k8sIngressType:"",k8sIngressBrand:"kong-ingress",k8sIngressSelection:""}}},computed:{...F({title:"config/getTagline",version:"config/getVersion",environment:"config/getEnvironment",meshes:"getMeshList"}),codeOutput(){const o=Object.assign({},this.schema),s=this.validate.k8sNamespaceSelection;if(!s)return;o.metadata.name=s,o.metadata.namespace=s,o.metadata.annotations["kuma.io/mesh"]=this.validate.meshName;const y=`" | kubectl apply -f - && kubectl delete pod --all -n ${s}`;return O(o,y)},nextDisabled(){const{k8sNamespaceSelection:o,meshName:s}=this.validate;return s.length?this.$route.query.step==="1"?!o:!1:!0}},watch:{"validate.k8sNamespaceSelection"(o){this.validate.k8sNamespaceSelection=U(o)},$route(){this.$route.query.step===1&&(this.validate.k8sNamespaceSelection?this.nextDisabled=!1:this.nextDisabled=!0)}},methods:{hideSiblings(){this.hideScannerSiblings=!0},scanForEntity(){const s=this.validate.meshName,y=this.validate.k8sNamespaceSelection;this.scanComplete=!1,this.scanError=!1,!(!s||!y)&&T.getDataplaneFromMesh({mesh:s,name:y}).then(k=>{k&&k.name.length>0?(this.isRunning=!0,this.scanFound=!0):this.scanError=!0}).catch(k=>{this.scanError=!0,console.error(k)}).finally(()=>{this.scanComplete=!0})},compeleteDataPlaneSetup(){this.$store.dispatch("updateSelectedMesh",this.validate.meshName),this.$router.push({name:"data-plane-list-view",params:{mesh:this.validate.meshName}})}}},n=o=>(A("data-v-47575659"),o=o(),j(),o),Q={class:"wizard"},X={class:"wizard__content"},Z=n(()=>e("h3",null," Create Kubernetes Dataplane ",-1)),$=n(()=>e("h3",null," To get started, please select on what Mesh you would like to add the Dataplane: ",-1)),ee=n(()=>e("p",null," If you've got an existing Mesh that you would like to associate with your Dataplane, you can select it below, or create a new one using our Mesh Wizard. ",-1)),te=n(()=>e("small",null,"Would you like to see instructions for Universal? Use sidebar to change wizard!",-1)),se=n(()=>e("option",{disabled:"",value:""}," Select an existing Mesh\u2026 ",-1)),ae=["value"],ne=n(()=>e("label",{class:"k-input-label mr-4"}," or ",-1)),le=n(()=>e("h3",null," Setup Dataplane Mode ",-1)),oe=n(()=>e("p",null," You can create a data plane for a service or a data plane for a Gateway. ",-1)),ie={for:"service-dataplane"},re=n(()=>e("span",null," Service Dataplane ",-1)),de={for:"ingress-dataplane"},ce=n(()=>e("span",null," Ingress Dataplane ",-1)),pe={key:0},ue=n(()=>e("p",null," Should the data plane be added for an entire Namespace and all of its services, or for specific individual services in any namespace? ",-1)),me={for:"k8s-services-all"},he=n(()=>e("span",null," All Services in Namespace ",-1)),ke={for:"k8s-services-individual"},_e=n(()=>e("span",null," Individual Services ",-1)),ve={key:1},ye={for:"k8s-ingress-kong"},ge=n(()=>e("span",null," Kong Ingress ",-1)),fe={for:"k8s-ingress-other"},be=n(()=>e("span",null," Other Ingress ",-1)),Se=n(()=>e("p",null,' Please go ahead and deploy the Ingress first, then restart this wizard and select "Existing Ingress". ',-1)),we={key:0},De={key:0},Ne=n(()=>e("h3",null," Auto-Inject DPP ",-1)),Ie=n(()=>e("p",null," You can now execute the following commands to automatically inject the sidecar proxy in every Pod, and by doing so creating the Dataplane. ",-1)),xe=n(()=>e("h4",null,"Kubernetes",-1)),Ce=n(()=>e("h3",null,"Searching\u2026",-1)),Be=n(()=>e("p",null,"We are looking for your dataplane.",-1)),Ee=n(()=>e("h3",null,"Done!",-1)),Me={key:0},Ke=n(()=>e("p",null," Proceed to the next step where we will show you your new Dataplane. ",-1)),Ve=n(()=>e("h3",null,"Mesh not found",-1)),Fe=n(()=>e("p",null,"We were unable to find your mesh.",-1)),Ue=n(()=>e("p",null," Please return to the first step and make sure to select an existing Mesh, or create a new one. ",-1)),Te=n(()=>e("h3",null,"Dataplane",-1)),Pe=n(()=>e("h3",null,"Example",-1)),qe=n(()=>e("p",null," Below is an example of a Dataplane resource output: ",-1)),ze=n(()=>e("code",{class:"block"},[e("pre",null,`apiVersion: 'kuma.io/v1alpha1' +import{D as B,y as E,e as M,M as K,ck as V,cn as F,cT as U,k as T,o as r,j as c,l as e,a as i,w as a,t as h,m as d,cD as P,F as q,n as z,b as f,cU as _,c as b,v as S,z as v,i as p,B as A,C as j}from"./index.47c8bf16.js";import{_ as W}from"./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js";import{f as O}from"./formatForCLI.199be697.js";import{F as G,S as Y,E as L}from"./EntityScanner.7ca94b51.js";import{E as R}from"./EnvironmentSwitcher.89e136d8.js";import"./_commonjsHelpers.f037b798.js";import"./index.58caa11d.js";const H={apiVersion:"v1",kind:"Namespace",metadata:{name:null,namespace:null,annotations:{"kuma.io/sidecar-injection":"enabled","kuma.io/mesh":null}}};const J={name:"DataplaneWizardKubernetes",components:{CodeBlock:W,FormFragment:G,StepSkeleton:Y,EnvironmentSwitcher:R,EntityScanner:L,KAlert:E,KButton:M,KCard:K},data(){return{productName:V,schema:H,steps:[{label:"General",slug:"general"},{label:"Scope Settings",slug:"scope-settings"},{label:"Install",slug:"complete"}],tabs:[{hash:"#kubernetes",title:"Kubernetes"}],sidebarContent:[{name:"dataplane"},{name:"example"},{name:"switch"}],startScanner:!1,scanFound:!1,hideScannerSiblings:!1,scanError:!1,isComplete:!1,validate:{meshName:"",k8sDataplaneType:"dataplane-type-service",k8sServices:"all-services",k8sNamespace:"",k8sNamespaceSelection:"",k8sServiceDeployment:"",k8sServiceDeploymentSelection:"",k8sIngressDeployment:"",k8sIngressDeploymentSelection:"",k8sIngressType:"",k8sIngressBrand:"kong-ingress",k8sIngressSelection:""}}},computed:{...F({title:"config/getTagline",version:"config/getVersion",environment:"config/getEnvironment",meshes:"getMeshList"}),codeOutput(){const o=Object.assign({},this.schema),s=this.validate.k8sNamespaceSelection;if(!s)return;o.metadata.name=s,o.metadata.namespace=s,o.metadata.annotations["kuma.io/mesh"]=this.validate.meshName;const y=`" | kubectl apply -f - && kubectl delete pod --all -n ${s}`;return O(o,y)},nextDisabled(){const{k8sNamespaceSelection:o,meshName:s}=this.validate;return s.length?this.$route.query.step==="1"?!o:!1:!0}},watch:{"validate.k8sNamespaceSelection"(o){this.validate.k8sNamespaceSelection=U(o)},$route(){this.$route.query.step===1&&(this.validate.k8sNamespaceSelection?this.nextDisabled=!1:this.nextDisabled=!0)}},methods:{hideSiblings(){this.hideScannerSiblings=!0},scanForEntity(){const s=this.validate.meshName,y=this.validate.k8sNamespaceSelection;this.scanComplete=!1,this.scanError=!1,!(!s||!y)&&T.getDataplaneFromMesh({mesh:s,name:y}).then(k=>{k&&k.name.length>0?(this.isRunning=!0,this.scanFound=!0):this.scanError=!0}).catch(k=>{this.scanError=!0,console.error(k)}).finally(()=>{this.scanComplete=!0})},compeleteDataPlaneSetup(){this.$store.dispatch("updateSelectedMesh",this.validate.meshName),this.$router.push({name:"data-plane-list-view",params:{mesh:this.validate.meshName}})}}},n=o=>(A("data-v-47575659"),o=o(),j(),o),Q={class:"wizard"},X={class:"wizard__content"},Z=n(()=>e("h3",null," Create Kubernetes Dataplane ",-1)),$=n(()=>e("h3",null," To get started, please select on what Mesh you would like to add the Dataplane: ",-1)),ee=n(()=>e("p",null," If you've got an existing Mesh that you would like to associate with your Dataplane, you can select it below, or create a new one using our Mesh Wizard. ",-1)),te=n(()=>e("small",null,"Would you like to see instructions for Universal? Use sidebar to change wizard!",-1)),se=n(()=>e("option",{disabled:"",value:""}," Select an existing Mesh\u2026 ",-1)),ae=["value"],ne=n(()=>e("label",{class:"k-input-label mr-4"}," or ",-1)),le=n(()=>e("h3",null," Setup Dataplane Mode ",-1)),oe=n(()=>e("p",null," You can create a data plane for a service or a data plane for a Gateway. ",-1)),ie={for:"service-dataplane"},re=n(()=>e("span",null," Service Dataplane ",-1)),de={for:"ingress-dataplane"},ce=n(()=>e("span",null," Ingress Dataplane ",-1)),pe={key:0},ue=n(()=>e("p",null," Should the data plane be added for an entire Namespace and all of its services, or for specific individual services in any namespace? ",-1)),me={for:"k8s-services-all"},he=n(()=>e("span",null," All Services in Namespace ",-1)),ke={for:"k8s-services-individual"},_e=n(()=>e("span",null," Individual Services ",-1)),ve={key:1},ye={for:"k8s-ingress-kong"},ge=n(()=>e("span",null," Kong Ingress ",-1)),fe={for:"k8s-ingress-other"},be=n(()=>e("span",null," Other Ingress ",-1)),Se=n(()=>e("p",null,' Please go ahead and deploy the Ingress first, then restart this wizard and select "Existing Ingress". ',-1)),we={key:0},De={key:0},Ne=n(()=>e("h3",null," Auto-Inject DPP ",-1)),Ie=n(()=>e("p",null," You can now execute the following commands to automatically inject the sidecar proxy in every Pod, and by doing so creating the Dataplane. ",-1)),xe=n(()=>e("h4",null,"Kubernetes",-1)),Ce=n(()=>e("h3",null,"Searching\u2026",-1)),Be=n(()=>e("p",null,"We are looking for your dataplane.",-1)),Ee=n(()=>e("h3",null,"Done!",-1)),Me={key:0},Ke=n(()=>e("p",null," Proceed to the next step where we will show you your new Dataplane. ",-1)),Ve=n(()=>e("h3",null,"Mesh not found",-1)),Fe=n(()=>e("p",null,"We were unable to find your mesh.",-1)),Ue=n(()=>e("p",null," Please return to the first step and make sure to select an existing Mesh, or create a new one. ",-1)),Te=n(()=>e("h3",null,"Dataplane",-1)),Pe=n(()=>e("h3",null,"Example",-1)),qe=n(()=>e("p",null," Below is an example of a Dataplane resource output: ",-1)),ze=n(()=>e("code",{class:"block"},[e("pre",null,`apiVersion: 'kuma.io/v1alpha1' kind: Dataplane mesh: default metadata: diff --git a/app/kuma-ui/pkg/resources/data/assets/DataplaneUniversal.def82fe6.js b/app/kuma-ui/pkg/resources/data/assets/DataplaneUniversal.6785845d.js similarity index 98% rename from app/kuma-ui/pkg/resources/data/assets/DataplaneUniversal.def82fe6.js rename to app/kuma-ui/pkg/resources/data/assets/DataplaneUniversal.6785845d.js index 937701fa18a3..e0d31e99135e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataplaneUniversal.def82fe6.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataplaneUniversal.6785845d.js @@ -1,4 +1,4 @@ -import{d as U,o as c,c as C,w as l,l as e,I as F,u as V,cK as K,D as B,y as z,e as W,M as j,ck as G,cn as H,cT as g,k as O,j as w,a as i,t as D,m as p,cD as S,F as b,n as N,b as u,cU as P,v as _,z as I,i as v}from"./index.09f51eb8.js";import{j as q}from"./index.58caa11d.js";import{k as R}from"./kumaDpServerUrl.8cd5871a.js";import{_ as Y}from"./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js";import{F as L,S as Z,E as J}from"./EntityScanner.ff503354.js";import{E as Q}from"./EnvironmentSwitcher.5673fe91.js";import"./_commonjsHelpers.f037b798.js";const X=e("a",null,"?",-1),$=U({__name:"HelperTooltip",setup(n){return(t,s)=>(c(),C(V(K),{trigger:"hover",class:"help-icon"},{content:l(()=>[e("div",null,[F(t.$slots,"default")])]),default:l(()=>[X]),_:3}))}}),ee={type:"Dataplane",mesh:null,name:null,networking:{}},te={name:"DataplaneWizardUniversal",components:{CodeBlock:Y,FormFragment:L,StepSkeleton:Z,EnvironmentSwitcher:Q,HelperTooltip:$,EntityScanner:J,KAlert:z,KButton:W,KCard:j},data(){return{productName:G,randString:Math.random().toString(36).substring(2,8),schema:ee,steps:[{label:"General",slug:"general"},{label:"Topology",slug:"topology"},{label:"Networking",slug:"networking"},{label:"Install",slug:"complete"}],tabs:[{hash:"#universal",title:"Universal"}],sidebarContent:[{name:"dataplane"},{name:"example"},{name:"switch"}],startScanner:!1,scanFound:!1,hideScannerSiblings:!1,scanError:!1,isComplete:!1,validate:{meshName:"",univDataplaneType:"dataplane-type-service",univDataplaneServiceName:"",univDataplaneId:"",univDataplaneCustomIdDisabled:!0,univDataplaneNetworkAddress:null,univDataplaneNetworkServicePort:null,univDataplaneNetworkServiceAddress:"127.0.0.1",univDataplaneNetworkDPPort:null,univDataplaneNetworkProtocol:"tcp"},formFields:{protocols:["tcp","http","grpc"]}}},computed:{...H({title:"config/getTagline",version:"config/getVersion",environment:"config/getEnvironment",meshes:"getMeshList"}),getDataplaneSchema(){const n=Object.assign({},this.schema),{meshName:t,univDataplaneType:s,univDataplaneServiceName:h,univDataplaneId:a,univDataplaneNetworkAddress:r,univDataplaneNetworkServicePort:k,univDataplaneNetworkServiceAddress:d,univDataplaneNetworkDPPort:f,univDataplaneNetworkProtocol:m}=this.validate;if(!!t)return n.name=a,n.mesh=t,s==="dataplane-type-service"?(n.networking.gateway&&delete n.networking.gateway,n.networking={address:r,inbound:[{port:f,servicePort:k,serviceAddress:d,tags:{"kuma.io/service":h,"kuma.io/protocol":m}}]}):s==="dataplane-type-gateway"&&(n.networking.inbound&&delete n.networking.inbound,n.networking={address:r,gateway:{tags:{"kuma.io/service":h}}}),n},generateDpTokenCodeOutput(){const{univDataplaneId:n}=this.validate;return`kumactl generate dataplane-token --name=${n} > kuma-token-${n}`},startDpCodeOutput(){const{univDataplaneId:n}=this.validate;return`kuma-dp run \\ +import{d as U,o as c,c as C,w as l,l as e,I as F,u as V,cK as K,D as B,y as z,e as W,M as j,ck as G,cn as H,cT as g,k as O,j as w,a as i,t as D,m as p,cD as S,F as b,n as N,b as u,cU as P,v as _,z as I,i as v}from"./index.47c8bf16.js";import{j as q}from"./index.58caa11d.js";import{k as R}from"./kumaDpServerUrl.8cd5871a.js";import{_ as Y}from"./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js";import{F as L,S as Z,E as J}from"./EntityScanner.7ca94b51.js";import{E as Q}from"./EnvironmentSwitcher.89e136d8.js";import"./_commonjsHelpers.f037b798.js";const X=e("a",null,"?",-1),$=U({__name:"HelperTooltip",setup(n){return(t,s)=>(c(),C(V(K),{trigger:"hover",class:"help-icon"},{content:l(()=>[e("div",null,[F(t.$slots,"default")])]),default:l(()=>[X]),_:3}))}}),ee={type:"Dataplane",mesh:null,name:null,networking:{}},te={name:"DataplaneWizardUniversal",components:{CodeBlock:Y,FormFragment:L,StepSkeleton:Z,EnvironmentSwitcher:Q,HelperTooltip:$,EntityScanner:J,KAlert:z,KButton:W,KCard:j},data(){return{productName:G,randString:Math.random().toString(36).substring(2,8),schema:ee,steps:[{label:"General",slug:"general"},{label:"Topology",slug:"topology"},{label:"Networking",slug:"networking"},{label:"Install",slug:"complete"}],tabs:[{hash:"#universal",title:"Universal"}],sidebarContent:[{name:"dataplane"},{name:"example"},{name:"switch"}],startScanner:!1,scanFound:!1,hideScannerSiblings:!1,scanError:!1,isComplete:!1,validate:{meshName:"",univDataplaneType:"dataplane-type-service",univDataplaneServiceName:"",univDataplaneId:"",univDataplaneCustomIdDisabled:!0,univDataplaneNetworkAddress:null,univDataplaneNetworkServicePort:null,univDataplaneNetworkServiceAddress:"127.0.0.1",univDataplaneNetworkDPPort:null,univDataplaneNetworkProtocol:"tcp"},formFields:{protocols:["tcp","http","grpc"]}}},computed:{...H({title:"config/getTagline",version:"config/getVersion",environment:"config/getEnvironment",meshes:"getMeshList"}),getDataplaneSchema(){const n=Object.assign({},this.schema),{meshName:t,univDataplaneType:s,univDataplaneServiceName:h,univDataplaneId:a,univDataplaneNetworkAddress:r,univDataplaneNetworkServicePort:k,univDataplaneNetworkServiceAddress:d,univDataplaneNetworkDPPort:f,univDataplaneNetworkProtocol:m}=this.validate;if(!!t)return n.name=a,n.mesh=t,s==="dataplane-type-service"?(n.networking.gateway&&delete n.networking.gateway,n.networking={address:r,inbound:[{port:f,servicePort:k,serviceAddress:d,tags:{"kuma.io/service":h,"kuma.io/protocol":m}}]}):s==="dataplane-type-gateway"&&(n.networking.inbound&&delete n.networking.inbound,n.networking={address:r,gateway:{tags:{"kuma.io/service":h}}}),n},generateDpTokenCodeOutput(){const{univDataplaneId:n}=this.validate;return`kumactl generate dataplane-token --name=${n} > kuma-token-${n}`},startDpCodeOutput(){const{univDataplaneId:n}=this.validate;return`kuma-dp run \\ --cp-address=${R()} \\ --dataplane=${`"${q(this.getDataplaneSchema)}"`} \\ --dataplane-token-file=kuma-token-${n}`},nextDisabled(){const{meshName:n,univDataplaneServiceName:t,univDataplaneId:s,univDataplaneNetworkAddress:h,univDataplaneNetworkServicePort:a,univDataplaneNetworkDPPort:r,univDataplaneNetworkProtocol:k}=this.validate;return n.length?this.$route.query.step==="1"?!(t&&s):this.$route.query.step==="2"?!(h&&a&&r&&k):!1:!0}},watch:{"validate.univDataplaneId"(n){this.validate.univDataplaneId=g(n)},"validate.univDataplaneServiceName"(n){const t=g(n);this.validate.univDataplaneServiceName=t,this.validate.univDataplaneServiceName===""?this.validate.univDataplaneId="":this.validate.univDataplaneId=g(`${n}-${this.randString}`)},"validate.univDataplaneNetworkServicePort"(n){const t=n.replace(/[a-zA-Z]*$/g,"").trim();this.validate.univDataplaneNetworkServicePort=t},"validate.univDataplaneNetworkDPPort"(n){const t=n.replace(/[a-zA-Z]*$/g,"").trim();this.validate.univDataplaneNetworkDPPort=t}},methods:{hideSiblings(){this.hideScannerSiblings=!0},scanForEntity(){const{meshName:n,univDataplaneId:t}=this.validate;this.scanComplete=!1,this.scanError=!1,!(!n||!t)&&O.getDataplaneFromMesh({mesh:n,name:t}).then(s=>{var h;((h=s==null?void 0:s.name)==null?void 0:h.length)>0?(this.isRunning=!0,this.scanFound=!0):this.scanError=!0}).catch(s=>{this.scanError=!0,console.error(s)}).finally(()=>{this.scanComplete=!0})},compeleteDataPlaneSetup(){this.$store.dispatch("updateSelectedMesh",this.validate.meshName),this.$router.push({name:"data-plane-list-view",params:{mesh:this.validate.meshName}})}}},ae={class:"wizard"},ne={class:"wizard__content"},le=e("h3",null," Create Universal Dataplane ",-1),oe=e("h3",null," To get started, please select on what Mesh you would like to add the Dataplane: ",-1),ie=e("p",null," If you've got an existing Mesh that you would like to associate with your Dataplane, you can select it below, or create a new one using our Mesh Wizard. ",-1),se=e("small",null,"Would you like to see instructions for Kubernetes? Use sidebar to change wizard!",-1),re=e("option",{disabled:"",value:""}," Select an existing Mesh\u2026 ",-1),de=["value"],ue=e("label",{class:"k-input-label mr-4"}," or ",-1),pe=e("h3",null," Setup Dataplane Mode ",-1),ce=e("p",null," You can create a data plane for a service or a data plane for a Gateway. ",-1),ve={for:"service-dataplane"},he=e("span",null," Service Dataplane ",-1),me={for:"gateway-dataplane"},we=e("span",null," Gateway Dataplane ",-1),De=["disabled"],ke=e("h3",null," Networking ",-1),_e=e("p",null," It's time to now configure the networking settings so that the Dataplane can connect to the local service, and other data planes can consume your service. ",-1),fe=e("p",null,[e("strong",null,"All fields below are required to proceed.")],-1),ge=["value","selected"],ye={key:0},Se={key:0},be=e("h3",null," Auto-Inject DPP ",-1),Ne=e("h4",null,"Generate Dataplane Token",-1),Pe=e("h4",null,"Start Dataplane Process",-1),Ie=e("h3",null,"Searching\u2026",-1),Ce=e("p",null,"We are looking for your dataplane.",-1),Te=e("h3",null,"Done!",-1),Ae={key:0},xe=e("p",null," Proceed to the next step where we will show you your new Dataplane. ",-1),Ee=e("h3",null,"Dataplane not found",-1),Me=e("p",null,"We were unable to find your dataplane.",-1),Ue=e("p",null," Please return to the first step and make sure to select an existing Mesh, or create a new one. ",-1),Fe=e("h3",null,"Dataplane",-1),Ve=e("h3",null,"Example",-1),Ke=e("p",null," Below is an example of a Dataplane resource output: ",-1),Be=e("code",{class:"block"},[e("pre",null,`type: Dataplane diff --git a/app/kuma-ui/pkg/resources/data/assets/DataplanesOverview.eb0fe0ff.js b/app/kuma-ui/pkg/resources/data/assets/DataplanesOverview.02c2b50b.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/DataplanesOverview.eb0fe0ff.js rename to app/kuma-ui/pkg/resources/data/assets/DataplanesOverview.02c2b50b.js index 313544d96b24..1a41fc567a9d 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataplanesOverview.eb0fe0ff.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataplanesOverview.02c2b50b.js @@ -1 +1 @@ -import{D,L as O,ck as y,k as u,co as x,cS as w,o as h,c as k,w as i,a as r,j as b,l as n,t as _,A as L,i as s}from"./index.09f51eb8.js";import{L as P}from"./LoadingBox.e4d58f37.js";import{O as N}from"./OnboardingNavigation.06ee2172.js";import{O as C,a as A}from"./OnboardingPage.2f3fde76.js";const B={name:"DataplanesOverview",components:{OnboardingNavigation:N,OnboardingHeading:C,OnboardingPage:A,LoadingBox:P,KTable:O},metaInfo(){return{title:this.title}},data(){return{productName:y,tableHeaders:[{label:"Mesh",key:"mesh"},{label:"Name",key:"name"},{label:"Status",key:"status"}],tableData:{total:0,data:[]},timeout:null}},computed:{title(){return this.tableData.data.length?"Success":"Waiting for DPPs"},description(){return this.tableData.data.length?"The following data plane proxies (DPPs) are connected to the control plane:":null}},created(){this.getAllDataplanes()},beforeUnmount(){clearTimeout(this.timeout)},methods:{async getAllDataplanes(){let c=!1;const d=[];try{const g=(await u.getAllDataplanes({size:10})).items;for(let t=0;tx(m.dataplaneInsight));l===w&&(c=!0),d.push({status:l,name:a,mesh:o})}}catch(p){console.error(p)}this.tableData.data=d,this.tableData.total=this.tableData.data.length,c&&(this.timeout=setTimeout(()=>{this.getAllDataplanes()},1e3))}}},T={key:0,class:"justify-center flex my-4"},F={key:1},H={class:"flex justify-center mt-10 mb-16 pb-16"},I={class:"w-full sm:w-3/5 p-4"},S={class:"font-bold mb-4"};function j(c,d,p,g,t,a){const o=s("OnboardingHeading"),l=s("LoadingBox"),m=s("KTable"),f=s("OnboardingNavigation"),v=s("OnboardingPage");return h(),k(v,null,{header:i(()=>[r(o,{title:a.title,description:a.description},null,8,["title","description"])]),content:i(()=>[t.tableData.data.length?(h(),b("div",F,[n("div",H,[n("div",I,[n("p",S," Found "+_(t.tableData.data.length)+" DPPs: ",1),r(m,{class:"onboarding-dataplane-table",fetcher:()=>t.tableData,headers:t.tableHeaders,"disable-pagination":"","is-small":""},{status:i(({rowValue:e})=>[n("div",{class:L(["entity-status",{"is-offline":e.toLowerCase()==="offline"||e===!1,"is-online":e.toLowerCase()==="online","is-degraded":e.toLowerCase()==="partially degraded","is-not-available":e.toLowerCase()==="not available"}])},[n("span",null,_(e),1)],2)]),_:1},8,["fetcher","headers"])])])])):(h(),b("div",T,[r(l)]))]),navigation:i(()=>[r(f,{"next-step":"onboarding-completed","previous-step":"onboarding-add-services-code","should-allow-next":t.tableData.data.length>0},null,8,["should-allow-next"])]),_:1})}const R=D(B,[["render",j]]);export{R as default}; +import{D,L as O,ck as y,k as u,co as x,cS as w,o as h,c as k,w as i,a as r,j as b,l as n,t as _,A as L,i as s}from"./index.47c8bf16.js";import{L as P}from"./LoadingBox.3ecf3ffd.js";import{O as N}from"./OnboardingNavigation.2f2b8505.js";import{O as C,a as A}from"./OnboardingPage.545eed79.js";const B={name:"DataplanesOverview",components:{OnboardingNavigation:N,OnboardingHeading:C,OnboardingPage:A,LoadingBox:P,KTable:O},metaInfo(){return{title:this.title}},data(){return{productName:y,tableHeaders:[{label:"Mesh",key:"mesh"},{label:"Name",key:"name"},{label:"Status",key:"status"}],tableData:{total:0,data:[]},timeout:null}},computed:{title(){return this.tableData.data.length?"Success":"Waiting for DPPs"},description(){return this.tableData.data.length?"The following data plane proxies (DPPs) are connected to the control plane:":null}},created(){this.getAllDataplanes()},beforeUnmount(){clearTimeout(this.timeout)},methods:{async getAllDataplanes(){let c=!1;const d=[];try{const g=(await u.getAllDataplanes({size:10})).items;for(let t=0;tx(m.dataplaneInsight));l===w&&(c=!0),d.push({status:l,name:a,mesh:o})}}catch(p){console.error(p)}this.tableData.data=d,this.tableData.total=this.tableData.data.length,c&&(this.timeout=setTimeout(()=>{this.getAllDataplanes()},1e3))}}},T={key:0,class:"justify-center flex my-4"},F={key:1},H={class:"flex justify-center mt-10 mb-16 pb-16"},I={class:"w-full sm:w-3/5 p-4"},S={class:"font-bold mb-4"};function j(c,d,p,g,t,a){const o=s("OnboardingHeading"),l=s("LoadingBox"),m=s("KTable"),f=s("OnboardingNavigation"),v=s("OnboardingPage");return h(),k(v,null,{header:i(()=>[r(o,{title:a.title,description:a.description},null,8,["title","description"])]),content:i(()=>[t.tableData.data.length?(h(),b("div",F,[n("div",H,[n("div",I,[n("p",S," Found "+_(t.tableData.data.length)+" DPPs: ",1),r(m,{class:"onboarding-dataplane-table",fetcher:()=>t.tableData,headers:t.tableHeaders,"disable-pagination":"","is-small":""},{status:i(({rowValue:e})=>[n("div",{class:L(["entity-status",{"is-offline":e.toLowerCase()==="offline"||e===!1,"is-online":e.toLowerCase()==="online","is-degraded":e.toLowerCase()==="partially degraded","is-not-available":e.toLowerCase()==="not available"}])},[n("span",null,_(e),1)],2)]),_:1},8,["fetcher","headers"])])])])):(h(),b("div",T,[r(l)]))]),navigation:i(()=>[r(f,{"next-step":"onboarding-completed","previous-step":"onboarding-add-services-code","should-allow-next":t.tableData.data.length>0},null,8,["should-allow-next"])]),_:1})}const R=D(B,[["render",j]]);export{R as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DeploymentTypes.68648a96.js b/app/kuma-ui/pkg/resources/data/assets/DeploymentTypes.4ba2eee0.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/DeploymentTypes.68648a96.js rename to app/kuma-ui/pkg/resources/data/assets/DeploymentTypes.4ba2eee0.js index b34aba079b94..7d110212b426 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DeploymentTypes.68648a96.js +++ b/app/kuma-ui/pkg/resources/data/assets/DeploymentTypes.4ba2eee0.js @@ -1 +1 @@ -import{D as H,cK as M,ck as V,i,o as f,j as _,a as r,w as e,b as l,t as Z,cO as d,l as C,cQ as x,cn as B,c as u,cy as y}from"./index.09f51eb8.js";import{O as w}from"./OnboardingNavigation.06ee2172.js";import{O as S,a as F}from"./OnboardingPage.2f3fde76.js";const v={name:"MultizoneGraph",components:{KPop:M},data(){return{productName:V}}},G={"data-testid":"multizone-graph",width:"906",height:"456",viewBox:"0 0 906 456",fill:"none",xmlns:"http://www.w3.org/2000/svg"},A=d('',30),k=C("g",{class:"cursor-help animate-pulse"},[C("g",{filter:"url(#filter7_d_201_76)"},[C("circle",{cx:"579",cy:"41",r:"27",fill:"url(#paint0_linear_201_76)"}),C("circle",{cx:"579",cy:"41",r:"25",stroke:"white","stroke-width":"4"})]),C("path",{d:"M576.761 45.5791C576.761 44.0296 576.949 42.7956 577.325 41.877C577.701 40.9583 578.388 40.0563 579.384 39.1709C580.391 38.2744 581.061 37.5495 581.393 36.9961C581.725 36.4316 581.891 35.8395 581.891 35.2197C581.891 33.3493 581.027 32.4141 579.301 32.4141C578.482 32.4141 577.823 32.6686 577.325 33.1777C576.838 33.6758 576.584 34.3675 576.562 35.2529H571.747C571.769 33.139 572.45 31.4844 573.789 30.2891C575.139 29.0938 576.977 28.4961 579.301 28.4961C581.647 28.4961 583.468 29.0661 584.763 30.2061C586.058 31.335 586.705 32.9342 586.705 35.0039C586.705 35.9447 586.495 36.8356 586.074 37.6768C585.654 38.5068 584.918 39.431 583.866 40.4492L582.521 41.7275C581.68 42.5355 581.199 43.4818 581.077 44.5664L581.011 45.5791H576.761ZM576.279 50.6758C576.279 49.9342 576.528 49.3255 577.026 48.8496C577.535 48.3626 578.183 48.1191 578.969 48.1191C579.755 48.1191 580.396 48.3626 580.895 48.8496C581.404 49.3255 581.658 49.9342 581.658 50.6758C581.658 51.4062 581.409 52.0094 580.911 52.4854C580.424 52.9613 579.777 53.1992 578.969 53.1992C578.161 53.1992 577.508 52.9613 577.01 52.4854C576.523 52.0094 576.279 51.4062 576.279 50.6758Z",fill:"#4A4622"})],-1),O=C("g",{class:"cursor-help animate-pulse"},[C("g",{filter:"url(#filter8_d_201_76)"},[C("circle",{cx:"816",cy:"175",r:"27",fill:"url(#paint1_linear_201_76)"}),C("circle",{cx:"816",cy:"175",r:"25",stroke:"white","stroke-width":"4"})]),C("path",{d:"M813.761 179.579C813.761 178.03 813.949 176.796 814.325 175.877C814.701 174.958 815.388 174.056 816.384 173.171C817.391 172.274 818.061 171.549 818.393 170.996C818.725 170.432 818.891 169.84 818.891 169.22C818.891 167.349 818.027 166.414 816.301 166.414C815.482 166.414 814.823 166.669 814.325 167.178C813.838 167.676 813.584 168.368 813.562 169.253H808.747C808.769 167.139 809.45 165.484 810.789 164.289C812.139 163.094 813.977 162.496 816.301 162.496C818.647 162.496 820.468 163.066 821.763 164.206C823.058 165.335 823.705 166.934 823.705 169.004C823.705 169.945 823.495 170.836 823.074 171.677C822.654 172.507 821.918 173.431 820.866 174.449L819.521 175.728C818.68 176.535 818.199 177.482 818.077 178.566L818.011 179.579H813.761ZM813.279 184.676C813.279 183.934 813.528 183.326 814.026 182.85C814.535 182.363 815.183 182.119 815.969 182.119C816.755 182.119 817.396 182.363 817.895 182.85C818.404 183.326 818.658 183.934 818.658 184.676C818.658 185.406 818.409 186.009 817.911 186.485C817.424 186.961 816.777 187.199 815.969 187.199C815.161 187.199 814.508 186.961 814.01 186.485C813.523 186.009 813.279 185.406 813.279 184.676Z",fill:"#4A4622"})],-1),U=C("g",{class:"cursor-help animate-pulse"},[C("g",{filter:"url(#filter9_d_201_76)"},[C("circle",{cx:"696",cy:"243",r:"27",fill:"url(#paint2_linear_201_76)"}),C("circle",{cx:"696",cy:"243",r:"25",stroke:"white","stroke-width":"4"})]),C("path",{d:"M693.761 247.579C693.761 246.03 693.949 244.796 694.325 243.877C694.701 242.958 695.388 242.056 696.384 241.171C697.391 240.274 698.061 239.549 698.393 238.996C698.725 238.432 698.891 237.84 698.891 237.22C698.891 235.349 698.027 234.414 696.301 234.414C695.482 234.414 694.823 234.669 694.325 235.178C693.838 235.676 693.584 236.368 693.562 237.253H688.747C688.769 235.139 689.45 233.484 690.789 232.289C692.139 231.094 693.977 230.496 696.301 230.496C698.647 230.496 700.468 231.066 701.763 232.206C703.058 233.335 703.705 234.934 703.705 237.004C703.705 237.945 703.495 238.836 703.074 239.677C702.654 240.507 701.918 241.431 700.866 242.449L699.521 243.728C698.68 244.535 698.199 245.482 698.077 246.566L698.011 247.579H693.761ZM693.279 252.676C693.279 251.934 693.528 251.326 694.026 250.85C694.535 250.363 695.183 250.119 695.969 250.119C696.755 250.119 697.396 250.363 697.895 250.85C698.404 251.326 698.658 251.934 698.658 252.676C698.658 253.406 698.409 254.009 697.911 254.485C697.424 254.961 696.777 255.199 695.969 255.199C695.161 255.199 694.508 254.961 694.01 254.485C693.523 254.009 693.279 253.406 693.279 252.676Z",fill:"#4A4622"})],-1),b=C("g",{class:"cursor-help animate-pulse"},[C("g",{filter:"url(#filter10_d_201_76)"},[C("circle",{cx:"721",cy:"407",r:"27",fill:"url(#paint3_linear_201_76)"}),C("circle",{cx:"721",cy:"407",r:"25",stroke:"white","stroke-width":"4"})]),C("path",{d:"M718.761 411.579C718.761 410.03 718.949 408.796 719.325 407.877C719.701 406.958 720.388 406.056 721.384 405.171C722.391 404.274 723.061 403.549 723.393 402.996C723.725 402.432 723.891 401.84 723.891 401.22C723.891 399.349 723.027 398.414 721.301 398.414C720.482 398.414 719.823 398.669 719.325 399.178C718.838 399.676 718.584 400.368 718.562 401.253H713.747C713.769 399.139 714.45 397.484 715.789 396.289C717.139 395.094 718.977 394.496 721.301 394.496C723.647 394.496 725.468 395.066 726.763 396.206C728.058 397.335 728.705 398.934 728.705 401.004C728.705 401.945 728.495 402.836 728.074 403.677C727.654 404.507 726.918 405.431 725.866 406.449L724.521 407.728C723.68 408.535 723.199 409.482 723.077 410.566L723.011 411.579H718.761ZM718.279 416.676C718.279 415.934 718.528 415.326 719.026 414.85C719.535 414.363 720.183 414.119 720.969 414.119C721.755 414.119 722.396 414.363 722.895 414.85C723.404 415.326 723.658 415.934 723.658 416.676C723.658 417.406 723.409 418.009 722.911 418.485C722.424 418.961 721.777 419.199 720.969 419.199C720.161 419.199 719.508 418.961 719.01 418.485C718.523 418.009 718.279 417.406 718.279 416.676Z",fill:"#4A4622"})],-1),I=d('',2);function D(p,a,L,h,t,n){const o=i("KPop");return f(),_("svg",G,[A,r(o,{trigger:"hover",title:t.productName,"is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:e(()=>[l(" The global control plane provides the config for the entire mesh. You create and update mesh configurations on the global control plane, and the zone control planes fetch the config from the global control plane. ")]),default:e(()=>[k]),_:1},8,["title"]),r(o,{trigger:"hover",title:"Zone CP","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:e(()=>[l(" Each zone in your mesh (Kubernetes cluster, VPC, availability zone, region) includes a read-only control plane that syncs with the global control plane to get the configurations the zone needs. ")]),default:e(()=>[O]),_:1}),r(o,{trigger:"hover",title:"Data Plane Proxy (DPP)","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:e(()=>[l(Z(t.productName)+" attaches a data plane proxy sidecar to each service in your mesh. This sidecar handles the mesh configuration for the service. ",1)]),default:e(()=>[U]),_:1}),r(o,{trigger:"hover",title:"Ingress","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:e(()=>[l(" An ingress data plane proxy handles traffic to the zone from outside. ")]),default:e(()=>[b]),_:1}),I])}const E=H(v,[["render",D]]),P={name:"StandaloneGraph",components:{KPop:M},data(){return{productName:V}}},R={"data-testid":"standalone-graph",width:"828",height:"351",viewBox:"0 0 828 351",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N=d('',16),z=C("g",{class:"cursor-help animate-pulse"},[C("g",{filter:"url(#filter3_d_159_853)"},[C("circle",{cx:"542",cy:"56",r:"27",fill:"url(#paint0_linear_159_853)"}),C("circle",{cx:"542",cy:"56",r:"25",stroke:"white","stroke-width":"4"})]),C("path",{d:"M539.761 60.5791C539.761 59.0296 539.949 57.7956 540.325 56.877C540.701 55.9583 541.388 55.0563 542.384 54.1709C543.391 53.2744 544.061 52.5495 544.393 51.9961C544.725 51.4316 544.891 50.8395 544.891 50.2197C544.891 48.3493 544.027 47.4141 542.301 47.4141C541.482 47.4141 540.823 47.6686 540.325 48.1777C539.838 48.6758 539.584 49.3675 539.562 50.2529H534.747C534.769 48.139 535.45 46.4844 536.789 45.2891C538.139 44.0938 539.977 43.4961 542.301 43.4961C544.647 43.4961 546.468 44.0661 547.763 45.2061C549.058 46.335 549.705 47.9342 549.705 50.0039C549.705 50.9447 549.495 51.8356 549.074 52.6768C548.654 53.5068 547.918 54.431 546.866 55.4492L545.521 56.7275C544.68 57.5355 544.199 58.4818 544.077 59.5664L544.011 60.5791H539.761ZM539.279 65.6758C539.279 64.9342 539.528 64.3255 540.026 63.8496C540.535 63.3626 541.183 63.1191 541.969 63.1191C542.755 63.1191 543.396 63.3626 543.895 63.8496C544.404 64.3255 544.658 64.9342 544.658 65.6758C544.658 66.4062 544.409 67.0094 543.911 67.4854C543.424 67.9613 542.777 68.1992 541.969 68.1992C541.161 68.1992 540.508 67.9613 540.01 67.4854C539.523 67.0094 539.279 66.4062 539.279 65.6758Z",fill:"#4A4622"})],-1),$=C("g",{class:"cursor-help animate-pulse"},[C("g",{filter:"url(#filter4_d_159_853)"},[C("circle",{cx:"636",cy:"230",r:"27",fill:"url(#paint1_linear_159_853)"}),C("circle",{cx:"636",cy:"230",r:"25",stroke:"white","stroke-width":"4"})]),C("path",{d:"M633.761 234.579C633.761 233.03 633.949 231.796 634.325 230.877C634.701 229.958 635.388 229.056 636.384 228.171C637.391 227.274 638.061 226.549 638.393 225.996C638.725 225.432 638.891 224.839 638.891 224.22C638.891 222.349 638.027 221.414 636.301 221.414C635.482 221.414 634.823 221.669 634.325 222.178C633.838 222.676 633.584 223.367 633.562 224.253H628.747C628.769 222.139 629.45 220.484 630.789 219.289C632.139 218.094 633.977 217.496 636.301 217.496C638.647 217.496 640.468 218.066 641.763 219.206C643.058 220.335 643.705 221.934 643.705 224.004C643.705 224.945 643.495 225.836 643.074 226.677C642.654 227.507 641.918 228.431 640.866 229.449L639.521 230.727C638.68 231.535 638.199 232.482 638.077 233.566L638.011 234.579H633.761ZM633.279 239.676C633.279 238.934 633.528 238.325 634.026 237.85C634.535 237.363 635.183 237.119 635.969 237.119C636.755 237.119 637.396 237.363 637.895 237.85C638.404 238.325 638.658 238.934 638.658 239.676C638.658 240.406 638.409 241.009 637.911 241.485C637.424 241.961 636.777 242.199 635.969 242.199C635.161 242.199 634.508 241.961 634.01 241.485C633.523 241.009 633.279 240.406 633.279 239.676Z",fill:"#4A4622"})],-1),K=d('',3);function T(p,a,L,h,t,n){const o=i("KPop");return f(),_("svg",R,[N,r(o,{trigger:"hover","is-svg":!0,tag:"g",title:t.productName,placement:"rightEnd","popover-timeout":5},{content:e(()=>[l(" The control plane provides the config for all services in the mesh. ")]),default:e(()=>[z]),_:1},8,["title"]),r(o,{trigger:"hover",title:"Data Plane Proxy (DPP)","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:e(()=>[l(Z(t.productName)+" attaches a data plane proxy sidecar to each service in your mesh. This sidecar handles the mesh configuration for the service. ",1)]),default:e(()=>[$]),_:1}),K])}const j=H(P,[["render",T]]);const Q={name:"DeploymentTypes",components:{MultizoneGraph:E,StandaloneGraph:j,OnboardingNavigation:w,OnboardingHeading:S,OnboardingPage:F,KRadio:x},data(){return{mode:"standalone",productName:V}},computed:{...B({multicluster:"config/getMulticlusterStatus"}),currentGraph(){return this.mode==="standalone"?"StandaloneGraph":"MultizoneGraph"}},mounted(){this.mode=this.multicluster?"multi-zone":"standalone"}},Y={class:"h-full w-full flex items-center justify-center mb-10"},q={class:"radio flex text-base justify-between w-full sm:w-3/4 md:w-3/5 lg:w-1/2 absolute bottom-0 right-0 left-0 mb-10 mx-auto deployment-type-radio-buttons"};function J(p,a,L,h,t,n){const o=i("OnboardingHeading"),c=i("KRadio"),g=i("OnboardingNavigation"),m=i("OnboardingPage");return f(),u(m,{"with-image":""},{header:e(()=>[r(o,{title:"Learn about deployments",description:`${t.productName} can be deployed in standalone or multi-zone mode.`},null,8,["description"])]),content:e(()=>[C("div",Y,[(f(),u(y(n.currentGraph)))]),C("div",q,[r(c,{modelValue:t.mode,"onUpdate:modelValue":a[0]||(a[0]=s=>t.mode=s),name:"mode","selected-value":"standalone","data-testid":"onboarding-standalone-radio-button"},{default:e(()=>[l(" Standalone deployment ")]),_:1},8,["modelValue"]),r(c,{modelValue:t.mode,"onUpdate:modelValue":a[1]||(a[1]=s=>t.mode=s),name:"mode","selected-value":"multi-zone","data-testid":"onboarding-multi-zone-radio-button"},{default:e(()=>[l(" Multi-zone deployment ")]),_:1},8,["modelValue"])])]),navigation:e(()=>[r(g,{"next-step":"onboarding-configuration-types","previous-step":"onboarding-welcome"})]),_:1})}const e2=H(Q,[["render",J],["__scopeId","data-v-8f117e74"]]);export{e2 as default}; +import{D as H,cK as M,ck as V,i,o as f,j as _,a as r,w as e,b as l,t as Z,cO as d,l as C,cQ as x,cn as B,c as u,cy as y}from"./index.47c8bf16.js";import{O as w}from"./OnboardingNavigation.2f2b8505.js";import{O as S,a as F}from"./OnboardingPage.545eed79.js";const v={name:"MultizoneGraph",components:{KPop:M},data(){return{productName:V}}},G={"data-testid":"multizone-graph",width:"906",height:"456",viewBox:"0 0 906 456",fill:"none",xmlns:"http://www.w3.org/2000/svg"},A=d('',30),k=C("g",{class:"cursor-help animate-pulse"},[C("g",{filter:"url(#filter7_d_201_76)"},[C("circle",{cx:"579",cy:"41",r:"27",fill:"url(#paint0_linear_201_76)"}),C("circle",{cx:"579",cy:"41",r:"25",stroke:"white","stroke-width":"4"})]),C("path",{d:"M576.761 45.5791C576.761 44.0296 576.949 42.7956 577.325 41.877C577.701 40.9583 578.388 40.0563 579.384 39.1709C580.391 38.2744 581.061 37.5495 581.393 36.9961C581.725 36.4316 581.891 35.8395 581.891 35.2197C581.891 33.3493 581.027 32.4141 579.301 32.4141C578.482 32.4141 577.823 32.6686 577.325 33.1777C576.838 33.6758 576.584 34.3675 576.562 35.2529H571.747C571.769 33.139 572.45 31.4844 573.789 30.2891C575.139 29.0938 576.977 28.4961 579.301 28.4961C581.647 28.4961 583.468 29.0661 584.763 30.2061C586.058 31.335 586.705 32.9342 586.705 35.0039C586.705 35.9447 586.495 36.8356 586.074 37.6768C585.654 38.5068 584.918 39.431 583.866 40.4492L582.521 41.7275C581.68 42.5355 581.199 43.4818 581.077 44.5664L581.011 45.5791H576.761ZM576.279 50.6758C576.279 49.9342 576.528 49.3255 577.026 48.8496C577.535 48.3626 578.183 48.1191 578.969 48.1191C579.755 48.1191 580.396 48.3626 580.895 48.8496C581.404 49.3255 581.658 49.9342 581.658 50.6758C581.658 51.4062 581.409 52.0094 580.911 52.4854C580.424 52.9613 579.777 53.1992 578.969 53.1992C578.161 53.1992 577.508 52.9613 577.01 52.4854C576.523 52.0094 576.279 51.4062 576.279 50.6758Z",fill:"#4A4622"})],-1),O=C("g",{class:"cursor-help animate-pulse"},[C("g",{filter:"url(#filter8_d_201_76)"},[C("circle",{cx:"816",cy:"175",r:"27",fill:"url(#paint1_linear_201_76)"}),C("circle",{cx:"816",cy:"175",r:"25",stroke:"white","stroke-width":"4"})]),C("path",{d:"M813.761 179.579C813.761 178.03 813.949 176.796 814.325 175.877C814.701 174.958 815.388 174.056 816.384 173.171C817.391 172.274 818.061 171.549 818.393 170.996C818.725 170.432 818.891 169.84 818.891 169.22C818.891 167.349 818.027 166.414 816.301 166.414C815.482 166.414 814.823 166.669 814.325 167.178C813.838 167.676 813.584 168.368 813.562 169.253H808.747C808.769 167.139 809.45 165.484 810.789 164.289C812.139 163.094 813.977 162.496 816.301 162.496C818.647 162.496 820.468 163.066 821.763 164.206C823.058 165.335 823.705 166.934 823.705 169.004C823.705 169.945 823.495 170.836 823.074 171.677C822.654 172.507 821.918 173.431 820.866 174.449L819.521 175.728C818.68 176.535 818.199 177.482 818.077 178.566L818.011 179.579H813.761ZM813.279 184.676C813.279 183.934 813.528 183.326 814.026 182.85C814.535 182.363 815.183 182.119 815.969 182.119C816.755 182.119 817.396 182.363 817.895 182.85C818.404 183.326 818.658 183.934 818.658 184.676C818.658 185.406 818.409 186.009 817.911 186.485C817.424 186.961 816.777 187.199 815.969 187.199C815.161 187.199 814.508 186.961 814.01 186.485C813.523 186.009 813.279 185.406 813.279 184.676Z",fill:"#4A4622"})],-1),U=C("g",{class:"cursor-help animate-pulse"},[C("g",{filter:"url(#filter9_d_201_76)"},[C("circle",{cx:"696",cy:"243",r:"27",fill:"url(#paint2_linear_201_76)"}),C("circle",{cx:"696",cy:"243",r:"25",stroke:"white","stroke-width":"4"})]),C("path",{d:"M693.761 247.579C693.761 246.03 693.949 244.796 694.325 243.877C694.701 242.958 695.388 242.056 696.384 241.171C697.391 240.274 698.061 239.549 698.393 238.996C698.725 238.432 698.891 237.84 698.891 237.22C698.891 235.349 698.027 234.414 696.301 234.414C695.482 234.414 694.823 234.669 694.325 235.178C693.838 235.676 693.584 236.368 693.562 237.253H688.747C688.769 235.139 689.45 233.484 690.789 232.289C692.139 231.094 693.977 230.496 696.301 230.496C698.647 230.496 700.468 231.066 701.763 232.206C703.058 233.335 703.705 234.934 703.705 237.004C703.705 237.945 703.495 238.836 703.074 239.677C702.654 240.507 701.918 241.431 700.866 242.449L699.521 243.728C698.68 244.535 698.199 245.482 698.077 246.566L698.011 247.579H693.761ZM693.279 252.676C693.279 251.934 693.528 251.326 694.026 250.85C694.535 250.363 695.183 250.119 695.969 250.119C696.755 250.119 697.396 250.363 697.895 250.85C698.404 251.326 698.658 251.934 698.658 252.676C698.658 253.406 698.409 254.009 697.911 254.485C697.424 254.961 696.777 255.199 695.969 255.199C695.161 255.199 694.508 254.961 694.01 254.485C693.523 254.009 693.279 253.406 693.279 252.676Z",fill:"#4A4622"})],-1),b=C("g",{class:"cursor-help animate-pulse"},[C("g",{filter:"url(#filter10_d_201_76)"},[C("circle",{cx:"721",cy:"407",r:"27",fill:"url(#paint3_linear_201_76)"}),C("circle",{cx:"721",cy:"407",r:"25",stroke:"white","stroke-width":"4"})]),C("path",{d:"M718.761 411.579C718.761 410.03 718.949 408.796 719.325 407.877C719.701 406.958 720.388 406.056 721.384 405.171C722.391 404.274 723.061 403.549 723.393 402.996C723.725 402.432 723.891 401.84 723.891 401.22C723.891 399.349 723.027 398.414 721.301 398.414C720.482 398.414 719.823 398.669 719.325 399.178C718.838 399.676 718.584 400.368 718.562 401.253H713.747C713.769 399.139 714.45 397.484 715.789 396.289C717.139 395.094 718.977 394.496 721.301 394.496C723.647 394.496 725.468 395.066 726.763 396.206C728.058 397.335 728.705 398.934 728.705 401.004C728.705 401.945 728.495 402.836 728.074 403.677C727.654 404.507 726.918 405.431 725.866 406.449L724.521 407.728C723.68 408.535 723.199 409.482 723.077 410.566L723.011 411.579H718.761ZM718.279 416.676C718.279 415.934 718.528 415.326 719.026 414.85C719.535 414.363 720.183 414.119 720.969 414.119C721.755 414.119 722.396 414.363 722.895 414.85C723.404 415.326 723.658 415.934 723.658 416.676C723.658 417.406 723.409 418.009 722.911 418.485C722.424 418.961 721.777 419.199 720.969 419.199C720.161 419.199 719.508 418.961 719.01 418.485C718.523 418.009 718.279 417.406 718.279 416.676Z",fill:"#4A4622"})],-1),I=d('',2);function D(p,a,L,h,t,n){const o=i("KPop");return f(),_("svg",G,[A,r(o,{trigger:"hover",title:t.productName,"is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:e(()=>[l(" The global control plane provides the config for the entire mesh. You create and update mesh configurations on the global control plane, and the zone control planes fetch the config from the global control plane. ")]),default:e(()=>[k]),_:1},8,["title"]),r(o,{trigger:"hover",title:"Zone CP","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:e(()=>[l(" Each zone in your mesh (Kubernetes cluster, VPC, availability zone, region) includes a read-only control plane that syncs with the global control plane to get the configurations the zone needs. ")]),default:e(()=>[O]),_:1}),r(o,{trigger:"hover",title:"Data Plane Proxy (DPP)","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:e(()=>[l(Z(t.productName)+" attaches a data plane proxy sidecar to each service in your mesh. This sidecar handles the mesh configuration for the service. ",1)]),default:e(()=>[U]),_:1}),r(o,{trigger:"hover",title:"Ingress","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:e(()=>[l(" An ingress data plane proxy handles traffic to the zone from outside. ")]),default:e(()=>[b]),_:1}),I])}const E=H(v,[["render",D]]),P={name:"StandaloneGraph",components:{KPop:M},data(){return{productName:V}}},R={"data-testid":"standalone-graph",width:"828",height:"351",viewBox:"0 0 828 351",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N=d('',16),z=C("g",{class:"cursor-help animate-pulse"},[C("g",{filter:"url(#filter3_d_159_853)"},[C("circle",{cx:"542",cy:"56",r:"27",fill:"url(#paint0_linear_159_853)"}),C("circle",{cx:"542",cy:"56",r:"25",stroke:"white","stroke-width":"4"})]),C("path",{d:"M539.761 60.5791C539.761 59.0296 539.949 57.7956 540.325 56.877C540.701 55.9583 541.388 55.0563 542.384 54.1709C543.391 53.2744 544.061 52.5495 544.393 51.9961C544.725 51.4316 544.891 50.8395 544.891 50.2197C544.891 48.3493 544.027 47.4141 542.301 47.4141C541.482 47.4141 540.823 47.6686 540.325 48.1777C539.838 48.6758 539.584 49.3675 539.562 50.2529H534.747C534.769 48.139 535.45 46.4844 536.789 45.2891C538.139 44.0938 539.977 43.4961 542.301 43.4961C544.647 43.4961 546.468 44.0661 547.763 45.2061C549.058 46.335 549.705 47.9342 549.705 50.0039C549.705 50.9447 549.495 51.8356 549.074 52.6768C548.654 53.5068 547.918 54.431 546.866 55.4492L545.521 56.7275C544.68 57.5355 544.199 58.4818 544.077 59.5664L544.011 60.5791H539.761ZM539.279 65.6758C539.279 64.9342 539.528 64.3255 540.026 63.8496C540.535 63.3626 541.183 63.1191 541.969 63.1191C542.755 63.1191 543.396 63.3626 543.895 63.8496C544.404 64.3255 544.658 64.9342 544.658 65.6758C544.658 66.4062 544.409 67.0094 543.911 67.4854C543.424 67.9613 542.777 68.1992 541.969 68.1992C541.161 68.1992 540.508 67.9613 540.01 67.4854C539.523 67.0094 539.279 66.4062 539.279 65.6758Z",fill:"#4A4622"})],-1),$=C("g",{class:"cursor-help animate-pulse"},[C("g",{filter:"url(#filter4_d_159_853)"},[C("circle",{cx:"636",cy:"230",r:"27",fill:"url(#paint1_linear_159_853)"}),C("circle",{cx:"636",cy:"230",r:"25",stroke:"white","stroke-width":"4"})]),C("path",{d:"M633.761 234.579C633.761 233.03 633.949 231.796 634.325 230.877C634.701 229.958 635.388 229.056 636.384 228.171C637.391 227.274 638.061 226.549 638.393 225.996C638.725 225.432 638.891 224.839 638.891 224.22C638.891 222.349 638.027 221.414 636.301 221.414C635.482 221.414 634.823 221.669 634.325 222.178C633.838 222.676 633.584 223.367 633.562 224.253H628.747C628.769 222.139 629.45 220.484 630.789 219.289C632.139 218.094 633.977 217.496 636.301 217.496C638.647 217.496 640.468 218.066 641.763 219.206C643.058 220.335 643.705 221.934 643.705 224.004C643.705 224.945 643.495 225.836 643.074 226.677C642.654 227.507 641.918 228.431 640.866 229.449L639.521 230.727C638.68 231.535 638.199 232.482 638.077 233.566L638.011 234.579H633.761ZM633.279 239.676C633.279 238.934 633.528 238.325 634.026 237.85C634.535 237.363 635.183 237.119 635.969 237.119C636.755 237.119 637.396 237.363 637.895 237.85C638.404 238.325 638.658 238.934 638.658 239.676C638.658 240.406 638.409 241.009 637.911 241.485C637.424 241.961 636.777 242.199 635.969 242.199C635.161 242.199 634.508 241.961 634.01 241.485C633.523 241.009 633.279 240.406 633.279 239.676Z",fill:"#4A4622"})],-1),K=d('',3);function T(p,a,L,h,t,n){const o=i("KPop");return f(),_("svg",R,[N,r(o,{trigger:"hover","is-svg":!0,tag:"g",title:t.productName,placement:"rightEnd","popover-timeout":5},{content:e(()=>[l(" The control plane provides the config for all services in the mesh. ")]),default:e(()=>[z]),_:1},8,["title"]),r(o,{trigger:"hover",title:"Data Plane Proxy (DPP)","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:e(()=>[l(Z(t.productName)+" attaches a data plane proxy sidecar to each service in your mesh. This sidecar handles the mesh configuration for the service. ",1)]),default:e(()=>[$]),_:1}),K])}const j=H(P,[["render",T]]);const Q={name:"DeploymentTypes",components:{MultizoneGraph:E,StandaloneGraph:j,OnboardingNavigation:w,OnboardingHeading:S,OnboardingPage:F,KRadio:x},data(){return{mode:"standalone",productName:V}},computed:{...B({multicluster:"config/getMulticlusterStatus"}),currentGraph(){return this.mode==="standalone"?"StandaloneGraph":"MultizoneGraph"}},mounted(){this.mode=this.multicluster?"multi-zone":"standalone"}},Y={class:"h-full w-full flex items-center justify-center mb-10"},q={class:"radio flex text-base justify-between w-full sm:w-3/4 md:w-3/5 lg:w-1/2 absolute bottom-0 right-0 left-0 mb-10 mx-auto deployment-type-radio-buttons"};function J(p,a,L,h,t,n){const o=i("OnboardingHeading"),c=i("KRadio"),g=i("OnboardingNavigation"),m=i("OnboardingPage");return f(),u(m,{"with-image":""},{header:e(()=>[r(o,{title:"Learn about deployments",description:`${t.productName} can be deployed in standalone or multi-zone mode.`},null,8,["description"])]),content:e(()=>[C("div",Y,[(f(),u(y(n.currentGraph)))]),C("div",q,[r(c,{modelValue:t.mode,"onUpdate:modelValue":a[0]||(a[0]=s=>t.mode=s),name:"mode","selected-value":"standalone","data-testid":"onboarding-standalone-radio-button"},{default:e(()=>[l(" Standalone deployment ")]),_:1},8,["modelValue"]),r(c,{modelValue:t.mode,"onUpdate:modelValue":a[1]||(a[1]=s=>t.mode=s),name:"mode","selected-value":"multi-zone","data-testid":"onboarding-multi-zone-radio-button"},{default:e(()=>[l(" Multi-zone deployment ")]),_:1},8,["modelValue"])])]),navigation:e(()=>[r(g,{"next-step":"onboarding-configuration-types","previous-step":"onboarding-welcome"})]),_:1})}const e2=H(Q,[["render",J],["__scopeId","data-v-8f117e74"]]);export{e2 as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView.5518ff79.js b/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView.5c436b7f.js similarity index 74% rename from app/kuma-ui/pkg/resources/data/assets/DiagnosticsView.5518ff79.js rename to app/kuma-ui/pkg/resources/data/assets/DiagnosticsView.5c436b7f.js index 0daf81508f9c..5756fe434847 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView.5518ff79.js +++ b/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView.5c436b7f.js @@ -1 +1 @@ -import{d as r,f as c,o,j as i,u as s,c as n,w as d,a as l,M as _,q as f}from"./index.09f51eb8.js";import{_ as m}from"./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js";import{_ as u}from"./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js";import"./_commonjsHelpers.f037b798.js";const p={class:"component-frame"},C=r({__name:"DiagnosticsView",setup(g){const a=f(),t=c(()=>{const e=a.getters["config/getConfig"];return e?JSON.stringify(e,null,2):null});return(e,k)=>(o(),i("div",p,[s(t)===null?(o(),n(u,{key:0})):(o(),n(s(_),{key:1,"border-variant":"noBorder"},{body:d(()=>[l(m,{id:"code-block-diagnostics",language:"json",code:s(t),"is-searchable":"","query-key":"diagnostics"},null,8,["code"])]),_:1}))]))}});export{C as default}; +import{d as r,f as c,o,j as i,u as s,c as n,w as d,a as l,M as _,q as f}from"./index.47c8bf16.js";import{_ as m}from"./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js";import{_ as u}from"./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js";import"./_commonjsHelpers.f037b798.js";const p={class:"component-frame"},C=r({__name:"DiagnosticsView",setup(g){const a=f(),t=c(()=>{const e=a.getters["config/getConfig"];return e?JSON.stringify(e,null,2):null});return(e,k)=>(o(),i("div",p,[s(t)===null?(o(),n(u,{key:0})):(o(),n(s(_),{key:1,"border-variant":"noBorder"},{body:d(()=>[l(m,{id:"code-block-diagnostics",language:"json",code:s(t),"is-searchable":"","query-key":"diagnostics"},null,8,["code"])]),_:1}))]))}});export{C as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js b/app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js similarity index 88% rename from app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js rename to app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js index 14836996cb3b..6a0da969ed03 100644 --- a/app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js +++ b/app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js @@ -1 +1 @@ -import{d as n,o as r,c,J as l,w as s,I as a,u as o,O as i,l as t,a as d,K as m}from"./index.09f51eb8.js";const p={class:"card-icon mb-3"},_=t("p",null,"There is no data to display.",-1),f=n({__name:"EmptyBlock",setup(h){return(e,u)=>(r(),c(o(i),{"cta-is-hidden":""},l({title:s(()=>[a(e.$slots,"title",{},()=>[t("div",p,[d(o(m),{icon:"warning",color:"var(--black-75)","secondary-color":"var(--yellow-300)",size:"42"})]),_])]),_:2},[e.$slots.message?{name:"message",fn:s(()=>[a(e.$slots,"message")]),key:"0"}:void 0]),1024))}});export{f as _}; +import{d as n,o as r,c,J as l,w as s,I as a,u as o,O as i,l as t,a as d,K as m}from"./index.47c8bf16.js";const p={class:"card-icon mb-3"},_=t("p",null,"There is no data to display.",-1),f=n({__name:"EmptyBlock",setup(h){return(e,u)=>(r(),c(o(i),{"cta-is-hidden":""},l({title:s(()=>[a(e.$slots,"title",{},()=>[t("div",p,[d(o(m),{icon:"warning",color:"var(--black-75)","secondary-color":"var(--yellow-300)",size:"42"})]),_])]),_:2},[e.$slots.message?{name:"message",fn:s(()=>[a(e.$slots,"message")]),key:"0"}:void 0]),1024))}});export{f as _}; diff --git a/app/kuma-ui/pkg/resources/data/assets/EntityScanner.ff503354.js b/app/kuma-ui/pkg/resources/data/assets/EntityScanner.7ca94b51.js similarity index 98% rename from app/kuma-ui/pkg/resources/data/assets/EntityScanner.ff503354.js rename to app/kuma-ui/pkg/resources/data/assets/EntityScanner.7ca94b51.js index d1ef92a4bfec..3b2875c81e45 100644 --- a/app/kuma-ui/pkg/resources/data/assets/EntityScanner.ff503354.js +++ b/app/kuma-ui/pkg/resources/data/assets/EntityScanner.7ca94b51.js @@ -1 +1 @@ -import{D as g,o as s,j as n,l as o,t as w,z as a,A as m,I as d,e as I,i as f,F as v,n as S,m as b,cV as k,a as p,w as y,b as C,O as z,K as E}from"./index.09f51eb8.js";const x={name:"FormFragment",props:{title:{type:String,required:!1,default:null},forAttr:{type:String,required:!1,default:null},allInline:{type:Boolean,default:!1},hideLabelCol:{type:Boolean,default:!1},equalCols:{type:Boolean,default:!1},shiftRight:{type:Boolean,default:!1}}},B={class:"form-line-wrapper"},q={key:0,class:"form-line__col"},$=["for"];function F(e,c,t,u,r,_){return s(),n("div",B,[o("div",{class:m(["form-line",{"has-equal-cols":t.equalCols}])},[t.hideLabelCol?a("",!0):(s(),n("div",q,[o("label",{for:t.forAttr,class:"k-input-label"},w(t.title)+": ",9,$)])),o("div",{class:m(["form-line__col",{"is-inline":t.allInline,"is-shifted-right":t.shiftRight}])},[d(e.$slots,"default")],2)],2)])}const re=g(x,[["render",F],["__scopeId","data-v-62a81d56"]]);const R={components:{KButton:I},props:{steps:{type:Array,default:()=>{}},sidebarContent:{type:Array,required:!0,default:()=>{}},footerEnabled:{type:Boolean,default:!0},nextDisabled:{type:Boolean,default:!0}},emits:["goToStep"],data(){return{start:0}},computed:{step:{get(){return this.steps[this.start].slug},set(e){return this.steps[e].slug}},indexCanAdvance(){return this.start>=this.steps.length-1},indexCanReverse(){return this.start<=0}},mounted(){this.setStartingStep()},methods:{goToNextStep(){this.start++,this.updateQuery("step",this.start),this.$emit("goToStep",this.step)},goToPrevStep(){this.start--,this.updateQuery("step",this.start),this.$emit("goToStep",this.step)},updateQuery(e,c){const t=this.$router,u=this.$route;u.query?t.push({query:Object.assign({},u.query,{[e]:c})}):t.push({query:{[e]:c}})},setStartingStep(){const e=this.$route.query.step;this.start=e||0}}},K={class:"wizard-steps"},N={class:"wizard-steps__content-wrapper"},T={class:"wizard-steps__indicator"},A={class:"wizard-steps__indicator__controls",role:"tablist","aria-label":"steptabs"},D=["aria-selected","aria-controls"],V={class:"wizard-steps__content"},L={ref:"wizardForm",autocomplete:"off"},P=["id","aria-labelledby"],Q={key:0,class:"wizard-steps__footer"},j={class:"wizard-steps__sidebar"},O={class:"wizard-steps__sidebar__content"};function U(e,c,t,u,r,_){const h=f("KButton");return s(),n("div",K,[o("div",N,[o("header",T,[o("ul",A,[(s(!0),n(v,null,S(t.steps,(i,l)=>(s(),n("li",{key:i.slug,"aria-selected":_.step===i.slug?"true":"false","aria-controls":`wizard-steps__content__item--${l}`,class:m([{"is-complete":l<=r.start},"wizard-steps__indicator__item"])},[o("span",null,w(i.label),1)],10,D))),128))])]),o("div",V,[o("form",L,[(s(!0),n(v,null,S(t.steps,(i,l)=>(s(),n("div",{id:`wizard-steps__content__item--${l}`,key:i.slug,"aria-labelledby":`wizard-steps__content__item--${l}`,role:"tabpanel",tabindex:"0",class:"wizard-steps__content__item"},[_.step===i.slug?d(e.$slots,i.slug,{key:0},void 0,!0):a("",!0)],8,P))),128))],512)]),t.footerEnabled?(s(),n("footer",Q,[b(p(h,{appearance:"outline","data-testid":"next-previous-button",onClick:_.goToPrevStep},{default:y(()=>[C(" \u2039 Previous ")]),_:1},8,["onClick"]),[[k,!_.indexCanReverse]]),b(p(h,{disabled:t.nextDisabled,appearance:"primary","data-testid":"next-step-button",onClick:_.goToNextStep},{default:y(()=>[C(" Next \u203A ")]),_:1},8,["disabled","onClick"]),[[k,!_.indexCanAdvance]])])):a("",!0)]),o("aside",j,[o("div",O,[(s(!0),n(v,null,S(t.sidebarContent,(i,l)=>(s(),n("div",{key:i.name,class:m(["wizard-steps__sidebar__item",`wizard-steps__sidebar__item--${l}`])},[d(e.$slots,i.name,{},void 0,!0)],2))),128))])])])}const ie=g(R,[["render",U],["__scopeId","data-v-328c748a"]]);const G={},H={class:"card-icon icon-success mb-3",role:"img"};function J(e,c){return s(),n("i",H," \u2713 ")}const M=g(G,[["render",J],["__scopeId","data-v-f2914797"]]);const W={name:"EntityScanner",components:{IconSuccess:M,KEmptyState:z,KIcon:E},props:{interval:{type:Number,required:!1,default:1e3},retries:{type:Number,required:!1,default:3600},shouldStart:{type:Boolean,default:!1},hasError:{type:Boolean,default:!1},loaderFunction:{type:Function,required:!0},canComplete:{type:Boolean,default:!1}},emits:["hide-siblings"],data(){return{i:0,isRunning:!1,isComplete:!1,intervalId:null}},watch:{shouldStart(e,c){e!==c&&e===!0&&this.runScanner()}},mounted(){this.shouldStart===!0&&this.runScanner()},beforeUnmount(){clearInterval(this.intervalId)},methods:{runScanner(){this.isRunning=!0,this.isComplete=!1,this.intervalId=setInterval(()=>{this.i++,this.loaderFunction(),(this.i===this.retries||this.canComplete===!0)&&(clearInterval(this.intervalId),this.isRunning=!1,this.isComplete=!0,this.$emit("hide-siblings",!0))},this.interval)}}},X={key:0,class:"scanner"},Y={class:"scanner-content"},Z={key:0,class:"card-icon mb-3"},ee={key:1,class:"card-icon mb-3"},te={key:3},se={key:1};function ne(e,c,t,u,r,_){const h=f("KIcon"),i=f("IconSuccess"),l=f("KEmptyState");return t.shouldStart?(s(),n("div",X,[o("div",Y,[p(l,{"cta-is-hidden":""},{title:y(()=>[r.isRunning?(s(),n("div",Z,[p(h,{icon:"spinner",color:"rgba(0, 0, 0, 0.1)",size:"42"})])):a("",!0),r.isComplete&&t.hasError===!1&&r.isRunning===!1?(s(),n("div",ee,[p(i)])):a("",!0),r.isRunning?d(e.$slots,"loading-title",{key:2},void 0,!0):a("",!0),r.isRunning===!1?(s(),n("div",te,[t.hasError?d(e.$slots,"error-title",{key:0},void 0,!0):a("",!0),r.isComplete&&t.hasError===!1?d(e.$slots,"complete-title",{key:1},void 0,!0):a("",!0)])):a("",!0)]),message:y(()=>[r.isRunning?d(e.$slots,"loading-content",{key:0},void 0,!0):a("",!0),r.isRunning===!1?(s(),n("div",se,[t.hasError?d(e.$slots,"error-content",{key:0},void 0,!0):a("",!0),r.isComplete&&t.hasError===!1?d(e.$slots,"complete-content",{key:1},void 0,!0):a("",!0)])):a("",!0)]),_:3})])])):a("",!0)}const oe=g(W,[["render",ne],["__scopeId","data-v-ea480f76"]]);export{oe as E,re as F,ie as S}; +import{D as g,o as s,j as n,l as o,t as w,z as a,A as m,I as d,e as I,i as f,F as v,n as S,m as b,cV as k,a as p,w as y,b as C,O as z,K as E}from"./index.47c8bf16.js";const x={name:"FormFragment",props:{title:{type:String,required:!1,default:null},forAttr:{type:String,required:!1,default:null},allInline:{type:Boolean,default:!1},hideLabelCol:{type:Boolean,default:!1},equalCols:{type:Boolean,default:!1},shiftRight:{type:Boolean,default:!1}}},B={class:"form-line-wrapper"},q={key:0,class:"form-line__col"},$=["for"];function F(e,c,t,u,r,_){return s(),n("div",B,[o("div",{class:m(["form-line",{"has-equal-cols":t.equalCols}])},[t.hideLabelCol?a("",!0):(s(),n("div",q,[o("label",{for:t.forAttr,class:"k-input-label"},w(t.title)+": ",9,$)])),o("div",{class:m(["form-line__col",{"is-inline":t.allInline,"is-shifted-right":t.shiftRight}])},[d(e.$slots,"default")],2)],2)])}const re=g(x,[["render",F],["__scopeId","data-v-62a81d56"]]);const R={components:{KButton:I},props:{steps:{type:Array,default:()=>{}},sidebarContent:{type:Array,required:!0,default:()=>{}},footerEnabled:{type:Boolean,default:!0},nextDisabled:{type:Boolean,default:!0}},emits:["goToStep"],data(){return{start:0}},computed:{step:{get(){return this.steps[this.start].slug},set(e){return this.steps[e].slug}},indexCanAdvance(){return this.start>=this.steps.length-1},indexCanReverse(){return this.start<=0}},mounted(){this.setStartingStep()},methods:{goToNextStep(){this.start++,this.updateQuery("step",this.start),this.$emit("goToStep",this.step)},goToPrevStep(){this.start--,this.updateQuery("step",this.start),this.$emit("goToStep",this.step)},updateQuery(e,c){const t=this.$router,u=this.$route;u.query?t.push({query:Object.assign({},u.query,{[e]:c})}):t.push({query:{[e]:c}})},setStartingStep(){const e=this.$route.query.step;this.start=e||0}}},K={class:"wizard-steps"},N={class:"wizard-steps__content-wrapper"},T={class:"wizard-steps__indicator"},A={class:"wizard-steps__indicator__controls",role:"tablist","aria-label":"steptabs"},D=["aria-selected","aria-controls"],V={class:"wizard-steps__content"},L={ref:"wizardForm",autocomplete:"off"},P=["id","aria-labelledby"],Q={key:0,class:"wizard-steps__footer"},j={class:"wizard-steps__sidebar"},O={class:"wizard-steps__sidebar__content"};function U(e,c,t,u,r,_){const h=f("KButton");return s(),n("div",K,[o("div",N,[o("header",T,[o("ul",A,[(s(!0),n(v,null,S(t.steps,(i,l)=>(s(),n("li",{key:i.slug,"aria-selected":_.step===i.slug?"true":"false","aria-controls":`wizard-steps__content__item--${l}`,class:m([{"is-complete":l<=r.start},"wizard-steps__indicator__item"])},[o("span",null,w(i.label),1)],10,D))),128))])]),o("div",V,[o("form",L,[(s(!0),n(v,null,S(t.steps,(i,l)=>(s(),n("div",{id:`wizard-steps__content__item--${l}`,key:i.slug,"aria-labelledby":`wizard-steps__content__item--${l}`,role:"tabpanel",tabindex:"0",class:"wizard-steps__content__item"},[_.step===i.slug?d(e.$slots,i.slug,{key:0},void 0,!0):a("",!0)],8,P))),128))],512)]),t.footerEnabled?(s(),n("footer",Q,[b(p(h,{appearance:"outline","data-testid":"next-previous-button",onClick:_.goToPrevStep},{default:y(()=>[C(" \u2039 Previous ")]),_:1},8,["onClick"]),[[k,!_.indexCanReverse]]),b(p(h,{disabled:t.nextDisabled,appearance:"primary","data-testid":"next-step-button",onClick:_.goToNextStep},{default:y(()=>[C(" Next \u203A ")]),_:1},8,["disabled","onClick"]),[[k,!_.indexCanAdvance]])])):a("",!0)]),o("aside",j,[o("div",O,[(s(!0),n(v,null,S(t.sidebarContent,(i,l)=>(s(),n("div",{key:i.name,class:m(["wizard-steps__sidebar__item",`wizard-steps__sidebar__item--${l}`])},[d(e.$slots,i.name,{},void 0,!0)],2))),128))])])])}const ie=g(R,[["render",U],["__scopeId","data-v-328c748a"]]);const G={},H={class:"card-icon icon-success mb-3",role:"img"};function J(e,c){return s(),n("i",H," \u2713 ")}const M=g(G,[["render",J],["__scopeId","data-v-f2914797"]]);const W={name:"EntityScanner",components:{IconSuccess:M,KEmptyState:z,KIcon:E},props:{interval:{type:Number,required:!1,default:1e3},retries:{type:Number,required:!1,default:3600},shouldStart:{type:Boolean,default:!1},hasError:{type:Boolean,default:!1},loaderFunction:{type:Function,required:!0},canComplete:{type:Boolean,default:!1}},emits:["hide-siblings"],data(){return{i:0,isRunning:!1,isComplete:!1,intervalId:null}},watch:{shouldStart(e,c){e!==c&&e===!0&&this.runScanner()}},mounted(){this.shouldStart===!0&&this.runScanner()},beforeUnmount(){clearInterval(this.intervalId)},methods:{runScanner(){this.isRunning=!0,this.isComplete=!1,this.intervalId=setInterval(()=>{this.i++,this.loaderFunction(),(this.i===this.retries||this.canComplete===!0)&&(clearInterval(this.intervalId),this.isRunning=!1,this.isComplete=!0,this.$emit("hide-siblings",!0))},this.interval)}}},X={key:0,class:"scanner"},Y={class:"scanner-content"},Z={key:0,class:"card-icon mb-3"},ee={key:1,class:"card-icon mb-3"},te={key:3},se={key:1};function ne(e,c,t,u,r,_){const h=f("KIcon"),i=f("IconSuccess"),l=f("KEmptyState");return t.shouldStart?(s(),n("div",X,[o("div",Y,[p(l,{"cta-is-hidden":""},{title:y(()=>[r.isRunning?(s(),n("div",Z,[p(h,{icon:"spinner",color:"rgba(0, 0, 0, 0.1)",size:"42"})])):a("",!0),r.isComplete&&t.hasError===!1&&r.isRunning===!1?(s(),n("div",ee,[p(i)])):a("",!0),r.isRunning?d(e.$slots,"loading-title",{key:2},void 0,!0):a("",!0),r.isRunning===!1?(s(),n("div",te,[t.hasError?d(e.$slots,"error-title",{key:0},void 0,!0):a("",!0),r.isComplete&&t.hasError===!1?d(e.$slots,"complete-title",{key:1},void 0,!0):a("",!0)])):a("",!0)]),message:y(()=>[r.isRunning?d(e.$slots,"loading-content",{key:0},void 0,!0):a("",!0),r.isRunning===!1?(s(),n("div",se,[t.hasError?d(e.$slots,"error-content",{key:0},void 0,!0):a("",!0),r.isComplete&&t.hasError===!1?d(e.$slots,"complete-content",{key:1},void 0,!0):a("",!0)])):a("",!0)]),_:3})])])):a("",!0)}const oe=g(W,[["render",ne],["__scopeId","data-v-ea480f76"]]);export{oe as E,re as F,ie as S}; diff --git a/app/kuma-ui/pkg/resources/data/assets/EnvironmentSwitcher.5673fe91.js b/app/kuma-ui/pkg/resources/data/assets/EnvironmentSwitcher.89e136d8.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/EnvironmentSwitcher.5673fe91.js rename to app/kuma-ui/pkg/resources/data/assets/EnvironmentSwitcher.89e136d8.js index 0d982cb4dc82..3835c5a2ee08 100644 --- a/app/kuma-ui/pkg/resources/data/assets/EnvironmentSwitcher.5673fe91.js +++ b/app/kuma-ui/pkg/resources/data/assets/EnvironmentSwitcher.89e136d8.js @@ -1 +1 @@ -import{e as v,O as m,cn as p,D as h,i as l,o,j as r,a,J as _,w as i,b as e,l as n,t as w,z as c}from"./index.09f51eb8.js";const y={name:"EnvironmentSwitcher",components:{KButton:v,KEmptyState:m},data(){return{wizardRoutes:{kubernetes:"kubernetes-dataplane",universal:"universal-dataplane"}}},computed:{...p({environment:"config/getEnvironment"}),instructionsCtaText(){return this.environment==="universal"?"Switch to Kubernetes instructions":"Switch to Universal instructions"},instructionsCtaRoute(){return this.environment==="kubernetes"?{name:"universal-dataplane"}:{name:"kubernetes-dataplane"}}}},b={class:"wizard-switcher"},g={class:"capitalize"},k={key:0},f={key:0},z=n("p",null,[e(" We have detected that you are running on a "),n("strong",null,"Kubernetes environment"),e(", and we are going to be showing you instructions for Kubernetes unless you decide to visualize the instructions for Universal. ")],-1),K={key:1},S=n("p",null,[e(" We have detected that you are running on a "),n("strong",null,"Kubernetes environment"),e(", but you are viewing instructions for Universal. ")],-1),R={key:1},E={key:0},U=n("p",null,[e(" We have detected that you are running on a "),n("strong",null,"Universal environment"),e(", but you are viewing instructions for Kubernetes. ")],-1),B={key:1},C=n("p",null,[e(" We have detected that you are running on a "),n("strong",null,"Universal environment"),e(", and we are going to be showing you instructions for Universal unless you decide to visualize the instructions for Kubernetes. ")],-1);function N(t,V,W,D,s,T){const u=l("KButton"),d=l("KEmptyState");return o(),r("div",b,[a(d,{ref:"emptyState","cta-is-hidden":"","is-error":!t.environment,class:"my-6 wizard-empty-state"},_({message:i(()=>[t.environment==="kubernetes"?(o(),r("div",k,[t.$route.name===s.wizardRoutes.kubernetes?(o(),r("div",f,[z,n("p",null,[a(u,{to:{name:s.wizardRoutes.universal},appearance:"secondary"},{default:i(()=>[e(" Switch to Universal instructions ")]),_:1},8,["to"])])])):t.$route.name===s.wizardRoutes.universal?(o(),r("div",K,[S,n("p",null,[a(u,{to:{name:s.wizardRoutes.kubernetes},appearance:"secondary"},{default:i(()=>[e(" Switch back to Kubernetes instructions ")]),_:1},8,["to"])])])):c("",!0)])):t.environment==="universal"?(o(),r("div",R,[t.$route.name===s.wizardRoutes.kubernetes?(o(),r("div",E,[U,n("p",null,[a(u,{to:{name:s.wizardRoutes.universal},appearance:"secondary"},{default:i(()=>[e(" Switch back to Universal instructions ")]),_:1},8,["to"])])])):t.$route.name===s.wizardRoutes.universal?(o(),r("div",B,[C,n("p",null,[a(u,{to:{name:s.wizardRoutes.kubernetes},appearance:"secondary"},{default:i(()=>[e(" Switch to Kubernetes instructions ")]),_:1},8,["to"])])])):c("",!0)])):c("",!0)]),_:2},[t.environment==="kubernetes"||t.environment==="universal"?{name:"title",fn:i(()=>[e(" Running on "),n("span",g,w(t.environment),1)]),key:"0"}:void 0]),1032,["is-error"])])}const G=h(y,[["render",N]]);export{G as E}; +import{e as v,O as m,cn as p,D as h,i as l,o,j as r,a,J as _,w as i,b as e,l as n,t as w,z as c}from"./index.47c8bf16.js";const y={name:"EnvironmentSwitcher",components:{KButton:v,KEmptyState:m},data(){return{wizardRoutes:{kubernetes:"kubernetes-dataplane",universal:"universal-dataplane"}}},computed:{...p({environment:"config/getEnvironment"}),instructionsCtaText(){return this.environment==="universal"?"Switch to Kubernetes instructions":"Switch to Universal instructions"},instructionsCtaRoute(){return this.environment==="kubernetes"?{name:"universal-dataplane"}:{name:"kubernetes-dataplane"}}}},b={class:"wizard-switcher"},g={class:"capitalize"},k={key:0},f={key:0},z=n("p",null,[e(" We have detected that you are running on a "),n("strong",null,"Kubernetes environment"),e(", and we are going to be showing you instructions for Kubernetes unless you decide to visualize the instructions for Universal. ")],-1),K={key:1},S=n("p",null,[e(" We have detected that you are running on a "),n("strong",null,"Kubernetes environment"),e(", but you are viewing instructions for Universal. ")],-1),R={key:1},E={key:0},U=n("p",null,[e(" We have detected that you are running on a "),n("strong",null,"Universal environment"),e(", but you are viewing instructions for Kubernetes. ")],-1),B={key:1},C=n("p",null,[e(" We have detected that you are running on a "),n("strong",null,"Universal environment"),e(", and we are going to be showing you instructions for Universal unless you decide to visualize the instructions for Kubernetes. ")],-1);function N(t,V,W,D,s,T){const u=l("KButton"),d=l("KEmptyState");return o(),r("div",b,[a(d,{ref:"emptyState","cta-is-hidden":"","is-error":!t.environment,class:"my-6 wizard-empty-state"},_({message:i(()=>[t.environment==="kubernetes"?(o(),r("div",k,[t.$route.name===s.wizardRoutes.kubernetes?(o(),r("div",f,[z,n("p",null,[a(u,{to:{name:s.wizardRoutes.universal},appearance:"secondary"},{default:i(()=>[e(" Switch to Universal instructions ")]),_:1},8,["to"])])])):t.$route.name===s.wizardRoutes.universal?(o(),r("div",K,[S,n("p",null,[a(u,{to:{name:s.wizardRoutes.kubernetes},appearance:"secondary"},{default:i(()=>[e(" Switch back to Kubernetes instructions ")]),_:1},8,["to"])])])):c("",!0)])):t.environment==="universal"?(o(),r("div",R,[t.$route.name===s.wizardRoutes.kubernetes?(o(),r("div",E,[U,n("p",null,[a(u,{to:{name:s.wizardRoutes.universal},appearance:"secondary"},{default:i(()=>[e(" Switch back to Universal instructions ")]),_:1},8,["to"])])])):t.$route.name===s.wizardRoutes.universal?(o(),r("div",B,[C,n("p",null,[a(u,{to:{name:s.wizardRoutes.kubernetes},appearance:"secondary"},{default:i(()=>[e(" Switch to Kubernetes instructions ")]),_:1},8,["to"])])])):c("",!0)])):c("",!0)]),_:2},[t.environment==="kubernetes"||t.environment==="universal"?{name:"title",fn:i(()=>[e(" Running on "),n("span",g,w(t.environment),1)]),key:"0"}:void 0]),1032,["is-error"])])}const G=h(y,[["render",N]]);export{G as E}; diff --git a/app/kuma-ui/pkg/resources/data/assets/EnvoyData.4c5a7bbc.js b/app/kuma-ui/pkg/resources/data/assets/EnvoyData.988dd7af.js similarity index 83% rename from app/kuma-ui/pkg/resources/data/assets/EnvoyData.4c5a7bbc.js rename to app/kuma-ui/pkg/resources/data/assets/EnvoyData.988dd7af.js index f8e631569114..e8dee30d6cf1 100644 --- a/app/kuma-ui/pkg/resources/data/assets/EnvoyData.4c5a7bbc.js +++ b/app/kuma-ui/pkg/resources/data/assets/EnvoyData.988dd7af.js @@ -1 +1 @@ -import{d as y,Q as p,o as s,j as _,c as l,I as g,D as m,r as i,g as d,h as v,k as u,w as h,a as E}from"./index.09f51eb8.js";import{_ as N}from"./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js";import{_ as k}from"./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js";import{E as I}from"./ErrorBlock.6cb5eaea.js";import{_ as S}from"./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js";const q={class:"status-info"},z={key:3},D=y({__name:"StatusInfo",props:{isLoading:{type:Boolean,default:!1},hasError:{type:Boolean,default:!1},isEmpty:{type:Boolean,default:!1},error:{type:[Error,p],required:!1,default:null}},setup(t){return(e,r)=>(s(),_("div",q,[t.isLoading?(s(),l(S,{key:0})):t.hasError?(s(),l(I,{key:1,error:t.error},null,8,["error"])):t.isEmpty?(s(),l(k,{key:2})):(s(),_("div",z,[g(e.$slots,"default",{},void 0,!0)]))]))}});const P=m(D,[["__scopeId","data-v-5f67b02e"]]),x=y({__name:"EnvoyData",props:{dataPath:{type:String,required:!0},queryKey:{type:String,required:!1,default:null},mesh:{type:String,required:!1,default:""},dppName:{type:String,required:!1,default:""},zoneIngressName:{type:String,required:!1,default:""},zoneEgressName:{type:String,required:!1,default:""}},setup(t){const e=t,r=i(!0),o=i(void 0),c=i("");d(()=>e.dppName,function(){n()}),d(()=>e.zoneIngressName,function(){n()}),d(()=>e.zoneEgressName,function(){n()}),v(function(){n()});async function n(){o.value=void 0,r.value=!0;try{let a="";e.mesh!==""&&e.dppName!==""?a=await u.getDataplaneData({dataPath:e.dataPath,mesh:e.mesh,dppName:e.dppName}):e.zoneIngressName!==""?a=await u.getZoneIngressData({dataPath:e.dataPath,zoneIngressName:e.zoneIngressName}):e.zoneEgressName!==""&&(a=await u.getZoneEgressData({dataPath:e.dataPath,zoneEgressName:e.zoneEgressName})),c.value=typeof a=="string"?a:JSON.stringify(a,null,2)}catch(a){a instanceof Error?o.value=a:console.error(a)}finally{r.value=!1}}return(a,B)=>(s(),l(P,{class:"envoy-data","has-error":o.value!==void 0,"is-loading":r.value,error:o.value},{default:h(()=>{var f;return[E(N,{id:`code-block-${t.dataPath}`,language:"json",code:c.value,"is-searchable":"","query-key":(f=t.queryKey)!=null?f:`code-block-${t.dataPath}`},null,8,["id","code","query-key"])]}),_:1},8,["has-error","is-loading","error"]))}});const j=m(x,[["__scopeId","data-v-203f1a94"]]);export{j as E,P as S}; +import{d as y,Q as p,o as s,j as _,c as l,I as g,D as m,r as i,g as d,h as v,k as u,w as h,a as E}from"./index.47c8bf16.js";import{_ as N}from"./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js";import{_ as k}from"./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js";import{E as I}from"./ErrorBlock.456ea0f6.js";import{_ as S}from"./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js";const q={class:"status-info"},z={key:3},D=y({__name:"StatusInfo",props:{isLoading:{type:Boolean,default:!1},hasError:{type:Boolean,default:!1},isEmpty:{type:Boolean,default:!1},error:{type:[Error,p],required:!1,default:null}},setup(t){return(e,r)=>(s(),_("div",q,[t.isLoading?(s(),l(S,{key:0})):t.hasError?(s(),l(I,{key:1,error:t.error},null,8,["error"])):t.isEmpty?(s(),l(k,{key:2})):(s(),_("div",z,[g(e.$slots,"default",{},void 0,!0)]))]))}});const P=m(D,[["__scopeId","data-v-5f67b02e"]]),x=y({__name:"EnvoyData",props:{dataPath:{type:String,required:!0},queryKey:{type:String,required:!1,default:null},mesh:{type:String,required:!1,default:""},dppName:{type:String,required:!1,default:""},zoneIngressName:{type:String,required:!1,default:""},zoneEgressName:{type:String,required:!1,default:""}},setup(t){const e=t,r=i(!0),o=i(void 0),c=i("");d(()=>e.dppName,function(){n()}),d(()=>e.zoneIngressName,function(){n()}),d(()=>e.zoneEgressName,function(){n()}),v(function(){n()});async function n(){o.value=void 0,r.value=!0;try{let a="";e.mesh!==""&&e.dppName!==""?a=await u.getDataplaneData({dataPath:e.dataPath,mesh:e.mesh,dppName:e.dppName}):e.zoneIngressName!==""?a=await u.getZoneIngressData({dataPath:e.dataPath,zoneIngressName:e.zoneIngressName}):e.zoneEgressName!==""&&(a=await u.getZoneEgressData({dataPath:e.dataPath,zoneEgressName:e.zoneEgressName})),c.value=typeof a=="string"?a:JSON.stringify(a,null,2)}catch(a){a instanceof Error?o.value=a:console.error(a)}finally{r.value=!1}}return(a,B)=>(s(),l(P,{class:"envoy-data","has-error":o.value!==void 0,"is-loading":r.value,error:o.value},{default:h(()=>{var f;return[E(N,{id:`code-block-${t.dataPath}`,language:"json",code:c.value,"is-searchable":"","query-key":(f=t.queryKey)!=null?f:`code-block-${t.dataPath}`},null,8,["id","code","query-key"])]}),_:1},8,["has-error","is-loading","error"]))}});const j=m(x,[["__scopeId","data-v-203f1a94"]]);export{j as E,P as S}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ErrorBlock.6cb5eaea.js b/app/kuma-ui/pkg/resources/data/assets/ErrorBlock.456ea0f6.js similarity index 95% rename from app/kuma-ui/pkg/resources/data/assets/ErrorBlock.6cb5eaea.js rename to app/kuma-ui/pkg/resources/data/assets/ErrorBlock.456ea0f6.js index 44034b8205e9..8b45e89a4a3e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ErrorBlock.6cb5eaea.js +++ b/app/kuma-ui/pkg/resources/data/assets/ErrorBlock.456ea0f6.js @@ -1 +1 @@ -import{d as y,Q as l,f as m,o as a,j as s,a as d,J as b,u as r,w as c,l as o,t,z as i,F as v,n as E,b as u,K as B,O as w,c as x,R as h,B as S,C,D as I}from"./index.09f51eb8.js";const g=e=>(S("data-v-d59fcfb9"),e=e(),C(),e),K={class:"error-block"},N={class:"card-icon mb-3"},V=g(()=>o("p",null,"An error has occurred while trying to load this data.",-1)),D=g(()=>o("summary",null,"Details",-1)),j={key:0},z={key:0,class:"badge-list"},A=y({__name:"ErrorBlock",props:{error:{type:[Error,l],required:!1,default:null}},setup(e){const n=e,_=m(()=>n.error instanceof Error),f=m(()=>n.error instanceof l?n.error.causes:[]);return(F,O)=>(a(),s("div",K,[d(r(w),{"cta-is-hidden":""},b({title:c(()=>[o("div",N,[d(r(B),{class:"kong-icon--centered",icon:"warning",color:"var(--black-75)","secondary-color":"var(--yellow-300)",size:"42"})]),V]),_:2},[r(_)||r(f).length>0?{name:"message",fn:c(()=>[o("details",null,[D,r(_)?(a(),s("p",j,t(e.error.message),1)):i("",!0),o("ul",null,[(a(!0),s(v,null,E(r(f),(p,k)=>(a(),s("li",{key:k},[o("b",null,[o("code",null,t(p.field),1)]),u(": "+t(p.message),1)]))),128))])])]),key:"0"}:void 0]),1024),e.error instanceof r(l)?(a(),s("div",z,[e.error.code?(a(),x(r(h),{key:0,appearance:"warning"},{default:c(()=>[u(t(e.error.code),1)]),_:1})):i("",!0),d(r(h),{appearance:"warning"},{default:c(()=>[u(t(e.error.statusCode),1)]),_:1})])):i("",!0)]))}});const J=I(A,[["__scopeId","data-v-d59fcfb9"]]);export{J as E}; +import{d as y,Q as l,f as m,o as a,j as s,a as d,J as b,u as r,w as c,l as o,t,z as i,F as v,n as E,b as u,K as B,O as w,c as x,R as h,B as S,C,D as I}from"./index.47c8bf16.js";const g=e=>(S("data-v-d59fcfb9"),e=e(),C(),e),K={class:"error-block"},N={class:"card-icon mb-3"},V=g(()=>o("p",null,"An error has occurred while trying to load this data.",-1)),D=g(()=>o("summary",null,"Details",-1)),j={key:0},z={key:0,class:"badge-list"},A=y({__name:"ErrorBlock",props:{error:{type:[Error,l],required:!1,default:null}},setup(e){const n=e,_=m(()=>n.error instanceof Error),f=m(()=>n.error instanceof l?n.error.causes:[]);return(F,O)=>(a(),s("div",K,[d(r(w),{"cta-is-hidden":""},b({title:c(()=>[o("div",N,[d(r(B),{class:"kong-icon--centered",icon:"warning",color:"var(--black-75)","secondary-color":"var(--yellow-300)",size:"42"})]),V]),_:2},[r(_)||r(f).length>0?{name:"message",fn:c(()=>[o("details",null,[D,r(_)?(a(),s("p",j,t(e.error.message),1)):i("",!0),o("ul",null,[(a(!0),s(v,null,E(r(f),(p,k)=>(a(),s("li",{key:k},[o("b",null,[o("code",null,t(p.field),1)]),u(": "+t(p.message),1)]))),128))])])]),key:"0"}:void 0]),1024),e.error instanceof r(l)?(a(),s("div",z,[e.error.code?(a(),x(r(h),{key:0,appearance:"warning"},{default:c(()=>[u(t(e.error.code),1)]),_:1})):i("",!0),d(r(h),{appearance:"warning"},{default:c(()=>[u(t(e.error.statusCode),1)]),_:1})])):i("",!0)]))}});const J=I(A,[["__scopeId","data-v-d59fcfb9"]]);export{J as E}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ExternalServiceDetailView.0b36e0b4.js b/app/kuma-ui/pkg/resources/data/assets/ExternalServiceDetailView.0b36e0b4.js new file mode 100644 index 000000000000..1d5b2cc46d6c --- /dev/null +++ b/app/kuma-ui/pkg/resources/data/assets/ExternalServiceDetailView.0b36e0b4.js @@ -0,0 +1 @@ +import{d as t,p as s,o as a,c as o,u as r,q as m}from"./index.47c8bf16.js";import{S as p}from"./ServiceDetails.fa93c8a9.js";import"./TagList.d43e2716.js";import"./YamlView.941aa063.js";import"./index.58caa11d.js";import"./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js";import"./_commonjsHelpers.f037b798.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js";import"./ErrorBlock.456ea0f6.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js";const D=t({__name:"ExternalServiceDetailView",setup(i){const e=s();return m().dispatch("updatePageTitle",e.params.service),(n,u)=>(a(),o(p,{class:"component-frame","service-type":"external",name:r(e).params.service,mesh:r(e).params.mesh},null,8,["name","mesh"]))}});export{D as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ExternalServiceDetailView.c5ade90c.js b/app/kuma-ui/pkg/resources/data/assets/ExternalServiceDetailView.c5ade90c.js deleted file mode 100644 index 562316c98909..000000000000 --- a/app/kuma-ui/pkg/resources/data/assets/ExternalServiceDetailView.c5ade90c.js +++ /dev/null @@ -1 +0,0 @@ -import{d as t,p as s,o as a,c as o,u as r,q as m}from"./index.09f51eb8.js";import{S as p}from"./ServiceDetails.52ea2042.js";import"./TagList.c6e1c385.js";import"./YamlView.e892619a.js";import"./index.58caa11d.js";import"./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js";import"./_commonjsHelpers.f037b798.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js";import"./ErrorBlock.6cb5eaea.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js";const D=t({__name:"ExternalServiceDetailView",setup(i){const e=s();return m().dispatch("updatePageTitle",e.params.service),(n,u)=>(a(),o(p,{class:"component-frame","service-type":"external",name:r(e).params.service,mesh:r(e).params.mesh},null,8,["name","mesh"]))}});export{D as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/FrameSkeleton.fcef0e24.js b/app/kuma-ui/pkg/resources/data/assets/FrameSkeleton.0676501d.js similarity index 68% rename from app/kuma-ui/pkg/resources/data/assets/FrameSkeleton.fcef0e24.js rename to app/kuma-ui/pkg/resources/data/assets/FrameSkeleton.0676501d.js index a49228ef9a89..cf815fba3e50 100644 --- a/app/kuma-ui/pkg/resources/data/assets/FrameSkeleton.fcef0e24.js +++ b/app/kuma-ui/pkg/resources/data/assets/FrameSkeleton.0676501d.js @@ -1 +1 @@ -import{D as o,o as s,j as t,I as n}from"./index.09f51eb8.js";const r={},c={class:"component-frame"};function a(e,_){return s(),t("div",c,[n(e.$slots,"default")])}const f=o(r,[["render",a]]);export{f as F}; +import{D as o,o as s,j as t,I as n}from"./index.47c8bf16.js";const r={},c={class:"component-frame"};function a(e,_){return s(),t("div",c,[n(e.$slots,"default")])}const f=o(r,[["render",a]]);export{f as F}; diff --git a/app/kuma-ui/pkg/resources/data/assets/LabelList.vue_vue_type_style_index_0_lang.6ccc9977.js b/app/kuma-ui/pkg/resources/data/assets/LabelList.vue_vue_type_style_index_0_lang.96dd97a6.js similarity index 68% rename from app/kuma-ui/pkg/resources/data/assets/LabelList.vue_vue_type_style_index_0_lang.6ccc9977.js rename to app/kuma-ui/pkg/resources/data/assets/LabelList.vue_vue_type_style_index_0_lang.96dd97a6.js index 140b34251871..7ef069d6940e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/LabelList.vue_vue_type_style_index_0_lang.6ccc9977.js +++ b/app/kuma-ui/pkg/resources/data/assets/LabelList.vue_vue_type_style_index_0_lang.96dd97a6.js @@ -1 +1 @@ -import{d as l,o as e,j as s,c as o,a as n,w as i,l as _,I as c,u as d,M as p}from"./index.09f51eb8.js";import{_ as m}from"./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js";import{E as f}from"./ErrorBlock.6cb5eaea.js";import{_ as u}from"./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js";const y={key:3,class:"label-list-content"},B={class:"label-list__col-wrapper multi-col"},L=l({__name:"LabelList",props:{isLoading:{type:Boolean,default:!1},hasError:{type:Boolean,default:!1},isEmpty:{type:Boolean,default:!1}},setup(t){const a=t;return(r,k)=>(e(),s("div",null,[a.isLoading?(e(),o(u,{key:0})):a.hasError?(e(),o(f,{key:1})):a.isEmpty?(e(),o(m,{key:2})):(e(),s("div",y,[n(d(p),{"border-variant":"noBorder"},{body:i(()=>[_("div",B,[c(r.$slots,"default")])]),_:3})]))]))}});export{L as _}; +import{d as l,o as e,j as s,c as o,a as n,w as i,l as _,I as c,u as d,M as p}from"./index.47c8bf16.js";import{_ as m}from"./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js";import{E as f}from"./ErrorBlock.456ea0f6.js";import{_ as u}from"./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js";const y={key:3,class:"label-list-content"},B={class:"label-list__col-wrapper multi-col"},L=l({__name:"LabelList",props:{isLoading:{type:Boolean,default:!1},hasError:{type:Boolean,default:!1},isEmpty:{type:Boolean,default:!1}},setup(t){const a=t;return(r,k)=>(e(),s("div",null,[a.isLoading?(e(),o(u,{key:0})):a.hasError?(e(),o(f,{key:1})):a.isEmpty?(e(),o(m,{key:2})):(e(),s("div",y,[n(d(p),{"border-variant":"noBorder"},{body:i(()=>[_("div",B,[c(r.$slots,"default")])]),_:3})]))]))}});export{L as _}; diff --git a/app/kuma-ui/pkg/resources/data/assets/LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js b/app/kuma-ui/pkg/resources/data/assets/LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js similarity index 85% rename from app/kuma-ui/pkg/resources/data/assets/LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js rename to app/kuma-ui/pkg/resources/data/assets/LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js index eecebe54ba59..72740e8b9c86 100644 --- a/app/kuma-ui/pkg/resources/data/assets/LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js +++ b/app/kuma-ui/pkg/resources/data/assets/LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js @@ -1 +1 @@ -import{d as t,o as s,c as n,w as c,l as e,a as d,u as a,K as i,I as r,O as l}from"./index.09f51eb8.js";const _={class:"card-icon mb-3"},p=e("p",null,"Loading data \u2026",-1),h=t({__name:"LoadingBlock",setup(u){return(o,m)=>(s(),n(a(l),{"cta-is-hidden":"","data-testid":"loading-block"},{title:c(()=>[e("div",_,[d(a(i),{icon:"spinner",color:"rgba(0, 0, 0, 0.1)",size:"42"})]),r(o.$slots,"default",{},()=>[p])]),_:3}))}});export{h as _}; +import{d as t,o as s,c as n,w as c,l as e,a as d,u as a,K as i,I as r,O as l}from"./index.47c8bf16.js";const _={class:"card-icon mb-3"},p=e("p",null,"Loading data \u2026",-1),h=t({__name:"LoadingBlock",setup(u){return(o,m)=>(s(),n(a(l),{"cta-is-hidden":"","data-testid":"loading-block"},{title:c(()=>[e("div",_,[d(a(i),{icon:"spinner",color:"rgba(0, 0, 0, 0.1)",size:"42"})]),r(o.$slots,"default",{},()=>[p])]),_:3}))}});export{h as _}; diff --git a/app/kuma-ui/pkg/resources/data/assets/LoadingBox.e4d58f37.js b/app/kuma-ui/pkg/resources/data/assets/LoadingBox.3ecf3ffd.js similarity index 71% rename from app/kuma-ui/pkg/resources/data/assets/LoadingBox.e4d58f37.js rename to app/kuma-ui/pkg/resources/data/assets/LoadingBox.3ecf3ffd.js index 4ba4e43dd2ac..a87dcbea2e23 100644 --- a/app/kuma-ui/pkg/resources/data/assets/LoadingBox.e4d58f37.js +++ b/app/kuma-ui/pkg/resources/data/assets/LoadingBox.3ecf3ffd.js @@ -1 +1 @@ -import{D as t,o as _,j as d,B as n,C as l,l as o}from"./index.09f51eb8.js";const c={},s=e=>(n("data-v-8b22d99b"),e=e(),l(),e),a={class:"loading","data-testid":"loading"},i=s(()=>o("div",null,null,-1)),u=s(()=>o("div",null,null,-1)),p=s(()=>o("div",null,null,-1)),r=s(()=>o("div",null,null,-1)),h=s(()=>o("div",null,null,-1)),v=[i,u,p,r,h];function b(e,x){return _(),d("div",a,v)}const f=t(c,[["render",b],["__scopeId","data-v-8b22d99b"]]);export{f as L}; +import{D as t,o as _,j as d,B as n,C as l,l as o}from"./index.47c8bf16.js";const c={},s=e=>(n("data-v-8b22d99b"),e=e(),l(),e),a={class:"loading","data-testid":"loading"},i=s(()=>o("div",null,null,-1)),u=s(()=>o("div",null,null,-1)),p=s(()=>o("div",null,null,-1)),r=s(()=>o("div",null,null,-1)),h=s(()=>o("div",null,null,-1)),v=[i,u,p,r,h];function b(e,x){return _(),d("div",a,v)}const f=t(c,[["render",b],["__scopeId","data-v-8b22d99b"]]);export{f as L}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MainOverviewView.bf68d1a4.js b/app/kuma-ui/pkg/resources/data/assets/MainOverviewView.5436bc63.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/MainOverviewView.bf68d1a4.js rename to app/kuma-ui/pkg/resources/data/assets/MainOverviewView.5436bc63.js index dd9865ceadd2..0c2b4909c98f 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MainOverviewView.bf68d1a4.js +++ b/app/kuma-ui/pkg/resources/data/assets/MainOverviewView.5436bc63.js @@ -1 +1 @@ -import{_ as r,a as o,M as V}from"./MeshResources.dec72e27.js";import{d as y,f as a,g as P,o as c,j as w,l as z,u as t,c as d,z as g,a as s,F as k,q as x,D}from"./index.09f51eb8.js";const I={class:"chart-container mt-16"},S=y({__name:"MainOverviewView",setup(O){const e=x(),n=a(()=>e.getters["config/getMulticlusterStatus"]),u=a(()=>e.getters.getServiceResourcesFetching),l=a(()=>e.getters.getZonesInsightsFetching),i=a(()=>e.getters.getMeshInsightsFetching),_=a(()=>e.getters.getChart("services")),f=a(()=>e.getters.getChart("dataplanes")),v=a(()=>e.getters.getChart("meshes")),p=a(()=>e.getters.getChart("zones")),m=a(()=>e.getters.getChart("zonesCPVersions")),C=a(()=>e.getters.getChart("kumaDPVersions")),M=a(()=>e.getters.getChart("envoyVersions"));P(()=>n.value,function(){h()}),h();function h(){e.dispatch("fetchMeshInsights"),e.dispatch("fetchServices"),e.dispatch("fetchZonesInsights",n.value),n.value&&e.dispatch("fetchTotalClusterCount")}return(Z,F)=>(c(),w(k,null,[z("div",I,[t(n)?(c(),d(r,{key:0,class:"chart chart-1/2 chart-offset-left-1/6",title:{singular:"Zone",plural:"Zones"},data:t(p).data,url:{name:"zones"},"is-loading":t(l)},null,8,["data","is-loading"])):g("",!0),t(n)?(c(),d(o,{key:1,class:"chart chart-1/2 chart-offset-right-1/6",title:"ZONE CP",data:t(m).data,url:{name:"zones"},"is-loading":t(l)},null,8,["data","is-loading"])):g("",!0),s(r,{class:"chart chart-1/3",title:{singular:"Mesh",plural:"Meshes"},data:t(v).data,"is-loading":t(i)},null,8,["data","is-loading"]),s(r,{class:"chart chart-1/3",title:{singular:"Service",plural:"Services"},data:t(_).data,"is-loading":t(u),"save-chart":""},null,8,["data","is-loading"]),s(r,{class:"chart chart-1/3",title:{singular:"DP Proxy",plural:"DP Proxies"},data:t(f).data,"is-loading":t(i)},null,8,["data","is-loading"]),s(o,{class:"chart chart-1/2 chart-offset-left-1/6",title:"KUMA DP",data:t(C).data,"is-loading":t(i)},null,8,["data","is-loading"]),s(o,{class:"chart chart-1/2 chart-offset-right-1/6",title:"ENVOY",data:t(M).data,"is-loading":t(i),"display-am-charts-logo":""},null,8,["data","is-loading"])]),s(V,{class:"mt-8"})],64))}});const E=D(S,[["__scopeId","data-v-d759b307"]]);export{E as default}; +import{_ as r,a as o,M as V}from"./MeshResources.971aa6a2.js";import{d as y,f as a,g as P,o as c,j as w,l as z,u as t,c as d,z as g,a as s,F as k,q as x,D}from"./index.47c8bf16.js";const I={class:"chart-container mt-16"},S=y({__name:"MainOverviewView",setup(O){const e=x(),n=a(()=>e.getters["config/getMulticlusterStatus"]),u=a(()=>e.getters.getServiceResourcesFetching),l=a(()=>e.getters.getZonesInsightsFetching),i=a(()=>e.getters.getMeshInsightsFetching),_=a(()=>e.getters.getChart("services")),f=a(()=>e.getters.getChart("dataplanes")),v=a(()=>e.getters.getChart("meshes")),p=a(()=>e.getters.getChart("zones")),m=a(()=>e.getters.getChart("zonesCPVersions")),C=a(()=>e.getters.getChart("kumaDPVersions")),M=a(()=>e.getters.getChart("envoyVersions"));P(()=>n.value,function(){h()}),h();function h(){e.dispatch("fetchMeshInsights"),e.dispatch("fetchServices"),e.dispatch("fetchZonesInsights",n.value),n.value&&e.dispatch("fetchTotalClusterCount")}return(Z,F)=>(c(),w(k,null,[z("div",I,[t(n)?(c(),d(r,{key:0,class:"chart chart-1/2 chart-offset-left-1/6",title:{singular:"Zone",plural:"Zones"},data:t(p).data,url:{name:"zones"},"is-loading":t(l)},null,8,["data","is-loading"])):g("",!0),t(n)?(c(),d(o,{key:1,class:"chart chart-1/2 chart-offset-right-1/6",title:"ZONE CP",data:t(m).data,url:{name:"zones"},"is-loading":t(l)},null,8,["data","is-loading"])):g("",!0),s(r,{class:"chart chart-1/3",title:{singular:"Mesh",plural:"Meshes"},data:t(v).data,"is-loading":t(i)},null,8,["data","is-loading"]),s(r,{class:"chart chart-1/3",title:{singular:"Service",plural:"Services"},data:t(_).data,"is-loading":t(u),"save-chart":""},null,8,["data","is-loading"]),s(r,{class:"chart chart-1/3",title:{singular:"DP Proxy",plural:"DP Proxies"},data:t(f).data,"is-loading":t(i)},null,8,["data","is-loading"]),s(o,{class:"chart chart-1/2 chart-offset-left-1/6",title:"KUMA DP",data:t(C).data,"is-loading":t(i)},null,8,["data","is-loading"]),s(o,{class:"chart chart-1/2 chart-offset-right-1/6",title:"ENVOY",data:t(M).data,"is-loading":t(i),"display-am-charts-logo":""},null,8,["data","is-loading"])]),s(V,{class:"mt-8"})],64))}});const E=D(S,[["__scopeId","data-v-d759b307"]]);export{E as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/Mesh.2bf78d03.js b/app/kuma-ui/pkg/resources/data/assets/Mesh.2bf78d03.js deleted file mode 100644 index 4381547f5e62..000000000000 --- a/app/kuma-ui/pkg/resources/data/assets/Mesh.2bf78d03.js +++ /dev/null @@ -1 +0,0 @@ -import{D as B,y as L,e as V,M as x,ck as I,cn as O,cT as C,S as U,k as R,o as c,j as N,l as t,a as m,w as s,t as w,b as v,c as g,z as u,m as r,v as p,cU as _,cD as D,i as E}from"./index.09f51eb8.js";import{_ as P}from"./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js";import{f as K}from"./formatForCLI.199be697.js";import{F,S as z,E as j}from"./EntityScanner.ff503354.js";import{T as Y}from"./TabsWidget.55b438d0.js";import"./_commonjsHelpers.f037b798.js";import"./index.58caa11d.js";import"./ErrorBlock.6cb5eaea.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js";const W={mtls:{enabledBackend:null,backends:[]},tracing:{defaultBackend:null,backends:[{name:null,type:null}]},logging:{backends:[{name:null,format:'{ "destination": "%KUMA_DESTINATION_SERVICE%", "destinationAddress": "%UPSTREAM_LOCAL_ADDRESS%", "source": "%KUMA_SOURCE_SERVICE%", "sourceAddress": "%KUMA_SOURCE_ADDRESS%", "bytesReceived": "%BYTES_RECEIVED%", "bytesSent": "%BYTES_SENT%"}',type:null}]},metrics:{enabledBackend:null,backends:[{name:null,type:null}]}};function A(){return{meshName:"",meshCAName:"",meshLoggingBackend:"",meshTracingBackend:"",meshMetricsName:"",meshTracingZipkinURL:"",mtlsEnabled:"disabled",meshCA:"builtin",loggingEnabled:"disabled",loggingType:"tcp",meshLoggingPath:"/",meshLoggingAddress:"127.0.0.1:5000",meshLoggingBackendFormat:'{ start_time: "%START_TIME%", source: "%KUMA_SOURCE_SERVICE%", destination: "%KUMA_DESTINATION_SERVICE%", source_address: "%KUMA_SOURCE_ADDRESS_WITHOUT_PORT%", destination_address: "%UPSTREAM_HOST%", duration_millis: "%DURATION%", bytes_received: "%BYTES_RECEIVED%", bytes_sent: "%BYTES_SENT%" }',tracingEnabled:"disabled",meshTracingType:"zipkin",meshTracingSampling:99.9,metricsEnabled:"disabled",meshMetricsType:"prometheus",meshMetricsDataplanePort:5670,meshMetricsDataplanePath:"/metrics"}}function G(o,a){return Object.keys(o).filter(l=>!a.includes(l)).map(l=>Object.assign({},{[l]:o[l]})).reduce((l,T)=>Object.assign(l,T),{})}const Z={name:"MeshWizard",components:{CodeBlock:P,FormFragment:F,TabsWidget:Y,StepSkeleton:z,EntityScanner:j,KAlert:L,KButton:V,KCard:x},data(){return{hasStoredMeshData:!1,productName:I,selectedTab:"",schema:W,steps:[{label:"General & Security",slug:"general"},{label:"Logging",slug:"logging"},{label:"Tracing",slug:"tracing"},{label:"Metrics",slug:"metrics"},{label:"Install",slug:"complete"}],tabs:[{hash:"#kubernetes",title:"Kubernetes"},{hash:"#universal",title:"Universal"}],sidebarContent:[{name:"mesh"},{name:"did-you-know"}],formConditions:{mtlsEnabled:!1,loggingEnabled:!1,tracingEnabled:!1,metricsEnabled:!1,loggingType:null},startScanner:!1,scanFound:!1,hideScannerSiblings:!1,scanError:!1,isComplete:!1,validate:A(),vmsg:[],utm:"?utm_source=Kuma&utm_medium=Kuma-GUI"}},computed:{...O({title:"config/getTagline",kumaDocsVersion:"config/getKumaDocsVersion",environment:"config/getEnvironment"}),codeOutput(){const o=this.schema,a=Object.assign({},o),l=this.validate;if(!l)return;const T=l.mtlsEnabled==="enabled",e=l.loggingEnabled==="enabled",h=l.tracingEnabled==="enabled",S=l.metricsEnabled==="enabled",M={mtls:T,logging:e,tracing:h,metrics:S},d=[];if(Object.entries(M).forEach(i=>{const k=i[1],y=i[0];k?d.filter(n=>n!==y):d.push(y)}),T){a.mtls.enabled=!0;const i=a.mtls,k=this.validate.meshCA,y=this.validate.meshCAName;i.backends=[],i.enabledBackend=y,k==="provided"?i.backends=[{name:y,type:k,conf:{cert:{secret:""},key:{secret:""}}}]:i.backends=[{name:y,type:k}]}if(e){const i=a.logging.backends[0],k=i.format;i.conf={},i.name=l.meshLoggingBackend,i.type=l.loggingType,i.format=l.meshLoggingBackendFormat||k,l.loggingType==="tcp"?i.conf.address=l.meshLoggingAddress||"127.0.0.1:5000":l.loggingType==="file"&&(i.conf.path=l.meshLoggingPath)}if(h){const i=a.tracing;i.defaultBackend=l.meshTracingBackend,i.backends[0].type=l.meshTracingType||"zipkin",i.backends[0].name=l.meshTracingBackend,i.backends[0].sampling=l.meshTracingSampling||100,i.backends[0].conf={},i.backends[0].conf.url=l.meshTracingZipkinURL}if(S){const i=a.metrics;i.backends[0].conf={},i.enabledBackend=l.meshMetricsName,i.backends[0].type=l.meshMetricsType||"prometheus",i.backends[0].name=l.meshMetricsName,i.backends[0].conf.port=l.meshMetricsDataplanePort||5670,i.backends[0].conf.path=l.meshMetricsDataplanePath||"/metrics"}const b=G(a,d);let f;return this.selectedTab==="#kubernetes"?(f={apiVersion:"kuma.io/v1alpha1",kind:"Mesh",metadata:{name:l.meshName}},Object.keys(b).length>0&&(f.spec=b)):f={type:"Mesh",name:l.meshName,...b},K(f,'" | kumactl apply -f -')},nextDisabled(){const{meshName:o,meshCAName:a,meshLoggingBackend:l,meshTracingBackend:T,meshTracingZipkinURL:e,meshMetricsName:h,mtlsEnabled:S,loggingEnabled:M,tracingEnabled:d,metricsEnabled:b,meshLoggingPath:f,loggingType:i}=this.validate;return!o.length||S==="enabled"&&!a?!0:this.$route.query.step==="1"?M==="disabled"?!1:l?i==="file"&&!f:!0:this.$route.query.step==="2"?d==="enabled"&&!(T&&e):this.$route.query.step==="3"?b==="enabled"&&!h:!1}},watch:{"validate.meshName"(o){const a=C(o);this.validate.meshName=a,this.validateMeshName(a)},"validate.meshCAName"(o){this.validate.meshCAName=C(o)},"validate.meshLoggingBackend"(o){this.validate.meshLoggingBackend=C(o)},"validate.meshTracingBackend"(o){this.validate.meshTracingBackend=C(o)},"validate.meshMetricsName"(o){this.validate.meshMetricsName=C(o)}},created(){const o=U.get("createMeshData");o!==null&&(this.validate=o,this.hasStoredMeshData=!0)},methods:{updateStoredData(){U.set("createMeshData",this.validate),this.hasStoredMeshData=!0},resetMeshData(){U.remove("createMeshData"),this.hasStoredMeshData=!1,this.validate=A()},onTabChange(o){this.selectedTab=o},hideSiblings(){this.hideScannerSiblings=!0},validateMeshName(o){!o||o===""?this.vmsg.meshName="A Mesh name is required to proceed":this.vmsg.meshName=""},scanForEntity(){const o=this.validate.meshName;this.scanComplete=!1,this.scanError=!1,o&&R.getMesh({name:o}).then(a=>{a&&a.name.length>0?(this.isRunning=!0,this.scanFound=!0):this.scanError=!0}).catch(a=>{this.scanError=!0,console.error(a)}).finally(()=>{this.scanComplete=!0})}}},q={class:"wizard"},H={class:"wizard__content"},J=t("code",null,"kubectl",-1),Q=t("code",null,"kumactl",-1),X=t("h3",null," To get started, please fill in the following information: ",-1),$={class:"k-input-label mx-2"},ee=t("span",null,"Disabled",-1),te={class:"k-input-label mx-2"},ae=t("span",null,"Enabled",-1),ne=t("option",{value:"builtin"}," builtin ",-1),se=t("option",{value:"provided"}," provided ",-1),le=[ne,se],ie=t("p",{class:"help"}," If you've enabled mTLS, you must select a CA. ",-1),oe=t("h3",null," Setup Logging ",-1),de=t("p",null,' You can setup as many logging backends as you need that you can later use to log traffic via the "TrafficLog" policy. In this wizard, we allow you to configure one backend, but you can add more manually if you wish. ',-1),re={class:"k-input-label mx-2"},ce=t("span",null,"Disabled",-1),me={class:"k-input-label mx-2"},ue=t("span",null,"Enabled",-1),ge={key:1},he=t("option",{value:"tcp"}," TCP ",-1),pe=t("option",{value:"file"}," File ",-1),be=[he,pe],fe=t("h3",null," Setup Tracing ",-1),ke=t("p",null,' You can setup as many tracing backends as you need that you can later use to log traffic via the "TrafficTrace" policy. In this wizard we allow you to configure one backend, but you can add more manually as you wish. ',-1),ye={class:"k-input-label mx-2"},ve=t("span",null,"Disabled",-1),_e={class:"k-input-label mx-2"},Ee=t("span",null,"Enabled",-1),Te=t("option",{value:"zipkin"}," Zipkin ",-1),Se=[Te],Me=t("h3",null," Setup Metrics ",-1),we=t("p",null," You can expose metrics from every data-plane on a configurable path and port that a metrics service, like Prometheus, can use to fetch them. ",-1),Ce={class:"k-input-label mx-2"},Ne=t("span",null,"Disabled",-1),De={class:"k-input-label mx-2"},Ue=t("span",null,"Enabled",-1),Ae=t("option",{value:"prometheus"}," Prometheus ",-1),Be=[Ae],Le={key:0},Ve={key:0},xe=t("h3",null," Install a new Mesh ",-1),Ie=t("h3",null,"Searching\u2026",-1),Oe=t("p",null,"We are looking for your mesh.",-1),Re=t("h3",null,"Done!",-1),Pe={key:0},Ke=t("h3",null,"Mesh not found",-1),Fe=t("p",null,"We were unable to find your mesh.",-1),ze=t("p",null," You haven't filled any data out yet! Please return to the first step and fill out your information. ",-1),je=t("h3",null,"Mesh",-1),Ye=["href"],We=t("h3",null,"Did You Know?",-1),Ge=t("p",null," As you know, the GUI is read-only, but it will be providing instructions to create a new Mesh and verify everything worked well. ",-1);function Ze(o,a,l,T,e,h){const S=E("KButton"),M=E("KAlert"),d=E("FormFragment"),b=E("KCard"),f=E("CodeBlock"),i=E("TabsWidget"),k=E("EntityScanner"),y=E("StepSkeleton");return c(),N("div",q,[t("div",H,[m(y,{steps:e.steps,"sidebar-content":e.sidebarContent,"footer-enabled":e.hideScannerSiblings===!1,"next-disabled":h.nextDisabled,onGoToStep:h.updateStoredData},{general:s(()=>[t("p",null," Welcome to the wizard for creating a new Mesh resource in "+w(e.productName)+". We will be providing you with a few steps that will get you started. ",1),t("p",null,[v(" As you know, the "+w(e.productName)+" GUI is read-only, so at the end of this wizard we will be generating the configuration that you can apply with either ",1),J,v(" (if you are running in Kubernetes mode) or "),Q,v(" / API (if you are running in Universal mode). ")]),X,m(b,{class:"my-6 k-card--small",title:"Mesh Information","has-shadow":""},{body:s(()=>[e.hasStoredMeshData?(c(),g(M,{key:0,class:"reset-mesh-data-alert",appearance:"info"},{alertMessage:s(()=>[v(" Want to start with an empty slate? ")]),actionButtons:s(()=>[m(S,{apperance:"outline",onClick:h.resetMeshData},{default:s(()=>[v(" Reset to defaults ")]),_:1},8,["onClick"])]),_:1})):u("",!0),m(d,{class:"mt-4",title:"Mesh name","for-attr":"mesh-name"},{default:s(()=>[r(t("input",{id:"mesh-name","onUpdate:modelValue":a[0]||(a[0]=n=>e.validate.meshName=n),type:"text",class:"k-input w-100","data-testid":"mesh-name",placeholder:"your-mesh-name",required:""},null,512),[[p,e.validate.meshName]]),e.vmsg.meshName?(c(),g(M,{key:0,appearance:"danger",size:"small","alert-message":e.vmsg.meshName},null,8,["alert-message"])):u("",!0)]),_:1}),m(d,{class:"mt-4",title:"Mutual TLS"},{default:s(()=>[t("label",$,[r(t("input",{ref:"mtlsDisabled","onUpdate:modelValue":a[1]||(a[1]=n=>e.validate.mtlsEnabled=n),value:"disabled",name:"mtls",type:"radio",class:"k-input mr-2","data-testid":"mesh-mtls-disabled"},null,512),[[_,e.validate.mtlsEnabled]]),ee]),t("label",te,[r(t("input",{id:"mtls-enabled","onUpdate:modelValue":a[2]||(a[2]=n=>e.validate.mtlsEnabled=n),value:"enabled",name:"mtls",type:"radio",class:"k-input mr-2","data-testid":"mesh-mtls-enabled"},null,512),[[_,e.validate.mtlsEnabled]]),ae])]),_:1}),e.validate.mtlsEnabled==="enabled"?(c(),g(d,{key:1,class:"mt-4",title:"Certificate name","for-attr":"certificate-name"},{default:s(()=>[r(t("input",{id:"certificate-name","onUpdate:modelValue":a[3]||(a[3]=n=>e.validate.meshCAName=n),type:"text",class:"k-input w-100",placeholder:"your-certificate-name","data-testid":"mesh-certificate-name"},null,512),[[p,e.validate.meshCAName]])]),_:1})):u("",!0),e.validate.mtlsEnabled==="enabled"?(c(),g(d,{key:2,class:"mt-4",title:"Certificate Authority","for-attr":"certificate-authority"},{default:s(()=>[r(t("select",{id:"certificate-authority","onUpdate:modelValue":a[4]||(a[4]=n=>e.validate.meshCA=n),class:"k-input w-100",name:"certificate-authority"},le,512),[[D,e.validate.meshCA]]),ie]),_:1})):u("",!0)]),_:1})]),logging:s(()=>[oe,de,m(b,{class:"my-6 k-card--small",title:"Logging Configuration","has-shadow":""},{body:s(()=>[m(d,{title:"Logging"},{default:s(()=>[t("label",re,[r(t("input",{id:"logging-disabled","onUpdate:modelValue":a[5]||(a[5]=n=>e.validate.loggingEnabled=n),value:"disabled",name:"logging",type:"radio",class:"k-input mr-2","data-testid":"mesh-logging-disabled"},null,512),[[_,e.validate.loggingEnabled]]),ce]),t("label",me,[r(t("input",{id:"logging-enabled","onUpdate:modelValue":a[6]||(a[6]=n=>e.validate.loggingEnabled=n),value:"enabled",name:"logging",type:"radio",class:"k-input mr-2","data-testid":"mesh-logging-enabled"},null,512),[[_,e.validate.loggingEnabled]]),ue])]),_:1}),e.validate.loggingEnabled==="enabled"?(c(),g(d,{key:0,class:"mt-4",title:"Backend name","for-attr":"backend-name"},{default:s(()=>[r(t("input",{id:"backend-name","onUpdate:modelValue":a[7]||(a[7]=n=>e.validate.meshLoggingBackend=n),type:"text",class:"k-input w-100",placeholder:"your-backend-name","data-testid":"mesh-logging-backend-name"},null,512),[[p,e.validate.meshLoggingBackend]])]),_:1})):u("",!0),e.validate.loggingEnabled==="enabled"?(c(),N("div",ge,[m(d,{class:"mt-4",title:"Type"},{default:s(()=>[r(t("select",{id:"logging-type",ref:"loggingTypeSelect","onUpdate:modelValue":a[8]||(a[8]=n=>e.validate.loggingType=n),class:"k-input w-100",name:"logging-type"},be,512),[[D,e.validate.loggingType]])]),_:1}),e.validate.loggingType==="file"?(c(),g(d,{key:0,class:"mt-4",title:"Path","for-attr":"backend-address"},{default:s(()=>[r(t("input",{id:"backend-address","onUpdate:modelValue":a[9]||(a[9]=n=>e.validate.meshLoggingPath=n),type:"text",class:"k-input w-100"},null,512),[[p,e.validate.meshLoggingPath]])]),_:1})):u("",!0),e.validate.loggingType==="tcp"?(c(),g(d,{key:1,class:"mt-4",title:"Address","for-attr":"backend-address"},{default:s(()=>[r(t("input",{id:"backend-address","onUpdate:modelValue":a[10]||(a[10]=n=>e.validate.meshLoggingAddress=n),type:"text",class:"k-input w-100"},null,512),[[p,e.validate.meshLoggingAddress]])]),_:1})):u("",!0),m(d,{class:"mt-4",title:"Format","for-attr":"backend-format"},{default:s(()=>[r(t("textarea",{id:"backend-format","onUpdate:modelValue":a[11]||(a[11]=n=>e.validate.meshLoggingBackendFormat=n),class:"k-input w-100 code-sample",rows:"12"},null,512),[[p,e.validate.meshLoggingBackendFormat]])]),_:1})])):u("",!0)]),_:1})]),tracing:s(()=>[fe,ke,m(b,{class:"my-6 k-card--small",title:"Tracing Configuration","has-shadow":""},{body:s(()=>[m(d,{title:"Tracing"},{default:s(()=>[t("label",ye,[r(t("input",{id:"tracing-disabled","onUpdate:modelValue":a[12]||(a[12]=n=>e.validate.tracingEnabled=n),value:"disabled",name:"tracing",type:"radio",class:"k-input mr-2"},null,512),[[_,e.validate.tracingEnabled]]),ve]),t("label",_e,[r(t("input",{id:"tracing-enabled","onUpdate:modelValue":a[13]||(a[13]=n=>e.validate.tracingEnabled=n),value:"enabled",name:"tracing",type:"radio",class:"k-input mr-2","data-testid":"mesh-tracing-enabled"},null,512),[[_,e.validate.tracingEnabled]]),Ee])]),_:1}),e.validate.tracingEnabled==="enabled"?(c(),g(d,{key:0,class:"mt-4",title:"Backend name","for-attr":"tracing-backend-name"},{default:s(()=>[r(t("input",{id:"tracing-backend-name","onUpdate:modelValue":a[14]||(a[14]=n=>e.validate.meshTracingBackend=n),type:"text",class:"k-input w-100",placeholder:"your-tracing-backend-name","data-testid":"mesh-tracing-backend-name"},null,512),[[p,e.validate.meshTracingBackend]])]),_:1})):u("",!0),e.validate.tracingEnabled==="enabled"?(c(),g(d,{key:1,class:"mt-4",title:"Type","for-attr":"tracing-type"},{default:s(()=>[r(t("select",{id:"tracing-type","onUpdate:modelValue":a[15]||(a[15]=n=>e.validate.meshTracingType=n),class:"k-input w-100",name:"tracing-type"},Se,512),[[D,e.validate.meshTracingType]])]),_:1})):u("",!0),e.validate.tracingEnabled==="enabled"?(c(),g(d,{key:2,class:"mt-4",title:"Sampling","for-attr":"tracing-sampling"},{default:s(()=>[r(t("input",{id:"tracing-sampling","onUpdate:modelValue":a[16]||(a[16]=n=>e.validate.meshTracingSampling=n),type:"number",class:"k-input w-100",step:"0.1",min:"0",max:"100"},null,512),[[p,e.validate.meshTracingSampling]])]),_:1})):u("",!0),e.validate.tracingEnabled==="enabled"?(c(),g(d,{key:3,class:"mt-4",title:"URL","for-attr":"tracing-zipkin-url"},{default:s(()=>[r(t("input",{id:"tracing-zipkin-url","onUpdate:modelValue":a[17]||(a[17]=n=>e.validate.meshTracingZipkinURL=n),type:"text",class:"k-input w-100",placeholder:"http://zipkin.url:1234","data-testid":"mesh-tracing-url"},null,512),[[p,e.validate.meshTracingZipkinURL]])]),_:1})):u("",!0)]),_:1})]),metrics:s(()=>[Me,we,m(b,{class:"my-6 k-card--small",title:"Metrics Configuration","has-shadow":""},{body:s(()=>[m(d,{title:"Metrics"},{default:s(()=>[t("label",Ce,[r(t("input",{id:"metrics-disabled","onUpdate:modelValue":a[18]||(a[18]=n=>e.validate.metricsEnabled=n),value:"disabled",name:"metrics",type:"radio",class:"k-input mr-2"},null,512),[[_,e.validate.metricsEnabled]]),Ne]),t("label",De,[r(t("input",{id:"metrics-enabled","onUpdate:modelValue":a[19]||(a[19]=n=>e.validate.metricsEnabled=n),value:"enabled",name:"metrics",type:"radio",class:"k-input mr-2","data-testid":"mesh-metrics-enabled"},null,512),[[_,e.validate.metricsEnabled]]),Ue])]),_:1}),e.validate.metricsEnabled==="enabled"?(c(),g(d,{key:0,class:"mt-4",title:"Backend name","for-attr":"metrics-name"},{default:s(()=>[r(t("input",{id:"metrics-name","onUpdate:modelValue":a[20]||(a[20]=n=>e.validate.meshMetricsName=n),type:"text",class:"k-input w-100",placeholder:"your-metrics-backend-name","data-testid":"mesh-metrics-backend-name"},null,512),[[p,e.validate.meshMetricsName]])]),_:1})):u("",!0),e.validate.metricsEnabled==="enabled"?(c(),g(d,{key:1,class:"mt-4",title:"Type","for-attr":"metrics-type"},{default:s(()=>[r(t("select",{id:"metrics-type","onUpdate:modelValue":a[21]||(a[21]=n=>e.validate.meshMetricsType=n),class:"k-input w-100",name:"metrics-type"},Be,512),[[D,e.validate.meshMetricsType]])]),_:1})):u("",!0),e.validate.metricsEnabled==="enabled"?(c(),g(d,{key:2,class:"mt-4",title:"Dataplane port","for-attr":"metrics-dataplane-port"},{default:s(()=>[r(t("input",{id:"metrics-dataplane-port","onUpdate:modelValue":a[22]||(a[22]=n=>e.validate.meshMetricsDataplanePort=n),type:"number",class:"k-input w-100",step:"1",min:"0",max:"65535",placeholder:"1234"},null,512),[[p,e.validate.meshMetricsDataplanePort]])]),_:1})):u("",!0),e.validate.metricsEnabled==="enabled"?(c(),g(d,{key:3,class:"mt-4",title:"Dataplane path","for-attr":"metrics-dataplane-path"},{default:s(()=>[r(t("input",{id:"metrics-dataplane-path","onUpdate:modelValue":a[23]||(a[23]=n=>e.validate.meshMetricsDataplanePath=n),type:"text",class:"k-input w-100"},null,512),[[p,e.validate.meshMetricsDataplanePath]])]),_:1})):u("",!0)]),_:1})]),complete:s(()=>[h.codeOutput?(c(),N("div",Le,[e.hideScannerSiblings===!1?(c(),N("div",Ve,[xe,t("p",null," Since the "+w(e.productName)+" GUI is read-only mode to follow Ops best practices, please execute the following command in your shell to create the entity. "+w(e.productName)+" will automatically detect when the new entity has been created. ",1),m(i,{tabs:e.tabs,"initial-tab-override":o.environment,onOnTabChange:h.onTabChange},{kubernetes:s(()=>[m(f,{id:"code-block-kubernetes-command",language:"bash",code:h.codeOutput},null,8,["code"])]),universal:s(()=>[m(f,{id:"code-block-universal-command",language:"bash",code:h.codeOutput},null,8,["code"])]),_:1},8,["tabs","initial-tab-override","onOnTabChange"])])):u("",!0),m(k,{"loader-function":h.scanForEntity,"should-start":!0,"has-error":e.scanError,"can-complete":e.scanFound,onHideSiblings:h.hideSiblings},{"loading-title":s(()=>[Ie]),"loading-content":s(()=>[Oe]),"complete-title":s(()=>[Re]),"complete-content":s(()=>[t("p",null,[v(" Your mesh "),e.validate.meshName?(c(),N("strong",Pe,w(e.validate.meshName),1)):u("",!0),v(" was found! ")]),t("p",null,[m(S,{appearance:"primary",to:{name:"mesh-detail-view",params:{mesh:e.validate.meshName}}},{default:s(()=>[v(" Go to mesh "+w(e.validate.meshName),1)]),_:1},8,["to"])])]),"error-title":s(()=>[Ke]),"error-content":s(()=>[Fe]),_:1},8,["loader-function","has-error","can-complete","onHideSiblings"])])):(c(),g(M,{key:1,appearance:"danger"},{alertMessage:s(()=>[ze]),_:1}))]),mesh:s(()=>[je,t("p",null," In "+w(o.title)+", a Mesh resource allows you to define an isolated environment for your data-planes and policies. It's isolated because the mTLS CA you choose can be different from the one configured for our Meshes. Ideally, you will have either a large Mesh with all the workloads, or one Mesh per application for better isolation. ",1),t("p",null,[t("a",{href:`https://kuma.io/docs/${o.kumaDocsVersion}/policies/mesh/${e.utm}`,target:"_blank"}," Learn More ",8,Ye)])]),"did-you-know":s(()=>[We,Ge]),_:1},8,["steps","sidebar-content","footer-enabled","next-disabled","onGoToStep"])])])}const nt=B(Z,[["render",Ze]]);export{nt as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/Mesh.4eb48726.js b/app/kuma-ui/pkg/resources/data/assets/Mesh.4eb48726.js new file mode 100644 index 000000000000..c396e177e39e --- /dev/null +++ b/app/kuma-ui/pkg/resources/data/assets/Mesh.4eb48726.js @@ -0,0 +1 @@ +import{D as L,y as V,e as x,M as I,ck as O,cn as R,cT as C,S as U,k as P,o as c,j as N,l as t,a as m,w as s,t as w,b as y,c as g,z as u,m as r,v as p,cU as v,cD as D,i as _}from"./index.47c8bf16.js";import{_ as K}from"./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js";import{f as F}from"./formatForCLI.199be697.js";import{F as z,S as j,E as Y}from"./EntityScanner.7ca94b51.js";import{T as W}from"./TabsWidget.a8296b4a.js";import"./_commonjsHelpers.f037b798.js";import"./index.58caa11d.js";import"./ErrorBlock.456ea0f6.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js";const G={mtls:{enabledBackend:null,backends:[]},tracing:{defaultBackend:null,backends:[{name:null,type:null}]},logging:{backends:[{name:null,format:'{ "destination": "%KUMA_DESTINATION_SERVICE%", "destinationAddress": "%UPSTREAM_LOCAL_ADDRESS%", "source": "%KUMA_SOURCE_SERVICE%", "sourceAddress": "%KUMA_SOURCE_ADDRESS%", "bytesReceived": "%BYTES_RECEIVED%", "bytesSent": "%BYTES_SENT%"}',type:null}]},metrics:{enabledBackend:null,backends:[{name:null,type:null}]}};function A(){return{meshName:"",meshCAName:"",meshLoggingBackend:"",meshTracingBackend:"",meshMetricsName:"",meshTracingZipkinURL:"",mtlsEnabled:"disabled",meshCA:"builtin",loggingEnabled:"disabled",loggingType:"tcp",meshLoggingPath:"/",meshLoggingAddress:"127.0.0.1:5000",meshLoggingBackendFormat:'{ start_time: "%START_TIME%", source: "%KUMA_SOURCE_SERVICE%", destination: "%KUMA_DESTINATION_SERVICE%", source_address: "%KUMA_SOURCE_ADDRESS_WITHOUT_PORT%", destination_address: "%UPSTREAM_HOST%", duration_millis: "%DURATION%", bytes_received: "%BYTES_RECEIVED%", bytes_sent: "%BYTES_SENT%" }',tracingEnabled:"disabled",meshTracingType:"zipkin",meshTracingSampling:99.9,metricsEnabled:"disabled",meshMetricsType:"prometheus",meshMetricsDataplanePort:5670,meshMetricsDataplanePath:"/metrics"}}function Z(i,a){return Object.keys(i).filter(l=>!a.includes(l)).map(l=>Object.assign({},{[l]:i[l]})).reduce((l,E)=>Object.assign(l,E),{})}const q={name:"MeshWizard",components:{CodeBlock:K,FormFragment:z,TabsWidget:W,StepSkeleton:j,EntityScanner:Y,KAlert:V,KButton:x,KCard:I},data(){return{hasStoredMeshData:!1,productName:O,selectedTab:"",schema:G,steps:[{label:"General & Security",slug:"general"},{label:"Logging",slug:"logging"},{label:"Tracing",slug:"tracing"},{label:"Metrics",slug:"metrics"},{label:"Install",slug:"complete"}],tabs:[{hash:"#kubernetes",title:"Kubernetes"},{hash:"#universal",title:"Universal"}],sidebarContent:[{name:"mesh"},{name:"did-you-know"}],formConditions:{mtlsEnabled:!1,loggingEnabled:!1,tracingEnabled:!1,metricsEnabled:!1,loggingType:null},startScanner:!1,scanFound:!1,hideScannerSiblings:!1,scanError:!1,isComplete:!1,validate:A(),vmsg:[],utm:"?utm_source=Kuma&utm_medium=Kuma-GUI"}},computed:{...R({title:"config/getTagline",kumaDocsVersion:"config/getKumaDocsVersion",environment:"config/getEnvironment"}),codeOutput(){const i=this.schema,a=Object.assign({},i),l=this.validate;if(!l)return;const E=l.mtlsEnabled==="enabled",e=l.loggingEnabled==="enabled",h=l.tracingEnabled==="enabled",T=l.metricsEnabled==="enabled",S={mtls:E,logging:e,tracing:h,metrics:T},d=[];if(Object.entries(S).forEach(o=>{const k=o[1],n=o[0];k?d.filter(B=>B!==n):d.push(n)}),E){a.mtls.enabled=!0;const o=a.mtls,k=this.validate.meshCA,n=this.validate.meshCAName;o.backends=[],o.enabledBackend=n,k==="provided"?o.backends=[{name:n,type:k,conf:{cert:{secret:""},key:{secret:""}}}]:o.backends=[{name:n,type:k}]}if(e){const o=a.logging.backends[0],k=o.format;o.conf={},o.name=l.meshLoggingBackend,o.type=l.loggingType,o.format=l.meshLoggingBackendFormat||k,l.loggingType==="tcp"?o.conf.address=l.meshLoggingAddress||"127.0.0.1:5000":l.loggingType==="file"&&(o.conf.path=l.meshLoggingPath)}if(h){const o=a.tracing;o.defaultBackend=l.meshTracingBackend,o.backends[0].type=l.meshTracingType||"zipkin",o.backends[0].name=l.meshTracingBackend,o.backends[0].sampling=l.meshTracingSampling||100,o.backends[0].conf={},o.backends[0].conf.url=l.meshTracingZipkinURL}if(T){const o=a.metrics;o.backends[0].conf={},o.enabledBackend=l.meshMetricsName,o.backends[0].type=l.meshMetricsType||"prometheus",o.backends[0].name=l.meshMetricsName,o.backends[0].conf.port=l.meshMetricsDataplanePort||5670,o.backends[0].conf.path=l.meshMetricsDataplanePath||"/metrics"}const b=Z(a,d);let f,M;return this.selectedTab==="#kubernetes"?(M="kubectl",f={apiVersion:"kuma.io/v1alpha1",kind:"Mesh",metadata:{name:l.meshName}},Object.keys(b).length>0&&(f.spec=b)):(M="kumactl",f={type:"Mesh",name:l.meshName,...b}),F(f,`" | ${M} apply -f -`)},nextDisabled(){const{meshName:i,meshCAName:a,meshLoggingBackend:l,meshTracingBackend:E,meshTracingZipkinURL:e,meshMetricsName:h,mtlsEnabled:T,loggingEnabled:S,tracingEnabled:d,metricsEnabled:b,meshLoggingPath:f,loggingType:M}=this.validate;return!i.length||T==="enabled"&&!a?!0:this.$route.query.step==="1"?S==="disabled"?!1:l?M==="file"&&!f:!0:this.$route.query.step==="2"?d==="enabled"&&!(E&&e):this.$route.query.step==="3"?b==="enabled"&&!h:!1}},watch:{"validate.meshName"(i){const a=C(i);this.validate.meshName=a,this.validateMeshName(a)},"validate.meshCAName"(i){this.validate.meshCAName=C(i)},"validate.meshLoggingBackend"(i){this.validate.meshLoggingBackend=C(i)},"validate.meshTracingBackend"(i){this.validate.meshTracingBackend=C(i)},"validate.meshMetricsName"(i){this.validate.meshMetricsName=C(i)}},created(){const i=U.get("createMeshData");i!==null&&(this.validate=i,this.hasStoredMeshData=!0)},methods:{updateStoredData(){U.set("createMeshData",this.validate),this.hasStoredMeshData=!0},resetMeshData(){U.remove("createMeshData"),this.hasStoredMeshData=!1,this.validate=A()},onTabChange(i){this.selectedTab=i},hideSiblings(){this.hideScannerSiblings=!0},validateMeshName(i){!i||i===""?this.vmsg.meshName="A Mesh name is required to proceed":this.vmsg.meshName=""},scanForEntity(){const i=this.validate.meshName;this.scanComplete=!1,this.scanError=!1,i&&P.getMesh({name:i}).then(a=>{a&&a.name.length>0?(this.isRunning=!0,this.scanFound=!0):this.scanError=!0}).catch(a=>{this.scanError=!0,console.error(a)}).finally(()=>{this.scanComplete=!0})}}},H={class:"wizard"},J={class:"wizard__content"},Q=t("code",null,"kubectl",-1),X=t("code",null,"kumactl",-1),$=t("h3",null," To get started, please fill in the following information: ",-1),ee={class:"k-input-label mx-2"},te=t("span",null,"Disabled",-1),ae={class:"k-input-label mx-2"},ne=t("span",null,"Enabled",-1),se=t("option",{value:"builtin"}," builtin ",-1),le=t("option",{value:"provided"}," provided ",-1),ie=[se,le],oe=t("p",{class:"help"}," If you've enabled mTLS, you must select a CA. ",-1),de=t("h3",null," Setup Logging ",-1),re=t("p",null,' You can setup as many logging backends as you need that you can later use to log traffic via the "TrafficLog" policy. In this wizard, we allow you to configure one backend, but you can add more manually if you wish. ',-1),ce={class:"k-input-label mx-2"},me=t("span",null,"Disabled",-1),ue={class:"k-input-label mx-2"},ge=t("span",null,"Enabled",-1),he={key:1},pe=t("option",{value:"tcp"}," TCP ",-1),be=t("option",{value:"file"}," File ",-1),fe=[pe,be],ke=t("h3",null," Setup Tracing ",-1),ye=t("p",null,' You can setup as many tracing backends as you need that you can later use to log traffic via the "TrafficTrace" policy. In this wizard we allow you to configure one backend, but you can add more manually as you wish. ',-1),ve={class:"k-input-label mx-2"},_e=t("span",null,"Disabled",-1),Ee={class:"k-input-label mx-2"},Te=t("span",null,"Enabled",-1),Se=t("option",{value:"zipkin"}," Zipkin ",-1),Me=[Se],we=t("h3",null," Setup Metrics ",-1),Ce=t("p",null," You can expose metrics from every data-plane on a configurable path and port that a metrics service, like Prometheus, can use to fetch them. ",-1),Ne={class:"k-input-label mx-2"},De=t("span",null,"Disabled",-1),Ue={class:"k-input-label mx-2"},Ae=t("span",null,"Enabled",-1),Be=t("option",{value:"prometheus"}," Prometheus ",-1),Le=[Be],Ve={key:0},xe={key:0},Ie=t("h3",null," Install a new Mesh ",-1),Oe=t("h3",null,"Searching\u2026",-1),Re=t("p",null,"We are looking for your mesh.",-1),Pe=t("h3",null,"Done!",-1),Ke={key:0},Fe=t("h3",null,"Mesh not found",-1),ze=t("p",null,"We were unable to find your mesh.",-1),je=t("p",null," You haven't filled any data out yet! Please return to the first step and fill out your information. ",-1),Ye=t("h3",null,"Mesh",-1),We=["href"],Ge=t("h3",null,"Did You Know?",-1),Ze=t("p",null," As you know, the GUI is read-only, but it will be providing instructions to create a new Mesh and verify everything worked well. ",-1);function qe(i,a,l,E,e,h){const T=_("KButton"),S=_("KAlert"),d=_("FormFragment"),b=_("KCard"),f=_("CodeBlock"),M=_("TabsWidget"),o=_("EntityScanner"),k=_("StepSkeleton");return c(),N("div",H,[t("div",J,[m(k,{steps:e.steps,"sidebar-content":e.sidebarContent,"footer-enabled":e.hideScannerSiblings===!1,"next-disabled":h.nextDisabled,onGoToStep:h.updateStoredData},{general:s(()=>[t("p",null," Welcome to the wizard for creating a new Mesh resource in "+w(e.productName)+". We will be providing you with a few steps that will get you started. ",1),t("p",null,[y(" As you know, the "+w(e.productName)+" GUI is read-only, so at the end of this wizard we will be generating the configuration that you can apply with either ",1),Q,y(" (if you are running in Kubernetes mode) or "),X,y(" / API (if you are running in Universal mode). ")]),$,m(b,{class:"my-6 k-card--small",title:"Mesh Information","has-shadow":""},{body:s(()=>[e.hasStoredMeshData?(c(),g(S,{key:0,class:"reset-mesh-data-alert",appearance:"info"},{alertMessage:s(()=>[y(" Want to start with an empty slate? ")]),actionButtons:s(()=>[m(T,{apperance:"outline",onClick:h.resetMeshData},{default:s(()=>[y(" Reset to defaults ")]),_:1},8,["onClick"])]),_:1})):u("",!0),m(d,{class:"mt-4",title:"Mesh name","for-attr":"mesh-name"},{default:s(()=>[r(t("input",{id:"mesh-name","onUpdate:modelValue":a[0]||(a[0]=n=>e.validate.meshName=n),type:"text",class:"k-input w-100","data-testid":"mesh-name",placeholder:"your-mesh-name",required:""},null,512),[[p,e.validate.meshName]]),e.vmsg.meshName?(c(),g(S,{key:0,appearance:"danger",size:"small","alert-message":e.vmsg.meshName},null,8,["alert-message"])):u("",!0)]),_:1}),m(d,{class:"mt-4",title:"Mutual TLS"},{default:s(()=>[t("label",ee,[r(t("input",{ref:"mtlsDisabled","onUpdate:modelValue":a[1]||(a[1]=n=>e.validate.mtlsEnabled=n),value:"disabled",name:"mtls",type:"radio",class:"k-input mr-2","data-testid":"mesh-mtls-disabled"},null,512),[[v,e.validate.mtlsEnabled]]),te]),t("label",ae,[r(t("input",{id:"mtls-enabled","onUpdate:modelValue":a[2]||(a[2]=n=>e.validate.mtlsEnabled=n),value:"enabled",name:"mtls",type:"radio",class:"k-input mr-2","data-testid":"mesh-mtls-enabled"},null,512),[[v,e.validate.mtlsEnabled]]),ne])]),_:1}),e.validate.mtlsEnabled==="enabled"?(c(),g(d,{key:1,class:"mt-4",title:"Certificate name","for-attr":"certificate-name"},{default:s(()=>[r(t("input",{id:"certificate-name","onUpdate:modelValue":a[3]||(a[3]=n=>e.validate.meshCAName=n),type:"text",class:"k-input w-100",placeholder:"your-certificate-name","data-testid":"mesh-certificate-name"},null,512),[[p,e.validate.meshCAName]])]),_:1})):u("",!0),e.validate.mtlsEnabled==="enabled"?(c(),g(d,{key:2,class:"mt-4",title:"Certificate Authority","for-attr":"certificate-authority"},{default:s(()=>[r(t("select",{id:"certificate-authority","onUpdate:modelValue":a[4]||(a[4]=n=>e.validate.meshCA=n),class:"k-input w-100",name:"certificate-authority"},ie,512),[[D,e.validate.meshCA]]),oe]),_:1})):u("",!0)]),_:1})]),logging:s(()=>[de,re,m(b,{class:"my-6 k-card--small",title:"Logging Configuration","has-shadow":""},{body:s(()=>[m(d,{title:"Logging"},{default:s(()=>[t("label",ce,[r(t("input",{id:"logging-disabled","onUpdate:modelValue":a[5]||(a[5]=n=>e.validate.loggingEnabled=n),value:"disabled",name:"logging",type:"radio",class:"k-input mr-2","data-testid":"mesh-logging-disabled"},null,512),[[v,e.validate.loggingEnabled]]),me]),t("label",ue,[r(t("input",{id:"logging-enabled","onUpdate:modelValue":a[6]||(a[6]=n=>e.validate.loggingEnabled=n),value:"enabled",name:"logging",type:"radio",class:"k-input mr-2","data-testid":"mesh-logging-enabled"},null,512),[[v,e.validate.loggingEnabled]]),ge])]),_:1}),e.validate.loggingEnabled==="enabled"?(c(),g(d,{key:0,class:"mt-4",title:"Backend name","for-attr":"backend-name"},{default:s(()=>[r(t("input",{id:"backend-name","onUpdate:modelValue":a[7]||(a[7]=n=>e.validate.meshLoggingBackend=n),type:"text",class:"k-input w-100",placeholder:"your-backend-name","data-testid":"mesh-logging-backend-name"},null,512),[[p,e.validate.meshLoggingBackend]])]),_:1})):u("",!0),e.validate.loggingEnabled==="enabled"?(c(),N("div",he,[m(d,{class:"mt-4",title:"Type"},{default:s(()=>[r(t("select",{id:"logging-type",ref:"loggingTypeSelect","onUpdate:modelValue":a[8]||(a[8]=n=>e.validate.loggingType=n),class:"k-input w-100",name:"logging-type"},fe,512),[[D,e.validate.loggingType]])]),_:1}),e.validate.loggingType==="file"?(c(),g(d,{key:0,class:"mt-4",title:"Path","for-attr":"backend-address"},{default:s(()=>[r(t("input",{id:"backend-address","onUpdate:modelValue":a[9]||(a[9]=n=>e.validate.meshLoggingPath=n),type:"text",class:"k-input w-100"},null,512),[[p,e.validate.meshLoggingPath]])]),_:1})):u("",!0),e.validate.loggingType==="tcp"?(c(),g(d,{key:1,class:"mt-4",title:"Address","for-attr":"backend-address"},{default:s(()=>[r(t("input",{id:"backend-address","onUpdate:modelValue":a[10]||(a[10]=n=>e.validate.meshLoggingAddress=n),type:"text",class:"k-input w-100"},null,512),[[p,e.validate.meshLoggingAddress]])]),_:1})):u("",!0),m(d,{class:"mt-4",title:"Format","for-attr":"backend-format"},{default:s(()=>[r(t("textarea",{id:"backend-format","onUpdate:modelValue":a[11]||(a[11]=n=>e.validate.meshLoggingBackendFormat=n),class:"k-input w-100 code-sample",rows:"12"},null,512),[[p,e.validate.meshLoggingBackendFormat]])]),_:1})])):u("",!0)]),_:1})]),tracing:s(()=>[ke,ye,m(b,{class:"my-6 k-card--small",title:"Tracing Configuration","has-shadow":""},{body:s(()=>[m(d,{title:"Tracing"},{default:s(()=>[t("label",ve,[r(t("input",{id:"tracing-disabled","onUpdate:modelValue":a[12]||(a[12]=n=>e.validate.tracingEnabled=n),value:"disabled",name:"tracing",type:"radio",class:"k-input mr-2"},null,512),[[v,e.validate.tracingEnabled]]),_e]),t("label",Ee,[r(t("input",{id:"tracing-enabled","onUpdate:modelValue":a[13]||(a[13]=n=>e.validate.tracingEnabled=n),value:"enabled",name:"tracing",type:"radio",class:"k-input mr-2","data-testid":"mesh-tracing-enabled"},null,512),[[v,e.validate.tracingEnabled]]),Te])]),_:1}),e.validate.tracingEnabled==="enabled"?(c(),g(d,{key:0,class:"mt-4",title:"Backend name","for-attr":"tracing-backend-name"},{default:s(()=>[r(t("input",{id:"tracing-backend-name","onUpdate:modelValue":a[14]||(a[14]=n=>e.validate.meshTracingBackend=n),type:"text",class:"k-input w-100",placeholder:"your-tracing-backend-name","data-testid":"mesh-tracing-backend-name"},null,512),[[p,e.validate.meshTracingBackend]])]),_:1})):u("",!0),e.validate.tracingEnabled==="enabled"?(c(),g(d,{key:1,class:"mt-4",title:"Type","for-attr":"tracing-type"},{default:s(()=>[r(t("select",{id:"tracing-type","onUpdate:modelValue":a[15]||(a[15]=n=>e.validate.meshTracingType=n),class:"k-input w-100",name:"tracing-type"},Me,512),[[D,e.validate.meshTracingType]])]),_:1})):u("",!0),e.validate.tracingEnabled==="enabled"?(c(),g(d,{key:2,class:"mt-4",title:"Sampling","for-attr":"tracing-sampling"},{default:s(()=>[r(t("input",{id:"tracing-sampling","onUpdate:modelValue":a[16]||(a[16]=n=>e.validate.meshTracingSampling=n),type:"number",class:"k-input w-100",step:"0.1",min:"0",max:"100"},null,512),[[p,e.validate.meshTracingSampling]])]),_:1})):u("",!0),e.validate.tracingEnabled==="enabled"?(c(),g(d,{key:3,class:"mt-4",title:"URL","for-attr":"tracing-zipkin-url"},{default:s(()=>[r(t("input",{id:"tracing-zipkin-url","onUpdate:modelValue":a[17]||(a[17]=n=>e.validate.meshTracingZipkinURL=n),type:"text",class:"k-input w-100",placeholder:"http://zipkin.url:1234","data-testid":"mesh-tracing-url"},null,512),[[p,e.validate.meshTracingZipkinURL]])]),_:1})):u("",!0)]),_:1})]),metrics:s(()=>[we,Ce,m(b,{class:"my-6 k-card--small",title:"Metrics Configuration","has-shadow":""},{body:s(()=>[m(d,{title:"Metrics"},{default:s(()=>[t("label",Ne,[r(t("input",{id:"metrics-disabled","onUpdate:modelValue":a[18]||(a[18]=n=>e.validate.metricsEnabled=n),value:"disabled",name:"metrics",type:"radio",class:"k-input mr-2"},null,512),[[v,e.validate.metricsEnabled]]),De]),t("label",Ue,[r(t("input",{id:"metrics-enabled","onUpdate:modelValue":a[19]||(a[19]=n=>e.validate.metricsEnabled=n),value:"enabled",name:"metrics",type:"radio",class:"k-input mr-2","data-testid":"mesh-metrics-enabled"},null,512),[[v,e.validate.metricsEnabled]]),Ae])]),_:1}),e.validate.metricsEnabled==="enabled"?(c(),g(d,{key:0,class:"mt-4",title:"Backend name","for-attr":"metrics-name"},{default:s(()=>[r(t("input",{id:"metrics-name","onUpdate:modelValue":a[20]||(a[20]=n=>e.validate.meshMetricsName=n),type:"text",class:"k-input w-100",placeholder:"your-metrics-backend-name","data-testid":"mesh-metrics-backend-name"},null,512),[[p,e.validate.meshMetricsName]])]),_:1})):u("",!0),e.validate.metricsEnabled==="enabled"?(c(),g(d,{key:1,class:"mt-4",title:"Type","for-attr":"metrics-type"},{default:s(()=>[r(t("select",{id:"metrics-type","onUpdate:modelValue":a[21]||(a[21]=n=>e.validate.meshMetricsType=n),class:"k-input w-100",name:"metrics-type"},Le,512),[[D,e.validate.meshMetricsType]])]),_:1})):u("",!0),e.validate.metricsEnabled==="enabled"?(c(),g(d,{key:2,class:"mt-4",title:"Dataplane port","for-attr":"metrics-dataplane-port"},{default:s(()=>[r(t("input",{id:"metrics-dataplane-port","onUpdate:modelValue":a[22]||(a[22]=n=>e.validate.meshMetricsDataplanePort=n),type:"number",class:"k-input w-100",step:"1",min:"0",max:"65535",placeholder:"1234"},null,512),[[p,e.validate.meshMetricsDataplanePort]])]),_:1})):u("",!0),e.validate.metricsEnabled==="enabled"?(c(),g(d,{key:3,class:"mt-4",title:"Dataplane path","for-attr":"metrics-dataplane-path"},{default:s(()=>[r(t("input",{id:"metrics-dataplane-path","onUpdate:modelValue":a[23]||(a[23]=n=>e.validate.meshMetricsDataplanePath=n),type:"text",class:"k-input w-100"},null,512),[[p,e.validate.meshMetricsDataplanePath]])]),_:1})):u("",!0)]),_:1})]),complete:s(()=>[h.codeOutput?(c(),N("div",Ve,[e.hideScannerSiblings===!1?(c(),N("div",xe,[Ie,t("p",null," Since the "+w(e.productName)+" GUI is read-only mode to follow Ops best practices, please execute the following command in your shell to create the entity. "+w(e.productName)+" will automatically detect when the new entity has been created. ",1),m(M,{tabs:e.tabs,"initial-tab-override":i.environment,onOnTabChange:h.onTabChange},{kubernetes:s(()=>[m(f,{id:"code-block-kubernetes-command","data-testid":"kubernetes",language:"bash",code:h.codeOutput},null,8,["code"])]),universal:s(()=>[m(f,{id:"code-block-universal-command","data-testid":"universal",language:"bash",code:h.codeOutput},null,8,["code"])]),_:1},8,["tabs","initial-tab-override","onOnTabChange"])])):u("",!0),m(o,{"loader-function":h.scanForEntity,"should-start":!0,"has-error":e.scanError,"can-complete":e.scanFound,onHideSiblings:h.hideSiblings},{"loading-title":s(()=>[Oe]),"loading-content":s(()=>[Re]),"complete-title":s(()=>[Pe]),"complete-content":s(()=>[t("p",null,[y(" Your mesh "),e.validate.meshName?(c(),N("strong",Ke,w(e.validate.meshName),1)):u("",!0),y(" was found! ")]),t("p",null,[m(T,{appearance:"primary",to:{name:"mesh-detail-view",params:{mesh:e.validate.meshName}}},{default:s(()=>[y(" Go to mesh "+w(e.validate.meshName),1)]),_:1},8,["to"])])]),"error-title":s(()=>[Fe]),"error-content":s(()=>[ze]),_:1},8,["loader-function","has-error","can-complete","onHideSiblings"])])):(c(),g(S,{key:1,appearance:"danger"},{alertMessage:s(()=>[je]),_:1}))]),mesh:s(()=>[Ye,t("p",null," In "+w(i.title)+", a Mesh resource allows you to define an isolated environment for your data-planes and policies. It's isolated because the mTLS CA you choose can be different from the one configured for our Meshes. Ideally, you will have either a large Mesh with all the workloads, or one Mesh per application for better isolation. ",1),t("p",null,[t("a",{href:`https://kuma.io/docs/${i.kumaDocsVersion}/policies/mesh/${e.utm}`,target:"_blank"}," Learn More ",8,We)])]),"did-you-know":s(()=>[Ge,Ze]),_:1},8,["steps","sidebar-content","footer-enabled","next-disabled","onGoToStep"])])])}const st=L(q,[["render",qe]]);export{st as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshOverviewView.c9150449.js b/app/kuma-ui/pkg/resources/data/assets/MeshOverviewView.b2cd5cfc.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/MeshOverviewView.c9150449.js rename to app/kuma-ui/pkg/resources/data/assets/MeshOverviewView.b2cd5cfc.js index b99479c48ceb..b96063c6882c 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshOverviewView.c9150449.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshOverviewView.b2cd5cfc.js @@ -1 +1 @@ -import{d as A,f as c,g as F,o as l,j as i,a as d,u as t,q as Y,D as q,p as z,r as k,x as U,cs as R,k as P,c as V,w as v,l as u,F as b,n as D,t as h,R as S,b as N,z as $}from"./index.09f51eb8.js";import{_ as L,a as T,M as W}from"./MeshResources.dec72e27.js";import{_ as O}from"./LabelList.vue_vue_type_style_index_0_lang.6ccc9977.js";import{T as G}from"./TabsWidget.55b438d0.js";import{Y as H}from"./YamlView.e892619a.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js";import"./ErrorBlock.6cb5eaea.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js";import"./index.58caa11d.js";import"./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js";import"./_commonjsHelpers.f037b798.js";const J={class:"chart-container mt-16"},Q=A({__name:"MeshCharts",setup(K){const s=Y(),f=c(()=>s.getters.getServiceResourcesFetching),y=c(()=>s.getters.getMeshInsightsFetching),m=c(()=>s.getters.getChart("services")),p=c(()=>s.getters.getChart("dataplanes")),g=c(()=>s.getters.getChart("kumaDPVersions")),o=c(()=>s.getters.getChart("envoyVersions"));F(()=>s.state.selectedMesh,function(){C()}),C();function C(){s.dispatch("fetchMeshInsights",s.state.selectedMesh),s.dispatch("fetchServices",s.state.selectedMesh)}return(B,x)=>(l(),i("div",J,[d(L,{class:"chart chart-1/4",title:{singular:"SERVICE",plural:"SERVICES"},data:t(m).data,"is-loading":t(f),"save-chart":""},null,8,["data","is-loading"]),d(L,{class:"chart chart-1/4",title:{singular:"DP PROXY",plural:"DP PROXIES"},data:t(p).data,url:{name:"data-plane-list-view",params:{mesh:t(s).state.selectedMesh}},"is-loading":t(y)},null,8,["data","url","is-loading"]),d(T,{class:"chart chart-1/4",title:"KUMA DP",data:t(g).data,"is-loading":t(y)},null,8,["data","is-loading"]),d(T,{class:"chart chart-1/4",title:"ENVOY",data:t(o).data,"is-loading":t(y),"display-am-charts-logo":""},null,8,["data","is-loading"])]))}});const Z=q(Q,[["__scopeId","data-v-da78099c"]]),ee={key:1},ae={key:1},te={key:1,class:"mt-8"},pe=A({__name:"MeshOverviewView",setup(K){const s=z(),f=Y(),y=[{hash:"#overview",title:"Overview"},{hash:"#resources",title:"Resources"}],m=k(!0),p=k(!1),g=k(!1),o=k(null),C=k(null),B=c(()=>o.value!==null?U(o.value):null),x=c(()=>{if(o.value===null)return null;const{name:n,type:r,creationTime:e,modificationTime:a}=o.value;return{name:n,type:r,created:R(e),modified:R(a)}}),X=c(()=>{var M;if(o.value===null)return null;const n=w(o.value,"mtls"),r=w(o.value,"logging"),e=w(o.value,"metrics"),a=w(o.value,"tracing"),_=Boolean((M=o.value.routing)==null?void 0:M.localityAwareLoadBalancing);return{mtls:n,logging:r,metrics:e,tracing:a,localityAwareLoadBalancing:_}}),E=c(()=>{const n=f.state.policies.map(r=>{var e,a;return{title:r.pluralDisplayName,value:(a=(e=f.state.meshInsight.policies[r.name])==null?void 0:e.total)!=null?a:0}});return[{title:"Data Plane Proxies",value:f.state.meshInsight.dataplanes.total},...n]});F(()=>s.params.mesh,function(){s.name==="single-mesh-overview"&&(m.value=!0,g.value=!1,p.value=!1,I())}),I();async function I(){m.value=!0,g.value=!1;const n=s.params.mesh;try{o.value=await P.getMesh({name:n}),C.value=await P.getMeshInsights({name:n})}catch(r){p.value=!0,g.value=!0,console.error(r)}finally{m.value=!1}}function w(n,r){var _,M;if(n===null||n[r]===void 0)return!1;const e=(M=(_=n[r].enabledBackend)!=null?_:n[r].defaultBackend)!=null?M:n[r].backends[0].name,a=n[r].backends.find(j=>j.name===e);return`${a.type} / ${a.name}`}return(n,r)=>(l(),i(b,null,[d(Z),d(W,{class:"mt-8"}),o.value!==null?(l(),V(G,{key:0,class:"mt-8","has-error":p.value,"is-loading":m.value,tabs:y,"initial-tab-override":"overview"},{overview:v(()=>[d(O,null,{default:v(()=>[u("div",null,[u("ul",null,[(l(!0),i(b,null,D(t(x),(e,a)=>(l(),i("li",{key:a},[u("h4",null,h(a),1),typeof e=="boolean"?(l(),V(t(S),{key:0,appearance:e?"success":"danger"},{default:v(()=>[N(h(e?"Enabled":"Disabled"),1)]),_:2},1032,["appearance"])):(l(),i("p",ee,h(e),1))]))),128))])]),u("div",null,[u("ul",null,[(l(!0),i(b,null,D(t(X),(e,a)=>(l(),i("li",{key:a},[u("h4",null,h(a),1),typeof e=="boolean"?(l(),V(t(S),{key:0,appearance:e?"success":"danger"},{default:v(()=>[N(h(e?"Enabled":"Disabled"),1)]),_:2},1032,["appearance"])):(l(),i("p",ae,h(e),1))]))),128))])])]),_:1})]),resources:v(()=>[d(O,{"has-error":p.value,"is-loading":m.value,"is-empty":g.value},{default:v(()=>[(l(!0),i(b,null,D(Math.ceil(t(E).length/3),e=>(l(),i("div",{key:e},[u("ul",null,[(l(!0),i(b,null,D(t(E).slice((e-1)*3,e*3),(a,_)=>(l(),i("li",{key:_},[u("h4",null,h(a.title),1),u("p",null,h(a.value),1)]))),128))])]))),128))]),_:1},8,["has-error","is-loading","is-empty"])]),_:1},8,["has-error","is-loading"])):$("",!0),t(B)!==null?(l(),i("div",te,[d(H,{id:"code-block-mesh",content:t(B)},null,8,["content"])])):$("",!0)],64))}});export{pe as default}; +import{d as A,f as c,g as F,o as l,j as i,a as d,u as t,q as Y,D as q,p as z,r as k,x as U,cs as R,k as P,c as V,w as v,l as u,F as b,n as D,t as h,R as S,b as N,z as $}from"./index.47c8bf16.js";import{_ as L,a as T,M as W}from"./MeshResources.971aa6a2.js";import{_ as O}from"./LabelList.vue_vue_type_style_index_0_lang.96dd97a6.js";import{T as G}from"./TabsWidget.a8296b4a.js";import{Y as H}from"./YamlView.941aa063.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js";import"./ErrorBlock.456ea0f6.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js";import"./index.58caa11d.js";import"./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js";import"./_commonjsHelpers.f037b798.js";const J={class:"chart-container mt-16"},Q=A({__name:"MeshCharts",setup(K){const s=Y(),f=c(()=>s.getters.getServiceResourcesFetching),y=c(()=>s.getters.getMeshInsightsFetching),m=c(()=>s.getters.getChart("services")),p=c(()=>s.getters.getChart("dataplanes")),g=c(()=>s.getters.getChart("kumaDPVersions")),o=c(()=>s.getters.getChart("envoyVersions"));F(()=>s.state.selectedMesh,function(){C()}),C();function C(){s.dispatch("fetchMeshInsights",s.state.selectedMesh),s.dispatch("fetchServices",s.state.selectedMesh)}return(B,x)=>(l(),i("div",J,[d(L,{class:"chart chart-1/4",title:{singular:"SERVICE",plural:"SERVICES"},data:t(m).data,"is-loading":t(f),"save-chart":""},null,8,["data","is-loading"]),d(L,{class:"chart chart-1/4",title:{singular:"DP PROXY",plural:"DP PROXIES"},data:t(p).data,url:{name:"data-plane-list-view",params:{mesh:t(s).state.selectedMesh}},"is-loading":t(y)},null,8,["data","url","is-loading"]),d(T,{class:"chart chart-1/4",title:"KUMA DP",data:t(g).data,"is-loading":t(y)},null,8,["data","is-loading"]),d(T,{class:"chart chart-1/4",title:"ENVOY",data:t(o).data,"is-loading":t(y),"display-am-charts-logo":""},null,8,["data","is-loading"])]))}});const Z=q(Q,[["__scopeId","data-v-da78099c"]]),ee={key:1},ae={key:1},te={key:1,class:"mt-8"},pe=A({__name:"MeshOverviewView",setup(K){const s=z(),f=Y(),y=[{hash:"#overview",title:"Overview"},{hash:"#resources",title:"Resources"}],m=k(!0),p=k(!1),g=k(!1),o=k(null),C=k(null),B=c(()=>o.value!==null?U(o.value):null),x=c(()=>{if(o.value===null)return null;const{name:n,type:r,creationTime:e,modificationTime:a}=o.value;return{name:n,type:r,created:R(e),modified:R(a)}}),X=c(()=>{var M;if(o.value===null)return null;const n=w(o.value,"mtls"),r=w(o.value,"logging"),e=w(o.value,"metrics"),a=w(o.value,"tracing"),_=Boolean((M=o.value.routing)==null?void 0:M.localityAwareLoadBalancing);return{mtls:n,logging:r,metrics:e,tracing:a,localityAwareLoadBalancing:_}}),E=c(()=>{const n=f.state.policies.map(r=>{var e,a;return{title:r.pluralDisplayName,value:(a=(e=f.state.meshInsight.policies[r.name])==null?void 0:e.total)!=null?a:0}});return[{title:"Data Plane Proxies",value:f.state.meshInsight.dataplanes.total},...n]});F(()=>s.params.mesh,function(){s.name==="single-mesh-overview"&&(m.value=!0,g.value=!1,p.value=!1,I())}),I();async function I(){m.value=!0,g.value=!1;const n=s.params.mesh;try{o.value=await P.getMesh({name:n}),C.value=await P.getMeshInsights({name:n})}catch(r){p.value=!0,g.value=!0,console.error(r)}finally{m.value=!1}}function w(n,r){var _,M;if(n===null||n[r]===void 0)return!1;const e=(M=(_=n[r].enabledBackend)!=null?_:n[r].defaultBackend)!=null?M:n[r].backends[0].name,a=n[r].backends.find(j=>j.name===e);return`${a.type} / ${a.name}`}return(n,r)=>(l(),i(b,null,[d(Z),d(W,{class:"mt-8"}),o.value!==null?(l(),V(G,{key:0,class:"mt-8","has-error":p.value,"is-loading":m.value,tabs:y,"initial-tab-override":"overview"},{overview:v(()=>[d(O,null,{default:v(()=>[u("div",null,[u("ul",null,[(l(!0),i(b,null,D(t(x),(e,a)=>(l(),i("li",{key:a},[u("h4",null,h(a),1),typeof e=="boolean"?(l(),V(t(S),{key:0,appearance:e?"success":"danger"},{default:v(()=>[N(h(e?"Enabled":"Disabled"),1)]),_:2},1032,["appearance"])):(l(),i("p",ee,h(e),1))]))),128))])]),u("div",null,[u("ul",null,[(l(!0),i(b,null,D(t(X),(e,a)=>(l(),i("li",{key:a},[u("h4",null,h(a),1),typeof e=="boolean"?(l(),V(t(S),{key:0,appearance:e?"success":"danger"},{default:v(()=>[N(h(e?"Enabled":"Disabled"),1)]),_:2},1032,["appearance"])):(l(),i("p",ae,h(e),1))]))),128))])])]),_:1})]),resources:v(()=>[d(O,{"has-error":p.value,"is-loading":m.value,"is-empty":g.value},{default:v(()=>[(l(!0),i(b,null,D(Math.ceil(t(E).length/3),e=>(l(),i("div",{key:e},[u("ul",null,[(l(!0),i(b,null,D(t(E).slice((e-1)*3,e*3),(a,_)=>(l(),i("li",{key:_},[u("h4",null,h(a.title),1),u("p",null,h(a.value),1)]))),128))])]))),128))]),_:1},8,["has-error","is-loading","is-empty"])]),_:1},8,["has-error","is-loading"])):$("",!0),t(B)!==null?(l(),i("div",te,[d(H,{id:"code-block-mesh",content:t(B)},null,8,["content"])])):$("",!0)],64))}});export{pe as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshResources.dec72e27.js b/app/kuma-ui/pkg/resources/data/assets/MeshResources.971aa6a2.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/MeshResources.dec72e27.js rename to app/kuma-ui/pkg/resources/data/assets/MeshResources.971aa6a2.js index 771352b4ac40..641bfb2479f6 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshResources.dec72e27.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshResources.971aa6a2.js @@ -1 +1 @@ -import{W as A,X as te,Y as q,Z as W,$ as R,a0 as k,a1 as sa,a2 as V,a3 as ct,a4 as le,a5 as ze,a6 as Q,a7 as G,a8 as X,a9 as C,aa as w,ab as se,ac as At,ad as de,ae as pe,af as xt,ag as Re,ah as oa,ai as vt,aj as He,ak as ce,al as g,am as nr,an as ee,ao as U,ap as la,aq as Se,ar as bi,as as xe,at as sr,au as ha,av as me,aw as bt,ax as Ni,ay as Ve,az as H,aA as Ce,aB as li,aC as ke,aD as ae,aE as Bt,aF as Ae,aG as tt,aH as Te,aI as Pi,aJ as it,aK as Y,aL as Qe,aM as or,aN as ua,aO as yt,aP as je,aQ as da,aR as pa,aS as fa,aT as j,aU as De,aV as Be,aW as lr,aX as ca,aY as K,aZ as Xt,a_ as zi,a$ as $,b0 as Le,b1 as ya,b2 as ne,b3 as ue,b4 as va,b5 as hi,b6 as ut,b7 as ga,b8 as ma,b9 as Hi,ba as ve,bb as J,bc as Yt,bd as ui,be as Pt,bf as hr,bg as xa,bh as ba,bi as Lt,bj as Pa,bk as Ca,bl as Da,bm as Aa,bn as gt,bo as Ui,bp as Ue,bq as Ct,br as Gi,bs as Ki,bt as rt,bu as re,bv as _a,bw as Xe,bx as Va,by as M,bz as L,bA as _t,bB as oe,bC as fe,bD as Ie,bE as ie,bF as ii,bG as _e,bH as di,bI as ri,bJ as Ci,bK as Ne,bL as Di,bM as Sa,bN as Ta,bO as Ai,bP as Oa,bQ as mt,bR as Zi,bS as pi,bT as qi,bU as fi,bV as Ee,bW as $i,bX as ur,bY as ka,bZ as It,b_ as Ji,b$ as wa,c0 as Fa,c1 as Ma,c2 as et,c3 as Qi,c4 as La,c5 as Rt,c6 as Ia,c7 as Ra,c8 as er,c9 as ja,ca as ai,cb as Wa,cc as Xa,cd as ni,ce as Ya,cf as Ea,d as _i,cg as Ba,r as Na,g as tr,h as za,ch as Ha,ci as Ua,o as pt,j as Wt,c as dr,cj as Ga,f as ir,a as dt,w as $e,l as Oe,u as Pe,e as si,b as ft,M as jt,t as oi,ck as rr,F as Ka,n as Za,z as qa,q as $a,B as Ja,C as Qa,D as en}from"./index.09f51eb8.js";var pr=function(l){A(r,l);function r(){var e=l.call(this)||this;e.className="Grip";var t=new te;e.layout="absolute",e.padding(10,10,10,10),e.margin(3,3,3,3),e.background.fillOpacity=.3,e.background.cornerRadius(10,10,10,10);var i=new q;i.element=e.paper.add("path");var a=W({x:-6,y:0});return a+=R({x:6,y:0}),a+=W({x:-8,y:-6}),a+=R({x:0,y:-12}),a+=R({x:8,y:-6}),a+=W({x:-8,y:6}),a+=R({x:0,y:12}),a+=R({x:8,y:6}),i.path=a,i.strokeWidth=2,i.fillOpacity=0,i.pixelPerfect=!0,i.padding(0,4,0,4),i.stroke=t.getFor("text"),i.strokeOpacity=.7,i.align="center",i.valign="middle",e.icon=i,e.label.dispose(),e.label=void 0,e.position="right",e.autoHideDelay=3e3,e.events.on("shown",function(n){e._autoHideTimeout&&e._autoHideTimeout.dispose(),e.autoHideDelay&&(e._autoHideTimeout=e.setTimeout(function(){e.hide()},e.autoHideDelay))}),e.events.on("down",function(n){e._autoHideTimeout&&e._autoHideTimeout.dispose()}),e.events.on("out",function(n){e.autoHideDelay&&(e._autoHideTimeout=e.setTimeout(function(){e.hide()},e.autoHideDelay))}),e.applyTheme(),e}return Object.defineProperty(r.prototype,"position",{get:function(){return this.getPropertyValue("position")},set:function(e){if(this.setPropertyValue("position",e))switch(e){case"left":this.align="left",this.valign="middle",this.horizontalCenter="left",this.verticalCenter="middle",this.icon.rotation=0,this.width=void 0,this.height=k(30);break;case"right":this.align="right",this.valign="middle",this.horizontalCenter="right",this.verticalCenter="middle",this.icon.rotation=0,this.width=void 0,this.height=k(30);break;case"top":this.align="center",this.valign="top",this.horizontalCenter="middle",this.verticalCenter="top",this.icon.rotation=90,this.width=k(30),this.height=void 0;break;case"bottom":this.align="center",this.valign="bottom",this.horizontalCenter="middle",this.verticalCenter="bottom",this.icon.rotation=90,this.width=k(30),this.height=void 0;break;default:this.align="center",this.valign="middle",this.horizontalCenter="middle",this.verticalCenter="middle",this.icon.rotation=90,this.width=k(30),this.height=void 0}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"autoHideDelay",{get:function(){return this.getPropertyValue("autoHideDelay")},set:function(e){this.setPropertyValue("autoHideDelay",e)},enumerable:!0,configurable:!0}),r}(sa);V.registeredClasses.Grip=pr;var fr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ChartDataItem",e.applyTheme(),e}return r}(ct),nt=function(l){A(r,l);function r(){var e=l.call(this)||this;if(e._legend=new le,e.constructor===r)throw new Error("'Chart' cannot be instantiated directly. Please use a specific chart type.");e.className="Chart";var t=new ze;e.titles=new Q(t),e._disposers.push(new G(e.titles)),e._disposers.push(t),e.width=k(100),e.height=k(100),e.layout="vertical";var i=e.createChild(X);i.shouldClone=!1,i.layout="vertical",i.width=k(100),i.height=k(100),e.chartAndLegendContainer=i;var a=i.createChild(X);return a.shouldClone=!1,a.width=k(100),a.height=k(100),e.chartContainer=a,e.showOnInit=!0,e._disposers.push(e._legend),e.titles.events.on("inserted",function(n){e.processTitle(n),e.updateReaderTitleReferences()},e,!1),e.titles.events.on("removed",function(n){e.updateReaderTitleReferences()},e,!1),e.role="region",e.defaultState.transitionDuration=1,e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Chart"))},r.prototype.draw=function(){this.fixLayout(),l.prototype.draw.call(this)},r.prototype.fixLayout=function(){var e=this.legend;if(e){var t=this.chartAndLegendContainer,i=this.chartContainer;switch(i.x=void 0,i.y=void 0,e.position!="absolute"&&(e.x=void 0,e.y=void 0),e.position){case"left":t.layout="horizontal",e.toBack();break;case"right":t.layout="horizontal",e.toFront();break;case"top":t.layout="vertical",e.toBack();break;case"bottom":t.layout="vertical",e.toFront();break;case"absolute":e.isMeasured=!1;break}}},r.prototype.feedLegend=function(){},r.prototype.processTitle=function(e){var t=e.newValue;return t.parent=this,t.toBack(),t.shouldClone=!1,t.align="center",t.uidAttr(),t},r.prototype.updateReaderTitleReferences=function(){if(this.titles.length){var e=[];w(this.titles.iterator(),function(t){e.push(t.uid)}),this.setSVGAttribute({"aria-labelledby":e.join(" ")})}else this.removeSVGAttribute("aria-labelledby")},Object.defineProperty(r.prototype,"legend",{get:function(){return this._legend.get()},set:function(e){this.setLegend(e)},enumerable:!0,configurable:!0}),r.prototype.setLegend=function(e){var t=this;this._legend.get()!==e&&(e?(e.parent=this.chartAndLegendContainer,this._legend.set(e,e.events.on("propertychanged",function(i){i.property=="position"&&t.fixLayout()},void 0,!1)),e.addDisposer(new se(function(){t.legend=void 0}))):this._legend.reset(),this.feedLegend())},r.prototype.dispose=function(){this.legend&&this.legend.dispose(),l.prototype.dispose.call(this)},r.prototype.processConfig=function(e){e&&C(e.legend)&&!C(e.legend.type)&&(e.legend.type="Legend"),l.prototype.processConfig.call(this,e)},r.prototype.copyFrom=function(e){this.titles.copyFrom(e.titles),this.chartContainer.copyFrom(e.chartContainer),e.legend&&(this.legend=e.legend.clone(),this.legend.removeChildren()),l.prototype.copyFrom.call(this,e)},Object.defineProperty(r.prototype,"dragGrip",{get:function(){var e=this;if(!this._dragGrip){var t=this.tooltipContainer.createChild(pr);t.align="right",t.valign="middle",t.hide(0),t.events.on("down",function(i){i.touch&&(e.interactionsEnabled=!1)}),t.events.on("up",function(i){e.interactionsEnabled=!0}),this.events.on("down",function(i){i.touch&&t.show()}),this._dragGrip=t}return this._dragGrip},set:function(e){this._dragGrip=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"focusable",{get:function(){return this.parent.focusable},set:function(e){this.parent.focusable=e},enumerable:!0,configurable:!0}),r}(At);V.registeredClasses.Chart=nt;de.push({relevant:pe.widthXS,state:function(l,r){if(l instanceof nt){var e=l.states.create(r);return l.pixelPaddingLeft>10&&(e.properties.paddingLeft=10),l.pixelPaddingRight>10&&(e.properties.paddingRight=10),e}return null}});de.push({relevant:pe.heightXS,state:function(l,r){if(l instanceof nt){var e=l.states.create(r);return l.pixelPaddingTop>10&&(e.properties.paddingTop=10),l.pixelPaddingBottom>10&&(e.properties.paddingBottom=10),e}return null}});de.push({relevant:pe.widthXXS,state:function(l,r){if(l instanceof nt){var e=l.states.create(r);return e.properties.paddingLeft=0,e.properties.paddingRight=0,e}return null}});de.push({relevant:pe.heightXXS,state:function(l,r){if(l instanceof nt){var e=l.states.create(r);return e.properties.paddingTop=0,e.properties.paddingBottom=0,e}return null}});var We=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="Bullet",e.isMeasured=!1,e.tooltipX=0,e.tooltipY=0,e.layout="none",e.applyOnClones=!0,e.copyToLegendMarker=!0,e.applyTheme(),e}return Object.defineProperty(r.prototype,"locationX",{get:function(){return this.getPropertyValue("locationX")},set:function(e){if(this.setPropertyValue("locationX",e)){var t=this.dataItem;t&&t.component&&t.component.invalidate()}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"locationY",{get:function(){return this.getPropertyValue("locationY")},set:function(e){if(this.setPropertyValue("locationY",e)){var t=this.dataItem;t&&t.component&&t.component.invalidate()}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"xField",{get:function(){return this.getPropertyValue("xField")},set:function(e){this.setPropertyValue("xField",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"yField",{get:function(){return this.getPropertyValue("yField")},set:function(e){this.setPropertyValue("yField",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isDynamic",{get:function(){return this.getPropertyValue("isDynamic")},set:function(e){this.setPropertyValue("isDynamic",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"copyToLegendMarker",{get:function(){return this.getPropertyValue("copyToLegendMarker")},set:function(e){this.setPropertyValue("copyToLegendMarker",e)},enumerable:!0,configurable:!0}),r}(X);V.registeredClasses.Bullet=We;de.push({relevant:pe.isXS,state:function(l,r){if(l instanceof We){var e=l.states.create(r);return e.properties.disabled=!0,e}return null}});var tn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.childrenCreated=!1,e.className="LegendDataItem",e.applyTheme(),e}return Object.defineProperty(r.prototype,"label",{get:function(){var e=this;if(!this._label){var t=this.component.labels.create();this._label=t,this.addSprite(t),this._disposers.push(t),t.parent=this.itemContainer,this._disposers.push(new se(function(){C(e.component)&&e.component.labels.removeValue(t)}))}return this._label},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"color",{get:function(){return this.properties.color},set:function(e){this.setProperty("color",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"valueLabel",{get:function(){var e=this;if(!this._valueLabel){var t=this.component.valueLabels.create();this._valueLabel=t,this.addSprite(t),this._disposers.push(t),t.parent=this.itemContainer,this._disposers.push(new se(function(){C(e.component)&&e.component.valueLabels.removeValue(t)}))}return this._valueLabel},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"itemContainer",{get:function(){var e=this;if(!this._itemContainer){var t=this.component,i=t.itemContainers.create();i.parent=t,this._itemContainer=i,this.addSprite(i),this._disposers.push(i),i.togglable&&i.events.on("toggled",function(s){t.toggleDataItem(s.target.dataItem)},void 0,!1),i.focusable&&(i.events.on("hit",function(s){t.focusedItem=void 0},void 0,!1),i.events.on("focus",function(s){t.focusedItem=s.target.dataItem},void 0,!1),i.events.on("blur",function(s){t.focusedItem=void 0},void 0,!1)),this._disposers.push(new se(function(){C(e.component)&&e.component.itemContainers.removeValue(i)})),this.dataContext.uidAttr&&(i.readerControls=this.dataContext.uidAttr(),i.readerLabelledBy=this.dataContext.uidAttr());var a=this.dataContext;if((a instanceof ct||a instanceof q)&&!a.isDisposed()){var n=function(s){i.readerChecked=s.visible,i.events.disableType("toggled"),i.isActive=!s.visible,i.events.enableType("toggled")};a.addDisposer(new se(function(){e.component&&e.component.dataItems.remove(e)})),a instanceof q?(i.addDisposer(a.events.on("visibilitychanged",n,void 0,!1)),i.addDisposer(a.events.on("hidden",function(s){i.readerChecked=!1,i.events.disableType("toggled"),i.isActive=!0,i.events.enableType("toggled")},void 0,!1)),i.addDisposer(a.events.on("shown",function(s){i.readerChecked=!0,i.events.disableType("toggled"),i.isActive=!1,i.events.enableType("toggled")},void 0,!1))):i.addDisposer(a.events.on("visibilitychanged",n,void 0,!1))}}return this._itemContainer},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"marker",{get:function(){var e=this;if(!this._marker){var t=this.component.markers.create();this._marker=t,t.parent=this.itemContainer,this.addSprite(t),this._disposers.push(t),this._disposers.push(new se(function(){C(e.component)&&e.component.markers.removeValue(t)}))}return this._marker},enumerable:!0,configurable:!0}),r}(ct),cr=function(){function l(){this.createMarker=!0}return l}(),Nt=function(l){A(r,l);function r(){var e=l.call(this)||this;e.className="Legend",e.layout="grid",e.setPropertyValue("useDefaultMarker",!1),e.setPropertyValue("scrollable",!1),e.setPropertyValue("contentAlign","center");var t=new X;t.applyOnClones=!0,t.padding(8,0,8,0),t.margin(0,10,0,10),t.layout="horizontal",t.clickable=!0,t.focusable=!0,t.role="switch",t.togglable=!0,t.cursorOverStyle=xt.pointer,t.background.fillOpacity=0,e.itemContainers=new Q(t),e._disposers.push(new G(e.itemContainers)),e._disposers.push(e.itemContainers.template),e._disposers.push(Re().body.events.on("keyup",function(d){if(oa.isKey(d.event,"enter")&&e.focusedItem){var u=e.focusedItem,p=u.itemContainer;p.togglable?e.toggleDataItem(u):p.clickable&&p.events.isEnabled("hit")&&(p.dispatchImmediately("hit",{event:d}),e.focusedItem=u)}},e));var i=new te,a=new X;a.width=23,a.height=23,a.interactionsEnabled=!1,a.applyOnClones=!0,a.setStateOnChildren=!0,a.background.fillOpacity=0,a.background.strokeOpacity=0,a.propertyFields.fill="fill",a.valign="middle";var n=i.getFor("disabledBackground");a.events.on("childadded",function(d){var u=d.newValue,p=u.states.create("active");p.properties.stroke=n,p.properties.fill=n}),e.markers=new Q(a),e._disposers.push(new G(e.markers)),e._disposers.push(e.markers.template);var s=a.createChild(vt);s.width=k(100),s.height=k(100),s.applyOnClones=!0,s.propertyFields.fill="fill",s.strokeOpacity=0;var o=new ze;o.text="{name}",o.margin(0,5,0,5),o.valign="middle",o.applyOnClones=!0,o.states.create("active").properties.fill=i.getFor("disabledBackground"),e.labels=new Q(o),e._disposers.push(new G(e.labels)),e._disposers.push(e.labels.template),o.interactionsEnabled=!1,o.truncate=!0,o.fullWords=!1;var h=new ze;return h.margin(0,5,0,0),h.valign="middle",h.width=50,h.align="right",h.textAlign="end",h.applyOnClones=!0,h.states.create("active").properties.fill=i.getFor("disabledBackground"),h.interactionsEnabled=!1,e.valueLabels=new Q(h),e._disposers.push(new G(e.valueLabels)),e._disposers.push(e.valueLabels.template),e.position="bottom",t.states.create("active"),t.setStateOnChildren=!0,e.role="group",e.events.on("layoutvalidated",e.handleScrollbar,e,!1),e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Legend"))},r.prototype.createDataItem=function(){return new tn},r.prototype.validateDataElements=function(){this.scrollbar&&(this.scrollbar.start=0,this.scrollbar.end=1),l.prototype.validateDataElements.call(this)},r.prototype.validateDataElement=function(e){l.prototype.validateDataElement.call(this,e);var t=e.itemContainer,i=e.marker;He(e.label);var a=e.valueLabel;t.readerChecked=e.dataContext.visible,e.dataContext.legendDataItem=e;var n=e.label.maxWidth;e.label.width instanceof ce||(e.label.width=void 0),n>0&&(e.label.maxWidth=n),a.align=="right"&&(a.width=void 0);var s=e.dataContext.legendSettings,o=e.dataContext;o.createLegendMarker&&(!this.useDefaultMarker||!(o instanceof q))?e.childrenCreated||(o.createLegendMarker(i),e.childrenCreated=!0):this.markers.template.propertyFields.fill=void 0,o.updateLegendValue&&o.updateLegendValue(),o.component&&o.component.updateLegendValue&&o.component.updateLegendValue(o),a.invalid&&a.validate(),a.text==""||a.text==null?a.__disabled=!0:a.__disabled=!1,s&&(s.itemValueText!=null||s.valueText!=null)&&(a.__disabled=!1);var h=e.dataContext.visible;h===void 0&&(h=!0),h=la(h),e.dataContext.visible=h,t.events.disableType("toggled"),t.isActive=!h,t.isActive?t.setState("active",0):t.setState("default",0),t.events.enableType("toggled")},r.prototype.afterDraw=function(){var e=this,t=this.getPropertyValue("maxWidth"),i=0;this.labels.each(function(u){u.invalid&&(u.maxWidth=void 0,u.validate()),u.measuredWidth+u.pixelMarginLeft+u.pixelMarginRight>i&&(i=u.measuredWidth+u.pixelMarginLeft+u.pixelMarginRight)});var a=0;this.valueLabels.each(function(u){u.invalid&&u.validate(),u.measuredWidth+u.pixelMarginLeft+u.pixelMarginRight>a&&(a=u.measuredWidth+u.pixelMarginLeft+u.pixelMarginRight)});var n=0;this.markers.each(function(u){u.invalid&&u.validate(),u.measuredWidth+u.pixelMarginLeft+u.pixelMarginRight>n&&(n=u.measuredWidth+u.pixelMarginLeft+u.pixelMarginRight)});var s=this.itemContainers.template,o=s.pixelMarginRight+s.pixelMarginLeft,h,d=i+a+n;g(t)?(t=t-o,t>d&&(t=d),h=t-n-a):h=i,this.labels.each(function(u){(e.valueLabels.template.align=="right"||u.measuredWidth>h)&&(u.width instanceof ce||(u.width=Math.min(u.maxWidth,h-u.pixelMarginLeft-u.pixelMarginRight),u.maxWidth=u.width))}),this.valueLabels.template.align=="right"&&this.valueLabels.each(function(u){u.width=a-u.pixelMarginRight-u.pixelMarginLeft}),l.prototype.afterDraw.call(this)},r.prototype.handleScrollbar=function(){var e=this.scrollbar;this.scrollable&&e&&(e.height=this.measuredHeight,e.x=this.measuredWidth-e.pixelWidth-e.pixelMarginLeft,this.contentHeight>this.measuredHeight?(e.visible=!0,e.thumb.height=e.height*this.measuredHeight/this.contentHeight,this.paddingRight=e.pixelWidth+e.pixelMarginLeft+ +e.pixelMarginRight):e.visible=!1,e.handleThumbPosition(),this.updateMasks())},Object.defineProperty(r.prototype,"position",{get:function(){return this.getPropertyValue("position")},set:function(e){this.setPropertyValue("position",e)&&(e=="left"||e=="right"?(this.margin(10,5,10,10),this.valign="middle",this.contentAlign="none",this.valueLabels.template.align="right",g(this.maxColumns)||(this.maxColumns=1),this.width=void 0,this.maxWidth=220):(this.maxColumns=void 0,this.width=k(100),this.valueLabels.template.align="left"),this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"useDefaultMarker",{get:function(){return this.getPropertyValue("useDefaultMarker")},set:function(e){this.setPropertyValue("useDefaultMarker",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"scrollable",{get:function(){return this.getPropertyValue("scrollable")},set:function(e){if(this.setPropertyValue("scrollable",e,!0))if(e){var t=this.createChild(nr);this.scrollbar=t,t.isMeasured=!1,t.orientation="vertical",t.endGrip.__disabled=!0,t.startGrip.__disabled=!0,t.visible=!1,t.marginLeft=5,this._mouseWheelDisposer=this.events.on("wheel",this.handleWheel,this,!1),this._disposers.push(this._mouseWheelDisposer),this._disposers.push(t.events.on("rangechanged",this.updateMasks,this,!1))}else this._mouseWheelDisposer&&(this._mouseWheelDisposer.dispose(),this.scrollbar&&(this.scrollbar.dispose(),this.scrollbar=void 0))},enumerable:!0,configurable:!0}),r.prototype.handleWheel=function(e){var t=e.shift.y,i=this.scrollbar;if(i){var a=t/1e3*this.measuredHeight/this.contentHeight,n=i.end-i.start;t>0?(i.start=ee(0,i.start-a),i.end=i.start+n):(i.end=U(1,i.end-a),i.start=i.end-n)}},r.prototype.updateMasks=function(){var e=this;this.scrollbar&&this.itemContainers.each(function(t){t.dy=-e.scrollbar.thumb.pixelY*e.contentHeight/e.measuredHeight,t.maskRectangle={x:0,y:-t.dy,width:e.measuredWidth,height:e.measuredHeight}})},r.prototype.toggleDataItem=function(e){var t=e.dataContext;!t.visible||t.isHiding||t instanceof q&&t.isHidden?(e.color=e.colorOrig,t.appeared=!0,e.itemContainer.isActive=!1,t.hidden===!0&&(t.hidden=!1),t.show?t.show():t.visible=!0,this.svgContainer.readerAlert(this.language.translate("%1 shown",this.language.locale,e.label.readerTitle))):(e.itemContainer.isActive=!0,t.appeared=!0,t.hide?t.hide():t.visible=!1,this.svgContainer.readerAlert(this.language.translate("%1 hidden",this.language.locale,e.label.readerTitle)),e.color=new te().getFor("disabledBackground"))},Object.defineProperty(r.prototype,"preloader",{get:function(){},enumerable:!0,configurable:!0}),r.prototype.handleDataItemPropertyChange=function(e,t){e.valueLabel.invalidate(),e.label.invalidate()},r}(At);V.registeredClasses.Legend=Nt;de.push({relevant:pe.widthXS,state:function(l,r){if(l instanceof Nt&&(l.position=="left"||l.position=="right")){var e=l.states.create(r);return e.properties.position="bottom",e}return null}});de.push({relevant:pe.heightXS,state:function(l,r){if(l instanceof Nt&&(l.position=="top"||l.position=="bottom")){var e=l.states.create(r);return e.properties.position="right",e}return null}});de.push({relevant:pe.isXS,state:function(l,r){if(l instanceof Nt){var e=l.states.create(r);return e.properties.disabled=!0,e}return null}});var zt=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="SeriesDataItem",e.values.value={},e.values.value={},e.applyTheme(),e}return Object.defineProperty(r.prototype,"bullets",{get:function(){return this._bullets||(this._bullets=new Se,this._disposers.push(new bi(this._bullets))),this._bullets},enumerable:!0,configurable:!0}),r.prototype.dispose=function(){this.bullets.clear(),l.prototype.dispose.call(this)},Object.defineProperty(r.prototype,"value",{get:function(){return this.values.value.value},set:function(e){this.setValue("value",e)},enumerable:!0,configurable:!0}),r}(ct),Ht=function(l){A(r,l);function r(){var e=l.call(this)||this;if(e._ignoreMinMax=!1,e._showBullets=!0,e.legendSettings=new cr,e._tmin=new Se,e._tmax=new Se,e._smin=new Se,e._smax=new Se,e.dataItemsByAxis=new Se,e.skipFocusThreshold=20,e._itemReaderTextChanged=!1,e.calculatePercent=!1,e.usePercentHack=!0,e.autoDispose=!0,e.simplifiedProcessing=!1,e.constructor===r)throw new Error("'Series' cannot be instantiated directly. Please use a specific series type.");e.className="Series",e.isMeasured=!1,e.layout="none",e.shouldClone=!1,e.setPropertyValue("hidden",!1),e.axisRanges=new xe,e.axisRanges.events.on("inserted",e.processAxisRange,e,!1),e.minBulletDistance=0,e.mainContainer=e.createChild(X),e.mainContainer.shouldClone=!1,e.mainContainer.mask=e.createChild(q),e._disposers.push(e.mainContainer);var t=e.mainContainer.createChild(X);return e._shouldBeReady.push(t),t.shouldClone=!1,t.layout="none",t.virtualParent=e,e._disposers.push(t),e.bulletsContainer=t,e.tooltip=new sr,e.tooltip.virtualParent=e,e._disposers.push(e.tooltip),e.hiddenState.transitionEasing=ha,e.dataItem=e.createDataItem(),e._disposers.push(e.dataItem),e.dataItem.component=e,e.role="group",e.applyTheme(),e}return r.prototype.applyTheme=function(){l.prototype.applyTheme.call(this)},r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Series"))},r.prototype.createDataItem=function(){return new zt},Object.defineProperty(r.prototype,"chart",{get:function(){return this._chart},set:function(e){this._chart=e},enumerable:!0,configurable:!0}),r.prototype.positionBullet=function(e){},r.prototype.processBullet=function(e){var t=this,i=e.newValue;i.isTemplate=!0,this.events.once("datavalidated",function(a){t.itemsFocusable()&&(i.focusable=!0)}),this.invalidate()},r.prototype.removeBullet=function(e){var t=e.oldValue;this.dataItems.each(function(i){var a=i.bullets.getKey(t.uid);a&&a.dispose()}),this.invalidate()},r.prototype.validateDataItems=function(){l.prototype.validateDataItems.call(this),this.processValues(!1)},r.prototype.getFirstValue=function(e,t){for(var i=t;i>=0;i--){var a=this.dataItems.getIndex(i),n=a.getActualWorkingValue(e);if(g(n))return n}return null},r.prototype.getAbsoluteFirstValue=function(e){for(var t=0;t0){var m=i.getIndex(y-1);me(m.values,function(b,O){var _=m.getActualWorkingValue(b);g(_)&&(p[b]=_)})}for(var x=function(b){var O=i.getIndex(b);me(O.values,function(_,N){var F=O.getActualWorkingValue(_);if(g(F)){g(a[_])||(a[_]=0),a[_]++,g(n[_])||(n[_]=0),n[_]+=F,g(s[_])||(s[_]=0),s[_]+=Math.abs(F),g(d[_])||(d[_]=F),u[_]=F,g(o[_])?o[_]>F&&(o[_]=F):o[_]=F,g(h[_])?h[_]0){t.usePercentHack&&F==N&&(N=O.values[_].value);var I=F/N*100;O.setCalculatedValue(_,I,"percent")}else O.setCalculatedValue(_,0,"percent")})},P=y;P0){var D=i.getIndex(y-1);me(D.values,function(b){var O=D.values[b].value;D.setCalculatedValue(b,O-d[b],"change"),D.setCalculatedValue(b,(O-d[b])/d[b]*100,"changePercent")})}var T=this.dataItem;me(T.values,function(b){T.setCalculatedValue(b,n[b],"sum"),T.setCalculatedValue(b,s[b],"absoluteSum"),T.setCalculatedValue(b,n[b]/a[b],"average"),T.setCalculatedValue(b,d[b],"open"),T.setCalculatedValue(b,u[b],"close"),T.setCalculatedValue(b,o[b],"low"),T.setCalculatedValue(b,h[b],"high"),T.setCalculatedValue(b,a[b],"count")})}},r.prototype.validate=function(){bt()&&this.filters.clear(),w(this.axisRanges.iterator(),function(a){a.validate()}),l.prototype.validate.call(this);var e=this.bulletsContainer;if(e.fill=this.fill,e.stroke=this.stroke,e.x=this.pixelX,e.y=this.pixelY,this.bulletsContainer.children.length>0)if(this._showBullets){for(var t=0;tthis.endIndex;t--){var i=this.dataItems.getIndex(t);i&&i.bullets.each(function(s,o){o.__disabled=!0})}}else this.bulletsContainer.children.each(function(a){a.__disabled=!0});this.updateTooltipBounds()},r.prototype.updateTooltipBounds=function(){if(this.topParent){var e=0,t=0,i=this.topParent.maxWidth,a=this.topParent.maxHeight,n={x:e,y:t,width:i,height:a};this.tooltip.setBounds(n)}},r.prototype.shouldCreateBullet=function(e,t){return!0},r.prototype.validateDataElement=function(e){var t=this;l.prototype.validateDataElement.call(this,e),this._showBullets?(this.isHidden||(this.bulletsContainer.visible=!0),this.bullets.each(function(i){var a=e.bullets.getKey(i.uid);if(t.shouldCreateBullet(e,i)){if(!a){var n=i.propertyFields.disabled,s=e.dataContext;n&&s&&s[n]===!1?(i.applyOnClones=!1,i.disabled=!1,a=i.clone(),i.disabled=!0,i.applyOnClones=!0):a=i.clone(),a.shouldClone=!1,e.addSprite(a),(!t.visible||t.isHiding)&&a.hide(0)}var o=a.dataItem;if(o!=e){o&&o.bullets.setKey(i.uid,void 0);var h=t.itemReaderText;a instanceof We&&(h||(h="{"+a.xField+"}: {"+a.yField+"}"),a.isDynamic&&(e.events.on("workingvaluechanged",a.deepInvalidate,a,!1),t.dataItem.events.on("workingvaluechanged",a.deepInvalidate,a,!1)),a.deepInvalidate()),a.focusable&&(a.events.on("focus",function(d){a.readerTitle=t.populateString(h,a.dataItem)},void 0,!1),a.events.on("blur",function(d){a.readerTitle=""},void 0,!1)),a.hoverable&&(a.events.on("over",function(d){a.readerTitle=t.populateString(h,a.dataItem)},void 0,!1),a.events.on("out",function(d){a.readerTitle=""},void 0,!1))}a.parent=t.bulletsContainer,e.bullets.setKey(i.uid,a),a.maxWidth=e.itemWidth,a.maxHeight=e.itemHeight,a.__disabled=!1,t.positionBullet(a)}else a&&(a.__disabled=!0)})):this.bulletsContainer.visible=!1},r.prototype.handleDataItemWorkingValueChange=function(e,t){this.dataRangeInvalid||this.invalidateProcessedData()},Object.defineProperty(r.prototype,"ignoreMinMax",{get:function(){return this._ignoreMinMax},set:function(e){this._ignoreMinMax=e,this.invalidateDataItems()},enumerable:!0,configurable:!0}),r.prototype.createMask=function(){},r.prototype.processAxisRange=function(e){this.rangesContainer||(this.rangesContainer=this.createChild(X),this.rangesContainer.shouldClone=!1,this.rangesContainer.isMeasured=!1);var t=e.newValue;t&&(t.contents.parent=this.rangesContainer,t.isRange=!0,t.events.on("valuechanged",this.invalidateDataItems,this,!1))},r.prototype.getAxisField=function(e){},r.prototype.showTooltipAtPosition=function(e,t){},Object.defineProperty(r.prototype,"minBulletDistance",{get:function(){return this.getPropertyValue("minBulletDistance")},set:function(e){this.setPropertyValue("minBulletDistance",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"bullets",{get:function(){return this._bullets||(this._bullets=new Q(new We),this._bullets.template.virtualParent=this,this._bullets.events.on("inserted",this.processBullet,this,!1),this._bullets.events.on("removed",this.removeBullet,this,!1),this._disposers.push(new G(this._bullets)),this._disposers.push(this._bullets.template)),this._bullets},enumerable:!0,configurable:!0}),r.prototype.createLegendMarker=function(e){},Object.defineProperty(r.prototype,"hiddenInLegend",{get:function(){return this.getPropertyValue("hiddenInLegend")},set:function(e){this.setPropertyValue("hiddenInLegend",e)&&this.chart&&this.chart.feedLegend()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"name",{get:function(){return this.getPropertyValue("name")},set:function(e){this.setPropertyValue("name",e);var t=this.legendDataItem;t&&(t.component.invalidate(),t.component.invalidateRawData()),this.readerTitle=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"itemReaderText",{get:function(){var e=this._itemReaderText;return e||(this.tooltipText?e=Ni(this.tooltipText):this.tooltipHTML&&(e=Ni(this.tooltipHTML))),this._adapterO?this._adapterO.apply("itemReaderText",e):e},set:function(e){this._itemReaderText=e,this._itemReaderTextChanged=!0},enumerable:!0,configurable:!0}),r.prototype.itemsFocusable=function(){return!(this.dataItems.length>=this.skipFocusThreshold)},Object.defineProperty(r.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(e){this._legendDataItem=e,this._legendDataItem.itemContainer.deepInvalidate()},enumerable:!0,configurable:!0}),r.prototype.updateLegendValue=function(e,t){if(this.legendDataItem){var i=this.legendSettings,a=this.legendDataItem,n=a.label,s=a.valueLabel;e&&!e.isDisposed()||t?(s&&(i.itemValueText&&(s.text=i.itemValueText),s.dataItem=e),n&&(i.itemLabelText&&(n.text=i.itemLabelText),n.dataItem=e)):(n&&((i.labelText||i.itemLabelText!=null)&&(n.text=i.labelText),n.dataItem=this.dataItem),s&&((i.valueText||i.itemValueText!=null)&&(s.text=i.valueText),s.dataItem=this.dataItem))}},r.prototype.copyFrom=function(e){this.bullets.copyFrom(e.bullets),this.bulletsContainer.copyFrom(e.bulletsContainer),this.calculatePercent=e.calculatePercent,this.usePercentHack=e.usePercentHack,this.simplifiedProcessing=e.simplifiedProcessing,l.prototype.copyFrom.call(this,e)},r.prototype.raiseCriticalError=function(e){this._chart&&this._chart.modal&&(this._chart.modal.content=this._chart.adapter.apply("criticalError",e).message,this._chart.modal.closable=!1,this._chart.modal.open(),this._chart.disabled=!0),console.log(e)},r.prototype.applyFilters=function(){var e=this;l.prototype.applyFilters.call(this),this.bulletsContainer.filters.clear(),w(this.filters.iterator(),function(t){e.bulletsContainer.filters.push(t.clone())})},Object.defineProperty(r.prototype,"heatRules",{get:function(){var e=this;return this._heatRules||(this._heatRules=new xe,this._heatRules.events.on("inserted",function(t){var i=t.newValue,a=i.target;if(a){var n=i.dataField;C(n)||(n="value");var s=e.dataItem,o=i.property,h=Ve(i.minValue),d=Ve(i.maxValue);!g(h)&&!g(d)&&e.dataItem.events.on("calculatedvaluechanged",function(u){u.property==n&&w(e.dataItems.iterator(),function(p){var f=!1;H(p.sprites,function(c){if(c.clonedFrom==a){var y=c;y[o]=y[o],f=!0}}),f||H(p.sprites,function(c){c instanceof X&&w(c.children.iterator(),function(y){if(y.className==a.className){var v=y;v[o]=v[o]}else y instanceof X&&y.deepInvalidate()})})})}),e.dataItems.template.events.on("workingvaluechanged",function(u){if(u.property==n){var p=u.target,f=!1;H(p.sprites,function(c){if(c.clonedFrom==a){var y=c;y[o]=y[o],f=!0}}),f||H(p.sprites,function(c){c instanceof X&&w(c.children.iterator(),function(y){if(y.className==a.className){var v=y;v[o]=v[o]}else y instanceof X&&y.deepInvalidate()})})}}),a.adapter.add(o,function(u,p,f){var c=Ve(i.minValue),y=Ve(i.maxValue),v=i.min,m=i.max;if(p instanceof q){var x=p,P=x.propertyFields[f];if(P&&p.dataItem){var S=p.dataItem.dataContext;if(S&&C(S[P]))return u}}var D=p.dataItem;if(g(c)||(c=s.values[n].low),g(y)||(y=s.values[n].high),D){var T=D.values[n];if(T){var b=D.getActualWorkingValue(n);if(C(v)&&C(m)&&g(c)&&g(y)&&g(b)){var O=void 0;if(i.logarithmic?O=(Math.log(b)*Math.LOG10E-Math.log(c)*Math.LOG10E)/(Math.log(y)*Math.LOG10E-Math.log(c)*Math.LOG10E):O=(b-c)/(y-c),g(b)&&(!g(O)||Math.abs(O)==1/0)&&(O=.5),g(v))return v+(m-v)*O;if(v instanceof Ce)return new Ce(li(v.rgb,m.rgb,O))}}}return u})}})),this._heatRules},enumerable:!0,configurable:!0}),r.prototype.processConfig=function(e){var t;if(e){if(C(e.bullets)&&ke(e.bullets))for(var i=0,a=e.bullets.length;i=0;n--){var s=a.getIndex(n);s&&s.dataContext==t&&i.dataItems.remove(s)}for(var n=i.data.length-1;n>=0;n--){var o=i.data[n];o&&o==t&&Ae(i.data,o)}}},r.prototype.handleSeriesAdded=function(e){var t=this,i=e.newValue;i.isDisposed()||(i.chart=this,i.parent=this.seriesContainer,i.bulletsContainer.parent=this.bulletsContainer,this._dataUsers.moveValue(i),i.addDisposer(new se(function(){t.dataUsers.removeValue(i)})),this.handleSeriesAdded2(i),this.handleLegendSeriesAdded(i))},r.prototype.handleLegendSeriesAdded=function(e){e.hiddenInLegend||this.legend&&this.legend.addData(e)},r.prototype.handleSeriesAdded2=function(e){var t=this;this.dataInvalid||this._disposers.push(V.events.once("exitframe",function(){(!e.data||e.data.length==0)&&(e.data=t.data,e.showOnInit&&(e.reinit(),e.setPropertyValue("showOnInit",!1),e.showOnInit=!0),e.isDisposed()||e.events.once("datavalidated",function(){e.data==t.data&&(e._data=[])}))}))},r.prototype.feedLegend=function(){var e=this.legend;if(e){var t=[];w(this.series.iterator(),function(i){i.hiddenInLegend||t.push(i)}),e.dataFields.name="name",e.data=t}},r.prototype.createSeries=function(){return new Ht},Object.defineProperty(r.prototype,"colors",{get:function(){return this.getPropertyValue("colors")},set:function(e){this.setPropertyValue("colors",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"patterns",{get:function(){return this.getPropertyValue("patterns")},set:function(e){this.setPropertyValue("patterns",e,!0)},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.series.copyFrom(e.series)},r.prototype.appear=function(){l.prototype.appear.call(this),this.series.each(function(e){e.showOnInit&&e.inited&&e.appear()})},r}(nt);V.registeredClasses.SerialChart=Vi;var Ut=function(l){A(r,l);function r(){var e=l.call(this)||this;e._axis=new le,e.dataItems=new xe,e.className="AxisBreak",e.breakSize=.01,e.marginLeft=-5,e.marginRight=-5,e.marginTop=-5,e.marginBottom=-5;var t=new te,i=new tt;i.fill=t.getFor("background"),i.stroke=Te(),i.fillOpacity=.9,i.zIndex=0,e._fillShape=i;var a=new tt;a.fill=Te(),a.stroke=t.getFor("grid"),a.strokeOpacity=.3,a.zIndex=1,e._startLine=a;var n=new tt;return n.fill=Te(),n.stroke=Te("#000000"),n.strokeOpacity=.3,n.zIndex=2,e._endLine=n,e._disposers.push(e._axis),e.applyTheme(),e}return r.prototype.dispose=function(){l.prototype.dispose.call(this),this._fillShape&&this._fillShape.dispose(),this._startLine&&this._startLine.dispose(),this._endLine&&this._endLine.dispose()},Object.defineProperty(r.prototype,"startLine",{get:function(){return this._startLine},set:function(e){this._startLine&&this._startLine.dispose(),this._startLine=e,this.addBreakSprite(e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endLine",{get:function(){return this._endLine},set:function(e){this._endLine&&this._endLine.dispose(),this._endLine=e,this.addBreakSprite(e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"fillShape",{get:function(){return this._fillShape},set:function(e){this._fillShape&&this._fillShape.dispose(),this._fillShape=e,this.addBreakSprite(e)},enumerable:!0,configurable:!0}),r.prototype.addBreakSprite=function(e){e.parent=this,e.isMeasured=!1,this._disposers.push(e)},Object.defineProperty(r.prototype,"axis",{get:function(){return this._axis.get()},set:function(e){if(this._axis.get()!==e){this._axis.set(e,e.renderer.gridContainer.events.on("transformed",this.invalidate,this,!1)),e.renderer.createBreakSprites(this);var t=e.axisBreaks.template;this.startLine.copyFrom(t.startLine),this.endLine.copyFrom(t.endLine),this.fillShape.copyFrom(t.fillShape)}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"breakSize",{get:function(){return this.getPropertyValue("breakSize")},set:function(e){this.setPropertyValue("breakSize",e)&&this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"startPoint",{get:function(){var e=this.axis.renderer;if(e)return e.positionToPoint(this.startPosition)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endPoint",{get:function(){var e=this.axis.renderer;if(e)return e.positionToPoint(this.endPosition)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"startPosition",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endPosition",{get:function(){},enumerable:!0,configurable:!0}),r.prototype.draw=function(){if(l.prototype.draw.call(this),this.axis){var e=this.axis.renderer;e.updateBreakElement(this)}},Object.defineProperty(r.prototype,"startValue",{get:function(){return this.getPropertyValue("startValue")},set:function(e){this.setPropertyValue("startValue",e)&&this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endValue",{get:function(){return this.getPropertyValue("endValue")},set:function(e){this.setPropertyValue("endValue",e)&&this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),r}(X);V.registeredClasses.AxisBreak=Ut;var Vt=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="AxisDataItem",e.applyTheme(),e}return Object.defineProperty(r.prototype,"grid",{get:function(){if(!this._grid){var e=this.component;if(e){var t=void 0,i;if(this.isRange){if(t=e.axisRanges.template.grid,t.disabled)return;i=t.clone()}else{if(t=e.renderer.grid.template,t.disabled)return;i=e.renderer.grid.create(),this._disposers.push(new se(function(){e.renderer.grid.removeValue(i)}))}this.grid=i,i.shouldClone=!1,this._disposers.push(i),i.axis=this.component}}return this._grid},set:function(e){this._grid&&this._grid!=e&&(Ae(this.sprites,this._grid),this._grid.dataItem=void 0),e&&(e.dataItem&&e.dataItem!=this&&(Ae(e.dataItem.sprites,e),e.dataItem.grid=void 0),this.addSprite(e)),this._grid=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tick",{get:function(){if(!this._tick){var e=this.component;if(e){var t=void 0,i;if(this.isRange){if(t=e.axisRanges.template.tick,t.disabled)return;i=t.clone()}else{if(t=e.renderer.ticks.template,t.disabled)return;i=e.renderer.ticks.create(),this._disposers.push(new se(function(){e.renderer.ticks.removeValue(i)}))}this.tick=i,i.axis=this.component,i.shouldClone=!1,this._disposers.push(i)}}return this._tick},set:function(e){this._tick&&this._tick!=e&&(Ae(this.sprites,this._tick),this._tick.dataItem=void 0),e&&(e.dataItem&&e.dataItem!=this&&(Ae(e.dataItem.sprites,e),e.dataItem.tick=void 0),this.addSprite(e)),this._tick=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"label",{get:function(){if(!this._label){var e=this.component;if(e){var t=void 0,i;if(this.isRange){if(t=e.axisRanges.template.label,t.disabled)return;i=t.clone()}else{if(t=e.renderer.labels.template,t.disabled)return;i=e.renderer.labels.create(),this._disposers.push(new se(function(){e.renderer.labels.removeValue(i)}))}this._disposers.push(i),this.label=i,i.shouldClone=!1,i.axis=this.component,i.virtualParent=e}}return this._label},set:function(e){this._label&&this._label!=e&&(Ae(this.sprites,this._label),this._label.dataItem=void 0),e&&(e.dataItem&&e.dataItem!=this&&(Ae(e.dataItem.sprites,e),e.dataItem.label=void 0),this.addSprite(e)),this._label=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"axisFill",{get:function(){if(!this._axisFill){var e=this.component;if(e){var t=void 0,i;if(this.isRange){if(t=e.axisRanges.template.axisFill,!this.isTemplate&&t.disabled)return;i=t.clone()}else{if(t=e.renderer.axisFills.template,t.disabled)return;i=e.renderer.axisFills.create(),this._disposers.push(new se(function(){e.renderer.axisFills.removeValue(i)}))}this.axisFill=i,i.shouldClone=!1,this._disposers.push(i)}}return this._axisFill},set:function(e){this._axisFill&&this._axisFill!=e&&(Ae(this.sprites,this._axisFill),this._axisFill.dataItem=void 0),e&&(e.dataItem&&e.dataItem!=this&&(Ae(e.dataItem.sprites,e),e.dataItem.axisFill=void 0),e.axis=this.component,this.addSprite(e)),this._axisFill=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e,this._label&&(this._label.text=e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"mask",{get:function(){return this._mask},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"contents",{get:function(){if(!this._contents){var e=new X;this.addSprite(e),e.isMeasured=!1,this._contents=e;var t=this.component;if(t){var i=t.renderer.createFill(this.component);i.disabled=!1,i.axis=t,this.addSprite(i),this._mask=i,e.mask=i}}return this._contents},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"axisBreak",{get:function(){return this._axisBreak},set:function(e){this._axisBreak&&this._axisBreak.dataItems.removeValue(this),e&&e.dataItems.push(this),this._axisBreak=e},enumerable:!0,configurable:!0}),r.prototype.validate=function(){this.component&&this.component.validateDataElement(this)},r.prototype.appendChildren=function(){this.component&&this.component.appendDataItem(this)},r.prototype.hasProperty=function(e){return e=="component"?!0:l.prototype.hasProperty.call(this,e)},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.text=e.text,e.bullet&&(this.bullet=e.bullet.clone()),this.minPosition=e.minPosition,this.maxPosition=e.maxPosition},r.prototype.setVisibility=function(e,t){l.prototype.setVisibility.call(this,e,t),this._contents&&(this._contents.visible=e)},Object.defineProperty(r.prototype,"bullet",{get:function(){return this._bullet},set:function(e){this._bullet&&this._bullet!=e&&(Ae(this.sprites,this._bullet),this._bullet.dataItem=void 0),this._bullet=e,e&&this.addSprite(e)},enumerable:!0,configurable:!0}),r}(ct),ar;(function(l){l[l.Start=0]="Start",l[l.Middle=.5]="Middle",l[l.End=1]="End"})(ar||(ar={}));var Gt=function(l){A(r,l);function r(){var e=l.call(this)||this;if(e._gridCount=10,e._series=new xe,e.autoDispose=!0,e._axisItemCount=0,e.constructor===r)throw new Error("'Axis' cannot be instantiated directly. Please use a specific axis type.");e.hideTooltipWhileZooming=!0,e.minWidth=1e-4,e.minHeight=1e-4,e.className="Axis",e.shouldClone=!1,e.setPropertyValue("cursorTooltipEnabled",!0),e.toggleZoomOutButton=!0,e.zoomable=!0;var t=new te;e.title=new ze,e.title.shouldClone=!1,e._disposers.push(e.title),e.setPropertyValue("startLocation",0),e.setPropertyValue("endLocation",1),e._dataItemsIterator=new Pi(e.dataItems,function(){return e.dataItems.create()}),e._dataItemsIterator.createNewItems=!0;var i=new sr;e._disposers.push(i),i.label.padding(5,10,5,10),i.background.pointerLength=5,i.fitPointerToBounds=!0,i.background.filters.clear(),i.virtualParent=e;var a=i.background;return a.cornerRadius=0,a.fill=t.getFor("alternativeBackground"),a.stroke=a.fill,a.strokeWidth=1,a.fillOpacity=1,i.label.fill=t.getFor("alternativeText"),e.tooltip=i,e.readerHidden=!0,e.events.on("rangechangestarted",function(){e.series.each(function(n){n.hideTooltipWhileZooming&&(n.tooltip.hide(),n.tooltip.preventShow=!0)}),e.hideTooltipWhileZooming&&(e.tooltip.hide(),e.tooltip.preventShow=!0)},void 0,!1),e.events.on("rangechangeended",function(){e.series.each(function(n){n.hideTooltipWhileZooming&&(n.tooltip.hide(),n.tooltip.preventShow=!1)}),e.hideTooltipWhileZooming&&(e.tooltip.hide(),e.tooltip.preventShow=!1)},void 0,!1),e.applyTheme(),e}return r.prototype.fillRule=function(e,t){g(t)||(t=e.index),t/2==Math.round(t/2)?(e.axisFill.__disabled=!0,e.axisFill.opacity=0):(e.axisFill.opacity=1,e.axisFill.__disabled=!1)},r.prototype.createDataItem=function(){return new Vt},r.prototype.invalidateLayout=function(){l.prototype.invalidateLayout.call(this),w(this.series.iterator(),function(e){e.invalidateLayout()})},r.prototype.invalidateSeries=function(){w(this.series.iterator(),function(e){e.invalidate()})},r.prototype.validateDataElements=function(){this._axisItemCount=0,this.ghostLabel&&(this.renderer.updateLabelElement(this.ghostLabel,this.start,this.end),this.ghostLabel.validate())},r.prototype.updateGridCount=function(){if(this.renderer){var e=this.axisLength/this.renderer.minGridDistance;e!=this._gridCount&&(this._gridCount=e,this.clearCache())}},r.prototype.validateLayout=function(){this.axisFullLength=this.axisLength/(this.end-this.start),l.prototype.validateLayout.call(this),this.updateGridCount();var e=this.renderer;e&&(e.updateAxisLine(),e.updateTooltip(),e.updateBaseGridElement()),this._prevLength!=this.axisLength&&(this.dispatchImmediately("lengthchanged"),this._prevLength=this.axisLength)},r.prototype.initRenderer=function(){},r.prototype.appendDataItem=function(e){var t=this.renderer,i=e.tick;i&&(i.above?i.parent=t.bulletsContainer:i.parent=t.gridContainer),e.label&&(e.label.parent=t);var a=e.axisFill;a&&(a.above?a.parent=t.bulletsContainer:a.parent=t.gridContainer);var n=e.grid;n&&(n.above?n.parent=t.bulletsContainer:n.parent=t.gridContainer),e.bullet&&(e.bullet.parent=t.bulletsContainer)},r.prototype.validate=function(){l.prototype.validate.call(this),this.validateLayout(),this.renderer.updateGridContainer()},r.prototype.validateAxisRanges=function(){var e=this;w(this.axisRanges.iterator(),function(t){e.appendDataItem(t),e.validateDataElement(t),t.grid&&t.grid.validate(),t.tick&&t.tick.validate(),t.axisFill&&t.axisFill.validate(),t.label&&t.label.validate()})},r.prototype.validateBreaks=function(){this._axisBreaks&&w(this._axisBreaks.iterator(),function(e){e.invalidate()})},r.prototype.processBreak=function(e){var t=e.newValue;t.parent=this.renderer.breakContainer,t.axis=this},r.prototype.registerSeries=function(e){var t=this;return this.series.moveValue(e),new it([new se(function(){t.series.removeValue(e)}),this.events.on("lengthchanged",e.invalidate,e,!1),this.events.on("lengthchanged",e.createMask,e,!1),this.events.on("startchanged",e.invalidate,e,!1),this.events.on("endchanged",e.invalidate,e,!1)])},Object.defineProperty(r.prototype,"renderer",{get:function(){return this._renderer},set:function(e){if(e!=this._renderer){this._renderer=e,e.chart=this.chart,e.axis=this,e.parent=this,this.title.parent=this,this.initRenderer(),this._disposers.push(e.gridContainer.events.on("maxsizechanged",this.invalidate,this,!1));var t=this.renderer.labels.create();this._disposers.push(t),t.dataItem=this.dataItems.template.clone(),t.text="L",t.parent=this.renderer,t.shouldClone=!1,t.fillOpacity=0,t.opacity=0,t.strokeOpacity=0,t.interactionsEnabled=!1,t.validate(),this.ghostLabel=t,this.events.on("beforedatavalidated",function(){t.text="L"},void 0,!1)}},enumerable:!0,configurable:!0}),r.prototype.positionToAngle=function(e){return this.renderer.positionToAngle(e)},r.prototype.pointToPosition=function(e){return this.renderer.pointToPosition(e)},r.prototype.positionToCoordinate=function(e){return this.renderer.positionToCoordinate(e)},r.prototype.getAnyRangePath=function(e,t){return this.renderer.getPositionRangePath(e,t)},r.prototype.anyToPosition=function(e){return 0},r.prototype.anyToPoint=function(e){return{x:0,y:0,angle:0}},r.prototype.getPositionRangePath=function(e,t){return this.renderer?this.renderer.getPositionRangePath(e,t):""},Object.defineProperty(r.prototype,"axisLength",{get:function(){return this.renderer?this.renderer.axisLength:0},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cursorTooltipEnabled",{get:function(){return this.getPropertyValue("cursorTooltipEnabled")},set:function(e){this.setPropertyValue("cursorTooltipEnabled",e)&&(e&&this.renderer?this.renderer.updateTooltip():this.tooltip&&this.tooltip.hide(0))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"toggleZoomOutButton",{get:function(){return this.getPropertyValue("toggleZoomOutButton")},set:function(e){this.setPropertyValue("toggleZoomOutButton",e)},enumerable:!0,configurable:!0}),r.prototype.hideTooltip=function(e){l.prototype.hideTooltip.call(this,e),this._tooltipPosition=void 0},r.prototype.showTooltipAtPosition=function(e,t){var i=this._tooltip;if(!i||this.dataItems.length<=0)this._tooltipPosition=void 0;else{if(t||(e=this.toAxisPosition(e)),!g(e)||ethis.end){i.hide(0),this._tooltipPosition=void 0;return}var a=this.renderer;i.parent||(i.parent=this.tooltipContainer);var n=a.tooltipLocation,s=this.getCellStartPosition(e),o=this.getCellEndPosition(e);if(this.tooltipPosition=="fixed"&&(e=s+(o-s)*n),e=Y(e,this.start,this.end),this._tooltipPosition!=e){this._tooltipPosition=e;var h=a.tooltipLocation2,d=a.positionToPoint(s,h),u=a.positionToPoint(o,h);this.currentItemStartPoint=d,this.currentItemEndPoint=u,a.fullWidthTooltip&&(i.width=u.x-d.x,i.height=u.y-d.y);var p=a.positionToPoint(e,h),f=Qe(p,this.renderer.line);i.text=this.getTooltipText(e),i.text&&(i.delayedPointTo(f),i.show())}(!this.cursorTooltipEnabled||this.tooltip.disabled)&&i.hide(0)}},r.prototype.toAxisPosition=function(e){if(e=this.renderer.toAxisPosition(e),e!=null)return e=e*(this.end-this.start),this.renderer.inversed?e=this.end-e:e=this.start+e,e},r.prototype.toGlobalPosition=function(e){return this.renderer.inversed?e=this.end-e:e=e-this.start,e/(this.end-this.start)},r.prototype.getTooltipText=function(e){},r.prototype.updateTooltip=function(e,t){var i=this._tooltip;i&&(i.fixDoc=!1,i.pointerOrientation=e,i.setBounds(or(t,this.renderer.line)))},r.prototype.roundPosition=function(e,t,i){return e},r.prototype.getCellStartPosition=function(e){return e},r.prototype.getCellEndPosition=function(e){return e},Object.defineProperty(r.prototype,"axisRanges",{get:function(){if(!this._axisRanges){var e=this.createDataItem();e.isRange=!0,e.axisFill=this.renderer.axisFills.template.clone(),e.grid=this.renderer.grid.template.clone(),e.tick=this.renderer.ticks.template.clone(),e.label=this.renderer.labels.template.clone(),e.isTemplate=!0,e.component=this,e.axisFill.disabled=!1,e.tick.disabled=!1,e.grid.disabled=!1,e.label.disabled=!1,this._axisRanges=new Q(e),this._axisRanges.events.on("inserted",this.processAxisRange,this,!1),this._disposers.push(new G(this._axisRanges)),this._disposers.push(this._axisRanges.template)}return this._axisRanges},enumerable:!0,configurable:!0}),r.prototype.processAxisRange=function(e){var t=e.newValue;t.component=this,t.isRange=!0},Object.defineProperty(r.prototype,"axisBreaks",{get:function(){return this._axisBreaks||(this._axisBreaks=new ua(this.createAxisBreak(),function(e,t){return yt(e.adjustedStartValue,t.adjustedStartValue)}),this._axisBreaks.events.on("inserted",this.processBreak,this,!1),this._disposers.push(new G(this._axisBreaks)),this._disposers.push(this._axisBreaks.template)),this._axisBreaks},enumerable:!0,configurable:!0}),r.prototype.createAxisBreak=function(){return new Ut},Object.defineProperty(r.prototype,"series",{get:function(){return this._series||(this._series=new xe),this._series},enumerable:!0,configurable:!0}),r.prototype.processSeriesDataItems=function(){},r.prototype.processSeriesDataItem=function(e,t){},r.prototype.postProcessSeriesDataItems=function(e){},r.prototype.postProcessSeriesDataItem=function(e){},r.prototype.updateAxisBySeries=function(){},r.prototype.hideUnusedDataItems=function(){var e=this,t=this._dataItemsIterator;t.createNewItems=!1,w(t.iterator(),function(i){e.validateDataElement(i),i.__disabled=!0}),t.clear(),t.createNewItems=!0},r.prototype.getSeriesDataItem=function(e,t,i){},r.prototype.getAngle=function(e,t,i,a,n){},r.prototype.getX=function(e,t,i,a,n){},r.prototype.getPositionX=function(e,t,i,a,n){},r.prototype.getY=function(e,t,i,a,n){},r.prototype.getPositionY=function(e,t,i,a,n){},Object.defineProperty(r.prototype,"basePoint",{get:function(){return{x:0,y:0}},enumerable:!0,configurable:!0}),r.prototype.dataChangeUpdate=function(){},r.prototype.seriesDataChangeUpdate=function(e){},r.prototype.adjustDifference=function(e,t){var i=t-e;if(g(i))return this._axisBreaks&&je(this._axisBreaks.iterator(),function(a){var n=a.adjustedStartValue,s=a.adjustedEndValue;if(g(n)&&g(s)){if(n>t)return!1;if(s>=e&&g(n)&&g(s)){var o=a.breakSize,h=da({start:n,end:s},{start:e,end:t});h&&(i-=(h.end-h.start)*(1-o))}return!0}}),i},r.prototype.isInBreak=function(e){if(this._axisBreaks)return pa(this._axisBreaks.iterator(),function(t){return e>=t.adjustedStartValue&&e<=t.adjustedEndValue})},r.prototype.fixAxisBreaks=function(){var e=this;if(this._axisBreaks){var t=this._axisBreaks;if(t.length>0){H(fa(t.iterator()),function(n){var s=U(n.startValue,n.endValue),o=ee(n.startValue,n.endValue);n.adjustedStartValue=s,n.adjustedEndValue=o,e._axisBreaks.update(n)});var i=t.first,a=Math.min(i.startValue,i.endValue);w(t.iterator(),function(n){var s=n.adjustedStartValue,o=n.adjustedEndValue;sh?e.__disabled=!0:e.__disabled=!1)},r.prototype.createBreakSprites=function(e){},Object.defineProperty(r.prototype,"axisFills",{get:function(){if(!this._axisFills){var e=this.createFill(this.axis);this._axisFills=new Q(e),e.applyOnClones=!0,e.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new G(this._axisFills)),this._disposers.push(this._axisFills.template)}return this._axisFills},enumerable:!0,configurable:!0}),r.prototype.createFill=function(e){return new Si(e)},Object.defineProperty(r.prototype,"grid",{get:function(){if(!this._grid){var e=this.createGrid();this._grid=new Q(e),e.applyOnClones=!0,e.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new G(this._grid)),this._disposers.push(this._grid.template)}return this._grid},enumerable:!0,configurable:!0}),r.prototype.createGrid=function(){return new Dt},Object.defineProperty(r.prototype,"ticks",{get:function(){if(!this._ticks){var e=this.createTick();e.applyOnClones=!0,e.isMeasured=!1,e.events.on("enabled",this.invalidateAxisItems,this,!1),this._ticks=new Q(e),this._disposers.push(new G(this._ticks)),this._disposers.push(this._ticks.template)}return this._ticks},enumerable:!0,configurable:!0}),r.prototype.createTick=function(){return new gr},Object.defineProperty(r.prototype,"labels",{get:function(){if(!this._labels){var e=this.createLabel();this._labels=new Q(e),e.applyOnClones=!0,e.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new G(this._labels)),this._disposers.push(this._labels.template)}return this._labels},enumerable:!0,configurable:!0}),r.prototype.createLabel=function(){return new Ti},Object.defineProperty(r.prototype,"inside",{get:function(){return this.getPropertyValue("inside")},set:function(e){this.setPropertyValue("inside",e)&&this.axis&&this.axis.invalidate(),e?(this.width=0,this.height=0):(this.width=void 0,this.height=void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"opposite",{get:function(){return this.getPropertyValue("opposite")},set:function(e){this.setPropertyValue("opposite",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"fullWidthTooltip",{get:function(){return this.getPropertyValue("fullWidthTooltip")},set:function(e){this.setPropertyValue("fullWidthTooltip",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tooltipLocation",{get:function(){return this.getPropertyValue("tooltipLocation")},set:function(e){this.setPropertyValue("tooltipLocation",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tooltipLocation2",{get:function(){return this.getPropertyValue("tooltipLocation2")},set:function(e){this.setPropertyValue("tooltipLocation2",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cellStartLocation",{get:function(){return this.getPropertyValue("cellStartLocation")},set:function(e){this.setPropertyValue("cellStartLocation",e)&&this.axis&&this.axis.invalidateSeries()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cellEndLocation",{get:function(){return this.getPropertyValue("cellEndLocation")},set:function(e){this.setPropertyValue("cellEndLocation",e)&&this.axis&&this.axis.invalidateSeries()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"inversed",{get:function(){return this.getPropertyValue("inversed")},set:function(e){this.setPropertyValue("inversed",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"minLabelPosition",{get:function(){return this.getPropertyValue("minLabelPosition")},set:function(e){this.setPropertyValue("minLabelPosition",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maxLabelPosition",{get:function(){return this.getPropertyValue("maxLabelPosition")},set:function(e){this.setPropertyValue("maxLabelPosition",e,!0)},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.grid.template.copyFrom(e.grid.template),this.ticks.template.copyFrom(e.ticks.template),this.labels.template.copyFrom(e.labels.template),this.axisFills.template.copyFrom(e.axisFills.template),this.line.copyFrom(e.line),this.baseGrid.copyFrom(e.baseGrid)},r.prototype.toAxisPosition=function(e){return e},r.prototype.setVisibility=function(e){l.prototype.setVisibility.call(this,e),this.bulletsContainer.visible=e},r}(X);V.registeredClasses.AxisRenderer=Kt;var Tt=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="AxisBullet",e.location=.5,e.isMeasured=!1,e.applyTheme(),e}return Object.defineProperty(r.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(e){this.setPropertyValue("location",e,!0)},enumerable:!0,configurable:!0}),r.prototype.setDisabled=function(e){var t=l.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),t},r}(X);V.registeredClasses.AxisBullet=Tt;var we=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="AxisRendererY",e.minGridDistance=40,e.opposite=!1,e.height=k(100),e.labels.template.verticalCenter="middle",e.applyTheme(),e}return r.prototype.setAxis=function(e){l.prototype.setAxis.call(this,e),e.layout="horizontal"},r.prototype.updateGridContainer=function(){var e=this.axis;if(e){var t=this.gridContainer;t.y=e.pixelY,t.height=e.axisLength}},r.prototype.toAxisPosition=function(e){var t=this.axis;if(t){var i=1-e,a=t.relativePositionSprite,n=t.pixelY;if(a?n=De({x:0,y:this.pixelY},this.parent,a).y:a=t.parent,a){var s=n/a.innerHeight,o=t.axisLength/a.innerHeight;return 1-(i-s)/o}}return e},r.prototype.processRenderer=function(){l.prototype.processRenderer.call(this);var e=this.axis;if(e){var t=e.title;t.valign="middle",e.height instanceof ce||(e.height=k(100)),this.opposite?(t.rotation=90,this.line.toBack(),t.toFront()):(t.rotation=-90,t.toBack(),this.line.toFront())}},r.prototype.updateTooltip=function(){var e=this.axis;if(e){var t=2e3,i=0,a=0,n=t,s=this.axisLength;this.opposite?this.inside&&(i=-t,n=t):this.inside||(i=-t,n=t),this.axis.updateTooltip("horizontal",{x:i,y:a,width:n,height:s})}},Object.defineProperty(r.prototype,"axisLength",{get:function(){var e=this.axis;return e.measuredHeight-e.pixelPaddingTop-e.pixelPaddingBottom||0},enumerable:!0,configurable:!0}),r.prototype.positionToPoint=function(e,t){return{x:0,y:this.positionToCoordinate(e)}},r.prototype.pointToPosition=function(e){return this.coordinateToPosition(e.y,e.x)},r.prototype.coordinateToPosition=function(e,t){var i,a=this.axis,n=a.axisFullLength;return a.renderer.inversed?i=1-a.start-e/n:i=e/n+(1-a.end),j(i,5)},r.prototype.getPositionRangePath=function(e,t){var i=Y(this.positionToCoordinate(e),0,this.axisLength),a=Y(this.positionToCoordinate(t),0,this.axisLength),n=Math.abs(a-i),s=this.getWidth(),o=Math.min(i,a),h=0;return Be({x:h,y:o,width:s,height:n},!0)},r.prototype.updateGridElement=function(e,t,i){t=t+(i-t)*e.location;var a=this.positionToPoint(t);e.path=W({x:0,y:0})+R({x:this.getWidth(),y:0}),this.positionItem(e,a),this.toggleVisibility(e,t,0,1)},r.prototype.updateTickElement=function(e,t,i){t=t+(i-t)*e.location;var a=this.positionToPoint(t),n=e.length;try{He(this.axis.title.measuredWidth)}catch{}a.x=De({x:this.line.pixelX,y:0},this.line.parent,this.gridContainer).x,this.opposite?n*=e.inside?-1:1:n*=e.inside?1:-1,e.path=W({x:0,y:0})+R({x:n,y:0}),this.positionItem(e,a),this.toggleVisibility(e,t,0,1)},r.prototype.updateAxisLine=function(){this.line.path=W({x:0,y:0})+R({x:0,y:this.axisLength})},r.prototype.updateBaseGridElement=function(){l.prototype.updateBaseGridElement.call(this);var e=this.axis,t=this.getWidth(),i=this.axisLength,a=e.basePoint.y,n=this.baseGrid;if(a<-.2||a>i+.2)n.hide(0);else{var s=De({x:0,y:0},this.gridContainer,n.parent).x;n.path=W({x:0,y:0})+R({x:t,y:0}),n.moveTo({x:s,y:a}),n.show(0)}},r.prototype.updateLabelElement=function(e,t,i,a){C(a)||(a=e.location),t=t+(i-t)*a,e.isMeasured=!e.inside;var n=this.positionToPoint(t),s,o=0,h=this.gridContainer.maxWidth;this.opposite?(e.inside?(s="right",e.align=="left"&&(o=-h,s="left"),e.align=="center"&&(o=-h/2,s="middle")):s="left",n.x=0+o):(e.inside?(s="left",e.align=="right"&&(o=h,s="right"),e.align=="center"&&(o=h/2,s="middle")):s="right",n.x=this.measuredWidth+o),e.rotation==0&&(e.horizontalCenter=s),this.positionItem(e,n),this.toggleVisibility(e,t,this.minLabelPosition,this.maxLabelPosition)},r.prototype.updateBreakElement=function(e){l.prototype.updateBreakElement.call(this,e);var t=e.startLine,i=e.endLine,a=e.fillShape,n=e.startPoint,s=e.endPoint,o=e.pixelMarginLeft,h=this.getWidth()-e.pixelMarginLeft-e.pixelMarginRight;n.y=Y(n.y,-1,this.axisLength+1),s.y=Y(s.y,-1,this.axisLength+1),n.y==s.y&&(n.y<0||n.y>this.axisLength)?e.fillShape.__disabled=!0:e.fillShape.__disabled=!1;var d=Math.abs(h-o);t.x=o,t.height=0,t.width=d,i.x=o,i.height=0,i.width=d,a.width=d,a.height=Math.abs(s.y-n.y),a.x=o,a.y=s.y},r.prototype.createBreakSprites=function(e){e.startLine=new tt,e.endLine=new tt;var t=new lr;t.setWavedSides(!0,!1,!0,!1),e.fillShape=t},r.prototype.positionToCoordinate=function(e){var t,i=this.axis,a=i.axisFullLength;return i.renderer.inversed?t=(e-i.start)*a:t=(i.end-e)*a,t},r.prototype.updateBullet=function(e,t,i){var a=.5;e instanceof Tt&&(a=e.location),t=t+(i-t)*a;var n=this.positionToPoint(t);n.x=De({x:this.line.pixelX,y:0},this.line.parent,this.gridContainer).x,this.positionItem(e,n),this.toggleVisibility(e,t,0,1)},r}(Kt);V.registeredClasses.AxisRendererY=we;de.push({relevant:pe.widthS,state:function(l,r){if(l instanceof we){var e=l.states.create(r);return e.properties.inside=!0,e.properties.maxLabelPosition=.9,e.properties.minLabelPosition=.1,e}return null}});de.push({relevant:pe.widthXS,state:function(l,r){if(l instanceof we){var e=l.states.create(r);return e.properties.disabled=!0,e}return null}});var Oi=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ValueAxisBreak",e.applyTheme(),e}return Object.defineProperty(r.prototype,"startPosition",{get:function(){if(this.axis)return this.axis.valueToPosition(this.adjustedStartValue)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endPosition",{get:function(){if(this.axis)return this.axis.valueToPosition(this.adjustedEndValue)},enumerable:!0,configurable:!0}),r}(Ut);V.registeredClasses.ValueAxisBreak=Oi;var Zt=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ValueAxisDataItem",e.values.value={},e.values.endValue={},e.applyTheme(),e}return Object.defineProperty(r.prototype,"value",{get:function(){return this.values.value.value},set:function(e){this.setValue("value",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endValue",{get:function(){return this.values.endValue.value},set:function(e){this.setValue("endValue",e)},enumerable:!0,configurable:!0}),r}(Vt),E=function(l){A(r,l);function r(){var e=l.call(this)||this;return e._stepDecimalPlaces=0,e._prevStepDecimalPlaces=0,e._adjustLabelPrecision=!0,e._baseValue=0,e._adjustedStart=0,e._adjustedEnd=1,e._extremesChanged=!1,e._deltaMinMax=1,e._dsc=!1,e.calculateTotals=!1,e.className="ValueAxis",e.axisFieldName="value",e.setPropertyValue("maxZoomFactor",1e3),e.setPropertyValue("extraMin",0),e.setPropertyValue("extraMax",0),e.setPropertyValue("strictMinMax",!1),e.setPropertyValue("maxPrecision",Number.MAX_VALUE),e.setPropertyValue("adjustLabelPrecision",!0),e.setPropertyValue("extraTooltipPrecision",0),e.keepSelection=!1,e.includeRangesInMinMax=!1,e.applyTheme(),e}return r.prototype.fillRule=function(e){var t=e.value,i=e.component;e.axisFill.disabled||(j(t/i.step/2,5)==Math.round(t/i.step/2)?e.axisFill.__disabled=!0:e.axisFill.__disabled=!1)},r.prototype.createDataItem=function(){return new Zt},r.prototype.createAxisBreak=function(){return new Oi},r.prototype.dataChangeUpdate=function(){this.clearCache(),this.keepSelection?(this._start!=0&&this.dispatchImmediately("startchanged"),this._end!=1&&this.dispatchImmediately("endchanged"),(this._start!=0||this._end!=1)&&this.dispatchImmediately("startendchanged")):(this._start!=0||this._end!=1)&&(this._start=0,this._end=1,this.dispatchImmediately("startendchanged")),this._maxZoomed=this._maxDefined,this._minZoomed=this._minDefined,this._maxAdjusted=this._maxDefined,this._minAdjusted=this._minDefined},r.prototype.processSeriesDataItems=function(){if(this.calculateTotals){var e=this.series.getIndex(0),t=e.startIndex;if(e.dataItems.length>0){t>0&&t--;var i=e.endIndex;i1?t=Math.pow(10,Math.log(this.min)*Math.LOG10E):(t=Math.floor(this.minZoomed/this._step)*this._step,t==0&&(t=this.minZoomed))}var a=this._maxZoomed+this._step;this.resetIterators();var n=this._dataItemsIterator;if(this._step==0)return;this._step=this.fixSmallStep(this._step);var s=0,o=this._prevStepDecimalPlaces!=this._stepDecimalPlaces;for(this._prevStepDecimalPlaces=this._stepDecimalPlaces;t<=a;){var h=this.isInBreak(t);if(!h){var d=n.find(function(v){return v.value===t});d.__disabled&&(d.__disabled=!1),this.appendDataItem(d),d.axisBreak=void 0,(d.value!=t||o)&&(d.value=t,d.text=this.formatLabel(t),d.label&&d.label.invalid&&d.label.validate(),d.value>=this.min&&d.value<=this.max&&d.label&&(this.axisLetter=="Y"&&d.label.measuredWidth>this.ghostLabel.measuredWidth||this.axisLetter=="X"&&d.label.measuredHeight>this.ghostLabel.measuredHeight)&&(this.ghostLabel.text=d.label.currentText,this.ghostLabel.validate())),this.validateDataElement(d)}s++;var u=t;if(!this.logarithmic)t+=this._step;else{var i=Math.log(this.max)*Math.LOG10E-Math.log(this.min)*Math.LOG10E;i>1?t=Math.pow(10,Math.log(this.min)*Math.LOG10E+s):t+=this._step}var p=Math.pow(10,Math.floor(Math.log(Math.abs(this._step))*Math.LOG10E));if(p<1){var f=Math.round(Math.abs(Math.log(Math.abs(p))*Math.LOG10E))+2;if(f=Math.min(13,f),t=j(t,f),u==t){t=a;break}}}var c=this._axisBreaks;if(c){var y=this.renderer;w(c.iterator(),function(v){if(v.breakSize>0&&K(v.startPoint,v.endPoint)>y.minGridDistance)for(var m=v.adjustedMin;m<=v.adjustedMax;){if(m>=v.adjustedStartValue&&m<=v.adjustedEndValue){var x=n.find(function(P){return P.value===m});x.__disabled&&(x.__disabled=!1),e.appendDataItem(x),x.axisBreak=v,x.value!=m&&(x.value=m,x.text=e.formatLabel(m),x.label&&x.label.invalid&&x.label.validate()),e.validateDataElement(x)}m+=v.adjustedStep}})}}},r.prototype.validateDataElement=function(e){l.prototype.validateDataElement.call(this,e),e.itemIndex=this._axisItemCount,this._axisItemCount++;var t=this.renderer,i=e.value,a=e.endValue,n=this.valueToPosition(i);e.position=n;var s=n,o=this.valueToPosition(i+this._step);g(a)&&(s=this.valueToPosition(a),o=s),e.point=t.positionToPoint(n);var h=e.tick;h&&!h.disabled&&t.updateTickElement(h,n,s);var d=e.grid;d&&!d.disabled&&t.updateGridElement(d,n,s);var u=e.label;u&&!u.disabled&&t.updateLabelElement(u,n,s);var p=e.axisFill;p&&!p.disabled&&(t.updateFillElement(p,n,o),e.isRange||this.fillRule(e)),e.bullet&&t.updateBullet(e.bullet,n,s);var f=e.mask;f&&t.updateFillElement(f,n,o)},r.prototype.formatLabel=function(e){return this.adjustLabelPrecision&&e!=0?this.numberFormatter.format(e,void 0,this._stepDecimalPlaces):this.numberFormatter.format(e)},Object.defineProperty(r.prototype,"basePoint",{get:function(){var e=this.baseValue,t=this.valueToPosition(e),i=this.renderer.positionToPoint(t);return i},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"baseValue",{get:function(){var e=this._baseValue;return this.logarithmic&&(e=this.min),this._adapterO?this._adapterO.apply("baseValue",e):e},set:function(e){this._baseValue=e,this.invalidateLayout(),this.invalidateSeries()},enumerable:!0,configurable:!0}),r.prototype.anyToPosition=function(e){return this.valueToPosition(e)},r.prototype.valueToPoint=function(e){var t=this.valueToPosition(e),i=this.renderer.positionToPoint(t),a=this.renderer.positionToAngle(t);return{x:i.x,y:i.y,angle:a}},r.prototype.anyToPoint=function(e){return this.valueToPoint(e)},r.prototype.valueToPosition=function(e){if(g(e)){var t=this.min,i=this.max;if(g(t)&&g(i)){var a=this._difference,n=this._axisBreaks;n&&n.length>0&&je(n.iterator(),function(h){var d=h.adjustedStartValue,u=h.adjustedEndValue;if(g(d)&&g(u)){if(eu?t+=(u-d)*(1-p):e0&&je(s.iterator(),function(o){var h=o.startPosition,d=o.endPosition,u=o.adjustedStartValue,p=o.adjustedEndValue;if(g(u)&&g(p)){if(u>i)return!1;if(Xt({start:u,end:p},{start:t,end:i})){u=ee(u,t),p=U(p,i);var f=o.breakSize;if(a-=(p-u)*(1-f),e>d)t+=(p-u)*(1-f);else if(!(ei&&(i=c)}}),this.includeRangesInMinMax&&this.axisRanges.each(function(p){if(!p.ignoreMinMax){var f=U(p.value,p.endValue),c=ee(p.value,p.endValue);(fi||!g(i))&&(i=c)}})),this.logarithmic){var a=this.treatZeroAs;g(a)&&t<=0&&(t=a),t<=0&&this.raiseCriticalError(new Error("Logarithmic value axis can not have values <= 0."),!0)}if(t==0&&i==0&&(i=.9,t=-.9),g(this._minDefined)&&(t=this._minDefined),g(this._maxDefined)&&(i=this._maxDefined),this._adapterO&&(t=this._adapterO.apply("min",t)),this._adapterO&&(i=this._adapterO.apply("max",i)),!(!g(t)||!g(i))){this._minReal=t,this._maxReal=i,t==Number.POSITIVE_INFINITY&&(t=void 0),i==Number.NEGATIVE_INFINITY&&(i=void 0);var n=this.adjustDifference(t,i);if(t=this.fixMin(t),i=this.fixMax(i),i-t<=1/Math.pow(10,15)){if(i-t!=0)this._deltaMinMax=(i-t)/2;else{var s=Math.log(Math.abs(i))*Math.LOG10E,o=Math.pow(10,Math.floor(s));o=o/10,this._deltaMinMax=o}t-=this._deltaMinMax,i+=this._deltaMinMax}t-=(i-t)*this.extraMin,i+=(i-t)*this.extraMax;var h=this.strictMinMax;g(this._maxDefined)&&(h=!0);var d=this.adjustMinMax(t,i,n,this._gridCount,h);if(t=d.min,i=d.max,n=i-t,d=this.adjustMinMax(t,i,i-t,this._gridCount,!0),t=d.min,i=d.max,this.strictMinMax&&(g(this._minDefined)?t=this._minDefined:t=this._minReal,g(this._maxDefined)?i=this._maxDefined:i=this._maxReal,i-t<=1e-8&&(t-=this._deltaMinMax,i+=this._deltaMinMax),t-=(i-t)*this.extraMin,i+=(i-t)*this.extraMax),this._adapterO&&(t=this._adapterO.apply("min",t)),this._adapterO&&(i=this._adapterO.apply("max",i)),this._step=d.step,!g(t)&&!g(i)&&(this.start=0,this.end=1,this.renderer.labels.each(function(p){p.dataItem.text=""})),(this._minAdjusted!=t||this._maxAdjusted!=i)&&g(t)&&g(i)){var u=this._minMaxAnimation;if(this._extremesChanged&&g(this._minAdjusted)&&g(this._maxAdjusted)&&this.inited){if(u&&!u.isFinished()&&this._finalMax==i&&this._finalMin==t)return;this._finalMin=t,this._finalMax=i,u=this.animateMinMax(t,i),u&&!u.isFinished()?(u.events.on("animationprogress",this.validateDataItems,this),u.events.on("animationended",function(){e.series.each(function(p){p.validate()}),e.validateDataItems(),e.handleSelectionExtremesChange()}),this._minMaxAnimation=u):this.series.each(function(p){p.invalidate()}),this.validateDataItems(),this.dispatchImmediately("extremeschanged"),this.handleSelectionExtremesChange()}else{if(u&&!u.isFinished()&&this._finalMax==i&&this._finalMin==t)return;this._minAdjusted=t,this._maxAdjusted=i,this._finalMin=t,this._finalMax=i,this.invalidateDataItems(),this.dispatchImmediately("extremeschanged")}}this._extremesChanged=!1,this._difference=this.adjustDifference(t,i)}},r.prototype.fixMin=function(e){return e},r.prototype.fixMax=function(e){return e},r.prototype.adjustMinMax=function(e,t,i,a,n){a<=1&&(a=1),a=Math.round(a);var s=e,o=t;i===0&&(i=Math.abs(t));var h=Math.log(Math.abs(i))*Math.LOG10E,d=Math.pow(10,Math.floor(h));d=d/10;var u=d;n&&(u=0),this.logarithmic?(e<=0&&(e=this.baseValue),e==1/0&&(e=1),t==-1/0&&(t=10),this.strictMinMax?(this._minDefined>0?e=this._minDefined:e=e,this._maxDefined>0&&(t=t)):(e=Math.pow(10,Math.floor(Math.log(Math.abs(e))*Math.LOG10E)),t=Math.pow(10,Math.ceil(Math.log(Math.abs(t))*Math.LOG10E)))):(n?(e=Math.floor(e/d)*d,t=Math.ceil(t/d)*d):(e=Math.ceil(e/d)*d-u,t=Math.floor(t/d)*d+u),e<0&&s>=0&&(e=0),t>0&&o<=0&&(t=0)),h=Math.log(Math.abs(i))*Math.LOG10E,d=Math.pow(10,Math.floor(h)),d=d/10;var p=Math.ceil(i/a/d)*d,f=Math.pow(10,Math.floor(Math.log(Math.abs(p))*Math.LOG10E)),c=Math.ceil(p/f);c>5?c=10:c<=5&&c>2&&(c=5),p=Math.ceil(p/(f*c))*f*c,this.maxPrecisions&&(e=e-p)}return{min:e,max:t,step:p}},Object.defineProperty(r.prototype,"min",{get:function(){var e=this._minAdjusted;return g(e)||(e=this._minDefined),e},set:function(e){this._minDefined!=e&&(this._minDefined=e,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"minDefined",{get:function(){return this._minDefined},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maxDefined",{get:function(){return this._maxDefined},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"extraMin",{get:function(){return this.getPropertyValue("extraMin")},set:function(e){this.setPropertyValue("extraMin",e)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"extraMax",{get:function(){return this.getPropertyValue("extraMax")},set:function(e){this.setPropertyValue("extraMax",e)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"step",{get:function(){return this._step},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"max",{get:function(){var e=this._maxAdjusted;return g(e)||(e=this._maxDefined),e},set:function(e){this._maxDefined!=e&&(this._maxDefined=e,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"adjustLabelPrecision",{get:function(){return this.getPropertyValue("adjustLabelPrecision")},set:function(e){this.setPropertyValue("adjustLabelPrecision",e)&&this.invalidate()},enumerable:!0,configurable:!0}),r.prototype.registerSeries=function(e){return new it([l.prototype.registerSeries.call(this,e),e.events.on("extremeschanged",this.handleExtremesChange,this,!1),e.events.on("selectionextremeschanged",this.handleSelectionExtremesChange,this,!1),this.events.on("extremeschanged",e.invalidate,e,!1)])},r.prototype.handleSelectionExtremesChange=function(){var e=this,t,i,a=!0;if(w(this.series.iterator(),function(f){if(!f.ignoreMinMax&&!f.isHidden&&!f.outOfRange){f.visible&&!f.isHiding&&(a=!1);var c=f.selectionMin(e),y=f.selectionMax(e);g(c)&&(!g(t)||ci)&&(i=y)}}),this.includeRangesInMinMax&&this.axisRanges.each(function(f){if(!f.ignoreMinMax){var c=U(f.value,f.endValue),y=ee(f.value,f.endValue);ci&&(i=y)}}),g(this._minDefined)?this.strictMinMax?t=this._minDefined:t=this.min:this.strictMinMax&&(t=this._minReal),g(this._maxDefined)?this.strictMinMax?i=this._maxDefined:i=this.max:this.strictMinMax&&(i=this._maxReal),t==i){t-=this._deltaMinMax,i+=this._deltaMinMax;var n=this.adjustMinMax(t,i,0,this._gridCount,this.strictMinMax);t=n.min,i=n.max}var s=this.adjustDifference(t,i),o=this.adjustMinMax(t,i,s,this._gridCount);t=o.min,i=o.max,t-=(i-t)*this.extraMin,i+=(i-t)*this.extraMax,t=Y(t,this.min,this.max),i=Y(i,this.min,this.max),s=this.adjustDifference(t,i),o=this.adjustMinMax(t,i,s,this._gridCount,!0),t=o.min,i=o.max,this.strictMinMax&&(t=ee(t,this._minDefined),i=U(i,this._maxDefined));var h=o.step;this.syncWithAxis&&(o=this.syncAxes(t,i,h),t=o.min,i=o.max,this.invalidate()),h=o.step,this._difference=this.adjustDifference(this.min,this.max);var d=this.valueToPosition(t),u=this.valueToPosition(i);a&&!this.syncWithAxis&&(d=0,u=1);var p=0;this.syncWithAxis?(p=5,this.setCache(t+"-"+i,h)):((this._step!=h||this._minZoomed!=t||this._maxZoomed!=i)&&(this._dsc=!0),this._step=h,this._minZoomed=t,this._maxZoomed=i),this.keepSelection||this.zoom({start:d,end:u},!1,!1,p)},Object.defineProperty(r.prototype,"strictMinMax",{get:function(){return this.getPropertyValue("strictMinMax")},set:function(e){this.setPropertyValue("strictMinMax",e)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"logarithmic",{get:function(){return this.getPropertyValue("logarithmic")},set:function(e){this.setPropertyValue("logarithmic",e)&&(this.invalidate(),this.series.each(function(t){t.invalidateDataItems()}))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"keepSelection",{get:function(){return this.getPropertyValue("keepSelection")},set:function(e){this.setPropertyValue("keepSelection",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"includeRangesInMinMax",{get:function(){return this.getPropertyValue("includeRangesInMinMax")},set:function(e){this.setPropertyValue("includeRangesInMinMax",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maxPrecision",{get:function(){return this.getPropertyValue("maxPrecision")},set:function(e){this.setPropertyValue("maxPrecision",e)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"extraTooltipPrecision",{get:function(){return this.getPropertyValue("extraTooltipPrecision")},set:function(e){this.setPropertyValue("extraTooltipPrecision",e)&&this.invalidate()},enumerable:!0,configurable:!0}),r.prototype.handleExtremesChange=function(){var e=this;if(this._extremesChanged=!0,this.getMinMax(),this.ghostLabel){var t=0;this.dataItems.each(function(i){i.label&&i.label.pixelWidth>t&&(e.ghostLabel.text=i.label.currentText)})}},r.prototype.getX=function(e,t,i,a,n){return this.renderer.positionToPoint(this.getPositionX(e,t,i,a,n)).x},r.prototype.getPositionX=function(e,t,i,a,n){var s=e.getWorkingValue(t);C(a)||(a="valueX");var o=e.getValue(a,"stack");g(s)||(s=this.baseValue,this.logarithmic&&o>0&&(s=0));var h=this.valueToPosition(s+o);return n&&(h=Y(h,n.start,n.end)),h},r.prototype.getY=function(e,t,i,a,n){return this.renderer.positionToPoint(this.getPositionY(e,t,i,a,n)).y},r.prototype.getPositionY=function(e,t,i,a,n){var s=e.getWorkingValue(t);C(a)||(a="valueY");var o=e.getValue(a,"stack");g(s)||(s=this.baseValue,this.logarithmic&&o>0&&(s=0));var h=this.valueToPosition(s+o);return n&&(h=Y(h,n.start,n.end)),h},r.prototype.getAngle=function(e,t,i,a,n){var s=e.getWorkingValue(t),o=e.getValue(a,"stack");g(s)||(s=this.baseValue);var h=this.valueToPosition(s+o);return n&&(h=Y(h,n.start,n.end)),this.positionToAngle(h)},r.prototype.getAnyRangePath=function(e,t,i){var a=this.valueToPosition(e),n=this.valueToPosition(t);return this.getPositionRangePath(a,n)},r.prototype.getTooltipText=function(e){var t=j(this.positionToValue(e),this._stepDecimalPlaces+this.extraTooltipPrecision),i=this.tooltip.numberFormatter.format(t);return this._adapterO?this._adapterO.apply("getTooltipText",i):i},r.prototype.zoomToValues=function(e,t,i,a){var n=(e-this.min)/(this.max-this.min),s=(t-this.min)/(this.max-this.min);this.zoom({start:n,end:s},i,a)},Object.defineProperty(r.prototype,"minZoomed",{get:function(){return this.syncWithAxis?this._minZoomed:ee(this.min,this._minZoomed)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maxZoomed",{get:function(){return this.syncWithAxis?this._maxZoomed:U(this.max,this._maxZoomed)},enumerable:!0,configurable:!0}),r.prototype.fixAxisBreaks=function(){var e=this;l.prototype.fixAxisBreaks.call(this);var t=this._axisBreaks;t&&t.length>0&&t.each(function(i){var a=i.adjustedStartValue,n=i.adjustedEndValue,s=n-a,o=Math.ceil(s*i.breakSize)*e._gridCount/(e.max-e.min),h=e.adjustMinMax(a,n,s,o,!0);i.adjustedStep=h.step,i.adjustedMin=h.min,i.adjustedMax=h.max}),this._difference=this.adjustDifference(this.min,this.max)},r.prototype.getPositionLabel=function(e){var t=this.positionToValue(e);return this.numberFormatter.format(t)},r.prototype.showTooltipAt=function(e){this.showTooltipAtPosition(this.valueToPosition(e))},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.min=e.min,this.max=e.max,this.calculateTotals=e.calculateTotals,this._baseValue=e.baseValue},Object.defineProperty(r.prototype,"syncWithAxis",{get:function(){return this.getPropertyValue("syncWithAxis")},set:function(e){var t=this;this.setPropertyValue("syncWithAxis",e,!0)&&e&&(this._disposers.push(e.events.on("extremeschanged",this.handleSelectionExtremesChange,this,!1)),this._disposers.push(e.events.on("selectionextremeschanged",this.handleSelectionExtremesChange,this,!1)),this._disposers.push(e.events.on("startendchanged",this.handleSelectionExtremesChange,this,!1)),this.events.on("shown",this.handleSelectionExtremesChange,this,!1),this.events.on("maxsizechanged",function(){t.clearCache(),t._disposers.push(V.events.once("exitframe",function(){t.handleSelectionExtremesChange()}))},this,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"treatZeroAs",{get:function(){return this.getPropertyValue("treatZeroAs")},set:function(e){this.setPropertyValue("treatZeroAs",e,!0)},enumerable:!0,configurable:!0}),r.prototype.syncAxes=function(e,t,i){var a=this.syncWithAxis;if(a){g(e)||(e=this.min),g(t)||(t=this.max),g(i)||(i=this._step);var n=Math.round((a.maxZoomed-a.minZoomed)/a.step),s=Math.round((t-e)/i);if(g(n)&&g(s))for(var o=!1,h=0,d=(t-e)*.01,u=e,p=t,f=i;o!=!0;)if(o=this.checkSync(u,p,f,n),h++,h>1e3&&(o=!0),o)e=u,t=p,i=f;else{h/3==Math.round(h/3)?(u=e-d*h,e>=0&&u<0&&(u=0)):(p=t+d*h,p<=0&&p>0&&(p=0));var c=this.adjustMinMax(u,p,p-u,this._gridCount,!0);u=c.min,p=c.max,f=c.step}}return{min:e,max:t,step:i}},r.prototype.checkSync=function(e,t,i,a){for(var n=(t-e)/i,s=1;sm?(d.startIndex=0,d.endIndex=0,d.outOfRange=!0):(d.outOfRange=!1,d.startIndex=y,d.endIndex=S),!i&&d.dataRangeInvalid&&d.validateDataRange()}})},r.prototype.findFirst=function(e,t,i){var a=e.index;if(a>0){var n=e.component,s=n.dataItems.getIndex(a-1),o=s[i];return!o||o.getTime()e._minDifference[i.uid]&&(t=e._minDifference[i.uid])}),(t==Number.MAX_VALUE||t==0)&&(t=$("day")),t},enumerable:!0,configurable:!0}),r.prototype.seriesDataChangeUpdate=function(e){this._minDifference[e.uid]=Number.MAX_VALUE},r.prototype.postProcessSeriesDataItems=function(e){var t=this;this._firstWeekDay=this.getFirstWeekDay(),e?this.seriesGroupUpdate(e):this.series.each(function(i){t.seriesGroupUpdate(i)}),this.addEmptyUnitsBreaks()},r.prototype.seriesGroupUpdate=function(e){var t=this;JSON.stringify(e._baseInterval[this.uid])!=JSON.stringify(this.mainBaseInterval)&&(e._baseInterval[this.uid]=this.mainBaseInterval,e.mainDataSet.each(function(i){t.postProcessSeriesDataItem(i)}),this.groupData&&this.groupSeriesData(e))},r.prototype.groupSeriesData=function(e){var t=this;if(e.baseAxis==this&&e.dataItems.length>0&&!e.dataGrouped){e.bulletsContainer.removeChildren();var i=[],a=this.mainBaseInterval,n=$(a.timeUnit,a.count);this.groupIntervals.each(function(s){var o=$(s.timeUnit,s.count);(o>n&&oO||!g(_.low))&&(_.low=O),(_.high0&&t.each(function(i){var a=Math.ceil(e._gridCount*(Math.min(e.end,i.endPosition)-Math.max(e.start,i.startPosition))/(e.end-e.start));i.gridInterval=e.chooseInterval(0,i.adjustedEndValue-i.adjustedStartValue,a);var n=ne(new Date(i.adjustedStartValue),i.gridInterval.timeUnit,i.gridInterval.count,e._firstWeekDay,e._df.utc,void 0,e._df.timezoneMinutes,e._df.timezone);n.getTime()>i.startDate.getTime()&&ue(n,i.gridInterval.timeUnit,i.gridInterval.count,e._df.utc),i.gridDate=n})},r.prototype.getFirstWeekDay=function(){return this._df?this._df.firstDayOfWeek:1},r.prototype.getGridDate=function(e,t){var i=this._gridInterval.timeUnit,a=this._gridInterval.count;ne(e,i,1,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone);var n=e.getTime(),s=ut(e),o=ue(s,i,t,this._df.utc).getTime(),h=this.isInBreak(o);h&&h.endDate&&(s=new Date(h.endDate.getTime()),ne(s,i,a,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone),s.getTime()0){var p=u.gridInterval.timeUnit,f=u.gridInterval.count;if(K(u.startPoint,u.endPoint)>d.minGridDistance*4)for(var c=u.gridDate.getTime(),y,v=0,m=function(){var x=ut(u.gridDate);if(c=ue(x,p,f*v,e._df.utc).getTime(),v++,c>u.adjustedStartValue&&cthis.baseInterval.count&&(s=n+(s-n)/(this._gridInterval.count/this.baseInterval.count)),e.position=n;var h=e.tick;h&&!h.disabled&&t.updateTickElement(h,n,s);var d=e.grid;d&&!d.disabled&&t.updateGridElement(d,n,s);var u=e.axisFill;u&&!u.disabled&&(t.updateFillElement(u,n,o),e.isRange||this.fillRule(e));var p=e.mask;p&&t.updateFillElement(p,n,s),e.bullet&&t.updateBullet(e.bullet,n,s);var f=e.label;if(f&&!f.disabled){var c=f.location;c==0&&(this._gridInterval.count==1&&this._gridInterval.timeUnit!="week"&&!e.isRange?c=.5:c=0),t.updateLabelElement(f,n,s,c)}}},Object.defineProperty(r.prototype,"baseDuration",{get:function(){return $(this.baseInterval.timeUnit,this.baseInterval.count)},enumerable:!0,configurable:!0}),r.prototype.adjustMinMax=function(e,t){return{min:e,max:t,step:this.baseDuration}},r.prototype.fixMin=function(e){var t=this.baseInterval,i=ne(new Date(e),t.timeUnit,t.count,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone).getTime(),a=ue(new Date(i),t.timeUnit,t.count,this._df.utc).getTime();return i+(a-i)*this.startLocation},r.prototype.fixMax=function(e){var t=this.baseInterval,i=ne(new Date(e),t.timeUnit,t.count,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone).getTime(),a=ue(new Date(i),t.timeUnit,t.count,this._df.utc).getTime();return i+(a-i)*this.endLocation},r.prototype.chooseInterval=function(e,t,i,a){a||(a=this.gridIntervals);var n=a.getIndex(e),s=$(n.timeUnit,n.count),o=a.length-1;if(e>=o)return Le({},a.getIndex(o));var h=Math.ceil(t/s);return t0?Le({},a.getIndex(e-1)):h<=i?Le({},a.getIndex(e)):e+1d&&(this._minDifference[i.uid]=d)}var u=a-o;u>0&&this._minDifference[i.uid]>u&&(this._minDifference[i.uid]=u),this._prevSeriesTime[i.uid]=a,i._baseInterval[this.uid]&&this.postProcessSeriesDataItem(e)},r.prototype.updateAxisBySeries=function(){l.prototype.updateAxisBySeries.call(this);var e=this.chooseInterval(0,this.minDifference,1);this.minDifference>=$("day",27)&&e.timeUnit=="week"&&(e.timeUnit="month",e.count=1),e.timeUnit=="month"&&(this.minDifference>=$("day",29*2)&&e.count==1&&(e.count=2),this.minDifference>=$("day",29*3)&&e.count==2&&(e.count=3),this.minDifference>=$("day",29*6)&&e.count==5&&(e.count=6)),this.minDifference>=$("hour",23)&&e.timeUnit=="hour"&&(e.timeUnit="day",e.count=1),this.minDifference>=$("week",1)-$("hour",1)&&e.timeUnit=="day"&&(e.timeUnit="week",e.count=1),this.minDifference>=$("year",1)-$("day",1.01)&&e.timeUnit=="month"&&(e.timeUnit="year",e.count=1),this._baseIntervalReal=e,this._mainBaseInterval=e},Object.defineProperty(r.prototype,"baseInterval",{get:function(){return this._groupInterval?this._groupInterval:this._baseInterval?this._baseInterval:this._baseIntervalReal},set:function(e){JSON.stringify(this._baseInterval)!=JSON.stringify(e)&&(this._baseInterval=e,this._mainBaseInterval=e,g(e.count)||(e.count=1),this.invalidate(),this.postProcessSeriesDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"mainBaseInterval",{get:function(){return this._baseInterval?this._baseInterval:this._mainBaseInterval?this._mainBaseInterval:this._baseIntervalReal},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"skipEmptyPeriods",{get:function(){return this.getPropertyValue("skipEmptyPeriods")},set:function(e){if(e){var t=this.axisBreaks.template;t.startLine.disabled=!0,t.endLine.disabled=!0,t.fillShape.disabled=!0,t.breakSize=0}else this._gapBreaks&&(this.axisBreaks.clear(),this._gapBreaks=!1);this.setPropertyValue("skipEmptyPeriods",e)&&(this.invalidate(),this.postProcessSeriesDataItems(),this.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tooltipDateFormat",{get:function(){return this.getPropertyValue("tooltipDateFormat")},set:function(e){this.setPropertyValue("tooltipDateFormat",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"markUnitChange",{get:function(){return this.getPropertyValue("markUnitChange")},set:function(e){this.setPropertyValue("markUnitChange",e)&&this.invalidateData()},enumerable:!0,configurable:!0}),r.prototype.getTooltipText=function(e){var t,i=this.positionToDate(e);if(i=ne(i,this.baseInterval.timeUnit,this.baseInterval.count,this._firstWeekDay,this._df.utc,new Date(this.min),this._df.timezoneMinutes,this._df.timezone),this.tooltipDate=i,C(this.tooltipDateFormat))t=this._df.format(i,this.tooltipDateFormat,["day","month","week","year"].indexOf(this.baseInterval.timeUnit)==-1);else{var a=this.dateFormats.getKey(this.baseInterval.timeUnit);a?t=this._df.format(i,a):t=this.getPositionLabel(e)}return this._adapterO?this._adapterO.apply("getTooltipText",t):t},r.prototype.roundPosition=function(e,t,i){var a=this.baseInterval,n=a.timeUnit,s=a.count,o=this.positionToDate(e);if(ne(o,n,s,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone),t>0&&ue(o,n,t*s,this._df.utc),i>0&&i<1&&o.setTime(o.getTime()+this.baseDuration*i),this.isInBreak(o.getTime()))for(;o.getTime()o.getTime()&&Math.abs(h.getTime()-s)m&&(m=T)}),this.groupMin[y]=v,this.groupMax[y]=m),e=Y(e,v,m),t=Y(t,v,m),n&&(u&&(e=t-d,e=Y(e,v,m)),p&&(t=e+d,t=Y(t,v,m)));var o=(e-v)/(m-v),h=(t-v)/(m-v);this.zoom({start:o,end:h},i,a)}}else{var o=this.valueToPosition(e),h=this.valueToPosition(t);this.zoom({start:o,end:h},i,a)}},r.prototype.asIs=function(e){return e=="baseInterval"||l.prototype.asIs.call(this,e)},r.prototype.copyFrom=function(e){var t=this;l.prototype.copyFrom.call(this,e),this.dateFormats=e.dateFormats,this.periodChangeDateFormats=e.periodChangeDateFormats,this.groupIntervals.clear(),e.groupIntervals.each(function(i){t.groupIntervals.push(Le({},i))}),this.gridIntervals.clear(),e.gridIntervals.each(function(i){t.gridIntervals.push(Le({},i))}),e._baseInterval&&(this.baseInterval=e._baseInterval)},r.prototype.showTooltipAtPosition=function(e,t){var i=this;if(t||(e=this.toAxisPosition(e)),this.snapTooltip){var a=this.positionToDate(e),n=a.getTime(),s;if(this.series.each(function(d){if(d.baseAxis==i){var u=i.getSeriesDataItem(d,e,!0);if(u){var p=void 0;d.xAxis==i&&(p=u.dateX),d.yAxis==i&&(p=u.dateY),s?Math.abs(s.getTime()-n)>Math.abs(p.getTime()-n)&&(s=p):s=p}}}),s){var o=s.getTime();s=ne(new Date(o),this.baseInterval.timeUnit,this.baseInterval.count,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone),o=s.getTime();var h=this.renderer.tooltipLocation;h==0&&(h=1e-4),s=new Date(s.getTime()+this.baseDuration*h),e=this.dateToPosition(s),this.chart.cursor&&this.chart.cursor.snapToSeries||this.series.each(function(d){var u=d.dataItemsByAxis.getKey(i.uid).getKey(o+d.currentDataSetId),p=d.showTooltipAtDataItem(u);p?i.chart._seriesPoints.push({series:d,point:p}):(d.tooltipText||d.tooltipHTML)&&d.hideTooltip()})}}l.prototype.showTooltipAtPosition.call(this,e,!0)},Object.defineProperty(r.prototype,"snapTooltip",{get:function(){return this.getPropertyValue("snapTooltip")},set:function(e){this.setPropertyValue("snapTooltip",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"groupData",{get:function(){return this.getPropertyValue("groupData")},set:function(e){var t=this;this.setPropertyValue("groupData",e)&&(this.series.each(function(i){i.setDataSet(""),e&&!i.dataGrouped&&i.inited&&(i._baseInterval[t.uid]=t.mainBaseInterval,t.groupSeriesData(i))}),this._currentDataSetId="",this._groupInterval=void 0,this.invalidate(),this.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"groupInterval",{get:function(){return this.getPropertyValue("groupInterval")},set:function(e){this.setPropertyValue("groupInterval",e)&&(this.invalidate(),this.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"groupCount",{get:function(){return this.getPropertyValue("groupCount")},set:function(e){this.setPropertyValue("groupCount",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"timezoneOffset",{get:function(){return this.getPropertyValue("timezoneOffset")},set:function(e){this.setPropertyValue("timezoneOffset",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"timezone",{get:function(){return this.getPropertyValue("timezone")},set:function(e){this.setPropertyValue("timezone",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"gridInterval",{get:function(){return this._gridInterval},enumerable:!0,configurable:!0}),r.prototype.makeGap=function(e,t){var i=e.component;if(e&&t&&!i.connect&&g(i.autoGapCount)&&i.baseAxis==this){var a=e.dates["date"+this.axisLetter],n=t.dates["date"+this.axisLetter];if(a&&n){var s=a.getTime(),o=n.getTime();if(s-o>i.autoGapCount*this.baseDuration)return!0}}return!1},Object.defineProperty(r.prototype,"baseValue",{get:function(){return this.min},enumerable:!0,configurable:!0}),r}(E);V.registeredClasses.DateAxis=z;V.registeredClasses.DateAxisDataItem=xr;var Ye=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="AxisRendererX",e.minGridDistance=120,e.opposite=!1,e.rotation=0,e.width=k(100),e.labels.template.horizontalCenter="middle",e.applyTheme(),e}return r.prototype.setAxis=function(e){l.prototype.setAxis.call(this,e),e.layout="vertical"},r.prototype.updateGridContainer=function(){var e=this.axis;if(e){var t=this.gridContainer;t.x=e.pixelX,t.width=e.axisLength}},r.prototype.processRenderer=function(){l.prototype.processRenderer.call(this);var e=this.axis;if(e){e.width instanceof ce||(e.width=k(100)),He(this.line);var t=e.title;t.rotation=0,t.align="center",this.opposite?(this.line.toFront(),t.toBack()):(t.toFront(),this.toBack(),this.line.toBack())}},r.prototype.updateTooltip=function(){var e=this.axis;if(e){var t=1e3,i=this.line.pixelX,a=this.line.pixelY,n=this.axisLength,s=t;this.opposite?this.inside||(a=-t,s=t):this.inside&&(a=-t,s=t),this.axis.updateTooltip("vertical",{x:i,y:a,width:n,height:s})}},r.prototype.updateLabelElement=function(e,t,i,a){C(a)||(a=e.location),t=t+(i-t)*a;var n=this.positionToPoint(t);e.isMeasured=!e.inside;var s=0,o,h=this.gridContainer.maxHeight;this.opposite?(e.inside?(o="top",e.valign=="bottom"&&(s=h,o="bottom"),e.valign=="middle"&&(s=h/2,o="middle")):o="bottom",n.y=s):(e.inside?(o="bottom",e.valign=="top"&&(s=-h,o="top"),e.valign=="middle"&&(s=-h/2,o="middle")):o="top",n.y+=s),e.rotation==0&&(e.verticalCenter=o),this.positionItem(e,n),this.toggleVisibility(e,t,this.minLabelPosition,this.maxLabelPosition)},Object.defineProperty(r.prototype,"axisLength",{get:function(){var e=this.axis;return e.measuredWidth-e.pixelPaddingRight-e.pixelPaddingLeft||0},enumerable:!0,configurable:!0}),r.prototype.positionToPoint=function(e,t){return{x:this.positionToCoordinate(e),y:0}},r.prototype.pointToPosition=function(e){return this.coordinateToPosition(e.x,e.y)},r.prototype.getPositionRangePath=function(e,t){var i=Y(this.positionToCoordinate(e),0,this.axisLength),a=Y(this.positionToCoordinate(t),0,this.axisLength),n=Math.abs(a-i),s=this.getHeight(),o=Math.min(i,a),h=0;return Be({x:o,y:h,width:n,height:s},!0)},r.prototype.updateBreakElement=function(e){l.prototype.updateBreakElement.call(this,e);var t=e.startLine,i=e.endLine,a=e.fillShape,n=e.startPoint,s=e.endPoint,o=e.pixelMarginLeft,h=this.getHeight()-e.pixelMarginTop-e.pixelMarginBottom;n.x=Y(n.x,-1,this.axisLength+1),s.x=Y(s.x,-1,this.axisLength+1),n.x==s.x&&(n.x<0||n.x>this.axisLength)?e.fillShape.__disabled=!0:e.fillShape.__disabled=!1,t.y=o,t.width=0,t.height=h,i.y=o,i.width=0,i.height=h,a.height=h,a.width=Math.abs(s.x-n.x),a.y=o,a.x=n.x},r.prototype.updateGridElement=function(e,t,i){t=t+(i-t)*e.location;var a=this.positionToPoint(t);e.path=W({x:0,y:0})+R({x:0,y:this.getHeight()}),this.positionItem(e,a),this.toggleVisibility(e,t,0,1)},r.prototype.updateTickElement=function(e,t,i){t=t+(i-t)*e.location;var a=this.positionToPoint(t),n=e.length;a.y=De({x:0,y:this.line.pixelY},this.line.parent,this.gridContainer).y,this.opposite?n*=e.inside?1:-1:n*=e.inside?-1:1,e.path=W({x:0,y:0})+R({x:0,y:n}),this.positionItem(e,a),this.toggleVisibility(e,t,0,1)},r.prototype.updateAxisLine=function(){this.line.path=W({x:0,y:0})+R({x:this.axisLength,y:0})},r.prototype.updateBaseGridElement=function(){l.prototype.updateBaseGridElement.call(this);var e=this.axis,t=this.getHeight(),i=this.axisLength,a=this.baseGrid,n=e.basePoint.x;if(n<-.2||n>i+.2)a.hide(0);else{var s=De({x:0,y:0},this.gridContainer,a.parent).y;a.path=W({x:0,y:0})+R({x:0,y:t}),a.moveTo({x:n,y:s}),a.show(0)}},r.prototype.createBreakSprites=function(e){e.startLine=new tt,e.endLine=new tt;var t=new lr;t.setWavedSides(!1,!0,!1,!0),e.fillShape=t},r.prototype.toAxisPosition=function(e){var t=e,i=this.axis;if(i){var a=i.relativePositionSprite,n=i.pixelX;if(a?n=De({x:this.pixelX,y:0},this.parent,a).x:a=i.parent,a){var s=n/a.innerWidth,o=i.axisLength/a.innerWidth;return(t-s)/o}}return e},r.prototype.updateBullet=function(e,t,i){var a=.5;e instanceof Tt&&(a=e.location),t=t+(i-t)*a;var n=this.positionToPoint(t);n.y=De({x:0,y:this.line.pixelY},this.line.parent,this.gridContainer).y,this.positionItem(e,n),this.toggleVisibility(e,t,0,1)},r}(Kt);V.registeredClasses.AxisRendererX=Ye;de.push({relevant:pe.heightXS,state:function(l,r){if(l instanceof Ye){var e=l.states.create(r);return e.properties.inside=!0,e.properties.maxLabelPosition=.9,e.properties.minLabelPosition=.1,e}return null}});de.push({relevant:pe.heightXXS,state:function(l,r){if(l instanceof Ye){var e=l.states.create(r);return e.properties.disabled=!0,e}return null}});var br=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="CategoryAxisBreak",e.properties.startLocation=.5,e.properties.endLocation=.5,e.applyTheme(),e}return Object.defineProperty(r.prototype,"startPosition",{get:function(){if(this.axis)return this.axis.indexToPosition(this.adjustedStartValue,this.startLocation)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endPosition",{get:function(){if(this.axis)return this.axis.indexToPosition(this.adjustedEndValue,this.endLocation)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"startCategory",{get:function(){return this.getPropertyValue("startCategory")},set:function(e){this.setPropertyValue("startCategory",e)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endCategory",{get:function(){return this.getPropertyValue("endCategory")},set:function(e){this.setPropertyValue("endCategory",e)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"startValue",{get:function(){var e=this.getPropertyValue("startCategory");return e?this.axis.categoryToIndex(e):this.getPropertyValue("startValue")},set:function(e){this.setPropertyValue("startValue",e)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endValue",{get:function(){var e=this.getPropertyValue("endCategory");return e?this.axis.categoryToIndex(e):this.getPropertyValue("endValue")},set:function(e){this.setPropertyValue("endValue",e)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"startLocation",{get:function(){return this.getPropertyValue("startLocation")},set:function(e){this.setPropertyValue("startLocation",e)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endLocation",{get:function(){return this.getPropertyValue("endLocation")},set:function(e){this.setPropertyValue("endLocation",e)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),r}(Ut);V.registeredClasses.CategoryAxisBreak=br;var Pr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.seriesDataItems={},e.className="CategoryAxisDataItem",e.text="{category}",e.locations.category=0,e.locations.endCategory=1,e.deltaPosition=0,e.applyTheme(),e}return Object.defineProperty(r.prototype,"category",{get:function(){return this._adapterO&&this._adapterO.isEnabled("category")?this._adapterO.apply("category",this.properties.category):this.properties.category},set:function(e){var t=this.properties.category;this.setProperty("category",e),C(t)&&t!=e&&this.component&&this.component.validateDataElement(this)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endCategory",{get:function(){return this.properties.endCategory},set:function(e){this.setProperty("endCategory",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"deltaPosition",{get:function(){return this.properties.deltaCoordinate},set:function(e){e!=this.properties.deltaCoordinate&&(this.setProperty("deltaCoordinate",e),this.component&&(this.component.invalidateDataItems(),this.component.invalidateSeries()))},enumerable:!0,configurable:!0}),r}(Vt),Z=function(l){A(r,l);function r(){var e=l.call(this)||this;e.dataItemsByCategory=new Se,e.className="CategoryAxis",e.axisFieldName="category",e._lastDataItem=e.createDataItem(),e._lastDataItem.component=e,e._disposers.push(e._lastDataItem),e.applyTheme();var t=e.dataItemsByCategory;return e.addDisposer(e.mainDataSet.events.on("removed",function(i){t.removeKey(i.oldValue.category)})),e}return r.prototype.createDataItem=function(){return new Pr},r.prototype.createAxisBreak=function(){return new br},r.prototype.processSeriesDataItem=function(e,t){l.prototype.processSeriesDataItem.call(this,e,t);var i=e["category"+this.axisLetter];if(C(i)){var a=this.dataItemsByCategory.getKey(i);if(a){var n=e.component.uid,s=a.seriesDataItems[n];s||(s=[],a.seriesDataItems[n]=s),s.push(e)}}else e.component.dataItems.remove(e)},r.prototype.validateDataRange=function(){var e=this;l.prototype.validateDataRange.call(this),w(this._series.iterator(),function(t){if(t.xAxis instanceof r&&t.yAxis instanceof r)t.invalidateDataRange();else{var i=e.positionToIndex(e.start),a=e.positionToIndex(e.end);a>=e.dataItems.length&&a--;for(var n=t.uid,s=void 0,o=void 0,h=i;h<=a;h++){var d=e.dataItems.getIndex(h);if(d){var u=d.seriesDataItems[n];if(u)for(var p=0;po)&&(o=c)}}}}g(s)?t.startIndex=s:t.start=e.start,g(o)?t.endIndex=o+1:t.end=e.end,e._axisBreaks&&e._axisBreaks.length>0&&t.invalidateDataRange()}})},r.prototype.validate=function(){var e=this;l.prototype.validate.call(this);var t=this.dataItems.length,i=Y(Math.floor(this.start*t-1),0,t),a=Y(Math.ceil(this.end*t),0,t);this.renderer.invalid&&this.renderer.validate();var n=this.renderer.axisLength/Math.max(this.renderer.minGridDistance,1/Number.MAX_SAFE_INTEGER),s=Math.min(this.dataItems.length,Math.ceil((a-i)/n));if(this._startIndex=Math.floor(i/s)*s,this._endIndex=Math.ceil(this.end*t),this.fixAxisBreaks(),this._startIndex==this._endIndex&&this._endIndex++,this._frequency=s,!(this.axisLength<=0)){this.maxZoomFactor=this.dataItems.length,this.dataItems.length<=0&&(this.maxZoomFactor=1),this.resetIterators(),i=ee(0,this._startIndex-this._frequency),a=U(this.dataItems.length,this._endIndex+this._frequency);for(var o=0,h=0;h0)for(var m=y;m<=v;m=m+P){var x=e.dataItems.getIndex(m);x.__disabled=!1,e.appendDataItem(x),e.validateDataElement(x,S),S++}}})}this.validateBreaks(),this.validateAxisRanges(),this.ghostLabel.invalidate(),this.renderer.invalidateLayout()}},r.prototype.validateDataElement=function(e,t,i){l.prototype.validateDataElement.call(this,e),e.itemIndex=this._axisItemCount,this._axisItemCount++;var a=this.renderer;g(i)||(i=this.categoryToIndex(e.category));var n=this.categoryToIndex(e.endCategory);g(n)||(n=i);var s=this.indexToPosition(i,e.locations.category),o=this.indexToPosition(n,e.locations.endCategory);e.position=s;var h,d,u;e.isRange&&(h=n,d=this.indexToPosition(i,e.locations.category),u=this.indexToPosition(h,e.locations.endCategory)),e.point=a.positionToPoint(s);var p=e.tick;p&&!p.disabled&&a.updateTickElement(p,s,o);var f=e.grid;f&&!f.disabled&&a.updateGridElement(f,s,o);var c=e.label;c&&!c.disabled&&((!e.isRange||c.text==null)&&(e.text=e.text),a.updateLabelElement(c,s,o),(a instanceof we&&e.label.measuredWidth>this.ghostLabel.measuredWidth||a instanceof Ye&&e.label.measuredHeight>this.ghostLabel.measuredHeight)&&(e.label.html?this.ghostLabel.html=e.label.currentText:this.ghostLabel.text=e.label.currentText));var y=e.axisFill;y&&!y.disabled&&(e.isRange||(h=i+this._frequency,d=this.indexToPosition(i,y.location),u=this.indexToPosition(h,y.location)),a.updateFillElement(y,d,u),e.isRange||this.fillRule(e,t)),e.bullet&&a.updateBullet(e.bullet,s,o);var v=e.mask;v&&a.updateFillElement(v,d,u)},r.prototype.disposeData=function(){this.dataItemsByCategory.clear(),l.prototype.disposeData.call(this)},r.prototype.processDataItem=function(e,t){e&&(l.prototype.processDataItem.call(this,e,t),C(e.category)&&this.dataItemsByCategory.setKey(e.category,e))},r.prototype.getDataItem=function(e){var t=e[this.dataFields.category];if(C(t)){var i=this.dataItemsByCategory.getKey(t);return i||this.dataItems.create()}},r.prototype.indexToPosition=function(e,t){g(t)||(t=.5);var i=this.startIndex,a=this.endIndex,n=this.adjustDifference(i,a),s=this.startLocation,o=this.endLocation;if(n-=s,n-=1-o,this._axisBreaks){var h=this._axisBreaks;je(h.iterator(),function(p){var f=p.adjustedStartValue,c=p.adjustedEndValue;if(ec?i+=(c-f)*(1-y):e=0;i--){var a=e.dataItems.getIndex(i);if(e.xAxis==this&&a.categoryX==t||e.yAxis==this&&a.categoryY==t)return a}},r.prototype.getSeriesDataItemByCategory=function(e,t){var i=this,a;return t.dataItems.each(function(n){t.xAxis==i?n.categoryX==e&&(a=n):t.yAxis==i&&n.categoryY==e&&(a=n)}),a},r.prototype.getSeriesDataItem=function(e,t,i){var a=this;if(g(t)){var n=this.positionToIndex(t);n>=this.dataItems.length&&n--;var s=this.dataItems.getIndex(n);if(s){var o=s.category,h,d=e.dataItems.getIndex(n);return d&&(e.xAxis==this&&d.categoryX==o||e.yAxis==this&&d.categoryY==o)?d:(e.dataItems.each(function(u){e.xAxis==a&&u.categoryX==o&&(h||(h=u),Math.abs(n-h.index)>Math.abs(n-u.index)&&(h=u)),e.yAxis==a&&u.categoryY==o&&(h||(h=u),Math.abs(n-h.index)>Math.abs(n-u.index)&&(h=u))}),h)}}},r.prototype.getX=function(e,t,i,a,n){var s=this.getPositionX(e,t,i,a,n);return ve(s)?this.basePoint.x:this.renderer.positionToPoint(s).x},r.prototype.getPositionX=function(e,t,i,a,n){var s;return C(t)&&(s=this.categoryToPosition(e.categories[t],i)),n&&(s=Y(s,n.start,n.end)),s},r.prototype.getY=function(e,t,i,a,n){var s=this.getPositionY(e,t,i,a,n);return ve(s)?this.basePoint.y:this.renderer.positionToPoint(s).y},r.prototype.getPositionY=function(e,t,i,a,n){var s;return C(t)&&(s=this.categoryToPosition(e.categories[t],i)),n&&(s=Y(s,n.start,n.end)),s},r.prototype.getAngle=function(e,t,i,a,n){var s=this.categoryToPosition(e.categories[t],i);return n&&(s=Y(s,n.start,n.end)),this.positionToAngle(s)},r.prototype.getCellStartPosition=function(e){return this.roundPosition(e,0)},r.prototype.getCellEndPosition=function(e){return this.roundPosition(e,1)},r.prototype.getTooltipText=function(e){var t=this.dataItems.getIndex(this.positionToIndex(e));if(t)return this.tooltipDataItem=t,this.tooltip.dataItem=t,this.tooltipText?this.tooltipText:this._adapterO?this._adapterO.apply("getTooltipText",t.category):t.category},r.prototype.positionToIndex=function(e){e=j(e,10),e<0&&(e=0),e>1&&(e=1);var t=this.startIndex,i=this.endIndex,a=i-t-this.startLocation-(1-this.endLocation);e+=1/a*this.startLocation;var n=null;if(this._axisBreaks){var s=this._axisBreaks;je(s.iterator(),function(o){var h=o.startPosition,d=o.endPosition,u=o.adjustedStartValue,p=o.adjustedEndValue;u=ee(u,t),p=U(p,i);var f=o.breakSize;if(a-=(p-u)*(1-f),e>d)t+=(p-u)*(1-f);else if(!(e=this.dataItems.length&&(n=this.dataItems.length-1),n},r.prototype.positionToCategory=function(e){return this.getPositionLabel(e)},r.prototype.getPositionLabel=function(e){var t=this.dataItems.getIndex(this.positionToIndex(e));if(t)return t.category},Object.defineProperty(r.prototype,"basePoint",{get:function(){return this.renderer.positionToPoint(1)},enumerable:!0,configurable:!0}),r.prototype.initRenderer=function(){l.prototype.initRenderer.call(this);var e=this.renderer;e.baseGrid.disabled=!0},Object.defineProperty(r.prototype,"frequency",{get:function(){return this._frequency},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"sortBySeries",{get:function(){return this.getPropertyValue("sortBySeries")},set:function(e){this.setPropertyValue("sortBySeries",e,!0)},enumerable:!0,configurable:!0}),r.prototype.processConfig=function(e){e&&C(e.sortBySeries)&&ae(e.sortBySeries)&&(this.map.hasKey(e.sortBySeries)?e.sortBySeries=this.map.getKey(e.sortBySeries):(this.addDelayedMap("sortBySeries",e.sortBySeries),delete e.sortBySeries)),l.prototype.processConfig.call(this,e)},r}(Gt);V.registeredClasses.CategoryAxis=Z;V.registeredClasses.CategoryAxisDataItem=Pr;var qt=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="XYSeriesDataItem",e.values.customValue={},e.values.valueX={stack:0},e.values.valueY={stack:0},e.values.openValueX={},e.values.openValueY={},e.values.dateX={},e.values.dateY={},e.values.openDateX={},e.values.openDateY={},e.setLocation("dateX",.5,0),e.setLocation("dateY",.5,0),e.setLocation("categoryX",.5,0),e.setLocation("categoryY",.5,0),e.applyTheme(),e}return Object.defineProperty(r.prototype,"valueX",{get:function(){return this.values.valueX.value},set:function(e){this.setValue("valueX",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"customValue",{get:function(){return this.values.customValue.value},set:function(e){this.setValue("customValue",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"valueY",{get:function(){return this.values.valueY.value},set:function(e){this.setValue("valueY",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dateX",{get:function(){return this.getDate("dateX")},set:function(e){this.setDate("dateX",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dateY",{get:function(){return this.getDate("dateY")},set:function(e){this.setDate("dateY",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"categoryX",{get:function(){return this.categories.categoryX},set:function(e){this.setCategory("categoryX",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"categoryY",{get:function(){return this.categories.categoryY},set:function(e){this.setCategory("categoryY",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"openValueX",{get:function(){return this.values.openValueX.value},set:function(e){this.setValue("openValueX",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"openValueY",{get:function(){return this.values.openValueY.value},set:function(e){this.setValue("openValueY",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"openDateX",{get:function(){return this.getDate("openDateX")},set:function(e){this.setDate("openDateX",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"openDateY",{get:function(){return this.getDate("openDateY")},set:function(e){this.setDate("openDateY",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"openCategoryX",{get:function(){return this.categories.openCategoryX},set:function(e){this.setCategory("openCategoryX",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"openCategoryY",{get:function(){return this.categories.openCategoryY},set:function(e){this.setCategory("openCategoryY",e)},enumerable:!0,configurable:!0}),r.prototype.getMin=function(e,t,i){var a=this,n;return g(i)||(i=0),H(e,function(s){var o;t?o=a.getWorkingValue(s):o=a.getValue(s),o+=i,(on||!g(n))&&(n=o)}),n},r}(zt),at=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.groupFields={},e._xAxis=new le,e._yAxis=new le,e._xValueFields=[],e._yValueFields=[],e._baseInterval={},e.dataGrouped=!1,e.usesShowFields=!1,e._dataSetChanged=!1,e._maxxX=1e5,e._maxxY=1e5,e._propertiesChanged=!1,e.outOfRange=!1,e.className="XYSeries",e.isMeasured=!1,e.groupFields.valueX="close",e.groupFields.valueY="close",e.groupFields.customValue="close",e.groupFields.openValueX="open",e.groupFields.openValueY="open",e.cursorTooltipEnabled=!0,e.cursorHoverEnabled=!0,e.excludeFromTotal=!1,e.mainContainer.mask=new q,e.mainContainer.mask.setElement(e.paper.add("path")),e.stacked=!1,e.snapTooltip=!1,e._showBullets=!1,e.tooltip.pointerOrientation="horizontal",e.properties.stackToNegative=!0,e.hideTooltipWhileZooming=!0,e.setPropertyValue("maskBullets",!0),e.tooltip.events.on("hidden",function(){e.returnBulletDefaultState()},void 0,!1),e._disposers.push(e._xAxis),e._disposers.push(e._yAxis),e.observe(J,function(){e.inited&&(e._propertiesChanged=!0,e.legendDataItem&&(e.legendDataItem.childrenCreated=!1),e.chart&&e.chart.legend&&e.chart.legend.invalidateDataItems(),e.invalidate())},void 0,!1),e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("X/Y Series"))},r.prototype.createDataItem=function(){return new qt},r.prototype.resetExtremes=function(){this._tmin.clear(),this._tmax.clear(),this._smin.clear(),this._smax.clear()},r.prototype.dataChangeUpdate=function(){this.dataGrouped=!1,this._baseInterval={},this._currentDataSetId="",this.resetExtremes(),this.xAxis&&this.xAxis.seriesDataChangeUpdate(this),this.yAxis&&this.yAxis.seriesDataChangeUpdate(this)},r.prototype.validateData=function(){this._baseInterval={};var e=this.dataFields;if(e.valueYShow||e.openValueXShow||e.openValueXShow||e.openValueYShow?this.usesShowFields=!0:this.usesShowFields=!1,this.defineFields(),this.data.length>0&&this.dataChangeUpdate(),l.prototype.validateData.call(this),this.updateItemReaderText(),this.chart&&(!C(this.dataFields[this._xField])||!C(this.dataFields[this._yField])))throw Error('Data fields for series "'+(this.name?this.name:this.uid)+'" are not properly defined.');this.inited&&this.isHidden&&this.hide(0),this.dataGrouped=!1},r.prototype.processDataItem=function(e,t){try{l.prototype.processDataItem.call(this,e,t),this.xAxis.processSeriesDataItem(e,"X"),this.yAxis.processSeriesDataItem(e,"Y"),this.setInitialWorkingValues(e)}catch(i){this._chart&&this._chart.raiseCriticalError(i)}},r.prototype.updateDataItem=function(e){l.prototype.updateDataItem.call(this,e),this.xAxis.processSeriesDataItem(e,"X"),this.yAxis.processSeriesDataItem(e,"Y")},r.prototype.setInitialWorkingValues=function(e){},r.prototype.disposeData=function(){l.prototype.disposeData.call(this);var e=this.xAxis,t=this.yAxis;if(e){var i=this.dataItemsByAxis.getKey(e.uid);i&&i.clear(),e instanceof Z&&this.clearCatAxis(e)}if(t){var a=this.dataItemsByAxis.getKey(t.uid);a&&a.clear(),t instanceof Z&&this.clearCatAxis(t)}},r.prototype.clearCatAxis=function(e){var t=this.uid;e.dataItems.each(function(i){i.seriesDataItems[t]&&(i.seriesDataItems[t]=[])})},r.prototype.defineFields=function(){var e=this.xAxis,t=this.yAxis;if(e&&t){var i=e.axisFieldName,a=i+"X",n="open"+Yt(i)+"X",s=t.axisFieldName,o=s+"Y",h="open"+Yt(s)+"Y";this._xField=a,this._yField=o,this.dataFields[n]&&(this._xOpenField=n),this.dataFields[h]&&(this._yOpenField=h),!this.dataFields[h]&&this.baseAxis==t&&(this._yOpenField=o),!this.dataFields[n]&&this.baseAxis==e&&(this._xOpenField=a),this.stacked&&this.baseAxis==e&&(this._xOpenField=a),this.stacked&&this.baseAxis==t&&(this._yOpenField=o),e instanceof Z&&t instanceof Z&&(this._yOpenField||(this._yOpenField=o)),this._xValueFields=[],this._yValueFields=[],this.addValueField(e,this._xValueFields,this._xField),this.addValueField(e,this._xValueFields,this._xOpenField),this.addValueField(t,this._yValueFields,this._yField),this.addValueField(t,this._yValueFields,this._yOpenField)}},r.prototype.addValueField=function(e,t,i){e instanceof E&&C(this.dataFields[i])&&t.indexOf(i)==-1&&t.push(i)},r.prototype.setCategoryAxisField=function(e,t){C(this.dataFields[e])||(this.dataFields[e]=t.dataFields.category)},r.prototype.setDateAxisField=function(e,t){C(this.dataFields[e])||(this.dataFields[e]=t.dataFields.date)},r.prototype.afterDraw=function(){l.prototype.afterDraw.call(this),this.createMask()},r.prototype.createMask=function(){if(this.mainContainer.mask){var e=this.getMaskPath();w(this.axisRanges.iterator(),function(t){t.axisFill.fillPath&&(t.axisFill.validate(),e+=t.axisFill.fillPath)}),this.mainContainer.mask.path=e}},r.prototype.getMaskPath=function(){return this.xAxis&&this.yAxis?Be({x:0,y:0,width:this.xAxis.axisLength,height:this.yAxis.axisLength}):""},r.prototype.getAxisField=function(e){if(e==this.xAxis)return this.xField;if(e==this.yAxis)return this.yField},r.prototype.validateDataItems=function(){var e=this.chart;e&&(this._maxxX=ee(1e5,e.plotContainer.maxWidth*2),this._maxxY=ee(1e5,e.plotContainer.maxHeight*2));var t=this.xAxis,i=this.yAxis;t&&i&&(t.updateAxisBySeries(),i.updateAxisBySeries()),l.prototype.validateDataItems.call(this),t&&i&&(t.postProcessSeriesDataItems(this),i.postProcessSeriesDataItems(this))},r.prototype.validateDataRange=function(){var e=this.xAxis,t=this.yAxis;e&&t&&(e.dataRangeInvalid&&e.validateDataRange(),t.dataRangeInvalid&&t.validateDataRange()),l.prototype.validateDataRange.call(this)},r.prototype.validate=function(){var e=this.xAxis,t=this.yAxis;if(e&&t){e.invalid&&e.validate(),t.invalid&&t.validate(),this.y=t.pixelY,this.x=e.pixelX,this._showBullets=!0;var i=this.minBulletDistance;g(i)&&this.baseAxis.axisLength/(this.endIndex-this.startIndex)0){var a=this.xAxis,n=this.yAxis;this._prevStartIndex=void 0,this._prevEndIndex=void 0,this._startIndex=void 0,this._endIndex=void 0,this.appeared||this.processValues(!1),a instanceof z&&a==this.baseAxis&&(this._tmin.setKey(a.uid,i.getIndex(0).dateX.getTime()),this._tmax.setKey(a.uid,i.getIndex(i.length-1).dateX.getTime()),this.dispatch("extremeschanged")),n instanceof z&&n==this.baseAxis&&(this._tmin.setKey(n.uid,i.getIndex(0).dateY.getTime()),this._tmax.setKey(n.uid,i.getIndex(i.length-1).dateY.getTime()),this.dispatch("extremeschanged"))}}return t},r.prototype.processValues=function(e){l.prototype.processValues.call(this,e);var t=this.xAxis,i=this.yAxis;if(!(!t||!i)){var a=this.dataItems,n=1/0,s=-1/0,o=1/0,h=-1/0,d=this.startIndex,u=this.endIndex,p=d,f=u;e||(d=0,u=this.dataItems.length);for(var c=d;ch&&(h=m)),this.baseAxis==i&&(vs&&(s=v)))}t.processSeriesDataItems(),i.processSeriesDataItems();var x=t.uid,P=i.uid;if(this.xAxis instanceof E&&(n==1/0||s==-1/0)){this._smin.setKey(x,void 0),this._smax.setKey(x,void 0),this.dispatchImmediately("selectionextremeschanged");return}if(this.yAxis instanceof E&&(o==1/0||h==-1/0)){this._smin.setKey(P,void 0),this._smax.setKey(P,void 0),this.dispatchImmediately("selectionextremeschanged");return}if(!e&&(this._tmin.getKey(x)!=n||this._tmax.getKey(x)!=s||this._tmin.getKey(P)!=o||this._tmax.getKey(P)!=h)){this._tmin.setKey(x,n),this._tmax.setKey(x,s),this._tmin.setKey(P,o),this._tmax.setKey(P,h);var S=this.stackedSeries;S&&(S.isDisposed()?this.stackedSeries=void 0:S.processValues(!1)),this.dispatchImmediately("extremeschanged")}if(d!=p||u!=f){n=1/0,s=-1/0,o=1/0,h=-1/0;for(var c=p;ch&&(h=m)),this.baseAxis==i&&(vs&&(s=v)))}}if(this.xAxis instanceof E&&(n==1/0||s==-1/0)){this._smin.setKey(x,void 0),this._smax.setKey(x,void 0),this.dispatchImmediately("selectionextremeschanged");return}if(this.yAxis instanceof E&&(o==1/0||h==-1/0)){this._smin.setKey(P,void 0),this._smax.setKey(P,void 0),this.dispatchImmediately("selectionextremeschanged");return}if((this._smin.getKey(x)!=n||this._smax.getKey(x)!=s||this._smin.getKey(P)!=o||this._smax.getKey(P)!=h)&&(this._smin.setKey(x,n),this._smax.setKey(x,s),this._smin.setKey(P,o),this._smax.setKey(P,h),this.appeared||this.start!=0||this.end!=1||this.dataItems!=this.mainDataSet)){var D=!1;if(i instanceof E&&!(i instanceof z)){var T=this._tmin.getKey(P);(!g(T)||(this.usesShowFields||this._dataSetChanged||t instanceof z&&t.groupData&&this.isShowing)&&ob||this.stackedSeries&&!this.isHidden)&&(this._tmax.setKey(P,h),D=!0)}if(t instanceof E&&!(t instanceof z)){var T=this._tmin.getKey(x);(!g(T)||(this.usesShowFields||this._dataSetChanged||i instanceof z&&i.groupData&&this.isShowing)&&nb||this.stackedSeries&&!this.isHidden)&&(this._tmax.setKey(x,s),D=!0)}D&&this.dispatchImmediately("extremeschanged"),this.start==0&&this.end==1&&(this._dataSetChanged=!1),this.dispatchImmediately("selectionextremeschanged")}!e&&this.stacked&&this.processValues(!0)}},r.prototype.hideTooltip=function(e){l.prototype.hideTooltip.call(this,e),this.returnBulletDefaultState(),this._prevTooltipDataItem=void 0},r.prototype.showTooltipAtPosition=function(e,t){var i;if(this.visible&&!this.isHiding&&!this.isShowing){var a=this._xAxis.get(),n=this._yAxis.get();a==this.baseAxis&&(i=a.getSeriesDataItem(this,a.toAxisPosition(e),this.snapTooltip)),n==this.baseAxis&&(i=n.getSeriesDataItem(this,n.toAxisPosition(t),this.snapTooltip));var s=this.showTooltipAtDataItem(i);if(s)return s;if(!this.tooltipText&&!this.tooltipHTML)return}this.hideTooltip()},r.prototype.getAdjustedXLocation=function(e,t,i){return e.locations[t]},r.prototype.getAdjustedYLocation=function(e,t,i){return e.locations[t]},r.prototype.showTooltipAtDataItem=function(e){var t,i,a=this.chart.cursor;if(a&&a.hideSeriesTooltipsOnSelection&&a.selection.visible&&a.downPoint){this.hideTooltip();return}if(this.returnBulletDefaultState(e),e&&e.visible){if(this.updateLegendValue(e),this.cursorTooltipEnabled){this.tooltipDataItem=e;var n=this.tooltipXField,s=this.tooltipYField;if(C(e[n])&&C(e[s])){var o=this.getPoint(e,n,s,this.getAdjustedXLocation(e,n),this.getAdjustedYLocation(e,s));if(o&&!(this.chart.className=="XYChart"&&(o.y<-1||o.y>this.yAxis.pixelHeight+1||o.x<-1||o.x>this.xAxis.pixelWidth+1))){if(this.tooltipX=o.x,this.tooltipY=o.y,this._prevTooltipDataItem!=e&&(this.dispatchImmediately("tooltipshownat",{type:"tooltipshownat",target:this,dataItem:e}),this._prevTooltipDataItem=e),this.cursorHoverEnabled)try{for(var h=ui(e.sprites),d=h.next();!d.done;d=h.next()){var u=d.value;!u.parent.visible||u.isHidden||u.__disabled||u.disabled||u.isHiding||(u.interactions.isRealHover||(u.dispatchImmediately("over"),u.interactions.isRealHover=!0),u.isHover=!0)}}catch(p){t={error:p}}finally{try{d&&!d.done&&(i=h.return)&&i.call(h)}finally{if(t)throw t.error}}return this.showTooltip()?Qe({x:o.x,y:o.y},this):void 0}}}}else this.updateLegendValue(e,!0)},r.prototype.returnBulletDefaultState=function(e){var t,i;if(this._prevTooltipDataItem&&this._prevTooltipDataItem!=e)try{for(var a=ui(this._prevTooltipDataItem.sprites),n=a.next();!n.done;n=a.next()){var s=n.value;if(s.isDisposed())this._prevTooltipDataItem=void 0;else{var o=s.interactions.isRealHover;s.isHover=!1,o&&s.dispatchImmediately("out")}}}catch(h){t={error:h}}finally{try{n&&!n.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}},r.prototype.shouldCreateBullet=function(e,t){var i=t.xField;C(i)||(i=this.xField);var a=t.yField;if(C(a)||(a=this.yField),this.xAxis instanceof E&&!e.hasValue([i])||this.yAxis instanceof E&&!e.hasValue([a]))return!1;if(t.disabled){var n=t.propertyFields.disabled,s=e.dataContext;return!!(s&&s[n]===!1)}return!0},r.prototype.updateTooltip=function(){!this.hideTooltipWhileZooming&&this.tooltip&&!this.tooltip.isHidden&&!this.isHiding&&!this.isHidden&&this.tooltipDataItem&&this.showTooltipAtDataItem(this.tooltipDataItem)},r.prototype.positionBullet=function(e){l.prototype.positionBullet.call(this,e);var t=e.dataItem,i=e.xField;C(i)||(i=this.xField);var a=e.yField;C(a)||(a=this.yField);var n=this.xAxis,s=this.yAxis;if(n instanceof E&&!t.hasValue([i])||s instanceof E&&!t.hasValue([a]))e.visible=!1;else{var o=this.getBulletLocationX(e,i),h=this.getBulletLocationY(e,a),d=this.getPoint(t,i,a,o,h);if(d){var u=this.xOpenField,p=this.yOpenField,f=void 0,c=void 0;if(n instanceof z){g(o)||(o=0);var y=void 0,v=t.getWorkingValue(i);u?y=t.getWorkingValue(u):n==this.baseAxis&&(y=n.baseValue),g(y)||(y=v);var m=t.getValue("valueX","stack");if(y+=m,v+=m,y==v){var x=n.baseInterval,P=n.dateFormatter;y=ne(new Date(y),x.timeUnit,x.count,P.firstDayOfWeek,P.utc,void 0,P.timezoneMinutes,P.timezone).getTime(),v=ue(new Date(y),x.timeUnit,x.count,P.utc).getTime()}var S=void 0;n==this.baseAxis?S=y+(v-y)*o:S=y+(v-y)*(1-o),f=n.valueToPosition(S)}else if(n instanceof E){g(o)||(o=0);var y=void 0,v=t.getWorkingValue(i);u?y=t.getWorkingValue(u):y=n.baseValue;var m=t.getValue("valueX","stack");y+=m,v+=m;var S=y+(v-y)*(1-o);f=n.valueToPosition(S)}else if(n instanceof Z){var D=this.getAdjustedXLocation(t,i,e.locationX),T=this.getAdjustedXLocation(t,u,e.locationX);f=n.categoryToPosition(t[i],D);var b=void 0;u&&(b=n.categoryToPosition(t[u],T)),g(b)||(b=1),f=b+(f-b)*o}if(s instanceof z){g(h)||(h=0);var y=void 0,v=t.getWorkingValue(a);p?y=t.getWorkingValue(p):s==this.baseAxis&&(y=s.baseValue),g(y)||(y=v);var m=t.getValue("valueY","stack");if(y+=m,v+=m,y==v){var x=s.baseInterval,P=s.dateFormatter;y=ne(new Date(y),x.timeUnit,x.count,P.firstDayOfWeek,P.utc,void 0,P.timezoneMinutes,P.timezone).getTime(),v=ue(new Date(y),x.timeUnit,x.count,P.utc).getTime()}var S=void 0;s==this.baseAxis?S=y+(v-y)*h:S=y+(v-y)*(1-h),c=s.valueToPosition(S)}else if(s instanceof E){g(h)||(h=0);var y=void 0,v=t.getWorkingValue(a);p?y=t.getWorkingValue(p):y=s.baseValue;var m=t.getValue("valueY","stack");y+=m,v+=m;var S=y+(v-y)*(1-h);c=s.valueToPosition(S)}else if(s instanceof Z){c=s.categoryToPosition(t[a],h);var O=this.getAdjustedYLocation(t,a,e.locationY),_=this.getAdjustedYLocation(t,p,e.locationY);c=s.categoryToPosition(t[a],O);var N=void 0;p&&(N=s.categoryToPosition(t[p],_)),g(N)||(N=1),c=N+(c-N)*h}e.visible=!0,this.positionBulletReal(e,f,c)}else e.visible=!1}},r.prototype.positionBulletReal=function(e,t,i){e.x=this.xAxis.renderer.positionToPoint(t,i).x,e.y=this.yAxis.renderer.positionToPoint(i,t).y},r.prototype.getBulletLocationX=function(e,t){var i=e.locationX,a=e.dataItem;return g(i)||(i=a.workingLocations[t]),i},r.prototype.getBulletLocationY=function(e,t){var i=e.locationY,a=e.dataItem;return g(i)||(i=a.workingLocations[t]),i},r.prototype.updateStacking=function(){var e=this;this.invalidateDataItems(),this.chart&&this.chart.series.each(function(t){t.baseAxis==e.baseAxis&&(t.stackedSeries=void 0,t.invalidateDataItems(),t.invalidateProcessedData())})},Object.defineProperty(r.prototype,"stacked",{get:function(){return this.getPropertyValue("stacked")},set:function(e){if(this.setPropertyValue("stacked",e,!0)){this.updateStacking();var t=this.xAxis,i=this.yAxis;if(!e){var a;t!=this.baseAxis&&t instanceof E&&(a=this.xField),i!=this.baseAxis&&i instanceof E&&(a=this.yField),a&&this.dataItems.each(function(n){n.setCalculatedValue(a,0,"stack")})}}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"snapTooltip",{get:function(){return this.getPropertyValue("snapTooltip")},set:function(e){this.setPropertyValue("snapTooltip",e)},enumerable:!0,configurable:!0}),r.prototype.show=function(e){var t=this;this.isHidden&&(this.appeared&&this.xAxis instanceof z&&this.xAxis.groupData&&(this._tmin.setKey(this.yAxis.uid,void 0),this._tmax.setKey(this.yAxis.uid,void 0)),this.appeared&&this.yAxis instanceof z&&this.yAxis.groupData&&(this._tmin.setKey(this.xAxis.uid,void 0),this._tmax.setKey(this.xAxis.uid,void 0)));var i;this.xAxis instanceof E&&this.xAxis!=this.baseAxis&&(i=this._xValueFields),this.yAxis instanceof E&&this.yAxis!=this.baseAxis&&(i=this._yValueFields);var a=this.startIndex,n=this.endIndex,s=0,o=this.defaultState.transitionDuration;g(e)&&(o=e);var h;w(Pt(this.dataItems.iterator()),function(u){var p=u[0],f=u[1],c=o;(pt.endIndex+10)&&(c=0,s=0),t.sequencedInterpolation&&c>0&&(s=t.sequencedInterpolationDelay*p+o*(p-a)/(n-a)),h=f.show(c,s,i)}),this.dataSets.each(function(u,p){p!=t.dataItems&&p.each(function(f){f.events.disable(),f.show(0,0,i),f.events.enable()})}),this.mainDataSet!=this.dataItems&&this.mainDataSet.each(function(u){u.events.disable(),u.show(0,0,i),u.events.enable()});var d=l.prototype.show.call(this,e);return h&&!h.isFinished()&&(d=h),this.hidden&&(this.dispatchImmediately("selectionextremeschanged"),this.hidden=!1),d},r.prototype.hide=function(e){var t=this,i,a,n=this.xAxis;n instanceof E&&n!=this.baseAxis&&(i=this._xValueFields,this.stacked||n.minZoomedn.baseValue||this.stackedSeries?a=n.baseValue:a=n.min);var s=this.yAxis;s instanceof E&&s!=this.baseAxis&&(i=this._yValueFields,this.stacked||s.minZoomeds.baseValue||this.stackedSeries?a=s.baseValue:a=s.min);var o=this.startIndex,h=this.endIndex,d=this.hiddenState.transitionDuration;g(e)&&(d=e);var u=0,p;w(Pt(this.dataItems.iterator()),function(c){var y=c[0],v=c[1],m=d;(yt.endIndex+10)&&(m=0),m==0?v.hide(0,0,a,i):(t.sequencedInterpolation&&m>0&&(u=t.sequencedInterpolationDelay*y+d*(y-o)/(h-o)),p=v.hide(m,u,a,i))}),this.dataSets.each(function(c,y){y!=t.dataItems&&y.each(function(v){v.events.disable(),v.hide(0,0,a,i),v.events.enable()})}),this.mainDataSet!=this.dataItems&&this.mainDataSet.each(function(c){c.events.disable(),c.hide(0,0,a,i),c.events.enable()});var f=l.prototype.hide.call(this,d);return f&&!f.isFinished()&&f.delay(u),p&&!p.isFinished()&&(f=p),this.validateDataElements(),f},r.prototype.handleDataItemWorkingValueChange=function(e,t){l.prototype.handleDataItemWorkingValueChange.call(this,e,t);var i=this.baseAxis.series;w(i.iterator(),function(a){(a.stacked||a.stackedSeries)&&a.invalidateProcessedData()})},r.prototype.getStackValue=function(e,t){var i=this,a=this.xAxis,n=this.yAxis;if(!(!this.stacked||!a||!n)){var s=this.chart,o=s.series.indexOf(this),h;if(a!=this.baseAxis&&a instanceof E&&(h=this.xField),n!=this.baseAxis&&n instanceof E&&(h=this.yField),!h)return;e.setCalculatedValue(h,0,"stack"),je(s.series.range(0,o).backwards().iterator(),function(d){if(d.xAxis==a&&d.yAxis==n&&d.className==i.className){d.stackedSeries=i;var u=d.dataItems.getIndex(e.index);if(u&&u.hasValue(i._xValueFields)&&u.hasValue(i._yValueFields)){var p=e.getValue(h),f=void 0,c=u.getValue(h)+u.getValue(h,"stack");if(t?f=u.getWorkingValue(h)+u.getValue(h,"stack"):f=u.getValue(h)+u.getValue(h,"stack"),i.stackToNegative){if(p>=0&&c>=0||p<0&&c<0)return e.setCalculatedValue(h,f,"stack"),!1;if(!d.stacked)return!1}else return e.setCalculatedValue(h,f,"stack"),!1}else if(!d.stacked)return!1}return!0})}},Object.defineProperty(r.prototype,"stackToNegative",{get:function(){return this.getPropertyValue("stackToNegative")},set:function(e){this.setPropertyValue("stackToNegative",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"xField",{get:function(){return this._xField},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"yField",{get:function(){return this._yField},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"xOpenField",{get:function(){return this._xOpenField},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"yOpenField",{get:function(){return this._yOpenField},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tooltipXField",{get:function(){return this._tooltipXField?this._tooltipXField:this._xField},set:function(e){this._tooltipXField=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tooltipYField",{get:function(){return this._tooltipYField?this._tooltipYField:this._yField},set:function(e){this._tooltipYField=e},enumerable:!0,configurable:!0}),r.prototype.min=function(e){return this._tmin.getKey(e.uid)},r.prototype.max=function(e){return this._tmax.getKey(e.uid)},r.prototype.selectionMin=function(e){var t=this._smin.getKey(e.uid);return t},r.prototype.selectionMax=function(e){var t=this._smax.getKey(e.uid);return t},r.prototype.processConfig=function(e){if(e){if(C(e.baseAxis)&&ae(e.baseAxis)&&(this.map.hasKey(e.baseAxis)?e.baseAxis=this.map.getKey(e.baseAxis):(this.processingErrors.push("[XYSeries ("+(this.name||"unnamed")+')] No axis with id "'+e.baseAxis+'" found for `baseAxis`.'),delete e.baseAxis)),C(e.xAxis)&&ae(e.xAxis)&&(this.map.hasKey(e.xAxis)?e.xAxis=this.map.getKey(e.xAxis):(this.processingErrors.push("[XYSeries ("+(this.name||"unnamed")+')] No axis with id "'+e.xAxis+'" found for `xAxis`.'),delete e.xAxis)),C(e.yAxis)&&ae(e.yAxis)&&(this.map.hasKey(e.yAxis)?e.yAxis=this.map.getKey(e.yAxis):(this.processingErrors.push("[XYSeries ("+(this.name||"unnamed")+')] No axis with id "'+e.yAxis+'" found for `yAxis`.'),delete e.yAxis)),C(e.axisRanges)&&ke(e.axisRanges))for(var t=0,i=e.axisRanges.length;t0&&(n=!1),P.yAxis==i.yAxis&&t.scrollbarChart.yAxes.length>0&&(s=!1))}),i.events.on("beforedisposed",function(){t.series.removeValue(i)});var o=new te,h=i.clone();if(bt()&&(h.stroke=Te("#aaaaaa"),h.fill=h.stroke,h.propertyFields.fill=void 0,h.propertyFields.stroke=void 0),i.scrollbarSeries=h,n){var d=i.xAxis.clone();a.xAxes.moveValue(d),d.title.disabled=!0,d.rangeChangeDuration=0;var u=d.renderer;u.ticks.template.disabled=!0,u.inside=!0,u.labels.template.inside=!0,u.line.strokeOpacity=0,u.minLabelPosition=.02,u.maxLabelPosition=.98,u.line.disabled=!0,u.axisFills.template.disabled=!0,u.baseGrid.disabled=!0,u.grid.template.strokeOpacity=.05,u.minWidth=void 0,u.minHeight=void 0,u.padding(0,0,0,0),u.chart=a,u.margin(0,0,0,0),d.width=k(100);var p=u.labels.template;if(p.fillOpacity=.5,d.maxZoomCount=void 0,d.minZoomCount=void 0,d instanceof z){var f=d,c=i.xAxis;f.groupCount=c.groupCount*5,f.min=void 0,f.max=void 0,this._disposers.push(f.clonedFrom.events.on("extremeschanged",function(){g(f.clonedFrom.minDefined)&&(f.min=f.clonedFrom.minDefined),g(f.clonedFrom.maxDefined)&&(f.max=f.clonedFrom.maxDefined)},void 0,!1))}else if(d instanceof E){var y=d;y.min=void 0,y.max=void 0,g(y.clonedFrom.minDefined)||(y.min=void 0),g(y.clonedFrom.maxDefined)||(y.max=void 0),this._disposers.push(y.clonedFrom.events.on("extremeschanged",function(){g(y.clonedFrom.minDefined)&&(y.min=y.clonedFrom.min),g(y.clonedFrom.maxDefined)&&(y.max=y.clonedFrom.max)},void 0,!1))}h.xAxis=d}else this.scrollbarChart.xAxes.each(function(P){P.clonedFrom==i.xAxis&&(h.xAxis=P)});if(s){var v=i.yAxis.clone();a.yAxes.moveValue(v),v.title.disabled=!0,v.rangeChangeDuration=0;var u=v.renderer;u.ticks.template.disabled=!0,u.inside=!0,u.labels.template.inside=!0,u.line.strokeOpacity=0,u.minLabelPosition=.02,u.maxLabelPosition=.98,u.line.disabled=!0,u.axisFills.template.disabled=!0,u.grid.template.stroke=o.getFor("background"),u.baseGrid.disabled=!0,u.grid.template.strokeOpacity=.05,u.minWidth=void 0,u.minHeight=void 0,u.chart=a,u.padding(0,0,0,0),u.margin(0,0,0,0),v.height=k(100);var p=u.labels.template;if(p.fillOpacity=.5,h.yAxis=v,v.maxZoomCount=void 0,v.minZoomCount=void 0,v instanceof z){var m=v;m.min=void 0,m.max=void 0;var c=i.yAxis;v.groupCount=c.groupCount*5,this._disposers.push(m.clonedFrom.events.on("extremeschanged",function(){g(m.clonedFrom.minDefined)&&(m.min=m.clonedFrom.minDefined),g(m.clonedFrom.maxDefined)&&(m.max=m.clonedFrom.maxDefined)}))}else if(v instanceof E){var x=v;x.min=void 0,x.max=void 0,g(x.clonedFrom.minDefined)||(x.min=void 0),g(x.clonedFrom.maxDefined)||(x.max=void 0),this._disposers.push(x.clonedFrom.events.on("extremeschanged",function(){g(x.clonedFrom.minDefined)&&(x.min=x.clonedFrom.minDefined),g(x.clonedFrom.maxDefined)&&(x.max=x.clonedFrom.maxDefined)}))}}else this.scrollbarChart.yAxes.each(function(P){P.clonedFrom==i.yAxis&&(h.yAxis=P)});h.rangeChangeDuration=0,h.interpolationDuration=0,h.defaultState.transitionDuration=0,h.showOnInit=!1,this._disposers.push(h.events.on("validated",this.zoomOutAxes,this,!1)),this._disposers.push(i.events.on("datavalidated",function(){h.data!=i.data&&(h.data=i.data)},void 0,!1)),h.defaultState.properties.visible=!0,a.series.push(h),this.updateByOrientation()}},r.prototype.updateByOrientation=function(){var e=this;this._scrollbarChart&&(w(this._scrollbarChart.xAxes.iterator(),function(t){var i=t.renderer;e.orientation=="vertical"?(i.grid.template.disabled=!0,i.labels.template.disabled=!0,i.minGridDistance=10):(i.grid.template.disabled=!1,i.labels.template.disabled=!1,i.minGridDistance=t.clonedFrom.renderer.minGridDistance)}),w(this._scrollbarChart.yAxes.iterator(),function(t){var i=t.renderer;e.orientation=="horizontal"?(i.grid.template.disabled=!0,i.labels.template.disabled=!0,i.minGridDistance=10):(i.grid.template.disabled=!1,i.labels.template.disabled=!1,i.minGridDistance=t.clonedFrom.renderer.minGridDistance)}))},r.prototype.handleSeriesRemoved=function(e){var t=e.oldValue,i=this.scrollbarChart;i.series.each(function(a){a&&a.clonedFrom==t&&i.series.removeValue(a)}),i.series.length==0&&(i.xAxes.clear(),i.yAxes.clear());try{t.events.off("validated",this.zoomOutAxes,this)}catch{}},Object.defineProperty(r.prototype,"scrollbarChart",{get:function(){return this._scrollbarChart},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"chart",{get:function(){return this._chart.get()},set:function(e){this._chart.get()!==e&&(this._chart.set(e,e.events.on("datavalidated",this.handleDataChanged,this,!1)),this.handleDataChanged(),this._scrollbarChart.dataProvider=e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"unselectedOverlay",{get:function(){return this._unselectedOverlay},enumerable:!0,configurable:!0}),r.prototype.handleDataChanged=function(){this.chart.data!=this.scrollbarChart.data?this.scrollbarChart.data=this.chart.data:this.scrollbarChart.invalidateRawData()},r.prototype.zoomOutAxes=function(){var e=this.scrollbarChart;w(e.xAxes.iterator(),function(t){t.zoom({start:0,end:1},!0,!0)}),w(e.yAxes.iterator(),function(t){t.zoom({start:0,end:1},!0,!0)})},r.prototype.updateThumb=function(e){if(e===void 0&&(e=!0),l.prototype.updateThumb.call(this,e),this._unselectedOverlay){var t=this.thumb,i=t.pixelX||0,a=t.pixelY||0,n=t.pixelWidth||0,s=t.pixelHeight||0,o="";this.orientation=="horizontal"?(o=Be({x:-1,y:0,width:i,height:s}),o+=Be({x:i+n,y:0,width:(this.pixelWidth||0)-i-n,height:s})):(o=Be({x:0,y:0,width:n,height:a}),o+=Be({x:0,y:a+s,width:n,height:(this.pixelHeight||0)-a-s})),this._unselectedOverlay.path=o}},r.prototype.processConfig=function(e){if(e&&C(e.series)&&ke(e.series))for(var t=0,i=e.series.length;t0){var i=t.maxZoomFactor/t.maxZoomCount;if(j(t.end-t.start,3)<1/i)return e=!0,!1}else if(j(t.start,3)>0||j(t.end,3)<1)return e=!0,!1}return!0}),je(this.yAxes.iterator(),function(t){if(t.toggleZoomOutButton){if(t.maxZoomCount>0){var i=t.maxZoomFactor/t.maxZoomCount;if(j(t.end-t.start,3)<1/i)return e=!0,!1}else if(j(t.start,3)>0||j(t.end,3)<1)return e=!0,!1;return!0}}),this.seriesAppeared||(e=!1),e?this.zoomOutButton.show():this.zoomOutButton.hide()}},r.prototype.seriesAppeared=function(){var e=!1;return w(this.series.iterator(),function(t){if(!t.appeared)return e=!1,!1}),e},r.prototype.handleYAxisRangeChange=function(){var e=this.getCommonAxisRange(this.yAxes);this.scrollbarY&&this.zoomAxes(this.yAxes,e,!0),this.toggleZoomOutButton(),this.updateScrollbar(this.scrollbarY,e)},r.prototype.updateScrollbar=function(e,t){e&&(e.skipRangeEvents(),e.start=t.start,e.end=t.end)},r.prototype.getCommonAxisRange=function(e){var t,i;return e.each(function(a){if(!(!a.zoomable||a instanceof E&&a.syncWithAxis)){var n=a.start,s=a.end;a.renderer.inversed&&(n=1-a.end,s=1-a.start),(!g(t)||ni)&&(i=s)}}),{start:t,end:i}},r.prototype.updateXAxis=function(e){var t=e.axis;e.opposite?(t.parent=this.topAxesContainer,t.toFront()):(t.parent=this.bottomAxesContainer,t.toBack()),t.renderer&&t.renderer.processRenderer()},r.prototype.updateYAxis=function(e){var t=e.axis;e.opposite?(t.parent=this.rightAxesContainer,t.toBack()):(t.parent=this.leftAxesContainer,t.toFront()),t.renderer&&t.renderer.processRenderer()},r.prototype.processAxis=function(e){var t=this;e instanceof Z&&this._dataUsers.moveValue(e);var i=e.renderer;i.gridContainer.parent=this.plotContainer,i.gridContainer.toBack(),i.breakContainer.parent=this.plotContainer,i.breakContainer.toFront(),i.breakContainer.zIndex=10,e.addDisposer(new se(function(){t.dataUsers.removeValue(e)})),i.bulletsContainer.parent=this.axisBulletsContainer,this._disposers.push(e.events.on("positionchanged",function(){var a=De({x:0,y:0},e,t.axisBulletsContainer);e.renderer instanceof we&&(i.bulletsContainer.y=a.y),e.renderer instanceof Ye&&(i.bulletsContainer.x=a.x)},void 0,!1)),this.plotContainer.events.on("maxsizechanged",function(){t.inited&&(e.invalidateDataItems(),t.updateSeriesMasks())},e,!1)},r.prototype.updateSeriesMasks=function(){bt()&&this.series.each(function(e){var t=e.mainContainer.mask;e.mainContainer.mask=void 0,e.mainContainer.mask=t})},r.prototype.handleSeriesRemoved=function(e){var t=e.oldValue;t&&(t.xAxis&&(t.xAxis.series.removeValue(t),t.xAxis.invalidateProcessedData()),t.yAxis&&(t.yAxis.series.removeValue(t),t.yAxis.invalidateProcessedData()),this.series.each(function(i){i.resetExtremes()})),l.prototype.handleSeriesRemoved.call(this,e)},Object.defineProperty(r.prototype,"xAxes",{get:function(){return this._xAxes||(this._xAxes=new xe,this._xAxes.events.on("inserted",this.processXAxis,this,!1),this._xAxes.events.on("removed",this.handleAxisRemoval,this,!1),this._disposers.push(new G(this._xAxes,!1))),this._xAxes},enumerable:!0,configurable:!0}),r.prototype.handleAxisRemoval=function(e){var t=e.oldValue;this.dataUsers.removeValue(t),t.autoDispose&&t.dispose()},Object.defineProperty(r.prototype,"yAxes",{get:function(){return this._yAxes||(this._yAxes=new xe,this._yAxes.events.on("inserted",this.processYAxis,this,!1),this._yAxes.events.on("removed",this.handleAxisRemoval,this,!1),this._disposers.push(new G(this._yAxes,!1))),this._yAxes},enumerable:!0,configurable:!0}),r.prototype.handleSeriesAdded=function(e){try{l.prototype.handleSeriesAdded.call(this,e);var t=e.newValue;(this.xAxes.length==0||this.yAxes.length==0)&&(V.removeFromInvalidComponents(t),t.dataInvalid=!1),He(t.xAxis),He(t.yAxis),t.maskBullets=t.maskBullets,t.fill==null&&(this.patterns?(C(t.stroke)||(t.stroke=this.colors.next()),t.fill=this.patterns.next(),C(t.fillOpacity)&&(t.fill.backgroundOpacity=t.fillOpacity),t.stroke instanceof Ce&&(t.fill.stroke=t.stroke,t.fill.fill=t.stroke)):t.fill=this.colors.next()),C(t.stroke)||(t.stroke=t.fill)}catch(i){this.raiseCriticalError(i)}},Object.defineProperty(r.prototype,"cursor",{get:function(){return this._cursor},set:function(e){this._cursor!=e&&(this._cursor&&this.removeDispose(this._cursor),this._cursor=e,e&&(this._disposers.push(e),e.chart=this,e.shouldClone=!1,e.parent=this._cursorContainer,e.events.on("cursorpositionchanged",this.handleCursorPositionChange,this,!1),e.events.on("zoomstarted",this.handleCursorZoomStart,this,!1),e.events.on("zoomended",this.handleCursorZoomEnd,this,!1),e.events.on("panstarted",this.handleCursorPanStart,this,!1),e.events.on("panning",this.handleCursorPanning,this,!1),e.events.on("panended",this.handleCursorPanEnd,this,!1),e.events.on("behaviorcanceled",this.handleCursorCanceled,this,!1),e.events.on("hidden",this.handleHideCursor,this,!1),e.zIndex=Number.MAX_SAFE_INTEGER-1,this.tapToActivate&&this.setTapToActivate(this.tapToActivate)))},enumerable:!0,configurable:!0}),r.prototype.handleCursorPositionChange=function(){var e=this.cursor;if(e.visible&&!e.isHiding){var t=this.cursor.xPosition,i=this.cursor.yPosition;this.showSeriesTooltip({x:t,y:i});var a=[],n=e.snapToSeries;if(n&&!e.downPoint){n instanceof at&&(n=[n]);var s=[];H(n,function(h){if(!h.isHidden&&!h.isHiding){var d=h.xAxis,u=h.yAxis;d instanceof E&&!(d instanceof z)&&u instanceof E&&!(u instanceof z)?(h.dataItems.each(function(p){s.push(p)}),Lt(a,h.yAxis),Lt(a,h.xAxis)):(h.baseAxis==h.xAxis&&(Lt(a,h.yAxis),s.push(d.getSeriesDataItem(h,d.toAxisPosition(t),!0))),h.baseAxis==h.yAxis&&(Lt(a,h.xAxis),s.push(u.getSeriesDataItem(h,u.toAxisPosition(i),!0))))}});var o=this.getClosest(s,t,i);o&&(this.series.each(function(h){var d=o.component;h!=d&&(h.hideTooltip(),h.xAxis!=d.xAxis&&(h.xAxis.hideTooltip(),a.push(h.xAxis)),h.yAxis!=d.yAxis&&(h.yAxis.hideTooltip(),a.push(h.yAxis)))}),o.component.showTooltipAtDataItem(o),e.handleSnap(o.component))}this._seriesPoints=[],this._cursorXPosition!=t&&this.showAxisTooltip(this.xAxes,t,a),this._cursorYPosition!=i&&this.showAxisTooltip(this.yAxes,i,a),this.arrangeTooltips&&this.sortSeriesTooltips(this._seriesPoints),this.legend&&this.legend.afterDraw()}},r.prototype.getClosest=function(e,t,i){var a=1/0,n;return Pa(e,function(s){if(s){var o=s.component.xAxis,h=s.component.yAxis,d=o.positionToCoordinate(o.toGlobalPosition(o.toAxisPosition(t))),u=h.positionToCoordinate(h.toGlobalPosition(h.toAxisPosition(i))),p=s.component.xField,f=s.component.yField;if(o instanceof E&&!g(s.getValue(p))||h instanceof E&&!g(s.getValue(f)))return!0;var c=o.positionToCoordinate(o.toGlobalPosition(o.getPositionX(s,p,s.locations[p],"valueX"))),y=h.positionToCoordinate(h.toGlobalPosition(h.getPositionY(s,f,s.locations[f],"valueY"))),v=Math.sqrt(Math.pow(d-c,2)+Math.pow(u-y,2));return v0){var t=this.cursor;if(t&&g(t.maxTooltipDistance)){var i=Qe({x:t.point.x,y:t.point.y},t),a,n,s=1/0;H(e,function(F){var I=F.series,ge=F.point;if(ge){var Fe={x:ge.x,y:ge.y},Me=Math.abs(K(Fe,i));Me0&&H(o,function(F){a!=F.series&&F.series.hideTooltip(0)}),o=[{series:a,point:n}])),e=o}var h=Qe({x:-.5,y:-.5},this.plotContainer),d=Qe({x:this.plotContainer.pixelWidth+.5,y:this.plotContainer.pixelHeight+.5},this.plotContainer),u=0,p=[];H(e,function(F){var I=F.point;I&&Ca(I,{x:h.x,y:h.y,width:d.x-h.x,height:d.y-h.y})&&(p.push({point:I,series:F.series}),u+=I.y)}),e=p;var f=this.series.getIndex(0),c=!1;f&&f.yAxis&&f.yAxis.renderer.inversed&&(c=!0),c?e.sort(function(F,I){return yt(F.point.y,I.point.y)}):(e.sort(function(F,I){return yt(I.point.y,F.point.y)}),e.reverse());var y=u/e.length,v=Da({x:0,y:0},this.svgContainer.SVGContainer).y;if(e.length>0){var m=h.y,x=d.y;Aa({x:0,y:m},this);var P=!1;if(y>m+(x-m)/2)for(var S=x,D=e.length-1;D>=0;D--){var T=e[D].series,b=T.tooltip,O=e[D].point.y;if(b.setBounds({x:0,y:-v,width:this.pixelWidth,height:S+v}),b.invalid&&b.validate(),b.toBack(),S=Qe({x:0,y:b.label.pixelY-b.pixelY+O-b.pixelMarginTop},b).y,S<-v){P=!0;break}}if(y<=m+(x-m)/2||P)for(var _=m,D=0,N=e.length;D0||n.dataItems.length>0)&&n.showTooltipAtPosition(t)})},r.prototype.getUpdatedRange=function(e,t){if(!!e){var i,a,n=e.renderer.inversed;n?(gt(t),i=1-e.end,a=1-e.start):(i=e.start,a=e.end);var s=a-i;return{start:i+t.start*s,end:i+t.end*s}}},r.prototype.handleCursorZoomEnd=function(e){var t=this.cursor,i=t.behavior;if(i=="zoomX"||i=="zoomXY"){var a=t.xRange;a&&this.xAxes.length>0&&(a=this.getUpdatedRange(this.xAxes.getIndex(0),a),a.priority="start",this.zoomAxes(this.xAxes,a))}if(i=="zoomY"||i=="zoomXY"){var n=t.yRange;n&&this.yAxes.length>0&&(n=this.getUpdatedRange(this.yAxes.getIndex(0),n),n.priority="start",this.zoomAxes(this.yAxes,n))}this.handleHideCursor()},r.prototype.handleCursorPanStart=function(e){var t=this.xAxes.getIndex(0);t&&(this._panStartXRange={start:t.start,end:t.end},t.renderer.inversed&&(this._panStartXRange=gt(this._panStartXRange)));var i=this.yAxes.getIndex(0);i&&(this._panStartYRange={start:i.start,end:i.end},i.renderer.inversed&&(this._panStartYRange=gt(this._panStartYRange)))},r.prototype.handleCursorPanEnd=function(e){var t=this.cursor,i=t.behavior;if(this._panEndXRange&&(i=="panX"||i=="panXY")){var a=this._panEndXRange,n=this._panStartXRange,s=0;a.start<0&&(s=a.start),n.end>1?a.end>n.end&&(s=a.end-n.end):a.end>1&&(s=a.end-1),this.zoomAxes(this.xAxes,{start:a.start-s,end:a.end-s},!1,t.snapOnPan),this._panEndXRange=void 0,this._panStartXRange=void 0}if(this._panEndYRange&&(i=="panY"||i=="panXY")){var a=this._panEndYRange,s=0;a.start<0&&(s=a.start),a.end>1&&(s=a.end-1),this.zoomAxes(this.yAxes,{start:a.start-s,end:a.end-s},!1,t.snapOnPan),this._panEndYRange=void 0,this._panStartYRange=void 0}},r.prototype.handleCursorCanceled=function(){this._panEndXRange=void 0,this._panStartXRange=void 0},r.prototype.handleCursorPanning=function(e){var t=this.cursor,i=t.behavior,a=t.maxPanOut;if(this._panStartXRange&&(i=="panX"||i=="panXY")){var n=this._panStartXRange,s=t.xRange,o=this.getCommonAxisRange(this.xAxes),h=n.end-n.start,d=s.start*(o.end-o.start),u=Math.max(-a,d+n.start),p=Math.min(d+n.end,1+a);u<=0&&(p=u+h),p>=1&&(u=p-h);var f={start:u,end:p};this._panEndXRange=f,this.zoomAxes(this.xAxes,f,!1,!1,t.maxPanOut)}if(this._panStartYRange&&(i=="panY"||i=="panXY")){var n=this._panStartYRange,s=t.yRange,o=this.getCommonAxisRange(this.yAxes),h=n.end-n.start,d=s.start*(o.end-o.start),u=Math.max(-a,d+n.start),p=Math.min(d+n.end,1+a);u<=0&&(p=u+h),p>=1&&(u=p-h);var f={start:u,end:p};this._panEndYRange=f,this.zoomAxes(this.yAxes,f,!1,!1,t.maxPanOut)}this.handleHideCursor()},r.prototype.handleYAxisSet=function(e){},r.prototype.handleCursorZoomStart=function(e){},Object.defineProperty(r.prototype,"scrollbarX",{get:function(){return this._scrollbarX},set:function(e){var t=this;this._scrollbarX&&this.removeDispose(this._scrollbarX),this._scrollbarX=e,e&&(this._disposers.push(e),e.parent=this.topAxesContainer,e.shouldClone=!1,e.startGrip.exportable=!1,e.endGrip.exportable=!1,e.toBack(),e.orientation="horizontal",e.events.on("rangechanged",this.handleXScrollbarChange,this,!1),this.events.on("datavalidated",function(){return e.updateThumb(!1)},this,!1),e.adapter.add("positionValue",function(i){var a=t.xAxes.getIndex(0);return a&&(i.value=a.getPositionLabel(a.renderer.inversed?1-i.position:i.position)),i}))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"scrollbarY",{get:function(){return this._scrollbarY},set:function(e){var t=this;this._scrollbarY&&this.removeDispose(this._scrollbarY),this._scrollbarY=e,e&&(this._disposers.push(e),e.parent=this.rightAxesContainer,e.startGrip.exportable=!1,e.shouldClone=!1,e.endGrip.exportable=!1,e.toFront(),e.orientation="vertical",e.events.on("rangechanged",this.handleYScrollbarChange,this,!1),this.events.on("datavalidated",function(){return e.updateThumb(!1)},this,!1),e.adapter.add("positionValue",function(i){var a=t.yAxes.getIndex(0);return a&&(i.value=a.getPositionLabel(i.position)),i}))},enumerable:!0,configurable:!0}),r.prototype.handleXScrollbarChange=function(e){if(this.inited){var t=e.target,i=t.range;i.start==0&&(i.priority="start"),i.end==1&&(i.priority="end"),i=this.zoomAxes(this.xAxes,i),t.fixRange(i)}},r.prototype.handleYScrollbarChange=function(e){if(this.inited){var t=e.target,i=t.range;i.end==1&&(i.priority="end"),i.start==0&&(i.priority="start"),i=this.zoomAxes(this.yAxes,i),t.fixRange(i)}},r.prototype.zoomAxes=function(e,t,i,a,n,s){var o={start:0,end:1};this.showSeriesTooltip();var h=t;return this.dataInvalid||w(e.iterator(),function(d){var u=d.maxZoomFactor;if(g(d.minZoomCount)&&(u=u/d.minZoomCount),!(s&&1/(t.end-t.start)>=u)){if(d.zoomable){if(d.renderer.inversed?t=gt(h):t=h,d.hideTooltip(0),a)if(d instanceof Z){var p=d.getCellEndPosition(0)-d.getCellStartPosition(0);t.start=d.roundPosition(t.start+p/2-d.startLocation*p,d.startLocation),t.end=d.roundPosition(t.end-p/2+(1-d.endLocation)*p,d.endLocation)}else{var f=1e-4;t.start=d.roundPosition(t.start+f,0,d.startLocation),t.end=d.roundPosition(t.end+f,0,d.endLocation)}var c=d.zoom(t,i,i,n);d.renderer.inversed&&(c=gt(c)),o=c}}}),o},Object.defineProperty(r.prototype,"maskBullets",{get:function(){return this.getPropertyValue("maskBullets")},set:function(e){this.setPropertyValue("maskBullets",e,!0)&&this.bulletsContainer&&(e?this.bulletsContainer.mask=this._bulletMask:this.bulletsContainer.mask=void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"arrangeTooltips",{get:function(){return this.getPropertyValue("arrangeTooltips")},set:function(e){this.setPropertyValue("arrangeTooltips",e,!0)},enumerable:!0,configurable:!0}),r.prototype.handleWheel=function(e){var t=this.plotContainer,i=Ui(e.point,this.htmlContainer,this.svgContainer.cssScale),a=Ue(i,t),n=e.shift.y;this.handleWheelReal(n,this.mouseWheelBehavior,a)},r.prototype.handleHorizontalWheel=function(e){var t=this.plotContainer,i=Ui(e.point,this.htmlContainer,this.svgContainer.cssScale),a=Ue(i,t);this.handleWheelReal(e.shift.x,this.horizontalMouseWheelBehavior,a)},r.prototype.handleWheelReal=function(e,t,i){if(e!=0){var a=this.plotContainer,n=this.getCommonAxisRange(this.xAxes),s=this.getCommonAxisRange(this.yAxes),o=.1,h=0;if(t=="panX"||t=="panXY"){var d=this.xAxes.getIndex(0),u=!1,p=o;d instanceof Z&&(p=.5/((n.end-n.start)*d.dataItems.length),u=!0),o=Math.max(.2,p);var f=n.end-n.start,c=Math.max(-h,n.start+o*e/100*(n.end-n.start)),y=Math.min(n.end+o*e/100*(n.end-n.start),1+h);c<=0&&(y=c+f),y>=1&&(c=y-f),this.zoomAxes(this.xAxes,{start:c,end:y},void 0,u)}if(t=="panY"||t=="panXY"){var v=this.yAxes.getIndex(0),p=o,u=!1;v instanceof Z&&(p=.5/((n.end-n.start)*v.dataItems.length),u=!0),o=Math.max(.2,p),e*=-1;var m=s.end-s.start,x=Math.max(-h,s.start+o*e/100*(s.end-s.start)),P=Math.min(s.end+o*e/100*(s.end-s.start),1+h);x<=0&&(P=x+m),P>=1&&(x=P-m),this.zoomAxes(this.yAxes,{start:x,end:P},void 0,u)}if(t=="zoomX"||t=="zoomXY"){var S=i.x/a.maxWidth,D=this.xAxes.getIndex(0).toAxisPosition(S),c=Math.max(-h,n.start-o*(n.end-n.start)*e/100*S);c=Math.min(c,D);var y=Math.min(n.end+o*(n.end-n.start)*e/100*(1-S),1+h);y=Math.max(y,D),this.zoomAxes(this.xAxes,{start:c,end:y},void 0)}if(t=="zoomY"||t=="zoomXY"){var T=i.y/a.maxHeight,b=this.yAxes.getIndex(0).toAxisPosition(T),x=Math.max(-h,s.start-o*(s.end-s.start)*e/100*(1-T));x=Math.min(x,b);var P=Math.min(s.end+o*e/100*T*(s.end-s.start),1+h);P=Math.max(P,b),this.zoomAxes(this.yAxes,{start:x,end:P},void 0)}}},Object.defineProperty(r.prototype,"mouseWheelBehavior",{get:function(){return this.getPropertyValue("mouseWheelBehavior")},set:function(e){this.setPropertyValue("mouseWheelBehavior",e)&&(e!="none"?(this._mouseWheelDisposer=this.plotContainer.events.on("wheel",this.handleWheel,this,!1),this._disposers.push(this._mouseWheelDisposer)):this._mouseWheelDisposer&&(this.plotContainer.wheelable=!1,this.plotContainer.hoverable=!1,this._mouseWheelDisposer.dispose()))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"horizontalMouseWheelBehavior",{get:function(){return this.getPropertyValue("horizontalMouseWheelBehavior")},set:function(e){this.setPropertyValue("horizontalMouseWheelBehavior",e)&&(e!="none"?(this._mouseWheelDisposer2=this.plotContainer.events.on("wheel",this.handleHorizontalWheel,this,!1),this._disposers.push(this._mouseWheelDisposer2)):this._mouseWheelDisposer2&&(this.plotContainer.wheelable=!1,this.plotContainer.hoverable=!1,this._mouseWheelDisposer2.dispose()))},enumerable:!0,configurable:!0}),r.prototype.dataSourceDateFields=function(e){var t=this;return e=l.prototype.dataSourceDateFields.call(this,e),w(this.series.iterator(),function(i){e=t.populateDataSourceFields(e,i.dataFields,["dateX","dateY","openDateX","openDateY"])}),e},r.prototype.dataSourceNumberFields=function(e){var t=this;return e=l.prototype.dataSourceDateFields.call(this,e),w(this.series.iterator(),function(i){e=t.populateDataSourceFields(e,i.dataFields,["valueX","valueY","openValueX","openValueY"])}),e},r.prototype.processConfig=function(e){if(e){var t=[],i=[];if(C(e.xAxes)&&ke(e.xAxes))for(var a=0,n=e.xAxes.length;a0;){var a=this.dataItems.getIndex(0);a&&i.dataItems.remove(a),i.dataUsers.each(function(n){var s=n.dataItems.getIndex(0);s&&n.dataItems.remove(s)}),i._parseDataFrom--,t--}i.invalidateData()}},r.prototype.removeData=function(e){this.scrollbarX instanceof Je&&this.removeScrollbarData(this.scrollbarX,e),this.scrollbarY instanceof Je&&this.removeScrollbarData(this.scrollbarY,e),l.prototype.removeData.call(this,e)},r.prototype.setTapToActivate=function(e){l.prototype.setTapToActivate.call(this,e),this.cursor&&(this.cursor.interactions.isTouchProtected=e,this.plotContainer.interactions.isTouchProtected=e)},r.prototype.handleTapToActivate=function(){l.prototype.handleTapToActivate.call(this),this.cursor&&(this.cursor.interactions.isTouchProtected=!1,this.plotContainer.interactions.isTouchProtected=!1)},r.prototype.handleTapToActivateDeactivation=function(){l.prototype.handleTapToActivateDeactivation.call(this),this.cursor&&(this.cursor.interactions.isTouchProtected=!0,this.plotContainer.interactions.isTouchProtected=!0)},r}(Vi);V.registeredClasses.XYChart=Ge;de.push({relevant:pe.maybeXS,state:function(l,r){if(l instanceof Ge&&l.scrollbarX){var e=l.states.create(r),t=l.scrollbarX.states.create(r);return t.properties.disabled=!0,e}return null}});de.push({relevant:pe.maybeXS,state:function(l,r){if(l instanceof Ge&&l.scrollbarY){var e=l.states.create(r),t=l.scrollbarY.states.create(r);return t.properties.disabled=!0,e}return null}});var wi=function(l){A(r,l);function r(){var e=l.call(this)||this;e.className="LineSeriesSegment",e.isMeasured=!1,e.interactionsEnabled=!1,e.layout="none";var t=e.createChild(q);e.fillSprite=t,t.shouldClone=!1,t.setElement(e.paper.add("path")),t.isMeasured=!1,e._disposers.push(t);var i=e.createChild(q);return e.strokeSprite=i,i.shouldClone=!1,i.fill=Te(),i.setElement(e.paper.add("path")),i.isMeasured=!1,e._disposers.push(i),e}return r.prototype.drawSegment=function(e,t,i,a){if(!this.disabled)if(e.length>0&&t.length>0&&g(e[0].x)&&g(e[0].y)){var n=W({x:e[0].x-.2,y:e[0].y-.2})+W(e[0]),s=this.series;s.smoothing=="bezier"?n+=new Ct(i,a).smooth(e):s.smoothing=="monotoneX"?n+=new Gi({closed:!1}).smooth(e):s.smoothing=="monotoneY"&&(n+=new Ki({closed:!1}).smooth(e)),this.strokeOpacity==0||this.strokeSprite.strokeOpacity==0||(this.strokeSprite.path=n),(this.fillOpacity>0||this.fillSprite.fillOpacity>0)&&g(t[0].x)&&g(t[0].y)&&(n+=R(t[0]),s.smoothing=="bezier"?n+=new Ct(i,a).smooth(t):s.smoothing=="monotoneX"?n+=new Gi({closed:!1}).smooth(t):s.smoothing=="monotoneY"&&(n+=new Ki({closed:!1}).smooth(t)),n+=R(e[0]),n+=rt(),this.fillSprite.path=n)}else this.fillSprite.path="",this.strokeSprite.path=""},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e);var t=this.strokeSprite;re(e,t.properties,J),t.events.copyFrom(e.strokeSprite.events),t.fillOpacity=0;var i=this.fillSprite;re(e,i.properties,J),i.events.copyFrom(e.fillSprite.events),i.strokeOpacity=0},r}(X);V.registeredClasses.LineSeriesSegment=wi;var rn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="DurationAxisDataItem",e.applyTheme(),e}return r}(Zt),ci=function(l){A(r,l);function r(){var e=l.call(this)||this;return e._baseUnit="second",e.className="DurationAxis",e.setPropertyValue("maxZoomFactor",1e6),e.applyTheme(),e}return r.prototype.formatLabel=function(e,t){return this.durationFormatter.format(e,t||this.axisDurationFormat)},r.prototype.adjustMinMax=function(e,t,i,a,n){var s,o,h,d=this.baseUnit;if(this.setPropertyValue("maxPrecision",0),d=="millisecond"||d=="second"||d=="minute"||d=="hour"){a<=1&&(a=1),a=Math.round(a);var u=e,p=t;i===0&&(i=Math.abs(t));var f=i/a,c=[60,30,20,15,10,2,1],y=1;d=="hour"&&(c=[24,12,6,4,2,1]);try{for(var v=ui(c),m=v.next();!m.done;m=v.next()){var x=m.value;if(i/x>a){y=x;break}}}catch(O){s={error:O}}finally{try{m&&!m.done&&(o=v.return)&&o.call(v)}finally{if(s)throw s.error}}var P=Math.ceil((t-e)/y/a),S=Math.log(Math.abs(P))*Math.LOG10E,D=Math.pow(10,Math.floor(S))/10,T=P/D,b=_a(c,T);P=b*D,f=y*P,this.durationFormatter.getValueUnit(f,this.baseUnit),e=Math.floor(e/f)*f,t=Math.ceil(t/f)*f,n&&(e-=f,e<0&&u>=0&&(e=0),t+=f,t>0&&p<=0&&(t=0)),h={min:e,max:t,step:f}}else h=l.prototype.adjustMinMax.call(this,e,t,i,a,n);return this.axisDurationFormat=this.durationFormatter.getFormat(h.step,h.max,this.baseUnit),h},Object.defineProperty(r.prototype,"tooltipDurationFormat",{get:function(){return this._tooltipDurationFormat},set:function(e){this._tooltipDurationFormat=e},enumerable:!0,configurable:!0}),r.prototype.getTooltipText=function(e){var t=j(this.positionToValue(e),this._stepDecimalPlaces),i=this.formatLabel(t,this.tooltipDurationFormat);return this._adapterO?this._adapterO.apply("getTooltipText",i):i},Object.defineProperty(r.prototype,"baseUnit",{get:function(){return this._baseUnit},set:function(e){this._baseUnit!=e&&(this._baseUnit=e,this.durationFormatter.baseUnit=e,this.invalidate())},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.baseUnit=e.baseUnit},r}(E);V.registeredClasses.DurationAxis=ci;V.registeredClasses.DurationAxisDataItem=rn;var $t=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="LineSeriesDataItem",e}return r}(qt),Fi=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.minDistance=.5,e.segments=new Q(e.createSegment()),e.segments.template.applyOnClones=!0,e._disposers.push(new G(e.segments)),e._disposers.push(e.segments.template),e._segmentsIterator=new Pi(e.segments,function(){return e.segments.create()}),e._segmentsIterator.createNewItems=!0,e.className="LineSeries",e.strokeOpacity=1,e.fillOpacity=0,e.connect=!0,e.tensionX=1,e.tensionY=1,e.autoGapCount=1.1,e.smoothing="bezier",e.segmentsContainer=e.mainContainer.createChild(X),e.segmentsContainer.isMeasured=!1,e.bulletsContainer.toFront(),e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Line Series"))},r.prototype.createSegment=function(){return new wi},r.prototype.createDataItem=function(){return new $t},r.prototype.setInitialWorkingValues=function(e){var t=this._yAxis.get(),i=this._xAxis.get();if(this.appeared&&this.visible){var a=this.dataItems.getIndex(e.index-1);if(e.component=this,this.baseAxis==i&&t instanceof E){var n=t.minZoomed;if(a&&(n=a.values.valueY.workingValue),e.setWorkingValue("valueY",n,0),e.setWorkingValue("valueY",e.values.valueY.value),i instanceof z)e.setWorkingLocation("dateX",e.locations.dateX-1,0),e.setWorkingLocation("dateX",e.locations.dateX);else if(i instanceof ci&&a){var s=e.valueX;e.setWorkingValue("valueX",a.valueX,0),e.setWorkingValue("valueX",s)}}if(this.baseAxis==t&&i instanceof E){var o=i.minZoomed;if(a&&(o=a.values.valueX.workingValue),e.setWorkingValue("valueX",o,0),e.setWorkingValue("valueX",e.values.valueX.value),t instanceof z)e.setWorkingLocation("dateY",e.locations.dateX-1,0),e.setWorkingLocation("dateY",e.locations.dateY);else if(t instanceof ci&&a){var s=e.valueY;e.setWorkingValue("valueY",a.valueY,0),e.setWorkingValue("valueY",s)}}}else this.baseAxis==i&&t instanceof E&&(i instanceof z&&e.setWorkingLocation("dateX",e.locations.dateX),i instanceof Z&&e.setWorkingLocation("categoryX",e.locations.categoryX)),this.baseAxis==t&&i instanceof E&&(t instanceof z&&e.setWorkingLocation("dateY",e.locations.dateY),t instanceof Z&&e.setWorkingLocation("categoryY",e.locations.categoryY))},r.prototype.updateLegendValue=function(e,t){l.prototype.updateLegendValue.call(this,e,t),e&&e.segment&&(this.tooltipColorSource=e.segment)},r.prototype.validate=function(){var e=this;l.prototype.validate.call(this),this.xAxis&&this.yAxis&&(this._segmentsIterator.reset(),this.openSegmentWrapper(this._adjustedStartIndex),w(this.axisRanges.iterator(),function(t){e.openSegmentWrapper(e._adjustedStartIndex,t)}),w(this._segmentsIterator.iterator(),function(t){t.__disabled=!0}))},r.prototype.sliceData=function(){for(var e=this.startIndex,t=this.endIndex,i=this.startIndex-1;i>=0;i--){var a=this.dataItems.getIndex(i);if(a&&a.hasValue(this._xValueFields)&&a.hasValue(this._yValueFields)){e=i;break}}this._adjustedStartIndex=this.findAdjustedIndex(e,["stroke","strokeWidth","strokeDasharray","strokeOpacity","fill","fillOpacity","opacity"]);for(var i=this.endIndex,n=this.dataItems.length;i=0;o--){var h=i.dataItems.getIndex(o);if(h&&C(h.properties[s])){e>o&&(e=o);break}}}),e},r.prototype.openSegmentWrapper=function(e,t){var i={index:e,axisRange:t};do i=this.openSegment(i.index,i.axisRange);while(i)},r.prototype.getSegment=function(){var e=this._segmentsIterator.getFirst();return e.series=this,e.isDisposed()?(this.segments.removeValue(e),this.getSegment()):e},r.prototype.openSegment=function(e,t){var i=!1,a=[];e=Math.min(e,this.dataItems.length);var n=Math.min(this._workingEndIndex,this.dataItems.length);this._workingEndIndex=Math.min(this._workingEndIndex,this.dataItems.length);var s,o=!1,h=this.getSegment();h.strokeDasharray=void 0,h.__disabled=!1,t?(h.parent=t.contents,re(t.contents,h,J)):(re(this,h,J),h.filters.clear(),h.parent=this.segmentsContainer),this.group.node.removeAttribute("fill");for(var d=this.connect,u=!1,p=e;p=i;h--){var d=this.dataItems.getIndex(h);d.hasValue(this._xValueFields)&&d.hasValue(this._yValueFields)&&this.addPoints(o,d,this.xOpenField,this.yOpenField,!0)}else{var u=this.baseAxis,p=t.length,f=this.xAxis,c=this.yAxis;p>0&&(u==f?(o.push({x:t[p-1].x,y:c.basePoint.y}),o.push({x:t[0].x,y:c.basePoint.y})):(o.push({x:f.basePoint.x,y:t[p-1].y}),o.push({x:f.basePoint.x,y:t[0].y})))}return this.drawSegment(e,t,o),s&&a++,a0){var s=e.createChild(Va);re(this,s,J),s.width=i,s.height=a,s.y=0,s.strokeOpacity=0,s.visible=!0,n.y=0}var o=e.dataItem;o.color=this.stroke,o.colorOrig=this.fill,je(this.bullets.iterator(),function(h){if(h instanceof We&&!h.copyToLegendMarker)return!1;var d=!1;if(h instanceof X&&w(h.children.iterator(),function(p){if(p instanceof ze)return d=!0,!0}),!d){var u=h.clone();return u.parent=e,u.isMeasured=!0,u.tooltipText=void 0,u.x=i/2,t.fillOpacity>0?u.y=0:u.y=a/2,u.visible=!0,C(u.fill)||(u.fill=t.fill),C(u.stroke)||(u.stroke=t.stroke),!1}})},r.prototype.disposeData=function(){l.prototype.disposeData.call(this),this.segments.clear()},Object.defineProperty(r.prototype,"autoGapCount",{get:function(){return this.getPropertyValue("autoGapCount")},set:function(e){this.setPropertyValue("autoGapCount",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"smoothing",{get:function(){return this.getPropertyValue("smoothing")},set:function(e){this.setPropertyValue("smoothing",e,!0)},enumerable:!0,configurable:!0}),r}(at);V.registeredClasses.LineSeries=Fi;V.registeredClasses.LineSeriesDataItem=$t;var Cr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="RadarSeriesDataItem",e.setLocation("dateX",0,0),e.setLocation("dateY",0,0),e.setLocation("categoryX",0,0),e.setLocation("categoryY",0,0),e.applyTheme(),e}return r}($t),Dr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="RadarSeries",e.connectEnds=!0,e.applyTheme(),e}return r.prototype.validate=function(){this.chart.invalid&&this.chart.validate(),l.prototype.validate.call(this)},r.prototype.createDataItem=function(){return new Cr},r.prototype.getPoint=function(e,t,i,a,n,s,o){s||(s="valueX"),o||(o="valueY");var h=this.yAxis.getX(e,i,n,o),d=this.yAxis.getY(e,i,n,o),u=K({x:h,y:d});u==0&&(u=1e-5);var p=this.xAxis.getAngle(e,t,a,s),f=this.chart.startAngle,c=this.chart.endAngle;if(!(pc))return{x:u*M(p),y:u*L(p)}},r.prototype.addPoints=function(e,t,i,a,n){var s=this.getPoint(t,i,a,t.locations[i],t.locations[a]);s&&e.push(s)},r.prototype.getMaskPath=function(){var e=this.yAxis.renderer;return _t(e.startAngle,e.endAngle-e.startAngle,e.pixelRadius,e.pixelInnerRadius)},r.prototype.drawSegment=function(e,t,i){var a=this.yAxis,n=a.renderer;this.connectEnds&&Math.abs(n.endAngle-n.startAngle)==360&&(this.dataFields[this._xOpenField]||this.dataFields[this._yOpenField]||this.stacked)&&(t.push(t[0]),i.length>0&&i.unshift(i[i.length-1])),l.prototype.drawSegment.call(this,e,t,i)},Object.defineProperty(r.prototype,"connectEnds",{get:function(){return this.getPropertyValue("connectEnds")},set:function(e){this.setPropertyValue("connectEnds",e,!0)},enumerable:!0,configurable:!0}),r.prototype.positionBulletReal=function(e,t,i){var a=this.xAxis,n=this.yAxis;(ta.end||in.end)&&(e.visible=!1),e.moveTo(this.xAxis.renderer.positionToPoint(t,i))},r.prototype.setXAxis=function(e){l.prototype.setXAxis.call(this,e),this.updateRendererRefs()},r.prototype.setYAxis=function(e){l.prototype.setYAxis.call(this,e),this.updateRendererRefs()},r.prototype.updateRendererRefs=function(){var e=this.xAxis.renderer,t=this.yAxis.renderer;e.axisRendererY=t},r}(Fi);V.registeredClasses.RadarSeries=Dr;V.registeredClasses.RadarSeriesDataItem=Cr;var Ar=function(l){A(r,l);function r(e){var t=l.call(this,e)||this;return t.className="AxisFillCircular",t.element=t.paper.add("path"),t.radius=k(100),t.applyTheme(),t}return r.prototype.draw=function(){if(l.prototype.draw.call(this),!(this.__disabled||this.disabled)&&this.axis){var e=this.axis.renderer;this.fillPath=e.getPositionRangePath(this.startPosition,this.endPosition,this.radius,C(this.innerRadius)?this.innerRadius:e.innerRadius,this.cornerRadius),this.path=this.fillPath}},Object.defineProperty(r.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(e){this.setPercentProperty("innerRadius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(e){this.setPropertyValue("cornerRadius",e,!0)},enumerable:!0,configurable:!0}),r}(Si);V.registeredClasses.AxisFillCircular=Ar;var _r=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="GridCircular",e.pixelPerfect=!1,e.applyTheme(),e}return Object.defineProperty(r.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(e){this.setPercentProperty("innerRadius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),r}(Dt);V.registeredClasses.GridCircular=_r;var Jt=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.fdx=0,e.fdy=0,e.className="AxisLabelCircular",e.padding(0,0,0,0),e.location=.5,e.locationOnPath=.5,e.radius=0,e.isMeasured=!1,e.applyTheme(),e}return Object.defineProperty(r.prototype,"relativeRotation",{get:function(){return this.getPropertyValue("relativeRotation")},set:function(e){if(this.setPropertyValue("relativeRotation",e,!0),!C(e)){this.rotation=void 0;var t=this.dataItem;t&&t.component&&t.component.invalidateDataItems()}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"bent",{get:function(){return this.getPropertyValue("bent")},set:function(e){this.setPropertyValue("bent",e,!0),this.setPropertyValue("wrap",!1),this.setPropertyValue("horizontalCenter","none"),this.setPropertyValue("verticalCenter","none"),e?(this.setPropertyValue("dx",0),this.setPropertyValue("dy",0),this.setPropertyValue("x",0),this.setPropertyValue("y",0),this.setPropertyValue("rotation",0),this.fdx=0,this.fdy=0,this.textAlign="middle"):this.textPathElement&&(this.textPathElement.dispose(),this.textPathElement=void 0)},enumerable:!0,configurable:!0}),r.prototype.pixelRadius=function(e){var t=1;return this.inside&&(t=-1),oe(this.radius,e)*t},r.prototype.pixelRadiusY=function(e,t){var i=1;this.inside&&(i=-1);var a=this.radius;return g(a)?(a*=t/e,oe(a,e)*i):oe(a,t)*i},r.prototype.fixPosition=function(e,t,i,a,n){g(i)||(i=t),g(a)||(a=0),g(n)||(n=0);var s={x:t*M(e),y:i*L(e)};this.invalid&&this.validate();var o=!1,h=this.radius;(h instanceof ce&&h.value<0||h<0)&&(o=!0);var d=this.relativeRotation,u=this.pixelRadius(t);if(this.bent){var p={x:(t+u)*M(e+180),y:(i+u*i/t)*L(e+180)};this.path=W(p)+fe(e+180,360,t+u,i+u*i/t),this.textPathElement&&this.textPathElement.attr({startOffset:this.locationOnPath*100+"%"});return}if(g(d)){this.horizontalCenter="none",this.verticalCenter="none",e=Ie(e,-180,180);var f=this.bbox.width,c=this.bbox.height,y=this.pixelPaddingBottom,v=this.pixelPaddingTop,m=this.pixelPaddingLeft,x=this.pixelPaddingRight;e>90||e<-90?d==-90&&(d=90,f=0):(d==-90&&(c=-c),d==90&&(d=-90,f=-m-x,c=-c-v-y)),this.rotation=d+e+90;var P=L(d)/2,S=M(d)/2,D=this.rotation;this.dx=c*P*L(D)-f*S*M(D),this.dy=-c*P*M(D)-f*S*L(D),this.inside?e>90||e<-90?u-=(y+v)*M(d)+(m+x)*L(d):u+=(y+this.bbox.height+v)*M(d)+(m+x+this.bbox.width)*L(d):u+=(c+y+v)*M(d)+(f+m+x)*L(d),s.x+=M(e)*u,s.y+=L(e)*u*i/t}else this.horizontalCenter="middle",this.verticalCenter="middle",o?(this.dx=0,this.dy=0,s.x=(t+u)*M(e),s.y=(i+u*i/t)*L(e)):(this.dy=this._measuredHeight/2*L(e),this.dx=this._measuredWidth/2*M(e),s.x+=M(e)*u,s.y+=L(e)*u*i/t);s.x+=a,s.y+=n,this.fdx=this.dx,this.fdy=this.dy,this.moveTo(s)},r}(Ti);V.registeredClasses.AxisLabelCircular=Jt;var Vr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.pixelRadiusReal=0,e.layout="none",e.className="AxisRendererCircular",e.isMeasured=!1,e.startAngle=-90,e.endAngle=270,e.useChartAngles=!0,e.radius=k(100),e.isMeasured=!1,e.grid.template.location=0,e.labels.template.location=0,e.labels.template.radius=15,e.ticks.template.location=0,e.ticks.template.pixelPerfect=!1,e.tooltipLocation=0,e.line.strokeOpacity=0,e.applyTheme(),e}return r.prototype.setAxis=function(e){var t=this;l.prototype.setAxis.call(this,e),e.isMeasured=!1;var i=e.tooltip;i.adapter.add("dx",function(a,n){var s=Ue({x:n.pixelX,y:n.pixelY},t);return t.pixelRadius*Math.cos(Math.atan2(s.y,s.x))-s.x}),i.adapter.add("dy",function(a,n){var s=Ue({x:n.pixelX,y:n.pixelY},t);return t.pixelRadius*Math.sin(Math.atan2(s.y,s.x))-s.y})},r.prototype.validate=function(){this.chart&&this.chart.invalid&&this.chart.validate(),l.prototype.validate.call(this)},Object.defineProperty(r.prototype,"axisLength",{get:function(){return 2*Math.PI*this.pixelRadius},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!1,!1,10,!1)&&this.axis&&this.axis.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pixelRadius",{get:function(){return ie(this.radius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"innerRadius",{get:function(){var e=this.chart,t=this.getPropertyValue("innerRadius");if(e){if(!C(t))t=e.innerRadius,t instanceof ce&&e&&(t=k(t.value*e.innerRadiusModifyer*100));else if(t instanceof ce&&e){var i=e.mr,a=t.value;a=Math.max(i*a,i-Math.min(e.plotContainer.innerHeight,e.plotContainer.innerWidth))/i,t=k(a*100)}return t}},set:function(e){this.setPercentProperty("innerRadius",e,!1,!1,10,!1)&&this.axis&&this.axis.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"useChartAngles",{get:function(){return this.getPropertyValue("useChartAngles")},set:function(e){this.setPropertyValue("useChartAngles",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pixelInnerRadius",{get:function(){return ie(this.innerRadius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),r.prototype.positionToPoint=function(e,t){g(t)||(t=1);var i=this.positionToCoordinate(e),a=this.startAngle+(this.endAngle-this.startAngle)*i/this.axisLength,n=this.pixelRadius,s=this.pixelInnerRadius;if(this.axisRendererY){var o=Y(this.axisRendererY.positionToCoordinate(t),0,1/0);o==0&&(o=1e-6);var h={x:o*M(a),y:o*L(a)};return h}return{x:M(a)*s+(n-s)*M(a)*t,y:L(a)*s+(n-s)*L(a)*t}},r.prototype.positionToAngle=function(e){var t=this.axis,i=(this.endAngle-this.startAngle)/(t.end-t.start),a;return t.renderer.inversed?a=this.startAngle+(t.end-e)*i:a=this.startAngle+(e-t.start)*i,j(a,3)},r.prototype.angleToPosition=function(e){var t=this.axis,i=(this.endAngle-this.startAngle)/(t.end-t.start),a;return t.renderer.inversed?a=t.end-(e-this.startAngle)/i:a=(e-this.startAngle)/i+t.start,j(a,5)},r.prototype.updateAxisLine=function(){var e=this.pixelRadius,t=this.startAngle,i=this.endAngle,a=U(360,i-t);this.line.path=W({x:e*M(t),y:e*L(t)})+fe(t,a,e,e)},r.prototype.updateGridElement=function(e,t,i){t=t+(i-t)*e.location;var a=this.positionToPoint(t);if(g(a.x)&&g(a.y)&&e.element){var n=ii*Math.atan2(a.y,a.x),s=ie(C(e.radius)?e.radius:k(100),this.pixelRadius),o=ie(e.innerRadius,this.pixelRadius);e.zIndex=0;var h=ie(g(o)?o:this.innerRadius,this.pixelRadiusReal,!0);g(h)||(h=0),e.path=W({x:h*M(n),y:h*L(n)})+R({x:s*M(n),y:s*L(n)})}this.toggleVisibility(e,t,0,1)},r.prototype.updateTickElement=function(e,t,i){t=t+(i-t)*e.location;var a=this.positionToPoint(t);if(e.element){var n=this.pixelRadius,s=ii*Math.atan2(a.y,a.x),o=e.length;e.inside&&(o=-o),e.zIndex=1,e.path=W({x:n*M(s),y:n*L(s)})+R({x:(n+o)*M(s),y:(n+o)*L(s)})}this.toggleVisibility(e,t,0,1)},r.prototype.updateBullet=function(e,t,i){var a=.5;e instanceof Tt&&(a=e.location),t=t+(i-t)*a;var n=this.positionToPoint(t),s=this.pixelRadius,o=ii*Math.atan2(n.y,n.x);n={x:s*M(o),y:s*L(o)},this.positionItem(e,n),this.toggleVisibility(e,t,0,1)},r.prototype.updateLabelElement=function(e,t,i,a){C(a)||(a=e.location),t=t+(i-t)*a,e.fixPosition(this.positionToAngle(t),this.pixelRadius),e.zIndex=2,this.toggleVisibility(e,t,this.minLabelPosition,this.maxLabelPosition)},r.prototype.fitsToBounds=function(e){return!0},Object.defineProperty(r.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(e){this.setPropertyValue("startAngle",e)&&(this.invalidateAxisItems(),this.axis&&this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(e){this.setPropertyValue("endAngle",e)&&(this.invalidateAxisItems(),this.axis&&this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),r.prototype.getPositionRangePath=function(e,t,i,a,n){var s="";if(g(e)&&g(t)){C(i)||(i=this.radius),e=ee(e,this.axis.start),t=U(t,this.axis.end),t0&&f&&u&&u instanceof Z){var c=u.renderer.grid.template.location,y=u.getAngle(f.dataItems.getIndex(0),"categoryX",c);n=W({x:s*M(y),y:s*L(y)});for(var v=1;v0&&c&&f&&f instanceof Z){var v=f.renderer.grid.template.location,m=f.getAngle(c.dataItems.getIndex(0),"categoryX",v);u=W({x:s*M(m),y:s*L(m)});for(var x=1;x=0;x--)m=f.getAngle(c.dataItems.getIndex(x),"categoryX",v),u+=R({x:n*M(m),y:n*L(m)})}else u=_t(o,d,s,n);return u},r.prototype.updateBreakElement=function(e){var t=e.startLine,i=e.endLine,a=e.fillShape,n=e.startPoint,s=e.endPoint;t.radius=Math.abs(n.y),i.radius=Math.abs(s.y),a.radius=Math.abs(s.y),a.innerRadius=Math.abs(n.y)},r.prototype.createBreakSprites=function(e){e.startLine=new ri,e.endLine=new ri,e.fillShape=new ri},r.prototype.updateTooltip=function(){var e=this.axis;if(e){var t=4e3,i=-4e3,a=-4e3,n=t*2,s=t*2,o=this.axisAngle;o<0&&(o+=360);var h="vertical";(o>45&&o<135||o>225&&o<315)&&(h="horizontal"),this.axis.updateTooltip(h,{x:i,y:a,width:n,height:s})}},r.prototype.updateTickElement=function(e,t,i){t=t+(i-t)*e.location;var a=this.positionToPoint(t);if(e.element){var n=di(this.axisAngle+90);n/90!=Math.round(n/90)?e.pixelPerfect=!1:e.pixelPerfect=!0;var s=-e.length;e.inside&&(s*=-1),e.path=W({x:0,y:0})+R({x:s*M(n),y:s*L(n)})}this.positionItem(e,a),this.toggleVisibility(e,t,0,1)},r.prototype.updateBullet=function(e,t,i){var a=.5;e instanceof Tt&&(a=e.location),t=t+(i-t)*a;var n=this.positionToPoint(t);this.positionItem(e,n),this.toggleVisibility(e,t,0,1)},r.prototype.positionToCoordinate=function(e){var t,i=this.axis,a=i.axisFullLength,n=this.pixelInnerRadius;return i.renderer.inversed?t=(i.end-e)*a+n:t=(e-i.start)*a+n,j(t,1)},r.prototype.pointToPosition=function(e){var t=K(e)-this.pixelInnerRadius;return this.coordinateToPosition(t)},Object.defineProperty(r.prototype,"chart",{get:function(){return this._chart.get()},set:function(e){this._chart.set(e,null)},enumerable:!0,configurable:!0}),r}(we);V.registeredClasses.AxisRendererRadial=Sr;var an=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="RadarChartDataItem",e.applyTheme(),e}return r}(ki),Tr=function(l){A(r,l);function r(){var e=l.call(this)||this;e._axisRendererX=Vr,e._axisRendererY=Sr,e.innerRadiusModifyer=1,e.mr=1,e.className="RadarChart",e.startAngle=-90,e.endAngle=270,e.radius=k(80),e.innerRadius=0;var t=e.plotContainer.createChild(X);return t.shouldClone=!1,t.layout="absolute",t.align="center",t.valign="middle",e.seriesContainer.parent=t,e.radarContainer=t,e.bulletsContainer.parent=t,e.axisBulletsContainer=t,e._cursorContainer=t,e.chartContainer.events.on("maxsizechanged",e.invalidate,e,!1),e._bulletMask=t.createChild(Ci),e._bulletMask.shouldClone=!1,e._bulletMask.element=e.paper.add("path"),e._bulletMask.opacity=0,e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Radar chart"))},r.prototype.processAxis=function(e){l.prototype.processAxis.call(this,e);var t=e.renderer;t.gridContainer.parent=t,t.breakContainer.parent=t,e.parent=this.radarContainer,t.toBack()},r.prototype.handleXAxisRangeChange=function(){l.prototype.handleXAxisRangeChange.call(this),w(this.yAxes.iterator(),function(e){e.invalidate()})},r.prototype.handleYAxisRangeChange=function(){l.prototype.handleYAxisRangeChange.call(this),w(this.xAxes.iterator(),function(e){e.invalidate()})},r.prototype.processConfig=function(e){if(e&&(C(e.cursor)&&!C(e.cursor.type)&&(e.cursor.type="RadarCursor"),C(e.series)&&ke(e.series)))for(var t=0,i=e.series.length;ts&&(this.rotation=s+360),this.animate({property:"rotation",to:n},t,i)}},Object.defineProperty(r.prototype,"currentPosition",{get:function(){if(this.axis){var e=this.axis.renderer;return e.angleToPosition(this.rotation)}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"value",{get:function(){return this._value},set:function(e){this.showValue(e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"axis",{get:function(){return this._axis.get()},set:function(e){if(this.axis!=e&&this._axis.set(e,new it([e.events.on("datavalidated",this.updateValue,this,!1),e.events.on("datarangechanged",this.updateValue,this,!1),e.events.on("dataitemsvalidated",this.updateValue,this,!1),e.events.on("propertychanged",this.invalidate,this,!1)])),e){var t=e.chart;t&&(this.rotation=t.startAngle)}this.parent=e.renderer,this.zIndex=5},enumerable:!0,configurable:!0}),r.prototype.updateValue=function(){this.value=this.value},r.prototype.processConfig=function(e){e&&C(e.axis)&&ae(e.axis)&&this.map.hasKey(e.axis)&&(e.axis=this.map.getKey(e.axis)),l.prototype.processConfig.call(this,e)},r}(X);V.registeredClasses.ClockHand=Or;(function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="GaugeChartDataItem",e.applyTheme(),e}return r})(an);var nn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="GaugeChart",e.startAngle=180,e.endAngle=360,e.hands=new Q(new Or),e.hands.events.on("inserted",e.processHand,e,!1),e._disposers.push(new G(e.hands)),e._disposers.push(e.hands.template),e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Gauge chart"))},r.prototype.processHand=function(e){var t=e.newValue;t.axis||(t.axis=this.xAxes.getIndex(0))},r.prototype.configOrder=function(e,t){return e==t?0:e=="hands"?1:t=="hands"?-1:l.prototype.configOrder.call(this,e,t)},r}(Tr);V.registeredClasses.GaugeChart=nn;var Qt=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PercentSeriesDataItem",e.applyTheme(),e}return r.prototype.uidAttr=function(){return this.slice.uidAttr()},r.prototype.hide=function(e,t,i,a){return a||(a=["value"]),l.prototype.hide.call(this,e,t,0,a)},r.prototype.setVisibility=function(e,t){t||(e?this.setWorkingValue("value",this.values.value.value,0,0):this.setWorkingValue("value",0,0,0)),l.prototype.setVisibility.call(this,e,t)},r.prototype.show=function(e,t,i){return i||(i=["value"]),l.prototype.show.call(this,e,t,i)},Object.defineProperty(r.prototype,"category",{get:function(){return this.properties.category},set:function(e){this.setProperty("category",e)},enumerable:!0,configurable:!0}),r.prototype.createLegendMarker=function(e){this.component.createLegendMarker(e,this)},Object.defineProperty(r.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(e){this._legendDataItem=e,e.label&&(e.label.dataItem=this),e.valueLabel&&(e.valueLabel.dataItem=this)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tick",{get:function(){var e=this;if(!this._tick){var t=this.component.ticks.create();this._tick=t,this.addSprite(t),this._disposers.push(t),t.parent=this.component.ticksContainer,this._disposers.push(new se(function(){e.component&&e.component.ticks.removeValue(t)})),t.visible=this.visible}return this._tick},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"label",{get:function(){var e=this;if(!this._label){var t=this.component.labels.create();this.addSprite(t),this._label=t,this._disposers.push(t),t.parent=this.component.labelsContainer,this._disposers.push(new se(function(){e.component&&e.component.labels.removeValue(t)})),t.visible=this.visible}return this._label},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"slice",{get:function(){var e=this;if(!this._slice){var t=this.component,i=t.slices.create();this.addSprite(i),this._slice=i,this._disposers.push(i),i.parent=t.slicesContainer,this._disposers.push(new se(function(){t.slices.removeValue(i)})),i.visible=this.visible,t.itemsFocusable()?(C(this.component.role)||(this.component.role="menu"),C(i.role)||(i.role="menuitem"),i.focusable=!0):(C(this.component.role)||(this.component.role="list"),C(i.role)||(i.role="listitem"),i.focusable=!1),i.focusable&&(i.events.on("focus",function(a){i.readerTitle=t.populateString(t.itemReaderText,e)},void 0,!1),i.events.on("blur",function(a){i.readerTitle=""},void 0,!1)),i.hoverable&&(i.events.on("over",function(a){i.readerTitle=t.populateString(t.itemReaderText,e)},void 0,!1),i.events.on("out",function(a){i.readerTitle=""},void 0,!1))}return this._slice},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hiddenInLegend",{get:function(){return this.properties.hiddenInLegend},set:function(e){this.setProperty("hiddenInLegend",e)},enumerable:!0,configurable:!0}),r}(zt),Ot=function(l){A(r,l);function r(){var e=l.call(this)||this;e.className="PercentSeries",e._addAllDataItems=!1,e.colors=new Bt,e.colors.step=1,e.isMeasured=!0,e.calculatePercent=!0;var t=e.createChild(X);t.shouldClone=!1,t.isMeasured=!1,e.slicesContainer=t;var i=e.createChild(X);i.shouldClone=!1,i.isMeasured=!1,i.layout="none",e.ticksContainer=i;var a=e.createChild(X);a.shouldClone=!1,a.isMeasured=!1,a.layout="none",e.labelsContainer=a,e.alignLabels=!1,e.bulletsContainer.toFront(),e.skipFocusThreshold=50;var n=e.defaultState;return n.transitionEasing=Ta,e.itemReaderText="{category}: {value.percent.formatNumber('#.#p')}",e.applyTheme(),e}return r.prototype.createSlice=function(){return new q},r.prototype.createTick=function(){return new St},r.prototype.createLabel=function(){return new ze},Object.defineProperty(r.prototype,"slices",{get:function(){if(!this._slices){var e=this.createSlice();e.applyOnClones=!0,this._disposers.push(e),this.initSlice(e),this._slices=new Q(e),this._disposers.push(new G(this._slices))}return this._slices},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"ticks",{get:function(){if(!this._ticks){var e=this.createTick();e.applyOnClones=!0,this._disposers.push(e),this.initTick(e),this._ticks=new Q(e),this._disposers.push(new G(this._ticks))}return this._ticks},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"labels",{get:function(){if(!this._labels){var e=this.createLabel();e.applyOnClones=!0,this._disposers.push(e),this.initLabel(e),this._labels=new Q(e),this._disposers.push(new G(this._labels))}return this._labels},enumerable:!0,configurable:!0}),r.prototype.createDataItem=function(){return new Qt},r.prototype.initSlice=function(e){},r.prototype.initLabel=function(e){e.text="{category}: {value.percent.formatNumber('#.0p')}",e.isMeasured=!1,e.padding(5,5,5,5)},r.prototype.initTick=function(e){},r.prototype.validateDataItems=function(){this.colors.reset(),this.patterns&&this.patterns.reset(),l.prototype.validateDataItems.call(this)},r.prototype.validateDataElement=function(e){var t=e.slice;t&&(t.fill==null?this.patterns?(C(t.stroke)||(t.stroke=this.colors.next()),t.fill=this.patterns.next(),C(t.fillOpacity)&&(t.fill.backgroundOpacity=t.fillOpacity),t.stroke instanceof Ce&&(t.fill.stroke=t.stroke,t.fill.fill=t.stroke)):t.fill=this.colors.next():this.colors.currentStep+=this.colors.step,t.stroke==null&&(t.stroke=t.fill)),l.prototype.validateDataElement.call(this,e),t&&e.bullets.each(function(i,a){a.fill==null&&(a.fill=t.fill),a.stroke==null&&(a.stroke=t.stroke)}),this.updateLegendValue(e)},r.prototype.validateData=function(){l.prototype.validateData.call(this),this.chart&&this.chart.feedLegend()},r.prototype.arrangeLabels=function(e){for(var t=0,i=e.length;t=0;i--){var a=e[i],n=a.label;if(n){n.invalid&&n.validate();var s=n.measuredHeight;n.visible||(s=0),i==e.length-1&&(t+=s/2),n.pixelY+s>t&&(n.y=t-s,t=n.y)}}},r.prototype.getNextLabel=function(e,t){if(t.length>=e){var i=t[e];if(i)return i.label?i.visible?i.label:this.getNextLabel(e+1,t):this.getNextLabel(e+1,t)}},Object.defineProperty(r.prototype,"colors",{get:function(){return this.getPropertyValue("colors")},set:function(e){this.setPropertyValue("colors",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"patterns",{get:function(){return this.getPropertyValue("patterns")},set:function(e){this.setPropertyValue("patterns",e,!0)},enumerable:!0,configurable:!0}),r.prototype.createLegendMarker=function(e,t){w(e.children.iterator(),function(i){var a=t.slice;i.defaultState.properties.fill=a.fill,i.defaultState.properties.stroke=a.stroke,i.defaultState.properties.fillOpacity=a.fillOpacity,i.defaultState.properties.strokeOpacity=a.strokeOpacity,i.fill=a.fill,i.stroke=a.stroke,i.fillOpacity=a.fillOpacity,i.strokeOpacity=a.strokeOpacity,i.fill==null&&(i.__disabled=!0);var n=e.dataItem;n.color=a.fill,n.colorOrig=a.fill,i.addDisposer(a.events.on("propertychanged",function(s){s.property=="fill"&&(i.__disabled=!1,i.isActive||(i.fill=a.fill),i.defaultState.properties.fill=a.fill,n.color=a.fill,n.colorOrig=a.fill),s.property=="stroke"&&(i.isActive||(i.stroke=a.stroke),i.defaultState.properties.stroke=a.stroke),s.property=="strokeOpacity"&&(i.isActive||(i.strokeOpacity=a.strokeOpacity),i.defaultState.properties.strokeOpacity=a.strokeOpacity)},void 0,!1))})},r.prototype.handleSliceScale=function(e){var t=this,i=e.target,a=i.dataItem;a&&a.bullets&&w(a.bullets.iterator(),function(n){var s=n[1];t.positionBullet(s)})},r.prototype.handleSliceMove=function(e){},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.slices.template.copyFrom(e.slices.template),this.labels.template.copyFrom(e.labels.template),this.ticks.template.copyFrom(e.ticks.template),this.colors=e.colors.clone()},Object.defineProperty(r.prototype,"alignLabels",{get:function(){return this.getPropertyValue("alignLabels")},set:function(e){this.setAlignLabels(e)},enumerable:!0,configurable:!0}),r.prototype.setAlignLabels=function(e){this.setPropertyValue("alignLabels",e,!0)},Object.defineProperty(r.prototype,"ignoreZeroValues",{get:function(){return this.getPropertyValue("ignoreZeroValues")},set:function(e){this.setPropertyValue("ignoreZeroValues",e,!0)},enumerable:!0,configurable:!0}),r.prototype.updateLegendValue=function(e){if(e){var t=e.legendDataItem,i=e.legendSettings;t&&i&&i&&(i.labelText&&(t.label.text=i.labelText),i.itemLabelText&&(t.label.text=i.itemLabelText),i.valueText&&(t.valueLabel.text=i.valueText),i.itemValueText&&(t.valueLabel.text=i.itemValueText))}},r}(Ht);V.registeredClasses.PercentSeries=Ot;V.registeredClasses.PercentSeriesDataItem=Qt;de.push({relevant:pe.maybeXS,state:function(l,r){if(l instanceof Ot){var e=l.states.create(r),t=l.labels.template.states.create(r);t.properties.disabled=!0;var i=l.ticks.template.states.create(r);return i.properties.disabled=!0,e}return null}});var Mi=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PercentChartDataItem",e.applyTheme(),e}return r}(yr),Li=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PercentChart",e.align="none",e.valign="none",e.chartContainer.minHeight=50,e.chartContainer.minWidth=50,e.applyTheme(),e}return r.prototype.validateData=function(){l.prototype.validateData.call(this),this.feedLegend()},r.prototype.feedLegend=function(){var e=this.legend;if(e){var t=[];w(this.series.iterator(),function(i){i.hiddenInLegend||w(i.dataItems.iterator(),function(a){a.hiddenInLegend||(t.push(a),a.legendSettings||(a.legendSettings=i.legendSettings))})}),e.data=t,e.dataFields.name="category"}},r.prototype.createSeries=function(){return new Ot},r.prototype.setLegend=function(e){l.prototype.setLegend.call(this,e),e&&(e.labels.template.text="{category}",e.valueLabels.template.text="{value.percent.formatNumber('#.0p')}",e.itemContainers.template.events.on("over",function(t){var i=t.target.dataItem.dataContext;if(i.visible&&!i.isHiding){var a=i.slice;a.dispatchImmediately("over"),a.isHover=!0,a.interactions.isRealHover=!0}}),e.itemContainers.template.events.on("out",function(t){var i=t.target.dataItem.dataContext,a=i.slice;a.dispatchImmediately("out"),a.isHover=!1}))},r}(Vi);V.registeredClasses.PercentChart=Li;V.registeredClasses.PercentChartDataItem=Mi;var kr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e._label=new le,e._slice=new le,e.className="PieTick",e.element=e.paper.add("polyline"),e._disposers.push(e._label),e._disposers.push(e._slice),e.applyTheme(),e}return r.prototype.draw=function(){l.prototype.draw.call(this);var e=this.slice,t=this.label,i=e.dataItem.component;if(e&&e.radius>0&&t&&t.text){var a=e.dx+e.slice.dx+e.pixelX+e.ix*e.radius*e.scale,n=e.dy+e.slice.dy+e.pixelY+e.iy*e.radiusY*e.scale,s=void 0,o=void 0,h=void 0,d=void 0;if(i.alignLabels)s=t.pixelX-this.length,o=t.pixelY,h=t.pixelX,d=o,t.horizontalCenter=="right"&&(s+=2*this.length,h=s-this.length);else{var u=t.pixelRadius(e.radius);s=a+u*e.ix,o=n+u*e.iy,h=s,d=o}this.element.attr({points:[a,n,s,o,h,d]})}},Object.defineProperty(r.prototype,"slice",{get:function(){return this._slice.get()},set:function(e){this._slice.set(e,new it([e.events.on("transformed",this.invalidate,this),e.events.on("validated",this.invalidate,this)]))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"label",{get:function(){return this._label.get()},set:function(e){this._label.set(e,e.events.on("transformed",this.invalidate,this,!1))},enumerable:!0,configurable:!0}),r}(St);V.registeredClasses.PieTick=kr;var Ii=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PieSeriesDataItem",e.values.radiusValue={},e.applyTheme(),e}return Object.defineProperty(r.prototype,"radiusValue",{get:function(){return this.values.radiusValue.value},set:function(e){this.setValue("radiusValue",e)},enumerable:!0,configurable:!0}),r.prototype.hide=function(e,t,i,a){return l.prototype.hide.call(this,e,t,0,["value","radiusValue"])},r.prototype.show=function(e,t,i){return l.prototype.show.call(this,e,t,["value","radiusValue"])},r}(Qt),Ri=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PieSeries",e.alignLabels=!0,e.layout="none",e.labels.template.radius=k(5),e.addDisposer(e.labels.template.events.on("enabled",e.invalidate,e,!1)),e.applyTheme(),e}return r.prototype.createSlice=function(){return new Ai},r.prototype.createTick=function(){return new kr},r.prototype.createLabel=function(){return new Jt},r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Pie Slice Series"))},r.prototype.createDataItem=function(){return new Ii},r.prototype.initSlice=function(e){e.isMeasured=!1,e.defaultState.properties.scale=1,e.observe("scale",this.handleSliceScale,this),e.observe(["dx","dy","x","y","shiftRadius"],this.handleSliceMove,this),e.tooltipText="{category}: {value.percent.formatNumber('#.#p')} ({value.value})";var t=e.states.create("hover");t.properties.scale=1.05;var i=e.defaultState;i.properties.shiftRadius=0,e.togglable=!0,e.events.on("toggled",function(n){n.target.hideTooltip(),n.target.interactions.lastHitPointer&&n.target.interactions.lastHitPointer.touch&&!n.target.isActive&&(n.target.isHover=!1)});var a=e.states.create("active");a.properties.shiftRadius=.1},r.prototype.validate=function(){this._leftItems=[],this._rightItems=[],this._currentStartAngle=this.startAngle,this._arcRect=Ne(this.startAngle,this.endAngle),this._maxRadiusPercent=0;for(var e=this.startIndex;ethis._maxRadiusPercent&&(this._maxRadiusPercent=i)}l.prototype.validate.call(this),this.alignLabels&&(this.startAngle>this.endAngle?this._rightItems.reverse():this._leftItems.reverse(),this._rightItems.sort(function(a,n){var s=(a.slice.middleAngle+360)%360,o=(n.slice.middleAngle+360)%360;return s>270&&(s-=360),o>270&&(o-=360),so?1:0}),this._leftItems.sort(function(a,n){var s=(a.slice.middleAngle+360)%360,o=(n.slice.middleAngle+360)%360;return so?-1:0}),this.arrangeLabels(this._rightItems),this.arrangeLabels2(this._rightItems),this.arrangeLabels(this._leftItems),this.arrangeLabels2(this._leftItems))},r.prototype.validateDataElement=function(e){if(this.pixelRadius>0){this.ignoreZeroValues&&(e.value==0||e.value==null)?e.__disabled=!0:e.__disabled=!1;var t=e.slice;if(t.radius=this.pixelRadius,g(e.radiusValue)&&(t.radius=this.pixelInnerRadius+(this.pixelRadius-this.pixelInnerRadius)*e.values.radiusValue.percent/this._maxRadiusPercent),t.innerRadius instanceof ce||(t.innerRadius=this.pixelInnerRadius),t.startAngle=this._currentStartAngle,t.arc=Math.abs(e.values.value.percent)*(this.endAngle-this.startAngle)/100,!this.labels.template.disabled){var i=e.label,a=e.tick;a.slice=t,a.label=i;var n=(t.middleAngle+360)%360,s=void 0;if(this.alignLabels){var o=i.pixelRadius(t.radius),h=a.length+o;i.dx=0,i.dy=0,i.verticalCenter="middle";var d=this._arcRect;n>270||n<=90?(h+=(d.width+d.x)*this.pixelRadius,i.horizontalCenter="left",this._rightItems.push(e)):(h-=d.x*this.pixelRadius,i.horizontalCenter="right",this._leftItems.push(e),h*=-1);var u=t.radius+a.length+o;s={x:h,y:t.iy*u},i.moveTo(s)}else{var p=t.depth;g(p)||(p=0),i.fixPosition(t.middleAngle,t.radius,t.radiusY,0,-p)}}this._currentStartAngle+=t.arc,l.prototype.validateDataElement.call(this,e)}},Object.defineProperty(r.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!0,!1,10,!1)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pixelRadius",{get:function(){return this._pixelRadius},set:function(e){this._pixelRadius!=e&&(this._pixelRadius=e,this.invalidateDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pixelInnerRadius",{get:function(){return this._pixelInnerRadius},set:function(e){this._pixelInnerRadius!=e&&(this._pixelInnerRadius=e,this.invalidateDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(e){this.setPercentProperty("innerRadius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"startAngle",{get:function(){var e=this.getPropertyValue("startAngle");return g(e)?e:this._startAngleInternal},set:function(e){this.setPropertyValue("startAngle",di(e),!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endAngle",{get:function(){var e=this.getPropertyValue("endAngle");return g(e)?e:this._endAngleInternal},set:function(e){this.setPropertyValue("endAngle",e,!0)},enumerable:!0,configurable:!0}),r.prototype.positionBullet=function(e){l.prototype.positionBullet.call(this,e);var t=e.dataItem,i=t.slice,a=e.locationX;g(a)||(a=.5);var n=e.locationY;g(n)||(n=1);var s=i.startAngle+i.arc*a;e.x=n*i.radius*M(s),e.y=n*i.radiusY*L(s)},r.prototype.handleSliceMove=function(e){if(!this.alignLabels){var t=e.target,i=t.dataItem;if(i){var a=i.label;a&&(a.dx=a.fdx+t.dx+t.pixelX,a.dy=a.fdy+t.dy+t.pixelY)}}},Object.defineProperty(r.prototype,"bbox",{get:function(){if(this.definedBBox)return this.definedBBox;var e=this.chart;return e?Ne(e.startAngle,e.endAngle,this.pixelRadius):Ne(this.startAngle,this.endAngle,this.pixelRadius)},enumerable:!0,configurable:!0}),r}(Ot);V.registeredClasses.PieSeries=Ri;V.registeredClasses.PieSeriesDataItem=Ii;var wr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PieChartDataItem",e.applyTheme(),e}return r}(Mi),ji=function(l){A(r,l);function r(){var e=l.call(this)||this;e.className="PieChart",e.innerRadius=0,e.radius=k(80),e.align="none",e.valign="none",e.startAngle=-90,e.endAngle=270;var t=e.seriesContainer;return t.isMeasured=!0,t.valign="middle",t.align="center",t.layout="absolute",t.width=void 0,t.height=void 0,e.chartContainer.minHeight=50,e.chartContainer.minWidth=50,e.chartContainer.events.on("maxsizechanged",e.updateRadius,e,!1),e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Pie chart"))},r.prototype.validateLayout=function(){l.prototype.validateLayout.call(this),this.updateRadius()},r.prototype.handleSeriesAdded=function(e){l.prototype.handleSeriesAdded.call(this,e),this._chartPixelRadius=void 0,this.updateSeriesAngles()},r.prototype.updateSeriesAngles=function(){var e=this;this.series.each(function(t){t._startAngleInternal=e.startAngle,t._endAngleInternal=e.endAngle})},r.prototype.updateRadius=function(){var e=this.chartContainer,t=Ne(this.startAngle,this.endAngle,1),i={x:0,y:0,width:0,height:0},a=this.innerRadius;a instanceof ce&&(i=Ne(this.startAngle,this.endAngle,a.value)),t=Di([t,i]);var n=Math.min(e.innerWidth/t.width,e.innerHeight/t.height);g(n)||(n=0);var s=ie(this.radius,n),o=ie(this.innerRadius,n),h=(s-o)/this.series.length;(s!=this._chartPixelRadius||o!=this._chartPixelInnerRadius)&&(this._chartPixelRadius=s,this._chartPixelInnerRadius=o,w(Pt(this.series.iterator()),function(d){var u=d[0],p=d[1],f=o+ie(p.radius,s-o),c=o+ie(p.innerRadius,s-o);g(f)||(f=o+h*(u+1)),g(c)||(c=o+h*u),p.pixelRadius=f,p.pixelInnerRadius=c}),this.seriesContainer.definedBBox={x:s*t.x,y:s*t.y,width:s*t.width,height:s*t.height},this.seriesContainer.invalidateLayout(),this.bulletsContainer.x=this.seriesContainer.x,this.bulletsContainer.y=this.seriesContainer.y)},Object.defineProperty(r.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!0,!1,10,!1)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(e){this.setPercentProperty("innerRadius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),r.prototype.createSeries=function(){return new Ri},Object.defineProperty(r.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(e){this.setPropertyValue("startAngle",e)&&(this.updateRadius(),this.updateSeriesAngles())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(e){this.setPropertyValue("endAngle",e)&&(this.updateRadius(),this.updateSeriesAngles())},enumerable:!0,configurable:!0}),r}(Li);V.registeredClasses.PieChart=ji;V.registeredClasses.PieChartDataItem=wr;var Fr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PieSeries3DDataItem",e.values.depthValue={},e.applyTheme(),e}return Object.defineProperty(r.prototype,"depthValue",{get:function(){return this.values.depthValue.value},set:function(e){this.setValue("depthValue",e)},enumerable:!0,configurable:!0}),r}(Ii),Mr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PieSeries3D",e.applyTheme(),e}return r.prototype.createDataItem=function(){return new Fr},r.prototype.createSlice=function(){return new Oa},r.prototype.validateDataElement=function(e){var t=e.slice,i=this.depth;g(i)||(i=this.chart.depth);var a=e.values.depthValue.percent;g(a)||(a=100),t.depth=a*i/100;var n=this.angle;g(n)||(n=this.chart.angle),t.angle=n,l.prototype.validateDataElement.call(this,e)},r.prototype.validate=function(){l.prototype.validate.call(this);for(var e=this._workingStartIndex;e=-90&&a<90?i.toFront():a>=90&&i.toBack()}},Object.defineProperty(r.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(e){this.setPropertyValue("depth",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(e){this.setPropertyValue("angle",e)},enumerable:!0,configurable:!0}),r.prototype.positionBullet=function(e){l.prototype.positionBullet.call(this,e);var t=e.dataItem,i=t.slice;e.y=e.pixelY-i.depth},r}(Ri);V.registeredClasses.PieSeries3D=Mr;V.registeredClasses.PieSeries3DDataItem=Fr;(function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PieChart3DDataItem",e.applyTheme(),e}return r})(wr);var sn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PieChart3D",e.depth=20,e.angle=10,e.applyTheme(),e}return Object.defineProperty(r.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(e){this.setPropertyValue("depth",e)&&this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(e){e=Y(e,0,90),this.setPropertyValue("angle",e)&&this.invalidateDataUsers()},enumerable:!0,configurable:!0}),r.prototype.createSeries=function(){return new Mr},r}(ji);V.registeredClasses.PieChart3D=sn;var on=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="SlicedChartDataItem",e.applyTheme(),e}return r}(Mi),ln=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="SlicedChart",e.seriesContainer.layout="horizontal",e.padding(15,15,15,15),e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Sliced chart"))},r.prototype.validate=function(){l.prototype.validate.call(this)},r}(Li);V.registeredClasses.SlicedChart=ln;V.registeredClasses.SlicedChartDataItem=on;var ei=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.legendSettings=new cr,e.className="FlowDiagramNode",e.isMeasured=!1,new te,e.draggable=!0,e.inert=!0,e.setStateOnChildren=!0,e.events.on("positionchanged",e.invalidateLinks,e,!1),e.events.on("sizechanged",e.invalidateLinks,e,!1),e}return r.prototype.handleHit=function(e){this.isHidden||this.isHiding?this.show():this.hide()},r.prototype.show=function(e){var t=l.prototype.show.call(this,e);return this.outgoingDataItems.each(function(i){(!i.toNode||i.toNode&&!i.toNode.isHidden)&&(i.setWorkingValue("value",i.getValue("value"),e),i.link.show())}),this.incomingDataItems.each(function(i){(!i.fromNode||i.fromNode&&!i.fromNode.isHidden)&&(i.setWorkingValue("value",i.getValue("value"),e),i.link.show())}),t},r.prototype.hide=function(e){var t=l.prototype.hide.call(this,e);return this.outgoingDataItems.each(function(i){i.setWorkingValue("value",0,e),i.link.hide()}),this.incomingDataItems.each(function(i){i.setWorkingValue("value",0,e),i.link.hide()}),t},r.prototype.validate=function(){this.isDisposed()||(l.prototype.validate.call(this),this.invalidateLinks())},r.prototype.invalidateLinks=function(){var e=this;this.outgoingDataItems.each(function(t){var i=t.link;if(i.colorMode=="fromNode"&&(i.fill=i.dataItem.fromNode.color),i.colorMode=="gradient"){i.fill=i.gradient,i.stroke=i.gradient;var a=i.gradient.stops.getIndex(0);a&&(a.color=e.color,i.gradient.validate())}}),this.incomingDataItems.each(function(t){var i=t.link;if(i.colorMode=="toNode"&&(i.fill=i.dataItem.toNode.color),i.colorMode=="gradient"){i.fill=i.gradient,i.stroke=i.gradient;var a=i.gradient.stops.getIndex(1);a&&(a.color=e.color,i.gradient.validate())}})},Object.defineProperty(r.prototype,"incomingDataItems",{get:function(){var e=this;if(!this._incomingDataItems){var t=new xe;t.events.on("inserted",function(){e.chart.sortBy=="name"?e._incomingSorted=mt(e._incomingDataItems.iterator(),function(i,a){return Zi(i.fromName,a.fromName)}):e.chart.sortBy=="value"?e._incomingSorted=mt(e._incomingDataItems.iterator(),function(i,a){return pi(yt(i.value,a.value))}):e._incomingSorted=e._incomingDataItems.iterator()},void 0,!1),this._incomingDataItems=t}return this._incomingDataItems},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"outgoingDataItems",{get:function(){var e=this;if(!this._outgoingDataItems){var t=new xe;t.events.on("inserted",function(){e.chart.sortBy=="name"?e._outgoingSorted=mt(e._outgoingDataItems.iterator(),function(i,a){return Zi(i.fromName,a.fromName)}):e.chart.sortBy=="value"?e._outgoingSorted=mt(e._outgoingDataItems.iterator(),function(i,a){return pi(yt(i.value,a.value))}):e._outgoingSorted=e._outgoingDataItems.iterator()},void 0,!1),this._outgoingDataItems=t}return this._outgoingDataItems},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"name",{get:function(){return this.getPropertyValue("name")},set:function(e){this.setPropertyValue("name",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"total",{get:function(){return this.getPropertyValue("total")},set:function(e){this.setPropertyValue("total",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"totalIncoming",{get:function(){return this.getPropertyValue("totalIncoming")},set:function(e){this.setPropertyValue("totalIncoming",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"totalOutgoing",{get:function(){return this.getPropertyValue("totalOutgoing")},set:function(e){this.setPropertyValue("totalOutgoing",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"color",{get:function(){return this.getPropertyValue("color")},set:function(e){this.setColorProperty("color",e),this._background&&(this._background.fill=e),this.fill=e},enumerable:!0,configurable:!0}),r.prototype.createLegendMarker=function(e){var t=e.pixelWidth,i=e.pixelHeight;e.removeChildren();var a=e.createChild(vt);a.shouldClone=!1,re(this,a,J),a.stroke=this.fill,a.copyFrom(this),a.padding(0,0,0,0),a.width=t,a.height=i;var n=e.dataItem;n.color=a.fill,n.colorOrig=a.fill},Object.defineProperty(r.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(e){this._legendDataItem=e,this._legendDataItem.itemContainer.deepInvalidate()},enumerable:!0,configurable:!0}),r}(X);V.registeredClasses.FlowDiagramNode=ei;var ti=function(l){A(r,l);function r(){var e=l.call(this)||this;e.className="FlowDiagramLink";var t=new te;return e.maskBullets=!1,e.colorMode="fromNode",e.layout="none",e.isMeasured=!1,e.startAngle=0,e.endAngle=0,e.strokeOpacity=0,e.verticalCenter="none",e.horizontalCenter="none",e.tooltipText="{fromName}\u2192{toName}:{value.value}",e.tooltipLocation=.5,e.link=e.createChild(q),e.link.shouldClone=!1,e.link.setElement(e.paper.add("path")),e.link.isMeasured=!1,e.fillOpacity=.2,e.fill=t.getFor("alternativeBackground"),e.applyTheme(),e}return r.prototype.positionBullets=function(){var e=this;w(this.bullets.iterator(),function(t){t.parent=e.bulletsContainer,t.maxWidth=e.maxWidth,t.maxHeight=e.maxHeight,e.positionBullet(t)})},Object.defineProperty(r.prototype,"bulletsContainer",{get:function(){if(!this._bulletsContainer){var e=this.createChild(X);e.shouldClone=!1,e.layout="none",this._bulletsContainer=e}return this._bulletsContainer},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"bulletsMask",{get:function(){if(!this._bulletsMask){var e=this.createChild(q);e.shouldClone=!1,e.setElement(this.paper.add("path")),e.isMeasured=!1,this._bulletsMask=e}return this._bulletsMask},enumerable:!0,configurable:!0}),r.prototype.positionBullet=function(e){var t=e.locationX;g(t)||(t=e.locationY),g(t)||(t=.5);var i=this.middleLine.positionToPoint(t);e.moveTo(i);var a=e.propertyFields.rotation,n;if(e.dataItem){var s=e.dataItem.dataContext;n=s[a]}g(n)||(n=i.angle),e.rotation=n},Object.defineProperty(r.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(e){this.setPropertyValue("startAngle",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(e){this.setPropertyValue("endAngle",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"colorMode",{get:function(){return this.getPropertyValue("colorMode")},set:function(e){if(e=="gradient"){var t=this.fill;this.gradient.stops.clear(),t instanceof Ce&&(this.gradient.addColor(t),this.gradient.addColor(t)),this.fill=this.gradient,this.stroke=this.gradient}this.setPropertyValue("colorMode",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maskBullets",{get:function(){return this.getPropertyValue("maskBullets")},set:function(e){this.setPropertyValue("maskBullets",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tooltipLocation",{get:function(){return this.getPropertyValue("tooltipLocation")},set:function(e){this.setPropertyValue("tooltipLocation",e,!0)},enumerable:!0,configurable:!0}),r.prototype.setFill=function(e){l.prototype.setFill.call(this,e);var t=this._gradient;t&&e instanceof Ce&&(t.stops.clear(),t.addColor(e),t.addColor(e))},r.prototype.measureElement=function(){},Object.defineProperty(r.prototype,"bullets",{get:function(){var e=this;return this._bullets||(this._bullets=new Q(new We),this._disposers.push(new G(this._bullets)),this._disposers.push(this._bullets.template),this._bullets.events.on("inserted",function(t){t.newValue.events.on("propertychanged",function(i){(i.property=="locationX"||i.property=="locationY")&&e.positionBullet(i.target)},void 0,!1)},void 0,!1)),this._bullets},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.bullets.copyFrom(e.bullets);var t=this.middleLine;t&&(t instanceof Xe&&e.middleLine instanceof Xe&&t.copyFrom(e.middleLine),t instanceof qi&&e.middleLine instanceof qi&&t.copyFrom(e.middleLine)),this.link.copyFrom(e.link)},r.prototype.getTooltipX=function(){if(this.middleLine)return this.middleLine.positionToPoint(this.tooltipLocation).x},r.prototype.getTooltipY=function(){if(this.middleLine)return this.middleLine.positionToPoint(this.tooltipLocation).y},Object.defineProperty(r.prototype,"gradient",{get:function(){return this._gradient||(this._gradient=new fi),this._gradient},enumerable:!0,configurable:!0}),r}(X);V.registeredClasses.FlowDiagramLink=ti;var Wi=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="FlowDiagramDataItem",e.values.value={},e.applyTheme(),e}return Object.defineProperty(r.prototype,"fromName",{get:function(){return this.properties.fromName},set:function(e){this.setProperty("fromName",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"toName",{get:function(){return this.properties.toName},set:function(e){this.setProperty("toName",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"color",{get:function(){return this.properties.color},set:function(e){this.setProperty("color",Ee(e))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"value",{get:function(){return this.values.value.value},set:function(e){this.setValue("value",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"link",{get:function(){var e=this;if(!this._link){var t=this.component.links.create();this._link=t,this.addSprite(t),this._disposers.push(new se(function(){e.component&&e.component.links.removeValue(t)}))}return this._link},enumerable:!0,configurable:!0}),r}(fr),Xi=function(l){A(r,l);function r(){var e=l.call(this)||this;e.colors=new Bt,e.className="FlowDiagram",e.nodePadding=20,e.sortBy="none",e.sequencedInterpolation=!0,e.colors.step=2,e.minNodeSize=.02;var t=e.chartContainer.createChild(X);t.shouldClone=!1,t.layout="none",t.isMeasured=!1,e.linksContainer=t;var i=e.chartContainer.createChild(X);return i.shouldClone=!1,i.layout="none",i.isMeasured=!1,e.nodesContainer=i,e.dataItem=e.createDataItem(),e.dataItem.component=e,e.applyTheme(),e}return r.prototype.dispose=function(){l.prototype.dispose.call(this),this.dataItem.dispose()},r.prototype.validateData=function(){var e=this;this._parseDataFrom==0&&this.nodes.clear(),this.sortNodes(),this.colors.reset(),l.prototype.validateData.call(this);var t=0,i=0,a,n;w(this.dataItems.iterator(),function(o){var h=o.fromName;if(h){var d=e.nodes.getKey(h);d||(d=e.nodes.create(h),d.name=h,d.chart=e,d.dataItem=o),o.fromNode=d,o.fromNode.outgoingDataItems.push(o)}var u=o.toName;if(u){var d=e.nodes.getKey(u);d||(d=e.nodes.create(u),d.name=u,d.chart=e,d.dataItem=o),o.toNode=d,o.toNode.incomingDataItems.push(o)}if(!o.fromNode){var p=new $i;p.opacities=[0,1],o.link.strokeModifier=p}if(!o.toNode){var f=new $i;f.opacities=[1,0],o.link.strokeModifier=f}var c=o.value;g(c)&&(t+=c,i++,(a>c||!g(a))&&(a=c),(nthis.dataItems.length)&&w(e.incomingDataItems.iterator(),function(i){t.checkLoop(i.fromNode)})},r.prototype.calculateValueHeight=function(){var e=this;this._levelSum={},this._levelNodesCount={},this.maxSum=0;var t=this.dataItem.values.value.sum;w(this._sorted,function(u){var p=u[1];e.getNodeValue(p)}),this.nodes.each(function(u,p){var f=p.level,c=Math.max(p.totalIncoming,p.totalOutgoing);c/ty||!g(n))&&(n=y,e.maxSum=f,a=Ve(u))}),this._maxSumLevel=a;var s=this._levelNodesCount[this._maxSumLevel],o=(i-(s-1)*this.nodePadding)/this.maxSum;if(o==1/0&&(o=0),!g(this.valueHeight))this.valueHeight=o;else{var h=void 0;try{h=this._heightAnimation.animationOptions[0].to}catch{}if(h!=o){var d=this.interpolationDuration;try{d=this.nodes.template.states.getKey("active").transitionDuration}catch{}this._heightAnimation=new Fa(this,{property:"valueHeight",from:this.valueHeight,to:o},d,this.interpolationEasing).start(),this._disposers.push(this._heightAnimation)}}},r.prototype.validate=function(){var e=this;l.prototype.validate.call(this),this.calculateValueHeight();var t=this.nodesContainer,i={},a=this._levelNodesCount[this._maxSumLevel],n=this.dataItem.values.value.sum,s;this.orientation=="horizontal"?s=this.chartContainer.maxHeight-1:s=this.chartContainer.maxWidth-1,w(this._sorted,function(o){var h=o[1],d=h.level,u=0,p=e._levelNodesCount[d];switch(e.nodeAlign){case"bottom":u=(e.maxSum-e._levelSum[d])*e.valueHeight-(p-a)*e.nodePadding;break;case"middle":u=(e.maxSum-e._levelSum[d])*e.valueHeight/2-(p-a)*e.nodePadding/2;break}if(e.maxSum==0)switch(e.nodeAlign){case"bottom":u=s-p*(e.minNodeSize*s+e.nodePadding);break;case"middle":u=s/2-p/2*(e.minNodeSize*s+e.nodePadding);break}h.parent=t;var f,c,y,v=Math.max(h.totalIncoming,h.totalOutgoing);if(v/n0){var i=this.nodesContainer,a=0;w(this.links.iterator(),function(n){n.hide(0)}),w(this._sorted,function(n){var s=n[1],o;t.orientation=="horizontal"?(s.dx=-(i.pixelWidth-s.pixelWidth)/Math.max(t._levelCount,1),o="dx"):(s.dy=-(i.pixelHeight-s.pixelHeight)/Math.max(t._levelCount,1),o="dy");var h=0,d=t.interpolationDuration;t.sequencedInterpolation&&(h=t.sequencedInterpolationDelay*a+d*a/Ma(t.nodes.iterator())),s.opacity=0,s.invalidateLinks(),s.animate([{property:"opacity",from:0,to:1},{property:o,to:0}],t.interpolationDuration,t.interpolationEasing).delay(h),w(s.outgoingDataItems.iterator(),function(u){var p=u.link.show(t.interpolationDuration);p&&!p.isFinished()&&p.delay(h)}),w(s.incomingDataItems.iterator(),function(u){if(!u.fromNode){var p=u.link.show(t.interpolationDuration);p&&!p.isFinished()&&p.delay(h)}}),a++})}return l.prototype.showReal.call(this)}},r.prototype.changeSorting=function(){var e=this;this.sortNodes();var t={};w(this._sorted,function(i){var a=i[1],n=a.level,s=(e.maxSum-e._levelSum[n])*e.valueHeight/2,o,h;e.orientation=="horizontal"?(o="y",h=a.pixelHeight):(o="x",h=a.pixelWidth),a.animate({property:o,to:t[n]||s},e.interpolationDuration,e.interpolationEasing),t[n]=(t[n]||s)+h+e.nodePadding,a.invalidateLinks()})},r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Sankey diagram"))},r.prototype.createDataItem=function(){return new hn},Object.defineProperty(r.prototype,"nodeAlign",{get:function(){return this.getPropertyValue("nodeAlign")},set:function(e){this.setPropertyValue("nodeAlign",e),this.changeSorting()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(e){this.setPropertyValue("orientation",e,!0);var t=this.nodes.template.nameLabel;e=="vertical"?(this.nodes.template.width=void 0,t.label.horizontalCenter="middle",t.locationX=.5):(this.nodes.template.height=void 0,t.label.horizontalCenter="left",t.locationX=1)},enumerable:!0,configurable:!0}),r.prototype.createNode=function(){var e=new Lr;return this._disposers.push(e),e},r.prototype.createLink=function(){var e=new Ir;return this._disposers.push(e),e},Object.defineProperty(r.prototype,"valueHeight",{get:function(){return this._valueHeight},set:function(e){e!=this._valueHeight&&(this._valueHeight=e,this.invalidate())},enumerable:!0,configurable:!0}),r.prototype.disposeData=function(){l.prototype.disposeData.call(this),this._sorted=this.nodes.iterator()},r}(Xi);V.registeredClasses.SankeyDiagram=un;var Rr=function(l){A(r,l);function r(){var e=l.call(this)||this;e.className="ChordNode";var t=e.createChild(Jt);t.location=.5,t.radius=5,t.text="{name}",t.zIndex=1,t.shouldClone=!1,e.label=t,e.layout="none",e.events.on("positionchanged",e.updateRotation,e,!1),e.isMeasured=!1,e.slice=e.createChild(Ai),e.slice.isMeasured=!1;var i=e.hiddenState;return i.properties.fill=new te().getFor("disabledBackground"),i.properties.opacity=.5,i.properties.visible=!0,e.setStateOnChildren=!1,e.slice.hiddenState.properties.visible=!0,e.adapter.add("tooltipX",function(a,n){return n.slice.ix*(n.slice.radius-(n.slice.radius-n.slice.pixelInnerRadius)/2)}),e.adapter.add("tooltipY",function(a,n){return n.slice.iy*(n.slice.radius-(n.slice.radius-n.slice.pixelInnerRadius)/2)}),e}return r.prototype.invalidateLinks=function(){var e=this;l.prototype.invalidateLinks.call(this);var t=this.label,i=this.slice,a=this.chart;if(a&&i){var n=this.total,s=i.arc,o=i.startAngle;this.children.each(function(u){if(u instanceof We){var p=u.locationX;g(p)||(p=.5);var f=u.locationY;g(f)||(f=1);var c=o+s*p,y=f*i.radius;u.x=y*M(c),u.y=y*L(c)}});var h=o+s*t.location,d=o+(1-n/this.adjustedTotal)*s*.5;ve(d)&&(d=o),t.fixPosition(h,i.radius),this.nextAngle=d,this._outgoingSorted&&w(this._outgoingSorted,function(u){var p=u.link;p.parent=e.chart.linksContainer;var f=u.getWorkingValue("value");if(g(f)){if(a.nonRibbon){var c=p.percentWidth;g(c)||(c=5),c=c/100,p.startAngle=o+s/2-s/2*c,p.arc=s*c}else p.arc=f*a.valueAngle,p.startAngle=e.nextAngle,e.nextAngle+=p.arc;u.toNode||(p.endAngle=p.startAngle),p.radius=i.pixelInnerRadius}}),this._incomingSorted&&w(this._incomingSorted,function(u){var p=u.link;if(p.radius=i.pixelInnerRadius,a.nonRibbon){var f=p.percentWidth;g(f)||(f=5),f=f/100,p.endAngle=o+s/2-s/2*f,p.arc=s*f}else{p.endAngle=e.nextAngle;var c=u.getWorkingValue("value");g(c)&&(p.arc=c*a.valueAngle,e.nextAngle+=p.arc)}u.fromNode||(p.startAngle=p.endAngle)})}},r.prototype.updateRotation=function(){var e=this.slice,t=this.trueStartAngle+e.arc/2,i=e.radius,a=i*M(t),n=i*L(t),s=_e({x:a+this.pixelX,y:n+this.pixelY});e.startAngle=this.trueStartAngle+(s-t),this.dx=-this.pixelX,this.dy=-this.pixelY},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.label.copyFrom(e.label),this.slice.copyFrom(e.slice)},r}(ei);V.registeredClasses.ChordNode=Rr;var dn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="QuadraticCurve",e.element=e.paper.add("path"),e.pixelPerfect=!1,e.fill=Te(),e.applyTheme(),e}return r.prototype.draw=function(){if(g(this.x1+this.x2+this.y1+this.y2+this.cpx+this.cpy)){var e={x:this.x1,y:this.y1},t={x:this.x2,y:this.y2},i={x:this.cpx,y:this.cpy},a=W(e)+et(t,i);this.path=a}},Object.defineProperty(r.prototype,"cpx",{get:function(){return this.getPropertyValue("cpx")},set:function(e){this.setPropertyValue("cpx",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cpy",{get:function(){return this.getPropertyValue("cpy")},set:function(e){this.setPropertyValue("cpy",e,!0)},enumerable:!0,configurable:!0}),r.prototype.positionToPoint=function(e){var t={x:this.x1,y:this.y1},i={x:this.cpx,y:this.cpy},a={x:this.x2,y:this.y2},n=Qi(t,a,i,e),s=Qi(t,a,i,e+.001);return{x:n.x,y:n.y,angle:_e(n,s)}},r}(Xe),jr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ChordLink",e.middleLine=e.createChild(dn),e.middleLine.shouldClone=!1,e.middleLine.strokeOpacity=0,e.applyTheme(),e}return r.prototype.validate=function(){if(l.prototype.validate.call(this),!this.isTemplate){var e=this.startAngle,t=this.endAngle,i=this.arc,a=this.radius,n=this.dataItem.fromNode,s=this.dataItem.toNode,o=0,h=0;n&&(o=n.pixelX+n.dx,h=n.pixelY+n.dy);var d=0,u=0;if(s&&(d=s.pixelX+s.dx,u=s.pixelY+s.dy),a>0){var p=a*M(e)+o,f=a*L(e)+h,c=a*M(t)+d,y=a*L(t)+u,v={x:0,y:0},m=W({x:p,y:f});m+=fe(e,i,a),m+=et({x:c,y},v),m+=fe(t,i,a),m+=et({x:p,y:f},v),i>0?this.link.path=m:this.link.path="",this.maskBullets&&(this.bulletsMask.path=m,this.bulletsContainer.mask=this.bulletsMask);var x=e+i/2,P=t+i/2,S=this.middleLine;S.x1=a*M(x)+o,S.y1=a*L(x)+h,S.x2=a*M(P)+d,S.y2=a*L(P)+u,S.cpx=0,S.cpy=0,S.stroke=this.fill,this.positionBullets()}}},Object.defineProperty(r.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPropertyValue("radius",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"arc",{get:function(){return this.getPropertyValue("arc")},set:function(e){this.setPropertyValue("arc",e,!0)},enumerable:!0,configurable:!0}),r}(ti);V.registeredClasses.ChordLink=jr;var pn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ChordDiagramDataItem",e.applyTheme(),e}return r}(Wi),fn=function(l){A(r,l);function r(){var e=l.call(this)||this;e.valueAngle=0,e.className="ChordDiagram",e.startAngle=-90,e.endAngle=270,e.radius=k(80),e.innerRadius=-15,e.nodePadding=5;var t=e.chartContainer.createChild(X);return t.align="center",t.valign="middle",t.shouldClone=!1,t.layout="absolute",e.chordContainer=t,e.nodesContainer.parent=t,e.linksContainer.parent=t,e.chartContainer.events.on("maxsizechanged",e.invalidate,e,!1),e.applyTheme(),e}return r.prototype.validate=function(){var e=this,t=this.chartContainer,i=this.endAngle,a=this.startAngle+this.nodePadding/2,n=Ne(this.startAngle,this.endAngle,1),s={x:0,y:0,width:0,height:0};n=Di([n,s]);var o=Math.min(t.innerWidth/n.width,t.innerHeight/n.height);g(o)||(o=0);var h=ie(this.radius,o),d=ie(this.innerRadius,h,!0),u=this.dataItem.values.value.sum,p=0,f=0;w(this._sorted,function(c){var y=c[1];e.getNodeValue(y),p++;var v=y.total;y.total/uthis.endIndex;f--){var c=this.dataItems.getIndex(f);this.disableUnusedColumns(c)}this._propertiesChanged=!1},r.prototype.sortCategoryAxis=function(e,t){var i=this;this.dataItems.values.sort(function(n,s){return s.values[t].workingValue-n.values[t].workingValue});var a=0;this.dataItems.each(function(n){n._index=a,a++}),e.dataItems.each(function(n){var s=n.component,o=s.categoryToPosition(n.category)-n.deltaPosition,h=s.getSeriesDataItemByCategory(n.category,i);if(h){var d=i.dataItems.indexOf(h);n._index=d;var u=j((d+.5)/i.dataItems.length-o,3);n.deltaAnimation&&!n.deltaAnimation.isDisposed()&&n.deltaAnimation.animationOptions[0].to==u||u!=j(n.deltaPosition,3)&&(n.deltaAnimation&&n.deltaAnimation.stop(),n.deltaAnimation=n.animate({property:"deltaPosition",from:-u,to:0},s.interpolationDuration,s.interpolationEasing),i._disposers.push(n.deltaAnimation))}}),e.dataItems.values.sort(function(n,s){return n.index-s.index})},r.prototype.validateDataElement=function(e){this.chart&&this.xAxis&&this.yAxis&&(this.validateDataElementReal(e),l.prototype.validateDataElement.call(this,e))},r.prototype.getStartLocation=function(e){var t=this._startLocation;return this.baseAxis==this.xAxis?t+=e.locations[this.xOpenField]-.5:t+=e.locations[this.yOpenField]-.5,t},r.prototype.getEndLocation=function(e){var t=this._endLocation;return this.baseAxis==this.xAxis?t+=e.locations[this.xField]-.5:t+=e.locations[this.yField]-.5,t},r.prototype.validateDataElementReal=function(e){var t=this,i,a,n,s,o=this.getStartLocation(e),h=this.getEndLocation(e),d=this.xField,u=this.xOpenField,p=this.yField,f=this.yOpenField,c=this.columns.template,y=c.percentWidth,v=c.percentHeight,m=c.pixelWidth,x=c.pixelHeight,P=c.maxWidth,S=c.maxHeight,D=c.pixelPaddingLeft,T=c.pixelPaddingRight,b=c.pixelPaddingTop,O=c.pixelPaddingBottom,_=!1,N=e.width;C(N)&&(g(N)&&(m=N),N instanceof ce&&(y=N.value*100));var F=e.height;if(C(F)&&(g(F)&&(x=F),F instanceof ce&&(v=F.value*100)),this.xAxis instanceof Z&&this.yAxis instanceof Z){if(!e.hasValue(this._xValueFields)||!e.hasValue(this._yValueFields))return;if(o=0,h=1,!ve(y)){var I=j((h-o)*(1-y/100)/2,5);o+=I,h-=I}if(i=this.xAxis.getX(e,u,o),a=this.xAxis.getX(e,d,h),ve(y)){var I=(a-i-m)/2;i+=I,a-=I}if(!ve(P)&&PMe&&s>Me)&&(_=!0),n=this.fixVerticalCoordinate(n),s=this.fixVerticalCoordinate(s),Math.abs(a-i)-D-T==0&&(_=!0)}else{if(!e.hasValue(this._xValueFields))return;if(!ve(v)){var I=j((h-o)*(1-v/100)/2,5);o+=I,h-=I}if(n=this.yAxis.getY(e,f,o),s=this.yAxis.getY(e,p,h),ve(v)){var I=(s-n-x)/2;s-=I,n+=I}if(!ve(S)&&SMe&&i>Me)&&(_=!0),a=this.fixHorizontalCoordinate(a),i=this.fixHorizontalCoordinate(i),Math.abs(n-s)-b-O==0&&(_=!0)}var Ze=Math.abs(a-i),qe=Math.abs(s-n),lt=Math.min(i,a),ht=Math.min(n,s);if(_)this.disableUnusedColumns(e);else{var B;e.column?(B=e.column,this._propertiesChanged&&(re(this,B,J),re(this.columns.template,B,J),H(J,function(be){B[be]=B[be]}))):(B=this.columns.create(),re(this,B,J),re(this.columns.template,B,J),e.addSprite(B),e.column=B,B.paper=this.paper,this.itemsFocusable()?(C(this.role)||(this.role="menu"),C(B.role)||(B.role="menuitem"),B.focusable=!0):(C(this.role)||(this.role="list"),C(B.role)||(B.role="listitem"),B.focusable=!1),B.focusable&&(B.events.on("focus",function(be){B.readerTitle=t.populateString(t.itemReaderText,e)},void 0,!1),B.events.on("blur",function(be){B.readerTitle=""},void 0,!1)),B.hoverable&&(B.events.on("over",function(be){B.readerTitle=t.populateString(t.itemReaderText,e)},void 0,!1),B.events.on("out",function(be){B.readerTitle=""},void 0,!1)),B.parent=this.columnsContainer,B.virtualParent=this),B.width=Ze,B.height=qe,B.x=lt,B.y=ht,B.realX=i,B.realY=n,B.realWidth=a-i,B.realHeight=s-n,this.setColumnStates(B),B.invalid&&B.validate(),B.__disabled=!1,w(this.axisRanges.iterator(),function(be){var he=e.rangesColumns.getKey(be.uid);he||(he=t.columns.create(),re(be.contents,he,J),e.addSprite(he),e.rangesColumns.setKey(be.uid,he),he.paper=t.paper),he.parent=be.contents,he.width=Ze,he.height=qe,he.x=lt,he.y=ht,t.setColumnStates(he),he.invalid&&he.validate(),he.__disabled=!1})}e.itemWidth=Ze,e.itemHeight=qe},r.prototype.disableUnusedColumns=function(e){e&&(e.column&&(e.column.width=0,e.column.height=0,e.column.__disabled=!0),w(this.axisRanges.iterator(),function(t){var i=e.rangesColumns.getKey(t.uid);i&&(i.width=0,i.height=0,i.__disabled=!0)}))},r.prototype.setColumnStates=function(e){if(this._dropFromOpenState||this._dropFromPreviousState||this._riseFromOpenState||this._riseFromPreviousState){var t=e.dataItem;if(this.xAxis instanceof E||this.yAxis instanceof E){var i,a=void 0,n=void 0;this.baseAxis==this.yAxis?(this.xOpenField&&this.xField&&this.xAxis instanceof E&&(i=t.getValue(this.xOpenField),a=t.getValue(this.xField)),n=t.getValue(this.xAxis.axisFieldName+"X","previousChange")):(this.yOpenField&&this.yField&&this.yAxis instanceof E&&(i=t.getValue(this.yOpenField),a=t.getValue(this.yField)),n=t.getValue(this.yAxis.axisFieldName+"Y","previousChange")),athis.currentLevel||e.children&&e.children.length>0)&&(i.columns.template.cursorOverStyle=xt.pointer,this.zoomable&&i.columns.template.events.on("hit",function(o){var h=o.target.dataItem;e.level>t.currentLevel?t.zoomToChartDataItem(h.treeMapDataItem.parent):t.zoomToSeriesDataItem(h)},this,void 0))}this._tempSeries.push(e.series)},r.prototype.toggleBullets=function(e){var t=this;w(this.series.iterator(),function(i){t._tempSeries.indexOf(i)==-1?(i.columnsContainer.hide(),i.bulletsContainer.hide(e)):(i.columnsContainer.show(),i.bulletsContainer.show(e),i.dataItems.each(function(a){a.bullets.each(function(n,s){s.show()})}),i.level1&&i.dataItems.each(function(a){a.treeMapDataItem.children&&a.bullets.each(function(n,s){s.hide()})}))})},r.prototype.zoomToSeriesDataItem=function(e){this.zoomToChartDataItem(e.treeMapDataItem)},r.prototype.zoomToChartDataItem=function(e){var t=this;e||(e=this._homeDataItem);var i=this.zoomOutButton;if(i&&(e!=this._homeDataItem?i.show():i.hide()),e&&e.children){this.xAxis.zoomToValues(e.x0,e.x1),this.yAxis.zoomToValues(e.y0,e.y1),this.currentLevel=e.level,this.currentlyZoomed=e,this.createTreeSeries(e);var a=this.xAxis.rangeChangeAnimation||this.yAxis.rangeChangeAnimation;a&&!a.isDisposed()&&!a.isFinished()?(this._dataDisposers.push(a),a.events.once("animationended",function(){t.toggleBullets()})):this.toggleBullets()}},r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("TreeMap chart"))},r.prototype.createDataItem=function(){return new cn},Object.defineProperty(r.prototype,"maxLevels",{get:function(){return this.getPropertyValue("maxLevels")},set:function(e){this.setPropertyValue("maxLevels",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"currentLevel",{get:function(){return this.getPropertyValue("currentLevel")},set:function(e){this.setPropertyValue("currentLevel",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hideParentColumns",{get:function(){return this.getPropertyValue("hideParentColumns")},set:function(e){this.setPropertyValue("hideParentColumns",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"sorting",{get:function(){return this.getPropertyValue("sorting")},set:function(e){this.setPropertyValue("sorting",e,!0)},enumerable:!0,configurable:!0}),r.prototype.createSeries=function(){return new vi},Object.defineProperty(r.prototype,"homeText",{get:function(){return this._homeText},set:function(e){this._homeText=e,this._homeDataItem&&(this._homeDataItem.name=this._homeText)},enumerable:!0,configurable:!0}),r.prototype.processConfig=function(e){if(e){if(C(e.layoutAlgorithm)&&ae(e.layoutAlgorithm))switch(e.layoutAlgorithm){case"squarify":e.layoutAlgorithm=this.squarify;break;case"binaryTree":e.layoutAlgorithm=this.binaryTree;break;case"slice":e.layoutAlgorithm=this.slice;break;case"dice":e.layoutAlgorithm=this.dice;break;case"sliceDice":e.layoutAlgorithm=this.sliceDice;break;default:delete e.layoutAlgorithm;break}C(e.navigationBar)&&!C(e.navigationBar.type)&&(e.navigationBar.type="NavigationBar"),l.prototype.processConfig.call(this,e)}},r.prototype.validateLayout=function(){l.prototype.validateLayout.call(this),this.layoutItems(this.currentlyZoomed)},r.prototype.validateDataItems=function(){l.prototype.validateDataItems.call(this),this.layoutItems(this._homeDataItem),w(this.series.iterator(),function(e){e.validateRawData()}),this.zoomToChartDataItem(this._homeDataItem)},r.prototype.binaryTree=function(e){var t=e.children,i,a=t.length,n,s=new Array(a+1);for(s[0]=n=i=0;i0&&o(0,a,e.value,e.x0,e.y0,e.x1,e.y1);function o(h,d,u,p,f,c,y){if(h>=d-1){var v=t.getIndex(h);v.x0=p,v.y0=f,v.x1=c,v.y1=y;return}for(var m=s[h],x=u/2+m,P=h+1,S=d-1;P>>1;s[D]y-f){var O=(p*b+c*T)/u;o(h,P,T,p,f,O,y),o(P,d,b,O,f,c,y)}else{var _=(f*b+y*T)/u;o(h,P,T,p,f,c,_),o(P,d,b,p,_,c,y)}}},r.prototype.slice=function(e){for(var t=e.x0,i=e.x1,a=e.y0,n=e.y1,s=e.children,o,h=-1,d=s.length,u=e.value&&(n-a)/e.value;++hx&&(x=h),T=v*v*D,P=Math.max(x/T,T/m),P>S){v-=h;break}S=P}var b=this.dataItems.template.clone();b.value=v,b.dice=f1)return e;if(e.children.length==1){var t=e.children.getIndex(0);return t.children?this.getLegendLevel(t):e}else return e}},r.prototype.handleLegendSeriesAdded=function(e){},Object.defineProperty(r.prototype,"homeDataItem",{get:function(){return this._homeDataItem},enumerable:!0,configurable:!0}),r.prototype.feedLegend=function(){var e=this.legend;if(e){e.dataFields.name="name";var t=this.getLegendLevel(this._homeDataItem);if(t){var i=[];t.children.each(function(a){i.push(a)}),e.data=i}}},r.prototype.disposeData=function(){l.prototype.disposeData.call(this),this._homeDataItem=void 0,this.series.clear(),this.navigationBar&&this.navigationBar.disposeData(),this.xAxis.disposeData(),this.yAxis.disposeData()},r.prototype.getExporting=function(){var e=this,t=l.prototype.getExporting.call(this);return t.adapter.add("formatDataFields",function(i){return(i.format=="csv"||i.format=="xlsx")&&C(e.dataFields.children)&&delete i.dataFields[e.dataFields.children],i}),t},r}(Ge);V.registeredClasses.TreeMap=yn;var Xr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e._chart=new le,e.className="AxisRendererX3D",e._disposers.push(e._chart),e.applyTheme(),e}return r.prototype.updateGridElement=function(e,t,i){t=t+(i-t)*e.location;var a=this.positionToPoint(t);if(e.element){var n=this.chart.dx3D||0,s=this.chart.dy3D||0,o=this.getHeight();e.path=W({x:n,y:s})+R({x:n,y:o+s})+R({x:0,y:o})}this.positionItem(e,a),this.toggleVisibility(e,t,0,1)},r.prototype.updateBaseGridElement=function(){l.prototype.updateBaseGridElement.call(this);var e=this.getHeight(),t=this.chart.dx3D||0,i=this.chart.dy3D||0;this.baseGrid.path=W({x:t,y:i})+R({x:0,y:0})+R({x:0,y:e})},Object.defineProperty(r.prototype,"chart",{get:function(){return this._chart.get()},set:function(e){e&&this._chart.set(e,e.events.on("propertychanged",this.handle3DChanged,this,!1))},enumerable:!0,configurable:!0}),r.prototype.handle3DChanged=function(e){(e.property=="depth"||e.property=="angle")&&this.invalidate()},r}(Ye);V.registeredClasses.AxisRendererX3D=Xr;var vn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e._chart=new le,e.className="AxisRendererY3D",e._disposers.push(e._chart),e.applyTheme(),e}return r.prototype.updateGridElement=function(e,t,i){t=t+(i-t)*e.location;var a=this.positionToPoint(t);if(e.element){var n=this.chart.dx3D||0,s=this.chart.dy3D||0,o=this.getWidth();e.path=W({x:0,y:0})+R({x:n,y:s})+R({x:o+n,y:s})}this.positionItem(e,a),this.toggleVisibility(e,t,0,1)},r.prototype.updateBaseGridElement=function(){l.prototype.updateBaseGridElement.call(this);var e=this.chart.dx3D||0,t=this.chart.dy3D||0,i=this.getWidth();this.baseGrid.path=W({x:0,y:0})+R({x:i,y:0})+R({x:i+e,y:t})},Object.defineProperty(r.prototype,"chart",{get:function(){return this._chart.get()},set:function(e){e&&this._chart.set(e,e.events.on("propertychanged",this.handle3DChanged,this,!1))},enumerable:!0,configurable:!0}),r.prototype.handle3DChanged=function(e){(e.property=="depth"||e.property=="angle")&&this.invalidate()},r}(we),Yr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="Column3D",e}return r.prototype.createAssets=function(){this.column3D=this.createChild(La),this.column3D.shouldClone=!1,this.column3D.strokeOpacity=0,this.column=this.column3D},r.prototype.validate=function(){l.prototype.validate.call(this),this.column3D&&(this.column3D.width=this.pixelWidth,this.column3D.height=this.pixelHeight,this.column3D.invalid&&this.column3D.validate())},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.column3D&&this.column3D.copyFrom(e.column3D)},r.prototype.setFill=function(e){l.prototype.setFill.call(this,e),this.column.fill=e},r}(st);V.registeredClasses.Column3D=Yr;var gn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ColumnSeries3DDataItem",e.applyTheme(),e}return r}(Ke),gi=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ColumnSeries3D",e.columns.template.column3D.applyOnClones=!0,e.columns.template.hiddenState.properties.visible=!0,e.applyTheme(),e}return Object.defineProperty(r.prototype,"columnsContainer",{get:function(){var e=this.chart;return e&&e.columnsContainer&&e.leftAxesContainer.layout!="vertical"&&e.rightAxesContainer.layout!="vertical"&&e.bottomAxesContainer.layout!="horizontal"&&e.topAxesContainer.layout!="horizontal"?e.columnsContainer:this._columnsContainer},enumerable:!0,configurable:!0}),r.prototype.validateDataElementReal=function(e){l.prototype.validateDataElementReal.call(this,e),e.column&&(e.column.dx=this.dx,e.column.dy=this.dy,e.column.visible=this.visible)},r.prototype.validateDataElements=function(){l.prototype.validateDataElements.call(this),this.chart&&this.chart.invalidateLayout()},r.prototype.createColumnTemplate=function(){return new Yr},Object.defineProperty(r.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(e){this.setPropertyValue("depth",e,!0);var t=this.columns.template;t.column3D.depth=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(e){this.setPropertyValue("angle",e);var t=this.columns.template;t.column3D.angle=e},enumerable:!0,configurable:!0}),r}(ot);V.registeredClasses.ColumnSeries3D=gi;V.registeredClasses.ColumnSeries3DDataItem=gn;(function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="XYChart3DDataItem",e.applyTheme(),e}return r})(ki);var mn=function(l){A(r,l);function r(){var e=l.call(this)||this;e._axisRendererX=Xr,e._axisRendererY=vn,e.className="XYChart3D",e.depth=30,e.angle=30;var t=e.seriesContainer.createChild(X);return t.shouldClone=!1,t.isMeasured=!1,t.layout="none",e.columnsContainer=t,e.columnsContainer.mask=e.createChild(q),e.applyTheme(),e}return r.prototype.updateSeriesMasks=function(){if(l.prototype.updateSeriesMasks.call(this),bt()){var e=this.columnsContainer,t=e.mask;e.mask=void 0,e.mask=t}},Object.defineProperty(r.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(e){this.setPropertyValue("depth",e),this.fixLayout(),this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(e){this.setPropertyValue("angle",e),this.fixLayout(),this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dx3D",{get:function(){return M(this.angle)*this.depth},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dy3D",{get:function(){return-L(this.angle)*this.depth},enumerable:!0,configurable:!0}),r.prototype.validateLayout=function(){l.prototype.validateLayout.call(this),this.fixColumns()},r.prototype.fixLayout=function(){this.chartContainer.paddingTop=-this.dy3D,this.chartContainer.paddingRight=this.dx3D,this.scrollbarX&&(this.scrollbarX.dy=this.dy3D,this.scrollbarX.dx=this.dx3D),this.scrollbarY&&(this.scrollbarY.dy=this.dy3D,this.scrollbarY.dx=this.dx3D),this.fixColumns(),l.prototype.fixLayout.call(this)},r.prototype.fixColumns=function(){var e=this,t=1,i=0;w(this.series.iterator(),function(n){n instanceof gi&&(!n.clustered&&i>0&&t++,n.depthIndex=t-1,i++)});var a=0;w(this.series.iterator(),function(n){if(n instanceof gi){n.depth=e.depth/t,n.angle=e.angle,n.columnsContainer==e.columnsContainer&&(n.dx=e.depth/t*M(e.angle)*n.depthIndex,n.dy=-e.depth/t*L(e.angle)*n.depthIndex);var s=!1;(n.baseAxis==n.xAxis&&n.xAxis.renderer.inversed||n.baseAxis==n.yAxis&&n.yAxis.renderer.inversed)&&(s=!0);var o=1;n.dataItems.each(function(h){var d=h.column;d&&(s?d.zIndex=1e3*(1e3-o)+a-n.depthIndex*100:d.zIndex=1e3*o+a-n.depthIndex*100),o++}),s?a--:a++}}),this.maskColumns()},r.prototype.processConfig=function(e){if(e&&C(e.series)&&ke(e.series))for(var t=0,i=e.series.length;t1&&(this.orientation=="horizontal"?D.minGridDistance=this.measuredWidth/this.markerCount:D.minGridDistance=this.measuredHeight/this.markerCount),this.valueAxis.invalidate();for(var p=this.markerCount,T=this.markers.length;p0&&t.length>0)if(n){var o=W(e[0]);if(e.length>0)for(var h=1;h0||this.fillSprite.fillOpacity>0)&&(o=W(e[0])+Rt(e),o+=R(t[0])+Rt(t),o+=R(e[0]),o+=rt(),this.fillSprite.path=o)}else{var o=W(e[0])+Rt(e);this.strokeSprite.path=o,(this.fillOpacity>0||this.fillSprite.fillOpacity>0)&&(o+=R(t[0])+Rt(t),o+=R(e[0]),o+=rt(),this.fillSprite.path=o)}else this.strokeSprite.path="",this.fillSprite.path=""},r}(wi);V.registeredClasses.StepLineSeriesSegment=Nr;var zr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="StepLineSeriesDataItem",e.applyTheme(),e}return r}($t),Pn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="StepLineSeries",e.applyTheme(),e.startLocation=0,e.endLocation=1,e}return r.prototype.createDataItem=function(){return new zr},r.prototype.addPoints=function(e,t,i,a,n){var s,o,h,d;this.baseAxis==this.xAxis&&(s=this.startLocation,o=this.endLocation,h=this.getAdjustedXLocation(t,this.yOpenField),d=this.getAdjustedXLocation(t,this.yField)),this.baseAxis==this.yAxis&&(h=this.startLocation,d=this.endLocation,s=this.getAdjustedXLocation(t,this.xOpenField),o=this.getAdjustedXLocation(t,this.xField));var u=this.xAxis.getX(t,i,s),p=this.yAxis.getY(t,a,h),f=this.xAxis.getX(t,i,o),c=this.yAxis.getY(t,a,d);if(u=Y(u,-1e5,1e5),p=Y(p,-1e5,1e5),f=Y(f,-1e5,1e5),c=Y(c,-1e5,1e5),!this.noRisers&&e.length>1){var y=e[e.length-1];this.baseAxis==this.xAxis&&(n?e.push({x:y.x,y:c}):e.push({x:u,y:y.y})),this.baseAxis==this.yAxis&&(n?e.push({x:f,y:y.y}):e.push({x:y.x,y:p}))}var v={x:u,y:p},m={x:f,y:c};n?e.push(m,v):e.push(v,m)},r.prototype.drawSegment=function(e,t,i){var a=!1;this.yAxis==this.baseAxis&&(a=!0),e.drawSegment(t,i,this.tensionX,this.tensionY,this.noRisers,a)},r.prototype.createSegment=function(){return new Nr},Object.defineProperty(r.prototype,"noRisers",{get:function(){return this.getPropertyValue("noRisers")},set:function(e){this.setPropertyValue("noRisers",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"startLocation",{get:function(){return this.getPropertyValue("startLocation")},set:function(e){this.setPropertyValue("startLocation",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endLocation",{get:function(){return this.getPropertyValue("endLocation")},set:function(e){this.setPropertyValue("endLocation",e,!0)},enumerable:!0,configurable:!0}),r}(Fi);V.registeredClasses.StepLineSeries=Pn;V.registeredClasses.StepLineSeriesDataItem=zr;var Hr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="RadarColumn",e}return r.prototype.createAssets=function(){this.radarColumn=this.createChild(Ai),this.radarColumn.shouldClone=!1,this.radarColumn.strokeOpacity=void 0,this.column=this.radarColumn},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.radarColumn&&this.radarColumn.copyFrom(e.radarColumn)},r.prototype.getTooltipX=function(){var e=this.getPropertyValue("tooltipX");return g(e)?e:this.radarColumn.getTooltipX()},r.prototype.getTooltipY=function(){var e=this.getPropertyValue("tooltipX");return g(e)?e:this.radarColumn.getTooltipY()},r}(st);V.registeredClasses.RadarColumn=Hr;var Cn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ColumnSeriesDataItem",e.applyTheme(),e}return r}(Ke),Dn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="RadarColumnSeries",e.applyTheme(),e}return r.prototype.createColumnTemplate=function(){return new Hr},r.prototype.validate=function(){this.chart.invalid&&this.chart.validate(),l.prototype.validate.call(this)},r.prototype.disableUnusedColumns=function(e){e&&(e.column&&(e.column.__disabled=!0),w(this.axisRanges.iterator(),function(t){var i=e.rangesColumns.getKey(t.uid);i&&(i.__disabled=!0)}))},r.prototype.validateDataElementReal=function(e){var t=this,i=this.chart.startAngle,a=this.chart.endAngle,n=this.yField,s=this.yOpenField,o=this.xField,h=this.xOpenField,d,u,p,f,c=this.getStartLocation(e),y=this.getEndLocation(e),v=(a-i)/(this.dataItems.length*(this.end-this.start)),m=e.column;m||(m=this.columns.create(),e.column=m,re(this,m,J),re(this.columns.template,m,J),e.addSprite(m),m.paper=this.paper,this.setColumnStates(m));var x=m.width,P=100;x instanceof ce&&(P=x.percent);var S=j((y-c)*(1-P/100)/2,5);if(c+=S,y-=S,this.xAxis instanceof Z&&this.yAxis instanceof Z)p=K({x:this.yAxis.getX(e,n,0,"valueY"),y:this.yAxis.getY(e,n,0,"valueY")}),f=K({x:this.yAxis.getX(e,s,1,"valueY"),y:this.yAxis.getY(e,s,1,"valueY")}),d=this.xAxis.getAngle(e,h,0,"valueX"),u=this.xAxis.getAngle(e,o,1,"valueX"),i=i+c*v,a=a-(1-y)*v;else if(this.baseAxis==this.xAxis)p=K({x:this.yAxis.getX(e,n,e.locations[n],"valueY"),y:this.yAxis.getY(e,n,e.locations[n],"valueY")}),f=K({x:this.yAxis.getX(e,s,e.locations[s],"valueY"),y:this.yAxis.getY(e,s,e.locations[s],"valueY")}),d=this.xAxis.getAngle(e,h,c,"valueX"),u=this.xAxis.getAngle(e,o,y,"valueX"),i=i+c*v,a=a-(1-y)*v;else{if(p=K({x:this.yAxis.getX(e,n,c,"valueY"),y:this.yAxis.getY(e,n,c,"valueY")}),f=K({x:this.yAxis.getX(e,s,y,"valueY"),y:this.yAxis.getY(e,s,y,"valueY")}),g(x)){var D=Math.abs(p-f);if(D>x){var T=(D-x)/2;p+=T,f-=T}}d=this.xAxis.getAngle(e,o,e.locations[o],"valueX"),u=this.xAxis.getAngle(e,h,e.locations[h],"valueX")}if(u0?(O.arc=_,O.radius=p,O.innerRadius=f,m.__disabled=!1,m.parent=this.columnsContainer,w(this.axisRanges.iterator(),function(N){var F=e.rangesColumns.getKey(N.uid);F||(F=t.columns.create(),Ia(t.columns.template,F,J),re(N.contents,F,J),F.dataItem&&Ae(F.dataItem.sprites,F),e.addSprite(F),F.paper=t.paper,t.setColumnStates(F),e.rangesColumns.setKey(N.uid,F));var I=F.radarColumn;I.startAngle=d,I.arc=_,I.radius=p,I.innerRadius=f,I.invalid&&(I.paper=t.paper,I.validate()),F.__disabled=!1,F.parent=N.contents})):this.disableUnusedColumns(e)},r.prototype.getPoint=function(e,t,i,a,n,s,o){s||(s="valueX"),o||(o="valueY");var h=this.yAxis.getX(e,i,n,o),d=this.yAxis.getY(e,i,n,o),u=K({x:h,y:d});u==0&&(u=1e-5);var p=this.xAxis.getAngle(e,t,a,s);return{x:u*M(p),y:u*L(p)}},r.prototype.getMaskPath=function(){var e=this.yAxis.renderer;return _t(e.startAngle,e.endAngle-e.startAngle,e.pixelRadius,e.pixelInnerRadius)},r.prototype.positionBulletReal=function(e,t,i){var a=this.xAxis,n=this.yAxis;(ta.end||in.end)&&(e.visible=!1),e.moveTo(this.xAxis.renderer.positionToPoint(t,i))},r.prototype.setXAxis=function(e){l.prototype.setXAxis.call(this,e),this.updateRendererRefs()},r.prototype.setYAxis=function(e){l.prototype.setYAxis.call(this,e),this.updateRendererRefs()},r.prototype.updateRendererRefs=function(){var e=this.xAxis.renderer,t=this.yAxis.renderer;e.axisRendererY=t},r}(ot);V.registeredClasses.RadarColumnSeries=Dn;V.registeredClasses.RadarColumnSeriesDataItem=Cn;var xi=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.slice=e.createChild(q),e.slice.shouldClone=!1,e.slice.setElement(e.paper.add("path")),e.slice.isMeasured=!1,e.orientation="vertical",e.bottomWidth=k(100),e.topWidth=k(100),e.isMeasured=!1,e.width=10,e.height=10,e.expandDistance=0,e.className="FunnelSlice",e.applyTheme(),e}return r.prototype.draw=function(){l.prototype.draw.call(this);var e=this.pixelPaddingTop,t=this.pixelPaddingBottom,i=this.pixelPaddingRight,a=this.pixelPaddingLeft,n=this.pixelWidth-i-a,s=this.pixelHeight-e-t,o=this.expandDistance,h="";if(this.orientation=="vertical"){var d=oe(this.topWidth,n),u=oe(this.bottomWidth,n),p={x:(n-d)/2+a,y:e},f={x:(n+d)/2+a,y:e},c={x:(n+u)/2+a,y:e+s},y={x:(n-u)/2+a,y:e+s},v={x:f.x+(c.x-f.x)/2+o*s,y:f.y+.5*s},m={x:p.x+(y.x-p.x)/2-o*s,y:p.y+.5*s},x=R(c),P=R(p);o!=0&&(x=et(c,v),P=et(p,m)),h=W(p)+R(f)+x+R(y)+P,this.tickPoint={x:f.x+(c.x-f.x)/2,y:f.y+(c.y-f.y)/2}}else{var d=oe(this.topWidth,s),u=oe(this.bottomWidth,s),S={x:a,y:(s-d)/2+e},D={x:a,y:(s+d)/2+e},T={x:a+n,y:(s-u)/2+e},b={x:a+n,y:(s+u)/2+e},v={y:S.y+(T.y-S.y)/2-o*n,x:S.x+.5*n},m={y:D.y+(b.y-D.y)/2+o*n,x:D.x+.5*n},x=R(T),P=R(D);o!=0&&(x=et(T,v),P=et(D,m)),h=W(D)+R(S)+x+R(b)+P,this.tickPoint={y:D.y+(b.y-D.y)/2,x:D.x+(b.x-D.x)/2}}this.slice.path=h,this.invalidateLayout()},r.prototype.getPoint=function(e,t){var i=this.pixelPaddingTop,a=this.pixelPaddingBottom,n=this.pixelPaddingRight,s=this.pixelPaddingLeft,o=this.pixelWidth-n-s,h=this.pixelHeight-i-a;if(this.orientation=="vertical"){var d=oe(this.topWidth,o),u=oe(this.bottomWidth,o),p={x:(o-d)/2+s,y:i},f={x:(o+d)/2+s,y:i},c={x:(o+u)/2+s,y:i+h},y={x:(o-u)/2+s,y:i+h},v=p.x+(y.x-p.x)*t,m=f.x+(c.x-f.x)*t;return{x:v+(m-v)*e,y:f.y+(c.y-f.y)*t}}else{var d=oe(this.topWidth,h),u=oe(this.bottomWidth,h),x={x:s,y:(h-d)/2+i},P={x:s,y:(h+d)/2+i},S={x:s+o,y:(h-u)/2+i},D={x:s+o,y:(h+u)/2+i},T=x.y+(S.y-x.y)*e,b=P.y+(D.y-P.y)*e;return{y:T+(b-T)*t,x:x.x+(S.x-x.x)*e}}},Object.defineProperty(r.prototype,"bottomWidth",{get:function(){return this.getPropertyValue("bottomWidth")},set:function(e){this.setPercentProperty("bottomWidth",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"topWidth",{get:function(){return this.getPropertyValue("topWidth")},set:function(e){this.setPercentProperty("topWidth",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(e){this.setPropertyValue("orientation",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"expandDistance",{get:function(){return this.getPropertyValue("expandDistance")},set:function(e){this.setPropertyValue("expandDistance",e,!0)},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.slice&&this.slice.copyFrom(e.slice)},r}(X);V.registeredClasses.FunnelSlice=xi;var Ur=function(l){A(r,l);function r(){var e=l.call(this)||this;return e._label=new le,e._slice=new le,e.className="FunnelTick",e.element=e.paper.add("path"),e._disposers.push(e._label),e._disposers.push(e._slice),e.setPropertyValue("locationX",0),e.setPropertyValue("locationY",0),e.applyTheme(),e}return r.prototype.draw=function(){l.prototype.draw.call(this);var e=this.slice,t=e.getPoint(this.locationX,this.locationY);if(t){var i=this.label,a=e.dataItem.component,n=void 0,s=void 0,o=void 0;if(a.orientation=="vertical"){var h=i.pixelX,d=i.pixelY;a.labelsOpposite||(h+=i.maxRight),n=De(t,e,this.parent),o=De({x:h,y:d},i.parent,this.parent),s={x:i.parent.pixelX-this.length,y:o.y},a.labelsOpposite||(s.x=i.parent.measuredWidth+this.length)}else{var h=i.pixelX,d=i.pixelY;a.labelsOpposite||(d+=i.maxBottom),n=De(t,e,this.parent),o=De({x:h,y:d},i.parent,this.parent),s={x:o.x,y:i.parent.pixelY-this.length},a.labelsOpposite||(s.y=i.parent.measuredHeight+this.length)}this.path=W(n)+R(s)+R(o)}},Object.defineProperty(r.prototype,"slice",{get:function(){return this._slice.get()},set:function(e){this._slice.set(e,new it([e.events.on("transformed",this.invalidate,this,!1),e.events.on("validated",this.invalidate,this,!1)]))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"label",{get:function(){return this._label.get()},set:function(e){this._label.set(e,e.events.on("transformed",this.invalidate,this,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"locationX",{get:function(){return this.getPropertyValue("locationX")},set:function(e){this.setPropertyValue("locationX",e,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"locationY",{get:function(){return this.getPropertyValue("locationY")},set:function(e){this.setPropertyValue("locationY",e,!1,!0)},enumerable:!0,configurable:!0}),r}(St);V.registeredClasses.FunnelTick=Ur;var Ei=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="FunnelSeriesDataItem",e.events.on("visibilitychanged",function(){e.component&&e.component.invalidateDataItems()},e,!1),e.applyTheme(),e}return Object.defineProperty(r.prototype,"sliceLink",{get:function(){var e=this;if(!this._sliceLink){var t=this.component.sliceLinks.create();this._sliceLink=t,this._disposers.push(t),t.parent=this.component.slicesContainer,this._disposers.push(new se(function(){e.component&&e.component.sliceLinks.removeValue(t)})),this.addSprite(t),t.visible=this.visible}return this._sliceLink},enumerable:!0,configurable:!0}),r}(Qt),Gr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e._nextY=0,e.className="FunnelSeries",e.orientation="vertical",e.width=k(100),e.height=k(100),e.slicesContainer.width=k(100),e.slicesContainer.height=k(100),e._disposers.push(e.slicesContainer.events.on("maxsizechanged",e.invalidateDataItems,e,!1)),e.labelsOpposite=!0,e.labelsContainer.layout="absolute",e.bottomRatio=0,e.applyTheme(),e}return r.prototype.createSlice=function(){return new xi},r.prototype.createTick=function(){return new Ur},r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Funnel Series"))},r.prototype.createDataItem=function(){return new Ei},r.prototype.initSlice=function(e){e.isMeasured=!1,e.defaultState.properties.scale=1,e.observe("scale",this.handleSliceScale,this),e.observe(["dx","dy","x","y"],this.handleSliceMove,this),e.tooltipText="{category}: {value.percent.formatNumber('#.#p')} ({value.value})";var t=e.states.create("hover");t.properties.expandDistance=.2},r.prototype.initLabel=function(e){l.prototype.initLabel.call(this,e),e.verticalCenter="middle",e.horizontalCenter="middle",e.isMeasured=!0,e.padding(5,5,5,5)},r.prototype.validate=function(){l.prototype.validate.call(this),this._nextY=0},r.prototype.validateDataElements=function(){var e=this,t=this.slicesContainer,i=this.labelsContainer,a=this.labels.template;this.alignLabels?(a.interactionsEnabled=!0,t.isMeasured=!0,i.isMeasured=!0):(a.interactionsEnabled=!1,t.isMeasured=!1,i.isMeasured=!1);var n=0,s=0;this.dataItems.each(function(o){C(o.value)&&(s++,o.value>0?n+=Math.abs(o.getWorkingValue("value")/o.value):e.ignoreZeroValues||!o.visible||o.__disabled||o.isHiding?s--:n+=1)}),this._total=1/s*n,this._count=s,l.prototype.validateDataElements.call(this),this.arrangeLabels()},r.prototype.getNextValue=function(e){var t=e.index,i=e.getWorkingValue("value");if(t0){var t=this.labels.getIndex(e);return t.__disabled||!t.visible?this.getLastLabel(e-1):t}},r.prototype.arrangeLabels=function(){if(this.alignLabels){var e=this.labels.length;if(e>1){var t=this.getLastLabel(e-1);if(t){var i=t.pixelY,a=t.pixelX;if(e>1){for(var n=e-2;n>=0;n--){var s=this.labels.getIndex(n);s.visible&&!s.__disabled&&(s.invalid&&s.validate(),this.orientation=="vertical"?s.pixelY+s.measuredHeight>i&&(s.y=Math.min(1e6,i-s.measuredHeight)):s.pixelX+s.measuredWidth>a&&(s.x=Math.min(1e6,a-s.measuredWidth)),i=s.pixelY,a=s.pixelX)}i=0,a=0;for(var n=0;n0){var o=s.getWorkingValue("value")/s.value,h=s.sliceLink;e.orientation=="vertical"?i-=h.pixelHeight*o:t-=h.pixelWidth*o}}),this._pyramidHeight=oe(this.pyramidHeight,i),this._pyramidWidth=oe(this.pyramidHeight,t),this.orientation=="vertical"){var a=(i-this._pyramidHeight)/2;this.slicesContainer.y=a,this.labelsContainer.y=a,this.ticksContainer.y=a}else{var n=(t-this._pyramidWidth)/2;this.slicesContainer.x=n,this.labelsContainer.x=n,this.ticksContainer.x=n}l.prototype.validateDataElements.call(this)},r.prototype.decorateSlice=function(e){var t=this.dataItem.values.value.absoluteSum;if(t!=0){var i=e.slice,a=e.sliceLink,n=e.label,s=e.tick;this.getNextValue(e);var o=Math.abs(e.getWorkingValue("value")),h=this._pyramidWidth,d=this._pyramidHeight,u=this.slicesContainer.innerWidth,p=this.slicesContainer.innerHeight,f=a.pixelWidth,c=a.pixelHeight;if((e.value==0||e.value==null)&&this.ignoreZeroValues?e.__disabled=!0:e.__disabled=!1,this.orientation=="vertical"){var y=oe(this.topWidth,u);g(this._nextWidth)||(this._nextWidth=y);var v=oe(this.bottomWidth,u),m=this._nextWidth,x=Math.atan2(d,y-v),P=Math.tan(Math.PI/2-x);P==0&&(P=1e-8);var S=void 0,D=void 0;if(this.valueIs=="area"){var T=(y+v)/2*d,b=T*o/t,O=Math.abs(m*m-2*b*P);S=(m-Math.sqrt(O))/P,S>0?D=(2*b-S*m)/S:D=m}else S=d*o/t,D=m-S*P;i.height=S,i.width=u,i.bottomWidth=D,i.topWidth=m,a.topWidth=i.bottomWidth,a.bottomWidth=i.bottomWidth,i.y=this._nextY,this.alignLabels?n.x=0:n.x=u/2,n.y=i.pixelY+i.pixelHeight*s.locationY+i.dy,this._nextY+=i.pixelHeight+c*o/Math.max(Math.abs(e.value),1e-8),a.y=this._nextY-c,a.x=u/2}else{var y=oe(this.topWidth,p);g(this._nextWidth)||(this._nextWidth=y);var v=oe(this.bottomWidth,p),m=this._nextWidth,x=Math.atan2(h,y-v),P=Math.tan(Math.PI/2-x);P==0&&(P=1e-8);var _=void 0,D=void 0;if(this.valueIs=="area"){var T=(y+v)/2*h,b=T*o/t;_=(m-Math.sqrt(m*m-2*b*P))/P,D=(2*b-_*m)/_}else _=h*o/t,D=m-_*P;i.width=_,i.height=p,i.bottomWidth=D,i.topWidth=m,a.topWidth=i.bottomWidth,a.bottomWidth=i.bottomWidth,i.x=this._nextY,this.alignLabels?n.y=this.labelsContainer.measuredHeight:n.y=p/2,n.x=i.pixelX+i.pixelWidth*s.locationX+i.dx,this._nextY+=i.pixelWidth+f*o/Math.max(Math.abs(e.value),1e-8),a.x=this._nextY-f,a.y=p/2}this._nextWidth=i.bottomWidth}},Object.defineProperty(r.prototype,"topWidth",{get:function(){return this.getPropertyValue("topWidth")},set:function(e){this.setPercentProperty("topWidth",e,!1,!1,10,!1)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pyramidHeight",{get:function(){return this.getPropertyValue("pyramidHeight")},set:function(e){this.setPercentProperty("pyramidHeight",e,!1,!1,10,!1)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"bottomWidth",{get:function(){return this.getPropertyValue("bottomWidth")},set:function(e){this.setPercentProperty("bottomWidth",e,!1,!1,10,!1)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"valueIs",{get:function(){return this.getPropertyValue("valueIs")},set:function(e){this.setPropertyValue("valueIs",e)&&this.invalidate()},enumerable:!0,configurable:!0}),r}(Gr);V.registeredClasses.PyramidSeries=Kr;V.registeredClasses.PyramidSeriesDataItem=Bi;var Zr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PictorialStackedSeriesDataItem",e.applyTheme(),e}return r}(Bi),An=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PictorialStackedSeries",e.topWidth=k(100),e.bottomWidth=k(100),e.valueIs="height",e.applyTheme(),e.startLocation=0,e.endLocation=1,e.align="center",e.valign="middle",e._maskSprite=e.slicesContainer.createChild(q),e._maskSprite.visible=!1,e._maskSprite.zIndex=100,e._maskSprite.shouldClone=!1,e}return r.prototype.validateDataElements=function(){var e=this.slicesContainer.maxWidth,t=this.slicesContainer.maxHeight,i=this._maskSprite,a=i.measuredWidth/i.scale,n=i.measuredHeight/i.scale,s=U(t/n,e/a);s==1/0&&(s=1),s=ee(.001,s);var o=this.startLocation,h=this.endLocation,d=U(e,a*s),u=U(t,n*s);i.scale=s,this.orientation=="vertical"?(this.topWidth=d+4,this.bottomWidth=d+4,this.pyramidHeight=u*(h-o),i.x=e/2,i.y=u/2):(this.topWidth=u+4,this.bottomWidth=u+4,this.pyramidHeight=d*(h-o),i.valign="middle",i.x=d/2,i.y=t/2),i.verticalCenter="middle",i.horizontalCenter="middle",l.prototype.validateDataElements.call(this);var p,f;this.orientation=="vertical"?(this.valign=="bottom"&&(p=t-u),this.valign=="middle"&&(p=(t-u)/2),this.valign=="top"&&(p=0),this.align=="left"&&(f=-(e-d)/2),this.align=="center"&&(f=0),this.align=="right"&&(f=(e-d)/2),this.slices.template.dy=o*u,this.alignLabels&&(this.slicesContainer.dx=f)):(this.valign=="bottom"&&(p=(t-u)/2),this.valign=="middle"&&(p=0),this.valign=="top"&&(p=-(t-u)/2),this.align=="left"&&(f=0),this.align=="center"&&(f=(e-d)/2),this.align=="right"&&(f=e-d),this.slices.template.dx=o*d,this.alignLabels&&(this.slicesContainer.dy=p)),this.slicesContainer.x=f,this.labelsContainer.x=f,this.ticksContainer.x=f,this.slicesContainer.y=p,this.labelsContainer.y=p,this.ticksContainer.y=p,d>0&&u>0&&(this.slicesContainer.mask=i)},r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Pyramid Series"))},r.prototype.createDataItem=function(){return new Zr},Object.defineProperty(r.prototype,"maskSprite",{get:function(){return this._maskSprite},enumerable:!0,configurable:!0}),r.prototype.initSlice=function(e){l.prototype.initSlice.call(this,e);var t=e.states.getKey("hover");t&&(t.properties.expandDistance=0)},Object.defineProperty(r.prototype,"startLocation",{get:function(){return this.getPropertyValue("startLocation")},set:function(e){this.setPropertyValue("startLocation",e)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endLocation",{get:function(){return this.getPropertyValue("endLocation")},set:function(e){this.setPropertyValue("endLocation",e)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),r}(Kr);V.registeredClasses.PictorialStackedSeries=An;V.registeredClasses.PictorialStackedSeriesDataItem=Zr;var qr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ConeColumn",e}return r.prototype.createAssets=function(){this.coneColumn=this.createChild(Ra),this.coneColumn.shouldClone=!1,this.column=this.coneColumn},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.coneColumn&&this.coneColumn.copyFrom(e.coneColumn)},r}(st);V.registeredClasses.ConeColumn=qr;var _n=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ConeSeriesDataItem",e.applyTheme(),e}return r}(Ke),Vn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ConeSeries",e.applyTheme(),e}return r.prototype.createColumnTemplate=function(){return new qr},r.prototype.getMaskPath=function(){var e=0,t=0,i=this.columns.getIndex(0);if(i)return this.baseAxis==this.xAxis?t=i.coneColumn.innerWidth/2+1:e=i.coneColumn.innerHeight/2+1,Be({x:-e,y:0,width:this.xAxis.axisLength+e,height:this.yAxis.axisLength+t})},r.prototype.validateDataElementReal=function(e){l.prototype.validateDataElementReal.call(this,e);var t=e.column;if(t){var i=e.column.coneColumn;i.fill=e.column.fill,this.baseAxis==this.yAxis?i.orientation="horizontal":i.orientation="vertical"}},r}(ot);V.registeredClasses.ConeSeries=Vn;V.registeredClasses.ConeSeriesDataItem=_n;var $r=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="CurvedColumn",e}return r.prototype.createAssets=function(){this.curvedColumn=this.createChild(q),this.curvedColumn.shouldClone=!1,this.setPropertyValue("tension",.7),this.width=k(120),this.height=k(120),this.column=this.curvedColumn},r.prototype.draw=function(){l.prototype.draw.call(this);var e=this.realWidth,t=this.realHeight,i=this.realX-this.pixelX,a=this.realY-this.pixelY,n;He(this.width);var s=1,o=1;this.orientation=="vertical"?(s=this.tension,n=[{x:0,y:t+a},{x:e/2,y:a},{x:e,y:t+a}]):(o=this.tension,t=Math.abs(t),n=[{x:i,y:t},{x:i+e,y:t/2},{x:i,y:0}]);var h=W(n[0])+new Ct(s,o).smooth(n);this.column.path=h},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.curvedColumn&&this.curvedColumn.copyFrom(e.curvedColumn)},Object.defineProperty(r.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(e){this.setPropertyValue("tension",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(e){this.setPropertyValue("orientation",e,!0)},enumerable:!0,configurable:!0}),r}(st);V.registeredClasses.CurvedColumn=$r;var Sn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="CurvedColumnSeriesDataItem",e.applyTheme(),e}return r}(Ke),Tn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="CurvedColumnSeries",e.applyTheme(),e}return r.prototype.createColumnTemplate=function(){return new $r},r.prototype.validateDataElementReal=function(e){l.prototype.validateDataElementReal.call(this,e);var t=e.column;if(t=e.column,t){var i=e.column.curvedColumn;i.fill=e.column.fill,this.baseAxis==this.yAxis?t.orientation="horizontal":t.orientation="vertical"}},r}(ot);V.registeredClasses.CurvedColumnSeries=Tn;V.registeredClasses.CurvedColumnSeriesDataItem=Sn;var On=function(l){A(r,l);function r(){var e=l.call(this)||this;e.className="CircleBullet";var t=e.createChild(Ci);return t.shouldClone=!1,t.radius=5,t.isMeasured=!1,e.circle=t,e.applyTheme(),e}return r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.circle.copyFrom(e.circle)},r}(We);V.registeredClasses.CircleBullet=On;var kn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ErrorBullet",e.errorLine=e.createChild(q),e.errorLine.shouldClone=!1,e.width=20,e.height=20,e.strokeOpacity=1,e.isDynamic=!0,e}return r.prototype.validatePosition=function(){l.prototype.validatePosition.call(this);var e=this.pixelWidth/2,t=this.pixelHeight/2;this.errorLine.path=W({x:-e,y:-t})+R({x:e,y:-t})+W({x:0,y:-t})+R({x:0,y:t})+W({x:-e,y:t})+R({x:e,y:t})},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.errorLine.copyFrom(e.errorLine)},r}(We);V.registeredClasses.ErrorBullet=kn;var wn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="NavigationBarDataItem",e.applyTheme(),e}return Object.defineProperty(r.prototype,"name",{get:function(){return this.properties.name},set:function(e){this.setProperty("name",e)},enumerable:!0,configurable:!0}),r}(ct),Fn=function(l){A(r,l);function r(){var e=l.call(this)||this;e.className="NavigationBar";var t=new te,i=new er;i.valign="middle",i.paddingTop=8,i.paddingBottom=8,e.paddingBottom=2,e.links=new Q(i),e._disposers.push(new G(e.links)),e._disposers.push(i),e._linksIterator=new Pi(e.links,function(){return e.links.create()}),e._linksIterator.createNewItems=!0;var a=new ja;a.direction="right",a.width=8,a.height=12,a.fill=t.getFor("alternativeBackground"),a.fillOpacity=.5,a.valign="middle",a.marginLeft=10,a.marginRight=10,e.separators=new Q(a),e._disposers.push(new G(e.separators)),e._disposers.push(a);var n=new er;return e.activeLink=n,n.copyFrom(i),n.valign="middle",n.fontWeight="bold",e.width=k(100),e.layout="grid",e.dataFields.name="name",e.applyTheme(),e}return r.prototype.validateDataElements=function(){this.removeChildren(),this._linksIterator.reset(),l.prototype.validateDataElements.call(this)},r.prototype.validateDataElement=function(e){l.prototype.validateDataElement.call(this,e);var t;if(e.indext.getHitOption(this.interactions,"hitTolerance")){switch(this._generalBehavior){case"zoom":this.dispatch("zoomended");break;case"select":this.dispatch("selectended");break;case"pan":this.dispatch("panended"),t.setGlobalStyle(xt.default);break}this.downPoint=void 0,this.updateSelection()}},r.prototype.updateSelection=function(){},r.prototype.getPositions=function(){this.xPosition=this.point.x/this.innerWidth,this.yPosition=1-this.point.y/this.innerHeight},r.prototype.handleCursorDown=function(e){if(!(!this.interactionsEnabled||this.interactions.isTouchProtected&&e.touch||!Re().isLocalElement(e.pointer,this.paper.svg,this.uid))){Xa();var t=ai(e.pointer.point,this);this._stick=="hard"&&this._stickPoint&&(t=this._stickPoint),this._adapterO&&this._adapterO.apply("cursorPoint",t),this.fitsToBounds(t)&&(this._downPointOrig={x:t.x,y:t.y},e.event.cancelable&&this.shouldPreventGestures(e.touch)&&this.fitsToBounds(t)&&e.event.preventDefault(),this.triggerMove(t),this.triggerDown(t))}},r.prototype.shouldPreventGestures=function(e){return!0},r.prototype.updatePoint=function(e){},r.prototype.handleCursorUp=function(e){if(!!this.interactionsEnabled&&!(!this.downPoint&&!Re().isLocalElement(e.pointer,this.paper.svg,this.uid))){var t=ai(e.pointer.point,this);this._adapterO&&this._adapterO.apply("cursorPoint",t),!(!this.downPoint||!this.fitsToBounds(this.downPoint))&&(this._stick=="hard"&&this._stickPoint&&(t=this._stickPoint),this._upPointOrig={x:t.x,y:t.y},this.triggerMove(t),this.triggerUp(t))}},Object.defineProperty(r.prototype,"chart",{get:function(){return this._chart},set:function(e){this._chart=e,C(this._chart.plotContainer)&&Re().lockElement(this._chart.plotContainer.interactions)},enumerable:!0,configurable:!0}),r}(X);V.registeredClasses.Cursor=Jr;var Qr=function(l){A(r,l);function r(){var e=l.call(this)||this;e._lineX=new le,e._lineY=new le,e._xAxis=new le,e._yAxis=new le,e._snapToDisposers=[],e.className="XYCursor",e.behavior="zoomX",e.maxPanOut=.1;var t=new te;e.snapOnPan=!0;var i=e.createChild(q);i.shouldClone=!1,i.fillOpacity=.2,i.fill=t.getFor("alternativeBackground"),i.isMeasured=!1,i.visible=!1,i.interactionsEnabled=!1,e.selection=i,e._disposers.push(e.selection);var a=e.createChild(q);a.shouldClone=!1,a.stroke=t.getFor("grid"),a.fill=Te(),a.strokeDasharray="3,3",a.isMeasured=!1,a.strokeOpacity=.4,a.interactionsEnabled=!1,a.y=0,e.lineX=a,e._disposers.push(e.lineX);var n=e.createChild(q);return n.shouldClone=!1,n.stroke=t.getFor("grid"),n.fill=Te(),n.strokeDasharray="3,3",n.isMeasured=!1,n.strokeOpacity=.4,n.interactionsEnabled=!1,n.x=0,e.lineY=n,e._disposers.push(e.lineY),e.events.on("sizechanged",e.updateSize,e,!1),e._disposers.push(e._lineX),e._disposers.push(e._lineY),e._disposers.push(e._xAxis),e._disposers.push(e._yAxis),e.mask=e,e.hideSeriesTooltipsOnSelection=!0,e.applyTheme(),e}return r.prototype.updateSize=function(){this.lineX&&(this.lineX.path=W({x:0,y:0})+R({x:0,y:this.innerHeight})),this.lineY&&(this.lineY.path=W({x:0,y:0})+R({x:this.innerWidth,y:0}))},r.prototype.updateSelection=function(){if(this._usesSelection){var e=this.downPoint,t=this.behavior;if(e){var i=this.point;this.lineX&&(i.x=this.lineX.pixelX),this.lineY&&(i.y=this.lineY.pixelY);var a=this.selection,n=Math.min(i.x,e.x),s=Math.min(i.y,e.y),o=j(Math.abs(e.x-i.x),this._positionPrecision),h=j(Math.abs(e.y-i.y),this._positionPrecision);switch(t){case"zoomX":s=0,h=this.pixelHeight;break;case"zoomY":n=0,o=this.pixelWidth;break;case"selectX":s=0,h=this.pixelHeight;break;case"selectY":n=0,o=this.pixelWidth;break}a.x=n,a.y=s,a.path=ni(o,h),a.validatePosition()}else this._generalBehavior!="select"&&this.selection.hide()}},r.prototype.fixPoint=function(e){return e.x=Math.max(0,e.x),e.y=Math.max(0,e.y),e.x=Math.min(this.pixelWidth,e.x),e.y=Math.min(this.pixelHeight,e.y),e},r.prototype.triggerMoveReal=function(e,t){l.prototype.triggerMoveReal.call(this,e,t);var i=this.snapToSeries;if(i&&!this.downPoint)if(i instanceof at)i.isHidden&&this.updateLinePositions(e);else{var a=!0;H(i,function(n){n.isHidden||(a=!1)}),a&&this.updateLinePositions(e)}else this.updateLinePositions(e);this.downPoint&&K(this.downPoint,e)>3&&this._generalBehavior=="pan"&&(this.getPanningRanges(),this.dispatch("panning"))},r.prototype.updateLinePositions=function(e){e=this.fixPoint(this.point),this.lineX&&this.lineX.visible&&!this.xAxis&&(this.lineX.x=e.x),this.lineY&&this.lineY.visible&&!this.yAxis&&(this.lineY.y=e.y),this.updateSelection()},r.prototype.triggerDownReal=function(e){if(this.visible&&!this.isHiding)if(this._generalBehavior=="select"&&(this.selection.parent=this.parent),this.fitsToBounds(e)){this.downPoint={x:e.x,y:e.y},this.updatePoint(e),this.point.x=this.downPoint.x,this.point.y=this.downPoint.y;var t=this.selection,i=this.downPoint.x,a=this.downPoint.y;this._usesSelection&&(t.x=i,t.y=a,t.path="",t.show()),l.prototype.triggerDownReal.call(this,e)}else this.downPoint=void 0;else this.downPoint=void 0},r.prototype.updatePoint=function(e){this.lineX&&(e.x=this.lineX.pixelX),this.lineY&&(e.y=this.lineY.pixelY)},r.prototype.triggerUpReal=function(e){if(this.hasMoved())this.downPoint&&(this.upPoint=e,this.updatePoint(this.upPoint),this._generalBehavior!="pan"&&this.getRanges(),this._generalBehavior!="select"&&this.selection.hide(),l.prototype.triggerUpReal.call(this,e));else{if(this._generalBehavior!="select"?this.selection.hide(0):(this.xRange=void 0,this.yRange=void 0,this.dispatchImmediately("selectended")),this._generalBehavior=="pan"){var t=Re();t.setGlobalStyle(xt.default)}this.dispatchImmediately("behaviorcanceled")}this.downPoint=void 0,this.dispatch("cursorpositionchanged")},r.prototype.hasMoved=function(){var e;return this.behavior=="zoomX"||this.behavior=="panX"?e=Ya(this._upPointOrig,this._downPointOrig):this.behavior=="zoomY"||this.behavior=="panY"?e=Ea(this._upPointOrig,this._downPointOrig):e=K(this._upPointOrig,this._downPointOrig),e>Re().getHitOption(this.interactions,"hitTolerance")},r.prototype.getPanningRanges=function(){var e=j(this.downPoint.x/this.innerWidth,5),t=1-j(this.downPoint.y/this.innerHeight,5),i=j(this.point.x/this.innerWidth,5),a=1-j(this.point.y/this.innerHeight,5),n=e-i,s=t-a;this.xRange={start:n,end:1+n},this.yRange={start:s,end:1+s},this.behavior=="panX"&&(this.yRange.start=0,this.yRange.end=1),this.behavior=="panY"&&(this.xRange.start=0,this.xRange.end=1)},r.prototype.getRanges=function(){this.lineX&&(this.upPoint.x=this.lineX.pixelX),this.lineY&&(this.upPoint.y=this.lineY.pixelY),He(this.selection);var e=j(this.downPoint.x/this.innerWidth,5),t=j(this.upPoint.x/this.innerWidth,5),i=1-j(this.downPoint.y/this.innerHeight,5),a=1-j(this.upPoint.y/this.innerHeight,5);this.xRange={start:U(e,t),end:ee(e,t)},this.yRange={start:U(i,a),end:ee(i,a)}},Object.defineProperty(r.prototype,"behavior",{get:function(){return this.getPropertyValue("behavior")},set:function(e){this.setPropertyValue("behavior",e,!0),this._usesSelection=!1,e.indexOf("zoom")!=-1&&(this._generalBehavior="zoom",this._usesSelection=!0),e.indexOf("select")!=-1&&(this._generalBehavior="select",this._usesSelection=!0),e.indexOf("pan")!=-1&&(this._generalBehavior="pan",this._usesSelection=!1)},enumerable:!0,configurable:!0}),r.prototype.shouldPreventGestures=function(e){return(!this.interactions.isTouchProtected||!e)&&this.behavior!="none"},Object.defineProperty(r.prototype,"fullWidthLineX",{get:function(){return this.getPropertyValue("fullWidthLineX")},set:function(e){this.setPropertyValue("fullWidthLineX",e),e||this.updateSize()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"fullWidthLineY",{get:function(){return this.getPropertyValue("fullWidthLineY")},set:function(e){this.setPropertyValue("fullWidthLineY",e),e||this.updateSize()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hideSeriesTooltipsOnSelection",{get:function(){return this.getPropertyValue("hideSeriesTooltipsOnSelection")},set:function(e){this.setPropertyValue("hideSeriesTooltipsOnSelection",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maxTooltipDistance",{get:function(){return this.getPropertyValue("maxTooltipDistance")},set:function(e){this.setPropertyValue("maxTooltipDistance",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maxPanOut",{get:function(){return this.getPropertyValue("maxPanOut")},set:function(e){this.setPropertyValue("maxPanOut",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"xAxis",{get:function(){return this._xAxis.get()},set:function(e){var t=this;this._xAxis.get()!=e&&this._xAxis.set(e,new it([e.tooltip.events.on("positionchanged",this.handleXTooltipPosition,this,!1),e.events.on("rangechangestarted",function(i){t.hide(0),t.preventShow=!0},void 0,!1),e.events.on("rangechangeended",function(i){t.preventShow=!1,t.hide(0),t.dispatch("cursorpositionchanged")},void 0,!1)]))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"yAxis",{get:function(){return this._yAxis.get()},set:function(e){var t=this;this._yAxis.get()!=e&&this._yAxis.set(e,new it([e.tooltip.events.on("positionchanged",this.handleYTooltipPosition,this,!1),e.events.on("rangechangestarted",function(i){t.hide(0),t.__disabled=!0},void 0,!1),e.events.on("rangechangeended",function(i){t.__disabled=!1,t.hide(0),t.dispatch("cursorpositionchanged")},void 0,!1)]))},enumerable:!0,configurable:!0}),r.prototype.handleXTooltipPosition=function(e){var t=this.xAxis.tooltip,i=Ue({x:t.pixelX,y:t.pixelY},this),a=i.x;if(i.y=1,this.lineX&&(this.lineX.x=a,this.fitsToBounds(i)||this.hide()),this.xAxis&&this.fullWidthLineX){var n=this.xAxis.currentItemStartPoint,s=this.xAxis.currentItemEndPoint;if(n&&s){this.lineX.x=a;var o=s.x-n.x;this.lineX.path=ni(o,this.innerHeight,-o/2)}}},r.prototype.handleYTooltipPosition=function(e){var t=this.yAxis.tooltip,i=Ue({x:t.pixelX,y:t.pixelY},this),a=i.y;if(i.x=1,this.lineY&&(this.lineY.y=a,this.fitsToBounds(i)||this.hide()),this.yAxis&&this.fullWidthLineY){var n=this.yAxis.currentItemStartPoint,s=this.yAxis.currentItemEndPoint;if(n&&s){this.lineY.y=a;var o=s.y-n.y;this.lineY.path=ni(this.innerWidth,o,0,-o/2)}}},Object.defineProperty(r.prototype,"lineX",{get:function(){return this._lineX.get()},set:function(e){e?(e.setElement(this.paper.add("path")),this._lineX.set(e,e.events.on("positionchanged",this.updateSelection,this,!1)),e.interactionsEnabled=!1,e.parent=this):this._lineX.reset()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"lineY",{get:function(){return this._lineY.get()},set:function(e){e?(e.setElement(this.paper.add("path")),this._lineY.set(e,e.events.on("positionchanged",this.updateSelection,this,!1)),e.parent=this,e.interactionsEnabled=!1):this._lineY.reset()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"selection",{get:function(){return this._selection},set:function(e){this._selection=e,e&&(e.element=this.paper.add("path"),e.parent=this)},enumerable:!0,configurable:!0}),r.prototype.processConfig=function(e){var t=this;if(e&&(C(e.xAxis)&&ae(e.xAxis)&&(this.map.hasKey(e.xAxis)?e.xAxis=this.map.getKey(e.xAxis):(this.processingErrors.push('[XYCursor] No axis with id "'+e.xAxis+'" found for `xAxis`'),delete e.xAxis)),C(e.yAxis)&&ae(e.yAxis)&&(this.map.hasKey(e.yAxis)?e.yAxis=this.map.getKey(e.yAxis):(this.processingErrors.push('[XYCursor] No axis with id "'+e.yAxis+'" found for `yAxis`'),delete e.yAxis)),C(e.snapToSeries))){var i=ke(e.snapToSeries)?e.snapToSeries:[e.snapToSeries],a=!1;H(i,function(n,s){ae(n)&&(t.map.hasKey(n)?i[s]=t.map.getKey(n):(t.processingErrors.push('[XYCursor] No series with id "'+n+'" found for `series`'),a=!0))}),a?delete e.snapToSeries:e.snapToSeries=i}l.prototype.processConfig.call(this,e)},Object.defineProperty(r.prototype,"snapToSeries",{get:function(){return this.getPropertyValue("snapToSeries")},set:function(e){var t=this;this.setPropertyValue("snapToSeries",e)&&(e instanceof at&&(e=[e]),this._snapToDisposers&&H(this._snapToDisposers,function(i){i.dispose()}),this._snapToDisposers=[],e&&H(e,function(i){t._snapToDisposers.push(i.events.on("tooltipshownat",function(){t.handleSnap(i)},void 0,!1))}))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"snapOnPan",{get:function(){return this.getPropertyValue("snapOnPan")},set:function(e){this.setPropertyValue("snapOnPan",e)},enumerable:!0,configurable:!0}),r.prototype.handleSnap=function(e){if(!this.downPoint){var t=e.getTooltipX()+e.xAxis.pixelX,i=e.getTooltipY()+e.yAxis.pixelY,a=e.xAxis,n=e.yAxis;a&&a.renderer.opposite&&(i-=this.pixelHeight),this.point={x:t,y:i},this.getPositions();var s=t,o=i;t-=this.pixelWidth,n&&n.renderer.opposite&&(t+=this.pixelWidth);var h=e.tooltip,d=h.animationDuration,u=h.animationEasing;a instanceof E&&!(a instanceof z)&&n instanceof E&&!(n instanceof z)?(e.yAxis.showTooltipAtPosition(this.yPosition),e.xAxis.showTooltipAtPosition(this.xPosition)):(e.baseAxis==e.xAxis&&e.yAxis.showTooltipAtPosition(this.yPosition),e.baseAxis==e.yAxis&&e.xAxis.showTooltipAtPosition(this.xPosition)),this.lineY.x=t,this.lineX.y=i,this.xAxis||this.lineX.animate([{property:"x",to:s}],d,u),this.yAxis||this.lineY.animate([{property:"y",to:o}],d,u)}},r.prototype.dispose=function(){this.hide(0),l.prototype.dispose.call(this)},r}(Jr);V.registeredClasses.XYCursor=Qr;var Mn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="RadarCursor",e.radius=k(100),e.innerRadius=k(0),e.applyTheme(),e.mask=void 0,e}return r.prototype.fitsToBounds=function(e){var t=K(e);return tthis.pixelInnerRadius-1},Object.defineProperty(r.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(e){this.setPropertyValue("startAngle",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(e){this.setPropertyValue("endAngle",e,!0)},enumerable:!0,configurable:!0}),r.prototype.triggerMoveReal=function(e,t){(!this.xAxis||this.xAxis&&(!this.xAxis.cursorTooltipEnabled||this.xAxis.tooltip.disabled))&&this.updateLineX(this.point),(!this.yAxis||this.yAxis&&(!this.yAxis.cursorTooltipEnabled||this.yAxis.tooltip.disabled))&&this.updateLineY(this.point),this.updateSelection(),l.prototype.triggerMoveReal.call(this,e,t)},r.prototype.updateLineX=function(e){var t=this.pixelRadius,i=this.startAngle,a=this.endAngle,n=this.pixelInnerRadius;if(t>0&&g(i)&&g(a)&&g(n)){var s=Ie(_e(e),i,a),o=void 0;if(this.lineX&&this.lineX.visible){if(this.lineX.moveTo({x:0,y:0}),this.xAxis&&this.fullWidthLineX){var h=this.xAxis.currentItemStartPoint,d=this.xAxis.currentItemEndPoint;if(h&&d){var u=Ie(_e(h),i,a),p=Ie(_e(d),i,a),f=p-u;i0&&(f-=360),s-=f/2,o=W({x:n*M(s),y:n*L(s)})+R({x:t*M(s),y:t*L(s)})+fe(s,f,t)+R({x:n*M(s+f),y:n*L(s+f)})+fe(s+f,-f,n)}}o||(o=W({x:n*M(s),y:n*L(s)})+R({x:t*M(s),y:t*L(s)})),this.lineX.path=o}}},r.prototype.updateLineY=function(e){if(this.lineY&&this.lineY.visible){var t=this.startAngle,i=this.endAngle,a=this.truePixelRadius,n=Y(K(e),0,this.truePixelRadius);if(g(n)&&g(t)){this.lineY.moveTo({x:0,y:0});var s=void 0,o=i-t;if(this.yAxis&&this.fullWidthLineY){var h=this.yAxis.currentItemStartPoint,d=this.yAxis.currentItemEndPoint;if(h&&d){var u=Y(K(h),0,a);n=Y(K(d),0,a),s=W({x:n*M(t),y:n*L(t)})+fe(t,o,n),s+=W({x:u*M(i),y:u*L(i)})+fe(i,-o,u)}}s||(s=W({x:n*M(t),y:n*L(t)})+fe(t,i-t,n)),this.lineY.path=s}}},r.prototype.updateSelection=function(){if(this._usesSelection){var e=this.downPoint;if(e){var t=this.point,i=this.pixelRadius,a=this.truePixelRadius,n=this.pixelInnerRadius,s=Math.min(this.startAngle,this.endAngle),o=Math.max(this.startAngle,this.endAngle),h=Ie(_e(e),s,o),d=Ie(_e(t),s,o),u=K(e);if(u[{category:"Empty",disabled:!0,labelDisabled:!0,tooltipDisabled:!0,value:1,fill:"#dadada",fillOpacity:.3,strokeColor:"#dadada",strokeDasharray:"4,4",strokeWidth:2}],h=Ba(),d=Na(null);let u,p,f,c,y;tr(()=>r.data,function(){v(r.data)},{deep:!0}),tr(()=>r.isLoading,function(){r.isLoading?(c==null||c.hide(0),p==null||p.hide(0)):(c==null||c.show(),p==null||p.show())}),za(function(){D(),v(r.data)}),Ha(function(){u==null||u.dispose()});function v(b){!u||(b.length||u.invalidateData(),u.data=b)}function m(b,O){return b.length?b.map(_=>{const{route:N}=_,F=N||O.url?{..._,fillOpacity:.7}:_;if(N){const{href:I,meta:ge}=h.resolve(N),{title:Fe}=ge;return{url:I,urlTitle:Fe,...F}}return F}).map(_=>{const{category:N=""}=_;switch(N.toLowerCase()){case"online":return{fill:a,minSizeForLabel:.13,..._};case"offline":return{fill:n,minSizeForLabel:.14,..._};case"partially degraded":return{fill:s,minSizeForLabel:.3,..._};default:return _}}):o()}function x(b,O){const{fontSize:_}=O.properties,N=O.parent.parent,F=N.pixelRadius-N.pixelInnerRadius;return N.labels.template.fontSize=Math.ceil(F/3),(2-F-_)/2}function P(){const b=r.data.reduce((O,{value:_})=>O+_,0);typeof r.title=="object"&&r.title.singular&&r.title.plural&&(y.text=b===1?r.title.singular:r.title.plural),typeof r.title=="string"&&(y.text=r.title),p.invalidateLabels()}function S(){P(),!r.data.length&&f.currentText!==r.emptySubTitle&&(y.fontWeight="400",y.fontSize=13,f.text=r.emptySubTitle,f.fontWeight="400",f.fontSize=13,p.invalidateLabels()),r.data.length&&f.currentText===r.emptySubTitle&&(y.fontWeight=r.titleProps&&r.titleProps.fontWeight?r.titleProps.fontWeight:"400",y.fontSize=r.titleProps&&r.titleProps.fontSize?r.titleProps.fontSize:13,f.text=r.subTitleProps&&r.subTitleProps.text?r.subTitleProps.text:"{values.value.sum}",f.fontWeight=r.subTitleProps&&r.subTitleProps.fontWeight?r.subTitleProps.fontWeight:"700",f.fontSize=r.subTitleProps&&r.subTitleProps.fontSize?r.subTitleProps.fontSize:22,p.invalidateLabels())}function D(){if(d.value instanceof HTMLElement){if(u=Ua(T(),d.value,ji),r.saveChart&&(window.chart=u,window.series=c),u.logo&&(u.logo.disabled=!r.displayAmChartsLogo,r.displayAmChartsLogo&&(u.logo.properties.align="right")),c.labels.template.disabled=r.hideSliceLabels,r.url&&(u.url=h.resolve(r.url).href),r.titleProps&&y)for(const b in r.titleProps)y[b]=r.titleProps[b];if(r.subTitleProps&&f)for(const b in r.subTitleProps)f[b]=r.subTitleProps[b];return u}}function T(){return{startAngle:0,endAngle:360,radius:"90%",innerRadius:"60%",data:o(),series:[{type:"PieSeries",dataFields:{value:"value",category:"category"},colors:{step:2},alignLabels:!1,labels:{fontWeight:"500",fontSize:11,bent:!0,radius:0,verticalCenter:"middle",fill:"#ffffff",paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,text:"{category}",interactionsEnabled:!1,userClassName:"pie-chart-label",propertyFields:{disabled:"labelDisabled"},adapter:{radius:x,disabled(b,{dataItem:O}){if(O){const _=O.dataContext.minSizeForLabel||.1;return O.values.value.percent/100<_}return b}}},ticks:{disabled:!0},tooltip:{pointerOrientation:"down",background:{callback(){this.filters.clear()},strokeWidth:0,pointerBaseWidth:0},propertyFields:{disabled:"tooltipDisabled"}},hiddenState:{properties:{opacity:1,startAngle:-90,endAngle:-90}},slices:{cornerRadius:5,propertyFields:{fill:"fill",fillOpacity:"fillOpacity",stroke:"strokeColor",strokeDasharray:"strokeDasharray",strokeWidth:"strokeWidth",url:"url"},stroke:"#ffffff",strokeWidth:2,strokeOpacity:1,tooltipPosition:"pointer",callback(){this.states.getKey("hover").properties.scale=1,this.states.getKey("active").properties.shiftRadius=0,this.states.getKey("hover").properties.fillOpacity=1}},children:[{type:"Container",forceCreate:!0,horizontalCenter:"middle",verticalCenter:"middle",layout:"vertical",background:{fill:"#ffffff"},callback(){this.toBack(),p=this},children:[{type:"Label",forceCreate:!0,fontSize:22,fill:i,text:"{values.value.sum}",horizontalCenter:"middle",verticalCenter:"middle",fontWeight:"700",userClassName:t,callback(){f=this}},{type:"Label",forceCreate:!0,fontSize:13,fill:i,text:"TOTAL",horizontalCenter:"middle",verticalCenter:"middle",fontWeight:"400",userClassName:e,callback(){r.reverseTitles&&this.toBack(),y=this,P()}}]}],callback(){c=this},events:{dataitemsvalidated:S}}],adapter:{data:m}}}return(b,O)=>(pt(),Wt("div",{ref_key:"chartNode",ref:d},null,512))}}),zn=_i({__name:"VersionsDonutChart",props:{data:{type:Array,required:!0},title:{type:[String,Object],required:!0},isLoading:{type:Boolean,required:!1,default:!1},displayAmChartsLogo:{type:Boolean,required:!1,default:!1},url:{type:[String,Object],required:!1,default:null},titleProps:{type:Object,required:!1,default:()=>({fontSize:18,fontWeight:"400"})},subTitleProps:{type:Object,required:!1,default:()=>({fontSize:12,fontWeight:"300",text:"VERSIONS"})},emptySubTitle:{type:String,required:!1,default:"NOT FOUND"},reverseTitles:{type:Boolean,required:!1,default:!0}},setup(l){const r=l;return(e,t)=>(pt(),dr(Ln,Ga(e.$attrs,{data:l.data,title:l.title,"is-loading":l.isLoading,url:l.url,"display-am-charts-logo":l.displayAmChartsLogo,"title-props":r.titleProps,"sub-title-props":r.subTitleProps,"empty-sub-title":r.emptySubTitle,"reverse-titles":r.reverseTitles}),null,16,["data","title","is-loading","url","display-am-charts-logo","title-props","sub-title-props","empty-sub-title","reverse-titles"]))}}),ea=l=>(Ja("data-v-67d101a0"),l=l(),Qa(),l),In={class:"resource-list"},Rn=ea(()=>Oe("p",null,[ft(" We can create multiple isolated Mesh resources (i.e. per application/"),Oe("wbr"),ft("team/"),Oe("wbr"),ft("business unit). ")],-1)),jn={class:"resource-list-actions mt-4"},Wn=ea(()=>Oe("p",null," We need a data plane proxy for each replica of our services within a Mesh resource. ",-1)),Xn={class:"resource-list-actions mt-4"},Yn={class:"resource-list-actions mt-4"},En=["href"],Bn=_i({__name:"MeshResources",setup(l){const r=$a(),e="https://kuma.io/policies/?utm_source=Kuma&utm_medium=Kuma-GUI",t=r.getters["config/getTagline"],i=ir(()=>({name:r.getters["config/getEnvironment"]==="universal"?"universal-dataplane":"kubernetes-dataplane"})),a=ir(()=>{const n=r.getters["config/getKumaDocsVersion"];return n?[{link:`https://kuma.io/docs/${n}/?utm_source=Kuma&utm_medium=Kuma-GUI`,label:"Kuma Documentation"},{link:"https://kuma-mesh.slack.com/?utm_source=Kuma&utm_medium=Kuma-GUI",label:"Kuma Community Chat"},{link:"https://github.com/kumahq/kuma?utm_source=Kuma&utm_medium=Kuma-GUI",label:"Kuma GitHub Repository"}]:[]});return(n,s)=>(pt(),Wt("div",In,[dt(Pe(jt),{title:"Create a virtual mesh"},{body:$e(()=>[Rn,Oe("div",jn,[dt(Pe(si),{to:{name:"create-mesh"},appearance:"primary"},{default:$e(()=>[ft(" Create mesh ")]),_:1})])]),_:1}),dt(Pe(jt),{title:"Connect data plane proxies"},{body:$e(()=>[Wn,Oe("div",Xn,[dt(Pe(si),{to:Pe(i),appearance:"primary"},{default:$e(()=>[ft(" Get started ")]),_:1},8,["to"])])]),_:1}),dt(Pe(jt),{title:`Apply ${Pe(t)} policies`},{body:$e(()=>[Oe("p",null," We can apply "+oi(Pe(rr))+" policies to secure, observe, route and manage the Mesh and its data plane proxies. ",1),Oe("div",Yn,[dt(Pe(si),{to:e,appearance:"primary"},{default:$e(()=>[ft(" Explore policies ")]),_:1})])]),_:1},8,["title"]),Pe(a).length>0?(pt(),dr(Pe(jt),{key:0,title:"Resources"},{body:$e(()=>[Oe("p",null," Join the "+oi(Pe(rr))+" community and ask questions: ",1),Oe("ul",null,[(pt(!0),Wt(Ka,null,Za(Pe(a),(o,h)=>(pt(),Wt("li",{key:h},[Oe("a",{href:o.link,target:"_blank"},oi(o.label),9,En)]))),128))])]),_:1})):qa("",!0)]))}});const Hn=en(Bn,[["__scopeId","data-v-67d101a0"]]);export{Hn as M,Ln as _,zn as a}; +import{W as A,X as te,Y as q,Z as W,$ as R,a0 as k,a1 as sa,a2 as V,a3 as ct,a4 as le,a5 as ze,a6 as Q,a7 as G,a8 as X,a9 as C,aa as w,ab as se,ac as At,ad as de,ae as pe,af as xt,ag as Re,ah as oa,ai as vt,aj as He,ak as ce,al as g,am as nr,an as ee,ao as U,ap as la,aq as Se,ar as bi,as as xe,at as sr,au as ha,av as me,aw as bt,ax as Ni,ay as Ve,az as H,aA as Ce,aB as li,aC as ke,aD as ae,aE as Bt,aF as Ae,aG as tt,aH as Te,aI as Pi,aJ as it,aK as Y,aL as Qe,aM as or,aN as ua,aO as yt,aP as je,aQ as da,aR as pa,aS as fa,aT as j,aU as De,aV as Be,aW as lr,aX as ca,aY as K,aZ as Xt,a_ as zi,a$ as $,b0 as Le,b1 as ya,b2 as ne,b3 as ue,b4 as va,b5 as hi,b6 as ut,b7 as ga,b8 as ma,b9 as Hi,ba as ve,bb as J,bc as Yt,bd as ui,be as Pt,bf as hr,bg as xa,bh as ba,bi as Lt,bj as Pa,bk as Ca,bl as Da,bm as Aa,bn as gt,bo as Ui,bp as Ue,bq as Ct,br as Gi,bs as Ki,bt as rt,bu as re,bv as _a,bw as Xe,bx as Va,by as M,bz as L,bA as _t,bB as oe,bC as fe,bD as Ie,bE as ie,bF as ii,bG as _e,bH as di,bI as ri,bJ as Ci,bK as Ne,bL as Di,bM as Sa,bN as Ta,bO as Ai,bP as Oa,bQ as mt,bR as Zi,bS as pi,bT as qi,bU as fi,bV as Ee,bW as $i,bX as ur,bY as ka,bZ as It,b_ as Ji,b$ as wa,c0 as Fa,c1 as Ma,c2 as et,c3 as Qi,c4 as La,c5 as Rt,c6 as Ia,c7 as Ra,c8 as er,c9 as ja,ca as ai,cb as Wa,cc as Xa,cd as ni,ce as Ya,cf as Ea,d as _i,cg as Ba,r as Na,g as tr,h as za,ch as Ha,ci as Ua,o as pt,j as Wt,c as dr,cj as Ga,f as ir,a as dt,w as $e,l as Oe,u as Pe,e as si,b as ft,M as jt,t as oi,ck as rr,F as Ka,n as Za,z as qa,q as $a,B as Ja,C as Qa,D as en}from"./index.47c8bf16.js";var pr=function(l){A(r,l);function r(){var e=l.call(this)||this;e.className="Grip";var t=new te;e.layout="absolute",e.padding(10,10,10,10),e.margin(3,3,3,3),e.background.fillOpacity=.3,e.background.cornerRadius(10,10,10,10);var i=new q;i.element=e.paper.add("path");var a=W({x:-6,y:0});return a+=R({x:6,y:0}),a+=W({x:-8,y:-6}),a+=R({x:0,y:-12}),a+=R({x:8,y:-6}),a+=W({x:-8,y:6}),a+=R({x:0,y:12}),a+=R({x:8,y:6}),i.path=a,i.strokeWidth=2,i.fillOpacity=0,i.pixelPerfect=!0,i.padding(0,4,0,4),i.stroke=t.getFor("text"),i.strokeOpacity=.7,i.align="center",i.valign="middle",e.icon=i,e.label.dispose(),e.label=void 0,e.position="right",e.autoHideDelay=3e3,e.events.on("shown",function(n){e._autoHideTimeout&&e._autoHideTimeout.dispose(),e.autoHideDelay&&(e._autoHideTimeout=e.setTimeout(function(){e.hide()},e.autoHideDelay))}),e.events.on("down",function(n){e._autoHideTimeout&&e._autoHideTimeout.dispose()}),e.events.on("out",function(n){e.autoHideDelay&&(e._autoHideTimeout=e.setTimeout(function(){e.hide()},e.autoHideDelay))}),e.applyTheme(),e}return Object.defineProperty(r.prototype,"position",{get:function(){return this.getPropertyValue("position")},set:function(e){if(this.setPropertyValue("position",e))switch(e){case"left":this.align="left",this.valign="middle",this.horizontalCenter="left",this.verticalCenter="middle",this.icon.rotation=0,this.width=void 0,this.height=k(30);break;case"right":this.align="right",this.valign="middle",this.horizontalCenter="right",this.verticalCenter="middle",this.icon.rotation=0,this.width=void 0,this.height=k(30);break;case"top":this.align="center",this.valign="top",this.horizontalCenter="middle",this.verticalCenter="top",this.icon.rotation=90,this.width=k(30),this.height=void 0;break;case"bottom":this.align="center",this.valign="bottom",this.horizontalCenter="middle",this.verticalCenter="bottom",this.icon.rotation=90,this.width=k(30),this.height=void 0;break;default:this.align="center",this.valign="middle",this.horizontalCenter="middle",this.verticalCenter="middle",this.icon.rotation=90,this.width=k(30),this.height=void 0}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"autoHideDelay",{get:function(){return this.getPropertyValue("autoHideDelay")},set:function(e){this.setPropertyValue("autoHideDelay",e)},enumerable:!0,configurable:!0}),r}(sa);V.registeredClasses.Grip=pr;var fr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ChartDataItem",e.applyTheme(),e}return r}(ct),nt=function(l){A(r,l);function r(){var e=l.call(this)||this;if(e._legend=new le,e.constructor===r)throw new Error("'Chart' cannot be instantiated directly. Please use a specific chart type.");e.className="Chart";var t=new ze;e.titles=new Q(t),e._disposers.push(new G(e.titles)),e._disposers.push(t),e.width=k(100),e.height=k(100),e.layout="vertical";var i=e.createChild(X);i.shouldClone=!1,i.layout="vertical",i.width=k(100),i.height=k(100),e.chartAndLegendContainer=i;var a=i.createChild(X);return a.shouldClone=!1,a.width=k(100),a.height=k(100),e.chartContainer=a,e.showOnInit=!0,e._disposers.push(e._legend),e.titles.events.on("inserted",function(n){e.processTitle(n),e.updateReaderTitleReferences()},e,!1),e.titles.events.on("removed",function(n){e.updateReaderTitleReferences()},e,!1),e.role="region",e.defaultState.transitionDuration=1,e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Chart"))},r.prototype.draw=function(){this.fixLayout(),l.prototype.draw.call(this)},r.prototype.fixLayout=function(){var e=this.legend;if(e){var t=this.chartAndLegendContainer,i=this.chartContainer;switch(i.x=void 0,i.y=void 0,e.position!="absolute"&&(e.x=void 0,e.y=void 0),e.position){case"left":t.layout="horizontal",e.toBack();break;case"right":t.layout="horizontal",e.toFront();break;case"top":t.layout="vertical",e.toBack();break;case"bottom":t.layout="vertical",e.toFront();break;case"absolute":e.isMeasured=!1;break}}},r.prototype.feedLegend=function(){},r.prototype.processTitle=function(e){var t=e.newValue;return t.parent=this,t.toBack(),t.shouldClone=!1,t.align="center",t.uidAttr(),t},r.prototype.updateReaderTitleReferences=function(){if(this.titles.length){var e=[];w(this.titles.iterator(),function(t){e.push(t.uid)}),this.setSVGAttribute({"aria-labelledby":e.join(" ")})}else this.removeSVGAttribute("aria-labelledby")},Object.defineProperty(r.prototype,"legend",{get:function(){return this._legend.get()},set:function(e){this.setLegend(e)},enumerable:!0,configurable:!0}),r.prototype.setLegend=function(e){var t=this;this._legend.get()!==e&&(e?(e.parent=this.chartAndLegendContainer,this._legend.set(e,e.events.on("propertychanged",function(i){i.property=="position"&&t.fixLayout()},void 0,!1)),e.addDisposer(new se(function(){t.legend=void 0}))):this._legend.reset(),this.feedLegend())},r.prototype.dispose=function(){this.legend&&this.legend.dispose(),l.prototype.dispose.call(this)},r.prototype.processConfig=function(e){e&&C(e.legend)&&!C(e.legend.type)&&(e.legend.type="Legend"),l.prototype.processConfig.call(this,e)},r.prototype.copyFrom=function(e){this.titles.copyFrom(e.titles),this.chartContainer.copyFrom(e.chartContainer),e.legend&&(this.legend=e.legend.clone(),this.legend.removeChildren()),l.prototype.copyFrom.call(this,e)},Object.defineProperty(r.prototype,"dragGrip",{get:function(){var e=this;if(!this._dragGrip){var t=this.tooltipContainer.createChild(pr);t.align="right",t.valign="middle",t.hide(0),t.events.on("down",function(i){i.touch&&(e.interactionsEnabled=!1)}),t.events.on("up",function(i){e.interactionsEnabled=!0}),this.events.on("down",function(i){i.touch&&t.show()}),this._dragGrip=t}return this._dragGrip},set:function(e){this._dragGrip=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"focusable",{get:function(){return this.parent.focusable},set:function(e){this.parent.focusable=e},enumerable:!0,configurable:!0}),r}(At);V.registeredClasses.Chart=nt;de.push({relevant:pe.widthXS,state:function(l,r){if(l instanceof nt){var e=l.states.create(r);return l.pixelPaddingLeft>10&&(e.properties.paddingLeft=10),l.pixelPaddingRight>10&&(e.properties.paddingRight=10),e}return null}});de.push({relevant:pe.heightXS,state:function(l,r){if(l instanceof nt){var e=l.states.create(r);return l.pixelPaddingTop>10&&(e.properties.paddingTop=10),l.pixelPaddingBottom>10&&(e.properties.paddingBottom=10),e}return null}});de.push({relevant:pe.widthXXS,state:function(l,r){if(l instanceof nt){var e=l.states.create(r);return e.properties.paddingLeft=0,e.properties.paddingRight=0,e}return null}});de.push({relevant:pe.heightXXS,state:function(l,r){if(l instanceof nt){var e=l.states.create(r);return e.properties.paddingTop=0,e.properties.paddingBottom=0,e}return null}});var We=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="Bullet",e.isMeasured=!1,e.tooltipX=0,e.tooltipY=0,e.layout="none",e.applyOnClones=!0,e.copyToLegendMarker=!0,e.applyTheme(),e}return Object.defineProperty(r.prototype,"locationX",{get:function(){return this.getPropertyValue("locationX")},set:function(e){if(this.setPropertyValue("locationX",e)){var t=this.dataItem;t&&t.component&&t.component.invalidate()}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"locationY",{get:function(){return this.getPropertyValue("locationY")},set:function(e){if(this.setPropertyValue("locationY",e)){var t=this.dataItem;t&&t.component&&t.component.invalidate()}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"xField",{get:function(){return this.getPropertyValue("xField")},set:function(e){this.setPropertyValue("xField",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"yField",{get:function(){return this.getPropertyValue("yField")},set:function(e){this.setPropertyValue("yField",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isDynamic",{get:function(){return this.getPropertyValue("isDynamic")},set:function(e){this.setPropertyValue("isDynamic",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"copyToLegendMarker",{get:function(){return this.getPropertyValue("copyToLegendMarker")},set:function(e){this.setPropertyValue("copyToLegendMarker",e)},enumerable:!0,configurable:!0}),r}(X);V.registeredClasses.Bullet=We;de.push({relevant:pe.isXS,state:function(l,r){if(l instanceof We){var e=l.states.create(r);return e.properties.disabled=!0,e}return null}});var tn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.childrenCreated=!1,e.className="LegendDataItem",e.applyTheme(),e}return Object.defineProperty(r.prototype,"label",{get:function(){var e=this;if(!this._label){var t=this.component.labels.create();this._label=t,this.addSprite(t),this._disposers.push(t),t.parent=this.itemContainer,this._disposers.push(new se(function(){C(e.component)&&e.component.labels.removeValue(t)}))}return this._label},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"color",{get:function(){return this.properties.color},set:function(e){this.setProperty("color",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"valueLabel",{get:function(){var e=this;if(!this._valueLabel){var t=this.component.valueLabels.create();this._valueLabel=t,this.addSprite(t),this._disposers.push(t),t.parent=this.itemContainer,this._disposers.push(new se(function(){C(e.component)&&e.component.valueLabels.removeValue(t)}))}return this._valueLabel},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"itemContainer",{get:function(){var e=this;if(!this._itemContainer){var t=this.component,i=t.itemContainers.create();i.parent=t,this._itemContainer=i,this.addSprite(i),this._disposers.push(i),i.togglable&&i.events.on("toggled",function(s){t.toggleDataItem(s.target.dataItem)},void 0,!1),i.focusable&&(i.events.on("hit",function(s){t.focusedItem=void 0},void 0,!1),i.events.on("focus",function(s){t.focusedItem=s.target.dataItem},void 0,!1),i.events.on("blur",function(s){t.focusedItem=void 0},void 0,!1)),this._disposers.push(new se(function(){C(e.component)&&e.component.itemContainers.removeValue(i)})),this.dataContext.uidAttr&&(i.readerControls=this.dataContext.uidAttr(),i.readerLabelledBy=this.dataContext.uidAttr());var a=this.dataContext;if((a instanceof ct||a instanceof q)&&!a.isDisposed()){var n=function(s){i.readerChecked=s.visible,i.events.disableType("toggled"),i.isActive=!s.visible,i.events.enableType("toggled")};a.addDisposer(new se(function(){e.component&&e.component.dataItems.remove(e)})),a instanceof q?(i.addDisposer(a.events.on("visibilitychanged",n,void 0,!1)),i.addDisposer(a.events.on("hidden",function(s){i.readerChecked=!1,i.events.disableType("toggled"),i.isActive=!0,i.events.enableType("toggled")},void 0,!1)),i.addDisposer(a.events.on("shown",function(s){i.readerChecked=!0,i.events.disableType("toggled"),i.isActive=!1,i.events.enableType("toggled")},void 0,!1))):i.addDisposer(a.events.on("visibilitychanged",n,void 0,!1))}}return this._itemContainer},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"marker",{get:function(){var e=this;if(!this._marker){var t=this.component.markers.create();this._marker=t,t.parent=this.itemContainer,this.addSprite(t),this._disposers.push(t),this._disposers.push(new se(function(){C(e.component)&&e.component.markers.removeValue(t)}))}return this._marker},enumerable:!0,configurable:!0}),r}(ct),cr=function(){function l(){this.createMarker=!0}return l}(),Nt=function(l){A(r,l);function r(){var e=l.call(this)||this;e.className="Legend",e.layout="grid",e.setPropertyValue("useDefaultMarker",!1),e.setPropertyValue("scrollable",!1),e.setPropertyValue("contentAlign","center");var t=new X;t.applyOnClones=!0,t.padding(8,0,8,0),t.margin(0,10,0,10),t.layout="horizontal",t.clickable=!0,t.focusable=!0,t.role="switch",t.togglable=!0,t.cursorOverStyle=xt.pointer,t.background.fillOpacity=0,e.itemContainers=new Q(t),e._disposers.push(new G(e.itemContainers)),e._disposers.push(e.itemContainers.template),e._disposers.push(Re().body.events.on("keyup",function(d){if(oa.isKey(d.event,"enter")&&e.focusedItem){var u=e.focusedItem,p=u.itemContainer;p.togglable?e.toggleDataItem(u):p.clickable&&p.events.isEnabled("hit")&&(p.dispatchImmediately("hit",{event:d}),e.focusedItem=u)}},e));var i=new te,a=new X;a.width=23,a.height=23,a.interactionsEnabled=!1,a.applyOnClones=!0,a.setStateOnChildren=!0,a.background.fillOpacity=0,a.background.strokeOpacity=0,a.propertyFields.fill="fill",a.valign="middle";var n=i.getFor("disabledBackground");a.events.on("childadded",function(d){var u=d.newValue,p=u.states.create("active");p.properties.stroke=n,p.properties.fill=n}),e.markers=new Q(a),e._disposers.push(new G(e.markers)),e._disposers.push(e.markers.template);var s=a.createChild(vt);s.width=k(100),s.height=k(100),s.applyOnClones=!0,s.propertyFields.fill="fill",s.strokeOpacity=0;var o=new ze;o.text="{name}",o.margin(0,5,0,5),o.valign="middle",o.applyOnClones=!0,o.states.create("active").properties.fill=i.getFor("disabledBackground"),e.labels=new Q(o),e._disposers.push(new G(e.labels)),e._disposers.push(e.labels.template),o.interactionsEnabled=!1,o.truncate=!0,o.fullWords=!1;var h=new ze;return h.margin(0,5,0,0),h.valign="middle",h.width=50,h.align="right",h.textAlign="end",h.applyOnClones=!0,h.states.create("active").properties.fill=i.getFor("disabledBackground"),h.interactionsEnabled=!1,e.valueLabels=new Q(h),e._disposers.push(new G(e.valueLabels)),e._disposers.push(e.valueLabels.template),e.position="bottom",t.states.create("active"),t.setStateOnChildren=!0,e.role="group",e.events.on("layoutvalidated",e.handleScrollbar,e,!1),e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Legend"))},r.prototype.createDataItem=function(){return new tn},r.prototype.validateDataElements=function(){this.scrollbar&&(this.scrollbar.start=0,this.scrollbar.end=1),l.prototype.validateDataElements.call(this)},r.prototype.validateDataElement=function(e){l.prototype.validateDataElement.call(this,e);var t=e.itemContainer,i=e.marker;He(e.label);var a=e.valueLabel;t.readerChecked=e.dataContext.visible,e.dataContext.legendDataItem=e;var n=e.label.maxWidth;e.label.width instanceof ce||(e.label.width=void 0),n>0&&(e.label.maxWidth=n),a.align=="right"&&(a.width=void 0);var s=e.dataContext.legendSettings,o=e.dataContext;o.createLegendMarker&&(!this.useDefaultMarker||!(o instanceof q))?e.childrenCreated||(o.createLegendMarker(i),e.childrenCreated=!0):this.markers.template.propertyFields.fill=void 0,o.updateLegendValue&&o.updateLegendValue(),o.component&&o.component.updateLegendValue&&o.component.updateLegendValue(o),a.invalid&&a.validate(),a.text==""||a.text==null?a.__disabled=!0:a.__disabled=!1,s&&(s.itemValueText!=null||s.valueText!=null)&&(a.__disabled=!1);var h=e.dataContext.visible;h===void 0&&(h=!0),h=la(h),e.dataContext.visible=h,t.events.disableType("toggled"),t.isActive=!h,t.isActive?t.setState("active",0):t.setState("default",0),t.events.enableType("toggled")},r.prototype.afterDraw=function(){var e=this,t=this.getPropertyValue("maxWidth"),i=0;this.labels.each(function(u){u.invalid&&(u.maxWidth=void 0,u.validate()),u.measuredWidth+u.pixelMarginLeft+u.pixelMarginRight>i&&(i=u.measuredWidth+u.pixelMarginLeft+u.pixelMarginRight)});var a=0;this.valueLabels.each(function(u){u.invalid&&u.validate(),u.measuredWidth+u.pixelMarginLeft+u.pixelMarginRight>a&&(a=u.measuredWidth+u.pixelMarginLeft+u.pixelMarginRight)});var n=0;this.markers.each(function(u){u.invalid&&u.validate(),u.measuredWidth+u.pixelMarginLeft+u.pixelMarginRight>n&&(n=u.measuredWidth+u.pixelMarginLeft+u.pixelMarginRight)});var s=this.itemContainers.template,o=s.pixelMarginRight+s.pixelMarginLeft,h,d=i+a+n;g(t)?(t=t-o,t>d&&(t=d),h=t-n-a):h=i,this.labels.each(function(u){(e.valueLabels.template.align=="right"||u.measuredWidth>h)&&(u.width instanceof ce||(u.width=Math.min(u.maxWidth,h-u.pixelMarginLeft-u.pixelMarginRight),u.maxWidth=u.width))}),this.valueLabels.template.align=="right"&&this.valueLabels.each(function(u){u.width=a-u.pixelMarginRight-u.pixelMarginLeft}),l.prototype.afterDraw.call(this)},r.prototype.handleScrollbar=function(){var e=this.scrollbar;this.scrollable&&e&&(e.height=this.measuredHeight,e.x=this.measuredWidth-e.pixelWidth-e.pixelMarginLeft,this.contentHeight>this.measuredHeight?(e.visible=!0,e.thumb.height=e.height*this.measuredHeight/this.contentHeight,this.paddingRight=e.pixelWidth+e.pixelMarginLeft+ +e.pixelMarginRight):e.visible=!1,e.handleThumbPosition(),this.updateMasks())},Object.defineProperty(r.prototype,"position",{get:function(){return this.getPropertyValue("position")},set:function(e){this.setPropertyValue("position",e)&&(e=="left"||e=="right"?(this.margin(10,5,10,10),this.valign="middle",this.contentAlign="none",this.valueLabels.template.align="right",g(this.maxColumns)||(this.maxColumns=1),this.width=void 0,this.maxWidth=220):(this.maxColumns=void 0,this.width=k(100),this.valueLabels.template.align="left"),this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"useDefaultMarker",{get:function(){return this.getPropertyValue("useDefaultMarker")},set:function(e){this.setPropertyValue("useDefaultMarker",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"scrollable",{get:function(){return this.getPropertyValue("scrollable")},set:function(e){if(this.setPropertyValue("scrollable",e,!0))if(e){var t=this.createChild(nr);this.scrollbar=t,t.isMeasured=!1,t.orientation="vertical",t.endGrip.__disabled=!0,t.startGrip.__disabled=!0,t.visible=!1,t.marginLeft=5,this._mouseWheelDisposer=this.events.on("wheel",this.handleWheel,this,!1),this._disposers.push(this._mouseWheelDisposer),this._disposers.push(t.events.on("rangechanged",this.updateMasks,this,!1))}else this._mouseWheelDisposer&&(this._mouseWheelDisposer.dispose(),this.scrollbar&&(this.scrollbar.dispose(),this.scrollbar=void 0))},enumerable:!0,configurable:!0}),r.prototype.handleWheel=function(e){var t=e.shift.y,i=this.scrollbar;if(i){var a=t/1e3*this.measuredHeight/this.contentHeight,n=i.end-i.start;t>0?(i.start=ee(0,i.start-a),i.end=i.start+n):(i.end=U(1,i.end-a),i.start=i.end-n)}},r.prototype.updateMasks=function(){var e=this;this.scrollbar&&this.itemContainers.each(function(t){t.dy=-e.scrollbar.thumb.pixelY*e.contentHeight/e.measuredHeight,t.maskRectangle={x:0,y:-t.dy,width:e.measuredWidth,height:e.measuredHeight}})},r.prototype.toggleDataItem=function(e){var t=e.dataContext;!t.visible||t.isHiding||t instanceof q&&t.isHidden?(e.color=e.colorOrig,t.appeared=!0,e.itemContainer.isActive=!1,t.hidden===!0&&(t.hidden=!1),t.show?t.show():t.visible=!0,this.svgContainer.readerAlert(this.language.translate("%1 shown",this.language.locale,e.label.readerTitle))):(e.itemContainer.isActive=!0,t.appeared=!0,t.hide?t.hide():t.visible=!1,this.svgContainer.readerAlert(this.language.translate("%1 hidden",this.language.locale,e.label.readerTitle)),e.color=new te().getFor("disabledBackground"))},Object.defineProperty(r.prototype,"preloader",{get:function(){},enumerable:!0,configurable:!0}),r.prototype.handleDataItemPropertyChange=function(e,t){e.valueLabel.invalidate(),e.label.invalidate()},r}(At);V.registeredClasses.Legend=Nt;de.push({relevant:pe.widthXS,state:function(l,r){if(l instanceof Nt&&(l.position=="left"||l.position=="right")){var e=l.states.create(r);return e.properties.position="bottom",e}return null}});de.push({relevant:pe.heightXS,state:function(l,r){if(l instanceof Nt&&(l.position=="top"||l.position=="bottom")){var e=l.states.create(r);return e.properties.position="right",e}return null}});de.push({relevant:pe.isXS,state:function(l,r){if(l instanceof Nt){var e=l.states.create(r);return e.properties.disabled=!0,e}return null}});var zt=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="SeriesDataItem",e.values.value={},e.values.value={},e.applyTheme(),e}return Object.defineProperty(r.prototype,"bullets",{get:function(){return this._bullets||(this._bullets=new Se,this._disposers.push(new bi(this._bullets))),this._bullets},enumerable:!0,configurable:!0}),r.prototype.dispose=function(){this.bullets.clear(),l.prototype.dispose.call(this)},Object.defineProperty(r.prototype,"value",{get:function(){return this.values.value.value},set:function(e){this.setValue("value",e)},enumerable:!0,configurable:!0}),r}(ct),Ht=function(l){A(r,l);function r(){var e=l.call(this)||this;if(e._ignoreMinMax=!1,e._showBullets=!0,e.legendSettings=new cr,e._tmin=new Se,e._tmax=new Se,e._smin=new Se,e._smax=new Se,e.dataItemsByAxis=new Se,e.skipFocusThreshold=20,e._itemReaderTextChanged=!1,e.calculatePercent=!1,e.usePercentHack=!0,e.autoDispose=!0,e.simplifiedProcessing=!1,e.constructor===r)throw new Error("'Series' cannot be instantiated directly. Please use a specific series type.");e.className="Series",e.isMeasured=!1,e.layout="none",e.shouldClone=!1,e.setPropertyValue("hidden",!1),e.axisRanges=new xe,e.axisRanges.events.on("inserted",e.processAxisRange,e,!1),e.minBulletDistance=0,e.mainContainer=e.createChild(X),e.mainContainer.shouldClone=!1,e.mainContainer.mask=e.createChild(q),e._disposers.push(e.mainContainer);var t=e.mainContainer.createChild(X);return e._shouldBeReady.push(t),t.shouldClone=!1,t.layout="none",t.virtualParent=e,e._disposers.push(t),e.bulletsContainer=t,e.tooltip=new sr,e.tooltip.virtualParent=e,e._disposers.push(e.tooltip),e.hiddenState.transitionEasing=ha,e.dataItem=e.createDataItem(),e._disposers.push(e.dataItem),e.dataItem.component=e,e.role="group",e.applyTheme(),e}return r.prototype.applyTheme=function(){l.prototype.applyTheme.call(this)},r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Series"))},r.prototype.createDataItem=function(){return new zt},Object.defineProperty(r.prototype,"chart",{get:function(){return this._chart},set:function(e){this._chart=e},enumerable:!0,configurable:!0}),r.prototype.positionBullet=function(e){},r.prototype.processBullet=function(e){var t=this,i=e.newValue;i.isTemplate=!0,this.events.once("datavalidated",function(a){t.itemsFocusable()&&(i.focusable=!0)}),this.invalidate()},r.prototype.removeBullet=function(e){var t=e.oldValue;this.dataItems.each(function(i){var a=i.bullets.getKey(t.uid);a&&a.dispose()}),this.invalidate()},r.prototype.validateDataItems=function(){l.prototype.validateDataItems.call(this),this.processValues(!1)},r.prototype.getFirstValue=function(e,t){for(var i=t;i>=0;i--){var a=this.dataItems.getIndex(i),n=a.getActualWorkingValue(e);if(g(n))return n}return null},r.prototype.getAbsoluteFirstValue=function(e){for(var t=0;t0){var m=i.getIndex(y-1);me(m.values,function(b,O){var _=m.getActualWorkingValue(b);g(_)&&(p[b]=_)})}for(var x=function(b){var O=i.getIndex(b);me(O.values,function(_,N){var F=O.getActualWorkingValue(_);if(g(F)){g(a[_])||(a[_]=0),a[_]++,g(n[_])||(n[_]=0),n[_]+=F,g(s[_])||(s[_]=0),s[_]+=Math.abs(F),g(d[_])||(d[_]=F),u[_]=F,g(o[_])?o[_]>F&&(o[_]=F):o[_]=F,g(h[_])?h[_]0){t.usePercentHack&&F==N&&(N=O.values[_].value);var I=F/N*100;O.setCalculatedValue(_,I,"percent")}else O.setCalculatedValue(_,0,"percent")})},P=y;P0){var D=i.getIndex(y-1);me(D.values,function(b){var O=D.values[b].value;D.setCalculatedValue(b,O-d[b],"change"),D.setCalculatedValue(b,(O-d[b])/d[b]*100,"changePercent")})}var T=this.dataItem;me(T.values,function(b){T.setCalculatedValue(b,n[b],"sum"),T.setCalculatedValue(b,s[b],"absoluteSum"),T.setCalculatedValue(b,n[b]/a[b],"average"),T.setCalculatedValue(b,d[b],"open"),T.setCalculatedValue(b,u[b],"close"),T.setCalculatedValue(b,o[b],"low"),T.setCalculatedValue(b,h[b],"high"),T.setCalculatedValue(b,a[b],"count")})}},r.prototype.validate=function(){bt()&&this.filters.clear(),w(this.axisRanges.iterator(),function(a){a.validate()}),l.prototype.validate.call(this);var e=this.bulletsContainer;if(e.fill=this.fill,e.stroke=this.stroke,e.x=this.pixelX,e.y=this.pixelY,this.bulletsContainer.children.length>0)if(this._showBullets){for(var t=0;tthis.endIndex;t--){var i=this.dataItems.getIndex(t);i&&i.bullets.each(function(s,o){o.__disabled=!0})}}else this.bulletsContainer.children.each(function(a){a.__disabled=!0});this.updateTooltipBounds()},r.prototype.updateTooltipBounds=function(){if(this.topParent){var e=0,t=0,i=this.topParent.maxWidth,a=this.topParent.maxHeight,n={x:e,y:t,width:i,height:a};this.tooltip.setBounds(n)}},r.prototype.shouldCreateBullet=function(e,t){return!0},r.prototype.validateDataElement=function(e){var t=this;l.prototype.validateDataElement.call(this,e),this._showBullets?(this.isHidden||(this.bulletsContainer.visible=!0),this.bullets.each(function(i){var a=e.bullets.getKey(i.uid);if(t.shouldCreateBullet(e,i)){if(!a){var n=i.propertyFields.disabled,s=e.dataContext;n&&s&&s[n]===!1?(i.applyOnClones=!1,i.disabled=!1,a=i.clone(),i.disabled=!0,i.applyOnClones=!0):a=i.clone(),a.shouldClone=!1,e.addSprite(a),(!t.visible||t.isHiding)&&a.hide(0)}var o=a.dataItem;if(o!=e){o&&o.bullets.setKey(i.uid,void 0);var h=t.itemReaderText;a instanceof We&&(h||(h="{"+a.xField+"}: {"+a.yField+"}"),a.isDynamic&&(e.events.on("workingvaluechanged",a.deepInvalidate,a,!1),t.dataItem.events.on("workingvaluechanged",a.deepInvalidate,a,!1)),a.deepInvalidate()),a.focusable&&(a.events.on("focus",function(d){a.readerTitle=t.populateString(h,a.dataItem)},void 0,!1),a.events.on("blur",function(d){a.readerTitle=""},void 0,!1)),a.hoverable&&(a.events.on("over",function(d){a.readerTitle=t.populateString(h,a.dataItem)},void 0,!1),a.events.on("out",function(d){a.readerTitle=""},void 0,!1))}a.parent=t.bulletsContainer,e.bullets.setKey(i.uid,a),a.maxWidth=e.itemWidth,a.maxHeight=e.itemHeight,a.__disabled=!1,t.positionBullet(a)}else a&&(a.__disabled=!0)})):this.bulletsContainer.visible=!1},r.prototype.handleDataItemWorkingValueChange=function(e,t){this.dataRangeInvalid||this.invalidateProcessedData()},Object.defineProperty(r.prototype,"ignoreMinMax",{get:function(){return this._ignoreMinMax},set:function(e){this._ignoreMinMax=e,this.invalidateDataItems()},enumerable:!0,configurable:!0}),r.prototype.createMask=function(){},r.prototype.processAxisRange=function(e){this.rangesContainer||(this.rangesContainer=this.createChild(X),this.rangesContainer.shouldClone=!1,this.rangesContainer.isMeasured=!1);var t=e.newValue;t&&(t.contents.parent=this.rangesContainer,t.isRange=!0,t.events.on("valuechanged",this.invalidateDataItems,this,!1))},r.prototype.getAxisField=function(e){},r.prototype.showTooltipAtPosition=function(e,t){},Object.defineProperty(r.prototype,"minBulletDistance",{get:function(){return this.getPropertyValue("minBulletDistance")},set:function(e){this.setPropertyValue("minBulletDistance",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"bullets",{get:function(){return this._bullets||(this._bullets=new Q(new We),this._bullets.template.virtualParent=this,this._bullets.events.on("inserted",this.processBullet,this,!1),this._bullets.events.on("removed",this.removeBullet,this,!1),this._disposers.push(new G(this._bullets)),this._disposers.push(this._bullets.template)),this._bullets},enumerable:!0,configurable:!0}),r.prototype.createLegendMarker=function(e){},Object.defineProperty(r.prototype,"hiddenInLegend",{get:function(){return this.getPropertyValue("hiddenInLegend")},set:function(e){this.setPropertyValue("hiddenInLegend",e)&&this.chart&&this.chart.feedLegend()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"name",{get:function(){return this.getPropertyValue("name")},set:function(e){this.setPropertyValue("name",e);var t=this.legendDataItem;t&&(t.component.invalidate(),t.component.invalidateRawData()),this.readerTitle=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"itemReaderText",{get:function(){var e=this._itemReaderText;return e||(this.tooltipText?e=Ni(this.tooltipText):this.tooltipHTML&&(e=Ni(this.tooltipHTML))),this._adapterO?this._adapterO.apply("itemReaderText",e):e},set:function(e){this._itemReaderText=e,this._itemReaderTextChanged=!0},enumerable:!0,configurable:!0}),r.prototype.itemsFocusable=function(){return!(this.dataItems.length>=this.skipFocusThreshold)},Object.defineProperty(r.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(e){this._legendDataItem=e,this._legendDataItem.itemContainer.deepInvalidate()},enumerable:!0,configurable:!0}),r.prototype.updateLegendValue=function(e,t){if(this.legendDataItem){var i=this.legendSettings,a=this.legendDataItem,n=a.label,s=a.valueLabel;e&&!e.isDisposed()||t?(s&&(i.itemValueText&&(s.text=i.itemValueText),s.dataItem=e),n&&(i.itemLabelText&&(n.text=i.itemLabelText),n.dataItem=e)):(n&&((i.labelText||i.itemLabelText!=null)&&(n.text=i.labelText),n.dataItem=this.dataItem),s&&((i.valueText||i.itemValueText!=null)&&(s.text=i.valueText),s.dataItem=this.dataItem))}},r.prototype.copyFrom=function(e){this.bullets.copyFrom(e.bullets),this.bulletsContainer.copyFrom(e.bulletsContainer),this.calculatePercent=e.calculatePercent,this.usePercentHack=e.usePercentHack,this.simplifiedProcessing=e.simplifiedProcessing,l.prototype.copyFrom.call(this,e)},r.prototype.raiseCriticalError=function(e){this._chart&&this._chart.modal&&(this._chart.modal.content=this._chart.adapter.apply("criticalError",e).message,this._chart.modal.closable=!1,this._chart.modal.open(),this._chart.disabled=!0),console.log(e)},r.prototype.applyFilters=function(){var e=this;l.prototype.applyFilters.call(this),this.bulletsContainer.filters.clear(),w(this.filters.iterator(),function(t){e.bulletsContainer.filters.push(t.clone())})},Object.defineProperty(r.prototype,"heatRules",{get:function(){var e=this;return this._heatRules||(this._heatRules=new xe,this._heatRules.events.on("inserted",function(t){var i=t.newValue,a=i.target;if(a){var n=i.dataField;C(n)||(n="value");var s=e.dataItem,o=i.property,h=Ve(i.minValue),d=Ve(i.maxValue);!g(h)&&!g(d)&&e.dataItem.events.on("calculatedvaluechanged",function(u){u.property==n&&w(e.dataItems.iterator(),function(p){var f=!1;H(p.sprites,function(c){if(c.clonedFrom==a){var y=c;y[o]=y[o],f=!0}}),f||H(p.sprites,function(c){c instanceof X&&w(c.children.iterator(),function(y){if(y.className==a.className){var v=y;v[o]=v[o]}else y instanceof X&&y.deepInvalidate()})})})}),e.dataItems.template.events.on("workingvaluechanged",function(u){if(u.property==n){var p=u.target,f=!1;H(p.sprites,function(c){if(c.clonedFrom==a){var y=c;y[o]=y[o],f=!0}}),f||H(p.sprites,function(c){c instanceof X&&w(c.children.iterator(),function(y){if(y.className==a.className){var v=y;v[o]=v[o]}else y instanceof X&&y.deepInvalidate()})})}}),a.adapter.add(o,function(u,p,f){var c=Ve(i.minValue),y=Ve(i.maxValue),v=i.min,m=i.max;if(p instanceof q){var x=p,P=x.propertyFields[f];if(P&&p.dataItem){var S=p.dataItem.dataContext;if(S&&C(S[P]))return u}}var D=p.dataItem;if(g(c)||(c=s.values[n].low),g(y)||(y=s.values[n].high),D){var T=D.values[n];if(T){var b=D.getActualWorkingValue(n);if(C(v)&&C(m)&&g(c)&&g(y)&&g(b)){var O=void 0;if(i.logarithmic?O=(Math.log(b)*Math.LOG10E-Math.log(c)*Math.LOG10E)/(Math.log(y)*Math.LOG10E-Math.log(c)*Math.LOG10E):O=(b-c)/(y-c),g(b)&&(!g(O)||Math.abs(O)==1/0)&&(O=.5),g(v))return v+(m-v)*O;if(v instanceof Ce)return new Ce(li(v.rgb,m.rgb,O))}}}return u})}})),this._heatRules},enumerable:!0,configurable:!0}),r.prototype.processConfig=function(e){var t;if(e){if(C(e.bullets)&&ke(e.bullets))for(var i=0,a=e.bullets.length;i=0;n--){var s=a.getIndex(n);s&&s.dataContext==t&&i.dataItems.remove(s)}for(var n=i.data.length-1;n>=0;n--){var o=i.data[n];o&&o==t&&Ae(i.data,o)}}},r.prototype.handleSeriesAdded=function(e){var t=this,i=e.newValue;i.isDisposed()||(i.chart=this,i.parent=this.seriesContainer,i.bulletsContainer.parent=this.bulletsContainer,this._dataUsers.moveValue(i),i.addDisposer(new se(function(){t.dataUsers.removeValue(i)})),this.handleSeriesAdded2(i),this.handleLegendSeriesAdded(i))},r.prototype.handleLegendSeriesAdded=function(e){e.hiddenInLegend||this.legend&&this.legend.addData(e)},r.prototype.handleSeriesAdded2=function(e){var t=this;this.dataInvalid||this._disposers.push(V.events.once("exitframe",function(){(!e.data||e.data.length==0)&&(e.data=t.data,e.showOnInit&&(e.reinit(),e.setPropertyValue("showOnInit",!1),e.showOnInit=!0),e.isDisposed()||e.events.once("datavalidated",function(){e.data==t.data&&(e._data=[])}))}))},r.prototype.feedLegend=function(){var e=this.legend;if(e){var t=[];w(this.series.iterator(),function(i){i.hiddenInLegend||t.push(i)}),e.dataFields.name="name",e.data=t}},r.prototype.createSeries=function(){return new Ht},Object.defineProperty(r.prototype,"colors",{get:function(){return this.getPropertyValue("colors")},set:function(e){this.setPropertyValue("colors",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"patterns",{get:function(){return this.getPropertyValue("patterns")},set:function(e){this.setPropertyValue("patterns",e,!0)},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.series.copyFrom(e.series)},r.prototype.appear=function(){l.prototype.appear.call(this),this.series.each(function(e){e.showOnInit&&e.inited&&e.appear()})},r}(nt);V.registeredClasses.SerialChart=Vi;var Ut=function(l){A(r,l);function r(){var e=l.call(this)||this;e._axis=new le,e.dataItems=new xe,e.className="AxisBreak",e.breakSize=.01,e.marginLeft=-5,e.marginRight=-5,e.marginTop=-5,e.marginBottom=-5;var t=new te,i=new tt;i.fill=t.getFor("background"),i.stroke=Te(),i.fillOpacity=.9,i.zIndex=0,e._fillShape=i;var a=new tt;a.fill=Te(),a.stroke=t.getFor("grid"),a.strokeOpacity=.3,a.zIndex=1,e._startLine=a;var n=new tt;return n.fill=Te(),n.stroke=Te("#000000"),n.strokeOpacity=.3,n.zIndex=2,e._endLine=n,e._disposers.push(e._axis),e.applyTheme(),e}return r.prototype.dispose=function(){l.prototype.dispose.call(this),this._fillShape&&this._fillShape.dispose(),this._startLine&&this._startLine.dispose(),this._endLine&&this._endLine.dispose()},Object.defineProperty(r.prototype,"startLine",{get:function(){return this._startLine},set:function(e){this._startLine&&this._startLine.dispose(),this._startLine=e,this.addBreakSprite(e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endLine",{get:function(){return this._endLine},set:function(e){this._endLine&&this._endLine.dispose(),this._endLine=e,this.addBreakSprite(e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"fillShape",{get:function(){return this._fillShape},set:function(e){this._fillShape&&this._fillShape.dispose(),this._fillShape=e,this.addBreakSprite(e)},enumerable:!0,configurable:!0}),r.prototype.addBreakSprite=function(e){e.parent=this,e.isMeasured=!1,this._disposers.push(e)},Object.defineProperty(r.prototype,"axis",{get:function(){return this._axis.get()},set:function(e){if(this._axis.get()!==e){this._axis.set(e,e.renderer.gridContainer.events.on("transformed",this.invalidate,this,!1)),e.renderer.createBreakSprites(this);var t=e.axisBreaks.template;this.startLine.copyFrom(t.startLine),this.endLine.copyFrom(t.endLine),this.fillShape.copyFrom(t.fillShape)}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"breakSize",{get:function(){return this.getPropertyValue("breakSize")},set:function(e){this.setPropertyValue("breakSize",e)&&this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"startPoint",{get:function(){var e=this.axis.renderer;if(e)return e.positionToPoint(this.startPosition)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endPoint",{get:function(){var e=this.axis.renderer;if(e)return e.positionToPoint(this.endPosition)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"startPosition",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endPosition",{get:function(){},enumerable:!0,configurable:!0}),r.prototype.draw=function(){if(l.prototype.draw.call(this),this.axis){var e=this.axis.renderer;e.updateBreakElement(this)}},Object.defineProperty(r.prototype,"startValue",{get:function(){return this.getPropertyValue("startValue")},set:function(e){this.setPropertyValue("startValue",e)&&this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endValue",{get:function(){return this.getPropertyValue("endValue")},set:function(e){this.setPropertyValue("endValue",e)&&this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),r}(X);V.registeredClasses.AxisBreak=Ut;var Vt=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="AxisDataItem",e.applyTheme(),e}return Object.defineProperty(r.prototype,"grid",{get:function(){if(!this._grid){var e=this.component;if(e){var t=void 0,i;if(this.isRange){if(t=e.axisRanges.template.grid,t.disabled)return;i=t.clone()}else{if(t=e.renderer.grid.template,t.disabled)return;i=e.renderer.grid.create(),this._disposers.push(new se(function(){e.renderer.grid.removeValue(i)}))}this.grid=i,i.shouldClone=!1,this._disposers.push(i),i.axis=this.component}}return this._grid},set:function(e){this._grid&&this._grid!=e&&(Ae(this.sprites,this._grid),this._grid.dataItem=void 0),e&&(e.dataItem&&e.dataItem!=this&&(Ae(e.dataItem.sprites,e),e.dataItem.grid=void 0),this.addSprite(e)),this._grid=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tick",{get:function(){if(!this._tick){var e=this.component;if(e){var t=void 0,i;if(this.isRange){if(t=e.axisRanges.template.tick,t.disabled)return;i=t.clone()}else{if(t=e.renderer.ticks.template,t.disabled)return;i=e.renderer.ticks.create(),this._disposers.push(new se(function(){e.renderer.ticks.removeValue(i)}))}this.tick=i,i.axis=this.component,i.shouldClone=!1,this._disposers.push(i)}}return this._tick},set:function(e){this._tick&&this._tick!=e&&(Ae(this.sprites,this._tick),this._tick.dataItem=void 0),e&&(e.dataItem&&e.dataItem!=this&&(Ae(e.dataItem.sprites,e),e.dataItem.tick=void 0),this.addSprite(e)),this._tick=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"label",{get:function(){if(!this._label){var e=this.component;if(e){var t=void 0,i;if(this.isRange){if(t=e.axisRanges.template.label,t.disabled)return;i=t.clone()}else{if(t=e.renderer.labels.template,t.disabled)return;i=e.renderer.labels.create(),this._disposers.push(new se(function(){e.renderer.labels.removeValue(i)}))}this._disposers.push(i),this.label=i,i.shouldClone=!1,i.axis=this.component,i.virtualParent=e}}return this._label},set:function(e){this._label&&this._label!=e&&(Ae(this.sprites,this._label),this._label.dataItem=void 0),e&&(e.dataItem&&e.dataItem!=this&&(Ae(e.dataItem.sprites,e),e.dataItem.label=void 0),this.addSprite(e)),this._label=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"axisFill",{get:function(){if(!this._axisFill){var e=this.component;if(e){var t=void 0,i;if(this.isRange){if(t=e.axisRanges.template.axisFill,!this.isTemplate&&t.disabled)return;i=t.clone()}else{if(t=e.renderer.axisFills.template,t.disabled)return;i=e.renderer.axisFills.create(),this._disposers.push(new se(function(){e.renderer.axisFills.removeValue(i)}))}this.axisFill=i,i.shouldClone=!1,this._disposers.push(i)}}return this._axisFill},set:function(e){this._axisFill&&this._axisFill!=e&&(Ae(this.sprites,this._axisFill),this._axisFill.dataItem=void 0),e&&(e.dataItem&&e.dataItem!=this&&(Ae(e.dataItem.sprites,e),e.dataItem.axisFill=void 0),e.axis=this.component,this.addSprite(e)),this._axisFill=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e,this._label&&(this._label.text=e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"mask",{get:function(){return this._mask},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"contents",{get:function(){if(!this._contents){var e=new X;this.addSprite(e),e.isMeasured=!1,this._contents=e;var t=this.component;if(t){var i=t.renderer.createFill(this.component);i.disabled=!1,i.axis=t,this.addSprite(i),this._mask=i,e.mask=i}}return this._contents},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"axisBreak",{get:function(){return this._axisBreak},set:function(e){this._axisBreak&&this._axisBreak.dataItems.removeValue(this),e&&e.dataItems.push(this),this._axisBreak=e},enumerable:!0,configurable:!0}),r.prototype.validate=function(){this.component&&this.component.validateDataElement(this)},r.prototype.appendChildren=function(){this.component&&this.component.appendDataItem(this)},r.prototype.hasProperty=function(e){return e=="component"?!0:l.prototype.hasProperty.call(this,e)},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.text=e.text,e.bullet&&(this.bullet=e.bullet.clone()),this.minPosition=e.minPosition,this.maxPosition=e.maxPosition},r.prototype.setVisibility=function(e,t){l.prototype.setVisibility.call(this,e,t),this._contents&&(this._contents.visible=e)},Object.defineProperty(r.prototype,"bullet",{get:function(){return this._bullet},set:function(e){this._bullet&&this._bullet!=e&&(Ae(this.sprites,this._bullet),this._bullet.dataItem=void 0),this._bullet=e,e&&this.addSprite(e)},enumerable:!0,configurable:!0}),r}(ct),ar;(function(l){l[l.Start=0]="Start",l[l.Middle=.5]="Middle",l[l.End=1]="End"})(ar||(ar={}));var Gt=function(l){A(r,l);function r(){var e=l.call(this)||this;if(e._gridCount=10,e._series=new xe,e.autoDispose=!0,e._axisItemCount=0,e.constructor===r)throw new Error("'Axis' cannot be instantiated directly. Please use a specific axis type.");e.hideTooltipWhileZooming=!0,e.minWidth=1e-4,e.minHeight=1e-4,e.className="Axis",e.shouldClone=!1,e.setPropertyValue("cursorTooltipEnabled",!0),e.toggleZoomOutButton=!0,e.zoomable=!0;var t=new te;e.title=new ze,e.title.shouldClone=!1,e._disposers.push(e.title),e.setPropertyValue("startLocation",0),e.setPropertyValue("endLocation",1),e._dataItemsIterator=new Pi(e.dataItems,function(){return e.dataItems.create()}),e._dataItemsIterator.createNewItems=!0;var i=new sr;e._disposers.push(i),i.label.padding(5,10,5,10),i.background.pointerLength=5,i.fitPointerToBounds=!0,i.background.filters.clear(),i.virtualParent=e;var a=i.background;return a.cornerRadius=0,a.fill=t.getFor("alternativeBackground"),a.stroke=a.fill,a.strokeWidth=1,a.fillOpacity=1,i.label.fill=t.getFor("alternativeText"),e.tooltip=i,e.readerHidden=!0,e.events.on("rangechangestarted",function(){e.series.each(function(n){n.hideTooltipWhileZooming&&(n.tooltip.hide(),n.tooltip.preventShow=!0)}),e.hideTooltipWhileZooming&&(e.tooltip.hide(),e.tooltip.preventShow=!0)},void 0,!1),e.events.on("rangechangeended",function(){e.series.each(function(n){n.hideTooltipWhileZooming&&(n.tooltip.hide(),n.tooltip.preventShow=!1)}),e.hideTooltipWhileZooming&&(e.tooltip.hide(),e.tooltip.preventShow=!1)},void 0,!1),e.applyTheme(),e}return r.prototype.fillRule=function(e,t){g(t)||(t=e.index),t/2==Math.round(t/2)?(e.axisFill.__disabled=!0,e.axisFill.opacity=0):(e.axisFill.opacity=1,e.axisFill.__disabled=!1)},r.prototype.createDataItem=function(){return new Vt},r.prototype.invalidateLayout=function(){l.prototype.invalidateLayout.call(this),w(this.series.iterator(),function(e){e.invalidateLayout()})},r.prototype.invalidateSeries=function(){w(this.series.iterator(),function(e){e.invalidate()})},r.prototype.validateDataElements=function(){this._axisItemCount=0,this.ghostLabel&&(this.renderer.updateLabelElement(this.ghostLabel,this.start,this.end),this.ghostLabel.validate())},r.prototype.updateGridCount=function(){if(this.renderer){var e=this.axisLength/this.renderer.minGridDistance;e!=this._gridCount&&(this._gridCount=e,this.clearCache())}},r.prototype.validateLayout=function(){this.axisFullLength=this.axisLength/(this.end-this.start),l.prototype.validateLayout.call(this),this.updateGridCount();var e=this.renderer;e&&(e.updateAxisLine(),e.updateTooltip(),e.updateBaseGridElement()),this._prevLength!=this.axisLength&&(this.dispatchImmediately("lengthchanged"),this._prevLength=this.axisLength)},r.prototype.initRenderer=function(){},r.prototype.appendDataItem=function(e){var t=this.renderer,i=e.tick;i&&(i.above?i.parent=t.bulletsContainer:i.parent=t.gridContainer),e.label&&(e.label.parent=t);var a=e.axisFill;a&&(a.above?a.parent=t.bulletsContainer:a.parent=t.gridContainer);var n=e.grid;n&&(n.above?n.parent=t.bulletsContainer:n.parent=t.gridContainer),e.bullet&&(e.bullet.parent=t.bulletsContainer)},r.prototype.validate=function(){l.prototype.validate.call(this),this.validateLayout(),this.renderer.updateGridContainer()},r.prototype.validateAxisRanges=function(){var e=this;w(this.axisRanges.iterator(),function(t){e.appendDataItem(t),e.validateDataElement(t),t.grid&&t.grid.validate(),t.tick&&t.tick.validate(),t.axisFill&&t.axisFill.validate(),t.label&&t.label.validate()})},r.prototype.validateBreaks=function(){this._axisBreaks&&w(this._axisBreaks.iterator(),function(e){e.invalidate()})},r.prototype.processBreak=function(e){var t=e.newValue;t.parent=this.renderer.breakContainer,t.axis=this},r.prototype.registerSeries=function(e){var t=this;return this.series.moveValue(e),new it([new se(function(){t.series.removeValue(e)}),this.events.on("lengthchanged",e.invalidate,e,!1),this.events.on("lengthchanged",e.createMask,e,!1),this.events.on("startchanged",e.invalidate,e,!1),this.events.on("endchanged",e.invalidate,e,!1)])},Object.defineProperty(r.prototype,"renderer",{get:function(){return this._renderer},set:function(e){if(e!=this._renderer){this._renderer=e,e.chart=this.chart,e.axis=this,e.parent=this,this.title.parent=this,this.initRenderer(),this._disposers.push(e.gridContainer.events.on("maxsizechanged",this.invalidate,this,!1));var t=this.renderer.labels.create();this._disposers.push(t),t.dataItem=this.dataItems.template.clone(),t.text="L",t.parent=this.renderer,t.shouldClone=!1,t.fillOpacity=0,t.opacity=0,t.strokeOpacity=0,t.interactionsEnabled=!1,t.validate(),this.ghostLabel=t,this.events.on("beforedatavalidated",function(){t.text="L"},void 0,!1)}},enumerable:!0,configurable:!0}),r.prototype.positionToAngle=function(e){return this.renderer.positionToAngle(e)},r.prototype.pointToPosition=function(e){return this.renderer.pointToPosition(e)},r.prototype.positionToCoordinate=function(e){return this.renderer.positionToCoordinate(e)},r.prototype.getAnyRangePath=function(e,t){return this.renderer.getPositionRangePath(e,t)},r.prototype.anyToPosition=function(e){return 0},r.prototype.anyToPoint=function(e){return{x:0,y:0,angle:0}},r.prototype.getPositionRangePath=function(e,t){return this.renderer?this.renderer.getPositionRangePath(e,t):""},Object.defineProperty(r.prototype,"axisLength",{get:function(){return this.renderer?this.renderer.axisLength:0},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cursorTooltipEnabled",{get:function(){return this.getPropertyValue("cursorTooltipEnabled")},set:function(e){this.setPropertyValue("cursorTooltipEnabled",e)&&(e&&this.renderer?this.renderer.updateTooltip():this.tooltip&&this.tooltip.hide(0))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"toggleZoomOutButton",{get:function(){return this.getPropertyValue("toggleZoomOutButton")},set:function(e){this.setPropertyValue("toggleZoomOutButton",e)},enumerable:!0,configurable:!0}),r.prototype.hideTooltip=function(e){l.prototype.hideTooltip.call(this,e),this._tooltipPosition=void 0},r.prototype.showTooltipAtPosition=function(e,t){var i=this._tooltip;if(!i||this.dataItems.length<=0)this._tooltipPosition=void 0;else{if(t||(e=this.toAxisPosition(e)),!g(e)||ethis.end){i.hide(0),this._tooltipPosition=void 0;return}var a=this.renderer;i.parent||(i.parent=this.tooltipContainer);var n=a.tooltipLocation,s=this.getCellStartPosition(e),o=this.getCellEndPosition(e);if(this.tooltipPosition=="fixed"&&(e=s+(o-s)*n),e=Y(e,this.start,this.end),this._tooltipPosition!=e){this._tooltipPosition=e;var h=a.tooltipLocation2,d=a.positionToPoint(s,h),u=a.positionToPoint(o,h);this.currentItemStartPoint=d,this.currentItemEndPoint=u,a.fullWidthTooltip&&(i.width=u.x-d.x,i.height=u.y-d.y);var p=a.positionToPoint(e,h),f=Qe(p,this.renderer.line);i.text=this.getTooltipText(e),i.text&&(i.delayedPointTo(f),i.show())}(!this.cursorTooltipEnabled||this.tooltip.disabled)&&i.hide(0)}},r.prototype.toAxisPosition=function(e){if(e=this.renderer.toAxisPosition(e),e!=null)return e=e*(this.end-this.start),this.renderer.inversed?e=this.end-e:e=this.start+e,e},r.prototype.toGlobalPosition=function(e){return this.renderer.inversed?e=this.end-e:e=e-this.start,e/(this.end-this.start)},r.prototype.getTooltipText=function(e){},r.prototype.updateTooltip=function(e,t){var i=this._tooltip;i&&(i.fixDoc=!1,i.pointerOrientation=e,i.setBounds(or(t,this.renderer.line)))},r.prototype.roundPosition=function(e,t,i){return e},r.prototype.getCellStartPosition=function(e){return e},r.prototype.getCellEndPosition=function(e){return e},Object.defineProperty(r.prototype,"axisRanges",{get:function(){if(!this._axisRanges){var e=this.createDataItem();e.isRange=!0,e.axisFill=this.renderer.axisFills.template.clone(),e.grid=this.renderer.grid.template.clone(),e.tick=this.renderer.ticks.template.clone(),e.label=this.renderer.labels.template.clone(),e.isTemplate=!0,e.component=this,e.axisFill.disabled=!1,e.tick.disabled=!1,e.grid.disabled=!1,e.label.disabled=!1,this._axisRanges=new Q(e),this._axisRanges.events.on("inserted",this.processAxisRange,this,!1),this._disposers.push(new G(this._axisRanges)),this._disposers.push(this._axisRanges.template)}return this._axisRanges},enumerable:!0,configurable:!0}),r.prototype.processAxisRange=function(e){var t=e.newValue;t.component=this,t.isRange=!0},Object.defineProperty(r.prototype,"axisBreaks",{get:function(){return this._axisBreaks||(this._axisBreaks=new ua(this.createAxisBreak(),function(e,t){return yt(e.adjustedStartValue,t.adjustedStartValue)}),this._axisBreaks.events.on("inserted",this.processBreak,this,!1),this._disposers.push(new G(this._axisBreaks)),this._disposers.push(this._axisBreaks.template)),this._axisBreaks},enumerable:!0,configurable:!0}),r.prototype.createAxisBreak=function(){return new Ut},Object.defineProperty(r.prototype,"series",{get:function(){return this._series||(this._series=new xe),this._series},enumerable:!0,configurable:!0}),r.prototype.processSeriesDataItems=function(){},r.prototype.processSeriesDataItem=function(e,t){},r.prototype.postProcessSeriesDataItems=function(e){},r.prototype.postProcessSeriesDataItem=function(e){},r.prototype.updateAxisBySeries=function(){},r.prototype.hideUnusedDataItems=function(){var e=this,t=this._dataItemsIterator;t.createNewItems=!1,w(t.iterator(),function(i){e.validateDataElement(i),i.__disabled=!0}),t.clear(),t.createNewItems=!0},r.prototype.getSeriesDataItem=function(e,t,i){},r.prototype.getAngle=function(e,t,i,a,n){},r.prototype.getX=function(e,t,i,a,n){},r.prototype.getPositionX=function(e,t,i,a,n){},r.prototype.getY=function(e,t,i,a,n){},r.prototype.getPositionY=function(e,t,i,a,n){},Object.defineProperty(r.prototype,"basePoint",{get:function(){return{x:0,y:0}},enumerable:!0,configurable:!0}),r.prototype.dataChangeUpdate=function(){},r.prototype.seriesDataChangeUpdate=function(e){},r.prototype.adjustDifference=function(e,t){var i=t-e;if(g(i))return this._axisBreaks&&je(this._axisBreaks.iterator(),function(a){var n=a.adjustedStartValue,s=a.adjustedEndValue;if(g(n)&&g(s)){if(n>t)return!1;if(s>=e&&g(n)&&g(s)){var o=a.breakSize,h=da({start:n,end:s},{start:e,end:t});h&&(i-=(h.end-h.start)*(1-o))}return!0}}),i},r.prototype.isInBreak=function(e){if(this._axisBreaks)return pa(this._axisBreaks.iterator(),function(t){return e>=t.adjustedStartValue&&e<=t.adjustedEndValue})},r.prototype.fixAxisBreaks=function(){var e=this;if(this._axisBreaks){var t=this._axisBreaks;if(t.length>0){H(fa(t.iterator()),function(n){var s=U(n.startValue,n.endValue),o=ee(n.startValue,n.endValue);n.adjustedStartValue=s,n.adjustedEndValue=o,e._axisBreaks.update(n)});var i=t.first,a=Math.min(i.startValue,i.endValue);w(t.iterator(),function(n){var s=n.adjustedStartValue,o=n.adjustedEndValue;sh?e.__disabled=!0:e.__disabled=!1)},r.prototype.createBreakSprites=function(e){},Object.defineProperty(r.prototype,"axisFills",{get:function(){if(!this._axisFills){var e=this.createFill(this.axis);this._axisFills=new Q(e),e.applyOnClones=!0,e.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new G(this._axisFills)),this._disposers.push(this._axisFills.template)}return this._axisFills},enumerable:!0,configurable:!0}),r.prototype.createFill=function(e){return new Si(e)},Object.defineProperty(r.prototype,"grid",{get:function(){if(!this._grid){var e=this.createGrid();this._grid=new Q(e),e.applyOnClones=!0,e.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new G(this._grid)),this._disposers.push(this._grid.template)}return this._grid},enumerable:!0,configurable:!0}),r.prototype.createGrid=function(){return new Dt},Object.defineProperty(r.prototype,"ticks",{get:function(){if(!this._ticks){var e=this.createTick();e.applyOnClones=!0,e.isMeasured=!1,e.events.on("enabled",this.invalidateAxisItems,this,!1),this._ticks=new Q(e),this._disposers.push(new G(this._ticks)),this._disposers.push(this._ticks.template)}return this._ticks},enumerable:!0,configurable:!0}),r.prototype.createTick=function(){return new gr},Object.defineProperty(r.prototype,"labels",{get:function(){if(!this._labels){var e=this.createLabel();this._labels=new Q(e),e.applyOnClones=!0,e.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new G(this._labels)),this._disposers.push(this._labels.template)}return this._labels},enumerable:!0,configurable:!0}),r.prototype.createLabel=function(){return new Ti},Object.defineProperty(r.prototype,"inside",{get:function(){return this.getPropertyValue("inside")},set:function(e){this.setPropertyValue("inside",e)&&this.axis&&this.axis.invalidate(),e?(this.width=0,this.height=0):(this.width=void 0,this.height=void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"opposite",{get:function(){return this.getPropertyValue("opposite")},set:function(e){this.setPropertyValue("opposite",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"fullWidthTooltip",{get:function(){return this.getPropertyValue("fullWidthTooltip")},set:function(e){this.setPropertyValue("fullWidthTooltip",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tooltipLocation",{get:function(){return this.getPropertyValue("tooltipLocation")},set:function(e){this.setPropertyValue("tooltipLocation",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tooltipLocation2",{get:function(){return this.getPropertyValue("tooltipLocation2")},set:function(e){this.setPropertyValue("tooltipLocation2",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cellStartLocation",{get:function(){return this.getPropertyValue("cellStartLocation")},set:function(e){this.setPropertyValue("cellStartLocation",e)&&this.axis&&this.axis.invalidateSeries()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cellEndLocation",{get:function(){return this.getPropertyValue("cellEndLocation")},set:function(e){this.setPropertyValue("cellEndLocation",e)&&this.axis&&this.axis.invalidateSeries()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"inversed",{get:function(){return this.getPropertyValue("inversed")},set:function(e){this.setPropertyValue("inversed",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"minLabelPosition",{get:function(){return this.getPropertyValue("minLabelPosition")},set:function(e){this.setPropertyValue("minLabelPosition",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maxLabelPosition",{get:function(){return this.getPropertyValue("maxLabelPosition")},set:function(e){this.setPropertyValue("maxLabelPosition",e,!0)},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.grid.template.copyFrom(e.grid.template),this.ticks.template.copyFrom(e.ticks.template),this.labels.template.copyFrom(e.labels.template),this.axisFills.template.copyFrom(e.axisFills.template),this.line.copyFrom(e.line),this.baseGrid.copyFrom(e.baseGrid)},r.prototype.toAxisPosition=function(e){return e},r.prototype.setVisibility=function(e){l.prototype.setVisibility.call(this,e),this.bulletsContainer.visible=e},r}(X);V.registeredClasses.AxisRenderer=Kt;var Tt=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="AxisBullet",e.location=.5,e.isMeasured=!1,e.applyTheme(),e}return Object.defineProperty(r.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(e){this.setPropertyValue("location",e,!0)},enumerable:!0,configurable:!0}),r.prototype.setDisabled=function(e){var t=l.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),t},r}(X);V.registeredClasses.AxisBullet=Tt;var we=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="AxisRendererY",e.minGridDistance=40,e.opposite=!1,e.height=k(100),e.labels.template.verticalCenter="middle",e.applyTheme(),e}return r.prototype.setAxis=function(e){l.prototype.setAxis.call(this,e),e.layout="horizontal"},r.prototype.updateGridContainer=function(){var e=this.axis;if(e){var t=this.gridContainer;t.y=e.pixelY,t.height=e.axisLength}},r.prototype.toAxisPosition=function(e){var t=this.axis;if(t){var i=1-e,a=t.relativePositionSprite,n=t.pixelY;if(a?n=De({x:0,y:this.pixelY},this.parent,a).y:a=t.parent,a){var s=n/a.innerHeight,o=t.axisLength/a.innerHeight;return 1-(i-s)/o}}return e},r.prototype.processRenderer=function(){l.prototype.processRenderer.call(this);var e=this.axis;if(e){var t=e.title;t.valign="middle",e.height instanceof ce||(e.height=k(100)),this.opposite?(t.rotation=90,this.line.toBack(),t.toFront()):(t.rotation=-90,t.toBack(),this.line.toFront())}},r.prototype.updateTooltip=function(){var e=this.axis;if(e){var t=2e3,i=0,a=0,n=t,s=this.axisLength;this.opposite?this.inside&&(i=-t,n=t):this.inside||(i=-t,n=t),this.axis.updateTooltip("horizontal",{x:i,y:a,width:n,height:s})}},Object.defineProperty(r.prototype,"axisLength",{get:function(){var e=this.axis;return e.measuredHeight-e.pixelPaddingTop-e.pixelPaddingBottom||0},enumerable:!0,configurable:!0}),r.prototype.positionToPoint=function(e,t){return{x:0,y:this.positionToCoordinate(e)}},r.prototype.pointToPosition=function(e){return this.coordinateToPosition(e.y,e.x)},r.prototype.coordinateToPosition=function(e,t){var i,a=this.axis,n=a.axisFullLength;return a.renderer.inversed?i=1-a.start-e/n:i=e/n+(1-a.end),j(i,5)},r.prototype.getPositionRangePath=function(e,t){var i=Y(this.positionToCoordinate(e),0,this.axisLength),a=Y(this.positionToCoordinate(t),0,this.axisLength),n=Math.abs(a-i),s=this.getWidth(),o=Math.min(i,a),h=0;return Be({x:h,y:o,width:s,height:n},!0)},r.prototype.updateGridElement=function(e,t,i){t=t+(i-t)*e.location;var a=this.positionToPoint(t);e.path=W({x:0,y:0})+R({x:this.getWidth(),y:0}),this.positionItem(e,a),this.toggleVisibility(e,t,0,1)},r.prototype.updateTickElement=function(e,t,i){t=t+(i-t)*e.location;var a=this.positionToPoint(t),n=e.length;try{He(this.axis.title.measuredWidth)}catch{}a.x=De({x:this.line.pixelX,y:0},this.line.parent,this.gridContainer).x,this.opposite?n*=e.inside?-1:1:n*=e.inside?1:-1,e.path=W({x:0,y:0})+R({x:n,y:0}),this.positionItem(e,a),this.toggleVisibility(e,t,0,1)},r.prototype.updateAxisLine=function(){this.line.path=W({x:0,y:0})+R({x:0,y:this.axisLength})},r.prototype.updateBaseGridElement=function(){l.prototype.updateBaseGridElement.call(this);var e=this.axis,t=this.getWidth(),i=this.axisLength,a=e.basePoint.y,n=this.baseGrid;if(a<-.2||a>i+.2)n.hide(0);else{var s=De({x:0,y:0},this.gridContainer,n.parent).x;n.path=W({x:0,y:0})+R({x:t,y:0}),n.moveTo({x:s,y:a}),n.show(0)}},r.prototype.updateLabelElement=function(e,t,i,a){C(a)||(a=e.location),t=t+(i-t)*a,e.isMeasured=!e.inside;var n=this.positionToPoint(t),s,o=0,h=this.gridContainer.maxWidth;this.opposite?(e.inside?(s="right",e.align=="left"&&(o=-h,s="left"),e.align=="center"&&(o=-h/2,s="middle")):s="left",n.x=0+o):(e.inside?(s="left",e.align=="right"&&(o=h,s="right"),e.align=="center"&&(o=h/2,s="middle")):s="right",n.x=this.measuredWidth+o),e.rotation==0&&(e.horizontalCenter=s),this.positionItem(e,n),this.toggleVisibility(e,t,this.minLabelPosition,this.maxLabelPosition)},r.prototype.updateBreakElement=function(e){l.prototype.updateBreakElement.call(this,e);var t=e.startLine,i=e.endLine,a=e.fillShape,n=e.startPoint,s=e.endPoint,o=e.pixelMarginLeft,h=this.getWidth()-e.pixelMarginLeft-e.pixelMarginRight;n.y=Y(n.y,-1,this.axisLength+1),s.y=Y(s.y,-1,this.axisLength+1),n.y==s.y&&(n.y<0||n.y>this.axisLength)?e.fillShape.__disabled=!0:e.fillShape.__disabled=!1;var d=Math.abs(h-o);t.x=o,t.height=0,t.width=d,i.x=o,i.height=0,i.width=d,a.width=d,a.height=Math.abs(s.y-n.y),a.x=o,a.y=s.y},r.prototype.createBreakSprites=function(e){e.startLine=new tt,e.endLine=new tt;var t=new lr;t.setWavedSides(!0,!1,!0,!1),e.fillShape=t},r.prototype.positionToCoordinate=function(e){var t,i=this.axis,a=i.axisFullLength;return i.renderer.inversed?t=(e-i.start)*a:t=(i.end-e)*a,t},r.prototype.updateBullet=function(e,t,i){var a=.5;e instanceof Tt&&(a=e.location),t=t+(i-t)*a;var n=this.positionToPoint(t);n.x=De({x:this.line.pixelX,y:0},this.line.parent,this.gridContainer).x,this.positionItem(e,n),this.toggleVisibility(e,t,0,1)},r}(Kt);V.registeredClasses.AxisRendererY=we;de.push({relevant:pe.widthS,state:function(l,r){if(l instanceof we){var e=l.states.create(r);return e.properties.inside=!0,e.properties.maxLabelPosition=.9,e.properties.minLabelPosition=.1,e}return null}});de.push({relevant:pe.widthXS,state:function(l,r){if(l instanceof we){var e=l.states.create(r);return e.properties.disabled=!0,e}return null}});var Oi=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ValueAxisBreak",e.applyTheme(),e}return Object.defineProperty(r.prototype,"startPosition",{get:function(){if(this.axis)return this.axis.valueToPosition(this.adjustedStartValue)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endPosition",{get:function(){if(this.axis)return this.axis.valueToPosition(this.adjustedEndValue)},enumerable:!0,configurable:!0}),r}(Ut);V.registeredClasses.ValueAxisBreak=Oi;var Zt=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ValueAxisDataItem",e.values.value={},e.values.endValue={},e.applyTheme(),e}return Object.defineProperty(r.prototype,"value",{get:function(){return this.values.value.value},set:function(e){this.setValue("value",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endValue",{get:function(){return this.values.endValue.value},set:function(e){this.setValue("endValue",e)},enumerable:!0,configurable:!0}),r}(Vt),E=function(l){A(r,l);function r(){var e=l.call(this)||this;return e._stepDecimalPlaces=0,e._prevStepDecimalPlaces=0,e._adjustLabelPrecision=!0,e._baseValue=0,e._adjustedStart=0,e._adjustedEnd=1,e._extremesChanged=!1,e._deltaMinMax=1,e._dsc=!1,e.calculateTotals=!1,e.className="ValueAxis",e.axisFieldName="value",e.setPropertyValue("maxZoomFactor",1e3),e.setPropertyValue("extraMin",0),e.setPropertyValue("extraMax",0),e.setPropertyValue("strictMinMax",!1),e.setPropertyValue("maxPrecision",Number.MAX_VALUE),e.setPropertyValue("adjustLabelPrecision",!0),e.setPropertyValue("extraTooltipPrecision",0),e.keepSelection=!1,e.includeRangesInMinMax=!1,e.applyTheme(),e}return r.prototype.fillRule=function(e){var t=e.value,i=e.component;e.axisFill.disabled||(j(t/i.step/2,5)==Math.round(t/i.step/2)?e.axisFill.__disabled=!0:e.axisFill.__disabled=!1)},r.prototype.createDataItem=function(){return new Zt},r.prototype.createAxisBreak=function(){return new Oi},r.prototype.dataChangeUpdate=function(){this.clearCache(),this.keepSelection?(this._start!=0&&this.dispatchImmediately("startchanged"),this._end!=1&&this.dispatchImmediately("endchanged"),(this._start!=0||this._end!=1)&&this.dispatchImmediately("startendchanged")):(this._start!=0||this._end!=1)&&(this._start=0,this._end=1,this.dispatchImmediately("startendchanged")),this._maxZoomed=this._maxDefined,this._minZoomed=this._minDefined,this._maxAdjusted=this._maxDefined,this._minAdjusted=this._minDefined},r.prototype.processSeriesDataItems=function(){if(this.calculateTotals){var e=this.series.getIndex(0),t=e.startIndex;if(e.dataItems.length>0){t>0&&t--;var i=e.endIndex;i1?t=Math.pow(10,Math.log(this.min)*Math.LOG10E):(t=Math.floor(this.minZoomed/this._step)*this._step,t==0&&(t=this.minZoomed))}var a=this._maxZoomed+this._step;this.resetIterators();var n=this._dataItemsIterator;if(this._step==0)return;this._step=this.fixSmallStep(this._step);var s=0,o=this._prevStepDecimalPlaces!=this._stepDecimalPlaces;for(this._prevStepDecimalPlaces=this._stepDecimalPlaces;t<=a;){var h=this.isInBreak(t);if(!h){var d=n.find(function(v){return v.value===t});d.__disabled&&(d.__disabled=!1),this.appendDataItem(d),d.axisBreak=void 0,(d.value!=t||o)&&(d.value=t,d.text=this.formatLabel(t),d.label&&d.label.invalid&&d.label.validate(),d.value>=this.min&&d.value<=this.max&&d.label&&(this.axisLetter=="Y"&&d.label.measuredWidth>this.ghostLabel.measuredWidth||this.axisLetter=="X"&&d.label.measuredHeight>this.ghostLabel.measuredHeight)&&(this.ghostLabel.text=d.label.currentText,this.ghostLabel.validate())),this.validateDataElement(d)}s++;var u=t;if(!this.logarithmic)t+=this._step;else{var i=Math.log(this.max)*Math.LOG10E-Math.log(this.min)*Math.LOG10E;i>1?t=Math.pow(10,Math.log(this.min)*Math.LOG10E+s):t+=this._step}var p=Math.pow(10,Math.floor(Math.log(Math.abs(this._step))*Math.LOG10E));if(p<1){var f=Math.round(Math.abs(Math.log(Math.abs(p))*Math.LOG10E))+2;if(f=Math.min(13,f),t=j(t,f),u==t){t=a;break}}}var c=this._axisBreaks;if(c){var y=this.renderer;w(c.iterator(),function(v){if(v.breakSize>0&&K(v.startPoint,v.endPoint)>y.minGridDistance)for(var m=v.adjustedMin;m<=v.adjustedMax;){if(m>=v.adjustedStartValue&&m<=v.adjustedEndValue){var x=n.find(function(P){return P.value===m});x.__disabled&&(x.__disabled=!1),e.appendDataItem(x),x.axisBreak=v,x.value!=m&&(x.value=m,x.text=e.formatLabel(m),x.label&&x.label.invalid&&x.label.validate()),e.validateDataElement(x)}m+=v.adjustedStep}})}}},r.prototype.validateDataElement=function(e){l.prototype.validateDataElement.call(this,e),e.itemIndex=this._axisItemCount,this._axisItemCount++;var t=this.renderer,i=e.value,a=e.endValue,n=this.valueToPosition(i);e.position=n;var s=n,o=this.valueToPosition(i+this._step);g(a)&&(s=this.valueToPosition(a),o=s),e.point=t.positionToPoint(n);var h=e.tick;h&&!h.disabled&&t.updateTickElement(h,n,s);var d=e.grid;d&&!d.disabled&&t.updateGridElement(d,n,s);var u=e.label;u&&!u.disabled&&t.updateLabelElement(u,n,s);var p=e.axisFill;p&&!p.disabled&&(t.updateFillElement(p,n,o),e.isRange||this.fillRule(e)),e.bullet&&t.updateBullet(e.bullet,n,s);var f=e.mask;f&&t.updateFillElement(f,n,o)},r.prototype.formatLabel=function(e){return this.adjustLabelPrecision&&e!=0?this.numberFormatter.format(e,void 0,this._stepDecimalPlaces):this.numberFormatter.format(e)},Object.defineProperty(r.prototype,"basePoint",{get:function(){var e=this.baseValue,t=this.valueToPosition(e),i=this.renderer.positionToPoint(t);return i},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"baseValue",{get:function(){var e=this._baseValue;return this.logarithmic&&(e=this.min),this._adapterO?this._adapterO.apply("baseValue",e):e},set:function(e){this._baseValue=e,this.invalidateLayout(),this.invalidateSeries()},enumerable:!0,configurable:!0}),r.prototype.anyToPosition=function(e){return this.valueToPosition(e)},r.prototype.valueToPoint=function(e){var t=this.valueToPosition(e),i=this.renderer.positionToPoint(t),a=this.renderer.positionToAngle(t);return{x:i.x,y:i.y,angle:a}},r.prototype.anyToPoint=function(e){return this.valueToPoint(e)},r.prototype.valueToPosition=function(e){if(g(e)){var t=this.min,i=this.max;if(g(t)&&g(i)){var a=this._difference,n=this._axisBreaks;n&&n.length>0&&je(n.iterator(),function(h){var d=h.adjustedStartValue,u=h.adjustedEndValue;if(g(d)&&g(u)){if(eu?t+=(u-d)*(1-p):e0&&je(s.iterator(),function(o){var h=o.startPosition,d=o.endPosition,u=o.adjustedStartValue,p=o.adjustedEndValue;if(g(u)&&g(p)){if(u>i)return!1;if(Xt({start:u,end:p},{start:t,end:i})){u=ee(u,t),p=U(p,i);var f=o.breakSize;if(a-=(p-u)*(1-f),e>d)t+=(p-u)*(1-f);else if(!(ei&&(i=c)}}),this.includeRangesInMinMax&&this.axisRanges.each(function(p){if(!p.ignoreMinMax){var f=U(p.value,p.endValue),c=ee(p.value,p.endValue);(fi||!g(i))&&(i=c)}})),this.logarithmic){var a=this.treatZeroAs;g(a)&&t<=0&&(t=a),t<=0&&this.raiseCriticalError(new Error("Logarithmic value axis can not have values <= 0."),!0)}if(t==0&&i==0&&(i=.9,t=-.9),g(this._minDefined)&&(t=this._minDefined),g(this._maxDefined)&&(i=this._maxDefined),this._adapterO&&(t=this._adapterO.apply("min",t)),this._adapterO&&(i=this._adapterO.apply("max",i)),!(!g(t)||!g(i))){this._minReal=t,this._maxReal=i,t==Number.POSITIVE_INFINITY&&(t=void 0),i==Number.NEGATIVE_INFINITY&&(i=void 0);var n=this.adjustDifference(t,i);if(t=this.fixMin(t),i=this.fixMax(i),i-t<=1/Math.pow(10,15)){if(i-t!=0)this._deltaMinMax=(i-t)/2;else{var s=Math.log(Math.abs(i))*Math.LOG10E,o=Math.pow(10,Math.floor(s));o=o/10,this._deltaMinMax=o}t-=this._deltaMinMax,i+=this._deltaMinMax}t-=(i-t)*this.extraMin,i+=(i-t)*this.extraMax;var h=this.strictMinMax;g(this._maxDefined)&&(h=!0);var d=this.adjustMinMax(t,i,n,this._gridCount,h);if(t=d.min,i=d.max,n=i-t,d=this.adjustMinMax(t,i,i-t,this._gridCount,!0),t=d.min,i=d.max,this.strictMinMax&&(g(this._minDefined)?t=this._minDefined:t=this._minReal,g(this._maxDefined)?i=this._maxDefined:i=this._maxReal,i-t<=1e-8&&(t-=this._deltaMinMax,i+=this._deltaMinMax),t-=(i-t)*this.extraMin,i+=(i-t)*this.extraMax),this._adapterO&&(t=this._adapterO.apply("min",t)),this._adapterO&&(i=this._adapterO.apply("max",i)),this._step=d.step,!g(t)&&!g(i)&&(this.start=0,this.end=1,this.renderer.labels.each(function(p){p.dataItem.text=""})),(this._minAdjusted!=t||this._maxAdjusted!=i)&&g(t)&&g(i)){var u=this._minMaxAnimation;if(this._extremesChanged&&g(this._minAdjusted)&&g(this._maxAdjusted)&&this.inited){if(u&&!u.isFinished()&&this._finalMax==i&&this._finalMin==t)return;this._finalMin=t,this._finalMax=i,u=this.animateMinMax(t,i),u&&!u.isFinished()?(u.events.on("animationprogress",this.validateDataItems,this),u.events.on("animationended",function(){e.series.each(function(p){p.validate()}),e.validateDataItems(),e.handleSelectionExtremesChange()}),this._minMaxAnimation=u):this.series.each(function(p){p.invalidate()}),this.validateDataItems(),this.dispatchImmediately("extremeschanged"),this.handleSelectionExtremesChange()}else{if(u&&!u.isFinished()&&this._finalMax==i&&this._finalMin==t)return;this._minAdjusted=t,this._maxAdjusted=i,this._finalMin=t,this._finalMax=i,this.invalidateDataItems(),this.dispatchImmediately("extremeschanged")}}this._extremesChanged=!1,this._difference=this.adjustDifference(t,i)}},r.prototype.fixMin=function(e){return e},r.prototype.fixMax=function(e){return e},r.prototype.adjustMinMax=function(e,t,i,a,n){a<=1&&(a=1),a=Math.round(a);var s=e,o=t;i===0&&(i=Math.abs(t));var h=Math.log(Math.abs(i))*Math.LOG10E,d=Math.pow(10,Math.floor(h));d=d/10;var u=d;n&&(u=0),this.logarithmic?(e<=0&&(e=this.baseValue),e==1/0&&(e=1),t==-1/0&&(t=10),this.strictMinMax?(this._minDefined>0?e=this._minDefined:e=e,this._maxDefined>0&&(t=t)):(e=Math.pow(10,Math.floor(Math.log(Math.abs(e))*Math.LOG10E)),t=Math.pow(10,Math.ceil(Math.log(Math.abs(t))*Math.LOG10E)))):(n?(e=Math.floor(e/d)*d,t=Math.ceil(t/d)*d):(e=Math.ceil(e/d)*d-u,t=Math.floor(t/d)*d+u),e<0&&s>=0&&(e=0),t>0&&o<=0&&(t=0)),h=Math.log(Math.abs(i))*Math.LOG10E,d=Math.pow(10,Math.floor(h)),d=d/10;var p=Math.ceil(i/a/d)*d,f=Math.pow(10,Math.floor(Math.log(Math.abs(p))*Math.LOG10E)),c=Math.ceil(p/f);c>5?c=10:c<=5&&c>2&&(c=5),p=Math.ceil(p/(f*c))*f*c,this.maxPrecisions&&(e=e-p)}return{min:e,max:t,step:p}},Object.defineProperty(r.prototype,"min",{get:function(){var e=this._minAdjusted;return g(e)||(e=this._minDefined),e},set:function(e){this._minDefined!=e&&(this._minDefined=e,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"minDefined",{get:function(){return this._minDefined},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maxDefined",{get:function(){return this._maxDefined},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"extraMin",{get:function(){return this.getPropertyValue("extraMin")},set:function(e){this.setPropertyValue("extraMin",e)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"extraMax",{get:function(){return this.getPropertyValue("extraMax")},set:function(e){this.setPropertyValue("extraMax",e)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"step",{get:function(){return this._step},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"max",{get:function(){var e=this._maxAdjusted;return g(e)||(e=this._maxDefined),e},set:function(e){this._maxDefined!=e&&(this._maxDefined=e,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"adjustLabelPrecision",{get:function(){return this.getPropertyValue("adjustLabelPrecision")},set:function(e){this.setPropertyValue("adjustLabelPrecision",e)&&this.invalidate()},enumerable:!0,configurable:!0}),r.prototype.registerSeries=function(e){return new it([l.prototype.registerSeries.call(this,e),e.events.on("extremeschanged",this.handleExtremesChange,this,!1),e.events.on("selectionextremeschanged",this.handleSelectionExtremesChange,this,!1),this.events.on("extremeschanged",e.invalidate,e,!1)])},r.prototype.handleSelectionExtremesChange=function(){var e=this,t,i,a=!0;if(w(this.series.iterator(),function(f){if(!f.ignoreMinMax&&!f.isHidden&&!f.outOfRange){f.visible&&!f.isHiding&&(a=!1);var c=f.selectionMin(e),y=f.selectionMax(e);g(c)&&(!g(t)||ci)&&(i=y)}}),this.includeRangesInMinMax&&this.axisRanges.each(function(f){if(!f.ignoreMinMax){var c=U(f.value,f.endValue),y=ee(f.value,f.endValue);ci&&(i=y)}}),g(this._minDefined)?this.strictMinMax?t=this._minDefined:t=this.min:this.strictMinMax&&(t=this._minReal),g(this._maxDefined)?this.strictMinMax?i=this._maxDefined:i=this.max:this.strictMinMax&&(i=this._maxReal),t==i){t-=this._deltaMinMax,i+=this._deltaMinMax;var n=this.adjustMinMax(t,i,0,this._gridCount,this.strictMinMax);t=n.min,i=n.max}var s=this.adjustDifference(t,i),o=this.adjustMinMax(t,i,s,this._gridCount);t=o.min,i=o.max,t-=(i-t)*this.extraMin,i+=(i-t)*this.extraMax,t=Y(t,this.min,this.max),i=Y(i,this.min,this.max),s=this.adjustDifference(t,i),o=this.adjustMinMax(t,i,s,this._gridCount,!0),t=o.min,i=o.max,this.strictMinMax&&(t=ee(t,this._minDefined),i=U(i,this._maxDefined));var h=o.step;this.syncWithAxis&&(o=this.syncAxes(t,i,h),t=o.min,i=o.max,this.invalidate()),h=o.step,this._difference=this.adjustDifference(this.min,this.max);var d=this.valueToPosition(t),u=this.valueToPosition(i);a&&!this.syncWithAxis&&(d=0,u=1);var p=0;this.syncWithAxis?(p=5,this.setCache(t+"-"+i,h)):((this._step!=h||this._minZoomed!=t||this._maxZoomed!=i)&&(this._dsc=!0),this._step=h,this._minZoomed=t,this._maxZoomed=i),this.keepSelection||this.zoom({start:d,end:u},!1,!1,p)},Object.defineProperty(r.prototype,"strictMinMax",{get:function(){return this.getPropertyValue("strictMinMax")},set:function(e){this.setPropertyValue("strictMinMax",e)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"logarithmic",{get:function(){return this.getPropertyValue("logarithmic")},set:function(e){this.setPropertyValue("logarithmic",e)&&(this.invalidate(),this.series.each(function(t){t.invalidateDataItems()}))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"keepSelection",{get:function(){return this.getPropertyValue("keepSelection")},set:function(e){this.setPropertyValue("keepSelection",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"includeRangesInMinMax",{get:function(){return this.getPropertyValue("includeRangesInMinMax")},set:function(e){this.setPropertyValue("includeRangesInMinMax",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maxPrecision",{get:function(){return this.getPropertyValue("maxPrecision")},set:function(e){this.setPropertyValue("maxPrecision",e)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"extraTooltipPrecision",{get:function(){return this.getPropertyValue("extraTooltipPrecision")},set:function(e){this.setPropertyValue("extraTooltipPrecision",e)&&this.invalidate()},enumerable:!0,configurable:!0}),r.prototype.handleExtremesChange=function(){var e=this;if(this._extremesChanged=!0,this.getMinMax(),this.ghostLabel){var t=0;this.dataItems.each(function(i){i.label&&i.label.pixelWidth>t&&(e.ghostLabel.text=i.label.currentText)})}},r.prototype.getX=function(e,t,i,a,n){return this.renderer.positionToPoint(this.getPositionX(e,t,i,a,n)).x},r.prototype.getPositionX=function(e,t,i,a,n){var s=e.getWorkingValue(t);C(a)||(a="valueX");var o=e.getValue(a,"stack");g(s)||(s=this.baseValue,this.logarithmic&&o>0&&(s=0));var h=this.valueToPosition(s+o);return n&&(h=Y(h,n.start,n.end)),h},r.prototype.getY=function(e,t,i,a,n){return this.renderer.positionToPoint(this.getPositionY(e,t,i,a,n)).y},r.prototype.getPositionY=function(e,t,i,a,n){var s=e.getWorkingValue(t);C(a)||(a="valueY");var o=e.getValue(a,"stack");g(s)||(s=this.baseValue,this.logarithmic&&o>0&&(s=0));var h=this.valueToPosition(s+o);return n&&(h=Y(h,n.start,n.end)),h},r.prototype.getAngle=function(e,t,i,a,n){var s=e.getWorkingValue(t),o=e.getValue(a,"stack");g(s)||(s=this.baseValue);var h=this.valueToPosition(s+o);return n&&(h=Y(h,n.start,n.end)),this.positionToAngle(h)},r.prototype.getAnyRangePath=function(e,t,i){var a=this.valueToPosition(e),n=this.valueToPosition(t);return this.getPositionRangePath(a,n)},r.prototype.getTooltipText=function(e){var t=j(this.positionToValue(e),this._stepDecimalPlaces+this.extraTooltipPrecision),i=this.tooltip.numberFormatter.format(t);return this._adapterO?this._adapterO.apply("getTooltipText",i):i},r.prototype.zoomToValues=function(e,t,i,a){var n=(e-this.min)/(this.max-this.min),s=(t-this.min)/(this.max-this.min);this.zoom({start:n,end:s},i,a)},Object.defineProperty(r.prototype,"minZoomed",{get:function(){return this.syncWithAxis?this._minZoomed:ee(this.min,this._minZoomed)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maxZoomed",{get:function(){return this.syncWithAxis?this._maxZoomed:U(this.max,this._maxZoomed)},enumerable:!0,configurable:!0}),r.prototype.fixAxisBreaks=function(){var e=this;l.prototype.fixAxisBreaks.call(this);var t=this._axisBreaks;t&&t.length>0&&t.each(function(i){var a=i.adjustedStartValue,n=i.adjustedEndValue,s=n-a,o=Math.ceil(s*i.breakSize)*e._gridCount/(e.max-e.min),h=e.adjustMinMax(a,n,s,o,!0);i.adjustedStep=h.step,i.adjustedMin=h.min,i.adjustedMax=h.max}),this._difference=this.adjustDifference(this.min,this.max)},r.prototype.getPositionLabel=function(e){var t=this.positionToValue(e);return this.numberFormatter.format(t)},r.prototype.showTooltipAt=function(e){this.showTooltipAtPosition(this.valueToPosition(e))},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.min=e.min,this.max=e.max,this.calculateTotals=e.calculateTotals,this._baseValue=e.baseValue},Object.defineProperty(r.prototype,"syncWithAxis",{get:function(){return this.getPropertyValue("syncWithAxis")},set:function(e){var t=this;this.setPropertyValue("syncWithAxis",e,!0)&&e&&(this._disposers.push(e.events.on("extremeschanged",this.handleSelectionExtremesChange,this,!1)),this._disposers.push(e.events.on("selectionextremeschanged",this.handleSelectionExtremesChange,this,!1)),this._disposers.push(e.events.on("startendchanged",this.handleSelectionExtremesChange,this,!1)),this.events.on("shown",this.handleSelectionExtremesChange,this,!1),this.events.on("maxsizechanged",function(){t.clearCache(),t._disposers.push(V.events.once("exitframe",function(){t.handleSelectionExtremesChange()}))},this,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"treatZeroAs",{get:function(){return this.getPropertyValue("treatZeroAs")},set:function(e){this.setPropertyValue("treatZeroAs",e,!0)},enumerable:!0,configurable:!0}),r.prototype.syncAxes=function(e,t,i){var a=this.syncWithAxis;if(a){g(e)||(e=this.min),g(t)||(t=this.max),g(i)||(i=this._step);var n=Math.round((a.maxZoomed-a.minZoomed)/a.step),s=Math.round((t-e)/i);if(g(n)&&g(s))for(var o=!1,h=0,d=(t-e)*.01,u=e,p=t,f=i;o!=!0;)if(o=this.checkSync(u,p,f,n),h++,h>1e3&&(o=!0),o)e=u,t=p,i=f;else{h/3==Math.round(h/3)?(u=e-d*h,e>=0&&u<0&&(u=0)):(p=t+d*h,p<=0&&p>0&&(p=0));var c=this.adjustMinMax(u,p,p-u,this._gridCount,!0);u=c.min,p=c.max,f=c.step}}return{min:e,max:t,step:i}},r.prototype.checkSync=function(e,t,i,a){for(var n=(t-e)/i,s=1;sm?(d.startIndex=0,d.endIndex=0,d.outOfRange=!0):(d.outOfRange=!1,d.startIndex=y,d.endIndex=S),!i&&d.dataRangeInvalid&&d.validateDataRange()}})},r.prototype.findFirst=function(e,t,i){var a=e.index;if(a>0){var n=e.component,s=n.dataItems.getIndex(a-1),o=s[i];return!o||o.getTime()e._minDifference[i.uid]&&(t=e._minDifference[i.uid])}),(t==Number.MAX_VALUE||t==0)&&(t=$("day")),t},enumerable:!0,configurable:!0}),r.prototype.seriesDataChangeUpdate=function(e){this._minDifference[e.uid]=Number.MAX_VALUE},r.prototype.postProcessSeriesDataItems=function(e){var t=this;this._firstWeekDay=this.getFirstWeekDay(),e?this.seriesGroupUpdate(e):this.series.each(function(i){t.seriesGroupUpdate(i)}),this.addEmptyUnitsBreaks()},r.prototype.seriesGroupUpdate=function(e){var t=this;JSON.stringify(e._baseInterval[this.uid])!=JSON.stringify(this.mainBaseInterval)&&(e._baseInterval[this.uid]=this.mainBaseInterval,e.mainDataSet.each(function(i){t.postProcessSeriesDataItem(i)}),this.groupData&&this.groupSeriesData(e))},r.prototype.groupSeriesData=function(e){var t=this;if(e.baseAxis==this&&e.dataItems.length>0&&!e.dataGrouped){e.bulletsContainer.removeChildren();var i=[],a=this.mainBaseInterval,n=$(a.timeUnit,a.count);this.groupIntervals.each(function(s){var o=$(s.timeUnit,s.count);(o>n&&oO||!g(_.low))&&(_.low=O),(_.high0&&t.each(function(i){var a=Math.ceil(e._gridCount*(Math.min(e.end,i.endPosition)-Math.max(e.start,i.startPosition))/(e.end-e.start));i.gridInterval=e.chooseInterval(0,i.adjustedEndValue-i.adjustedStartValue,a);var n=ne(new Date(i.adjustedStartValue),i.gridInterval.timeUnit,i.gridInterval.count,e._firstWeekDay,e._df.utc,void 0,e._df.timezoneMinutes,e._df.timezone);n.getTime()>i.startDate.getTime()&&ue(n,i.gridInterval.timeUnit,i.gridInterval.count,e._df.utc),i.gridDate=n})},r.prototype.getFirstWeekDay=function(){return this._df?this._df.firstDayOfWeek:1},r.prototype.getGridDate=function(e,t){var i=this._gridInterval.timeUnit,a=this._gridInterval.count;ne(e,i,1,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone);var n=e.getTime(),s=ut(e),o=ue(s,i,t,this._df.utc).getTime(),h=this.isInBreak(o);h&&h.endDate&&(s=new Date(h.endDate.getTime()),ne(s,i,a,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone),s.getTime()0){var p=u.gridInterval.timeUnit,f=u.gridInterval.count;if(K(u.startPoint,u.endPoint)>d.minGridDistance*4)for(var c=u.gridDate.getTime(),y,v=0,m=function(){var x=ut(u.gridDate);if(c=ue(x,p,f*v,e._df.utc).getTime(),v++,c>u.adjustedStartValue&&cthis.baseInterval.count&&(s=n+(s-n)/(this._gridInterval.count/this.baseInterval.count)),e.position=n;var h=e.tick;h&&!h.disabled&&t.updateTickElement(h,n,s);var d=e.grid;d&&!d.disabled&&t.updateGridElement(d,n,s);var u=e.axisFill;u&&!u.disabled&&(t.updateFillElement(u,n,o),e.isRange||this.fillRule(e));var p=e.mask;p&&t.updateFillElement(p,n,s),e.bullet&&t.updateBullet(e.bullet,n,s);var f=e.label;if(f&&!f.disabled){var c=f.location;c==0&&(this._gridInterval.count==1&&this._gridInterval.timeUnit!="week"&&!e.isRange?c=.5:c=0),t.updateLabelElement(f,n,s,c)}}},Object.defineProperty(r.prototype,"baseDuration",{get:function(){return $(this.baseInterval.timeUnit,this.baseInterval.count)},enumerable:!0,configurable:!0}),r.prototype.adjustMinMax=function(e,t){return{min:e,max:t,step:this.baseDuration}},r.prototype.fixMin=function(e){var t=this.baseInterval,i=ne(new Date(e),t.timeUnit,t.count,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone).getTime(),a=ue(new Date(i),t.timeUnit,t.count,this._df.utc).getTime();return i+(a-i)*this.startLocation},r.prototype.fixMax=function(e){var t=this.baseInterval,i=ne(new Date(e),t.timeUnit,t.count,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone).getTime(),a=ue(new Date(i),t.timeUnit,t.count,this._df.utc).getTime();return i+(a-i)*this.endLocation},r.prototype.chooseInterval=function(e,t,i,a){a||(a=this.gridIntervals);var n=a.getIndex(e),s=$(n.timeUnit,n.count),o=a.length-1;if(e>=o)return Le({},a.getIndex(o));var h=Math.ceil(t/s);return t0?Le({},a.getIndex(e-1)):h<=i?Le({},a.getIndex(e)):e+1d&&(this._minDifference[i.uid]=d)}var u=a-o;u>0&&this._minDifference[i.uid]>u&&(this._minDifference[i.uid]=u),this._prevSeriesTime[i.uid]=a,i._baseInterval[this.uid]&&this.postProcessSeriesDataItem(e)},r.prototype.updateAxisBySeries=function(){l.prototype.updateAxisBySeries.call(this);var e=this.chooseInterval(0,this.minDifference,1);this.minDifference>=$("day",27)&&e.timeUnit=="week"&&(e.timeUnit="month",e.count=1),e.timeUnit=="month"&&(this.minDifference>=$("day",29*2)&&e.count==1&&(e.count=2),this.minDifference>=$("day",29*3)&&e.count==2&&(e.count=3),this.minDifference>=$("day",29*6)&&e.count==5&&(e.count=6)),this.minDifference>=$("hour",23)&&e.timeUnit=="hour"&&(e.timeUnit="day",e.count=1),this.minDifference>=$("week",1)-$("hour",1)&&e.timeUnit=="day"&&(e.timeUnit="week",e.count=1),this.minDifference>=$("year",1)-$("day",1.01)&&e.timeUnit=="month"&&(e.timeUnit="year",e.count=1),this._baseIntervalReal=e,this._mainBaseInterval=e},Object.defineProperty(r.prototype,"baseInterval",{get:function(){return this._groupInterval?this._groupInterval:this._baseInterval?this._baseInterval:this._baseIntervalReal},set:function(e){JSON.stringify(this._baseInterval)!=JSON.stringify(e)&&(this._baseInterval=e,this._mainBaseInterval=e,g(e.count)||(e.count=1),this.invalidate(),this.postProcessSeriesDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"mainBaseInterval",{get:function(){return this._baseInterval?this._baseInterval:this._mainBaseInterval?this._mainBaseInterval:this._baseIntervalReal},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"skipEmptyPeriods",{get:function(){return this.getPropertyValue("skipEmptyPeriods")},set:function(e){if(e){var t=this.axisBreaks.template;t.startLine.disabled=!0,t.endLine.disabled=!0,t.fillShape.disabled=!0,t.breakSize=0}else this._gapBreaks&&(this.axisBreaks.clear(),this._gapBreaks=!1);this.setPropertyValue("skipEmptyPeriods",e)&&(this.invalidate(),this.postProcessSeriesDataItems(),this.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tooltipDateFormat",{get:function(){return this.getPropertyValue("tooltipDateFormat")},set:function(e){this.setPropertyValue("tooltipDateFormat",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"markUnitChange",{get:function(){return this.getPropertyValue("markUnitChange")},set:function(e){this.setPropertyValue("markUnitChange",e)&&this.invalidateData()},enumerable:!0,configurable:!0}),r.prototype.getTooltipText=function(e){var t,i=this.positionToDate(e);if(i=ne(i,this.baseInterval.timeUnit,this.baseInterval.count,this._firstWeekDay,this._df.utc,new Date(this.min),this._df.timezoneMinutes,this._df.timezone),this.tooltipDate=i,C(this.tooltipDateFormat))t=this._df.format(i,this.tooltipDateFormat,["day","month","week","year"].indexOf(this.baseInterval.timeUnit)==-1);else{var a=this.dateFormats.getKey(this.baseInterval.timeUnit);a?t=this._df.format(i,a):t=this.getPositionLabel(e)}return this._adapterO?this._adapterO.apply("getTooltipText",t):t},r.prototype.roundPosition=function(e,t,i){var a=this.baseInterval,n=a.timeUnit,s=a.count,o=this.positionToDate(e);if(ne(o,n,s,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone),t>0&&ue(o,n,t*s,this._df.utc),i>0&&i<1&&o.setTime(o.getTime()+this.baseDuration*i),this.isInBreak(o.getTime()))for(;o.getTime()o.getTime()&&Math.abs(h.getTime()-s)m&&(m=T)}),this.groupMin[y]=v,this.groupMax[y]=m),e=Y(e,v,m),t=Y(t,v,m),n&&(u&&(e=t-d,e=Y(e,v,m)),p&&(t=e+d,t=Y(t,v,m)));var o=(e-v)/(m-v),h=(t-v)/(m-v);this.zoom({start:o,end:h},i,a)}}else{var o=this.valueToPosition(e),h=this.valueToPosition(t);this.zoom({start:o,end:h},i,a)}},r.prototype.asIs=function(e){return e=="baseInterval"||l.prototype.asIs.call(this,e)},r.prototype.copyFrom=function(e){var t=this;l.prototype.copyFrom.call(this,e),this.dateFormats=e.dateFormats,this.periodChangeDateFormats=e.periodChangeDateFormats,this.groupIntervals.clear(),e.groupIntervals.each(function(i){t.groupIntervals.push(Le({},i))}),this.gridIntervals.clear(),e.gridIntervals.each(function(i){t.gridIntervals.push(Le({},i))}),e._baseInterval&&(this.baseInterval=e._baseInterval)},r.prototype.showTooltipAtPosition=function(e,t){var i=this;if(t||(e=this.toAxisPosition(e)),this.snapTooltip){var a=this.positionToDate(e),n=a.getTime(),s;if(this.series.each(function(d){if(d.baseAxis==i){var u=i.getSeriesDataItem(d,e,!0);if(u){var p=void 0;d.xAxis==i&&(p=u.dateX),d.yAxis==i&&(p=u.dateY),s?Math.abs(s.getTime()-n)>Math.abs(p.getTime()-n)&&(s=p):s=p}}}),s){var o=s.getTime();s=ne(new Date(o),this.baseInterval.timeUnit,this.baseInterval.count,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone),o=s.getTime();var h=this.renderer.tooltipLocation;h==0&&(h=1e-4),s=new Date(s.getTime()+this.baseDuration*h),e=this.dateToPosition(s),this.chart.cursor&&this.chart.cursor.snapToSeries||this.series.each(function(d){var u=d.dataItemsByAxis.getKey(i.uid).getKey(o+d.currentDataSetId),p=d.showTooltipAtDataItem(u);p?i.chart._seriesPoints.push({series:d,point:p}):(d.tooltipText||d.tooltipHTML)&&d.hideTooltip()})}}l.prototype.showTooltipAtPosition.call(this,e,!0)},Object.defineProperty(r.prototype,"snapTooltip",{get:function(){return this.getPropertyValue("snapTooltip")},set:function(e){this.setPropertyValue("snapTooltip",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"groupData",{get:function(){return this.getPropertyValue("groupData")},set:function(e){var t=this;this.setPropertyValue("groupData",e)&&(this.series.each(function(i){i.setDataSet(""),e&&!i.dataGrouped&&i.inited&&(i._baseInterval[t.uid]=t.mainBaseInterval,t.groupSeriesData(i))}),this._currentDataSetId="",this._groupInterval=void 0,this.invalidate(),this.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"groupInterval",{get:function(){return this.getPropertyValue("groupInterval")},set:function(e){this.setPropertyValue("groupInterval",e)&&(this.invalidate(),this.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"groupCount",{get:function(){return this.getPropertyValue("groupCount")},set:function(e){this.setPropertyValue("groupCount",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"timezoneOffset",{get:function(){return this.getPropertyValue("timezoneOffset")},set:function(e){this.setPropertyValue("timezoneOffset",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"timezone",{get:function(){return this.getPropertyValue("timezone")},set:function(e){this.setPropertyValue("timezone",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"gridInterval",{get:function(){return this._gridInterval},enumerable:!0,configurable:!0}),r.prototype.makeGap=function(e,t){var i=e.component;if(e&&t&&!i.connect&&g(i.autoGapCount)&&i.baseAxis==this){var a=e.dates["date"+this.axisLetter],n=t.dates["date"+this.axisLetter];if(a&&n){var s=a.getTime(),o=n.getTime();if(s-o>i.autoGapCount*this.baseDuration)return!0}}return!1},Object.defineProperty(r.prototype,"baseValue",{get:function(){return this.min},enumerable:!0,configurable:!0}),r}(E);V.registeredClasses.DateAxis=z;V.registeredClasses.DateAxisDataItem=xr;var Ye=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="AxisRendererX",e.minGridDistance=120,e.opposite=!1,e.rotation=0,e.width=k(100),e.labels.template.horizontalCenter="middle",e.applyTheme(),e}return r.prototype.setAxis=function(e){l.prototype.setAxis.call(this,e),e.layout="vertical"},r.prototype.updateGridContainer=function(){var e=this.axis;if(e){var t=this.gridContainer;t.x=e.pixelX,t.width=e.axisLength}},r.prototype.processRenderer=function(){l.prototype.processRenderer.call(this);var e=this.axis;if(e){e.width instanceof ce||(e.width=k(100)),He(this.line);var t=e.title;t.rotation=0,t.align="center",this.opposite?(this.line.toFront(),t.toBack()):(t.toFront(),this.toBack(),this.line.toBack())}},r.prototype.updateTooltip=function(){var e=this.axis;if(e){var t=1e3,i=this.line.pixelX,a=this.line.pixelY,n=this.axisLength,s=t;this.opposite?this.inside||(a=-t,s=t):this.inside&&(a=-t,s=t),this.axis.updateTooltip("vertical",{x:i,y:a,width:n,height:s})}},r.prototype.updateLabelElement=function(e,t,i,a){C(a)||(a=e.location),t=t+(i-t)*a;var n=this.positionToPoint(t);e.isMeasured=!e.inside;var s=0,o,h=this.gridContainer.maxHeight;this.opposite?(e.inside?(o="top",e.valign=="bottom"&&(s=h,o="bottom"),e.valign=="middle"&&(s=h/2,o="middle")):o="bottom",n.y=s):(e.inside?(o="bottom",e.valign=="top"&&(s=-h,o="top"),e.valign=="middle"&&(s=-h/2,o="middle")):o="top",n.y+=s),e.rotation==0&&(e.verticalCenter=o),this.positionItem(e,n),this.toggleVisibility(e,t,this.minLabelPosition,this.maxLabelPosition)},Object.defineProperty(r.prototype,"axisLength",{get:function(){var e=this.axis;return e.measuredWidth-e.pixelPaddingRight-e.pixelPaddingLeft||0},enumerable:!0,configurable:!0}),r.prototype.positionToPoint=function(e,t){return{x:this.positionToCoordinate(e),y:0}},r.prototype.pointToPosition=function(e){return this.coordinateToPosition(e.x,e.y)},r.prototype.getPositionRangePath=function(e,t){var i=Y(this.positionToCoordinate(e),0,this.axisLength),a=Y(this.positionToCoordinate(t),0,this.axisLength),n=Math.abs(a-i),s=this.getHeight(),o=Math.min(i,a),h=0;return Be({x:o,y:h,width:n,height:s},!0)},r.prototype.updateBreakElement=function(e){l.prototype.updateBreakElement.call(this,e);var t=e.startLine,i=e.endLine,a=e.fillShape,n=e.startPoint,s=e.endPoint,o=e.pixelMarginLeft,h=this.getHeight()-e.pixelMarginTop-e.pixelMarginBottom;n.x=Y(n.x,-1,this.axisLength+1),s.x=Y(s.x,-1,this.axisLength+1),n.x==s.x&&(n.x<0||n.x>this.axisLength)?e.fillShape.__disabled=!0:e.fillShape.__disabled=!1,t.y=o,t.width=0,t.height=h,i.y=o,i.width=0,i.height=h,a.height=h,a.width=Math.abs(s.x-n.x),a.y=o,a.x=n.x},r.prototype.updateGridElement=function(e,t,i){t=t+(i-t)*e.location;var a=this.positionToPoint(t);e.path=W({x:0,y:0})+R({x:0,y:this.getHeight()}),this.positionItem(e,a),this.toggleVisibility(e,t,0,1)},r.prototype.updateTickElement=function(e,t,i){t=t+(i-t)*e.location;var a=this.positionToPoint(t),n=e.length;a.y=De({x:0,y:this.line.pixelY},this.line.parent,this.gridContainer).y,this.opposite?n*=e.inside?1:-1:n*=e.inside?-1:1,e.path=W({x:0,y:0})+R({x:0,y:n}),this.positionItem(e,a),this.toggleVisibility(e,t,0,1)},r.prototype.updateAxisLine=function(){this.line.path=W({x:0,y:0})+R({x:this.axisLength,y:0})},r.prototype.updateBaseGridElement=function(){l.prototype.updateBaseGridElement.call(this);var e=this.axis,t=this.getHeight(),i=this.axisLength,a=this.baseGrid,n=e.basePoint.x;if(n<-.2||n>i+.2)a.hide(0);else{var s=De({x:0,y:0},this.gridContainer,a.parent).y;a.path=W({x:0,y:0})+R({x:0,y:t}),a.moveTo({x:n,y:s}),a.show(0)}},r.prototype.createBreakSprites=function(e){e.startLine=new tt,e.endLine=new tt;var t=new lr;t.setWavedSides(!1,!0,!1,!0),e.fillShape=t},r.prototype.toAxisPosition=function(e){var t=e,i=this.axis;if(i){var a=i.relativePositionSprite,n=i.pixelX;if(a?n=De({x:this.pixelX,y:0},this.parent,a).x:a=i.parent,a){var s=n/a.innerWidth,o=i.axisLength/a.innerWidth;return(t-s)/o}}return e},r.prototype.updateBullet=function(e,t,i){var a=.5;e instanceof Tt&&(a=e.location),t=t+(i-t)*a;var n=this.positionToPoint(t);n.y=De({x:0,y:this.line.pixelY},this.line.parent,this.gridContainer).y,this.positionItem(e,n),this.toggleVisibility(e,t,0,1)},r}(Kt);V.registeredClasses.AxisRendererX=Ye;de.push({relevant:pe.heightXS,state:function(l,r){if(l instanceof Ye){var e=l.states.create(r);return e.properties.inside=!0,e.properties.maxLabelPosition=.9,e.properties.minLabelPosition=.1,e}return null}});de.push({relevant:pe.heightXXS,state:function(l,r){if(l instanceof Ye){var e=l.states.create(r);return e.properties.disabled=!0,e}return null}});var br=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="CategoryAxisBreak",e.properties.startLocation=.5,e.properties.endLocation=.5,e.applyTheme(),e}return Object.defineProperty(r.prototype,"startPosition",{get:function(){if(this.axis)return this.axis.indexToPosition(this.adjustedStartValue,this.startLocation)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endPosition",{get:function(){if(this.axis)return this.axis.indexToPosition(this.adjustedEndValue,this.endLocation)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"startCategory",{get:function(){return this.getPropertyValue("startCategory")},set:function(e){this.setPropertyValue("startCategory",e)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endCategory",{get:function(){return this.getPropertyValue("endCategory")},set:function(e){this.setPropertyValue("endCategory",e)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"startValue",{get:function(){var e=this.getPropertyValue("startCategory");return e?this.axis.categoryToIndex(e):this.getPropertyValue("startValue")},set:function(e){this.setPropertyValue("startValue",e)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endValue",{get:function(){var e=this.getPropertyValue("endCategory");return e?this.axis.categoryToIndex(e):this.getPropertyValue("endValue")},set:function(e){this.setPropertyValue("endValue",e)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"startLocation",{get:function(){return this.getPropertyValue("startLocation")},set:function(e){this.setPropertyValue("startLocation",e)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endLocation",{get:function(){return this.getPropertyValue("endLocation")},set:function(e){this.setPropertyValue("endLocation",e)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),r}(Ut);V.registeredClasses.CategoryAxisBreak=br;var Pr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.seriesDataItems={},e.className="CategoryAxisDataItem",e.text="{category}",e.locations.category=0,e.locations.endCategory=1,e.deltaPosition=0,e.applyTheme(),e}return Object.defineProperty(r.prototype,"category",{get:function(){return this._adapterO&&this._adapterO.isEnabled("category")?this._adapterO.apply("category",this.properties.category):this.properties.category},set:function(e){var t=this.properties.category;this.setProperty("category",e),C(t)&&t!=e&&this.component&&this.component.validateDataElement(this)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endCategory",{get:function(){return this.properties.endCategory},set:function(e){this.setProperty("endCategory",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"deltaPosition",{get:function(){return this.properties.deltaCoordinate},set:function(e){e!=this.properties.deltaCoordinate&&(this.setProperty("deltaCoordinate",e),this.component&&(this.component.invalidateDataItems(),this.component.invalidateSeries()))},enumerable:!0,configurable:!0}),r}(Vt),Z=function(l){A(r,l);function r(){var e=l.call(this)||this;e.dataItemsByCategory=new Se,e.className="CategoryAxis",e.axisFieldName="category",e._lastDataItem=e.createDataItem(),e._lastDataItem.component=e,e._disposers.push(e._lastDataItem),e.applyTheme();var t=e.dataItemsByCategory;return e.addDisposer(e.mainDataSet.events.on("removed",function(i){t.removeKey(i.oldValue.category)})),e}return r.prototype.createDataItem=function(){return new Pr},r.prototype.createAxisBreak=function(){return new br},r.prototype.processSeriesDataItem=function(e,t){l.prototype.processSeriesDataItem.call(this,e,t);var i=e["category"+this.axisLetter];if(C(i)){var a=this.dataItemsByCategory.getKey(i);if(a){var n=e.component.uid,s=a.seriesDataItems[n];s||(s=[],a.seriesDataItems[n]=s),s.push(e)}}else e.component.dataItems.remove(e)},r.prototype.validateDataRange=function(){var e=this;l.prototype.validateDataRange.call(this),w(this._series.iterator(),function(t){if(t.xAxis instanceof r&&t.yAxis instanceof r)t.invalidateDataRange();else{var i=e.positionToIndex(e.start),a=e.positionToIndex(e.end);a>=e.dataItems.length&&a--;for(var n=t.uid,s=void 0,o=void 0,h=i;h<=a;h++){var d=e.dataItems.getIndex(h);if(d){var u=d.seriesDataItems[n];if(u)for(var p=0;po)&&(o=c)}}}}g(s)?t.startIndex=s:t.start=e.start,g(o)?t.endIndex=o+1:t.end=e.end,e._axisBreaks&&e._axisBreaks.length>0&&t.invalidateDataRange()}})},r.prototype.validate=function(){var e=this;l.prototype.validate.call(this);var t=this.dataItems.length,i=Y(Math.floor(this.start*t-1),0,t),a=Y(Math.ceil(this.end*t),0,t);this.renderer.invalid&&this.renderer.validate();var n=this.renderer.axisLength/Math.max(this.renderer.minGridDistance,1/Number.MAX_SAFE_INTEGER),s=Math.min(this.dataItems.length,Math.ceil((a-i)/n));if(this._startIndex=Math.floor(i/s)*s,this._endIndex=Math.ceil(this.end*t),this.fixAxisBreaks(),this._startIndex==this._endIndex&&this._endIndex++,this._frequency=s,!(this.axisLength<=0)){this.maxZoomFactor=this.dataItems.length,this.dataItems.length<=0&&(this.maxZoomFactor=1),this.resetIterators(),i=ee(0,this._startIndex-this._frequency),a=U(this.dataItems.length,this._endIndex+this._frequency);for(var o=0,h=0;h0)for(var m=y;m<=v;m=m+P){var x=e.dataItems.getIndex(m);x.__disabled=!1,e.appendDataItem(x),e.validateDataElement(x,S),S++}}})}this.validateBreaks(),this.validateAxisRanges(),this.ghostLabel.invalidate(),this.renderer.invalidateLayout()}},r.prototype.validateDataElement=function(e,t,i){l.prototype.validateDataElement.call(this,e),e.itemIndex=this._axisItemCount,this._axisItemCount++;var a=this.renderer;g(i)||(i=this.categoryToIndex(e.category));var n=this.categoryToIndex(e.endCategory);g(n)||(n=i);var s=this.indexToPosition(i,e.locations.category),o=this.indexToPosition(n,e.locations.endCategory);e.position=s;var h,d,u;e.isRange&&(h=n,d=this.indexToPosition(i,e.locations.category),u=this.indexToPosition(h,e.locations.endCategory)),e.point=a.positionToPoint(s);var p=e.tick;p&&!p.disabled&&a.updateTickElement(p,s,o);var f=e.grid;f&&!f.disabled&&a.updateGridElement(f,s,o);var c=e.label;c&&!c.disabled&&((!e.isRange||c.text==null)&&(e.text=e.text),a.updateLabelElement(c,s,o),(a instanceof we&&e.label.measuredWidth>this.ghostLabel.measuredWidth||a instanceof Ye&&e.label.measuredHeight>this.ghostLabel.measuredHeight)&&(e.label.html?this.ghostLabel.html=e.label.currentText:this.ghostLabel.text=e.label.currentText));var y=e.axisFill;y&&!y.disabled&&(e.isRange||(h=i+this._frequency,d=this.indexToPosition(i,y.location),u=this.indexToPosition(h,y.location)),a.updateFillElement(y,d,u),e.isRange||this.fillRule(e,t)),e.bullet&&a.updateBullet(e.bullet,s,o);var v=e.mask;v&&a.updateFillElement(v,d,u)},r.prototype.disposeData=function(){this.dataItemsByCategory.clear(),l.prototype.disposeData.call(this)},r.prototype.processDataItem=function(e,t){e&&(l.prototype.processDataItem.call(this,e,t),C(e.category)&&this.dataItemsByCategory.setKey(e.category,e))},r.prototype.getDataItem=function(e){var t=e[this.dataFields.category];if(C(t)){var i=this.dataItemsByCategory.getKey(t);return i||this.dataItems.create()}},r.prototype.indexToPosition=function(e,t){g(t)||(t=.5);var i=this.startIndex,a=this.endIndex,n=this.adjustDifference(i,a),s=this.startLocation,o=this.endLocation;if(n-=s,n-=1-o,this._axisBreaks){var h=this._axisBreaks;je(h.iterator(),function(p){var f=p.adjustedStartValue,c=p.adjustedEndValue;if(ec?i+=(c-f)*(1-y):e=0;i--){var a=e.dataItems.getIndex(i);if(e.xAxis==this&&a.categoryX==t||e.yAxis==this&&a.categoryY==t)return a}},r.prototype.getSeriesDataItemByCategory=function(e,t){var i=this,a;return t.dataItems.each(function(n){t.xAxis==i?n.categoryX==e&&(a=n):t.yAxis==i&&n.categoryY==e&&(a=n)}),a},r.prototype.getSeriesDataItem=function(e,t,i){var a=this;if(g(t)){var n=this.positionToIndex(t);n>=this.dataItems.length&&n--;var s=this.dataItems.getIndex(n);if(s){var o=s.category,h,d=e.dataItems.getIndex(n);return d&&(e.xAxis==this&&d.categoryX==o||e.yAxis==this&&d.categoryY==o)?d:(e.dataItems.each(function(u){e.xAxis==a&&u.categoryX==o&&(h||(h=u),Math.abs(n-h.index)>Math.abs(n-u.index)&&(h=u)),e.yAxis==a&&u.categoryY==o&&(h||(h=u),Math.abs(n-h.index)>Math.abs(n-u.index)&&(h=u))}),h)}}},r.prototype.getX=function(e,t,i,a,n){var s=this.getPositionX(e,t,i,a,n);return ve(s)?this.basePoint.x:this.renderer.positionToPoint(s).x},r.prototype.getPositionX=function(e,t,i,a,n){var s;return C(t)&&(s=this.categoryToPosition(e.categories[t],i)),n&&(s=Y(s,n.start,n.end)),s},r.prototype.getY=function(e,t,i,a,n){var s=this.getPositionY(e,t,i,a,n);return ve(s)?this.basePoint.y:this.renderer.positionToPoint(s).y},r.prototype.getPositionY=function(e,t,i,a,n){var s;return C(t)&&(s=this.categoryToPosition(e.categories[t],i)),n&&(s=Y(s,n.start,n.end)),s},r.prototype.getAngle=function(e,t,i,a,n){var s=this.categoryToPosition(e.categories[t],i);return n&&(s=Y(s,n.start,n.end)),this.positionToAngle(s)},r.prototype.getCellStartPosition=function(e){return this.roundPosition(e,0)},r.prototype.getCellEndPosition=function(e){return this.roundPosition(e,1)},r.prototype.getTooltipText=function(e){var t=this.dataItems.getIndex(this.positionToIndex(e));if(t)return this.tooltipDataItem=t,this.tooltip.dataItem=t,this.tooltipText?this.tooltipText:this._adapterO?this._adapterO.apply("getTooltipText",t.category):t.category},r.prototype.positionToIndex=function(e){e=j(e,10),e<0&&(e=0),e>1&&(e=1);var t=this.startIndex,i=this.endIndex,a=i-t-this.startLocation-(1-this.endLocation);e+=1/a*this.startLocation;var n=null;if(this._axisBreaks){var s=this._axisBreaks;je(s.iterator(),function(o){var h=o.startPosition,d=o.endPosition,u=o.adjustedStartValue,p=o.adjustedEndValue;u=ee(u,t),p=U(p,i);var f=o.breakSize;if(a-=(p-u)*(1-f),e>d)t+=(p-u)*(1-f);else if(!(e=this.dataItems.length&&(n=this.dataItems.length-1),n},r.prototype.positionToCategory=function(e){return this.getPositionLabel(e)},r.prototype.getPositionLabel=function(e){var t=this.dataItems.getIndex(this.positionToIndex(e));if(t)return t.category},Object.defineProperty(r.prototype,"basePoint",{get:function(){return this.renderer.positionToPoint(1)},enumerable:!0,configurable:!0}),r.prototype.initRenderer=function(){l.prototype.initRenderer.call(this);var e=this.renderer;e.baseGrid.disabled=!0},Object.defineProperty(r.prototype,"frequency",{get:function(){return this._frequency},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"sortBySeries",{get:function(){return this.getPropertyValue("sortBySeries")},set:function(e){this.setPropertyValue("sortBySeries",e,!0)},enumerable:!0,configurable:!0}),r.prototype.processConfig=function(e){e&&C(e.sortBySeries)&&ae(e.sortBySeries)&&(this.map.hasKey(e.sortBySeries)?e.sortBySeries=this.map.getKey(e.sortBySeries):(this.addDelayedMap("sortBySeries",e.sortBySeries),delete e.sortBySeries)),l.prototype.processConfig.call(this,e)},r}(Gt);V.registeredClasses.CategoryAxis=Z;V.registeredClasses.CategoryAxisDataItem=Pr;var qt=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="XYSeriesDataItem",e.values.customValue={},e.values.valueX={stack:0},e.values.valueY={stack:0},e.values.openValueX={},e.values.openValueY={},e.values.dateX={},e.values.dateY={},e.values.openDateX={},e.values.openDateY={},e.setLocation("dateX",.5,0),e.setLocation("dateY",.5,0),e.setLocation("categoryX",.5,0),e.setLocation("categoryY",.5,0),e.applyTheme(),e}return Object.defineProperty(r.prototype,"valueX",{get:function(){return this.values.valueX.value},set:function(e){this.setValue("valueX",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"customValue",{get:function(){return this.values.customValue.value},set:function(e){this.setValue("customValue",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"valueY",{get:function(){return this.values.valueY.value},set:function(e){this.setValue("valueY",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dateX",{get:function(){return this.getDate("dateX")},set:function(e){this.setDate("dateX",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dateY",{get:function(){return this.getDate("dateY")},set:function(e){this.setDate("dateY",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"categoryX",{get:function(){return this.categories.categoryX},set:function(e){this.setCategory("categoryX",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"categoryY",{get:function(){return this.categories.categoryY},set:function(e){this.setCategory("categoryY",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"openValueX",{get:function(){return this.values.openValueX.value},set:function(e){this.setValue("openValueX",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"openValueY",{get:function(){return this.values.openValueY.value},set:function(e){this.setValue("openValueY",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"openDateX",{get:function(){return this.getDate("openDateX")},set:function(e){this.setDate("openDateX",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"openDateY",{get:function(){return this.getDate("openDateY")},set:function(e){this.setDate("openDateY",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"openCategoryX",{get:function(){return this.categories.openCategoryX},set:function(e){this.setCategory("openCategoryX",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"openCategoryY",{get:function(){return this.categories.openCategoryY},set:function(e){this.setCategory("openCategoryY",e)},enumerable:!0,configurable:!0}),r.prototype.getMin=function(e,t,i){var a=this,n;return g(i)||(i=0),H(e,function(s){var o;t?o=a.getWorkingValue(s):o=a.getValue(s),o+=i,(on||!g(n))&&(n=o)}),n},r}(zt),at=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.groupFields={},e._xAxis=new le,e._yAxis=new le,e._xValueFields=[],e._yValueFields=[],e._baseInterval={},e.dataGrouped=!1,e.usesShowFields=!1,e._dataSetChanged=!1,e._maxxX=1e5,e._maxxY=1e5,e._propertiesChanged=!1,e.outOfRange=!1,e.className="XYSeries",e.isMeasured=!1,e.groupFields.valueX="close",e.groupFields.valueY="close",e.groupFields.customValue="close",e.groupFields.openValueX="open",e.groupFields.openValueY="open",e.cursorTooltipEnabled=!0,e.cursorHoverEnabled=!0,e.excludeFromTotal=!1,e.mainContainer.mask=new q,e.mainContainer.mask.setElement(e.paper.add("path")),e.stacked=!1,e.snapTooltip=!1,e._showBullets=!1,e.tooltip.pointerOrientation="horizontal",e.properties.stackToNegative=!0,e.hideTooltipWhileZooming=!0,e.setPropertyValue("maskBullets",!0),e.tooltip.events.on("hidden",function(){e.returnBulletDefaultState()},void 0,!1),e._disposers.push(e._xAxis),e._disposers.push(e._yAxis),e.observe(J,function(){e.inited&&(e._propertiesChanged=!0,e.legendDataItem&&(e.legendDataItem.childrenCreated=!1),e.chart&&e.chart.legend&&e.chart.legend.invalidateDataItems(),e.invalidate())},void 0,!1),e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("X/Y Series"))},r.prototype.createDataItem=function(){return new qt},r.prototype.resetExtremes=function(){this._tmin.clear(),this._tmax.clear(),this._smin.clear(),this._smax.clear()},r.prototype.dataChangeUpdate=function(){this.dataGrouped=!1,this._baseInterval={},this._currentDataSetId="",this.resetExtremes(),this.xAxis&&this.xAxis.seriesDataChangeUpdate(this),this.yAxis&&this.yAxis.seriesDataChangeUpdate(this)},r.prototype.validateData=function(){this._baseInterval={};var e=this.dataFields;if(e.valueYShow||e.openValueXShow||e.openValueXShow||e.openValueYShow?this.usesShowFields=!0:this.usesShowFields=!1,this.defineFields(),this.data.length>0&&this.dataChangeUpdate(),l.prototype.validateData.call(this),this.updateItemReaderText(),this.chart&&(!C(this.dataFields[this._xField])||!C(this.dataFields[this._yField])))throw Error('Data fields for series "'+(this.name?this.name:this.uid)+'" are not properly defined.');this.inited&&this.isHidden&&this.hide(0),this.dataGrouped=!1},r.prototype.processDataItem=function(e,t){try{l.prototype.processDataItem.call(this,e,t),this.xAxis.processSeriesDataItem(e,"X"),this.yAxis.processSeriesDataItem(e,"Y"),this.setInitialWorkingValues(e)}catch(i){this._chart&&this._chart.raiseCriticalError(i)}},r.prototype.updateDataItem=function(e){l.prototype.updateDataItem.call(this,e),this.xAxis.processSeriesDataItem(e,"X"),this.yAxis.processSeriesDataItem(e,"Y")},r.prototype.setInitialWorkingValues=function(e){},r.prototype.disposeData=function(){l.prototype.disposeData.call(this);var e=this.xAxis,t=this.yAxis;if(e){var i=this.dataItemsByAxis.getKey(e.uid);i&&i.clear(),e instanceof Z&&this.clearCatAxis(e)}if(t){var a=this.dataItemsByAxis.getKey(t.uid);a&&a.clear(),t instanceof Z&&this.clearCatAxis(t)}},r.prototype.clearCatAxis=function(e){var t=this.uid;e.dataItems.each(function(i){i.seriesDataItems[t]&&(i.seriesDataItems[t]=[])})},r.prototype.defineFields=function(){var e=this.xAxis,t=this.yAxis;if(e&&t){var i=e.axisFieldName,a=i+"X",n="open"+Yt(i)+"X",s=t.axisFieldName,o=s+"Y",h="open"+Yt(s)+"Y";this._xField=a,this._yField=o,this.dataFields[n]&&(this._xOpenField=n),this.dataFields[h]&&(this._yOpenField=h),!this.dataFields[h]&&this.baseAxis==t&&(this._yOpenField=o),!this.dataFields[n]&&this.baseAxis==e&&(this._xOpenField=a),this.stacked&&this.baseAxis==e&&(this._xOpenField=a),this.stacked&&this.baseAxis==t&&(this._yOpenField=o),e instanceof Z&&t instanceof Z&&(this._yOpenField||(this._yOpenField=o)),this._xValueFields=[],this._yValueFields=[],this.addValueField(e,this._xValueFields,this._xField),this.addValueField(e,this._xValueFields,this._xOpenField),this.addValueField(t,this._yValueFields,this._yField),this.addValueField(t,this._yValueFields,this._yOpenField)}},r.prototype.addValueField=function(e,t,i){e instanceof E&&C(this.dataFields[i])&&t.indexOf(i)==-1&&t.push(i)},r.prototype.setCategoryAxisField=function(e,t){C(this.dataFields[e])||(this.dataFields[e]=t.dataFields.category)},r.prototype.setDateAxisField=function(e,t){C(this.dataFields[e])||(this.dataFields[e]=t.dataFields.date)},r.prototype.afterDraw=function(){l.prototype.afterDraw.call(this),this.createMask()},r.prototype.createMask=function(){if(this.mainContainer.mask){var e=this.getMaskPath();w(this.axisRanges.iterator(),function(t){t.axisFill.fillPath&&(t.axisFill.validate(),e+=t.axisFill.fillPath)}),this.mainContainer.mask.path=e}},r.prototype.getMaskPath=function(){return this.xAxis&&this.yAxis?Be({x:0,y:0,width:this.xAxis.axisLength,height:this.yAxis.axisLength}):""},r.prototype.getAxisField=function(e){if(e==this.xAxis)return this.xField;if(e==this.yAxis)return this.yField},r.prototype.validateDataItems=function(){var e=this.chart;e&&(this._maxxX=ee(1e5,e.plotContainer.maxWidth*2),this._maxxY=ee(1e5,e.plotContainer.maxHeight*2));var t=this.xAxis,i=this.yAxis;t&&i&&(t.updateAxisBySeries(),i.updateAxisBySeries()),l.prototype.validateDataItems.call(this),t&&i&&(t.postProcessSeriesDataItems(this),i.postProcessSeriesDataItems(this))},r.prototype.validateDataRange=function(){var e=this.xAxis,t=this.yAxis;e&&t&&(e.dataRangeInvalid&&e.validateDataRange(),t.dataRangeInvalid&&t.validateDataRange()),l.prototype.validateDataRange.call(this)},r.prototype.validate=function(){var e=this.xAxis,t=this.yAxis;if(e&&t){e.invalid&&e.validate(),t.invalid&&t.validate(),this.y=t.pixelY,this.x=e.pixelX,this._showBullets=!0;var i=this.minBulletDistance;g(i)&&this.baseAxis.axisLength/(this.endIndex-this.startIndex)0){var a=this.xAxis,n=this.yAxis;this._prevStartIndex=void 0,this._prevEndIndex=void 0,this._startIndex=void 0,this._endIndex=void 0,this.appeared||this.processValues(!1),a instanceof z&&a==this.baseAxis&&(this._tmin.setKey(a.uid,i.getIndex(0).dateX.getTime()),this._tmax.setKey(a.uid,i.getIndex(i.length-1).dateX.getTime()),this.dispatch("extremeschanged")),n instanceof z&&n==this.baseAxis&&(this._tmin.setKey(n.uid,i.getIndex(0).dateY.getTime()),this._tmax.setKey(n.uid,i.getIndex(i.length-1).dateY.getTime()),this.dispatch("extremeschanged"))}}return t},r.prototype.processValues=function(e){l.prototype.processValues.call(this,e);var t=this.xAxis,i=this.yAxis;if(!(!t||!i)){var a=this.dataItems,n=1/0,s=-1/0,o=1/0,h=-1/0,d=this.startIndex,u=this.endIndex,p=d,f=u;e||(d=0,u=this.dataItems.length);for(var c=d;ch&&(h=m)),this.baseAxis==i&&(vs&&(s=v)))}t.processSeriesDataItems(),i.processSeriesDataItems();var x=t.uid,P=i.uid;if(this.xAxis instanceof E&&(n==1/0||s==-1/0)){this._smin.setKey(x,void 0),this._smax.setKey(x,void 0),this.dispatchImmediately("selectionextremeschanged");return}if(this.yAxis instanceof E&&(o==1/0||h==-1/0)){this._smin.setKey(P,void 0),this._smax.setKey(P,void 0),this.dispatchImmediately("selectionextremeschanged");return}if(!e&&(this._tmin.getKey(x)!=n||this._tmax.getKey(x)!=s||this._tmin.getKey(P)!=o||this._tmax.getKey(P)!=h)){this._tmin.setKey(x,n),this._tmax.setKey(x,s),this._tmin.setKey(P,o),this._tmax.setKey(P,h);var S=this.stackedSeries;S&&(S.isDisposed()?this.stackedSeries=void 0:S.processValues(!1)),this.dispatchImmediately("extremeschanged")}if(d!=p||u!=f){n=1/0,s=-1/0,o=1/0,h=-1/0;for(var c=p;ch&&(h=m)),this.baseAxis==i&&(vs&&(s=v)))}}if(this.xAxis instanceof E&&(n==1/0||s==-1/0)){this._smin.setKey(x,void 0),this._smax.setKey(x,void 0),this.dispatchImmediately("selectionextremeschanged");return}if(this.yAxis instanceof E&&(o==1/0||h==-1/0)){this._smin.setKey(P,void 0),this._smax.setKey(P,void 0),this.dispatchImmediately("selectionextremeschanged");return}if((this._smin.getKey(x)!=n||this._smax.getKey(x)!=s||this._smin.getKey(P)!=o||this._smax.getKey(P)!=h)&&(this._smin.setKey(x,n),this._smax.setKey(x,s),this._smin.setKey(P,o),this._smax.setKey(P,h),this.appeared||this.start!=0||this.end!=1||this.dataItems!=this.mainDataSet)){var D=!1;if(i instanceof E&&!(i instanceof z)){var T=this._tmin.getKey(P);(!g(T)||(this.usesShowFields||this._dataSetChanged||t instanceof z&&t.groupData&&this.isShowing)&&ob||this.stackedSeries&&!this.isHidden)&&(this._tmax.setKey(P,h),D=!0)}if(t instanceof E&&!(t instanceof z)){var T=this._tmin.getKey(x);(!g(T)||(this.usesShowFields||this._dataSetChanged||i instanceof z&&i.groupData&&this.isShowing)&&nb||this.stackedSeries&&!this.isHidden)&&(this._tmax.setKey(x,s),D=!0)}D&&this.dispatchImmediately("extremeschanged"),this.start==0&&this.end==1&&(this._dataSetChanged=!1),this.dispatchImmediately("selectionextremeschanged")}!e&&this.stacked&&this.processValues(!0)}},r.prototype.hideTooltip=function(e){l.prototype.hideTooltip.call(this,e),this.returnBulletDefaultState(),this._prevTooltipDataItem=void 0},r.prototype.showTooltipAtPosition=function(e,t){var i;if(this.visible&&!this.isHiding&&!this.isShowing){var a=this._xAxis.get(),n=this._yAxis.get();a==this.baseAxis&&(i=a.getSeriesDataItem(this,a.toAxisPosition(e),this.snapTooltip)),n==this.baseAxis&&(i=n.getSeriesDataItem(this,n.toAxisPosition(t),this.snapTooltip));var s=this.showTooltipAtDataItem(i);if(s)return s;if(!this.tooltipText&&!this.tooltipHTML)return}this.hideTooltip()},r.prototype.getAdjustedXLocation=function(e,t,i){return e.locations[t]},r.prototype.getAdjustedYLocation=function(e,t,i){return e.locations[t]},r.prototype.showTooltipAtDataItem=function(e){var t,i,a=this.chart.cursor;if(a&&a.hideSeriesTooltipsOnSelection&&a.selection.visible&&a.downPoint){this.hideTooltip();return}if(this.returnBulletDefaultState(e),e&&e.visible){if(this.updateLegendValue(e),this.cursorTooltipEnabled){this.tooltipDataItem=e;var n=this.tooltipXField,s=this.tooltipYField;if(C(e[n])&&C(e[s])){var o=this.getPoint(e,n,s,this.getAdjustedXLocation(e,n),this.getAdjustedYLocation(e,s));if(o&&!(this.chart.className=="XYChart"&&(o.y<-1||o.y>this.yAxis.pixelHeight+1||o.x<-1||o.x>this.xAxis.pixelWidth+1))){if(this.tooltipX=o.x,this.tooltipY=o.y,this._prevTooltipDataItem!=e&&(this.dispatchImmediately("tooltipshownat",{type:"tooltipshownat",target:this,dataItem:e}),this._prevTooltipDataItem=e),this.cursorHoverEnabled)try{for(var h=ui(e.sprites),d=h.next();!d.done;d=h.next()){var u=d.value;!u.parent.visible||u.isHidden||u.__disabled||u.disabled||u.isHiding||(u.interactions.isRealHover||(u.dispatchImmediately("over"),u.interactions.isRealHover=!0),u.isHover=!0)}}catch(p){t={error:p}}finally{try{d&&!d.done&&(i=h.return)&&i.call(h)}finally{if(t)throw t.error}}return this.showTooltip()?Qe({x:o.x,y:o.y},this):void 0}}}}else this.updateLegendValue(e,!0)},r.prototype.returnBulletDefaultState=function(e){var t,i;if(this._prevTooltipDataItem&&this._prevTooltipDataItem!=e)try{for(var a=ui(this._prevTooltipDataItem.sprites),n=a.next();!n.done;n=a.next()){var s=n.value;if(s.isDisposed())this._prevTooltipDataItem=void 0;else{var o=s.interactions.isRealHover;s.isHover=!1,o&&s.dispatchImmediately("out")}}}catch(h){t={error:h}}finally{try{n&&!n.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}},r.prototype.shouldCreateBullet=function(e,t){var i=t.xField;C(i)||(i=this.xField);var a=t.yField;if(C(a)||(a=this.yField),this.xAxis instanceof E&&!e.hasValue([i])||this.yAxis instanceof E&&!e.hasValue([a]))return!1;if(t.disabled){var n=t.propertyFields.disabled,s=e.dataContext;return!!(s&&s[n]===!1)}return!0},r.prototype.updateTooltip=function(){!this.hideTooltipWhileZooming&&this.tooltip&&!this.tooltip.isHidden&&!this.isHiding&&!this.isHidden&&this.tooltipDataItem&&this.showTooltipAtDataItem(this.tooltipDataItem)},r.prototype.positionBullet=function(e){l.prototype.positionBullet.call(this,e);var t=e.dataItem,i=e.xField;C(i)||(i=this.xField);var a=e.yField;C(a)||(a=this.yField);var n=this.xAxis,s=this.yAxis;if(n instanceof E&&!t.hasValue([i])||s instanceof E&&!t.hasValue([a]))e.visible=!1;else{var o=this.getBulletLocationX(e,i),h=this.getBulletLocationY(e,a),d=this.getPoint(t,i,a,o,h);if(d){var u=this.xOpenField,p=this.yOpenField,f=void 0,c=void 0;if(n instanceof z){g(o)||(o=0);var y=void 0,v=t.getWorkingValue(i);u?y=t.getWorkingValue(u):n==this.baseAxis&&(y=n.baseValue),g(y)||(y=v);var m=t.getValue("valueX","stack");if(y+=m,v+=m,y==v){var x=n.baseInterval,P=n.dateFormatter;y=ne(new Date(y),x.timeUnit,x.count,P.firstDayOfWeek,P.utc,void 0,P.timezoneMinutes,P.timezone).getTime(),v=ue(new Date(y),x.timeUnit,x.count,P.utc).getTime()}var S=void 0;n==this.baseAxis?S=y+(v-y)*o:S=y+(v-y)*(1-o),f=n.valueToPosition(S)}else if(n instanceof E){g(o)||(o=0);var y=void 0,v=t.getWorkingValue(i);u?y=t.getWorkingValue(u):y=n.baseValue;var m=t.getValue("valueX","stack");y+=m,v+=m;var S=y+(v-y)*(1-o);f=n.valueToPosition(S)}else if(n instanceof Z){var D=this.getAdjustedXLocation(t,i,e.locationX),T=this.getAdjustedXLocation(t,u,e.locationX);f=n.categoryToPosition(t[i],D);var b=void 0;u&&(b=n.categoryToPosition(t[u],T)),g(b)||(b=1),f=b+(f-b)*o}if(s instanceof z){g(h)||(h=0);var y=void 0,v=t.getWorkingValue(a);p?y=t.getWorkingValue(p):s==this.baseAxis&&(y=s.baseValue),g(y)||(y=v);var m=t.getValue("valueY","stack");if(y+=m,v+=m,y==v){var x=s.baseInterval,P=s.dateFormatter;y=ne(new Date(y),x.timeUnit,x.count,P.firstDayOfWeek,P.utc,void 0,P.timezoneMinutes,P.timezone).getTime(),v=ue(new Date(y),x.timeUnit,x.count,P.utc).getTime()}var S=void 0;s==this.baseAxis?S=y+(v-y)*h:S=y+(v-y)*(1-h),c=s.valueToPosition(S)}else if(s instanceof E){g(h)||(h=0);var y=void 0,v=t.getWorkingValue(a);p?y=t.getWorkingValue(p):y=s.baseValue;var m=t.getValue("valueY","stack");y+=m,v+=m;var S=y+(v-y)*(1-h);c=s.valueToPosition(S)}else if(s instanceof Z){c=s.categoryToPosition(t[a],h);var O=this.getAdjustedYLocation(t,a,e.locationY),_=this.getAdjustedYLocation(t,p,e.locationY);c=s.categoryToPosition(t[a],O);var N=void 0;p&&(N=s.categoryToPosition(t[p],_)),g(N)||(N=1),c=N+(c-N)*h}e.visible=!0,this.positionBulletReal(e,f,c)}else e.visible=!1}},r.prototype.positionBulletReal=function(e,t,i){e.x=this.xAxis.renderer.positionToPoint(t,i).x,e.y=this.yAxis.renderer.positionToPoint(i,t).y},r.prototype.getBulletLocationX=function(e,t){var i=e.locationX,a=e.dataItem;return g(i)||(i=a.workingLocations[t]),i},r.prototype.getBulletLocationY=function(e,t){var i=e.locationY,a=e.dataItem;return g(i)||(i=a.workingLocations[t]),i},r.prototype.updateStacking=function(){var e=this;this.invalidateDataItems(),this.chart&&this.chart.series.each(function(t){t.baseAxis==e.baseAxis&&(t.stackedSeries=void 0,t.invalidateDataItems(),t.invalidateProcessedData())})},Object.defineProperty(r.prototype,"stacked",{get:function(){return this.getPropertyValue("stacked")},set:function(e){if(this.setPropertyValue("stacked",e,!0)){this.updateStacking();var t=this.xAxis,i=this.yAxis;if(!e){var a;t!=this.baseAxis&&t instanceof E&&(a=this.xField),i!=this.baseAxis&&i instanceof E&&(a=this.yField),a&&this.dataItems.each(function(n){n.setCalculatedValue(a,0,"stack")})}}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"snapTooltip",{get:function(){return this.getPropertyValue("snapTooltip")},set:function(e){this.setPropertyValue("snapTooltip",e)},enumerable:!0,configurable:!0}),r.prototype.show=function(e){var t=this;this.isHidden&&(this.appeared&&this.xAxis instanceof z&&this.xAxis.groupData&&(this._tmin.setKey(this.yAxis.uid,void 0),this._tmax.setKey(this.yAxis.uid,void 0)),this.appeared&&this.yAxis instanceof z&&this.yAxis.groupData&&(this._tmin.setKey(this.xAxis.uid,void 0),this._tmax.setKey(this.xAxis.uid,void 0)));var i;this.xAxis instanceof E&&this.xAxis!=this.baseAxis&&(i=this._xValueFields),this.yAxis instanceof E&&this.yAxis!=this.baseAxis&&(i=this._yValueFields);var a=this.startIndex,n=this.endIndex,s=0,o=this.defaultState.transitionDuration;g(e)&&(o=e);var h;w(Pt(this.dataItems.iterator()),function(u){var p=u[0],f=u[1],c=o;(pt.endIndex+10)&&(c=0,s=0),t.sequencedInterpolation&&c>0&&(s=t.sequencedInterpolationDelay*p+o*(p-a)/(n-a)),h=f.show(c,s,i)}),this.dataSets.each(function(u,p){p!=t.dataItems&&p.each(function(f){f.events.disable(),f.show(0,0,i),f.events.enable()})}),this.mainDataSet!=this.dataItems&&this.mainDataSet.each(function(u){u.events.disable(),u.show(0,0,i),u.events.enable()});var d=l.prototype.show.call(this,e);return h&&!h.isFinished()&&(d=h),this.hidden&&(this.dispatchImmediately("selectionextremeschanged"),this.hidden=!1),d},r.prototype.hide=function(e){var t=this,i,a,n=this.xAxis;n instanceof E&&n!=this.baseAxis&&(i=this._xValueFields,this.stacked||n.minZoomedn.baseValue||this.stackedSeries?a=n.baseValue:a=n.min);var s=this.yAxis;s instanceof E&&s!=this.baseAxis&&(i=this._yValueFields,this.stacked||s.minZoomeds.baseValue||this.stackedSeries?a=s.baseValue:a=s.min);var o=this.startIndex,h=this.endIndex,d=this.hiddenState.transitionDuration;g(e)&&(d=e);var u=0,p;w(Pt(this.dataItems.iterator()),function(c){var y=c[0],v=c[1],m=d;(yt.endIndex+10)&&(m=0),m==0?v.hide(0,0,a,i):(t.sequencedInterpolation&&m>0&&(u=t.sequencedInterpolationDelay*y+d*(y-o)/(h-o)),p=v.hide(m,u,a,i))}),this.dataSets.each(function(c,y){y!=t.dataItems&&y.each(function(v){v.events.disable(),v.hide(0,0,a,i),v.events.enable()})}),this.mainDataSet!=this.dataItems&&this.mainDataSet.each(function(c){c.events.disable(),c.hide(0,0,a,i),c.events.enable()});var f=l.prototype.hide.call(this,d);return f&&!f.isFinished()&&f.delay(u),p&&!p.isFinished()&&(f=p),this.validateDataElements(),f},r.prototype.handleDataItemWorkingValueChange=function(e,t){l.prototype.handleDataItemWorkingValueChange.call(this,e,t);var i=this.baseAxis.series;w(i.iterator(),function(a){(a.stacked||a.stackedSeries)&&a.invalidateProcessedData()})},r.prototype.getStackValue=function(e,t){var i=this,a=this.xAxis,n=this.yAxis;if(!(!this.stacked||!a||!n)){var s=this.chart,o=s.series.indexOf(this),h;if(a!=this.baseAxis&&a instanceof E&&(h=this.xField),n!=this.baseAxis&&n instanceof E&&(h=this.yField),!h)return;e.setCalculatedValue(h,0,"stack"),je(s.series.range(0,o).backwards().iterator(),function(d){if(d.xAxis==a&&d.yAxis==n&&d.className==i.className){d.stackedSeries=i;var u=d.dataItems.getIndex(e.index);if(u&&u.hasValue(i._xValueFields)&&u.hasValue(i._yValueFields)){var p=e.getValue(h),f=void 0,c=u.getValue(h)+u.getValue(h,"stack");if(t?f=u.getWorkingValue(h)+u.getValue(h,"stack"):f=u.getValue(h)+u.getValue(h,"stack"),i.stackToNegative){if(p>=0&&c>=0||p<0&&c<0)return e.setCalculatedValue(h,f,"stack"),!1;if(!d.stacked)return!1}else return e.setCalculatedValue(h,f,"stack"),!1}else if(!d.stacked)return!1}return!0})}},Object.defineProperty(r.prototype,"stackToNegative",{get:function(){return this.getPropertyValue("stackToNegative")},set:function(e){this.setPropertyValue("stackToNegative",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"xField",{get:function(){return this._xField},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"yField",{get:function(){return this._yField},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"xOpenField",{get:function(){return this._xOpenField},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"yOpenField",{get:function(){return this._yOpenField},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tooltipXField",{get:function(){return this._tooltipXField?this._tooltipXField:this._xField},set:function(e){this._tooltipXField=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tooltipYField",{get:function(){return this._tooltipYField?this._tooltipYField:this._yField},set:function(e){this._tooltipYField=e},enumerable:!0,configurable:!0}),r.prototype.min=function(e){return this._tmin.getKey(e.uid)},r.prototype.max=function(e){return this._tmax.getKey(e.uid)},r.prototype.selectionMin=function(e){var t=this._smin.getKey(e.uid);return t},r.prototype.selectionMax=function(e){var t=this._smax.getKey(e.uid);return t},r.prototype.processConfig=function(e){if(e){if(C(e.baseAxis)&&ae(e.baseAxis)&&(this.map.hasKey(e.baseAxis)?e.baseAxis=this.map.getKey(e.baseAxis):(this.processingErrors.push("[XYSeries ("+(this.name||"unnamed")+')] No axis with id "'+e.baseAxis+'" found for `baseAxis`.'),delete e.baseAxis)),C(e.xAxis)&&ae(e.xAxis)&&(this.map.hasKey(e.xAxis)?e.xAxis=this.map.getKey(e.xAxis):(this.processingErrors.push("[XYSeries ("+(this.name||"unnamed")+')] No axis with id "'+e.xAxis+'" found for `xAxis`.'),delete e.xAxis)),C(e.yAxis)&&ae(e.yAxis)&&(this.map.hasKey(e.yAxis)?e.yAxis=this.map.getKey(e.yAxis):(this.processingErrors.push("[XYSeries ("+(this.name||"unnamed")+')] No axis with id "'+e.yAxis+'" found for `yAxis`.'),delete e.yAxis)),C(e.axisRanges)&&ke(e.axisRanges))for(var t=0,i=e.axisRanges.length;t0&&(n=!1),P.yAxis==i.yAxis&&t.scrollbarChart.yAxes.length>0&&(s=!1))}),i.events.on("beforedisposed",function(){t.series.removeValue(i)});var o=new te,h=i.clone();if(bt()&&(h.stroke=Te("#aaaaaa"),h.fill=h.stroke,h.propertyFields.fill=void 0,h.propertyFields.stroke=void 0),i.scrollbarSeries=h,n){var d=i.xAxis.clone();a.xAxes.moveValue(d),d.title.disabled=!0,d.rangeChangeDuration=0;var u=d.renderer;u.ticks.template.disabled=!0,u.inside=!0,u.labels.template.inside=!0,u.line.strokeOpacity=0,u.minLabelPosition=.02,u.maxLabelPosition=.98,u.line.disabled=!0,u.axisFills.template.disabled=!0,u.baseGrid.disabled=!0,u.grid.template.strokeOpacity=.05,u.minWidth=void 0,u.minHeight=void 0,u.padding(0,0,0,0),u.chart=a,u.margin(0,0,0,0),d.width=k(100);var p=u.labels.template;if(p.fillOpacity=.5,d.maxZoomCount=void 0,d.minZoomCount=void 0,d instanceof z){var f=d,c=i.xAxis;f.groupCount=c.groupCount*5,f.min=void 0,f.max=void 0,this._disposers.push(f.clonedFrom.events.on("extremeschanged",function(){g(f.clonedFrom.minDefined)&&(f.min=f.clonedFrom.minDefined),g(f.clonedFrom.maxDefined)&&(f.max=f.clonedFrom.maxDefined)},void 0,!1))}else if(d instanceof E){var y=d;y.min=void 0,y.max=void 0,g(y.clonedFrom.minDefined)||(y.min=void 0),g(y.clonedFrom.maxDefined)||(y.max=void 0),this._disposers.push(y.clonedFrom.events.on("extremeschanged",function(){g(y.clonedFrom.minDefined)&&(y.min=y.clonedFrom.min),g(y.clonedFrom.maxDefined)&&(y.max=y.clonedFrom.max)},void 0,!1))}h.xAxis=d}else this.scrollbarChart.xAxes.each(function(P){P.clonedFrom==i.xAxis&&(h.xAxis=P)});if(s){var v=i.yAxis.clone();a.yAxes.moveValue(v),v.title.disabled=!0,v.rangeChangeDuration=0;var u=v.renderer;u.ticks.template.disabled=!0,u.inside=!0,u.labels.template.inside=!0,u.line.strokeOpacity=0,u.minLabelPosition=.02,u.maxLabelPosition=.98,u.line.disabled=!0,u.axisFills.template.disabled=!0,u.grid.template.stroke=o.getFor("background"),u.baseGrid.disabled=!0,u.grid.template.strokeOpacity=.05,u.minWidth=void 0,u.minHeight=void 0,u.chart=a,u.padding(0,0,0,0),u.margin(0,0,0,0),v.height=k(100);var p=u.labels.template;if(p.fillOpacity=.5,h.yAxis=v,v.maxZoomCount=void 0,v.minZoomCount=void 0,v instanceof z){var m=v;m.min=void 0,m.max=void 0;var c=i.yAxis;v.groupCount=c.groupCount*5,this._disposers.push(m.clonedFrom.events.on("extremeschanged",function(){g(m.clonedFrom.minDefined)&&(m.min=m.clonedFrom.minDefined),g(m.clonedFrom.maxDefined)&&(m.max=m.clonedFrom.maxDefined)}))}else if(v instanceof E){var x=v;x.min=void 0,x.max=void 0,g(x.clonedFrom.minDefined)||(x.min=void 0),g(x.clonedFrom.maxDefined)||(x.max=void 0),this._disposers.push(x.clonedFrom.events.on("extremeschanged",function(){g(x.clonedFrom.minDefined)&&(x.min=x.clonedFrom.minDefined),g(x.clonedFrom.maxDefined)&&(x.max=x.clonedFrom.maxDefined)}))}}else this.scrollbarChart.yAxes.each(function(P){P.clonedFrom==i.yAxis&&(h.yAxis=P)});h.rangeChangeDuration=0,h.interpolationDuration=0,h.defaultState.transitionDuration=0,h.showOnInit=!1,this._disposers.push(h.events.on("validated",this.zoomOutAxes,this,!1)),this._disposers.push(i.events.on("datavalidated",function(){h.data!=i.data&&(h.data=i.data)},void 0,!1)),h.defaultState.properties.visible=!0,a.series.push(h),this.updateByOrientation()}},r.prototype.updateByOrientation=function(){var e=this;this._scrollbarChart&&(w(this._scrollbarChart.xAxes.iterator(),function(t){var i=t.renderer;e.orientation=="vertical"?(i.grid.template.disabled=!0,i.labels.template.disabled=!0,i.minGridDistance=10):(i.grid.template.disabled=!1,i.labels.template.disabled=!1,i.minGridDistance=t.clonedFrom.renderer.minGridDistance)}),w(this._scrollbarChart.yAxes.iterator(),function(t){var i=t.renderer;e.orientation=="horizontal"?(i.grid.template.disabled=!0,i.labels.template.disabled=!0,i.minGridDistance=10):(i.grid.template.disabled=!1,i.labels.template.disabled=!1,i.minGridDistance=t.clonedFrom.renderer.minGridDistance)}))},r.prototype.handleSeriesRemoved=function(e){var t=e.oldValue,i=this.scrollbarChart;i.series.each(function(a){a&&a.clonedFrom==t&&i.series.removeValue(a)}),i.series.length==0&&(i.xAxes.clear(),i.yAxes.clear());try{t.events.off("validated",this.zoomOutAxes,this)}catch{}},Object.defineProperty(r.prototype,"scrollbarChart",{get:function(){return this._scrollbarChart},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"chart",{get:function(){return this._chart.get()},set:function(e){this._chart.get()!==e&&(this._chart.set(e,e.events.on("datavalidated",this.handleDataChanged,this,!1)),this.handleDataChanged(),this._scrollbarChart.dataProvider=e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"unselectedOverlay",{get:function(){return this._unselectedOverlay},enumerable:!0,configurable:!0}),r.prototype.handleDataChanged=function(){this.chart.data!=this.scrollbarChart.data?this.scrollbarChart.data=this.chart.data:this.scrollbarChart.invalidateRawData()},r.prototype.zoomOutAxes=function(){var e=this.scrollbarChart;w(e.xAxes.iterator(),function(t){t.zoom({start:0,end:1},!0,!0)}),w(e.yAxes.iterator(),function(t){t.zoom({start:0,end:1},!0,!0)})},r.prototype.updateThumb=function(e){if(e===void 0&&(e=!0),l.prototype.updateThumb.call(this,e),this._unselectedOverlay){var t=this.thumb,i=t.pixelX||0,a=t.pixelY||0,n=t.pixelWidth||0,s=t.pixelHeight||0,o="";this.orientation=="horizontal"?(o=Be({x:-1,y:0,width:i,height:s}),o+=Be({x:i+n,y:0,width:(this.pixelWidth||0)-i-n,height:s})):(o=Be({x:0,y:0,width:n,height:a}),o+=Be({x:0,y:a+s,width:n,height:(this.pixelHeight||0)-a-s})),this._unselectedOverlay.path=o}},r.prototype.processConfig=function(e){if(e&&C(e.series)&&ke(e.series))for(var t=0,i=e.series.length;t0){var i=t.maxZoomFactor/t.maxZoomCount;if(j(t.end-t.start,3)<1/i)return e=!0,!1}else if(j(t.start,3)>0||j(t.end,3)<1)return e=!0,!1}return!0}),je(this.yAxes.iterator(),function(t){if(t.toggleZoomOutButton){if(t.maxZoomCount>0){var i=t.maxZoomFactor/t.maxZoomCount;if(j(t.end-t.start,3)<1/i)return e=!0,!1}else if(j(t.start,3)>0||j(t.end,3)<1)return e=!0,!1;return!0}}),this.seriesAppeared||(e=!1),e?this.zoomOutButton.show():this.zoomOutButton.hide()}},r.prototype.seriesAppeared=function(){var e=!1;return w(this.series.iterator(),function(t){if(!t.appeared)return e=!1,!1}),e},r.prototype.handleYAxisRangeChange=function(){var e=this.getCommonAxisRange(this.yAxes);this.scrollbarY&&this.zoomAxes(this.yAxes,e,!0),this.toggleZoomOutButton(),this.updateScrollbar(this.scrollbarY,e)},r.prototype.updateScrollbar=function(e,t){e&&(e.skipRangeEvents(),e.start=t.start,e.end=t.end)},r.prototype.getCommonAxisRange=function(e){var t,i;return e.each(function(a){if(!(!a.zoomable||a instanceof E&&a.syncWithAxis)){var n=a.start,s=a.end;a.renderer.inversed&&(n=1-a.end,s=1-a.start),(!g(t)||ni)&&(i=s)}}),{start:t,end:i}},r.prototype.updateXAxis=function(e){var t=e.axis;e.opposite?(t.parent=this.topAxesContainer,t.toFront()):(t.parent=this.bottomAxesContainer,t.toBack()),t.renderer&&t.renderer.processRenderer()},r.prototype.updateYAxis=function(e){var t=e.axis;e.opposite?(t.parent=this.rightAxesContainer,t.toBack()):(t.parent=this.leftAxesContainer,t.toFront()),t.renderer&&t.renderer.processRenderer()},r.prototype.processAxis=function(e){var t=this;e instanceof Z&&this._dataUsers.moveValue(e);var i=e.renderer;i.gridContainer.parent=this.plotContainer,i.gridContainer.toBack(),i.breakContainer.parent=this.plotContainer,i.breakContainer.toFront(),i.breakContainer.zIndex=10,e.addDisposer(new se(function(){t.dataUsers.removeValue(e)})),i.bulletsContainer.parent=this.axisBulletsContainer,this._disposers.push(e.events.on("positionchanged",function(){var a=De({x:0,y:0},e,t.axisBulletsContainer);e.renderer instanceof we&&(i.bulletsContainer.y=a.y),e.renderer instanceof Ye&&(i.bulletsContainer.x=a.x)},void 0,!1)),this.plotContainer.events.on("maxsizechanged",function(){t.inited&&(e.invalidateDataItems(),t.updateSeriesMasks())},e,!1)},r.prototype.updateSeriesMasks=function(){bt()&&this.series.each(function(e){var t=e.mainContainer.mask;e.mainContainer.mask=void 0,e.mainContainer.mask=t})},r.prototype.handleSeriesRemoved=function(e){var t=e.oldValue;t&&(t.xAxis&&(t.xAxis.series.removeValue(t),t.xAxis.invalidateProcessedData()),t.yAxis&&(t.yAxis.series.removeValue(t),t.yAxis.invalidateProcessedData()),this.series.each(function(i){i.resetExtremes()})),l.prototype.handleSeriesRemoved.call(this,e)},Object.defineProperty(r.prototype,"xAxes",{get:function(){return this._xAxes||(this._xAxes=new xe,this._xAxes.events.on("inserted",this.processXAxis,this,!1),this._xAxes.events.on("removed",this.handleAxisRemoval,this,!1),this._disposers.push(new G(this._xAxes,!1))),this._xAxes},enumerable:!0,configurable:!0}),r.prototype.handleAxisRemoval=function(e){var t=e.oldValue;this.dataUsers.removeValue(t),t.autoDispose&&t.dispose()},Object.defineProperty(r.prototype,"yAxes",{get:function(){return this._yAxes||(this._yAxes=new xe,this._yAxes.events.on("inserted",this.processYAxis,this,!1),this._yAxes.events.on("removed",this.handleAxisRemoval,this,!1),this._disposers.push(new G(this._yAxes,!1))),this._yAxes},enumerable:!0,configurable:!0}),r.prototype.handleSeriesAdded=function(e){try{l.prototype.handleSeriesAdded.call(this,e);var t=e.newValue;(this.xAxes.length==0||this.yAxes.length==0)&&(V.removeFromInvalidComponents(t),t.dataInvalid=!1),He(t.xAxis),He(t.yAxis),t.maskBullets=t.maskBullets,t.fill==null&&(this.patterns?(C(t.stroke)||(t.stroke=this.colors.next()),t.fill=this.patterns.next(),C(t.fillOpacity)&&(t.fill.backgroundOpacity=t.fillOpacity),t.stroke instanceof Ce&&(t.fill.stroke=t.stroke,t.fill.fill=t.stroke)):t.fill=this.colors.next()),C(t.stroke)||(t.stroke=t.fill)}catch(i){this.raiseCriticalError(i)}},Object.defineProperty(r.prototype,"cursor",{get:function(){return this._cursor},set:function(e){this._cursor!=e&&(this._cursor&&this.removeDispose(this._cursor),this._cursor=e,e&&(this._disposers.push(e),e.chart=this,e.shouldClone=!1,e.parent=this._cursorContainer,e.events.on("cursorpositionchanged",this.handleCursorPositionChange,this,!1),e.events.on("zoomstarted",this.handleCursorZoomStart,this,!1),e.events.on("zoomended",this.handleCursorZoomEnd,this,!1),e.events.on("panstarted",this.handleCursorPanStart,this,!1),e.events.on("panning",this.handleCursorPanning,this,!1),e.events.on("panended",this.handleCursorPanEnd,this,!1),e.events.on("behaviorcanceled",this.handleCursorCanceled,this,!1),e.events.on("hidden",this.handleHideCursor,this,!1),e.zIndex=Number.MAX_SAFE_INTEGER-1,this.tapToActivate&&this.setTapToActivate(this.tapToActivate)))},enumerable:!0,configurable:!0}),r.prototype.handleCursorPositionChange=function(){var e=this.cursor;if(e.visible&&!e.isHiding){var t=this.cursor.xPosition,i=this.cursor.yPosition;this.showSeriesTooltip({x:t,y:i});var a=[],n=e.snapToSeries;if(n&&!e.downPoint){n instanceof at&&(n=[n]);var s=[];H(n,function(h){if(!h.isHidden&&!h.isHiding){var d=h.xAxis,u=h.yAxis;d instanceof E&&!(d instanceof z)&&u instanceof E&&!(u instanceof z)?(h.dataItems.each(function(p){s.push(p)}),Lt(a,h.yAxis),Lt(a,h.xAxis)):(h.baseAxis==h.xAxis&&(Lt(a,h.yAxis),s.push(d.getSeriesDataItem(h,d.toAxisPosition(t),!0))),h.baseAxis==h.yAxis&&(Lt(a,h.xAxis),s.push(u.getSeriesDataItem(h,u.toAxisPosition(i),!0))))}});var o=this.getClosest(s,t,i);o&&(this.series.each(function(h){var d=o.component;h!=d&&(h.hideTooltip(),h.xAxis!=d.xAxis&&(h.xAxis.hideTooltip(),a.push(h.xAxis)),h.yAxis!=d.yAxis&&(h.yAxis.hideTooltip(),a.push(h.yAxis)))}),o.component.showTooltipAtDataItem(o),e.handleSnap(o.component))}this._seriesPoints=[],this._cursorXPosition!=t&&this.showAxisTooltip(this.xAxes,t,a),this._cursorYPosition!=i&&this.showAxisTooltip(this.yAxes,i,a),this.arrangeTooltips&&this.sortSeriesTooltips(this._seriesPoints),this.legend&&this.legend.afterDraw()}},r.prototype.getClosest=function(e,t,i){var a=1/0,n;return Pa(e,function(s){if(s){var o=s.component.xAxis,h=s.component.yAxis,d=o.positionToCoordinate(o.toGlobalPosition(o.toAxisPosition(t))),u=h.positionToCoordinate(h.toGlobalPosition(h.toAxisPosition(i))),p=s.component.xField,f=s.component.yField;if(o instanceof E&&!g(s.getValue(p))||h instanceof E&&!g(s.getValue(f)))return!0;var c=o.positionToCoordinate(o.toGlobalPosition(o.getPositionX(s,p,s.locations[p],"valueX"))),y=h.positionToCoordinate(h.toGlobalPosition(h.getPositionY(s,f,s.locations[f],"valueY"))),v=Math.sqrt(Math.pow(d-c,2)+Math.pow(u-y,2));return v0){var t=this.cursor;if(t&&g(t.maxTooltipDistance)){var i=Qe({x:t.point.x,y:t.point.y},t),a,n,s=1/0;H(e,function(F){var I=F.series,ge=F.point;if(ge){var Fe={x:ge.x,y:ge.y},Me=Math.abs(K(Fe,i));Me0&&H(o,function(F){a!=F.series&&F.series.hideTooltip(0)}),o=[{series:a,point:n}])),e=o}var h=Qe({x:-.5,y:-.5},this.plotContainer),d=Qe({x:this.plotContainer.pixelWidth+.5,y:this.plotContainer.pixelHeight+.5},this.plotContainer),u=0,p=[];H(e,function(F){var I=F.point;I&&Ca(I,{x:h.x,y:h.y,width:d.x-h.x,height:d.y-h.y})&&(p.push({point:I,series:F.series}),u+=I.y)}),e=p;var f=this.series.getIndex(0),c=!1;f&&f.yAxis&&f.yAxis.renderer.inversed&&(c=!0),c?e.sort(function(F,I){return yt(F.point.y,I.point.y)}):(e.sort(function(F,I){return yt(I.point.y,F.point.y)}),e.reverse());var y=u/e.length,v=Da({x:0,y:0},this.svgContainer.SVGContainer).y;if(e.length>0){var m=h.y,x=d.y;Aa({x:0,y:m},this);var P=!1;if(y>m+(x-m)/2)for(var S=x,D=e.length-1;D>=0;D--){var T=e[D].series,b=T.tooltip,O=e[D].point.y;if(b.setBounds({x:0,y:-v,width:this.pixelWidth,height:S+v}),b.invalid&&b.validate(),b.toBack(),S=Qe({x:0,y:b.label.pixelY-b.pixelY+O-b.pixelMarginTop},b).y,S<-v){P=!0;break}}if(y<=m+(x-m)/2||P)for(var _=m,D=0,N=e.length;D0||n.dataItems.length>0)&&n.showTooltipAtPosition(t)})},r.prototype.getUpdatedRange=function(e,t){if(!!e){var i,a,n=e.renderer.inversed;n?(gt(t),i=1-e.end,a=1-e.start):(i=e.start,a=e.end);var s=a-i;return{start:i+t.start*s,end:i+t.end*s}}},r.prototype.handleCursorZoomEnd=function(e){var t=this.cursor,i=t.behavior;if(i=="zoomX"||i=="zoomXY"){var a=t.xRange;a&&this.xAxes.length>0&&(a=this.getUpdatedRange(this.xAxes.getIndex(0),a),a.priority="start",this.zoomAxes(this.xAxes,a))}if(i=="zoomY"||i=="zoomXY"){var n=t.yRange;n&&this.yAxes.length>0&&(n=this.getUpdatedRange(this.yAxes.getIndex(0),n),n.priority="start",this.zoomAxes(this.yAxes,n))}this.handleHideCursor()},r.prototype.handleCursorPanStart=function(e){var t=this.xAxes.getIndex(0);t&&(this._panStartXRange={start:t.start,end:t.end},t.renderer.inversed&&(this._panStartXRange=gt(this._panStartXRange)));var i=this.yAxes.getIndex(0);i&&(this._panStartYRange={start:i.start,end:i.end},i.renderer.inversed&&(this._panStartYRange=gt(this._panStartYRange)))},r.prototype.handleCursorPanEnd=function(e){var t=this.cursor,i=t.behavior;if(this._panEndXRange&&(i=="panX"||i=="panXY")){var a=this._panEndXRange,n=this._panStartXRange,s=0;a.start<0&&(s=a.start),n.end>1?a.end>n.end&&(s=a.end-n.end):a.end>1&&(s=a.end-1),this.zoomAxes(this.xAxes,{start:a.start-s,end:a.end-s},!1,t.snapOnPan),this._panEndXRange=void 0,this._panStartXRange=void 0}if(this._panEndYRange&&(i=="panY"||i=="panXY")){var a=this._panEndYRange,s=0;a.start<0&&(s=a.start),a.end>1&&(s=a.end-1),this.zoomAxes(this.yAxes,{start:a.start-s,end:a.end-s},!1,t.snapOnPan),this._panEndYRange=void 0,this._panStartYRange=void 0}},r.prototype.handleCursorCanceled=function(){this._panEndXRange=void 0,this._panStartXRange=void 0},r.prototype.handleCursorPanning=function(e){var t=this.cursor,i=t.behavior,a=t.maxPanOut;if(this._panStartXRange&&(i=="panX"||i=="panXY")){var n=this._panStartXRange,s=t.xRange,o=this.getCommonAxisRange(this.xAxes),h=n.end-n.start,d=s.start*(o.end-o.start),u=Math.max(-a,d+n.start),p=Math.min(d+n.end,1+a);u<=0&&(p=u+h),p>=1&&(u=p-h);var f={start:u,end:p};this._panEndXRange=f,this.zoomAxes(this.xAxes,f,!1,!1,t.maxPanOut)}if(this._panStartYRange&&(i=="panY"||i=="panXY")){var n=this._panStartYRange,s=t.yRange,o=this.getCommonAxisRange(this.yAxes),h=n.end-n.start,d=s.start*(o.end-o.start),u=Math.max(-a,d+n.start),p=Math.min(d+n.end,1+a);u<=0&&(p=u+h),p>=1&&(u=p-h);var f={start:u,end:p};this._panEndYRange=f,this.zoomAxes(this.yAxes,f,!1,!1,t.maxPanOut)}this.handleHideCursor()},r.prototype.handleYAxisSet=function(e){},r.prototype.handleCursorZoomStart=function(e){},Object.defineProperty(r.prototype,"scrollbarX",{get:function(){return this._scrollbarX},set:function(e){var t=this;this._scrollbarX&&this.removeDispose(this._scrollbarX),this._scrollbarX=e,e&&(this._disposers.push(e),e.parent=this.topAxesContainer,e.shouldClone=!1,e.startGrip.exportable=!1,e.endGrip.exportable=!1,e.toBack(),e.orientation="horizontal",e.events.on("rangechanged",this.handleXScrollbarChange,this,!1),this.events.on("datavalidated",function(){return e.updateThumb(!1)},this,!1),e.adapter.add("positionValue",function(i){var a=t.xAxes.getIndex(0);return a&&(i.value=a.getPositionLabel(a.renderer.inversed?1-i.position:i.position)),i}))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"scrollbarY",{get:function(){return this._scrollbarY},set:function(e){var t=this;this._scrollbarY&&this.removeDispose(this._scrollbarY),this._scrollbarY=e,e&&(this._disposers.push(e),e.parent=this.rightAxesContainer,e.startGrip.exportable=!1,e.shouldClone=!1,e.endGrip.exportable=!1,e.toFront(),e.orientation="vertical",e.events.on("rangechanged",this.handleYScrollbarChange,this,!1),this.events.on("datavalidated",function(){return e.updateThumb(!1)},this,!1),e.adapter.add("positionValue",function(i){var a=t.yAxes.getIndex(0);return a&&(i.value=a.getPositionLabel(i.position)),i}))},enumerable:!0,configurable:!0}),r.prototype.handleXScrollbarChange=function(e){if(this.inited){var t=e.target,i=t.range;i.start==0&&(i.priority="start"),i.end==1&&(i.priority="end"),i=this.zoomAxes(this.xAxes,i),t.fixRange(i)}},r.prototype.handleYScrollbarChange=function(e){if(this.inited){var t=e.target,i=t.range;i.end==1&&(i.priority="end"),i.start==0&&(i.priority="start"),i=this.zoomAxes(this.yAxes,i),t.fixRange(i)}},r.prototype.zoomAxes=function(e,t,i,a,n,s){var o={start:0,end:1};this.showSeriesTooltip();var h=t;return this.dataInvalid||w(e.iterator(),function(d){var u=d.maxZoomFactor;if(g(d.minZoomCount)&&(u=u/d.minZoomCount),!(s&&1/(t.end-t.start)>=u)){if(d.zoomable){if(d.renderer.inversed?t=gt(h):t=h,d.hideTooltip(0),a)if(d instanceof Z){var p=d.getCellEndPosition(0)-d.getCellStartPosition(0);t.start=d.roundPosition(t.start+p/2-d.startLocation*p,d.startLocation),t.end=d.roundPosition(t.end-p/2+(1-d.endLocation)*p,d.endLocation)}else{var f=1e-4;t.start=d.roundPosition(t.start+f,0,d.startLocation),t.end=d.roundPosition(t.end+f,0,d.endLocation)}var c=d.zoom(t,i,i,n);d.renderer.inversed&&(c=gt(c)),o=c}}}),o},Object.defineProperty(r.prototype,"maskBullets",{get:function(){return this.getPropertyValue("maskBullets")},set:function(e){this.setPropertyValue("maskBullets",e,!0)&&this.bulletsContainer&&(e?this.bulletsContainer.mask=this._bulletMask:this.bulletsContainer.mask=void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"arrangeTooltips",{get:function(){return this.getPropertyValue("arrangeTooltips")},set:function(e){this.setPropertyValue("arrangeTooltips",e,!0)},enumerable:!0,configurable:!0}),r.prototype.handleWheel=function(e){var t=this.plotContainer,i=Ui(e.point,this.htmlContainer,this.svgContainer.cssScale),a=Ue(i,t),n=e.shift.y;this.handleWheelReal(n,this.mouseWheelBehavior,a)},r.prototype.handleHorizontalWheel=function(e){var t=this.plotContainer,i=Ui(e.point,this.htmlContainer,this.svgContainer.cssScale),a=Ue(i,t);this.handleWheelReal(e.shift.x,this.horizontalMouseWheelBehavior,a)},r.prototype.handleWheelReal=function(e,t,i){if(e!=0){var a=this.plotContainer,n=this.getCommonAxisRange(this.xAxes),s=this.getCommonAxisRange(this.yAxes),o=.1,h=0;if(t=="panX"||t=="panXY"){var d=this.xAxes.getIndex(0),u=!1,p=o;d instanceof Z&&(p=.5/((n.end-n.start)*d.dataItems.length),u=!0),o=Math.max(.2,p);var f=n.end-n.start,c=Math.max(-h,n.start+o*e/100*(n.end-n.start)),y=Math.min(n.end+o*e/100*(n.end-n.start),1+h);c<=0&&(y=c+f),y>=1&&(c=y-f),this.zoomAxes(this.xAxes,{start:c,end:y},void 0,u)}if(t=="panY"||t=="panXY"){var v=this.yAxes.getIndex(0),p=o,u=!1;v instanceof Z&&(p=.5/((n.end-n.start)*v.dataItems.length),u=!0),o=Math.max(.2,p),e*=-1;var m=s.end-s.start,x=Math.max(-h,s.start+o*e/100*(s.end-s.start)),P=Math.min(s.end+o*e/100*(s.end-s.start),1+h);x<=0&&(P=x+m),P>=1&&(x=P-m),this.zoomAxes(this.yAxes,{start:x,end:P},void 0,u)}if(t=="zoomX"||t=="zoomXY"){var S=i.x/a.maxWidth,D=this.xAxes.getIndex(0).toAxisPosition(S),c=Math.max(-h,n.start-o*(n.end-n.start)*e/100*S);c=Math.min(c,D);var y=Math.min(n.end+o*(n.end-n.start)*e/100*(1-S),1+h);y=Math.max(y,D),this.zoomAxes(this.xAxes,{start:c,end:y},void 0)}if(t=="zoomY"||t=="zoomXY"){var T=i.y/a.maxHeight,b=this.yAxes.getIndex(0).toAxisPosition(T),x=Math.max(-h,s.start-o*(s.end-s.start)*e/100*(1-T));x=Math.min(x,b);var P=Math.min(s.end+o*e/100*T*(s.end-s.start),1+h);P=Math.max(P,b),this.zoomAxes(this.yAxes,{start:x,end:P},void 0)}}},Object.defineProperty(r.prototype,"mouseWheelBehavior",{get:function(){return this.getPropertyValue("mouseWheelBehavior")},set:function(e){this.setPropertyValue("mouseWheelBehavior",e)&&(e!="none"?(this._mouseWheelDisposer=this.plotContainer.events.on("wheel",this.handleWheel,this,!1),this._disposers.push(this._mouseWheelDisposer)):this._mouseWheelDisposer&&(this.plotContainer.wheelable=!1,this.plotContainer.hoverable=!1,this._mouseWheelDisposer.dispose()))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"horizontalMouseWheelBehavior",{get:function(){return this.getPropertyValue("horizontalMouseWheelBehavior")},set:function(e){this.setPropertyValue("horizontalMouseWheelBehavior",e)&&(e!="none"?(this._mouseWheelDisposer2=this.plotContainer.events.on("wheel",this.handleHorizontalWheel,this,!1),this._disposers.push(this._mouseWheelDisposer2)):this._mouseWheelDisposer2&&(this.plotContainer.wheelable=!1,this.plotContainer.hoverable=!1,this._mouseWheelDisposer2.dispose()))},enumerable:!0,configurable:!0}),r.prototype.dataSourceDateFields=function(e){var t=this;return e=l.prototype.dataSourceDateFields.call(this,e),w(this.series.iterator(),function(i){e=t.populateDataSourceFields(e,i.dataFields,["dateX","dateY","openDateX","openDateY"])}),e},r.prototype.dataSourceNumberFields=function(e){var t=this;return e=l.prototype.dataSourceDateFields.call(this,e),w(this.series.iterator(),function(i){e=t.populateDataSourceFields(e,i.dataFields,["valueX","valueY","openValueX","openValueY"])}),e},r.prototype.processConfig=function(e){if(e){var t=[],i=[];if(C(e.xAxes)&&ke(e.xAxes))for(var a=0,n=e.xAxes.length;a0;){var a=this.dataItems.getIndex(0);a&&i.dataItems.remove(a),i.dataUsers.each(function(n){var s=n.dataItems.getIndex(0);s&&n.dataItems.remove(s)}),i._parseDataFrom--,t--}i.invalidateData()}},r.prototype.removeData=function(e){this.scrollbarX instanceof Je&&this.removeScrollbarData(this.scrollbarX,e),this.scrollbarY instanceof Je&&this.removeScrollbarData(this.scrollbarY,e),l.prototype.removeData.call(this,e)},r.prototype.setTapToActivate=function(e){l.prototype.setTapToActivate.call(this,e),this.cursor&&(this.cursor.interactions.isTouchProtected=e,this.plotContainer.interactions.isTouchProtected=e)},r.prototype.handleTapToActivate=function(){l.prototype.handleTapToActivate.call(this),this.cursor&&(this.cursor.interactions.isTouchProtected=!1,this.plotContainer.interactions.isTouchProtected=!1)},r.prototype.handleTapToActivateDeactivation=function(){l.prototype.handleTapToActivateDeactivation.call(this),this.cursor&&(this.cursor.interactions.isTouchProtected=!0,this.plotContainer.interactions.isTouchProtected=!0)},r}(Vi);V.registeredClasses.XYChart=Ge;de.push({relevant:pe.maybeXS,state:function(l,r){if(l instanceof Ge&&l.scrollbarX){var e=l.states.create(r),t=l.scrollbarX.states.create(r);return t.properties.disabled=!0,e}return null}});de.push({relevant:pe.maybeXS,state:function(l,r){if(l instanceof Ge&&l.scrollbarY){var e=l.states.create(r),t=l.scrollbarY.states.create(r);return t.properties.disabled=!0,e}return null}});var wi=function(l){A(r,l);function r(){var e=l.call(this)||this;e.className="LineSeriesSegment",e.isMeasured=!1,e.interactionsEnabled=!1,e.layout="none";var t=e.createChild(q);e.fillSprite=t,t.shouldClone=!1,t.setElement(e.paper.add("path")),t.isMeasured=!1,e._disposers.push(t);var i=e.createChild(q);return e.strokeSprite=i,i.shouldClone=!1,i.fill=Te(),i.setElement(e.paper.add("path")),i.isMeasured=!1,e._disposers.push(i),e}return r.prototype.drawSegment=function(e,t,i,a){if(!this.disabled)if(e.length>0&&t.length>0&&g(e[0].x)&&g(e[0].y)){var n=W({x:e[0].x-.2,y:e[0].y-.2})+W(e[0]),s=this.series;s.smoothing=="bezier"?n+=new Ct(i,a).smooth(e):s.smoothing=="monotoneX"?n+=new Gi({closed:!1}).smooth(e):s.smoothing=="monotoneY"&&(n+=new Ki({closed:!1}).smooth(e)),this.strokeOpacity==0||this.strokeSprite.strokeOpacity==0||(this.strokeSprite.path=n),(this.fillOpacity>0||this.fillSprite.fillOpacity>0)&&g(t[0].x)&&g(t[0].y)&&(n+=R(t[0]),s.smoothing=="bezier"?n+=new Ct(i,a).smooth(t):s.smoothing=="monotoneX"?n+=new Gi({closed:!1}).smooth(t):s.smoothing=="monotoneY"&&(n+=new Ki({closed:!1}).smooth(t)),n+=R(e[0]),n+=rt(),this.fillSprite.path=n)}else this.fillSprite.path="",this.strokeSprite.path=""},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e);var t=this.strokeSprite;re(e,t.properties,J),t.events.copyFrom(e.strokeSprite.events),t.fillOpacity=0;var i=this.fillSprite;re(e,i.properties,J),i.events.copyFrom(e.fillSprite.events),i.strokeOpacity=0},r}(X);V.registeredClasses.LineSeriesSegment=wi;var rn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="DurationAxisDataItem",e.applyTheme(),e}return r}(Zt),ci=function(l){A(r,l);function r(){var e=l.call(this)||this;return e._baseUnit="second",e.className="DurationAxis",e.setPropertyValue("maxZoomFactor",1e6),e.applyTheme(),e}return r.prototype.formatLabel=function(e,t){return this.durationFormatter.format(e,t||this.axisDurationFormat)},r.prototype.adjustMinMax=function(e,t,i,a,n){var s,o,h,d=this.baseUnit;if(this.setPropertyValue("maxPrecision",0),d=="millisecond"||d=="second"||d=="minute"||d=="hour"){a<=1&&(a=1),a=Math.round(a);var u=e,p=t;i===0&&(i=Math.abs(t));var f=i/a,c=[60,30,20,15,10,2,1],y=1;d=="hour"&&(c=[24,12,6,4,2,1]);try{for(var v=ui(c),m=v.next();!m.done;m=v.next()){var x=m.value;if(i/x>a){y=x;break}}}catch(O){s={error:O}}finally{try{m&&!m.done&&(o=v.return)&&o.call(v)}finally{if(s)throw s.error}}var P=Math.ceil((t-e)/y/a),S=Math.log(Math.abs(P))*Math.LOG10E,D=Math.pow(10,Math.floor(S))/10,T=P/D,b=_a(c,T);P=b*D,f=y*P,this.durationFormatter.getValueUnit(f,this.baseUnit),e=Math.floor(e/f)*f,t=Math.ceil(t/f)*f,n&&(e-=f,e<0&&u>=0&&(e=0),t+=f,t>0&&p<=0&&(t=0)),h={min:e,max:t,step:f}}else h=l.prototype.adjustMinMax.call(this,e,t,i,a,n);return this.axisDurationFormat=this.durationFormatter.getFormat(h.step,h.max,this.baseUnit),h},Object.defineProperty(r.prototype,"tooltipDurationFormat",{get:function(){return this._tooltipDurationFormat},set:function(e){this._tooltipDurationFormat=e},enumerable:!0,configurable:!0}),r.prototype.getTooltipText=function(e){var t=j(this.positionToValue(e),this._stepDecimalPlaces),i=this.formatLabel(t,this.tooltipDurationFormat);return this._adapterO?this._adapterO.apply("getTooltipText",i):i},Object.defineProperty(r.prototype,"baseUnit",{get:function(){return this._baseUnit},set:function(e){this._baseUnit!=e&&(this._baseUnit=e,this.durationFormatter.baseUnit=e,this.invalidate())},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.baseUnit=e.baseUnit},r}(E);V.registeredClasses.DurationAxis=ci;V.registeredClasses.DurationAxisDataItem=rn;var $t=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="LineSeriesDataItem",e}return r}(qt),Fi=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.minDistance=.5,e.segments=new Q(e.createSegment()),e.segments.template.applyOnClones=!0,e._disposers.push(new G(e.segments)),e._disposers.push(e.segments.template),e._segmentsIterator=new Pi(e.segments,function(){return e.segments.create()}),e._segmentsIterator.createNewItems=!0,e.className="LineSeries",e.strokeOpacity=1,e.fillOpacity=0,e.connect=!0,e.tensionX=1,e.tensionY=1,e.autoGapCount=1.1,e.smoothing="bezier",e.segmentsContainer=e.mainContainer.createChild(X),e.segmentsContainer.isMeasured=!1,e.bulletsContainer.toFront(),e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Line Series"))},r.prototype.createSegment=function(){return new wi},r.prototype.createDataItem=function(){return new $t},r.prototype.setInitialWorkingValues=function(e){var t=this._yAxis.get(),i=this._xAxis.get();if(this.appeared&&this.visible){var a=this.dataItems.getIndex(e.index-1);if(e.component=this,this.baseAxis==i&&t instanceof E){var n=t.minZoomed;if(a&&(n=a.values.valueY.workingValue),e.setWorkingValue("valueY",n,0),e.setWorkingValue("valueY",e.values.valueY.value),i instanceof z)e.setWorkingLocation("dateX",e.locations.dateX-1,0),e.setWorkingLocation("dateX",e.locations.dateX);else if(i instanceof ci&&a){var s=e.valueX;e.setWorkingValue("valueX",a.valueX,0),e.setWorkingValue("valueX",s)}}if(this.baseAxis==t&&i instanceof E){var o=i.minZoomed;if(a&&(o=a.values.valueX.workingValue),e.setWorkingValue("valueX",o,0),e.setWorkingValue("valueX",e.values.valueX.value),t instanceof z)e.setWorkingLocation("dateY",e.locations.dateX-1,0),e.setWorkingLocation("dateY",e.locations.dateY);else if(t instanceof ci&&a){var s=e.valueY;e.setWorkingValue("valueY",a.valueY,0),e.setWorkingValue("valueY",s)}}}else this.baseAxis==i&&t instanceof E&&(i instanceof z&&e.setWorkingLocation("dateX",e.locations.dateX),i instanceof Z&&e.setWorkingLocation("categoryX",e.locations.categoryX)),this.baseAxis==t&&i instanceof E&&(t instanceof z&&e.setWorkingLocation("dateY",e.locations.dateY),t instanceof Z&&e.setWorkingLocation("categoryY",e.locations.categoryY))},r.prototype.updateLegendValue=function(e,t){l.prototype.updateLegendValue.call(this,e,t),e&&e.segment&&(this.tooltipColorSource=e.segment)},r.prototype.validate=function(){var e=this;l.prototype.validate.call(this),this.xAxis&&this.yAxis&&(this._segmentsIterator.reset(),this.openSegmentWrapper(this._adjustedStartIndex),w(this.axisRanges.iterator(),function(t){e.openSegmentWrapper(e._adjustedStartIndex,t)}),w(this._segmentsIterator.iterator(),function(t){t.__disabled=!0}))},r.prototype.sliceData=function(){for(var e=this.startIndex,t=this.endIndex,i=this.startIndex-1;i>=0;i--){var a=this.dataItems.getIndex(i);if(a&&a.hasValue(this._xValueFields)&&a.hasValue(this._yValueFields)){e=i;break}}this._adjustedStartIndex=this.findAdjustedIndex(e,["stroke","strokeWidth","strokeDasharray","strokeOpacity","fill","fillOpacity","opacity"]);for(var i=this.endIndex,n=this.dataItems.length;i=0;o--){var h=i.dataItems.getIndex(o);if(h&&C(h.properties[s])){e>o&&(e=o);break}}}),e},r.prototype.openSegmentWrapper=function(e,t){var i={index:e,axisRange:t};do i=this.openSegment(i.index,i.axisRange);while(i)},r.prototype.getSegment=function(){var e=this._segmentsIterator.getFirst();return e.series=this,e.isDisposed()?(this.segments.removeValue(e),this.getSegment()):e},r.prototype.openSegment=function(e,t){var i=!1,a=[];e=Math.min(e,this.dataItems.length);var n=Math.min(this._workingEndIndex,this.dataItems.length);this._workingEndIndex=Math.min(this._workingEndIndex,this.dataItems.length);var s,o=!1,h=this.getSegment();h.strokeDasharray=void 0,h.__disabled=!1,t?(h.parent=t.contents,re(t.contents,h,J)):(re(this,h,J),h.filters.clear(),h.parent=this.segmentsContainer),this.group.node.removeAttribute("fill");for(var d=this.connect,u=!1,p=e;p=i;h--){var d=this.dataItems.getIndex(h);d.hasValue(this._xValueFields)&&d.hasValue(this._yValueFields)&&this.addPoints(o,d,this.xOpenField,this.yOpenField,!0)}else{var u=this.baseAxis,p=t.length,f=this.xAxis,c=this.yAxis;p>0&&(u==f?(o.push({x:t[p-1].x,y:c.basePoint.y}),o.push({x:t[0].x,y:c.basePoint.y})):(o.push({x:f.basePoint.x,y:t[p-1].y}),o.push({x:f.basePoint.x,y:t[0].y})))}return this.drawSegment(e,t,o),s&&a++,a0){var s=e.createChild(Va);re(this,s,J),s.width=i,s.height=a,s.y=0,s.strokeOpacity=0,s.visible=!0,n.y=0}var o=e.dataItem;o.color=this.stroke,o.colorOrig=this.fill,je(this.bullets.iterator(),function(h){if(h instanceof We&&!h.copyToLegendMarker)return!1;var d=!1;if(h instanceof X&&w(h.children.iterator(),function(p){if(p instanceof ze)return d=!0,!0}),!d){var u=h.clone();return u.parent=e,u.isMeasured=!0,u.tooltipText=void 0,u.x=i/2,t.fillOpacity>0?u.y=0:u.y=a/2,u.visible=!0,C(u.fill)||(u.fill=t.fill),C(u.stroke)||(u.stroke=t.stroke),!1}})},r.prototype.disposeData=function(){l.prototype.disposeData.call(this),this.segments.clear()},Object.defineProperty(r.prototype,"autoGapCount",{get:function(){return this.getPropertyValue("autoGapCount")},set:function(e){this.setPropertyValue("autoGapCount",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"smoothing",{get:function(){return this.getPropertyValue("smoothing")},set:function(e){this.setPropertyValue("smoothing",e,!0)},enumerable:!0,configurable:!0}),r}(at);V.registeredClasses.LineSeries=Fi;V.registeredClasses.LineSeriesDataItem=$t;var Cr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="RadarSeriesDataItem",e.setLocation("dateX",0,0),e.setLocation("dateY",0,0),e.setLocation("categoryX",0,0),e.setLocation("categoryY",0,0),e.applyTheme(),e}return r}($t),Dr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="RadarSeries",e.connectEnds=!0,e.applyTheme(),e}return r.prototype.validate=function(){this.chart.invalid&&this.chart.validate(),l.prototype.validate.call(this)},r.prototype.createDataItem=function(){return new Cr},r.prototype.getPoint=function(e,t,i,a,n,s,o){s||(s="valueX"),o||(o="valueY");var h=this.yAxis.getX(e,i,n,o),d=this.yAxis.getY(e,i,n,o),u=K({x:h,y:d});u==0&&(u=1e-5);var p=this.xAxis.getAngle(e,t,a,s),f=this.chart.startAngle,c=this.chart.endAngle;if(!(pc))return{x:u*M(p),y:u*L(p)}},r.prototype.addPoints=function(e,t,i,a,n){var s=this.getPoint(t,i,a,t.locations[i],t.locations[a]);s&&e.push(s)},r.prototype.getMaskPath=function(){var e=this.yAxis.renderer;return _t(e.startAngle,e.endAngle-e.startAngle,e.pixelRadius,e.pixelInnerRadius)},r.prototype.drawSegment=function(e,t,i){var a=this.yAxis,n=a.renderer;this.connectEnds&&Math.abs(n.endAngle-n.startAngle)==360&&(this.dataFields[this._xOpenField]||this.dataFields[this._yOpenField]||this.stacked)&&(t.push(t[0]),i.length>0&&i.unshift(i[i.length-1])),l.prototype.drawSegment.call(this,e,t,i)},Object.defineProperty(r.prototype,"connectEnds",{get:function(){return this.getPropertyValue("connectEnds")},set:function(e){this.setPropertyValue("connectEnds",e,!0)},enumerable:!0,configurable:!0}),r.prototype.positionBulletReal=function(e,t,i){var a=this.xAxis,n=this.yAxis;(ta.end||in.end)&&(e.visible=!1),e.moveTo(this.xAxis.renderer.positionToPoint(t,i))},r.prototype.setXAxis=function(e){l.prototype.setXAxis.call(this,e),this.updateRendererRefs()},r.prototype.setYAxis=function(e){l.prototype.setYAxis.call(this,e),this.updateRendererRefs()},r.prototype.updateRendererRefs=function(){var e=this.xAxis.renderer,t=this.yAxis.renderer;e.axisRendererY=t},r}(Fi);V.registeredClasses.RadarSeries=Dr;V.registeredClasses.RadarSeriesDataItem=Cr;var Ar=function(l){A(r,l);function r(e){var t=l.call(this,e)||this;return t.className="AxisFillCircular",t.element=t.paper.add("path"),t.radius=k(100),t.applyTheme(),t}return r.prototype.draw=function(){if(l.prototype.draw.call(this),!(this.__disabled||this.disabled)&&this.axis){var e=this.axis.renderer;this.fillPath=e.getPositionRangePath(this.startPosition,this.endPosition,this.radius,C(this.innerRadius)?this.innerRadius:e.innerRadius,this.cornerRadius),this.path=this.fillPath}},Object.defineProperty(r.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(e){this.setPercentProperty("innerRadius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(e){this.setPropertyValue("cornerRadius",e,!0)},enumerable:!0,configurable:!0}),r}(Si);V.registeredClasses.AxisFillCircular=Ar;var _r=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="GridCircular",e.pixelPerfect=!1,e.applyTheme(),e}return Object.defineProperty(r.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(e){this.setPercentProperty("innerRadius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),r}(Dt);V.registeredClasses.GridCircular=_r;var Jt=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.fdx=0,e.fdy=0,e.className="AxisLabelCircular",e.padding(0,0,0,0),e.location=.5,e.locationOnPath=.5,e.radius=0,e.isMeasured=!1,e.applyTheme(),e}return Object.defineProperty(r.prototype,"relativeRotation",{get:function(){return this.getPropertyValue("relativeRotation")},set:function(e){if(this.setPropertyValue("relativeRotation",e,!0),!C(e)){this.rotation=void 0;var t=this.dataItem;t&&t.component&&t.component.invalidateDataItems()}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"bent",{get:function(){return this.getPropertyValue("bent")},set:function(e){this.setPropertyValue("bent",e,!0),this.setPropertyValue("wrap",!1),this.setPropertyValue("horizontalCenter","none"),this.setPropertyValue("verticalCenter","none"),e?(this.setPropertyValue("dx",0),this.setPropertyValue("dy",0),this.setPropertyValue("x",0),this.setPropertyValue("y",0),this.setPropertyValue("rotation",0),this.fdx=0,this.fdy=0,this.textAlign="middle"):this.textPathElement&&(this.textPathElement.dispose(),this.textPathElement=void 0)},enumerable:!0,configurable:!0}),r.prototype.pixelRadius=function(e){var t=1;return this.inside&&(t=-1),oe(this.radius,e)*t},r.prototype.pixelRadiusY=function(e,t){var i=1;this.inside&&(i=-1);var a=this.radius;return g(a)?(a*=t/e,oe(a,e)*i):oe(a,t)*i},r.prototype.fixPosition=function(e,t,i,a,n){g(i)||(i=t),g(a)||(a=0),g(n)||(n=0);var s={x:t*M(e),y:i*L(e)};this.invalid&&this.validate();var o=!1,h=this.radius;(h instanceof ce&&h.value<0||h<0)&&(o=!0);var d=this.relativeRotation,u=this.pixelRadius(t);if(this.bent){var p={x:(t+u)*M(e+180),y:(i+u*i/t)*L(e+180)};this.path=W(p)+fe(e+180,360,t+u,i+u*i/t),this.textPathElement&&this.textPathElement.attr({startOffset:this.locationOnPath*100+"%"});return}if(g(d)){this.horizontalCenter="none",this.verticalCenter="none",e=Ie(e,-180,180);var f=this.bbox.width,c=this.bbox.height,y=this.pixelPaddingBottom,v=this.pixelPaddingTop,m=this.pixelPaddingLeft,x=this.pixelPaddingRight;e>90||e<-90?d==-90&&(d=90,f=0):(d==-90&&(c=-c),d==90&&(d=-90,f=-m-x,c=-c-v-y)),this.rotation=d+e+90;var P=L(d)/2,S=M(d)/2,D=this.rotation;this.dx=c*P*L(D)-f*S*M(D),this.dy=-c*P*M(D)-f*S*L(D),this.inside?e>90||e<-90?u-=(y+v)*M(d)+(m+x)*L(d):u+=(y+this.bbox.height+v)*M(d)+(m+x+this.bbox.width)*L(d):u+=(c+y+v)*M(d)+(f+m+x)*L(d),s.x+=M(e)*u,s.y+=L(e)*u*i/t}else this.horizontalCenter="middle",this.verticalCenter="middle",o?(this.dx=0,this.dy=0,s.x=(t+u)*M(e),s.y=(i+u*i/t)*L(e)):(this.dy=this._measuredHeight/2*L(e),this.dx=this._measuredWidth/2*M(e),s.x+=M(e)*u,s.y+=L(e)*u*i/t);s.x+=a,s.y+=n,this.fdx=this.dx,this.fdy=this.dy,this.moveTo(s)},r}(Ti);V.registeredClasses.AxisLabelCircular=Jt;var Vr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.pixelRadiusReal=0,e.layout="none",e.className="AxisRendererCircular",e.isMeasured=!1,e.startAngle=-90,e.endAngle=270,e.useChartAngles=!0,e.radius=k(100),e.isMeasured=!1,e.grid.template.location=0,e.labels.template.location=0,e.labels.template.radius=15,e.ticks.template.location=0,e.ticks.template.pixelPerfect=!1,e.tooltipLocation=0,e.line.strokeOpacity=0,e.applyTheme(),e}return r.prototype.setAxis=function(e){var t=this;l.prototype.setAxis.call(this,e),e.isMeasured=!1;var i=e.tooltip;i.adapter.add("dx",function(a,n){var s=Ue({x:n.pixelX,y:n.pixelY},t);return t.pixelRadius*Math.cos(Math.atan2(s.y,s.x))-s.x}),i.adapter.add("dy",function(a,n){var s=Ue({x:n.pixelX,y:n.pixelY},t);return t.pixelRadius*Math.sin(Math.atan2(s.y,s.x))-s.y})},r.prototype.validate=function(){this.chart&&this.chart.invalid&&this.chart.validate(),l.prototype.validate.call(this)},Object.defineProperty(r.prototype,"axisLength",{get:function(){return 2*Math.PI*this.pixelRadius},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!1,!1,10,!1)&&this.axis&&this.axis.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pixelRadius",{get:function(){return ie(this.radius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"innerRadius",{get:function(){var e=this.chart,t=this.getPropertyValue("innerRadius");if(e){if(!C(t))t=e.innerRadius,t instanceof ce&&e&&(t=k(t.value*e.innerRadiusModifyer*100));else if(t instanceof ce&&e){var i=e.mr,a=t.value;a=Math.max(i*a,i-Math.min(e.plotContainer.innerHeight,e.plotContainer.innerWidth))/i,t=k(a*100)}return t}},set:function(e){this.setPercentProperty("innerRadius",e,!1,!1,10,!1)&&this.axis&&this.axis.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"useChartAngles",{get:function(){return this.getPropertyValue("useChartAngles")},set:function(e){this.setPropertyValue("useChartAngles",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pixelInnerRadius",{get:function(){return ie(this.innerRadius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),r.prototype.positionToPoint=function(e,t){g(t)||(t=1);var i=this.positionToCoordinate(e),a=this.startAngle+(this.endAngle-this.startAngle)*i/this.axisLength,n=this.pixelRadius,s=this.pixelInnerRadius;if(this.axisRendererY){var o=Y(this.axisRendererY.positionToCoordinate(t),0,1/0);o==0&&(o=1e-6);var h={x:o*M(a),y:o*L(a)};return h}return{x:M(a)*s+(n-s)*M(a)*t,y:L(a)*s+(n-s)*L(a)*t}},r.prototype.positionToAngle=function(e){var t=this.axis,i=(this.endAngle-this.startAngle)/(t.end-t.start),a;return t.renderer.inversed?a=this.startAngle+(t.end-e)*i:a=this.startAngle+(e-t.start)*i,j(a,3)},r.prototype.angleToPosition=function(e){var t=this.axis,i=(this.endAngle-this.startAngle)/(t.end-t.start),a;return t.renderer.inversed?a=t.end-(e-this.startAngle)/i:a=(e-this.startAngle)/i+t.start,j(a,5)},r.prototype.updateAxisLine=function(){var e=this.pixelRadius,t=this.startAngle,i=this.endAngle,a=U(360,i-t);this.line.path=W({x:e*M(t),y:e*L(t)})+fe(t,a,e,e)},r.prototype.updateGridElement=function(e,t,i){t=t+(i-t)*e.location;var a=this.positionToPoint(t);if(g(a.x)&&g(a.y)&&e.element){var n=ii*Math.atan2(a.y,a.x),s=ie(C(e.radius)?e.radius:k(100),this.pixelRadius),o=ie(e.innerRadius,this.pixelRadius);e.zIndex=0;var h=ie(g(o)?o:this.innerRadius,this.pixelRadiusReal,!0);g(h)||(h=0),e.path=W({x:h*M(n),y:h*L(n)})+R({x:s*M(n),y:s*L(n)})}this.toggleVisibility(e,t,0,1)},r.prototype.updateTickElement=function(e,t,i){t=t+(i-t)*e.location;var a=this.positionToPoint(t);if(e.element){var n=this.pixelRadius,s=ii*Math.atan2(a.y,a.x),o=e.length;e.inside&&(o=-o),e.zIndex=1,e.path=W({x:n*M(s),y:n*L(s)})+R({x:(n+o)*M(s),y:(n+o)*L(s)})}this.toggleVisibility(e,t,0,1)},r.prototype.updateBullet=function(e,t,i){var a=.5;e instanceof Tt&&(a=e.location),t=t+(i-t)*a;var n=this.positionToPoint(t),s=this.pixelRadius,o=ii*Math.atan2(n.y,n.x);n={x:s*M(o),y:s*L(o)},this.positionItem(e,n),this.toggleVisibility(e,t,0,1)},r.prototype.updateLabelElement=function(e,t,i,a){C(a)||(a=e.location),t=t+(i-t)*a,e.fixPosition(this.positionToAngle(t),this.pixelRadius),e.zIndex=2,this.toggleVisibility(e,t,this.minLabelPosition,this.maxLabelPosition)},r.prototype.fitsToBounds=function(e){return!0},Object.defineProperty(r.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(e){this.setPropertyValue("startAngle",e)&&(this.invalidateAxisItems(),this.axis&&this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(e){this.setPropertyValue("endAngle",e)&&(this.invalidateAxisItems(),this.axis&&this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),r.prototype.getPositionRangePath=function(e,t,i,a,n){var s="";if(g(e)&&g(t)){C(i)||(i=this.radius),e=ee(e,this.axis.start),t=U(t,this.axis.end),t0&&f&&u&&u instanceof Z){var c=u.renderer.grid.template.location,y=u.getAngle(f.dataItems.getIndex(0),"categoryX",c);n=W({x:s*M(y),y:s*L(y)});for(var v=1;v0&&c&&f&&f instanceof Z){var v=f.renderer.grid.template.location,m=f.getAngle(c.dataItems.getIndex(0),"categoryX",v);u=W({x:s*M(m),y:s*L(m)});for(var x=1;x=0;x--)m=f.getAngle(c.dataItems.getIndex(x),"categoryX",v),u+=R({x:n*M(m),y:n*L(m)})}else u=_t(o,d,s,n);return u},r.prototype.updateBreakElement=function(e){var t=e.startLine,i=e.endLine,a=e.fillShape,n=e.startPoint,s=e.endPoint;t.radius=Math.abs(n.y),i.radius=Math.abs(s.y),a.radius=Math.abs(s.y),a.innerRadius=Math.abs(n.y)},r.prototype.createBreakSprites=function(e){e.startLine=new ri,e.endLine=new ri,e.fillShape=new ri},r.prototype.updateTooltip=function(){var e=this.axis;if(e){var t=4e3,i=-4e3,a=-4e3,n=t*2,s=t*2,o=this.axisAngle;o<0&&(o+=360);var h="vertical";(o>45&&o<135||o>225&&o<315)&&(h="horizontal"),this.axis.updateTooltip(h,{x:i,y:a,width:n,height:s})}},r.prototype.updateTickElement=function(e,t,i){t=t+(i-t)*e.location;var a=this.positionToPoint(t);if(e.element){var n=di(this.axisAngle+90);n/90!=Math.round(n/90)?e.pixelPerfect=!1:e.pixelPerfect=!0;var s=-e.length;e.inside&&(s*=-1),e.path=W({x:0,y:0})+R({x:s*M(n),y:s*L(n)})}this.positionItem(e,a),this.toggleVisibility(e,t,0,1)},r.prototype.updateBullet=function(e,t,i){var a=.5;e instanceof Tt&&(a=e.location),t=t+(i-t)*a;var n=this.positionToPoint(t);this.positionItem(e,n),this.toggleVisibility(e,t,0,1)},r.prototype.positionToCoordinate=function(e){var t,i=this.axis,a=i.axisFullLength,n=this.pixelInnerRadius;return i.renderer.inversed?t=(i.end-e)*a+n:t=(e-i.start)*a+n,j(t,1)},r.prototype.pointToPosition=function(e){var t=K(e)-this.pixelInnerRadius;return this.coordinateToPosition(t)},Object.defineProperty(r.prototype,"chart",{get:function(){return this._chart.get()},set:function(e){this._chart.set(e,null)},enumerable:!0,configurable:!0}),r}(we);V.registeredClasses.AxisRendererRadial=Sr;var an=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="RadarChartDataItem",e.applyTheme(),e}return r}(ki),Tr=function(l){A(r,l);function r(){var e=l.call(this)||this;e._axisRendererX=Vr,e._axisRendererY=Sr,e.innerRadiusModifyer=1,e.mr=1,e.className="RadarChart",e.startAngle=-90,e.endAngle=270,e.radius=k(80),e.innerRadius=0;var t=e.plotContainer.createChild(X);return t.shouldClone=!1,t.layout="absolute",t.align="center",t.valign="middle",e.seriesContainer.parent=t,e.radarContainer=t,e.bulletsContainer.parent=t,e.axisBulletsContainer=t,e._cursorContainer=t,e.chartContainer.events.on("maxsizechanged",e.invalidate,e,!1),e._bulletMask=t.createChild(Ci),e._bulletMask.shouldClone=!1,e._bulletMask.element=e.paper.add("path"),e._bulletMask.opacity=0,e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Radar chart"))},r.prototype.processAxis=function(e){l.prototype.processAxis.call(this,e);var t=e.renderer;t.gridContainer.parent=t,t.breakContainer.parent=t,e.parent=this.radarContainer,t.toBack()},r.prototype.handleXAxisRangeChange=function(){l.prototype.handleXAxisRangeChange.call(this),w(this.yAxes.iterator(),function(e){e.invalidate()})},r.prototype.handleYAxisRangeChange=function(){l.prototype.handleYAxisRangeChange.call(this),w(this.xAxes.iterator(),function(e){e.invalidate()})},r.prototype.processConfig=function(e){if(e&&(C(e.cursor)&&!C(e.cursor.type)&&(e.cursor.type="RadarCursor"),C(e.series)&&ke(e.series)))for(var t=0,i=e.series.length;ts&&(this.rotation=s+360),this.animate({property:"rotation",to:n},t,i)}},Object.defineProperty(r.prototype,"currentPosition",{get:function(){if(this.axis){var e=this.axis.renderer;return e.angleToPosition(this.rotation)}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"value",{get:function(){return this._value},set:function(e){this.showValue(e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"axis",{get:function(){return this._axis.get()},set:function(e){if(this.axis!=e&&this._axis.set(e,new it([e.events.on("datavalidated",this.updateValue,this,!1),e.events.on("datarangechanged",this.updateValue,this,!1),e.events.on("dataitemsvalidated",this.updateValue,this,!1),e.events.on("propertychanged",this.invalidate,this,!1)])),e){var t=e.chart;t&&(this.rotation=t.startAngle)}this.parent=e.renderer,this.zIndex=5},enumerable:!0,configurable:!0}),r.prototype.updateValue=function(){this.value=this.value},r.prototype.processConfig=function(e){e&&C(e.axis)&&ae(e.axis)&&this.map.hasKey(e.axis)&&(e.axis=this.map.getKey(e.axis)),l.prototype.processConfig.call(this,e)},r}(X);V.registeredClasses.ClockHand=Or;(function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="GaugeChartDataItem",e.applyTheme(),e}return r})(an);var nn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="GaugeChart",e.startAngle=180,e.endAngle=360,e.hands=new Q(new Or),e.hands.events.on("inserted",e.processHand,e,!1),e._disposers.push(new G(e.hands)),e._disposers.push(e.hands.template),e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Gauge chart"))},r.prototype.processHand=function(e){var t=e.newValue;t.axis||(t.axis=this.xAxes.getIndex(0))},r.prototype.configOrder=function(e,t){return e==t?0:e=="hands"?1:t=="hands"?-1:l.prototype.configOrder.call(this,e,t)},r}(Tr);V.registeredClasses.GaugeChart=nn;var Qt=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PercentSeriesDataItem",e.applyTheme(),e}return r.prototype.uidAttr=function(){return this.slice.uidAttr()},r.prototype.hide=function(e,t,i,a){return a||(a=["value"]),l.prototype.hide.call(this,e,t,0,a)},r.prototype.setVisibility=function(e,t){t||(e?this.setWorkingValue("value",this.values.value.value,0,0):this.setWorkingValue("value",0,0,0)),l.prototype.setVisibility.call(this,e,t)},r.prototype.show=function(e,t,i){return i||(i=["value"]),l.prototype.show.call(this,e,t,i)},Object.defineProperty(r.prototype,"category",{get:function(){return this.properties.category},set:function(e){this.setProperty("category",e)},enumerable:!0,configurable:!0}),r.prototype.createLegendMarker=function(e){this.component.createLegendMarker(e,this)},Object.defineProperty(r.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(e){this._legendDataItem=e,e.label&&(e.label.dataItem=this),e.valueLabel&&(e.valueLabel.dataItem=this)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tick",{get:function(){var e=this;if(!this._tick){var t=this.component.ticks.create();this._tick=t,this.addSprite(t),this._disposers.push(t),t.parent=this.component.ticksContainer,this._disposers.push(new se(function(){e.component&&e.component.ticks.removeValue(t)})),t.visible=this.visible}return this._tick},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"label",{get:function(){var e=this;if(!this._label){var t=this.component.labels.create();this.addSprite(t),this._label=t,this._disposers.push(t),t.parent=this.component.labelsContainer,this._disposers.push(new se(function(){e.component&&e.component.labels.removeValue(t)})),t.visible=this.visible}return this._label},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"slice",{get:function(){var e=this;if(!this._slice){var t=this.component,i=t.slices.create();this.addSprite(i),this._slice=i,this._disposers.push(i),i.parent=t.slicesContainer,this._disposers.push(new se(function(){t.slices.removeValue(i)})),i.visible=this.visible,t.itemsFocusable()?(C(this.component.role)||(this.component.role="menu"),C(i.role)||(i.role="menuitem"),i.focusable=!0):(C(this.component.role)||(this.component.role="list"),C(i.role)||(i.role="listitem"),i.focusable=!1),i.focusable&&(i.events.on("focus",function(a){i.readerTitle=t.populateString(t.itemReaderText,e)},void 0,!1),i.events.on("blur",function(a){i.readerTitle=""},void 0,!1)),i.hoverable&&(i.events.on("over",function(a){i.readerTitle=t.populateString(t.itemReaderText,e)},void 0,!1),i.events.on("out",function(a){i.readerTitle=""},void 0,!1))}return this._slice},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hiddenInLegend",{get:function(){return this.properties.hiddenInLegend},set:function(e){this.setProperty("hiddenInLegend",e)},enumerable:!0,configurable:!0}),r}(zt),Ot=function(l){A(r,l);function r(){var e=l.call(this)||this;e.className="PercentSeries",e._addAllDataItems=!1,e.colors=new Bt,e.colors.step=1,e.isMeasured=!0,e.calculatePercent=!0;var t=e.createChild(X);t.shouldClone=!1,t.isMeasured=!1,e.slicesContainer=t;var i=e.createChild(X);i.shouldClone=!1,i.isMeasured=!1,i.layout="none",e.ticksContainer=i;var a=e.createChild(X);a.shouldClone=!1,a.isMeasured=!1,a.layout="none",e.labelsContainer=a,e.alignLabels=!1,e.bulletsContainer.toFront(),e.skipFocusThreshold=50;var n=e.defaultState;return n.transitionEasing=Ta,e.itemReaderText="{category}: {value.percent.formatNumber('#.#p')}",e.applyTheme(),e}return r.prototype.createSlice=function(){return new q},r.prototype.createTick=function(){return new St},r.prototype.createLabel=function(){return new ze},Object.defineProperty(r.prototype,"slices",{get:function(){if(!this._slices){var e=this.createSlice();e.applyOnClones=!0,this._disposers.push(e),this.initSlice(e),this._slices=new Q(e),this._disposers.push(new G(this._slices))}return this._slices},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"ticks",{get:function(){if(!this._ticks){var e=this.createTick();e.applyOnClones=!0,this._disposers.push(e),this.initTick(e),this._ticks=new Q(e),this._disposers.push(new G(this._ticks))}return this._ticks},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"labels",{get:function(){if(!this._labels){var e=this.createLabel();e.applyOnClones=!0,this._disposers.push(e),this.initLabel(e),this._labels=new Q(e),this._disposers.push(new G(this._labels))}return this._labels},enumerable:!0,configurable:!0}),r.prototype.createDataItem=function(){return new Qt},r.prototype.initSlice=function(e){},r.prototype.initLabel=function(e){e.text="{category}: {value.percent.formatNumber('#.0p')}",e.isMeasured=!1,e.padding(5,5,5,5)},r.prototype.initTick=function(e){},r.prototype.validateDataItems=function(){this.colors.reset(),this.patterns&&this.patterns.reset(),l.prototype.validateDataItems.call(this)},r.prototype.validateDataElement=function(e){var t=e.slice;t&&(t.fill==null?this.patterns?(C(t.stroke)||(t.stroke=this.colors.next()),t.fill=this.patterns.next(),C(t.fillOpacity)&&(t.fill.backgroundOpacity=t.fillOpacity),t.stroke instanceof Ce&&(t.fill.stroke=t.stroke,t.fill.fill=t.stroke)):t.fill=this.colors.next():this.colors.currentStep+=this.colors.step,t.stroke==null&&(t.stroke=t.fill)),l.prototype.validateDataElement.call(this,e),t&&e.bullets.each(function(i,a){a.fill==null&&(a.fill=t.fill),a.stroke==null&&(a.stroke=t.stroke)}),this.updateLegendValue(e)},r.prototype.validateData=function(){l.prototype.validateData.call(this),this.chart&&this.chart.feedLegend()},r.prototype.arrangeLabels=function(e){for(var t=0,i=e.length;t=0;i--){var a=e[i],n=a.label;if(n){n.invalid&&n.validate();var s=n.measuredHeight;n.visible||(s=0),i==e.length-1&&(t+=s/2),n.pixelY+s>t&&(n.y=t-s,t=n.y)}}},r.prototype.getNextLabel=function(e,t){if(t.length>=e){var i=t[e];if(i)return i.label?i.visible?i.label:this.getNextLabel(e+1,t):this.getNextLabel(e+1,t)}},Object.defineProperty(r.prototype,"colors",{get:function(){return this.getPropertyValue("colors")},set:function(e){this.setPropertyValue("colors",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"patterns",{get:function(){return this.getPropertyValue("patterns")},set:function(e){this.setPropertyValue("patterns",e,!0)},enumerable:!0,configurable:!0}),r.prototype.createLegendMarker=function(e,t){w(e.children.iterator(),function(i){var a=t.slice;i.defaultState.properties.fill=a.fill,i.defaultState.properties.stroke=a.stroke,i.defaultState.properties.fillOpacity=a.fillOpacity,i.defaultState.properties.strokeOpacity=a.strokeOpacity,i.fill=a.fill,i.stroke=a.stroke,i.fillOpacity=a.fillOpacity,i.strokeOpacity=a.strokeOpacity,i.fill==null&&(i.__disabled=!0);var n=e.dataItem;n.color=a.fill,n.colorOrig=a.fill,i.addDisposer(a.events.on("propertychanged",function(s){s.property=="fill"&&(i.__disabled=!1,i.isActive||(i.fill=a.fill),i.defaultState.properties.fill=a.fill,n.color=a.fill,n.colorOrig=a.fill),s.property=="stroke"&&(i.isActive||(i.stroke=a.stroke),i.defaultState.properties.stroke=a.stroke),s.property=="strokeOpacity"&&(i.isActive||(i.strokeOpacity=a.strokeOpacity),i.defaultState.properties.strokeOpacity=a.strokeOpacity)},void 0,!1))})},r.prototype.handleSliceScale=function(e){var t=this,i=e.target,a=i.dataItem;a&&a.bullets&&w(a.bullets.iterator(),function(n){var s=n[1];t.positionBullet(s)})},r.prototype.handleSliceMove=function(e){},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.slices.template.copyFrom(e.slices.template),this.labels.template.copyFrom(e.labels.template),this.ticks.template.copyFrom(e.ticks.template),this.colors=e.colors.clone()},Object.defineProperty(r.prototype,"alignLabels",{get:function(){return this.getPropertyValue("alignLabels")},set:function(e){this.setAlignLabels(e)},enumerable:!0,configurable:!0}),r.prototype.setAlignLabels=function(e){this.setPropertyValue("alignLabels",e,!0)},Object.defineProperty(r.prototype,"ignoreZeroValues",{get:function(){return this.getPropertyValue("ignoreZeroValues")},set:function(e){this.setPropertyValue("ignoreZeroValues",e,!0)},enumerable:!0,configurable:!0}),r.prototype.updateLegendValue=function(e){if(e){var t=e.legendDataItem,i=e.legendSettings;t&&i&&i&&(i.labelText&&(t.label.text=i.labelText),i.itemLabelText&&(t.label.text=i.itemLabelText),i.valueText&&(t.valueLabel.text=i.valueText),i.itemValueText&&(t.valueLabel.text=i.itemValueText))}},r}(Ht);V.registeredClasses.PercentSeries=Ot;V.registeredClasses.PercentSeriesDataItem=Qt;de.push({relevant:pe.maybeXS,state:function(l,r){if(l instanceof Ot){var e=l.states.create(r),t=l.labels.template.states.create(r);t.properties.disabled=!0;var i=l.ticks.template.states.create(r);return i.properties.disabled=!0,e}return null}});var Mi=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PercentChartDataItem",e.applyTheme(),e}return r}(yr),Li=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PercentChart",e.align="none",e.valign="none",e.chartContainer.minHeight=50,e.chartContainer.minWidth=50,e.applyTheme(),e}return r.prototype.validateData=function(){l.prototype.validateData.call(this),this.feedLegend()},r.prototype.feedLegend=function(){var e=this.legend;if(e){var t=[];w(this.series.iterator(),function(i){i.hiddenInLegend||w(i.dataItems.iterator(),function(a){a.hiddenInLegend||(t.push(a),a.legendSettings||(a.legendSettings=i.legendSettings))})}),e.data=t,e.dataFields.name="category"}},r.prototype.createSeries=function(){return new Ot},r.prototype.setLegend=function(e){l.prototype.setLegend.call(this,e),e&&(e.labels.template.text="{category}",e.valueLabels.template.text="{value.percent.formatNumber('#.0p')}",e.itemContainers.template.events.on("over",function(t){var i=t.target.dataItem.dataContext;if(i.visible&&!i.isHiding){var a=i.slice;a.dispatchImmediately("over"),a.isHover=!0,a.interactions.isRealHover=!0}}),e.itemContainers.template.events.on("out",function(t){var i=t.target.dataItem.dataContext,a=i.slice;a.dispatchImmediately("out"),a.isHover=!1}))},r}(Vi);V.registeredClasses.PercentChart=Li;V.registeredClasses.PercentChartDataItem=Mi;var kr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e._label=new le,e._slice=new le,e.className="PieTick",e.element=e.paper.add("polyline"),e._disposers.push(e._label),e._disposers.push(e._slice),e.applyTheme(),e}return r.prototype.draw=function(){l.prototype.draw.call(this);var e=this.slice,t=this.label,i=e.dataItem.component;if(e&&e.radius>0&&t&&t.text){var a=e.dx+e.slice.dx+e.pixelX+e.ix*e.radius*e.scale,n=e.dy+e.slice.dy+e.pixelY+e.iy*e.radiusY*e.scale,s=void 0,o=void 0,h=void 0,d=void 0;if(i.alignLabels)s=t.pixelX-this.length,o=t.pixelY,h=t.pixelX,d=o,t.horizontalCenter=="right"&&(s+=2*this.length,h=s-this.length);else{var u=t.pixelRadius(e.radius);s=a+u*e.ix,o=n+u*e.iy,h=s,d=o}this.element.attr({points:[a,n,s,o,h,d]})}},Object.defineProperty(r.prototype,"slice",{get:function(){return this._slice.get()},set:function(e){this._slice.set(e,new it([e.events.on("transformed",this.invalidate,this),e.events.on("validated",this.invalidate,this)]))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"label",{get:function(){return this._label.get()},set:function(e){this._label.set(e,e.events.on("transformed",this.invalidate,this,!1))},enumerable:!0,configurable:!0}),r}(St);V.registeredClasses.PieTick=kr;var Ii=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PieSeriesDataItem",e.values.radiusValue={},e.applyTheme(),e}return Object.defineProperty(r.prototype,"radiusValue",{get:function(){return this.values.radiusValue.value},set:function(e){this.setValue("radiusValue",e)},enumerable:!0,configurable:!0}),r.prototype.hide=function(e,t,i,a){return l.prototype.hide.call(this,e,t,0,["value","radiusValue"])},r.prototype.show=function(e,t,i){return l.prototype.show.call(this,e,t,["value","radiusValue"])},r}(Qt),Ri=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PieSeries",e.alignLabels=!0,e.layout="none",e.labels.template.radius=k(5),e.addDisposer(e.labels.template.events.on("enabled",e.invalidate,e,!1)),e.applyTheme(),e}return r.prototype.createSlice=function(){return new Ai},r.prototype.createTick=function(){return new kr},r.prototype.createLabel=function(){return new Jt},r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Pie Slice Series"))},r.prototype.createDataItem=function(){return new Ii},r.prototype.initSlice=function(e){e.isMeasured=!1,e.defaultState.properties.scale=1,e.observe("scale",this.handleSliceScale,this),e.observe(["dx","dy","x","y","shiftRadius"],this.handleSliceMove,this),e.tooltipText="{category}: {value.percent.formatNumber('#.#p')} ({value.value})";var t=e.states.create("hover");t.properties.scale=1.05;var i=e.defaultState;i.properties.shiftRadius=0,e.togglable=!0,e.events.on("toggled",function(n){n.target.hideTooltip(),n.target.interactions.lastHitPointer&&n.target.interactions.lastHitPointer.touch&&!n.target.isActive&&(n.target.isHover=!1)});var a=e.states.create("active");a.properties.shiftRadius=.1},r.prototype.validate=function(){this._leftItems=[],this._rightItems=[],this._currentStartAngle=this.startAngle,this._arcRect=Ne(this.startAngle,this.endAngle),this._maxRadiusPercent=0;for(var e=this.startIndex;ethis._maxRadiusPercent&&(this._maxRadiusPercent=i)}l.prototype.validate.call(this),this.alignLabels&&(this.startAngle>this.endAngle?this._rightItems.reverse():this._leftItems.reverse(),this._rightItems.sort(function(a,n){var s=(a.slice.middleAngle+360)%360,o=(n.slice.middleAngle+360)%360;return s>270&&(s-=360),o>270&&(o-=360),so?1:0}),this._leftItems.sort(function(a,n){var s=(a.slice.middleAngle+360)%360,o=(n.slice.middleAngle+360)%360;return so?-1:0}),this.arrangeLabels(this._rightItems),this.arrangeLabels2(this._rightItems),this.arrangeLabels(this._leftItems),this.arrangeLabels2(this._leftItems))},r.prototype.validateDataElement=function(e){if(this.pixelRadius>0){this.ignoreZeroValues&&(e.value==0||e.value==null)?e.__disabled=!0:e.__disabled=!1;var t=e.slice;if(t.radius=this.pixelRadius,g(e.radiusValue)&&(t.radius=this.pixelInnerRadius+(this.pixelRadius-this.pixelInnerRadius)*e.values.radiusValue.percent/this._maxRadiusPercent),t.innerRadius instanceof ce||(t.innerRadius=this.pixelInnerRadius),t.startAngle=this._currentStartAngle,t.arc=Math.abs(e.values.value.percent)*(this.endAngle-this.startAngle)/100,!this.labels.template.disabled){var i=e.label,a=e.tick;a.slice=t,a.label=i;var n=(t.middleAngle+360)%360,s=void 0;if(this.alignLabels){var o=i.pixelRadius(t.radius),h=a.length+o;i.dx=0,i.dy=0,i.verticalCenter="middle";var d=this._arcRect;n>270||n<=90?(h+=(d.width+d.x)*this.pixelRadius,i.horizontalCenter="left",this._rightItems.push(e)):(h-=d.x*this.pixelRadius,i.horizontalCenter="right",this._leftItems.push(e),h*=-1);var u=t.radius+a.length+o;s={x:h,y:t.iy*u},i.moveTo(s)}else{var p=t.depth;g(p)||(p=0),i.fixPosition(t.middleAngle,t.radius,t.radiusY,0,-p)}}this._currentStartAngle+=t.arc,l.prototype.validateDataElement.call(this,e)}},Object.defineProperty(r.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!0,!1,10,!1)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pixelRadius",{get:function(){return this._pixelRadius},set:function(e){this._pixelRadius!=e&&(this._pixelRadius=e,this.invalidateDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pixelInnerRadius",{get:function(){return this._pixelInnerRadius},set:function(e){this._pixelInnerRadius!=e&&(this._pixelInnerRadius=e,this.invalidateDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(e){this.setPercentProperty("innerRadius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"startAngle",{get:function(){var e=this.getPropertyValue("startAngle");return g(e)?e:this._startAngleInternal},set:function(e){this.setPropertyValue("startAngle",di(e),!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endAngle",{get:function(){var e=this.getPropertyValue("endAngle");return g(e)?e:this._endAngleInternal},set:function(e){this.setPropertyValue("endAngle",e,!0)},enumerable:!0,configurable:!0}),r.prototype.positionBullet=function(e){l.prototype.positionBullet.call(this,e);var t=e.dataItem,i=t.slice,a=e.locationX;g(a)||(a=.5);var n=e.locationY;g(n)||(n=1);var s=i.startAngle+i.arc*a;e.x=n*i.radius*M(s),e.y=n*i.radiusY*L(s)},r.prototype.handleSliceMove=function(e){if(!this.alignLabels){var t=e.target,i=t.dataItem;if(i){var a=i.label;a&&(a.dx=a.fdx+t.dx+t.pixelX,a.dy=a.fdy+t.dy+t.pixelY)}}},Object.defineProperty(r.prototype,"bbox",{get:function(){if(this.definedBBox)return this.definedBBox;var e=this.chart;return e?Ne(e.startAngle,e.endAngle,this.pixelRadius):Ne(this.startAngle,this.endAngle,this.pixelRadius)},enumerable:!0,configurable:!0}),r}(Ot);V.registeredClasses.PieSeries=Ri;V.registeredClasses.PieSeriesDataItem=Ii;var wr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PieChartDataItem",e.applyTheme(),e}return r}(Mi),ji=function(l){A(r,l);function r(){var e=l.call(this)||this;e.className="PieChart",e.innerRadius=0,e.radius=k(80),e.align="none",e.valign="none",e.startAngle=-90,e.endAngle=270;var t=e.seriesContainer;return t.isMeasured=!0,t.valign="middle",t.align="center",t.layout="absolute",t.width=void 0,t.height=void 0,e.chartContainer.minHeight=50,e.chartContainer.minWidth=50,e.chartContainer.events.on("maxsizechanged",e.updateRadius,e,!1),e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Pie chart"))},r.prototype.validateLayout=function(){l.prototype.validateLayout.call(this),this.updateRadius()},r.prototype.handleSeriesAdded=function(e){l.prototype.handleSeriesAdded.call(this,e),this._chartPixelRadius=void 0,this.updateSeriesAngles()},r.prototype.updateSeriesAngles=function(){var e=this;this.series.each(function(t){t._startAngleInternal=e.startAngle,t._endAngleInternal=e.endAngle})},r.prototype.updateRadius=function(){var e=this.chartContainer,t=Ne(this.startAngle,this.endAngle,1),i={x:0,y:0,width:0,height:0},a=this.innerRadius;a instanceof ce&&(i=Ne(this.startAngle,this.endAngle,a.value)),t=Di([t,i]);var n=Math.min(e.innerWidth/t.width,e.innerHeight/t.height);g(n)||(n=0);var s=ie(this.radius,n),o=ie(this.innerRadius,n),h=(s-o)/this.series.length;(s!=this._chartPixelRadius||o!=this._chartPixelInnerRadius)&&(this._chartPixelRadius=s,this._chartPixelInnerRadius=o,w(Pt(this.series.iterator()),function(d){var u=d[0],p=d[1],f=o+ie(p.radius,s-o),c=o+ie(p.innerRadius,s-o);g(f)||(f=o+h*(u+1)),g(c)||(c=o+h*u),p.pixelRadius=f,p.pixelInnerRadius=c}),this.seriesContainer.definedBBox={x:s*t.x,y:s*t.y,width:s*t.width,height:s*t.height},this.seriesContainer.invalidateLayout(),this.bulletsContainer.x=this.seriesContainer.x,this.bulletsContainer.y=this.seriesContainer.y)},Object.defineProperty(r.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!0,!1,10,!1)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(e){this.setPercentProperty("innerRadius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),r.prototype.createSeries=function(){return new Ri},Object.defineProperty(r.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(e){this.setPropertyValue("startAngle",e)&&(this.updateRadius(),this.updateSeriesAngles())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(e){this.setPropertyValue("endAngle",e)&&(this.updateRadius(),this.updateSeriesAngles())},enumerable:!0,configurable:!0}),r}(Li);V.registeredClasses.PieChart=ji;V.registeredClasses.PieChartDataItem=wr;var Fr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PieSeries3DDataItem",e.values.depthValue={},e.applyTheme(),e}return Object.defineProperty(r.prototype,"depthValue",{get:function(){return this.values.depthValue.value},set:function(e){this.setValue("depthValue",e)},enumerable:!0,configurable:!0}),r}(Ii),Mr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PieSeries3D",e.applyTheme(),e}return r.prototype.createDataItem=function(){return new Fr},r.prototype.createSlice=function(){return new Oa},r.prototype.validateDataElement=function(e){var t=e.slice,i=this.depth;g(i)||(i=this.chart.depth);var a=e.values.depthValue.percent;g(a)||(a=100),t.depth=a*i/100;var n=this.angle;g(n)||(n=this.chart.angle),t.angle=n,l.prototype.validateDataElement.call(this,e)},r.prototype.validate=function(){l.prototype.validate.call(this);for(var e=this._workingStartIndex;e=-90&&a<90?i.toFront():a>=90&&i.toBack()}},Object.defineProperty(r.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(e){this.setPropertyValue("depth",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(e){this.setPropertyValue("angle",e)},enumerable:!0,configurable:!0}),r.prototype.positionBullet=function(e){l.prototype.positionBullet.call(this,e);var t=e.dataItem,i=t.slice;e.y=e.pixelY-i.depth},r}(Ri);V.registeredClasses.PieSeries3D=Mr;V.registeredClasses.PieSeries3DDataItem=Fr;(function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PieChart3DDataItem",e.applyTheme(),e}return r})(wr);var sn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PieChart3D",e.depth=20,e.angle=10,e.applyTheme(),e}return Object.defineProperty(r.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(e){this.setPropertyValue("depth",e)&&this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(e){e=Y(e,0,90),this.setPropertyValue("angle",e)&&this.invalidateDataUsers()},enumerable:!0,configurable:!0}),r.prototype.createSeries=function(){return new Mr},r}(ji);V.registeredClasses.PieChart3D=sn;var on=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="SlicedChartDataItem",e.applyTheme(),e}return r}(Mi),ln=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="SlicedChart",e.seriesContainer.layout="horizontal",e.padding(15,15,15,15),e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Sliced chart"))},r.prototype.validate=function(){l.prototype.validate.call(this)},r}(Li);V.registeredClasses.SlicedChart=ln;V.registeredClasses.SlicedChartDataItem=on;var ei=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.legendSettings=new cr,e.className="FlowDiagramNode",e.isMeasured=!1,new te,e.draggable=!0,e.inert=!0,e.setStateOnChildren=!0,e.events.on("positionchanged",e.invalidateLinks,e,!1),e.events.on("sizechanged",e.invalidateLinks,e,!1),e}return r.prototype.handleHit=function(e){this.isHidden||this.isHiding?this.show():this.hide()},r.prototype.show=function(e){var t=l.prototype.show.call(this,e);return this.outgoingDataItems.each(function(i){(!i.toNode||i.toNode&&!i.toNode.isHidden)&&(i.setWorkingValue("value",i.getValue("value"),e),i.link.show())}),this.incomingDataItems.each(function(i){(!i.fromNode||i.fromNode&&!i.fromNode.isHidden)&&(i.setWorkingValue("value",i.getValue("value"),e),i.link.show())}),t},r.prototype.hide=function(e){var t=l.prototype.hide.call(this,e);return this.outgoingDataItems.each(function(i){i.setWorkingValue("value",0,e),i.link.hide()}),this.incomingDataItems.each(function(i){i.setWorkingValue("value",0,e),i.link.hide()}),t},r.prototype.validate=function(){this.isDisposed()||(l.prototype.validate.call(this),this.invalidateLinks())},r.prototype.invalidateLinks=function(){var e=this;this.outgoingDataItems.each(function(t){var i=t.link;if(i.colorMode=="fromNode"&&(i.fill=i.dataItem.fromNode.color),i.colorMode=="gradient"){i.fill=i.gradient,i.stroke=i.gradient;var a=i.gradient.stops.getIndex(0);a&&(a.color=e.color,i.gradient.validate())}}),this.incomingDataItems.each(function(t){var i=t.link;if(i.colorMode=="toNode"&&(i.fill=i.dataItem.toNode.color),i.colorMode=="gradient"){i.fill=i.gradient,i.stroke=i.gradient;var a=i.gradient.stops.getIndex(1);a&&(a.color=e.color,i.gradient.validate())}})},Object.defineProperty(r.prototype,"incomingDataItems",{get:function(){var e=this;if(!this._incomingDataItems){var t=new xe;t.events.on("inserted",function(){e.chart.sortBy=="name"?e._incomingSorted=mt(e._incomingDataItems.iterator(),function(i,a){return Zi(i.fromName,a.fromName)}):e.chart.sortBy=="value"?e._incomingSorted=mt(e._incomingDataItems.iterator(),function(i,a){return pi(yt(i.value,a.value))}):e._incomingSorted=e._incomingDataItems.iterator()},void 0,!1),this._incomingDataItems=t}return this._incomingDataItems},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"outgoingDataItems",{get:function(){var e=this;if(!this._outgoingDataItems){var t=new xe;t.events.on("inserted",function(){e.chart.sortBy=="name"?e._outgoingSorted=mt(e._outgoingDataItems.iterator(),function(i,a){return Zi(i.fromName,a.fromName)}):e.chart.sortBy=="value"?e._outgoingSorted=mt(e._outgoingDataItems.iterator(),function(i,a){return pi(yt(i.value,a.value))}):e._outgoingSorted=e._outgoingDataItems.iterator()},void 0,!1),this._outgoingDataItems=t}return this._outgoingDataItems},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"name",{get:function(){return this.getPropertyValue("name")},set:function(e){this.setPropertyValue("name",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"total",{get:function(){return this.getPropertyValue("total")},set:function(e){this.setPropertyValue("total",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"totalIncoming",{get:function(){return this.getPropertyValue("totalIncoming")},set:function(e){this.setPropertyValue("totalIncoming",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"totalOutgoing",{get:function(){return this.getPropertyValue("totalOutgoing")},set:function(e){this.setPropertyValue("totalOutgoing",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"color",{get:function(){return this.getPropertyValue("color")},set:function(e){this.setColorProperty("color",e),this._background&&(this._background.fill=e),this.fill=e},enumerable:!0,configurable:!0}),r.prototype.createLegendMarker=function(e){var t=e.pixelWidth,i=e.pixelHeight;e.removeChildren();var a=e.createChild(vt);a.shouldClone=!1,re(this,a,J),a.stroke=this.fill,a.copyFrom(this),a.padding(0,0,0,0),a.width=t,a.height=i;var n=e.dataItem;n.color=a.fill,n.colorOrig=a.fill},Object.defineProperty(r.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(e){this._legendDataItem=e,this._legendDataItem.itemContainer.deepInvalidate()},enumerable:!0,configurable:!0}),r}(X);V.registeredClasses.FlowDiagramNode=ei;var ti=function(l){A(r,l);function r(){var e=l.call(this)||this;e.className="FlowDiagramLink";var t=new te;return e.maskBullets=!1,e.colorMode="fromNode",e.layout="none",e.isMeasured=!1,e.startAngle=0,e.endAngle=0,e.strokeOpacity=0,e.verticalCenter="none",e.horizontalCenter="none",e.tooltipText="{fromName}\u2192{toName}:{value.value}",e.tooltipLocation=.5,e.link=e.createChild(q),e.link.shouldClone=!1,e.link.setElement(e.paper.add("path")),e.link.isMeasured=!1,e.fillOpacity=.2,e.fill=t.getFor("alternativeBackground"),e.applyTheme(),e}return r.prototype.positionBullets=function(){var e=this;w(this.bullets.iterator(),function(t){t.parent=e.bulletsContainer,t.maxWidth=e.maxWidth,t.maxHeight=e.maxHeight,e.positionBullet(t)})},Object.defineProperty(r.prototype,"bulletsContainer",{get:function(){if(!this._bulletsContainer){var e=this.createChild(X);e.shouldClone=!1,e.layout="none",this._bulletsContainer=e}return this._bulletsContainer},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"bulletsMask",{get:function(){if(!this._bulletsMask){var e=this.createChild(q);e.shouldClone=!1,e.setElement(this.paper.add("path")),e.isMeasured=!1,this._bulletsMask=e}return this._bulletsMask},enumerable:!0,configurable:!0}),r.prototype.positionBullet=function(e){var t=e.locationX;g(t)||(t=e.locationY),g(t)||(t=.5);var i=this.middleLine.positionToPoint(t);e.moveTo(i);var a=e.propertyFields.rotation,n;if(e.dataItem){var s=e.dataItem.dataContext;n=s[a]}g(n)||(n=i.angle),e.rotation=n},Object.defineProperty(r.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(e){this.setPropertyValue("startAngle",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(e){this.setPropertyValue("endAngle",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"colorMode",{get:function(){return this.getPropertyValue("colorMode")},set:function(e){if(e=="gradient"){var t=this.fill;this.gradient.stops.clear(),t instanceof Ce&&(this.gradient.addColor(t),this.gradient.addColor(t)),this.fill=this.gradient,this.stroke=this.gradient}this.setPropertyValue("colorMode",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maskBullets",{get:function(){return this.getPropertyValue("maskBullets")},set:function(e){this.setPropertyValue("maskBullets",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tooltipLocation",{get:function(){return this.getPropertyValue("tooltipLocation")},set:function(e){this.setPropertyValue("tooltipLocation",e,!0)},enumerable:!0,configurable:!0}),r.prototype.setFill=function(e){l.prototype.setFill.call(this,e);var t=this._gradient;t&&e instanceof Ce&&(t.stops.clear(),t.addColor(e),t.addColor(e))},r.prototype.measureElement=function(){},Object.defineProperty(r.prototype,"bullets",{get:function(){var e=this;return this._bullets||(this._bullets=new Q(new We),this._disposers.push(new G(this._bullets)),this._disposers.push(this._bullets.template),this._bullets.events.on("inserted",function(t){t.newValue.events.on("propertychanged",function(i){(i.property=="locationX"||i.property=="locationY")&&e.positionBullet(i.target)},void 0,!1)},void 0,!1)),this._bullets},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.bullets.copyFrom(e.bullets);var t=this.middleLine;t&&(t instanceof Xe&&e.middleLine instanceof Xe&&t.copyFrom(e.middleLine),t instanceof qi&&e.middleLine instanceof qi&&t.copyFrom(e.middleLine)),this.link.copyFrom(e.link)},r.prototype.getTooltipX=function(){if(this.middleLine)return this.middleLine.positionToPoint(this.tooltipLocation).x},r.prototype.getTooltipY=function(){if(this.middleLine)return this.middleLine.positionToPoint(this.tooltipLocation).y},Object.defineProperty(r.prototype,"gradient",{get:function(){return this._gradient||(this._gradient=new fi),this._gradient},enumerable:!0,configurable:!0}),r}(X);V.registeredClasses.FlowDiagramLink=ti;var Wi=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="FlowDiagramDataItem",e.values.value={},e.applyTheme(),e}return Object.defineProperty(r.prototype,"fromName",{get:function(){return this.properties.fromName},set:function(e){this.setProperty("fromName",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"toName",{get:function(){return this.properties.toName},set:function(e){this.setProperty("toName",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"color",{get:function(){return this.properties.color},set:function(e){this.setProperty("color",Ee(e))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"value",{get:function(){return this.values.value.value},set:function(e){this.setValue("value",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"link",{get:function(){var e=this;if(!this._link){var t=this.component.links.create();this._link=t,this.addSprite(t),this._disposers.push(new se(function(){e.component&&e.component.links.removeValue(t)}))}return this._link},enumerable:!0,configurable:!0}),r}(fr),Xi=function(l){A(r,l);function r(){var e=l.call(this)||this;e.colors=new Bt,e.className="FlowDiagram",e.nodePadding=20,e.sortBy="none",e.sequencedInterpolation=!0,e.colors.step=2,e.minNodeSize=.02;var t=e.chartContainer.createChild(X);t.shouldClone=!1,t.layout="none",t.isMeasured=!1,e.linksContainer=t;var i=e.chartContainer.createChild(X);return i.shouldClone=!1,i.layout="none",i.isMeasured=!1,e.nodesContainer=i,e.dataItem=e.createDataItem(),e.dataItem.component=e,e.applyTheme(),e}return r.prototype.dispose=function(){l.prototype.dispose.call(this),this.dataItem.dispose()},r.prototype.validateData=function(){var e=this;this._parseDataFrom==0&&this.nodes.clear(),this.sortNodes(),this.colors.reset(),l.prototype.validateData.call(this);var t=0,i=0,a,n;w(this.dataItems.iterator(),function(o){var h=o.fromName;if(h){var d=e.nodes.getKey(h);d||(d=e.nodes.create(h),d.name=h,d.chart=e,d.dataItem=o),o.fromNode=d,o.fromNode.outgoingDataItems.push(o)}var u=o.toName;if(u){var d=e.nodes.getKey(u);d||(d=e.nodes.create(u),d.name=u,d.chart=e,d.dataItem=o),o.toNode=d,o.toNode.incomingDataItems.push(o)}if(!o.fromNode){var p=new $i;p.opacities=[0,1],o.link.strokeModifier=p}if(!o.toNode){var f=new $i;f.opacities=[1,0],o.link.strokeModifier=f}var c=o.value;g(c)&&(t+=c,i++,(a>c||!g(a))&&(a=c),(nthis.dataItems.length)&&w(e.incomingDataItems.iterator(),function(i){t.checkLoop(i.fromNode)})},r.prototype.calculateValueHeight=function(){var e=this;this._levelSum={},this._levelNodesCount={},this.maxSum=0;var t=this.dataItem.values.value.sum;w(this._sorted,function(u){var p=u[1];e.getNodeValue(p)}),this.nodes.each(function(u,p){var f=p.level,c=Math.max(p.totalIncoming,p.totalOutgoing);c/ty||!g(n))&&(n=y,e.maxSum=f,a=Ve(u))}),this._maxSumLevel=a;var s=this._levelNodesCount[this._maxSumLevel],o=(i-(s-1)*this.nodePadding)/this.maxSum;if(o==1/0&&(o=0),!g(this.valueHeight))this.valueHeight=o;else{var h=void 0;try{h=this._heightAnimation.animationOptions[0].to}catch{}if(h!=o){var d=this.interpolationDuration;try{d=this.nodes.template.states.getKey("active").transitionDuration}catch{}this._heightAnimation=new Fa(this,{property:"valueHeight",from:this.valueHeight,to:o},d,this.interpolationEasing).start(),this._disposers.push(this._heightAnimation)}}},r.prototype.validate=function(){var e=this;l.prototype.validate.call(this),this.calculateValueHeight();var t=this.nodesContainer,i={},a=this._levelNodesCount[this._maxSumLevel],n=this.dataItem.values.value.sum,s;this.orientation=="horizontal"?s=this.chartContainer.maxHeight-1:s=this.chartContainer.maxWidth-1,w(this._sorted,function(o){var h=o[1],d=h.level,u=0,p=e._levelNodesCount[d];switch(e.nodeAlign){case"bottom":u=(e.maxSum-e._levelSum[d])*e.valueHeight-(p-a)*e.nodePadding;break;case"middle":u=(e.maxSum-e._levelSum[d])*e.valueHeight/2-(p-a)*e.nodePadding/2;break}if(e.maxSum==0)switch(e.nodeAlign){case"bottom":u=s-p*(e.minNodeSize*s+e.nodePadding);break;case"middle":u=s/2-p/2*(e.minNodeSize*s+e.nodePadding);break}h.parent=t;var f,c,y,v=Math.max(h.totalIncoming,h.totalOutgoing);if(v/n0){var i=this.nodesContainer,a=0;w(this.links.iterator(),function(n){n.hide(0)}),w(this._sorted,function(n){var s=n[1],o;t.orientation=="horizontal"?(s.dx=-(i.pixelWidth-s.pixelWidth)/Math.max(t._levelCount,1),o="dx"):(s.dy=-(i.pixelHeight-s.pixelHeight)/Math.max(t._levelCount,1),o="dy");var h=0,d=t.interpolationDuration;t.sequencedInterpolation&&(h=t.sequencedInterpolationDelay*a+d*a/Ma(t.nodes.iterator())),s.opacity=0,s.invalidateLinks(),s.animate([{property:"opacity",from:0,to:1},{property:o,to:0}],t.interpolationDuration,t.interpolationEasing).delay(h),w(s.outgoingDataItems.iterator(),function(u){var p=u.link.show(t.interpolationDuration);p&&!p.isFinished()&&p.delay(h)}),w(s.incomingDataItems.iterator(),function(u){if(!u.fromNode){var p=u.link.show(t.interpolationDuration);p&&!p.isFinished()&&p.delay(h)}}),a++})}return l.prototype.showReal.call(this)}},r.prototype.changeSorting=function(){var e=this;this.sortNodes();var t={};w(this._sorted,function(i){var a=i[1],n=a.level,s=(e.maxSum-e._levelSum[n])*e.valueHeight/2,o,h;e.orientation=="horizontal"?(o="y",h=a.pixelHeight):(o="x",h=a.pixelWidth),a.animate({property:o,to:t[n]||s},e.interpolationDuration,e.interpolationEasing),t[n]=(t[n]||s)+h+e.nodePadding,a.invalidateLinks()})},r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Sankey diagram"))},r.prototype.createDataItem=function(){return new hn},Object.defineProperty(r.prototype,"nodeAlign",{get:function(){return this.getPropertyValue("nodeAlign")},set:function(e){this.setPropertyValue("nodeAlign",e),this.changeSorting()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(e){this.setPropertyValue("orientation",e,!0);var t=this.nodes.template.nameLabel;e=="vertical"?(this.nodes.template.width=void 0,t.label.horizontalCenter="middle",t.locationX=.5):(this.nodes.template.height=void 0,t.label.horizontalCenter="left",t.locationX=1)},enumerable:!0,configurable:!0}),r.prototype.createNode=function(){var e=new Lr;return this._disposers.push(e),e},r.prototype.createLink=function(){var e=new Ir;return this._disposers.push(e),e},Object.defineProperty(r.prototype,"valueHeight",{get:function(){return this._valueHeight},set:function(e){e!=this._valueHeight&&(this._valueHeight=e,this.invalidate())},enumerable:!0,configurable:!0}),r.prototype.disposeData=function(){l.prototype.disposeData.call(this),this._sorted=this.nodes.iterator()},r}(Xi);V.registeredClasses.SankeyDiagram=un;var Rr=function(l){A(r,l);function r(){var e=l.call(this)||this;e.className="ChordNode";var t=e.createChild(Jt);t.location=.5,t.radius=5,t.text="{name}",t.zIndex=1,t.shouldClone=!1,e.label=t,e.layout="none",e.events.on("positionchanged",e.updateRotation,e,!1),e.isMeasured=!1,e.slice=e.createChild(Ai),e.slice.isMeasured=!1;var i=e.hiddenState;return i.properties.fill=new te().getFor("disabledBackground"),i.properties.opacity=.5,i.properties.visible=!0,e.setStateOnChildren=!1,e.slice.hiddenState.properties.visible=!0,e.adapter.add("tooltipX",function(a,n){return n.slice.ix*(n.slice.radius-(n.slice.radius-n.slice.pixelInnerRadius)/2)}),e.adapter.add("tooltipY",function(a,n){return n.slice.iy*(n.slice.radius-(n.slice.radius-n.slice.pixelInnerRadius)/2)}),e}return r.prototype.invalidateLinks=function(){var e=this;l.prototype.invalidateLinks.call(this);var t=this.label,i=this.slice,a=this.chart;if(a&&i){var n=this.total,s=i.arc,o=i.startAngle;this.children.each(function(u){if(u instanceof We){var p=u.locationX;g(p)||(p=.5);var f=u.locationY;g(f)||(f=1);var c=o+s*p,y=f*i.radius;u.x=y*M(c),u.y=y*L(c)}});var h=o+s*t.location,d=o+(1-n/this.adjustedTotal)*s*.5;ve(d)&&(d=o),t.fixPosition(h,i.radius),this.nextAngle=d,this._outgoingSorted&&w(this._outgoingSorted,function(u){var p=u.link;p.parent=e.chart.linksContainer;var f=u.getWorkingValue("value");if(g(f)){if(a.nonRibbon){var c=p.percentWidth;g(c)||(c=5),c=c/100,p.startAngle=o+s/2-s/2*c,p.arc=s*c}else p.arc=f*a.valueAngle,p.startAngle=e.nextAngle,e.nextAngle+=p.arc;u.toNode||(p.endAngle=p.startAngle),p.radius=i.pixelInnerRadius}}),this._incomingSorted&&w(this._incomingSorted,function(u){var p=u.link;if(p.radius=i.pixelInnerRadius,a.nonRibbon){var f=p.percentWidth;g(f)||(f=5),f=f/100,p.endAngle=o+s/2-s/2*f,p.arc=s*f}else{p.endAngle=e.nextAngle;var c=u.getWorkingValue("value");g(c)&&(p.arc=c*a.valueAngle,e.nextAngle+=p.arc)}u.fromNode||(p.startAngle=p.endAngle)})}},r.prototype.updateRotation=function(){var e=this.slice,t=this.trueStartAngle+e.arc/2,i=e.radius,a=i*M(t),n=i*L(t),s=_e({x:a+this.pixelX,y:n+this.pixelY});e.startAngle=this.trueStartAngle+(s-t),this.dx=-this.pixelX,this.dy=-this.pixelY},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.label.copyFrom(e.label),this.slice.copyFrom(e.slice)},r}(ei);V.registeredClasses.ChordNode=Rr;var dn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="QuadraticCurve",e.element=e.paper.add("path"),e.pixelPerfect=!1,e.fill=Te(),e.applyTheme(),e}return r.prototype.draw=function(){if(g(this.x1+this.x2+this.y1+this.y2+this.cpx+this.cpy)){var e={x:this.x1,y:this.y1},t={x:this.x2,y:this.y2},i={x:this.cpx,y:this.cpy},a=W(e)+et(t,i);this.path=a}},Object.defineProperty(r.prototype,"cpx",{get:function(){return this.getPropertyValue("cpx")},set:function(e){this.setPropertyValue("cpx",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cpy",{get:function(){return this.getPropertyValue("cpy")},set:function(e){this.setPropertyValue("cpy",e,!0)},enumerable:!0,configurable:!0}),r.prototype.positionToPoint=function(e){var t={x:this.x1,y:this.y1},i={x:this.cpx,y:this.cpy},a={x:this.x2,y:this.y2},n=Qi(t,a,i,e),s=Qi(t,a,i,e+.001);return{x:n.x,y:n.y,angle:_e(n,s)}},r}(Xe),jr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ChordLink",e.middleLine=e.createChild(dn),e.middleLine.shouldClone=!1,e.middleLine.strokeOpacity=0,e.applyTheme(),e}return r.prototype.validate=function(){if(l.prototype.validate.call(this),!this.isTemplate){var e=this.startAngle,t=this.endAngle,i=this.arc,a=this.radius,n=this.dataItem.fromNode,s=this.dataItem.toNode,o=0,h=0;n&&(o=n.pixelX+n.dx,h=n.pixelY+n.dy);var d=0,u=0;if(s&&(d=s.pixelX+s.dx,u=s.pixelY+s.dy),a>0){var p=a*M(e)+o,f=a*L(e)+h,c=a*M(t)+d,y=a*L(t)+u,v={x:0,y:0},m=W({x:p,y:f});m+=fe(e,i,a),m+=et({x:c,y},v),m+=fe(t,i,a),m+=et({x:p,y:f},v),i>0?this.link.path=m:this.link.path="",this.maskBullets&&(this.bulletsMask.path=m,this.bulletsContainer.mask=this.bulletsMask);var x=e+i/2,P=t+i/2,S=this.middleLine;S.x1=a*M(x)+o,S.y1=a*L(x)+h,S.x2=a*M(P)+d,S.y2=a*L(P)+u,S.cpx=0,S.cpy=0,S.stroke=this.fill,this.positionBullets()}}},Object.defineProperty(r.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPropertyValue("radius",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"arc",{get:function(){return this.getPropertyValue("arc")},set:function(e){this.setPropertyValue("arc",e,!0)},enumerable:!0,configurable:!0}),r}(ti);V.registeredClasses.ChordLink=jr;var pn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ChordDiagramDataItem",e.applyTheme(),e}return r}(Wi),fn=function(l){A(r,l);function r(){var e=l.call(this)||this;e.valueAngle=0,e.className="ChordDiagram",e.startAngle=-90,e.endAngle=270,e.radius=k(80),e.innerRadius=-15,e.nodePadding=5;var t=e.chartContainer.createChild(X);return t.align="center",t.valign="middle",t.shouldClone=!1,t.layout="absolute",e.chordContainer=t,e.nodesContainer.parent=t,e.linksContainer.parent=t,e.chartContainer.events.on("maxsizechanged",e.invalidate,e,!1),e.applyTheme(),e}return r.prototype.validate=function(){var e=this,t=this.chartContainer,i=this.endAngle,a=this.startAngle+this.nodePadding/2,n=Ne(this.startAngle,this.endAngle,1),s={x:0,y:0,width:0,height:0};n=Di([n,s]);var o=Math.min(t.innerWidth/n.width,t.innerHeight/n.height);g(o)||(o=0);var h=ie(this.radius,o),d=ie(this.innerRadius,h,!0),u=this.dataItem.values.value.sum,p=0,f=0;w(this._sorted,function(c){var y=c[1];e.getNodeValue(y),p++;var v=y.total;y.total/uthis.endIndex;f--){var c=this.dataItems.getIndex(f);this.disableUnusedColumns(c)}this._propertiesChanged=!1},r.prototype.sortCategoryAxis=function(e,t){var i=this;this.dataItems.values.sort(function(n,s){return s.values[t].workingValue-n.values[t].workingValue});var a=0;this.dataItems.each(function(n){n._index=a,a++}),e.dataItems.each(function(n){var s=n.component,o=s.categoryToPosition(n.category)-n.deltaPosition,h=s.getSeriesDataItemByCategory(n.category,i);if(h){var d=i.dataItems.indexOf(h);n._index=d;var u=j((d+.5)/i.dataItems.length-o,3);n.deltaAnimation&&!n.deltaAnimation.isDisposed()&&n.deltaAnimation.animationOptions[0].to==u||u!=j(n.deltaPosition,3)&&(n.deltaAnimation&&n.deltaAnimation.stop(),n.deltaAnimation=n.animate({property:"deltaPosition",from:-u,to:0},s.interpolationDuration,s.interpolationEasing),i._disposers.push(n.deltaAnimation))}}),e.dataItems.values.sort(function(n,s){return n.index-s.index})},r.prototype.validateDataElement=function(e){this.chart&&this.xAxis&&this.yAxis&&(this.validateDataElementReal(e),l.prototype.validateDataElement.call(this,e))},r.prototype.getStartLocation=function(e){var t=this._startLocation;return this.baseAxis==this.xAxis?t+=e.locations[this.xOpenField]-.5:t+=e.locations[this.yOpenField]-.5,t},r.prototype.getEndLocation=function(e){var t=this._endLocation;return this.baseAxis==this.xAxis?t+=e.locations[this.xField]-.5:t+=e.locations[this.yField]-.5,t},r.prototype.validateDataElementReal=function(e){var t=this,i,a,n,s,o=this.getStartLocation(e),h=this.getEndLocation(e),d=this.xField,u=this.xOpenField,p=this.yField,f=this.yOpenField,c=this.columns.template,y=c.percentWidth,v=c.percentHeight,m=c.pixelWidth,x=c.pixelHeight,P=c.maxWidth,S=c.maxHeight,D=c.pixelPaddingLeft,T=c.pixelPaddingRight,b=c.pixelPaddingTop,O=c.pixelPaddingBottom,_=!1,N=e.width;C(N)&&(g(N)&&(m=N),N instanceof ce&&(y=N.value*100));var F=e.height;if(C(F)&&(g(F)&&(x=F),F instanceof ce&&(v=F.value*100)),this.xAxis instanceof Z&&this.yAxis instanceof Z){if(!e.hasValue(this._xValueFields)||!e.hasValue(this._yValueFields))return;if(o=0,h=1,!ve(y)){var I=j((h-o)*(1-y/100)/2,5);o+=I,h-=I}if(i=this.xAxis.getX(e,u,o),a=this.xAxis.getX(e,d,h),ve(y)){var I=(a-i-m)/2;i+=I,a-=I}if(!ve(P)&&PMe&&s>Me)&&(_=!0),n=this.fixVerticalCoordinate(n),s=this.fixVerticalCoordinate(s),Math.abs(a-i)-D-T==0&&(_=!0)}else{if(!e.hasValue(this._xValueFields))return;if(!ve(v)){var I=j((h-o)*(1-v/100)/2,5);o+=I,h-=I}if(n=this.yAxis.getY(e,f,o),s=this.yAxis.getY(e,p,h),ve(v)){var I=(s-n-x)/2;s-=I,n+=I}if(!ve(S)&&SMe&&i>Me)&&(_=!0),a=this.fixHorizontalCoordinate(a),i=this.fixHorizontalCoordinate(i),Math.abs(n-s)-b-O==0&&(_=!0)}var Ze=Math.abs(a-i),qe=Math.abs(s-n),lt=Math.min(i,a),ht=Math.min(n,s);if(_)this.disableUnusedColumns(e);else{var B;e.column?(B=e.column,this._propertiesChanged&&(re(this,B,J),re(this.columns.template,B,J),H(J,function(be){B[be]=B[be]}))):(B=this.columns.create(),re(this,B,J),re(this.columns.template,B,J),e.addSprite(B),e.column=B,B.paper=this.paper,this.itemsFocusable()?(C(this.role)||(this.role="menu"),C(B.role)||(B.role="menuitem"),B.focusable=!0):(C(this.role)||(this.role="list"),C(B.role)||(B.role="listitem"),B.focusable=!1),B.focusable&&(B.events.on("focus",function(be){B.readerTitle=t.populateString(t.itemReaderText,e)},void 0,!1),B.events.on("blur",function(be){B.readerTitle=""},void 0,!1)),B.hoverable&&(B.events.on("over",function(be){B.readerTitle=t.populateString(t.itemReaderText,e)},void 0,!1),B.events.on("out",function(be){B.readerTitle=""},void 0,!1)),B.parent=this.columnsContainer,B.virtualParent=this),B.width=Ze,B.height=qe,B.x=lt,B.y=ht,B.realX=i,B.realY=n,B.realWidth=a-i,B.realHeight=s-n,this.setColumnStates(B),B.invalid&&B.validate(),B.__disabled=!1,w(this.axisRanges.iterator(),function(be){var he=e.rangesColumns.getKey(be.uid);he||(he=t.columns.create(),re(be.contents,he,J),e.addSprite(he),e.rangesColumns.setKey(be.uid,he),he.paper=t.paper),he.parent=be.contents,he.width=Ze,he.height=qe,he.x=lt,he.y=ht,t.setColumnStates(he),he.invalid&&he.validate(),he.__disabled=!1})}e.itemWidth=Ze,e.itemHeight=qe},r.prototype.disableUnusedColumns=function(e){e&&(e.column&&(e.column.width=0,e.column.height=0,e.column.__disabled=!0),w(this.axisRanges.iterator(),function(t){var i=e.rangesColumns.getKey(t.uid);i&&(i.width=0,i.height=0,i.__disabled=!0)}))},r.prototype.setColumnStates=function(e){if(this._dropFromOpenState||this._dropFromPreviousState||this._riseFromOpenState||this._riseFromPreviousState){var t=e.dataItem;if(this.xAxis instanceof E||this.yAxis instanceof E){var i,a=void 0,n=void 0;this.baseAxis==this.yAxis?(this.xOpenField&&this.xField&&this.xAxis instanceof E&&(i=t.getValue(this.xOpenField),a=t.getValue(this.xField)),n=t.getValue(this.xAxis.axisFieldName+"X","previousChange")):(this.yOpenField&&this.yField&&this.yAxis instanceof E&&(i=t.getValue(this.yOpenField),a=t.getValue(this.yField)),n=t.getValue(this.yAxis.axisFieldName+"Y","previousChange")),athis.currentLevel||e.children&&e.children.length>0)&&(i.columns.template.cursorOverStyle=xt.pointer,this.zoomable&&i.columns.template.events.on("hit",function(o){var h=o.target.dataItem;e.level>t.currentLevel?t.zoomToChartDataItem(h.treeMapDataItem.parent):t.zoomToSeriesDataItem(h)},this,void 0))}this._tempSeries.push(e.series)},r.prototype.toggleBullets=function(e){var t=this;w(this.series.iterator(),function(i){t._tempSeries.indexOf(i)==-1?(i.columnsContainer.hide(),i.bulletsContainer.hide(e)):(i.columnsContainer.show(),i.bulletsContainer.show(e),i.dataItems.each(function(a){a.bullets.each(function(n,s){s.show()})}),i.level1&&i.dataItems.each(function(a){a.treeMapDataItem.children&&a.bullets.each(function(n,s){s.hide()})}))})},r.prototype.zoomToSeriesDataItem=function(e){this.zoomToChartDataItem(e.treeMapDataItem)},r.prototype.zoomToChartDataItem=function(e){var t=this;e||(e=this._homeDataItem);var i=this.zoomOutButton;if(i&&(e!=this._homeDataItem?i.show():i.hide()),e&&e.children){this.xAxis.zoomToValues(e.x0,e.x1),this.yAxis.zoomToValues(e.y0,e.y1),this.currentLevel=e.level,this.currentlyZoomed=e,this.createTreeSeries(e);var a=this.xAxis.rangeChangeAnimation||this.yAxis.rangeChangeAnimation;a&&!a.isDisposed()&&!a.isFinished()?(this._dataDisposers.push(a),a.events.once("animationended",function(){t.toggleBullets()})):this.toggleBullets()}},r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("TreeMap chart"))},r.prototype.createDataItem=function(){return new cn},Object.defineProperty(r.prototype,"maxLevels",{get:function(){return this.getPropertyValue("maxLevels")},set:function(e){this.setPropertyValue("maxLevels",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"currentLevel",{get:function(){return this.getPropertyValue("currentLevel")},set:function(e){this.setPropertyValue("currentLevel",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hideParentColumns",{get:function(){return this.getPropertyValue("hideParentColumns")},set:function(e){this.setPropertyValue("hideParentColumns",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"sorting",{get:function(){return this.getPropertyValue("sorting")},set:function(e){this.setPropertyValue("sorting",e,!0)},enumerable:!0,configurable:!0}),r.prototype.createSeries=function(){return new vi},Object.defineProperty(r.prototype,"homeText",{get:function(){return this._homeText},set:function(e){this._homeText=e,this._homeDataItem&&(this._homeDataItem.name=this._homeText)},enumerable:!0,configurable:!0}),r.prototype.processConfig=function(e){if(e){if(C(e.layoutAlgorithm)&&ae(e.layoutAlgorithm))switch(e.layoutAlgorithm){case"squarify":e.layoutAlgorithm=this.squarify;break;case"binaryTree":e.layoutAlgorithm=this.binaryTree;break;case"slice":e.layoutAlgorithm=this.slice;break;case"dice":e.layoutAlgorithm=this.dice;break;case"sliceDice":e.layoutAlgorithm=this.sliceDice;break;default:delete e.layoutAlgorithm;break}C(e.navigationBar)&&!C(e.navigationBar.type)&&(e.navigationBar.type="NavigationBar"),l.prototype.processConfig.call(this,e)}},r.prototype.validateLayout=function(){l.prototype.validateLayout.call(this),this.layoutItems(this.currentlyZoomed)},r.prototype.validateDataItems=function(){l.prototype.validateDataItems.call(this),this.layoutItems(this._homeDataItem),w(this.series.iterator(),function(e){e.validateRawData()}),this.zoomToChartDataItem(this._homeDataItem)},r.prototype.binaryTree=function(e){var t=e.children,i,a=t.length,n,s=new Array(a+1);for(s[0]=n=i=0;i0&&o(0,a,e.value,e.x0,e.y0,e.x1,e.y1);function o(h,d,u,p,f,c,y){if(h>=d-1){var v=t.getIndex(h);v.x0=p,v.y0=f,v.x1=c,v.y1=y;return}for(var m=s[h],x=u/2+m,P=h+1,S=d-1;P>>1;s[D]y-f){var O=(p*b+c*T)/u;o(h,P,T,p,f,O,y),o(P,d,b,O,f,c,y)}else{var _=(f*b+y*T)/u;o(h,P,T,p,f,c,_),o(P,d,b,p,_,c,y)}}},r.prototype.slice=function(e){for(var t=e.x0,i=e.x1,a=e.y0,n=e.y1,s=e.children,o,h=-1,d=s.length,u=e.value&&(n-a)/e.value;++hx&&(x=h),T=v*v*D,P=Math.max(x/T,T/m),P>S){v-=h;break}S=P}var b=this.dataItems.template.clone();b.value=v,b.dice=f1)return e;if(e.children.length==1){var t=e.children.getIndex(0);return t.children?this.getLegendLevel(t):e}else return e}},r.prototype.handleLegendSeriesAdded=function(e){},Object.defineProperty(r.prototype,"homeDataItem",{get:function(){return this._homeDataItem},enumerable:!0,configurable:!0}),r.prototype.feedLegend=function(){var e=this.legend;if(e){e.dataFields.name="name";var t=this.getLegendLevel(this._homeDataItem);if(t){var i=[];t.children.each(function(a){i.push(a)}),e.data=i}}},r.prototype.disposeData=function(){l.prototype.disposeData.call(this),this._homeDataItem=void 0,this.series.clear(),this.navigationBar&&this.navigationBar.disposeData(),this.xAxis.disposeData(),this.yAxis.disposeData()},r.prototype.getExporting=function(){var e=this,t=l.prototype.getExporting.call(this);return t.adapter.add("formatDataFields",function(i){return(i.format=="csv"||i.format=="xlsx")&&C(e.dataFields.children)&&delete i.dataFields[e.dataFields.children],i}),t},r}(Ge);V.registeredClasses.TreeMap=yn;var Xr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e._chart=new le,e.className="AxisRendererX3D",e._disposers.push(e._chart),e.applyTheme(),e}return r.prototype.updateGridElement=function(e,t,i){t=t+(i-t)*e.location;var a=this.positionToPoint(t);if(e.element){var n=this.chart.dx3D||0,s=this.chart.dy3D||0,o=this.getHeight();e.path=W({x:n,y:s})+R({x:n,y:o+s})+R({x:0,y:o})}this.positionItem(e,a),this.toggleVisibility(e,t,0,1)},r.prototype.updateBaseGridElement=function(){l.prototype.updateBaseGridElement.call(this);var e=this.getHeight(),t=this.chart.dx3D||0,i=this.chart.dy3D||0;this.baseGrid.path=W({x:t,y:i})+R({x:0,y:0})+R({x:0,y:e})},Object.defineProperty(r.prototype,"chart",{get:function(){return this._chart.get()},set:function(e){e&&this._chart.set(e,e.events.on("propertychanged",this.handle3DChanged,this,!1))},enumerable:!0,configurable:!0}),r.prototype.handle3DChanged=function(e){(e.property=="depth"||e.property=="angle")&&this.invalidate()},r}(Ye);V.registeredClasses.AxisRendererX3D=Xr;var vn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e._chart=new le,e.className="AxisRendererY3D",e._disposers.push(e._chart),e.applyTheme(),e}return r.prototype.updateGridElement=function(e,t,i){t=t+(i-t)*e.location;var a=this.positionToPoint(t);if(e.element){var n=this.chart.dx3D||0,s=this.chart.dy3D||0,o=this.getWidth();e.path=W({x:0,y:0})+R({x:n,y:s})+R({x:o+n,y:s})}this.positionItem(e,a),this.toggleVisibility(e,t,0,1)},r.prototype.updateBaseGridElement=function(){l.prototype.updateBaseGridElement.call(this);var e=this.chart.dx3D||0,t=this.chart.dy3D||0,i=this.getWidth();this.baseGrid.path=W({x:0,y:0})+R({x:i,y:0})+R({x:i+e,y:t})},Object.defineProperty(r.prototype,"chart",{get:function(){return this._chart.get()},set:function(e){e&&this._chart.set(e,e.events.on("propertychanged",this.handle3DChanged,this,!1))},enumerable:!0,configurable:!0}),r.prototype.handle3DChanged=function(e){(e.property=="depth"||e.property=="angle")&&this.invalidate()},r}(we),Yr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="Column3D",e}return r.prototype.createAssets=function(){this.column3D=this.createChild(La),this.column3D.shouldClone=!1,this.column3D.strokeOpacity=0,this.column=this.column3D},r.prototype.validate=function(){l.prototype.validate.call(this),this.column3D&&(this.column3D.width=this.pixelWidth,this.column3D.height=this.pixelHeight,this.column3D.invalid&&this.column3D.validate())},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.column3D&&this.column3D.copyFrom(e.column3D)},r.prototype.setFill=function(e){l.prototype.setFill.call(this,e),this.column.fill=e},r}(st);V.registeredClasses.Column3D=Yr;var gn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ColumnSeries3DDataItem",e.applyTheme(),e}return r}(Ke),gi=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ColumnSeries3D",e.columns.template.column3D.applyOnClones=!0,e.columns.template.hiddenState.properties.visible=!0,e.applyTheme(),e}return Object.defineProperty(r.prototype,"columnsContainer",{get:function(){var e=this.chart;return e&&e.columnsContainer&&e.leftAxesContainer.layout!="vertical"&&e.rightAxesContainer.layout!="vertical"&&e.bottomAxesContainer.layout!="horizontal"&&e.topAxesContainer.layout!="horizontal"?e.columnsContainer:this._columnsContainer},enumerable:!0,configurable:!0}),r.prototype.validateDataElementReal=function(e){l.prototype.validateDataElementReal.call(this,e),e.column&&(e.column.dx=this.dx,e.column.dy=this.dy,e.column.visible=this.visible)},r.prototype.validateDataElements=function(){l.prototype.validateDataElements.call(this),this.chart&&this.chart.invalidateLayout()},r.prototype.createColumnTemplate=function(){return new Yr},Object.defineProperty(r.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(e){this.setPropertyValue("depth",e,!0);var t=this.columns.template;t.column3D.depth=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(e){this.setPropertyValue("angle",e);var t=this.columns.template;t.column3D.angle=e},enumerable:!0,configurable:!0}),r}(ot);V.registeredClasses.ColumnSeries3D=gi;V.registeredClasses.ColumnSeries3DDataItem=gn;(function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="XYChart3DDataItem",e.applyTheme(),e}return r})(ki);var mn=function(l){A(r,l);function r(){var e=l.call(this)||this;e._axisRendererX=Xr,e._axisRendererY=vn,e.className="XYChart3D",e.depth=30,e.angle=30;var t=e.seriesContainer.createChild(X);return t.shouldClone=!1,t.isMeasured=!1,t.layout="none",e.columnsContainer=t,e.columnsContainer.mask=e.createChild(q),e.applyTheme(),e}return r.prototype.updateSeriesMasks=function(){if(l.prototype.updateSeriesMasks.call(this),bt()){var e=this.columnsContainer,t=e.mask;e.mask=void 0,e.mask=t}},Object.defineProperty(r.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(e){this.setPropertyValue("depth",e),this.fixLayout(),this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(e){this.setPropertyValue("angle",e),this.fixLayout(),this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dx3D",{get:function(){return M(this.angle)*this.depth},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dy3D",{get:function(){return-L(this.angle)*this.depth},enumerable:!0,configurable:!0}),r.prototype.validateLayout=function(){l.prototype.validateLayout.call(this),this.fixColumns()},r.prototype.fixLayout=function(){this.chartContainer.paddingTop=-this.dy3D,this.chartContainer.paddingRight=this.dx3D,this.scrollbarX&&(this.scrollbarX.dy=this.dy3D,this.scrollbarX.dx=this.dx3D),this.scrollbarY&&(this.scrollbarY.dy=this.dy3D,this.scrollbarY.dx=this.dx3D),this.fixColumns(),l.prototype.fixLayout.call(this)},r.prototype.fixColumns=function(){var e=this,t=1,i=0;w(this.series.iterator(),function(n){n instanceof gi&&(!n.clustered&&i>0&&t++,n.depthIndex=t-1,i++)});var a=0;w(this.series.iterator(),function(n){if(n instanceof gi){n.depth=e.depth/t,n.angle=e.angle,n.columnsContainer==e.columnsContainer&&(n.dx=e.depth/t*M(e.angle)*n.depthIndex,n.dy=-e.depth/t*L(e.angle)*n.depthIndex);var s=!1;(n.baseAxis==n.xAxis&&n.xAxis.renderer.inversed||n.baseAxis==n.yAxis&&n.yAxis.renderer.inversed)&&(s=!0);var o=1;n.dataItems.each(function(h){var d=h.column;d&&(s?d.zIndex=1e3*(1e3-o)+a-n.depthIndex*100:d.zIndex=1e3*o+a-n.depthIndex*100),o++}),s?a--:a++}}),this.maskColumns()},r.prototype.processConfig=function(e){if(e&&C(e.series)&&ke(e.series))for(var t=0,i=e.series.length;t1&&(this.orientation=="horizontal"?D.minGridDistance=this.measuredWidth/this.markerCount:D.minGridDistance=this.measuredHeight/this.markerCount),this.valueAxis.invalidate();for(var p=this.markerCount,T=this.markers.length;p0&&t.length>0)if(n){var o=W(e[0]);if(e.length>0)for(var h=1;h0||this.fillSprite.fillOpacity>0)&&(o=W(e[0])+Rt(e),o+=R(t[0])+Rt(t),o+=R(e[0]),o+=rt(),this.fillSprite.path=o)}else{var o=W(e[0])+Rt(e);this.strokeSprite.path=o,(this.fillOpacity>0||this.fillSprite.fillOpacity>0)&&(o+=R(t[0])+Rt(t),o+=R(e[0]),o+=rt(),this.fillSprite.path=o)}else this.strokeSprite.path="",this.fillSprite.path=""},r}(wi);V.registeredClasses.StepLineSeriesSegment=Nr;var zr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="StepLineSeriesDataItem",e.applyTheme(),e}return r}($t),Pn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="StepLineSeries",e.applyTheme(),e.startLocation=0,e.endLocation=1,e}return r.prototype.createDataItem=function(){return new zr},r.prototype.addPoints=function(e,t,i,a,n){var s,o,h,d;this.baseAxis==this.xAxis&&(s=this.startLocation,o=this.endLocation,h=this.getAdjustedXLocation(t,this.yOpenField),d=this.getAdjustedXLocation(t,this.yField)),this.baseAxis==this.yAxis&&(h=this.startLocation,d=this.endLocation,s=this.getAdjustedXLocation(t,this.xOpenField),o=this.getAdjustedXLocation(t,this.xField));var u=this.xAxis.getX(t,i,s),p=this.yAxis.getY(t,a,h),f=this.xAxis.getX(t,i,o),c=this.yAxis.getY(t,a,d);if(u=Y(u,-1e5,1e5),p=Y(p,-1e5,1e5),f=Y(f,-1e5,1e5),c=Y(c,-1e5,1e5),!this.noRisers&&e.length>1){var y=e[e.length-1];this.baseAxis==this.xAxis&&(n?e.push({x:y.x,y:c}):e.push({x:u,y:y.y})),this.baseAxis==this.yAxis&&(n?e.push({x:f,y:y.y}):e.push({x:y.x,y:p}))}var v={x:u,y:p},m={x:f,y:c};n?e.push(m,v):e.push(v,m)},r.prototype.drawSegment=function(e,t,i){var a=!1;this.yAxis==this.baseAxis&&(a=!0),e.drawSegment(t,i,this.tensionX,this.tensionY,this.noRisers,a)},r.prototype.createSegment=function(){return new Nr},Object.defineProperty(r.prototype,"noRisers",{get:function(){return this.getPropertyValue("noRisers")},set:function(e){this.setPropertyValue("noRisers",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"startLocation",{get:function(){return this.getPropertyValue("startLocation")},set:function(e){this.setPropertyValue("startLocation",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endLocation",{get:function(){return this.getPropertyValue("endLocation")},set:function(e){this.setPropertyValue("endLocation",e,!0)},enumerable:!0,configurable:!0}),r}(Fi);V.registeredClasses.StepLineSeries=Pn;V.registeredClasses.StepLineSeriesDataItem=zr;var Hr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="RadarColumn",e}return r.prototype.createAssets=function(){this.radarColumn=this.createChild(Ai),this.radarColumn.shouldClone=!1,this.radarColumn.strokeOpacity=void 0,this.column=this.radarColumn},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.radarColumn&&this.radarColumn.copyFrom(e.radarColumn)},r.prototype.getTooltipX=function(){var e=this.getPropertyValue("tooltipX");return g(e)?e:this.radarColumn.getTooltipX()},r.prototype.getTooltipY=function(){var e=this.getPropertyValue("tooltipX");return g(e)?e:this.radarColumn.getTooltipY()},r}(st);V.registeredClasses.RadarColumn=Hr;var Cn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ColumnSeriesDataItem",e.applyTheme(),e}return r}(Ke),Dn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="RadarColumnSeries",e.applyTheme(),e}return r.prototype.createColumnTemplate=function(){return new Hr},r.prototype.validate=function(){this.chart.invalid&&this.chart.validate(),l.prototype.validate.call(this)},r.prototype.disableUnusedColumns=function(e){e&&(e.column&&(e.column.__disabled=!0),w(this.axisRanges.iterator(),function(t){var i=e.rangesColumns.getKey(t.uid);i&&(i.__disabled=!0)}))},r.prototype.validateDataElementReal=function(e){var t=this,i=this.chart.startAngle,a=this.chart.endAngle,n=this.yField,s=this.yOpenField,o=this.xField,h=this.xOpenField,d,u,p,f,c=this.getStartLocation(e),y=this.getEndLocation(e),v=(a-i)/(this.dataItems.length*(this.end-this.start)),m=e.column;m||(m=this.columns.create(),e.column=m,re(this,m,J),re(this.columns.template,m,J),e.addSprite(m),m.paper=this.paper,this.setColumnStates(m));var x=m.width,P=100;x instanceof ce&&(P=x.percent);var S=j((y-c)*(1-P/100)/2,5);if(c+=S,y-=S,this.xAxis instanceof Z&&this.yAxis instanceof Z)p=K({x:this.yAxis.getX(e,n,0,"valueY"),y:this.yAxis.getY(e,n,0,"valueY")}),f=K({x:this.yAxis.getX(e,s,1,"valueY"),y:this.yAxis.getY(e,s,1,"valueY")}),d=this.xAxis.getAngle(e,h,0,"valueX"),u=this.xAxis.getAngle(e,o,1,"valueX"),i=i+c*v,a=a-(1-y)*v;else if(this.baseAxis==this.xAxis)p=K({x:this.yAxis.getX(e,n,e.locations[n],"valueY"),y:this.yAxis.getY(e,n,e.locations[n],"valueY")}),f=K({x:this.yAxis.getX(e,s,e.locations[s],"valueY"),y:this.yAxis.getY(e,s,e.locations[s],"valueY")}),d=this.xAxis.getAngle(e,h,c,"valueX"),u=this.xAxis.getAngle(e,o,y,"valueX"),i=i+c*v,a=a-(1-y)*v;else{if(p=K({x:this.yAxis.getX(e,n,c,"valueY"),y:this.yAxis.getY(e,n,c,"valueY")}),f=K({x:this.yAxis.getX(e,s,y,"valueY"),y:this.yAxis.getY(e,s,y,"valueY")}),g(x)){var D=Math.abs(p-f);if(D>x){var T=(D-x)/2;p+=T,f-=T}}d=this.xAxis.getAngle(e,o,e.locations[o],"valueX"),u=this.xAxis.getAngle(e,h,e.locations[h],"valueX")}if(u0?(O.arc=_,O.radius=p,O.innerRadius=f,m.__disabled=!1,m.parent=this.columnsContainer,w(this.axisRanges.iterator(),function(N){var F=e.rangesColumns.getKey(N.uid);F||(F=t.columns.create(),Ia(t.columns.template,F,J),re(N.contents,F,J),F.dataItem&&Ae(F.dataItem.sprites,F),e.addSprite(F),F.paper=t.paper,t.setColumnStates(F),e.rangesColumns.setKey(N.uid,F));var I=F.radarColumn;I.startAngle=d,I.arc=_,I.radius=p,I.innerRadius=f,I.invalid&&(I.paper=t.paper,I.validate()),F.__disabled=!1,F.parent=N.contents})):this.disableUnusedColumns(e)},r.prototype.getPoint=function(e,t,i,a,n,s,o){s||(s="valueX"),o||(o="valueY");var h=this.yAxis.getX(e,i,n,o),d=this.yAxis.getY(e,i,n,o),u=K({x:h,y:d});u==0&&(u=1e-5);var p=this.xAxis.getAngle(e,t,a,s);return{x:u*M(p),y:u*L(p)}},r.prototype.getMaskPath=function(){var e=this.yAxis.renderer;return _t(e.startAngle,e.endAngle-e.startAngle,e.pixelRadius,e.pixelInnerRadius)},r.prototype.positionBulletReal=function(e,t,i){var a=this.xAxis,n=this.yAxis;(ta.end||in.end)&&(e.visible=!1),e.moveTo(this.xAxis.renderer.positionToPoint(t,i))},r.prototype.setXAxis=function(e){l.prototype.setXAxis.call(this,e),this.updateRendererRefs()},r.prototype.setYAxis=function(e){l.prototype.setYAxis.call(this,e),this.updateRendererRefs()},r.prototype.updateRendererRefs=function(){var e=this.xAxis.renderer,t=this.yAxis.renderer;e.axisRendererY=t},r}(ot);V.registeredClasses.RadarColumnSeries=Dn;V.registeredClasses.RadarColumnSeriesDataItem=Cn;var xi=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.slice=e.createChild(q),e.slice.shouldClone=!1,e.slice.setElement(e.paper.add("path")),e.slice.isMeasured=!1,e.orientation="vertical",e.bottomWidth=k(100),e.topWidth=k(100),e.isMeasured=!1,e.width=10,e.height=10,e.expandDistance=0,e.className="FunnelSlice",e.applyTheme(),e}return r.prototype.draw=function(){l.prototype.draw.call(this);var e=this.pixelPaddingTop,t=this.pixelPaddingBottom,i=this.pixelPaddingRight,a=this.pixelPaddingLeft,n=this.pixelWidth-i-a,s=this.pixelHeight-e-t,o=this.expandDistance,h="";if(this.orientation=="vertical"){var d=oe(this.topWidth,n),u=oe(this.bottomWidth,n),p={x:(n-d)/2+a,y:e},f={x:(n+d)/2+a,y:e},c={x:(n+u)/2+a,y:e+s},y={x:(n-u)/2+a,y:e+s},v={x:f.x+(c.x-f.x)/2+o*s,y:f.y+.5*s},m={x:p.x+(y.x-p.x)/2-o*s,y:p.y+.5*s},x=R(c),P=R(p);o!=0&&(x=et(c,v),P=et(p,m)),h=W(p)+R(f)+x+R(y)+P,this.tickPoint={x:f.x+(c.x-f.x)/2,y:f.y+(c.y-f.y)/2}}else{var d=oe(this.topWidth,s),u=oe(this.bottomWidth,s),S={x:a,y:(s-d)/2+e},D={x:a,y:(s+d)/2+e},T={x:a+n,y:(s-u)/2+e},b={x:a+n,y:(s+u)/2+e},v={y:S.y+(T.y-S.y)/2-o*n,x:S.x+.5*n},m={y:D.y+(b.y-D.y)/2+o*n,x:D.x+.5*n},x=R(T),P=R(D);o!=0&&(x=et(T,v),P=et(D,m)),h=W(D)+R(S)+x+R(b)+P,this.tickPoint={y:D.y+(b.y-D.y)/2,x:D.x+(b.x-D.x)/2}}this.slice.path=h,this.invalidateLayout()},r.prototype.getPoint=function(e,t){var i=this.pixelPaddingTop,a=this.pixelPaddingBottom,n=this.pixelPaddingRight,s=this.pixelPaddingLeft,o=this.pixelWidth-n-s,h=this.pixelHeight-i-a;if(this.orientation=="vertical"){var d=oe(this.topWidth,o),u=oe(this.bottomWidth,o),p={x:(o-d)/2+s,y:i},f={x:(o+d)/2+s,y:i},c={x:(o+u)/2+s,y:i+h},y={x:(o-u)/2+s,y:i+h},v=p.x+(y.x-p.x)*t,m=f.x+(c.x-f.x)*t;return{x:v+(m-v)*e,y:f.y+(c.y-f.y)*t}}else{var d=oe(this.topWidth,h),u=oe(this.bottomWidth,h),x={x:s,y:(h-d)/2+i},P={x:s,y:(h+d)/2+i},S={x:s+o,y:(h-u)/2+i},D={x:s+o,y:(h+u)/2+i},T=x.y+(S.y-x.y)*e,b=P.y+(D.y-P.y)*e;return{y:T+(b-T)*t,x:x.x+(S.x-x.x)*e}}},Object.defineProperty(r.prototype,"bottomWidth",{get:function(){return this.getPropertyValue("bottomWidth")},set:function(e){this.setPercentProperty("bottomWidth",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"topWidth",{get:function(){return this.getPropertyValue("topWidth")},set:function(e){this.setPercentProperty("topWidth",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(e){this.setPropertyValue("orientation",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"expandDistance",{get:function(){return this.getPropertyValue("expandDistance")},set:function(e){this.setPropertyValue("expandDistance",e,!0)},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.slice&&this.slice.copyFrom(e.slice)},r}(X);V.registeredClasses.FunnelSlice=xi;var Ur=function(l){A(r,l);function r(){var e=l.call(this)||this;return e._label=new le,e._slice=new le,e.className="FunnelTick",e.element=e.paper.add("path"),e._disposers.push(e._label),e._disposers.push(e._slice),e.setPropertyValue("locationX",0),e.setPropertyValue("locationY",0),e.applyTheme(),e}return r.prototype.draw=function(){l.prototype.draw.call(this);var e=this.slice,t=e.getPoint(this.locationX,this.locationY);if(t){var i=this.label,a=e.dataItem.component,n=void 0,s=void 0,o=void 0;if(a.orientation=="vertical"){var h=i.pixelX,d=i.pixelY;a.labelsOpposite||(h+=i.maxRight),n=De(t,e,this.parent),o=De({x:h,y:d},i.parent,this.parent),s={x:i.parent.pixelX-this.length,y:o.y},a.labelsOpposite||(s.x=i.parent.measuredWidth+this.length)}else{var h=i.pixelX,d=i.pixelY;a.labelsOpposite||(d+=i.maxBottom),n=De(t,e,this.parent),o=De({x:h,y:d},i.parent,this.parent),s={x:o.x,y:i.parent.pixelY-this.length},a.labelsOpposite||(s.y=i.parent.measuredHeight+this.length)}this.path=W(n)+R(s)+R(o)}},Object.defineProperty(r.prototype,"slice",{get:function(){return this._slice.get()},set:function(e){this._slice.set(e,new it([e.events.on("transformed",this.invalidate,this,!1),e.events.on("validated",this.invalidate,this,!1)]))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"label",{get:function(){return this._label.get()},set:function(e){this._label.set(e,e.events.on("transformed",this.invalidate,this,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"locationX",{get:function(){return this.getPropertyValue("locationX")},set:function(e){this.setPropertyValue("locationX",e,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"locationY",{get:function(){return this.getPropertyValue("locationY")},set:function(e){this.setPropertyValue("locationY",e,!1,!0)},enumerable:!0,configurable:!0}),r}(St);V.registeredClasses.FunnelTick=Ur;var Ei=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="FunnelSeriesDataItem",e.events.on("visibilitychanged",function(){e.component&&e.component.invalidateDataItems()},e,!1),e.applyTheme(),e}return Object.defineProperty(r.prototype,"sliceLink",{get:function(){var e=this;if(!this._sliceLink){var t=this.component.sliceLinks.create();this._sliceLink=t,this._disposers.push(t),t.parent=this.component.slicesContainer,this._disposers.push(new se(function(){e.component&&e.component.sliceLinks.removeValue(t)})),this.addSprite(t),t.visible=this.visible}return this._sliceLink},enumerable:!0,configurable:!0}),r}(Qt),Gr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e._nextY=0,e.className="FunnelSeries",e.orientation="vertical",e.width=k(100),e.height=k(100),e.slicesContainer.width=k(100),e.slicesContainer.height=k(100),e._disposers.push(e.slicesContainer.events.on("maxsizechanged",e.invalidateDataItems,e,!1)),e.labelsOpposite=!0,e.labelsContainer.layout="absolute",e.bottomRatio=0,e.applyTheme(),e}return r.prototype.createSlice=function(){return new xi},r.prototype.createTick=function(){return new Ur},r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Funnel Series"))},r.prototype.createDataItem=function(){return new Ei},r.prototype.initSlice=function(e){e.isMeasured=!1,e.defaultState.properties.scale=1,e.observe("scale",this.handleSliceScale,this),e.observe(["dx","dy","x","y"],this.handleSliceMove,this),e.tooltipText="{category}: {value.percent.formatNumber('#.#p')} ({value.value})";var t=e.states.create("hover");t.properties.expandDistance=.2},r.prototype.initLabel=function(e){l.prototype.initLabel.call(this,e),e.verticalCenter="middle",e.horizontalCenter="middle",e.isMeasured=!0,e.padding(5,5,5,5)},r.prototype.validate=function(){l.prototype.validate.call(this),this._nextY=0},r.prototype.validateDataElements=function(){var e=this,t=this.slicesContainer,i=this.labelsContainer,a=this.labels.template;this.alignLabels?(a.interactionsEnabled=!0,t.isMeasured=!0,i.isMeasured=!0):(a.interactionsEnabled=!1,t.isMeasured=!1,i.isMeasured=!1);var n=0,s=0;this.dataItems.each(function(o){C(o.value)&&(s++,o.value>0?n+=Math.abs(o.getWorkingValue("value")/o.value):e.ignoreZeroValues||!o.visible||o.__disabled||o.isHiding?s--:n+=1)}),this._total=1/s*n,this._count=s,l.prototype.validateDataElements.call(this),this.arrangeLabels()},r.prototype.getNextValue=function(e){var t=e.index,i=e.getWorkingValue("value");if(t0){var t=this.labels.getIndex(e);return t.__disabled||!t.visible?this.getLastLabel(e-1):t}},r.prototype.arrangeLabels=function(){if(this.alignLabels){var e=this.labels.length;if(e>1){var t=this.getLastLabel(e-1);if(t){var i=t.pixelY,a=t.pixelX;if(e>1){for(var n=e-2;n>=0;n--){var s=this.labels.getIndex(n);s.visible&&!s.__disabled&&(s.invalid&&s.validate(),this.orientation=="vertical"?s.pixelY+s.measuredHeight>i&&(s.y=Math.min(1e6,i-s.measuredHeight)):s.pixelX+s.measuredWidth>a&&(s.x=Math.min(1e6,a-s.measuredWidth)),i=s.pixelY,a=s.pixelX)}i=0,a=0;for(var n=0;n0){var o=s.getWorkingValue("value")/s.value,h=s.sliceLink;e.orientation=="vertical"?i-=h.pixelHeight*o:t-=h.pixelWidth*o}}),this._pyramidHeight=oe(this.pyramidHeight,i),this._pyramidWidth=oe(this.pyramidHeight,t),this.orientation=="vertical"){var a=(i-this._pyramidHeight)/2;this.slicesContainer.y=a,this.labelsContainer.y=a,this.ticksContainer.y=a}else{var n=(t-this._pyramidWidth)/2;this.slicesContainer.x=n,this.labelsContainer.x=n,this.ticksContainer.x=n}l.prototype.validateDataElements.call(this)},r.prototype.decorateSlice=function(e){var t=this.dataItem.values.value.absoluteSum;if(t!=0){var i=e.slice,a=e.sliceLink,n=e.label,s=e.tick;this.getNextValue(e);var o=Math.abs(e.getWorkingValue("value")),h=this._pyramidWidth,d=this._pyramidHeight,u=this.slicesContainer.innerWidth,p=this.slicesContainer.innerHeight,f=a.pixelWidth,c=a.pixelHeight;if((e.value==0||e.value==null)&&this.ignoreZeroValues?e.__disabled=!0:e.__disabled=!1,this.orientation=="vertical"){var y=oe(this.topWidth,u);g(this._nextWidth)||(this._nextWidth=y);var v=oe(this.bottomWidth,u),m=this._nextWidth,x=Math.atan2(d,y-v),P=Math.tan(Math.PI/2-x);P==0&&(P=1e-8);var S=void 0,D=void 0;if(this.valueIs=="area"){var T=(y+v)/2*d,b=T*o/t,O=Math.abs(m*m-2*b*P);S=(m-Math.sqrt(O))/P,S>0?D=(2*b-S*m)/S:D=m}else S=d*o/t,D=m-S*P;i.height=S,i.width=u,i.bottomWidth=D,i.topWidth=m,a.topWidth=i.bottomWidth,a.bottomWidth=i.bottomWidth,i.y=this._nextY,this.alignLabels?n.x=0:n.x=u/2,n.y=i.pixelY+i.pixelHeight*s.locationY+i.dy,this._nextY+=i.pixelHeight+c*o/Math.max(Math.abs(e.value),1e-8),a.y=this._nextY-c,a.x=u/2}else{var y=oe(this.topWidth,p);g(this._nextWidth)||(this._nextWidth=y);var v=oe(this.bottomWidth,p),m=this._nextWidth,x=Math.atan2(h,y-v),P=Math.tan(Math.PI/2-x);P==0&&(P=1e-8);var _=void 0,D=void 0;if(this.valueIs=="area"){var T=(y+v)/2*h,b=T*o/t;_=(m-Math.sqrt(m*m-2*b*P))/P,D=(2*b-_*m)/_}else _=h*o/t,D=m-_*P;i.width=_,i.height=p,i.bottomWidth=D,i.topWidth=m,a.topWidth=i.bottomWidth,a.bottomWidth=i.bottomWidth,i.x=this._nextY,this.alignLabels?n.y=this.labelsContainer.measuredHeight:n.y=p/2,n.x=i.pixelX+i.pixelWidth*s.locationX+i.dx,this._nextY+=i.pixelWidth+f*o/Math.max(Math.abs(e.value),1e-8),a.x=this._nextY-f,a.y=p/2}this._nextWidth=i.bottomWidth}},Object.defineProperty(r.prototype,"topWidth",{get:function(){return this.getPropertyValue("topWidth")},set:function(e){this.setPercentProperty("topWidth",e,!1,!1,10,!1)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pyramidHeight",{get:function(){return this.getPropertyValue("pyramidHeight")},set:function(e){this.setPercentProperty("pyramidHeight",e,!1,!1,10,!1)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"bottomWidth",{get:function(){return this.getPropertyValue("bottomWidth")},set:function(e){this.setPercentProperty("bottomWidth",e,!1,!1,10,!1)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"valueIs",{get:function(){return this.getPropertyValue("valueIs")},set:function(e){this.setPropertyValue("valueIs",e)&&this.invalidate()},enumerable:!0,configurable:!0}),r}(Gr);V.registeredClasses.PyramidSeries=Kr;V.registeredClasses.PyramidSeriesDataItem=Bi;var Zr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PictorialStackedSeriesDataItem",e.applyTheme(),e}return r}(Bi),An=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="PictorialStackedSeries",e.topWidth=k(100),e.bottomWidth=k(100),e.valueIs="height",e.applyTheme(),e.startLocation=0,e.endLocation=1,e.align="center",e.valign="middle",e._maskSprite=e.slicesContainer.createChild(q),e._maskSprite.visible=!1,e._maskSprite.zIndex=100,e._maskSprite.shouldClone=!1,e}return r.prototype.validateDataElements=function(){var e=this.slicesContainer.maxWidth,t=this.slicesContainer.maxHeight,i=this._maskSprite,a=i.measuredWidth/i.scale,n=i.measuredHeight/i.scale,s=U(t/n,e/a);s==1/0&&(s=1),s=ee(.001,s);var o=this.startLocation,h=this.endLocation,d=U(e,a*s),u=U(t,n*s);i.scale=s,this.orientation=="vertical"?(this.topWidth=d+4,this.bottomWidth=d+4,this.pyramidHeight=u*(h-o),i.x=e/2,i.y=u/2):(this.topWidth=u+4,this.bottomWidth=u+4,this.pyramidHeight=d*(h-o),i.valign="middle",i.x=d/2,i.y=t/2),i.verticalCenter="middle",i.horizontalCenter="middle",l.prototype.validateDataElements.call(this);var p,f;this.orientation=="vertical"?(this.valign=="bottom"&&(p=t-u),this.valign=="middle"&&(p=(t-u)/2),this.valign=="top"&&(p=0),this.align=="left"&&(f=-(e-d)/2),this.align=="center"&&(f=0),this.align=="right"&&(f=(e-d)/2),this.slices.template.dy=o*u,this.alignLabels&&(this.slicesContainer.dx=f)):(this.valign=="bottom"&&(p=(t-u)/2),this.valign=="middle"&&(p=0),this.valign=="top"&&(p=-(t-u)/2),this.align=="left"&&(f=0),this.align=="center"&&(f=(e-d)/2),this.align=="right"&&(f=e-d),this.slices.template.dx=o*d,this.alignLabels&&(this.slicesContainer.dy=p)),this.slicesContainer.x=f,this.labelsContainer.x=f,this.ticksContainer.x=f,this.slicesContainer.y=p,this.labelsContainer.y=p,this.ticksContainer.y=p,d>0&&u>0&&(this.slicesContainer.mask=i)},r.prototype.applyInternalDefaults=function(){l.prototype.applyInternalDefaults.call(this),C(this.readerTitle)||(this.readerTitle=this.language.translate("Pyramid Series"))},r.prototype.createDataItem=function(){return new Zr},Object.defineProperty(r.prototype,"maskSprite",{get:function(){return this._maskSprite},enumerable:!0,configurable:!0}),r.prototype.initSlice=function(e){l.prototype.initSlice.call(this,e);var t=e.states.getKey("hover");t&&(t.properties.expandDistance=0)},Object.defineProperty(r.prototype,"startLocation",{get:function(){return this.getPropertyValue("startLocation")},set:function(e){this.setPropertyValue("startLocation",e)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endLocation",{get:function(){return this.getPropertyValue("endLocation")},set:function(e){this.setPropertyValue("endLocation",e)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),r}(Kr);V.registeredClasses.PictorialStackedSeries=An;V.registeredClasses.PictorialStackedSeriesDataItem=Zr;var qr=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ConeColumn",e}return r.prototype.createAssets=function(){this.coneColumn=this.createChild(Ra),this.coneColumn.shouldClone=!1,this.column=this.coneColumn},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.coneColumn&&this.coneColumn.copyFrom(e.coneColumn)},r}(st);V.registeredClasses.ConeColumn=qr;var _n=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ConeSeriesDataItem",e.applyTheme(),e}return r}(Ke),Vn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ConeSeries",e.applyTheme(),e}return r.prototype.createColumnTemplate=function(){return new qr},r.prototype.getMaskPath=function(){var e=0,t=0,i=this.columns.getIndex(0);if(i)return this.baseAxis==this.xAxis?t=i.coneColumn.innerWidth/2+1:e=i.coneColumn.innerHeight/2+1,Be({x:-e,y:0,width:this.xAxis.axisLength+e,height:this.yAxis.axisLength+t})},r.prototype.validateDataElementReal=function(e){l.prototype.validateDataElementReal.call(this,e);var t=e.column;if(t){var i=e.column.coneColumn;i.fill=e.column.fill,this.baseAxis==this.yAxis?i.orientation="horizontal":i.orientation="vertical"}},r}(ot);V.registeredClasses.ConeSeries=Vn;V.registeredClasses.ConeSeriesDataItem=_n;var $r=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="CurvedColumn",e}return r.prototype.createAssets=function(){this.curvedColumn=this.createChild(q),this.curvedColumn.shouldClone=!1,this.setPropertyValue("tension",.7),this.width=k(120),this.height=k(120),this.column=this.curvedColumn},r.prototype.draw=function(){l.prototype.draw.call(this);var e=this.realWidth,t=this.realHeight,i=this.realX-this.pixelX,a=this.realY-this.pixelY,n;He(this.width);var s=1,o=1;this.orientation=="vertical"?(s=this.tension,n=[{x:0,y:t+a},{x:e/2,y:a},{x:e,y:t+a}]):(o=this.tension,t=Math.abs(t),n=[{x:i,y:t},{x:i+e,y:t/2},{x:i,y:0}]);var h=W(n[0])+new Ct(s,o).smooth(n);this.column.path=h},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.curvedColumn&&this.curvedColumn.copyFrom(e.curvedColumn)},Object.defineProperty(r.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(e){this.setPropertyValue("tension",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(e){this.setPropertyValue("orientation",e,!0)},enumerable:!0,configurable:!0}),r}(st);V.registeredClasses.CurvedColumn=$r;var Sn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="CurvedColumnSeriesDataItem",e.applyTheme(),e}return r}(Ke),Tn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="CurvedColumnSeries",e.applyTheme(),e}return r.prototype.createColumnTemplate=function(){return new $r},r.prototype.validateDataElementReal=function(e){l.prototype.validateDataElementReal.call(this,e);var t=e.column;if(t=e.column,t){var i=e.column.curvedColumn;i.fill=e.column.fill,this.baseAxis==this.yAxis?t.orientation="horizontal":t.orientation="vertical"}},r}(ot);V.registeredClasses.CurvedColumnSeries=Tn;V.registeredClasses.CurvedColumnSeriesDataItem=Sn;var On=function(l){A(r,l);function r(){var e=l.call(this)||this;e.className="CircleBullet";var t=e.createChild(Ci);return t.shouldClone=!1,t.radius=5,t.isMeasured=!1,e.circle=t,e.applyTheme(),e}return r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.circle.copyFrom(e.circle)},r}(We);V.registeredClasses.CircleBullet=On;var kn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="ErrorBullet",e.errorLine=e.createChild(q),e.errorLine.shouldClone=!1,e.width=20,e.height=20,e.strokeOpacity=1,e.isDynamic=!0,e}return r.prototype.validatePosition=function(){l.prototype.validatePosition.call(this);var e=this.pixelWidth/2,t=this.pixelHeight/2;this.errorLine.path=W({x:-e,y:-t})+R({x:e,y:-t})+W({x:0,y:-t})+R({x:0,y:t})+W({x:-e,y:t})+R({x:e,y:t})},r.prototype.copyFrom=function(e){l.prototype.copyFrom.call(this,e),this.errorLine.copyFrom(e.errorLine)},r}(We);V.registeredClasses.ErrorBullet=kn;var wn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="NavigationBarDataItem",e.applyTheme(),e}return Object.defineProperty(r.prototype,"name",{get:function(){return this.properties.name},set:function(e){this.setProperty("name",e)},enumerable:!0,configurable:!0}),r}(ct),Fn=function(l){A(r,l);function r(){var e=l.call(this)||this;e.className="NavigationBar";var t=new te,i=new er;i.valign="middle",i.paddingTop=8,i.paddingBottom=8,e.paddingBottom=2,e.links=new Q(i),e._disposers.push(new G(e.links)),e._disposers.push(i),e._linksIterator=new Pi(e.links,function(){return e.links.create()}),e._linksIterator.createNewItems=!0;var a=new ja;a.direction="right",a.width=8,a.height=12,a.fill=t.getFor("alternativeBackground"),a.fillOpacity=.5,a.valign="middle",a.marginLeft=10,a.marginRight=10,e.separators=new Q(a),e._disposers.push(new G(e.separators)),e._disposers.push(a);var n=new er;return e.activeLink=n,n.copyFrom(i),n.valign="middle",n.fontWeight="bold",e.width=k(100),e.layout="grid",e.dataFields.name="name",e.applyTheme(),e}return r.prototype.validateDataElements=function(){this.removeChildren(),this._linksIterator.reset(),l.prototype.validateDataElements.call(this)},r.prototype.validateDataElement=function(e){l.prototype.validateDataElement.call(this,e);var t;if(e.indext.getHitOption(this.interactions,"hitTolerance")){switch(this._generalBehavior){case"zoom":this.dispatch("zoomended");break;case"select":this.dispatch("selectended");break;case"pan":this.dispatch("panended"),t.setGlobalStyle(xt.default);break}this.downPoint=void 0,this.updateSelection()}},r.prototype.updateSelection=function(){},r.prototype.getPositions=function(){this.xPosition=this.point.x/this.innerWidth,this.yPosition=1-this.point.y/this.innerHeight},r.prototype.handleCursorDown=function(e){if(!(!this.interactionsEnabled||this.interactions.isTouchProtected&&e.touch||!Re().isLocalElement(e.pointer,this.paper.svg,this.uid))){Xa();var t=ai(e.pointer.point,this);this._stick=="hard"&&this._stickPoint&&(t=this._stickPoint),this._adapterO&&this._adapterO.apply("cursorPoint",t),this.fitsToBounds(t)&&(this._downPointOrig={x:t.x,y:t.y},e.event.cancelable&&this.shouldPreventGestures(e.touch)&&this.fitsToBounds(t)&&e.event.preventDefault(),this.triggerMove(t),this.triggerDown(t))}},r.prototype.shouldPreventGestures=function(e){return!0},r.prototype.updatePoint=function(e){},r.prototype.handleCursorUp=function(e){if(!!this.interactionsEnabled&&!(!this.downPoint&&!Re().isLocalElement(e.pointer,this.paper.svg,this.uid))){var t=ai(e.pointer.point,this);this._adapterO&&this._adapterO.apply("cursorPoint",t),!(!this.downPoint||!this.fitsToBounds(this.downPoint))&&(this._stick=="hard"&&this._stickPoint&&(t=this._stickPoint),this._upPointOrig={x:t.x,y:t.y},this.triggerMove(t),this.triggerUp(t))}},Object.defineProperty(r.prototype,"chart",{get:function(){return this._chart},set:function(e){this._chart=e,C(this._chart.plotContainer)&&Re().lockElement(this._chart.plotContainer.interactions)},enumerable:!0,configurable:!0}),r}(X);V.registeredClasses.Cursor=Jr;var Qr=function(l){A(r,l);function r(){var e=l.call(this)||this;e._lineX=new le,e._lineY=new le,e._xAxis=new le,e._yAxis=new le,e._snapToDisposers=[],e.className="XYCursor",e.behavior="zoomX",e.maxPanOut=.1;var t=new te;e.snapOnPan=!0;var i=e.createChild(q);i.shouldClone=!1,i.fillOpacity=.2,i.fill=t.getFor("alternativeBackground"),i.isMeasured=!1,i.visible=!1,i.interactionsEnabled=!1,e.selection=i,e._disposers.push(e.selection);var a=e.createChild(q);a.shouldClone=!1,a.stroke=t.getFor("grid"),a.fill=Te(),a.strokeDasharray="3,3",a.isMeasured=!1,a.strokeOpacity=.4,a.interactionsEnabled=!1,a.y=0,e.lineX=a,e._disposers.push(e.lineX);var n=e.createChild(q);return n.shouldClone=!1,n.stroke=t.getFor("grid"),n.fill=Te(),n.strokeDasharray="3,3",n.isMeasured=!1,n.strokeOpacity=.4,n.interactionsEnabled=!1,n.x=0,e.lineY=n,e._disposers.push(e.lineY),e.events.on("sizechanged",e.updateSize,e,!1),e._disposers.push(e._lineX),e._disposers.push(e._lineY),e._disposers.push(e._xAxis),e._disposers.push(e._yAxis),e.mask=e,e.hideSeriesTooltipsOnSelection=!0,e.applyTheme(),e}return r.prototype.updateSize=function(){this.lineX&&(this.lineX.path=W({x:0,y:0})+R({x:0,y:this.innerHeight})),this.lineY&&(this.lineY.path=W({x:0,y:0})+R({x:this.innerWidth,y:0}))},r.prototype.updateSelection=function(){if(this._usesSelection){var e=this.downPoint,t=this.behavior;if(e){var i=this.point;this.lineX&&(i.x=this.lineX.pixelX),this.lineY&&(i.y=this.lineY.pixelY);var a=this.selection,n=Math.min(i.x,e.x),s=Math.min(i.y,e.y),o=j(Math.abs(e.x-i.x),this._positionPrecision),h=j(Math.abs(e.y-i.y),this._positionPrecision);switch(t){case"zoomX":s=0,h=this.pixelHeight;break;case"zoomY":n=0,o=this.pixelWidth;break;case"selectX":s=0,h=this.pixelHeight;break;case"selectY":n=0,o=this.pixelWidth;break}a.x=n,a.y=s,a.path=ni(o,h),a.validatePosition()}else this._generalBehavior!="select"&&this.selection.hide()}},r.prototype.fixPoint=function(e){return e.x=Math.max(0,e.x),e.y=Math.max(0,e.y),e.x=Math.min(this.pixelWidth,e.x),e.y=Math.min(this.pixelHeight,e.y),e},r.prototype.triggerMoveReal=function(e,t){l.prototype.triggerMoveReal.call(this,e,t);var i=this.snapToSeries;if(i&&!this.downPoint)if(i instanceof at)i.isHidden&&this.updateLinePositions(e);else{var a=!0;H(i,function(n){n.isHidden||(a=!1)}),a&&this.updateLinePositions(e)}else this.updateLinePositions(e);this.downPoint&&K(this.downPoint,e)>3&&this._generalBehavior=="pan"&&(this.getPanningRanges(),this.dispatch("panning"))},r.prototype.updateLinePositions=function(e){e=this.fixPoint(this.point),this.lineX&&this.lineX.visible&&!this.xAxis&&(this.lineX.x=e.x),this.lineY&&this.lineY.visible&&!this.yAxis&&(this.lineY.y=e.y),this.updateSelection()},r.prototype.triggerDownReal=function(e){if(this.visible&&!this.isHiding)if(this._generalBehavior=="select"&&(this.selection.parent=this.parent),this.fitsToBounds(e)){this.downPoint={x:e.x,y:e.y},this.updatePoint(e),this.point.x=this.downPoint.x,this.point.y=this.downPoint.y;var t=this.selection,i=this.downPoint.x,a=this.downPoint.y;this._usesSelection&&(t.x=i,t.y=a,t.path="",t.show()),l.prototype.triggerDownReal.call(this,e)}else this.downPoint=void 0;else this.downPoint=void 0},r.prototype.updatePoint=function(e){this.lineX&&(e.x=this.lineX.pixelX),this.lineY&&(e.y=this.lineY.pixelY)},r.prototype.triggerUpReal=function(e){if(this.hasMoved())this.downPoint&&(this.upPoint=e,this.updatePoint(this.upPoint),this._generalBehavior!="pan"&&this.getRanges(),this._generalBehavior!="select"&&this.selection.hide(),l.prototype.triggerUpReal.call(this,e));else{if(this._generalBehavior!="select"?this.selection.hide(0):(this.xRange=void 0,this.yRange=void 0,this.dispatchImmediately("selectended")),this._generalBehavior=="pan"){var t=Re();t.setGlobalStyle(xt.default)}this.dispatchImmediately("behaviorcanceled")}this.downPoint=void 0,this.dispatch("cursorpositionchanged")},r.prototype.hasMoved=function(){var e;return this.behavior=="zoomX"||this.behavior=="panX"?e=Ya(this._upPointOrig,this._downPointOrig):this.behavior=="zoomY"||this.behavior=="panY"?e=Ea(this._upPointOrig,this._downPointOrig):e=K(this._upPointOrig,this._downPointOrig),e>Re().getHitOption(this.interactions,"hitTolerance")},r.prototype.getPanningRanges=function(){var e=j(this.downPoint.x/this.innerWidth,5),t=1-j(this.downPoint.y/this.innerHeight,5),i=j(this.point.x/this.innerWidth,5),a=1-j(this.point.y/this.innerHeight,5),n=e-i,s=t-a;this.xRange={start:n,end:1+n},this.yRange={start:s,end:1+s},this.behavior=="panX"&&(this.yRange.start=0,this.yRange.end=1),this.behavior=="panY"&&(this.xRange.start=0,this.xRange.end=1)},r.prototype.getRanges=function(){this.lineX&&(this.upPoint.x=this.lineX.pixelX),this.lineY&&(this.upPoint.y=this.lineY.pixelY),He(this.selection);var e=j(this.downPoint.x/this.innerWidth,5),t=j(this.upPoint.x/this.innerWidth,5),i=1-j(this.downPoint.y/this.innerHeight,5),a=1-j(this.upPoint.y/this.innerHeight,5);this.xRange={start:U(e,t),end:ee(e,t)},this.yRange={start:U(i,a),end:ee(i,a)}},Object.defineProperty(r.prototype,"behavior",{get:function(){return this.getPropertyValue("behavior")},set:function(e){this.setPropertyValue("behavior",e,!0),this._usesSelection=!1,e.indexOf("zoom")!=-1&&(this._generalBehavior="zoom",this._usesSelection=!0),e.indexOf("select")!=-1&&(this._generalBehavior="select",this._usesSelection=!0),e.indexOf("pan")!=-1&&(this._generalBehavior="pan",this._usesSelection=!1)},enumerable:!0,configurable:!0}),r.prototype.shouldPreventGestures=function(e){return(!this.interactions.isTouchProtected||!e)&&this.behavior!="none"},Object.defineProperty(r.prototype,"fullWidthLineX",{get:function(){return this.getPropertyValue("fullWidthLineX")},set:function(e){this.setPropertyValue("fullWidthLineX",e),e||this.updateSize()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"fullWidthLineY",{get:function(){return this.getPropertyValue("fullWidthLineY")},set:function(e){this.setPropertyValue("fullWidthLineY",e),e||this.updateSize()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hideSeriesTooltipsOnSelection",{get:function(){return this.getPropertyValue("hideSeriesTooltipsOnSelection")},set:function(e){this.setPropertyValue("hideSeriesTooltipsOnSelection",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maxTooltipDistance",{get:function(){return this.getPropertyValue("maxTooltipDistance")},set:function(e){this.setPropertyValue("maxTooltipDistance",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maxPanOut",{get:function(){return this.getPropertyValue("maxPanOut")},set:function(e){this.setPropertyValue("maxPanOut",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"xAxis",{get:function(){return this._xAxis.get()},set:function(e){var t=this;this._xAxis.get()!=e&&this._xAxis.set(e,new it([e.tooltip.events.on("positionchanged",this.handleXTooltipPosition,this,!1),e.events.on("rangechangestarted",function(i){t.hide(0),t.preventShow=!0},void 0,!1),e.events.on("rangechangeended",function(i){t.preventShow=!1,t.hide(0),t.dispatch("cursorpositionchanged")},void 0,!1)]))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"yAxis",{get:function(){return this._yAxis.get()},set:function(e){var t=this;this._yAxis.get()!=e&&this._yAxis.set(e,new it([e.tooltip.events.on("positionchanged",this.handleYTooltipPosition,this,!1),e.events.on("rangechangestarted",function(i){t.hide(0),t.__disabled=!0},void 0,!1),e.events.on("rangechangeended",function(i){t.__disabled=!1,t.hide(0),t.dispatch("cursorpositionchanged")},void 0,!1)]))},enumerable:!0,configurable:!0}),r.prototype.handleXTooltipPosition=function(e){var t=this.xAxis.tooltip,i=Ue({x:t.pixelX,y:t.pixelY},this),a=i.x;if(i.y=1,this.lineX&&(this.lineX.x=a,this.fitsToBounds(i)||this.hide()),this.xAxis&&this.fullWidthLineX){var n=this.xAxis.currentItemStartPoint,s=this.xAxis.currentItemEndPoint;if(n&&s){this.lineX.x=a;var o=s.x-n.x;this.lineX.path=ni(o,this.innerHeight,-o/2)}}},r.prototype.handleYTooltipPosition=function(e){var t=this.yAxis.tooltip,i=Ue({x:t.pixelX,y:t.pixelY},this),a=i.y;if(i.x=1,this.lineY&&(this.lineY.y=a,this.fitsToBounds(i)||this.hide()),this.yAxis&&this.fullWidthLineY){var n=this.yAxis.currentItemStartPoint,s=this.yAxis.currentItemEndPoint;if(n&&s){this.lineY.y=a;var o=s.y-n.y;this.lineY.path=ni(this.innerWidth,o,0,-o/2)}}},Object.defineProperty(r.prototype,"lineX",{get:function(){return this._lineX.get()},set:function(e){e?(e.setElement(this.paper.add("path")),this._lineX.set(e,e.events.on("positionchanged",this.updateSelection,this,!1)),e.interactionsEnabled=!1,e.parent=this):this._lineX.reset()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"lineY",{get:function(){return this._lineY.get()},set:function(e){e?(e.setElement(this.paper.add("path")),this._lineY.set(e,e.events.on("positionchanged",this.updateSelection,this,!1)),e.parent=this,e.interactionsEnabled=!1):this._lineY.reset()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"selection",{get:function(){return this._selection},set:function(e){this._selection=e,e&&(e.element=this.paper.add("path"),e.parent=this)},enumerable:!0,configurable:!0}),r.prototype.processConfig=function(e){var t=this;if(e&&(C(e.xAxis)&&ae(e.xAxis)&&(this.map.hasKey(e.xAxis)?e.xAxis=this.map.getKey(e.xAxis):(this.processingErrors.push('[XYCursor] No axis with id "'+e.xAxis+'" found for `xAxis`'),delete e.xAxis)),C(e.yAxis)&&ae(e.yAxis)&&(this.map.hasKey(e.yAxis)?e.yAxis=this.map.getKey(e.yAxis):(this.processingErrors.push('[XYCursor] No axis with id "'+e.yAxis+'" found for `yAxis`'),delete e.yAxis)),C(e.snapToSeries))){var i=ke(e.snapToSeries)?e.snapToSeries:[e.snapToSeries],a=!1;H(i,function(n,s){ae(n)&&(t.map.hasKey(n)?i[s]=t.map.getKey(n):(t.processingErrors.push('[XYCursor] No series with id "'+n+'" found for `series`'),a=!0))}),a?delete e.snapToSeries:e.snapToSeries=i}l.prototype.processConfig.call(this,e)},Object.defineProperty(r.prototype,"snapToSeries",{get:function(){return this.getPropertyValue("snapToSeries")},set:function(e){var t=this;this.setPropertyValue("snapToSeries",e)&&(e instanceof at&&(e=[e]),this._snapToDisposers&&H(this._snapToDisposers,function(i){i.dispose()}),this._snapToDisposers=[],e&&H(e,function(i){t._snapToDisposers.push(i.events.on("tooltipshownat",function(){t.handleSnap(i)},void 0,!1))}))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"snapOnPan",{get:function(){return this.getPropertyValue("snapOnPan")},set:function(e){this.setPropertyValue("snapOnPan",e)},enumerable:!0,configurable:!0}),r.prototype.handleSnap=function(e){if(!this.downPoint){var t=e.getTooltipX()+e.xAxis.pixelX,i=e.getTooltipY()+e.yAxis.pixelY,a=e.xAxis,n=e.yAxis;a&&a.renderer.opposite&&(i-=this.pixelHeight),this.point={x:t,y:i},this.getPositions();var s=t,o=i;t-=this.pixelWidth,n&&n.renderer.opposite&&(t+=this.pixelWidth);var h=e.tooltip,d=h.animationDuration,u=h.animationEasing;a instanceof E&&!(a instanceof z)&&n instanceof E&&!(n instanceof z)?(e.yAxis.showTooltipAtPosition(this.yPosition),e.xAxis.showTooltipAtPosition(this.xPosition)):(e.baseAxis==e.xAxis&&e.yAxis.showTooltipAtPosition(this.yPosition),e.baseAxis==e.yAxis&&e.xAxis.showTooltipAtPosition(this.xPosition)),this.lineY.x=t,this.lineX.y=i,this.xAxis||this.lineX.animate([{property:"x",to:s}],d,u),this.yAxis||this.lineY.animate([{property:"y",to:o}],d,u)}},r.prototype.dispose=function(){this.hide(0),l.prototype.dispose.call(this)},r}(Jr);V.registeredClasses.XYCursor=Qr;var Mn=function(l){A(r,l);function r(){var e=l.call(this)||this;return e.className="RadarCursor",e.radius=k(100),e.innerRadius=k(0),e.applyTheme(),e.mask=void 0,e}return r.prototype.fitsToBounds=function(e){var t=K(e);return tthis.pixelInnerRadius-1},Object.defineProperty(r.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(e){this.setPropertyValue("startAngle",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(e){this.setPropertyValue("endAngle",e,!0)},enumerable:!0,configurable:!0}),r.prototype.triggerMoveReal=function(e,t){(!this.xAxis||this.xAxis&&(!this.xAxis.cursorTooltipEnabled||this.xAxis.tooltip.disabled))&&this.updateLineX(this.point),(!this.yAxis||this.yAxis&&(!this.yAxis.cursorTooltipEnabled||this.yAxis.tooltip.disabled))&&this.updateLineY(this.point),this.updateSelection(),l.prototype.triggerMoveReal.call(this,e,t)},r.prototype.updateLineX=function(e){var t=this.pixelRadius,i=this.startAngle,a=this.endAngle,n=this.pixelInnerRadius;if(t>0&&g(i)&&g(a)&&g(n)){var s=Ie(_e(e),i,a),o=void 0;if(this.lineX&&this.lineX.visible){if(this.lineX.moveTo({x:0,y:0}),this.xAxis&&this.fullWidthLineX){var h=this.xAxis.currentItemStartPoint,d=this.xAxis.currentItemEndPoint;if(h&&d){var u=Ie(_e(h),i,a),p=Ie(_e(d),i,a),f=p-u;i0&&(f-=360),s-=f/2,o=W({x:n*M(s),y:n*L(s)})+R({x:t*M(s),y:t*L(s)})+fe(s,f,t)+R({x:n*M(s+f),y:n*L(s+f)})+fe(s+f,-f,n)}}o||(o=W({x:n*M(s),y:n*L(s)})+R({x:t*M(s),y:t*L(s)})),this.lineX.path=o}}},r.prototype.updateLineY=function(e){if(this.lineY&&this.lineY.visible){var t=this.startAngle,i=this.endAngle,a=this.truePixelRadius,n=Y(K(e),0,this.truePixelRadius);if(g(n)&&g(t)){this.lineY.moveTo({x:0,y:0});var s=void 0,o=i-t;if(this.yAxis&&this.fullWidthLineY){var h=this.yAxis.currentItemStartPoint,d=this.yAxis.currentItemEndPoint;if(h&&d){var u=Y(K(h),0,a);n=Y(K(d),0,a),s=W({x:n*M(t),y:n*L(t)})+fe(t,o,n),s+=W({x:u*M(i),y:u*L(i)})+fe(i,-o,u)}}s||(s=W({x:n*M(t),y:n*L(t)})+fe(t,i-t,n)),this.lineY.path=s}}},r.prototype.updateSelection=function(){if(this._usesSelection){var e=this.downPoint;if(e){var t=this.point,i=this.pixelRadius,a=this.truePixelRadius,n=this.pixelInnerRadius,s=Math.min(this.startAngle,this.endAngle),o=Math.max(this.startAngle,this.endAngle),h=Ie(_e(e),s,o),d=Ie(_e(t),s,o),u=K(e);if(u[{category:"Empty",disabled:!0,labelDisabled:!0,tooltipDisabled:!0,value:1,fill:"#dadada",fillOpacity:.3,strokeColor:"#dadada",strokeDasharray:"4,4",strokeWidth:2}],h=Ba(),d=Na(null);let u,p,f,c,y;tr(()=>r.data,function(){v(r.data)},{deep:!0}),tr(()=>r.isLoading,function(){r.isLoading?(c==null||c.hide(0),p==null||p.hide(0)):(c==null||c.show(),p==null||p.show())}),za(function(){D(),v(r.data)}),Ha(function(){u==null||u.dispose()});function v(b){!u||(b.length||u.invalidateData(),u.data=b)}function m(b,O){return b.length?b.map(_=>{const{route:N}=_,F=N||O.url?{..._,fillOpacity:.7}:_;if(N){const{href:I,meta:ge}=h.resolve(N),{title:Fe}=ge;return{url:I,urlTitle:Fe,...F}}return F}).map(_=>{const{category:N=""}=_;switch(N.toLowerCase()){case"online":return{fill:a,minSizeForLabel:.13,..._};case"offline":return{fill:n,minSizeForLabel:.14,..._};case"partially degraded":return{fill:s,minSizeForLabel:.3,..._};default:return _}}):o()}function x(b,O){const{fontSize:_}=O.properties,N=O.parent.parent,F=N.pixelRadius-N.pixelInnerRadius;return N.labels.template.fontSize=Math.ceil(F/3),(2-F-_)/2}function P(){const b=r.data.reduce((O,{value:_})=>O+_,0);typeof r.title=="object"&&r.title.singular&&r.title.plural&&(y.text=b===1?r.title.singular:r.title.plural),typeof r.title=="string"&&(y.text=r.title),p.invalidateLabels()}function S(){P(),!r.data.length&&f.currentText!==r.emptySubTitle&&(y.fontWeight="400",y.fontSize=13,f.text=r.emptySubTitle,f.fontWeight="400",f.fontSize=13,p.invalidateLabels()),r.data.length&&f.currentText===r.emptySubTitle&&(y.fontWeight=r.titleProps&&r.titleProps.fontWeight?r.titleProps.fontWeight:"400",y.fontSize=r.titleProps&&r.titleProps.fontSize?r.titleProps.fontSize:13,f.text=r.subTitleProps&&r.subTitleProps.text?r.subTitleProps.text:"{values.value.sum}",f.fontWeight=r.subTitleProps&&r.subTitleProps.fontWeight?r.subTitleProps.fontWeight:"700",f.fontSize=r.subTitleProps&&r.subTitleProps.fontSize?r.subTitleProps.fontSize:22,p.invalidateLabels())}function D(){if(d.value instanceof HTMLElement){if(u=Ua(T(),d.value,ji),r.saveChart&&(window.chart=u,window.series=c),u.logo&&(u.logo.disabled=!r.displayAmChartsLogo,r.displayAmChartsLogo&&(u.logo.properties.align="right")),c.labels.template.disabled=r.hideSliceLabels,r.url&&(u.url=h.resolve(r.url).href),r.titleProps&&y)for(const b in r.titleProps)y[b]=r.titleProps[b];if(r.subTitleProps&&f)for(const b in r.subTitleProps)f[b]=r.subTitleProps[b];return u}}function T(){return{startAngle:0,endAngle:360,radius:"90%",innerRadius:"60%",data:o(),series:[{type:"PieSeries",dataFields:{value:"value",category:"category"},colors:{step:2},alignLabels:!1,labels:{fontWeight:"500",fontSize:11,bent:!0,radius:0,verticalCenter:"middle",fill:"#ffffff",paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,text:"{category}",interactionsEnabled:!1,userClassName:"pie-chart-label",propertyFields:{disabled:"labelDisabled"},adapter:{radius:x,disabled(b,{dataItem:O}){if(O){const _=O.dataContext.minSizeForLabel||.1;return O.values.value.percent/100<_}return b}}},ticks:{disabled:!0},tooltip:{pointerOrientation:"down",background:{callback(){this.filters.clear()},strokeWidth:0,pointerBaseWidth:0},propertyFields:{disabled:"tooltipDisabled"}},hiddenState:{properties:{opacity:1,startAngle:-90,endAngle:-90}},slices:{cornerRadius:5,propertyFields:{fill:"fill",fillOpacity:"fillOpacity",stroke:"strokeColor",strokeDasharray:"strokeDasharray",strokeWidth:"strokeWidth",url:"url"},stroke:"#ffffff",strokeWidth:2,strokeOpacity:1,tooltipPosition:"pointer",callback(){this.states.getKey("hover").properties.scale=1,this.states.getKey("active").properties.shiftRadius=0,this.states.getKey("hover").properties.fillOpacity=1}},children:[{type:"Container",forceCreate:!0,horizontalCenter:"middle",verticalCenter:"middle",layout:"vertical",background:{fill:"#ffffff"},callback(){this.toBack(),p=this},children:[{type:"Label",forceCreate:!0,fontSize:22,fill:i,text:"{values.value.sum}",horizontalCenter:"middle",verticalCenter:"middle",fontWeight:"700",userClassName:t,callback(){f=this}},{type:"Label",forceCreate:!0,fontSize:13,fill:i,text:"TOTAL",horizontalCenter:"middle",verticalCenter:"middle",fontWeight:"400",userClassName:e,callback(){r.reverseTitles&&this.toBack(),y=this,P()}}]}],callback(){c=this},events:{dataitemsvalidated:S}}],adapter:{data:m}}}return(b,O)=>(pt(),Wt("div",{ref_key:"chartNode",ref:d},null,512))}}),zn=_i({__name:"VersionsDonutChart",props:{data:{type:Array,required:!0},title:{type:[String,Object],required:!0},isLoading:{type:Boolean,required:!1,default:!1},displayAmChartsLogo:{type:Boolean,required:!1,default:!1},url:{type:[String,Object],required:!1,default:null},titleProps:{type:Object,required:!1,default:()=>({fontSize:18,fontWeight:"400"})},subTitleProps:{type:Object,required:!1,default:()=>({fontSize:12,fontWeight:"300",text:"VERSIONS"})},emptySubTitle:{type:String,required:!1,default:"NOT FOUND"},reverseTitles:{type:Boolean,required:!1,default:!0}},setup(l){const r=l;return(e,t)=>(pt(),dr(Ln,Ga(e.$attrs,{data:l.data,title:l.title,"is-loading":l.isLoading,url:l.url,"display-am-charts-logo":l.displayAmChartsLogo,"title-props":r.titleProps,"sub-title-props":r.subTitleProps,"empty-sub-title":r.emptySubTitle,"reverse-titles":r.reverseTitles}),null,16,["data","title","is-loading","url","display-am-charts-logo","title-props","sub-title-props","empty-sub-title","reverse-titles"]))}}),ea=l=>(Ja("data-v-67d101a0"),l=l(),Qa(),l),In={class:"resource-list"},Rn=ea(()=>Oe("p",null,[ft(" We can create multiple isolated Mesh resources (i.e. per application/"),Oe("wbr"),ft("team/"),Oe("wbr"),ft("business unit). ")],-1)),jn={class:"resource-list-actions mt-4"},Wn=ea(()=>Oe("p",null," We need a data plane proxy for each replica of our services within a Mesh resource. ",-1)),Xn={class:"resource-list-actions mt-4"},Yn={class:"resource-list-actions mt-4"},En=["href"],Bn=_i({__name:"MeshResources",setup(l){const r=$a(),e="https://kuma.io/policies/?utm_source=Kuma&utm_medium=Kuma-GUI",t=r.getters["config/getTagline"],i=ir(()=>({name:r.getters["config/getEnvironment"]==="universal"?"universal-dataplane":"kubernetes-dataplane"})),a=ir(()=>{const n=r.getters["config/getKumaDocsVersion"];return n?[{link:`https://kuma.io/docs/${n}/?utm_source=Kuma&utm_medium=Kuma-GUI`,label:"Kuma Documentation"},{link:"https://kuma-mesh.slack.com/?utm_source=Kuma&utm_medium=Kuma-GUI",label:"Kuma Community Chat"},{link:"https://github.com/kumahq/kuma?utm_source=Kuma&utm_medium=Kuma-GUI",label:"Kuma GitHub Repository"}]:[]});return(n,s)=>(pt(),Wt("div",In,[dt(Pe(jt),{title:"Create a virtual mesh"},{body:$e(()=>[Rn,Oe("div",jn,[dt(Pe(si),{to:{name:"create-mesh"},appearance:"primary"},{default:$e(()=>[ft(" Create mesh ")]),_:1})])]),_:1}),dt(Pe(jt),{title:"Connect data plane proxies"},{body:$e(()=>[Wn,Oe("div",Xn,[dt(Pe(si),{to:Pe(i),appearance:"primary"},{default:$e(()=>[ft(" Get started ")]),_:1},8,["to"])])]),_:1}),dt(Pe(jt),{title:`Apply ${Pe(t)} policies`},{body:$e(()=>[Oe("p",null," We can apply "+oi(Pe(rr))+" policies to secure, observe, route and manage the Mesh and its data plane proxies. ",1),Oe("div",Yn,[dt(Pe(si),{to:e,appearance:"primary"},{default:$e(()=>[ft(" Explore policies ")]),_:1})])]),_:1},8,["title"]),Pe(a).length>0?(pt(),dr(Pe(jt),{key:0,title:"Resources"},{body:$e(()=>[Oe("p",null," Join the "+oi(Pe(rr))+" community and ask questions: ",1),Oe("ul",null,[(pt(!0),Wt(Ka,null,Za(Pe(a),(o,h)=>(pt(),Wt("li",{key:h},[Oe("a",{href:o.link,target:"_blank"},oi(o.label),9,En)]))),128))])]),_:1})):qa("",!0)]))}});const Hn=en(Bn,[["__scopeId","data-v-67d101a0"]]);export{Hn as M,Ln as _,zn as a}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MultiZoneView.221816f5.js b/app/kuma-ui/pkg/resources/data/assets/MultiZoneView.7fb48bf9.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/MultiZoneView.221816f5.js rename to app/kuma-ui/pkg/resources/data/assets/MultiZoneView.7fb48bf9.js index 15a2715ad350..0ced38701a8e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MultiZoneView.221816f5.js +++ b/app/kuma-ui/pkg/resources/data/assets/MultiZoneView.7fb48bf9.js @@ -1 +1 @@ -import{D as Z,M as b,cn as f,k as d,o as n,c as x,w as i,a as r,l as o,t as k,b as l,j as s,z as O,i as t}from"./index.09f51eb8.js";import{L as y}from"./LoadingBox.e4d58f37.js";import{O as z}from"./OnboardingNavigation.06ee2172.js";import{O as I,a as v}from"./OnboardingPage.2f3fde76.js";const g=1e3,T={name:"MultiZoneView",components:{OnboardingNavigation:z,OnboardingHeading:I,OnboardingPage:v,LoadingBox:y,KCard:b},data(){return{hasZones:!1,hasZoneIngresses:!1,zoneTimeout:null,zoneIngressTimeout:null}},computed:{servicesOnline(){return this.hasZoneIngresses&&this.hasZones},...f({kumaDocsVersion:"config/getKumaDocsVersion"}),documentationLink(){return`https://kuma.io/docs/${this.kumaDocsVersion}/deployments/multi-zone/#zone-control-plane`}},created(){this.getZoneIngresses(),this.getZones()},unmounted(){clearTimeout(this.zoneTimeout),clearTimeout(this.zoneIngressTimeout)},methods:{async getZones(){try{const{total:e}=await d.getZones();this.hasZones=e>0}catch(e){console.error(e)}this.hasZones||(this.zoneTimeout=setTimeout(()=>this.getZones(),g))},async getZoneIngresses(){try{const{total:e}=await d.getAllZoneIngressOverviews();this.hasZoneIngresses=e>0}catch(e){console.error(e)}this.hasZoneIngresses||(this.zoneIngressTimeout=setTimeout(()=>this.getZoneIngresses(),g))}}},L=o("p",{class:"text-center mb-4"}," 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),N=["href"],V={class:"text-center my-4"},w={key:0,class:"text-green-500","data-testid":"zone-connected"},B={key:1,class:"text-red-500","data-testid":"zone-disconnected"},C={class:"text-center mt-4 mb-10"},D={key:0,class:"text-green-500","data-testid":"zone-ingress-connected"},A={key:1,class:"text-red-500","data-testid":"zone-ingress-disconnected"},K={key:0,class:"flex justify-center"};function P(e,G,H,M,a,c){const m=t("OnboardingHeading"),h=t("KCard"),u=t("LoadingBox"),_=t("OnboardingNavigation"),p=t("OnboardingPage");return n(),x(p,null,{header:i(()=>[r(m,{title:"Add zones"})]),content:i(()=>[L,r(h,{title:"See the documentation for options to install:","border-variant":"noBorder"},{body:i(()=>[o("a",{target:"_blank",class:"external-link-code-block",href:c.documentationLink},k(c.documentationLink),9,N)]),_:1}),o("div",null,[o("p",V,[l(" Zone status: "),a.hasZones?(n(),s("span",w,"Connected")):(n(),s("span",B,"Disconnected"))]),o("p",C,[l(" Zone ingress status: "),a.hasZoneIngresses?(n(),s("span",D,"Connected")):(n(),s("span",A,"Disconnected"))]),!a.hasZoneIngresses||!a.hasZones?(n(),s("div",K,[r(u)])):O("",!0)])]),navigation:i(()=>[r(_,{"next-step":"onboarding-create-mesh","previous-step":"onboarding-configuration-types","should-allow-next":c.servicesOnline},null,8,["should-allow-next"])]),_:1})}const R=Z(T,[["render",P]]);export{R as default}; +import{D as Z,M as b,cn as f,k as d,o as n,c as x,w as i,a as r,l as o,t as k,b as l,j as s,z as O,i as t}from"./index.47c8bf16.js";import{L as y}from"./LoadingBox.3ecf3ffd.js";import{O as z}from"./OnboardingNavigation.2f2b8505.js";import{O as I,a as v}from"./OnboardingPage.545eed79.js";const g=1e3,T={name:"MultiZoneView",components:{OnboardingNavigation:z,OnboardingHeading:I,OnboardingPage:v,LoadingBox:y,KCard:b},data(){return{hasZones:!1,hasZoneIngresses:!1,zoneTimeout:null,zoneIngressTimeout:null}},computed:{servicesOnline(){return this.hasZoneIngresses&&this.hasZones},...f({kumaDocsVersion:"config/getKumaDocsVersion"}),documentationLink(){return`https://kuma.io/docs/${this.kumaDocsVersion}/deployments/multi-zone/#zone-control-plane`}},created(){this.getZoneIngresses(),this.getZones()},unmounted(){clearTimeout(this.zoneTimeout),clearTimeout(this.zoneIngressTimeout)},methods:{async getZones(){try{const{total:e}=await d.getZones();this.hasZones=e>0}catch(e){console.error(e)}this.hasZones||(this.zoneTimeout=setTimeout(()=>this.getZones(),g))},async getZoneIngresses(){try{const{total:e}=await d.getAllZoneIngressOverviews();this.hasZoneIngresses=e>0}catch(e){console.error(e)}this.hasZoneIngresses||(this.zoneIngressTimeout=setTimeout(()=>this.getZoneIngresses(),g))}}},L=o("p",{class:"text-center mb-4"}," 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),N=["href"],V={class:"text-center my-4"},w={key:0,class:"text-green-500","data-testid":"zone-connected"},B={key:1,class:"text-red-500","data-testid":"zone-disconnected"},C={class:"text-center mt-4 mb-10"},D={key:0,class:"text-green-500","data-testid":"zone-ingress-connected"},A={key:1,class:"text-red-500","data-testid":"zone-ingress-disconnected"},K={key:0,class:"flex justify-center"};function P(e,G,H,M,a,c){const m=t("OnboardingHeading"),h=t("KCard"),u=t("LoadingBox"),_=t("OnboardingNavigation"),p=t("OnboardingPage");return n(),x(p,null,{header:i(()=>[r(m,{title:"Add zones"})]),content:i(()=>[L,r(h,{title:"See the documentation for options to install:","border-variant":"noBorder"},{body:i(()=>[o("a",{target:"_blank",class:"external-link-code-block",href:c.documentationLink},k(c.documentationLink),9,N)]),_:1}),o("div",null,[o("p",V,[l(" Zone status: "),a.hasZones?(n(),s("span",w,"Connected")):(n(),s("span",B,"Disconnected"))]),o("p",C,[l(" Zone ingress status: "),a.hasZoneIngresses?(n(),s("span",D,"Connected")):(n(),s("span",A,"Disconnected"))]),!a.hasZoneIngresses||!a.hasZones?(n(),s("div",K,[r(u)])):O("",!0)])]),navigation:i(()=>[r(_,{"next-step":"onboarding-create-mesh","previous-step":"onboarding-configuration-types","should-allow-next":c.servicesOnline},null,8,["should-allow-next"])]),_:1})}const R=Z(T,[["render",P]]);export{R as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MultizoneInfo.f4c789b7.js b/app/kuma-ui/pkg/resources/data/assets/MultizoneInfo.18ff38aa.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/MultizoneInfo.f4c789b7.js rename to app/kuma-ui/pkg/resources/data/assets/MultizoneInfo.18ff38aa.js index 04c7bcacb85c..54bdf4bd2b8b 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MultizoneInfo.f4c789b7.js +++ b/app/kuma-ui/pkg/resources/data/assets/MultizoneInfo.18ff38aa.js @@ -1 +1 @@ -import{e as u,O as m,K as l,ck as d,cn as _,D as g,i as t,o as K,c as f,w as e,a,l as o,t as k,b as n}from"./index.09f51eb8.js";const y={name:"MultizoneInfo",components:{KButton:u,KEmptyState:m,KIcon:l},data(){return{productName:d}},computed:{..._({kumaDocsVersion:"config/getKumaDocsVersion"})}},B=o("p",null,[n(" To access this page, you must be running in "),o("strong",null,"Multi-Zone"),n(" mode. ")],-1);function D(s,M,N,V,c,h){const r=t("KIcon"),i=t("KButton"),p=t("KEmptyState");return K(),f(p,null,{title:e(()=>[a(r,{class:"kong-icon--centered",icon:"dangerCircleOutline",size:"42"}),o("p",null,k(c.productName)+" is running in Standalone mode.",1)]),message:e(()=>[B]),cta:e(()=>[a(i,{to:`https://kuma.io/docs/${s.kumaDocsVersion}/documentation/deployments/`,target:"_blank",appearance:"primary"},{default:e(()=>[n(" Learn More ")]),_:1},8,["to"])]),_:1})}const S=g(y,[["render",D]]);export{S as M}; +import{e as u,O as m,K as l,ck as d,cn as _,D as g,i as t,o as K,c as f,w as e,a,l as o,t as k,b as n}from"./index.47c8bf16.js";const y={name:"MultizoneInfo",components:{KButton:u,KEmptyState:m,KIcon:l},data(){return{productName:d}},computed:{..._({kumaDocsVersion:"config/getKumaDocsVersion"})}},B=o("p",null,[n(" To access this page, you must be running in "),o("strong",null,"Multi-Zone"),n(" mode. ")],-1);function D(s,M,N,V,c,h){const r=t("KIcon"),i=t("KButton"),p=t("KEmptyState");return K(),f(p,null,{title:e(()=>[a(r,{class:"kong-icon--centered",icon:"dangerCircleOutline",size:"42"}),o("p",null,k(c.productName)+" is running in Standalone mode.",1)]),message:e(()=>[B]),cta:e(()=>[a(i,{to:`https://kuma.io/docs/${s.kumaDocsVersion}/documentation/deployments/`,target:"_blank",appearance:"primary"},{default:e(()=>[n(" Learn More ")]),_:1},8,["to"])]),_:1})}const S=g(y,[["render",D]]);export{S as M}; diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingNavigation.06ee2172.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingNavigation.2f2b8505.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingNavigation.06ee2172.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingNavigation.2f2b8505.js index cc2101445ad9..295048c01979 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingNavigation.06ee2172.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingNavigation.2f2b8505.js @@ -1 +1 @@ -import{D as b,e as g,cP as S,o,j as m,c as r,w as s,b as i,z as d,l as u,A as p,a as f,t as v,i as k}from"./index.09f51eb8.js";const x={name:"OnboardingNavigation",components:{KButton:g},props:{shouldAllowNext:{type:Boolean,default:!0},showSkip:{type:Boolean,default:!0},nextStep:{type:String,required:!0},previousStep:{type:String,default:""},nextStepTitle:{type:String,default:"Next"},lastStep:{type:Boolean,default:!1}},computed:{classes(){return["mt-4 flex items-center flex-col sm:flex-row",{"justify-center":this.lastStep,"justify-between":this.previousStep&&!this.lastStep,"justify-end":!this.previousStep&&!this.lastStep}]}},methods:{...S("onboarding",["completeOnboarding","changeStep"]),skipOnboarding(){this.completeOnboarding(),this.$router.push({name:"home"})}}};function _(l,t,e,h,y,a){const n=k("KButton");return o(),m("div",{class:p(a.classes)},[e.previousStep?(o(),r(n,{key:0,appearance:"primary",class:"navigation-button navigation-button--back",to:{name:e.previousStep},"data-testid":"onboarding-previous-button",onClick:t[0]||(t[0]=c=>l.changeStep(e.previousStep))},{default:s(()=>[i(" Back ")]),_:1},8,["to"])):d("",!0),u("div",null,[e.showSkip?(o(),r(n,{key:0,class:"skip-button",appearance:"btn-link",size:"small","data-testid":"onboarding-skip-button",onClick:a.skipOnboarding},{default:s(()=>[i(" Skip Setup ")]),_:1},8,["onClick"])):d("",!0),u("span",{class:p(["inline-block",{"cursor-not-allowed":!e.shouldAllowNext}])},[f(n,{disabled:!e.shouldAllowNext,class:"navigation-button navigation-button--next",appearance:"primary",to:{name:e.nextStep},"data-testid":"onboarding-next-button",onClick:t[1]||(t[1]=c=>e.lastStep?a.skipOnboarding():l.changeStep(e.nextStep))},{default:s(()=>[i(v(e.nextStepTitle),1)]),_:1},8,["disabled","to"])],2)])],2)}const N=b(x,[["render",_],["__scopeId","data-v-347fece0"]]);export{N as O}; +import{D as b,e as g,cP as S,o,j as m,c as r,w as s,b as i,z as d,l as u,A as p,a as f,t as v,i as k}from"./index.47c8bf16.js";const x={name:"OnboardingNavigation",components:{KButton:g},props:{shouldAllowNext:{type:Boolean,default:!0},showSkip:{type:Boolean,default:!0},nextStep:{type:String,required:!0},previousStep:{type:String,default:""},nextStepTitle:{type:String,default:"Next"},lastStep:{type:Boolean,default:!1}},computed:{classes(){return["mt-4 flex items-center flex-col sm:flex-row",{"justify-center":this.lastStep,"justify-between":this.previousStep&&!this.lastStep,"justify-end":!this.previousStep&&!this.lastStep}]}},methods:{...S("onboarding",["completeOnboarding","changeStep"]),skipOnboarding(){this.completeOnboarding(),this.$router.push({name:"home"})}}};function _(l,t,e,h,y,a){const n=k("KButton");return o(),m("div",{class:p(a.classes)},[e.previousStep?(o(),r(n,{key:0,appearance:"primary",class:"navigation-button navigation-button--back",to:{name:e.previousStep},"data-testid":"onboarding-previous-button",onClick:t[0]||(t[0]=c=>l.changeStep(e.previousStep))},{default:s(()=>[i(" Back ")]),_:1},8,["to"])):d("",!0),u("div",null,[e.showSkip?(o(),r(n,{key:0,class:"skip-button",appearance:"btn-link",size:"small","data-testid":"onboarding-skip-button",onClick:a.skipOnboarding},{default:s(()=>[i(" Skip Setup ")]),_:1},8,["onClick"])):d("",!0),u("span",{class:p(["inline-block",{"cursor-not-allowed":!e.shouldAllowNext}])},[f(n,{disabled:!e.shouldAllowNext,class:"navigation-button navigation-button--next",appearance:"primary",to:{name:e.nextStep},"data-testid":"onboarding-next-button",onClick:t[1]||(t[1]=c=>e.lastStep?a.skipOnboarding():l.changeStep(e.nextStep))},{default:s(()=>[i(v(e.nextStepTitle),1)]),_:1},8,["disabled","to"])],2)])],2)}const N=b(x,[["render",_],["__scopeId","data-v-347fece0"]]);export{N as O}; diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingPage.2f3fde76.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingPage.545eed79.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingPage.2f3fde76.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingPage.545eed79.js index 03772f15e169..e38a36af07a0 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingPage.2f3fde76.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingPage.545eed79.js @@ -1 +1 @@ -import{D as c,o as s,j as o,l as t,t as i,z as p,I as a,A as g,B as u,C as h}from"./index.09f51eb8.js";const b={name:"OnboardingHeading",props:{title:{type:String,required:!0},description:{type:String,default:""}}},m={class:"relative"},v={class:"onboarding-title"},f={key:0,class:"text-center text-lg mt-3"};function $(e,r,n,_,l,d){return s(),o("div",m,[t("h1",v,i(n.title),1),n.description?(s(),o("p",f,i(n.description),1)):p("",!0)])}const C=c(b,[["render",$],["__scopeId","data-v-8a9a6bad"]]);const y={name:"OnboardingContainer",props:{withImage:{type:Boolean,default:!1}},computed:{classes(){return["onboarding-container__content",this.withImage?"onboarding-container__content--with-image":""]}}},I=e=>(u("data-v-0bedcde9"),e=e(),h(),e),O={class:"onboarding-container"},S={class:"onboarding-container__header"},w={class:"w-full"},x=I(()=>t("div",{class:"background-image"},null,-1));function B(e,r,n,_,l,d){return s(),o("div",null,[t("div",O,[t("div",S,[a(e.$slots,"header",{},void 0,!0)]),t("div",{class:g(d.classes)},[t("div",w,[a(e.$slots,"content",{},void 0,!0)])],2),a(e.$slots,"navigation",{},void 0,!0)]),x])}const H=c(y,[["render",B],["__scopeId","data-v-0bedcde9"]]);export{C as O,H as a}; +import{D as c,o as s,j as o,l as t,t as i,z as p,I as a,A as g,B as u,C as h}from"./index.47c8bf16.js";const b={name:"OnboardingHeading",props:{title:{type:String,required:!0},description:{type:String,default:""}}},m={class:"relative"},v={class:"onboarding-title"},f={key:0,class:"text-center text-lg mt-3"};function $(e,r,n,_,l,d){return s(),o("div",m,[t("h1",v,i(n.title),1),n.description?(s(),o("p",f,i(n.description),1)):p("",!0)])}const C=c(b,[["render",$],["__scopeId","data-v-8a9a6bad"]]);const y={name:"OnboardingContainer",props:{withImage:{type:Boolean,default:!1}},computed:{classes(){return["onboarding-container__content",this.withImage?"onboarding-container__content--with-image":""]}}},I=e=>(u("data-v-0bedcde9"),e=e(),h(),e),O={class:"onboarding-container"},S={class:"onboarding-container__header"},w={class:"w-full"},x=I(()=>t("div",{class:"background-image"},null,-1));function B(e,r,n,_,l,d){return s(),o("div",null,[t("div",O,[t("div",S,[a(e.$slots,"header",{},void 0,!0)]),t("div",{class:g(d.classes)},[t("div",w,[a(e.$slots,"content",{},void 0,!0)])],2),a(e.$slots,"navigation",{},void 0,!0)]),x])}const H=c(y,[["render",B],["__scopeId","data-v-0bedcde9"]]);export{C as O,H as a}; diff --git a/app/kuma-ui/pkg/resources/data/assets/PolicyView.7f1f1c09.js b/app/kuma-ui/pkg/resources/data/assets/PolicyView.19af1df7.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/PolicyView.7f1f1c09.js rename to app/kuma-ui/pkg/resources/data/assets/PolicyView.19af1df7.js index 4ca23f3279b5..d9e64656e8fb 100644 --- a/app/kuma-ui/pkg/resources/data/assets/PolicyView.7f1f1c09.js +++ b/app/kuma-ui/pkg/resources/data/assets/PolicyView.19af1df7.js @@ -1 +1 @@ -import{d as B,o as r,c as C,w as s,a as w,u as t,K as G,b as V,e as M,r as e,f as $,g as R,h as Z,k as L,i as J,j as b,l as a,m as Q,v as X,F as U,n as H,t as T,p as ee,q as ae,P as K,s as te,x as se,y as le,z as E,A as ne,B as oe,C as re,D as ie}from"./index.09f51eb8.js";import{D as ue}from"./DataOverview.75cd0a9e.js";import{F as ce}from"./FrameSkeleton.fcef0e24.js";import{_ as O}from"./LabelList.vue_vue_type_style_index_0_lang.6ccc9977.js";import{T as pe}from"./TabsWidget.55b438d0.js";import{Y as me}from"./YamlView.e892619a.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js";import"./ErrorBlock.6cb5eaea.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js";import"./TagList.c6e1c385.js";import"./index.58caa11d.js";import"./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js";import"./_commonjsHelpers.f037b798.js";const de=B({__name:"DocumentationLink",props:{href:{type:String,required:!0}},setup(m){const d=m;return(S,v)=>(r(),C(t(M),{class:"docs-link",appearance:"outline",target:"_blank",to:d.href},{icon:s(()=>[w(t(G),{icon:"externalLink"})]),default:s(()=>[V(" Documentation ")]),_:1},8,["to"]))}}),ve=a("h4",null,"Dataplanes",-1),ye=B({__name:"PolicyConnections",props:{mesh:{type:String,required:!0},policyType:{type:String,required:!0},policyName:{type:String,required:!0}},setup(m){const d=m,S=e(!1),v=e(!0),D=e(!1),_=e([]),y=e(""),g=$(()=>{const i=y.value.toLowerCase();return _.value.filter(({dataplane:l})=>l.name.toLowerCase().includes(i))});R(()=>d.policyName,function(){h()}),Z(function(){h()});async function h(){D.value=!1,v.value=!0;try{const{items:i,total:l}=await L.getPolicyConnections({mesh:d.mesh,policyType:d.policyType,policyName:d.policyName});S.value=l>0,_.value=i}catch{D.value=!0}finally{v.value=!1}}return(i,l)=>{const P=J("router-link");return r(),b("div",null,[w(O,{"has-error":D.value,"is-loading":v.value,"is-empty":!S.value},{default:s(()=>[a("ul",null,[a("li",null,[ve,Q(a("input",{id:"dataplane-search","onUpdate:modelValue":l[0]||(l[0]=u=>y.value=u),type:"text",class:"k-input mb-4",placeholder:"Filter by name",required:"","data-testid":"dataplane-search-input"},null,512),[[X,y.value]]),(r(!0),b(U,null,H(t(g),(u,k)=>(r(),b("p",{key:k,class:"my-1","data-testid":"dataplane-name"},[w(P,{to:{name:"data-plane-detail-view",params:{mesh:u.dataplane.mesh,dataPlane:u.dataplane.name}}},{default:s(()=>[V(T(u.dataplane.name),1)]),_:2},1032,["to"])]))),128))])])]),_:1},8,["has-error","is-loading","is-empty"])])}}}),W=m=>(oe("data-v-4eaa60dc"),m=m(),re(),m),he={key:0,class:"mb-4"},fe=W(()=>a("p",null,[a("strong",null,"Warning"),V(" This policy is experimental. If you encountered any problem please open an "),a("a",{href:"https://github.com/kumahq/kuma/issues/new/choose",target:"_blank",rel:"noopener noreferrer"},"issue")],-1)),_e=W(()=>a("span",{class:"custom-control-icon"}," \u2190 ",-1)),ge={"data-testid":"policy-single-entity"},ke={"data-testid":"policy-overview-tab"},we={class:"config-wrapper"},be=B({__name:"PolicyView",props:{policyPath:{type:String,required:!0}},setup(m){const d=m,S=[{hash:"#overview",title:"Overview"},{hash:"#affected-dpps",title:"Affected DPPs"}],v=ee(),D=ae(),_=e(!0),y=e(!1),g=e(null),h=e(!0),i=e(!1),l=e(!1),P=e(!1),u=e({}),k=e(null),N=e(null),q=e({headers:[{label:"Actions",key:"actions",hideLabel:!0},{label:"Name",key:"name"},{label:"Mesh",key:"mesh"},{label:"Type",key:"type"}],data:[]}),c=$(()=>D.state.policiesByPath[d.policyPath]),Y=$(()=>`https://kuma.io/docs/${D.getters["config/getKumaDocsVersion"]}/policies/${c.value.path}/`);R(()=>v.params.mesh,function(){v.name===d.policyPath&&(_.value=!0,y.value=!1,h.value=!0,i.value=!1,l.value=!1,P.value=!1,g.value=null,A())}),A();async function A(n=0){_.value=!0,g.value=null;const o=v.query.ns||null,f=v.params.mesh,x=c.value.path;try{let p;if(f!==null&&o!==null)p=[await L.getSinglePolicyEntity({mesh:f,path:x,name:o})],N.value=null;else{const I={size:K,offset:n},z=await L.getAllPolicyEntitiesFromMesh({mesh:f,path:x},I);p=z.items,N.value=z.next}p.length>0?(q.value.data=p.map(I=>j(I)),P.value=!1,y.value=!1,await F({mesh:p[0].mesh,name:p[0].name,path:x})):(q.value.data=[],P.value=!0,y.value=!0,i.value=!0)}catch(p){p instanceof Error?g.value=p:console.error(p),y.value=!0}finally{_.value=!1,h.value=!1}}function j(n){if(!n.mesh)return n;const o=n,f={name:"mesh-detail-view",params:{mesh:n.mesh}};return o.meshRoute=f,o}async function F(n){l.value=!1,h.value=!0,i.value=!1;try{const o=await L.getSinglePolicyEntity({mesh:n.mesh,path:c.value.path,name:n.name});if(o){const f=["type","name","mesh"];u.value=te(o,f),k.value=se(o)}else u.value={},i.value=!0}catch(o){l.value=!0,console.error(o)}finally{h.value=!1}}return(n,o)=>t(c)?(r(),b("div",{key:0,class:ne(["relative",t(c).path])},[t(c).isExperimental?(r(),b("div",he,[w(t(le),{appearance:"warning"},{alertMessage:s(()=>[fe]),_:1})])):E("",!0),w(ce,null,{default:s(()=>[w(ue,{"selected-entity-name":u.value.name,"page-size":t(K),error:g.value,"is-loading":_.value,"empty-state":{title:"No Data",message:`There are no ${t(c).pluralDisplayName} present.`},"table-data":q.value,"table-data-is-empty":P.value,next:N.value,onTableAction:F,onLoadData:A},{additionalControls:s(()=>[w(de,{href:t(Y),"data-testid":"policy-documentation-link"},null,8,["href"]),n.$route.query.ns?(r(),C(t(M),{key:0,class:"back-button",appearance:"primary",to:{name:t(c).path}},{default:s(()=>[_e,V(" View All ")]),_:1},8,["to"])):E("",!0)]),default:s(()=>[V(" > ")]),_:1},8,["selected-entity-name","page-size","error","is-loading","empty-state","table-data","table-data-is-empty","next"]),y.value===!1?(r(),C(pe,{key:0,"has-error":g.value!==null,error:g.value,"is-loading":_.value,tabs:S,"initial-tab-override":"overview"},{tabHeader:s(()=>[a("div",null,[a("h3",ge,T(t(c).singularDisplayName)+": "+T(u.value.name),1)])]),overview:s(()=>[w(O,{"has-error":l.value,"is-loading":h.value,"is-empty":i.value},{default:s(()=>[a("div",ke,[a("ul",null,[(r(!0),b(U,null,H(u.value,(f,x)=>(r(),b("li",{key:x},[a("h4",null,T(x),1),a("p",null,T(f),1)]))),128))])])]),_:1},8,["has-error","is-loading","is-empty"]),a("div",we,[k.value!==null?(r(),C(me,{key:0,id:"code-block-policy","has-error":l.value,"is-loading":h.value,"is-empty":i.value,content:k.value,"is-searchable":""},null,8,["has-error","is-loading","is-empty","content"])):E("",!0)])]),"affected-dpps":s(()=>[k.value!==null?(r(),C(ye,{key:0,mesh:k.value.mesh,"policy-name":k.value.name,"policy-type":t(c).path},null,8,["mesh","policy-name","policy-type"])):E("",!0)]),_:1},8,["has-error","error","is-loading"])):E("",!0)]),_:1})],2)):E("",!0)}});const $e=ie(be,[["__scopeId","data-v-4eaa60dc"]]);export{$e as default}; +import{d as B,o as r,c as C,w as s,a as w,u as t,K as G,b as V,e as M,r as e,f as $,g as R,h as Z,k as L,i as J,j as b,l as a,m as Q,v as X,F as U,n as H,t as T,p as ee,q as ae,P as K,s as te,x as se,y as le,z as E,A as ne,B as oe,C as re,D as ie}from"./index.47c8bf16.js";import{D as ue}from"./DataOverview.ae0ae0a9.js";import{F as ce}from"./FrameSkeleton.0676501d.js";import{_ as O}from"./LabelList.vue_vue_type_style_index_0_lang.96dd97a6.js";import{T as pe}from"./TabsWidget.a8296b4a.js";import{Y as me}from"./YamlView.941aa063.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js";import"./ErrorBlock.456ea0f6.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js";import"./TagList.d43e2716.js";import"./index.58caa11d.js";import"./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js";import"./_commonjsHelpers.f037b798.js";const de=B({__name:"DocumentationLink",props:{href:{type:String,required:!0}},setup(m){const d=m;return(S,v)=>(r(),C(t(M),{class:"docs-link",appearance:"outline",target:"_blank",to:d.href},{icon:s(()=>[w(t(G),{icon:"externalLink"})]),default:s(()=>[V(" Documentation ")]),_:1},8,["to"]))}}),ve=a("h4",null,"Dataplanes",-1),ye=B({__name:"PolicyConnections",props:{mesh:{type:String,required:!0},policyType:{type:String,required:!0},policyName:{type:String,required:!0}},setup(m){const d=m,S=e(!1),v=e(!0),D=e(!1),_=e([]),y=e(""),g=$(()=>{const i=y.value.toLowerCase();return _.value.filter(({dataplane:l})=>l.name.toLowerCase().includes(i))});R(()=>d.policyName,function(){h()}),Z(function(){h()});async function h(){D.value=!1,v.value=!0;try{const{items:i,total:l}=await L.getPolicyConnections({mesh:d.mesh,policyType:d.policyType,policyName:d.policyName});S.value=l>0,_.value=i}catch{D.value=!0}finally{v.value=!1}}return(i,l)=>{const P=J("router-link");return r(),b("div",null,[w(O,{"has-error":D.value,"is-loading":v.value,"is-empty":!S.value},{default:s(()=>[a("ul",null,[a("li",null,[ve,Q(a("input",{id:"dataplane-search","onUpdate:modelValue":l[0]||(l[0]=u=>y.value=u),type:"text",class:"k-input mb-4",placeholder:"Filter by name",required:"","data-testid":"dataplane-search-input"},null,512),[[X,y.value]]),(r(!0),b(U,null,H(t(g),(u,k)=>(r(),b("p",{key:k,class:"my-1","data-testid":"dataplane-name"},[w(P,{to:{name:"data-plane-detail-view",params:{mesh:u.dataplane.mesh,dataPlane:u.dataplane.name}}},{default:s(()=>[V(T(u.dataplane.name),1)]),_:2},1032,["to"])]))),128))])])]),_:1},8,["has-error","is-loading","is-empty"])])}}}),W=m=>(oe("data-v-4eaa60dc"),m=m(),re(),m),he={key:0,class:"mb-4"},fe=W(()=>a("p",null,[a("strong",null,"Warning"),V(" This policy is experimental. If you encountered any problem please open an "),a("a",{href:"https://github.com/kumahq/kuma/issues/new/choose",target:"_blank",rel:"noopener noreferrer"},"issue")],-1)),_e=W(()=>a("span",{class:"custom-control-icon"}," \u2190 ",-1)),ge={"data-testid":"policy-single-entity"},ke={"data-testid":"policy-overview-tab"},we={class:"config-wrapper"},be=B({__name:"PolicyView",props:{policyPath:{type:String,required:!0}},setup(m){const d=m,S=[{hash:"#overview",title:"Overview"},{hash:"#affected-dpps",title:"Affected DPPs"}],v=ee(),D=ae(),_=e(!0),y=e(!1),g=e(null),h=e(!0),i=e(!1),l=e(!1),P=e(!1),u=e({}),k=e(null),N=e(null),q=e({headers:[{label:"Actions",key:"actions",hideLabel:!0},{label:"Name",key:"name"},{label:"Mesh",key:"mesh"},{label:"Type",key:"type"}],data:[]}),c=$(()=>D.state.policiesByPath[d.policyPath]),Y=$(()=>`https://kuma.io/docs/${D.getters["config/getKumaDocsVersion"]}/policies/${c.value.path}/`);R(()=>v.params.mesh,function(){v.name===d.policyPath&&(_.value=!0,y.value=!1,h.value=!0,i.value=!1,l.value=!1,P.value=!1,g.value=null,A())}),A();async function A(n=0){_.value=!0,g.value=null;const o=v.query.ns||null,f=v.params.mesh,x=c.value.path;try{let p;if(f!==null&&o!==null)p=[await L.getSinglePolicyEntity({mesh:f,path:x,name:o})],N.value=null;else{const I={size:K,offset:n},z=await L.getAllPolicyEntitiesFromMesh({mesh:f,path:x},I);p=z.items,N.value=z.next}p.length>0?(q.value.data=p.map(I=>j(I)),P.value=!1,y.value=!1,await F({mesh:p[0].mesh,name:p[0].name,path:x})):(q.value.data=[],P.value=!0,y.value=!0,i.value=!0)}catch(p){p instanceof Error?g.value=p:console.error(p),y.value=!0}finally{_.value=!1,h.value=!1}}function j(n){if(!n.mesh)return n;const o=n,f={name:"mesh-detail-view",params:{mesh:n.mesh}};return o.meshRoute=f,o}async function F(n){l.value=!1,h.value=!0,i.value=!1;try{const o=await L.getSinglePolicyEntity({mesh:n.mesh,path:c.value.path,name:n.name});if(o){const f=["type","name","mesh"];u.value=te(o,f),k.value=se(o)}else u.value={},i.value=!0}catch(o){l.value=!0,console.error(o)}finally{h.value=!1}}return(n,o)=>t(c)?(r(),b("div",{key:0,class:ne(["relative",t(c).path])},[t(c).isExperimental?(r(),b("div",he,[w(t(le),{appearance:"warning"},{alertMessage:s(()=>[fe]),_:1})])):E("",!0),w(ce,null,{default:s(()=>[w(ue,{"selected-entity-name":u.value.name,"page-size":t(K),error:g.value,"is-loading":_.value,"empty-state":{title:"No Data",message:`There are no ${t(c).pluralDisplayName} present.`},"table-data":q.value,"table-data-is-empty":P.value,next:N.value,onTableAction:F,onLoadData:A},{additionalControls:s(()=>[w(de,{href:t(Y),"data-testid":"policy-documentation-link"},null,8,["href"]),n.$route.query.ns?(r(),C(t(M),{key:0,class:"back-button",appearance:"primary",to:{name:t(c).path}},{default:s(()=>[_e,V(" View All ")]),_:1},8,["to"])):E("",!0)]),default:s(()=>[V(" > ")]),_:1},8,["selected-entity-name","page-size","error","is-loading","empty-state","table-data","table-data-is-empty","next"]),y.value===!1?(r(),C(pe,{key:0,"has-error":g.value!==null,error:g.value,"is-loading":_.value,tabs:S,"initial-tab-override":"overview"},{tabHeader:s(()=>[a("div",null,[a("h3",ge,T(t(c).singularDisplayName)+": "+T(u.value.name),1)])]),overview:s(()=>[w(O,{"has-error":l.value,"is-loading":h.value,"is-empty":i.value},{default:s(()=>[a("div",ke,[a("ul",null,[(r(!0),b(U,null,H(u.value,(f,x)=>(r(),b("li",{key:x},[a("h4",null,T(x),1),a("p",null,T(f),1)]))),128))])])]),_:1},8,["has-error","is-loading","is-empty"]),a("div",we,[k.value!==null?(r(),C(me,{key:0,id:"code-block-policy","has-error":l.value,"is-loading":h.value,"is-empty":i.value,content:k.value,"is-searchable":""},null,8,["has-error","is-loading","is-empty","content"])):E("",!0)])]),"affected-dpps":s(()=>[k.value!==null?(r(),C(ye,{key:0,mesh:k.value.mesh,"policy-name":k.value.name,"policy-type":t(c).path},null,8,["mesh","policy-name","policy-type"])):E("",!0)]),_:1},8,["has-error","error","is-loading"])):E("",!0)]),_:1})],2)):E("",!0)}});const $e=ie(be,[["__scopeId","data-v-4eaa60dc"]]);export{$e as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceDetails.52ea2042.js b/app/kuma-ui/pkg/resources/data/assets/ServiceDetails.fa93c8a9.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/ServiceDetails.52ea2042.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceDetails.fa93c8a9.js index 5ae8a3101f69..69cc449edb1e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceDetails.52ea2042.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceDetails.fa93c8a9.js @@ -1 +1 @@ -import{d as k,f as v,x as E,o as n,j as _,l as e,a as m,w as T,b as y,t as l,u as a,z as I,i as B,B as C,C as q,D as $,cB as V,A as j,F as w,r as f,g as b,k as D,c as p}from"./index.09f51eb8.js";import{T as L}from"./TagList.c6e1c385.js";import{Y as A}from"./YamlView.e892619a.js";import{_ as N}from"./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js";import{E as P}from"./ErrorBlock.6cb5eaea.js";import{_ as O}from"./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js";const g=s=>(C("data-v-f86974e1"),s=s(),q(),s),z={class:"entity-summary entity-section-list"},F={class:"entity-title"},M=g(()=>e("span",{class:"kutil-sr-only"},"Service:",-1)),R={class:"definition"},Y=g(()=>e("span",null,"Mesh:",-1)),U={class:"definition"},G=g(()=>e("span",null,"Address:",-1)),H={class:"definition"},J=g(()=>e("span",null,"TLS:",-1)),K={key:0},Q=g(()=>e("h4",null,"Tags",-1)),W=k({__name:"ExternalServiceDetails",props:{externalService:{type:Object,required:!0}},setup(s){const t=s,o=v(()=>({name:"external-service-detail-view",params:{service:t.externalService.name,mesh:t.externalService.mesh}})),i=v(()=>Object.entries(t.externalService.tags).map(([r,c])=>({label:r,value:c}))),u=v(()=>E(t.externalService));return(r,c)=>{var d;const h=B("router-link");return n(),_("div",z,[e("h3",F,[M,m(h,{to:a(o)},{default:T(()=>[y(l(s.externalService.name),1)]),_:1},8,["to"])]),e("section",null,[e("div",R,[Y,e("span",null,l(s.externalService.mesh),1)]),e("div",U,[G,e("span",null,l(t.externalService.networking.address),1)]),e("div",H,[J,e("span",null,l((d=t.externalService.networking.tls)!=null&&d.enabled?"Enabled":"Disabled"),1)])]),a(i).length>0?(n(),_("section",K,[Q,m(L,{tags:a(i)},null,8,["tags"])])):I("",!0),m(A,{id:"code-block-external-service",content:a(u),"is-searchable":""},null,8,["content"])])}}});const X=$(W,[["__scopeId","data-v-f86974e1"]]),S=s=>(C("data-v-a76bcfee"),s=s(),q(),s),Z={class:"entity-summary entity-section-list"},ee={class:"entity-title"},te=S(()=>e("span",{class:"kutil-sr-only"},"Service:",-1)),se={class:"definition"},ne=S(()=>e("span",null,"Mesh:",-1)),ie={class:"definition"},ae=S(()=>e("span",null,"Address:",-1)),ce={key:0,class:"definition"},re=S(()=>e("span",null,"DP proxies (online / total):",-1)),le=k({__name:"ServiceInsightDetails",props:{serviceInsight:{type:Object,required:!0}},setup(s){const t=s,o=v(()=>({name:t.serviceInsight.serviceType==="external"?"external-service-detail-view":"service-insight-detail-view",params:{service:t.serviceInsight.name,mesh:t.serviceInsight.mesh}})),i=v(()=>t.serviceInsight.status?V[t.serviceInsight.status]:null),u=v(()=>{var c;return t.serviceInsight.dataplanes?`${(c=t.serviceInsight.dataplanes.online)!=null?c:0} / ${t.serviceInsight.dataplanes.total}`:null}),r=v(()=>E(t.serviceInsight));return(c,h)=>{const d=B("router-link");return n(),_("div",Z,[e("h3",ee,[te,m(d,{to:a(o)},{default:T(()=>[y(l(s.serviceInsight.name),1)]),_:1},8,["to"]),a(i)!==null?(n(),_("div",{key:0,class:j(`status status--${a(i).appearance}`),"data-testid":"data-plane-status-badge"},l(a(i).title.toLowerCase()),3)):I("",!0)]),e("section",null,[e("div",se,[ne,e("span",null,l(s.serviceInsight.mesh),1)]),e("div",ie,[ae,e("span",null,[s.serviceInsight.addressPort?(n(),_(w,{key:0},[y(l(s.serviceInsight.addressPort),1)],64)):(n(),_(w,{key:1},[y("\u2014")],64))])]),a(u)!==null?(n(),_("div",ce,[re,e("span",null,l(a(u)),1)])):I("",!0)]),m(A,{id:"code-block-service-insight",content:a(r),"is-searchable":""},null,8,["content"])])}}});const oe=$(le,[["__scopeId","data-v-a76bcfee"]]),ue={class:"service-details"},de=k({__name:"ServiceDetails",props:{serviceType:{type:String,required:!1,default:"internal"},name:{type:String,required:!0},mesh:{type:String,required:!0}},setup(s){const t=s,o=f(null),i=f(null),u=f(!0),r=f(null);b(()=>t.mesh,function(){c()}),b(()=>t.name,function(){c()}),c();async function c(){u.value=!0,r.value=null,o.value=null,i.value=null;const h=t.mesh,d=t.name;try{t.serviceType==="external"?i.value=await D.getExternalService({mesh:h,name:d}):o.value=await D.getServiceInsight({mesh:h,name:d})}catch(x){x instanceof Error?r.value=x:console.error(x)}finally{u.value=!1}}return(h,d)=>(n(),_("div",ue,[u.value?(n(),p(O,{key:0})):r.value!==null?(n(),p(P,{key:1,error:r.value},null,8,["error"])):o.value!==null?(n(),p(oe,{key:2,"service-insight":o.value},null,8,["service-insight"])):i.value!==null?(n(),p(X,{key:3,"external-service":i.value},null,8,["external-service"])):(n(),p(N,{key:4}))]))}});const fe=$(de,[["__scopeId","data-v-c0c06f69"]]);export{fe as S}; +import{d as k,f as v,x as E,o as n,j as _,l as e,a as m,w as T,b as y,t as l,u as a,z as I,i as B,B as C,C as q,D as $,cB as V,A as j,F as w,r as f,g as b,k as D,c as p}from"./index.47c8bf16.js";import{T as L}from"./TagList.d43e2716.js";import{Y as A}from"./YamlView.941aa063.js";import{_ as N}from"./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js";import{E as P}from"./ErrorBlock.456ea0f6.js";import{_ as O}from"./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js";const g=s=>(C("data-v-f86974e1"),s=s(),q(),s),z={class:"entity-summary entity-section-list"},F={class:"entity-title"},M=g(()=>e("span",{class:"kutil-sr-only"},"Service:",-1)),R={class:"definition"},Y=g(()=>e("span",null,"Mesh:",-1)),U={class:"definition"},G=g(()=>e("span",null,"Address:",-1)),H={class:"definition"},J=g(()=>e("span",null,"TLS:",-1)),K={key:0},Q=g(()=>e("h4",null,"Tags",-1)),W=k({__name:"ExternalServiceDetails",props:{externalService:{type:Object,required:!0}},setup(s){const t=s,o=v(()=>({name:"external-service-detail-view",params:{service:t.externalService.name,mesh:t.externalService.mesh}})),i=v(()=>Object.entries(t.externalService.tags).map(([r,c])=>({label:r,value:c}))),u=v(()=>E(t.externalService));return(r,c)=>{var d;const h=B("router-link");return n(),_("div",z,[e("h3",F,[M,m(h,{to:a(o)},{default:T(()=>[y(l(s.externalService.name),1)]),_:1},8,["to"])]),e("section",null,[e("div",R,[Y,e("span",null,l(s.externalService.mesh),1)]),e("div",U,[G,e("span",null,l(t.externalService.networking.address),1)]),e("div",H,[J,e("span",null,l((d=t.externalService.networking.tls)!=null&&d.enabled?"Enabled":"Disabled"),1)])]),a(i).length>0?(n(),_("section",K,[Q,m(L,{tags:a(i)},null,8,["tags"])])):I("",!0),m(A,{id:"code-block-external-service",content:a(u),"is-searchable":""},null,8,["content"])])}}});const X=$(W,[["__scopeId","data-v-f86974e1"]]),S=s=>(C("data-v-a76bcfee"),s=s(),q(),s),Z={class:"entity-summary entity-section-list"},ee={class:"entity-title"},te=S(()=>e("span",{class:"kutil-sr-only"},"Service:",-1)),se={class:"definition"},ne=S(()=>e("span",null,"Mesh:",-1)),ie={class:"definition"},ae=S(()=>e("span",null,"Address:",-1)),ce={key:0,class:"definition"},re=S(()=>e("span",null,"DP proxies (online / total):",-1)),le=k({__name:"ServiceInsightDetails",props:{serviceInsight:{type:Object,required:!0}},setup(s){const t=s,o=v(()=>({name:t.serviceInsight.serviceType==="external"?"external-service-detail-view":"service-insight-detail-view",params:{service:t.serviceInsight.name,mesh:t.serviceInsight.mesh}})),i=v(()=>t.serviceInsight.status?V[t.serviceInsight.status]:null),u=v(()=>{var c;return t.serviceInsight.dataplanes?`${(c=t.serviceInsight.dataplanes.online)!=null?c:0} / ${t.serviceInsight.dataplanes.total}`:null}),r=v(()=>E(t.serviceInsight));return(c,h)=>{const d=B("router-link");return n(),_("div",Z,[e("h3",ee,[te,m(d,{to:a(o)},{default:T(()=>[y(l(s.serviceInsight.name),1)]),_:1},8,["to"]),a(i)!==null?(n(),_("div",{key:0,class:j(`status status--${a(i).appearance}`),"data-testid":"data-plane-status-badge"},l(a(i).title.toLowerCase()),3)):I("",!0)]),e("section",null,[e("div",se,[ne,e("span",null,l(s.serviceInsight.mesh),1)]),e("div",ie,[ae,e("span",null,[s.serviceInsight.addressPort?(n(),_(w,{key:0},[y(l(s.serviceInsight.addressPort),1)],64)):(n(),_(w,{key:1},[y("\u2014")],64))])]),a(u)!==null?(n(),_("div",ce,[re,e("span",null,l(a(u)),1)])):I("",!0)]),m(A,{id:"code-block-service-insight",content:a(r),"is-searchable":""},null,8,["content"])])}}});const oe=$(le,[["__scopeId","data-v-a76bcfee"]]),ue={class:"service-details"},de=k({__name:"ServiceDetails",props:{serviceType:{type:String,required:!1,default:"internal"},name:{type:String,required:!0},mesh:{type:String,required:!0}},setup(s){const t=s,o=f(null),i=f(null),u=f(!0),r=f(null);b(()=>t.mesh,function(){c()}),b(()=>t.name,function(){c()}),c();async function c(){u.value=!0,r.value=null,o.value=null,i.value=null;const h=t.mesh,d=t.name;try{t.serviceType==="external"?i.value=await D.getExternalService({mesh:h,name:d}):o.value=await D.getServiceInsight({mesh:h,name:d})}catch(x){x instanceof Error?r.value=x:console.error(x)}finally{u.value=!1}}return(h,d)=>(n(),_("div",ue,[u.value?(n(),p(O,{key:0})):r.value!==null?(n(),p(P,{key:1,error:r.value},null,8,["error"])):o.value!==null?(n(),p(oe,{key:2,"service-insight":o.value},null,8,["service-insight"])):i.value!==null?(n(),p(X,{key:3,"external-service":i.value},null,8,["external-service"])):(n(),p(N,{key:4}))]))}});const fe=$(de,[["__scopeId","data-v-c0c06f69"]]);export{fe as S}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceInsightDetailView.1f1bbe33.js b/app/kuma-ui/pkg/resources/data/assets/ServiceInsightDetailView.1f1bbe33.js deleted file mode 100644 index c79a200e467f..000000000000 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceInsightDetailView.1f1bbe33.js +++ /dev/null @@ -1 +0,0 @@ -import{d as r,p as s,o,c as a,u as t,q as m}from"./index.09f51eb8.js";import{S as i}from"./ServiceDetails.52ea2042.js";import"./TagList.c6e1c385.js";import"./YamlView.e892619a.js";import"./index.58caa11d.js";import"./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js";import"./_commonjsHelpers.f037b798.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js";import"./ErrorBlock.6cb5eaea.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js";const B=r({__name:"ServiceInsightDetailView",setup(p){const e=s();return m().dispatch("updatePageTitle",e.params.service),(c,u)=>(o(),a(i,{class:"component-frame","service-type":"internal",name:t(e).params.service,mesh:t(e).params.mesh},null,8,["name","mesh"]))}});export{B as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceInsightDetailView.772866c6.js b/app/kuma-ui/pkg/resources/data/assets/ServiceInsightDetailView.772866c6.js new file mode 100644 index 000000000000..93f483ad3829 --- /dev/null +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceInsightDetailView.772866c6.js @@ -0,0 +1 @@ +import{d as r,p as s,o,c as a,u as t,q as m}from"./index.47c8bf16.js";import{S as i}from"./ServiceDetails.fa93c8a9.js";import"./TagList.d43e2716.js";import"./YamlView.941aa063.js";import"./index.58caa11d.js";import"./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js";import"./_commonjsHelpers.f037b798.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js";import"./ErrorBlock.456ea0f6.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js";const B=r({__name:"ServiceInsightDetailView",setup(p){const e=s();return m().dispatch("updatePageTitle",e.params.service),(c,u)=>(o(),a(i,{class:"component-frame","service-type":"internal",name:t(e).params.service,mesh:t(e).params.mesh},null,8,["name","mesh"]))}});export{B as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceListView.7d2892e3.js b/app/kuma-ui/pkg/resources/data/assets/ServiceListView.4c5935ab.js similarity index 80% rename from app/kuma-ui/pkg/resources/data/assets/ServiceListView.7d2892e3.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceListView.4c5935ab.js index 6d1b2e04c1ba..87aa032e86c7 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceListView.7d2892e3.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceListView.4c5935ab.js @@ -1 +1 @@ -import{d as A,p as D,r as n,g as C,k as g,cB as E,o as h,c as b,w as S,a as P,z}from"./index.09f51eb8.js";import{C as L}from"./ContentWrapper.dfc9e5ec.js";import{D as M}from"./DataOverview.75cd0a9e.js";import{S as N}from"./ServiceDetails.52ea2042.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js";import"./ErrorBlock.6cb5eaea.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js";import"./TagList.c6e1c385.js";import"./YamlView.e892619a.js";import"./index.58caa11d.js";import"./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js";import"./_commonjsHelpers.f037b798.js";const H=A({__name:"ServiceListView",setup(R){const T=[{label:"Service",key:"name"},{label:"Mesh",key:"mesh"},{label:"Type",key:"serviceType"},{label:"Address",key:"address"},{label:"Status",key:"status"},{label:"DP proxies (online / total)",key:"dpProxiesStatus"}],d=50,x={title:"No Data",message:"There are no service insights present."},u=D(),c=n(!0),p=n(null),y=n(null),t=n(null),o=n({headers:T,data:[]});C(()=>u.params.mesh,function(){u.name==="service-list-view"&&v(0)}),v(0);async function v(e){c.value=!0,p.value=null;const i=u.params.mesh,l=d;try{const{items:a=[],next:m}=await g.getAllServiceInsightsFromMesh({mesh:i},{size:l,offset:e});y.value=m,Array.isArray(a)&&a.length>0?(a.sort((s,r)=>s.name>r.name?1:s.namek(s))):(t.value=null,o.value.data=[])}catch(a){t.value=null,a instanceof Error?p.value=a:console.error(a)}finally{c.value=!1}}function k(e){var r;const i={name:e.serviceType==="external"?"external-service-detail-view":"service-insight-detail-view",params:{mesh:e.mesh,service:e.name}},l={name:"mesh-detail-view",params:{mesh:e.mesh}};let a="\u2014";if(e.dataplanes){const{online:_=0,total:w=0}=e.dataplanes;a=`${_} / ${w}`}let m="\u2014";e.status&&(m=E[e.status].title);const s=(r=e.serviceType)!=null?r:"internal";return{...e,serviceType:s,nameRoute:i,meshRoute:l,dpProxiesStatus:a,status:m}}function f(e){t.value=e}return(e,i)=>(h(),b(L,null,{content:S(()=>{var l;return[P(M,{"selected-entity-name":(l=t.value)==null?void 0:l.name,"page-size":d,error:p.value,"is-loading":c.value,"empty-state":x,"table-data":o.value,"table-data-is-empty":o.value.data.length===0,next:y.value,onTableAction:f,onLoadData:v},null,8,["selected-entity-name","error","is-loading","table-data","table-data-is-empty","next"])]}),sidebar:S(()=>[t.value!==null?(h(),b(N,{key:0,name:t.value.name,mesh:t.value.mesh,"service-type":t.value.serviceType},null,8,["name","mesh","service-type"])):z("",!0)]),_:1}))}});export{H as default}; +import{d as A,p as D,r as n,g as C,k as g,cB as E,o as h,c as b,w as S,a as P,z}from"./index.47c8bf16.js";import{C as L}from"./ContentWrapper.1e8852e7.js";import{D as M}from"./DataOverview.ae0ae0a9.js";import{S as N}from"./ServiceDetails.fa93c8a9.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js";import"./ErrorBlock.456ea0f6.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js";import"./TagList.d43e2716.js";import"./YamlView.941aa063.js";import"./index.58caa11d.js";import"./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js";import"./_commonjsHelpers.f037b798.js";const H=A({__name:"ServiceListView",setup(R){const T=[{label:"Service",key:"name"},{label:"Mesh",key:"mesh"},{label:"Type",key:"serviceType"},{label:"Address",key:"address"},{label:"Status",key:"status"},{label:"DP proxies (online / total)",key:"dpProxiesStatus"}],d=50,x={title:"No Data",message:"There are no service insights present."},u=D(),c=n(!0),p=n(null),y=n(null),t=n(null),o=n({headers:T,data:[]});C(()=>u.params.mesh,function(){u.name==="service-list-view"&&v(0)}),v(0);async function v(e){c.value=!0,p.value=null;const i=u.params.mesh,l=d;try{const{items:a=[],next:m}=await g.getAllServiceInsightsFromMesh({mesh:i},{size:l,offset:e});y.value=m,Array.isArray(a)&&a.length>0?(a.sort((s,r)=>s.name>r.name?1:s.namek(s))):(t.value=null,o.value.data=[])}catch(a){t.value=null,a instanceof Error?p.value=a:console.error(a)}finally{c.value=!1}}function k(e){var r;const i={name:e.serviceType==="external"?"external-service-detail-view":"service-insight-detail-view",params:{mesh:e.mesh,service:e.name}},l={name:"mesh-detail-view",params:{mesh:e.mesh}};let a="\u2014";if(e.dataplanes){const{online:_=0,total:w=0}=e.dataplanes;a=`${_} / ${w}`}let m="\u2014";e.status&&(m=E[e.status].title);const s=(r=e.serviceType)!=null?r:"internal";return{...e,serviceType:s,nameRoute:i,meshRoute:l,dpProxiesStatus:a,status:m}}function f(e){t.value=e}return(e,i)=>(h(),b(L,null,{content:S(()=>{var l;return[P(M,{"selected-entity-name":(l=t.value)==null?void 0:l.name,"page-size":d,error:p.value,"is-loading":c.value,"empty-state":x,"table-data":o.value,"table-data-is-empty":o.value.data.length===0,next:y.value,onTableAction:f,onLoadData:v},null,8,["selected-entity-name","error","is-loading","table-data","table-data-is-empty","next"])]}),sidebar:S(()=>[t.value!==null?(h(),b(N,{key:0,name:t.value.name,mesh:t.value.mesh,"service-type":t.value.serviceType},null,8,["name","mesh","service-type"])):z("",!0)]),_:1}))}});export{H as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ShellEmpty.7d3757ba.js b/app/kuma-ui/pkg/resources/data/assets/ShellEmpty.37f00567.js similarity index 81% rename from app/kuma-ui/pkg/resources/data/assets/ShellEmpty.7d3757ba.js rename to app/kuma-ui/pkg/resources/data/assets/ShellEmpty.37f00567.js index 7a8bfe735ea1..a0625334e33f 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ShellEmpty.7d3757ba.js +++ b/app/kuma-ui/pkg/resources/data/assets/ShellEmpty.37f00567.js @@ -1 +1 @@ -import{D as s,o as e,c as o,w as t,a as r,cy as c,cN as l,i as p}from"./index.09f51eb8.js";const _={name:"ShellEmpty"};function i(m,u,d,f,h,v){const a=p("router-view");return e(),o(a,null,{default:t(({Component:n})=>[r(l,{mode:"out-in",name:"fade"},{default:t(()=>[(e(),o(c(n)))]),_:2},1024)]),_:1})}const x=s(_,[["render",i]]);export{x as default}; +import{D as s,o as e,c as o,w as t,a as r,cy as c,cN as l,i as p}from"./index.47c8bf16.js";const _={name:"ShellEmpty"};function i(m,u,d,f,h,v){const a=p("router-view");return e(),o(a,null,{default:t(({Component:n})=>[r(l,{mode:"out-in",name:"fade"},{default:t(()=>[(e(),o(c(n)))]),_:2},1024)]),_:1})}const x=s(_,[["render",i]]);export{x as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/SubscriptionHeader.1363ed57.js b/app/kuma-ui/pkg/resources/data/assets/SubscriptionHeader.ad23ccb6.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/SubscriptionHeader.1363ed57.js rename to app/kuma-ui/pkg/resources/data/assets/SubscriptionHeader.ad23ccb6.js index 585a6ae3fdd3..b53ee34b22c1 100644 --- a/app/kuma-ui/pkg/resources/data/assets/SubscriptionHeader.1363ed57.js +++ b/app/kuma-ui/pkg/resources/data/assets/SubscriptionHeader.ad23ccb6.js @@ -1 +1 @@ -import{D as y,y as T,K as p,cs as w,ct as x,o as s,j as n,l as a,b as r,t as c,z as i,F as h,n as I,c as C,w as b,a as R,i as f,B as K,C as B,cu as V}from"./index.09f51eb8.js";const F={name:"SubscriptionDetails",components:{KAlert:T,KIcon:p},props:{details:{type:Object,required:!0},isDiscoverySubscription:{type:Boolean,default:!1}},computed:{detailsIterator(){var e;if(this.isDiscoverySubscription){const{lastUpdateTime:_,total:t,...d}=this.details.status;return d}return(e=this.details.status)==null?void 0:e.stat}},methods:{formatValue(e){return e?parseInt(e,10).toLocaleString("en").toString():0},readableDate(e){return w(e)},humanReadable(e){return x(e)},formatError(e){return e==="--"?"error calculating":e}}},l=e=>(K("data-v-59da8f41"),e=e(),B(),e),L={key:0},N=l(()=>a("h5",{class:"overview-tertiary-title"}," General Information: ",-1)),j={key:0},A=l(()=>a("strong",null,"Global Instance ID:",-1)),E={class:"mono"},P={key:1},q=l(()=>a("strong",null,"Control Plane Instance ID:",-1)),G={class:"mono"},H={key:2},O=l(()=>a("strong",null,"Last Connected:",-1)),z={key:3},M=l(()=>a("strong",null,"Last Disconnected:",-1)),U={key:1},W={class:"overview-stat-grid"},J={class:"overview-tertiary-title"},Q={class:"mono"};function X(e,_,t,d,D,o){const g=f("KIcon"),S=f("KAlert");return s(),n("div",null,[t.details.globalInstanceId||t.details.connectTime||t.details.disconnectTime?(s(),n("div",L,[N,a("ul",null,[t.details.globalInstanceId?(s(),n("li",j,[A,r("\xA0 "),a("span",E,c(t.details.globalInstanceId),1)])):i("",!0),t.details.controlPlaneInstanceId?(s(),n("li",P,[q,r("\xA0 "),a("span",G,c(t.details.controlPlaneInstanceId),1)])):i("",!0),t.details.connectTime?(s(),n("li",H,[O,r("\xA0 "+c(o.readableDate(t.details.connectTime)),1)])):i("",!0),t.details.disconnectTime?(s(),n("li",z,[M,r("\xA0 "+c(o.readableDate(t.details.disconnectTime)),1)])):i("",!0)])])):i("",!0),o.detailsIterator?(s(),n("div",U,[a("ul",W,[(s(!0),n(h,null,I(o.detailsIterator,(k,u)=>(s(),n("li",{key:u},[a("h6",J,c(o.humanReadable(u))+": ",1),a("ul",null,[(s(!0),n(h,null,I(k,(v,m)=>(s(),n("li",{key:m},[a("strong",null,c(o.humanReadable(m))+":",1),r("\xA0 "),a("span",Q,c(o.formatError(o.formatValue(v))),1)]))),128))])]))),128))])])):(s(),C(S,{key:2,appearance:"info",class:"mt-4"},{alertIcon:b(()=>[R(g,{icon:"portal"})]),alertMessage:b(()=>[r(" There are no subscription statistics for "),a("strong",null,c(t.details.id),1)]),_:1}))])}const se=y(F,[["render",X],["__scopeId","data-v-59da8f41"]]),Y={name:"SubscriptionHeader",props:{details:{type:Object,required:!0}},methods:{rawReadableDateFilter(e){return V(e)}}},Z={class:"text-lg font-medium"},$={class:"color-green-400"},ee={key:0,class:"ml-4 color-red-400"};function te(e,_,t,d,D,o){return s(),n("h4",Z,[a("span",$," Connect time: "+c(o.rawReadableDateFilter(t.details.connectTime)),1),t.details.disconnectTime?(s(),n("span",ee," Disconnect time: "+c(o.rawReadableDateFilter(t.details.disconnectTime)),1)):i("",!0)])}const ne=y(Y,[["render",te]]);export{se as S,ne as a}; +import{D as y,y as T,K as p,cs as w,ct as x,o as s,j as n,l as a,b as r,t as c,z as i,F as h,n as I,c as C,w as b,a as R,i as f,B as K,C as B,cu as V}from"./index.47c8bf16.js";const F={name:"SubscriptionDetails",components:{KAlert:T,KIcon:p},props:{details:{type:Object,required:!0},isDiscoverySubscription:{type:Boolean,default:!1}},computed:{detailsIterator(){var e;if(this.isDiscoverySubscription){const{lastUpdateTime:_,total:t,...d}=this.details.status;return d}return(e=this.details.status)==null?void 0:e.stat}},methods:{formatValue(e){return e?parseInt(e,10).toLocaleString("en").toString():0},readableDate(e){return w(e)},humanReadable(e){return x(e)},formatError(e){return e==="--"?"error calculating":e}}},l=e=>(K("data-v-59da8f41"),e=e(),B(),e),L={key:0},N=l(()=>a("h5",{class:"overview-tertiary-title"}," General Information: ",-1)),j={key:0},A=l(()=>a("strong",null,"Global Instance ID:",-1)),E={class:"mono"},P={key:1},q=l(()=>a("strong",null,"Control Plane Instance ID:",-1)),G={class:"mono"},H={key:2},O=l(()=>a("strong",null,"Last Connected:",-1)),z={key:3},M=l(()=>a("strong",null,"Last Disconnected:",-1)),U={key:1},W={class:"overview-stat-grid"},J={class:"overview-tertiary-title"},Q={class:"mono"};function X(e,_,t,d,D,o){const g=f("KIcon"),S=f("KAlert");return s(),n("div",null,[t.details.globalInstanceId||t.details.connectTime||t.details.disconnectTime?(s(),n("div",L,[N,a("ul",null,[t.details.globalInstanceId?(s(),n("li",j,[A,r("\xA0 "),a("span",E,c(t.details.globalInstanceId),1)])):i("",!0),t.details.controlPlaneInstanceId?(s(),n("li",P,[q,r("\xA0 "),a("span",G,c(t.details.controlPlaneInstanceId),1)])):i("",!0),t.details.connectTime?(s(),n("li",H,[O,r("\xA0 "+c(o.readableDate(t.details.connectTime)),1)])):i("",!0),t.details.disconnectTime?(s(),n("li",z,[M,r("\xA0 "+c(o.readableDate(t.details.disconnectTime)),1)])):i("",!0)])])):i("",!0),o.detailsIterator?(s(),n("div",U,[a("ul",W,[(s(!0),n(h,null,I(o.detailsIterator,(k,u)=>(s(),n("li",{key:u},[a("h6",J,c(o.humanReadable(u))+": ",1),a("ul",null,[(s(!0),n(h,null,I(k,(v,m)=>(s(),n("li",{key:m},[a("strong",null,c(o.humanReadable(m))+":",1),r("\xA0 "),a("span",Q,c(o.formatError(o.formatValue(v))),1)]))),128))])]))),128))])])):(s(),C(S,{key:2,appearance:"info",class:"mt-4"},{alertIcon:b(()=>[R(g,{icon:"portal"})]),alertMessage:b(()=>[r(" There are no subscription statistics for "),a("strong",null,c(t.details.id),1)]),_:1}))])}const se=y(F,[["render",X],["__scopeId","data-v-59da8f41"]]),Y={name:"SubscriptionHeader",props:{details:{type:Object,required:!0}},methods:{rawReadableDateFilter(e){return V(e)}}},Z={class:"text-lg font-medium"},$={class:"color-green-400"},ee={key:0,class:"ml-4 color-red-400"};function te(e,_,t,d,D,o){return s(),n("h4",Z,[a("span",$," Connect time: "+c(o.rawReadableDateFilter(t.details.connectTime)),1),t.details.disconnectTime?(s(),n("span",ee," Disconnect time: "+c(o.rawReadableDateFilter(t.details.disconnectTime)),1)):i("",!0)])}const ne=y(Y,[["render",te]]);export{se as S,ne as a}; diff --git a/app/kuma-ui/pkg/resources/data/assets/TabsWidget.55b438d0.js b/app/kuma-ui/pkg/resources/data/assets/TabsWidget.a8296b4a.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/TabsWidget.55b438d0.js rename to app/kuma-ui/pkg/resources/data/assets/TabsWidget.a8296b4a.js index 0717b904eddf..e30487dd414d 100644 --- a/app/kuma-ui/pkg/resources/data/assets/TabsWidget.55b438d0.js +++ b/app/kuma-ui/pkg/resources/data/assets/TabsWidget.a8296b4a.js @@ -1 +1 @@ -import{d as g,r as y,f as v,o as s,j as n,c,F as h,I as u,z as B,l as d,a as f,J as T,n as k,w as _,u as l,K as E,N as S,E as w,G as q,B as C,C as I,D as V}from"./index.09f51eb8.js";import{E as L}from"./ErrorBlock.6cb5eaea.js";import{_ as N}from"./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js";const W=e=>(C("data-v-63d131fa"),e=e(),I(),e),$={class:"tab-container","data-testid":"tab-container"},x={key:0,class:"tab__header"},A={class:"tab__content-container"},H={class:"flex items-center with-warnings"},K=W(()=>d("span",null,"Warnings",-1)),O=g({__name:"TabsWidget",props:{tabs:{type:Array,required:!0},isLoading:{type:Boolean,required:!1,default:!1},isEmpty:{type:Boolean,required:!1,default:!1},hasError:{type:Boolean,required:!1,default:!1},error:{type:[Error,null],required:!1,default:null},hasBorder:{type:Boolean,required:!1,default:!1},initialTabOverride:{type:String,required:!1,default:null}},emits:["on-tab-change"],setup(e,{emit:p}){const o=e,i=y(o.initialTabOverride&&`#${o.initialTabOverride}`),m=v(()=>o.tabs.map(a=>a.hash.replace("#","")));function b(a){w.logger.info(q.TABS_TAB_CHANGE,{data:{newTab:a}}),p("on-tab-change",a)}return(a,r)=>(s(),n("div",$,[e.isLoading?(s(),c(N,{key:0})):e.error!==null?(s(),c(L,{key:1,error:e.error},null,8,["error"])):(s(),n(h,{key:2},[a.$slots.tabHeader?(s(),n("header",x,[u(a.$slots,"tabHeader",{},void 0,!0)])):B("",!0),d("div",A,[f(l(S),{modelValue:i.value,"onUpdate:modelValue":r[0]||(r[0]=t=>i.value=t),tabs:e.tabs,onChanged:r[1]||(r[1]=t=>b(t))},T({"warnings-anchor":_(()=>[d("span",H,[f(l(E),{class:"mr-1",icon:"warning",color:"var(--black-75)","secondary-color":"var(--yellow-300)",size:"16"}),K])]),_:2},[k(l(m),t=>({name:t,fn:_(()=>[u(a.$slots,t,{},void 0,!0)])}))]),1032,["modelValue","tabs"])])],64))]))}});const j=V(O,[["__scopeId","data-v-63d131fa"]]);export{j as T}; +import{d as g,r as y,f as v,o as s,j as n,c,F as h,I as u,z as B,l as d,a as f,J as T,n as k,w as _,u as l,K as E,N as S,E as w,G as q,B as C,C as I,D as V}from"./index.47c8bf16.js";import{E as L}from"./ErrorBlock.456ea0f6.js";import{_ as N}from"./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js";const W=e=>(C("data-v-63d131fa"),e=e(),I(),e),$={class:"tab-container","data-testid":"tab-container"},x={key:0,class:"tab__header"},A={class:"tab__content-container"},H={class:"flex items-center with-warnings"},K=W(()=>d("span",null,"Warnings",-1)),O=g({__name:"TabsWidget",props:{tabs:{type:Array,required:!0},isLoading:{type:Boolean,required:!1,default:!1},isEmpty:{type:Boolean,required:!1,default:!1},hasError:{type:Boolean,required:!1,default:!1},error:{type:[Error,null],required:!1,default:null},hasBorder:{type:Boolean,required:!1,default:!1},initialTabOverride:{type:String,required:!1,default:null}},emits:["on-tab-change"],setup(e,{emit:p}){const o=e,i=y(o.initialTabOverride&&`#${o.initialTabOverride}`),m=v(()=>o.tabs.map(a=>a.hash.replace("#","")));function b(a){w.logger.info(q.TABS_TAB_CHANGE,{data:{newTab:a}}),p("on-tab-change",a)}return(a,r)=>(s(),n("div",$,[e.isLoading?(s(),c(N,{key:0})):e.error!==null?(s(),c(L,{key:1,error:e.error},null,8,["error"])):(s(),n(h,{key:2},[a.$slots.tabHeader?(s(),n("header",x,[u(a.$slots,"tabHeader",{},void 0,!0)])):B("",!0),d("div",A,[f(l(S),{modelValue:i.value,"onUpdate:modelValue":r[0]||(r[0]=t=>i.value=t),tabs:e.tabs,onChanged:r[1]||(r[1]=t=>b(t))},T({"warnings-anchor":_(()=>[d("span",H,[f(l(E),{class:"mr-1",icon:"warning",color:"var(--black-75)","secondary-color":"var(--yellow-300)",size:"16"}),K])]),_:2},[k(l(m),t=>({name:t,fn:_(()=>[u(a.$slots,t,{},void 0,!0)])}))]),1032,["modelValue","tabs"])])],64))]))}});const j=V(O,[["__scopeId","data-v-63d131fa"]]);export{j as T}; diff --git a/app/kuma-ui/pkg/resources/data/assets/TagList.c6e1c385.js b/app/kuma-ui/pkg/resources/data/assets/TagList.d43e2716.js similarity index 88% rename from app/kuma-ui/pkg/resources/data/assets/TagList.c6e1c385.js rename to app/kuma-ui/pkg/resources/data/assets/TagList.d43e2716.js index 59114f995db6..a0f044bf7df6 100644 --- a/app/kuma-ui/pkg/resources/data/assets/TagList.c6e1c385.js +++ b/app/kuma-ui/pkg/resources/data/assets/TagList.d43e2716.js @@ -1 +1 @@ -import{d as r,o as a,j as e,F as c,n as i,l as t,t as l,A as p,D as u}from"./index.09f51eb8.js";const d={class:"tag-list"},g={class:"tag__value"},m=r({__name:"TagList",props:{tags:{type:Object,required:!0}},setup(n){const o=n;return(b,f)=>(a(),e("span",d,[(a(!0),e(c,null,i(o.tags,(s,_)=>(a(),e("span",{key:_,class:"tag"},[t("span",{class:p(["tag__label",{"tag__label--is-kuma-io-label":s.label.toLowerCase().includes("kuma.io/")}])},l(s.label),3),t("span",g,l(s.value),1)]))),128))]))}});const v=u(m,[["__scopeId","data-v-f33260a6"]]);export{v as T}; +import{d as r,o as a,j as e,F as c,n as i,l as t,t as l,A as p,D as u}from"./index.47c8bf16.js";const d={class:"tag-list"},g={class:"tag__value"},m=r({__name:"TagList",props:{tags:{type:Object,required:!0}},setup(n){const o=n;return(b,f)=>(a(),e("span",d,[(a(!0),e(c,null,i(o.tags,(s,_)=>(a(),e("span",{key:_,class:"tag"},[t("span",{class:p(["tag__label",{"tag__label--is-kuma-io-label":s.label.toLowerCase().includes("kuma.io/")}])},l(s.label),3),t("span",g,l(s.value),1)]))),128))]))}});const v=u(m,[["__scopeId","data-v-f33260a6"]]);export{v as T}; diff --git a/app/kuma-ui/pkg/resources/data/assets/WarningsWidget.92381260.js b/app/kuma-ui/pkg/resources/data/assets/WarningsWidget.10850a61.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/WarningsWidget.92381260.js rename to app/kuma-ui/pkg/resources/data/assets/WarningsWidget.10850a61.js index 8a44cdb71355..2c918445fb69 100644 --- a/app/kuma-ui/pkg/resources/data/assets/WarningsWidget.92381260.js +++ b/app/kuma-ui/pkg/resources/data/assets/WarningsWidget.10850a61.js @@ -1 +1 @@ -import{d as l,o as a,j as s,t as r,b as n,l as t,D as P,y as b,M as D,cr as f,cv as O,cw as h,cx as N,c as p,w as i,n as A,a as E,cy as I,F as K,i as _}from"./index.09f51eb8.js";const W=l({__name:"WarningDefault",props:{payload:{type:[String,Object],required:!0}},setup(e){return(c,o)=>(a(),s("span",null,r(e.payload),1))}}),v=l({__name:"WarningEnvoyIncompatible",props:{payload:{type:Object,required:!0}},setup(e){return(c,o)=>(a(),s("span",null,[n(" Envoy ("),t("strong",null,r(e.payload.envoy),1),n(") is unsupported by the current version of Kuma DP ("),t("strong",null,r(e.payload.kumaDp),1),n(") [Requirements: "),t("strong",null,r(e.payload.requirements),1),n("]. ")]))}}),x=l({__name:"WarningZoneAndKumaDPVersionsIncompatible",props:{payload:{type:Object,required:!0}},setup(e){return(c,o)=>(a(),s("span",null,[n(" There is a mismatch between versions of Kuma DP ("),t("strong",null,r(e.payload.kumaDp),1),n(") and the Zone CP. ")]))}}),V=l({__name:"WarningUnsupportedKumaDPVersion",props:{payload:{type:Object,required:!0}},setup(e){return(c,o)=>(a(),s("span",null,[n(" Unsupported version of Kuma DP ("),t("strong",null,r(e.payload.kumaDp),1),n(") ")]))}}),B=l({__name:"WarningZoneAndGlobalCPSVersionsIncompatible",props:{payload:{type:Object,required:!0}},setup(e){return(c,o)=>(a(),s("span",null,[n(" There is mismatch between versions of Zone CP ("),t("strong",null,r(e.payload.zoneCpVersion),1),n(") and the Global CP ("),t("strong",null,r(e.payload.globalCpVersion),1),n(") ")]))}}),S={name:"WarningsWidget",components:{KAlert:b,KCard:D},props:{warnings:{type:Array,required:!0}},methods:{getWarningComponent(e=""){switch(e){case N:return v;case h:return V;case O:return x;case f:return B;default:return W}}}};function w(e,c,o,T,$,d){const m=_("KAlert"),y=_("KCard");return a(),p(y,{"border-variant":"noBorder"},{body:i(()=>[t("ul",null,[(a(!0),s(K,null,A(o.warnings,({kind:u,payload:g,index:C})=>(a(),s("li",{key:`${u}/${C}`,class:"mb-1"},[E(m,{appearance:"warning"},{alertMessage:i(()=>[(a(),p(I(d.getWarningComponent(u)),{payload:g},null,8,["payload"]))]),_:2},1024)]))),128))])]),_:1})}const M=P(S,[["render",w]]);export{M as W}; +import{d as l,o as a,j as s,t as r,b as n,l as t,D as P,y as b,M as D,cr as f,cv as O,cw as h,cx as N,c as p,w as i,n as A,a as E,cy as I,F as K,i as _}from"./index.47c8bf16.js";const W=l({__name:"WarningDefault",props:{payload:{type:[String,Object],required:!0}},setup(e){return(c,o)=>(a(),s("span",null,r(e.payload),1))}}),v=l({__name:"WarningEnvoyIncompatible",props:{payload:{type:Object,required:!0}},setup(e){return(c,o)=>(a(),s("span",null,[n(" Envoy ("),t("strong",null,r(e.payload.envoy),1),n(") is unsupported by the current version of Kuma DP ("),t("strong",null,r(e.payload.kumaDp),1),n(") [Requirements: "),t("strong",null,r(e.payload.requirements),1),n("]. ")]))}}),x=l({__name:"WarningZoneAndKumaDPVersionsIncompatible",props:{payload:{type:Object,required:!0}},setup(e){return(c,o)=>(a(),s("span",null,[n(" There is a mismatch between versions of Kuma DP ("),t("strong",null,r(e.payload.kumaDp),1),n(") and the Zone CP. ")]))}}),V=l({__name:"WarningUnsupportedKumaDPVersion",props:{payload:{type:Object,required:!0}},setup(e){return(c,o)=>(a(),s("span",null,[n(" Unsupported version of Kuma DP ("),t("strong",null,r(e.payload.kumaDp),1),n(") ")]))}}),B=l({__name:"WarningZoneAndGlobalCPSVersionsIncompatible",props:{payload:{type:Object,required:!0}},setup(e){return(c,o)=>(a(),s("span",null,[n(" There is mismatch between versions of Zone CP ("),t("strong",null,r(e.payload.zoneCpVersion),1),n(") and the Global CP ("),t("strong",null,r(e.payload.globalCpVersion),1),n(") ")]))}}),S={name:"WarningsWidget",components:{KAlert:b,KCard:D},props:{warnings:{type:Array,required:!0}},methods:{getWarningComponent(e=""){switch(e){case N:return v;case h:return V;case O:return x;case f:return B;default:return W}}}};function w(e,c,o,T,$,d){const m=_("KAlert"),y=_("KCard");return a(),p(y,{"border-variant":"noBorder"},{body:i(()=>[t("ul",null,[(a(!0),s(K,null,A(o.warnings,({kind:u,payload:g,index:C})=>(a(),s("li",{key:`${u}/${C}`,class:"mb-1"},[E(m,{appearance:"warning"},{alertMessage:i(()=>[(a(),p(I(d.getWarningComponent(u)),{payload:g},null,8,["payload"]))]),_:2},1024)]))),128))])]),_:1})}const M=P(S,[["render",w]]);export{M as W}; diff --git a/app/kuma-ui/pkg/resources/data/assets/WelcomeView.e9c2a2ce.js b/app/kuma-ui/pkg/resources/data/assets/WelcomeView.cce955b6.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/WelcomeView.e9c2a2ce.js rename to app/kuma-ui/pkg/resources/data/assets/WelcomeView.cce955b6.js index 4f1d269f6a6c..36aa64b7344b 100644 --- a/app/kuma-ui/pkg/resources/data/assets/WelcomeView.e9c2a2ce.js +++ b/app/kuma-ui/pkg/resources/data/assets/WelcomeView.cce955b6.js @@ -1 +1 @@ -import{D as p,K as y,i,o as t,j as l,l as e,c as m,z as b,b as s,t as c,A as w,cO as k,ck as x,cn as I,F as S,n as V,a as u,B as $,C}from"./index.09f51eb8.js";import{O as N}from"./OnboardingNavigation.06ee2172.js";const A={name:"ItemStatus",components:{KIcon:y},props:{name:{type:String,required:!0},status:{type:Boolean,default:!1}}},W={class:"flex items-center mb-2"},z={class:"circle"};function L(a,f,o,h,n,d){const r=i("KIcon");return t(),l("li",W,[e("span",z,[o.status?(t(),m(r,{key:0,icon:"check",size:"10",color:"var(--kuma-purple-1)"})):b("",!0)]),s(" "+c(o.name),1)])}const D=p(A,[["render",L],["__scopeId","data-v-71c50c48"]]);const O={name:"WelcomeAnimationSvg",data(){return{mounted:!1}},computed:{svgClasses(){return["svg",{active:this.mounted}]}},mounted(){setTimeout(()=>{this.mounted=!0},30)}},B=k('
',3),G=[B];function H(a,f,o,h,n,d){return t(),l("svg",{class:w(["background",d.svgClasses]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1080"},G,2)}const j=p(O,[["render",H],["__scopeId","data-v-3dfe58ea"]]);const F={name:"WelcomeView",components:{ItemStatus:D,OnboardingNavigation:N,WelcomeAnimationSvg:j},data(){return{productName:x}},computed:{...I({environment:"config/getEnvironment",multicluster:"config/getMulticlusterStatus"}),enviromentFormatted(){return this.environment.charAt(0).toUpperCase()+this.environment.slice(1)},multizoneItems(){const a=[];return this.multicluster&&a.push({name:"Add zones",status:!1}),a},statuses(){return[{name:`Run ${this.productName} control plane`,status:!0},{name:"Learn about deployments",status:!1},{name:"Learn about configuration storage",status:!1},...this.multizoneItems,{name:"Create the mesh",status:!1},{name:"Add services",status:!1},{name:"Go to the dashboard",status:!1}]}}},_=a=>($("data-v-c869be6b"),a=a(),C(),a),K={class:"welcome-container"},E={class:"content"},T={class:"welcome-title"},R={class:"welcome-description"},U=_(()=>e("strong",null,"few minutes",-1)),q={class:"welcome-description"},P=_(()=>e("h2",{class:"welcome-detected"}," Let's get started: ",-1)),Y={class:"welcome-navigation"};function J(a,f,o,h,n,d){const r=i("ItemStatus"),g=i("OnboardingNavigation"),M=i("WelcomeAnimationSvg");return t(),l("div",null,[e("div",K,[e("div",E,[e("h1",T," Welcome to "+c(n.productName),1),e("p",R,[s(" Congratulations on downloading "+c(n.productName)+"! You are just a ",1),U,s(" away from getting your service mesh fully online. ")]),e("p",q,[s(" We have automatically detected that you are running on "),e("strong",null,c(d.enviromentFormatted),1),s(". ")]),P,e("ul",null,[(t(!0),l(S,null,V(d.statuses,v=>(t(),m(r,{key:v.name,name:v.name,status:v.status},null,8,["name","status"]))),128))])]),e("div",Y,[u(g,{"next-step":"onboarding-deployment-types"})])]),u(M,{longer:a.multicluster},null,8,["longer"])])}const Z=p(F,[["render",J],["__scopeId","data-v-c869be6b"]]);export{Z as default}; +import{D as p,K as y,i,o as t,j as l,l as e,c as m,z as b,b as s,t as c,A as w,cO as k,ck as x,cn as I,F as S,n as V,a as u,B as $,C}from"./index.47c8bf16.js";import{O as N}from"./OnboardingNavigation.2f2b8505.js";const A={name:"ItemStatus",components:{KIcon:y},props:{name:{type:String,required:!0},status:{type:Boolean,default:!1}}},W={class:"flex items-center mb-2"},z={class:"circle"};function L(a,f,o,h,n,d){const r=i("KIcon");return t(),l("li",W,[e("span",z,[o.status?(t(),m(r,{key:0,icon:"check",size:"10",color:"var(--kuma-purple-1)"})):b("",!0)]),s(" "+c(o.name),1)])}const D=p(A,[["render",L],["__scopeId","data-v-71c50c48"]]);const O={name:"WelcomeAnimationSvg",data(){return{mounted:!1}},computed:{svgClasses(){return["svg",{active:this.mounted}]}},mounted(){setTimeout(()=>{this.mounted=!0},30)}},B=k('
',3),G=[B];function H(a,f,o,h,n,d){return t(),l("svg",{class:w(["background",d.svgClasses]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1080"},G,2)}const j=p(O,[["render",H],["__scopeId","data-v-3dfe58ea"]]);const F={name:"WelcomeView",components:{ItemStatus:D,OnboardingNavigation:N,WelcomeAnimationSvg:j},data(){return{productName:x}},computed:{...I({environment:"config/getEnvironment",multicluster:"config/getMulticlusterStatus"}),enviromentFormatted(){return this.environment.charAt(0).toUpperCase()+this.environment.slice(1)},multizoneItems(){const a=[];return this.multicluster&&a.push({name:"Add zones",status:!1}),a},statuses(){return[{name:`Run ${this.productName} control plane`,status:!0},{name:"Learn about deployments",status:!1},{name:"Learn about configuration storage",status:!1},...this.multizoneItems,{name:"Create the mesh",status:!1},{name:"Add services",status:!1},{name:"Go to the dashboard",status:!1}]}}},_=a=>($("data-v-c869be6b"),a=a(),C(),a),K={class:"welcome-container"},E={class:"content"},T={class:"welcome-title"},R={class:"welcome-description"},U=_(()=>e("strong",null,"few minutes",-1)),q={class:"welcome-description"},P=_(()=>e("h2",{class:"welcome-detected"}," Let's get started: ",-1)),Y={class:"welcome-navigation"};function J(a,f,o,h,n,d){const r=i("ItemStatus"),g=i("OnboardingNavigation"),M=i("WelcomeAnimationSvg");return t(),l("div",null,[e("div",K,[e("div",E,[e("h1",T," Welcome to "+c(n.productName),1),e("p",R,[s(" Congratulations on downloading "+c(n.productName)+"! You are just a ",1),U,s(" away from getting your service mesh fully online. ")]),e("p",q,[s(" We have automatically detected that you are running on "),e("strong",null,c(d.enviromentFormatted),1),s(". ")]),P,e("ul",null,[(t(!0),l(S,null,V(d.statuses,v=>(t(),m(r,{key:v.name,name:v.name,status:v.status},null,8,["name","status"]))),128))])]),e("div",Y,[u(g,{"next-step":"onboarding-deployment-types"})])]),u(M,{longer:a.multicluster},null,8,["longer"])])}const Z=p(F,[["render",J],["__scopeId","data-v-c869be6b"]]);export{Z as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/YamlView.e892619a.js b/app/kuma-ui/pkg/resources/data/assets/YamlView.941aa063.js similarity index 85% rename from app/kuma-ui/pkg/resources/data/assets/YamlView.e892619a.js rename to app/kuma-ui/pkg/resources/data/assets/YamlView.941aa063.js index 7407fc9cd9d5..f8e557601552 100644 --- a/app/kuma-ui/pkg/resources/data/assets/YamlView.e892619a.js +++ b/app/kuma-ui/pkg/resources/data/assets/YamlView.941aa063.js @@ -1 +1 @@ -import{j as y}from"./index.58caa11d.js";import{d as _,r as B,f as E,o as s,j as k,c as n,w as b,a as g,u as o,N as V,q as j,D as w}from"./index.09f51eb8.js";import{_ as v}from"./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js";import{_ as S}from"./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js";import{E as H}from"./ErrorBlock.6cb5eaea.js";import{_ as Y}from"./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js";const C={class:"yaml-view"},M={key:3,class:"yaml-view-content"},N=_({__name:"YamlView",props:{id:{type:String,required:!0},content:{type:Object,required:!1,default:null},isLoading:{type:Boolean,required:!1,default:!1},hasError:{type:Boolean,required:!1,default:!1},isEmpty:{type:Boolean,required:!1,default:!1},codeMaxHeight:{type:String,required:!1,default:null},isSearchable:{type:Boolean,required:!1,default:!1}},setup(e){const a=e,p=j(),c=[{hash:"#universal",title:"Universal"},{hash:"#kubernetes",title:"Kubernetes"}],i=B(c[0].hash),l=p.getters["config/getEnvironment"];typeof l=="string"&&(i.value="#"+l);const m=E(()=>{var f;const t={};if(t.apiVersion="kuma.io/v1alpha1",t.kind=a.content.type,a.content.mesh!==void 0&&(t.mesh=a.content.mesh),(f=a.content.name)!=null&&f.includes(".")){const h=a.content.name.split("."),q=h.pop(),x=h.join(".");t.metadata={name:x,namespace:q}}else t.metadata={name:a.content.name};const{type:r,name:d,mesh:O,...u}=a.content;return Object.keys(u).length>0&&(t.spec=u),{universal:y(a.content),kubernetes:y(t)}});return(t,r)=>(s(),k("div",C,[e.isLoading?(s(),n(Y,{key:0})):e.hasError?(s(),n(H,{key:1})):e.isEmpty?(s(),n(S,{key:2})):(s(),k("div",M,[(s(),n(o(V),{key:o(l),modelValue:i.value,"onUpdate:modelValue":r[0]||(r[0]=d=>i.value=d),tabs:c},{universal:b(()=>[g(v,{id:e.id,language:"yaml",code:o(m).universal,"is-searchable":e.isSearchable,"query-key":e.id,"code-max-height":e.codeMaxHeight},null,8,["id","code","is-searchable","query-key","code-max-height"])]),kubernetes:b(()=>[g(v,{id:e.id,language:"yaml",code:o(m).kubernetes,"is-searchable":e.isSearchable,"query-key":e.id,"code-max-height":e.codeMaxHeight},null,8,["id","code","is-searchable","query-key","code-max-height"])]),_:1},8,["modelValue"]))]))]))}});const z=w(N,[["__scopeId","data-v-f92420cb"]]);export{z as Y}; +import{j as y}from"./index.58caa11d.js";import{d as _,r as B,f as E,o as s,j as k,c as n,w as b,a as g,u as o,N as V,q as j,D as w}from"./index.47c8bf16.js";import{_ as v}from"./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js";import{_ as S}from"./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js";import{E as H}from"./ErrorBlock.456ea0f6.js";import{_ as Y}from"./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js";const C={class:"yaml-view"},M={key:3,class:"yaml-view-content"},N=_({__name:"YamlView",props:{id:{type:String,required:!0},content:{type:Object,required:!1,default:null},isLoading:{type:Boolean,required:!1,default:!1},hasError:{type:Boolean,required:!1,default:!1},isEmpty:{type:Boolean,required:!1,default:!1},codeMaxHeight:{type:String,required:!1,default:null},isSearchable:{type:Boolean,required:!1,default:!1}},setup(e){const a=e,p=j(),c=[{hash:"#universal",title:"Universal"},{hash:"#kubernetes",title:"Kubernetes"}],i=B(c[0].hash),l=p.getters["config/getEnvironment"];typeof l=="string"&&(i.value="#"+l);const m=E(()=>{var f;const t={};if(t.apiVersion="kuma.io/v1alpha1",t.kind=a.content.type,a.content.mesh!==void 0&&(t.mesh=a.content.mesh),(f=a.content.name)!=null&&f.includes(".")){const h=a.content.name.split("."),q=h.pop(),x=h.join(".");t.metadata={name:x,namespace:q}}else t.metadata={name:a.content.name};const{type:r,name:d,mesh:O,...u}=a.content;return Object.keys(u).length>0&&(t.spec=u),{universal:y(a.content),kubernetes:y(t)}});return(t,r)=>(s(),k("div",C,[e.isLoading?(s(),n(Y,{key:0})):e.hasError?(s(),n(H,{key:1})):e.isEmpty?(s(),n(S,{key:2})):(s(),k("div",M,[(s(),n(o(V),{key:o(l),modelValue:i.value,"onUpdate:modelValue":r[0]||(r[0]=d=>i.value=d),tabs:c},{universal:b(()=>[g(v,{id:e.id,language:"yaml",code:o(m).universal,"is-searchable":e.isSearchable,"query-key":e.id,"code-max-height":e.codeMaxHeight},null,8,["id","code","is-searchable","query-key","code-max-height"])]),kubernetes:b(()=>[g(v,{id:e.id,language:"yaml",code:o(m).kubernetes,"is-searchable":e.isSearchable,"query-key":e.id,"code-max-height":e.codeMaxHeight},null,8,["id","code","is-searchable","query-key","code-max-height"])]),_:1},8,["modelValue"]))]))]))}});const z=w(N,[["__scopeId","data-v-f92420cb"]]);export{z as Y}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneEgresses.4621755c.js b/app/kuma-ui/pkg/resources/data/assets/ZoneEgresses.302c70f7.js similarity index 85% rename from app/kuma-ui/pkg/resources/data/assets/ZoneEgresses.4621755c.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneEgresses.302c70f7.js index bae6487e6f46..4db303288e29 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneEgresses.4621755c.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneEgresses.302c70f7.js @@ -1 +1 @@ -import{D as I,cl as B,cm as F,e as Z,M as q,P as K,k as y,co as N,s as O,o as i,j as u,a,w as s,c as _,b as V,z as b,l as m,t as v,F as E,n as D,i as n}from"./index.09f51eb8.js";import{g as H}from"./tableDataUtils.637a273e.js";import{D as R}from"./DataOverview.75cd0a9e.js";import{E as W}from"./EnvoyData.4c5a7bbc.js";import{F as M}from"./FrameSkeleton.fcef0e24.js";import{_ as P}from"./LabelList.vue_vue_type_style_index_0_lang.6ccc9977.js";import{S as j,a as G}from"./SubscriptionHeader.1363ed57.js";import{T as U}from"./TabsWidget.55b438d0.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js";import"./ErrorBlock.6cb5eaea.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js";import"./TagList.c6e1c385.js";import"./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js";import"./_commonjsHelpers.f037b798.js";const X={name:"ZoneEgresses",components:{AccordionItem:B,AccordionList:F,DataOverview:R,EnvoyData:W,FrameSkeleton:M,LabelList:P,SubscriptionDetails:j,SubscriptionHeader:G,TabsWidget:U,KButton:Z,KCard:q},data(){return{isLoading:!0,isEmpty:!1,error:null,empty_state:{title:"No Data",message:"There are no Zone Egresses present."},tableData:{headers:[{key:"actions",hideLabel:!0},{label:"Status",key:"status"},{label:"Name",key:"name"}],data:[]},tabs:[{hash:"#overview",title:"Overview"},{hash:"#insights",title:"Zone Egress Insights"},{hash:"#xds-configuration",title:"XDS Configuration"},{hash:"#envoy-stats",title:"Stats"},{hash:"#envoy-clusters",title:"Clusters"}],entity:{},rawData:[],pageSize:K,next:null,subscriptionsReversed:[]}},watch:{$route(){this.isLoading=!0,this.isEmpty=!1,this.error=null,this.init()}},beforeMount(){this.init()},methods:{init(){this.loadData()},tableAction(r){const o=r;this.getEntity(o)},async loadData(r="0"){this.isLoading=!0,this.isEmpty=!1;const o=this.$route.query.ns||null;try{const{data:t,next:p}=await H({getAllEntities:y.getAllZoneEgressOverviews.bind(y),getSingleEntity:y.getZoneEgressOverview.bind(y),size:this.pageSize,offset:r,query:o});this.next=p,t.length?(this.isEmpty=!1,this.rawData=t,this.getEntity({name:t[0].name}),this.tableData.data=t.map(e=>{const{zoneEgressInsight:l={}}=e;return{...e,...N(l)}})):(this.tableData.data=[],this.isEmpty=!0)}catch(t){t instanceof Error?error.value=t:console.error(t),this.isEmpty=!0}finally{this.isLoading=!1}},getEntity(r){var e,l;const o=["type","name"],t=this.rawData.find(g=>g.name===r.name),p=(l=(e=t==null?void 0:t.zoneEgressInsight)==null?void 0:e.subscriptions)!=null?l:[];this.subscriptionsReversed=Array.from(p).reverse(),this.entity=O(t,o)}}},J={class:"zoneegresses"},Q=m("span",{class:"custom-control-icon"}," \u2190 ",-1),Y={key:0};function $(r,o,t,p,e,l){const g=n("KButton"),S=n("DataOverview"),z=n("LabelList"),k=n("SubscriptionHeader"),L=n("SubscriptionDetails"),w=n("AccordionItem"),A=n("AccordionList"),x=n("KCard"),h=n("EnvoyData"),T=n("TabsWidget"),C=n("FrameSkeleton");return i(),u("div",J,[a(C,null,{default:s(()=>{var f;return[a(S,{"selected-entity-name":(f=e.entity)==null?void 0:f.name,"page-size":e.pageSize,"is-loading":e.isLoading,error:e.error,"empty-state":e.empty_state,"table-data":e.tableData,"table-data-is-empty":e.isEmpty,next:e.next,onTableAction:l.tableAction,onLoadData:o[0]||(o[0]=c=>l.loadData(c))},{additionalControls:s(()=>[r.$route.query.ns?(i(),_(g,{key:0,class:"back-button",appearance:"primary",to:{name:"zoneegresses"}},{default:s(()=>[Q,V(" View All ")]),_:1})):b("",!0)]),_:1},8,["selected-entity-name","page-size","is-loading","error","empty-state","table-data","table-data-is-empty","next","onTableAction"]),e.isEmpty===!1?(i(),_(T,{key:0,"has-error":e.error!==null,"is-loading":e.isLoading,tabs:e.tabs,"initial-tab-override":"overview"},{tabHeader:s(()=>[m("div",null,[m("h3",null," Zone Egress: "+v(e.entity.name),1)])]),overview:s(()=>[a(z,null,{default:s(()=>[m("div",null,[m("ul",null,[(i(!0),u(E,null,D(e.entity,(c,d)=>(i(),u("li",{key:d},[c?(i(),u("h4",Y,v(d),1)):b("",!0),m("p",null,v(c),1)]))),128))])])]),_:1})]),insights:s(()=>[a(x,{"border-variant":"noBorder"},{body:s(()=>[a(A,{"initially-open":0},{default:s(()=>[(i(!0),u(E,null,D(e.subscriptionsReversed,(c,d)=>(i(),_(w,{key:d},{"accordion-header":s(()=>[a(k,{details:c},null,8,["details"])]),"accordion-content":s(()=>[a(L,{details:c,"is-discovery-subscription":""},null,8,["details"])]),_:2},1024))),128))]),_:1})]),_:1})]),"xds-configuration":s(()=>[a(h,{"data-path":"xds","zone-egress-name":e.entity.name,"query-key":"envoy-data-zone-egress"},null,8,["zone-egress-name"])]),"envoy-stats":s(()=>[a(h,{"data-path":"stats","zone-egress-name":e.entity.name,"query-key":"envoy-data-zone-egress"},null,8,["zone-egress-name"])]),"envoy-clusters":s(()=>[a(h,{"data-path":"clusters","zone-egress-name":e.entity.name,"query-key":"envoy-data-zone-egress"},null,8,["zone-egress-name"])]),_:1},8,["has-error","is-loading","tabs"])):b("",!0)]}),_:1})])}const ye=I(X,[["render",$]]);export{ye as default}; +import{D as I,cl as B,cm as F,e as Z,M as q,P as K,k as y,co as N,s as O,o as i,j as u,a,w as s,c as _,b as V,z as b,l as m,t as v,F as E,n as D,i as n}from"./index.47c8bf16.js";import{g as H}from"./tableDataUtils.a0dba6c0.js";import{D as R}from"./DataOverview.ae0ae0a9.js";import{E as W}from"./EnvoyData.988dd7af.js";import{F as M}from"./FrameSkeleton.0676501d.js";import{_ as P}from"./LabelList.vue_vue_type_style_index_0_lang.96dd97a6.js";import{S as j,a as G}from"./SubscriptionHeader.ad23ccb6.js";import{T as U}from"./TabsWidget.a8296b4a.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js";import"./ErrorBlock.456ea0f6.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js";import"./TagList.d43e2716.js";import"./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js";import"./_commonjsHelpers.f037b798.js";const X={name:"ZoneEgresses",components:{AccordionItem:B,AccordionList:F,DataOverview:R,EnvoyData:W,FrameSkeleton:M,LabelList:P,SubscriptionDetails:j,SubscriptionHeader:G,TabsWidget:U,KButton:Z,KCard:q},data(){return{isLoading:!0,isEmpty:!1,error:null,empty_state:{title:"No Data",message:"There are no Zone Egresses present."},tableData:{headers:[{key:"actions",hideLabel:!0},{label:"Status",key:"status"},{label:"Name",key:"name"}],data:[]},tabs:[{hash:"#overview",title:"Overview"},{hash:"#insights",title:"Zone Egress Insights"},{hash:"#xds-configuration",title:"XDS Configuration"},{hash:"#envoy-stats",title:"Stats"},{hash:"#envoy-clusters",title:"Clusters"}],entity:{},rawData:[],pageSize:K,next:null,subscriptionsReversed:[]}},watch:{$route(){this.isLoading=!0,this.isEmpty=!1,this.error=null,this.init()}},beforeMount(){this.init()},methods:{init(){this.loadData()},tableAction(r){const o=r;this.getEntity(o)},async loadData(r="0"){this.isLoading=!0,this.isEmpty=!1;const o=this.$route.query.ns||null;try{const{data:t,next:p}=await H({getAllEntities:y.getAllZoneEgressOverviews.bind(y),getSingleEntity:y.getZoneEgressOverview.bind(y),size:this.pageSize,offset:r,query:o});this.next=p,t.length?(this.isEmpty=!1,this.rawData=t,this.getEntity({name:t[0].name}),this.tableData.data=t.map(e=>{const{zoneEgressInsight:l={}}=e;return{...e,...N(l)}})):(this.tableData.data=[],this.isEmpty=!0)}catch(t){t instanceof Error?error.value=t:console.error(t),this.isEmpty=!0}finally{this.isLoading=!1}},getEntity(r){var e,l;const o=["type","name"],t=this.rawData.find(g=>g.name===r.name),p=(l=(e=t==null?void 0:t.zoneEgressInsight)==null?void 0:e.subscriptions)!=null?l:[];this.subscriptionsReversed=Array.from(p).reverse(),this.entity=O(t,o)}}},J={class:"zoneegresses"},Q=m("span",{class:"custom-control-icon"}," \u2190 ",-1),Y={key:0};function $(r,o,t,p,e,l){const g=n("KButton"),S=n("DataOverview"),z=n("LabelList"),k=n("SubscriptionHeader"),L=n("SubscriptionDetails"),w=n("AccordionItem"),A=n("AccordionList"),x=n("KCard"),h=n("EnvoyData"),T=n("TabsWidget"),C=n("FrameSkeleton");return i(),u("div",J,[a(C,null,{default:s(()=>{var f;return[a(S,{"selected-entity-name":(f=e.entity)==null?void 0:f.name,"page-size":e.pageSize,"is-loading":e.isLoading,error:e.error,"empty-state":e.empty_state,"table-data":e.tableData,"table-data-is-empty":e.isEmpty,next:e.next,onTableAction:l.tableAction,onLoadData:o[0]||(o[0]=c=>l.loadData(c))},{additionalControls:s(()=>[r.$route.query.ns?(i(),_(g,{key:0,class:"back-button",appearance:"primary",to:{name:"zoneegresses"}},{default:s(()=>[Q,V(" View All ")]),_:1})):b("",!0)]),_:1},8,["selected-entity-name","page-size","is-loading","error","empty-state","table-data","table-data-is-empty","next","onTableAction"]),e.isEmpty===!1?(i(),_(T,{key:0,"has-error":e.error!==null,"is-loading":e.isLoading,tabs:e.tabs,"initial-tab-override":"overview"},{tabHeader:s(()=>[m("div",null,[m("h3",null," Zone Egress: "+v(e.entity.name),1)])]),overview:s(()=>[a(z,null,{default:s(()=>[m("div",null,[m("ul",null,[(i(!0),u(E,null,D(e.entity,(c,d)=>(i(),u("li",{key:d},[c?(i(),u("h4",Y,v(d),1)):b("",!0),m("p",null,v(c),1)]))),128))])])]),_:1})]),insights:s(()=>[a(x,{"border-variant":"noBorder"},{body:s(()=>[a(A,{"initially-open":0},{default:s(()=>[(i(!0),u(E,null,D(e.subscriptionsReversed,(c,d)=>(i(),_(w,{key:d},{"accordion-header":s(()=>[a(k,{details:c},null,8,["details"])]),"accordion-content":s(()=>[a(L,{details:c,"is-discovery-subscription":""},null,8,["details"])]),_:2},1024))),128))]),_:1})]),_:1})]),"xds-configuration":s(()=>[a(h,{"data-path":"xds","zone-egress-name":e.entity.name,"query-key":"envoy-data-zone-egress"},null,8,["zone-egress-name"])]),"envoy-stats":s(()=>[a(h,{"data-path":"stats","zone-egress-name":e.entity.name,"query-key":"envoy-data-zone-egress"},null,8,["zone-egress-name"])]),"envoy-clusters":s(()=>[a(h,{"data-path":"clusters","zone-egress-name":e.entity.name,"query-key":"envoy-data-zone-egress"},null,8,["zone-egress-name"])]),_:1},8,["has-error","is-loading","tabs"])):b("",!0)]}),_:1})])}const ye=I(X,[["render",$]]);export{ye as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneIngresses.4a51e679.js b/app/kuma-ui/pkg/resources/data/assets/ZoneIngresses.d84d9248.js similarity index 85% rename from app/kuma-ui/pkg/resources/data/assets/ZoneIngresses.4a51e679.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneIngresses.d84d9248.js index e173f816ef57..1af861119fc9 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneIngresses.4a51e679.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneIngresses.d84d9248.js @@ -1 +1 @@ -import{D as B,cl as F,cm as Z,e as M,M as q,P as K,cn as N,k as g,co as O,s as V,o as a,j as y,c as u,w as s,a as i,b as H,z as v,l as c,t as b,F as D,n as z,i as n}from"./index.09f51eb8.js";import{g as R}from"./tableDataUtils.637a273e.js";import{D as W}from"./DataOverview.75cd0a9e.js";import{E as G}from"./EnvoyData.4c5a7bbc.js";import{F as P}from"./FrameSkeleton.fcef0e24.js";import{_ as j}from"./LabelList.vue_vue_type_style_index_0_lang.6ccc9977.js";import{M as U}from"./MultizoneInfo.f4c789b7.js";import{S as X,a as J}from"./SubscriptionHeader.1363ed57.js";import{T as Q}from"./TabsWidget.55b438d0.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js";import"./ErrorBlock.6cb5eaea.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js";import"./TagList.c6e1c385.js";import"./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js";import"./_commonjsHelpers.f037b798.js";const Y={name:"ZoneIngresses",components:{AccordionItem:F,AccordionList:Z,DataOverview:W,EnvoyData:G,FrameSkeleton:P,LabelList:j,MultizoneInfo:U,SubscriptionDetails:X,SubscriptionHeader:J,TabsWidget:Q,KButton:M,KCard:q},data(){return{isLoading:!0,isEmpty:!1,error:null,empty_state:{title:"No Data",message:"There are no Zone Ingresses present."},tableData:{headers:[{key:"actions",hideLabel:!0},{label:"Status",key:"status"},{label:"Name",key:"name"}],data:[]},tabs:[{hash:"#overview",title:"Overview"},{hash:"#insights",title:"Zone Ingress Insights"},{hash:"#xds-configuration",title:"XDS Configuration"},{hash:"#envoy-stats",title:"Stats"},{hash:"#envoy-clusters",title:"Clusters"}],entity:{},rawData:[],pageSize:K,next:null,subscriptionsReversed:[]}},computed:{...N({multicluster:"config/getMulticlusterStatus"})},watch:{$route(){this.isLoading=!0,this.isEmpty=!1,this.error=null,this.init()}},beforeMount(){this.init()},methods:{init(){this.multicluster&&this.loadData()},tableAction(o){const r=o;this.getEntity(r)},async loadData(o="0"){this.isLoading=!0,this.isEmpty=!1;const r=this.$route.query.ns||null;try{const{data:t,next:p}=await R({getAllEntities:g.getAllZoneIngressOverviews.bind(g),getSingleEntity:g.getZoneIngressOverview.bind(g),size:this.pageSize,offset:o,query:r});this.next=p,t.length?(this.isEmpty=!1,this.rawData=t,this.getEntity({name:t[0].name}),this.tableData.data=t.map(e=>{const{zoneIngressInsight:l={}}=e;return{...e,...O(l)}})):(this.tableData.data=[],this.isEmpty=!0)}catch(t){t instanceof Error?this.error=t:console.error(t),this.isEmpty=!0}finally{this.isLoading=!1}},getEntity(o){var e,l;const r=["type","name"],t=this.rawData.find(h=>h.name===o.name),p=(l=(e=t==null?void 0:t.zoneIngressInsight)==null?void 0:e.subscriptions)!=null?l:[];this.subscriptionsReversed=Array.from(p).reverse(),this.entity=V(t,r)}}},$={class:"zoneingresses"},ee=c("span",{class:"custom-control-icon"}," \u2190 ",-1);function te(o,r,t,p,e,l){const h=n("MultizoneInfo"),E=n("KButton"),S=n("DataOverview"),I=n("LabelList"),k=n("SubscriptionHeader"),L=n("SubscriptionDetails"),w=n("AccordionItem"),A=n("AccordionList"),x=n("KCard"),_=n("EnvoyData"),T=n("TabsWidget"),C=n("FrameSkeleton");return a(),y("div",$,[o.multicluster===!1?(a(),u(h,{key:0})):(a(),u(C,{key:1},{default:s(()=>{var f;return[i(S,{"selected-entity-name":(f=e.entity)==null?void 0:f.name,"page-size":e.pageSize,"is-loading":e.isLoading,error:e.error,"empty-state":e.empty_state,"table-data":e.tableData,"table-data-is-empty":e.isEmpty,next:e.next,onTableAction:l.tableAction,onLoadData:r[0]||(r[0]=m=>l.loadData(m))},{additionalControls:s(()=>[o.$route.query.ns?(a(),u(E,{key:0,class:"back-button",appearance:"primary",to:{name:"zoneingresses"}},{default:s(()=>[ee,H(" View All ")]),_:1})):v("",!0)]),_:1},8,["selected-entity-name","page-size","is-loading","error","empty-state","table-data","table-data-is-empty","next","onTableAction"]),e.isEmpty===!1?(a(),u(T,{key:0,"has-error":e.error!==null,"is-loading":e.isLoading,tabs:e.tabs,"initial-tab-override":"overview"},{tabHeader:s(()=>[c("div",null,[c("h3",null," Zone Ingress: "+b(e.entity.name),1)])]),overview:s(()=>[i(I,null,{default:s(()=>[c("div",null,[c("ul",null,[(a(!0),y(D,null,z(e.entity,(m,d)=>(a(),y("li",{key:d},[c("h4",null,b(d),1),c("p",null,b(m),1)]))),128))])])]),_:1})]),insights:s(()=>[i(x,{"border-variant":"noBorder"},{body:s(()=>[i(A,{"initially-open":0},{default:s(()=>[(a(!0),y(D,null,z(e.subscriptionsReversed,(m,d)=>(a(),u(w,{key:d},{"accordion-header":s(()=>[i(k,{details:m},null,8,["details"])]),"accordion-content":s(()=>[i(L,{details:m,"is-discovery-subscription":""},null,8,["details"])]),_:2},1024))),128))]),_:1})]),_:1})]),"xds-configuration":s(()=>[i(_,{"data-path":"xds","zone-ingress-name":e.entity.name,"query-key":"envoy-data-zone-ingress"},null,8,["zone-ingress-name"])]),"envoy-stats":s(()=>[i(_,{"data-path":"stats","zone-ingress-name":e.entity.name,"query-key":"envoy-data-zone-ingress"},null,8,["zone-ingress-name"])]),"envoy-clusters":s(()=>[i(_,{"data-path":"clusters","zone-ingress-name":e.entity.name,"query-key":"envoy-data-zone-ingress"},null,8,["zone-ingress-name"])]),_:1},8,["has-error","is-loading","tabs"])):v("",!0)]}),_:1}))])}const _e=B(Y,[["render",te]]);export{_e as default}; +import{D as B,cl as F,cm as Z,e as M,M as q,P as K,cn as N,k as g,co as O,s as V,o as a,j as y,c as u,w as s,a as i,b as H,z as v,l as c,t as b,F as D,n as z,i as n}from"./index.47c8bf16.js";import{g as R}from"./tableDataUtils.a0dba6c0.js";import{D as W}from"./DataOverview.ae0ae0a9.js";import{E as G}from"./EnvoyData.988dd7af.js";import{F as P}from"./FrameSkeleton.0676501d.js";import{_ as j}from"./LabelList.vue_vue_type_style_index_0_lang.96dd97a6.js";import{M as U}from"./MultizoneInfo.18ff38aa.js";import{S as X,a as J}from"./SubscriptionHeader.ad23ccb6.js";import{T as Q}from"./TabsWidget.a8296b4a.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js";import"./ErrorBlock.456ea0f6.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js";import"./TagList.d43e2716.js";import"./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js";import"./_commonjsHelpers.f037b798.js";const Y={name:"ZoneIngresses",components:{AccordionItem:F,AccordionList:Z,DataOverview:W,EnvoyData:G,FrameSkeleton:P,LabelList:j,MultizoneInfo:U,SubscriptionDetails:X,SubscriptionHeader:J,TabsWidget:Q,KButton:M,KCard:q},data(){return{isLoading:!0,isEmpty:!1,error:null,empty_state:{title:"No Data",message:"There are no Zone Ingresses present."},tableData:{headers:[{key:"actions",hideLabel:!0},{label:"Status",key:"status"},{label:"Name",key:"name"}],data:[]},tabs:[{hash:"#overview",title:"Overview"},{hash:"#insights",title:"Zone Ingress Insights"},{hash:"#xds-configuration",title:"XDS Configuration"},{hash:"#envoy-stats",title:"Stats"},{hash:"#envoy-clusters",title:"Clusters"}],entity:{},rawData:[],pageSize:K,next:null,subscriptionsReversed:[]}},computed:{...N({multicluster:"config/getMulticlusterStatus"})},watch:{$route(){this.isLoading=!0,this.isEmpty=!1,this.error=null,this.init()}},beforeMount(){this.init()},methods:{init(){this.multicluster&&this.loadData()},tableAction(o){const r=o;this.getEntity(r)},async loadData(o="0"){this.isLoading=!0,this.isEmpty=!1;const r=this.$route.query.ns||null;try{const{data:t,next:p}=await R({getAllEntities:g.getAllZoneIngressOverviews.bind(g),getSingleEntity:g.getZoneIngressOverview.bind(g),size:this.pageSize,offset:o,query:r});this.next=p,t.length?(this.isEmpty=!1,this.rawData=t,this.getEntity({name:t[0].name}),this.tableData.data=t.map(e=>{const{zoneIngressInsight:l={}}=e;return{...e,...O(l)}})):(this.tableData.data=[],this.isEmpty=!0)}catch(t){t instanceof Error?this.error=t:console.error(t),this.isEmpty=!0}finally{this.isLoading=!1}},getEntity(o){var e,l;const r=["type","name"],t=this.rawData.find(h=>h.name===o.name),p=(l=(e=t==null?void 0:t.zoneIngressInsight)==null?void 0:e.subscriptions)!=null?l:[];this.subscriptionsReversed=Array.from(p).reverse(),this.entity=V(t,r)}}},$={class:"zoneingresses"},ee=c("span",{class:"custom-control-icon"}," \u2190 ",-1);function te(o,r,t,p,e,l){const h=n("MultizoneInfo"),E=n("KButton"),S=n("DataOverview"),I=n("LabelList"),k=n("SubscriptionHeader"),L=n("SubscriptionDetails"),w=n("AccordionItem"),A=n("AccordionList"),x=n("KCard"),_=n("EnvoyData"),T=n("TabsWidget"),C=n("FrameSkeleton");return a(),y("div",$,[o.multicluster===!1?(a(),u(h,{key:0})):(a(),u(C,{key:1},{default:s(()=>{var f;return[i(S,{"selected-entity-name":(f=e.entity)==null?void 0:f.name,"page-size":e.pageSize,"is-loading":e.isLoading,error:e.error,"empty-state":e.empty_state,"table-data":e.tableData,"table-data-is-empty":e.isEmpty,next:e.next,onTableAction:l.tableAction,onLoadData:r[0]||(r[0]=m=>l.loadData(m))},{additionalControls:s(()=>[o.$route.query.ns?(a(),u(E,{key:0,class:"back-button",appearance:"primary",to:{name:"zoneingresses"}},{default:s(()=>[ee,H(" View All ")]),_:1})):v("",!0)]),_:1},8,["selected-entity-name","page-size","is-loading","error","empty-state","table-data","table-data-is-empty","next","onTableAction"]),e.isEmpty===!1?(a(),u(T,{key:0,"has-error":e.error!==null,"is-loading":e.isLoading,tabs:e.tabs,"initial-tab-override":"overview"},{tabHeader:s(()=>[c("div",null,[c("h3",null," Zone Ingress: "+b(e.entity.name),1)])]),overview:s(()=>[i(I,null,{default:s(()=>[c("div",null,[c("ul",null,[(a(!0),y(D,null,z(e.entity,(m,d)=>(a(),y("li",{key:d},[c("h4",null,b(d),1),c("p",null,b(m),1)]))),128))])])]),_:1})]),insights:s(()=>[i(x,{"border-variant":"noBorder"},{body:s(()=>[i(A,{"initially-open":0},{default:s(()=>[(a(!0),y(D,null,z(e.subscriptionsReversed,(m,d)=>(a(),u(w,{key:d},{"accordion-header":s(()=>[i(k,{details:m},null,8,["details"])]),"accordion-content":s(()=>[i(L,{details:m,"is-discovery-subscription":""},null,8,["details"])]),_:2},1024))),128))]),_:1})]),_:1})]),"xds-configuration":s(()=>[i(_,{"data-path":"xds","zone-ingress-name":e.entity.name,"query-key":"envoy-data-zone-ingress"},null,8,["zone-ingress-name"])]),"envoy-stats":s(()=>[i(_,{"data-path":"stats","zone-ingress-name":e.entity.name,"query-key":"envoy-data-zone-ingress"},null,8,["zone-ingress-name"])]),"envoy-clusters":s(()=>[i(_,{"data-path":"clusters","zone-ingress-name":e.entity.name,"query-key":"envoy-data-zone-ingress"},null,8,["zone-ingress-name"])]),_:1},8,["has-error","is-loading","tabs"])):v("",!0)]}),_:1}))])}const _e=B(Y,[["render",te]]);export{_e as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZonesView.c219d8c0.js b/app/kuma-ui/pkg/resources/data/assets/ZonesView.c73b1adb.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/ZonesView.c219d8c0.js rename to app/kuma-ui/pkg/resources/data/assets/ZonesView.c73b1adb.js index 5edbabcbc088..d27c90204d31 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZonesView.c219d8c0.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZonesView.c73b1adb.js @@ -1 +1 @@ -import{D as N,cl as x,cm as K,R as F,e as H,M,P,cn as R,co as q,k as p,cp as S,s as G,cq as J,cr as j,o as l,j as m,c as h,w as o,a as u,b as z,z as _,l as f,t as E,F as C,n as D,i as r}from"./index.09f51eb8.js";import{g as Y}from"./tableDataUtils.637a273e.js";import{_ as U}from"./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js";import{D as Q}from"./DataOverview.75cd0a9e.js";import{F as X}from"./FrameSkeleton.fcef0e24.js";import{_ as $}from"./LabelList.vue_vue_type_style_index_0_lang.6ccc9977.js";import{M as ee}from"./MultizoneInfo.f4c789b7.js";import{S as te,a as se}from"./SubscriptionHeader.1363ed57.js";import{T as ne}from"./TabsWidget.55b438d0.js";import{W as ie}from"./WarningsWidget.92381260.js";import"./_commonjsHelpers.f037b798.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js";import"./ErrorBlock.6cb5eaea.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js";import"./TagList.c6e1c385.js";const oe={name:"ZonesView",components:{AccordionItem:x,AccordionList:K,CodeBlock:U,DataOverview:Q,FrameSkeleton:X,LabelList:$,MultizoneInfo:ee,SubscriptionDetails:te,SubscriptionHeader:se,TabsWidget:ne,WarningsWidget:ie,KBadge:F,KButton:H,KCard:M},data(){return{isLoading:!0,isEmpty:!1,error:null,entityIsLoading:!0,entityIsEmpty:!1,entityHasError:!1,tableDataIsEmpty:!1,empty_state:{title:"No Data",message:"There are no Zones present."},tableData:{headers:[{key:"actions",hideLabel:!0},{label:"Status",key:"status"},{label:"Name",key:"name"},{label:"Zone CP Version",key:"zoneCpVersion"},{label:"Storage type",key:"storeType"},{label:"Ingress",key:"hasIngress"},{label:"Egress",key:"hasEgress"},{key:"warnings",hideLabel:!0}],data:[]},tabs:[{hash:"#overview",title:"Overview"},{hash:"#insights",title:"Zone Insights"},{hash:"#config",title:"Config"},{hash:"#warnings",title:"Warnings"}],entity:{},pageSize:P,next:null,warnings:[],subscriptionsReversed:[],codeOutput:null,zonesWithIngress:new Set}},computed:{...R({multicluster:"config/getMulticlusterStatus",globalCpVersion:"config/getVersion"})},watch:{$route(){this.isLoading=!0,this.isEmpty=!1,this.error=null,this.entityIsLoading=!0,this.entityIsEmpty=!1,this.entityHasError=!1,this.tableDataIsEmpty=!1,this.init()}},beforeMount(){this.init()},methods:{init(){this.multicluster&&this.loadData()},filterTabs(){return this.warnings.length?this.tabs:this.tabs.filter(s=>s.hash!=="#warnings")},tableAction(s){const t=s;this.getEntity(t)},parseData(s){const{zoneInsight:t={},name:n}=s;let g="-",e="",a=!0;return t.subscriptions&&t.subscriptions.length&&t.subscriptions.forEach(i=>{if(i.version&&i.version.kumaCp){g=i.version.kumaCp.version;const{kumaCpGlobalCompatible:d=!0}=i.version.kumaCp;a=d,i.config&&(e=JSON.parse(i.config).store.type)}}),{...s,status:q(t).status,zoneCpVersion:g,storeType:e,hasIngress:this.zonesWithIngress.has(n)?"Yes":"No",hasEgress:this.zonesWithEgress.has(n)?"Yes":"No",withWarnings:!a}},calculateZonesWithIngress(s){const t=new Set;s.forEach(({zoneIngress:{zone:n}})=>{t.add(n)}),this.zonesWithIngress=t},calculateZonesWithEgress(s){const t=new Set;s.forEach(({zoneEgress:{zone:n}})=>{t.add(n)}),this.zonesWithEgress=t},async loadData(s="0"){this.isLoading=!0,this.isEmpty=!1;const t=this.$route.query.ns||null;try{const[{data:n,next:g},{items:e},{items:a}]=await Promise.all([Y({getSingleEntity:p.getZoneOverview.bind(p),getAllEntities:p.getAllZoneOverviews.bind(p),size:this.pageSize,offset:s,query:t}),S({callEndpoint:p.getAllZoneIngressOverviews.bind(p)}),S({callEndpoint:p.getAllZoneEgressOverviews.bind(p)})]);this.next=g,n.length?(this.calculateZonesWithIngress(e),this.calculateZonesWithEgress(a),this.tableData.data=n.map(this.parseData),this.tableDataIsEmpty=!1,this.isEmpty=!1,this.getEntity({name:n[0].name})):(this.tableData.data=[],this.tableDataIsEmpty=!0,this.isEmpty=!0,this.entityIsEmpty=!0)}catch(n){n instanceof Error?error.value=n:console.error(n),this.isEmpty=!0}finally{this.isLoading=!1}},async getEntity(s){var g,e;this.entityIsLoading=!0,this.entityIsEmpty=!0;const t=["type","name"],n=setTimeout(()=>{this.entityIsEmpty=!0,this.entityIsLoading=!1},"500");if(s){this.entityIsEmpty=!1,this.warnings=[];try{const a=await p.getZoneOverview({name:s.name}),i=(e=(g=a.zoneInsight)==null?void 0:g.subscriptions)!=null?e:[];if(this.entity={...G(a,t),"Authentication Type":J(a)},this.subscriptionsReversed=Array.from(i).reverse(),i.length){const{version:d={}}=i[i.length-1],{kumaCp:b={}}=d,I=b.version||"-",{kumaCpGlobalCompatible:v=!0}=b;v||this.warnings.push({kind:j,payload:{zoneCpVersion:I,globalCpVersion:this.globalCpVersion}}),i[i.length-1].config&&(this.codeOutput=JSON.stringify(JSON.parse(i[i.length-1].config),null,2))}}catch(a){console.error(a),this.entity={},this.entityHasError=!0,this.entityIsEmpty=!0}finally{clearTimeout(n)}}this.entityIsLoading=!1}}},ae={class:"zones"},re=f("span",{class:"custom-control-icon"}," \u2190 ",-1),le={key:0},ce={key:1},pe={key:2};function ue(s,t,n,g,e,a){const i=r("MultizoneInfo"),d=r("KButton"),b=r("DataOverview"),I=r("KBadge"),v=r("LabelList"),L=r("SubscriptionHeader"),A=r("SubscriptionDetails"),W=r("AccordionItem"),O=r("AccordionList"),w=r("KCard"),T=r("CodeBlock"),Z=r("WarningsWidget"),B=r("TabsWidget"),V=r("FrameSkeleton");return l(),m("div",ae,[s.multicluster===!1?(l(),h(i,{key:0})):(l(),h(V,{key:1},{default:o(()=>{var k;return[u(b,{"selected-entity-name":(k=e.entity)==null?void 0:k.name,"page-size":e.pageSize,"is-loading":e.isLoading,error:e.error,"empty-state":e.empty_state,"table-data":e.tableData,"table-data-is-empty":e.tableDataIsEmpty,"show-warnings":e.tableData.data.some(c=>c.withWarnings),next:e.next,onTableAction:a.tableAction,onLoadData:t[0]||(t[0]=c=>a.loadData(c))},{additionalControls:o(()=>[s.$route.query.ns?(l(),h(d,{key:0,class:"back-button",appearance:"primary",to:{name:"zones"}},{default:o(()=>[re,z(" View All ")]),_:1})):_("",!0)]),_:1},8,["selected-entity-name","page-size","is-loading","error","empty-state","table-data","table-data-is-empty","show-warnings","next","onTableAction"]),e.isEmpty===!1?(l(),h(B,{key:0,"has-error":e.error,"is-loading":e.isLoading,tabs:a.filterTabs(),"initial-tab-override":"overview"},{tabHeader:o(()=>[f("div",null,[f("h3",null," Zone: "+E(e.entity.name),1)])]),overview:o(()=>[u(v,{"has-error":e.entityHasError,"is-loading":e.entityIsLoading,"is-empty":e.entityIsEmpty},{default:o(()=>[f("div",null,[f("ul",null,[(l(!0),m(C,null,D(e.entity,(c,y)=>(l(),m("li",{key:y},[c?(l(),m("h4",le,E(y),1)):_("",!0),y==="status"?(l(),m("p",ce,[u(I,{appearance:c==="Offline"?"danger":"success"},{default:o(()=>[z(E(c),1)]),_:2},1032,["appearance"])])):(l(),m("p",pe,E(c),1))]))),128))])])]),_:1},8,["has-error","is-loading","is-empty"])]),insights:o(()=>[u(w,{"border-variant":"noBorder"},{body:o(()=>[u(O,{"initially-open":0},{default:o(()=>[(l(!0),m(C,null,D(e.subscriptionsReversed,(c,y)=>(l(),h(W,{key:y},{"accordion-header":o(()=>[u(L,{details:c},null,8,["details"])]),"accordion-content":o(()=>[u(A,{details:c},null,8,["details"])]),_:2},1024))),128))]),_:1})]),_:1})]),config:o(()=>[e.codeOutput?(l(),h(w,{key:0,"border-variant":"noBorder"},{body:o(()=>[u(T,{id:"code-block-zone-config",language:"json",code:e.codeOutput,"is-searchable":"","query-key":"zone-config"},null,8,["code"])]),_:1})):_("",!0)]),warnings:o(()=>[u(Z,{warnings:e.warnings},null,8,["warnings"])]),_:1},8,["has-error","is-loading","tabs"])):_("",!0)]}),_:1}))])}const Ce=N(oe,[["render",ue]]);export{Ce as default}; +import{D as N,cl as x,cm as K,R as F,e as H,M,P,cn as R,co as q,k as p,cp as S,s as G,cq as J,cr as j,o as l,j as m,c as h,w as o,a as u,b as z,z as _,l as f,t as E,F as C,n as D,i as r}from"./index.47c8bf16.js";import{g as Y}from"./tableDataUtils.a0dba6c0.js";import{_ as U}from"./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js";import{D as Q}from"./DataOverview.ae0ae0a9.js";import{F as X}from"./FrameSkeleton.0676501d.js";import{_ as $}from"./LabelList.vue_vue_type_style_index_0_lang.96dd97a6.js";import{M as ee}from"./MultizoneInfo.18ff38aa.js";import{S as te,a as se}from"./SubscriptionHeader.ad23ccb6.js";import{T as ne}from"./TabsWidget.a8296b4a.js";import{W as ie}from"./WarningsWidget.10850a61.js";import"./_commonjsHelpers.f037b798.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js";import"./ErrorBlock.456ea0f6.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js";import"./TagList.d43e2716.js";const oe={name:"ZonesView",components:{AccordionItem:x,AccordionList:K,CodeBlock:U,DataOverview:Q,FrameSkeleton:X,LabelList:$,MultizoneInfo:ee,SubscriptionDetails:te,SubscriptionHeader:se,TabsWidget:ne,WarningsWidget:ie,KBadge:F,KButton:H,KCard:M},data(){return{isLoading:!0,isEmpty:!1,error:null,entityIsLoading:!0,entityIsEmpty:!1,entityHasError:!1,tableDataIsEmpty:!1,empty_state:{title:"No Data",message:"There are no Zones present."},tableData:{headers:[{key:"actions",hideLabel:!0},{label:"Status",key:"status"},{label:"Name",key:"name"},{label:"Zone CP Version",key:"zoneCpVersion"},{label:"Storage type",key:"storeType"},{label:"Ingress",key:"hasIngress"},{label:"Egress",key:"hasEgress"},{key:"warnings",hideLabel:!0}],data:[]},tabs:[{hash:"#overview",title:"Overview"},{hash:"#insights",title:"Zone Insights"},{hash:"#config",title:"Config"},{hash:"#warnings",title:"Warnings"}],entity:{},pageSize:P,next:null,warnings:[],subscriptionsReversed:[],codeOutput:null,zonesWithIngress:new Set}},computed:{...R({multicluster:"config/getMulticlusterStatus",globalCpVersion:"config/getVersion"})},watch:{$route(){this.isLoading=!0,this.isEmpty=!1,this.error=null,this.entityIsLoading=!0,this.entityIsEmpty=!1,this.entityHasError=!1,this.tableDataIsEmpty=!1,this.init()}},beforeMount(){this.init()},methods:{init(){this.multicluster&&this.loadData()},filterTabs(){return this.warnings.length?this.tabs:this.tabs.filter(s=>s.hash!=="#warnings")},tableAction(s){const t=s;this.getEntity(t)},parseData(s){const{zoneInsight:t={},name:n}=s;let g="-",e="",a=!0;return t.subscriptions&&t.subscriptions.length&&t.subscriptions.forEach(i=>{if(i.version&&i.version.kumaCp){g=i.version.kumaCp.version;const{kumaCpGlobalCompatible:d=!0}=i.version.kumaCp;a=d,i.config&&(e=JSON.parse(i.config).store.type)}}),{...s,status:q(t).status,zoneCpVersion:g,storeType:e,hasIngress:this.zonesWithIngress.has(n)?"Yes":"No",hasEgress:this.zonesWithEgress.has(n)?"Yes":"No",withWarnings:!a}},calculateZonesWithIngress(s){const t=new Set;s.forEach(({zoneIngress:{zone:n}})=>{t.add(n)}),this.zonesWithIngress=t},calculateZonesWithEgress(s){const t=new Set;s.forEach(({zoneEgress:{zone:n}})=>{t.add(n)}),this.zonesWithEgress=t},async loadData(s="0"){this.isLoading=!0,this.isEmpty=!1;const t=this.$route.query.ns||null;try{const[{data:n,next:g},{items:e},{items:a}]=await Promise.all([Y({getSingleEntity:p.getZoneOverview.bind(p),getAllEntities:p.getAllZoneOverviews.bind(p),size:this.pageSize,offset:s,query:t}),S({callEndpoint:p.getAllZoneIngressOverviews.bind(p)}),S({callEndpoint:p.getAllZoneEgressOverviews.bind(p)})]);this.next=g,n.length?(this.calculateZonesWithIngress(e),this.calculateZonesWithEgress(a),this.tableData.data=n.map(this.parseData),this.tableDataIsEmpty=!1,this.isEmpty=!1,this.getEntity({name:n[0].name})):(this.tableData.data=[],this.tableDataIsEmpty=!0,this.isEmpty=!0,this.entityIsEmpty=!0)}catch(n){n instanceof Error?error.value=n:console.error(n),this.isEmpty=!0}finally{this.isLoading=!1}},async getEntity(s){var g,e;this.entityIsLoading=!0,this.entityIsEmpty=!0;const t=["type","name"],n=setTimeout(()=>{this.entityIsEmpty=!0,this.entityIsLoading=!1},"500");if(s){this.entityIsEmpty=!1,this.warnings=[];try{const a=await p.getZoneOverview({name:s.name}),i=(e=(g=a.zoneInsight)==null?void 0:g.subscriptions)!=null?e:[];if(this.entity={...G(a,t),"Authentication Type":J(a)},this.subscriptionsReversed=Array.from(i).reverse(),i.length){const{version:d={}}=i[i.length-1],{kumaCp:b={}}=d,I=b.version||"-",{kumaCpGlobalCompatible:v=!0}=b;v||this.warnings.push({kind:j,payload:{zoneCpVersion:I,globalCpVersion:this.globalCpVersion}}),i[i.length-1].config&&(this.codeOutput=JSON.stringify(JSON.parse(i[i.length-1].config),null,2))}}catch(a){console.error(a),this.entity={},this.entityHasError=!0,this.entityIsEmpty=!0}finally{clearTimeout(n)}}this.entityIsLoading=!1}}},ae={class:"zones"},re=f("span",{class:"custom-control-icon"}," \u2190 ",-1),le={key:0},ce={key:1},pe={key:2};function ue(s,t,n,g,e,a){const i=r("MultizoneInfo"),d=r("KButton"),b=r("DataOverview"),I=r("KBadge"),v=r("LabelList"),L=r("SubscriptionHeader"),A=r("SubscriptionDetails"),W=r("AccordionItem"),O=r("AccordionList"),w=r("KCard"),T=r("CodeBlock"),Z=r("WarningsWidget"),B=r("TabsWidget"),V=r("FrameSkeleton");return l(),m("div",ae,[s.multicluster===!1?(l(),h(i,{key:0})):(l(),h(V,{key:1},{default:o(()=>{var k;return[u(b,{"selected-entity-name":(k=e.entity)==null?void 0:k.name,"page-size":e.pageSize,"is-loading":e.isLoading,error:e.error,"empty-state":e.empty_state,"table-data":e.tableData,"table-data-is-empty":e.tableDataIsEmpty,"show-warnings":e.tableData.data.some(c=>c.withWarnings),next:e.next,onTableAction:a.tableAction,onLoadData:t[0]||(t[0]=c=>a.loadData(c))},{additionalControls:o(()=>[s.$route.query.ns?(l(),h(d,{key:0,class:"back-button",appearance:"primary",to:{name:"zones"}},{default:o(()=>[re,z(" View All ")]),_:1})):_("",!0)]),_:1},8,["selected-entity-name","page-size","is-loading","error","empty-state","table-data","table-data-is-empty","show-warnings","next","onTableAction"]),e.isEmpty===!1?(l(),h(B,{key:0,"has-error":e.error,"is-loading":e.isLoading,tabs:a.filterTabs(),"initial-tab-override":"overview"},{tabHeader:o(()=>[f("div",null,[f("h3",null," Zone: "+E(e.entity.name),1)])]),overview:o(()=>[u(v,{"has-error":e.entityHasError,"is-loading":e.entityIsLoading,"is-empty":e.entityIsEmpty},{default:o(()=>[f("div",null,[f("ul",null,[(l(!0),m(C,null,D(e.entity,(c,y)=>(l(),m("li",{key:y},[c?(l(),m("h4",le,E(y),1)):_("",!0),y==="status"?(l(),m("p",ce,[u(I,{appearance:c==="Offline"?"danger":"success"},{default:o(()=>[z(E(c),1)]),_:2},1032,["appearance"])])):(l(),m("p",pe,E(c),1))]))),128))])])]),_:1},8,["has-error","is-loading","is-empty"])]),insights:o(()=>[u(w,{"border-variant":"noBorder"},{body:o(()=>[u(O,{"initially-open":0},{default:o(()=>[(l(!0),m(C,null,D(e.subscriptionsReversed,(c,y)=>(l(),h(W,{key:y},{"accordion-header":o(()=>[u(L,{details:c},null,8,["details"])]),"accordion-content":o(()=>[u(A,{details:c},null,8,["details"])]),_:2},1024))),128))]),_:1})]),_:1})]),config:o(()=>[e.codeOutput?(l(),h(w,{key:0,"border-variant":"noBorder"},{body:o(()=>[u(T,{id:"code-block-zone-config",language:"json",code:e.codeOutput,"is-searchable":"","query-key":"zone-config"},null,8,["code"])]),_:1})):_("",!0)]),warnings:o(()=>[u(Z,{warnings:e.warnings},null,8,["warnings"])]),_:1},8,["has-error","is-loading","tabs"])):_("",!0)]}),_:1}))])}const Ce=N(oe,[["render",ue]]);export{Ce as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/buttons.esm.fbc01805.js b/app/kuma-ui/pkg/resources/data/assets/buttons.esm.fbc01805.js new file mode 100644 index 000000000000..0630465f8120 --- /dev/null +++ b/app/kuma-ui/pkg/resources/data/assets/buttons.esm.fbc01805.js @@ -0,0 +1,5 @@ +/*! + * github-buttons v2.22.0 + * (c) 2022 なつき + * @license BSD-2-Clause + */var C=window.document,v=window.Math,k=window.HTMLElement,p=window.XMLHttpRequest,F=function(e,o){for(var t=0,r=e.length;t'}}},download:{heights:{16:{width:16,path:''}}},eye:{heights:{16:{width:16,path:''}}},heart:{heights:{16:{width:16,path:''}}},"issue-opened":{heights:{16:{width:16,path:''}}},"mark-github":{heights:{16:{width:16,path:''}}},package:{heights:{16:{width:16,path:''}}},play:{heights:{16:{width:16,path:''}}},"repo-forked":{heights:{16:{width:16,path:''}}},"repo-template":{heights:{16:{width:16,path:''}}},star:{heights:{16:{width:16,path:''}}}},re=function(e,o){e=M(e).replace(/^octicon-/,""),m(x,e)||(e="mark-github");var t=o>=24&&24 in x[e].heights?24:16,r=x[e].heights[t];return'"},z={},te=function(e,o){var t=z[e]||(z[e]=[]);if(!(t.push(o)>1)){var r=V(function(){for(delete z[e];o=t.shift();)o.apply(null,arguments)});if(S){var a=new p;f(a,"abort",r),f(a,"error",r),f(a,"load",function(){var d;try{d=JSON.parse(this.responseText)}catch(s){r(s);return}r(this.status!==200,d)}),a.open("GET",e),a.send()}else{var n=this||window;n._=function(d){n._=null,r(d.meta.status!==200,d.data)};var l=A(n.document)("script",{async:!0,src:e+(e.indexOf("?")!==-1?"&":"?")+"callback=_"}),c=function(){n._&&n._({meta:{}})};f(l,"load",c),f(l,"error",c),J(l,/de|m/,c),n.document.getElementsByTagName("head")[0].appendChild(l)}}},T=function(e,o,t){var r=A(e.ownerDocument),a=e.appendChild(r("style",{type:"text/css"})),n=j+oe(o["data-color-scheme"]);a.styleSheet?a.styleSheet.cssText=n:a.appendChild(e.ownerDocument.createTextNode(n));var l=M(o["data-size"])==="large",c=r("a",{className:"btn",href:o.href,rel:"noopener",target:"_blank",title:o.title||void 0,"aria-label":o["aria-label"]||void 0,innerHTML:re(o["data-icon"],l?16:14)+" "},[r("span",{},[o["data-text"]||""])]),d=e.appendChild(r("div",{className:"widget"+(l?" widget-lg":"")},[c])),s=c.hostname.replace(/\.$/,"");if(("."+s).substring(s.length-u.length)!=="."+u){c.removeAttribute("href"),t(d);return}var i=(" /"+c.pathname).split(/\/+/);if(((s===u||s==="gist."+u)&&i[3]==="archive"||s===u&&i[3]==="releases"&&(i[4]==="download"||i[4]==="latest"&&i[5]==="download")||s==="codeload."+u)&&(c.target="_top"),M(o["data-show-count"])!=="true"||s!==u||i[1]==="marketplace"||i[1]==="sponsors"||i[1]==="orgs"||i[1]==="users"||i[1]==="-"){t(d);return}var b,g;if(!i[2]&&i[1])g="followers",b="?tab=followers";else if(!i[3]&&i[2])g="stargazers_count",b="/stargazers";else if(!i[4]&&i[3]==="subscription")g="subscribers_count",b="/watchers";else if(!i[4]&&i[3]==="fork")g="forks_count",b="/network/members";else if(i[3]==="issues")g="open_issues_count",b="/issues";else{t(d);return}var B=i[2]?"/repos/"+i[1]+"/"+i[2]:"/users/"+i[1];te.call(this,R+B,function(X,E){if(!X){var w=E[g];d.appendChild(r("a",{className:"social-count",href:E.html_url+b,rel:"noopener",target:"_blank","aria-label":w+" "+g.replace(/_count$/,"").replace("_"," ").slice(0,w<2?-1:void 0)+" on GitHub"},[(""+w).replace(/\B(?=(\d{3})+(?!\d))/g,",")]))}t(d)})},y=window.devicePixelRatio||1,D=function(e){return(y>1?v.ceil(v.round(e*y)/y*2)/2:v.ceil(e))||0},ae=function(e){var o=e.offsetWidth,t=e.offsetHeight;if(e.getBoundingClientRect){var r=e.getBoundingClientRect();o=v.max(o,D(r.width)),t=v.max(t,D(r.height))}return[o,t]},H=function(e,o){e.style.width=o[0]+"px",e.style.height=o[1]+"px"},ne=function(e,o){if(!(e==null||o==null))if(e.getAttribute&&(e=Q(e)),I){var t=_("span");T(t.attachShadow({mode:"closed"}),e,function(){o(t)})}else{var r=_("iframe",{src:"javascript:0",title:e.title||void 0,allowtransparency:!0,scrolling:"no",frameBorder:0});H(r,[0,0]),r.style.border="none";var a=function(){var n=r.contentWindow,l;try{l=n.document.body}catch{C.body.appendChild(r.parentNode.removeChild(r));return}L(r,"load",a),T.call(n,l,e,function(c){var d=ae(c);r.parentNode.removeChild(r),$(r,"load",function(){H(r,d)}),r.src=P+"#"+(r.name=W(e)),o(r)})};f(r,"load",a),C.body.appendChild(r)}};export{ne as render}; diff --git a/app/kuma-ui/pkg/resources/data/assets/index.1d6d8ca1.css b/app/kuma-ui/pkg/resources/data/assets/index.1d6d8ca1.css deleted file mode 100644 index 5838000723c4..000000000000 --- a/app/kuma-ui/pkg/resources/data/assets/index.1d6d8ca1.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";.krumbs{font-size:var(--type-lg)}.krumbs .krumb-item a{color:#000!important;text-decoration:none;font-weight:400}@media (min-width: 701px){.krumbs{font-size:var(--type-xl)}}.notification-icon[data-v-c4951eaf]{--amount-offset: 8px;position:relative;padding-right:var(--amount-offset);display:inline-flex;align-items:center}.notification-icon__amount[data-v-c4951eaf]{position:absolute;top:calc(-1 * var(--amount-offset));right:0;height:1.25rem;width:1.25rem;display:flex;align-items:center;justify-content:center;border:1px solid var(--white);border-radius:50%;background-color:var(--yellow-300)}.upgrade-check .k-alert.k-alert[data-v-144c475e]{padding:var(--spacing-xxs) var(--spacing-xs)}.alert-content[data-v-144c475e]{display:flex;align-items:center;font-size:var(--type-sm)}.alert-content>*[data-v-144c475e]:first-of-type{margin-right:var(--spacing-sm)}.alert-content .k-button[data-v-144c475e]{text-decoration:none}.alert-content .k-button[data-v-144c475e]:after{display:none}.warning-button[data-v-144c475e]{--KButtonPrimaryBase: #f2a230;--KButtonPrimaryHover: #f2a230;--KButtonPrimaryActive: #f2a230}.app-header[data-v-34b4ea08]{position:fixed;z-index:3;top:0;left:0;width:100%;height:var(--topbar-height);display:flex;justify-content:space-between;align-items:center;padding-right:var(--spacing-lg);padding-left:var(--spacing-lg);border-bottom:1px solid var(--black-10);background-color:var(--white)}.logo-image[data-v-34b4ea08]{max-height:36px}.horizontal-list[data-v-34b4ea08]{display:flex;align-items:center;gap:var(--spacing-lg)}.app-status--desktop[data-v-34b4ea08]{color:var(--gray-3);display:none}@media screen and (min-width: 900px){.app-status--desktop[data-v-34b4ea08]{display:block}}.app-status--mobile[data-v-34b4ea08]{display:block}@media screen and (min-width: 900px){.app-status--mobile[data-v-34b4ea08]{display:none}}@media screen and (max-width: 600px){.upgrade-check-wrapper[data-v-34b4ea08]{display:none}}.full-screen[data-v-28cdaab8]{background:var(--white);position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:50000;display:flex;align-items:center;justify-content:center}.loading-container[data-v-28cdaab8]{display:flex;max-width:350px;align-items:center;flex-direction:column}.loading-container .progress[data-v-28cdaab8]{margin-top:1rem;width:130%;background-color:#e6e6e6}.loading-container .progress .progress-bar[data-v-28cdaab8]{height:5px;background-color:var(--LoaderProgressBarBG)}.onboarding-check[data-v-c21dc5a7]{margin:0 0 var(--spacing-xl) 0}@media screen and (min-width: 700px){.alert-content[data-v-c21dc5a7]{display:flex;align-items:center}.alert-content>*[data-v-c21dc5a7]:first-of-type{margin-right:var(--spacing-md)}.alert-content>*[data-v-c21dc5a7]:last-of-type{min-width:150px}}@media screen and (max-width: 699px){.alert-content>*[data-v-c21dc5a7]:last-of-type{margin-top:10px}}.action-button.action-button[data-v-c21dc5a7]{text-decoration:none}.mesh-selector-container[data-v-4a31953a]{margin-left:var(--spacing-xs);margin-top:var(--spacing-xxs)}.mesh-selector[data-v-4a31953a]{display:block;width:100%;color:var(--MeshSelectorInputTextColor);border-color:var(--MeshSelectorInputBorderColor);outline:none}.mesh-selector[data-v-4a31953a]:focus,.mesh-selector[data-v-4a31953a]:active{border-color:var(--MeshSelectorInputBorderColorFocus)}.menu-title[data-v-4a31953a]{display:block;font-size:var(--type-sm);font-weight:500;color:var(--MeshSelectorTitleColor);margin:0 0 5px}.nav-item[data-v-3fcc0f24]{position:relative;margin-left:var(--spacing-xs)}.nav-item[data-v-3fcc0f24]:not(:first-child){margin-top:var(--spacing-xxs)}.nav-item--is-primary-category[data-v-3fcc0f24]{font-size:var(--type-md);text-transform:uppercase}.nav-item--is-primary-category~.nav-item--is-primary-category[data-v-3fcc0f24]{margin-top:var(--spacing-md)}.nav-item--is-secondary-category[data-v-3fcc0f24]{margin-left:var(--spacing-md)}.nav-item--has-bottom-offset[data-v-3fcc0f24]{margin-bottom:var(--spacing-xl);padding-bottom:var(--spacing-xs);border-bottom:1px solid var(--grey-300)}.nav-link[data-v-3fcc0f24]{display:flex;width:100%;align-items:center;padding:var(--spacing-xs) var(--spacing-md);border-radius:5px;text-decoration:none;color:currentColor}.nav-link[data-v-3fcc0f24]:hover,.nav-link--is-active[data-v-3fcc0f24]{background-color:var(--grey-300)}.nav-link--is-active[data-v-3fcc0f24]{font-weight:500}.nav-category[data-v-3fcc0f24]{padding-top:var(--spacing-xs);padding-bottom:var(--spacing-xs);font-weight:500}.amount[data-v-3fcc0f24]{position:absolute;top:0;right:8px;bottom:0;width:1.5rem;height:1.25rem;margin:auto;display:flex;justify-content:center;align-items:center;border:1px solid var(--white);border-radius:.25rem;font-size:.75rem;font-weight:400;background-color:var(--purple-100)}.amount--empty[data-v-3fcc0f24]{background-color:var(--grey-200)}.app-sidebar-wrapper[data-v-8d6a9406]{position:static}.app-sidebar[data-v-8d6a9406]{width:var(--subnavWidth);position:fixed;z-index:10;top:var(--topbar-height);bottom:0;left:0;overflow-y:auto;padding-top:var(--spacing-xs);padding-right:var(--spacing-xs);border-right:1px solid var(--black-10);background-color:var(--white)}.accordion-item[data-v-a70736a2]:last-child{border-bottom:none}.accordion-enter-active[data-v-a70736a2],.accordion-leave-active[data-v-a70736a2]{will-change:height,opacity;transition:height .3s ease,opacity .3s ease;overflow:hidden}.accordion-enter[data-v-a70736a2],.accordion-leave-to[data-v-a70736a2]{height:0!important;opacity:0}.active .accordion-item-header[data-v-a70736a2]:after{margin-left:var(--spacing-sm);transform:rotate(-180deg) translateY(-50%);top:calc(50% - 4px)}.accordion-item-header[data-v-a70736a2]{position:relative;display:block;width:100%;cursor:pointer;padding:.5rem 1rem;text-align:left}.accordion-item-header[data-v-a70736a2]:after{position:absolute;right:4px;top:50%;transform:translateY(-50%);content:"";border-top:.325em solid;border-right:.325em solid transparent;border-left:.325em solid transparent;transition:.25s ease}.modal[data-v-b8271fba]{margin-left:1rem;margin-right:1rem;--KModalMaxWidth: 800px }.app-content-container[data-v-9c7cbb3f]{display:grid;grid-template-columns:var(--subnavWidth) 1fr}.app-main-content[data-v-9c7cbb3f]{padding:var(--spacing-lg)}.app-main-content--narrow[data-v-9c7cbb3f]{width:100%;max-width:var(--global-content-max-width);margin-right:auto;margin-left:auto}.kong-icon[data-v-71cfcfc4]{display:inline-block}.kong-icon .slot-content[data-v-71cfcfc4],.kong-icon .svg-with-slot-is-hidden[data-v-71cfcfc4]{display:none!important;visibility:hidden!important}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.kong-icon.kong-icon-spinner svg g{transform-box:fill-box;transform-origin:50% 50%;animation:spin 1.2s infinite linear}.k-button[data-v-6f773baa]{position:relative;display:inline-flex;align-items:center;gap:8px;gap:var(--spacing-xs, 8px);padding:12px 24px;padding:var(--KButtonPaddingY, var(--spacing-sm, 12px)) var(--KButtonPaddingX, var(--spacing-lg, 24px));font-family:sans-serif;font-family:var(--font-family-sans, sans-serif);font-size:16px;font-size:var(--KButtonFontSize, var(--type-md, 16px));font-weight:600;line-height:1.25;text-decoration:none;vertical-align:middle;color:#000000b3;color:var(--black-70, rgba(0, 0, 0, .7));border:1px solid transparent;border-radius:3px;border-radius:var(--KButtonRadius, 3px);transition:all .2s ease-in-out;cursor:pointer;-webkit-tap-highlight-color:rgba(255,255,255,0)}.k-button[data-v-6f773baa]:disabled,.k-button[disabled][data-v-6f773baa]{cursor:not-allowed}.k-button[data-v-6f773baa]:disabled:hover,.k-button[disabled][data-v-6f773baa]:hover{text-decoration:none!important}.k-button:disabled .kong-icon[data-v-6f773baa],.k-button[data-v-6f773baa]:disabled .kong-icon,.k-button[disabled] .kong-icon[data-v-6f773baa],.k-button[disabled][data-v-6f773baa] .kong-icon{pointer-events:none}.k-button[disabled][data-v-6f773baa]:not(:disabled){pointer-events:none}.k-button[data-v-6f773baa]:focus{outline:none}.k-button[data-v-6f773baa]>.kong-icon{display:inline-flex;box-sizing:unset}.k-button.icon-btn[data-v-6f773baa]{height:38px;justify-content:center}.k-button.small[data-v-6f773baa]{padding:8px 16px;padding:var(--spacing-xs, 8px) var(--spacing-md, 16px);font-size:13px;font-size:var(--KButtonFontSize, 13px);line-height:13px}.k-button.medium[data-v-6f773baa]{padding:12px 24px;padding:var(--spacing-sm, 12px) var(--spacing-lg, 24px);font-size:16px;font-size:var(--KButtonFontSize, var(--type-md, 16px));line-height:16px;line-height:var(--type-md, 16px)}.k-button.large[data-v-6f773baa]{padding:16px 32px;padding:var(--spacing-md, 16px) var(--spacing-xl, 32px);font-size:16px;font-size:var(--KButtonFontSize, var(--type-md, 16px));line-height:16px;line-height:var(--type-md, 16px)}.k-button[data-v-6f773baa] .caret{margin-left:15px;padding:0;display:inline-block;transition:.25s ease}.k-button.is-active[data-v-6f773baa] .caret{transform:rotate(-180deg);transition:.25s ease}.k-button.secondary[data-v-6f773baa]{color:#003694;color:var(--KButtonSecondaryColor, var(--blue-600, #003694));background-color:#bdd3f9;background-color:var(--KButtonSecondaryBase, var(--blue-200, #bdd3f9))}.k-button.secondary[data-v-6f773baa]:hover:not(:disabled){background-color:var(--blue-300);background-color:var(--KButtonSecondaryHover, var(--blue-300))}.k-button.secondary[data-v-6f773baa]:active{background-color:#8ab3fa;background-color:var(--KButtonSecondaryActive, var(--blue-300, #8ab3fa))}.k-button.secondary[data-v-6f773baa]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #8ab3fa;box-shadow:0 0 0 2px var(--white, #ffffff),0 0 0 4px var(--KButtonSecondaryBase, var(--blue-300, #8ab3fa))}.k-button.secondary[data-v-6f773baa]:disabled,.k-button.secondary[disabled][data-v-6f773baa]{background-color:var(--grey-300)!important;color:var(--grey-400)!important}.k-button.primary[data-v-6f773baa]{color:#fff;color:var(--white, #fff);background-color:#1155cb;background-color:var(--KButtonPrimaryBase, var(--blue-500, #1155cb))}.k-button.primary[data-v-6f773baa]:hover:not(:disabled){background-color:var(--blue-600);background-color:var(--KButtonPrimaryHover, var(--blue-600))}.k-button.primary[data-v-6f773baa]:active{background-color:#003694;background-color:var(--KButtonPrimaryActive, var(--blue-600, #003694))}.k-button.primary[data-v-6f773baa]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #1155cb;box-shadow:0 0 0 2px var(--white, #ffffff),0 0 0 4px var(--KButtonPrimaryBase, var(--blue-500, #1155cb))}.k-button.primary[data-v-6f773baa]:disabled,.k-button.primary[disabled][data-v-6f773baa]{background-color:var(--grey-300)!important;color:var(--grey-400)!important}.k-button.danger[data-v-6f773baa]{color:#fff;color:var(--white, #fff);background-color:#d44324;background-color:var(--KButtonDangerBase, var(--red-500, #d44324))}.k-button.danger[data-v-6f773baa]:hover:not(:disabled){background-color:#922021d9;background-color:var(--KButtonDangerHover, rgba(146, 32, 33, .85))}.k-button.danger[data-v-6f773baa]:active{background-color:#922021;background-color:var(--KButtonDangerActive, var(--red-700, #922021))}.k-button.danger[data-v-6f773baa]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #922021;box-shadow:0 0 0 2px var(--white, #ffffff),0 0 0 4px var(--KButtonDangerBase, var(--red-700, #922021))}.k-button.danger[data-v-6f773baa]:disabled,.k-button.danger[disabled][data-v-6f773baa]{background-color:var(--grey-300)!important;color:var(--grey-400)!important}.k-button.creation[data-v-6f773baa]{color:#fff;color:var(--white, #fff);background-color:#07a88d;background-color:var(--KButtonCreationBase, var(--green-500, #07a88d))}.k-button.creation[data-v-6f773baa]:hover:not(:disabled){background-color:#008871d9;background-color:var(--KButtonCreationHover, rgba(0, 136, 113, .85))}.k-button.creation[data-v-6f773baa]:active{background-color:#008871;background-color:var(--KButtonCreationActive, var(--green-600, #008871))}.k-button.creation[data-v-6f773baa]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #008871;box-shadow:0 0 0 2px var(--white, #ffffff),0 0 0 4px var(--KButtonCreationBase, var(--green-600, #008871))}.k-button.creation[data-v-6f773baa]:disabled,.k-button.creation[disabled][data-v-6f773baa]{background-color:var(--grey-300)!important;color:var(--grey-400)!important}.k-button.outline[data-v-6f773baa]{color:#1155cb;color:var(--KButtonOutlineColor, var(--blue-500, #1155cb));border-color:#1155cb66;border-color:var(--KButtonOutlineBorder, rgba(17, 85, 203, .4));background-color:#fff;background-color:var(--white, #ffffff);outline-style:inherit}.k-button.outline[data-v-6f773baa]:hover:not(:disabled){border-color:#1155cb;border-color:var(--KButtonOutlineHoverBorder, #1155cb)}.k-button.outline[data-v-6f773baa]:active{border-color:#1155cb;border-color:var(--KButtonOutlineActiveBorder, #1155cb);background-color:#f2f6fe;background-color:var(--KButtonOutlineActive, var(--blue-100, #f2f6fe))}.k-button.outline[data-v-6f773baa]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #1155cb;box-shadow:0 0 0 2px var(--white, #ffffff),0 0 0 4px var(--KButtonOutlineBorder, var(--blue-500, #1155cb))}.k-button.outline[data-v-6f773baa]:disabled,.k-button.outline[disabled][data-v-6f773baa]{border-color:var(--grey-400)!important;color:var(--grey-400)!important}.k-button.btn-link[data-v-6f773baa]{color:#1155cb;color:var(--KButtonBtnLink, var(--blue-500, #1155cb));background-color:transparent}.k-button.btn-link[data-v-6f773baa]:hover:not(:disabled){text-decoration:underline}.k-button.btn-link[data-v-6f773baa]:focus{box-shadow:0 0 #fff,0 0 0 2px #1155cb;box-shadow:0 0 0 0 var(--white, #ffffff),0 0 0 2px var(--KButtonOutlineBorder, var(--blue-500, #1155cb))}.k-button.btn-link[data-v-6f773baa]:disabled,.k-button.btn-link[disabled][data-v-6f773baa]{color:var(--grey-400)!important}.k-button.btn-link-danger[data-v-6f773baa]{color:#d44324;color:var(--KButtonLinkDanger, var(--red-500, #d44324));background-color:transparent}.k-button.btn-link-danger[data-v-6f773baa]:hover:not(:disabled){text-decoration:underline}.k-button.btn-link-danger[data-v-6f773baa]:focus{box-shadow:0 0 #fff,0 0 0 2px #922021;box-shadow:0 0 0 0 var(--white, #ffffff),0 0 0 2px var(--red-700, #922021)}.k-button.rounded[data-v-6f773baa]{border-radius:100px}.k-alert[data-v-1910ef98]{position:relative;display:flex;padding:14px;border-radius:4px;overflow-wrap:anywhere;word-break:break-word}.k-alert a[data-v-1910ef98]{text-decoration:underline;color:#003694;color:var(--blue-600, #003694)}.k-alert>div .k-alert-msg[data-v-1910ef98]{font-weight:400;font-size:16px;font-size:var(--type-md, 16px);line-height:24px;padding:2px 0;margin-left:2px}.k-alert>div .k-alert-msg.k-alert-subtext[data-v-1910ef98]{font-size:14px;font-size:var(--type-sm, 14px)}.k-alert>div .k-alert-msg p[data-v-1910ef98]:last-of-type{margin-bottom:0}.k-alert .k-alert-description-text[data-v-1910ef98]{display:block;padding-top:var(--spacing-xxs);font-weight:400;font-size:13px;line-height:24px;color:var(--grey-500)}.k-alert .k-alert-action[data-v-1910ef98]{display:inline-flex;position:relative;margin-top:auto;margin-bottom:auto;margin-left:auto;height:100%}.k-alert .close[data-v-1910ef98]{position:absolute;top:0;right:var(--spacing-xs);bottom:0;border:0;background-color:transparent;transition:all .2s ease;cursor:pointer;opacity:.5}.k-alert .close[data-v-1910ef98]:hover,.k-alert .close[data-v-1910ef98]:active{text-decoration:none;opacity:1}.k-alert.small[data-v-1910ef98]{padding:12px 8px;padding:var(--spacing-sm, 12px) var(--spacing-xs, 8px)}.k-alert.small>div .k-alert-msg[data-v-1910ef98]{font-size:14px;font-size:var(--type-sm, 14px)}.k-alert.large[data-v-1910ef98]{min-height:80px;border-radius:2px}.k-alert.large .k-alert-icon-container-large[data-v-1910ef98]{padding:var(--spacing-lg) 0}.k-alert.is-fixed[data-v-1910ef98]{position:fixed;top:0;left:0;right:0}.k-alert.is-bordered[data-v-1910ef98]{border:1px solid}.k-alert.is-centered[data-v-1910ef98]{justify-content:center}.k-alert.has-left-border[data-v-1910ef98]{border-left:3px solid;border-radius:0}.k-alert.has-right-border[data-v-1910ef98]{border-right:3px solid;border-radius:0}.k-alert.has-top-border[data-v-1910ef98]{border-top:3px solid;border-radius:0}.k-alert.has-bottom-border[data-v-1910ef98]{border-bottom:3px solid;border-radius:0}.k-alert.info[data-v-1910ef98]{color:#003694;color:var(--KAlertInfoColor, var(--blue-600, #003694));border-color:#8ab3fa;border-color:var(--KAlertInfoBorder, var(--blue-300, #8ab3fa));background-color:#bdd3f9;background-color:var(--KAlertInfoBackground, var(--blue-200, #bdd3f9))}.k-alert.success[data-v-1910ef98]{color:#13755e;color:var(--KAlertSuccessColor, var(--green-700, #13755e));border-color:#c0f2d5;border-color:var(--KAlertSuccessBorder, var(--green-200, #c0f2d5));background-color:#e8f8f5;background-color:var(--KAlertSuccessBackground, var(--green-100, #e8f8f5))}.k-alert.danger[data-v-1910ef98]{color:#922021;color:var(--KAlertDangerColor, var(--red-700, #922021));border-color:#ff9a99;border-color:var(--KAlertDangerBorder, var(--red-300, #ff9a99));background-color:#ffdede;background-color:var(--KAlertDangerBackground, var(--red-100, #ffdede))}.k-alert.warning[data-v-1910ef98]{color:#a05604;color:var(--KAlertWarningColor, var(--yellow-600, #a05604));border-color:#ffe6ba;border-color:var(--KAlertWarningBorder, var(--yellow-200, #ffe6ba));background-color:#fff3d8;background-color:var(--KAlertWarningBackground, var(--yellow-100, #fff3d8))}.k-alert.is-banner[data-v-1910ef98]{background-color:var(--white);color:var(--grey-600);padding:0}.k-alert.is-banner .k-alert-ellipse[data-v-1910ef98]{height:6px;width:6px;border-radius:100%;display:inline-block;margin:auto 8px}.k-alert.is-banner .k-alert-ellipse.info[data-v-1910ef98]{background-color:var(--blue-400)}.k-alert.is-banner .k-alert-ellipse.success[data-v-1910ef98]{background-color:var(--green-400)}.k-alert.is-banner .k-alert-ellipse.warning[data-v-1910ef98]{background-color:var(--yellow-400)}.k-alert.is-banner .k-alert-ellipse.danger[data-v-1910ef98]{background-color:var(--red-400)}.k-alert.is-banner .button>div .k-alert-msg.k-alert-text[data-v-1910ef98]{padding-left:0;font-size:16px;font-size:var(--type-md, 16px);line-height:24px}.k-alert.is-banner>div.k-alert-msg-text[data-v-1910ef98]{padding:var(--spacing-sm) var(--spacing-md)}.toaster-item .k-alert .k-alert-msg[data-v-1910ef98]{padding:0;margin:0}.k-alert button.close>.kong-icon.info svg{stroke:#1155cb;stroke:var(--KAlertInfoColor, var(--blue-500, #1155cb))}.k-alert button.close>.kong-icon.success svg{stroke:#008871;stroke:var(--KAlertSuccessColor, var(--green-600, #008871))}.k-alert button.close>.kong-icon.danger svg{stroke:#922021;stroke:var(--KAlertDangerColor, var(--red-700, #922021))}.k-alert button.close>.kong-icon.warning svg{stroke:#c67c06;stroke:var(--KAlertWarningColor, var(--yellow-500, #c67c06))}.k-alert .k-alert-action button{height:30px;font-weight:400;font-size:13px;line-height:13px}.k-alert .k-alert-action button:not(:first-of-type){margin-left:var(--spacing-sm)}.k-alert .k-alert-action.info button.primary{--KButtonPrimaryBase: var(--blue-500);--KButtonPrimaryHover: var(--blue-200);color:var(--blue-500);background-color:var(--blue-100)}.k-alert .k-alert-action.info button.outline{--KButtonOutlineBorder: var(--blue-500);--KButtonOutlineHoverBorder: var(--blue-600);--KButtonOutlineActive: var(--blue-100);--KButtonOutlineActiveBorder: var(--blue-500);color:var(--blue-500);border:1px solid var(--blue-400)}.k-alert .k-alert-action.warning button.primary{--KButtonPrimaryBase: var(--yellow-500);--KButtonPrimaryHover: var(--yellow-200);color:var(--yellow-500);background-color:var(--yellow-100)}.k-alert .k-alert-action.warning button.outline{--KButtonOutlineBorder: var(--yellow-500);--KButtonOutlineHoverBorder: var(--yellow-500);--KButtonOutlineActive: var(--yellow-100);--KButtonOutlineActiveBorder: var(--yellow-500);color:var(--yellow-500);border:1px solid var(--yellow-300)}.k-alert .k-alert-action.success button.primary{--KButtonPrimaryBase: var(--green-600);--KButtonPrimaryHover: var(--green-200);color:var(--green-600);background-color:var(--green-100)}.k-alert .k-alert-action.success button.outline{--KButtonOutlineBorder: var(--green-600);--KButtonOutlineHoverBorder: var(--green-600);--KButtonOutlineActive: var(--green-100);--KButtonOutlineActiveBorder: var(--green-600);color:var(--green-600);border:1px solid var(--green-400)}.k-alert .k-alert-action.danger button.primary{--KButtonPrimaryHover: var(--red-200);--KButtonPrimaryBase: var(--red-700);color:var(--red-700);background-color:var(--red-100)}.k-alert .k-alert-action.danger button.outline{--KButtonOutlineBorder: var(--red-700);--KButtonOutlineColor: var(--red-700);--KButtonOutlineHoverBorder: var(--red-700);--KButtonOutlineActive: var(--red-100);--KButtonOutlineActiveBorder: var(--red-700);border:1px solid var(--red-500)}.k-popover[data-v-0eaad51f]{z-index:1000;max-width:none;font-size:14px;font-size:var(--KPopBodySize, var(--type-sm, 14px));text-align:left;white-space:normal;color:#3c4557;color:var(--KPopColor, var(--black-400, #3c4557));background-color:#fff;background-color:var(--KPopBackground, var(--white, #ffffff));border:1px solid rgba(0,0,0,.1);border:1px solid var(--KPopBorder, var(--black-10, rgba(0, 0, 0, .1)));border-radius:3px;box-shadow:0 4px 20px var(--black-10);padding:28px 16px;padding:var(--KPopPaddingY, 28px) var(--KPopPaddingX, var(--spacing-md, 16px))}.k-popover .k-popover-header[data-v-0eaad51f]{align-items:baseline;margin-bottom:28px}.k-popover .k-popover-header .k-popover-title[data-v-0eaad51f]{color:#0b172d;color:var(--KPopColor, var(--black-500, #0b172d));font-size:16px;font-size:var(--KPopHeaderSize, var(--type-md, 16px));font-weight:600}.k-popover .k-popover-header .k-popover-actions[data-v-0eaad51f]{margin-left:auto}.k-popover .k-popover-content[data-v-0eaad51f]{line-height:20px}.k-popover .k-popover-footer[data-v-0eaad51f]{margin:14px 0}.k-popover[x-placement^=bottom][data-v-0eaad51f]{margin-top:16px;margin-top:var(--spacing-md, 16px)}.k-popover[x-placement^=bottom][data-v-0eaad51f]:after,.k-popover[x-placement^=bottom][data-v-0eaad51f]:before{bottom:100%;left:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.k-popover[x-placement^=bottom][data-v-0eaad51f]:after{border-color:#fff0;border-bottom-color:#fff;border-bottom-color:var(--KPopBackground, var(--white, #ffffff));border-width:10px;margin-left:-10px}.k-popover[x-placement^=bottom][data-v-0eaad51f]:before{border-color:#fafafa00;border-bottom-color:#0000001a;border-bottom-color:var(--KPopBorder, var(--black-10, rgba(0, 0, 0, .1)));border-width:11px;margin-left:-11px}.k-popover[x-placement^=top][data-v-0eaad51f]{margin-bottom:16px;margin-bottom:var(--spacing-md, 16px)}.k-popover[x-placement^=top][data-v-0eaad51f]:after,.k-popover[x-placement^=top][data-v-0eaad51f]:before{top:100%;left:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.k-popover[x-placement^=top][data-v-0eaad51f]:after{border-color:#fff0;border-top-color:#fff;border-top-color:var(--KPopBackground, var(--white, #ffffff));border-width:10px;margin-left:-10px}.k-popover[x-placement^=top][data-v-0eaad51f]:before{border-color:#fafafa00;border-top-color:#0000001a;border-top-color:var(--KPopBorder, var(--black-10, rgba(0, 0, 0, .1)));border-width:11px;margin-left:-11px}.k-popover[x-placement^=left][data-v-0eaad51f]{margin-right:16px;margin-right:var(--spacing-md, 16px)}.k-popover[x-placement^=left][data-v-0eaad51f]:after,.k-popover[x-placement^=left][data-v-0eaad51f]:before{left:100%;top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.k-popover[x-placement^=left][data-v-0eaad51f]:after{border-color:#fff0;border-left-color:#fff;border-left-color:var(--KPopBackground, var(--white, #ffffff));border-width:10px;margin-top:-10px}.k-popover[x-placement^=left][data-v-0eaad51f]:before{border-color:#fafafa00;border-left-color:#0000001a;border-left-color:var(--KPopBorder, var(--black-10, rgba(0, 0, 0, .1)));border-width:11px;margin-top:-11px}.k-popover[x-placement^=right][data-v-0eaad51f]{margin-left:16px;margin-left:var(--spacing-md, 16px)}.k-popover[x-placement^=right][data-v-0eaad51f]:after,.k-popover[x-placement^=right][data-v-0eaad51f]:before{right:100%;top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.k-popover[x-placement^=right][data-v-0eaad51f]:after{border-color:#fff0;border-right-color:#fff;border-right-color:var(--KPopBackground, var(--white, #ffffff));border-width:10px;margin-top:-10px}.k-popover[x-placement^=right][data-v-0eaad51f]:before{border-color:#fafafa00;border-right-color:#0000001a;border-right-color:var(--KPopBorder, var(--black-10, rgba(0, 0, 0, .1)));border-width:11px;margin-top:-11px}.k-popover[x-placement^=top-start][data-v-0eaad51f]:after,.k-popover[x-placement^=top-start][data-v-0eaad51f]:before,.k-popover[x-placement^=bottom-start][data-v-0eaad51f]:after,.k-popover[x-placement^=bottom-start][data-v-0eaad51f]:before{left:11px}.k-popover[x-placement^=top-end][data-v-0eaad51f]:after,.k-popover[x-placement^=top-end][data-v-0eaad51f]:before,.k-popover[x-placement^=bottom-end][data-v-0eaad51f]:after,.k-popover[x-placement^=bottom-end][data-v-0eaad51f]:before{left:calc(100% - 11px)}.k-popover[x-placement^=right-start][data-v-0eaad51f]:after,.k-popover[x-placement^=right-start][data-v-0eaad51f]:before,.k-popover[x-placement^=left-start][data-v-0eaad51f]:after,.k-popover[x-placement^=left-start][data-v-0eaad51f]:before{top:11px}.k-popover[x-placement^=right-end][data-v-0eaad51f]:after,.k-popover[x-placement^=right-end][data-v-0eaad51f]:before,.k-popover[x-placement^=left-end][data-v-0eaad51f]:after,.k-popover[x-placement^=left-end][data-v-0eaad51f]:before{top:calc(100% - 11px)}.k-popover.hide-caret[data-v-0eaad51f]:after,.k-popover.hide-caret[data-v-0eaad51f]:before{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.fade-enter-active,.fadeIn,.fade-leave-active,.fadeOut{animation-duration:.3s;animation-fill-mode:both}.fade-enter-active,.fadeIn{animation-name:fadeIn}.fade-leave-active,.fadeOut{animation-name:fadeOut}.k-tooltip.k-popover{--KPopColor: var(--KTooltipColor, var(--white, color(white)));--KPopBackground: var(--KTooltipBackground, var(--black-400, color(black-400)));--KPopBodySize: var(--type-sm);--KPopPaddingX: var(--spacing-xs);--KPopPaddingY: var(--spacing-xs);--KPopBorder: none;pointer-events:none;z-index:9999}.k-badge[data-v-37d3a284]{display:inline-block;font-weight:400;font-size:12px;font-size:var(--KBadgeFontSize, 12px);line-height:16px;line-height:var(--KBadgeLineHeight, var(--type-md, 16px));width:fit-content;height:auto;text-align:center;padding:2px 6px;padding:var(--KBadgePaddingY, 2px) var(--KBadgePaddingX, 6px);font-family:sans-serif;font-family:var(--font-family-sans, sans-serif)}.k-badge.k-badge-default[data-v-37d3a284]{color:#1155cb;color:var(--KBadgeDefaultColor, var(--blue-500, #1155cb));border-color:#1155cb;border-color:var(--KBadgeDefaultBorder, var(--blue-500, #1155cb));background-color:#f2f6fe;background-color:var(--KBadgeDefaultBackground, var(--blue-100, #f2f6fe))}.k-badge.k-badge-success[data-v-37d3a284]{color:#13755e;color:var(--KBadgeSuccessColor, var(--green-700, #13755e));border-color:#13755e;border-color:var(--KBadgeSuccessBorder, var(--green-700, #13755e));background-color:#e8f8f5;background-color:var(--KBadgeSuccessBackground, var(--green-100, #e8f8f5))}.k-badge.k-badge-danger[data-v-37d3a284]{color:#922021;color:var(--KBadgeDangerColor, var(--red-700, #922021));border-color:#922021;border-color:var(--KBadgeDangerBorder, var(--red-700, #922021));background-color:#ffdede;background-color:var(--KBadgeDangerBackground, var(--red-100, #ffdede))}.k-badge.k-badge-info[data-v-37d3a284]{color:#1155cb;color:var(--KBadgeInfoColor, var(--blue-500, #1155cb));border-color:#1155cb;border-color:var(--KBadgeInfoBorder, var(--blue-500, #1155cb));background-color:#bdd3f9;background-color:var(--KBadgeInfoBackground, var(--blue-200, #bdd3f9))}.k-badge.k-badge-warning[data-v-37d3a284]{color:#a05604;color:var(--KBadgeWarningColor, var(--yellow-600, #a05604));border-color:#a05604;border-color:var(--KBadgeWarningBorder, var(--yellow-600, #a05604));background-color:#fff3d8;background-color:var(--KBadgeWarningBackground, var(--yellow-100, #fff3d8))}.k-badge.k-badge-rectangular[data-v-37d3a284]{border-radius:4px;border-radius:var(--KBadgeBorderRadius, 4px)}.k-badge.k-badge-rectangular .k-badge-dismiss-button[data-v-37d3a284]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--KBadgeBorderRadius, 4px);border-bottom-left-radius:0;border-bottom-right-radius:4px;border-bottom-right-radius:var(--KBadgeBorderRadius, 4px)}.k-badge.k-badge-rounded[data-v-37d3a284]{border-radius:25px;border-radius:var(--KBadgeBorderRadius, 25px)}.k-badge .k-badge-text[data-v-37d3a284]{max-width:200px;max-width:var(--KBadgeMaxWidth, 200px);min-width:8px;min-width:var(--KBadgeMinWidth, 8px);width:auto;width:var(--KBadgeWidth, auto);align-self:center}.k-badge .k-badge-dismiss-button[data-v-37d3a284]{padding:var(--spacing-xs);background-color:transparent;border:none;cursor:pointer;font-weight:400;margin:-2px -6px;margin:calc(-1 * var(--KBadgePaddingY, 2px)) calc(-1 * var(--KBadgePaddingX, 6px));margin-left:auto}.k-badge.k-badge-default .k-badge-dismiss-button .kong-icon.kong-icon-close path{stroke:#1155cb;stroke:var(--KBadgeDefaultColor, var(--blue-500, #1155cb))}.k-badge.k-badge-default .k-badge-dismiss-button:hover{background-color:#bdd3f9;background-color:var(--KBadgeDefaultButtonHoverColor, var(--blue-200, #bdd3f9))}.k-badge.k-badge-default:focus{background-color:#bdd3f9;background-color:var(--KBadgeDefaultButtonHoverColor, var(--blue-200, #bdd3f9))}.k-badge.k-badge-default:focus .k-badge-dismiss-button{background-color:#bdd3f9;background-color:var(--KBadgeDefaultButtonHoverColor, var(--blue-200, #bdd3f9))}.k-badge.k-badge-success .k-badge-dismiss-button .kong-icon.kong-icon-close path{stroke:#13755e;stroke:var(--KBadgeSuccessColor, var(--green-700, #13755e))}.k-badge.k-badge-success .k-badge-dismiss-button:hover{background-color:#c0f2d5;background-color:var(--KBadgeSuccessButtonHoverColor, var(--green-200, #c0f2d5))}.k-badge.k-badge-success:focus{background-color:#c0f2d5;background-color:var(--KBadgeSuccessButtonHoverColor, var(--green-200, #c0f2d5))}.k-badge.k-badge-success:focus .k-badge-dismiss-button{background-color:#c0f2d5;background-color:var(--KBadgeSuccessButtonHoverColor, var(--green-200, #c0f2d5))}.k-badge.k-badge-danger .k-badge-dismiss-button .kong-icon.kong-icon-close path{stroke:#922021;stroke:var(--KBadgeDangerColor, var(--red-700, #922021))}.k-badge.k-badge-danger .k-badge-dismiss-button:hover{background-color:#fcc;background-color:var(--KBadgeDangerButtonHoverColor, var(--red-200, #ffcccc))}.k-badge.k-badge-danger:focus{background-color:#fcc;background-color:var(--KBadgeDangerButtonHoverColor, var(--red-200, #ffcccc))}.k-badge.k-badge-danger:focus .k-badge-dismiss-button{background-color:#fcc;background-color:var(--KBadgeDangerButtonHoverColor, var(--red-200, #ffcccc))}.k-badge.k-badge-info .k-badge-dismiss-button .kong-icon.kong-icon-close path{stroke:#1155cb;stroke:var(--KBadgeInfoColor, var(--blue-500, #1155cb))}.k-badge.k-badge-info .k-badge-dismiss-button:hover{background-color:#8ab3fa;background-color:var(--KBadgeInfoButtonHoverColor, var(--blue-300, #8ab3fa))}.k-badge.k-badge-info:focus{background-color:#8ab3fa;background-color:var(--KBadgeInfoButtonHoverColor, var(--blue-300, #8ab3fa))}.k-badge.k-badge-info:focus .k-badge-dismiss-button{background-color:#8ab3fa;background-color:var(--KBadgeInfoButtonHoverColor, var(--blue-300, #8ab3fa))}.k-badge.k-badge-warning .k-badge-dismiss-button .kong-icon.kong-icon-close path{stroke:#a05604;stroke:var(--KBadgeWarningColor, var(--yellow-600, #a05604))}.k-badge.k-badge-warning .k-badge-dismiss-button:hover{background-color:#ffe6ba;background-color:var(--KBadgeWarningButtonHoverColor, var(--yellow-200, #ffe6ba))}.k-badge.k-badge-warning:focus{background-color:#ffe6ba;background-color:var(--KBadgeWarningButtonHoverColor, var(--yellow-200, #ffe6ba))}.k-badge.k-badge-warning:focus .k-badge-dismiss-button{background-color:#ffe6ba;background-color:var(--KBadgeWarningButtonHoverColor, var(--yellow-200, #ffe6ba))}.k-breadcrumbs[data-v-a87af1c0]{display:flex;flex-wrap:wrap;padding:0;margin-bottom:1rem;list-style:none;border-radius:.25rem;font-size:15px;font-weight:600!important;line-height:24px!important}.k-breadcrumbs .k-breadcrumbs-item[data-v-a87af1c0] .kong-icon{display:inline-flex;padding:0 12px 0 var(--spacing-xs);color:var(--grey-500);vertical-align:middle}.k-breadcrumbs .k-breadcrumbs-item[data-v-a87af1c0] .kong-icon.k-breadcrumb-icon{align-items:center;justify-content:center;padding:0 var(--spacing-xs)}.k-breadcrumbs .k-breadcrumbs-item[data-v-a87af1c0] .kong-icon.k-breadcrumb-icon.has-no-text{padding-right:0}.k-breadcrumbs li[data-v-a87af1c0]{display:inline-flex}.k-breadcrumbs li a[data-v-a87af1c0]{display:inline-flex;color:var(--grey-500);letter-spacing:1px;font-size:15px}.k-breadcrumbs li a[data-v-a87af1c0]:hover,.k-breadcrumbs li a.no-underline[data-v-a87af1c0]{text-decoration:none!important}.k-breadcrumbs li a>.k-breadcrumb-text[data-v-a87af1c0]{transition:all .2s ease-in-out}.k-breadcrumbs li a>.k-breadcrumb-text[data-v-a87af1c0]:hover{text-decoration:underline}.truncate[data-v-a87af1c0]{display:inline-block;align-items:center;justify-content:center}.kong-card[data-v-1f0d90ac]{padding:var(--spacing-lg) var(--spacing-lg);padding:var(--KCardPaddingY, var(--spacing-lg)) var(--KCardPaddingX, var(--spacing-lg));border-radius:3px;border-radius:var(--KCardBorderRadius, 3px);background-color:#fff;background-color:var(--KCardBackground, var(--white, #ffffff));transition:box-shadow .2s ease-in-out}.kong-card.noBorder[data-v-1f0d90ac]{border:none}.kong-card.border[data-v-1f0d90ac]{border:1px solid rgba(0,0,0,.1);border:var(--KCardBorder, 1px solid var(--black-10, rgba(0, 0, 0, .1)));box-shadow:none}.kong-card.borderTop[data-v-1f0d90ac]{border-top:1px solid rgba(0,0,0,.1);border-top:var(--KCardBorder, 1px solid var(--black-10, rgba(0, 0, 0, .1)))}.kong-card.hover[data-v-1f0d90ac]:hover,.kong-card.kcard-shadow[data-v-1f0d90ac]{box-shadow:0 4px 8px #0000001a;box-shadow:var(--KCardShadow, 0 4px 8px var(--black-10, rgba(0, 0, 0, .1)))}.kong-card .k-card-header[data-v-1f0d90ac]{align-items:center}.kong-card .k-card-header.has-status[data-v-1f0d90ac]{align-items:flex-start}.kong-card .k-card-status-hat[data-v-1f0d90ac]{font-size:var(--type-xs);color:var(--grey-600);display:flex;align-items:center}.kong-card .k-card-title h4[data-v-1f0d90ac]{margin:0;padding:0;font-size:20px;font-size:var(--KCardTitleFontSize, 20px);font-weight:600;color:var(--black-500);color:var(--KCardTitleColor, var(--black-500))}.kong-card .k-card-actions[data-v-1f0d90ac]{margin-left:auto}.kong-card .k-card-body[data-v-1f0d90ac]{font-size:13px;line-height:20px;color:var(--grey-600);width:100%}.kong-card .k-card-content .k-table td[data-v-1f0d90ac],.kong-card .k-card-content table td[data-v-1f0d90ac],.kong-card .k-card-content[data-v-1f0d90ac] .k-table td{font-size:var(--type-md)}.kong-card .k-card-notifications[data-v-1f0d90ac]{margin-left:auto;margin-top:auto}.kong-card .k-card-header .k-button{min-height:38px}.empty-state-wrapper[data-v-5b55eb64]{padding:48px 0;text-align:center;border-radius:4px;background-color:var(--white);background-color:var(--KEmptyBackground, var(--white))}.empty-state-wrapper .k-empty-state-title-header[data-v-5b55eb64]{color:var(--black-500);color:var(--KEmptyTitleColor, var(--black-500));margin:0 0 14px;font-size:20px;font-weight:600;line-height:24px}.empty-state-wrapper .k-empty-state-message[data-v-5b55eb64]{color:var(--black-400);color:var(--KEmptyContentColor, var(--black-400));margin:0 auto 14px;font-size:13px;line-height:20px;max-width:50%}.empty-state-wrapper .k-empty-state-cta[data-v-5b55eb64]{margin:0 auto}.k-input-label .label-tooltip[data-v-d949c2e2] .kong-icon.kong-icon-help,.k-input-label .label-tooltip[data-v-d949c2e2] .kong-icon.kong-icon-info{cursor:pointer}.form-control[data-v-6c1c7dad]{box-shadow:none!important}.help[data-v-6c1c7dad]{display:block;margin:8px 0 0;margin:var(--spacing-xs, 8px) 0 0;font-size:14px;font-size:var(--type-sm, 14px);color:#00000073;color:var(--black-45, rgba(0, 0, 0, .45))}.has-error[data-v-6c1c7dad]{font-weight:500;color:var(--red-500)}.k-input-wrapper input.k-input[data-v-6c1c7dad]{-webkit-appearance:none}.k-input-wrapper .k-input-label-wrapper-large .has-error[data-v-6c1c7dad],.k-input-wrapper .k-input-large+.has-error[data-v-6c1c7dad]{font-size:12px;line-height:15px;margin-top:4px}.k-input-wrapper .k-input-label-wrapper-medium .has-error[data-v-6c1c7dad],.k-input-wrapper .k-input-medium+.has-error[data-v-6c1c7dad]{font-size:11px;line-height:13px;margin-top:3px}.k-input-wrapper .k-input-label-wrapper-small .has-error[data-v-6c1c7dad],.k-input-wrapper .k-input-small+.has-error[data-v-6c1c7dad]{font-size:11px;line-height:11px;margin-top:2px}.k-input-wrapper .text-on-input label:not(.disabled):not(.readonly).hovered[data-v-6c1c7dad],.k-input-wrapper .text-on-input label[data-v-6c1c7dad]:not(.disabled):not(.readonly):hover{color:var(--blue-500);color:var(--KInputHover, var(--blue-500))}.k-input-wrapper.input-error .text-on-input label.hovered[data-v-6c1c7dad],.k-input-wrapper.input-error .text-on-input label[data-v-6c1c7dad]:hover,.k-input-wrapper.input-error .text-on-input label.focused[data-v-6c1c7dad],.k-input-wrapper.input-error .text-on-input label[data-v-6c1c7dad]:focus{color:var(--red-500)!important}.k-select-item[data-v-683f6b01]{margin-bottom:4px;list-style:none!important}.k-select-item[data-v-683f6b01]:last-of-type{margin-bottom:0!important}.k-select-item button[data-v-683f6b01]{display:flex;align-items:center;font-size:var(--type-xs);line-height:26px;color:var(--grey-500);padding-left:var(--spacing-xxs);width:100%;border:none;font-family:var(--font-family-sans);background-color:var(--white);border-radius:4px;text-align:left;font-weight:400}.k-select-item button[data-v-683f6b01]:not(:disabled),.k-select-item button[data-v-683f6b01]:not(.disabled){cursor:pointer}.k-select-item button .k-select-item-label[data-v-683f6b01]{width:auto;line-height:16px;color:var(--grey-600);font-weight:500;font-size:14px;padding:8px;margin-bottom:4px}.k-select-item button .k-select-item-label[data-v-683f6b01] .select-item-label{color:var(--grey-600);font-weight:600;font-size:14px;margin-bottom:4px}.k-select-item button .k-select-item-label[data-v-683f6b01] .select-item-desc{color:var(--grey-500);font-weight:400;font-size:14px}.k-select-item button .kong-icon[data-v-683f6b01]:not(.selected-item-icon){margin-right:.75rem}.k-select-item button .k-select-selected-icon-container[data-v-683f6b01]{margin-left:auto;margin-top:auto;margin-bottom:auto;height:24px;width:24px}.k-select-item button .k-select-selected-icon-container .kong-icon[data-v-683f6b01]{position:relative;top:0;right:0;transform:none}.k-select-item button[data-v-683f6b01]:hover{background-color:var(--grey-100);color:var(--grey-600)}.k-select-item button.selected[data-v-683f6b01]{background-color:var(--blue-100);color:var(--blue-500);font-weight:400}.k-select-item button.danger[data-v-683f6b01]{color:var(--red-500)}.k-select[data-v-7c5ccacc]{width:fit-content}.k-select .k-select-item-selection[data-v-7c5ccacc]{background-color:var(--blue-100);color:var(--blue-500);font-weight:400;display:flex;border-radius:4px;margin-bottom:6px}.k-select .k-select-item-selection.overlay-label-item-selection[data-v-7c5ccacc]{position:relative;top:15px}.k-select .k-select-item-selection .selected-item-label[data-v-7c5ccacc]{align-self:center;font-size:14px;line-height:16px}.k-select .k-select-item-selection .clear-selection-icon[data-v-7c5ccacc]{margin-left:auto;margin-top:auto;margin-bottom:auto;padding:0;height:24px}.k-select .k-select-trigger[data-v-7c5ccacc]:after{display:inline-block;width:0;height:0;margin-left:8px;margin-left:var(--spacing-xs, 8px);vertical-align:middle;content:"";border-top:.325em solid;border-right:.325em solid transparent;border-left:.325em solid transparent}.k-select .k-select-item-selection .clear-selection-icon .kong-icon,.k-select .k-button .caret{margin-left:auto}.k-select .k-select-input{position:relative;display:inline-block;width:100%}.k-select .k-select-input.cursor-default{cursor:default}.k-select .k-select-input.prevent-pointer-events{pointer-events:none}.k-select .k-select-input.input-placeholder-dark::placeholder{color:#000000b3!important;color:var(--KInputColor, var(--black-70, rgba(0, 0, 0, .7)))!important}.k-select .k-select-input .k-input.has-chevron{padding-right:40px}.k-select .k-select-input .k-input.has-clear{padding-right:60px}.k-select .k-select-inputinput.k-input{padding:var(--spacing-xs);height:100%}.k-select .k-select-input .kong-icon{position:absolute;top:60%;right:16px;transform:translateY(-50%);z-index:9}.k-select .k-select-input .kong-icon.overlay-label-chevron{top:70%}.k-select .k-select-input .clear-selection-icon{position:absolute;top:13px;right:30px;z-index:9;padding:0}.k-select .k-select-input .clear-selection-icon.overlay-label-clear{top:36px}.k-select .k-select-input .clear-selection-icon .kong-icon-clear{position:static;display:block;transform:none}.k-select div.k-select-input.no-filter{cursor:pointer!important}.k-select .k-select-button .has-caret .kong-icon{margin-left:auto}.k-select .k-select-button .k-button.btn-link:hover,.k-select .k-select-button.k-button.btn-link:hover{text-decoration:none}.k-select.k-input{width:100%}.k-select .k-select-popover{box-sizing:border-box;width:100%;margin-top:2px!important;overflow:auto!important}.k-select .k-select-popover[x-placement^=top]{margin-top:0!important;margin-bottom:2px!important}.k-select .k-select-popover.k-select-pop-button,.k-select .k-select-popover.k-select-pop-dropdown{--KPopPaddingY: var(--spacing-xs);--KPopPaddingX: var(--spacing-xs);border:1px solid var(--grey-300)}.k-select .k-select-popover.k-select-pop-select{--KPopPaddingY: var(--spacing-xs);--KPopPaddingX: var(--spacing-xs);border:1px solid var(--black-10)}.k-select .k-select-popover .k-select-empty-item button,.k-select .k-select-popover .k-select-empty-item button:focus,.k-select .k-select-popover .k-select-empty-item button:hover{font-style:italic;color:var(--grey-500)}.k-select .k-select-popover ul{margin:0;padding:0}.k-select .k-select-popover a{flex:1;color:var(--black-70)}.k-select .k-select-popover a:hover,.k-select .k-select-popover a:active,.k-select .k-select-popover a:focus{text-decoration:none}.k-select .k-select-popover .k-select-loading{display:block;text-align:center;position:relative;top:0;right:0;height:24px}.pagination-offset-button-container[data-v-16e16c5e]{display:flex}.pagination-offset-button-container .pagination-button.k-button[data-v-16e16c5e]{width:34px;height:34px;color:var(--grey-500);border:1px solid var(--grey-300);background-color:#fff;border-radius:4px;margin:0 6px;padding:6px}.pagination-offset-button-container .pagination-button.k-button[data-v-16e16c5e]:focus,.pagination-offset-button-container .pagination-button.k-button[data-v-16e16c5e]:hover{color:var(--blue-500);border-color:var(--blue-500);border-radius:4px}.pagination-offset-button-container .pagination-button.k-button.disabled[data-v-16e16c5e]:focus,.pagination-offset-button-container .pagination-button.k-button.disabled[data-v-16e16c5e]:hover{color:var(--black-45);border-color:var(--grey-200);box-shadow:none;cursor:not-allowed}.pagination-offset-button-container .pagination-button.k-button.active[data-v-16e16c5e]{outline:none;color:var(--blue-500);border-color:var(--blue-200);border-radius:4px;background-color:var(--blue-100)}.card-pagination-bar[data-v-d0aae7b2]{display:flex;align-items:center;justify-content:space-between;margin-top:4px}.pagination-text[data-v-d0aae7b2]{font-size:14px;color:var(--grey-500);min-width:115px;font-weight:500}.pagination-text-pages[data-v-d0aae7b2]{color:#000}.page-size-select[data-v-d0aae7b2]{--KButtonBtnLink: var(--KPaginationPageSizeColor, var(--blue-400));--KButtonOutlineBorder: var(--KPaginationPageSizeColor, var(--blue-400));--KButtonFontSize: var(--type-sm);color:var(--blue-400);font-weight:600;line-height:20px}.pagination-button-container[data-v-d0aae7b2]{display:flex;list-style:none;text-align:center}.pagination-button-container a[data-v-d0aae7b2]{text-decoration:none!important;font-weight:initial;display:block}.pagination-button-container .pagination-button[data-v-d0aae7b2]{align-self:center;min-width:32px;height:32px;line-height:20px;font-size:12px;font-weight:initial;color:var(--grey-500);color:var(--KPaginationColor, var(--grey-500));border:1px solid var(--grey-300);border:1px solid var(--KPaginationBorderColor, var(--grey-300));background-color:#fff;border-radius:4px;margin:0 6px;cursor:pointer}.pagination-button-container .pagination-button[data-v-d0aae7b2]:not(.square){background-color:#fff;background-color:var(--KPaginationBackgroundColor, white)}.pagination-button-container .pagination-button a[data-v-d0aae7b2],.pagination-button-container .pagination-button div[data-v-d0aae7b2]{padding:6px}.pagination-button-container .pagination-button.square[data-v-d0aae7b2]{border:none}.pagination-button-container .pagination-button.placeholder[data-v-d0aae7b2]{color:var(--grey-500);color:var(--KPaginationColor, var(--grey-500));display:flex;justify-content:center;align-items:center;cursor:initial}.pagination-button-container .pagination-button[data-v-d0aae7b2]:focus:not(.placeholder),.pagination-button-container .pagination-button[data-v-d0aae7b2]:hover:not(.placeholder){color:var(--blue-500);color:var(--KPaginationActiveColor, var(--blue-500));border-color:var(--blue-500);border-color:var(--KPaginationActiveColor, var(--blue-500));border-radius:4px}.pagination-button-container .pagination-button.disabled[data-v-d0aae7b2]:focus:not(.placeholder),.pagination-button-container .pagination-button.disabled[data-v-d0aae7b2]:hover:not(.placeholder){color:var(--black-45);border-color:var(--grey-200)}.pagination-button-container .pagination-button.disabled a[data-v-d0aae7b2]{cursor:not-allowed!important}.pagination-button-container .pagination-button.active[data-v-d0aae7b2]{outline:none;color:var(--blue-500);color:var(--KPaginationActiveColor, var(--blue-500));border-color:var(--blue-200);border-color:var(--KPaginationActiveBorderColor, var(--blue-200));background-color:var(--KPaginationActiveBackgroundColor, var(--blue-100));border-radius:4px;background-color:var(--blue-100)}.pagination-button-container .pagination-button.active a[data-v-d0aae7b2]{color:var(--blue-500);color:var(--KPaginationActiveColor, var(--blue-500))}.page-size-select .k-select-pop-button[x-placement^=top]{margin-bottom:2px}.box[data-v-2ffc7dea]{display:inline-flex;border-radius:3px;background:linear-gradient(-70deg,#f2f2f2 0%,#f2f2f2 40%,#f7f7f7 50%,#f2f2f2 60%,#f2f2f2 100%) repeat;background-size:400% 100%;animation:gradient 1s ease infinite;transition:1s}.box.width-1[data-v-2ffc7dea]{width:1rem}.box.width-2[data-v-2ffc7dea]{width:2rem}.box.width-5[data-v-2ffc7dea]{width:5rem}.box.width-6[data-v-2ffc7dea]{width:6rem}.box.width-10[data-v-2ffc7dea]{width:10rem}.box.width-25[data-v-2ffc7dea]{width:25%}.box.width-50[data-v-2ffc7dea]{width:50%}.box.width-75[data-v-2ffc7dea]{width:75%}.box.width-100[data-v-2ffc7dea]{width:100%}.box.height-1[data-v-2ffc7dea]{height:1rem}.box.height-2[data-v-2ffc7dea]{height:2rem}@keyframes gradient{0%{background-position:100% 50%}to{background-position:0% 50%}}.skeleton-loader[data-v-2f46a0c1]{width:80%}.skeleton-card-wrapper[data-v-d7916644]{display:flex;flex-wrap:wrap;width:100%;gap:1rem}.skeleton-card-column[data-v-d7916644]{margin-bottom:1rem;width:calc(33% - 1rem);width:var(--KSkeletonCardWidth, calc(33% - 1rem))}.skeleton-card[data-v-d7916644]{display:flex;flex-direction:column;height:324px;padding:1rem;border-radius:3px;border:1px solid #e6e6e6;overflow:hidden}.skeleton-card .skeleton-card-header[data-v-d7916644]{width:100%;margin-bottom:1rem;display:flex}.skeleton-card .skeleton-card-content[data-v-d7916644]{display:flex;justify-content:space-between}.skeleton-card .skeleton-card-footer[data-v-d7916644]{display:flex;align-self:flex-end;justify-content:space-between;width:100%;margin-top:auto;padding-top:1rem}.skeleton-table-wrapper[data-v-84f8bae6]{width:100%;overflow:hidden}.skeleton-table-wrapper .skeleton-table-row[data-v-84f8bae6]{display:flex;flex-direction:row;margin-bottom:2rem}@media only screen and (max-width: 1256px){.skeleton-table-wrapper .skeleton-table-row .skeleton-cell[data-v-84f8bae6]:nth-of-type(n + 5){display:none}.skeleton-table-wrapper .skeleton-table-row .skeleton-cell[data-v-84f8bae6]:nth-of-type(4){margin-left:auto;margin-right:0}}@media only screen and (max-width: 756px){.skeleton-table-wrapper .skeleton-table-row .skeleton-cell[data-v-84f8bae6]:nth-of-type(n + 3){display:none}.skeleton-table-wrapper .skeleton-table-row .skeleton-cell[data-v-84f8bae6]:nth-of-type(2){width:6rem;margin-left:auto;margin-right:0}}.skeleton-form-wrapper[data-v-11e4f5bf]{width:100%}.skeleton-form-wrapper .skeleton-form-row[data-v-11e4f5bf]{margin-bottom:2rem}.fullscreen-loading-container[data-v-4f1a85a8]{position:fixed;top:0;bottom:0;right:0;left:0;display:flex;align-items:center;justify-content:center;z-index:10500;flex-direction:column;margin:0;margin:var(--KSkeletonFullScreenMargin, 0);background:#ffffff;background:var(--white, #ffffff)}.fullscreen-loading-container .progress[data-v-4f1a85a8]{margin-top:1rem;max-width:350px;background-color:#f1f1f5;background-color:var(--grey-200, #f1f1f5);border-radius:.5rem}.fullscreen-loading-container .progress .progress-bar[data-v-4f1a85a8]{border-radius:.5rem;height:5px;background-color:#1155cb;background-color:var(--KSkeletonFullScreenProgressColor, var(--blue-500, #1155cb))}.k-skeleton-container.opacity-0 .box{opacity:0}.k-skeleton-container.opacity-0 :deep(.kong-icon){display:none}.k-skeleton-container.opacity-0.mr-2{margin-right:0!important}.k-card-catalog-item[data-v-f7fba218]{display:flex;flex-direction:column;justify-content:stretch}.k-card-catalog-item .multi-line-truncate[data-v-f7fba218]{--lh: 20px;--max-lines: 5;--max-lines-less: 4;position:relative;line-height:var(--lh);max-height:calc(var(--lh) * var(--max-lines));overflow:hidden;padding-right:8px}.k-card-catalog-item .multi-line-truncate[data-v-f7fba218]:before{content:"...";position:absolute;top:calc(var(--lh) * var(--max-lines-less));right:12px}.k-card-catalog-item[data-v-f7fba218]:hover{cursor:pointer}.k-card-catalog-item.kong-card{--KCardBorderRadius: 5px;--KCardPaddingY: var(--spacing-lg);--KCardPaddingX: var(--spacing-md)}.k-card-catalog-item.kong-card .k-card-body{flex-grow:1;display:flex;flex-direction:column}.k-card-catalog-item.kong-card .k-card-body .description{flex-grow:1}.k-card-catalog-item.kong-card:hover{--KCardShadow: none;--KCardBorder: 1px solid var(--blue-300)}.k-card-catalog .k-card-catalog-title[data-v-f085d3be]{color:var(--blue-600)}.k-card-catalog .k-catalog-page[data-v-f085d3be]{display:grid;grid-gap:var(--spacing-lg);grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.k-catalog-toolbar[data-v-f085d3be]>*{display:flex}.k-card-catalog .k-skeleton-grid{--KSkeletonCardWidth: 25%}.k-card-catalog .k-skeleton-grid .skeleton-card-column{padding-right:2rem}.k-card-catalog .k-skeleton-grid .skeleton-card{height:181px}.k-card-catalog .k-catalog-page.k-card-small{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.k-card-catalog .k-catalog-page.k-card-large{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.k-card-catalog .k-catalog-page a.catalog-item,.k-card-catalog .k-catalog-page a.catalog-item:focus,.k-card-catalog .k-catalog-page a.catalog-item:hover{text-decoration:none}.k-card-catalog .card-pagination{grid-column:1/-1}.k-code-block[data-v-034f9b55]{color:#000000d9;color:var(--KCodeBlockColor, var(--black-85, rgba(0, 0, 0, .85)));border-radius:3px;border-radius:var(--KCodeBlockBorderRadius, 3px)}.k-code-block pre[data-v-034f9b55],.k-code-block code[data-v-034f9b55]{tab-size:2;tab-size:var(--KCodeBlockTabSize, 2);font-size:12px;font-size:var(--KCodeBlockFontSize, var(--type-xs, 12px));font-family:monospace;font-family:var(--KCodeBlockFontFamilyMono, var(--font-family-mono, monospace));color:#000000d9;color:var(--KCodeBlockColor, var(--black-85, rgba(0, 0, 0, .85)))}.k-code-block pre[data-v-034f9b55]{margin-top:0;margin-bottom:0;padding:8px 0 8px 12px;padding:var(--spacing-xs, 8px) 0 var(--spacing-xs, 8px) var(--spacing-sm, 12px);border-radius:3px;border-radius:var(--KCodeBlockBorderRadius, 3px);background-color:#f8f8fa;background-color:var(--KCodeBlockBackgroundColor, var(--grey-100, #f8f8fa));min-height:44px;max-height:none;max-height:var(--KCodeBlockMaxHeight, none);display:grid;grid-template-columns:var(--maxLineNumberWidth) 1fr;gap:12px;gap:var(--spacing-sm, 12px)}.k-code-block pre[data-v-034f9b55]:focus-visible{outline:2px solid #1155cb;outline:2px solid var(--KCodeBlockFocusColor, var(--blue-500, #1155cb));outline-offset:-2px;isolation:isolate}.k-code-block-actions+.k-code-block-content>pre[data-v-034f9b55]{border-top-left-radius:0;border-top-right-radius:0}.k-code-block code[data-v-034f9b55]{display:block;min-width:0}.k-code-block[data-v-034f9b55]:focus-visible{outline:none;box-shadow:0 0 0 2px #1155cb;box-shadow:0 0 0 2px var(--KCodeBlockFocusColor, var(--blue-500, #1155cb));isolation:isolate}.k-code-block-actions[data-v-034f9b55]{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:flex-end;gap:4px;gap:var(--spacing-xxs, 4px);padding:8px 16px;padding:var(--spacing-xs, 8px) var(--spacing-md, 16px);border-top-left-radius:3px;border-top-left-radius:var(--KCodeBlockBorderRadius, 3px);border-top-right-radius:3px;border-top-right-radius:var(--KCodeBlockBorderRadius, 3px);border-bottom:1px solid #e7e7ec;border-bottom:1px solid var(--grey-300, #e7e7ec);background-color:#f1f1f5;background-color:var(--grey-200, #f1f1f5)}.k-code-block-actions .k-button[data-v-034f9b55]{align-self:stretch}.k-is-processing-icon[data-v-034f9b55]{display:inline-flex;justify-content:center;align-items:center}.k-search-actions[data-v-034f9b55]{display:inline-flex;flex-wrap:wrap;align-items:stretch;gap:4px;gap:var(--spacing-xxs, 4px)}.k-is-processing-icon[data-v-034f9b55]:not(.k-is-processing-icon-is-visible){visibility:hidden}.k-regexp-mode-button[data-v-034f9b55]{font-family:monospace;font-family:var(--KCodeBlockFontFamilyMono, var(--font-family-mono, monospace))}.k-search-container[data-v-034f9b55]{position:relative;flex-basis:15ch;flex-grow:1;max-width:250px;display:inline-flex;align-items:stretch;border:1px solid #e7e7ec;border:1px solid var(--KInputBorder, var(--grey-300, #e7e7ec));border-radius:3px;background-color:#fff;background-color:var(--white, #ffffff);transition:border .1s ease}.k-search-container[data-v-034f9b55]:hover{border-color:#bdd3f9;border-color:var(--KInputHover, var(--blue-200, #bdd3f9))}.k-search-container[data-v-034f9b55]:focus-within{border-color:#3972d5;border-color:var(--KInputFocus, var(--blue-400, #3972d5))}.k-code-block-search-input[data-v-034f9b55]{width:0;flex-grow:1;appearance:none;margin:0;padding:0 8px;padding:0 var(--spacing-xs, 8px);border:none;color:currentColor;background-color:transparent;font:inherit}.k-code-block-search-input[data-v-034f9b55]:focus{outline:none}.k-code-block-search-results[data-v-034f9b55]{align-self:center;min-width:12ch;text-align:center}.k-code-block-search-results[data-v-034f9b55]:not(.k-code-block-search-results-has-query){color:#6f7787;color:var(--grey-500, #6f7787)}.k-code-block-search-error[data-v-034f9b55],.k-code-block-search-results[data-v-034f9b55]{margin-top:0;margin-bottom:0}.k-code-block-search-error[data-v-034f9b55]{position:absolute;z-index:1;top:100%;left:-1px;right:-1px;padding:0 4px;padding:0 var(--spacing-xxs, 4px);border:1px solid currentColor;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background-color:#fff;background-color:var(--white, #ffffff);font-size:.8em;color:#922021;color:var(--red-700, #922021)}.k-search-icon[data-v-034f9b55]{padding:0 4px;padding:0 var(--spacing-xxs, 4px);color:#b6b6bd;color:var(--grey-400, #b6b6bd)}.k-clear-query-button[data-v-034f9b55]{appearance:none;display:inline-flex;align-items:center;margin:0;padding:0 4px;padding:0 var(--spacing-xxs, 4px);border:1px solid transparent;border-radius:3px;color:#b6b6bd;color:var(--grey-400, #b6b6bd);background-color:transparent;font:inherit}.k-clear-query-button[data-v-034f9b55]:focus{border-color:#1155cb;border-color:var(--KButtonOutlineBorder, var(--blue-500, #1155cb));outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #1155cb;box-shadow:0 0 0 2px var(--white, #ffffff),0 0 0 4px var(--KButtonOutlineBorder, var(--blue-500, #1155cb))}.k-code-block-content[data-v-034f9b55]{position:relative}.k-code-block-copy-button[data-v-034f9b55]{position:absolute;z-index:2;top:8px;top:var(--spacing-xs, 8px);right:16px;right:var(--spacing-md, 16px);display:block}.k-code-block-copy-button[data-tooltip-text][data-v-034f9b55]:after{content:attr(data-tooltip-text);position:absolute;top:50%;transform:translateY(-50%);right:calc(100% + 8px);right:calc(100% + var(--spacing-xs, 8px));padding:8px;padding:var(--spacing-xs, 8px);border-radius:3px;white-space:nowrap;color:#fff;color:var(--white, #ffffff);background-color:#3c4557;background-color:var(--grey-600, #3c4557);font-weight:400}.k-button-icon[data-v-034f9b55]{display:inline-flex;justify-content:center;align-items:center}.k-line-number-rows[data-v-034f9b55]{box-sizing:border-box;user-select:none;display:flex;flex-direction:column}.k-line-number-rows[data-v-034f9b55],.k-line-number-rows a[data-v-034f9b55]{color:#6f7787;color:var(--grey-500, #6f7787)}.k-line[data-v-034f9b55]{display:inline-flex;justify-content:flex-end}.k-line-is-match[data-v-034f9b55]:before{content:"\a0";pointer-events:none;position:absolute;left:0;right:0;background-color:#4954691a}.k-line-is-highlighted-match[data-v-034f9b55]:before{border-left:5px solid #1155cb;border-left:5px solid var(--KCodeBlockMatchHighlightColor, var(--blue-500, #1155cb));background-color:#49546933}.k-line-anchor[data-v-034f9b55]:not([href]){text-decoration:none}.k-line-anchor[href][data-v-034f9b55]:hover{color:var(--grey-600);text-decoration:underline}.k-matched-term{color:color(teal-500);color:var(--teal-500, color(teal-500));font-weight:900}.k-code-block .k-button.small{padding-right:spacing(xs);padding-right:var(--spacing-xs, spacing(xs));padding-left:spacing(xs);padding-left:var(--spacing-xs, spacing(xs))}.k-code-block .kong-icon{display:inline-flex;justify-content:center;align-items:center}.k-collapse .k-collapse-title[data-v-e568b790]{font-size:var(--type-lg);font-weight:600}.k-collapse .k-collapse-trigger[data-v-e568b790]{cursor:pointer}.k-collapse .k-collapse-trigger .k-collapse-trigger-content[data-v-e568b790]{color:var(--blue-500);color:var(--KCollapseTriggerColor, var(--blue-500));font-size:var(--type-sm);font-weight:600}.k-collapse .k-collapse-trigger .k-collapse-trigger-content .k-collapse-trigger-chevron.kong-icon.kong-icon-chevronDown svg path,.k-collapse .k-collapse-trigger .k-collapse-trigger-content .k-collapse-trigger-chevron.kong-icon.kong-icon-chevronRight svg path{stroke:var(--blue-500);stroke:var(--KCollapseTriggerColor, var(--blue-500))}.k-collapse .k-collapse-trigger .k-collapse-trigger-content .k-collapse-trigger-icon.kong-icon{padding-right:0}.k-collapse .k-collapse-trigger .k-collapse-trigger-content .k-collapse-trigger-label .kong-icon{top:2px;position:relative}.segmented-control .k-button[data-v-1f9c6dfd]{--KButtonPrimaryBase: var(--blue-100);--KButtonPrimaryHover: var(--blue-100);color:#1155cb;color:var(--KSegementedControlPrimary, var(--blue-500, #1155cb));border-radius:0;margin-left:-1px;flex:1}.segmented-control .k-button.primary[data-v-1f9c6dfd]{z-index:1;border-color:var(--blue-500)}.segmented-control .k-button[data-v-1f9c6dfd]:hover,.segmented-control .k-button[data-v-1f9c6dfd]:active{z-index:2}.segmented-control .k-button[data-v-1f9c6dfd]:focus{z-index:3;box-shadow:0 0 0 2px var(--white),0 0 0 4px var(--blue-500)}.segmented-control .k-button[data-v-1f9c6dfd]:first-child{border-radius:3px 0 0 3px;margin-left:0}.segmented-control .k-button[data-v-1f9c6dfd]:last-child{border-radius:0 3px 3px 0}.segmented-control .k-button[data-v-1f9c6dfd]:only-child{border-radius:3px;margin-left:0}.segmented-control .k-button[data-v-1f9c6dfd]:disabled{border-color:var(--grey-500)}.vc-pane-container{width:100%;position:relative}.vc-pane-container.in-transition{overflow:hidden}.vc-pane-layout{display:grid}.vc-arrow{display:flex;justify-content:center;align-items:center;cursor:pointer;user-select:none;pointer-events:auto;color:var(--gray-600);border-width:2px;border-style:solid;border-radius:var(--rounded);border-color:transparent}.vc-arrow:hover{background:var(--gray-200)}.vc-arrow:focus{border-color:var(--gray-300)}.vc-arrow.is-disabled{opacity:.25;pointer-events:none;cursor:not-allowed}.vc-day-popover-container{color:var(--white);background-color:var(--gray-800);border:1px solid;border-color:var(--gray-700);border-radius:var(--rounded);font-size:var(--text-xs);font-weight:var(--font-medium);padding:4px 8px;box-shadow:var(--shadow)}.vc-day-popover-header{font-size:var(--text-xs);color:var(--gray-300);font-weight:var(--font-semibold);text-align:center}.vc-arrows-container{width:100%;position:absolute;top:0;display:flex;justify-content:space-between;padding:8px 10px;pointer-events:none}.vc-arrows-container.title-left{justify-content:flex-end}.vc-arrows-container.title-right{justify-content:flex-start}.vc-is-dark .vc-arrow{color:var(--white)}.vc-is-dark .vc-arrow:hover{background:var(--gray-800)}.vc-is-dark .vc-arrow:focus{border-color:var(--gray-700)}.vc-is-dark .vc-day-popover-container{color:var(--gray-800);background-color:var(--white);border-color:var(--gray-100)}.vc-is-dark .vc-day-popover-header{color:var(--gray-700)}.vc-day{position:relative;min-height:32px;z-index:1}.vc-day.is-not-in-month *{opacity:0;pointer-events:none}.vc-day-layer{position:absolute;left:0;right:0;top:0;bottom:0;pointer-events:none}.vc-day-box-center-center{display:flex;justify-content:center;align-items:center;transform-origin:50% 50%}.vc-day-box-left-center{display:flex;justify-content:flex-start;align-items:center;transform-origin:0% 50%}.vc-day-box-right-center{display:flex;justify-content:flex-end;align-items:center;transform-origin:100% 50%}.vc-day-box-center-bottom{display:flex;justify-content:center;align-items:flex-end}.vc-day-content{display:flex;justify-content:center;align-items:center;font-size:var(--text-sm);font-weight:var(--font-medium);width:28px;height:28px;line-height:28px;border-radius:var(--rounded-full);user-select:none;cursor:pointer}.vc-day-content:hover{background-color:#ccd6e04d}.vc-day-content:focus{font-weight:var(--font-bold);background-color:#ccd6e066}.vc-day-content.is-disabled{color:var(--gray-400)}.vc-is-dark .vc-day-content:hover{background-color:#7281974d}.vc-is-dark .vc-day-content:focus{background-color:#72819766}.vc-is-dark .vc-day-content.is-disabled{color:var(--gray-600)}.vc-highlights{overflow:hidden;pointer-events:none;z-index:-1}.vc-highlight{width:28px;height:28px}.vc-highlight.vc-highlight-base-start{width:50%!important;border-radius:0!important;border-right-width:0!important}.vc-highlight.vc-highlight-base-end{width:50%!important;border-radius:0!important;border-left-width:0!important}.vc-highlight.vc-highlight-base-middle{width:100%;border-radius:0!important;border-left-width:0!important;border-right-width:0!important;margin:0 -1px}.vc-dots{display:flex;justify-content:center;align-items:center}.vc-dot{width:5px;height:5px;border-radius:50%;transition:all var(--day-content-transition-time)}.vc-dot:not(:last-child){margin-right:3px}.vc-bars{display:flex;justify-content:flex-start;align-items:center;width:75%}.vc-bar{flex-grow:1;height:3px;transition:all var(--day-content-transition-time)}.vc-nav-header{display:flex;justify-content:space-between}.vc-nav-arrow{display:flex;justify-content:center;align-items:center;cursor:pointer;user-select:none;line-height:var(--leading-snug);border-width:2px;border-style:solid;border-color:transparent;border-radius:var(--rounded)}.vc-nav-arrow.is-left{margin-right:auto}.vc-nav-arrow.is-right{margin-left:auto}.vc-nav-arrow.is-disabled{opacity:.25;pointer-events:none;cursor:not-allowed}.vc-nav-arrow:hover{background-color:var(--gray-900)}.vc-nav-arrow:focus{border-color:var(--accent-600)}.vc-nav-title{color:var(--accent-100);font-weight:var(--font-bold);line-height:var(--leading-snug);padding:4px 8px;border-radius:var(--rounded);border-width:2px;border-style:solid;border-color:transparent;user-select:none}.vc-nav-title:hover{background-color:var(--gray-900)}.vc-nav-title:focus{border-color:var(--accent-600)}.vc-nav-items{display:grid;grid-template-columns:repeat(3,1fr);grid-row-gap:2px;grid-column-gap:5px}.vc-nav-item{width:48px;text-align:center;line-height:var(--leading-snug);font-weight:var(--font-semibold);padding:4px 0;cursor:pointer;border-width:2px;border-style:solid;border-color:transparent;border-radius:var(--rounded);user-select:none}.vc-nav-item:hover{color:var(--white);background-color:var(--gray-900);box-shadow:var(--shadow-inner)}.vc-nav-item.is-active{color:var(--accent-900);background:var(--accent-100);font-weight:var(--font-bold);box-shadow:var(--shadow)}.vc-nav-item.is-current{color:var(--accent-100);font-weight:var(--bold);border-color:var(--accent-100)}.vc-nav-item:focus{border-color:var(--accent-600)}.vc-nav-item.is-disabled{opacity:.25;pointer-events:none}.vc-is-dark .vc-nav-title{color:var(--gray-900)}.vc-is-dark .vc-nav-title:hover{background-color:var(--gray-200)}.vc-is-dark .vc-nav-title:focus{border-color:var(--accent-400)}.vc-is-dark .vc-nav-arrow:hover{background-color:var(--gray-200)}.vc-is-dark .vc-nav-arrow:focus{border-color:var(--accent-400)}.vc-is-dark .vc-nav-item:hover{color:var(--gray-900);background-color:var(--gray-200);box-shadow:none}.vc-is-dark .vc-nav-item.is-active{color:var(--white);background:var(--accent-500)}.vc-is-dark .vc-nav-item.is-current{color:var(--accent-600);border-color:var(--accent-500)}.vc-is-dark .vc-nav-item:focus{border-color:var(--accent-400)}.vc-pane{min-width:250px}.vc-header{display:flex;justify-content:center;align-items:center;padding:10px 16px 0}.vc-header.align-left{justify-content:flex-start}.vc-header.align-right{justify-content:flex-end}.vc-title{font-size:var(--text-lg);color:var(--gray-800);font-weight:var(--font-semibold);line-height:28px;cursor:pointer;user-select:none;white-space:nowrap}.vc-title:hover{opacity:.75}.vc-weeknumber{display:flex;justify-content:center;align-items:center;position:relative}.vc-weeknumber-content{display:flex;justify-content:center;align-items:center;font-size:var(--text-xs);font-weight:var(--font-medium);font-style:italic;width:28px;height:28px;margin-top:2px;color:var(--gray-500);user-select:none}.vc-weeknumber-content.is-left-outside{position:absolute;left:var(--weeknumber-offset)}.vc-weeknumber-content.is-right-outside{position:absolute;right:var(--weeknumber-offset)}.vc-weeks{display:grid;grid-template-columns:repeat(7,1fr);position:relative;-webkit-overflow-scrolling:touch;padding:6px;min-width:250px}.vc-weeks.vc-show-weeknumbers{grid-template-columns:auto repeat(7,1fr)}.vc-weeks.vc-show-weeknumbers.is-right{grid-template-columns:repeat(7,1fr) auto}.vc-weekday{text-align:center;color:var(--gray-500);font-size:var(--text-sm);font-weight:var(--font-bold);line-height:14px;padding-top:4px;padding-bottom:8px;cursor:default;user-select:none}.vc-weekdays{display:flex}.vc-nav-popover-container{color:var(--white);font-size:var(--text-sm);font-weight:var(--font-semibold);background-color:var(--gray-800);border:1px solid;border-color:var(--gray-700);border-radius:var(--rounded-lg);padding:4px;box-shadow:var(--shadow)}.vc-is-dark .vc-header{color:var(--gray-200)}.vc-is-dark .vc-title{color:var(--gray-100)}.vc-is-dark .vc-weekday{color:var(--accent-200)}.vc-is-dark .vc-nav-popover-container{color:var(--gray-800);background-color:var(--white);border-color:var(--gray-100)}.vc-none-enter-active,.vc-none-leave-active{transition-duration:0s}.vc-fade-enter-active,.vc-fade-leave-active,.vc-slide-left-enter-active,.vc-slide-left-leave-active,.vc-slide-right-enter-active,.vc-slide-right-leave-active,.vc-slide-up-enter-active,.vc-slide-up-leave-active,.vc-slide-down-enter-active,.vc-slide-down-leave-active,.vc-slide-fade-enter-active,.vc-slide-fade-leave-active{transition:transform var(--slide-duration) var(--slide-timing),opacity var(--slide-duration) var(--slide-timing);backface-visibility:hidden;pointer-events:none}.vc-none-leave-active,.vc-fade-leave-active,.vc-slide-left-leave-active,.vc-slide-right-leave-active,.vc-slide-up-leave-active,.vc-slide-down-leave-active{position:absolute!important;width:100%}.vc-none-enter-from,.vc-none-leave-to,.vc-fade-enter-from,.vc-fade-leave-to,.vc-slide-left-enter-from,.vc-slide-left-leave-to,.vc-slide-right-enter-from,.vc-slide-right-leave-to,.vc-slide-up-enter-from,.vc-slide-up-leave-to,.vc-slide-down-enter-from,.vc-slide-down-leave-to,.vc-slide-fade-enter-from,.vc-slide-fade-leave-to{opacity:0}.vc-slide-left-enter-from,.vc-slide-right-leave-to,.vc-slide-fade-enter-from.direction-left,.vc-slide-fade-leave-to.direction-left{transform:translate(var(--slide-translate))}.vc-slide-right-enter-from,.vc-slide-left-leave-to,.vc-slide-fade-enter-from.direction-right,.vc-slide-fade-leave-to.direction-right{transform:translate(calc(-1 * var(--slide-translate)))}.vc-slide-up-enter-from,.vc-slide-down-leave-to,.vc-slide-fade-enter-from.direction-top,.vc-slide-fade-leave-to.direction-top{transform:translateY(var(--slide-translate))}.vc-slide-down-enter-from,.vc-slide-up-leave-to,.vc-slide-fade-enter-from.direction-bottom,.vc-slide-fade-leave-to.direction-bottom{transform:translateY(calc(-1 * var(--slide-translate)))}.vc-popover-content-wrapper{--popover-horizontal-content-offset: 8px;--popover-vertical-content-offset: 10px;--popover-caret-horizontal-offset: 18px;--popover-caret-vertical-offset: 8px;position:absolute;display:block;outline:none;z-index:10}.vc-popover-content-wrapper:not(.is-interactive){pointer-events:none}.vc-popover-content{position:relative;outline:none;z-index:10;box-shadow:var(--shadow-lg)}.vc-popover-content.direction-bottom{margin-top:var(--popover-vertical-content-offset)}.vc-popover-content.direction-top{margin-bottom:var(--popover-vertical-content-offset)}.vc-popover-content.direction-left{margin-right:var(--popover-horizontal-content-offset)}.vc-popover-content.direction-right{margin-left:var(--popover-horizontal-content-offset)}.vc-popover-caret{content:"";position:absolute;display:block;width:12px;height:12px;border-top:inherit;border-left:inherit;background-color:inherit;z-index:-1}.vc-popover-caret.direction-bottom{top:0}.vc-popover-caret.direction-bottom.align-left{transform:translateY(-50%) rotate(45deg)}.vc-popover-caret.direction-bottom.align-center{transform:translate(-50%) translateY(-50%) rotate(45deg)}.vc-popover-caret.direction-bottom.align-right{transform:translateY(-50%) rotate(45deg)}.vc-popover-caret.direction-top{top:100%}.vc-popover-caret.direction-top.align-left{transform:translateY(-50%) rotate(-135deg)}.vc-popover-caret.direction-top.align-center{transform:translate(-50%) translateY(-50%) rotate(-135deg)}.vc-popover-caret.direction-top.align-right{transform:translateY(-50%) rotate(-135deg)}.vc-popover-caret.direction-left{left:100%}.vc-popover-caret.direction-left.align-top{transform:translate(-50%) rotate(135deg)}.vc-popover-caret.direction-left.align-middle{transform:translateY(-50%) translate(-50%) rotate(135deg)}.vc-popover-caret.direction-left.align-bottom{transform:translate(-50%) rotate(135deg)}.vc-popover-caret.direction-right{left:0}.vc-popover-caret.direction-right.align-top{transform:translate(-50%) rotate(-45deg)}.vc-popover-caret.direction-right.align-middle{transform:translateY(-50%) translate(-50%) rotate(-45deg)}.vc-popover-caret.direction-right.align-bottom{transform:translate(-50%) rotate(-45deg)}.vc-popover-caret.align-left{left:var(--popover-caret-horizontal-offset)}.vc-popover-caret.align-center{left:50%}.vc-popover-caret.align-right{right:var(--popover-caret-horizontal-offset)}.vc-popover-caret.align-top{top:var(--popover-caret-vertical-offset)}.vc-popover-caret.align-middle{top:50%}.vc-popover-caret.align-bottom{bottom:var(--popover-caret-vertical-offset)}.vc-day-popover-row{--day-content-transition-time: .13s ease-in;display:flex;align-items:center;transition:all var(--day-content-transition-time)}.vc-day-popover-row:not(:first-child){margin-top:3px}.vc-day-popover-row-indicator{display:flex;justify-content:center;align-items:center;flex-grow:0;width:15px;margin-right:3px}.vc-day-popover-row-indicator span{transition:all var(--day-content-transition-time)}.vc-day-popover-row-content{display:flex;align-items:center;flex-wrap:none;flex-grow:1;width:max-content}.vc-svg-icon{display:inline-block;stroke:currentColor;stroke-width:0}.vc-svg-icon path{fill:currentColor}.vc-time-picker{display:flex;align-items:center;padding:8px}.vc-time-picker.vc-invalid{pointer-events:none;opacity:.5}.vc-time-picker.vc-bordered{border-top:1px solid var(--gray-400)}.vc-time-icon{width:16px;height:16px;color:var(--gray-600)}.vc-time-content{margin-left:8px}.vc-time-date{display:flex;align-items:center;font-size:var(--text-sm);font-weight:var(--font-semibold);text-transform:uppercase;padding:0 0 4px 4px;margin-top:-4px;line-height:21px}.vc-time-weekday{color:var(--gray-700);letter-spacing:var(--tracking-wide)}.vc-time-month{color:var(--accent-600);margin-left:8px}.vc-time-day{color:var(--accent-600);margin-left:4px}.vc-time-year{color:var(--gray-500);margin-left:8px}.vc-time-select{display:flex;align-items:center}.vc-am-pm{display:flex;align-items:center;background:var(--gray-200);color:var(--gray-800);margin-left:8px;padding:4px;border-radius:var(--rounded);height:30px}.vc-am-pm button{font-size:var(--text-sm);font-weight:var(--font-medium);padding:0 4px;background:transparent;border:2px solid transparent;border-radius:var(--rounded);line-height:var(--leading-snug)}.vc-am-pm button:hover{color:var(--gray-600)}.vc-am-pm button:focus{border-color:var(--accent-400)}.vc-am-pm button.active{background:var(--accent-600);color:var(--white)}.vc-am-pm button.active:hover{background:var(--accent-500)}.vc-am-pm button.active:focus{border-color:var(--accent-400)}.vc-is-dark .vc-time-picker{border-color:var(--gray-700)}.vc-is-dark .vc-time-icon,.vc-is-dark .vc-time-weekday{color:var(--gray-400)}.vc-is-dark .vc-time-month,.vc-is-dark .vc-time-day{color:var(--accent-400)}.vc-is-dark .vc-time-year{color:var(--gray-500)}.vc-is-dark .vc-am-pm{background:var(--gray-700)}.vc-is-dark .vc-am-pm:focus{border-color:var(--accent-500)}.vc-is-dark .vc-am-pm button{color:var(--gray-100)}.vc-is-dark .vc-am-pm button:hover{color:var(--gray-400)}.vc-is-dark .vc-am-pm button:focus{border-color:var(--accent-500)}.vc-is-dark .vc-am-pm button.active{background:var(--accent-500);color:var(--white)}.vc-is-dark .vc-am-pm button.active:hover{background:var(--accent-600)}.vc-is-dark .vc-am-pm button.active:focus{border-color:var(--accent-500)}.vc-select{position:relative}.vc-select select{flex-grow:1;display:block;appearance:none;width:52px;height:30px;font-size:var(--text-base);font-weight:var(--font-medium);text-align:left;background-color:var(--gray-200);border:2px solid;border-color:var(--gray-200);color:var(--gray-900);padding:0 20px 0 8px;border-radius:var(--rounded);line-height:var(--leading-tight);text-indent:0px;cursor:pointer;-moz-padding-start:3px;background-image:none}.vc-select select:hover{color:var(--gray-600)}.vc-select select:focus{outline:0;border-color:var(--accent-400);background-color:var(--white)}.vc-select-arrow{display:flex;align-items:center;pointer-events:none;position:absolute;top:0;bottom:0;right:0;padding:0 4px 0 0;color:var(--gray-500)}.vc-select-arrow svg{width:16px;height:16px;fill:currentColor}.vc-is-dark select{background:var(--gray-700);color:var(--gray-100);border-color:var(--gray-700)}.vc-is-dark select:hover{color:var(--gray-400)}.vc-is-dark select:focus{border-color:var(--accent-500);background-color:var(--gray-800)}.vc-container{--white: #ffffff;--black: #000000;--gray-100: #f7fafc;--gray-200: #edf2f7;--gray-300: #e2e8f0;--gray-400: #cbd5e0;--gray-500: #a0aec0;--gray-600: #718096;--gray-700: #4a5568;--gray-800: #2d3748;--gray-900: #1a202c;--red-100: #fff5f5;--red-200: #fed7d7;--red-300: #feb2b2;--red-400: #fc8181;--red-500: #f56565;--red-600: #e53e3e;--red-700: #c53030;--red-800: #9b2c2c;--red-900: #742a2a;--orange-100: #fffaf0;--orange-200: #feebc8;--orange-300: #fbd38d;--orange-400: #f6ad55;--orange-500: #ed8936;--orange-600: #dd6b20;--orange-700: #c05621;--orange-800: #9c4221;--orange-900: #7b341e;--yellow-100: #fffff0;--yellow-200: #fefcbf;--yellow-300: #faf089;--yellow-400: #f6e05e;--yellow-500: #ecc94b;--yellow-600: #d69e2e;--yellow-700: #b7791f;--yellow-800: #975a16;--yellow-900: #744210;--green-100: #f0fff4;--green-200: #c6f6d5;--green-300: #9ae6b4;--green-400: #68d391;--green-500: #48bb78;--green-600: #38a169;--green-700: #2f855a;--green-800: #276749;--green-900: #22543d;--teal-100: #e6fffa;--teal-200: #b2f5ea;--teal-300: #81e6d9;--teal-400: #4fd1c5;--teal-500: #38b2ac;--teal-600: #319795;--teal-700: #2c7a7b;--teal-800: #285e61;--teal-900: #234e52;--blue-100: #ebf8ff;--blue-200: #bee3f8;--blue-300: #90cdf4;--blue-400: #63b3ed;--blue-500: #4299e1;--blue-600: #3182ce;--blue-700: #2b6cb0;--blue-800: #2c5282;--blue-900: #2a4365;--indigo-100: #ebf4ff;--indigo-200: #c3dafe;--indigo-300: #a3bffa;--indigo-400: #7f9cf5;--indigo-500: #667eea;--indigo-600: #5a67d8;--indigo-700: #4c51bf;--indigo-800: #434190;--indigo-900: #3c366b;--purple-100: #faf5ff;--purple-200: #e9d8fd;--purple-300: #d6bcfa;--purple-400: #b794f4;--purple-500: #9f7aea;--purple-600: #805ad5;--purple-700: #6b46c1;--purple-800: #553c9a;--purple-900: #44337a;--pink-100: #fff5f7;--pink-200: #fed7e2;--pink-300: #fbb6ce;--pink-400: #f687b3;--pink-500: #ed64a6;--pink-600: #d53f8c;--pink-700: #b83280;--pink-800: #97266d;--pink-900: #702459}.vc-container.vc-red{--accent-100: var(--red-100);--accent-200: var(--red-200);--accent-300: var(--red-300);--accent-400: var(--red-400);--accent-500: var(--red-500);--accent-600: var(--red-600);--accent-700: var(--red-700);--accent-800: var(--red-800);--accent-900: var(--red-900)}.vc-container.vc-orange{--accent-100: var(--orange-100);--accent-200: var(--orange-200);--accent-300: var(--orange-300);--accent-400: var(--orange-400);--accent-500: var(--orange-500);--accent-600: var(--orange-600);--accent-700: var(--orange-700);--accent-800: var(--orange-800);--accent-900: var(--orange-900)}.vc-container.vc-yellow{--accent-100: var(--yellow-100);--accent-200: var(--yellow-200);--accent-300: var(--yellow-300);--accent-400: var(--yellow-400);--accent-500: var(--yellow-500);--accent-600: var(--yellow-600);--accent-700: var(--yellow-700);--accent-800: var(--yellow-800);--accent-900: var(--yellow-900)}.vc-container.vc-green{--accent-100: var(--green-100);--accent-200: var(--green-200);--accent-300: var(--green-300);--accent-400: var(--green-400);--accent-500: var(--green-500);--accent-600: var(--green-600);--accent-700: var(--green-700);--accent-800: var(--green-800);--accent-900: var(--green-900)}.vc-container.vc-teal{--accent-100: var(--teal-100);--accent-200: var(--teal-200);--accent-300: var(--teal-300);--accent-400: var(--teal-400);--accent-500: var(--teal-500);--accent-600: var(--teal-600);--accent-700: var(--teal-700);--accent-800: var(--teal-800);--accent-900: var(--teal-900)}.vc-container.vc-blue{--accent-100: var(--blue-100);--accent-200: var(--blue-200);--accent-300: var(--blue-300);--accent-400: var(--blue-400);--accent-500: var(--blue-500);--accent-600: var(--blue-600);--accent-700: var(--blue-700);--accent-800: var(--blue-800);--accent-900: var(--blue-900)}.vc-container.vc-indigo{--accent-100: var(--indigo-100);--accent-200: var(--indigo-200);--accent-300: var(--indigo-300);--accent-400: var(--indigo-400);--accent-500: var(--indigo-500);--accent-600: var(--indigo-600);--accent-700: var(--indigo-700);--accent-800: var(--indigo-800);--accent-900: var(--indigo-900)}.vc-container.vc-purple{--accent-100: var(--purple-100);--accent-200: var(--purple-200);--accent-300: var(--purple-300);--accent-400: var(--purple-400);--accent-500: var(--purple-500);--accent-600: var(--purple-600);--accent-700: var(--purple-700);--accent-800: var(--purple-800);--accent-900: var(--purple-900)}.vc-container.vc-pink{--accent-100: var(--pink-100);--accent-200: var(--pink-200);--accent-300: var(--pink-300);--accent-400: var(--pink-400);--accent-500: var(--pink-500);--accent-600: var(--pink-600);--accent-700: var(--pink-700);--accent-800: var(--pink-800);--accent-900: var(--pink-900)}.vc-container{--font-normal: 400;--font-medium: 500;--font-semibold: 600;--font-bold: 700;--text-xs: 12px;--text-sm: 14px;--text-base: 16px;--text-lg: 18px;--leading-snug: 1.375;--rounded: .25rem;--rounded-lg: .5rem;--rounded-full: 9999px;--shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);--shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, .06);--slide-translate: 22px;--slide-duration: .15s;--slide-timing: ease;--day-content-transition-time: .13s ease-in;--weeknumber-offset: -34px;position:relative;display:inline-flex;width:max-content;height:max-content;font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif;color:var(--gray-900);background-color:var(--white);border:1px solid;border-color:var(--gray-400);border-radius:var(--rounded-lg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent}.vc-container,.vc-container *{box-sizing:border-box}.vc-container:focus,.vc-container *:focus{outline:none}.vc-container button,.vc-container [role=button]{cursor:pointer}.vc-container.vc-is-expanded{min-width:100%}.vc-container .vc-container{border:none}.vc-container.vc-is-dark{color:var(--gray-100);background-color:var(--gray-900);border-color:var(--gray-700)}.k-datetime-picker{max-width:100%}.k-datetime-picker.set-min-width .k-popover{min-width:360px}.k-datetime-picker .timepicker-input{--KButtonOutlineColor: var(--grey-500);--KButtonOutlineBorder: var(--grey-300);--KButtonOutlineActive: var(--white);--KButtonOutlineHoverBorder: var(--blue-200);padding:var(--spacing-sm) var(--spacing-sm)!important;font-weight:500;max-width:100%;background-color:#fff;background-color:var(--KInputBackground, var(--white, #ffffff));box-shadow:inset 0 0 0 1px var(--grey-300)!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:color .1s ease,box-shadow .1s ease}.k-datetime-picker .timepicker-input.set-min-width{min-width:360px}.k-datetime-picker .timepicker-input:hover{box-shadow:inset 0 0 0 1px var(--blue-200)!important;box-shadow:inset 0 0 0 1px var(--KInputHover, var(--blue-200))!important;transition:all .1s ease}.k-datetime-picker .timepicker-input:focus,.k-datetime-picker .timepicker-input:active{outline:none!important;box-shadow:inset 0 0 0 1px var(--blue-400)!important;box-shadow:inset 0 0 0 1px var(--KInputFocus, var(--blue-400))!important;transition:all .1s ease}.k-datetime-picker .timepicker-input:focus>.kong-icon path,.k-datetime-picker .timepicker-input:active>.kong-icon path{fill:var(--grey-600)}.k-datetime-picker .timepicker-input .timepicker-display{flex-wrap:wrap}.k-datetime-picker .timepicker-input .timepicker-display div{width:auto;text-align:left;padding:0;margin:0;line-height:1.3;white-space:nowrap}.k-datetime-picker .k-popover{max-height:90vh;width:100%!important;overflow:hidden;padding:var(--spacing-sm)}.k-datetime-picker .k-popover[x-placement^=bottom]{margin-top:2px}.k-datetime-picker .k-popover[x-placement^=top]{margin-bottom:2px}.k-datetime-picker .k-popover .k-popover-content .range-display{margin:0 auto}.k-datetime-picker .k-popover .k-popover-content .timeframe-section .timeframe-section-title{font-weight:600;margin-bottom:var(--spacing-xs)}.k-datetime-picker .k-popover .k-popover-content .timeframe-section .timeframe-buttons{flex-wrap:wrap}.k-datetime-picker .k-popover .k-popover-content .timeframe-section .timeframe-buttons .timeframe-btn{font-size:var(--type-sm);font-weight:400;flex:0 calc(33% - 3px);margin-right:6px;padding:var(--spacing-sm) var(--spacing-md);justify-content:center;margin-bottom:6px}.k-datetime-picker .k-popover .k-popover-content .timeframe-section .timeframe-buttons .timeframe-btn.selected-option{color:#fff;background-color:var(--blue-500);font-weight:500}.k-datetime-picker .k-popover .k-popover-content .timeframe-section .timeframe-buttons .timeframe-btn:nth-child(3n){margin-right:0}.k-datetime-picker .k-popover .k-popover-content .timeframe-section .timeframe-buttons .timeframe-btn:focus{box-shadow:none}.k-datetime-picker .k-popover .k-popover-footer{margin:var(--spacing-md) auto 0}.k-datetime-picker .k-popover .k-popover-footer .action-btn{padding:0 var(--spacing-md) var(--spacing-xs)}.k-datetime-picker .k-popover .k-popover-footer .action-btn:focus{box-shadow:none}.k-datetime-picker .vc-container{border:0}.k-datetime-picker .vc-container .vc-time-icon{display:none}.k-datetime-picker .vc-container .vc-bordered{border:0}.k-datetime-picker .vc-container .vc-highlights+.vc-day-content{color:var(--white);font-weight:600}.k-datetime-picker .vc-container .vc-highlights+.vc-day-content:focus{background-color:#1155cb}.k-datetime-picker .vc-container .vc-nav-popover-container{background-color:var(--white);border:1px solid #e7e7ec;color:#6f7787}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-arrow{background-color:var(--white)}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-arrow:active,.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-arrow:focus{border:2px solid var(--white)}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-header .vc-nav-title{color:#6f7787}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-header .vc-nav-title:hover{background-color:var(--white);color:#3c4557}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-header .vc-nav-title:active,.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-header .vc-nav-title:focus{border:2px solid var(--white)}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-items .vc-nav-item{color:#6f7787}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-items .vc-nav-item:hover{color:#3c4557;background-color:#f2f6fe;box-shadow:none}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-items .vc-nav-item.is-current{border-color:transparent}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-items .vc-nav-item.is-active{background-color:#1155cb;color:var(--white);font-weight:600;box-shadow:none}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-items .vc-nav-item.is-disabled{color:var(--grey-400);cursor:not-allowed;opacity:1}.k-datetime-picker .vc-container .vc-time-picker{border-top:1px solid var(--white)!important}.k-datetime-picker .vc-container .vc-time-picker:last-of-type{padding-bottom:0}.k-datetime-picker .vc-container .vc-time-picker .vc-date .vc-weekday,.k-datetime-picker .vc-container .vc-time-picker .vc-date .vc-month,.k-datetime-picker .vc-container .vc-time-picker .vc-date .vc-year{color:#6f7787!important}.k-datetime-picker .vc-container .vc-pane-container .vc-arrows-container,.k-datetime-picker .vc-container .vc-pane-container .vc-header{padding:2px 16px 0}.k-datetime-picker .vc-container .vc-pane-container .vc-header .vc-title{color:#6f7787}.k-datetime-picker .vc-container .vc-pane-container .vc-header .vc-title:hover,.k-datetime-picker .vc-container .vc-pane-container .vc-header .vc-title:active{color:#3c4557}.k-datetime-picker .vc-container .vc-pane-container .vc-weeks .vc-weekday{color:#6f7787}.k-datetime-picker .vc-container .vc-pane-container .vc-select select,.k-datetime-picker .vc-container .vc-time-picker .vc-select select,.k-datetime-picker .vc-container .vc-pane-container .vc-select select:hover,.k-datetime-picker .vc-container .vc-time-picker .vc-select select:hover{color:#3c4557}.k-datetime-picker .vc-container .vc-pane-container .vc-select select:focus,.k-datetime-picker .vc-container .vc-time-picker .vc-select select:focus{border:2px solid var(--white);color:#3c4557}.k-datetime-picker .vc-container .vc-pane-container .vc-time-month,.k-datetime-picker .vc-container .vc-pane-container .vc-time-day,.k-datetime-picker .vc-container .vc-pane-container .vc-time-year,.k-datetime-picker .vc-container .vc-time-picker .vc-time-month,.k-datetime-picker .vc-container .vc-time-picker .vc-time-day,.k-datetime-picker .vc-container .vc-time-picker .vc-time-year,.k-datetime-picker .vc-container .vc-pane-container .vc-month,.k-datetime-picker .vc-container .vc-pane-container .vc-day,.k-datetime-picker .vc-container .vc-time-picker .vc-month,.k-datetime-picker .vc-container .vc-time-picker .vc-day{color:#6f7787}.k-datetime-picker .vc-container .vc-pane-container .vc-am-pm,.k-datetime-picker .vc-container .vc-time-picker .vc-am-pm,.k-datetime-picker .vc-container .vc-pane-container .vc-am-pm button:active,.k-datetime-picker .vc-container .vc-pane-container .vc-am-pm button:hover,.k-datetime-picker .vc-container .vc-time-picker .vc-am-pm button:active,.k-datetime-picker .vc-container .vc-time-picker .vc-am-pm button:hover{color:#3c4557}.k-datetime-picker .vc-container .vc-pane-container .vc-am-pm button:focus,.k-datetime-picker .vc-container .vc-time-picker .vc-am-pm button:focus{border:2px solid transparent}.k-datetime-picker .vc-container .vc-pane-container .vc-am-pm button.active,.k-datetime-picker .vc-container .vc-time-picker .vc-am-pm button.active{background-color:#1155cb}.k-datetime-picker .vc-container .vc-pane-container .vc-am-pm button.active:hover,.k-datetime-picker .vc-container .vc-pane-container .vc-am-pm button.active:focus,.k-datetime-picker .vc-container .vc-time-picker .vc-am-pm button.active:hover,.k-datetime-picker .vc-container .vc-time-picker .vc-am-pm button.active:focus{color:var(--white);border-color:#1155cb;background-color:#1155cb}.k-datetime-picker .vc-container .vc-pane-container .vc-am-pm button.active:active,.k-datetime-picker .vc-container .vc-time-picker .vc-am-pm button.active:active{color:var(--white);border-color:#8ab3fa;background-color:#8ab3fa}.k-datetime-picker .vc-container .vc-pane-container .vc-highlight.vcal-day-start,.k-datetime-picker .vc-container .vc-pane-container .vc-highlight.vcal-day-end,.k-datetime-picker .vc-container .vc-time-picker .vc-highlight.vcal-day-start,.k-datetime-picker .vc-container .vc-time-picker .vc-highlight.vcal-day-end{background-color:#1155cb;color:#fff!important}.k-datetime-picker .vc-container .vc-pane-container .vc-highlight.vcal-day-base,.k-datetime-picker .vc-container .vc-pane-container .vc-highlight.vc-highlight-base-middle,.k-datetime-picker .vc-container .vc-time-picker .vc-highlight.vcal-day-base,.k-datetime-picker .vc-container .vc-time-picker .vc-highlight.vc-highlight-base-middle{background-color:#bdd3f9}.k-datetime-picker .vc-container .vc-pane-container .vcal-day-drag-start,.k-datetime-picker .vc-container .vc-pane-container .vcal-day-drag-end,.k-datetime-picker .vc-container .vc-time-picker .vcal-day-drag-start,.k-datetime-picker .vc-container .vc-time-picker .vcal-day-drag-end{border:2px solid #3972d5;background-color:#1155cb;color:#fff}.k-datetime-picker .vc-container .vc-pane-container .vc-day-content:hover,.k-datetime-picker .vc-container .vc-time-picker .vc-day-content:hover{color:#1155cb;background-color:#fff;border:2px solid #3972d5}.k-datetime-picker .vc-container .vc-pane-container .vc-highlight.vc-highlight-base-start,.k-datetime-picker .vc-container .vc-pane-container .vc-highlight.vc-highlight-base-end,.k-datetime-picker .vc-container .vc-time-picker .vc-highlight.vc-highlight-base-start,.k-datetime-picker .vc-container .vc-time-picker .vc-highlight.vc-highlight-base-end{background-color:#bdd3f9}li.k-dropdown-item[data-v-a0c39af6]{display:flex;align-items:center;font-size:1rem;line-height:1}li.k-dropdown-item.has-divider[data-v-a0c39af6]{position:relative;margin-top:24px}li.k-dropdown-item.has-divider[data-v-a0c39af6]:before{position:absolute;display:block;content:"";height:1px;width:100%;top:-13px;background:var(--grey-200)}li.k-dropdown-item svg[data-v-a0c39af6]{margin-right:.75rem}li.k-dropdown-item[data-v-a0c39af6]:hover{background-color:var(--grey-100)}li.k-dropdown-item .k-dropdown-item-trigger[data-v-a0c39af6]{text-align:left;padding:var(--spacing-md) var(--spacing-lg);text-decoration:none;width:100%;color:var(--black-70)}li.k-dropdown-item .k-dropdown-item-trigger[data-v-a0c39af6]:disabled,li.k-dropdown-item .k-dropdown-item-trigger.disabled[data-v-a0c39af6]{cursor:not-allowed!important;color:var(--grey-400)!important}li.k-dropdown-item .k-dropdown-item-trigger[data-v-a0c39af6]:disabled:hover,li.k-dropdown-item .k-dropdown-item-trigger.disabled[data-v-a0c39af6]:hover{background-color:var(--grey-200)!important}.k-dropdown-item a.k-dropdown-item-trigger,.k-dropdown-item button.k-dropdown-item-trigger{text-decoration:none!important}.k-dropdown-item.danger button:not(:disabled),.k-dropdown-item.danger a:not(:disabled){color:var(--red-500);transition:all .3s}.k-dropdown-item.danger button:not(:disabled):hover,.k-dropdown-item.danger a:not(:disabled):hover{color:var(--red-500)}.k-dropdown-menu[data-v-886117c8]{width:fit-content}.k-dropdown-menu .drodpown-trigger[data-v-886117c8]:after{display:inline-block;width:0;height:0;margin-left:8px;margin-left:var(--spacing-xs, 8px);vertical-align:middle;content:"";border-top:.325em solid;border-right:.325em solid transparent;border-left:.325em solid transparent}.k-popover.k-dropdown-popover{--KPopPaddingY: var(--spacing-sm);--KPopPaddingX: 0;border:1px solid var(--black-10)}.k-popover.k-dropdown-popover ul{margin:0;padding:0}.k-popover.k-dropdown-popover a{flex:1;color:var(--black-70)}.k-popover.k-dropdown-popover a:hover,.k-popover.k-dropdown-popover a:active,.k-popover.k-dropdown-popover a:focus{text-decoration:none}.selection-dropdown-menu .dropdown-trigger .k-button{border:0;color:var(--grey-600);white-space:nowrap;--KButtonOutlineColor: var(--grey-500)}.selection-dropdown-menu .dropdown-trigger .k-button:focus{box-shadow:none}.selection-dropdown-menu .dropdown-trigger .k-button:active:disabled{background-color:var(--white)}.selection-dropdown-menu .dropdown-trigger .k-button.is-active{background-color:var(--grey-100)}.selection-dropdown-menu .k-popover.k-dropdown-popover{z-index:10000!important}.selection-dropdown-menu .k-popover.k-dropdown-popover li .non-visual-button{font-weight:400!important}.selection-dropdown-menu .k-popover.k-dropdown-popover li.k-dropdown-selected-option{background-color:var(--blue-100)}.selection-dropdown-menu .k-popover.k-dropdown-popover li.k-dropdown-selected-option .non-visual-button{font-weight:500!important}.k-file-upload[data-v-20472419]{position:relative}.k-file-upload .k-file-upload-btn.k-button[data-v-20472419]{position:absolute;right:12px;top:35px;border-radius:100px;height:29px}.k-file-upload[data-v-20472419] .k-input-wrapper input[type=file]::-webkit-file-upload-button{position:absolute;min-width:100%;min-height:100%;opacity:0;cursor:inherit}.k-file-upload[data-v-20472419] .k-input-wrapper input[type=file],.k-file-upload[data-v-20472419] .k-input-wrapper input[type=file].image-upload{color:transparent}.k-file-upload .remove-button[data-v-20472419]{position:absolute;top:38px;right:118px;border:none;height:var(--spacing-lg);background-color:transparent;cursor:pointer;padding:var(--type-xxs) 6px}.k-file-upload .remove-button[data-v-20472419]:hover,.k-file-upload .remove-button[data-v-20472419]:active{background-color:transparent!important;box-shadow:0 0 0 2px #fff,0 0 0 4px #1155cb;box-shadow:0 0 0 2px var(--white, #ffffff),0 0 0 4px var(--KButtonPrimaryBase, var(--blue-500, #1155cb))}.k-file-upload .move-btn-right[data-v-20472419]{right:10px}.k-file-upload .image-upload-icon[data-v-20472419]{position:absolute;top:var(--type-xxs);left:var(--spacing-xs);cursor:pointer}.k-file-upload .image-upload-description[data-v-20472419]{position:absolute;left:44px;top:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--blue-500);font-size:13px;line-height:20px;cursor:pointer}.k-file-upload .k-input{height:44px}.k-file-upload input[type=file]{color:transparent}.k-file-upload input[type=file]:hover{cursor:pointer}.k-file-upload .display-name{color:var(--black-70);position:absolute;pointer-events:none;top:40px;left:20px}.k-inline-edit[data-v-219722da]{--padding: var(--spacing-xxs) var(--spacing-xs);box-sizing:border-box}.k-inline-edit[data-v-219722da]>div{display:inline-flex;width:100%;cursor:text}.k-inline-edit[data-v-219722da]>div>*{width:100%;border:1px solid transparent;border-radius:3px;padding:var(--padding);margin-top:0;margin-left:calc(-1 * var(--spacing-xs));line-height:1.25;overflow:hidden;transition:background-color .2s ease}.k-inline-edit[data-v-219722da]>div:hover>*{background-color:var(--grey-200)}.k-inline-edit .k-input[data-v-219722da]{display:inline-flex;width:100%;padding:var(--padding)}.k-inline-edit .k-input[data-v-219722da]:focus,.k-inline-edit .k-input[data-v-219722da]:hover{background-color:var(--white)}.k-switch[data-v-6f1734af],.k-input-switch[data-v-6f1734af]{position:relative}.k-switch .kong-icon[data-v-6f1734af],.k-input-switch .kong-icon[data-v-6f1734af]{transform:translate(-54px);position:absolute;left:57px;top:1px}.k-menu-item-divider[data-v-461355e1]{padding:0 19px}.k-menu-item[data-v-b327ae72]{list-style:none;margin:0;white-space:nowrap;font-weight:400;font-size:13px;line-height:24px;color:var(--grey-500);position:relative;padding-left:2px}.span-icon-container[data-v-b327ae72]{margin-left:auto;height:24px;width:24px}.title-dark[data-v-b327ae72]{color:var(--grey-600)}.k-menu-item .menu-button[data-v-b327ae72]{padding-left:19px;padding-right:24px;cursor:pointer!important}.k-menu-item .menu-button[data-v-b327ae72]:hover{color:var(--grey-600)}.menu-content[data-v-b327ae72]{padding-left:19px;padding-right:24px;color:var(--grey-500)}.k-button.menu-button[data-v-b327ae72]{width:100%;color:var(--grey-500);color:var(--KButtonOutlineColor, var(--grey-500));font-weight:400!important;font-family:var(--font-family-sans);font-size:13px;line-height:24px}.k-button.menu-button[data-v-b327ae72]:focus{box-shadow:0 0 0 1px var(--blue-200)}.k-button.medium[data-v-b327ae72]{padding-top:8px;padding-bottom:8px}.k-menu-item.expando-item>button+div+hr[data-v-b327ae72],.last-menu-item[data-v-b327ae72],.last-menu-item>button+div+hr[data-v-b327ae72],.k-menu-item[data-v-b327ae72]:last-of-type{border:0}.k-menu[data-v-19686ae2]{background-color:var(--white);border:1px solid var(--grey-300);border-radius:4px;padding-top:11px;padding-bottom:8px}.clear-cta-button[data-v-19686ae2]>button.k-button{border:none;color:var(--blue-300);font-weight:500;font-size:13px;line-height:13px;margin-bottom:6px;margin-top:10px;padding-top:2px}.clear-cta-button[data-v-19686ae2]>button.k-button:active,.clear-cta-button[data-v-19686ae2]>button.k-button:hover{color:var(--blue-500);background-color:transparent}.clear-cta-button[data-v-19686ae2]>button.k-button:focus{box-shadow:none;color:var(--blue-500);background-color:transparent}.k-modal-backdrop[data-v-442f114b]{position:fixed;top:0;bottom:0;left:0;right:0;background-color:#0b172d99;background-color:var(--KModalBackdrop, rgba(11, 23, 45, .6));z-index:1100}.k-modal-overflow-hidden .k-modal-backdrop[data-v-442f114b]{overflow:auto}.k-modal[data-v-442f114b]{--KModalPadding: var(--spacing-xl, spacing(xl))}.k-modal .k-modal-dialog[data-v-442f114b]{position:relative;width:auto;max-width:500px;max-width:var(--KModalMaxWidth, 500px);margin:50px auto;padding:var(--KModalPadding);border-radius:3px;border:var(--KModalBorder);box-shadow:0 0 12px #0000001a;box-shadow:0 0 12px 0 var(--black-10, rgba(0, 0, 0, .1));background:#fff;z-index:9999;overflow:hidden}.k-modal .k-modal-dialog .close-button[data-v-442f114b]{position:absolute;right:var(--spacing-lg);top:var(--spacing-lg);z-index:10000}.k-modal .k-modal-dialog .close-button .k-button[data-v-442f114b]{padding:8px 0 8px 8px;margin-top:-8px}.k-modal .k-modal-content[data-v-442f114b]{position:relative;display:flex;flex-direction:column}.k-modal .k-modal-content .k-modal-header-image[data-v-442f114b]{margin-top:calc(var(--KModalPadding) * -1);margin-left:calc(var(--KModalPadding) * -1);margin-right:calc(var(--KModalPadding) * -1);margin-bottom:32px;margin-bottom:var(--spacing-xl, 32px)}.k-modal .k-modal-content .k-modal-header[data-v-442f114b]{display:flex;justify-content:flex-start;align-items:center;color:#0b172d;color:var(--KModalHeaderColor, var(--black-500, #0b172d));font-size:20px;font-size:var(--KModalHeaderSize, 20px);font-weight:600;font-weight:var(--KModalHeaderWeight, 600)}.k-modal .k-modal-content .k-modal-header.header-centered[data-v-442f114b]{text-align:center;margin-left:auto;margin-right:auto}.k-modal .k-modal-content .k-modal-header.header-left[data-v-442f114b]{text-align:left;margin-left:0;margin-right:auto}.k-modal .k-modal-content .k-modal-header.header-right[data-v-442f114b]{text-align:right;margin-left:auto;margin-right:0}.k-modal .k-modal-content .k-modal-body[data-v-442f114b]{position:relative;flex:1 1 auto;margin-bottom:24px;margin-bottom:var(--KModalBottomMargin, var(--spacing-lg, 24px));color:#6f7787;color:var(--KModalColor, var(--grey-500, #6f7787));font-size:13px;font-size:var(--KModalFontSize, 13px);line-height:20px}.k-modal .k-modal-content .k-modal-body.content-centered[data-v-442f114b]{text-align:center;margin-left:auto;margin-right:auto}.k-modal .k-modal-content .k-modal-body.content-left[data-v-442f114b]{text-align:left;margin-left:0;margin-right:auto}.k-modal .k-modal-content .k-modal-body.content-right[data-v-442f114b]{text-align:right;margin-left:auto;margin-right:0}.k-modal .k-modal-content .k-modal-footer .k-modal-action-buttons[data-v-442f114b]{margin-left:auto}body.k-modal-overflow-hidden{overflow:hidden}.k-modal-fullscreen-dialog[data-v-fee45ec6]{padding-top:128px;background:var(--white);z-index:9999;position:fixed;top:0;bottom:0;left:0;right:0;width:100vw}@media only screen and (min-width: 769px){.k-modal-fullscreen-dialog[data-v-fee45ec6]{padding-top:64px}}.k-modal-fullscreen-header[data-v-fee45ec6]{position:fixed;display:flex;top:0;width:100%;flex-direction:column;padding:var(--spacing-lg) 0;background-color:var(--white);border-bottom:1px solid var(--grey-300)}.k-modal-fullscreen-header .k-modal-fullscreen-header-description[data-v-fee45ec6]{display:flex;justify-content:space-between;font-size:20px;font-size:var(--KModalFullscreenHeaderSize, 20px);font-weight:600;font-weight:var(--KModalFullscreenHeaderWeight, 600);color:#0b172d;color:var(--KModalFullscreenHeaderColor, var(--black-500, #0b172d))}.k-modal-fullscreen-header .k-modal-fullscreen-body[data-v-fee45ec6]{text-align:center;position:relative;flex:1 1 auto;font-size:13px;font-size:var(--KModalFullscreenFontSize, 13px);line-height:20px}.k-modal-fullscreen-title[data-v-fee45ec6]{display:inline-flex;position:relative;margin-left:36px}.k-modal-fullscreen-action[data-v-fee45ec6]{display:inline-flex;margin-right:32px;margin-right:var(--spacing-xl, 32px)}.k-modal-fullscreen-action button[data-v-fee45ec6],.k-modal-fullscreen-action[data-v-fee45ec6] button{height:40px;margin-left:16px;margin-left:var(--spacing-md, 16px);font-weight:600;font-size:13px;line-height:13px}.k-modal-fullscreen-body-header[data-v-fee45ec6],.k-modal-fullscreen-body[data-v-fee45ec6]{color:#0b172d;color:var(--KModalFullscreenColor, var(--black-500, #0b172d));padding-left:var(--spacing-lg);padding-right:var(--spacing-lg)}@media only screen and (min-width: 769px){.k-modal-fullscreen-body-header[data-v-fee45ec6],.k-modal-fullscreen-body[data-v-fee45ec6]{padding-left:120px;padding-right:120px}}@media only screen and (min-width: 993px){.k-modal-fullscreen-body-header[data-v-fee45ec6],.k-modal-fullscreen-body[data-v-fee45ec6]{padding-left:230px;padding-right:230px}}.k-modal-fullscreen-body-header[data-v-fee45ec6]{padding-top:0;padding-bottom:0}.k-modal-fullscreen-body[data-v-fee45ec6]{padding-bottom:var(--spacing-lg)}@media only screen and (min-width: 769px){.k-modal-fullscreen-body[data-v-fee45ec6]{padding-bottom:64px}}.k-modal-fullscreen-body-header[data-v-fee45ec6]{margin-top:64px;margin-bottom:var(--spacing-xl)}.k-modal-fullscreen-body-header .body-header[data-v-fee45ec6]{font-size:32px;line-height:32px;font-weight:600;margin-bottom:-4px}.k-modal-fullscreen-body-header .body-header-description[data-v-fee45ec6]{font-weight:400;font-size:14px;line-height:22px;color:var(--grey-600);margin-top:var(--spacing-md)}.k-modal-fullscreen-body-description h2[data-v-fee45ec6]{border:none}.k-modal-fullscreen.isOpen .k-modal-fullscreen-dialog[data-v-fee45ec6]{overflow-y:auto}.header-content[data-v-fee45ec6]{display:inline-block;margin-top:4px;margin-top:var(--spacing-xxs, 4px);padding-left:6px;border-left:1px solid var(--grey-300);line-height:24px}.k-modal-fullscreen-action-buttons[data-v-fee45ec6]{margin-left:auto}.k-modal-fullscreen-action-buttons button[data-v-fee45ec6],.k-modal-fullscreen-action-buttons[data-v-fee45ec6] button{margin-left:16px;margin-left:var(--spacing-md, 16px)}.header-icon .kong-icon.kong-icon-kong{position:relative;top:1px}.k-prompt[data-v-043fdb40]{--KModalBottomMargin: var(--spacing-md)}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog{padding:var(--spacing-lg);padding-bottom:var(--spacing-md)}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .close-button{margin-left:auto}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .divider{margin-left:calc(var(--spacing-lg) * -1);margin-right:calc(var(--spacing-lg) * -1);color:var(--grey-300)}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .k-modal-content .k-modal-header.modal-header{width:100%;display:flex}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .k-modal-content .k-modal-header.modal-header .close-button .k-button{padding:8px 0 8px 8px;margin-top:-8px}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .k-modal-content .k-modal-body.modal-body{width:100%}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .k-modal-content .k-modal-body.modal-body .k-prompt-body .k-prompt-body-content{font-size:var(--type-md);text-align:start;color:var(--grey-600);line-height:24px;white-space:normal;overflow-y:auto;overflow-x:hidden;max-height:300px;max-height:var(--KPromptMaxHeight, 300px);padding-bottom:var(--spacing-lg);width:99%}@media screen and (min-width: 768px){.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .k-modal-content .k-modal-body.modal-body .k-prompt-body .k-prompt-body-content{max-height:500px;max-height:var(--KPromptMaxHeight, 500px)}}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .k-modal-content .k-modal-body.modal-body .k-prompt-body .k-prompt-body-content .k-prompt-confirm-text{margin-top:var(--spacing-lg)}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .k-modal-content .k-modal-body.modal-body .k-prompt-body .k-prompt-body-content .k-prompt-confirm-text .k-input{width:100%}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .k-modal-content .k-modal-footer.modal-footer .k-prompt-action-buttons{margin-left:auto}.k-slideout[data-v-19db8b36]{--KCardPaddingY: 2rem;--KCardPaddingX: 3rem}.k-slideout .panel-background[data-v-19db8b36]{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.45);background:var(--black-45, rgba(0, 0, 0, .45));z-index:9999}.k-slideout .panel[data-v-19db8b36]{position:fixed;top:0;right:0;height:100vh;width:100%;max-width:500px;background-color:#fff;background-color:var(--white, #ffffff);z-index:9999}.k-slideout .panel .close-btn[data-v-19db8b36]{position:absolute;top:1rem;left:1rem;height:16px;width:16px;padding:0;border:none;background:none;cursor:pointer;outline:inherit;transition:.2s ease}.k-slideout .panel .content[data-v-19db8b36]{height:100%;overflow:auto;-ms-overflow-style:none;scrollbar-width:none}.k-slideout .panel .content[data-v-19db8b36]::-webkit-scrollbar{display:none}@keyframes slide{0%{transform:translate(100%)}to{transform:translate(0)}}.k-slideout .slide-enter-active{animation:slide .3s cubic-bezier(1,.5,.8,1)}.k-slideout .slide-leave-active{animation:slide .3s ease reverse}.k-slideout .fade-enter-active,.k-slideout .fade-leave-active{transition:opacity .5s}.k-slideout .fade-enter,.k-slideout .fade-leave-to{opacity:0}.k-step-state-icon circle[data-v-3ef7acf2]{stroke:var(--teal-300);stroke:var(--KStepActiveColor, var(--teal-300))}.k-step-state-icon .k-step-icon-primary[data-v-713fc4ad]{fill:var(--teal-300);fill:var(--KStepCompletedColor, var(--teal-300))}.k-step-state-icon .k-step-icon-secondary[data-v-713fc4ad]{stroke:var(--white);stroke:var(--KStepCompletedSecondaryColor, var(--white))}.k-step-state-icon circle[data-v-f28650fe]{stroke:var(--grey-300);stroke:var(--KStepDefaultColor, var(--grey-300))}.k-step-state-icon .k-step-icon-primary[data-v-8359bd4e]{fill:var(--red-500);fill:var(--KStepErrorColor, var(--red-500))}.k-step-state-icon .k-step-icon-secondary[data-v-8359bd4e]{fill:var(--white);fill:var(--KStepErrorSecondaryColor, var(--white))}.k-step-spinner>svg[data-v-0acc505c]{animation:rotate-0acc505c 2s linear infinite}.k-step-spinner>svg circle[data-v-0acc505c]{stroke:var(--teal-300);stroke:var(--KStepPendingColor, var(--teal-300));stroke-linecap:round;animation:dash-0acc505c 1.5s ease-in-out infinite}@keyframes rotate-0acc505c{to{transform:rotate(360deg)}}@keyframes dash-0acc505c{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.k-step-state[data-v-2f817e2a]{background:var(--white);background:var(--KStepBackgroundColor, var(--white));z-index:1}.k-step-state .k-step-state-icon{height:24px;height:var(--KStepIconSize, 24px);width:24px;width:var(--KStepIconSize, 24px)}.k-step[data-v-3e394724]{display:list-item;padding:var(--spacing-sm) 0;flex:1 1 0%}.k-step:last-child>.k-step-container[data-v-3e394724]:after{display:none}.k-step .k-step-container[data-v-3e394724]{display:flex;margin:auto;flex-direction:column;align-items:center;padding-bottom:var(--spacing-xxs);position:relative}.k-step .k-step-container .k-step-label[data-v-3e394724]{--KInputLabelColor: var(--grey-500);--KInputLabelSize: var(--type-md);--KInputLabelWeight: 500;min-width:100px;text-align:center;padding-top:var(--spacing-sm)}.k-step .k-step-container .k-step-label.bolder[data-v-3e394724]{--KInputLabelWeight: 600;--KInputLabelColor: var(--black-500)}.k-step .k-step-container[data-v-3e394724]:after{content:"";height:2px;width:100%;position:absolute;top:12px;top:calc(var(--KStepIconSize, 24px) / 2);left:50%;z-index:0;background-color:var(--grey-300);background-color:var(--KStepDividerColorDefault, var(--grey-300))}.k-step .k-step-container.completed[data-v-3e394724]:after{background-color:var(--teal-300);background-color:var(--KStepDividerColorCompleted, var(--teal-300))}.k-step .k-step-label.error .k-input-label{color:var(--red-500)}.k-stepper[data-v-1fd94614]{list-style:none;padding-inline-start:0px;width:100%;max-width:100%;overflow-x:auto;display:flex;position:relative}.k-table-wrapper[data-v-4f741344]{width:100%;overflow:auto}.k-table-toolbar[data-v-4f741344]>*{display:flex}.k-table[data-v-4f741344]{width:100%;max-width:100%;margin-top:0;border-collapse:collapse}.k-table th[data-v-4f741344],.k-table td[data-v-4f741344]{padding:12px 16px;padding:var(--spacing-sm, 12px) var(--spacing-md, 16px);vertical-align:middle;white-space:nowrap}.k-table thead[data-v-4f741344]{height:60px;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #f1f1f5;border-bottom:1px solid var(--KTableBorder, var(--grey-200, #f1f1f5))}.k-table thead.is-scrolled[data-v-4f741344]{border-bottom:none}.k-table thead tr[data-v-4f741344]{position:relative}.k-table thead tr[data-v-4f741344]:after{opacity:0;transition:opacity .2s ease-in-out;content:"";position:absolute;z-index:-1;width:100%;height:100%;box-shadow:none;left:0;pointer-events:none}.k-table thead tr.is-scrolled[data-v-4f741344]{border-bottom:none}.k-table thead tr.is-scrolled[data-v-4f741344]:after{box-shadow:0 .2px .6px #00000008,0 .6px 1.8px #0000000b,0 1.5px 4.2px #0000000f,0 5px 14px #00000017;opacity:1;transition:opacity .2s ease-in-out}.k-table thead th[data-v-4f741344]{padding:12px 16px;padding:var(--spacing-sm, 12px) var(--spacing-md, 16px);text-align:left;font-size:14px;font-size:var(--KTableHeaderSize, var(--type-sm, 14px));font-weight:600}.k-table thead th.active-sort[data-v-4f741344]{color:var(--blue-500)}.k-table thead th .sr-only[data-v-4f741344]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.k-table thead th.sortable[data-v-4f741344]{cursor:pointer}.k-table tbody tr[data-v-4f741344]{height:44px}.k-table tbody tr[data-v-4f741344]:not(:last-of-type){border-bottom:1px solid #f1f1f5;border-bottom:1px solid var(--KTableBorder, var(--grey-200, #f1f1f5))}.k-table tbody td[data-v-4f741344]{color:#000000b3;color:var(--KTableColor, var(--black-70, rgba(0, 0, 0, .7)));white-space:nowrap}.k-table tbody td a[data-v-4f741344]{color:#1155cb;color:var(--blue-500, #1155cb);text-decoration:none}.k-table tbody td a[data-v-4f741344]:hover{text-decoration:underline}.k-table.has-hover tbody tr[data-v-4f741344]:hover{background-color:#f2f6fe;background-color:var(--KTableHover, var(--blue-100, #f2f6fe))}.k-table.is-clickable[data-v-4f741344]{user-select:none}.k-table.is-clickable tbody tr[data-v-4f741344]{cursor:pointer}.k-table.side-border[data-v-4f741344]{border-collapse:separate;border-spacing:0 2px}.k-table.side-border tbody tr[data-v-4f741344]{border-bottom:none}.k-table.side-border tbody tr td[data-v-4f741344]:first-child{border-left:3px solid #dae3f2;border-left:3px solid var(--KTableBorder, var(--steel-200, #dae3f2))}.k-table.side-border.has-hover tbody tr:hover td[data-v-4f741344]:first-child{border-left:3px solid #a3b6d9;border-left:3px solid var(--KTableBorder, var(--steel-300, #a3b6d9))}.k-table thead th .caret{top:2px;position:relative;transform:rotate(0)}.k-table thead th.sortable.asc .caret{transform:rotate(-180deg)}.k-table tbody td button,.k-table tbody td .k-button{margin-top:calc(-1 * var(--spacing-xs));margin-top:calc(-1 * var(--KButtonPaddingY, var(--spacing-xs)));margin-bottom:calc(-1 * var(--spacing-xs));margin-bottom:calc(-1 * var(--KButtonPaddingY, var(--spacing-xs)))}.k-tabs ul[data-v-b0b5f6ae]{display:flex;margin-bottom:16px;margin-bottom:var(--spacing-md, 16px);padding-left:0;list-style:none;font-size:18px;line-height:20px;border-bottom:2px solid #e7e7ec;border-bottom:2px solid var(--KTabsBottomBorderColor, var(--grey-300, #e7e7ec))}.k-tabs ul .tab-item[data-v-b0b5f6ae]{position:relative;padding:16px;padding:var(--spacing-md, 16px);cursor:pointer}.k-tabs ul .tab-item[data-v-b0b5f6ae]:not(:first-of-type){margin-left:8px;margin-left:var(--spacing-xs, 8px)}.k-tabs ul .tab-item[data-v-b0b5f6ae]:not(:last-of-type){margin-right:8px;margin-right:var(--spacing-xs, 8px)}.k-tabs ul .tab-item[data-v-b0b5f6ae]:after{position:absolute;bottom:-2px;left:0;width:100%;height:2px;display:block;content:""}.k-tabs ul .tab-item.active[data-v-b0b5f6ae],.k-tabs ul .tab-item[data-v-b0b5f6ae]:hover{border-bottom:4px solid #169fcc;border-bottom:4px solid var(--KTabBottomBorderColor, var(--teal-300, #169fcc))}.k-tabs ul .tab-item.active .tab-link[data-v-b0b5f6ae],.k-tabs ul .tab-item:hover .tab-link[data-v-b0b5f6ae]{color:#0b172d;color:var(--KTabsActiveColor, var(--black-500, #0b172d))}.k-tabs ul .tab-link[data-v-b0b5f6ae]{display:block;color:#00000073;color:var(--KTabsColor, var(--black-45, rgba(0, 0, 0, .45)))}.k-tabs ul .tab-link[data-v-b0b5f6ae]:hover{text-decoration:none;border:none}.k-input-wrapper[data-v-45bc9006]{display:grid;width:fit-content}.k-input-wrapper textarea.k-input[data-v-45bc9006]{-webkit-appearance:none}.k-input-wrapper textarea.form-control[data-v-45bc9006]{font-family:var(--font-family-sans);resize:none}.k-input-wrapper textarea.form-control[data-v-45bc9006]::placeholder{color:#6f7787;color:var(--KInputPlaceholderColor, var(--grey-500, #6f7787))}.k-input-wrapper textarea.form-control[data-v-45bc9006]:hover{color:var(--grey-600)}.k-input-wrapper textarea.form-control[data-v-45bc9006]:hover::placeholder{color:#3c4557;color:var(--KInputPlaceholderColor, var(--grey-600, #3c4557))}.k-input-wrapper textarea.form-control[data-v-45bc9006]:focus::placeholder{color:transparent}.k-input-wrapper .char-limit[data-v-45bc9006]{margin-left:auto}.k-input-wrapper .over-char-limit[data-v-45bc9006]{color:var(--red-600)}.k-input-wrapper .text-on-input label.hovered[data-v-45bc9006],.k-input-wrapper .text-on-input label[data-v-45bc9006]:hover{color:var(--blue-500);color:var(--KInputHover, var(--blue-500))}/*! KONGPONENTS_STYLES */.type-xxxl[data-v-32434ea8]{font-size:32px;font-size:var(--type-xxxl)}.type-xxl[data-v-32434ea8]{font-size:28px;font-size:var(--type-xxl)}.type-xl[data-v-32434ea8]{font-size:22px;font-size:var(--type-xl)}.type-lg[data-v-32434ea8]{font-size:18px;font-size:var(--type-lg)}.type-md[data-v-32434ea8]{font-size:16px;font-size:var(--type-md)}.type-sm[data-v-32434ea8]{font-size:14px;font-size:var(--type-sm)}.type-xs[data-v-32434ea8]{font-size:12px;font-size:var(--type-xs)}.type-xxs[data-v-32434ea8]{font-size:10px;font-size:var(--type-xxs)}.mono[data-v-32434ea8]{font-family:monospace;font-family:var(--font-family-mono)}.mono.type-xxxl[data-v-32434ea8]{font-size:30.4px;font-size:calc(var(--type-xxxl) * .95)}.mono.type-xxl[data-v-32434ea8]{font-size:calc(28px * .95);font-size:calc(var(--type-xxl) * .95)}.mono.type-xl[data-v-32434ea8]{font-size:20.9px;font-size:calc(var(--type-xl) * .95)}.mono.type-lg[data-v-32434ea8]{font-size:calc(18px * .95);font-size:calc(var(--type-lg) * .95)}.mono.type-md[data-v-32434ea8]{font-size:15.2px;font-size:calc(var(--type-md) * .95)}.mono.type-sm[data-v-32434ea8]{font-size:calc(14px * .95);font-size:calc(var(--type-sm) * .95)}.mono.type-xs[data-v-32434ea8]{font-size:calc(12px * .95);font-size:calc(var(--type-xs) * .95)}.mono.type-xxs[data-v-32434ea8]{font-size:9.5px;font-size:calc(var(--type-xxs) * .95)}.color-blue-100[data-v-32434ea8]{color:#f2f6fe;color:var(--blue-100)}.color-blue-200[data-v-32434ea8]{color:#bdd3f9;color:var(--blue-200)}.color-blue-300[data-v-32434ea8]{color:#8ab3fa;color:var(--blue-300)}.color-blue-400[data-v-32434ea8]{color:#3972d5;color:var(--blue-400)}.color-blue-500[data-v-32434ea8]{color:#1155cb;color:var(--blue-500)}.color-blue-600[data-v-32434ea8]{color:#003694;color:var(--blue-600)}.color-blue-700[data-v-32434ea8]{color:#0a2b66;color:var(--blue-700)}.color-petrol-100[data-v-32434ea8]{color:#eaf4fb;color:var(--petrol-100)}.color-petrol-200[data-v-32434ea8]{color:#0364ac;color:var(--petrol-200)}.color-purple-100[data-v-32434ea8]{color:#d7d8fe;color:var(--purple-100)}.color-purple-200[data-v-32434ea8]{color:#bec0fd;color:var(--purple-200)}.color-purple-300[data-v-32434ea8]{color:#9396fc;color:var(--purple-300)}.color-purple-400[data-v-32434ea8]{color:#473cfb;color:var(--purple-400)}.color-steel-100[data-v-32434ea8]{color:#f0f4fa;color:var(--steel-100)}.color-steel-200[data-v-32434ea8]{color:#dae3f2;color:var(--steel-200)}.color-steel-300[data-v-32434ea8]{color:#a3b6d9;color:var(--steel-300)}.color-steel-400[data-v-32434ea8]{color:#7d91b3;color:var(--steel-400)}.color-steel-500[data-v-32434ea8]{color:#5c7299;color:var(--steel-500)}.color-steel-600[data-v-32434ea8]{color:#395380;color:var(--steel-600)}.color-steel-700[data-v-32434ea8]{color:#273c61;color:var(--steel-700)}.color-red-100[data-v-32434ea8]{color:#ffdede;color:var(--red-100)}.color-red-200[data-v-32434ea8]{color:#fcc;color:var(--red-200)}.color-red-300[data-v-32434ea8]{color:#ff9a99;color:var(--red-300)}.color-red-400[data-v-32434ea8]{color:#ff7877;color:var(--red-400)}.color-red-500[data-v-32434ea8]{color:#d44324;color:var(--red-500)}.color-red-600[data-v-32434ea8]{color:#e50000;color:var(--red-600)}.color-red-700[data-v-32434ea8]{color:#922021;color:var(--red-700)}.color-green-100[data-v-32434ea8]{color:#e8f8f5;color:var(--green-100)}.color-green-200[data-v-32434ea8]{color:#c0f2d5;color:var(--green-200)}.color-green-300[data-v-32434ea8]{color:#84e5ae;color:var(--green-300)}.color-green-400[data-v-32434ea8]{color:#42d782;color:var(--green-400)}.color-green-500[data-v-32434ea8]{color:#07a88d;color:var(--green-500)}.color-green-600[data-v-32434ea8]{color:#008871;color:var(--green-600)}.color-green-700[data-v-32434ea8]{color:#13755e;color:var(--green-700)}.color-teal-100[data-v-32434ea8]{color:#cdf1fe;color:var(--teal-100)}.color-teal-200[data-v-32434ea8]{color:#91e1fc;color:var(--teal-200)}.color-teal-300[data-v-32434ea8]{color:#169fcc;color:var(--teal-300)}.color-teal-400[data-v-32434ea8]{color:#0a7fae;color:var(--teal-400)}.color-teal-500[data-v-32434ea8]{color:#006e9d;color:var(--teal-500)}.color-yellow-100[data-v-32434ea8]{color:#fff3d8;color:var(--yellow-100)}.color-yellow-200[data-v-32434ea8]{color:#ffe6ba;color:var(--yellow-200)}.color-yellow-300[data-v-32434ea8]{color:#ffd68c;color:var(--yellow-300)}.color-yellow-400[data-v-32434ea8]{color:#fabe5f;color:var(--yellow-400)}.color-yellow-500[data-v-32434ea8]{color:#c67c06;color:var(--yellow-500)}.color-yellow-600[data-v-32434ea8]{color:#a05604;color:var(--yellow-600)}.color-grey-100[data-v-32434ea8]{color:#f8f8fa;color:var(--grey-100)}.color-grey-200[data-v-32434ea8]{color:#f1f1f5;color:var(--grey-200)}.color-grey-300[data-v-32434ea8]{color:#e7e7ec;color:var(--grey-300)}.color-grey-400[data-v-32434ea8]{color:#b6b6bd;color:var(--grey-400)}.color-grey-500[data-v-32434ea8]{color:#6f7787;color:var(--grey-500)}.color-grey-600[data-v-32434ea8]{color:#3c4557;color:var(--grey-600)}.color-black-85[data-v-32434ea8]{color:#000000d9;color:var(--black-85)}.color-black-70[data-v-32434ea8]{color:#000000b3;color:var(--black-70)}.color-black-45[data-v-32434ea8]{color:#00000073;color:var(--black-45)}.color-black-25[data-v-32434ea8]{color:#00000040;color:var(--black-25)}.color-black-10[data-v-32434ea8]{color:#0000001a;color:var(--black-10)}.color-black-100[data-v-32434ea8]{color:#dfdfdf;color:var(--black-100)}.color-black-200[data-v-32434ea8]{color:#b1b2b1;color:var(--black-200)}.color-black-300[data-v-32434ea8]{color:#6f7787;color:var(--black-300)}.color-black-400[data-v-32434ea8]{color:#3c4557;color:var(--black-400)}.color-black-500[data-v-32434ea8]{color:#0b172d;color:var(--black-500)}.color-white[data-v-32434ea8]{color:#fff;color:var(--white)}.style-heading-1[data-v-32434ea8]{font-size:32px!important;line-height:36px!important;font-weight:400!important}.style-heading-2[data-v-32434ea8]{font-size:20px!important;line-height:24px!important;font-weight:400!important}.style-heading-3[data-v-32434ea8]{font-size:16px!important;line-height:24px!important;font-weight:400!important}.style-heading-4[data-v-32434ea8]{font-size:14px!important;line-height:20px!important;font-weight:400!important}.style-body-lg[data-v-32434ea8]{font-size:16px!important;line-height:24px!important;font-weight:300!important}.style-body-lg-bold[data-v-32434ea8]{font-size:16px!important;line-height:24px!important;font-weight:400!important}.style-body-md[data-v-32434ea8]{font-size:13px!important;line-height:20px!important;font-weight:400!important}.style-body-md-bold[data-v-32434ea8]{font-size:13px!important;line-height:24px!important;font-weight:400!important}.style-body-sm[data-v-32434ea8],.style-body-sm-bold[data-v-32434ea8]{font-size:12px!important;line-height:16px!important;font-weight:400!important}.style-body-tiny[data-v-32434ea8]{font-size:11px!important;line-height:16px!important;font-weight:300!important}.style-body-link[data-v-32434ea8]{font-size:13px!important;line-height:20px!important;font-weight:400!important}.style-body-bc[data-v-32434ea8]{font-size:12px!important;line-height:24px!important;font-weight:400!important;text-transform:uppercase!important}.style-body-code[data-v-32434ea8]{font-size:13px!important;line-height:24px!important;font-weight:100!important}.mx-auto[data-v-32434ea8]{margin-left:auto!important;margin-right:auto!important}.my-auto[data-v-32434ea8]{margin-top:auto!important;margin-bottom:auto!important}.ma-auto[data-v-32434ea8]{margin:auto!important}.mx-0[data-v-32434ea8]{margin-left:0!important;margin-right:0!important}.my-0[data-v-32434ea8]{margin-top:0!important;margin-bottom:0!important}.ma-0[data-v-32434ea8]{margin:0!important}.px-auto[data-v-32434ea8]{padding-left:auto!important;padding-right:auto!important}.py-auto[data-v-32434ea8]{padding-top:auto!important;padding-bottom:auto!important}.pa-auto[data-v-32434ea8]{padding-left:auto!important;padding-right:auto!important;padding-top:auto!important;padding-bottom:auto!important}.px-0[data-v-32434ea8]{padding-left:0!important;padding-right:0!important}.py-0[data-v-32434ea8]{padding-top:0!important;padding-bottom:0!important}.pa-0[data-v-32434ea8]{padding:0!important}.mt-auto[data-v-32434ea8]{margin-top:auto!important}.mt-0[data-v-32434ea8]{margin-top:0!important}.mr-auto[data-v-32434ea8]{margin-right:auto!important}.mr-0[data-v-32434ea8]{margin-right:0!important}.mb-auto[data-v-32434ea8]{margin-bottom:auto!important}.mb-0[data-v-32434ea8]{margin-bottom:0!important}.ml-auto[data-v-32434ea8]{margin-left:auto!important}.ml-0[data-v-32434ea8]{margin-left:0!important}.mt-1[data-v-32434ea8]{margin-top:4px!important}.mr-1[data-v-32434ea8]{margin-right:4px!important}.mb-1[data-v-32434ea8]{margin-bottom:4px!important}.ml-1[data-v-32434ea8]{margin-left:4px!important}.mx-1[data-v-32434ea8]{margin-left:4px!important;margin-right:4px!important}.my-1[data-v-32434ea8]{margin-top:4px!important;margin-bottom:4px!important}.ma-1[data-v-32434ea8]{margin:4px!important}.mt-2[data-v-32434ea8]{margin-top:8px!important}.mr-2[data-v-32434ea8]{margin-right:8px!important}.mb-2[data-v-32434ea8]{margin-bottom:8px!important}.ml-2[data-v-32434ea8]{margin-left:8px!important}.mx-2[data-v-32434ea8]{margin-left:8px!important;margin-right:8px!important}.my-2[data-v-32434ea8]{margin-top:8px!important;margin-bottom:8px!important}.ma-2[data-v-32434ea8]{margin:8px!important}.mt-3[data-v-32434ea8]{margin-top:12px!important}.mr-3[data-v-32434ea8]{margin-right:12px!important}.mb-3[data-v-32434ea8]{margin-bottom:12px!important}.ml-3[data-v-32434ea8]{margin-left:12px!important}.mx-3[data-v-32434ea8]{margin-left:12px!important;margin-right:12px!important}.my-3[data-v-32434ea8]{margin-top:12px!important;margin-bottom:12px!important}.ma-3[data-v-32434ea8]{margin:12px!important}.mt-4[data-v-32434ea8]{margin-top:16px!important}.mr-4[data-v-32434ea8]{margin-right:16px!important}.mb-4[data-v-32434ea8]{margin-bottom:16px!important}.ml-4[data-v-32434ea8]{margin-left:16px!important}.mx-4[data-v-32434ea8]{margin-left:16px!important;margin-right:16px!important}.my-4[data-v-32434ea8]{margin-top:16px!important;margin-bottom:16px!important}.ma-4[data-v-32434ea8]{margin:16px!important}.mt-5[data-v-32434ea8]{margin-top:24px!important}.mr-5[data-v-32434ea8]{margin-right:24px!important}.mb-5[data-v-32434ea8]{margin-bottom:24px!important}.ml-5[data-v-32434ea8]{margin-left:24px!important}.mx-5[data-v-32434ea8]{margin-left:24px!important;margin-right:24px!important}.my-5[data-v-32434ea8]{margin-top:24px!important;margin-bottom:24px!important}.ma-5[data-v-32434ea8]{margin:24px!important}.mt-6[data-v-32434ea8]{margin-top:32px!important}.mr-6[data-v-32434ea8]{margin-right:32px!important}.mb-6[data-v-32434ea8]{margin-bottom:32px!important}.ml-6[data-v-32434ea8]{margin-left:32px!important}.mx-6[data-v-32434ea8]{margin-left:32px!important;margin-right:32px!important}.my-6[data-v-32434ea8]{margin-top:32px!important;margin-bottom:32px!important}.ma-6[data-v-32434ea8]{margin:32px!important}.mt-7[data-v-32434ea8]{margin-top:48px!important}.mr-7[data-v-32434ea8]{margin-right:48px!important}.mb-7[data-v-32434ea8]{margin-bottom:48px!important}.ml-7[data-v-32434ea8]{margin-left:48px!important}.mx-7[data-v-32434ea8]{margin-left:48px!important;margin-right:48px!important}.my-7[data-v-32434ea8]{margin-top:48px!important;margin-bottom:48px!important}.ma-7[data-v-32434ea8]{margin:48px!important}.mt-8[data-v-32434ea8]{margin-top:64px!important}.mr-8[data-v-32434ea8]{margin-right:64px!important}.mb-8[data-v-32434ea8]{margin-bottom:64px!important}.ml-8[data-v-32434ea8]{margin-left:64px!important}.mx-8[data-v-32434ea8]{margin-left:64px!important;margin-right:64px!important}.my-8[data-v-32434ea8]{margin-top:64px!important;margin-bottom:64px!important}.ma-8[data-v-32434ea8]{margin:64px!important}.pt-0[data-v-32434ea8]{padding-top:0!important}.pr-0[data-v-32434ea8]{padding-right:0!important}.pb-0[data-v-32434ea8]{padding-bottom:0!important}.pl-0[data-v-32434ea8]{padding-left:0!important}.pt-1[data-v-32434ea8]{padding-top:4px!important}.pr-1[data-v-32434ea8]{padding-right:4px!important}.pb-1[data-v-32434ea8]{padding-bottom:4px!important}.pl-1[data-v-32434ea8]{padding-left:4px!important}.px-1[data-v-32434ea8]{padding-left:4px!important;padding-right:4px!important}.py-1[data-v-32434ea8]{padding-top:4px!important;padding-bottom:4px!important}.pa-1[data-v-32434ea8]{padding:4px!important}.pt-2[data-v-32434ea8]{padding-top:8px!important}.pr-2[data-v-32434ea8]{padding-right:8px!important}.pb-2[data-v-32434ea8]{padding-bottom:8px!important}.pl-2[data-v-32434ea8]{padding-left:8px!important}.px-2[data-v-32434ea8]{padding-left:8px!important;padding-right:8px!important}.py-2[data-v-32434ea8]{padding-top:8px!important;padding-bottom:8px!important}.pa-2[data-v-32434ea8]{padding:8px!important}.pt-3[data-v-32434ea8]{padding-top:12px!important}.pr-3[data-v-32434ea8]{padding-right:12px!important}.pb-3[data-v-32434ea8]{padding-bottom:12px!important}.pl-3[data-v-32434ea8]{padding-left:12px!important}.px-3[data-v-32434ea8]{padding-left:12px!important;padding-right:12px!important}.py-3[data-v-32434ea8]{padding-top:12px!important;padding-bottom:12px!important}.pa-3[data-v-32434ea8]{padding:12px!important}.pt-4[data-v-32434ea8]{padding-top:16px!important}.pr-4[data-v-32434ea8]{padding-right:16px!important}.pb-4[data-v-32434ea8]{padding-bottom:16px!important}.pl-4[data-v-32434ea8]{padding-left:16px!important}.px-4[data-v-32434ea8]{padding-left:16px!important;padding-right:16px!important}.py-4[data-v-32434ea8]{padding-top:16px!important;padding-bottom:16px!important}.pa-4[data-v-32434ea8]{padding:16px!important}.pt-5[data-v-32434ea8]{padding-top:24px!important}.pr-5[data-v-32434ea8]{padding-right:24px!important}.pb-5[data-v-32434ea8]{padding-bottom:24px!important}.pl-5[data-v-32434ea8]{padding-left:24px!important}.px-5[data-v-32434ea8]{padding-left:24px!important;padding-right:24px!important}.py-5[data-v-32434ea8]{padding-top:24px!important;padding-bottom:24px!important}.pa-5[data-v-32434ea8]{padding:24px!important}.pt-6[data-v-32434ea8]{padding-top:32px!important}.pr-6[data-v-32434ea8]{padding-right:32px!important}.pb-6[data-v-32434ea8]{padding-bottom:32px!important}.pl-6[data-v-32434ea8]{padding-left:32px!important}.px-6[data-v-32434ea8]{padding-left:32px!important;padding-right:32px!important}.py-6[data-v-32434ea8]{padding-top:32px!important;padding-bottom:32px!important}.pa-6[data-v-32434ea8]{padding:32px!important}.pt-7[data-v-32434ea8]{padding-top:48px!important}.pr-7[data-v-32434ea8]{padding-right:48px!important}.pb-7[data-v-32434ea8]{padding-bottom:48px!important}.pl-7[data-v-32434ea8]{padding-left:48px!important}.px-7[data-v-32434ea8]{padding-left:48px!important;padding-right:48px!important}.py-7[data-v-32434ea8]{padding-top:48px!important;padding-bottom:48px!important}.pa-7[data-v-32434ea8]{padding:48px!important}.pt-8[data-v-32434ea8]{padding-top:64px!important}.pr-8[data-v-32434ea8]{padding-right:64px!important}.pb-8[data-v-32434ea8]{padding-bottom:64px!important}.pl-8[data-v-32434ea8]{padding-left:64px!important}.px-8[data-v-32434ea8]{padding-left:64px!important;padding-right:64px!important}.py-8[data-v-32434ea8]{padding-top:64px!important;padding-bottom:64px!important}.pa-8[data-v-32434ea8]{padding:64px!important}.float-left[data-v-32434ea8]{float:left!important}.float-right[data-v-32434ea8]{float:right!important}.float-none[data-v-32434ea8]{float:none!important}.truncate[data-v-32434ea8]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.multi-line-truncation[data-v-32434ea8]{display:-webkit-box;-webkit-line-clamp:3;-webkit-line-clamp:var(--TMaxLineLimit, 3);-webkit-box-orient:vertical;overflow:hidden}.truncate-multi[data-v-32434ea8]{line-height:24px;line-height:var(--TLineHeight, 24px);font-size:16px;font-size:var(--TFontSize, 16px);position:relative;max-height:120px;max-height:calc(var(--TLineHeight, 24px) * var(--TMaxLines, 5));overflow:hidden;padding-right:100px!important;padding-right:calc(var(--TPosRight, 12px) * var(--TPadRight, 8) + 4px)!important}.truncate-multi .truncate-multi[data-v-32434ea8]:before{position:absolute;content:"...";top:104px;top:calc(var(--TLineHeight, 24px) * (var(--TMaxLines, 5) - 1) + var(--TFontSize, 16px) * .5);right:12px;right:var(--TPosRight, 12px)}.capitalize[data-v-32434ea8]{text-transform:capitalize!important}.lowercase[data-v-32434ea8]{text-transform:lowercase!important}.uppercase[data-v-32434ea8]{text-transform:uppercase!important}.bold-500[data-v-32434ea8]{font-weight:500!important}.bold-600[data-v-32434ea8]{font-weight:600!important}.bold-700[data-v-32434ea8]{font-weight:700!important}.d-none[data-v-32434ea8]{display:none!important}.d-inline[data-v-32434ea8]{display:inline!important}.d-inline-block[data-v-32434ea8]{display:inline-block!important}.d-block[data-v-32434ea8]{display:block!important}.d-flex[data-v-32434ea8]{display:flex!important}.d-inline-flex[data-v-32434ea8]{display:inline-flex!important}.flex-fill[data-v-32434ea8]{flex:1 1 auto!important}.flex-row[data-v-32434ea8]{flex-direction:row!important}.flex-column[data-v-32434ea8]{flex-direction:column!important}.flex-row-reverse[data-v-32434ea8]{flex-direction:row-reverse!important}.flex-column-reverse[data-v-32434ea8]{flex-direction:column-reverse!important}.flex-grow-0[data-v-32434ea8]{flex-grow:0!important}.flex-grow-1[data-v-32434ea8]{flex-grow:1!important}.justify-content-start[data-v-32434ea8]{justify-content:flex-start!important}.justify-content-end[data-v-32434ea8]{justify-content:flex-end!important}.justify-content-center[data-v-32434ea8]{justify-content:center!important}.justify-content-between[data-v-32434ea8]{justify-content:space-between!important}.justify-content-around[data-v-32434ea8]{justify-content:space-around!important}.align-items-start[data-v-32434ea8]{align-items:flex-start!important}.align-items-end[data-v-32434ea8]{align-items:flex-end!important}.align-items-center[data-v-32434ea8]{align-items:center!important}.align-items-baseline[data-v-32434ea8]{align-items:baseline!important}.align-items-stretch[data-v-32434ea8]{align-items:stretch!important}.align-content-start[data-v-32434ea8]{align-content:flex-start!important}.align-content-end[data-v-32434ea8]{align-content:flex-end!important}.align-content-center[data-v-32434ea8]{align-content:center!important}.align-content-between[data-v-32434ea8]{align-content:space-between!important}.align-content-around[data-v-32434ea8]{align-content:space-around!important}.align-content-stretch[data-v-32434ea8]{align-content:stretch!important}.align-self-auto[data-v-32434ea8]{align-self:auto!important}.align-self-start[data-v-32434ea8]{align-self:flex-start!important}.align-self-end[data-v-32434ea8]{align-self:flex-end!important}.align-self-center[data-v-32434ea8]{align-self:center!important}.align-self-baseline[data-v-32434ea8]{align-self:baseline!important}.align-self-stretch[data-v-32434ea8]{align-self:stretch!important}.cursor-pointer[data-v-32434ea8]{cursor:pointer!important}.overflow-auto[data-v-32434ea8]{overflow:auto}.overflow-hidden[data-v-32434ea8]{overflow:hidden}.w-25[data-v-32434ea8]{width:25%!important}.w-50[data-v-32434ea8]{width:50%!important}.w-75[data-v-32434ea8]{width:75%!important}.w-100[data-v-32434ea8]{width:100%!important}.w-auto[data-v-32434ea8]{width:auto!important}.h-100[data-v-32434ea8]{height:100%!important}.h-auto[data-v-32434ea8]{height:auto!important}.h-screen[data-v-32434ea8]{min-height:100vh!important}.non-visual-button[data-v-32434ea8],.non-visual-button[data-v-32434ea8]:focus,.non-visual-button[data-v-32434ea8]:hover{background-color:transparent!important;border:none!important;cursor:pointer!important;font-weight:400!important}@keyframes spin-32434ea8{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.k-visually-hidden[data-v-32434ea8]{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.form-group[data-v-32434ea8]{display:block;width:100%;margin-bottom:24px;margin-bottom:var(--lg, 24px)}.form-group hr[data-v-32434ea8]{border-color:#e7e7ec;border-color:var(--KInputBorder, var(--grey-300, ));margin:32px 0;margin:var(--xl, 32px) 0}.k-input+.help[data-v-32434ea8],.k-input-wrapper+.help[data-v-32434ea8]{display:block;margin:8px 0 0;margin:var(--spacing-xs, 8px) 0 0;font-size:14px;font-size:var(--type-sm, 14px);color:#00000073;color:var(--black-45, rgba(0, 0, 0, .45))}.k-input-label[data-v-32434ea8]{display:inline-block;color:#000000d9;color:var(--KInputLabelColor, var(--black-85));font-weight:600;font-weight:var(--KInputLabelWeight, 600);font-family:sans-serif;font-family:var(--KInputLabelFont, var(--font-family-sans, sans-serif));font-size:14px;font-size:var(--KInputLabelSize, var(--type-sm, 14px));line-height:18px;line-height:var(--KInputLabelLineHeight, var(--type-lg, 18px));margin-bottom:8px;margin-bottom:var(--KInputLabelMargin, var(--spacing-xs, 8px))}.k-input-label .label-tooltip[data-v-32434ea8]{display:flex;align-items:center}.k-input-label .kong-icon[data-v-32434ea8]{margin-left:4px;margin-left:var(--spacing-xxs)}.k-inputCheckbox.k-input-label[data-v-32434ea8],.k-inputRadio.k-input-label[data-v-32434ea8]{color:#000000b3;color:var(--KInputCheckboxLabel, var(--black-70, rgba(0, 0, 0, .7)));font-size:16px;font-size:var(--KInputCheckboxLabelSize, var(--type-md, 16px));font-weight:400;font-family:sans-serif;font-family:var(--KInputCheckboxLabelFont, var(--font-family-sans, sans-serif));margin-bottom:0}.k-input-wrapper .text-on-input[data-v-32434ea8]{position:relative}.k-input-wrapper .text-on-input .hovered[data-v-32434ea8]:not(.readonly){color:#1155cb;color:var(--KInputHover, var(--blue-500));transition:color .1s ease}.k-input-wrapper .text-on-input .focused[data-v-32434ea8]:not(.readonly){color:#1155cb;color:var(--KInputFocus, var(--blue-500));transition:color .1s ease}.k-input-wrapper .text-on-input label.hovered[data-v-32434ea8]:not(.readonly){color:#1155cb;color:var(--KInputHover, var(--blue-500));transition:color .1s ease}.k-input-wrapper .text-on-input label.focused[data-v-32434ea8]:not(.readonly){color:#1155cb;color:var(--KInputFocus, var(--blue-500));transition:color .1s ease}.k-input-wrapper .text-on-input label.disabled[data-v-32434ea8]{color:#6f7787;color:var(--grey-500)}.k-input-wrapper .text-on-input label[data-v-32434ea8]{position:absolute;top:-8px;left:13px;width:auto;padding:2px 4px;z-index:1;font-size:11px;font-weight:500;color:#3c4557;color:var(--KInputBorder, var(--grey-600));background-color:#fff;background-color:var(--KInputBackground, var(--white));display:inline-block;margin-bottom:.5rem;transition:color .1s ease}.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio]),.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio]){display:block;width:100%;padding:10px 16px;padding:10px var(--spacing-md, 16px);color:#000000b3;color:var(--KInputColor, var(--black-70, rgba(0, 0, 0, .7)));font-size:16px;font-size:var(--type-md, 16px);font-weight:400;line-height:24px;border:none;border-radius:3px;box-sizing:border-box;background-color:#fff;background-color:var(--KInputBackground, var(--white, #ffffff));box-shadow:inset 0 0 0 1px #e7e7ec!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:color .1s ease,box-shadow .1s ease}.k-input:not([type=checkbox]):not([type=radio]).k-input-small[data-v-32434ea8],.form-control:not([type=checkbox]):not([type=radio]).k-input-small[data-v-32434ea8]{font-size:12px;font-size:var(--type-xs, 12px);padding:8px 12px;padding:var(--spacing-xs, 8px) var(--spacing-sm, 12px)}.k-input:not([type=checkbox]):not([type=radio]).k-input-large[data-v-32434ea8],.form-control:not([type=checkbox]):not([type=radio]).k-input-large[data-v-32434ea8]{font-size:16px;font-size:var(--type-md, 16px);padding:16px 24px;padding:var(--spacing-md, 16px) var(--spacing-lg, 24px)}.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):hover,.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):hover{box-shadow:inset 0 0 0 1px #bdd3f9!important;box-shadow:inset 0 0 0 1px var(--KInputHover, var(--blue-200))!important;transition:all .1s ease}.k-input:not([type=checkbox]):not([type=radio]):hover.k-input-large[data-v-32434ea8],.form-control:not([type=checkbox]):not([type=radio]):hover.k-input-large[data-v-32434ea8]{box-shadow:inset 0 0 0 2px #bdd3f9!important;box-shadow:inset 0 0 0 2px var(--KInputHover, var(--blue-200))!important;transition:all .1s ease}.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):focus,.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):focus{outline:none!important;box-shadow:inset 0 0 0 1px #3972d5!important;box-shadow:inset 0 0 0 1px var(--KInputFocus, var(--blue-400))!important;transition:all .1s ease}.k-input:not([type=checkbox]):not([type=radio]):focus.k-input-large[data-v-32434ea8],.form-control:not([type=checkbox]):not([type=radio]):focus.k-input-large[data-v-32434ea8]{box-shadow:inset 0 0 0 2px #3972d5!important;box-shadow:inset 0 0 0 2px var(--KInputFocus, var(--blue-400))!important;transition:all .1s ease}.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):not([type=checkbox]):not([type=radio]):not([type=file]):read-only,.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):not([type=checkbox]):not([type=radio]):not([type=file]):read-only{background-color:#f8f8fa;background-color:var(--KInputReadonlyBackground, var(--grey-100, #f8f8fa));box-shadow:inset 0 0 0 1px #e7e7ec!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:all .1s ease}.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):disabled,.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):disabled{cursor:not-allowed;font-style:italic;background-color:#f8f8fa;background-color:var(--KInputDisabledBackground, var(--grey-100, #f8f8fa));box-shadow:inset 0 0 0 1px #e7e7ec!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:all .1s ease}.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):invalid,.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):-moz-submit-invalid,.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):-moz-ui-invalid,.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):invalid,.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):-moz-submit-invalid,.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):-moz-ui-invalid{box-shadow:none}.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio])::placeholder,.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio])::placeholder{color:#00000073;color:var(--KInputPlaceholderColor, var(--black-45, rgba(0, 0, 0, .45)));font-weight:400;opacity:1}.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio])::-ms-clear,.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio])::-ms-clear{display:none}.k-input[type=search][data-v-32434ea8],.form-control[type=search][data-v-32434ea8]{padding-left:36px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath fill='%23000' fill-opacity='.45' fill-rule='evenodd' d='M6 12c-3.3137085 0-6-2.6862915-6-6s2.6862915-6 6-6 6 2.6862915 6 6c0 1.29583043-.410791 2.49571549-1.1092521 3.47653436l1.2305724 1.23057244 2.8232632 2.8338633c.3897175.3911808.3947266 1.0192147.005164 1.4087774-.3868655.3868655-1.014825.3873148-1.4087774-.005164l-2.8338633-2.8232632-1.23057244-1.2305724C8.49571549 11.589209 7.29583043 12 6 12zm4-6c0-2.209139-1.790861-4-4-4S2 3.790861 2 6s1.790861 4 4 4 4-1.790861 4-4z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:12px 50%}.k-input[type=search][data-v-32434ea8]::-webkit-search-cancel-button,.form-control[type=search][data-v-32434ea8]::-webkit-search-cancel-button{-webkit-appearance:none;height:16px;width:16px;background-image:url(data:image/svg+xml,%3Csvg%20width%3D%2712%27%20height%3D%2712%27%20viewBox%3D%270%200%2012%2012%27%20fill%3D%27none%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%0A%3Cpath%20d%3D%27M9.60005%202.40021L1.80005%2010.2002%27%20stroke%3D%27%233C4557%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%2F%3E%0A%3Cpath%20d%3D%27M9.60005%2010.2002L1.80005%202.40021%27%20stroke%3D%27%233C4557%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%2F%3E%0A%3C%2Fsvg%3E);background-size:16px 16px}.k-input-wrapper textarea.form-control[data-v-32434ea8]{resize:none;padding:17px 0 0 22px}.k-input-wrapper textarea.form-control[data-v-32434ea8]:focus{box-shadow:inset 0 0 0 2px #3972d5!important;box-shadow:inset 0 0 0 2px var(--KInputFocus, var(--blue-400))!important}.k-input-wrapper.input-error .k-input[data-v-32434ea8],.k-input-wrapper.input-error .k-input[data-v-32434ea8]:hover,.k-input-wrapper.input-error .k-input[data-v-32434ea8]:focus{outline:none!important;box-shadow:inset 0 0 0 1.5px #d44324!important;box-shadow:inset 0 0 0 1.5px var(--KInputError, var(--red-500, #d44324))!important;transition:color .1s ease}.k-input-wrapper.input-error .k-input.k-input-large[data-v-32434ea8],.k-input-wrapper.input-error .k-input:hover.k-input-large[data-v-32434ea8],.k-input-wrapper.input-error .k-input:focus.k-input-large[data-v-32434ea8]{box-shadow:inset 0 0 0 2px #d44324!important;box-shadow:inset 0 0 0 2px var(--KInputError, var(--red-500, #d44324))!important;transition:color .1s ease}.k-input-wrapper.input-error .text-on-input label[data-v-32434ea8]{color:#d44324;color:var(--KInputError, var(--red-500, #d44324));transition:color .1s ease}select.k-input[data-v-32434ea8]:not([type=checkbox]),select.k-input[data-v-32434ea8]:not([type=checkbox]):read-only,select.k-input[data-v-32434ea8]:not([type=radio]),select.k-input[data-v-32434ea8]:not([type=radio]):read-only{height:38px;background-color:#fff;background-color:var(--KInputSelectBackground, var(--white, #ffffff))}.k-input-label[data-v-32434ea8]{display:inline-block;color:#000000d9;color:var(--KInputLabelColor, var(--black-85));font-weight:600;font-weight:var(--KInputLabelWeight, 600);font-family:sans-serif;font-family:var(--KInputLabelFont, var(--font-family-sans, sans-serif));font-size:14px;font-size:var(--KInputLabelSize, var(--type-sm, 14px));line-height:18px;line-height:var(--KInputLabelLineHeight, var(--type-lg, 18px));margin-bottom:8px;margin-bottom:var(--KInputLabelMargin, var(--spacing-xs, 8px))}.k-input-label .label-tooltip[data-v-32434ea8]{display:flex;align-items:center}.k-input-label .kong-icon[data-v-32434ea8]{margin-left:4px;margin-left:var(--spacing-xxs)}.k-inputCheckbox.k-input-label[data-v-32434ea8],.k-inputRadio.k-input-label[data-v-32434ea8]{color:#000000b3;color:var(--KInputCheckboxLabel, var(--black-70, rgba(0, 0, 0, .7)));font-size:16px;font-size:var(--KInputCheckboxLabelSize, var(--type-md, 16px));font-weight:400;font-family:sans-serif;font-family:var(--KInputCheckboxLabelFont, var(--font-family-sans, sans-serif));margin-bottom:0}input.k-input[type=checkbox][data-v-32434ea8],input.k-input[type=radio][data-v-32434ea8],input.form-control[type=checkbox][data-v-32434ea8],input.form-control[type=radio][data-v-32434ea8]{display:inline-block;vertical-align:middle;padding:0;border:1px solid #e7e7ec;border:1px solid var(--KInputBorder, var(--grey-300, #e7e7ec));background-color:#fff;box-sizing:border-box;appearance:none;user-select:none;-webkit-print-color-adjust:exact}input.k-input[type=checkbox][data-v-32434ea8]:disabled,input.k-input[type=radio][data-v-32434ea8]:disabled,input.form-control[type=checkbox][data-v-32434ea8]:disabled,input.form-control[type=radio][data-v-32434ea8]:disabled{opacity:1}input.k-input[type=checkbox][data-v-32434ea8]:disabled:hover,input.k-input[type=radio][data-v-32434ea8]:disabled:hover,input.form-control[type=checkbox][data-v-32434ea8]:disabled:hover,input.form-control[type=radio][data-v-32434ea8]:disabled:hover{border-color:#e7e7ec;border-color:var(--KInputBorder, var(--grey-300, #e7e7ec))}input.k-input[type=checkbox][data-v-32434ea8],input.form-control[type=checkbox][data-v-32434ea8]{height:20px;width:20px;color:#1155cb;color:var(--KCheckboxPrimary, var(--blue-500, #1155cb));border:none;border-radius:3px;margin:0 6px 0 0;outline:none}input.k-input[type=checkbox][data-v-32434ea8]:not(:checked),input.form-control[type=checkbox][data-v-32434ea8]:not(:checked){border:1px solid #1155cb;border:1px solid var(--KCheckboxPrimary, var(--blue-500, #1155cb))}input.k-input[type=checkbox][data-v-32434ea8]:checked,input.form-control[type=checkbox][data-v-32434ea8]:checked{background-image:url("data:image/svg+xml,%3Csvg width='13' height='11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.633 0L12 1.397 3.583 10 0 6.337 1.367 4.94l2.216 2.265z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E");border-color:#1155cb;border-color:var(--KCheckboxPrimary, var(--blue-500, #1155cb));background-color:currentColor;background-position:center;background-repeat:no-repeat}input.k-input[type=checkbox][data-v-32434ea8]:checked::-ms-check,input.form-control[type=checkbox][data-v-32434ea8]:checked::-ms-check{color:#fff;border:1px solid #1155cb;border:1px solid var(--KCheckboxPrimary, var(--blue-500, #1155cb));background-color:#1155cb;background-color:var(--KCheckboxPrimary, var(--blue-500, #1155cb))}input.k-input[type=checkbox][data-v-32434ea8]:hover,input.k-input[type=checkbox][data-v-32434ea8]:active,input.form-control[type=checkbox][data-v-32434ea8]:hover,input.form-control[type=checkbox][data-v-32434ea8]:active{border-color:#1155cb;border-color:var(--KCheckboxPrimary, var(--blue-500, #1155cb))}input.k-input[type=checkbox][data-v-32434ea8]:focus,input.form-control[type=checkbox][data-v-32434ea8]:focus{outline:none;border-color:#1155cb;border-color:var(--KCheckboxPrimary, var(--blue-500, #1155cb))}input.k-input[type=checkbox][data-v-32434ea8]:disabled:not(:checked),input.form-control[type=checkbox][data-v-32434ea8]:disabled:not(:checked){background-color:#f8f8fa;background-color:var(--KInputCheckboxDisabled, var(--grey-100, #f8f8fa));border:1px solid #b6b6bd;border:1px solid var(--KCheckboxDisabledChecked, var(--grey-400, #b6b6bd));border-radius:2px}input.k-input[type=checkbox][data-v-32434ea8]:disabled:checked,input.form-control[type=checkbox][data-v-32434ea8]:disabled:checked{background-color:#b6b6bd;background-color:var(--KCheckboxDisabledChecked, var(--grey-400, #b6b6bd))}input.k-input[type=radio][data-v-32434ea8],input.form-control[type=radio][data-v-32434ea8]{display:inline-flex;justify-content:center;align-items:center;height:20px;width:20px;color:#1155cb;color:var(--KRadioPrimary, var(--blue-500, #1155cb));border:2px solid #e7e7ec;border:2px solid var(--KInputBorder, var(--grey-300, #e7e7ec));border-radius:100%;margin:0 6px 0 0}input.k-input[type=radio][data-v-32434ea8]:checked,input.form-control[type=radio][data-v-32434ea8]:checked{border-color:currentColor;background-color:#fff;background-size:100% 100%;background-position:center;background-repeat:no-repeat}input.k-input[type=radio][data-v-32434ea8]:checked:after,input.form-control[type=radio][data-v-32434ea8]:checked:after{content:"";display:flex;height:10px;width:10px;background-color:currentColor;border-radius:100%}input.k-input[type=radio][data-v-32434ea8]:checked::-ms-check,input.form-control[type=radio][data-v-32434ea8]:checked::-ms-check{border:2px solid currentColor;color:currentColor}input.k-input[type=radio][data-v-32434ea8]:disabled,input.form-control[type=radio][data-v-32434ea8]:disabled{background-color:#f1f1f5;background-color:var(--KInputRadioDisabled, var(--grey-200, #f1f1f5))}.k-switch[data-v-32434ea8]{display:inline-flex;align-items:center;cursor:pointer}.k-switch.switch-with-icon .switch-control[data-v-32434ea8]{width:48px}.k-switch.switch-with-icon .kong-icon[data-v-32434ea8]{height:20px;width:22px;left:57px}.k-switch.switch-with-icon input:checked+.switch-control[data-v-32434ea8]:after{left:26px}.k-switch .switch-control[data-v-32434ea8]{position:relative;display:block;width:44px;height:24px;margin-right:1rem;border-radius:12px;background-color:#b6b6bd;background-color:var(--KInputSwitchBackground, var(--grey-400, #b6b6bd));transition:.2s linear}.k-switch .switch-control.has-label-left[data-v-32434ea8]{margin-right:0;margin-left:1rem}.k-switch .switch-control[data-v-32434ea8]:after{position:absolute;top:2px;left:2px;display:block;width:20px;height:20px;border-radius:50%;background-color:#fff;background-color:var(--white, #ffffff);content:"";transition:.2s linear}.k-switch[disabled][data-v-32434ea8]:not(:disabled){cursor:not-allowed}.k-switch[disabled]:not(:disabled) .switch-control[data-v-32434ea8],.k-switch[disabled]:not(:disabled) input[data-v-32434ea8]{opacity:.3;pointer-events:none}.k-switch input[data-v-32434ea8]{display:none}.k-switch input:checked+.switch-control[data-v-32434ea8]{background-color:#07a88d;background-color:var(--KInputSwitchOn, var(--green-500, #07a88d))}.k-switch input:checked+.switch-control[data-v-32434ea8]:after{left:22px}.k-switch span[data-v-32434ea8]{color:#000000b3;color:var(--KInputSwitchLabel, var(--black-70, rgba(0, 0, 0, .7)))}[data-v-32434ea8]:root{--blue-100: #f2f6fe;--blue-200: #bdd3f9;--blue-300: #8ab3fa;--blue-400: #3972d5;--blue-500: #1155cb;--blue-600: #003694;--blue-700: #0a2b66;--petrol-100: #eaf4fb;--petrol-200: #0364ac;--purple-100: #d7d8fe;--purple-200: #bec0fd;--purple-300: #9396fc;--purple-400: #473cfb;--steel-100: #f0f4fa;--steel-200: #dae3f2;--steel-300: #a3b6d9;--steel-400: #7d91b3;--steel-500: #5c7299;--steel-600: #395380;--steel-700: #273c61;--red-100: #ffdede;--red-200: #ffcccc;--red-300: #ff9a99;--red-400: #ff7877;--red-500: #d44324;--red-600: #e50000;--red-700: #922021;--green-100: #e8f8f5;--green-200: #c0f2d5;--green-300: #84e5ae;--green-400: #42d782;--green-500: #07a88d;--green-600: #008871;--green-700: #13755e;--teal-100: #cdf1fe;--teal-200: #91e1fc;--teal-300: #169fcc;--teal-400: #0a7fae;--teal-500: #006e9d;--yellow-100: #fff3d8;--yellow-200: #ffe6ba;--yellow-300: #ffd68c;--yellow-400: #fabe5f;--yellow-500: #c67c06;--yellow-600: #a05604;--grey-100: #f8f8fa;--grey-200: #f1f1f5;--grey-300: #e7e7ec;--grey-400: #b6b6bd;--grey-500: #6f7787;--grey-600: #3c4557;--black-85: rgba(0, 0, 0, .85);--black-70: rgba(0, 0, 0, .7);--black-45: rgba(0, 0, 0, .45);--black-25: rgba(0, 0, 0, .25);--black-10: rgba(0, 0, 0, .1);--black-100: #dfdfdf;--black-200: #b1b2b1;--black-300: #6f7787;--black-400: #3c4557;--black-500: #0b172d;--white: #ffffff;--spacing-xxs: 4px;--spacing-xs: 8px;--spacing-sm: 12px;--spacing-md: 16px;--spacing-lg: 24px;--spacing-xl: 32px;--spacing-xxl: 48px;--spacing-xxxl: 64px;--type-xxxl: 32px;--type-xxl: 28px;--type-xl: 22px;--type-lg: 18px;--type-md: 16px;--type-sm: 14px;--type-xs: 12px;--type-xxs: 10px;--font-family-sans: sans-serif;--font-family-mono: monospace;font-weight:400;font-weight:var(--font-weight-normal, 400)}:root body[data-v-32434ea8]{font-weight:400;font-weight:var(--font-weight-normal, 400)}.toaster-container-outer[data-v-32434ea8]{position:fixed;width:auto;bottom:1rem;right:1rem;max-width:300px;z-index:10000;transition:all .3s}.toaster-item[data-v-32434ea8]{display:flex;width:100%;margin-bottom:1rem;transition:all .3s;overflow:hidden;box-shadow:0 0 12px #0000001f}.toaster-item[data-v-32434ea8] .k-alert{--KAlertInfoBorder: var(--blue-500, color(blue-500));--KAlertSuccessBorder: var(--green-400, color(green-400));--KAlertWarningBorder: var(--yellow-300, color(yellow-300));--KAlertDangerBorder: var(--red-500, color(red-500));display:flex;justify-content:space-between;flex:1;padding:1rem;text-align:left;background-color:#fff;color:#000000b3;color:var(--black-70);margin-bottom:0}.toaster-item[data-v-32434ea8] .k-alert .close{position:relative;order:1;right:0;padding:0 0 0 1rem}.toaster-item[data-v-32434ea8] .k-alert .close:focus,.toaster-item[data-v-32434ea8] .k-alert .close:active{outline:none}.toaster-item .message[data-v-32434ea8]{hyphens:auto;max-width:150ch}.toaster-enter[data-v-32434ea8]{transform:translate(300px)}.toaster-leave-to[data-v-32434ea8]{transform:translate(100%)}.view-switch-button[data-v-d5e8360c]{--KButtonPaddingY: 6px;--KButtonPaddingX: 6px;--KButtonSecondaryHover: var(--white);--KButtonSecondaryHoverBorder: var(--blue-300);--KButtonSecondaryFocus: none;transform:scale(1) translateZ(0);transform:scale(var(--scale, 1)) translateZ(0)}.view-switch-button.paused .icon i[data-v-d5e8360c]{animation-duration:0s}.view-switch-button .icon[data-v-d5e8360c]{width:1.5rem;height:1.5rem;position:relative}.view-switch-button .icon i[data-v-d5e8360c]{position:absolute;left:4px;left:var(--left, 4px);top:4px;top:var(--top, 4px);display:block;border-radius:2px;width:7px;width:var(--width, 7px);height:7px;height:var(--height, 7px);background-color:var(--grey-500);animation:none .5s linear forwards 0s;animation:var(--name, var(--dots-name, none)) var(--duration, var(--dots-duration, .5s)) var(--easing, var(--dots-easing, linear)) forwards var(--delay, var(--dots-delay, 0s));transition:background-color .2s ease}.view-switch-button .icon .dots i[data-v-d5e8360c]:nth-child(1){--x-middle: -8px;--y-middle: 10px;--x-end: -2px;--y-end: 12px;--x-back: 10px;--y-back: 7px;--x-back-end: 9px;--y-back-end: 0}.view-switch-button .icon .dots i[data-v-d5e8360c]:nth-child(2){--left: 13px;--x-middle: -12px;--y-middle: 5px;--x-end: -11px;--y-end: 7px;--x-back: -3px;--y-back: 1px;--x-back-end: -9px;--y-back-end: 0}.view-switch-button .icon .dots i[data-v-d5e8360c]:nth-child(3){--top: 13px;--x-middle: 4px;--y-middle: -5px;--x-end: -2px;--y-end: -7px;--x-back: -5px;--y-back: 0px;--x-back-end: 9px;--y-back-end: 0}.view-switch-button .icon .dots i[data-v-d5e8360c]:nth-child(4){--left: 13px;--top: 13px;--x-middle: 0;--y-middle: -10px;--x-end: -11px;--y-end: -12px;--x-back: -14px;--y-back: -8px;--x-back-end: -9px;--y-back-end: 0}.view-switch-button .icon .lines[data-v-d5e8360c]{--name: var(--lines-name, none);--duration: var(--lines-duration, .15s);--easing: var(--lines-easing, linear);--delay: var(--lines-delay, 0s)}.view-switch-button .icon .lines i[data-v-d5e8360c]{--left: 9px;--top: 3px;--height: 2px;--width: 11px;transform-origin:0 50%;transform:translateY(20%) translateZ(0) scaleX(0)}.view-switch-button .icon .lines i[data-v-d5e8360c]:nth-child(2){--top: 8px}.view-switch-button .icon .lines i[data-v-d5e8360c]:nth-child(3){--top: 13px}.view-switch-button .icon .lines i[data-v-d5e8360c]:nth-child(4){--top: 18px}.view-switch-button .icon .lines i[data-v-d5e8360c]:nth-child(3),.view-switch-button .icon .lines i[data-v-d5e8360c]:nth-child(4){transform-origin:100% 50%}.view-switch-button.table[data-v-d5e8360c]{--dots-name: back;--lines-name: scale-down}.view-switch-button.table .lines i[data-v-d5e8360c]{transform-origin:0 50%}.view-switch-button.table .lines i[data-v-d5e8360c]:nth-child(3),.view-switch-button.table .lines i[data-v-d5e8360c]:nth-child(4){transform-origin:100% 50%}.view-switch-button.grid[data-v-d5e8360c]{--dots-name: move;--lines-name: scale;--lines-duration: .15s;--lines-delay: .3s}.view-switch-button.grid .lines i[data-v-d5e8360c]{transform-origin:100% 50%}.view-switch-button.grid .lines i[data-v-d5e8360c]:nth-child(3),.view-switch-button.grid .lines i[data-v-d5e8360c]:nth-child(4){transform-origin:0 50%}@keyframes move{50%{transform:translate(0) scale(.4);transform:translate(var(--x-middle, 0),var(--y-middle, 0)) scale(.4)}to{transform:translate(0) scale(.4);transform:translate(var(--x-end, 0),var(--y-end, 0)) scale(.4)}}@keyframes back{0%,15%{transform:translate(0) scale(.4);transform:translate(var(--x-end, 0),var(--y-end, 0)) scale(.4)}50%{transform:translate(0) scale(.5);transform:translate(var(--x-back, 0),var(--y-back, 0)) scale(.5)}to{transform:translate(0) scale(1);transform:translate(var(--x-back-end, 0),var(--y-back-end, 0)) scale(1)}}@keyframes scale{to{transform:translateY(20%) translateZ(0) scaleX(1)}}@keyframes scale-down{0%{transform:translateY(20%) translateZ(0) scaleX(1)}to{transform:translateY(20%) translateZ(0) scaleX(0)}}.k-multiselect-item[data-v-794a69ea]{margin-bottom:4px}.k-multiselect-item[data-v-794a69ea]:last-of-type{margin-bottom:0!important}.k-multiselect-item button[data-v-794a69ea]{display:flex;align-items:center;font-size:var(--type-xs);line-height:26px;color:var(--grey-500);padding-left:var(--spacing-xxs);width:100%;border:none;font-family:var(--font-family-sans);background-color:var(--white);border-radius:4px;text-align:left;font-weight:400}.k-multiselect-item button[data-v-794a69ea]:not(:disabled),.k-multiselect-item button[data-v-794a69ea]:not(.disabled){cursor:pointer}.k-multiselect-item button .k-multiselect-item-label[data-v-794a69ea]{width:auto;line-height:16px;color:var(--grey-600);font-weight:500;font-size:14px;padding:8px;margin-bottom:4px}.k-multiselect-item button .k-multiselect-item-label[data-v-794a69ea] .select-item-label{color:var(--grey-600);font-weight:600;font-size:14px;margin-bottom:4px}.k-multiselect-item button .k-multiselect-item-label[data-v-794a69ea] .select-item-desc{color:var(--grey-500);font-weight:400;font-size:12px}.k-multiselect-item button .selected-item-icon[data-v-794a69ea]{height:24px}.k-multiselect-item button .kong-icon[data-v-794a69ea]:not(.selected-item-icon){margin-right:.75rem}.k-multiselect-item button .k-multiselect-selected-icon-container[data-v-794a69ea]{margin-left:auto;margin-top:auto;margin-bottom:auto;height:24px;width:24px}.k-multiselect-item button[data-v-794a69ea]:hover{background-color:var(--grey-100);color:var(--grey-600)}.k-multiselect-item button.selected[data-v-794a69ea]{background-color:var(--blue-100);color:var(--blue-500);font-weight:400}.k-multiselect[data-v-6ef41ff8]{width:fit-content;position:relative}.k-multiselect .staging-area[data-v-6ef41ff8]{visibility:hidden;position:absolute;left:-99999px;pointer-events:none;z-index:-1}.k-multiselect .k-multiselect-selections[data-v-6ef41ff8]{--KBadgeMaxWidth: 100px;box-sizing:border-box;padding-left:16px;padding-right:23px}.k-multiselect .k-multiselect-selections.scrollable[data-v-6ef41ff8]{overflow-y:auto}.k-multiselect .k-multiselect-selections.staging[data-v-6ef41ff8]{box-sizing:border-box;position:relative;height:auto;padding-left:16px;padding-right:23px}.k-multiselect .k-multiselect-selections .hidden-selection-count[data-v-6ef41ff8]{--KBadgeLineHeight: 21px}.k-multiselect .k-multiselect-selections .hidden-selection-count.hidden[data-v-6ef41ff8]{visibility:hidden}.k-multiselect .k-multiselect-icon[data-v-6ef41ff8]{position:absolute;z-index:1;right:1px;top:1px}.k-multiselect .k-multiselect-icon .k-multiselect-chevron-icon[data-v-6ef41ff8]{position:relative;top:11px;right:10px}.k-multiselect .k-multiselect-icon .k-multiselect-clear-icon[data-v-6ef41ff8]{position:relative;top:8px;right:10px}.k-multiselect .k-multiselect-trigger[data-v-6ef41ff8]{display:inline-block;position:relative;border-radius:3px;background-color:#fff;background-color:var(--KInputBackground, var(--white, #ffffff));box-shadow:inset 0 0 0 1px var(--grey-300)!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:color .1s ease,box-shadow .1s ease}.k-multiselect .k-multiselect-trigger.hovered[data-v-6ef41ff8]{box-shadow:inset 0 0 0 1px var(--blue-200)!important;box-shadow:inset 0 0 0 1px var(--KInputHover, var(--blue-200))!important;transition:all .1s ease}.k-multiselect .k-multiselect-trigger.focused[data-v-6ef41ff8]{outline:none!important;box-shadow:inset 0 0 0 1px var(--blue-400)!important;box-shadow:inset 0 0 0 1px var(--KInputFocus, var(--blue-400))!important;transition:all .1s ease}.k-multiselect .k-multiselect-trigger.readonly[data-v-6ef41ff8]{background-color:#f8f8fa;background-color:var(--KInputReadonlyBackground, var(--grey-100, #f8f8fa));box-shadow:inset 0 0 0 1px var(--grey-300)!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:all .1s ease}.k-multiselect .k-multiselect-trigger.disabled[data-v-6ef41ff8]{cursor:not-allowed;font-style:italic;background-color:#f8f8fa;background-color:var(--KInputDisabledBackground, var(--grey-100, #f8f8fa));box-shadow:inset 0 0 0 1px var(--grey-300)!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:all .1s ease}.k-multiselect .k-multiselect-trigger .k-multiselect-input[data-v-6ef41ff8]{position:relative;display:inline-block;width:100%}.k-multiselect .k-multiselect-trigger .k-multiselect-input.prevent-pointer-events{pointer-events:none}.k-multiselect .k-multiselect-trigger .k-multiselect-input.input-placeholder-dark::placeholder{color:#000000b3!important;color:var(--KInputColor, var(--black-70, rgba(0, 0, 0, .7)))!important}.k-multiselect .k-multiselect-trigger .k-multiselect-input input.k-input:not([type=checkbox]):not([type=radio]){height:calc(100% - 2px);width:calc(100% - 4px);margin:1px;position:relative;left:1px;box-shadow:none!important}.k-multiselect .k-multiselect-trigger .k-multiselect-input input.k-input:not([type=checkbox]):not([type=radio]):hover,.k-multiselect .k-multiselect-trigger .k-multiselect-input input.k-input:not([type=checkbox]):not([type=radio]):focus,.k-multiselect .k-multiselect-trigger .k-multiselect-input input.k-input:not([type=checkbox]):not([type=radio]):read-only,.k-multiselect .k-multiselect-trigger .k-multiselect-input input.k-input:not([type=checkbox]):not([type=radio]):disabled{box-shadow:none!important}.k-multiselect .k-multiselect-trigger.k-input{width:100%}.k-multiselect .k-multiselect-popover{box-sizing:border-box;width:100%;margin-top:2px!important;overflow:auto!important}.k-multiselect .k-multiselect-popover[x-placement^=top]{margin-top:0!important;margin-bottom:2px!important}.k-multiselect .k-multiselect-popover.k-multiselect-pop{--KPopPaddingY: var(--spacing-xs);--KPopPaddingX: var(--spacing-xs);border:1px solid var(--black-10)}.k-multiselect .k-multiselect-popover .k-multiselect-empty-item button,.k-multiselect .k-multiselect-popover .k-multiselect-empty-item button:focus,.k-multiselect .k-multiselect-popover .k-multiselect-empty-item button:hover{color:var(--grey-500)}.k-multiselect .k-multiselect-popover .k-multiselect-empty-item button .select-item-label,.k-multiselect .k-multiselect-popover .k-multiselect-empty-item button:focus .select-item-label,.k-multiselect .k-multiselect-popover .k-multiselect-empty-item button:hover .select-item-label{color:var(--grey-500)}.k-multiselect .k-multiselect-popover a{flex:1;color:var(--black-70)}.k-multiselect .k-multiselect-popover a:hover,.k-multiselect .k-multiselect-popover a:active,.k-multiselect .k-multiselect-popover a:focus{text-decoration:none}/*! KONGPONENTS_STYLES */.type-xxxl{font-size:32px;font-size:var(--type-xxxl)}.type-xxl{font-size:28px;font-size:var(--type-xxl)}.type-xl{font-size:22px;font-size:var(--type-xl)}.type-lg{font-size:18px;font-size:var(--type-lg)}.type-md{font-size:16px;font-size:var(--type-md)}.type-sm{font-size:14px;font-size:var(--type-sm)}.type-xs{font-size:12px;font-size:var(--type-xs)}.type-xxs{font-size:10px;font-size:var(--type-xxs)}.mono{font-family:monospace;font-family:var(--font-family-mono)}.mono.type-xxxl{font-size:30.4px;font-size:calc(var(--type-xxxl) * .95)}.mono.type-xxl{font-size:calc(28px * .95);font-size:calc(var(--type-xxl) * .95)}.mono.type-xl{font-size:20.9px;font-size:calc(var(--type-xl) * .95)}.mono.type-lg{font-size:calc(18px * .95);font-size:calc(var(--type-lg) * .95)}.mono.type-md{font-size:15.2px;font-size:calc(var(--type-md) * .95)}.mono.type-sm{font-size:calc(14px * .95);font-size:calc(var(--type-sm) * .95)}.mono.type-xs{font-size:calc(12px * .95);font-size:calc(var(--type-xs) * .95)}.mono.type-xxs{font-size:9.5px;font-size:calc(var(--type-xxs) * .95)}.color-blue-100{color:#f2f6fe;color:var(--blue-100)}.color-blue-200{color:#bdd3f9;color:var(--blue-200)}.color-blue-300{color:#8ab3fa;color:var(--blue-300)}.color-blue-400{color:#3972d5;color:var(--blue-400)}.color-blue-500{color:#1155cb;color:var(--blue-500)}.color-blue-600{color:#003694;color:var(--blue-600)}.color-blue-700{color:#0a2b66;color:var(--blue-700)}.color-petrol-100{color:#eaf4fb;color:var(--petrol-100)}.color-petrol-200{color:#0364ac;color:var(--petrol-200)}.color-purple-100{color:#d7d8fe;color:var(--purple-100)}.color-purple-200{color:#bec0fd;color:var(--purple-200)}.color-purple-300{color:#9396fc;color:var(--purple-300)}.color-purple-400{color:#473cfb;color:var(--purple-400)}.color-steel-100{color:#f0f4fa;color:var(--steel-100)}.color-steel-200{color:#dae3f2;color:var(--steel-200)}.color-steel-300{color:#a3b6d9;color:var(--steel-300)}.color-steel-400{color:#7d91b3;color:var(--steel-400)}.color-steel-500{color:#5c7299;color:var(--steel-500)}.color-steel-600{color:#395380;color:var(--steel-600)}.color-steel-700{color:#273c61;color:var(--steel-700)}.color-red-100{color:#ffdede;color:var(--red-100)}.color-red-200{color:#fcc;color:var(--red-200)}.color-red-300{color:#ff9a99;color:var(--red-300)}.color-red-400{color:#ff7877;color:var(--red-400)}.color-red-500{color:#d44324;color:var(--red-500)}.color-red-600{color:#e50000;color:var(--red-600)}.color-red-700{color:#922021;color:var(--red-700)}.color-green-100{color:#e8f8f5;color:var(--green-100)}.color-green-200{color:#c0f2d5;color:var(--green-200)}.color-green-300{color:#84e5ae;color:var(--green-300)}.color-green-400{color:#42d782;color:var(--green-400)}.color-green-500{color:#07a88d;color:var(--green-500)}.color-green-600{color:#008871;color:var(--green-600)}.color-green-700{color:#13755e;color:var(--green-700)}.color-teal-100{color:#cdf1fe;color:var(--teal-100)}.color-teal-200{color:#91e1fc;color:var(--teal-200)}.color-teal-300{color:#169fcc;color:var(--teal-300)}.color-teal-400{color:#0a7fae;color:var(--teal-400)}.color-teal-500{color:#006e9d;color:var(--teal-500)}.color-yellow-100{color:#fff3d8;color:var(--yellow-100)}.color-yellow-200{color:#ffe6ba;color:var(--yellow-200)}.color-yellow-300{color:#ffd68c;color:var(--yellow-300)}.color-yellow-400{color:#fabe5f;color:var(--yellow-400)}.color-yellow-500{color:#c67c06;color:var(--yellow-500)}.color-yellow-600{color:#a05604;color:var(--yellow-600)}.color-grey-100{color:#f8f8fa;color:var(--grey-100)}.color-grey-200{color:#f1f1f5;color:var(--grey-200)}.color-grey-300{color:#e7e7ec;color:var(--grey-300)}.color-grey-400{color:#b6b6bd;color:var(--grey-400)}.color-grey-500{color:#6f7787;color:var(--grey-500)}.color-grey-600{color:#3c4557;color:var(--grey-600)}.color-black-85{color:#000000d9;color:var(--black-85)}.color-black-70{color:#000000b3;color:var(--black-70)}.color-black-45{color:#00000073;color:var(--black-45)}.color-black-25{color:#00000040;color:var(--black-25)}.color-black-10{color:#0000001a;color:var(--black-10)}.color-black-100{color:#dfdfdf;color:var(--black-100)}.color-black-200{color:#b1b2b1;color:var(--black-200)}.color-black-300{color:#6f7787;color:var(--black-300)}.color-black-400{color:#3c4557;color:var(--black-400)}.color-black-500{color:#0b172d;color:var(--black-500)}.color-white{color:#fff;color:var(--white)}.style-heading-1{font-size:32px!important;line-height:36px!important;font-weight:400!important}.style-heading-2{font-size:20px!important;line-height:24px!important;font-weight:400!important}.style-heading-3{font-size:16px!important;line-height:24px!important;font-weight:400!important}.style-heading-4{font-size:14px!important;line-height:20px!important;font-weight:400!important}.style-body-lg{font-size:16px!important;line-height:24px!important;font-weight:300!important}.style-body-lg-bold{font-size:16px!important;line-height:24px!important;font-weight:400!important}.style-body-md{font-size:13px!important;line-height:20px!important;font-weight:400!important}.style-body-md-bold{font-size:13px!important;line-height:24px!important;font-weight:400!important}.style-body-sm,.style-body-sm-bold{font-size:12px!important;line-height:16px!important;font-weight:400!important}.style-body-tiny{font-size:11px!important;line-height:16px!important;font-weight:300!important}.style-body-link{font-size:13px!important;line-height:20px!important;font-weight:400!important}.style-body-bc{font-size:12px!important;line-height:24px!important;font-weight:400!important;text-transform:uppercase!important}.style-body-code{font-size:13px!important;line-height:24px!important;font-weight:100!important}.mx-auto{margin-left:auto!important;margin-right:auto!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.ma-auto{margin:auto!important}.mx-0{margin-left:0!important;margin-right:0!important}.my-0{margin-top:0!important;margin-bottom:0!important}.ma-0{margin:0!important}.px-auto{padding-left:auto!important;padding-right:auto!important}.py-auto{padding-top:auto!important;padding-bottom:auto!important}.pa-auto{padding-left:auto!important;padding-right:auto!important;padding-top:auto!important;padding-bottom:auto!important}.px-0{padding-left:0!important;padding-right:0!important}.py-0{padding-top:0!important;padding-bottom:0!important}.pa-0{padding:0!important}.mt-auto{margin-top:auto!important}.mt-0{margin-top:0!important}.mr-auto{margin-right:auto!important}.mr-0{margin-right:0!important}.mb-auto{margin-bottom:auto!important}.mb-0{margin-bottom:0!important}.ml-auto{margin-left:auto!important}.ml-0{margin-left:0!important}.mt-1{margin-top:4px!important}.mr-1{margin-right:4px!important}.mb-1{margin-bottom:4px!important}.ml-1{margin-left:4px!important}.mx-1{margin-left:4px!important;margin-right:4px!important}.my-1{margin-top:4px!important;margin-bottom:4px!important}.ma-1{margin:4px!important}.mt-2{margin-top:8px!important}.mr-2{margin-right:8px!important}.mb-2{margin-bottom:8px!important}.ml-2{margin-left:8px!important}.mx-2{margin-left:8px!important;margin-right:8px!important}.my-2{margin-top:8px!important;margin-bottom:8px!important}.ma-2{margin:8px!important}.mt-3{margin-top:12px!important}.mr-3{margin-right:12px!important}.mb-3{margin-bottom:12px!important}.ml-3{margin-left:12px!important}.mx-3{margin-left:12px!important;margin-right:12px!important}.my-3{margin-top:12px!important;margin-bottom:12px!important}.ma-3{margin:12px!important}.mt-4{margin-top:16px!important}.mr-4{margin-right:16px!important}.mb-4{margin-bottom:16px!important}.ml-4{margin-left:16px!important}.mx-4{margin-left:16px!important;margin-right:16px!important}.my-4{margin-top:16px!important;margin-bottom:16px!important}.ma-4{margin:16px!important}.mt-5{margin-top:24px!important}.mr-5{margin-right:24px!important}.mb-5{margin-bottom:24px!important}.ml-5{margin-left:24px!important}.mx-5{margin-left:24px!important;margin-right:24px!important}.my-5{margin-top:24px!important;margin-bottom:24px!important}.ma-5{margin:24px!important}.mt-6{margin-top:32px!important}.mr-6{margin-right:32px!important}.mb-6{margin-bottom:32px!important}.ml-6{margin-left:32px!important}.mx-6{margin-left:32px!important;margin-right:32px!important}.my-6{margin-top:32px!important;margin-bottom:32px!important}.ma-6{margin:32px!important}.mt-7{margin-top:48px!important}.mr-7{margin-right:48px!important}.mb-7{margin-bottom:48px!important}.ml-7{margin-left:48px!important}.mx-7{margin-left:48px!important;margin-right:48px!important}.my-7{margin-top:48px!important;margin-bottom:48px!important}.ma-7{margin:48px!important}.mt-8{margin-top:64px!important}.mr-8{margin-right:64px!important}.mb-8{margin-bottom:64px!important}.ml-8{margin-left:64px!important}.mx-8{margin-left:64px!important;margin-right:64px!important}.my-8{margin-top:64px!important;margin-bottom:64px!important}.ma-8{margin:64px!important}.pt-0{padding-top:0!important}.pr-0{padding-right:0!important}.pb-0{padding-bottom:0!important}.pl-0{padding-left:0!important}.pt-1{padding-top:4px!important}.pr-1{padding-right:4px!important}.pb-1{padding-bottom:4px!important}.pl-1{padding-left:4px!important}.px-1{padding-left:4px!important;padding-right:4px!important}.py-1{padding-top:4px!important;padding-bottom:4px!important}.pa-1{padding:4px!important}.pt-2{padding-top:8px!important}.pr-2{padding-right:8px!important}.pb-2{padding-bottom:8px!important}.pl-2{padding-left:8px!important}.px-2{padding-left:8px!important;padding-right:8px!important}.py-2{padding-top:8px!important;padding-bottom:8px!important}.pa-2{padding:8px!important}.pt-3{padding-top:12px!important}.pr-3{padding-right:12px!important}.pb-3{padding-bottom:12px!important}.pl-3{padding-left:12px!important}.px-3{padding-left:12px!important;padding-right:12px!important}.py-3{padding-top:12px!important;padding-bottom:12px!important}.pa-3{padding:12px!important}.pt-4{padding-top:16px!important}.pr-4{padding-right:16px!important}.pb-4{padding-bottom:16px!important}.pl-4{padding-left:16px!important}.px-4{padding-left:16px!important;padding-right:16px!important}.py-4{padding-top:16px!important;padding-bottom:16px!important}.pa-4{padding:16px!important}.pt-5{padding-top:24px!important}.pr-5{padding-right:24px!important}.pb-5{padding-bottom:24px!important}.pl-5{padding-left:24px!important}.px-5{padding-left:24px!important;padding-right:24px!important}.py-5{padding-top:24px!important;padding-bottom:24px!important}.pa-5{padding:24px!important}.pt-6{padding-top:32px!important}.pr-6{padding-right:32px!important}.pb-6{padding-bottom:32px!important}.pl-6{padding-left:32px!important}.px-6{padding-left:32px!important;padding-right:32px!important}.py-6{padding-top:32px!important;padding-bottom:32px!important}.pa-6{padding:32px!important}.pt-7{padding-top:48px!important}.pr-7{padding-right:48px!important}.pb-7{padding-bottom:48px!important}.pl-7{padding-left:48px!important}.px-7{padding-left:48px!important;padding-right:48px!important}.py-7{padding-top:48px!important;padding-bottom:48px!important}.pa-7{padding:48px!important}.pt-8{padding-top:64px!important}.pr-8{padding-right:64px!important}.pb-8{padding-bottom:64px!important}.pl-8{padding-left:64px!important}.px-8{padding-left:64px!important;padding-right:64px!important}.py-8{padding-top:64px!important;padding-bottom:64px!important}.pa-8{padding:64px!important}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}.truncate{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.multi-line-truncation{display:-webkit-box;-webkit-line-clamp:3;-webkit-line-clamp:var(--TMaxLineLimit, 3);-webkit-box-orient:vertical;overflow:hidden}.truncate-multi{line-height:24px;line-height:var(--TLineHeight, 24px);font-size:16px;font-size:var(--TFontSize, 16px);position:relative;max-height:120px;max-height:calc(var(--TLineHeight, 24px) * var(--TMaxLines, 5));overflow:hidden;padding-right:100px!important;padding-right:calc(var(--TPosRight, 12px) * var(--TPadRight, 8) + 4px)!important}.truncate-multi .truncate-multi:before{position:absolute;content:"...";top:104px;top:calc(var(--TLineHeight, 24px) * (var(--TMaxLines, 5) - 1) + var(--TFontSize, 16px) * .5);right:12px;right:var(--TPosRight, 12px)}.capitalize{text-transform:capitalize!important}.lowercase{text-transform:lowercase!important}.uppercase{text-transform:uppercase!important}.bold-500{font-weight:500!important}.bold-600{font-weight:600!important}.bold-700{font-weight:700!important}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.cursor-pointer{cursor:pointer!important}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.h-100{height:100%!important}.h-auto{height:auto!important}.h-screen{min-height:100vh!important}.non-visual-button,.non-visual-button:focus,.non-visual-button:hover{background-color:transparent!important;border:none!important;cursor:pointer!important;font-weight:400!important}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.k-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.form-group{display:block;width:100%;margin-bottom:24px;margin-bottom:var(--lg, 24px)}.form-group hr{border-color:#e7e7ec;border-color:var(--KInputBorder, var(--grey-300, ));margin:32px 0;margin:var(--xl, 32px) 0}.k-input+.help,.k-input-wrapper+.help{display:block;margin:8px 0 0;margin:var(--spacing-xs, 8px) 0 0;font-size:14px;font-size:var(--type-sm, 14px);color:#00000073;color:var(--black-45, rgba(0, 0, 0, .45))}.k-input-wrapper .text-on-input{position:relative}.k-input-wrapper .text-on-input .hovered:not(.readonly){color:#1155cb;color:var(--KInputHover, var(--blue-500));transition:color .1s ease}.k-input-wrapper .text-on-input .focused:not(.readonly){color:#1155cb;color:var(--KInputFocus, var(--blue-500));transition:color .1s ease}.k-input-wrapper .text-on-input label.hovered:not(.readonly){color:#1155cb;color:var(--KInputHover, var(--blue-500));transition:color .1s ease}.k-input-wrapper .text-on-input label.focused:not(.readonly){color:#1155cb;color:var(--KInputFocus, var(--blue-500));transition:color .1s ease}.k-input-wrapper .text-on-input label.disabled{color:#6f7787;color:var(--grey-500)}.k-input-wrapper .text-on-input label{position:absolute;top:-8px;left:13px;width:auto;padding:2px 4px;z-index:1;font-size:11px;font-weight:500;color:#3c4557;color:var(--KInputBorder, var(--grey-600));background-color:#fff;background-color:var(--KInputBackground, var(--white));display:inline-block;margin-bottom:.5rem;transition:color .1s ease}.k-input:not([type=checkbox]):not([type=radio]),.form-control:not([type=checkbox]):not([type=radio]){display:block;width:100%;padding:10px 16px;padding:10px var(--spacing-md, 16px);color:#000000b3;color:var(--KInputColor, var(--black-70, rgba(0, 0, 0, .7)));font-size:16px;font-size:var(--type-md, 16px);font-weight:400;line-height:24px;border:none;border-radius:3px;box-sizing:border-box;background-color:#fff;background-color:var(--KInputBackground, var(--white, #ffffff));box-shadow:inset 0 0 0 1px #e7e7ec!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:color .1s ease,box-shadow .1s ease}.k-input:not([type=checkbox]):not([type=radio]).k-input-small,.form-control:not([type=checkbox]):not([type=radio]).k-input-small{font-size:12px;font-size:var(--type-xs, 12px);padding:8px 12px;padding:var(--spacing-xs, 8px) var(--spacing-sm, 12px)}.k-input:not([type=checkbox]):not([type=radio]).k-input-large,.form-control:not([type=checkbox]):not([type=radio]).k-input-large{font-size:16px;font-size:var(--type-md, 16px);padding:16px 24px;padding:var(--spacing-md, 16px) var(--spacing-lg, 24px)}.k-input:not([type=checkbox]):not([type=radio]):hover,.form-control:not([type=checkbox]):not([type=radio]):hover{box-shadow:inset 0 0 0 1px #bdd3f9!important;box-shadow:inset 0 0 0 1px var(--KInputHover, var(--blue-200))!important;transition:all .1s ease}.k-input:not([type=checkbox]):not([type=radio]):hover.k-input-large,.form-control:not([type=checkbox]):not([type=radio]):hover.k-input-large{box-shadow:inset 0 0 0 2px #bdd3f9!important;box-shadow:inset 0 0 0 2px var(--KInputHover, var(--blue-200))!important;transition:all .1s ease}.k-input:not([type=checkbox]):not([type=radio]):focus,.form-control:not([type=checkbox]):not([type=radio]):focus{outline:none!important;box-shadow:inset 0 0 0 1px #3972d5!important;box-shadow:inset 0 0 0 1px var(--KInputFocus, var(--blue-400))!important;transition:all .1s ease}.k-input:not([type=checkbox]):not([type=radio]):focus.k-input-large,.form-control:not([type=checkbox]):not([type=radio]):focus.k-input-large{box-shadow:inset 0 0 0 2px #3972d5!important;box-shadow:inset 0 0 0 2px var(--KInputFocus, var(--blue-400))!important;transition:all .1s ease}.k-input:not([type=checkbox]):not([type=radio]):not([type=checkbox]):not([type=radio]):not([type=file]):read-only,.form-control:not([type=checkbox]):not([type=radio]):not([type=checkbox]):not([type=radio]):not([type=file]):read-only{background-color:#f8f8fa;background-color:var(--KInputReadonlyBackground, var(--grey-100, #f8f8fa));box-shadow:inset 0 0 0 1px #e7e7ec!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:all .1s ease}.k-input:not([type=checkbox]):not([type=radio]):disabled,.form-control:not([type=checkbox]):not([type=radio]):disabled{cursor:not-allowed;font-style:italic;background-color:#f8f8fa;background-color:var(--KInputDisabledBackground, var(--grey-100, #f8f8fa));box-shadow:inset 0 0 0 1px #e7e7ec!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:all .1s ease}.k-input:not([type=checkbox]):not([type=radio]):invalid,.k-input:not([type=checkbox]):not([type=radio]):-moz-submit-invalid,.k-input:not([type=checkbox]):not([type=radio]):-moz-ui-invalid,.form-control:not([type=checkbox]):not([type=radio]):invalid,.form-control:not([type=checkbox]):not([type=radio]):-moz-submit-invalid,.form-control:not([type=checkbox]):not([type=radio]):-moz-ui-invalid{box-shadow:none}.k-input:not([type=checkbox]):not([type=radio])::placeholder,.form-control:not([type=checkbox]):not([type=radio])::placeholder{color:#00000073;color:var(--KInputPlaceholderColor, var(--black-45, rgba(0, 0, 0, .45)));font-weight:400;opacity:1}.k-input:not([type=checkbox]):not([type=radio])::-ms-clear,.form-control:not([type=checkbox]):not([type=radio])::-ms-clear{display:none}.k-input[type=search],.form-control[type=search]{padding-left:36px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath fill='%23000' fill-opacity='.45' fill-rule='evenodd' d='M6 12c-3.3137085 0-6-2.6862915-6-6s2.6862915-6 6-6 6 2.6862915 6 6c0 1.29583043-.410791 2.49571549-1.1092521 3.47653436l1.2305724 1.23057244 2.8232632 2.8338633c.3897175.3911808.3947266 1.0192147.005164 1.4087774-.3868655.3868655-1.014825.3873148-1.4087774-.005164l-2.8338633-2.8232632-1.23057244-1.2305724C8.49571549 11.589209 7.29583043 12 6 12zm4-6c0-2.209139-1.790861-4-4-4S2 3.790861 2 6s1.790861 4 4 4 4-1.790861 4-4z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:12px 50%}.k-input[type=search]::-webkit-search-cancel-button,.form-control[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;height:16px;width:16px;background-image:url(data:image/svg+xml,%3Csvg%20width%3D%2712%27%20height%3D%2712%27%20viewBox%3D%270%200%2012%2012%27%20fill%3D%27none%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%0A%3Cpath%20d%3D%27M9.60005%202.40021L1.80005%2010.2002%27%20stroke%3D%27%233C4557%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%2F%3E%0A%3Cpath%20d%3D%27M9.60005%2010.2002L1.80005%202.40021%27%20stroke%3D%27%233C4557%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%2F%3E%0A%3C%2Fsvg%3E);background-size:16px 16px}.k-input-wrapper textarea.form-control{resize:none;padding:17px 0 0 22px}.k-input-wrapper textarea.form-control:focus{box-shadow:inset 0 0 0 2px #3972d5!important;box-shadow:inset 0 0 0 2px var(--KInputFocus, var(--blue-400))!important}.k-input-wrapper.input-error .k-input,.k-input-wrapper.input-error .k-input:hover,.k-input-wrapper.input-error .k-input:focus{outline:none!important;box-shadow:inset 0 0 0 1.5px #d44324!important;box-shadow:inset 0 0 0 1.5px var(--KInputError, var(--red-500, #d44324))!important;transition:color .1s ease}.k-input-wrapper.input-error .k-input.k-input-large,.k-input-wrapper.input-error .k-input:hover.k-input-large,.k-input-wrapper.input-error .k-input:focus.k-input-large{box-shadow:inset 0 0 0 2px #d44324!important;box-shadow:inset 0 0 0 2px var(--KInputError, var(--red-500, #d44324))!important;transition:color .1s ease}.k-input-wrapper.input-error .text-on-input label{color:#d44324;color:var(--KInputError, var(--red-500, #d44324));transition:color .1s ease}select.k-input:not([type=checkbox]),select.k-input:not([type=checkbox]):read-only,select.k-input:not([type=radio]),select.k-input:not([type=radio]):read-only{height:38px;background-color:#fff;background-color:var(--KInputSelectBackground, var(--white, #ffffff))}.k-input-label{display:inline-block;color:#000000d9;color:var(--KInputLabelColor, var(--black-85));font-weight:600;font-weight:var(--KInputLabelWeight, 600);font-family:sans-serif;font-family:var(--KInputLabelFont, var(--font-family-sans, sans-serif));font-size:14px;font-size:var(--KInputLabelSize, var(--type-sm, 14px));line-height:18px;line-height:var(--KInputLabelLineHeight, var(--type-lg, 18px));margin-bottom:8px;margin-bottom:var(--KInputLabelMargin, var(--spacing-xs, 8px))}.k-input-label .label-tooltip{display:flex;align-items:center}.k-input-label .kong-icon{margin-left:4px;margin-left:var(--spacing-xxs)}.k-inputCheckbox.k-input-label,.k-inputRadio.k-input-label{color:#000000b3;color:var(--KInputCheckboxLabel, var(--black-70, rgba(0, 0, 0, .7)));font-size:16px;font-size:var(--KInputCheckboxLabelSize, var(--type-md, 16px));font-weight:400;font-family:sans-serif;font-family:var(--KInputCheckboxLabelFont, var(--font-family-sans, sans-serif));margin-bottom:0}input.k-input[type=checkbox],input.k-input[type=radio],input.form-control[type=checkbox],input.form-control[type=radio]{display:inline-block;vertical-align:middle;padding:0;border:1px solid #e7e7ec;border:1px solid var(--KInputBorder, var(--grey-300, #e7e7ec));background-color:#fff;box-sizing:border-box;appearance:none;user-select:none;-webkit-print-color-adjust:exact}input.k-input[type=checkbox]:disabled,input.k-input[type=radio]:disabled,input.form-control[type=checkbox]:disabled,input.form-control[type=radio]:disabled{opacity:1}input.k-input[type=checkbox]:disabled:hover,input.k-input[type=radio]:disabled:hover,input.form-control[type=checkbox]:disabled:hover,input.form-control[type=radio]:disabled:hover{border-color:#e7e7ec;border-color:var(--KInputBorder, var(--grey-300, #e7e7ec))}input.k-input[type=checkbox],input.form-control[type=checkbox]{height:20px;width:20px;color:#1155cb;color:var(--KCheckboxPrimary, var(--blue-500, #1155cb));border:none;border-radius:3px;margin:0 6px 0 0;outline:none}input.k-input[type=checkbox]:not(:checked),input.form-control[type=checkbox]:not(:checked){border:1px solid #1155cb;border:1px solid var(--KCheckboxPrimary, var(--blue-500, #1155cb))}input.k-input[type=checkbox]:checked,input.form-control[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3Csvg width='13' height='11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.633 0L12 1.397 3.583 10 0 6.337 1.367 4.94l2.216 2.265z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E");border-color:#1155cb;border-color:var(--KCheckboxPrimary, var(--blue-500, #1155cb));background-color:currentColor;background-position:center;background-repeat:no-repeat}input.k-input[type=checkbox]:checked::-ms-check,input.form-control[type=checkbox]:checked::-ms-check{color:#fff;border:1px solid #1155cb;border:1px solid var(--KCheckboxPrimary, var(--blue-500, #1155cb));background-color:#1155cb;background-color:var(--KCheckboxPrimary, var(--blue-500, #1155cb))}input.k-input[type=checkbox]:hover,input.k-input[type=checkbox]:active,input.form-control[type=checkbox]:hover,input.form-control[type=checkbox]:active{border-color:#1155cb;border-color:var(--KCheckboxPrimary, var(--blue-500, #1155cb))}input.k-input[type=checkbox]:focus,input.form-control[type=checkbox]:focus{outline:none;border-color:#1155cb;border-color:var(--KCheckboxPrimary, var(--blue-500, #1155cb))}input.k-input[type=checkbox]:disabled:not(:checked),input.form-control[type=checkbox]:disabled:not(:checked){background-color:#f8f8fa;background-color:var(--KInputCheckboxDisabled, var(--grey-100, #f8f8fa));border:1px solid #b6b6bd;border:1px solid var(--KCheckboxDisabledChecked, var(--grey-400, #b6b6bd));border-radius:2px}input.k-input[type=checkbox]:disabled:checked,input.form-control[type=checkbox]:disabled:checked{background-color:#b6b6bd;background-color:var(--KCheckboxDisabledChecked, var(--grey-400, #b6b6bd))}input.k-input[type=radio],input.form-control[type=radio]{display:inline-flex;justify-content:center;align-items:center;height:20px;width:20px;color:#1155cb;color:var(--KRadioPrimary, var(--blue-500, #1155cb));border:2px solid #e7e7ec;border:2px solid var(--KInputBorder, var(--grey-300, #e7e7ec));border-radius:100%;margin:0 6px 0 0}input.k-input[type=radio]:checked,input.form-control[type=radio]:checked{border-color:currentColor;background-color:#fff;background-size:100% 100%;background-position:center;background-repeat:no-repeat}input.k-input[type=radio]:checked:after,input.form-control[type=radio]:checked:after{content:"";display:flex;height:10px;width:10px;background-color:currentColor;border-radius:100%}input.k-input[type=radio]:checked::-ms-check,input.form-control[type=radio]:checked::-ms-check{border:2px solid currentColor;color:currentColor}input.k-input[type=radio]:disabled,input.form-control[type=radio]:disabled{background-color:#f1f1f5;background-color:var(--KInputRadioDisabled, var(--grey-200, #f1f1f5))}.k-switch{display:inline-flex;align-items:center;cursor:pointer}.k-switch.switch-with-icon .switch-control{width:48px}.k-switch.switch-with-icon .kong-icon{height:20px;width:22px;left:57px}.k-switch.switch-with-icon input:checked+.switch-control:after{left:26px}.k-switch .switch-control{position:relative;display:block;width:44px;height:24px;margin-right:1rem;border-radius:12px;background-color:#b6b6bd;background-color:var(--KInputSwitchBackground, var(--grey-400, #b6b6bd));transition:.2s linear}.k-switch .switch-control.has-label-left{margin-right:0;margin-left:1rem}.k-switch .switch-control:after{position:absolute;top:2px;left:2px;display:block;width:20px;height:20px;border-radius:50%;background-color:#fff;background-color:var(--white, #ffffff);content:"";transition:.2s linear}.k-switch[disabled]:not(:disabled){cursor:not-allowed}.k-switch[disabled]:not(:disabled) .switch-control,.k-switch[disabled]:not(:disabled) input{opacity:.3;pointer-events:none}.k-switch input{display:none}.k-switch input:checked+.switch-control{background-color:#07a88d;background-color:var(--KInputSwitchOn, var(--green-500, #07a88d))}.k-switch input:checked+.switch-control:after{left:22px}.k-switch span{color:#000000b3;color:var(--KInputSwitchLabel, var(--black-70, rgba(0, 0, 0, .7)))}:root{--blue-100: #f2f6fe;--blue-200: #bdd3f9;--blue-300: #8ab3fa;--blue-400: #3972d5;--blue-500: #1155cb;--blue-600: #003694;--blue-700: #0a2b66;--petrol-100: #eaf4fb;--petrol-200: #0364ac;--purple-100: #d7d8fe;--purple-200: #bec0fd;--purple-300: #9396fc;--purple-400: #473cfb;--steel-100: #f0f4fa;--steel-200: #dae3f2;--steel-300: #a3b6d9;--steel-400: #7d91b3;--steel-500: #5c7299;--steel-600: #395380;--steel-700: #273c61;--red-100: #ffdede;--red-200: #ffcccc;--red-300: #ff9a99;--red-400: #ff7877;--red-500: #d44324;--red-600: #e50000;--red-700: #922021;--green-100: #e8f8f5;--green-200: #c0f2d5;--green-300: #84e5ae;--green-400: #42d782;--green-500: #07a88d;--green-600: #008871;--green-700: #13755e;--teal-100: #cdf1fe;--teal-200: #91e1fc;--teal-300: #169fcc;--teal-400: #0a7fae;--teal-500: #006e9d;--yellow-100: #fff3d8;--yellow-200: #ffe6ba;--yellow-300: #ffd68c;--yellow-400: #fabe5f;--yellow-500: #c67c06;--yellow-600: #a05604;--grey-100: #f8f8fa;--grey-200: #f1f1f5;--grey-300: #e7e7ec;--grey-400: #b6b6bd;--grey-500: #6f7787;--grey-600: #3c4557;--black-85: rgba(0, 0, 0, .85);--black-70: rgba(0, 0, 0, .7);--black-45: rgba(0, 0, 0, .45);--black-25: rgba(0, 0, 0, .25);--black-10: rgba(0, 0, 0, .1);--black-100: #dfdfdf;--black-200: #b1b2b1;--black-300: #6f7787;--black-400: #3c4557;--black-500: #0b172d;--white: #ffffff;--spacing-xxs: 4px;--spacing-xs: 8px;--spacing-sm: 12px;--spacing-md: 16px;--spacing-lg: 24px;--spacing-xl: 32px;--spacing-xxl: 48px;--spacing-xxxl: 64px;--type-xxxl: 32px;--type-xxl: 28px;--type-xl: 22px;--type-lg: 18px;--type-md: 16px;--type-sm: 14px;--type-xs: 12px;--type-xxs: 10px;--font-family-sans: sans-serif;--font-family-mono: monospace;font-weight:400;font-weight:var(--font-weight-normal, 400)}:root body{font-weight:400;font-weight:var(--font-weight-normal, 400)}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.bottom-0{bottom:0px}.right-0{right:0px}.left-0{left:0px}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-top:0;margin-bottom:0}.my-4{margin-top:1rem;margin-bottom:1rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mb-2{margin-bottom:.5rem}.mr-1{margin-right:.25rem}.mb-3{margin-bottom:.75rem}.mt-6{margin-top:1.5rem}.mt-4{margin-top:1rem}.ml-4{margin-left:1rem}.mb-1{margin-bottom:.25rem}.mt-2{margin-top:.5rem}.ml-1{margin-left:.25rem}.mt-1{margin-top:.25rem}.mr-2{margin-right:.5rem}.mt-16{margin-top:4rem}.mt-8{margin-top:2rem}.mb-4{margin-bottom:1rem}.mr-4{margin-right:1rem}.mt-3{margin-top:.75rem}.ml-3{margin-left:.75rem}.mb-12{margin-bottom:3rem}.mb-10{margin-bottom:2.5rem}.mt-10{margin-top:2.5rem}.mb-16{margin-bottom:4rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-4{height:1rem}.h-72{height:18rem}.h-40{height:10rem}.h-full{height:100%}.w-full{width:100%}.w-4{width:1rem}.w-72{width:18rem}.w-32{width:8rem}.flex-grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-pointer{cursor:pointer}.cursor-not-allowed{cursor:not-allowed}.cursor-help{cursor:help}.list-disc{list-style-type:disc}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-b{border-bottom-width:1px}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-10{padding:2.5rem}.p-12{padding:3rem}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pl-4{padding-left:1rem}.pb-12{padding-bottom:3rem}.pb-16{padding-bottom:4rem}.text-center{text-align:center}.text-right{text-align:right}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-5xl{font-size:3rem;line-height:1}.text-2xl{font-size:1.5rem;line-height:2rem}.font-medium{font-weight:500}.font-bold{font-weight:700}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width: 640px){.sm\:w-3\/4{width:75%}.sm\:w-3\/5{width:60%}.sm\:flex-row{flex-direction:row}}@media (min-width: 768px){.md\:w-3\/5{width:60%}}@media (min-width: 1024px){.lg\:w-1\/2{width:50%}.lg\:w-2\/5{width:40%}}:root{--base-font-family: Roboto, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;--code-font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;--base-font-size-root: 62.5%;--base-font-size: 15px;--font-weight-light: 400;--font-weight-bold: 700;--gray-1: #faf5f9;--gray-2: #dbbbd5;--gray-3: rgba(0, 0, 0, .45);--gray-4: #ebebeb;--gray-5: #f7f9fa;--gray-6: #fdfdfd;--gray-7: #f3f5f7;--blue-1: #2d64b3;--blue-2: #3d88f2;--blue-3: rgba(61, 136, 242, .07);--blue-4: #1155cb;--black-1: rgba(0, 0, 0, .75);--green-1: #1b9844;--logo-coral: #ee485d;--logo-teal: #00cdde;--logo-mint: #00e8c2;--logo-navy: #172350;--logo-green: #3db664;--logo-purple: #290b53;--logo-pink: #ff5d8c;--brand-color-1: var(--logo-coral);--brand-color-2: var(--logo-teal);--brand-color-3: var(--logo-mint);--brand-color-4: var(--logo-navy);--brand-color-5: var(--logo-green);--brand-color-6: var(--logo-purple);--brand-color-7: var(--logo-pink);--topbar-height: 60px;--global-content-max-width: 100rem;--sidebar-width: 240px;--sidebar-width-closed: 63px;--sidebar-bg-color: var(--gray-6);--subnavWidth: 280px;--core-theme-color: #290b53;--core-theme-color-light: rgba(41, 11, 83, .75);--core-theme-color-lighter: rgba(41, 11, 83, .08);--core-theme-color-dark: black;--core-theme-color-darker: black;--KButtonPrimaryBase: var(--core-theme-color);--KButtonPrimaryHover: var(--core-theme-color-light);--KButtonPrimaryActive: var(--core-theme-color-light);--KRadioPrimary: var(--core-theme-color);--KPopPaddingX: var(--spacing-md);--KPopPaddingY: var(--spacing-md);--LinkColorBase: var(--core-theme-color);--LinkColorHover: var(--core-theme-color-light);--MetricsCardBGColorHover: var(--core-theme-color-lighter);--WizardTabBGColor: var(--core-theme-color);--WizardTabTextColor: #fff;--KTabsActiveColor: var(--core-theme-color);--DataOverviewTableLinkColor: var(--core-theme-color);--MeshSelectorTitleColor: var(--core-theme-color-light);--MeshSelectorInputTextColor: var(--core-theme-color);--MeshSelectorInputBorderColor: var(--core-theme-color-lighter);--MeshSelectorInputBorderColorFocus: var(--core-theme-color-light);--LoaderProgressBarBG: var(--core-theme-color-light);--KEmptyStateContentWidth: 85%;--kuma-purple-1: #260D50;--kuma-purple-1-rgb: 38, 13, 80;--kuma-purple-2: #822DC5;--kuma-purple-2-rgb: 130, 45, 197;--kuma-gradient: var(--kuma-purple-1), var(--kuma-purple-2);--onboarding-green: #5da46f;--onboarding-green-darken: #539464;--onboarding-blueish: #f6f8fd;--onboarding-blueish-darken: #e1e8f8;--OnboardingTitle: var(--kuma-gradient);--OnboardingRadio: var(--onboarding-green);--OnboardingPageGraphBackground: var(--onboarding-blueish);--OnboardingNextButton: var(--onboarding-green);--OnboardingNextButtonHover: var(--onboarding-green-darken);--OnboardingBackButton: var(--onboarding-blueish);--OnboardingBackButtonHover: var(--onboarding-blueish-darken);--OnboardingSkipSetupButton: rgba(var(--kuma-purple-1-rgb), .3);--OnbordingBoxBorder: #7b2bbc;--OnboardingLoading: var(--kuma-purple-2-rgb);--OnboardingShadow: 4px 4px 14px 4px rgba(103, 71, 128, .11)}.kutil-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.kutil-img-full{max-width:100%;width:100%;height:auto}.kutil-img-fluid{max-width:100%;height:auto}.kutil-clear-text{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.kutil-quotify{quotes:"\201c" "\201d" "\2018" "\2019"}.kutil-quotify:before{content:open-quote}.kutil-quotify:after{content:close-quote}.kutil-sticky{position:-webkit-sticky;position:sticky;top:0}.kutil-sticky:before,.kutil-sticky:after{content:"";display:table}.capitalize{display:inline-block;text-transform:capitalize}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-uppercase{text-transform:uppercase}.text-italic{font-style:italic}.font-normal{font-weight:400}.font-light{font-weight:100}.font-semibold{font-weight:500}.font-bold{font-weight:700}.badge{display:inline-block;padding:.25rem .4rem;font-size:75%;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem}.top-border{padding-top:1.5rem;border-top:1px solid var(--black-10)}.bottom-border{padding-bottom:1.5rem;border-bottom:1px solid var(--black-10)}.text-muted{color:var(--black-45)!important}.text-danger{color:var(--red-500)!important}.h-100{height:100%}.h-screen{min-height:100vh}code.inline{margin:0;border-radius:.25rem;padding:.25rem .5rem;font-size:.875rem;line-height:1.25rem;background-color:var(--gray-1)}code.block{margin-top:1rem;margin-bottom:1rem;overflow:auto;border-radius:.375rem;padding:1rem;font-size:.875rem;line-height:1.25rem;background-color:var(--gray-1);border:1px solid var(--gray-4)}@font-face{font-family:Roboto;src:url(./Roboto-Thin.61b96427.woff2?v=2.137) format("woff2"),url(./Roboto-Thin.b0193a31.woff?v=2.137) format("woff");font-weight:100;font-style:normal}@font-face{font-family:Roboto;src:url(./Roboto-ThinItalic.c5ace262.woff2?v=2.137) format("woff2"),url(./Roboto-ThinItalic.bde6ad8b.woff?v=2.137) format("woff");font-weight:100;font-style:italic}@font-face{font-family:Roboto;src:url(./Roboto-Light.1d8f5280.woff2?v=2.137) format("woff2"),url(./Roboto-Light.6fa3f9aa.woff?v=2.137) format("woff");font-weight:300;font-style:normal}@font-face{font-family:Roboto;src:url(./Roboto-LightItalic.9934fa0f.woff2?v=2.137) format("woff2"),url(./Roboto-LightItalic.a5a008e0.woff?v=2.137) format("woff");font-weight:300;font-style:italic}@font-face{font-family:Roboto;src:url(./Roboto-Regular.47107401.woff2?v=2.137) format("woff2"),url(./Roboto-Regular.b285944c.woff?v=2.137) format("woff");font-weight:400;font-style:normal}@font-face{font-family:Roboto;src:url(./Roboto-Italic.884e654c.woff2?v=2.137) format("woff2"),url(./Roboto-Italic.aad7b1af.woff?v=2.137) format("woff");font-weight:400;font-style:italic}@font-face{font-family:Roboto;src:url(./Roboto-Medium.96025fe9.woff2?v=2.137) format("woff2"),url(./Roboto-Medium.28404353.woff?v=2.137) format("woff");font-weight:500;font-style:normal}@font-face{font-family:Roboto;src:url(./Roboto-MediumItalic.160a7cf4.woff2?v=2.137) format("woff2"),url(./Roboto-MediumItalic.71648778.woff?v=2.137) format("woff");font-weight:500;font-style:italic}@font-face{font-family:Roboto;src:url(./Roboto-Bold.8e44376b.woff2?v=2.137) format("woff2"),url(./Roboto-Bold.efc87488.woff?v=2.137) format("woff");font-weight:700;font-style:normal}@font-face{font-family:Roboto;src:url(./Roboto-BoldItalic.c9d5a0e6.woff2?v=2.137) format("woff2"),url(./Roboto-BoldItalic.cc3680f4.woff?v=2.137) format("woff");font-weight:700;font-style:italic}@font-face{font-family:Roboto;src:url(./Roboto-Black.41e55c25.woff2?v=2.137) format("woff2"),url(./Roboto-Black.b8e8e841.woff?v=2.137) format("woff");font-weight:900;font-style:normal}@font-face{font-family:Roboto;src:url(./Roboto-BlackItalic.0aea9779.woff2?v=2.137) format("woff2"),url(./Roboto-BlackItalic.11cf0708.woff?v=2.137) format("woff");font-weight:900;font-style:italic}@font-face{font-family:Roboto Mono;src:url(./RobotoMono-Regular.c7ab2d73.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:Roboto Mono;src:url(./RobotoMono-Medium.30c29a9c.ttf) format("truetype");font-weight:500;font-style:normal}@font-face{font-family:Roboto Mono;src:url(./RobotoMono-Bold.69fdf4ef.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:url(./MaterialIcons-Regular.8c998b4a.eot);src:local("Material Icons"),local("MaterialIcons-Regular"),url(./MaterialIcons-Regular.a87d66c9.woff2) format("woff2"),url(./MaterialIcons-Regular.c4a1baec.woff) format("woff"),url(./MaterialIcons-Regular.b7f4a3ab.ttf) format("truetype")}body{padding-top:var(--topbar-height, initial);font-family:var(--base-font-family)}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:none}.title-3x{font-size:var(--type-xxxl)}.title-2x{font-size:var(--type-xxl)}.title-1x{font-size:var(--type-xl)}a[href]{text-decoration:underline}a:link,a:visited{color:var(--LinkColorBase)}a:hover,a:active,a:focus{color:var(--LinkColorHover)}select{appearance:none;border-radius:3px;border:1px solid rgba(23,130,207,.35);font-size:16px;color:var(--blue-4);line-height:20px;padding:10px 30px 10px 13px;background-color:#fff;background-image:url(./chevron-down.d32f03bb.svg?url);background-position:calc(100% - 13px) 50%;background-repeat:no-repeat}.k-button,button,[type=button]{transition:none!important}.code-sample{font-family:var(--code-font-family)}.form-container{-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%;padding-right:15px;padding-left:15px;margin:0 auto}@media (max-width: 1200px){.form-container{-webkit-box-flex:0;-webkit-flex:0 0 70%;-ms-flex:0 0 70%;flex:0 0 70%;max-width:70%}}@media (max-width: 860px){.form-container{-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}}.vue-form-generator .form-control{border:1px solid rgba(0,0,0,.12);box-shadow:none;color:#000000b3}.vue-form-generator .form-group,.form-group{margin-bottom:1.5rem}.vue-form-generator .form-group:last-child,.form-group:last-child{margin-bottom:2rem}.vue-form-generator .field-advanced{margin-top:-.5rem;margin-bottom:.5rem}.vue-form-generator .field-advanced .form-group:last-child{margin-bottom:1rem}.top-border{padding-top:1.5rem;border-top:1px solid rgba(0,0,0,.08)}.bottom-border{padding-bottom:1.5rem;border-bottom:1px solid rgba(0,0,0,.08)}.form-control{font-size:15px;color:#000000b3;border-color:#0000001f;border-radius:3px;border-width:1px}.form-control:focus{outline:none;border:1px solid #80caff}.form-control:disabled{background-color:#f7f7f7;opacity:.75}.form-control.has-error{border:1px solid #ff8280}.vue-form-generator .form-group.hide-label>label{display:none}.vue-form-generator .form-group label{font-weight:500}.form-group label{font-size:14px;font-weight:500;color:#262626;margin:0 0 8px;width:100%}.form-group label small{float:right;font-size:14px;font-style:italic;font-weight:400;color:#00000080}.form-group.required>label:after{display:none}.form-group.optional>label,.form-group.semi-optional>label{position:relative;width:100%}.form-group.optional>label:after,.form-group.semi-optional>label:after{position:absolute;display:block;top:0;right:0;font-size:14px;font-style:italic;font-weight:400;color:#00000080}.form-group.optional>label:after{content:"Optional"}.form-group.semi-optional>label:after{content:"Semi-Optional"}.vue-form-generator span.help .icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiI+ICA8cGF0aCBmaWxsPSIjMDA4NkU2IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik02IDExYy0yLjc2MSAwLTUtMi4yMzktNS01czIuMjM5LTUgNS01IDUgMi4yMzkgNSA1LTIuMjM5IDUtNSA1TTYgMEMyLjY4NiAwIDAgMi42ODYgMCA2czIuNjg2IDYgNiA2IDYtMi42ODYgNi02LTIuNjg2LTYtNi02bTAgM2MtMS4xMDUgMC0yIC44OTUtMiAyaDFjMC0uNTUyLjQ0OC0xIDEtMXMxIC40NDggMSAxLS40NDggMS0xIDEtMSAuNDQ4LTEgMWgxYzEuMTA1IDAgMi0uODk1IDItMnMtLjg5NS0yLTItMnpNNSA5aDJWOEg1djF6Ii8+PC9zdmc+);width:.75rem;height:.75rem}.vue-form-generator span.help .helpText{left:-108px;width:224px;padding:.5rem .75rem;color:#000000bf;font-weight:400;font-size:14px;text-align:left;border:1px solid #d6d6d6;border-radius:4px;background-color:#fff;box-shadow:0 0 4px #0000001f;z-index:900}.vue-form-generator span.help .helpText:before,.vue-form-generator span.help .helpText:after{position:absolute;top:100%;left:50%;height:0;width:0;border:solid transparent;pointer-events:none;content:" "}.vue-form-generator span.help .helpText:before{border-top-color:#d6d6d6;border-width:13px;margin-left:-13px}.vue-form-generator span.help .helpText:after{border-top-color:#fff;border-width:12px;margin-left:-12px}.hint{font-size:small;margin-top:5px;margin-bottom:10px;opacity:.6}.option-field{padding-left:1.5rem;width:100%}.option-field .form-group:last-child{margin-bottom:0}.custom-control-indicator{background-color:#0000001f}.custom-control-input:checked~.custom-control-indicator{background-color:#3295fc}.custom-control-input:focus~.custom-control-indicator{box-shadow:0 0 0 1px #fff,0 0 0 3px #3295fc}.form-group label{font-size:14px;font-weight:500;color:#262626;margin:0 0 8px}.form-group .field-wrap input[type=checkbox],.form-control .list-row input[type=checkbox],.form-check-input{appearance:none;-moz-appearance:none;-webkit-appearance:none;position:relative;vertical-align:middle;display:inline-block;justify-content:center;align-items:center}.form-group .field-wrap input[type=checkbox]:focus,.form-control .list-row input[type=checkbox]:focus,.form-check-input:focus{outline:none}.form-group .field-wrap input[type=checkbox]:before,.form-control .list-row input[type=checkbox]:before,.form-check-input:before{content:"";display:inline-block;height:16px;width:16px;border:1px solid #BFBFBF;border-radius:2px;margin-right:5px;background:#fff}.form-group .field-wrap input[type=checkbox]:checked:before,.form-control .list-row input[type=checkbox]:checked:before,.form-check-input:checked:before{background-color:#3295fc;border-color:#3295fc}.form-group .field-wrap input[type=checkbox]:checked:after,.form-control .list-row input[type=checkbox]:checked:after,.form-check-input:checked:after{content:"";position:absolute;top:4px;left:4px;display:inline-block;height:6px;width:9px;color:#fff;border-left:2px solid;border-bottom:2px solid;transform:rotate(-45deg)}.form-group .field-wrap input[type=checkbox]::-ms-check,.form-control .list-row input[type=checkbox]::-ms-check,.form-check-input::-ms-check{display:inline-block;height:16px;width:16px;border:1px solid #BFBFBF;border-radius:2px;margin-right:5px}.form-group .field-wrap input[type=checkbox]:checked::-ms-check,.form-control .list-row input[type=checkbox]:checked::-ms-check,.form-check-input:checked::-ms-check{color:#fff;background-color:#3295fc}.form-group.required input[type=checkbox],.form-group [required=required]{box-shadow:none}.form-control label,.form-control input[type=checkbox]{vertical-align:middle;line-height:1rem}.form-inline .form-check-input{margin-top:.25rem}.vue-form-generator .form-group.field-checkbox label{margin-top:-5px}.vue-form-generator .field-switch .field-wrap input[type=checkbox]{position:absolute}.vue-form-generator .field-switch .field-wrap label{width:42px;height:20px;margin:0}.vue-form-generator .field-switch input:checked~.label{background:#2196F3;box-shadow:none}.vue-form-generator .field-switch .label{background:#ccc}.vue-form-generator .field-switch .label:before,.vue-form-generator .field-switch .label:after{color:#000000b3;text-shadow:none;margin-left:42px;font-size:14px;left:18px;font-weight:400;text-transform:none;font-family:Roboto;width:max-content}.vue-form-generator .field-switch .handle{width:17px;height:17px}.vue-form-generator .field-switch input:checked~.handle{left:calc(100% - 18px)}.vue-form-generator .field-switch .handle:before{background:none;box-shadow:none}.entity-status{display:flex;align-items:center;letter-spacing:0;line-height:20px}.entity-status[class^=is-]:before{content:"";display:block;margin-right:6px;border:4px solid currentColor;border-radius:50%}.entity-status.is-online{color:var(--green-400)}.entity-status.is-offline{color:var(--red-600)}.entity-status.is-degraded{color:#ff8040}.entity-status.is-not-available{color:var(--grey-500)}.kong-icon--centered{display:block;margin:0 auto 10px;text-align:center}@media screen and (min-width: 1024px){.k-card--small{max-width:65%}}.empty-state-wrapper{padding:2rem 0!important}.k-tabs .tab-container{outline:0!important}.k-modal .modal-body{max-height:calc(100vh - 250px);overflow-y:auto}.k-modal .k-modal-content .k-modal-body.k-modal-body.content-left{margin-right:0}.k-modal .modal-body,.k-modal .modal-header,.k-modal .modal-footer{padding:4px}.k-popover{z-index:2000!important}.k-popover .k-badge{display:inline}.help-icon{--i: 22px;display:inline-block;margin:0 8px;width:var(--i)}.help-icon a{display:inline-block;width:var(--i);height:var(--i);line-height:var(--i);border-radius:100%;color:#fff;text-decoration:none;text-align:center;font-size:12px;background-color:var(--gray-2);cursor:pointer}.custom-control-icon{display:inline-flex;justify-content:center;align-items:center;height:1rem;width:1rem;margin-right:var(--spacing-xs);font-size:var(--type-lg)}.external-link-btn{display:inline-flex;align-items:center;padding:var(--spacing-xs) var(--spacing-sm);font-family:var(--font-family-sans);font-size:1rem;font-weight:400;line-height:1.25;vertical-align:middle;border:1px solid transparent;border-radius:3px;cursor:pointer;color:#fff!important;background-color:var(--KButtonPrimaryBase);text-decoration:none!important}.external-link-btn:after{display:inline-block;content:"\203a";margin-left:5px}.external-link-btn:hover{background-color:#0089eb}.external-link-code-block{display:block;padding:1rem;font-size:.875rem;line-height:1.25rem;font-family:var(--code-font-family);background-color:var(--grey-100)}.welcome{max-width:640px;margin-left:auto;margin-right:auto}.notification-amount{position:absolute;display:flex;height:1rem;width:1rem;align-items:center;justify-content:center;border-radius:9999px;border-width:1px;--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity));font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));background:var(--yellow-300);top:-8px;right:-8px}.k-badge{--KBadgeFontSize: 1.2em;--KBadgePaddingY: var(--spacing-xs);--KBadgePaddingX: var(--spacing-sm)}.k-button.outline{outline:none}.k-button .kong-icon{display:flex;align-items:center;width:1rem;height:1rem}.k-table.k-table tbody td{white-space:normal}.k-dropdown-popover{cursor:initial}.component-frame{border:1px solid var(--gray-4);border-radius:3px}.card-icon{text-align:center}.card-icon img,.card-icon svg{display:block;margin-left:auto;margin-right:auto}.fade-enter-active,.fade-leave-active{transition:opacity .2s linear}.fade-enter,.fade-leave-to{opacity:0} diff --git a/app/kuma-ui/pkg/resources/data/assets/index.09f51eb8.js b/app/kuma-ui/pkg/resources/data/assets/index.47c8bf16.js similarity index 85% rename from app/kuma-ui/pkg/resources/data/assets/index.09f51eb8.js rename to app/kuma-ui/pkg/resources/data/assets/index.47c8bf16.js index 146a801aaf17..fc2d3a524adf 100644 --- a/app/kuma-ui/pkg/resources/data/assets/index.09f51eb8.js +++ b/app/kuma-ui/pkg/resources/data/assets/index.47c8bf16.js @@ -1,10 +1,10 @@ -var $2=Object.defineProperty;var B2=(t,r,e)=>r in t?$2(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e;var wi=(t,r,e)=>(B2(t,typeof r!="symbol"?r+"":r,e),e);(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))i(n);new MutationObserver(n=>{for(const s of n)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function e(n){const s={};return n.integrity&&(s.integrity=n.integrity),n.referrerpolicy&&(s.referrerPolicy=n.referrerpolicy),n.crossorigin==="use-credentials"?s.credentials="include":n.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(n){if(n.ep)return;n.ep=!0;const s=e(n);fetch(n.href,s)}})();const L2="modulepreload",F2=function(t,r){return new URL(t,r).href},ap={},nt=function(r,e,i){if(!e||e.length===0)return r();const n=document.getElementsByTagName("link");return Promise.all(e.map(s=>{if(s=F2(s,i),s in ap)return;ap[s]=!0;const a=s.endsWith(".css"),o=a?'[rel="stylesheet"]':"";if(!!i)for(let c=n.length-1;c>=0;c--){const h=n[c];if(h.href===s&&(!a||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${o}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":L2,a||(u.as="script",u.crossOrigin=""),u.href=s,document.head.appendChild(u),a)return new Promise((c,h)=>{u.addEventListener("load",c),u.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>r())};function dd(t,r){const e=Object.create(null),i=t.split(",");for(let n=0;n!!e[n.toLowerCase()]:n=>!!e[n]}const R2="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",V2=dd(R2);function Bm(t){return!!t||t===""}function cr(t){if(Ie(t)){const r={};for(let e=0;e{if(e){const i=e.split(j2);i.length>1&&(r[i[0].trim()]=i[1].trim())}}),r}function ue(t){let r="";if(Vt(t))r=t;else if(Ie(t))for(let e=0;ehs(e,r))}const re=t=>Vt(t)?t:t==null?"":Ie(t)||St(t)&&(t.toString===Rm||!je(t.toString))?JSON.stringify(t,Lm,2):String(t),Lm=(t,r)=>r&&r.__v_isRef?Lm(t,r.value):as(r)?{[`Map(${r.size})`]:[...r.entries()].reduce((e,[i,n])=>(e[`${i} =>`]=n,e),{})}:mu(r)?{[`Set(${r.size})`]:[...r.values()]}:St(r)&&!Ie(r)&&!Vm(r)?String(r):r,bt={},ss=[],Wr=()=>{},W2=()=>!1,Y2=/^on[^a-z]/,vu=t=>Y2.test(t),fd=t=>t.startsWith("onUpdate:"),qt=Object.assign,pd=(t,r)=>{const e=t.indexOf(r);e>-1&&t.splice(e,1)},G2=Object.prototype.hasOwnProperty,qe=(t,r)=>G2.call(t,r),Ie=Array.isArray,as=t=>ho(t)==="[object Map]",mu=t=>ho(t)==="[object Set]",op=t=>ho(t)==="[object Date]",je=t=>typeof t=="function",Vt=t=>typeof t=="string",Na=t=>typeof t=="symbol",St=t=>t!==null&&typeof t=="object",Fm=t=>St(t)&&je(t.then)&&je(t.catch),Rm=Object.prototype.toString,ho=t=>Rm.call(t),Z2=t=>ho(t).slice(8,-1),Vm=t=>ho(t)==="[object Object]",gd=t=>Vt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,rl=dd(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),yu=t=>{const r=Object.create(null);return e=>r[e]||(r[e]=t(e))},q2=/-(\w)/g,di=yu(t=>t.replace(q2,(r,e)=>e?e.toUpperCase():"")),Q2=/\B([A-Z])/g,Fn=yu(t=>t.replace(Q2,"-$1").toLowerCase()),bu=yu(t=>t.charAt(0).toUpperCase()+t.slice(1)),il=yu(t=>t?`on${bu(t)}`:""),ja=(t,r)=>!Object.is(t,r),nl=(t,r)=>{for(let e=0;e{Object.defineProperty(t,r,{configurable:!0,enumerable:!1,value:e})},Ha=t=>{const r=parseFloat(t);return isNaN(r)?t:r};let lp;const X2=()=>lp||(lp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let ii;class Nm{constructor(r=!1){this.detached=r,this.active=!0,this.effects=[],this.cleanups=[],this.parent=ii,!r&&ii&&(this.index=(ii.scopes||(ii.scopes=[])).push(this)-1)}run(r){if(this.active){const e=ii;try{return ii=this,r()}finally{ii=e}}}on(){ii=this}off(){ii=this.parent}stop(r){if(this.active){let e,i;for(e=0,i=this.effects.length;e{const r=new Set(t);return r.w=0,r.n=0,r},jm=t=>(t.w&an)>0,Hm=t=>(t.n&an)>0,t_=({deps:t})=>{if(t.length)for(let r=0;r{const{deps:r}=t;if(r.length){let e=0;for(let i=0;i{(u==="length"||u>=i)&&o.push(l)});else switch(e!==void 0&&o.push(a.get(e)),r){case"add":Ie(t)?gd(e)&&o.push(a.get("length")):(o.push(a.get(Tn)),as(t)&&o.push(a.get(sh)));break;case"delete":Ie(t)||(o.push(a.get(Tn)),as(t)&&o.push(a.get(sh)));break;case"set":as(t)&&o.push(a.get(Tn));break}if(o.length===1)o[0]&&ah(o[0]);else{const l=[];for(const u of o)u&&l.push(...u);ah(vd(l))}}function ah(t,r){const e=Ie(t)?t:[...t];for(const i of e)i.computed&&cp(i);for(const i of e)i.computed||cp(i)}function cp(t,r){(t!==Ur||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const i_=dd("__proto__,__v_isRef,__isVue"),Km=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Na)),n_=yd(),s_=yd(!1,!0),a_=yd(!0),hp=o_();function o_(){const t={};return["includes","indexOf","lastIndexOf"].forEach(r=>{t[r]=function(...e){const i=ot(this);for(let s=0,a=this.length;s{t[r]=function(...e){Ts();const i=ot(this)[r].apply(this,e);return Es(),i}}),t}function yd(t=!1,r=!1){return function(i,n,s){if(n==="__v_isReactive")return!t;if(n==="__v_isReadonly")return t;if(n==="__v_isShallow")return r;if(n==="__v_raw"&&s===(t?r?P_:qm:r?Zm:Gm).get(i))return i;const a=Ie(i);if(!t&&a&&qe(hp,n))return Reflect.get(hp,n,s);const o=Reflect.get(i,n,s);return(Na(n)?Km.has(n):i_(n))||(t||Pr(i,"get",n),r)?o:Zt(o)?a&&gd(n)?o:o.value:St(o)?t?Qm(o):gi(o):o}}const l_=Wm(),u_=Wm(!0);function Wm(t=!1){return function(e,i,n,s){let a=e[i];if(Dn(a)&&Zt(a)&&!Zt(n))return!1;if(!t&&(!xl(n)&&!Dn(n)&&(a=ot(a),n=ot(n)),!Ie(e)&&Zt(a)&&!Zt(n)))return a.value=n,!0;const o=Ie(e)&&gd(i)?Number(i)t,_u=t=>Reflect.getPrototypeOf(t);function Io(t,r,e=!1,i=!1){t=t.__v_raw;const n=ot(t),s=ot(r);e||(r!==s&&Pr(n,"get",r),Pr(n,"get",s));const{has:a}=_u(n),o=i?bd:e?Sd:za;if(a.call(n,r))return o(t.get(r));if(a.call(n,s))return o(t.get(s));t!==n&&t.get(r)}function Mo(t,r=!1){const e=this.__v_raw,i=ot(e),n=ot(t);return r||(t!==n&&Pr(i,"has",t),Pr(i,"has",n)),t===n?e.has(t):e.has(t)||e.has(n)}function Ao(t,r=!1){return t=t.__v_raw,!r&&Pr(ot(t),"iterate",Tn),Reflect.get(t,"size",t)}function dp(t){t=ot(t);const r=ot(this);return _u(r).has.call(r,t)||(r.add(t),Ai(r,"add",t,t)),this}function fp(t,r){r=ot(r);const e=ot(this),{has:i,get:n}=_u(e);let s=i.call(e,t);s||(t=ot(t),s=i.call(e,t));const a=n.call(e,t);return e.set(t,r),s?ja(r,a)&&Ai(e,"set",t,r):Ai(e,"add",t,r),this}function pp(t){const r=ot(this),{has:e,get:i}=_u(r);let n=e.call(r,t);n||(t=ot(t),n=e.call(r,t)),i&&i.call(r,t);const s=r.delete(t);return n&&Ai(r,"delete",t,void 0),s}function gp(){const t=ot(this),r=t.size!==0,e=t.clear();return r&&Ai(t,"clear",void 0,void 0),e}function $o(t,r){return function(i,n){const s=this,a=s.__v_raw,o=ot(a),l=r?bd:t?Sd:za;return!t&&Pr(o,"iterate",Tn),a.forEach((u,c)=>i.call(n,l(u),l(c),s))}}function Bo(t,r,e){return function(...i){const n=this.__v_raw,s=ot(n),a=as(s),o=t==="entries"||t===Symbol.iterator&&a,l=t==="keys"&&a,u=n[t](...i),c=e?bd:r?Sd:za;return!r&&Pr(s,"iterate",l?sh:Tn),{next(){const{value:h,done:d}=u.next();return d?{value:h,done:d}:{value:o?[c(h[0]),c(h[1])]:c(h),done:d}},[Symbol.iterator](){return this}}}}function ji(t){return function(...r){return t==="delete"?!1:this}}function g_(){const t={get(s){return Io(this,s)},get size(){return Ao(this)},has:Mo,add:dp,set:fp,delete:pp,clear:gp,forEach:$o(!1,!1)},r={get(s){return Io(this,s,!1,!0)},get size(){return Ao(this)},has:Mo,add:dp,set:fp,delete:pp,clear:gp,forEach:$o(!1,!0)},e={get(s){return Io(this,s,!0)},get size(){return Ao(this,!0)},has(s){return Mo.call(this,s,!0)},add:ji("add"),set:ji("set"),delete:ji("delete"),clear:ji("clear"),forEach:$o(!0,!1)},i={get(s){return Io(this,s,!0,!0)},get size(){return Ao(this,!0)},has(s){return Mo.call(this,s,!0)},add:ji("add"),set:ji("set"),delete:ji("delete"),clear:ji("clear"),forEach:$o(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=Bo(s,!1,!1),e[s]=Bo(s,!0,!1),r[s]=Bo(s,!1,!0),i[s]=Bo(s,!0,!0)}),[t,e,r,i]}const[v_,m_,y_,b_]=g_();function _d(t,r){const e=r?t?b_:y_:t?m_:v_;return(i,n,s)=>n==="__v_isReactive"?!t:n==="__v_isReadonly"?t:n==="__v_raw"?i:Reflect.get(qe(e,n)&&n in i?e:i,n,s)}const __={get:_d(!1,!1)},w_={get:_d(!1,!0)},S_={get:_d(!0,!1)},Gm=new WeakMap,Zm=new WeakMap,qm=new WeakMap,P_=new WeakMap;function C_(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function O_(t){return t.__v_skip||!Object.isExtensible(t)?0:C_(Z2(t))}function gi(t){return Dn(t)?t:wd(t,!1,Ym,__,Gm)}function k_(t){return wd(t,!1,p_,w_,Zm)}function Qm(t){return wd(t,!0,f_,S_,qm)}function wd(t,r,e,i,n){if(!St(t)||t.__v_raw&&!(r&&t.__v_isReactive))return t;const s=n.get(t);if(s)return s;const a=O_(t);if(a===0)return t;const o=new Proxy(t,a===2?i:e);return n.set(t,o),o}function os(t){return Dn(t)?os(t.__v_raw):!!(t&&t.__v_isReactive)}function Dn(t){return!!(t&&t.__v_isReadonly)}function xl(t){return!!(t&&t.__v_isShallow)}function Xm(t){return os(t)||Dn(t)}function ot(t){const r=t&&t.__v_raw;return r?ot(r):t}function Jm(t){return El(t,"__v_skip",!0),t}const za=t=>St(t)?gi(t):t,Sd=t=>St(t)?Qm(t):t;function e0(t){Ji&&Ur&&(t=ot(t),Um(t.dep||(t.dep=vd())))}function t0(t,r){t=ot(t),t.dep&&ah(t.dep)}function Zt(t){return!!(t&&t.__v_isRef===!0)}function j(t){return r0(t,!1)}function T_(t){return r0(t,!0)}function r0(t,r){return Zt(t)?t:new E_(t,r)}class E_{constructor(r,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?r:ot(r),this._value=e?r:za(r)}get value(){return e0(this),this._value}set value(r){const e=this.__v_isShallow||xl(r)||Dn(r);r=e?r:ot(r),ja(r,this._rawValue)&&(this._rawValue=r,this._value=e?r:za(r),t0(this))}}function ie(t){return Zt(t)?t.value:t}const x_={get:(t,r,e)=>ie(Reflect.get(t,r,e)),set:(t,r,e,i)=>{const n=t[r];return Zt(n)&&!Zt(e)?(n.value=e,!0):Reflect.set(t,r,e,i)}};function i0(t){return os(t)?t:new Proxy(t,x_)}function n0(t){const r=Ie(t)?new Array(t.length):{};for(const e in t)r[e]=I_(t,e);return r}class D_{constructor(r,e,i){this._object=r,this._key=e,this._defaultValue=i,this.__v_isRef=!0}get value(){const r=this._object[this._key];return r===void 0?this._defaultValue:r}set value(r){this._object[this._key]=r}}function I_(t,r,e){const i=t[r];return Zt(i)?i:new D_(t,r,e)}var s0;class M_{constructor(r,e,i,n){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this[s0]=!1,this._dirty=!0,this.effect=new md(r,()=>{this._dirty||(this._dirty=!0,t0(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=i}get value(){const r=ot(this);return e0(r),(r._dirty||!r._cacheable)&&(r._dirty=!1,r._value=r.effect.run()),r._value}set value(r){this._setter(r)}}s0="__v_isReadonly";function A_(t,r,e=!1){let i,n;const s=je(t);return s?(i=t,n=Wr):(i=t.get,n=t.set),new M_(i,n,s||!n,e)}function en(t,r,e,i){let n;try{n=i?t(...i):t()}catch(s){wu(s,r,e)}return n}function Mr(t,r,e,i){if(je(t)){const s=en(t,r,e,i);return s&&Fm(s)&&s.catch(a=>{wu(a,r,e)}),s}const n=[];for(let s=0;s>>1;Ka(Jt[i])oi&&Jt.splice(r,1)}function F_(t){Ie(t)?ls.push(...t):(!Oi||!Oi.includes(t,t.allowRecurse?Pn+1:Pn))&&ls.push(t),o0()}function vp(t,r=Ua?oi+1:0){for(;rKa(e)-Ka(i)),Pn=0;Pnt.id==null?1/0:t.id,R_=(t,r)=>{const e=Ka(t)-Ka(r);if(e===0){if(t.pre&&!r.pre)return-1;if(r.pre&&!t.pre)return 1}return e};function u0(t){oh=!1,Ua=!0,Jt.sort(R_);const r=Wr;try{for(oi=0;oif.trim())),h&&(n=e.map(Ha))}let o,l=i[o=il(r)]||i[o=il(di(r))];!l&&s&&(l=i[o=il(Fn(r))]),l&&Mr(l,t,6,n);const u=i[o+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[o])return;t.emitted[o]=!0,Mr(u,t,6,n)}}function c0(t,r,e=!1){const i=r.emitsCache,n=i.get(t);if(n!==void 0)return n;const s=t.emits;let a={},o=!1;if(!je(t)){const l=u=>{const c=c0(u,r,!0);c&&(o=!0,qt(a,c))};!e&&r.mixins.length&&r.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!s&&!o?(St(t)&&i.set(t,null),null):(Ie(s)?s.forEach(l=>a[l]=null):qt(a,s),St(t)&&i.set(t,a),a)}function Su(t,r){return!t||!vu(r)?!1:(r=r.slice(2).replace(/Once$/,""),qe(t,r[0].toLowerCase()+r.slice(1))||qe(t,Fn(r))||qe(t,r))}let er=null,Pu=null;function Dl(t){const r=er;return er=t,Pu=t&&t.type.__scopeId||null,r}function Nr(t){Pu=t}function jr(){Pu=null}function se(t,r=er,e){if(!r||t._n)return t;const i=(...n)=>{i._d&&xp(-1);const s=Dl(r);let a;try{a=t(...n)}finally{Dl(s),i._d&&xp(1)}return a};return i._n=!0,i._c=!0,i._d=!0,i}function rc(t){const{type:r,vnode:e,proxy:i,withProxy:n,props:s,propsOptions:[a],slots:o,attrs:l,emit:u,render:c,renderCache:h,data:d,setupState:f,ctx:p,inheritAttrs:g}=t;let v,y;const m=Dl(t);try{if(e.shapeFlag&4){const C=n||i;v=ni(c.call(C,C,h,s,f,d,p)),y=l}else{const C=r;v=ni(C.length>1?C(s,{attrs:l,slots:o,emit:u}):C(s,null)),y=r.props?l:N_(l)}}catch(C){Pa.length=0,wu(C,t,1),v=Z($r)}let w=v;if(y&&g!==!1){const C=Object.keys(y),{shapeFlag:P}=w;C.length&&P&7&&(a&&C.some(fd)&&(y=j_(y,a)),w=on(w,y))}return e.dirs&&(w=on(w),w.dirs=w.dirs?w.dirs.concat(e.dirs):e.dirs),e.transition&&(w.transition=e.transition),v=w,Dl(m),v}const N_=t=>{let r;for(const e in t)(e==="class"||e==="style"||vu(e))&&((r||(r={}))[e]=t[e]);return r},j_=(t,r)=>{const e={};for(const i in t)(!fd(i)||!(i.slice(9)in r))&&(e[i]=t[i]);return e};function H_(t,r,e){const{props:i,children:n,component:s}=t,{props:a,children:o,patchFlag:l}=r,u=s.emitsOptions;if(r.dirs||r.transition)return!0;if(e&&l>=0){if(l&1024)return!0;if(l&16)return i?mp(i,a,u):!!a;if(l&8){const c=r.dynamicProps;for(let h=0;ht.__isSuspense;function K_(t,r){r&&r.pendingBranch?Ie(t)?r.effects.push(...t):r.effects.push(t):F_(t)}function wa(t,r){if(zt){let e=zt.provides;const i=zt.parent&&zt.parent.provides;i===e&&(e=zt.provides=Object.create(i)),e[t]=r}}function Ar(t,r,e=!1){const i=zt||er;if(i){const n=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(n&&t in n)return n[t];if(arguments.length>1)return e&&je(r)?r.call(i.proxy):r}}function h0(t,r){return Od(t,null,r)}const yp={};function Ye(t,r,e){return Od(t,r,e)}function Od(t,r,{immediate:e,deep:i,flush:n,onTrack:s,onTrigger:a}=bt){const o=zt;let l,u=!1,c=!1;if(Zt(t)?(l=()=>t.value,u=xl(t)):os(t)?(l=()=>t,i=!0):Ie(t)?(c=!0,u=t.some(y=>os(y)||xl(y)),l=()=>t.map(y=>{if(Zt(y))return y.value;if(os(y))return kn(y);if(je(y))return en(y,o,2)})):je(t)?r?l=()=>en(t,o,2):l=()=>{if(!(o&&o.isUnmounted))return h&&h(),Mr(t,o,3,[d])}:l=Wr,r&&i){const y=l;l=()=>kn(y())}let h,d=y=>{h=v.onStop=()=>{en(y,o,4)}};if(Ya)return d=Wr,r?e&&Mr(r,o,3,[l(),c?[]:void 0,d]):l(),Wr;let f=c?[]:yp;const p=()=>{if(!!v.active)if(r){const y=v.run();(i||u||(c?y.some((m,w)=>ja(m,f[w])):ja(y,f)))&&(h&&h(),Mr(r,o,3,[y,f===yp?void 0:f,d]),f=y)}else v.run()};p.allowRecurse=!!r;let g;n==="sync"?g=p:n==="post"?g=()=>dr(p,o&&o.suspense):(p.pre=!0,o&&(p.id=o.uid),g=()=>Cd(p));const v=new md(l,g);return r?e?p():f=v.run():n==="post"?dr(v.run.bind(v),o&&o.suspense):v.run(),()=>{v.stop(),o&&o.scope&&pd(o.scope.effects,v)}}function W_(t,r,e){const i=this.proxy,n=Vt(t)?t.includes(".")?d0(i,t):()=>i[t]:t.bind(i,i);let s;je(r)?s=r:(s=r.handler,e=r);const a=zt;ds(this);const o=Od(n,s.bind(i),e);return a?ds(a):En(),o}function d0(t,r){const e=r.split(".");return()=>{let i=t;for(let n=0;n{kn(e,r)});else if(Vm(t))for(const e in t)kn(t[e],r);return t}function Y_(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Bt(()=>{t.isMounted=!0}),fo(()=>{t.isUnmounting=!0}),t}const Er=[Function,Array],G_={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Er,onEnter:Er,onAfterEnter:Er,onEnterCancelled:Er,onBeforeLeave:Er,onLeave:Er,onAfterLeave:Er,onLeaveCancelled:Er,onBeforeAppear:Er,onAppear:Er,onAfterAppear:Er,onAppearCancelled:Er},setup(t,{slots:r}){const e=Id(),i=Y_();let n;return()=>{const s=r.default&&g0(r.default(),!0);if(!s||!s.length)return;let a=s[0];if(s.length>1){for(const g of s)if(g.type!==$r){a=g;break}}const o=ot(t),{mode:l}=o;if(i.isLeaving)return ic(a);const u=bp(a);if(!u)return ic(a);const c=lh(u,o,i,e);uh(u,c);const h=e.subTree,d=h&&bp(h);let f=!1;const{getTransitionKey:p}=u.type;if(p){const g=p();n===void 0?n=g:g!==n&&(n=g,f=!0)}if(d&&d.type!==$r&&(!Cn(u,d)||f)){const g=lh(d,o,i,e);if(uh(d,g),l==="out-in")return i.isLeaving=!0,g.afterLeave=()=>{i.isLeaving=!1,e.update()},ic(a);l==="in-out"&&u.type!==$r&&(g.delayLeave=(v,y,m)=>{const w=p0(i,d);w[String(d.key)]=d,v._leaveCb=()=>{y(),v._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=m})}return a}}},f0=G_;function p0(t,r){const{leavingVNodes:e}=t;let i=e.get(r.type);return i||(i=Object.create(null),e.set(r.type,i)),i}function lh(t,r,e,i){const{appear:n,mode:s,persisted:a=!1,onBeforeEnter:o,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:h,onLeave:d,onAfterLeave:f,onLeaveCancelled:p,onBeforeAppear:g,onAppear:v,onAfterAppear:y,onAppearCancelled:m}=r,w=String(t.key),C=p0(e,t),P=(D,R)=>{D&&Mr(D,i,9,R)},E=(D,R)=>{const Q=R[1];P(D,R),Ie(D)?D.every(ge=>ge.length<=1)&&Q():D.length<=1&&Q()},V={mode:s,persisted:a,beforeEnter(D){let R=o;if(!e.isMounted)if(n)R=g||o;else return;D._leaveCb&&D._leaveCb(!0);const Q=C[w];Q&&Cn(t,Q)&&Q.el._leaveCb&&Q.el._leaveCb(),P(R,[D])},enter(D){let R=l,Q=u,ge=c;if(!e.isMounted)if(n)R=v||l,Q=y||u,ge=m||c;else return;let H=!1;const q=D._enterCb=_e=>{H||(H=!0,_e?P(ge,[D]):P(Q,[D]),V.delayedLeave&&V.delayedLeave(),D._enterCb=void 0)};R?E(R,[D,q]):q()},leave(D,R){const Q=String(t.key);if(D._enterCb&&D._enterCb(!0),e.isUnmounting)return R();P(h,[D]);let ge=!1;const H=D._leaveCb=q=>{ge||(ge=!0,R(),q?P(p,[D]):P(f,[D]),D._leaveCb=void 0,C[Q]===t&&delete C[Q])};C[Q]=t,d?E(d,[D,H]):H()},clone(D){return lh(D,r,e,i)}};return V}function ic(t){if(Cu(t))return t=on(t),t.children=null,t}function bp(t){return Cu(t)?t.children?t.children[0]:void 0:t}function uh(t,r){t.shapeFlag&6&&t.component?uh(t.component.subTree,r):t.shapeFlag&128?(t.ssContent.transition=r.clone(t.ssContent),t.ssFallback.transition=r.clone(t.ssFallback)):t.transition=r}function g0(t,r=!1,e){let i=[],n=0;for(let s=0;s1)for(let s=0;s!!t.type.__asyncLoader,Cu=t=>t.type.__isKeepAlive;function Z_(t,r){v0(t,"a",r)}function q_(t,r){v0(t,"da",r)}function v0(t,r,e=zt){const i=t.__wdc||(t.__wdc=()=>{let n=e;for(;n;){if(n.isDeactivated)return;n=n.parent}return t()});if(Ou(r,i,e),e){let n=e.parent;for(;n&&n.parent;)Cu(n.parent.vnode)&&Q_(i,r,e,n),n=n.parent}}function Q_(t,r,e,i){const n=Ou(r,t,i,!0);Fi(()=>{pd(i[r],n)},e)}function Ou(t,r,e=zt,i=!1){if(e){const n=e[t]||(e[t]=[]),s=r.__weh||(r.__weh=(...a)=>{if(e.isUnmounted)return;Ts(),ds(e);const o=Mr(r,e,t,a);return En(),Es(),o});return i?n.unshift(s):n.push(s),s}}const Li=t=>(r,e=zt)=>(!Ya||t==="sp")&&Ou(t,(...i)=>r(...i),e),X_=Li("bm"),Bt=Li("m"),J_=Li("bu"),e5=Li("u"),fo=Li("bum"),Fi=Li("um"),t5=Li("sp"),r5=Li("rtg"),i5=Li("rtc");function n5(t,r=zt){Ou("ec",t,r)}function _p(t,r){const e=er;if(e===null)return t;const i=Tu(e)||e.proxy,n=t.dirs||(t.dirs=[]);for(let s=0;sr(a,o,void 0,s&&s[o]));else{const a=Object.keys(t);n=new Array(a.length);for(let o=0,l=a.length;o{const s=i.fn(...n);return s&&(s.key=i.key),s}:i.fn)}return t}function de(t,r,e={},i,n){if(er.isCE||er.parent&&Sa(er.parent)&&er.parent.isCE)return Z("slot",r==="default"?null:{name:r},i&&i());let s=t[r];s&&s._c&&(s._d=!1),S();const a=s&&b0(s(e)),o=fe(Ue,{key:e.key||a&&a.key||`_${r}`},a||(i?i():[]),a&&t._===1?64:-2);return!n&&o.scopeId&&(o.slotScopeIds=[o.scopeId+"-s"]),s&&s._c&&(s._d=!0),o}function b0(t){return t.some(r=>Al(r)?!(r.type===$r||r.type===Ue&&!b0(r.children)):!0)?t:null}function Sp(t,r){const e={};for(const i in t)e[r&&/[A-Z]/.test(i)?`on:${i}`:il(i)]=t[i];return e}const ch=t=>t?D0(t)?Tu(t)||t.proxy:ch(t.parent):null,Il=qt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>ch(t.parent),$root:t=>ch(t.root),$emit:t=>t.emit,$options:t=>Td(t),$forceUpdate:t=>t.f||(t.f=()=>Cd(t.update)),$nextTick:t=>t.n||(t.n=Yr.bind(t.proxy)),$watch:t=>W_.bind(t)}),s5={get({_:t},r){const{ctx:e,setupState:i,data:n,props:s,accessCache:a,type:o,appContext:l}=t;let u;if(r[0]!=="$"){const f=a[r];if(f!==void 0)switch(f){case 1:return i[r];case 2:return n[r];case 4:return e[r];case 3:return s[r]}else{if(i!==bt&&qe(i,r))return a[r]=1,i[r];if(n!==bt&&qe(n,r))return a[r]=2,n[r];if((u=t.propsOptions[0])&&qe(u,r))return a[r]=3,s[r];if(e!==bt&&qe(e,r))return a[r]=4,e[r];hh&&(a[r]=0)}}const c=Il[r];let h,d;if(c)return r==="$attrs"&&Pr(t,"get",r),c(t);if((h=o.__cssModules)&&(h=h[r]))return h;if(e!==bt&&qe(e,r))return a[r]=4,e[r];if(d=l.config.globalProperties,qe(d,r))return d[r]},set({_:t},r,e){const{data:i,setupState:n,ctx:s}=t;return n!==bt&&qe(n,r)?(n[r]=e,!0):i!==bt&&qe(i,r)?(i[r]=e,!0):qe(t.props,r)||r[0]==="$"&&r.slice(1)in t?!1:(s[r]=e,!0)},has({_:{data:t,setupState:r,accessCache:e,ctx:i,appContext:n,propsOptions:s}},a){let o;return!!e[a]||t!==bt&&qe(t,a)||r!==bt&&qe(r,a)||(o=s[0])&&qe(o,a)||qe(i,a)||qe(Il,a)||qe(n.config.globalProperties,a)},defineProperty(t,r,e){return e.get!=null?t._.accessCache[r]=0:qe(e,"value")&&this.set(t,r,e.value,null),Reflect.defineProperty(t,r,e)}};let hh=!0;function a5(t){const r=Td(t),e=t.proxy,i=t.ctx;hh=!1,r.beforeCreate&&Pp(r.beforeCreate,t,"bc");const{data:n,computed:s,methods:a,watch:o,provide:l,inject:u,created:c,beforeMount:h,mounted:d,beforeUpdate:f,updated:p,activated:g,deactivated:v,beforeDestroy:y,beforeUnmount:m,destroyed:w,unmounted:C,render:P,renderTracked:E,renderTriggered:V,errorCaptured:D,serverPrefetch:R,expose:Q,inheritAttrs:ge,components:H,directives:q,filters:_e}=r;if(u&&o5(u,i,null,t.appContext.config.unwrapInjectedRef),a)for(const te in a){const pe=a[te];je(pe)&&(i[te]=pe.bind(e))}if(n){const te=n.call(e,e);St(te)&&(t.data=gi(te))}if(hh=!0,s)for(const te in s){const pe=s[te],Te=je(pe)?pe.bind(e,e):je(pe.get)?pe.get.bind(e,e):Wr,Je=!je(pe)&&je(pe.set)?pe.set.bind(e):Wr,Ce=F({get:Te,set:Je});Object.defineProperty(i,te,{enumerable:!0,configurable:!0,get:()=>Ce.value,set:Ee=>Ce.value=Ee})}if(o)for(const te in o)_0(o[te],i,e,te);if(l){const te=je(l)?l.call(e):l;Reflect.ownKeys(te).forEach(pe=>{wa(pe,te[pe])})}c&&Pp(c,t,"c");function $(te,pe){Ie(pe)?pe.forEach(Te=>te(Te.bind(e))):pe&&te(pe.bind(e))}if($(X_,h),$(Bt,d),$(J_,f),$(e5,p),$(Z_,g),$(q_,v),$(n5,D),$(i5,E),$(r5,V),$(fo,m),$(Fi,C),$(t5,R),Ie(Q))if(Q.length){const te=t.exposed||(t.exposed={});Q.forEach(pe=>{Object.defineProperty(te,pe,{get:()=>e[pe],set:Te=>e[pe]=Te})})}else t.exposed||(t.exposed={});P&&t.render===Wr&&(t.render=P),ge!=null&&(t.inheritAttrs=ge),H&&(t.components=H),q&&(t.directives=q)}function o5(t,r,e=Wr,i=!1){Ie(t)&&(t=dh(t));for(const n in t){const s=t[n];let a;St(s)?"default"in s?a=Ar(s.from||n,s.default,!0):a=Ar(s.from||n):a=Ar(s),Zt(a)&&i?Object.defineProperty(r,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:o=>a.value=o}):r[n]=a}}function Pp(t,r,e){Mr(Ie(t)?t.map(i=>i.bind(r.proxy)):t.bind(r.proxy),r,e)}function _0(t,r,e,i){const n=i.includes(".")?d0(e,i):()=>e[i];if(Vt(t)){const s=r[t];je(s)&&Ye(n,s)}else if(je(t))Ye(n,t.bind(e));else if(St(t))if(Ie(t))t.forEach(s=>_0(s,r,e,i));else{const s=je(t.handler)?t.handler.bind(e):r[t.handler];je(s)&&Ye(n,s,t)}}function Td(t){const r=t.type,{mixins:e,extends:i}=r,{mixins:n,optionsCache:s,config:{optionMergeStrategies:a}}=t.appContext,o=s.get(r);let l;return o?l=o:!n.length&&!e&&!i?l=r:(l={},n.length&&n.forEach(u=>Ml(l,u,a,!0)),Ml(l,r,a)),St(r)&&s.set(r,l),l}function Ml(t,r,e,i=!1){const{mixins:n,extends:s}=r;s&&Ml(t,s,e,!0),n&&n.forEach(a=>Ml(t,a,e,!0));for(const a in r)if(!(i&&a==="expose")){const o=l5[a]||e&&e[a];t[a]=o?o(t[a],r[a]):r[a]}return t}const l5={data:Cp,props:_n,emits:_n,methods:_n,computed:_n,beforeCreate:sr,created:sr,beforeMount:sr,mounted:sr,beforeUpdate:sr,updated:sr,beforeDestroy:sr,beforeUnmount:sr,destroyed:sr,unmounted:sr,activated:sr,deactivated:sr,errorCaptured:sr,serverPrefetch:sr,components:_n,directives:_n,watch:c5,provide:Cp,inject:u5};function Cp(t,r){return r?t?function(){return qt(je(t)?t.call(this,this):t,je(r)?r.call(this,this):r)}:r:t}function u5(t,r){return _n(dh(t),dh(r))}function dh(t){if(Ie(t)){const r={};for(let e=0;e0)&&!(a&16)){if(a&8){const c=t.vnode.dynamicProps;for(let h=0;h{l=!0;const[d,f]=S0(h,r,!0);qt(a,d),f&&o.push(...f)};!e&&r.mixins.length&&r.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!s&&!l)return St(t)&&i.set(t,ss),ss;if(Ie(s))for(let c=0;c-1,f[1]=g<0||p-1||qe(f,"default"))&&o.push(h)}}}const u=[a,o];return St(t)&&i.set(t,u),u}function Op(t){return t[0]!=="$"}function kp(t){const r=t&&t.toString().match(/^\s*function (\w+)/);return r?r[1]:t===null?"null":""}function Tp(t,r){return kp(t)===kp(r)}function Ep(t,r){return Ie(r)?r.findIndex(e=>Tp(e,t)):je(r)&&Tp(r,t)?0:-1}const P0=t=>t[0]==="_"||t==="$stable",Ed=t=>Ie(t)?t.map(ni):[ni(t)],f5=(t,r,e)=>{if(r._n)return r;const i=se((...n)=>Ed(r(...n)),e);return i._c=!1,i},C0=(t,r,e)=>{const i=t._ctx;for(const n in t){if(P0(n))continue;const s=t[n];if(je(s))r[n]=f5(n,s,i);else if(s!=null){const a=Ed(s);r[n]=()=>a}}},O0=(t,r)=>{const e=Ed(r);t.slots.default=()=>e},p5=(t,r)=>{if(t.vnode.shapeFlag&32){const e=r._;e?(t.slots=ot(r),El(r,"_",e)):C0(r,t.slots={})}else t.slots={},r&&O0(t,r);El(t.slots,ku,1)},g5=(t,r,e)=>{const{vnode:i,slots:n}=t;let s=!0,a=bt;if(i.shapeFlag&32){const o=r._;o?e&&o===1?s=!1:(qt(n,r),!e&&o===1&&delete n._):(s=!r.$stable,C0(r,n)),a=r}else r&&(O0(t,r),a={default:1});if(s)for(const o in n)!P0(o)&&!(o in a)&&delete n[o]};function k0(){return{app:null,config:{isNativeTag:W2,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let v5=0;function m5(t,r){return function(i,n=null){je(i)||(i=Object.assign({},i)),n!=null&&!St(n)&&(n=null);const s=k0(),a=new Set;let o=!1;const l=s.app={_uid:v5++,_component:i,_props:n,_container:null,_context:s,_instance:null,version:$5,get config(){return s.config},set config(u){},use(u,...c){return a.has(u)||(u&&je(u.install)?(a.add(u),u.install(l,...c)):je(u)&&(a.add(u),u(l,...c))),l},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),l},component(u,c){return c?(s.components[u]=c,l):s.components[u]},directive(u,c){return c?(s.directives[u]=c,l):s.directives[u]},mount(u,c,h){if(!o){const d=Z(i,n);return d.appContext=s,c&&r?r(d,u):t(d,u,h),o=!0,l._container=u,u.__vue_app__=l,Tu(d.component)||d.component.proxy}},unmount(){o&&(t(null,l._container),delete l._container.__vue_app__)},provide(u,c){return s.provides[u]=c,l}};return l}}function ph(t,r,e,i,n=!1){if(Ie(t)){t.forEach((d,f)=>ph(d,r&&(Ie(r)?r[f]:r),e,i,n));return}if(Sa(i)&&!n)return;const s=i.shapeFlag&4?Tu(i.component)||i.component.proxy:i.el,a=n?null:s,{i:o,r:l}=t,u=r&&r.r,c=o.refs===bt?o.refs={}:o.refs,h=o.setupState;if(u!=null&&u!==l&&(Vt(u)?(c[u]=null,qe(h,u)&&(h[u]=null)):Zt(u)&&(u.value=null)),je(l))en(l,o,12,[a,c]);else{const d=Vt(l),f=Zt(l);if(d||f){const p=()=>{if(t.f){const g=d?qe(h,l)?h[l]:c[l]:l.value;n?Ie(g)&&pd(g,s):Ie(g)?g.includes(s)||g.push(s):d?(c[l]=[s],qe(h,l)&&(h[l]=c[l])):(l.value=[s],t.k&&(c[t.k]=l.value))}else d?(c[l]=a,qe(h,l)&&(h[l]=a)):f&&(l.value=a,t.k&&(c[t.k]=a))};a?(p.id=-1,dr(p,e)):p()}}}const dr=K_;function y5(t){return b5(t)}function b5(t,r){const e=X2();e.__VUE__=!0;const{insert:i,remove:n,patchProp:s,createElement:a,createText:o,createComment:l,setText:u,setElementText:c,parentNode:h,nextSibling:d,setScopeId:f=Wr,insertStaticContent:p}=t,g=(b,_,M,B=null,N=null,X=null,W=!1,Y=null,K=!!_.dynamicChildren)=>{if(b===_)return;b&&!Cn(b,_)&&(B=G(b),Ee(b,N,X,!0),b=null),_.patchFlag===-2&&(K=!1,_.dynamicChildren=null);const{type:J,ref:Oe,shapeFlag:Se}=_;switch(J){case xd:v(b,_,M,B);break;case $r:y(b,_,M,B);break;case sl:b==null&&m(_,M,B,W);break;case Ue:H(b,_,M,B,N,X,W,Y,K);break;default:Se&1?P(b,_,M,B,N,X,W,Y,K):Se&6?q(b,_,M,B,N,X,W,Y,K):(Se&64||Se&128)&&J.process(b,_,M,B,N,X,W,Y,K,z)}Oe!=null&&N&&ph(Oe,b&&b.ref,X,_||b,!_)},v=(b,_,M,B)=>{if(b==null)i(_.el=o(_.children),M,B);else{const N=_.el=b.el;_.children!==b.children&&u(N,_.children)}},y=(b,_,M,B)=>{b==null?i(_.el=l(_.children||""),M,B):_.el=b.el},m=(b,_,M,B)=>{[b.el,b.anchor]=p(b.children,_,M,B,b.el,b.anchor)},w=({el:b,anchor:_},M,B)=>{let N;for(;b&&b!==_;)N=d(b),i(b,M,B),b=N;i(_,M,B)},C=({el:b,anchor:_})=>{let M;for(;b&&b!==_;)M=d(b),n(b),b=M;n(_)},P=(b,_,M,B,N,X,W,Y,K)=>{W=W||_.type==="svg",b==null?E(_,M,B,N,X,W,Y,K):R(b,_,N,X,W,Y,K)},E=(b,_,M,B,N,X,W,Y)=>{let K,J;const{type:Oe,props:Se,shapeFlag:ke,transition:Fe,dirs:Ke}=b;if(K=b.el=a(b.type,X,Se&&Se.is,Se),ke&8?c(K,b.children):ke&16&&D(b.children,K,null,B,N,X&&Oe!=="foreignObject",W,Y),Ke&&gn(b,null,B,"created"),Se){for(const De in Se)De!=="value"&&!rl(De)&&s(K,De,null,Se[De],X,b.children,B,N,U);"value"in Se&&s(K,"value",null,Se.value),(J=Se.onVnodeBeforeMount)&&ti(J,B,b)}V(K,b,b.scopeId,W,B),Ke&&gn(b,null,B,"beforeMount");const ht=(!N||N&&!N.pendingBranch)&&Fe&&!Fe.persisted;ht&&Fe.beforeEnter(K),i(K,_,M),((J=Se&&Se.onVnodeMounted)||ht||Ke)&&dr(()=>{J&&ti(J,B,b),ht&&Fe.enter(K),Ke&&gn(b,null,B,"mounted")},N)},V=(b,_,M,B,N)=>{if(M&&f(b,M),B)for(let X=0;X{for(let J=K;J{const Y=_.el=b.el;let{patchFlag:K,dynamicChildren:J,dirs:Oe}=_;K|=b.patchFlag&16;const Se=b.props||bt,ke=_.props||bt;let Fe;M&&vn(M,!1),(Fe=ke.onVnodeBeforeUpdate)&&ti(Fe,M,_,b),Oe&&gn(_,b,M,"beforeUpdate"),M&&vn(M,!0);const Ke=N&&_.type!=="foreignObject";if(J?Q(b.dynamicChildren,J,Y,M,B,Ke,X):W||pe(b,_,Y,null,M,B,Ke,X,!1),K>0){if(K&16)ge(Y,_,Se,ke,M,B,N);else if(K&2&&Se.class!==ke.class&&s(Y,"class",null,ke.class,N),K&4&&s(Y,"style",Se.style,ke.style,N),K&8){const ht=_.dynamicProps;for(let De=0;De{Fe&&ti(Fe,M,_,b),Oe&&gn(_,b,M,"updated")},B)},Q=(b,_,M,B,N,X,W)=>{for(let Y=0;Y<_.length;Y++){const K=b[Y],J=_[Y],Oe=K.el&&(K.type===Ue||!Cn(K,J)||K.shapeFlag&70)?h(K.el):M;g(K,J,Oe,null,B,N,X,W,!0)}},ge=(b,_,M,B,N,X,W)=>{if(M!==B){if(M!==bt)for(const Y in M)!rl(Y)&&!(Y in B)&&s(b,Y,M[Y],null,W,_.children,N,X,U);for(const Y in B){if(rl(Y))continue;const K=B[Y],J=M[Y];K!==J&&Y!=="value"&&s(b,Y,J,K,W,_.children,N,X,U)}"value"in B&&s(b,"value",M.value,B.value)}},H=(b,_,M,B,N,X,W,Y,K)=>{const J=_.el=b?b.el:o(""),Oe=_.anchor=b?b.anchor:o("");let{patchFlag:Se,dynamicChildren:ke,slotScopeIds:Fe}=_;Fe&&(Y=Y?Y.concat(Fe):Fe),b==null?(i(J,M,B),i(Oe,M,B),D(_.children,M,Oe,N,X,W,Y,K)):Se>0&&Se&64&&ke&&b.dynamicChildren?(Q(b.dynamicChildren,ke,M,N,X,W,Y),(_.key!=null||N&&_===N.subTree)&&T0(b,_,!0)):pe(b,_,M,Oe,N,X,W,Y,K)},q=(b,_,M,B,N,X,W,Y,K)=>{_.slotScopeIds=Y,b==null?_.shapeFlag&512?N.ctx.activate(_,M,B,W,K):_e(_,M,B,N,X,W,K):we(b,_,K)},_e=(b,_,M,B,N,X,W)=>{const Y=b.component=T5(b,B,N);if(Cu(b)&&(Y.ctx.renderer=z),E5(Y),Y.asyncDep){if(N&&N.registerDep(Y,$),!b.el){const K=Y.subTree=Z($r);y(null,K,_,M)}return}$(Y,b,_,M,N,X,W)},we=(b,_,M)=>{const B=_.component=b.component;if(H_(b,_,M))if(B.asyncDep&&!B.asyncResolved){te(B,_,M);return}else B.next=_,L_(B.update),B.update();else _.el=b.el,B.vnode=_},$=(b,_,M,B,N,X,W)=>{const Y=()=>{if(b.isMounted){let{next:Oe,bu:Se,u:ke,parent:Fe,vnode:Ke}=b,ht=Oe,De;vn(b,!1),Oe?(Oe.el=Ke.el,te(b,Oe,W)):Oe=Ke,Se&&nl(Se),(De=Oe.props&&Oe.props.onVnodeBeforeUpdate)&&ti(De,Fe,Oe,Ke),vn(b,!0);const mt=rc(b),Pt=b.subTree;b.subTree=mt,g(Pt,mt,h(Pt.el),G(Pt),b,N,X),Oe.el=mt.el,ht===null&&z_(b,mt.el),ke&&dr(ke,N),(De=Oe.props&&Oe.props.onVnodeUpdated)&&dr(()=>ti(De,Fe,Oe,Ke),N)}else{let Oe;const{el:Se,props:ke}=_,{bm:Fe,m:Ke,parent:ht}=b,De=Sa(_);if(vn(b,!1),Fe&&nl(Fe),!De&&(Oe=ke&&ke.onVnodeBeforeMount)&&ti(Oe,ht,_),vn(b,!0),Se&&ve){const mt=()=>{b.subTree=rc(b),ve(Se,b.subTree,b,N,null)};De?_.type.__asyncLoader().then(()=>!b.isUnmounted&&mt()):mt()}else{const mt=b.subTree=rc(b);g(null,mt,M,B,b,N,X),_.el=mt.el}if(Ke&&dr(Ke,N),!De&&(Oe=ke&&ke.onVnodeMounted)){const mt=_;dr(()=>ti(Oe,ht,mt),N)}(_.shapeFlag&256||ht&&Sa(ht.vnode)&&ht.vnode.shapeFlag&256)&&b.a&&dr(b.a,N),b.isMounted=!0,_=M=B=null}},K=b.effect=new md(Y,()=>Cd(J),b.scope),J=b.update=()=>K.run();J.id=b.uid,vn(b,!0),J()},te=(b,_,M)=>{_.component=b;const B=b.vnode.props;b.vnode=_,b.next=null,d5(b,_.props,B,M),g5(b,_.children,M),Ts(),vp(),Es()},pe=(b,_,M,B,N,X,W,Y,K=!1)=>{const J=b&&b.children,Oe=b?b.shapeFlag:0,Se=_.children,{patchFlag:ke,shapeFlag:Fe}=_;if(ke>0){if(ke&128){Je(J,Se,M,B,N,X,W,Y,K);return}else if(ke&256){Te(J,Se,M,B,N,X,W,Y,K);return}}Fe&8?(Oe&16&&U(J,N,X),Se!==J&&c(M,Se)):Oe&16?Fe&16?Je(J,Se,M,B,N,X,W,Y,K):U(J,N,X,!0):(Oe&8&&c(M,""),Fe&16&&D(Se,M,B,N,X,W,Y,K))},Te=(b,_,M,B,N,X,W,Y,K)=>{b=b||ss,_=_||ss;const J=b.length,Oe=_.length,Se=Math.min(J,Oe);let ke;for(ke=0;keOe?U(b,N,X,!0,!1,Se):D(_,M,B,N,X,W,Y,K,Se)},Je=(b,_,M,B,N,X,W,Y,K)=>{let J=0;const Oe=_.length;let Se=b.length-1,ke=Oe-1;for(;J<=Se&&J<=ke;){const Fe=b[J],Ke=_[J]=K?Gi(_[J]):ni(_[J]);if(Cn(Fe,Ke))g(Fe,Ke,M,null,N,X,W,Y,K);else break;J++}for(;J<=Se&&J<=ke;){const Fe=b[Se],Ke=_[ke]=K?Gi(_[ke]):ni(_[ke]);if(Cn(Fe,Ke))g(Fe,Ke,M,null,N,X,W,Y,K);else break;Se--,ke--}if(J>Se){if(J<=ke){const Fe=ke+1,Ke=Feke)for(;J<=Se;)Ee(b[J],N,X,!0),J++;else{const Fe=J,Ke=J,ht=new Map;for(J=Ke;J<=ke;J++){const mr=_[J]=K?Gi(_[J]):ni(_[J]);mr.key!=null&&ht.set(mr.key,J)}let De,mt=0;const Pt=ke-Ke+1;let Kn=!1,ip=0;const ea=new Array(Pt);for(J=0;J=Pt){Ee(mr,N,X,!0);continue}let ei;if(mr.key!=null)ei=ht.get(mr.key);else for(De=Ke;De<=ke;De++)if(ea[De-Ke]===0&&Cn(mr,_[De])){ei=De;break}ei===void 0?Ee(mr,N,X,!0):(ea[ei-Ke]=J+1,ei>=ip?ip=ei:Kn=!0,g(mr,_[ei],M,null,N,X,W,Y,K),mt++)}const np=Kn?_5(ea):ss;for(De=np.length-1,J=Pt-1;J>=0;J--){const mr=Ke+J,ei=_[mr],sp=mr+1{const{el:X,type:W,transition:Y,children:K,shapeFlag:J}=b;if(J&6){Ce(b.component.subTree,_,M,B);return}if(J&128){b.suspense.move(_,M,B);return}if(J&64){W.move(b,_,M,z);return}if(W===Ue){i(X,_,M);for(let Se=0;SeY.enter(X),N);else{const{leave:Se,delayLeave:ke,afterLeave:Fe}=Y,Ke=()=>i(X,_,M),ht=()=>{Se(X,()=>{Ke(),Fe&&Fe()})};ke?ke(X,Ke,ht):ht()}else i(X,_,M)},Ee=(b,_,M,B=!1,N=!1)=>{const{type:X,props:W,ref:Y,children:K,dynamicChildren:J,shapeFlag:Oe,patchFlag:Se,dirs:ke}=b;if(Y!=null&&ph(Y,null,M,b,!0),Oe&256){_.ctx.deactivate(b);return}const Fe=Oe&1&&ke,Ke=!Sa(b);let ht;if(Ke&&(ht=W&&W.onVnodeBeforeUnmount)&&ti(ht,_,b),Oe&6)L(b.component,M,B);else{if(Oe&128){b.suspense.unmount(M,B);return}Fe&&gn(b,null,_,"beforeUnmount"),Oe&64?b.type.remove(b,_,M,N,z,B):J&&(X!==Ue||Se>0&&Se&64)?U(J,_,M,!1,!0):(X===Ue&&Se&384||!N&&Oe&16)&&U(K,_,M),B&&ce(b)}(Ke&&(ht=W&&W.onVnodeUnmounted)||Fe)&&dr(()=>{ht&&ti(ht,_,b),Fe&&gn(b,null,_,"unmounted")},M)},ce=b=>{const{type:_,el:M,anchor:B,transition:N}=b;if(_===Ue){xe(M,B);return}if(_===sl){C(b);return}const X=()=>{n(M),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(b.shapeFlag&1&&N&&!N.persisted){const{leave:W,delayLeave:Y}=N,K=()=>W(M,X);Y?Y(b.el,X,K):K()}else X()},xe=(b,_)=>{let M;for(;b!==_;)M=d(b),n(b),b=M;n(_)},L=(b,_,M)=>{const{bum:B,scope:N,update:X,subTree:W,um:Y}=b;B&&nl(B),N.stop(),X&&(X.active=!1,Ee(W,b,_,M)),Y&&dr(Y,_),dr(()=>{b.isUnmounted=!0},_),_&&_.pendingBranch&&!_.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===_.pendingId&&(_.deps--,_.deps===0&&_.resolve())},U=(b,_,M,B=!1,N=!1,X=0)=>{for(let W=X;Wb.shapeFlag&6?G(b.component.subTree):b.shapeFlag&128?b.suspense.next():d(b.anchor||b.el),A=(b,_,M)=>{b==null?_._vnode&&Ee(_._vnode,null,null,!0):g(_._vnode||null,b,_,null,null,null,M),vp(),l0(),_._vnode=b},z={p:g,um:Ee,m:Ce,r:ce,mt:_e,mc:D,pc:pe,pbc:Q,n:G,o:t};let ae,ve;return r&&([ae,ve]=r(z)),{render:A,hydrate:ae,createApp:m5(A,ae)}}function vn({effect:t,update:r},e){t.allowRecurse=r.allowRecurse=e}function T0(t,r,e=!1){const i=t.children,n=r.children;if(Ie(i)&&Ie(n))for(let s=0;s>1,t[e[o]]0&&(r[i]=e[s-1]),e[s]=i)}}for(s=e.length,a=e[s-1];s-- >0;)e[s]=a,a=r[a];return e}const w5=t=>t.__isTeleport,Ue=Symbol(void 0),xd=Symbol(void 0),$r=Symbol(void 0),sl=Symbol(void 0),Pa=[];let Kr=null;function S(t=!1){Pa.push(Kr=t?null:[])}function S5(){Pa.pop(),Kr=Pa[Pa.length-1]||null}let Wa=1;function xp(t){Wa+=t}function E0(t){return t.dynamicChildren=Wa>0?Kr||ss:null,S5(),Wa>0&&Kr&&Kr.push(t),t}function I(t,r,e,i,n,s){return E0(T(t,r,e,i,n,s,!0))}function fe(t,r,e,i,n){return E0(Z(t,r,e,i,n,!0))}function Al(t){return t?t.__v_isVNode===!0:!1}function Cn(t,r){return t.type===r.type&&t.key===r.key}const ku="__vInternal",x0=({key:t})=>t!=null?t:null,al=({ref:t,ref_key:r,ref_for:e})=>t!=null?Vt(t)||Zt(t)||je(t)?{i:er,r:t,k:r,f:!!e}:t:null;function T(t,r=null,e=null,i=0,n=null,s=t===Ue?0:1,a=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:r,key:r&&x0(r),ref:r&&al(r),scopeId:Pu,slotScopeIds:null,children:e,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:i,dynamicProps:n,dynamicChildren:null,appContext:null};return o?(Dd(l,e),s&128&&t.normalize(l)):e&&(l.shapeFlag|=Vt(e)?8:16),Wa>0&&!a&&Kr&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Kr.push(l),l}const Z=P5;function P5(t,r=null,e=null,i=0,n=null,s=!1){if((!t||t===m0)&&(t=$r),Al(t)){const o=on(t,r,!0);return e&&Dd(o,e),Wa>0&&!s&&Kr&&(o.shapeFlag&6?Kr[Kr.indexOf(t)]=o:Kr.push(o)),o.patchFlag|=-2,o}if(M5(t)&&(t=t.__vccOpts),r){r=C5(r);let{class:o,style:l}=r;o&&!Vt(o)&&(r.class=ue(o)),St(l)&&(Xm(l)&&!Ie(l)&&(l=qt({},l)),r.style=cr(l))}const a=Vt(t)?1:U_(t)?128:w5(t)?64:St(t)?4:je(t)?2:0;return T(t,r,e,i,n,a,s,!0)}function C5(t){return t?Xm(t)||ku in t?qt({},t):t:null}function on(t,r,e=!1){const{props:i,ref:n,patchFlag:s,children:a}=t,o=r?Tt(i||{},r):i;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:o,key:o&&x0(o),ref:r&&r.ref?e&&n?Ie(n)?n.concat(al(r)):[n,al(r)]:al(r):n,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:r&&t.type!==Ue?s===-1?16:s|16:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&on(t.ssContent),ssFallback:t.ssFallback&&on(t.ssFallback),el:t.el,anchor:t.anchor}}function he(t=" ",r=0){return Z(xd,null,t,r)}function LJ(t,r){const e=Z(sl,null,t);return e.staticCount=r,e}function ne(t="",r=!1){return r?(S(),fe($r,null,t)):Z($r,null,t)}function ni(t){return t==null||typeof t=="boolean"?Z($r):Ie(t)?Z(Ue,null,t.slice()):typeof t=="object"?Gi(t):Z(xd,null,String(t))}function Gi(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:on(t)}function Dd(t,r){let e=0;const{shapeFlag:i}=t;if(r==null)r=null;else if(Ie(r))e=16;else if(typeof r=="object")if(i&65){const n=r.default;n&&(n._c&&(n._d=!1),Dd(t,n()),n._c&&(n._d=!0));return}else{e=32;const n=r._;!n&&!(ku in r)?r._ctx=er:n===3&&er&&(er.slots._===1?r._=1:(r._=2,t.patchFlag|=1024))}else je(r)?(r={default:r,_ctx:er},e=32):(r=String(r),i&64?(e=16,r=[he(r)]):e=8);t.children=r,t.shapeFlag|=e}function Tt(...t){const r={};for(let e=0;ezt||er,ds=t=>{zt=t,t.scope.on()},En=()=>{zt&&zt.scope.off(),zt=null};function D0(t){return t.vnode.shapeFlag&4}let Ya=!1;function E5(t,r=!1){Ya=r;const{props:e,children:i}=t.vnode,n=D0(t);h5(t,e,n,r),p5(t,i);const s=n?x5(t,r):void 0;return Ya=!1,s}function x5(t,r){const e=t.type;t.accessCache=Object.create(null),t.proxy=Jm(new Proxy(t.ctx,s5));const{setup:i}=e;if(i){const n=t.setupContext=i.length>1?M0(t):null;ds(t),Ts();const s=en(i,t,0,[t.props,n]);if(Es(),En(),Fm(s)){if(s.then(En,En),r)return s.then(a=>{Dp(t,a,r)}).catch(a=>{wu(a,t,0)});t.asyncDep=s}else Dp(t,s,r)}else I0(t,r)}function Dp(t,r,e){je(r)?t.type.__ssrInlineRender?t.ssrRender=r:t.render=r:St(r)&&(t.setupState=i0(r)),I0(t,e)}let Ip;function I0(t,r,e){const i=t.type;if(!t.render){if(!r&&Ip&&!i.render){const n=i.template||Td(t).template;if(n){const{isCustomElement:s,compilerOptions:a}=t.appContext.config,{delimiters:o,compilerOptions:l}=i,u=qt(qt({isCustomElement:s,delimiters:o},a),l);i.render=Ip(n,u)}}t.render=i.render||Wr}ds(t),Ts(),a5(t),Es(),En()}function D5(t){return new Proxy(t.attrs,{get(r,e){return Pr(t,"get","$attrs"),r[e]}})}function M0(t){const r=i=>{t.exposed=i||{}};let e;return{get attrs(){return e||(e=D5(t))},slots:t.slots,emit:t.emit,expose:r}}function Tu(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(i0(Jm(t.exposed)),{get(r,e){if(e in r)return r[e];if(e in Il)return Il[e](t)}}))}function I5(t,r=!0){return je(t)?t.displayName||t.name:t.name||r&&t.__name}function M5(t){return je(t)&&"__vccOpts"in t}const F=(t,r)=>A_(t,r,Ya);function FJ(){return A5().slots}function A5(){const t=Id();return t.setupContext||(t.setupContext=M0(t))}function Me(t,r,e){const i=arguments.length;return i===2?St(r)&&!Ie(r)?Al(r)?Z(t,null,[r]):Z(t,r):Z(t,null,r):(i>3?e=Array.prototype.slice.call(arguments,2):i===3&&Al(e)&&(e=[e]),Z(t,r,e))}const $5="3.2.41",B5="http://www.w3.org/2000/svg",On=typeof document<"u"?document:null,Mp=On&&On.createElement("template"),L5={insert:(t,r,e)=>{r.insertBefore(t,e||null)},remove:t=>{const r=t.parentNode;r&&r.removeChild(t)},createElement:(t,r,e,i)=>{const n=r?On.createElementNS(B5,t):On.createElement(t,e?{is:e}:void 0);return t==="select"&&i&&i.multiple!=null&&n.setAttribute("multiple",i.multiple),n},createText:t=>On.createTextNode(t),createComment:t=>On.createComment(t),setText:(t,r)=>{t.nodeValue=r},setElementText:(t,r)=>{t.textContent=r},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>On.querySelector(t),setScopeId(t,r){t.setAttribute(r,"")},insertStaticContent(t,r,e,i,n,s){const a=e?e.previousSibling:r.lastChild;if(n&&(n===s||n.nextSibling))for(;r.insertBefore(n.cloneNode(!0),e),!(n===s||!(n=n.nextSibling)););else{Mp.innerHTML=i?`${t}`:t;const o=Mp.content;if(i){const l=o.firstChild;for(;l.firstChild;)o.appendChild(l.firstChild);o.removeChild(l)}r.insertBefore(o,e)}return[a?a.nextSibling:r.firstChild,e?e.previousSibling:r.lastChild]}};function F5(t,r,e){const i=t._vtc;i&&(r=(r?[r,...i]:[...i]).join(" ")),r==null?t.removeAttribute("class"):e?t.setAttribute("class",r):t.className=r}function R5(t,r,e){const i=t.style,n=Vt(e);if(e&&!n){for(const s in e)gh(i,s,e[s]);if(r&&!Vt(r))for(const s in r)e[s]==null&&gh(i,s,"")}else{const s=i.display;n?r!==e&&(i.cssText=e):r&&t.removeAttribute("style"),"_vod"in t&&(i.display=s)}}const Ap=/\s*!important$/;function gh(t,r,e){if(Ie(e))e.forEach(i=>gh(t,r,i));else if(e==null&&(e=""),r.startsWith("--"))t.setProperty(r,e);else{const i=V5(t,r);Ap.test(e)?t.setProperty(Fn(i),e.replace(Ap,""),"important"):t[i]=e}}const $p=["Webkit","Moz","ms"],nc={};function V5(t,r){const e=nc[r];if(e)return e;let i=di(r);if(i!=="filter"&&i in t)return nc[r]=i;i=bu(i);for(let n=0;n<$p.length;n++){const s=$p[n]+i;if(s in t)return nc[r]=s}return r}const Bp="http://www.w3.org/1999/xlink";function N5(t,r,e,i,n){if(i&&r.startsWith("xlink:"))e==null?t.removeAttributeNS(Bp,r.slice(6,r.length)):t.setAttributeNS(Bp,r,e);else{const s=V2(r);e==null||s&&!Bm(e)?t.removeAttribute(r):t.setAttribute(r,s?"":e)}}function j5(t,r,e,i,n,s,a){if(r==="innerHTML"||r==="textContent"){i&&a(i,n,s),t[r]=e==null?"":e;return}if(r==="value"&&t.tagName!=="PROGRESS"&&!t.tagName.includes("-")){t._value=e;const l=e==null?"":e;(t.value!==l||t.tagName==="OPTION")&&(t.value=l),e==null&&t.removeAttribute(r);return}let o=!1;if(e===""||e==null){const l=typeof t[r];l==="boolean"?e=Bm(e):e==null&&l==="string"?(e="",o=!0):l==="number"&&(e=0,o=!0)}try{t[r]=e}catch{}o&&t.removeAttribute(r)}function qi(t,r,e,i){t.addEventListener(r,e,i)}function H5(t,r,e,i){t.removeEventListener(r,e,i)}function z5(t,r,e,i,n=null){const s=t._vei||(t._vei={}),a=s[r];if(i&&a)a.value=i;else{const[o,l]=U5(r);if(i){const u=s[r]=Y5(i,n);qi(t,o,u,l)}else a&&(H5(t,o,a,l),s[r]=void 0)}}const Lp=/(?:Once|Passive|Capture)$/;function U5(t){let r;if(Lp.test(t)){r={};let i;for(;i=t.match(Lp);)t=t.slice(0,t.length-i[0].length),r[i[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Fn(t.slice(2)),r]}let sc=0;const K5=Promise.resolve(),W5=()=>sc||(K5.then(()=>sc=0),sc=Date.now());function Y5(t,r){const e=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=e.attached)return;Mr(G5(i,e.value),r,5,[i])};return e.value=t,e.attached=W5(),e}function G5(t,r){if(Ie(r)){const e=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{e.call(t),t._stopped=!0},r.map(i=>n=>!n._stopped&&i&&i(n))}else return r}const Fp=/^on[a-z]/,Z5=(t,r,e,i,n=!1,s,a,o,l)=>{r==="class"?F5(t,i,n):r==="style"?R5(t,e,i):vu(r)?fd(r)||z5(t,r,e,i,a):(r[0]==="."?(r=r.slice(1),!0):r[0]==="^"?(r=r.slice(1),!1):q5(t,r,i,n))?j5(t,r,i,s,a,o,l):(r==="true-value"?t._trueValue=i:r==="false-value"&&(t._falseValue=i),N5(t,r,i,n))};function q5(t,r,e,i){return i?!!(r==="innerHTML"||r==="textContent"||r in t&&Fp.test(r)&&je(e)):r==="spellcheck"||r==="draggable"||r==="translate"||r==="form"||r==="list"&&t.tagName==="INPUT"||r==="type"&&t.tagName==="TEXTAREA"||Fp.test(r)&&Vt(e)?!1:r in t}const Hi="transition",ta="animation",Ds=(t,{slots:r})=>Me(f0,Q5(t),r);Ds.displayName="Transition";const A0={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};Ds.props=qt({},f0.props,A0);const mn=(t,r=[])=>{Ie(t)?t.forEach(e=>e(...r)):t&&t(...r)},Rp=t=>t?Ie(t)?t.some(r=>r.length>1):t.length>1:!1;function Q5(t){const r={};for(const H in t)H in A0||(r[H]=t[H]);if(t.css===!1)return r;const{name:e="v",type:i,duration:n,enterFromClass:s=`${e}-enter-from`,enterActiveClass:a=`${e}-enter-active`,enterToClass:o=`${e}-enter-to`,appearFromClass:l=s,appearActiveClass:u=a,appearToClass:c=o,leaveFromClass:h=`${e}-leave-from`,leaveActiveClass:d=`${e}-leave-active`,leaveToClass:f=`${e}-leave-to`}=t,p=X5(n),g=p&&p[0],v=p&&p[1],{onBeforeEnter:y,onEnter:m,onEnterCancelled:w,onLeave:C,onLeaveCancelled:P,onBeforeAppear:E=y,onAppear:V=m,onAppearCancelled:D=w}=r,R=(H,q,_e)=>{yn(H,q?c:o),yn(H,q?u:a),_e&&_e()},Q=(H,q)=>{H._isLeaving=!1,yn(H,h),yn(H,f),yn(H,d),q&&q()},ge=H=>(q,_e)=>{const we=H?V:m,$=()=>R(q,H,_e);mn(we,[q,$]),Vp(()=>{yn(q,H?l:s),zi(q,H?c:o),Rp(we)||Np(q,i,g,$)})};return qt(r,{onBeforeEnter(H){mn(y,[H]),zi(H,s),zi(H,a)},onBeforeAppear(H){mn(E,[H]),zi(H,l),zi(H,u)},onEnter:ge(!1),onAppear:ge(!0),onLeave(H,q){H._isLeaving=!0;const _e=()=>Q(H,q);zi(H,h),tw(),zi(H,d),Vp(()=>{!H._isLeaving||(yn(H,h),zi(H,f),Rp(C)||Np(H,i,v,_e))}),mn(C,[H,_e])},onEnterCancelled(H){R(H,!1),mn(w,[H])},onAppearCancelled(H){R(H,!0),mn(D,[H])},onLeaveCancelled(H){Q(H),mn(P,[H])}})}function X5(t){if(t==null)return null;if(St(t))return[ac(t.enter),ac(t.leave)];{const r=ac(t);return[r,r]}}function ac(t){return Ha(t)}function zi(t,r){r.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t._vtc||(t._vtc=new Set)).add(r)}function yn(t,r){r.split(/\s+/).forEach(i=>i&&t.classList.remove(i));const{_vtc:e}=t;e&&(e.delete(r),e.size||(t._vtc=void 0))}function Vp(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let J5=0;function Np(t,r,e,i){const n=t._endId=++J5,s=()=>{n===t._endId&&i()};if(e)return setTimeout(s,e);const{type:a,timeout:o,propCount:l}=ew(t,r);if(!a)return i();const u=a+"end";let c=0;const h=()=>{t.removeEventListener(u,d),s()},d=f=>{f.target===t&&++c>=l&&h()};setTimeout(()=>{c(e[p]||"").split(", "),n=i(Hi+"Delay"),s=i(Hi+"Duration"),a=jp(n,s),o=i(ta+"Delay"),l=i(ta+"Duration"),u=jp(o,l);let c=null,h=0,d=0;r===Hi?a>0&&(c=Hi,h=a,d=s.length):r===ta?u>0&&(c=ta,h=u,d=l.length):(h=Math.max(a,u),c=h>0?a>u?Hi:ta:null,d=c?c===Hi?s.length:l.length:0);const f=c===Hi&&/\b(transform|all)(,|$)/.test(e[Hi+"Property"]);return{type:c,timeout:h,propCount:d,hasTransform:f}}function jp(t,r){for(;t.lengthHp(e)+Hp(t[i])))}function Hp(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function tw(){return document.body.offsetHeight}const fs=t=>{const r=t.props["onUpdate:modelValue"]||!1;return Ie(r)?e=>nl(r,e):r};function rw(t){t.target.composing=!0}function zp(t){const r=t.target;r.composing&&(r.composing=!1,r.dispatchEvent(new Event("input")))}const RJ={created(t,{modifiers:{lazy:r,trim:e,number:i}},n){t._assign=fs(n);const s=i||n.props&&n.props.type==="number";qi(t,r?"change":"input",a=>{if(a.target.composing)return;let o=t.value;e&&(o=o.trim()),s&&(o=Ha(o)),t._assign(o)}),e&&qi(t,"change",()=>{t.value=t.value.trim()}),r||(qi(t,"compositionstart",rw),qi(t,"compositionend",zp),qi(t,"change",zp))},mounted(t,{value:r}){t.value=r==null?"":r},beforeUpdate(t,{value:r,modifiers:{lazy:e,trim:i,number:n}},s){if(t._assign=fs(s),t.composing||document.activeElement===t&&t.type!=="range"&&(e||i&&t.value.trim()===r||(n||t.type==="number")&&Ha(t.value)===r))return;const a=r==null?"":r;t.value!==a&&(t.value=a)}},VJ={created(t,{value:r},e){t.checked=hs(r,e.props.value),t._assign=fs(e),qi(t,"change",()=>{t._assign(Ga(t))})},beforeUpdate(t,{value:r,oldValue:e},i){t._assign=fs(i),r!==e&&(t.checked=hs(r,i.props.value))}},NJ={deep:!0,created(t,{value:r,modifiers:{number:e}},i){const n=mu(r);qi(t,"change",()=>{const s=Array.prototype.filter.call(t.options,a=>a.selected).map(a=>e?Ha(Ga(a)):Ga(a));t._assign(t.multiple?n?new Set(s):s:s[0])}),t._assign=fs(i)},mounted(t,{value:r}){Up(t,r)},beforeUpdate(t,r,e){t._assign=fs(e)},updated(t,{value:r}){Up(t,r)}};function Up(t,r){const e=t.multiple;if(!(e&&!Ie(r)&&!mu(r))){for(let i=0,n=t.options.length;i-1:s.selected=r.has(a);else if(hs(Ga(s),r)){t.selectedIndex!==i&&(t.selectedIndex=i);return}}!e&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Ga(t){return"_value"in t?t._value:t.value}const iw=["ctrl","shift","alt","meta"],nw={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,r)=>iw.some(e=>t[`${e}Key`]&&!r.includes(e))},pr=(t,r)=>(e,...i)=>{for(let n=0;ne=>{if(!("key"in e))return;const i=Fn(e.key);if(r.some(n=>n===i||sw[n]===i))return t(e)},Kp={beforeMount(t,{value:r},{transition:e}){t._vod=t.style.display==="none"?"":t.style.display,e&&r?e.beforeEnter(t):ra(t,r)},mounted(t,{value:r},{transition:e}){e&&r&&e.enter(t)},updated(t,{value:r,oldValue:e},{transition:i}){!r!=!e&&(i?r?(i.beforeEnter(t),ra(t,!0),i.enter(t)):i.leave(t,()=>{ra(t,!1)}):ra(t,r))},beforeUnmount(t,{value:r}){ra(t,r)}};function ra(t,r){t.style.display=r?t._vod:"none"}const aw=qt({patchProp:Z5},L5);let Wp;function ow(){return Wp||(Wp=y5(aw))}const lw=(...t)=>{const r=ow().createApp(...t),{mount:e}=r;return r.mount=i=>{const n=uw(i);if(!n)return;const s=r._component;!je(s)&&!s.render&&!s.template&&(s.template=n.innerHTML),n.innerHTML="";const a=e(n,!1,n instanceof SVGElement);return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),a},r};function uw(t){return Vt(t)?document.querySelector(t):t}var vh=function(t,r){return vh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])},vh(t,r)};function ee(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");vh(t,r);function e(){this.constructor=t}t.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}var Yp=function(){return Yp=Object.assign||function(r){for(var e,i=1,n=arguments.length;i0&&s[s.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function $0(t,r){var e=typeof Symbol=="function"&&t[Symbol.iterator];if(!e)return t;var i=e.call(t),n,s=[],a;try{for(;(r===void 0||r-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(o){a={error:o}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(a)throw a.error}}return s}function Ca(){for(var t=[],r=0;re&&(t=e),t}function Qe(t){return me(Math.sin(xu*t),10)}function HJ(t){return me(Math.tan(xu*t),10)}function it(t){return me(Math.cos(xu*t),10)}function st(t,r){return x(t)?x(r)&&r>t?r:t:x(r)?r:null}function jt(t,r){return x(t)?x(r)&&r0)for(var o=0;o<=n;o++){var l=$d(t,r,e,i,o/n);s+=Lr(a,l),a=l}return s}function pw(t,r,e,i){var n=Lr(r,i),s=Lr(t,e);return Math.abs(s/n)}function $l(t,r,e){return x(e)||(e=.5),{x:t.x+(r.x-t.x)*e,y:t.y+(r.y-t.y)*e}}function xn(t,r){r||(r={x:t.x*2,y:t.y*2});var e=r.x-t.x,i=r.y-t.y,n=Math.atan2(i,e)*ga;return n<0&&(n+=360),Ll(n)}function ia(t){if(t){var r=t.length;if(r!==0){for(var e=void 0,i=void 0,n,s=void 0,a=0;ai)&&(i=o.x),(!x(e)||o.xs)&&(s=o.y)}return{x:e,y:n,width:i-e,height:s-n}}}return{x:0,y:0,width:0,height:0}}function F0(t){var r=t.length;if(r!==0){for(var e=void 0,i=void 0,n=void 0,s=void 0,a=0;ae){var i=r;r=e,e=i}t=Ll(t);var n=(r-Ll(r))/360;te&&(t-360>r?t-=360:ta?t=r:t=e),t}function Gp(t,r,e){var i=Number.MAX_VALUE,n=Number.MAX_VALUE,s=-Number.MAX_VALUE,a=-Number.MAX_VALUE,o=[];x(e)||(e=1),o.push(uc(e,t)),o.push(uc(e,r));for(var l=Math.min(Math.floor(t/90)*90,Math.floor(r/90)*90),u=Math.max(Math.ceil(t/90)*90,Math.ceil(r/90)*90),c=l;c<=u;c+=90)c>=t&&c<=r&&o.push(uc(e,c));for(var h=0;hs&&(s=d.x),d.y>a&&(a=d.y)}return{x:i,y:n,width:s-i,height:a-n}}function uc(t,r){return{x:t*it(r),y:t*Qe(r)}}function gw(t,r){return t.x>=r.x&&t.x<=r.x+r.width&&t.y>=r.y&&t.y<=r.y+r.height}function Gr(t,r){for(var e=t.length,i=0;i>1,o=r(e,t[a]);o<0?n=a:(o===0&&(s=!0),i=a+1)}return{found:s,index:s?i-1:i}}function H0(t,r){for(var e=t.length,i=0;i0&&this.hasListenersByType(r)&&this._disabled[r]==null},t.prototype.has=function(r,e,i){var n=H0(this._listeners,function(s){return s.once!==!0&&s.type===r&&(e==null||s.callback===e)&&s.context===i});return n!==-1},t.prototype._shouldDispatch=function(r){if(this._disposed)throw new Error("EventDispatcher is disposed");var e=this._disabled[r];return x(e)?(e<=1?delete this._disabled[r]:--this._disabled[r],!1):this._enabled},t.prototype._eachListener=function(r){var e=this;++this._iterating;try{ye(this._listeners,r)}finally{--this._iterating,this._iterating===0&&this._killed.length!==0&&(ye(this._killed,function(i){e._removeListener(i)}),this._killed.length=0)}},t.prototype.dispatchImmediately=function(r,e){this._shouldDispatch(r)&&this._eachListener(function(i){!i.killed&&(i.type===null||i.type===r)&&i.dispatch(r,e)})},t.prototype.dispatch=function(r,e){this._shouldDispatch(r)&&this._eachListener(function(i){!i.killed&&(i.type===null||i.type===r)&&Sw(function(){i.killed||i.dispatch(r,e)})})},t.prototype._on=function(r,e,i,n,s,a){var o=this;if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(r,e,i,n);var l={type:e,callback:i,context:n,shouldClone:s,dispatch:a,killed:!1,once:r,disposer:new tr(function(){l.killed=!0,o._removeListener(l)})};return this._listeners.push(l),l},t.prototype.onAll=function(r,e,i){return i===void 0&&(i=!0),this._on(!1,null,r,e,i,function(n,s){return r.call(e,n,s)}).disposer},t.prototype.on=function(r,e,i,n){return n===void 0&&(n=!0),this._on(!1,r,e,i,n,function(s,a){return e.call(i,a)}).disposer},t.prototype.once=function(r,e,i,n){n===void 0&&(n=!0);var s=this._on(!0,r,e,i,n,function(a,o){s.disposer.dispose(),e.call(i,o)});return s.disposer},t.prototype.off=function(r,e,i){this._removeExistingListener(!1,r,e,i)},t.prototype.copyFrom=function(r){var e=this;if(this._disposed)throw new Error("EventDispatcher is disposed");if(r===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");ye(r._listeners,function(i){!i.killed&&i.shouldClone&&(i.type===null?e.onAll(i.callback,i.context):i.once?e.once(i.type,i.callback,i.context):e.on(i.type,i.callback,i.context))})},t}(),W0=function(t){ee(r,t);function r(e){var i=t.call(this)||this;return i.target=e,i}return r.prototype.copyFrom=function(e){var i=this;if(this._disposed)throw new Error("EventDispatcher is disposed");if(e===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");ye(e._listeners,function(n){n.context!==e.target&&!n.killed&&n.shouldClone&&(n.type===null?i.onAll(n.callback,n.context):n.once?i.once(n.type,n.callback,n.context):i.on(n.type,n.callback,n.context))})},r}(ln);function Cw(t){return function(r){for(var e in t)if(si(t,e)&&!r([e,t[e]]))break}}function Y0(t){var r=[];for(var e in t)si(t,e)&&r.push(e);return r}function Ow(t,r){return Y0(t).sort(r)}function si(t,r){return{}.hasOwnProperty.call(t,r)}function G0(t,r){for(var e in t)if(si(t,e)&&!r(e,t[e]))break}function Le(t,r){G0(t,function(e,i){return r(e,i),!0})}function Ci(t,r,e){ye(Ow(t,e),function(i){r(i,t[i])})}function bh(t,r){return Object.assign({},t,r)}function kw(t){return JSON.parse(JSON.stringify(t))}function ul(t,r,e){ye(e,function(i){O(t[i])&&(r[i]=t[i])})}function QJ(t,r,e){ye(e,function(i){r[i]=t[i]})}function na(t,r){ul(t,r,Y0(t))}function In(t){return function(r){for(var e=t.length,i=0;i=0&&r=r._end&&e(r._array[i]);--i);}},t.prototype.backwards=function(){return new t(this._array,this._end,this._start)},t.prototype.range=function(r,e){if(r<=e){if(this._start===this._end)return this;if(this._start=0&&t=0&&r0);if(a>=o)return o;this.swap(a,o)}},t.prototype.sort=function(r){this._sortQuicksort(0,this._values.length-1,r)},t.prototype.swap=function(r,e){var i=this._values.length;if(sa(r,i),sa(e,i),r!==e){var n=this._values[r],s=this._values[e];this._values[r]=s,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:r,oldValue:n,newValue:s}),this._values[e]=n,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:e,oldValue:s,newValue:n})}},t.prototype.removeIndex=function(r){sa(r,this._values.length);var e=this._values[r];return gs(this._values,r),this.events.isEnabled("removeIndex")&&this.events.dispatchImmediately("removeIndex",{type:"removeIndex",target:this,index:r,oldValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:e}),e},t.prototype.moveValue=function(r,e){var i=this.indexOf(r);if(i!==-1){var n=this._values[i];gs(this._values,i),this.events.isEnabled("removeIndex")&&this.events.dispatchImmediately("removeIndex",{type:"removeIndex",target:this,index:i,oldValue:n})}e==null?(e=this._values.length,this._values.push(r)):ps(this._values,e,r),this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:e,newValue:r}),i===-1&&this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:r})},t.prototype.push=function(r){var e=this._values.push(r)-1;return this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:e,newValue:r}),this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:r}),r},t.prototype.unshift=function(r){this.insertIndex(0,r)},t.prototype.pushAll=function(r){var e=this;ye(r,function(i){e.push(i)})},t.prototype.copyFrom=function(r){this.pushAll(r._values)},t.prototype.pop=function(){var r=this._values.length-1;return r<0?void 0:this.removeIndex(this._values.length-1)},t.prototype.shift=function(){return this._values.length?this.removeIndex(0):void 0},t.prototype.setAll=function(r){var e=this,i=qa(this._values);this._values.length=0,ye(r,function(n){e._values.push(n)}),this.events.isEnabled("setAll")&&this.events.dispatchImmediately("setAll",{type:"setAll",target:this,oldArray:i,newArray:this._values}),this.events.isEnabled("removed")&&ye(i,function(n){e.events.dispatchImmediately("removed",{type:"removed",target:e,oldValue:n})}),this.events.isEnabled("inserted")&&ye(this._values,function(n){e.events.dispatchImmediately("inserted",{type:"inserted",target:e,newValue:n})})},t.prototype.clear=function(){this.setAll([])},t.prototype.iterator=function(){return In(this._values)},t.prototype[Symbol.iterator]=function(){var r,e;return We(this,function(i){switch(i.label){case 0:r=this._values.length,e=0,i.label=1;case 1:return ec)&&(n=o,s=u,a=c)}else i==="left"&&u=r&&(!O(s)||s>=u)&&(n=o,s=u);return++o,!0}),n===-1&&(i==="left"?n=0:i==="right"&&(n=this.length-1)),n},t.prototype.iterator=function(){return In(this._values)},t.prototype[Symbol.iterator]=function(){var r,e;return We(this,function(i){switch(i.label){case 0:r=this._values.length,e=0,i.label=1;case 1:return e0)for(var s=0;s0?255-t:t;return Math.round(e*r)}function Uw(t,r){if(t){var e=Math.min(Math.max(t.r,t.g,t.b),230),i=hl(e,r);return{r:Math.max(0,Math.min(255,Math.round(t.r+i))),g:Math.max(0,Math.min(255,Math.round(t.g+i))),b:Math.max(0,Math.min(255,Math.round(t.b+i))),a:t.a}}else return t}function Kw(t,r){if(t==null||r==1)return t;var e=dl(t);return e.s=r,ey(e)}function ey(t){var r,e,i,n=t.h,s=t.s,a=t.l;if(s==0)r=e=i=a;else{var o=function(h,d,f){return f<0&&(f+=1),f>1&&(f-=1),f<.16666666666666666?h+(d-h)*6*f:f<.5?d:f<.6666666666666666?h+(d-h)*(.6666666666666666-f)*6:h},l=a<.5?a*(1+s):a+s-a*s,u=2*a-l;r=o(u,l,n+1/3),e=o(u,l,n),i=o(u,l,n-1/3)}return{r:Math.round(r*255),g:Math.round(e*255),b:Math.round(i*255)}}function dl(t){var r=t.r/255,e=t.g/255,i=t.b/255,n=Math.max(r,e,i),s=Math.min(r,e,i),a=0,o=0,l=(n+s)/2;if(n===s)a=o=0;else{var u=n-s;switch(o=l>.5?u/(2-n-s):u/(n+s),n){case r:a=(e-i)/u+(e=128}var pt=function(){function t(r){this._value=r}return Object.defineProperty(t.prototype,"rgb",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hex",{get:function(){return this._value?Nw(this._value):"none"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rgba",{get:function(){return this._value?jw(this._value):"none"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alpha",{get:function(){return this._value!=null&&this._value.a!=null?this._value.a:1},set:function(r){this._value&&(this._value.a=r)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lightColor",{get:function(){return this._lightColor||(this._lightColor=new t({r:255,g:255,b:255})),this._lightColor},set:function(r){this._lightColor=r},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"darkColor",{get:function(){return this._darkColor||(this._darkColor=new t({r:0,g:0,b:0})),this._darkColor},set:function(r){this._darkColor=r},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.alpha<1?this.rgba:this.hex},t.prototype.lighten=function(r){return new t(zw(this.rgb,r))},t.prototype.brighten=function(r){return new t(Uw(this.rgb,r))},t.prototype.saturate=function(r){return new t(Kw(this.rgb,r))},Object.defineProperty(t.prototype,"alternative",{get:function(){if(this.rgb!=null)return Ww(this.rgb)?this.darkColor:this.lightColor;throw new Error("Color does not exist")},enumerable:!0,configurable:!0}),t}();function $e(t,r){if(!O(t))return new pt(void 0);if(typeof t=="string"){var e="_color_"+t+"_"+(r||"1"),i=k.getCache(e);if(i)return new pt({r:i.r,g:i.g,b:i.b,a:i.a});var n=Lw(t,r);return k.setCache(e,n),new pt(n)}return t instanceof pt?(O(r)&&(t.alpha=r),t):new pt(t)}function Yw(t){return t instanceof pt}function Gw(t){return $e(t)}function jl(t){return O(t)&&!Yw(t)?Gw(t):t}var Qt=function(){function t(){this._disposed=!1,this._disposers=[],this.className="BaseObject"}return t.prototype.debug=function(){},Object.defineProperty(t.prototype,"uid",{get:function(){return this._uid||(this._uid=k.getUniqueId(),k.map.setKey(this._uid,this)),this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},set:function(r){this._id=r},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"map",{get:function(){return this._map||(this._map=new $t),this._map},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"delayedMap",{get:function(){return this._delayedMap||(this._delayedMap=new $t),this._delayedMap},enumerable:!0,configurable:!0}),t.prototype.addDelayedMap=function(r,e){var i=this.delayedMap;i.hasKey(e)||i.setKey(e,[]);var n=i.getKey(e);n.push({property:r,target:this})},t.prototype.processDelayedMap=function(){var r=this;this.delayedMap.each(function(e,i){if(r.map.hasKey(e)){var n=r.map.getKey(e);ye(i,function(s){s.target[s.property]=n}),r.delayedMap.removeKey(e)}})},t.prototype.applyTheme=function(){var r=this;if(k){var e=this.getCurrentThemes();e&&ye(e,function(i,n){i(r)})}},Object.defineProperty(t.prototype,"themes",{get:function(){return this._themes},set:function(r){this._themes=r},enumerable:!0,configurable:!0}),t.prototype.getCurrentThemes=function(){return this.themes||k.themes},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var r=this._disposers;for(this._disposers=null;r.length!==0;){var e=r.shift();e.dispose()}this.clearCache(),this.clonedFrom&&this.clonedFrom.clones.removeValue(this);var i=this._uid;i!=null&&k.map.removeKey(i)}},t.prototype.addDisposer=function(r){this._disposers.push(r)},t.prototype.removeDispose=function(r){if(!this._disposed){var e=Gr(this._disposers,r);e>-1&&this._disposers.splice(e,1)}r.dispose()},t.prototype.clone=function(r){r||(r="clone-"+k.getUniqueId());var e=new this.constructor;return e.cloneId=r,e.copyFrom(this),e},Object.defineProperty(t.prototype,"clones",{get:function(){return this._clones||(this._clones=new vt),this._clones},enumerable:!0,configurable:!0}),t.prototype.copyFrom=function(r){r.clones.push(this),this.clonedFrom=r},Object.defineProperty(t.prototype,"className",{get:function(){return this._className},set:function(r){this._className=r},enumerable:!0,configurable:!0}),t.prototype.setCache=function(r,e,i){Oa.set(this.uid,r,e,i)},t.prototype.getCache=function(r,e){return e===void 0&&(e=void 0),Oa.get(this.uid,r,e)},t.prototype.clearCache=function(){Oa.clear(this.uid)},t.prototype.setTimeout=function(r,e){var i=this,n=setTimeout(function(){i.removeDispose(s),r()},e),s=new tr(function(){clearTimeout(n)});return this._disposers.push(s),s},t.prototype.setInterval=function(r,e){var i=this,n=setInterval(function(){i.removeDispose(s),r()},e),s=new tr(function(){clearTimeout(n)});return this._disposers.push(s),s},Object.defineProperty(t.prototype,"config",{set:function(r){try{this.processConfig(r)}catch(e){this.raiseCriticalError(e)}},enumerable:!0,configurable:!0}),t.prototype.processConfig=function(r){var e=this;if(!!r){var i=this;if(Ci(r,function(s,a){var o=a;if(s=="callback"&&typeof a=="function"&&a.call(i),e.hasProperty(s)){var l;if(ut(o)&&O(o.type)&&(!ut(i[s])||!O(i[s].className)||o.forceCreate||i[s].className!=o.type)&&!e.asIs(s)?(l=e.createClassInstance(o.type),l?i[s]=l:l=i[s]):l=i[s],l instanceof gr)e.processAdapters(l,o);else if(l instanceof ln)e.processEvents(l,o);else if(s=="locale"&&kt(o))window["am4lang_"+o]&&(i[s]=window["am4lang_"+o]);else if(s=="parent"&&kt(o)){var u=e.map.getKey(o);u?i[s]=u:e.addDelayedMap("parent",o)}else if(e.asIs(s))i[s]=o;else if(e.asFunction(s)&&kt(o))if(O(k.registeredClasses[o]))i[s]=k.registeredClasses[o];else throw Error("Invalid easing function: "+o);else if(o instanceof t)i[s]=o;else if(l instanceof t)l.config=o;else if(l instanceof cl||l instanceof wh||l instanceof $w){if(li(o))l instanceof cl?e.processListTemplate(o,l):e.processOrderedTemplate(o,l);else if(ut(o))if(o instanceof t)l.template=o;else{var c=void 0;O(o.template)?c=o.template:c=o,l.template instanceof t?l.template.config=c:Le(c,function(h,d){var f=l.template[h];f instanceof gr?e.processAdapters(f,d):f instanceof ln?e.processEvents(f,d):f instanceof _h?e.processDictionaryTemplate(f,d):l.template[h]instanceof t?l.template[h].config=d:ut(d)&&O(d.type)?(f=e.createClassInstance(d.type),f?(f instanceof t&&(f.config=d),l.template[h]=f):l.template[h]=d):f instanceof vt?e.processList(d,f):l.template[h]=e.maybeColorOrPercent(d)}),O(o.values)&&(l instanceof cl?e.processListTemplate(o.values,l):e.processOrderedTemplate(o.values,l))}}else l instanceof vt?s=="children"?e.processList(o,l,e):e.processList(o,l):l instanceof _h?e.processDictionaryTemplate(l,o):l instanceof $t?e.processDictionary(l,o):l instanceof pt||l instanceof ct?i[s]=e.maybeColorOrPercent(o):ut(l)&&ut(o)?na(o,l):(o=e.maybeColorOrPercent(o),i[s]=o)}else e.isReserved(s)||(i[s]=o)},this.configOrder),this.processingErrors.length){var n=this.processingErrors.join(` -`);throw this._processingErrors=[],Error(n)}}},t.prototype.maybeColorOrPercent=function(r){if(kt(r)){if(r.match(/^[\-]?[0-9.]+\%$/))return xt(At(r));if(r.match(/^\#[0-9abcdef]{3,}$/i))return $e(r)}return r},t.prototype.processAdapters=function(r,e){var i=this;li(e)?ye(e,function(n,s){r.add(n.key,n.callback,n.priority||0,i)}):ut(e)&&Le(e,function(n,s){r.has(n,s)||r.add(n,s)})},t.prototype.processEvents=function(r,e){var i=this;li(e)?ye(e,function(n,s){r.on(n.type,n.callback,i)}):ut(e)&&Le(e,function(n,s){r.has(n,s)||r.on(n,s)})},t.prototype.processDictionaryTemplate=function(r,e){ut(e)&&Le(e,function(i,n){var s;i=="template"?s=r.template:r.hasKey(i)?s=r.getKey(i):s=r.create(i),s instanceof t?s.config=n:ut(s)&&ut(n)?na(n,s):s.setKey(i,n)})},t.prototype.processDictionary=function(r,e){ut(e)&&Le(e,function(i,n){r.setKey(i,n)})},t.prototype.processListTemplate=function(r,e){var i=this;for(ye(r,function(n,s){var a=i.getConfigEntryType(n),o;if(e.hasIndex(s)&&!n.forceCreate)o=e.getIndex(s);else if(n instanceof t){e.push(n);return}else a?o=e.create(a):o=e.create();n===o||ut(n)&&(o instanceof t?o.config=n:ut(o)&&ut(n)?na(n,o):e.setIndex(e.indexOf(o),n))});r.length>e.length;)e.pop()},t.prototype.processOrderedTemplate=function(r,e){var i=this;ye(r,function(n,s){var a=i.getConfigEntryType(n),o;a?o=e.create(a):o=e.create(),ut(n)&&(o instanceof t?o.config=n:ut(o)&&ut(n)?na(n,o):e.insert(n))})},t.prototype.processList=function(r,e,i){var n=this;li(r)||(r=[r]);var s=e.length,a=0;for(ye(r,function(o,l){if(ut(o)){var u=void 0;if(lr&&(e!==!0||n!=!1)){i&&(c=hc(c));var d=c.match(new RegExp(".{1,"+r+"}","g"));if(d){if(i)for(var f=0;fr&&s[a]!==""&&(s.push(""),a++),s[a]+=c;a=s.length-1}}}else{var d=t.match(new RegExp(".{1,"+r+"}","g"));if(d){if(i)for(var f=0;fr&&(s=[]),s}function kh(t,r,e,i,n){if(t.length<=r)return t;r-=e.length,r<1&&(r=1);var s=Oh(t,r,i,n);return(s[0]||"")+e}function ty(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function Jw(t){return t.replace(/[\s\uFEFF\xA0]+$/g,"")}function e4(t){return t.replace(/^[\s\uFEFF\xA0]+/g,"")}function hc(t){return t.split("").reverse().join("")}function Ht(t,r,e){return r===void 0&&(r=0),e===void 0&&(e="0"),typeof t!="string"&&(t=t.toString()),r>t.length?Array(r-t.length+1).join(e)+t:t}function t4(t){if(typeof t>"u")return Jp;t=t.toLowerCase().replace(/^\[[^\]]*\]/,""),t=t.replace(/\[[^\]]+\]/,""),t=t.trim();var r=t.match(/\/(date|number|duration)$/);return r?r[1]:t===fl?fl:t===pl?pl:t===Ph?Ph:t.match(/[#0]/)?fl:t.match(/[ymwdhnsqaxkzgtei]/)?pl:Jp}function zl(t){return t.replace(/\/(date|number|duration)$/i,"")}function ry(t){return t&&t.replace(/<[^>]*>/g,"")}function r4(t){return t&&ry((""+t).replace(/[\n\r]+/g,". "))}function i4(t){if(Md(t))return"NaN";if(t===1/0)return"Infinity";if(t===-1/0)return"-Infinity";if(t===0&&1/t===-1/0)return"-0";var r=t<0;t=Math.abs(t);var e=at(/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+t)),i=e[1],n=e[2]||"",s;if(e[3]==null)s=n===""?i:i+"."+n;else{var a=+e[3];if(t<1){var o=a-1;s="0."+qp("0",o)+i+n}else{var o=a-n.length;o===0?s=i+n:o<0?s=i+n.slice(0,o)+"."+n.slice(o):s=i+n+qp("0",o)}}return r?"-"+s:s}function iy(t){if(Za(t)){var r=new Date(t);return r.setMilliseconds(t.getMilliseconds()),r}else{if(x(t))return new Date(t);var e=Number(t);return x(e)?new Date(e):new Date(t)}}function Th(t){if(Za(t))return t.getTime();if(x(t))return t;if(kt(t)){var r=Number(t);return x(r)?r:void 0}}function rg(t,r){var e=new Date(t.getFullYear(),0,0),i=t.getTime()-e.getTime()+(e.getTimezoneOffset()-t.getTimezoneOffset())*60*1e3,n=1e3*60*60*24;return Math.floor(i/n)}function ka(t,r){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate())),i=e.getUTCDay()||7;e.setUTCDate(e.getUTCDate()+4-i);var n=new Date(Date.UTC(e.getUTCFullYear(),0,1));return Math.ceil(((e.getTime()-n.getTime())/864e5+1)/7)}function n4(t,r){var e=ka(new Date(t.getFullYear(),t.getMonth(),1)),i=ka(t);return i==1&&(i=53),i-e+1}function s4(t,r,e,i){e===void 0&&(e=1),i===void 0&&(i=!1);var n=new Date(r,0,4,0,0,0,0);i&&n.setUTCFullYear(r);var s=t*7+e-((n.getDay()||7)+3);return s}function Fo(t,r){return t>12?t-=12:t===0&&(t=12),O(r)?t+(r-1):t}function Ro(t,r,e,i){if(r===void 0&&(r=!1),e===void 0&&(e=!1),i===void 0&&(i=!1),i)return r?"Coordinated Universal Time":"UTC";var n=t.toLocaleString("UTC"),s=t.toLocaleString("UTC",{timeZoneName:r?"long":"short"}).substr(n.length);return e===!1&&(s=s.replace(/ (standard|daylight|summer|winter) /i," ")),s}function dc(t,r,e){return t>e?e:te||t1&&n.pop(),yw(n,s),e.path=n.join("/"),e.path!==""&&e.path[0]!=="/")throw new Error("URL path must start with /")}return e.query=i.query,e.hash=i.hash,sg(e)}else return sg(i)}function aee(){return!!window.MSInputMethodContext&&!!document.documentMode}function sy(t){return+t}k.registeredClasses["ease.linear"]=sy;function h4(t){return t*t}k.registeredClasses["ease.quadIn"]=h4;function d4(t){return t*(2-t)}k.registeredClasses["ease.quadOut"]=d4;function f4(t){return t*=2,(t<=1?t*t:--t*(2-t)+1)/2}k.registeredClasses["ease.quadInOut"]=f4;function ay(t,r){return Math.pow(t,r)}k.registeredClasses["ease.polyIn"]=ay;function oy(t,r){return 1-Math.pow(1-t,r)}k.registeredClasses["ease.polyOut"]=oy;function ly(t,r){return t*=2,(t<=1?Math.pow(t,r):2-Math.pow(2-t,r))/2}k.registeredClasses["ease.polyInOut"]=ly;function p4(t){return ay(t,3)}k.registeredClasses["ease.polyIn3"]=p4;function xh(t){return oy(t,3)}k.registeredClasses["ease.polyOut3"]=xh;function g4(t){return ly(t,3)}k.registeredClasses["ease.polyInOut3"]=g4;function v4(t){return Math.pow(2,10*t-10)}k.registeredClasses["ease.expIn"]=v4;function m4(t){return 1-Math.pow(2,-10*t)}k.registeredClasses["ease.expOut"]=m4;function y4(t){return t*=2,(t<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}k.registeredClasses["ease.expInOut"]=y4;function b4(t){return 1-Math.cos(t*L0)}k.registeredClasses["ease.sinIn"]=b4;function _4(t){return Math.sin(t*L0)}k.registeredClasses["ease.sinOut"]=_4;function w4(t){return(1-Math.cos(Eu*t))/2}k.registeredClasses["ease.sinInOut"]=w4;function S4(t){return t*t*t}k.registeredClasses["ease.cubicIn"]=S4;function An(t){return--t*t*t+1}k.registeredClasses["ease.cubicOut"]=An;function P4(t){return t*=2,(t<=1?t*t*t:(t-=2)*t*t+2)/2}k.registeredClasses["ease.cubicInOut"]=P4;function C4(t){return 1-Math.sqrt(1-t*t)}k.registeredClasses["ease.circleIn"]=C4;function O4(t){return Math.sqrt(1- --t*t)}k.registeredClasses["ease.circleOut"]=O4;function k4(t){return t*=2,(t<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}k.registeredClasses["ease.circleInOut"]=k4;var Dh=4/11,T4=6/11,E4=8/11,x4=3/4,D4=9/11,I4=10/11,M4=15/16,A4=21/22,$4=63/64,Vo=1/Dh/Dh;function B4(t){return 1-Ul(1-t)}k.registeredClasses["ease.bounceIn"]=B4;function Ul(t){return t=+t,t0){this.pause(),tn(this.object.animations,this);var n=setTimeout(function(){i._delayTimeout=null,i.start()},e);this._delayTimeout=new tr(function(){clearTimeout(n)})}return this},r.prototype._start=function(){this._isFinished=!1,this._delayTimeout&&(this.removeDispose(this._delayTimeout),this._delayTimeout=null),this.stopSameAnimations(),this._pause=!1,tn(Re.animations,this),tn(this.object.animations,this),Re.requestFrame()},r.prototype.start=function(){this._start(),this._startTime=Date.now(),this._time=0,this.staticOptions=[];for(var e=this.animationOptions.length-1;e>=0;e--){var i=this.animationOptions[e];if(O(i.from)||(i.childObject?i.from=i.childObject[i.property]:(i.from=this.object[i.property],O(i.from)||(i.from=H4[i.property]))),i.from==i.to)Be(this.animationOptions,i);else if(!O(i.from)||!(i.from instanceof ct)&&i.to instanceof ct||i.from instanceof ct&&!(i.to instanceof ct))this.staticOptions.push(i),Be(this.animationOptions,i);else if(x(i.to))if(i.updateMethod=uy,i.from instanceof ct){var n=this.object[og(i.property,"pixel")];isNaN(n)?(this.staticOptions.push(i),Be(this.animationOptions,i)):i.from=n}else isNaN(i.from)&&(this.staticOptions.push(i),Be(this.animationOptions,i));else if(i.to instanceof pt)i.from?i.updateMethod=U4:(this.staticOptions.push(i),Be(this.animationOptions,i));else if(i.to instanceof ct){if(i.updateMethod=z4,!isNaN(i.from)){var n=this.object[og(i.property,"relative")];isNaN(n)||(i.from=xt(n*100))}}else this.staticOptions.push(i),Be(this.animationOptions,i)}if(this.applyStaticOptions(),this.events.isEnabled("animationstarted")){var s={type:"animationstarted",target:this,progress:this.progress};this.events.dispatchImmediately("animationstarted",s)}return this.update(),this.duration===0&&this.end(),this},r.prototype.loop=function(e){return x(e)||(e=1/0),this._loop=e,this},r.prototype.pause=function(){return this._pause=!0,this._delayTimeout&&(this.removeDispose(this._delayTimeout),this._delayTimeout=null),Be(Re.animations,this),Be(this.object.animations,this),this},r.prototype.resume=function(){return this._start(),this._startTime=Date.now()-this._time,this},r.prototype.end=function(){if(this._loop==0&&this.pause(),this.setProgress(1),this.applyStaticOptions(),this.events.isEnabled("animationended")){var e={type:"animationended",target:this,progress:this.progress};this.events.dispatchImmediately("animationended",e)}return this._loop>0?(this._loop--,this.start()):(this.stop(),this._isFinished=!0),this},r.prototype.kill=function(){this.pause(),this._isFinished=!0},r.prototype.isFinished=function(){return this._isFinished},r.prototype.applyStaticOptions=function(){var e=this;ye(this.staticOptions,function(i){i.childObject?i.childObject[i.property]=e.progress==1?i.to:i.from:e.object[i.property]=e.progress==1?i.to:i.from})},r.prototype.stop=function(e){if(this.pause(),!e&&this.events.isEnabled("animationstopped")){var i={type:"animationstopped",target:this,progress:this.progress};this.events.dispatchImmediately("animationstopped",i)}return this},r.prototype.setProgress=function(e){var i=this;if(this._time=this.duration*e,ye(this.animationOptions,function(s){if(s.updateMethod&&O(s.from)){var a=s.updateMethod(e,s.from,s.to);s.childObject?s.childObject[s.property]=a:i.object[s.property]=a}}),this.progress=e,this.events.isEnabled("animationprogress")){var n={type:"animationprogress",target:this,progress:this.progress};this.events.dispatchImmediately("animationprogress",n)}Re.requestFrame()},r.prototype.update=function(){if(!this._pause){var e=void 0;this._time=Ne(Date.now()-this._startTime,0,this.duration);var i=this._time/this.duration;e=this.easing(i),(this.duration==0||!x(e)||i>=1)&&(e=1),this.setProgress(e),me(this._time/this.duration,6)==1&&this.end()}return this},Object.defineProperty(r.prototype,"delayed",{get:function(){return!!this._delayTimeout},enumerable:!0,configurable:!0}),r.prototype.stopSameAnimations=function(){var e=this;ye(qa(this.object.animations),function(i){if(i!==e&&!i.delayed){var n=[];ye(e.animationOptions,function(s){ye(i.animationOptions,function(a){s.property==a.property&&s.childObject==a.childObject&&(n.push(a),i.animationOptions.length==0&&i.kill())})}),ye(n,function(s){Be(i.animationOptions,s)})}})},r.prototype.asFunction=function(e){return e=="easing"||t.prototype.asIs.call(this,e)},r}(vi),gl="http://www.w3.org/2000/svg",lg="http://www.w3.org/2000/xmlns/",jd="http://www.w3.org/1999/xlink";function Et(t,r,e,i){return t.addEventListener(r,e,i||!1),new tr(function(){t.removeEventListener(r,e,i||!1)})}function cy(t){if(kt(t)){var r=document.getElementById(t);if(r==null&&(r=document.getElementsByClassName(t)[0]),r instanceof HTMLElement)return r}else if(t instanceof HTMLElement)return t}function Ih(t,r){if(!!t)if(t.classList){var e=r.split(" ");ye(e,function(n){t.classList.add(n)})}else{var i=t.getAttribute("class");i?t.setAttribute("class",i.split(" ").filter(function(n){return n!==r}).join(" ")+" "+r):t.setAttribute("class",r)}}function Mh(t,r){if(!!t)if(t.classList)t.classList.remove(r);else{var e=t.getAttribute("class");e&&t.setAttribute("class",e.split(" ").filter(function(i){return i!==r}).join(" "))}}function ug(t,r,e){t.style[r]=e}function Hd(t,r){return t.currentStyle?t.currentStyle[r]:document.defaultView.getComputedStyle(t,null).getPropertyValue(r)}function pc(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{var t=document.createElement("button");t.style.position="fixed",t.style.top="0px",t.style.left="-10000px",document.body.appendChild(t),t.focus(),t.blur(),document.body.removeChild(t)}}function cg(t,r){for(var e=r;;){if(t===e)return!0;if(e.parentNode==null){if(e.host==null)return!1;e=e.host}else e=e.parentNode}}function zd(t){for(var r=t;;){if(r.parentNode==null)return r.host!=null?r:null;r=r.parentNode}}function hy(t){for(var r=t.ownerDocument,e=t;;){if(e.parentNode==null)return e===r||e.host!=null?e:null;e=e.parentNode}}function K4(t){return typeof t.composedPath=="function"?t.composedPath()[0]:t.target}function W4(t){ww(function(){try{var r=t.getBoundingClientRect(),e=r.left-Math.round(r.left),i=r.top-Math.round(r.top);e!==0&&Zp(function(){t.style.left=e+"px"}),i!==0&&Zp(function(){t.style.top=i+"px"})}catch{}})}var gc;function Y4(t){if(t==null){if(!O(gc)){var r=document.createElement("style");r.type="text/css",document.head.appendChild(r),gc=r.sheet}return gc}else{var r=document.createElement("style");return r.type="text/css",t.appendChild(r),r.sheet}}function G4(t,r){var e=t.cssRules.length;return t.insertRule(r+"{}",e),t.cssRules[e]}var Ze=function(t){ee(r,t);function r(e,i,n){var s=this,a=Y4(e);return s=t.call(this,function(){var o=Gr(a.cssRules,s._rule);if(o===-1)throw new Error("Could not dispose StyleRule");a.deleteRule(o)})||this,s._rule=G4(a,i),Le(n,function(o,l){s.setStyle(o,l)}),s}return Object.defineProperty(r.prototype,"selector",{get:function(){return this._rule.selectorText},set:function(e){this._rule.selectorText=e},enumerable:!0,configurable:!0}),r.prototype._setVendorPrefixName=function(e,i){var n=this._rule.style;n.setProperty("-webkit-"+e,i,""),n.setProperty("-moz-"+e,i,""),n.setProperty("-ms-"+e,i,""),n.setProperty("-o-"+e,i,""),n.setProperty(e,i,"")},r.prototype.setStyle=function(e,i){e==="transition"?this._setVendorPrefixName(e,i):this._rule.style.setProperty(e,i,"")},r}(tr),Z4=0;(function(t){ee(r,t);function r(e,i,n){var s=this,a=O(n)?n:"__style_"+ ++Z4+"__";return s=t.call(this,e,"."+a,i)||this,s._className=a,s}return Object.defineProperty(r.prototype,"className",{get:function(){return this._className},set:function(e){this._className=e,this.selector="."+e},enumerable:!0,configurable:!0}),r.prototype.toString=function(){return this._className},r})(Ze);function q4(t){if(document.readyState!=="loading")t();else{var r=function(){document.readyState!=="loading"&&(document.removeEventListener("readystatechange",r),t())};document.addEventListener("readystatechange",r)}}function vl(t){var r=Hd(t,"font-family");if(r)return r;var e=t.parentElement||t.parentNode;return e?vl(e):void 0}function ml(t){var r=Hd(t,"font-size");if(r)return r;var e=t.parentElement||t.parentNode;return e?ml(e):void 0}var Yl=function(){function t(r){this._isDisposed=!1,this._x=0,this._y=0,this._rotationY=0,this._rotationX=0,this._rotation=0,this._scale=1,typeof r=="string"?this.node=document.createElementNS(gl,r):this.node=r}return t.prototype.removeNode=function(){this.node&&this.node.parentNode&&this.node.parentNode.removeChild(this.node)},Object.defineProperty(t.prototype,"transformString",{get:function(){if(this.node)return this._transformString},enumerable:!0,configurable:!0}),t.prototype.transform=function(){var r="translate("+this._x+","+this._y+")";if(this._scale!=1&&(r+=(r?" ":"")+"scale("+this._scale+")"),this._rotation!=0){var e="rotate("+this._rotation+")";this._rotationX&&this._rotationY&&(e="rotate("+this._rotation+" "+this._rotationX+" "+this._rotationY+")"),r+=(r?" ":"")+e}this._transformString=r,this.node.setAttribute("transform",r)},t.prototype.getBBox=function(){var r={width:0,height:0,x:0,y:0};if(this.node&&this.node.parentNode)try{var e=this.node.getBBox();r.x=e.x,r.y=e.y,r.width=e.width,r.height=e.height}catch{}return r},t.prototype.moveTo=function(r){if(r){var e=r.x,i=r.y;(this._x!=e||this._y!=i)&&(this._x=e,this._y=i,this.transform())}},Object.defineProperty(t.prototype,"content",{get:function(){return this.node.innerHTML||""},set:function(r){this.node.innerHTML=r},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return this.node.textContent||""},set:function(r){this.node.textContent=r},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this._x},set:function(r){this._x!=r&&(this._x=r,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._y},set:function(r){this._y!=r&&(this._y=r,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rotation",{get:function(){return this._rotation},set:function(r){this._rotation!=r&&(this._rotation=r,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rotationX",{get:function(){return this._rotationX},set:function(r){this._rotationX!=r&&(this._rotationX=r,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rotationY",{get:function(){return this._rotationY},set:function(r){this._rotationY!=r&&(this._rotationY=r,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scale",{get:function(){return this._scale},set:function(r){this._scale!=r&&(this._scale=r,this.transform())},enumerable:!0,configurable:!0}),t.prototype.removeAttr=function(r){this.node.removeAttribute(r)},t.prototype.attr=function(r){var e=this;return Le(r,function(i,n){O(n)?e.node.setAttribute(i,n):e.node.removeAttribute(i)}),this},t.prototype.getAttr=function(r){return this.node.getAttribute(r)},t.prototype.attrNS=function(r,e,i){return this.node.setAttributeNS(r,e,i),this},t.prototype.getAttrNS=function(r,e){return this.node.getAttributeNS(r,e)},t.prototype.removeStyle=function(r){this.node.style[r]=null,delete this.node.style[r]},t.prototype.getStyle=function(r){return this.node.style[r]},t.prototype.addStyle=function(r){var e=this;return Le(r,function(i,n){O(n)?e.node.style[i]=n:e.removeStyle(i)}),this},t.prototype.addClass=function(r){Ih(this.node,r)},t.prototype.removeClass=function(r){Mh(this.node,r)},t.prototype.setClass=function(r){this.node.setAttribute("class",r)},t.prototype.removeChildNodes=function(){for(;this.node.childNodes.length>0;)this.node.removeChild(this.node.firstChild)},t.prototype.isDisposed=function(){return this._isDisposed},t.prototype.dispose=function(){this.removeNode()},t}(),Q4=function(t){ee(r,t);function r(e){return t.call(this,e)||this}return r.prototype.add=function(e){e&&this.node.appendChild(e.node)},r.prototype.addToBack=function(e){if(e){var i=this.node.childNodes[0];i?i!=e.node&&this.node.insertBefore(e.node,i):this.node.appendChild(e.node)}},r.prototype.removeElement=function(e){if(e)try{e.node&&e.node.parentNode==this.node&&this.node.removeChild(e.node)}catch{}},r.prototype.hasChild=function(e){for(var i=0;i0;){var e=this.node.firstChild;e&&e.parentNode&&e.parentNode.removeChild(e)}},r.prototype.removeChildrenByTag=function(e){if(this.node.childNodes)for(var i=this.node.getElementsByTagName(e),n=0;n-1&&(this.focusable=!0),Ae().processFocusable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"element",{get:function(){return this._element},set:function(e){this._element=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"originalPosition",{get:function(){return this._originalPosition||{x:0,y:0}},set:function(e){this._originalPosition=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"originalScale",{get:function(){return oc(this._originalScale,1)},set:function(e){this._originalScale!==e&&(this._originalScale=e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"originalAngle",{get:function(){return oc(this._originalAngle,0)},set:function(e){this._originalAngle!==e&&(this._originalAngle=e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"inertiaOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("inertiaOptions",this._inertiaOptions):this._inertiaOptions},set:function(e){this._inertiaOptions=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hitOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("hitOptions",this._hitOptions):this._hitOptions},set:function(e){this._hitOptions=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hoverOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("hoverOptions",this._hoverOptions):this._hoverOptions},set:function(e){this._hoverOptions=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"swipeOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("swipeOptions",this._swipeOptions):this._swipeOptions},set:function(e){this._swipeOptions=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"keyboardOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("keyboardOptions",this._keyboardOptions):this._keyboardOptions},set:function(e){this._keyboardOptions=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"mouseOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("mouseOptions",this._mouseOptions):this._mouseOptions},set:function(e){this._mouseOptions=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cursorOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("cursorOptions",this._cursorOptions):this._cursorOptions},set:function(e){this._cursorOptions=e},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.inertiaOptions=e.inertiaOptions,this.hitOptions=e.hitOptions,this.hoverOptions=e.hoverOptions,this.swipeOptions=e.swipeOptions,this.keyboardOptions=e.keyboardOptions,this.cursorOptions=e.cursorOptions,this.contextMenuDisabled=e.contextMenuDisabled,Ae().applyCursorOverStyle(this)},r.prototype.setEventDisposer=function(e,i,n){var s=this.eventDisposers.getKey(e);i?s==null&&this.eventDisposers.setKey(e,n()):s!=null&&(s.dispose(),this.eventDisposers.removeKey(e))},r.prototype.dispose=function(){t.prototype.dispose.call(this);var e=Ae();e.overObjects.removeValue(this),e.downObjects.removeValue(this),e.trackedObjects.removeValue(this),e.transformedObjects.removeValue(this),this.isHover&&this.wheelable&&e.unlockWheel(),e.focusedObject===this&&(e.focusedObject=void 0)},r}(vi),t3=function(){function t(r,e){this._disposed=!1,this.directionX=0,this.directionY=0,this.interaction=r,this.keyboardEvent=e,this._startedOn=new Date().getTime(),Ae().processDragStart(r),Re.animations.push(this),this.update()}return t.prototype.update=function(){var r=this.interaction,e=Ae().getKeyboardOption(r,"speed"),i=Ae().getKeyboardOption(r,"accelleration"),n=Ae().getKeyboardOption(r,"accellerationDelay"),s={x:0,y:0};this.keyboardEvent.shiftKey?(e*=.5,i=1):this.keyboardEvent.ctrlKey&&(e*=2);var a=new Date().getTime()-this._startedOn,o=a-n;if(i>0&&o>0){var l=a/n;a=n,s.x+=this.directionX*(e*i*l*o),s.y+=this.directionY*(e*i*l*o)}s.x+=this.directionX*(e*a),s.y+=this.directionY*(e*a),Ae().handleTransformMove(r,s,{x:0,y:0},this.keyboardEvent,!0,!1)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||(Ae().processDragStop(this.interaction),Be(Re.animations,this))},t}(),r3=function(t){ee(r,t);function r(e,i,n,s){var a=t.call(this)||this;return a.animations=[],a.className="Inertia",a.interaction=e,a.type=i,a.point=n,a.startPoint=s,a._disposers.push(new Is(a.animations)),a}return Object.defineProperty(r.prototype,"x",{get:function(){return this.point.x},set:function(e){x(e)&&(this.point.x=e,this.handleMove())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"y",{get:function(){return this.point.y},set:function(e){x(e)&&(this.point.y=e,this.handleMove())},enumerable:!0,configurable:!0}),r.prototype.handleMove=function(){if(this.interaction.events.isEnabled("drag")){var e={type:"drag",target:this.interaction,shift:{x:this.x-this.startPoint.x,y:this.y-this.startPoint.y},startPoint:this.startPoint,point:{x:this.x,y:this.y},touch:!1};this.interaction.events.dispatchImmediately("drag",e)}},r.prototype.done=function(){this.interaction.inertias.removeKey(this.type),this.type==="move"&&Ae().processDragStop(this.interaction),this.dispose()},r}(Qt),i3=function(){function t(){}return t.prototype.getEventKey=function(r){var e=r.keyCode||r.which,i;switch(e){case 38:i="up";break;case 40:i="down";break;case 37:i="left";break;case 39:i="right";break;case 13:i="enter";break;case 27:i="esc";break;case 36:i="home";break;case 35:i="end";break;case 9:i="tab";break;case 17:i="ctrl";break;case 18:i="alt";break;case 16:i="shift";break;case 32:i="space";break;case 36:i="home";break;case 35:i="end";break;case 33:i="pgup";break;case 34:i="pgdn";break;case 45:i="ins";break;case 46:i="del";break;case 107:i="plus";break;case 109:i="minus";break;default:i="other";break}return i},t.prototype.isKey=function(r,e){var i=this.getEventKey(r);return kt(e)&&(e=[e]),e.indexOf(i)!==-1},t.prototype.shiftKey=function(r){return r.shiftKey},t.prototype.ctrlKey=function(r){return r.ctrlKey},t.prototype.altKey=function(r){return r.altKey},t.prototype.metaKey=function(r){return r.metaKey},t}(),xi=new i3,n3={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6};function s3(t){switch(t){case"year":return;case"month":return"year";case"week":return"month";case"day":return"month";case"hour":return"day";case"minute":return"hour";case"second":return"minute";case"millisecond":return"second"}}function vc(t,r){return O(r)||(r=1),n3[t]*r}function a3(){return new Date}function ri(){return a3().getTime()}function oee(t){return new Date(t.getTime())}function o3(t,r,e,i){t=new Date(t.getTime()),r=new Date(r.getTime());var n=0,s=0;!i&&e!="millisecond"&&(n=t.getTimezoneOffset(),t.setUTCMinutes(t.getUTCMinutes()-n),s=r.getTimezoneOffset(),r.setUTCMinutes(r.getUTCMinutes()-s));var a=!1;switch(e){case"year":t.getUTCFullYear()!=r.getUTCFullYear()&&(a=!0);break;case"month":(t.getUTCFullYear()!=r.getUTCFullYear()||t.getUTCMonth()!=r.getUTCMonth())&&(a=!0);break;case"day":(t.getUTCMonth()!=r.getUTCMonth()||t.getUTCDate()!=r.getUTCDate())&&(a=!0);break;case"hour":t.getUTCHours()!=r.getUTCHours()&&(a=!0);break;case"minute":t.getUTCMinutes()!=r.getUTCMinutes()&&(a=!0);break;case"second":t.getUTCSeconds()!=r.getUTCSeconds()&&(a=!0);break;case"millisecond":t.getTime()!=r.getTime()&&(a=!0);break}if(a)return!0;var o=s3(e);return o?(t.setUTCMinutes(t.getUTCMinutes()+n),r.setUTCMinutes(r.getUTCMinutes()+s),o3(t,r,o,i)):!1}function lee(t,r,e,i){var n=0;switch(!i&&r!="millisecond"&&(n=t.getTimezoneOffset(),t.setUTCMinutes(t.getUTCMinutes()-n)),r){case"day":var s=t.getUTCDate();t.setUTCDate(s+e);break;case"second":var a=t.getUTCSeconds();t.setUTCSeconds(a+e);break;case"millisecond":var o=t.getUTCMilliseconds();t.setUTCMilliseconds(o+e);break;case"hour":var l=t.getUTCHours();t.setUTCHours(l+e);break;case"minute":var u=t.getUTCMinutes();t.setUTCMinutes(u+e);break;case"year":var c=t.getUTCFullYear();t.setUTCFullYear(c+e);break;case"month":var h=t.getUTCMonth();t.setUTCMonth(h+e);break;case"week":var d=t.getUTCDate();t.setUTCDate(d+e*7);break}if(!i&&r!="millisecond"&&(t.setUTCMinutes(t.getUTCMinutes()+n),r=="day"||r=="week"||r=="month"||r=="year")){var f=t.getTimezoneOffset();if(f!=n){var p=f-n;t.setUTCMinutes(t.getUTCMinutes()+p),t.getTimezoneOffset()!=f&&t.setUTCMinutes(t.getUTCMinutes()-p)}}return t}function l3(t,r,e,i,n,s,a,o){a===void 0&&(a=0),x(e)||(e=1);var l=0;switch(o&&["day","month","week","year"].indexOf(r)!=-1&&(t=Ud(t,o)),!n&&r!="millisecond"&&(l=t.getTimezoneOffset(),t.setUTCMinutes(t.getUTCMinutes()-l)),r){case"day":var u=t.getUTCDate();if(e>1){if(s){s=l3(s,"day",1);var c=t.getTime()-s.getTime(),h=Math.floor(c/vc("day")/e),d=vc("day",h*e);t.setTime(s.getTime()+d-l*vc("minute"))}}else t.setUTCDate(u);t.setUTCHours(0,0,0,0);break;case"second":var f=t.getUTCSeconds();e>1&&(f=Math.floor(f/e)*e),t.setUTCSeconds(f,0);break;case"millisecond":if(e==1)return t;var p=t.getUTCMilliseconds();p=Math.floor(p/e)*e,t.setUTCMilliseconds(p);break;case"hour":var g=t.getUTCHours();e>1&&(g=Math.floor(g/e)*e),t.setUTCHours(g,a,0,0);break;case"minute":var v=t.getUTCMinutes();p=t.getUTCMilliseconds(),e>1&&(v=Math.floor(v/e)*e),t.setUTCMinutes(v,0,0);break;case"month":var y=t.getUTCMonth();e>1&&(y=Math.floor(y/e)*e),t.setUTCMonth(y,1),t.setUTCHours(0,a,0,0);break;case"year":var m=t.getUTCFullYear();e>1&&(m=Math.floor(m/e)*e),t.setUTCFullYear(m,0,1),t.setUTCHours(0,a,0,0);break;case"week":var w=t.getUTCDate(),C=t.getUTCDay();x(i)||(i=1),C>=i?w=w-C+i:w=w-(7+C)+i,t.setUTCDate(w),t.setUTCHours(0,a,0,0);break}if(!n&&r!="millisecond"&&(t.setUTCMinutes(t.getUTCMinutes()+l),r=="day"||r=="week"||r=="month"||r=="year")){var P=t.getTimezoneOffset();if(P!=l){var E=P-l;t.setUTCMinutes(t.getUTCMinutes()+E)}}return t}function Ud(t,r){var e=new Date(t.toLocaleString("en-US",{timeZone:r}));return e}function u3(t){var r=new Date;r.setHours(0,0,0,0);var e=Ud(r,t);return e.getMinutes()}var c3=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e._globalEventsAdded=!1,e._pointerEvents={pointerdown:"mousedown",pointerup:"mouseup",pointermove:"mousemove",pointercancel:"mouseup",pointerover:"mouseover",pointerout:"mouseout",wheel:"wheel"},e._usePointerEventsOnly=!1,e._useTouchEventsOnly=!1,e._addHoverEvents=!0,e._passiveSupported=!1,e._delayedEvents={out:[]},e.overObjects=new vt,e.downObjects=new vt,e.trackedObjects=new vt,e.transformedObjects=new vt,e.pointers=new $t,e.inertiaOptions=new $t,e.hitOptions={doubleHitTime:300,hitTolerance:10,noFocus:!0},e.hoverOptions={touchOutBehavior:"leave",touchOutDelay:1e3},e.swipeOptions={time:500,verticalThreshold:75,horizontalThreshold:30},e.keyboardOptions={speed:.1,accelleration:1.2,accellerationDelay:2e3},e.mouseOptions={sensitivity:1},e.className="Interaction",e.body=e.getInteraction(document.body),e._disposers.push(e.body),window.hasOwnProperty("PointerEvent")?(e._pointerEvents.pointerdown="pointerdown",e._pointerEvents.pointerup="pointerup",e._pointerEvents.pointermove="pointermove",e._pointerEvents.pointercancel="pointercancel",e._pointerEvents.pointerover="pointerover",e._pointerEvents.pointerout="pointerout"):window.hasOwnProperty("MSPointerEvent")?(e._pointerEvents.pointerdown="MSPointerDown",e._pointerEvents.pointerup="MSPointerUp",e._pointerEvents.pointermove="MSPointerMove",e._pointerEvents.pointercancel="MSPointerUp",e._pointerEvents.pointerover="MSPointerOver",e._pointerEvents.pointerout="MSPointerOut"):typeof matchMedia<"u"&&matchMedia("(pointer:fine)").matches?"ontouchstart"in window&&(e._addHoverEvents=!1,e._useTouchEventsOnly=!0):window.navigator.userAgent.match(/MSIE /)||e.fullFF()?e._usePointerEventsOnly=!0:e._useTouchEventsOnly=!0,"onwheel"in document.createElement("div")?e._pointerEvents.wheel="wheel":O(document.onmousewheel)&&(e._pointerEvents.wheel="mousewheel"),e.inertiaOptions.setKey("move",{time:100,duration:500,factor:1,easing:xh}),e.inertiaOptions.setKey("resize",{time:100,duration:500,factor:1,easing:xh}),e._passiveSupported=r.passiveSupported,e.applyTheme(),e}return r.prototype.fullFF=function(){return window.navigator.userAgent.match(/Firefox/)&&!window.navigator.userAgent.match(/Android/)},r.prototype.debug=function(){},r.prototype.addGlobalEvents=function(){var e=this;this._globalEventsAdded||(this._useTouchEventsOnly||(this._disposers.push(Et(document,this._pointerEvents.pointerdown,function(i){e.handleGlobalPointerDown(i)})),this._disposers.push(Et(document,this._pointerEvents.pointermove,function(i){e.handleGlobalPointerMove(i)})),this._disposers.push(Et(document,this._pointerEvents.pointerup,function(i){e.handleGlobalPointerUp(i)})),this._disposers.push(Et(document,this._pointerEvents.pointercancel,function(i){e.handleGlobalPointerUp(i,!0)})),this._disposers.push(Et(document,"mouseenter",function(i){!O(i.relatedTarget)&&(i.buttons==0||i.which==0)&&e.handleDocumentLeave(i)}))),this._usePointerEventsOnly||(this._disposers.push(Et(document,"touchstart",function(i){e.handleGlobalTouchStart(i)})),this._disposers.push(Et(document,"touchmove",function(i){e.handleGlobalTouchMove(i)})),this._disposers.push(Et(document,"touchend",function(i){e.handleGlobalTouchEnd(i)}))),this._disposers.push(Et(document,"keydown",function(i){e.handleGlobalKeyDown(i)})),this._disposers.push(Et(document,"keyup",function(i){e.handleGlobalKeyUp(i)})),this._globalEventsAdded=!0)},r.prototype.processClickable=function(e){this.processTouchable(e)},r.prototype.processContextMenu=function(e){e.contextMenuDisabled?e.eventDisposers.hasKey("contextMenuDisabled")||e.eventDisposers.setKey("contextMenuDisabled",Et(e.element,"contextmenu",function(i){i.preventDefault()})):e.eventDisposers.hasKey("contextMenuDisabled")&&e.eventDisposers.getKey("contextMenuDisabled").dispose()},r.prototype.processHoverable=function(e){var i=this;if(e.hoverable||e.trackable)this.addGlobalEvents(),this.applyCursorOverStyle(e),!e.eventDisposers.hasKey("hoverable")&&this._addHoverEvents&&e.eventDisposers.setKey("hoverable",new Mt([Et(e.element,this._pointerEvents.pointerout,function(s){return i.handlePointerOut(e,s)}),Et(e.element,this._pointerEvents.pointerover,function(s){return i.handlePointerOver(e,s)})])),e.trackable;else{var n=e.eventDisposers.getKey("hoverable");n!=null&&(n.dispose(),e.eventDisposers.removeKey("hoverable"))}this.processTouchable(e)},r.prototype.processMovable=function(e){(e.draggable||e.swipeable||e.trackable||e.resizable)&&(!this.isGlobalElement(e)&&!e.isTouchProtected&&this.prepElement(e),this.applyCursorOverStyle(e)),this.processTouchable(e)},r.prototype.processTrackable=function(e){this.processHoverable(e),this.processMovable(e),e.trackable?this.trackedObjects.moveValue(e):this.trackedObjects.removeValue(e)},r.prototype.processDraggable=function(e){this.processMovable(e)},r.prototype.processSwipeable=function(e){this.processMovable(e)},r.prototype.processResizable=function(e){this.processMovable(e)},r.prototype.processWheelable=function(e){var i=this;if(e.wheelable)e.eventDisposers.hasKey("wheelable")||e.eventDisposers.setKey("wheelable",new Mt([Et(e.element,this._pointerEvents.wheel,function(s){return i.handleMouseWheel(e,s)},this._passiveSupported?{passive:!1}:!1),e.events.on("out",function(s){e.wheelable&&i.unlockWheel()}),e.events.on("over",function(s){e.wheelable&&i.lockWheel()})]));else{var n=e.eventDisposers.getKey("wheelable");n!=null&&(n.dispose(),e.eventDisposers.removeKey("wheelable"))}},r.prototype.processFocusable=function(e){var i=this;if(e.focusable===!0&&e.tabindex>-1&&!this._useTouchEventsOnly)e.eventDisposers.hasKey("focusable")||e.eventDisposers.setKey("focusable",new Mt([Et(e.element,"focus",function(s){return i.handleFocus(e,s)}),Et(e.element,"blur",function(s){return i.handleBlur(e,s)}),Et(e.element,this._pointerEvents.pointerdown,function(s){return i.handleFocusBlur(e,s)}),Et(e.element,"touchstart",function(s){return i.handleFocusBlur(e,s)},this._passiveSupported?{passive:!1}:!1)]));else{var n=e.eventDisposers.getKey("focusable");n!=null&&(n.dispose(),e.eventDisposers.removeKey("focusable"))}},r.prototype.processTouchable=function(e){var i=this;if(e.clickable||e.hoverable||e.trackable||e.draggable||e.swipeable||e.resizable)this.addGlobalEvents(),e.eventDisposers.hasKey("touchable")||(!this._useTouchEventsOnly&&!this._usePointerEventsOnly?e.eventDisposers.setKey("touchable",new Mt([Et(e.element,this._pointerEvents.pointerdown,function(s){return i.handlePointerDown(e,s)}),Et(e.element,"touchstart",function(s){return i.handleTouchDown(e,s)},this._passiveSupported?{passive:!1}:!1)])):this._useTouchEventsOnly?this._usePointerEventsOnly||e.eventDisposers.setKey("touchable",Et(e.element,"touchstart",function(s){return i.handleTouchDown(e,s)},this._passiveSupported?{passive:!1}:!1)):e.eventDisposers.setKey("touchable",Et(e.element,this._pointerEvents.pointerdown,function(s){return i.handlePointerDown(e,s)})));else{var n=e.eventDisposers.getKey("touchable");n!=null&&(n.dispose(),e.eventDisposers.removeKey("touchable"))}},r.prototype.handleFocus=function(e,i){if(!e.focusable){i.preventDefault();return}if(e.isFocused=!0,e.events.isEnabled("focus")&&!Re.isPaused){var n={type:"focus",target:e,event:i};e.events.dispatchImmediately("focus",n)}},r.prototype.handleFocusBlur=function(e,i){e.focusable!==!1&&this.getHitOption(e,"noFocus")&&e.events.once("focus",function(){e.events.disableType("blur"),pc(),e.sprite&&e.sprite.handleBlur(),e.events.enableType("blur")})},r.prototype.handleBlur=function(e,i){if(!e.focusable){i.preventDefault();return}if(e.isFocused=!1,e.events.isEnabled("blur")&&!Re.isPaused){var n={type:"blur",target:e,event:i};e.events.dispatchImmediately("blur",n)}},r.prototype.handleGlobalKeyDown=function(e){if(this.focusedObject){if(xi.isKey(e,"esc"))pc();else if(this.focusedObject.draggable&&xi.isKey(e,["up","down","left","right"])){e.preventDefault();var i=this.focusedObject,n="interactionKeyboardObject";if(i.eventDisposers.hasKey(n))return;var s=new t3(i,e);switch(i.eventDisposers.setKey(n,s),xi.getEventKey(e)){case"up":s.directionY=-1;break;case"down":s.directionY=1;break;case"left":s.directionX=-1;break;case"right":s.directionX=1;break}}}},r.prototype.handleGlobalKeyUp=function(e){var i="interactionKeyboardObject";if(this.focusedObject){var n=this.focusedObject.eventDisposers.getKey(i);n!=null&&(e.preventDefault(),n.dispose(),this.focusedObject.eventDisposers.removeKey(i));var s=this.focusedObject.sprite;xi.isKey(e,"enter")&&s&&(s.events.isEnabled("hit")||s.events.isEnabled("toggled")?this.focusedObject.dispatchImmediately("hit"):s.showTooltipOn=="hit"&&this.focusedObject.dispatchImmediately("up"))}},r.prototype.handleGlobalPointerMove=function(e){var i=this.getPointer(e);if(i.point=this.getPointerPoint(e),this.events.isEnabled("track")&&!Re.isPaused){var n={type:"track",target:this,event:e,pointer:i,touch:i.touch};this.events.dispatchImmediately("track",n)}this.addBreadCrumb(i,i.point),this.handleGlobalMove(i,e)},r.prototype.handleGlobalPointerDown=function(e){this.processDelayed();var i=this.getPointer(e);if(this.events.isEnabled("down")&&!Re.isPaused){var n={type:"down",target:this,event:e,pointer:i,touch:i.touch};this.events.dispatchImmediately("down",n)}},r.prototype.preventTouchAction=function(e){e.defaultPrevented||e.preventDefault()},r.prototype.handleGlobalPointerUp=function(e,i){i===void 0&&(i=!1);var n=this.getPointer(e);if(this.events.isEnabled("up")&&!Re.isPaused){var s={type:"up",target:this,event:e,pointer:n,touch:n.touch};this.events.dispatchImmediately("up",s)}this.handleGlobalUp(n,e,i)},r.prototype.handleGlobalTouchMove=function(e){for(var i=0;i=s-this.getHitOption(e,"doubleHitTime")){if(s-e.lastHit<100)return;if(e.lastHit=void 0,e.lastHitPointer=void 0,e.events.isEnabled("doublehit")&&!Re.isPaused){var a={type:"doublehit",target:e,point:i.point,event:n,touch:i.touch};e.events.dispatchImmediately("doublehit",a)}}else if(e.lastHit=s,e.lastHitPointer=i,i.button===3){if(e.events.isEnabled("rightclick")&&!Re.isPaused){var a={type:"rightclick",target:e,event:n};e.events.dispatchImmediately("rightclick",a)}}else if(e.events.isEnabled("hit")&&!Re.isPaused){var a={type:"hit",target:e,event:n,point:i.point,touch:i.touch};e.events.dispatchImmediately("hit",a)}},r.prototype.handleOver=function(e,i,n,s){if(!!e.hoverable){var a=!1;if(this.shouldCancelHovers(i)&&this.areTransformed()&&this.moved(i,this.getHitOption(e,"hitTolerance"))&&(a=!0,this.cancelAllHovers(n)),this.processDelayed(),e.overPointers.moveValue(i),!e.isRealHover&&(a||(e.isHover=!0,e.isRealHover=!0,this.overObjects.moveValue(e)),this.handleTrack(this.body,i,n,!0),e.events.isEnabled("over")&&!Re.isPaused&&!a)){var o={type:"over",target:e,event:n,pointer:i,touch:i.touch};e.events.dispatchImmediately("over",o)}}},r.prototype.handleOut=function(e,i,n,s,a){var o=this;if(s===void 0&&(s=!1),a===void 0&&(a=!1),!!e.hoverable&&(e.overPointers.removeValue(i),e.isHover&&(!e.hasDelayedOut||a))){if(s&&e.overPointers.length)return;if(i&&i.touch&&!a&&!this.old(i)){var l=this.getHoverOption(e,"touchOutBehavior");if(l=="leave"){this._delayedEvents.out.push({type:"out",io:e,pointer:i,event:n,keepUntil:ri()+500}),e.hasDelayedOut=!0;return}else if(l=="delay"&&this.getHoverOption(e,"touchOutDelay")){this._delayedEvents.out.push({type:"out",io:e,pointer:i,event:n,keepUntil:ri()+500,timeout:this.setTimeout(function(){o.handleOut(e,i,n,!0)},this.getHoverOption(e,"touchOutDelay"))});return}}if(e.isHover=!1,this.overObjects.removeValue(e),!e.isDisposed()&&e.events.isEnabled("out")&&!Re.isPaused){var u={type:"out",target:e,event:n,pointer:i,touch:i.touch};e.events.dispatchImmediately("out",u)}e.overPointers.clear(),e.hasDelayedOut=!1}},r.prototype.processDelayed=function(){for(var e;e=this._delayedEvents.out.pop(),!!e;)e.timeout&&e.timeout.dispose(),this.handleOut(e.io,e.pointer,e.event,!1,!0)},r.prototype.handleDown=function(e,i,n){if(this.maybePreventDefault(e,n,i),e.inert&&this.stopInertia(e),this.handleOver(e,i,n,!0),e.downPointers.moveValue(i),this.applyCursorDownStyle(e,i),e.isDown||(e.focusable!==!1&&this.getHitOption(e,"noFocus")&&this.focusedObject&&pc(),e.isDown=!0,this.downObjects.moveValue(e),e.draggable&&this.processDragStart(e,i,n),e.resizable&&this.processResizeStart(e,i,n)),e.events.isEnabled("down")&&!Re.isPaused){var s={type:"down",target:e,event:n,pointer:i,touch:i.touch};e.events.dispatchImmediately("down",s)}},r.prototype.handleGlobalUp=function(e,i,n){var s=this;n===void 0&&(n=!1);var a=this.downObjects.values.slice();a.sort(function(o,l){if(o&&l){var u=o.element.compareDocumentPosition(l.element);return u&Node.DOCUMENT_POSITION_CONTAINED_BY?1:u&Node.DOCUMENT_POSITION_CONTAINS?-1:0}else return 0}),ye(a,function(o){o&&o.downPointers.contains(e)&&s.handleUp(o,e,i,n)})},r.prototype.handleDocumentLeave=function(e){var i=this;Ve(this.downObjects.backwards().iterator(),function(n){n.downPointers.each(function(s){i.handleUp(n,s,e)})})},r.prototype.handleUp=function(e,i,n,s){if(s===void 0&&(s=!1),this.restoreCursorDownStyle(e,i),e.downPointers.removeValue(i),(i.touch||this._useTouchEventsOnly)&&this.handleOut(e,i,n,!0),e.isDown){if(e.downPointers.length==0&&(e.isDown=!1,this.downObjects.removeValue(e)),e.events.isEnabled("up")&&!Re.isPaused){var a={type:"up",target:e,event:n,pointer:i,touch:i.touch};e.events.dispatchImmediately("up",a)}s||(e.swipeable&&this.swiped(e,i)?this.handleSwipe(e,i,n):(e.clickable&&!this.moved(i,this.getHitOption(e,"hitTolerance"))&&this.handleHit(e,i,n),e.inert&&this.moved(i,this.getHitOption(e,"hitTolerance"))?this.handleInertia(e,i):e.draggable&&this.processDragStop(e,i,n),e.resizable&&this.processResizeStop(e,i,n)))}},r.prototype.maybePreventDefault=function(e,i,n){O(i)&&(e.draggable||e.swipeable||e.trackable||e.resizable)&&!this.isGlobalElement(e)&&i.cancelable!==!1&&(!e.isTouchProtected||!n||!n.touch)&&i.preventDefault()},r.prototype.cancelAllHovers=function(e){var i=this;Ve(this.overObjects.backwards().iterator(),function(n){if(n){var s=n.overPointers.getIndex(0);i.handleOut(n,s,e,!0,!0)}})},r.prototype.shouldCancelHovers=function(e){return Dr.disableHoverOnTransform=="touch"},r.prototype.handleGlobalMove=function(e,i){var n=this;if(!e.touch){var s=K4(e.lastEvent);Ve(this.overObjects.backwards().iterator(),function(a){if(a&&a.overPointers.contains(e)&&a.hoverable){var o=!1;a.element&&e.lastEvent&&cg(a.element,s)||(o=!0),o&&n.handleOut(a,e,i,!0)}})}Ve(this.transformedObjects.backwards().iterator(),function(a){a.downPointers.contains(e)&&!(a.swipeable&&n.swiping(a,e))&&(a.draggable||a.resizable)&&n.handleTransform(a,i)}),Ve(this.trackedObjects.backwards().iterator(),function(a){a.overPointers.contains(e)||n.handleTrack(a,e,i)})},r.prototype.handleTrack=function(e,i,n,s){if(s===void 0&&(s=!1),!(!s&&!this.moved(i,0))&&e.events.isEnabled("track")&&!Re.isPaused){var a={type:"track",target:e,event:n,point:i.point,pointer:i,touch:i.touch};e.events.dispatchImmediately("track",a)}},r.prototype.handleSwipe=function(e,i,n){if(e.events.isEnabled("swipe")&&!Re.isPaused){var s={type:"swipe",target:e,event:n,touch:i.touch};e.events.dispatchImmediately("swipe",s)}if(i.startPoint.x0?e.events.isEnabled("swiperight")&&!Re.isPaused&&e.events.dispatchImmediately("wheelright",{type:"wheelright",target:e,event:a,point:i.point,shift:o}):s<0?e.events.isEnabled("wheelup")&&!Re.isPaused&&e.events.dispatchImmediately("wheelup",{type:"wheelup",target:e,event:a,point:i.point,shift:o}):s>0&&e.events.isEnabled("wheeldown")&&!Re.isPaused&&e.events.dispatchImmediately("wheeldown",{type:"wheeldown",target:e,event:a,point:i.point,shift:o})},r.prototype.handleInertia=function(e,i){e.draggable&&e.downPointers.length===0&&this.handleMoveInertia(e,i),e.resizable&&e.downPointers.length>1&&this.handleResizeInertia(e,i)},r.prototype.handleMoveInertia=function(e,i){var n=e,s="move",a={x:i.point.x,y:i.point.y},o={x:i.startPoint.x,y:i.startPoint.y},l=new r3(n,s,a,o),u=this.getTrailPoint(i,ri()-this.getInertiaOption(e,"move","time"));if(typeof u>"u"){this.processDragStop(e,i,i.lastUpEvent);return}var c=this.getInertiaOption(e,"move","factor"),h=[{to:i.point.x+(i.point.x-u.point.x)*c,property:"x"},{to:i.point.y+(i.point.y-u.point.y)*c,property:"y"}],d=new ui(l,h,this.getInertiaOption(e,"move","duration"),this.getInertiaOption(e,"move","easing")).start();this._disposers.push(d.events.on("animationended",function(f){l.done()})),e.inertias.setKey("move",l)},r.prototype.handleResizeInertia=function(e,i){},r.prototype.handleTransform=function(e,i){var n=e.downPointers.getIndex(0),s=null,a=null;n&&(s=n.point,a=n.startPoint);var o,l,u;l={x:e.originalPosition.x,y:e.originalPosition.y},u=l;for(var c=!0,h=1;h"u"&&(n=this.hitOptions[i]),n},r.prototype.getHoverOption=function(e,i){var n=e.hoverOptions[i];return typeof n>"u"&&(n=this.hoverOptions[i]),n},r.prototype.getSwipeOption=function(e,i){var n=e.swipeOptions[i];return typeof n>"u"&&(n=this.swipeOptions[i]),n},r.prototype.getKeyboardOption=function(e,i){var n=e.keyboardOptions[i];return typeof n>"u"&&(n=this.keyboardOptions[i]),n},r.prototype.getMouseOption=function(e,i){var n=e.mouseOptions[i];return typeof n>"u"&&(n=this.mouseOptions[i]),n},r.prototype.getInertiaOption=function(e,i,n){var s=e.inertiaOptions.getKey(i),a;return s&&O(s[n])?a=s[n]:a=this.inertiaOptions.getKey(i)[n],a},r.prototype.stopInertia=function(e){for(var i,n=["move","resize"],s=0;sn-this.getSwipeOption(e,"time")},r.prototype.swiped=function(e,i){var n=ri();return i.swipeCanceled?!1:Math.abs(i.startPoint.x-i.point.x)>this.getSwipeOption(e,"horizontalThreshold")&&Math.abs(i.startPoint.y-i.point.y)n-this.getSwipeOption(e,"time")},r.prototype.applyCursorOverStyle=function(e){var i=e.cursorOptions;if(!!O(i.overStyle))for(var n=0;ni||Math.abs(s.y)>i},r.prototype.old=function(e,i){return i===void 0&&(i=300),ri()-e.startTime>i},r.prototype.getShift=function(e){return{x:e.startPoint.x-e.point.x,y:e.startPoint.y-e.point.y}},r.prototype.getTrailPoint=function(e,i){for(var n,s=0;s=i){n=e.track[s];break}return n},r.prototype.pointerExists=function(e,i){var n=!1;return e.each(function(s){s!=i&&(n=s.point.x==i.point.x&&s.point.y==i.point.y)}),n},r.prototype.getInteraction=function(e){return new e3(e)},r.prototype.setTemporaryStyle=function(e,i,n){var s=e.element;O(s.style[i])&&!e.replacedStyles.hasKey(i)&&e.replacedStyles.setKey(i,s.style[i]),ug(s,i,n)},r.prototype.restoreStyle=function(e,i){e.replacedStyles.hasKey(i)?(e.element.style[i]=e.replacedStyles.getKey(i),e.replacedStyles.removeKey(i)):delete e.element.style[i]},r.prototype.restoreAllStyles=function(e){Ve(e.replacedStyles.iterator(),function(i){var n=i[0],s=i[1];e.element.style[n]=s,e.replacedStyles.removeKey(n)})},r.prototype.dispose=function(){this.isDisposed()||(t.prototype.dispose.call(this),this.restoreAllStyles(this.body),this.unlockWheel())},r.prototype.log=function(e,i,n){{if(i.changedTouches){for(var s=0;s0},r.prototype.logTouch=function(e,i,n){console.log(e+" "+i+" touch "+n.identifier)},Object.defineProperty(r,"passiveSupported",{get:function(){var e=this;if(this._passiveSupported==null)try{var i=Object.defineProperty({},"passive",{get:function(){e._passiveSupported=!0}});window.addEventListener("test",i,i),window.removeEventListener("test",i,i)}catch{this._passiveSupported=!1}return this._passiveSupported},enumerable:!0,configurable:!0}),r}(vi),mc=null;function Ae(){return mc==null&&(mc=new c3),mc}var dy=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.adapter=new gr(e),e._elements={},e._IOs={},e._content="",e._title="",e._classPrefix="ampopup",e._defaultStyles=!0,e._showCurtain=!1,e._draggable=!0,e._align="center",e._dynamicResize=!0,e._verticalAlign="middle",e._shift={x:0,y:0},e._tempShift={x:0,y:0},e._readerTitle="",e._closable=!0,e._cssLoaded=!1,e._fitTo="window",e.isTemplate=!1,e._sized=!1,e.className="Popup",e}return r.prototype.open=function(){this.container&&(this._elements.wrapper&&this.container.appendChild(this._elements.wrapper),this._elements.curtain&&(this.container.appendChild(this._elements.curtain),this.showCurtain=this.showCurtain),this.positionElement(),this.dispatchImmediately("opened"))},r.prototype.close=function(){this._elements.wrapper&&this._elements.wrapper.parentElement&&this._elements.wrapper.parentElement.removeChild(this._elements.wrapper),this._elements.curtain&&this._elements.curtain.parentElement&&this._elements.curtain.parentElement.removeChild(this._elements.curtain),this.dispatchImmediately("closed"),this.releasePointers()},r.prototype.dispose=function(){this.close(),t.prototype.dispose.call(this)},r.prototype.positionElement=function(e){var i=this;e===void 0&&(e=!0),this._elements.wrapper&&setTimeout(function(){if(!!i._elements.wrapper){if(e||!i._sized){i._elements.wrapper.style.opacity="0.01",i._elements.wrapper.style.left="0",i._elements.wrapper.style.top="0",i._elements.wrapper.style.margin="0 0 0 0",i._elements.wrapper.style.width="",i._elements.wrapper.style.height="";var n=i._elements.wrapper.getBoundingClientRect();i._elements.wrapper.style.width=n.width+"px",i._elements.wrapper.style.height=n.height+"px",i._sized=!0}if(i.dynamicResize)for(var s=i._elements.wrapper.getElementsByTagName("img"),a=0;an+t.delay)&&(n=o,ye(i._targets,function(l){var u=l.target.getBoundingClientRect();(u.width!==l.size.width||u.height!==l.size.height)&&(l.size=u,l.callback())})),i._timer=requestAnimationFrame(s)};this._timer=requestAnimationFrame(s)}var a=r.getBoundingClientRect();this._targets.push({target:r,callback:e,size:a})},t.prototype.removeTarget=function(r){z0(this._targets,function(e){return e.target!==r}),this._targets.length===0&&cancelAnimationFrame(this._timer)},t.delay=200,t}(),No=null;function p3(){return No===null&&(typeof ResizeObserver<"u"?No=new d3:No=new f3),No}var g3=function(){function t(r,e){this._disposed=!1,this._sensor=p3(),this._element=r,this._sensor.addTarget(r,e)}return t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||(this._disposed=!0,this._sensor.removeTarget(this._element))},Object.defineProperty(t.prototype,"sensor",{get:function(){return this._sensor},enumerable:!0,configurable:!0}),t.prototype.reset=function(){Kd("resizeSensor.reset() is no longer needed and can be removed")},t}(),Ah=[],py=function(){function t(r,e){var i=this;this._disposed=!1,this.autoResize=!0,this.nonExportableSprites=[],this._disposers=[],this.cssScale=1,this._printing=!1,this.htmlElement=r,e||(this._printing=!1,this.initSensor(),this._disposers.push(Et(window,"beforeprint",function(){i._printing=!0})),this._disposers.push(Et(window,"afterprint",function(){i._printing=!1}))),Ah.push(this);var n=document.createElement("div"),s=n.style;s.width="100%",s.height="100%",s.position="relative",r.appendChild(n),this.SVGContainer=n}return t.prototype.initSensor=function(){var r=this;this.resizeSensor&&this.resizeSensor.dispose();var e=function(){r.autoResize&&!r._printing&&r.measure()};this.resizeSensor=new g3(this.htmlElement,e),this._disposers.push(this.resizeSensor)},t.prototype.measure=function(){var r=l4(this.htmlElement),e=u4(this.htmlElement),i=this.container;i&&((this.width!=r||this.height!=e)&&(this.width=r,this.height=e,r>0&&(i.maxWidth=r),e>0&&(i.maxHeight=e),W4(this.SVGContainer)),i.maxWidth||(i.maxWidth=0),i.maxHeight||(i.maxHeight=0),this.cssScale=1,this.checkTransform(this.htmlElement))},Object.defineProperty(t.prototype,"container",{get:function(){return this._container},set:function(r){this._container=r,this.measure()},enumerable:!0,configurable:!0}),t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||Be(Ah,this),ye(this._disposers,function(r){r.dispose()})},Object.defineProperty(t.prototype,"hideOverflow",{set:function(r){r?this.SVGContainer.style.overflow="hidden":this.SVGContainer.style.overflow=""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"modal",{get:function(){return O(this._modal)||(this._modal=new fy,this._modal.container=this.SVGContainer,this._disposers.push(this._modal)),this._modal},enumerable:!0,configurable:!0}),t.prototype.openModal=function(r,e){this.closeModal();var i=this.modal;return i.content=r,i.readerTitle=e||"",i.title=e||"",i.open(),i},t.prototype.closeModal=function(){this._modal&&this.modal.close()},Object.defineProperty(t.prototype,"popups",{get:function(){if(!O(this._popups)){var r=new dy;r.container=this.SVGContainer,this._popups=new cl(r),this._disposers.push(new Mn(this._popups)),this._disposers.push(this._popups.template)}return this._popups},enumerable:!0,configurable:!0}),t.prototype.openPopup=function(r,e){var i=this.popups.create();return i.content=r,O(e)&&(i.title=e),i.open(),i},t.prototype.closeAllPopups=function(){this.popups.each(function(r){r.close()})},Object.defineProperty(t.prototype,"readerAlertElement",{get:function(){if(!O(this._readerAlertElement)){var r=document.createElement("div");r.setAttribute("role","alert"),r.style.zIndex="-100000",r.style.opacity="0",r.style.position="absolute",r.style.top="0",this.SVGContainer.appendChild(r),this._readerAlertElement=r}return this._readerAlertElement},enumerable:!0,configurable:!0}),t.prototype.readerAlert=function(r){this.readerAlertElement.innerHTML=r},t.prototype.checkTransform=function(r){if(window.getComputedStyle){if(r&&r.style){var e=window.getComputedStyle(r,null);if(e){var i=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("-moz-transform")||e.getPropertyValue("-ms-transform")||e.getPropertyValue("-o-transform")||e.getPropertyValue("transform");if(i&&i!=="none"){var n=i.split("(")[1].split(")")[0].split(","),s=Number(n[0]),a=Number(n[1]),o=Math.sqrt(s*s+a*a);isNaN(o)||(this.cssScale*=o)}}}r.parentNode&&r.parentNode instanceof HTMLElement&&this.checkTransform(r.parentNode)}},t}(),gy=function(){function t(r,e){this.container=r,this.id=e;var i=document.createElementNS(gl,"svg");i.setAttribute("version","1.1"),i.setAttributeNS(lg,"xmlns",gl),i.setAttributeNS(lg,"xmlns:xlink",jd),i.setAttribute("role","group"),this.container.appendChild(i),this.defs=document.createElementNS(gl,"defs"),i.appendChild(this.defs),i.style.width="100%",i.style.height="100%",i.style.overflow="visible",this.svg=i}return t.prototype.add=function(r){return new Yl(r)},t.prototype.addGroup=function(r){return new Q4(r)},t.prototype.append=function(r){r&&this.svg.appendChild(r.node)},t.prototype.appendDef=function(r){r&&this.defs.appendChild(r.node)},t.prototype.foreignObject=function(){var r=new Yl("foreignObject");return r},t.prototype.supportsForeignObject=function(){return document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Extensibility","1.1")},t}(),yc=null;function go(){if(yc===null){var t=document.createElement("div");t.hidden=!0,t.style.width="1px",t.style.height="1px",t.style.position="absolute",t.style.zIndex="-1000000",document.body.appendChild(t);var r=new py(t,!0);yc=new gy(r.SVGContainer,"ghost")}return yc}var ms=function(t){ee(r,t);function r(){var e=t.call(this)||this;e._elements=new vt,e.properties={},e.className="Pattern",e.width=10,e.height=10,e.x=0,e.y=0,e.patternUnits="userSpaceOnUse";var i=new Kt;return e.backgroundFill=i.getFor("background"),e.backgroundOpacity=0,e.fillOpacity=1,e.fill=i.getFor("alternativeBackground"),e.stroke=i.getFor("alternativeBackground"),e.strokeOpacity=1,e.strokeWidth=1,e.shapeRendering="crispEdges",e.rotation=0,e.element=e.paper.addGroup("pattern"),e.id="pattern-"+k.getUniqueId(),e.element.attr({id:e.id}),e._disposers.push(e.element),e._disposers.push(new Mn(e._elements)),e.patternUnits=e.patternUnits,e.width=e.width,e.height=e.height,e.applyTheme(),e}return r.prototype.draw=function(){var e=this,i=this.element;if(i){i.removeChildNodes();var n=this.paper.add("rect");n.attr({width:this.width,height:this.height,"shape-rendering":"crispEdges",fill:this.backgroundFill.hex,"fill-opacity":this.backgroundOpacity,stroke:this.backgroundFill.hex,"stroke-opacity":0}),i.add(n),i.attr({x:this.x,y:this.y,width:this.width,height:this.height,stroke:this.stroke.hex,fill:this.fill.hex,"fill-opacity":this.fillOpacity,"stroke-opacity":this.strokeOpacity,"stroke-width":this.strokeWidth,"shape-rendering":this.shapeRendering,patternUnits:this.patternUnits,"stroke-dasharray":this.strokeDasharray}),Ve(this._elements.iterator(),function(s){s.rotation=e.rotation,s.rotationX=e.properties.rotationX,s.rotationY=e.properties.rotationY,e.element.add(s)})}},r.prototype.animate=function(e,i,n){return new ui(this,e,i,n).start()},r.prototype.addElement=function(e){this._elements.push(e),this._disposers.push(e)},r.prototype.removeElement=function(e){this._elements.removeValue(e),this.removeDispose(e)},Object.defineProperty(r.prototype,"elements",{get:function(){return this._elements},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"fillOpacity",{get:function(){return this.properties.fillOpacity},set:function(e){this.properties.fillOpacity=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"fill",{get:function(){return this.properties.fill},set:function(e){this.properties.fill=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"backgroundFill",{get:function(){return this.properties.backgroundFill},set:function(e){this.properties.backgroundFill=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"backgroundOpacity",{get:function(){return this.properties.backgroundOpacity},set:function(e){this.properties.backgroundOpacity=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"stroke",{get:function(){return this.properties.stroke},set:function(e){this.properties.stroke=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"strokeOpacity",{get:function(){return this.properties.strokeOpacity},set:function(e){this.properties.strokeOpacity=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"strokeWidth",{get:function(){return this.properties.strokeWidth},set:function(e){this.properties.strokeWidth=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"shapeRendering",{get:function(){return this.properties.shapeRendering},set:function(e){this.properties.shapeRendering=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"rotation",{get:function(){return this.properties.rotation},set:function(e){this.properties.rotation=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"patternUnits",{get:function(){return this.properties.patternUnits},set:function(e){this.properties.patternUnits=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"width",{get:function(){return this.properties.width},set:function(e){this.properties.width=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){return this.properties.height},set:function(e){this.properties.height=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"x",{get:function(){return this.properties.x},set:function(e){this.properties.x=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"y",{get:function(){return this.properties.y},set:function(e){this.properties.y=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"paper",{get:function(){return this._paper?this._paper:go()},set:function(e){this._paper!=e&&(this._paper=e,this.draw(),e.appendDef(this.element))},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),Le(e.properties,function(n,s){i[n]=s})},Object.defineProperty(r.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new Is(this._animations))),this._animations},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"strokeDasharray",{get:function(){return this.properties.strokeDashArray},set:function(e){this.properties.strokeDashArray=e,this.draw()},enumerable:!0,configurable:!0}),r.prototype.processConfig=function(e){if(e&&O(e.elements)&&li(e.elements))for(var i=0,n=e.elements.length;i13)switch(t%10){case 1:r="st";break;case 2:r="nd";break;case 3:r="rd";break}return r},"Zoom Out":"",Play:"",Stop:"",Legend:"","Click, tap or press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Force directed tree":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Press ENTER or use arrow keys to navigate":"","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:""};var cn=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.adapter=new gr(e),e._locale=dg,e._defaultLocale=dg,e.className="Language",O(Dr.defaultLocale)&&(e.locale=Dr.defaultLocale),e.applyTheme(),e}return r.prototype.getLocale=function(e){return e==null&&(e=this._locale),this.adapter.apply("locale",{locale:e}).locale},r.prototype.translate=function(e,i){for(var n=[],s=2;s0&&(c=s[o-1].replace("[","").replace("]","")),n+=this.wrap(u,c,i)}}return n=this.unescape(n),this.cleanUp(n)},r.prototype.escape=function(e){return e.replace(/\[\[/g,k.getPlaceholder("1")).replace(/([^\/\]]{1})\]\]/g,"$1"+k.getPlaceholder("2")).replace(/\]\]/g,k.getPlaceholder("2")).replace(/\{\{/g,k.getPlaceholder("3")).replace(/\}\}/g,k.getPlaceholder("4")).replace(/\'\'/g,k.getPlaceholder("5"))},r.prototype.unescape=function(e){return e.replace(new RegExp(k.getPlaceholder("1"),"g"),"[[").replace(new RegExp(k.getPlaceholder("2"),"g"),"]]").replace(new RegExp(k.getPlaceholder("3"),"g"),"{{").replace(new RegExp(k.getPlaceholder("4"),"g"),"}}").replace(new RegExp(k.getPlaceholder("5"),"g"),"''")},r.prototype.cleanUp=function(e){return e.replace(/\[\[/g,"[").replace(/\]\]/g,"]").replace(/\{\{/g,"{").replace(/\}\}/g,"}").replace(/\'\'/g,"'")},r.prototype.wrap=function(e,i,n){switch((i===""||i==="/")&&(i=""),n){case"html":return this.wrapHtml(e,this.translateStyleShortcuts(i));default:return this.wrapSvg(e,this.translateStyleShortcuts(i))}},r.prototype.wrapSvg=function(e,i){return i===""?""+e+"":""+e+""},r.prototype.getSvgElement=function(e,i){var n=new Yl("tspan");return n.textContent=e,i&&n.node.setAttribute("style",i),n},r.prototype.wrapHtml=function(e,i){return i===""?""+e+"":""+e+""},r.prototype.getHtmlElement=function(e,i){var n=document.createElement("span");return n.innerHTML=e,i&&n.setAttribute("style",i),n},r.prototype.styleSvgToHtml=function(e){return e=e.replace(/fill:/,"color:"),e},r.prototype.translateStyleShortcuts=function(e){if(e==""||e=="[ ]")return"";var i=k.getCache("translateStyleShortcuts_"+e);if(i)return i;var n=e.match(/('[^']*')|("[^"]*")/gi);if(n)for(var s=0;s"u"||kt(i)&&i.toLowerCase()==="number")&&(i=this._numberFormat);var s,a=Number(e);if(ut(i))try{return this.intlLocales?new Intl.NumberFormat(this.intlLocales,i).format(a):new Intl.NumberFormat(void 0,i).format(a)}catch{return"Invalid"}else{i=zl(i);var o=this.parseFormat(i,this.language),l=void 0;a>this._negativeBase?l=o.positive:a"u"?a.zero=a.positive:a.zero.source=o[2],typeof o[1]>"u"?a.negative=a.positive:a.negative.source=o[1],Le(a,function(l,u){if(!u.parsed){if(typeof n.getCache(u.source)<"u"){a[l]=n.getCache(u.source);return}var c=u.source;c.toLowerCase()==="number"&&(c=kt(n._numberFormat)?n._numberFormat:"#,###.#####");for(var h=Di().chunk(c,!0),d=0;d"u"||(u.decimals.active=(v[1].match(/0/g)||[]).length,u.decimals.passive=(v[1].match(/\#/g)||[]).length+u.decimals.active),u.template+=f.text.split(p[0]).join(Sr)}}else u.template+=f.text}n.setCache(u.source,u),u.parsed=!0}}),this.setCache(e,a),a},r.prototype.applyFormat=function(e,i){var n=e<0;e=Math.abs(e);var s="",a="",o=i.mod?i.mod.split(""):[];if(o.indexOf("b")!==-1){var l=this.applyPrefix(e,this.bytePrefixes,o.indexOf("!")!==-1);e=l[0],s=l[1],a=l[2],i.modSpacing&&(a=" "+a)}else if(o.indexOf("a")!==-1){var u=this.applyPrefix(e,e=0?h=e.toExponential(i.decimals.passive).split("e"):h=e.toExponential().split("e"),e=Number(h[0]),a="e"+h[1],i.modSpacing&&(a=" "+a)}else if(i.decimals.passive===0)e=Math.round(e);else if(i.decimals.passive>0){var d=Math.pow(10,i.decimals.passive);e=Math.round(e*d)/d}var f="",p=i4(e).split("."),g=p[0];if(g.length0){for(var v=[],y=g.split("").reverse().join(""),m=0,w=g.length;m<=w;m+=i.thousands.interval){var C=y.substr(m,i.thousands.interval).split("").reverse().join("");C!==""&&v.unshift(C)}g=v.join(i.thousands.separator)}f+=g,p.length===1&&p.push("");var P=p[1];return P.length"u"||i==="")&&(i=this._dateFormat);var s,a;if(kt(e)?a=this.parse(e):a=iy(e),ut(i))try{return this.intlLocales?new Intl.DateTimeFormat(this.intlLocales,i).format(a):new Intl.DateTimeFormat(void 0,i).format(a)}catch{return"Invalid"}else{i=zl(i);var o=this.parseFormat(i);if(O(this.timezoneOffset)?a.setMinutes(a.getMinutes()+a.getTimezoneOffset()-this.timezoneOffset):O(this.timezone)&&n!==!1&&(a=Ud(a,this.timezone)),!x(a.getTime()))return this.language.translate("Invalid date");s=this.applyFormat(a,o,this.language),this.capitalize&&(s=s.replace(/^.{1}/,s.substr(0,1).toUpperCase()))}return s},r.prototype.parseFormat=function(e){var i=this.getCache(e);if(O(i))return i;for(var n={template:"",parts:[]},s=Di().chunk(e,!0),a=0;a4&&C--,i.parts[v]=="YYYY"?m=Math.abs(C).toString():m=Math.abs(C).toString().substr(-i.parts[v].length),C<0&&(m+=n.translate("_era_bc"));break;case"u":break;case"q":m=""+Math.ceil((e.getMonth()+1)/3);break;case"MMMMM":m=n.translate(this.months[o]).substr(0,1);break;case"MMMM":m=n.translate(this.months[o]);break;case"MMM":m=n.translate(this.monthsShort[o]);break;case"MM":m=Ht(o+1,2,"0");break;case"M":m=(o+1).toString();break;case"ww":m=Ht(ka(e,this.utc),2,"0");break;case"w":m=ka(e,this.utc).toString();break;case"W":m=n4(e,this.utc).toString();break;case"dd":m=Ht(u,2,"0");break;case"d":m=u.toString();break;case"DD":case"DDD":m=Ht(rg(e,this.utc).toString(),i.parts[v].length,"0");break;case"D":m=rg(e,this.utc).toString();break;case"F":break;case"g":break;case"t":m=n.translateFunc("_dateOrd").call(this,u);break;case"E":m=(l||7).toString();break;case"EE":m=Ht((l||7).toString(),2,"0");break;case"EEE":case"eee":m=n.translate(this.weekdaysShort[l]);break;case"EEEE":case"eeee":m=n.translate(this.weekdays[l]);break;case"EEEEE":case"eeeee":m=n.translate(this.weekdays[l]).substr(0,1);break;case"e":case"ee":m=(l-this.firstDayOfWeek+1).toString(),i.parts[v]=="ee"&&(m=Ht(m,2,"0"));break;case"a":c>=12?m=n.translate("PM"):m=n.translate("AM");break;case"aa":c>=12?m=n.translate("P.M."):m=n.translate("A.M.");break;case"aaa":c>=12?m=n.translate("P"):m=n.translate("A");break;case"h":m=Fo(c).toString();break;case"hh":m=Ht(Fo(c),2,"0");break;case"H":m=c.toString();break;case"HH":m=Ht(c,2,"0");break;case"K":m=Fo(c,0).toString();break;case"KK":m=Ht(Fo(c,0),2,"0");break;case"k":m=(c+1).toString();break;case"kk":m=Ht(c+1,2,"0");break;case"m":m=h.toString();break;case"mm":m=Ht(h,2,"0");break;case"s":m=d.toString();break;case"ss":m=Ht(d,2,"0");break;case"S":case"SS":case"SSS":m=Math.round(f/1e3*Math.pow(10,i.parts[v].length)).toString();break;case"x":m=g.toString();break;case"n":case"nn":case"nnn":m=Ht(f,i.parts[v].length,"0");break;case"z":m=Ro(e,!1,!1,this.utc);break;case"zz":m=Ro(e,!0,!1,this.utc);break;case"zzz":m=Ro(e,!1,!0,this.utc);break;case"zzzz":m=Ro(e,!0,!0,this.utc);break;case"Z":case"ZZ":var P=Math.abs(p)/60,E=Math.floor(P),V=P*60-E*60;this.utc&&(E=0,V=0),i.parts[v]=="Z"?(m="GMT",m+=p>0?"-":"+",m+=Ht(E,2)+":"+Ht(V,2)):(m=p>0?"-":"+",m+=Ht(E,2)+Ht(V,2));break;case"i":m=e.toISOString();break;case"I":m=e.toUTCString();break}s=s.replace(Sr,m)}return s},r.prototype.parse=function(e,i){if(O(i)||(i=this.inputDateFormat),e instanceof Date)return e;if(typeof e=="number")return new Date(e);typeof e!="string"&&(e=e.toString()),this.language||(this.sprite?this.language=this.sprite.language:this.language=new cn);var n,s="";i=zl(i),i=i.substr(0,e.length);for(var a=this.parseFormat(i),o={year:-1,year3:-1,year2:-1,year1:-1,month:-1,monthShort:-1,monthLong:-1,weekdayShort:-1,weekdayLong:-1,day:-1,yearDay:-1,week:-1,hourBase0:-1,hour12Base0:-1,hourBase1:-1,hour12Base1:-1,minute:-1,second:-1,millisecond:-1,millisecondDigits:-1,am:-1,zone:-1,timestamp:-1,iso:-1},l={year:1970,month:0,day:1,hour:0,minute:0,second:0,millisecond:0,timestamp:null,offset:0,utc:this.utc},u=0,c=0,h=0;h-1&&(l.year=parseInt(f[o.year])),o.year3>-1){var p=parseInt(f[o.year3]);p+=1e3,l.year=p}if(o.year2>-1){var p=parseInt(f[o.year2]);p>50?p+=1e3:p+=2e3,l.year=p}if(o.year1>-1){var p=parseInt(f[o.year1]);p=Math.floor(new Date().getFullYear()/10)*10+p,l.year=p}if(o.monthLong>-1&&(l.month=this.resolveMonth(f[o.monthLong])),o.monthShort>-1&&(l.month=this.resolveShortMonth(f[o.monthShort])),o.month>-1&&(l.month=parseInt(f[o.month])-1),o.week>-1&&o.day===-1&&(l.month=0,l.day=s4(parseInt(f[o.week]),l.year,1,this.utc)),o.day>-1&&(l.day=parseInt(f[o.day])),o.yearDay>-1&&(l.month=0,l.day=parseInt(f[o.yearDay])),o.hourBase0>-1&&(l.hour=parseInt(f[o.hourBase0])),o.hourBase1>-1&&(l.hour=parseInt(f[o.hourBase1])-1),o.hour12Base0>-1){var p=parseInt(f[o.hour12Base0]);p==11&&(p=0),o.am>-1&&!this.isAm(f[o.am])&&(p+=12),l.hour=p}if(o.hour12Base1>-1){var p=parseInt(f[o.hour12Base1]);p==12&&(p=0),o.am>-1&&!this.isAm(f[o.am])&&(p+=12),l.hour=p}if(o.minute>-1&&(l.minute=parseInt(f[o.minute])),o.second>-1&&(l.second=parseInt(f[o.second])),o.millisecond>-1){var p=parseInt(f[o.millisecond]);o.millisecondDigits==2?p*=10:o.millisecondDigits==1&&(p*=100),l.millisecond=p}if(o.timestamp>-1){l.timestamp=parseInt(f[o.timestamp]);var g=new Date(l.timestamp);l.year=g.getUTCFullYear(),l.month=g.getUTCMonth(),l.day=g.getUTCDate(),l.hour=g.getUTCHours(),l.minute=g.getUTCMinutes(),l.second=g.getUTCSeconds(),l.millisecond=g.getUTCMilliseconds()}o.zone>-1&&(l.offset=this.resolveTimezoneOffset(new Date(l.year,l.month,l.day),f[o.zone])),o.iso>-1&&(l.year=At(f[o.iso+0]),l.month=At(f[o.iso+1])-1,l.day=At(f[o.iso+2]),l.hour=At(f[o.iso+3]),l.minute=At(f[o.iso+4]),l.second=At(f[o.iso+5]),l.millisecond=At(f[o.iso+6]),f[o.iso+7]=="Z"||f[o.iso+7]=="z"?l.utc=!0:f[o.iso+7]!=""&&(l.offset=this.resolveTimezoneOffset(new Date(l.year,l.month,l.day),f[o.iso+7]))),l.utc?n=new Date(Date.UTC(l.year,l.month,l.day,l.hour,l.minute,l.second,l.millisecond)):n=new Date(l.year,l.month,l.day,l.hour,l.minute+l.offset,l.second,l.millisecond)}else n=new Date(e);return n},r.prototype.resolveTimezoneOffset=function(e,i){var n=i.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/);if(n){var s=at(i.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/)),a=s[1],o=s[2],l=s[3],u=parseInt(o)*60+parseInt(l);a=="+"&&(u*=-1);var c=(e||new Date).getTimezoneOffset(),h=u-c;return h}return 0},r.prototype.resolveMonth=function(e){var i=this.months.indexOf(e);return i>-1||this.language&&!this.language.isDefault()&&(i=this.language.translateAll(this.months).indexOf(e),i>-1)?i:0},r.prototype.resolveShortMonth=function(e){var i=this.monthsShort.indexOf(e);return i>-1||(i=this.months.indexOf(e),i>-1)||this.language&&!this.language.isDefault()&&(i=this.language.translateAll(this.monthsShort).indexOf(e),i>-1)?i:0},r.prototype.isAm=function(e){var i=this.getStringList(["AM","A.M.","A"]);return i.indexOf(e.toUpperCase())>-1},r.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invalidate()},r.prototype.getStringList=function(e){for(var i=[],n=0;n"u"||i==="")&&(O(this.durationFormat)?i=this.durationFormat:i=this.getFormat(At(e),null,s)),i=zl(i);var a=this.parseFormat(i,s),o=Number(e),l;o>this._negativeBase?l=a.positive:o"+u+"":this._outputFormat==="html"&&(u=""+u+"")),u},r.prototype.parseFormat=function(e,i){var n=this,s=this.getCache(e);if(O(s))return s;var a=i||this._baseUnit,o={positive:{color:"",template:"",parts:[],source:"",baseUnit:a,parsed:!1,absolute:!1},negative:{color:"",template:"",parts:[],source:"",baseUnit:a,parsed:!1,absolute:!1},zero:{color:"",template:"",parts:[],source:"",baseUnit:a,parsed:!1,absolute:!1}};e=e.replace("||",is);var l=e.split("|");return o.positive.source=l[0],typeof l[2]>"u"?o.zero=o.positive:o.zero.source=l[2],typeof l[1]>"u"?o.negative=o.positive:o.negative.source=l[1],Le(o,function(u,c){if(!c.parsed){if(typeof n.getCache(c.source)<"u"){o[u]=n.getCache(c.source);return}var h=c.source,d=[];d=c.source.match(/^\[([^\]]*)\]/),d&&d.length&&d[0]!==""&&(h=c.source.substr(d[0].length),c.color=d[1]);for(var f=Di().chunk(h,!0),p=0;p div > ."+e+"-menu ."+e+"-item."+e+"-item-level-0, ."+e+"-item."+e+"-item-level-0.active",{opacity:"0.9"}),new Ze(t,"."+e+"-item."+e+"-item-level-0 > a",{padding:"0","text-align":"center",overflow:"hidden"}),new Ze(t,"."+e+"-item."+e+"-item-level-0:before",{display:"block"}),new Ze(t,"."+e+"-item",{position:"relative",display:"block",opacity:"0","z-index":"1","border-radius":"3px","background-color":i.getFor("secondaryButton").hex,padding:"0",margin:"1px 1px 0 0",color:i.getFor("secondaryButton").alternative.hex,transition:"all 100ms ease-in-out, opacity 0.5s ease 0.5s"}),new Ze(t,"."+e+"-left ."+e+"-item",{margin:"1px 0 0 1px"}),new Ze(t,"."+e+"-item:hover, ."+e+"-item.active",{background:i.getFor("secondaryButtonHover").hex,color:i.getFor("secondaryButtonText").hex}),new Ze(t,"."+e+"-item > ."+e+"-menu",{position:"absolute",top:"-1px",right:"0","margin-right":"100%"}),new Ze(t,"."+e+"-left ."+e+"-item > ."+e+"-menu",{left:"0",right:"auto","margin-left":"100%","margin-right":"auto"}),new Ze(t,"."+e+"-right ."+e+"-item > ."+e+"-menu",{left:"auto",right:"0","margin-left":"auto","margin-right":"100%"}),new Ze(t,"."+e+"-top ."+e+"-item > ."+e+"-menu",{top:"-1px",bottom:"auto"}),new Ze(t,"."+e+"-bottom ."+e+"-item > ."+e+"-menu",{top:"auto",bottom:"0"}),new Ze(t,"."+e+"-item > ."+e+"-menu",{display:"none"}),new Ze(t,"."+e+"-item:hover > ."+e+"-menu, ."+e+"-item.active > ."+e+"-menu",{display:"block"}),new Ze(t,"."+e+"-item:hover > ."+e+"-menu > ."+e+"-item, ."+e+"-item.active > ."+e+"-menu > ."+e+"-item",{opacity:"1"}),new Ze(t,"."+e+"-menu",{display:"block","list-style":"none",margin:"0",padding:"0"}),new Ze(t,"."+e+"-label",{display:"block",cursor:"default",padding:"0.5em 1em"}),new Ze(t,"."+e+"-icon",{display:"block",cursor:"default",padding:"0.2em 0.4em",width:"1.2em",height:"1.2em","min-width":"32px","min-height":"32px",margin:"auto auto","border-radius":"3px"}),new Ze(t,"."+e+"-item-level-0 > ."+e+"-icon",{padding:"0.1em 0.2em"}),new Ze(t,"."+e+"-clickable",{cursor:"pointer"})]);return new Du(function(){fg.removeKey(e),s.dispose()})});return n.increment()}var my=function(t){ee(r,t);function r(){var e=t!==null&&t.apply(this,arguments)||this;return e._validateDisposer=null,e}return r.prototype.invalidate=function(){this._validateDisposer===null&&(this._validateDisposer=k.events.on("exitframe",this.validate,this))},r.prototype.validate=function(){this._validateDisposer!==null&&(this._validateDisposer.dispose(),this._validateDisposer=null)},r.prototype.dispose=function(){this._validateDisposer!==null&&(this._validateDisposer.dispose(),this._validateDisposer=null),t.prototype.dispose.call(this)},r}(vi),m3=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.adapter=new gr(e),e.closeDelay=1e3,e.closeOnClick=!0,e._language=new ol,e._menuTag="ul",e._itemTag="li",e._labelTag="a",e._iconTag="img",e._classPrefix="amexport",e._defaultStyles=!0,e._align="right",e._verticalAlign="top",e._tabindex=0,e._ignoreNextClose=!1,e._items=[{label:"...",menu:[{label:"Image",menu:[{type:"png",label:"PNG"},{type:"jpg",label:"JPG"},{type:"svg",label:"SVG"},{type:"pdf",label:"PDF"}]},{label:"Data",menu:[{type:"json",label:"JSON"},{type:"csv",label:"CSV"},{type:"xlsx",label:"XLSX"},{type:"html",label:"HTML"},{type:"pdfdata",label:"PDF"}]},{label:"Print",type:"print"}]}],e.className="ExportMenu",e._disposers.push(e._language),e.invalidate(),e.applyTheme(),e}return r.prototype.validate=function(){this.draw(),t.prototype.validate.call(this)},r.prototype.draw=function(){var e=this;this._element?(this._element.innerHTML="",this._element.className=this.getMenuItemClass(0)):this._element=this.createMenuElement(0),this.defaultStyles&&(this._element.style.display="none"),at(this._container).appendChild(this._element);for(var i=this.adapter.apply("items",{items:this._items}).items,n=i.length,s=0;s=0;s--)i[s]&&Mh(i[s],"active");this.events.dispatchImmediately("closed",{type:"closed",target:this})}},r.prototype.selectBranch=function(e){var i=this;if(!this.isDisposed()&&(e.closeTimeout&&(this.removeDispose(e.closeTimeout),e.closeTimeout=void 0),Ih(e.element,"active"),e.submenuElement&&e.submenuElement.setAttribute("aria-expanded","true"),this._currentSelection&&this._currentSelection!==e&&this._currentSelection.ascendants&&Ve(Ew(In([this._currentSelection]),this._currentSelection.ascendants.iterator()),function(s){!e.ascendants.contains(s)&&e!==s&&i.unselectBranch(s,!0)}),Ve(e.ascendants.iterator(),function(s){s.closeTimeout&&(i.removeDispose(s.closeTimeout),s.closeTimeout=void 0),Ih(s.element,"active")}),this._currentSelection=e,this.events.isEnabled("branchselected"))){var n={type:"branchselected",target:this,branch:e};this.events.dispatchImmediately("branchselected",n)}},r.prototype.unselectBranch=function(e,i){if(!this.isDisposed()&&(Mh(e.element,"active"),e.submenuElement&&e.submenuElement.removeAttribute("aria-expanded"),this._currentSelection==e&&(this._currentSelection=void 0),this.events.isEnabled("branchunselected"))){var n={type:"branchunselected",target:this,branch:e};this.events.dispatchImmediately("branchunselected",n)}},r.prototype.delayUnselectBranch=function(e,i){var n=this;this.isDisposed()||(e.closeTimeout&&(this.removeDispose(e.closeTimeout),e.closeTimeout=void 0),e.closeTimeout=this.setTimeout(function(){n.unselectBranch(e,i)},this.closeDelay),i!==!0&&e.ascendants&&Ve(e.ascendants.iterator(),function(s){n.delayUnselectBranch(s,!0)}))},r.prototype.moveSelection=function(e){if(!this.isDisposed()&&!!this._currentSelection){var i;if(e=="up")i=this.getPrevSibling(this._currentSelection);else if(e=="down")i=this.getNextSibling(this._currentSelection);else if(e=="left"&&this.align=="right"||e=="right"&&this.align=="left"){var n=this.getSubMenu(this._currentSelection);n!=null&&(i=n[0])}else(e=="right"&&this.align=="right"||e=="left"&&this.align=="left")&&(i=this.getParentItem(this._currentSelection));i&&i!==this._currentSelection&&(this.selectBranch(i),this.setFocus(i),this._currentSelection=i)}},r.prototype.getSiblings=function(e){var i=this.getParentItem(e);return i&&i.menu?i.menu:[]},r.prototype.getParentItem=function(e){if(e.ascendants&&e.ascendants.length)return e.ascendants.getIndex(e.ascendants.length-1)},r.prototype.getNextSibling=function(e){var i=this.getSiblings(e);if(i.length>1){var n=i.indexOf(e)+1;return n=i.length==n?0:n,i[n].unsupported?this.getNextSibling(i[n]):i[n]}else return e},r.prototype.getPrevSibling=function(e){var i=this.getSiblings(e);if(i.length>1){var n=i.indexOf(e)-1;return n=n==-1?i.length-1:n,i[n].unsupported?this.getPrevSibling(i[n]):i[n]}else return e},r.prototype.setFocus=function(e){if(e.interactions)try{e.interactions.element.focus()}catch{}},r.prototype.setBlur=function(e){if(e.interactions)try{e.interactions.element.blur()}catch{}},r.prototype.hideBranch=function(e){e.element.style.display="none"},r.prototype.showBranch=function(e){e.element.style.display=""},Object.defineProperty(r.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),r}(my);function Gl(t,r,e){return new Promise(function(i,n){var s=O(e)&&e.responseType=="blob",a=new XMLHttpRequest;if(a.onload=function(){if(a.status===200){var u=void 0,c;if(s){c=a.response,y3(c).then(function(d){var f={xhr:a,error:!1,response:d,blob:c,type:a.getResponseHeader("Content-Type"),target:r};i(f)});return}else u=a.responseText||a.response;var h={xhr:a,error:!1,response:u,blob:c,type:a.getResponseHeader("Content-Type"),target:r};i(h)}else n({xhr:a,error:!0,type:a.getResponseHeader("Content-Type"),target:r})},a.onerror=function(){n({xhr:a,error:!0,type:a.getResponseHeader("Content-Type"),target:r})},a.open("GET",t,!0),e&&e.withCredentials&&(a.withCredentials=!0),O(e)){if(O(e.requestHeaders))for(var o=0;oimport("./pdfmake.3078ec64.js").then(s=>s.p),["./pdfmake.3078ec64.js","./_commonjsHelpers.f037b798.js"],import.meta.url),nt(()=>import("./vfs_fonts.579b06a5.js"),[],import.meta.url)])];case 1:return t=n.sent(),r=t[0],e=t[1],i=window,i.pdfMake=i.pdfMake||{},i.pdfMake.vfs=e.default,r.vfs=e.default,[2,r]}})})}var pg=/src: ([^;]+);/;function _3(){return window.navigator.msSaveOrOpenBlob!=null}function w3(t){return new Promise(function(r,e){var i=new FileReader;i.onload=function(n){r(i.result)},i.onerror=function(n){e(n)},i.readAsDataURL(t)})}function S3(t){return Ge(this,void 0,void 0,function(){var r;return We(this,function(e){switch(e.label){case 0:r=t.sheet,e.label=1;case 1:return e.trys.push([1,2,,4]),[2,r.cssRules];case 2:return e.sent(),[4,new Promise(function(i,n){t.addEventListener("load",function(){i(r.cssRules)},!0),t.addEventListener("error",function(s){n(s)},!0),setTimeout(function(){n(new Error("Timeout while waiting for "+this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),e,l,u,d,c,h),m=new Blob([y],{type:"image/svg+xml"}),s=n.createObjectURL(m),[4,this.loadNewImage(s,l*d*f,u*d*f,"anonymous")];case 3:return w=C.sent(),p.drawImage(w,0,0),[3,5];case 4:return s!==null&&n.revokeObjectURL(s),a!==null&&ye(a,function(P){n.revokeObjectURL(P)}),this.restoreRemovedObjects(),[7];case 5:return[2,o]}})})},r.prototype.getCanvasAdvanced=function(e){return Ge(this,void 0,void 0,function(){var i,n,s,a,o,l,u,c,h,d,f;return We(this,function(p){switch(p.label){case 0:return O(e)||(e={}),[4,this.imagesToDataURI(this.sprite.dom,e)];case 1:return p.sent(),i=this.backgroundColor||this.findBackgroundColor(this.sprite.dom),[4,this.canvg];case 2:return n=p.sent(),s=this.sprite.pixelWidth,a=this.sprite.pixelHeight,o=vl(this.sprite.dom),l=ml(this.sprite.dom),u=e.scale||1,c=this.getPixelRatio(e),u=this.getAdjustedScale(s*c,a*c,u,e),h=this.normalizeSVG(this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),e,s,a,u,o,l,i),d=this.getDisposableCanvas(),d.style.width=s*c*u+"px",d.style.height=a*c*u+"px",d.width=s*c*u,d.height=a*c*u,f={useCORS:!0},c!=1&&(f.ignoreDimensions=!0,f.scaleWidth=s*c*u,f.scaleHeight=a*c*u),[4,n.fromString(d.getContext("2d"),h,f).render()];case 3:return p.sent(),[2,d]}})})},r.prototype.getImageAdvanced=function(e,i,n){return Ge(this,void 0,void 0,function(){var s,a,o;return We(this,function(l){switch(l.label){case 0:return s=this._objectsAlreadyHidden,s||this.hideNonExportableSprites(),O(i)||(i=this.getFormatOptions(e)),[4,this.getCanvasAdvanced(i)];case 1:return a=l.sent(),n===!1?[3,3]:[4,this.addExtras(a,i,!0)];case 2:a=l.sent(),l.label=3;case 3:return o=a.toDataURL(this.getContentType(e),i.quality),this.disposeCanvas(a),s||this.restoreNonExportableSprites(),[2,o]}})})},r.prototype.getDisposableCanvas=function(){var e=document.createElement("canvas");return e.style.position="fixed",e.style.top="-10000px",document.body.appendChild(e),e},r.prototype.disposeCanvas=function(e){document.body.removeChild(e)},r.prototype.getPixelRatio=function(e){return this.useRetina?Xw():1},r.prototype.getAdjustedScale=function(e,i,n,s){if(!s)return n;var a=e*n,o=e*n,l,u;return s.maxWidth&&a>s.maxWidth&&(l=s.maxWidth/e),s.maxHeight&&o>s.maxHeight&&(u=s.maxHeight/i),l||u?jt(l,u):(s.minWidth&&a",{},1,1)],{type:"image/svg+xml"}),o=s.createObjectURL(a),l=void 0,u.label=2;case 2:return u.trys.push([2,4,,5]),[4,this.loadNewImage(o,1,1)];case 3:return l=u.sent(),[3,5];case 4:return u.sent(),[2,!1];case 5:n.drawImage(l,0,0),s.revokeObjectURL(o);try{return k.setCache("simplifiedImageExport",!0),[2,!0]}catch{return k.setCache("simplifiedImageExport",!1),[2,!1]}return[3,7];case 6:return u.sent(),k.setCache("simplifiedImageExport",!1),[2,!1];case 7:return[2]}})})},r.prototype.loadNewImage=function(e,i,n,s){return new Promise(function(a,o){var l;i&&n?l=new Image(i,n):l=new Image,s&&l.setAttribute("crossOrigin",s),l.onload=function(){a(l)};function u(){if(s){var c=l.src;l.onerror=function(){o(new Error('Loading image "'+e+'" failed'))},l.removeAttribute("crossorigin"),l.src="",l.src=c}else o(new Error('Loading image "'+e+'" failed'))}l.onabort=u,l.onerror=u,l.src=e})},r.prototype.getDOMURL=function(){return self.URL||self.webkitURL||self},r.prototype.getSVG=function(e,i,n){return n===void 0&&(n=!0),Ge(this,void 0,void 0,function(){var s,a,o,l,u,c,h,d,f,p;return We(this,function(g){switch(g.label){case 0:return s=this._objectsAlreadyHidden,s||this.hideNonExportableSprites(),O(i)||(i=this.getFormatOptions("svg")),[4,this.awaitValidSprites()];case 1:return g.sent(),a=this.sprite.pixelWidth,o=this.sprite.pixelHeight,l=vl(this.sprite.dom),u=ml(this.sprite.dom),c=i.scale||1,h=this.getPixelRatio(i),c=this.getAdjustedScale(a*h,o*h,c,i),d=this.normalizeSVG(this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),i,a,o,c,l,u),f=this.adapter.apply("charset",{charset:"charset=utf-8",type:"svg",options:i}).charset,p=this.adapter.apply("getSVG",{data:n?"data:"+this.getContentType(e)+";"+f+","+encodeURIComponent(d):d,options:i}).data,s||this.restoreNonExportableSprites(),[2,p]}})})},r.prototype.normalizeSVG=function(e,i,n,s,a,o,l,u){var c="";n&&(c+='width="'+Math.round(n*(a||1))+'px" '),s&&(c+='height="'+Math.round(s*(a||1))+'px" ');var h="";o&&(h+="font-family: "+o.replace(/"/g,"")+";"),l&&(h+="font-size: "+l+";"),a&&(c+='viewBox="0 0 '+n+" "+s+'" ');var d=[],f=e.match(//gi);if(f)for(var p=0;p]*)width="[^"]*"/,"$1"),e=e.replace(/(]*)height="[^"]*"/,"$1"),e=e.replace(/('+e+"",u&&(e=e.replace(/(]*>)/,'$1')),qw()&&(e=e.replace(/]*\/>/gi,""));var g=new RegExp("url\\("+Ch(ma()),"g");if(e=e.replace(g,"url(#"),e=e.replace(/url\("([^)]*)"\)/gm,"url($1)"),d.length)for(var p=0;pg?1:pd?1:hw?1:md?1:hr in t?$2(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e;var wi=(t,r,e)=>(B2(t,typeof r!="symbol"?r+"":r,e),e);(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))i(n);new MutationObserver(n=>{for(const s of n)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function e(n){const s={};return n.integrity&&(s.integrity=n.integrity),n.referrerpolicy&&(s.referrerPolicy=n.referrerpolicy),n.crossorigin==="use-credentials"?s.credentials="include":n.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(n){if(n.ep)return;n.ep=!0;const s=e(n);fetch(n.href,s)}})();const L2="modulepreload",F2=function(t,r){return new URL(t,r).href},ap={},it=function(r,e,i){if(!e||e.length===0)return r();const n=document.getElementsByTagName("link");return Promise.all(e.map(s=>{if(s=F2(s,i),s in ap)return;ap[s]=!0;const a=s.endsWith(".css"),o=a?'[rel="stylesheet"]':"";if(!!i)for(let c=n.length-1;c>=0;c--){const h=n[c];if(h.href===s&&(!a||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${o}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":L2,a||(u.as="script",u.crossOrigin=""),u.href=s,document.head.appendChild(u),a)return new Promise((c,h)=>{u.addEventListener("load",c),u.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>r())};function dd(t,r){const e=Object.create(null),i=t.split(",");for(let n=0;n!!e[n.toLowerCase()]:n=>!!e[n]}const R2="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",V2=dd(R2);function Bm(t){return!!t||t===""}function cr(t){if(Me(t)){const r={};for(let e=0;e{if(e){const i=e.split(j2);i.length>1&&(r[i[0].trim()]=i[1].trim())}}),r}function ce(t){let r="";if(Vt(t))r=t;else if(Me(t))for(let e=0;ehs(e,r))}const re=t=>Vt(t)?t:t==null?"":Me(t)||St(t)&&(t.toString===Rm||!je(t.toString))?JSON.stringify(t,Lm,2):String(t),Lm=(t,r)=>r&&r.__v_isRef?Lm(t,r.value):as(r)?{[`Map(${r.size})`]:[...r.entries()].reduce((e,[i,n])=>(e[`${i} =>`]=n,e),{})}:mu(r)?{[`Set(${r.size})`]:[...r.values()]}:St(r)&&!Me(r)&&!Vm(r)?String(r):r,bt={},ss=[],Wr=()=>{},W2=()=>!1,Y2=/^on[^a-z]/,vu=t=>Y2.test(t),fd=t=>t.startsWith("onUpdate:"),qt=Object.assign,pd=(t,r)=>{const e=t.indexOf(r);e>-1&&t.splice(e,1)},G2=Object.prototype.hasOwnProperty,Ge=(t,r)=>G2.call(t,r),Me=Array.isArray,as=t=>ho(t)==="[object Map]",mu=t=>ho(t)==="[object Set]",op=t=>ho(t)==="[object Date]",je=t=>typeof t=="function",Vt=t=>typeof t=="string",Na=t=>typeof t=="symbol",St=t=>t!==null&&typeof t=="object",Fm=t=>St(t)&&je(t.then)&&je(t.catch),Rm=Object.prototype.toString,ho=t=>Rm.call(t),Z2=t=>ho(t).slice(8,-1),Vm=t=>ho(t)==="[object Object]",gd=t=>Vt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,rl=dd(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),yu=t=>{const r=Object.create(null);return e=>r[e]||(r[e]=t(e))},q2=/-(\w)/g,di=yu(t=>t.replace(q2,(r,e)=>e?e.toUpperCase():"")),Q2=/\B([A-Z])/g,fn=yu(t=>t.replace(Q2,"-$1").toLowerCase()),bu=yu(t=>t.charAt(0).toUpperCase()+t.slice(1)),il=yu(t=>t?`on${bu(t)}`:""),ja=(t,r)=>!Object.is(t,r),nl=(t,r)=>{for(let e=0;e{Object.defineProperty(t,r,{configurable:!0,enumerable:!1,value:e})},Ha=t=>{const r=parseFloat(t);return isNaN(r)?t:r};let lp;const X2=()=>lp||(lp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let ii;class Nm{constructor(r=!1){this.detached=r,this.active=!0,this.effects=[],this.cleanups=[],this.parent=ii,!r&&ii&&(this.index=(ii.scopes||(ii.scopes=[])).push(this)-1)}run(r){if(this.active){const e=ii;try{return ii=this,r()}finally{ii=e}}}on(){ii=this}off(){ii=this.parent}stop(r){if(this.active){let e,i;for(e=0,i=this.effects.length;e{const r=new Set(t);return r.w=0,r.n=0,r},jm=t=>(t.w&an)>0,Hm=t=>(t.n&an)>0,t_=({deps:t})=>{if(t.length)for(let r=0;r{const{deps:r}=t;if(r.length){let e=0;for(let i=0;i{(u==="length"||u>=i)&&o.push(l)});else switch(e!==void 0&&o.push(a.get(e)),r){case"add":Me(t)?gd(e)&&o.push(a.get("length")):(o.push(a.get(Tn)),as(t)&&o.push(a.get(sh)));break;case"delete":Me(t)||(o.push(a.get(Tn)),as(t)&&o.push(a.get(sh)));break;case"set":as(t)&&o.push(a.get(Tn));break}if(o.length===1)o[0]&&ah(o[0]);else{const l=[];for(const u of o)u&&l.push(...u);ah(vd(l))}}function ah(t,r){const e=Me(t)?t:[...t];for(const i of e)i.computed&&cp(i);for(const i of e)i.computed||cp(i)}function cp(t,r){(t!==Ur||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const i_=dd("__proto__,__v_isRef,__isVue"),Km=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Na)),n_=yd(),s_=yd(!1,!0),a_=yd(!0),hp=o_();function o_(){const t={};return["includes","indexOf","lastIndexOf"].forEach(r=>{t[r]=function(...e){const i=ot(this);for(let s=0,a=this.length;s{t[r]=function(...e){Es();const i=ot(this)[r].apply(this,e);return Ts(),i}}),t}function yd(t=!1,r=!1){return function(i,n,s){if(n==="__v_isReactive")return!t;if(n==="__v_isReadonly")return t;if(n==="__v_isShallow")return r;if(n==="__v_raw"&&s===(t?r?P_:qm:r?Zm:Gm).get(i))return i;const a=Me(i);if(!t&&a&&Ge(hp,n))return Reflect.get(hp,n,s);const o=Reflect.get(i,n,s);return(Na(n)?Km.has(n):i_(n))||(t||Pr(i,"get",n),r)?o:Zt(o)?a&&gd(n)?o:o.value:St(o)?t?Qm(o):gi(o):o}}const l_=Wm(),u_=Wm(!0);function Wm(t=!1){return function(e,i,n,s){let a=e[i];if(In(a)&&Zt(a)&&!Zt(n))return!1;if(!t&&(!xl(n)&&!In(n)&&(a=ot(a),n=ot(n)),!Me(e)&&Zt(a)&&!Zt(n)))return a.value=n,!0;const o=Me(e)&&gd(i)?Number(i)t,_u=t=>Reflect.getPrototypeOf(t);function Io(t,r,e=!1,i=!1){t=t.__v_raw;const n=ot(t),s=ot(r);e||(r!==s&&Pr(n,"get",r),Pr(n,"get",s));const{has:a}=_u(n),o=i?bd:e?Sd:za;if(a.call(n,r))return o(t.get(r));if(a.call(n,s))return o(t.get(s));t!==n&&t.get(r)}function Mo(t,r=!1){const e=this.__v_raw,i=ot(e),n=ot(t);return r||(t!==n&&Pr(i,"has",t),Pr(i,"has",n)),t===n?e.has(t):e.has(t)||e.has(n)}function Ao(t,r=!1){return t=t.__v_raw,!r&&Pr(ot(t),"iterate",Tn),Reflect.get(t,"size",t)}function dp(t){t=ot(t);const r=ot(this);return _u(r).has.call(r,t)||(r.add(t),Ai(r,"add",t,t)),this}function fp(t,r){r=ot(r);const e=ot(this),{has:i,get:n}=_u(e);let s=i.call(e,t);s||(t=ot(t),s=i.call(e,t));const a=n.call(e,t);return e.set(t,r),s?ja(r,a)&&Ai(e,"set",t,r):Ai(e,"add",t,r),this}function pp(t){const r=ot(this),{has:e,get:i}=_u(r);let n=e.call(r,t);n||(t=ot(t),n=e.call(r,t)),i&&i.call(r,t);const s=r.delete(t);return n&&Ai(r,"delete",t,void 0),s}function gp(){const t=ot(this),r=t.size!==0,e=t.clear();return r&&Ai(t,"clear",void 0,void 0),e}function $o(t,r){return function(i,n){const s=this,a=s.__v_raw,o=ot(a),l=r?bd:t?Sd:za;return!t&&Pr(o,"iterate",Tn),a.forEach((u,c)=>i.call(n,l(u),l(c),s))}}function Bo(t,r,e){return function(...i){const n=this.__v_raw,s=ot(n),a=as(s),o=t==="entries"||t===Symbol.iterator&&a,l=t==="keys"&&a,u=n[t](...i),c=e?bd:r?Sd:za;return!r&&Pr(s,"iterate",l?sh:Tn),{next(){const{value:h,done:d}=u.next();return d?{value:h,done:d}:{value:o?[c(h[0]),c(h[1])]:c(h),done:d}},[Symbol.iterator](){return this}}}}function ji(t){return function(...r){return t==="delete"?!1:this}}function g_(){const t={get(s){return Io(this,s)},get size(){return Ao(this)},has:Mo,add:dp,set:fp,delete:pp,clear:gp,forEach:$o(!1,!1)},r={get(s){return Io(this,s,!1,!0)},get size(){return Ao(this)},has:Mo,add:dp,set:fp,delete:pp,clear:gp,forEach:$o(!1,!0)},e={get(s){return Io(this,s,!0)},get size(){return Ao(this,!0)},has(s){return Mo.call(this,s,!0)},add:ji("add"),set:ji("set"),delete:ji("delete"),clear:ji("clear"),forEach:$o(!0,!1)},i={get(s){return Io(this,s,!0,!0)},get size(){return Ao(this,!0)},has(s){return Mo.call(this,s,!0)},add:ji("add"),set:ji("set"),delete:ji("delete"),clear:ji("clear"),forEach:$o(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=Bo(s,!1,!1),e[s]=Bo(s,!0,!1),r[s]=Bo(s,!1,!0),i[s]=Bo(s,!0,!0)}),[t,e,r,i]}const[v_,m_,y_,b_]=g_();function _d(t,r){const e=r?t?b_:y_:t?m_:v_;return(i,n,s)=>n==="__v_isReactive"?!t:n==="__v_isReadonly"?t:n==="__v_raw"?i:Reflect.get(Ge(e,n)&&n in i?e:i,n,s)}const __={get:_d(!1,!1)},w_={get:_d(!1,!0)},S_={get:_d(!0,!1)},Gm=new WeakMap,Zm=new WeakMap,qm=new WeakMap,P_=new WeakMap;function C_(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function O_(t){return t.__v_skip||!Object.isExtensible(t)?0:C_(Z2(t))}function gi(t){return In(t)?t:wd(t,!1,Ym,__,Gm)}function k_(t){return wd(t,!1,p_,w_,Zm)}function Qm(t){return wd(t,!0,f_,S_,qm)}function wd(t,r,e,i,n){if(!St(t)||t.__v_raw&&!(r&&t.__v_isReactive))return t;const s=n.get(t);if(s)return s;const a=O_(t);if(a===0)return t;const o=new Proxy(t,a===2?i:e);return n.set(t,o),o}function os(t){return In(t)?os(t.__v_raw):!!(t&&t.__v_isReactive)}function In(t){return!!(t&&t.__v_isReadonly)}function xl(t){return!!(t&&t.__v_isShallow)}function Xm(t){return os(t)||In(t)}function ot(t){const r=t&&t.__v_raw;return r?ot(r):t}function Jm(t){return Tl(t,"__v_skip",!0),t}const za=t=>St(t)?gi(t):t,Sd=t=>St(t)?Qm(t):t;function e0(t){Ji&&Ur&&(t=ot(t),Um(t.dep||(t.dep=vd())))}function t0(t,r){t=ot(t),t.dep&&ah(t.dep)}function Zt(t){return!!(t&&t.__v_isRef===!0)}function j(t){return r0(t,!1)}function E_(t){return r0(t,!0)}function r0(t,r){return Zt(t)?t:new T_(t,r)}class T_{constructor(r,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?r:ot(r),this._value=e?r:za(r)}get value(){return e0(this),this._value}set value(r){const e=this.__v_isShallow||xl(r)||In(r);r=e?r:ot(r),ja(r,this._rawValue)&&(this._rawValue=r,this._value=e?r:za(r),t0(this))}}function ie(t){return Zt(t)?t.value:t}const x_={get:(t,r,e)=>ie(Reflect.get(t,r,e)),set:(t,r,e,i)=>{const n=t[r];return Zt(n)&&!Zt(e)?(n.value=e,!0):Reflect.set(t,r,e,i)}};function i0(t){return os(t)?t:new Proxy(t,x_)}function n0(t){const r=Me(t)?new Array(t.length):{};for(const e in t)r[e]=I_(t,e);return r}class D_{constructor(r,e,i){this._object=r,this._key=e,this._defaultValue=i,this.__v_isRef=!0}get value(){const r=this._object[this._key];return r===void 0?this._defaultValue:r}set value(r){this._object[this._key]=r}}function I_(t,r,e){const i=t[r];return Zt(i)?i:new D_(t,r,e)}var s0;class M_{constructor(r,e,i,n){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this[s0]=!1,this._dirty=!0,this.effect=new md(r,()=>{this._dirty||(this._dirty=!0,t0(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=i}get value(){const r=ot(this);return e0(r),(r._dirty||!r._cacheable)&&(r._dirty=!1,r._value=r.effect.run()),r._value}set value(r){this._setter(r)}}s0="__v_isReadonly";function A_(t,r,e=!1){let i,n;const s=je(t);return s?(i=t,n=Wr):(i=t.get,n=t.set),new M_(i,n,s||!n,e)}function en(t,r,e,i){let n;try{n=i?t(...i):t()}catch(s){wu(s,r,e)}return n}function Mr(t,r,e,i){if(je(t)){const s=en(t,r,e,i);return s&&Fm(s)&&s.catch(a=>{wu(a,r,e)}),s}const n=[];for(let s=0;s>>1;Ka(Jt[i])oi&&Jt.splice(r,1)}function F_(t){Me(t)?ls.push(...t):(!Oi||!Oi.includes(t,t.allowRecurse?Cn+1:Cn))&&ls.push(t),o0()}function vp(t,r=Ua?oi+1:0){for(;rKa(e)-Ka(i)),Cn=0;Cnt.id==null?1/0:t.id,R_=(t,r)=>{const e=Ka(t)-Ka(r);if(e===0){if(t.pre&&!r.pre)return-1;if(r.pre&&!t.pre)return 1}return e};function u0(t){oh=!1,Ua=!0,Jt.sort(R_);const r=Wr;try{for(oi=0;oif.trim())),h&&(n=e.map(Ha))}let o,l=i[o=il(r)]||i[o=il(di(r))];!l&&s&&(l=i[o=il(fn(r))]),l&&Mr(l,t,6,n);const u=i[o+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[o])return;t.emitted[o]=!0,Mr(u,t,6,n)}}function c0(t,r,e=!1){const i=r.emitsCache,n=i.get(t);if(n!==void 0)return n;const s=t.emits;let a={},o=!1;if(!je(t)){const l=u=>{const c=c0(u,r,!0);c&&(o=!0,qt(a,c))};!e&&r.mixins.length&&r.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!s&&!o?(St(t)&&i.set(t,null),null):(Me(s)?s.forEach(l=>a[l]=null):qt(a,s),St(t)&&i.set(t,a),a)}function Su(t,r){return!t||!vu(r)?!1:(r=r.slice(2).replace(/Once$/,""),Ge(t,r[0].toLowerCase()+r.slice(1))||Ge(t,fn(r))||Ge(t,r))}let er=null,Pu=null;function Dl(t){const r=er;return er=t,Pu=t&&t.type.__scopeId||null,r}function Nr(t){Pu=t}function jr(){Pu=null}function se(t,r=er,e){if(!r||t._n)return t;const i=(...n)=>{i._d&&xp(-1);const s=Dl(r);let a;try{a=t(...n)}finally{Dl(s),i._d&&xp(1)}return a};return i._n=!0,i._c=!0,i._d=!0,i}function rc(t){const{type:r,vnode:e,proxy:i,withProxy:n,props:s,propsOptions:[a],slots:o,attrs:l,emit:u,render:c,renderCache:h,data:d,setupState:f,ctx:p,inheritAttrs:g}=t;let v,y;const m=Dl(t);try{if(e.shapeFlag&4){const C=n||i;v=ni(c.call(C,C,h,s,f,d,p)),y=l}else{const C=r;v=ni(C.length>1?C(s,{attrs:l,slots:o,emit:u}):C(s,null)),y=r.props?l:N_(l)}}catch(C){Pa.length=0,wu(C,t,1),v=Z($r)}let w=v;if(y&&g!==!1){const C=Object.keys(y),{shapeFlag:P}=w;C.length&&P&7&&(a&&C.some(fd)&&(y=j_(y,a)),w=on(w,y))}return e.dirs&&(w=on(w),w.dirs=w.dirs?w.dirs.concat(e.dirs):e.dirs),e.transition&&(w.transition=e.transition),v=w,Dl(m),v}const N_=t=>{let r;for(const e in t)(e==="class"||e==="style"||vu(e))&&((r||(r={}))[e]=t[e]);return r},j_=(t,r)=>{const e={};for(const i in t)(!fd(i)||!(i.slice(9)in r))&&(e[i]=t[i]);return e};function H_(t,r,e){const{props:i,children:n,component:s}=t,{props:a,children:o,patchFlag:l}=r,u=s.emitsOptions;if(r.dirs||r.transition)return!0;if(e&&l>=0){if(l&1024)return!0;if(l&16)return i?mp(i,a,u):!!a;if(l&8){const c=r.dynamicProps;for(let h=0;ht.__isSuspense;function K_(t,r){r&&r.pendingBranch?Me(t)?r.effects.push(...t):r.effects.push(t):F_(t)}function wa(t,r){if(zt){let e=zt.provides;const i=zt.parent&&zt.parent.provides;i===e&&(e=zt.provides=Object.create(i)),e[t]=r}}function Ar(t,r,e=!1){const i=zt||er;if(i){const n=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(n&&t in n)return n[t];if(arguments.length>1)return e&&je(r)?r.call(i.proxy):r}}function h0(t,r){return Od(t,null,r)}const yp={};function Ye(t,r,e){return Od(t,r,e)}function Od(t,r,{immediate:e,deep:i,flush:n,onTrack:s,onTrigger:a}=bt){const o=zt;let l,u=!1,c=!1;if(Zt(t)?(l=()=>t.value,u=xl(t)):os(t)?(l=()=>t,i=!0):Me(t)?(c=!0,u=t.some(y=>os(y)||xl(y)),l=()=>t.map(y=>{if(Zt(y))return y.value;if(os(y))return En(y);if(je(y))return en(y,o,2)})):je(t)?r?l=()=>en(t,o,2):l=()=>{if(!(o&&o.isUnmounted))return h&&h(),Mr(t,o,3,[d])}:l=Wr,r&&i){const y=l;l=()=>En(y())}let h,d=y=>{h=v.onStop=()=>{en(y,o,4)}};if(Ya)return d=Wr,r?e&&Mr(r,o,3,[l(),c?[]:void 0,d]):l(),Wr;let f=c?[]:yp;const p=()=>{if(!!v.active)if(r){const y=v.run();(i||u||(c?y.some((m,w)=>ja(m,f[w])):ja(y,f)))&&(h&&h(),Mr(r,o,3,[y,f===yp?void 0:f,d]),f=y)}else v.run()};p.allowRecurse=!!r;let g;n==="sync"?g=p:n==="post"?g=()=>dr(p,o&&o.suspense):(p.pre=!0,o&&(p.id=o.uid),g=()=>Cd(p));const v=new md(l,g);return r?e?p():f=v.run():n==="post"?dr(v.run.bind(v),o&&o.suspense):v.run(),()=>{v.stop(),o&&o.scope&&pd(o.scope.effects,v)}}function W_(t,r,e){const i=this.proxy,n=Vt(t)?t.includes(".")?d0(i,t):()=>i[t]:t.bind(i,i);let s;je(r)?s=r:(s=r.handler,e=r);const a=zt;ds(this);const o=Od(n,s.bind(i),e);return a?ds(a):xn(),o}function d0(t,r){const e=r.split(".");return()=>{let i=t;for(let n=0;n{En(e,r)});else if(Vm(t))for(const e in t)En(t[e],r);return t}function Y_(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Bt(()=>{t.isMounted=!0}),fo(()=>{t.isUnmounting=!0}),t}const Tr=[Function,Array],G_={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Tr,onEnter:Tr,onAfterEnter:Tr,onEnterCancelled:Tr,onBeforeLeave:Tr,onLeave:Tr,onAfterLeave:Tr,onLeaveCancelled:Tr,onBeforeAppear:Tr,onAppear:Tr,onAfterAppear:Tr,onAppearCancelled:Tr},setup(t,{slots:r}){const e=Id(),i=Y_();let n;return()=>{const s=r.default&&g0(r.default(),!0);if(!s||!s.length)return;let a=s[0];if(s.length>1){for(const g of s)if(g.type!==$r){a=g;break}}const o=ot(t),{mode:l}=o;if(i.isLeaving)return ic(a);const u=bp(a);if(!u)return ic(a);const c=lh(u,o,i,e);uh(u,c);const h=e.subTree,d=h&&bp(h);let f=!1;const{getTransitionKey:p}=u.type;if(p){const g=p();n===void 0?n=g:g!==n&&(n=g,f=!0)}if(d&&d.type!==$r&&(!On(u,d)||f)){const g=lh(d,o,i,e);if(uh(d,g),l==="out-in")return i.isLeaving=!0,g.afterLeave=()=>{i.isLeaving=!1,e.update()},ic(a);l==="in-out"&&u.type!==$r&&(g.delayLeave=(v,y,m)=>{const w=p0(i,d);w[String(d.key)]=d,v._leaveCb=()=>{y(),v._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=m})}return a}}},f0=G_;function p0(t,r){const{leavingVNodes:e}=t;let i=e.get(r.type);return i||(i=Object.create(null),e.set(r.type,i)),i}function lh(t,r,e,i){const{appear:n,mode:s,persisted:a=!1,onBeforeEnter:o,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:h,onLeave:d,onAfterLeave:f,onLeaveCancelled:p,onBeforeAppear:g,onAppear:v,onAfterAppear:y,onAppearCancelled:m}=r,w=String(t.key),C=p0(e,t),P=(D,R)=>{D&&Mr(D,i,9,R)},T=(D,R)=>{const Q=R[1];P(D,R),Me(D)?D.every(ge=>ge.length<=1)&&Q():D.length<=1&&Q()},V={mode:s,persisted:a,beforeEnter(D){let R=o;if(!e.isMounted)if(n)R=g||o;else return;D._leaveCb&&D._leaveCb(!0);const Q=C[w];Q&&On(t,Q)&&Q.el._leaveCb&&Q.el._leaveCb(),P(R,[D])},enter(D){let R=l,Q=u,ge=c;if(!e.isMounted)if(n)R=v||l,Q=y||u,ge=m||c;else return;let H=!1;const q=D._enterCb=_e=>{H||(H=!0,_e?P(ge,[D]):P(Q,[D]),V.delayedLeave&&V.delayedLeave(),D._enterCb=void 0)};R?T(R,[D,q]):q()},leave(D,R){const Q=String(t.key);if(D._enterCb&&D._enterCb(!0),e.isUnmounting)return R();P(h,[D]);let ge=!1;const H=D._leaveCb=q=>{ge||(ge=!0,R(),q?P(p,[D]):P(f,[D]),D._leaveCb=void 0,C[Q]===t&&delete C[Q])};C[Q]=t,d?T(d,[D,H]):H()},clone(D){return lh(D,r,e,i)}};return V}function ic(t){if(Cu(t))return t=on(t),t.children=null,t}function bp(t){return Cu(t)?t.children?t.children[0]:void 0:t}function uh(t,r){t.shapeFlag&6&&t.component?uh(t.component.subTree,r):t.shapeFlag&128?(t.ssContent.transition=r.clone(t.ssContent),t.ssFallback.transition=r.clone(t.ssFallback)):t.transition=r}function g0(t,r=!1,e){let i=[],n=0;for(let s=0;s1)for(let s=0;s!!t.type.__asyncLoader,Cu=t=>t.type.__isKeepAlive;function Z_(t,r){v0(t,"a",r)}function q_(t,r){v0(t,"da",r)}function v0(t,r,e=zt){const i=t.__wdc||(t.__wdc=()=>{let n=e;for(;n;){if(n.isDeactivated)return;n=n.parent}return t()});if(Ou(r,i,e),e){let n=e.parent;for(;n&&n.parent;)Cu(n.parent.vnode)&&Q_(i,r,e,n),n=n.parent}}function Q_(t,r,e,i){const n=Ou(r,t,i,!0);Fi(()=>{pd(i[r],n)},e)}function Ou(t,r,e=zt,i=!1){if(e){const n=e[t]||(e[t]=[]),s=r.__weh||(r.__weh=(...a)=>{if(e.isUnmounted)return;Es(),ds(e);const o=Mr(r,e,t,a);return xn(),Ts(),o});return i?n.unshift(s):n.push(s),s}}const Li=t=>(r,e=zt)=>(!Ya||t==="sp")&&Ou(t,(...i)=>r(...i),e),X_=Li("bm"),Bt=Li("m"),J_=Li("bu"),e5=Li("u"),fo=Li("bum"),Fi=Li("um"),t5=Li("sp"),r5=Li("rtg"),i5=Li("rtc");function n5(t,r=zt){Ou("ec",t,r)}function _p(t,r){const e=er;if(e===null)return t;const i=Eu(e)||e.proxy,n=t.dirs||(t.dirs=[]);for(let s=0;sr(a,o,void 0,s&&s[o]));else{const a=Object.keys(t);n=new Array(a.length);for(let o=0,l=a.length;o{const s=i.fn(...n);return s&&(s.key=i.key),s}:i.fn)}return t}function de(t,r,e={},i,n){if(er.isCE||er.parent&&Sa(er.parent)&&er.parent.isCE)return Z("slot",r==="default"?null:{name:r},i&&i());let s=t[r];s&&s._c&&(s._d=!1),S();const a=s&&b0(s(e)),o=fe(Ue,{key:e.key||a&&a.key||`_${r}`},a||(i?i():[]),a&&t._===1?64:-2);return!n&&o.scopeId&&(o.slotScopeIds=[o.scopeId+"-s"]),s&&s._c&&(s._d=!0),o}function b0(t){return t.some(r=>Al(r)?!(r.type===$r||r.type===Ue&&!b0(r.children)):!0)?t:null}function Sp(t,r){const e={};for(const i in t)e[r&&/[A-Z]/.test(i)?`on:${i}`:il(i)]=t[i];return e}const ch=t=>t?D0(t)?Eu(t)||t.proxy:ch(t.parent):null,Il=qt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>ch(t.parent),$root:t=>ch(t.root),$emit:t=>t.emit,$options:t=>Ed(t),$forceUpdate:t=>t.f||(t.f=()=>Cd(t.update)),$nextTick:t=>t.n||(t.n=Yr.bind(t.proxy)),$watch:t=>W_.bind(t)}),s5={get({_:t},r){const{ctx:e,setupState:i,data:n,props:s,accessCache:a,type:o,appContext:l}=t;let u;if(r[0]!=="$"){const f=a[r];if(f!==void 0)switch(f){case 1:return i[r];case 2:return n[r];case 4:return e[r];case 3:return s[r]}else{if(i!==bt&&Ge(i,r))return a[r]=1,i[r];if(n!==bt&&Ge(n,r))return a[r]=2,n[r];if((u=t.propsOptions[0])&&Ge(u,r))return a[r]=3,s[r];if(e!==bt&&Ge(e,r))return a[r]=4,e[r];hh&&(a[r]=0)}}const c=Il[r];let h,d;if(c)return r==="$attrs"&&Pr(t,"get",r),c(t);if((h=o.__cssModules)&&(h=h[r]))return h;if(e!==bt&&Ge(e,r))return a[r]=4,e[r];if(d=l.config.globalProperties,Ge(d,r))return d[r]},set({_:t},r,e){const{data:i,setupState:n,ctx:s}=t;return n!==bt&&Ge(n,r)?(n[r]=e,!0):i!==bt&&Ge(i,r)?(i[r]=e,!0):Ge(t.props,r)||r[0]==="$"&&r.slice(1)in t?!1:(s[r]=e,!0)},has({_:{data:t,setupState:r,accessCache:e,ctx:i,appContext:n,propsOptions:s}},a){let o;return!!e[a]||t!==bt&&Ge(t,a)||r!==bt&&Ge(r,a)||(o=s[0])&&Ge(o,a)||Ge(i,a)||Ge(Il,a)||Ge(n.config.globalProperties,a)},defineProperty(t,r,e){return e.get!=null?t._.accessCache[r]=0:Ge(e,"value")&&this.set(t,r,e.value,null),Reflect.defineProperty(t,r,e)}};let hh=!0;function a5(t){const r=Ed(t),e=t.proxy,i=t.ctx;hh=!1,r.beforeCreate&&Pp(r.beforeCreate,t,"bc");const{data:n,computed:s,methods:a,watch:o,provide:l,inject:u,created:c,beforeMount:h,mounted:d,beforeUpdate:f,updated:p,activated:g,deactivated:v,beforeDestroy:y,beforeUnmount:m,destroyed:w,unmounted:C,render:P,renderTracked:T,renderTriggered:V,errorCaptured:D,serverPrefetch:R,expose:Q,inheritAttrs:ge,components:H,directives:q,filters:_e}=r;if(u&&o5(u,i,null,t.appContext.config.unwrapInjectedRef),a)for(const te in a){const pe=a[te];je(pe)&&(i[te]=pe.bind(e))}if(n){const te=n.call(e,e);St(te)&&(t.data=gi(te))}if(hh=!0,s)for(const te in s){const pe=s[te],Te=je(pe)?pe.bind(e,e):je(pe.get)?pe.get.bind(e,e):Wr,Je=!je(pe)&&je(pe.set)?pe.set.bind(e):Wr,Ce=F({get:Te,set:Je});Object.defineProperty(i,te,{enumerable:!0,configurable:!0,get:()=>Ce.value,set:xe=>Ce.value=xe})}if(o)for(const te in o)_0(o[te],i,e,te);if(l){const te=je(l)?l.call(e):l;Reflect.ownKeys(te).forEach(pe=>{wa(pe,te[pe])})}c&&Pp(c,t,"c");function $(te,pe){Me(pe)?pe.forEach(Te=>te(Te.bind(e))):pe&&te(pe.bind(e))}if($(X_,h),$(Bt,d),$(J_,f),$(e5,p),$(Z_,g),$(q_,v),$(n5,D),$(i5,T),$(r5,V),$(fo,m),$(Fi,C),$(t5,R),Me(Q))if(Q.length){const te=t.exposed||(t.exposed={});Q.forEach(pe=>{Object.defineProperty(te,pe,{get:()=>e[pe],set:Te=>e[pe]=Te})})}else t.exposed||(t.exposed={});P&&t.render===Wr&&(t.render=P),ge!=null&&(t.inheritAttrs=ge),H&&(t.components=H),q&&(t.directives=q)}function o5(t,r,e=Wr,i=!1){Me(t)&&(t=dh(t));for(const n in t){const s=t[n];let a;St(s)?"default"in s?a=Ar(s.from||n,s.default,!0):a=Ar(s.from||n):a=Ar(s),Zt(a)&&i?Object.defineProperty(r,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:o=>a.value=o}):r[n]=a}}function Pp(t,r,e){Mr(Me(t)?t.map(i=>i.bind(r.proxy)):t.bind(r.proxy),r,e)}function _0(t,r,e,i){const n=i.includes(".")?d0(e,i):()=>e[i];if(Vt(t)){const s=r[t];je(s)&&Ye(n,s)}else if(je(t))Ye(n,t.bind(e));else if(St(t))if(Me(t))t.forEach(s=>_0(s,r,e,i));else{const s=je(t.handler)?t.handler.bind(e):r[t.handler];je(s)&&Ye(n,s,t)}}function Ed(t){const r=t.type,{mixins:e,extends:i}=r,{mixins:n,optionsCache:s,config:{optionMergeStrategies:a}}=t.appContext,o=s.get(r);let l;return o?l=o:!n.length&&!e&&!i?l=r:(l={},n.length&&n.forEach(u=>Ml(l,u,a,!0)),Ml(l,r,a)),St(r)&&s.set(r,l),l}function Ml(t,r,e,i=!1){const{mixins:n,extends:s}=r;s&&Ml(t,s,e,!0),n&&n.forEach(a=>Ml(t,a,e,!0));for(const a in r)if(!(i&&a==="expose")){const o=l5[a]||e&&e[a];t[a]=o?o(t[a],r[a]):r[a]}return t}const l5={data:Cp,props:wn,emits:wn,methods:wn,computed:wn,beforeCreate:sr,created:sr,beforeMount:sr,mounted:sr,beforeUpdate:sr,updated:sr,beforeDestroy:sr,beforeUnmount:sr,destroyed:sr,unmounted:sr,activated:sr,deactivated:sr,errorCaptured:sr,serverPrefetch:sr,components:wn,directives:wn,watch:c5,provide:Cp,inject:u5};function Cp(t,r){return r?t?function(){return qt(je(t)?t.call(this,this):t,je(r)?r.call(this,this):r)}:r:t}function u5(t,r){return wn(dh(t),dh(r))}function dh(t){if(Me(t)){const r={};for(let e=0;e0)&&!(a&16)){if(a&8){const c=t.vnode.dynamicProps;for(let h=0;h{l=!0;const[d,f]=S0(h,r,!0);qt(a,d),f&&o.push(...f)};!e&&r.mixins.length&&r.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!s&&!l)return St(t)&&i.set(t,ss),ss;if(Me(s))for(let c=0;c-1,f[1]=g<0||p-1||Ge(f,"default"))&&o.push(h)}}}const u=[a,o];return St(t)&&i.set(t,u),u}function Op(t){return t[0]!=="$"}function kp(t){const r=t&&t.toString().match(/^\s*function (\w+)/);return r?r[1]:t===null?"null":""}function Ep(t,r){return kp(t)===kp(r)}function Tp(t,r){return Me(r)?r.findIndex(e=>Ep(e,t)):je(r)&&Ep(r,t)?0:-1}const P0=t=>t[0]==="_"||t==="$stable",Td=t=>Me(t)?t.map(ni):[ni(t)],f5=(t,r,e)=>{if(r._n)return r;const i=se((...n)=>Td(r(...n)),e);return i._c=!1,i},C0=(t,r,e)=>{const i=t._ctx;for(const n in t){if(P0(n))continue;const s=t[n];if(je(s))r[n]=f5(n,s,i);else if(s!=null){const a=Td(s);r[n]=()=>a}}},O0=(t,r)=>{const e=Td(r);t.slots.default=()=>e},p5=(t,r)=>{if(t.vnode.shapeFlag&32){const e=r._;e?(t.slots=ot(r),Tl(r,"_",e)):C0(r,t.slots={})}else t.slots={},r&&O0(t,r);Tl(t.slots,ku,1)},g5=(t,r,e)=>{const{vnode:i,slots:n}=t;let s=!0,a=bt;if(i.shapeFlag&32){const o=r._;o?e&&o===1?s=!1:(qt(n,r),!e&&o===1&&delete n._):(s=!r.$stable,C0(r,n)),a=r}else r&&(O0(t,r),a={default:1});if(s)for(const o in n)!P0(o)&&!(o in a)&&delete n[o]};function k0(){return{app:null,config:{isNativeTag:W2,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let v5=0;function m5(t,r){return function(i,n=null){je(i)||(i=Object.assign({},i)),n!=null&&!St(n)&&(n=null);const s=k0(),a=new Set;let o=!1;const l=s.app={_uid:v5++,_component:i,_props:n,_container:null,_context:s,_instance:null,version:$5,get config(){return s.config},set config(u){},use(u,...c){return a.has(u)||(u&&je(u.install)?(a.add(u),u.install(l,...c)):je(u)&&(a.add(u),u(l,...c))),l},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),l},component(u,c){return c?(s.components[u]=c,l):s.components[u]},directive(u,c){return c?(s.directives[u]=c,l):s.directives[u]},mount(u,c,h){if(!o){const d=Z(i,n);return d.appContext=s,c&&r?r(d,u):t(d,u,h),o=!0,l._container=u,u.__vue_app__=l,Eu(d.component)||d.component.proxy}},unmount(){o&&(t(null,l._container),delete l._container.__vue_app__)},provide(u,c){return s.provides[u]=c,l}};return l}}function ph(t,r,e,i,n=!1){if(Me(t)){t.forEach((d,f)=>ph(d,r&&(Me(r)?r[f]:r),e,i,n));return}if(Sa(i)&&!n)return;const s=i.shapeFlag&4?Eu(i.component)||i.component.proxy:i.el,a=n?null:s,{i:o,r:l}=t,u=r&&r.r,c=o.refs===bt?o.refs={}:o.refs,h=o.setupState;if(u!=null&&u!==l&&(Vt(u)?(c[u]=null,Ge(h,u)&&(h[u]=null)):Zt(u)&&(u.value=null)),je(l))en(l,o,12,[a,c]);else{const d=Vt(l),f=Zt(l);if(d||f){const p=()=>{if(t.f){const g=d?Ge(h,l)?h[l]:c[l]:l.value;n?Me(g)&&pd(g,s):Me(g)?g.includes(s)||g.push(s):d?(c[l]=[s],Ge(h,l)&&(h[l]=c[l])):(l.value=[s],t.k&&(c[t.k]=l.value))}else d?(c[l]=a,Ge(h,l)&&(h[l]=a)):f&&(l.value=a,t.k&&(c[t.k]=a))};a?(p.id=-1,dr(p,e)):p()}}}const dr=K_;function y5(t){return b5(t)}function b5(t,r){const e=X2();e.__VUE__=!0;const{insert:i,remove:n,patchProp:s,createElement:a,createText:o,createComment:l,setText:u,setElementText:c,parentNode:h,nextSibling:d,setScopeId:f=Wr,insertStaticContent:p}=t,g=(b,_,M,B=null,N=null,X=null,W=!1,Y=null,K=!!_.dynamicChildren)=>{if(b===_)return;b&&!On(b,_)&&(B=G(b),xe(b,N,X,!0),b=null),_.patchFlag===-2&&(K=!1,_.dynamicChildren=null);const{type:J,ref:Oe,shapeFlag:Se}=_;switch(J){case xd:v(b,_,M,B);break;case $r:y(b,_,M,B);break;case sl:b==null&&m(_,M,B,W);break;case Ue:H(b,_,M,B,N,X,W,Y,K);break;default:Se&1?P(b,_,M,B,N,X,W,Y,K):Se&6?q(b,_,M,B,N,X,W,Y,K):(Se&64||Se&128)&&J.process(b,_,M,B,N,X,W,Y,K,z)}Oe!=null&&N&&ph(Oe,b&&b.ref,X,_||b,!_)},v=(b,_,M,B)=>{if(b==null)i(_.el=o(_.children),M,B);else{const N=_.el=b.el;_.children!==b.children&&u(N,_.children)}},y=(b,_,M,B)=>{b==null?i(_.el=l(_.children||""),M,B):_.el=b.el},m=(b,_,M,B)=>{[b.el,b.anchor]=p(b.children,_,M,B,b.el,b.anchor)},w=({el:b,anchor:_},M,B)=>{let N;for(;b&&b!==_;)N=d(b),i(b,M,B),b=N;i(_,M,B)},C=({el:b,anchor:_})=>{let M;for(;b&&b!==_;)M=d(b),n(b),b=M;n(_)},P=(b,_,M,B,N,X,W,Y,K)=>{W=W||_.type==="svg",b==null?T(_,M,B,N,X,W,Y,K):R(b,_,N,X,W,Y,K)},T=(b,_,M,B,N,X,W,Y)=>{let K,J;const{type:Oe,props:Se,shapeFlag:ke,transition:Fe,dirs:Ke}=b;if(K=b.el=a(b.type,X,Se&&Se.is,Se),ke&8?c(K,b.children):ke&16&&D(b.children,K,null,B,N,X&&Oe!=="foreignObject",W,Y),Ke&&vn(b,null,B,"created"),Se){for(const Ie in Se)Ie!=="value"&&!rl(Ie)&&s(K,Ie,null,Se[Ie],X,b.children,B,N,U);"value"in Se&&s(K,"value",null,Se.value),(J=Se.onVnodeBeforeMount)&&ti(J,B,b)}V(K,b,b.scopeId,W,B),Ke&&vn(b,null,B,"beforeMount");const ht=(!N||N&&!N.pendingBranch)&&Fe&&!Fe.persisted;ht&&Fe.beforeEnter(K),i(K,_,M),((J=Se&&Se.onVnodeMounted)||ht||Ke)&&dr(()=>{J&&ti(J,B,b),ht&&Fe.enter(K),Ke&&vn(b,null,B,"mounted")},N)},V=(b,_,M,B,N)=>{if(M&&f(b,M),B)for(let X=0;X{for(let J=K;J{const Y=_.el=b.el;let{patchFlag:K,dynamicChildren:J,dirs:Oe}=_;K|=b.patchFlag&16;const Se=b.props||bt,ke=_.props||bt;let Fe;M&&mn(M,!1),(Fe=ke.onVnodeBeforeUpdate)&&ti(Fe,M,_,b),Oe&&vn(_,b,M,"beforeUpdate"),M&&mn(M,!0);const Ke=N&&_.type!=="foreignObject";if(J?Q(b.dynamicChildren,J,Y,M,B,Ke,X):W||pe(b,_,Y,null,M,B,Ke,X,!1),K>0){if(K&16)ge(Y,_,Se,ke,M,B,N);else if(K&2&&Se.class!==ke.class&&s(Y,"class",null,ke.class,N),K&4&&s(Y,"style",Se.style,ke.style,N),K&8){const ht=_.dynamicProps;for(let Ie=0;Ie{Fe&&ti(Fe,M,_,b),Oe&&vn(_,b,M,"updated")},B)},Q=(b,_,M,B,N,X,W)=>{for(let Y=0;Y<_.length;Y++){const K=b[Y],J=_[Y],Oe=K.el&&(K.type===Ue||!On(K,J)||K.shapeFlag&70)?h(K.el):M;g(K,J,Oe,null,B,N,X,W,!0)}},ge=(b,_,M,B,N,X,W)=>{if(M!==B){if(M!==bt)for(const Y in M)!rl(Y)&&!(Y in B)&&s(b,Y,M[Y],null,W,_.children,N,X,U);for(const Y in B){if(rl(Y))continue;const K=B[Y],J=M[Y];K!==J&&Y!=="value"&&s(b,Y,J,K,W,_.children,N,X,U)}"value"in B&&s(b,"value",M.value,B.value)}},H=(b,_,M,B,N,X,W,Y,K)=>{const J=_.el=b?b.el:o(""),Oe=_.anchor=b?b.anchor:o("");let{patchFlag:Se,dynamicChildren:ke,slotScopeIds:Fe}=_;Fe&&(Y=Y?Y.concat(Fe):Fe),b==null?(i(J,M,B),i(Oe,M,B),D(_.children,M,Oe,N,X,W,Y,K)):Se>0&&Se&64&&ke&&b.dynamicChildren?(Q(b.dynamicChildren,ke,M,N,X,W,Y),(_.key!=null||N&&_===N.subTree)&&E0(b,_,!0)):pe(b,_,M,Oe,N,X,W,Y,K)},q=(b,_,M,B,N,X,W,Y,K)=>{_.slotScopeIds=Y,b==null?_.shapeFlag&512?N.ctx.activate(_,M,B,W,K):_e(_,M,B,N,X,W,K):we(b,_,K)},_e=(b,_,M,B,N,X,W)=>{const Y=b.component=E5(b,B,N);if(Cu(b)&&(Y.ctx.renderer=z),T5(Y),Y.asyncDep){if(N&&N.registerDep(Y,$),!b.el){const K=Y.subTree=Z($r);y(null,K,_,M)}return}$(Y,b,_,M,N,X,W)},we=(b,_,M)=>{const B=_.component=b.component;if(H_(b,_,M))if(B.asyncDep&&!B.asyncResolved){te(B,_,M);return}else B.next=_,L_(B.update),B.update();else _.el=b.el,B.vnode=_},$=(b,_,M,B,N,X,W)=>{const Y=()=>{if(b.isMounted){let{next:Oe,bu:Se,u:ke,parent:Fe,vnode:Ke}=b,ht=Oe,Ie;mn(b,!1),Oe?(Oe.el=Ke.el,te(b,Oe,W)):Oe=Ke,Se&&nl(Se),(Ie=Oe.props&&Oe.props.onVnodeBeforeUpdate)&&ti(Ie,Fe,Oe,Ke),mn(b,!0);const mt=rc(b),Pt=b.subTree;b.subTree=mt,g(Pt,mt,h(Pt.el),G(Pt),b,N,X),Oe.el=mt.el,ht===null&&z_(b,mt.el),ke&&dr(ke,N),(Ie=Oe.props&&Oe.props.onVnodeUpdated)&&dr(()=>ti(Ie,Fe,Oe,Ke),N)}else{let Oe;const{el:Se,props:ke}=_,{bm:Fe,m:Ke,parent:ht}=b,Ie=Sa(_);if(mn(b,!1),Fe&&nl(Fe),!Ie&&(Oe=ke&&ke.onVnodeBeforeMount)&&ti(Oe,ht,_),mn(b,!0),Se&&ve){const mt=()=>{b.subTree=rc(b),ve(Se,b.subTree,b,N,null)};Ie?_.type.__asyncLoader().then(()=>!b.isUnmounted&&mt()):mt()}else{const mt=b.subTree=rc(b);g(null,mt,M,B,b,N,X),_.el=mt.el}if(Ke&&dr(Ke,N),!Ie&&(Oe=ke&&ke.onVnodeMounted)){const mt=_;dr(()=>ti(Oe,ht,mt),N)}(_.shapeFlag&256||ht&&Sa(ht.vnode)&&ht.vnode.shapeFlag&256)&&b.a&&dr(b.a,N),b.isMounted=!0,_=M=B=null}},K=b.effect=new md(Y,()=>Cd(J),b.scope),J=b.update=()=>K.run();J.id=b.uid,mn(b,!0),J()},te=(b,_,M)=>{_.component=b;const B=b.vnode.props;b.vnode=_,b.next=null,d5(b,_.props,B,M),g5(b,_.children,M),Es(),vp(),Ts()},pe=(b,_,M,B,N,X,W,Y,K=!1)=>{const J=b&&b.children,Oe=b?b.shapeFlag:0,Se=_.children,{patchFlag:ke,shapeFlag:Fe}=_;if(ke>0){if(ke&128){Je(J,Se,M,B,N,X,W,Y,K);return}else if(ke&256){Te(J,Se,M,B,N,X,W,Y,K);return}}Fe&8?(Oe&16&&U(J,N,X),Se!==J&&c(M,Se)):Oe&16?Fe&16?Je(J,Se,M,B,N,X,W,Y,K):U(J,N,X,!0):(Oe&8&&c(M,""),Fe&16&&D(Se,M,B,N,X,W,Y,K))},Te=(b,_,M,B,N,X,W,Y,K)=>{b=b||ss,_=_||ss;const J=b.length,Oe=_.length,Se=Math.min(J,Oe);let ke;for(ke=0;keOe?U(b,N,X,!0,!1,Se):D(_,M,B,N,X,W,Y,K,Se)},Je=(b,_,M,B,N,X,W,Y,K)=>{let J=0;const Oe=_.length;let Se=b.length-1,ke=Oe-1;for(;J<=Se&&J<=ke;){const Fe=b[J],Ke=_[J]=K?Gi(_[J]):ni(_[J]);if(On(Fe,Ke))g(Fe,Ke,M,null,N,X,W,Y,K);else break;J++}for(;J<=Se&&J<=ke;){const Fe=b[Se],Ke=_[ke]=K?Gi(_[ke]):ni(_[ke]);if(On(Fe,Ke))g(Fe,Ke,M,null,N,X,W,Y,K);else break;Se--,ke--}if(J>Se){if(J<=ke){const Fe=ke+1,Ke=Feke)for(;J<=Se;)xe(b[J],N,X,!0),J++;else{const Fe=J,Ke=J,ht=new Map;for(J=Ke;J<=ke;J++){const mr=_[J]=K?Gi(_[J]):ni(_[J]);mr.key!=null&&ht.set(mr.key,J)}let Ie,mt=0;const Pt=ke-Ke+1;let Kn=!1,ip=0;const ea=new Array(Pt);for(J=0;J=Pt){xe(mr,N,X,!0);continue}let ei;if(mr.key!=null)ei=ht.get(mr.key);else for(Ie=Ke;Ie<=ke;Ie++)if(ea[Ie-Ke]===0&&On(mr,_[Ie])){ei=Ie;break}ei===void 0?xe(mr,N,X,!0):(ea[ei-Ke]=J+1,ei>=ip?ip=ei:Kn=!0,g(mr,_[ei],M,null,N,X,W,Y,K),mt++)}const np=Kn?_5(ea):ss;for(Ie=np.length-1,J=Pt-1;J>=0;J--){const mr=Ke+J,ei=_[mr],sp=mr+1{const{el:X,type:W,transition:Y,children:K,shapeFlag:J}=b;if(J&6){Ce(b.component.subTree,_,M,B);return}if(J&128){b.suspense.move(_,M,B);return}if(J&64){W.move(b,_,M,z);return}if(W===Ue){i(X,_,M);for(let Se=0;SeY.enter(X),N);else{const{leave:Se,delayLeave:ke,afterLeave:Fe}=Y,Ke=()=>i(X,_,M),ht=()=>{Se(X,()=>{Ke(),Fe&&Fe()})};ke?ke(X,Ke,ht):ht()}else i(X,_,M)},xe=(b,_,M,B=!1,N=!1)=>{const{type:X,props:W,ref:Y,children:K,dynamicChildren:J,shapeFlag:Oe,patchFlag:Se,dirs:ke}=b;if(Y!=null&&ph(Y,null,M,b,!0),Oe&256){_.ctx.deactivate(b);return}const Fe=Oe&1&&ke,Ke=!Sa(b);let ht;if(Ke&&(ht=W&&W.onVnodeBeforeUnmount)&&ti(ht,_,b),Oe&6)L(b.component,M,B);else{if(Oe&128){b.suspense.unmount(M,B);return}Fe&&vn(b,null,_,"beforeUnmount"),Oe&64?b.type.remove(b,_,M,N,z,B):J&&(X!==Ue||Se>0&&Se&64)?U(J,_,M,!1,!0):(X===Ue&&Se&384||!N&&Oe&16)&&U(K,_,M),B&&he(b)}(Ke&&(ht=W&&W.onVnodeUnmounted)||Fe)&&dr(()=>{ht&&ti(ht,_,b),Fe&&vn(b,null,_,"unmounted")},M)},he=b=>{const{type:_,el:M,anchor:B,transition:N}=b;if(_===Ue){De(M,B);return}if(_===sl){C(b);return}const X=()=>{n(M),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(b.shapeFlag&1&&N&&!N.persisted){const{leave:W,delayLeave:Y}=N,K=()=>W(M,X);Y?Y(b.el,X,K):K()}else X()},De=(b,_)=>{let M;for(;b!==_;)M=d(b),n(b),b=M;n(_)},L=(b,_,M)=>{const{bum:B,scope:N,update:X,subTree:W,um:Y}=b;B&&nl(B),N.stop(),X&&(X.active=!1,xe(W,b,_,M)),Y&&dr(Y,_),dr(()=>{b.isUnmounted=!0},_),_&&_.pendingBranch&&!_.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===_.pendingId&&(_.deps--,_.deps===0&&_.resolve())},U=(b,_,M,B=!1,N=!1,X=0)=>{for(let W=X;Wb.shapeFlag&6?G(b.component.subTree):b.shapeFlag&128?b.suspense.next():d(b.anchor||b.el),A=(b,_,M)=>{b==null?_._vnode&&xe(_._vnode,null,null,!0):g(_._vnode||null,b,_,null,null,null,M),vp(),l0(),_._vnode=b},z={p:g,um:xe,m:Ce,r:he,mt:_e,mc:D,pc:pe,pbc:Q,n:G,o:t};let oe,ve;return r&&([oe,ve]=r(z)),{render:A,hydrate:oe,createApp:m5(A,oe)}}function mn({effect:t,update:r},e){t.allowRecurse=r.allowRecurse=e}function E0(t,r,e=!1){const i=t.children,n=r.children;if(Me(i)&&Me(n))for(let s=0;s>1,t[e[o]]0&&(r[i]=e[s-1]),e[s]=i)}}for(s=e.length,a=e[s-1];s-- >0;)e[s]=a,a=r[a];return e}const w5=t=>t.__isTeleport,Ue=Symbol(void 0),xd=Symbol(void 0),$r=Symbol(void 0),sl=Symbol(void 0),Pa=[];let Kr=null;function S(t=!1){Pa.push(Kr=t?null:[])}function S5(){Pa.pop(),Kr=Pa[Pa.length-1]||null}let Wa=1;function xp(t){Wa+=t}function T0(t){return t.dynamicChildren=Wa>0?Kr||ss:null,S5(),Wa>0&&Kr&&Kr.push(t),t}function I(t,r,e,i,n,s){return T0(E(t,r,e,i,n,s,!0))}function fe(t,r,e,i,n){return T0(Z(t,r,e,i,n,!0))}function Al(t){return t?t.__v_isVNode===!0:!1}function On(t,r){return t.type===r.type&&t.key===r.key}const ku="__vInternal",x0=({key:t})=>t!=null?t:null,al=({ref:t,ref_key:r,ref_for:e})=>t!=null?Vt(t)||Zt(t)||je(t)?{i:er,r:t,k:r,f:!!e}:t:null;function E(t,r=null,e=null,i=0,n=null,s=t===Ue?0:1,a=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:r,key:r&&x0(r),ref:r&&al(r),scopeId:Pu,slotScopeIds:null,children:e,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:i,dynamicProps:n,dynamicChildren:null,appContext:null};return o?(Dd(l,e),s&128&&t.normalize(l)):e&&(l.shapeFlag|=Vt(e)?8:16),Wa>0&&!a&&Kr&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Kr.push(l),l}const Z=P5;function P5(t,r=null,e=null,i=0,n=null,s=!1){if((!t||t===m0)&&(t=$r),Al(t)){const o=on(t,r,!0);return e&&Dd(o,e),Wa>0&&!s&&Kr&&(o.shapeFlag&6?Kr[Kr.indexOf(t)]=o:Kr.push(o)),o.patchFlag|=-2,o}if(M5(t)&&(t=t.__vccOpts),r){r=C5(r);let{class:o,style:l}=r;o&&!Vt(o)&&(r.class=ce(o)),St(l)&&(Xm(l)&&!Me(l)&&(l=qt({},l)),r.style=cr(l))}const a=Vt(t)?1:U_(t)?128:w5(t)?64:St(t)?4:je(t)?2:0;return E(t,r,e,i,n,a,s,!0)}function C5(t){return t?Xm(t)||ku in t?qt({},t):t:null}function on(t,r,e=!1){const{props:i,ref:n,patchFlag:s,children:a}=t,o=r?Et(i||{},r):i;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:o,key:o&&x0(o),ref:r&&r.ref?e&&n?Me(n)?n.concat(al(r)):[n,al(r)]:al(r):n,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:r&&t.type!==Ue?s===-1?16:s|16:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&on(t.ssContent),ssFallback:t.ssFallback&&on(t.ssFallback),el:t.el,anchor:t.anchor}}function ue(t=" ",r=0){return Z(xd,null,t,r)}function FJ(t,r){const e=Z(sl,null,t);return e.staticCount=r,e}function ne(t="",r=!1){return r?(S(),fe($r,null,t)):Z($r,null,t)}function ni(t){return t==null||typeof t=="boolean"?Z($r):Me(t)?Z(Ue,null,t.slice()):typeof t=="object"?Gi(t):Z(xd,null,String(t))}function Gi(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:on(t)}function Dd(t,r){let e=0;const{shapeFlag:i}=t;if(r==null)r=null;else if(Me(r))e=16;else if(typeof r=="object")if(i&65){const n=r.default;n&&(n._c&&(n._d=!1),Dd(t,n()),n._c&&(n._d=!0));return}else{e=32;const n=r._;!n&&!(ku in r)?r._ctx=er:n===3&&er&&(er.slots._===1?r._=1:(r._=2,t.patchFlag|=1024))}else je(r)?(r={default:r,_ctx:er},e=32):(r=String(r),i&64?(e=16,r=[ue(r)]):e=8);t.children=r,t.shapeFlag|=e}function Et(...t){const r={};for(let e=0;ezt||er,ds=t=>{zt=t,t.scope.on()},xn=()=>{zt&&zt.scope.off(),zt=null};function D0(t){return t.vnode.shapeFlag&4}let Ya=!1;function T5(t,r=!1){Ya=r;const{props:e,children:i}=t.vnode,n=D0(t);h5(t,e,n,r),p5(t,i);const s=n?x5(t,r):void 0;return Ya=!1,s}function x5(t,r){const e=t.type;t.accessCache=Object.create(null),t.proxy=Jm(new Proxy(t.ctx,s5));const{setup:i}=e;if(i){const n=t.setupContext=i.length>1?M0(t):null;ds(t),Es();const s=en(i,t,0,[t.props,n]);if(Ts(),xn(),Fm(s)){if(s.then(xn,xn),r)return s.then(a=>{Dp(t,a,r)}).catch(a=>{wu(a,t,0)});t.asyncDep=s}else Dp(t,s,r)}else I0(t,r)}function Dp(t,r,e){je(r)?t.type.__ssrInlineRender?t.ssrRender=r:t.render=r:St(r)&&(t.setupState=i0(r)),I0(t,e)}let Ip;function I0(t,r,e){const i=t.type;if(!t.render){if(!r&&Ip&&!i.render){const n=i.template||Ed(t).template;if(n){const{isCustomElement:s,compilerOptions:a}=t.appContext.config,{delimiters:o,compilerOptions:l}=i,u=qt(qt({isCustomElement:s,delimiters:o},a),l);i.render=Ip(n,u)}}t.render=i.render||Wr}ds(t),Es(),a5(t),Ts(),xn()}function D5(t){return new Proxy(t.attrs,{get(r,e){return Pr(t,"get","$attrs"),r[e]}})}function M0(t){const r=i=>{t.exposed=i||{}};let e;return{get attrs(){return e||(e=D5(t))},slots:t.slots,emit:t.emit,expose:r}}function Eu(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(i0(Jm(t.exposed)),{get(r,e){if(e in r)return r[e];if(e in Il)return Il[e](t)}}))}function I5(t,r=!0){return je(t)?t.displayName||t.name:t.name||r&&t.__name}function M5(t){return je(t)&&"__vccOpts"in t}const F=(t,r)=>A_(t,r,Ya);function RJ(){return A5().slots}function A5(){const t=Id();return t.setupContext||(t.setupContext=M0(t))}function Ee(t,r,e){const i=arguments.length;return i===2?St(r)&&!Me(r)?Al(r)?Z(t,null,[r]):Z(t,r):Z(t,null,r):(i>3?e=Array.prototype.slice.call(arguments,2):i===3&&Al(e)&&(e=[e]),Z(t,r,e))}const $5="3.2.41",B5="http://www.w3.org/2000/svg",kn=typeof document<"u"?document:null,Mp=kn&&kn.createElement("template"),L5={insert:(t,r,e)=>{r.insertBefore(t,e||null)},remove:t=>{const r=t.parentNode;r&&r.removeChild(t)},createElement:(t,r,e,i)=>{const n=r?kn.createElementNS(B5,t):kn.createElement(t,e?{is:e}:void 0);return t==="select"&&i&&i.multiple!=null&&n.setAttribute("multiple",i.multiple),n},createText:t=>kn.createTextNode(t),createComment:t=>kn.createComment(t),setText:(t,r)=>{t.nodeValue=r},setElementText:(t,r)=>{t.textContent=r},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>kn.querySelector(t),setScopeId(t,r){t.setAttribute(r,"")},insertStaticContent(t,r,e,i,n,s){const a=e?e.previousSibling:r.lastChild;if(n&&(n===s||n.nextSibling))for(;r.insertBefore(n.cloneNode(!0),e),!(n===s||!(n=n.nextSibling)););else{Mp.innerHTML=i?`${t}`:t;const o=Mp.content;if(i){const l=o.firstChild;for(;l.firstChild;)o.appendChild(l.firstChild);o.removeChild(l)}r.insertBefore(o,e)}return[a?a.nextSibling:r.firstChild,e?e.previousSibling:r.lastChild]}};function F5(t,r,e){const i=t._vtc;i&&(r=(r?[r,...i]:[...i]).join(" ")),r==null?t.removeAttribute("class"):e?t.setAttribute("class",r):t.className=r}function R5(t,r,e){const i=t.style,n=Vt(e);if(e&&!n){for(const s in e)gh(i,s,e[s]);if(r&&!Vt(r))for(const s in r)e[s]==null&&gh(i,s,"")}else{const s=i.display;n?r!==e&&(i.cssText=e):r&&t.removeAttribute("style"),"_vod"in t&&(i.display=s)}}const Ap=/\s*!important$/;function gh(t,r,e){if(Me(e))e.forEach(i=>gh(t,r,i));else if(e==null&&(e=""),r.startsWith("--"))t.setProperty(r,e);else{const i=V5(t,r);Ap.test(e)?t.setProperty(fn(i),e.replace(Ap,""),"important"):t[i]=e}}const $p=["Webkit","Moz","ms"],nc={};function V5(t,r){const e=nc[r];if(e)return e;let i=di(r);if(i!=="filter"&&i in t)return nc[r]=i;i=bu(i);for(let n=0;n<$p.length;n++){const s=$p[n]+i;if(s in t)return nc[r]=s}return r}const Bp="http://www.w3.org/1999/xlink";function N5(t,r,e,i,n){if(i&&r.startsWith("xlink:"))e==null?t.removeAttributeNS(Bp,r.slice(6,r.length)):t.setAttributeNS(Bp,r,e);else{const s=V2(r);e==null||s&&!Bm(e)?t.removeAttribute(r):t.setAttribute(r,s?"":e)}}function j5(t,r,e,i,n,s,a){if(r==="innerHTML"||r==="textContent"){i&&a(i,n,s),t[r]=e==null?"":e;return}if(r==="value"&&t.tagName!=="PROGRESS"&&!t.tagName.includes("-")){t._value=e;const l=e==null?"":e;(t.value!==l||t.tagName==="OPTION")&&(t.value=l),e==null&&t.removeAttribute(r);return}let o=!1;if(e===""||e==null){const l=typeof t[r];l==="boolean"?e=Bm(e):e==null&&l==="string"?(e="",o=!0):l==="number"&&(e=0,o=!0)}try{t[r]=e}catch{}o&&t.removeAttribute(r)}function qi(t,r,e,i){t.addEventListener(r,e,i)}function H5(t,r,e,i){t.removeEventListener(r,e,i)}function z5(t,r,e,i,n=null){const s=t._vei||(t._vei={}),a=s[r];if(i&&a)a.value=i;else{const[o,l]=U5(r);if(i){const u=s[r]=Y5(i,n);qi(t,o,u,l)}else a&&(H5(t,o,a,l),s[r]=void 0)}}const Lp=/(?:Once|Passive|Capture)$/;function U5(t){let r;if(Lp.test(t)){r={};let i;for(;i=t.match(Lp);)t=t.slice(0,t.length-i[0].length),r[i[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):fn(t.slice(2)),r]}let sc=0;const K5=Promise.resolve(),W5=()=>sc||(K5.then(()=>sc=0),sc=Date.now());function Y5(t,r){const e=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=e.attached)return;Mr(G5(i,e.value),r,5,[i])};return e.value=t,e.attached=W5(),e}function G5(t,r){if(Me(r)){const e=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{e.call(t),t._stopped=!0},r.map(i=>n=>!n._stopped&&i&&i(n))}else return r}const Fp=/^on[a-z]/,Z5=(t,r,e,i,n=!1,s,a,o,l)=>{r==="class"?F5(t,i,n):r==="style"?R5(t,e,i):vu(r)?fd(r)||z5(t,r,e,i,a):(r[0]==="."?(r=r.slice(1),!0):r[0]==="^"?(r=r.slice(1),!1):q5(t,r,i,n))?j5(t,r,i,s,a,o,l):(r==="true-value"?t._trueValue=i:r==="false-value"&&(t._falseValue=i),N5(t,r,i,n))};function q5(t,r,e,i){return i?!!(r==="innerHTML"||r==="textContent"||r in t&&Fp.test(r)&&je(e)):r==="spellcheck"||r==="draggable"||r==="translate"||r==="form"||r==="list"&&t.tagName==="INPUT"||r==="type"&&t.tagName==="TEXTAREA"||Fp.test(r)&&Vt(e)?!1:r in t}const Hi="transition",ta="animation",Ds=(t,{slots:r})=>Ee(f0,Q5(t),r);Ds.displayName="Transition";const A0={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};Ds.props=qt({},f0.props,A0);const yn=(t,r=[])=>{Me(t)?t.forEach(e=>e(...r)):t&&t(...r)},Rp=t=>t?Me(t)?t.some(r=>r.length>1):t.length>1:!1;function Q5(t){const r={};for(const H in t)H in A0||(r[H]=t[H]);if(t.css===!1)return r;const{name:e="v",type:i,duration:n,enterFromClass:s=`${e}-enter-from`,enterActiveClass:a=`${e}-enter-active`,enterToClass:o=`${e}-enter-to`,appearFromClass:l=s,appearActiveClass:u=a,appearToClass:c=o,leaveFromClass:h=`${e}-leave-from`,leaveActiveClass:d=`${e}-leave-active`,leaveToClass:f=`${e}-leave-to`}=t,p=X5(n),g=p&&p[0],v=p&&p[1],{onBeforeEnter:y,onEnter:m,onEnterCancelled:w,onLeave:C,onLeaveCancelled:P,onBeforeAppear:T=y,onAppear:V=m,onAppearCancelled:D=w}=r,R=(H,q,_e)=>{bn(H,q?c:o),bn(H,q?u:a),_e&&_e()},Q=(H,q)=>{H._isLeaving=!1,bn(H,h),bn(H,f),bn(H,d),q&&q()},ge=H=>(q,_e)=>{const we=H?V:m,$=()=>R(q,H,_e);yn(we,[q,$]),Vp(()=>{bn(q,H?l:s),zi(q,H?c:o),Rp(we)||Np(q,i,g,$)})};return qt(r,{onBeforeEnter(H){yn(y,[H]),zi(H,s),zi(H,a)},onBeforeAppear(H){yn(T,[H]),zi(H,l),zi(H,u)},onEnter:ge(!1),onAppear:ge(!0),onLeave(H,q){H._isLeaving=!0;const _e=()=>Q(H,q);zi(H,h),tw(),zi(H,d),Vp(()=>{!H._isLeaving||(bn(H,h),zi(H,f),Rp(C)||Np(H,i,v,_e))}),yn(C,[H,_e])},onEnterCancelled(H){R(H,!1),yn(w,[H])},onAppearCancelled(H){R(H,!0),yn(D,[H])},onLeaveCancelled(H){Q(H),yn(P,[H])}})}function X5(t){if(t==null)return null;if(St(t))return[ac(t.enter),ac(t.leave)];{const r=ac(t);return[r,r]}}function ac(t){return Ha(t)}function zi(t,r){r.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t._vtc||(t._vtc=new Set)).add(r)}function bn(t,r){r.split(/\s+/).forEach(i=>i&&t.classList.remove(i));const{_vtc:e}=t;e&&(e.delete(r),e.size||(t._vtc=void 0))}function Vp(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let J5=0;function Np(t,r,e,i){const n=t._endId=++J5,s=()=>{n===t._endId&&i()};if(e)return setTimeout(s,e);const{type:a,timeout:o,propCount:l}=ew(t,r);if(!a)return i();const u=a+"end";let c=0;const h=()=>{t.removeEventListener(u,d),s()},d=f=>{f.target===t&&++c>=l&&h()};setTimeout(()=>{c(e[p]||"").split(", "),n=i(Hi+"Delay"),s=i(Hi+"Duration"),a=jp(n,s),o=i(ta+"Delay"),l=i(ta+"Duration"),u=jp(o,l);let c=null,h=0,d=0;r===Hi?a>0&&(c=Hi,h=a,d=s.length):r===ta?u>0&&(c=ta,h=u,d=l.length):(h=Math.max(a,u),c=h>0?a>u?Hi:ta:null,d=c?c===Hi?s.length:l.length:0);const f=c===Hi&&/\b(transform|all)(,|$)/.test(e[Hi+"Property"]);return{type:c,timeout:h,propCount:d,hasTransform:f}}function jp(t,r){for(;t.lengthHp(e)+Hp(t[i])))}function Hp(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function tw(){return document.body.offsetHeight}const fs=t=>{const r=t.props["onUpdate:modelValue"]||!1;return Me(r)?e=>nl(r,e):r};function rw(t){t.target.composing=!0}function zp(t){const r=t.target;r.composing&&(r.composing=!1,r.dispatchEvent(new Event("input")))}const VJ={created(t,{modifiers:{lazy:r,trim:e,number:i}},n){t._assign=fs(n);const s=i||n.props&&n.props.type==="number";qi(t,r?"change":"input",a=>{if(a.target.composing)return;let o=t.value;e&&(o=o.trim()),s&&(o=Ha(o)),t._assign(o)}),e&&qi(t,"change",()=>{t.value=t.value.trim()}),r||(qi(t,"compositionstart",rw),qi(t,"compositionend",zp),qi(t,"change",zp))},mounted(t,{value:r}){t.value=r==null?"":r},beforeUpdate(t,{value:r,modifiers:{lazy:e,trim:i,number:n}},s){if(t._assign=fs(s),t.composing||document.activeElement===t&&t.type!=="range"&&(e||i&&t.value.trim()===r||(n||t.type==="number")&&Ha(t.value)===r))return;const a=r==null?"":r;t.value!==a&&(t.value=a)}},NJ={created(t,{value:r},e){t.checked=hs(r,e.props.value),t._assign=fs(e),qi(t,"change",()=>{t._assign(Ga(t))})},beforeUpdate(t,{value:r,oldValue:e},i){t._assign=fs(i),r!==e&&(t.checked=hs(r,i.props.value))}},jJ={deep:!0,created(t,{value:r,modifiers:{number:e}},i){const n=mu(r);qi(t,"change",()=>{const s=Array.prototype.filter.call(t.options,a=>a.selected).map(a=>e?Ha(Ga(a)):Ga(a));t._assign(t.multiple?n?new Set(s):s:s[0])}),t._assign=fs(i)},mounted(t,{value:r}){Up(t,r)},beforeUpdate(t,r,e){t._assign=fs(e)},updated(t,{value:r}){Up(t,r)}};function Up(t,r){const e=t.multiple;if(!(e&&!Me(r)&&!mu(r))){for(let i=0,n=t.options.length;i-1:s.selected=r.has(a);else if(hs(Ga(s),r)){t.selectedIndex!==i&&(t.selectedIndex=i);return}}!e&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Ga(t){return"_value"in t?t._value:t.value}const iw=["ctrl","shift","alt","meta"],nw={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,r)=>iw.some(e=>t[`${e}Key`]&&!r.includes(e))},pr=(t,r)=>(e,...i)=>{for(let n=0;ne=>{if(!("key"in e))return;const i=fn(e.key);if(r.some(n=>n===i||sw[n]===i))return t(e)},Kp={beforeMount(t,{value:r},{transition:e}){t._vod=t.style.display==="none"?"":t.style.display,e&&r?e.beforeEnter(t):ra(t,r)},mounted(t,{value:r},{transition:e}){e&&r&&e.enter(t)},updated(t,{value:r,oldValue:e},{transition:i}){!r!=!e&&(i?r?(i.beforeEnter(t),ra(t,!0),i.enter(t)):i.leave(t,()=>{ra(t,!1)}):ra(t,r))},beforeUnmount(t,{value:r}){ra(t,r)}};function ra(t,r){t.style.display=r?t._vod:"none"}const aw=qt({patchProp:Z5},L5);let Wp;function ow(){return Wp||(Wp=y5(aw))}const lw=(...t)=>{const r=ow().createApp(...t),{mount:e}=r;return r.mount=i=>{const n=uw(i);if(!n)return;const s=r._component;!je(s)&&!s.render&&!s.template&&(s.template=n.innerHTML),n.innerHTML="";const a=e(n,!1,n instanceof SVGElement);return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),a},r};function uw(t){return Vt(t)?document.querySelector(t):t}var vh=function(t,r){return vh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])},vh(t,r)};function ee(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");vh(t,r);function e(){this.constructor=t}t.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}var Yp=function(){return Yp=Object.assign||function(r){for(var e,i=1,n=arguments.length;i0&&s[s.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function $0(t,r){var e=typeof Symbol=="function"&&t[Symbol.iterator];if(!e)return t;var i=e.call(t),n,s=[],a;try{for(;(r===void 0||r-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(o){a={error:o}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(a)throw a.error}}return s}function Ca(){for(var t=[],r=0;re&&(t=e),t}function Qe(t){return me(Math.sin(xu*t),10)}function zJ(t){return me(Math.tan(xu*t),10)}function nt(t){return me(Math.cos(xu*t),10)}function st(t,r){return x(t)?x(r)&&r>t?r:t:x(r)?r:null}function jt(t,r){return x(t)?x(r)&&r0)for(var o=0;o<=n;o++){var l=$d(t,r,e,i,o/n);s+=Lr(a,l),a=l}return s}function pw(t,r,e,i){var n=Lr(r,i),s=Lr(t,e);return Math.abs(s/n)}function $l(t,r,e){return x(e)||(e=.5),{x:t.x+(r.x-t.x)*e,y:t.y+(r.y-t.y)*e}}function Dn(t,r){r||(r={x:t.x*2,y:t.y*2});var e=r.x-t.x,i=r.y-t.y,n=Math.atan2(i,e)*ga;return n<0&&(n+=360),Ll(n)}function ia(t){if(t){var r=t.length;if(r!==0){for(var e=void 0,i=void 0,n,s=void 0,a=0;ai)&&(i=o.x),(!x(e)||o.xs)&&(s=o.y)}return{x:e,y:n,width:i-e,height:s-n}}}return{x:0,y:0,width:0,height:0}}function F0(t){var r=t.length;if(r!==0){for(var e=void 0,i=void 0,n=void 0,s=void 0,a=0;ae){var i=r;r=e,e=i}t=Ll(t);var n=(r-Ll(r))/360;te&&(t-360>r?t-=360:ta?t=r:t=e),t}function Gp(t,r,e){var i=Number.MAX_VALUE,n=Number.MAX_VALUE,s=-Number.MAX_VALUE,a=-Number.MAX_VALUE,o=[];x(e)||(e=1),o.push(uc(e,t)),o.push(uc(e,r));for(var l=Math.min(Math.floor(t/90)*90,Math.floor(r/90)*90),u=Math.max(Math.ceil(t/90)*90,Math.ceil(r/90)*90),c=l;c<=u;c+=90)c>=t&&c<=r&&o.push(uc(e,c));for(var h=0;hs&&(s=d.x),d.y>a&&(a=d.y)}return{x:i,y:n,width:s-i,height:a-n}}function uc(t,r){return{x:t*nt(r),y:t*Qe(r)}}function gw(t,r){return t.x>=r.x&&t.x<=r.x+r.width&&t.y>=r.y&&t.y<=r.y+r.height}function Gr(t,r){for(var e=t.length,i=0;i>1,o=r(e,t[a]);o<0?n=a:(o===0&&(s=!0),i=a+1)}return{found:s,index:s?i-1:i}}function H0(t,r){for(var e=t.length,i=0;i0&&this.hasListenersByType(r)&&this._disabled[r]==null},t.prototype.has=function(r,e,i){var n=H0(this._listeners,function(s){return s.once!==!0&&s.type===r&&(e==null||s.callback===e)&&s.context===i});return n!==-1},t.prototype._shouldDispatch=function(r){if(this._disposed)throw new Error("EventDispatcher is disposed");var e=this._disabled[r];return x(e)?(e<=1?delete this._disabled[r]:--this._disabled[r],!1):this._enabled},t.prototype._eachListener=function(r){var e=this;++this._iterating;try{ye(this._listeners,r)}finally{--this._iterating,this._iterating===0&&this._killed.length!==0&&(ye(this._killed,function(i){e._removeListener(i)}),this._killed.length=0)}},t.prototype.dispatchImmediately=function(r,e){this._shouldDispatch(r)&&this._eachListener(function(i){!i.killed&&(i.type===null||i.type===r)&&i.dispatch(r,e)})},t.prototype.dispatch=function(r,e){this._shouldDispatch(r)&&this._eachListener(function(i){!i.killed&&(i.type===null||i.type===r)&&Sw(function(){i.killed||i.dispatch(r,e)})})},t.prototype._on=function(r,e,i,n,s,a){var o=this;if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(r,e,i,n);var l={type:e,callback:i,context:n,shouldClone:s,dispatch:a,killed:!1,once:r,disposer:new tr(function(){l.killed=!0,o._removeListener(l)})};return this._listeners.push(l),l},t.prototype.onAll=function(r,e,i){return i===void 0&&(i=!0),this._on(!1,null,r,e,i,function(n,s){return r.call(e,n,s)}).disposer},t.prototype.on=function(r,e,i,n){return n===void 0&&(n=!0),this._on(!1,r,e,i,n,function(s,a){return e.call(i,a)}).disposer},t.prototype.once=function(r,e,i,n){n===void 0&&(n=!0);var s=this._on(!0,r,e,i,n,function(a,o){s.disposer.dispose(),e.call(i,o)});return s.disposer},t.prototype.off=function(r,e,i){this._removeExistingListener(!1,r,e,i)},t.prototype.copyFrom=function(r){var e=this;if(this._disposed)throw new Error("EventDispatcher is disposed");if(r===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");ye(r._listeners,function(i){!i.killed&&i.shouldClone&&(i.type===null?e.onAll(i.callback,i.context):i.once?e.once(i.type,i.callback,i.context):e.on(i.type,i.callback,i.context))})},t}(),W0=function(t){ee(r,t);function r(e){var i=t.call(this)||this;return i.target=e,i}return r.prototype.copyFrom=function(e){var i=this;if(this._disposed)throw new Error("EventDispatcher is disposed");if(e===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");ye(e._listeners,function(n){n.context!==e.target&&!n.killed&&n.shouldClone&&(n.type===null?i.onAll(n.callback,n.context):n.once?i.once(n.type,n.callback,n.context):i.on(n.type,n.callback,n.context))})},r}(ln);function Cw(t){return function(r){for(var e in t)if(si(t,e)&&!r([e,t[e]]))break}}function Y0(t){var r=[];for(var e in t)si(t,e)&&r.push(e);return r}function Ow(t,r){return Y0(t).sort(r)}function si(t,r){return{}.hasOwnProperty.call(t,r)}function G0(t,r){for(var e in t)if(si(t,e)&&!r(e,t[e]))break}function Le(t,r){G0(t,function(e,i){return r(e,i),!0})}function Ci(t,r,e){ye(Ow(t,e),function(i){r(i,t[i])})}function bh(t,r){return Object.assign({},t,r)}function kw(t){return JSON.parse(JSON.stringify(t))}function ul(t,r,e){ye(e,function(i){O(t[i])&&(r[i]=t[i])})}function XJ(t,r,e){ye(e,function(i){r[i]=t[i]})}function na(t,r){ul(t,r,Y0(t))}function Mn(t){return function(r){for(var e=t.length,i=0;i=0&&r=r._end&&e(r._array[i]);--i);}},t.prototype.backwards=function(){return new t(this._array,this._end,this._start)},t.prototype.range=function(r,e){if(r<=e){if(this._start===this._end)return this;if(this._start=0&&t=0&&r0);if(a>=o)return o;this.swap(a,o)}},t.prototype.sort=function(r){this._sortQuicksort(0,this._values.length-1,r)},t.prototype.swap=function(r,e){var i=this._values.length;if(sa(r,i),sa(e,i),r!==e){var n=this._values[r],s=this._values[e];this._values[r]=s,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:r,oldValue:n,newValue:s}),this._values[e]=n,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:e,oldValue:s,newValue:n})}},t.prototype.removeIndex=function(r){sa(r,this._values.length);var e=this._values[r];return gs(this._values,r),this.events.isEnabled("removeIndex")&&this.events.dispatchImmediately("removeIndex",{type:"removeIndex",target:this,index:r,oldValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:e}),e},t.prototype.moveValue=function(r,e){var i=this.indexOf(r);if(i!==-1){var n=this._values[i];gs(this._values,i),this.events.isEnabled("removeIndex")&&this.events.dispatchImmediately("removeIndex",{type:"removeIndex",target:this,index:i,oldValue:n})}e==null?(e=this._values.length,this._values.push(r)):ps(this._values,e,r),this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:e,newValue:r}),i===-1&&this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:r})},t.prototype.push=function(r){var e=this._values.push(r)-1;return this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:e,newValue:r}),this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:r}),r},t.prototype.unshift=function(r){this.insertIndex(0,r)},t.prototype.pushAll=function(r){var e=this;ye(r,function(i){e.push(i)})},t.prototype.copyFrom=function(r){this.pushAll(r._values)},t.prototype.pop=function(){var r=this._values.length-1;return r<0?void 0:this.removeIndex(this._values.length-1)},t.prototype.shift=function(){return this._values.length?this.removeIndex(0):void 0},t.prototype.setAll=function(r){var e=this,i=qa(this._values);this._values.length=0,ye(r,function(n){e._values.push(n)}),this.events.isEnabled("setAll")&&this.events.dispatchImmediately("setAll",{type:"setAll",target:this,oldArray:i,newArray:this._values}),this.events.isEnabled("removed")&&ye(i,function(n){e.events.dispatchImmediately("removed",{type:"removed",target:e,oldValue:n})}),this.events.isEnabled("inserted")&&ye(this._values,function(n){e.events.dispatchImmediately("inserted",{type:"inserted",target:e,newValue:n})})},t.prototype.clear=function(){this.setAll([])},t.prototype.iterator=function(){return Mn(this._values)},t.prototype[Symbol.iterator]=function(){var r,e;return We(this,function(i){switch(i.label){case 0:r=this._values.length,e=0,i.label=1;case 1:return ec)&&(n=o,s=u,a=c)}else i==="left"&&u=r&&(!O(s)||s>=u)&&(n=o,s=u);return++o,!0}),n===-1&&(i==="left"?n=0:i==="right"&&(n=this.length-1)),n},t.prototype.iterator=function(){return Mn(this._values)},t.prototype[Symbol.iterator]=function(){var r,e;return We(this,function(i){switch(i.label){case 0:r=this._values.length,e=0,i.label=1;case 1:return e0)for(var s=0;s0?255-t:t;return Math.round(e*r)}function Uw(t,r){if(t){var e=Math.min(Math.max(t.r,t.g,t.b),230),i=hl(e,r);return{r:Math.max(0,Math.min(255,Math.round(t.r+i))),g:Math.max(0,Math.min(255,Math.round(t.g+i))),b:Math.max(0,Math.min(255,Math.round(t.b+i))),a:t.a}}else return t}function Kw(t,r){if(t==null||r==1)return t;var e=dl(t);return e.s=r,ey(e)}function ey(t){var r,e,i,n=t.h,s=t.s,a=t.l;if(s==0)r=e=i=a;else{var o=function(h,d,f){return f<0&&(f+=1),f>1&&(f-=1),f<.16666666666666666?h+(d-h)*6*f:f<.5?d:f<.6666666666666666?h+(d-h)*(.6666666666666666-f)*6:h},l=a<.5?a*(1+s):a+s-a*s,u=2*a-l;r=o(u,l,n+1/3),e=o(u,l,n),i=o(u,l,n-1/3)}return{r:Math.round(r*255),g:Math.round(e*255),b:Math.round(i*255)}}function dl(t){var r=t.r/255,e=t.g/255,i=t.b/255,n=Math.max(r,e,i),s=Math.min(r,e,i),a=0,o=0,l=(n+s)/2;if(n===s)a=o=0;else{var u=n-s;switch(o=l>.5?u/(2-n-s):u/(n+s),n){case r:a=(e-i)/u+(e=128}var pt=function(){function t(r){this._value=r}return Object.defineProperty(t.prototype,"rgb",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hex",{get:function(){return this._value?Nw(this._value):"none"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rgba",{get:function(){return this._value?jw(this._value):"none"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alpha",{get:function(){return this._value!=null&&this._value.a!=null?this._value.a:1},set:function(r){this._value&&(this._value.a=r)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lightColor",{get:function(){return this._lightColor||(this._lightColor=new t({r:255,g:255,b:255})),this._lightColor},set:function(r){this._lightColor=r},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"darkColor",{get:function(){return this._darkColor||(this._darkColor=new t({r:0,g:0,b:0})),this._darkColor},set:function(r){this._darkColor=r},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.alpha<1?this.rgba:this.hex},t.prototype.lighten=function(r){return new t(zw(this.rgb,r))},t.prototype.brighten=function(r){return new t(Uw(this.rgb,r))},t.prototype.saturate=function(r){return new t(Kw(this.rgb,r))},Object.defineProperty(t.prototype,"alternative",{get:function(){if(this.rgb!=null)return Ww(this.rgb)?this.darkColor:this.lightColor;throw new Error("Color does not exist")},enumerable:!0,configurable:!0}),t}();function $e(t,r){if(!O(t))return new pt(void 0);if(typeof t=="string"){var e="_color_"+t+"_"+(r||"1"),i=k.getCache(e);if(i)return new pt({r:i.r,g:i.g,b:i.b,a:i.a});var n=Lw(t,r);return k.setCache(e,n),new pt(n)}return t instanceof pt?(O(r)&&(t.alpha=r),t):new pt(t)}function Yw(t){return t instanceof pt}function Gw(t){return $e(t)}function jl(t){return O(t)&&!Yw(t)?Gw(t):t}var Qt=function(){function t(){this._disposed=!1,this._disposers=[],this.className="BaseObject"}return t.prototype.debug=function(){},Object.defineProperty(t.prototype,"uid",{get:function(){return this._uid||(this._uid=k.getUniqueId(),k.map.setKey(this._uid,this)),this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},set:function(r){this._id=r},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"map",{get:function(){return this._map||(this._map=new $t),this._map},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"delayedMap",{get:function(){return this._delayedMap||(this._delayedMap=new $t),this._delayedMap},enumerable:!0,configurable:!0}),t.prototype.addDelayedMap=function(r,e){var i=this.delayedMap;i.hasKey(e)||i.setKey(e,[]);var n=i.getKey(e);n.push({property:r,target:this})},t.prototype.processDelayedMap=function(){var r=this;this.delayedMap.each(function(e,i){if(r.map.hasKey(e)){var n=r.map.getKey(e);ye(i,function(s){s.target[s.property]=n}),r.delayedMap.removeKey(e)}})},t.prototype.applyTheme=function(){var r=this;if(k){var e=this.getCurrentThemes();e&&ye(e,function(i,n){i(r)})}},Object.defineProperty(t.prototype,"themes",{get:function(){return this._themes},set:function(r){this._themes=r},enumerable:!0,configurable:!0}),t.prototype.getCurrentThemes=function(){return this.themes||k.themes},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var r=this._disposers;for(this._disposers=null;r.length!==0;){var e=r.shift();e.dispose()}this.clearCache(),this.clonedFrom&&this.clonedFrom.clones.removeValue(this);var i=this._uid;i!=null&&k.map.removeKey(i)}},t.prototype.addDisposer=function(r){this._disposers.push(r)},t.prototype.removeDispose=function(r){if(!this._disposed){var e=Gr(this._disposers,r);e>-1&&this._disposers.splice(e,1)}r.dispose()},t.prototype.clone=function(r){r||(r="clone-"+k.getUniqueId());var e=new this.constructor;return e.cloneId=r,e.copyFrom(this),e},Object.defineProperty(t.prototype,"clones",{get:function(){return this._clones||(this._clones=new vt),this._clones},enumerable:!0,configurable:!0}),t.prototype.copyFrom=function(r){r.clones.push(this),this.clonedFrom=r},Object.defineProperty(t.prototype,"className",{get:function(){return this._className},set:function(r){this._className=r},enumerable:!0,configurable:!0}),t.prototype.setCache=function(r,e,i){Oa.set(this.uid,r,e,i)},t.prototype.getCache=function(r,e){return e===void 0&&(e=void 0),Oa.get(this.uid,r,e)},t.prototype.clearCache=function(){Oa.clear(this.uid)},t.prototype.setTimeout=function(r,e){var i=this,n=setTimeout(function(){i.removeDispose(s),r()},e),s=new tr(function(){clearTimeout(n)});return this._disposers.push(s),s},t.prototype.setInterval=function(r,e){var i=this,n=setInterval(function(){i.removeDispose(s),r()},e),s=new tr(function(){clearTimeout(n)});return this._disposers.push(s),s},Object.defineProperty(t.prototype,"config",{set:function(r){try{this.processConfig(r)}catch(e){this.raiseCriticalError(e)}},enumerable:!0,configurable:!0}),t.prototype.processConfig=function(r){var e=this;if(!!r){var i=this;if(Ci(r,function(s,a){var o=a;if(s=="callback"&&typeof a=="function"&&a.call(i),e.hasProperty(s)){var l;if(ut(o)&&O(o.type)&&(!ut(i[s])||!O(i[s].className)||o.forceCreate||i[s].className!=o.type)&&!e.asIs(s)?(l=e.createClassInstance(o.type),l?i[s]=l:l=i[s]):l=i[s],l instanceof gr)e.processAdapters(l,o);else if(l instanceof ln)e.processEvents(l,o);else if(s=="locale"&&kt(o))window["am4lang_"+o]&&(i[s]=window["am4lang_"+o]);else if(s=="parent"&&kt(o)){var u=e.map.getKey(o);u?i[s]=u:e.addDelayedMap("parent",o)}else if(e.asIs(s))i[s]=o;else if(e.asFunction(s)&&kt(o))if(O(k.registeredClasses[o]))i[s]=k.registeredClasses[o];else throw Error("Invalid easing function: "+o);else if(o instanceof t)i[s]=o;else if(l instanceof t)l.config=o;else if(l instanceof cl||l instanceof wh||l instanceof $w){if(li(o))l instanceof cl?e.processListTemplate(o,l):e.processOrderedTemplate(o,l);else if(ut(o))if(o instanceof t)l.template=o;else{var c=void 0;O(o.template)?c=o.template:c=o,l.template instanceof t?l.template.config=c:Le(c,function(h,d){var f=l.template[h];f instanceof gr?e.processAdapters(f,d):f instanceof ln?e.processEvents(f,d):f instanceof _h?e.processDictionaryTemplate(f,d):l.template[h]instanceof t?l.template[h].config=d:ut(d)&&O(d.type)?(f=e.createClassInstance(d.type),f?(f instanceof t&&(f.config=d),l.template[h]=f):l.template[h]=d):f instanceof vt?e.processList(d,f):l.template[h]=e.maybeColorOrPercent(d)}),O(o.values)&&(l instanceof cl?e.processListTemplate(o.values,l):e.processOrderedTemplate(o.values,l))}}else l instanceof vt?s=="children"?e.processList(o,l,e):e.processList(o,l):l instanceof _h?e.processDictionaryTemplate(l,o):l instanceof $t?e.processDictionary(l,o):l instanceof pt||l instanceof ct?i[s]=e.maybeColorOrPercent(o):ut(l)&&ut(o)?na(o,l):(o=e.maybeColorOrPercent(o),i[s]=o)}else e.isReserved(s)||(i[s]=o)},this.configOrder),this.processingErrors.length){var n=this.processingErrors.join(` +`);throw this._processingErrors=[],Error(n)}}},t.prototype.maybeColorOrPercent=function(r){if(kt(r)){if(r.match(/^[\-]?[0-9.]+\%$/))return xt(At(r));if(r.match(/^\#[0-9abcdef]{3,}$/i))return $e(r)}return r},t.prototype.processAdapters=function(r,e){var i=this;li(e)?ye(e,function(n,s){r.add(n.key,n.callback,n.priority||0,i)}):ut(e)&&Le(e,function(n,s){r.has(n,s)||r.add(n,s)})},t.prototype.processEvents=function(r,e){var i=this;li(e)?ye(e,function(n,s){r.on(n.type,n.callback,i)}):ut(e)&&Le(e,function(n,s){r.has(n,s)||r.on(n,s)})},t.prototype.processDictionaryTemplate=function(r,e){ut(e)&&Le(e,function(i,n){var s;i=="template"?s=r.template:r.hasKey(i)?s=r.getKey(i):s=r.create(i),s instanceof t?s.config=n:ut(s)&&ut(n)?na(n,s):s.setKey(i,n)})},t.prototype.processDictionary=function(r,e){ut(e)&&Le(e,function(i,n){r.setKey(i,n)})},t.prototype.processListTemplate=function(r,e){var i=this;for(ye(r,function(n,s){var a=i.getConfigEntryType(n),o;if(e.hasIndex(s)&&!n.forceCreate)o=e.getIndex(s);else if(n instanceof t){e.push(n);return}else a?o=e.create(a):o=e.create();n===o||ut(n)&&(o instanceof t?o.config=n:ut(o)&&ut(n)?na(n,o):e.setIndex(e.indexOf(o),n))});r.length>e.length;)e.pop()},t.prototype.processOrderedTemplate=function(r,e){var i=this;ye(r,function(n,s){var a=i.getConfigEntryType(n),o;a?o=e.create(a):o=e.create(),ut(n)&&(o instanceof t?o.config=n:ut(o)&&ut(n)?na(n,o):e.insert(n))})},t.prototype.processList=function(r,e,i){var n=this;li(r)||(r=[r]);var s=e.length,a=0;for(ye(r,function(o,l){if(ut(o)){var u=void 0;if(lr&&(e!==!0||n!=!1)){i&&(c=hc(c));var d=c.match(new RegExp(".{1,"+r+"}","g"));if(d){if(i)for(var f=0;fr&&s[a]!==""&&(s.push(""),a++),s[a]+=c;a=s.length-1}}}else{var d=t.match(new RegExp(".{1,"+r+"}","g"));if(d){if(i)for(var f=0;fr&&(s=[]),s}function kh(t,r,e,i,n){if(t.length<=r)return t;r-=e.length,r<1&&(r=1);var s=Oh(t,r,i,n);return(s[0]||"")+e}function ty(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function Jw(t){return t.replace(/[\s\uFEFF\xA0]+$/g,"")}function e4(t){return t.replace(/^[\s\uFEFF\xA0]+/g,"")}function hc(t){return t.split("").reverse().join("")}function Ht(t,r,e){return r===void 0&&(r=0),e===void 0&&(e="0"),typeof t!="string"&&(t=t.toString()),r>t.length?Array(r-t.length+1).join(e)+t:t}function t4(t){if(typeof t>"u")return Jp;t=t.toLowerCase().replace(/^\[[^\]]*\]/,""),t=t.replace(/\[[^\]]+\]/,""),t=t.trim();var r=t.match(/\/(date|number|duration)$/);return r?r[1]:t===fl?fl:t===pl?pl:t===Ph?Ph:t.match(/[#0]/)?fl:t.match(/[ymwdhnsqaxkzgtei]/)?pl:Jp}function zl(t){return t.replace(/\/(date|number|duration)$/i,"")}function ry(t){return t&&t.replace(/<[^>]*>/g,"")}function r4(t){return t&&ry((""+t).replace(/[\n\r]+/g,". "))}function i4(t){if(Md(t))return"NaN";if(t===1/0)return"Infinity";if(t===-1/0)return"-Infinity";if(t===0&&1/t===-1/0)return"-0";var r=t<0;t=Math.abs(t);var e=at(/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+t)),i=e[1],n=e[2]||"",s;if(e[3]==null)s=n===""?i:i+"."+n;else{var a=+e[3];if(t<1){var o=a-1;s="0."+qp("0",o)+i+n}else{var o=a-n.length;o===0?s=i+n:o<0?s=i+n.slice(0,o)+"."+n.slice(o):s=i+n+qp("0",o)}}return r?"-"+s:s}function iy(t){if(Za(t)){var r=new Date(t);return r.setMilliseconds(t.getMilliseconds()),r}else{if(x(t))return new Date(t);var e=Number(t);return x(e)?new Date(e):new Date(t)}}function Eh(t){if(Za(t))return t.getTime();if(x(t))return t;if(kt(t)){var r=Number(t);return x(r)?r:void 0}}function rg(t,r){var e=new Date(t.getFullYear(),0,0),i=t.getTime()-e.getTime()+(e.getTimezoneOffset()-t.getTimezoneOffset())*60*1e3,n=1e3*60*60*24;return Math.floor(i/n)}function ka(t,r){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate())),i=e.getUTCDay()||7;e.setUTCDate(e.getUTCDate()+4-i);var n=new Date(Date.UTC(e.getUTCFullYear(),0,1));return Math.ceil(((e.getTime()-n.getTime())/864e5+1)/7)}function n4(t,r){var e=ka(new Date(t.getFullYear(),t.getMonth(),1)),i=ka(t);return i==1&&(i=53),i-e+1}function s4(t,r,e,i){e===void 0&&(e=1),i===void 0&&(i=!1);var n=new Date(r,0,4,0,0,0,0);i&&n.setUTCFullYear(r);var s=t*7+e-((n.getDay()||7)+3);return s}function Fo(t,r){return t>12?t-=12:t===0&&(t=12),O(r)?t+(r-1):t}function Ro(t,r,e,i){if(r===void 0&&(r=!1),e===void 0&&(e=!1),i===void 0&&(i=!1),i)return r?"Coordinated Universal Time":"UTC";var n=t.toLocaleString("UTC"),s=t.toLocaleString("UTC",{timeZoneName:r?"long":"short"}).substr(n.length);return e===!1&&(s=s.replace(/ (standard|daylight|summer|winter) /i," ")),s}function dc(t,r,e){return t>e?e:te||t1&&n.pop(),yw(n,s),e.path=n.join("/"),e.path!==""&&e.path[0]!=="/")throw new Error("URL path must start with /")}return e.query=i.query,e.hash=i.hash,sg(e)}else return sg(i)}function oee(){return!!window.MSInputMethodContext&&!!document.documentMode}function sy(t){return+t}k.registeredClasses["ease.linear"]=sy;function h4(t){return t*t}k.registeredClasses["ease.quadIn"]=h4;function d4(t){return t*(2-t)}k.registeredClasses["ease.quadOut"]=d4;function f4(t){return t*=2,(t<=1?t*t:--t*(2-t)+1)/2}k.registeredClasses["ease.quadInOut"]=f4;function ay(t,r){return Math.pow(t,r)}k.registeredClasses["ease.polyIn"]=ay;function oy(t,r){return 1-Math.pow(1-t,r)}k.registeredClasses["ease.polyOut"]=oy;function ly(t,r){return t*=2,(t<=1?Math.pow(t,r):2-Math.pow(2-t,r))/2}k.registeredClasses["ease.polyInOut"]=ly;function p4(t){return ay(t,3)}k.registeredClasses["ease.polyIn3"]=p4;function xh(t){return oy(t,3)}k.registeredClasses["ease.polyOut3"]=xh;function g4(t){return ly(t,3)}k.registeredClasses["ease.polyInOut3"]=g4;function v4(t){return Math.pow(2,10*t-10)}k.registeredClasses["ease.expIn"]=v4;function m4(t){return 1-Math.pow(2,-10*t)}k.registeredClasses["ease.expOut"]=m4;function y4(t){return t*=2,(t<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}k.registeredClasses["ease.expInOut"]=y4;function b4(t){return 1-Math.cos(t*L0)}k.registeredClasses["ease.sinIn"]=b4;function _4(t){return Math.sin(t*L0)}k.registeredClasses["ease.sinOut"]=_4;function w4(t){return(1-Math.cos(Tu*t))/2}k.registeredClasses["ease.sinInOut"]=w4;function S4(t){return t*t*t}k.registeredClasses["ease.cubicIn"]=S4;function $n(t){return--t*t*t+1}k.registeredClasses["ease.cubicOut"]=$n;function P4(t){return t*=2,(t<=1?t*t*t:(t-=2)*t*t+2)/2}k.registeredClasses["ease.cubicInOut"]=P4;function C4(t){return 1-Math.sqrt(1-t*t)}k.registeredClasses["ease.circleIn"]=C4;function O4(t){return Math.sqrt(1- --t*t)}k.registeredClasses["ease.circleOut"]=O4;function k4(t){return t*=2,(t<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}k.registeredClasses["ease.circleInOut"]=k4;var Dh=4/11,E4=6/11,T4=8/11,x4=3/4,D4=9/11,I4=10/11,M4=15/16,A4=21/22,$4=63/64,Vo=1/Dh/Dh;function B4(t){return 1-Ul(1-t)}k.registeredClasses["ease.bounceIn"]=B4;function Ul(t){return t=+t,t0){this.pause(),tn(this.object.animations,this);var n=setTimeout(function(){i._delayTimeout=null,i.start()},e);this._delayTimeout=new tr(function(){clearTimeout(n)})}return this},r.prototype._start=function(){this._isFinished=!1,this._delayTimeout&&(this.removeDispose(this._delayTimeout),this._delayTimeout=null),this.stopSameAnimations(),this._pause=!1,tn(Re.animations,this),tn(this.object.animations,this),Re.requestFrame()},r.prototype.start=function(){this._start(),this._startTime=Date.now(),this._time=0,this.staticOptions=[];for(var e=this.animationOptions.length-1;e>=0;e--){var i=this.animationOptions[e];if(O(i.from)||(i.childObject?i.from=i.childObject[i.property]:(i.from=this.object[i.property],O(i.from)||(i.from=H4[i.property]))),i.from==i.to)Be(this.animationOptions,i);else if(!O(i.from)||!(i.from instanceof ct)&&i.to instanceof ct||i.from instanceof ct&&!(i.to instanceof ct))this.staticOptions.push(i),Be(this.animationOptions,i);else if(x(i.to))if(i.updateMethod=uy,i.from instanceof ct){var n=this.object[og(i.property,"pixel")];isNaN(n)?(this.staticOptions.push(i),Be(this.animationOptions,i)):i.from=n}else isNaN(i.from)&&(this.staticOptions.push(i),Be(this.animationOptions,i));else if(i.to instanceof pt)i.from?i.updateMethod=U4:(this.staticOptions.push(i),Be(this.animationOptions,i));else if(i.to instanceof ct){if(i.updateMethod=z4,!isNaN(i.from)){var n=this.object[og(i.property,"relative")];isNaN(n)||(i.from=xt(n*100))}}else this.staticOptions.push(i),Be(this.animationOptions,i)}if(this.applyStaticOptions(),this.events.isEnabled("animationstarted")){var s={type:"animationstarted",target:this,progress:this.progress};this.events.dispatchImmediately("animationstarted",s)}return this.update(),this.duration===0&&this.end(),this},r.prototype.loop=function(e){return x(e)||(e=1/0),this._loop=e,this},r.prototype.pause=function(){return this._pause=!0,this._delayTimeout&&(this.removeDispose(this._delayTimeout),this._delayTimeout=null),Be(Re.animations,this),Be(this.object.animations,this),this},r.prototype.resume=function(){return this._start(),this._startTime=Date.now()-this._time,this},r.prototype.end=function(){if(this._loop==0&&this.pause(),this.setProgress(1),this.applyStaticOptions(),this.events.isEnabled("animationended")){var e={type:"animationended",target:this,progress:this.progress};this.events.dispatchImmediately("animationended",e)}return this._loop>0?(this._loop--,this.start()):(this.stop(),this._isFinished=!0),this},r.prototype.kill=function(){this.pause(),this._isFinished=!0},r.prototype.isFinished=function(){return this._isFinished},r.prototype.applyStaticOptions=function(){var e=this;ye(this.staticOptions,function(i){i.childObject?i.childObject[i.property]=e.progress==1?i.to:i.from:e.object[i.property]=e.progress==1?i.to:i.from})},r.prototype.stop=function(e){if(this.pause(),!e&&this.events.isEnabled("animationstopped")){var i={type:"animationstopped",target:this,progress:this.progress};this.events.dispatchImmediately("animationstopped",i)}return this},r.prototype.setProgress=function(e){var i=this;if(this._time=this.duration*e,ye(this.animationOptions,function(s){if(s.updateMethod&&O(s.from)){var a=s.updateMethod(e,s.from,s.to);s.childObject?s.childObject[s.property]=a:i.object[s.property]=a}}),this.progress=e,this.events.isEnabled("animationprogress")){var n={type:"animationprogress",target:this,progress:this.progress};this.events.dispatchImmediately("animationprogress",n)}Re.requestFrame()},r.prototype.update=function(){if(!this._pause){var e=void 0;this._time=Ne(Date.now()-this._startTime,0,this.duration);var i=this._time/this.duration;e=this.easing(i),(this.duration==0||!x(e)||i>=1)&&(e=1),this.setProgress(e),me(this._time/this.duration,6)==1&&this.end()}return this},Object.defineProperty(r.prototype,"delayed",{get:function(){return!!this._delayTimeout},enumerable:!0,configurable:!0}),r.prototype.stopSameAnimations=function(){var e=this;ye(qa(this.object.animations),function(i){if(i!==e&&!i.delayed){var n=[];ye(e.animationOptions,function(s){ye(i.animationOptions,function(a){s.property==a.property&&s.childObject==a.childObject&&(n.push(a),i.animationOptions.length==0&&i.kill())})}),ye(n,function(s){Be(i.animationOptions,s)})}})},r.prototype.asFunction=function(e){return e=="easing"||t.prototype.asIs.call(this,e)},r}(vi),gl="http://www.w3.org/2000/svg",lg="http://www.w3.org/2000/xmlns/",jd="http://www.w3.org/1999/xlink";function Tt(t,r,e,i){return t.addEventListener(r,e,i||!1),new tr(function(){t.removeEventListener(r,e,i||!1)})}function cy(t){if(kt(t)){var r=document.getElementById(t);if(r==null&&(r=document.getElementsByClassName(t)[0]),r instanceof HTMLElement)return r}else if(t instanceof HTMLElement)return t}function Ih(t,r){if(!!t)if(t.classList){var e=r.split(" ");ye(e,function(n){t.classList.add(n)})}else{var i=t.getAttribute("class");i?t.setAttribute("class",i.split(" ").filter(function(n){return n!==r}).join(" ")+" "+r):t.setAttribute("class",r)}}function Mh(t,r){if(!!t)if(t.classList)t.classList.remove(r);else{var e=t.getAttribute("class");e&&t.setAttribute("class",e.split(" ").filter(function(i){return i!==r}).join(" "))}}function ug(t,r,e){t.style[r]=e}function Hd(t,r){return t.currentStyle?t.currentStyle[r]:document.defaultView.getComputedStyle(t,null).getPropertyValue(r)}function pc(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{var t=document.createElement("button");t.style.position="fixed",t.style.top="0px",t.style.left="-10000px",document.body.appendChild(t),t.focus(),t.blur(),document.body.removeChild(t)}}function cg(t,r){for(var e=r;;){if(t===e)return!0;if(e.parentNode==null){if(e.host==null)return!1;e=e.host}else e=e.parentNode}}function zd(t){for(var r=t;;){if(r.parentNode==null)return r.host!=null?r:null;r=r.parentNode}}function hy(t){for(var r=t.ownerDocument,e=t;;){if(e.parentNode==null)return e===r||e.host!=null?e:null;e=e.parentNode}}function K4(t){return typeof t.composedPath=="function"?t.composedPath()[0]:t.target}function W4(t){ww(function(){try{var r=t.getBoundingClientRect(),e=r.left-Math.round(r.left),i=r.top-Math.round(r.top);e!==0&&Zp(function(){t.style.left=e+"px"}),i!==0&&Zp(function(){t.style.top=i+"px"})}catch{}})}var gc;function Y4(t){if(t==null){if(!O(gc)){var r=document.createElement("style");r.type="text/css",document.head.appendChild(r),gc=r.sheet}return gc}else{var r=document.createElement("style");return r.type="text/css",t.appendChild(r),r.sheet}}function G4(t,r){var e=t.cssRules.length;return t.insertRule(r+"{}",e),t.cssRules[e]}var qe=function(t){ee(r,t);function r(e,i,n){var s=this,a=Y4(e);return s=t.call(this,function(){var o=Gr(a.cssRules,s._rule);if(o===-1)throw new Error("Could not dispose StyleRule");a.deleteRule(o)})||this,s._rule=G4(a,i),Le(n,function(o,l){s.setStyle(o,l)}),s}return Object.defineProperty(r.prototype,"selector",{get:function(){return this._rule.selectorText},set:function(e){this._rule.selectorText=e},enumerable:!0,configurable:!0}),r.prototype._setVendorPrefixName=function(e,i){var n=this._rule.style;n.setProperty("-webkit-"+e,i,""),n.setProperty("-moz-"+e,i,""),n.setProperty("-ms-"+e,i,""),n.setProperty("-o-"+e,i,""),n.setProperty(e,i,"")},r.prototype.setStyle=function(e,i){e==="transition"?this._setVendorPrefixName(e,i):this._rule.style.setProperty(e,i,"")},r}(tr),Z4=0;(function(t){ee(r,t);function r(e,i,n){var s=this,a=O(n)?n:"__style_"+ ++Z4+"__";return s=t.call(this,e,"."+a,i)||this,s._className=a,s}return Object.defineProperty(r.prototype,"className",{get:function(){return this._className},set:function(e){this._className=e,this.selector="."+e},enumerable:!0,configurable:!0}),r.prototype.toString=function(){return this._className},r})(qe);function q4(t){if(document.readyState!=="loading")t();else{var r=function(){document.readyState!=="loading"&&(document.removeEventListener("readystatechange",r),t())};document.addEventListener("readystatechange",r)}}function vl(t){var r=Hd(t,"font-family");if(r)return r;var e=t.parentElement||t.parentNode;return e?vl(e):void 0}function ml(t){var r=Hd(t,"font-size");if(r)return r;var e=t.parentElement||t.parentNode;return e?ml(e):void 0}var Yl=function(){function t(r){this._isDisposed=!1,this._x=0,this._y=0,this._rotationY=0,this._rotationX=0,this._rotation=0,this._scale=1,typeof r=="string"?this.node=document.createElementNS(gl,r):this.node=r}return t.prototype.removeNode=function(){this.node&&this.node.parentNode&&this.node.parentNode.removeChild(this.node)},Object.defineProperty(t.prototype,"transformString",{get:function(){if(this.node)return this._transformString},enumerable:!0,configurable:!0}),t.prototype.transform=function(){var r="translate("+this._x+","+this._y+")";if(this._scale!=1&&(r+=(r?" ":"")+"scale("+this._scale+")"),this._rotation!=0){var e="rotate("+this._rotation+")";this._rotationX&&this._rotationY&&(e="rotate("+this._rotation+" "+this._rotationX+" "+this._rotationY+")"),r+=(r?" ":"")+e}this._transformString=r,this.node.setAttribute("transform",r)},t.prototype.getBBox=function(){var r={width:0,height:0,x:0,y:0};if(this.node&&this.node.parentNode)try{var e=this.node.getBBox();r.x=e.x,r.y=e.y,r.width=e.width,r.height=e.height}catch{}return r},t.prototype.moveTo=function(r){if(r){var e=r.x,i=r.y;(this._x!=e||this._y!=i)&&(this._x=e,this._y=i,this.transform())}},Object.defineProperty(t.prototype,"content",{get:function(){return this.node.innerHTML||""},set:function(r){this.node.innerHTML=r},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return this.node.textContent||""},set:function(r){this.node.textContent=r},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this._x},set:function(r){this._x!=r&&(this._x=r,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._y},set:function(r){this._y!=r&&(this._y=r,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rotation",{get:function(){return this._rotation},set:function(r){this._rotation!=r&&(this._rotation=r,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rotationX",{get:function(){return this._rotationX},set:function(r){this._rotationX!=r&&(this._rotationX=r,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rotationY",{get:function(){return this._rotationY},set:function(r){this._rotationY!=r&&(this._rotationY=r,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scale",{get:function(){return this._scale},set:function(r){this._scale!=r&&(this._scale=r,this.transform())},enumerable:!0,configurable:!0}),t.prototype.removeAttr=function(r){this.node.removeAttribute(r)},t.prototype.attr=function(r){var e=this;return Le(r,function(i,n){O(n)?e.node.setAttribute(i,n):e.node.removeAttribute(i)}),this},t.prototype.getAttr=function(r){return this.node.getAttribute(r)},t.prototype.attrNS=function(r,e,i){return this.node.setAttributeNS(r,e,i),this},t.prototype.getAttrNS=function(r,e){return this.node.getAttributeNS(r,e)},t.prototype.removeStyle=function(r){this.node.style[r]=null,delete this.node.style[r]},t.prototype.getStyle=function(r){return this.node.style[r]},t.prototype.addStyle=function(r){var e=this;return Le(r,function(i,n){O(n)?e.node.style[i]=n:e.removeStyle(i)}),this},t.prototype.addClass=function(r){Ih(this.node,r)},t.prototype.removeClass=function(r){Mh(this.node,r)},t.prototype.setClass=function(r){this.node.setAttribute("class",r)},t.prototype.removeChildNodes=function(){for(;this.node.childNodes.length>0;)this.node.removeChild(this.node.firstChild)},t.prototype.isDisposed=function(){return this._isDisposed},t.prototype.dispose=function(){this.removeNode()},t}(),Q4=function(t){ee(r,t);function r(e){return t.call(this,e)||this}return r.prototype.add=function(e){e&&this.node.appendChild(e.node)},r.prototype.addToBack=function(e){if(e){var i=this.node.childNodes[0];i?i!=e.node&&this.node.insertBefore(e.node,i):this.node.appendChild(e.node)}},r.prototype.removeElement=function(e){if(e)try{e.node&&e.node.parentNode==this.node&&this.node.removeChild(e.node)}catch{}},r.prototype.hasChild=function(e){for(var i=0;i0;){var e=this.node.firstChild;e&&e.parentNode&&e.parentNode.removeChild(e)}},r.prototype.removeChildrenByTag=function(e){if(this.node.childNodes)for(var i=this.node.getElementsByTagName(e),n=0;n-1&&(this.focusable=!0),Ae().processFocusable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"element",{get:function(){return this._element},set:function(e){this._element=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"originalPosition",{get:function(){return this._originalPosition||{x:0,y:0}},set:function(e){this._originalPosition=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"originalScale",{get:function(){return oc(this._originalScale,1)},set:function(e){this._originalScale!==e&&(this._originalScale=e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"originalAngle",{get:function(){return oc(this._originalAngle,0)},set:function(e){this._originalAngle!==e&&(this._originalAngle=e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"inertiaOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("inertiaOptions",this._inertiaOptions):this._inertiaOptions},set:function(e){this._inertiaOptions=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hitOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("hitOptions",this._hitOptions):this._hitOptions},set:function(e){this._hitOptions=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hoverOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("hoverOptions",this._hoverOptions):this._hoverOptions},set:function(e){this._hoverOptions=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"swipeOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("swipeOptions",this._swipeOptions):this._swipeOptions},set:function(e){this._swipeOptions=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"keyboardOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("keyboardOptions",this._keyboardOptions):this._keyboardOptions},set:function(e){this._keyboardOptions=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"mouseOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("mouseOptions",this._mouseOptions):this._mouseOptions},set:function(e){this._mouseOptions=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cursorOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("cursorOptions",this._cursorOptions):this._cursorOptions},set:function(e){this._cursorOptions=e},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.inertiaOptions=e.inertiaOptions,this.hitOptions=e.hitOptions,this.hoverOptions=e.hoverOptions,this.swipeOptions=e.swipeOptions,this.keyboardOptions=e.keyboardOptions,this.cursorOptions=e.cursorOptions,this.contextMenuDisabled=e.contextMenuDisabled,Ae().applyCursorOverStyle(this)},r.prototype.setEventDisposer=function(e,i,n){var s=this.eventDisposers.getKey(e);i?s==null&&this.eventDisposers.setKey(e,n()):s!=null&&(s.dispose(),this.eventDisposers.removeKey(e))},r.prototype.dispose=function(){t.prototype.dispose.call(this);var e=Ae();e.overObjects.removeValue(this),e.downObjects.removeValue(this),e.trackedObjects.removeValue(this),e.transformedObjects.removeValue(this),this.isHover&&this.wheelable&&e.unlockWheel(),e.focusedObject===this&&(e.focusedObject=void 0)},r}(vi),t3=function(){function t(r,e){this._disposed=!1,this.directionX=0,this.directionY=0,this.interaction=r,this.keyboardEvent=e,this._startedOn=new Date().getTime(),Ae().processDragStart(r),Re.animations.push(this),this.update()}return t.prototype.update=function(){var r=this.interaction,e=Ae().getKeyboardOption(r,"speed"),i=Ae().getKeyboardOption(r,"accelleration"),n=Ae().getKeyboardOption(r,"accellerationDelay"),s={x:0,y:0};this.keyboardEvent.shiftKey?(e*=.5,i=1):this.keyboardEvent.ctrlKey&&(e*=2);var a=new Date().getTime()-this._startedOn,o=a-n;if(i>0&&o>0){var l=a/n;a=n,s.x+=this.directionX*(e*i*l*o),s.y+=this.directionY*(e*i*l*o)}s.x+=this.directionX*(e*a),s.y+=this.directionY*(e*a),Ae().handleTransformMove(r,s,{x:0,y:0},this.keyboardEvent,!0,!1)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||(Ae().processDragStop(this.interaction),Be(Re.animations,this))},t}(),r3=function(t){ee(r,t);function r(e,i,n,s){var a=t.call(this)||this;return a.animations=[],a.className="Inertia",a.interaction=e,a.type=i,a.point=n,a.startPoint=s,a._disposers.push(new Is(a.animations)),a}return Object.defineProperty(r.prototype,"x",{get:function(){return this.point.x},set:function(e){x(e)&&(this.point.x=e,this.handleMove())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"y",{get:function(){return this.point.y},set:function(e){x(e)&&(this.point.y=e,this.handleMove())},enumerable:!0,configurable:!0}),r.prototype.handleMove=function(){if(this.interaction.events.isEnabled("drag")){var e={type:"drag",target:this.interaction,shift:{x:this.x-this.startPoint.x,y:this.y-this.startPoint.y},startPoint:this.startPoint,point:{x:this.x,y:this.y},touch:!1};this.interaction.events.dispatchImmediately("drag",e)}},r.prototype.done=function(){this.interaction.inertias.removeKey(this.type),this.type==="move"&&Ae().processDragStop(this.interaction),this.dispose()},r}(Qt),i3=function(){function t(){}return t.prototype.getEventKey=function(r){var e=r.keyCode||r.which,i;switch(e){case 38:i="up";break;case 40:i="down";break;case 37:i="left";break;case 39:i="right";break;case 13:i="enter";break;case 27:i="esc";break;case 36:i="home";break;case 35:i="end";break;case 9:i="tab";break;case 17:i="ctrl";break;case 18:i="alt";break;case 16:i="shift";break;case 32:i="space";break;case 36:i="home";break;case 35:i="end";break;case 33:i="pgup";break;case 34:i="pgdn";break;case 45:i="ins";break;case 46:i="del";break;case 107:i="plus";break;case 109:i="minus";break;default:i="other";break}return i},t.prototype.isKey=function(r,e){var i=this.getEventKey(r);return kt(e)&&(e=[e]),e.indexOf(i)!==-1},t.prototype.shiftKey=function(r){return r.shiftKey},t.prototype.ctrlKey=function(r){return r.ctrlKey},t.prototype.altKey=function(r){return r.altKey},t.prototype.metaKey=function(r){return r.metaKey},t}(),xi=new i3,n3={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6};function s3(t){switch(t){case"year":return;case"month":return"year";case"week":return"month";case"day":return"month";case"hour":return"day";case"minute":return"hour";case"second":return"minute";case"millisecond":return"second"}}function vc(t,r){return O(r)||(r=1),n3[t]*r}function a3(){return new Date}function ri(){return a3().getTime()}function lee(t){return new Date(t.getTime())}function o3(t,r,e,i){t=new Date(t.getTime()),r=new Date(r.getTime());var n=0,s=0;!i&&e!="millisecond"&&(n=t.getTimezoneOffset(),t.setUTCMinutes(t.getUTCMinutes()-n),s=r.getTimezoneOffset(),r.setUTCMinutes(r.getUTCMinutes()-s));var a=!1;switch(e){case"year":t.getUTCFullYear()!=r.getUTCFullYear()&&(a=!0);break;case"month":(t.getUTCFullYear()!=r.getUTCFullYear()||t.getUTCMonth()!=r.getUTCMonth())&&(a=!0);break;case"day":(t.getUTCMonth()!=r.getUTCMonth()||t.getUTCDate()!=r.getUTCDate())&&(a=!0);break;case"hour":t.getUTCHours()!=r.getUTCHours()&&(a=!0);break;case"minute":t.getUTCMinutes()!=r.getUTCMinutes()&&(a=!0);break;case"second":t.getUTCSeconds()!=r.getUTCSeconds()&&(a=!0);break;case"millisecond":t.getTime()!=r.getTime()&&(a=!0);break}if(a)return!0;var o=s3(e);return o?(t.setUTCMinutes(t.getUTCMinutes()+n),r.setUTCMinutes(r.getUTCMinutes()+s),o3(t,r,o,i)):!1}function uee(t,r,e,i){var n=0;switch(!i&&r!="millisecond"&&(n=t.getTimezoneOffset(),t.setUTCMinutes(t.getUTCMinutes()-n)),r){case"day":var s=t.getUTCDate();t.setUTCDate(s+e);break;case"second":var a=t.getUTCSeconds();t.setUTCSeconds(a+e);break;case"millisecond":var o=t.getUTCMilliseconds();t.setUTCMilliseconds(o+e);break;case"hour":var l=t.getUTCHours();t.setUTCHours(l+e);break;case"minute":var u=t.getUTCMinutes();t.setUTCMinutes(u+e);break;case"year":var c=t.getUTCFullYear();t.setUTCFullYear(c+e);break;case"month":var h=t.getUTCMonth();t.setUTCMonth(h+e);break;case"week":var d=t.getUTCDate();t.setUTCDate(d+e*7);break}if(!i&&r!="millisecond"&&(t.setUTCMinutes(t.getUTCMinutes()+n),r=="day"||r=="week"||r=="month"||r=="year")){var f=t.getTimezoneOffset();if(f!=n){var p=f-n;t.setUTCMinutes(t.getUTCMinutes()+p),t.getTimezoneOffset()!=f&&t.setUTCMinutes(t.getUTCMinutes()-p)}}return t}function l3(t,r,e,i,n,s,a,o){a===void 0&&(a=0),x(e)||(e=1);var l=0;switch(o&&["day","month","week","year"].indexOf(r)!=-1&&(t=Ud(t,o)),!n&&r!="millisecond"&&(l=t.getTimezoneOffset(),t.setUTCMinutes(t.getUTCMinutes()-l)),r){case"day":var u=t.getUTCDate();if(e>1){if(s){s=l3(s,"day",1);var c=t.getTime()-s.getTime(),h=Math.floor(c/vc("day")/e),d=vc("day",h*e);t.setTime(s.getTime()+d-l*vc("minute"))}}else t.setUTCDate(u);t.setUTCHours(0,0,0,0);break;case"second":var f=t.getUTCSeconds();e>1&&(f=Math.floor(f/e)*e),t.setUTCSeconds(f,0);break;case"millisecond":if(e==1)return t;var p=t.getUTCMilliseconds();p=Math.floor(p/e)*e,t.setUTCMilliseconds(p);break;case"hour":var g=t.getUTCHours();e>1&&(g=Math.floor(g/e)*e),t.setUTCHours(g,a,0,0);break;case"minute":var v=t.getUTCMinutes();p=t.getUTCMilliseconds(),e>1&&(v=Math.floor(v/e)*e),t.setUTCMinutes(v,0,0);break;case"month":var y=t.getUTCMonth();e>1&&(y=Math.floor(y/e)*e),t.setUTCMonth(y,1),t.setUTCHours(0,a,0,0);break;case"year":var m=t.getUTCFullYear();e>1&&(m=Math.floor(m/e)*e),t.setUTCFullYear(m,0,1),t.setUTCHours(0,a,0,0);break;case"week":var w=t.getUTCDate(),C=t.getUTCDay();x(i)||(i=1),C>=i?w=w-C+i:w=w-(7+C)+i,t.setUTCDate(w),t.setUTCHours(0,a,0,0);break}if(!n&&r!="millisecond"&&(t.setUTCMinutes(t.getUTCMinutes()+l),r=="day"||r=="week"||r=="month"||r=="year")){var P=t.getTimezoneOffset();if(P!=l){var T=P-l;t.setUTCMinutes(t.getUTCMinutes()+T)}}return t}function Ud(t,r){var e=new Date(t.toLocaleString("en-US",{timeZone:r}));return e}function u3(t){var r=new Date;r.setHours(0,0,0,0);var e=Ud(r,t);return e.getMinutes()}var c3=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e._globalEventsAdded=!1,e._pointerEvents={pointerdown:"mousedown",pointerup:"mouseup",pointermove:"mousemove",pointercancel:"mouseup",pointerover:"mouseover",pointerout:"mouseout",wheel:"wheel"},e._usePointerEventsOnly=!1,e._useTouchEventsOnly=!1,e._addHoverEvents=!0,e._passiveSupported=!1,e._delayedEvents={out:[]},e.overObjects=new vt,e.downObjects=new vt,e.trackedObjects=new vt,e.transformedObjects=new vt,e.pointers=new $t,e.inertiaOptions=new $t,e.hitOptions={doubleHitTime:300,hitTolerance:10,noFocus:!0},e.hoverOptions={touchOutBehavior:"leave",touchOutDelay:1e3},e.swipeOptions={time:500,verticalThreshold:75,horizontalThreshold:30},e.keyboardOptions={speed:.1,accelleration:1.2,accellerationDelay:2e3},e.mouseOptions={sensitivity:1},e.className="Interaction",e.body=e.getInteraction(document.body),e._disposers.push(e.body),window.hasOwnProperty("PointerEvent")?(e._pointerEvents.pointerdown="pointerdown",e._pointerEvents.pointerup="pointerup",e._pointerEvents.pointermove="pointermove",e._pointerEvents.pointercancel="pointercancel",e._pointerEvents.pointerover="pointerover",e._pointerEvents.pointerout="pointerout"):window.hasOwnProperty("MSPointerEvent")?(e._pointerEvents.pointerdown="MSPointerDown",e._pointerEvents.pointerup="MSPointerUp",e._pointerEvents.pointermove="MSPointerMove",e._pointerEvents.pointercancel="MSPointerUp",e._pointerEvents.pointerover="MSPointerOver",e._pointerEvents.pointerout="MSPointerOut"):typeof matchMedia<"u"&&matchMedia("(pointer:fine)").matches?"ontouchstart"in window&&(e._addHoverEvents=!1,e._useTouchEventsOnly=!0):window.navigator.userAgent.match(/MSIE /)||e.fullFF()?e._usePointerEventsOnly=!0:e._useTouchEventsOnly=!0,"onwheel"in document.createElement("div")?e._pointerEvents.wheel="wheel":O(document.onmousewheel)&&(e._pointerEvents.wheel="mousewheel"),e.inertiaOptions.setKey("move",{time:100,duration:500,factor:1,easing:xh}),e.inertiaOptions.setKey("resize",{time:100,duration:500,factor:1,easing:xh}),e._passiveSupported=r.passiveSupported,e.applyTheme(),e}return r.prototype.fullFF=function(){return window.navigator.userAgent.match(/Firefox/)&&!window.navigator.userAgent.match(/Android/)},r.prototype.debug=function(){},r.prototype.addGlobalEvents=function(){var e=this;this._globalEventsAdded||(this._useTouchEventsOnly||(this._disposers.push(Tt(document,this._pointerEvents.pointerdown,function(i){e.handleGlobalPointerDown(i)})),this._disposers.push(Tt(document,this._pointerEvents.pointermove,function(i){e.handleGlobalPointerMove(i)})),this._disposers.push(Tt(document,this._pointerEvents.pointerup,function(i){e.handleGlobalPointerUp(i)})),this._disposers.push(Tt(document,this._pointerEvents.pointercancel,function(i){e.handleGlobalPointerUp(i,!0)})),this._disposers.push(Tt(document,"mouseenter",function(i){!O(i.relatedTarget)&&(i.buttons==0||i.which==0)&&e.handleDocumentLeave(i)}))),this._usePointerEventsOnly||(this._disposers.push(Tt(document,"touchstart",function(i){e.handleGlobalTouchStart(i)})),this._disposers.push(Tt(document,"touchmove",function(i){e.handleGlobalTouchMove(i)})),this._disposers.push(Tt(document,"touchend",function(i){e.handleGlobalTouchEnd(i)}))),this._disposers.push(Tt(document,"keydown",function(i){e.handleGlobalKeyDown(i)})),this._disposers.push(Tt(document,"keyup",function(i){e.handleGlobalKeyUp(i)})),this._globalEventsAdded=!0)},r.prototype.processClickable=function(e){this.processTouchable(e)},r.prototype.processContextMenu=function(e){e.contextMenuDisabled?e.eventDisposers.hasKey("contextMenuDisabled")||e.eventDisposers.setKey("contextMenuDisabled",Tt(e.element,"contextmenu",function(i){i.preventDefault()})):e.eventDisposers.hasKey("contextMenuDisabled")&&e.eventDisposers.getKey("contextMenuDisabled").dispose()},r.prototype.processHoverable=function(e){var i=this;if(e.hoverable||e.trackable)this.addGlobalEvents(),this.applyCursorOverStyle(e),!e.eventDisposers.hasKey("hoverable")&&this._addHoverEvents&&e.eventDisposers.setKey("hoverable",new Mt([Tt(e.element,this._pointerEvents.pointerout,function(s){return i.handlePointerOut(e,s)}),Tt(e.element,this._pointerEvents.pointerover,function(s){return i.handlePointerOver(e,s)})])),e.trackable;else{var n=e.eventDisposers.getKey("hoverable");n!=null&&(n.dispose(),e.eventDisposers.removeKey("hoverable"))}this.processTouchable(e)},r.prototype.processMovable=function(e){(e.draggable||e.swipeable||e.trackable||e.resizable)&&(!this.isGlobalElement(e)&&!e.isTouchProtected&&this.prepElement(e),this.applyCursorOverStyle(e)),this.processTouchable(e)},r.prototype.processTrackable=function(e){this.processHoverable(e),this.processMovable(e),e.trackable?this.trackedObjects.moveValue(e):this.trackedObjects.removeValue(e)},r.prototype.processDraggable=function(e){this.processMovable(e)},r.prototype.processSwipeable=function(e){this.processMovable(e)},r.prototype.processResizable=function(e){this.processMovable(e)},r.prototype.processWheelable=function(e){var i=this;if(e.wheelable)e.eventDisposers.hasKey("wheelable")||e.eventDisposers.setKey("wheelable",new Mt([Tt(e.element,this._pointerEvents.wheel,function(s){return i.handleMouseWheel(e,s)},this._passiveSupported?{passive:!1}:!1),e.events.on("out",function(s){e.wheelable&&i.unlockWheel()}),e.events.on("over",function(s){e.wheelable&&i.lockWheel()})]));else{var n=e.eventDisposers.getKey("wheelable");n!=null&&(n.dispose(),e.eventDisposers.removeKey("wheelable"))}},r.prototype.processFocusable=function(e){var i=this;if(e.focusable===!0&&e.tabindex>-1&&!this._useTouchEventsOnly)e.eventDisposers.hasKey("focusable")||e.eventDisposers.setKey("focusable",new Mt([Tt(e.element,"focus",function(s){return i.handleFocus(e,s)}),Tt(e.element,"blur",function(s){return i.handleBlur(e,s)}),Tt(e.element,this._pointerEvents.pointerdown,function(s){return i.handleFocusBlur(e,s)}),Tt(e.element,"touchstart",function(s){return i.handleFocusBlur(e,s)},this._passiveSupported?{passive:!1}:!1)]));else{var n=e.eventDisposers.getKey("focusable");n!=null&&(n.dispose(),e.eventDisposers.removeKey("focusable"))}},r.prototype.processTouchable=function(e){var i=this;if(e.clickable||e.hoverable||e.trackable||e.draggable||e.swipeable||e.resizable)this.addGlobalEvents(),e.eventDisposers.hasKey("touchable")||(!this._useTouchEventsOnly&&!this._usePointerEventsOnly?e.eventDisposers.setKey("touchable",new Mt([Tt(e.element,this._pointerEvents.pointerdown,function(s){return i.handlePointerDown(e,s)}),Tt(e.element,"touchstart",function(s){return i.handleTouchDown(e,s)},this._passiveSupported?{passive:!1}:!1)])):this._useTouchEventsOnly?this._usePointerEventsOnly||e.eventDisposers.setKey("touchable",Tt(e.element,"touchstart",function(s){return i.handleTouchDown(e,s)},this._passiveSupported?{passive:!1}:!1)):e.eventDisposers.setKey("touchable",Tt(e.element,this._pointerEvents.pointerdown,function(s){return i.handlePointerDown(e,s)})));else{var n=e.eventDisposers.getKey("touchable");n!=null&&(n.dispose(),e.eventDisposers.removeKey("touchable"))}},r.prototype.handleFocus=function(e,i){if(!e.focusable){i.preventDefault();return}if(e.isFocused=!0,e.events.isEnabled("focus")&&!Re.isPaused){var n={type:"focus",target:e,event:i};e.events.dispatchImmediately("focus",n)}},r.prototype.handleFocusBlur=function(e,i){e.focusable!==!1&&this.getHitOption(e,"noFocus")&&e.events.once("focus",function(){e.events.disableType("blur"),pc(),e.sprite&&e.sprite.handleBlur(),e.events.enableType("blur")})},r.prototype.handleBlur=function(e,i){if(!e.focusable){i.preventDefault();return}if(e.isFocused=!1,e.events.isEnabled("blur")&&!Re.isPaused){var n={type:"blur",target:e,event:i};e.events.dispatchImmediately("blur",n)}},r.prototype.handleGlobalKeyDown=function(e){if(this.focusedObject){if(xi.isKey(e,"esc"))pc();else if(this.focusedObject.draggable&&xi.isKey(e,["up","down","left","right"])){e.preventDefault();var i=this.focusedObject,n="interactionKeyboardObject";if(i.eventDisposers.hasKey(n))return;var s=new t3(i,e);switch(i.eventDisposers.setKey(n,s),xi.getEventKey(e)){case"up":s.directionY=-1;break;case"down":s.directionY=1;break;case"left":s.directionX=-1;break;case"right":s.directionX=1;break}}}},r.prototype.handleGlobalKeyUp=function(e){var i="interactionKeyboardObject";if(this.focusedObject){var n=this.focusedObject.eventDisposers.getKey(i);n!=null&&(e.preventDefault(),n.dispose(),this.focusedObject.eventDisposers.removeKey(i));var s=this.focusedObject.sprite;xi.isKey(e,"enter")&&s&&(s.events.isEnabled("hit")||s.events.isEnabled("toggled")?this.focusedObject.dispatchImmediately("hit"):s.showTooltipOn=="hit"&&this.focusedObject.dispatchImmediately("up"))}},r.prototype.handleGlobalPointerMove=function(e){var i=this.getPointer(e);if(i.point=this.getPointerPoint(e),this.events.isEnabled("track")&&!Re.isPaused){var n={type:"track",target:this,event:e,pointer:i,touch:i.touch};this.events.dispatchImmediately("track",n)}this.addBreadCrumb(i,i.point),this.handleGlobalMove(i,e)},r.prototype.handleGlobalPointerDown=function(e){this.processDelayed();var i=this.getPointer(e);if(this.events.isEnabled("down")&&!Re.isPaused){var n={type:"down",target:this,event:e,pointer:i,touch:i.touch};this.events.dispatchImmediately("down",n)}},r.prototype.preventTouchAction=function(e){e.defaultPrevented||e.preventDefault()},r.prototype.handleGlobalPointerUp=function(e,i){i===void 0&&(i=!1);var n=this.getPointer(e);if(this.events.isEnabled("up")&&!Re.isPaused){var s={type:"up",target:this,event:e,pointer:n,touch:n.touch};this.events.dispatchImmediately("up",s)}this.handleGlobalUp(n,e,i)},r.prototype.handleGlobalTouchMove=function(e){for(var i=0;i=s-this.getHitOption(e,"doubleHitTime")){if(s-e.lastHit<100)return;if(e.lastHit=void 0,e.lastHitPointer=void 0,e.events.isEnabled("doublehit")&&!Re.isPaused){var a={type:"doublehit",target:e,point:i.point,event:n,touch:i.touch};e.events.dispatchImmediately("doublehit",a)}}else if(e.lastHit=s,e.lastHitPointer=i,i.button===3){if(e.events.isEnabled("rightclick")&&!Re.isPaused){var a={type:"rightclick",target:e,event:n};e.events.dispatchImmediately("rightclick",a)}}else if(e.events.isEnabled("hit")&&!Re.isPaused){var a={type:"hit",target:e,event:n,point:i.point,touch:i.touch};e.events.dispatchImmediately("hit",a)}},r.prototype.handleOver=function(e,i,n,s){if(!!e.hoverable){var a=!1;if(this.shouldCancelHovers(i)&&this.areTransformed()&&this.moved(i,this.getHitOption(e,"hitTolerance"))&&(a=!0,this.cancelAllHovers(n)),this.processDelayed(),e.overPointers.moveValue(i),!e.isRealHover&&(a||(e.isHover=!0,e.isRealHover=!0,this.overObjects.moveValue(e)),this.handleTrack(this.body,i,n,!0),e.events.isEnabled("over")&&!Re.isPaused&&!a)){var o={type:"over",target:e,event:n,pointer:i,touch:i.touch};e.events.dispatchImmediately("over",o)}}},r.prototype.handleOut=function(e,i,n,s,a){var o=this;if(s===void 0&&(s=!1),a===void 0&&(a=!1),!!e.hoverable&&(e.overPointers.removeValue(i),e.isHover&&(!e.hasDelayedOut||a))){if(s&&e.overPointers.length)return;if(i&&i.touch&&!a&&!this.old(i)){var l=this.getHoverOption(e,"touchOutBehavior");if(l=="leave"){this._delayedEvents.out.push({type:"out",io:e,pointer:i,event:n,keepUntil:ri()+500}),e.hasDelayedOut=!0;return}else if(l=="delay"&&this.getHoverOption(e,"touchOutDelay")){this._delayedEvents.out.push({type:"out",io:e,pointer:i,event:n,keepUntil:ri()+500,timeout:this.setTimeout(function(){o.handleOut(e,i,n,!0)},this.getHoverOption(e,"touchOutDelay"))});return}}if(e.isHover=!1,this.overObjects.removeValue(e),!e.isDisposed()&&e.events.isEnabled("out")&&!Re.isPaused){var u={type:"out",target:e,event:n,pointer:i,touch:i.touch};e.events.dispatchImmediately("out",u)}e.overPointers.clear(),e.hasDelayedOut=!1}},r.prototype.processDelayed=function(){for(var e;e=this._delayedEvents.out.pop(),!!e;)e.timeout&&e.timeout.dispose(),this.handleOut(e.io,e.pointer,e.event,!1,!0)},r.prototype.handleDown=function(e,i,n){if(this.maybePreventDefault(e,n,i),e.inert&&this.stopInertia(e),this.handleOver(e,i,n,!0),e.downPointers.moveValue(i),this.applyCursorDownStyle(e,i),e.isDown||(e.focusable!==!1&&this.getHitOption(e,"noFocus")&&this.focusedObject&&pc(),e.isDown=!0,this.downObjects.moveValue(e),e.draggable&&this.processDragStart(e,i,n),e.resizable&&this.processResizeStart(e,i,n)),e.events.isEnabled("down")&&!Re.isPaused){var s={type:"down",target:e,event:n,pointer:i,touch:i.touch};e.events.dispatchImmediately("down",s)}},r.prototype.handleGlobalUp=function(e,i,n){var s=this;n===void 0&&(n=!1);var a=this.downObjects.values.slice();a.sort(function(o,l){if(o&&l){var u=o.element.compareDocumentPosition(l.element);return u&Node.DOCUMENT_POSITION_CONTAINED_BY?1:u&Node.DOCUMENT_POSITION_CONTAINS?-1:0}else return 0}),ye(a,function(o){o&&o.downPointers.contains(e)&&s.handleUp(o,e,i,n)})},r.prototype.handleDocumentLeave=function(e){var i=this;Ve(this.downObjects.backwards().iterator(),function(n){n.downPointers.each(function(s){i.handleUp(n,s,e)})})},r.prototype.handleUp=function(e,i,n,s){if(s===void 0&&(s=!1),this.restoreCursorDownStyle(e,i),e.downPointers.removeValue(i),(i.touch||this._useTouchEventsOnly)&&this.handleOut(e,i,n,!0),e.isDown){if(e.downPointers.length==0&&(e.isDown=!1,this.downObjects.removeValue(e)),e.events.isEnabled("up")&&!Re.isPaused){var a={type:"up",target:e,event:n,pointer:i,touch:i.touch};e.events.dispatchImmediately("up",a)}s||(e.swipeable&&this.swiped(e,i)?this.handleSwipe(e,i,n):(e.clickable&&!this.moved(i,this.getHitOption(e,"hitTolerance"))&&this.handleHit(e,i,n),e.inert&&this.moved(i,this.getHitOption(e,"hitTolerance"))?this.handleInertia(e,i):e.draggable&&this.processDragStop(e,i,n),e.resizable&&this.processResizeStop(e,i,n)))}},r.prototype.maybePreventDefault=function(e,i,n){O(i)&&(e.draggable||e.swipeable||e.trackable||e.resizable)&&!this.isGlobalElement(e)&&i.cancelable!==!1&&(!e.isTouchProtected||!n||!n.touch)&&i.preventDefault()},r.prototype.cancelAllHovers=function(e){var i=this;Ve(this.overObjects.backwards().iterator(),function(n){if(n){var s=n.overPointers.getIndex(0);i.handleOut(n,s,e,!0,!0)}})},r.prototype.shouldCancelHovers=function(e){return Dr.disableHoverOnTransform=="touch"},r.prototype.handleGlobalMove=function(e,i){var n=this;if(!e.touch){var s=K4(e.lastEvent);Ve(this.overObjects.backwards().iterator(),function(a){if(a&&a.overPointers.contains(e)&&a.hoverable){var o=!1;a.element&&e.lastEvent&&cg(a.element,s)||(o=!0),o&&n.handleOut(a,e,i,!0)}})}Ve(this.transformedObjects.backwards().iterator(),function(a){a.downPointers.contains(e)&&!(a.swipeable&&n.swiping(a,e))&&(a.draggable||a.resizable)&&n.handleTransform(a,i)}),Ve(this.trackedObjects.backwards().iterator(),function(a){a.overPointers.contains(e)||n.handleTrack(a,e,i)})},r.prototype.handleTrack=function(e,i,n,s){if(s===void 0&&(s=!1),!(!s&&!this.moved(i,0))&&e.events.isEnabled("track")&&!Re.isPaused){var a={type:"track",target:e,event:n,point:i.point,pointer:i,touch:i.touch};e.events.dispatchImmediately("track",a)}},r.prototype.handleSwipe=function(e,i,n){if(e.events.isEnabled("swipe")&&!Re.isPaused){var s={type:"swipe",target:e,event:n,touch:i.touch};e.events.dispatchImmediately("swipe",s)}if(i.startPoint.x0?e.events.isEnabled("swiperight")&&!Re.isPaused&&e.events.dispatchImmediately("wheelright",{type:"wheelright",target:e,event:a,point:i.point,shift:o}):s<0?e.events.isEnabled("wheelup")&&!Re.isPaused&&e.events.dispatchImmediately("wheelup",{type:"wheelup",target:e,event:a,point:i.point,shift:o}):s>0&&e.events.isEnabled("wheeldown")&&!Re.isPaused&&e.events.dispatchImmediately("wheeldown",{type:"wheeldown",target:e,event:a,point:i.point,shift:o})},r.prototype.handleInertia=function(e,i){e.draggable&&e.downPointers.length===0&&this.handleMoveInertia(e,i),e.resizable&&e.downPointers.length>1&&this.handleResizeInertia(e,i)},r.prototype.handleMoveInertia=function(e,i){var n=e,s="move",a={x:i.point.x,y:i.point.y},o={x:i.startPoint.x,y:i.startPoint.y},l=new r3(n,s,a,o),u=this.getTrailPoint(i,ri()-this.getInertiaOption(e,"move","time"));if(typeof u>"u"){this.processDragStop(e,i,i.lastUpEvent);return}var c=this.getInertiaOption(e,"move","factor"),h=[{to:i.point.x+(i.point.x-u.point.x)*c,property:"x"},{to:i.point.y+(i.point.y-u.point.y)*c,property:"y"}],d=new ui(l,h,this.getInertiaOption(e,"move","duration"),this.getInertiaOption(e,"move","easing")).start();this._disposers.push(d.events.on("animationended",function(f){l.done()})),e.inertias.setKey("move",l)},r.prototype.handleResizeInertia=function(e,i){},r.prototype.handleTransform=function(e,i){var n=e.downPointers.getIndex(0),s=null,a=null;n&&(s=n.point,a=n.startPoint);var o,l,u;l={x:e.originalPosition.x,y:e.originalPosition.y},u=l;for(var c=!0,h=1;h"u"&&(n=this.hitOptions[i]),n},r.prototype.getHoverOption=function(e,i){var n=e.hoverOptions[i];return typeof n>"u"&&(n=this.hoverOptions[i]),n},r.prototype.getSwipeOption=function(e,i){var n=e.swipeOptions[i];return typeof n>"u"&&(n=this.swipeOptions[i]),n},r.prototype.getKeyboardOption=function(e,i){var n=e.keyboardOptions[i];return typeof n>"u"&&(n=this.keyboardOptions[i]),n},r.prototype.getMouseOption=function(e,i){var n=e.mouseOptions[i];return typeof n>"u"&&(n=this.mouseOptions[i]),n},r.prototype.getInertiaOption=function(e,i,n){var s=e.inertiaOptions.getKey(i),a;return s&&O(s[n])?a=s[n]:a=this.inertiaOptions.getKey(i)[n],a},r.prototype.stopInertia=function(e){for(var i,n=["move","resize"],s=0;sn-this.getSwipeOption(e,"time")},r.prototype.swiped=function(e,i){var n=ri();return i.swipeCanceled?!1:Math.abs(i.startPoint.x-i.point.x)>this.getSwipeOption(e,"horizontalThreshold")&&Math.abs(i.startPoint.y-i.point.y)n-this.getSwipeOption(e,"time")},r.prototype.applyCursorOverStyle=function(e){var i=e.cursorOptions;if(!!O(i.overStyle))for(var n=0;ni||Math.abs(s.y)>i},r.prototype.old=function(e,i){return i===void 0&&(i=300),ri()-e.startTime>i},r.prototype.getShift=function(e){return{x:e.startPoint.x-e.point.x,y:e.startPoint.y-e.point.y}},r.prototype.getTrailPoint=function(e,i){for(var n,s=0;s=i){n=e.track[s];break}return n},r.prototype.pointerExists=function(e,i){var n=!1;return e.each(function(s){s!=i&&(n=s.point.x==i.point.x&&s.point.y==i.point.y)}),n},r.prototype.getInteraction=function(e){return new e3(e)},r.prototype.setTemporaryStyle=function(e,i,n){var s=e.element;O(s.style[i])&&!e.replacedStyles.hasKey(i)&&e.replacedStyles.setKey(i,s.style[i]),ug(s,i,n)},r.prototype.restoreStyle=function(e,i){e.replacedStyles.hasKey(i)?(e.element.style[i]=e.replacedStyles.getKey(i),e.replacedStyles.removeKey(i)):delete e.element.style[i]},r.prototype.restoreAllStyles=function(e){Ve(e.replacedStyles.iterator(),function(i){var n=i[0],s=i[1];e.element.style[n]=s,e.replacedStyles.removeKey(n)})},r.prototype.dispose=function(){this.isDisposed()||(t.prototype.dispose.call(this),this.restoreAllStyles(this.body),this.unlockWheel())},r.prototype.log=function(e,i,n){{if(i.changedTouches){for(var s=0;s0},r.prototype.logTouch=function(e,i,n){console.log(e+" "+i+" touch "+n.identifier)},Object.defineProperty(r,"passiveSupported",{get:function(){var e=this;if(this._passiveSupported==null)try{var i=Object.defineProperty({},"passive",{get:function(){e._passiveSupported=!0}});window.addEventListener("test",i,i),window.removeEventListener("test",i,i)}catch{this._passiveSupported=!1}return this._passiveSupported},enumerable:!0,configurable:!0}),r}(vi),mc=null;function Ae(){return mc==null&&(mc=new c3),mc}var dy=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.adapter=new gr(e),e._elements={},e._IOs={},e._content="",e._title="",e._classPrefix="ampopup",e._defaultStyles=!0,e._showCurtain=!1,e._draggable=!0,e._align="center",e._dynamicResize=!0,e._verticalAlign="middle",e._shift={x:0,y:0},e._tempShift={x:0,y:0},e._readerTitle="",e._closable=!0,e._cssLoaded=!1,e._fitTo="window",e.isTemplate=!1,e._sized=!1,e.className="Popup",e}return r.prototype.open=function(){this.container&&(this._elements.wrapper&&this.container.appendChild(this._elements.wrapper),this._elements.curtain&&(this.container.appendChild(this._elements.curtain),this.showCurtain=this.showCurtain),this.positionElement(),this.dispatchImmediately("opened"))},r.prototype.close=function(){this._elements.wrapper&&this._elements.wrapper.parentElement&&this._elements.wrapper.parentElement.removeChild(this._elements.wrapper),this._elements.curtain&&this._elements.curtain.parentElement&&this._elements.curtain.parentElement.removeChild(this._elements.curtain),this.dispatchImmediately("closed"),this.releasePointers()},r.prototype.dispose=function(){this.close(),t.prototype.dispose.call(this)},r.prototype.positionElement=function(e){var i=this;e===void 0&&(e=!0),this._elements.wrapper&&setTimeout(function(){if(!!i._elements.wrapper){if(e||!i._sized){i._elements.wrapper.style.opacity="0.01",i._elements.wrapper.style.left="0",i._elements.wrapper.style.top="0",i._elements.wrapper.style.margin="0 0 0 0",i._elements.wrapper.style.width="",i._elements.wrapper.style.height="";var n=i._elements.wrapper.getBoundingClientRect();i._elements.wrapper.style.width=n.width+"px",i._elements.wrapper.style.height=n.height+"px",i._sized=!0}if(i.dynamicResize)for(var s=i._elements.wrapper.getElementsByTagName("img"),a=0;an+t.delay)&&(n=o,ye(i._targets,function(l){var u=l.target.getBoundingClientRect();(u.width!==l.size.width||u.height!==l.size.height)&&(l.size=u,l.callback())})),i._timer=requestAnimationFrame(s)};this._timer=requestAnimationFrame(s)}var a=r.getBoundingClientRect();this._targets.push({target:r,callback:e,size:a})},t.prototype.removeTarget=function(r){z0(this._targets,function(e){return e.target!==r}),this._targets.length===0&&cancelAnimationFrame(this._timer)},t.delay=200,t}(),No=null;function p3(){return No===null&&(typeof ResizeObserver<"u"?No=new d3:No=new f3),No}var g3=function(){function t(r,e){this._disposed=!1,this._sensor=p3(),this._element=r,this._sensor.addTarget(r,e)}return t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||(this._disposed=!0,this._sensor.removeTarget(this._element))},Object.defineProperty(t.prototype,"sensor",{get:function(){return this._sensor},enumerable:!0,configurable:!0}),t.prototype.reset=function(){Kd("resizeSensor.reset() is no longer needed and can be removed")},t}(),Ah=[],py=function(){function t(r,e){var i=this;this._disposed=!1,this.autoResize=!0,this.nonExportableSprites=[],this._disposers=[],this.cssScale=1,this._printing=!1,this.htmlElement=r,e||(this._printing=!1,this.initSensor(),this._disposers.push(Tt(window,"beforeprint",function(){i._printing=!0})),this._disposers.push(Tt(window,"afterprint",function(){i._printing=!1}))),Ah.push(this);var n=document.createElement("div"),s=n.style;s.width="100%",s.height="100%",s.position="relative",r.appendChild(n),this.SVGContainer=n}return t.prototype.initSensor=function(){var r=this;this.resizeSensor&&this.resizeSensor.dispose();var e=function(){r.autoResize&&!r._printing&&r.measure()};this.resizeSensor=new g3(this.htmlElement,e),this._disposers.push(this.resizeSensor)},t.prototype.measure=function(){var r=l4(this.htmlElement),e=u4(this.htmlElement),i=this.container;i&&((this.width!=r||this.height!=e)&&(this.width=r,this.height=e,r>0&&(i.maxWidth=r),e>0&&(i.maxHeight=e),W4(this.SVGContainer)),i.maxWidth||(i.maxWidth=0),i.maxHeight||(i.maxHeight=0),this.cssScale=1,this.checkTransform(this.htmlElement))},Object.defineProperty(t.prototype,"container",{get:function(){return this._container},set:function(r){this._container=r,this.measure()},enumerable:!0,configurable:!0}),t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||Be(Ah,this),ye(this._disposers,function(r){r.dispose()})},Object.defineProperty(t.prototype,"hideOverflow",{set:function(r){r?this.SVGContainer.style.overflow="hidden":this.SVGContainer.style.overflow=""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"modal",{get:function(){return O(this._modal)||(this._modal=new fy,this._modal.container=this.SVGContainer,this._disposers.push(this._modal)),this._modal},enumerable:!0,configurable:!0}),t.prototype.openModal=function(r,e){this.closeModal();var i=this.modal;return i.content=r,i.readerTitle=e||"",i.title=e||"",i.open(),i},t.prototype.closeModal=function(){this._modal&&this.modal.close()},Object.defineProperty(t.prototype,"popups",{get:function(){if(!O(this._popups)){var r=new dy;r.container=this.SVGContainer,this._popups=new cl(r),this._disposers.push(new An(this._popups)),this._disposers.push(this._popups.template)}return this._popups},enumerable:!0,configurable:!0}),t.prototype.openPopup=function(r,e){var i=this.popups.create();return i.content=r,O(e)&&(i.title=e),i.open(),i},t.prototype.closeAllPopups=function(){this.popups.each(function(r){r.close()})},Object.defineProperty(t.prototype,"readerAlertElement",{get:function(){if(!O(this._readerAlertElement)){var r=document.createElement("div");r.setAttribute("role","alert"),r.style.zIndex="-100000",r.style.opacity="0",r.style.position="absolute",r.style.top="0",this.SVGContainer.appendChild(r),this._readerAlertElement=r}return this._readerAlertElement},enumerable:!0,configurable:!0}),t.prototype.readerAlert=function(r){this.readerAlertElement.innerHTML=r},t.prototype.checkTransform=function(r){if(window.getComputedStyle){if(r&&r.style){var e=window.getComputedStyle(r,null);if(e){var i=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("-moz-transform")||e.getPropertyValue("-ms-transform")||e.getPropertyValue("-o-transform")||e.getPropertyValue("transform");if(i&&i!=="none"){var n=i.split("(")[1].split(")")[0].split(","),s=Number(n[0]),a=Number(n[1]),o=Math.sqrt(s*s+a*a);isNaN(o)||(this.cssScale*=o)}}}r.parentNode&&r.parentNode instanceof HTMLElement&&this.checkTransform(r.parentNode)}},t}(),gy=function(){function t(r,e){this.container=r,this.id=e;var i=document.createElementNS(gl,"svg");i.setAttribute("version","1.1"),i.setAttributeNS(lg,"xmlns",gl),i.setAttributeNS(lg,"xmlns:xlink",jd),i.setAttribute("role","group"),this.container.appendChild(i),this.defs=document.createElementNS(gl,"defs"),i.appendChild(this.defs),i.style.width="100%",i.style.height="100%",i.style.overflow="visible",this.svg=i}return t.prototype.add=function(r){return new Yl(r)},t.prototype.addGroup=function(r){return new Q4(r)},t.prototype.append=function(r){r&&this.svg.appendChild(r.node)},t.prototype.appendDef=function(r){r&&this.defs.appendChild(r.node)},t.prototype.foreignObject=function(){var r=new Yl("foreignObject");return r},t.prototype.supportsForeignObject=function(){return document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Extensibility","1.1")},t}(),yc=null;function go(){if(yc===null){var t=document.createElement("div");t.hidden=!0,t.style.width="1px",t.style.height="1px",t.style.position="absolute",t.style.zIndex="-1000000",document.body.appendChild(t);var r=new py(t,!0);yc=new gy(r.SVGContainer,"ghost")}return yc}var ms=function(t){ee(r,t);function r(){var e=t.call(this)||this;e._elements=new vt,e.properties={},e.className="Pattern",e.width=10,e.height=10,e.x=0,e.y=0,e.patternUnits="userSpaceOnUse";var i=new Kt;return e.backgroundFill=i.getFor("background"),e.backgroundOpacity=0,e.fillOpacity=1,e.fill=i.getFor("alternativeBackground"),e.stroke=i.getFor("alternativeBackground"),e.strokeOpacity=1,e.strokeWidth=1,e.shapeRendering="crispEdges",e.rotation=0,e.element=e.paper.addGroup("pattern"),e.id="pattern-"+k.getUniqueId(),e.element.attr({id:e.id}),e._disposers.push(e.element),e._disposers.push(new An(e._elements)),e.patternUnits=e.patternUnits,e.width=e.width,e.height=e.height,e.applyTheme(),e}return r.prototype.draw=function(){var e=this,i=this.element;if(i){i.removeChildNodes();var n=this.paper.add("rect");n.attr({width:this.width,height:this.height,"shape-rendering":"crispEdges",fill:this.backgroundFill.hex,"fill-opacity":this.backgroundOpacity,stroke:this.backgroundFill.hex,"stroke-opacity":0}),i.add(n),i.attr({x:this.x,y:this.y,width:this.width,height:this.height,stroke:this.stroke.hex,fill:this.fill.hex,"fill-opacity":this.fillOpacity,"stroke-opacity":this.strokeOpacity,"stroke-width":this.strokeWidth,"shape-rendering":this.shapeRendering,patternUnits:this.patternUnits,"stroke-dasharray":this.strokeDasharray}),Ve(this._elements.iterator(),function(s){s.rotation=e.rotation,s.rotationX=e.properties.rotationX,s.rotationY=e.properties.rotationY,e.element.add(s)})}},r.prototype.animate=function(e,i,n){return new ui(this,e,i,n).start()},r.prototype.addElement=function(e){this._elements.push(e),this._disposers.push(e)},r.prototype.removeElement=function(e){this._elements.removeValue(e),this.removeDispose(e)},Object.defineProperty(r.prototype,"elements",{get:function(){return this._elements},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"fillOpacity",{get:function(){return this.properties.fillOpacity},set:function(e){this.properties.fillOpacity=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"fill",{get:function(){return this.properties.fill},set:function(e){this.properties.fill=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"backgroundFill",{get:function(){return this.properties.backgroundFill},set:function(e){this.properties.backgroundFill=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"backgroundOpacity",{get:function(){return this.properties.backgroundOpacity},set:function(e){this.properties.backgroundOpacity=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"stroke",{get:function(){return this.properties.stroke},set:function(e){this.properties.stroke=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"strokeOpacity",{get:function(){return this.properties.strokeOpacity},set:function(e){this.properties.strokeOpacity=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"strokeWidth",{get:function(){return this.properties.strokeWidth},set:function(e){this.properties.strokeWidth=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"shapeRendering",{get:function(){return this.properties.shapeRendering},set:function(e){this.properties.shapeRendering=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"rotation",{get:function(){return this.properties.rotation},set:function(e){this.properties.rotation=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"patternUnits",{get:function(){return this.properties.patternUnits},set:function(e){this.properties.patternUnits=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"width",{get:function(){return this.properties.width},set:function(e){this.properties.width=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){return this.properties.height},set:function(e){this.properties.height=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"x",{get:function(){return this.properties.x},set:function(e){this.properties.x=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"y",{get:function(){return this.properties.y},set:function(e){this.properties.y=e,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"paper",{get:function(){return this._paper?this._paper:go()},set:function(e){this._paper!=e&&(this._paper=e,this.draw(),e.appendDef(this.element))},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),Le(e.properties,function(n,s){i[n]=s})},Object.defineProperty(r.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new Is(this._animations))),this._animations},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"strokeDasharray",{get:function(){return this.properties.strokeDashArray},set:function(e){this.properties.strokeDashArray=e,this.draw()},enumerable:!0,configurable:!0}),r.prototype.processConfig=function(e){if(e&&O(e.elements)&&li(e.elements))for(var i=0,n=e.elements.length;i13)switch(t%10){case 1:r="st";break;case 2:r="nd";break;case 3:r="rd";break}return r},"Zoom Out":"",Play:"",Stop:"",Legend:"","Click, tap or press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Force directed tree":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Press ENTER or use arrow keys to navigate":"","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:""};var cn=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.adapter=new gr(e),e._locale=dg,e._defaultLocale=dg,e.className="Language",O(Dr.defaultLocale)&&(e.locale=Dr.defaultLocale),e.applyTheme(),e}return r.prototype.getLocale=function(e){return e==null&&(e=this._locale),this.adapter.apply("locale",{locale:e}).locale},r.prototype.translate=function(e,i){for(var n=[],s=2;s0&&(c=s[o-1].replace("[","").replace("]","")),n+=this.wrap(u,c,i)}}return n=this.unescape(n),this.cleanUp(n)},r.prototype.escape=function(e){return e.replace(/\[\[/g,k.getPlaceholder("1")).replace(/([^\/\]]{1})\]\]/g,"$1"+k.getPlaceholder("2")).replace(/\]\]/g,k.getPlaceholder("2")).replace(/\{\{/g,k.getPlaceholder("3")).replace(/\}\}/g,k.getPlaceholder("4")).replace(/\'\'/g,k.getPlaceholder("5"))},r.prototype.unescape=function(e){return e.replace(new RegExp(k.getPlaceholder("1"),"g"),"[[").replace(new RegExp(k.getPlaceholder("2"),"g"),"]]").replace(new RegExp(k.getPlaceholder("3"),"g"),"{{").replace(new RegExp(k.getPlaceholder("4"),"g"),"}}").replace(new RegExp(k.getPlaceholder("5"),"g"),"''")},r.prototype.cleanUp=function(e){return e.replace(/\[\[/g,"[").replace(/\]\]/g,"]").replace(/\{\{/g,"{").replace(/\}\}/g,"}").replace(/\'\'/g,"'")},r.prototype.wrap=function(e,i,n){switch((i===""||i==="/")&&(i=""),n){case"html":return this.wrapHtml(e,this.translateStyleShortcuts(i));default:return this.wrapSvg(e,this.translateStyleShortcuts(i))}},r.prototype.wrapSvg=function(e,i){return i===""?""+e+"":""+e+""},r.prototype.getSvgElement=function(e,i){var n=new Yl("tspan");return n.textContent=e,i&&n.node.setAttribute("style",i),n},r.prototype.wrapHtml=function(e,i){return i===""?""+e+"":""+e+""},r.prototype.getHtmlElement=function(e,i){var n=document.createElement("span");return n.innerHTML=e,i&&n.setAttribute("style",i),n},r.prototype.styleSvgToHtml=function(e){return e=e.replace(/fill:/,"color:"),e},r.prototype.translateStyleShortcuts=function(e){if(e==""||e=="[ ]")return"";var i=k.getCache("translateStyleShortcuts_"+e);if(i)return i;var n=e.match(/('[^']*')|("[^"]*")/gi);if(n)for(var s=0;s"u"||kt(i)&&i.toLowerCase()==="number")&&(i=this._numberFormat);var s,a=Number(e);if(ut(i))try{return this.intlLocales?new Intl.NumberFormat(this.intlLocales,i).format(a):new Intl.NumberFormat(void 0,i).format(a)}catch{return"Invalid"}else{i=zl(i);var o=this.parseFormat(i,this.language),l=void 0;a>this._negativeBase?l=o.positive:a"u"?a.zero=a.positive:a.zero.source=o[2],typeof o[1]>"u"?a.negative=a.positive:a.negative.source=o[1],Le(a,function(l,u){if(!u.parsed){if(typeof n.getCache(u.source)<"u"){a[l]=n.getCache(u.source);return}var c=u.source;c.toLowerCase()==="number"&&(c=kt(n._numberFormat)?n._numberFormat:"#,###.#####");for(var h=Di().chunk(c,!0),d=0;d"u"||(u.decimals.active=(v[1].match(/0/g)||[]).length,u.decimals.passive=(v[1].match(/\#/g)||[]).length+u.decimals.active),u.template+=f.text.split(p[0]).join(Sr)}}else u.template+=f.text}n.setCache(u.source,u),u.parsed=!0}}),this.setCache(e,a),a},r.prototype.applyFormat=function(e,i){var n=e<0;e=Math.abs(e);var s="",a="",o=i.mod?i.mod.split(""):[];if(o.indexOf("b")!==-1){var l=this.applyPrefix(e,this.bytePrefixes,o.indexOf("!")!==-1);e=l[0],s=l[1],a=l[2],i.modSpacing&&(a=" "+a)}else if(o.indexOf("a")!==-1){var u=this.applyPrefix(e,e=0?h=e.toExponential(i.decimals.passive).split("e"):h=e.toExponential().split("e"),e=Number(h[0]),a="e"+h[1],i.modSpacing&&(a=" "+a)}else if(i.decimals.passive===0)e=Math.round(e);else if(i.decimals.passive>0){var d=Math.pow(10,i.decimals.passive);e=Math.round(e*d)/d}var f="",p=i4(e).split("."),g=p[0];if(g.length0){for(var v=[],y=g.split("").reverse().join(""),m=0,w=g.length;m<=w;m+=i.thousands.interval){var C=y.substr(m,i.thousands.interval).split("").reverse().join("");C!==""&&v.unshift(C)}g=v.join(i.thousands.separator)}f+=g,p.length===1&&p.push("");var P=p[1];return P.length"u"||i==="")&&(i=this._dateFormat);var s,a;if(kt(e)?a=this.parse(e):a=iy(e),ut(i))try{return this.intlLocales?new Intl.DateTimeFormat(this.intlLocales,i).format(a):new Intl.DateTimeFormat(void 0,i).format(a)}catch{return"Invalid"}else{i=zl(i);var o=this.parseFormat(i);if(O(this.timezoneOffset)?a.setMinutes(a.getMinutes()+a.getTimezoneOffset()-this.timezoneOffset):O(this.timezone)&&n!==!1&&(a=Ud(a,this.timezone)),!x(a.getTime()))return this.language.translate("Invalid date");s=this.applyFormat(a,o,this.language),this.capitalize&&(s=s.replace(/^.{1}/,s.substr(0,1).toUpperCase()))}return s},r.prototype.parseFormat=function(e){var i=this.getCache(e);if(O(i))return i;for(var n={template:"",parts:[]},s=Di().chunk(e,!0),a=0;a4&&C--,i.parts[v]=="YYYY"?m=Math.abs(C).toString():m=Math.abs(C).toString().substr(-i.parts[v].length),C<0&&(m+=n.translate("_era_bc"));break;case"u":break;case"q":m=""+Math.ceil((e.getMonth()+1)/3);break;case"MMMMM":m=n.translate(this.months[o]).substr(0,1);break;case"MMMM":m=n.translate(this.months[o]);break;case"MMM":m=n.translate(this.monthsShort[o]);break;case"MM":m=Ht(o+1,2,"0");break;case"M":m=(o+1).toString();break;case"ww":m=Ht(ka(e,this.utc),2,"0");break;case"w":m=ka(e,this.utc).toString();break;case"W":m=n4(e,this.utc).toString();break;case"dd":m=Ht(u,2,"0");break;case"d":m=u.toString();break;case"DD":case"DDD":m=Ht(rg(e,this.utc).toString(),i.parts[v].length,"0");break;case"D":m=rg(e,this.utc).toString();break;case"F":break;case"g":break;case"t":m=n.translateFunc("_dateOrd").call(this,u);break;case"E":m=(l||7).toString();break;case"EE":m=Ht((l||7).toString(),2,"0");break;case"EEE":case"eee":m=n.translate(this.weekdaysShort[l]);break;case"EEEE":case"eeee":m=n.translate(this.weekdays[l]);break;case"EEEEE":case"eeeee":m=n.translate(this.weekdays[l]).substr(0,1);break;case"e":case"ee":m=(l-this.firstDayOfWeek+1).toString(),i.parts[v]=="ee"&&(m=Ht(m,2,"0"));break;case"a":c>=12?m=n.translate("PM"):m=n.translate("AM");break;case"aa":c>=12?m=n.translate("P.M."):m=n.translate("A.M.");break;case"aaa":c>=12?m=n.translate("P"):m=n.translate("A");break;case"h":m=Fo(c).toString();break;case"hh":m=Ht(Fo(c),2,"0");break;case"H":m=c.toString();break;case"HH":m=Ht(c,2,"0");break;case"K":m=Fo(c,0).toString();break;case"KK":m=Ht(Fo(c,0),2,"0");break;case"k":m=(c+1).toString();break;case"kk":m=Ht(c+1,2,"0");break;case"m":m=h.toString();break;case"mm":m=Ht(h,2,"0");break;case"s":m=d.toString();break;case"ss":m=Ht(d,2,"0");break;case"S":case"SS":case"SSS":m=Math.round(f/1e3*Math.pow(10,i.parts[v].length)).toString();break;case"x":m=g.toString();break;case"n":case"nn":case"nnn":m=Ht(f,i.parts[v].length,"0");break;case"z":m=Ro(e,!1,!1,this.utc);break;case"zz":m=Ro(e,!0,!1,this.utc);break;case"zzz":m=Ro(e,!1,!0,this.utc);break;case"zzzz":m=Ro(e,!0,!0,this.utc);break;case"Z":case"ZZ":var P=Math.abs(p)/60,T=Math.floor(P),V=P*60-T*60;this.utc&&(T=0,V=0),i.parts[v]=="Z"?(m="GMT",m+=p>0?"-":"+",m+=Ht(T,2)+":"+Ht(V,2)):(m=p>0?"-":"+",m+=Ht(T,2)+Ht(V,2));break;case"i":m=e.toISOString();break;case"I":m=e.toUTCString();break}s=s.replace(Sr,m)}return s},r.prototype.parse=function(e,i){if(O(i)||(i=this.inputDateFormat),e instanceof Date)return e;if(typeof e=="number")return new Date(e);typeof e!="string"&&(e=e.toString()),this.language||(this.sprite?this.language=this.sprite.language:this.language=new cn);var n,s="";i=zl(i),i=i.substr(0,e.length);for(var a=this.parseFormat(i),o={year:-1,year3:-1,year2:-1,year1:-1,month:-1,monthShort:-1,monthLong:-1,weekdayShort:-1,weekdayLong:-1,day:-1,yearDay:-1,week:-1,hourBase0:-1,hour12Base0:-1,hourBase1:-1,hour12Base1:-1,minute:-1,second:-1,millisecond:-1,millisecondDigits:-1,am:-1,zone:-1,timestamp:-1,iso:-1},l={year:1970,month:0,day:1,hour:0,minute:0,second:0,millisecond:0,timestamp:null,offset:0,utc:this.utc},u=0,c=0,h=0;h-1&&(l.year=parseInt(f[o.year])),o.year3>-1){var p=parseInt(f[o.year3]);p+=1e3,l.year=p}if(o.year2>-1){var p=parseInt(f[o.year2]);p>50?p+=1e3:p+=2e3,l.year=p}if(o.year1>-1){var p=parseInt(f[o.year1]);p=Math.floor(new Date().getFullYear()/10)*10+p,l.year=p}if(o.monthLong>-1&&(l.month=this.resolveMonth(f[o.monthLong])),o.monthShort>-1&&(l.month=this.resolveShortMonth(f[o.monthShort])),o.month>-1&&(l.month=parseInt(f[o.month])-1),o.week>-1&&o.day===-1&&(l.month=0,l.day=s4(parseInt(f[o.week]),l.year,1,this.utc)),o.day>-1&&(l.day=parseInt(f[o.day])),o.yearDay>-1&&(l.month=0,l.day=parseInt(f[o.yearDay])),o.hourBase0>-1&&(l.hour=parseInt(f[o.hourBase0])),o.hourBase1>-1&&(l.hour=parseInt(f[o.hourBase1])-1),o.hour12Base0>-1){var p=parseInt(f[o.hour12Base0]);p==11&&(p=0),o.am>-1&&!this.isAm(f[o.am])&&(p+=12),l.hour=p}if(o.hour12Base1>-1){var p=parseInt(f[o.hour12Base1]);p==12&&(p=0),o.am>-1&&!this.isAm(f[o.am])&&(p+=12),l.hour=p}if(o.minute>-1&&(l.minute=parseInt(f[o.minute])),o.second>-1&&(l.second=parseInt(f[o.second])),o.millisecond>-1){var p=parseInt(f[o.millisecond]);o.millisecondDigits==2?p*=10:o.millisecondDigits==1&&(p*=100),l.millisecond=p}if(o.timestamp>-1){l.timestamp=parseInt(f[o.timestamp]);var g=new Date(l.timestamp);l.year=g.getUTCFullYear(),l.month=g.getUTCMonth(),l.day=g.getUTCDate(),l.hour=g.getUTCHours(),l.minute=g.getUTCMinutes(),l.second=g.getUTCSeconds(),l.millisecond=g.getUTCMilliseconds()}o.zone>-1&&(l.offset=this.resolveTimezoneOffset(new Date(l.year,l.month,l.day),f[o.zone])),o.iso>-1&&(l.year=At(f[o.iso+0]),l.month=At(f[o.iso+1])-1,l.day=At(f[o.iso+2]),l.hour=At(f[o.iso+3]),l.minute=At(f[o.iso+4]),l.second=At(f[o.iso+5]),l.millisecond=At(f[o.iso+6]),f[o.iso+7]=="Z"||f[o.iso+7]=="z"?l.utc=!0:f[o.iso+7]!=""&&(l.offset=this.resolveTimezoneOffset(new Date(l.year,l.month,l.day),f[o.iso+7]))),l.utc?n=new Date(Date.UTC(l.year,l.month,l.day,l.hour,l.minute,l.second,l.millisecond)):n=new Date(l.year,l.month,l.day,l.hour,l.minute+l.offset,l.second,l.millisecond)}else n=new Date(e);return n},r.prototype.resolveTimezoneOffset=function(e,i){var n=i.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/);if(n){var s=at(i.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/)),a=s[1],o=s[2],l=s[3],u=parseInt(o)*60+parseInt(l);a=="+"&&(u*=-1);var c=(e||new Date).getTimezoneOffset(),h=u-c;return h}return 0},r.prototype.resolveMonth=function(e){var i=this.months.indexOf(e);return i>-1||this.language&&!this.language.isDefault()&&(i=this.language.translateAll(this.months).indexOf(e),i>-1)?i:0},r.prototype.resolveShortMonth=function(e){var i=this.monthsShort.indexOf(e);return i>-1||(i=this.months.indexOf(e),i>-1)||this.language&&!this.language.isDefault()&&(i=this.language.translateAll(this.monthsShort).indexOf(e),i>-1)?i:0},r.prototype.isAm=function(e){var i=this.getStringList(["AM","A.M.","A"]);return i.indexOf(e.toUpperCase())>-1},r.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invalidate()},r.prototype.getStringList=function(e){for(var i=[],n=0;n"u"||i==="")&&(O(this.durationFormat)?i=this.durationFormat:i=this.getFormat(At(e),null,s)),i=zl(i);var a=this.parseFormat(i,s),o=Number(e),l;o>this._negativeBase?l=a.positive:o"+u+"":this._outputFormat==="html"&&(u=""+u+"")),u},r.prototype.parseFormat=function(e,i){var n=this,s=this.getCache(e);if(O(s))return s;var a=i||this._baseUnit,o={positive:{color:"",template:"",parts:[],source:"",baseUnit:a,parsed:!1,absolute:!1},negative:{color:"",template:"",parts:[],source:"",baseUnit:a,parsed:!1,absolute:!1},zero:{color:"",template:"",parts:[],source:"",baseUnit:a,parsed:!1,absolute:!1}};e=e.replace("||",is);var l=e.split("|");return o.positive.source=l[0],typeof l[2]>"u"?o.zero=o.positive:o.zero.source=l[2],typeof l[1]>"u"?o.negative=o.positive:o.negative.source=l[1],Le(o,function(u,c){if(!c.parsed){if(typeof n.getCache(c.source)<"u"){o[u]=n.getCache(c.source);return}var h=c.source,d=[];d=c.source.match(/^\[([^\]]*)\]/),d&&d.length&&d[0]!==""&&(h=c.source.substr(d[0].length),c.color=d[1]);for(var f=Di().chunk(h,!0),p=0;p div > ."+e+"-menu ."+e+"-item."+e+"-item-level-0, ."+e+"-item."+e+"-item-level-0.active",{opacity:"0.9"}),new qe(t,"."+e+"-item."+e+"-item-level-0 > a",{padding:"0","text-align":"center",overflow:"hidden"}),new qe(t,"."+e+"-item."+e+"-item-level-0:before",{display:"block"}),new qe(t,"."+e+"-item",{position:"relative",display:"block",opacity:"0","z-index":"1","border-radius":"3px","background-color":i.getFor("secondaryButton").hex,padding:"0",margin:"1px 1px 0 0",color:i.getFor("secondaryButton").alternative.hex,transition:"all 100ms ease-in-out, opacity 0.5s ease 0.5s"}),new qe(t,"."+e+"-left ."+e+"-item",{margin:"1px 0 0 1px"}),new qe(t,"."+e+"-item:hover, ."+e+"-item.active",{background:i.getFor("secondaryButtonHover").hex,color:i.getFor("secondaryButtonText").hex}),new qe(t,"."+e+"-item > ."+e+"-menu",{position:"absolute",top:"-1px",right:"0","margin-right":"100%"}),new qe(t,"."+e+"-left ."+e+"-item > ."+e+"-menu",{left:"0",right:"auto","margin-left":"100%","margin-right":"auto"}),new qe(t,"."+e+"-right ."+e+"-item > ."+e+"-menu",{left:"auto",right:"0","margin-left":"auto","margin-right":"100%"}),new qe(t,"."+e+"-top ."+e+"-item > ."+e+"-menu",{top:"-1px",bottom:"auto"}),new qe(t,"."+e+"-bottom ."+e+"-item > ."+e+"-menu",{top:"auto",bottom:"0"}),new qe(t,"."+e+"-item > ."+e+"-menu",{display:"none"}),new qe(t,"."+e+"-item:hover > ."+e+"-menu, ."+e+"-item.active > ."+e+"-menu",{display:"block"}),new qe(t,"."+e+"-item:hover > ."+e+"-menu > ."+e+"-item, ."+e+"-item.active > ."+e+"-menu > ."+e+"-item",{opacity:"1"}),new qe(t,"."+e+"-menu",{display:"block","list-style":"none",margin:"0",padding:"0"}),new qe(t,"."+e+"-label",{display:"block",cursor:"default",padding:"0.5em 1em"}),new qe(t,"."+e+"-icon",{display:"block",cursor:"default",padding:"0.2em 0.4em",width:"1.2em",height:"1.2em","min-width":"32px","min-height":"32px",margin:"auto auto","border-radius":"3px"}),new qe(t,"."+e+"-item-level-0 > ."+e+"-icon",{padding:"0.1em 0.2em"}),new qe(t,"."+e+"-clickable",{cursor:"pointer"})]);return new Du(function(){fg.removeKey(e),s.dispose()})});return n.increment()}var my=function(t){ee(r,t);function r(){var e=t!==null&&t.apply(this,arguments)||this;return e._validateDisposer=null,e}return r.prototype.invalidate=function(){this._validateDisposer===null&&(this._validateDisposer=k.events.on("exitframe",this.validate,this))},r.prototype.validate=function(){this._validateDisposer!==null&&(this._validateDisposer.dispose(),this._validateDisposer=null)},r.prototype.dispose=function(){this._validateDisposer!==null&&(this._validateDisposer.dispose(),this._validateDisposer=null),t.prototype.dispose.call(this)},r}(vi),m3=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.adapter=new gr(e),e.closeDelay=1e3,e.closeOnClick=!0,e._language=new ol,e._menuTag="ul",e._itemTag="li",e._labelTag="a",e._iconTag="img",e._classPrefix="amexport",e._defaultStyles=!0,e._align="right",e._verticalAlign="top",e._tabindex=0,e._ignoreNextClose=!1,e._items=[{label:"...",menu:[{label:"Image",menu:[{type:"png",label:"PNG"},{type:"jpg",label:"JPG"},{type:"svg",label:"SVG"},{type:"pdf",label:"PDF"}]},{label:"Data",menu:[{type:"json",label:"JSON"},{type:"csv",label:"CSV"},{type:"xlsx",label:"XLSX"},{type:"html",label:"HTML"},{type:"pdfdata",label:"PDF"}]},{label:"Print",type:"print"}]}],e.className="ExportMenu",e._disposers.push(e._language),e.invalidate(),e.applyTheme(),e}return r.prototype.validate=function(){this.draw(),t.prototype.validate.call(this)},r.prototype.draw=function(){var e=this;this._element?(this._element.innerHTML="",this._element.className=this.getMenuItemClass(0)):this._element=this.createMenuElement(0),this.defaultStyles&&(this._element.style.display="none"),at(this._container).appendChild(this._element);for(var i=this.adapter.apply("items",{items:this._items}).items,n=i.length,s=0;s=0;s--)i[s]&&Mh(i[s],"active");this.events.dispatchImmediately("closed",{type:"closed",target:this})}},r.prototype.selectBranch=function(e){var i=this;if(!this.isDisposed()&&(e.closeTimeout&&(this.removeDispose(e.closeTimeout),e.closeTimeout=void 0),Ih(e.element,"active"),e.submenuElement&&e.submenuElement.setAttribute("aria-expanded","true"),this._currentSelection&&this._currentSelection!==e&&this._currentSelection.ascendants&&Ve(Tw(Mn([this._currentSelection]),this._currentSelection.ascendants.iterator()),function(s){!e.ascendants.contains(s)&&e!==s&&i.unselectBranch(s,!0)}),Ve(e.ascendants.iterator(),function(s){s.closeTimeout&&(i.removeDispose(s.closeTimeout),s.closeTimeout=void 0),Ih(s.element,"active")}),this._currentSelection=e,this.events.isEnabled("branchselected"))){var n={type:"branchselected",target:this,branch:e};this.events.dispatchImmediately("branchselected",n)}},r.prototype.unselectBranch=function(e,i){if(!this.isDisposed()&&(Mh(e.element,"active"),e.submenuElement&&e.submenuElement.removeAttribute("aria-expanded"),this._currentSelection==e&&(this._currentSelection=void 0),this.events.isEnabled("branchunselected"))){var n={type:"branchunselected",target:this,branch:e};this.events.dispatchImmediately("branchunselected",n)}},r.prototype.delayUnselectBranch=function(e,i){var n=this;this.isDisposed()||(e.closeTimeout&&(this.removeDispose(e.closeTimeout),e.closeTimeout=void 0),e.closeTimeout=this.setTimeout(function(){n.unselectBranch(e,i)},this.closeDelay),i!==!0&&e.ascendants&&Ve(e.ascendants.iterator(),function(s){n.delayUnselectBranch(s,!0)}))},r.prototype.moveSelection=function(e){if(!this.isDisposed()&&!!this._currentSelection){var i;if(e=="up")i=this.getPrevSibling(this._currentSelection);else if(e=="down")i=this.getNextSibling(this._currentSelection);else if(e=="left"&&this.align=="right"||e=="right"&&this.align=="left"){var n=this.getSubMenu(this._currentSelection);n!=null&&(i=n[0])}else(e=="right"&&this.align=="right"||e=="left"&&this.align=="left")&&(i=this.getParentItem(this._currentSelection));i&&i!==this._currentSelection&&(this.selectBranch(i),this.setFocus(i),this._currentSelection=i)}},r.prototype.getSiblings=function(e){var i=this.getParentItem(e);return i&&i.menu?i.menu:[]},r.prototype.getParentItem=function(e){if(e.ascendants&&e.ascendants.length)return e.ascendants.getIndex(e.ascendants.length-1)},r.prototype.getNextSibling=function(e){var i=this.getSiblings(e);if(i.length>1){var n=i.indexOf(e)+1;return n=i.length==n?0:n,i[n].unsupported?this.getNextSibling(i[n]):i[n]}else return e},r.prototype.getPrevSibling=function(e){var i=this.getSiblings(e);if(i.length>1){var n=i.indexOf(e)-1;return n=n==-1?i.length-1:n,i[n].unsupported?this.getPrevSibling(i[n]):i[n]}else return e},r.prototype.setFocus=function(e){if(e.interactions)try{e.interactions.element.focus()}catch{}},r.prototype.setBlur=function(e){if(e.interactions)try{e.interactions.element.blur()}catch{}},r.prototype.hideBranch=function(e){e.element.style.display="none"},r.prototype.showBranch=function(e){e.element.style.display=""},Object.defineProperty(r.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),r}(my);function Gl(t,r,e){return new Promise(function(i,n){var s=O(e)&&e.responseType=="blob",a=new XMLHttpRequest;if(a.onload=function(){if(a.status===200){var u=void 0,c;if(s){c=a.response,y3(c).then(function(d){var f={xhr:a,error:!1,response:d,blob:c,type:a.getResponseHeader("Content-Type"),target:r};i(f)});return}else u=a.responseText||a.response;var h={xhr:a,error:!1,response:u,blob:c,type:a.getResponseHeader("Content-Type"),target:r};i(h)}else n({xhr:a,error:!0,type:a.getResponseHeader("Content-Type"),target:r})},a.onerror=function(){n({xhr:a,error:!0,type:a.getResponseHeader("Content-Type"),target:r})},a.open("GET",t,!0),e&&e.withCredentials&&(a.withCredentials=!0),O(e)){if(O(e.requestHeaders))for(var o=0;oimport("./pdfmake.3078ec64.js").then(s=>s.p),["./pdfmake.3078ec64.js","./_commonjsHelpers.f037b798.js"],import.meta.url),it(()=>import("./vfs_fonts.579b06a5.js"),[],import.meta.url)])];case 1:return t=n.sent(),r=t[0],e=t[1],i=window,i.pdfMake=i.pdfMake||{},i.pdfMake.vfs=e.default,r.vfs=e.default,[2,r]}})})}var pg=/src: ([^;]+);/;function _3(){return window.navigator.msSaveOrOpenBlob!=null}function w3(t){return new Promise(function(r,e){var i=new FileReader;i.onload=function(n){r(i.result)},i.onerror=function(n){e(n)},i.readAsDataURL(t)})}function S3(t){return Ze(this,void 0,void 0,function(){var r;return We(this,function(e){switch(e.label){case 0:r=t.sheet,e.label=1;case 1:return e.trys.push([1,2,,4]),[2,r.cssRules];case 2:return e.sent(),[4,new Promise(function(i,n){t.addEventListener("load",function(){i(r.cssRules)},!0),t.addEventListener("error",function(s){n(s)},!0),setTimeout(function(){n(new Error("Timeout while waiting for "+this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),e,l,u,d,c,h),m=new Blob([y],{type:"image/svg+xml"}),s=n.createObjectURL(m),[4,this.loadNewImage(s,l*d*f,u*d*f,"anonymous")];case 3:return w=C.sent(),p.drawImage(w,0,0),[3,5];case 4:return s!==null&&n.revokeObjectURL(s),a!==null&&ye(a,function(P){n.revokeObjectURL(P)}),this.restoreRemovedObjects(),[7];case 5:return[2,o]}})})},r.prototype.getCanvasAdvanced=function(e){return Ze(this,void 0,void 0,function(){var i,n,s,a,o,l,u,c,h,d,f;return We(this,function(p){switch(p.label){case 0:return O(e)||(e={}),[4,this.imagesToDataURI(this.sprite.dom,e)];case 1:return p.sent(),i=this.backgroundColor||this.findBackgroundColor(this.sprite.dom),[4,this.canvg];case 2:return n=p.sent(),s=this.sprite.pixelWidth,a=this.sprite.pixelHeight,o=vl(this.sprite.dom),l=ml(this.sprite.dom),u=e.scale||1,c=this.getPixelRatio(e),u=this.getAdjustedScale(s*c,a*c,u,e),h=this.normalizeSVG(this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),e,s,a,u,o,l,i),d=this.getDisposableCanvas(),d.style.width=s*c*u+"px",d.style.height=a*c*u+"px",d.width=s*c*u,d.height=a*c*u,f={useCORS:!0},c!=1&&(f.ignoreDimensions=!0,f.scaleWidth=s*c*u,f.scaleHeight=a*c*u),[4,n.fromString(d.getContext("2d"),h,f).render()];case 3:return p.sent(),[2,d]}})})},r.prototype.getImageAdvanced=function(e,i,n){return Ze(this,void 0,void 0,function(){var s,a,o;return We(this,function(l){switch(l.label){case 0:return s=this._objectsAlreadyHidden,s||this.hideNonExportableSprites(),O(i)||(i=this.getFormatOptions(e)),[4,this.getCanvasAdvanced(i)];case 1:return a=l.sent(),n===!1?[3,3]:[4,this.addExtras(a,i,!0)];case 2:a=l.sent(),l.label=3;case 3:return o=a.toDataURL(this.getContentType(e),i.quality),this.disposeCanvas(a),s||this.restoreNonExportableSprites(),[2,o]}})})},r.prototype.getDisposableCanvas=function(){var e=document.createElement("canvas");return e.style.position="fixed",e.style.top="-10000px",document.body.appendChild(e),e},r.prototype.disposeCanvas=function(e){document.body.removeChild(e)},r.prototype.getPixelRatio=function(e){return this.useRetina?Xw():1},r.prototype.getAdjustedScale=function(e,i,n,s){if(!s)return n;var a=e*n,o=e*n,l,u;return s.maxWidth&&a>s.maxWidth&&(l=s.maxWidth/e),s.maxHeight&&o>s.maxHeight&&(u=s.maxHeight/i),l||u?jt(l,u):(s.minWidth&&a",{},1,1)],{type:"image/svg+xml"}),o=s.createObjectURL(a),l=void 0,u.label=2;case 2:return u.trys.push([2,4,,5]),[4,this.loadNewImage(o,1,1)];case 3:return l=u.sent(),[3,5];case 4:return u.sent(),[2,!1];case 5:n.drawImage(l,0,0),s.revokeObjectURL(o);try{return k.setCache("simplifiedImageExport",!0),[2,!0]}catch{return k.setCache("simplifiedImageExport",!1),[2,!1]}return[3,7];case 6:return u.sent(),k.setCache("simplifiedImageExport",!1),[2,!1];case 7:return[2]}})})},r.prototype.loadNewImage=function(e,i,n,s){return new Promise(function(a,o){var l;i&&n?l=new Image(i,n):l=new Image,s&&l.setAttribute("crossOrigin",s),l.onload=function(){a(l)};function u(){if(s){var c=l.src;l.onerror=function(){o(new Error('Loading image "'+e+'" failed'))},l.removeAttribute("crossorigin"),l.src="",l.src=c}else o(new Error('Loading image "'+e+'" failed'))}l.onabort=u,l.onerror=u,l.src=e})},r.prototype.getDOMURL=function(){return self.URL||self.webkitURL||self},r.prototype.getSVG=function(e,i,n){return n===void 0&&(n=!0),Ze(this,void 0,void 0,function(){var s,a,o,l,u,c,h,d,f,p;return We(this,function(g){switch(g.label){case 0:return s=this._objectsAlreadyHidden,s||this.hideNonExportableSprites(),O(i)||(i=this.getFormatOptions("svg")),[4,this.awaitValidSprites()];case 1:return g.sent(),a=this.sprite.pixelWidth,o=this.sprite.pixelHeight,l=vl(this.sprite.dom),u=ml(this.sprite.dom),c=i.scale||1,h=this.getPixelRatio(i),c=this.getAdjustedScale(a*h,o*h,c,i),d=this.normalizeSVG(this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),i,a,o,c,l,u),f=this.adapter.apply("charset",{charset:"charset=utf-8",type:"svg",options:i}).charset,p=this.adapter.apply("getSVG",{data:n?"data:"+this.getContentType(e)+";"+f+","+encodeURIComponent(d):d,options:i}).data,s||this.restoreNonExportableSprites(),[2,p]}})})},r.prototype.normalizeSVG=function(e,i,n,s,a,o,l,u){var c="";n&&(c+='width="'+Math.round(n*(a||1))+'px" '),s&&(c+='height="'+Math.round(s*(a||1))+'px" ');var h="";o&&(h+="font-family: "+o.replace(/"/g,"")+";"),l&&(h+="font-size: "+l+";"),a&&(c+='viewBox="0 0 '+n+" "+s+'" ');var d=[],f=e.match(//gi);if(f)for(var p=0;p]*)width="[^"]*"/,"$1"),e=e.replace(/(]*)height="[^"]*"/,"$1"),e=e.replace(/('+e+"",u&&(e=e.replace(/(]*>)/,'$1')),qw()&&(e=e.replace(/]*\/>/gi,""));var g=new RegExp("url\\("+Ch(ma()),"g");if(e=e.replace(g,"url(#"),e=e.replace(/url\("([^)]*)"\)/gm,"url($1)"),d.length)for(var p=0;pg?1:pd?1:hw?1:md?1:hC?-1:w=0)&&(f='"'+f+'"'),l.push(f)},function(c,h){var d=u.indexOf(c),f=u.indexOf(h);return d>f?1:d",i.tableClass&&(s=''),a=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"html"}).dataFields,o=this.data,i.pivot)l=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"html"}).dataFieldsOrder,s+=` +|`+o,"g"))>=0)&&(f='"'+f+'"'),l.push(f)},function(c,h){var d=u.indexOf(c),f=u.indexOf(h);return d>f?1:d",i.tableClass&&(s='
'),a=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"html"}).dataFields,o=this.data,i.pivot)l=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"html"}).dataFieldsOrder,s+=` `,Ci(a,function(g,v){var y=[];i.addColumnNames&&y.push(v);for(var m=o.length,w=0;wm?-1:y`;else{for(i.addColumnNames&&(s+=` @@ -17,17 +17,17 @@ var $2=Object.defineProperty;var B2=(t,r,e)=>r in t?$2(t,r,{enumerable:!0,config
`,h=this.adapter.apply("charset",{charset:"charset=utf-8",type:e,options:i}).charset,d=this.adapter.apply("getHTML",{data:n?"data:"+this.getContentType(e)+";"+h+","+encodeURIComponent(s):s,options:i}).data,[2,d]})})},r.prototype.getHTMLRow=function(e,i,n,s,a){var o=this;s===void 0&&(s=!1),a===void 0&&(a=!1);var l=" ";i.rowClass&&(l=' '),n||(n=e);var u=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"html"}).dataFieldsOrder,c=a?"th":"td",h=!0;return Ci(n,function(d,f){var p=o.convertEmptyValue(d,e[d],i),g=s?p:o.convertToSpecialFormat(d,p,i);g=""+g,g=g.replace(/[\u00A0-\u9999<>\&]/gim,function(y){return"&#"+y.charCodeAt(0)+";"});var v=c;i.pivot&&h&&(v="th"),i.cellClass?l+=` <`+v+' class="'+i.cellClass+'">'+g+"":l+=` <`+v+">"+g+"",h=!1},function(d,f){var p=u.indexOf(d),g=u.indexOf(f);return p>g?1:p`,l},r.prototype.getJSON=function(e,i,n){return n===void 0&&(n=!0),Ge(this,void 0,void 0,function(){var s,a,o,l,u,c,h,d,f,p=this;return We(this,function(g){if(O(i)||(i=this.getFormatOptions("json")),a=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"json"}).dataFields,this._dynamicDataFields)s=this.data;else for(s=[],o=this.data,l=function(v,y){var m=o[y];if(typeof m=="object"){var w={};Le(m,function(C,P){O(a[C])&&(w[a[C]]=p.convertToSpecialFormat(C,P,i))}),s.push(w)}},u=o.length,c=0;c

'+this.language.translate('To save the image, right-click thumbnail on the left and choose "Save picture as..."')+'

'+this.language.translate("(Press ESC to close this message)")+"

",this.language.translate("Image Export Complete")):(y=void 0,i.match(/\.svg$/)?y="image/svg+xml":(y="text/plain",i+=".txt"),m=document.createElement("iframe"),m.width="1px",m.height="1px",m.style.display="none",document.body.appendChild(m),w=m.contentDocument,w.open(y,"replace"),w.write(decodeURIComponent(v[3])),w.close(),w.execCommand("SaveAs",!0,i),document.body.removeChild(m)))):window.location.href=e;return[2,!0]})})},r.prototype.downloadSupport=function(){return this.linkDownloadSupport()||this.msBlobDownloadSupport()},r.prototype.linkDownloadSupport=function(){var e=k.getCache("linkDownloadSupport");if(e===!1||e===!0)return e;var i=document.createElement("a"),n=typeof i.download<"u";return k.setCache("linkDownloadSupport",n),n},r.prototype.blobDownloadSupport=function(){return O(window.Blob)},r.prototype.msBlobDownloadSupport=function(){return O(window.navigator.msSaveOrOpenBlob)},r.prototype.legacyIE=function(){var e=document.createElement("div");return e.innerHTML="",e.getElementsByTagName("i").length==1},r.prototype.print=function(e,i,n){return Ge(this,void 0,void 0,function(){return We(this,function(s){return i.printMethod=="css"?[2,this.printViaCSS(e,i,n)]:[2,this.printViaIframe(e,i,n)]})})},r.prototype.printViaCSS=function(e,i,n){return Ge(this,void 0,void 0,function(){var s,a,o,l,u;return We(this,function(c){return s=document.documentElement.scrollTop||document.body.scrollTop,a=new Ze(zd(this.container),"body > *",{display:"none",position:"fixed",visibility:"hidden",opacity:"0",clipPath:"polygon(0px 0px,0px 0px,0px 0px,0px 0px);"}),n&&document&&document.title&&(o=document.title,document.title=n),l=new Image,l.src=e,l.style.maxWidth="100%",l.style.display="block",l.style.position="relative",l.style.visibility="visible",l.style.opacity="1",l.style.clipPath="none",document.body.appendChild(l),this.setTimeout(function(){window.print()},50),u=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,u&&i.delay<1e3?i.delay=1e3:i.delay<100&&(i.delay=100),this.setTimeout(function(){document.body.removeChild(l),a.dispose(),o&&(document.title=document.title),document.documentElement.scrollTop=document.body.scrollTop=s},i.delay||500),[2,!0]})})},r.prototype.printViaIframe=function(e,i,n){return Ge(this,void 0,void 0,function(){var s,a,o;return We(this,function(l){return s=document.createElement("iframe"),s.style.visibility="hidden",document.body.appendChild(s),s.contentWindow.document.open(),s.contentWindow.document.close(),a=new Image,a.src=e,a.style.maxWidth="100%",a.style.height="auto",n&&(s.contentWindow.document.title=n),s.contentWindow.document.body.appendChild(a),s.load=function(){s.contentWindow.document.body.appendChild(a)},this.setTimeout(function(){try{s.contentWindow.document.execCommand("print",!1,null)||s.contentWindow.print()}catch{s.contentWindow.print()}},i.delay||50),o=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,o&&i.delay<1e3?i.delay=1e3:i.delay<100&&(i.delay=100),this.setTimeout(function(){document.body.removeChild(s)},i.delay+50||100),[2,!0]})})},r.prototype.findBackgroundColor=function(e){var i=1,n=Hd(e,"background-color");if((n.match(/[^,]*,[^,]*,[^,]*,[ ]?0/)||n=="transparent")&&(i=0),i==0){var s=e.parentElement;return s?this.findBackgroundColor(s):$e("#fff")}else return $e(n,i)},Object.defineProperty(r.prototype,"container",{get:function(){return this.adapter.apply("container",{container:this._container}).container},set:function(e){this._container=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"sprite",{get:function(){return this.adapter.apply("sprite",{sprite:this._sprite}).sprite},set:function(e){this._sprite=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"extraSprites",{get:function(){return this.adapter.apply("extraSprites",{extraSprites:this._extraSprites}).extraSprites},set:function(e){this._extraSprites=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"validateSprites",{get:function(){return this.adapter.apply("validateSprites",{validateSprites:this._validateSprites}).validateSprites},set:function(e){this._validateSprites=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"data",{get:function(){return this.adapter.apply("data",{data:this._data}).data},set:function(e){this._data=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dataFields",{get:function(){return this._dataFields||this.generateDataFields(),this.adapter.apply("dataFields",{dataFields:this._dataFields}).dataFields},set:function(e){this._dataFields=e,this._dynamicDataFields=!1},enumerable:!0,configurable:!0}),r.prototype.handleDataUpdated=function(){this._dynamicDataFields&&(this._dataFields=void 0);var e=this.data.length>0;this._prevHasData!=e&&(this._prevHasData=e,this.menu&&this.menu.invalidate())},Object.defineProperty(r.prototype,"dateFormatter",{get:function(){return this._dateFormatter||(this._dateFormatter=new vo,this._dateFormatter.language=this.language),this.adapter.apply("dateFormatter",{dateFormatter:this._dateFormatter}).dateFormatter},set:function(e){this._dateFormatter=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dateFormat",{get:function(){return this.adapter.apply("dateFormat",{dateFormat:this._dateFormat}).dateFormat},set:function(e){this._dateFormat=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dateFields",{get:function(){return this._dateFields||(this._dateFields=new vt),this.adapter.apply("dateFields",{dateFields:this._dateFields}).dateFields},set:function(e){this._dateFields=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"numberFormatter",{get:function(){return this._numberFormatter||(this._numberFormatter=new Wd,this._numberFormatter.language=this.language),this.adapter.apply("numberFormatter",{numberFormatter:this._numberFormatter}).numberFormatter},set:function(e){this._numberFormatter=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"numberFormat",{get:function(){return this.adapter.apply("numberFormat",{numberFormat:this._numberFormat}).numberFormat},set:function(e){this._numberFormat=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"numberFields",{get:function(){return this._numberFields||(this._numberFields=new vt),this.adapter.apply("numberFields",{numberFields:this._numberFields}).numberFields},set:function(e){this._numberFields=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"durationFormatter",{get:function(){return this._durationFormatter||(this._durationFormatter=new Yd,this._durationFormatter.language=this.language),this.adapter.apply("durationFormatter",{durationFormatter:this._durationFormatter}).durationFormatter},set:function(e){this._durationFormatter=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"durationFormat",{get:function(){return this.adapter.apply("durationFormat",{durationFormat:this._durationFormat}).durationFormat},set:function(e){this._durationFormat=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"durationFields",{get:function(){return this._durationFields||(this._durationFields=new vt),this.adapter.apply("durationFields",{durationFields:this._durationFields}).durationFields},set:function(e){this._durationFields=e},enumerable:!0,configurable:!0}),r.prototype.generateDataFields=function(){var e=this;this._dataFields={},this.data.length&&ye(this.data,function(i){Le(i,function(n,s){O(e._dataFields[n])||(e._dataFields[n]=e.adapter.apply("dataFieldName",{name:n,field:n}).name)})})},r.prototype.isDateField=function(e){return this.adapter.apply("isDateField",{isDateField:this.dateFields.contains(e),field:e}).isDateField},r.prototype.isNumberField=function(e){return this.adapter.apply("isNumberField",{isNumberField:this.numberFields.contains(e),field:e}).isNumberField},r.prototype.isDurationField=function(e){return this.adapter.apply("isDurationField",{isDurationField:this.durationFields.contains(e),field:e}).isDurationField},r.prototype.getContentType=function(e){var i="";switch(e){case"png":case"gif":i="image/"+e;break;case"jpg":i="image/jpeg";break;case"svg":i="image/svg+xml";break;case"csv":i="text/csv";break;case"json":i="application/json";break;case"html":i="text/html";break;case"pdf":case"pdfdata":i="application/pdf";break;case"xlsx":i="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";break}return this.adapter.apply("contentType",{contentType:i,type:e}).contentType},Object.defineProperty(r.prototype,"filePrefix",{get:function(){return this.adapter.apply("filePrefix",{filePrefix:this._filePrefix}).filePrefix},set:function(e){this._filePrefix=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"backgroundColor",{get:function(){return this.adapter.apply("backgroundColor",{backgroundColor:this._backgroundColor}).backgroundColor},set:function(e){this._backgroundColor=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"title",{get:function(){return this.adapter.apply("title",{title:this._title}).title},set:function(e){this._title=e},enumerable:!0,configurable:!0}),r.prototype.showPreloader=function(){var e=this.preloader;e&&(e.progress=.5,e.label.text="...")},r.prototype.hidePreloader=function(){var e=this.preloader;e&&(e.progress=1)},Object.defineProperty(r.prototype,"preloader",{get:function(){return this._sprite&&this._sprite.parent&&this._sprite.parent.preloader?this._sprite.parent.preloader:void 0},enumerable:!0,configurable:!0}),r.prototype.showTimeout=function(){this.showModal(this.adapter.apply("timeoutMessage",{message:this.language.translate("Export operation took longer than expected. Something might have gone wrong.")}).message)},r.prototype.hideTimeout=function(){this._timeoutTimeout&&(this.removeDispose(this._timeoutTimeout),this._timeoutTimeout=null),this.hideModal()},Object.defineProperty(r.prototype,"language",{get:function(){return this._language||(this._language=new cn),this._language},set:function(e){this._language=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"modal",{get:function(){return this._modal||(this._modal=new fy,this._modal.adapter.add("classPrefix",function(e){return e=Dr.classNamePrefix+e,e})),this._modal},enumerable:!0,configurable:!0}),r.prototype.showModal=function(e,i){this.hideModal(),this.hidePreloader();var n=this.modal;n.container=this.sprite.svgContainer.SVGContainer,n.content=e,n.readerTitle=i,n.open()},r.prototype.hideModal=function(){this._modal&&this.modal.close()},r.prototype._canvg=function(){return Ge(this,void 0,void 0,function(){var e;return We(this,function(i){switch(i.label){case 0:return[4,nt(()=>import("./index.443010ca.js"),["./index.443010ca.js","./_commonjsHelpers.f037b798.js"],import.meta.url)];case 1:return e=i.sent(),e.default!=null?[2,e.default]:[2,e]}})})},Object.defineProperty(r.prototype,"canvg",{get:function(){return this._canvg()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pdfmake",{get:function(){return _c==null&&(_c=b3()),_c},enumerable:!0,configurable:!0}),r.prototype._xlsx=function(){return Ge(this,void 0,void 0,function(){return We(this,function(e){switch(e.label){case 0:return[4,nt(()=>import("./xlsx.core.min.060da92c.js").then(i=>i.x),["./xlsx.core.min.060da92c.js","./_commonjsHelpers.f037b798.js"],import.meta.url)];case 1:return[2,e.sent()]}})})},Object.defineProperty(r.prototype,"xlsx",{get:function(){return this._xlsx()},enumerable:!0,configurable:!0}),r.prototype.setFormatOptions=function(e,i){this._formatOptions.setKey(e,i)},r.prototype.getFormatOptions=function(e){return this._formatOptions.getKey(e)},Object.defineProperty(r.prototype,"formatOptions",{get:function(){return this._formatOptions},enumerable:!0,configurable:!0}),r.prototype._disablePointers=function(){O(this._spriteInteractionsEnabled)||(this._spriteInteractionsEnabled=this.sprite.interactionsEnabled),this.sprite.interactionsEnabled=!1},r.prototype._releasePointers=function(){O(this._spriteInteractionsEnabled)&&!this._exportRunning&&(this.sprite.interactionsEnabled=this._spriteInteractionsEnabled)},r.prototype.hideNonExportableSprites=function(){var e=this;if(!this._objectsAlreadyHidden){var i=this.sprite.svgContainer;i&&ye(i.nonExportableSprites,function(n){!n.isHidden&&!n.isHiding&&n.visible&&e._hiddenObjects.push(n),n.hide(0)}),this._objectsAlreadyHidden=!0}},r.prototype.restoreNonExportableSprites=function(){!this._objectsAlreadyHidden||(ye(this._hiddenObjects,function(e){e.show(0)}),this._hiddenObjects=[],this._objectsAlreadyHidden=!1)},r.prototype.awaitValidSprites=function(){return Ge(this,void 0,void 0,function(){var e;return We(this,function(i){switch(i.label){case 0:return e=[],this.validateSprites.length&&ye(this.validateSprites,function(n,s){n.invalid&&e.push(new Promise(function(a,o){n.events.once("validated",function(l){a()})}))}),e.length?[4,Promise.all(e)]:[3,2];case 1:i.sent(),i.label=2;case 2:return[2]}})})},r.prototype.processConfig=function(e){k.registeredClasses.ExportMenu=m3,e&&(O(e.menu)&&!O(e.menu.type)&&(e.menu.type="ExportMenu"),O(e.dataFields)&&ut(e.dataFields)&&(this.dataFields=e.dataFields,delete e.dataFields)),t.prototype.processConfig.call(this,e)},r.XLINK="http://www.w3.org/1999/xlink",r}(my),wc=["fill","fillOpacity","stroke","strokeOpacity","strokeWidth","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin"],_t=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.properties={},e._eventDispatcher=new j4(e),e._bindings={},e._isTemplate=!1,e._isPath=!1,e._inited=!1,e._ready=!1,e.isHiding=!1,e._isHidden=!1,e.isShowing=!1,e.isStandaloneInstance=!1,e._isActive=!1,e._mask=new ol,e._positionPrecision=3,e._language=new ol,e._exporting=new ol,e._exportable=!0,e._bbox={x:0,y:0,width:0,height:0},e.invalid=!1,e.positionInvalid=!1,e.propertyFields={},e.applyOnClones=!1,e._measuredWidthSelf=0,e._measuredHeightSelf=0,e.maxLeft=0,e.maxRight=0,e.maxTop=0,e.maxBottom=0,e.maxLeftSelf=0,e.maxRightSelf=0,e.maxTopSelf=0,e.maxBottomSelf=0,e._isDragged=!1,e._isResized=!1,e._disabled=!1,e._internalDisabled=!1,e._updateDisabled=!1,e._internalDefaultsApplied=!1,e.rollOutDelay=0,e.isBaseSprite=!1,e.shouldClone=!0,e.appeared=!1,e.ex=0,e.ey=0,e.dragWhileResize=!1,e.measureFailed=!1,e.preventShow=!1,e.cloneTooltip=!0,e.className="Sprite",e._disposers.push(e._eventDispatcher),e.uid,e.group=e.paper.addGroup("g"),e.setPropertyValue("scale",1),e.setPropertyValue("rotation",0),e.setPropertyValue("align","none"),e.setPropertyValue("valign","none"),e.setPropertyValue("pixelPerfect",!1),e.setPropertyValue("visible",!0),e.setPropertyValue("tooltipPosition","fixed"),e.setPropertyValue("verticalCenter","none"),e.setPropertyValue("horizontalCenter","none"),e.setPropertyValue("tooltipX",xt(50)),e.setPropertyValue("tooltipX",xt(50)),e.setPropertyValue("marginTop",0),e.setPropertyValue("marginBottom",0),e.setPropertyValue("marginLeft",0),e.setPropertyValue("marginRight",0),e.setPropertyValue("dx",0),e.setPropertyValue("dy",0),e.setPropertyValue("paddingTop",0),e.setPropertyValue("paddingBottom",0),e.setPropertyValue("paddingRight",0),e.setPropertyValue("paddingLeft",0),e.setPropertyValue("togglable",!1),e.setPropertyValue("hidden",!1),e.setPropertyValue("urlTarget","_self"),e.setPropertyValue("alwaysShowTooltip",!1),e.setPropertyValue("showTooltipOn","hover"),e._prevMeasuredWidth=0,e._prevMeasuredHeight=0,e._measuredWidth=0,e._measuredHeight=0,e._isMeasured=!0,e.invalidate(),e.applyTheme(),e._disposers.push(e.events),e._disposers.push(e.group),e._disposers.push(e._mask),e._disposers.push(e._language),e._disposers.push(e._exporting),e._disposers.push(new tr(function(){Le(e._bindings,function(i,n){n.dispose()})})),e.setPropertyValue("interactionsEnabled",!0),e}return Object.defineProperty(r.prototype,"events",{get:function(){return this._eventDispatcher},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"adapter",{get:function(){return this._adapterO||(this._adapterO=new gr(this)),this._adapterO},enumerable:!0,configurable:!0}),r.prototype.applyTheme=function(){t.prototype.applyTheme.call(this)},r.prototype.getCurrentThemes=function(){var e=this._themes;if(e)return e;var i=this._parent;return i?i.getCurrentThemes():k.themes},r.prototype.applyInternalDefaults=function(){this._internalDefaultsApplied=!0},r.prototype.invalidate=function(){this.disabled||this._isTemplate||this.__disabled||this.invalid||(this.invalid=!0,k.addToInvalidSprites(this),Re.requestFrame())},r.prototype.validate=function(){this.dispatchImmediately("beforevalidated"),this._internalDefaultsApplied||this.applyInternalDefaults(),this.beforeDraw(),this.draw(),this.invalid=!1,k.removeFromInvalidSprites(this),this.afterDraw()},r.prototype.invalidatePosition=function(){this.disabled||this._isTemplate||this.positionInvalid||(this.positionInvalid=!0,k.addToInvalidPositions(this),Re.requestFrame())},r.prototype.validatePosition=function(){var e=this.pixelX,i=this.pixelY,n=this.dx,s=this.dy,a=e+n,o=i+s;this._updateDisabled&&(this._internalDisabled?this.group.attr({display:"none"}):this.disabled||this.removeSVGAttribute("display"),this._updateDisabled=!1);var l=this.measure(),u=this.group.transformString;this.group.moveTo({x:a,y:o}),this.group.rotation=this.rotation,this.nonScaling?this.group.scale=this.scale/this.globalScale:this.group.scale=this.scale,(u!=this.group.transformString||l)&&(u==null?this.dispatch("transformed"):this.dispatchImmediately("transformed"),this.dispatch("positionchanged"),(this.showTooltipOn=="hit"||this.showTooltipOn=="always")&&this.updateTooltipPosition()),e+n==a&&i+s==o&&(k.removeFromInvalidPositions(this),this.positionInvalid=!1);var c=this._maskRectangle;c&&this._clipElement.moveTo({x:c.x-e,y:c.y-i})},r.prototype.beforeDraw=function(){},r.prototype.draw=function(){},r.prototype.afterDraw=function(){var e,i;if((this.isMeasured||this.horizontalCenter!=="none"||this.verticalCenter!=="none")&&this.measureElement(),this._inited)this.dispatch("validated");else{if(this._adapterO)try{for(var n=cw(this._adapterO.keys()),s=n.next();!s.done;s=n.next()){var a=s.value;switch(a){case"mask":case"fill":case"opacity":case"fillOpacity":case"stroke":case"strokeOpacity":case"strokeWidth":case"shapeRendering":case"strokeDasharray":case"strokeDashoffset":case"strokeLinecap":case"strokeLinejoin":case"textDecoration":case"fontSize":case"fontFamily":case"fontWeight":this[a]=this[a];break}}}catch(o){e={error:o}}finally{try{s&&!s.done&&(i=n.return)&&i.call(n)}finally{if(e)throw e.error}}this.applyFilters(),this.visible=this.visible,this.interactionsEnabled=this.getPropertyValue("interactionsEnabled"),this._inited=!0,this.showOnInit||(this.appeared=!0),this.hidden&&this.hide(0),this.applyMask(),this.dispatch("validated"),this.dispatch("inited"),this.dispatchReady()}this.showTooltipOn=="always"&&(this.visible&&!this.disabled&&!this.__disabled?this.showTooltip():this.hideTooltip(0))},r.prototype.dispatchReady=function(){this.isReady()||(this._ready=!0,this.dispatch("ready"))},r.prototype.reinit=function(){this._inited=!1,this.setState(this.defaultState),this.invalidate()},r.prototype.handleGlobalScale=function(){this.dispatch("globalscalechanged"),this.nonScalingStroke&&(this.strokeWidth=this.strokeWidth),this.nonScaling&&this.validatePosition(),this.updateFilterScale()},r.prototype.updateFilterScale=function(){var e=this;Ve(this.filters.iterator(),function(i){i.scale=e.globalScale})},r.prototype.removeFromInvalids=function(){k.removeFromInvalidSprites(this),k.removeFromInvalidPositions(this)},r.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),this.isMeasured=e.isMeasured,this.states.copyFrom(e.states),e.filters.length>0&&e.filters.each(function(n){i.filters.push(n.clone())}),e._adapterO&&this.adapter.copyFrom(e._adapterO),e._interaction&&this.interactions.copyFrom(e.interactions),e._plugins&&this.plugins.copyFrom(e.plugins),this.configField=e.configField,this.applyOnClones=e.applyOnClones,this.disabled=e.disabled,this.virtualParent=e.virtualParent,this.exportable=e.exportable,e._tooltip&&(this._tooltip?this._tooltip.copyFrom(e.tooltip):e.cloneTooltip?this.tooltip=e.tooltip.clone():this._tooltip=e.tooltip),this._showSystemTooltip=e.showSystemTooltip,vs(e.propertyFields,this.propertyFields),vs(e.properties,this),e.fillModifier&&(this.fillModifier=e.fillModifier.clone()),e.strokeModifier&&(this.strokeModifier=e.strokeModifier.clone()),e.focusFilter&&(this.focusFilter=e.focusFilter.clone())},r.prototype.dispose=function(){if(!this.isDisposed()){if(this.showTooltipOn=="always"&&this.tooltip&&this.tooltip.hide(),this.dispatchImmediately("beforedisposed"),this.isBaseSprite){if(this.htmlContainer)for(;this.htmlContainer.childNodes.length>0;)this.htmlContainer.removeChild(this.htmlContainer.firstChild);this.isBaseSprite=!1}if(t.prototype.dispose.call(this),this._adapterO&&this._adapterO.clear(),this.applyOnClones&&this._clones)for(var e=this._clones.length-1;e>=0;e--){var i=this._clones.getIndex(e);i.dispose()}this._svgContainer&&this._svgContainer.dispose(),this._interactionDisposer&&(this._interactionDisposer.dispose(),this._interactionDisposer=void 0),this._urlDisposer&&this._urlDisposer.dispose(),this.removeFromInvalids(),this.element&&this.element.dispose(),this.group&&this.group.dispose(),this._numberFormatter&&this._numberFormatter.dispose(),this._focusFilter&&this._focusFilter.dispose();var n=this.stroke;n&&!(n instanceof pt)&&n.dispose&&(this.clonedFrom&&this.clonedFrom.stroke==n||n.dispose());var s=this.fill;if(s&&!(s instanceof pt)&&s.dispose&&(this.clonedFrom&&this.clonedFrom.fill==s||s.dispose()),O(this.id)&&this.map.removeKey(this.id),this.parent=void 0,this._filters)for(;this._filters.length>0;){var a=this._filters.getIndex(0);a.dispose(),this._filters.removeValue(a)}this._alwaysShowDisposers=void 0}},Object.defineProperty(r.prototype,"isTemplate",{get:function(){return this._isTemplate},set:function(e){e=lt(e),this._isTemplate!=e&&(this._isTemplate=e,this instanceof It&&Ve(this.children.iterator(),function(i){i.isTemplate=e}),e?(this.parent=this._parent,this.removeFromInvalids()):this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"showSystemTooltip",{get:function(){return O(this._showSystemTooltip)?this._showSystemTooltip:this.virtualParent?this.virtualParent.showSystemTooltip:this._parent?this._parent.showSystemTooltip:!1},set:function(e){e=lt(e),this._showSystemTooltip!=e&&(this._showSystemTooltip=e,this.applyAccessibility())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"topParent",{get:function(){if(this._topParent)return this._topParent;if(this._parent)return this._parent.topParent},set:function(e){this._topParent=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"parent",{get:function(){return this._parent},set:function(e){if(!this._isTemplate){this.paper;var i=this._parent;i!=e&&(i&&i.children.removeValue(this),this._parent=e,e?(this.topParent=e.topParent,e.isTemplate&&(this.isTemplate=!0),this.baseId=e.baseId,e.children.push(this),this._tooltip&&!this._tooltipContainer&&(this._tooltip.parent=e.tooltipContainer),this._dataItem||(this.dataItem=e.dataItem),this.handleAlwaysShowTooltip(),this.dataItem&&this.applyAccessibility(),this.dispatchImmediately("parentset")):this.topParent=void 0)}},enumerable:!0,configurable:!0}),r.prototype.handleAlwaysShow=function(){this.showTooltip()},r.prototype.handleAlwaysShowTooltip=function(){var e=this,i=this._alwaysShowDisposers;if(i&&ye(i,function(s){s.dispose()}),this._alwaysShowDisposers=[],this.showTooltipOn=="always")for(;e!=null;){var n=e.events.on("visibilitychanged",this.handleAlwaysShow,this,!1);this.addDisposer(n),this._alwaysShowDisposers.push(n),e=e.parent}},Object.defineProperty(r.prototype,"virtualParent",{get:function(){return this._virtualParent},set:function(e){this._virtualParent=e,this.dataItem&&this.applyAccessibility()},enumerable:!0,configurable:!0}),r.prototype.appendDefs=function(){this.filterElement&&this.paper.appendDef(this.filterElement);var e=this.fill;e&&e.element&&this.paper.appendDef(e.element);var i=this.stroke;if(i&&i.element&&this.paper.appendDef(i.element),this.fillModifier&&this.fill instanceof pt){var n=this.fillModifier.modify(this.fill);n&&n.element&&this.paper.appendDef(n.element)}if(this.strokeModifier&&this.stroke instanceof pt){var s=this.strokeModifier.modify(this.stroke);s&&s.element&&this.paper.appendDef(s.element)}this._clipPath&&this.paper.appendDef(this._clipPath),this._exportable===!1&&(this.exportable=!1)},Object.defineProperty(r.prototype,"map",{get:function(){var e=this.topParent;return e?e.map:(this._map||(this._map=new $t),this._map)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"delayedMap",{get:function(){var e=this.topParent;return e?e.delayedMap:(this._delayedMap||(this._delayedMap=new $t),this._delayedMap)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"id",{get:function(){return this._id},set:function(e){if(this._id!=e){if(this._id=e,this.map.hasKey(e))throw Error("Duplicate id ("+e+") used on multiple objects.");this.map.setKey(e,this)}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dom",{get:function(){return this.group.node},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"paper",{get:function(){if(this._paper)return this._paper;var e=this._parent;return e?e.paper:go()},set:function(e){this.setPaper(e)},enumerable:!0,configurable:!0}),r.prototype.setPaper=function(e){var i=this._paper;return i!=e?(this._paper=e,this.appendDefs(),!0):!1},Object.defineProperty(r.prototype,"htmlContainer",{get:function(){if(this._htmlContainer)return this._htmlContainer;var e=this._parent;if(e)return e.htmlContainer},set:function(e){this._htmlContainer=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"titleElement",{get:function(){return this._titleElement||(this._titleElement=this.paper.add("title"),this.group.add(this._titleElement)),this._titleElement},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"descriptionElement",{get:function(){return this._descriptionElement||(this._descriptionElement=this.paper.add("desc"),this.group.add(this._descriptionElement)),this._descriptionElement},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"filters",{get:function(){return this._filters||(this._filters=new vt,this._disposers.push(this._filters.events.onAll(this.applyFilters,this)),this._disposers.push(new Mn(this._filters))),this._filters},enumerable:!0,configurable:!0}),r.prototype.setSVGAttributes=function(){this.fill=this.fill,this.opacity=this.opacity,this.fillOpacity=this.fillOpacity,this.stroke=this.stroke,this.strokeOpacity=this.strokeOpacity,this.shapeRendering=this.shapeRendering,this.strokeDasharray=this.strokeDasharray,this.strokeDashoffset=this.strokeDashoffset,this.strokeLinecap=this.strokeLinecap,this.strokeLinejoin=this.strokeLinejoin,this.focusable=this.focusable,this.tabindex=this.tabindex,this.role=this.role},r.prototype.setSVGAttribute=function(e){this.group.attr(e)},r.prototype.removeSVGAttribute=function(e){this.group.removeAttr(e)},r.prototype.setClassName=function(){var e=this.className,i=Dr.classNamePrefix;this.element&&this.element.addClass(i+e),this.group.addClass(i+e+"-group"),O(this.id)&&this.group.addClass(i+this.id),this.userClassName&&this.group.addClass(this.userClassName)},r.prototype.uidAttr=function(){return this.setSVGAttribute({id:this.uid}),this.uid},r.prototype.updateClipPath=function(){var e=this._clipElement;e&&e.moveTo({x:this.mask.pixelX,y:this.mask.pixelY})},r.prototype.createClipPath=function(){if(!this._clipPath){this._clipPath=this.paper.addGroup("clipPath"),this.paper.appendDef(this._clipPath),this._disposers.push(this._clipPath);var e=k.getUniqueId();this._clipPath.attr({id:e}),this.group.attr({"clip-path":'url("'+ma()+e+'")'})}},r.prototype.applyMask=function(){var e=this.mask;if(this._clipPath&&e)if(e instanceof It){this._clipElement.attr({width:st(0,e.pixelWidth),height:st(0,e.pixelHeight)});var i=ny({x:e.pixelX,y:e.pixelY},e.parent,this);this._clipPath.x=i.x,this._clipPath.y=i.y}else e.element&&e.element!=this._clipElement&&(this._clipElement=e.element,this._clipPath.add(this._clipElement)),this._clipPath.scale=e.scale,this._clipPath.x=e.pixelX,this._clipPath.y=e.pixelY,this._clipPath.rotation=e.rotation},r.prototype.applyFilters=function(){var e=this;if(this._filters&&this._filters.length>0){var i=100,n=100;this.filterElement?this.filterElement.removeChildNodes():(this.filterElement=this.paper.addGroup("filter"),this._disposers.push(this.filterElement)),this.paper.appendDef(this.filterElement);var s="filter-"+this.uid;this.filterElement.attr({id:s}),Ve(this.filters.iterator(),function(l){l.sprite=e,l.paper=e.paper,e.filterElement.attr({filterUnits:l.filterUnits}),l.appendPrimitives(e.filterElement),l.width>i&&(i=l.width),l.height>n&&(n=l.height),l.scale=e.globalScale});var a=i+"%",o=n+"%";this.filterElement.attr({width:a,height:o,x:-(i-100)/2+"%",y:-(n-100)/2+"%"}),this.group.attr({filter:'url("'+ma()+s+'")'})}else this.filterElement&&(this.group.removeAttr("filter"),this.filterElement.removeChildNodes())},r.prototype.removeClipPath=function(){this._clipPath&&(this.removeDispose(this._clipPath),this._clipPath=void 0)},r.prototype.setElement=function(e){this.element=e,this.setSVGAttributes(),this.applyAccessibility()},Object.defineProperty(r.prototype,"element",{get:function(){return this._element},set:function(e){this.removeElement(),this._element=e,this.group.add(e),e.node instanceof SVGPathElement&&(this._isPath=!0),this.invalid||this.validate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"svgContainer",{get:function(){if(this._svgContainer)return this._svgContainer;if(this._parent)return this._parent.svgContainer},set:function(e){this._svgContainer=e},enumerable:!0,configurable:!0}),r.prototype.measureElement=function(){if(this.element)if(this.definedBBox)this._bbox=this.definedBBox;else{var e=this.element.getBBox();this._bbox={x:e.x,y:e.y,width:e.width,height:e.height}}},r.prototype.updateCenter=function(){if(this.element){var e=this.element.transformString,i=this.bbox,n=0,s=0,a=i.x,o=i.y,l=i.width,u=i.height,c=this.pixelPaddingLeft,h=this.pixelPaddingRight,d=this.pixelPaddingTop,f=this.pixelPaddingBottom,p=st(l+c+h,this.pixelWidth),g=st(u+d+f,this.pixelHeight),v=i.x,y=i.x+p,m=i.y,w=i.y+g,C=this.horizontalCenter,P=this.verticalCenter;switch(C){case"none":n=a+c;break;case"left":n=c;break;case"middle":n=c-(l+h+c)/2;break;case"right":n=-h-l;break}switch(P){case"none":s=o+d;break;case"top":s=d;break;case"middle":s=d-(u+f+d)/2;break;case"bottom":s=-f-u;break}this._measuredHeight=g,this._measuredWidth=p;var E=me(n-a,this._positionPrecision,!0),V=me(s-o,this._positionPrecision,!0);this.ex=E-c,this.ey=V-d,this.maxLeft=v+E-c,this.maxRight=y+E-c,this.maxTop=m+V-d,this.maxBottom=w+V-d,this.pixelPerfect&&Dr.pixelPerfectPrecision==0&&(E-=.5,V-=.5),this.element.moveTo({x:E,y:V}),e!=this.element.transformString&&this.dispatchImmediately("transformed")}},r.prototype.measure=function(){this.updateCenter();var e=this._measuredWidth,i=this._measuredHeight,n=this.maxLeft,s=this.maxRight,a=this.maxTop,o=this.maxBottom;this._measuredWidthSelf=e,this._measuredHeightSelf=i;var l=this._positionPrecision;if(this.maxLeftSelf=this.maxLeft,this.maxRightSelf=this.maxRight,this.maxTopSelf=this.maxTop,this.maxBottomSelf=this.maxBottom,this.rotation!==0||this.scale!==1||this.nonScaling){this.nonScalingStroke&&(this.strokeWidth=this.strokeWidth);var u=this.paper.svg,c=u.createSVGMatrix(),h=this.rotation,d=this.scale;this.nonScaling&&(d=this.scale/this.globalScale),c.a=it(h)*d,c.c=-Qe(h)*d,c.e=0,c.b=Qe(h)*d,c.d=it(h)*d,c.f=0;var f=u.createSVGPoint();f.x=n,f.y=a;var p=u.createSVGPoint();p.x=s,p.y=a;var g=u.createSVGPoint();g.x=s,g.y=o;var v=u.createSVGPoint();v.x=n,v.y=o;var y=f.matrixTransform(c),m=p.matrixTransform(c),w=g.matrixTransform(c),C=v.matrixTransform(c);n=Math.min(y.x,m.x,w.x,C.x),s=Math.max(y.x,m.x,w.x,C.x),a=Math.min(y.y,m.y,w.y,C.y),o=Math.max(y.y,m.y,w.y,C.y),e=s-n,i=o-a,this.maxLeft=me(n,l,!0),this.maxRight=me(s,l,!0),this.maxTop=me(a,l,!0),this.maxBottom=me(o,l,!0)}return this._measuredWidth=me(e,l,!0),this._measuredHeight=me(i,l,!0),this._measuredWidth!=this._prevMeasuredWidth||this._measuredHeight!=this._prevMeasuredHeight?(this._prevMeasuredHeight=this._measuredHeight,this._prevMeasuredWidth=this._measuredWidth,this.dispatch("sizechanged"),(this.isHover||this.showTooltipOn=="hit"||this.showTooltipOn=="always")&&this.tooltip&&this.tooltip.visible&&(O(this.tooltipText)||O(this.tooltipHTML))&&this.updateTooltipPosition(),!0):!1},r.prototype.insertBefore=function(e){var i=this._parent;if(i){var n=i.children.indexOf(e);n!==-1&&(i.children.moveValue(this,n),i.sortChildren())}return this},r.prototype.insertAfter=function(e){var i=this._parent;if(i){var n=i.children.indexOf(e);n!==-1&&(i.children.moveValue(this,n+1),i.sortChildren())}return this},r.prototype.removeElement=function(){this._element&&(this.removeDispose(this._element),this._element=void 0)},r.prototype.getRelativeX=function(e){return e instanceof ct?e.value:this._parent?e/this._parent.innerWidth:0},r.prototype.getRelativeY=function(e){return e instanceof ct?e.value:this._parent?e/this._parent.innerHeight:0},r.prototype.getPixelX=function(e){var i=0;if(x(e))i=e;else if(e instanceof ct){var n=e.value;this._parent&&(i=me(this._parent.innerWidth*n,this._positionPrecision,!0))}return i},r.prototype.getPixelY=function(e){var i=0;if(x(e))i=e;else if(e instanceof ct){var n=e.value;this._parent&&(i=me(this._parent.innerHeight*n,this._positionPrecision,!0))}return i},r.prototype.moveTo=function(e,i,n,s){this.isDragged&&!s||(e&&(x(e.x)&&this.setPropertyValue("x",me(e.x,this._positionPrecision,!0)),x(e.y)&&this.setPropertyValue("y",me(e.y,this._positionPrecision,!0))),x(i)&&(this.rotation=i),x(n)&&(this.scale=n),this.invalidatePosition())},Object.defineProperty(r.prototype,"mask",{get:function(){return this._adapterO?this._adapterO.apply("mask",this._mask.get()):this._mask.get()},set:function(e){var i=this;this._mask.get()!==e&&(e?(this.createClipPath(),e instanceof It?this._clipElement=this.paper.add("rect"):(e.isMeasured=!1,e.element&&(this._clipElement=e.element)),this._clipElement&&this._clipPath.add(this._clipElement),this._mask.set(e,new Mt([e.events.on("maxsizechanged",function(){i.inited&&i.applyMask()},void 0,!1),e.events.on("validated",this.applyMask,this,!1),e.events.on("positionchanged",this.applyMask,this,!1)])),this.applyMask()):(this._mask.reset(),this.group.removeAttr("clip-path"),this.removeClipPath()))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maskRectangle",{get:function(){return this._maskRectangle},set:function(e){e?(this.createClipPath(),this._clipElement||(this._clipElement=this.paper.add("rect"),this._clipPath.add(this._clipElement)),this._clipElement.attr({width:e.width,height:e.height})):(this.removeClipPath(),this._clipElement=void 0),this._maskRectangle=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isMeasured",{get:function(){return this._isMeasured},set:function(e){e=lt(e),e||(this._measuredWidth=0,this._measuredHeight=0),this._isMeasured!=e&&(this._isMeasured=e,this.invalidatePosition())},enumerable:!0,configurable:!0}),r.prototype.hitTest=function(e){this.invalid&&this.validate(),e.invalid&&e.validate();var i=this.pixelX+this.maxLeft,n=this.pixelY+this.maxTop,s=i+this.maxRight,a=n+this.maxBottom,o=e.pixelX+e.maxLeft,l=e.pixelY+e.maxTop,u=o+e.maxRight,c=l+e.maxBottom;return!(o>s||ua||c0&&(l=this.animate(a,i,n),l&&!l.isFinished()?this._disposers.push(l.events.on("animationended",function(){s.dispatchImmediately("transitionended")})):this.dispatchImmediately("transitionended")),e.filters.length>0){var u=[];Ve(e.filters.iterator(),function(c){var h=c.clone();u.push(h);var d=[];Ve(s.filters.iterator(),function(f){f.className==h.className&&(Q0(s.defaultState.filters.iterator(),function(p){return p.className===h.className})||s.defaultState.filters.push(f),Le(h.properties,function(p,g){var v=f.properties[p];v!=g&&d.push({property:p,from:v,to:g})}))}),h.animate(d,i,n)}),this.filters.clear(),this.filters.pushAll(u)}return l},r.prototype.isInTransition=function(){return this.animations.length>0},Object.defineProperty(r.prototype,"isHover",{get:function(){return this.isInteractive()?this.interactions.isHover:!1},set:function(e){e=lt(e),e!==this.isHover&&this.isInteractive()&&(this.interactions.isHover=e,e?this.handleOver():(this.interactions.isRealHover=!1,this.handleOut()))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isDragged",{get:function(){return this._isDragged},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isResized",{get:function(){return this._isResized},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isDown",{get:function(){return this.isInteractive()?this.interactions.isDown:!1},set:function(e){e=lt(e),this.isInteractive()&&this.isDown!=e&&(this.interactions.isDown=e,e?this.handleDown():this.handleUp())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isFocused",{get:function(){return this.isInteractive()?this.interactions.isFocused:!1},set:function(e){e=lt(e),this.focusable&&this.isFocused!=e&&this.isInteractive()&&(this.interactions.isFocused=e,e===!0?this.handleFocus():this.handleBlur())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isActive",{get:function(){return this._isActive},set:function(e){this.setActive(e)},enumerable:!0,configurable:!0}),r.prototype.setActive=function(e){e=lt(e),this._isActive!==e&&(this._isActive=e,e&&this.states.hasKey("active")?(this.setState("active"),this.isHover&&this.states.hasKey("hoverActive")&&this.setState("hoverActive")):this.applyCurrentState(),this.dispatchImmediately("toggled"))},Object.defineProperty(r.prototype,"disabled",{get:function(){var e=this.getPropertyValue("disabled");return O(e)?e:this.virtualParent?this.virtualParent.disabled:this._parent?this._parent.disabled:!1},set:function(e){this.setDisabled(e)},enumerable:!0,configurable:!0}),r.prototype.setDisabled=function(e){e=lt(e);var i=this.getPropertyValue("disabled");if(i!=e){if(this.setPropertyValue("disabled",e,!0),e)this.parent=this._parent,this.removeFromInvalids(),this.group.attr({display:"none"}),this.dispatch("disabled");else{if(this._parent){var n=this._parent.element;n.hasChild(this.group)||n.add(this.group)}this instanceof It?(this.deepInvalidate(),this._background&&this._background.invalidate()):this.invalidate(),this.__disabled||this.removeSVGAttribute("display"),this.dispatch("enabled")}return this.dispatch("transformed"),Re.requestFrame(),!0}return!1},Object.defineProperty(r.prototype,"__disabled",{get:function(){return this._internalDisabled},set:function(e){this._internalDisabled!=e&&(this._internalDisabled=e,this._updateDisabled=!0,this.invalidatePosition(),e||this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"numberFormatter",{get:function(){return this._numberFormatter?this._numberFormatter:this.virtualParent?this.virtualParent.numberFormatter:this._parent?this._parent.numberFormatter:(this._numberFormatter=new Wd,this._numberFormatter.language=this.language,this.numberFormatter)},set:function(e){this._numberFormatter=e,this._numberFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dateFormatter",{get:function(){return this._dateFormatter?this._dateFormatter:this.virtualParent?this.virtualParent.dateFormatter:this._parent?this._parent.dateFormatter:(this._dateFormatter=new vo,this._dateFormatter.language=this.language,this.dateFormatter)},set:function(e){this._dateFormatter=e,this._dateFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"durationFormatter",{get:function(){return this._durationFormatter?this._durationFormatter:this.virtualParent?this.virtualParent.durationFormatter:this._parent?this._parent.durationFormatter:(this._durationFormatter=new Yd,this._durationFormatter.language=this.language,this.durationFormatter)},set:function(e){this._durationFormatter=e,this._durationFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"language",{get:function(){var e=this._language.get();return e||(this.virtualParent?this.virtualParent.language:this._parent?this._parent.language:(e=new cn,this.language=e,e))},set:function(e){var i=this;this._language.get()!==e&&this._language.set(e,e.events.on("localechanged",function(n){if(i._numberFormatter&&(i._numberFormatter.language=i.language),i._dateFormatter&&(i._dateFormatter.language=i.language),i._durationFormatter&&(i._durationFormatter.language=i.language),i._exporting.get()){var s=i._exporting.get();s.numberFormatter.language=i.language,s.dateFormatter.language=i.language,s.durationFormatter.language=i.language,s.language=i.language}i instanceof It&&i.deepInvalidate()}))},enumerable:!0,configurable:!0}),r.prototype.populateString=function(e,i){if(O(e)){e=Ad(e),e=Di().escape(e);var n=e.match(/\{([^}]+)\}/g),s=void 0;if(n)for(s=0;sh?1:l.idx-u.idx}),e=i.map(function(l){return l.data});var n=this.element,s=!0;if(n.node&&n.node.childNodes){for(var a=0,o=n.node.childNodes.length;a0;){var e=this.children.getIndex(0);e.parent=void 0,this.children.removeValue(e)}},r.prototype.disposeChildren=function(){for(;this.children.length>0;){var e=this.children.getIndex(0);e.dispose(),this.children.removeValue(e)}},Object.defineProperty(r.prototype,"background",{get:function(){return this._background||(this._background=this.createBackground(),this.processBackground()),this._background},set:function(e){this._background&&this.background!=e&&this.removeDispose(this._background),e&&(this._background=e,this._disposers.push(e),this.processBackground())},enumerable:!0,configurable:!0}),r.prototype.handleGlobalScale=function(){t.prototype.handleGlobalScale.call(this),this.children.each(function(e){e.handleGlobalScale()})},r.prototype.createBackground=function(){return new Gd},r.prototype.processBackground=function(){var e=this._background;e&&(e.isMeasured=!1,this._background.fill=new Kt().getFor("background"),e.parent=this,e.isMeasured=!1,this.children.removeValue(e),this._disposers.push(e),this.group.addToBack(this._background.group))},r.prototype.validateLayout=function(){var e=this;k.removeFromInvalidLayouts(this),this.layoutInvalid=!1,this._availableWidth=this.innerWidth,this._availableHeight=this.innerHeight;var i=0,n=0,s=!0;this.children&&(this.sortChildren(),ye(this._childrenByLayout,function(a){var o,l;if(x(a.relativeWidth)?(o=me(e._availableWidth*a.relativeWidth,2),e.layout=="horizontal"&&(o-=a.pixelMarginRight+a.pixelMarginLeft)):e.layout=="horizontal"&&a.invalid&&a.validate(),x(a.relativeHeight)?(l=me(e._availableHeight*a.relativeHeight,2),e.layout=="vertical"&&(l-=a.pixelMarginTop+a.pixelMarginBottom)):e.layout=="vertical"&&a.invalid&&a.validate(),a.invalid==!1){if(x(a.relativeWidth)&&(a.maxWidth=o),x(a.relativeHeight)&&(a.maxHeight=l),a.isMeasured){e.layout=="horizontal"&&(x(a.percentWidth)||a.measuredWidth>0&&(e._availableWidth-=a.measuredWidth+a.pixelMarginLeft+a.pixelMarginRight)),e.layout=="vertical"&&(x(a.percentHeight)||a.measuredHeight>0&&(e._availableHeight-=a.measuredHeight+a.pixelMarginTop+a.pixelMarginBottom));var u=a.measuredWidth,c=a.measuredHeight;a.align!="none"&&(u+=a.pixelMarginLeft+a.pixelMarginRight),a.valign!="none"&&(c+=a.pixelMarginTop+a.pixelMarginBottom),i=Math.max(i,u),n=Math.max(n,c)}}else a.isMeasured&&(x(a.relativeWidth)&&a.maxWidth!=o&&(a.maxWidth=o,s=!1),x(a.relativeHeight)&&a.maxHeight!=l&&(a.maxHeight=l,s=!1))})),this._absoluteWidth=i,this._absoluteHeight=n,s&&this.arrange()},r.prototype.arrange=function(){var e=this,i=this.children,n=0,s=0,a=st(this.innerWidth,this._absoluteWidth),o=st(this.innerHeight,this._absoluteHeight),l,u,c,h,d=this.pixelPaddingLeft,f=this.pixelPaddingRight,p=this.pixelPaddingTop,g=this.pixelPaddingBottom,v=0,y=0,m=0,w=0,C=[],P=[],E,V,D,R=this.maxWidth,Q=this.maxHeight,ge=this.minWidth,H=this.minHeight,q=qa(i.values);if(this.reverseOrder&&q.reverse(),this.layout=="grid"){V=R,E=1;for(var _e=0,we=q.length;_eE&&(E=te)}}V=Ne(V,1,R),E=Ne(E,1,R),this.fixedWidthGrid?D=R/E:D=R/V,D=st(1,Math.floor(D)),D=jt(this.maxColumns,D),C=this.getColumnWidth(q,D,E)}for(var pe,Te,Je,Ce,_e=0,we=q.length;_ejt(this.innerWidth,R)-M+1&&w=D&&(w=0,y+=P[m],m++,v=0);break}this.layout!=="none"&&($.moveTo({x:Ee,y:ce}),ae=Ee+$.maxLeft-xe,ve=Ee+$.maxRight+L,b=ce+$.maxTop-U,_=ce+$.maxBottom+G,(ve>u||!x(u))&&(u=ve),(aeh||!x(h))&&(h=_),(ve>Te||!x(Te))&&(Te=ve),(aeCe||!x(Ce))&&(Ce=Ce))}else $.validatePosition()}if(this.layout=="none"){var B=this.bbox;l=B.x,u=B.x+B.width,c=B.y,h=B.y+B.height}x(l)||(l=0,pe=0),x(u)||(u=this._availableWidth,Te=u),x(c)||(c=0,Je=0),x(h)||(h=this._availableHeight,Ce=h),x(Je)||(Je=0),x(Ce)||(Ce=Je),x(pe)||(pe=0),x(Te)||(Te=pe),n=u-l,s=h-c,x(this.relativeWidth)&&(n=R-d-f,l=0,u=n),x(this.relativeHeight)&&(s=Q-p-g,c=0,h=s),x(this._pixelWidth)&&(l=0,n=this._pixelWidth-d-f),x(ge)&&n0){var W,Y,K=n,J=s;K=-s&&i<=this.pixelWidth+s&&n>=-s&&n<=this.pixelHeight+s},r.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),this.layout=e.layout,this.setStateOnChildren=e.setStateOnChildren,e._background&&(this.background=e._background.clone(),this.background.copyFrom(e._background)),Ve(e.children.iterator(),function(n){if(n.shouldClone){var s=n.clone();s.parent=i}})},Object.defineProperty(r.prototype,"preloader",{get:function(){var e=this._preloader;if(e)return e;if(this.parent)return this.parent.preloader},set:function(e){this._preloader&&this.removeDispose(this._preloader),this._preloader=e,e&&(e.parent=this.tooltipContainer,this._disposers.push(e))},enumerable:!0,configurable:!0}),r.prototype.setPaper=function(e){var i=this,n=t.prototype.setPaper.call(this,e);return n&&(this._background&&(this._background.paper=e,this._background.topParent=this.topParent),this.children.each(function(s){s.setPaper(e),s.topParent=i.topParent})),n},r.prototype.removeFromInvalids=function(){t.prototype.removeFromInvalids.call(this),k.removeFromInvalidLayouts(this)},r.prototype.setDataItem=function(e){this._dataItem!=e&&(Ve(this.children.iterator(),function(i){i.dataItem=e}),this._background&&(this._background.dataItem=e)),t.prototype.setDataItem.call(this,e)},r.prototype.measureElement=function(){this.disabled||this.isTemplate||this.layout=="none"||this.__disabled||this.validateLayout()},Object.defineProperty(r.prototype,"fontFamily",{get:function(){return this.getPropertyValue("fontFamily")},set:function(e){this.setPropertyValue("fontFamily",e,!0)&&(this.setSVGAttribute({"font-family":e}),this.invalidateLabels())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"fontSize",{get:function(){return this.getPropertyValue("fontSize")},set:function(e){this.setPropertyValue("fontSize",e,!0)&&(this.setSVGAttribute({"font-size":e}),this.invalidateLabels())},enumerable:!0,configurable:!0}),r.prototype.invalidateLabels=function(){this.children.each(function(e){e.hardInvalidate?(e.hardInvalidate(),e.events.once("validated",e.handleValidate,e,!1)):e instanceof r&&e.invalidateLabels()})},Object.defineProperty(r.prototype,"fontWeight",{get:function(){return this.getPropertyValue("fontWeight")},set:function(e){this.setPropertyValue("fontWeight",e),this.setSVGAttribute({"font-weight":e})},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"textDecoration",{get:function(){return this.getPropertyValue("textDecoration")},set:function(e){this.setPropertyValue("textDecoration",e),this.setSVGAttribute({"text-decoration":e})},enumerable:!0,configurable:!0}),r.prototype.dispose=function(){this._background&&this._background.dispose(),this._shouldBeReady=[],this.disposeChildren(),t.prototype.dispose.call(this)},r.prototype.setState=function(e,i,n){var s=e;return e instanceof Wl&&(s=e.name),this.setStateOnChildren&&Ve(this.children.iterator(),function(a){a.setState(s,i,n),s!="active"&&(a.isActive=!1)}),this._background&&this._background.setState(s),this.setStateOnSprites.length&&ye(this.setStateOnSprites,function(a){a.setState(s,i,n)}),t.prototype.setState.call(this,e,i,n)},r.prototype.setActive=function(e){t.prototype.setActive.call(this,e),this._background&&(this._background.isActive=e)},r.prototype.dispatchReady=function(){var e=this;if(!this.isReady()&&!this.isDisposed()){var i=!0;Fd(this.children.iterator(),function(n){return!n.__disabled&&!n.disabled&&!n.isReady()?(i=!1,!1):!0}),N0(this._shouldBeReady,function(n){return!n.__disabled&&!n.disabled&&!n.isReady()?(i=!1,!1):!0}),i?t.prototype.dispatchReady.call(this):k.events.once("exitframe",function(){e.dispatchReady(),Re.requestFrame()},void 0,!1)}},r.prototype._systemUpdate=function(e){this.children.each(function(i){i.invalid&&(i._systemCheckIfValidate()?i.dataItem&&i.dataItem.component&&i.dataItem.component.dataInvalid?e.push(i):i.validate():e.push(i))}),t.prototype._systemUpdate.call(this,e)},r.prototype._systemValidatePositions=function(){this.children.each(function(e){e.positionInvalid&&e.validatePosition()}),t.prototype._systemValidatePositions.call(this)},r.prototype._systemValidateLayouts=function(){this.layoutInvalid&&!this.isDisposed()&&this.validateLayout()},Object.defineProperty(r.prototype,"tapToActivate",{get:function(){return this._tapToActivate},set:function(e){this._tapToActivate!=e&&this.setTapToActivate(e)},enumerable:!0,configurable:!0}),r.prototype.setTapToActivate=function(e){var i=this;this._tapToActivate=e,this.interactions.isTouchProtected=e,e&&this.interactions.setEventDisposer("container-tapToActivate",e,function(){return new Mt([i.events.on("hit",i.handleTapToActivate,i,!1),i.events.on("down",i.initTapTimeout,i,!1),i.events.on("track",i.initTapTimeout,i,!1),Ae().body.events.on("down",function(n){Ae().isLocalElement(n.pointer,i.paper.svg,i.uid)||i.handleTapToActivateDeactivation()},i,!1)])}),Ae()},r.prototype.handleTapToActivate=function(){this.interactions.isTouchProtected=!1,this.initTapTimeout()},r.prototype.handleTapToActivateDeactivation=function(){this.interactions.isTouchProtected=!0},r.prototype.initTapTimeout=function(){var e=this;this._tapToActivateTimeout&&this._tapToActivateTimeout.dispose(),this.tapToActivate&&!this.interactions.isTouchProtected&&this.tapTimeout&&(this._tapToActivateTimeout=this.setTimeout(function(){e.handleTapToActivateDeactivation()},this.tapTimeout))},r.prototype.moveHtmlContainer=function(e){var i=cy(e);if(i){this.htmlContainer=i;var n=this.svgContainer;n.htmlElement=i,n.htmlElement.appendChild(n.SVGContainer),n.initSensor(),n.measure()}else kt(e)&&e!=""&&Re.log("html container '"+e+"' not found")},r.prototype.hasLicense=function(){for(var e=0;e0;){var a=s[0],o=a.dataProvider;if(a.isDisposed())Be(s,a);else if(o&&o.dataInvalid)try{if(o.validateData(),o.dataValidationProgress<1)break}catch(h){Be(s,o),o.raiseCriticalError(h)}else try{if(a.validateData(),a.dataValidationProgress<1)break}catch(h){Be(s,a),a.raiseCriticalError(h)}}if(Date.now()-e>this.updateStepDuration)break}for(;k.invalidRawDatas.length>0;){var a=k.invalidRawDatas[0];if(a.isDisposed())Be(k.invalidRawDatas,a);else try{a.validateRawData()}catch(d){Be(k.invalidRawDatas,a),a.raiseCriticalError(d)}}for(;k.invalidDataItems.length>0;){var a=k.invalidDataItems[0],o=a.dataProvider;if(!(a.isDisposed()||a.dataInvalid||o&&o.dataInvalid))try{a.validateDataItems()}catch(f){Be(k.invalidDataItems,a),a.raiseCriticalError(f)}Be(k.invalidDataItems,a)}for(;k.invalidDataRange.length>0;){var a=k.invalidDataRange[0],o=a.dataProvider;if(!(a.isDisposed()||a.dataInvalid||o&&o.dataInvalid))try{a.validateDataRange(),a.skipRangeEvent||a.dispatchImmediately("datarangechanged"),a.skipRangeEvent=!1}catch(f){Be(k.invalidDataRange,a),a.raiseCriticalError(f)}Be(k.invalidDataRange,a)}var l=[];Le(k.invalidLayouts,function(h){r.validateLayouts(h)}),Le(k.invalidPositions,function(h){r.validatePositions(h)});var u=!1;if(e=Date.now(),Le(k.invalidSprites,function(h,d){for(var f=0;d.length>0;){if(r.validateLayouts(h),r.validatePositions(h),f++,f==5){if(Date.now()-e>r.updateStepDuration)break;f=0}var p=d[d.length-1];if(p&&!p.isDisposed()){if(!p._systemCheckIfValidate())l.push(p);else if(!r.checkIfValidate2(p))l.push(p);else try{p._systemUpdate(l)}catch(g){p.invalid=!1,Be(d,p),p.raiseCriticalError(g)}p.invalid=!1}Be(d,p)}k.invalidSprites[h]=k.invalidSprites[h].concat(l)}),Le(k.invalidSprites,function(h,d){d.length>0&&(u=!0)}),Le(k.invalidDatas,function(h,d){d.length>0&&(u=!0)}),ye(qa(this.animations),function(h){h.update()}),Le(k.invalidLayouts,function(h){r.validateLayouts(h)}),Le(k.invalidPositions,function(h){r.validatePositions(h)}),Pw(),Le(k.invalidLayouts,function(h){r.validateLayouts(h)}),Le(k.invalidPositions,function(h){r.validatePositions(h)}),k.dispatchImmediately("exitframe"),(u||this.animations.length>0||i.length>0)&&this.requestFrame(),this.updateStepDuration<200){var c=!0;Le(k.invalidDatas,function(h,d){d.length>0&&(c=!1)}),Le(k.invalidSprites,function(h,d){d.length>0&&(c=!1)}),c&&(this.updateStepDuration=200)}}},t.prototype.checkIfValidate2=function(r){return!(r.dataItem&&r.dataItem.component&&r.dataItem.component.dataInvalid&&!r.dataItem.component.isTemplate)},t.prototype.requestFrame=function(){var r=this;this._frameRequested||(Ld(function(){r.update()}),this._frameRequested=!0)},t.prototype.softInvalidate=function(r){var e=this;r.children.each(function(i){i instanceof It&&e.softInvalidate(i),i.measureFailed&&(Xt(i,"Label")?i.hardInvalidate():i.invalidate(),i.measureFailed=!1)})},t.prototype.validatePositions=function(r){for(var e=k.invalidPositions[r];e.length>0;){var i=e[e.length-1];if(i.isDisposed())Be(e,i);else try{i._systemValidatePositions()}catch(n){i.positionInvalid=!1,Be(e,i),i.raiseCriticalError(n)}}},t.prototype.validateLayouts=function(r){for(var e=k.invalidLayouts[r];e.length>0;){var i=e[e.length-1];if(i.isDisposed())Be(e,i);else try{i.children.each(function(n){n._systemValidateLayouts()}),i.validateLayout()}catch(n){i.layoutInvalid=!1,Be(e,i),i.raiseCriticalError(n)}}},t.prototype.log=function(r){h3(r)},Object.defineProperty(t.prototype,"isPaused",{get:function(){return this._isPaused},set:function(r){this._isPaused=r,r||(this._frameRequested=!1,this.requestFrame())},enumerable:!0,configurable:!0}),t.VERSION="4.10.29",t}(),Re=new O3,_y=function(){function t(){}return t.prototype.parse=function(r){return[]},Object.defineProperty(t.prototype,"parsableNumbers",{get:function(){return this.options.numberFields&&this.options.numberFields.length>0},enumerable:!0,configurable:!0}),t.prototype.maybeToNumber=function(r,e){return this.options.numberFields.indexOf(r)!==-1?Th(e):e},Object.defineProperty(t.prototype,"parsableDates",{get:function(){return this.options.dateFields&&this.options.dateFields.length>0},enumerable:!0,configurable:!0}),t.prototype.maybeToDate=function(r,e){return this.options.dateFields.indexOf(r)!==-1?this.options.dateFormatter.parse(e,this.dateFormat):e},t.prototype.maybeToEmpty=function(r){return(!O(r)||r=="")&&O(this.options.emptyAs)?this.options.emptyAs:r},Object.defineProperty(t.prototype,"dateFormatter",{get:function(){return this.options.dateFormatter||(this.options.dateFormatter=new vo,this.options.dateFormat&&(this.options.dateFormat=this.options.dateFormat)),this.options.dateFormatter},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dateFormat",{get:function(){return this.options.dateFormat||this.dateFormatter.inputDateFormat},enumerable:!0,configurable:!0}),t}(),k3=[",",";"," "],Zl=function(t){ee(r,t);function r(){var e=t!==null&&t.apply(this,arguments)||this;return e.contentType="text/csv",e.options={delimiter:"",reverse:!1,skipRows:0,skipEmpty:!0,useColumnNames:!1},e}return r.isCSV=function(e){return!!r.getDelimiterFromData(e)},r.getDelimiterFromData=function(e){var i=e.split(` -`),n=i.length,s;return ye(k3,function(a){for(var o=0,l=0,u=0;u1){if(l===0)l=o;else if(o!=l){l=0;break}}else{l=0;break}l&&(s=a)}),s},r.prototype.parse=function(e){this.options.delimiter||(this.options.delimiter=r.getDelimiterFromData(e));var i=this.CSVToArray(e,this.options.delimiter),n=O(this.options.emptyAs),s=this.parsableNumbers,a=this.parsableDates,o=[],l=[],u,c;for(c=0;c0&&l.delay(i))}),a}},r.prototype.dispose=function(){t.prototype.dispose.call(this),ye(this.sprites,function(e){e.dispose()}),this.sprites=[]},r.prototype.hide=function(e,i,n,s){var a=this;if(this.isHiding=!0,ye(this.sprites,function(l){var u=l.hide(e);u!=null&&!u.isFinished()&&(a._disposers.push(u),i!=null&&i>0&&u.delay(i))}),x(n)&&s){var o;if(ye(s,function(l){var u=a.setWorkingValue(l,n,e,i);u&&(o=u)}),o&&!o.isFinished())return this._hideDisposer=o.events.on("animationended",function(){a.setVisibility(!1,!0),a.isHiding=!1}),this._disposers.push(this._hideDisposer),o;this.isHiding=!1,this.setVisibility(!1,!0)}else this.isHiding=!1,this.setVisibility(!1)},r.prototype.getDuration=function(e){if(!x(e)){var i=this.component;i&&(e=i.interpolationDuration)}if(e!=null)return this._adapterO?this._adapterO.apply("duration",e):e},r.prototype.getValue=function(e,i){if(e&&this.component){i||(i=this.component.dataFields[e+"Show"],i||(i="value"));var n=this.values[e][i];return this._adapterO&&this._adapterO.isEnabled("value")?this._adapterO.apply("value",{value:n,field:e}).value:n}},r.prototype.getWorkingValue=function(e){if(e&&this.component){var i=this.component.dataFields[e+"Show"];return i||(i="workingValue"),this._adapterO?this._adapterO.apply("workingValue",{workingValue:this.values[e][i],field:e}).workingValue:this.values[e][i]}},r.prototype.getActualWorkingValue=function(e){return this.values[e].workingValue},r.prototype.setValue=function(e,i,n,s){var a=this.values[e].value,o=this.getDuration(n);if(i=At(i),a!==i){if(this.values[e].value=i,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("valuechanged")){var l={type:"valuechanged",target:this,property:e};this.events.dispatchImmediately("valuechanged",l)}this.component&&this.component.handleDataItemValueChange(this,e)}this.setWorkingValue(e,i,o,s)},r.prototype.setCalculatedValue=function(e,i,n){var s=this.values[e][n];if(s!==i&&x(i)){if(this.values[e][n]=i,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("calculatedvaluechanged")){var a={type:"calculatedvaluechanged",target:this,property:e};this.events.dispatchImmediately("calculatedvaluechanged",a)}this.component&&this.component.handleDataItemCalculatedValueChange(this,e)}},r.prototype.setWorkingValue=function(e,i,n,s){if(x(this.values[e].value)){var a=this.getDuration(n),o=this.values[e].workingValue;if(a!=null&&a>0&&x(o)&&this.component)if(o!=i){var l=this.animate({childObject:this.values[e],property:"workingValue",from:o,to:i,dummyData:e},a,this.component.interpolationEasing);return s!=null&&l.delay(s),l.events.on("animationstarted",this.handleInterpolationProgress,this),l.events.on("animationprogress",this.handleInterpolationProgress,this),l.events.on("animationended",this.handleInterpolationProgress,this),this._valueAnimations[e]=l,l}else{var u=this._valueAnimations[e];u&&u.stop(),this.values[e].workingValue=i}else{var u=this._valueAnimations[e];if(u&&u.stop(),this.values[e].workingValue=i,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workingvaluechanged")){var c={type:"workingvaluechanged",target:this,property:e};this.events.dispatchImmediately("workingvaluechanged",c)}this.component&&this.component.handleDataItemWorkingValueChange(this,e)}}},r.prototype.setLocation=function(e,i,n,s){var a=this.locations[e];if(a!==i){if(this.locations[e]=i,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("locationchanged")){var o={type:"locationchanged",target:this,property:e};this.events.dispatchImmediately("locationchanged",o)}this.component&&this.component.handleDataItemValueChange(this,e),this.setWorkingLocation(e,i,n,s)}},r.prototype.setWorkingLocation=function(e,i,n,s){var a=this.getDuration(n),o=this.workingLocations[e];if(a!=null&&a>0&&x(o)&&this.component)if(o!=i){var l=this.animate({childObject:this.workingLocations,property:e,from:o,to:i,dummyData:e},a,this.component.interpolationEasing);return s!=null&&l.delay(s),l.events.on("animationstarted",this.handleInterpolationProgress,this),l.events.on("animationprogress",this.handleInterpolationProgress,this),l.events.on("animationended",this.handleInterpolationProgress,this),this._locationAnimations[e]=l,l}else{var u=this._locationAnimations[e];u&&u.stop(),this.workingLocations[e]=i}else{var u=this._locationAnimations[e];if(u&&u.stop(),this.workingLocations[e]=i,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workinglocationchanged")){var c={type:"workinglocationchanged",target:this,property:e};this.events.dispatchImmediately("workinglocationchanged",c)}this.component&&this.component.handleDataItemWorkingLocationChange(this,e)}},r.prototype.setDate=function(e,i,n){!Za(i)&&this.component&&(i=this.component.dateFormatter.parse(i));var s=this.dates[e];s!==i&&(this.dates[e]=i,this.setValue(e,i.getTime(),n))},r.prototype.getDate=function(e){return this._adapterO?this._adapterO.apply("date",{date:this.dates[e],field:e}).date:this.dates[e]},r.prototype.setProperty=function(e,i){if(this.properties[e]!==i){if(this.hasProperties=!0,this.properties[e]=i,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("propertychanged")){var n={type:"propertychanged",target:this,property:e,value:i};this.events.dispatchImmediately("propertychanged",n)}this.component&&this.component.handleDataItemPropertyChange(this,e)}},r.prototype.setCategory=function(e,i){kt(i)||(i=Ad(i)),this.categories[e]!==i&&(this.categories[e]=i)},r.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),e.dataContext&&(this.dataContext=Qw(e.dataContext,{})),vs(e.locations,this.locations),e._adapterO&&this.adapter.copyFrom(e._adapterO),this.component=e.component},Object.defineProperty(r.prototype,"opacity",{set:function(e){ye(this.sprites,function(i){i.opacity=e})},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"ignoreMinMax",{get:function(){return this._ignoreMinMax},set:function(e){if(this._ignoreMinMax=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("propertychanged")){var i={type:"propertychanged",target:this,property:"ignoreMinMax",value:e};this.events.dispatchImmediately("propertychanged",i)}this.component&&this.component.handleDataItemPropertyChange(this,"ignoreMinMax")},enumerable:!0,configurable:!0}),r.prototype.animate=function(e,i,n){return new ui(this,e,i,n).start()},r.prototype.handleInterpolationProgress=function(e){var i=e.target,n=i.animationOptions[0];if(n){if(this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workingvaluechanged")){var s={type:"workingvaluechanged",target:this,property:n.dummyData};this.events.dispatchImmediately("workingvaluechanged",s)}this.component&&this.component.handleDataItemWorkingValueChange(this,n.dummyData)}},r.prototype.hasValue=function(e){for(var i=0,n=e.length;i0;)this.data.shift(),i--;this.invalidateData()},r.prototype.removeData=function(e,i){if(x(e)&&e>0){for(;e>0;){var n=this.mainDataSet.getIndex(0);n&&this.mainDataSet.remove(n),this.dataUsers.each(function(s){if(!s.data||s.data.length==0){var a=s.mainDataSet.getIndex(0);a&&s.mainDataSet.remove(a)}}),i||this.data.shift(),this._parseDataFrom>0&&this._parseDataFrom--,e--}this.invalidateDataItems()}},r.prototype.invalidateData=function(){this.disabled||this.isTemplate||(k.addToInvalidComponents(this),Re.requestFrame(),this.dataInvalid=!0,Ve(this.dataUsers.iterator(),function(e){e.invalidateDataItems()}))},r.prototype.invalidateDataUsers=function(){Ve(this.dataUsers.iterator(),function(e){e.invalidate()})},r.prototype.invalidateDataItems=function(){this.disabled||this.isTemplate||(tn(k.invalidDataItems,this),Re.requestFrame(),this.dataItemsInvalid=!0,Ve(this.dataUsers.iterator(),function(e){e.invalidateDataItems()}))},r.prototype.invalidateDataRange=function(){this.disabled||this.isTemplate||(this.dataRangeInvalid=!0,tn(k.invalidDataRange,this),Re.requestFrame())},r.prototype.validateDataRange=function(){Be(k.invalidDataRange,this),this.dataRangeInvalid=!1,(this.startIndex!=this._prevStartIndex||this.endIndex!=this._prevEndIndex)&&(this.rangeChangeUpdate(),this.appendDataItems(),this.invalidate(),this.dispatchImmediately("datarangechanged"))},r.prototype.sliceData=function(){this._workingStartIndex=this.startIndex,this._workingEndIndex=this.endIndex},r.prototype.rangeChangeUpdate=function(){this.sliceData(),this._prevStartIndex=this.startIndex,this._prevEndIndex=this.endIndex},r.prototype.appendDataItems=function(){for(var e=this.endIndex,i=this.startIndex;i0&&this.disposeData(),this.data.length>0){var i=this.preloader;Ve(this.dataUsers.iterator(),function(h){h._startIndex=void 0,h._endIndex=void 0});var n=0,s=Date.now(),a=this._parseDataFrom,o=this.data.length,l=function(){var h=u.data[a];if(u._usesData){var d=u.getDataItem(h);u.processDataItem(d,h)}if(u.dataUsers.each(function(p){if(p.data.length==0){var g=p.getDataItem(h);p.processDataItem(g,h)}}),n++,n==100){n=0;var f=Date.now()-s;if(f>u.parsingStepDuration&&a.5&&!i.visible||(i.progress=a/u.data.length)),u.dataValidationProgress=a/u.data.length,a=u.data.length,u.invalidateData(),{value:void 0}}},u=this;for(a;a0?this.invalidateData():(this.dispatchImmediately("beforedatavalidated"),this.dispatch("datavalidated")))},r.prototype.getDataSource=function(e){var i=this;return O(this._dataSources[e])||(this._dataSources[e]=new E3,this._dataSources[e].component=this,this.setDataSourceEvents(this._dataSources[e],e),this._dataSources[e].adapter.add("dateFields",function(n){return i.dataSourceDateFields(n)}),this._dataSources[e].adapter.add("numberFields",function(n){return i.dataSourceNumberFields(n)}),this.events.on("inited",function(){i.loadData(e)},this,!1)),this._dataSources[e]},Object.defineProperty(r.prototype,"dataSource",{get:function(){return this._dataSources.data||this.getDataSource("data"),this._dataSources.data},set:function(e){var i=this;this._dataSources.data&&this.removeDispose(this._dataSources.data),this._dataSources.data=e,this._dataSources.data.component=this,this.events.on("inited",function(){i.loadData("data")},this,!1),this.setDataSourceEvents(e,"data")},enumerable:!0,configurable:!0}),r.prototype.loadData=function(e){this._dataSources[e].load()},r.prototype.dataSourceDateFields=function(e){return e},r.prototype.dataSourceNumberFields=function(e){return e},r.prototype.populateDataSourceFields=function(e,i,n){return ye(n,function(s){i[s]&&Gr(e,i[s])===-1&&e.push(i[s])}),e},r.prototype.setDataSourceEvents=function(e,i){var n=this;e.events.on("started",function(s){var a=n.preloader;a&&(a.progress=0)},void 0,!1),e.events.on("loadstarted",function(s){var a=n.preloader;a&&(a.progress=.25)},void 0,!1),e.events.on("loadended",function(s){var a=n.preloader;a&&(a.progress=.5)},void 0,!1),e.events.on("parseended",function(s){var a=n.preloader;a&&(a.progress=.75)},void 0,!1),e.events.on("ended",function(s){var a=n.preloader;a&&(a.progress=1)},void 0,!1),e.events.on("error",function(s){var a=n.preloader;a&&(a.progress=1),n.openModal(s.message)},void 0,!1),i&&e.events.on("done",function(s){var a=n.preloader;a&&(a.progress=1),i=="data"&&!li(s.data)&&(s.data=[s.data]),e.incremental&&i=="data"&&n.data.length?n.addData(s.data,e.keepCount?s.data.length:0):e.updateCurrentData&&i=="data"&&n.data.length?(ye(n.data,function(o,l){O(s.data[l])&&Le(o,function(u,c){O(s.data[l][u])&&(o[u]=s.data[l][u])})}),n.invalidateRawData()):n[i]=s.data})},Object.defineProperty(r.prototype,"responsive",{get:function(){return this._responsive||(this._responsive=new x3,this._responsive.component=this),this._responsive},set:function(e){this._responsive=e,this._responsive.component=this},enumerable:!0,configurable:!0}),r.prototype.zoom=function(e,i,n,s){var a=this;i===void 0&&(i=!1),n===void 0&&(n=!1);var o=e.start,l=e.end,u=e.priority;if(e.start==e.end&&(e.start=e.start-.5/this.maxZoomFactor,e.end=e.end+.5/this.maxZoomFactor),u=="end"&&l==1&&o!=0&&othis.end&&(u="end"),x(s)||(s=this.maxZoomDeclination),!x(o)||!x(l))return{start:this.start,end:this.end};if(this._finalStart!=o||this._finalEnd!=l){var c=this.maxZoomFactor/this.minZoomCount,h=this.maxZoomFactor/this.maxZoomCount;if(u=="start"?(this.maxZoomCount>0&&1/(l-o)c&&(l=o+1/c),l>1&&l-o<1/c&&(o=l-1/c)):(this.maxZoomCount>0&&1/(l-o)c&&(o<=0?l=o+1/c:o=l-1/c),o<0&&l-o<1/c&&(l=o+1/c)),o<-s&&(o=-s),1/(l-o)>c&&(l=o+1/c),l>1+s&&(l=1+s),1/(l-o)>c&&(o=l-1/c),this._finalEnd=l,this._finalStart=o,this.skipRangeEvent=i,this.dispatchImmediately("rangechangestarted"),this.rangeChangeDuration>0&&!n){var d=this.rangeChangeAnimation;if(d&&d.progress<1){var f=d.animationOptions;if(f.length>1){if(f[0].to==o&&f[1].to==l)return{start:o,end:l};d.isDisposed()||d.stop()}}this.rangeChangeAnimation&&this.rangeChangeAnimation.kill(),d=this.animate([{property:"start",to:o},{property:"end",to:l}],this.rangeChangeDuration,this.rangeChangeEasing),this.rangeChangeAnimation=d,d&&!d.isFinished()?d.events.on("animationended",function(){a.dispatchImmediately("rangechangeended")}):this.dispatchImmediately("rangechangeended")}else this.start=o,this.end=l,this.dispatch("rangechangeended")}return{start:o,end:l}},r.prototype.zoomToIndexes=function(e,i,n,s){if(!(!x(e)||!x(i))){var a=e/this.dataItems.length,o=i/this.dataItems.length;this.zoom({start:a,end:o},n,s)}},Object.defineProperty(r.prototype,"zoomFactor",{get:function(){return Ne(1/(this.end-this.start),1,this.maxZoomFactor)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maxZoomFactor",{get:function(){return this.getPropertyValue("maxZoomFactor")},set:function(e){this.setPropertyValue("maxZoomFactor",e)&&(e==1&&(this.maxZoomDeclination=0),this.invalidateDataRange())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maxZoomDeclination",{get:function(){return this.getPropertyValue("maxZoomDeclination")},set:function(e){this.setPropertyValue("maxZoomDeclination",e)&&this.invalidateDataRange()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"startIndex",{get:function(){return x(this._startIndex)||(this._startIndex=0),this._startIndex},set:function(e){this._startIndex=Ne(Math.round(e),0,this.dataItems.length),this.start=this.indexToPosition(this._startIndex)},enumerable:!0,configurable:!0}),r.prototype.indexToPosition=function(e){return e/this.dataItems.length},Object.defineProperty(r.prototype,"endIndex",{get:function(){var e=this.dataItems.length;return(!x(this._endIndex)||this._endIndex>e)&&(this._endIndex=e),this._endIndex},set:function(e){this._endIndex=Ne(Math.round(e),0,this.dataItems.length),this.end=this.indexToPosition(this._endIndex)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"start",{get:function(){return this._adapterO?this._adapterO.apply("start",this._start):this._start},set:function(e){if(this._start!=e){this._start=e;var i=Math.max(0,Math.floor(this.dataItems.length*e)||0);this._startIndex=Math.min(i,this.dataItems.length),this.invalidateDataRange(),this.invalidate(),this.dispatchImmediately("startchanged"),this.dispatch("startendchanged")}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"end",{get:function(){return this._adapterO?this._adapterO.apply("end",this._end):this._end},set:function(e){this._end!=e&&(this._end=e,this._endIndex=Math.min(this.dataItems.length,Math.ceil(this.dataItems.length*e)||0),this.invalidateDataRange(),this.invalidate(),this.dispatchImmediately("endchanged"),this.dispatch("startendchanged"))},enumerable:!0,configurable:!0}),r.prototype.removeFromInvalids=function(){t.prototype.removeFromInvalids.call(this),k.removeFromInvalidComponents(this),Be(k.invalidDataItems,this),Be(k.invalidDataRange,this),Be(k.invalidRawDatas,this)},Object.defineProperty(r.prototype,"dataItems",{get:function(){if(this._currentDataSetId!=""){var e=this.dataSets.getKey(this._currentDataSetId);if(e)return e}return this._dataItems},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dataSets",{get:function(){return this._dataSets||(this._dataSets=new $t),this._dataSets},enumerable:!0,configurable:!0}),r.prototype.setDataSet=function(e){if(this._currentDataSetId!=e){var i=this.dataSets.getKey(e);if(i)return this.dataItems.each(function(n){n.__disabled=!0}),this._currentDataSetId=e,this.invalidateDataRange(),this._prevStartIndex=void 0,this.dataItems.each(function(n){n.__disabled=!1}),!0;if(this._currentDataSetId!="")return this.dataItems.each(function(n){n.__disabled=!0}),this._currentDataSetId="",this.invalidateDataRange(),this._prevStartIndex=void 0,this.dataItems.each(function(n){n.__disabled=!1}),!0}return!1},Object.defineProperty(r.prototype,"currentDataSetId",{get:function(){return this._currentDataSetId},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"mainDataSet",{get:function(){return this._dataItems},enumerable:!0,configurable:!0}),r.prototype._updateDataItemIndexes=function(e){for(var i=this.mainDataSet.values,n=i.length,s=e;sthis.availableWidth||this.bbox.widththis.availableHeight||this.bbox.height0&&(f+=m),d.removeElement(y);var w=this.getLineInfo(g);w&&(w.text="",w.element.textContent="");continue}var C=Di().chunk(v,null,this.ignoreFormatting),P=0,E=!0,V=!1,D=this.getLineInfo(g);D?(D.text="",D.element.textContent=""):(D={text:"",element:this.getSVGLineElement("",0),complex:!1},d.add(D.element)),D.element.removeAttr("display"),D.element.removeChildren(),this.textPathElement&&D.element.add(this.textPathElement);for(var R=0;Rs){this.isOversized=!0;var ge=D.element.textContent,H=D.bbox.width/ge.length,q=jt(Math.ceil((D.bbox.width-s)/H),ge.length);if(this.truncate){var _e=!1,we=D.element.node;if(we&&we.childNodes)for(var $=D.element.node.childNodes.length-1;$>=0;$--){var te=D.element.node.childNodes[$];if(_e&&D.bbox.width<=s&&(te.textContent+=" "+this.ellipsis,D.bbox=D.element.getBBox(),D.bbox.width=Math.floor(D.bbox.width),D.bbox.width<=s))break;_e=!1;var pe=te.textContent;for(ge=D.element.textContent,q=jt(Math.ceil((D.bbox.width-s)/H),ge.length);D.bbox.width>s&&q<=ge.length&&q>0;){var Te=st(ge.length-q-this.ellipsis.length,1);Te<=1&&(q=0,$>0&&(_e=!0,D.element.node.removeChild(te))),pe=kh(pe,Te,this.ellipsis,this.fullWords,this.rtl),pe.length>Te&&this.fullWords&&(pe=kh(pe,Te,this.ellipsis,!1,this.rtl)),te.textContent=pe,D.bbox=D.element.getBBox(),D.bbox.width=Math.floor(D.bbox.width),q=Math.ceil(q*1.1)}V=!0}}else{var Je=D.element.node;if(Je){for(var Ce=D.element.node.lastChild,Ee=void 0;D.bbox.width>s&&q<=ge.length&&q>0;){var Te=st(Q.text.length-q,1);if(E?Ee=Oh(Q.text,Te,!0,this.rtl):(Ee=Oh(Q.text,Te,!0,this.rtl,!1),(Ee[0].length>Te||Te===1)&&(D.element.node.removeChild(Ce),q=0)),q>0){var ce=Ee.shift();E&&(ce=ty(ce)),Ce.textContent=Di().cleanUp(ce)}D.bbox=D.element.getBBox(),D.bbox.width=Math.floor(D.bbox.width),q++}if(Ee.length>0){var xe="";O(Ee)&&(this.rtl?xe+=Ee.join("")+p:xe+=p+Ee.join("").replace(/([\[\]]{1})/g,"$1$1"));for(var L=R+1;Ls||ae>a)&&(this.isOversized=!0)}this.setStyles(),this.updateCenter(),this.updateBackground(),h=="none"&&this.group.attr({display:"none"}),this.pathElement&&this.paper.appendDef(this.pathElement)}},r.prototype.maybeHideOversized=function(){this.hideOversized&&(this.availableWidth=0;a--){var o=i[a];if(o.setAttribute("text-anchor",this.textAlign),this.textPathElement)o.removeAttribute("x"),o.removeAttribute("y");else{switch(this.textAlign){case"middle":o.setAttribute("x",(n/2).toString()+"px");break;case"end":this.rtl||o.setAttribute("x",n.toString());break;default:this.rtl?o.setAttribute("x",n.toString()):o.removeAttribute("text-anchor");break}var l=At(o.getAttribute("y"));switch(this.textValign){case"middle":o.setAttribute("y",((l||0)+(s-this.bbox.height)/2).toString());break;case"bottom":o.setAttribute("y",((l||0)+s-this.bbox.height).toString());break;default:o.setAttribute("y",(l||0).toString());break}}}}},r.prototype.getSVGLineElement=function(e,i){var n=this.paper.addGroup("text");return n.textContent=e,n.attr({x:"0"}),O(i)&&n.attr({y:i.toString()}),(this.truncate||this.wrap)&&n.attr({overflow:"hidden"}),n},Object.defineProperty(r.prototype,"rtl",{get:function(){return O(this._rtl)?this._rtl:this._topParent?this._topParent.rtl:!1},set:function(e){e=lt(e),this._rtl=e,this.element&&this.alignSVGText()},enumerable:!0,configurable:!0}),r.prototype.resetBBox=function(){this._bbox={x:0,y:0,width:0,height:0}},r.prototype.getHTMLLineElement=function(e){var i=document.createElement("div");switch(i.innerHTML=e,this.textAlign){case"middle":i.style.textAlign="center";break;case"end":i.style.textAlign="right";break}return this.wrap?i.style.wordWrap="break-word":i.style.whiteSpace="nowrap",this.rtl&&(i.style.direction="rtl"),O(this.fill)&&(i.style.color=this.fill.toString()),i},r.prototype.setStyles=function(){var e=this.element;!this.selectable||this.draggable||this.resizable||this.swipeable?e.addStyle({webkitUserSelect:"none",msUserSelect:"none"}):this.selectable&&(e.removeStyle("webkitUserSelect"),e.removeStyle("msUserSelect"))},r.prototype.hideUnused=function(e){this.initLineCache();var i=this.getCache("lineInfo");if(i.length>=e)for(var n=e;ne?i[e]:void 0},r.prototype.addLineInfo=function(e,i){this.initLineCache(),this.getCache("lineInfo")[i]=e},r.prototype.initLineCache=function(){O(this.getCache("lineInfo"))||this.setCache("lineInfo",[],0)},r.prototype.setDataItem=function(e){this._sourceDataItemEvents&&this._sourceDataItemEvents.dispose(),e&&(this._sourceDataItemEvents=new Mt([e.events.on("valuechanged",this.invalidate,this,!1),e.events.on("workingvaluechanged",this.invalidate,this,!1),e.events.on("calculatedvaluechanged",this.invalidate,this,!1),e.events.on("propertychanged",this.invalidate,this,!1)])),t.prototype.setDataItem.call(this,e)},Object.defineProperty(r.prototype,"availableWidth",{get:function(){return O(this.maxWidth)?this.maxWidth:this.pixelWidth},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"availableHeight",{get:function(){return O(this.maxHeight)?this.maxHeight:this.pixelHeight},enumerable:!0,configurable:!0}),r.prototype.getSvgElement=function(e,i,n){var s=this.paper.add("tspan");return s.textContent=e,i&&s.node.setAttribute("style",i),n&&n.add(s),s},r.prototype.deepInvalidate=function(){t.prototype.deepInvalidate.call(this),this.hardInvalidate()},Object.defineProperty(r.prototype,"readerTitle",{get:function(){var e=this.getPropertyValue("readerTitle");return e?this.dataItem&&(e=this.populateString(e)):e=this.populateString(r4(Hl(this.html)?this.html:this.text)),e},set:function(e){e=Nt(e),this.setPropertyValue("readerTitle",e)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),r}(It);k.registeredClasses.Label=hn;Zd.push({relevant:D3.heightXS,state:function(t,r){if(t instanceof hn&&t.parent&&t.parent.isBaseSprite){var e=t.states.create(r);return e.properties.disabled=!0,e}return null}});var Iu=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="RoundedRectangle",e.element=e.paper.add("path"),e.cornerRadius(3,3,3,3),e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this);var e=this.innerWidth,i=this.innerHeight;if(x(e)&&x(i)){var n=jt(e,i)/2,s=wr(this.cornerRadiusTopLeft,n),a=wr(this.cornerRadiusTopRight,n),o=wr(this.cornerRadiusBottomRight,n),l=wr(this.cornerRadiusBottomLeft,n),u=jt(Math.abs(e/2),Math.abs(i/2)),c=Ne(s,0,u),h=Ne(a,0,u),d=Ne(o,0,u),f=Ne(l,0,u),p="M"+c+",0 L"+(e-h)+",0",g=" L"+f+","+i,v=" L0,"+c,y=" L"+e+","+(i-d),m=" a"+h+","+h+" 0 0 1 "+h+","+h,w=" a"+d+","+d+" 0 0 1 -"+d+","+d,C=" a"+f+","+f+" 0 0 1 -"+f+",-"+f,P=" a"+c+","+c+" 0 0 1 "+c+",-"+c,E=p+m+y+w+g+C+v+P+" Z";this.path=E}},r.prototype.cornerRadius=function(e,i,n,s){this.cornerRadiusTopLeft=e,this.cornerRadiusTopRight=i,this.cornerRadiusBottomLeft=n,this.cornerRadiusBottomRight=s},Object.defineProperty(r.prototype,"cornerRadiusTopLeft",{get:function(){return this.getPropertyValue("cornerRadiusTopLeft")},set:function(e){this.setPercentProperty("cornerRadiusTopLeft",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusTopRight",{get:function(){return this.getPropertyValue("cornerRadiusTopRight")},set:function(e){this.setPercentProperty("cornerRadiusTopRight",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusBottomRight",{get:function(){return this.getPropertyValue("cornerRadiusBottomRight")},set:function(e){this.setPercentProperty("cornerRadiusBottomRight",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusBottomLeft",{get:function(){return this.getPropertyValue("cornerRadiusBottomLeft")},set:function(e){this.setPercentProperty("cornerRadiusBottomLeft",e,!0)},enumerable:!0,configurable:!0}),r.prototype.measureElement=function(){},Object.defineProperty(r.prototype,"bbox",{get:function(){return this.definedBBox?this.definedBBox:this.isMeasured?{x:0,y:0,width:this.innerWidth,height:this.innerHeight}:{x:0,y:0,width:0,height:0}},enumerable:!0,configurable:!0}),r}(_t);k.registeredClasses.RoundedRectangle=Iu;var Rn=function(t){ee(r,t);function r(){var e=t.call(this)||this;e.className="Button",e.tooltipY=0,e.iconPosition="left",e.layout="horizontal",e.contentAlign="center",e.contentValign="middle",e.padding(8,16,8,16),e.setStateOnChildren=!0;var i=new Kt,n=e.background;n.fill=i.getFor("secondaryButton"),n.stroke=i.getFor("secondaryButtonStroke"),n.fillOpacity=1,n.strokeOpacity=1,n.cornerRadius(3,3,3,3),e.label=new hn,e.label.fill=i.getFor("secondaryButtonText"),e.label.shouldClone=!1;var s=n.states.create("hover");s.properties.fillOpacity=1,s.properties.fill=i.getFor("secondaryButtonHover");var a=n.states.create("down");return a.transitionDuration=100,a.properties.fill=i.getFor("secondaryButtonDown"),a.properties.fillOpacity=1,e.role="button",e.focusable=!0,e.applyTheme(),e}return Object.defineProperty(r.prototype,"icon",{get:function(){return this._icon},set:function(e){var i=this._icon;i&&(i.parent=void 0),e&&(this._icon=e,e.parent=this,e.interactionsEnabled=!1,e.shouldClone=!1,this.iconPosition=this.iconPosition,this._disposers.push(e))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"iconPosition",{get:function(){return this.getPropertyValue("iconPosition")},set:function(e){this.setPropertyValue("iconPosition",e),this.icon&&(e=="left"?this.icon.toBack():this.icon.toFront())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"label",{get:function(){return this._label},set:function(e){this._label&&this.removeDispose(this._label),this._label=e,e&&(e.parent=this,e.interactionsEnabled=!1,this._disposers.push(this._label))},enumerable:!0,configurable:!0}),r.prototype.createBackground=function(){return new Iu},r.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),e.label&&this.label.copyFrom(e.label),e.icon&&(this.icon=e.icon.clone())},r}(It);k.registeredClasses.Button=Rn;var Mu=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="Circle",e.element=e.paper.add("circle"),e.setPercentProperty("radius",xt(100)),e.setPropertyValue("horizontalCenter","middle"),e.setPropertyValue("verticalCenter","middle"),e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this),this.element.attr({r:this.pixelRadius})},Object.defineProperty(r.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pixelRadius",{get:function(){return wr(this.radius,jt(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),r.prototype.measureElement=function(){var e=this.pixelRadius;this._bbox={x:-e,y:-e,width:e*2,height:e*2}},r}(_t);k.registeredClasses.Circle=Mu;var $h=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="Ellipse",e.element=e.paper.add("ellipse"),e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this),this.element.attr({rx:this.radius}),this.element.attr({ry:this.radiusY})},Object.defineProperty(r.prototype,"radiusY",{get:function(){return this.innerHeight/2},set:function(e){this.height=e*2,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"radius",{get:function(){return this.innerWidth/2},set:function(e){this.width=e*2,this.invalidate()},enumerable:!0,configurable:!0}),r}(Mu);k.registeredClasses.Ellipse=$h;var A3=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="Image",e.element=e.paper.add("image"),e.applyTheme(),e.width=50,e.height=50,e}return r.prototype.draw=function(){if(t.prototype.draw.call(this),this.href){var e=this.innerWidth,i=this.innerHeight;x(this.widthRatio)&&(e=i*this.widthRatio,this.width=e),x(this.heightRatio)&&(i=e*this.heightRatio,this.height=i),this.element.attr({width:e,height:i}),this.element.attrNS(jd,"xlink:href",this.href)}},Object.defineProperty(r.prototype,"href",{get:function(){return this.getPropertyValue("href")},set:function(e){this.setPropertyValue("href",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"widthRatio",{get:function(){return this.getPropertyValue("widthRatio")},set:function(e){this.setPropertyValue("widthRatio",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"heightRatio",{get:function(){return this.getPropertyValue("heightRatio")},set:function(e){this.setPropertyValue("heightRatio",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"bbox",{get:function(){return{x:0,y:0,width:this.pixelWidth,height:this.pixelHeight}},enumerable:!0,configurable:!0}),r}(_t);k.registeredClasses.Image=A3;var wy=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="Line",e.element=e.paper.add("line"),e.fill=$e(),e.x1=0,e.y1=0,e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this),this.x1==this.x2||this.y1==this.y2?this.pixelPerfect=!0:this.pixelPerfect=!1,this.x1=this.x1,this.x2=this.x2,this.y1=this.y1,this.y2=this.y2},Object.defineProperty(r.prototype,"x1",{get:function(){return this.getPropertyValue("x1")},set:function(e){x(e)||(e=0);var i=0;this.pixelPerfect&&this.stroke instanceof Bi&&(i=1e-5),this.setPropertyValue("x1",e,!0),this.element.attr({x1:e+i})},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"x2",{get:function(){var e=this.getPropertyValue("x2");return x(e)||(e=this.pixelWidth),e},set:function(e){x(e)||(e=0),this.setPropertyValue("x2",e,!0),this.element.attr({x2:e})},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"y1",{get:function(){return this.getPropertyValue("y1")},set:function(e){x(e)||(e=0);var i=0;this.pixelPerfect&&this.stroke instanceof Bi&&(i=1e-5),this.setPropertyValue("y1",e,!0),this.element.attr({y1:e+i})},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"y2",{get:function(){var e=this.getPropertyValue("y2");return x(e)||(e=this.pixelHeight),e},set:function(e){x(e)||(e=0),this.setPropertyValue("y2",e,!0),this.element.attr({y2:e})},enumerable:!0,configurable:!0}),r.prototype.positionToPoint=function(e){var i={x:this.x1,y:this.y1},n={x:this.x2,y:this.y2},s=$l(i,n,e),a=xn(i,n);return{x:s.x,y:s.y,angle:a}},r}(_t);k.registeredClasses.Line=wy;var $3=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="PointedShape",e.pointerBaseWidth=15,e.pointerLength=10,e.pointerY=0,e.pointerX=0,e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this),x(this.pointerX)||(this.pointerX=this.pixelWidth/2),x(this.pointerY)||(this.pointerY=this.pixelHeight+10)},Object.defineProperty(r.prototype,"pointerBaseWidth",{get:function(){return this.getPropertyValue("pointerBaseWidth")},set:function(e){this.setPropertyValue("pointerBaseWidth",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pointerLength",{get:function(){return this.getPropertyValue("pointerLength")},set:function(e){this.setPropertyValue("pointerLength",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pointerX",{get:function(){return this.getPropertyValue("pointerX")},set:function(e){this.setPropertyValue("pointerX",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pointerY",{get:function(){return this.getPropertyValue("pointerY")},set:function(e){this.setPropertyValue("pointerY",e,!0)},enumerable:!0,configurable:!0}),r}(_t),B3=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="PointedRectangle",e.element=e.paper.add("path"),e.cornerRadius=6,e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this);var e=this.cornerRadius,i=this.innerWidth,n=this.innerHeight;if(i>0&&n>0){var s=this.pointerX,a=this.pointerY,o=this.pointerBaseWidth/2,l=jt(i/2,n/2),u=Ne(e,0,l),c=Ne(e,0,l),h=Ne(e,0,l),d=Ne(e,0,l),f=0,p=0,g=i,v=0,y=i,m=n,w=0,C=n,P=void 0,E=void 0,V=void 0,D=void 0,R=(s-f)*(m-p)-(a-p)*(y-f),Q=(s-w)*(v-C)-(a-C)*(g-w);if(R>0&&Q>0){var ge=Ne(s,u+o,i-o-c);a=Ne(a,-1/0,0),P="M"+u+",0 L"+(ge-o)+",0 L"+s+","+a+" L"+(ge+o)+",0 L"+(i-c)+",0"}else P="M"+u+",0 L"+(i-c)+",0";if(R<0&&Q<0){var ge=Ne(s,d+o,i-o-h);a=Ne(a,n,1/0),V=" L"+(i-h)+","+n+" L"+(ge+o)+","+n+" L"+s+","+a+" L"+(ge-o)+","+n+" L"+d+","+n}else V=" L"+d+","+n;if(R<0&&Q>0){var H=Ne(a,u+o,n-d-o);s=Ne(s,-1/0,0),D=" L0,"+(n-d)+" L0,"+(H+o)+" L"+s+","+a+" L0,"+(H-o)+" L0,"+u}else D=" L0,"+u;if(R>0&&Q<0){var H=Ne(a,c+o,n-o-h);s=Ne(s,i,1/0),E=" L"+i+","+c+" L"+i+","+(H-o)+" L"+s+","+a+" L"+i+","+(H+o)+" L"+i+","+(n-h)}else E=" L"+i+","+(n-h);var q=" a"+c+","+c+" 0 0 1 "+c+","+c,_e=" a"+h+","+h+" 0 0 1 -"+h+","+h,we=" a"+d+","+d+" 0 0 1 -"+d+",-"+d,$=" a"+u+","+u+" 0 0 1 "+u+",-"+u;this.path=P+q+E+_e+V+we+D+$}},Object.defineProperty(r.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(e){this.setPropertyValue("cornerRadius",e,!0)},enumerable:!0,configurable:!0}),r}($3);function L3(t){var r=le(t[0]),e={x:0,y:0},i=Dr.minPolylineStep;x(i)||(i=.5);for(var n=0,s=t.length;ni&&(r+=le(a),e=a)}return r}function He(t){return" M"+me(t.x,4)+","+me(t.y,4)+" "}function le(t){return" L"+me(t.x,4)+","+me(t.y,4)+" "}function uee(t,r){return" Q"+me(r.x,4)+","+me(r.y,4)+" "+me(t.x,4)+","+me(t.y,4)}function eo(t,r,e){return" C"+me(r.x,4)+","+me(r.y,4)+" "+me(e.x,4)+","+me(e.y,4)+" "+me(t.x,4)+","+me(t.y,4)}function Yt(){return" Z"}function ns(t,r,e,i){if(r==0)return"";x(i)||(i=e);var n="",s=",",a=Math.ceil(Math.abs(r)/180),o=1;r<0&&(o=0);var l=0,u=0,c=-it(t)*e,h=-Qe(t)*i;if(r<.5&&e>3e3){var d=t+r,f=me(it(d)*e,4),p=me(Qe(d)*i,4);return le({x:f,y:p})}for(var g=0;g(l-t)/2&&(D=m);var R="";return r==360?R=He(C):(R=He(w),R+=le(C),R+=br(V,s,h,!0)),R+=ns(t+f,r-2*f,e,n),x(i)&&i!=0?(r==360&&s==0?R+=He(E):(R+=br(P,s,h,!0),R+=le(E),R+=br(D,a,d,!0)),R+=ns(l-g,-(r-2*g),i,c),(r<360||s>0)&&(R+=br(w,a,d,!0)),R+=le(w)):(R+=br(P,s,h,!0),r<360&&(R+=le(w))),R}function br(t,r,e,i,n,s){if(r==0)return"";s=s||0,n=Boolean(n),i=Boolean(i);var a=",",o=+i,l=+n;return" A"+r+a+e+a+s+a+l+a+o+a+me(t.x,4)+a+me(t.y,4)}function cee(t,r,e,i){return x(e)||(e=0),x(i)||(i=0),He({x:e,y:i})+le({x:e+t,y:i})+le({x:e+t,y:i+r})+le({x:e,y:i+r})+Yt()}function hee(t,r){var e=",",i=" L";return r?"M"+t.x+e+t.y+i+t.x+e+(t.y+t.height)+i+(t.x+t.width)+e+(t.y+t.height)+i+(t.x+t.width)+e+t.y+i+t.x+e+t.y:"M"+t.x+e+t.y+i+(t.x+t.width)+e+t.y+i+(t.x+t.width)+e+(t.y+t.height)+i+t.x+e+(t.y+t.height)+i+t.x+e+t.y}var qd=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e._distance=0,e.className="Polyline",e.element=e.paper.add("path"),e.shapeRendering="auto",e.fill=$e(),e.strokeOpacity=1,e.applyTheme(),e}return r.prototype.makePath=function(){this._distance=0;var e=this.segments;if(e&&e.length>0){for(var i="",n=0,s=e.length;n0){i+=He(a[0]);for(var o=1;o1){for(var p=1;pe){d=n.length;break}}else f.length==1&&(c=f[0],h=f[0],l=0,u=1)}if(c&&h){var g=(e-l)/(u-l),v=$l(c,h,g);return{x:v.x,y:v.y,angle:i+xn(c,h)}}}return{x:0,y:0,angle:0}},Object.defineProperty(r.prototype,"realSegments",{get:function(){return this._realSegments},enumerable:!0,configurable:!0}),r}(_t);k.registeredClasses.Polyline=qd;var R3=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="Polyarc",e.controlPointDistance=.5,e.controlPointPosition=.5,e.applyTheme(),e}return r.prototype.makePath=function(){this._distance=0;var e=this.segments;if(e&&e.length>0){var i="";this._realSegments=[];for(var n=0,s=e.length;n0){i+=He(a[0]);for(var l=1;l0)for(var V=0;V<=P;V++){var D=$d(u,c,y,C,V/P);o.push(D),this._distance+=Lr(E,D),E=D}else o.push(u)}}}this.path=i}},Object.defineProperty(r.prototype,"controlPointPosition",{get:function(){return this.getPropertyValue("controlPointPosition")},set:function(e){this.setPropertyValue("controlPointPosition",e),this.makePath()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"controlPointDistance",{get:function(){return this.getPropertyValue("controlPointDistance")},set:function(e){this.setPropertyValue("controlPointDistance",e),this.makePath()},enumerable:!0,configurable:!0}),r}(qd);k.registeredClasses.Polyarc=R3;var V3=function(t){ee(r,t);function r(e){var i=t.call(this)||this;return i._bboxes=[],i.morphDuration=800,i.morphEasing=An,i.morphToSingle=!0,i.scaleRatio=1,i.className="Morpher",i.morphable=e,i.applyTheme(),i}return r.prototype.morphToPolygon=function(e,i,n){var s=this.morphable.currentPoints;if(s&&e){this.sortPoints(s),this.sortPoints(e),this._morphFromPointsReal=[],this._morphToPointsReal=[],O(i)||(i=this.morphDuration),O(n)||(n=this.morphEasing),this._morphFromPointsReal=this.normalizePoints(e,s),this._morphToPointsReal=this.normalizePoints(s,e),this.morphable.currentPoints=this._morphFromPointsReal;var a=new ui(this,{property:"morphProgress",from:0,to:1},i,n);return this._disposers.push(a),a.start(),a}},r.prototype.normalizePoints=function(e,i){for(var n=0,s=e.length;nc.width*c.height?-1:1});for(var i=[],n=0,s=e.length;nm&&(m=u.length),d=this.addPoints(u,m),m=d.length;for(var w=360/(m-1),C=0;C0)for(var V=0,D=c.length;V0)for(var f=e[e.length-1],c=s.length;c0)for(var w=f.x+f.width/2,C=f.y+f.height/2,P=0,E=c.length;P0&&h&&h.length>0){for(var f=[],p=0,g=u.length;p0&&d&&d.length>0){for(var w=[],C=0,P=c.length;C0){var l=o.split("M"),u=l[0],c=l[1];if(u&&u.length>0){var h=u.split("L");if(h.length>0){var d=[],f=[d];e.push(f);for(var p=0;p0){var v=c.split("L");if(v.length>0){var y=[];f.push(y);for(var p=v.length-1;p>=0;p--){var g=v[p].split(",");y.push({x:+g[0],y:+g[1]})}}}}}}}this.setPropertyValue("points",e),this._currentPoints=e}return e},set:function(e){this.setPropertyValue("points",e,!0),this._currentPoints=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"currentPoints",{get:function(){return(!this._currentPoints||this._currentPoints.length==0)&&this.path&&(this._currentPoints=this.points),this._currentPoints},set:function(e){this._currentPoints!=e&&(this._currentPoints=e,this.draw())},enumerable:!0,configurable:!0}),r.prototype.draw=function(){var e="",i=this._currentPoints,n,s,a,o;if(i.length>0){for(var l=0,u=i.length;l0){var d=c[0];e+=He(d);for(var f=0;fd.x)&&(n=d.x),(!x(a)||a>d.y)&&(a=d.y),(!x(o)||o0){var d=h[0];e+=He(d);for(var p=0,g=h.length;p0){var s="";this._realSegments=[];for(var a=0,o=e.length;a0){var c=l[0],h=l[l.length-1],d=!1;me(c.x,3)==me(h.x)&&me(c.y)==me(h.y)&&(d=!0),s+=He(l[0]);for(var f=0;f0)for(var E=0;E<=C;E++){var V=$d(g,v,m,w,E/C);if(!(V.x==P.x&&V.y==P.y)){u.push(V);var D=me(xn(P,V),5);this._distance+=Lr(P,V),this.allPoints[Math.floor(this._distance)]={x:V.x,y:V.y,angle:D},P=V}}else u.push(p)}}var R=this.allPoints;if(R.length>1){for(var Q=0;Q1)R[Q]=R[Q-1];else for(var ge=1;ge1)for(var a=1;a1){if(i&&a>3){if(e<0){e<-.01&&(e=-.01);var o=s[0],l=s[1],u=o.x-(o.x-l.x)*a*e,c=o.y-(o.y-l.y)*a*e;return{x:u,y:c,angle:xn(o,l)}}else if(e>1){e>1.01&&(e=1.01);var o=s[s.length-2],l=s[s.length-3],u=o.x+(o.x-l.x)*a*(e-1),c=o.y+(o.y-l.y)*a*(e-1);return{x:u,y:c,angle:xn(o,{x:u,y:c})}}else if(e==1){var h=s[s.length-1];return{x:h.x,y:h.y,angle:h.angle}}}else e<0&&(e=Math.abs(e),n=180),e>=1&&(e=.9999999999999);var d=s[Math.floor(e*a)];return{x:d.x,y:d.y,angle:d.angle+n}}else if(a==1){var d=s[0];return{x:d.x,y:d.y,angle:d.angle}}else return{x:0,y:0,angle:0}},r}(qd);k.registeredClasses.Polyspline=Bh;var ql=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="Slice",e.setPropertyValue("cornerRadius",0),e.setPropertyValue("startAngle",0),e.setPercentProperty("innerRadius",0),e.setPercentProperty("radius",0),e.setPropertyValue("arc",0),e.setPropertyValue("shiftRadius",0),e.strokeOpacity=1,e.setPropertyValue("layout","none"),e.slice=e.createChild(_t),e.slice.isMeasured=!1,e._disposers.push(e.slice),e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this);var e=this.radiusY;this.radius>0&&e==0&&(e=.01),this.slice.path=F3(this.startAngle,this.arc,this.radius,this.pixelInnerRadius,e,this.cornerRadius,this.innerCornerRadius),this.slice.invalidate(),this.shiftRadius=this.shiftRadius,this.realFill instanceof un&&this.updateGradient(this.realFill),this.realStroke instanceof un&&this.updateGradient(this.realStroke)},r.prototype.updateGradient=function(e){e.element.attr({gradientUnits:"userSpaceOnUse"}),e.element.attr({r:this.radius}),e.cx=0,e.cy=0,e.element.attr({radius:this.radius})},Object.defineProperty(r.prototype,"bbox",{get:function(){if(this.definedBBox)return this.definedBBox;if(this.isMeasured){var e=Gp(this.startAngle,this.startAngle+this.arc,this.pixelInnerRadius),i=Gp(this.startAngle,this.startAngle+this.arc,this.radius);return F0([e,i])}else return{x:0,y:0,width:0,height:0}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(e){this.setPropertyValue("startAngle",Ll(e),!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"arc",{get:function(){return this.getPropertyValue("arc")},set:function(e){x(e)||(e=0),this.setPropertyValue("arc",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"radius",{get:function(){var e=this.getPropertyValue("radius");return x(e)||(e=0),e},set:function(e){this.setPropertyValue("radius",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"radiusY",{get:function(){var e=this.getPropertyValue("radiusY");return x(e)||(e=this.radius),e},set:function(e){this.setPropertyValue("radiusY",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(e){this.setPercentProperty("innerRadius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pixelInnerRadius",{get:function(){return wr(this.innerRadius,this.radius)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(e){this.setPropertyValue("cornerRadius",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"innerCornerRadius",{get:function(){return this.getPropertyValue("innerCornerRadius")},set:function(e){this.setPropertyValue("innerCornerRadius",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"shiftRadius",{get:function(){return this.getPropertyValue("shiftRadius")},set:function(e){this.setPropertyValue("shiftRadius",e),e=this.getPropertyValue("shiftRadius"),this.dx=e*this.radius*this.ix,this.dy=e*this.radiusY*this.iy},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"ix",{get:function(){return it(this.middleAngle)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"iy",{get:function(){return Qe(this.middleAngle)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"middleAngle",{get:function(){return this.startAngle+this.arc/2},enumerable:!0,configurable:!0}),r.prototype.getTooltipX=function(){var e=this.getPropertyValue("tooltipX");if(x(e))return e;var i=.5;e instanceof ct&&(i=e.value);var n=wr(this.innerRadius,this.radius);return this.ix*(n+(this.radius-n)*i)},r.prototype.getTooltipY=function(){var e=this.getPropertyValue("tooltipY");if(x(e))return e;var i=.5;e instanceof ct&&(i=e.value);var n=wr(this.innerRadius,this.radius);return this.iy*(n+(this.radius-n)*i)+this.slice.dy},r}(It);k.registeredClasses.Slice=ql;var Sy=function(t){ee(r,t);function r(){var e=t.call(this)||this;e.className="Preloader",e.width=xt(100),e.height=xt(100);var i=new Kt,n=e.createChild(It);n.shouldClone=!1;var s=n.createChild(ql);s.shouldClone=!1,s.radius=53,s.arc=360,s.fill=i.getFor("fill"),s.fillOpacity=.8,s.innerRadius=42,s.isMeasured=!1,e.backgroundSlice=s;var a=n.createChild(ql);a.shouldClone=!1,a.radius=50,a.innerRadius=45,a.fill=i.getFor("alternativeBackground"),a.fillOpacity=.2,a.isMeasured=!1,e.progressSlice=a;var o=n.createChild(hn);o.shouldClone=!1,o.horizontalCenter="middle",o.verticalCenter="middle",o.isMeasured=!1,o.fill=i.getFor("text"),o.align="center",o.valign="middle",o.textAlign="middle",o.fillOpacity=.4,e.label=o,e.background.opacity=1,e.background.fill=i.getFor("background"),e.contentAlign="center",e.contentValign="middle",e.delay=300;var l=e.states.create("hidden");return l.properties.opacity=0,e.visible=!1,e.hide(0),e.__disabled=!0,e._disposers.push(e.backgroundSlice),e._disposers.push(e.progressSlice),e._disposers.push(e.label),e._disposers.push(n),e}return Object.defineProperty(r.prototype,"progress",{get:function(){return this.getPropertyValue("progress")},set:function(e){var i=this;this.__disabled=!1,this.validateLayout(),this.setPropertyValue("progress",e),this.progressSlice.arc=360*e,this.label&&(this.label.text=Math.round(e*100)+"%"),e>=1?(this._started&&(this._started=void 0),k.events.once("enterframe",function(){var n=i.hide();n&&!n.isFinished()?n.events.once("animationended",function(){i.__disabled=!0}):i.__disabled=!0}),this.interactionsEnabled=!1,this.setPropertyValue("progress",0)):e>0&&(this.delay?this._started?this._started+this.delay<=new Date().getTime()&&(this.__disabled=!1,this.show(),this.interactionsEnabled=!0):this._started=new Date().getTime():(this.__disabled=!1,this.show(),this.interactionsEnabled=!0))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"delay",{get:function(){return this.getPropertyValue("delay")},set:function(e){this.setPropertyValue("delay",e)},enumerable:!0,configurable:!0}),r}(It);k.registeredClasses.Preloader=Sy;var Lh=function(t){ee(r,t);function r(){var e=t.call(this)||this;e.className="ResizeButton",e.orientation="horizontal",e.layout="absolute",e.horizontalCenter="middle",e.verticalCenter="middle",e.draggable=!0,e.padding(8,8,8,8),e.background.cornerRadius(20,20,20,20);var i=new _t;i.element=e.paper.add("path");var n=He({x:-2,y:-6});return n+=le({x:-2,y:6}),n+=He({x:2,y:-6}),n+=le({x:2,y:6}),i.path=n,i.pixelPerfect=!0,i.padding(0,4,0,4),i.stroke=new Kt().getFor("alternativeText"),i.strokeOpacity=.7,e.icon=i,e.label.dispose(),e.label=void 0,e.applyTheme(),e}return Object.defineProperty(r.prototype,"orientation",{set:function(e){var i=this.icon;i&&(e=="horizontal"?i.rotation=0:i.rotation=-90)},enumerable:!0,configurable:!0}),r}(Rn);k.registeredClasses.ResizeButton=Lh;var j3=function(t){ee(r,t);function r(){var e=t.call(this)||this;e.className="CloseButton",e.padding(8,8,8,8),e.showSystemTooltip=!0,e.width=30,e.height=30;var i=new Kt;e.cursorOverStyle=lr.pointer;var n=e.background;n.cornerRadius(20,20,20,20);var s=i.getFor("background");n.fill=s,n.stroke=i.getFor("primaryButton"),n.strokeOpacity=1,n.strokeWidth=1;var a=i.getFor("primaryButtonActive"),o=n.states.getKey("hover");o.properties.strokeWidth=3,o.properties.fill=s;var l=n.states.getKey("down");l.properties.stroke=a,l.properties.fill=s;var u=new _t;return u.element=e.paper.add("path"),u.stroke=n.stroke,e.icon=u,e.applyTheme(),e}return r.prototype.validate=function(){t.prototype.validate.call(this);var e=this.pixelWidth/3,i=this.pixelHeight/3,n=He({x:-e/2,y:-i/2});n+=le({x:e/2,y:i/2}),n+=He({x:e/2,y:-i/2}),n+=le({x:-e/2,y:i/2}),this.icon.path=n,this.invalidateLayout()},r.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),O(this.readerTitle)||(this.readerTitle=this.language.translate("Close"))},r}(Rn);k.registeredClasses.CloseButton=j3;var H3=function(t){ee(r,t);function r(){var e=t.call(this)||this;e.className="SwitchButton",e.tooltipY=0,e.layout="horizontal",e.contentAlign="center",e.contentValign="middle",e.padding(8,16,8,16),e.setStateOnChildren=!0,e.states.create("active");var i=new Kt,n=new hn;n.fillOpacity=.3;var s=n.states.create("active");s.properties.fillOpacity=1,n.isActive=!0,e.leftLabel=n;var a=new Rn,o=new Mu;a.contentValign="none",a.padding(0,0,0,0),o.radius=10,a.icon=o,a.icon.valign="middle",a.label=void 0;var l=xt(100);a.background.cornerRadius(l,l,l,l),a.width=o.radius*3.5,a.height=o.radius*2.1,a.marginLeft=8,a.marginRight=8,a.togglable=!0,o.dx=-o.radius*.7,o.fill=i.getFor("primaryButton");var u=o.states.create("hover");u.properties.fill=i.getFor("primaryButtonHover");var c=o.states.create("active");c.properties.fill=i.getFor("primaryButtonActive"),c.properties.dx=o.radius*.7,e.switchButton=a,e.events.on("toggled",function(){e.leftLabel.isActive=!e.isActive,e.rightLabel.isActive=e.isActive});var h=new hn;h.fillOpacity=.3;var d=h.states.create("active");return d.properties.fillOpacity=1,e.rightLabel=h,e.role="button",e.focusable=!0,h.valign="middle",n.valign="middle",a.valign="middle",e.applyTheme(),e}return Object.defineProperty(r.prototype,"leftLabel",{get:function(){return this._leftLabel},set:function(e){this._leftLabel&&this.removeDispose(this._leftLabel),this._leftLabel=e,e&&(e.parent=this,e.interactionsEnabled=!1,e.shouldClone=!1,this._disposers.push(this._leftLabel))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"rightLabel",{get:function(){return this._rightLabel},set:function(e){this._rightLabel&&this.removeDispose(this._rightLabel),this._rightLabel=e,e&&(e.parent=this,e.interactionsEnabled=!1,e.shouldClone=!1,this._disposers.push(this._rightLabel))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"switch",{get:function(){return this._switchButton},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"switchButton",{get:function(){return this._switchButton},set:function(e){this._switchButton&&this.removeDispose(this._switchButton),this._switchButton=e,e&&(e.parent=this,e.shouldClone=!1,this._disposers.push(this._switchButton))},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),e.leftLabel&&this.leftLabel.copyFrom(e.leftLabel),e.rightLabel&&this.rightLabel.copyFrom(e.rightLabel),e.switchButton&&this.switchButton.copyFrom(e.switchButton)},r}(It);k.registeredClasses.SwitchButton=H3;var Py=function(t){ee(r,t);function r(){var e=t.call(this)||this;e._previousStart=0,e._previousEnd=1,e._prevStart=0,e._prevEnd=1,e._isBusy=!1,e._skipRangeEvents=!1,e.updateWhileMoving=!0,e.className="Scrollbar",e.minHeight=12,e.minWidth=12,e.animationDuration=0,e.animationEasing=An,e.margin(10,10,10,10);var i=new Kt,n=e.background;return n.cornerRadius(10,10,10,10),n.fill=i.getFor("fill"),n.fillOpacity=.5,e.showSystemTooltip=!0,e.startGrip=new Lh,e.endGrip=new Lh,e.events.on("transformed",function(){e.updateThumb()},e,!1),e.start=0,e.end=1,e.role="scrollbar",e.thumb.role="slider",e.thumb.readerLive="polite",e.startGrip.role="slider",e.endGrip.role="slider",e.events.once("inited",function(){e._previousStart=void 0,e.dispatchRangeChange()},void 0,!1),e.hideGrips=!1,e.orientation="horizontal",e.setSVGAttribute({"aria-valuemin":"0"}),e.setSVGAttribute({"aria-valuemax":"100"}),e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),this.orientation==="horizontal"?(O(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB to select grip buttons or left and right arrows to change selection")),O(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use left and right arrows to move selection")),O(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use left and right arrows to move left selection")),O(this.endGrip.readerDescription)||(this.endGrip.readerDescription=this.language.translate("Use left and right arrows to move right selection")),this.readerOrientation="horizontal"):(O(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB select grip buttons or up and down arrows to change selection")),O(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use up and down arrows to move selection")),O(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use up and down arrows to move upper selection")),O(this.endGrip.readerDescription)||(this.endGrip.readerDescription=this.language.translate("Use up and down arrows to move lower selection")),this.readerOrientation="vertical"),this.readerControls=this.baseSprite.uidAttr()},r.prototype.validateLayout=function(){this.updateSize(),t.prototype.validateLayout.call(this),this.updateExtremes()},r.prototype.processBackground=function(){t.prototype.processBackground.call(this);var e=this.background;e.clickable=!0,e.events.on("hit",this.handleBgHit,this,void 0)},r.prototype.handleBgHit=function(e){this.makeBusy();var i=e.spritePoint;i=ny(i,this.background,this);var n=this.thumb;if(this.orientation=="horizontal"){var s=i.x-n.pixelWidth/2;s=Ne(s,0,this.innerWidth-n.pixelWidth),this._thumbAnimation=n.animate({property:"x",to:s},this.animationDuration,this.animationEasing)}else{var a=i.y-n.pixelHeight/2;a=Ne(a,0,this.innerHeight-n.pixelHeight),this._thumbAnimation=n.animate({property:"y",to:a},this.animationDuration,this.animationEasing)}this.animationDuration>0?this._thumbAnimation.events.on("animationended",this.makeUnbusy,this,!1):(this._thumb.validate(),this.makeUnbusy())},r.prototype.makeBusy=function(){this._isBusy=!0,this._skipRangeEvents=!1,this._unbusyTimeout&&this.removeDispose(this._unbusyTimeout),this._unbusyTimeout=void 0,this.stopAnimations()},r.prototype.stopAnimations=function(){this._thumbAnimation&&this._thumbAnimation.stop(!0),this._zoomAnimation&&this._zoomAnimation.stop(!0)},r.prototype.makeUnbusy=function(){this._unbusyTimeout=this.setTimeout(this.makeUnbusyReal.bind(this),this.animationDuration*1.1)},r.prototype.makeUnbusyReal=function(){this._usingGrip=void 0,this._isBusy=!1,this.updateWhileMoving||this.dispatchRangeChange()},r.prototype.dispatchRangeChange=function(){(this._previousEnd!=this.end||this._previousStart!=this.start)&&(this._previousStart=this.start,this._previousEnd=this.end,this.dispatch("rangechanged"))},r.prototype.updateThumb=function(e){if(e===void 0&&(e=!0),!!this.parent){var i=this.thumb,n=this.start,s=this.end,a=this.startGrip,o=this.endGrip;if(this.orientation=="horizontal"){var l=this.innerWidth;i.width=l*(s-n),i.maxX=l-i.pixelWidth,i.x=n*l,a.moveTo({x:i.pixelX,y:0},void 0,void 0,!0),o.moveTo({x:i.pixelX+i.pixelWidth,y:0},void 0,void 0,!0),a.readerTitle=this.language.translate("From %1",void 0,this.adapter.apply("positionValue",{value:Math.round(n*100)+"%",position:n}).value),a.readerValueNow=""+Math.round(n*100),a.readerValueText=a.readerTitle,o.readerTitle=this.language.translate("To %1",void 0,this.adapter.apply("positionValue",{value:Math.round(s*100)+"%",position:s}).value),o.readerValueNow=""+Math.round(s*100),o.readerValueText=o.readerTitle}else{var u=this.innerHeight;i.height=u*(s-n),i.maxY=u-i.pixelHeight,i.y=(1-s)*u,a.moveTo({x:0,y:i.pixelY+i.pixelHeight},void 0,void 0,!0),o.moveTo({x:0,y:i.pixelY},void 0,void 0,!0),a.readerTitle=this.language.translate("To %1",void 0,this.adapter.apply("positionValue",{value:Math.round((1-n)*100)+"%",position:1-n}).value),a.readerValueNow=""+Math.round(n*100),a.readerValueText=a.readerTitle,o.readerTitle=this.language.translate("From %1",void 0,this.adapter.apply("positionValue",{value:Math.round((1-s)*100)+"%",position:1-s}).value),o.readerValueNow=""+Math.round(s*100),o.readerValueText=o.readerTitle}i.readerTitle=this.language.translate("From %1 to %2",void 0,this.adapter.apply("positionValue",{value:Math.round(n*100)+"%",position:n}).value,this.adapter.apply("positionValue",{value:Math.round(s*100)+"%",position:s}).value),i.readerValueNow=""+Math.round(n*100),i.readerValueText=i.readerTitle,this.readerValueNow=""+Math.round(n*100),this.readerValueText=i.readerTitle,!this._skipRangeEvents&&this.updateWhileMoving&&e&&this.dispatchRangeChange()}},r.prototype.updateExtremes=function(){var e=this.orientation,i=0,n=0,s=0,a=0;e=="horizontal"?(s=this.innerWidth,n=a=this.innerHeight/2):(a=this.innerHeight,i=s=this.innerWidth/2);var o=this.startGrip;o.minX=i,o.maxX=s,o.minY=n,o.maxY=a;var l=this.endGrip;l.minX=i,l.maxX=s,l.minY=n,l.maxY=a;var u=this.thumb;u.minX=i,u.maxX=s,u.minY=n,u.maxY=a},r.prototype.updateSize=function(){var e=this.orientation,i=this.startGrip;i&&(i.orientation=e),this.endGrip&&(this.endGrip.orientation=e);var n=this.thumb;n&&(e=="horizontal"?(x(this._pixelWidth)||this.width instanceof ct||(this.width=xt(100)),O(this.percentHeight)&&(this.height=this.minHeight),n.height=this.innerHeight,n.verticalCenter="middle",n.horizontalCenter="left"):(x(this._pixelHeight)||this.height instanceof ct||(this.height=xt(100)),O(this.percentWidth)&&(this.width=this.minWidth),n.width=this.innerWidth,n.verticalCenter="top",n.horizontalCenter="middle"))},Object.defineProperty(r.prototype,"isBusy",{get:function(){return this._isBusy},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"start",{get:function(){return Math.min(this.getPosition(this._start),this.getPosition(this._end))},set:function(e){this._isBusy||(this.__start=e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"__start",{get:function(){return this._start},set:function(e){this._start=this.getPosition(e),this.updateThumb()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"end",{get:function(){return Math.max(this.getPosition(this._start),this.getPosition(this._end))},set:function(e){this._isBusy||(this.__end=e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"__end",{get:function(){return this._end},set:function(e){this._end=this.getPosition(e),this.updateThumb()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"range",{get:function(){return{start:this.start,end:this.end,priority:this._usingGrip}},enumerable:!0,configurable:!0}),r.prototype.skipRangeEvents=function(){this._isBusy||(this._skipRangeEvents=!0)},r.prototype.fixRange=function(e){(e.start!=me(this._start,2)||e.end!=me(this._end,2))&&(this._start=e.start,this._end=e.end,this._skipRangeEvents=!0,this.updateThumb(),this._skipRangeEvents=!1,this.thumb.validate(),this.thumb.background.validate())},r.prototype.getPosition=function(e){return Ne(me(e,4),0,1)},Object.defineProperty(r.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(e){this.setPropertyValue("orientation",e)&&(e==="horizontal"?(this.startGrip.cursorOverStyle=lr.horizontalResize,this.endGrip.cursorOverStyle=lr.horizontalResize):(this.startGrip.cursorOverStyle=lr.verticalResize,this.endGrip.cursorOverStyle=lr.verticalResize),this.updateByOrientation(),this.invalidate())},enumerable:!0,configurable:!0}),r.prototype.updateByOrientation=function(){},Object.defineProperty(r.prototype,"startGrip",{get:function(){return this._startGrip},set:function(e){this._startGrip&&this.removeDispose(this._startGrip),this._startGrip=e,this.processGrip(e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endGrip",{get:function(){return this._endGrip},set:function(e){this._endGrip&&this.removeDispose(this._endGrip),this._endGrip=e,this.processGrip(e)},enumerable:!0,configurable:!0}),r.prototype.processGrip=function(e){e.parent=this,e.isMeasured=!1,e.focusable=!0,e.shouldClone=!1,e.zIndex=100,e.events.on("drag",this.handleGripDrag,this,!1),e.events.on("dragstop",this.makeUnbusy,this,!1),e.events.on("down",this.makeBusy,this,!1),e.events.on("up",this.makeUnbusy,this,!1),this._disposers.push(e)},r.prototype.handleGripDrag=function(e){this.makeBusy(),e.target===this._startGrip?this._usingGrip="start":this._usingGrip="end",this.orientation=="horizontal"?(this._start=this.startGrip.pixelX/this.innerWidth,this._end=this.endGrip.pixelX/this.innerWidth):(this._start=1-this.startGrip.pixelY/this.innerHeight,this._end=1-this.endGrip.pixelY/this.innerHeight),this.updateThumb()},Object.defineProperty(r.prototype,"thumb",{get:function(){if(!this._thumb){var e=new Rn;e.background.cornerRadius(10,10,10,10),e.padding(0,0,0,0),this.thumb=e}return this._thumb},set:function(e){var i=this;e&&(this._thumb&&this.removeDispose(this._thumb),this._thumb=e,e.parent=this,e.isMeasured=!1,e.inert=!0,e.draggable=!0,e.clickable=!0,e.hoverable=!0,e.focusable=!0,e.shouldClone=!1,e.zIndex=0,e.cursorOverStyle=lr.grab,e.cursorDownStyle=lr.grabbing,e.events.on("dragstart",this.makeBusy,this,!1),e.events.on("dragstop",this.makeUnbusy,this,!1),e.events.on("positionchanged",this.handleThumbPosition,this,!1),e.events.on("sizechanged",this.handleThumbPosition,this,!1),e.events.on("doublehit",this.handleDoubleClick,this,!1),this._disposers.push(Ae().body.events.on("keyup",function(n){xi.isKey(n.event,["space","enter"])&&i.thumb.isFocused&&(n.event.preventDefault(),i.handleDoubleClick())})),this._disposers.push(this._thumb))},enumerable:!0,configurable:!0}),r.prototype.handleDoubleClick=function(){this.makeBusy();var e=0,i=1;this.start!=0||this.end!=1?(this._prevStart=this.start,this._prevEnd=this.end):(e=this._prevStart,i=this._prevEnd);var n=this.animate([{property:"__start",to:e},{property:"__end",to:i}],this.animationDuration,this.animationEasing);n&&!n.isFinished()?(n.events.on("animationended",this.makeUnbusy,this,!1),this._zoomAnimation=n):this.makeUnbusy()},r.prototype.handleThumbPosition=function(){var e=this.thumb;if(this.orientation=="horizontal"){var i=this.innerWidth,n=e.innerWidth,s=e.pixelX;this._start=s/i,this._end=(s+n)/i,this.updateThumb()}else{var a=this.innerHeight,o=e.innerHeight,l=e.pixelY;l+o>a&&(l=a-o,e.y=l),this._start=1-(l+o)/a,this._end=1-l/a,this.updateThumb()}},r.prototype.createBackground=function(){return new Iu},Object.defineProperty(r.prototype,"hideGrips",{get:function(){return this._hideGrips},set:function(e){var i=this;this._hideGrips=e,this._overDisposer&&this.removeDispose(this._overDisposer),this._outDisposer&&this.removeDispose(this._outDisposer),e?(this._overDisposer=this.events.on("over",function(){i.startGrip.show(),i.endGrip.show()},void 0,!1),this._outDisposer=this.events.on("out",function(){i.startGrip.hide(),i.endGrip.hide()},void 0,!1),this.startGrip.hide(),this.endGrip.hide()):(this.startGrip.show(),this.endGrip.show())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"animationDuration",{get:function(){return this.getPropertyValue("animationDuration")},set:function(e){this.setPropertyValue("animationDuration",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"animationEasing",{get:function(){return this.getPropertyValue("animationEasing")},set:function(e){this.setPropertyValue("animationEasing",e)},enumerable:!0,configurable:!0}),r.prototype.asFunction=function(e){return e=="animationEasing"||t.prototype.asIs.call(this,e)},r}(It);k.registeredClasses.Scrollbar=Py;var z3=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="Slider",e.thumb.opacity=0,e.thumb.interactionsEnabled=!1,e.endGrip.opacity=0,e.endGrip.interactionsEnabled=!1,e.startGrip.events.on("drag",function(){e.endGrip.x=e.startGrip.x,e.endGrip.y=e.startGrip.y}),e.applyTheme(),e}return Object.defineProperty(r.prototype,"__end",{get:function(){return this._start},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"end",{get:function(){return this._start},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"start",{get:function(){return this._start},set:function(e){this._isBusy||(this.__start=e)},enumerable:!0,configurable:!0}),r}(Py);k.registeredClasses.Slider=z3;var U3=function(t){ee(r,t);function r(){var e=t.call(this)||this;e.className="TextLink",e.selectable=!0;var i=new Kt;e.fill=i.getFor("primaryButton").brighten(.3);var n=e.states.create("hover");n.properties.fill=i.getFor("primaryButtonHover").brighten(.3);var s=e.states.create("down");return s.properties.fill=i.getFor("primaryButtonDown").brighten(.3),e.cursorOverStyle=lr.pointer,e.applyTheme(),e}return r}(hn);k.registeredClasses.TextLink=U3;var Ms=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.properties={},e.isTemplate=!1,e._scale=1,e._nonScaling=!0,e.className="Filter",e.filterPrimitives=new vt,e.properties.filterUnits="objectBoundingBox",e.filterPrimitives.events.on("inserted",function(i){e._disposers.push(i.newValue)}),e.width=120,e.height=120,e.applyTheme(),e}return r.prototype.appendPrimitives=function(e){Ve(this.filterPrimitives.iterator(),function(i){e.add(i)})},r.prototype.animate=function(e,i,n){var s=new ui(this,e,i,n).start();return s},Object.defineProperty(r.prototype,"width",{get:function(){return this.properties.width},set:function(e){this.properties.width=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){return this.properties.height},set:function(e){this.properties.height=e},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),Le(e.properties,function(n,s){i[n]=s})},Object.defineProperty(r.prototype,"paper",{get:function(){return this._paper?this._paper:go()},set:function(e){this._paper!=e&&(this._paper=e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new Is(this._animations))),this._animations},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"scale",{get:function(){return this._scale},set:function(e){this._scale=e,this.updateScale()},enumerable:!0,configurable:!0}),r.prototype.updateScale=function(){},Object.defineProperty(r.prototype,"filterUnits",{get:function(){return this.properties.filterUnits},set:function(e){this.properties.filterUnits=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"nonScaling",{get:function(){return this._nonScaling},set:function(e){this._nonScaling=e,e||(this._scale=1),this.updateScale()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"sprite",{set:function(e){this.setSprite(e)},enumerable:!0,configurable:!0}),r.prototype.setSprite=function(e){this._sprite&&this._sprite!=e&&this._sprite.filters.removeValue(this),this._sprite=e},r}(Qt),Cy=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="DropShadowFilter",e.color=$e("#000"),e.feGaussianBlur=e.paper.add("feGaussianBlur"),e.feGaussianBlur.attr({result:"blurOut",in:"SourceGraphic"}),e.filterPrimitives.push(e.feGaussianBlur),e.feOffset=e.paper.add("feOffset"),e.feOffset.attr({result:"offsetBlur"}),e.filterPrimitives.push(e.feOffset),e.feFlood=e.paper.add("feFlood"),e.feFlood.attr({"flood-color":e.color}),e.filterPrimitives.push(e.feFlood),e.feComposite=e.paper.add("feComposite"),e.feComposite.attr({in2:"offsetBlur",operator:"in"}),e.filterPrimitives.push(e.feComposite),e.feMerge=e.paper.addGroup("feMerge"),e.feMerge.add(e.paper.add("feMergeNode")),e.feMerge.add(e.paper.add("feMergeNode").attr({in:"SourceGraphic"})),e.filterPrimitives.push(e.feMerge),e.width=200,e.height=200,e.blur=1.5,e.dx=3,e.dy=3,e.opacity=.5,e.applyTheme(),e}return Object.defineProperty(r.prototype,"color",{get:function(){return this.properties.color},set:function(e){this.properties.color=e,this.feFlood&&this.feFlood.attr({"flood-color":e})},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"opacity",{get:function(){return this.properties.opacity},set:function(e){this.properties.opacity=e,this.feFlood.attr({"flood-opacity":e})},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dx",{get:function(){return this.properties.dx},set:function(e){this.properties.dx=e,this.feOffset.attr({dx:e/this.scale})},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dy",{get:function(){return this.properties.dy},set:function(e){this.properties.dy=e,this.feOffset.attr({dy:e/this.scale})},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"blur",{get:function(){return this.properties.blur},set:function(e){this.properties.blur=e,this.feGaussianBlur.attr({stdDeviation:e/this.scale})},enumerable:!0,configurable:!0}),r.prototype.updateScale=function(){this.dx=this.dx,this.dy=this.dy,this.blur=this.blur},r}(Ms);k.registeredClasses.DropShadowFilter=Cy;var Oy=function(t){ee(r,t);function r(){var e=t.call(this)||this;e._boundingRect={x:-4e4,y:-4e4,width:8e4,height:8e4},e._pointTo={x:0,y:0},e.fitPointerToBounds=!1,e._verticalOrientation="up",e.fixDoc=!0,e.className="Tooltip",e.isMeasured=!1,e.getFillFromObject=!0,e.margin(5,5,5,5),e.defaultState.transitionDuration=1,e.hiddenState.transitionDuration=1;var i=e.background;i.interactionsEnabled=!1,i.fillOpacity=.9,i.strokeWidth=1,i.strokeOpacity=1,i.stroke=$e("#ffffff"),i.cornerRadius=3,i.pointerLength=6,i.pointerBaseWidth=10;var n=new Cy;n.dy=1,n.dx=1,n.opacity=.5,i.filters.push(n),e.autoTextColor=!0;var s=e.createChild(hn);return s.shouldClone=!1,e.label=s,s.padding(7,12,4,12),s.interactionsEnabled=!1,s.horizontalCenter="middle",s.fill=$e("#ffffff"),e._disposers.push(s),e.label.events.on("sizechanged",e.drawBackground,e),e.label.zIndex=1,e.pointerOrientation="vertical",e.animationDuration=0,e.animationEasing=An,e.setPropertyValue("showInViewport",!1),e.role="tooltip",e.visible=!1,e.opacity=0,e.x=0,e.y=0,e.events.on("visibilitychanged",e.handleVisibility,e),e.applyTheme(),e}return r.prototype.handleVisibility=function(){this.visible&&this.label.invalidate()},Object.defineProperty(r.prototype,"getStrokeFromObject",{get:function(){return this.getPropertyValue("getStrokeFromObject")},set:function(e){this.setPropertyValue("getStrokeFromObject",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"autoTextColor",{get:function(){return this.getPropertyValue("autoTextColor")},set:function(e){this.setPropertyValue("autoTextColor",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"keepTargetHover",{get:function(){return this.getPropertyValue("keepTargetHover")},set:function(e){var i=this;this.setPropertyValue("keepTargetHover",e,!0)&&e&&(this.hoverable=!0,this.background.interactionsEnabled=!0,this._disposers.push(this.events.on("over",function(n){i.targetSprite&&i.targetSprite.hoverable&&(i.targetSprite.isHover=!0)})),this._disposers.push(this.events.on("out",function(n){i.targetSprite&&i.targetSprite.hoverable&&(i.targetSprite.isHover=!1)})))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"showInViewport",{get:function(){return this.getPropertyValue("showInViewport")},set:function(e){this.setPropertyValue("showInViewport",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"getFillFromObject",{get:function(){return this.getPropertyValue("getFillFromObject")},set:function(e){this.setPropertyValue("getFillFromObject",e,!0)},enumerable:!0,configurable:!0}),r.prototype.createBackground=function(){return new B3},Object.defineProperty(r.prototype,"pointerOrientation",{get:function(){return this.getPropertyValue("pointerOrientation")},set:function(e){this.setPropertyValue("pointerOrientation",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"animationDuration",{get:function(){return this.getPropertyValue("animationDuration")},set:function(e){this.setPropertyValue("animationDuration",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"animationEasing",{get:function(){return this.getPropertyValue("animationEasing")},set:function(e){this.setPropertyValue("animationEasing",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"html",{get:function(){return this.label.html},set:function(e){this.label.html!=e&&(this.label.html=e,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"text",{get:function(){return this.label.text},set:function(e){this.label.text!=e&&(this.label.text=e,this.invalidate())},enumerable:!0,configurable:!0}),r.prototype.draw=function(){t.prototype.draw.call(this);var e=this.label;e.invalid&&e.validate();var i=this._pointTo.x,n=this._pointTo.y,s=this._boundingRect,a=e.measuredWidth,o=e.measuredHeight,l=this.background.pointerLength,u,c;if(this.ignoreBounds&&(s=void 0),s&&this.fixDoc&&a>s.width){ig({x:s.x,y:s.y},this.parent);var h=ig({x:s.x+s.width,y:s.y+s.height},this.parent),d=document.body.offsetWidth;document.body.offsetHeight,h.x>d/2?s.x=s.width-a:s.width=s.x+a}var f=this.pointerOrientation;f=="horizontal"||f=="left"||f=="right"?(c=-o/2,f=="horizontal"?s&&i>s.x+s.width/2?u=-a/2-l:u=a/2+l:f=="left"?u=a/2+l:u=-a/2-l):(s&&(u=Ne(0,s.x-i+a/2,s.x-i+s.width-a/2)),f=="vertical"?s&&n>s.y+o+l?(c=-o-l,this._verticalOrientation="up"):(c=l,this._verticalOrientation="down"):f=="down"?(c=-o-l,this._verticalOrientation="up"):(c=l,this._verticalOrientation="down")),s&&(c=Ne(c,s.y-n,s.y+s.height-o-n)),e.x=u,e.y=c,this.drawBackground()},r.prototype.updateBackground=function(){this.group.addToBack(this.background.group)},r.prototype.drawBackground=function(){var e=this.label,i=this.background,n=e.measuredWidth,s=e.measuredHeight,a=this._boundingRect,o=n,l=e.pixelX-n/2,u=s,c=e.pixelY,h=this._pointTo.x,d=this._pointTo.y,f=a.x-h,p=f+a.width,g=a.y-d,v=g+a.height;i.x=l,i.y=c,i.width=o,i.height=u,this.fitPointerToBounds?(i.pointerX=Ne(-i.x,f-i.x,p-i.x),i.pointerY=Ne(-i.y,g-i.y,v-i.y)):(i.pointerX=-i.x,i.pointerY=-i.y),i.validate()},r.prototype.delayedPointTo=function(e,i){var n=this;this._pointToDisposer&&this._pointToDisposer.dispose(),this._pointToDisposer=k.events.once("exitframe",function(){n.pointTo(e,i)}),this.addDisposer(this._pointToDisposer)},r.prototype.pointTo=function(e,i){(this._pointTo.x!=e.x||this._pointTo.y!=e.y)&&(this._pointTo=e,this.invalidate(),!this.visible||i?(this.moveTo(this._pointTo),this._animation&&this._animation.kill()):this.pixelX==0&&this.pixelY==0?this.moveTo(this._pointTo):(this._animation&&this._animation.kill(),this._animation=new ui(this,[{property:"x",to:e.x,from:this.pixelX},{property:"y",to:e.y,from:this.pixelY}],this.animationDuration,this.animationEasing).start()))},r.prototype.setBounds=function(e){var i=this._boundingRect;(i.x!=e.x||i.y!=e.y||i.width!=e.width||i.height!=e.height)&&(this._boundingRect=e,this.invalidate())},Object.defineProperty(r.prototype,"boundingContainer",{set:function(e){this._boundingContainer=e,e.events.on("sizechanged",this.updateBounds,this),e.events.on("positionchanged",this.updateBounds,this)},enumerable:!0,configurable:!0}),r.prototype.updateBounds=function(){var e=this._boundingContainer,i=a4({x:e.pixelX,y:e.pixelY,width:e.maxWidth,height:e.maxHeight},e);this.setBounds(i)},Object.defineProperty(r.prototype,"ignoreBounds",{get:function(){return this.getPropertyValue("ignoreBounds")},set:function(e){this.setPropertyValue("ignoreBounds",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"verticalOrientation",{get:function(){return this._verticalOrientation},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tooltip",{get:function(){},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.label.copyFrom(e.label),e._boundingRect&&(this._boundingRect=e._boundingRect)},r.prototype.asFunction=function(e){return e=="animationEasing"||t.prototype.asIs.call(this,e)},r}(It);k.registeredClasses.Tooltip=Oy;var K3=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="Trapezoid",e.element=e.paper.add("path"),e.topSide=xt(100),e.bottomSide=xt(100),e.leftSide=xt(100),e.rightSide=xt(100),e.isMeasured=!1,e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this);var e=this.pixelWidth,i=this.pixelHeight,n=wr(this.topSide,e),s=wr(this.bottomSide,e),a=wr(this.leftSide,i),o=wr(this.rightSide,i),l=(e-n)/2,u=(i-a)/2,c=e-(e-n)/2,h=(i-o)/2,d=e-(e-s)/2,f=i-(i-o)/2,p=(e-s)/2,g=i-(i-a)/2,v="",y="",m="",w="";if(O(this.horizontalNeck)){var C=this.horizontalNeck.value;v=le({x:e*C,y:Math.max(u,h)}),m=le({x:e*C,y:Math.min(f,g)})}if(O(this.verticalNeck)){var P=this.verticalNeck.value;y=le({x:Math.min(c,d),y:i*P}),w=le({x:Math.max(l,p),y:i*P})}var E=He({x:l,y:u})+v+le({x:c,y:h})+y+le({x:d,y:f})+m+le({x:p,y:g})+w;this.path=E},Object.defineProperty(r.prototype,"topSide",{get:function(){return this.getPropertyValue("topSide")},set:function(e){this.setPercentProperty("topSide",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"bottomSide",{get:function(){return this.getPropertyValue("bottomSide")},set:function(e){this.setPercentProperty("bottomSide",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"leftSide",{get:function(){return this.getPropertyValue("leftSide")},set:function(e){this.setPercentProperty("leftSide",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"rightSide",{get:function(){return this.getPropertyValue("rightSide")},set:function(e){this.setPercentProperty("rightSide",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"horizontalNeck",{get:function(){return this.getPropertyValue("horizontalNeck")},set:function(e){this.setPropertyValue("horizontalNeck",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"verticalNeck",{get:function(){return this.getPropertyValue("verticalNeck")},set:function(e){this.setPropertyValue("verticalNeck",e,!0)},enumerable:!0,configurable:!0}),r}(_t);k.registeredClasses.Trapezoid=K3;var ky=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="Triangle",e.element=e.paper.add("path"),e.direction="top",e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this);var e=this.pixelWidth,i=this.pixelHeight,n;switch(this.direction){case"right":n=He({x:0,y:0})+le({x:e,y:i/2})+le({x:0,y:i})+Yt();break;case"left":n=He({x:e,y:0})+le({x:0,y:i/2})+le({x:e,y:i})+Yt();break;case"bottom":n=He({x:0,y:0})+le({x:e,y:0})+le({x:e/2,y:i})+Yt();break;case"top":n=He({x:e/2,y:0})+le({x:e,y:i})+le({x:0,y:i})+Yt();break}this.path=n},Object.defineProperty(r.prototype,"direction",{get:function(){return this.getPropertyValue("direction")},set:function(e){this.setPropertyValue("direction",e,!0)},enumerable:!0,configurable:!0}),r}(_t);k.registeredClasses.Triangle=ky;var Fh=function(){function t(r,e){this._tensionX=r,this._tensionY=e}return t.prototype.smooth=function(r){for(var e=r.length-1;e>0;e--){var i=r[e],n=r[e-1];Math.abs(i.x-n.x)<.1&&Math.abs(i.y-n.y)<.1&&r.splice(e-1,1)}var s=this._tensionX,a=this._tensionY;if(r.length<3||s>=1&&a>=1)return L3(r);var o=r[0],l=r[r.length-1],u=!1;me(o.x,3)==me(l.x)&&me(o.y)==me(l.y)&&(u=!0);for(var c="",e=0,h=r.length-1;e0){var d=Math.atan2(u-o,l-a),f=Math.cos(d),p=Math.sin(d),g=e*f,v=e*p;if(e<=1||i<=1)h=le(r);else{var y=Math.round(2*c/e),m=[],w=1;l0){var n=this.getPoints(i);e=He(n[0])+new Fh(this.tension,this.tension).smooth(n)}var s=this.pixelInnerRadius;if(s>0){var n=this.getPoints(s);n.reverse(),e+=He(n[0])+new Fh(this.tension,this.tension).smooth(n)}this.path=e},r.prototype.getPoints=function(e){for(var i=e*Math.PI*2,n=this.waveHeight/2,s=i/Math.round(i/this.waveLength),a=s/2,o=[],l=i/s,u=0;u<=l;u++){var c=u*s/i*360,h=(u*s+a)/i*360;o.push({x:(e-n)*it(c),y:(e-n)*Qe(c)}),o.push({x:(e+n)*it(h),y:(e+n)*Qe(h)})}return o.pop(),o},Object.defineProperty(r.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(e){this.setPercentProperty("innerRadius",e,!0,!1,10,!1),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pixelInnerRadius",{get:function(){return wr(this.innerRadius,jt(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(e){this.setPropertyValue("waveLength",e),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")},set:function(e){this.setPropertyValue("waveHeight",e),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(e){this.setPropertyValue("tension",e),this.invalidate()},enumerable:!0,configurable:!0}),r}(Mu);k.registeredClasses.WavedCircle=W3;var pee=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="WavedLine",e.element=e.paper.add("path"),e.waveLength=16,e.waveHeight=4,e.tension=.8,e.pixelPerfect=!1,e.fill=$e(),e.applyTheme(),e}return r.prototype.draw=function(){var e={x:this.x1,y:this.y1},i={x:this.x2,y:this.y2};this.path=He(e)+ya(e,i,this.waveLength,this.waveHeight,this.tension,!0)},Object.defineProperty(r.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(e){this.setPropertyValue("waveLength",e),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")},set:function(e){this.setPropertyValue("waveHeight",e),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(e){this.setPropertyValue("tension",e),this.invalidate()},enumerable:!0,configurable:!0}),r}(wy),gee=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="WavedRectangle",e.element=e.paper.add("path"),e.waveLength=16,e.waveHeight=4,e.tension=.8,e.setPropertyValue("wavedLeft",!0),e.setPropertyValue("wavedRight",!0),e.setPropertyValue("wavedTop",!0),e.setPropertyValue("wavedBottom",!0),e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this);var e=this.pixelWidth,i=this.pixelHeight;if(e>0&&i>0){var n={x:0,y:0},s={x:e,y:0},a={x:e,y:i},o={x:0,y:i},l=Math.min(e,this.waveLength),u=Math.min(i,this.waveHeight),c=Math.min(i,this.waveLength),h=Math.min(e,this.waveHeight),d="",f="",p="",g="";this.wavedTop&&(d=ya(n,s,l,u,this.tension,!0)),this.wavedRight&&(f=ya(s,a,c,h,this.tension,!0)),this.wavedBottom&&(p=ya(a,o,l,u,this.tension,!0)),this.wavedLeft&&(g=ya(o,n,c,h,this.tension,!0)),this.path=He(n)+d+le(s)+f+le(a)+p+le(o)+g+"z"}},Object.defineProperty(r.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(e){this.setPropertyValue("waveLength",e),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")},set:function(e){this.setPropertyValue("waveHeight",e),this.invalidate()},enumerable:!0,configurable:!0}),r.prototype.setWavedSides=function(e,i,n,s){this.wavedTop=e,this.wavedRight=i,this.wavedBottom=n,this.wavedLeft=s},Object.defineProperty(r.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(e){this.setPropertyValue("tension",e),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"wavedRight",{get:function(){return this.getPropertyValue("wavedRight")},set:function(e){this.setPropertyValue("wavedRight",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"wavedLeft",{get:function(){return this.getPropertyValue("wavedLeft")},set:function(e){this.setPropertyValue("wavedLeft",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"wavedTop",{get:function(){return this.getPropertyValue("wavedTop")},set:function(e){this.setPropertyValue("wavedTop",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"wavedBottom",{get:function(){return this.getPropertyValue("wavedBottom")},set:function(e){this.setPropertyValue("wavedBottom",e,!0)},enumerable:!0,configurable:!0}),r}(Gd),Y3=function(t){ee(r,t);function r(){var e=t.call(this)||this;e.className="ZoomOutButton",e.padding(9,9,9,9),e.showSystemTooltip=!0;var i=new Kt,n=e.background;n.cornerRadius(20,20,20,20),n.fill=i.getFor("primaryButton"),n.stroke=i.getFor("primaryButtonStroke"),n.strokeOpacity=0,n.states.getKey("hover").properties.fill=i.getFor("primaryButtonHover"),n.states.getKey("down").properties.fill=i.getFor("primaryButtonActive");var s=new _t;s.element=e.paper.add("path");var a=He({x:0,y:0});return a+=le({x:11,y:0}),s.path=a,s.pixelPerfect=!0,s.padding(8,3,8,3),s.stroke=i.getFor("primaryButtonText"),e.icon=s,e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),O(this.readerTitle)||(this.readerTitle=this.language.translate("Zoom Out"))},r}(Rn);k.registeredClasses.ZoomOutButton=Y3;var G3=function(t){ee(r,t);function r(){var e=t.call(this)||this;e.className="PlayButton",e.padding(12,12,12,12),e.showSystemTooltip=!0;var i=new Kt,n=e.background;n.cornerRadius(25,25,25,25),n.fill=i.getFor("primaryButton"),n.stroke=i.getFor("primaryButtonStroke"),n.strokeOpacity=0,n.states.getKey("hover").properties.fill=i.getFor("primaryButtonHover"),n.states.getKey("down").properties.fill=i.getFor("primaryButtonActive");var s=new ky;s.direction="right",s.width=9,s.height=11,s.marginLeft=1,s.marginRight=1,s.horizontalCenter="middle",s.verticalCenter="middle",s.stroke=i.getFor("primaryButtonText"),s.fill=s.stroke,e.icon=s;var a=new Iu;a.width=11,a.height=11,a.horizontalCenter="middle",a.verticalCenter="middle",a.cornerRadius(0,0,0,0),a.stroke=i.getFor("primaryButtonText"),a.fill=s.stroke,e.togglable=!0;var o=e.states.create("active");return o.transitionDuration=0,o.properties.icon=a,e.defaultState.transitionDuration=0,e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),O(this.readerTitle)||(this.readerTitle=this.language.translate("Play"))},r}(Rn);k.registeredClasses.PlayButton=G3;var Ey=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="ColorModifier",e.applyTheme(),e}return r.prototype.modify=function(e){return e},r}(Qt);k.registeredClasses.ColorModifier=Ey;var Qd=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.lightnesses=[],e.brightnesses=[],e.opacities=[],e.offsets=[],e.className="GradientModifier",e.applyTheme(),e}return Object.defineProperty(r.prototype,"lightnesses",{get:function(){return this._lightnesses},set:function(e){this._lightnesses=e,this._brightnesses=[]},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"brightnesses",{get:function(){return this._brightnesses},set:function(e){this._brightnesses=e,this._lightnesses=[]},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"opacities",{get:function(){return this._opacities},set:function(e){this._opacities=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"offsets",{get:function(){return this._offsets},set:function(e){this._offsets=e},enumerable:!0,configurable:!0}),r.prototype.modify=function(e){this.gradient.clear();var i=0;this.opacities&&(i=st(i,this.opacities.length)),this.lightnesses&&(i=st(i,this.lightnesses.length)),this.brightnesses&&(i=st(i,this.brightnesses.length));for(var n=1,s,a,o=0;o0&&this.depth>0){this.sideB.show(0),this.sideA.show(0),this.edge.show(0);for(var e=this.startAngle,i=this.arc,n=this.pixelInnerRadius||0,s=this.radiusY||0,a=this.radius,o=e+i,l=s/a*n,u={x:it(e)*n,y:Qe(e)*l},c={x:it(e)*a,y:Qe(e)*s},h={x:it(o)*a,y:Qe(o)*s},d={x:it(o)*n,y:Qe(o)*l},f=this.depth,p={x:u.x,y:u.y-f},g={x:c.x,y:c.y-f},v={x:h.x,y:h.y-f},y={x:d.x,y:d.y-f},m="",w=Math.ceil(i/5),C=i/w,P=e,E=g,V=0;V0&&P<180){m+=He(E);var D={x:it(P)*a,y:Qe(P)*s-f};m+=le({x:E.x,y:E.y+f}),m+=br({x:D.x,y:D.y+f},a,s,!0),m+=le(D),m+=br(E,a,s),m+="z",E=D}else{m+=He(E);var D={x:it(P)*a,y:Qe(P)*s-f};m+=br(D,a,s,!0),m+=le({x:D.x,y:D.y+f}),m+=br({x:E.x,y:E.y+f},a,s),m+=le(E),m+="z",E=D}E=p,P=e;for(var V=0;V0&&P<180){m+=He(E);var D={x:it(P)*n,y:Qe(P)*l-f};m+=le({x:E.x,y:E.y+f}),m+=br({x:D.x,y:D.y+f},n,l,!0),m+=le(D),m+=br(E,n,l),m+="z",E=D}else{m+=He(E);var D={x:it(P)*n,y:Qe(P)*l-f};m+=br(D,n,l,!0),m+=le({x:D.x,y:D.y+f}),m+=br({x:E.x,y:E.y+f},n,l),m+=le(E),m+="z",E=D}this.edge.path=m,this.sideA.path=He(u)+le(c)+le(g)+le(p)+Yt(),this.sideB.path=He(h)+le(d)+le(y)+le(v)+Yt(),this.startAngle<90?this.sideA.toBack():this.sideA.toFront(),this.startAngle+this.arc>90?this.sideB.toBack():this.sideB.toFront(),this.slice.dy=-f}else this.sideA.hide(0),this.sideB.hide(0),this.edge.hide(0)},Object.defineProperty(r.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(e){this.setPropertyValue("depth",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"angle",{get:function(){var e=this.getPropertyValue("angle");return x(e)||(e=0),e},set:function(e){this.setPropertyValue("angle",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"radiusY",{get:function(){var e=this.getPropertyValue("radiusY");return x(e)||(e=this.radius-this.radius*this.angle/90),e},set:function(e){this.setPropertyValue("radiusY",e,!0)},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.edge.copyFrom(e.edge),this.sideA.copyFrom(e.sideA),this.sideB.copyFrom(e.sideB)},r}(ql),Z3=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="RadialGradientModifier",e.gradient=new un,e.applyTheme(),e}return r.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.gradient=e.gradient.clone()},r}(Qd);k.registeredClasses.RadialGradientModifier=Z3;var Dy=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.properties.gap=0,e._line=e.paper.add("path"),e.addElement(e._line),e}return r.prototype.draw=function(){if(t.prototype.draw.call(this),Math.round(this.rotation/90)!=this.rotation/90&&(this.properties.shapeRendering="auto"),this._line){var e=this.width,i=this.height,n="";if(!this.gap)Math.round(this.rotation/90)!=this.rotation/90?(n=He({x:-e,y:i/2})+le({x:e*2,y:i/2}),this.properties.rotationX=this.width/2,this.properties.rotationY=this.height/2):n=He({x:0,y:0})+le({x:e,y:0});else for(var s=this.gap+this.strokeWidth,a=this.height/s,o=-a/2;o1&&(c-=1),o.push(c)}this.shuffle&&o.sort(function(p,g){return Math.random()-.5});for(var u=0;u1?e.l=e.l-Math.floor(e.l):e.l<0&&(e.l=-(e.l-Math.floor(e.l))),e.l=fc(e.l,this.minLightness,this.maxLightness)):(e.l>1?e.l=1:e.l<0&&(e.l=0),e.l=dc(e.l,this.minLightness,this.maxLightness))},r.prototype.processConfig=function(e){if(e){if(O(e.list)&&li(e.list))for(var i=0,n=e.list.length;i{a===this.plugin.id&&this.fallbacks.setSettings(o)}),this.proxiedOn=new Proxy({},{get:(a,o)=>this.target?this.target.on[o]:(...l)=>{this.onQueue.push({method:o,args:l})}}),this.proxiedTarget=new Proxy({},{get:(a,o)=>this.target?this.target[o]:o==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(o)?(...l)=>(this.targetQueue.push({method:o,args:l,resolve:()=>{}}),this.fallbacks[o](...l)):(...l)=>new Promise(u=>{this.targetQueue.push({method:o,args:l,resolve:u})})})}async setRealTarget(r){this.target=r;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function dS(t,r){const e=t,i=Ay(),n=sS(),s=aS&&e.enableEarlyProxy;if(n&&(i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))n.emit(oS,t,r);else{const a=s?new hS(e,n):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:e,setupFn:r,proxy:a}),a&&r(a.proxiedTarget)}}/*! + `,l},r.prototype.getJSON=function(e,i,n){return n===void 0&&(n=!0),Ze(this,void 0,void 0,function(){var s,a,o,l,u,c,h,d,f,p=this;return We(this,function(g){if(O(i)||(i=this.getFormatOptions("json")),a=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"json"}).dataFields,this._dynamicDataFields)s=this.data;else for(s=[],o=this.data,l=function(v,y){var m=o[y];if(typeof m=="object"){var w={};Le(m,function(C,P){O(a[C])&&(w[a[C]]=p.convertToSpecialFormat(C,P,i))}),s.push(w)}},u=o.length,c=0;c

'+this.language.translate('To save the image, right-click thumbnail on the left and choose "Save picture as..."')+'

'+this.language.translate("(Press ESC to close this message)")+"

",this.language.translate("Image Export Complete")):(y=void 0,i.match(/\.svg$/)?y="image/svg+xml":(y="text/plain",i+=".txt"),m=document.createElement("iframe"),m.width="1px",m.height="1px",m.style.display="none",document.body.appendChild(m),w=m.contentDocument,w.open(y,"replace"),w.write(decodeURIComponent(v[3])),w.close(),w.execCommand("SaveAs",!0,i),document.body.removeChild(m)))):window.location.href=e;return[2,!0]})})},r.prototype.downloadSupport=function(){return this.linkDownloadSupport()||this.msBlobDownloadSupport()},r.prototype.linkDownloadSupport=function(){var e=k.getCache("linkDownloadSupport");if(e===!1||e===!0)return e;var i=document.createElement("a"),n=typeof i.download<"u";return k.setCache("linkDownloadSupport",n),n},r.prototype.blobDownloadSupport=function(){return O(window.Blob)},r.prototype.msBlobDownloadSupport=function(){return O(window.navigator.msSaveOrOpenBlob)},r.prototype.legacyIE=function(){var e=document.createElement("div");return e.innerHTML="",e.getElementsByTagName("i").length==1},r.prototype.print=function(e,i,n){return Ze(this,void 0,void 0,function(){return We(this,function(s){return i.printMethod=="css"?[2,this.printViaCSS(e,i,n)]:[2,this.printViaIframe(e,i,n)]})})},r.prototype.printViaCSS=function(e,i,n){return Ze(this,void 0,void 0,function(){var s,a,o,l,u;return We(this,function(c){return s=document.documentElement.scrollTop||document.body.scrollTop,a=new qe(zd(this.container),"body > *",{display:"none",position:"fixed",visibility:"hidden",opacity:"0",clipPath:"polygon(0px 0px,0px 0px,0px 0px,0px 0px);"}),n&&document&&document.title&&(o=document.title,document.title=n),l=new Image,l.src=e,l.style.maxWidth="100%",l.style.display="block",l.style.position="relative",l.style.visibility="visible",l.style.opacity="1",l.style.clipPath="none",document.body.appendChild(l),this.setTimeout(function(){window.print()},50),u=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,u&&i.delay<1e3?i.delay=1e3:i.delay<100&&(i.delay=100),this.setTimeout(function(){document.body.removeChild(l),a.dispose(),o&&(document.title=document.title),document.documentElement.scrollTop=document.body.scrollTop=s},i.delay||500),[2,!0]})})},r.prototype.printViaIframe=function(e,i,n){return Ze(this,void 0,void 0,function(){var s,a,o;return We(this,function(l){return s=document.createElement("iframe"),s.style.visibility="hidden",document.body.appendChild(s),s.contentWindow.document.open(),s.contentWindow.document.close(),a=new Image,a.src=e,a.style.maxWidth="100%",a.style.height="auto",n&&(s.contentWindow.document.title=n),s.contentWindow.document.body.appendChild(a),s.load=function(){s.contentWindow.document.body.appendChild(a)},this.setTimeout(function(){try{s.contentWindow.document.execCommand("print",!1,null)||s.contentWindow.print()}catch{s.contentWindow.print()}},i.delay||50),o=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,o&&i.delay<1e3?i.delay=1e3:i.delay<100&&(i.delay=100),this.setTimeout(function(){document.body.removeChild(s)},i.delay+50||100),[2,!0]})})},r.prototype.findBackgroundColor=function(e){var i=1,n=Hd(e,"background-color");if((n.match(/[^,]*,[^,]*,[^,]*,[ ]?0/)||n=="transparent")&&(i=0),i==0){var s=e.parentElement;return s?this.findBackgroundColor(s):$e("#fff")}else return $e(n,i)},Object.defineProperty(r.prototype,"container",{get:function(){return this.adapter.apply("container",{container:this._container}).container},set:function(e){this._container=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"sprite",{get:function(){return this.adapter.apply("sprite",{sprite:this._sprite}).sprite},set:function(e){this._sprite=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"extraSprites",{get:function(){return this.adapter.apply("extraSprites",{extraSprites:this._extraSprites}).extraSprites},set:function(e){this._extraSprites=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"validateSprites",{get:function(){return this.adapter.apply("validateSprites",{validateSprites:this._validateSprites}).validateSprites},set:function(e){this._validateSprites=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"data",{get:function(){return this.adapter.apply("data",{data:this._data}).data},set:function(e){this._data=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dataFields",{get:function(){return this._dataFields||this.generateDataFields(),this.adapter.apply("dataFields",{dataFields:this._dataFields}).dataFields},set:function(e){this._dataFields=e,this._dynamicDataFields=!1},enumerable:!0,configurable:!0}),r.prototype.handleDataUpdated=function(){this._dynamicDataFields&&(this._dataFields=void 0);var e=this.data.length>0;this._prevHasData!=e&&(this._prevHasData=e,this.menu&&this.menu.invalidate())},Object.defineProperty(r.prototype,"dateFormatter",{get:function(){return this._dateFormatter||(this._dateFormatter=new vo,this._dateFormatter.language=this.language),this.adapter.apply("dateFormatter",{dateFormatter:this._dateFormatter}).dateFormatter},set:function(e){this._dateFormatter=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dateFormat",{get:function(){return this.adapter.apply("dateFormat",{dateFormat:this._dateFormat}).dateFormat},set:function(e){this._dateFormat=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dateFields",{get:function(){return this._dateFields||(this._dateFields=new vt),this.adapter.apply("dateFields",{dateFields:this._dateFields}).dateFields},set:function(e){this._dateFields=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"numberFormatter",{get:function(){return this._numberFormatter||(this._numberFormatter=new Wd,this._numberFormatter.language=this.language),this.adapter.apply("numberFormatter",{numberFormatter:this._numberFormatter}).numberFormatter},set:function(e){this._numberFormatter=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"numberFormat",{get:function(){return this.adapter.apply("numberFormat",{numberFormat:this._numberFormat}).numberFormat},set:function(e){this._numberFormat=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"numberFields",{get:function(){return this._numberFields||(this._numberFields=new vt),this.adapter.apply("numberFields",{numberFields:this._numberFields}).numberFields},set:function(e){this._numberFields=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"durationFormatter",{get:function(){return this._durationFormatter||(this._durationFormatter=new Yd,this._durationFormatter.language=this.language),this.adapter.apply("durationFormatter",{durationFormatter:this._durationFormatter}).durationFormatter},set:function(e){this._durationFormatter=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"durationFormat",{get:function(){return this.adapter.apply("durationFormat",{durationFormat:this._durationFormat}).durationFormat},set:function(e){this._durationFormat=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"durationFields",{get:function(){return this._durationFields||(this._durationFields=new vt),this.adapter.apply("durationFields",{durationFields:this._durationFields}).durationFields},set:function(e){this._durationFields=e},enumerable:!0,configurable:!0}),r.prototype.generateDataFields=function(){var e=this;this._dataFields={},this.data.length&&ye(this.data,function(i){Le(i,function(n,s){O(e._dataFields[n])||(e._dataFields[n]=e.adapter.apply("dataFieldName",{name:n,field:n}).name)})})},r.prototype.isDateField=function(e){return this.adapter.apply("isDateField",{isDateField:this.dateFields.contains(e),field:e}).isDateField},r.prototype.isNumberField=function(e){return this.adapter.apply("isNumberField",{isNumberField:this.numberFields.contains(e),field:e}).isNumberField},r.prototype.isDurationField=function(e){return this.adapter.apply("isDurationField",{isDurationField:this.durationFields.contains(e),field:e}).isDurationField},r.prototype.getContentType=function(e){var i="";switch(e){case"png":case"gif":i="image/"+e;break;case"jpg":i="image/jpeg";break;case"svg":i="image/svg+xml";break;case"csv":i="text/csv";break;case"json":i="application/json";break;case"html":i="text/html";break;case"pdf":case"pdfdata":i="application/pdf";break;case"xlsx":i="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";break}return this.adapter.apply("contentType",{contentType:i,type:e}).contentType},Object.defineProperty(r.prototype,"filePrefix",{get:function(){return this.adapter.apply("filePrefix",{filePrefix:this._filePrefix}).filePrefix},set:function(e){this._filePrefix=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"backgroundColor",{get:function(){return this.adapter.apply("backgroundColor",{backgroundColor:this._backgroundColor}).backgroundColor},set:function(e){this._backgroundColor=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"title",{get:function(){return this.adapter.apply("title",{title:this._title}).title},set:function(e){this._title=e},enumerable:!0,configurable:!0}),r.prototype.showPreloader=function(){var e=this.preloader;e&&(e.progress=.5,e.label.text="...")},r.prototype.hidePreloader=function(){var e=this.preloader;e&&(e.progress=1)},Object.defineProperty(r.prototype,"preloader",{get:function(){return this._sprite&&this._sprite.parent&&this._sprite.parent.preloader?this._sprite.parent.preloader:void 0},enumerable:!0,configurable:!0}),r.prototype.showTimeout=function(){this.showModal(this.adapter.apply("timeoutMessage",{message:this.language.translate("Export operation took longer than expected. Something might have gone wrong.")}).message)},r.prototype.hideTimeout=function(){this._timeoutTimeout&&(this.removeDispose(this._timeoutTimeout),this._timeoutTimeout=null),this.hideModal()},Object.defineProperty(r.prototype,"language",{get:function(){return this._language||(this._language=new cn),this._language},set:function(e){this._language=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"modal",{get:function(){return this._modal||(this._modal=new fy,this._modal.adapter.add("classPrefix",function(e){return e=Dr.classNamePrefix+e,e})),this._modal},enumerable:!0,configurable:!0}),r.prototype.showModal=function(e,i){this.hideModal(),this.hidePreloader();var n=this.modal;n.container=this.sprite.svgContainer.SVGContainer,n.content=e,n.readerTitle=i,n.open()},r.prototype.hideModal=function(){this._modal&&this.modal.close()},r.prototype._canvg=function(){return Ze(this,void 0,void 0,function(){var e;return We(this,function(i){switch(i.label){case 0:return[4,it(()=>import("./index.443010ca.js"),["./index.443010ca.js","./_commonjsHelpers.f037b798.js"],import.meta.url)];case 1:return e=i.sent(),e.default!=null?[2,e.default]:[2,e]}})})},Object.defineProperty(r.prototype,"canvg",{get:function(){return this._canvg()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pdfmake",{get:function(){return _c==null&&(_c=b3()),_c},enumerable:!0,configurable:!0}),r.prototype._xlsx=function(){return Ze(this,void 0,void 0,function(){return We(this,function(e){switch(e.label){case 0:return[4,it(()=>import("./xlsx.core.min.060da92c.js").then(i=>i.x),["./xlsx.core.min.060da92c.js","./_commonjsHelpers.f037b798.js"],import.meta.url)];case 1:return[2,e.sent()]}})})},Object.defineProperty(r.prototype,"xlsx",{get:function(){return this._xlsx()},enumerable:!0,configurable:!0}),r.prototype.setFormatOptions=function(e,i){this._formatOptions.setKey(e,i)},r.prototype.getFormatOptions=function(e){return this._formatOptions.getKey(e)},Object.defineProperty(r.prototype,"formatOptions",{get:function(){return this._formatOptions},enumerable:!0,configurable:!0}),r.prototype._disablePointers=function(){O(this._spriteInteractionsEnabled)||(this._spriteInteractionsEnabled=this.sprite.interactionsEnabled),this.sprite.interactionsEnabled=!1},r.prototype._releasePointers=function(){O(this._spriteInteractionsEnabled)&&!this._exportRunning&&(this.sprite.interactionsEnabled=this._spriteInteractionsEnabled)},r.prototype.hideNonExportableSprites=function(){var e=this;if(!this._objectsAlreadyHidden){var i=this.sprite.svgContainer;i&&ye(i.nonExportableSprites,function(n){!n.isHidden&&!n.isHiding&&n.visible&&e._hiddenObjects.push(n),n.hide(0)}),this._objectsAlreadyHidden=!0}},r.prototype.restoreNonExportableSprites=function(){!this._objectsAlreadyHidden||(ye(this._hiddenObjects,function(e){e.show(0)}),this._hiddenObjects=[],this._objectsAlreadyHidden=!1)},r.prototype.awaitValidSprites=function(){return Ze(this,void 0,void 0,function(){var e;return We(this,function(i){switch(i.label){case 0:return e=[],this.validateSprites.length&&ye(this.validateSprites,function(n,s){n.invalid&&e.push(new Promise(function(a,o){n.events.once("validated",function(l){a()})}))}),e.length?[4,Promise.all(e)]:[3,2];case 1:i.sent(),i.label=2;case 2:return[2]}})})},r.prototype.processConfig=function(e){k.registeredClasses.ExportMenu=m3,e&&(O(e.menu)&&!O(e.menu.type)&&(e.menu.type="ExportMenu"),O(e.dataFields)&&ut(e.dataFields)&&(this.dataFields=e.dataFields,delete e.dataFields)),t.prototype.processConfig.call(this,e)},r.XLINK="http://www.w3.org/1999/xlink",r}(my),wc=["fill","fillOpacity","stroke","strokeOpacity","strokeWidth","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin"],_t=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.properties={},e._eventDispatcher=new j4(e),e._bindings={},e._isTemplate=!1,e._isPath=!1,e._inited=!1,e._ready=!1,e.isHiding=!1,e._isHidden=!1,e.isShowing=!1,e.isStandaloneInstance=!1,e._isActive=!1,e._mask=new ol,e._positionPrecision=3,e._language=new ol,e._exporting=new ol,e._exportable=!0,e._bbox={x:0,y:0,width:0,height:0},e.invalid=!1,e.positionInvalid=!1,e.propertyFields={},e.applyOnClones=!1,e._measuredWidthSelf=0,e._measuredHeightSelf=0,e.maxLeft=0,e.maxRight=0,e.maxTop=0,e.maxBottom=0,e.maxLeftSelf=0,e.maxRightSelf=0,e.maxTopSelf=0,e.maxBottomSelf=0,e._isDragged=!1,e._isResized=!1,e._disabled=!1,e._internalDisabled=!1,e._updateDisabled=!1,e._internalDefaultsApplied=!1,e.rollOutDelay=0,e.isBaseSprite=!1,e.shouldClone=!0,e.appeared=!1,e.ex=0,e.ey=0,e.dragWhileResize=!1,e.measureFailed=!1,e.preventShow=!1,e.cloneTooltip=!0,e.className="Sprite",e._disposers.push(e._eventDispatcher),e.uid,e.group=e.paper.addGroup("g"),e.setPropertyValue("scale",1),e.setPropertyValue("rotation",0),e.setPropertyValue("align","none"),e.setPropertyValue("valign","none"),e.setPropertyValue("pixelPerfect",!1),e.setPropertyValue("visible",!0),e.setPropertyValue("tooltipPosition","fixed"),e.setPropertyValue("verticalCenter","none"),e.setPropertyValue("horizontalCenter","none"),e.setPropertyValue("tooltipX",xt(50)),e.setPropertyValue("tooltipX",xt(50)),e.setPropertyValue("marginTop",0),e.setPropertyValue("marginBottom",0),e.setPropertyValue("marginLeft",0),e.setPropertyValue("marginRight",0),e.setPropertyValue("dx",0),e.setPropertyValue("dy",0),e.setPropertyValue("paddingTop",0),e.setPropertyValue("paddingBottom",0),e.setPropertyValue("paddingRight",0),e.setPropertyValue("paddingLeft",0),e.setPropertyValue("togglable",!1),e.setPropertyValue("hidden",!1),e.setPropertyValue("urlTarget","_self"),e.setPropertyValue("alwaysShowTooltip",!1),e.setPropertyValue("showTooltipOn","hover"),e._prevMeasuredWidth=0,e._prevMeasuredHeight=0,e._measuredWidth=0,e._measuredHeight=0,e._isMeasured=!0,e.invalidate(),e.applyTheme(),e._disposers.push(e.events),e._disposers.push(e.group),e._disposers.push(e._mask),e._disposers.push(e._language),e._disposers.push(e._exporting),e._disposers.push(new tr(function(){Le(e._bindings,function(i,n){n.dispose()})})),e.setPropertyValue("interactionsEnabled",!0),e}return Object.defineProperty(r.prototype,"events",{get:function(){return this._eventDispatcher},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"adapter",{get:function(){return this._adapterO||(this._adapterO=new gr(this)),this._adapterO},enumerable:!0,configurable:!0}),r.prototype.applyTheme=function(){t.prototype.applyTheme.call(this)},r.prototype.getCurrentThemes=function(){var e=this._themes;if(e)return e;var i=this._parent;return i?i.getCurrentThemes():k.themes},r.prototype.applyInternalDefaults=function(){this._internalDefaultsApplied=!0},r.prototype.invalidate=function(){this.disabled||this._isTemplate||this.__disabled||this.invalid||(this.invalid=!0,k.addToInvalidSprites(this),Re.requestFrame())},r.prototype.validate=function(){this.dispatchImmediately("beforevalidated"),this._internalDefaultsApplied||this.applyInternalDefaults(),this.beforeDraw(),this.draw(),this.invalid=!1,k.removeFromInvalidSprites(this),this.afterDraw()},r.prototype.invalidatePosition=function(){this.disabled||this._isTemplate||this.positionInvalid||(this.positionInvalid=!0,k.addToInvalidPositions(this),Re.requestFrame())},r.prototype.validatePosition=function(){var e=this.pixelX,i=this.pixelY,n=this.dx,s=this.dy,a=e+n,o=i+s;this._updateDisabled&&(this._internalDisabled?this.group.attr({display:"none"}):this.disabled||this.removeSVGAttribute("display"),this._updateDisabled=!1);var l=this.measure(),u=this.group.transformString;this.group.moveTo({x:a,y:o}),this.group.rotation=this.rotation,this.nonScaling?this.group.scale=this.scale/this.globalScale:this.group.scale=this.scale,(u!=this.group.transformString||l)&&(u==null?this.dispatch("transformed"):this.dispatchImmediately("transformed"),this.dispatch("positionchanged"),(this.showTooltipOn=="hit"||this.showTooltipOn=="always")&&this.updateTooltipPosition()),e+n==a&&i+s==o&&(k.removeFromInvalidPositions(this),this.positionInvalid=!1);var c=this._maskRectangle;c&&this._clipElement.moveTo({x:c.x-e,y:c.y-i})},r.prototype.beforeDraw=function(){},r.prototype.draw=function(){},r.prototype.afterDraw=function(){var e,i;if((this.isMeasured||this.horizontalCenter!=="none"||this.verticalCenter!=="none")&&this.measureElement(),this._inited)this.dispatch("validated");else{if(this._adapterO)try{for(var n=cw(this._adapterO.keys()),s=n.next();!s.done;s=n.next()){var a=s.value;switch(a){case"mask":case"fill":case"opacity":case"fillOpacity":case"stroke":case"strokeOpacity":case"strokeWidth":case"shapeRendering":case"strokeDasharray":case"strokeDashoffset":case"strokeLinecap":case"strokeLinejoin":case"textDecoration":case"fontSize":case"fontFamily":case"fontWeight":this[a]=this[a];break}}}catch(o){e={error:o}}finally{try{s&&!s.done&&(i=n.return)&&i.call(n)}finally{if(e)throw e.error}}this.applyFilters(),this.visible=this.visible,this.interactionsEnabled=this.getPropertyValue("interactionsEnabled"),this._inited=!0,this.showOnInit||(this.appeared=!0),this.hidden&&this.hide(0),this.applyMask(),this.dispatch("validated"),this.dispatch("inited"),this.dispatchReady()}this.showTooltipOn=="always"&&(this.visible&&!this.disabled&&!this.__disabled?this.showTooltip():this.hideTooltip(0))},r.prototype.dispatchReady=function(){this.isReady()||(this._ready=!0,this.dispatch("ready"))},r.prototype.reinit=function(){this._inited=!1,this.setState(this.defaultState),this.invalidate()},r.prototype.handleGlobalScale=function(){this.dispatch("globalscalechanged"),this.nonScalingStroke&&(this.strokeWidth=this.strokeWidth),this.nonScaling&&this.validatePosition(),this.updateFilterScale()},r.prototype.updateFilterScale=function(){var e=this;Ve(this.filters.iterator(),function(i){i.scale=e.globalScale})},r.prototype.removeFromInvalids=function(){k.removeFromInvalidSprites(this),k.removeFromInvalidPositions(this)},r.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),this.isMeasured=e.isMeasured,this.states.copyFrom(e.states),e.filters.length>0&&e.filters.each(function(n){i.filters.push(n.clone())}),e._adapterO&&this.adapter.copyFrom(e._adapterO),e._interaction&&this.interactions.copyFrom(e.interactions),e._plugins&&this.plugins.copyFrom(e.plugins),this.configField=e.configField,this.applyOnClones=e.applyOnClones,this.disabled=e.disabled,this.virtualParent=e.virtualParent,this.exportable=e.exportable,e._tooltip&&(this._tooltip?this._tooltip.copyFrom(e.tooltip):e.cloneTooltip?this.tooltip=e.tooltip.clone():this._tooltip=e.tooltip),this._showSystemTooltip=e.showSystemTooltip,vs(e.propertyFields,this.propertyFields),vs(e.properties,this),e.fillModifier&&(this.fillModifier=e.fillModifier.clone()),e.strokeModifier&&(this.strokeModifier=e.strokeModifier.clone()),e.focusFilter&&(this.focusFilter=e.focusFilter.clone())},r.prototype.dispose=function(){if(!this.isDisposed()){if(this.showTooltipOn=="always"&&this.tooltip&&this.tooltip.hide(),this.dispatchImmediately("beforedisposed"),this.isBaseSprite){if(this.htmlContainer)for(;this.htmlContainer.childNodes.length>0;)this.htmlContainer.removeChild(this.htmlContainer.firstChild);this.isBaseSprite=!1}if(t.prototype.dispose.call(this),this._adapterO&&this._adapterO.clear(),this.applyOnClones&&this._clones)for(var e=this._clones.length-1;e>=0;e--){var i=this._clones.getIndex(e);i.dispose()}this._svgContainer&&this._svgContainer.dispose(),this._interactionDisposer&&(this._interactionDisposer.dispose(),this._interactionDisposer=void 0),this._urlDisposer&&this._urlDisposer.dispose(),this.removeFromInvalids(),this.element&&this.element.dispose(),this.group&&this.group.dispose(),this._numberFormatter&&this._numberFormatter.dispose(),this._focusFilter&&this._focusFilter.dispose();var n=this.stroke;n&&!(n instanceof pt)&&n.dispose&&(this.clonedFrom&&this.clonedFrom.stroke==n||n.dispose());var s=this.fill;if(s&&!(s instanceof pt)&&s.dispose&&(this.clonedFrom&&this.clonedFrom.fill==s||s.dispose()),O(this.id)&&this.map.removeKey(this.id),this.parent=void 0,this._filters)for(;this._filters.length>0;){var a=this._filters.getIndex(0);a.dispose(),this._filters.removeValue(a)}this._alwaysShowDisposers=void 0}},Object.defineProperty(r.prototype,"isTemplate",{get:function(){return this._isTemplate},set:function(e){e=lt(e),this._isTemplate!=e&&(this._isTemplate=e,this instanceof It&&Ve(this.children.iterator(),function(i){i.isTemplate=e}),e?(this.parent=this._parent,this.removeFromInvalids()):this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"showSystemTooltip",{get:function(){return O(this._showSystemTooltip)?this._showSystemTooltip:this.virtualParent?this.virtualParent.showSystemTooltip:this._parent?this._parent.showSystemTooltip:!1},set:function(e){e=lt(e),this._showSystemTooltip!=e&&(this._showSystemTooltip=e,this.applyAccessibility())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"topParent",{get:function(){if(this._topParent)return this._topParent;if(this._parent)return this._parent.topParent},set:function(e){this._topParent=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"parent",{get:function(){return this._parent},set:function(e){if(!this._isTemplate){this.paper;var i=this._parent;i!=e&&(i&&i.children.removeValue(this),this._parent=e,e?(this.topParent=e.topParent,e.isTemplate&&(this.isTemplate=!0),this.baseId=e.baseId,e.children.push(this),this._tooltip&&!this._tooltipContainer&&(this._tooltip.parent=e.tooltipContainer),this._dataItem||(this.dataItem=e.dataItem),this.handleAlwaysShowTooltip(),this.dataItem&&this.applyAccessibility(),this.dispatchImmediately("parentset")):this.topParent=void 0)}},enumerable:!0,configurable:!0}),r.prototype.handleAlwaysShow=function(){this.showTooltip()},r.prototype.handleAlwaysShowTooltip=function(){var e=this,i=this._alwaysShowDisposers;if(i&&ye(i,function(s){s.dispose()}),this._alwaysShowDisposers=[],this.showTooltipOn=="always")for(;e!=null;){var n=e.events.on("visibilitychanged",this.handleAlwaysShow,this,!1);this.addDisposer(n),this._alwaysShowDisposers.push(n),e=e.parent}},Object.defineProperty(r.prototype,"virtualParent",{get:function(){return this._virtualParent},set:function(e){this._virtualParent=e,this.dataItem&&this.applyAccessibility()},enumerable:!0,configurable:!0}),r.prototype.appendDefs=function(){this.filterElement&&this.paper.appendDef(this.filterElement);var e=this.fill;e&&e.element&&this.paper.appendDef(e.element);var i=this.stroke;if(i&&i.element&&this.paper.appendDef(i.element),this.fillModifier&&this.fill instanceof pt){var n=this.fillModifier.modify(this.fill);n&&n.element&&this.paper.appendDef(n.element)}if(this.strokeModifier&&this.stroke instanceof pt){var s=this.strokeModifier.modify(this.stroke);s&&s.element&&this.paper.appendDef(s.element)}this._clipPath&&this.paper.appendDef(this._clipPath),this._exportable===!1&&(this.exportable=!1)},Object.defineProperty(r.prototype,"map",{get:function(){var e=this.topParent;return e?e.map:(this._map||(this._map=new $t),this._map)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"delayedMap",{get:function(){var e=this.topParent;return e?e.delayedMap:(this._delayedMap||(this._delayedMap=new $t),this._delayedMap)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"id",{get:function(){return this._id},set:function(e){if(this._id!=e){if(this._id=e,this.map.hasKey(e))throw Error("Duplicate id ("+e+") used on multiple objects.");this.map.setKey(e,this)}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dom",{get:function(){return this.group.node},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"paper",{get:function(){if(this._paper)return this._paper;var e=this._parent;return e?e.paper:go()},set:function(e){this.setPaper(e)},enumerable:!0,configurable:!0}),r.prototype.setPaper=function(e){var i=this._paper;return i!=e?(this._paper=e,this.appendDefs(),!0):!1},Object.defineProperty(r.prototype,"htmlContainer",{get:function(){if(this._htmlContainer)return this._htmlContainer;var e=this._parent;if(e)return e.htmlContainer},set:function(e){this._htmlContainer=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"titleElement",{get:function(){return this._titleElement||(this._titleElement=this.paper.add("title"),this.group.add(this._titleElement)),this._titleElement},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"descriptionElement",{get:function(){return this._descriptionElement||(this._descriptionElement=this.paper.add("desc"),this.group.add(this._descriptionElement)),this._descriptionElement},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"filters",{get:function(){return this._filters||(this._filters=new vt,this._disposers.push(this._filters.events.onAll(this.applyFilters,this)),this._disposers.push(new An(this._filters))),this._filters},enumerable:!0,configurable:!0}),r.prototype.setSVGAttributes=function(){this.fill=this.fill,this.opacity=this.opacity,this.fillOpacity=this.fillOpacity,this.stroke=this.stroke,this.strokeOpacity=this.strokeOpacity,this.shapeRendering=this.shapeRendering,this.strokeDasharray=this.strokeDasharray,this.strokeDashoffset=this.strokeDashoffset,this.strokeLinecap=this.strokeLinecap,this.strokeLinejoin=this.strokeLinejoin,this.focusable=this.focusable,this.tabindex=this.tabindex,this.role=this.role},r.prototype.setSVGAttribute=function(e){this.group.attr(e)},r.prototype.removeSVGAttribute=function(e){this.group.removeAttr(e)},r.prototype.setClassName=function(){var e=this.className,i=Dr.classNamePrefix;this.element&&this.element.addClass(i+e),this.group.addClass(i+e+"-group"),O(this.id)&&this.group.addClass(i+this.id),this.userClassName&&this.group.addClass(this.userClassName)},r.prototype.uidAttr=function(){return this.setSVGAttribute({id:this.uid}),this.uid},r.prototype.updateClipPath=function(){var e=this._clipElement;e&&e.moveTo({x:this.mask.pixelX,y:this.mask.pixelY})},r.prototype.createClipPath=function(){if(!this._clipPath){this._clipPath=this.paper.addGroup("clipPath"),this.paper.appendDef(this._clipPath),this._disposers.push(this._clipPath);var e=k.getUniqueId();this._clipPath.attr({id:e}),this.group.attr({"clip-path":'url("'+ma()+e+'")'})}},r.prototype.applyMask=function(){var e=this.mask;if(this._clipPath&&e)if(e instanceof It){this._clipElement.attr({width:st(0,e.pixelWidth),height:st(0,e.pixelHeight)});var i=ny({x:e.pixelX,y:e.pixelY},e.parent,this);this._clipPath.x=i.x,this._clipPath.y=i.y}else e.element&&e.element!=this._clipElement&&(this._clipElement=e.element,this._clipPath.add(this._clipElement)),this._clipPath.scale=e.scale,this._clipPath.x=e.pixelX,this._clipPath.y=e.pixelY,this._clipPath.rotation=e.rotation},r.prototype.applyFilters=function(){var e=this;if(this._filters&&this._filters.length>0){var i=100,n=100;this.filterElement?this.filterElement.removeChildNodes():(this.filterElement=this.paper.addGroup("filter"),this._disposers.push(this.filterElement)),this.paper.appendDef(this.filterElement);var s="filter-"+this.uid;this.filterElement.attr({id:s}),Ve(this.filters.iterator(),function(l){l.sprite=e,l.paper=e.paper,e.filterElement.attr({filterUnits:l.filterUnits}),l.appendPrimitives(e.filterElement),l.width>i&&(i=l.width),l.height>n&&(n=l.height),l.scale=e.globalScale});var a=i+"%",o=n+"%";this.filterElement.attr({width:a,height:o,x:-(i-100)/2+"%",y:-(n-100)/2+"%"}),this.group.attr({filter:'url("'+ma()+s+'")'})}else this.filterElement&&(this.group.removeAttr("filter"),this.filterElement.removeChildNodes())},r.prototype.removeClipPath=function(){this._clipPath&&(this.removeDispose(this._clipPath),this._clipPath=void 0)},r.prototype.setElement=function(e){this.element=e,this.setSVGAttributes(),this.applyAccessibility()},Object.defineProperty(r.prototype,"element",{get:function(){return this._element},set:function(e){this.removeElement(),this._element=e,this.group.add(e),e.node instanceof SVGPathElement&&(this._isPath=!0),this.invalid||this.validate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"svgContainer",{get:function(){if(this._svgContainer)return this._svgContainer;if(this._parent)return this._parent.svgContainer},set:function(e){this._svgContainer=e},enumerable:!0,configurable:!0}),r.prototype.measureElement=function(){if(this.element)if(this.definedBBox)this._bbox=this.definedBBox;else{var e=this.element.getBBox();this._bbox={x:e.x,y:e.y,width:e.width,height:e.height}}},r.prototype.updateCenter=function(){if(this.element){var e=this.element.transformString,i=this.bbox,n=0,s=0,a=i.x,o=i.y,l=i.width,u=i.height,c=this.pixelPaddingLeft,h=this.pixelPaddingRight,d=this.pixelPaddingTop,f=this.pixelPaddingBottom,p=st(l+c+h,this.pixelWidth),g=st(u+d+f,this.pixelHeight),v=i.x,y=i.x+p,m=i.y,w=i.y+g,C=this.horizontalCenter,P=this.verticalCenter;switch(C){case"none":n=a+c;break;case"left":n=c;break;case"middle":n=c-(l+h+c)/2;break;case"right":n=-h-l;break}switch(P){case"none":s=o+d;break;case"top":s=d;break;case"middle":s=d-(u+f+d)/2;break;case"bottom":s=-f-u;break}this._measuredHeight=g,this._measuredWidth=p;var T=me(n-a,this._positionPrecision,!0),V=me(s-o,this._positionPrecision,!0);this.ex=T-c,this.ey=V-d,this.maxLeft=v+T-c,this.maxRight=y+T-c,this.maxTop=m+V-d,this.maxBottom=w+V-d,this.pixelPerfect&&Dr.pixelPerfectPrecision==0&&(T-=.5,V-=.5),this.element.moveTo({x:T,y:V}),e!=this.element.transformString&&this.dispatchImmediately("transformed")}},r.prototype.measure=function(){this.updateCenter();var e=this._measuredWidth,i=this._measuredHeight,n=this.maxLeft,s=this.maxRight,a=this.maxTop,o=this.maxBottom;this._measuredWidthSelf=e,this._measuredHeightSelf=i;var l=this._positionPrecision;if(this.maxLeftSelf=this.maxLeft,this.maxRightSelf=this.maxRight,this.maxTopSelf=this.maxTop,this.maxBottomSelf=this.maxBottom,this.rotation!==0||this.scale!==1||this.nonScaling){this.nonScalingStroke&&(this.strokeWidth=this.strokeWidth);var u=this.paper.svg,c=u.createSVGMatrix(),h=this.rotation,d=this.scale;this.nonScaling&&(d=this.scale/this.globalScale),c.a=nt(h)*d,c.c=-Qe(h)*d,c.e=0,c.b=Qe(h)*d,c.d=nt(h)*d,c.f=0;var f=u.createSVGPoint();f.x=n,f.y=a;var p=u.createSVGPoint();p.x=s,p.y=a;var g=u.createSVGPoint();g.x=s,g.y=o;var v=u.createSVGPoint();v.x=n,v.y=o;var y=f.matrixTransform(c),m=p.matrixTransform(c),w=g.matrixTransform(c),C=v.matrixTransform(c);n=Math.min(y.x,m.x,w.x,C.x),s=Math.max(y.x,m.x,w.x,C.x),a=Math.min(y.y,m.y,w.y,C.y),o=Math.max(y.y,m.y,w.y,C.y),e=s-n,i=o-a,this.maxLeft=me(n,l,!0),this.maxRight=me(s,l,!0),this.maxTop=me(a,l,!0),this.maxBottom=me(o,l,!0)}return this._measuredWidth=me(e,l,!0),this._measuredHeight=me(i,l,!0),this._measuredWidth!=this._prevMeasuredWidth||this._measuredHeight!=this._prevMeasuredHeight?(this._prevMeasuredHeight=this._measuredHeight,this._prevMeasuredWidth=this._measuredWidth,this.dispatch("sizechanged"),(this.isHover||this.showTooltipOn=="hit"||this.showTooltipOn=="always")&&this.tooltip&&this.tooltip.visible&&(O(this.tooltipText)||O(this.tooltipHTML))&&this.updateTooltipPosition(),!0):!1},r.prototype.insertBefore=function(e){var i=this._parent;if(i){var n=i.children.indexOf(e);n!==-1&&(i.children.moveValue(this,n),i.sortChildren())}return this},r.prototype.insertAfter=function(e){var i=this._parent;if(i){var n=i.children.indexOf(e);n!==-1&&(i.children.moveValue(this,n+1),i.sortChildren())}return this},r.prototype.removeElement=function(){this._element&&(this.removeDispose(this._element),this._element=void 0)},r.prototype.getRelativeX=function(e){return e instanceof ct?e.value:this._parent?e/this._parent.innerWidth:0},r.prototype.getRelativeY=function(e){return e instanceof ct?e.value:this._parent?e/this._parent.innerHeight:0},r.prototype.getPixelX=function(e){var i=0;if(x(e))i=e;else if(e instanceof ct){var n=e.value;this._parent&&(i=me(this._parent.innerWidth*n,this._positionPrecision,!0))}return i},r.prototype.getPixelY=function(e){var i=0;if(x(e))i=e;else if(e instanceof ct){var n=e.value;this._parent&&(i=me(this._parent.innerHeight*n,this._positionPrecision,!0))}return i},r.prototype.moveTo=function(e,i,n,s){this.isDragged&&!s||(e&&(x(e.x)&&this.setPropertyValue("x",me(e.x,this._positionPrecision,!0)),x(e.y)&&this.setPropertyValue("y",me(e.y,this._positionPrecision,!0))),x(i)&&(this.rotation=i),x(n)&&(this.scale=n),this.invalidatePosition())},Object.defineProperty(r.prototype,"mask",{get:function(){return this._adapterO?this._adapterO.apply("mask",this._mask.get()):this._mask.get()},set:function(e){var i=this;this._mask.get()!==e&&(e?(this.createClipPath(),e instanceof It?this._clipElement=this.paper.add("rect"):(e.isMeasured=!1,e.element&&(this._clipElement=e.element)),this._clipElement&&this._clipPath.add(this._clipElement),this._mask.set(e,new Mt([e.events.on("maxsizechanged",function(){i.inited&&i.applyMask()},void 0,!1),e.events.on("validated",this.applyMask,this,!1),e.events.on("positionchanged",this.applyMask,this,!1)])),this.applyMask()):(this._mask.reset(),this.group.removeAttr("clip-path"),this.removeClipPath()))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maskRectangle",{get:function(){return this._maskRectangle},set:function(e){e?(this.createClipPath(),this._clipElement||(this._clipElement=this.paper.add("rect"),this._clipPath.add(this._clipElement)),this._clipElement.attr({width:e.width,height:e.height})):(this.removeClipPath(),this._clipElement=void 0),this._maskRectangle=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isMeasured",{get:function(){return this._isMeasured},set:function(e){e=lt(e),e||(this._measuredWidth=0,this._measuredHeight=0),this._isMeasured!=e&&(this._isMeasured=e,this.invalidatePosition())},enumerable:!0,configurable:!0}),r.prototype.hitTest=function(e){this.invalid&&this.validate(),e.invalid&&e.validate();var i=this.pixelX+this.maxLeft,n=this.pixelY+this.maxTop,s=i+this.maxRight,a=n+this.maxBottom,o=e.pixelX+e.maxLeft,l=e.pixelY+e.maxTop,u=o+e.maxRight,c=l+e.maxBottom;return!(o>s||ua||c0&&(l=this.animate(a,i,n),l&&!l.isFinished()?this._disposers.push(l.events.on("animationended",function(){s.dispatchImmediately("transitionended")})):this.dispatchImmediately("transitionended")),e.filters.length>0){var u=[];Ve(e.filters.iterator(),function(c){var h=c.clone();u.push(h);var d=[];Ve(s.filters.iterator(),function(f){f.className==h.className&&(Q0(s.defaultState.filters.iterator(),function(p){return p.className===h.className})||s.defaultState.filters.push(f),Le(h.properties,function(p,g){var v=f.properties[p];v!=g&&d.push({property:p,from:v,to:g})}))}),h.animate(d,i,n)}),this.filters.clear(),this.filters.pushAll(u)}return l},r.prototype.isInTransition=function(){return this.animations.length>0},Object.defineProperty(r.prototype,"isHover",{get:function(){return this.isInteractive()?this.interactions.isHover:!1},set:function(e){e=lt(e),e!==this.isHover&&this.isInteractive()&&(this.interactions.isHover=e,e?this.handleOver():(this.interactions.isRealHover=!1,this.handleOut()))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isDragged",{get:function(){return this._isDragged},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isResized",{get:function(){return this._isResized},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isDown",{get:function(){return this.isInteractive()?this.interactions.isDown:!1},set:function(e){e=lt(e),this.isInteractive()&&this.isDown!=e&&(this.interactions.isDown=e,e?this.handleDown():this.handleUp())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isFocused",{get:function(){return this.isInteractive()?this.interactions.isFocused:!1},set:function(e){e=lt(e),this.focusable&&this.isFocused!=e&&this.isInteractive()&&(this.interactions.isFocused=e,e===!0?this.handleFocus():this.handleBlur())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isActive",{get:function(){return this._isActive},set:function(e){this.setActive(e)},enumerable:!0,configurable:!0}),r.prototype.setActive=function(e){e=lt(e),this._isActive!==e&&(this._isActive=e,e&&this.states.hasKey("active")?(this.setState("active"),this.isHover&&this.states.hasKey("hoverActive")&&this.setState("hoverActive")):this.applyCurrentState(),this.dispatchImmediately("toggled"))},Object.defineProperty(r.prototype,"disabled",{get:function(){var e=this.getPropertyValue("disabled");return O(e)?e:this.virtualParent?this.virtualParent.disabled:this._parent?this._parent.disabled:!1},set:function(e){this.setDisabled(e)},enumerable:!0,configurable:!0}),r.prototype.setDisabled=function(e){e=lt(e);var i=this.getPropertyValue("disabled");if(i!=e){if(this.setPropertyValue("disabled",e,!0),e)this.parent=this._parent,this.removeFromInvalids(),this.group.attr({display:"none"}),this.dispatch("disabled");else{if(this._parent){var n=this._parent.element;n.hasChild(this.group)||n.add(this.group)}this instanceof It?(this.deepInvalidate(),this._background&&this._background.invalidate()):this.invalidate(),this.__disabled||this.removeSVGAttribute("display"),this.dispatch("enabled")}return this.dispatch("transformed"),Re.requestFrame(),!0}return!1},Object.defineProperty(r.prototype,"__disabled",{get:function(){return this._internalDisabled},set:function(e){this._internalDisabled!=e&&(this._internalDisabled=e,this._updateDisabled=!0,this.invalidatePosition(),e||this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"numberFormatter",{get:function(){return this._numberFormatter?this._numberFormatter:this.virtualParent?this.virtualParent.numberFormatter:this._parent?this._parent.numberFormatter:(this._numberFormatter=new Wd,this._numberFormatter.language=this.language,this.numberFormatter)},set:function(e){this._numberFormatter=e,this._numberFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dateFormatter",{get:function(){return this._dateFormatter?this._dateFormatter:this.virtualParent?this.virtualParent.dateFormatter:this._parent?this._parent.dateFormatter:(this._dateFormatter=new vo,this._dateFormatter.language=this.language,this.dateFormatter)},set:function(e){this._dateFormatter=e,this._dateFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"durationFormatter",{get:function(){return this._durationFormatter?this._durationFormatter:this.virtualParent?this.virtualParent.durationFormatter:this._parent?this._parent.durationFormatter:(this._durationFormatter=new Yd,this._durationFormatter.language=this.language,this.durationFormatter)},set:function(e){this._durationFormatter=e,this._durationFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"language",{get:function(){var e=this._language.get();return e||(this.virtualParent?this.virtualParent.language:this._parent?this._parent.language:(e=new cn,this.language=e,e))},set:function(e){var i=this;this._language.get()!==e&&this._language.set(e,e.events.on("localechanged",function(n){if(i._numberFormatter&&(i._numberFormatter.language=i.language),i._dateFormatter&&(i._dateFormatter.language=i.language),i._durationFormatter&&(i._durationFormatter.language=i.language),i._exporting.get()){var s=i._exporting.get();s.numberFormatter.language=i.language,s.dateFormatter.language=i.language,s.durationFormatter.language=i.language,s.language=i.language}i instanceof It&&i.deepInvalidate()}))},enumerable:!0,configurable:!0}),r.prototype.populateString=function(e,i){if(O(e)){e=Ad(e),e=Di().escape(e);var n=e.match(/\{([^}]+)\}/g),s=void 0;if(n)for(s=0;sh?1:l.idx-u.idx}),e=i.map(function(l){return l.data});var n=this.element,s=!0;if(n.node&&n.node.childNodes){for(var a=0,o=n.node.childNodes.length;a0;){var e=this.children.getIndex(0);e.parent=void 0,this.children.removeValue(e)}},r.prototype.disposeChildren=function(){for(;this.children.length>0;){var e=this.children.getIndex(0);e.dispose(),this.children.removeValue(e)}},Object.defineProperty(r.prototype,"background",{get:function(){return this._background||(this._background=this.createBackground(),this.processBackground()),this._background},set:function(e){this._background&&this.background!=e&&this.removeDispose(this._background),e&&(this._background=e,this._disposers.push(e),this.processBackground())},enumerable:!0,configurable:!0}),r.prototype.handleGlobalScale=function(){t.prototype.handleGlobalScale.call(this),this.children.each(function(e){e.handleGlobalScale()})},r.prototype.createBackground=function(){return new Gd},r.prototype.processBackground=function(){var e=this._background;e&&(e.isMeasured=!1,this._background.fill=new Kt().getFor("background"),e.parent=this,e.isMeasured=!1,this.children.removeValue(e),this._disposers.push(e),this.group.addToBack(this._background.group))},r.prototype.validateLayout=function(){var e=this;k.removeFromInvalidLayouts(this),this.layoutInvalid=!1,this._availableWidth=this.innerWidth,this._availableHeight=this.innerHeight;var i=0,n=0,s=!0;this.children&&(this.sortChildren(),ye(this._childrenByLayout,function(a){var o,l;if(x(a.relativeWidth)?(o=me(e._availableWidth*a.relativeWidth,2),e.layout=="horizontal"&&(o-=a.pixelMarginRight+a.pixelMarginLeft)):e.layout=="horizontal"&&a.invalid&&a.validate(),x(a.relativeHeight)?(l=me(e._availableHeight*a.relativeHeight,2),e.layout=="vertical"&&(l-=a.pixelMarginTop+a.pixelMarginBottom)):e.layout=="vertical"&&a.invalid&&a.validate(),a.invalid==!1){if(x(a.relativeWidth)&&(a.maxWidth=o),x(a.relativeHeight)&&(a.maxHeight=l),a.isMeasured){e.layout=="horizontal"&&(x(a.percentWidth)||a.measuredWidth>0&&(e._availableWidth-=a.measuredWidth+a.pixelMarginLeft+a.pixelMarginRight)),e.layout=="vertical"&&(x(a.percentHeight)||a.measuredHeight>0&&(e._availableHeight-=a.measuredHeight+a.pixelMarginTop+a.pixelMarginBottom));var u=a.measuredWidth,c=a.measuredHeight;a.align!="none"&&(u+=a.pixelMarginLeft+a.pixelMarginRight),a.valign!="none"&&(c+=a.pixelMarginTop+a.pixelMarginBottom),i=Math.max(i,u),n=Math.max(n,c)}}else a.isMeasured&&(x(a.relativeWidth)&&a.maxWidth!=o&&(a.maxWidth=o,s=!1),x(a.relativeHeight)&&a.maxHeight!=l&&(a.maxHeight=l,s=!1))})),this._absoluteWidth=i,this._absoluteHeight=n,s&&this.arrange()},r.prototype.arrange=function(){var e=this,i=this.children,n=0,s=0,a=st(this.innerWidth,this._absoluteWidth),o=st(this.innerHeight,this._absoluteHeight),l,u,c,h,d=this.pixelPaddingLeft,f=this.pixelPaddingRight,p=this.pixelPaddingTop,g=this.pixelPaddingBottom,v=0,y=0,m=0,w=0,C=[],P=[],T,V,D,R=this.maxWidth,Q=this.maxHeight,ge=this.minWidth,H=this.minHeight,q=qa(i.values);if(this.reverseOrder&&q.reverse(),this.layout=="grid"){V=R,T=1;for(var _e=0,we=q.length;_eT&&(T=te)}}V=Ne(V,1,R),T=Ne(T,1,R),this.fixedWidthGrid?D=R/T:D=R/V,D=st(1,Math.floor(D)),D=jt(this.maxColumns,D),C=this.getColumnWidth(q,D,T)}for(var pe,Te,Je,Ce,_e=0,we=q.length;_ejt(this.innerWidth,R)-M+1&&w=D&&(w=0,y+=P[m],m++,v=0);break}this.layout!=="none"&&($.moveTo({x:xe,y:he}),oe=xe+$.maxLeft-De,ve=xe+$.maxRight+L,b=he+$.maxTop-U,_=he+$.maxBottom+G,(ve>u||!x(u))&&(u=ve),(oeh||!x(h))&&(h=_),(ve>Te||!x(Te))&&(Te=ve),(oeCe||!x(Ce))&&(Ce=Ce))}else $.validatePosition()}if(this.layout=="none"){var B=this.bbox;l=B.x,u=B.x+B.width,c=B.y,h=B.y+B.height}x(l)||(l=0,pe=0),x(u)||(u=this._availableWidth,Te=u),x(c)||(c=0,Je=0),x(h)||(h=this._availableHeight,Ce=h),x(Je)||(Je=0),x(Ce)||(Ce=Je),x(pe)||(pe=0),x(Te)||(Te=pe),n=u-l,s=h-c,x(this.relativeWidth)&&(n=R-d-f,l=0,u=n),x(this.relativeHeight)&&(s=Q-p-g,c=0,h=s),x(this._pixelWidth)&&(l=0,n=this._pixelWidth-d-f),x(ge)&&n0){var W,Y,K=n,J=s;K=-s&&i<=this.pixelWidth+s&&n>=-s&&n<=this.pixelHeight+s},r.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),this.layout=e.layout,this.setStateOnChildren=e.setStateOnChildren,e._background&&(this.background=e._background.clone(),this.background.copyFrom(e._background)),Ve(e.children.iterator(),function(n){if(n.shouldClone){var s=n.clone();s.parent=i}})},Object.defineProperty(r.prototype,"preloader",{get:function(){var e=this._preloader;if(e)return e;if(this.parent)return this.parent.preloader},set:function(e){this._preloader&&this.removeDispose(this._preloader),this._preloader=e,e&&(e.parent=this.tooltipContainer,this._disposers.push(e))},enumerable:!0,configurable:!0}),r.prototype.setPaper=function(e){var i=this,n=t.prototype.setPaper.call(this,e);return n&&(this._background&&(this._background.paper=e,this._background.topParent=this.topParent),this.children.each(function(s){s.setPaper(e),s.topParent=i.topParent})),n},r.prototype.removeFromInvalids=function(){t.prototype.removeFromInvalids.call(this),k.removeFromInvalidLayouts(this)},r.prototype.setDataItem=function(e){this._dataItem!=e&&(Ve(this.children.iterator(),function(i){i.dataItem=e}),this._background&&(this._background.dataItem=e)),t.prototype.setDataItem.call(this,e)},r.prototype.measureElement=function(){this.disabled||this.isTemplate||this.layout=="none"||this.__disabled||this.validateLayout()},Object.defineProperty(r.prototype,"fontFamily",{get:function(){return this.getPropertyValue("fontFamily")},set:function(e){this.setPropertyValue("fontFamily",e,!0)&&(this.setSVGAttribute({"font-family":e}),this.invalidateLabels())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"fontSize",{get:function(){return this.getPropertyValue("fontSize")},set:function(e){this.setPropertyValue("fontSize",e,!0)&&(this.setSVGAttribute({"font-size":e}),this.invalidateLabels())},enumerable:!0,configurable:!0}),r.prototype.invalidateLabels=function(){this.children.each(function(e){e.hardInvalidate?(e.hardInvalidate(),e.events.once("validated",e.handleValidate,e,!1)):e instanceof r&&e.invalidateLabels()})},Object.defineProperty(r.prototype,"fontWeight",{get:function(){return this.getPropertyValue("fontWeight")},set:function(e){this.setPropertyValue("fontWeight",e),this.setSVGAttribute({"font-weight":e})},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"textDecoration",{get:function(){return this.getPropertyValue("textDecoration")},set:function(e){this.setPropertyValue("textDecoration",e),this.setSVGAttribute({"text-decoration":e})},enumerable:!0,configurable:!0}),r.prototype.dispose=function(){this._background&&this._background.dispose(),this._shouldBeReady=[],this.disposeChildren(),t.prototype.dispose.call(this)},r.prototype.setState=function(e,i,n){var s=e;return e instanceof Wl&&(s=e.name),this.setStateOnChildren&&Ve(this.children.iterator(),function(a){a.setState(s,i,n),s!="active"&&(a.isActive=!1)}),this._background&&this._background.setState(s),this.setStateOnSprites.length&&ye(this.setStateOnSprites,function(a){a.setState(s,i,n)}),t.prototype.setState.call(this,e,i,n)},r.prototype.setActive=function(e){t.prototype.setActive.call(this,e),this._background&&(this._background.isActive=e)},r.prototype.dispatchReady=function(){var e=this;if(!this.isReady()&&!this.isDisposed()){var i=!0;Fd(this.children.iterator(),function(n){return!n.__disabled&&!n.disabled&&!n.isReady()?(i=!1,!1):!0}),N0(this._shouldBeReady,function(n){return!n.__disabled&&!n.disabled&&!n.isReady()?(i=!1,!1):!0}),i?t.prototype.dispatchReady.call(this):k.events.once("exitframe",function(){e.dispatchReady(),Re.requestFrame()},void 0,!1)}},r.prototype._systemUpdate=function(e){this.children.each(function(i){i.invalid&&(i._systemCheckIfValidate()?i.dataItem&&i.dataItem.component&&i.dataItem.component.dataInvalid?e.push(i):i.validate():e.push(i))}),t.prototype._systemUpdate.call(this,e)},r.prototype._systemValidatePositions=function(){this.children.each(function(e){e.positionInvalid&&e.validatePosition()}),t.prototype._systemValidatePositions.call(this)},r.prototype._systemValidateLayouts=function(){this.layoutInvalid&&!this.isDisposed()&&this.validateLayout()},Object.defineProperty(r.prototype,"tapToActivate",{get:function(){return this._tapToActivate},set:function(e){this._tapToActivate!=e&&this.setTapToActivate(e)},enumerable:!0,configurable:!0}),r.prototype.setTapToActivate=function(e){var i=this;this._tapToActivate=e,this.interactions.isTouchProtected=e,e&&this.interactions.setEventDisposer("container-tapToActivate",e,function(){return new Mt([i.events.on("hit",i.handleTapToActivate,i,!1),i.events.on("down",i.initTapTimeout,i,!1),i.events.on("track",i.initTapTimeout,i,!1),Ae().body.events.on("down",function(n){Ae().isLocalElement(n.pointer,i.paper.svg,i.uid)||i.handleTapToActivateDeactivation()},i,!1)])}),Ae()},r.prototype.handleTapToActivate=function(){this.interactions.isTouchProtected=!1,this.initTapTimeout()},r.prototype.handleTapToActivateDeactivation=function(){this.interactions.isTouchProtected=!0},r.prototype.initTapTimeout=function(){var e=this;this._tapToActivateTimeout&&this._tapToActivateTimeout.dispose(),this.tapToActivate&&!this.interactions.isTouchProtected&&this.tapTimeout&&(this._tapToActivateTimeout=this.setTimeout(function(){e.handleTapToActivateDeactivation()},this.tapTimeout))},r.prototype.moveHtmlContainer=function(e){var i=cy(e);if(i){this.htmlContainer=i;var n=this.svgContainer;n.htmlElement=i,n.htmlElement.appendChild(n.SVGContainer),n.initSensor(),n.measure()}else kt(e)&&e!=""&&Re.log("html container '"+e+"' not found")},r.prototype.hasLicense=function(){for(var e=0;e0;){var a=s[0],o=a.dataProvider;if(a.isDisposed())Be(s,a);else if(o&&o.dataInvalid)try{if(o.validateData(),o.dataValidationProgress<1)break}catch(h){Be(s,o),o.raiseCriticalError(h)}else try{if(a.validateData(),a.dataValidationProgress<1)break}catch(h){Be(s,a),a.raiseCriticalError(h)}}if(Date.now()-e>this.updateStepDuration)break}for(;k.invalidRawDatas.length>0;){var a=k.invalidRawDatas[0];if(a.isDisposed())Be(k.invalidRawDatas,a);else try{a.validateRawData()}catch(d){Be(k.invalidRawDatas,a),a.raiseCriticalError(d)}}for(;k.invalidDataItems.length>0;){var a=k.invalidDataItems[0],o=a.dataProvider;if(!(a.isDisposed()||a.dataInvalid||o&&o.dataInvalid))try{a.validateDataItems()}catch(f){Be(k.invalidDataItems,a),a.raiseCriticalError(f)}Be(k.invalidDataItems,a)}for(;k.invalidDataRange.length>0;){var a=k.invalidDataRange[0],o=a.dataProvider;if(!(a.isDisposed()||a.dataInvalid||o&&o.dataInvalid))try{a.validateDataRange(),a.skipRangeEvent||a.dispatchImmediately("datarangechanged"),a.skipRangeEvent=!1}catch(f){Be(k.invalidDataRange,a),a.raiseCriticalError(f)}Be(k.invalidDataRange,a)}var l=[];Le(k.invalidLayouts,function(h){r.validateLayouts(h)}),Le(k.invalidPositions,function(h){r.validatePositions(h)});var u=!1;if(e=Date.now(),Le(k.invalidSprites,function(h,d){for(var f=0;d.length>0;){if(r.validateLayouts(h),r.validatePositions(h),f++,f==5){if(Date.now()-e>r.updateStepDuration)break;f=0}var p=d[d.length-1];if(p&&!p.isDisposed()){if(!p._systemCheckIfValidate())l.push(p);else if(!r.checkIfValidate2(p))l.push(p);else try{p._systemUpdate(l)}catch(g){p.invalid=!1,Be(d,p),p.raiseCriticalError(g)}p.invalid=!1}Be(d,p)}k.invalidSprites[h]=k.invalidSprites[h].concat(l)}),Le(k.invalidSprites,function(h,d){d.length>0&&(u=!0)}),Le(k.invalidDatas,function(h,d){d.length>0&&(u=!0)}),ye(qa(this.animations),function(h){h.update()}),Le(k.invalidLayouts,function(h){r.validateLayouts(h)}),Le(k.invalidPositions,function(h){r.validatePositions(h)}),Pw(),Le(k.invalidLayouts,function(h){r.validateLayouts(h)}),Le(k.invalidPositions,function(h){r.validatePositions(h)}),k.dispatchImmediately("exitframe"),(u||this.animations.length>0||i.length>0)&&this.requestFrame(),this.updateStepDuration<200){var c=!0;Le(k.invalidDatas,function(h,d){d.length>0&&(c=!1)}),Le(k.invalidSprites,function(h,d){d.length>0&&(c=!1)}),c&&(this.updateStepDuration=200)}}},t.prototype.checkIfValidate2=function(r){return!(r.dataItem&&r.dataItem.component&&r.dataItem.component.dataInvalid&&!r.dataItem.component.isTemplate)},t.prototype.requestFrame=function(){var r=this;this._frameRequested||(Ld(function(){r.update()}),this._frameRequested=!0)},t.prototype.softInvalidate=function(r){var e=this;r.children.each(function(i){i instanceof It&&e.softInvalidate(i),i.measureFailed&&(Xt(i,"Label")?i.hardInvalidate():i.invalidate(),i.measureFailed=!1)})},t.prototype.validatePositions=function(r){for(var e=k.invalidPositions[r];e.length>0;){var i=e[e.length-1];if(i.isDisposed())Be(e,i);else try{i._systemValidatePositions()}catch(n){i.positionInvalid=!1,Be(e,i),i.raiseCriticalError(n)}}},t.prototype.validateLayouts=function(r){for(var e=k.invalidLayouts[r];e.length>0;){var i=e[e.length-1];if(i.isDisposed())Be(e,i);else try{i.children.each(function(n){n._systemValidateLayouts()}),i.validateLayout()}catch(n){i.layoutInvalid=!1,Be(e,i),i.raiseCriticalError(n)}}},t.prototype.log=function(r){h3(r)},Object.defineProperty(t.prototype,"isPaused",{get:function(){return this._isPaused},set:function(r){this._isPaused=r,r||(this._frameRequested=!1,this.requestFrame())},enumerable:!0,configurable:!0}),t.VERSION="4.10.29",t}(),Re=new O3,_y=function(){function t(){}return t.prototype.parse=function(r){return[]},Object.defineProperty(t.prototype,"parsableNumbers",{get:function(){return this.options.numberFields&&this.options.numberFields.length>0},enumerable:!0,configurable:!0}),t.prototype.maybeToNumber=function(r,e){return this.options.numberFields.indexOf(r)!==-1?Eh(e):e},Object.defineProperty(t.prototype,"parsableDates",{get:function(){return this.options.dateFields&&this.options.dateFields.length>0},enumerable:!0,configurable:!0}),t.prototype.maybeToDate=function(r,e){return this.options.dateFields.indexOf(r)!==-1?this.options.dateFormatter.parse(e,this.dateFormat):e},t.prototype.maybeToEmpty=function(r){return(!O(r)||r=="")&&O(this.options.emptyAs)?this.options.emptyAs:r},Object.defineProperty(t.prototype,"dateFormatter",{get:function(){return this.options.dateFormatter||(this.options.dateFormatter=new vo,this.options.dateFormat&&(this.options.dateFormat=this.options.dateFormat)),this.options.dateFormatter},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dateFormat",{get:function(){return this.options.dateFormat||this.dateFormatter.inputDateFormat},enumerable:!0,configurable:!0}),t}(),k3=[",",";"," "],Zl=function(t){ee(r,t);function r(){var e=t!==null&&t.apply(this,arguments)||this;return e.contentType="text/csv",e.options={delimiter:"",reverse:!1,skipRows:0,skipEmpty:!0,useColumnNames:!1},e}return r.isCSV=function(e){return!!r.getDelimiterFromData(e)},r.getDelimiterFromData=function(e){var i=e.split(` +`),n=i.length,s;return ye(k3,function(a){for(var o=0,l=0,u=0;u1){if(l===0)l=o;else if(o!=l){l=0;break}}else{l=0;break}l&&(s=a)}),s},r.prototype.parse=function(e){this.options.delimiter||(this.options.delimiter=r.getDelimiterFromData(e));var i=this.CSVToArray(e,this.options.delimiter),n=O(this.options.emptyAs),s=this.parsableNumbers,a=this.parsableDates,o=[],l=[],u,c;for(c=0;c0&&l.delay(i))}),a}},r.prototype.dispose=function(){t.prototype.dispose.call(this),ye(this.sprites,function(e){e.dispose()}),this.sprites=[]},r.prototype.hide=function(e,i,n,s){var a=this;if(this.isHiding=!0,ye(this.sprites,function(l){var u=l.hide(e);u!=null&&!u.isFinished()&&(a._disposers.push(u),i!=null&&i>0&&u.delay(i))}),x(n)&&s){var o;if(ye(s,function(l){var u=a.setWorkingValue(l,n,e,i);u&&(o=u)}),o&&!o.isFinished())return this._hideDisposer=o.events.on("animationended",function(){a.setVisibility(!1,!0),a.isHiding=!1}),this._disposers.push(this._hideDisposer),o;this.isHiding=!1,this.setVisibility(!1,!0)}else this.isHiding=!1,this.setVisibility(!1)},r.prototype.getDuration=function(e){if(!x(e)){var i=this.component;i&&(e=i.interpolationDuration)}if(e!=null)return this._adapterO?this._adapterO.apply("duration",e):e},r.prototype.getValue=function(e,i){if(e&&this.component){i||(i=this.component.dataFields[e+"Show"],i||(i="value"));var n=this.values[e][i];return this._adapterO&&this._adapterO.isEnabled("value")?this._adapterO.apply("value",{value:n,field:e}).value:n}},r.prototype.getWorkingValue=function(e){if(e&&this.component){var i=this.component.dataFields[e+"Show"];return i||(i="workingValue"),this._adapterO?this._adapterO.apply("workingValue",{workingValue:this.values[e][i],field:e}).workingValue:this.values[e][i]}},r.prototype.getActualWorkingValue=function(e){return this.values[e].workingValue},r.prototype.setValue=function(e,i,n,s){var a=this.values[e].value,o=this.getDuration(n);if(i=At(i),a!==i){if(this.values[e].value=i,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("valuechanged")){var l={type:"valuechanged",target:this,property:e};this.events.dispatchImmediately("valuechanged",l)}this.component&&this.component.handleDataItemValueChange(this,e)}this.setWorkingValue(e,i,o,s)},r.prototype.setCalculatedValue=function(e,i,n){var s=this.values[e][n];if(s!==i&&x(i)){if(this.values[e][n]=i,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("calculatedvaluechanged")){var a={type:"calculatedvaluechanged",target:this,property:e};this.events.dispatchImmediately("calculatedvaluechanged",a)}this.component&&this.component.handleDataItemCalculatedValueChange(this,e)}},r.prototype.setWorkingValue=function(e,i,n,s){if(x(this.values[e].value)){var a=this.getDuration(n),o=this.values[e].workingValue;if(a!=null&&a>0&&x(o)&&this.component)if(o!=i){var l=this.animate({childObject:this.values[e],property:"workingValue",from:o,to:i,dummyData:e},a,this.component.interpolationEasing);return s!=null&&l.delay(s),l.events.on("animationstarted",this.handleInterpolationProgress,this),l.events.on("animationprogress",this.handleInterpolationProgress,this),l.events.on("animationended",this.handleInterpolationProgress,this),this._valueAnimations[e]=l,l}else{var u=this._valueAnimations[e];u&&u.stop(),this.values[e].workingValue=i}else{var u=this._valueAnimations[e];if(u&&u.stop(),this.values[e].workingValue=i,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workingvaluechanged")){var c={type:"workingvaluechanged",target:this,property:e};this.events.dispatchImmediately("workingvaluechanged",c)}this.component&&this.component.handleDataItemWorkingValueChange(this,e)}}},r.prototype.setLocation=function(e,i,n,s){var a=this.locations[e];if(a!==i){if(this.locations[e]=i,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("locationchanged")){var o={type:"locationchanged",target:this,property:e};this.events.dispatchImmediately("locationchanged",o)}this.component&&this.component.handleDataItemValueChange(this,e),this.setWorkingLocation(e,i,n,s)}},r.prototype.setWorkingLocation=function(e,i,n,s){var a=this.getDuration(n),o=this.workingLocations[e];if(a!=null&&a>0&&x(o)&&this.component)if(o!=i){var l=this.animate({childObject:this.workingLocations,property:e,from:o,to:i,dummyData:e},a,this.component.interpolationEasing);return s!=null&&l.delay(s),l.events.on("animationstarted",this.handleInterpolationProgress,this),l.events.on("animationprogress",this.handleInterpolationProgress,this),l.events.on("animationended",this.handleInterpolationProgress,this),this._locationAnimations[e]=l,l}else{var u=this._locationAnimations[e];u&&u.stop(),this.workingLocations[e]=i}else{var u=this._locationAnimations[e];if(u&&u.stop(),this.workingLocations[e]=i,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workinglocationchanged")){var c={type:"workinglocationchanged",target:this,property:e};this.events.dispatchImmediately("workinglocationchanged",c)}this.component&&this.component.handleDataItemWorkingLocationChange(this,e)}},r.prototype.setDate=function(e,i,n){!Za(i)&&this.component&&(i=this.component.dateFormatter.parse(i));var s=this.dates[e];s!==i&&(this.dates[e]=i,this.setValue(e,i.getTime(),n))},r.prototype.getDate=function(e){return this._adapterO?this._adapterO.apply("date",{date:this.dates[e],field:e}).date:this.dates[e]},r.prototype.setProperty=function(e,i){if(this.properties[e]!==i){if(this.hasProperties=!0,this.properties[e]=i,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("propertychanged")){var n={type:"propertychanged",target:this,property:e,value:i};this.events.dispatchImmediately("propertychanged",n)}this.component&&this.component.handleDataItemPropertyChange(this,e)}},r.prototype.setCategory=function(e,i){kt(i)||(i=Ad(i)),this.categories[e]!==i&&(this.categories[e]=i)},r.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),e.dataContext&&(this.dataContext=Qw(e.dataContext,{})),vs(e.locations,this.locations),e._adapterO&&this.adapter.copyFrom(e._adapterO),this.component=e.component},Object.defineProperty(r.prototype,"opacity",{set:function(e){ye(this.sprites,function(i){i.opacity=e})},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"ignoreMinMax",{get:function(){return this._ignoreMinMax},set:function(e){if(this._ignoreMinMax=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("propertychanged")){var i={type:"propertychanged",target:this,property:"ignoreMinMax",value:e};this.events.dispatchImmediately("propertychanged",i)}this.component&&this.component.handleDataItemPropertyChange(this,"ignoreMinMax")},enumerable:!0,configurable:!0}),r.prototype.animate=function(e,i,n){return new ui(this,e,i,n).start()},r.prototype.handleInterpolationProgress=function(e){var i=e.target,n=i.animationOptions[0];if(n){if(this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workingvaluechanged")){var s={type:"workingvaluechanged",target:this,property:n.dummyData};this.events.dispatchImmediately("workingvaluechanged",s)}this.component&&this.component.handleDataItemWorkingValueChange(this,n.dummyData)}},r.prototype.hasValue=function(e){for(var i=0,n=e.length;i0;)this.data.shift(),i--;this.invalidateData()},r.prototype.removeData=function(e,i){if(x(e)&&e>0){for(;e>0;){var n=this.mainDataSet.getIndex(0);n&&this.mainDataSet.remove(n),this.dataUsers.each(function(s){if(!s.data||s.data.length==0){var a=s.mainDataSet.getIndex(0);a&&s.mainDataSet.remove(a)}}),i||this.data.shift(),this._parseDataFrom>0&&this._parseDataFrom--,e--}this.invalidateDataItems()}},r.prototype.invalidateData=function(){this.disabled||this.isTemplate||(k.addToInvalidComponents(this),Re.requestFrame(),this.dataInvalid=!0,Ve(this.dataUsers.iterator(),function(e){e.invalidateDataItems()}))},r.prototype.invalidateDataUsers=function(){Ve(this.dataUsers.iterator(),function(e){e.invalidate()})},r.prototype.invalidateDataItems=function(){this.disabled||this.isTemplate||(tn(k.invalidDataItems,this),Re.requestFrame(),this.dataItemsInvalid=!0,Ve(this.dataUsers.iterator(),function(e){e.invalidateDataItems()}))},r.prototype.invalidateDataRange=function(){this.disabled||this.isTemplate||(this.dataRangeInvalid=!0,tn(k.invalidDataRange,this),Re.requestFrame())},r.prototype.validateDataRange=function(){Be(k.invalidDataRange,this),this.dataRangeInvalid=!1,(this.startIndex!=this._prevStartIndex||this.endIndex!=this._prevEndIndex)&&(this.rangeChangeUpdate(),this.appendDataItems(),this.invalidate(),this.dispatchImmediately("datarangechanged"))},r.prototype.sliceData=function(){this._workingStartIndex=this.startIndex,this._workingEndIndex=this.endIndex},r.prototype.rangeChangeUpdate=function(){this.sliceData(),this._prevStartIndex=this.startIndex,this._prevEndIndex=this.endIndex},r.prototype.appendDataItems=function(){for(var e=this.endIndex,i=this.startIndex;i0&&this.disposeData(),this.data.length>0){var i=this.preloader;Ve(this.dataUsers.iterator(),function(h){h._startIndex=void 0,h._endIndex=void 0});var n=0,s=Date.now(),a=this._parseDataFrom,o=this.data.length,l=function(){var h=u.data[a];if(u._usesData){var d=u.getDataItem(h);u.processDataItem(d,h)}if(u.dataUsers.each(function(p){if(p.data.length==0){var g=p.getDataItem(h);p.processDataItem(g,h)}}),n++,n==100){n=0;var f=Date.now()-s;if(f>u.parsingStepDuration&&a.5&&!i.visible||(i.progress=a/u.data.length)),u.dataValidationProgress=a/u.data.length,a=u.data.length,u.invalidateData(),{value:void 0}}},u=this;for(a;a0?this.invalidateData():(this.dispatchImmediately("beforedatavalidated"),this.dispatch("datavalidated")))},r.prototype.getDataSource=function(e){var i=this;return O(this._dataSources[e])||(this._dataSources[e]=new T3,this._dataSources[e].component=this,this.setDataSourceEvents(this._dataSources[e],e),this._dataSources[e].adapter.add("dateFields",function(n){return i.dataSourceDateFields(n)}),this._dataSources[e].adapter.add("numberFields",function(n){return i.dataSourceNumberFields(n)}),this.events.on("inited",function(){i.loadData(e)},this,!1)),this._dataSources[e]},Object.defineProperty(r.prototype,"dataSource",{get:function(){return this._dataSources.data||this.getDataSource("data"),this._dataSources.data},set:function(e){var i=this;this._dataSources.data&&this.removeDispose(this._dataSources.data),this._dataSources.data=e,this._dataSources.data.component=this,this.events.on("inited",function(){i.loadData("data")},this,!1),this.setDataSourceEvents(e,"data")},enumerable:!0,configurable:!0}),r.prototype.loadData=function(e){this._dataSources[e].load()},r.prototype.dataSourceDateFields=function(e){return e},r.prototype.dataSourceNumberFields=function(e){return e},r.prototype.populateDataSourceFields=function(e,i,n){return ye(n,function(s){i[s]&&Gr(e,i[s])===-1&&e.push(i[s])}),e},r.prototype.setDataSourceEvents=function(e,i){var n=this;e.events.on("started",function(s){var a=n.preloader;a&&(a.progress=0)},void 0,!1),e.events.on("loadstarted",function(s){var a=n.preloader;a&&(a.progress=.25)},void 0,!1),e.events.on("loadended",function(s){var a=n.preloader;a&&(a.progress=.5)},void 0,!1),e.events.on("parseended",function(s){var a=n.preloader;a&&(a.progress=.75)},void 0,!1),e.events.on("ended",function(s){var a=n.preloader;a&&(a.progress=1)},void 0,!1),e.events.on("error",function(s){var a=n.preloader;a&&(a.progress=1),n.openModal(s.message)},void 0,!1),i&&e.events.on("done",function(s){var a=n.preloader;a&&(a.progress=1),i=="data"&&!li(s.data)&&(s.data=[s.data]),e.incremental&&i=="data"&&n.data.length?n.addData(s.data,e.keepCount?s.data.length:0):e.updateCurrentData&&i=="data"&&n.data.length?(ye(n.data,function(o,l){O(s.data[l])&&Le(o,function(u,c){O(s.data[l][u])&&(o[u]=s.data[l][u])})}),n.invalidateRawData()):n[i]=s.data})},Object.defineProperty(r.prototype,"responsive",{get:function(){return this._responsive||(this._responsive=new x3,this._responsive.component=this),this._responsive},set:function(e){this._responsive=e,this._responsive.component=this},enumerable:!0,configurable:!0}),r.prototype.zoom=function(e,i,n,s){var a=this;i===void 0&&(i=!1),n===void 0&&(n=!1);var o=e.start,l=e.end,u=e.priority;if(e.start==e.end&&(e.start=e.start-.5/this.maxZoomFactor,e.end=e.end+.5/this.maxZoomFactor),u=="end"&&l==1&&o!=0&&othis.end&&(u="end"),x(s)||(s=this.maxZoomDeclination),!x(o)||!x(l))return{start:this.start,end:this.end};if(this._finalStart!=o||this._finalEnd!=l){var c=this.maxZoomFactor/this.minZoomCount,h=this.maxZoomFactor/this.maxZoomCount;if(u=="start"?(this.maxZoomCount>0&&1/(l-o)c&&(l=o+1/c),l>1&&l-o<1/c&&(o=l-1/c)):(this.maxZoomCount>0&&1/(l-o)c&&(o<=0?l=o+1/c:o=l-1/c),o<0&&l-o<1/c&&(l=o+1/c)),o<-s&&(o=-s),1/(l-o)>c&&(l=o+1/c),l>1+s&&(l=1+s),1/(l-o)>c&&(o=l-1/c),this._finalEnd=l,this._finalStart=o,this.skipRangeEvent=i,this.dispatchImmediately("rangechangestarted"),this.rangeChangeDuration>0&&!n){var d=this.rangeChangeAnimation;if(d&&d.progress<1){var f=d.animationOptions;if(f.length>1){if(f[0].to==o&&f[1].to==l)return{start:o,end:l};d.isDisposed()||d.stop()}}this.rangeChangeAnimation&&this.rangeChangeAnimation.kill(),d=this.animate([{property:"start",to:o},{property:"end",to:l}],this.rangeChangeDuration,this.rangeChangeEasing),this.rangeChangeAnimation=d,d&&!d.isFinished()?d.events.on("animationended",function(){a.dispatchImmediately("rangechangeended")}):this.dispatchImmediately("rangechangeended")}else this.start=o,this.end=l,this.dispatch("rangechangeended")}return{start:o,end:l}},r.prototype.zoomToIndexes=function(e,i,n,s){if(!(!x(e)||!x(i))){var a=e/this.dataItems.length,o=i/this.dataItems.length;this.zoom({start:a,end:o},n,s)}},Object.defineProperty(r.prototype,"zoomFactor",{get:function(){return Ne(1/(this.end-this.start),1,this.maxZoomFactor)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maxZoomFactor",{get:function(){return this.getPropertyValue("maxZoomFactor")},set:function(e){this.setPropertyValue("maxZoomFactor",e)&&(e==1&&(this.maxZoomDeclination=0),this.invalidateDataRange())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maxZoomDeclination",{get:function(){return this.getPropertyValue("maxZoomDeclination")},set:function(e){this.setPropertyValue("maxZoomDeclination",e)&&this.invalidateDataRange()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"startIndex",{get:function(){return x(this._startIndex)||(this._startIndex=0),this._startIndex},set:function(e){this._startIndex=Ne(Math.round(e),0,this.dataItems.length),this.start=this.indexToPosition(this._startIndex)},enumerable:!0,configurable:!0}),r.prototype.indexToPosition=function(e){return e/this.dataItems.length},Object.defineProperty(r.prototype,"endIndex",{get:function(){var e=this.dataItems.length;return(!x(this._endIndex)||this._endIndex>e)&&(this._endIndex=e),this._endIndex},set:function(e){this._endIndex=Ne(Math.round(e),0,this.dataItems.length),this.end=this.indexToPosition(this._endIndex)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"start",{get:function(){return this._adapterO?this._adapterO.apply("start",this._start):this._start},set:function(e){if(this._start!=e){this._start=e;var i=Math.max(0,Math.floor(this.dataItems.length*e)||0);this._startIndex=Math.min(i,this.dataItems.length),this.invalidateDataRange(),this.invalidate(),this.dispatchImmediately("startchanged"),this.dispatch("startendchanged")}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"end",{get:function(){return this._adapterO?this._adapterO.apply("end",this._end):this._end},set:function(e){this._end!=e&&(this._end=e,this._endIndex=Math.min(this.dataItems.length,Math.ceil(this.dataItems.length*e)||0),this.invalidateDataRange(),this.invalidate(),this.dispatchImmediately("endchanged"),this.dispatch("startendchanged"))},enumerable:!0,configurable:!0}),r.prototype.removeFromInvalids=function(){t.prototype.removeFromInvalids.call(this),k.removeFromInvalidComponents(this),Be(k.invalidDataItems,this),Be(k.invalidDataRange,this),Be(k.invalidRawDatas,this)},Object.defineProperty(r.prototype,"dataItems",{get:function(){if(this._currentDataSetId!=""){var e=this.dataSets.getKey(this._currentDataSetId);if(e)return e}return this._dataItems},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dataSets",{get:function(){return this._dataSets||(this._dataSets=new $t),this._dataSets},enumerable:!0,configurable:!0}),r.prototype.setDataSet=function(e){if(this._currentDataSetId!=e){var i=this.dataSets.getKey(e);if(i)return this.dataItems.each(function(n){n.__disabled=!0}),this._currentDataSetId=e,this.invalidateDataRange(),this._prevStartIndex=void 0,this.dataItems.each(function(n){n.__disabled=!1}),!0;if(this._currentDataSetId!="")return this.dataItems.each(function(n){n.__disabled=!0}),this._currentDataSetId="",this.invalidateDataRange(),this._prevStartIndex=void 0,this.dataItems.each(function(n){n.__disabled=!1}),!0}return!1},Object.defineProperty(r.prototype,"currentDataSetId",{get:function(){return this._currentDataSetId},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"mainDataSet",{get:function(){return this._dataItems},enumerable:!0,configurable:!0}),r.prototype._updateDataItemIndexes=function(e){for(var i=this.mainDataSet.values,n=i.length,s=e;sthis.availableWidth||this.bbox.widththis.availableHeight||this.bbox.height0&&(f+=m),d.removeElement(y);var w=this.getLineInfo(g);w&&(w.text="",w.element.textContent="");continue}var C=Di().chunk(v,null,this.ignoreFormatting),P=0,T=!0,V=!1,D=this.getLineInfo(g);D?(D.text="",D.element.textContent=""):(D={text:"",element:this.getSVGLineElement("",0),complex:!1},d.add(D.element)),D.element.removeAttr("display"),D.element.removeChildren(),this.textPathElement&&D.element.add(this.textPathElement);for(var R=0;Rs){this.isOversized=!0;var ge=D.element.textContent,H=D.bbox.width/ge.length,q=jt(Math.ceil((D.bbox.width-s)/H),ge.length);if(this.truncate){var _e=!1,we=D.element.node;if(we&&we.childNodes)for(var $=D.element.node.childNodes.length-1;$>=0;$--){var te=D.element.node.childNodes[$];if(_e&&D.bbox.width<=s&&(te.textContent+=" "+this.ellipsis,D.bbox=D.element.getBBox(),D.bbox.width=Math.floor(D.bbox.width),D.bbox.width<=s))break;_e=!1;var pe=te.textContent;for(ge=D.element.textContent,q=jt(Math.ceil((D.bbox.width-s)/H),ge.length);D.bbox.width>s&&q<=ge.length&&q>0;){var Te=st(ge.length-q-this.ellipsis.length,1);Te<=1&&(q=0,$>0&&(_e=!0,D.element.node.removeChild(te))),pe=kh(pe,Te,this.ellipsis,this.fullWords,this.rtl),pe.length>Te&&this.fullWords&&(pe=kh(pe,Te,this.ellipsis,!1,this.rtl)),te.textContent=pe,D.bbox=D.element.getBBox(),D.bbox.width=Math.floor(D.bbox.width),q=Math.ceil(q*1.1)}V=!0}}else{var Je=D.element.node;if(Je){for(var Ce=D.element.node.lastChild,xe=void 0;D.bbox.width>s&&q<=ge.length&&q>0;){var Te=st(Q.text.length-q,1);if(T?xe=Oh(Q.text,Te,!0,this.rtl):(xe=Oh(Q.text,Te,!0,this.rtl,!1),(xe[0].length>Te||Te===1)&&(D.element.node.removeChild(Ce),q=0)),q>0){var he=xe.shift();T&&(he=ty(he)),Ce.textContent=Di().cleanUp(he)}D.bbox=D.element.getBBox(),D.bbox.width=Math.floor(D.bbox.width),q++}if(xe.length>0){var De="";O(xe)&&(this.rtl?De+=xe.join("")+p:De+=p+xe.join("").replace(/([\[\]]{1})/g,"$1$1"));for(var L=R+1;Ls||oe>a)&&(this.isOversized=!0)}this.setStyles(),this.updateCenter(),this.updateBackground(),h=="none"&&this.group.attr({display:"none"}),this.pathElement&&this.paper.appendDef(this.pathElement)}},r.prototype.maybeHideOversized=function(){this.hideOversized&&(this.availableWidth=0;a--){var o=i[a];if(o.setAttribute("text-anchor",this.textAlign),this.textPathElement)o.removeAttribute("x"),o.removeAttribute("y");else{switch(this.textAlign){case"middle":o.setAttribute("x",(n/2).toString()+"px");break;case"end":this.rtl||o.setAttribute("x",n.toString());break;default:this.rtl?o.setAttribute("x",n.toString()):o.removeAttribute("text-anchor");break}var l=At(o.getAttribute("y"));switch(this.textValign){case"middle":o.setAttribute("y",((l||0)+(s-this.bbox.height)/2).toString());break;case"bottom":o.setAttribute("y",((l||0)+s-this.bbox.height).toString());break;default:o.setAttribute("y",(l||0).toString());break}}}}},r.prototype.getSVGLineElement=function(e,i){var n=this.paper.addGroup("text");return n.textContent=e,n.attr({x:"0"}),O(i)&&n.attr({y:i.toString()}),(this.truncate||this.wrap)&&n.attr({overflow:"hidden"}),n},Object.defineProperty(r.prototype,"rtl",{get:function(){return O(this._rtl)?this._rtl:this._topParent?this._topParent.rtl:!1},set:function(e){e=lt(e),this._rtl=e,this.element&&this.alignSVGText()},enumerable:!0,configurable:!0}),r.prototype.resetBBox=function(){this._bbox={x:0,y:0,width:0,height:0}},r.prototype.getHTMLLineElement=function(e){var i=document.createElement("div");switch(i.innerHTML=e,this.textAlign){case"middle":i.style.textAlign="center";break;case"end":i.style.textAlign="right";break}return this.wrap?i.style.wordWrap="break-word":i.style.whiteSpace="nowrap",this.rtl&&(i.style.direction="rtl"),O(this.fill)&&(i.style.color=this.fill.toString()),i},r.prototype.setStyles=function(){var e=this.element;!this.selectable||this.draggable||this.resizable||this.swipeable?e.addStyle({webkitUserSelect:"none",msUserSelect:"none"}):this.selectable&&(e.removeStyle("webkitUserSelect"),e.removeStyle("msUserSelect"))},r.prototype.hideUnused=function(e){this.initLineCache();var i=this.getCache("lineInfo");if(i.length>=e)for(var n=e;ne?i[e]:void 0},r.prototype.addLineInfo=function(e,i){this.initLineCache(),this.getCache("lineInfo")[i]=e},r.prototype.initLineCache=function(){O(this.getCache("lineInfo"))||this.setCache("lineInfo",[],0)},r.prototype.setDataItem=function(e){this._sourceDataItemEvents&&this._sourceDataItemEvents.dispose(),e&&(this._sourceDataItemEvents=new Mt([e.events.on("valuechanged",this.invalidate,this,!1),e.events.on("workingvaluechanged",this.invalidate,this,!1),e.events.on("calculatedvaluechanged",this.invalidate,this,!1),e.events.on("propertychanged",this.invalidate,this,!1)])),t.prototype.setDataItem.call(this,e)},Object.defineProperty(r.prototype,"availableWidth",{get:function(){return O(this.maxWidth)?this.maxWidth:this.pixelWidth},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"availableHeight",{get:function(){return O(this.maxHeight)?this.maxHeight:this.pixelHeight},enumerable:!0,configurable:!0}),r.prototype.getSvgElement=function(e,i,n){var s=this.paper.add("tspan");return s.textContent=e,i&&s.node.setAttribute("style",i),n&&n.add(s),s},r.prototype.deepInvalidate=function(){t.prototype.deepInvalidate.call(this),this.hardInvalidate()},Object.defineProperty(r.prototype,"readerTitle",{get:function(){var e=this.getPropertyValue("readerTitle");return e?this.dataItem&&(e=this.populateString(e)):e=this.populateString(r4(Hl(this.html)?this.html:this.text)),e},set:function(e){e=Nt(e),this.setPropertyValue("readerTitle",e)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),r}(It);k.registeredClasses.Label=hn;Zd.push({relevant:D3.heightXS,state:function(t,r){if(t instanceof hn&&t.parent&&t.parent.isBaseSprite){var e=t.states.create(r);return e.properties.disabled=!0,e}return null}});var Iu=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="RoundedRectangle",e.element=e.paper.add("path"),e.cornerRadius(3,3,3,3),e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this);var e=this.innerWidth,i=this.innerHeight;if(x(e)&&x(i)){var n=jt(e,i)/2,s=wr(this.cornerRadiusTopLeft,n),a=wr(this.cornerRadiusTopRight,n),o=wr(this.cornerRadiusBottomRight,n),l=wr(this.cornerRadiusBottomLeft,n),u=jt(Math.abs(e/2),Math.abs(i/2)),c=Ne(s,0,u),h=Ne(a,0,u),d=Ne(o,0,u),f=Ne(l,0,u),p="M"+c+",0 L"+(e-h)+",0",g=" L"+f+","+i,v=" L0,"+c,y=" L"+e+","+(i-d),m=" a"+h+","+h+" 0 0 1 "+h+","+h,w=" a"+d+","+d+" 0 0 1 -"+d+","+d,C=" a"+f+","+f+" 0 0 1 -"+f+",-"+f,P=" a"+c+","+c+" 0 0 1 "+c+",-"+c,T=p+m+y+w+g+C+v+P+" Z";this.path=T}},r.prototype.cornerRadius=function(e,i,n,s){this.cornerRadiusTopLeft=e,this.cornerRadiusTopRight=i,this.cornerRadiusBottomLeft=n,this.cornerRadiusBottomRight=s},Object.defineProperty(r.prototype,"cornerRadiusTopLeft",{get:function(){return this.getPropertyValue("cornerRadiusTopLeft")},set:function(e){this.setPercentProperty("cornerRadiusTopLeft",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusTopRight",{get:function(){return this.getPropertyValue("cornerRadiusTopRight")},set:function(e){this.setPercentProperty("cornerRadiusTopRight",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusBottomRight",{get:function(){return this.getPropertyValue("cornerRadiusBottomRight")},set:function(e){this.setPercentProperty("cornerRadiusBottomRight",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusBottomLeft",{get:function(){return this.getPropertyValue("cornerRadiusBottomLeft")},set:function(e){this.setPercentProperty("cornerRadiusBottomLeft",e,!0)},enumerable:!0,configurable:!0}),r.prototype.measureElement=function(){},Object.defineProperty(r.prototype,"bbox",{get:function(){return this.definedBBox?this.definedBBox:this.isMeasured?{x:0,y:0,width:this.innerWidth,height:this.innerHeight}:{x:0,y:0,width:0,height:0}},enumerable:!0,configurable:!0}),r}(_t);k.registeredClasses.RoundedRectangle=Iu;var Rn=function(t){ee(r,t);function r(){var e=t.call(this)||this;e.className="Button",e.tooltipY=0,e.iconPosition="left",e.layout="horizontal",e.contentAlign="center",e.contentValign="middle",e.padding(8,16,8,16),e.setStateOnChildren=!0;var i=new Kt,n=e.background;n.fill=i.getFor("secondaryButton"),n.stroke=i.getFor("secondaryButtonStroke"),n.fillOpacity=1,n.strokeOpacity=1,n.cornerRadius(3,3,3,3),e.label=new hn,e.label.fill=i.getFor("secondaryButtonText"),e.label.shouldClone=!1;var s=n.states.create("hover");s.properties.fillOpacity=1,s.properties.fill=i.getFor("secondaryButtonHover");var a=n.states.create("down");return a.transitionDuration=100,a.properties.fill=i.getFor("secondaryButtonDown"),a.properties.fillOpacity=1,e.role="button",e.focusable=!0,e.applyTheme(),e}return Object.defineProperty(r.prototype,"icon",{get:function(){return this._icon},set:function(e){var i=this._icon;i&&(i.parent=void 0),e&&(this._icon=e,e.parent=this,e.interactionsEnabled=!1,e.shouldClone=!1,this.iconPosition=this.iconPosition,this._disposers.push(e))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"iconPosition",{get:function(){return this.getPropertyValue("iconPosition")},set:function(e){this.setPropertyValue("iconPosition",e),this.icon&&(e=="left"?this.icon.toBack():this.icon.toFront())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"label",{get:function(){return this._label},set:function(e){this._label&&this.removeDispose(this._label),this._label=e,e&&(e.parent=this,e.interactionsEnabled=!1,this._disposers.push(this._label))},enumerable:!0,configurable:!0}),r.prototype.createBackground=function(){return new Iu},r.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),e.label&&this.label.copyFrom(e.label),e.icon&&(this.icon=e.icon.clone())},r}(It);k.registeredClasses.Button=Rn;var Mu=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="Circle",e.element=e.paper.add("circle"),e.setPercentProperty("radius",xt(100)),e.setPropertyValue("horizontalCenter","middle"),e.setPropertyValue("verticalCenter","middle"),e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this),this.element.attr({r:this.pixelRadius})},Object.defineProperty(r.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pixelRadius",{get:function(){return wr(this.radius,jt(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),r.prototype.measureElement=function(){var e=this.pixelRadius;this._bbox={x:-e,y:-e,width:e*2,height:e*2}},r}(_t);k.registeredClasses.Circle=Mu;var $h=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="Ellipse",e.element=e.paper.add("ellipse"),e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this),this.element.attr({rx:this.radius}),this.element.attr({ry:this.radiusY})},Object.defineProperty(r.prototype,"radiusY",{get:function(){return this.innerHeight/2},set:function(e){this.height=e*2,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"radius",{get:function(){return this.innerWidth/2},set:function(e){this.width=e*2,this.invalidate()},enumerable:!0,configurable:!0}),r}(Mu);k.registeredClasses.Ellipse=$h;var A3=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="Image",e.element=e.paper.add("image"),e.applyTheme(),e.width=50,e.height=50,e}return r.prototype.draw=function(){if(t.prototype.draw.call(this),this.href){var e=this.innerWidth,i=this.innerHeight;x(this.widthRatio)&&(e=i*this.widthRatio,this.width=e),x(this.heightRatio)&&(i=e*this.heightRatio,this.height=i),this.element.attr({width:e,height:i}),this.element.attrNS(jd,"xlink:href",this.href)}},Object.defineProperty(r.prototype,"href",{get:function(){return this.getPropertyValue("href")},set:function(e){this.setPropertyValue("href",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"widthRatio",{get:function(){return this.getPropertyValue("widthRatio")},set:function(e){this.setPropertyValue("widthRatio",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"heightRatio",{get:function(){return this.getPropertyValue("heightRatio")},set:function(e){this.setPropertyValue("heightRatio",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"bbox",{get:function(){return{x:0,y:0,width:this.pixelWidth,height:this.pixelHeight}},enumerable:!0,configurable:!0}),r}(_t);k.registeredClasses.Image=A3;var wy=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="Line",e.element=e.paper.add("line"),e.fill=$e(),e.x1=0,e.y1=0,e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this),this.x1==this.x2||this.y1==this.y2?this.pixelPerfect=!0:this.pixelPerfect=!1,this.x1=this.x1,this.x2=this.x2,this.y1=this.y1,this.y2=this.y2},Object.defineProperty(r.prototype,"x1",{get:function(){return this.getPropertyValue("x1")},set:function(e){x(e)||(e=0);var i=0;this.pixelPerfect&&this.stroke instanceof Bi&&(i=1e-5),this.setPropertyValue("x1",e,!0),this.element.attr({x1:e+i})},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"x2",{get:function(){var e=this.getPropertyValue("x2");return x(e)||(e=this.pixelWidth),e},set:function(e){x(e)||(e=0),this.setPropertyValue("x2",e,!0),this.element.attr({x2:e})},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"y1",{get:function(){return this.getPropertyValue("y1")},set:function(e){x(e)||(e=0);var i=0;this.pixelPerfect&&this.stroke instanceof Bi&&(i=1e-5),this.setPropertyValue("y1",e,!0),this.element.attr({y1:e+i})},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"y2",{get:function(){var e=this.getPropertyValue("y2");return x(e)||(e=this.pixelHeight),e},set:function(e){x(e)||(e=0),this.setPropertyValue("y2",e,!0),this.element.attr({y2:e})},enumerable:!0,configurable:!0}),r.prototype.positionToPoint=function(e){var i={x:this.x1,y:this.y1},n={x:this.x2,y:this.y2},s=$l(i,n,e),a=Dn(i,n);return{x:s.x,y:s.y,angle:a}},r}(_t);k.registeredClasses.Line=wy;var $3=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="PointedShape",e.pointerBaseWidth=15,e.pointerLength=10,e.pointerY=0,e.pointerX=0,e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this),x(this.pointerX)||(this.pointerX=this.pixelWidth/2),x(this.pointerY)||(this.pointerY=this.pixelHeight+10)},Object.defineProperty(r.prototype,"pointerBaseWidth",{get:function(){return this.getPropertyValue("pointerBaseWidth")},set:function(e){this.setPropertyValue("pointerBaseWidth",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pointerLength",{get:function(){return this.getPropertyValue("pointerLength")},set:function(e){this.setPropertyValue("pointerLength",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pointerX",{get:function(){return this.getPropertyValue("pointerX")},set:function(e){this.setPropertyValue("pointerX",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pointerY",{get:function(){return this.getPropertyValue("pointerY")},set:function(e){this.setPropertyValue("pointerY",e,!0)},enumerable:!0,configurable:!0}),r}(_t),B3=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="PointedRectangle",e.element=e.paper.add("path"),e.cornerRadius=6,e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this);var e=this.cornerRadius,i=this.innerWidth,n=this.innerHeight;if(i>0&&n>0){var s=this.pointerX,a=this.pointerY,o=this.pointerBaseWidth/2,l=jt(i/2,n/2),u=Ne(e,0,l),c=Ne(e,0,l),h=Ne(e,0,l),d=Ne(e,0,l),f=0,p=0,g=i,v=0,y=i,m=n,w=0,C=n,P=void 0,T=void 0,V=void 0,D=void 0,R=(s-f)*(m-p)-(a-p)*(y-f),Q=(s-w)*(v-C)-(a-C)*(g-w);if(R>0&&Q>0){var ge=Ne(s,u+o,i-o-c);a=Ne(a,-1/0,0),P="M"+u+",0 L"+(ge-o)+",0 L"+s+","+a+" L"+(ge+o)+",0 L"+(i-c)+",0"}else P="M"+u+",0 L"+(i-c)+",0";if(R<0&&Q<0){var ge=Ne(s,d+o,i-o-h);a=Ne(a,n,1/0),V=" L"+(i-h)+","+n+" L"+(ge+o)+","+n+" L"+s+","+a+" L"+(ge-o)+","+n+" L"+d+","+n}else V=" L"+d+","+n;if(R<0&&Q>0){var H=Ne(a,u+o,n-d-o);s=Ne(s,-1/0,0),D=" L0,"+(n-d)+" L0,"+(H+o)+" L"+s+","+a+" L0,"+(H-o)+" L0,"+u}else D=" L0,"+u;if(R>0&&Q<0){var H=Ne(a,c+o,n-o-h);s=Ne(s,i,1/0),T=" L"+i+","+c+" L"+i+","+(H-o)+" L"+s+","+a+" L"+i+","+(H+o)+" L"+i+","+(n-h)}else T=" L"+i+","+(n-h);var q=" a"+c+","+c+" 0 0 1 "+c+","+c,_e=" a"+h+","+h+" 0 0 1 -"+h+","+h,we=" a"+d+","+d+" 0 0 1 -"+d+",-"+d,$=" a"+u+","+u+" 0 0 1 "+u+",-"+u;this.path=P+q+T+_e+V+we+D+$}},Object.defineProperty(r.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(e){this.setPropertyValue("cornerRadius",e,!0)},enumerable:!0,configurable:!0}),r}($3);function L3(t){var r=le(t[0]),e={x:0,y:0},i=Dr.minPolylineStep;x(i)||(i=.5);for(var n=0,s=t.length;ni&&(r+=le(a),e=a)}return r}function He(t){return" M"+me(t.x,4)+","+me(t.y,4)+" "}function le(t){return" L"+me(t.x,4)+","+me(t.y,4)+" "}function cee(t,r){return" Q"+me(r.x,4)+","+me(r.y,4)+" "+me(t.x,4)+","+me(t.y,4)}function eo(t,r,e){return" C"+me(r.x,4)+","+me(r.y,4)+" "+me(e.x,4)+","+me(e.y,4)+" "+me(t.x,4)+","+me(t.y,4)}function Yt(){return" Z"}function ns(t,r,e,i){if(r==0)return"";x(i)||(i=e);var n="",s=",",a=Math.ceil(Math.abs(r)/180),o=1;r<0&&(o=0);var l=0,u=0,c=-nt(t)*e,h=-Qe(t)*i;if(r<.5&&e>3e3){var d=t+r,f=me(nt(d)*e,4),p=me(Qe(d)*i,4);return le({x:f,y:p})}for(var g=0;g(l-t)/2&&(D=m);var R="";return r==360?R=He(C):(R=He(w),R+=le(C),R+=br(V,s,h,!0)),R+=ns(t+f,r-2*f,e,n),x(i)&&i!=0?(r==360&&s==0?R+=He(T):(R+=br(P,s,h,!0),R+=le(T),R+=br(D,a,d,!0)),R+=ns(l-g,-(r-2*g),i,c),(r<360||s>0)&&(R+=br(w,a,d,!0)),R+=le(w)):(R+=br(P,s,h,!0),r<360&&(R+=le(w))),R}function br(t,r,e,i,n,s){if(r==0)return"";s=s||0,n=Boolean(n),i=Boolean(i);var a=",",o=+i,l=+n;return" A"+r+a+e+a+s+a+l+a+o+a+me(t.x,4)+a+me(t.y,4)}function hee(t,r,e,i){return x(e)||(e=0),x(i)||(i=0),He({x:e,y:i})+le({x:e+t,y:i})+le({x:e+t,y:i+r})+le({x:e,y:i+r})+Yt()}function dee(t,r){var e=",",i=" L";return r?"M"+t.x+e+t.y+i+t.x+e+(t.y+t.height)+i+(t.x+t.width)+e+(t.y+t.height)+i+(t.x+t.width)+e+t.y+i+t.x+e+t.y:"M"+t.x+e+t.y+i+(t.x+t.width)+e+t.y+i+(t.x+t.width)+e+(t.y+t.height)+i+t.x+e+(t.y+t.height)+i+t.x+e+t.y}var qd=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e._distance=0,e.className="Polyline",e.element=e.paper.add("path"),e.shapeRendering="auto",e.fill=$e(),e.strokeOpacity=1,e.applyTheme(),e}return r.prototype.makePath=function(){this._distance=0;var e=this.segments;if(e&&e.length>0){for(var i="",n=0,s=e.length;n0){i+=He(a[0]);for(var o=1;o1){for(var p=1;pe){d=n.length;break}}else f.length==1&&(c=f[0],h=f[0],l=0,u=1)}if(c&&h){var g=(e-l)/(u-l),v=$l(c,h,g);return{x:v.x,y:v.y,angle:i+Dn(c,h)}}}return{x:0,y:0,angle:0}},Object.defineProperty(r.prototype,"realSegments",{get:function(){return this._realSegments},enumerable:!0,configurable:!0}),r}(_t);k.registeredClasses.Polyline=qd;var R3=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="Polyarc",e.controlPointDistance=.5,e.controlPointPosition=.5,e.applyTheme(),e}return r.prototype.makePath=function(){this._distance=0;var e=this.segments;if(e&&e.length>0){var i="";this._realSegments=[];for(var n=0,s=e.length;n0){i+=He(a[0]);for(var l=1;l0)for(var V=0;V<=P;V++){var D=$d(u,c,y,C,V/P);o.push(D),this._distance+=Lr(T,D),T=D}else o.push(u)}}}this.path=i}},Object.defineProperty(r.prototype,"controlPointPosition",{get:function(){return this.getPropertyValue("controlPointPosition")},set:function(e){this.setPropertyValue("controlPointPosition",e),this.makePath()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"controlPointDistance",{get:function(){return this.getPropertyValue("controlPointDistance")},set:function(e){this.setPropertyValue("controlPointDistance",e),this.makePath()},enumerable:!0,configurable:!0}),r}(qd);k.registeredClasses.Polyarc=R3;var V3=function(t){ee(r,t);function r(e){var i=t.call(this)||this;return i._bboxes=[],i.morphDuration=800,i.morphEasing=$n,i.morphToSingle=!0,i.scaleRatio=1,i.className="Morpher",i.morphable=e,i.applyTheme(),i}return r.prototype.morphToPolygon=function(e,i,n){var s=this.morphable.currentPoints;if(s&&e){this.sortPoints(s),this.sortPoints(e),this._morphFromPointsReal=[],this._morphToPointsReal=[],O(i)||(i=this.morphDuration),O(n)||(n=this.morphEasing),this._morphFromPointsReal=this.normalizePoints(e,s),this._morphToPointsReal=this.normalizePoints(s,e),this.morphable.currentPoints=this._morphFromPointsReal;var a=new ui(this,{property:"morphProgress",from:0,to:1},i,n);return this._disposers.push(a),a.start(),a}},r.prototype.normalizePoints=function(e,i){for(var n=0,s=e.length;nc.width*c.height?-1:1});for(var i=[],n=0,s=e.length;nm&&(m=u.length),d=this.addPoints(u,m),m=d.length;for(var w=360/(m-1),C=0;C0)for(var V=0,D=c.length;V0)for(var f=e[e.length-1],c=s.length;c0)for(var w=f.x+f.width/2,C=f.y+f.height/2,P=0,T=c.length;P0&&h&&h.length>0){for(var f=[],p=0,g=u.length;p0&&d&&d.length>0){for(var w=[],C=0,P=c.length;C0){var l=o.split("M"),u=l[0],c=l[1];if(u&&u.length>0){var h=u.split("L");if(h.length>0){var d=[],f=[d];e.push(f);for(var p=0;p0){var v=c.split("L");if(v.length>0){var y=[];f.push(y);for(var p=v.length-1;p>=0;p--){var g=v[p].split(",");y.push({x:+g[0],y:+g[1]})}}}}}}}this.setPropertyValue("points",e),this._currentPoints=e}return e},set:function(e){this.setPropertyValue("points",e,!0),this._currentPoints=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"currentPoints",{get:function(){return(!this._currentPoints||this._currentPoints.length==0)&&this.path&&(this._currentPoints=this.points),this._currentPoints},set:function(e){this._currentPoints!=e&&(this._currentPoints=e,this.draw())},enumerable:!0,configurable:!0}),r.prototype.draw=function(){var e="",i=this._currentPoints,n,s,a,o;if(i.length>0){for(var l=0,u=i.length;l0){var d=c[0];e+=He(d);for(var f=0;fd.x)&&(n=d.x),(!x(a)||a>d.y)&&(a=d.y),(!x(o)||o0){var d=h[0];e+=He(d);for(var p=0,g=h.length;p0){var s="";this._realSegments=[];for(var a=0,o=e.length;a0){var c=l[0],h=l[l.length-1],d=!1;me(c.x,3)==me(h.x)&&me(c.y)==me(h.y)&&(d=!0),s+=He(l[0]);for(var f=0;f0)for(var T=0;T<=C;T++){var V=$d(g,v,m,w,T/C);if(!(V.x==P.x&&V.y==P.y)){u.push(V);var D=me(Dn(P,V),5);this._distance+=Lr(P,V),this.allPoints[Math.floor(this._distance)]={x:V.x,y:V.y,angle:D},P=V}}else u.push(p)}}var R=this.allPoints;if(R.length>1){for(var Q=0;Q1)R[Q]=R[Q-1];else for(var ge=1;ge1)for(var a=1;a1){if(i&&a>3){if(e<0){e<-.01&&(e=-.01);var o=s[0],l=s[1],u=o.x-(o.x-l.x)*a*e,c=o.y-(o.y-l.y)*a*e;return{x:u,y:c,angle:Dn(o,l)}}else if(e>1){e>1.01&&(e=1.01);var o=s[s.length-2],l=s[s.length-3],u=o.x+(o.x-l.x)*a*(e-1),c=o.y+(o.y-l.y)*a*(e-1);return{x:u,y:c,angle:Dn(o,{x:u,y:c})}}else if(e==1){var h=s[s.length-1];return{x:h.x,y:h.y,angle:h.angle}}}else e<0&&(e=Math.abs(e),n=180),e>=1&&(e=.9999999999999);var d=s[Math.floor(e*a)];return{x:d.x,y:d.y,angle:d.angle+n}}else if(a==1){var d=s[0];return{x:d.x,y:d.y,angle:d.angle}}else return{x:0,y:0,angle:0}},r}(qd);k.registeredClasses.Polyspline=Bh;var ql=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="Slice",e.setPropertyValue("cornerRadius",0),e.setPropertyValue("startAngle",0),e.setPercentProperty("innerRadius",0),e.setPercentProperty("radius",0),e.setPropertyValue("arc",0),e.setPropertyValue("shiftRadius",0),e.strokeOpacity=1,e.setPropertyValue("layout","none"),e.slice=e.createChild(_t),e.slice.isMeasured=!1,e._disposers.push(e.slice),e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this);var e=this.radiusY;this.radius>0&&e==0&&(e=.01),this.slice.path=F3(this.startAngle,this.arc,this.radius,this.pixelInnerRadius,e,this.cornerRadius,this.innerCornerRadius),this.slice.invalidate(),this.shiftRadius=this.shiftRadius,this.realFill instanceof un&&this.updateGradient(this.realFill),this.realStroke instanceof un&&this.updateGradient(this.realStroke)},r.prototype.updateGradient=function(e){e.element.attr({gradientUnits:"userSpaceOnUse"}),e.element.attr({r:this.radius}),e.cx=0,e.cy=0,e.element.attr({radius:this.radius})},Object.defineProperty(r.prototype,"bbox",{get:function(){if(this.definedBBox)return this.definedBBox;if(this.isMeasured){var e=Gp(this.startAngle,this.startAngle+this.arc,this.pixelInnerRadius),i=Gp(this.startAngle,this.startAngle+this.arc,this.radius);return F0([e,i])}else return{x:0,y:0,width:0,height:0}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(e){this.setPropertyValue("startAngle",Ll(e),!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"arc",{get:function(){return this.getPropertyValue("arc")},set:function(e){x(e)||(e=0),this.setPropertyValue("arc",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"radius",{get:function(){var e=this.getPropertyValue("radius");return x(e)||(e=0),e},set:function(e){this.setPropertyValue("radius",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"radiusY",{get:function(){var e=this.getPropertyValue("radiusY");return x(e)||(e=this.radius),e},set:function(e){this.setPropertyValue("radiusY",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(e){this.setPercentProperty("innerRadius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pixelInnerRadius",{get:function(){return wr(this.innerRadius,this.radius)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(e){this.setPropertyValue("cornerRadius",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"innerCornerRadius",{get:function(){return this.getPropertyValue("innerCornerRadius")},set:function(e){this.setPropertyValue("innerCornerRadius",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"shiftRadius",{get:function(){return this.getPropertyValue("shiftRadius")},set:function(e){this.setPropertyValue("shiftRadius",e),e=this.getPropertyValue("shiftRadius"),this.dx=e*this.radius*this.ix,this.dy=e*this.radiusY*this.iy},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"ix",{get:function(){return nt(this.middleAngle)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"iy",{get:function(){return Qe(this.middleAngle)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"middleAngle",{get:function(){return this.startAngle+this.arc/2},enumerable:!0,configurable:!0}),r.prototype.getTooltipX=function(){var e=this.getPropertyValue("tooltipX");if(x(e))return e;var i=.5;e instanceof ct&&(i=e.value);var n=wr(this.innerRadius,this.radius);return this.ix*(n+(this.radius-n)*i)},r.prototype.getTooltipY=function(){var e=this.getPropertyValue("tooltipY");if(x(e))return e;var i=.5;e instanceof ct&&(i=e.value);var n=wr(this.innerRadius,this.radius);return this.iy*(n+(this.radius-n)*i)+this.slice.dy},r}(It);k.registeredClasses.Slice=ql;var Sy=function(t){ee(r,t);function r(){var e=t.call(this)||this;e.className="Preloader",e.width=xt(100),e.height=xt(100);var i=new Kt,n=e.createChild(It);n.shouldClone=!1;var s=n.createChild(ql);s.shouldClone=!1,s.radius=53,s.arc=360,s.fill=i.getFor("fill"),s.fillOpacity=.8,s.innerRadius=42,s.isMeasured=!1,e.backgroundSlice=s;var a=n.createChild(ql);a.shouldClone=!1,a.radius=50,a.innerRadius=45,a.fill=i.getFor("alternativeBackground"),a.fillOpacity=.2,a.isMeasured=!1,e.progressSlice=a;var o=n.createChild(hn);o.shouldClone=!1,o.horizontalCenter="middle",o.verticalCenter="middle",o.isMeasured=!1,o.fill=i.getFor("text"),o.align="center",o.valign="middle",o.textAlign="middle",o.fillOpacity=.4,e.label=o,e.background.opacity=1,e.background.fill=i.getFor("background"),e.contentAlign="center",e.contentValign="middle",e.delay=300;var l=e.states.create("hidden");return l.properties.opacity=0,e.visible=!1,e.hide(0),e.__disabled=!0,e._disposers.push(e.backgroundSlice),e._disposers.push(e.progressSlice),e._disposers.push(e.label),e._disposers.push(n),e}return Object.defineProperty(r.prototype,"progress",{get:function(){return this.getPropertyValue("progress")},set:function(e){var i=this;this.__disabled=!1,this.validateLayout(),this.setPropertyValue("progress",e),this.progressSlice.arc=360*e,this.label&&(this.label.text=Math.round(e*100)+"%"),e>=1?(this._started&&(this._started=void 0),k.events.once("enterframe",function(){var n=i.hide();n&&!n.isFinished()?n.events.once("animationended",function(){i.__disabled=!0}):i.__disabled=!0}),this.interactionsEnabled=!1,this.setPropertyValue("progress",0)):e>0&&(this.delay?this._started?this._started+this.delay<=new Date().getTime()&&(this.__disabled=!1,this.show(),this.interactionsEnabled=!0):this._started=new Date().getTime():(this.__disabled=!1,this.show(),this.interactionsEnabled=!0))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"delay",{get:function(){return this.getPropertyValue("delay")},set:function(e){this.setPropertyValue("delay",e)},enumerable:!0,configurable:!0}),r}(It);k.registeredClasses.Preloader=Sy;var Lh=function(t){ee(r,t);function r(){var e=t.call(this)||this;e.className="ResizeButton",e.orientation="horizontal",e.layout="absolute",e.horizontalCenter="middle",e.verticalCenter="middle",e.draggable=!0,e.padding(8,8,8,8),e.background.cornerRadius(20,20,20,20);var i=new _t;i.element=e.paper.add("path");var n=He({x:-2,y:-6});return n+=le({x:-2,y:6}),n+=He({x:2,y:-6}),n+=le({x:2,y:6}),i.path=n,i.pixelPerfect=!0,i.padding(0,4,0,4),i.stroke=new Kt().getFor("alternativeText"),i.strokeOpacity=.7,e.icon=i,e.label.dispose(),e.label=void 0,e.applyTheme(),e}return Object.defineProperty(r.prototype,"orientation",{set:function(e){var i=this.icon;i&&(e=="horizontal"?i.rotation=0:i.rotation=-90)},enumerable:!0,configurable:!0}),r}(Rn);k.registeredClasses.ResizeButton=Lh;var j3=function(t){ee(r,t);function r(){var e=t.call(this)||this;e.className="CloseButton",e.padding(8,8,8,8),e.showSystemTooltip=!0,e.width=30,e.height=30;var i=new Kt;e.cursorOverStyle=lr.pointer;var n=e.background;n.cornerRadius(20,20,20,20);var s=i.getFor("background");n.fill=s,n.stroke=i.getFor("primaryButton"),n.strokeOpacity=1,n.strokeWidth=1;var a=i.getFor("primaryButtonActive"),o=n.states.getKey("hover");o.properties.strokeWidth=3,o.properties.fill=s;var l=n.states.getKey("down");l.properties.stroke=a,l.properties.fill=s;var u=new _t;return u.element=e.paper.add("path"),u.stroke=n.stroke,e.icon=u,e.applyTheme(),e}return r.prototype.validate=function(){t.prototype.validate.call(this);var e=this.pixelWidth/3,i=this.pixelHeight/3,n=He({x:-e/2,y:-i/2});n+=le({x:e/2,y:i/2}),n+=He({x:e/2,y:-i/2}),n+=le({x:-e/2,y:i/2}),this.icon.path=n,this.invalidateLayout()},r.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),O(this.readerTitle)||(this.readerTitle=this.language.translate("Close"))},r}(Rn);k.registeredClasses.CloseButton=j3;var H3=function(t){ee(r,t);function r(){var e=t.call(this)||this;e.className="SwitchButton",e.tooltipY=0,e.layout="horizontal",e.contentAlign="center",e.contentValign="middle",e.padding(8,16,8,16),e.setStateOnChildren=!0,e.states.create("active");var i=new Kt,n=new hn;n.fillOpacity=.3;var s=n.states.create("active");s.properties.fillOpacity=1,n.isActive=!0,e.leftLabel=n;var a=new Rn,o=new Mu;a.contentValign="none",a.padding(0,0,0,0),o.radius=10,a.icon=o,a.icon.valign="middle",a.label=void 0;var l=xt(100);a.background.cornerRadius(l,l,l,l),a.width=o.radius*3.5,a.height=o.radius*2.1,a.marginLeft=8,a.marginRight=8,a.togglable=!0,o.dx=-o.radius*.7,o.fill=i.getFor("primaryButton");var u=o.states.create("hover");u.properties.fill=i.getFor("primaryButtonHover");var c=o.states.create("active");c.properties.fill=i.getFor("primaryButtonActive"),c.properties.dx=o.radius*.7,e.switchButton=a,e.events.on("toggled",function(){e.leftLabel.isActive=!e.isActive,e.rightLabel.isActive=e.isActive});var h=new hn;h.fillOpacity=.3;var d=h.states.create("active");return d.properties.fillOpacity=1,e.rightLabel=h,e.role="button",e.focusable=!0,h.valign="middle",n.valign="middle",a.valign="middle",e.applyTheme(),e}return Object.defineProperty(r.prototype,"leftLabel",{get:function(){return this._leftLabel},set:function(e){this._leftLabel&&this.removeDispose(this._leftLabel),this._leftLabel=e,e&&(e.parent=this,e.interactionsEnabled=!1,e.shouldClone=!1,this._disposers.push(this._leftLabel))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"rightLabel",{get:function(){return this._rightLabel},set:function(e){this._rightLabel&&this.removeDispose(this._rightLabel),this._rightLabel=e,e&&(e.parent=this,e.interactionsEnabled=!1,e.shouldClone=!1,this._disposers.push(this._rightLabel))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"switch",{get:function(){return this._switchButton},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"switchButton",{get:function(){return this._switchButton},set:function(e){this._switchButton&&this.removeDispose(this._switchButton),this._switchButton=e,e&&(e.parent=this,e.shouldClone=!1,this._disposers.push(this._switchButton))},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),e.leftLabel&&this.leftLabel.copyFrom(e.leftLabel),e.rightLabel&&this.rightLabel.copyFrom(e.rightLabel),e.switchButton&&this.switchButton.copyFrom(e.switchButton)},r}(It);k.registeredClasses.SwitchButton=H3;var Py=function(t){ee(r,t);function r(){var e=t.call(this)||this;e._previousStart=0,e._previousEnd=1,e._prevStart=0,e._prevEnd=1,e._isBusy=!1,e._skipRangeEvents=!1,e.updateWhileMoving=!0,e.className="Scrollbar",e.minHeight=12,e.minWidth=12,e.animationDuration=0,e.animationEasing=$n,e.margin(10,10,10,10);var i=new Kt,n=e.background;return n.cornerRadius(10,10,10,10),n.fill=i.getFor("fill"),n.fillOpacity=.5,e.showSystemTooltip=!0,e.startGrip=new Lh,e.endGrip=new Lh,e.events.on("transformed",function(){e.updateThumb()},e,!1),e.start=0,e.end=1,e.role="scrollbar",e.thumb.role="slider",e.thumb.readerLive="polite",e.startGrip.role="slider",e.endGrip.role="slider",e.events.once("inited",function(){e._previousStart=void 0,e.dispatchRangeChange()},void 0,!1),e.hideGrips=!1,e.orientation="horizontal",e.setSVGAttribute({"aria-valuemin":"0"}),e.setSVGAttribute({"aria-valuemax":"100"}),e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),this.orientation==="horizontal"?(O(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB to select grip buttons or left and right arrows to change selection")),O(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use left and right arrows to move selection")),O(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use left and right arrows to move left selection")),O(this.endGrip.readerDescription)||(this.endGrip.readerDescription=this.language.translate("Use left and right arrows to move right selection")),this.readerOrientation="horizontal"):(O(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB select grip buttons or up and down arrows to change selection")),O(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use up and down arrows to move selection")),O(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use up and down arrows to move upper selection")),O(this.endGrip.readerDescription)||(this.endGrip.readerDescription=this.language.translate("Use up and down arrows to move lower selection")),this.readerOrientation="vertical"),this.readerControls=this.baseSprite.uidAttr()},r.prototype.validateLayout=function(){this.updateSize(),t.prototype.validateLayout.call(this),this.updateExtremes()},r.prototype.processBackground=function(){t.prototype.processBackground.call(this);var e=this.background;e.clickable=!0,e.events.on("hit",this.handleBgHit,this,void 0)},r.prototype.handleBgHit=function(e){this.makeBusy();var i=e.spritePoint;i=ny(i,this.background,this);var n=this.thumb;if(this.orientation=="horizontal"){var s=i.x-n.pixelWidth/2;s=Ne(s,0,this.innerWidth-n.pixelWidth),this._thumbAnimation=n.animate({property:"x",to:s},this.animationDuration,this.animationEasing)}else{var a=i.y-n.pixelHeight/2;a=Ne(a,0,this.innerHeight-n.pixelHeight),this._thumbAnimation=n.animate({property:"y",to:a},this.animationDuration,this.animationEasing)}this.animationDuration>0?this._thumbAnimation.events.on("animationended",this.makeUnbusy,this,!1):(this._thumb.validate(),this.makeUnbusy())},r.prototype.makeBusy=function(){this._isBusy=!0,this._skipRangeEvents=!1,this._unbusyTimeout&&this.removeDispose(this._unbusyTimeout),this._unbusyTimeout=void 0,this.stopAnimations()},r.prototype.stopAnimations=function(){this._thumbAnimation&&this._thumbAnimation.stop(!0),this._zoomAnimation&&this._zoomAnimation.stop(!0)},r.prototype.makeUnbusy=function(){this._unbusyTimeout=this.setTimeout(this.makeUnbusyReal.bind(this),this.animationDuration*1.1)},r.prototype.makeUnbusyReal=function(){this._usingGrip=void 0,this._isBusy=!1,this.updateWhileMoving||this.dispatchRangeChange()},r.prototype.dispatchRangeChange=function(){(this._previousEnd!=this.end||this._previousStart!=this.start)&&(this._previousStart=this.start,this._previousEnd=this.end,this.dispatch("rangechanged"))},r.prototype.updateThumb=function(e){if(e===void 0&&(e=!0),!!this.parent){var i=this.thumb,n=this.start,s=this.end,a=this.startGrip,o=this.endGrip;if(this.orientation=="horizontal"){var l=this.innerWidth;i.width=l*(s-n),i.maxX=l-i.pixelWidth,i.x=n*l,a.moveTo({x:i.pixelX,y:0},void 0,void 0,!0),o.moveTo({x:i.pixelX+i.pixelWidth,y:0},void 0,void 0,!0),a.readerTitle=this.language.translate("From %1",void 0,this.adapter.apply("positionValue",{value:Math.round(n*100)+"%",position:n}).value),a.readerValueNow=""+Math.round(n*100),a.readerValueText=a.readerTitle,o.readerTitle=this.language.translate("To %1",void 0,this.adapter.apply("positionValue",{value:Math.round(s*100)+"%",position:s}).value),o.readerValueNow=""+Math.round(s*100),o.readerValueText=o.readerTitle}else{var u=this.innerHeight;i.height=u*(s-n),i.maxY=u-i.pixelHeight,i.y=(1-s)*u,a.moveTo({x:0,y:i.pixelY+i.pixelHeight},void 0,void 0,!0),o.moveTo({x:0,y:i.pixelY},void 0,void 0,!0),a.readerTitle=this.language.translate("To %1",void 0,this.adapter.apply("positionValue",{value:Math.round((1-n)*100)+"%",position:1-n}).value),a.readerValueNow=""+Math.round(n*100),a.readerValueText=a.readerTitle,o.readerTitle=this.language.translate("From %1",void 0,this.adapter.apply("positionValue",{value:Math.round((1-s)*100)+"%",position:1-s}).value),o.readerValueNow=""+Math.round(s*100),o.readerValueText=o.readerTitle}i.readerTitle=this.language.translate("From %1 to %2",void 0,this.adapter.apply("positionValue",{value:Math.round(n*100)+"%",position:n}).value,this.adapter.apply("positionValue",{value:Math.round(s*100)+"%",position:s}).value),i.readerValueNow=""+Math.round(n*100),i.readerValueText=i.readerTitle,this.readerValueNow=""+Math.round(n*100),this.readerValueText=i.readerTitle,!this._skipRangeEvents&&this.updateWhileMoving&&e&&this.dispatchRangeChange()}},r.prototype.updateExtremes=function(){var e=this.orientation,i=0,n=0,s=0,a=0;e=="horizontal"?(s=this.innerWidth,n=a=this.innerHeight/2):(a=this.innerHeight,i=s=this.innerWidth/2);var o=this.startGrip;o.minX=i,o.maxX=s,o.minY=n,o.maxY=a;var l=this.endGrip;l.minX=i,l.maxX=s,l.minY=n,l.maxY=a;var u=this.thumb;u.minX=i,u.maxX=s,u.minY=n,u.maxY=a},r.prototype.updateSize=function(){var e=this.orientation,i=this.startGrip;i&&(i.orientation=e),this.endGrip&&(this.endGrip.orientation=e);var n=this.thumb;n&&(e=="horizontal"?(x(this._pixelWidth)||this.width instanceof ct||(this.width=xt(100)),O(this.percentHeight)&&(this.height=this.minHeight),n.height=this.innerHeight,n.verticalCenter="middle",n.horizontalCenter="left"):(x(this._pixelHeight)||this.height instanceof ct||(this.height=xt(100)),O(this.percentWidth)&&(this.width=this.minWidth),n.width=this.innerWidth,n.verticalCenter="top",n.horizontalCenter="middle"))},Object.defineProperty(r.prototype,"isBusy",{get:function(){return this._isBusy},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"start",{get:function(){return Math.min(this.getPosition(this._start),this.getPosition(this._end))},set:function(e){this._isBusy||(this.__start=e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"__start",{get:function(){return this._start},set:function(e){this._start=this.getPosition(e),this.updateThumb()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"end",{get:function(){return Math.max(this.getPosition(this._start),this.getPosition(this._end))},set:function(e){this._isBusy||(this.__end=e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"__end",{get:function(){return this._end},set:function(e){this._end=this.getPosition(e),this.updateThumb()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"range",{get:function(){return{start:this.start,end:this.end,priority:this._usingGrip}},enumerable:!0,configurable:!0}),r.prototype.skipRangeEvents=function(){this._isBusy||(this._skipRangeEvents=!0)},r.prototype.fixRange=function(e){(e.start!=me(this._start,2)||e.end!=me(this._end,2))&&(this._start=e.start,this._end=e.end,this._skipRangeEvents=!0,this.updateThumb(),this._skipRangeEvents=!1,this.thumb.validate(),this.thumb.background.validate())},r.prototype.getPosition=function(e){return Ne(me(e,4),0,1)},Object.defineProperty(r.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(e){this.setPropertyValue("orientation",e)&&(e==="horizontal"?(this.startGrip.cursorOverStyle=lr.horizontalResize,this.endGrip.cursorOverStyle=lr.horizontalResize):(this.startGrip.cursorOverStyle=lr.verticalResize,this.endGrip.cursorOverStyle=lr.verticalResize),this.updateByOrientation(),this.invalidate())},enumerable:!0,configurable:!0}),r.prototype.updateByOrientation=function(){},Object.defineProperty(r.prototype,"startGrip",{get:function(){return this._startGrip},set:function(e){this._startGrip&&this.removeDispose(this._startGrip),this._startGrip=e,this.processGrip(e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"endGrip",{get:function(){return this._endGrip},set:function(e){this._endGrip&&this.removeDispose(this._endGrip),this._endGrip=e,this.processGrip(e)},enumerable:!0,configurable:!0}),r.prototype.processGrip=function(e){e.parent=this,e.isMeasured=!1,e.focusable=!0,e.shouldClone=!1,e.zIndex=100,e.events.on("drag",this.handleGripDrag,this,!1),e.events.on("dragstop",this.makeUnbusy,this,!1),e.events.on("down",this.makeBusy,this,!1),e.events.on("up",this.makeUnbusy,this,!1),this._disposers.push(e)},r.prototype.handleGripDrag=function(e){this.makeBusy(),e.target===this._startGrip?this._usingGrip="start":this._usingGrip="end",this.orientation=="horizontal"?(this._start=this.startGrip.pixelX/this.innerWidth,this._end=this.endGrip.pixelX/this.innerWidth):(this._start=1-this.startGrip.pixelY/this.innerHeight,this._end=1-this.endGrip.pixelY/this.innerHeight),this.updateThumb()},Object.defineProperty(r.prototype,"thumb",{get:function(){if(!this._thumb){var e=new Rn;e.background.cornerRadius(10,10,10,10),e.padding(0,0,0,0),this.thumb=e}return this._thumb},set:function(e){var i=this;e&&(this._thumb&&this.removeDispose(this._thumb),this._thumb=e,e.parent=this,e.isMeasured=!1,e.inert=!0,e.draggable=!0,e.clickable=!0,e.hoverable=!0,e.focusable=!0,e.shouldClone=!1,e.zIndex=0,e.cursorOverStyle=lr.grab,e.cursorDownStyle=lr.grabbing,e.events.on("dragstart",this.makeBusy,this,!1),e.events.on("dragstop",this.makeUnbusy,this,!1),e.events.on("positionchanged",this.handleThumbPosition,this,!1),e.events.on("sizechanged",this.handleThumbPosition,this,!1),e.events.on("doublehit",this.handleDoubleClick,this,!1),this._disposers.push(Ae().body.events.on("keyup",function(n){xi.isKey(n.event,["space","enter"])&&i.thumb.isFocused&&(n.event.preventDefault(),i.handleDoubleClick())})),this._disposers.push(this._thumb))},enumerable:!0,configurable:!0}),r.prototype.handleDoubleClick=function(){this.makeBusy();var e=0,i=1;this.start!=0||this.end!=1?(this._prevStart=this.start,this._prevEnd=this.end):(e=this._prevStart,i=this._prevEnd);var n=this.animate([{property:"__start",to:e},{property:"__end",to:i}],this.animationDuration,this.animationEasing);n&&!n.isFinished()?(n.events.on("animationended",this.makeUnbusy,this,!1),this._zoomAnimation=n):this.makeUnbusy()},r.prototype.handleThumbPosition=function(){var e=this.thumb;if(this.orientation=="horizontal"){var i=this.innerWidth,n=e.innerWidth,s=e.pixelX;this._start=s/i,this._end=(s+n)/i,this.updateThumb()}else{var a=this.innerHeight,o=e.innerHeight,l=e.pixelY;l+o>a&&(l=a-o,e.y=l),this._start=1-(l+o)/a,this._end=1-l/a,this.updateThumb()}},r.prototype.createBackground=function(){return new Iu},Object.defineProperty(r.prototype,"hideGrips",{get:function(){return this._hideGrips},set:function(e){var i=this;this._hideGrips=e,this._overDisposer&&this.removeDispose(this._overDisposer),this._outDisposer&&this.removeDispose(this._outDisposer),e?(this._overDisposer=this.events.on("over",function(){i.startGrip.show(),i.endGrip.show()},void 0,!1),this._outDisposer=this.events.on("out",function(){i.startGrip.hide(),i.endGrip.hide()},void 0,!1),this.startGrip.hide(),this.endGrip.hide()):(this.startGrip.show(),this.endGrip.show())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"animationDuration",{get:function(){return this.getPropertyValue("animationDuration")},set:function(e){this.setPropertyValue("animationDuration",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"animationEasing",{get:function(){return this.getPropertyValue("animationEasing")},set:function(e){this.setPropertyValue("animationEasing",e)},enumerable:!0,configurable:!0}),r.prototype.asFunction=function(e){return e=="animationEasing"||t.prototype.asIs.call(this,e)},r}(It);k.registeredClasses.Scrollbar=Py;var z3=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="Slider",e.thumb.opacity=0,e.thumb.interactionsEnabled=!1,e.endGrip.opacity=0,e.endGrip.interactionsEnabled=!1,e.startGrip.events.on("drag",function(){e.endGrip.x=e.startGrip.x,e.endGrip.y=e.startGrip.y}),e.applyTheme(),e}return Object.defineProperty(r.prototype,"__end",{get:function(){return this._start},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"end",{get:function(){return this._start},set:function(e){},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"start",{get:function(){return this._start},set:function(e){this._isBusy||(this.__start=e)},enumerable:!0,configurable:!0}),r}(Py);k.registeredClasses.Slider=z3;var U3=function(t){ee(r,t);function r(){var e=t.call(this)||this;e.className="TextLink",e.selectable=!0;var i=new Kt;e.fill=i.getFor("primaryButton").brighten(.3);var n=e.states.create("hover");n.properties.fill=i.getFor("primaryButtonHover").brighten(.3);var s=e.states.create("down");return s.properties.fill=i.getFor("primaryButtonDown").brighten(.3),e.cursorOverStyle=lr.pointer,e.applyTheme(),e}return r}(hn);k.registeredClasses.TextLink=U3;var Ms=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.properties={},e.isTemplate=!1,e._scale=1,e._nonScaling=!0,e.className="Filter",e.filterPrimitives=new vt,e.properties.filterUnits="objectBoundingBox",e.filterPrimitives.events.on("inserted",function(i){e._disposers.push(i.newValue)}),e.width=120,e.height=120,e.applyTheme(),e}return r.prototype.appendPrimitives=function(e){Ve(this.filterPrimitives.iterator(),function(i){e.add(i)})},r.prototype.animate=function(e,i,n){var s=new ui(this,e,i,n).start();return s},Object.defineProperty(r.prototype,"width",{get:function(){return this.properties.width},set:function(e){this.properties.width=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){return this.properties.height},set:function(e){this.properties.height=e},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),Le(e.properties,function(n,s){i[n]=s})},Object.defineProperty(r.prototype,"paper",{get:function(){return this._paper?this._paper:go()},set:function(e){this._paper!=e&&(this._paper=e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new Is(this._animations))),this._animations},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"scale",{get:function(){return this._scale},set:function(e){this._scale=e,this.updateScale()},enumerable:!0,configurable:!0}),r.prototype.updateScale=function(){},Object.defineProperty(r.prototype,"filterUnits",{get:function(){return this.properties.filterUnits},set:function(e){this.properties.filterUnits=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"nonScaling",{get:function(){return this._nonScaling},set:function(e){this._nonScaling=e,e||(this._scale=1),this.updateScale()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"sprite",{set:function(e){this.setSprite(e)},enumerable:!0,configurable:!0}),r.prototype.setSprite=function(e){this._sprite&&this._sprite!=e&&this._sprite.filters.removeValue(this),this._sprite=e},r}(Qt),Cy=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="DropShadowFilter",e.color=$e("#000"),e.feGaussianBlur=e.paper.add("feGaussianBlur"),e.feGaussianBlur.attr({result:"blurOut",in:"SourceGraphic"}),e.filterPrimitives.push(e.feGaussianBlur),e.feOffset=e.paper.add("feOffset"),e.feOffset.attr({result:"offsetBlur"}),e.filterPrimitives.push(e.feOffset),e.feFlood=e.paper.add("feFlood"),e.feFlood.attr({"flood-color":e.color}),e.filterPrimitives.push(e.feFlood),e.feComposite=e.paper.add("feComposite"),e.feComposite.attr({in2:"offsetBlur",operator:"in"}),e.filterPrimitives.push(e.feComposite),e.feMerge=e.paper.addGroup("feMerge"),e.feMerge.add(e.paper.add("feMergeNode")),e.feMerge.add(e.paper.add("feMergeNode").attr({in:"SourceGraphic"})),e.filterPrimitives.push(e.feMerge),e.width=200,e.height=200,e.blur=1.5,e.dx=3,e.dy=3,e.opacity=.5,e.applyTheme(),e}return Object.defineProperty(r.prototype,"color",{get:function(){return this.properties.color},set:function(e){this.properties.color=e,this.feFlood&&this.feFlood.attr({"flood-color":e})},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"opacity",{get:function(){return this.properties.opacity},set:function(e){this.properties.opacity=e,this.feFlood.attr({"flood-opacity":e})},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dx",{get:function(){return this.properties.dx},set:function(e){this.properties.dx=e,this.feOffset.attr({dx:e/this.scale})},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"dy",{get:function(){return this.properties.dy},set:function(e){this.properties.dy=e,this.feOffset.attr({dy:e/this.scale})},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"blur",{get:function(){return this.properties.blur},set:function(e){this.properties.blur=e,this.feGaussianBlur.attr({stdDeviation:e/this.scale})},enumerable:!0,configurable:!0}),r.prototype.updateScale=function(){this.dx=this.dx,this.dy=this.dy,this.blur=this.blur},r}(Ms);k.registeredClasses.DropShadowFilter=Cy;var Oy=function(t){ee(r,t);function r(){var e=t.call(this)||this;e._boundingRect={x:-4e4,y:-4e4,width:8e4,height:8e4},e._pointTo={x:0,y:0},e.fitPointerToBounds=!1,e._verticalOrientation="up",e.fixDoc=!0,e.className="Tooltip",e.isMeasured=!1,e.getFillFromObject=!0,e.margin(5,5,5,5),e.defaultState.transitionDuration=1,e.hiddenState.transitionDuration=1;var i=e.background;i.interactionsEnabled=!1,i.fillOpacity=.9,i.strokeWidth=1,i.strokeOpacity=1,i.stroke=$e("#ffffff"),i.cornerRadius=3,i.pointerLength=6,i.pointerBaseWidth=10;var n=new Cy;n.dy=1,n.dx=1,n.opacity=.5,i.filters.push(n),e.autoTextColor=!0;var s=e.createChild(hn);return s.shouldClone=!1,e.label=s,s.padding(7,12,4,12),s.interactionsEnabled=!1,s.horizontalCenter="middle",s.fill=$e("#ffffff"),e._disposers.push(s),e.label.events.on("sizechanged",e.drawBackground,e),e.label.zIndex=1,e.pointerOrientation="vertical",e.animationDuration=0,e.animationEasing=$n,e.setPropertyValue("showInViewport",!1),e.role="tooltip",e.visible=!1,e.opacity=0,e.x=0,e.y=0,e.events.on("visibilitychanged",e.handleVisibility,e),e.applyTheme(),e}return r.prototype.handleVisibility=function(){this.visible&&this.label.invalidate()},Object.defineProperty(r.prototype,"getStrokeFromObject",{get:function(){return this.getPropertyValue("getStrokeFromObject")},set:function(e){this.setPropertyValue("getStrokeFromObject",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"autoTextColor",{get:function(){return this.getPropertyValue("autoTextColor")},set:function(e){this.setPropertyValue("autoTextColor",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"keepTargetHover",{get:function(){return this.getPropertyValue("keepTargetHover")},set:function(e){var i=this;this.setPropertyValue("keepTargetHover",e,!0)&&e&&(this.hoverable=!0,this.background.interactionsEnabled=!0,this._disposers.push(this.events.on("over",function(n){i.targetSprite&&i.targetSprite.hoverable&&(i.targetSprite.isHover=!0)})),this._disposers.push(this.events.on("out",function(n){i.targetSprite&&i.targetSprite.hoverable&&(i.targetSprite.isHover=!1)})))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"showInViewport",{get:function(){return this.getPropertyValue("showInViewport")},set:function(e){this.setPropertyValue("showInViewport",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"getFillFromObject",{get:function(){return this.getPropertyValue("getFillFromObject")},set:function(e){this.setPropertyValue("getFillFromObject",e,!0)},enumerable:!0,configurable:!0}),r.prototype.createBackground=function(){return new B3},Object.defineProperty(r.prototype,"pointerOrientation",{get:function(){return this.getPropertyValue("pointerOrientation")},set:function(e){this.setPropertyValue("pointerOrientation",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"animationDuration",{get:function(){return this.getPropertyValue("animationDuration")},set:function(e){this.setPropertyValue("animationDuration",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"animationEasing",{get:function(){return this.getPropertyValue("animationEasing")},set:function(e){this.setPropertyValue("animationEasing",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"html",{get:function(){return this.label.html},set:function(e){this.label.html!=e&&(this.label.html=e,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"text",{get:function(){return this.label.text},set:function(e){this.label.text!=e&&(this.label.text=e,this.invalidate())},enumerable:!0,configurable:!0}),r.prototype.draw=function(){t.prototype.draw.call(this);var e=this.label;e.invalid&&e.validate();var i=this._pointTo.x,n=this._pointTo.y,s=this._boundingRect,a=e.measuredWidth,o=e.measuredHeight,l=this.background.pointerLength,u,c;if(this.ignoreBounds&&(s=void 0),s&&this.fixDoc&&a>s.width){ig({x:s.x,y:s.y},this.parent);var h=ig({x:s.x+s.width,y:s.y+s.height},this.parent),d=document.body.offsetWidth;document.body.offsetHeight,h.x>d/2?s.x=s.width-a:s.width=s.x+a}var f=this.pointerOrientation;f=="horizontal"||f=="left"||f=="right"?(c=-o/2,f=="horizontal"?s&&i>s.x+s.width/2?u=-a/2-l:u=a/2+l:f=="left"?u=a/2+l:u=-a/2-l):(s&&(u=Ne(0,s.x-i+a/2,s.x-i+s.width-a/2)),f=="vertical"?s&&n>s.y+o+l?(c=-o-l,this._verticalOrientation="up"):(c=l,this._verticalOrientation="down"):f=="down"?(c=-o-l,this._verticalOrientation="up"):(c=l,this._verticalOrientation="down")),s&&(c=Ne(c,s.y-n,s.y+s.height-o-n)),e.x=u,e.y=c,this.drawBackground()},r.prototype.updateBackground=function(){this.group.addToBack(this.background.group)},r.prototype.drawBackground=function(){var e=this.label,i=this.background,n=e.measuredWidth,s=e.measuredHeight,a=this._boundingRect,o=n,l=e.pixelX-n/2,u=s,c=e.pixelY,h=this._pointTo.x,d=this._pointTo.y,f=a.x-h,p=f+a.width,g=a.y-d,v=g+a.height;i.x=l,i.y=c,i.width=o,i.height=u,this.fitPointerToBounds?(i.pointerX=Ne(-i.x,f-i.x,p-i.x),i.pointerY=Ne(-i.y,g-i.y,v-i.y)):(i.pointerX=-i.x,i.pointerY=-i.y),i.validate()},r.prototype.delayedPointTo=function(e,i){var n=this;this._pointToDisposer&&this._pointToDisposer.dispose(),this._pointToDisposer=k.events.once("exitframe",function(){n.pointTo(e,i)}),this.addDisposer(this._pointToDisposer)},r.prototype.pointTo=function(e,i){(this._pointTo.x!=e.x||this._pointTo.y!=e.y)&&(this._pointTo=e,this.invalidate(),!this.visible||i?(this.moveTo(this._pointTo),this._animation&&this._animation.kill()):this.pixelX==0&&this.pixelY==0?this.moveTo(this._pointTo):(this._animation&&this._animation.kill(),this._animation=new ui(this,[{property:"x",to:e.x,from:this.pixelX},{property:"y",to:e.y,from:this.pixelY}],this.animationDuration,this.animationEasing).start()))},r.prototype.setBounds=function(e){var i=this._boundingRect;(i.x!=e.x||i.y!=e.y||i.width!=e.width||i.height!=e.height)&&(this._boundingRect=e,this.invalidate())},Object.defineProperty(r.prototype,"boundingContainer",{set:function(e){this._boundingContainer=e,e.events.on("sizechanged",this.updateBounds,this),e.events.on("positionchanged",this.updateBounds,this)},enumerable:!0,configurable:!0}),r.prototype.updateBounds=function(){var e=this._boundingContainer,i=a4({x:e.pixelX,y:e.pixelY,width:e.maxWidth,height:e.maxHeight},e);this.setBounds(i)},Object.defineProperty(r.prototype,"ignoreBounds",{get:function(){return this.getPropertyValue("ignoreBounds")},set:function(e){this.setPropertyValue("ignoreBounds",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"verticalOrientation",{get:function(){return this._verticalOrientation},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tooltip",{get:function(){},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.label.copyFrom(e.label),e._boundingRect&&(this._boundingRect=e._boundingRect)},r.prototype.asFunction=function(e){return e=="animationEasing"||t.prototype.asIs.call(this,e)},r}(It);k.registeredClasses.Tooltip=Oy;var K3=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="Trapezoid",e.element=e.paper.add("path"),e.topSide=xt(100),e.bottomSide=xt(100),e.leftSide=xt(100),e.rightSide=xt(100),e.isMeasured=!1,e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this);var e=this.pixelWidth,i=this.pixelHeight,n=wr(this.topSide,e),s=wr(this.bottomSide,e),a=wr(this.leftSide,i),o=wr(this.rightSide,i),l=(e-n)/2,u=(i-a)/2,c=e-(e-n)/2,h=(i-o)/2,d=e-(e-s)/2,f=i-(i-o)/2,p=(e-s)/2,g=i-(i-a)/2,v="",y="",m="",w="";if(O(this.horizontalNeck)){var C=this.horizontalNeck.value;v=le({x:e*C,y:Math.max(u,h)}),m=le({x:e*C,y:Math.min(f,g)})}if(O(this.verticalNeck)){var P=this.verticalNeck.value;y=le({x:Math.min(c,d),y:i*P}),w=le({x:Math.max(l,p),y:i*P})}var T=He({x:l,y:u})+v+le({x:c,y:h})+y+le({x:d,y:f})+m+le({x:p,y:g})+w;this.path=T},Object.defineProperty(r.prototype,"topSide",{get:function(){return this.getPropertyValue("topSide")},set:function(e){this.setPercentProperty("topSide",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"bottomSide",{get:function(){return this.getPropertyValue("bottomSide")},set:function(e){this.setPercentProperty("bottomSide",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"leftSide",{get:function(){return this.getPropertyValue("leftSide")},set:function(e){this.setPercentProperty("leftSide",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"rightSide",{get:function(){return this.getPropertyValue("rightSide")},set:function(e){this.setPercentProperty("rightSide",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"horizontalNeck",{get:function(){return this.getPropertyValue("horizontalNeck")},set:function(e){this.setPropertyValue("horizontalNeck",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"verticalNeck",{get:function(){return this.getPropertyValue("verticalNeck")},set:function(e){this.setPropertyValue("verticalNeck",e,!0)},enumerable:!0,configurable:!0}),r}(_t);k.registeredClasses.Trapezoid=K3;var ky=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="Triangle",e.element=e.paper.add("path"),e.direction="top",e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this);var e=this.pixelWidth,i=this.pixelHeight,n;switch(this.direction){case"right":n=He({x:0,y:0})+le({x:e,y:i/2})+le({x:0,y:i})+Yt();break;case"left":n=He({x:e,y:0})+le({x:0,y:i/2})+le({x:e,y:i})+Yt();break;case"bottom":n=He({x:0,y:0})+le({x:e,y:0})+le({x:e/2,y:i})+Yt();break;case"top":n=He({x:e/2,y:0})+le({x:e,y:i})+le({x:0,y:i})+Yt();break}this.path=n},Object.defineProperty(r.prototype,"direction",{get:function(){return this.getPropertyValue("direction")},set:function(e){this.setPropertyValue("direction",e,!0)},enumerable:!0,configurable:!0}),r}(_t);k.registeredClasses.Triangle=ky;var Fh=function(){function t(r,e){this._tensionX=r,this._tensionY=e}return t.prototype.smooth=function(r){for(var e=r.length-1;e>0;e--){var i=r[e],n=r[e-1];Math.abs(i.x-n.x)<.1&&Math.abs(i.y-n.y)<.1&&r.splice(e-1,1)}var s=this._tensionX,a=this._tensionY;if(r.length<3||s>=1&&a>=1)return L3(r);var o=r[0],l=r[r.length-1],u=!1;me(o.x,3)==me(l.x)&&me(o.y)==me(l.y)&&(u=!0);for(var c="",e=0,h=r.length-1;e0){var d=Math.atan2(u-o,l-a),f=Math.cos(d),p=Math.sin(d),g=e*f,v=e*p;if(e<=1||i<=1)h=le(r);else{var y=Math.round(2*c/e),m=[],w=1;l0){var n=this.getPoints(i);e=He(n[0])+new Fh(this.tension,this.tension).smooth(n)}var s=this.pixelInnerRadius;if(s>0){var n=this.getPoints(s);n.reverse(),e+=He(n[0])+new Fh(this.tension,this.tension).smooth(n)}this.path=e},r.prototype.getPoints=function(e){for(var i=e*Math.PI*2,n=this.waveHeight/2,s=i/Math.round(i/this.waveLength),a=s/2,o=[],l=i/s,u=0;u<=l;u++){var c=u*s/i*360,h=(u*s+a)/i*360;o.push({x:(e-n)*nt(c),y:(e-n)*Qe(c)}),o.push({x:(e+n)*nt(h),y:(e+n)*Qe(h)})}return o.pop(),o},Object.defineProperty(r.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(e){this.setPercentProperty("innerRadius",e,!0,!1,10,!1),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pixelInnerRadius",{get:function(){return wr(this.innerRadius,jt(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(e){this.setPropertyValue("waveLength",e),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")},set:function(e){this.setPropertyValue("waveHeight",e),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(e){this.setPropertyValue("tension",e),this.invalidate()},enumerable:!0,configurable:!0}),r}(Mu);k.registeredClasses.WavedCircle=W3;var gee=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="WavedLine",e.element=e.paper.add("path"),e.waveLength=16,e.waveHeight=4,e.tension=.8,e.pixelPerfect=!1,e.fill=$e(),e.applyTheme(),e}return r.prototype.draw=function(){var e={x:this.x1,y:this.y1},i={x:this.x2,y:this.y2};this.path=He(e)+ya(e,i,this.waveLength,this.waveHeight,this.tension,!0)},Object.defineProperty(r.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(e){this.setPropertyValue("waveLength",e),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")},set:function(e){this.setPropertyValue("waveHeight",e),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(e){this.setPropertyValue("tension",e),this.invalidate()},enumerable:!0,configurable:!0}),r}(wy),vee=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="WavedRectangle",e.element=e.paper.add("path"),e.waveLength=16,e.waveHeight=4,e.tension=.8,e.setPropertyValue("wavedLeft",!0),e.setPropertyValue("wavedRight",!0),e.setPropertyValue("wavedTop",!0),e.setPropertyValue("wavedBottom",!0),e.applyTheme(),e}return r.prototype.draw=function(){t.prototype.draw.call(this);var e=this.pixelWidth,i=this.pixelHeight;if(e>0&&i>0){var n={x:0,y:0},s={x:e,y:0},a={x:e,y:i},o={x:0,y:i},l=Math.min(e,this.waveLength),u=Math.min(i,this.waveHeight),c=Math.min(i,this.waveLength),h=Math.min(e,this.waveHeight),d="",f="",p="",g="";this.wavedTop&&(d=ya(n,s,l,u,this.tension,!0)),this.wavedRight&&(f=ya(s,a,c,h,this.tension,!0)),this.wavedBottom&&(p=ya(a,o,l,u,this.tension,!0)),this.wavedLeft&&(g=ya(o,n,c,h,this.tension,!0)),this.path=He(n)+d+le(s)+f+le(a)+p+le(o)+g+"z"}},Object.defineProperty(r.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(e){this.setPropertyValue("waveLength",e),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")},set:function(e){this.setPropertyValue("waveHeight",e),this.invalidate()},enumerable:!0,configurable:!0}),r.prototype.setWavedSides=function(e,i,n,s){this.wavedTop=e,this.wavedRight=i,this.wavedBottom=n,this.wavedLeft=s},Object.defineProperty(r.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(e){this.setPropertyValue("tension",e),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"wavedRight",{get:function(){return this.getPropertyValue("wavedRight")},set:function(e){this.setPropertyValue("wavedRight",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"wavedLeft",{get:function(){return this.getPropertyValue("wavedLeft")},set:function(e){this.setPropertyValue("wavedLeft",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"wavedTop",{get:function(){return this.getPropertyValue("wavedTop")},set:function(e){this.setPropertyValue("wavedTop",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"wavedBottom",{get:function(){return this.getPropertyValue("wavedBottom")},set:function(e){this.setPropertyValue("wavedBottom",e,!0)},enumerable:!0,configurable:!0}),r}(Gd),Y3=function(t){ee(r,t);function r(){var e=t.call(this)||this;e.className="ZoomOutButton",e.padding(9,9,9,9),e.showSystemTooltip=!0;var i=new Kt,n=e.background;n.cornerRadius(20,20,20,20),n.fill=i.getFor("primaryButton"),n.stroke=i.getFor("primaryButtonStroke"),n.strokeOpacity=0,n.states.getKey("hover").properties.fill=i.getFor("primaryButtonHover"),n.states.getKey("down").properties.fill=i.getFor("primaryButtonActive");var s=new _t;s.element=e.paper.add("path");var a=He({x:0,y:0});return a+=le({x:11,y:0}),s.path=a,s.pixelPerfect=!0,s.padding(8,3,8,3),s.stroke=i.getFor("primaryButtonText"),e.icon=s,e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),O(this.readerTitle)||(this.readerTitle=this.language.translate("Zoom Out"))},r}(Rn);k.registeredClasses.ZoomOutButton=Y3;var G3=function(t){ee(r,t);function r(){var e=t.call(this)||this;e.className="PlayButton",e.padding(12,12,12,12),e.showSystemTooltip=!0;var i=new Kt,n=e.background;n.cornerRadius(25,25,25,25),n.fill=i.getFor("primaryButton"),n.stroke=i.getFor("primaryButtonStroke"),n.strokeOpacity=0,n.states.getKey("hover").properties.fill=i.getFor("primaryButtonHover"),n.states.getKey("down").properties.fill=i.getFor("primaryButtonActive");var s=new ky;s.direction="right",s.width=9,s.height=11,s.marginLeft=1,s.marginRight=1,s.horizontalCenter="middle",s.verticalCenter="middle",s.stroke=i.getFor("primaryButtonText"),s.fill=s.stroke,e.icon=s;var a=new Iu;a.width=11,a.height=11,a.horizontalCenter="middle",a.verticalCenter="middle",a.cornerRadius(0,0,0,0),a.stroke=i.getFor("primaryButtonText"),a.fill=s.stroke,e.togglable=!0;var o=e.states.create("active");return o.transitionDuration=0,o.properties.icon=a,e.defaultState.transitionDuration=0,e.applyTheme(),e}return r.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),O(this.readerTitle)||(this.readerTitle=this.language.translate("Play"))},r}(Rn);k.registeredClasses.PlayButton=G3;var Ty=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="ColorModifier",e.applyTheme(),e}return r.prototype.modify=function(e){return e},r}(Qt);k.registeredClasses.ColorModifier=Ty;var Qd=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.lightnesses=[],e.brightnesses=[],e.opacities=[],e.offsets=[],e.className="GradientModifier",e.applyTheme(),e}return Object.defineProperty(r.prototype,"lightnesses",{get:function(){return this._lightnesses},set:function(e){this._lightnesses=e,this._brightnesses=[]},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"brightnesses",{get:function(){return this._brightnesses},set:function(e){this._brightnesses=e,this._lightnesses=[]},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"opacities",{get:function(){return this._opacities},set:function(e){this._opacities=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"offsets",{get:function(){return this._offsets},set:function(e){this._offsets=e},enumerable:!0,configurable:!0}),r.prototype.modify=function(e){this.gradient.clear();var i=0;this.opacities&&(i=st(i,this.opacities.length)),this.lightnesses&&(i=st(i,this.lightnesses.length)),this.brightnesses&&(i=st(i,this.brightnesses.length));for(var n=1,s,a,o=0;o0&&this.depth>0){this.sideB.show(0),this.sideA.show(0),this.edge.show(0);for(var e=this.startAngle,i=this.arc,n=this.pixelInnerRadius||0,s=this.radiusY||0,a=this.radius,o=e+i,l=s/a*n,u={x:nt(e)*n,y:Qe(e)*l},c={x:nt(e)*a,y:Qe(e)*s},h={x:nt(o)*a,y:Qe(o)*s},d={x:nt(o)*n,y:Qe(o)*l},f=this.depth,p={x:u.x,y:u.y-f},g={x:c.x,y:c.y-f},v={x:h.x,y:h.y-f},y={x:d.x,y:d.y-f},m="",w=Math.ceil(i/5),C=i/w,P=e,T=g,V=0;V0&&P<180){m+=He(T);var D={x:nt(P)*a,y:Qe(P)*s-f};m+=le({x:T.x,y:T.y+f}),m+=br({x:D.x,y:D.y+f},a,s,!0),m+=le(D),m+=br(T,a,s),m+="z",T=D}else{m+=He(T);var D={x:nt(P)*a,y:Qe(P)*s-f};m+=br(D,a,s,!0),m+=le({x:D.x,y:D.y+f}),m+=br({x:T.x,y:T.y+f},a,s),m+=le(T),m+="z",T=D}T=p,P=e;for(var V=0;V0&&P<180){m+=He(T);var D={x:nt(P)*n,y:Qe(P)*l-f};m+=le({x:T.x,y:T.y+f}),m+=br({x:D.x,y:D.y+f},n,l,!0),m+=le(D),m+=br(T,n,l),m+="z",T=D}else{m+=He(T);var D={x:nt(P)*n,y:Qe(P)*l-f};m+=br(D,n,l,!0),m+=le({x:D.x,y:D.y+f}),m+=br({x:T.x,y:T.y+f},n,l),m+=le(T),m+="z",T=D}this.edge.path=m,this.sideA.path=He(u)+le(c)+le(g)+le(p)+Yt(),this.sideB.path=He(h)+le(d)+le(y)+le(v)+Yt(),this.startAngle<90?this.sideA.toBack():this.sideA.toFront(),this.startAngle+this.arc>90?this.sideB.toBack():this.sideB.toFront(),this.slice.dy=-f}else this.sideA.hide(0),this.sideB.hide(0),this.edge.hide(0)},Object.defineProperty(r.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(e){this.setPropertyValue("depth",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"angle",{get:function(){var e=this.getPropertyValue("angle");return x(e)||(e=0),e},set:function(e){this.setPropertyValue("angle",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"radiusY",{get:function(){var e=this.getPropertyValue("radiusY");return x(e)||(e=this.radius-this.radius*this.angle/90),e},set:function(e){this.setPropertyValue("radiusY",e,!0)},enumerable:!0,configurable:!0}),r.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.edge.copyFrom(e.edge),this.sideA.copyFrom(e.sideA),this.sideB.copyFrom(e.sideB)},r}(ql),Z3=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.className="RadialGradientModifier",e.gradient=new un,e.applyTheme(),e}return r.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.gradient=e.gradient.clone()},r}(Qd);k.registeredClasses.RadialGradientModifier=Z3;var Dy=function(t){ee(r,t);function r(){var e=t.call(this)||this;return e.properties.gap=0,e._line=e.paper.add("path"),e.addElement(e._line),e}return r.prototype.draw=function(){if(t.prototype.draw.call(this),Math.round(this.rotation/90)!=this.rotation/90&&(this.properties.shapeRendering="auto"),this._line){var e=this.width,i=this.height,n="";if(!this.gap)Math.round(this.rotation/90)!=this.rotation/90?(n=He({x:-e,y:i/2})+le({x:e*2,y:i/2}),this.properties.rotationX=this.width/2,this.properties.rotationY=this.height/2):n=He({x:0,y:0})+le({x:e,y:0});else for(var s=this.gap+this.strokeWidth,a=this.height/s,o=-a/2;o1&&(c-=1),o.push(c)}this.shuffle&&o.sort(function(p,g){return Math.random()-.5});for(var u=0;u1?e.l=e.l-Math.floor(e.l):e.l<0&&(e.l=-(e.l-Math.floor(e.l))),e.l=fc(e.l,this.minLightness,this.maxLightness)):(e.l>1?e.l=1:e.l<0&&(e.l=0),e.l=dc(e.l,this.minLightness,this.maxLightness))},r.prototype.processConfig=function(e){if(e){if(O(e.list)&&li(e.list))for(var i=0,n=e.list.length;i{a===this.plugin.id&&this.fallbacks.setSettings(o)}),this.proxiedOn=new Proxy({},{get:(a,o)=>this.target?this.target.on[o]:(...l)=>{this.onQueue.push({method:o,args:l})}}),this.proxiedTarget=new Proxy({},{get:(a,o)=>this.target?this.target[o]:o==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(o)?(...l)=>(this.targetQueue.push({method:o,args:l,resolve:()=>{}}),this.fallbacks[o](...l)):(...l)=>new Promise(u=>{this.targetQueue.push({method:o,args:l,resolve:u})})})}async setRealTarget(r){this.target=r;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function dS(t,r){const e=t,i=Ay(),n=sS(),s=aS&&e.enableEarlyProxy;if(n&&(i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))n.emit(oS,t,r);else{const a=s?new hS(e,n):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:e,setupFn:r,proxy:a}),a&&r(a.proxiedTarget)}}/*! * vue-router v4.1.6 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const es=typeof window<"u";function fS(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const ft=Object.assign;function Pc(t,r){const e={};for(const i in r){const n=r[i];e[i]=Zr(n)?n.map(t):t(n)}return e}const Ea=()=>{},Zr=Array.isArray,pS=/\/$/,gS=t=>t.replace(pS,"");function Cc(t,r,e="/"){let i,n={},s="",a="";const o=r.indexOf("#");let l=r.indexOf("?");return o=0&&(l=-1),l>-1&&(i=r.slice(0,l),s=r.slice(l+1,o>-1?o:r.length),n=t(s)),o>-1&&(i=i||r.slice(0,o),a=r.slice(o,r.length)),i=bS(i!=null?i:r,e),{fullPath:i+(s&&"?")+s+a,path:i,query:n,hash:a}}function vS(t,r){const e=r.query?t(r.query):"";return r.path+(e&&"?")+e+(r.hash||"")}function yg(t,r){return!r||!t.toLowerCase().startsWith(r.toLowerCase())?t:t.slice(r.length)||"/"}function mS(t,r,e){const i=r.matched.length-1,n=e.matched.length-1;return i>-1&&i===n&&ys(r.matched[i],e.matched[n])&&$y(r.params,e.params)&&t(r.query)===t(e.query)&&r.hash===e.hash}function ys(t,r){return(t.aliasOf||t)===(r.aliasOf||r)}function $y(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const e in t)if(!yS(t[e],r[e]))return!1;return!0}function yS(t,r){return Zr(t)?bg(t,r):Zr(r)?bg(r,t):t===r}function bg(t,r){return Zr(r)?t.length===r.length&&t.every((e,i)=>e===r[i]):t.length===1&&t[0]===r}function bS(t,r){if(t.startsWith("/"))return t;if(!t)return r;const e=r.split("/"),i=t.split("/");let n=e.length-1,s,a;for(s=0;s1&&n--;else break;return e.slice(0,n).join("/")+"/"+i.slice(s-(s===i.length?1:0)).join("/")}var to;(function(t){t.pop="pop",t.push="push"})(to||(to={}));var xa;(function(t){t.back="back",t.forward="forward",t.unknown=""})(xa||(xa={}));function _S(t){if(!t)if(es){const r=document.querySelector("base");t=r&&r.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),gS(t)}const wS=/^[^#]+#/;function SS(t,r){return t.replace(wS,"#")+r}function PS(t,r){const e=document.documentElement.getBoundingClientRect(),i=t.getBoundingClientRect();return{behavior:r.behavior,left:i.left-e.left-(r.left||0),top:i.top-e.top-(r.top||0)}}const Au=()=>({left:window.pageXOffset,top:window.pageYOffset});function CS(t){let r;if("el"in t){const e=t.el,i=typeof e=="string"&&e.startsWith("#"),n=typeof e=="string"?i?document.getElementById(e.slice(1)):document.querySelector(e):e;if(!n)return;r=PS(n,t)}else r=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(r):window.scrollTo(r.left!=null?r.left:window.pageXOffset,r.top!=null?r.top:window.pageYOffset)}function _g(t,r){return(history.state?history.state.position-r:-1)+t}const Nh=new Map;function OS(t,r){Nh.set(t,r)}function kS(t){const r=Nh.get(t);return Nh.delete(t),r}let TS=()=>location.protocol+"//"+location.host;function By(t,r){const{pathname:e,search:i,hash:n}=r,s=t.indexOf("#");if(s>-1){let o=n.includes(t.slice(s))?t.slice(s).length:1,l=n.slice(o);return l[0]!=="/"&&(l="/"+l),yg(l,"")}return yg(e,t)+i+n}function ES(t,r,e,i){let n=[],s=[],a=null;const o=({state:d})=>{const f=By(t,location),p=e.value,g=r.value;let v=0;if(d){if(e.value=f,r.value=d,a&&a===p){a=null;return}v=g?d.position-g.position:0}else i(f);n.forEach(y=>{y(e.value,p,{delta:v,type:to.pop,direction:v?v>0?xa.forward:xa.back:xa.unknown})})};function l(){a=e.value}function u(d){n.push(d);const f=()=>{const p=n.indexOf(d);p>-1&&n.splice(p,1)};return s.push(f),f}function c(){const{history:d}=window;!d.state||d.replaceState(ft({},d.state,{scroll:Au()}),"")}function h(){for(const d of s)d();s=[],window.removeEventListener("popstate",o),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",o),window.addEventListener("beforeunload",c),{pauseListeners:l,listen:u,destroy:h}}function wg(t,r,e,i=!1,n=!1){return{back:t,current:r,forward:e,replaced:i,position:window.history.length,scroll:n?Au():null}}function xS(t){const{history:r,location:e}=window,i={value:By(t,e)},n={value:r.state};n.value||s(i.value,{back:null,current:i.value,forward:null,position:r.length-1,replaced:!0,scroll:null},!0);function s(l,u,c){const h=t.indexOf("#"),d=h>-1?(e.host&&document.querySelector("base")?t:t.slice(h))+l:TS()+t+l;try{r[c?"replaceState":"pushState"](u,"",d),n.value=u}catch(f){console.error(f),e[c?"replace":"assign"](d)}}function a(l,u){const c=ft({},r.state,wg(n.value.back,l,n.value.forward,!0),u,{position:n.value.position});s(l,c,!0),i.value=l}function o(l,u){const c=ft({},n.value,r.state,{forward:l,scroll:Au()});s(c.current,c,!0);const h=ft({},wg(i.value,l,null),{position:c.position+1},u);s(l,h,!1),i.value=l}return{location:i,state:n,push:o,replace:a}}function DS(t){t=_S(t);const r=xS(t),e=ES(t,r.state,r.location,r.replace);function i(s,a=!0){a||e.pauseListeners(),history.go(s)}const n=ft({location:"",base:t,go:i,createHref:SS.bind(null,t)},r,e);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>r.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>r.state.value}),n}function IS(t){return typeof t=="string"||t&&typeof t=="object"}function Ly(t){return typeof t=="string"||typeof t=="symbol"}const Ui={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Fy=Symbol("");var Sg;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Sg||(Sg={}));function bs(t,r){return ft(new Error,{type:t,[Fy]:!0},r)}function Si(t,r){return t instanceof Error&&Fy in t&&(r==null||!!(t.type&r))}const Pg="[^/]+?",MS={sensitive:!1,strict:!1,start:!0,end:!0},AS=/[.+*?^${}()[\]/\\]/g;function $S(t,r){const e=ft({},MS,r),i=[];let n=e.start?"^":"";const s=[];for(const u of t){const c=u.length?[]:[90];e.strict&&!u.length&&(n+="/");for(let h=0;hr.length?r.length===1&&r[0]===40+40?1:-1:0}function LS(t,r){let e=0;const i=t.score,n=r.score;for(;e0&&r[r.length-1]<0}const FS={type:0,value:""},RS=/[a-zA-Z0-9_]/;function VS(t){if(!t)return[[]];if(t==="/")return[[FS]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function r(f){throw new Error(`ERR (${e})/"${u}": ${f}`)}let e=0,i=e;const n=[];let s;function a(){s&&n.push(s),s=[]}let o=0,l,u="",c="";function h(){!u||(e===0?s.push({type:0,value:u}):e===1||e===2||e===3?(s.length>1&&(l==="*"||l==="+")&&r(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):r("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;o{a(m)}:Ea}function a(c){if(Ly(c)){const h=i.get(c);h&&(i.delete(c),e.splice(e.indexOf(h),1),h.children.forEach(a),h.alias.forEach(a))}else{const h=e.indexOf(c);h>-1&&(e.splice(h,1),c.record.name&&i.delete(c.record.name),c.children.forEach(a),c.alias.forEach(a))}}function o(){return e}function l(c){let h=0;for(;h=0&&(c.record.path!==e[h].record.path||!Ry(c,e[h]));)h++;e.splice(h,0,c),c.record.name&&!kg(c)&&i.set(c.record.name,c)}function u(c,h){let d,f={},p,g;if("name"in c&&c.name){if(d=i.get(c.name),!d)throw bs(1,{location:c});g=d.record.name,f=ft(Og(h.params,d.keys.filter(m=>!m.optional).map(m=>m.name)),c.params&&Og(c.params,d.keys.map(m=>m.name))),p=d.stringify(f)}else if("path"in c)p=c.path,d=e.find(m=>m.re.test(p)),d&&(f=d.parse(p),g=d.record.name);else{if(d=h.name?i.get(h.name):e.find(m=>m.re.test(h.path)),!d)throw bs(1,{location:c,currentLocation:h});g=d.record.name,f=ft({},h.params,c.params),p=d.stringify(f)}const v=[];let y=d;for(;y;)v.unshift(y.record),y=y.parent;return{name:g,path:p,params:f,matched:v,meta:US(v)}}return t.forEach(c=>s(c)),{addRoute:s,resolve:u,removeRoute:a,getRoutes:o,getRecordMatcher:n}}function Og(t,r){const e={};for(const i of r)i in t&&(e[i]=t[i]);return e}function HS(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:zS(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function zS(t){const r={},e=t.props||!1;if("component"in t)r.default=e;else for(const i in t.components)r[i]=typeof e=="boolean"?e:e[i];return r}function kg(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function US(t){return t.reduce((r,e)=>ft(r,e.meta),{})}function Tg(t,r){const e={};for(const i in t)e[i]=i in r?r[i]:t[i];return e}function Ry(t,r){return r.children.some(e=>e===t||Ry(t,e))}const Vy=/#/g,KS=/&/g,WS=/\//g,YS=/=/g,GS=/\?/g,Ny=/\+/g,ZS=/%5B/g,qS=/%5D/g,jy=/%5E/g,QS=/%60/g,Hy=/%7B/g,XS=/%7C/g,zy=/%7D/g,JS=/%20/g;function Jd(t){return encodeURI(""+t).replace(XS,"|").replace(ZS,"[").replace(qS,"]")}function e8(t){return Jd(t).replace(Hy,"{").replace(zy,"}").replace(jy,"^")}function jh(t){return Jd(t).replace(Ny,"%2B").replace(JS,"+").replace(Vy,"%23").replace(KS,"%26").replace(QS,"`").replace(Hy,"{").replace(zy,"}").replace(jy,"^")}function t8(t){return jh(t).replace(YS,"%3D")}function r8(t){return Jd(t).replace(Vy,"%23").replace(GS,"%3F")}function i8(t){return t==null?"":r8(t).replace(WS,"%2F")}function Ql(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function n8(t){const r={};if(t===""||t==="?")return r;const i=(t[0]==="?"?t.slice(1):t).split("&");for(let n=0;ns&&jh(s)):[i&&jh(i)]).forEach(s=>{s!==void 0&&(r+=(r.length?"&":"")+e,s!=null&&(r+="="+s))})}return r}function s8(t){const r={};for(const e in t){const i=t[e];i!==void 0&&(r[e]=Zr(i)?i.map(n=>n==null?null:""+n):i==null?i:""+i)}return r}const a8=Symbol(""),xg=Symbol(""),$u=Symbol(""),ef=Symbol(""),Hh=Symbol("");function aa(){let t=[];function r(i){return t.push(i),()=>{const n=t.indexOf(i);n>-1&&t.splice(n,1)}}function e(){t=[]}return{add:r,list:()=>t,reset:e}}function Zi(t,r,e,i,n){const s=i&&(i.enterCallbacks[n]=i.enterCallbacks[n]||[]);return()=>new Promise((a,o)=>{const l=h=>{h===!1?o(bs(4,{from:e,to:r})):h instanceof Error?o(h):IS(h)?o(bs(2,{from:r,to:h})):(s&&i.enterCallbacks[n]===s&&typeof h=="function"&&s.push(h),a())},u=t.call(i&&i.instances[n],r,e,l);let c=Promise.resolve(u);t.length<3&&(c=c.then(l)),c.catch(h=>o(h))})}function Oc(t,r,e,i){const n=[];for(const s of t)for(const a in s.components){let o=s.components[a];if(!(r!=="beforeRouteEnter"&&!s.instances[a]))if(o8(o)){const u=(o.__vccOpts||o)[r];u&&n.push(Zi(u,e,i,s,a))}else{let l=o();n.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${s.path}"`));const c=fS(u)?u.default:u;s.components[a]=c;const d=(c.__vccOpts||c)[r];return d&&Zi(d,e,i,s,a)()}))}}return n}function o8(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Dg(t){const r=Ar($u),e=Ar(ef),i=F(()=>r.resolve(ie(t.to))),n=F(()=>{const{matched:l}=i.value,{length:u}=l,c=l[u-1],h=e.matched;if(!c||!h.length)return-1;const d=h.findIndex(ys.bind(null,c));if(d>-1)return d;const f=Ig(l[u-2]);return u>1&&Ig(c)===f&&h[h.length-1].path!==f?h.findIndex(ys.bind(null,l[u-2])):d}),s=F(()=>n.value>-1&&h8(e.params,i.value.params)),a=F(()=>n.value>-1&&n.value===e.matched.length-1&&$y(e.params,i.value.params));function o(l={}){return c8(l)?r[ie(t.replace)?"replace":"push"](ie(t.to)).catch(Ea):Promise.resolve()}return{route:i,href:F(()=>i.value.href),isActive:s,isExactActive:a,navigate:o}}const l8=oe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Dg,setup(t,{slots:r}){const e=gi(Dg(t)),{options:i}=Ar($u),n=F(()=>({[Mg(t.activeClass,i.linkActiveClass,"router-link-active")]:e.isActive,[Mg(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:e.isExactActive}));return()=>{const s=r.default&&r.default(e);return t.custom?s:Me("a",{"aria-current":e.isExactActive?t.ariaCurrentValue:null,href:e.href,onClick:e.navigate,class:n.value},s)}}}),u8=l8;function c8(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const r=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(r))return}return t.preventDefault&&t.preventDefault(),!0}}function h8(t,r){for(const e in r){const i=r[e],n=t[e];if(typeof i=="string"){if(i!==n)return!1}else if(!Zr(n)||n.length!==i.length||i.some((s,a)=>s!==n[a]))return!1}return!0}function Ig(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Mg=(t,r,e)=>t!=null?t:r!=null?r:e,d8=oe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:r,slots:e}){const i=Ar(Hh),n=F(()=>t.route||i.value),s=Ar(xg,0),a=F(()=>{let u=ie(s);const{matched:c}=n.value;let h;for(;(h=c[u])&&!h.components;)u++;return u}),o=F(()=>n.value.matched[a.value]);wa(xg,F(()=>a.value+1)),wa(a8,o),wa(Hh,n);const l=j();return Ye(()=>[l.value,o.value,t.name],([u,c,h],[d,f,p])=>{c&&(c.instances[h]=u,f&&f!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=f.leaveGuards),c.updateGuards.size||(c.updateGuards=f.updateGuards))),u&&c&&(!f||!ys(c,f)||!d)&&(c.enterCallbacks[h]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=n.value,c=t.name,h=o.value,d=h&&h.components[c];if(!d)return Ag(e.default,{Component:d,route:u});const f=h.props[c],p=f?f===!0?u.params:typeof f=="function"?f(u):f:null,v=Me(d,ft({},p,r,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(h.instances[c]=null)},ref:l}));return Ag(e.default,{Component:v,route:u})||v}}});function Ag(t,r){if(!t)return null;const e=t(r);return e.length===1?e[0]:e}const f8=d8;function p8(t){const r=jS(t.routes,t),e=t.parseQuery||n8,i=t.stringifyQuery||Eg,n=t.history,s=aa(),a=aa(),o=aa(),l=T_(Ui);let u=Ui;es&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Pc.bind(null,L=>""+L),h=Pc.bind(null,i8),d=Pc.bind(null,Ql);function f(L,U){let G,A;return Ly(L)?(G=r.getRecordMatcher(L),A=U):A=L,r.addRoute(A,G)}function p(L){const U=r.getRecordMatcher(L);U&&r.removeRoute(U)}function g(){return r.getRoutes().map(L=>L.record)}function v(L){return!!r.getRecordMatcher(L)}function y(L,U){if(U=ft({},U||l.value),typeof L=="string"){const b=Cc(e,L,U.path),_=r.resolve({path:b.path},U),M=n.createHref(b.fullPath);return ft(b,_,{params:d(_.params),hash:Ql(b.hash),redirectedFrom:void 0,href:M})}let G;if("path"in L)G=ft({},L,{path:Cc(e,L.path,U.path).path});else{const b=ft({},L.params);for(const _ in b)b[_]==null&&delete b[_];G=ft({},L,{params:h(L.params)}),U.params=h(U.params)}const A=r.resolve(G,U),z=L.hash||"";A.params=c(d(A.params));const ae=vS(i,ft({},L,{hash:e8(z),path:A.path})),ve=n.createHref(ae);return ft({fullPath:ae,hash:z,query:i===Eg?s8(L.query):L.query||{}},A,{redirectedFrom:void 0,href:ve})}function m(L){return typeof L=="string"?Cc(e,L,l.value.path):ft({},L)}function w(L,U){if(u!==L)return bs(8,{from:U,to:L})}function C(L){return V(L)}function P(L){return C(ft(m(L),{replace:!0}))}function E(L){const U=L.matched[L.matched.length-1];if(U&&U.redirect){const{redirect:G}=U;let A=typeof G=="function"?G(L):G;return typeof A=="string"&&(A=A.includes("?")||A.includes("#")?A=m(A):{path:A},A.params={}),ft({query:L.query,hash:L.hash,params:"path"in A?{}:L.params},A)}}function V(L,U){const G=u=y(L),A=l.value,z=L.state,ae=L.force,ve=L.replace===!0,b=E(G);if(b)return V(ft(m(b),{state:typeof b=="object"?ft({},z,b.state):z,force:ae,replace:ve}),U||G);const _=G;_.redirectedFrom=U;let M;return!ae&&mS(i,A,G)&&(M=bs(16,{to:_,from:A}),Je(A,A,!0,!1)),(M?Promise.resolve(M):R(_,A)).catch(B=>Si(B)?Si(B,2)?B:Te(B):te(B,_,A)).then(B=>{if(B){if(Si(B,2))return V(ft({replace:ve},m(B.to),{state:typeof B.to=="object"?ft({},z,B.to.state):z,force:ae}),U||_)}else B=ge(_,A,!0,ve,z);return Q(_,A,B),B})}function D(L,U){const G=w(L,U);return G?Promise.reject(G):Promise.resolve()}function R(L,U){let G;const[A,z,ae]=g8(L,U);G=Oc(A.reverse(),"beforeRouteLeave",L,U);for(const b of A)b.leaveGuards.forEach(_=>{G.push(Zi(_,L,U))});const ve=D.bind(null,L,U);return G.push(ve),Gn(G).then(()=>{G=[];for(const b of s.list())G.push(Zi(b,L,U));return G.push(ve),Gn(G)}).then(()=>{G=Oc(z,"beforeRouteUpdate",L,U);for(const b of z)b.updateGuards.forEach(_=>{G.push(Zi(_,L,U))});return G.push(ve),Gn(G)}).then(()=>{G=[];for(const b of L.matched)if(b.beforeEnter&&!U.matched.includes(b))if(Zr(b.beforeEnter))for(const _ of b.beforeEnter)G.push(Zi(_,L,U));else G.push(Zi(b.beforeEnter,L,U));return G.push(ve),Gn(G)}).then(()=>(L.matched.forEach(b=>b.enterCallbacks={}),G=Oc(ae,"beforeRouteEnter",L,U),G.push(ve),Gn(G))).then(()=>{G=[];for(const b of a.list())G.push(Zi(b,L,U));return G.push(ve),Gn(G)}).catch(b=>Si(b,8)?b:Promise.reject(b))}function Q(L,U,G){for(const A of o.list())A(L,U,G)}function ge(L,U,G,A,z){const ae=w(L,U);if(ae)return ae;const ve=U===Ui,b=es?history.state:{};G&&(A||ve?n.replace(L.fullPath,ft({scroll:ve&&b&&b.scroll},z)):n.push(L.fullPath,z)),l.value=L,Je(L,U,G,ve),Te()}let H;function q(){H||(H=n.listen((L,U,G)=>{if(!xe.listening)return;const A=y(L),z=E(A);if(z){V(ft(z,{replace:!0}),A).catch(Ea);return}u=A;const ae=l.value;es&&OS(_g(ae.fullPath,G.delta),Au()),R(A,ae).catch(ve=>Si(ve,12)?ve:Si(ve,2)?(V(ve.to,A).then(b=>{Si(b,20)&&!G.delta&&G.type===to.pop&&n.go(-1,!1)}).catch(Ea),Promise.reject()):(G.delta&&n.go(-G.delta,!1),te(ve,A,ae))).then(ve=>{ve=ve||ge(A,ae,!1),ve&&(G.delta&&!Si(ve,8)?n.go(-G.delta,!1):G.type===to.pop&&Si(ve,20)&&n.go(-1,!1)),Q(A,ae,ve)}).catch(Ea)}))}let _e=aa(),we=aa(),$;function te(L,U,G){Te(L);const A=we.list();return A.length?A.forEach(z=>z(L,U,G)):console.error(L),Promise.reject(L)}function pe(){return $&&l.value!==Ui?Promise.resolve():new Promise((L,U)=>{_e.add([L,U])})}function Te(L){return $||($=!L,q(),_e.list().forEach(([U,G])=>L?G(L):U()),_e.reset()),L}function Je(L,U,G,A){const{scrollBehavior:z}=t;if(!es||!z)return Promise.resolve();const ae=!G&&kS(_g(L.fullPath,0))||(A||!G)&&history.state&&history.state.scroll||null;return Yr().then(()=>z(L,U,ae)).then(ve=>ve&&CS(ve)).catch(ve=>te(ve,L,U))}const Ce=L=>n.go(L);let Ee;const ce=new Set,xe={currentRoute:l,listening:!0,addRoute:f,removeRoute:p,hasRoute:v,getRoutes:g,resolve:y,options:t,push:C,replace:P,go:Ce,back:()=>Ce(-1),forward:()=>Ce(1),beforeEach:s.add,beforeResolve:a.add,afterEach:o.add,onError:we.add,isReady:pe,install(L){const U=this;L.component("RouterLink",u8),L.component("RouterView",f8),L.config.globalProperties.$router=U,Object.defineProperty(L.config.globalProperties,"$route",{enumerable:!0,get:()=>ie(l)}),es&&!Ee&&l.value===Ui&&(Ee=!0,C(n.location).catch(z=>{}));const G={};for(const z in Ui)G[z]=F(()=>l.value[z]);L.provide($u,U),L.provide(ef,gi(G)),L.provide(Hh,l);const A=L.unmount;ce.add(L),L.unmount=function(){ce.delete(L),ce.size<1&&(u=Ui,H&&H(),H=null,l.value=Ui,Ee=!1,$=!1),A()}}};return xe}function Gn(t){return t.reduce((r,e)=>r.then(()=>e()),Promise.resolve())}function g8(t,r){const e=[],i=[],n=[],s=Math.max(r.matched.length,t.matched.length);for(let a=0;ays(u,o))?i.push(o):e.push(o));const l=t.matched[a];l&&(r.matched.find(u=>ys(u,l))||n.push(l))}return[e,i,n]}function tf(){return Ar($u)}function Bu(){return Ar(ef)}/*! + */const es=typeof window<"u";function fS(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const ft=Object.assign;function Pc(t,r){const e={};for(const i in r){const n=r[i];e[i]=Zr(n)?n.map(t):t(n)}return e}const Ta=()=>{},Zr=Array.isArray,pS=/\/$/,gS=t=>t.replace(pS,"");function Cc(t,r,e="/"){let i,n={},s="",a="";const o=r.indexOf("#");let l=r.indexOf("?");return o=0&&(l=-1),l>-1&&(i=r.slice(0,l),s=r.slice(l+1,o>-1?o:r.length),n=t(s)),o>-1&&(i=i||r.slice(0,o),a=r.slice(o,r.length)),i=bS(i!=null?i:r,e),{fullPath:i+(s&&"?")+s+a,path:i,query:n,hash:a}}function vS(t,r){const e=r.query?t(r.query):"";return r.path+(e&&"?")+e+(r.hash||"")}function yg(t,r){return!r||!t.toLowerCase().startsWith(r.toLowerCase())?t:t.slice(r.length)||"/"}function mS(t,r,e){const i=r.matched.length-1,n=e.matched.length-1;return i>-1&&i===n&&ys(r.matched[i],e.matched[n])&&$y(r.params,e.params)&&t(r.query)===t(e.query)&&r.hash===e.hash}function ys(t,r){return(t.aliasOf||t)===(r.aliasOf||r)}function $y(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const e in t)if(!yS(t[e],r[e]))return!1;return!0}function yS(t,r){return Zr(t)?bg(t,r):Zr(r)?bg(r,t):t===r}function bg(t,r){return Zr(r)?t.length===r.length&&t.every((e,i)=>e===r[i]):t.length===1&&t[0]===r}function bS(t,r){if(t.startsWith("/"))return t;if(!t)return r;const e=r.split("/"),i=t.split("/");let n=e.length-1,s,a;for(s=0;s1&&n--;else break;return e.slice(0,n).join("/")+"/"+i.slice(s-(s===i.length?1:0)).join("/")}var to;(function(t){t.pop="pop",t.push="push"})(to||(to={}));var xa;(function(t){t.back="back",t.forward="forward",t.unknown=""})(xa||(xa={}));function _S(t){if(!t)if(es){const r=document.querySelector("base");t=r&&r.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),gS(t)}const wS=/^[^#]+#/;function SS(t,r){return t.replace(wS,"#")+r}function PS(t,r){const e=document.documentElement.getBoundingClientRect(),i=t.getBoundingClientRect();return{behavior:r.behavior,left:i.left-e.left-(r.left||0),top:i.top-e.top-(r.top||0)}}const Au=()=>({left:window.pageXOffset,top:window.pageYOffset});function CS(t){let r;if("el"in t){const e=t.el,i=typeof e=="string"&&e.startsWith("#"),n=typeof e=="string"?i?document.getElementById(e.slice(1)):document.querySelector(e):e;if(!n)return;r=PS(n,t)}else r=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(r):window.scrollTo(r.left!=null?r.left:window.pageXOffset,r.top!=null?r.top:window.pageYOffset)}function _g(t,r){return(history.state?history.state.position-r:-1)+t}const Nh=new Map;function OS(t,r){Nh.set(t,r)}function kS(t){const r=Nh.get(t);return Nh.delete(t),r}let ES=()=>location.protocol+"//"+location.host;function By(t,r){const{pathname:e,search:i,hash:n}=r,s=t.indexOf("#");if(s>-1){let o=n.includes(t.slice(s))?t.slice(s).length:1,l=n.slice(o);return l[0]!=="/"&&(l="/"+l),yg(l,"")}return yg(e,t)+i+n}function TS(t,r,e,i){let n=[],s=[],a=null;const o=({state:d})=>{const f=By(t,location),p=e.value,g=r.value;let v=0;if(d){if(e.value=f,r.value=d,a&&a===p){a=null;return}v=g?d.position-g.position:0}else i(f);n.forEach(y=>{y(e.value,p,{delta:v,type:to.pop,direction:v?v>0?xa.forward:xa.back:xa.unknown})})};function l(){a=e.value}function u(d){n.push(d);const f=()=>{const p=n.indexOf(d);p>-1&&n.splice(p,1)};return s.push(f),f}function c(){const{history:d}=window;!d.state||d.replaceState(ft({},d.state,{scroll:Au()}),"")}function h(){for(const d of s)d();s=[],window.removeEventListener("popstate",o),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",o),window.addEventListener("beforeunload",c),{pauseListeners:l,listen:u,destroy:h}}function wg(t,r,e,i=!1,n=!1){return{back:t,current:r,forward:e,replaced:i,position:window.history.length,scroll:n?Au():null}}function xS(t){const{history:r,location:e}=window,i={value:By(t,e)},n={value:r.state};n.value||s(i.value,{back:null,current:i.value,forward:null,position:r.length-1,replaced:!0,scroll:null},!0);function s(l,u,c){const h=t.indexOf("#"),d=h>-1?(e.host&&document.querySelector("base")?t:t.slice(h))+l:ES()+t+l;try{r[c?"replaceState":"pushState"](u,"",d),n.value=u}catch(f){console.error(f),e[c?"replace":"assign"](d)}}function a(l,u){const c=ft({},r.state,wg(n.value.back,l,n.value.forward,!0),u,{position:n.value.position});s(l,c,!0),i.value=l}function o(l,u){const c=ft({},n.value,r.state,{forward:l,scroll:Au()});s(c.current,c,!0);const h=ft({},wg(i.value,l,null),{position:c.position+1},u);s(l,h,!1),i.value=l}return{location:i,state:n,push:o,replace:a}}function DS(t){t=_S(t);const r=xS(t),e=TS(t,r.state,r.location,r.replace);function i(s,a=!0){a||e.pauseListeners(),history.go(s)}const n=ft({location:"",base:t,go:i,createHref:SS.bind(null,t)},r,e);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>r.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>r.state.value}),n}function IS(t){return typeof t=="string"||t&&typeof t=="object"}function Ly(t){return typeof t=="string"||typeof t=="symbol"}const Ui={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Fy=Symbol("");var Sg;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Sg||(Sg={}));function bs(t,r){return ft(new Error,{type:t,[Fy]:!0},r)}function Si(t,r){return t instanceof Error&&Fy in t&&(r==null||!!(t.type&r))}const Pg="[^/]+?",MS={sensitive:!1,strict:!1,start:!0,end:!0},AS=/[.+*?^${}()[\]/\\]/g;function $S(t,r){const e=ft({},MS,r),i=[];let n=e.start?"^":"";const s=[];for(const u of t){const c=u.length?[]:[90];e.strict&&!u.length&&(n+="/");for(let h=0;hr.length?r.length===1&&r[0]===40+40?1:-1:0}function LS(t,r){let e=0;const i=t.score,n=r.score;for(;e0&&r[r.length-1]<0}const FS={type:0,value:""},RS=/[a-zA-Z0-9_]/;function VS(t){if(!t)return[[]];if(t==="/")return[[FS]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function r(f){throw new Error(`ERR (${e})/"${u}": ${f}`)}let e=0,i=e;const n=[];let s;function a(){s&&n.push(s),s=[]}let o=0,l,u="",c="";function h(){!u||(e===0?s.push({type:0,value:u}):e===1||e===2||e===3?(s.length>1&&(l==="*"||l==="+")&&r(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):r("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;o{a(m)}:Ta}function a(c){if(Ly(c)){const h=i.get(c);h&&(i.delete(c),e.splice(e.indexOf(h),1),h.children.forEach(a),h.alias.forEach(a))}else{const h=e.indexOf(c);h>-1&&(e.splice(h,1),c.record.name&&i.delete(c.record.name),c.children.forEach(a),c.alias.forEach(a))}}function o(){return e}function l(c){let h=0;for(;h=0&&(c.record.path!==e[h].record.path||!Ry(c,e[h]));)h++;e.splice(h,0,c),c.record.name&&!kg(c)&&i.set(c.record.name,c)}function u(c,h){let d,f={},p,g;if("name"in c&&c.name){if(d=i.get(c.name),!d)throw bs(1,{location:c});g=d.record.name,f=ft(Og(h.params,d.keys.filter(m=>!m.optional).map(m=>m.name)),c.params&&Og(c.params,d.keys.map(m=>m.name))),p=d.stringify(f)}else if("path"in c)p=c.path,d=e.find(m=>m.re.test(p)),d&&(f=d.parse(p),g=d.record.name);else{if(d=h.name?i.get(h.name):e.find(m=>m.re.test(h.path)),!d)throw bs(1,{location:c,currentLocation:h});g=d.record.name,f=ft({},h.params,c.params),p=d.stringify(f)}const v=[];let y=d;for(;y;)v.unshift(y.record),y=y.parent;return{name:g,path:p,params:f,matched:v,meta:US(v)}}return t.forEach(c=>s(c)),{addRoute:s,resolve:u,removeRoute:a,getRoutes:o,getRecordMatcher:n}}function Og(t,r){const e={};for(const i of r)i in t&&(e[i]=t[i]);return e}function HS(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:zS(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function zS(t){const r={},e=t.props||!1;if("component"in t)r.default=e;else for(const i in t.components)r[i]=typeof e=="boolean"?e:e[i];return r}function kg(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function US(t){return t.reduce((r,e)=>ft(r,e.meta),{})}function Eg(t,r){const e={};for(const i in t)e[i]=i in r?r[i]:t[i];return e}function Ry(t,r){return r.children.some(e=>e===t||Ry(t,e))}const Vy=/#/g,KS=/&/g,WS=/\//g,YS=/=/g,GS=/\?/g,Ny=/\+/g,ZS=/%5B/g,qS=/%5D/g,jy=/%5E/g,QS=/%60/g,Hy=/%7B/g,XS=/%7C/g,zy=/%7D/g,JS=/%20/g;function Jd(t){return encodeURI(""+t).replace(XS,"|").replace(ZS,"[").replace(qS,"]")}function e8(t){return Jd(t).replace(Hy,"{").replace(zy,"}").replace(jy,"^")}function jh(t){return Jd(t).replace(Ny,"%2B").replace(JS,"+").replace(Vy,"%23").replace(KS,"%26").replace(QS,"`").replace(Hy,"{").replace(zy,"}").replace(jy,"^")}function t8(t){return jh(t).replace(YS,"%3D")}function r8(t){return Jd(t).replace(Vy,"%23").replace(GS,"%3F")}function i8(t){return t==null?"":r8(t).replace(WS,"%2F")}function Ql(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function n8(t){const r={};if(t===""||t==="?")return r;const i=(t[0]==="?"?t.slice(1):t).split("&");for(let n=0;ns&&jh(s)):[i&&jh(i)]).forEach(s=>{s!==void 0&&(r+=(r.length?"&":"")+e,s!=null&&(r+="="+s))})}return r}function s8(t){const r={};for(const e in t){const i=t[e];i!==void 0&&(r[e]=Zr(i)?i.map(n=>n==null?null:""+n):i==null?i:""+i)}return r}const a8=Symbol(""),xg=Symbol(""),$u=Symbol(""),ef=Symbol(""),Hh=Symbol("");function aa(){let t=[];function r(i){return t.push(i),()=>{const n=t.indexOf(i);n>-1&&t.splice(n,1)}}function e(){t=[]}return{add:r,list:()=>t,reset:e}}function Zi(t,r,e,i,n){const s=i&&(i.enterCallbacks[n]=i.enterCallbacks[n]||[]);return()=>new Promise((a,o)=>{const l=h=>{h===!1?o(bs(4,{from:e,to:r})):h instanceof Error?o(h):IS(h)?o(bs(2,{from:r,to:h})):(s&&i.enterCallbacks[n]===s&&typeof h=="function"&&s.push(h),a())},u=t.call(i&&i.instances[n],r,e,l);let c=Promise.resolve(u);t.length<3&&(c=c.then(l)),c.catch(h=>o(h))})}function Oc(t,r,e,i){const n=[];for(const s of t)for(const a in s.components){let o=s.components[a];if(!(r!=="beforeRouteEnter"&&!s.instances[a]))if(o8(o)){const u=(o.__vccOpts||o)[r];u&&n.push(Zi(u,e,i,s,a))}else{let l=o();n.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${s.path}"`));const c=fS(u)?u.default:u;s.components[a]=c;const d=(c.__vccOpts||c)[r];return d&&Zi(d,e,i,s,a)()}))}}return n}function o8(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Dg(t){const r=Ar($u),e=Ar(ef),i=F(()=>r.resolve(ie(t.to))),n=F(()=>{const{matched:l}=i.value,{length:u}=l,c=l[u-1],h=e.matched;if(!c||!h.length)return-1;const d=h.findIndex(ys.bind(null,c));if(d>-1)return d;const f=Ig(l[u-2]);return u>1&&Ig(c)===f&&h[h.length-1].path!==f?h.findIndex(ys.bind(null,l[u-2])):d}),s=F(()=>n.value>-1&&h8(e.params,i.value.params)),a=F(()=>n.value>-1&&n.value===e.matched.length-1&&$y(e.params,i.value.params));function o(l={}){return c8(l)?r[ie(t.replace)?"replace":"push"](ie(t.to)).catch(Ta):Promise.resolve()}return{route:i,href:F(()=>i.value.href),isActive:s,isExactActive:a,navigate:o}}const l8=ae({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Dg,setup(t,{slots:r}){const e=gi(Dg(t)),{options:i}=Ar($u),n=F(()=>({[Mg(t.activeClass,i.linkActiveClass,"router-link-active")]:e.isActive,[Mg(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:e.isExactActive}));return()=>{const s=r.default&&r.default(e);return t.custom?s:Ee("a",{"aria-current":e.isExactActive?t.ariaCurrentValue:null,href:e.href,onClick:e.navigate,class:n.value},s)}}}),u8=l8;function c8(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const r=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(r))return}return t.preventDefault&&t.preventDefault(),!0}}function h8(t,r){for(const e in r){const i=r[e],n=t[e];if(typeof i=="string"){if(i!==n)return!1}else if(!Zr(n)||n.length!==i.length||i.some((s,a)=>s!==n[a]))return!1}return!0}function Ig(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Mg=(t,r,e)=>t!=null?t:r!=null?r:e,d8=ae({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:r,slots:e}){const i=Ar(Hh),n=F(()=>t.route||i.value),s=Ar(xg,0),a=F(()=>{let u=ie(s);const{matched:c}=n.value;let h;for(;(h=c[u])&&!h.components;)u++;return u}),o=F(()=>n.value.matched[a.value]);wa(xg,F(()=>a.value+1)),wa(a8,o),wa(Hh,n);const l=j();return Ye(()=>[l.value,o.value,t.name],([u,c,h],[d,f,p])=>{c&&(c.instances[h]=u,f&&f!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=f.leaveGuards),c.updateGuards.size||(c.updateGuards=f.updateGuards))),u&&c&&(!f||!ys(c,f)||!d)&&(c.enterCallbacks[h]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=n.value,c=t.name,h=o.value,d=h&&h.components[c];if(!d)return Ag(e.default,{Component:d,route:u});const f=h.props[c],p=f?f===!0?u.params:typeof f=="function"?f(u):f:null,v=Ee(d,ft({},p,r,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(h.instances[c]=null)},ref:l}));return Ag(e.default,{Component:v,route:u})||v}}});function Ag(t,r){if(!t)return null;const e=t(r);return e.length===1?e[0]:e}const f8=d8;function p8(t){const r=jS(t.routes,t),e=t.parseQuery||n8,i=t.stringifyQuery||Tg,n=t.history,s=aa(),a=aa(),o=aa(),l=E_(Ui);let u=Ui;es&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Pc.bind(null,L=>""+L),h=Pc.bind(null,i8),d=Pc.bind(null,Ql);function f(L,U){let G,A;return Ly(L)?(G=r.getRecordMatcher(L),A=U):A=L,r.addRoute(A,G)}function p(L){const U=r.getRecordMatcher(L);U&&r.removeRoute(U)}function g(){return r.getRoutes().map(L=>L.record)}function v(L){return!!r.getRecordMatcher(L)}function y(L,U){if(U=ft({},U||l.value),typeof L=="string"){const b=Cc(e,L,U.path),_=r.resolve({path:b.path},U),M=n.createHref(b.fullPath);return ft(b,_,{params:d(_.params),hash:Ql(b.hash),redirectedFrom:void 0,href:M})}let G;if("path"in L)G=ft({},L,{path:Cc(e,L.path,U.path).path});else{const b=ft({},L.params);for(const _ in b)b[_]==null&&delete b[_];G=ft({},L,{params:h(L.params)}),U.params=h(U.params)}const A=r.resolve(G,U),z=L.hash||"";A.params=c(d(A.params));const oe=vS(i,ft({},L,{hash:e8(z),path:A.path})),ve=n.createHref(oe);return ft({fullPath:oe,hash:z,query:i===Tg?s8(L.query):L.query||{}},A,{redirectedFrom:void 0,href:ve})}function m(L){return typeof L=="string"?Cc(e,L,l.value.path):ft({},L)}function w(L,U){if(u!==L)return bs(8,{from:U,to:L})}function C(L){return V(L)}function P(L){return C(ft(m(L),{replace:!0}))}function T(L){const U=L.matched[L.matched.length-1];if(U&&U.redirect){const{redirect:G}=U;let A=typeof G=="function"?G(L):G;return typeof A=="string"&&(A=A.includes("?")||A.includes("#")?A=m(A):{path:A},A.params={}),ft({query:L.query,hash:L.hash,params:"path"in A?{}:L.params},A)}}function V(L,U){const G=u=y(L),A=l.value,z=L.state,oe=L.force,ve=L.replace===!0,b=T(G);if(b)return V(ft(m(b),{state:typeof b=="object"?ft({},z,b.state):z,force:oe,replace:ve}),U||G);const _=G;_.redirectedFrom=U;let M;return!oe&&mS(i,A,G)&&(M=bs(16,{to:_,from:A}),Je(A,A,!0,!1)),(M?Promise.resolve(M):R(_,A)).catch(B=>Si(B)?Si(B,2)?B:Te(B):te(B,_,A)).then(B=>{if(B){if(Si(B,2))return V(ft({replace:ve},m(B.to),{state:typeof B.to=="object"?ft({},z,B.to.state):z,force:oe}),U||_)}else B=ge(_,A,!0,ve,z);return Q(_,A,B),B})}function D(L,U){const G=w(L,U);return G?Promise.reject(G):Promise.resolve()}function R(L,U){let G;const[A,z,oe]=g8(L,U);G=Oc(A.reverse(),"beforeRouteLeave",L,U);for(const b of A)b.leaveGuards.forEach(_=>{G.push(Zi(_,L,U))});const ve=D.bind(null,L,U);return G.push(ve),Gn(G).then(()=>{G=[];for(const b of s.list())G.push(Zi(b,L,U));return G.push(ve),Gn(G)}).then(()=>{G=Oc(z,"beforeRouteUpdate",L,U);for(const b of z)b.updateGuards.forEach(_=>{G.push(Zi(_,L,U))});return G.push(ve),Gn(G)}).then(()=>{G=[];for(const b of L.matched)if(b.beforeEnter&&!U.matched.includes(b))if(Zr(b.beforeEnter))for(const _ of b.beforeEnter)G.push(Zi(_,L,U));else G.push(Zi(b.beforeEnter,L,U));return G.push(ve),Gn(G)}).then(()=>(L.matched.forEach(b=>b.enterCallbacks={}),G=Oc(oe,"beforeRouteEnter",L,U),G.push(ve),Gn(G))).then(()=>{G=[];for(const b of a.list())G.push(Zi(b,L,U));return G.push(ve),Gn(G)}).catch(b=>Si(b,8)?b:Promise.reject(b))}function Q(L,U,G){for(const A of o.list())A(L,U,G)}function ge(L,U,G,A,z){const oe=w(L,U);if(oe)return oe;const ve=U===Ui,b=es?history.state:{};G&&(A||ve?n.replace(L.fullPath,ft({scroll:ve&&b&&b.scroll},z)):n.push(L.fullPath,z)),l.value=L,Je(L,U,G,ve),Te()}let H;function q(){H||(H=n.listen((L,U,G)=>{if(!De.listening)return;const A=y(L),z=T(A);if(z){V(ft(z,{replace:!0}),A).catch(Ta);return}u=A;const oe=l.value;es&&OS(_g(oe.fullPath,G.delta),Au()),R(A,oe).catch(ve=>Si(ve,12)?ve:Si(ve,2)?(V(ve.to,A).then(b=>{Si(b,20)&&!G.delta&&G.type===to.pop&&n.go(-1,!1)}).catch(Ta),Promise.reject()):(G.delta&&n.go(-G.delta,!1),te(ve,A,oe))).then(ve=>{ve=ve||ge(A,oe,!1),ve&&(G.delta&&!Si(ve,8)?n.go(-G.delta,!1):G.type===to.pop&&Si(ve,20)&&n.go(-1,!1)),Q(A,oe,ve)}).catch(Ta)}))}let _e=aa(),we=aa(),$;function te(L,U,G){Te(L);const A=we.list();return A.length?A.forEach(z=>z(L,U,G)):console.error(L),Promise.reject(L)}function pe(){return $&&l.value!==Ui?Promise.resolve():new Promise((L,U)=>{_e.add([L,U])})}function Te(L){return $||($=!L,q(),_e.list().forEach(([U,G])=>L?G(L):U()),_e.reset()),L}function Je(L,U,G,A){const{scrollBehavior:z}=t;if(!es||!z)return Promise.resolve();const oe=!G&&kS(_g(L.fullPath,0))||(A||!G)&&history.state&&history.state.scroll||null;return Yr().then(()=>z(L,U,oe)).then(ve=>ve&&CS(ve)).catch(ve=>te(ve,L,U))}const Ce=L=>n.go(L);let xe;const he=new Set,De={currentRoute:l,listening:!0,addRoute:f,removeRoute:p,hasRoute:v,getRoutes:g,resolve:y,options:t,push:C,replace:P,go:Ce,back:()=>Ce(-1),forward:()=>Ce(1),beforeEach:s.add,beforeResolve:a.add,afterEach:o.add,onError:we.add,isReady:pe,install(L){const U=this;L.component("RouterLink",u8),L.component("RouterView",f8),L.config.globalProperties.$router=U,Object.defineProperty(L.config.globalProperties,"$route",{enumerable:!0,get:()=>ie(l)}),es&&!xe&&l.value===Ui&&(xe=!0,C(n.location).catch(z=>{}));const G={};for(const z in Ui)G[z]=F(()=>l.value[z]);L.provide($u,U),L.provide(ef,gi(G)),L.provide(Hh,l);const A=L.unmount;he.add(L),L.unmount=function(){he.delete(L),he.size<1&&(u=Ui,H&&H(),H=null,l.value=Ui,xe=!1,$=!1),A()}}};return De}function Gn(t){return t.reduce((r,e)=>r.then(()=>e()),Promise.resolve())}function g8(t,r){const e=[],i=[],n=[],s=Math.max(r.matched.length,t.matched.length);for(let a=0;ays(u,o))?i.push(o):e.push(o));const l=t.matched[a];l&&(r.matched.find(u=>ys(u,l))||n.push(l))}return[e,i,n]}function tf(){return Ar($u)}function Bu(){return Ar(ef)}/*! * vuex v4.1.0 * (c) 2022 Evan You * @license MIT - */var Uy="store";function v8(t){return t===void 0&&(t=null),Ar(t!==null?t:Uy)}function As(t,r){Object.keys(t).forEach(function(e){return r(t[e],e)})}function Ky(t){return t!==null&&typeof t=="object"}function m8(t){return t&&typeof t.then=="function"}function y8(t,r){return function(){return t(r)}}function Wy(t,r,e){return r.indexOf(t)<0&&(e&&e.prepend?r.unshift(t):r.push(t)),function(){var i=r.indexOf(t);i>-1&&r.splice(i,1)}}function Yy(t,r){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var e=t.state;Lu(t,e,[],t._modules.root,!0),rf(t,e,r)}function rf(t,r,e){var i=t._state,n=t._scope;t.getters={},t._makeLocalGettersCache=Object.create(null);var s=t._wrappedGetters,a={},o={},l=J2(!0);l.run(function(){As(s,function(u,c){a[c]=y8(u,t),o[c]=F(function(){return a[c]()}),Object.defineProperty(t.getters,c,{get:function(){return o[c].value},enumerable:!0})})}),t._state=gi({data:r}),t._scope=l,t.strict&&P8(t),i&&e&&t._withCommit(function(){i.data=null}),n&&n.stop()}function Lu(t,r,e,i,n){var s=!e.length,a=t._modules.getNamespace(e);if(i.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=i),!s&&!n){var o=nf(r,e.slice(0,-1)),l=e[e.length-1];t._withCommit(function(){o[l]=i.state})}var u=i.context=b8(t,a,e);i.forEachMutation(function(c,h){var d=a+h;_8(t,d,c,u)}),i.forEachAction(function(c,h){var d=c.root?h:a+h,f=c.handler||c;w8(t,d,f,u)}),i.forEachGetter(function(c,h){var d=a+h;S8(t,d,c,u)}),i.forEachChild(function(c,h){Lu(t,r,e.concat(h),c,n)})}function b8(t,r,e){var i=r==="",n={dispatch:i?t.dispatch:function(s,a,o){var l=Xl(s,a,o),u=l.payload,c=l.options,h=l.type;return(!c||!c.root)&&(h=r+h),t.dispatch(h,u)},commit:i?t.commit:function(s,a,o){var l=Xl(s,a,o),u=l.payload,c=l.options,h=l.type;(!c||!c.root)&&(h=r+h),t.commit(h,u,c)}};return Object.defineProperties(n,{getters:{get:i?function(){return t.getters}:function(){return Gy(t,r)}},state:{get:function(){return nf(t.state,e)}}}),n}function Gy(t,r){if(!t._makeLocalGettersCache[r]){var e={},i=r.length;Object.keys(t.getters).forEach(function(n){if(n.slice(0,i)===r){var s=n.slice(i);Object.defineProperty(e,s,{get:function(){return t.getters[n]},enumerable:!0})}}),t._makeLocalGettersCache[r]=e}return t._makeLocalGettersCache[r]}function _8(t,r,e,i){var n=t._mutations[r]||(t._mutations[r]=[]);n.push(function(a){e.call(t,i.state,a)})}function w8(t,r,e,i){var n=t._actions[r]||(t._actions[r]=[]);n.push(function(a){var o=e.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},a);return m8(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch(function(l){throw t._devtoolHook.emit("vuex:error",l),l}):o})}function S8(t,r,e,i){t._wrappedGetters[r]||(t._wrappedGetters[r]=function(s){return e(i.state,i.getters,s.state,s.getters)})}function P8(t){Ye(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}function nf(t,r){return r.reduce(function(e,i){return e[i]},t)}function Xl(t,r,e){return Ky(t)&&t.type&&(e=r,r=t,t=t.type),{type:t,payload:r,options:e}}var C8="vuex bindings",$g="vuex:mutations",kc="vuex:actions",Zn="vuex",O8=0;function k8(t,r){dS({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[C8]},function(e){e.addTimelineLayer({id:$g,label:"Vuex Mutations",color:Bg}),e.addTimelineLayer({id:kc,label:"Vuex Actions",color:Bg}),e.addInspector({id:Zn,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),e.on.getInspectorTree(function(i){if(i.app===t&&i.inspectorId===Zn)if(i.filter){var n=[];Xy(n,r._modules.root,i.filter,""),i.rootNodes=n}else i.rootNodes=[Qy(r._modules.root,"")]}),e.on.getInspectorState(function(i){if(i.app===t&&i.inspectorId===Zn){var n=i.nodeId;Gy(r,n),i.state=x8(I8(r._modules,n),n==="root"?r.getters:r._makeLocalGettersCache,n)}}),e.on.editInspectorState(function(i){if(i.app===t&&i.inspectorId===Zn){var n=i.nodeId,s=i.path;n!=="root"&&(s=n.split("/").filter(Boolean).concat(s)),r._withCommit(function(){i.set(r._state.data,s,i.state.value)})}}),r.subscribe(function(i,n){var s={};i.payload&&(s.payload=i.payload),s.state=n,e.notifyComponentUpdate(),e.sendInspectorTree(Zn),e.sendInspectorState(Zn),e.addTimelineEvent({layerId:$g,event:{time:Date.now(),title:i.type,data:s}})}),r.subscribeAction({before:function(i,n){var s={};i.payload&&(s.payload=i.payload),i._id=O8++,i._time=Date.now(),s.state=n,e.addTimelineEvent({layerId:kc,event:{time:i._time,title:i.type,groupId:i._id,subtitle:"start",data:s}})},after:function(i,n){var s={},a=Date.now()-i._time;s.duration={_custom:{type:"duration",display:a+"ms",tooltip:"Action duration",value:a}},i.payload&&(s.payload=i.payload),s.state=n,e.addTimelineEvent({layerId:kc,event:{time:Date.now(),title:i.type,groupId:i._id,subtitle:"end",data:s}})}})})}var Bg=8702998,T8=6710886,E8=16777215,Zy={label:"namespaced",textColor:E8,backgroundColor:T8};function qy(t){return t&&t!=="root"?t.split("/").slice(-2,-1)[0]:"Root"}function Qy(t,r){return{id:r||"root",label:qy(r),tags:t.namespaced?[Zy]:[],children:Object.keys(t._children).map(function(e){return Qy(t._children[e],r+e+"/")})}}function Xy(t,r,e,i){i.includes(e)&&t.push({id:i||"root",label:i.endsWith("/")?i.slice(0,i.length-1):i||"Root",tags:r.namespaced?[Zy]:[]}),Object.keys(r._children).forEach(function(n){Xy(t,r._children[n],e,i+n+"/")})}function x8(t,r,e){r=e==="root"?r:r[e];var i=Object.keys(r),n={state:Object.keys(t.state).map(function(a){return{key:a,editable:!0,value:t.state[a]}})};if(i.length){var s=D8(r);n.getters=Object.keys(s).map(function(a){return{key:a.endsWith("/")?qy(a):a,editable:!1,value:zh(function(){return s[a]})}})}return n}function D8(t){var r={};return Object.keys(t).forEach(function(e){var i=e.split("/");if(i.length>1){var n=r,s=i.pop();i.forEach(function(a){n[a]||(n[a]={_custom:{value:{},display:a,tooltip:"Module",abstract:!0}}),n=n[a]._custom.value}),n[s]=zh(function(){return t[e]})}else r[e]=zh(function(){return t[e]})}),r}function I8(t,r){var e=r.split("/").filter(function(i){return i});return e.reduce(function(i,n,s){var a=i[n];if(!a)throw new Error('Missing module "'+n+'" for path "'+r+'".');return s===e.length-1?a:a._children},r==="root"?t:t.root._children)}function zh(t){try{return t()}catch(r){return r}}var Xr=function(r,e){this.runtime=e,this._children=Object.create(null),this._rawModule=r;var i=r.state;this.state=(typeof i=="function"?i():i)||{}},Jy={namespaced:{configurable:!0}};Jy.namespaced.get=function(){return!!this._rawModule.namespaced};Xr.prototype.addChild=function(r,e){this._children[r]=e};Xr.prototype.removeChild=function(r){delete this._children[r]};Xr.prototype.getChild=function(r){return this._children[r]};Xr.prototype.hasChild=function(r){return r in this._children};Xr.prototype.update=function(r){this._rawModule.namespaced=r.namespaced,r.actions&&(this._rawModule.actions=r.actions),r.mutations&&(this._rawModule.mutations=r.mutations),r.getters&&(this._rawModule.getters=r.getters)};Xr.prototype.forEachChild=function(r){As(this._children,r)};Xr.prototype.forEachGetter=function(r){this._rawModule.getters&&As(this._rawModule.getters,r)};Xr.prototype.forEachAction=function(r){this._rawModule.actions&&As(this._rawModule.actions,r)};Xr.prototype.forEachMutation=function(r){this._rawModule.mutations&&As(this._rawModule.mutations,r)};Object.defineProperties(Xr.prototype,Jy);var Vn=function(r){this.register([],r,!1)};Vn.prototype.get=function(r){return r.reduce(function(e,i){return e.getChild(i)},this.root)};Vn.prototype.getNamespace=function(r){var e=this.root;return r.reduce(function(i,n){return e=e.getChild(n),i+(e.namespaced?n+"/":"")},"")};Vn.prototype.update=function(r){e1([],this.root,r)};Vn.prototype.register=function(r,e,i){var n=this;i===void 0&&(i=!0);var s=new Xr(e,i);if(r.length===0)this.root=s;else{var a=this.get(r.slice(0,-1));a.addChild(r[r.length-1],s)}e.modules&&As(e.modules,function(o,l){n.register(r.concat(l),o,i)})};Vn.prototype.unregister=function(r){var e=this.get(r.slice(0,-1)),i=r[r.length-1],n=e.getChild(i);!n||!n.runtime||e.removeChild(i)};Vn.prototype.isRegistered=function(r){var e=this.get(r.slice(0,-1)),i=r[r.length-1];return e?e.hasChild(i):!1};function e1(t,r,e){if(r.update(e),e.modules)for(var i in e.modules){if(!r.getChild(i))return;e1(t.concat(i),r.getChild(i),e.modules[i])}}function M8(t){return new vr(t)}var vr=function(r){var e=this;r===void 0&&(r={});var i=r.plugins;i===void 0&&(i=[]);var n=r.strict;n===void 0&&(n=!1);var s=r.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Vn(r),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=s;var a=this,o=this,l=o.dispatch,u=o.commit;this.dispatch=function(d,f){return l.call(a,d,f)},this.commit=function(d,f,p){return u.call(a,d,f,p)},this.strict=n;var c=this._modules.root.state;Lu(this,c,[],this._modules.root),rf(this,c),i.forEach(function(h){return h(e)})},sf={state:{configurable:!0}};vr.prototype.install=function(r,e){r.provide(e||Uy,this),r.config.globalProperties.$store=this;var i=this._devtools!==void 0?this._devtools:!1;i&&k8(r,this)};sf.state.get=function(){return this._state.data};sf.state.set=function(t){};vr.prototype.commit=function(r,e,i){var n=this,s=Xl(r,e,i),a=s.type,o=s.payload,l={type:a,payload:o},u=this._mutations[a];!u||(this._withCommit(function(){u.forEach(function(h){h(o)})}),this._subscribers.slice().forEach(function(c){return c(l,n.state)}))};vr.prototype.dispatch=function(r,e){var i=this,n=Xl(r,e),s=n.type,a=n.payload,o={type:s,payload:a},l=this._actions[s];if(!!l){try{this._actionSubscribers.slice().filter(function(c){return c.before}).forEach(function(c){return c.before(o,i.state)})}catch{}var u=l.length>1?Promise.all(l.map(function(c){return c(a)})):l[0](a);return new Promise(function(c,h){u.then(function(d){try{i._actionSubscribers.filter(function(f){return f.after}).forEach(function(f){return f.after(o,i.state)})}catch{}c(d)},function(d){try{i._actionSubscribers.filter(function(f){return f.error}).forEach(function(f){return f.error(o,i.state,d)})}catch{}h(d)})})}};vr.prototype.subscribe=function(r,e){return Wy(r,this._subscribers,e)};vr.prototype.subscribeAction=function(r,e){var i=typeof r=="function"?{before:r}:r;return Wy(i,this._actionSubscribers,e)};vr.prototype.watch=function(r,e,i){var n=this;return Ye(function(){return r(n.state,n.getters)},e,Object.assign({},i))};vr.prototype.replaceState=function(r){var e=this;this._withCommit(function(){e._state.data=r})};vr.prototype.registerModule=function(r,e,i){i===void 0&&(i={}),typeof r=="string"&&(r=[r]),this._modules.register(r,e),Lu(this,this.state,r,this._modules.get(r),i.preserveState),rf(this,this.state)};vr.prototype.unregisterModule=function(r){var e=this;typeof r=="string"&&(r=[r]),this._modules.unregister(r),this._withCommit(function(){var i=nf(e.state,r.slice(0,-1));delete i[r[r.length-1]]}),Yy(this)};vr.prototype.hasModule=function(r){return typeof r=="string"&&(r=[r]),this._modules.isRegistered(r)};vr.prototype.hotUpdate=function(r){this._modules.update(r),Yy(this,!0)};vr.prototype._withCommit=function(r){var e=this._committing;this._committing=!0,r(),this._committing=e};Object.defineProperties(vr.prototype,sf);var _ee=of(function(t,r){var e={};return af(r).forEach(function(i){var n=i.key,s=i.val;e[n]=function(){for(var o=[],l=arguments.length;l--;)o[l]=arguments[l];var u=this.$store.commit;if(t){var c=lf(this.$store,"mapMutations",t);if(!c)return;u=c.context.commit}return typeof s=="function"?s.apply(this,[u].concat(o)):u.apply(this.$store,[s].concat(o))}}),e}),wee=of(function(t,r){var e={};return af(r).forEach(function(i){var n=i.key,s=i.val;s=t+s,e[n]=function(){if(!(t&&!lf(this.$store,"mapGetters",t)))return this.$store.getters[s]},e[n].vuex=!0}),e}),See=of(function(t,r){var e={};return af(r).forEach(function(i){var n=i.key,s=i.val;e[n]=function(){for(var o=[],l=arguments.length;l--;)o[l]=arguments[l];var u=this.$store.dispatch;if(t){var c=lf(this.$store,"mapActions",t);if(!c)return;u=c.context.dispatch}return typeof s=="function"?s.apply(this,[u].concat(o)):u.apply(this.$store,[s].concat(o))}}),e});function af(t){return A8(t)?Array.isArray(t)?t.map(function(r){return{key:r,val:r}}):Object.keys(t).map(function(r){return{key:r,val:t[r]}}):[]}function A8(t){return Array.isArray(t)||Ky(t)}function of(t){return function(r,e){return typeof r!="string"?(e=r,r=""):r.charAt(r.length-1)!=="/"&&(r+="/"),t(r,e)}}function lf(t,r,e){var i=t._modulesNamespaceMap[e];return i}const $8="Kuma",Pee=12,Uh=500,Da="Online",Jl="Offline",t1="Partially degraded",Lg="Disabled",Cee="kuma.io/zone",Oee={not_available:{title:"Not available",appearance:"warning"},partially_degraded:{title:"Partially degraded",appearance:"warning"},offline:{title:"Offline",appearance:"danger"},online:{title:"Online",appearance:"success"}};function uf(t,r,e=void 0){if(typeof t!="object"||Array.isArray(t))return e;const i=r.indexOf(".");if(i===-1)return t[r]===void 0?e:t[r];const n=r.substring(0,i),s=r.substring(i+1);return uf(t[n],s,e)}const B8=new Intl.DateTimeFormat("en-US",{dateStyle:"long"}),L8=new Intl.DateTimeFormat("en-US",{dateStyle:"long",timeStyle:"medium"});function F8(t){const r=new Date(Date.parse(t)),e=Math.floor((Date.now()-r.getTime())/1e3);return e<=1?"just now":e<20?`${e} seconds ago`:e<40?"half a minute ago":e<60?"less than a minute ago":e<=90?"one minute ago":e<=3540?`${Math.round(e/60)} minutes ago`:e<=5400?"1 hour ago":e<=86400?`${Math.round(e/3600)} hours ago`:e<=129600?"1 day ago":e<604800?`${Math.round(e/86400)} days ago`:e<=777600?"1 week ago":B8.format(r)}function kee(t){const r=new Date(Date.parse(t));return L8.format(r)}function Tee(t,r){const e=t&&typeof t=="object"&&t.constructor===Array?Object.assign({},...t):t;return r.reduce((i,n)=>({...i,[n]:e[n]}),{})}function Eee(t){const{creationTime:r,modificationTime:e,...i}=t;return i}function xee(t){var e;const r=/^[a-z]+|[A-Z][a-z]*/g;return(e=t.match(r))==null?void 0:e.map(i=>i[0].toUpperCase()+i.substr(1).toLowerCase()).join(" ")}function Dee(t){const r=t.replace(/[^a-zA-Z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").trim();return t?r:""}async function jo({callEndpoint:t}){try{let r=null,e=0,i=[];for(;;){const n={size:Uh,offset:e},{total:s,items:a,next:o}=await t(n);if(a&&(i=i.concat(a)),r===null&&(r=s),s!==r)throw new Error('Mismatch between "total" values between requests');if(!o)break;e+=Uh}return{total:r,items:i}}catch(r){throw new Error(`Resource fetching failed: ${r}`)}}function Iee(t){var e,i;const r=(i=(e=t==null?void 0:t.zoneInsight)==null?void 0:e.subscriptions.length)!=null?i:0;if(r&&t.zoneInsight.subscriptions[r-1].config){const n=JSON.parse(t.zoneInsight.subscriptions[r-1].config);return uf(n,"dpServer.auth.type",Lg)}return Lg}function Mee(t){let r=[];t.networking.inbound&&(r=t.networking.inbound.filter(i=>"tags"in i).flatMap(i=>Object.entries(i.tags)).map(([i,n])=>`${i}=${n}`)),t.networking.gateway&&(r=Object.entries(t.networking.gateway.tags).map(([i,n])=>`${i}=${n}`));const e=Array.from(new Set(r));return e.sort((i,n)=>i.localeCompare(n)),e.map(i=>i.split("=")).map(([i,n])=>({label:i,value:n}))}function Aee(t,r={subscriptions:[]}){const e=t.networking.inbound?t.networking.inbound:[{health:{ready:!0}}],i=e.filter(o=>o.health&&!o.health.ready).map(o=>`Inbound on port ${o.port} is not ready (kuma.io/service: ${o.tags["kuma.io/service"]})`),s=(r.subscriptions?r.subscriptions:[]).some(o=>o.connectTime&&o.connectTime.length&&!o.disconnectTime);return{status:(()=>{const o=i.length===e.length,l=i.length===0;return!s||o?Jl:l?Da:t1})(),reason:i}}function $ee(t){if(t.subscriptions.length===0)return null;const r={},e=t.subscriptions[t.subscriptions.length-1];return e.version===void 0?null:(e.version.envoy&&(r.envoy=e.version.envoy.version),e.version.kumaDp&&(r.kumaDp=e.version.kumaDp.version),e.version.dependencies&&Object.entries(e.version.dependencies).forEach(([i,n])=>{r[i]=n}),r)}function R8(t={}){const{subscriptions:r=[]}=t,e=r.some(n=>n.connectTime&&n.connectTime.length&&!n.disconnectTime);return{status:(()=>e?Da:Jl)()}}function Bee(t){const{mTLS:r}=t.dataplaneInsight;if(r===void 0)return null;const e=new Date(r.certificateExpirationTime),i=new Date(e.getTime()+e.getTimezoneOffset()*6e4);return{certificateExpirationTime:{label:"Expiration Time",value:`${i.toLocaleDateString("en-US")} ${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`},lastCertificateRegeneration:{label:"Last Generated",value:F8(r.lastCertificateRegeneration)},certificateRegenerations:{label:"Regenerations",value:r.certificateRegenerations}}}function Lee(t){const{gateway:r}=t.networking;return r?"Gateway"+(r.type!==void 0?` (${r.type})`:""):"Standard"}function Fee(t){var i,n,s,a;return((n=(i=t.kumaDp)==null?void 0:i.kumaCpCompatible)!=null?n:!0)?((a=(s=t.envoy)==null?void 0:s.kumaDpCompatible)!=null?a:!0)?{kind:V8}:{kind:j8,payload:{envoy:t.envoy.version,kumaDp:t.kumaDp.version}}:{kind:N8,payload:{kumaDp:t.kumaDp.version}}}const V8="COMPATIBLE",Ree="INCOMPATIBLE_ZONE_CP_AND_KUMA_DP_VERSIONS",Vee="INCOMPATIBLE_ZONE_AND_GLOBAL_CPS_VERSIONS",N8="INCOMPATIBLE_UNSUPPORTED_KUMA_DP",j8="INCOMPATIBLE_UNSUPPORTED_ENVOY",Nee="INCOMPATIBLE_WRONG_FORMAT";function H8(t){const r=t.pathname.split("/").filter(n=>n!==""),e=r.findIndex(n=>n==="gui"),i=e!==-1?r.slice(0,e):r;return i.length>0?t.origin+"/"+i.join("/"):t.origin}class z8 extends Error{constructor({title:e=null,message:i,code:n=null,statusCode:s,causes:a=[]}){super(i);wi(this,"title");wi(this,"code");wi(this,"causes");wi(this,"statusCode");this.name="ApiError",this.title=e,this.code=n,this.statusCode=s,this.causes=a}toJSON(){return{name:this.name,title:this.title,message:this.message,code:this.code,statusCode:this.statusCode,causes:this.causes}}}async function U8(t,r={}){var u,c;const e=r,i=(u=e.method)!=null?u:"GET";e.headers=e.headers instanceof Headers?e.headers:new Headers(e.headers),!e.headers.has("content-type")&&["POST","PUT","PATCH"].includes(i)&&e.headers.set("content-type","application/json");let n=t;"params"in r&&(i==="GET"?n+=`?${new URLSearchParams(r.params).toString()}`:(c=e.headers.get("content-type"))!=null&&c.startsWith("application/json")&&(e.body=JSON.stringify(r.params)));let s;try{s=await fetch(n,e)}catch(h){throw K8(h)}const a=s.headers.get("content-type"),l=(a!==null?a.startsWith("application/json"):!1)?await s.json():await s.text();if(s.ok)return{response:s,data:l};throw W8(s,l)}function K8(t){const r=t instanceof Error?t.message:"An unknown network error occurred.";return new Error(r)}function W8(t,r){let e=null,i="An error has occurred while trying to load this data.",n=null,s=[];return typeof r=="string"&&r.length>0?i=r:r&&(Object.prototype.hasOwnProperty.call(r,"title")&&(e=r.title),Object.prototype.hasOwnProperty.call(r,"details")&&(i=r.details),Object.prototype.hasOwnProperty.call(r,"code")&&(n=r.code),Object.prototype.hasOwnProperty.call(r,"causes")&&Array.isArray(r.causes)&&(s=r.causes)),t.status===403&&(i="You currently don\u2019t have access to this data."),new z8({title:e,message:i,code:n,causes:s,statusCode:t.status})}class Y8{constructor(r=""){wi(this,"_origin");wi(this,"_basePath");let e;e=H8(window.location),this._origin=G8(e),this._basePath=Fg(r)}get url(){return[this._origin,this.basePath].filter(r=>r!=="").join("/")}get basePath(){return this._basePath}set basePath(r){this._basePath=Fg(r)}async get(r,e){const i=e!=null?e:{};i.method="GET";const{data:n}=await this.raw(r,i);return n}async raw(r,e){const i=r.startsWith("http")?r:`${this.url}/${r}`;return U8(i,e)}}function G8(t){return t.replace(/\/+$/,"")}function Fg(t){return t.replace(/^\/+/,"").replace(/\/+$/,"")}class Z8{constructor(){wi(this,"client");this.client=new Y8}get url(){return this.client.url}setBasePath(r){this.client.basePath=r}getInfo(){return this.client.get("")}async getStatus(){try{const{response:r}=await this.client.raw("");return r.status===200?"OK":null}catch{return null}}async getLatestVersion(){const r=String("https://kuma.io/latest_version/");return this.client.get(r)}getConfig(){return this.client.get("config")}getPolicyDefinitions(){return this.client.get("policies")}getGlobalInsights(){return this.client.get("global-insights")}getZones(r){return this.client.get("zones",{params:r})}getZone({name:r},e){return this.client.get(`zones/${r}`,{params:e})}getAllZoneOverviews(r){return this.client.get("zones+insights",{params:r})}getZoneOverview({name:r},e){return this.client.get(`zones+insights/${r}`,{params:e})}getZoneIngressData({zoneIngressName:r,dataPath:e},i){return this.client.get(`zoneingresses/${r}/${e}`,{params:i})}getAllZoneIngressOverviews(r){return this.client.get("zoneingresses+insights",{params:r})}getZoneIngressOverview({name:r},e){return this.client.get(`zoneingresses+insights/${r}`,{params:e})}getZoneEgressData({zoneEgressName:r,dataPath:e},i){return this.client.get(`zoneegresses/${r}/${e}`,{params:i})}getAllZoneEgressOverviews(r){return this.client.get("zoneegressoverviews",{params:r})}getZoneEgressOverview({name:r},e){return this.client.get(`zoneegressoverviews/${r}`,{params:e})}getAllMeshes(r){return this.client.get("meshes",{params:r})}getMesh({name:r},e){return this.client.get(`meshes/${r}`,{params:e})}getAllMeshInsights(r){return this.client.get("mesh-insights",{params:r})}getMeshInsights({name:r},e){return this.client.get(`mesh-insights/${r}`,{params:e})}getAllDataplanes(r){return this.client.get("dataplanes",{params:r})}getDataplaneFromMesh({mesh:r,name:e},i){return this.client.get(`meshes/${r}/dataplanes/${e}`,{params:i})}getAllDataplaneOverviews(r){return this.client.get("dataplanes+insights",{params:r})}getAllDataplaneOverviewsFromMesh({mesh:r},e){return this.client.get(`meshes/${r}/dataplanes+insights`,{params:e})}getDataplaneOverviewFromMesh({mesh:r,name:e},i){return this.client.get(`meshes/${r}/dataplanes+insights/${e}`,{params:i})}getSidecarDataplanePolicies({mesh:r,name:e},i){return this.client.get(`meshes/${r}/dataplanes/${e}/policies`,{params:i})}getMeshGatewayDataplane({mesh:r,name:e},i){return this.client.get(`meshes/${r}/dataplanes/${e}/policies`,{params:i})}getDataplaneData({mesh:r,dppName:e,dataPath:i},n){return this.client.get(`meshes/${r}/dataplanes/${e}/${i}`,{params:n})}getAllServiceInsights(r){return this.client.get("service-insights",{params:r})}getAllServiceInsightsFromMesh({mesh:r},e){return this.client.get(`meshes/${r}/service-insights`,{params:e})}getServiceInsight({mesh:r,name:e},i){return this.client.get(`meshes/${r}/service-insights/${e}`,{params:i})}getAllExternalServices(r){return this.client.get("external-services",{params:r})}getAllExternalServicesFromMesh({mesh:r},e){return this.client.get(`meshes/${r}/external-services`,{params:e})}getExternalService({mesh:r,name:e},i){return this.client.get(`meshes/${r}/external-services/${e}`,{params:i})}getPolicyConnections({mesh:r,policyType:e,policyName:i},n){return this.client.get(`meshes/${r}/${e}/${i}/dataplanes`,{params:n})}getAllPolicyEntities({path:r},e){return this.client.get(r,{params:e})}getAllPolicyEntitiesFromMesh({mesh:r,path:e},i){return this.client.get(`meshes/${r}/${e}`,{params:i})}getSinglePolicyEntity({mesh:r,path:e,name:i},n){return this.client.get(`meshes/${r}/${e}/${i}`,{params:n})}}const yt=new Z8,q8={status:null,tagline:null,version:null,kumaDocsVersion:"latest",clientConfig:null},Q8={SET_CONFIG_DATA:(t,r)=>t.clientConfig=r,SET_STATUS:(t,r)=>t.status=r,SET_TAGLINE:(t,r)=>t.tagline=r,SET_VERSION:(t,r)=>t.version=r,SET_KUMA_DOCS_VERSION:(t,r)=>t.kumaDocsVersion=r},X8={getStatus:t=>t.status,getConfig:t=>t.clientConfig,getEnvironment:t=>{var r;return(r=t.clientConfig)==null?void 0:r.environment},getMode:t=>{var r;return(r=t.clientConfig)==null?void 0:r.mode},getTagline:t=>t.tagline,getVersion:t=>t.version,getKumaDocsVersion:t=>t.kumaDocsVersion,getConfigurationType:t=>{var r,e;return(e=(r=t.clientConfig)==null?void 0:r.store)==null?void 0:e.type},getMulticlusterStatus:(t,r)=>({VITE_DATA_TIMEOUT:"500",VITE_INSTALL_URL:"https://kuma.io/install/latest/",VITE_VERSION_URL:"https://kuma.io/latest_version/",VITE_NAMESPACE:"Kuma",VITE_KUMA_API_SERVER_URL:"http://localhost:5681/dev/",VITE_KUMA_DP_SERVER_URL:"https://localhost:5678/",VITE_AMCHARTS_LICENSE:"",VITE_UTM:"?utm_source=Kuma&utm_medium=Kuma-GUI",BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0}).VITE_FAKE_MULTIZONE==="true"?(console.warn("%c \u2728You are currently faking Multi-Zone mode.","background: black; color: white; display: block; padding: 0.25rem;"),!0):r.getMode==="global"},J8={bootstrapConfig({dispatch:t}){const r=t("getInfo"),e=t("getConfig");return Promise.all([r,e])},getConfig({commit:t}){return yt.getConfig().then(r=>{t("SET_CONFIG_DATA",r)})},getStatus({commit:t}){return yt.getStatus().then(r=>{t("SET_STATUS",r)})},getInfo({commit:t}){return yt.getInfo().then(r=>{var s;t("SET_TAGLINE",r.tagline),t("SET_VERSION",r.version);let e;const i=(s=r.basedOnKuma)!=null?s:r.version,n=i.indexOf("-preview.");if(n!==-1){const a=i.substring(0,n);e=a==="0.0.0"?"dev":a.replace(/\.\d+$/,".x")}else e=i.replace(/\.\d+$/,".x");t("SET_KUMA_DOCS_VERSION",e)}).catch(r=>{console.error(r)})}},e6={namespaced:!0,state:()=>q8,getters:X8,mutations:Q8,actions:J8},t6={isOpen:!1},r6={OPEN_MODAL:t=>t.isOpen=!0,CLOSE_MODAL:t=>t.isOpen=!1},i6={meshNotificationItemMap(t,r,e){var s;return(((s=e.meshes)==null?void 0:s.items)||[]).reduce((a,o)=>(a[o.name]={hasLogging:Boolean(o.logging),hasMtls:Boolean(o.mtls),hasMetrics:Boolean(o.metrics),hasTracing:Boolean(o.tracing)},a),{})},meshNotificationItemMapWithAction(t,r){const e=r.meshNotificationItemMap;return Object.entries(e).reduce((i,[n,s])=>(Object.values(s).some(o=>!o)&&(i[n]=s),i),{})},singleMeshNotificationItems(t,r,e){if(e.selectedMesh===null)return[];const i=r.meshNotificationItemMap[e.selectedMesh],n=[{name:"Observability, Metrics & Service Map",component:"MetricsNotification",isCompleted:i.hasMetrics},{name:"Logging",component:"LoggingNotification",isCompleted:i.hasLogging},{name:"Zero-trust security",component:"MtlsNotification",isCompleted:i.hasMtls},{name:"Tracing",component:"TracingNotification",isCompleted:i.hasTracing}];return n.sort((s,a)=>+s.isCompleted-+a.isCompleted),n},amountOfActions(t,r){return Object.keys(r.meshNotificationItemMapWithAction).length}},n6={openModal({commit:t}){t("OPEN_MODAL")},closeModal({commit:t}){t("CLOSE_MODAL")}},s6={namespaced:!0,state:()=>t6,getters:i6,mutations:r6,actions:n6};class a6{constructor(r){wi(this,"storageAdapter");this.storageAdapter=r}get(r){let e;try{e=this.storageAdapter.getItem(r)}catch{return null}if(e===null||!(e.startsWith("[")||e.startsWith("{")))return e;try{return JSON.parse(e)}catch{return e}}set(r,e){try{const i=typeof e=="string"?e:JSON.stringify(e);this.storageAdapter.setItem(r,i)}catch{}}has(r){try{return this.storageAdapter.getItem(r)!==null}catch{return!1}}remove(r){try{this.storageAdapter.removeItem(r)}catch{}}}const Ii=new a6(window.localStorage),o6={isCompleted:Ii.get("onboardingIsCompleted")==="true",step:Ii.get("onboardingStep")||"onboarding-welcome",mode:"demo"},l6={SET_STEP:(t,r)=>t.step=r,SET_IS_COMPLETED:(t,r)=>t.isCompleted=r,UPDATE_MODE:(t,r)=>t.mode=r},u6={getMode:t=>t.mode,showOnboarding:(t,r,e)=>{const i=e.meshes.items.length===1&&e.meshes.items[0].name==="default";return e.totalDataplaneCount===0&&i}},c6={completeOnboarding({commit:t,dispatch:r}){r("fetchDataplaneTotalCount",null,{root:!0}),r("sidebar/getInsights",null,{root:!0}),t("SET_IS_COMPLETED",!0),Ii.set("onboardingIsCompleted","true"),Ii.remove("onboardingStep")},changeStep({commit:t},r){t("SET_STEP",r),Ii.set("onboardingStep",r)}},h6={namespaced:!0,state:()=>o6,getters:u6,mutations:l6,actions:c6};function d6(t){return t.items.reduce((e,{dataplanes:i,dataplanesByType:n,policies:s,services:a})=>{var o,l;e.services.internal+=a.internal||0,e.services.external+=a.external||0,e.services.total+=a.total||0,e.dataplanes.total+=i.total||0,e.dataplanes.standard+=((o=n.standard)==null?void 0:o.total)||0,e.dataplanes.gateway+=((l=n.gateway)==null?void 0:l.total)||0;for(const[u,c]of Object.entries(s))e.policies[u]||(e.policies[u]=0),e.policies[u]+=c.total||0;return e},{services:{total:0,internal:0,external:0},dataplanes:{total:0,standard:0,gateway:0},policies:{}})}function f6(t){return Object.entries(t.resources).reduce((r,[e,i])=>(r[e]||(r[e]=0),r[e]+=i.total||0,r),{})}const p6={insights:{global:{},mesh:{services:{total:0,internal:0,external:0},dataplanes:{total:0,standard:0,gateway:0},policies:{}}}},g6={SET_GLOBAL_INSIGHTS:(t,r)=>t.insights.global=r,SET_MESH_INSIGHTS:(t,r)=>t.insights.mesh=r},v6={},m6={getInsights({dispatch:t}){return Promise.all([t("getGlobalInsights"),t("getMeshInsights")])},async getMeshInsights({commit:t,rootState:r}){if(r.selectedMesh===null)return;let e,i;try{e={items:[await yt.getMeshInsights({name:r.selectedMesh})],total:1},i=d6(e)}catch{i=[]}t("SET_MESH_INSIGHTS",i)},async getGlobalInsights({commit:t}){const r=await yt.getGlobalInsights(),e=f6(r);t("SET_GLOBAL_INSIGHTS",e)}},y6={namespaced:!0,state:()=>p6,getters:v6,mutations:g6,actions:m6},r1=(t={},r={})=>{const e=t.online||0,i=r.online||0,n=t.partiallyDegraded||0,s=r.partiallyDegraded||0,a=t.total||0,o=r.total||0;return{online:e+i,partiallyDegraded:n+s,total:a+o}},cf=()=>({CircuitBreaker:{total:0},FaultInjection:{total:0},HealthCheck:{total:0},MeshAccessLog:{total:0},MeshGateway:{total:0},MeshGatewayRoute:{total:0},MeshTrace:{total:0},MeshTrafficPermission:{total:0},ProxyTemplate:{total:0},RateLimit:{total:0},Retry:{total:0},Timeout:{total:0},TrafficLog:{total:0},TrafficPermission:{total:0},TrafficRoute:{total:0},TrafficTrace:{total:0},VirtualOutbound:{total:0}}),b6=(t=cf(),r={})=>Object.entries(r).reduce((e,[i,n])=>{const s=e[i]?e[i].total:0;return{...e,[i]:{total:s+n.total}}},t),Rg=(t={},r={})=>Object.entries(r).reduce((e,[i,n])=>({...e,[i]:r1(e[i],n)}),t),_6=(t={},r={})=>({kumaDp:Rg(t.kumaDp,r.kumaDp),envoy:Rg(t.envoy,r.envoy)});function i1(){return{meshesTotal:0,dataplanes:{online:0,partiallyDegraded:0,total:0},policies:cf(),dpVersions:{kumaDp:{},envoy:{}}}}function w6(t={}){return n1([t])}function n1(t=[]){return t.reduce((r,e)=>({meshesTotal:t.length,dataplanes:r1(r.dataplanes,e.dataplanes),policies:b6(r.policies,e.policies),dpVersions:_6(r.dpVersions,e.dpVersions)}),{meshesTotal:0,dataplanes:{online:0,partiallyDegraded:0,total:0},policies:cf(),dpVersions:{kumaDp:{},envoy:{}}})}const S6={menu:null,globalLoading:!0,pageTitle:"",meshes:{total:0,items:[],next:null},selectedMesh:"default",totalDataplaneCount:0,version:"",itemQueryNamespace:"item",totalClusters:0,serviceSummary:{total:0,internal:{total:0,online:0,offline:0,partiallyDegraded:0},external:{total:0}},overviewCharts:{dataplanes:{data:[]},meshes:{data:[]},services:{data:[]},zones:{data:[]},zonesCPVersions:{data:[]},kumaDPVersions:{data:[]},envoyVersions:{data:[]}},meshInsight:i1(),meshInsightsFetching:!1,serviceInsightsFetching:!1,externalServicesFetching:!1,zonesInsightsFetching:!1,policies:[],policiesByPath:{},policiesByType:{}},P6={modules:{sidebar:y6,config:e6,notifications:s6,onboarding:h6},state:()=>S6,getters:{globalLoading:t=>t.globalLoading,getMeshList:t=>t.meshes,getItemQueryNamespace:t=>t.itemQueryNamespace,getMeshInsight:t=>t.meshInsight,getMeshInsightsFetching:t=>t.meshInsightsFetching,getServiceInsightsFetching:t=>t.serviceInsightsFetching,getExternalServicesFetching:t=>t.externalServicesFetching,getResourceFetching:({meshInsightsFetching:t,serviceInsightsFetching:r,externalServicesFetching:e})=>t||r||e,getServiceResourcesFetching:({serviceInsightsFetching:t,externalServicesFetching:r})=>t||r,getChart:({overviewCharts:t})=>r=>t[r],getZonesInsightsFetching:({zonesInsightsFetching:t})=>t},mutations:{SET_GLOBAL_LOADING:(t,{globalLoading:r})=>t.globalLoading=r,SET_PAGE_TITLE:(t,r)=>t.pageTitle=r,SET_MESHES:(t,r)=>t.meshes=r,SET_SELECTED_MESH:(t,r)=>t.selectedMesh=r,SET_TOTAL_DATAPLANE_COUNT:(t,r)=>t.totalDataplaneCount=r,SET_TOTAL_CLUSTER_COUNT:(t,r)=>t.totalClusters=r,SET_INTERNAL_SERVICE_SUMMARY:(t,{items:r=[]}={})=>{const{serviceSummary:e}=t,i=(u,{status:c="offline"})=>({...u,[c]:u[c]+1}),n={online:0,partially_degraded:0,offline:0},{online:s,offline:a,partially_degraded:o}=r.reduce(i,n),l=s+a+o;e.internal={...e.internal,total:l,online:s,partiallyDegraded:o,offline:a},e.total=e.external.total+l},SET_EXTERNAL_SERVICE_SUMMARY:(t,{total:r=0}={})=>{t.serviceSummary.external.total=r,t.serviceSummary.total=t.serviceSummary.internal.total+r},SET_MESH_INSIGHT:(t,r)=>t.meshInsight=w6(r),SET_MESH_INSIGHT_FROM_ALL_MESHES:(t,r)=>t.meshInsight=n1(r.items),SET_ZONES_INSIGHTS_FETCHING:(t,r)=>t.zonesInsightsFetching=r,SET_MESH_INSIGHTS_FETCHING:(t,r)=>t.meshInsightsFetching=r,SET_SERVICE_INSIGHTS_FETCHING:(t,r)=>t.serviceInsightsFetching=r,SET_EXTERNAL_SERVICES_FETCHING:(t,r)=>t.externalServicesFetching=r,SET_OVERVIEW_CHART_DATA:(t,r)=>{const{chartName:e,data:i}=r;t.overviewCharts[e].data=i},SET_POLICIES:(t,r)=>t.policies=r,SET_POLICIES_BY_PATH:(t,r)=>t.policiesByPath=r,SET_POLICIES_BY_TYPE:(t,r)=>t.policiesByType=r},actions:{async bootstrap({commit:t,dispatch:r,getters:e,state:i}){if(t("SET_GLOBAL_LOADING",{globalLoading:!0}),await r("config/getStatus"),e["config/getStatus"]==="OK"){const n=Ii.get("selectedMesh");n&&n!=="all"&&r("updateSelectedMesh",n),await Promise.all([r("fetchMeshList"),r("fetchDataplaneTotalCount"),r("config/bootstrapConfig"),r("sidebar/getInsights")]);const s=Ii.get("selectedMesh");(s===null||s==="all")&&i.meshes.items.length>0&&r("updateSelectedMesh",i.meshes.items[0].name)}t("SET_GLOBAL_LOADING",{globalLoading:!1})},updatePageTitle({commit:t},r){t("SET_PAGE_TITLE",r)},async fetchMeshList({commit:t}){const r={size:Uh};try{const e=await yt.getAllMeshes(r);Array.isArray(e.items)&&e.items.sort((i,n)=>i.name==="default"?-1:n.name==="default"?1:i.name.localeCompare(n.name)),t("SET_MESHES",e)}catch(e){console.error(e)}},updateSelectedMesh({commit:t},r){Ii.set("selectedMesh",r),t("SET_SELECTED_MESH",r)},fetchTotalClusterCount({commit:t}){return yt.getZones().then(r=>{const e=r.total;t("SET_TOTAL_CLUSTER_COUNT",e)})},fetchDataplaneTotalCount({commit:t}){const r={size:1};return yt.getAllDataplanes(r).then(e=>{const i=e.total;t("SET_TOTAL_DATAPLANE_COUNT",i)}).catch(e=>{console.error(e)})},async fetchMeshInsights({commit:t,dispatch:r},e){t("SET_MESH_INSIGHTS_FETCHING",!0);try{if(e===void 0){const i={callEndpoint:yt.getAllMeshInsights.bind(yt)},n=await jo(i),s=[];n.items.length>0&&s.push({category:"Mesh",value:n.items.length,tooltipDisabled:!0,labelDisabled:!0}),t("SET_OVERVIEW_CHART_DATA",{chartName:"meshes",data:s}),t("SET_MESH_INSIGHT_FROM_ALL_MESHES",n)}else t("SET_MESH_INSIGHT",await yt.getMeshInsights({name:e}))}catch{t("SET_OVERVIEW_CHART_DATA",{chartName:"meshes",data:[]}),t("SET_MESH_INSIGHT",i1())}finally{r("setChartsFromMeshInsights")}t("SET_MESH_INSIGHTS_FETCHING",!1)},async fetchServiceInsights({commit:t},r){t("SET_SERVICE_INSIGHTS_FETCHING",!0);try{const e={callEndpoint:r===void 0?yt.getAllServiceInsights.bind(yt):yt.getAllServiceInsightsFromMesh.bind(yt,{mesh:r})};t("SET_INTERNAL_SERVICE_SUMMARY",await jo(e))}catch{t("SET_INTERNAL_SERVICE_SUMMARY")}t("SET_SERVICE_INSIGHTS_FETCHING",!1)},async fetchExternalServices({commit:t},r){t("SET_EXTERNAL_SERVICES_FETCHING",!0);try{const e={callEndpoint:r===void 0?yt.getAllExternalServices.bind(yt):yt.getAllExternalServicesFromMesh.bind(yt,{mesh:r})};t("SET_EXTERNAL_SERVICE_SUMMARY",await jo(e))}catch{t("SET_EXTERNAL_SERVICE_SUMMARY")}t("SET_EXTERNAL_SERVICES_FETCHING",!1)},async fetchServices({dispatch:t},r){const e=t("fetchExternalServices",r),i=t("fetchServiceInsights",r);await Promise.all([i,e]),await t("setOverviewServicesChartData")},async fetchZonesInsights({commit:t,dispatch:r,getters:e},i=!1){t("SET_ZONES_INSIGHTS_FETCHING",!0);try{if(i){const n={callEndpoint:yt.getAllZoneOverviews.bind(yt)},s=await jo(n);r("setOverviewZonesChartData",s),r("setOverviewZonesCPVersionsChartData",s)}else{const n=[{category:"Zone",value:1,tooltipDisabled:!0,labelDisabled:!0}],s=[{category:e["config/getVersion"],value:1,tooltipDisabled:!0}];t("SET_OVERVIEW_CHART_DATA",{chartName:"zones",data:n}),t("SET_OVERVIEW_CHART_DATA",{chartName:"zonesCPVersions",data:s})}}catch{t("SET_OVERVIEW_CHART_DATA",{chartName:"zones",data:[]}),t("SET_OVERVIEW_CHART_DATA",{chartName:"zonesCPVersions",data:[]})}t("SET_ZONES_INSIGHTS_FETCHING",!1)},async fetchPolicies({commit:t}){const{policies:r}=await yt.getPolicyDefinitions(),e=r.reduce((n,s)=>Object.assign(n,{[s.path]:s}),{}),i=r.reduce((n,s)=>Object.assign(n,{[s.name]:s}),{});t("SET_POLICIES",r),t("SET_POLICIES_BY_PATH",e),t("SET_POLICIES_BY_TYPE",i)},setChartsFromMeshInsights({dispatch:t}){t("setOverviewDataplanesChartData"),t("setOverviewKumaDPVersionsChartData"),t("setOverviewEnvoyVersionsChartData")},setOverviewZonesChartData({commit:t},{items:r=[]}){const e=r.length;let i=0;r.forEach(s=>{const{status:a}=R8(s.zoneInsight);a===Da&&i++});const n=[];e&&(n.push({category:Da,value:i}),i!==e&&n.push({category:Jl,value:e-i})),t("SET_OVERVIEW_CHART_DATA",{chartName:"zones",data:n})},setOverviewServicesChartData({state:t,commit:r}){const{internal:e,external:i}=t.serviceSummary,n=[];e.total&&n.push({category:"Internal",value:e.total,minSizeForLabel:.16,route:{name:"service-list-view",params:{mesh:t.selectedMesh}}}),i.total&&n.push({category:"External",value:i.total,minSizeForLabel:.16,route:{name:"service-list-view",params:{mesh:t.selectedMesh}}}),r("SET_OVERVIEW_CHART_DATA",{chartName:"services",data:n})},setOverviewDataplanesChartData({state:t,commit:r}){var a,o;const e=t.meshInsight.dataplanes.total,i=(a=t.meshInsight.dataplanes.online)!=null?a:0,n=(o=t.meshInsight.dataplanes.partiallyDegraded)!=null?o:0,s=[];e&&(s.push({category:Da,value:i}),n&&s.push({category:t1,value:n}),i+n!==e&&s.push({category:Jl,value:e-n-i})),r("SET_OVERVIEW_CHART_DATA",{chartName:"dataplanes",data:s})},setOverviewZonesCPVersionsChartData({commit:t},{items:r}){const e=r.reduce((i,n)=>{const{subscriptions:s}=n.zoneInsight;if(!s.length)return i;const{version:a}=n.zoneInsight.subscriptions.pop(),o=i.find(({category:l})=>{var u;return l===((u=a==null?void 0:a.kumaCp)==null?void 0:u.version)});return o?o.value++:i.push({category:a.kumaCp.version,value:1}),i},[]);t("SET_OVERVIEW_CHART_DATA",{chartName:"zonesCPVersions",data:e})},setOverviewEnvoyVersionsChartData({state:t,commit:r}){const{envoy:e}=t.meshInsight.dpVersions,i=Object.entries(e).map(([n,s])=>({category:n,value:s.total}));r("SET_OVERVIEW_CHART_DATA",{chartName:"envoyVersions",data:i})},setOverviewKumaDPVersionsChartData({state:t,commit:r}){const{kumaDp:e}=t.meshInsight.dpVersions,i=Object.entries(e).map(([n,s])=>({category:n,value:s.total}));r("SET_OVERVIEW_CHART_DATA",{chartName:"kumaDPVersions",data:i})}}},s1=Symbol("store"),Qi=M8(P6);function Or(){return v8(s1)}async function a1(t){if(navigator.clipboard)try{return await navigator.clipboard.writeText(t),!0}catch{}const r=document.createElement("textarea");r.style.position="fixed",r.style.top="0",r.style.left="0",r.style.width="2em",r.style.height="2em",r.style.padding="0",r.style.border="none",r.style.outline="none",r.style.boxShadow="none",r.style.background="transparent",r.value=t,document.body.appendChild(r),r.focus(),r.select();let e;try{e=document.execCommand("copy")}catch{e=!1}finally{document.body.removeChild(r)}return e}oe({name:"KClipboardProvider",setup(t,{slots:r}){return()=>(r==null?void 0:r.default)&&r.default({copyToClipboard:a1})}});oe({name:"KComponent",props:{data:{type:Object,default:{},required:!0}},setup(t,{slots:r}){const e=gi(t.data);return()=>(r==null?void 0:r.default)&&r.default({data:e})}});var hf=oe({name:"KToggle",props:{toggled:{type:Boolean,default:!1}},emits:["toggled"],setup(t,{slots:r,emit:e}){const i=j(t.toggled),n=()=>{i.value=!i.value,e("toggled",i.value)};try{if(!r.default)throw new Error("KToggle expects slot content");return()=>(r==null?void 0:r.default)&&r.default({isToggled:i,toggle:n})}catch{return console.error(`KToggle expects to have slot content. + */var Uy="store";function v8(t){return t===void 0&&(t=null),Ar(t!==null?t:Uy)}function As(t,r){Object.keys(t).forEach(function(e){return r(t[e],e)})}function Ky(t){return t!==null&&typeof t=="object"}function m8(t){return t&&typeof t.then=="function"}function y8(t,r){return function(){return t(r)}}function Wy(t,r,e){return r.indexOf(t)<0&&(e&&e.prepend?r.unshift(t):r.push(t)),function(){var i=r.indexOf(t);i>-1&&r.splice(i,1)}}function Yy(t,r){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var e=t.state;Lu(t,e,[],t._modules.root,!0),rf(t,e,r)}function rf(t,r,e){var i=t._state,n=t._scope;t.getters={},t._makeLocalGettersCache=Object.create(null);var s=t._wrappedGetters,a={},o={},l=J2(!0);l.run(function(){As(s,function(u,c){a[c]=y8(u,t),o[c]=F(function(){return a[c]()}),Object.defineProperty(t.getters,c,{get:function(){return o[c].value},enumerable:!0})})}),t._state=gi({data:r}),t._scope=l,t.strict&&P8(t),i&&e&&t._withCommit(function(){i.data=null}),n&&n.stop()}function Lu(t,r,e,i,n){var s=!e.length,a=t._modules.getNamespace(e);if(i.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=i),!s&&!n){var o=nf(r,e.slice(0,-1)),l=e[e.length-1];t._withCommit(function(){o[l]=i.state})}var u=i.context=b8(t,a,e);i.forEachMutation(function(c,h){var d=a+h;_8(t,d,c,u)}),i.forEachAction(function(c,h){var d=c.root?h:a+h,f=c.handler||c;w8(t,d,f,u)}),i.forEachGetter(function(c,h){var d=a+h;S8(t,d,c,u)}),i.forEachChild(function(c,h){Lu(t,r,e.concat(h),c,n)})}function b8(t,r,e){var i=r==="",n={dispatch:i?t.dispatch:function(s,a,o){var l=Xl(s,a,o),u=l.payload,c=l.options,h=l.type;return(!c||!c.root)&&(h=r+h),t.dispatch(h,u)},commit:i?t.commit:function(s,a,o){var l=Xl(s,a,o),u=l.payload,c=l.options,h=l.type;(!c||!c.root)&&(h=r+h),t.commit(h,u,c)}};return Object.defineProperties(n,{getters:{get:i?function(){return t.getters}:function(){return Gy(t,r)}},state:{get:function(){return nf(t.state,e)}}}),n}function Gy(t,r){if(!t._makeLocalGettersCache[r]){var e={},i=r.length;Object.keys(t.getters).forEach(function(n){if(n.slice(0,i)===r){var s=n.slice(i);Object.defineProperty(e,s,{get:function(){return t.getters[n]},enumerable:!0})}}),t._makeLocalGettersCache[r]=e}return t._makeLocalGettersCache[r]}function _8(t,r,e,i){var n=t._mutations[r]||(t._mutations[r]=[]);n.push(function(a){e.call(t,i.state,a)})}function w8(t,r,e,i){var n=t._actions[r]||(t._actions[r]=[]);n.push(function(a){var o=e.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},a);return m8(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch(function(l){throw t._devtoolHook.emit("vuex:error",l),l}):o})}function S8(t,r,e,i){t._wrappedGetters[r]||(t._wrappedGetters[r]=function(s){return e(i.state,i.getters,s.state,s.getters)})}function P8(t){Ye(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}function nf(t,r){return r.reduce(function(e,i){return e[i]},t)}function Xl(t,r,e){return Ky(t)&&t.type&&(e=r,r=t,t=t.type),{type:t,payload:r,options:e}}var C8="vuex bindings",$g="vuex:mutations",kc="vuex:actions",Zn="vuex",O8=0;function k8(t,r){dS({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[C8]},function(e){e.addTimelineLayer({id:$g,label:"Vuex Mutations",color:Bg}),e.addTimelineLayer({id:kc,label:"Vuex Actions",color:Bg}),e.addInspector({id:Zn,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),e.on.getInspectorTree(function(i){if(i.app===t&&i.inspectorId===Zn)if(i.filter){var n=[];Xy(n,r._modules.root,i.filter,""),i.rootNodes=n}else i.rootNodes=[Qy(r._modules.root,"")]}),e.on.getInspectorState(function(i){if(i.app===t&&i.inspectorId===Zn){var n=i.nodeId;Gy(r,n),i.state=x8(I8(r._modules,n),n==="root"?r.getters:r._makeLocalGettersCache,n)}}),e.on.editInspectorState(function(i){if(i.app===t&&i.inspectorId===Zn){var n=i.nodeId,s=i.path;n!=="root"&&(s=n.split("/").filter(Boolean).concat(s)),r._withCommit(function(){i.set(r._state.data,s,i.state.value)})}}),r.subscribe(function(i,n){var s={};i.payload&&(s.payload=i.payload),s.state=n,e.notifyComponentUpdate(),e.sendInspectorTree(Zn),e.sendInspectorState(Zn),e.addTimelineEvent({layerId:$g,event:{time:Date.now(),title:i.type,data:s}})}),r.subscribeAction({before:function(i,n){var s={};i.payload&&(s.payload=i.payload),i._id=O8++,i._time=Date.now(),s.state=n,e.addTimelineEvent({layerId:kc,event:{time:i._time,title:i.type,groupId:i._id,subtitle:"start",data:s}})},after:function(i,n){var s={},a=Date.now()-i._time;s.duration={_custom:{type:"duration",display:a+"ms",tooltip:"Action duration",value:a}},i.payload&&(s.payload=i.payload),s.state=n,e.addTimelineEvent({layerId:kc,event:{time:Date.now(),title:i.type,groupId:i._id,subtitle:"end",data:s}})}})})}var Bg=8702998,E8=6710886,T8=16777215,Zy={label:"namespaced",textColor:T8,backgroundColor:E8};function qy(t){return t&&t!=="root"?t.split("/").slice(-2,-1)[0]:"Root"}function Qy(t,r){return{id:r||"root",label:qy(r),tags:t.namespaced?[Zy]:[],children:Object.keys(t._children).map(function(e){return Qy(t._children[e],r+e+"/")})}}function Xy(t,r,e,i){i.includes(e)&&t.push({id:i||"root",label:i.endsWith("/")?i.slice(0,i.length-1):i||"Root",tags:r.namespaced?[Zy]:[]}),Object.keys(r._children).forEach(function(n){Xy(t,r._children[n],e,i+n+"/")})}function x8(t,r,e){r=e==="root"?r:r[e];var i=Object.keys(r),n={state:Object.keys(t.state).map(function(a){return{key:a,editable:!0,value:t.state[a]}})};if(i.length){var s=D8(r);n.getters=Object.keys(s).map(function(a){return{key:a.endsWith("/")?qy(a):a,editable:!1,value:zh(function(){return s[a]})}})}return n}function D8(t){var r={};return Object.keys(t).forEach(function(e){var i=e.split("/");if(i.length>1){var n=r,s=i.pop();i.forEach(function(a){n[a]||(n[a]={_custom:{value:{},display:a,tooltip:"Module",abstract:!0}}),n=n[a]._custom.value}),n[s]=zh(function(){return t[e]})}else r[e]=zh(function(){return t[e]})}),r}function I8(t,r){var e=r.split("/").filter(function(i){return i});return e.reduce(function(i,n,s){var a=i[n];if(!a)throw new Error('Missing module "'+n+'" for path "'+r+'".');return s===e.length-1?a:a._children},r==="root"?t:t.root._children)}function zh(t){try{return t()}catch(r){return r}}var Xr=function(r,e){this.runtime=e,this._children=Object.create(null),this._rawModule=r;var i=r.state;this.state=(typeof i=="function"?i():i)||{}},Jy={namespaced:{configurable:!0}};Jy.namespaced.get=function(){return!!this._rawModule.namespaced};Xr.prototype.addChild=function(r,e){this._children[r]=e};Xr.prototype.removeChild=function(r){delete this._children[r]};Xr.prototype.getChild=function(r){return this._children[r]};Xr.prototype.hasChild=function(r){return r in this._children};Xr.prototype.update=function(r){this._rawModule.namespaced=r.namespaced,r.actions&&(this._rawModule.actions=r.actions),r.mutations&&(this._rawModule.mutations=r.mutations),r.getters&&(this._rawModule.getters=r.getters)};Xr.prototype.forEachChild=function(r){As(this._children,r)};Xr.prototype.forEachGetter=function(r){this._rawModule.getters&&As(this._rawModule.getters,r)};Xr.prototype.forEachAction=function(r){this._rawModule.actions&&As(this._rawModule.actions,r)};Xr.prototype.forEachMutation=function(r){this._rawModule.mutations&&As(this._rawModule.mutations,r)};Object.defineProperties(Xr.prototype,Jy);var Vn=function(r){this.register([],r,!1)};Vn.prototype.get=function(r){return r.reduce(function(e,i){return e.getChild(i)},this.root)};Vn.prototype.getNamespace=function(r){var e=this.root;return r.reduce(function(i,n){return e=e.getChild(n),i+(e.namespaced?n+"/":"")},"")};Vn.prototype.update=function(r){e1([],this.root,r)};Vn.prototype.register=function(r,e,i){var n=this;i===void 0&&(i=!0);var s=new Xr(e,i);if(r.length===0)this.root=s;else{var a=this.get(r.slice(0,-1));a.addChild(r[r.length-1],s)}e.modules&&As(e.modules,function(o,l){n.register(r.concat(l),o,i)})};Vn.prototype.unregister=function(r){var e=this.get(r.slice(0,-1)),i=r[r.length-1],n=e.getChild(i);!n||!n.runtime||e.removeChild(i)};Vn.prototype.isRegistered=function(r){var e=this.get(r.slice(0,-1)),i=r[r.length-1];return e?e.hasChild(i):!1};function e1(t,r,e){if(r.update(e),e.modules)for(var i in e.modules){if(!r.getChild(i))return;e1(t.concat(i),r.getChild(i),e.modules[i])}}function M8(t){return new vr(t)}var vr=function(r){var e=this;r===void 0&&(r={});var i=r.plugins;i===void 0&&(i=[]);var n=r.strict;n===void 0&&(n=!1);var s=r.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Vn(r),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=s;var a=this,o=this,l=o.dispatch,u=o.commit;this.dispatch=function(d,f){return l.call(a,d,f)},this.commit=function(d,f,p){return u.call(a,d,f,p)},this.strict=n;var c=this._modules.root.state;Lu(this,c,[],this._modules.root),rf(this,c),i.forEach(function(h){return h(e)})},sf={state:{configurable:!0}};vr.prototype.install=function(r,e){r.provide(e||Uy,this),r.config.globalProperties.$store=this;var i=this._devtools!==void 0?this._devtools:!1;i&&k8(r,this)};sf.state.get=function(){return this._state.data};sf.state.set=function(t){};vr.prototype.commit=function(r,e,i){var n=this,s=Xl(r,e,i),a=s.type,o=s.payload,l={type:a,payload:o},u=this._mutations[a];!u||(this._withCommit(function(){u.forEach(function(h){h(o)})}),this._subscribers.slice().forEach(function(c){return c(l,n.state)}))};vr.prototype.dispatch=function(r,e){var i=this,n=Xl(r,e),s=n.type,a=n.payload,o={type:s,payload:a},l=this._actions[s];if(!!l){try{this._actionSubscribers.slice().filter(function(c){return c.before}).forEach(function(c){return c.before(o,i.state)})}catch{}var u=l.length>1?Promise.all(l.map(function(c){return c(a)})):l[0](a);return new Promise(function(c,h){u.then(function(d){try{i._actionSubscribers.filter(function(f){return f.after}).forEach(function(f){return f.after(o,i.state)})}catch{}c(d)},function(d){try{i._actionSubscribers.filter(function(f){return f.error}).forEach(function(f){return f.error(o,i.state,d)})}catch{}h(d)})})}};vr.prototype.subscribe=function(r,e){return Wy(r,this._subscribers,e)};vr.prototype.subscribeAction=function(r,e){var i=typeof r=="function"?{before:r}:r;return Wy(i,this._actionSubscribers,e)};vr.prototype.watch=function(r,e,i){var n=this;return Ye(function(){return r(n.state,n.getters)},e,Object.assign({},i))};vr.prototype.replaceState=function(r){var e=this;this._withCommit(function(){e._state.data=r})};vr.prototype.registerModule=function(r,e,i){i===void 0&&(i={}),typeof r=="string"&&(r=[r]),this._modules.register(r,e),Lu(this,this.state,r,this._modules.get(r),i.preserveState),rf(this,this.state)};vr.prototype.unregisterModule=function(r){var e=this;typeof r=="string"&&(r=[r]),this._modules.unregister(r),this._withCommit(function(){var i=nf(e.state,r.slice(0,-1));delete i[r[r.length-1]]}),Yy(this)};vr.prototype.hasModule=function(r){return typeof r=="string"&&(r=[r]),this._modules.isRegistered(r)};vr.prototype.hotUpdate=function(r){this._modules.update(r),Yy(this,!0)};vr.prototype._withCommit=function(r){var e=this._committing;this._committing=!0,r(),this._committing=e};Object.defineProperties(vr.prototype,sf);var wee=of(function(t,r){var e={};return af(r).forEach(function(i){var n=i.key,s=i.val;e[n]=function(){for(var o=[],l=arguments.length;l--;)o[l]=arguments[l];var u=this.$store.commit;if(t){var c=lf(this.$store,"mapMutations",t);if(!c)return;u=c.context.commit}return typeof s=="function"?s.apply(this,[u].concat(o)):u.apply(this.$store,[s].concat(o))}}),e}),See=of(function(t,r){var e={};return af(r).forEach(function(i){var n=i.key,s=i.val;s=t+s,e[n]=function(){if(!(t&&!lf(this.$store,"mapGetters",t)))return this.$store.getters[s]},e[n].vuex=!0}),e}),Pee=of(function(t,r){var e={};return af(r).forEach(function(i){var n=i.key,s=i.val;e[n]=function(){for(var o=[],l=arguments.length;l--;)o[l]=arguments[l];var u=this.$store.dispatch;if(t){var c=lf(this.$store,"mapActions",t);if(!c)return;u=c.context.dispatch}return typeof s=="function"?s.apply(this,[u].concat(o)):u.apply(this.$store,[s].concat(o))}}),e});function af(t){return A8(t)?Array.isArray(t)?t.map(function(r){return{key:r,val:r}}):Object.keys(t).map(function(r){return{key:r,val:t[r]}}):[]}function A8(t){return Array.isArray(t)||Ky(t)}function of(t){return function(r,e){return typeof r!="string"?(e=r,r=""):r.charAt(r.length-1)!=="/"&&(r+="/"),t(r,e)}}function lf(t,r,e){var i=t._modulesNamespaceMap[e];return i}const $8="Kuma",Cee=12,Uh=500,Da="Online",Jl="Offline",t1="Partially degraded",Lg="Disabled",Oee="kuma.io/zone",kee={not_available:{title:"Not available",appearance:"warning"},partially_degraded:{title:"Partially degraded",appearance:"warning"},offline:{title:"Offline",appearance:"danger"},online:{title:"Online",appearance:"success"}};function uf(t,r,e=void 0){if(typeof t!="object"||Array.isArray(t))return e;const i=r.indexOf(".");if(i===-1)return t[r]===void 0?e:t[r];const n=r.substring(0,i),s=r.substring(i+1);return uf(t[n],s,e)}const B8=new Intl.DateTimeFormat("en-US",{dateStyle:"long"}),L8=new Intl.DateTimeFormat("en-US",{dateStyle:"long",timeStyle:"medium"});function F8(t){const r=new Date(Date.parse(t)),e=Math.floor((Date.now()-r.getTime())/1e3);return e<=1?"just now":e<20?`${e} seconds ago`:e<40?"half a minute ago":e<60?"less than a minute ago":e<=90?"one minute ago":e<=3540?`${Math.round(e/60)} minutes ago`:e<=5400?"1 hour ago":e<=86400?`${Math.round(e/3600)} hours ago`:e<=129600?"1 day ago":e<604800?`${Math.round(e/86400)} days ago`:e<=777600?"1 week ago":B8.format(r)}function Eee(t){const r=new Date(Date.parse(t));return L8.format(r)}function Tee(t,r){const e=t&&typeof t=="object"&&t.constructor===Array?Object.assign({},...t):t;return r.reduce((i,n)=>({...i,[n]:e[n]}),{})}function xee(t){const{creationTime:r,modificationTime:e,...i}=t;return i}function Dee(t){var e;const r=/^[a-z]+|[A-Z][a-z]*/g;return(e=t.match(r))==null?void 0:e.map(i=>i[0].toUpperCase()+i.substr(1).toLowerCase()).join(" ")}function Iee(t){const r=t.replace(/[^a-zA-Z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").trim();return t?r:""}async function jo({callEndpoint:t}){try{let r=null,e=0,i=[];for(;;){const n={size:Uh,offset:e},{total:s,items:a,next:o}=await t(n);if(a&&(i=i.concat(a)),r===null&&(r=s),s!==r)throw new Error('Mismatch between "total" values between requests');if(!o)break;e+=Uh}return{total:r,items:i}}catch(r){throw new Error(`Resource fetching failed: ${r}`)}}function Mee(t){var e,i;const r=(i=(e=t==null?void 0:t.zoneInsight)==null?void 0:e.subscriptions.length)!=null?i:0;if(r&&t.zoneInsight.subscriptions[r-1].config){const n=JSON.parse(t.zoneInsight.subscriptions[r-1].config);return uf(n,"dpServer.auth.type",Lg)}return Lg}function Aee(t){let r=[];t.networking.inbound&&(r=t.networking.inbound.filter(i=>"tags"in i).flatMap(i=>Object.entries(i.tags)).map(([i,n])=>`${i}=${n}`)),t.networking.gateway&&(r=Object.entries(t.networking.gateway.tags).map(([i,n])=>`${i}=${n}`));const e=Array.from(new Set(r));return e.sort((i,n)=>i.localeCompare(n)),e.map(i=>i.split("=")).map(([i,n])=>({label:i,value:n}))}function $ee(t,r={subscriptions:[]}){const e=t.networking.inbound?t.networking.inbound:[{health:{ready:!0}}],i=e.filter(o=>o.health&&!o.health.ready).map(o=>`Inbound on port ${o.port} is not ready (kuma.io/service: ${o.tags["kuma.io/service"]})`),s=(r.subscriptions?r.subscriptions:[]).some(o=>o.connectTime&&o.connectTime.length&&!o.disconnectTime);return{status:(()=>{const o=i.length===e.length,l=i.length===0;return!s||o?Jl:l?Da:t1})(),reason:i}}function Bee(t){if(t.subscriptions.length===0)return null;const r={},e=t.subscriptions[t.subscriptions.length-1];return e.version===void 0?null:(e.version.envoy&&(r.envoy=e.version.envoy.version),e.version.kumaDp&&(r.kumaDp=e.version.kumaDp.version),e.version.dependencies&&Object.entries(e.version.dependencies).forEach(([i,n])=>{r[i]=n}),r)}function R8(t={}){const{subscriptions:r=[]}=t,e=r.some(n=>n.connectTime&&n.connectTime.length&&!n.disconnectTime);return{status:(()=>e?Da:Jl)()}}function Lee(t){const{mTLS:r}=t.dataplaneInsight;if(r===void 0)return null;const e=new Date(r.certificateExpirationTime),i=new Date(e.getTime()+e.getTimezoneOffset()*6e4);return{certificateExpirationTime:{label:"Expiration Time",value:`${i.toLocaleDateString("en-US")} ${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`},lastCertificateRegeneration:{label:"Last Generated",value:F8(r.lastCertificateRegeneration)},certificateRegenerations:{label:"Regenerations",value:r.certificateRegenerations}}}function Fee(t){const{gateway:r}=t.networking;return r?"Gateway"+(r.type!==void 0?` (${r.type})`:""):"Standard"}function Ree(t){var i,n,s,a;return((n=(i=t.kumaDp)==null?void 0:i.kumaCpCompatible)!=null?n:!0)?((a=(s=t.envoy)==null?void 0:s.kumaDpCompatible)!=null?a:!0)?{kind:V8}:{kind:j8,payload:{envoy:t.envoy.version,kumaDp:t.kumaDp.version}}:{kind:N8,payload:{kumaDp:t.kumaDp.version}}}const V8="COMPATIBLE",Vee="INCOMPATIBLE_ZONE_CP_AND_KUMA_DP_VERSIONS",Nee="INCOMPATIBLE_ZONE_AND_GLOBAL_CPS_VERSIONS",N8="INCOMPATIBLE_UNSUPPORTED_KUMA_DP",j8="INCOMPATIBLE_UNSUPPORTED_ENVOY",jee="INCOMPATIBLE_WRONG_FORMAT";function H8(t){const r=t.pathname.split("/").filter(n=>n!==""),e=r.findIndex(n=>n==="gui"),i=e!==-1?r.slice(0,e):r;return i.length>0?t.origin+"/"+i.join("/"):t.origin}class z8 extends Error{constructor({title:e=null,message:i,code:n=null,statusCode:s,causes:a=[]}){super(i);wi(this,"title");wi(this,"code");wi(this,"causes");wi(this,"statusCode");this.name="ApiError",this.title=e,this.code=n,this.statusCode=s,this.causes=a}toJSON(){return{name:this.name,title:this.title,message:this.message,code:this.code,statusCode:this.statusCode,causes:this.causes}}}async function U8(t,r={}){var u,c;const e=r,i=(u=e.method)!=null?u:"GET";e.headers=e.headers instanceof Headers?e.headers:new Headers(e.headers),!e.headers.has("content-type")&&["POST","PUT","PATCH"].includes(i)&&e.headers.set("content-type","application/json");let n=t;"params"in r&&(i==="GET"?n+=`?${new URLSearchParams(r.params).toString()}`:(c=e.headers.get("content-type"))!=null&&c.startsWith("application/json")&&(e.body=JSON.stringify(r.params)));let s;try{s=await fetch(n,e)}catch(h){throw K8(h)}const a=s.headers.get("content-type"),l=(a!==null?a.startsWith("application/json"):!1)?await s.json():await s.text();if(s.ok)return{response:s,data:l};throw W8(s,l)}function K8(t){const r=t instanceof Error?t.message:"An unknown network error occurred.";return new Error(r)}function W8(t,r){let e=null,i="An error has occurred while trying to load this data.",n=null,s=[];return typeof r=="string"&&r.length>0?i=r:r&&(Object.prototype.hasOwnProperty.call(r,"title")&&(e=r.title),Object.prototype.hasOwnProperty.call(r,"details")&&(i=r.details),Object.prototype.hasOwnProperty.call(r,"code")&&(n=r.code),Object.prototype.hasOwnProperty.call(r,"causes")&&Array.isArray(r.causes)&&(s=r.causes)),t.status===403&&(i="You currently don\u2019t have access to this data."),new z8({title:e,message:i,code:n,causes:s,statusCode:t.status})}class Y8{constructor(r=""){wi(this,"_origin");wi(this,"_basePath");let e;e=H8(window.location),this._origin=G8(e),this._basePath=Fg(r)}get url(){return[this._origin,this.basePath].filter(r=>r!=="").join("/")}get basePath(){return this._basePath}set basePath(r){this._basePath=Fg(r)}async get(r,e){const i=e!=null?e:{};i.method="GET";const{data:n}=await this.raw(r,i);return n}async raw(r,e){const i=r.startsWith("http")?r:`${this.url}/${r}`;return U8(i,e)}}function G8(t){return t.replace(/\/+$/,"")}function Fg(t){return t.replace(/^\/+/,"").replace(/\/+$/,"")}class Z8{constructor(){wi(this,"client");this.client=new Y8}get url(){return this.client.url}setBasePath(r){this.client.basePath=r}getInfo(){return this.client.get("")}async getStatus(){try{const{response:r}=await this.client.raw("");return r.status===200?"OK":null}catch{return null}}async getLatestVersion(){const r=String("https://kuma.io/latest_version/");return this.client.get(r)}getConfig(){return this.client.get("config")}getPolicyDefinitions(){return this.client.get("policies")}getGlobalInsights(){return this.client.get("global-insights")}getZones(r){return this.client.get("zones",{params:r})}getZone({name:r},e){return this.client.get(`zones/${r}`,{params:e})}getAllZoneOverviews(r){return this.client.get("zones+insights",{params:r})}getZoneOverview({name:r},e){return this.client.get(`zones+insights/${r}`,{params:e})}getZoneIngressData({zoneIngressName:r,dataPath:e},i){return this.client.get(`zoneingresses/${r}/${e}`,{params:i})}getAllZoneIngressOverviews(r){return this.client.get("zoneingresses+insights",{params:r})}getZoneIngressOverview({name:r},e){return this.client.get(`zoneingresses+insights/${r}`,{params:e})}getZoneEgressData({zoneEgressName:r,dataPath:e},i){return this.client.get(`zoneegresses/${r}/${e}`,{params:i})}getAllZoneEgressOverviews(r){return this.client.get("zoneegressoverviews",{params:r})}getZoneEgressOverview({name:r},e){return this.client.get(`zoneegressoverviews/${r}`,{params:e})}getAllMeshes(r){return this.client.get("meshes",{params:r})}getMesh({name:r},e){return this.client.get(`meshes/${r}`,{params:e})}getAllMeshInsights(r){return this.client.get("mesh-insights",{params:r})}getMeshInsights({name:r},e){return this.client.get(`mesh-insights/${r}`,{params:e})}getAllDataplanes(r){return this.client.get("dataplanes",{params:r})}getDataplaneFromMesh({mesh:r,name:e},i){return this.client.get(`meshes/${r}/dataplanes/${e}`,{params:i})}getAllDataplaneOverviews(r){return this.client.get("dataplanes+insights",{params:r})}getAllDataplaneOverviewsFromMesh({mesh:r},e){return this.client.get(`meshes/${r}/dataplanes+insights`,{params:e})}getDataplaneOverviewFromMesh({mesh:r,name:e},i){return this.client.get(`meshes/${r}/dataplanes+insights/${e}`,{params:i})}getSidecarDataplanePolicies({mesh:r,name:e},i){return this.client.get(`meshes/${r}/dataplanes/${e}/policies`,{params:i})}getMeshGatewayDataplane({mesh:r,name:e},i){return this.client.get(`meshes/${r}/dataplanes/${e}/policies`,{params:i})}getDataplaneData({mesh:r,dppName:e,dataPath:i},n){return this.client.get(`meshes/${r}/dataplanes/${e}/${i}`,{params:n})}getAllServiceInsights(r){return this.client.get("service-insights",{params:r})}getAllServiceInsightsFromMesh({mesh:r},e){return this.client.get(`meshes/${r}/service-insights`,{params:e})}getServiceInsight({mesh:r,name:e},i){return this.client.get(`meshes/${r}/service-insights/${e}`,{params:i})}getAllExternalServices(r){return this.client.get("external-services",{params:r})}getAllExternalServicesFromMesh({mesh:r},e){return this.client.get(`meshes/${r}/external-services`,{params:e})}getExternalService({mesh:r,name:e},i){return this.client.get(`meshes/${r}/external-services/${e}`,{params:i})}getPolicyConnections({mesh:r,policyType:e,policyName:i},n){return this.client.get(`meshes/${r}/${e}/${i}/dataplanes`,{params:n})}getAllPolicyEntities({path:r},e){return this.client.get(r,{params:e})}getAllPolicyEntitiesFromMesh({mesh:r,path:e},i){return this.client.get(`meshes/${r}/${e}`,{params:i})}getSinglePolicyEntity({mesh:r,path:e,name:i},n){return this.client.get(`meshes/${r}/${e}/${i}`,{params:n})}}const yt=new Z8,q8={status:null,tagline:null,version:null,kumaDocsVersion:"latest",clientConfig:null},Q8={SET_CONFIG_DATA:(t,r)=>t.clientConfig=r,SET_STATUS:(t,r)=>t.status=r,SET_TAGLINE:(t,r)=>t.tagline=r,SET_VERSION:(t,r)=>t.version=r,SET_KUMA_DOCS_VERSION:(t,r)=>t.kumaDocsVersion=r},X8={getStatus:t=>t.status,getConfig:t=>t.clientConfig,getEnvironment:t=>{var r;return(r=t.clientConfig)==null?void 0:r.environment},getMode:t=>{var r;return(r=t.clientConfig)==null?void 0:r.mode},getTagline:t=>t.tagline,getVersion:t=>t.version,getKumaDocsVersion:t=>t.kumaDocsVersion,getConfigurationType:t=>{var r,e;return(e=(r=t.clientConfig)==null?void 0:r.store)==null?void 0:e.type},getMulticlusterStatus:(t,r)=>({VITE_DATA_TIMEOUT:"500",VITE_INSTALL_URL:"https://kuma.io/install/latest/",VITE_VERSION_URL:"https://kuma.io/latest_version/",VITE_NAMESPACE:"Kuma",VITE_KUMA_API_SERVER_URL:"http://localhost:5681/dev/",VITE_KUMA_DP_SERVER_URL:"https://localhost:5678/",VITE_AMCHARTS_LICENSE:"",VITE_UTM:"?utm_source=Kuma&utm_medium=Kuma-GUI",BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0}).VITE_FAKE_MULTIZONE==="true"?(console.warn("%c \u2728You are currently faking Multi-Zone mode.","background: black; color: white; display: block; padding: 0.25rem;"),!0):r.getMode==="global"},J8={bootstrapConfig({dispatch:t}){const r=t("getInfo"),e=t("getConfig");return Promise.all([r,e])},getConfig({commit:t}){return yt.getConfig().then(r=>{t("SET_CONFIG_DATA",r)})},getStatus({commit:t}){return yt.getStatus().then(r=>{t("SET_STATUS",r)})},getInfo({commit:t}){return yt.getInfo().then(r=>{var s;t("SET_TAGLINE",r.tagline),t("SET_VERSION",r.version);let e;const i=(s=r.basedOnKuma)!=null?s:r.version,n=i.indexOf("-preview.");if(n!==-1){const a=i.substring(0,n);e=a==="0.0.0"?"dev":a.replace(/\.\d+$/,".x")}else e=i.replace(/\.\d+$/,".x");t("SET_KUMA_DOCS_VERSION",e)}).catch(r=>{console.error(r)})}},e6={namespaced:!0,state:()=>q8,getters:X8,mutations:Q8,actions:J8},t6={isOpen:!1},r6={OPEN_MODAL:t=>t.isOpen=!0,CLOSE_MODAL:t=>t.isOpen=!1},i6={meshNotificationItemMap(t,r,e){var s;return(((s=e.meshes)==null?void 0:s.items)||[]).reduce((a,o)=>(a[o.name]={hasLogging:Boolean(o.logging),hasMtls:Boolean(o.mtls),hasMetrics:Boolean(o.metrics),hasTracing:Boolean(o.tracing)},a),{})},meshNotificationItemMapWithAction(t,r){const e=r.meshNotificationItemMap;return Object.entries(e).reduce((i,[n,s])=>(Object.values(s).some(o=>!o)&&(i[n]=s),i),{})},singleMeshNotificationItems(t,r,e){if(e.selectedMesh===null)return[];const i=r.meshNotificationItemMap[e.selectedMesh],n=[{name:"Observability, Metrics & Service Map",component:"MetricsNotification",isCompleted:i.hasMetrics},{name:"Logging",component:"LoggingNotification",isCompleted:i.hasLogging},{name:"Zero-trust security",component:"MtlsNotification",isCompleted:i.hasMtls},{name:"Tracing",component:"TracingNotification",isCompleted:i.hasTracing}];return n.sort((s,a)=>+s.isCompleted-+a.isCompleted),n},amountOfActions(t,r){return Object.keys(r.meshNotificationItemMapWithAction).length}},n6={openModal({commit:t}){t("OPEN_MODAL")},closeModal({commit:t}){t("CLOSE_MODAL")}},s6={namespaced:!0,state:()=>t6,getters:i6,mutations:r6,actions:n6};class a6{constructor(r){wi(this,"storageAdapter");this.storageAdapter=r}get(r){let e;try{e=this.storageAdapter.getItem(r)}catch{return null}if(e===null||!(e.startsWith("[")||e.startsWith("{")))return e;try{return JSON.parse(e)}catch{return e}}set(r,e){try{const i=typeof e=="string"?e:JSON.stringify(e);this.storageAdapter.setItem(r,i)}catch{}}has(r){try{return this.storageAdapter.getItem(r)!==null}catch{return!1}}remove(r){try{this.storageAdapter.removeItem(r)}catch{}}}const Ii=new a6(window.localStorage),o6={isCompleted:Ii.get("onboardingIsCompleted")==="true",step:Ii.get("onboardingStep")||"onboarding-welcome",mode:"demo"},l6={SET_STEP:(t,r)=>t.step=r,SET_IS_COMPLETED:(t,r)=>t.isCompleted=r,UPDATE_MODE:(t,r)=>t.mode=r},u6={getMode:t=>t.mode,showOnboarding:(t,r,e)=>{const i=e.meshes.items.length===1&&e.meshes.items[0].name==="default";return e.totalDataplaneCount===0&&i}},c6={completeOnboarding({commit:t,dispatch:r}){r("fetchDataplaneTotalCount",null,{root:!0}),r("sidebar/getInsights",null,{root:!0}),t("SET_IS_COMPLETED",!0),Ii.set("onboardingIsCompleted","true"),Ii.remove("onboardingStep")},changeStep({commit:t},r){t("SET_STEP",r),Ii.set("onboardingStep",r)}},h6={namespaced:!0,state:()=>o6,getters:u6,mutations:l6,actions:c6};function d6(t){return t.items.reduce((e,{dataplanes:i,dataplanesByType:n,policies:s,services:a})=>{var o,l;e.services.internal+=a.internal||0,e.services.external+=a.external||0,e.services.total+=a.total||0,e.dataplanes.total+=i.total||0,e.dataplanes.standard+=((o=n.standard)==null?void 0:o.total)||0,e.dataplanes.gateway+=((l=n.gateway)==null?void 0:l.total)||0;for(const[u,c]of Object.entries(s))e.policies[u]||(e.policies[u]=0),e.policies[u]+=c.total||0;return e},{services:{total:0,internal:0,external:0},dataplanes:{total:0,standard:0,gateway:0},policies:{}})}function f6(t){return Object.entries(t.resources).reduce((r,[e,i])=>(r[e]||(r[e]=0),r[e]+=i.total||0,r),{})}const p6={insights:{global:{},mesh:{services:{total:0,internal:0,external:0},dataplanes:{total:0,standard:0,gateway:0},policies:{}}}},g6={SET_GLOBAL_INSIGHTS:(t,r)=>t.insights.global=r,SET_MESH_INSIGHTS:(t,r)=>t.insights.mesh=r},v6={},m6={getInsights({dispatch:t}){return Promise.all([t("getGlobalInsights"),t("getMeshInsights")])},async getMeshInsights({commit:t,rootState:r}){if(r.selectedMesh===null)return;let e,i;try{e={items:[await yt.getMeshInsights({name:r.selectedMesh})],total:1},i=d6(e)}catch{i=[]}t("SET_MESH_INSIGHTS",i)},async getGlobalInsights({commit:t}){const r=await yt.getGlobalInsights(),e=f6(r);t("SET_GLOBAL_INSIGHTS",e)}},y6={namespaced:!0,state:()=>p6,getters:v6,mutations:g6,actions:m6},r1=(t={},r={})=>{const e=t.online||0,i=r.online||0,n=t.partiallyDegraded||0,s=r.partiallyDegraded||0,a=t.total||0,o=r.total||0;return{online:e+i,partiallyDegraded:n+s,total:a+o}},cf=()=>({CircuitBreaker:{total:0},FaultInjection:{total:0},HealthCheck:{total:0},MeshAccessLog:{total:0},MeshGateway:{total:0},MeshGatewayRoute:{total:0},MeshTrace:{total:0},MeshTrafficPermission:{total:0},ProxyTemplate:{total:0},RateLimit:{total:0},Retry:{total:0},Timeout:{total:0},TrafficLog:{total:0},TrafficPermission:{total:0},TrafficRoute:{total:0},TrafficTrace:{total:0},VirtualOutbound:{total:0}}),b6=(t=cf(),r={})=>Object.entries(r).reduce((e,[i,n])=>{const s=e[i]?e[i].total:0;return{...e,[i]:{total:s+n.total}}},t),Rg=(t={},r={})=>Object.entries(r).reduce((e,[i,n])=>({...e,[i]:r1(e[i],n)}),t),_6=(t={},r={})=>({kumaDp:Rg(t.kumaDp,r.kumaDp),envoy:Rg(t.envoy,r.envoy)});function i1(){return{meshesTotal:0,dataplanes:{online:0,partiallyDegraded:0,total:0},policies:cf(),dpVersions:{kumaDp:{},envoy:{}}}}function w6(t={}){return n1([t])}function n1(t=[]){return t.reduce((r,e)=>({meshesTotal:t.length,dataplanes:r1(r.dataplanes,e.dataplanes),policies:b6(r.policies,e.policies),dpVersions:_6(r.dpVersions,e.dpVersions)}),{meshesTotal:0,dataplanes:{online:0,partiallyDegraded:0,total:0},policies:cf(),dpVersions:{kumaDp:{},envoy:{}}})}const S6={menu:null,globalLoading:!0,pageTitle:"",meshes:{total:0,items:[],next:null},selectedMesh:"default",totalDataplaneCount:0,version:"",itemQueryNamespace:"item",totalClusters:0,serviceSummary:{total:0,internal:{total:0,online:0,offline:0,partiallyDegraded:0},external:{total:0}},overviewCharts:{dataplanes:{data:[]},meshes:{data:[]},services:{data:[]},zones:{data:[]},zonesCPVersions:{data:[]},kumaDPVersions:{data:[]},envoyVersions:{data:[]}},meshInsight:i1(),meshInsightsFetching:!1,serviceInsightsFetching:!1,externalServicesFetching:!1,zonesInsightsFetching:!1,policies:[],policiesByPath:{},policiesByType:{}},P6={modules:{sidebar:y6,config:e6,notifications:s6,onboarding:h6},state:()=>S6,getters:{globalLoading:t=>t.globalLoading,getMeshList:t=>t.meshes,getItemQueryNamespace:t=>t.itemQueryNamespace,getMeshInsight:t=>t.meshInsight,getMeshInsightsFetching:t=>t.meshInsightsFetching,getServiceInsightsFetching:t=>t.serviceInsightsFetching,getExternalServicesFetching:t=>t.externalServicesFetching,getResourceFetching:({meshInsightsFetching:t,serviceInsightsFetching:r,externalServicesFetching:e})=>t||r||e,getServiceResourcesFetching:({serviceInsightsFetching:t,externalServicesFetching:r})=>t||r,getChart:({overviewCharts:t})=>r=>t[r],getZonesInsightsFetching:({zonesInsightsFetching:t})=>t},mutations:{SET_GLOBAL_LOADING:(t,{globalLoading:r})=>t.globalLoading=r,SET_PAGE_TITLE:(t,r)=>t.pageTitle=r,SET_MESHES:(t,r)=>t.meshes=r,SET_SELECTED_MESH:(t,r)=>t.selectedMesh=r,SET_TOTAL_DATAPLANE_COUNT:(t,r)=>t.totalDataplaneCount=r,SET_TOTAL_CLUSTER_COUNT:(t,r)=>t.totalClusters=r,SET_INTERNAL_SERVICE_SUMMARY:(t,{items:r=[]}={})=>{const{serviceSummary:e}=t,i=(u,{status:c="offline"})=>({...u,[c]:u[c]+1}),n={online:0,partially_degraded:0,offline:0},{online:s,offline:a,partially_degraded:o}=r.reduce(i,n),l=s+a+o;e.internal={...e.internal,total:l,online:s,partiallyDegraded:o,offline:a},e.total=e.external.total+l},SET_EXTERNAL_SERVICE_SUMMARY:(t,{total:r=0}={})=>{t.serviceSummary.external.total=r,t.serviceSummary.total=t.serviceSummary.internal.total+r},SET_MESH_INSIGHT:(t,r)=>t.meshInsight=w6(r),SET_MESH_INSIGHT_FROM_ALL_MESHES:(t,r)=>t.meshInsight=n1(r.items),SET_ZONES_INSIGHTS_FETCHING:(t,r)=>t.zonesInsightsFetching=r,SET_MESH_INSIGHTS_FETCHING:(t,r)=>t.meshInsightsFetching=r,SET_SERVICE_INSIGHTS_FETCHING:(t,r)=>t.serviceInsightsFetching=r,SET_EXTERNAL_SERVICES_FETCHING:(t,r)=>t.externalServicesFetching=r,SET_OVERVIEW_CHART_DATA:(t,r)=>{const{chartName:e,data:i}=r;t.overviewCharts[e].data=i},SET_POLICIES:(t,r)=>t.policies=r,SET_POLICIES_BY_PATH:(t,r)=>t.policiesByPath=r,SET_POLICIES_BY_TYPE:(t,r)=>t.policiesByType=r},actions:{async bootstrap({commit:t,dispatch:r,getters:e,state:i}){if(t("SET_GLOBAL_LOADING",{globalLoading:!0}),await r("config/getStatus"),e["config/getStatus"]==="OK"){const n=Ii.get("selectedMesh");n&&n!=="all"&&r("updateSelectedMesh",n),await Promise.all([r("fetchMeshList"),r("fetchDataplaneTotalCount"),r("config/bootstrapConfig"),r("sidebar/getInsights")]);const s=Ii.get("selectedMesh");(s===null||s==="all")&&i.meshes.items.length>0&&r("updateSelectedMesh",i.meshes.items[0].name)}t("SET_GLOBAL_LOADING",{globalLoading:!1})},updatePageTitle({commit:t},r){t("SET_PAGE_TITLE",r)},async fetchMeshList({commit:t}){const r={size:Uh};try{const e=await yt.getAllMeshes(r);Array.isArray(e.items)&&e.items.sort((i,n)=>i.name==="default"?-1:n.name==="default"?1:i.name.localeCompare(n.name)),t("SET_MESHES",e)}catch(e){console.error(e)}},updateSelectedMesh({commit:t},r){Ii.set("selectedMesh",r),t("SET_SELECTED_MESH",r)},fetchTotalClusterCount({commit:t}){return yt.getZones().then(r=>{const e=r.total;t("SET_TOTAL_CLUSTER_COUNT",e)})},fetchDataplaneTotalCount({commit:t}){const r={size:1};return yt.getAllDataplanes(r).then(e=>{const i=e.total;t("SET_TOTAL_DATAPLANE_COUNT",i)}).catch(e=>{console.error(e)})},async fetchMeshInsights({commit:t,dispatch:r},e){t("SET_MESH_INSIGHTS_FETCHING",!0);try{if(e===void 0){const i={callEndpoint:yt.getAllMeshInsights.bind(yt)},n=await jo(i),s=[];n.items.length>0&&s.push({category:"Mesh",value:n.items.length,tooltipDisabled:!0,labelDisabled:!0}),t("SET_OVERVIEW_CHART_DATA",{chartName:"meshes",data:s}),t("SET_MESH_INSIGHT_FROM_ALL_MESHES",n)}else t("SET_MESH_INSIGHT",await yt.getMeshInsights({name:e}))}catch{t("SET_OVERVIEW_CHART_DATA",{chartName:"meshes",data:[]}),t("SET_MESH_INSIGHT",i1())}finally{r("setChartsFromMeshInsights")}t("SET_MESH_INSIGHTS_FETCHING",!1)},async fetchServiceInsights({commit:t},r){t("SET_SERVICE_INSIGHTS_FETCHING",!0);try{const e={callEndpoint:r===void 0?yt.getAllServiceInsights.bind(yt):yt.getAllServiceInsightsFromMesh.bind(yt,{mesh:r})};t("SET_INTERNAL_SERVICE_SUMMARY",await jo(e))}catch{t("SET_INTERNAL_SERVICE_SUMMARY")}t("SET_SERVICE_INSIGHTS_FETCHING",!1)},async fetchExternalServices({commit:t},r){t("SET_EXTERNAL_SERVICES_FETCHING",!0);try{const e={callEndpoint:r===void 0?yt.getAllExternalServices.bind(yt):yt.getAllExternalServicesFromMesh.bind(yt,{mesh:r})};t("SET_EXTERNAL_SERVICE_SUMMARY",await jo(e))}catch{t("SET_EXTERNAL_SERVICE_SUMMARY")}t("SET_EXTERNAL_SERVICES_FETCHING",!1)},async fetchServices({dispatch:t},r){const e=t("fetchExternalServices",r),i=t("fetchServiceInsights",r);await Promise.all([i,e]),await t("setOverviewServicesChartData")},async fetchZonesInsights({commit:t,dispatch:r,getters:e},i=!1){t("SET_ZONES_INSIGHTS_FETCHING",!0);try{if(i){const n={callEndpoint:yt.getAllZoneOverviews.bind(yt)},s=await jo(n);r("setOverviewZonesChartData",s),r("setOverviewZonesCPVersionsChartData",s)}else{const n=[{category:"Zone",value:1,tooltipDisabled:!0,labelDisabled:!0}],s=[{category:e["config/getVersion"],value:1,tooltipDisabled:!0}];t("SET_OVERVIEW_CHART_DATA",{chartName:"zones",data:n}),t("SET_OVERVIEW_CHART_DATA",{chartName:"zonesCPVersions",data:s})}}catch{t("SET_OVERVIEW_CHART_DATA",{chartName:"zones",data:[]}),t("SET_OVERVIEW_CHART_DATA",{chartName:"zonesCPVersions",data:[]})}t("SET_ZONES_INSIGHTS_FETCHING",!1)},async fetchPolicies({commit:t}){const{policies:r}=await yt.getPolicyDefinitions(),e=r.reduce((n,s)=>Object.assign(n,{[s.path]:s}),{}),i=r.reduce((n,s)=>Object.assign(n,{[s.name]:s}),{});t("SET_POLICIES",r),t("SET_POLICIES_BY_PATH",e),t("SET_POLICIES_BY_TYPE",i)},setChartsFromMeshInsights({dispatch:t}){t("setOverviewDataplanesChartData"),t("setOverviewKumaDPVersionsChartData"),t("setOverviewEnvoyVersionsChartData")},setOverviewZonesChartData({commit:t},{items:r=[]}){const e=r.length;let i=0;r.forEach(s=>{const{status:a}=R8(s.zoneInsight);a===Da&&i++});const n=[];e&&(n.push({category:Da,value:i}),i!==e&&n.push({category:Jl,value:e-i})),t("SET_OVERVIEW_CHART_DATA",{chartName:"zones",data:n})},setOverviewServicesChartData({state:t,commit:r}){const{internal:e,external:i}=t.serviceSummary,n=[];e.total&&n.push({category:"Internal",value:e.total,minSizeForLabel:.16,route:{name:"service-list-view",params:{mesh:t.selectedMesh}}}),i.total&&n.push({category:"External",value:i.total,minSizeForLabel:.16,route:{name:"service-list-view",params:{mesh:t.selectedMesh}}}),r("SET_OVERVIEW_CHART_DATA",{chartName:"services",data:n})},setOverviewDataplanesChartData({state:t,commit:r}){var a,o;const e=t.meshInsight.dataplanes.total,i=(a=t.meshInsight.dataplanes.online)!=null?a:0,n=(o=t.meshInsight.dataplanes.partiallyDegraded)!=null?o:0,s=[];e&&(s.push({category:Da,value:i}),n&&s.push({category:t1,value:n}),i+n!==e&&s.push({category:Jl,value:e-n-i})),r("SET_OVERVIEW_CHART_DATA",{chartName:"dataplanes",data:s})},setOverviewZonesCPVersionsChartData({commit:t},{items:r}){const e=r.reduce((i,n)=>{const{subscriptions:s}=n.zoneInsight;if(!s.length)return i;const{version:a}=n.zoneInsight.subscriptions.pop(),o=i.find(({category:l})=>{var u;return l===((u=a==null?void 0:a.kumaCp)==null?void 0:u.version)});return o?o.value++:i.push({category:a.kumaCp.version,value:1}),i},[]);t("SET_OVERVIEW_CHART_DATA",{chartName:"zonesCPVersions",data:e})},setOverviewEnvoyVersionsChartData({state:t,commit:r}){const{envoy:e}=t.meshInsight.dpVersions,i=Object.entries(e).map(([n,s])=>({category:n,value:s.total}));r("SET_OVERVIEW_CHART_DATA",{chartName:"envoyVersions",data:i})},setOverviewKumaDPVersionsChartData({state:t,commit:r}){const{kumaDp:e}=t.meshInsight.dpVersions,i=Object.entries(e).map(([n,s])=>({category:n,value:s.total}));r("SET_OVERVIEW_CHART_DATA",{chartName:"kumaDPVersions",data:i})}}},s1=Symbol("store"),Qi=M8(P6);function Or(){return v8(s1)}async function a1(t){if(navigator.clipboard)try{return await navigator.clipboard.writeText(t),!0}catch{}const r=document.createElement("textarea");r.style.position="fixed",r.style.top="0",r.style.left="0",r.style.width="2em",r.style.height="2em",r.style.padding="0",r.style.border="none",r.style.outline="none",r.style.boxShadow="none",r.style.background="transparent",r.value=t,document.body.appendChild(r),r.focus(),r.select();let e;try{e=document.execCommand("copy")}catch{e=!1}finally{document.body.removeChild(r)}return e}ae({name:"KClipboardProvider",setup(t,{slots:r}){return()=>(r==null?void 0:r.default)&&r.default({copyToClipboard:a1})}});ae({name:"KComponent",props:{data:{type:Object,default:{},required:!0}},setup(t,{slots:r}){const e=gi(t.data);return()=>(r==null?void 0:r.default)&&r.default({data:e})}});var hf=ae({name:"KToggle",props:{toggled:{type:Boolean,default:!1}},emits:["toggled"],setup(t,{slots:r,emit:e}){const i=j(t.toggled),n=()=>{i.value=!i.value,e("toggled",i.value)};try{if(!r.default)throw new Error("KToggle expects slot content");return()=>(r==null?void 0:r.default)&&r.default({isToggled:i,toggle:n})}catch{return console.error(`KToggle expects to have slot content. Example usage: @@ -48,10 +48,10 @@ var $2=Object.defineProperty;var B2=(t,r,e)=>r in t?$2(t,r,{enumerable:!0,config Forward -`,T6=` +`,E6=` Up - `,E6=` + `,T6=` Back @@ -270,11 +270,11 @@ var $2=Object.defineProperty;var B2=(t,r,e)=>r in t?$2(t,r,{enumerable:!0,config No Data -`,TP=` +`,EP=` Notifications -`,EP=` +`,TP=` Notifications @@ -427,7 +427,7 @@ var $2=Object.defineProperty;var B2=(t,r,e)=>r in t?$2(t,r,{enumerable:!0,config `,oC=` -`,lC=Object.freeze(Object.defineProperty({__proto__:null,arrowDown:C6,arrowLeft:O6,arrowRight:k6,arrowUp:T6,back:E6,book:x6,brain:D6,calendar:I6,check:M6,chevronDown:A6,chevronLeft:$6,chevronRight:B6,chevronUp:L6,clear:F6,clipboard:R6,close:V6,cogwheel:N6,collapseExpand:j6,contactSupport:H6,connections:z6,copy:U6,dangerCircle:K6,dangerCircleOutline:W6,dashboard:Y6,decrease:G6,devPortal:Z6,disabled:q6,document:Q6,drag:X6,errorFilled:J6,expand:eP,externalLink:tP,featureRequest:rP,fileEmpty:iP,fileJson:nP,fileMd:sP,fileYaml:aP,filter:oP,flag:lP,forward:uP,gateway:cP,gear:hP,gearFilled:dP,graduationHat:fP,grid:pP,handClock:gP,help:vP,image:mP,immunity:yP,increase:bP,info:_P,kong:wP,lock:SP,list:PP,more:CP,moreHorizontal:OP,noData:kP,notificationBell:TP,notificationInbox:EP,organization:xP,plug:DP,plus:IP,organizations:MP,pencil:AP,people:$P,portal:BP,profile:LP,redo:FP,runtimes:RP,search:VP,security:NP,serviceDocument:jP,serviceHub:HP,services:zP,sharedConfig:UP,spinner:KP,stackedCards:WP,stateConfigure:YP,stateGruceo:GP,stateNoData:ZP,stateNoSearchResults:qP,stateUpload:QP,support:XP,table:JP,team:eC,teamMember:tC,trash:rC,vitals:iC,vitalsChart:nC,warning:sC,workspaces:aC,workspacesCollapsed:oC},Symbol.toStringTag,{value:"Module"})),ze=(t,r)=>{const e=t.__vccOpts||t;for(const[i,n]of r)e[i]=n;return e};const o1=lC,uC=Object.keys(o1),Ho={size:"24",viewBox:"0 0 24 24"},cC=oe({name:"KIcon",inheritAttrs:!1,props:{icon:{type:String,validator:t=>uC.includes(t),required:!0},size:{type:String,default:""},color:{type:String,default:null},secondaryColor:{type:String,default:null},viewBox:{type:String,default:""},title:{type:String,default:""},hideTitle:{type:Boolean,default:!1},testMode:{type:Boolean,default:!1}},setup(t,{attrs:r,slots:e}){const i=j(),n=j(),s=j(!0),a=F(()=>{if(t.title)return t.title;if(t.testMode)return t.icon;const v=n.value&&n.value.getElementsByTagName("title");if(v&&v.length)return v[0].innerHTML;const y=t.icon.split(/(?=[A-Z])/).join(" ");return h(y)}),o=F(()=>n.value?n.value.getAttribute("width"):null),l=F(()=>n.value?n.value.getAttribute("height"):null),u=F(()=>n.value&&(t.size||n.value&&n.value.getAttribute("width"))||Ho.size),c=F(()=>n.value&&(t.viewBox||n.value&&n.value.getAttribute("viewBox"))||Ho.viewBox),h=v=>v.split("-").map(y=>y.charAt(0).toUpperCase()+y.substring(1)).join(" "),d=()=>{var v,y,m,w;const C=(y=(v=i==null?void 0:i.value)==null?void 0:v.querySelector(".slot-content"))==null?void 0:y.innerHTML;(w=i.value)==null||w.removeChild((m=i==null?void 0:i.value)==null?void 0:m.querySelector(".slot-content")),n.value.innerHTML+=C,s.value=!1},f=()=>{let v=n.value.querySelector("title");if(v&&t.hideTitle)n.value.removeChild(v);else if(!t.hideTitle)if(v)v.textContent=a.value;else{v=document.createElement("title");const y=document.createTextNode(a.value);v.appendChild(y),n.value.append(v)}},p=v=>{if(!v)return;const y=v.hasAttribute("fill"),m=v.getAttribute("stroke")&&v.getAttribute("stroke")!=="none"?v.getAttribute("stroke"):null,w=v.attributes.id&&v.attributes.id.value==="preserveColor",C=v.attributes.type&&v.attributes.type.value==="secondary";!w&&y&&C&&t.secondaryColor?v.setAttribute("fill",t.secondaryColor):!w&&!C&&y&&!m&&t.color?v.setAttribute("fill",t.color):m&&t.color&&v.setAttribute("stroke",t.color);for(const P of v.children)p(P)};Ye(()=>[t.icon,t.size,t.color,t.secondaryColor,t.viewBox,t.hideTitle],async()=>{await Yr(),g()},{deep:!0});const g=()=>{if(n.value=null,n.value=i.value?i.value.querySelector("svg:not(.slot-content)"):null,n.value){e.svgElements&&d();for(const[v,y]of Object.entries(r))["class","id","style"].includes(v)||n.value.setAttribute(v,y);n.value.setAttribute("role","img"),n.value.setAttribute("width",u.value||o.value),n.value.setAttribute("height",u.value||l.value),n.value.setAttribute("viewBox",c.value),f(),p(n.value)}};return Bt(async()=>{await Yr(),g()}),{icons:o1,svgWrapper:i,svgWithSlotIsHidden:s}}}),hC=["innerHTML"],dC={class:"slot-content"},fC=["innerHTML"];function pC(t,r,e,i,n,s){return t.$slots.svgElements?(S(),I("span",Tt({key:1},t.$attrs,{ref:"svgWrapper",class:[`kong-icon-${t.icon}`,"kong-icon"]}),[(S(),I("svg",dC,[de(t.$slots,"svgElements",{},void 0,!0)])),T("span",{class:ue({"svg-with-slot-is-hidden":t.svgWithSlotIsHidden}),innerHTML:t.icons[t.icon]},null,10,fC)],16)):(S(),I("span",Tt({key:0},t.$attrs,{ref:"svgWrapper",class:[`kong-icon-${t.icon}`,"kong-icon"],innerHTML:t.icons[t.icon]}),null,16,hC))}var Xe=ze(cC,[["render",pC],["__scopeId","data-v-71cfcfc4"]]);const gC={primary:"primary",secondary:"secondary",danger:"danger",creation:"creation",outline:"outline",btnLink:"btn-link"},vC={small:"small",medium:"medium",large:"large"},mC=oe({name:"KButton",components:{KIcon:Xe},inheritAttrs:!1,props:{appearance:{type:String,default:"outline",validator:t=>Object.values(gC).indexOf(t)!==-1},size:{type:String,default:"medium",validator:t=>Object.values(vC).indexOf(t)!==-1},to:{type:[Object,String],default:null},type:{type:String,default:"button"},showCaret:{type:Boolean,default:!1},isRounded:{type:Boolean,default:!0},icon:{type:String,default:""},disabled:{type:Boolean,default:!1}},setup(t,{attrs:r,slots:e}){const i=F(()=>!!e.icon),n=F(()=>!!e.default),s=F(()=>t.to?"router-link":"button"),a=F(()=>t.disabled?"var(--grey-400)":["primary","danger","creation"].includes(t.appearance)?"white":t.appearance==="secondary"?"var(--KButtonSecondaryColor, var(--blue-600, color(blue-600)))":t.appearance==="outline"?"var(--KButtonOutlineColor, var(--blue-500, color(blue-500)))":t.appearance==="btn-link"?"var(--KButtonBtnLink, var(--blue-500, color(blue-500)))":t.appearance==="btn-link-danger"?"var(--KButtonLinkDanger, var(--red-500, color(red-500)))":""),o=F(()=>{if(t.disabled!==void 0&&t.disabled!==!1)return r;const l=Object.assign({},r);return delete l.disabled,l});return{hasText:n,hasIcon:i,buttonType:s,iconColor:a,strippedAttrs:o}}}),yC=["disabled","type","href"];function bC(t,r,e,i,n,s){const a=be("KIcon");return typeof t.to=="string"?(S(),I("a",Tt({key:0,disabled:t.disabled?t.disabled:void 0,type:t.type,href:t.to,class:[[t.size,{"icon-btn":!t.hasText&&t.hasIcon,rounded:t.isRounded},t.appearance],"k-button"]},t.strippedAttrs),[de(t.$slots,"icon",{},()=>[t.icon?(S(),fe(a,{key:0,color:t.iconColor,icon:t.icon,class:"k-button-icon",size:"16"},null,8,["color","icon"])):ne("",!0)],!0),de(t.$slots,"default",{},void 0,!0),t.showCaret?(S(),fe(a,{key:0,color:t.iconColor,"view-box":"2 2 15 15",size:"16",icon:"chevronDown"},null,8,["color"])):ne("",!0)],16,yC)):(S(),fe(xs(t.buttonType),Tt({key:1,disabled:t.disabled?t.disabled:void 0,type:t.type,to:t.to,class:[[t.size,{"icon-btn":!t.hasText&&t.hasIcon,rounded:t.isRounded},t.appearance],"k-button"]},t.strippedAttrs),{default:se(()=>[de(t.$slots,"icon",{},()=>[t.icon?(S(),fe(a,{key:0,color:t.iconColor,icon:t.icon,class:"k-button-icon",size:"16"},null,8,["color","icon"])):ne("",!0)],!0),de(t.$slots,"default",{},void 0,!0),t.showCaret?(S(),fe(a,{key:0,class:ue(["caret"]),color:t.iconColor,"view-box":"2 2 15 15",size:"16",icon:"chevronDown"},null,8,["color"])):ne("",!0)]),_:3},16,["disabled","type","to","class"]))}var gt=ze(mC,[["render",bC],["__scopeId","data-v-6f773baa"]]);const l1={info:"info",success:"success",danger:"danger",warning:"warning"},_C=oe({name:"KAlert",components:{KIcon:Xe,KButton:gt},props:{alertMessage:{type:String,default:""},isShowing:{type:Boolean,default:!0},isFixed:{type:Boolean,default:!1},isBordered:{type:Boolean,default:!1},hasLeftBorder:{type:Boolean,default:!1},hasRightBorder:{type:Boolean,default:!1},hasTopBorder:{type:Boolean,default:!1},hasBottomBorder:{type:Boolean,default:!1},isCentered:{type:Boolean,default:!1},iconSize:{type:String,default:"32"},icon:{type:String,default:""},iconColor:{type:String,default:""},title:{type:String,default:""},description:{type:String,default:""},appearance:{type:String,default:"info",validator:t=>Object.values(l1).includes(t)},size:{type:String,default:"",validator:t=>["","small","large"].includes(t)},dismissType:{type:String,default:"none",validator:t=>["none","icon","button"].includes(t)},type:{type:String,default:"alert",validator:t=>["alert","banner"].includes(t)}},emits:["closed","proceed"],setup(t,{slots:r,emit:e}){return{hasActionButtons:F(()=>!!r.actionButtons),dismissAlert:()=>{e("closed")},proceed:()=>{e("proceed")}}}}),wC={key:0,class:"k-alert-title bold-600"},SC={key:1,class:"k-alert-description-text"};function PC(t,r,e,i,n,s){const a=be("KIcon"),o=be("KButton");return t.isShowing?(S(),I("div",{key:0,class:ue([[t.appearance,t.size,t.dismissType,{"is-bordered":t.isBordered},{"has-left-border":t.hasLeftBorder},{"has-right-border":t.hasRightBorder},{"has-top-border":t.hasTopBorder},{"has-bottom-border":t.hasBottomBorder},{"is-centered":t.isCentered},{"is-fixed":t.isFixed},{"is-banner":t.type==="banner"}],"k-alert"]),role:"alert",onClick:r[1]||(r[1]=pr(()=>{},["stop"]))},[t.type==="banner"&&t.size!=="large"?(S(),I("span",{key:0,class:ue([t.appearance,"k-alert-ellipse"])},null,2)):ne("",!0),t.icon||t.$slots.icon?(S(),I("span",{key:1,class:ue([{"mr-3":t.type!=="banner","k-alert-icon-container-large":t.size==="large"},"k-alert-icon-container"])},[de(t.$slots,"icon",{},()=>[Z(a,{size:t.iconSize,color:t.iconColor,icon:t.icon,class:"k-alert-icon"},null,8,["size","color","icon"])],!0)],2)):ne("",!0),T("div",{class:ue(["k-alert-msg-text",{"has-dismiss-icon":t.dismissType==="icon"},{"has-dismiss-button":t.dismissType==="button"}])},[t.title||t.$slots.title?(S(),I("div",wC,[de(t.$slots,"title",{},()=>[he(re(t.title),1)],!0)])):ne("",!0),T("div",{class:ue([{"k-alert-text":t.size==="large","k-alert-subtext":t.title||t.$slots.title},"k-alert-msg"])},[de(t.$slots,"alertMessage",{},()=>[he(re(t.alertMessage),1)],!0)],2),t.size==="large"&&(t.description||t.$slots.description)?(S(),I("div",SC,[de(t.$slots,"description",{},()=>[he(re(t.description),1)],!0)])):ne("",!0)],2),t.dismissType==="icon"?(S(),I("button",{key:2,type:"button","aria-label":"Close",class:"close",onClick:r[0]||(r[0]=(...l)=>t.dismissAlert&&t.dismissAlert(...l))},[Z(a,{icon:"close",size:"14",color:t.appearance,class:ue(t.appearance)},null,8,["color","class"])])):ne("",!0),t.hasActionButtons||t.dismissType!=="none"?(S(),I("div",{key:3,class:ue([t.appearance,"k-alert-action"])},[t.hasActionButtons?de(t.$slots,"actionButtons",{key:0},()=>[Z(o,{size:"small",onClick:t.proceed,onKeyup:$i(t.proceed,["enter"])},null,8,["onClick","onKeyup"])],!0):ne("",!0),t.dismissType==="button"?(S(),fe(o,{key:1,size:"small",onClick:t.dismissAlert},{default:se(()=>[he(" Dismiss ")]),_:1},8,["onClick"])):ne("",!0)],2)):ne("",!0)],2)):ne("",!0)}var Fu=ze(_C,[["render",PC],["__scopeId","data-v-1910ef98"]]),zo,CC=new Uint8Array(16);function OC(){if(!zo&&(zo=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!zo))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return zo(CC)}var kC=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function TC(t){return typeof t=="string"&&kC.test(t)}var Wt=[];for(var Tc=0;Tc<256;++Tc)Wt.push((Tc+256).toString(16).substr(1));function EC(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,e=(Wt[t[r+0]]+Wt[t[r+1]]+Wt[t[r+2]]+Wt[t[r+3]]+"-"+Wt[t[r+4]]+Wt[t[r+5]]+"-"+Wt[t[r+6]]+Wt[t[r+7]]+"-"+Wt[t[r+8]]+Wt[t[r+9]]+"-"+Wt[t[r+10]]+Wt[t[r+11]]+Wt[t[r+12]]+Wt[t[r+13]]+Wt[t[r+14]]+Wt[t[r+15]]).toLowerCase();if(!TC(e))throw TypeError("Stringified UUID is invalid");return e}var Vg,Ec,xc=0,Dc=0;function Ut(t,r,e){var i=r&&e||0,n=r||new Array(16);t=t||{};var s=t.node||Vg,a=t.clockseq!==void 0?t.clockseq:Ec;if(s==null||a==null){var o=t.random||(t.rng||OC)();s==null&&(s=Vg=[o[0]|1,o[1],o[2],o[3],o[4],o[5]]),a==null&&(a=Ec=(o[6]<<8|o[7])&16383)}var l=t.msecs!==void 0?t.msecs:Date.now(),u=t.nsecs!==void 0?t.nsecs:Dc+1,c=l-xc+(u-Dc)/1e4;if(c<0&&t.clockseq===void 0&&(a=a+1&16383),(c<0||l>xc)&&t.nsecs===void 0&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");xc=l,Dc=u,Ec=a,l+=122192928e5;var h=((l&268435455)*1e4+u)%4294967296;n[i++]=h>>>24&255,n[i++]=h>>>16&255,n[i++]=h>>>8&255,n[i++]=h&255;var d=l/4294967296*1e4&268435455;n[i++]=d>>>8&255,n[i++]=d&255,n[i++]=d>>>24&15|16,n[i++]=d>>>16&255,n[i++]=a>>>8|128,n[i++]=a&255;for(var f=0;f<6;++f)n[i+f]=s[f];return r||EC(n)}/**! +`,lC=Object.freeze(Object.defineProperty({__proto__:null,arrowDown:C6,arrowLeft:O6,arrowRight:k6,arrowUp:E6,back:T6,book:x6,brain:D6,calendar:I6,check:M6,chevronDown:A6,chevronLeft:$6,chevronRight:B6,chevronUp:L6,clear:F6,clipboard:R6,close:V6,cogwheel:N6,collapseExpand:j6,contactSupport:H6,connections:z6,copy:U6,dangerCircle:K6,dangerCircleOutline:W6,dashboard:Y6,decrease:G6,devPortal:Z6,disabled:q6,document:Q6,drag:X6,errorFilled:J6,expand:eP,externalLink:tP,featureRequest:rP,fileEmpty:iP,fileJson:nP,fileMd:sP,fileYaml:aP,filter:oP,flag:lP,forward:uP,gateway:cP,gear:hP,gearFilled:dP,graduationHat:fP,grid:pP,handClock:gP,help:vP,image:mP,immunity:yP,increase:bP,info:_P,kong:wP,lock:SP,list:PP,more:CP,moreHorizontal:OP,noData:kP,notificationBell:EP,notificationInbox:TP,organization:xP,plug:DP,plus:IP,organizations:MP,pencil:AP,people:$P,portal:BP,profile:LP,redo:FP,runtimes:RP,search:VP,security:NP,serviceDocument:jP,serviceHub:HP,services:zP,sharedConfig:UP,spinner:KP,stackedCards:WP,stateConfigure:YP,stateGruceo:GP,stateNoData:ZP,stateNoSearchResults:qP,stateUpload:QP,support:XP,table:JP,team:eC,teamMember:tC,trash:rC,vitals:iC,vitalsChart:nC,warning:sC,workspaces:aC,workspacesCollapsed:oC},Symbol.toStringTag,{value:"Module"})),ze=(t,r)=>{const e=t.__vccOpts||t;for(const[i,n]of r)e[i]=n;return e};const o1=lC,uC=Object.keys(o1),Ho={size:"24",viewBox:"0 0 24 24"},cC=ae({name:"KIcon",inheritAttrs:!1,props:{icon:{type:String,validator:t=>uC.includes(t),required:!0},size:{type:String,default:""},color:{type:String,default:null},secondaryColor:{type:String,default:null},viewBox:{type:String,default:""},title:{type:String,default:""},hideTitle:{type:Boolean,default:!1},testMode:{type:Boolean,default:!1}},setup(t,{attrs:r,slots:e}){const i=j(),n=j(),s=j(!0),a=F(()=>{if(t.title)return t.title;if(t.testMode)return t.icon;const v=n.value&&n.value.getElementsByTagName("title");if(v&&v.length)return v[0].innerHTML;const y=t.icon.split(/(?=[A-Z])/).join(" ");return h(y)}),o=F(()=>n.value?n.value.getAttribute("width"):null),l=F(()=>n.value?n.value.getAttribute("height"):null),u=F(()=>n.value&&(t.size||n.value&&n.value.getAttribute("width"))||Ho.size),c=F(()=>n.value&&(t.viewBox||n.value&&n.value.getAttribute("viewBox"))||Ho.viewBox),h=v=>v.split("-").map(y=>y.charAt(0).toUpperCase()+y.substring(1)).join(" "),d=()=>{var v,y,m,w;const C=(y=(v=i==null?void 0:i.value)==null?void 0:v.querySelector(".slot-content"))==null?void 0:y.innerHTML;(w=i.value)==null||w.removeChild((m=i==null?void 0:i.value)==null?void 0:m.querySelector(".slot-content")),n.value.innerHTML+=C,s.value=!1},f=()=>{let v=n.value.querySelector("title");if(v&&t.hideTitle)n.value.removeChild(v);else if(!t.hideTitle)if(v)v.textContent=a.value;else{v=document.createElement("title");const y=document.createTextNode(a.value);v.appendChild(y),n.value.append(v)}},p=v=>{if(!v)return;const y=v.hasAttribute("fill"),m=v.getAttribute("stroke")&&v.getAttribute("stroke")!=="none"?v.getAttribute("stroke"):null,w=v.attributes.id&&v.attributes.id.value==="preserveColor",C=v.attributes.type&&v.attributes.type.value==="secondary";!w&&y&&C&&t.secondaryColor?v.setAttribute("fill",t.secondaryColor):!w&&!C&&y&&!m&&t.color?v.setAttribute("fill",t.color):m&&t.color&&v.setAttribute("stroke",t.color);for(const P of v.children)p(P)};Ye(()=>[t.icon,t.size,t.color,t.secondaryColor,t.viewBox,t.hideTitle],async()=>{await Yr(),g()},{deep:!0});const g=()=>{if(n.value=null,n.value=i.value?i.value.querySelector("svg:not(.slot-content)"):null,n.value){e.svgElements&&d();for(const[v,y]of Object.entries(r))["class","id","style"].includes(v)||n.value.setAttribute(v,y);n.value.setAttribute("role","img"),n.value.setAttribute("width",u.value||o.value),n.value.setAttribute("height",u.value||l.value),n.value.setAttribute("viewBox",c.value),f(),p(n.value)}};return Bt(async()=>{await Yr(),g()}),{icons:o1,svgWrapper:i,svgWithSlotIsHidden:s}}}),hC=["innerHTML"],dC={class:"slot-content"},fC=["innerHTML"];function pC(t,r,e,i,n,s){return t.$slots.svgElements?(S(),I("span",Et({key:1},t.$attrs,{ref:"svgWrapper",class:[`kong-icon-${t.icon}`,"kong-icon"]}),[(S(),I("svg",dC,[de(t.$slots,"svgElements",{},void 0,!0)])),E("span",{class:ce({"svg-with-slot-is-hidden":t.svgWithSlotIsHidden}),innerHTML:t.icons[t.icon]},null,10,fC)],16)):(S(),I("span",Et({key:0},t.$attrs,{ref:"svgWrapper",class:[`kong-icon-${t.icon}`,"kong-icon"],innerHTML:t.icons[t.icon]}),null,16,hC))}var Xe=ze(cC,[["render",pC],["__scopeId","data-v-71cfcfc4"]]);const gC={primary:"primary",secondary:"secondary",danger:"danger",creation:"creation",outline:"outline",btnLink:"btn-link"},vC={small:"small",medium:"medium",large:"large"},mC=ae({name:"KButton",components:{KIcon:Xe},inheritAttrs:!1,props:{appearance:{type:String,default:"outline",validator:t=>Object.values(gC).indexOf(t)!==-1},size:{type:String,default:"medium",validator:t=>Object.values(vC).indexOf(t)!==-1},to:{type:[Object,String],default:null},type:{type:String,default:"button"},showCaret:{type:Boolean,default:!1},isRounded:{type:Boolean,default:!0},icon:{type:String,default:""},disabled:{type:Boolean,default:!1}},setup(t,{attrs:r,slots:e}){const i=F(()=>!!e.icon),n=F(()=>!!e.default),s=F(()=>t.to?"router-link":"button"),a=F(()=>t.disabled?"var(--grey-400)":["primary","danger","creation"].includes(t.appearance)?"white":t.appearance==="secondary"?"var(--KButtonSecondaryColor, var(--blue-600, color(blue-600)))":t.appearance==="outline"?"var(--KButtonOutlineColor, var(--blue-500, color(blue-500)))":t.appearance==="btn-link"?"var(--KButtonBtnLink, var(--blue-500, color(blue-500)))":t.appearance==="btn-link-danger"?"var(--KButtonLinkDanger, var(--red-500, color(red-500)))":""),o=F(()=>{if(t.disabled!==void 0&&t.disabled!==!1)return r;const l=Object.assign({},r);return delete l.disabled,l});return{hasText:n,hasIcon:i,buttonType:s,iconColor:a,strippedAttrs:o}}}),yC=["disabled","type","href"];function bC(t,r,e,i,n,s){const a=be("KIcon");return typeof t.to=="string"?(S(),I("a",Et({key:0,disabled:t.disabled?t.disabled:void 0,type:t.type,href:t.to,class:[[t.size,{"icon-btn":!t.hasText&&t.hasIcon,rounded:t.isRounded},t.appearance],"k-button"]},t.strippedAttrs),[de(t.$slots,"icon",{},()=>[t.icon?(S(),fe(a,{key:0,color:t.iconColor,icon:t.icon,class:"k-button-icon",size:"16"},null,8,["color","icon"])):ne("",!0)],!0),de(t.$slots,"default",{},void 0,!0),t.showCaret?(S(),fe(a,{key:0,color:t.iconColor,"view-box":"2 2 15 15",size:"16",icon:"chevronDown"},null,8,["color"])):ne("",!0)],16,yC)):(S(),fe(xs(t.buttonType),Et({key:1,disabled:t.disabled?t.disabled:void 0,type:t.type,to:t.to,class:[[t.size,{"icon-btn":!t.hasText&&t.hasIcon,rounded:t.isRounded},t.appearance],"k-button"]},t.strippedAttrs),{default:se(()=>[de(t.$slots,"icon",{},()=>[t.icon?(S(),fe(a,{key:0,color:t.iconColor,icon:t.icon,class:"k-button-icon",size:"16"},null,8,["color","icon"])):ne("",!0)],!0),de(t.$slots,"default",{},void 0,!0),t.showCaret?(S(),fe(a,{key:0,class:ce(["caret"]),color:t.iconColor,"view-box":"2 2 15 15",size:"16",icon:"chevronDown"},null,8,["color"])):ne("",!0)]),_:3},16,["disabled","type","to","class"]))}var gt=ze(mC,[["render",bC],["__scopeId","data-v-6f773baa"]]);const l1={info:"info",success:"success",danger:"danger",warning:"warning"},_C=ae({name:"KAlert",components:{KIcon:Xe,KButton:gt},props:{alertMessage:{type:String,default:""},isShowing:{type:Boolean,default:!0},isFixed:{type:Boolean,default:!1},isBordered:{type:Boolean,default:!1},hasLeftBorder:{type:Boolean,default:!1},hasRightBorder:{type:Boolean,default:!1},hasTopBorder:{type:Boolean,default:!1},hasBottomBorder:{type:Boolean,default:!1},isCentered:{type:Boolean,default:!1},iconSize:{type:String,default:"32"},icon:{type:String,default:""},iconColor:{type:String,default:""},title:{type:String,default:""},description:{type:String,default:""},appearance:{type:String,default:"info",validator:t=>Object.values(l1).includes(t)},size:{type:String,default:"",validator:t=>["","small","large"].includes(t)},dismissType:{type:String,default:"none",validator:t=>["none","icon","button"].includes(t)},type:{type:String,default:"alert",validator:t=>["alert","banner"].includes(t)}},emits:["closed","proceed"],setup(t,{slots:r,emit:e}){return{hasActionButtons:F(()=>!!r.actionButtons),dismissAlert:()=>{e("closed")},proceed:()=>{e("proceed")}}}}),wC={key:0,class:"k-alert-title bold-600"},SC={key:1,class:"k-alert-description-text"};function PC(t,r,e,i,n,s){const a=be("KIcon"),o=be("KButton");return t.isShowing?(S(),I("div",{key:0,class:ce([[t.appearance,t.size,t.dismissType,{"is-bordered":t.isBordered},{"has-left-border":t.hasLeftBorder},{"has-right-border":t.hasRightBorder},{"has-top-border":t.hasTopBorder},{"has-bottom-border":t.hasBottomBorder},{"is-centered":t.isCentered},{"is-fixed":t.isFixed},{"is-banner":t.type==="banner"}],"k-alert"]),role:"alert",onClick:r[1]||(r[1]=pr(()=>{},["stop"]))},[t.type==="banner"&&t.size!=="large"?(S(),I("span",{key:0,class:ce([t.appearance,"k-alert-ellipse"])},null,2)):ne("",!0),t.icon||t.$slots.icon?(S(),I("span",{key:1,class:ce([{"mr-3":t.type!=="banner","k-alert-icon-container-large":t.size==="large"},"k-alert-icon-container"])},[de(t.$slots,"icon",{},()=>[Z(a,{size:t.iconSize,color:t.iconColor,icon:t.icon,class:"k-alert-icon"},null,8,["size","color","icon"])],!0)],2)):ne("",!0),E("div",{class:ce(["k-alert-msg-text",{"has-dismiss-icon":t.dismissType==="icon"},{"has-dismiss-button":t.dismissType==="button"}])},[t.title||t.$slots.title?(S(),I("div",wC,[de(t.$slots,"title",{},()=>[ue(re(t.title),1)],!0)])):ne("",!0),E("div",{class:ce([{"k-alert-text":t.size==="large","k-alert-subtext":t.title||t.$slots.title},"k-alert-msg"])},[de(t.$slots,"alertMessage",{},()=>[ue(re(t.alertMessage),1)],!0)],2),t.size==="large"&&(t.description||t.$slots.description)?(S(),I("div",SC,[de(t.$slots,"description",{},()=>[ue(re(t.description),1)],!0)])):ne("",!0)],2),t.dismissType==="icon"?(S(),I("button",{key:2,type:"button","aria-label":"Close",class:"close",onClick:r[0]||(r[0]=(...l)=>t.dismissAlert&&t.dismissAlert(...l))},[Z(a,{icon:"close",size:"14",color:t.appearance,class:ce(t.appearance)},null,8,["color","class"])])):ne("",!0),t.hasActionButtons||t.dismissType!=="none"?(S(),I("div",{key:3,class:ce([t.appearance,"k-alert-action"])},[t.hasActionButtons?de(t.$slots,"actionButtons",{key:0},()=>[Z(o,{size:"small",onClick:t.proceed,onKeyup:$i(t.proceed,["enter"])},null,8,["onClick","onKeyup"])],!0):ne("",!0),t.dismissType==="button"?(S(),fe(o,{key:1,size:"small",onClick:t.dismissAlert},{default:se(()=>[ue(" Dismiss ")]),_:1},8,["onClick"])):ne("",!0)],2)):ne("",!0)],2)):ne("",!0)}var Fu=ze(_C,[["render",PC],["__scopeId","data-v-1910ef98"]]),zo,CC=new Uint8Array(16);function OC(){if(!zo&&(zo=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!zo))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return zo(CC)}var kC=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function EC(t){return typeof t=="string"&&kC.test(t)}var Wt=[];for(var Ec=0;Ec<256;++Ec)Wt.push((Ec+256).toString(16).substr(1));function TC(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,e=(Wt[t[r+0]]+Wt[t[r+1]]+Wt[t[r+2]]+Wt[t[r+3]]+"-"+Wt[t[r+4]]+Wt[t[r+5]]+"-"+Wt[t[r+6]]+Wt[t[r+7]]+"-"+Wt[t[r+8]]+Wt[t[r+9]]+"-"+Wt[t[r+10]]+Wt[t[r+11]]+Wt[t[r+12]]+Wt[t[r+13]]+Wt[t[r+14]]+Wt[t[r+15]]).toLowerCase();if(!EC(e))throw TypeError("Stringified UUID is invalid");return e}var Vg,Tc,xc=0,Dc=0;function Ut(t,r,e){var i=r&&e||0,n=r||new Array(16);t=t||{};var s=t.node||Vg,a=t.clockseq!==void 0?t.clockseq:Tc;if(s==null||a==null){var o=t.random||(t.rng||OC)();s==null&&(s=Vg=[o[0]|1,o[1],o[2],o[3],o[4],o[5]]),a==null&&(a=Tc=(o[6]<<8|o[7])&16383)}var l=t.msecs!==void 0?t.msecs:Date.now(),u=t.nsecs!==void 0?t.nsecs:Dc+1,c=l-xc+(u-Dc)/1e4;if(c<0&&t.clockseq===void 0&&(a=a+1&16383),(c<0||l>xc)&&t.nsecs===void 0&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");xc=l,Dc=u,Tc=a,l+=122192928e5;var h=((l&268435455)*1e4+u)%4294967296;n[i++]=h>>>24&255,n[i++]=h>>>16&255,n[i++]=h>>>8&255,n[i++]=h&255;var d=l/4294967296*1e4&268435455;n[i++]=d>>>8&255,n[i++]=d&255,n[i++]=d>>>24&15|16,n[i++]=d>>>16&255,n[i++]=a>>>8|128,n[i++]=a&255;for(var f=0;f<6;++f)n[i+f]=s[f];return r||TC(n)}/**! * @fileOverview Kickass library to create and place poppers near their reference elements. * @version 1.16.1 * @license @@ -450,22 +450,22 @@ var $2=Object.defineProperty;var B2=(t,r,e)=>r in t?$2(t,r,{enumerable:!0,config * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. - */var mo=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",xC=function(){for(var t=["Edge","Trident","Firefox"],r=0;r=0)return 1;return 0}();function DC(t){var r=!1;return function(){r||(r=!0,window.Promise.resolve().then(function(){r=!1,t()}))}}function IC(t){var r=!1;return function(){r||(r=!0,setTimeout(function(){r=!1,t()},xC))}}var MC=mo&&window.Promise,AC=MC?DC:IC;function u1(t){var r={};return t&&r.toString.call(t)==="[object Function]"}function Nn(t,r){if(t.nodeType!==1)return[];var e=t.ownerDocument.defaultView,i=e.getComputedStyle(t,null);return r?i[r]:i}function df(t){return t.nodeName==="HTML"?t:t.parentNode||t.host}function yo(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var r=Nn(t),e=r.overflow,i=r.overflowX,n=r.overflowY;return/(auto|scroll|overlay)/.test(e+n+i)?t:yo(df(t))}function c1(t){return t&&t.referenceNode?t.referenceNode:t}var Ng=mo&&!!(window.MSInputMethodContext&&document.documentMode),jg=mo&&/MSIE 10/.test(navigator.userAgent);function $s(t){return t===11?Ng:t===10?jg:Ng||jg}function _s(t){if(!t)return document.documentElement;for(var r=$s(10)?document.body:null,e=t.offsetParent||null;e===r&&t.nextElementSibling;)e=(t=t.nextElementSibling).offsetParent;var i=e&&e.nodeName;return!i||i==="BODY"||i==="HTML"?t?t.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(e.nodeName)!==-1&&Nn(e,"position")==="static"?_s(e):e}function $C(t){var r=t.nodeName;return r==="BODY"?!1:r==="HTML"||_s(t.firstElementChild)===t}function Kh(t){return t.parentNode!==null?Kh(t.parentNode):t}function eu(t,r){if(!t||!t.nodeType||!r||!r.nodeType)return document.documentElement;var e=t.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_FOLLOWING,i=e?t:r,n=e?r:t,s=document.createRange();s.setStart(i,0),s.setEnd(n,0);var a=s.commonAncestorContainer;if(t!==a&&r!==a||i.contains(n))return $C(a)?a:_s(a);var o=Kh(t);return o.host?eu(o.host,r):eu(t,Kh(r).host)}function ws(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",e=r==="top"?"scrollTop":"scrollLeft",i=t.nodeName;if(i==="BODY"||i==="HTML"){var n=t.ownerDocument.documentElement,s=t.ownerDocument.scrollingElement||n;return s[e]}return t[e]}function BC(t,r){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=ws(r,"top"),n=ws(r,"left"),s=e?-1:1;return t.top+=i*s,t.bottom+=i*s,t.left+=n*s,t.right+=n*s,t}function Hg(t,r){var e=r==="x"?"Left":"Top",i=e==="Left"?"Right":"Bottom";return parseFloat(t["border"+e+"Width"])+parseFloat(t["border"+i+"Width"])}function zg(t,r,e,i){return Math.max(r["offset"+t],r["scroll"+t],e["client"+t],e["offset"+t],e["scroll"+t],$s(10)?parseInt(e["offset"+t])+parseInt(i["margin"+(t==="Height"?"Top":"Left")])+parseInt(i["margin"+(t==="Height"?"Bottom":"Right")]):0)}function h1(t){var r=t.body,e=t.documentElement,i=$s(10)&&getComputedStyle(e);return{height:zg("Height",r,e,i),width:zg("Width",r,e,i)}}var LC=function(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")},FC=function(){function t(r,e){for(var i=0;i2&&arguments[2]!==void 0?arguments[2]:!1,i=$s(10),n=r.nodeName==="HTML",s=Wh(t),a=Wh(r),o=yo(t),l=Nn(r),u=parseFloat(l.borderTopWidth),c=parseFloat(l.borderLeftWidth);e&&n&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=dn({top:s.top-a.top-u,left:s.left-a.left-c,width:s.width,height:s.height});if(h.marginTop=0,h.marginLeft=0,!i&&n){var d=parseFloat(l.marginTop),f=parseFloat(l.marginLeft);h.top-=u-d,h.bottom-=u-d,h.left-=c-f,h.right-=c-f,h.marginTop=d,h.marginLeft=f}return(i&&!e?r.contains(o):r===o&&o.nodeName!=="BODY")&&(h=BC(h,r)),h}function RC(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,e=t.ownerDocument.documentElement,i=ff(t,e),n=Math.max(e.clientWidth,window.innerWidth||0),s=Math.max(e.clientHeight,window.innerHeight||0),a=r?0:ws(e),o=r?0:ws(e,"left"),l={top:a-i.top+i.marginTop,left:o-i.left+i.marginLeft,width:n,height:s};return dn(l)}function d1(t){var r=t.nodeName;if(r==="BODY"||r==="HTML")return!1;if(Nn(t,"position")==="fixed")return!0;var e=df(t);return e?d1(e):!1}function f1(t){if(!t||!t.parentElement||$s())return document.documentElement;for(var r=t.parentElement;r&&Nn(r,"transform")==="none";)r=r.parentElement;return r||document.documentElement}function pf(t,r,e,i){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,s={top:0,left:0},a=n?f1(t):eu(t,c1(r));if(i==="viewport")s=RC(a,n);else{var o=void 0;i==="scrollParent"?(o=yo(df(r)),o.nodeName==="BODY"&&(o=t.ownerDocument.documentElement)):i==="window"?o=t.ownerDocument.documentElement:o=i;var l=ff(o,a,n);if(o.nodeName==="HTML"&&!d1(a)){var u=h1(t.ownerDocument),c=u.height,h=u.width;s.top+=l.top-l.marginTop,s.bottom=c+l.top,s.left+=l.left-l.marginLeft,s.right=h+l.left}else s=l}e=e||0;var d=typeof e=="number";return s.left+=d?e:e.left||0,s.top+=d?e:e.top||0,s.right-=d?e:e.right||0,s.bottom-=d?e:e.bottom||0,s}function VC(t){var r=t.width,e=t.height;return r*e}function p1(t,r,e,i,n){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(t.indexOf("auto")===-1)return t;var a=pf(e,i,s,n),o={top:{width:a.width,height:r.top-a.top},right:{width:a.right-r.right,height:a.height},bottom:{width:a.width,height:a.bottom-r.bottom},left:{width:r.left-a.left,height:a.height}},l=Object.keys(o).map(function(d){return Ir({key:d},o[d],{area:VC(o[d])})}).sort(function(d,f){return f.area-d.area}),u=l.filter(function(d){var f=d.width,p=d.height;return f>=e.clientWidth&&p>=e.clientHeight}),c=u.length>0?u[0].key:l[0].key,h=t.split("-")[1];return c+(h?"-"+h:"")}function g1(t,r,e){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,n=i?f1(r):eu(r,c1(e));return ff(e,n,i)}function v1(t){var r=t.ownerDocument.defaultView,e=r.getComputedStyle(t),i=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0),s={width:t.offsetWidth+n,height:t.offsetHeight+i};return s}function tu(t){var r={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(e){return r[e]})}function m1(t,r,e){e=e.split("-")[0];var i=v1(t),n={width:i.width,height:i.height},s=["right","left"].indexOf(e)!==-1,a=s?"top":"left",o=s?"left":"top",l=s?"height":"width",u=s?"width":"height";return n[a]=r[a]+r[l]/2-i[l]/2,e===o?n[o]=r[o]-i[u]:n[o]=r[tu(o)],n}function bo(t,r){return Array.prototype.find?t.find(r):t.filter(r)[0]}function NC(t,r,e){if(Array.prototype.findIndex)return t.findIndex(function(n){return n[r]===e});var i=bo(t,function(n){return n[r]===e});return t.indexOf(i)}function y1(t,r,e){var i=e===void 0?t:t.slice(0,NC(t,"name",e));return i.forEach(function(n){n.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var s=n.function||n.fn;n.enabled&&u1(s)&&(r.offsets.popper=dn(r.offsets.popper),r.offsets.reference=dn(r.offsets.reference),r=s(r,n))}),r}function jC(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=g1(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=p1(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=m1(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=y1(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function b1(t,r){return t.some(function(e){var i=e.name,n=e.enabled;return n&&i===r})}function gf(t){for(var r=[!1,"ms","Webkit","Moz","O"],e=t.charAt(0).toUpperCase()+t.slice(1),i=0;ia[f]&&(t.offsets.popper[h]+=o[h]+p-a[f]),t.offsets.popper=dn(t.offsets.popper);var g=o[h]+o[u]/2-p/2,v=Nn(t.instance.popper),y=parseFloat(v["margin"+c]),m=parseFloat(v["border"+c+"Width"]),w=g-t.offsets.popper[h]-y-m;return w=Math.max(Math.min(a[u]-p,w),0),t.arrowElement=i,t.offsets.arrow=(e={},Ss(e,h,Math.round(w)),Ss(e,d,""),e),t}function e7(t){return t==="end"?"start":t==="start"?"end":t}var P1=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Ic=P1.slice(3);function Ug(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,e=Ic.indexOf(t),i=Ic.slice(e+1).concat(Ic.slice(0,e));return r?i.reverse():i}var Mc={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function t7(t,r){if(b1(t.instance.modifiers,"inner")||t.flipped&&t.placement===t.originalPlacement)return t;var e=pf(t.instance.popper,t.instance.reference,r.padding,r.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],n=tu(i),s=t.placement.split("-")[1]||"",a=[];switch(r.behavior){case Mc.FLIP:a=[i,n];break;case Mc.CLOCKWISE:a=Ug(i);break;case Mc.COUNTERCLOCKWISE:a=Ug(i,!0);break;default:a=r.behavior}return a.forEach(function(o,l){if(i!==o||a.length===l+1)return t;i=t.placement.split("-")[0],n=tu(i);var u=t.offsets.popper,c=t.offsets.reference,h=Math.floor,d=i==="left"&&h(u.right)>h(c.left)||i==="right"&&h(u.left)h(c.top)||i==="bottom"&&h(u.top)h(e.right),g=h(u.top)h(e.bottom),y=i==="left"&&f||i==="right"&&p||i==="top"&&g||i==="bottom"&&v,m=["top","bottom"].indexOf(i)!==-1,w=!!r.flipVariations&&(m&&s==="start"&&f||m&&s==="end"&&p||!m&&s==="start"&&g||!m&&s==="end"&&v),C=!!r.flipVariationsByContent&&(m&&s==="start"&&p||m&&s==="end"&&f||!m&&s==="start"&&v||!m&&s==="end"&&g),P=w||C;(d||y||P)&&(t.flipped=!0,(d||y)&&(i=a[l+1]),P&&(s=e7(s)),t.placement=i+(s?"-"+s:""),t.offsets.popper=Ir({},t.offsets.popper,m1(t.instance.popper,t.offsets.reference,t.placement)),t=y1(t.instance.modifiers,t,"flip"))}),t}function r7(t){var r=t.offsets,e=r.popper,i=r.reference,n=t.placement.split("-")[0],s=Math.floor,a=["top","bottom"].indexOf(n)!==-1,o=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return e[o]s(i[o])&&(t.offsets.popper[l]=s(i[o])),t}function i7(t,r,e,i){var n=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),s=+n[1],a=n[2];if(!s)return t;if(a.indexOf("%")===0){var o=void 0;switch(a){case"%p":o=e;break;case"%":case"%r":default:o=i}var l=dn(o);return l[r]/100*s}else if(a==="vh"||a==="vw"){var u=void 0;return a==="vh"?u=Math.max(document.documentElement.clientHeight,window.innerHeight||0):u=Math.max(document.documentElement.clientWidth,window.innerWidth||0),u/100*s}else return s}function n7(t,r,e,i){var n=[0,0],s=["right","left"].indexOf(i)!==-1,a=t.split(/(\+|\-)/).map(function(c){return c.trim()}),o=a.indexOf(bo(a,function(c){return c.search(/,|\s/)!==-1}));a[o]&&a[o].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=o!==-1?[a.slice(0,o).concat([a[o].split(l)[0]]),[a[o].split(l)[1]].concat(a.slice(o+1))]:[a];return u=u.map(function(c,h){var d=(h===1?!s:s)?"height":"width",f=!1;return c.reduce(function(p,g){return p[p.length-1]===""&&["+","-"].indexOf(g)!==-1?(p[p.length-1]=g,f=!0,p):f?(p[p.length-1]+=g,f=!1,p):p.concat(g)},[]).map(function(p){return i7(p,d,r,e)})}),u.forEach(function(c,h){c.forEach(function(d,f){vf(d)&&(n[h]+=d*(c[f-1]==="-"?-1:1))})}),n}function s7(t,r){var e=r.offset,i=t.placement,n=t.offsets,s=n.popper,a=n.reference,o=i.split("-")[0],l=void 0;return vf(+e)?l=[+e,0]:l=n7(e,s,a,o),o==="left"?(s.top+=l[0],s.left-=l[1]):o==="right"?(s.top+=l[0],s.left+=l[1]):o==="top"?(s.left+=l[0],s.top-=l[1]):o==="bottom"&&(s.left+=l[0],s.top+=l[1]),t.popper=s,t}function a7(t,r){var e=r.boundariesElement||_s(t.instance.popper);t.instance.reference===e&&(e=_s(e));var i=gf("transform"),n=t.instance.popper.style,s=n.top,a=n.left,o=n[i];n.top="",n.left="",n[i]="";var l=pf(t.instance.popper,t.instance.reference,r.padding,e,t.positionFixed);n.top=s,n.left=a,n[i]=o,r.boundaries=l;var u=r.priority,c=t.offsets.popper,h={primary:function(f){var p=c[f];return c[f]l[f]&&!r.escapeWithReference&&(g=Math.min(c[p],l[f]-(f==="right"?c.width:c.height))),Ss({},p,g)}};return u.forEach(function(d){var f=["left","top"].indexOf(d)!==-1?"primary":"secondary";c=Ir({},c,h[f](d))}),t.offsets.popper=c,t}function o7(t){var r=t.placement,e=r.split("-")[0],i=r.split("-")[1];if(i){var n=t.offsets,s=n.reference,a=n.popper,o=["bottom","top"].indexOf(e)!==-1,l=o?"left":"top",u=o?"width":"height",c={start:Ss({},l,s[l]),end:Ss({},l,s[l]+s[u]-a[u])};t.offsets.popper=Ir({},a,c[i])}return t}function l7(t){if(!S1(t.instance.modifiers,"hide","preventOverflow"))return t;var r=t.offsets.reference,e=bo(t.instance.modifiers,function(i){return i.name==="preventOverflow"}).boundaries;if(r.bottome.right||r.top>e.bottom||r.right2&&arguments[2]!==void 0?arguments[2]:{};LC(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=AC(this.update.bind(this)),this.options=Ir({},t.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=r&&r.jquery?r[0]:r,this.popper=e&&e.jquery?e[0]:e,this.options.modifiers={},Object.keys(Ir({},t.Defaults.modifiers,n.modifiers)).forEach(function(a){i.options.modifiers[a]=Ir({},t.Defaults.modifiers[a]||{},n.modifiers?n.modifiers[a]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(a){return Ir({name:a},i.options.modifiers[a])}).sort(function(a,o){return a.order-o.order}),this.modifiers.forEach(function(a){a.enabled&&u1(a.onLoad)&&a.onLoad(i.reference,i.popper,i.options,a,i.state)}),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return FC(t,[{key:"update",value:function(){return jC.call(this)}},{key:"destroy",value:function(){return HC.call(this)}},{key:"enableEventListeners",value:function(){return UC.call(this)}},{key:"disableEventListeners",value:function(){return WC.call(this)}}]),t}();Ru.Utils=(typeof window<"u"?window:global).PopperUtils;Ru.placements=P1;Ru.Defaults=h7;var d7=Ru,Ac=new WeakMap,Kg=0;function f7(t){if(!t.length)return"";for(var r="arg",e=0;e=e.expiresAt;a&&n.delete(i)},r)},t.prototype.delete=function(r){this.items.delete(r)},t}();function g7(){return typeof navigator.onLine<"u"?navigator.onLine:!0}function v7(){return typeof document<"u"&&typeof document.visibilityState<"u"?document.visibilityState!=="hidden":!0}var m7=function(t){return fetch(t).then(function(r){return r.json()})},$c={isOnline:g7,isDocumentVisible:v7,fetcher:m7},ki=globalThis&&globalThis.__assign||function(){return ki=Object.assign||function(t){for(var r,e=1,i=arguments.length;e0&&s[s.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]0)&&!(n=i.next()).done;)s.push(n.value)}catch(o){a={error:o}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(a)throw a.error}}return s},b7=globalThis&&globalThis.__spreadArray||function(t,r,e){if(e||arguments.length===2)for(var i=0,n=r.length,s;i0?e+n:e)}}function w7(t,r,e){if(!!e.isDocumentVisible()&&!(e.errorRetryCount!==void 0&&r>e.errorRetryCount)){var i=Math.min(r||0,e.errorRetryCount),n=i*e.errorRetryInterval;setTimeout(function(){t(null,{errorRetryCount:i+1,shouldRetryOnError:!0})},n)}}var Wg=function(t,r,e,i){return e===void 0&&(e=C1),i===void 0&&(i=O1.ttl),ts(void 0,void 0,void 0,function(){var n,s,a,o,l,u,c;return rs(this,function(h){switch(h.label){case 0:if(!P7(r))return[3,5];h.label=1;case 1:return h.trys.push([1,3,,4]),[4,r];case 2:return n=h.sent(),[3,4];case 3:return o=h.sent(),s=o,[3,4];case 4:return[3,6];case 5:n=r,h.label=6;case 6:return a=!1,l={data:n,error:s,isValidating:a},typeof n<"u"&&e.set(t,l,i),u=ru.get(t),u&&u.data.length&&(c=u.data.filter(function(d){return d.key===t}),c.forEach(function(d,f){typeof l.data<"u"&&(d.data=l.data),d.error=l.error,d.isValidating=l.isValidating;var p=f===c.length-1;p||delete c[f]}),c=c.filter(Boolean)),[2,l]}})})};function S7(){for(var t=this,r=[],e=0;e=1&&(i=r[0]),r.length>=2&&(n=r[1]),r.length>2&&(s=ki(ki({},s),r[2]));var h=c?s.serverTTL:s.ttl,d=typeof i=="function"?i:j(i);typeof n>"u"&&(n=s.fetcher);var f=null;f||(f=gi({data:void 0,error:void 0,isValidating:!0,key:null}));var p=function(m,w){return ts(t,void 0,void 0,function(){var C,P,E,V,D,R,Q,ge=this;return rs(this,function(H){switch(H.label){case 0:return C=f.data===void 0,P=d.value,P?(E=s.cache.get(P),V=E&&E.data,f.isValidating=!0,V&&(f.data=V.data,f.error=V.error),D=m||n,!D||!s.isDocumentVisible()&&!C||(w==null?void 0:w.forceRevalidate)!==void 0&&!(w!=null&&w.forceRevalidate)?(f.isValidating=!1,[2]):E&&(R=Boolean(Date.now()-E.createdAt>=s.dedupingInterval||(w==null?void 0:w.forceRevalidate)),!R)?(f.isValidating=!1,[2]):(Q=function(){return ts(ge,void 0,void 0,function(){var q,_e,we,$;return rs(this,function(te){switch(te.label){case 0:return q=Bc.get(P),q?[3,2]:(_e=Array.isArray(P)?P:[P],we=D.apply(void 0,b7([],y7(_e),!1)),Bc.set(P,we,s.dedupingInterval),[4,Wg(P,we,s.cache,h)]);case 1:return te.sent(),[3,4];case 2:return[4,Wg(P,q.data,s.cache,h)];case 3:te.sent(),te.label=4;case 4:return f.isValidating=!1,Bc.delete(P),f.error!==void 0&&($=!a&&s.shouldRetryOnError&&(w?w.shouldRetryOnError:!0),$&&w7(p,w?w.errorRetryCount:1,s)),[2]}})})},V&&s.revalidateDebounce?[4,setTimeout(function(){return ts(ge,void 0,void 0,function(){return rs(this,function(q){switch(q.label){case 0:return a?[3,2]:[4,Q()];case 1:q.sent(),q.label=2;case 2:return[2]}})})},s.revalidateDebounce)]:[3,2])):[2];case 1:return H.sent(),[3,4];case 2:return[4,Q()];case 3:H.sent(),H.label=4;case 4:return[2]}})})},g=function(){return ts(t,void 0,void 0,function(){return rs(this,function(m){return[2,p(null,{shouldRetryOnError:!1})]})})},v=null;Bt(function(){var m=function(){return ts(t,void 0,void 0,function(){return rs(this,function(w){switch(w.label){case 0:return!f.error&&s.isOnline()?[4,p()]:[3,2];case 1:return w.sent(),[3,3];case 2:v&&clearTimeout(v),w.label=3;case 3:return s.refreshInterval&&!a&&(v=setTimeout(m,s.refreshInterval)),[2]}})})};s.refreshInterval&&(v=setTimeout(m,s.refreshInterval)),s.revalidateOnFocus&&(document.addEventListener("visibilitychange",g,!1),window.addEventListener("focus",g,!1))}),Fi(function(){a=!0,v&&clearTimeout(v),s.revalidateOnFocus&&(document.removeEventListener("visibilitychange",g,!1),window.removeEventListener("focus",g,!1));var m=ru.get(d.value);m&&(m.data=m.data.filter(function(w){return w!==f}))});try{Ye(d,function(m){Dn(d)||(d.value=m),f.key=m,f.isValidating=Boolean(m),_7(d.value,f,h),!c&&!o&&d.value&&p(),o=!1},{immediate:!0})}catch{}var y=ki(ki({},n0(f)),{mutate:function(m,w){return p(m,ki(ki({},w),{forceRevalidate:!0}))}});return y}function P7(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}const Pi={VALIDATING:"VALIDATING",VALIDATING_HAS_DATA:"VALIDATING_HAS_DATA",PENDING:"PENDING",SUCCESS:"SUCCESS",SUCCESS_HAS_DATA:"SUCCESS_HAS_DATA",ERROR:"ERROR",STALE_IF_ERROR:"STALE_IF_ERROR"};function jn(){return{useRequest:(a,o,l)=>{const{data:u,error:c,isValidating:h,mutate:d}=S7(a,o,{revalidateDebounce:500,dedupingInterval:100,...l});return{data:F(()=>{var p;return(p=u.value)==null?void 0:p.data}),response:u,error:c,isValidating:h,revalidate:d}},useDebounce:(a,o=300)=>{let l;const u=j(a);function c(h){clearTimeout(l),l=setTimeout(()=>{u.value=h},o)}return{query:u,search:c}},clientSideSorter:(a,o,l,u)=>{let c=null;const h=(f,p)=>typeof p=="number"&&!Number.isNaN(f)&&!Number.isNaN(p)?f-p:0,d=(f,p)=>f.localeCompare(p);return a!==o?(c=(f,p)=>{const g=m=>m==null?"":typeof m=="number"?m:Array.isArray(m)&&m.length&&typeof m[0]=="number"?m[0]:String(m),v=g(f[a]),y=g(p[a]);switch(typeof v){case"number":return h(v,y);default:return d(v,y)}},u.sort(c),o=a,l="ascending"):(u.reverse(),l==="descending"||l==="desc"?l="ascending":l="descending"),{previousKey:o,sortOrder:l}},useSwrvStates:(a,o,l)=>{const u=j(Pi.PENDING);return h0(()=>{var c,h,d,f,p,g,v,y,m;const w=((h=(c=a.value)==null?void 0:c.data)==null?void 0:h.length)||((p=(f=(d=a.value)==null?void 0:d.data)==null?void 0:f.data)==null?void 0:p.length)||!((v=(g=a.value)==null?void 0:g.data)!=null&&v.data)&&typeof((y=a.value)==null?void 0:y.data)=="object"&&Object.keys((m=a.value)==null?void 0:m.data).length;if(a.value&&w&&l.value){u.value=Pi.VALIDATING_HAS_DATA;return}if(a.value&&l.value){u.value=Pi.VALIDATING;return}if(a.value&&o.value){u.value=Pi.STALE_IF_ERROR;return}if(a.value===void 0&&!o.value){u.value=Pi.PENDING;return}if(a.value&&!o.value&&w){u.value=Pi.SUCCESS_HAS_DATA;return}if(a.value&&!o.value){u.value=Pi.SUCCESS;return}a.value===void 0&&o&&(u.value=Pi.ERROR)}),{state:u,swrvState:Pi}},getSizeFromString:a=>a==="auto"||a.endsWith("%")||a.endsWith("vw")||a.endsWith("vh")||a.endsWith("px")?a:a+"px",cloneDeep:a=>{if(!!a)return JSON.parse(JSON.stringify(a))}}}const{getSizeFromString:Lc}=jn(),Fc={auto:"auto",top:"top",topStart:"top-start",topEnd:"top-end",left:"left",leftStart:"left-start",leftEnd:"left-end",right:"right",rightStart:"right-start",rightEnd:"right-end",bottom:"bottom",bottomStart:"bottom-start",bottomEnd:"bottom-end"},C7=oe({name:"KPop",components:{KButton:gt},expose:["updatePopper"],props:{target:{type:String,default:""},tag:{type:String,default:"div"},buttonText:{type:String,default:"OK"},title:{type:String,default:""},placement:{type:String,validator:t=>Object.keys(Fc).includes(t),default:"auto"},trigger:{type:String,default:"click",validator:t=>["click","hover"].includes(t)},width:{type:String,default:"200"},maxWidth:{type:String,default:"350"},maxHeight:{type:String,default:"auto"},popoverClasses:{type:String,default:""},popoverTransitions:{type:String,default:"fade"},popoverTimeout:{type:Number,default:300},hidePopover:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},isSvg:{type:Boolean,default:!1},hideCaret:{type:Boolean,default:!1},onPopoverClick:{type:Function,default:null},positionFixed:{type:Boolean,default:!1},testMode:{type:Boolean,default:!1}},emits:["opened","closed"],data(){return{popper:null,reference:null,isOpen:!1,popoverId:this.testMode?"test-popover-id-1234":Ut(),targetId:this.testMode?"test-target-id-1234":Ut()}},computed:{popoverStyle:function(){return{width:Lc(this.width),maxWidth:Lc(this.maxWidth),maxHeight:Lc(this.maxHeight)}},popoverClassObj:function(){return[this.popoverClasses,{"hide-caret":this.hideCaret},{"pb-0":this.$slots.actions}]}},watch:{hidePopover:function(){this.isOpen&&this.hidePopper()},disabled:{handler(){this.isOpen&&this.hidePopper()},immediate:!0}},mounted(){this.$el.children?this.reference=this.$el.children[0]:this.reference=this.$el,this.bindEvents()},beforeUnmount(){const t=this.$refs.popper;document.documentElement.removeEventListener("click",this.handleClick),t&&t.removeEventListener("click",this.showPopper),this.reference&&(this.reference.removeEventListener("click",this.handleClick),this.reference.removeEventListener("mouseenter",this.createInstance),this.reference.removeEventListener("mouseleave",this.toggle),this.reference.removeEventListener("focus",this.createInstance),this.reference.removeEventListener("blur",this.toggle)),this.destroy()},methods:{hidePopper(){this.isOpen=!1,this.timer=setTimeout(()=>{this.$emit("closed"),this.destroy()},this.popoverTimeout)},showPopper(){this.disabled||(this.isOpen=!0,this.timer&&clearTimeout(this.timer),this.popperTimer&&clearTimeout(this.popperTimer),this.$emit("opened"))},updatePopper(){this.popper&&typeof this.popper.update=="function"&&this.popper.update()},async createInstance(){this.destroy(),this.showPopper();const t=Fc[this.placement]?Fc[this.placement]:"auto",r=this.$refs.popper,e=this.target&&!this.isSvg&&!!document.querySelector(this.target)?document.querySelector(this.target):document.getElementById(this.targetId);e&&(e.appendChild(r),e.style.overflow="auto"),await this.$nextTick(),this.popper=new d7(this.reference,r,{placement:t,positionFixed:this.positionFixed,modifiers:{preventOverflow:{enabled:!0,boundariesElement:"viewport"}}}),await this.$nextTick(),e&&e.style.removeProperty("overflow"),this.updatePopper()},handleClick(t){if(t.stopPropagation(),this.reference&&this.reference.contains(t.target))this.isOpen?this.hidePopper():this.createInstance();else if(this.$refs.popper&&this.$refs.popper.contains(t.target)&&this.onPopoverClick){const r=this.onPopoverClick();r!==void 0&&(r?this.showPopper():this.hidePopper())}else this.$refs.popper&&this.$refs.popper.contains(t.target)?this.showPopper():this.isOpen&&this.hidePopper()},bindEvents(){const t=this.$refs.popper;t&&(this.trigger==="hover"&&(this.reference.addEventListener("mouseenter",this.createInstance),this.reference.addEventListener("focus",this.createInstance),this.reference.addEventListener("mouseleave",this.hidePopper),this.reference.addEventListener("blur",this.hidePopper),t.addEventListener("mouseenter",this.showPopper),t.addEventListener("focus",this.showPopper),t.addEventListener("mouseleave",this.hidePopper),t.addEventListener("blur",this.hidePopper)),t.addEventListener("click",this.showPopper),document.documentElement.addEventListener("click",this.handleClick))},destroy(){this.popper&&(this.isOpen=!1,this.popper.disableEventListeners(),this.popper=null)}}}),O7={key:0},k7=["id"],T7={key:0,class:"k-popover-header d-flex"},E7={key:0,class:"k-popover-title"},x7={key:1,class:"k-popover-actions"},D7={class:"k-popover-content"},I7={key:1,class:"k-popover-footer"},M7=["id"],A7={key:0,class:"k-popover-header d-flex"},$7={key:0,class:"k-popover-title"},B7={key:1,class:"k-popover-actions"},L7={class:"k-popover-content"},F7={key:1,class:"k-popover-footer"};function R7(t,r,e,i,n,s){const a=be("KButton");return S(),fe(xs(t.tag),{id:t.$slots.default?t.targetId:null,ref:"root","aria-expanded":t.$slots.default&&!!t.isOpen||void 0,"aria-controls":t.$slots.default?t.popoverId:void 0,role:t.$slots.default?"button":null,onKeydown:[r[0]||(r[0]=$i(o=>t.handleClick(o),["enter"])),$i(t.hidePopper,["esc"])]},{default:se(()=>[de(t.$slots,"default",{},()=>[Z(a,{id:t.targetId,"aria-expanded":!!t.isOpen||void 0,"aria-controls":t.popoverId||void 0,"data-testid":"kpop-button"},{default:se(()=>[he(re(t.buttonText),1)]),_:1},8,["id","aria-expanded","aria-controls"])],!0),t.isSvg?(S(),I("div",O7,[(S(),I("foreignObject",null,[_p(T("div",{id:t.popoverId,ref:"popper",style:cr(t.popoverStyle),class:ue([t.popoverClassObj,"k-popover"]),role:"region"},[t.$slots.title||t.title||t.$slots.actions?(S(),I("div",T7,[t.$slots.title||t.title?(S(),I("div",E7,[de(t.$slots,"title",{},()=>[he(re(t.title),1)],!0)])):ne("",!0),t.$slots.actions?(S(),I("div",x7,[de(t.$slots,"actions",{},void 0,!0)])):ne("",!0)])):ne("",!0),T("div",D7,[de(t.$slots,"content",{},void 0,!0)]),t.$slots.footer?(S(),I("div",I7,[de(t.$slots,"footer",{},void 0,!0)])):ne("",!0)],14,k7),[[Kp,t.isOpen]])]))])):(S(),fe(Ds,{key:1,name:"fade"},{default:se(()=>[_p(T("div",{id:t.popoverId,ref:"popper",style:cr(t.popoverStyle),class:ue([t.popoverClassObj,"k-popover"]),role:"region"},[t.$slots.title||t.title||t.$slots.actions?(S(),I("div",A7,[t.$slots.title||t.title?(S(),I("div",$7,[de(t.$slots,"title",{},()=>[he(re(t.title),1)],!0)])):ne("",!0),t.$slots.actions?(S(),I("div",B7,[de(t.$slots,"actions",{},void 0,!0)])):ne("",!0)])):ne("",!0),T("div",L7,[de(t.$slots,"content",{},void 0,!0)]),t.$slots.footer?(S(),I("div",F7,[de(t.$slots,"footer",{},void 0,!0)])):ne("",!0)],14,M7),[[Kp,t.isOpen]])]),_:3}))]),_:3},40,["id","aria-expanded","aria-controls","role","onKeydown"])}var Bs=ze(C7,[["render",R7],["__scopeId","data-v-0eaad51f"]]);const V7=oe({name:"KTooltip",components:{KPop:Bs},inheritAttrs:!1,props:{label:{type:String,required:!1,default:""},placement:{type:String,default:"bottom",validator:t=>["top","bottom","left","right"].includes(t)},positionFixed:{type:Boolean,default:!1},maxWidth:{type:String,default:"auto"},testMode:{type:Boolean,default:!1}},setup(t){const r=j(""),e=F(()=>({top:"mb-2",right:"ml-2",bottom:"mt-2",left:"mr-2"})[t.placement]);return{className:r,computedClass:e}}}),N7={role:"tooltip"};function j7(t,r,e,i,n,s){const a=be("KPop");return S(),fe(a,Tt(t.$attrs,{"hide-caret":"",trigger:"hover",placement:t.placement,"popover-classes":`k-tooltip ${t.computedClass} ${t.className}`,"position-fixed":t.positionFixed,"max-width":t.maxWidth,width:"auto","test-mode":!!t.testMode||void 0}),{content:se(()=>[T("div",N7,[de(t.$slots,"content",{label:t.label},()=>[he(re(t.label),1)])])]),default:se(()=>[de(t.$slots,"default")]),_:3},16,["placement","popover-classes","position-fixed","max-width","test-mode"])}var _o=ze(V7,[["render",j7]]);const H7={default:"default",success:"success",danger:"danger",info:"info",warning:"warning",custom:"custom"},z7={rounded:"rounded",rectangular:"rectangular"},U7=oe({name:"KBadge",components:{KButton:gt,KIcon:Xe,KTooltip:_o},props:{appearance:{type:String,required:!1,validator:t=>Object.keys({...H7}).includes(t),default:"default"},truncationTooltip:{type:String,default:""},forceTooltip:{type:Boolean,default:!1},dismissable:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1},shape:{type:String,required:!1,validator:t=>Object.keys({...z7}).includes(t),default:"rounded"},color:{type:String,required:!1,default:""},backgroundColor:{type:String,required:!1,default:""}},emits:["dismissed"],setup(t,{emit:r}){const e=j(null),i=j(!1),n=()=>{i.value=!0,r("dismissed")},s=j(0),a=j(0),o=j(!1),l=F(()=>s.value{var u,c;e.value&&!o.value&&(s.value=(u=e.value)==null?void 0:u.offsetWidth,a.value=(c=e.value)==null?void 0:c.scrollWidth,o.value=!0)}),{badgeText:e,isDismissed:i,handleDismiss:n,isTruncated:l}}}),K7=["tabindex","aria-hidden"],W7={ref:"badgeText",class:"k-badge-text truncate"};function Y7(t,r,e,i,n,s){const a=be("KIcon"),o=be("KButton");return t.isDismissed?ne("",!0):(S(),I("div",{key:0,style:cr(t.color&&t.backgroundColor&&{backgroundColor:t.backgroundColor,color:t.color}),tabindex:t.hidden?-1:0,"aria-hidden":t.hidden?!0:void 0,class:ue([[`k-badge-${t.appearance}`,`k-badge-${t.shape}`],"k-badge d-inline-flex"])},[(S(),fe(xs(t.truncationTooltip&&(t.forceTooltip||t.isTruncated)?"KTooltip":"div"),{class:"k-badge-text truncate"},{content:se(()=>[he(re(t.truncationTooltip),1)]),default:se(()=>[T("div",W7,[de(t.$slots,"default",{},void 0,!0)],512)]),_:3})),t.dismissable?(S(),fe(o,{key:0,"is-rounded":t.shape==="rounded",tabindex:t.hidden?-1:0,"aria-hidden":t.hidden?!0:void 0,class:"k-badge-dismiss-button ml-1","data-testid":"k-badge-dismiss-button",onClick:t.handleDismiss},{default:se(()=>[Z(a,{icon:"close",color:t.color,size:"10",title:"Remove"},null,8,["color"])]),_:1},8,["is-rounded","tabindex","aria-hidden","onClick"])):ne("",!0)],14,K7))}var G7=ze(U7,[["render",Y7],["__scopeId","data-v-37d3a284"]]);const Z7=oe({name:"KBreadcrumbs",components:{KIcon:Xe},inheritAttrs:!1,props:{items:{type:Array,default:[],required:!0,validator:t=>t&&t.length>0},itemMaxWidth:{type:String,required:!1,default:"38ch"}}}),q7=["title","href"];function Q7(t,r,e,i,n,s){const a=be("KIcon"),o=be("router-link");return S(),I("ul",Tt({class:"k-breadcrumbs"},t.$attrs),[(S(!0),I(Ue,null,Rt(t.items,l=>(S(),I("li",{key:l.key||l.text,class:"k-breadcrumbs-item truncate"},[typeof l.to=="object"?(S(),fe(o,{key:0,to:l.to,title:l.title,class:ue({"no-underline":!l.text})},{default:se(()=>[l.icon?(S(),fe(a,{key:0,icon:l.icon,class:ue(["k-breadcrumb-icon",{"has-no-text":!l.text}]),"hide-title":"",size:"20",color:"var(--grey-500)"},null,8,["icon","class"])):ne("",!0),l.text?(S(),I("span",{key:1,style:cr({maxWidth:l.maxWidth||t.itemMaxWidth}),class:"k-breadcrumb-text truncate"},re(l.text),5)):ne("",!0)]),_:2},1032,["to","title","class"])):(S(),I("a",{key:1,title:l.title,href:l.to,class:ue({"no-underline":!l.text}),target:"_blank"},[l.icon?(S(),fe(a,{key:0,icon:l.icon,class:ue(["k-breadcrumb-icon",{"has-no-text":!l.text}]),"hide-title":"",size:"20",color:"var(--grey-500)"},null,8,["icon","class"])):ne("",!0),l.text?(S(),I("span",{key:1,style:cr({maxWidth:l.maxWidth||t.itemMaxWidth}),class:"k-breadcrumb-text truncate"},re(l.text),5)):ne("",!0)],10,q7)),Z(a,{"hide-title":"",icon:"chevronRight",size:"15",color:"var(--grey-500)"})]))),128))],16)}var k1=ze(Z7,[["render",Q7],["__scopeId","data-v-a87af1c0"]]);oe({name:"Krumbs",setup(t,{attrs:r,slots:e,emit:i}){return Bt(()=>console.warn(`The Kongponents 'Krumbs' component is deprecated and will be removed in a future release. + */var mo=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",xC=function(){for(var t=["Edge","Trident","Firefox"],r=0;r=0)return 1;return 0}();function DC(t){var r=!1;return function(){r||(r=!0,window.Promise.resolve().then(function(){r=!1,t()}))}}function IC(t){var r=!1;return function(){r||(r=!0,setTimeout(function(){r=!1,t()},xC))}}var MC=mo&&window.Promise,AC=MC?DC:IC;function u1(t){var r={};return t&&r.toString.call(t)==="[object Function]"}function Nn(t,r){if(t.nodeType!==1)return[];var e=t.ownerDocument.defaultView,i=e.getComputedStyle(t,null);return r?i[r]:i}function df(t){return t.nodeName==="HTML"?t:t.parentNode||t.host}function yo(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var r=Nn(t),e=r.overflow,i=r.overflowX,n=r.overflowY;return/(auto|scroll|overlay)/.test(e+n+i)?t:yo(df(t))}function c1(t){return t&&t.referenceNode?t.referenceNode:t}var Ng=mo&&!!(window.MSInputMethodContext&&document.documentMode),jg=mo&&/MSIE 10/.test(navigator.userAgent);function $s(t){return t===11?Ng:t===10?jg:Ng||jg}function _s(t){if(!t)return document.documentElement;for(var r=$s(10)?document.body:null,e=t.offsetParent||null;e===r&&t.nextElementSibling;)e=(t=t.nextElementSibling).offsetParent;var i=e&&e.nodeName;return!i||i==="BODY"||i==="HTML"?t?t.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(e.nodeName)!==-1&&Nn(e,"position")==="static"?_s(e):e}function $C(t){var r=t.nodeName;return r==="BODY"?!1:r==="HTML"||_s(t.firstElementChild)===t}function Kh(t){return t.parentNode!==null?Kh(t.parentNode):t}function eu(t,r){if(!t||!t.nodeType||!r||!r.nodeType)return document.documentElement;var e=t.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_FOLLOWING,i=e?t:r,n=e?r:t,s=document.createRange();s.setStart(i,0),s.setEnd(n,0);var a=s.commonAncestorContainer;if(t!==a&&r!==a||i.contains(n))return $C(a)?a:_s(a);var o=Kh(t);return o.host?eu(o.host,r):eu(t,Kh(r).host)}function ws(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",e=r==="top"?"scrollTop":"scrollLeft",i=t.nodeName;if(i==="BODY"||i==="HTML"){var n=t.ownerDocument.documentElement,s=t.ownerDocument.scrollingElement||n;return s[e]}return t[e]}function BC(t,r){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=ws(r,"top"),n=ws(r,"left"),s=e?-1:1;return t.top+=i*s,t.bottom+=i*s,t.left+=n*s,t.right+=n*s,t}function Hg(t,r){var e=r==="x"?"Left":"Top",i=e==="Left"?"Right":"Bottom";return parseFloat(t["border"+e+"Width"])+parseFloat(t["border"+i+"Width"])}function zg(t,r,e,i){return Math.max(r["offset"+t],r["scroll"+t],e["client"+t],e["offset"+t],e["scroll"+t],$s(10)?parseInt(e["offset"+t])+parseInt(i["margin"+(t==="Height"?"Top":"Left")])+parseInt(i["margin"+(t==="Height"?"Bottom":"Right")]):0)}function h1(t){var r=t.body,e=t.documentElement,i=$s(10)&&getComputedStyle(e);return{height:zg("Height",r,e,i),width:zg("Width",r,e,i)}}var LC=function(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")},FC=function(){function t(r,e){for(var i=0;i2&&arguments[2]!==void 0?arguments[2]:!1,i=$s(10),n=r.nodeName==="HTML",s=Wh(t),a=Wh(r),o=yo(t),l=Nn(r),u=parseFloat(l.borderTopWidth),c=parseFloat(l.borderLeftWidth);e&&n&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=dn({top:s.top-a.top-u,left:s.left-a.left-c,width:s.width,height:s.height});if(h.marginTop=0,h.marginLeft=0,!i&&n){var d=parseFloat(l.marginTop),f=parseFloat(l.marginLeft);h.top-=u-d,h.bottom-=u-d,h.left-=c-f,h.right-=c-f,h.marginTop=d,h.marginLeft=f}return(i&&!e?r.contains(o):r===o&&o.nodeName!=="BODY")&&(h=BC(h,r)),h}function RC(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,e=t.ownerDocument.documentElement,i=ff(t,e),n=Math.max(e.clientWidth,window.innerWidth||0),s=Math.max(e.clientHeight,window.innerHeight||0),a=r?0:ws(e),o=r?0:ws(e,"left"),l={top:a-i.top+i.marginTop,left:o-i.left+i.marginLeft,width:n,height:s};return dn(l)}function d1(t){var r=t.nodeName;if(r==="BODY"||r==="HTML")return!1;if(Nn(t,"position")==="fixed")return!0;var e=df(t);return e?d1(e):!1}function f1(t){if(!t||!t.parentElement||$s())return document.documentElement;for(var r=t.parentElement;r&&Nn(r,"transform")==="none";)r=r.parentElement;return r||document.documentElement}function pf(t,r,e,i){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,s={top:0,left:0},a=n?f1(t):eu(t,c1(r));if(i==="viewport")s=RC(a,n);else{var o=void 0;i==="scrollParent"?(o=yo(df(r)),o.nodeName==="BODY"&&(o=t.ownerDocument.documentElement)):i==="window"?o=t.ownerDocument.documentElement:o=i;var l=ff(o,a,n);if(o.nodeName==="HTML"&&!d1(a)){var u=h1(t.ownerDocument),c=u.height,h=u.width;s.top+=l.top-l.marginTop,s.bottom=c+l.top,s.left+=l.left-l.marginLeft,s.right=h+l.left}else s=l}e=e||0;var d=typeof e=="number";return s.left+=d?e:e.left||0,s.top+=d?e:e.top||0,s.right-=d?e:e.right||0,s.bottom-=d?e:e.bottom||0,s}function VC(t){var r=t.width,e=t.height;return r*e}function p1(t,r,e,i,n){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(t.indexOf("auto")===-1)return t;var a=pf(e,i,s,n),o={top:{width:a.width,height:r.top-a.top},right:{width:a.right-r.right,height:a.height},bottom:{width:a.width,height:a.bottom-r.bottom},left:{width:r.left-a.left,height:a.height}},l=Object.keys(o).map(function(d){return Ir({key:d},o[d],{area:VC(o[d])})}).sort(function(d,f){return f.area-d.area}),u=l.filter(function(d){var f=d.width,p=d.height;return f>=e.clientWidth&&p>=e.clientHeight}),c=u.length>0?u[0].key:l[0].key,h=t.split("-")[1];return c+(h?"-"+h:"")}function g1(t,r,e){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,n=i?f1(r):eu(r,c1(e));return ff(e,n,i)}function v1(t){var r=t.ownerDocument.defaultView,e=r.getComputedStyle(t),i=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0),s={width:t.offsetWidth+n,height:t.offsetHeight+i};return s}function tu(t){var r={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(e){return r[e]})}function m1(t,r,e){e=e.split("-")[0];var i=v1(t),n={width:i.width,height:i.height},s=["right","left"].indexOf(e)!==-1,a=s?"top":"left",o=s?"left":"top",l=s?"height":"width",u=s?"width":"height";return n[a]=r[a]+r[l]/2-i[l]/2,e===o?n[o]=r[o]-i[u]:n[o]=r[tu(o)],n}function bo(t,r){return Array.prototype.find?t.find(r):t.filter(r)[0]}function NC(t,r,e){if(Array.prototype.findIndex)return t.findIndex(function(n){return n[r]===e});var i=bo(t,function(n){return n[r]===e});return t.indexOf(i)}function y1(t,r,e){var i=e===void 0?t:t.slice(0,NC(t,"name",e));return i.forEach(function(n){n.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var s=n.function||n.fn;n.enabled&&u1(s)&&(r.offsets.popper=dn(r.offsets.popper),r.offsets.reference=dn(r.offsets.reference),r=s(r,n))}),r}function jC(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=g1(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=p1(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=m1(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=y1(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function b1(t,r){return t.some(function(e){var i=e.name,n=e.enabled;return n&&i===r})}function gf(t){for(var r=[!1,"ms","Webkit","Moz","O"],e=t.charAt(0).toUpperCase()+t.slice(1),i=0;ia[f]&&(t.offsets.popper[h]+=o[h]+p-a[f]),t.offsets.popper=dn(t.offsets.popper);var g=o[h]+o[u]/2-p/2,v=Nn(t.instance.popper),y=parseFloat(v["margin"+c]),m=parseFloat(v["border"+c+"Width"]),w=g-t.offsets.popper[h]-y-m;return w=Math.max(Math.min(a[u]-p,w),0),t.arrowElement=i,t.offsets.arrow=(e={},Ss(e,h,Math.round(w)),Ss(e,d,""),e),t}function e7(t){return t==="end"?"start":t==="start"?"end":t}var P1=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Ic=P1.slice(3);function Ug(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,e=Ic.indexOf(t),i=Ic.slice(e+1).concat(Ic.slice(0,e));return r?i.reverse():i}var Mc={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function t7(t,r){if(b1(t.instance.modifiers,"inner")||t.flipped&&t.placement===t.originalPlacement)return t;var e=pf(t.instance.popper,t.instance.reference,r.padding,r.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],n=tu(i),s=t.placement.split("-")[1]||"",a=[];switch(r.behavior){case Mc.FLIP:a=[i,n];break;case Mc.CLOCKWISE:a=Ug(i);break;case Mc.COUNTERCLOCKWISE:a=Ug(i,!0);break;default:a=r.behavior}return a.forEach(function(o,l){if(i!==o||a.length===l+1)return t;i=t.placement.split("-")[0],n=tu(i);var u=t.offsets.popper,c=t.offsets.reference,h=Math.floor,d=i==="left"&&h(u.right)>h(c.left)||i==="right"&&h(u.left)h(c.top)||i==="bottom"&&h(u.top)h(e.right),g=h(u.top)h(e.bottom),y=i==="left"&&f||i==="right"&&p||i==="top"&&g||i==="bottom"&&v,m=["top","bottom"].indexOf(i)!==-1,w=!!r.flipVariations&&(m&&s==="start"&&f||m&&s==="end"&&p||!m&&s==="start"&&g||!m&&s==="end"&&v),C=!!r.flipVariationsByContent&&(m&&s==="start"&&p||m&&s==="end"&&f||!m&&s==="start"&&v||!m&&s==="end"&&g),P=w||C;(d||y||P)&&(t.flipped=!0,(d||y)&&(i=a[l+1]),P&&(s=e7(s)),t.placement=i+(s?"-"+s:""),t.offsets.popper=Ir({},t.offsets.popper,m1(t.instance.popper,t.offsets.reference,t.placement)),t=y1(t.instance.modifiers,t,"flip"))}),t}function r7(t){var r=t.offsets,e=r.popper,i=r.reference,n=t.placement.split("-")[0],s=Math.floor,a=["top","bottom"].indexOf(n)!==-1,o=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return e[o]s(i[o])&&(t.offsets.popper[l]=s(i[o])),t}function i7(t,r,e,i){var n=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),s=+n[1],a=n[2];if(!s)return t;if(a.indexOf("%")===0){var o=void 0;switch(a){case"%p":o=e;break;case"%":case"%r":default:o=i}var l=dn(o);return l[r]/100*s}else if(a==="vh"||a==="vw"){var u=void 0;return a==="vh"?u=Math.max(document.documentElement.clientHeight,window.innerHeight||0):u=Math.max(document.documentElement.clientWidth,window.innerWidth||0),u/100*s}else return s}function n7(t,r,e,i){var n=[0,0],s=["right","left"].indexOf(i)!==-1,a=t.split(/(\+|\-)/).map(function(c){return c.trim()}),o=a.indexOf(bo(a,function(c){return c.search(/,|\s/)!==-1}));a[o]&&a[o].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=o!==-1?[a.slice(0,o).concat([a[o].split(l)[0]]),[a[o].split(l)[1]].concat(a.slice(o+1))]:[a];return u=u.map(function(c,h){var d=(h===1?!s:s)?"height":"width",f=!1;return c.reduce(function(p,g){return p[p.length-1]===""&&["+","-"].indexOf(g)!==-1?(p[p.length-1]=g,f=!0,p):f?(p[p.length-1]+=g,f=!1,p):p.concat(g)},[]).map(function(p){return i7(p,d,r,e)})}),u.forEach(function(c,h){c.forEach(function(d,f){vf(d)&&(n[h]+=d*(c[f-1]==="-"?-1:1))})}),n}function s7(t,r){var e=r.offset,i=t.placement,n=t.offsets,s=n.popper,a=n.reference,o=i.split("-")[0],l=void 0;return vf(+e)?l=[+e,0]:l=n7(e,s,a,o),o==="left"?(s.top+=l[0],s.left-=l[1]):o==="right"?(s.top+=l[0],s.left+=l[1]):o==="top"?(s.left+=l[0],s.top-=l[1]):o==="bottom"&&(s.left+=l[0],s.top+=l[1]),t.popper=s,t}function a7(t,r){var e=r.boundariesElement||_s(t.instance.popper);t.instance.reference===e&&(e=_s(e));var i=gf("transform"),n=t.instance.popper.style,s=n.top,a=n.left,o=n[i];n.top="",n.left="",n[i]="";var l=pf(t.instance.popper,t.instance.reference,r.padding,e,t.positionFixed);n.top=s,n.left=a,n[i]=o,r.boundaries=l;var u=r.priority,c=t.offsets.popper,h={primary:function(f){var p=c[f];return c[f]l[f]&&!r.escapeWithReference&&(g=Math.min(c[p],l[f]-(f==="right"?c.width:c.height))),Ss({},p,g)}};return u.forEach(function(d){var f=["left","top"].indexOf(d)!==-1?"primary":"secondary";c=Ir({},c,h[f](d))}),t.offsets.popper=c,t}function o7(t){var r=t.placement,e=r.split("-")[0],i=r.split("-")[1];if(i){var n=t.offsets,s=n.reference,a=n.popper,o=["bottom","top"].indexOf(e)!==-1,l=o?"left":"top",u=o?"width":"height",c={start:Ss({},l,s[l]),end:Ss({},l,s[l]+s[u]-a[u])};t.offsets.popper=Ir({},a,c[i])}return t}function l7(t){if(!S1(t.instance.modifiers,"hide","preventOverflow"))return t;var r=t.offsets.reference,e=bo(t.instance.modifiers,function(i){return i.name==="preventOverflow"}).boundaries;if(r.bottome.right||r.top>e.bottom||r.right2&&arguments[2]!==void 0?arguments[2]:{};LC(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=AC(this.update.bind(this)),this.options=Ir({},t.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=r&&r.jquery?r[0]:r,this.popper=e&&e.jquery?e[0]:e,this.options.modifiers={},Object.keys(Ir({},t.Defaults.modifiers,n.modifiers)).forEach(function(a){i.options.modifiers[a]=Ir({},t.Defaults.modifiers[a]||{},n.modifiers?n.modifiers[a]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(a){return Ir({name:a},i.options.modifiers[a])}).sort(function(a,o){return a.order-o.order}),this.modifiers.forEach(function(a){a.enabled&&u1(a.onLoad)&&a.onLoad(i.reference,i.popper,i.options,a,i.state)}),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return FC(t,[{key:"update",value:function(){return jC.call(this)}},{key:"destroy",value:function(){return HC.call(this)}},{key:"enableEventListeners",value:function(){return UC.call(this)}},{key:"disableEventListeners",value:function(){return WC.call(this)}}]),t}();Ru.Utils=(typeof window<"u"?window:global).PopperUtils;Ru.placements=P1;Ru.Defaults=h7;var d7=Ru,Ac=new WeakMap,Kg=0;function f7(t){if(!t.length)return"";for(var r="arg",e=0;e=e.expiresAt;a&&n.delete(i)},r)},t.prototype.delete=function(r){this.items.delete(r)},t}();function g7(){return typeof navigator.onLine<"u"?navigator.onLine:!0}function v7(){return typeof document<"u"&&typeof document.visibilityState<"u"?document.visibilityState!=="hidden":!0}var m7=function(t){return fetch(t).then(function(r){return r.json()})},$c={isOnline:g7,isDocumentVisible:v7,fetcher:m7},ki=globalThis&&globalThis.__assign||function(){return ki=Object.assign||function(t){for(var r,e=1,i=arguments.length;e0&&s[s.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]0)&&!(n=i.next()).done;)s.push(n.value)}catch(o){a={error:o}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(a)throw a.error}}return s},b7=globalThis&&globalThis.__spreadArray||function(t,r,e){if(e||arguments.length===2)for(var i=0,n=r.length,s;i0?e+n:e)}}function w7(t,r,e){if(!!e.isDocumentVisible()&&!(e.errorRetryCount!==void 0&&r>e.errorRetryCount)){var i=Math.min(r||0,e.errorRetryCount),n=i*e.errorRetryInterval;setTimeout(function(){t(null,{errorRetryCount:i+1,shouldRetryOnError:!0})},n)}}var Wg=function(t,r,e,i){return e===void 0&&(e=C1),i===void 0&&(i=O1.ttl),ts(void 0,void 0,void 0,function(){var n,s,a,o,l,u,c;return rs(this,function(h){switch(h.label){case 0:if(!P7(r))return[3,5];h.label=1;case 1:return h.trys.push([1,3,,4]),[4,r];case 2:return n=h.sent(),[3,4];case 3:return o=h.sent(),s=o,[3,4];case 4:return[3,6];case 5:n=r,h.label=6;case 6:return a=!1,l={data:n,error:s,isValidating:a},typeof n<"u"&&e.set(t,l,i),u=ru.get(t),u&&u.data.length&&(c=u.data.filter(function(d){return d.key===t}),c.forEach(function(d,f){typeof l.data<"u"&&(d.data=l.data),d.error=l.error,d.isValidating=l.isValidating;var p=f===c.length-1;p||delete c[f]}),c=c.filter(Boolean)),[2,l]}})})};function S7(){for(var t=this,r=[],e=0;e=1&&(i=r[0]),r.length>=2&&(n=r[1]),r.length>2&&(s=ki(ki({},s),r[2]));var h=c?s.serverTTL:s.ttl,d=typeof i=="function"?i:j(i);typeof n>"u"&&(n=s.fetcher);var f=null;f||(f=gi({data:void 0,error:void 0,isValidating:!0,key:null}));var p=function(m,w){return ts(t,void 0,void 0,function(){var C,P,T,V,D,R,Q,ge=this;return rs(this,function(H){switch(H.label){case 0:return C=f.data===void 0,P=d.value,P?(T=s.cache.get(P),V=T&&T.data,f.isValidating=!0,V&&(f.data=V.data,f.error=V.error),D=m||n,!D||!s.isDocumentVisible()&&!C||(w==null?void 0:w.forceRevalidate)!==void 0&&!(w!=null&&w.forceRevalidate)?(f.isValidating=!1,[2]):T&&(R=Boolean(Date.now()-T.createdAt>=s.dedupingInterval||(w==null?void 0:w.forceRevalidate)),!R)?(f.isValidating=!1,[2]):(Q=function(){return ts(ge,void 0,void 0,function(){var q,_e,we,$;return rs(this,function(te){switch(te.label){case 0:return q=Bc.get(P),q?[3,2]:(_e=Array.isArray(P)?P:[P],we=D.apply(void 0,b7([],y7(_e),!1)),Bc.set(P,we,s.dedupingInterval),[4,Wg(P,we,s.cache,h)]);case 1:return te.sent(),[3,4];case 2:return[4,Wg(P,q.data,s.cache,h)];case 3:te.sent(),te.label=4;case 4:return f.isValidating=!1,Bc.delete(P),f.error!==void 0&&($=!a&&s.shouldRetryOnError&&(w?w.shouldRetryOnError:!0),$&&w7(p,w?w.errorRetryCount:1,s)),[2]}})})},V&&s.revalidateDebounce?[4,setTimeout(function(){return ts(ge,void 0,void 0,function(){return rs(this,function(q){switch(q.label){case 0:return a?[3,2]:[4,Q()];case 1:q.sent(),q.label=2;case 2:return[2]}})})},s.revalidateDebounce)]:[3,2])):[2];case 1:return H.sent(),[3,4];case 2:return[4,Q()];case 3:H.sent(),H.label=4;case 4:return[2]}})})},g=function(){return ts(t,void 0,void 0,function(){return rs(this,function(m){return[2,p(null,{shouldRetryOnError:!1})]})})},v=null;Bt(function(){var m=function(){return ts(t,void 0,void 0,function(){return rs(this,function(w){switch(w.label){case 0:return!f.error&&s.isOnline()?[4,p()]:[3,2];case 1:return w.sent(),[3,3];case 2:v&&clearTimeout(v),w.label=3;case 3:return s.refreshInterval&&!a&&(v=setTimeout(m,s.refreshInterval)),[2]}})})};s.refreshInterval&&(v=setTimeout(m,s.refreshInterval)),s.revalidateOnFocus&&(document.addEventListener("visibilitychange",g,!1),window.addEventListener("focus",g,!1))}),Fi(function(){a=!0,v&&clearTimeout(v),s.revalidateOnFocus&&(document.removeEventListener("visibilitychange",g,!1),window.removeEventListener("focus",g,!1));var m=ru.get(d.value);m&&(m.data=m.data.filter(function(w){return w!==f}))});try{Ye(d,function(m){In(d)||(d.value=m),f.key=m,f.isValidating=Boolean(m),_7(d.value,f,h),!c&&!o&&d.value&&p(),o=!1},{immediate:!0})}catch{}var y=ki(ki({},n0(f)),{mutate:function(m,w){return p(m,ki(ki({},w),{forceRevalidate:!0}))}});return y}function P7(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}const Pi={VALIDATING:"VALIDATING",VALIDATING_HAS_DATA:"VALIDATING_HAS_DATA",PENDING:"PENDING",SUCCESS:"SUCCESS",SUCCESS_HAS_DATA:"SUCCESS_HAS_DATA",ERROR:"ERROR",STALE_IF_ERROR:"STALE_IF_ERROR"};function jn(){return{useRequest:(a,o,l)=>{const{data:u,error:c,isValidating:h,mutate:d}=S7(a,o,{revalidateDebounce:500,dedupingInterval:100,...l});return{data:F(()=>{var p;return(p=u.value)==null?void 0:p.data}),response:u,error:c,isValidating:h,revalidate:d}},useDebounce:(a,o=300)=>{let l;const u=j(a);function c(h){clearTimeout(l),l=setTimeout(()=>{u.value=h},o)}return{query:u,search:c}},clientSideSorter:(a,o,l,u)=>{let c=null;const h=(f,p)=>typeof p=="number"&&!Number.isNaN(f)&&!Number.isNaN(p)?f-p:0,d=(f,p)=>f.localeCompare(p);return a!==o?(c=(f,p)=>{const g=m=>m==null?"":typeof m=="number"?m:Array.isArray(m)&&m.length&&typeof m[0]=="number"?m[0]:String(m),v=g(f[a]),y=g(p[a]);switch(typeof v){case"number":return h(v,y);default:return d(v,y)}},u.sort(c),o=a,l="ascending"):(u.reverse(),l==="descending"||l==="desc"?l="ascending":l="descending"),{previousKey:o,sortOrder:l}},useSwrvStates:(a,o,l)=>{const u=j(Pi.PENDING);return h0(()=>{var c,h,d,f,p,g,v,y,m;const w=((h=(c=a.value)==null?void 0:c.data)==null?void 0:h.length)||((p=(f=(d=a.value)==null?void 0:d.data)==null?void 0:f.data)==null?void 0:p.length)||!((v=(g=a.value)==null?void 0:g.data)!=null&&v.data)&&typeof((y=a.value)==null?void 0:y.data)=="object"&&Object.keys((m=a.value)==null?void 0:m.data).length;if(a.value&&w&&l.value){u.value=Pi.VALIDATING_HAS_DATA;return}if(a.value&&l.value){u.value=Pi.VALIDATING;return}if(a.value&&o.value){u.value=Pi.STALE_IF_ERROR;return}if(a.value===void 0&&!o.value){u.value=Pi.PENDING;return}if(a.value&&!o.value&&w){u.value=Pi.SUCCESS_HAS_DATA;return}if(a.value&&!o.value){u.value=Pi.SUCCESS;return}a.value===void 0&&o&&(u.value=Pi.ERROR)}),{state:u,swrvState:Pi}},getSizeFromString:a=>a==="auto"||a.endsWith("%")||a.endsWith("vw")||a.endsWith("vh")||a.endsWith("px")?a:a+"px",cloneDeep:a=>{if(!!a)return JSON.parse(JSON.stringify(a))}}}const{getSizeFromString:Lc}=jn(),Fc={auto:"auto",top:"top",topStart:"top-start",topEnd:"top-end",left:"left",leftStart:"left-start",leftEnd:"left-end",right:"right",rightStart:"right-start",rightEnd:"right-end",bottom:"bottom",bottomStart:"bottom-start",bottomEnd:"bottom-end"},C7=ae({name:"KPop",components:{KButton:gt},expose:["updatePopper"],props:{target:{type:String,default:""},tag:{type:String,default:"div"},buttonText:{type:String,default:"OK"},title:{type:String,default:""},placement:{type:String,validator:t=>Object.keys(Fc).includes(t),default:"auto"},trigger:{type:String,default:"click",validator:t=>["click","hover"].includes(t)},width:{type:String,default:"200"},maxWidth:{type:String,default:"350"},maxHeight:{type:String,default:"auto"},popoverClasses:{type:String,default:""},popoverTransitions:{type:String,default:"fade"},popoverTimeout:{type:Number,default:300},hidePopover:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},isSvg:{type:Boolean,default:!1},hideCaret:{type:Boolean,default:!1},onPopoverClick:{type:Function,default:null},positionFixed:{type:Boolean,default:!1},testMode:{type:Boolean,default:!1}},emits:["opened","closed"],data(){return{popper:null,reference:null,isOpen:!1,popoverId:this.testMode?"test-popover-id-1234":Ut(),targetId:this.testMode?"test-target-id-1234":Ut()}},computed:{popoverStyle:function(){return{width:Lc(this.width),maxWidth:Lc(this.maxWidth),maxHeight:Lc(this.maxHeight)}},popoverClassObj:function(){return[this.popoverClasses,{"hide-caret":this.hideCaret},{"pb-0":this.$slots.actions}]}},watch:{hidePopover:function(){this.isOpen&&this.hidePopper()},disabled:{handler(){this.isOpen&&this.hidePopper()},immediate:!0}},mounted(){this.$el.children?this.reference=this.$el.children[0]:this.reference=this.$el,this.bindEvents()},beforeUnmount(){const t=this.$refs.popper;document.documentElement.removeEventListener("click",this.handleClick),t&&t.removeEventListener("click",this.showPopper),this.reference&&(this.reference.removeEventListener("click",this.handleClick),this.reference.removeEventListener("mouseenter",this.createInstance),this.reference.removeEventListener("mouseleave",this.toggle),this.reference.removeEventListener("focus",this.createInstance),this.reference.removeEventListener("blur",this.toggle)),this.destroy()},methods:{hidePopper(){this.isOpen=!1,this.timer=setTimeout(()=>{this.$emit("closed"),this.destroy()},this.popoverTimeout)},showPopper(){this.disabled||(this.isOpen=!0,this.timer&&clearTimeout(this.timer),this.popperTimer&&clearTimeout(this.popperTimer),this.$emit("opened"))},updatePopper(){this.popper&&typeof this.popper.update=="function"&&this.popper.update()},async createInstance(){this.destroy(),this.showPopper();const t=Fc[this.placement]?Fc[this.placement]:"auto",r=this.$refs.popper,e=this.target&&!this.isSvg&&!!document.querySelector(this.target)?document.querySelector(this.target):document.getElementById(this.targetId);e&&(e.appendChild(r),e.style.overflow="auto"),await this.$nextTick(),this.popper=new d7(this.reference,r,{placement:t,positionFixed:this.positionFixed,modifiers:{preventOverflow:{enabled:!0,boundariesElement:"viewport"}}}),await this.$nextTick(),e&&e.style.removeProperty("overflow"),this.updatePopper()},handleClick(t){if(t.stopPropagation(),this.reference&&this.reference.contains(t.target))this.isOpen?this.hidePopper():this.createInstance();else if(this.$refs.popper&&this.$refs.popper.contains(t.target)&&this.onPopoverClick){const r=this.onPopoverClick();r!==void 0&&(r?this.showPopper():this.hidePopper())}else this.$refs.popper&&this.$refs.popper.contains(t.target)?this.showPopper():this.isOpen&&this.hidePopper()},bindEvents(){const t=this.$refs.popper;t&&(this.trigger==="hover"&&(this.reference.addEventListener("mouseenter",this.createInstance),this.reference.addEventListener("focus",this.createInstance),this.reference.addEventListener("mouseleave",this.hidePopper),this.reference.addEventListener("blur",this.hidePopper),t.addEventListener("mouseenter",this.showPopper),t.addEventListener("focus",this.showPopper),t.addEventListener("mouseleave",this.hidePopper),t.addEventListener("blur",this.hidePopper)),t.addEventListener("click",this.showPopper),document.documentElement.addEventListener("click",this.handleClick))},destroy(){this.popper&&(this.isOpen=!1,this.popper.disableEventListeners(),this.popper=null)}}}),O7={key:0},k7=["id"],E7={key:0,class:"k-popover-header d-flex"},T7={key:0,class:"k-popover-title"},x7={key:1,class:"k-popover-actions"},D7={class:"k-popover-content"},I7={key:1,class:"k-popover-footer"},M7=["id"],A7={key:0,class:"k-popover-header d-flex"},$7={key:0,class:"k-popover-title"},B7={key:1,class:"k-popover-actions"},L7={class:"k-popover-content"},F7={key:1,class:"k-popover-footer"};function R7(t,r,e,i,n,s){const a=be("KButton");return S(),fe(xs(t.tag),{id:t.$slots.default?t.targetId:null,ref:"root","aria-expanded":t.$slots.default&&!!t.isOpen||void 0,"aria-controls":t.$slots.default?t.popoverId:void 0,role:t.$slots.default?"button":null,onKeydown:[r[0]||(r[0]=$i(o=>t.handleClick(o),["enter"])),$i(t.hidePopper,["esc"])]},{default:se(()=>[de(t.$slots,"default",{},()=>[Z(a,{id:t.targetId,"aria-expanded":!!t.isOpen||void 0,"aria-controls":t.popoverId||void 0,"data-testid":"kpop-button"},{default:se(()=>[ue(re(t.buttonText),1)]),_:1},8,["id","aria-expanded","aria-controls"])],!0),t.isSvg?(S(),I("div",O7,[(S(),I("foreignObject",null,[_p(E("div",{id:t.popoverId,ref:"popper",style:cr(t.popoverStyle),class:ce([t.popoverClassObj,"k-popover"]),role:"region"},[t.$slots.title||t.title||t.$slots.actions?(S(),I("div",E7,[t.$slots.title||t.title?(S(),I("div",T7,[de(t.$slots,"title",{},()=>[ue(re(t.title),1)],!0)])):ne("",!0),t.$slots.actions?(S(),I("div",x7,[de(t.$slots,"actions",{},void 0,!0)])):ne("",!0)])):ne("",!0),E("div",D7,[de(t.$slots,"content",{},void 0,!0)]),t.$slots.footer?(S(),I("div",I7,[de(t.$slots,"footer",{},void 0,!0)])):ne("",!0)],14,k7),[[Kp,t.isOpen]])]))])):(S(),fe(Ds,{key:1,name:"fade"},{default:se(()=>[_p(E("div",{id:t.popoverId,ref:"popper",style:cr(t.popoverStyle),class:ce([t.popoverClassObj,"k-popover"]),role:"region"},[t.$slots.title||t.title||t.$slots.actions?(S(),I("div",A7,[t.$slots.title||t.title?(S(),I("div",$7,[de(t.$slots,"title",{},()=>[ue(re(t.title),1)],!0)])):ne("",!0),t.$slots.actions?(S(),I("div",B7,[de(t.$slots,"actions",{},void 0,!0)])):ne("",!0)])):ne("",!0),E("div",L7,[de(t.$slots,"content",{},void 0,!0)]),t.$slots.footer?(S(),I("div",F7,[de(t.$slots,"footer",{},void 0,!0)])):ne("",!0)],14,M7),[[Kp,t.isOpen]])]),_:3}))]),_:3},40,["id","aria-expanded","aria-controls","role","onKeydown"])}var Bs=ze(C7,[["render",R7],["__scopeId","data-v-0eaad51f"]]);const V7=ae({name:"KTooltip",components:{KPop:Bs},inheritAttrs:!1,props:{label:{type:String,required:!1,default:""},placement:{type:String,default:"bottom",validator:t=>["top","bottom","left","right"].includes(t)},positionFixed:{type:Boolean,default:!1},maxWidth:{type:String,default:"auto"},testMode:{type:Boolean,default:!1}},setup(t){const r=j(""),e=F(()=>({top:"mb-2",right:"ml-2",bottom:"mt-2",left:"mr-2"})[t.placement]);return{className:r,computedClass:e}}}),N7={role:"tooltip"};function j7(t,r,e,i,n,s){const a=be("KPop");return S(),fe(a,Et(t.$attrs,{"hide-caret":"",trigger:"hover",placement:t.placement,"popover-classes":`k-tooltip ${t.computedClass} ${t.className}`,"position-fixed":t.positionFixed,"max-width":t.maxWidth,width:"auto","test-mode":!!t.testMode||void 0}),{content:se(()=>[E("div",N7,[de(t.$slots,"content",{label:t.label},()=>[ue(re(t.label),1)])])]),default:se(()=>[de(t.$slots,"default")]),_:3},16,["placement","popover-classes","position-fixed","max-width","test-mode"])}var _o=ze(V7,[["render",j7]]);const H7={default:"default",success:"success",danger:"danger",info:"info",warning:"warning",custom:"custom"},z7={rounded:"rounded",rectangular:"rectangular"},U7=ae({name:"KBadge",components:{KButton:gt,KIcon:Xe,KTooltip:_o},props:{appearance:{type:String,required:!1,validator:t=>Object.keys({...H7}).includes(t),default:"default"},truncationTooltip:{type:String,default:""},forceTooltip:{type:Boolean,default:!1},dismissable:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1},shape:{type:String,required:!1,validator:t=>Object.keys({...z7}).includes(t),default:"rounded"},color:{type:String,required:!1,default:""},backgroundColor:{type:String,required:!1,default:""}},emits:["dismissed"],setup(t,{emit:r}){const e=j(null),i=j(!1),n=()=>{i.value=!0,r("dismissed")},s=j(0),a=j(0),o=j(!1),l=F(()=>s.value{var u,c;e.value&&!o.value&&(s.value=(u=e.value)==null?void 0:u.offsetWidth,a.value=(c=e.value)==null?void 0:c.scrollWidth,o.value=!0)}),{badgeText:e,isDismissed:i,handleDismiss:n,isTruncated:l}}}),K7=["tabindex","aria-hidden"],W7={ref:"badgeText",class:"k-badge-text truncate"};function Y7(t,r,e,i,n,s){const a=be("KIcon"),o=be("KButton");return t.isDismissed?ne("",!0):(S(),I("div",{key:0,style:cr(t.color&&t.backgroundColor&&{backgroundColor:t.backgroundColor,color:t.color}),tabindex:t.hidden?-1:0,"aria-hidden":t.hidden?!0:void 0,class:ce([[`k-badge-${t.appearance}`,`k-badge-${t.shape}`],"k-badge d-inline-flex"])},[(S(),fe(xs(t.truncationTooltip&&(t.forceTooltip||t.isTruncated)?"KTooltip":"div"),{class:"k-badge-text truncate"},{content:se(()=>[ue(re(t.truncationTooltip),1)]),default:se(()=>[E("div",W7,[de(t.$slots,"default",{},void 0,!0)],512)]),_:3})),t.dismissable?(S(),fe(o,{key:0,"is-rounded":t.shape==="rounded",tabindex:t.hidden?-1:0,"aria-hidden":t.hidden?!0:void 0,class:"k-badge-dismiss-button ml-1","data-testid":"k-badge-dismiss-button",onClick:t.handleDismiss},{default:se(()=>[Z(a,{icon:"close",color:t.color,size:"10",title:"Remove"},null,8,["color"])]),_:1},8,["is-rounded","tabindex","aria-hidden","onClick"])):ne("",!0)],14,K7))}var G7=ze(U7,[["render",Y7],["__scopeId","data-v-37d3a284"]]);const Z7=ae({name:"KBreadcrumbs",components:{KIcon:Xe},inheritAttrs:!1,props:{items:{type:Array,default:[],required:!0,validator:t=>t&&t.length>0},itemMaxWidth:{type:String,required:!1,default:"38ch"}}}),q7=["title","href"];function Q7(t,r,e,i,n,s){const a=be("KIcon"),o=be("router-link");return S(),I("ul",Et({class:"k-breadcrumbs"},t.$attrs),[(S(!0),I(Ue,null,Rt(t.items,l=>(S(),I("li",{key:l.key||l.text,class:"k-breadcrumbs-item truncate"},[typeof l.to=="object"?(S(),fe(o,{key:0,to:l.to,title:l.title,class:ce({"no-underline":!l.text})},{default:se(()=>[l.icon?(S(),fe(a,{key:0,icon:l.icon,class:ce(["k-breadcrumb-icon",{"has-no-text":!l.text}]),"hide-title":"",size:"20",color:"var(--grey-500)"},null,8,["icon","class"])):ne("",!0),l.text?(S(),I("span",{key:1,style:cr({maxWidth:l.maxWidth||t.itemMaxWidth}),class:"k-breadcrumb-text truncate"},re(l.text),5)):ne("",!0)]),_:2},1032,["to","title","class"])):(S(),I("a",{key:1,title:l.title,href:l.to,class:ce({"no-underline":!l.text}),target:"_blank"},[l.icon?(S(),fe(a,{key:0,icon:l.icon,class:ce(["k-breadcrumb-icon",{"has-no-text":!l.text}]),"hide-title":"",size:"20",color:"var(--grey-500)"},null,8,["icon","class"])):ne("",!0),l.text?(S(),I("span",{key:1,style:cr({maxWidth:l.maxWidth||t.itemMaxWidth}),class:"k-breadcrumb-text truncate"},re(l.text),5)):ne("",!0)],10,q7)),Z(a,{"hide-title":"",icon:"chevronRight",size:"15",color:"var(--grey-500)"})]))),128))],16)}var k1=ze(Z7,[["render",Q7],["__scopeId","data-v-a87af1c0"]]);ae({name:"Krumbs",setup(t,{attrs:r,slots:e,emit:i}){return Bt(()=>console.warn(`The Kongponents 'Krumbs' component is deprecated and will be removed in a future release. Update all references of 'Krumbs' to 'KBreadcrumbs'. -Kongponent Docs: https://kongponents.konghq.com/components/breadcrumbs.html`)),()=>Me(k1,{...t,...r,...i},e)}});const X7=oe({name:"KCard",props:{title:{type:String,default:""},body:{type:String,default:""},borderVariant:{type:String,default:"border"},hasHover:{type:Boolean,default:!1},hasShadow:{type:Boolean,default:!1},status:{type:String,default:""},testMode:{type:Boolean,default:!1}},setup(t,{slots:r}){const e=F(()=>t.testMode?"test-title-id-1234":Ut()),i=F(()=>t.testMode?"test-content-id-1234":Ut()),n=F(()=>!!(t.status||!!r.statusHat));return{titleId:e,contentId:i,useStatusHatLayout:n}}}),J7=["aria-label","aria-labelledby","aria-describedby"],eO={key:0,class:"k-card-status-hat"},tO=["id"],rO={class:"k-card-actions"},iO=["id"],nO={class:"k-card-content d-flex"},sO=["id"],aO={key:0,class:"k-card-notifications ml-3"};function oO(t,r,e,i,n,s){return S(),I("section",{class:ue([[t.borderVariant,{hover:t.hasHover,"kcard-shadow":t.hasShadow}],"kong-card"]),"aria-label":t.title?t.title:void 0,"aria-labelledby":!t.title&&(t.$slots.title||t.$slots.title)?t.titleId:void 0,"aria-describedby":t.contentId||void 0},[t.$slots.actions||t.useStatusHatLayout||!t.useStatusHatLayout&&(t.title||t.$slots.title)?(S(),I("div",{key:0,class:ue([{"has-status":t.status||t.$slots.statusHat},"k-card-header d-flex mb-3"])},[t.status||t.$slots.statusHat?(S(),I("div",eO,[de(t.$slots,"statusHat",{},()=>[he(re(t.status),1)],!0)])):ne("",!0),!t.useStatusHatLayout&&(t.title||t.$slots.title)?(S(),I("div",{key:1,id:t.title?void 0:t.titleId,class:"k-card-title mb-3"},[T("h4",null,[de(t.$slots,"title",{},()=>[he(re(t.title),1)],!0)])],8,tO)):ne("",!0),T("div",rO,[de(t.$slots,"actions",{},void 0,!0)])],2)):ne("",!0),t.useStatusHatLayout&&(t.title||t.$slots.title)?(S(),I("div",{key:1,id:t.title?void 0:t.titleId,class:"k-card-title mb-3"},[T("h4",null,[de(t.$slots,"title",{},()=>[he(re(t.title),1)],!0)])],8,iO)):ne("",!0),T("div",nO,[T("div",{id:t.contentId,class:"k-card-body"},[de(t.$slots,"body",{},()=>[he(re(t.body),1)],!0)],8,sO),t.$slots.notifications?(S(),I("div",aO,[de(t.$slots,"notifications",{},void 0,!0)])):ne("",!0)])],10,J7)}var yf=ze(X7,[["render",oO],["__scopeId","data-v-1f0d90ac"]]);const lO=oe({name:"KEmptyState",components:{KButton:gt,KIcon:Xe},props:{isError:{type:Boolean,default:!1},iconSize:{type:String,default:"50"},icon:{type:String,default:""},ctaIsHidden:{type:Boolean,default:!1},ctaText:{type:String,default:""},handleClick:{type:Function,default:null},iconColor:{type:String,default:""}}}),uO={class:"empty-state-title"},cO={class:"k-empty-state-title-header mt-4 mb-4"},hO={class:"empty-state-content"},dO={class:"k-empty-state-message mb-6"},fO={class:"k-empty-state-cta"};function pO(t,r,e,i,n,s){const a=be("KIcon"),o=be("KButton");return S(),I("section",{class:ue([{"is-error":t.isError},"empty-state-wrapper"])},[T("div",uO,[t.isError||t.icon?(S(),I("div",{key:0,class:ue([{"warning-icon":t.isError},"k-empty-state-icon card-icon mb-3"])},[Z(a,{size:t.iconSize,icon:t.icon?t.icon:"warning",color:t.isError?t.iconColor||"var(--black-70)":t.iconColor,"secondary-color":t.isError?"var(--yellow-400)":void 0},null,8,["size","icon","color","secondary-color"])],2)):ne("",!0),T("div",cO,[de(t.$slots,"title",{},void 0,!0)])]),T("div",hO,[T("div",dO,[de(t.$slots,"message",{},void 0,!0)]),T("div",fO,[de(t.$slots,"cta",{},()=>[!t.ctaIsHidden&&t.ctaText?(S(),fe(o,{key:0,appearance:"primary",size:"small",onClick:r[0]||(r[0]=pr(()=>t.handleClick&&t.handleClick(),["prevent"]))},{default:se(()=>[he(re(t.ctaText),1)]),_:1})):ne("",!0)],!0)])])],2)}var bf=ze(lO,[["render",pO],["__scopeId","data-v-5b55eb64"]]);const gO=oe({name:"KLabel",components:{KIcon:Xe,KTooltip:_o},props:{help:{type:String,default:void 0},info:{type:String,default:void 0},tooltipAttributes:{type:Object,default:()=>({})},testMode:{type:Boolean,default:!1}}}),vO={class:"k-input-label"};function mO(t,r,e,i,n,s){const a=be("KIcon"),o=be("KTooltip");return S(),I("label",vO,[t.help?(S(),fe(o,Tt({key:0},t.tooltipAttributes,{label:t.help,"test-mode":!!t.testMode||void 0,class:"label-tooltip"}),{default:se(()=>[de(t.$slots,"default",{},void 0,!0),Z(a,{icon:"help",size:"16","hide-title":""})]),_:3},16,["label","test-mode"])):t.info?(S(),fe(o,Tt({key:1},t.tooltipAttributes,{label:t.info,"test-mode":!!t.testMode||void 0,class:"label-tooltip"}),{default:se(()=>[de(t.$slots,"default",{},void 0,!0),Z(a,{icon:"info",size:"16","view-box":"0 0 16 16","hide-title":""})]),_:3},16,["label","test-mode"])):de(t.$slots,"default",{key:2},void 0,!0)])}var Ls=ze(gO,[["render",mO],["__scopeId","data-v-d949c2e2"]]);const yO=oe({name:"KInput",components:{KLabel:Ls},inheritAttrs:!1,props:{modelValue:{type:[String,Number],default:""},label:{type:String,default:""},overlayLabel:{type:Boolean,default:!1},labelAttributes:{type:Object,default:()=>({})},help:{type:String,default:""},size:{type:String,default:"medium"},hasError:{type:Boolean,default:!1},errorMessage:{type:String,default:""},characterLimit:{type:Number,default:null,validator:t=>t>0},testMode:{type:Boolean,default:!1}},emits:["input","update:modelValue","char-limit-exceeded"],setup(t,{attrs:r,emit:e}){const i=j(""),n=j(!1),s=j(!1),a=j(!1),o=F(()=>(r==null?void 0:r.disabled)!==void 0&&String(r==null?void 0:r.disabled)!=="false"),l=F(()=>(r==null?void 0:r.readonly)!==void 0&&String(r==null?void 0:r.readonly)!=="false"),u=F(()=>r.id?String(r.id):t.testMode?"test-input-id-1234":Ut()),c=F({get(){return t.modelValue},set(v){p({target:{value:v}})}}),h=F(()=>{const v={...r};return delete v.class,delete v.input,delete v.onInput,v}),d=F(()=>!!t.characterLimit&&(i.value.toString().length||!n.value&&t.modelValue.toString().length)>t.characterLimit),f=F(()=>d.value?n.value?`${i.value.toString().length} / ${t.characterLimit}`:`${t.modelValue.toString().length} / ${t.characterLimit}`:"");Ye(d,(v,y)=>{v!==y&&e("char-limit-exceeded",{value:i.value,length:i.value.length,characterLimit:t.characterLimit,limitExceeded:v})}),Ye(c,(v,y)=>{v!==y&&p({target:{value:v}})});const p=v=>{var y;const m=JSON.parse(JSON.stringify((y=v==null?void 0:v.target)==null?void 0:y.value));i.value=m,n.value=!0,e("input",m),e("update:modelValue",m)};return{currValue:i,modelValueChanged:n,isFocused:s,isHovered:a,isDisabled:o,isReadonly:l,inputId:u,charLimitExceeded:d,charLimitExceededError:f,modifiedAttrs:h,handleInput:p,getValue:()=>i.value||n.value?i.value:t.modelValue}}}),bO={class:"text-on-input"},_O=["for"],wO=["id","value","aria-invalid"],SO=["id","value","aria-invalid"],PO=["value","aria-invalid"],CO={key:4,class:"help"};function OO(t,r,e,i,n,s){const a=be("KLabel");return S(),I("div",{class:ue([[t.$attrs.class,{"input-error":t.charLimitExceeded||t.hasError||String(t.$attrs.class||"").includes("input-error")}],"k-input-wrapper"])},[t.label&&t.overlayLabel?(S(),I("div",{key:0,class:ue([`k-input-label-wrapper-${t.size}`,"mt-5"])},[T("div",bO,[T("label",Tt({for:t.inputId},t.labelAttributes,{class:{focused:t.isFocused,hovered:t.isHovered,disabled:t.isDisabled,readonly:t.isReadonly}}),[T("span",null,re(t.label),1)],16,_O),T("input",Tt(t.modifiedAttrs,{id:t.inputId,value:t.getValue(),class:[`k-input-${t.size}`,"form-control k-input"],"aria-invalid":t.hasError||t.charLimitExceeded?"true":void 0,onInput:r[0]||(r[0]=(...o)=>t.handleInput&&t.handleInput(...o)),onMouseenter:r[1]||(r[1]=()=>t.isHovered=!0),onMouseleave:r[2]||(r[2]=()=>t.isHovered=!1),onFocus:r[3]||(r[3]=()=>t.isFocused=!0),onBlur:r[4]||(r[4]=()=>t.isFocused=!1)}),null,16,wO)]),t.charLimitExceeded||t.hasError?(S(),I("p",{key:0,class:ue([{"over-char-limit":t.charLimitExceeded},"has-error"])},re(t.charLimitExceededError||t.errorMessage),3)):ne("",!0)],2)):t.label?(S(),I("div",{key:1,class:ue(`k-input-label-wrapper-${t.size}`)},[Z(a,Tt({for:t.inputId},t.labelAttributes),{default:se(()=>[he(re(t.label),1)]),_:1},16,["for"]),T("input",Tt(t.modifiedAttrs,{id:t.inputId,value:t.getValue(),class:[`k-input-${t.size}`,"form-control k-input"],"aria-invalid":t.hasError||t.charLimitExceeded?"true":void 0,onInput:r[5]||(r[5]=(...o)=>t.handleInput&&t.handleInput(...o))}),null,16,SO),t.charLimitExceeded||t.hasError?(S(),I("p",{key:0,class:ue([{"over-char-limit":t.charLimitExceeded},"has-error"])},re(t.charLimitExceededError||t.errorMessage),3)):ne("",!0)],2)):(S(),I("input",Tt({key:2},t.modifiedAttrs,{value:t.getValue(),class:[`k-input-${t.size}`,"form-control k-input"],"aria-invalid":t.hasError||t.charLimitExceeded?"true":void 0,onInput:r[6]||(r[6]=(...o)=>t.handleInput&&t.handleInput(...o))}),null,16,PO)),(t.charLimitExceeded||t.hasError)&&!t.label?(S(),I("p",{key:3,class:ue(["has-error",{"over-char-limit":t.charLimitExceeded}])},re(t.charLimitExceededError||t.errorMessage),3)):ne("",!0),t.help?(S(),I("p",CO,re(t.help),1)):ne("",!0)],2)}var Vu=ze(yO,[["render",OO],["__scopeId","data-v-6c1c7dad"]]);const kO=oe({name:"SelectItem",components:{KIcon:Xe},props:{item:{type:Object,default:null,validator:t=>t.label!==void 0&&t.value!==void 0},disabled:{type:Boolean,default:!1}},emits:["selected"],setup(t,{emit:r}){return{handleClick:()=>{r("selected",t.item)}}}}),TO=["data-testid"],EO={role:"option",class:"d-block"},xO=["value"],DO={class:"k-select-item-label mr-2"},IO={class:"k-select-selected-icon-container"};function MO(t,r,e,i,n,s){const a=be("KIcon");return S(),I("div",{key:t.item.key,"data-testid":`k-select-item-${t.item.value}`,class:"k-select-item",onClick:r[0]||(r[0]=(...o)=>t.handleClick&&t.handleClick(...o))},[T("div",EO,[T("button",{class:ue({disabled:t.disabled,selected:t.item.selected}),value:t.item.value},[T("span",DO,[de(t.$slots,"content",{},()=>[he(re(t.item.label),1)],!0)]),T("span",IO,[t.item.selected?(S(),fe(a,{key:0,class:"selected-item-icon",icon:"check",color:"var(--blue-200)"})):ne("",!0)])],10,xO)])],8,TO)}var AO=ze(kO,[["render",MO],["__scopeId","data-v-683f6b01"]]);const{getSizeFromString:$O}=jn(),Yg={popoverClasses:"k-select-popover mt-0",popoverTimeout:0,placement:"bottomStart",hideCaret:!0},BO=oe({name:"KSelect",components:{KButton:gt,KIcon:Xe,KInput:Vu,KLabel:Ls,KPop:Bs,KSelectItem:AO,KToggle:hf},inheritAttrs:!1,props:{modelValue:{type:[String,Number],default:""},kpopAttributes:{type:Object,default:()=>({popoverClasses:""})},dropdownMaxHeight:{type:String,default:"300"},label:{type:String,default:""},overlayLabel:{type:Boolean,default:!1},labelAttributes:{type:Object,default:()=>({})},width:{type:String,default:""},placeholder:{type:String,default:""},appearance:{type:String,default:"dropdown",validator:t=>["dropdown","select","button"].includes(t)},buttonText:{type:String,default:""},items:{type:Array,required:!1,default:()=>[],validator:t=>!t.length||t.every(r=>r.label!==void 0&&r.value!==void 0)},positionFixed:{type:Boolean,default:!0},filterFunc:{type:Function,default:t=>t.items.filter(r=>r.label.toLowerCase().includes(t.query.toLowerCase()))},enableFiltering:{type:Boolean,default:null},autosuggest:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},testMode:{type:Boolean,default:!1}},emits:["selected","input","change","update:modelValue","query-change"],setup(t,{attrs:r,emit:e}){const i=j(""),n=j(null),s=F(()=>t.testMode?"test-select-id-1234":Ut()),a=F(()=>t.testMode?"test-select-input-id-1234":Ut()),o=F(()=>t.testMode?"test-select-text-id-1234":Ut()),l=j([]),u=j(!1),c=j(!1),h=j(null),d=F({get(){return t.modelValue},set($){const te=l.value.filter(pe=>pe.value===$);te.length?D(te[0]):$||R()}}),f=F(()=>t.autosuggest?!0:t.enableFiltering!==null?t.appearance==="button"?!1:t.enableFiltering:t.appearance==="dropdown"),p=F(()=>{let $="";return t.width?$=t.width:($="205",t.appearance==="button"&&($="230")),$O($)}),g=F(()=>({width:p.value})),v=F(()=>{const $={...r};return delete $.class,$}),y=F(()=>({...Yg,...t.kpopAttributes,popoverClasses:`${Yg.popoverClasses} ${t.kpopAttributes.popoverClasses} k-select-pop-${t.appearance}`,width:String(_e.value),maxWidth:String(_e.value),maxHeight:String(t.dropdownMaxHeight),disabled:r.disabled!==void 0&&String(r.disabled)!=="false"||r.readonly!==void 0&&String(r.readonly)!=="false"})),m=F(()=>({...y.value})),w=F(()=>t.autosuggest?l.value:t.filterFunc({items:l.value,query:i.value})),C=F(()=>t.placeholder?t.placeholder:r.placeholder?r.placeholder:t.appearance==="button"||!f.value?"Select an item":"Filter..."),P=F(()=>t.buttonText&&n.value?t.buttonText:n.value?n.value.label:C.value),E=F(()=>t.appearance==="select"&&t.clearable&&!!n.value),V=$=>{if(!f.value)return $.preventDefault(),!1},D=$=>{l.value.forEach(te=>{var pe,Te;te.key===$.key?(te.selected=!0,te.key=(pe=te==null?void 0:te.key)!=null&&pe.includes("-selected")?te.key:`${te.key}-selected`,te.key+="-selected",n.value=te):te.selected?(te.selected=!1,te.key=(Te=te==null?void 0:te.key)==null?void 0:Te.replace(/-selected/gi,"")):te.selected=!1}),i.value=t.appearance==="dropdown"?"":$.label,e("selected",$),e("input",$.value),e("change",$),e("update:modelValue",$.value)},R=()=>{l.value.forEach($=>{var te;$.selected=!1,$.key=(te=$==null?void 0:$.key)==null?void 0:te.replace(/-selected/gi,"")}),n.value=null,t.appearance==="select"&&(i.value=""),e("input",null),e("change",null),e("update:modelValue",null)},Q=($,te)=>{if($.keyCode===27){te.value=!1;return}const pe=document.getElementById(o.value);!te.value&&pe&&pe.click()},ge=$=>{i.value=$,e("query-change",$)},H=()=>{c.value=!0,u.value||(u.value=!0,e("query-change",""))},q=()=>{c.value=!1};Ye(d,($,te)=>{if($!==te){const pe=l.value.filter(Te=>Te.value===$);pe.length?D(pe[0]):$||R()}}),Ye(()=>t.items,($,te)=>{var pe,Te,Je;if(JSON.stringify($)!==JSON.stringify(te)){l.value=JSON.parse(JSON.stringify(t.items));for(let Ce=0;Ce{h.value.updatePopper()})}},{deep:!0,immediate:!0});const _e=j(0);return{filterStr:i,selectedItem:n,selectId:s,selectInputId:a,selectTextId:o,selectItems:l,modifiedAttrs:v,popper:h,boundKPopAttributes:m,widthValue:p,widthStyle:g,filteredItems:w,placeholderText:C,selectButtonText:P,isClearVisible:E,handleItemSelect:D,clearSelection:R,triggerFocus:Q,inputWidth:_e,filterIsEnabled:f,onInputKeypress:V,onQueryChange:ge,onInputFocus:H,onInputBlur:q,onPopoverOpen:()=>{const $=document.getElementById(a.value);$&&(_e.value=$.offsetWidth)}}}}),LO=["id"],FO={class:"selected-item-label"},RO=["id"],VO=["id"],NO={key:1,class:"k-select-list ma-0 pa-0"};function jO(t,r,e,i,n,s){const a=be("KLabel"),o=be("KIcon"),l=be("KButton"),u=be("KInput"),c=be("KSelectItem"),h=be("KPop"),d=be("KToggle");return S(),I("div",{style:cr(t.widthStyle),class:ue(["k-select",[t.$attrs.class]])},[t.label&&!t.overlayLabel?(S(),fe(a,Tt({key:0,for:t.selectId},t.labelAttributes,{"data-testid":"k-select-label"}),{default:se(()=>[he(re(t.label),1)]),_:1},16,["for"])):ne("",!0),T("div",{id:t.selectId,"data-testid":"k-select-selected-item"},[t.selectedItem&&t.appearance==="dropdown"?(S(),I("div",{key:0,class:ue(["k-select-item-selection px-3 py-1",{"overlay-label-item-selection":t.overlayLabel}])},[T("div",FO,re(t.selectedItem.label),1),T("button",{class:"clear-selection-icon cursor-pointer non-visual-button",onClick:r[0]||(r[0]=(...f)=>t.clearSelection&&t.clearSelection(...f)),onKeyup:r[1]||(r[1]=$i((...f)=>t.clearSelection&&t.clearSelection(...f),["enter"]))},[Z(o,{color:"var(--blue-200)",icon:"clear"})],32)],2)):ne("",!0),Z(d,null,{default:se(({toggle:f,isToggled:p})=>[Z(h,Tt({ref:"popper"},t.boundKPopAttributes,{"on-popover-click":()=>(f(),p.value),"position-fixed":t.positionFixed,"test-mode":!!t.testMode||void 0,target:`[id='${t.selectInputId}']`,onOpened:()=>{t.filterStr="",f(),t.onPopoverOpen()},onClosed:()=>{t.selectedItem&&t.appearance==="select"&&(t.filterStr=t.selectedItem.label),p.value&&f()}}),{content:se(()=>[t.autosuggest&&t.loading?de(t.$slots,"loading",{key:0},()=>[Z(o,{class:"k-select-loading","data-testid":"k-select-loading",icon:"spinner"})],!0):(S(),I("div",NO,[(S(!0),I(Ue,null,Rt(t.filteredItems,g=>(S(),fe(c,{key:g.key,item:g,onSelected:t.handleItemSelect},{content:se(()=>[de(t.$slots,"item-template",{item:g,class:"select-item-label select-item-desc"},void 0,!0)]),_:2},1032,["item","onSelected"]))),128)),!t.filteredItems.length&&!t.$slots.empty?(S(),fe(c,{key:"k-select-empty-state",item:{label:"No results",value:"no_results"},class:"k-select-empty-item"})):ne("",!0)])),!t.loading&&!t.filteredItems.length?de(t.$slots,"empty",{key:2},void 0,!0):ne("",!0)]),default:se(()=>[t.appearance==="button"?(S(),I("div",{key:0,id:t.selectInputId,class:"k-select-button","data-testid":"k-select-input",style:{position:"relative"},role:"listbox"},[Z(l,Tt({id:t.selectTextId,style:t.widthStyle,"show-caret":"","is-rounded":!1},t.modifiedAttrs,{appearance:"btn-link",onKeyup:g=>t.triggerFocus(g,p)}),{default:se(()=>[he(re(t.selectButtonText),1)]),_:2},1040,["id","style","onKeyup"])],8,RO)):(S(),I("div",{key:1,id:t.selectInputId,class:ue({"k-select-input":t.appearance==="select","no-filter":!t.filterIsEnabled}),"data-testid":"k-select-input",style:{position:"relative"},role:"listbox",onClick:r[2]||(r[2]=g=>{t.$attrs.disabled!==void 0&&String(t.$attrs.disabled)!=="false"&&g.stopPropagation()})},[t.isClearVisible?(S(),fe(l,{key:0,class:ue([{"overlay-label-clear":t.overlayLabel},"clear-selection-icon cursor-pointer non-visual-button"]),onClick:t.clearSelection,onKeyup:$i(t.clearSelection,["enter"])},{default:se(()=>[Z(o,{icon:"clear",color:"var(--grey-500)",size:"18"})]),_:1},8,["class","onClick","onKeyup"])):ne("",!0),t.appearance==="select"?(S(),fe(o,{key:1,icon:"chevronDown",color:"var(--grey-500)",size:"18",class:ue({"overlay-label-chevron":t.overlayLabel})},null,8,["class"])):ne("",!0),Z(u,Tt({id:t.selectTextId},t.modifiedAttrs,{"model-value":t.filterStr,label:t.label&&t.overlayLabel?t.label:void 0,"overlay-label":t.overlayLabel,placeholder:t.selectedItem&&t.appearance==="select"&&!t.filterIsEnabled?t.selectedItem.label:t.placeholderText,autocomplete:"off",autocapitalize:"off",class:[{"cursor-default prevent-pointer-events":!t.filterIsEnabled,"input-placeholder-dark has-chevron":t.appearance==="select","has-clear":t.isClearVisible},"k-select-input"],onKeypress:t.onInputKeypress,onKeyup:g=>t.triggerFocus(g,p),"onUpdate:modelValue":t.onQueryChange,onFocus:t.onInputFocus,onBlur:t.onInputBlur}),null,16,["id","model-value","label","overlay-label","placeholder","class","onKeypress","onKeyup","onUpdate:modelValue","onFocus","onBlur"])],10,VO))]),_:2},1040,["on-popover-click","position-fixed","test-mode","target","onOpened","onClosed"])]),_:3})],8,LO)],6)}var HO=ze(BO,[["render",jO],["__scopeId","data-v-7c5ccacc"]]);const zO=oe({name:"PaginationOffset",components:{KIcon:Xe},props:{prevButtonDisabled:{type:Boolean,default:!1},nextButtonDisabled:{type:Boolean,default:!1},testMode:{type:Boolean,default:!1}},emits:["getPrevOffset","getNextOffset"],setup(t,{emit:r}){return{getPrevOffset:()=>{t.prevButtonDisabled||r("getPrevOffset")},getNextOffset:()=>{t.nextButtonDisabled||r("getNextOffset")}}}}),UO={class:"pagination-offset-button-container mb-0 pa-0"};function KO(t,r,e,i,n,s){const a=be("KIcon"),o=be("KButton");return S(),I("div",UO,[Z(o,{class:ue([{disabled:t.prevButtonDisabled},"pagination-button"]),"data-testid":"prev-btn","aria-label":"Go to the previous page",onClick:pr(t.getPrevOffset,["prevent"])},{icon:se(()=>[Z(a,{color:t.prevButtonDisabled?"var(--grey-500)":"var(--blue-400)",icon:"arrowLeft",size:"16","view-box":"0 0 16 16"},null,8,["color"])]),_:1},8,["class","onClick"]),Z(o,{class:ue([{disabled:t.nextButtonDisabled},"pagination-button"]),"data-testid":"next-btn","aria-label":"Go to the next page",onClick:pr(t.getNextOffset,["prevent"])},{icon:se(()=>[Z(a,{color:t.nextButtonDisabled?"var(--grey-500)":"var(--blue-400)",icon:"arrowRight",size:"16","view-box":"0 0 16 16"},null,8,["color"])]),_:1},8,["class","onClick"])])}var WO=ze(zO,[["render",KO],["__scopeId","data-v-16e16c5e"]]);const YO=oe({name:"KPagination",components:{KIcon:Xe,KSelect:HO,PaginationOffset:WO},props:{items:{type:Array,default:()=>[]},totalCount:{type:Number,default:0},pageSizes:{type:Array,default:()=>[15,30,50,75,100],validator:t=>!!t.length&&t.every(r=>typeof r=="number")},initialPageSize:{type:Number,default:null},neighbors:{type:Number,default:1},searchTriggered:{type:Boolean,default:!1},currentPage:{type:Number,default:null},disablePageJump:{type:Boolean,default:!1},paginationType:{type:String,default:"default",validator:t=>["default","offset"].includes(t)},offsetPrevButtonDisabled:{type:Boolean,default:!1},offsetNextButtonDisabled:{type:Boolean,default:!1},testMode:{type:Boolean,default:!1}},emits:["pageChanged","pageSizeChanged","getNextOffset","getPrevOffset"],setup(t,{emit:r}){const e=j(t.currentPage?t.currentPage:1),i=j(t.initialPageSize?t.initialPageSize:t.pageSizes[0]),n=j(Math.ceil(t.totalCount/i.value)),s=t.pageSizes.map((R,Q)=>({label:`${R}`,key:`size-${Q}`,value:R})),a=j(""),o=(R,Q,ge,H)=>{if(t.disablePageJump)return 0;let q=[...Array(Q).keys()].map(we=>we+1);const _e=5+2*t.neighbors;return q.length<=_e||(ge?ge&&H?q=q.filter(we=>we>R-t.neighbors-1&&wewe>Q-t.neighbors*2-3)):q=q.filter(we=>we<=t.neighbors*2+3)),q},l=j(e.value===1),u=j(e.value===n.value),c=F(()=>(e.value-1)*i.value+1),h=F(()=>{const R=c.value-1+i.value;return R>t.totalCount?t.totalCount:R}),d=F(()=>`${c.value} to ${h.value}`),f=F(()=>` of ${t.totalCount}`),p=F(()=>t.currentPage?t.currentPage:e.value),g=j(!1),v=j(n.value>5+2*t.neighbors),y=j(o(p.value,n.value,!1,n.value>5+2*t.neighbors)),m=()=>{u.value||(e.value++,P())},w=()=>{l.value||(e.value--,P())},C=R=>{e.value=R,P()},P=()=>{const R=(e.value-1)*i.value+i.value;u.value=R>=t.totalCount,l.value=e.value===1;const Q=5+2*t.neighbors;n.value<=Q?(g.value=!1,v.value=!1):(g.value=e.value>=t.neighbors+4,v.value=e.value<=n.value-t.neighbors-3),y.value=o(e.value,n.value,g.value,v.value),r("pageChanged",{page:e.value,pageCount:n.value,firstItem:c.value,lastItem:h.value,visibleItems:t.items.slice(c.value-1,h.value)})},E=R=>{i.value=R.value,a.value=i.value+" items per page",n.value=Math.ceil(t.totalCount/i.value),r("pageSizeChanged",{pageSize:i.value,pageCount:n.value}),t.currentPage!==1&&C(1)},V=()=>{r("getNextOffset")},D=()=>{r("getPrevOffset")};return Ye(()=>t.currentPage,(R,Q)=>{R!==Q&&C(R)}),{kpopAttrs:{placement:"top"},currentPageSize:i,pageCount:n,pageSizeOptions:s,backDisabled:l,forwardDisabled:u,pageSizeText:a,pagesVisible:y,firstDetached:g,lastDetached:v,startCount:c,endCount:h,pagesString:d,pageCountString:f,currentlySelectedPage:p,pageForward:m,pageBack:w,changePage:C,updatePage:P,updatePageSize:E,getNextOffset:V,getPrevOffset:D}}}),GO={"aria-label":"Pagination Navigation","data-testid":"k-pagination-container"},ZO={class:"card-pagination-bar"},qO={class:"pagination-text","data-testid":"visible-items"},QO={class:"pagination-text-pages"},XO={class:"pagination-button-container"},JO={key:0,class:"pagination-button","data-testid":"page-1-btn"},ek={key:1,class:"pagination-button placeholder"},tk=["data-testid"],rk=["aria-label","aria-current","onClick"],ik={key:2,class:"pagination-button placeholder"},nk={key:3,class:"pagination-button"},sk={class:"page-size-select","data-testid":"page-size-dropdown"};function ak(t,r,e,i,n,s){const a=be("KIcon"),o=be("PaginationOffset"),l=be("KSelect");return S(),I("nav",GO,[T("div",ZO,[t.paginationType==="default"?(S(),I(Ue,{key:0},[T("span",qO,[T("span",QO,re(t.pagesString),1),he(" "+re(t.pageCountString),1)]),T("ul",XO,[T("li",{class:ue([{disabled:t.backDisabled},"pagination-button square"]),"data-testid":"prev-btn"},[T("a",{href:"#","aria-label":"Go to the previous page",onClick:r[0]||(r[0]=pr((...u)=>t.pageBack&&t.pageBack(...u),["prevent"]))},[Z(a,{color:t.backDisabled?"var(--KPaginationDisabledColor, var(--grey-500))":"var(--KPaginationColor, var(--blue-400))",icon:"arrowLeft",size:"16","view-box":"0 0 16 14"},null,8,["color"])])],2),!t.disablePageJump&&t.firstDetached?(S(),I("li",JO,[T("a",{href:"#","aria-label":"Go to the first page",onClick:r[1]||(r[1]=pr(u=>t.changePage(1),["prevent"]))},"1")])):ne("",!0),!t.disablePageJump&&t.firstDetached?(S(),I("li",ek," ... ")):ne("",!0),(S(!0),I(Ue,null,Rt(t.pagesVisible,u=>(S(),I("li",{key:u,class:ue([{active:u==t.currentlySelectedPage},"pagination-button"]),"data-testid":`page-${u}-btn`},[T("a",{"aria-label":`Go to page ${u}`,"aria-current":u==t.currentlySelectedPage&&"page"||void 0,href:"#",onClick:pr(c=>t.changePage(u),["prevent"])},re(u),9,rk)],10,tk))),128)),!t.disablePageJump&&t.lastDetached?(S(),I("li",ik," ... ")):ne("",!0),!t.disablePageJump&&t.lastDetached?(S(),I("li",nk,[T("a",{href:"#","aria-label":"Go to the last page","data-testid":"last-btn",onClick:r[2]||(r[2]=pr(u=>t.changePage(t.pageCount),["prevent"]))},re(t.pageCount),1)])):ne("",!0),T("li",{class:ue([{disabled:t.forwardDisabled},"pagination-button square"]),"data-testid":"next-btn"},[T("a",{href:"#","aria-label":"Go to the next page",onClick:r[3]||(r[3]=pr((...u)=>t.pageForward&&t.pageForward(...u),["prevent"]))},[Z(a,{color:t.forwardDisabled?"var(--KPaginationDisabledColor, var(--grey-500))":"var(--KPaginationColor, var(--blue-400))",icon:"arrowRight",size:"16","view-box":"0 0 16 14"},null,8,["color"])])],2)])],64)):(S(),fe(o,{key:1,"prev-button-disabled":t.offsetPrevButtonDisabled,"next-button-disabled":t.offsetNextButtonDisabled,onGetPrevOffset:t.getPrevOffset,onGetNextOffset:t.getNextOffset},null,8,["prev-button-disabled","next-button-disabled","onGetPrevOffset","onGetNextOffset"])),T("span",sk,[Z(l,{placeholder:`${t.currentPageSize} items per page`,items:t.pageSizeOptions,"test-mode":!!t.testMode||void 0,"button-text":t.pageSizeText,"kpop-attributes":t.kpopAttrs,"position-fixed":"",width:"205",appearance:"button",onSelected:t.updatePageSize},null,8,["placeholder","items","test-mode","button-text","kpop-attributes","onSelected"])])])])}var T1=ze(YO,[["render",ak],["__scopeId","data-v-d0aae7b2"]]);const ok=oe({name:"KSkeletonBox",props:{width:{type:String,default:"1",validator:function(t){return["1","2","5","6","10","25","50","75","100"].includes(t)}},height:{type:String,default:"1",validator:t=>["1","2"].includes(t)}}});function lk(t,r,e,i,n,s){return S(),I("div",{class:ue([{[`width-${t.width}`]:!0,[`height-${t.height}`]:!0},"box mr-1"])},null,2)}var wo=ze(ok,[["render",lk],["__scopeId","data-v-2ffc7dea"]]);const uk=oe({name:"SkeletonBase",components:{KSkeletonBox:wo}}),ck={class:"skeleton-loader"};function hk(t,r,e,i,n,s){const a=be("KSkeletonBox");return S(),I("div",ck,[de(t.$slots,"default",{},()=>[Z(a,{width:"100",height:"1"}),Z(a,{width:"100",height:"1"}),Z(a,{width:"75",height:"1"})],!0)])}var dk=ze(uk,[["render",hk],["__scopeId","data-v-2f46a0c1"]]);const fk=oe({name:"CardSkeleton",components:{KSkeletonBox:wo},props:{cardCount:{type:Number,default:1}}}),pk=t=>(Nr("data-v-d7916644"),t=t(),jr(),t),gk={class:"skeleton-card-wrapper"},vk={class:"skeleton-card"},mk={class:"skeleton-card-header"},yk=pk(()=>T("hr",{class:"mb-0"},null,-1)),bk={class:"skeleton-card-content"},_k={class:"skeleton-card-footer"};function wk(t,r,e,i,n,s){const a=be("KSkeletonBox");return S(),I("div",gk,[(S(!0),I(Ue,null,Rt(t.cardCount,o=>(S(),I("div",{key:o,class:"skeleton-card-column"},[T("div",vk,[T("div",mk,[de(t.$slots,"card-header",{},()=>[Z(a,{height:"2",width:"25"}),Z(a,{class:"ml-2",width:"75",height:"2"}),yk],!0)]),T("div",bk,[de(t.$slots,"card-content",{},()=>[Z(a,{width:"10"})],!0)]),T("div",_k,[de(t.$slots,"card-footer",{},()=>[Z(a,{width:"5"}),Z(a,{width:"5"})],!0)])])]))),128))])}var Sk=ze(fk,[["render",wk],["__scopeId","data-v-d7916644"]]);const Pk=oe({name:"TableSkeleton",components:{KSkeletonBox:wo},props:{rows:{type:Number,default:6},columns:{type:Number,default:6}},setup(){return{calcWidth:(r,e)=>[3,4].indexOf(r)===-1&&r!==e?"10":[3,4].indexOf(r)>-1||r===e?"6":""}}}),Ck={class:"skeleton-table-wrapper"};function Ok(t,r,e,i,n,s){const a=be("KSkeletonBox");return S(),I("div",Ck,[(S(!0),I(Ue,null,Rt(t.rows,o=>(S(),I("div",{key:o,class:"skeleton-table-row"},[de(t.$slots,"default",{},()=>[(S(!0),I(Ue,null,Rt(t.columns,l=>(S(),fe(a,{key:l,width:t.calcWidth(l,t.columns),class:ue({"mr-6":l!==t.columns,"w-100":l===t.columns,"skeleton-cell":!0})},null,8,["width","class"]))),128))],!0)]))),128))])}var kk=ze(Pk,[["render",Ok],["__scopeId","data-v-84f8bae6"]]);const Tk=oe({name:"FormSkeleton",components:{KSkeletonBox:wo}}),Ek={class:"skeleton-form-wrapper"},xk={class:"skeleton-form-row"},Dk={class:"skeleton-form-row"},Ik={class:"skeleton-form-row"},Mk={class:"skeleton-form-row"};function Ak(t,r,e,i,n,s){const a=be("KSkeletonBox");return S(),I("div",Ek,[T("div",xk,[Z(a,{width:"10",height:"1"}),Z(a,{width:"100",height:"2"})]),T("div",Dk,[Z(a,{width:"10",height:"1"}),Z(a,{width:"100",height:"2"})]),T("div",Ik,[Z(a,{width:"10",height:"1"}),Z(a,{width:"100",height:"2"})]),T("div",Mk,[Z(a,{width:"10",height:"1"}),Z(a,{width:"100",height:"2"})])])}var $k=ze(Tk,[["render",Ak],["__scopeId","data-v-11e4f5bf"]]),Bk="data:image/gif;base64,R0lGODlhtwC3APf+AB9Uef7+/k94lQVAafn6+/z9/QM+aAI+Z9/n7Pv8/fX3+fb4+gtEbQQ/aF+Fn/L19whCa/f5+v39/uzw9A5HbgE9ZwdBahtRdhdOdOnu8jVlhkBtjHWVrLbH0y9ggluCnd3l6x5TeAxFbRBIcPP2+HuasDBhgxNLcSVYfOrv8vH098PR2+ft8ejt8RFJcEVxj2OIoeXr76G3x4aitlqBnNni6A9Hb+bs8G+Rqe/z9drj6YKftO3x9NHc4xhOdPj6+9Xf5sXT3Km9y6u/zRlPdWGGoDFhg0hzkfr7/AZBamuOpoWitlmAmyZZfbvL1jloiCFVeglDa9jh6KK4x9Ld5L/O2b3N18/a4nmZr0NvjlR8mBZNcyJWeiNXexxRd6/Cz8jV3p61xbXG0zdmh6W6yaS5yIejt8zY4ERwj2aKo0dykWiMpMfU3SdafShbfj5ri87a4gpEbODn7Jmxwn+dsg1GbuLp7kFujY6puxRLchJKcdPd5ZOsvsbT3fD09ipcf42ou+Tq74Ces2eLpJGrvaO5yOPq7m2Pp9vj6XGSqlN7mMrW3ylbf1Z+mrrK1qi8y1B5ltTe5cDP2RVMc97m65evwa3AzjtpiSxegLPF0YOgtXiYrlJ7l520xM3Z4YumuZ+2xX2csbHD0Fh/mzhniMnW3013lDJihLzM12mMpdfg567BzrLE0R1Sdz9sjOvw8+Ho7TZlhi5fgiBUeY+pvEx2lKe8yrDD0Kq+zEt1k4mluEJujjpoiVd/mpWuvytdgKC2xpqywl2DnlF6l3qZr6zAzVyCnT1ri26QqMvX4PT3+IqmuZavwKa7yjxqitzk6tbg5neXrSRYfJiwwbnJ1TRkhTNjhWqNpnKTqrfI1JKsvnaWrZStv2WJo7TG0oGfs8LQ2lV9mYShtS1egb7N2Juzw3SVrLjJ1NDb44ikuGSIomyPp3OUq0p1kkl0kkZykMHQ2nybsH6cspyzxO7y9WCFoBpQdpCqvIynusTS3HCSqWKHoQA8Zv///////wAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQwIDc5LjE2MDQ1MSwgMjAxNy8wNS8wNi0wMTowODoyMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo3ZjIxZWJkYy04MzJhLTQwZjEtYWZlMy1lMjZhNzM4ZGY5YTMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NjNGMkExNzA5QzQ2MTFFOThCRTFFOEI2M0M2NTQ0NUIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NjNGMkExNkY5QzQ2MTFFOThCRTFFOEI2M0M2NTQ0NUIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoyN2YyODg3Yi1jY2Y3LTQxODItYjE3YS0xMTY4NjU4MjI5ZDgiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6N2YyMWViZGMtODMyYS00MGYxLWFmZTMtZTI2YTczOGRmOWEzIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEBQoA/gAsAAAAALcAtwAACP8A+wkcSLCgwYMIEypcyLChw4cQI0qcSLGixYsYM2rcyLGjx48gQ4ocSbKkyZMoU6pcybKly5cwY8qcSbOmzZs4c+rcybOnz59AgwodSrSo0aNIkypdyrSp06dQo0qdSrWq1atYs2rdyrWr169gw4odS7as0zB/zDpNxI+f2qZt3fbjUOBtUVUC4+bNMsGu0A428rYVDMAv0E8H5Ortt9hwz8WQB/fDkcDxzRuCFUuG/KaFZZrJ7GUezXgzPy+fZZKBoLk16capXUZ2XZr2GgKxU6p4bZo2ZFKYc5d8xoi3796CfQgnicrF8efGl480gLx2dOvYi0SQ7nH2de/Y+VX/s8OdI/jz1SNPKr8RPfTw1dljdP89vWQaCuRXpA//PWQPCOg3EX8E2ueCgBIV6J99cgWA4EILRlifXIqQ8GBCEvY34Wu/6HDhQRkqWJ8zHxpUWD8ApChQiieKqGF4XaRQYoIMbogdF4bMKFFiIdbYDyI6SqSNjy4GOdEaPb63nZEQJZCFjfwhUyILDjggUJVW9oOlQN3kUBA9UBLZwYdFEJlFZQa5eJ4PMj5YAZH8rHFQA3AuWMuFRRJUSZ02IpgnQTgkeZ18P4QpVyQFFXCEoYOytwyjKGZQkB+QgsdeBhRUykuhafL5IntpCFraBwcN4Kml3PWQWKWSFRTGqfFx/4cGrLQZxIGosEmnZnXJJHrni/yVtyttPuRIkIXA+igsra8ZoQyIzErXV7I9QnKQBbBiwd01rL5XUBmeQkAGd5EY0G2jBGGR4SLlHYGrj/AUFAAnfXLXQbT8nfBMQfklS4N8buBLpBtedkrbAWboN2yYLxwURXWsCLgwtaQV9EisCgucoUGCaLYBnhrbOCZBAYyS1xpIXGjquxlSAERBCwjETInAhEwxY7O0yaRA0bAc5iVBriCvtTdPnKuAdfVzAiX8nlt0qwgqIEBef1BqsNP8FSPgDadotqhBD/t8cxRn6BcCxgINYTOBRAQiH6oELSF2gUZwF8x1TshrDNae5v8WwDbvjSBFQZwa3XdsWhCJAg/Qzu2jDLEVeMdBdazt4wBCG4bX03IV1MGqnFe6tF/kjACpQYQ4vqAbdgFjKqTeGCRn6LQfPdbEdexREJqGbzwWbrVvBoCkVwefITdiTUCi8YLxcpAelr93wDlg6YCC6gdJ8jrzRVMAzVcnRI9QJ9gnO0tVVaQvUPpV8E3bKra6X29UvdsYhScFSSD/zVPVX/QFMWjc/sCTMKdQYYBwssZBfCA+YMGPKTnoAgJ9N5BSPGyCr7nfUgJQi/L9aSAXwyB8RKOUHTTQReMqyA5ECDej8IiFPrIAG+QFQ9o46Cj+M9oW5CBA7vFHW0SJmQ//LSeLgwDghOmZAlGylEObFYQKIvBgejAnlD3V8HQF8cYBrliaPAQFDNtrotjmYRA8cNF2OrkAEsU2AEkgRIzXSRpP4DhExehhX8Wj42LW4RM9Wo51BmnCGl/jC53g4oxOJIgOnHNGA1ADJ0AQASLf9QuEkGMAiAyMTR7QBil68AClSMjd6jg/mQxjkKRkDDsa4kfaAE8mrdyfNPoFIVQuJkuwtKXNyOEQWehSMQV0CXlSGUuIwAIDnnxNBR7Ikh9oYJJOgwgbIIDIOLhEHckkJtQe0gxosoR82Wziv/bzS4HQ8iTYCufa8qCzAZWzH1q44UmKmcNuWmQM7+QHMVJC/0/JsGhFKkJRQP8p0BON0yIsOBsiC4GSfnZOJuiQpDaPk4SG6lKBNYnYRNE1Enq6gGk4cahAdkMSesYuJyLtxxHkGJJi7lMnG8jnIUqKSpb2wxtT64cAdiqQnebUpz3lqU6FmhEeXO+MdaBpNguiAxuIrZ0VkYLpNhoeNCgVgQ04yC9stgE0XcQKZ3ypSPxoxjziCwfmsaVGx3pCRciTIE1Uokbo6ZmONhAFD3ij5aipkXag8kR2Ld8B9Vq+jDwAE9nsRUnoqBA6etUictiCCMsa2P0pxBgNRGtG+iDCICzWctVgSArCN0C5zrWBQqysD10QIIbIwIMQKNtpC/vZudOJ4SHvQGAINtKIBprEf/GACEgZixEFaIC2V+WeTR1CXIzcoBWWrW003Vk+014EDtFN7q6yWhHqlC+2aRXbbwVGC4sAzoMhgKpF/DdeXGnhIgrgghQ/phFkile6tGtCXi+CWQR6cbbT1a6nBnuRWEiRA+0RmATnGS2NjECKQAJw8JhgUVFlZAIn3EV4WaWNCofJAxthwwmHsOHggcHD3cNjRqbQQAykLMG4SgKndkbjGtv4xjjOsY53zOMe+/jHQA6ykIdM5CIb+chITrKSl8xkqgQEACH5BAUKAP4ALA4AHACTAIYAAAj/APsJHEiwoMGDCBMqXMiwocOHECNKnEix4sIXPCxq3Mixo8VXAvlB6eGxpMmTHa8ACMkvDsqXMGMmFBKHH0ub/QrI3MmzJL+fNwXuStGzqNGHKoL2+4mTX4gzR6NKJVijjVKmLCFM3WpUjI2mQJeGxdoPCdezMA+MXQsW55sWaONyVHCV7dULYOTqnSjHSN22dZPsHexQ0iTAYhGTJUuAsOODA+wm/quU1I3HmClP3rx4rI8+mQcP0dxZ8doBofWqIEJacmmlP1KfVWK6dmucGuzInrqogm3Orl1vkbQ7qpHgv18Db1D8qPLnyDUvaM4TevLom0/JoS7T+u3vS0+g/+J+0hJ478BNHyBfUsWF89jRk1XGfiObXPCv6xe4o75HMkpokN+Am+nk30mfhPNeegQqd+BOHDgTRYPBvfBgUXQxqOFzFkxwYUUOABJERPLFx08qH1JE1iFkgMBQiful+FBjGi6BygMHwQiejAwVoEVr6xkkjIkxBsCjQofE6AhBMTAQI3rcHInQEkQKhEkCBInzJHYQACGlQTouxQxBC6y0YZVLeUDjlw3mkQNBj1BoGgJslkIhDgQZeeaWdEqpQx4UMgcmmtD1ySMLUGyJWEFhFiqlCYRKVpAIkc4pZaOSYTnQDJXWZeiFemKKGB8ERTCLop7KqI+cSrmQ0UC4oP8K3KcHfiLrc4cU5AqrSy2h54NldLqhAdAQdAWvq8gY2a3BHZGjsDyKuiNBmAp4pLR7PvvkKNNdKyx6BXGBJh2/Rvstdh4O9AWabPbjG7O/XVPQHdex1m4/MJz7mwGRENRDkM8ZYci9/dzgJK/PWUhQGpopkiHBO8DbmigEZaBZuTx2MOZACiyILXQoaMuSBQSLcMKbA8mAMHaMjoUBGwT/xA5BEqz8W8s4tQFLu0mJhdqgEmtYEBphIdJuICYohbPNSpE0EBUG4NTuFV4sStCyTG92R0FrSM0mpYiVi4y+pH1B0ASaxCwZGQTxMELQz3WxZrsSmKMZAN0KhAfcwS3/Q7ACnCQ3A0EEdJF1Z3UQHEt8dVg8UDGHS8pmiYOInO3lZElpBXwGWP6x5DKC8nOYS2OOpnkpxgMtQRCQrSEUEaSIrYECleD6c4MfmC62cxD0AAZ8KyYCC/7pELLpiGGA40BzBF9XEfWtcALcJRBUACaRg1VBfUncDoFuA1GTvdK7JUBJ5B94fntYmKnCyj0CSdOA85uV/jlieQ92/7QD7a+hOI/xH7gIUof1IYYBMdhLzZDHq7lxin6LccBeKMbACpIFD2QCAATHUgE7yeUS49PQCF4lEDJsECxPkEsQTkgaZOQpFiHM3FmGwcINDaAGBFlBDNnHFSn4ZoemgYT6/+h3lm4YkED2O2I/BrYVCyiRdNR6YlhowBUBrm4gepBiU2A2FSvK6mH90IYWQzIGjBXFiwTqz0AS0IQa/qQMR9EUGivIgMsMRBRu5MeCigJHCz4RBgXZABCP4oFBYq4CThMIHAzZE2rkcUtZGGLWekI0Q0Kxf2Psx4hkAodMYiuJ9NOAGU3CBE9eUSBE8CQoZBK1RyKRIGHwJBFIEJM5+q8gEvBAHolRS1NuiQEIsUIetQITW56LFgmpBSNL0i1j3ooUCzyIFJbpkd75sYZJKNaLMhlNjhxvjgAIp0DCaSZyjlOc/TBnP3ThEGcKpBM+CaFR3NkP5XmkhkZJlBs3cf9PeRYlVm60wPk4gs+iBIAXeeRERzYYpKOAIY/AJGjk3EAQkPRDABgVCEYFoNGMXtSjG3XIKHZ4jIVGjgkEWdI1HdInY9pNoisFjt8G8glePcSYcYKpFVUqkPTF9KZSdJFO12dRK/EKLg2xJaBMGtPFeIEgP+hcTMPgkD880VlMFaApCOKJoAmxIWJ4Yij62dSxjHUgseQVA2LXkBdA0BtkFWCyBjI2hInBIVQA2O2QOlS4feoNcEORQ9SRtVbEs6w4GUFBvoKwpzqEeIgVyI/i6rqtDQQB6zsWRPyXjsP6LxEEucX6BEEi122OskGbAkEEsb5qlDZoy8uq6/ZAEBp0EtEh1nCdSeinKYGI67YNgYduPTtcTAK3IZAI2m4nGcXjMmRINiWucpvL3IYEAHjRRW12/dmQTk5Xu37kgiR/6hAzFFe2t7KAJwiSjMjtIiIbOG9fGzQNmsEwsmIRQkSwRl7whskYBekABCcxt6SeSwQbCQgAIfkEBQoA/gAsFQAdAHkAhQAACP8A+wkcSLCgwYMIEypcyPDgA4EJGkqcSLGixYsEY5gQuCEDxo8gQ4okGKkVP4H8vCwaybKly4MU+J3sJ9PCy5s4Q8qcuVMggZxAgyLUhFJm0ZmkAgldCjQBDJ5GaUblh2EF06su1UzdCrUB1q8ie0qFSlbgArBoJUY6ynZs21MI0spFaIVCW7F4p+pxMrevwCkDyrodnPeA3755BSduS+Iw2sWEubb9VcMxU4+RFUsmbIOVZaEf7m6GDPkzTieaU4sWnMO0ywVdVGde3VbaHtcssYzeLRsvAyG4RTbgTXu28eAfSRM3DnkC8ovKey8XG+LMc4ksikfXPhoCqOsMHXD/l06+LfiEP/u1izm+PfOo5xkWuCJw0vT7suNTVBXM/fbIa+j3kRyFpOHfdDQUIGBBKWRXER/4FYdBegsO5AE/XQhUWUOGRMjcEhUShNcWigikIEJIeEhaAyuFaBwDL+yA0BblvYdChd+4N8YzBI1T43/6AfNjJgRpdWB+51kRmH/TEFTEj8sZcl5MPwpC0CZQyrbLef/hNQhBEB6p3XMPvaeYKQQNkeWYwSWghpg0aUBQEGsyh9xTcPJzAUEg1ElacJqoOFUDAQwUgZ+jBdflbi0QNEKeieK2qGY9EOQGpIqZBgSmRWVDUBacEvbZDSGEKlMnBNFgalRzWEaCEYhC/zUDQRysOtNnRwiqmRIEAbKqLK5Nyl2JA9li6jCNmSbse08QVEWooRQarK6iQUGQFKEit6xyNg2U7Lb8lPocuEgOtC0vjY5L7XEielgEhdquW1q7NcZHbnEFLfqofveya+50bWyInLQCMSDvZvku94Qf4G06UBMHC5awbLeB5whBx0RsHr34PjeFQIUQ1IjGg03cMW4B0DGTLgThQLJYJvvr2gdRYUOQGS/Dx3FkG6k70ygEyZDzrTvnZRVuG4q1AUHnDH0QaUwEB44ebbVBEBVOGwRZHEq5VsiSg9k1UAZZxyxWI4qOdtZAw9n69GZ/mJYeaSAQdEGsG/8rWAVlHv/GwxvaBUGQBniXXPRUqDiGCMTaDUFQLYXDfDhPsx52wnS+EJRG5DrrfZcAjnWJBUHycD7TDwQZMJoPcwUgo5kowUBQJaYLFNdAROxmR1oECPPjEQTdUns/fQy+Gy5pbaCiEQSBMbwlBOWyW62Pqcj6QLAMn/lAm2sGOFMFfIFGngec2A8Bw48+kMqaxXGVSYg6KNAJbvcj+0C0l/tSPqrC/h4cBGFE/YA3EFEsBycX4lwHCPKC+nmAIKU44E36lZd5ECQ0/vsPBggSCAm+hIJbAdFAtlG/CkREICnSX0tACJVr9Kp+/IgBQWh0MpewsChaIEgzYNgigchChSy5oVT/mjWQZ2VwOkQaiJFkJpITClEmXCCIKmDYpIE8qYYi8QQM+QEBgqgAhlYaiG6K07WRVGKLRPPcERXzpYGEyTjFaEkR0Pi2yKFpIGoqTjRaErc1usds8pLTQPogm6WN5AEVoKPWXrangfSpOCIwH0jIMTzJqZGChDJUbyoWknRUsnNbTJdAXKCdcoyEE59M4xYrNZBLMacbI7mbIgGJKE8NBFTMAVZIYpA1S24RVQPBIGkMoIyQfKGXoPTjeyonEOopBxwh0U0q67gqXg3EV+9ZRkiygExVKlM5xBKIsd6TQ5BQaZaTgxQRBSIJ7nhBJ92k5je3Yq2BYMt/yYnnIjnX/y2BfMuDFnkiwtI5T28CCSNCBIBCBaJQAMhTiLTMW0BJNhGBGhSgFYGoRCz60IFCh6IbLRtBfZlRkDaEo/vEIkU02hAbiPSSHp1o4dYmECUIAHT9qNtA2vDSPyKUZIggiCuicg6CKG94ETXcRwt3NIEwISoyIMgoeorPnxbuEbSKihkIgo2cGaCjErNqqGhBEFpEBQcE0UXOTkEQSvh0qaEi4UCEEBW0DaQMOUuFDt8q01BhUCCEnMkxCOKInAGjZXwtaeEaOBAERKUJBAFCzu4pkDEkliKBKZwAB4K+mTCAIBN42QgIRoAkXHYilyAZKWfIEwUQJAmRe9NAnMedr/+CpAQviwBBTMATHRAkBJGjA0EIIZ2efQQ1kdOpQNzBk6b2YwyRW+BAnsqdNn5EAWCjoOC4xxPgDEQAkXPOQLggnTCIJLWm8q5ABMETQhBkDYW70UBScB+H3TZy7h1IMHiyCYJ8o3DGIEgmpkMBCYgENabq70A6wJN6EGQOheMGQXDbm/GJBLumEs9A0MET2QpkwKFKBkHQMB1isOQSpnoHQeiLEg0LhMGhQgJBzskcz4ykBKa6gxd58rGB4DZbI50KZg4cKgasZSCJ4IkMBwJdIMNUMLNoiWsLKpAyEGQPqhNIHwXihwMULqli6cUE11WQoc7kEAQ55peDPBM8jLkcTjG7BUHWYVL3FO+DglptzBg2EEbU2X+6pUhAAAAh+QQFCgD+ACwYABwAeQCGAAAI/wD7CRxIsKDBgwgTKlzIcKCvcQ0jSpxIsaJFg9348bvIsaPHjwg1buwXTwLIkyhTFlwkUGRLd/RUypxpUYaFlhpxdqHJs2dCHDn7uRQa1KdRn0OTBuVQ4KjTkz1wjlQ6NcuEp1gvDokjtSvRqfwAZB0rsURQql6Hkl2bEO3XtEFxJGBLVwpcsHjTvmlBl2wmG3cDvyXqpW9WQgfyDnbr1rBTA2cjK2YcdA0Bx0glC6Y8ldQNzDw5b9ZM1AdolZ8XkxateuTpk+FGT15NukiE1x3FzN4tO201O7gtKgDAu3Vv1VuCV+RAuzjrxsojQnbe/PjQDwqiM3xe3bh3fh4QaP9XCGMS9fPW+Zkar7BAlfTov8fyw74hm2g7v3dnjelqfYqY7CegYin8Z5EOZsB3nIEInRGRNm8coKB3SDBoED8hYBNRBgINMKBgm1gokBheDeJEhQut8qF3B0hiYScGwOWCQLchRMiKjHmRg4HfdMdAL7YclAiOtPViIHcj6UCQAEQWp112+ilWCkEeNClYdBPwMuErBNVhpXfKyeFGfGoRhOSCwRHxZUFnRqldm2UOBGd3rz0yYZx30gkaHmSSxuaX0Dk2ZJ+K/UnolZjNWaiZgPrZF31uRmponovSBQqlXk0aKWMG8IEZHZgOpqmiArmACmgOhIrnpt0hctoxqhb/xeihop7WSqyuzZqnObghISGrTuoKrEBJyBAcCLQGGiobyjmRrKNzDVtrcOU8C9YFBIGQZyPjmRXrJQRZcecOAYz3gbU4CUNQOROuUt8T6BIVCkElTPifmrFeOhAT6Q1g4A+NgvXeQE+kV4iBNQSMkxwEmbbpvAZmo7BQDTRFY3x6WPxfJRPzwwVBQJCZzXjBEBRNx1kQpJt1Aoxn7ECNdKwOQXyQaQBwuNEiEDwEadDxEgSx0yeopxVwzUg4C2RevPyQQRAnfRLxWi5BmSRnx8wOZAStoK1K6mJ8DTQC131dkamwX0dBUA5r0tWBCGdfHe8fBMHR9lrMJBY3rgLl/0KQJV/+wJay0rqlBEGAfHlwVlAS/vVQgBCkxJfOZMVCNYjKHaolBFGdLBVPAUFc5nz3Y/ZAjAB6uFMU6Kl54UHtOFAUgNahjFOsjXp3rHP4xKWkaO8OO1hG+JQGmq9/rTvZMnlSAfKlL2+vTAGQEp/00mLf5kwyrKi998Ezn5IPAjJAEA/Rhz9huSpx9wtBDg6/t/yDDZwSd7UQNET6yX/JbfsCOgRBPsG/0g2AQyC5RXoiN5DVPU5W/UsW0D4SgVmkh3MDaUcB6ZeUWVitIzvoExwIwogNPhAsJOoILGiXHtkJRG0chGDpNLKejoQDR4AZSAaYJsMYguVXHIGTB/8IAgYexuhCHevhROAECYLYgodiQSIPc2UROCWCIGbg4R0OcsL5NQSBcCIEQQbBwyIcxARJpKJEYHAnURDkBTzUxEEekUaBKGkiKLgT6AaCAh4uriASaMIUBaKhiVTiTiQYSACSwMMgICQMg+yHHmoUkctI6wQEiUESY4AQAtzKhy15GUXaZA2CrKBjFmDfQcQISqEUrCJt0gJBCtGxNihkATPkBzpguSIOEEQTHXNHQ7pIlFRUJA8r8gVBYNAxY24niXCjSBbjk0KB3KFjBHxmJCdCghPEBxoEgULH9scQ2m1zIiE8DiX70YCOxW8hQDmnRHKQw9ypr3DoYwgsPLT/wYYQzZ4RnBAFJLKPSOZTIv4BaOmGGBEdPK+VeLiIQlvZRIkYqZVNUOUSXVe6K0rkdMTkh7h4GayASgsXVeyYLBuiUQhwtJUqSCnTGsAChcS0H18gyDpeSkyJJlGOCeFXP0ygyn2WtJ8RCSmGEkKNqeR0IGQkXSsvYo06HqQA45gKUQeCgCM6bmIXAZw8B1ItsDxVIKkC0z23ZxEJpK6fGIiMCQjiKrWalK01GatUv/qsGQ3kdhRJQBSJaUmTYu971KEBQVzUD40yhBmlE8Jhg3dEgQguhkEaiC4EIlmJ4LKVGxBI/NyiUaWMgSA1UFUDXNgPTgjEDdHaaLxy6Aqp/8YhMvggyMseV1uC2KMl+pJtqIx0i6OqRlsDqeHjcjsQQ0wlBIVN6sTKgARB7vUspyAICSCgqtQOZAhg8dREGDAxemiDp2eZoECeGKo8EoQ5OHGYRAYVKkmidyqqIMgNQ+VLgqDRiwlJBlgnOhRMEGQB5A0VAgVSxEoxZAYDvq9AICaQYoCVIA5wVEN+EeHZ+EuKAtmjQBbQg2IIxBnInN5ALBAZIEo3XvrprR0BXBBIyYMG2QVe/94xyg7DRRwE4QaNGQKOMERDIC4Fi2JBTBRg9PhZkxgIAKYskClHccrv7IczrYySAMjhVP3IxThSUxAu9wMA0njAk/NUj4EEBAAh+QQFCgD+ACwYABwAeQCGAAAI/wD7CRxIsKDBgwgTKlzIsKHDhxAjSpzY8IHABBQzatzI0WAMEwI3ZOhIsqRJhJFa8RPIz8uikzBjbqTAb2W/mhZk6tzpsKZNnwIJ8Bw6VBPLmkdtkgpEtOnJBDB+Ir05lR+GFU6zclRTtavUBlrDUgRKVapZgQvEqlUYKanbsm9PIVhLl6AVCm/J6q2qx0ldulMGnIVLeO+Bv2v3Dlb8lgRirYwLe337q8bjoSMlL55c2Aaryzs/5OUcOTJomE42qx49OMfpkgu6rNbM+q20Pa87YiHNe7ZeBkJyb2zQuzbt48LHFj9emvOE5BKb+15ONsQZ6A1ZGJe+nTQEUNgXOv/oPr382/AIhfZrR5O8e+ZT0S8scEXgJOr4Z8t/qCrYe+6SrbEfRXIUksZ/1NFQwIAEpaBdRHzkZxwG6jEokAf8dCGQZQ0ZIiFzS1g4kF5bKCLQgggh8WFpDbwkYmQMvLADQluYBx8KDH7z3hjPEDSOjQDKBwyQmRDEFYL6hWeFYP9NQ1ARQC5nSHg0ASkIQZtEOdsu4QGo1yAERYjkdslZBN9iphA0hJZk5paAGmPepAFBQbDJnHBRxcnPBQSBYGdpuWmyYlUNBDBQBH+SlpuXvLVA0Ah6Kvoao5v1QJAbkS4GGhCZHpUNQVl0WthlN4Qgak2dEETDqVPN8RgJRiT/KtUMBHHAqk2XHTHoZkoQBAirspxGaXcmDmTLqcM4Btqw8D1BUBWihmKosLuOBgVBUogqHLPN5TSQstzyY2py4SY54oq8OEputcgRxGwRFW7LrmnufoheucYVxCik8uHb7rm+tcGhcNMKxMC8nOm73BN+YMfpQE0gPJjCs+GGnSMEHSPxefWam9sUAhVCUCMbE0ZxvrkFQIdNuhCEQ8lknfzvaR9MhQ1BZsAcX8ejgbSuTaMQJIPOuPIsGVavcUjWBgSdQ/RBpTGRGzh6vNUGQVQ8bVBkcTB1WiFMEobXQBloLTNZjSxKWloDEXcr1Jz9AZp6pYFA0AWycgzwWxWY//kXD29sFwRBGuRtstF6oYIYIhFvNwRBtRgeM+JV0frXCdT5QlAaku+8d2ECIOYlFgTJ07lNPxBkAGk+rBXAjGeyBANBlZwu0FwDEcGbHWIRIAyQRxB0i+399EE4b7iItcGKRhAEBvGWEJQLb7aGxW3rA8FCvOYDcb5Z4EQV8AUaeh6AYj8EEE/6QCtvFkdTKiX6oEAnvN3P7APV7rFJ+awaO3xwIAgj7Be8gYhiOTHBUOc6QJAX2M8DBCkFAmHir73MgyCi+R+AMECQQEzwJBXsSogGsg37VQAjAlHR/kgSQqlcw1f240cMCFIjlIFQZ1ogSDNi6CKByGKFHWnhUf+cNRBoaZA6RRrIkWbGERQKkSpcIIgqYuikgUDJhh3xRAz5AQGCqCCGVxrIbozjtY5UYotF+1wFwTQQMR2nGCUpAhrhJrk0DWRNxolGSeR2RBudbV5zGkgfZsO0jjygAnPcGsz4NBA/GUcE59MIOYg3OTXOq1CH8o3FNpIOSnpui+oSiAu2U46OcMKTadyipQaCKeZ0oyN4S+QfE/WpgYSKOcHaSAy0VsktpmogGSyNAZSxkS/w8pN97I7lBFK95oBjI7tBJR1Z1auB/Ao+y9hIFo6ZymTCp1gCORZ8cqiRKsmScokiokAk0R0vbOSJ9LJkoq41kGz9LyPwTBg6I+X/LYGA64PR4eY0vRnP9+CzZABIqEASCoCBPnGWeguo4R6Sz24GSTkT7YnZ9nm4iTxUo8SDaEclqi2Q2k+kvYzIRxtig43KM6IqLRnbBKIEAYSuH3YbSBtcalCMigoRBHHFVM5BkOWFlKMphcgTkSYQJkxFBgQZBU/v6VOCTuURtZqKGQiCDZ0ZwKH69GjJaEEQWkwFBwTRhc5OQRBK9FSshivhQIQwlbQNpAw6S4UO30pSq9okgwIZpE2OQRBH6AwYLuNrTA3nwIEgYCpNIAgQdGZPgYxBsRARjOEGOJD02YQBBJkAzEZQMAIkAbMPuUTJRknDnyiAIEmQHJwG8rzu/3xVIyWAWQQIYoKf6IAgIZAcHQhCiOn4LCOpkVxOBeKOnzC1H2OQHAMH4tTusDEjCghbBQfXvZ8EZyACkNxzBsKF6YSBI6o91XcFIoifEIIgazAcjgaSAvw8DLeSe+9AgvGTTRDkG4YzBkEyQR0KSIAjqTmVfwfSgZ/UgyBzMBw3CJJb35CPI9k91XgGgo6fzFYgBBZVMgiCBuoQgySXONU7GvSTDQukwaJCAkHMyZzPdKQEp7qDF38CsoHktqQvLUxmECwqBrRlIIn4yQwHEl0gv2cWJXmtXwVSBoLsYXUC4aNA/HCAjAaZLL2gILsKIlSbHIIgxvTye/AgZjvJ7BwWBFlHyVA6FePdMEqslVnDBsKIOSN1KrudSEAAACH5BAUKAP4ALBUAHQB5AIUAAAj/APsJHEiwoMGDCBMqXMhQ4QseDSNKnEixokWCrwTyg9LjosePIEMSvAJAI784IlOqXHlQSBx+JmH2K8Cyps2L/HLGFLgrxc2fQA+q2Nkvp0x+Ic4EXfqzRhuiRk1CYEp1pRgbR3UW1Rq1H5KqYD0e4Eo2q8w3LcKqbagAalmoF8CsnXtQjhG3Zt0moctXoKRJebcG7tqVQN+1A94KxkuU1I3DYQkrljzYRx/IS4cwXsyZsskBmIGqILLZc2fFP0LXVDJ4suvAGuyoVrmoQuvbpblukTRbpJHXuXFvbdA7pOnjwE/LXFAcZ3LkwruektO8IvTg2IueQFW9oaXs15W7/z3QfaGKC+Cfq5eprPxBNrnSR18vcId7hWSUaJDPnzPN+w19Eg564hUYXlcAWsSBM1H0h9wLCX7UloH0FWXBBBES5AAgQVB0oHqpZDhQV4eQAQJDH84nU4KGFbgEKg8clGJ2ABagRW7kGSRMheEFcN8hKgrkCEExMBAkhTJx494SFWKSAEHiHBkeBECUN2NRzBC0QElIgudBi81dyU8eORD0iIOuIVBcKWjiQJCPXcaZk5qz6ZAHmsQZJGaas7EAhZSKFbRna3SGZgKPgRIkAqKEzjYoUU8ONAOjbhXaF5yPcsYHQRHMAmijkOmDZmAuQDQQLp9WCtknqRp4SEGujP+q0RJw8lUGpQYaAM1IsvazCmaJtYrcETLiGlqm4QmK6H6qIZucslKOwlyzuCZLEBcV0lHrsdUmh+FAX1TYnG3CJndNQXfMR1p1MHQrnAGRENRDjscZYUh3NxjZ63EQEpTGZopM2N0O5c4nCkEZbLZtaB1kOZACBDrbGgrFZmVBdyKcUOZAMuz7LEGEYcBGdzmxQ5AEHgsHrUBtwNLcUFuBpqe7mxWEhlaINBeICUStLGeFHQ1EhQErFneFF4EVFGzKRN1R0BpF97ZoYNsiQ7OBXxA0gSYkK0YGQTyMUHBpXYDZnATmbAbAtALhMTaFy3SnACfRzUAQAV0wfVod3cX/8lwdCQ9UjN6mhaneIBUTrtVsVqRnQOI/H6kaKDJf6bPERH0HWTzGEgTB1aZBEQFkmf4nUAmgT2Y3Xd9mOgdBD2Dw9nEisDCXDhRHThQGMQ40x+yuFbHWCifMXgJBBWCieFYVrJUE6BDINhA1y/e8VAKUKP4B5JhzZpMqrNwjkDQNAJ80yKkHxrZK3Vs7YvpEiVNT+x8PVAf8nDEQQ0oo6+5/YQSZlPmg4oCUHOx/uMKDlgAwwM5UgE0huUT1CjQCUwmEDA2UzBNCEoQMPgcZb4rFBBHkkWF4MDoDqAFBVjDCxV1ECrZpYWsgwT38eaQb+LMc+k4okHtZxAI5FNcO/ydIA+fwME4F0UMQjzIy6ywxOwLrhzaeWJQxLKwh9GuVfQaSgCYcMSdlkEikstgfBjxmIKL4Ij8I1JAwIjCDMCjIBmQoEQ/QUU4VCJpA4HBHhlBDjYDKQg0byJCb3VGH7ztihxICBypm6nL408AVB8IER3ZuIERwJCgSQjRA9qcgYXAkEUiAEDK+0XoDkYAH1EiMUloSUAxAiBXUOJVBHtI1tEhILfookGmZElmk6N9BpMDLfrzulMg0TRJ2hSIq9i93pgSANAUiTS5Vk5rT7Mc1+6GLiPxSK53QyATB8k2Z8K4o46zKn764CXQmM1FUQdUXLUCJI4IlALxQI90Ul/+jsIBBjfp6Z1bcgBGBCOCgBkVoPw4qgIQ2dKEKZcgoWngMDzKBIENCJkPo9E1zeDBuA/lEryTyzUd4MKMC2Z5GvRlEEHgwIwNRHjLTgsUc3imDXiDIDx6HzDBE5A85JFYGTUEQT7yNhg0RQw5D4c72MXUgoewVA0bXkBdk0BtNBd2vBmK1fYkhIlSgF+jSkkFLvWF2IYqIOvTWCnEKVCAjKAhW9pXTiNjurf24UVbf5rSBICB1V/DQ1dLh1u4lgiC3SJ0gBPu2xu21V1MgiCBSVw3G9qp3DdwDQUxIyIhY42oj0lukBIKtzjYEHqAtbGoTqbeJQOJtocUrJGErkR1MjVS1tGWtbCMSANnd9rEr1W33JNLI3AKPC7YMLkPMsNrZWcATBEmG4nZBkQ00d1/TOJkI8ZoTIVBkacF9mzEK0oEMTsJsNS2XCAoSEAA7";const Lk=oe({name:"FullScreenKongSkeleton",props:{progress:{type:Number,default:null}},setup(t){const r=j(0),e=j(0),i=F(()=>t.progress!==null?t.progress:e.value);return Bt(()=>{t.progress||(r.value=setInterval(()=>{e.value>=100&&(clearInterval(r.value),e.value=100),e.value=Math.min(e.value+Math.ceil(Math.random()*10*30),100)},200))}),Fi(()=>{clearInterval(r.value)}),{timer:r,progressInternal:e,progression:i,loaderImage:Bk}}}),Fk={class:"fullscreen-loading-container","data-testid":"full-screen-loader"},Rk=["src"],Vk={class:"progress"};function Nk(t,r,e,i,n,s){return S(),I("div",Fk,[T("div",null,[T("img",{src:t.loaderImage,alt:"Loading"},null,8,Rk),T("div",Vk,[T("div",{style:cr({width:`${t.progression}%`}),class:"progress-bar",role:"progressbar"},null,4)])])])}var jk=ze(Lk,[["render",Nk],["__scopeId","data-v-4f1a85a8"]]);const Hk=oe({name:"KSkeleton",components:{Skeleton:dk,CardSkeleton:Sk,TableSkeleton:kk,FormSkeleton:$k,FullScreenKongSkeleton:jk,KIcon:Xe},props:{delayMilliseconds:{type:Number,required:!1,default:0},type:{type:String,default:"",validator:t=>["table","card","form","spinner","fullscreen-kong",""].includes(t)},progress:{type:Number,required:!1,default:null},cardCount:{type:Number,default:1},tableColumns:{type:Number,required:!1,default:6},tableRows:{type:Number,required:!1,default:6}},setup(t){const r=j(!1);return Bt(()=>{setTimeout(()=>{r.value=!0},t.delayMilliseconds)}),{isVisible:r}}});function zk(t,r,e,i,n,s){const a=be("CardSkeleton"),o=be("TableSkeleton"),l=be("FormSkeleton"),u=be("FullScreenKongSkeleton"),c=be("KIcon"),h=be("Skeleton");return t.isVisible?(S(),I("div",{key:0,class:ue([{"w-100":t.type!=="spinner","opacity-0":!t.isVisible},"d-flex flex-wrap k-skeleton-container"])},[t.type==="card"?(S(),fe(a,{key:0,"card-count":t.cardCount},{"card-header":se(()=>[de(t.$slots,"card-header")]),"card-content":se(()=>[de(t.$slots,"card-content")]),"card-footer":se(()=>[de(t.$slots,"card-footer")]),_:3},8,["card-count"])):t.type==="table"?(S(),fe(o,{key:1,columns:t.tableColumns,rows:t.tableRows},{default:se(()=>[de(t.$slots,"default")]),_:3},8,["columns","rows"])):t.type==="form"?(S(),fe(l,{key:2})):t.type==="fullscreen-kong"?(S(),fe(u,{key:3,progress:t.progress},null,8,["progress"])):t.type==="spinner"?(S(),fe(c,{key:4,icon:"spinner",size:"18",color:"#000"})):(S(),fe(h,{key:5}))],2)):ne("",!0)}var E1=ze(Hk,[["render",zk]]);const Uk=oe({name:"KCatalogItem",components:{KCard:yf},props:{item:{type:Object,default:()=>({})},truncate:{type:Boolean,default:!0},testMode:{type:Boolean,default:!1}},emits:["clicked"],setup(t,{emit:r}){return{handleCardClick:(i,n)=>{r("clicked",{evt:i,item:n})}}}});function Kk(t,r,e,i,n,s){const a=be("KCard");return S(),fe(a,{"has-hover":"",role:"button",tabindex:"0",class:"grid-item d-flex flex-column overflow-hidden k-card-catalog-item","data-testid":t.item&&t.item.title?`${t.item.title.replace(/[^0-9a-z]/gi,"-")}-catalog-item`:"catalog-item","test-mode":!!t.testMode||void 0,onClick:r[0]||(r[0]=o=>t.handleCardClick(o,t.item))},{title:se(()=>[de(t.$slots,"cardTitle",{},()=>[he(re(t.item?t.item.title:""),1)],!0)]),body:se(()=>[T("div",{class:ue({"multi-line-truncate":t.truncate})},[de(t.$slots,"cardBody",{},()=>[he(re(t.item?t.item.description:""),1)],!0)],2)]),_:3},8,["data-testid","test-mode"])}var Wk=ze(Uk,[["render",Kk],["__scopeId","data-v-f7fba218"]]);const{useRequest:Yk,useDebounce:Gk}=jn();oe({name:"KCatalog",components:{KButton:gt,KCatalogItem:Wk,KEmptyState:bf,KPagination:T1,KSkeleton:E1,KSkeletonBox:wo},props:{isLoading:{type:Boolean,default:!1},cardSize:{type:String,default:"medium",validator:t=>["small","medium","large"].includes(t)},title:{type:String,default:""},noTruncation:{type:Boolean,default:!1},emptyStateTitle:{type:String,default:"No Data"},emptyStateMessage:{type:String,default:"There is no data to display."},emptyStateActionRoute:{type:[Object,String],default:""},emptyStateActionMessage:{type:String,default:""},emptyStateActionButtonIcon:{type:String,default:""},emptyStateIcon:{type:String,default:""},emptyStateIconColor:{type:String,default:""},emptyStateIconSize:{type:String,default:"50"},hasError:{type:Boolean,default:!1},errorStateTitle:{type:String,default:"An error occurred"},errorStateMessage:{type:String,default:"Data cannot be displayed due to an error."},errorStateActionRoute:{type:[Object,String],default:""},errorStateActionMessage:{type:String,default:""},errorStateIcon:{type:String,default:""},errorStateIconColor:{type:String,default:""},errorStateIconSize:{type:String,default:"50"},fetcher:{type:Function,required:!0},initialFetcherParams:{type:Object,default:null},fetcherCacheKey:{type:String,default:""},searchInput:{type:String,default:""},paginationNeighbors:{type:Number,default:1},paginationPageSizes:{type:Array,default:()=>[15,30,50,75,100],validator:t=>!!t.length&&t.every(r=>typeof r=="number")},paginationTotalItems:{type:Number,default:null},disablePaginationPageJump:{type:Boolean,default:!1},disablePagination:{type:Boolean,default:!1},hidePaginationWhenOptional:{type:Boolean,default:!1},testMode:{type:[String,Boolean],default:!1}},emits:["kcatalog-error-cta-clicked","kcatalog-empty-state-cta-clicked"],setup(t,{slots:r}){const e={page:1,pageSize:15,query:""},i=j([]),n=j(0),s=j(""),a=j(1),o=j(15),l=j(!0),u=j(!1),c=F(()=>!!r.toolbar),h=async()=>{l.value=!0;const C=t.searchInput,P=await t.fetcher({query:C||s.value,pageSize:o.value,page:a.value});return i.value=P.data,n.value=t.paginationTotalItems||P.total||P.data.length,l.value=!1,P},d=async()=>{const C={...e,...t.initialFetcherParams};a.value=C.page,o.value=C.pageSize,s.value=C.query,u.value=!0},f=F(()=>!t.fetcher||!u.value?"":`catalog-item_${Math.floor(Math.random()*1e3)}_${t.fetcherCacheKey}`),{query:p,search:g}=Gk("",350),{revalidate:v}=Yk(()=>f.value,()=>h(),{revalidateOnFocus:!1}),y=({page:C})=>{a.value=C},m=({pageSize:C})=>{o.value=C},w=C=>C.toLowerCase().replace(/[^[a-z0-9]/gi,"-");return Ye(()=>t.searchInput,C=>{g(C)},{immediate:!0}),Ye(()=>[p.value,a.value,o.value],()=>{v()},{immediate:!0}),Bt(()=>{d()}),{data:i,isCardLoading:l,page:a,pageChangeHandler:y,pageSize:o,pageSizeChangeHandler:m,total:n,getTestIdString:w,hasToolbarSlot:c}}});oe({name:"KCheckbox",inheritAttrs:!1,props:{modelValue:{type:Boolean,default:!1,required:!0}},emits:["input","change","update:modelValue"],setup(t,{emit:r,attrs:e}){const i=s=>{r("change",s.target.checked),r("input",s.target.checked),r("update:modelValue",s.target.checked)};return{modifiedAttrs:F(()=>{const s={...e};return delete s.class,s}),handleChange:i}}});function Zk(t,r){let e;return(...i)=>{clearTimeout(e),e=window.setTimeout(()=>{t(...i)},r)}}const Hn=t=>(Nr("data-v-034f9b55"),t=t(),jr(),t),qk=["id"],Qk={key:0,class:"k-code-block-actions"},Xk={class:"k-search-container"},Jk=["for"],eT=Hn(()=>T("span",{class:"k-visually-hidden"},"Search",-1)),tT=[eT],rT=["id"],iT={key:0,class:"k-code-block-search-error"},nT=Hn(()=>T("span",{class:"k-visually-hidden"},"Clear query",-1)),sT={class:"k-search-actions"},aT=Hn(()=>T("span",{class:"k-visually-hidden"},"RegExp mode enabled",-1)),oT=Hn(()=>T("span",{class:"k-visually-hidden"},"Filter mode enabled",-1)),lT=Hn(()=>T("span",{class:"k-visually-hidden"},"Previous match",-1)),uT=Hn(()=>T("span",{class:"k-visually-hidden"},"Next match",-1)),cT={class:"k-code-block-content"},hT={key:0,class:"k-filtered-code-block","data-testid":"k-code-block-filtered-code-block"},dT={class:"k-line-number-rows"},fT=["id","href"],pT=["innerHTML"],gT={key:1,class:"k-highlighted-code-block","data-testid":"k-code-block-highlighted-code-block"},vT={class:"k-line-number-rows"},mT=["id","href"],yT=["innerHTML"],bT=Hn(()=>T("span",{class:"k-visually-hidden"},"Copy",-1)),_T=oe({__name:"KCodeBlock",props:{id:{type:String,required:!0},code:{type:String,required:!0},language:{type:String,required:!0},isSearchable:{type:Boolean,required:!1,default:!1},isProcessing:{type:Boolean,required:!1,default:!1},query:{type:String,required:!1,default:""},showCopyButton:{type:Boolean,required:!1,default:!0},showLineNumberLinks:{type:Boolean,required:!1,default:!1}},emits:["code-block-render","matching-lines-change","query-change"],setup(t,{emit:r}){const e=t,n=window.navigator.platform.toLowerCase().includes("mac")?"Options":"Alt",s={"alt+c":"copyCode","alt+f":"toggleFilterMode","alt+g":"toggleFilterMode","alt+r":"toggleRegExpMode",f3:"jumpToNextMatch","shift+f3":"jumpToPreviousMatch"},a=Zk(ge,150),o=j(e.query),l=j(!1),u=j(!1),c=j(!1),h=j(null),d=j(null),f=j(null),p=j(0),g=j([]),v=j(null),y=F(()=>Array.from({length:e.code.split(` -`).length},(A,z)=>z+1)),m=F(()=>y.value[y.value.length-1].toString().length+"ch"),w=F(()=>e.id.toLowerCase().replace(/\s+/g,"-")),C=F(()=>e.isProcessing||l.value),P=F(()=>c.value&&E.value!==""),E=F(function(){return o.value===""?"":e.code.split(` -`).filter((A,z)=>g.value.includes(z+1)).map(A=>{try{const z=new RegExp(o.value,"gi");return A.replace(z,ae=>`${ae}`)}catch{return A}}).join(` -`)});Ye(()=>e.code,function(){V(),H()}),Ye(()=>u.value,function(){H()}),Ye(()=>P.value,async function(){var A,z;((A=document==null?void 0:document.activeElement)==null?void 0:A.tagName)==="PRE"&&((z=d.value)==null||z.focus({preventScroll:!0})),P.value||(await Yr(),V(),H())}),Bt(function(){document.addEventListener("keydown",Ce),f.value instanceof HTMLInputElement&&e.query!==""&&(f.value.value=e.query),V(),H()}),fo(function(){document.removeEventListener("keydown",Ce)});function V(){var A;const z=(A=d.value)==null?void 0:A.querySelector(".k-highlighted-code-block"),ae=z==null?void 0:z.querySelector("code");z instanceof HTMLElement&&ae instanceof HTMLElement&&r("code-block-render",R(z,ae))}function D(){var A;const z=(A=d.value)==null?void 0:A.querySelector(".k-highlighted-code-block"),ae=z==null?void 0:z.querySelector("code");z instanceof HTMLElement&&ae instanceof HTMLElement&&r("matching-lines-change",R(z,ae))}function R(A,z){return{preElement:A,codeElement:z,code:e.code,language:e.language,query:o.value,matchingLineNumbers:g.value}}function Q(A){const z=A.target;z.value!==o.value&&(l.value=!0,a(z.value))}function ge(A){o.value=A,r("query-change",A),H()}function H(){l.value=!0,h.value=null;const A=o.value.length>=3||e.code.length<1e3,z=o.value.length>0&&(u.value||!u.value&&A);let ae=[];if(z)try{ae=q(e.code.toLowerCase(),o.value.toLowerCase(),u.value)}catch(ve){if(ve instanceof Error)h.value=ve;else throw ve}p.value=ae.length,g.value=Array.from(new Set(ae)),D(),l.value=!1}function q(A,z,ae){return ae?we(A,z):_e(A,z)}function _e(A,z){const ae=[];let ve=0;for(;ve[A.toLowerCase(),z])),Je={toggleFilterMode:{trigger:pe,isAllowedContext(A){return d.value!==null&&A.composedPath().includes(d.value)},shouldPreventDefaultAction:!0},toggleRegExpMode:{trigger:te,isAllowedContext(A){return d.value!==null&&A.composedPath().includes(d.value)},shouldPreventDefaultAction:!0},jumpToNextMatch:{trigger:xe,isAllowedContext(A){return d.value!==null&&A.composedPath().includes(d.value)},isDisabled:()=>g.value.length===0||c.value,shouldPreventDefaultAction:!0},jumpToPreviousMatch:{trigger:L,isAllowedContext(A){return d.value!==null&&A.composedPath().includes(d.value)},isDisabled:()=>g.value.length===0||c.value,shouldPreventDefaultAction:!0},copyCode:{trigger:G,isAllowedContext(A){return d.value!==null&&A.composedPath().includes(d.value)},shouldPreventDefaultAction:!0}};function Ce(A){const z=ce(A.code),ae=[A.ctrlKey?"ctrl":"",A.shiftKey?"shift":"",A.altKey?"alt":"",z].filter(_=>_!=="").join("+"),ve=Te[ae];if(!ve)return;const b=Je[ve];b.isAllowedContext&&!b.isAllowedContext(A)||(b.shouldPreventDefaultAction&&A.preventDefault(),!(b.isDisabled&&b.isDisabled())&&b.trigger(A))}const Ee=["ControlLeft","ControlRight","ShiftLeft","ShiftRight","AltLeft"];function ce(A){return Ee.includes(A)?"":A.replace(/^Key/,"").toLowerCase()}function xe(){U(1)}function L(){U(-1)}function U(A){if(g.value.length===0||!(d.value instanceof HTMLElement))return;typeof v.value=="number"?v.value=(v.value+A+g.value.length)%g.value.length:v.value=0;const z=g.value[v.value];if(!z)return;const ae=d.value.querySelector(`#${w.value}-L${z}`);ae instanceof HTMLElement&&typeof ae.scrollIntoView=="function"&&ae.scrollIntoView({block:"center"})}async function G(A){const z=A.currentTarget;await a1(e.code)&&(z.setAttribute("data-tooltip-text","Copied code!"),window.setTimeout(function(){z.removeAttribute("data-tooltip-text")},1500))}return(A,z)=>(S(),I("div",{id:e.id,ref_key:"codeBlock",ref:d,class:"k-code-block",tabindex:"0",style:cr(`--maxLineNumberWidth: ${ie(m)}`),"data-testid":"k-code-block"},[t.isSearchable?(S(),I("div",Qk,[T("div",Xk,[Z(Xe,{class:"k-search-icon",icon:"search",size:"20",color:"currentColor","data-testid":"k-code-block-search-icon"}),T("label",{for:`${e.id}-search-input`,class:"k-code-block-search-label"},tT,8,Jk),T("input",{id:`${e.id}-search-input`,ref_key:"codeBlockSearchInput",ref:f,class:"k-code-block-search-input",type:"text","data-testid":"k-code-block-search-input",onInput:Q},null,40,rT),h.value!==null?(S(),I("p",iT,re(h.value.message),1)):ne("",!0),Z(Xe,{class:ue(["k-is-processing-icon",{"k-is-processing-icon-is-visible":ie(C)}]),icon:"spinner",color:"var(--grey-400)","data-testid":"k-code-block-is-processing-icon"},null,8,["class"]),o.value!==""?(S(),I("button",{key:1,class:"k-clear-query-button",type:"button",appearance:"outline",title:"Clear query","data-testid":"k-code-block-clear-query-button",onClick:$},[nT,Z(Xe,{class:"k-clear-icon",icon:"clear",size:"20",color:"currentColor","data-testid":"k-code-block-clear-icon"})])):ne("",!0)]),T("p",{class:ue(["k-code-block-search-results",{"k-code-block-search-results-has-query":o.value!==""}])},[p.value===0?(S(),I(Ue,{key:0},[he(" No results ")],64)):typeof v.value=="number"&&!ie(P)?(S(),I(Ue,{key:1},[he(re(v.value+1)+" of "+re(p.value),1)],64)):(S(),I(Ue,{key:2},[he(re(p.value)+" results ",1)],64))],2),T("div",sT,[Z(gt,{class:"k-regexp-mode-button",type:"button",appearance:u.value?"secondary":"outline","aria-pressed":u.value,"is-rounded":!1,size:"small",title:`Use regular expression (${ie(n)}+R)`,"data-testid":"k-code-block-regexp-mode-button",onClick:te},{default:se(()=>[aT,he(" .* ")]),_:1},8,["appearance","aria-pressed","title"]),Z(gt,{class:"k-filter-mode-button",type:"button",icon:"filter",appearance:c.value?"secondary":"outline","aria-pressed":c.value,"is-rounded":!1,size:"small",title:`Filter results (${ie(n)}+F)`,"data-testid":"k-code-block-filter-mode-button",onClick:pe},{icon:se(()=>[Z(Xe,{class:"k-button-icon",icon:"filter",size:"16",title:`Filter results (${ie(n)}+F)`,color:"currentColor"},null,8,["title"])]),default:se(()=>[oT]),_:1},8,["appearance","aria-pressed","title"]),Z(gt,{class:"k-previous-match-button",type:"button","is-rounded":!1,size:"small",title:"Previous match (Shift+F3)",disabled:g.value.length===0||c.value,"data-testid":"k-code-block-previous-match-button",onClick:L},{icon:se(()=>[Z(Xe,{class:"k-button-icon",icon:"chevronUp",size:"16",title:"Previous match (Shift+F3)",color:"currentColor"})]),default:se(()=>[lT]),_:1},8,["disabled"]),Z(gt,{class:"k-next-match-button",type:"button","is-rounded":!1,size:"small",title:"Next match (F3)",disabled:g.value.length===0||c.value,"data-testid":"k-code-block-next-match-button",onClick:xe},{icon:se(()=>[Z(Xe,{class:"k-button-icon",icon:"chevronDown",size:"16",title:"Next match (F3)",color:"currentColor"})]),default:se(()=>[uT]),_:1},8,["disabled"])])])):ne("",!0),T("div",cT,[ie(P)?(S(),I("pre",hT,[T("span",dT,[he(` - `),(S(!0),I(Ue,null,Rt(g.value,ae=>(S(),I("span",{key:ae,class:"k-line"},[he(` - `),T("a",{id:`${ie(w)}-L${ae}`,class:"k-line-anchor",href:e.showLineNumberLinks?`#${ie(w)}-L${ae}`:void 0},re(ae),9,fT),he(` - `)]))),128)),he(` - `)]),T("code",{innerHTML:ie(E)},null,8,pT)])):(S(),I("pre",gT,[T("span",vT,[he(` - `),(S(!0),I(Ue,null,Rt(ie(y),ae=>(S(),I("span",{key:ae,class:ue(["k-line",{"k-line-is-match":g.value.includes(ae),"k-line-is-highlighted-match":v.value!==null&&ae===g.value[v.value]}])},[he(` - `),T("a",{id:`${ie(w)}-L${ae}`,class:"k-line-anchor",href:e.showLineNumberLinks?`#${ie(w)}-L${ae}`:void 0},re(ae),9,mT),he(` - `)],2))),128)),he(` - `)]),T("code",{innerHTML:e.code},null,8,yT)])),e.showCopyButton?(S(),fe(gt,{key:2,class:"k-code-block-copy-button",type:"button",appearance:"outline","is-rounded":!1,size:"small",title:`Copy (${ie(n)}+C)`,"data-testid":"k-code-block-copy-button",onClick:G},{default:se(()=>[Z(Xe,{icon:"copy",size:"16",title:`Copy (${ie(n)}+C)`,color:"currentColor"},null,8,["title"]),bT]),_:1},8,["title"])):ne("",!0)])],12,qk))}});var jee=ze(_T,[["__scopeId","data-v-034f9b55"]]);oe({name:"KCollapse",components:{KIcon:Xe},props:{modelValue:{type:Boolean,required:!1,default:!0},title:{type:String,required:!1,default:""},triggerLabel:{type:String,required:!1,default:""},triggerAlignment:{type:String,required:!1,default:"trailing",validator:t=>["leading","trailing"].includes(t)}},emits:["toggled","update:modelValue"],setup(t,{slots:r,emit:e}){const i=F(()=>!!r["visible-content"]),n=j(!0),s=j(!1),a=F(()=>t.triggerAlignment==="trailing"),o=F({get(){return t.modelValue},set(c){l(c)}}),l=c=>{s.value||(n.value=t.modelValue),c!==void 0?n.value=c:n.value=!n.value,s.value=!0,e("toggled",n.value),e("update:modelValue",n.value)},u=F(()=>s.value?n.value:t.modelValue);return Ye(o,(c,h)=>{c!==h&&l(c)}),{hasVisibleContent:i,trailingTrigger:a,toggleDisplay:l,collapsedState:u}}});function $n(t){if(t===null||t===!0||t===!1)return NaN;var r=Number(t);return isNaN(r)?r:r<0?Math.ceil(r):Math.floor(r)}function hr(t,r){if(r.length1?"s":"")+" required, but only "+r.length+" present")}function yl(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?yl=function(e){return typeof e}:yl=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yl(t)}function mi(t){hr(1,arguments);var r=Object.prototype.toString.call(t);return t instanceof Date||yl(t)==="object"&&r==="[object Date]"?new Date(t.getTime()):typeof t=="number"||r==="[object Number]"?new Date(t):((typeof t=="string"||r==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function wT(t,r){hr(2,arguments);var e=mi(t).getTime(),i=$n(r);return new Date(e+i)}var ST={};function Nu(){return ST}function PT(t){var r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),t.getTime()-r.getTime()}function bl(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?bl=function(e){return typeof e}:bl=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bl(t)}function CT(t){return hr(1,arguments),t instanceof Date||bl(t)==="object"&&Object.prototype.toString.call(t)==="[object Date]"}function OT(t){if(hr(1,arguments),!CT(t)&&typeof t!="number")return!1;var r=mi(t);return!isNaN(Number(r))}function kT(t,r){hr(2,arguments);var e=$n(r);return wT(t,-e)}var TT=864e5;function ET(t){hr(1,arguments);var r=mi(t),e=r.getTime();r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0);var i=r.getTime(),n=e-i;return Math.floor(n/TT)+1}function iu(t){hr(1,arguments);var r=1,e=mi(t),i=e.getUTCDay(),n=(i=n.getTime()?e+1:r.getTime()>=a.getTime()?e:e-1}function xT(t){hr(1,arguments);var r=x1(t),e=new Date(0);e.setUTCFullYear(r,0,4),e.setUTCHours(0,0,0,0);var i=iu(e);return i}var DT=6048e5;function IT(t){hr(1,arguments);var r=mi(t),e=iu(r).getTime()-xT(r).getTime();return Math.round(e/DT)+1}function nu(t,r){var e,i,n,s,a,o,l,u;hr(1,arguments);var c=Nu(),h=$n((e=(i=(n=(s=r==null?void 0:r.weekStartsOn)!==null&&s!==void 0?s:r==null||(a=r.locale)===null||a===void 0||(o=a.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&n!==void 0?n:c.weekStartsOn)!==null&&i!==void 0?i:(l=c.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&e!==void 0?e:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=mi(t),f=d.getUTCDay(),p=(f=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(h+1,0,f),p.setUTCHours(0,0,0,0);var g=nu(p,r),v=new Date(0);v.setUTCFullYear(h,0,f),v.setUTCHours(0,0,0,0);var y=nu(v,r);return c.getTime()>=g.getTime()?h+1:c.getTime()>=y.getTime()?h:h-1}function MT(t,r){var e,i,n,s,a,o,l,u;hr(1,arguments);var c=Nu(),h=$n((e=(i=(n=(s=r==null?void 0:r.firstWeekContainsDate)!==null&&s!==void 0?s:r==null||(a=r.locale)===null||a===void 0||(o=a.options)===null||o===void 0?void 0:o.firstWeekContainsDate)!==null&&n!==void 0?n:c.firstWeekContainsDate)!==null&&i!==void 0?i:(l=c.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&e!==void 0?e:1),d=D1(t,r),f=new Date(0);f.setUTCFullYear(d,0,h),f.setUTCHours(0,0,0,0);var p=nu(f,r);return p}var AT=6048e5;function $T(t,r){hr(1,arguments);var e=mi(t),i=nu(e,r).getTime()-MT(e,r).getTime();return Math.round(i/AT)+1}function dt(t,r){for(var e=t<0?"-":"",i=Math.abs(t).toString();i.length0?i:1-i;return dt(e==="yy"?n%100:n,e.length)},M:function(r,e){var i=r.getUTCMonth();return e==="M"?String(i+1):dt(i+1,2)},d:function(r,e){return dt(r.getUTCDate(),e.length)},a:function(r,e){var i=r.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];case"aaaa":default:return i==="am"?"a.m.":"p.m."}},h:function(r,e){return dt(r.getUTCHours()%12||12,e.length)},H:function(r,e){return dt(r.getUTCHours(),e.length)},m:function(r,e){return dt(r.getUTCMinutes(),e.length)},s:function(r,e){return dt(r.getUTCSeconds(),e.length)},S:function(r,e){var i=e.length,n=r.getUTCMilliseconds(),s=Math.floor(n*Math.pow(10,i-3));return dt(s,e.length)}},Ki=BT,qn={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},LT={G:function(r,e,i){var n=r.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return i.era(n,{width:"abbreviated"});case"GGGGG":return i.era(n,{width:"narrow"});case"GGGG":default:return i.era(n,{width:"wide"})}},y:function(r,e,i){if(e==="yo"){var n=r.getUTCFullYear(),s=n>0?n:1-n;return i.ordinalNumber(s,{unit:"year"})}return Ki.y(r,e)},Y:function(r,e,i,n){var s=D1(r,n),a=s>0?s:1-s;if(e==="YY"){var o=a%100;return dt(o,2)}return e==="Yo"?i.ordinalNumber(a,{unit:"year"}):dt(a,e.length)},R:function(r,e){var i=x1(r);return dt(i,e.length)},u:function(r,e){var i=r.getUTCFullYear();return dt(i,e.length)},Q:function(r,e,i){var n=Math.ceil((r.getUTCMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return dt(n,2);case"Qo":return i.ordinalNumber(n,{unit:"quarter"});case"QQQ":return i.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(n,{width:"wide",context:"formatting"})}},q:function(r,e,i){var n=Math.ceil((r.getUTCMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return dt(n,2);case"qo":return i.ordinalNumber(n,{unit:"quarter"});case"qqq":return i.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(n,{width:"wide",context:"standalone"})}},M:function(r,e,i){var n=r.getUTCMonth();switch(e){case"M":case"MM":return Ki.M(r,e);case"Mo":return i.ordinalNumber(n+1,{unit:"month"});case"MMM":return i.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(n,{width:"wide",context:"formatting"})}},L:function(r,e,i){var n=r.getUTCMonth();switch(e){case"L":return String(n+1);case"LL":return dt(n+1,2);case"Lo":return i.ordinalNumber(n+1,{unit:"month"});case"LLL":return i.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(n,{width:"wide",context:"standalone"})}},w:function(r,e,i,n){var s=$T(r,n);return e==="wo"?i.ordinalNumber(s,{unit:"week"}):dt(s,e.length)},I:function(r,e,i){var n=IT(r);return e==="Io"?i.ordinalNumber(n,{unit:"week"}):dt(n,e.length)},d:function(r,e,i){return e==="do"?i.ordinalNumber(r.getUTCDate(),{unit:"date"}):Ki.d(r,e)},D:function(r,e,i){var n=ET(r);return e==="Do"?i.ordinalNumber(n,{unit:"dayOfYear"}):dt(n,e.length)},E:function(r,e,i){var n=r.getUTCDay();switch(e){case"E":case"EE":case"EEE":return i.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(n,{width:"short",context:"formatting"});case"EEEE":default:return i.day(n,{width:"wide",context:"formatting"})}},e:function(r,e,i,n){var s=r.getUTCDay(),a=(s-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(a);case"ee":return dt(a,2);case"eo":return i.ordinalNumber(a,{unit:"day"});case"eee":return i.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(s,{width:"short",context:"formatting"});case"eeee":default:return i.day(s,{width:"wide",context:"formatting"})}},c:function(r,e,i,n){var s=r.getUTCDay(),a=(s-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(a);case"cc":return dt(a,e.length);case"co":return i.ordinalNumber(a,{unit:"day"});case"ccc":return i.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(s,{width:"narrow",context:"standalone"});case"cccccc":return i.day(s,{width:"short",context:"standalone"});case"cccc":default:return i.day(s,{width:"wide",context:"standalone"})}},i:function(r,e,i){var n=r.getUTCDay(),s=n===0?7:n;switch(e){case"i":return String(s);case"ii":return dt(s,e.length);case"io":return i.ordinalNumber(s,{unit:"day"});case"iii":return i.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(n,{width:"short",context:"formatting"});case"iiii":default:return i.day(n,{width:"wide",context:"formatting"})}},a:function(r,e,i){var n=r.getUTCHours(),s=n/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(r,e,i){var n=r.getUTCHours(),s;switch(n===12?s=qn.noon:n===0?s=qn.midnight:s=n/12>=1?"pm":"am",e){case"b":case"bb":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(r,e,i){var n=r.getUTCHours(),s;switch(n>=17?s=qn.evening:n>=12?s=qn.afternoon:n>=4?s=qn.morning:s=qn.night,e){case"B":case"BB":case"BBB":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(r,e,i){if(e==="ho"){var n=r.getUTCHours()%12;return n===0&&(n=12),i.ordinalNumber(n,{unit:"hour"})}return Ki.h(r,e)},H:function(r,e,i){return e==="Ho"?i.ordinalNumber(r.getUTCHours(),{unit:"hour"}):Ki.H(r,e)},K:function(r,e,i){var n=r.getUTCHours()%12;return e==="Ko"?i.ordinalNumber(n,{unit:"hour"}):dt(n,e.length)},k:function(r,e,i){var n=r.getUTCHours();return n===0&&(n=24),e==="ko"?i.ordinalNumber(n,{unit:"hour"}):dt(n,e.length)},m:function(r,e,i){return e==="mo"?i.ordinalNumber(r.getUTCMinutes(),{unit:"minute"}):Ki.m(r,e)},s:function(r,e,i){return e==="so"?i.ordinalNumber(r.getUTCSeconds(),{unit:"second"}):Ki.s(r,e)},S:function(r,e){return Ki.S(r,e)},X:function(r,e,i,n){var s=n._originalDate||r,a=s.getTimezoneOffset();if(a===0)return"Z";switch(e){case"X":return Zg(a);case"XXXX":case"XX":return wn(a);case"XXXXX":case"XXX":default:return wn(a,":")}},x:function(r,e,i,n){var s=n._originalDate||r,a=s.getTimezoneOffset();switch(e){case"x":return Zg(a);case"xxxx":case"xx":return wn(a);case"xxxxx":case"xxx":default:return wn(a,":")}},O:function(r,e,i,n){var s=n._originalDate||r,a=s.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Gg(a,":");case"OOOO":default:return"GMT"+wn(a,":")}},z:function(r,e,i,n){var s=n._originalDate||r,a=s.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Gg(a,":");case"zzzz":default:return"GMT"+wn(a,":")}},t:function(r,e,i,n){var s=n._originalDate||r,a=Math.floor(s.getTime()/1e3);return dt(a,e.length)},T:function(r,e,i,n){var s=n._originalDate||r,a=s.getTime();return dt(a,e.length)}};function Gg(t,r){var e=t>0?"-":"+",i=Math.abs(t),n=Math.floor(i/60),s=i%60;if(s===0)return e+String(n);var a=r||"";return e+String(n)+a+dt(s,2)}function Zg(t,r){if(t%60===0){var e=t>0?"-":"+";return e+dt(Math.abs(t)/60,2)}return wn(t,r)}function wn(t,r){var e=r||"",i=t>0?"-":"+",n=Math.abs(t),s=dt(Math.floor(n/60),2),a=dt(n%60,2);return i+s+e+a}var FT=LT,qg=function(r,e){switch(r){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},I1=function(r,e){switch(r){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},RT=function(r,e){var i=r.match(/(P+)(p+)?/)||[],n=i[1],s=i[2];if(!s)return qg(r,e);var a;switch(n){case"P":a=e.dateTime({width:"short"});break;case"PP":a=e.dateTime({width:"medium"});break;case"PPP":a=e.dateTime({width:"long"});break;case"PPPP":default:a=e.dateTime({width:"full"});break}return a.replace("{{date}}",qg(n,e)).replace("{{time}}",I1(s,e))},VT={p:I1,P:RT},NT=VT,jT=["D","DD"],HT=["YY","YYYY"];function zT(t){return jT.indexOf(t)!==-1}function UT(t){return HT.indexOf(t)!==-1}function Qg(t,r,e){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(r,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(r,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(r,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(r,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var KT={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},WT=function(r,e,i){var n,s=KT[r];return typeof s=="string"?n=s:e===1?n=s.one:n=s.other.replace("{{count}}",e.toString()),i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"in "+n:n+" ago":n},YT=WT;function Rc(t){return function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.width?String(r.width):t.defaultWidth,i=t.formats[e]||t.formats[t.defaultWidth];return i}}var GT={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ZT={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},qT={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},QT={date:Rc({formats:GT,defaultWidth:"full"}),time:Rc({formats:ZT,defaultWidth:"full"}),dateTime:Rc({formats:qT,defaultWidth:"full"})},XT=QT,JT={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},eE=function(r,e,i,n){return JT[r]},tE=eE;function oa(t){return function(r,e){var i=e!=null&&e.context?String(e.context):"standalone",n;if(i==="formatting"&&t.formattingValues){var s=t.defaultFormattingWidth||t.defaultWidth,a=e!=null&&e.width?String(e.width):s;n=t.formattingValues[a]||t.formattingValues[s]}else{var o=t.defaultWidth,l=e!=null&&e.width?String(e.width):t.defaultWidth;n=t.values[l]||t.values[o]}var u=t.argumentCallback?t.argumentCallback(r):r;return n[u]}}var rE={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},iE={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},nE={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},sE={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},aE={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},oE={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},lE=function(r,e){var i=Number(r),n=i%100;if(n>20||n<10)switch(n%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},uE={ordinalNumber:lE,era:oa({values:rE,defaultWidth:"wide"}),quarter:oa({values:iE,defaultWidth:"wide",argumentCallback:function(r){return r-1}}),month:oa({values:nE,defaultWidth:"wide"}),day:oa({values:sE,defaultWidth:"wide"}),dayPeriod:oa({values:aE,defaultWidth:"wide",formattingValues:oE,defaultFormattingWidth:"wide"})},cE=uE;function la(t){return function(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=e.width,n=i&&t.matchPatterns[i]||t.matchPatterns[t.defaultMatchWidth],s=r.match(n);if(!s)return null;var a=s[0],o=i&&t.parsePatterns[i]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(o)?dE(o,function(h){return h.test(a)}):hE(o,function(h){return h.test(a)}),u;u=t.valueCallback?t.valueCallback(l):l,u=e.valueCallback?e.valueCallback(u):u;var c=r.slice(a.length);return{value:u,rest:c}}}function hE(t,r){for(var e in t)if(t.hasOwnProperty(e)&&r(t[e]))return e}function dE(t,r){for(var e=0;e1&&arguments[1]!==void 0?arguments[1]:{},i=r.match(t.matchPattern);if(!i)return null;var n=i[0],s=r.match(t.parsePattern);if(!s)return null;var a=t.valueCallback?t.valueCallback(s[0]):s[0];a=e.valueCallback?e.valueCallback(a):a;var o=r.slice(n.length);return{value:a,rest:o}}}var pE=/^(\d+)(th|st|nd|rd)?/i,gE=/\d+/i,vE={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},mE={any:[/^b/i,/^(a|c)/i]},yE={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},bE={any:[/1/i,/2/i,/3/i,/4/i]},_E={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},wE={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},SE={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},PE={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},CE={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},OE={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},kE={ordinalNumber:fE({matchPattern:pE,parsePattern:gE,valueCallback:function(r){return parseInt(r,10)}}),era:la({matchPatterns:vE,defaultMatchWidth:"wide",parsePatterns:mE,defaultParseWidth:"any"}),quarter:la({matchPatterns:yE,defaultMatchWidth:"wide",parsePatterns:bE,defaultParseWidth:"any",valueCallback:function(r){return r+1}}),month:la({matchPatterns:_E,defaultMatchWidth:"wide",parsePatterns:wE,defaultParseWidth:"any"}),day:la({matchPatterns:SE,defaultMatchWidth:"wide",parsePatterns:PE,defaultParseWidth:"any"}),dayPeriod:la({matchPatterns:CE,defaultMatchWidth:"any",parsePatterns:OE,defaultParseWidth:"any"})},TE=kE,EE={code:"en-US",formatDistance:YT,formatLong:XT,formatRelative:tE,localize:cE,match:TE,options:{weekStartsOn:0,firstWeekContainsDate:1}},xE=EE,DE=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,IE=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ME=/^'([^]*?)'?$/,AE=/''/g,$E=/[a-zA-Z]/;function ua(t,r,e){var i,n,s,a,o,l,u,c,h,d,f,p,g,v,y,m,w,C;hr(2,arguments);var P=String(r),E=Nu(),V=(i=(n=e==null?void 0:e.locale)!==null&&n!==void 0?n:E.locale)!==null&&i!==void 0?i:xE,D=$n((s=(a=(o=(l=e==null?void 0:e.firstWeekContainsDate)!==null&&l!==void 0?l:e==null||(u=e.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&o!==void 0?o:E.firstWeekContainsDate)!==null&&a!==void 0?a:(h=E.locale)===null||h===void 0||(d=h.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&s!==void 0?s:1);if(!(D>=1&&D<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var R=$n((f=(p=(g=(v=e==null?void 0:e.weekStartsOn)!==null&&v!==void 0?v:e==null||(y=e.locale)===null||y===void 0||(m=y.options)===null||m===void 0?void 0:m.weekStartsOn)!==null&&g!==void 0?g:E.weekStartsOn)!==null&&p!==void 0?p:(w=E.locale)===null||w===void 0||(C=w.options)===null||C===void 0?void 0:C.weekStartsOn)!==null&&f!==void 0?f:0);if(!(R>=0&&R<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!V.localize)throw new RangeError("locale must contain localize property");if(!V.formatLong)throw new RangeError("locale must contain formatLong property");var Q=mi(t);if(!OT(Q))throw new RangeError("Invalid time value");var ge=PT(Q),H=kT(Q,ge),q={firstWeekContainsDate:D,weekStartsOn:R,locale:V,_originalDate:Q},_e=P.match(IE).map(function(we){var $=we[0];if($==="p"||$==="P"){var te=NT[$];return te(we,V.formatLong)}return we}).join("").match(DE).map(function(we){if(we==="''")return"'";var $=we[0];if($==="'")return BE(we);var te=FT[$];if(te)return!(e!=null&&e.useAdditionalWeekYearTokens)&&UT(we)&&Qg(we,r,String(t)),!(e!=null&&e.useAdditionalDayOfYearTokens)&&zT(we)&&Qg(we,r,String(t)),te(H,we,V.localize,q);if($.match($E))throw new RangeError("Format string contains an unescaped latin alphabet character `"+$+"`");return we}).join("");return _e}function BE(t){var r=t.match(ME);return r?r[1].replace(AE,"'"):t}function ro(t){var r=t.getBoundingClientRect();return{width:r.width,height:r.height,top:r.top,right:r.right,bottom:r.bottom,left:r.left,x:r.left,y:r.top}}function Hr(t){if(t.toString()!=="[object Window]"){var r=t.ownerDocument;return r?r.defaultView:window}return t}function _f(t){var r=Hr(t),e=r.pageXOffset,i=r.pageYOffset;return{scrollLeft:e,scrollTop:i}}function io(t){var r=Hr(t).Element;return t instanceof r||t instanceof Element}function yi(t){var r=Hr(t).HTMLElement;return t instanceof r||t instanceof HTMLElement}function LE(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function FE(t){return t===Hr(t)||!yi(t)?_f(t):LE(t)}function Ri(t){return t?(t.nodeName||"").toLowerCase():null}function fn(t){return(io(t)?t.ownerDocument:t.document).documentElement}function M1(t){return ro(fn(t)).left+_f(t).scrollLeft}function So(t){return Hr(t).getComputedStyle(t)}function wf(t){var r=So(t),e=r.overflow,i=r.overflowX,n=r.overflowY;return/auto|scroll|overlay|hidden/.test(e+n+i)}function A1(t,r,e){e===void 0&&(e=!1);var i=fn(r),n=ro(t),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};return e||((Ri(r)!=="body"||wf(i))&&(s=FE(r)),yi(r)?(a=ro(r),a.x+=r.clientLeft,a.y+=r.clientTop):i&&(a.x=M1(i))),{x:n.left+s.scrollLeft-a.x,y:n.top+s.scrollTop-a.y,width:n.width,height:n.height}}function Sf(t){return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}function $1(t){return Ri(t)==="html"?t:t.assignedSlot||t.parentNode||t.host||fn(t)}function B1(t){return["html","body","#document"].indexOf(Ri(t))>=0?t.ownerDocument.body:yi(t)&&wf(t)?t:B1($1(t))}function Ia(t,r){r===void 0&&(r=[]);var e=B1(t),i=Ri(e)==="body",n=Hr(e),s=i?[n].concat(n.visualViewport||[],wf(e)?e:[]):e,a=r.concat(s);return i?a:a.concat(Ia($1(s)))}function RE(t){return["table","td","th"].indexOf(Ri(t))>=0}function Xg(t){return!yi(t)||So(t).position==="fixed"?null:t.offsetParent}function Po(t){for(var r=Hr(t),e=Xg(t);e&&RE(e);)e=Xg(e);return e&&Ri(e)==="body"&&So(e).position==="static"?r:e||r}var Fr="top",qr="bottom",Qr="right",Rr="left",Pf="auto",Co=[Fr,qr,Qr,Rr],Ps="start",Cf="end",VE="clippingParents",L1="viewport",ca="popper",NE="reference",Jg=Co.reduce(function(t,r){return t.concat([r+"-"+Ps,r+"-"+Cf])},[]),F1=[].concat(Co,[Pf]).reduce(function(t,r){return t.concat([r,r+"-"+Ps,r+"-"+Cf])},[]),jE="beforeRead",HE="read",zE="afterRead",UE="beforeMain",KE="main",WE="afterMain",YE="beforeWrite",GE="write",ZE="afterWrite",qE=[jE,HE,zE,UE,KE,WE,YE,GE,ZE];function QE(t){var r=new Map,e=new Set,i=[];t.forEach(function(s){r.set(s.name,s)});function n(s){e.add(s.name);var a=[].concat(s.requires||[],s.requiresIfExists||[]);a.forEach(function(o){if(!e.has(o)){var l=r.get(o);l&&n(l)}}),i.push(s)}return t.forEach(function(s){e.has(s.name)||n(s)}),i}function XE(t){var r=QE(t);return qE.reduce(function(e,i){return e.concat(r.filter(function(n){return n.phase===i}))},[])}function JE(t){var r;return function(){return r||(r=new Promise(function(e){Promise.resolve().then(function(){r=void 0,e(t())})})),r}}function hi(t){return t.split("-")[0]}function ex(t){var r=t.reduce(function(e,i){var n=e[i.name];return e[i.name]=n?Object.assign({},n,{},i,{options:Object.assign({},n.options,{},i.options),data:Object.assign({},n.data,{},i.data)}):i,e},{});return Object.keys(r).map(function(e){return r[e]})}var ev={placement:"bottom",modifiers:[],strategy:"absolute"};function tv(){for(var t=arguments.length,r=new Array(t),e=0;e=0?"x":"y"}function R1(t){var r=t.reference,e=t.element,i=t.placement,n=i?hi(i):null,s=i?no(i):null,a=r.x+r.width/2-e.width/2,o=r.y+r.height/2-e.height/2,l;switch(n){case Fr:l={x:a,y:r.y-e.height};break;case qr:l={x:a,y:r.y+r.height};break;case Qr:l={x:r.x+r.width,y:o};break;case Rr:l={x:r.x-e.width,y:o};break;default:l={x:r.x,y:r.y}}var u=n?Of(n):null;if(u!=null){var c=u==="y"?"height":"width";switch(s){case Ps:l[u]=Math.floor(l[u])-Math.floor(r[c]/2-e[c]/2);break;case Cf:l[u]=Math.floor(l[u])+Math.ceil(r[c]/2-e[c]/2);break}}return l}function nx(t){var r=t.state,e=t.name;r.modifiersData[e]=R1({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}var sx={name:"popperOffsets",enabled:!0,phase:"read",fn:nx,data:{}},ax={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ox(t){var r=t.x,e=t.y,i=window,n=i.devicePixelRatio||1;return{x:Math.round(r*n)/n||0,y:Math.round(e*n)/n||0}}function rv(t){var r,e=t.popper,i=t.popperRect,n=t.placement,s=t.offsets,a=t.position,o=t.gpuAcceleration,l=t.adaptive,u=ox(s),c=u.x,h=u.y,d=s.hasOwnProperty("x"),f=s.hasOwnProperty("y"),p=Rr,g=Fr,v=window;if(l){var y=Po(e);y===Hr(e)&&(y=fn(e)),n===Fr&&(g=qr,h-=y.clientHeight-i.height,h*=o?1:-1),n===Rr&&(p=Qr,c-=y.clientWidth-i.width,c*=o?1:-1)}var m=Object.assign({position:a},l&&ax);if(o){var w;return Object.assign({},m,(w={},w[g]=f?"0":"",w[p]=d?"0":"",w.transform=(v.devicePixelRatio||1)<2?"translate("+c+"px, "+h+"px)":"translate3d("+c+"px, "+h+"px, 0)",w))}return Object.assign({},m,(r={},r[g]=f?h+"px":"",r[p]=d?c+"px":"",r.transform="",r))}function lx(t){var r=t.state,e=t.options,i=e.gpuAcceleration,n=i===void 0?!0:i,s=e.adaptive,a=s===void 0?!0:s,o={placement:hi(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:n};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,{},rv(Object.assign({},o,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:a})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,{},rv(Object.assign({},o,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})}var ux={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:lx,data:{}};function cx(t){var r=t.state;Object.keys(r.elements).forEach(function(e){var i=r.styles[e]||{},n=r.attributes[e]||{},s=r.elements[e];!yi(s)||!Ri(s)||(Object.assign(s.style,i),Object.keys(n).forEach(function(a){var o=n[a];o===!1?s.removeAttribute(a):s.setAttribute(a,o===!0?"":o)}))})}function hx(t){var r=t.state,e={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,e.popper),r.elements.arrow&&Object.assign(r.elements.arrow.style,e.arrow),function(){Object.keys(r.elements).forEach(function(i){var n=r.elements[i],s=r.attributes[i]||{},a=Object.keys(r.styles.hasOwnProperty(i)?r.styles[i]:e[i]),o=a.reduce(function(l,u){return l[u]="",l},{});!yi(n)||!Ri(n)||(Object.assign(n.style,o),Object.keys(s).forEach(function(l){n.removeAttribute(l)}))})}}var dx={name:"applyStyles",enabled:!0,phase:"write",fn:cx,effect:hx,requires:["computeStyles"]};function fx(t,r,e){var i=hi(t),n=[Rr,Fr].indexOf(i)>=0?-1:1,s=typeof e=="function"?e(Object.assign({},r,{placement:t})):e,a=s[0],o=s[1];return a=a||0,o=(o||0)*n,[Rr,Qr].indexOf(i)>=0?{x:o,y:a}:{x:a,y:o}}function px(t){var r=t.state,e=t.options,i=t.name,n=e.offset,s=n===void 0?[0,0]:n,a=F1.reduce(function(c,h){return c[h]=fx(h,r.rects,s),c},{}),o=a[r.placement],l=o.x,u=o.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=l,r.modifiersData.popperOffsets.y+=u),r.modifiersData[i]=a}var gx={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:px},vx={left:"right",right:"left",bottom:"top",top:"bottom"};function _l(t){return t.replace(/left|right|bottom|top/g,function(r){return vx[r]})}var mx={start:"end",end:"start"};function iv(t){return t.replace(/start|end/g,function(r){return mx[r]})}function yx(t){var r=Hr(t),e=r.visualViewport,i=r.innerWidth,n=r.innerHeight;return e&&/iPhone|iPod|iPad/.test(navigator.platform)&&(i=e.width,n=e.height),{width:i,height:n,x:0,y:0}}function bx(t){var r=Hr(t),e=_f(t),i=A1(fn(t),r);return i.height=Math.max(i.height,r.innerHeight),i.width=Math.max(i.width,r.innerWidth),i.x=-e.scrollLeft,i.y=-e.scrollTop,i}function Ko(t){return parseFloat(t)||0}function _x(t){var r=yi(t)?So(t):{};return{top:Ko(r.borderTopWidth),right:Ko(r.borderRightWidth),bottom:Ko(r.borderBottomWidth),left:Ko(r.borderLeftWidth)}}function wx(t){var r=Hr(t),e=_x(t),i=Ri(t)==="html",n=M1(t),s=t.clientWidth+e.right,a=t.clientHeight+e.bottom;return i&&r.innerHeight-t.clientHeight>50&&(a=r.innerHeight-e.bottom),{top:i?0:t.clientTop,right:t.clientLeft>e.left?e.right:i?r.innerWidth-s-n:t.offsetWidth-s,bottom:i?r.innerHeight-a:t.offsetHeight-a,left:i?n:t.clientLeft}}function V1(t,r){var e=Boolean(r.getRootNode&&r.getRootNode().host);if(t.contains(r))return!0;if(e){var i=r;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Gh(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function nv(t,r){return r===L1?Gh(yx(t)):yi(r)?ro(r):Gh(bx(fn(t)))}function Sx(t){var r=Ia(t),e=["absolute","fixed"].indexOf(So(t).position)>=0,i=e&&yi(t)?Po(t):t;return io(i)?r.filter(function(n){return io(n)&&V1(n,i)}):[]}function Px(t,r,e){var i=r==="clippingParents"?Sx(t):[].concat(r),n=[].concat(i,[e]),s=n[0],a=n.reduce(function(o,l){var u=nv(t,l),c=wx(yi(l)?l:fn(t));return o.top=Math.max(u.top+c.top,o.top),o.right=Math.min(u.right-c.right,o.right),o.bottom=Math.min(u.bottom-c.bottom,o.bottom),o.left=Math.max(u.left+c.left,o.left),o},nv(t,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function N1(){return{top:0,right:0,bottom:0,left:0}}function j1(t){return Object.assign({},N1(),{},t)}function H1(t,r){return r.reduce(function(e,i){return e[i]=t,e},{})}function so(t,r){r===void 0&&(r={});var e=r,i=e.placement,n=i===void 0?t.placement:i,s=e.boundary,a=s===void 0?VE:s,o=e.rootBoundary,l=o===void 0?L1:o,u=e.elementContext,c=u===void 0?ca:u,h=e.altBoundary,d=h===void 0?!1:h,f=e.padding,p=f===void 0?0:f,g=j1(typeof p!="number"?p:H1(p,Co)),v=c===ca?NE:ca,y=t.elements.reference,m=t.rects.popper,w=t.elements[d?v:c],C=Px(io(w)?w:w.contextElement||fn(t.elements.popper),a,l),P=ro(y),E=R1({reference:P,element:m,strategy:"absolute",placement:n}),V=Gh(Object.assign({},m,{},E)),D=c===ca?V:P,R={top:C.top-D.top+g.top,bottom:D.bottom-C.bottom+g.bottom,left:C.left-D.left+g.left,right:D.right-C.right+g.right},Q=t.modifiersData.offset;if(c===ca&&Q){var ge=Q[n];Object.keys(R).forEach(function(H){var q=[Qr,qr].indexOf(H)>=0?1:-1,_e=[Fr,qr].indexOf(H)>=0?"y":"x";R[H]+=ge[_e]*q})}return R}function Cx(t,r){r===void 0&&(r={});var e=r,i=e.placement,n=e.boundary,s=e.rootBoundary,a=e.padding,o=e.flipVariations,l=e.allowedAutoPlacements,u=l===void 0?F1:l,c=no(i),h=(c?o?Jg:Jg.filter(function(f){return no(f)===c}):Co).filter(function(f){return u.indexOf(f)>=0}),d=h.reduce(function(f,p){return f[p]=so(t,{placement:p,boundary:n,rootBoundary:s,padding:a})[hi(p)],f},{});return Object.keys(d).sort(function(f,p){return d[f]-d[p]})}function Ox(t){if(hi(t)===Pf)return[];var r=_l(t);return[iv(t),r,iv(r)]}function kx(t){var r=t.state,e=t.options,i=t.name;if(!r.modifiersData[i]._skip){for(var n=e.mainAxis,s=n===void 0?!0:n,a=e.altAxis,o=a===void 0?!0:a,l=e.fallbackPlacements,u=e.padding,c=e.boundary,h=e.rootBoundary,d=e.altBoundary,f=e.flipVariations,p=f===void 0?!0:f,g=e.allowedAutoPlacements,v=r.options.placement,y=hi(v),m=y===v,w=l||(m||!p?[_l(v)]:Ox(v)),C=[v].concat(w).reduce(function(xe,L){return xe.concat(hi(L)===Pf?Cx(r,{placement:L,boundary:c,rootBoundary:h,padding:u,flipVariations:p,allowedAutoPlacements:g}):L)},[]),P=r.rects.reference,E=r.rects.popper,V=new Map,D=!0,R=C[0],Q=0;Q=0,we=_e?"width":"height",$=so(r,{placement:ge,boundary:c,rootBoundary:h,altBoundary:d,padding:u}),te=_e?q?Qr:Rr:q?qr:Fr;P[we]>E[we]&&(te=_l(te));var pe=_l(te),Te=[];if(s&&Te.push($[H]<=0),o&&Te.push($[te]<=0,$[pe]<=0),Te.every(function(xe){return xe})){R=ge,D=!1;break}V.set(ge,Te)}if(D)for(var Je=p?3:1,Ce=function(L){var U=C.find(function(G){var A=V.get(G);if(A)return A.slice(0,L).every(function(z){return z})});if(U)return R=U,"break"},Ee=Je;Ee>0;Ee--){var ce=Ce(Ee);if(ce==="break")break}r.placement!==R&&(r.modifiersData[i]._skip=!0,r.placement=R,r.reset=!0)}}var Tx={name:"flip",enabled:!0,phase:"main",fn:kx,requiresIfExists:["offset"],data:{_skip:!1}};function Ex(t){return t==="x"?"y":"x"}function wl(t,r,e){return Math.max(t,Math.min(r,e))}function xx(t){var r=t.state,e=t.options,i=t.name,n=e.mainAxis,s=n===void 0?!0:n,a=e.altAxis,o=a===void 0?!1:a,l=e.boundary,u=e.rootBoundary,c=e.altBoundary,h=e.padding,d=e.tether,f=d===void 0?!0:d,p=e.tetherOffset,g=p===void 0?0:p,v=so(r,{boundary:l,rootBoundary:u,padding:h,altBoundary:c}),y=hi(r.placement),m=no(r.placement),w=!m,C=Of(y),P=Ex(C),E=r.modifiersData.popperOffsets,V=r.rects.reference,D=r.rects.popper,R=typeof g=="function"?g(Object.assign({},r.rects,{placement:r.placement})):g,Q={x:0,y:0};if(!!E){if(s){var ge=C==="y"?Fr:Rr,H=C==="y"?qr:Qr,q=C==="y"?"height":"width",_e=E[C],we=E[C]+v[ge],$=E[C]-v[H],te=f?-D[q]/2:0,pe=m===Ps?V[q]:D[q],Te=m===Ps?-D[q]:-V[q],Je=r.elements.arrow,Ce=f&&Je?Sf(Je):{width:0,height:0},Ee=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:N1(),ce=Ee[ge],xe=Ee[H],L=wl(0,V[q],Ce[q]),U=w?V[q]/2-te-L-ce-R:pe-L-ce-R,G=w?-V[q]/2+te+L+xe+R:Te+L+xe+R,A=r.elements.arrow&&Po(r.elements.arrow),z=A?C==="y"?A.clientTop||0:A.clientLeft||0:0,ae=r.modifiersData.offset?r.modifiersData.offset[r.placement][C]:0,ve=E[C]+U-ae-z,b=E[C]+G-ae,_=wl(f?Math.min(we,ve):we,_e,f?Math.max($,b):$);E[C]=_,Q[C]=_-_e}if(o){var M=C==="x"?Fr:Rr,B=C==="x"?qr:Qr,N=E[P],X=N+v[M],W=N-v[B],Y=wl(X,N,W);E[P]=Y,Q[P]=Y-N}r.modifiersData[i]=Q}}var Dx={name:"preventOverflow",enabled:!0,phase:"main",fn:xx,requiresIfExists:["offset"]};function Ix(t){var r,e=t.state,i=t.name,n=e.elements.arrow,s=e.modifiersData.popperOffsets,a=hi(e.placement),o=Of(a),l=[Rr,Qr].indexOf(a)>=0,u=l?"height":"width";if(!(!n||!s)){var c=e.modifiersData[i+"#persistent"].padding,h=Sf(n),d=o==="y"?Fr:Rr,f=o==="y"?qr:Qr,p=e.rects.reference[u]+e.rects.reference[o]-s[o]-e.rects.popper[u],g=s[o]-e.rects.reference[o],v=Po(n),y=v?o==="y"?v.clientHeight||0:v.clientWidth||0:0,m=p/2-g/2,w=c[d],C=y-h[u]-c[f],P=y/2-h[u]/2+m,E=wl(w,P,C),V=o;e.modifiersData[i]=(r={},r[V]=E,r.centerOffset=E-P,r)}}function Mx(t){var r=t.state,e=t.options,i=t.name,n=e.element,s=n===void 0?"[data-popper-arrow]":n,a=e.padding,o=a===void 0?0:a;s!=null&&(typeof s=="string"&&(s=r.elements.popper.querySelector(s),!s)||!V1(r.elements.popper,s)||(r.elements.arrow=s,r.modifiersData[i+"#persistent"]={padding:j1(typeof o!="number"?o:H1(o,Co))}))}var Ax={name:"arrow",enabled:!0,phase:"main",fn:Ix,effect:Mx,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function sv(t,r,e){return e===void 0&&(e={x:0,y:0}),{top:t.top-r.height-e.y,right:t.right-r.width+e.x,bottom:t.bottom-r.height+e.y,left:t.left-r.width-e.x}}function av(t){return[Fr,Qr,qr,Rr].some(function(r){return t[r]>=0})}function $x(t){var r=t.state,e=t.name,i=r.rects.reference,n=r.rects.popper,s=r.modifiersData.preventOverflow,a=so(r,{elementContext:"reference"}),o=so(r,{altBoundary:!0}),l=sv(a,i),u=sv(o,n,s),c=av(l),h=av(u);r.modifiersData[e]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:h},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":h})}var Bx={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:$x},Lx=[ix,sx,ux,dx,gx,Tx,Dx,Ax,Bx],Fx=tx({defaultModifiers:Lx}),Rx=Object.defineProperty,Vx=Object.defineProperties,Nx=Object.getOwnPropertyDescriptors,su=Object.getOwnPropertySymbols,z1=Object.prototype.hasOwnProperty,U1=Object.prototype.propertyIsEnumerable,ov=(t,r,e)=>r in t?Rx(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,Pe=(t,r)=>{for(var e in r||(r={}))z1.call(r,e)&&ov(t,e,r[e]);if(su)for(var e of su(r))U1.call(r,e)&&ov(t,e,r[e]);return t},tt=(t,r)=>Vx(t,Nx(r)),jx=(t,r)=>{var e={};for(var i in t)z1.call(t,i)&&r.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&su)for(var i of su(t))r.indexOf(i)<0&&U1.call(t,i)&&(e[i]=t[i]);return e};function fi(t){if(t===null||t===!0||t===!1)return NaN;var r=Number(t);return isNaN(r)?r:r<0?Math.ceil(r):Math.floor(r)}function ir(t,r){if(r.length1?"s":"")+" required, but only "+r.length+" present")}function Vi(t){ir(1,arguments);var r=Object.prototype.toString.call(t);return t instanceof Date||typeof t=="object"&&r==="[object Date]"?new Date(t.getTime()):typeof t=="number"||r==="[object Number]"?new Date(t):((typeof t=="string"||r==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn(new Error().stack)),new Date(NaN))}function ai(t,r){ir(2,arguments);var e=Vi(t),i=fi(r);return isNaN(i)?new Date(NaN):(i&&e.setDate(e.getDate()+i),e)}function Zh(t,r){ir(2,arguments);var e=Vi(t),i=fi(r);if(isNaN(i))return new Date(NaN);if(!i)return e;var n=e.getDate(),s=new Date(e.getTime());s.setMonth(e.getMonth()+i+1,0);var a=s.getDate();return n>=a?s:(e.setFullYear(s.getFullYear(),s.getMonth(),n),e)}function lv(t,r){ir(2,arguments);var e=fi(r);return Zh(t,e*12)}var Wo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Hx=typeof Wo=="object"&&Wo&&Wo.Object===Object&&Wo,K1=Hx,zx=K1,Ux=typeof self=="object"&&self&&self.Object===Object&&self,Kx=zx||Ux||Function("return this")(),bi=Kx,Wx=bi,Yx=Wx.Symbol,Fs=Yx,uv=Fs,W1=Object.prototype,Gx=W1.hasOwnProperty,Zx=W1.toString,ha=uv?uv.toStringTag:void 0;function qx(t){var r=Gx.call(t,ha),e=t[ha];try{t[ha]=void 0;var i=!0}catch{}var n=Zx.call(t);return i&&(r?t[ha]=e:delete t[ha]),n}var Qx=qx,Xx=Object.prototype,Jx=Xx.toString;function eD(t){return Jx.call(t)}var tD=eD,cv=Fs,rD=Qx,iD=tD,nD="[object Null]",sD="[object Undefined]",hv=cv?cv.toStringTag:void 0;function aD(t){return t==null?t===void 0?sD:nD:hv&&hv in Object(t)?rD(t):iD(t)}var _i=aD;function oD(t){return t!=null&&typeof t=="object"}var kr=oD,lD=_i,uD=kr,cD="[object Boolean]";function hD(t){return t===!0||t===!1||uD(t)&&lD(t)==cD}var dD=hD,fD=_i,pD=kr,gD="[object Number]";function vD(t){return typeof t=="number"||pD(t)&&fD(t)==gD}var Ma=vD,mD=Array.isArray,Tr=mD,yD=_i,bD=Tr,_D=kr,wD="[object String]";function SD(t){return typeof t=="string"||!bD(t)&&_D(t)&&yD(t)==wD}var Xi=SD;function PD(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}var zr=PD,CD=_i,OD=zr,kD="[object AsyncFunction]",TD="[object Function]",ED="[object GeneratorFunction]",xD="[object Proxy]";function DD(t){if(!OD(t))return!1;var r=CD(t);return r==TD||r==ED||r==kD||r==xD}var Mi=DD,ID=9007199254740991;function MD(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=ID}var kf=MD,AD=Mi,$D=kf;function BD(t){return t!=null&&$D(t.length)&&!AD(t)}var Oo=BD,LD=Oo,FD=kr;function RD(t){return FD(t)&&LD(t)}var fr=RD;function VD(t){return t===void 0}var ND=VD,jD=_i,HD=kr,zD="[object Date]";function UD(t){return HD(t)&&jD(t)==zD}var KD=UD;function WD(t){return function(r){return t(r)}}var ju=WD,Cs={exports:{}};(function(t,r){var e=K1,i=r&&!r.nodeType&&r,n=i&&!0&&t&&!t.nodeType&&t,s=n&&n.exports===i,a=s&&e.process,o=function(){try{var l=n&&n.require&&n.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}}();t.exports=o})(Cs,Cs.exports);var YD=KD,GD=ju,dv=Cs.exports,fv=dv&&dv.isDate,ZD=fv?GD(fv):YD,qD=ZD;function QD(t,r,e){return t===t&&(e!==void 0&&(t=t<=e?t:e),r!==void 0&&(t=t>=r?t:r)),t}var XD=QD,JD=_i,e9=kr,t9="[object Symbol]";function r9(t){return typeof t=="symbol"||e9(t)&&JD(t)==t9}var Hu=r9,pv=zr,i9=Hu,gv=0/0,n9=/^\s+|\s+$/g,s9=/^[-+]0x[0-9a-f]+$/i,a9=/^0b[01]+$/i,o9=/^0o[0-7]+$/i,l9=parseInt;function u9(t){if(typeof t=="number")return t;if(i9(t))return gv;if(pv(t)){var r=typeof t.valueOf=="function"?t.valueOf():t;t=pv(r)?r+"":r}if(typeof t!="string")return t===0?t:+t;t=t.replace(n9,"");var e=a9.test(t);return e||o9.test(t)?l9(t.slice(2),e?2:8):s9.test(t)?gv:+t}var c9=u9,h9=XD,Vc=c9;function d9(t,r,e){return e===void 0&&(e=r,r=void 0),e!==void 0&&(e=Vc(e),e=e===e?e:0),r!==void 0&&(r=Vc(r),r=r===r?r:0),h9(Vc(t),r,e)}var f9=d9,p9=Tr,g9=Hu,v9=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,m9=/^\w*$/;function y9(t,r){if(p9(t))return!1;var e=typeof t;return e=="number"||e=="symbol"||e=="boolean"||t==null||g9(t)?!0:m9.test(t)||!v9.test(t)||r!=null&&t in Object(r)}var Tf=y9,b9=bi,_9=b9["__core-js_shared__"],w9=_9,Nc=w9,vv=function(){var t=/[^.]+$/.exec(Nc&&Nc.keys&&Nc.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function S9(t){return!!vv&&vv in t}var P9=S9,C9=Function.prototype,O9=C9.toString;function k9(t){if(t!=null){try{return O9.call(t)}catch{}try{return t+""}catch{}}return""}var Y1=k9,T9=Mi,E9=P9,x9=zr,D9=Y1,I9=/[\\^$.*+?()[\]{}|]/g,M9=/^\[object .+?Constructor\]$/,A9=Function.prototype,$9=Object.prototype,B9=A9.toString,L9=$9.hasOwnProperty,F9=RegExp("^"+B9.call(L9).replace(I9,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function R9(t){if(!x9(t)||E9(t))return!1;var r=T9(t)?F9:M9;return r.test(D9(t))}var V9=R9;function N9(t,r){return t==null?void 0:t[r]}var j9=N9,H9=V9,z9=j9;function U9(t,r){var e=z9(t,r);return H9(e)?e:void 0}var zn=U9,K9=zn,W9=K9(Object,"create"),zu=W9,mv=zu;function Y9(){this.__data__=mv?mv(null):{},this.size=0}var G9=Y9;function Z9(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}var q9=Z9,Q9=zu,X9="__lodash_hash_undefined__",J9=Object.prototype,eI=J9.hasOwnProperty;function tI(t){var r=this.__data__;if(Q9){var e=r[t];return e===X9?void 0:e}return eI.call(r,t)?r[t]:void 0}var rI=tI,iI=zu,nI=Object.prototype,sI=nI.hasOwnProperty;function aI(t){var r=this.__data__;return iI?r[t]!==void 0:sI.call(r,t)}var oI=aI,lI=zu,uI="__lodash_hash_undefined__";function cI(t,r){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=lI&&r===void 0?uI:r,this}var hI=cI,dI=G9,fI=q9,pI=rI,gI=oI,vI=hI;function Rs(t){var r=-1,e=t==null?0:t.length;for(this.clear();++r-1}var AI=MI,$I=Uu;function BI(t,r){var e=this.__data__,i=$I(e,t);return i<0?(++this.size,e.push([t,r])):e[i][1]=r,this}var LI=BI,FI=bI,RI=TI,VI=DI,NI=AI,jI=LI;function Ns(t){var r=-1,e=t==null?0:t.length;for(this.clear();++r-1&&t%1==0&&to))return!1;var u=s.get(t),c=s.get(r);if(u&&c)return u==r&&c==t;var h=-1,d=!0,f=e&_B?new vB:void 0;for(s.set(t,r),s.set(r,t);++h0){if(++r>=OR)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}var xR=ER,DR=CR,IR=xR,MR=IR(DR),_b=MR,AR=Ff,$R=bb,BR=_b;function LR(t,r){return BR($R(t,r,AR),t+"")}var Rf=LR,FR=Vs,RR=Oo,VR=Zu,NR=zr;function jR(t,r,e){if(!NR(e))return!1;var i=typeof r;return(i=="number"?RR(e)&&VR(r,e.length):i=="string"&&r in e)?FR(e[r],t):!1}var Vf=jR;function HR(t){var r=[];if(t!=null)for(var e in Object(t))r.push(e);return r}var zR=HR,UR=zr,KR=$f,WR=zR,YR=Object.prototype,GR=YR.hasOwnProperty;function ZR(t){if(!UR(t))return WR(t);var r=KR(t),e=[];for(var i in t)i=="constructor"&&(r||!GR.call(t,i))||e.push(i);return e}var qR=ZR,QR=eb,XR=qR,JR=Oo;function eV(t){return JR(t)?QR(t,!0):XR(t)}var Ys=eV,tV=Rf,rV=Vs,iV=Vf,nV=Ys,wb=Object.prototype,sV=wb.hasOwnProperty,aV=tV(function(t,r){t=Object(t);var e=-1,i=r.length,n=i>2?r[2]:void 0;for(n&&iV(r[0],r[1],n)&&(i=1);++e1?e[n-1]:void 0,a=n>2?e[2]:void 0;for(s=t.length>3&&typeof s=="function"?(n--,s):void 0,a&&uN(e[0],e[1],a)&&(s=n<3?void 0:s,n=1),r=Object(r);++i0&&e(o)?r>1?Mb(o,r-1,e,i,n):$N(n,o):i||(n[n.length]=o)}return n}var LN=Mb,FN=LN;function RN(t){var r=t==null?0:t.length;return r?FN(t,1):[]}var VN=RN,NN=VN,jN=bb,HN=_b;function zN(t){return HN(jN(t,void 0,NN),t+"")}var Ab=zN,UN=xN,KN=Ab,WN=KN(function(t,r){return t==null?{}:UN(t,r)}),YN=WN;function GN(t,r){for(var e=-1,i=t==null?0:t.length;++en?0:n+r),e=e>n?n:e,e<0&&(e+=n),n=r>e?0:e-r>>>0,r>>>=0;for(var s=Array(n);++i1),s}),Vz(t,Hz(t),e),i&&(e=Lz(e,zz|Uz|Kz,Nz));for(var n=r.length;n--;)Fz(e,r[n]);return e}),td=Wz,Yz=Object.prototype,Gz=Yz.hasOwnProperty;function Zz(t,r){return t!=null&&Gz.call(t,r)}var qz=Zz,Qz=qz,Xz=gb;function Jz(t,r){return t!=null&&Xz(t,r,Qz)}var Vb=Jz,eU=Oo;function tU(t,r){return function(e,i){if(e==null)return e;if(!eU(e))return t(e,i);for(var n=e.length,s=r?n:-1,a=Object(e);(r?s--:++sObject.prototype.toString.call(t).slice(8,-1),rn=t=>qD(t)&&!isNaN(t.getTime()),Br=t=>mU(t)==="Object",zf=Vb,rd=(t,r)=>jb(r,e=>Vb(t,e)),yU=jb,rt=(t,r,e="0")=>{for(t=t!=null?String(t):"",r=r||2;t.length{const r={};return t.forEach(e=>Object.entries(e).forEach(([i,n])=>{r[i]?fr(r[i])?r[i].push(n):r[i]=[r[i],n]:r[i]=n})),r},_r=t=>!!(t&&t.month&&t.year),ba=(t,r)=>!_r(t)||!_r(r)?!1:t.year===r.year?t.month!_r(t)||!_r(r)?!1:t.year===r.year?t.month>r.month:t.year>r.year,Hb=(t,r,e)=>(t||!1)&&!ba(t,r)&&!$a(t,e),zc=(t,r)=>!t&&r||t&&!r?!1:!t&&!r?!0:t.month===r.month&&t.year===r.year,Ti=({month:t,year:r},e)=>{const i=e>0?1:-1;for(let n=0;n12?(t=1,r++):t<1&&(t=12,r--);return{month:t,year:r}},_U=(t,r)=>{if(!_r(t)||!_r(r))return[];const e=[];for(;!$a(t,r);)e.push(t),t=Ti(t,1);return e};function Uc(t,r){const e=rn(t),i=rn(r);return!e&&!i?!0:e!==i?!1:t.getTime()===r.getTime()}const xr=t=>fr(t)&&t.length>0,lm=(t,r,e)=>{const i=[];return e.forEach(n=>{const s=n.name||n.toString(),a=n.mixin,o=n.validate;if(Object.prototype.hasOwnProperty.call(t,s)){const l=o?o(t[s]):t[s];r[s]=a&&Br(l)?Pe(Pe({},a),l):l,i.push(s)}}),{target:r,assigned:i.length?i:null}},ar=(t,r,e,i)=>{t&&r&&e&&t.addEventListener(r,e,i)},or=(t,r,e,i)=>{t&&r&&t.removeEventListener(r,e,i)},Ba=(t,r)=>!!t&&!!r&&(t===r||t.contains(r)),zb=(t,r)=>{(t.key===" "||t.key==="Enter")&&(r(t),t.preventDefault())},lu=()=>{function t(){return((1+Math.random())*65536|0).toString(16).substring(1)}return`${t()+t()}-${t()}-${t()}-${t()}-${t()}${t()}${t()}`};function wU(t){let r=0,e=0,i;if(t.length===0)return r;for(e=0;e{const e=t.__vccOpts||t;for(const[i,n]of r)e[i]=n;return e};const SU={name:"CustomTransition",emits:["before-enter","before-transition","after-enter","after-transition"],props:{name:String,appear:Boolean},computed:{name_(){return`vc-${this.name||"none"}`}},methods:{beforeEnter(t){this.$emit("before-enter",t),this.$emit("before-transition",t)},afterEnter(t){this.$emit("after-enter",t),this.$emit("after-transition",t)}}};function PU(t,r,e,i,n,s){return S(),fe(Ds,{name:s.name_,appear:e.appear,onBeforeEnter:s.beforeEnter,onAfterEnter:s.afterEnter},{default:se(()=>[de(t.$slots,"default")]),_:3},8,["name","appear","onBeforeEnter","onAfterEnter"])}var Ub=Zs(SU,[["render",PU]]);const id={name:"Popover",emits:["before-show","after-show","before-hide","after-hide"],render(){return Me("div",{class:["vc-popover-content-wrapper",{"is-interactive":this.isInteractive}],ref:"popover"},[Me(Ub,{name:this.transition,appear:!0,"on-before-enter":this.beforeEnter,"on-after-enter":this.afterEnter,"on-before-leave":this.beforeLeave,"on-after-leave":this.afterLeave},{default:()=>this.isVisible?Me("div",{tabindex:-1,class:["vc-popover-content",`direction-${this.direction}`,this.contentClass],style:this.contentStyle},[this.content,Me("span",{class:["vc-popover-caret",`direction-${this.direction}`,`align-${this.alignment}`]})]):null})])},props:{id:{type:String,required:!0},contentClass:String},data(){return{ref:null,opts:null,data:null,transition:"slide-fade",transitionTranslate:"15px",transitionDuration:"0.15s",placement:"bottom",positionFixed:!1,modifiers:[],isInteractive:!1,isHovered:!1,isFocused:!1,showDelay:0,hideDelay:110,autoHide:!1,popperEl:null}},computed:{content(){return Mi(this.$slots.default)&&this.$slots.default({direction:this.direction,alignment:this.alignment,data:this.data,updateLayout:this.setupPopper,hide:t=>this.hide(t)})||this.$slots.default},contentStyle(){return{"--slide-translate":this.transitionTranslate,"--slide-duration":this.transitionDuration}},popperOptions(){return{placement:this.placement,strategy:this.positionFixed?"fixed":"absolute",modifiers:[{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:this.onPopperUpdate},...this.modifiers||[]],onFirstUpdate:this.onPopperUpdate}},isVisible(){return!!(this.ref&&this.content)},direction(){return this.placement&&this.placement.split("-")[0]||"bottom"},alignment(){const t=this.direction==="left"||this.direction==="right";let r=this.placement.split("-");return r=r.length>1?r[1]:"",["start","top","left"].includes(r)?t?"top":"left":["end","bottom","right"].includes(r)?t?"bottom":"right":t?"middle":"center"}},watch:{opts(t,r){r&&r.callback&&r.callback(tt(Pe({},r),{completed:!t,reason:t?"Overridden by action":null}))}},mounted(){this.popoverEl=this.$refs.popover,this.addEvents()},beforeUnmount(){this.destroyPopper(),this.removeEvents(),this.popoverEl=null},methods:{addEvents(){ar(this.popoverEl,"click",this.onClick),ar(this.popoverEl,"mouseover",this.onMouseOver),ar(this.popoverEl,"mouseleave",this.onMouseLeave),ar(this.popoverEl,"focusin",this.onFocusIn),ar(this.popoverEl,"focusout",this.onFocusOut),ar(document,"keydown",this.onDocumentKeydown),ar(document,"click",this.onDocumentClick),ar(document,"show-popover",this.onDocumentShowPopover),ar(document,"hide-popover",this.onDocumentHidePopover),ar(document,"toggle-popover",this.onDocumentTogglePopover),ar(document,"update-popover",this.onDocumentUpdatePopover)},removeEvents(){or(this.popoverEl,"click",this.onClick),or(this.popoverEl,"mouseover",this.onMouseOver),or(this.popoverEl,"mouseleave",this.onMouseLeave),or(this.popoverEl,"focusin",this.onFocusIn),or(this.popoverEl,"focusout",this.onFocusOut),or(document,"keydown",this.onDocumentKeydown),or(document,"click",this.onDocumentClick),or(document,"show-popover",this.onDocumentShowPopover),or(document,"hide-popover",this.onDocumentHidePopover),or(document,"toggle-popover",this.onDocumentTogglePopover),or(document,"update-popover",this.onDocumentUpdatePopover)},onClick(t){t.stopPropagation()},onMouseOver(){this.isHovered=!0,this.isInteractive&&this.show()},onMouseLeave(){this.isHovered=!1,this.autoHide&&!this.isFocused&&(!this.ref||this.ref!==document.activeElement)&&this.hide()},onFocusIn(){this.isFocused=!0,this.isInteractive&&this.show()},onFocusOut(t){(!t.relatedTarget||!Ba(this.popoverEl,t.relatedTarget))&&(this.isFocused=!1,!this.isHovered&&this.autoHide&&this.hide())},onDocumentClick(t){!this.$refs.popover||!this.ref||Ba(this.popoverEl,t.target)||Ba(this.ref,t.target)||this.hide()},onDocumentKeydown(t){(t.key==="Esc"||t.key==="Escape")&&this.hide()},onDocumentShowPopover({detail:t}){!t.id||t.id!==this.id||this.show(t)},onDocumentHidePopover({detail:t}){!t.id||t.id!==this.id||this.hide(t)},onDocumentTogglePopover({detail:t}){!t.id||t.id!==this.id||this.toggle(t)},onDocumentUpdatePopover({detail:t}){!t.id||t.id!==this.id||this.update(t)},show(t={}){t.action="show";const r=t.ref||this.ref,e=t.showDelay>=0?t.showDelay:this.showDelay;if(!r){t.callback&&t.callback({completed:!1,reason:"Invalid reference element provided"});return}clearTimeout(this.timeout),this.opts=t;const i=()=>{Object.assign(this,td(t,["id"])),this.setupPopper(),this.opts=null};e>0?this.timeout=setTimeout(()=>i(),e):i()},hide(t={}){t.action="hide";const r=t.ref||this.ref,e=t.hideDelay>=0?t.hideDelay:this.hideDelay;if(!this.ref||r!==this.ref){t.callback&&t.callback(tt(Pe({},t),{completed:!1,reason:this.ref?"Invalid reference element provided":"Popover already hidden"}));return}const i=()=>{this.ref=null,this.opts=null};clearTimeout(this.timeout),this.opts=t,e>0?this.timeout=setTimeout(i,e):i()},toggle(t={}){this.isVisible&&t.ref===this.ref?this.hide(t):this.show(t)},update(t={}){Object.assign(this,td(t,["id"])),this.setupPopper()},setupPopper(){this.$nextTick(()=>{!this.ref||!this.$refs.popover||(this.popper&&this.popper.reference!==this.ref&&this.destroyPopper(),this.popper?this.popper.update():this.popper=Fx(this.ref,this.popoverEl,this.popperOptions))})},onPopperUpdate(t){t.placement?this.placement=t.placement:t.state&&(this.placement=t.state.placement)},beforeEnter(t){this.$emit("before-show",t)},afterEnter(t){this.$emit("after-show",t)},beforeLeave(t){this.$emit("before-hide",t)},afterLeave(t){this.destroyPopper(),this.$emit("after-hide",t)},destroyPopper(){this.popper&&(this.popper.destroy(),this.popper=null)}}},CU={inject:["sharedState"],computed:{masks(){return this.sharedState.masks},theme(){return this.sharedState.theme},locale(){return this.sharedState.locale},dayPopoverId(){return this.sharedState.dayPopoverId}},methods:{format(t,r){return this.locale.format(t,r)},pageForDate(t){return this.locale.getDateParts(this.locale.normalizeDate(t))}}},OU=["base","start","end","startEnd"],kU=["class","contentClass","style","contentStyle","color","fillMode"],TU={color:"blue",isDark:!1,highlight:{base:{fillMode:"light"},start:{fillMode:"solid"},end:{fillMode:"solid"}},dot:{base:{fillMode:"solid"},start:{fillMode:"solid"},end:{fillMode:"solid"}},bar:{base:{fillMode:"solid"},start:{fillMode:"solid"},end:{fillMode:"solid"}},content:{base:{},start:{},end:{}}};class um{constructor(r){Object.assign(this,TU,r)}normalizeAttr({config:r,type:e}){let i=this.color,n={};const s=this[e];if(r===!0||Xi(r))i=Xi(r)?r:i,n=Pe({},s);else if(Br(r))rd(r,OU)?n=Pe({},r):n={base:Pe({},r),start:Pe({},r),end:Pe({},r)};else return null;return Aa(n,{start:n.startEnd,end:n.startEnd},s),Sl(n).forEach(([a,o])=>{let l=i;o===!0||Xi(o)?(l=Xi(o)?o:l,n[a]={color:l}):Br(o)&&(rd(o,kU)?n[a]=Pe({},o):n[a]={}),zf(n,`${a}.color`)||fA(n,`${a}.color`,l)}),n}normalizeHighlight(r){const e=this.normalizeAttr({config:r,type:"highlight"});return Sl(e).forEach(([i,n])=>{const s=Aa(n,{isDark:this.isDark,color:this.color});n.style=Pe(Pe({},this.getHighlightBgStyle(s)),n.style),n.contentStyle=Pe(Pe({},this.getHighlightContentStyle(s)),n.contentStyle)}),e}getHighlightBgStyle({fillMode:r,color:e,isDark:i}){switch(r){case"outline":case"none":return{backgroundColor:i?"var(--gray-900)":"var(--white)",border:"2px solid",borderColor:i?`var(--${e}-200)`:`var(--${e}-700)`,borderRadius:"var(--rounded-full)"};case"light":return{backgroundColor:i?`var(--${e}-800)`:`var(--${e}-200)`,opacity:i?.75:1,borderRadius:"var(--rounded-full)"};case"solid":return{backgroundColor:i?`var(--${e}-500)`:`var(--${e}-600)`,borderRadius:"var(--rounded-full)"};default:return{borderRadius:"var(--rounded-full)"}}}getHighlightContentStyle({fillMode:r,color:e,isDark:i}){switch(r){case"outline":case"none":return{fontWeight:"var(--font-bold)",color:i?`var(--${e}-100)`:`var(--${e}-900)`};case"light":return{fontWeight:"var(--font-bold)",color:i?`var(--${e}-100)`:`var(--${e}-900)`};case"solid":return{fontWeight:"var(--font-bold)",color:"var(--white)"};default:return""}}bgAccentHigh({color:r,isDark:e}){return{backgroundColor:e?`var(--${r}-500)`:`var(--${r}-600)`}}contentAccent({color:r,isDark:e}){return r?{fontWeight:"var(--font-bold)",color:e?`var(--${r}-100)`:`var(--${r}-900)`}:null}normalizeDot(r){return this.normalizeNonHighlight("dot",r,this.bgAccentHigh)}normalizeBar(r){return this.normalizeNonHighlight("bar",r,this.bgAccentHigh)}normalizeContent(r){return this.normalizeNonHighlight("content",r,this.contentAccent)}normalizeNonHighlight(r,e,i){const n=this.normalizeAttr({type:r,config:e});return Sl(n).forEach(([s,a])=>{Aa(a,{isDark:this.isDark,color:this.color}),a.style=Pe(Pe({},i(a)),a.style)}),n}}var Cl=6e4;function cm(t){return t.getTime()%Cl}function uu(t){var r=new Date(t.getTime()),e=Math.ceil(r.getTimezoneOffset());r.setSeconds(0,0);var i=e>0,n=i?(Cl+cm(r))%Cl:cm(r);return e*Cl+n}function EU(t,r){var e=MU(r);return e.formatToParts?DU(e,t):IU(e,t)}var xU={year:0,month:1,day:2,hour:3,minute:4,second:5};function DU(t,r){for(var e=t.formatToParts(r),i=[],n=0;n=0&&(i[s]=parseInt(e[n].value,10))}return i}function IU(t,r){var e=t.format(r).replace(/\u200E/g,""),i=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(e);return[i[3],i[1],i[2],i[4],i[5],i[6]]}var Kc={};function MU(t){if(!Kc[t]){var r=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),e=r==="06/25/2014, 00:00:00"||r==="\u200E06\u200E/\u200E25\u200E/\u200E2014\u200E \u200E00\u200E:\u200E00\u200E:\u200E00";Kc[t]=e?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return Kc[t]}var hm=36e5,AU=6e4,Go={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-])(\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/,timezoneIANA:/(UTC|(?:[a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?))$/};function dm(t,r){var e,i;if(e=Go.timezoneZ.exec(t),e)return 0;var n;if(e=Go.timezoneHH.exec(t),e)return n=parseInt(e[2],10),fm()?(i=n*hm,e[1]==="+"?-i:i):NaN;if(e=Go.timezoneHHMM.exec(t),e){n=parseInt(e[2],10);var s=parseInt(e[3],10);return fm(n,s)?(i=n*hm+s*AU,e[1]==="+"?-i:i):NaN}if(e=Go.timezoneIANA.exec(t),e){var a=EU(r,t),o=Date.UTC(a[0],a[1]-1,a[2],a[3],a[4],a[5]),l=r.getTime()-r.getTime()%1e3;return-(o-l)}return 0}function fm(t,r){return!(r!=null&&(r<0||r>59))}var Wc=36e5,pm=6e4,$U=2,Gt={dateTimeDelimeter:/[T ]/,plainTime:/:/,timeZoneDelimeter:/[Z ]/i,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timezone:/([Z+-].*| UTC|(?:[a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?))$/};function gm(t,r){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(t===null)return new Date(NaN);var e=r||{},i=e.additionalDigits==null?$U:fi(e.additionalDigits);if(i!==2&&i!==1&&i!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]")return new Date(t.getTime());if(typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]")return new Date(t);if(!(typeof t=="string"||Object.prototype.toString.call(t)==="[object String]"))return new Date(NaN);var n=BU(t),s=LU(n.date,i),a=s.year,o=s.restDateString,l=FU(o,a);if(isNaN(l))return new Date(NaN);if(l){var u=l.getTime(),c=0,h;if(n.time&&(c=RU(n.time),isNaN(c)))return new Date(NaN);if(n.timezone||e.timeZone){if(h=dm(n.timezone||e.timeZone,new Date(u+c)),isNaN(h))return new Date(NaN);if(h=dm(n.timezone||e.timeZone,new Date(u+c+h)),isNaN(h))return new Date(NaN)}else h=uu(new Date(u+c)),h=uu(new Date(u+c+h));return new Date(u+c+h)}else return new Date(NaN)}function BU(t){var r={},e=t.split(Gt.dateTimeDelimeter),i;if(Gt.plainTime.test(e[0])?(r.date=null,i=e[0]):(r.date=e[0],i=e[1],r.timezone=e[2],Gt.timeZoneDelimeter.test(r.date)&&(r.date=t.split(Gt.timeZoneDelimeter)[0],i=t.substr(r.date.length,t.length))),i){var n=Gt.timezone.exec(i);n?(r.time=i.replace(n[1],""),r.timezone=n[1]):r.time=i}return r}function LU(t,r){var e=Gt.YYY[r],i=Gt.YYYYY[r],n;if(n=Gt.YYYY.exec(t)||i.exec(t),n){var s=n[1];return{year:parseInt(s,10),restDateString:t.slice(s.length)}}if(n=Gt.YY.exec(t)||e.exec(t),n){var a=n[1];return{year:parseInt(a,10)*100,restDateString:t.slice(a.length)}}return{year:null}}function FU(t,r){if(r===null)return null;var e,i,n,s;if(t.length===0)return i=new Date(0),i.setUTCFullYear(r),i;if(e=Gt.MM.exec(t),e)return i=new Date(0),n=parseInt(e[1],10)-1,mm(r,n)?(i.setUTCFullYear(r,n),i):new Date(NaN);if(e=Gt.DDD.exec(t),e){i=new Date(0);var a=parseInt(e[1],10);return jU(r,a)?(i.setUTCFullYear(r,0,a),i):new Date(NaN)}if(e=Gt.MMDD.exec(t),e){i=new Date(0),n=parseInt(e[1],10)-1;var o=parseInt(e[2],10);return mm(r,n,o)?(i.setUTCFullYear(r,n,o),i):new Date(NaN)}if(e=Gt.Www.exec(t),e)return s=parseInt(e[1],10)-1,ym(r,s)?vm(r,s):new Date(NaN);if(e=Gt.WwwD.exec(t),e){s=parseInt(e[1],10)-1;var l=parseInt(e[2],10)-1;return ym(r,s,l)?vm(r,s,l):new Date(NaN)}return null}function RU(t){var r,e,i;if(r=Gt.HH.exec(t),r)return e=parseFloat(r[1].replace(",",".")),Yc(e)?e%24*Wc:NaN;if(r=Gt.HHMM.exec(t),r)return e=parseInt(r[1],10),i=parseFloat(r[2].replace(",",".")),Yc(e,i)?e%24*Wc+i*pm:NaN;if(r=Gt.HHMMSS.exec(t),r){e=parseInt(r[1],10),i=parseInt(r[2],10);var n=parseFloat(r[3].replace(",","."));return Yc(e,i,n)?e%24*Wc+i*pm+n*1e3:NaN}return null}function vm(t,r,e){r=r||0,e=e||0;var i=new Date(0);i.setUTCFullYear(t,0,4);var n=i.getUTCDay()||7,s=r*7+e+1-n;return i.setUTCDate(i.getUTCDate()+s),i}var VU=[31,28,31,30,31,30,31,31,30,31,30,31],NU=[31,29,31,30,31,30,31,31,30,31,30,31];function Kb(t){return t%400===0||t%4===0&&t%100!==0}function mm(t,r,e){if(r<0||r>11)return!1;if(e!=null){if(e<1)return!1;var i=Kb(t);if(i&&e>NU[r]||!i&&e>VU[r])return!1}return!0}function jU(t,r){if(r<1)return!1;var e=Kb(t);return!(e&&r>366||!e&&r>365)}function ym(t,r,e){return!(r<0||r>52||e!=null&&(e<0||e>6))}function Yc(t,r,e){return!(t!=null&&(t<0||t>=25)||r!=null&&(r<0||r>=60)||e!=null&&(e<0||e>=60))}function Bn(t,r){ir(1,arguments);var e=r||{},i=e.locale,n=i&&i.options&&i.options.weekStartsOn,s=n==null?0:fi(n),a=e.weekStartsOn==null?s:fi(e.weekStartsOn);if(!(a>=0&&a<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var o=Vi(t),l=o.getDay(),u=(l=n.getTime()?e+1:r.getTime()>=a.getTime()?e:e-1}function zU(t){ir(1,arguments);var r=HU(t),e=new Date(0);e.setFullYear(r,0,4),e.setHours(0,0,0,0);var i=cu(e);return i}var UU=6048e5;function KU(t){ir(1,arguments);var r=Vi(t),e=cu(r).getTime()-zU(r).getTime();return Math.round(e/UU)+1}function WU(t,r){ir(1,arguments);var e=Vi(t),i=e.getFullYear(),n=r||{},s=n.locale,a=s&&s.options&&s.options.firstWeekContainsDate,o=a==null?1:fi(a),l=n.firstWeekContainsDate==null?o:fi(n.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=new Date(0);u.setFullYear(i+1,0,l),u.setHours(0,0,0,0);var c=Bn(u,r),h=new Date(0);h.setFullYear(i,0,l),h.setHours(0,0,0,0);var d=Bn(h,r);return e.getTime()>=c.getTime()?i+1:e.getTime()>=d.getTime()?i:i-1}function YU(t,r){ir(1,arguments);var e=r||{},i=e.locale,n=i&&i.options&&i.options.firstWeekContainsDate,s=n==null?1:fi(n),a=e.firstWeekContainsDate==null?s:fi(e.firstWeekContainsDate),o=WU(t,r),l=new Date(0);l.setFullYear(o,0,a),l.setHours(0,0,0,0);var u=Bn(l,r);return u}var GU=6048e5;function ZU(t,r){ir(1,arguments);var e=Vi(t),i=Bn(e,r).getTime()-YU(e,r).getTime();return Math.round(i/GU)+1}var qU=6048e5;function QU(t,r,e){ir(2,arguments);var i=Bn(t,e),n=Bn(r,e),s=i.getTime()-uu(i),a=n.getTime()-uu(n);return Math.round((s-a)/qU)}function XU(t){ir(1,arguments);var r=Vi(t),e=r.getMonth();return r.setFullYear(r.getFullYear(),e+1,0),r.setHours(0,0,0,0),r}function JU(t){ir(1,arguments);var r=Vi(t);return r.setDate(1),r.setHours(0,0,0,0),r}function eK(t,r){return ir(1,arguments),QU(XU(t),JU(t),r)+1}const tK=24*60*60*1e3;class Lt{constructor(r,{order:e=0,locale:i,isFullDay:n}={}){if(this.isDateInfo=!0,this.order=e,this.locale=i instanceof hu?i:new hu(i),this.firstDayOfWeek=this.locale.firstDayOfWeek,!Br(r)){const l=this.locale.normalizeDate(r);n?r={start:l,end:l}:r={startOn:l,endOn:l}}let s=null,a=null;if(r.start?s=this.locale.normalizeDate(r.start,tt(Pe({},this.opts),{time:"00:00:00"})):r.startOn&&(s=this.locale.normalizeDate(r.startOn,this.opts)),r.end?a=this.locale.normalizeDate(r.end,tt(Pe({},this.opts),{time:"23:59:59"})):r.endOn&&(a=this.locale.normalizeDate(r.endOn,this.opts)),s&&a&&s>a){const l=s;s=a,a=l}else s&&r.span>=1&&(a=ai(s,r.span-1));this.start=s,this.startTime=s?s.getTime():NaN,this.end=a,this.endTime=a?a.getTime():NaN,this.isDate=this.startTime&&this.startTime===this.endTime,this.isRange=!this.isDate;const o=lm(r,{},Lt.patternProps);if(o.assigned&&(this.on={and:o.target}),r.on){const l=(fr(r.on)?r.on:[r.on]).map(u=>{if(Mi(u))return u;const c=lm(u,{},Lt.patternProps);return c.assigned?c.target:null}).filter(u=>u);l.length&&(this.on=tt(Pe({},this.on),{or:l}))}this.isComplex=!!this.on}get opts(){return{order:this.order,locale:this.locale}}toDateInfo(r){return r.isDateInfo?r:new Lt(r,this.opts)}startOfWeek(r){const e=r.getDay()+1,i=e>=this.firstDayOfWeek?this.firstDayOfWeek-e:-(7-(this.firstDayOfWeek-e));return ai(r,i)}diffInDays(r,e){return Math.round((e-r)/tK)}diffInWeeks(r,e){return this.diffInDays(this.startOfWeek(r),this.startOfWeek(e))}diffInYears(r,e){return e.getUTCFullYear()-r.getUTCFullYear()}diffInMonths(r,e){return this.diffInYears(r,e)*12+(e.getMonth()-r.getMonth())}static get patterns(){return{dailyInterval:{test:(r,e,i)=>i.diffInDays(i.start||new Date,r.date)%e===0},weeklyInterval:{test:(r,e,i)=>i.diffInWeeks(i.start||new Date,r.date)%e===0},monthlyInterval:{test:(r,e,i)=>i.diffInMonths(i.start||new Date,r.date)%e===0},yearlyInterval:{test:()=>(r,e,i)=>i.diffInYears(i.start||new Date,r.date)%e===0},days:{validate:r=>fr(r)?r:[parseInt(r,10)],test:(r,e)=>e.includes(r.day)||e.includes(-r.dayFromEnd)},weekdays:{validate:r=>fr(r)?r:[parseInt(r,10)],test:(r,e)=>e.includes(r.weekday)},ordinalWeekdays:{validate:r=>Object.keys(r).reduce((e,i)=>{const n=r[i];return n&&(e[i]=fr(n)?n:[parseInt(n,10)]),e},{}),test:(r,e)=>Object.keys(e).map(i=>parseInt(i,10)).find(i=>e[i].includes(r.weekday)&&(i===r.weekdayOrdinal||i===-r.weekdayOrdinalFromEnd))},weekends:{validate:r=>r,test:r=>r.weekday===1||r.weekday===7},workweek:{validate:r=>r,test:r=>r.weekday>=2&&r.weekday<=6},weeks:{validate:r=>fr(r)?r:[parseInt(r,10)],test:(r,e)=>e.includes(r.week)||e.includes(-r.weekFromEnd)},months:{validate:r=>fr(r)?r:[parseInt(r,10)],test:(r,e)=>e.includes(r.month)},years:{validate:r=>fr(r)?r:[parseInt(r,10)],test:(r,e)=>e.includes(r.year)}}}static get patternProps(){return Object.keys(Lt.patterns).map(r=>({name:r,validate:Lt.patterns[r].validate}))}static testConfig(r,e,i){return Mi(r)?r(e):Br(r)?Object.keys(r).every(n=>Lt.patterns[n].test(e,r[n],i)):null}iterateDatesInRange({start:r,end:e},i){if(!r||!e||!Mi(i))return null;r=this.locale.normalizeDate(r,tt(Pe({},this.opts),{time:"00:00:00"}));const n={i:0,date:r,day:this.locale.getDateParts(r),finished:!1};let s=null;for(;!n.finished&&n.date<=e;n.i++)s=i(n),n.date=ai(n.date,1),n.day=this.locale.getDateParts(n.date);return s}shallowIntersectingRange(r){return this.rangeShallowIntersectingRange(this,this.toDateInfo(r))}rangeShallowIntersectingRange(r,e){if(!this.dateShallowIntersectsDate(r,e))return null;const i=r.toRange(),n=e.toRange();let s=null,a=null;return i.start?n.start?s=i.start>n.start?i.start:n.start:s=i.start:n.start&&(s=n.start),i.end?n.end?a=i.end{this.matchesDay(s.day)&&(n=n||e.matchesDay(s.day),s.finished=n)}),n}shallowIntersectsDate(r){return this.dateShallowIntersectsDate(this,this.toDateInfo(r))}dateShallowIntersectsDate(r,e){return r.isDate?e.isDate?r.startTime===e.startTime:this.dateShallowIncludesDate(e,r):e.isDate?this.dateShallowIncludesDate(r,e):!(r.start&&e.end&&r.start>e.end||r.end&&e.start&&r.end{this.matchesDay(s.day)&&(n=n&&e.matchesDay(s.day),s.finished=!n)}),n}shallowIncludesDate(r){return this.dateShallowIncludesDate(this,r.isDate?r:new Lt(r,this.opts))}dateShallowIncludesDate(r,e){return r.isDate?e.isDate?r.startTime===e.startTime:!e.startTime||!e.endTime?!1:r.startTime===e.startTime&&r.startTime===e.endTime:e.isDate?!(r.start&&e.startr.end):!(r.start&&(!e.start||e.startr.end))}intersectsDay(r){return this.shallowIntersectsDate(r.range)&&this.matchesDay(r)?this:null}matchesDay(r){return this.on?!(this.on.and&&!Lt.testConfig(this.on.and,r,this)||this.on.or&&!this.on.or.some(e=>Lt.testConfig(e,r,this))):!0}toRange(){return new Lt({start:this.start,end:this.end},this.opts)}compare(r){if(this.order!==r.order)return this.order-r.order;if(this.isDate!==r.isDate)return this.isDate?1:-1;if(this.isDate)return 0;const e=this.start-r.start;return e!==0?e:this.end-r.end}}const Vr={ar:{dow:7,L:"D/\u200FM/\u200FYYYY"},bg:{dow:2,L:"D.MM.YYYY"},ca:{dow:2,L:"DD/MM/YYYY"},"zh-CN":{dow:2,L:"YYYY/MM/DD"},"zh-TW":{dow:1,L:"YYYY/MM/DD"},hr:{dow:2,L:"DD.MM.YYYY"},cs:{dow:2,L:"DD.MM.YYYY"},da:{dow:2,L:"DD.MM.YYYY"},nl:{dow:2,L:"DD-MM-YYYY"},"en-US":{dow:1,L:"MM/DD/YYYY"},"en-AU":{dow:2,L:"DD/MM/YYYY"},"en-CA":{dow:1,L:"YYYY-MM-DD"},"en-GB":{dow:2,L:"DD/MM/YYYY"},"en-IE":{dow:2,L:"DD-MM-YYYY"},"en-NZ":{dow:2,L:"DD/MM/YYYY"},"en-ZA":{dow:1,L:"YYYY/MM/DD"},eo:{dow:2,L:"YYYY-MM-DD"},et:{dow:2,L:"DD.MM.YYYY"},fi:{dow:2,L:"DD.MM.YYYY"},fr:{dow:2,L:"DD/MM/YYYY"},"fr-CA":{dow:1,L:"YYYY-MM-DD"},"fr-CH":{dow:2,L:"DD.MM.YYYY"},de:{dow:2,L:"DD.MM.YYYY"},he:{dow:1,L:"DD.MM.YYYY"},id:{dow:2,L:"DD/MM/YYYY"},it:{dow:2,L:"DD/MM/YYYY"},ja:{dow:1,L:"YYYY\u5E74M\u6708D\u65E5"},ko:{dow:1,L:"YYYY.MM.DD"},lv:{dow:2,L:"DD.MM.YYYY"},lt:{dow:2,L:"DD.MM.YYYY"},mk:{dow:2,L:"D.MM.YYYY"},nb:{dow:2,L:"D. MMMM YYYY"},nn:{dow:2,L:"D. MMMM YYYY"},pl:{dow:2,L:"DD.MM.YYYY"},pt:{dow:2,L:"DD/MM/YYYY"},ro:{dow:2,L:"DD.MM.YYYY"},ru:{dow:2,L:"DD.MM.YYYY"},sk:{dow:2,L:"DD.MM.YYYY"},"es-ES":{dow:2,L:"DD/MM/YYYY"},"es-MX":{dow:2,L:"DD/MM/YYYY"},sv:{dow:2,L:"YYYY-MM-DD"},th:{dow:1,L:"DD/MM/YYYY"},tr:{dow:2,L:"DD.MM.YYYY"},uk:{dow:2,L:"DD.MM.YYYY"},vi:{dow:2,L:"DD/MM/YYYY"}};Vr.en=Vr["en-US"];Vr.es=Vr["es-ES"];Vr.no=Vr.nb;Vr.zh=Vr["zh-CN"];Sl(Vr).forEach(([t,{dow:r,L:e}])=>{Vr[t]={id:t,firstDayOfWeek:r,masks:{L:e}}});const Wi={DATE_TIME:1,DATE:2,TIME:3},rK={1:["year","month","day","hours","minutes","seconds","milliseconds"],2:["year","month","day"],3:["hours","minutes","seconds","milliseconds"]},bm=/d{1,2}|W{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|Z{1,4}|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,Yi=/\d\d?/,iK=/\d{3}/,nK=/\d{4}/,da=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF/]+(\s*?[\u0600-\u06FF]+){1,2}/i,sK=/\[([^]*?)\]/gm,_m=()=>{},wm=t=>(r,e,i)=>{const n=i[t].indexOf(e.charAt(0).toUpperCase()+e.substring(1).toLowerCase());~n&&(r.month=n)},aK=["L","iso"],nr=7,oK=[31,28,31,30,31,30,31,31,30,31,30,31],lK=[{value:0,label:"00"},{value:1,label:"01"},{value:2,label:"02"},{value:3,label:"03"},{value:4,label:"04"},{value:5,label:"05"},{value:6,label:"06"},{value:7,label:"07"},{value:8,label:"08"},{value:9,label:"09"},{value:10,label:"10"},{value:11,label:"11"},{value:12,label:"12"},{value:13,label:"13"},{value:14,label:"14"},{value:15,label:"15"},{value:16,label:"16"},{value:17,label:"17"},{value:18,label:"18"},{value:19,label:"19"},{value:20,label:"20"},{value:21,label:"21"},{value:22,label:"22"},{value:23,label:"23"}],Sm={D(t){return t.day},DD(t){return rt(t.day)},Do(t,r){return r.DoFn(t.day)},d(t){return t.weekday-1},dd(t){return rt(t.weekday-1)},W(t,r){return r.dayNamesNarrow[t.weekday-1]},WW(t,r){return r.dayNamesShorter[t.weekday-1]},WWW(t,r){return r.dayNamesShort[t.weekday-1]},WWWW(t,r){return r.dayNames[t.weekday-1]},M(t){return t.month},MM(t){return rt(t.month)},MMM(t,r){return r.monthNamesShort[t.month-1]},MMMM(t,r){return r.monthNames[t.month-1]},YY(t){return String(t.year).substring(2)},YYYY(t){return rt(t.year,4)},h(t){return t.hours%12||12},hh(t){return rt(t.hours%12||12)},H(t){return t.hours},HH(t){return rt(t.hours)},m(t){return t.minutes},mm(t){return rt(t.minutes)},s(t){return t.seconds},ss(t){return rt(t.seconds)},S(t){return Math.round(t.milliseconds/100)},SS(t){return rt(Math.round(t.milliseconds/10),2)},SSS(t){return rt(t.milliseconds,3)},a(t,r){return t.hours<12?r.amPm[0]:r.amPm[1]},A(t,r){return t.hours<12?r.amPm[0].toUpperCase():r.amPm[1].toUpperCase()},Z(){return"Z"},ZZ(t){const r=t.timezoneOffset;return`${r>0?"-":"+"}${rt(Math.floor(Math.abs(r)/60),2)}`},ZZZ(t){const r=t.timezoneOffset;return`${r>0?"-":"+"}${rt(Math.floor(Math.abs(r)/60)*100+Math.abs(r)%60,4)}`},ZZZZ(t){const r=t.timezoneOffset;return`${r>0?"-":"+"}${rt(Math.floor(Math.abs(r)/60),2)}:${rt(Math.abs(r)%60,2)}`}},wt={D:[Yi,(t,r)=>{t.day=r}],Do:[new RegExp(Yi.source+da.source),(t,r)=>{t.day=parseInt(r,10)}],d:[Yi,_m],W:[da,_m],M:[Yi,(t,r)=>{t.month=r-1}],MMM:[da,wm("monthNamesShort")],MMMM:[da,wm("monthNames")],YY:[Yi,(t,r)=>{const i=+new Date().getFullYear().toString().substring(0,2);t.year=`${r>68?i-1:i}${r}`}],YYYY:[nK,(t,r)=>{t.year=r}],S:[/\d/,(t,r)=>{t.millisecond=r*100}],SS:[/\d{2}/,(t,r)=>{t.millisecond=r*10}],SSS:[iK,(t,r)=>{t.millisecond=r}],h:[Yi,(t,r)=>{t.hour=r}],m:[Yi,(t,r)=>{t.minute=r}],s:[Yi,(t,r)=>{t.second=r}],a:[da,(t,r,e)=>{const i=r.toLowerCase();i===e.amPm[0]?t.isPm=!1:i===e.amPm[1]&&(t.isPm=!0)}],Z:[/[^\s]*?[+-]\d\d:?\d\d|[^\s]*?Z?/,(t,r)=>{r==="Z"&&(r="+00:00");const e=`${r}`.match(/([+-]|\d\d)/gi);if(e){const i=+(e[1]*60)+parseInt(e[2],10);t.timezoneOffset=e[0]==="+"?i:-i}}]};wt.DD=wt.D;wt.dd=wt.d;wt.WWWW=wt.WWW=wt.WW=wt.W;wt.MM=wt.M;wt.mm=wt.m;wt.hh=wt.H=wt.HH=wt.h;wt.ss=wt.s;wt.A=wt.a;wt.ZZZZ=wt.ZZZ=wt.ZZ=wt.Z;function uK(t,r){const e=new Intl.DateTimeFormat().resolvedOptions().locale;let i;Xi(t)?i=t:zf(t,"id")&&(i=t.id),i=(i||e).toLowerCase();const n=Object.keys(r),s=o=>n.find(l=>l.toLowerCase()===o);i=s(i)||s(i.substring(0,2))||e;const a=tt(Pe(Pe({},r["en-IE"]),r[i]),{id:i});return t=Br(t)?Hf(t,a):a,t}class hu{constructor(r,{locales:e=Vr,timezone:i}={}){const{id:n,firstDayOfWeek:s,masks:a}=uK(r,e);this.id=n,this.daysInWeek=nr,this.firstDayOfWeek=f9(s,1,nr),this.masks=a,this.timezone=i||void 0,this.dayNames=this.getDayNames("long"),this.dayNamesShort=this.getDayNames("short"),this.dayNamesShorter=this.dayNamesShort.map(o=>o.substring(0,2)),this.dayNamesNarrow=this.getDayNames("narrow"),this.monthNames=this.getMonthNames("long"),this.monthNamesShort=this.getMonthNames("short"),this.amPm=["am","pm"],this.monthData={},this.getMonthComps=this.getMonthComps.bind(this),this.parse=this.parse.bind(this),this.format=this.format.bind(this),this.toPage=this.toPage.bind(this)}format(r,e){if(r=this.normalizeDate(r),!r)return"";e=this.normalizeMasks(e)[0];const i=[];e=e.replace(sK,(a,o)=>(i.push(o),"??"));const n=/Z$/.test(e)?"utc":this.timezone,s=this.getDateParts(r,n);return e=e.replace(bm,a=>a in Sm?Sm[a](s,this):a.slice(1,a.length-1)),e.replace(/\?\?/g,()=>i.shift())}parse(r,e){return this.normalizeMasks(e).map(n=>{if(typeof n!="string")throw new Error("Invalid mask in fecha.parse");let s=r;if(s.length>1e3)return!1;let a=!0;const o={};if(n.replace(bm,c=>{if(wt[c]){const h=wt[c],d=s.search(h[0]);~d?s.replace(h[0],f=>(h[1](o,f,this),s=s.substring(d+f.length),f)):a=!1}return wt[c]?"":c.slice(1,c.length-1)}),!a)return!1;const l=new Date;o.isPm===!0&&o.hour!=null&&+o.hour!=12?o.hour=+o.hour+12:o.isPm===!1&&+o.hour==12&&(o.hour=0);let u;return o.timezoneOffset!=null?(o.minute=+(o.minute||0)-+o.timezoneOffset,u=new Date(Date.UTC(o.year||l.getFullYear(),o.month||0,o.day||1,o.hour||0,o.minute||0,o.second||0,o.millisecond||0))):u=this.getDateFromParts({year:o.year||l.getFullYear(),month:(o.month||0)+1,day:o.day||1,hours:o.hour||0,minutes:o.minute||0,seconds:o.second||0,milliseconds:o.millisecond||0}),u}).find(n=>n)||new Date(r)}normalizeMasks(r){return(xr(r)&&r||[Xi(r)&&r||"YYYY-MM-DD"]).map(e=>aK.reduce((i,n)=>i.replace(n,this.masks[n]||""),e))}normalizeDate(r,e={}){let i=null,{type:n,fillDate:s}=e;const{mask:a,patch:o,time:l}=e,u=n==="auto"||!n;if(Ma(r)?(n="number",i=new Date(+r)):Xi(r)?(n="string",i=r?this.parse(r,a||"iso"):null):Br(r)?(n="object",i=this.getDateFromParts(r)):(n="date",i=rn(r)?new Date(r.getTime()):null),i&&o){s=s==null?new Date:this.normalizeDate(s);const c=Pe(Pe({},this.getDateParts(s)),YN(this.getDateParts(i),rK[o]));i=this.getDateFromParts(c)}return u&&(e.type=n),i&&!isNaN(i.getTime())?(l&&(i=this.adjustTimeForDate(i,{timeAdjust:l})),i):null}denormalizeDate(r,{type:e,mask:i}={}){switch(e){case"number":return r?r.getTime():NaN;case"string":return r?this.format(r,i||"iso"):"";default:return r?new Date(r):null}}hourIsValid(r,e,i){if(!e)return!0;if(fr(e))return e.includes(r);if(Br(e)){const n=e.min||0,s=e.max||24;return n<=r&&s>=r}return e(r,i)}getHourOptions(r,e){return lK.filter(i=>this.hourIsValid(i.value,r,e))}getMinuteOptions(r){const e=[];r=r>0?r:1;for(let i=0;i<=59;i+=r)e.push({value:i,label:rt(i,2)});return e}nearestOptionValue(r,e){if(r==null)return r;const i=e.reduce((n,s)=>{if(s.disabled)return n;if(isNaN(n))return s.value;const a=Math.abs(n-r);return Math.abs(s.value-r)i&&(i instanceof Lt?i:new Lt(i,e))).filter(i=>i)}getDateParts(r,e=this.timezone){if(!r)return null;let i=r;if(e){const w=new Date(r.toLocaleString("en-US",{timeZone:e}));w.setMilliseconds(r.getMilliseconds());const C=w.getTime()-r.getTime();i=new Date(r.getTime()+C)}const n=i.getMilliseconds(),s=i.getSeconds(),a=i.getMinutes(),o=i.getHours(),l=i.getMonth()+1,u=i.getFullYear(),c=this.getMonthComps(l,u),h=i.getDate(),d=c.days-h+1,f=i.getDay()+1,p=Math.floor((h-1)/7+1),g=Math.floor((c.days-h)/7+1),v=Math.ceil((h+Math.abs(c.firstWeekday-c.firstDayOfWeek))/7),y=c.weeks-v+1,m={milliseconds:n,seconds:s,minutes:a,hours:o,day:h,dayFromEnd:d,weekday:f,weekdayOrdinal:p,weekdayOrdinalFromEnd:g,week:v,weekFromEnd:y,month:l,year:u,date:r,isValid:!0};return m.timezoneOffset=this.getTimezoneOffset(m),m}getDateFromParts(r){if(!r)return null;const e=new Date,{year:i=e.getFullYear(),month:n=e.getMonth()+1,day:s=e.getDate(),hours:a=0,minutes:o=0,seconds:l=0,milliseconds:u=0}=r;if(this.timezone){const c=`${rt(i,4)}-${rt(n,2)}-${rt(s,2)}T${rt(a,2)}:${rt(o,2)}:${rt(l,2)}.${rt(u,3)}`;return gm(c,{timeZone:this.timezone})}return new Date(i,n-1,s,a,o,l,u)}getTimezoneOffset(r){const{year:e,month:i,day:n,hours:s=0,minutes:a=0,seconds:o=0,milliseconds:l=0}=r;let u;const c=new Date(Date.UTC(e,i-1,n,s,a,o,l));if(this.timezone){const h=`${rt(e,4)}-${rt(i,2)}-${rt(n,2)}T${rt(s,2)}:${rt(a,2)}:${rt(o,2)}.${rt(l,3)}`;u=gm(h,{timeZone:this.timezone})}else u=new Date(e,i-1,n,s,a,o,l);return(u-c)/6e4}toPage(r,e){return Ma(r)?Ti(e,r):Xi(r)?this.getDateParts(this.normalizeDate(r)):rn(r)?this.getDateParts(r):Br(r)?r:null}getMonthDates(r=2e3){const e=[];for(let i=0;i<12;i++)e.push(new Date(r,i,15));return e}getMonthNames(r){const e=new Intl.DateTimeFormat(this.id,{month:r,timezome:"UTC"});return this.getMonthDates().map(i=>e.format(i))}getWeekdayDates(r=this.firstDayOfWeek){const e=[],s=5+r-1;for(let a=0;ae.format(i))}getMonthComps(r,e){const i=`${r}-${e}`;let n=this.monthData[i];if(!n){const s=e%4===0&&e%100!==0||e%400===0,a=new Date(e,r-1,1),o=a.getDay()+1,l=r===2&&s?29:oK[r-1],u=this.firstDayOfWeek-1,c=eK(a,{weekStartsOn:u}),h=[],d=[];for(let f=0;f(we,$,te,pe)=>this.normalizeDate({year:H,month:q,day:_e,hours:we,minutes:$,seconds:te,milliseconds:pe});for(let H=1;H<=r;H++){for(let q=1,_e=a;q<=nr;q++,_e+=_e===nr?1-nr:1){h&&_e===o&&(g=1,v=e.days,y=Math.floor((g-1)/nr+1),m=Math.floor((e.days-g)/nr+1),w=1,C=e.weeks,P=e.month,E=e.year,h=!1,d=!0);const we=ge(E,P,g),$={start:we(0,0,0),end:we(23,59,59,999)},te=$.start,pe=`${rt(E,4)}-${rt(P,2)}-${rt(g,2)}`,Te=q,Je=nr-q,Ce=u[H-1],Ee=l[H-1],ce=g===D&&P===R&&E===Q,xe=d&&g===1,L=d&&g===e.days,U=H===1,G=H===r,A=q===1,z=q===nr;s.push({id:pe,label:g.toString(),ariaLabel:p.format(new Date(E,P-1,g)),day:g,dayFromEnd:v,weekday:_e,weekdayPosition:Te,weekdayPositionFromEnd:Je,weekdayOrdinal:y,weekdayOrdinalFromEnd:m,week:w,weekFromEnd:C,weeknumber:Ce,isoWeeknumber:Ee,month:P,year:E,dateFromTime:we,date:te,range:$,isToday:ce,isFirstDay:xe,isLastDay:L,inMonth:d,inPrevMonth:h,inNextMonth:f,onTop:U,onBottom:G,onLeft:A,onRight:z,classes:[`id-${pe}`,`day-${g}`,`day-from-end-${v}`,`weekday-${_e}`,`weekday-position-${Te}`,`weekday-ordinal-${y}`,`weekday-ordinal-from-end-${m}`,`week-${w}`,`week-from-end-${C}`,{"is-today":ce,"is-first-day":xe,"is-last-day":L,"in-month":d,"in-prev-month":h,"in-next-month":f,"on-top":U,"on-bottom":G,"on-left":A,"on-right":z}]}),d&&L?(d=!1,f=!0,g=1,v=n.days,y=1,m=Math.floor((n.days-g)/nr+1),w=1,C=n.weeks,P=n.month,E=n.year):(g++,v--,y=Math.floor((g-1)/nr+1),m=Math.floor((e.days-g)/nr+1))}w++,C--}return s}}class Wb{constructor({key:r,hashcode:e,highlight:i,content:n,dot:s,bar:a,popover:o,dates:l,excludeDates:u,excludeMode:c,customData:h,order:d,pinPage:f},p,g){this.key=ND(r)?lu():r,this.hashcode=e,this.customData=h,this.order=d||0,this.dateOpts={order:d,locale:g},this.pinPage=f,i&&(this.highlight=p.normalizeHighlight(i)),n&&(this.content=p.normalizeContent(n)),s&&(this.dot=p.normalizeDot(s)),a&&(this.bar=p.normalizeBar(a)),o&&(this.popover=o),this.dates=g.normalizeDates(l,this.dateOpts),this.hasDates=!!xr(this.dates),this.excludeDates=g.normalizeDates(u,this.dateOpts),this.hasExcludeDates=!!xr(this.excludeDates),this.excludeMode=c||"intersects",this.hasExcludeDates&&!this.hasDates&&(this.dates.push(new Lt({},this.dateOpts)),this.hasDates=!0),this.isComplex=yU(this.dates,v=>v.isComplex)}intersectsDate(r){return r=r instanceof Lt?r:new Lt(r,this.dateOpts),!this.excludesDate(r)&&(this.dates.find(e=>e.intersectsDate(r))||!1)}includesDate(r){return r=r instanceof Lt?r:new Lt(r,this.dateOpts),!this.excludesDate(r)&&(this.dates.find(e=>e.includesDate(r))||!1)}excludesDate(r){return r=r instanceof Lt?r:new Lt(r,this.dateOpts),this.hasExcludeDates&&this.excludeDates.find(e=>this.excludeMode==="intersects"&&e.intersectsDate(r)||this.excludeMode==="includes"&&e.includesDate(r))}intersectsDay(r){return!this.excludesDay(r)&&(this.dates.find(e=>e.intersectsDay(r))||!1)}excludesDay(r){return this.hasExcludeDates&&this.excludeDates.find(e=>e.intersectsDay(r))}}const cK=300,hK=60,dK=80;var fK={maxSwipeTime:cK,minHorizontalSwipeDistance:hK,maxVerticalSwipeDistance:dK};const pK="MMMM YYYY",gK="W",vK="MMM",mK=["L","YYYY-MM-DD","YYYY/MM/DD"],yK=["L h:mm A","YYYY-MM-DD h:mm A","YYYY/MM/DD h:mm A"],bK=["L HH:mm","YYYY-MM-DD HH:mm","YYYY/MM/DD HH:mm"],_K=["h:mm A"],wK=["HH:mm"],SK="WWW, MMM D, YYYY",PK=["L","YYYY-MM-DD","YYYY/MM/DD"],CK="iso",OK="YYYY-MM-DDTHH:mm:ss.SSSZ";var kK={title:pK,weekdays:gK,navMonths:vK,input:mK,inputDateTime:yK,inputDateTime24hr:bK,inputTime:_K,inputTime24hr:wK,dayPopover:SK,data:PK,model:CK,iso:OK};const TK="640px",EK="768px",xK="1024px",DK="1280px";var IK={sm:TK,md:EK,lg:xK,xl:DK};const MK={componentPrefix:"v",color:"blue",isDark:!1,navVisibility:"click",titlePosition:"center",transition:"slide-h",touch:fK,masks:kK,screens:IK,locales:Vr,datePicker:{updateOnInput:!0,inputDebounce:1e3,popover:{visibility:"hover-focus",placement:"bottom-start",keepVisibleOnInput:!1,isInteractive:!0}}},nd=gi(MK),AK=F(()=>JF(nd.locales,t=>(t.masks=Hf(t.masks,nd.masks),t))),nn=t=>window&&zf(window.__vcalendar__,t)?ao(window.__vcalendar__,t):ao(nd,t),$K={props:{color:{type:String,default:()=>nn("color")},isDark:{type:Boolean,default:()=>nn("isDark")},firstDayOfWeek:Number,masks:Object,locale:[String,Object],timezone:String,minDate:null,maxDate:null,minDateExact:null,maxDateExact:null,disabledDates:null,availableDates:null,theme:null},computed:{$theme(){return this.theme instanceof um?this.theme:new um({color:this.color,isDark:this.isDark})},$locale(){if(this.locale instanceof hu)return this.locale;const t=Br(this.locale)?this.locale:{id:this.locale,firstDayOfWeek:this.firstDayOfWeek,masks:this.masks};return new hu(t,{locales:AK.value,timezone:this.timezone})},disabledDates_(){const t=this.normalizeDates(this.disabledDates),{minDate:r,minDateExact:e,maxDate:i,maxDateExact:n}=this;if(e||r){const s=e?this.normalizeDate(e):this.normalizeDate(r,{time:"00:00:00"});t.push({start:null,end:new Date(s.getTime()-1e3)})}if(n||i){const s=n?this.normalizeDate(n):this.normalizeDate(i,{time:"23:59:59"});t.push({start:new Date(s.getTime()+1e3),end:null})}return t},availableDates_(){return this.normalizeDates(this.availableDates)},disabledAttribute(){return new Wb({key:"disabled",dates:this.disabledDates_,excludeDates:this.availableDates_,excludeMode:"includes",order:100},this.$theme,this.$locale)}},methods:{formatDate(t,r){return this.$locale?this.$locale.format(t,r):""},parseDate(t,r){if(!this.$locale)return null;const e=this.$locale.parse(t,r);return rn(e)?e:null},normalizeDate(t,r){return this.$locale?this.$locale.normalizeDate(t,r):t},normalizeDates(t){return this.$locale.normalizeDates(t,{isFullDay:!0})},pageForDate(t){return this.$locale.getDateParts(this.normalizeDate(t))},pageForThisMonth(){return this.pageForDate(new Date)}}},BK={methods:{safeSlot(t,r,e=null){return Mi(this.$slots[t])?this.$slots[t](r):e}}},Xu=CU,Yb=$K,Uf=BK,LK={name:"PopoverRow",mixins:[Xu],props:{attribute:Object},computed:{indicator(){const{highlight:t,dot:r,bar:e,popover:i}=this.attribute;if(i&&i.hideIndicator)return null;if(t){const{color:n,isDark:s}=t.start;return{style:tt(Pe({},this.theme.bgAccentHigh({color:n,isDark:!s})),{width:"10px",height:"5px",borderRadius:"3px"})}}if(r){const{color:n,isDark:s}=r.start;return{style:tt(Pe({},this.theme.bgAccentHigh({color:n,isDark:!s})),{width:"5px",height:"5px",borderRadius:"50%"})}}if(e){const{color:n,isDark:s}=e.start;return{style:tt(Pe({},this.theme.bgAccentHigh({color:n,isDark:!s})),{width:"10px",height:"3px"})}}return null}}},FK={class:"vc-day-popover-row"},RK={key:0,class:"vc-day-popover-row-indicator"},VK={class:"vc-day-popover-row-content"};function NK(t,r,e,i,n,s){return S(),I("div",FK,[s.indicator?(S(),I("div",RK,[T("span",{style:cr(s.indicator.style),class:ue(s.indicator.class)},null,6)])):ne("",!0),T("div",VK,[de(t.$slots,"default",{},()=>[he(re(e.attribute.popover?e.attribute.popover.label:"No content provided"),1)])])])}var jK=Zs(LK,[["render",NK]]);const Zo="26px",HK="0 0 32 32",zK={"left-arrow":{viewBox:"0 -1 16 34",path:"M11.196 10c0 0.143-0.071 0.304-0.179 0.411l-7.018 7.018 7.018 7.018c0.107 0.107 0.179 0.268 0.179 0.411s-0.071 0.304-0.179 0.411l-0.893 0.893c-0.107 0.107-0.268 0.179-0.411 0.179s-0.304-0.071-0.411-0.179l-8.321-8.321c-0.107-0.107-0.179-0.268-0.179-0.411s0.071-0.304 0.179-0.411l8.321-8.321c0.107-0.107 0.268-0.179 0.411-0.179s0.304 0.071 0.411 0.179l0.893 0.893c0.107 0.107 0.179 0.25 0.179 0.411z"},"right-arrow":{viewBox:"-5 -1 16 34",path:"M10.625 17.429c0 0.143-0.071 0.304-0.179 0.411l-8.321 8.321c-0.107 0.107-0.268 0.179-0.411 0.179s-0.304-0.071-0.411-0.179l-0.893-0.893c-0.107-0.107-0.179-0.25-0.179-0.411 0-0.143 0.071-0.304 0.179-0.411l7.018-7.018-7.018-7.018c-0.107-0.107-0.179-0.268-0.179-0.411s0.071-0.304 0.179-0.411l0.893-0.893c0.107-0.107 0.268-0.179 0.411-0.179s0.304 0.071 0.411 0.179l8.321 8.321c0.107 0.107 0.179 0.268 0.179 0.411z"}},UK={props:["name"],data(){return{width:Zo,height:Zo,viewBox:HK,path:"",isBaseline:!1}},mounted(){this.updateIcon()},watch:{name(){this.updateIcon()}},methods:{updateIcon(){const t=zK[this.name];t&&(this.width=t.width||Zo,this.height=t.height||Zo,this.viewBox=t.viewBox,this.path=t.path)}}},KK=["width","height","viewBox"],WK=["d"];function YK(t,r,e,i,n,s){return S(),I("svg",{class:"vc-svg-icon",width:n.width,height:n.height,viewBox:n.viewBox},[T("path",{d:n.path},null,8,WK)],8,KK)}var Gb=Zs(UK,[["render",YK]]);const Gc=12,GK={name:"CalendarNav",emits:["input"],components:{SvgIcon:Gb},mixins:[Xu],props:{value:{type:Object,default:()=>({month:0,year:0})},validator:{type:Function,default:()=>()=>!0}},data(){return{monthMode:!0,yearIndex:0,yearGroupIndex:0,onSpaceOrEnter:zb}},computed:{month(){return this.value&&this.value.month||0},year(){return this.value&&this.value.year||0},title(){return this.monthMode?this.yearIndex:`${this.firstYear} - ${this.lastYear}`},monthItems(){return this.getMonthItems(this.yearIndex)},yearItems(){return this.getYearItems(this.yearGroupIndex)},prevItemsEnabled(){return this.monthMode?this.prevMonthItemsEnabled:this.prevYearItemsEnabled},nextItemsEnabled(){return this.monthMode?this.nextMonthItemsEnabled:this.nextYearItemsEnabled},prevMonthItemsEnabled(){return this.getMonthItems(this.yearIndex-1).some(t=>!t.isDisabled)},nextMonthItemsEnabled(){return this.getMonthItems(this.yearIndex+1).some(t=>!t.isDisabled)},prevYearItemsEnabled(){return this.getYearItems(this.yearGroupIndex-1).some(t=>!t.isDisabled)},nextYearItemsEnabled(){return this.getYearItems(this.yearGroupIndex+1).some(t=>!t.isDisabled)},activeItems(){return this.monthMode?this.monthItems:this.yearItems},firstYear(){return Nb(this.yearItems.map(t=>t.year))},lastYear(){return oo(this.yearItems.map(t=>t.year))}},watch:{year(){this.yearIndex=this.year},yearIndex(t){this.yearGroupIndex=this.getYearGroupIndex(t)},value(){this.focusFirstItem()}},created(){this.yearIndex=this.year},mounted(){this.focusFirstItem()},methods:{focusFirstItem(){this.$nextTick(()=>{const t=this.$refs.navContainer.querySelector(".vc-nav-item:not(.is-disabled)");t&&t.focus()})},getItemClasses({isActive:t,isCurrent:r,isDisabled:e}){const i=["vc-nav-item"];return t?i.push("is-active"):r&&i.push("is-current"),e&&i.push("is-disabled"),i},getYearGroupIndex(t){return Math.floor(t/Gc)},getMonthItems(t){const{month:r,year:e}=this.pageForDate(new Date);return this.locale.getMonthDates().map((i,n)=>{const s=n+1;return{month:s,year:t,id:`${t}.${rt(s,2)}`,label:this.locale.format(i,this.masks.navMonths),ariaLabel:this.locale.format(i,"MMMM YYYY"),isActive:s===this.month&&t===this.year,isCurrent:s===r&&t===e,isDisabled:!this.validator({month:s,year:t}),click:()=>this.monthClick(s,t)}})},getYearItems(t){const{_:r,year:e}=this.pageForDate(new Date),i=t*Gc,n=i+Gc,s=[];for(let a=i;athis.yearClick(a)})}return s},monthClick(t,r){this.validator({month:t,year:r})&&this.$emit("input",{month:t,year:r})},yearClick(t){this.yearIndex=t,this.monthMode=!0,this.focusFirstItem()},toggleMode(){this.monthMode=!this.monthMode},movePrev(){!this.prevItemsEnabled||(this.monthMode&&this.movePrevYear(),this.movePrevYearGroup())},moveNext(){!this.nextItemsEnabled||(this.monthMode&&this.moveNextYear(),this.moveNextYearGroup())},movePrevYear(){this.yearIndex--},moveNextYear(){this.yearIndex++},movePrevYearGroup(){this.yearGroupIndex--},moveNextYearGroup(){this.yearGroupIndex++}}},ZK={class:"vc-nav-container",ref:"navContainer"},qK={class:"vc-nav-header"},QK=["tabindex"],XK=["tabindex"],JK={class:"vc-nav-items"},eW=["data-id","aria-label","tabindex","onClick","onKeydown"];function tW(t,r,e,i,n,s){const a=be("svg-icon");return S(),I("div",ZK,[T("div",qK,[T("span",{role:"button",class:ue(["vc-nav-arrow is-left",{"is-disabled":!s.prevItemsEnabled}]),tabindex:s.prevItemsEnabled?0:void 0,onClick:r[0]||(r[0]=(...o)=>s.movePrev&&s.movePrev(...o)),onKeydown:r[1]||(r[1]=o=>n.onSpaceOrEnter(o,s.movePrev))},[de(t.$slots,"nav-left-button",{},()=>[Z(a,{name:"left-arrow",width:"20px",height:"24px"})])],42,QK),T("span",{role:"button",class:"vc-nav-title vc-grid-focus",style:{whiteSpace:"nowrap"},tabindex:"0",onClick:r[2]||(r[2]=(...o)=>s.toggleMode&&s.toggleMode(...o)),onKeydown:r[3]||(r[3]=o=>n.onSpaceOrEnter(o,s.toggleMode))},re(s.title),33),T("span",{role:"button",class:ue(["vc-nav-arrow is-right",{"is-disabled":!s.nextItemsEnabled}]),tabindex:s.nextItemsEnabled?0:void 0,onClick:r[4]||(r[4]=(...o)=>s.moveNext&&s.moveNext(...o)),onKeydown:r[5]||(r[5]=o=>n.onSpaceOrEnter(o,s.moveNext))},[de(t.$slots,"nav-right-button",{},()=>[Z(a,{name:"right-arrow",width:"20px",height:"24px"})])],42,XK)]),T("div",JK,[(S(!0),I(Ue,null,Rt(s.activeItems,o=>(S(),I("span",{key:o.label,role:"button","data-id":o.id,"aria-label":o.ariaLabel,class:ue(s.getItemClasses(o)),tabindex:o.isDisabled?void 0:0,onClick:o.click,onKeydown:l=>n.onSpaceOrEnter(l,o.click)},re(o.label),43,eW))),128))])],512)}var rW=Zs(GK,[["render",tW]]);function sd(t){document&&document.dispatchEvent(new CustomEvent("show-popover",{detail:t}))}function ad(t){document&&document.dispatchEvent(new CustomEvent("hide-popover",{detail:t}))}function Zb(t){document&&document.dispatchEvent(new CustomEvent("toggle-popover",{detail:t}))}function iW(t){document&&document.dispatchEvent(new CustomEvent("update-popover",{detail:t}))}function du(t){const{visibility:r}=t,e=r==="click",i=r==="hover",n=r==="hover-focus",s=r==="focus";t.autoHide=!e;let a=!1,o=!1;const{isRenderFn:l}=t,u={click:l?"onClick":"click",mousemove:l?"onMousemove":"mousemove",mouseleave:l?"onMouseleave":"mouseleave",focusin:l?"onFocusin":"focusin",focusout:l?"onFocusout":"focusout"};return{[u.click](c){e&&(t.ref=c.target,Zb(t),c.stopPropagation())},[u.mousemove](c){t.ref=c.currentTarget,a||(a=!0,(i||n)&&sd(t))},[u.mouseleave](c){t.ref=c.target,a&&(a=!1,(i||n&&!o)&&ad(t))},[u.focusin](c){t.ref=c.currentTarget,o||(o=!0,(s||n)&&sd(t))},[u.focusout](c){t.ref=c.currentTarget,o&&!Ba(t.ref,c.relatedTarget)&&(o=!1,(s||n&&!a)&&ad(t))}}}const nW={name:"CalendarDay",emits:["dayclick","daymouseenter","daymouseleave","dayfocusin","dayfocusout","daykeydown"],mixins:[Xu,Uf],inheritAttrs:!1,render(){const t=()=>this.hasBackgrounds&&Me("div",{class:"vc-highlights vc-day-layer"},this.backgrounds.map(({key:n,wrapperClass:s,class:a,style:o})=>Me("div",{key:n,class:s},[Me("div",{class:a,style:o})]))),r=()=>this.safeSlot("day-content",{day:this.day,attributes:this.day.attributes,attributesMap:this.day.attributesMap,dayProps:this.dayContentProps,dayEvents:this.dayContentEvents})||Me("span",tt(Pe(tt(Pe({},this.dayContentProps),{class:this.dayContentClass,style:this.dayContentStyle}),this.dayContentEvents),{ref:"content"}),[this.day.label]),e=()=>this.hasDots&&Me("div",{class:"vc-day-layer vc-day-box-center-bottom"},[Me("div",{class:"vc-dots"},this.dots.map(({key:n,class:s,style:a})=>Me("span",{key:n,class:s,style:a})))]),i=()=>this.hasBars&&Me("div",{class:"vc-day-layer vc-day-box-center-bottom"},[Me("div",{class:"vc-bars"},this.bars.map(({key:n,class:s,style:a})=>Me("span",{key:n,class:s,style:a})))]);return Me("div",{class:["vc-day",...this.day.classes,{"vc-day-box-center-center":!this.$slots["day-content"]},{"is-not-in-month":!this.inMonth}]},[t(),r(),e(),i()])},inject:["sharedState"],props:{day:{type:Object,required:!0}},data(){return{glyphs:{},dayContentEvents:{}}},computed:{label(){return this.day.label},startTime(){return this.day.range.start.getTime()},endTime(){return this.day.range.end.getTime()},inMonth(){return this.day.inMonth},isDisabled(){return this.day.isDisabled},backgrounds(){return this.glyphs.backgrounds},hasBackgrounds(){return!!xr(this.backgrounds)},content(){return this.glyphs.content},dots(){return this.glyphs.dots},hasDots(){return!!xr(this.dots)},bars(){return this.glyphs.bars},hasBars(){return!!xr(this.bars)},popovers(){return this.glyphs.popovers},hasPopovers(){return!!xr(this.popovers)},dayContentClass(){return["vc-day-content vc-focusable",{"is-disabled":this.isDisabled},ao(oo(this.content),"class")||""]},dayContentStyle(){return ao(oo(this.content),"style")},dayContentProps(){let t;return this.day.isFocusable?t="0":this.day.inMonth&&(t="-1"),{tabindex:t,"aria-label":this.day.ariaLabel,"aria-disabled":this.day.isDisabled?"true":"false",role:"button"}},dayEvent(){return tt(Pe({},this.day),{el:this.$refs.content,popovers:this.popovers})}},watch:{theme(){this.refresh()},popovers(){this.refreshPopovers()},"day.shouldRefresh"(){this.refresh()}},mounted(){this.refreshPopovers(),this.refresh()},methods:{getDayEvent(t){return tt(Pe({},this.dayEvent),{event:t})},click(t){this.$emit("dayclick",this.getDayEvent(t))},mouseenter(t){this.$emit("daymouseenter",this.getDayEvent(t))},mouseleave(t){this.$emit("daymouseleave",this.getDayEvent(t))},focusin(t){this.$emit("dayfocusin",this.getDayEvent(t))},focusout(t){this.$emit("dayfocusout",this.getDayEvent(t))},keydown(t){this.$emit("daykeydown",this.getDayEvent(t))},refresh(){if(!this.day.shouldRefresh)return;this.day.shouldRefresh=!1;const t={backgrounds:[],dots:[],bars:[],popovers:[],content:[]};this.day.attributes=Object.values(this.day.attributesMap||{}).sort((r,e)=>r.order-e.order),this.day.attributes.forEach(r=>{const{targetDate:e}=r,{isDate:i,isComplex:n,startTime:s,endTime:a}=e,o=this.startTime<=s,l=this.endTime>=a,h={isDate:i,isComplex:n,onStart:o,onEnd:l,onStartAndEnd:o&&l,onStartOrEnd:o||l};this.processHighlight(r,h,t),this.processNonHighlight(r,"content",h,t.content),this.processNonHighlight(r,"dot",h,t.dots),this.processNonHighlight(r,"bar",h,t.bars),this.processPopover(r,t)}),this.glyphs=t},processHighlight({key:t,highlight:r},{isDate:e,isComplex:i,onStart:n,onEnd:s,onStartAndEnd:a},{backgrounds:o,content:l}){if(!r)return;const{base:u,start:c,end:h}=r;e||i?(o.push({key:t,wrapperClass:"vc-day-layer vc-day-box-center-center",class:["vc-highlight",c.class],style:c.style}),l.push({key:`${t}-content`,class:c.contentClass,style:c.contentStyle})):a?(o.push({key:t,wrapperClass:"vc-day-layer vc-day-box-center-center",class:["vc-highlight",c.class],style:c.style}),l.push({key:`${t}-content`,class:c.contentClass,style:c.contentStyle})):n?(o.push({key:`${t}-base`,wrapperClass:"vc-day-layer vc-day-box-right-center",class:["vc-highlight vc-highlight-base-start",u.class],style:u.style}),o.push({key:t,wrapperClass:"vc-day-layer vc-day-box-center-center",class:["vc-highlight",c.class],style:c.style}),l.push({key:`${t}-content`,class:c.contentClass,style:c.contentStyle})):s?(o.push({key:`${t}-base`,wrapperClass:"vc-day-layer vc-day-box-left-center",class:["vc-highlight vc-highlight-base-end",u.class],style:u.style}),o.push({key:t,wrapperClass:"vc-day-layer vc-day-box-center-center",class:["vc-highlight",h.class],style:h.style}),l.push({key:`${t}-content`,class:h.contentClass,style:h.contentStyle})):(o.push({key:`${t}-middle`,wrapperClass:"vc-day-layer vc-day-box-center-center",class:["vc-highlight vc-highlight-base-middle",u.class],style:u.style}),l.push({key:`${t}-content`,class:u.contentClass,style:u.contentStyle}))},processNonHighlight(t,r,{isDate:e,onStart:i,onEnd:n},s){if(!t[r])return;const{key:a}=t,o=`vc-${r}`,{base:l,start:u,end:c}=t[r];e||i?s.push({key:a,class:[o,u.class],style:u.style}):n?s.push({key:a,class:[o,c.class],style:c.style}):s.push({key:a,class:[o,l.class],style:l.style})},processPopover(t,{popovers:r}){const{key:e,customData:i,popover:n}=t;if(!n)return;const s=Aa({key:e,customData:i,attribute:t},Pe({},n),{visibility:n.label?"hover":"click",placement:"bottom",isInteractive:!n.label});r.splice(0,0,s)},refreshPopovers(){let t={};xr(this.popovers)&&(t=du(Aa({id:this.dayPopoverId,data:this.day,isRenderFn:!0},...this.popovers))),this.dayContentEvents=bU({onClick:this.click,onMouseenter:this.mouseenter,onMouseleave:this.mouseleave,onFocusin:this.focusin,onFocusout:this.focusout,onKeydown:this.keydown},t),iW({id:this.dayPopoverId,data:this.day})}}},sW={name:"CalendarPane",emits:["update:page","weeknumberclick"],mixins:[Xu,Uf],inheritAttrs:!1,render(){const t=this.safeSlot("header",this.page)||Me("div",{class:`vc-header align-${this.titlePosition}`},[Me("div",Pe({class:"vc-title"},this.navPopoverEvents),[this.safeSlot("header-title",this.page,this.page.title)])]),r=this.weekdayLabels.map((l,u)=>Me("div",{key:u+1,class:"vc-weekday"},[l])),e=this.showWeeknumbers_.startsWith("left"),i=this.showWeeknumbers_.startsWith("right");e?r.unshift(Me("div",{class:"vc-weekday"})):i&&r.push(Me("div",{class:"vc-weekday"}));const n=l=>Me("div",{class:["vc-weeknumber"]},[Me("span",{class:["vc-weeknumber-content",`is-${this.showWeeknumbers_}`],onClick:u=>{this.$emit("weeknumberclick",{weeknumber:l,days:this.page.days.filter(c=>c[this.weeknumberKey]===l),event:u})}},[l])]),s=[],{daysInWeek:a}=this.locale;this.page.days.forEach((l,u)=>{const c=u%a;(e&&c===0||i&&c===a)&&s.push(n(l[this.weeknumberKey])),s.push(Me(nW,tt(Pe({},this.$attrs),{day:l}),this.$slots)),i&&c===a-1&&s.push(n(l[this.weeknumberKey]))});const o=Me("div",{class:{"vc-weeks":!0,"vc-show-weeknumbers":this.showWeeknumbers_,"is-left":e,"is-right":i}},[r,s]);return Me("div",{class:["vc-pane",`row-from-end-${this.rowFromEnd}`,`column-from-end-${this.columnFromEnd}`],ref:"pane"},[t,o])},props:{page:Object,position:Number,row:Number,rowFromEnd:Number,column:Number,columnFromEnd:Number,titlePosition:String,navVisibility:{type:String,default:()=>nn("navVisibility")},showWeeknumbers:[Boolean,String],showIsoWeeknumbers:[Boolean,String]},computed:{weeknumberKey(){return this.showWeeknumbers?"weeknumber":"isoWeeknumber"},showWeeknumbers_(){const t=this.showWeeknumbers||this.showIsoWeeknumbers;return t==null?"":dD(t)?t?"left":"":t.startsWith("right")?this.columnFromEnd>1?"right":t:this.column>1?"left":t},navPlacement(){switch(this.titlePosition){case"left":return"bottom-start";case"right":return"bottom-end";default:return"bottom"}},navPopoverEvents(){const{sharedState:t,navVisibility:r,navPlacement:e,page:i,position:n}=this;return du({id:t.navPopoverId,visibility:r,placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:["bottom"]}}],data:{page:i,position:n},isInteractive:!0,isRenderFn:!0})},weekdayLabels(){return this.locale.getWeekdayDates().map(t=>this.format(t,this.masks.weekdays))}}};class aW{constructor(r,e,i){this.theme=r,this.locale=e,this.map={},this.refresh(i,!0)}destroy(){this.theme=null,this.locale=null,this.map={},this.list=[],this.pinAttr=null}refresh(r,e){const i={},n=[];let s=null;const a=[],o=e?new Set:new Set(Object.keys(this.map));return xr(r)&&r.forEach((l,u)=>{if(!l||!l.dates)return;const c=l.key?l.key.toString():u.toString(),h=l.order||0,d=wU(JSON.stringify(l));let f=this.map[c];!e&&f&&f.hashcode===d?o.delete(c):(f=new Wb(Pe({key:c,order:h,hashcode:d},l),this.theme,this.locale),a.push(f)),f&&f.pinPage&&(s=f),i[c]=f,n.push(f)}),this.map=i,this.list=n,this.pinAttr=s,{adds:a,deletes:Array.from(o)}}}const oW=(t,r,{maxSwipeTime:e,minHorizontalSwipeDistance:i,maxVerticalSwipeDistance:n})=>{if(!t||!t.addEventListener||!Mi(r))return null;let s=0,a=0,o=null,l=!1;function u(h){const d=h.changedTouches[0];s=d.screenX,a=d.screenY,o=new Date().getTime(),l=!0}function c(h){if(!l)return;l=!1;const d=h.changedTouches[0],f=d.screenX-s,p=d.screenY-a;if(new Date().getTime()-o=i&&Math.abs(p)<=n){const v={toLeft:!1,toRight:!1};f<0?v.toLeft=!0:v.toRight=!0,r(v)}}return ar(t,"touchstart",u,{passive:!0}),ar(t,"touchend",c,{passive:!0}),()=>{or(t,"touchstart",u),or(t,"touchend",c)}},lW={name:"Calendar",emits:["dayfocusin","dayfocusout","transition-start","transition-end","update:from-page","update:to-page"],render(){const t=this.pages.map((n,s)=>{const a=s+1,o=Math.ceil((s+1)/this.columns),l=this.rows-o+1,u=a%this.columns||this.columns,c=this.columns-u+1;return Me(sW,tt(Pe({},this.$attrs),{key:n.key,attributes:this.store,page:n,position:a,row:o,rowFromEnd:l,column:u,columnFromEnd:c,titlePosition:this.titlePosition,canMove:this.canMove,"onUpdate:page":h=>this.move(h,{position:s+1}),onDayfocusin:h=>{this.lastFocusedDay=h,this.$emit("dayfocusin",h)},onDayfocusout:h=>{this.lastFocusedDay=null,this.$emit("dayfocusout",h)}}),this.$slots)}),r=n=>{const s=()=>this.move(n?-this.step_:this.step_),a=l=>zb(l,s),o=n?!this.canMovePrev:!this.canMoveNext;return Me("div",{class:["vc-arrow",`is-${n?"left":"right"}`,{"is-disabled":o}],role:"button",onClick:s,onKeydown:a},[(n?this.safeSlot("header-left-button",{click:s}):this.safeSlot("header-right-button",{click:s}))||Me(Gb,{name:n?"left-arrow":"right-arrow"})])},e=()=>Me(id,{id:this.sharedState.navPopoverId,contentClass:"vc-nav-popover-container",ref:"navPopover"},{default:({data:n})=>{const{position:s,page:a}=n;return Me(rW,{value:a,position:s,validator:o=>this.canMove(o,{position:s}),onInput:o=>this.move(o)},Pe({},this.$slots))}}),i=()=>Me(id,{id:this.sharedState.dayPopoverId,contentClass:"vc-day-popover-container"},{default:({data:n,updateLayout:s,hide:a})=>{const o=Object.values(n.attributes).filter(h=>h.popover),l=this.$locale.masks,u=this.formatDate,c=u(n.date,l.dayPopover);return this.safeSlot("day-popover",{day:n,attributes:o,masks:l,format:u,dayTitle:c,updateLayout:s,hide:a},Me("div",[l.dayPopover&&Me("div",{class:["vc-day-popover-header"]},[c]),o.map(h=>Me(jK,{key:h.key,attribute:h}))]))}});return Me("div",{"data-helptext":"Press the arrow keys to navigate by day, Home and End to navigate to week ends, PageUp and PageDown to navigate by month, Alt+PageUp and Alt+PageDown to navigate by year",class:["vc-container",`vc-${this.$theme.color}`,{"vc-is-expanded":this.isExpanded,"vc-is-dark":this.$theme.isDark}],onKeydown:this.handleKeydown,onMouseup:n=>n.preventDefault(),ref:"container"},[e(),Me("div",{class:["vc-pane-container",{"in-transition":this.inTransition}]},[Me(Ub,{name:this.transitionName,"on-before-enter":()=>{this.inTransition=!0},"on-after-enter":()=>{this.inTransition=!1}},{default:()=>Me("div",tt(Pe({},this.$attrs),{class:"vc-pane-layout",style:{gridTemplateColumns:`repeat(${this.columns}, 1fr)`},key:this.firstPage?this.firstPage.key:""}),t)}),Me("div",{class:[`vc-arrows-container title-${this.titlePosition}`]},[r(!0),r(!1)]),this.$slots.footer&&this.$slots.footer()]),i()])},mixins:[Yb,Uf],provide(){return{sharedState:this.sharedState}},props:{rows:{type:Number,default:1},columns:{type:Number,default:1},step:Number,titlePosition:{type:String,default:()=>nn("titlePosition")},isExpanded:Boolean,fromDate:Date,toDate:Date,fromPage:Object,toPage:Object,minPage:Object,maxPage:Object,transition:String,attributes:[Object,Array],trimWeeks:Boolean,disablePageSwipe:Boolean},data(){return{pages:[],store:null,lastFocusedDay:null,focusableDay:new Date().getDate(),transitionName:"",inTransition:!1,sharedState:{navPopoverId:lu(),dayPopoverId:lu(),theme:{},masks:{},locale:{}}}},computed:{firstPage(){return Nb(this.pages)},lastPage(){return oo(this.pages)},minPage_(){return this.minPage||this.pageForDate(this.minDate)},maxPage_(){return this.maxPage||this.pageForDate(this.maxDate)},count(){return this.rows*this.columns},step_(){return this.step||this.count},canMovePrev(){return this.canMove(-this.step_)},canMoveNext(){return this.canMove(this.step_)}},watch:{$locale(){this.refreshLocale(),this.refreshPages({page:this.firstPage,ignoreCache:!0}),this.initStore()},$theme(){this.refreshTheme(),this.initStore()},fromDate(){this.refreshPages()},fromPage(t){const r=this.pages&&this.pages[0];zc(t,r)||this.refreshPages()},toPage(t){const r=this.pages&&this.pages[this.pages.length-1];zc(t,r)||this.refreshPages()},count(){this.refreshPages()},attributes:{handler(t){const{adds:r,deletes:e}=this.store.refresh(t);this.refreshAttrs(this.pages,r,e)},deep:!0},pages(t){this.refreshAttrs(t,this.store.list,null,!0)},disabledAttribute(){this.refreshDisabledDays()},lastFocusedDay(t){t&&(this.focusableDay=t.day,this.refreshFocusableDays())},inTransition(t){t?this.$emit("transition-start"):(this.$emit("transition-end"),this.transitionPromise&&(this.transitionPromise.resolve(!0),this.transitionPromise=null))}},created(){this.refreshLocale(),this.refreshTheme(),this.initStore(),this.refreshPages()},mounted(){this.disablePageSwipe||(this.removeHandlers=oW(this.$refs.container,({toLeft:t,toRight:r})=>{t?this.moveNext():r&&this.movePrev()},nn("touch")))},beforeUnmount(){this.pages=[],this.store.destroy(),this.store=null,this.sharedState=null,this.removeHandlers&&this.removeHandlers()},methods:{refreshLocale(){this.sharedState.locale=this.$locale,this.sharedState.masks=this.$locale.masks},refreshTheme(){this.sharedState.theme=this.$theme},canMove(t,r={}){const e=this.firstPage&&this.$locale.toPage(t,this.firstPage);if(!e)return!1;let{position:i}=r;if(Ma(t)&&(i=1),!i)if(ba(e,this.firstPage))i=-1;else if($a(e,this.lastPage))i=1;else return!0;return Object.assign(r,this.getTargetPageRange(e,{position:i,force:!0})),_U(r.fromPage,r.toPage).some(n=>Hb(n,this.minPage_,this.maxPage_))},movePrev(t){return this.move(-this.step_,t)},moveNext(t){return this.move(this.step_,t)},move(t,r={}){const e=this.canMove(t,r);return!r.force&&!e?Promise.reject(new Error(`Move target is disabled: ${JSON.stringify(r)}`)):(this.$refs.navPopover.hide({hideDelay:0}),r.fromPage&&!zc(r.fromPage,this.firstPage)?this.refreshPages(tt(Pe({},r),{page:r.fromPage,position:1,force:!0})):Promise.resolve(!0))},focusDate(t,r={}){return this.move(t,r).then(()=>{const e=this.$el.querySelector(`.id-${this.$locale.getDayId(t)}.in-month .vc-focusable`);return e?(e.focus(),Promise.resolve(!0)):Promise.resolve(!1)})},showPageRange(t,r){let e,i;if(rn(t))e=this.pageForDate(t);else if(Br(t)){const{month:a,year:o}=t,{from:l,to:u}=t;Ma(a)&&Ma(o)?e=t:(l||u)&&(e=rn(l)?this.pageForDate(l):l,i=rn(u)?this.pageForDate(u):u)}else return Promise.reject(new Error("Invalid page range provided."));const n=this.lastPage;let s=e;return $a(i,n)&&(s=Ti(i,-(this.pages.length-1))),ba(s,e)&&(s=e),this.refreshPages(tt(Pe({},r),{page:s}))},getTargetPageRange(t,{position:r,force:e}={}){let i=null,n=null;if(_r(t)){let s=0;r=+r,isNaN(r)||(s=r>0?1-r:-(this.count+r)),i=Ti(t,s)}else i=this.getDefaultInitialPage();return n=Ti(i,this.count-1),e||(ba(i,this.minPage_)?i=this.minPage_:$a(n,this.maxPage_)&&(i=Ti(this.maxPage_,1-this.count)),n=Ti(i,this.count-1)),{fromPage:i,toPage:n}},getDefaultInitialPage(){let t=this.fromPage||this.pageForDate(this.fromDate);if(!_r(t)){const r=this.toPage||this.pageForDate(this.toPage);_r(r)&&(t=Ti(r,1-this.count))}return _r(t)||(t=this.getPageForAttributes()),_r(t)||(t=this.pageForThisMonth()),t},refreshPages({page:t,position:r=1,force:e,transition:i,ignoreCache:n}={}){return new Promise((s,a)=>{const{fromPage:o,toPage:l}=this.getTargetPageRange(t,{position:r,force:e}),u=[];for(let c=0;c{r.isDisabled=!!this.disabledAttribute&&this.disabledAttribute.intersectsDay(r)})},refreshFocusableDays(t){this.getPageDays(t).forEach(r=>{r.isFocusable=r.inMonth&&r.day===this.focusableDay})},getPageDays(t=this.pages){return t.reduce((r,e)=>r.concat(e.days),[])},getPageTransition(t,r,e=this.transition){if(e==="none")return e;if(e==="fade"||!e&&this.count>1||!_r(t)||!_r(r))return"fade";const i=ba(r,t);return e==="slide-v"?i?"slide-down":"slide-up":i?"slide-right":"slide-left"},getPageForAttributes(){let t=null;const r=this.store.pinAttr;if(r&&r.hasDates){let[e]=r.dates;e=e.start||e.date,t=this.pageForDate(e)}return t},buildPage({month:t,year:r},e){const i=`${r.toString()}-${t.toString()}`;let n=this.pages.find(s=>s.key===i);if(!n||e){const s=new Date(r,t-1,15),a=this.$locale.getMonthComps(t,r),o=this.$locale.getPrevMonthComps(t,r),l=this.$locale.getNextMonthComps(t,r);n={key:i,month:t,year:r,weeks:this.trimWeeks?a.weeks:6,title:this.$locale.format(s,this.$locale.masks.title),shortMonthLabel:this.$locale.format(s,"MMM"),monthLabel:this.$locale.format(s,"MMMM"),shortYearLabel:r.toString().substring(2),yearLabel:r.toString(),monthComps:a,prevMonthComps:o,nextMonthComps:l,canMove:u=>this.canMove(u),move:u=>this.move(u),moveThisMonth:()=>this.moveThisMonth(),movePrevMonth:()=>this.move(o),moveNextMonth:()=>this.move(l),refresh:!0},n.days=this.$locale.getCalendarDays(n)}return n},initStore(){this.store=new aW(this.$theme,this.$locale,this.attributes),this.refreshAttrs(this.pages,this.store.list,[],!0)},refreshAttrs(t=[],r=[],e=[],i){!xr(t)||t.forEach(n=>{n.days.forEach(s=>{let a=!1,o={};i?a=!0:rd(s.attributesMap,e)?(o=td(s.attributesMap,e),a=!0):o=s.attributesMap||{},r.forEach(l=>{const u=l.intersectsDay(s);if(u){const c=tt(Pe({},l),{targetDate:u});o[l.key]=c,a=!0}}),a&&(s.attributesMap=o,s.shouldRefresh=!0)})})},handleKeydown(t){const r=this.lastFocusedDay;r!=null&&(r.event=t,this.handleDayKeydown(r))},handleDayKeydown(t){const{dateFromTime:r,event:e}=t,i=r(12);let n=null;switch(e.key){case"ArrowLeft":{n=ai(i,-1);break}case"ArrowRight":{n=ai(i,1);break}case"ArrowUp":{n=ai(i,-7);break}case"ArrowDown":{n=ai(i,7);break}case"Home":{n=ai(i,-t.weekdayPosition+1);break}case"End":{n=ai(i,t.weekdayPositionFromEnd);break}case"PageUp":{e.altKey?n=lv(i,-1):n=Zh(i,-1);break}case"PageDown":{e.altKey?n=lv(i,1):n=Zh(i,1);break}}n&&(e.preventDefault(),this.focusDate(n).catch())}}},uW={inheritAttrs:!1,emits:["update:modelValue"],props:{options:Array,modelValue:null}},cW={class:"vc-select"},hW=["value"],dW=["value","disabled"],fW=T("div",{class:"vc-select-arrow"},[T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},[T("path",{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"})])],-1);function pW(t,r,e,i,n,s){return S(),I("div",cW,[T("select",Tt(t.$attrs,{value:e.modelValue,onChange:r[0]||(r[0]=a=>t.$emit("update:modelValue",a.target.value))}),[(S(!0),I(Ue,null,Rt(e.options,a=>(S(),I("option",{key:a.value,value:a.value,disabled:a.disabled},re(a.label),9,dW))),128))],16,hW),fW])}var gW=Zs(uW,[["render",pW]]);const vW=[{value:0,label:"12"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"},{value:7,label:"7"},{value:8,label:"8"},{value:9,label:"9"},{value:10,label:"10"},{value:11,label:"11"}],mW=[{value:12,label:"12"},{value:13,label:"1"},{value:14,label:"2"},{value:15,label:"3"},{value:16,label:"4"},{value:17,label:"5"},{value:18,label:"6"},{value:19,label:"7"},{value:20,label:"8"},{value:21,label:"9"},{value:22,label:"10"},{value:23,label:"11"}],yW={name:"TimePicker",components:{TimeSelect:gW},emits:["update:modelValue"],props:{modelValue:{type:Object,required:!0},locale:{type:Object,required:!0},theme:{type:Object,required:!0},is24hr:{type:Boolean,default:!0},showBorder:Boolean,hourOptions:Array,minuteOptions:Array},computed:{date(){let t=this.locale.normalizeDate(this.modelValue);return this.modelValue.hours===24&&(t=new Date(t.getTime()-1)),t},hours:{get(){return this.modelValue.hours},set(t){this.updateValue(t,this.minutes)}},minutes:{get(){return this.modelValue.minutes},set(t){this.updateValue(this.hours,t)}},isAM:{get(){return this.modelValue.hours<12},set(t){let r=this.hours;t&&r>=12?r-=12:!t&&r<12&&(r+=12),this.updateValue(r,this.minutes)}},amHourOptions(){return vW.filter(t=>this.hourOptions.some(r=>r.value===t.value))},pmHourOptions(){return mW.filter(t=>this.hourOptions.some(r=>r.value===t.value))},hourOptions_(){return this.is24hr?this.hourOptions:this.isAM?this.amHourOptions:this.pmHourOptions},amDisabled(){return!xr(this.amHourOptions)},pmDisabled(){return!xr(this.pmHourOptions)}},methods:{updateValue(t,r=this.minutes){(t!==this.hours||r!==this.minutes)&&this.$emit("update:modelValue",tt(Pe({},this.modelValue),{hours:t,minutes:r,seconds:0,milliseconds:0}))}}},bW=T("div",null,[T("svg",{fill:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24",class:"vc-time-icon",stroke:"currentColor"},[T("path",{d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"})])],-1),_W={class:"vc-time-content"},wW={key:0,class:"vc-time-date"},SW={class:"vc-time-weekday"},PW={class:"vc-time-month"},CW={class:"vc-time-day"},OW={class:"vc-time-year"},kW={class:"vc-time-select"},TW=T("span",{style:{margin:"0 4px"}},":",-1),EW={key:0,class:"vc-am-pm"};function xW(t,r,e,i,n,s){const a=be("time-select");return S(),I("div",{class:ue(["vc-time-picker",[{"vc-invalid":!e.modelValue.isValid,"vc-bordered":e.showBorder}]])},[bW,T("div",_W,[s.date?(S(),I("div",wW,[T("span",SW,re(e.locale.format(s.date,"WWW")),1),T("span",PW,re(e.locale.format(s.date,"MMM")),1),T("span",CW,re(e.locale.format(s.date,"D")),1),T("span",OW,re(e.locale.format(s.date,"YYYY")),1)])):ne("",!0),T("div",kW,[Z(a,{modelValue:s.hours,"onUpdate:modelValue":r[0]||(r[0]=o=>s.hours=o),modelModifiers:{number:!0},options:s.hourOptions_},null,8,["modelValue","options"]),TW,Z(a,{modelValue:s.minutes,"onUpdate:modelValue":r[1]||(r[1]=o=>s.minutes=o),modelModifiers:{number:!0},options:e.minuteOptions},null,8,["modelValue","options"]),e.is24hr?ne("",!0):(S(),I("div",EW,[T("button",{class:ue({active:s.isAM,"vc-disabled":s.amDisabled}),onClick:r[2]||(r[2]=pr(o=>s.isAM=!0,["prevent"])),type:"button"}," AM ",2),T("button",{class:ue({active:!s.isAM,"vc-disabled":s.pmDisabled}),onClick:r[3]||(r[3]=pr(o=>s.isAM=!1,["prevent"])),type:"button"}," PM ",2)]))])])],2)}var DW=Zs(yW,[["render",xW]]);const Pm={type:"auto",mask:"iso",timeAdjust:""},IW=[Pm,Pm],qo={DATE:"date",DATE_TIME:"datetime",TIME:"time"},yr={NONE:0,START:1,END:2,BOTH:3},MW={name:"DatePicker",emits:["update:modelValue","drag","dayclick","daykeydown","popover-will-show","popover-did-show","popover-will-hide","popover-did-hide"],render(){const t=(n,s)=>{if(!this.$slots.footer)return n;const a=[n,this.$slots.footer()];return s?Me(s,a):a},r=()=>{if(!this.dateParts)return null;const n=this.isRange?this.dateParts:[this.dateParts[0]];return Me("div",{},tt(Pe({},this.$slots),{default:()=>n.map((s,a)=>{const o=this.$locale.getHourOptions(this.modelConfig_[a].validHours,s),l=this.$locale.getMinuteOptions(this.modelConfig_[a].minuteIncrement,s);return Me(DW,{modelValue:s,locale:this.$locale,theme:this.$theme,is24hr:this.is24hr,showBorder:!this.isTime,isDisabled:this.isDateTime&&!s.isValid||this.isDragging,hourOptions:o,minuteOptions:l,"onUpdate:modelValue":u=>this.onTimeInput(u,a===0)})})}))},e=()=>Me(lW,tt(Pe({},this.$attrs),{attributes:this.attributes_,theme:this.$theme,locale:this.$locale,minDate:this.minDateExact||this.minDate,maxDate:this.maxDateExact||this.maxDate,disabledDates:this.disabledDates,availableDates:this.availableDates,onDayclick:this.onDayClick,onDaykeydown:this.onDayKeydown,onDaymouseenter:this.onDayMouseEnter,ref:"calendar"}),tt(Pe({},this.$slots),{footer:()=>this.isDateTime?t(r()):t()})),i=()=>this.isTime?Me("div",{class:["vc-container",`vc-${this.$theme.color}`,{"vc-is-dark":this.$theme.isDark}]},t(r(),"div")):e();return this.$slots.default?Me("div",[this.$slots.default(this.slotArgs),Me(id,{id:this.datePickerPopoverId,placement:"bottom-start",contentClass:`vc-container${this.isDark?" vc-is-dark":""}`,"on-before-show":n=>this.$emit("popover-will-show",n),"on-after-show":n=>this.$emit("popover-did-show",n),"on-before-hide":n=>this.$emit("popover-will-hide",n),"on-after-hide":n=>this.$emit("popover-did-hide",n),ref:"popover"},{default:i})]):i()},mixins:[Yb],props:{mode:{type:String,default:qo.DATE},modelValue:{type:null,required:!0},modelConfig:{type:Object,default:()=>({})},is24hr:Boolean,minuteIncrement:Number,isRequired:Boolean,isRange:Boolean,updateOnInput:{type:Boolean,default:()=>nn("datePicker.updateOnInput")},inputDebounce:{type:Number,default:()=>nn("datePicker.inputDebounce")},popover:{type:Object,default:()=>({})},dragAttribute:Object,selectAttribute:Object,attributes:Array,validHours:[Object,Array,Function]},data(){return{value_:null,dateParts:null,activeDate:"",dragValue:null,inputValues:["",""],updateTimeout:null,watchValue:!0,datePickerPopoverId:lu()}},computed:{isDate(){return this.mode.toLowerCase()===qo.DATE},isDateTime(){return this.mode.toLowerCase()===qo.DATE_TIME},isTime(){return this.mode.toLowerCase()===qo.TIME},isDragging(){return!!this.dragValue},modelConfig_(){return this.normalizeConfig(this.modelConfig,IW)},inputMask(){const t=this.$locale.masks;return this.isTime?this.is24hr?t.inputTime24hr:t.inputTime:this.isDateTime?this.is24hr?t.inputDateTime24hr:t.inputDateTime:this.$locale.masks.input},inputMaskHasTime(){return/[Hh]/g.test(this.inputMask)},inputMaskHasDate(){return/[dD]{1,2}|Do|W{1,4}|M{1,4}|YY(?:YY)?/g.test(this.inputMask)},inputMaskPatch(){if(this.inputMaskHasTime&&this.inputMaskHasDate)return Wi.DATE_TIME;if(this.inputMaskHasDate)return Wi.DATE;if(this.inputMaskHasTime)return Wi.TIME},slotArgs(){const{isRange:t,isDragging:r,updateValue:e,showPopover:i,hidePopover:n,togglePopover:s}=this,a=t?{start:this.inputValues[0],end:this.inputValues[1]}:this.inputValues[0],o=[!0,!1].map(u=>Pe({input:this.onInputInput(u),change:this.onInputChange(u),keyup:this.onInputKeyup},du(tt(Pe({},this.popover_),{id:this.datePickerPopoverId,callback:c=>{c.action==="show"&&c.completed&&this.onInputShow(u)}})))),l=t?{start:o[0],end:o[1]}:o[0];return{inputValue:a,inputEvents:l,isDragging:r,updateValue:e,showPopover:i,hidePopover:n,togglePopover:s,getPopoverTriggerEvents:du}},popover_(){return Hf(this.popover,nn("datePicker.popover"))},selectAttribute_(){if(!this.hasValue(this.value_))return null;const t=tt(Pe({key:"select-drag"},this.selectAttribute),{dates:this.value_,pinPage:!0}),{dot:r,bar:e,highlight:i,content:n}=t;return!r&&!e&&!i&&!n&&(t.highlight=!0),t},dragAttribute_(){if(!this.isRange||!this.hasValue(this.dragValue))return null;const t=tt(Pe({key:"select-drag"},this.dragAttribute),{dates:this.dragValue}),{dot:r,bar:e,highlight:i,content:n}=t;return!r&&!e&&!i&&!n&&(t.highlight={startEnd:{fillMode:"outline"}}),t},attributes_(){const t=fr(this.attributes)?[...this.attributes]:[];return this.dragAttribute_?t.push(this.dragAttribute_):this.selectAttribute_&&t.push(this.selectAttribute_),t}},watch:{inputMask(){this.formatInput()},modelValue(t){!this.watchValue||this.forceUpdateValue(t,{config:this.modelConfig_,formatInput:!0,hidePopover:!1})},value_(){this.refreshDateParts()},dragValue(){this.refreshDateParts()},timezone(){this.refreshDateParts(),this.forceUpdateValue(this.value_,{formatInput:!0})}},created(){this.value_=this.normalizeValue(this.modelValue,this.modelConfig_,Wi.DATE_TIME,yr.BOTH),this.forceUpdateValue(this.modelValue,{config:this.modelConfig_,formatInput:!0,hidePopover:!1}),this.refreshDateParts()},mounted(){ar(document,"keydown",this.onDocumentKeyDown),ar(document,"click",this.onDocumentClick)},beforeUnmount(){or(document,"keydown",this.onDocumentKeyDown),or(document,"click",this.onDocumentClick)},methods:{getDateParts(t){return this.$locale.getDateParts(t)},getDateFromParts(t){return this.$locale.getDateFromParts(t)},refreshDateParts(){const t=this.dragValue||this.value_,r=[];this.isRange?(t&&t.start?r.push(this.getDateParts(t.start)):r.push({}),t&&t.end?r.push(this.getDateParts(t.end)):r.push({})):t?r.push(this.getDateParts(t)):r.push({}),this.$nextTick(()=>this.dateParts=r)},onDocumentKeyDown(t){this.dragValue&&t.key==="Escape"&&(this.dragValue=null)},onDocumentClick(t){document.body.contains(t.target)&&!Ba(this.$el,t.target)&&(this.dragValue=null,this.formatInput())},onDayClick(t){this.handleDayClick(t),this.$emit("dayclick",t)},onDayKeydown(t){switch(t.event.key){case" ":case"Enter":{this.handleDayClick(t),t.event.preventDefault();break}case"Escape":this.hidePopover()}this.$emit("daykeydown",t)},handleDayClick(t){const{keepVisibleOnInput:r,visibility:e}=this.popover_,i={patch:Wi.DATE,adjustTime:!0,formatInput:!0,hidePopover:this.isDate&&!r&&e!=="visible"};this.isRange?(this.isDragging?this.dragTrackingValue.end=t.date:this.dragTrackingValue=Pe({},t.range),i.isDragging=!this.isDragging,i.rangePriority=i.isDragging?yr.NONE:yr.BOTH,i.hidePopover=i.hidePopover&&!i.isDragging,this.updateValue(this.dragTrackingValue,i)):(i.clearIfEqual=!this.isRequired,this.updateValue(t.date,i))},onDayMouseEnter(t){!this.isDragging||(this.dragTrackingValue.end=t.date,this.updateValue(this.dragTrackingValue,{patch:Wi.DATE,adjustTime:!0,formatInput:!0,hidePriority:!1,rangePriority:yr.NONE}))},onTimeInput(t,r){let e=null;if(this.isRange){const i=r?t:this.dateParts[0],n=r?this.dateParts[1]:t;e={start:i,end:n}}else e=t;this.updateValue(e,{patch:Wi.TIME,rangePriority:r?yr.START:yr.END}).then(()=>this.adjustPageRange(r))},onInputInput(t){return r=>{!this.updateOnInput||this.onInputUpdate(r.target.value,t,{formatInput:!1,hidePopover:!1,debounce:this.inputDebounce})}},onInputChange(t){return r=>{this.onInputUpdate(r.target.value,t,{formatInput:!0,hidePopover:!1})}},onInputUpdate(t,r,e){this.inputValues.splice(r?0:1,1,t);const i=this.isRange?{start:this.inputValues[0],end:this.inputValues[1]||this.inputValues[0]}:t,n={type:"string",mask:this.inputMask};this.updateValue(i,tt(Pe({},e),{config:n,patch:this.inputMaskPatch,rangePriority:r?yr.START:yr.END})).then(()=>this.adjustPageRange(r))},onInputShow(t){this.adjustPageRange(t)},onInputKeyup(t){t.key==="Escape"&&this.updateValue(this.value_,{formatInput:!0,hidePopover:!0})},updateValue(t,r={}){return clearTimeout(this.updateTimeout),new Promise(e=>{const i=r,{debounce:n}=i,s=jx(i,["debounce"]);n>0?this.updateTimeout=setTimeout(()=>{this.forceUpdateValue(t,s),e(this.value_)},n):(this.forceUpdateValue(t,s),e(this.value_))})},normalizeConfig(t,r=this.modelConfig_){return t=fr(t)?t:[t.start||t,t.end||t],r.map((e,i)=>Pe(Pe({validHours:this.validHours,minuteIncrement:this.minuteIncrement},e),t[i]))},forceUpdateValue(t,{config:r=this.modelConfig_,patch:e=Wi.DATE_TIME,clearIfEqual:i=!1,formatInput:n=!0,hidePopover:s=!1,isDragging:a=this.isDragging,rangePriority:o=yr.BOTH}={}){r=this.normalizeConfig(r);let l=this.normalizeValue(t,r,e,o);!l&&this.isRequired&&(l=this.value_),l=this.adjustTimeForValue(l,r);const u=this.valueIsDisabled(l);if(u){if(a)return;l=this.value_,s=!1}const c=a?"dragValue":"value_";let h=!this.valuesAreEqual(this[c],l);if(!u&&!h&&i&&(l=null,h=!0),h){this[c]=l,a||(this.dragValue=null);const d=this.denormalizeValue(l),f=this.isDragging?"drag":"update:modelValue";this.watchValue=!1,this.$emit(f,d),this.$nextTick(()=>this.watchValue=!0)}s&&this.hidePopover(),n&&this.formatInput()},hasValue(t){return this.isRange?Br(t)&&!!t.start&&!!t.end:!!t},normalizeValue(t,r,e,i){if(!this.hasValue(t))return null;if(this.isRange){const n={},s=t.start>t.end?t.end:t.start;n.start=this.normalizeDate(s,tt(Pe({},r[0]),{fillDate:this.value_&&this.value_.start||r[0].fillDate,patch:e}));const a=t.start>t.end?t.start:t.end;return n.end=this.normalizeDate(a,tt(Pe({},r[1]),{fillDate:this.value_&&this.value_.end||r[1].fillDate,patch:e})),this.sortRange(n,i)}return this.normalizeDate(t,tt(Pe({},r[0]),{fillDate:this.value_||r[0].fillDate,patch:e}))},adjustTimeForValue(t,r){return this.hasValue(t)?this.isRange?{start:this.$locale.adjustTimeForDate(t.start,r[0]),end:this.$locale.adjustTimeForDate(t.end,r[1])}:this.$locale.adjustTimeForDate(t,r[0]):null},sortRange(t,r=yr.NONE){const{start:e,end:i}=t;if(e>i)switch(r){case yr.START:return{start:e,end:e};case yr.END:return{start:i,end:i};case yr.BOTH:return{start:i,end:e}}return{start:e,end:i}},denormalizeValue(t,r=this.modelConfig_){return this.isRange?this.hasValue(t)?{start:this.$locale.denormalizeDate(t.start,r[0]),end:this.$locale.denormalizeDate(t.end,r[1])}:null:this.$locale.denormalizeDate(t,r[0])},valuesAreEqual(t,r){if(this.isRange){const e=this.hasValue(t),i=this.hasValue(r);return!e&&!i?!0:e!==i?!1:Uc(t.start,r.start)&&Uc(t.end,r.end)}return Uc(t,r)},valueIsDisabled(t){return this.hasValue(t)&&this.disabledAttribute&&this.disabledAttribute.intersectsDate(t)},formatInput(){this.$nextTick(()=>{const t=this.normalizeConfig({type:"string",mask:this.inputMask}),r=this.denormalizeValue(this.dragValue||this.value_,t);this.isRange?this.inputValues=[r&&r.start,r&&r.end]:this.inputValues=[r,""]})},showPopover(t={}){sd(tt(Pe(Pe({ref:this.$el},this.popover_),t),{isInteractive:!0,id:this.datePickerPopoverId}))},hidePopover(t={}){ad(tt(Pe(Pe({hideDelay:10},this.showPopover_),t),{id:this.datePickerPopoverId}))},togglePopover(t){Zb(tt(Pe(Pe({ref:this.$el},this.popover_),t),{isInteractive:!0,id:this.datePickerPopoverId}))},adjustPageRange(t){this.$nextTick(()=>{const r=this.$refs.calendar,e=this.getPageForValue(t),i=t?1:-1;e&&r&&!Hb(e,r.firstPage,r.lastPage)&&r.move(e,{position:i,transition:"fade"})})},getPageForValue(t){return this.hasValue(this.value_)?this.pageForDate(this.isRange?this.value_[t?"start":"end"]:this.value_):null},move(t,r){return this.$refs.calendar?this.$refs.calendar.move(t,r):Promise.reject(new Error("Navigation disabled while calendar is not yet displayed"))},focusDate(t,r){return this.$refs.calendar?this.$refs.calendar.focusDate(t,r):Promise.reject(new Error("Navigation disabled while calendar is not yet displayed"))}}},AW=oe({name:"KSegmentedControl",components:{KButton:gt},props:{modelValue:{type:[String,Number,Boolean],required:!0},options:{type:Array,required:!0},isDisabled:{type:Boolean,default:!1}},emits:["update:modelValue","click"],setup(t,{emit:r}){const e=j(t.modelValue),i=l=>typeof l=="string"?l:l.label||l.value||l,n=l=>typeof l=="string"?l:l.value||l.label||l;return{selectedValue:e,label:i,value:n,appearance:l=>t.modelValue===n(l)?"primary":"outline",disabled:l=>typeof l=="object"?!!l.disabled:t.isDisabled,handleClick:l=>{var u,c;r("click",(u=l.target)==null?void 0:u.name),r("update:modelValue",(c=l.target)==null?void 0:c.name)}}}}),$W={class:"segmented-control d-flex"};function BW(t,r,e,i,n,s){const a=be("KButton");return S(),I("div",$W,[(S(!0),I(Ue,null,Rt(t.options,o=>(S(),fe(a,{key:String(t.label(o)),name:t.value(o),disabled:t.disabled(o),appearance:t.appearance(o),size:"small",class:"justify-content-center",onClick:t.handleClick},{default:se(()=>[he(re(t.label(o)),1)]),_:2},1032,["name","disabled","appearance","onClick"]))),128))])}var LW=ze(AW,[["render",BW],["__scopeId","data-v-1f9c6dfd"]]);oe({name:"KDateTimePicker",components:{KButton:gt,KIcon:Xe,KPop:Bs,KSegmentedControl:LW,DatePicker:MW},props:{icon:{type:Boolean,required:!1,default:!0},modelValue:{type:[Object,Date,String],required:!1,default:"",validator:t=>typeof t=="string"?t==="":t instanceof Date||t.start!==void 0&&t.end!==void 0},maxDate:{type:Date,required:!1,default:null},minDate:{type:Date,required:!1,default:null},minuteIncrement:{type:Number,required:!1,default:5},mode:{type:String,required:!0,validator:t=>["relative","date","time","dateTime"].includes(t)},placeholder:{type:String,required:!1,default:"Select a time range"},range:{type:Boolean,required:!1,default:!1},timePeriods:{type:Array,required:!1,default:()=>[],validator:t=>t.every(r=>Array.isArray(r.values)&&r.values.every(e=>typeof e.timeframeText=="string"&&e.timeframeLength!==void 0&&typeof e.key=="string"&&e.key!==void 0&&typeof e.display=="string"&&e.display!==void 0&&e.start!==void 0&&e.end!==void 0))},width:{type:String,required:!1,default:"auto"}},emits:["change","update:modelValue"],setup(t,{emit:r}){var e;const i={type:"number"},n={highlight:{start:{class:"vcal-day-start"},base:{class:"vcal-day-base"},end:{class:"vcal-day-end"}}},s={highlight:{start:{class:"vcal-day-drag-start"},base:{class:"vcal-day-drag-base"},end:{class:"vcal-day-drag-end"}}},a=F(()=>t.mode!=="relative"),o=F(()=>{var P;return((P=t==null?void 0:t.timePeriods)==null?void 0:P.length)>0}),l=F(()=>d.tabName==="custom"||!o.value),u=F(()=>t.range||o.value?!d.selectedRange.start||!d.selectedRange.end:!d.selectedRange.start),c=F(()=>({width:t.width==="auto"||t.width.endsWith("%")||t.width.endsWith("px")?t.width:t.width+"px"})),h=j(t.modelValue),d=gi({abbreviatedDisplay:t.placeholder,fullRangeDisplay:"",hidePopover:!1,selectedRange:{start:new Date,end:new Date,timePeriodsKey:""},selectedTimeframe:(e=t.timePeriods[0])==null?void 0:e.values[0],tabName:"relative"}),f=P=>{let E,V;P&&(P.start&&P.end?(E=new Date(P.start),V=new Date(P.end)):(E=new Date(Number(P)),V=0),d.selectedRange={start:E,end:V,timePeriodsKey:""})},p=P=>{d.selectedTimeframe=P;const E=d.selectedTimeframe.start(),V=d.selectedTimeframe.end();d.selectedRange={start:new Date(E),end:new Date(V),timePeriodsKey:d.selectedTimeframe.key},d.fullRangeDisplay=v(d.selectedRange,!1)},g=()=>{var P;h.value="",d.abbreviatedDisplay=t.placeholder,d.fullRangeDisplay="",d.selectedRange={start:0,end:0,timePeriodsKey:""},o.value&&(d.selectedTimeframe=(P=t.timePeriods[0])==null?void 0:P.values[0]),t.range||t.mode==="relative"?(r("change",d.selectedRange),r("update:modelValue",d.selectedRange)):(r("change",""),r("update:modelValue",""))},v=(P,E)=>{const{start:V,end:D}=P;let R="PP";return!a.value&&o.value?R="PP hh:mm a":t.mode==="date"?R="PP":["time","dateTime"].includes(t.mode)&&(R="PP hh:mm a"),t.range?E?`
${ua(V,R)} - 
${ua(D,R)}
`:`${ua(V,R)} - ${ua(D,R)}`:V?`${ua(V,R)}`:""},y=async()=>{if(t.range||o.value)r("change",d.selectedRange),r("update:modelValue",d.selectedRange);else{const P=new Date(d.selectedRange.start);r("change",P),r("update:modelValue",P)}C(),m()},m=()=>{t.range&&o.value&&!l.value?d.abbreviatedDisplay=d.selectedTimeframe.display:d.abbreviatedDisplay=v(d.selectedRange,!0)},w=P=>P.charAt(0).toUpperCase()+P.slice(1),C=async()=>{d.hidePopover=!0,await Yr(),d.hidePopover=!1};return Ye(h,(P,E)=>{P!==void 0&&P!==E&&f(P)},{immediate:!0}),Bt(()=>{if(t.modelValue)if("timePeriodsKey"in t.modelValue){d.tabName="relative";for(const P of t.timePeriods){const E=P.values.find(V=>V.key===t.modelValue.timePeriodsKey);if(E){p(E),m();break}}}else d.tabName="custom",f(t.modelValue),m()}),{changeRelativeTimeframe:p,clearSelection:g,handleClose:C,hasCalendar:a,hasTimePeriods:o,modelConfig:i,selectedCalendarRange:h,calendarSelectAttributes:n,calendarDragAttributes:s,showCalendar:l,...n0(d),submitDisabled:u,widthStyle:c,submitTimeFrame:y,ucWord:w}}});const FW=oe({name:"KDropdownItem",components:{KButton:gt},props:{item:{type:Object,default:null,validator:t=>t.label!==void 0},hasDivider:{type:Boolean,default:!1},isDangerous:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},selectionMenuChild:{type:Boolean,default:!1},onClick:{type:Function,default:void 0}},emits:["click","change"],setup(t,{emit:r}){const e=F(()=>{var a;return(a=t.item)!=null&&a.to?"link":typeof t.onClick<"u"||t.selectionMenuChild?"button":"default"}),i=F(()=>{var a;return((a=t.item)==null?void 0:a.label)||""}),n=F(()=>{var a;return((a=t.item)==null?void 0:a.to)||void 0});return{type:e,label:i,to:n,handleClick:a=>{r("click",a),t.selectionMenuChild&&r("change",t.item)}}}}),RW=["data-testid"],VW={key:3,class:"k-dropdown-item-trigger","data-testid":"k-dropdown-item-trigger"};function NW(t,r,e,i,n,s){const a=be("router-link"),o=be("KButton");return S(),I("li",{class:ue([{"has-divider":t.type!=="link"&&t.hasDivider,disabled:t.type==="default"&&t.disabled,danger:t.isDangerous,"k-dropdown-selected-option":t.selected},"k-dropdown-item w-100"]),"data-testid":`k-dropdown-item-${t.label.replace(/ /gi,"-")}`},[t.type==="link"&&t.to&&!!t.disabled?(S(),I("a",{key:0,class:ue([{disabled:t.disabled,"has-divider":t.hasDivider},"k-dropdown-item-trigger"]),"data-testid":"k-dropdown-item-trigger",href:"#",onClick:r[0]||(r[0]=pr(()=>{},["prevent","stop"]))},[de(t.$slots,"default",{},()=>[he(re(t.label),1)],!0)],2)):t.type==="link"&&t.to?(S(),fe(a,{key:1,to:t.disabled?t.$route.path:t.to,class:ue([{disabled:t.disabled,"has-divider":t.hasDivider},"k-dropdown-item-trigger"]),"data-testid":"k-dropdown-item-trigger",onClick:t.handleClick},{default:se(()=>[de(t.$slots,"default",{},()=>[he(re(t.label),1)],!0)]),_:3},8,["to","class","onClick"])):t.type==="button"?(S(),fe(o,{key:2,disabled:t.disabled,"is-rounded":!1,class:"k-dropdown-item-trigger btn-link k-button non-visual-button","data-testid":"k-dropdown-item-trigger",onClick:t.handleClick},{default:se(()=>[de(t.$slots,"default",{},()=>[he(re(t.label),1)],!0)]),_:3},8,["disabled","onClick"])):(S(),I("div",VW,[de(t.$slots,"default",{},()=>[he(re(t.label),1)],!0)]))],10,RW)}var jW=ze(FW,[["render",NW],["__scopeId","data-v-a0c39af6"]]);const Cm={hideCaret:!0,popoverClasses:"k-dropdown-popover mt-1",popoverTimeout:0,positionFixed:!0,placement:"bottomStart"},HW=oe({name:"KDropdownMenu",components:{KButton:gt,KDropdownItem:jW,Kooltip:_o,KPop:Bs,KToggle:hf},props:{appearance:{type:String,default:"menu",validator:t=>["menu","selectionMenu"].includes(t)},buttonAppearance:{type:String,default:"primary"},label:{type:String,default:""},icon:{type:String,default:""},showCaret:{type:Boolean,default:!1},width:{type:String,default:""},kpopAttributes:{type:Object,default:()=>({})},items:{type:Array,default:()=>[],validator:t=>!t.length||t.some(r=>r.label!==void 0)},disabled:{type:Boolean,default:!1},disabledTooltip:{type:String,default:""},testMode:{type:Boolean,default:!1}},emits:["toggleDropdown","change"],setup(t,{emit:r}){const e={...Cm,...t.kpopAttributes,width:t.width?t.width:void 0,popoverClasses:`${Cm.popoverClasses} ${t.kpopAttributes.popoverClasses}`},i=j({}),n=a=>{t.appearance==="selectionMenu"&&(i.value=a)},s=(a,o,l)=>(a.value!==l&&(o(),r("toggleDropdown",a.value)),a.value);return Ye(i,(a,o)=>{a!==o&&r("change",a)}),Bt(()=>{if(t.items){const a=t.items.filter(o=>o.selected);a.length&&(i.value=a[0])}}),{boundKPopAttributes:e,selectedItem:i,handleSelection:n,handleTriggerToggle:s}}}),zW={class:"k-dropdown-list dropdown-list","data-testid":"k-dropdown-list"};function UW(t,r,e,i,n,s){const a=be("KButton"),o=be("KDropdownItem"),l=be("KPop"),u=be("KToggle");return S(),I("div",{class:ue([{"selection-dropdown-menu":t.appearance==="selectionMenu"},"k-dropdown k-dropdown-menu"])},[Z(u,null,{default:se(({toggle:c,isToggled:h})=>[Z(l,Tt(t.boundKPopAttributes,{"on-popover-click":()=>t.handleTriggerToggle(h,c,!1),"test-mode":!!t.testMode||void 0,"data-testid":"k-dropdown-menu-popover",onOpened:()=>t.handleTriggerToggle(h,c,!0),onClosed:()=>t.handleTriggerToggle(h,c,!1)}),{content:se(()=>[T("ul",zW,[de(t.$slots,"items",{items:t.items,handleSelection:t.handleSelection},()=>[(S(!0),I(Ue,null,Rt(t.items,(d,f)=>(S(),fe(o,Tt(d,{key:`${d.label}-${f}`,item:d,"selection-menu-child":t.appearance==="selectionMenu",onChange:t.handleSelection}),null,16,["item","selection-menu-child","onChange"]))),128))],!0)])]),default:se(()=>[(S(),fe(xs(t.disabledTooltip?"Kooltip":"div"),{label:t.disabledTooltip,position:t.disabledTooltip?"bottom":void 0,"position-fixed":t.disabledTooltip?!0:void 0,"max-width":t.disabledTooltip?"240":void 0,"test-mode":!!t.testMode||void 0,class:"k-dropdown-trigger dropdown-trigger","data-testid":"k-dropdown-trigger"},{default:se(()=>[de(t.$slots,"default",{isOpen:h.value},()=>[T("div",null,[t.label||t.icon?(S(),fe(a,{key:0,disabled:t.disabled,"show-caret":t.showCaret||t.appearance==="selectionMenu",appearance:t.appearance==="selectionMenu"?"outline":t.buttonAppearance,icon:t.icon,class:"k-dropdown-btn","data-testid":"k-dropdown-btn"},{default:se(()=>[he(re(t.label),1)]),_:1},8,["disabled","show-caret","appearance","icon"])):ne("",!0)])],!0)]),_:2},1032,["label","position","position-fixed","max-width","test-mode"]))]),_:2},1040,["on-popover-click","test-mode","onOpened","onClosed"])]),_:3})],2)}var Hee=ze(HW,[["render",UW],["__scopeId","data-v-886117c8"]]);oe({name:"KFileUpload",components:{KLabel:Ls,KInput:Vu,KButton:gt,KIcon:Xe},props:{labelAttributes:{type:Object,default:()=>({})},label:{type:String,default:""},testMode:{type:Boolean,default:!1},help:{type:String,default:void 0},buttonAppearance:{type:String,default:"primary"},buttonText:{type:String,default:"Select file"},fileModel:{type:String,default:void 0},removable:{type:Boolean,default:!0},placeholder:{type:String,default:"No file selected"},type:{type:String,default:"file",validator:t=>["file","image"].includes(t)},accept:{type:Array,required:!0},maxFileSize:{type:Number,default:null},iconSize:{type:String,default:"26"},icon:{type:String,default:"image"},iconColor:{type:String,default:void 0},hasError:{type:Boolean,default:!1},errorMessage:{type:String,default:"Please check file size."}},emits:["file-added","file-removed","error"],setup(t,{emit:r}){const e=F(()=>t.testMode?"test-file-upload-id-1234":Ut()),i=F(()=>t.maxFileSize||t.maxFileSize===0?t.maxFileSize:t.type==="file"?525e4:1e6),n=j(!1),s=j([]),a=j(0),o=j(""),l=j([]);return{fileInput:s,customInputId:e,resetInput:()=>{s.value=[],o.value="",l.value=[],a.value++,n.value=!1,r("file-removed")},onFileChange:d=>{var f,p,g;s.value=(f=d.target)==null?void 0:f.files,o.value=(p=s==null?void 0:s.value[0])==null?void 0:p.name;const v=(g=s==null?void 0:s.value[0])==null?void 0:g.size;n.value=v>i.value,n.value&&(a.value++,r("error",s.value));const y=document.getElementById(e.value);v?l.value.push(s.value):(y.files=l.value[l.value.length-1],s.value=y.files,y.files&&(o.value=y.files[y.files.length-1].name)),r("file-added",s.value)},fileInputKey:a,fileValue:o,updateFile:()=>{const d=document.getElementById(e.value);d&&d.click()},hasUploadError:n,fileClone:l,maximumFileSize:i}}});const Om={fontSize:"font-size",fontWeight:"font-weight",fontFamily:"font-family",color:"color",margin:"margin",padding:"padding"};oe({name:"KInlineEdit",props:{ignoreValue:{type:Boolean,default:!1},styleOverrides:{type:Object,default:()=>({})}},emits:["changed"],setup(t,{emit:r,slots:e}){const i=j(null),n=F(()=>"editable-wrapper-"+Ut()),s=j(!1),a=j(""),o=j({}),l=async d=>{d.target.id!=="element-content-wrapper"&&(o.value={...c(d.target),...t.styleOverrides},a.value=t.ignoreValue?"":d.target.textContent,s.value=!0,await Yr(),i.value&&i.value.focus())},u=()=>{s.value=!1,r("changed",a.value)},c=d=>{const f=getComputedStyle(d);return Object.keys(Om).reduce((p,g)=>(p[g]=f.getPropertyValue(Om[g]),p),{})},h=d=>{var f;(f=d==null?void 0:d.target)==null||f.blur()};return Bt(()=>{try{if(!e.default)throw new Error("KInlineEdit expects a slotted HTML tag.")}catch{console.error(`KInlineEdit expects a slotted HTML tag. +Kongponent Docs: https://kongponents.konghq.com/components/breadcrumbs.html`)),()=>Ee(k1,{...t,...r,...i},e)}});const X7=ae({name:"KCard",props:{title:{type:String,default:""},body:{type:String,default:""},borderVariant:{type:String,default:"border"},hasHover:{type:Boolean,default:!1},hasShadow:{type:Boolean,default:!1},status:{type:String,default:""},testMode:{type:Boolean,default:!1}},setup(t,{slots:r}){const e=F(()=>t.testMode?"test-title-id-1234":Ut()),i=F(()=>t.testMode?"test-content-id-1234":Ut()),n=F(()=>!!(t.status||!!r.statusHat));return{titleId:e,contentId:i,useStatusHatLayout:n}}}),J7=["aria-label","aria-labelledby","aria-describedby"],eO={key:0,class:"k-card-status-hat"},tO=["id"],rO={class:"k-card-actions"},iO=["id"],nO={class:"k-card-content d-flex"},sO=["id"],aO={key:0,class:"k-card-notifications ml-3"};function oO(t,r,e,i,n,s){return S(),I("section",{class:ce([[t.borderVariant,{hover:t.hasHover,"kcard-shadow":t.hasShadow}],"kong-card"]),"aria-label":t.title?t.title:void 0,"aria-labelledby":!t.title&&(t.$slots.title||t.$slots.title)?t.titleId:void 0,"aria-describedby":t.contentId||void 0},[t.$slots.actions||t.useStatusHatLayout||!t.useStatusHatLayout&&(t.title||t.$slots.title)?(S(),I("div",{key:0,class:ce([{"has-status":t.status||t.$slots.statusHat},"k-card-header d-flex mb-3"])},[t.status||t.$slots.statusHat?(S(),I("div",eO,[de(t.$slots,"statusHat",{},()=>[ue(re(t.status),1)],!0)])):ne("",!0),!t.useStatusHatLayout&&(t.title||t.$slots.title)?(S(),I("div",{key:1,id:t.title?void 0:t.titleId,class:"k-card-title mb-3"},[E("h4",null,[de(t.$slots,"title",{},()=>[ue(re(t.title),1)],!0)])],8,tO)):ne("",!0),E("div",rO,[de(t.$slots,"actions",{},void 0,!0)])],2)):ne("",!0),t.useStatusHatLayout&&(t.title||t.$slots.title)?(S(),I("div",{key:1,id:t.title?void 0:t.titleId,class:"k-card-title mb-3"},[E("h4",null,[de(t.$slots,"title",{},()=>[ue(re(t.title),1)],!0)])],8,iO)):ne("",!0),E("div",nO,[E("div",{id:t.contentId,class:"k-card-body"},[de(t.$slots,"body",{},()=>[ue(re(t.body),1)],!0)],8,sO),t.$slots.notifications?(S(),I("div",aO,[de(t.$slots,"notifications",{},void 0,!0)])):ne("",!0)])],10,J7)}var yf=ze(X7,[["render",oO],["__scopeId","data-v-1f0d90ac"]]);const lO=ae({name:"KEmptyState",components:{KButton:gt,KIcon:Xe},props:{isError:{type:Boolean,default:!1},iconSize:{type:String,default:"50"},icon:{type:String,default:""},ctaIsHidden:{type:Boolean,default:!1},ctaText:{type:String,default:""},handleClick:{type:Function,default:null},iconColor:{type:String,default:""}}}),uO={class:"empty-state-title"},cO={class:"k-empty-state-title-header mt-4 mb-4"},hO={class:"empty-state-content"},dO={class:"k-empty-state-message mb-6"},fO={class:"k-empty-state-cta"};function pO(t,r,e,i,n,s){const a=be("KIcon"),o=be("KButton");return S(),I("section",{class:ce([{"is-error":t.isError},"empty-state-wrapper"])},[E("div",uO,[t.isError||t.icon?(S(),I("div",{key:0,class:ce([{"warning-icon":t.isError},"k-empty-state-icon card-icon mb-3"])},[Z(a,{size:t.iconSize,icon:t.icon?t.icon:"warning",color:t.isError?t.iconColor||"var(--black-70)":t.iconColor,"secondary-color":t.isError?"var(--yellow-400)":void 0},null,8,["size","icon","color","secondary-color"])],2)):ne("",!0),E("div",cO,[de(t.$slots,"title",{},void 0,!0)])]),E("div",hO,[E("div",dO,[de(t.$slots,"message",{},void 0,!0)]),E("div",fO,[de(t.$slots,"cta",{},()=>[!t.ctaIsHidden&&t.ctaText?(S(),fe(o,{key:0,appearance:"primary",size:"small",onClick:r[0]||(r[0]=pr(()=>t.handleClick&&t.handleClick(),["prevent"]))},{default:se(()=>[ue(re(t.ctaText),1)]),_:1})):ne("",!0)],!0)])])],2)}var bf=ze(lO,[["render",pO],["__scopeId","data-v-5b55eb64"]]);const gO=ae({name:"KLabel",components:{KIcon:Xe,KTooltip:_o},props:{help:{type:String,default:void 0},info:{type:String,default:void 0},tooltipAttributes:{type:Object,default:()=>({})},testMode:{type:Boolean,default:!1}}}),vO={class:"k-input-label"};function mO(t,r,e,i,n,s){const a=be("KIcon"),o=be("KTooltip");return S(),I("label",vO,[t.help?(S(),fe(o,Et({key:0},t.tooltipAttributes,{label:t.help,"test-mode":!!t.testMode||void 0,class:"label-tooltip"}),{default:se(()=>[de(t.$slots,"default",{},void 0,!0),Z(a,{icon:"help",size:"16","hide-title":""})]),_:3},16,["label","test-mode"])):t.info?(S(),fe(o,Et({key:1},t.tooltipAttributes,{label:t.info,"test-mode":!!t.testMode||void 0,class:"label-tooltip"}),{default:se(()=>[de(t.$slots,"default",{},void 0,!0),Z(a,{icon:"info",size:"16","view-box":"0 0 16 16","hide-title":""})]),_:3},16,["label","test-mode"])):de(t.$slots,"default",{key:2},void 0,!0)])}var Ls=ze(gO,[["render",mO],["__scopeId","data-v-d949c2e2"]]);const yO=ae({name:"KInput",components:{KLabel:Ls},inheritAttrs:!1,props:{modelValue:{type:[String,Number],default:""},label:{type:String,default:""},overlayLabel:{type:Boolean,default:!1},labelAttributes:{type:Object,default:()=>({})},help:{type:String,default:""},size:{type:String,default:"medium"},hasError:{type:Boolean,default:!1},errorMessage:{type:String,default:""},characterLimit:{type:Number,default:null,validator:t=>t>0},testMode:{type:Boolean,default:!1}},emits:["input","update:modelValue","char-limit-exceeded"],setup(t,{attrs:r,emit:e}){const i=j(""),n=j(!1),s=j(!1),a=j(!1),o=F(()=>(r==null?void 0:r.disabled)!==void 0&&String(r==null?void 0:r.disabled)!=="false"),l=F(()=>(r==null?void 0:r.readonly)!==void 0&&String(r==null?void 0:r.readonly)!=="false"),u=F(()=>r.id?String(r.id):t.testMode?"test-input-id-1234":Ut()),c=F({get(){return t.modelValue},set(v){p({target:{value:v}})}}),h=F(()=>{const v={...r};return delete v.class,delete v.input,delete v.onInput,v}),d=F(()=>!!t.characterLimit&&(i.value.toString().length||!n.value&&t.modelValue.toString().length)>t.characterLimit),f=F(()=>d.value?n.value?`${i.value.toString().length} / ${t.characterLimit}`:`${t.modelValue.toString().length} / ${t.characterLimit}`:"");Ye(d,(v,y)=>{v!==y&&e("char-limit-exceeded",{value:i.value,length:i.value.length,characterLimit:t.characterLimit,limitExceeded:v})}),Ye(c,(v,y)=>{v!==y&&p({target:{value:v}})});const p=v=>{var y;const m=JSON.parse(JSON.stringify((y=v==null?void 0:v.target)==null?void 0:y.value));i.value=m,n.value=!0,e("input",m),e("update:modelValue",m)};return{currValue:i,modelValueChanged:n,isFocused:s,isHovered:a,isDisabled:o,isReadonly:l,inputId:u,charLimitExceeded:d,charLimitExceededError:f,modifiedAttrs:h,handleInput:p,getValue:()=>i.value||n.value?i.value:t.modelValue}}}),bO={class:"text-on-input"},_O=["for"],wO=["id","value","aria-invalid"],SO=["id","value","aria-invalid"],PO=["value","aria-invalid"],CO={key:4,class:"help"};function OO(t,r,e,i,n,s){const a=be("KLabel");return S(),I("div",{class:ce([[t.$attrs.class,{"input-error":t.charLimitExceeded||t.hasError||String(t.$attrs.class||"").includes("input-error")}],"k-input-wrapper"])},[t.label&&t.overlayLabel?(S(),I("div",{key:0,class:ce([`k-input-label-wrapper-${t.size}`,"mt-5"])},[E("div",bO,[E("label",Et({for:t.inputId},t.labelAttributes,{class:{focused:t.isFocused,hovered:t.isHovered,disabled:t.isDisabled,readonly:t.isReadonly}}),[E("span",null,re(t.label),1)],16,_O),E("input",Et(t.modifiedAttrs,{id:t.inputId,value:t.getValue(),class:[`k-input-${t.size}`,"form-control k-input"],"aria-invalid":t.hasError||t.charLimitExceeded?"true":void 0,onInput:r[0]||(r[0]=(...o)=>t.handleInput&&t.handleInput(...o)),onMouseenter:r[1]||(r[1]=()=>t.isHovered=!0),onMouseleave:r[2]||(r[2]=()=>t.isHovered=!1),onFocus:r[3]||(r[3]=()=>t.isFocused=!0),onBlur:r[4]||(r[4]=()=>t.isFocused=!1)}),null,16,wO)]),t.charLimitExceeded||t.hasError?(S(),I("p",{key:0,class:ce([{"over-char-limit":t.charLimitExceeded},"has-error"])},re(t.charLimitExceededError||t.errorMessage),3)):ne("",!0)],2)):t.label?(S(),I("div",{key:1,class:ce(`k-input-label-wrapper-${t.size}`)},[Z(a,Et({for:t.inputId},t.labelAttributes),{default:se(()=>[ue(re(t.label),1)]),_:1},16,["for"]),E("input",Et(t.modifiedAttrs,{id:t.inputId,value:t.getValue(),class:[`k-input-${t.size}`,"form-control k-input"],"aria-invalid":t.hasError||t.charLimitExceeded?"true":void 0,onInput:r[5]||(r[5]=(...o)=>t.handleInput&&t.handleInput(...o))}),null,16,SO),t.charLimitExceeded||t.hasError?(S(),I("p",{key:0,class:ce([{"over-char-limit":t.charLimitExceeded},"has-error"])},re(t.charLimitExceededError||t.errorMessage),3)):ne("",!0)],2)):(S(),I("input",Et({key:2},t.modifiedAttrs,{value:t.getValue(),class:[`k-input-${t.size}`,"form-control k-input"],"aria-invalid":t.hasError||t.charLimitExceeded?"true":void 0,onInput:r[6]||(r[6]=(...o)=>t.handleInput&&t.handleInput(...o))}),null,16,PO)),(t.charLimitExceeded||t.hasError)&&!t.label?(S(),I("p",{key:3,class:ce(["has-error",{"over-char-limit":t.charLimitExceeded}])},re(t.charLimitExceededError||t.errorMessage),3)):ne("",!0),t.help?(S(),I("p",CO,re(t.help),1)):ne("",!0)],2)}var Vu=ze(yO,[["render",OO],["__scopeId","data-v-6c1c7dad"]]);const kO=ae({name:"SelectItem",components:{KIcon:Xe},props:{item:{type:Object,default:null,validator:t=>t.label!==void 0&&t.value!==void 0},disabled:{type:Boolean,default:!1}},emits:["selected"],setup(t,{emit:r}){return{handleClick:()=>{r("selected",t.item)}}}}),EO=["data-testid"],TO={role:"option",class:"d-block"},xO=["value"],DO={class:"k-select-item-label mr-2"},IO={class:"k-select-selected-icon-container"};function MO(t,r,e,i,n,s){const a=be("KIcon");return S(),I("div",{key:t.item.key,"data-testid":`k-select-item-${t.item.value}`,class:"k-select-item",onClick:r[0]||(r[0]=(...o)=>t.handleClick&&t.handleClick(...o))},[E("div",TO,[E("button",{class:ce({disabled:t.disabled,selected:t.item.selected}),value:t.item.value},[E("span",DO,[de(t.$slots,"content",{},()=>[ue(re(t.item.label),1)],!0)]),E("span",IO,[t.item.selected?(S(),fe(a,{key:0,class:"selected-item-icon",icon:"check",color:"var(--blue-200)"})):ne("",!0)])],10,xO)])],8,EO)}var AO=ze(kO,[["render",MO],["__scopeId","data-v-683f6b01"]]);const{getSizeFromString:$O}=jn(),Yg={popoverClasses:"k-select-popover mt-0",popoverTimeout:0,placement:"bottomStart",hideCaret:!0},BO=ae({name:"KSelect",components:{KButton:gt,KIcon:Xe,KInput:Vu,KLabel:Ls,KPop:Bs,KSelectItem:AO,KToggle:hf},inheritAttrs:!1,props:{modelValue:{type:[String,Number],default:""},kpopAttributes:{type:Object,default:()=>({popoverClasses:""})},dropdownMaxHeight:{type:String,default:"300"},label:{type:String,default:""},overlayLabel:{type:Boolean,default:!1},labelAttributes:{type:Object,default:()=>({})},width:{type:String,default:""},placeholder:{type:String,default:""},appearance:{type:String,default:"dropdown",validator:t=>["dropdown","select","button"].includes(t)},buttonText:{type:String,default:""},items:{type:Array,required:!1,default:()=>[],validator:t=>!t.length||t.every(r=>r.label!==void 0&&r.value!==void 0)},positionFixed:{type:Boolean,default:!0},filterFunc:{type:Function,default:t=>t.items.filter(r=>r.label.toLowerCase().includes(t.query.toLowerCase()))},enableFiltering:{type:Boolean,default:null},autosuggest:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},testMode:{type:Boolean,default:!1}},emits:["selected","input","change","update:modelValue","query-change"],setup(t,{attrs:r,emit:e}){const i=j(""),n=j(null),s=F(()=>t.testMode?"test-select-id-1234":Ut()),a=F(()=>t.testMode?"test-select-input-id-1234":Ut()),o=F(()=>t.testMode?"test-select-text-id-1234":Ut()),l=j([]),u=j(!1),c=j(!1),h=j(null),d=F({get(){return t.modelValue},set($){const te=l.value.filter(pe=>pe.value===$);te.length?D(te[0]):$||R()}}),f=F(()=>t.autosuggest?!0:t.enableFiltering!==null?t.appearance==="button"?!1:t.enableFiltering:t.appearance==="dropdown"),p=F(()=>{let $="";return t.width?$=t.width:($="205",t.appearance==="button"&&($="230")),$O($)}),g=F(()=>({width:p.value})),v=F(()=>{const $={...r};return delete $.class,$}),y=F(()=>({...Yg,...t.kpopAttributes,popoverClasses:`${Yg.popoverClasses} ${t.kpopAttributes.popoverClasses} k-select-pop-${t.appearance}`,width:String(_e.value),maxWidth:String(_e.value),maxHeight:String(t.dropdownMaxHeight),disabled:r.disabled!==void 0&&String(r.disabled)!=="false"||r.readonly!==void 0&&String(r.readonly)!=="false"})),m=F(()=>({...y.value})),w=F(()=>t.autosuggest?l.value:t.filterFunc({items:l.value,query:i.value})),C=F(()=>t.placeholder?t.placeholder:r.placeholder?r.placeholder:t.appearance==="button"||!f.value?"Select an item":"Filter..."),P=F(()=>t.buttonText&&n.value?t.buttonText:n.value?n.value.label:C.value),T=F(()=>t.appearance==="select"&&t.clearable&&!!n.value),V=$=>{if(!f.value)return $.preventDefault(),!1},D=$=>{l.value.forEach(te=>{var pe,Te;te.key===$.key?(te.selected=!0,te.key=(pe=te==null?void 0:te.key)!=null&&pe.includes("-selected")?te.key:`${te.key}-selected`,te.key+="-selected",n.value=te):te.selected?(te.selected=!1,te.key=(Te=te==null?void 0:te.key)==null?void 0:Te.replace(/-selected/gi,"")):te.selected=!1}),i.value=t.appearance==="dropdown"?"":$.label,e("selected",$),e("input",$.value),e("change",$),e("update:modelValue",$.value)},R=()=>{l.value.forEach($=>{var te;$.selected=!1,$.key=(te=$==null?void 0:$.key)==null?void 0:te.replace(/-selected/gi,"")}),n.value=null,t.appearance==="select"&&(i.value=""),e("input",null),e("change",null),e("update:modelValue",null)},Q=($,te)=>{if($.keyCode===27){te.value=!1;return}const pe=document.getElementById(o.value);!te.value&&pe&&pe.click()},ge=$=>{i.value=$,e("query-change",$)},H=()=>{c.value=!0,u.value||(u.value=!0,e("query-change",""))},q=()=>{c.value=!1};Ye(d,($,te)=>{if($!==te){const pe=l.value.filter(Te=>Te.value===$);pe.length?D(pe[0]):$||R()}}),Ye(()=>t.items,($,te)=>{var pe,Te,Je;if(JSON.stringify($)!==JSON.stringify(te)){l.value=JSON.parse(JSON.stringify(t.items));for(let Ce=0;Ce{h.value.updatePopper()})}},{deep:!0,immediate:!0});const _e=j(0);return{filterStr:i,selectedItem:n,selectId:s,selectInputId:a,selectTextId:o,selectItems:l,modifiedAttrs:v,popper:h,boundKPopAttributes:m,widthValue:p,widthStyle:g,filteredItems:w,placeholderText:C,selectButtonText:P,isClearVisible:T,handleItemSelect:D,clearSelection:R,triggerFocus:Q,inputWidth:_e,filterIsEnabled:f,onInputKeypress:V,onQueryChange:ge,onInputFocus:H,onInputBlur:q,onPopoverOpen:()=>{const $=document.getElementById(a.value);$&&(_e.value=$.offsetWidth)}}}}),LO=["id"],FO={class:"selected-item-label"},RO=["id"],VO=["id"],NO={key:1,class:"k-select-list ma-0 pa-0"};function jO(t,r,e,i,n,s){const a=be("KLabel"),o=be("KIcon"),l=be("KButton"),u=be("KInput"),c=be("KSelectItem"),h=be("KPop"),d=be("KToggle");return S(),I("div",{style:cr(t.widthStyle),class:ce(["k-select",[t.$attrs.class]])},[t.label&&!t.overlayLabel?(S(),fe(a,Et({key:0,for:t.selectId},t.labelAttributes,{"data-testid":"k-select-label"}),{default:se(()=>[ue(re(t.label),1)]),_:1},16,["for"])):ne("",!0),E("div",{id:t.selectId,"data-testid":"k-select-selected-item"},[t.selectedItem&&t.appearance==="dropdown"?(S(),I("div",{key:0,class:ce(["k-select-item-selection px-3 py-1",{"overlay-label-item-selection":t.overlayLabel}])},[E("div",FO,re(t.selectedItem.label),1),E("button",{class:"clear-selection-icon cursor-pointer non-visual-button",onClick:r[0]||(r[0]=(...f)=>t.clearSelection&&t.clearSelection(...f)),onKeyup:r[1]||(r[1]=$i((...f)=>t.clearSelection&&t.clearSelection(...f),["enter"]))},[Z(o,{color:"var(--blue-200)",icon:"clear"})],32)],2)):ne("",!0),Z(d,null,{default:se(({toggle:f,isToggled:p})=>[Z(h,Et({ref:"popper"},t.boundKPopAttributes,{"on-popover-click":()=>(f(),p.value),"position-fixed":t.positionFixed,"test-mode":!!t.testMode||void 0,target:`[id='${t.selectInputId}']`,onOpened:()=>{t.filterStr="",f(),t.onPopoverOpen()},onClosed:()=>{t.selectedItem&&t.appearance==="select"&&(t.filterStr=t.selectedItem.label),p.value&&f()}}),{content:se(()=>[t.autosuggest&&t.loading?de(t.$slots,"loading",{key:0},()=>[Z(o,{class:"k-select-loading","data-testid":"k-select-loading",icon:"spinner"})],!0):(S(),I("div",NO,[(S(!0),I(Ue,null,Rt(t.filteredItems,g=>(S(),fe(c,{key:g.key,item:g,onSelected:t.handleItemSelect},{content:se(()=>[de(t.$slots,"item-template",{item:g,class:"select-item-label select-item-desc"},void 0,!0)]),_:2},1032,["item","onSelected"]))),128)),!t.filteredItems.length&&!t.$slots.empty?(S(),fe(c,{key:"k-select-empty-state",item:{label:"No results",value:"no_results"},class:"k-select-empty-item"})):ne("",!0)])),!t.loading&&!t.filteredItems.length?de(t.$slots,"empty",{key:2},void 0,!0):ne("",!0)]),default:se(()=>[t.appearance==="button"?(S(),I("div",{key:0,id:t.selectInputId,class:"k-select-button","data-testid":"k-select-input",style:{position:"relative"},role:"listbox"},[Z(l,Et({id:t.selectTextId,style:t.widthStyle,"show-caret":"","is-rounded":!1},t.modifiedAttrs,{appearance:"btn-link",onKeyup:g=>t.triggerFocus(g,p)}),{default:se(()=>[ue(re(t.selectButtonText),1)]),_:2},1040,["id","style","onKeyup"])],8,RO)):(S(),I("div",{key:1,id:t.selectInputId,class:ce({"k-select-input":t.appearance==="select","no-filter":!t.filterIsEnabled}),"data-testid":"k-select-input",style:{position:"relative"},role:"listbox",onClick:r[2]||(r[2]=g=>{t.$attrs.disabled!==void 0&&String(t.$attrs.disabled)!=="false"&&g.stopPropagation()})},[t.isClearVisible?(S(),fe(l,{key:0,class:ce([{"overlay-label-clear":t.overlayLabel},"clear-selection-icon cursor-pointer non-visual-button"]),onClick:t.clearSelection,onKeyup:$i(t.clearSelection,["enter"])},{default:se(()=>[Z(o,{icon:"clear",color:"var(--grey-500)",size:"18"})]),_:1},8,["class","onClick","onKeyup"])):ne("",!0),t.appearance==="select"?(S(),fe(o,{key:1,icon:"chevronDown",color:"var(--grey-500)",size:"18",class:ce({"overlay-label-chevron":t.overlayLabel})},null,8,["class"])):ne("",!0),Z(u,Et({id:t.selectTextId},t.modifiedAttrs,{"model-value":t.filterStr,label:t.label&&t.overlayLabel?t.label:void 0,"overlay-label":t.overlayLabel,placeholder:t.selectedItem&&t.appearance==="select"&&!t.filterIsEnabled?t.selectedItem.label:t.placeholderText,autocomplete:"off",autocapitalize:"off",class:[{"cursor-default prevent-pointer-events":!t.filterIsEnabled,"input-placeholder-dark has-chevron":t.appearance==="select","has-clear":t.isClearVisible},"k-select-input"],onKeypress:t.onInputKeypress,onKeyup:g=>t.triggerFocus(g,p),"onUpdate:modelValue":t.onQueryChange,onFocus:t.onInputFocus,onBlur:t.onInputBlur}),null,16,["id","model-value","label","overlay-label","placeholder","class","onKeypress","onKeyup","onUpdate:modelValue","onFocus","onBlur"])],10,VO))]),_:2},1040,["on-popover-click","position-fixed","test-mode","target","onOpened","onClosed"])]),_:3})],8,LO)],6)}var HO=ze(BO,[["render",jO],["__scopeId","data-v-7c5ccacc"]]);const zO=ae({name:"PaginationOffset",components:{KIcon:Xe},props:{prevButtonDisabled:{type:Boolean,default:!1},nextButtonDisabled:{type:Boolean,default:!1},testMode:{type:Boolean,default:!1}},emits:["getPrevOffset","getNextOffset"],setup(t,{emit:r}){return{getPrevOffset:()=>{t.prevButtonDisabled||r("getPrevOffset")},getNextOffset:()=>{t.nextButtonDisabled||r("getNextOffset")}}}}),UO={class:"pagination-offset-button-container mb-0 pa-0"};function KO(t,r,e,i,n,s){const a=be("KIcon"),o=be("KButton");return S(),I("div",UO,[Z(o,{class:ce([{disabled:t.prevButtonDisabled},"pagination-button"]),"data-testid":"prev-btn","aria-label":"Go to the previous page",onClick:pr(t.getPrevOffset,["prevent"])},{icon:se(()=>[Z(a,{color:t.prevButtonDisabled?"var(--grey-500)":"var(--blue-400)",icon:"arrowLeft",size:"16","view-box":"0 0 16 16"},null,8,["color"])]),_:1},8,["class","onClick"]),Z(o,{class:ce([{disabled:t.nextButtonDisabled},"pagination-button"]),"data-testid":"next-btn","aria-label":"Go to the next page",onClick:pr(t.getNextOffset,["prevent"])},{icon:se(()=>[Z(a,{color:t.nextButtonDisabled?"var(--grey-500)":"var(--blue-400)",icon:"arrowRight",size:"16","view-box":"0 0 16 16"},null,8,["color"])]),_:1},8,["class","onClick"])])}var WO=ze(zO,[["render",KO],["__scopeId","data-v-16e16c5e"]]);const YO=ae({name:"KPagination",components:{KIcon:Xe,KSelect:HO,PaginationOffset:WO},props:{items:{type:Array,default:()=>[]},totalCount:{type:Number,default:0},pageSizes:{type:Array,default:()=>[15,30,50,75,100],validator:t=>!!t.length&&t.every(r=>typeof r=="number")},initialPageSize:{type:Number,default:null},neighbors:{type:Number,default:1},searchTriggered:{type:Boolean,default:!1},currentPage:{type:Number,default:null},disablePageJump:{type:Boolean,default:!1},paginationType:{type:String,default:"default",validator:t=>["default","offset"].includes(t)},offsetPrevButtonDisabled:{type:Boolean,default:!1},offsetNextButtonDisabled:{type:Boolean,default:!1},testMode:{type:Boolean,default:!1}},emits:["pageChanged","pageSizeChanged","getNextOffset","getPrevOffset"],setup(t,{emit:r}){const e=j(t.currentPage?t.currentPage:1),i=j(t.initialPageSize?t.initialPageSize:t.pageSizes[0]),n=j(Math.ceil(t.totalCount/i.value)),s=t.pageSizes.map((R,Q)=>({label:`${R}`,key:`size-${Q}`,value:R})),a=j(""),o=(R,Q,ge,H)=>{if(t.disablePageJump)return 0;let q=[...Array(Q).keys()].map(we=>we+1);const _e=5+2*t.neighbors;return q.length<=_e||(ge?ge&&H?q=q.filter(we=>we>R-t.neighbors-1&&wewe>Q-t.neighbors*2-3)):q=q.filter(we=>we<=t.neighbors*2+3)),q},l=j(e.value===1),u=j(e.value===n.value),c=F(()=>(e.value-1)*i.value+1),h=F(()=>{const R=c.value-1+i.value;return R>t.totalCount?t.totalCount:R}),d=F(()=>`${c.value} to ${h.value}`),f=F(()=>` of ${t.totalCount}`),p=F(()=>t.currentPage?t.currentPage:e.value),g=j(!1),v=j(n.value>5+2*t.neighbors),y=j(o(p.value,n.value,!1,n.value>5+2*t.neighbors)),m=()=>{u.value||(e.value++,P())},w=()=>{l.value||(e.value--,P())},C=R=>{e.value=R,P()},P=()=>{const R=(e.value-1)*i.value+i.value;u.value=R>=t.totalCount,l.value=e.value===1;const Q=5+2*t.neighbors;n.value<=Q?(g.value=!1,v.value=!1):(g.value=e.value>=t.neighbors+4,v.value=e.value<=n.value-t.neighbors-3),y.value=o(e.value,n.value,g.value,v.value),r("pageChanged",{page:e.value,pageCount:n.value,firstItem:c.value,lastItem:h.value,visibleItems:t.items.slice(c.value-1,h.value)})},T=R=>{i.value=R.value,a.value=i.value+" items per page",n.value=Math.ceil(t.totalCount/i.value),r("pageSizeChanged",{pageSize:i.value,pageCount:n.value}),t.currentPage!==1&&C(1)},V=()=>{r("getNextOffset")},D=()=>{r("getPrevOffset")};return Ye(()=>t.currentPage,(R,Q)=>{R!==Q&&C(R)}),{kpopAttrs:{placement:"top"},currentPageSize:i,pageCount:n,pageSizeOptions:s,backDisabled:l,forwardDisabled:u,pageSizeText:a,pagesVisible:y,firstDetached:g,lastDetached:v,startCount:c,endCount:h,pagesString:d,pageCountString:f,currentlySelectedPage:p,pageForward:m,pageBack:w,changePage:C,updatePage:P,updatePageSize:T,getNextOffset:V,getPrevOffset:D}}}),GO={"aria-label":"Pagination Navigation","data-testid":"k-pagination-container"},ZO={class:"card-pagination-bar"},qO={class:"pagination-text","data-testid":"visible-items"},QO={class:"pagination-text-pages"},XO={class:"pagination-button-container"},JO={key:0,class:"pagination-button","data-testid":"page-1-btn"},ek={key:1,class:"pagination-button placeholder"},tk=["data-testid"],rk=["aria-label","aria-current","onClick"],ik={key:2,class:"pagination-button placeholder"},nk={key:3,class:"pagination-button"},sk={class:"page-size-select","data-testid":"page-size-dropdown"};function ak(t,r,e,i,n,s){const a=be("KIcon"),o=be("PaginationOffset"),l=be("KSelect");return S(),I("nav",GO,[E("div",ZO,[t.paginationType==="default"?(S(),I(Ue,{key:0},[E("span",qO,[E("span",QO,re(t.pagesString),1),ue(" "+re(t.pageCountString),1)]),E("ul",XO,[E("li",{class:ce([{disabled:t.backDisabled},"pagination-button square"]),"data-testid":"prev-btn"},[E("a",{href:"#","aria-label":"Go to the previous page",onClick:r[0]||(r[0]=pr((...u)=>t.pageBack&&t.pageBack(...u),["prevent"]))},[Z(a,{color:t.backDisabled?"var(--KPaginationDisabledColor, var(--grey-500))":"var(--KPaginationColor, var(--blue-400))",icon:"arrowLeft",size:"16","view-box":"0 0 16 14"},null,8,["color"])])],2),!t.disablePageJump&&t.firstDetached?(S(),I("li",JO,[E("a",{href:"#","aria-label":"Go to the first page",onClick:r[1]||(r[1]=pr(u=>t.changePage(1),["prevent"]))},"1")])):ne("",!0),!t.disablePageJump&&t.firstDetached?(S(),I("li",ek," ... ")):ne("",!0),(S(!0),I(Ue,null,Rt(t.pagesVisible,u=>(S(),I("li",{key:u,class:ce([{active:u==t.currentlySelectedPage},"pagination-button"]),"data-testid":`page-${u}-btn`},[E("a",{"aria-label":`Go to page ${u}`,"aria-current":u==t.currentlySelectedPage&&"page"||void 0,href:"#",onClick:pr(c=>t.changePage(u),["prevent"])},re(u),9,rk)],10,tk))),128)),!t.disablePageJump&&t.lastDetached?(S(),I("li",ik," ... ")):ne("",!0),!t.disablePageJump&&t.lastDetached?(S(),I("li",nk,[E("a",{href:"#","aria-label":"Go to the last page","data-testid":"last-btn",onClick:r[2]||(r[2]=pr(u=>t.changePage(t.pageCount),["prevent"]))},re(t.pageCount),1)])):ne("",!0),E("li",{class:ce([{disabled:t.forwardDisabled},"pagination-button square"]),"data-testid":"next-btn"},[E("a",{href:"#","aria-label":"Go to the next page",onClick:r[3]||(r[3]=pr((...u)=>t.pageForward&&t.pageForward(...u),["prevent"]))},[Z(a,{color:t.forwardDisabled?"var(--KPaginationDisabledColor, var(--grey-500))":"var(--KPaginationColor, var(--blue-400))",icon:"arrowRight",size:"16","view-box":"0 0 16 14"},null,8,["color"])])],2)])],64)):(S(),fe(o,{key:1,"prev-button-disabled":t.offsetPrevButtonDisabled,"next-button-disabled":t.offsetNextButtonDisabled,onGetPrevOffset:t.getPrevOffset,onGetNextOffset:t.getNextOffset},null,8,["prev-button-disabled","next-button-disabled","onGetPrevOffset","onGetNextOffset"])),E("span",sk,[Z(l,{placeholder:`${t.currentPageSize} items per page`,items:t.pageSizeOptions,"test-mode":!!t.testMode||void 0,"button-text":t.pageSizeText,"kpop-attributes":t.kpopAttrs,"position-fixed":"",width:"205",appearance:"button",onSelected:t.updatePageSize},null,8,["placeholder","items","test-mode","button-text","kpop-attributes","onSelected"])])])])}var E1=ze(YO,[["render",ak],["__scopeId","data-v-d0aae7b2"]]);const ok=ae({name:"KSkeletonBox",props:{width:{type:String,default:"1",validator:function(t){return["1","2","5","6","10","25","50","75","100"].includes(t)}},height:{type:String,default:"1",validator:t=>["1","2"].includes(t)}}});function lk(t,r,e,i,n,s){return S(),I("div",{class:ce([{[`width-${t.width}`]:!0,[`height-${t.height}`]:!0},"box mr-1"])},null,2)}var wo=ze(ok,[["render",lk],["__scopeId","data-v-2ffc7dea"]]);const uk=ae({name:"SkeletonBase",components:{KSkeletonBox:wo}}),ck={class:"skeleton-loader"};function hk(t,r,e,i,n,s){const a=be("KSkeletonBox");return S(),I("div",ck,[de(t.$slots,"default",{},()=>[Z(a,{width:"100",height:"1"}),Z(a,{width:"100",height:"1"}),Z(a,{width:"75",height:"1"})],!0)])}var dk=ze(uk,[["render",hk],["__scopeId","data-v-2f46a0c1"]]);const fk=ae({name:"CardSkeleton",components:{KSkeletonBox:wo},props:{cardCount:{type:Number,default:1}}}),pk=t=>(Nr("data-v-d7916644"),t=t(),jr(),t),gk={class:"skeleton-card-wrapper"},vk={class:"skeleton-card"},mk={class:"skeleton-card-header"},yk=pk(()=>E("hr",{class:"mb-0"},null,-1)),bk={class:"skeleton-card-content"},_k={class:"skeleton-card-footer"};function wk(t,r,e,i,n,s){const a=be("KSkeletonBox");return S(),I("div",gk,[(S(!0),I(Ue,null,Rt(t.cardCount,o=>(S(),I("div",{key:o,class:"skeleton-card-column"},[E("div",vk,[E("div",mk,[de(t.$slots,"card-header",{},()=>[Z(a,{height:"2",width:"25"}),Z(a,{class:"ml-2",width:"75",height:"2"}),yk],!0)]),E("div",bk,[de(t.$slots,"card-content",{},()=>[Z(a,{width:"10"})],!0)]),E("div",_k,[de(t.$slots,"card-footer",{},()=>[Z(a,{width:"5"}),Z(a,{width:"5"})],!0)])])]))),128))])}var Sk=ze(fk,[["render",wk],["__scopeId","data-v-d7916644"]]);const Pk=ae({name:"TableSkeleton",components:{KSkeletonBox:wo},props:{rows:{type:Number,default:6},columns:{type:Number,default:6}},setup(){return{calcWidth:(r,e)=>[3,4].indexOf(r)===-1&&r!==e?"10":[3,4].indexOf(r)>-1||r===e?"6":""}}}),Ck={class:"skeleton-table-wrapper"};function Ok(t,r,e,i,n,s){const a=be("KSkeletonBox");return S(),I("div",Ck,[(S(!0),I(Ue,null,Rt(t.rows,o=>(S(),I("div",{key:o,class:"skeleton-table-row"},[de(t.$slots,"default",{},()=>[(S(!0),I(Ue,null,Rt(t.columns,l=>(S(),fe(a,{key:l,width:t.calcWidth(l,t.columns),class:ce({"mr-6":l!==t.columns,"w-100":l===t.columns,"skeleton-cell":!0})},null,8,["width","class"]))),128))],!0)]))),128))])}var kk=ze(Pk,[["render",Ok],["__scopeId","data-v-84f8bae6"]]);const Ek=ae({name:"FormSkeleton",components:{KSkeletonBox:wo}}),Tk={class:"skeleton-form-wrapper"},xk={class:"skeleton-form-row"},Dk={class:"skeleton-form-row"},Ik={class:"skeleton-form-row"},Mk={class:"skeleton-form-row"};function Ak(t,r,e,i,n,s){const a=be("KSkeletonBox");return S(),I("div",Tk,[E("div",xk,[Z(a,{width:"10",height:"1"}),Z(a,{width:"100",height:"2"})]),E("div",Dk,[Z(a,{width:"10",height:"1"}),Z(a,{width:"100",height:"2"})]),E("div",Ik,[Z(a,{width:"10",height:"1"}),Z(a,{width:"100",height:"2"})]),E("div",Mk,[Z(a,{width:"10",height:"1"}),Z(a,{width:"100",height:"2"})])])}var $k=ze(Ek,[["render",Ak],["__scopeId","data-v-11e4f5bf"]]),Bk="data:image/gif;base64,R0lGODlhtwC3APf+AB9Uef7+/k94lQVAafn6+/z9/QM+aAI+Z9/n7Pv8/fX3+fb4+gtEbQQ/aF+Fn/L19whCa/f5+v39/uzw9A5HbgE9ZwdBahtRdhdOdOnu8jVlhkBtjHWVrLbH0y9ggluCnd3l6x5TeAxFbRBIcPP2+HuasDBhgxNLcSVYfOrv8vH098PR2+ft8ejt8RFJcEVxj2OIoeXr76G3x4aitlqBnNni6A9Hb+bs8G+Rqe/z9drj6YKftO3x9NHc4xhOdPj6+9Xf5sXT3Km9y6u/zRlPdWGGoDFhg0hzkfr7/AZBamuOpoWitlmAmyZZfbvL1jloiCFVeglDa9jh6KK4x9Ld5L/O2b3N18/a4nmZr0NvjlR8mBZNcyJWeiNXexxRd6/Cz8jV3p61xbXG0zdmh6W6yaS5yIejt8zY4ERwj2aKo0dykWiMpMfU3SdafShbfj5ri87a4gpEbODn7Jmxwn+dsg1GbuLp7kFujY6puxRLchJKcdPd5ZOsvsbT3fD09ipcf42ou+Tq74Ces2eLpJGrvaO5yOPq7m2Pp9vj6XGSqlN7mMrW3ylbf1Z+mrrK1qi8y1B5ltTe5cDP2RVMc97m65evwa3AzjtpiSxegLPF0YOgtXiYrlJ7l520xM3Z4YumuZ+2xX2csbHD0Fh/mzhniMnW3013lDJihLzM12mMpdfg567BzrLE0R1Sdz9sjOvw8+Ho7TZlhi5fgiBUeY+pvEx2lKe8yrDD0Kq+zEt1k4mluEJujjpoiVd/mpWuvytdgKC2xpqywl2DnlF6l3qZr6zAzVyCnT1ri26QqMvX4PT3+IqmuZavwKa7yjxqitzk6tbg5neXrSRYfJiwwbnJ1TRkhTNjhWqNpnKTqrfI1JKsvnaWrZStv2WJo7TG0oGfs8LQ2lV9mYShtS1egb7N2Juzw3SVrLjJ1NDb44ikuGSIomyPp3OUq0p1kkl0kkZykMHQ2nybsH6cspyzxO7y9WCFoBpQdpCqvIynusTS3HCSqWKHoQA8Zv///////wAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQwIDc5LjE2MDQ1MSwgMjAxNy8wNS8wNi0wMTowODoyMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo3ZjIxZWJkYy04MzJhLTQwZjEtYWZlMy1lMjZhNzM4ZGY5YTMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NjNGMkExNzA5QzQ2MTFFOThCRTFFOEI2M0M2NTQ0NUIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NjNGMkExNkY5QzQ2MTFFOThCRTFFOEI2M0M2NTQ0NUIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoyN2YyODg3Yi1jY2Y3LTQxODItYjE3YS0xMTY4NjU4MjI5ZDgiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6N2YyMWViZGMtODMyYS00MGYxLWFmZTMtZTI2YTczOGRmOWEzIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEBQoA/gAsAAAAALcAtwAACP8A+wkcSLCgwYMIEypcyLChw4cQI0qcSLGixYsYM2rcyLGjx48gQ4ocSbKkyZMoU6pcybKly5cwY8qcSbOmzZs4c+rcybOnz59AgwodSrSo0aNIkypdyrSp06dQo0qdSrWq1atYs2rdyrWr169gw4odS7as0zB/zDpNxI+f2qZt3fbjUOBtUVUC4+bNMsGu0A428rYVDMAv0E8H5Ortt9hwz8WQB/fDkcDxzRuCFUuG/KaFZZrJ7GUezXgzPy+fZZKBoLk16capXUZ2XZr2GgKxU6p4bZo2ZFKYc5d8xoi3796CfQgnicrF8efGl480gLx2dOvYi0SQ7nH2de/Y+VX/s8OdI/jz1SNPKr8RPfTw1dljdP89vWQaCuRXpA//PWQPCOg3EX8E2ueCgBIV6J99cgWA4EILRlifXIqQ8GBCEvY34Wu/6HDhQRkqWJ8zHxpUWD8ApChQiieKqGF4XaRQYoIMbogdF4bMKFFiIdbYDyI6SqSNjy4GOdEaPb63nZEQJZCFjfwhUyILDjggUJVW9oOlQN3kUBA9UBLZwYdFEJlFZQa5eJ4PMj5YAZH8rHFQA3AuWMuFRRJUSZ02IpgnQTgkeZ18P4QpVyQFFXCEoYOytwyjKGZQkB+QgsdeBhRUykuhafL5IntpCFraBwcN4Kml3PWQWKWSFRTGqfFx/4cGrLQZxIGosEmnZnXJJHrni/yVtyttPuRIkIXA+igsra8ZoQyIzErXV7I9QnKQBbBiwd01rL5XUBmeQkAGd5EY0G2jBGGR4SLlHYGrj/AUFAAnfXLXQbT8nfBMQfklS4N8buBLpBtedkrbAWboN2yYLxwURXWsCLgwtaQV9EisCgucoUGCaLYBnhrbOCZBAYyS1xpIXGjquxlSAERBCwjETInAhEwxY7O0yaRA0bAc5iVBriCvtTdPnKuAdfVzAiX8nlt0qwgqIEBef1BqsNP8FSPgDadotqhBD/t8cxRn6BcCxgINYTOBRAQiH6oELSF2gUZwF8x1TshrDNae5v8WwDbvjSBFQZwa3XdsWhCJAg/Qzu2jDLEVeMdBdazt4wBCG4bX03IV1MGqnFe6tF/kjACpQYQ4vqAbdgFjKqTeGCRn6LQfPdbEdexREJqGbzwWbrVvBoCkVwefITdiTUCi8YLxcpAelr93wDlg6YCC6gdJ8jrzRVMAzVcnRI9QJ9gnO0tVVaQvUPpV8E3bKra6X29UvdsYhScFSSD/zVPVX/QFMWjc/sCTMKdQYYBwssZBfCA+YMGPKTnoAgJ9N5BSPGyCr7nfUgJQi/L9aSAXwyB8RKOUHTTQReMqyA5ECDej8IiFPrIAG+QFQ9o46Cj+M9oW5CBA7vFHW0SJmQ//LSeLgwDghOmZAlGylEObFYQKIvBgejAnlD3V8HQF8cYBrliaPAQFDNtrotjmYRA8cNF2OrkAEsU2AEkgRIzXSRpP4DhExehhX8Wj42LW4RM9Wo51BmnCGl/jC53g4oxOJIgOnHNGA1ADJ0AQASLf9QuEkGMAiAyMTR7QBil68AClSMjd6jg/mQxjkKRkDDsa4kfaAE8mrdyfNPoFIVQuJkuwtKXNyOEQWehSMQV0CXlSGUuIwAIDnnxNBR7Ikh9oYJJOgwgbIIDIOLhEHckkJtQe0gxosoR82Wziv/bzS4HQ8iTYCufa8qCzAZWzH1q44UmKmcNuWmQM7+QHMVJC/0/JsGhFKkJRQP8p0BON0yIsOBsiC4GSfnZOJuiQpDaPk4SG6lKBNYnYRNE1Enq6gGk4cahAdkMSesYuJyLtxxHkGJJi7lMnG8jnIUqKSpb2wxtT64cAdiqQnebUpz3lqU6FmhEeXO+MdaBpNguiAxuIrZ0VkYLpNhoeNCgVgQ04yC9stgE0XcQKZ3ypSPxoxjziCwfmsaVGx3pCRciTIE1Uokbo6ZmONhAFD3ij5aipkXag8kR2Ld8B9Vq+jDwAE9nsRUnoqBA6etUictiCCMsa2P0pxBgNRGtG+iDCICzWctVgSArCN0C5zrWBQqysD10QIIbIwIMQKNtpC/vZudOJ4SHvQGAINtKIBprEf/GACEgZixEFaIC2V+WeTR1CXIzcoBWWrW003Vk+014EDtFN7q6yWhHqlC+2aRXbbwVGC4sAzoMhgKpF/DdeXGnhIgrgghQ/phFkile6tGtCXi+CWQR6cbbT1a6nBnuRWEiRA+0RmATnGS2NjECKQAJw8JhgUVFlZAIn3EV4WaWNCofJAxthwwmHsOHggcHD3cNjRqbQQAykLMG4SgKndkbjGtv4xjjOsY53zOMe+/jHQA6ykIdM5CIb+chITrKSl8xkqgQEACH5BAUKAP4ALA4AHACTAIYAAAj/APsJHEiwoMGDCBMqXMiwocOHECNKnEix4sIXPCxq3Mixo8VXAvlB6eGxpMmTHa8ACMkvDsqXMGMmFBKHH0ub/QrI3MmzJL+fNwXuStGzqNGHKoL2+4mTX4gzR6NKJVijjVKmLCFM3WpUjI2mQJeGxdoPCdezMA+MXQsW55sWaONyVHCV7dULYOTqnSjHSN22dZPsHexQ0iTAYhGTJUuAsOODA+wm/quU1I3HmClP3rx4rI8+mQcP0dxZ8doBofWqIEJacmmlP1KfVWK6dmucGuzInrqogm3Orl1vkbQ7qpHgv18Db1D8qPLnyDUvaM4TevLom0/JoS7T+u3vS0+g/+J+0hJ478BNHyBfUsWF89jRk1XGfiObXPCv6xe4o75HMkpokN+Am+nk30mfhPNeegQqd+BOHDgTRYPBvfBgUXQxqOFzFkxwYUUOABJERPLFx08qH1JE1iFkgMBQiful+FBjGi6BygMHwQiejAwVoEVr6xkkjIkxBsCjQofE6AhBMTAQI3rcHInQEkQKhEkCBInzJHYQACGlQTouxQxBC6y0YZVLeUDjlw3mkQNBj1BoGgJslkIhDgQZeeaWdEqpQx4UMgcmmtD1ySMLUGyJWEFhFiqlCYRKVpAIkc4pZaOSYTnQDJXWZeiFemKKGB8ERTCLop7KqI+cSrmQ0UC4oP8K3KcHfiLrc4cU5AqrSy2h54NldLqhAdAQdAWvq8gY2a3BHZGjsDyKuiNBmAp4pLR7PvvkKNNdKyx6BXGBJh2/Rvstdh4O9AWabPbjG7O/XVPQHdex1m4/MJz7mwGRENRDkM8ZYci9/dzgJK/PWUhQGpopkiHBO8DbmigEZaBZuTx2MOZACiyILXQoaMuSBQSLcMKbA8mAMHaMjoUBGwT/xA5BEqz8W8s4tQFLu0mJhdqgEmtYEBphIdJuICYohbPNSpE0EBUG4NTuFV4sStCyTG92R0FrSM0mpYiVi4y+pH1B0ASaxCwZGQTxMELQz3WxZrsSmKMZAN0KhAfcwS3/Q7ACnCQ3A0EEdJF1Z3UQHEt8dVg8UDGHS8pmiYOInO3lZElpBXwGWP6x5DKC8nOYS2OOpnkpxgMtQRCQrSEUEaSIrYECleD6c4MfmC62cxD0AAZ8KyYCC/7pELLpiGGA40BzBF9XEfWtcALcJRBUACaRg1VBfUncDoFuA1GTvdK7JUBJ5B94fntYmKnCyj0CSdOA85uV/jlieQ92/7QD7a+hOI/xH7gIUof1IYYBMdhLzZDHq7lxin6LccBeKMbACpIFD2QCAATHUgE7yeUS49PQCF4lEDJsECxPkEsQTkgaZOQpFiHM3FmGwcINDaAGBFlBDNnHFSn4ZoemgYT6/+h3lm4YkED2O2I/BrYVCyiRdNR6YlhowBUBrm4gepBiU2A2FSvK6mH90IYWQzIGjBXFiwTqz0AS0IQa/qQMR9EUGivIgMsMRBRu5MeCigJHCz4RBgXZABCP4oFBYq4CThMIHAzZE2rkcUtZGGLWekI0Q0Kxf2Psx4hkAodMYiuJ9NOAGU3CBE9eUSBE8CQoZBK1RyKRIGHwJBFIEJM5+q8gEvBAHolRS1NuiQEIsUIetQITW56LFgmpBSNL0i1j3ooUCzyIFJbpkd75sYZJKNaLMhlNjhxvjgAIp0DCaSZyjlOc/TBnP3ThEGcKpBM+CaFR3NkP5XmkhkZJlBs3cf9PeRYlVm60wPk4gs+iBIAXeeRERzYYpKOAIY/AJGjk3EAQkPRDABgVCEYFoNGMXtSjG3XIKHZ4jIVGjgkEWdI1HdInY9pNoisFjt8G8glePcSYcYKpFVUqkPTF9KZSdJFO12dRK/EKLg2xJaBMGtPFeIEgP+hcTMPgkD880VlMFaApCOKJoAmxIWJ4Yij62dSxjHUgseQVA2LXkBdA0BtkFWCyBjI2hInBIVQA2O2QOlS4feoNcEORQ9SRtVbEs6w4GUFBvoKwpzqEeIgVyI/i6rqtDQQB6zsWRPyXjsP6LxEEucX6BEEi122OskGbAkEEsb5qlDZoy8uq6/ZAEBp0EtEh1nCdSeinKYGI67YNgYduPTtcTAK3IZAI2m4nGcXjMmRINiWucpvL3IYEAHjRRW12/dmQTk5Xu37kgiR/6hAzFFe2t7KAJwiSjMjtIiIbOG9fGzQNmsEwsmIRQkSwRl7whskYBekABCcxt6SeSwQbCQgAIfkEBQoA/gAsFQAdAHkAhQAACP8A+wkcSLCgwYMIEypcyPDgA4EJGkqcSLGixYsEY5gQuCEDxo8gQ4okGKkVP4H8vCwaybKly4MU+J3sJ9PCy5s4Q8qcuVMggZxAgyLUhFJm0ZmkAgldCjQBDJ5GaUblh2EF06su1UzdCrUB1q8ie0qFSlbgArBoJUY6ynZs21MI0spFaIVCW7F4p+pxMrevwCkDyrodnPeA3755BSduS+Iw2sWEubb9VcMxU4+RFUsmbIOVZaEf7m6GDPkzTieaU4sWnMO0ywVdVGde3VbaHtcssYzeLRsvAyG4RTbgTXu28eAfSRM3DnkC8ovKey8XG+LMc4ksikfXPhoCqOsMHXD/l06+LfiEP/u1izm+PfOo5xkWuCJw0vT7suNTVBXM/fbIa+j3kRyFpOHfdDQUIGBBKWRXER/4FYdBegsO5AE/XQhUWUOGRMjcEhUShNcWigikIEJIeEhaAyuFaBwDL+yA0BblvYdChd+4N8YzBI1T43/6AfNjJgRpdWB+51kRmH/TEFTEj8sZcl5MPwpC0CZQyrbLef/hNQhBEB6p3XMPvaeYKQQNkeWYwSWghpg0aUBQEGsyh9xTcPJzAUEg1ElacJqoOFUDAQwUgZ+jBdflbi0QNEKeieK2qGY9EOQGpIqZBgSmRWVDUBacEvbZDSGEKlMnBNFgalRzWEaCEYhC/zUDQRysOtNnRwiqmRIEAbKqLK5Nyl2JA9li6jCNmSbse08QVEWooRQarK6iQUGQFKEit6xyNg2U7Lb8lPocuEgOtC0vjY5L7XEielgEhdquW1q7NcZHbnEFLfqofveya+50bWyInLQCMSDvZvku94Qf4G06UBMHC5awbLeB5whBx0RsHr34PjeFQIUQ1IjGg03cMW4B0DGTLgThQLJYJvvr2gdRYUOQGS/Dx3FkG6k70ygEyZDzrTvnZRVuG4q1AUHnDH0QaUwEB44ebbVBEBVOGwRZHEq5VsiSg9k1UAZZxyxWI4qOdtZAw9n69GZ/mJYeaSAQdEGsG/8rWAVlHv/GwxvaBUGQBniXXPRUqDiGCMTaDUFQLYXDfDhPsx52wnS+EJRG5DrrfZcAjnWJBUHycD7TDwQZMJoPcwUgo5kowUBQJaYLFNdAROxmR1oECPPjEQTdUns/fQy+Gy5pbaCiEQSBMbwlBOWyW62Pqcj6QLAMn/lAm2sGOFMFfIFGngec2A8Bw48+kMqaxXGVSYg6KNAJbvcj+0C0l/tSPqrC/h4cBGFE/YA3EFEsBycX4lwHCPKC+nmAIKU44E36lZd5ECQ0/vsPBggSCAm+hIJbAdFAtlG/CkREICnSX0tACJVr9Kp+/IgBQWh0MpewsChaIEgzYNgigchChSy5oVT/mjWQZ2VwOkQaiJFkJpITClEmXCCIKmDYpIE8qYYi8QQM+QEBgqgAhlYaiG6K07WRVGKLRPPcERXzpYGEyTjFaEkR0Pi2yKFpIGoqTjRaErc1usds8pLTQPogm6WN5AEVoKPWXrangfSpOCIwH0jIMTzJqZGChDJUbyoWknRUsnNbTJdAXKCdcoyEE59M4xYrNZBLMacbI7mbIgGJKE8NBFTMAVZIYpA1S24RVQPBIGkMoIyQfKGXoPTjeyonEOopBxwh0U0q67gqXg3EV+9ZRkiygExVKlM5xBKIsd6TQ5BQaZaTgxQRBSIJ7nhBJ92k5je3Yq2BYMt/yYnnIjnX/y2BfMuDFnkiwtI5T28CCSNCBIBCBaJQAMhTiLTMW0BJNhGBGhSgFYGoRCz60IFCh6IbLRtBfZlRkDaEo/vEIkU02hAbiPSSHp1o4dYmECUIAHT9qNtA2vDSPyKUZIggiCuicg6CKG94ETXcRwt3NIEwISoyIMgoeorPnxbuEbSKihkIgo2cGaCjErNqqGhBEFpEBQcE0UXOTkEQSvh0qaEi4UCEEBW0DaQMOUuFDt8q01BhUCCEnMkxCOKInAGjZXwtaeEaOBAERKUJBAFCzu4pkDEkliKBKZwAB4K+mTCAIBN42QgIRoAkXHYilyAZKWfIEwUQJAmRe9NAnMedr/+CpAQviwBBTMATHRAkBJGjA0EIIZ2efQQ1kdOpQNzBk6b2YwyRW+BAnsqdNn5EAWCjoOC4xxPgDEQAkXPOQLggnTCIJLWm8q5ABMETQhBkDYW70UBScB+H3TZy7h1IMHiyCYJ8o3DGIEgmpkMBCYgENabq70A6wJN6EGQOheMGQXDbm/GJBLumEs9A0MET2QpkwKFKBkHQMB1isOQSpnoHQeiLEg0LhMGhQgJBzskcz4ykBKa6gxd58rGB4DZbI50KZg4cKgasZSCJ4IkMBwJdIMNUMLNoiWsLKpAyEGQPqhNIHwXihwMULqli6cUE11WQoc7kEAQ55peDPBM8jLkcTjG7BUHWYVL3FO+DglptzBg2EEbU2X+6pUhAAAAh+QQFCgD+ACwYABwAeQCGAAAI/wD7CRxIsKDBgwgTKlzIcKCvcQ0jSpxIsaJFg9348bvIsaPHjwg1buwXTwLIkyhTFlwkUGRLd/RUypxpUYaFlhpxdqHJs2dCHDn7uRQa1KdRn0OTBuVQ4KjTkz1wjlQ6NcuEp1gvDokjtSvRqfwAZB0rsURQql6Hkl2bEO3XtEFxJGBLVwpcsHjTvmlBl2wmG3cDvyXqpW9WQgfyDnbr1rBTA2cjK2YcdA0Bx0glC6Y8ldQNzDw5b9ZM1AdolZ8XkxateuTpk+FGT15NukiE1x3FzN4tO201O7gtKgDAu3Vv1VuCV+RAuzjrxsojQnbe/PjQDwqiM3xe3bh3fh4QaP9XCGMS9fPW+Zkar7BAlfTov8fyw74hm2g7v3dnjelqfYqY7CegYin8Z5EOZsB3nIEInRGRNm8coKB3SDBoED8hYBNRBgINMKBgm1gokBheDeJEhQut8qF3B0hiYScGwOWCQLchRMiKjHmRg4HfdMdAL7YclAiOtPViIHcj6UCQAEQWp112+ilWCkEeNClYdBPwMuErBNVhpXfKyeFGfGoRhOSCwRHxZUFnRqldm2UOBGd3rz0yYZx30gkaHmSSxuaX0Dk2ZJ+K/UnolZjNWaiZgPrZF31uRmponovSBQqlXk0aKWMG8IEZHZgOpqmiArmACmgOhIrnpt0hctoxqhb/xeihop7WSqyuzZqnObghISGrTuoKrEBJyBAcCLQGGiobyjmRrKNzDVtrcOU8C9YFBIGQZyPjmRXrJQRZcecOAYz3gbU4CUNQOROuUt8T6BIVCkElTPifmrFeOhAT6Q1g4A+NgvXeQE+kV4iBNQSMkxwEmbbpvAZmo7BQDTRFY3x6WPxfJRPzwwVBQJCZzXjBEBRNx1kQpJt1Aoxn7ECNdKwOQXyQaQBwuNEiEDwEadDxEgSx0yeopxVwzUg4C2RevPyQQRAnfRLxWi5BmSRnx8wOZAStoK1K6mJ8DTQC131dkamwX0dBUA5r0tWBCGdfHe8fBMHR9lrMJBY3rgLl/0KQJV/+wJay0rqlBEGAfHlwVlAS/vVQgBCkxJfOZMVCNYjKHaolBFGdLBVPAUFc5nz3Y/ZAjAB6uFMU6Kl54UHtOFAUgNahjFOsjXp3rHP4xKWkaO8OO1hG+JQGmq9/rTvZMnlSAfKlL2+vTAGQEp/00mLf5kwyrKi998Ezn5IPAjJAEA/Rhz9huSpx9wtBDg6/t/yDDZwSd7UQNET6yX/JbfsCOgRBPsG/0g2AQyC5RXoiN5DVPU5W/UsW0D4SgVmkh3MDaUcB6ZeUWVitIzvoExwIwogNPhAsJOoILGiXHtkJRG0chGDpNLKejoQDR4AZSAaYJsMYguVXHIGTB/8IAgYexuhCHevhROAECYLYgodiQSIPc2UROCWCIGbg4R0OcsL5NQSBcCIEQQbBwyIcxARJpKJEYHAnURDkBTzUxEEekUaBKGkiKLgT6AaCAh4uriASaMIUBaKhiVTiTiQYSACSwMMgICQMg+yHHmoUkctI6wQEiUESY4AQAtzKhy15GUXaZA2CrKBjFmDfQcQISqEUrCJt0gJBCtGxNihkATPkBzpguSIOEEQTHXNHQ7pIlFRUJA8r8gVBYNAxY24niXCjSBbjk0KB3KFjBHxmJCdCghPEBxoEgULH9scQ2m1zIiE8DiX70YCOxW8hQDmnRHKQw9ypr3DoYwgsPLT/wYYQzZ4RnBAFJLKPSOZTIv4BaOmGGBEdPK+VeLiIQlvZRIkYqZVNUOUSXVe6K0rkdMTkh7h4GayASgsXVeyYLBuiUQhwtJUqSCnTGsAChcS0H18gyDpeSkyJJlGOCeFXP0ygyn2WtJ8RCSmGEkKNqeR0IGQkXSsvYo06HqQA45gKUQeCgCM6bmIXAZw8B1ItsDxVIKkC0z23ZxEJpK6fGIiMCQjiKrWalK01GatUv/qsGQ3kdhRJQBSJaUmTYu971KEBQVzUD40yhBmlE8Jhg3dEgQguhkEaiC4EIlmJ4LKVGxBI/NyiUaWMgSA1UFUDXNgPTgjEDdHaaLxy6Aqp/8YhMvggyMseV1uC2KMl+pJtqIx0i6OqRlsDqeHjcjsQQ0wlBIVN6sTKgARB7vUspyAICSCgqtQOZAhg8dREGDAxemiDp2eZoECeGKo8EoQ5OHGYRAYVKkmidyqqIMgNQ+VLgqDRiwlJBlgnOhRMEGQB5A0VAgVSxEoxZAYDvq9AICaQYoCVIA5wVEN+EeHZ+EuKAtmjQBbQg2IIxBnInN5ALBAZIEo3XvrprR0BXBBIyYMG2QVe/94xyg7DRRwE4QaNGQKOMERDIC4Fi2JBTBRg9PhZkxgIAKYskClHccrv7IczrYySAMjhVP3IxThSUxAu9wMA0njAk/NUj4EEBAAh+QQFCgD+ACwYABwAeQCGAAAI/wD7CRxIsKDBgwgTKlzIsKHDhxAjSpzY8IHABBQzatzI0WAMEwI3ZOhIsqRJhJFa8RPIz8uikzBjbqTAb2W/mhZk6tzpsKZNnwIJ8Bw6VBPLmkdtkgpEtOnJBDB+Ir05lR+GFU6zclRTtavUBlrDUgRKVapZgQvEqlUYKanbsm9PIVhLl6AVCm/J6q2qx0ldulMGnIVLeO+Bv2v3Dlb8lgRirYwLe337q8bjoSMlL55c2Aaryzs/5OUcOTJomE42qx49OMfpkgu6rNbM+q20Pa87YiHNe7ZeBkJyb2zQuzbt48LHFj9emvOE5BKb+15ONsQZ6A1ZGJe+nTQEUNgXOv/oPr382/AIhfZrR5O8e+ZT0S8scEXgJOr4Z8t/qCrYe+6SrbEfRXIUksZ/1NFQwIAEpaBdRHzkZxwG6jEokAf8dCGQZQ0ZIiFzS1g4kF5bKCLQgggh8WFpDbwkYmQMvLADQluYBx8KDH7z3hjPEDSOjQDKBwyQmRDEFYL6hWeFYP9NQ1ARQC5nSHg0ASkIQZtEOdsu4QGo1yAERYjkdslZBN9iphA0hJZk5paAGmPepAFBQbDJnHBRxcnPBQSBYGdpuWmyYlUNBDBQBH+SlpuXvLVA0Ah6Kvoao5v1QJAbkS4GGhCZHpUNQVl0WthlN4Qgak2dEETDqVPN8RgJRiT/KtUMBHHAqk2XHTHoZkoQBAirspxGaXcmDmTLqcM4Btqw8D1BUBWihmKosLuOBgVBUogqHLPN5TSQstzyY2py4SY54oq8OEputcgRxGwRFW7LrmnufoheucYVxCik8uHb7rm+tcGhcNMKxMC8nOm73BN+YMfpQE0gPJjCs+GGnSMEHSPxefWam9sUAhVCUCMbE0ZxvrkFQIdNuhCEQ8lknfzvaR9MhQ1BZsAcX8ejgbSuTaMQJIPOuPIsGVavcUjWBgSdQ/RBpTGRGzh6vNUGQVQ8bVBkcTB1WiFMEobXQBloLTNZjSxKWloDEXcr1Jz9AZp6pYFA0AWycgzwWxWY//kXD29sFwRBGuRtstF6oYIYIhFvNwRBtRgeM+JV0frXCdT5QlAaku+8d2ECIOYlFgTJ07lNPxBkAGk+rBXAjGeyBANBlZwu0FwDEcGbHWIRIAyQRxB0i+399EE4b7iItcGKRhAEBvGWEJQLb7aGxW3rA8FCvOYDcb5Z4EQV8AUaeh6AYj8EEE/6QCtvFkdTKiX6oEAnvN3P7APV7rFJ+awaO3xwIAgj7Be8gYhiOTHBUOc6QJAX2M8DBCkFAmHir73MgyCi+R+AMECQQEzwJBXsSogGsg37VQAjAlHR/kgSQqlcw1f240cMCFIjlIFQZ1ogSDNi6CKByGKFHWnhUf+cNRBoaZA6RRrIkWbGERQKkSpcIIgqYuikgUDJhh3xRAz5AQGCqCCGVxrIbozjtY5UYotF+1wFwTQQMR2nGCUpAhrhJrk0DWRNxolGSeR2RBudbV5zGkgfZsO0jjygAnPcGsz4NBA/GUcE59MIOYg3OTXOq1CH8o3FNpIOSnpui+oSiAu2U46OcMKTadyipQaCKeZ0oyN4S+QfE/WpgYSKOcHaSAy0VsktpmogGSyNAZSxkS/w8pN97I7lBFK95oBjI7tBJR1Z1auB/Ao+y9hIFo6ZymTCp1gCORZ8cqiRKsmScokiokAk0R0vbOSJ9LJkoq41kGz9LyPwTBg6I+X/LYGA64PR4eY0vRnP9+CzZABIqEASCoCBPnGWeguo4R6Sz24GSTkT7YnZ9nm4iTxUo8SDaEclqi2Q2k+kvYzIRxtig43KM6IqLRnbBKIEAYSuH3YbSBtcalCMigoRBHHFVM5BkOWFlKMphcgTkSYQJkxFBgQZBU/v6VOCTuURtZqKGQiCDZ0ZwKH69GjJaEEQWkwFBwTRhc5OQRBK9FSshivhQIQwlbQNpAw6S4UO30pSq9okgwIZpE2OQRBH6AwYLuNrTA3nwIEgYCpNIAgQdGZPgYxBsRARjOEGOJD02YQBBJkAzEZQMAIkAbMPuUTJRknDnyiAIEmQHJwG8rzu/3xVIyWAWQQIYoKf6IAgIZAcHQhCiOn4LCOpkVxOBeKOnzC1H2OQHAMH4tTusDEjCghbBQfXvZ8EZyACkNxzBsKF6YSBI6o91XcFIoifEIIgazAcjgaSAvw8DLeSe+9AgvGTTRDkG4YzBkEyQR0KSIAjqTmVfwfSgZ/UgyBzMBw3CJJb35CPI9k91XgGgo6fzFYgBBZVMgiCBuoQgySXONU7GvSTDQukwaJCAkHMyZzPdKQEp7qDF38CsoHktqQvLUxmECwqBrRlIIn4yQwHEl0gv2cWJXmtXwVSBoLsYXUC4aNA/HCAjAaZLL2gILsKIlSbHIIgxvTye/AgZjvJ7BwWBFlHyVA6FePdMEqslVnDBsKIOSN1KrudSEAAACH5BAUKAP4ALBUAHQB5AIUAAAj/APsJHEiwoMGDCBMqXMhQ4QseDSNKnEixokWCrwTyg9LjosePIEMSvAJAI784IlOqXHlQSBx+JmH2K8Cyps2L/HLGFLgrxc2fQA+q2Nkvp0x+Ic4EXfqzRhuiRk1CYEp1pRgbR3UW1Rq1H5KqYD0e4Eo2q8w3LcKqbagAalmoF8CsnXtQjhG3Zt0moctXoKRJebcG7tqVQN+1A94KxkuU1I3DYQkrljzYRx/IS4cwXsyZsskBmIGqILLZc2fFP0LXVDJ4suvAGuyoVrmoQuvbpblukTRbpJHXuXFvbdA7pOnjwE/LXFAcZ3LkwruektO8IvTg2IueQFW9oaXs15W7/z3QfaGKC+Cfq5eprPxBNrnSR18vcId7hWSUaJDPnzPN+w19Eg564hUYXlcAWsSBM1H0h9wLCX7UloH0FWXBBBES5AAgQVB0oHqpZDhQV4eQAQJDH84nU4KGFbgEKg8clGJ2ABagRW7kGSRMheEFcN8hKgrkCEExMBAkhTJx494SFWKSAEHiHBkeBECUN2NRzBC0QElIgudBi81dyU8eORD0iIOuIVBcKWjiQJCPXcaZk5qz6ZAHmsQZJGaas7EAhZSKFbRna3SGZgKPgRIkAqKEzjYoUU8ONAOjbhXaF5yPcsYHQRHMAmijkOmDZmAuQDQQLp9WCtknqRp4SEGujP+q0RJw8lUGpQYaAM1IsvazCmaJtYrcETLiGlqm4QmK6H6qIZucslKOwlyzuCZLEBcV0lHrsdUmh+FAX1TYnG3CJndNQXfMR1p1MHQrnAGRENRDjscZYUh3NxjZ63EQEpTGZopM2N0O5c4nCkEZbLZtaB1kOZACBDrbGgrFZmVBdyKcUOZAMuz7LEGEYcBGdzmxQ5AEHgsHrUBtwNLcUFuBpqe7mxWEhlaINBeICUStLGeFHQ1EhQErFneFF4EVFGzKRN1R0BpF97ZoYNsiQ7OBXxA0gSYkK0YGQTyMUHBpXYDZnATmbAbAtALhMTaFy3SnACfRzUAQAV0wfVod3cX/8lwdCQ9UjN6mhaneIBUTrtVsVqRnQOI/H6kaKDJf6bPERH0HWTzGEgTB1aZBEQFkmf4nUAmgT2Y3Xd9mOgdBD2Dw9nEisDCXDhRHThQGMQ40x+yuFbHWCifMXgJBBWCieFYVrJUE6BDINhA1y/e8VAKUKP4B5JhzZpMqrNwjkDQNAJ80yKkHxrZK3Vs7YvpEiVNT+x8PVAf8nDEQQ0oo6+5/YQSZlPmg4oCUHOx/uMKDlgAwwM5UgE0huUT1CjQCUwmEDA2UzBNCEoQMPgcZb4rFBBHkkWF4MDoDqAFBVjDCxV1ECrZpYWsgwT38eaQb+LMc+k4okHtZxAI5FNcO/ydIA+fwME4F0UMQjzIy6ywxOwLrhzaeWJQxLKwh9GuVfQaSgCYcMSdlkEikstgfBjxmIKL4Ij8I1JAwIjCDMCjIBmQoEQ/QUU4VCJpA4HBHhlBDjYDKQg0byJCb3VGH7ztihxICBypm6nL408AVB8IER3ZuIERwJCgSQjRA9qcgYXAkEUiAEDK+0XoDkYAH1EiMUloSUAxAiBXUOJVBHtI1tEhILfookGmZElmk6N9BpMDLfrzulMg0TRJ2hSIq9i93pgSANAUiTS5Vk5rT7Mc1+6GLiPxSK53QyATB8k2Z8K4o46zKn764CXQmM1FUQdUXLUCJI4IlALxQI90Ul/+jsIBBjfp6Z1bcgBGBCOCgBkVoPw4qgIQ2dKEKZcgoWngMDzKBIENCJkPo9E1zeDBuA/lEryTyzUd4MKMC2Z5GvRlEEHgwIwNRHjLTgsUc3imDXiDIDx6HzDBE5A85JFYGTUEQT7yNhg0RQw5D4c72MXUgoewVA0bXkBdk0BtNBd2vBmK1fYkhIlSgF+jSkkFLvWF2IYqIOvTWCnEKVCAjKAhW9pXTiNjurf24UVbf5rSBICB1V/DQ1dLh1u4lgiC3SJ0gBPu2xu21V1MgiCBSVw3G9qp3DdwDQUxIyIhY42oj0lukBIKtzjYEHqAtbGoTqbeJQOJtocUrJGErkR1MjVS1tGWtbCMSANnd9rEr1W33JNLI3AKPC7YMLkPMsNrZWcATBEmG4nZBkQ00d1/TOJkI8ZoTIVBkacF9mzEK0oEMTsJsNS2XCAoSEAA7";const Lk=ae({name:"FullScreenKongSkeleton",props:{progress:{type:Number,default:null}},setup(t){const r=j(0),e=j(0),i=F(()=>t.progress!==null?t.progress:e.value);return Bt(()=>{t.progress||(r.value=setInterval(()=>{e.value>=100&&(clearInterval(r.value),e.value=100),e.value=Math.min(e.value+Math.ceil(Math.random()*10*30),100)},200))}),Fi(()=>{clearInterval(r.value)}),{timer:r,progressInternal:e,progression:i,loaderImage:Bk}}}),Fk={class:"fullscreen-loading-container","data-testid":"full-screen-loader"},Rk=["src"],Vk={class:"progress"};function Nk(t,r,e,i,n,s){return S(),I("div",Fk,[E("div",null,[E("img",{src:t.loaderImage,alt:"Loading"},null,8,Rk),E("div",Vk,[E("div",{style:cr({width:`${t.progression}%`}),class:"progress-bar",role:"progressbar"},null,4)])])])}var jk=ze(Lk,[["render",Nk],["__scopeId","data-v-4f1a85a8"]]);const Hk=ae({name:"KSkeleton",components:{Skeleton:dk,CardSkeleton:Sk,TableSkeleton:kk,FormSkeleton:$k,FullScreenKongSkeleton:jk,KIcon:Xe},props:{delayMilliseconds:{type:Number,required:!1,default:0},type:{type:String,default:"",validator:t=>["table","card","form","spinner","fullscreen-kong",""].includes(t)},progress:{type:Number,required:!1,default:null},cardCount:{type:Number,default:1},tableColumns:{type:Number,required:!1,default:6},tableRows:{type:Number,required:!1,default:6}},setup(t){const r=j(!1);return Bt(()=>{setTimeout(()=>{r.value=!0},t.delayMilliseconds)}),{isVisible:r}}});function zk(t,r,e,i,n,s){const a=be("CardSkeleton"),o=be("TableSkeleton"),l=be("FormSkeleton"),u=be("FullScreenKongSkeleton"),c=be("KIcon"),h=be("Skeleton");return t.isVisible?(S(),I("div",{key:0,class:ce([{"w-100":t.type!=="spinner","opacity-0":!t.isVisible},"d-flex flex-wrap k-skeleton-container"])},[t.type==="card"?(S(),fe(a,{key:0,"card-count":t.cardCount},{"card-header":se(()=>[de(t.$slots,"card-header")]),"card-content":se(()=>[de(t.$slots,"card-content")]),"card-footer":se(()=>[de(t.$slots,"card-footer")]),_:3},8,["card-count"])):t.type==="table"?(S(),fe(o,{key:1,columns:t.tableColumns,rows:t.tableRows},{default:se(()=>[de(t.$slots,"default")]),_:3},8,["columns","rows"])):t.type==="form"?(S(),fe(l,{key:2})):t.type==="fullscreen-kong"?(S(),fe(u,{key:3,progress:t.progress},null,8,["progress"])):t.type==="spinner"?(S(),fe(c,{key:4,icon:"spinner",size:"18",color:"#000"})):(S(),fe(h,{key:5}))],2)):ne("",!0)}var T1=ze(Hk,[["render",zk]]);const Uk=ae({name:"KCatalogItem",components:{KCard:yf},props:{item:{type:Object,default:()=>({})},truncate:{type:Boolean,default:!0},testMode:{type:Boolean,default:!1}},emits:["clicked"],setup(t,{emit:r}){return{handleCardClick:(i,n)=>{r("clicked",{evt:i,item:n})}}}});function Kk(t,r,e,i,n,s){const a=be("KCard");return S(),fe(a,{"has-hover":"",role:"button",tabindex:"0",class:"grid-item d-flex flex-column overflow-hidden k-card-catalog-item","data-testid":t.item&&t.item.title?`${t.item.title.replace(/[^0-9a-z]/gi,"-")}-catalog-item`:"catalog-item","test-mode":!!t.testMode||void 0,onClick:r[0]||(r[0]=o=>t.handleCardClick(o,t.item))},{title:se(()=>[de(t.$slots,"cardTitle",{},()=>[ue(re(t.item?t.item.title:""),1)],!0)]),body:se(()=>[E("div",{class:ce({"multi-line-truncate":t.truncate})},[de(t.$slots,"cardBody",{},()=>[ue(re(t.item?t.item.description:""),1)],!0)],2)]),_:3},8,["data-testid","test-mode"])}var Wk=ze(Uk,[["render",Kk],["__scopeId","data-v-f7fba218"]]);const{useRequest:Yk,useDebounce:Gk}=jn();ae({name:"KCatalog",components:{KButton:gt,KCatalogItem:Wk,KEmptyState:bf,KPagination:E1,KSkeleton:T1,KSkeletonBox:wo},props:{isLoading:{type:Boolean,default:!1},cardSize:{type:String,default:"medium",validator:t=>["small","medium","large"].includes(t)},title:{type:String,default:""},noTruncation:{type:Boolean,default:!1},emptyStateTitle:{type:String,default:"No Data"},emptyStateMessage:{type:String,default:"There is no data to display."},emptyStateActionRoute:{type:[Object,String],default:""},emptyStateActionMessage:{type:String,default:""},emptyStateActionButtonIcon:{type:String,default:""},emptyStateIcon:{type:String,default:""},emptyStateIconColor:{type:String,default:""},emptyStateIconSize:{type:String,default:"50"},hasError:{type:Boolean,default:!1},errorStateTitle:{type:String,default:"An error occurred"},errorStateMessage:{type:String,default:"Data cannot be displayed due to an error."},errorStateActionRoute:{type:[Object,String],default:""},errorStateActionMessage:{type:String,default:""},errorStateIcon:{type:String,default:""},errorStateIconColor:{type:String,default:""},errorStateIconSize:{type:String,default:"50"},fetcher:{type:Function,required:!0},initialFetcherParams:{type:Object,default:null},fetcherCacheKey:{type:String,default:""},searchInput:{type:String,default:""},paginationNeighbors:{type:Number,default:1},paginationPageSizes:{type:Array,default:()=>[15,30,50,75,100],validator:t=>!!t.length&&t.every(r=>typeof r=="number")},paginationTotalItems:{type:Number,default:null},disablePaginationPageJump:{type:Boolean,default:!1},disablePagination:{type:Boolean,default:!1},hidePaginationWhenOptional:{type:Boolean,default:!1},testMode:{type:[String,Boolean],default:!1}},emits:["kcatalog-error-cta-clicked","kcatalog-empty-state-cta-clicked"],setup(t,{slots:r}){const e={page:1,pageSize:15,query:""},i=j([]),n=j(0),s=j(""),a=j(1),o=j(15),l=j(!0),u=j(!1),c=F(()=>!!r.toolbar),h=async()=>{l.value=!0;const C=t.searchInput,P=await t.fetcher({query:C||s.value,pageSize:o.value,page:a.value});return i.value=P.data,n.value=t.paginationTotalItems||P.total||P.data.length,l.value=!1,P},d=async()=>{const C={...e,...t.initialFetcherParams};a.value=C.page,o.value=C.pageSize,s.value=C.query,u.value=!0},f=F(()=>!t.fetcher||!u.value?"":`catalog-item_${Math.floor(Math.random()*1e3)}_${t.fetcherCacheKey}`),{query:p,search:g}=Gk("",350),{revalidate:v}=Yk(()=>f.value,()=>h(),{revalidateOnFocus:!1}),y=({page:C})=>{a.value=C},m=({pageSize:C})=>{o.value=C},w=C=>C.toLowerCase().replace(/[^[a-z0-9]/gi,"-");return Ye(()=>t.searchInput,C=>{g(C)},{immediate:!0}),Ye(()=>[p.value,a.value,o.value],()=>{v()},{immediate:!0}),Bt(()=>{d()}),{data:i,isCardLoading:l,page:a,pageChangeHandler:y,pageSize:o,pageSizeChangeHandler:m,total:n,getTestIdString:w,hasToolbarSlot:c}}});ae({name:"KCheckbox",inheritAttrs:!1,props:{modelValue:{type:Boolean,default:!1,required:!0}},emits:["input","change","update:modelValue"],setup(t,{emit:r,attrs:e}){const i=s=>{r("change",s.target.checked),r("input",s.target.checked),r("update:modelValue",s.target.checked)};return{modifiedAttrs:F(()=>{const s={...e};return delete s.class,s}),handleChange:i}}});function Zk(t,r){let e;return(...i)=>{clearTimeout(e),e=window.setTimeout(()=>{t(...i)},r)}}const Hn=t=>(Nr("data-v-034f9b55"),t=t(),jr(),t),qk=["id"],Qk={key:0,class:"k-code-block-actions"},Xk={class:"k-search-container"},Jk=["for"],eE=Hn(()=>E("span",{class:"k-visually-hidden"},"Search",-1)),tE=[eE],rE=["id"],iE={key:0,class:"k-code-block-search-error"},nE=Hn(()=>E("span",{class:"k-visually-hidden"},"Clear query",-1)),sE={class:"k-search-actions"},aE=Hn(()=>E("span",{class:"k-visually-hidden"},"RegExp mode enabled",-1)),oE=Hn(()=>E("span",{class:"k-visually-hidden"},"Filter mode enabled",-1)),lE=Hn(()=>E("span",{class:"k-visually-hidden"},"Previous match",-1)),uE=Hn(()=>E("span",{class:"k-visually-hidden"},"Next match",-1)),cE={class:"k-code-block-content"},hE={key:0,class:"k-filtered-code-block","data-testid":"k-code-block-filtered-code-block"},dE={class:"k-line-number-rows"},fE=["id","href"],pE=["innerHTML"],gE={key:1,class:"k-highlighted-code-block","data-testid":"k-code-block-highlighted-code-block"},vE={class:"k-line-number-rows"},mE=["id","href"],yE=["innerHTML"],bE=Hn(()=>E("span",{class:"k-visually-hidden"},"Copy",-1)),_E=ae({__name:"KCodeBlock",props:{id:{type:String,required:!0},code:{type:String,required:!0},language:{type:String,required:!0},isSearchable:{type:Boolean,required:!1,default:!1},isProcessing:{type:Boolean,required:!1,default:!1},query:{type:String,required:!1,default:""},showCopyButton:{type:Boolean,required:!1,default:!0},showLineNumberLinks:{type:Boolean,required:!1,default:!1}},emits:["code-block-render","matching-lines-change","query-change"],setup(t,{emit:r}){const e=t,n=window.navigator.platform.toLowerCase().includes("mac")?"Options":"Alt",s={"alt+c":"copyCode","alt+f":"toggleFilterMode","alt+g":"toggleFilterMode","alt+r":"toggleRegExpMode",f3:"jumpToNextMatch","shift+f3":"jumpToPreviousMatch"},a=Zk(ge,150),o=j(e.query),l=j(!1),u=j(!1),c=j(!1),h=j(null),d=j(null),f=j(null),p=j(0),g=j([]),v=j(null),y=F(()=>Array.from({length:e.code.split(` +`).length},(A,z)=>z+1)),m=F(()=>y.value[y.value.length-1].toString().length+"ch"),w=F(()=>e.id.toLowerCase().replace(/\s+/g,"-")),C=F(()=>e.isProcessing||l.value),P=F(()=>c.value&&T.value!==""),T=F(function(){return o.value===""?"":e.code.split(` +`).filter((A,z)=>g.value.includes(z+1)).map(A=>{try{const z=new RegExp(o.value,"gi");return A.replace(z,oe=>`${oe}`)}catch{return A}}).join(` +`)});Ye(()=>e.code,function(){V(),H()}),Ye(()=>u.value,function(){H()}),Ye(()=>P.value,async function(){var A,z;((A=document==null?void 0:document.activeElement)==null?void 0:A.tagName)==="PRE"&&((z=d.value)==null||z.focus({preventScroll:!0})),P.value||(await Yr(),V(),H())}),Bt(function(){document.addEventListener("keydown",Ce),f.value instanceof HTMLInputElement&&e.query!==""&&(f.value.value=e.query),V(),H()}),fo(function(){document.removeEventListener("keydown",Ce)});function V(){var A;const z=(A=d.value)==null?void 0:A.querySelector(".k-highlighted-code-block"),oe=z==null?void 0:z.querySelector("code");z instanceof HTMLElement&&oe instanceof HTMLElement&&r("code-block-render",R(z,oe))}function D(){var A;const z=(A=d.value)==null?void 0:A.querySelector(".k-highlighted-code-block"),oe=z==null?void 0:z.querySelector("code");z instanceof HTMLElement&&oe instanceof HTMLElement&&r("matching-lines-change",R(z,oe))}function R(A,z){return{preElement:A,codeElement:z,code:e.code,language:e.language,query:o.value,matchingLineNumbers:g.value}}function Q(A){const z=A.target;z.value!==o.value&&(l.value=!0,a(z.value))}function ge(A){o.value=A,r("query-change",A),H()}function H(){l.value=!0,h.value=null;const A=o.value.length>=3||e.code.length<1e3,z=o.value.length>0&&(u.value||!u.value&&A);let oe=[];if(z)try{oe=q(e.code.toLowerCase(),o.value.toLowerCase(),u.value)}catch(ve){if(ve instanceof Error)h.value=ve;else throw ve}p.value=oe.length,g.value=Array.from(new Set(oe)),D(),l.value=!1}function q(A,z,oe){return oe?we(A,z):_e(A,z)}function _e(A,z){const oe=[];let ve=0;for(;ve[A.toLowerCase(),z])),Je={toggleFilterMode:{trigger:pe,isAllowedContext(A){return d.value!==null&&A.composedPath().includes(d.value)},shouldPreventDefaultAction:!0},toggleRegExpMode:{trigger:te,isAllowedContext(A){return d.value!==null&&A.composedPath().includes(d.value)},shouldPreventDefaultAction:!0},jumpToNextMatch:{trigger:De,isAllowedContext(A){return d.value!==null&&A.composedPath().includes(d.value)},isDisabled:()=>g.value.length===0||c.value,shouldPreventDefaultAction:!0},jumpToPreviousMatch:{trigger:L,isAllowedContext(A){return d.value!==null&&A.composedPath().includes(d.value)},isDisabled:()=>g.value.length===0||c.value,shouldPreventDefaultAction:!0},copyCode:{trigger:G,isAllowedContext(A){return d.value!==null&&A.composedPath().includes(d.value)},shouldPreventDefaultAction:!0}};function Ce(A){const z=he(A.code),oe=[A.ctrlKey?"ctrl":"",A.shiftKey?"shift":"",A.altKey?"alt":"",z].filter(_=>_!=="").join("+"),ve=Te[oe];if(!ve)return;const b=Je[ve];b.isAllowedContext&&!b.isAllowedContext(A)||(b.shouldPreventDefaultAction&&A.preventDefault(),!(b.isDisabled&&b.isDisabled())&&b.trigger(A))}const xe=["ControlLeft","ControlRight","ShiftLeft","ShiftRight","AltLeft"];function he(A){return xe.includes(A)?"":A.replace(/^Key/,"").toLowerCase()}function De(){U(1)}function L(){U(-1)}function U(A){if(g.value.length===0||!(d.value instanceof HTMLElement))return;typeof v.value=="number"?v.value=(v.value+A+g.value.length)%g.value.length:v.value=0;const z=g.value[v.value];if(!z)return;const oe=d.value.querySelector(`#${w.value}-L${z}`);oe instanceof HTMLElement&&typeof oe.scrollIntoView=="function"&&oe.scrollIntoView({block:"center"})}async function G(A){const z=A.currentTarget;await a1(e.code)&&(z.setAttribute("data-tooltip-text","Copied code!"),window.setTimeout(function(){z.removeAttribute("data-tooltip-text")},1500))}return(A,z)=>(S(),I("div",{id:e.id,ref_key:"codeBlock",ref:d,class:"k-code-block",tabindex:"0",style:cr(`--maxLineNumberWidth: ${ie(m)}`),"data-testid":"k-code-block"},[t.isSearchable?(S(),I("div",Qk,[E("div",Xk,[Z(Xe,{class:"k-search-icon",icon:"search",size:"20",color:"currentColor","data-testid":"k-code-block-search-icon"}),E("label",{for:`${e.id}-search-input`,class:"k-code-block-search-label"},tE,8,Jk),E("input",{id:`${e.id}-search-input`,ref_key:"codeBlockSearchInput",ref:f,class:"k-code-block-search-input",type:"text","data-testid":"k-code-block-search-input",onInput:Q},null,40,rE),h.value!==null?(S(),I("p",iE,re(h.value.message),1)):ne("",!0),Z(Xe,{class:ce(["k-is-processing-icon",{"k-is-processing-icon-is-visible":ie(C)}]),icon:"spinner",color:"var(--grey-400)","data-testid":"k-code-block-is-processing-icon"},null,8,["class"]),o.value!==""?(S(),I("button",{key:1,class:"k-clear-query-button",type:"button",appearance:"outline",title:"Clear query","data-testid":"k-code-block-clear-query-button",onClick:$},[nE,Z(Xe,{class:"k-clear-icon",icon:"clear",size:"20",color:"currentColor","data-testid":"k-code-block-clear-icon"})])):ne("",!0)]),E("p",{class:ce(["k-code-block-search-results",{"k-code-block-search-results-has-query":o.value!==""}])},[p.value===0?(S(),I(Ue,{key:0},[ue(" No results ")],64)):typeof v.value=="number"&&!ie(P)?(S(),I(Ue,{key:1},[ue(re(v.value+1)+" of "+re(p.value),1)],64)):(S(),I(Ue,{key:2},[ue(re(p.value)+" results ",1)],64))],2),E("div",sE,[Z(gt,{class:"k-regexp-mode-button",type:"button",appearance:u.value?"secondary":"outline","aria-pressed":u.value,"is-rounded":!1,size:"small",title:`Use regular expression (${ie(n)}+R)`,"data-testid":"k-code-block-regexp-mode-button",onClick:te},{default:se(()=>[aE,ue(" .* ")]),_:1},8,["appearance","aria-pressed","title"]),Z(gt,{class:"k-filter-mode-button",type:"button",icon:"filter",appearance:c.value?"secondary":"outline","aria-pressed":c.value,"is-rounded":!1,size:"small",title:`Filter results (${ie(n)}+F)`,"data-testid":"k-code-block-filter-mode-button",onClick:pe},{icon:se(()=>[Z(Xe,{class:"k-button-icon",icon:"filter",size:"16",title:`Filter results (${ie(n)}+F)`,color:"currentColor"},null,8,["title"])]),default:se(()=>[oE]),_:1},8,["appearance","aria-pressed","title"]),Z(gt,{class:"k-previous-match-button",type:"button","is-rounded":!1,size:"small",title:"Previous match (Shift+F3)",disabled:g.value.length===0||c.value,"data-testid":"k-code-block-previous-match-button",onClick:L},{icon:se(()=>[Z(Xe,{class:"k-button-icon",icon:"chevronUp",size:"16",title:"Previous match (Shift+F3)",color:"currentColor"})]),default:se(()=>[lE]),_:1},8,["disabled"]),Z(gt,{class:"k-next-match-button",type:"button","is-rounded":!1,size:"small",title:"Next match (F3)",disabled:g.value.length===0||c.value,"data-testid":"k-code-block-next-match-button",onClick:De},{icon:se(()=>[Z(Xe,{class:"k-button-icon",icon:"chevronDown",size:"16",title:"Next match (F3)",color:"currentColor"})]),default:se(()=>[uE]),_:1},8,["disabled"])])])):ne("",!0),E("div",cE,[ie(P)?(S(),I("pre",hE,[E("span",dE,[ue(` + `),(S(!0),I(Ue,null,Rt(g.value,oe=>(S(),I("span",{key:oe,class:"k-line"},[ue(` + `),E("a",{id:`${ie(w)}-L${oe}`,class:"k-line-anchor",href:e.showLineNumberLinks?`#${ie(w)}-L${oe}`:void 0},re(oe),9,fE),ue(` + `)]))),128)),ue(` + `)]),E("code",{innerHTML:ie(T)},null,8,pE)])):(S(),I("pre",gE,[E("span",vE,[ue(` + `),(S(!0),I(Ue,null,Rt(ie(y),oe=>(S(),I("span",{key:oe,class:ce(["k-line",{"k-line-is-match":g.value.includes(oe),"k-line-is-highlighted-match":v.value!==null&&oe===g.value[v.value]}])},[ue(` + `),E("a",{id:`${ie(w)}-L${oe}`,class:"k-line-anchor",href:e.showLineNumberLinks?`#${ie(w)}-L${oe}`:void 0},re(oe),9,mE),ue(` + `)],2))),128)),ue(` + `)]),E("code",{innerHTML:e.code},null,8,yE)])),e.showCopyButton?(S(),fe(gt,{key:2,class:"k-code-block-copy-button",type:"button",appearance:"outline","is-rounded":!1,size:"small",title:`Copy (${ie(n)}+C)`,"data-testid":"k-code-block-copy-button",onClick:G},{default:se(()=>[Z(Xe,{icon:"copy",size:"16",title:`Copy (${ie(n)}+C)`,color:"currentColor"},null,8,["title"]),bE]),_:1},8,["title"])):ne("",!0)])],12,qk))}});var Hee=ze(_E,[["__scopeId","data-v-034f9b55"]]);ae({name:"KCollapse",components:{KIcon:Xe},props:{modelValue:{type:Boolean,required:!1,default:!0},title:{type:String,required:!1,default:""},triggerLabel:{type:String,required:!1,default:""},triggerAlignment:{type:String,required:!1,default:"trailing",validator:t=>["leading","trailing"].includes(t)}},emits:["toggled","update:modelValue"],setup(t,{slots:r,emit:e}){const i=F(()=>!!r["visible-content"]),n=j(!0),s=j(!1),a=F(()=>t.triggerAlignment==="trailing"),o=F({get(){return t.modelValue},set(c){l(c)}}),l=c=>{s.value||(n.value=t.modelValue),c!==void 0?n.value=c:n.value=!n.value,s.value=!0,e("toggled",n.value),e("update:modelValue",n.value)},u=F(()=>s.value?n.value:t.modelValue);return Ye(o,(c,h)=>{c!==h&&l(c)}),{hasVisibleContent:i,trailingTrigger:a,toggleDisplay:l,collapsedState:u}}});function Bn(t){if(t===null||t===!0||t===!1)return NaN;var r=Number(t);return isNaN(r)?r:r<0?Math.ceil(r):Math.floor(r)}function hr(t,r){if(r.length1?"s":"")+" required, but only "+r.length+" present")}function yl(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?yl=function(e){return typeof e}:yl=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yl(t)}function mi(t){hr(1,arguments);var r=Object.prototype.toString.call(t);return t instanceof Date||yl(t)==="object"&&r==="[object Date]"?new Date(t.getTime()):typeof t=="number"||r==="[object Number]"?new Date(t):((typeof t=="string"||r==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function wE(t,r){hr(2,arguments);var e=mi(t).getTime(),i=Bn(r);return new Date(e+i)}var SE={};function Nu(){return SE}function PE(t){var r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),t.getTime()-r.getTime()}function bl(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?bl=function(e){return typeof e}:bl=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bl(t)}function CE(t){return hr(1,arguments),t instanceof Date||bl(t)==="object"&&Object.prototype.toString.call(t)==="[object Date]"}function OE(t){if(hr(1,arguments),!CE(t)&&typeof t!="number")return!1;var r=mi(t);return!isNaN(Number(r))}function kE(t,r){hr(2,arguments);var e=Bn(r);return wE(t,-e)}var EE=864e5;function TE(t){hr(1,arguments);var r=mi(t),e=r.getTime();r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0);var i=r.getTime(),n=e-i;return Math.floor(n/EE)+1}function iu(t){hr(1,arguments);var r=1,e=mi(t),i=e.getUTCDay(),n=(i=n.getTime()?e+1:r.getTime()>=a.getTime()?e:e-1}function xE(t){hr(1,arguments);var r=x1(t),e=new Date(0);e.setUTCFullYear(r,0,4),e.setUTCHours(0,0,0,0);var i=iu(e);return i}var DE=6048e5;function IE(t){hr(1,arguments);var r=mi(t),e=iu(r).getTime()-xE(r).getTime();return Math.round(e/DE)+1}function nu(t,r){var e,i,n,s,a,o,l,u;hr(1,arguments);var c=Nu(),h=Bn((e=(i=(n=(s=r==null?void 0:r.weekStartsOn)!==null&&s!==void 0?s:r==null||(a=r.locale)===null||a===void 0||(o=a.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&n!==void 0?n:c.weekStartsOn)!==null&&i!==void 0?i:(l=c.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&e!==void 0?e:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=mi(t),f=d.getUTCDay(),p=(f=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(h+1,0,f),p.setUTCHours(0,0,0,0);var g=nu(p,r),v=new Date(0);v.setUTCFullYear(h,0,f),v.setUTCHours(0,0,0,0);var y=nu(v,r);return c.getTime()>=g.getTime()?h+1:c.getTime()>=y.getTime()?h:h-1}function ME(t,r){var e,i,n,s,a,o,l,u;hr(1,arguments);var c=Nu(),h=Bn((e=(i=(n=(s=r==null?void 0:r.firstWeekContainsDate)!==null&&s!==void 0?s:r==null||(a=r.locale)===null||a===void 0||(o=a.options)===null||o===void 0?void 0:o.firstWeekContainsDate)!==null&&n!==void 0?n:c.firstWeekContainsDate)!==null&&i!==void 0?i:(l=c.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&e!==void 0?e:1),d=D1(t,r),f=new Date(0);f.setUTCFullYear(d,0,h),f.setUTCHours(0,0,0,0);var p=nu(f,r);return p}var AE=6048e5;function $E(t,r){hr(1,arguments);var e=mi(t),i=nu(e,r).getTime()-ME(e,r).getTime();return Math.round(i/AE)+1}function dt(t,r){for(var e=t<0?"-":"",i=Math.abs(t).toString();i.length0?i:1-i;return dt(e==="yy"?n%100:n,e.length)},M:function(r,e){var i=r.getUTCMonth();return e==="M"?String(i+1):dt(i+1,2)},d:function(r,e){return dt(r.getUTCDate(),e.length)},a:function(r,e){var i=r.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];case"aaaa":default:return i==="am"?"a.m.":"p.m."}},h:function(r,e){return dt(r.getUTCHours()%12||12,e.length)},H:function(r,e){return dt(r.getUTCHours(),e.length)},m:function(r,e){return dt(r.getUTCMinutes(),e.length)},s:function(r,e){return dt(r.getUTCSeconds(),e.length)},S:function(r,e){var i=e.length,n=r.getUTCMilliseconds(),s=Math.floor(n*Math.pow(10,i-3));return dt(s,e.length)}},Ki=BE,qn={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},LE={G:function(r,e,i){var n=r.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return i.era(n,{width:"abbreviated"});case"GGGGG":return i.era(n,{width:"narrow"});case"GGGG":default:return i.era(n,{width:"wide"})}},y:function(r,e,i){if(e==="yo"){var n=r.getUTCFullYear(),s=n>0?n:1-n;return i.ordinalNumber(s,{unit:"year"})}return Ki.y(r,e)},Y:function(r,e,i,n){var s=D1(r,n),a=s>0?s:1-s;if(e==="YY"){var o=a%100;return dt(o,2)}return e==="Yo"?i.ordinalNumber(a,{unit:"year"}):dt(a,e.length)},R:function(r,e){var i=x1(r);return dt(i,e.length)},u:function(r,e){var i=r.getUTCFullYear();return dt(i,e.length)},Q:function(r,e,i){var n=Math.ceil((r.getUTCMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return dt(n,2);case"Qo":return i.ordinalNumber(n,{unit:"quarter"});case"QQQ":return i.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(n,{width:"wide",context:"formatting"})}},q:function(r,e,i){var n=Math.ceil((r.getUTCMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return dt(n,2);case"qo":return i.ordinalNumber(n,{unit:"quarter"});case"qqq":return i.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(n,{width:"wide",context:"standalone"})}},M:function(r,e,i){var n=r.getUTCMonth();switch(e){case"M":case"MM":return Ki.M(r,e);case"Mo":return i.ordinalNumber(n+1,{unit:"month"});case"MMM":return i.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(n,{width:"wide",context:"formatting"})}},L:function(r,e,i){var n=r.getUTCMonth();switch(e){case"L":return String(n+1);case"LL":return dt(n+1,2);case"Lo":return i.ordinalNumber(n+1,{unit:"month"});case"LLL":return i.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(n,{width:"wide",context:"standalone"})}},w:function(r,e,i,n){var s=$E(r,n);return e==="wo"?i.ordinalNumber(s,{unit:"week"}):dt(s,e.length)},I:function(r,e,i){var n=IE(r);return e==="Io"?i.ordinalNumber(n,{unit:"week"}):dt(n,e.length)},d:function(r,e,i){return e==="do"?i.ordinalNumber(r.getUTCDate(),{unit:"date"}):Ki.d(r,e)},D:function(r,e,i){var n=TE(r);return e==="Do"?i.ordinalNumber(n,{unit:"dayOfYear"}):dt(n,e.length)},E:function(r,e,i){var n=r.getUTCDay();switch(e){case"E":case"EE":case"EEE":return i.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(n,{width:"short",context:"formatting"});case"EEEE":default:return i.day(n,{width:"wide",context:"formatting"})}},e:function(r,e,i,n){var s=r.getUTCDay(),a=(s-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(a);case"ee":return dt(a,2);case"eo":return i.ordinalNumber(a,{unit:"day"});case"eee":return i.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(s,{width:"short",context:"formatting"});case"eeee":default:return i.day(s,{width:"wide",context:"formatting"})}},c:function(r,e,i,n){var s=r.getUTCDay(),a=(s-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(a);case"cc":return dt(a,e.length);case"co":return i.ordinalNumber(a,{unit:"day"});case"ccc":return i.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(s,{width:"narrow",context:"standalone"});case"cccccc":return i.day(s,{width:"short",context:"standalone"});case"cccc":default:return i.day(s,{width:"wide",context:"standalone"})}},i:function(r,e,i){var n=r.getUTCDay(),s=n===0?7:n;switch(e){case"i":return String(s);case"ii":return dt(s,e.length);case"io":return i.ordinalNumber(s,{unit:"day"});case"iii":return i.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(n,{width:"short",context:"formatting"});case"iiii":default:return i.day(n,{width:"wide",context:"formatting"})}},a:function(r,e,i){var n=r.getUTCHours(),s=n/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(r,e,i){var n=r.getUTCHours(),s;switch(n===12?s=qn.noon:n===0?s=qn.midnight:s=n/12>=1?"pm":"am",e){case"b":case"bb":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(r,e,i){var n=r.getUTCHours(),s;switch(n>=17?s=qn.evening:n>=12?s=qn.afternoon:n>=4?s=qn.morning:s=qn.night,e){case"B":case"BB":case"BBB":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(r,e,i){if(e==="ho"){var n=r.getUTCHours()%12;return n===0&&(n=12),i.ordinalNumber(n,{unit:"hour"})}return Ki.h(r,e)},H:function(r,e,i){return e==="Ho"?i.ordinalNumber(r.getUTCHours(),{unit:"hour"}):Ki.H(r,e)},K:function(r,e,i){var n=r.getUTCHours()%12;return e==="Ko"?i.ordinalNumber(n,{unit:"hour"}):dt(n,e.length)},k:function(r,e,i){var n=r.getUTCHours();return n===0&&(n=24),e==="ko"?i.ordinalNumber(n,{unit:"hour"}):dt(n,e.length)},m:function(r,e,i){return e==="mo"?i.ordinalNumber(r.getUTCMinutes(),{unit:"minute"}):Ki.m(r,e)},s:function(r,e,i){return e==="so"?i.ordinalNumber(r.getUTCSeconds(),{unit:"second"}):Ki.s(r,e)},S:function(r,e){return Ki.S(r,e)},X:function(r,e,i,n){var s=n._originalDate||r,a=s.getTimezoneOffset();if(a===0)return"Z";switch(e){case"X":return Zg(a);case"XXXX":case"XX":return Sn(a);case"XXXXX":case"XXX":default:return Sn(a,":")}},x:function(r,e,i,n){var s=n._originalDate||r,a=s.getTimezoneOffset();switch(e){case"x":return Zg(a);case"xxxx":case"xx":return Sn(a);case"xxxxx":case"xxx":default:return Sn(a,":")}},O:function(r,e,i,n){var s=n._originalDate||r,a=s.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Gg(a,":");case"OOOO":default:return"GMT"+Sn(a,":")}},z:function(r,e,i,n){var s=n._originalDate||r,a=s.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Gg(a,":");case"zzzz":default:return"GMT"+Sn(a,":")}},t:function(r,e,i,n){var s=n._originalDate||r,a=Math.floor(s.getTime()/1e3);return dt(a,e.length)},T:function(r,e,i,n){var s=n._originalDate||r,a=s.getTime();return dt(a,e.length)}};function Gg(t,r){var e=t>0?"-":"+",i=Math.abs(t),n=Math.floor(i/60),s=i%60;if(s===0)return e+String(n);var a=r||"";return e+String(n)+a+dt(s,2)}function Zg(t,r){if(t%60===0){var e=t>0?"-":"+";return e+dt(Math.abs(t)/60,2)}return Sn(t,r)}function Sn(t,r){var e=r||"",i=t>0?"-":"+",n=Math.abs(t),s=dt(Math.floor(n/60),2),a=dt(n%60,2);return i+s+e+a}var FE=LE,qg=function(r,e){switch(r){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},I1=function(r,e){switch(r){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},RE=function(r,e){var i=r.match(/(P+)(p+)?/)||[],n=i[1],s=i[2];if(!s)return qg(r,e);var a;switch(n){case"P":a=e.dateTime({width:"short"});break;case"PP":a=e.dateTime({width:"medium"});break;case"PPP":a=e.dateTime({width:"long"});break;case"PPPP":default:a=e.dateTime({width:"full"});break}return a.replace("{{date}}",qg(n,e)).replace("{{time}}",I1(s,e))},VE={p:I1,P:RE},NE=VE,jE=["D","DD"],HE=["YY","YYYY"];function zE(t){return jE.indexOf(t)!==-1}function UE(t){return HE.indexOf(t)!==-1}function Qg(t,r,e){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(r,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(r,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(r,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(r,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var KE={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},WE=function(r,e,i){var n,s=KE[r];return typeof s=="string"?n=s:e===1?n=s.one:n=s.other.replace("{{count}}",e.toString()),i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"in "+n:n+" ago":n},YE=WE;function Rc(t){return function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.width?String(r.width):t.defaultWidth,i=t.formats[e]||t.formats[t.defaultWidth];return i}}var GE={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ZE={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},qE={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},QE={date:Rc({formats:GE,defaultWidth:"full"}),time:Rc({formats:ZE,defaultWidth:"full"}),dateTime:Rc({formats:qE,defaultWidth:"full"})},XE=QE,JE={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},eT=function(r,e,i,n){return JE[r]},tT=eT;function oa(t){return function(r,e){var i=e!=null&&e.context?String(e.context):"standalone",n;if(i==="formatting"&&t.formattingValues){var s=t.defaultFormattingWidth||t.defaultWidth,a=e!=null&&e.width?String(e.width):s;n=t.formattingValues[a]||t.formattingValues[s]}else{var o=t.defaultWidth,l=e!=null&&e.width?String(e.width):t.defaultWidth;n=t.values[l]||t.values[o]}var u=t.argumentCallback?t.argumentCallback(r):r;return n[u]}}var rT={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},iT={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},nT={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},sT={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},aT={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},oT={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},lT=function(r,e){var i=Number(r),n=i%100;if(n>20||n<10)switch(n%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},uT={ordinalNumber:lT,era:oa({values:rT,defaultWidth:"wide"}),quarter:oa({values:iT,defaultWidth:"wide",argumentCallback:function(r){return r-1}}),month:oa({values:nT,defaultWidth:"wide"}),day:oa({values:sT,defaultWidth:"wide"}),dayPeriod:oa({values:aT,defaultWidth:"wide",formattingValues:oT,defaultFormattingWidth:"wide"})},cT=uT;function la(t){return function(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=e.width,n=i&&t.matchPatterns[i]||t.matchPatterns[t.defaultMatchWidth],s=r.match(n);if(!s)return null;var a=s[0],o=i&&t.parsePatterns[i]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(o)?dT(o,function(h){return h.test(a)}):hT(o,function(h){return h.test(a)}),u;u=t.valueCallback?t.valueCallback(l):l,u=e.valueCallback?e.valueCallback(u):u;var c=r.slice(a.length);return{value:u,rest:c}}}function hT(t,r){for(var e in t)if(t.hasOwnProperty(e)&&r(t[e]))return e}function dT(t,r){for(var e=0;e1&&arguments[1]!==void 0?arguments[1]:{},i=r.match(t.matchPattern);if(!i)return null;var n=i[0],s=r.match(t.parsePattern);if(!s)return null;var a=t.valueCallback?t.valueCallback(s[0]):s[0];a=e.valueCallback?e.valueCallback(a):a;var o=r.slice(n.length);return{value:a,rest:o}}}var pT=/^(\d+)(th|st|nd|rd)?/i,gT=/\d+/i,vT={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},mT={any:[/^b/i,/^(a|c)/i]},yT={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},bT={any:[/1/i,/2/i,/3/i,/4/i]},_T={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},wT={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},ST={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},PT={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},CT={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},OT={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},kT={ordinalNumber:fT({matchPattern:pT,parsePattern:gT,valueCallback:function(r){return parseInt(r,10)}}),era:la({matchPatterns:vT,defaultMatchWidth:"wide",parsePatterns:mT,defaultParseWidth:"any"}),quarter:la({matchPatterns:yT,defaultMatchWidth:"wide",parsePatterns:bT,defaultParseWidth:"any",valueCallback:function(r){return r+1}}),month:la({matchPatterns:_T,defaultMatchWidth:"wide",parsePatterns:wT,defaultParseWidth:"any"}),day:la({matchPatterns:ST,defaultMatchWidth:"wide",parsePatterns:PT,defaultParseWidth:"any"}),dayPeriod:la({matchPatterns:CT,defaultMatchWidth:"any",parsePatterns:OT,defaultParseWidth:"any"})},ET=kT,TT={code:"en-US",formatDistance:YE,formatLong:XE,formatRelative:tT,localize:cT,match:ET,options:{weekStartsOn:0,firstWeekContainsDate:1}},xT=TT,DT=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,IT=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,MT=/^'([^]*?)'?$/,AT=/''/g,$T=/[a-zA-Z]/;function ua(t,r,e){var i,n,s,a,o,l,u,c,h,d,f,p,g,v,y,m,w,C;hr(2,arguments);var P=String(r),T=Nu(),V=(i=(n=e==null?void 0:e.locale)!==null&&n!==void 0?n:T.locale)!==null&&i!==void 0?i:xT,D=Bn((s=(a=(o=(l=e==null?void 0:e.firstWeekContainsDate)!==null&&l!==void 0?l:e==null||(u=e.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&o!==void 0?o:T.firstWeekContainsDate)!==null&&a!==void 0?a:(h=T.locale)===null||h===void 0||(d=h.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&s!==void 0?s:1);if(!(D>=1&&D<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var R=Bn((f=(p=(g=(v=e==null?void 0:e.weekStartsOn)!==null&&v!==void 0?v:e==null||(y=e.locale)===null||y===void 0||(m=y.options)===null||m===void 0?void 0:m.weekStartsOn)!==null&&g!==void 0?g:T.weekStartsOn)!==null&&p!==void 0?p:(w=T.locale)===null||w===void 0||(C=w.options)===null||C===void 0?void 0:C.weekStartsOn)!==null&&f!==void 0?f:0);if(!(R>=0&&R<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!V.localize)throw new RangeError("locale must contain localize property");if(!V.formatLong)throw new RangeError("locale must contain formatLong property");var Q=mi(t);if(!OE(Q))throw new RangeError("Invalid time value");var ge=PE(Q),H=kE(Q,ge),q={firstWeekContainsDate:D,weekStartsOn:R,locale:V,_originalDate:Q},_e=P.match(IT).map(function(we){var $=we[0];if($==="p"||$==="P"){var te=NE[$];return te(we,V.formatLong)}return we}).join("").match(DT).map(function(we){if(we==="''")return"'";var $=we[0];if($==="'")return BT(we);var te=FE[$];if(te)return!(e!=null&&e.useAdditionalWeekYearTokens)&&UE(we)&&Qg(we,r,String(t)),!(e!=null&&e.useAdditionalDayOfYearTokens)&&zE(we)&&Qg(we,r,String(t)),te(H,we,V.localize,q);if($.match($T))throw new RangeError("Format string contains an unescaped latin alphabet character `"+$+"`");return we}).join("");return _e}function BT(t){var r=t.match(MT);return r?r[1].replace(AT,"'"):t}function ro(t){var r=t.getBoundingClientRect();return{width:r.width,height:r.height,top:r.top,right:r.right,bottom:r.bottom,left:r.left,x:r.left,y:r.top}}function Hr(t){if(t.toString()!=="[object Window]"){var r=t.ownerDocument;return r?r.defaultView:window}return t}function _f(t){var r=Hr(t),e=r.pageXOffset,i=r.pageYOffset;return{scrollLeft:e,scrollTop:i}}function io(t){var r=Hr(t).Element;return t instanceof r||t instanceof Element}function yi(t){var r=Hr(t).HTMLElement;return t instanceof r||t instanceof HTMLElement}function LT(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function FT(t){return t===Hr(t)||!yi(t)?_f(t):LT(t)}function Ri(t){return t?(t.nodeName||"").toLowerCase():null}function pn(t){return(io(t)?t.ownerDocument:t.document).documentElement}function M1(t){return ro(pn(t)).left+_f(t).scrollLeft}function So(t){return Hr(t).getComputedStyle(t)}function wf(t){var r=So(t),e=r.overflow,i=r.overflowX,n=r.overflowY;return/auto|scroll|overlay|hidden/.test(e+n+i)}function A1(t,r,e){e===void 0&&(e=!1);var i=pn(r),n=ro(t),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};return e||((Ri(r)!=="body"||wf(i))&&(s=FT(r)),yi(r)?(a=ro(r),a.x+=r.clientLeft,a.y+=r.clientTop):i&&(a.x=M1(i))),{x:n.left+s.scrollLeft-a.x,y:n.top+s.scrollTop-a.y,width:n.width,height:n.height}}function Sf(t){return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}function $1(t){return Ri(t)==="html"?t:t.assignedSlot||t.parentNode||t.host||pn(t)}function B1(t){return["html","body","#document"].indexOf(Ri(t))>=0?t.ownerDocument.body:yi(t)&&wf(t)?t:B1($1(t))}function Ia(t,r){r===void 0&&(r=[]);var e=B1(t),i=Ri(e)==="body",n=Hr(e),s=i?[n].concat(n.visualViewport||[],wf(e)?e:[]):e,a=r.concat(s);return i?a:a.concat(Ia($1(s)))}function RT(t){return["table","td","th"].indexOf(Ri(t))>=0}function Xg(t){return!yi(t)||So(t).position==="fixed"?null:t.offsetParent}function Po(t){for(var r=Hr(t),e=Xg(t);e&&RT(e);)e=Xg(e);return e&&Ri(e)==="body"&&So(e).position==="static"?r:e||r}var Fr="top",qr="bottom",Qr="right",Rr="left",Pf="auto",Co=[Fr,qr,Qr,Rr],Ps="start",Cf="end",VT="clippingParents",L1="viewport",ca="popper",NT="reference",Jg=Co.reduce(function(t,r){return t.concat([r+"-"+Ps,r+"-"+Cf])},[]),F1=[].concat(Co,[Pf]).reduce(function(t,r){return t.concat([r,r+"-"+Ps,r+"-"+Cf])},[]),jT="beforeRead",HT="read",zT="afterRead",UT="beforeMain",KT="main",WT="afterMain",YT="beforeWrite",GT="write",ZT="afterWrite",qT=[jT,HT,zT,UT,KT,WT,YT,GT,ZT];function QT(t){var r=new Map,e=new Set,i=[];t.forEach(function(s){r.set(s.name,s)});function n(s){e.add(s.name);var a=[].concat(s.requires||[],s.requiresIfExists||[]);a.forEach(function(o){if(!e.has(o)){var l=r.get(o);l&&n(l)}}),i.push(s)}return t.forEach(function(s){e.has(s.name)||n(s)}),i}function XT(t){var r=QT(t);return qT.reduce(function(e,i){return e.concat(r.filter(function(n){return n.phase===i}))},[])}function JT(t){var r;return function(){return r||(r=new Promise(function(e){Promise.resolve().then(function(){r=void 0,e(t())})})),r}}function hi(t){return t.split("-")[0]}function ex(t){var r=t.reduce(function(e,i){var n=e[i.name];return e[i.name]=n?Object.assign({},n,{},i,{options:Object.assign({},n.options,{},i.options),data:Object.assign({},n.data,{},i.data)}):i,e},{});return Object.keys(r).map(function(e){return r[e]})}var ev={placement:"bottom",modifiers:[],strategy:"absolute"};function tv(){for(var t=arguments.length,r=new Array(t),e=0;e=0?"x":"y"}function R1(t){var r=t.reference,e=t.element,i=t.placement,n=i?hi(i):null,s=i?no(i):null,a=r.x+r.width/2-e.width/2,o=r.y+r.height/2-e.height/2,l;switch(n){case Fr:l={x:a,y:r.y-e.height};break;case qr:l={x:a,y:r.y+r.height};break;case Qr:l={x:r.x+r.width,y:o};break;case Rr:l={x:r.x-e.width,y:o};break;default:l={x:r.x,y:r.y}}var u=n?Of(n):null;if(u!=null){var c=u==="y"?"height":"width";switch(s){case Ps:l[u]=Math.floor(l[u])-Math.floor(r[c]/2-e[c]/2);break;case Cf:l[u]=Math.floor(l[u])+Math.ceil(r[c]/2-e[c]/2);break}}return l}function nx(t){var r=t.state,e=t.name;r.modifiersData[e]=R1({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}var sx={name:"popperOffsets",enabled:!0,phase:"read",fn:nx,data:{}},ax={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ox(t){var r=t.x,e=t.y,i=window,n=i.devicePixelRatio||1;return{x:Math.round(r*n)/n||0,y:Math.round(e*n)/n||0}}function rv(t){var r,e=t.popper,i=t.popperRect,n=t.placement,s=t.offsets,a=t.position,o=t.gpuAcceleration,l=t.adaptive,u=ox(s),c=u.x,h=u.y,d=s.hasOwnProperty("x"),f=s.hasOwnProperty("y"),p=Rr,g=Fr,v=window;if(l){var y=Po(e);y===Hr(e)&&(y=pn(e)),n===Fr&&(g=qr,h-=y.clientHeight-i.height,h*=o?1:-1),n===Rr&&(p=Qr,c-=y.clientWidth-i.width,c*=o?1:-1)}var m=Object.assign({position:a},l&&ax);if(o){var w;return Object.assign({},m,(w={},w[g]=f?"0":"",w[p]=d?"0":"",w.transform=(v.devicePixelRatio||1)<2?"translate("+c+"px, "+h+"px)":"translate3d("+c+"px, "+h+"px, 0)",w))}return Object.assign({},m,(r={},r[g]=f?h+"px":"",r[p]=d?c+"px":"",r.transform="",r))}function lx(t){var r=t.state,e=t.options,i=e.gpuAcceleration,n=i===void 0?!0:i,s=e.adaptive,a=s===void 0?!0:s,o={placement:hi(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:n};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,{},rv(Object.assign({},o,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:a})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,{},rv(Object.assign({},o,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})}var ux={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:lx,data:{}};function cx(t){var r=t.state;Object.keys(r.elements).forEach(function(e){var i=r.styles[e]||{},n=r.attributes[e]||{},s=r.elements[e];!yi(s)||!Ri(s)||(Object.assign(s.style,i),Object.keys(n).forEach(function(a){var o=n[a];o===!1?s.removeAttribute(a):s.setAttribute(a,o===!0?"":o)}))})}function hx(t){var r=t.state,e={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,e.popper),r.elements.arrow&&Object.assign(r.elements.arrow.style,e.arrow),function(){Object.keys(r.elements).forEach(function(i){var n=r.elements[i],s=r.attributes[i]||{},a=Object.keys(r.styles.hasOwnProperty(i)?r.styles[i]:e[i]),o=a.reduce(function(l,u){return l[u]="",l},{});!yi(n)||!Ri(n)||(Object.assign(n.style,o),Object.keys(s).forEach(function(l){n.removeAttribute(l)}))})}}var dx={name:"applyStyles",enabled:!0,phase:"write",fn:cx,effect:hx,requires:["computeStyles"]};function fx(t,r,e){var i=hi(t),n=[Rr,Fr].indexOf(i)>=0?-1:1,s=typeof e=="function"?e(Object.assign({},r,{placement:t})):e,a=s[0],o=s[1];return a=a||0,o=(o||0)*n,[Rr,Qr].indexOf(i)>=0?{x:o,y:a}:{x:a,y:o}}function px(t){var r=t.state,e=t.options,i=t.name,n=e.offset,s=n===void 0?[0,0]:n,a=F1.reduce(function(c,h){return c[h]=fx(h,r.rects,s),c},{}),o=a[r.placement],l=o.x,u=o.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=l,r.modifiersData.popperOffsets.y+=u),r.modifiersData[i]=a}var gx={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:px},vx={left:"right",right:"left",bottom:"top",top:"bottom"};function _l(t){return t.replace(/left|right|bottom|top/g,function(r){return vx[r]})}var mx={start:"end",end:"start"};function iv(t){return t.replace(/start|end/g,function(r){return mx[r]})}function yx(t){var r=Hr(t),e=r.visualViewport,i=r.innerWidth,n=r.innerHeight;return e&&/iPhone|iPod|iPad/.test(navigator.platform)&&(i=e.width,n=e.height),{width:i,height:n,x:0,y:0}}function bx(t){var r=Hr(t),e=_f(t),i=A1(pn(t),r);return i.height=Math.max(i.height,r.innerHeight),i.width=Math.max(i.width,r.innerWidth),i.x=-e.scrollLeft,i.y=-e.scrollTop,i}function Ko(t){return parseFloat(t)||0}function _x(t){var r=yi(t)?So(t):{};return{top:Ko(r.borderTopWidth),right:Ko(r.borderRightWidth),bottom:Ko(r.borderBottomWidth),left:Ko(r.borderLeftWidth)}}function wx(t){var r=Hr(t),e=_x(t),i=Ri(t)==="html",n=M1(t),s=t.clientWidth+e.right,a=t.clientHeight+e.bottom;return i&&r.innerHeight-t.clientHeight>50&&(a=r.innerHeight-e.bottom),{top:i?0:t.clientTop,right:t.clientLeft>e.left?e.right:i?r.innerWidth-s-n:t.offsetWidth-s,bottom:i?r.innerHeight-a:t.offsetHeight-a,left:i?n:t.clientLeft}}function V1(t,r){var e=Boolean(r.getRootNode&&r.getRootNode().host);if(t.contains(r))return!0;if(e){var i=r;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Gh(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function nv(t,r){return r===L1?Gh(yx(t)):yi(r)?ro(r):Gh(bx(pn(t)))}function Sx(t){var r=Ia(t),e=["absolute","fixed"].indexOf(So(t).position)>=0,i=e&&yi(t)?Po(t):t;return io(i)?r.filter(function(n){return io(n)&&V1(n,i)}):[]}function Px(t,r,e){var i=r==="clippingParents"?Sx(t):[].concat(r),n=[].concat(i,[e]),s=n[0],a=n.reduce(function(o,l){var u=nv(t,l),c=wx(yi(l)?l:pn(t));return o.top=Math.max(u.top+c.top,o.top),o.right=Math.min(u.right-c.right,o.right),o.bottom=Math.min(u.bottom-c.bottom,o.bottom),o.left=Math.max(u.left+c.left,o.left),o},nv(t,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function N1(){return{top:0,right:0,bottom:0,left:0}}function j1(t){return Object.assign({},N1(),{},t)}function H1(t,r){return r.reduce(function(e,i){return e[i]=t,e},{})}function so(t,r){r===void 0&&(r={});var e=r,i=e.placement,n=i===void 0?t.placement:i,s=e.boundary,a=s===void 0?VT:s,o=e.rootBoundary,l=o===void 0?L1:o,u=e.elementContext,c=u===void 0?ca:u,h=e.altBoundary,d=h===void 0?!1:h,f=e.padding,p=f===void 0?0:f,g=j1(typeof p!="number"?p:H1(p,Co)),v=c===ca?NT:ca,y=t.elements.reference,m=t.rects.popper,w=t.elements[d?v:c],C=Px(io(w)?w:w.contextElement||pn(t.elements.popper),a,l),P=ro(y),T=R1({reference:P,element:m,strategy:"absolute",placement:n}),V=Gh(Object.assign({},m,{},T)),D=c===ca?V:P,R={top:C.top-D.top+g.top,bottom:D.bottom-C.bottom+g.bottom,left:C.left-D.left+g.left,right:D.right-C.right+g.right},Q=t.modifiersData.offset;if(c===ca&&Q){var ge=Q[n];Object.keys(R).forEach(function(H){var q=[Qr,qr].indexOf(H)>=0?1:-1,_e=[Fr,qr].indexOf(H)>=0?"y":"x";R[H]+=ge[_e]*q})}return R}function Cx(t,r){r===void 0&&(r={});var e=r,i=e.placement,n=e.boundary,s=e.rootBoundary,a=e.padding,o=e.flipVariations,l=e.allowedAutoPlacements,u=l===void 0?F1:l,c=no(i),h=(c?o?Jg:Jg.filter(function(f){return no(f)===c}):Co).filter(function(f){return u.indexOf(f)>=0}),d=h.reduce(function(f,p){return f[p]=so(t,{placement:p,boundary:n,rootBoundary:s,padding:a})[hi(p)],f},{});return Object.keys(d).sort(function(f,p){return d[f]-d[p]})}function Ox(t){if(hi(t)===Pf)return[];var r=_l(t);return[iv(t),r,iv(r)]}function kx(t){var r=t.state,e=t.options,i=t.name;if(!r.modifiersData[i]._skip){for(var n=e.mainAxis,s=n===void 0?!0:n,a=e.altAxis,o=a===void 0?!0:a,l=e.fallbackPlacements,u=e.padding,c=e.boundary,h=e.rootBoundary,d=e.altBoundary,f=e.flipVariations,p=f===void 0?!0:f,g=e.allowedAutoPlacements,v=r.options.placement,y=hi(v),m=y===v,w=l||(m||!p?[_l(v)]:Ox(v)),C=[v].concat(w).reduce(function(De,L){return De.concat(hi(L)===Pf?Cx(r,{placement:L,boundary:c,rootBoundary:h,padding:u,flipVariations:p,allowedAutoPlacements:g}):L)},[]),P=r.rects.reference,T=r.rects.popper,V=new Map,D=!0,R=C[0],Q=0;Q=0,we=_e?"width":"height",$=so(r,{placement:ge,boundary:c,rootBoundary:h,altBoundary:d,padding:u}),te=_e?q?Qr:Rr:q?qr:Fr;P[we]>T[we]&&(te=_l(te));var pe=_l(te),Te=[];if(s&&Te.push($[H]<=0),o&&Te.push($[te]<=0,$[pe]<=0),Te.every(function(De){return De})){R=ge,D=!1;break}V.set(ge,Te)}if(D)for(var Je=p?3:1,Ce=function(L){var U=C.find(function(G){var A=V.get(G);if(A)return A.slice(0,L).every(function(z){return z})});if(U)return R=U,"break"},xe=Je;xe>0;xe--){var he=Ce(xe);if(he==="break")break}r.placement!==R&&(r.modifiersData[i]._skip=!0,r.placement=R,r.reset=!0)}}var Ex={name:"flip",enabled:!0,phase:"main",fn:kx,requiresIfExists:["offset"],data:{_skip:!1}};function Tx(t){return t==="x"?"y":"x"}function wl(t,r,e){return Math.max(t,Math.min(r,e))}function xx(t){var r=t.state,e=t.options,i=t.name,n=e.mainAxis,s=n===void 0?!0:n,a=e.altAxis,o=a===void 0?!1:a,l=e.boundary,u=e.rootBoundary,c=e.altBoundary,h=e.padding,d=e.tether,f=d===void 0?!0:d,p=e.tetherOffset,g=p===void 0?0:p,v=so(r,{boundary:l,rootBoundary:u,padding:h,altBoundary:c}),y=hi(r.placement),m=no(r.placement),w=!m,C=Of(y),P=Tx(C),T=r.modifiersData.popperOffsets,V=r.rects.reference,D=r.rects.popper,R=typeof g=="function"?g(Object.assign({},r.rects,{placement:r.placement})):g,Q={x:0,y:0};if(!!T){if(s){var ge=C==="y"?Fr:Rr,H=C==="y"?qr:Qr,q=C==="y"?"height":"width",_e=T[C],we=T[C]+v[ge],$=T[C]-v[H],te=f?-D[q]/2:0,pe=m===Ps?V[q]:D[q],Te=m===Ps?-D[q]:-V[q],Je=r.elements.arrow,Ce=f&&Je?Sf(Je):{width:0,height:0},xe=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:N1(),he=xe[ge],De=xe[H],L=wl(0,V[q],Ce[q]),U=w?V[q]/2-te-L-he-R:pe-L-he-R,G=w?-V[q]/2+te+L+De+R:Te+L+De+R,A=r.elements.arrow&&Po(r.elements.arrow),z=A?C==="y"?A.clientTop||0:A.clientLeft||0:0,oe=r.modifiersData.offset?r.modifiersData.offset[r.placement][C]:0,ve=T[C]+U-oe-z,b=T[C]+G-oe,_=wl(f?Math.min(we,ve):we,_e,f?Math.max($,b):$);T[C]=_,Q[C]=_-_e}if(o){var M=C==="x"?Fr:Rr,B=C==="x"?qr:Qr,N=T[P],X=N+v[M],W=N-v[B],Y=wl(X,N,W);T[P]=Y,Q[P]=Y-N}r.modifiersData[i]=Q}}var Dx={name:"preventOverflow",enabled:!0,phase:"main",fn:xx,requiresIfExists:["offset"]};function Ix(t){var r,e=t.state,i=t.name,n=e.elements.arrow,s=e.modifiersData.popperOffsets,a=hi(e.placement),o=Of(a),l=[Rr,Qr].indexOf(a)>=0,u=l?"height":"width";if(!(!n||!s)){var c=e.modifiersData[i+"#persistent"].padding,h=Sf(n),d=o==="y"?Fr:Rr,f=o==="y"?qr:Qr,p=e.rects.reference[u]+e.rects.reference[o]-s[o]-e.rects.popper[u],g=s[o]-e.rects.reference[o],v=Po(n),y=v?o==="y"?v.clientHeight||0:v.clientWidth||0:0,m=p/2-g/2,w=c[d],C=y-h[u]-c[f],P=y/2-h[u]/2+m,T=wl(w,P,C),V=o;e.modifiersData[i]=(r={},r[V]=T,r.centerOffset=T-P,r)}}function Mx(t){var r=t.state,e=t.options,i=t.name,n=e.element,s=n===void 0?"[data-popper-arrow]":n,a=e.padding,o=a===void 0?0:a;s!=null&&(typeof s=="string"&&(s=r.elements.popper.querySelector(s),!s)||!V1(r.elements.popper,s)||(r.elements.arrow=s,r.modifiersData[i+"#persistent"]={padding:j1(typeof o!="number"?o:H1(o,Co))}))}var Ax={name:"arrow",enabled:!0,phase:"main",fn:Ix,effect:Mx,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function sv(t,r,e){return e===void 0&&(e={x:0,y:0}),{top:t.top-r.height-e.y,right:t.right-r.width+e.x,bottom:t.bottom-r.height+e.y,left:t.left-r.width-e.x}}function av(t){return[Fr,Qr,qr,Rr].some(function(r){return t[r]>=0})}function $x(t){var r=t.state,e=t.name,i=r.rects.reference,n=r.rects.popper,s=r.modifiersData.preventOverflow,a=so(r,{elementContext:"reference"}),o=so(r,{altBoundary:!0}),l=sv(a,i),u=sv(o,n,s),c=av(l),h=av(u);r.modifiersData[e]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:h},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":h})}var Bx={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:$x},Lx=[ix,sx,ux,dx,gx,Ex,Dx,Ax,Bx],Fx=tx({defaultModifiers:Lx}),Rx=Object.defineProperty,Vx=Object.defineProperties,Nx=Object.getOwnPropertyDescriptors,su=Object.getOwnPropertySymbols,z1=Object.prototype.hasOwnProperty,U1=Object.prototype.propertyIsEnumerable,ov=(t,r,e)=>r in t?Rx(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,Pe=(t,r)=>{for(var e in r||(r={}))z1.call(r,e)&&ov(t,e,r[e]);if(su)for(var e of su(r))U1.call(r,e)&&ov(t,e,r[e]);return t},tt=(t,r)=>Vx(t,Nx(r)),jx=(t,r)=>{var e={};for(var i in t)z1.call(t,i)&&r.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&su)for(var i of su(t))r.indexOf(i)<0&&U1.call(t,i)&&(e[i]=t[i]);return e};function fi(t){if(t===null||t===!0||t===!1)return NaN;var r=Number(t);return isNaN(r)?r:r<0?Math.ceil(r):Math.floor(r)}function ir(t,r){if(r.length1?"s":"")+" required, but only "+r.length+" present")}function Vi(t){ir(1,arguments);var r=Object.prototype.toString.call(t);return t instanceof Date||typeof t=="object"&&r==="[object Date]"?new Date(t.getTime()):typeof t=="number"||r==="[object Number]"?new Date(t):((typeof t=="string"||r==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn(new Error().stack)),new Date(NaN))}function ai(t,r){ir(2,arguments);var e=Vi(t),i=fi(r);return isNaN(i)?new Date(NaN):(i&&e.setDate(e.getDate()+i),e)}function Zh(t,r){ir(2,arguments);var e=Vi(t),i=fi(r);if(isNaN(i))return new Date(NaN);if(!i)return e;var n=e.getDate(),s=new Date(e.getTime());s.setMonth(e.getMonth()+i+1,0);var a=s.getDate();return n>=a?s:(e.setFullYear(s.getFullYear(),s.getMonth(),n),e)}function lv(t,r){ir(2,arguments);var e=fi(r);return Zh(t,e*12)}var Wo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Hx=typeof Wo=="object"&&Wo&&Wo.Object===Object&&Wo,K1=Hx,zx=K1,Ux=typeof self=="object"&&self&&self.Object===Object&&self,Kx=zx||Ux||Function("return this")(),bi=Kx,Wx=bi,Yx=Wx.Symbol,Fs=Yx,uv=Fs,W1=Object.prototype,Gx=W1.hasOwnProperty,Zx=W1.toString,ha=uv?uv.toStringTag:void 0;function qx(t){var r=Gx.call(t,ha),e=t[ha];try{t[ha]=void 0;var i=!0}catch{}var n=Zx.call(t);return i&&(r?t[ha]=e:delete t[ha]),n}var Qx=qx,Xx=Object.prototype,Jx=Xx.toString;function eD(t){return Jx.call(t)}var tD=eD,cv=Fs,rD=Qx,iD=tD,nD="[object Null]",sD="[object Undefined]",hv=cv?cv.toStringTag:void 0;function aD(t){return t==null?t===void 0?sD:nD:hv&&hv in Object(t)?rD(t):iD(t)}var _i=aD;function oD(t){return t!=null&&typeof t=="object"}var kr=oD,lD=_i,uD=kr,cD="[object Boolean]";function hD(t){return t===!0||t===!1||uD(t)&&lD(t)==cD}var dD=hD,fD=_i,pD=kr,gD="[object Number]";function vD(t){return typeof t=="number"||pD(t)&&fD(t)==gD}var Ma=vD,mD=Array.isArray,Er=mD,yD=_i,bD=Er,_D=kr,wD="[object String]";function SD(t){return typeof t=="string"||!bD(t)&&_D(t)&&yD(t)==wD}var Xi=SD;function PD(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}var zr=PD,CD=_i,OD=zr,kD="[object AsyncFunction]",ED="[object Function]",TD="[object GeneratorFunction]",xD="[object Proxy]";function DD(t){if(!OD(t))return!1;var r=CD(t);return r==ED||r==TD||r==kD||r==xD}var Mi=DD,ID=9007199254740991;function MD(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=ID}var kf=MD,AD=Mi,$D=kf;function BD(t){return t!=null&&$D(t.length)&&!AD(t)}var Oo=BD,LD=Oo,FD=kr;function RD(t){return FD(t)&&LD(t)}var fr=RD;function VD(t){return t===void 0}var ND=VD,jD=_i,HD=kr,zD="[object Date]";function UD(t){return HD(t)&&jD(t)==zD}var KD=UD;function WD(t){return function(r){return t(r)}}var ju=WD,Cs={exports:{}};(function(t,r){var e=K1,i=r&&!r.nodeType&&r,n=i&&!0&&t&&!t.nodeType&&t,s=n&&n.exports===i,a=s&&e.process,o=function(){try{var l=n&&n.require&&n.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}}();t.exports=o})(Cs,Cs.exports);var YD=KD,GD=ju,dv=Cs.exports,fv=dv&&dv.isDate,ZD=fv?GD(fv):YD,qD=ZD;function QD(t,r,e){return t===t&&(e!==void 0&&(t=t<=e?t:e),r!==void 0&&(t=t>=r?t:r)),t}var XD=QD,JD=_i,e9=kr,t9="[object Symbol]";function r9(t){return typeof t=="symbol"||e9(t)&&JD(t)==t9}var Hu=r9,pv=zr,i9=Hu,gv=0/0,n9=/^\s+|\s+$/g,s9=/^[-+]0x[0-9a-f]+$/i,a9=/^0b[01]+$/i,o9=/^0o[0-7]+$/i,l9=parseInt;function u9(t){if(typeof t=="number")return t;if(i9(t))return gv;if(pv(t)){var r=typeof t.valueOf=="function"?t.valueOf():t;t=pv(r)?r+"":r}if(typeof t!="string")return t===0?t:+t;t=t.replace(n9,"");var e=a9.test(t);return e||o9.test(t)?l9(t.slice(2),e?2:8):s9.test(t)?gv:+t}var c9=u9,h9=XD,Vc=c9;function d9(t,r,e){return e===void 0&&(e=r,r=void 0),e!==void 0&&(e=Vc(e),e=e===e?e:0),r!==void 0&&(r=Vc(r),r=r===r?r:0),h9(Vc(t),r,e)}var f9=d9,p9=Er,g9=Hu,v9=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,m9=/^\w*$/;function y9(t,r){if(p9(t))return!1;var e=typeof t;return e=="number"||e=="symbol"||e=="boolean"||t==null||g9(t)?!0:m9.test(t)||!v9.test(t)||r!=null&&t in Object(r)}var Ef=y9,b9=bi,_9=b9["__core-js_shared__"],w9=_9,Nc=w9,vv=function(){var t=/[^.]+$/.exec(Nc&&Nc.keys&&Nc.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function S9(t){return!!vv&&vv in t}var P9=S9,C9=Function.prototype,O9=C9.toString;function k9(t){if(t!=null){try{return O9.call(t)}catch{}try{return t+""}catch{}}return""}var Y1=k9,E9=Mi,T9=P9,x9=zr,D9=Y1,I9=/[\\^$.*+?()[\]{}|]/g,M9=/^\[object .+?Constructor\]$/,A9=Function.prototype,$9=Object.prototype,B9=A9.toString,L9=$9.hasOwnProperty,F9=RegExp("^"+B9.call(L9).replace(I9,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function R9(t){if(!x9(t)||T9(t))return!1;var r=E9(t)?F9:M9;return r.test(D9(t))}var V9=R9;function N9(t,r){return t==null?void 0:t[r]}var j9=N9,H9=V9,z9=j9;function U9(t,r){var e=z9(t,r);return H9(e)?e:void 0}var zn=U9,K9=zn,W9=K9(Object,"create"),zu=W9,mv=zu;function Y9(){this.__data__=mv?mv(null):{},this.size=0}var G9=Y9;function Z9(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}var q9=Z9,Q9=zu,X9="__lodash_hash_undefined__",J9=Object.prototype,eI=J9.hasOwnProperty;function tI(t){var r=this.__data__;if(Q9){var e=r[t];return e===X9?void 0:e}return eI.call(r,t)?r[t]:void 0}var rI=tI,iI=zu,nI=Object.prototype,sI=nI.hasOwnProperty;function aI(t){var r=this.__data__;return iI?r[t]!==void 0:sI.call(r,t)}var oI=aI,lI=zu,uI="__lodash_hash_undefined__";function cI(t,r){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=lI&&r===void 0?uI:r,this}var hI=cI,dI=G9,fI=q9,pI=rI,gI=oI,vI=hI;function Rs(t){var r=-1,e=t==null?0:t.length;for(this.clear();++r-1}var AI=MI,$I=Uu;function BI(t,r){var e=this.__data__,i=$I(e,t);return i<0?(++this.size,e.push([t,r])):e[i][1]=r,this}var LI=BI,FI=bI,RI=EI,VI=DI,NI=AI,jI=LI;function Ns(t){var r=-1,e=t==null?0:t.length;for(this.clear();++r-1&&t%1==0&&to))return!1;var u=s.get(t),c=s.get(r);if(u&&c)return u==r&&c==t;var h=-1,d=!0,f=e&_B?new vB:void 0;for(s.set(t,r),s.set(r,t);++h0){if(++r>=OR)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}var xR=TR,DR=CR,IR=xR,MR=IR(DR),_b=MR,AR=Ff,$R=bb,BR=_b;function LR(t,r){return BR($R(t,r,AR),t+"")}var Rf=LR,FR=Vs,RR=Oo,VR=Zu,NR=zr;function jR(t,r,e){if(!NR(e))return!1;var i=typeof r;return(i=="number"?RR(e)&&VR(r,e.length):i=="string"&&r in e)?FR(e[r],t):!1}var Vf=jR;function HR(t){var r=[];if(t!=null)for(var e in Object(t))r.push(e);return r}var zR=HR,UR=zr,KR=$f,WR=zR,YR=Object.prototype,GR=YR.hasOwnProperty;function ZR(t){if(!UR(t))return WR(t);var r=KR(t),e=[];for(var i in t)i=="constructor"&&(r||!GR.call(t,i))||e.push(i);return e}var qR=ZR,QR=eb,XR=qR,JR=Oo;function eV(t){return JR(t)?QR(t,!0):XR(t)}var Ys=eV,tV=Rf,rV=Vs,iV=Vf,nV=Ys,wb=Object.prototype,sV=wb.hasOwnProperty,aV=tV(function(t,r){t=Object(t);var e=-1,i=r.length,n=i>2?r[2]:void 0;for(n&&iV(r[0],r[1],n)&&(i=1);++e1?e[n-1]:void 0,a=n>2?e[2]:void 0;for(s=t.length>3&&typeof s=="function"?(n--,s):void 0,a&&uN(e[0],e[1],a)&&(s=n<3?void 0:s,n=1),r=Object(r);++i0&&e(o)?r>1?Mb(o,r-1,e,i,n):$N(n,o):i||(n[n.length]=o)}return n}var LN=Mb,FN=LN;function RN(t){var r=t==null?0:t.length;return r?FN(t,1):[]}var VN=RN,NN=VN,jN=bb,HN=_b;function zN(t){return HN(jN(t,void 0,NN),t+"")}var Ab=zN,UN=xN,KN=Ab,WN=KN(function(t,r){return t==null?{}:UN(t,r)}),YN=WN;function GN(t,r){for(var e=-1,i=t==null?0:t.length;++en?0:n+r),e=e>n?n:e,e<0&&(e+=n),n=r>e?0:e-r>>>0,r>>>=0;for(var s=Array(n);++i1),s}),Vz(t,Hz(t),e),i&&(e=Lz(e,zz|Uz|Kz,Nz));for(var n=r.length;n--;)Fz(e,r[n]);return e}),td=Wz,Yz=Object.prototype,Gz=Yz.hasOwnProperty;function Zz(t,r){return t!=null&&Gz.call(t,r)}var qz=Zz,Qz=qz,Xz=gb;function Jz(t,r){return t!=null&&Xz(t,r,Qz)}var Vb=Jz,eU=Oo;function tU(t,r){return function(e,i){if(e==null)return e;if(!eU(e))return t(e,i);for(var n=e.length,s=r?n:-1,a=Object(e);(r?s--:++sObject.prototype.toString.call(t).slice(8,-1),rn=t=>qD(t)&&!isNaN(t.getTime()),Br=t=>mU(t)==="Object",zf=Vb,rd=(t,r)=>jb(r,e=>Vb(t,e)),yU=jb,rt=(t,r,e="0")=>{for(t=t!=null?String(t):"",r=r||2;t.length{const r={};return t.forEach(e=>Object.entries(e).forEach(([i,n])=>{r[i]?fr(r[i])?r[i].push(n):r[i]=[r[i],n]:r[i]=n})),r},_r=t=>!!(t&&t.month&&t.year),ba=(t,r)=>!_r(t)||!_r(r)?!1:t.year===r.year?t.month!_r(t)||!_r(r)?!1:t.year===r.year?t.month>r.month:t.year>r.year,Hb=(t,r,e)=>(t||!1)&&!ba(t,r)&&!$a(t,e),zc=(t,r)=>!t&&r||t&&!r?!1:!t&&!r?!0:t.month===r.month&&t.year===r.year,Ei=({month:t,year:r},e)=>{const i=e>0?1:-1;for(let n=0;n12?(t=1,r++):t<1&&(t=12,r--);return{month:t,year:r}},_U=(t,r)=>{if(!_r(t)||!_r(r))return[];const e=[];for(;!$a(t,r);)e.push(t),t=Ei(t,1);return e};function Uc(t,r){const e=rn(t),i=rn(r);return!e&&!i?!0:e!==i?!1:t.getTime()===r.getTime()}const xr=t=>fr(t)&&t.length>0,lm=(t,r,e)=>{const i=[];return e.forEach(n=>{const s=n.name||n.toString(),a=n.mixin,o=n.validate;if(Object.prototype.hasOwnProperty.call(t,s)){const l=o?o(t[s]):t[s];r[s]=a&&Br(l)?Pe(Pe({},a),l):l,i.push(s)}}),{target:r,assigned:i.length?i:null}},ar=(t,r,e,i)=>{t&&r&&e&&t.addEventListener(r,e,i)},or=(t,r,e,i)=>{t&&r&&t.removeEventListener(r,e,i)},Ba=(t,r)=>!!t&&!!r&&(t===r||t.contains(r)),zb=(t,r)=>{(t.key===" "||t.key==="Enter")&&(r(t),t.preventDefault())},lu=()=>{function t(){return((1+Math.random())*65536|0).toString(16).substring(1)}return`${t()+t()}-${t()}-${t()}-${t()}-${t()}${t()}${t()}`};function wU(t){let r=0,e=0,i;if(t.length===0)return r;for(e=0;e{const e=t.__vccOpts||t;for(const[i,n]of r)e[i]=n;return e};const SU={name:"CustomTransition",emits:["before-enter","before-transition","after-enter","after-transition"],props:{name:String,appear:Boolean},computed:{name_(){return`vc-${this.name||"none"}`}},methods:{beforeEnter(t){this.$emit("before-enter",t),this.$emit("before-transition",t)},afterEnter(t){this.$emit("after-enter",t),this.$emit("after-transition",t)}}};function PU(t,r,e,i,n,s){return S(),fe(Ds,{name:s.name_,appear:e.appear,onBeforeEnter:s.beforeEnter,onAfterEnter:s.afterEnter},{default:se(()=>[de(t.$slots,"default")]),_:3},8,["name","appear","onBeforeEnter","onAfterEnter"])}var Ub=Zs(SU,[["render",PU]]);const id={name:"Popover",emits:["before-show","after-show","before-hide","after-hide"],render(){return Ee("div",{class:["vc-popover-content-wrapper",{"is-interactive":this.isInteractive}],ref:"popover"},[Ee(Ub,{name:this.transition,appear:!0,"on-before-enter":this.beforeEnter,"on-after-enter":this.afterEnter,"on-before-leave":this.beforeLeave,"on-after-leave":this.afterLeave},{default:()=>this.isVisible?Ee("div",{tabindex:-1,class:["vc-popover-content",`direction-${this.direction}`,this.contentClass],style:this.contentStyle},[this.content,Ee("span",{class:["vc-popover-caret",`direction-${this.direction}`,`align-${this.alignment}`]})]):null})])},props:{id:{type:String,required:!0},contentClass:String},data(){return{ref:null,opts:null,data:null,transition:"slide-fade",transitionTranslate:"15px",transitionDuration:"0.15s",placement:"bottom",positionFixed:!1,modifiers:[],isInteractive:!1,isHovered:!1,isFocused:!1,showDelay:0,hideDelay:110,autoHide:!1,popperEl:null}},computed:{content(){return Mi(this.$slots.default)&&this.$slots.default({direction:this.direction,alignment:this.alignment,data:this.data,updateLayout:this.setupPopper,hide:t=>this.hide(t)})||this.$slots.default},contentStyle(){return{"--slide-translate":this.transitionTranslate,"--slide-duration":this.transitionDuration}},popperOptions(){return{placement:this.placement,strategy:this.positionFixed?"fixed":"absolute",modifiers:[{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:this.onPopperUpdate},...this.modifiers||[]],onFirstUpdate:this.onPopperUpdate}},isVisible(){return!!(this.ref&&this.content)},direction(){return this.placement&&this.placement.split("-")[0]||"bottom"},alignment(){const t=this.direction==="left"||this.direction==="right";let r=this.placement.split("-");return r=r.length>1?r[1]:"",["start","top","left"].includes(r)?t?"top":"left":["end","bottom","right"].includes(r)?t?"bottom":"right":t?"middle":"center"}},watch:{opts(t,r){r&&r.callback&&r.callback(tt(Pe({},r),{completed:!t,reason:t?"Overridden by action":null}))}},mounted(){this.popoverEl=this.$refs.popover,this.addEvents()},beforeUnmount(){this.destroyPopper(),this.removeEvents(),this.popoverEl=null},methods:{addEvents(){ar(this.popoverEl,"click",this.onClick),ar(this.popoverEl,"mouseover",this.onMouseOver),ar(this.popoverEl,"mouseleave",this.onMouseLeave),ar(this.popoverEl,"focusin",this.onFocusIn),ar(this.popoverEl,"focusout",this.onFocusOut),ar(document,"keydown",this.onDocumentKeydown),ar(document,"click",this.onDocumentClick),ar(document,"show-popover",this.onDocumentShowPopover),ar(document,"hide-popover",this.onDocumentHidePopover),ar(document,"toggle-popover",this.onDocumentTogglePopover),ar(document,"update-popover",this.onDocumentUpdatePopover)},removeEvents(){or(this.popoverEl,"click",this.onClick),or(this.popoverEl,"mouseover",this.onMouseOver),or(this.popoverEl,"mouseleave",this.onMouseLeave),or(this.popoverEl,"focusin",this.onFocusIn),or(this.popoverEl,"focusout",this.onFocusOut),or(document,"keydown",this.onDocumentKeydown),or(document,"click",this.onDocumentClick),or(document,"show-popover",this.onDocumentShowPopover),or(document,"hide-popover",this.onDocumentHidePopover),or(document,"toggle-popover",this.onDocumentTogglePopover),or(document,"update-popover",this.onDocumentUpdatePopover)},onClick(t){t.stopPropagation()},onMouseOver(){this.isHovered=!0,this.isInteractive&&this.show()},onMouseLeave(){this.isHovered=!1,this.autoHide&&!this.isFocused&&(!this.ref||this.ref!==document.activeElement)&&this.hide()},onFocusIn(){this.isFocused=!0,this.isInteractive&&this.show()},onFocusOut(t){(!t.relatedTarget||!Ba(this.popoverEl,t.relatedTarget))&&(this.isFocused=!1,!this.isHovered&&this.autoHide&&this.hide())},onDocumentClick(t){!this.$refs.popover||!this.ref||Ba(this.popoverEl,t.target)||Ba(this.ref,t.target)||this.hide()},onDocumentKeydown(t){(t.key==="Esc"||t.key==="Escape")&&this.hide()},onDocumentShowPopover({detail:t}){!t.id||t.id!==this.id||this.show(t)},onDocumentHidePopover({detail:t}){!t.id||t.id!==this.id||this.hide(t)},onDocumentTogglePopover({detail:t}){!t.id||t.id!==this.id||this.toggle(t)},onDocumentUpdatePopover({detail:t}){!t.id||t.id!==this.id||this.update(t)},show(t={}){t.action="show";const r=t.ref||this.ref,e=t.showDelay>=0?t.showDelay:this.showDelay;if(!r){t.callback&&t.callback({completed:!1,reason:"Invalid reference element provided"});return}clearTimeout(this.timeout),this.opts=t;const i=()=>{Object.assign(this,td(t,["id"])),this.setupPopper(),this.opts=null};e>0?this.timeout=setTimeout(()=>i(),e):i()},hide(t={}){t.action="hide";const r=t.ref||this.ref,e=t.hideDelay>=0?t.hideDelay:this.hideDelay;if(!this.ref||r!==this.ref){t.callback&&t.callback(tt(Pe({},t),{completed:!1,reason:this.ref?"Invalid reference element provided":"Popover already hidden"}));return}const i=()=>{this.ref=null,this.opts=null};clearTimeout(this.timeout),this.opts=t,e>0?this.timeout=setTimeout(i,e):i()},toggle(t={}){this.isVisible&&t.ref===this.ref?this.hide(t):this.show(t)},update(t={}){Object.assign(this,td(t,["id"])),this.setupPopper()},setupPopper(){this.$nextTick(()=>{!this.ref||!this.$refs.popover||(this.popper&&this.popper.reference!==this.ref&&this.destroyPopper(),this.popper?this.popper.update():this.popper=Fx(this.ref,this.popoverEl,this.popperOptions))})},onPopperUpdate(t){t.placement?this.placement=t.placement:t.state&&(this.placement=t.state.placement)},beforeEnter(t){this.$emit("before-show",t)},afterEnter(t){this.$emit("after-show",t)},beforeLeave(t){this.$emit("before-hide",t)},afterLeave(t){this.destroyPopper(),this.$emit("after-hide",t)},destroyPopper(){this.popper&&(this.popper.destroy(),this.popper=null)}}},CU={inject:["sharedState"],computed:{masks(){return this.sharedState.masks},theme(){return this.sharedState.theme},locale(){return this.sharedState.locale},dayPopoverId(){return this.sharedState.dayPopoverId}},methods:{format(t,r){return this.locale.format(t,r)},pageForDate(t){return this.locale.getDateParts(this.locale.normalizeDate(t))}}},OU=["base","start","end","startEnd"],kU=["class","contentClass","style","contentStyle","color","fillMode"],EU={color:"blue",isDark:!1,highlight:{base:{fillMode:"light"},start:{fillMode:"solid"},end:{fillMode:"solid"}},dot:{base:{fillMode:"solid"},start:{fillMode:"solid"},end:{fillMode:"solid"}},bar:{base:{fillMode:"solid"},start:{fillMode:"solid"},end:{fillMode:"solid"}},content:{base:{},start:{},end:{}}};class um{constructor(r){Object.assign(this,EU,r)}normalizeAttr({config:r,type:e}){let i=this.color,n={};const s=this[e];if(r===!0||Xi(r))i=Xi(r)?r:i,n=Pe({},s);else if(Br(r))rd(r,OU)?n=Pe({},r):n={base:Pe({},r),start:Pe({},r),end:Pe({},r)};else return null;return Aa(n,{start:n.startEnd,end:n.startEnd},s),Sl(n).forEach(([a,o])=>{let l=i;o===!0||Xi(o)?(l=Xi(o)?o:l,n[a]={color:l}):Br(o)&&(rd(o,kU)?n[a]=Pe({},o):n[a]={}),zf(n,`${a}.color`)||fA(n,`${a}.color`,l)}),n}normalizeHighlight(r){const e=this.normalizeAttr({config:r,type:"highlight"});return Sl(e).forEach(([i,n])=>{const s=Aa(n,{isDark:this.isDark,color:this.color});n.style=Pe(Pe({},this.getHighlightBgStyle(s)),n.style),n.contentStyle=Pe(Pe({},this.getHighlightContentStyle(s)),n.contentStyle)}),e}getHighlightBgStyle({fillMode:r,color:e,isDark:i}){switch(r){case"outline":case"none":return{backgroundColor:i?"var(--gray-900)":"var(--white)",border:"2px solid",borderColor:i?`var(--${e}-200)`:`var(--${e}-700)`,borderRadius:"var(--rounded-full)"};case"light":return{backgroundColor:i?`var(--${e}-800)`:`var(--${e}-200)`,opacity:i?.75:1,borderRadius:"var(--rounded-full)"};case"solid":return{backgroundColor:i?`var(--${e}-500)`:`var(--${e}-600)`,borderRadius:"var(--rounded-full)"};default:return{borderRadius:"var(--rounded-full)"}}}getHighlightContentStyle({fillMode:r,color:e,isDark:i}){switch(r){case"outline":case"none":return{fontWeight:"var(--font-bold)",color:i?`var(--${e}-100)`:`var(--${e}-900)`};case"light":return{fontWeight:"var(--font-bold)",color:i?`var(--${e}-100)`:`var(--${e}-900)`};case"solid":return{fontWeight:"var(--font-bold)",color:"var(--white)"};default:return""}}bgAccentHigh({color:r,isDark:e}){return{backgroundColor:e?`var(--${r}-500)`:`var(--${r}-600)`}}contentAccent({color:r,isDark:e}){return r?{fontWeight:"var(--font-bold)",color:e?`var(--${r}-100)`:`var(--${r}-900)`}:null}normalizeDot(r){return this.normalizeNonHighlight("dot",r,this.bgAccentHigh)}normalizeBar(r){return this.normalizeNonHighlight("bar",r,this.bgAccentHigh)}normalizeContent(r){return this.normalizeNonHighlight("content",r,this.contentAccent)}normalizeNonHighlight(r,e,i){const n=this.normalizeAttr({type:r,config:e});return Sl(n).forEach(([s,a])=>{Aa(a,{isDark:this.isDark,color:this.color}),a.style=Pe(Pe({},i(a)),a.style)}),n}}var Cl=6e4;function cm(t){return t.getTime()%Cl}function uu(t){var r=new Date(t.getTime()),e=Math.ceil(r.getTimezoneOffset());r.setSeconds(0,0);var i=e>0,n=i?(Cl+cm(r))%Cl:cm(r);return e*Cl+n}function TU(t,r){var e=MU(r);return e.formatToParts?DU(e,t):IU(e,t)}var xU={year:0,month:1,day:2,hour:3,minute:4,second:5};function DU(t,r){for(var e=t.formatToParts(r),i=[],n=0;n=0&&(i[s]=parseInt(e[n].value,10))}return i}function IU(t,r){var e=t.format(r).replace(/\u200E/g,""),i=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(e);return[i[3],i[1],i[2],i[4],i[5],i[6]]}var Kc={};function MU(t){if(!Kc[t]){var r=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),e=r==="06/25/2014, 00:00:00"||r==="\u200E06\u200E/\u200E25\u200E/\u200E2014\u200E \u200E00\u200E:\u200E00\u200E:\u200E00";Kc[t]=e?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return Kc[t]}var hm=36e5,AU=6e4,Go={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-])(\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/,timezoneIANA:/(UTC|(?:[a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?))$/};function dm(t,r){var e,i;if(e=Go.timezoneZ.exec(t),e)return 0;var n;if(e=Go.timezoneHH.exec(t),e)return n=parseInt(e[2],10),fm()?(i=n*hm,e[1]==="+"?-i:i):NaN;if(e=Go.timezoneHHMM.exec(t),e){n=parseInt(e[2],10);var s=parseInt(e[3],10);return fm(n,s)?(i=n*hm+s*AU,e[1]==="+"?-i:i):NaN}if(e=Go.timezoneIANA.exec(t),e){var a=TU(r,t),o=Date.UTC(a[0],a[1]-1,a[2],a[3],a[4],a[5]),l=r.getTime()-r.getTime()%1e3;return-(o-l)}return 0}function fm(t,r){return!(r!=null&&(r<0||r>59))}var Wc=36e5,pm=6e4,$U=2,Gt={dateTimeDelimeter:/[T ]/,plainTime:/:/,timeZoneDelimeter:/[Z ]/i,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timezone:/([Z+-].*| UTC|(?:[a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?))$/};function gm(t,r){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(t===null)return new Date(NaN);var e=r||{},i=e.additionalDigits==null?$U:fi(e.additionalDigits);if(i!==2&&i!==1&&i!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]")return new Date(t.getTime());if(typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]")return new Date(t);if(!(typeof t=="string"||Object.prototype.toString.call(t)==="[object String]"))return new Date(NaN);var n=BU(t),s=LU(n.date,i),a=s.year,o=s.restDateString,l=FU(o,a);if(isNaN(l))return new Date(NaN);if(l){var u=l.getTime(),c=0,h;if(n.time&&(c=RU(n.time),isNaN(c)))return new Date(NaN);if(n.timezone||e.timeZone){if(h=dm(n.timezone||e.timeZone,new Date(u+c)),isNaN(h))return new Date(NaN);if(h=dm(n.timezone||e.timeZone,new Date(u+c+h)),isNaN(h))return new Date(NaN)}else h=uu(new Date(u+c)),h=uu(new Date(u+c+h));return new Date(u+c+h)}else return new Date(NaN)}function BU(t){var r={},e=t.split(Gt.dateTimeDelimeter),i;if(Gt.plainTime.test(e[0])?(r.date=null,i=e[0]):(r.date=e[0],i=e[1],r.timezone=e[2],Gt.timeZoneDelimeter.test(r.date)&&(r.date=t.split(Gt.timeZoneDelimeter)[0],i=t.substr(r.date.length,t.length))),i){var n=Gt.timezone.exec(i);n?(r.time=i.replace(n[1],""),r.timezone=n[1]):r.time=i}return r}function LU(t,r){var e=Gt.YYY[r],i=Gt.YYYYY[r],n;if(n=Gt.YYYY.exec(t)||i.exec(t),n){var s=n[1];return{year:parseInt(s,10),restDateString:t.slice(s.length)}}if(n=Gt.YY.exec(t)||e.exec(t),n){var a=n[1];return{year:parseInt(a,10)*100,restDateString:t.slice(a.length)}}return{year:null}}function FU(t,r){if(r===null)return null;var e,i,n,s;if(t.length===0)return i=new Date(0),i.setUTCFullYear(r),i;if(e=Gt.MM.exec(t),e)return i=new Date(0),n=parseInt(e[1],10)-1,mm(r,n)?(i.setUTCFullYear(r,n),i):new Date(NaN);if(e=Gt.DDD.exec(t),e){i=new Date(0);var a=parseInt(e[1],10);return jU(r,a)?(i.setUTCFullYear(r,0,a),i):new Date(NaN)}if(e=Gt.MMDD.exec(t),e){i=new Date(0),n=parseInt(e[1],10)-1;var o=parseInt(e[2],10);return mm(r,n,o)?(i.setUTCFullYear(r,n,o),i):new Date(NaN)}if(e=Gt.Www.exec(t),e)return s=parseInt(e[1],10)-1,ym(r,s)?vm(r,s):new Date(NaN);if(e=Gt.WwwD.exec(t),e){s=parseInt(e[1],10)-1;var l=parseInt(e[2],10)-1;return ym(r,s,l)?vm(r,s,l):new Date(NaN)}return null}function RU(t){var r,e,i;if(r=Gt.HH.exec(t),r)return e=parseFloat(r[1].replace(",",".")),Yc(e)?e%24*Wc:NaN;if(r=Gt.HHMM.exec(t),r)return e=parseInt(r[1],10),i=parseFloat(r[2].replace(",",".")),Yc(e,i)?e%24*Wc+i*pm:NaN;if(r=Gt.HHMMSS.exec(t),r){e=parseInt(r[1],10),i=parseInt(r[2],10);var n=parseFloat(r[3].replace(",","."));return Yc(e,i,n)?e%24*Wc+i*pm+n*1e3:NaN}return null}function vm(t,r,e){r=r||0,e=e||0;var i=new Date(0);i.setUTCFullYear(t,0,4);var n=i.getUTCDay()||7,s=r*7+e+1-n;return i.setUTCDate(i.getUTCDate()+s),i}var VU=[31,28,31,30,31,30,31,31,30,31,30,31],NU=[31,29,31,30,31,30,31,31,30,31,30,31];function Kb(t){return t%400===0||t%4===0&&t%100!==0}function mm(t,r,e){if(r<0||r>11)return!1;if(e!=null){if(e<1)return!1;var i=Kb(t);if(i&&e>NU[r]||!i&&e>VU[r])return!1}return!0}function jU(t,r){if(r<1)return!1;var e=Kb(t);return!(e&&r>366||!e&&r>365)}function ym(t,r,e){return!(r<0||r>52||e!=null&&(e<0||e>6))}function Yc(t,r,e){return!(t!=null&&(t<0||t>=25)||r!=null&&(r<0||r>=60)||e!=null&&(e<0||e>=60))}function Ln(t,r){ir(1,arguments);var e=r||{},i=e.locale,n=i&&i.options&&i.options.weekStartsOn,s=n==null?0:fi(n),a=e.weekStartsOn==null?s:fi(e.weekStartsOn);if(!(a>=0&&a<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var o=Vi(t),l=o.getDay(),u=(l=n.getTime()?e+1:r.getTime()>=a.getTime()?e:e-1}function zU(t){ir(1,arguments);var r=HU(t),e=new Date(0);e.setFullYear(r,0,4),e.setHours(0,0,0,0);var i=cu(e);return i}var UU=6048e5;function KU(t){ir(1,arguments);var r=Vi(t),e=cu(r).getTime()-zU(r).getTime();return Math.round(e/UU)+1}function WU(t,r){ir(1,arguments);var e=Vi(t),i=e.getFullYear(),n=r||{},s=n.locale,a=s&&s.options&&s.options.firstWeekContainsDate,o=a==null?1:fi(a),l=n.firstWeekContainsDate==null?o:fi(n.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=new Date(0);u.setFullYear(i+1,0,l),u.setHours(0,0,0,0);var c=Ln(u,r),h=new Date(0);h.setFullYear(i,0,l),h.setHours(0,0,0,0);var d=Ln(h,r);return e.getTime()>=c.getTime()?i+1:e.getTime()>=d.getTime()?i:i-1}function YU(t,r){ir(1,arguments);var e=r||{},i=e.locale,n=i&&i.options&&i.options.firstWeekContainsDate,s=n==null?1:fi(n),a=e.firstWeekContainsDate==null?s:fi(e.firstWeekContainsDate),o=WU(t,r),l=new Date(0);l.setFullYear(o,0,a),l.setHours(0,0,0,0);var u=Ln(l,r);return u}var GU=6048e5;function ZU(t,r){ir(1,arguments);var e=Vi(t),i=Ln(e,r).getTime()-YU(e,r).getTime();return Math.round(i/GU)+1}var qU=6048e5;function QU(t,r,e){ir(2,arguments);var i=Ln(t,e),n=Ln(r,e),s=i.getTime()-uu(i),a=n.getTime()-uu(n);return Math.round((s-a)/qU)}function XU(t){ir(1,arguments);var r=Vi(t),e=r.getMonth();return r.setFullYear(r.getFullYear(),e+1,0),r.setHours(0,0,0,0),r}function JU(t){ir(1,arguments);var r=Vi(t);return r.setDate(1),r.setHours(0,0,0,0),r}function eK(t,r){return ir(1,arguments),QU(XU(t),JU(t),r)+1}const tK=24*60*60*1e3;class Lt{constructor(r,{order:e=0,locale:i,isFullDay:n}={}){if(this.isDateInfo=!0,this.order=e,this.locale=i instanceof hu?i:new hu(i),this.firstDayOfWeek=this.locale.firstDayOfWeek,!Br(r)){const l=this.locale.normalizeDate(r);n?r={start:l,end:l}:r={startOn:l,endOn:l}}let s=null,a=null;if(r.start?s=this.locale.normalizeDate(r.start,tt(Pe({},this.opts),{time:"00:00:00"})):r.startOn&&(s=this.locale.normalizeDate(r.startOn,this.opts)),r.end?a=this.locale.normalizeDate(r.end,tt(Pe({},this.opts),{time:"23:59:59"})):r.endOn&&(a=this.locale.normalizeDate(r.endOn,this.opts)),s&&a&&s>a){const l=s;s=a,a=l}else s&&r.span>=1&&(a=ai(s,r.span-1));this.start=s,this.startTime=s?s.getTime():NaN,this.end=a,this.endTime=a?a.getTime():NaN,this.isDate=this.startTime&&this.startTime===this.endTime,this.isRange=!this.isDate;const o=lm(r,{},Lt.patternProps);if(o.assigned&&(this.on={and:o.target}),r.on){const l=(fr(r.on)?r.on:[r.on]).map(u=>{if(Mi(u))return u;const c=lm(u,{},Lt.patternProps);return c.assigned?c.target:null}).filter(u=>u);l.length&&(this.on=tt(Pe({},this.on),{or:l}))}this.isComplex=!!this.on}get opts(){return{order:this.order,locale:this.locale}}toDateInfo(r){return r.isDateInfo?r:new Lt(r,this.opts)}startOfWeek(r){const e=r.getDay()+1,i=e>=this.firstDayOfWeek?this.firstDayOfWeek-e:-(7-(this.firstDayOfWeek-e));return ai(r,i)}diffInDays(r,e){return Math.round((e-r)/tK)}diffInWeeks(r,e){return this.diffInDays(this.startOfWeek(r),this.startOfWeek(e))}diffInYears(r,e){return e.getUTCFullYear()-r.getUTCFullYear()}diffInMonths(r,e){return this.diffInYears(r,e)*12+(e.getMonth()-r.getMonth())}static get patterns(){return{dailyInterval:{test:(r,e,i)=>i.diffInDays(i.start||new Date,r.date)%e===0},weeklyInterval:{test:(r,e,i)=>i.diffInWeeks(i.start||new Date,r.date)%e===0},monthlyInterval:{test:(r,e,i)=>i.diffInMonths(i.start||new Date,r.date)%e===0},yearlyInterval:{test:()=>(r,e,i)=>i.diffInYears(i.start||new Date,r.date)%e===0},days:{validate:r=>fr(r)?r:[parseInt(r,10)],test:(r,e)=>e.includes(r.day)||e.includes(-r.dayFromEnd)},weekdays:{validate:r=>fr(r)?r:[parseInt(r,10)],test:(r,e)=>e.includes(r.weekday)},ordinalWeekdays:{validate:r=>Object.keys(r).reduce((e,i)=>{const n=r[i];return n&&(e[i]=fr(n)?n:[parseInt(n,10)]),e},{}),test:(r,e)=>Object.keys(e).map(i=>parseInt(i,10)).find(i=>e[i].includes(r.weekday)&&(i===r.weekdayOrdinal||i===-r.weekdayOrdinalFromEnd))},weekends:{validate:r=>r,test:r=>r.weekday===1||r.weekday===7},workweek:{validate:r=>r,test:r=>r.weekday>=2&&r.weekday<=6},weeks:{validate:r=>fr(r)?r:[parseInt(r,10)],test:(r,e)=>e.includes(r.week)||e.includes(-r.weekFromEnd)},months:{validate:r=>fr(r)?r:[parseInt(r,10)],test:(r,e)=>e.includes(r.month)},years:{validate:r=>fr(r)?r:[parseInt(r,10)],test:(r,e)=>e.includes(r.year)}}}static get patternProps(){return Object.keys(Lt.patterns).map(r=>({name:r,validate:Lt.patterns[r].validate}))}static testConfig(r,e,i){return Mi(r)?r(e):Br(r)?Object.keys(r).every(n=>Lt.patterns[n].test(e,r[n],i)):null}iterateDatesInRange({start:r,end:e},i){if(!r||!e||!Mi(i))return null;r=this.locale.normalizeDate(r,tt(Pe({},this.opts),{time:"00:00:00"}));const n={i:0,date:r,day:this.locale.getDateParts(r),finished:!1};let s=null;for(;!n.finished&&n.date<=e;n.i++)s=i(n),n.date=ai(n.date,1),n.day=this.locale.getDateParts(n.date);return s}shallowIntersectingRange(r){return this.rangeShallowIntersectingRange(this,this.toDateInfo(r))}rangeShallowIntersectingRange(r,e){if(!this.dateShallowIntersectsDate(r,e))return null;const i=r.toRange(),n=e.toRange();let s=null,a=null;return i.start?n.start?s=i.start>n.start?i.start:n.start:s=i.start:n.start&&(s=n.start),i.end?n.end?a=i.end{this.matchesDay(s.day)&&(n=n||e.matchesDay(s.day),s.finished=n)}),n}shallowIntersectsDate(r){return this.dateShallowIntersectsDate(this,this.toDateInfo(r))}dateShallowIntersectsDate(r,e){return r.isDate?e.isDate?r.startTime===e.startTime:this.dateShallowIncludesDate(e,r):e.isDate?this.dateShallowIncludesDate(r,e):!(r.start&&e.end&&r.start>e.end||r.end&&e.start&&r.end{this.matchesDay(s.day)&&(n=n&&e.matchesDay(s.day),s.finished=!n)}),n}shallowIncludesDate(r){return this.dateShallowIncludesDate(this,r.isDate?r:new Lt(r,this.opts))}dateShallowIncludesDate(r,e){return r.isDate?e.isDate?r.startTime===e.startTime:!e.startTime||!e.endTime?!1:r.startTime===e.startTime&&r.startTime===e.endTime:e.isDate?!(r.start&&e.startr.end):!(r.start&&(!e.start||e.startr.end))}intersectsDay(r){return this.shallowIntersectsDate(r.range)&&this.matchesDay(r)?this:null}matchesDay(r){return this.on?!(this.on.and&&!Lt.testConfig(this.on.and,r,this)||this.on.or&&!this.on.or.some(e=>Lt.testConfig(e,r,this))):!0}toRange(){return new Lt({start:this.start,end:this.end},this.opts)}compare(r){if(this.order!==r.order)return this.order-r.order;if(this.isDate!==r.isDate)return this.isDate?1:-1;if(this.isDate)return 0;const e=this.start-r.start;return e!==0?e:this.end-r.end}}const Vr={ar:{dow:7,L:"D/\u200FM/\u200FYYYY"},bg:{dow:2,L:"D.MM.YYYY"},ca:{dow:2,L:"DD/MM/YYYY"},"zh-CN":{dow:2,L:"YYYY/MM/DD"},"zh-TW":{dow:1,L:"YYYY/MM/DD"},hr:{dow:2,L:"DD.MM.YYYY"},cs:{dow:2,L:"DD.MM.YYYY"},da:{dow:2,L:"DD.MM.YYYY"},nl:{dow:2,L:"DD-MM-YYYY"},"en-US":{dow:1,L:"MM/DD/YYYY"},"en-AU":{dow:2,L:"DD/MM/YYYY"},"en-CA":{dow:1,L:"YYYY-MM-DD"},"en-GB":{dow:2,L:"DD/MM/YYYY"},"en-IE":{dow:2,L:"DD-MM-YYYY"},"en-NZ":{dow:2,L:"DD/MM/YYYY"},"en-ZA":{dow:1,L:"YYYY/MM/DD"},eo:{dow:2,L:"YYYY-MM-DD"},et:{dow:2,L:"DD.MM.YYYY"},fi:{dow:2,L:"DD.MM.YYYY"},fr:{dow:2,L:"DD/MM/YYYY"},"fr-CA":{dow:1,L:"YYYY-MM-DD"},"fr-CH":{dow:2,L:"DD.MM.YYYY"},de:{dow:2,L:"DD.MM.YYYY"},he:{dow:1,L:"DD.MM.YYYY"},id:{dow:2,L:"DD/MM/YYYY"},it:{dow:2,L:"DD/MM/YYYY"},ja:{dow:1,L:"YYYY\u5E74M\u6708D\u65E5"},ko:{dow:1,L:"YYYY.MM.DD"},lv:{dow:2,L:"DD.MM.YYYY"},lt:{dow:2,L:"DD.MM.YYYY"},mk:{dow:2,L:"D.MM.YYYY"},nb:{dow:2,L:"D. MMMM YYYY"},nn:{dow:2,L:"D. MMMM YYYY"},pl:{dow:2,L:"DD.MM.YYYY"},pt:{dow:2,L:"DD/MM/YYYY"},ro:{dow:2,L:"DD.MM.YYYY"},ru:{dow:2,L:"DD.MM.YYYY"},sk:{dow:2,L:"DD.MM.YYYY"},"es-ES":{dow:2,L:"DD/MM/YYYY"},"es-MX":{dow:2,L:"DD/MM/YYYY"},sv:{dow:2,L:"YYYY-MM-DD"},th:{dow:1,L:"DD/MM/YYYY"},tr:{dow:2,L:"DD.MM.YYYY"},uk:{dow:2,L:"DD.MM.YYYY"},vi:{dow:2,L:"DD/MM/YYYY"}};Vr.en=Vr["en-US"];Vr.es=Vr["es-ES"];Vr.no=Vr.nb;Vr.zh=Vr["zh-CN"];Sl(Vr).forEach(([t,{dow:r,L:e}])=>{Vr[t]={id:t,firstDayOfWeek:r,masks:{L:e}}});const Wi={DATE_TIME:1,DATE:2,TIME:3},rK={1:["year","month","day","hours","minutes","seconds","milliseconds"],2:["year","month","day"],3:["hours","minutes","seconds","milliseconds"]},bm=/d{1,2}|W{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|Z{1,4}|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,Yi=/\d\d?/,iK=/\d{3}/,nK=/\d{4}/,da=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF/]+(\s*?[\u0600-\u06FF]+){1,2}/i,sK=/\[([^]*?)\]/gm,_m=()=>{},wm=t=>(r,e,i)=>{const n=i[t].indexOf(e.charAt(0).toUpperCase()+e.substring(1).toLowerCase());~n&&(r.month=n)},aK=["L","iso"],nr=7,oK=[31,28,31,30,31,30,31,31,30,31,30,31],lK=[{value:0,label:"00"},{value:1,label:"01"},{value:2,label:"02"},{value:3,label:"03"},{value:4,label:"04"},{value:5,label:"05"},{value:6,label:"06"},{value:7,label:"07"},{value:8,label:"08"},{value:9,label:"09"},{value:10,label:"10"},{value:11,label:"11"},{value:12,label:"12"},{value:13,label:"13"},{value:14,label:"14"},{value:15,label:"15"},{value:16,label:"16"},{value:17,label:"17"},{value:18,label:"18"},{value:19,label:"19"},{value:20,label:"20"},{value:21,label:"21"},{value:22,label:"22"},{value:23,label:"23"}],Sm={D(t){return t.day},DD(t){return rt(t.day)},Do(t,r){return r.DoFn(t.day)},d(t){return t.weekday-1},dd(t){return rt(t.weekday-1)},W(t,r){return r.dayNamesNarrow[t.weekday-1]},WW(t,r){return r.dayNamesShorter[t.weekday-1]},WWW(t,r){return r.dayNamesShort[t.weekday-1]},WWWW(t,r){return r.dayNames[t.weekday-1]},M(t){return t.month},MM(t){return rt(t.month)},MMM(t,r){return r.monthNamesShort[t.month-1]},MMMM(t,r){return r.monthNames[t.month-1]},YY(t){return String(t.year).substring(2)},YYYY(t){return rt(t.year,4)},h(t){return t.hours%12||12},hh(t){return rt(t.hours%12||12)},H(t){return t.hours},HH(t){return rt(t.hours)},m(t){return t.minutes},mm(t){return rt(t.minutes)},s(t){return t.seconds},ss(t){return rt(t.seconds)},S(t){return Math.round(t.milliseconds/100)},SS(t){return rt(Math.round(t.milliseconds/10),2)},SSS(t){return rt(t.milliseconds,3)},a(t,r){return t.hours<12?r.amPm[0]:r.amPm[1]},A(t,r){return t.hours<12?r.amPm[0].toUpperCase():r.amPm[1].toUpperCase()},Z(){return"Z"},ZZ(t){const r=t.timezoneOffset;return`${r>0?"-":"+"}${rt(Math.floor(Math.abs(r)/60),2)}`},ZZZ(t){const r=t.timezoneOffset;return`${r>0?"-":"+"}${rt(Math.floor(Math.abs(r)/60)*100+Math.abs(r)%60,4)}`},ZZZZ(t){const r=t.timezoneOffset;return`${r>0?"-":"+"}${rt(Math.floor(Math.abs(r)/60),2)}:${rt(Math.abs(r)%60,2)}`}},wt={D:[Yi,(t,r)=>{t.day=r}],Do:[new RegExp(Yi.source+da.source),(t,r)=>{t.day=parseInt(r,10)}],d:[Yi,_m],W:[da,_m],M:[Yi,(t,r)=>{t.month=r-1}],MMM:[da,wm("monthNamesShort")],MMMM:[da,wm("monthNames")],YY:[Yi,(t,r)=>{const i=+new Date().getFullYear().toString().substring(0,2);t.year=`${r>68?i-1:i}${r}`}],YYYY:[nK,(t,r)=>{t.year=r}],S:[/\d/,(t,r)=>{t.millisecond=r*100}],SS:[/\d{2}/,(t,r)=>{t.millisecond=r*10}],SSS:[iK,(t,r)=>{t.millisecond=r}],h:[Yi,(t,r)=>{t.hour=r}],m:[Yi,(t,r)=>{t.minute=r}],s:[Yi,(t,r)=>{t.second=r}],a:[da,(t,r,e)=>{const i=r.toLowerCase();i===e.amPm[0]?t.isPm=!1:i===e.amPm[1]&&(t.isPm=!0)}],Z:[/[^\s]*?[+-]\d\d:?\d\d|[^\s]*?Z?/,(t,r)=>{r==="Z"&&(r="+00:00");const e=`${r}`.match(/([+-]|\d\d)/gi);if(e){const i=+(e[1]*60)+parseInt(e[2],10);t.timezoneOffset=e[0]==="+"?i:-i}}]};wt.DD=wt.D;wt.dd=wt.d;wt.WWWW=wt.WWW=wt.WW=wt.W;wt.MM=wt.M;wt.mm=wt.m;wt.hh=wt.H=wt.HH=wt.h;wt.ss=wt.s;wt.A=wt.a;wt.ZZZZ=wt.ZZZ=wt.ZZ=wt.Z;function uK(t,r){const e=new Intl.DateTimeFormat().resolvedOptions().locale;let i;Xi(t)?i=t:zf(t,"id")&&(i=t.id),i=(i||e).toLowerCase();const n=Object.keys(r),s=o=>n.find(l=>l.toLowerCase()===o);i=s(i)||s(i.substring(0,2))||e;const a=tt(Pe(Pe({},r["en-IE"]),r[i]),{id:i});return t=Br(t)?Hf(t,a):a,t}class hu{constructor(r,{locales:e=Vr,timezone:i}={}){const{id:n,firstDayOfWeek:s,masks:a}=uK(r,e);this.id=n,this.daysInWeek=nr,this.firstDayOfWeek=f9(s,1,nr),this.masks=a,this.timezone=i||void 0,this.dayNames=this.getDayNames("long"),this.dayNamesShort=this.getDayNames("short"),this.dayNamesShorter=this.dayNamesShort.map(o=>o.substring(0,2)),this.dayNamesNarrow=this.getDayNames("narrow"),this.monthNames=this.getMonthNames("long"),this.monthNamesShort=this.getMonthNames("short"),this.amPm=["am","pm"],this.monthData={},this.getMonthComps=this.getMonthComps.bind(this),this.parse=this.parse.bind(this),this.format=this.format.bind(this),this.toPage=this.toPage.bind(this)}format(r,e){if(r=this.normalizeDate(r),!r)return"";e=this.normalizeMasks(e)[0];const i=[];e=e.replace(sK,(a,o)=>(i.push(o),"??"));const n=/Z$/.test(e)?"utc":this.timezone,s=this.getDateParts(r,n);return e=e.replace(bm,a=>a in Sm?Sm[a](s,this):a.slice(1,a.length-1)),e.replace(/\?\?/g,()=>i.shift())}parse(r,e){return this.normalizeMasks(e).map(n=>{if(typeof n!="string")throw new Error("Invalid mask in fecha.parse");let s=r;if(s.length>1e3)return!1;let a=!0;const o={};if(n.replace(bm,c=>{if(wt[c]){const h=wt[c],d=s.search(h[0]);~d?s.replace(h[0],f=>(h[1](o,f,this),s=s.substring(d+f.length),f)):a=!1}return wt[c]?"":c.slice(1,c.length-1)}),!a)return!1;const l=new Date;o.isPm===!0&&o.hour!=null&&+o.hour!=12?o.hour=+o.hour+12:o.isPm===!1&&+o.hour==12&&(o.hour=0);let u;return o.timezoneOffset!=null?(o.minute=+(o.minute||0)-+o.timezoneOffset,u=new Date(Date.UTC(o.year||l.getFullYear(),o.month||0,o.day||1,o.hour||0,o.minute||0,o.second||0,o.millisecond||0))):u=this.getDateFromParts({year:o.year||l.getFullYear(),month:(o.month||0)+1,day:o.day||1,hours:o.hour||0,minutes:o.minute||0,seconds:o.second||0,milliseconds:o.millisecond||0}),u}).find(n=>n)||new Date(r)}normalizeMasks(r){return(xr(r)&&r||[Xi(r)&&r||"YYYY-MM-DD"]).map(e=>aK.reduce((i,n)=>i.replace(n,this.masks[n]||""),e))}normalizeDate(r,e={}){let i=null,{type:n,fillDate:s}=e;const{mask:a,patch:o,time:l}=e,u=n==="auto"||!n;if(Ma(r)?(n="number",i=new Date(+r)):Xi(r)?(n="string",i=r?this.parse(r,a||"iso"):null):Br(r)?(n="object",i=this.getDateFromParts(r)):(n="date",i=rn(r)?new Date(r.getTime()):null),i&&o){s=s==null?new Date:this.normalizeDate(s);const c=Pe(Pe({},this.getDateParts(s)),YN(this.getDateParts(i),rK[o]));i=this.getDateFromParts(c)}return u&&(e.type=n),i&&!isNaN(i.getTime())?(l&&(i=this.adjustTimeForDate(i,{timeAdjust:l})),i):null}denormalizeDate(r,{type:e,mask:i}={}){switch(e){case"number":return r?r.getTime():NaN;case"string":return r?this.format(r,i||"iso"):"";default:return r?new Date(r):null}}hourIsValid(r,e,i){if(!e)return!0;if(fr(e))return e.includes(r);if(Br(e)){const n=e.min||0,s=e.max||24;return n<=r&&s>=r}return e(r,i)}getHourOptions(r,e){return lK.filter(i=>this.hourIsValid(i.value,r,e))}getMinuteOptions(r){const e=[];r=r>0?r:1;for(let i=0;i<=59;i+=r)e.push({value:i,label:rt(i,2)});return e}nearestOptionValue(r,e){if(r==null)return r;const i=e.reduce((n,s)=>{if(s.disabled)return n;if(isNaN(n))return s.value;const a=Math.abs(n-r);return Math.abs(s.value-r)i&&(i instanceof Lt?i:new Lt(i,e))).filter(i=>i)}getDateParts(r,e=this.timezone){if(!r)return null;let i=r;if(e){const w=new Date(r.toLocaleString("en-US",{timeZone:e}));w.setMilliseconds(r.getMilliseconds());const C=w.getTime()-r.getTime();i=new Date(r.getTime()+C)}const n=i.getMilliseconds(),s=i.getSeconds(),a=i.getMinutes(),o=i.getHours(),l=i.getMonth()+1,u=i.getFullYear(),c=this.getMonthComps(l,u),h=i.getDate(),d=c.days-h+1,f=i.getDay()+1,p=Math.floor((h-1)/7+1),g=Math.floor((c.days-h)/7+1),v=Math.ceil((h+Math.abs(c.firstWeekday-c.firstDayOfWeek))/7),y=c.weeks-v+1,m={milliseconds:n,seconds:s,minutes:a,hours:o,day:h,dayFromEnd:d,weekday:f,weekdayOrdinal:p,weekdayOrdinalFromEnd:g,week:v,weekFromEnd:y,month:l,year:u,date:r,isValid:!0};return m.timezoneOffset=this.getTimezoneOffset(m),m}getDateFromParts(r){if(!r)return null;const e=new Date,{year:i=e.getFullYear(),month:n=e.getMonth()+1,day:s=e.getDate(),hours:a=0,minutes:o=0,seconds:l=0,milliseconds:u=0}=r;if(this.timezone){const c=`${rt(i,4)}-${rt(n,2)}-${rt(s,2)}T${rt(a,2)}:${rt(o,2)}:${rt(l,2)}.${rt(u,3)}`;return gm(c,{timeZone:this.timezone})}return new Date(i,n-1,s,a,o,l,u)}getTimezoneOffset(r){const{year:e,month:i,day:n,hours:s=0,minutes:a=0,seconds:o=0,milliseconds:l=0}=r;let u;const c=new Date(Date.UTC(e,i-1,n,s,a,o,l));if(this.timezone){const h=`${rt(e,4)}-${rt(i,2)}-${rt(n,2)}T${rt(s,2)}:${rt(a,2)}:${rt(o,2)}.${rt(l,3)}`;u=gm(h,{timeZone:this.timezone})}else u=new Date(e,i-1,n,s,a,o,l);return(u-c)/6e4}toPage(r,e){return Ma(r)?Ei(e,r):Xi(r)?this.getDateParts(this.normalizeDate(r)):rn(r)?this.getDateParts(r):Br(r)?r:null}getMonthDates(r=2e3){const e=[];for(let i=0;i<12;i++)e.push(new Date(r,i,15));return e}getMonthNames(r){const e=new Intl.DateTimeFormat(this.id,{month:r,timezome:"UTC"});return this.getMonthDates().map(i=>e.format(i))}getWeekdayDates(r=this.firstDayOfWeek){const e=[],s=5+r-1;for(let a=0;ae.format(i))}getMonthComps(r,e){const i=`${r}-${e}`;let n=this.monthData[i];if(!n){const s=e%4===0&&e%100!==0||e%400===0,a=new Date(e,r-1,1),o=a.getDay()+1,l=r===2&&s?29:oK[r-1],u=this.firstDayOfWeek-1,c=eK(a,{weekStartsOn:u}),h=[],d=[];for(let f=0;f(we,$,te,pe)=>this.normalizeDate({year:H,month:q,day:_e,hours:we,minutes:$,seconds:te,milliseconds:pe});for(let H=1;H<=r;H++){for(let q=1,_e=a;q<=nr;q++,_e+=_e===nr?1-nr:1){h&&_e===o&&(g=1,v=e.days,y=Math.floor((g-1)/nr+1),m=Math.floor((e.days-g)/nr+1),w=1,C=e.weeks,P=e.month,T=e.year,h=!1,d=!0);const we=ge(T,P,g),$={start:we(0,0,0),end:we(23,59,59,999)},te=$.start,pe=`${rt(T,4)}-${rt(P,2)}-${rt(g,2)}`,Te=q,Je=nr-q,Ce=u[H-1],xe=l[H-1],he=g===D&&P===R&&T===Q,De=d&&g===1,L=d&&g===e.days,U=H===1,G=H===r,A=q===1,z=q===nr;s.push({id:pe,label:g.toString(),ariaLabel:p.format(new Date(T,P-1,g)),day:g,dayFromEnd:v,weekday:_e,weekdayPosition:Te,weekdayPositionFromEnd:Je,weekdayOrdinal:y,weekdayOrdinalFromEnd:m,week:w,weekFromEnd:C,weeknumber:Ce,isoWeeknumber:xe,month:P,year:T,dateFromTime:we,date:te,range:$,isToday:he,isFirstDay:De,isLastDay:L,inMonth:d,inPrevMonth:h,inNextMonth:f,onTop:U,onBottom:G,onLeft:A,onRight:z,classes:[`id-${pe}`,`day-${g}`,`day-from-end-${v}`,`weekday-${_e}`,`weekday-position-${Te}`,`weekday-ordinal-${y}`,`weekday-ordinal-from-end-${m}`,`week-${w}`,`week-from-end-${C}`,{"is-today":he,"is-first-day":De,"is-last-day":L,"in-month":d,"in-prev-month":h,"in-next-month":f,"on-top":U,"on-bottom":G,"on-left":A,"on-right":z}]}),d&&L?(d=!1,f=!0,g=1,v=n.days,y=1,m=Math.floor((n.days-g)/nr+1),w=1,C=n.weeks,P=n.month,T=n.year):(g++,v--,y=Math.floor((g-1)/nr+1),m=Math.floor((e.days-g)/nr+1))}w++,C--}return s}}class Wb{constructor({key:r,hashcode:e,highlight:i,content:n,dot:s,bar:a,popover:o,dates:l,excludeDates:u,excludeMode:c,customData:h,order:d,pinPage:f},p,g){this.key=ND(r)?lu():r,this.hashcode=e,this.customData=h,this.order=d||0,this.dateOpts={order:d,locale:g},this.pinPage=f,i&&(this.highlight=p.normalizeHighlight(i)),n&&(this.content=p.normalizeContent(n)),s&&(this.dot=p.normalizeDot(s)),a&&(this.bar=p.normalizeBar(a)),o&&(this.popover=o),this.dates=g.normalizeDates(l,this.dateOpts),this.hasDates=!!xr(this.dates),this.excludeDates=g.normalizeDates(u,this.dateOpts),this.hasExcludeDates=!!xr(this.excludeDates),this.excludeMode=c||"intersects",this.hasExcludeDates&&!this.hasDates&&(this.dates.push(new Lt({},this.dateOpts)),this.hasDates=!0),this.isComplex=yU(this.dates,v=>v.isComplex)}intersectsDate(r){return r=r instanceof Lt?r:new Lt(r,this.dateOpts),!this.excludesDate(r)&&(this.dates.find(e=>e.intersectsDate(r))||!1)}includesDate(r){return r=r instanceof Lt?r:new Lt(r,this.dateOpts),!this.excludesDate(r)&&(this.dates.find(e=>e.includesDate(r))||!1)}excludesDate(r){return r=r instanceof Lt?r:new Lt(r,this.dateOpts),this.hasExcludeDates&&this.excludeDates.find(e=>this.excludeMode==="intersects"&&e.intersectsDate(r)||this.excludeMode==="includes"&&e.includesDate(r))}intersectsDay(r){return!this.excludesDay(r)&&(this.dates.find(e=>e.intersectsDay(r))||!1)}excludesDay(r){return this.hasExcludeDates&&this.excludeDates.find(e=>e.intersectsDay(r))}}const cK=300,hK=60,dK=80;var fK={maxSwipeTime:cK,minHorizontalSwipeDistance:hK,maxVerticalSwipeDistance:dK};const pK="MMMM YYYY",gK="W",vK="MMM",mK=["L","YYYY-MM-DD","YYYY/MM/DD"],yK=["L h:mm A","YYYY-MM-DD h:mm A","YYYY/MM/DD h:mm A"],bK=["L HH:mm","YYYY-MM-DD HH:mm","YYYY/MM/DD HH:mm"],_K=["h:mm A"],wK=["HH:mm"],SK="WWW, MMM D, YYYY",PK=["L","YYYY-MM-DD","YYYY/MM/DD"],CK="iso",OK="YYYY-MM-DDTHH:mm:ss.SSSZ";var kK={title:pK,weekdays:gK,navMonths:vK,input:mK,inputDateTime:yK,inputDateTime24hr:bK,inputTime:_K,inputTime24hr:wK,dayPopover:SK,data:PK,model:CK,iso:OK};const EK="640px",TK="768px",xK="1024px",DK="1280px";var IK={sm:EK,md:TK,lg:xK,xl:DK};const MK={componentPrefix:"v",color:"blue",isDark:!1,navVisibility:"click",titlePosition:"center",transition:"slide-h",touch:fK,masks:kK,screens:IK,locales:Vr,datePicker:{updateOnInput:!0,inputDebounce:1e3,popover:{visibility:"hover-focus",placement:"bottom-start",keepVisibleOnInput:!1,isInteractive:!0}}},nd=gi(MK),AK=F(()=>JF(nd.locales,t=>(t.masks=Hf(t.masks,nd.masks),t))),nn=t=>window&&zf(window.__vcalendar__,t)?ao(window.__vcalendar__,t):ao(nd,t),$K={props:{color:{type:String,default:()=>nn("color")},isDark:{type:Boolean,default:()=>nn("isDark")},firstDayOfWeek:Number,masks:Object,locale:[String,Object],timezone:String,minDate:null,maxDate:null,minDateExact:null,maxDateExact:null,disabledDates:null,availableDates:null,theme:null},computed:{$theme(){return this.theme instanceof um?this.theme:new um({color:this.color,isDark:this.isDark})},$locale(){if(this.locale instanceof hu)return this.locale;const t=Br(this.locale)?this.locale:{id:this.locale,firstDayOfWeek:this.firstDayOfWeek,masks:this.masks};return new hu(t,{locales:AK.value,timezone:this.timezone})},disabledDates_(){const t=this.normalizeDates(this.disabledDates),{minDate:r,minDateExact:e,maxDate:i,maxDateExact:n}=this;if(e||r){const s=e?this.normalizeDate(e):this.normalizeDate(r,{time:"00:00:00"});t.push({start:null,end:new Date(s.getTime()-1e3)})}if(n||i){const s=n?this.normalizeDate(n):this.normalizeDate(i,{time:"23:59:59"});t.push({start:new Date(s.getTime()+1e3),end:null})}return t},availableDates_(){return this.normalizeDates(this.availableDates)},disabledAttribute(){return new Wb({key:"disabled",dates:this.disabledDates_,excludeDates:this.availableDates_,excludeMode:"includes",order:100},this.$theme,this.$locale)}},methods:{formatDate(t,r){return this.$locale?this.$locale.format(t,r):""},parseDate(t,r){if(!this.$locale)return null;const e=this.$locale.parse(t,r);return rn(e)?e:null},normalizeDate(t,r){return this.$locale?this.$locale.normalizeDate(t,r):t},normalizeDates(t){return this.$locale.normalizeDates(t,{isFullDay:!0})},pageForDate(t){return this.$locale.getDateParts(this.normalizeDate(t))},pageForThisMonth(){return this.pageForDate(new Date)}}},BK={methods:{safeSlot(t,r,e=null){return Mi(this.$slots[t])?this.$slots[t](r):e}}},Xu=CU,Yb=$K,Uf=BK,LK={name:"PopoverRow",mixins:[Xu],props:{attribute:Object},computed:{indicator(){const{highlight:t,dot:r,bar:e,popover:i}=this.attribute;if(i&&i.hideIndicator)return null;if(t){const{color:n,isDark:s}=t.start;return{style:tt(Pe({},this.theme.bgAccentHigh({color:n,isDark:!s})),{width:"10px",height:"5px",borderRadius:"3px"})}}if(r){const{color:n,isDark:s}=r.start;return{style:tt(Pe({},this.theme.bgAccentHigh({color:n,isDark:!s})),{width:"5px",height:"5px",borderRadius:"50%"})}}if(e){const{color:n,isDark:s}=e.start;return{style:tt(Pe({},this.theme.bgAccentHigh({color:n,isDark:!s})),{width:"10px",height:"3px"})}}return null}}},FK={class:"vc-day-popover-row"},RK={key:0,class:"vc-day-popover-row-indicator"},VK={class:"vc-day-popover-row-content"};function NK(t,r,e,i,n,s){return S(),I("div",FK,[s.indicator?(S(),I("div",RK,[E("span",{style:cr(s.indicator.style),class:ce(s.indicator.class)},null,6)])):ne("",!0),E("div",VK,[de(t.$slots,"default",{},()=>[ue(re(e.attribute.popover?e.attribute.popover.label:"No content provided"),1)])])])}var jK=Zs(LK,[["render",NK]]);const Zo="26px",HK="0 0 32 32",zK={"left-arrow":{viewBox:"0 -1 16 34",path:"M11.196 10c0 0.143-0.071 0.304-0.179 0.411l-7.018 7.018 7.018 7.018c0.107 0.107 0.179 0.268 0.179 0.411s-0.071 0.304-0.179 0.411l-0.893 0.893c-0.107 0.107-0.268 0.179-0.411 0.179s-0.304-0.071-0.411-0.179l-8.321-8.321c-0.107-0.107-0.179-0.268-0.179-0.411s0.071-0.304 0.179-0.411l8.321-8.321c0.107-0.107 0.268-0.179 0.411-0.179s0.304 0.071 0.411 0.179l0.893 0.893c0.107 0.107 0.179 0.25 0.179 0.411z"},"right-arrow":{viewBox:"-5 -1 16 34",path:"M10.625 17.429c0 0.143-0.071 0.304-0.179 0.411l-8.321 8.321c-0.107 0.107-0.268 0.179-0.411 0.179s-0.304-0.071-0.411-0.179l-0.893-0.893c-0.107-0.107-0.179-0.25-0.179-0.411 0-0.143 0.071-0.304 0.179-0.411l7.018-7.018-7.018-7.018c-0.107-0.107-0.179-0.268-0.179-0.411s0.071-0.304 0.179-0.411l0.893-0.893c0.107-0.107 0.268-0.179 0.411-0.179s0.304 0.071 0.411 0.179l8.321 8.321c0.107 0.107 0.179 0.268 0.179 0.411z"}},UK={props:["name"],data(){return{width:Zo,height:Zo,viewBox:HK,path:"",isBaseline:!1}},mounted(){this.updateIcon()},watch:{name(){this.updateIcon()}},methods:{updateIcon(){const t=zK[this.name];t&&(this.width=t.width||Zo,this.height=t.height||Zo,this.viewBox=t.viewBox,this.path=t.path)}}},KK=["width","height","viewBox"],WK=["d"];function YK(t,r,e,i,n,s){return S(),I("svg",{class:"vc-svg-icon",width:n.width,height:n.height,viewBox:n.viewBox},[E("path",{d:n.path},null,8,WK)],8,KK)}var Gb=Zs(UK,[["render",YK]]);const Gc=12,GK={name:"CalendarNav",emits:["input"],components:{SvgIcon:Gb},mixins:[Xu],props:{value:{type:Object,default:()=>({month:0,year:0})},validator:{type:Function,default:()=>()=>!0}},data(){return{monthMode:!0,yearIndex:0,yearGroupIndex:0,onSpaceOrEnter:zb}},computed:{month(){return this.value&&this.value.month||0},year(){return this.value&&this.value.year||0},title(){return this.monthMode?this.yearIndex:`${this.firstYear} - ${this.lastYear}`},monthItems(){return this.getMonthItems(this.yearIndex)},yearItems(){return this.getYearItems(this.yearGroupIndex)},prevItemsEnabled(){return this.monthMode?this.prevMonthItemsEnabled:this.prevYearItemsEnabled},nextItemsEnabled(){return this.monthMode?this.nextMonthItemsEnabled:this.nextYearItemsEnabled},prevMonthItemsEnabled(){return this.getMonthItems(this.yearIndex-1).some(t=>!t.isDisabled)},nextMonthItemsEnabled(){return this.getMonthItems(this.yearIndex+1).some(t=>!t.isDisabled)},prevYearItemsEnabled(){return this.getYearItems(this.yearGroupIndex-1).some(t=>!t.isDisabled)},nextYearItemsEnabled(){return this.getYearItems(this.yearGroupIndex+1).some(t=>!t.isDisabled)},activeItems(){return this.monthMode?this.monthItems:this.yearItems},firstYear(){return Nb(this.yearItems.map(t=>t.year))},lastYear(){return oo(this.yearItems.map(t=>t.year))}},watch:{year(){this.yearIndex=this.year},yearIndex(t){this.yearGroupIndex=this.getYearGroupIndex(t)},value(){this.focusFirstItem()}},created(){this.yearIndex=this.year},mounted(){this.focusFirstItem()},methods:{focusFirstItem(){this.$nextTick(()=>{const t=this.$refs.navContainer.querySelector(".vc-nav-item:not(.is-disabled)");t&&t.focus()})},getItemClasses({isActive:t,isCurrent:r,isDisabled:e}){const i=["vc-nav-item"];return t?i.push("is-active"):r&&i.push("is-current"),e&&i.push("is-disabled"),i},getYearGroupIndex(t){return Math.floor(t/Gc)},getMonthItems(t){const{month:r,year:e}=this.pageForDate(new Date);return this.locale.getMonthDates().map((i,n)=>{const s=n+1;return{month:s,year:t,id:`${t}.${rt(s,2)}`,label:this.locale.format(i,this.masks.navMonths),ariaLabel:this.locale.format(i,"MMMM YYYY"),isActive:s===this.month&&t===this.year,isCurrent:s===r&&t===e,isDisabled:!this.validator({month:s,year:t}),click:()=>this.monthClick(s,t)}})},getYearItems(t){const{_:r,year:e}=this.pageForDate(new Date),i=t*Gc,n=i+Gc,s=[];for(let a=i;athis.yearClick(a)})}return s},monthClick(t,r){this.validator({month:t,year:r})&&this.$emit("input",{month:t,year:r})},yearClick(t){this.yearIndex=t,this.monthMode=!0,this.focusFirstItem()},toggleMode(){this.monthMode=!this.monthMode},movePrev(){!this.prevItemsEnabled||(this.monthMode&&this.movePrevYear(),this.movePrevYearGroup())},moveNext(){!this.nextItemsEnabled||(this.monthMode&&this.moveNextYear(),this.moveNextYearGroup())},movePrevYear(){this.yearIndex--},moveNextYear(){this.yearIndex++},movePrevYearGroup(){this.yearGroupIndex--},moveNextYearGroup(){this.yearGroupIndex++}}},ZK={class:"vc-nav-container",ref:"navContainer"},qK={class:"vc-nav-header"},QK=["tabindex"],XK=["tabindex"],JK={class:"vc-nav-items"},eW=["data-id","aria-label","tabindex","onClick","onKeydown"];function tW(t,r,e,i,n,s){const a=be("svg-icon");return S(),I("div",ZK,[E("div",qK,[E("span",{role:"button",class:ce(["vc-nav-arrow is-left",{"is-disabled":!s.prevItemsEnabled}]),tabindex:s.prevItemsEnabled?0:void 0,onClick:r[0]||(r[0]=(...o)=>s.movePrev&&s.movePrev(...o)),onKeydown:r[1]||(r[1]=o=>n.onSpaceOrEnter(o,s.movePrev))},[de(t.$slots,"nav-left-button",{},()=>[Z(a,{name:"left-arrow",width:"20px",height:"24px"})])],42,QK),E("span",{role:"button",class:"vc-nav-title vc-grid-focus",style:{whiteSpace:"nowrap"},tabindex:"0",onClick:r[2]||(r[2]=(...o)=>s.toggleMode&&s.toggleMode(...o)),onKeydown:r[3]||(r[3]=o=>n.onSpaceOrEnter(o,s.toggleMode))},re(s.title),33),E("span",{role:"button",class:ce(["vc-nav-arrow is-right",{"is-disabled":!s.nextItemsEnabled}]),tabindex:s.nextItemsEnabled?0:void 0,onClick:r[4]||(r[4]=(...o)=>s.moveNext&&s.moveNext(...o)),onKeydown:r[5]||(r[5]=o=>n.onSpaceOrEnter(o,s.moveNext))},[de(t.$slots,"nav-right-button",{},()=>[Z(a,{name:"right-arrow",width:"20px",height:"24px"})])],42,XK)]),E("div",JK,[(S(!0),I(Ue,null,Rt(s.activeItems,o=>(S(),I("span",{key:o.label,role:"button","data-id":o.id,"aria-label":o.ariaLabel,class:ce(s.getItemClasses(o)),tabindex:o.isDisabled?void 0:0,onClick:o.click,onKeydown:l=>n.onSpaceOrEnter(l,o.click)},re(o.label),43,eW))),128))])],512)}var rW=Zs(GK,[["render",tW]]);function sd(t){document&&document.dispatchEvent(new CustomEvent("show-popover",{detail:t}))}function ad(t){document&&document.dispatchEvent(new CustomEvent("hide-popover",{detail:t}))}function Zb(t){document&&document.dispatchEvent(new CustomEvent("toggle-popover",{detail:t}))}function iW(t){document&&document.dispatchEvent(new CustomEvent("update-popover",{detail:t}))}function du(t){const{visibility:r}=t,e=r==="click",i=r==="hover",n=r==="hover-focus",s=r==="focus";t.autoHide=!e;let a=!1,o=!1;const{isRenderFn:l}=t,u={click:l?"onClick":"click",mousemove:l?"onMousemove":"mousemove",mouseleave:l?"onMouseleave":"mouseleave",focusin:l?"onFocusin":"focusin",focusout:l?"onFocusout":"focusout"};return{[u.click](c){e&&(t.ref=c.target,Zb(t),c.stopPropagation())},[u.mousemove](c){t.ref=c.currentTarget,a||(a=!0,(i||n)&&sd(t))},[u.mouseleave](c){t.ref=c.target,a&&(a=!1,(i||n&&!o)&&ad(t))},[u.focusin](c){t.ref=c.currentTarget,o||(o=!0,(s||n)&&sd(t))},[u.focusout](c){t.ref=c.currentTarget,o&&!Ba(t.ref,c.relatedTarget)&&(o=!1,(s||n&&!a)&&ad(t))}}}const nW={name:"CalendarDay",emits:["dayclick","daymouseenter","daymouseleave","dayfocusin","dayfocusout","daykeydown"],mixins:[Xu,Uf],inheritAttrs:!1,render(){const t=()=>this.hasBackgrounds&&Ee("div",{class:"vc-highlights vc-day-layer"},this.backgrounds.map(({key:n,wrapperClass:s,class:a,style:o})=>Ee("div",{key:n,class:s},[Ee("div",{class:a,style:o})]))),r=()=>this.safeSlot("day-content",{day:this.day,attributes:this.day.attributes,attributesMap:this.day.attributesMap,dayProps:this.dayContentProps,dayEvents:this.dayContentEvents})||Ee("span",tt(Pe(tt(Pe({},this.dayContentProps),{class:this.dayContentClass,style:this.dayContentStyle}),this.dayContentEvents),{ref:"content"}),[this.day.label]),e=()=>this.hasDots&&Ee("div",{class:"vc-day-layer vc-day-box-center-bottom"},[Ee("div",{class:"vc-dots"},this.dots.map(({key:n,class:s,style:a})=>Ee("span",{key:n,class:s,style:a})))]),i=()=>this.hasBars&&Ee("div",{class:"vc-day-layer vc-day-box-center-bottom"},[Ee("div",{class:"vc-bars"},this.bars.map(({key:n,class:s,style:a})=>Ee("span",{key:n,class:s,style:a})))]);return Ee("div",{class:["vc-day",...this.day.classes,{"vc-day-box-center-center":!this.$slots["day-content"]},{"is-not-in-month":!this.inMonth}]},[t(),r(),e(),i()])},inject:["sharedState"],props:{day:{type:Object,required:!0}},data(){return{glyphs:{},dayContentEvents:{}}},computed:{label(){return this.day.label},startTime(){return this.day.range.start.getTime()},endTime(){return this.day.range.end.getTime()},inMonth(){return this.day.inMonth},isDisabled(){return this.day.isDisabled},backgrounds(){return this.glyphs.backgrounds},hasBackgrounds(){return!!xr(this.backgrounds)},content(){return this.glyphs.content},dots(){return this.glyphs.dots},hasDots(){return!!xr(this.dots)},bars(){return this.glyphs.bars},hasBars(){return!!xr(this.bars)},popovers(){return this.glyphs.popovers},hasPopovers(){return!!xr(this.popovers)},dayContentClass(){return["vc-day-content vc-focusable",{"is-disabled":this.isDisabled},ao(oo(this.content),"class")||""]},dayContentStyle(){return ao(oo(this.content),"style")},dayContentProps(){let t;return this.day.isFocusable?t="0":this.day.inMonth&&(t="-1"),{tabindex:t,"aria-label":this.day.ariaLabel,"aria-disabled":this.day.isDisabled?"true":"false",role:"button"}},dayEvent(){return tt(Pe({},this.day),{el:this.$refs.content,popovers:this.popovers})}},watch:{theme(){this.refresh()},popovers(){this.refreshPopovers()},"day.shouldRefresh"(){this.refresh()}},mounted(){this.refreshPopovers(),this.refresh()},methods:{getDayEvent(t){return tt(Pe({},this.dayEvent),{event:t})},click(t){this.$emit("dayclick",this.getDayEvent(t))},mouseenter(t){this.$emit("daymouseenter",this.getDayEvent(t))},mouseleave(t){this.$emit("daymouseleave",this.getDayEvent(t))},focusin(t){this.$emit("dayfocusin",this.getDayEvent(t))},focusout(t){this.$emit("dayfocusout",this.getDayEvent(t))},keydown(t){this.$emit("daykeydown",this.getDayEvent(t))},refresh(){if(!this.day.shouldRefresh)return;this.day.shouldRefresh=!1;const t={backgrounds:[],dots:[],bars:[],popovers:[],content:[]};this.day.attributes=Object.values(this.day.attributesMap||{}).sort((r,e)=>r.order-e.order),this.day.attributes.forEach(r=>{const{targetDate:e}=r,{isDate:i,isComplex:n,startTime:s,endTime:a}=e,o=this.startTime<=s,l=this.endTime>=a,h={isDate:i,isComplex:n,onStart:o,onEnd:l,onStartAndEnd:o&&l,onStartOrEnd:o||l};this.processHighlight(r,h,t),this.processNonHighlight(r,"content",h,t.content),this.processNonHighlight(r,"dot",h,t.dots),this.processNonHighlight(r,"bar",h,t.bars),this.processPopover(r,t)}),this.glyphs=t},processHighlight({key:t,highlight:r},{isDate:e,isComplex:i,onStart:n,onEnd:s,onStartAndEnd:a},{backgrounds:o,content:l}){if(!r)return;const{base:u,start:c,end:h}=r;e||i?(o.push({key:t,wrapperClass:"vc-day-layer vc-day-box-center-center",class:["vc-highlight",c.class],style:c.style}),l.push({key:`${t}-content`,class:c.contentClass,style:c.contentStyle})):a?(o.push({key:t,wrapperClass:"vc-day-layer vc-day-box-center-center",class:["vc-highlight",c.class],style:c.style}),l.push({key:`${t}-content`,class:c.contentClass,style:c.contentStyle})):n?(o.push({key:`${t}-base`,wrapperClass:"vc-day-layer vc-day-box-right-center",class:["vc-highlight vc-highlight-base-start",u.class],style:u.style}),o.push({key:t,wrapperClass:"vc-day-layer vc-day-box-center-center",class:["vc-highlight",c.class],style:c.style}),l.push({key:`${t}-content`,class:c.contentClass,style:c.contentStyle})):s?(o.push({key:`${t}-base`,wrapperClass:"vc-day-layer vc-day-box-left-center",class:["vc-highlight vc-highlight-base-end",u.class],style:u.style}),o.push({key:t,wrapperClass:"vc-day-layer vc-day-box-center-center",class:["vc-highlight",h.class],style:h.style}),l.push({key:`${t}-content`,class:h.contentClass,style:h.contentStyle})):(o.push({key:`${t}-middle`,wrapperClass:"vc-day-layer vc-day-box-center-center",class:["vc-highlight vc-highlight-base-middle",u.class],style:u.style}),l.push({key:`${t}-content`,class:u.contentClass,style:u.contentStyle}))},processNonHighlight(t,r,{isDate:e,onStart:i,onEnd:n},s){if(!t[r])return;const{key:a}=t,o=`vc-${r}`,{base:l,start:u,end:c}=t[r];e||i?s.push({key:a,class:[o,u.class],style:u.style}):n?s.push({key:a,class:[o,c.class],style:c.style}):s.push({key:a,class:[o,l.class],style:l.style})},processPopover(t,{popovers:r}){const{key:e,customData:i,popover:n}=t;if(!n)return;const s=Aa({key:e,customData:i,attribute:t},Pe({},n),{visibility:n.label?"hover":"click",placement:"bottom",isInteractive:!n.label});r.splice(0,0,s)},refreshPopovers(){let t={};xr(this.popovers)&&(t=du(Aa({id:this.dayPopoverId,data:this.day,isRenderFn:!0},...this.popovers))),this.dayContentEvents=bU({onClick:this.click,onMouseenter:this.mouseenter,onMouseleave:this.mouseleave,onFocusin:this.focusin,onFocusout:this.focusout,onKeydown:this.keydown},t),iW({id:this.dayPopoverId,data:this.day})}}},sW={name:"CalendarPane",emits:["update:page","weeknumberclick"],mixins:[Xu,Uf],inheritAttrs:!1,render(){const t=this.safeSlot("header",this.page)||Ee("div",{class:`vc-header align-${this.titlePosition}`},[Ee("div",Pe({class:"vc-title"},this.navPopoverEvents),[this.safeSlot("header-title",this.page,this.page.title)])]),r=this.weekdayLabels.map((l,u)=>Ee("div",{key:u+1,class:"vc-weekday"},[l])),e=this.showWeeknumbers_.startsWith("left"),i=this.showWeeknumbers_.startsWith("right");e?r.unshift(Ee("div",{class:"vc-weekday"})):i&&r.push(Ee("div",{class:"vc-weekday"}));const n=l=>Ee("div",{class:["vc-weeknumber"]},[Ee("span",{class:["vc-weeknumber-content",`is-${this.showWeeknumbers_}`],onClick:u=>{this.$emit("weeknumberclick",{weeknumber:l,days:this.page.days.filter(c=>c[this.weeknumberKey]===l),event:u})}},[l])]),s=[],{daysInWeek:a}=this.locale;this.page.days.forEach((l,u)=>{const c=u%a;(e&&c===0||i&&c===a)&&s.push(n(l[this.weeknumberKey])),s.push(Ee(nW,tt(Pe({},this.$attrs),{day:l}),this.$slots)),i&&c===a-1&&s.push(n(l[this.weeknumberKey]))});const o=Ee("div",{class:{"vc-weeks":!0,"vc-show-weeknumbers":this.showWeeknumbers_,"is-left":e,"is-right":i}},[r,s]);return Ee("div",{class:["vc-pane",`row-from-end-${this.rowFromEnd}`,`column-from-end-${this.columnFromEnd}`],ref:"pane"},[t,o])},props:{page:Object,position:Number,row:Number,rowFromEnd:Number,column:Number,columnFromEnd:Number,titlePosition:String,navVisibility:{type:String,default:()=>nn("navVisibility")},showWeeknumbers:[Boolean,String],showIsoWeeknumbers:[Boolean,String]},computed:{weeknumberKey(){return this.showWeeknumbers?"weeknumber":"isoWeeknumber"},showWeeknumbers_(){const t=this.showWeeknumbers||this.showIsoWeeknumbers;return t==null?"":dD(t)?t?"left":"":t.startsWith("right")?this.columnFromEnd>1?"right":t:this.column>1?"left":t},navPlacement(){switch(this.titlePosition){case"left":return"bottom-start";case"right":return"bottom-end";default:return"bottom"}},navPopoverEvents(){const{sharedState:t,navVisibility:r,navPlacement:e,page:i,position:n}=this;return du({id:t.navPopoverId,visibility:r,placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:["bottom"]}}],data:{page:i,position:n},isInteractive:!0,isRenderFn:!0})},weekdayLabels(){return this.locale.getWeekdayDates().map(t=>this.format(t,this.masks.weekdays))}}};class aW{constructor(r,e,i){this.theme=r,this.locale=e,this.map={},this.refresh(i,!0)}destroy(){this.theme=null,this.locale=null,this.map={},this.list=[],this.pinAttr=null}refresh(r,e){const i={},n=[];let s=null;const a=[],o=e?new Set:new Set(Object.keys(this.map));return xr(r)&&r.forEach((l,u)=>{if(!l||!l.dates)return;const c=l.key?l.key.toString():u.toString(),h=l.order||0,d=wU(JSON.stringify(l));let f=this.map[c];!e&&f&&f.hashcode===d?o.delete(c):(f=new Wb(Pe({key:c,order:h,hashcode:d},l),this.theme,this.locale),a.push(f)),f&&f.pinPage&&(s=f),i[c]=f,n.push(f)}),this.map=i,this.list=n,this.pinAttr=s,{adds:a,deletes:Array.from(o)}}}const oW=(t,r,{maxSwipeTime:e,minHorizontalSwipeDistance:i,maxVerticalSwipeDistance:n})=>{if(!t||!t.addEventListener||!Mi(r))return null;let s=0,a=0,o=null,l=!1;function u(h){const d=h.changedTouches[0];s=d.screenX,a=d.screenY,o=new Date().getTime(),l=!0}function c(h){if(!l)return;l=!1;const d=h.changedTouches[0],f=d.screenX-s,p=d.screenY-a;if(new Date().getTime()-o=i&&Math.abs(p)<=n){const v={toLeft:!1,toRight:!1};f<0?v.toLeft=!0:v.toRight=!0,r(v)}}return ar(t,"touchstart",u,{passive:!0}),ar(t,"touchend",c,{passive:!0}),()=>{or(t,"touchstart",u),or(t,"touchend",c)}},lW={name:"Calendar",emits:["dayfocusin","dayfocusout","transition-start","transition-end","update:from-page","update:to-page"],render(){const t=this.pages.map((n,s)=>{const a=s+1,o=Math.ceil((s+1)/this.columns),l=this.rows-o+1,u=a%this.columns||this.columns,c=this.columns-u+1;return Ee(sW,tt(Pe({},this.$attrs),{key:n.key,attributes:this.store,page:n,position:a,row:o,rowFromEnd:l,column:u,columnFromEnd:c,titlePosition:this.titlePosition,canMove:this.canMove,"onUpdate:page":h=>this.move(h,{position:s+1}),onDayfocusin:h=>{this.lastFocusedDay=h,this.$emit("dayfocusin",h)},onDayfocusout:h=>{this.lastFocusedDay=null,this.$emit("dayfocusout",h)}}),this.$slots)}),r=n=>{const s=()=>this.move(n?-this.step_:this.step_),a=l=>zb(l,s),o=n?!this.canMovePrev:!this.canMoveNext;return Ee("div",{class:["vc-arrow",`is-${n?"left":"right"}`,{"is-disabled":o}],role:"button",onClick:s,onKeydown:a},[(n?this.safeSlot("header-left-button",{click:s}):this.safeSlot("header-right-button",{click:s}))||Ee(Gb,{name:n?"left-arrow":"right-arrow"})])},e=()=>Ee(id,{id:this.sharedState.navPopoverId,contentClass:"vc-nav-popover-container",ref:"navPopover"},{default:({data:n})=>{const{position:s,page:a}=n;return Ee(rW,{value:a,position:s,validator:o=>this.canMove(o,{position:s}),onInput:o=>this.move(o)},Pe({},this.$slots))}}),i=()=>Ee(id,{id:this.sharedState.dayPopoverId,contentClass:"vc-day-popover-container"},{default:({data:n,updateLayout:s,hide:a})=>{const o=Object.values(n.attributes).filter(h=>h.popover),l=this.$locale.masks,u=this.formatDate,c=u(n.date,l.dayPopover);return this.safeSlot("day-popover",{day:n,attributes:o,masks:l,format:u,dayTitle:c,updateLayout:s,hide:a},Ee("div",[l.dayPopover&&Ee("div",{class:["vc-day-popover-header"]},[c]),o.map(h=>Ee(jK,{key:h.key,attribute:h}))]))}});return Ee("div",{"data-helptext":"Press the arrow keys to navigate by day, Home and End to navigate to week ends, PageUp and PageDown to navigate by month, Alt+PageUp and Alt+PageDown to navigate by year",class:["vc-container",`vc-${this.$theme.color}`,{"vc-is-expanded":this.isExpanded,"vc-is-dark":this.$theme.isDark}],onKeydown:this.handleKeydown,onMouseup:n=>n.preventDefault(),ref:"container"},[e(),Ee("div",{class:["vc-pane-container",{"in-transition":this.inTransition}]},[Ee(Ub,{name:this.transitionName,"on-before-enter":()=>{this.inTransition=!0},"on-after-enter":()=>{this.inTransition=!1}},{default:()=>Ee("div",tt(Pe({},this.$attrs),{class:"vc-pane-layout",style:{gridTemplateColumns:`repeat(${this.columns}, 1fr)`},key:this.firstPage?this.firstPage.key:""}),t)}),Ee("div",{class:[`vc-arrows-container title-${this.titlePosition}`]},[r(!0),r(!1)]),this.$slots.footer&&this.$slots.footer()]),i()])},mixins:[Yb,Uf],provide(){return{sharedState:this.sharedState}},props:{rows:{type:Number,default:1},columns:{type:Number,default:1},step:Number,titlePosition:{type:String,default:()=>nn("titlePosition")},isExpanded:Boolean,fromDate:Date,toDate:Date,fromPage:Object,toPage:Object,minPage:Object,maxPage:Object,transition:String,attributes:[Object,Array],trimWeeks:Boolean,disablePageSwipe:Boolean},data(){return{pages:[],store:null,lastFocusedDay:null,focusableDay:new Date().getDate(),transitionName:"",inTransition:!1,sharedState:{navPopoverId:lu(),dayPopoverId:lu(),theme:{},masks:{},locale:{}}}},computed:{firstPage(){return Nb(this.pages)},lastPage(){return oo(this.pages)},minPage_(){return this.minPage||this.pageForDate(this.minDate)},maxPage_(){return this.maxPage||this.pageForDate(this.maxDate)},count(){return this.rows*this.columns},step_(){return this.step||this.count},canMovePrev(){return this.canMove(-this.step_)},canMoveNext(){return this.canMove(this.step_)}},watch:{$locale(){this.refreshLocale(),this.refreshPages({page:this.firstPage,ignoreCache:!0}),this.initStore()},$theme(){this.refreshTheme(),this.initStore()},fromDate(){this.refreshPages()},fromPage(t){const r=this.pages&&this.pages[0];zc(t,r)||this.refreshPages()},toPage(t){const r=this.pages&&this.pages[this.pages.length-1];zc(t,r)||this.refreshPages()},count(){this.refreshPages()},attributes:{handler(t){const{adds:r,deletes:e}=this.store.refresh(t);this.refreshAttrs(this.pages,r,e)},deep:!0},pages(t){this.refreshAttrs(t,this.store.list,null,!0)},disabledAttribute(){this.refreshDisabledDays()},lastFocusedDay(t){t&&(this.focusableDay=t.day,this.refreshFocusableDays())},inTransition(t){t?this.$emit("transition-start"):(this.$emit("transition-end"),this.transitionPromise&&(this.transitionPromise.resolve(!0),this.transitionPromise=null))}},created(){this.refreshLocale(),this.refreshTheme(),this.initStore(),this.refreshPages()},mounted(){this.disablePageSwipe||(this.removeHandlers=oW(this.$refs.container,({toLeft:t,toRight:r})=>{t?this.moveNext():r&&this.movePrev()},nn("touch")))},beforeUnmount(){this.pages=[],this.store.destroy(),this.store=null,this.sharedState=null,this.removeHandlers&&this.removeHandlers()},methods:{refreshLocale(){this.sharedState.locale=this.$locale,this.sharedState.masks=this.$locale.masks},refreshTheme(){this.sharedState.theme=this.$theme},canMove(t,r={}){const e=this.firstPage&&this.$locale.toPage(t,this.firstPage);if(!e)return!1;let{position:i}=r;if(Ma(t)&&(i=1),!i)if(ba(e,this.firstPage))i=-1;else if($a(e,this.lastPage))i=1;else return!0;return Object.assign(r,this.getTargetPageRange(e,{position:i,force:!0})),_U(r.fromPage,r.toPage).some(n=>Hb(n,this.minPage_,this.maxPage_))},movePrev(t){return this.move(-this.step_,t)},moveNext(t){return this.move(this.step_,t)},move(t,r={}){const e=this.canMove(t,r);return!r.force&&!e?Promise.reject(new Error(`Move target is disabled: ${JSON.stringify(r)}`)):(this.$refs.navPopover.hide({hideDelay:0}),r.fromPage&&!zc(r.fromPage,this.firstPage)?this.refreshPages(tt(Pe({},r),{page:r.fromPage,position:1,force:!0})):Promise.resolve(!0))},focusDate(t,r={}){return this.move(t,r).then(()=>{const e=this.$el.querySelector(`.id-${this.$locale.getDayId(t)}.in-month .vc-focusable`);return e?(e.focus(),Promise.resolve(!0)):Promise.resolve(!1)})},showPageRange(t,r){let e,i;if(rn(t))e=this.pageForDate(t);else if(Br(t)){const{month:a,year:o}=t,{from:l,to:u}=t;Ma(a)&&Ma(o)?e=t:(l||u)&&(e=rn(l)?this.pageForDate(l):l,i=rn(u)?this.pageForDate(u):u)}else return Promise.reject(new Error("Invalid page range provided."));const n=this.lastPage;let s=e;return $a(i,n)&&(s=Ei(i,-(this.pages.length-1))),ba(s,e)&&(s=e),this.refreshPages(tt(Pe({},r),{page:s}))},getTargetPageRange(t,{position:r,force:e}={}){let i=null,n=null;if(_r(t)){let s=0;r=+r,isNaN(r)||(s=r>0?1-r:-(this.count+r)),i=Ei(t,s)}else i=this.getDefaultInitialPage();return n=Ei(i,this.count-1),e||(ba(i,this.minPage_)?i=this.minPage_:$a(n,this.maxPage_)&&(i=Ei(this.maxPage_,1-this.count)),n=Ei(i,this.count-1)),{fromPage:i,toPage:n}},getDefaultInitialPage(){let t=this.fromPage||this.pageForDate(this.fromDate);if(!_r(t)){const r=this.toPage||this.pageForDate(this.toPage);_r(r)&&(t=Ei(r,1-this.count))}return _r(t)||(t=this.getPageForAttributes()),_r(t)||(t=this.pageForThisMonth()),t},refreshPages({page:t,position:r=1,force:e,transition:i,ignoreCache:n}={}){return new Promise((s,a)=>{const{fromPage:o,toPage:l}=this.getTargetPageRange(t,{position:r,force:e}),u=[];for(let c=0;c{r.isDisabled=!!this.disabledAttribute&&this.disabledAttribute.intersectsDay(r)})},refreshFocusableDays(t){this.getPageDays(t).forEach(r=>{r.isFocusable=r.inMonth&&r.day===this.focusableDay})},getPageDays(t=this.pages){return t.reduce((r,e)=>r.concat(e.days),[])},getPageTransition(t,r,e=this.transition){if(e==="none")return e;if(e==="fade"||!e&&this.count>1||!_r(t)||!_r(r))return"fade";const i=ba(r,t);return e==="slide-v"?i?"slide-down":"slide-up":i?"slide-right":"slide-left"},getPageForAttributes(){let t=null;const r=this.store.pinAttr;if(r&&r.hasDates){let[e]=r.dates;e=e.start||e.date,t=this.pageForDate(e)}return t},buildPage({month:t,year:r},e){const i=`${r.toString()}-${t.toString()}`;let n=this.pages.find(s=>s.key===i);if(!n||e){const s=new Date(r,t-1,15),a=this.$locale.getMonthComps(t,r),o=this.$locale.getPrevMonthComps(t,r),l=this.$locale.getNextMonthComps(t,r);n={key:i,month:t,year:r,weeks:this.trimWeeks?a.weeks:6,title:this.$locale.format(s,this.$locale.masks.title),shortMonthLabel:this.$locale.format(s,"MMM"),monthLabel:this.$locale.format(s,"MMMM"),shortYearLabel:r.toString().substring(2),yearLabel:r.toString(),monthComps:a,prevMonthComps:o,nextMonthComps:l,canMove:u=>this.canMove(u),move:u=>this.move(u),moveThisMonth:()=>this.moveThisMonth(),movePrevMonth:()=>this.move(o),moveNextMonth:()=>this.move(l),refresh:!0},n.days=this.$locale.getCalendarDays(n)}return n},initStore(){this.store=new aW(this.$theme,this.$locale,this.attributes),this.refreshAttrs(this.pages,this.store.list,[],!0)},refreshAttrs(t=[],r=[],e=[],i){!xr(t)||t.forEach(n=>{n.days.forEach(s=>{let a=!1,o={};i?a=!0:rd(s.attributesMap,e)?(o=td(s.attributesMap,e),a=!0):o=s.attributesMap||{},r.forEach(l=>{const u=l.intersectsDay(s);if(u){const c=tt(Pe({},l),{targetDate:u});o[l.key]=c,a=!0}}),a&&(s.attributesMap=o,s.shouldRefresh=!0)})})},handleKeydown(t){const r=this.lastFocusedDay;r!=null&&(r.event=t,this.handleDayKeydown(r))},handleDayKeydown(t){const{dateFromTime:r,event:e}=t,i=r(12);let n=null;switch(e.key){case"ArrowLeft":{n=ai(i,-1);break}case"ArrowRight":{n=ai(i,1);break}case"ArrowUp":{n=ai(i,-7);break}case"ArrowDown":{n=ai(i,7);break}case"Home":{n=ai(i,-t.weekdayPosition+1);break}case"End":{n=ai(i,t.weekdayPositionFromEnd);break}case"PageUp":{e.altKey?n=lv(i,-1):n=Zh(i,-1);break}case"PageDown":{e.altKey?n=lv(i,1):n=Zh(i,1);break}}n&&(e.preventDefault(),this.focusDate(n).catch())}}},uW={inheritAttrs:!1,emits:["update:modelValue"],props:{options:Array,modelValue:null}},cW={class:"vc-select"},hW=["value"],dW=["value","disabled"],fW=E("div",{class:"vc-select-arrow"},[E("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},[E("path",{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"})])],-1);function pW(t,r,e,i,n,s){return S(),I("div",cW,[E("select",Et(t.$attrs,{value:e.modelValue,onChange:r[0]||(r[0]=a=>t.$emit("update:modelValue",a.target.value))}),[(S(!0),I(Ue,null,Rt(e.options,a=>(S(),I("option",{key:a.value,value:a.value,disabled:a.disabled},re(a.label),9,dW))),128))],16,hW),fW])}var gW=Zs(uW,[["render",pW]]);const vW=[{value:0,label:"12"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"},{value:7,label:"7"},{value:8,label:"8"},{value:9,label:"9"},{value:10,label:"10"},{value:11,label:"11"}],mW=[{value:12,label:"12"},{value:13,label:"1"},{value:14,label:"2"},{value:15,label:"3"},{value:16,label:"4"},{value:17,label:"5"},{value:18,label:"6"},{value:19,label:"7"},{value:20,label:"8"},{value:21,label:"9"},{value:22,label:"10"},{value:23,label:"11"}],yW={name:"TimePicker",components:{TimeSelect:gW},emits:["update:modelValue"],props:{modelValue:{type:Object,required:!0},locale:{type:Object,required:!0},theme:{type:Object,required:!0},is24hr:{type:Boolean,default:!0},showBorder:Boolean,hourOptions:Array,minuteOptions:Array},computed:{date(){let t=this.locale.normalizeDate(this.modelValue);return this.modelValue.hours===24&&(t=new Date(t.getTime()-1)),t},hours:{get(){return this.modelValue.hours},set(t){this.updateValue(t,this.minutes)}},minutes:{get(){return this.modelValue.minutes},set(t){this.updateValue(this.hours,t)}},isAM:{get(){return this.modelValue.hours<12},set(t){let r=this.hours;t&&r>=12?r-=12:!t&&r<12&&(r+=12),this.updateValue(r,this.minutes)}},amHourOptions(){return vW.filter(t=>this.hourOptions.some(r=>r.value===t.value))},pmHourOptions(){return mW.filter(t=>this.hourOptions.some(r=>r.value===t.value))},hourOptions_(){return this.is24hr?this.hourOptions:this.isAM?this.amHourOptions:this.pmHourOptions},amDisabled(){return!xr(this.amHourOptions)},pmDisabled(){return!xr(this.pmHourOptions)}},methods:{updateValue(t,r=this.minutes){(t!==this.hours||r!==this.minutes)&&this.$emit("update:modelValue",tt(Pe({},this.modelValue),{hours:t,minutes:r,seconds:0,milliseconds:0}))}}},bW=E("div",null,[E("svg",{fill:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24",class:"vc-time-icon",stroke:"currentColor"},[E("path",{d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"})])],-1),_W={class:"vc-time-content"},wW={key:0,class:"vc-time-date"},SW={class:"vc-time-weekday"},PW={class:"vc-time-month"},CW={class:"vc-time-day"},OW={class:"vc-time-year"},kW={class:"vc-time-select"},EW=E("span",{style:{margin:"0 4px"}},":",-1),TW={key:0,class:"vc-am-pm"};function xW(t,r,e,i,n,s){const a=be("time-select");return S(),I("div",{class:ce(["vc-time-picker",[{"vc-invalid":!e.modelValue.isValid,"vc-bordered":e.showBorder}]])},[bW,E("div",_W,[s.date?(S(),I("div",wW,[E("span",SW,re(e.locale.format(s.date,"WWW")),1),E("span",PW,re(e.locale.format(s.date,"MMM")),1),E("span",CW,re(e.locale.format(s.date,"D")),1),E("span",OW,re(e.locale.format(s.date,"YYYY")),1)])):ne("",!0),E("div",kW,[Z(a,{modelValue:s.hours,"onUpdate:modelValue":r[0]||(r[0]=o=>s.hours=o),modelModifiers:{number:!0},options:s.hourOptions_},null,8,["modelValue","options"]),EW,Z(a,{modelValue:s.minutes,"onUpdate:modelValue":r[1]||(r[1]=o=>s.minutes=o),modelModifiers:{number:!0},options:e.minuteOptions},null,8,["modelValue","options"]),e.is24hr?ne("",!0):(S(),I("div",TW,[E("button",{class:ce({active:s.isAM,"vc-disabled":s.amDisabled}),onClick:r[2]||(r[2]=pr(o=>s.isAM=!0,["prevent"])),type:"button"}," AM ",2),E("button",{class:ce({active:!s.isAM,"vc-disabled":s.pmDisabled}),onClick:r[3]||(r[3]=pr(o=>s.isAM=!1,["prevent"])),type:"button"}," PM ",2)]))])])],2)}var DW=Zs(yW,[["render",xW]]);const Pm={type:"auto",mask:"iso",timeAdjust:""},IW=[Pm,Pm],qo={DATE:"date",DATE_TIME:"datetime",TIME:"time"},yr={NONE:0,START:1,END:2,BOTH:3},MW={name:"DatePicker",emits:["update:modelValue","drag","dayclick","daykeydown","popover-will-show","popover-did-show","popover-will-hide","popover-did-hide"],render(){const t=(n,s)=>{if(!this.$slots.footer)return n;const a=[n,this.$slots.footer()];return s?Ee(s,a):a},r=()=>{if(!this.dateParts)return null;const n=this.isRange?this.dateParts:[this.dateParts[0]];return Ee("div",{},tt(Pe({},this.$slots),{default:()=>n.map((s,a)=>{const o=this.$locale.getHourOptions(this.modelConfig_[a].validHours,s),l=this.$locale.getMinuteOptions(this.modelConfig_[a].minuteIncrement,s);return Ee(DW,{modelValue:s,locale:this.$locale,theme:this.$theme,is24hr:this.is24hr,showBorder:!this.isTime,isDisabled:this.isDateTime&&!s.isValid||this.isDragging,hourOptions:o,minuteOptions:l,"onUpdate:modelValue":u=>this.onTimeInput(u,a===0)})})}))},e=()=>Ee(lW,tt(Pe({},this.$attrs),{attributes:this.attributes_,theme:this.$theme,locale:this.$locale,minDate:this.minDateExact||this.minDate,maxDate:this.maxDateExact||this.maxDate,disabledDates:this.disabledDates,availableDates:this.availableDates,onDayclick:this.onDayClick,onDaykeydown:this.onDayKeydown,onDaymouseenter:this.onDayMouseEnter,ref:"calendar"}),tt(Pe({},this.$slots),{footer:()=>this.isDateTime?t(r()):t()})),i=()=>this.isTime?Ee("div",{class:["vc-container",`vc-${this.$theme.color}`,{"vc-is-dark":this.$theme.isDark}]},t(r(),"div")):e();return this.$slots.default?Ee("div",[this.$slots.default(this.slotArgs),Ee(id,{id:this.datePickerPopoverId,placement:"bottom-start",contentClass:`vc-container${this.isDark?" vc-is-dark":""}`,"on-before-show":n=>this.$emit("popover-will-show",n),"on-after-show":n=>this.$emit("popover-did-show",n),"on-before-hide":n=>this.$emit("popover-will-hide",n),"on-after-hide":n=>this.$emit("popover-did-hide",n),ref:"popover"},{default:i})]):i()},mixins:[Yb],props:{mode:{type:String,default:qo.DATE},modelValue:{type:null,required:!0},modelConfig:{type:Object,default:()=>({})},is24hr:Boolean,minuteIncrement:Number,isRequired:Boolean,isRange:Boolean,updateOnInput:{type:Boolean,default:()=>nn("datePicker.updateOnInput")},inputDebounce:{type:Number,default:()=>nn("datePicker.inputDebounce")},popover:{type:Object,default:()=>({})},dragAttribute:Object,selectAttribute:Object,attributes:Array,validHours:[Object,Array,Function]},data(){return{value_:null,dateParts:null,activeDate:"",dragValue:null,inputValues:["",""],updateTimeout:null,watchValue:!0,datePickerPopoverId:lu()}},computed:{isDate(){return this.mode.toLowerCase()===qo.DATE},isDateTime(){return this.mode.toLowerCase()===qo.DATE_TIME},isTime(){return this.mode.toLowerCase()===qo.TIME},isDragging(){return!!this.dragValue},modelConfig_(){return this.normalizeConfig(this.modelConfig,IW)},inputMask(){const t=this.$locale.masks;return this.isTime?this.is24hr?t.inputTime24hr:t.inputTime:this.isDateTime?this.is24hr?t.inputDateTime24hr:t.inputDateTime:this.$locale.masks.input},inputMaskHasTime(){return/[Hh]/g.test(this.inputMask)},inputMaskHasDate(){return/[dD]{1,2}|Do|W{1,4}|M{1,4}|YY(?:YY)?/g.test(this.inputMask)},inputMaskPatch(){if(this.inputMaskHasTime&&this.inputMaskHasDate)return Wi.DATE_TIME;if(this.inputMaskHasDate)return Wi.DATE;if(this.inputMaskHasTime)return Wi.TIME},slotArgs(){const{isRange:t,isDragging:r,updateValue:e,showPopover:i,hidePopover:n,togglePopover:s}=this,a=t?{start:this.inputValues[0],end:this.inputValues[1]}:this.inputValues[0],o=[!0,!1].map(u=>Pe({input:this.onInputInput(u),change:this.onInputChange(u),keyup:this.onInputKeyup},du(tt(Pe({},this.popover_),{id:this.datePickerPopoverId,callback:c=>{c.action==="show"&&c.completed&&this.onInputShow(u)}})))),l=t?{start:o[0],end:o[1]}:o[0];return{inputValue:a,inputEvents:l,isDragging:r,updateValue:e,showPopover:i,hidePopover:n,togglePopover:s,getPopoverTriggerEvents:du}},popover_(){return Hf(this.popover,nn("datePicker.popover"))},selectAttribute_(){if(!this.hasValue(this.value_))return null;const t=tt(Pe({key:"select-drag"},this.selectAttribute),{dates:this.value_,pinPage:!0}),{dot:r,bar:e,highlight:i,content:n}=t;return!r&&!e&&!i&&!n&&(t.highlight=!0),t},dragAttribute_(){if(!this.isRange||!this.hasValue(this.dragValue))return null;const t=tt(Pe({key:"select-drag"},this.dragAttribute),{dates:this.dragValue}),{dot:r,bar:e,highlight:i,content:n}=t;return!r&&!e&&!i&&!n&&(t.highlight={startEnd:{fillMode:"outline"}}),t},attributes_(){const t=fr(this.attributes)?[...this.attributes]:[];return this.dragAttribute_?t.push(this.dragAttribute_):this.selectAttribute_&&t.push(this.selectAttribute_),t}},watch:{inputMask(){this.formatInput()},modelValue(t){!this.watchValue||this.forceUpdateValue(t,{config:this.modelConfig_,formatInput:!0,hidePopover:!1})},value_(){this.refreshDateParts()},dragValue(){this.refreshDateParts()},timezone(){this.refreshDateParts(),this.forceUpdateValue(this.value_,{formatInput:!0})}},created(){this.value_=this.normalizeValue(this.modelValue,this.modelConfig_,Wi.DATE_TIME,yr.BOTH),this.forceUpdateValue(this.modelValue,{config:this.modelConfig_,formatInput:!0,hidePopover:!1}),this.refreshDateParts()},mounted(){ar(document,"keydown",this.onDocumentKeyDown),ar(document,"click",this.onDocumentClick)},beforeUnmount(){or(document,"keydown",this.onDocumentKeyDown),or(document,"click",this.onDocumentClick)},methods:{getDateParts(t){return this.$locale.getDateParts(t)},getDateFromParts(t){return this.$locale.getDateFromParts(t)},refreshDateParts(){const t=this.dragValue||this.value_,r=[];this.isRange?(t&&t.start?r.push(this.getDateParts(t.start)):r.push({}),t&&t.end?r.push(this.getDateParts(t.end)):r.push({})):t?r.push(this.getDateParts(t)):r.push({}),this.$nextTick(()=>this.dateParts=r)},onDocumentKeyDown(t){this.dragValue&&t.key==="Escape"&&(this.dragValue=null)},onDocumentClick(t){document.body.contains(t.target)&&!Ba(this.$el,t.target)&&(this.dragValue=null,this.formatInput())},onDayClick(t){this.handleDayClick(t),this.$emit("dayclick",t)},onDayKeydown(t){switch(t.event.key){case" ":case"Enter":{this.handleDayClick(t),t.event.preventDefault();break}case"Escape":this.hidePopover()}this.$emit("daykeydown",t)},handleDayClick(t){const{keepVisibleOnInput:r,visibility:e}=this.popover_,i={patch:Wi.DATE,adjustTime:!0,formatInput:!0,hidePopover:this.isDate&&!r&&e!=="visible"};this.isRange?(this.isDragging?this.dragTrackingValue.end=t.date:this.dragTrackingValue=Pe({},t.range),i.isDragging=!this.isDragging,i.rangePriority=i.isDragging?yr.NONE:yr.BOTH,i.hidePopover=i.hidePopover&&!i.isDragging,this.updateValue(this.dragTrackingValue,i)):(i.clearIfEqual=!this.isRequired,this.updateValue(t.date,i))},onDayMouseEnter(t){!this.isDragging||(this.dragTrackingValue.end=t.date,this.updateValue(this.dragTrackingValue,{patch:Wi.DATE,adjustTime:!0,formatInput:!0,hidePriority:!1,rangePriority:yr.NONE}))},onTimeInput(t,r){let e=null;if(this.isRange){const i=r?t:this.dateParts[0],n=r?this.dateParts[1]:t;e={start:i,end:n}}else e=t;this.updateValue(e,{patch:Wi.TIME,rangePriority:r?yr.START:yr.END}).then(()=>this.adjustPageRange(r))},onInputInput(t){return r=>{!this.updateOnInput||this.onInputUpdate(r.target.value,t,{formatInput:!1,hidePopover:!1,debounce:this.inputDebounce})}},onInputChange(t){return r=>{this.onInputUpdate(r.target.value,t,{formatInput:!0,hidePopover:!1})}},onInputUpdate(t,r,e){this.inputValues.splice(r?0:1,1,t);const i=this.isRange?{start:this.inputValues[0],end:this.inputValues[1]||this.inputValues[0]}:t,n={type:"string",mask:this.inputMask};this.updateValue(i,tt(Pe({},e),{config:n,patch:this.inputMaskPatch,rangePriority:r?yr.START:yr.END})).then(()=>this.adjustPageRange(r))},onInputShow(t){this.adjustPageRange(t)},onInputKeyup(t){t.key==="Escape"&&this.updateValue(this.value_,{formatInput:!0,hidePopover:!0})},updateValue(t,r={}){return clearTimeout(this.updateTimeout),new Promise(e=>{const i=r,{debounce:n}=i,s=jx(i,["debounce"]);n>0?this.updateTimeout=setTimeout(()=>{this.forceUpdateValue(t,s),e(this.value_)},n):(this.forceUpdateValue(t,s),e(this.value_))})},normalizeConfig(t,r=this.modelConfig_){return t=fr(t)?t:[t.start||t,t.end||t],r.map((e,i)=>Pe(Pe({validHours:this.validHours,minuteIncrement:this.minuteIncrement},e),t[i]))},forceUpdateValue(t,{config:r=this.modelConfig_,patch:e=Wi.DATE_TIME,clearIfEqual:i=!1,formatInput:n=!0,hidePopover:s=!1,isDragging:a=this.isDragging,rangePriority:o=yr.BOTH}={}){r=this.normalizeConfig(r);let l=this.normalizeValue(t,r,e,o);!l&&this.isRequired&&(l=this.value_),l=this.adjustTimeForValue(l,r);const u=this.valueIsDisabled(l);if(u){if(a)return;l=this.value_,s=!1}const c=a?"dragValue":"value_";let h=!this.valuesAreEqual(this[c],l);if(!u&&!h&&i&&(l=null,h=!0),h){this[c]=l,a||(this.dragValue=null);const d=this.denormalizeValue(l),f=this.isDragging?"drag":"update:modelValue";this.watchValue=!1,this.$emit(f,d),this.$nextTick(()=>this.watchValue=!0)}s&&this.hidePopover(),n&&this.formatInput()},hasValue(t){return this.isRange?Br(t)&&!!t.start&&!!t.end:!!t},normalizeValue(t,r,e,i){if(!this.hasValue(t))return null;if(this.isRange){const n={},s=t.start>t.end?t.end:t.start;n.start=this.normalizeDate(s,tt(Pe({},r[0]),{fillDate:this.value_&&this.value_.start||r[0].fillDate,patch:e}));const a=t.start>t.end?t.start:t.end;return n.end=this.normalizeDate(a,tt(Pe({},r[1]),{fillDate:this.value_&&this.value_.end||r[1].fillDate,patch:e})),this.sortRange(n,i)}return this.normalizeDate(t,tt(Pe({},r[0]),{fillDate:this.value_||r[0].fillDate,patch:e}))},adjustTimeForValue(t,r){return this.hasValue(t)?this.isRange?{start:this.$locale.adjustTimeForDate(t.start,r[0]),end:this.$locale.adjustTimeForDate(t.end,r[1])}:this.$locale.adjustTimeForDate(t,r[0]):null},sortRange(t,r=yr.NONE){const{start:e,end:i}=t;if(e>i)switch(r){case yr.START:return{start:e,end:e};case yr.END:return{start:i,end:i};case yr.BOTH:return{start:i,end:e}}return{start:e,end:i}},denormalizeValue(t,r=this.modelConfig_){return this.isRange?this.hasValue(t)?{start:this.$locale.denormalizeDate(t.start,r[0]),end:this.$locale.denormalizeDate(t.end,r[1])}:null:this.$locale.denormalizeDate(t,r[0])},valuesAreEqual(t,r){if(this.isRange){const e=this.hasValue(t),i=this.hasValue(r);return!e&&!i?!0:e!==i?!1:Uc(t.start,r.start)&&Uc(t.end,r.end)}return Uc(t,r)},valueIsDisabled(t){return this.hasValue(t)&&this.disabledAttribute&&this.disabledAttribute.intersectsDate(t)},formatInput(){this.$nextTick(()=>{const t=this.normalizeConfig({type:"string",mask:this.inputMask}),r=this.denormalizeValue(this.dragValue||this.value_,t);this.isRange?this.inputValues=[r&&r.start,r&&r.end]:this.inputValues=[r,""]})},showPopover(t={}){sd(tt(Pe(Pe({ref:this.$el},this.popover_),t),{isInteractive:!0,id:this.datePickerPopoverId}))},hidePopover(t={}){ad(tt(Pe(Pe({hideDelay:10},this.showPopover_),t),{id:this.datePickerPopoverId}))},togglePopover(t){Zb(tt(Pe(Pe({ref:this.$el},this.popover_),t),{isInteractive:!0,id:this.datePickerPopoverId}))},adjustPageRange(t){this.$nextTick(()=>{const r=this.$refs.calendar,e=this.getPageForValue(t),i=t?1:-1;e&&r&&!Hb(e,r.firstPage,r.lastPage)&&r.move(e,{position:i,transition:"fade"})})},getPageForValue(t){return this.hasValue(this.value_)?this.pageForDate(this.isRange?this.value_[t?"start":"end"]:this.value_):null},move(t,r){return this.$refs.calendar?this.$refs.calendar.move(t,r):Promise.reject(new Error("Navigation disabled while calendar is not yet displayed"))},focusDate(t,r){return this.$refs.calendar?this.$refs.calendar.focusDate(t,r):Promise.reject(new Error("Navigation disabled while calendar is not yet displayed"))}}},AW=ae({name:"KSegmentedControl",components:{KButton:gt},props:{modelValue:{type:[String,Number,Boolean],required:!0},options:{type:Array,required:!0},isDisabled:{type:Boolean,default:!1}},emits:["update:modelValue","click"],setup(t,{emit:r}){const e=j(t.modelValue),i=l=>typeof l=="string"?l:l.label||l.value||l,n=l=>typeof l=="string"?l:l.value||l.label||l;return{selectedValue:e,label:i,value:n,appearance:l=>t.modelValue===n(l)?"primary":"outline",disabled:l=>typeof l=="object"?!!l.disabled:t.isDisabled,handleClick:l=>{var u,c;r("click",(u=l.target)==null?void 0:u.name),r("update:modelValue",(c=l.target)==null?void 0:c.name)}}}}),$W={class:"segmented-control d-flex"};function BW(t,r,e,i,n,s){const a=be("KButton");return S(),I("div",$W,[(S(!0),I(Ue,null,Rt(t.options,o=>(S(),fe(a,{key:String(t.label(o)),name:t.value(o),disabled:t.disabled(o),appearance:t.appearance(o),size:"small",class:"justify-content-center",onClick:t.handleClick},{default:se(()=>[ue(re(t.label(o)),1)]),_:2},1032,["name","disabled","appearance","onClick"]))),128))])}var LW=ze(AW,[["render",BW],["__scopeId","data-v-1f9c6dfd"]]);ae({name:"KDateTimePicker",components:{KButton:gt,KIcon:Xe,KPop:Bs,KSegmentedControl:LW,DatePicker:MW},props:{icon:{type:Boolean,required:!1,default:!0},modelValue:{type:[Object,Date,String],required:!1,default:"",validator:t=>typeof t=="string"?t==="":t instanceof Date||t.start!==void 0&&t.end!==void 0},maxDate:{type:Date,required:!1,default:null},minDate:{type:Date,required:!1,default:null},minuteIncrement:{type:Number,required:!1,default:5},mode:{type:String,required:!0,validator:t=>["relative","date","time","dateTime"].includes(t)},placeholder:{type:String,required:!1,default:"Select a time range"},range:{type:Boolean,required:!1,default:!1},timePeriods:{type:Array,required:!1,default:()=>[],validator:t=>t.every(r=>Array.isArray(r.values)&&r.values.every(e=>typeof e.timeframeText=="string"&&e.timeframeLength!==void 0&&typeof e.key=="string"&&e.key!==void 0&&typeof e.display=="string"&&e.display!==void 0&&e.start!==void 0&&e.end!==void 0))},width:{type:String,required:!1,default:"auto"}},emits:["change","update:modelValue"],setup(t,{emit:r}){var e;const i={type:"number"},n={highlight:{start:{class:"vcal-day-start"},base:{class:"vcal-day-base"},end:{class:"vcal-day-end"}}},s={highlight:{start:{class:"vcal-day-drag-start"},base:{class:"vcal-day-drag-base"},end:{class:"vcal-day-drag-end"}}},a=F(()=>t.mode!=="relative"),o=F(()=>{var P;return((P=t==null?void 0:t.timePeriods)==null?void 0:P.length)>0}),l=F(()=>d.tabName==="custom"||!o.value),u=F(()=>t.range||o.value?!d.selectedRange.start||!d.selectedRange.end:!d.selectedRange.start),c=F(()=>({width:t.width==="auto"||t.width.endsWith("%")||t.width.endsWith("px")?t.width:t.width+"px"})),h=j(t.modelValue),d=gi({abbreviatedDisplay:t.placeholder,fullRangeDisplay:"",hidePopover:!1,selectedRange:{start:new Date,end:new Date,timePeriodsKey:""},selectedTimeframe:(e=t.timePeriods[0])==null?void 0:e.values[0],tabName:"relative"}),f=P=>{let T,V;P&&(P.start&&P.end?(T=new Date(P.start),V=new Date(P.end)):(T=new Date(Number(P)),V=0),d.selectedRange={start:T,end:V,timePeriodsKey:""})},p=P=>{d.selectedTimeframe=P;const T=d.selectedTimeframe.start(),V=d.selectedTimeframe.end();d.selectedRange={start:new Date(T),end:new Date(V),timePeriodsKey:d.selectedTimeframe.key},d.fullRangeDisplay=v(d.selectedRange,!1)},g=()=>{var P;h.value="",d.abbreviatedDisplay=t.placeholder,d.fullRangeDisplay="",d.selectedRange={start:0,end:0,timePeriodsKey:""},o.value&&(d.selectedTimeframe=(P=t.timePeriods[0])==null?void 0:P.values[0]),t.range||t.mode==="relative"?(r("change",d.selectedRange),r("update:modelValue",d.selectedRange)):(r("change",""),r("update:modelValue",""))},v=(P,T)=>{const{start:V,end:D}=P;let R="PP";return!a.value&&o.value?R="PP hh:mm a":t.mode==="date"?R="PP":["time","dateTime"].includes(t.mode)&&(R="PP hh:mm a"),t.range?T?`
${ua(V,R)} - 
${ua(D,R)}
`:`${ua(V,R)} - ${ua(D,R)}`:V?`${ua(V,R)}`:""},y=async()=>{if(t.range||o.value)r("change",d.selectedRange),r("update:modelValue",d.selectedRange);else{const P=new Date(d.selectedRange.start);r("change",P),r("update:modelValue",P)}C(),m()},m=()=>{t.range&&o.value&&!l.value?d.abbreviatedDisplay=d.selectedTimeframe.display:d.abbreviatedDisplay=v(d.selectedRange,!0)},w=P=>P.charAt(0).toUpperCase()+P.slice(1),C=async()=>{d.hidePopover=!0,await Yr(),d.hidePopover=!1};return Ye(h,(P,T)=>{P!==void 0&&P!==T&&f(P)},{immediate:!0}),Bt(()=>{if(t.modelValue)if("timePeriodsKey"in t.modelValue){d.tabName="relative";for(const P of t.timePeriods){const T=P.values.find(V=>V.key===t.modelValue.timePeriodsKey);if(T){p(T),m();break}}}else d.tabName="custom",f(t.modelValue),m()}),{changeRelativeTimeframe:p,clearSelection:g,handleClose:C,hasCalendar:a,hasTimePeriods:o,modelConfig:i,selectedCalendarRange:h,calendarSelectAttributes:n,calendarDragAttributes:s,showCalendar:l,...n0(d),submitDisabled:u,widthStyle:c,submitTimeFrame:y,ucWord:w}}});const FW=ae({name:"KDropdownItem",components:{KButton:gt},props:{item:{type:Object,default:null,validator:t=>t.label!==void 0},hasDivider:{type:Boolean,default:!1},isDangerous:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},selectionMenuChild:{type:Boolean,default:!1},onClick:{type:Function,default:void 0}},emits:["click","change"],setup(t,{emit:r}){const e=F(()=>{var a;return(a=t.item)!=null&&a.to?"link":typeof t.onClick<"u"||t.selectionMenuChild?"button":"default"}),i=F(()=>{var a;return((a=t.item)==null?void 0:a.label)||""}),n=F(()=>{var a;return((a=t.item)==null?void 0:a.to)||void 0});return{type:e,label:i,to:n,handleClick:a=>{r("click",a),t.selectionMenuChild&&r("change",t.item)}}}}),RW=["data-testid"],VW={key:3,class:"k-dropdown-item-trigger","data-testid":"k-dropdown-item-trigger"};function NW(t,r,e,i,n,s){const a=be("router-link"),o=be("KButton");return S(),I("li",{class:ce([{"has-divider":t.type!=="link"&&t.hasDivider,disabled:t.type==="default"&&t.disabled,danger:t.isDangerous,"k-dropdown-selected-option":t.selected},"k-dropdown-item w-100"]),"data-testid":`k-dropdown-item-${t.label.replace(/ /gi,"-")}`},[t.type==="link"&&t.to&&!!t.disabled?(S(),I("a",{key:0,class:ce([{disabled:t.disabled,"has-divider":t.hasDivider},"k-dropdown-item-trigger"]),"data-testid":"k-dropdown-item-trigger",href:"#",onClick:r[0]||(r[0]=pr(()=>{},["prevent","stop"]))},[de(t.$slots,"default",{},()=>[ue(re(t.label),1)],!0)],2)):t.type==="link"&&t.to?(S(),fe(a,{key:1,to:t.disabled?t.$route.path:t.to,class:ce([{disabled:t.disabled,"has-divider":t.hasDivider},"k-dropdown-item-trigger"]),"data-testid":"k-dropdown-item-trigger",onClick:t.handleClick},{default:se(()=>[de(t.$slots,"default",{},()=>[ue(re(t.label),1)],!0)]),_:3},8,["to","class","onClick"])):t.type==="button"?(S(),fe(o,{key:2,disabled:t.disabled,"is-rounded":!1,class:"k-dropdown-item-trigger btn-link k-button non-visual-button","data-testid":"k-dropdown-item-trigger",onClick:t.handleClick},{default:se(()=>[de(t.$slots,"default",{},()=>[ue(re(t.label),1)],!0)]),_:3},8,["disabled","onClick"])):(S(),I("div",VW,[de(t.$slots,"default",{},()=>[ue(re(t.label),1)],!0)]))],10,RW)}var jW=ze(FW,[["render",NW],["__scopeId","data-v-a0c39af6"]]);const Cm={hideCaret:!0,popoverClasses:"k-dropdown-popover mt-1",popoverTimeout:0,positionFixed:!0,placement:"bottomStart"},HW=ae({name:"KDropdownMenu",components:{KButton:gt,KDropdownItem:jW,Kooltip:_o,KPop:Bs,KToggle:hf},props:{appearance:{type:String,default:"menu",validator:t=>["menu","selectionMenu"].includes(t)},buttonAppearance:{type:String,default:"primary"},label:{type:String,default:""},icon:{type:String,default:""},showCaret:{type:Boolean,default:!1},width:{type:String,default:""},kpopAttributes:{type:Object,default:()=>({})},items:{type:Array,default:()=>[],validator:t=>!t.length||t.some(r=>r.label!==void 0)},disabled:{type:Boolean,default:!1},disabledTooltip:{type:String,default:""},testMode:{type:Boolean,default:!1}},emits:["toggleDropdown","change"],setup(t,{emit:r}){const e={...Cm,...t.kpopAttributes,width:t.width?t.width:void 0,popoverClasses:`${Cm.popoverClasses} ${t.kpopAttributes.popoverClasses}`},i=j({}),n=a=>{t.appearance==="selectionMenu"&&(i.value=a)},s=(a,o,l)=>(a.value!==l&&(o(),r("toggleDropdown",a.value)),a.value);return Ye(i,(a,o)=>{a!==o&&r("change",a)}),Bt(()=>{if(t.items){const a=t.items.filter(o=>o.selected);a.length&&(i.value=a[0])}}),{boundKPopAttributes:e,selectedItem:i,handleSelection:n,handleTriggerToggle:s}}}),zW={class:"k-dropdown-list dropdown-list","data-testid":"k-dropdown-list"};function UW(t,r,e,i,n,s){const a=be("KButton"),o=be("KDropdownItem"),l=be("KPop"),u=be("KToggle");return S(),I("div",{class:ce([{"selection-dropdown-menu":t.appearance==="selectionMenu"},"k-dropdown k-dropdown-menu"])},[Z(u,null,{default:se(({toggle:c,isToggled:h})=>[Z(l,Et(t.boundKPopAttributes,{"on-popover-click":()=>t.handleTriggerToggle(h,c,!1),"test-mode":!!t.testMode||void 0,"data-testid":"k-dropdown-menu-popover",onOpened:()=>t.handleTriggerToggle(h,c,!0),onClosed:()=>t.handleTriggerToggle(h,c,!1)}),{content:se(()=>[E("ul",zW,[de(t.$slots,"items",{items:t.items,handleSelection:t.handleSelection},()=>[(S(!0),I(Ue,null,Rt(t.items,(d,f)=>(S(),fe(o,Et(d,{key:`${d.label}-${f}`,item:d,"selection-menu-child":t.appearance==="selectionMenu",onChange:t.handleSelection}),null,16,["item","selection-menu-child","onChange"]))),128))],!0)])]),default:se(()=>[(S(),fe(xs(t.disabledTooltip?"Kooltip":"div"),{label:t.disabledTooltip,position:t.disabledTooltip?"bottom":void 0,"position-fixed":t.disabledTooltip?!0:void 0,"max-width":t.disabledTooltip?"240":void 0,"test-mode":!!t.testMode||void 0,class:"k-dropdown-trigger dropdown-trigger","data-testid":"k-dropdown-trigger"},{default:se(()=>[de(t.$slots,"default",{isOpen:h.value},()=>[E("div",null,[t.label||t.icon?(S(),fe(a,{key:0,disabled:t.disabled,"show-caret":t.showCaret||t.appearance==="selectionMenu",appearance:t.appearance==="selectionMenu"?"outline":t.buttonAppearance,icon:t.icon,class:"k-dropdown-btn","data-testid":"k-dropdown-btn"},{default:se(()=>[ue(re(t.label),1)]),_:1},8,["disabled","show-caret","appearance","icon"])):ne("",!0)])],!0)]),_:2},1032,["label","position","position-fixed","max-width","test-mode"]))]),_:2},1040,["on-popover-click","test-mode","onOpened","onClosed"])]),_:3})],2)}var zee=ze(HW,[["render",UW],["__scopeId","data-v-886117c8"]]);ae({name:"KFileUpload",components:{KLabel:Ls,KInput:Vu,KButton:gt,KIcon:Xe},props:{labelAttributes:{type:Object,default:()=>({})},label:{type:String,default:""},testMode:{type:Boolean,default:!1},help:{type:String,default:void 0},buttonAppearance:{type:String,default:"primary"},buttonText:{type:String,default:"Select file"},fileModel:{type:String,default:void 0},removable:{type:Boolean,default:!0},placeholder:{type:String,default:"No file selected"},type:{type:String,default:"file",validator:t=>["file","image"].includes(t)},accept:{type:Array,required:!0},maxFileSize:{type:Number,default:null},iconSize:{type:String,default:"26"},icon:{type:String,default:"image"},iconColor:{type:String,default:void 0},hasError:{type:Boolean,default:!1},errorMessage:{type:String,default:"Please check file size."}},emits:["file-added","file-removed","error"],setup(t,{emit:r}){const e=F(()=>t.testMode?"test-file-upload-id-1234":Ut()),i=F(()=>t.maxFileSize||t.maxFileSize===0?t.maxFileSize:t.type==="file"?525e4:1e6),n=j(!1),s=j([]),a=j(0),o=j(""),l=j([]);return{fileInput:s,customInputId:e,resetInput:()=>{s.value=[],o.value="",l.value=[],a.value++,n.value=!1,r("file-removed")},onFileChange:d=>{var f,p,g;s.value=(f=d.target)==null?void 0:f.files,o.value=(p=s==null?void 0:s.value[0])==null?void 0:p.name;const v=(g=s==null?void 0:s.value[0])==null?void 0:g.size;n.value=v>i.value,n.value&&(a.value++,r("error",s.value));const y=document.getElementById(e.value);v?l.value.push(s.value):(y.files=l.value[l.value.length-1],s.value=y.files,y.files&&(o.value=y.files[y.files.length-1].name)),r("file-added",s.value)},fileInputKey:a,fileValue:o,updateFile:()=>{const d=document.getElementById(e.value);d&&d.click()},hasUploadError:n,fileClone:l,maximumFileSize:i}}});const Om={fontSize:"font-size",fontWeight:"font-weight",fontFamily:"font-family",color:"color",margin:"margin",padding:"padding"};ae({name:"KInlineEdit",props:{ignoreValue:{type:Boolean,default:!1},styleOverrides:{type:Object,default:()=>({})}},emits:["changed"],setup(t,{emit:r,slots:e}){const i=j(null),n=F(()=>"editable-wrapper-"+Ut()),s=j(!1),a=j(""),o=j({}),l=async d=>{d.target.id!=="element-content-wrapper"&&(o.value={...c(d.target),...t.styleOverrides},a.value=t.ignoreValue?"":d.target.textContent,s.value=!0,await Yr(),i.value&&i.value.focus())},u=()=>{s.value=!1,r("changed",a.value)},c=d=>{const f=getComputedStyle(d);return Object.keys(Om).reduce((p,g)=>(p[g]=f.getPropertyValue(Om[g]),p),{})},h=d=>{var f;(f=d==null?void 0:d.target)==null||f.blur()};return Bt(()=>{try{if(!e.default)throw new Error("KInlineEdit expects a slotted HTML tag.")}catch{console.error(`KInlineEdit expects a slotted HTML tag. Example usage: @@ -473,9 +473,9 @@ Kongponent Docs: https://kongponents.konghq.com/components/breadcrumbs.html`)),(

Some text

^^------add slotted tag - `)}}),{input:i,inputUuid:n,isEditing:s,inputText:a,styles:o,handleClick:l,handleSave:u,onEnter:h}}});oe({name:"KInputSwitch",components:{KTooltip:_o,KIcon:Xe},inheritAttrs:!1,props:{modelValue:{type:Boolean,default:!1,required:!0},label:{type:String,default:""},labelPosition:{type:String,default:"right",validator:t=>["left","right"].includes(t)},disabled:{type:Boolean,default:!1},disabledTooltipText:{type:String,default:""},enabledIcon:{type:Boolean,default:!1}},emits:["change","input","update:modelValue"],setup(t,{attrs:r,emit:e}){const i=F(()=>t.modelValue?"on":"off"),n=F(()=>{if(t.disabled!==void 0&&t.disabled!==!1)return r;const a=Object.assign({},r);return delete a.class,delete a.disabled,a});return{toggleText:i,handleChange:a=>{t.modelValue!==a.target.checked&&(e("change",a.target.checked),e("input",a.target.checked),e("update:modelValue",a.target.checked))},strippedAttrs:n}}});const KW=oe({name:"KMenuDivider"}),WW=t=>(Nr("data-v-461355e1"),t=t(),jr(),t),YW={class:"k-menu-item-divider"},GW=WW(()=>T("hr",null,null,-1)),ZW=[GW];function qW(t,r,e,i,n,s){return S(),I("div",YW,ZW)}var qb=ze(KW,[["render",qW],["__scopeId","data-v-461355e1"]]);const QW=oe({name:"KMenuItem",components:{KButton:gt,KIcon:Xe,KMenuDivider:qb},props:{item:{type:Object,default:null},expandable:{type:Boolean,default:!1},type:{type:String,default:"string",validator:t=>["string","number","divider"].includes(t)},lastMenuItem:{type:Boolean,default:!1},testMode:{type:Boolean,default:!1}},emits:["clicked"],setup(t,{emit:r,slots:e}){const i=j(!1),n=F(()=>t.testMode?"test-menuitem-id-1234":Ut());return{isOpen:i,menuItemId:n,toggleMenuItem:()=>{t.expandable?i.value=!i.value:r("clicked",e.itemTitle||t.item)}}}}),XW=["id","data-testid","test-mode"],JW={key:0,class:"span-icon-container"},eY={key:0},tY={key:1},rY={key:2};function iY(t,r,e,i,n,s){const a=be("KIcon"),o=be("KButton"),l=be("KMenuDivider");return S(),I("div",{id:t.menuItemId,"data-testid":t.item?`${t.item.title.replace(/ /gi,"-")}-menu-item`:"menu-item","test-mode":!!t.testMode||void 0,class:ue([[t.isOpen?"title-dark":"",{"expando-item":t.expandable}],"k-menu-item"])},[t.type!=="divider"?(S(),fe(o,{key:0,"aria-expanded":t.isOpen&&t.expandable||void 0,"aria-labelledby":t.menuItemId||void 0,"is-rounded":!1,type:"button",class:"menu-button non-visual-button",onClick:t.toggleMenuItem},{default:se(()=>[T("span",{class:ue([t.isOpen&&t.expandable?"title-dark":"","span-menu-title"])},[de(t.$slots,"itemTitle",{},()=>[he(re(t.item?t.item.title:""),1)],!0)],2),t.expandable?(S(),I("span",JW,[Z(a,{icon:t.isOpen?"chevronUp":"chevronDown",color:"var(--grey-400)",size:"16"},null,8,["icon"])])):ne("",!0)]),_:3},8,["aria-expanded","aria-labelledby","onClick"])):ne("",!0),t.expandable?(S(),I("div",{key:1,class:ue([t.isOpen?"d-flex":"d-none","menu-content"])},[de(t.$slots,"itemBody",{},()=>[(t.type==="string"||t.type==="divider")&&t.expandable?(S(),I("div",eY,re(t.item?t.item.description:""),1)):(t.type==="number"||t.type==="divider")&&t.expandable?(S(),I("div",tY,re(t.item?t.item.description:""),1)):ne("",!0)],!0)],2)):ne("",!0),!t.lastMenuItem&&(t.type==="divider"||t.expandable)?(S(),I("div",rY,[Z(l)])):ne("",!0)],10,XW)}var nY=ze(QW,[["render",iY],["__scopeId","data-v-b327ae72"]]);const{getSizeFromString:sY}=jn();oe({name:"KMenu",components:{KMenuItem:nY,KMenuDivider:qb},props:{items:{type:Array,required:!1,default:()=>[]},actionButton:{type:String,default:""},width:{type:String,default:"284"},testMode:{type:Boolean,default:!1}},emits:["proceed"],setup(t,{emit:r,slots:e}){const i=F(()=>({width:sY(t.width)})),n=F(()=>!!e.actionButton);return{widthStyle:i,hasActionButton:n,proceed:()=>{r("proceed")}}}});const aY=oe({name:"KModal",components:{KButton:gt,KIcon:Xe},props:{title:{type:String,required:!0},hideTitle:{type:Boolean,default:!1},hideDismissIcon:{type:Boolean,default:!1},dismissButtonTheme:{type:String,default:"dark",validator:t=>["light","dark"].includes(t)},content:{type:String,default:""},textAlign:{type:String,default:"center",validator:t=>["left","center","right"].includes(t)},isVisible:{type:Boolean,default:!1},actionButtonText:{type:String,default:"Submit"},actionButtonAppearance:{type:String,default:"primary"},cancelButtonText:{type:String,default:"Cancel"},cancelButtonAppearance:{type:String,default:"outline"},hideCancelButton:{type:Boolean,default:!1},testMode:{type:Boolean,default:!1}},emits:["canceled","proceed"],setup(t,{emit:r,slots:e}){const i=F(()=>!!e["header-image"]),n=F(()=>t.dismissButtonTheme==="light"?"var(--grey-400)":"var(--grey-600)"),s=l=>{t.isVisible&&l.keyCode===27&&a(!0)},a=(l=!1,u)=>{var c,h;(l||((h=(c=u==null?void 0:u.target)==null?void 0:c.classList)==null?void 0:h.contains("k-modal-backdrop")))&&r("canceled")},o=()=>{r("proceed")};return h0(()=>{var l,u;typeof document<"u"&&(t.isVisible?(l=document==null?void 0:document.body)==null||l.classList.add("k-modal-overflow-hidden"):(u=document==null?void 0:document.body)==null||u.classList.remove("k-modal-overflow-hidden"))}),Bt(()=>{var l;document.addEventListener("keydown",s),t.isVisible&&((l=document==null?void 0:document.body)==null||l.classList.add("k-modal-overflow-hidden"))}),Fi(()=>{var l;document.removeEventListener("keydown",s),(l=document==null?void 0:document.body)==null||l.classList.remove("k-modal-overflow-hidden")}),{hasHeaderImage:i,dismissButtonColor:n,close:a,proceed:o}}}),oY=["aria-label"],lY={class:"k-modal-dialog modal-dialog"},uY={key:0,class:"close-button"},cY={class:"k-modal-content modal-content"},hY={key:0,class:"k-modal-header-image d-flex"},dY={class:"k-modal-footer modal-footer d-flex"},fY={class:"k-modal-action-buttons"};function pY(t,r,e,i,n,s){const a=be("KIcon"),o=be("KButton");return t.isVisible?(S(),I("div",{key:0,"aria-label":t.title,class:"k-modal",role:"dialog","aria-modal":"true"},[T("div",{class:"k-modal-backdrop modal-backdrop",onClick:r[3]||(r[3]=l=>t.close(!1,l))},[T("div",lY,[t.hasHeaderImage&&!t.hideDismissIcon?(S(),I("div",uY,[Z(o,{class:"non-visual-button","aria-label":"Close",onClick:r[0]||(r[0]=l=>t.close(!0))},{default:se(()=>[Z(a,{icon:"close",color:t.dismissButtonColor,size:"15"},null,8,["color"])]),_:1})])):ne("",!0),T("div",cY,[t.hasHeaderImage?(S(),I("div",hY,[de(t.$slots,"header-image",{},void 0,!0)])):ne("",!0),t.$slots["header-content"]||!t.hideTitle?(S(),I("div",{key:1,role:"heading","aria-level":"2",class:ue([{"header-left":t.textAlign==="left","header-centered":t.textAlign==="center","header-right":t.textAlign==="right","mb-5":!t.hasHeaderImage,"mb-4":t.hasHeaderImage},"k-modal-header modal-header"])},[de(t.$slots,"header-content",{},()=>[he(re(t.title),1)],!0)],2)):ne("",!0),T("div",{class:ue([{"content-left":t.textAlign==="left","content-centered":t.textAlign==="center","content-right":t.textAlign==="right"},"k-modal-body modal-body"])},[de(t.$slots,"body-content",{},()=>[he(re(t.content),1)],!0)],2),T("div",dY,[de(t.$slots,"footer-content",{},()=>[t.hideCancelButton?ne("",!0):(S(),fe(o,{key:0,appearance:t.cancelButtonAppearance,onClick:r[1]||(r[1]=l=>t.close(!0)),onKeyup:r[2]||(r[2]=$i(l=>t.close(!0),["esc"]))},{default:se(()=>[he(re(t.cancelButtonText),1)]),_:1},8,["appearance"])),T("div",fY,[de(t.$slots,"action-buttons",{},()=>[Z(o,{appearance:t.actionButtonAppearance,onClick:t.proceed,onKeyup:$i(t.proceed,["enter"])},{default:se(()=>[he(re(t.actionButtonText),1)]),_:1},8,["appearance","onClick","onKeyup"])],!0)])],!0)])])])])],8,oY)):ne("",!0)}var Qb=ze(aY,[["render",pY],["__scopeId","data-v-442f114b"]]);oe({name:"KModalFullscreen",components:{KButton:gt,KIcon:Xe},props:{title:{type:String,required:!0},bodyHeader:{type:String,default:""},bodyHeaderDescription:{type:String,default:""},isVisible:{type:Boolean,default:!1},cancelButtonText:{type:String,default:"Cancel"},actionButtonText:{type:String,default:"Save"},actionButtonAppearance:{type:String,default:"primary"},cancelButtonAppearance:{type:String,default:"outline"},iconString:{type:String,default:"kong"}},emits:["canceled","proceed"],setup(t,{emit:r}){const e=j(null),i=F(()=>!!t.isVisible);Ye(()=>t.isVisible,async()=>{i.value?(document.body.style.overflow="hidden",await Yr(),e.value&&e.value.focus()):document.body.style.overflow=""});const n=o=>{t.isVisible&&(o.keyCode===27?s():o.keyCode===13&&a())},s=()=>{r("canceled")},a=()=>{r("proceed")};return Bt(()=>{document.addEventListener("keydown",n)}),fo(()=>{document.removeEventListener("keydown",n)}),Fi(()=>{document.body.style.overflow=""}),{isOpen:i,modalBodyContent:e,handleKeydown:n,close:s,proceed:a}}});oe({name:"KPrompt",components:{KButton:gt,KIcon:Xe,KInput:Vu,KModal:Qb},props:{title:{type:String,default:""},type:{type:String,default:"info",validator:t=>["info","warning","danger"].includes(t)},message:{type:String,default:""},actionButtonText:{type:String,default:"OK"},cancelButtonText:{type:String,default:"Cancel"},actionPending:{type:Boolean,default:!1},isVisible:{type:Boolean,default:!1},confirmationText:{type:String,default:""},preventProceedOnEnter:{type:Boolean,default:!1}},emits:["canceled","proceed"],setup(t,{emit:r}){const e=j(""),i=()=>{e.value="",r("canceled")},n=u=>{l.value||(e.value="",r("proceed",u))},s=u=>{t.isVisible&&(u.keyCode===27?i():u.keyCode===13&&(t.preventProceedOnEnter||n(u)))},a=(u="")=>{const c=/(?:^|[\s-:'"])\w/g;return u.replace(c,h=>h.toUpperCase())},o=F(()=>t.title?t.type==="warning"?"Warning: "+t.title:t.title:t.type==="info"?"Information":a(t.type)),l=F(()=>t.actionPending?!0:t.confirmationText.length?t.confirmationText!==e.value:!1);return Bt(()=>{document.addEventListener("keydown",s)}),fo(()=>{document.removeEventListener("keydown",s)}),{confirmationInput:e,displayTitle:o,disableProceedButton:l,handleKeydown:s,close:i,proceed:n}}});const gY=oe({name:"KRadio",inheritAttrs:!1,props:{modelValue:{type:[String,Number,Boolean,Object],default:"on",required:!0},selectedValue:{type:[String,Number,Boolean,Object],required:!0}},emits:["change","update:modelValue"],setup(t,{emit:r,attrs:e}){const i=F(()=>t.selectedValue===t.modelValue),n=()=>{r("change",t.selectedValue),r("update:modelValue",t.selectedValue)},s=F(()=>{const a={...e};return delete a.class,a});return{isSelected:i,modifiedAttrs:s,handleClick:n}}}),vY=["checked"];function mY(t,r,e,i,n,s){return S(),I("label",{class:ue(["k-radio",t.$attrs.class])},[T("input",Tt({checked:t.isSelected},t.modifiedAttrs,{type:"radio",class:"k-input",onClick:r[0]||(r[0]=(...a)=>t.handleClick&&t.handleClick(...a))}),null,16,vY),de(t.$slots,"default",{},void 0,!0)],2)}var zee=ze(gY,[["render",mY],["__scopeId","data-v-37af04dc"]]);oe({name:"KSlideout",components:{KCard:yf,KIcon:Xe},props:{isVisible:{type:Boolean,default:!1}},emits:["close"],setup(t,{emit:r}){const e=(i,n=!1)=>{(t.isVisible&&i.keyCode===27||n)&&r("close")};return Bt(()=>{document.addEventListener("keydown",e)}),Fi(()=>{document.removeEventListener("keydown",e)}),{handleClose:e}}});const yY=oe({name:"KActiveState",props:{title:{type:String,default:"Active"}}}),bY=t=>(Nr("data-v-3ef7acf2"),t=t(),jr(),t),_Y={viewBox:"0 0 24 24",fill:"none",class:"k-step-state-icon","data-testid":"k-step-active"},wY=bY(()=>T("circle",{cx:"12.375",cy:"12",r:"11","stroke-width":"2"},null,-1));function SY(t,r,e,i,n,s){return S(),I("svg",_Y,[T("title",null,re(t.title),1),wY])}var PY=ze(yY,[["render",SY],["__scopeId","data-v-3ef7acf2"]]);const CY=oe({name:"KCompletedState",props:{title:{type:String,default:"Completed"}}}),Kf=t=>(Nr("data-v-713fc4ad"),t=t(),jr(),t),OY={viewBox:"0 0 24 24",fill:"none",class:"k-step-state-icon","data-testid":"k-step-completed"},kY=Kf(()=>T("circle",{cx:"12",cy:"12",r:"12",class:"k-step-icon-primary"},null,-1)),TY=Kf(()=>T("path",{d:"M16 9L10 15L7 12.0001",class:"k-step-icon-primary"},null,-1)),EY=Kf(()=>T("path",{d:"M16 9L10 15L7 12.0001","stroke-width":"2.25","stroke-linecap":"round","stroke-linejoin":"round",class:"k-step-icon-secondary"},null,-1));function xY(t,r,e,i,n,s){return S(),I("svg",OY,[T("title",null,re(t.title),1),kY,TY,EY])}var DY=ze(CY,[["render",xY],["__scopeId","data-v-713fc4ad"]]);const IY=oe({name:"KDefaultState",props:{title:{type:String,default:"Default"}}}),MY=t=>(Nr("data-v-f28650fe"),t=t(),jr(),t),AY={viewBox:"0 0 24 24",fill:"none",class:"k-step-state-icon","data-testid":"k-step-default"},$Y=MY(()=>T("circle",{cx:"12.375",cy:"12",r:"11","stroke-width":"2"},null,-1));function BY(t,r,e,i,n,s){return S(),I("svg",AY,[T("title",null,re(t.title),1),$Y])}var LY=ze(IY,[["render",BY],["__scopeId","data-v-f28650fe"]]);const FY=oe({name:"KErrorState",props:{title:{type:String,default:"Error"}}}),Xb=t=>(Nr("data-v-8359bd4e"),t=t(),jr(),t),RY={class:"k-step-state-icon",viewBox:"0 0 24 24",fill:"none","data-testid":"k-step-error"},VY=Xb(()=>T("circle",{cx:"12",cy:"12",r:"12",class:"k-step-icon-primary"},null,-1)),NY=Xb(()=>T("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.14 9.517a.889.889 0 0 0-1.258-1.257l-2.483 2.483L9.917 8.26A.889.889 0 0 0 8.66 9.517L11.142 12 8.66 14.483a.889.889 0 0 0 1.257 1.257l2.482-2.483 2.483 2.483a.889.889 0 0 0 1.257-1.257L13.657 12l2.482-2.483Z",class:"k-step-icon-secondary"},null,-1));function jY(t,r,e,i,n,s){return S(),I("svg",RY,[T("title",null,re(t.title),1),VY,NY])}var HY=ze(FY,[["render",jY],["__scopeId","data-v-8359bd4e"]]);const zY=oe({name:"KPendingState",props:{title:{type:String,default:"Pending"}}}),UY=t=>(Nr("data-v-0acc505c"),t=t(),jr(),t),KY={class:"k-step-spinner"},WY={class:"k-step-state-icon",viewBox:"0 0 50 50","data-testid":"k-step-pending"},YY=UY(()=>T("circle",{cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"5"},null,-1));function GY(t,r,e,i,n,s){return S(),I("div",KY,[(S(),I("svg",WY,[he(re(t.title)+" ",1),YY]))])}var ZY=ze(zY,[["render",GY],["__scopeId","data-v-0acc505c"]]);const qY=oe({name:"KStepState",components:{KActiveState:PY,KCompletedState:DY,KDefaultState:LY,KErrorState:HY,KPendingState:ZY},props:{state:{type:String,default:"default",validator:t=>["default","active","pending","completed","error"].includes(t)}}}),QY={class:"k-step-state px-3"};function XY(t,r,e,i,n,s){const a=be("KActiveState"),o=be("KCompletedState"),l=be("KErrorState"),u=be("KPendingState"),c=be("KDefaultState");return S(),I("div",QY,[t.state==="active"?(S(),fe(a,{key:0})):t.state==="completed"?(S(),fe(o,{key:1})):t.state==="error"?(S(),fe(l,{key:2})):t.state==="pending"?(S(),fe(u,{key:3})):(S(),fe(c,{key:4}))])}var JY=ze(qY,[["render",XY],["__scopeId","data-v-2f817e2a"]]);const{getSizeFromString:eG}=jn(),tG=oe({name:"KStep",components:{KLabel:Ls,KStepState:JY},props:{label:{type:String,required:!0},state:{type:String,default:"default",validator:t=>["default","active","pending","completed","error"].includes(t)},maxLabelWidth:{type:String,default:"170"}},setup(t){return{labelStyle:F(()=>({maxWidth:eG(t.maxLabelWidth)}))}}}),rG={class:"k-step"};function iG(t,r,e,i,n,s){const a=be("KStepState"),o=be("KLabel");return S(),I("li",rG,[T("div",{class:ue([{completed:t.state==="completed"},"k-step-container"])},[Z(a,{state:t.state},null,8,["state"]),T("div",{class:ue([{bolder:t.state==="active"||t.state==="pending"||t.state==="error",error:t.state==="error"},"k-step-label px-3"]),style:cr(t.labelStyle)},[Z(o,null,{default:se(()=>[he(re(t.label),1)]),_:1})],6)],2)])}var nG=ze(tG,[["render",iG],["__scopeId","data-v-3e394724"]]);oe({name:"KStepper",components:{KStep:nG},props:{steps:{type:Array,required:!0,validator:t=>!t.length||t.every(r=>r.label!==void 0)},maxLabelWidth:{type:String,default:""}}});const km=(t,r,e,i)=>sG(t,r,e,i),{clientSideSorter:sG,useDebounce:aG,useRequest:oG}=jn(),lG=oe({name:"KTable",components:{KButton:gt,KEmptyState:bf,KIcon:Xe,KPagination:T1,KSkeleton:E1},props:{options:{type:Object,default:()=>null,required:!1},enableClientSort:{type:Boolean,default:!1},hasHover:{type:Boolean,default:!0},sortOrder:{type:String,default:"",validator:t=>["ascending","descending",""].includes(t)},sortKey:{type:String,default:""},sortHandlerFn:{type:Function,default:()=>({})},rowAttrs:{type:Function,default:()=>({})},hasSideBorder:{type:Boolean,default:!1},cellAttrs:{type:Function,default:()=>({})},isLoading:{type:Boolean,default:!1},emptyStateTitle:{type:String,default:"No Data"},emptyStateMessage:{type:String,default:"There is no data to display."},emptyStateActionRoute:{type:[Object,String],default:""},emptyStateActionMessage:{type:String,default:""},emptyStateActionButtonIcon:{type:String,default:""},emptyStateIcon:{type:String,default:""},emptyStateIconColor:{type:String,default:""},emptyStateIconSize:{type:String,default:"50"},hasError:{type:Boolean,default:!1},errorStateTitle:{type:String,default:"An error occurred"},errorStateMessage:{type:String,default:"Data cannot be displayed due to an error."},errorStateActionRoute:{type:[Object,String],default:""},errorStateActionMessage:{type:String,default:""},errorStateIcon:{type:String,default:""},errorStateIconColor:{type:String,default:""},errorStateIconSize:{type:String,default:"50"},fetcher:{type:Function,default:void 0,required:!0},fetcherCacheKey:{type:String,default:""},searchInput:{type:String,default:""},headers:{type:Array,default:()=>[]},initialFetcherParams:{type:Object,default:null},paginationNeighbors:{type:Number,default:1},paginationPageSizes:{type:Array,default:()=>[15,30,50,75,100],validator:t=>!!t.length&&t.every(r=>typeof r=="number")},paginationTotalItems:{type:Number,default:null},disablePaginationPageJump:{type:Boolean,default:!1},disableSorting:{type:Boolean,default:!1},disablePagination:{type:Boolean,default:!1},paginationType:{type:String,default:"default",validator:t=>["default","offset"].includes(t)},hidePaginationWhenOptional:{type:Boolean,default:!1},testMode:{type:String,default:"",validator:t=>["true","loading",""].includes(t)}},emits:["sort","ktable-error-cta-clicked","ktable-empty-state-cta-clicked","row-click","cell-click"],setup(t,{attrs:r,emit:e,slots:i}){const n=F(()=>t.testMode?"test-table-id-1234":Ut()),s={pageSize:15,page:1,query:"",sortColumnKey:"",sortColumnOrder:"desc",offset:null},a=j([]),o=j([]),l=j(0),u=j(!1),c=j(!0),h=j(1),d=j(15),f=j(""),p=j(""),g=j("desc"),v=j(null),y=j([]),m=j(!1),w=j(!1),C=j(!1),P=F(()=>!!i.toolbar),E=(ce,xe)=>(L,U)=>{const G=/^on[^a-z]/,A={};for(const z in xe)G.test(z)&&!!xe[z]&&(A[z]=xe[z]);return Object.keys(A).reduce((z,ae)=>{if(ae.indexOf(ce)===0){const ve=ae.split(ce);z[ve[1]]=b=>A[ae](b,L,U)}return z},{})},V=F(()=>(ce,xe)=>{const L=E("onRow:",r)(xe,"row"),U=E("onCell:",r)(ce,"cell"),G=["a","button","input","select"];return L.click&&(m.value=!0),{...L,...U,click(A){const z=A.target.className;let ae=G.includes(A.target.tagName.toLowerCase()),ve=!1;typeof z=="string"||Array.isArray(z)?ve=z.includes("k-popover"):typeof z=="object"&&(ve=Object.keys(z).includes("k-popover")),A.target.closest(".k-popover-content")!==null&&(ve=!0);for(let b=0;b{var ce,xe;const L=t.searchInput;c.value=!0;const U=await t.fetcher({pageSize:d.value,page:h.value,query:L||f.value,sortColumnKey:p.value,sortColumnOrder:g.value,offset:v.value});return a.value=U.data,l.value=t.paginationTotalItems||U.total||((ce=U.data)==null?void 0:ce.length),t.paginationType==="offset"&&((xe=U.pagination)!=null&&xe.offset?(v.value=U.pagination.offset,y.value[h.value]||y.value.push(U.pagination.offset)):(v.value=null,C.value||(h.value=1))),t.fetcher?t.enableClientSort&&p.value&&g.value&&km(p.value,"",g.value,a.value):t.options&&t.options.data&&t.options.data.length&&(a.value=t.options.data,l.value=t.options.data.length),c.value=!1,C.value=!1,U},R=async()=>{const ce={...s,...t.initialFetcherParams};h.value=ce.page,d.value=ce.pageSize,f.value=ce.query,p.value=ce.sortColumnKey,g.value=ce.sortColumnOrder,t.paginationType==="offset"&&(v.value=ce.offset,y.value.push(ce.offset)),t.headers&&t.headers.length?o.value=t.headers:t.options&&t.options.headers&&t.options.headers.length&&(o.value=t.options.headers),w.value=!0},Q=F(()=>y.value[h.value-1]),ge=F(()=>!t.fetcher||!w.value?"":`k-table_${Math.floor(Math.random()*1e3)}_${t.fetcherCacheKey}`),{query:H,search:q}=aG("",350),{revalidate:_e}=oG(()=>ge.value,()=>D(),{revalidateOnFocus:!1}),we=ce=>{const{key:xe,useSortHandlerFn:L}=ce,U=p.value+"";h.value=1,p.value&&xe===p.value?g.value==="asc"?g.value="desc":g.value="asc":(p.value=xe,g.value="asc"),t.options&&t.options.data||t.enableClientSort?L&&t.sortHandlerFn?t.sortHandlerFn({key:xe,prevKey:U,sortColumnOrder:g.value,data:a.value}):km(xe,U,g.value,a.value):t.paginationType!=="offset"&&_e()},$=({page:ce})=>{h.value=ce},te=({pageSize:ce})=>{y.value=[null],v.value=null,d.value=ce,h.value=1},pe=ce=>{ce&&ce.target&&ce.target.scrollTop&&(ce.target.scrollTop>1?u.value=!0:ce.target.scrollTop&&(u.value=!u.value))},Te=()=>{h.value++,C.value=!0},Je=()=>{h.value--,v.value=Q.value},Ce=F(()=>t.fetcher&&!t.disablePagination&&!(t.paginationType!=="offset"&&t.hidePaginationWhenOptional&&l.value<=t.paginationPageSizes[0])&&!(t.paginationType==="offset"&&t.hidePaginationWhenOptional&&!Q.value&&!v.value&&a.value.length<=t.paginationPageSizes[0])),Ee=ce=>ce.toLowerCase().replace(/[^[a-z0-9]/gi,"-");return Ye(()=>t.searchInput,ce=>{q(ce)},{immediate:!0}),Ye(()=>[H.value,h.value,d.value],()=>{_e()},{deep:!0,immediate:!0}),Bt(()=>{R()}),{data:a,isScrolled:u,isTableLoading:c,page:h,pageChangeHandler:$,pageSizeChangeHandler:te,pageSize:d,scrollHandler:pe,sortClickHandler:we,sortColumnKey:p,sortColumnOrder:g,isClickable:m,tableHeaders:o,tdlisteners:V,total:l,tableId:n,getTestIdString:Ee,getNextOffsetHandler:Te,getPrevOffsetHandler:Je,previousOffset:Q,offset:v,shouldShowPagination:Ce,hasToolbarSlot:P}}}),uG={class:"k-table-container"},cG={key:0,class:"k-table-toolbar mb-5","data-testid":"k-table-toolbar"},hG={key:2,class:"k-table-error-state","data-testid":"k-table-error-state"},dG={key:3,class:"k-table-empty-state","data-testid":"k-table-empty-state"},fG=["data-tableid"],pG=["onClick"],gG={class:"d-flex align-items-center"},vG=["tabindex","role"];function mG(t,r,e,i,n,s){const a=be("KSkeleton"),o=be("KButton"),l=be("KEmptyState"),u=be("KIcon"),c=be("KPagination");return S(),I("div",uG,[t.hasToolbarSlot?(S(),I("div",cG,[de(t.$slots,"toolbar",{},void 0,!0)])):ne("",!0),(!t.testMode||t.testMode==="loading")&&(t.isTableLoading||t.isLoading)&&!t.hasError?(S(),fe(a,{key:1,type:"table","data-testid":"k-table-skeleton"})):t.hasError?(S(),I("div",hG,[de(t.$slots,"error-state",{},()=>[Z(l,{"is-error":"","cta-is-hidden":!t.errorStateActionMessage||!t.errorStateActionRoute,icon:t.errorStateIcon||"","icon-color":t.errorStateIconColor,"icon-size":t.errorStateIconSize},{title:se(()=>[he(re(t.errorStateTitle),1)]),message:se(()=>[he(re(t.errorStateMessage),1)]),cta:se(()=>[t.errorStateActionMessage?(S(),fe(o,{key:0,to:t.errorStateActionRoute?t.errorStateActionRoute:void 0,appearance:"primary","data-testid":t.getTestIdString(t.errorStateActionMessage),onClick:r[0]||(r[0]=h=>t.$emit("ktable-error-cta-clicked"))},{default:se(()=>[he(re(t.errorStateActionMessage),1)]),_:1},8,["to","data-testid"])):ne("",!0)]),_:1},8,["cta-is-hidden","icon","icon-color","icon-size"])],!0)])):!t.hasError&&!t.isTableLoading&&!t.isLoading&&t.data&&!t.data.length?(S(),I("div",dG,[de(t.$slots,"empty-state",{},()=>[Z(l,{"cta-is-hidden":!t.emptyStateActionMessage||!t.emptyStateActionRoute,icon:t.emptyStateIcon||"","icon-color":t.emptyStateIconColor,"icon-size":t.emptyStateIconSize},{title:se(()=>[he(re(t.emptyStateTitle),1)]),message:se(()=>[he(re(t.emptyStateMessage),1)]),cta:se(()=>[t.emptyStateActionMessage?(S(),fe(o,{key:0,to:t.emptyStateActionRoute?t.emptyStateActionRoute:void 0,icon:t.emptyStateActionButtonIcon,appearance:t.searchInput?"btn-link":"primary","data-testid":t.getTestIdString(t.emptyStateActionMessage),onClick:r[1]||(r[1]=h=>t.$emit("ktable-empty-state-cta-clicked"))},{default:se(()=>[he(re(t.emptyStateActionMessage),1)]),_:1},8,["to","icon","appearance","data-testid"])):ne("",!0)]),_:1},8,["cta-is-hidden","icon","icon-color","icon-size"])],!0)])):(S(),I("section",{key:4,class:"k-table-wrapper",onScrollPassive:r[2]||(r[2]=(...h)=>t.scrollHandler&&t.scrollHandler(...h))},[T("table",{class:ue([{"has-hover":t.hasHover,"is-clickable":t.isClickable,"side-border":t.hasSideBorder},"k-table"]),"data-tableid":t.tableId},[T("thead",{class:ue({"is-scrolled":t.isScrolled})},[T("tr",{class:ue({"is-scrolled":t.isScrolled})},[(S(!0),I(Ue,null,Rt(t.tableHeaders,(h,d)=>(S(),I("th",{key:`k-table-${t.tableId}-headers-${d}`,class:ue({sortable:!t.disableSorting&&!h.hideLabel&&h.sortable,"active-sort":!t.disableSorting&&!h.hideLabel&&h.sortable&&h.key===t.sortColumnKey,[t.sortColumnOrder]:!t.disableSorting&&h.key===t.sortColumnKey&&!h.hideLabel,"is-scrolled":t.isScrolled}),onClick:()=>{!t.disableSorting&&h.sortable&&(t.$emit("sort",{prevKey:t.sortColumnKey,sortColumnKey:h.key,sortColumnOrder:t.sortColumnOrder==="asc"?"desc":"asc"}),t.sortClickHandler(h))}},[T("span",gG,[de(t.$slots,`column-${h.key}`,{column:h},()=>[T("span",{class:ue({"sr-only":h.hideLabel})},re(h.label?h.label:h.key),3)],!0),!t.disableSorting&&!h.hideLabel&&h.sortable?(S(),fe(u,{key:0,icon:"chevronDown",color:"var(--KTableColor, var(--black-70, color(black-70)))",size:"12",class:"caret ml-2"})):ne("",!0)])],10,pG))),128))],2)],2),T("tbody",null,[(S(!0),I(Ue,null,Rt(t.data,(h,d)=>(S(),I("tr",Tt(t.rowAttrs(h),{key:`k-table-${t.tableId}-row-${d}`,tabindex:t.isClickable?0:null,role:t.isClickable?"link":null},Sp(t.hasSideBorder?t.tdlisteners(h,h):{},!0)),[(S(!0),I(Ue,null,Rt(t.tableHeaders,(f,p)=>(S(),I("td",Tt(t.cellAttrs({headerKey:f.key,row:h,rowIndex:d,colIndex:p}),{key:`k-table-${t.tableId}-cell-${p}`},Sp(t.tdlisteners(h[f.key],h),!0)),[de(t.$slots,f.key,{row:h,rowKey:d,rowValue:h[f.key]},()=>[he(re(h[f.key]),1)],!0)],16))),128))],16,vG))),128))])],10,fG),t.shouldShowPagination?(S(),fe(c,{key:0,"total-count":t.total,"current-page":t.page,neighbors:t.paginationNeighbors,"page-sizes":t.paginationPageSizes,"initial-page-size":t.pageSize,"disable-page-jump":t.disablePaginationPageJump,"test-mode":!!t.testMode||void 0,"pagination-type":t.paginationType,"offset-prev-button-disabled":!t.previousOffset,"offset-next-button-disabled":!t.offset,class:"pa-1","data-testid":"k-table-pagination",onPageChanged:t.pageChangeHandler,onPageSizeChanged:t.pageSizeChangeHandler,onGetNextOffset:t.getNextOffsetHandler,onGetPrevOffset:t.getPrevOffsetHandler},null,8,["total-count","current-page","neighbors","page-sizes","initial-page-size","disable-page-jump","test-mode","pagination-type","offset-prev-button-disabled","offset-next-button-disabled","onPageChanged","onPageSizeChanged","onGetNextOffset","onGetPrevOffset"])):ne("",!0)],32))])}var Uee=ze(lG,[["render",mG],["__scopeId","data-v-4f741344"]]);const yG=oe({name:"KTabs",props:{tabs:{type:Array,required:!0},modelValue:{type:String,default:"",validator:t=>t===""||t.includes("#")&&!t.includes(" ")}},emits:["update:modelValue","changed"],setup(t,{emit:r}){const e=j(t.modelValue?t.modelValue:t.tabs[0].hash),i=n=>{e.value=n,r("changed",n),r("update:modelValue",n)};return Ye(()=>t.modelValue,n=>{e.value=n,r("changed",n),r("update:modelValue",n)}),{activeTab:e,handleTabChange:i}}}),bG={class:"k-tabs"},_G={role:"tablist","aria-label":"Tabs"},wG=["id","aria-selected","aria-controls","onKeydown","onClick"],SG={class:"tab-link"},PG=["id","aria-labelledby"];function CG(t,r,e,i,n,s){return S(),I("div",bG,[T("ul",_G,[(S(!0),I(Ue,null,Rt(t.tabs,(a,o)=>(S(),I("li",{id:`${a.hash.replace("#","")}-tab`,key:a.hash,"aria-selected":t.activeTab===a.hash?"true":"false","aria-controls":`panel-${o}`,class:ue([{active:t.activeTab===a.hash},"tab-item"]),tabindex:"0",role:"tab",onKeydown:[$i(pr(l=>t.handleTabChange(a.hash),["prevent"]),["enter"]),$i(pr(l=>t.handleTabChange(a.hash),["prevent"]),["space"])],onClick:l=>t.handleTabChange(a.hash)},[T("a",SG,[de(t.$slots,`${a.hash.replace("#","")}-anchor`,{},()=>[he(re(a.title),1)],!0)])],42,wG))),128))]),(S(!0),I(Ue,null,Rt(t.tabs,(a,o)=>(S(),I("div",{id:`panel-${o}`,key:a.hash,"aria-labelledby":`${a.hash.replace("#","")}-tab`,role:"tabpanel",tabindex:"0",class:"tab-container"},[t.activeTab===a.hash?de(t.$slots,a.hash.replace("#",""),{key:0},void 0,!0):ne("",!0)],8,PG))),128))])}var Kee=ze(yG,[["render",CG],["__scopeId","data-v-b0b5f6ae"]]);const OG=2048;oe({name:"KTextArea",components:{KLabel:Ls},inheritAttrs:!1,props:{modelValue:{type:String,default:""},label:{type:String,default:""},overlayLabel:{type:Boolean,default:!1},labelAttributes:{type:Object,default:()=>({})},characterLimit:{type:Number,default:OG,validator:t=>t>0},disableCharacterLimit:{type:Boolean,default:!1},rows:{type:Number,default:5},cols:{type:Number,default:52},hasError:{type:Boolean,default:!1},testMode:{type:Boolean,default:!1}},emits:["input","update:modelValue","char-limit-exceeded"],setup(t,{attrs:r,emit:e}){const i=j(""),n=j(!1),s=j(!1),a=F({get(){return t.modelValue},set(d){c({target:{value:d}})}}),o=F(()=>r.id?String(r.id):t.testMode?"test-textArea-id-1234":Ut()),l=F(()=>{const d={...r};return delete d.class,d}),u=F(()=>!t.disableCharacterLimit&&i.value.length>t.characterLimit),c=d=>{var f;const p=JSON.parse(JSON.stringify((f=d==null?void 0:d.target)==null?void 0:f.value));e("input",p),e("update:modelValue",p),i.value=p};return Ye(u,(d,f)=>{d!==f&&e("char-limit-exceeded",{value:i.value,length:i.value.length,characterLimit:t.characterLimit,limitExceeded:d})}),Ye(a,(d,f)=>{d!==f&&c({target:{value:d}})}),{currValue:i,isFocused:n,isHovered:s,textAreaId:o,modifiedAttrs:l,charLimitExceeded:u,inputHandler:c,getValue:()=>i.value?i.value:t.modelValue}}});const kG=l1;oe({name:"KToaster",components:{KAlert:Fu},props:{toasterState:{type:Array,default:[],required:!0}},emits:["close"]});kG.info;oe({name:"Kooltip",setup(t,{attrs:r,slots:e,emit:i}){return Bt(()=>console.warn(`The Kongponents 'Kooltip' component is deprecated and will be removed in a future release. + `)}}),{input:i,inputUuid:n,isEditing:s,inputText:a,styles:o,handleClick:l,handleSave:u,onEnter:h}}});ae({name:"KInputSwitch",components:{KTooltip:_o,KIcon:Xe},inheritAttrs:!1,props:{modelValue:{type:Boolean,default:!1,required:!0},label:{type:String,default:""},labelPosition:{type:String,default:"right",validator:t=>["left","right"].includes(t)},disabled:{type:Boolean,default:!1},disabledTooltipText:{type:String,default:""},enabledIcon:{type:Boolean,default:!1}},emits:["change","input","update:modelValue"],setup(t,{attrs:r,emit:e}){const i=F(()=>t.modelValue?"on":"off"),n=F(()=>{if(t.disabled!==void 0&&t.disabled!==!1)return r;const a=Object.assign({},r);return delete a.class,delete a.disabled,a});return{toggleText:i,handleChange:a=>{t.modelValue!==a.target.checked&&(e("change",a.target.checked),e("input",a.target.checked),e("update:modelValue",a.target.checked))},strippedAttrs:n}}});const KW=ae({name:"KMenuDivider"}),WW=t=>(Nr("data-v-461355e1"),t=t(),jr(),t),YW={class:"k-menu-item-divider"},GW=WW(()=>E("hr",null,null,-1)),ZW=[GW];function qW(t,r,e,i,n,s){return S(),I("div",YW,ZW)}var qb=ze(KW,[["render",qW],["__scopeId","data-v-461355e1"]]);const QW=ae({name:"KMenuItem",components:{KButton:gt,KIcon:Xe,KMenuDivider:qb},props:{item:{type:Object,default:null},expandable:{type:Boolean,default:!1},type:{type:String,default:"string",validator:t=>["string","number","divider"].includes(t)},lastMenuItem:{type:Boolean,default:!1},testMode:{type:Boolean,default:!1}},emits:["clicked"],setup(t,{emit:r,slots:e}){const i=j(!1),n=F(()=>t.testMode?"test-menuitem-id-1234":Ut());return{isOpen:i,menuItemId:n,toggleMenuItem:()=>{t.expandable?i.value=!i.value:r("clicked",e.itemTitle||t.item)}}}}),XW=["id","data-testid","test-mode"],JW={key:0,class:"span-icon-container"},eY={key:0},tY={key:1},rY={key:2};function iY(t,r,e,i,n,s){const a=be("KIcon"),o=be("KButton"),l=be("KMenuDivider");return S(),I("div",{id:t.menuItemId,"data-testid":t.item?`${t.item.title.replace(/ /gi,"-")}-menu-item`:"menu-item","test-mode":!!t.testMode||void 0,class:ce([[t.isOpen?"title-dark":"",{"expando-item":t.expandable}],"k-menu-item"])},[t.type!=="divider"?(S(),fe(o,{key:0,"aria-expanded":t.isOpen&&t.expandable||void 0,"aria-labelledby":t.menuItemId||void 0,"is-rounded":!1,type:"button",class:"menu-button non-visual-button",onClick:t.toggleMenuItem},{default:se(()=>[E("span",{class:ce([t.isOpen&&t.expandable?"title-dark":"","span-menu-title"])},[de(t.$slots,"itemTitle",{},()=>[ue(re(t.item?t.item.title:""),1)],!0)],2),t.expandable?(S(),I("span",JW,[Z(a,{icon:t.isOpen?"chevronUp":"chevronDown",color:"var(--grey-400)",size:"16"},null,8,["icon"])])):ne("",!0)]),_:3},8,["aria-expanded","aria-labelledby","onClick"])):ne("",!0),t.expandable?(S(),I("div",{key:1,class:ce([t.isOpen?"d-flex":"d-none","menu-content"])},[de(t.$slots,"itemBody",{},()=>[(t.type==="string"||t.type==="divider")&&t.expandable?(S(),I("div",eY,re(t.item?t.item.description:""),1)):(t.type==="number"||t.type==="divider")&&t.expandable?(S(),I("div",tY,re(t.item?t.item.description:""),1)):ne("",!0)],!0)],2)):ne("",!0),!t.lastMenuItem&&(t.type==="divider"||t.expandable)?(S(),I("div",rY,[Z(l)])):ne("",!0)],10,XW)}var nY=ze(QW,[["render",iY],["__scopeId","data-v-b327ae72"]]);const{getSizeFromString:sY}=jn();ae({name:"KMenu",components:{KMenuItem:nY,KMenuDivider:qb},props:{items:{type:Array,required:!1,default:()=>[]},actionButton:{type:String,default:""},width:{type:String,default:"284"},testMode:{type:Boolean,default:!1}},emits:["proceed"],setup(t,{emit:r,slots:e}){const i=F(()=>({width:sY(t.width)})),n=F(()=>!!e.actionButton);return{widthStyle:i,hasActionButton:n,proceed:()=>{r("proceed")}}}});const aY=ae({name:"KModal",components:{KButton:gt,KIcon:Xe},props:{title:{type:String,required:!0},hideTitle:{type:Boolean,default:!1},hideDismissIcon:{type:Boolean,default:!1},dismissButtonTheme:{type:String,default:"dark",validator:t=>["light","dark"].includes(t)},content:{type:String,default:""},textAlign:{type:String,default:"center",validator:t=>["left","center","right"].includes(t)},isVisible:{type:Boolean,default:!1},actionButtonText:{type:String,default:"Submit"},actionButtonAppearance:{type:String,default:"primary"},cancelButtonText:{type:String,default:"Cancel"},cancelButtonAppearance:{type:String,default:"outline"},hideCancelButton:{type:Boolean,default:!1},testMode:{type:Boolean,default:!1}},emits:["canceled","proceed"],setup(t,{emit:r,slots:e}){const i=F(()=>!!e["header-image"]),n=F(()=>t.dismissButtonTheme==="light"?"var(--grey-400)":"var(--grey-600)"),s=l=>{t.isVisible&&l.keyCode===27&&a(!0)},a=(l=!1,u)=>{var c,h;(l||((h=(c=u==null?void 0:u.target)==null?void 0:c.classList)==null?void 0:h.contains("k-modal-backdrop")))&&r("canceled")},o=()=>{r("proceed")};return h0(()=>{var l,u;typeof document<"u"&&(t.isVisible?(l=document==null?void 0:document.body)==null||l.classList.add("k-modal-overflow-hidden"):(u=document==null?void 0:document.body)==null||u.classList.remove("k-modal-overflow-hidden"))}),Bt(()=>{var l;document.addEventListener("keydown",s),t.isVisible&&((l=document==null?void 0:document.body)==null||l.classList.add("k-modal-overflow-hidden"))}),Fi(()=>{var l;document.removeEventListener("keydown",s),(l=document==null?void 0:document.body)==null||l.classList.remove("k-modal-overflow-hidden")}),{hasHeaderImage:i,dismissButtonColor:n,close:a,proceed:o}}}),oY=["aria-label"],lY={class:"k-modal-dialog modal-dialog"},uY={key:0,class:"close-button"},cY={class:"k-modal-content modal-content"},hY={key:0,class:"k-modal-header-image d-flex"},dY={class:"k-modal-footer modal-footer d-flex"},fY={class:"k-modal-action-buttons"};function pY(t,r,e,i,n,s){const a=be("KIcon"),o=be("KButton");return t.isVisible?(S(),I("div",{key:0,"aria-label":t.title,class:"k-modal",role:"dialog","aria-modal":"true"},[E("div",{class:"k-modal-backdrop modal-backdrop",onClick:r[3]||(r[3]=l=>t.close(!1,l))},[E("div",lY,[t.hasHeaderImage&&!t.hideDismissIcon?(S(),I("div",uY,[Z(o,{class:"non-visual-button","aria-label":"Close",onClick:r[0]||(r[0]=l=>t.close(!0))},{default:se(()=>[Z(a,{icon:"close",color:t.dismissButtonColor,size:"15"},null,8,["color"])]),_:1})])):ne("",!0),E("div",cY,[t.hasHeaderImage?(S(),I("div",hY,[de(t.$slots,"header-image",{},void 0,!0)])):ne("",!0),t.$slots["header-content"]||!t.hideTitle?(S(),I("div",{key:1,role:"heading","aria-level":"2",class:ce([{"header-left":t.textAlign==="left","header-centered":t.textAlign==="center","header-right":t.textAlign==="right","mb-5":!t.hasHeaderImage,"mb-4":t.hasHeaderImage},"k-modal-header modal-header"])},[de(t.$slots,"header-content",{},()=>[ue(re(t.title),1)],!0)],2)):ne("",!0),E("div",{class:ce([{"content-left":t.textAlign==="left","content-centered":t.textAlign==="center","content-right":t.textAlign==="right"},"k-modal-body modal-body"])},[de(t.$slots,"body-content",{},()=>[ue(re(t.content),1)],!0)],2),E("div",dY,[de(t.$slots,"footer-content",{},()=>[t.hideCancelButton?ne("",!0):(S(),fe(o,{key:0,appearance:t.cancelButtonAppearance,onClick:r[1]||(r[1]=l=>t.close(!0)),onKeyup:r[2]||(r[2]=$i(l=>t.close(!0),["esc"]))},{default:se(()=>[ue(re(t.cancelButtonText),1)]),_:1},8,["appearance"])),E("div",fY,[de(t.$slots,"action-buttons",{},()=>[Z(o,{appearance:t.actionButtonAppearance,onClick:t.proceed,onKeyup:$i(t.proceed,["enter"])},{default:se(()=>[ue(re(t.actionButtonText),1)]),_:1},8,["appearance","onClick","onKeyup"])],!0)])],!0)])])])])],8,oY)):ne("",!0)}var Qb=ze(aY,[["render",pY],["__scopeId","data-v-442f114b"]]);ae({name:"KModalFullscreen",components:{KButton:gt,KIcon:Xe},props:{title:{type:String,required:!0},bodyHeader:{type:String,default:""},bodyHeaderDescription:{type:String,default:""},isVisible:{type:Boolean,default:!1},cancelButtonText:{type:String,default:"Cancel"},actionButtonText:{type:String,default:"Save"},actionButtonAppearance:{type:String,default:"primary"},cancelButtonAppearance:{type:String,default:"outline"},iconString:{type:String,default:"kong"}},emits:["canceled","proceed"],setup(t,{emit:r}){const e=j(null),i=F(()=>!!t.isVisible);Ye(()=>t.isVisible,async()=>{i.value?(document.body.style.overflow="hidden",await Yr(),e.value&&e.value.focus()):document.body.style.overflow=""});const n=o=>{t.isVisible&&(o.keyCode===27?s():o.keyCode===13&&a())},s=()=>{r("canceled")},a=()=>{r("proceed")};return Bt(()=>{document.addEventListener("keydown",n)}),fo(()=>{document.removeEventListener("keydown",n)}),Fi(()=>{document.body.style.overflow=""}),{isOpen:i,modalBodyContent:e,handleKeydown:n,close:s,proceed:a}}});ae({name:"KPrompt",components:{KButton:gt,KIcon:Xe,KInput:Vu,KModal:Qb},props:{title:{type:String,default:""},type:{type:String,default:"info",validator:t=>["info","warning","danger"].includes(t)},message:{type:String,default:""},actionButtonText:{type:String,default:"OK"},cancelButtonText:{type:String,default:"Cancel"},actionPending:{type:Boolean,default:!1},isVisible:{type:Boolean,default:!1},confirmationText:{type:String,default:""},preventProceedOnEnter:{type:Boolean,default:!1}},emits:["canceled","proceed"],setup(t,{emit:r}){const e=j(""),i=()=>{e.value="",r("canceled")},n=u=>{l.value||(e.value="",r("proceed",u))},s=u=>{t.isVisible&&(u.keyCode===27?i():u.keyCode===13&&(t.preventProceedOnEnter||n(u)))},a=(u="")=>{const c=/(?:^|[\s-:'"])\w/g;return u.replace(c,h=>h.toUpperCase())},o=F(()=>t.title?t.type==="warning"?"Warning: "+t.title:t.title:t.type==="info"?"Information":a(t.type)),l=F(()=>t.actionPending?!0:t.confirmationText.length?t.confirmationText!==e.value:!1);return Bt(()=>{document.addEventListener("keydown",s)}),fo(()=>{document.removeEventListener("keydown",s)}),{confirmationInput:e,displayTitle:o,disableProceedButton:l,handleKeydown:s,close:i,proceed:n}}});const gY=ae({name:"KRadio",inheritAttrs:!1,props:{modelValue:{type:[String,Number,Boolean,Object],default:"on",required:!0},selectedValue:{type:[String,Number,Boolean,Object],required:!0}},emits:["change","update:modelValue"],setup(t,{emit:r,attrs:e}){const i=F(()=>t.selectedValue===t.modelValue),n=()=>{r("change",t.selectedValue),r("update:modelValue",t.selectedValue)},s=F(()=>{const a={...e};return delete a.class,a});return{isSelected:i,modifiedAttrs:s,handleClick:n}}}),vY=["checked"];function mY(t,r,e,i,n,s){return S(),I("label",{class:ce(["k-radio",t.$attrs.class])},[E("input",Et({checked:t.isSelected},t.modifiedAttrs,{type:"radio",class:"k-input",onClick:r[0]||(r[0]=(...a)=>t.handleClick&&t.handleClick(...a))}),null,16,vY),de(t.$slots,"default",{},void 0,!0)],2)}var Uee=ze(gY,[["render",mY],["__scopeId","data-v-37af04dc"]]);ae({name:"KSlideout",components:{KCard:yf,KIcon:Xe},props:{isVisible:{type:Boolean,default:!1}},emits:["close"],setup(t,{emit:r}){const e=(i,n=!1)=>{(t.isVisible&&i.keyCode===27||n)&&r("close")};return Bt(()=>{document.addEventListener("keydown",e)}),Fi(()=>{document.removeEventListener("keydown",e)}),{handleClose:e}}});const yY=ae({name:"KActiveState",props:{title:{type:String,default:"Active"}}}),bY=t=>(Nr("data-v-3ef7acf2"),t=t(),jr(),t),_Y={viewBox:"0 0 24 24",fill:"none",class:"k-step-state-icon","data-testid":"k-step-active"},wY=bY(()=>E("circle",{cx:"12.375",cy:"12",r:"11","stroke-width":"2"},null,-1));function SY(t,r,e,i,n,s){return S(),I("svg",_Y,[E("title",null,re(t.title),1),wY])}var PY=ze(yY,[["render",SY],["__scopeId","data-v-3ef7acf2"]]);const CY=ae({name:"KCompletedState",props:{title:{type:String,default:"Completed"}}}),Kf=t=>(Nr("data-v-713fc4ad"),t=t(),jr(),t),OY={viewBox:"0 0 24 24",fill:"none",class:"k-step-state-icon","data-testid":"k-step-completed"},kY=Kf(()=>E("circle",{cx:"12",cy:"12",r:"12",class:"k-step-icon-primary"},null,-1)),EY=Kf(()=>E("path",{d:"M16 9L10 15L7 12.0001",class:"k-step-icon-primary"},null,-1)),TY=Kf(()=>E("path",{d:"M16 9L10 15L7 12.0001","stroke-width":"2.25","stroke-linecap":"round","stroke-linejoin":"round",class:"k-step-icon-secondary"},null,-1));function xY(t,r,e,i,n,s){return S(),I("svg",OY,[E("title",null,re(t.title),1),kY,EY,TY])}var DY=ze(CY,[["render",xY],["__scopeId","data-v-713fc4ad"]]);const IY=ae({name:"KDefaultState",props:{title:{type:String,default:"Default"}}}),MY=t=>(Nr("data-v-f28650fe"),t=t(),jr(),t),AY={viewBox:"0 0 24 24",fill:"none",class:"k-step-state-icon","data-testid":"k-step-default"},$Y=MY(()=>E("circle",{cx:"12.375",cy:"12",r:"11","stroke-width":"2"},null,-1));function BY(t,r,e,i,n,s){return S(),I("svg",AY,[E("title",null,re(t.title),1),$Y])}var LY=ze(IY,[["render",BY],["__scopeId","data-v-f28650fe"]]);const FY=ae({name:"KErrorState",props:{title:{type:String,default:"Error"}}}),Xb=t=>(Nr("data-v-8359bd4e"),t=t(),jr(),t),RY={class:"k-step-state-icon",viewBox:"0 0 24 24",fill:"none","data-testid":"k-step-error"},VY=Xb(()=>E("circle",{cx:"12",cy:"12",r:"12",class:"k-step-icon-primary"},null,-1)),NY=Xb(()=>E("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.14 9.517a.889.889 0 0 0-1.258-1.257l-2.483 2.483L9.917 8.26A.889.889 0 0 0 8.66 9.517L11.142 12 8.66 14.483a.889.889 0 0 0 1.257 1.257l2.482-2.483 2.483 2.483a.889.889 0 0 0 1.257-1.257L13.657 12l2.482-2.483Z",class:"k-step-icon-secondary"},null,-1));function jY(t,r,e,i,n,s){return S(),I("svg",RY,[E("title",null,re(t.title),1),VY,NY])}var HY=ze(FY,[["render",jY],["__scopeId","data-v-8359bd4e"]]);const zY=ae({name:"KPendingState",props:{title:{type:String,default:"Pending"}}}),UY=t=>(Nr("data-v-0acc505c"),t=t(),jr(),t),KY={class:"k-step-spinner"},WY={class:"k-step-state-icon",viewBox:"0 0 50 50","data-testid":"k-step-pending"},YY=UY(()=>E("circle",{cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"5"},null,-1));function GY(t,r,e,i,n,s){return S(),I("div",KY,[(S(),I("svg",WY,[ue(re(t.title)+" ",1),YY]))])}var ZY=ze(zY,[["render",GY],["__scopeId","data-v-0acc505c"]]);const qY=ae({name:"KStepState",components:{KActiveState:PY,KCompletedState:DY,KDefaultState:LY,KErrorState:HY,KPendingState:ZY},props:{state:{type:String,default:"default",validator:t=>["default","active","pending","completed","error"].includes(t)}}}),QY={class:"k-step-state px-3"};function XY(t,r,e,i,n,s){const a=be("KActiveState"),o=be("KCompletedState"),l=be("KErrorState"),u=be("KPendingState"),c=be("KDefaultState");return S(),I("div",QY,[t.state==="active"?(S(),fe(a,{key:0})):t.state==="completed"?(S(),fe(o,{key:1})):t.state==="error"?(S(),fe(l,{key:2})):t.state==="pending"?(S(),fe(u,{key:3})):(S(),fe(c,{key:4}))])}var JY=ze(qY,[["render",XY],["__scopeId","data-v-2f817e2a"]]);const{getSizeFromString:eG}=jn(),tG=ae({name:"KStep",components:{KLabel:Ls,KStepState:JY},props:{label:{type:String,required:!0},state:{type:String,default:"default",validator:t=>["default","active","pending","completed","error"].includes(t)},maxLabelWidth:{type:String,default:"170"}},setup(t){return{labelStyle:F(()=>({maxWidth:eG(t.maxLabelWidth)}))}}}),rG={class:"k-step"};function iG(t,r,e,i,n,s){const a=be("KStepState"),o=be("KLabel");return S(),I("li",rG,[E("div",{class:ce([{completed:t.state==="completed"},"k-step-container"])},[Z(a,{state:t.state},null,8,["state"]),E("div",{class:ce([{bolder:t.state==="active"||t.state==="pending"||t.state==="error",error:t.state==="error"},"k-step-label px-3"]),style:cr(t.labelStyle)},[Z(o,null,{default:se(()=>[ue(re(t.label),1)]),_:1})],6)],2)])}var nG=ze(tG,[["render",iG],["__scopeId","data-v-3e394724"]]);ae({name:"KStepper",components:{KStep:nG},props:{steps:{type:Array,required:!0,validator:t=>!t.length||t.every(r=>r.label!==void 0)},maxLabelWidth:{type:String,default:""}}});const km=(t,r,e,i)=>sG(t,r,e,i),{clientSideSorter:sG,useDebounce:aG,useRequest:oG}=jn(),lG=ae({name:"KTable",components:{KButton:gt,KEmptyState:bf,KIcon:Xe,KPagination:E1,KSkeleton:T1},props:{options:{type:Object,default:()=>null,required:!1},enableClientSort:{type:Boolean,default:!1},hasHover:{type:Boolean,default:!0},sortOrder:{type:String,default:"",validator:t=>["ascending","descending",""].includes(t)},sortKey:{type:String,default:""},sortHandlerFn:{type:Function,default:()=>({})},rowAttrs:{type:Function,default:()=>({})},hasSideBorder:{type:Boolean,default:!1},cellAttrs:{type:Function,default:()=>({})},isLoading:{type:Boolean,default:!1},emptyStateTitle:{type:String,default:"No Data"},emptyStateMessage:{type:String,default:"There is no data to display."},emptyStateActionRoute:{type:[Object,String],default:""},emptyStateActionMessage:{type:String,default:""},emptyStateActionButtonIcon:{type:String,default:""},emptyStateIcon:{type:String,default:""},emptyStateIconColor:{type:String,default:""},emptyStateIconSize:{type:String,default:"50"},hasError:{type:Boolean,default:!1},errorStateTitle:{type:String,default:"An error occurred"},errorStateMessage:{type:String,default:"Data cannot be displayed due to an error."},errorStateActionRoute:{type:[Object,String],default:""},errorStateActionMessage:{type:String,default:""},errorStateIcon:{type:String,default:""},errorStateIconColor:{type:String,default:""},errorStateIconSize:{type:String,default:"50"},fetcher:{type:Function,default:void 0,required:!0},fetcherCacheKey:{type:String,default:""},searchInput:{type:String,default:""},headers:{type:Array,default:()=>[]},initialFetcherParams:{type:Object,default:null},paginationNeighbors:{type:Number,default:1},paginationPageSizes:{type:Array,default:()=>[15,30,50,75,100],validator:t=>!!t.length&&t.every(r=>typeof r=="number")},paginationTotalItems:{type:Number,default:null},disablePaginationPageJump:{type:Boolean,default:!1},disableSorting:{type:Boolean,default:!1},disablePagination:{type:Boolean,default:!1},paginationType:{type:String,default:"default",validator:t=>["default","offset"].includes(t)},hidePaginationWhenOptional:{type:Boolean,default:!1},testMode:{type:String,default:"",validator:t=>["true","loading",""].includes(t)}},emits:["sort","ktable-error-cta-clicked","ktable-empty-state-cta-clicked","row-click","cell-click"],setup(t,{attrs:r,emit:e,slots:i}){const n=F(()=>t.testMode?"test-table-id-1234":Ut()),s={pageSize:15,page:1,query:"",sortColumnKey:"",sortColumnOrder:"desc",offset:null},a=j([]),o=j([]),l=j(0),u=j(!1),c=j(!0),h=j(1),d=j(15),f=j(""),p=j(""),g=j("desc"),v=j(null),y=j([]),m=j(!1),w=j(!1),C=j(!1),P=F(()=>!!i.toolbar),T=(he,De)=>(L,U)=>{const G=/^on[^a-z]/,A={};for(const z in De)G.test(z)&&!!De[z]&&(A[z]=De[z]);return Object.keys(A).reduce((z,oe)=>{if(oe.indexOf(he)===0){const ve=oe.split(he);z[ve[1]]=b=>A[oe](b,L,U)}return z},{})},V=F(()=>(he,De)=>{const L=T("onRow:",r)(De,"row"),U=T("onCell:",r)(he,"cell"),G=["a","button","input","select"];return L.click&&(m.value=!0),{...L,...U,click(A){const z=A.target.className;let oe=G.includes(A.target.tagName.toLowerCase()),ve=!1;typeof z=="string"||Array.isArray(z)?ve=z.includes("k-popover"):typeof z=="object"&&(ve=Object.keys(z).includes("k-popover")),A.target.closest(".k-popover-content")!==null&&(ve=!0);for(let b=0;b{var he,De;const L=t.searchInput;c.value=!0;const U=await t.fetcher({pageSize:d.value,page:h.value,query:L||f.value,sortColumnKey:p.value,sortColumnOrder:g.value,offset:v.value});return a.value=U.data,l.value=t.paginationTotalItems||U.total||((he=U.data)==null?void 0:he.length),t.paginationType==="offset"&&((De=U.pagination)!=null&&De.offset?(v.value=U.pagination.offset,y.value[h.value]||y.value.push(U.pagination.offset)):(v.value=null,C.value||(h.value=1))),t.fetcher?t.enableClientSort&&p.value&&g.value&&km(p.value,"",g.value,a.value):t.options&&t.options.data&&t.options.data.length&&(a.value=t.options.data,l.value=t.options.data.length),c.value=!1,C.value=!1,U},R=async()=>{const he={...s,...t.initialFetcherParams};h.value=he.page,d.value=he.pageSize,f.value=he.query,p.value=he.sortColumnKey,g.value=he.sortColumnOrder,t.paginationType==="offset"&&(v.value=he.offset,y.value.push(he.offset)),t.headers&&t.headers.length?o.value=t.headers:t.options&&t.options.headers&&t.options.headers.length&&(o.value=t.options.headers),w.value=!0},Q=F(()=>y.value[h.value-1]),ge=F(()=>!t.fetcher||!w.value?"":`k-table_${Math.floor(Math.random()*1e3)}_${t.fetcherCacheKey}`),{query:H,search:q}=aG("",350),{revalidate:_e}=oG(()=>ge.value,()=>D(),{revalidateOnFocus:!1}),we=he=>{const{key:De,useSortHandlerFn:L}=he,U=p.value+"";h.value=1,p.value&&De===p.value?g.value==="asc"?g.value="desc":g.value="asc":(p.value=De,g.value="asc"),t.options&&t.options.data||t.enableClientSort?L&&t.sortHandlerFn?t.sortHandlerFn({key:De,prevKey:U,sortColumnOrder:g.value,data:a.value}):km(De,U,g.value,a.value):t.paginationType!=="offset"&&_e()},$=({page:he})=>{h.value=he},te=({pageSize:he})=>{y.value=[null],v.value=null,d.value=he,h.value=1},pe=he=>{he&&he.target&&he.target.scrollTop&&(he.target.scrollTop>1?u.value=!0:he.target.scrollTop&&(u.value=!u.value))},Te=()=>{h.value++,C.value=!0},Je=()=>{h.value--,v.value=Q.value},Ce=F(()=>t.fetcher&&!t.disablePagination&&!(t.paginationType!=="offset"&&t.hidePaginationWhenOptional&&l.value<=t.paginationPageSizes[0])&&!(t.paginationType==="offset"&&t.hidePaginationWhenOptional&&!Q.value&&!v.value&&a.value.length<=t.paginationPageSizes[0])),xe=he=>he.toLowerCase().replace(/[^[a-z0-9]/gi,"-");return Ye(()=>t.searchInput,he=>{q(he)},{immediate:!0}),Ye(()=>[H.value,h.value,d.value],()=>{_e()},{deep:!0,immediate:!0}),Bt(()=>{R()}),{data:a,isScrolled:u,isTableLoading:c,page:h,pageChangeHandler:$,pageSizeChangeHandler:te,pageSize:d,scrollHandler:pe,sortClickHandler:we,sortColumnKey:p,sortColumnOrder:g,isClickable:m,tableHeaders:o,tdlisteners:V,total:l,tableId:n,getTestIdString:xe,getNextOffsetHandler:Te,getPrevOffsetHandler:Je,previousOffset:Q,offset:v,shouldShowPagination:Ce,hasToolbarSlot:P}}}),uG={class:"k-table-container"},cG={key:0,class:"k-table-toolbar mb-5","data-testid":"k-table-toolbar"},hG={key:2,class:"k-table-error-state","data-testid":"k-table-error-state"},dG={key:3,class:"k-table-empty-state","data-testid":"k-table-empty-state"},fG=["data-tableid"],pG=["onClick"],gG={class:"d-flex align-items-center"},vG=["tabindex","role"];function mG(t,r,e,i,n,s){const a=be("KSkeleton"),o=be("KButton"),l=be("KEmptyState"),u=be("KIcon"),c=be("KPagination");return S(),I("div",uG,[t.hasToolbarSlot?(S(),I("div",cG,[de(t.$slots,"toolbar",{},void 0,!0)])):ne("",!0),(!t.testMode||t.testMode==="loading")&&(t.isTableLoading||t.isLoading)&&!t.hasError?(S(),fe(a,{key:1,type:"table","data-testid":"k-table-skeleton"})):t.hasError?(S(),I("div",hG,[de(t.$slots,"error-state",{},()=>[Z(l,{"is-error":"","cta-is-hidden":!t.errorStateActionMessage||!t.errorStateActionRoute,icon:t.errorStateIcon||"","icon-color":t.errorStateIconColor,"icon-size":t.errorStateIconSize},{title:se(()=>[ue(re(t.errorStateTitle),1)]),message:se(()=>[ue(re(t.errorStateMessage),1)]),cta:se(()=>[t.errorStateActionMessage?(S(),fe(o,{key:0,to:t.errorStateActionRoute?t.errorStateActionRoute:void 0,appearance:"primary","data-testid":t.getTestIdString(t.errorStateActionMessage),onClick:r[0]||(r[0]=h=>t.$emit("ktable-error-cta-clicked"))},{default:se(()=>[ue(re(t.errorStateActionMessage),1)]),_:1},8,["to","data-testid"])):ne("",!0)]),_:1},8,["cta-is-hidden","icon","icon-color","icon-size"])],!0)])):!t.hasError&&!t.isTableLoading&&!t.isLoading&&t.data&&!t.data.length?(S(),I("div",dG,[de(t.$slots,"empty-state",{},()=>[Z(l,{"cta-is-hidden":!t.emptyStateActionMessage||!t.emptyStateActionRoute,icon:t.emptyStateIcon||"","icon-color":t.emptyStateIconColor,"icon-size":t.emptyStateIconSize},{title:se(()=>[ue(re(t.emptyStateTitle),1)]),message:se(()=>[ue(re(t.emptyStateMessage),1)]),cta:se(()=>[t.emptyStateActionMessage?(S(),fe(o,{key:0,to:t.emptyStateActionRoute?t.emptyStateActionRoute:void 0,icon:t.emptyStateActionButtonIcon,appearance:t.searchInput?"btn-link":"primary","data-testid":t.getTestIdString(t.emptyStateActionMessage),onClick:r[1]||(r[1]=h=>t.$emit("ktable-empty-state-cta-clicked"))},{default:se(()=>[ue(re(t.emptyStateActionMessage),1)]),_:1},8,["to","icon","appearance","data-testid"])):ne("",!0)]),_:1},8,["cta-is-hidden","icon","icon-color","icon-size"])],!0)])):(S(),I("section",{key:4,class:"k-table-wrapper",onScrollPassive:r[2]||(r[2]=(...h)=>t.scrollHandler&&t.scrollHandler(...h))},[E("table",{class:ce([{"has-hover":t.hasHover,"is-clickable":t.isClickable,"side-border":t.hasSideBorder},"k-table"]),"data-tableid":t.tableId},[E("thead",{class:ce({"is-scrolled":t.isScrolled})},[E("tr",{class:ce({"is-scrolled":t.isScrolled})},[(S(!0),I(Ue,null,Rt(t.tableHeaders,(h,d)=>(S(),I("th",{key:`k-table-${t.tableId}-headers-${d}`,class:ce({sortable:!t.disableSorting&&!h.hideLabel&&h.sortable,"active-sort":!t.disableSorting&&!h.hideLabel&&h.sortable&&h.key===t.sortColumnKey,[t.sortColumnOrder]:!t.disableSorting&&h.key===t.sortColumnKey&&!h.hideLabel,"is-scrolled":t.isScrolled}),onClick:()=>{!t.disableSorting&&h.sortable&&(t.$emit("sort",{prevKey:t.sortColumnKey,sortColumnKey:h.key,sortColumnOrder:t.sortColumnOrder==="asc"?"desc":"asc"}),t.sortClickHandler(h))}},[E("span",gG,[de(t.$slots,`column-${h.key}`,{column:h},()=>[E("span",{class:ce({"sr-only":h.hideLabel})},re(h.label?h.label:h.key),3)],!0),!t.disableSorting&&!h.hideLabel&&h.sortable?(S(),fe(u,{key:0,icon:"chevronDown",color:"var(--KTableColor, var(--black-70, color(black-70)))",size:"12",class:"caret ml-2"})):ne("",!0)])],10,pG))),128))],2)],2),E("tbody",null,[(S(!0),I(Ue,null,Rt(t.data,(h,d)=>(S(),I("tr",Et(t.rowAttrs(h),{key:`k-table-${t.tableId}-row-${d}`,tabindex:t.isClickable?0:null,role:t.isClickable?"link":null},Sp(t.hasSideBorder?t.tdlisteners(h,h):{},!0)),[(S(!0),I(Ue,null,Rt(t.tableHeaders,(f,p)=>(S(),I("td",Et(t.cellAttrs({headerKey:f.key,row:h,rowIndex:d,colIndex:p}),{key:`k-table-${t.tableId}-cell-${p}`},Sp(t.tdlisteners(h[f.key],h),!0)),[de(t.$slots,f.key,{row:h,rowKey:d,rowValue:h[f.key]},()=>[ue(re(h[f.key]),1)],!0)],16))),128))],16,vG))),128))])],10,fG),t.shouldShowPagination?(S(),fe(c,{key:0,"total-count":t.total,"current-page":t.page,neighbors:t.paginationNeighbors,"page-sizes":t.paginationPageSizes,"initial-page-size":t.pageSize,"disable-page-jump":t.disablePaginationPageJump,"test-mode":!!t.testMode||void 0,"pagination-type":t.paginationType,"offset-prev-button-disabled":!t.previousOffset,"offset-next-button-disabled":!t.offset,class:"pa-1","data-testid":"k-table-pagination",onPageChanged:t.pageChangeHandler,onPageSizeChanged:t.pageSizeChangeHandler,onGetNextOffset:t.getNextOffsetHandler,onGetPrevOffset:t.getPrevOffsetHandler},null,8,["total-count","current-page","neighbors","page-sizes","initial-page-size","disable-page-jump","test-mode","pagination-type","offset-prev-button-disabled","offset-next-button-disabled","onPageChanged","onPageSizeChanged","onGetNextOffset","onGetPrevOffset"])):ne("",!0)],32))])}var Kee=ze(lG,[["render",mG],["__scopeId","data-v-4f741344"]]);const yG=ae({name:"KTabs",props:{tabs:{type:Array,required:!0},modelValue:{type:String,default:"",validator:t=>t===""||t.includes("#")&&!t.includes(" ")}},emits:["update:modelValue","changed"],setup(t,{emit:r}){const e=j(t.modelValue?t.modelValue:t.tabs[0].hash),i=n=>{e.value=n,r("changed",n),r("update:modelValue",n)};return Ye(()=>t.modelValue,n=>{e.value=n,r("changed",n),r("update:modelValue",n)}),{activeTab:e,handleTabChange:i}}}),bG={class:"k-tabs"},_G={role:"tablist","aria-label":"Tabs"},wG=["id","aria-selected","aria-controls","onKeydown","onClick"],SG={class:"tab-link"},PG=["id","aria-labelledby"];function CG(t,r,e,i,n,s){return S(),I("div",bG,[E("ul",_G,[(S(!0),I(Ue,null,Rt(t.tabs,(a,o)=>(S(),I("li",{id:`${a.hash.replace("#","")}-tab`,key:a.hash,"aria-selected":t.activeTab===a.hash?"true":"false","aria-controls":`panel-${o}`,class:ce([{active:t.activeTab===a.hash},"tab-item"]),tabindex:"0",role:"tab",onKeydown:[$i(pr(l=>t.handleTabChange(a.hash),["prevent"]),["enter"]),$i(pr(l=>t.handleTabChange(a.hash),["prevent"]),["space"])],onClick:l=>t.handleTabChange(a.hash)},[E("a",SG,[de(t.$slots,`${a.hash.replace("#","")}-anchor`,{},()=>[ue(re(a.title),1)],!0)])],42,wG))),128))]),(S(!0),I(Ue,null,Rt(t.tabs,(a,o)=>(S(),I("div",{id:`panel-${o}`,key:a.hash,"aria-labelledby":`${a.hash.replace("#","")}-tab`,role:"tabpanel",tabindex:"0",class:"tab-container"},[t.activeTab===a.hash?de(t.$slots,a.hash.replace("#",""),{key:0},void 0,!0):ne("",!0)],8,PG))),128))])}var Wee=ze(yG,[["render",CG],["__scopeId","data-v-b0b5f6ae"]]);const OG=2048;ae({name:"KTextArea",components:{KLabel:Ls},inheritAttrs:!1,props:{modelValue:{type:String,default:""},label:{type:String,default:""},overlayLabel:{type:Boolean,default:!1},labelAttributes:{type:Object,default:()=>({})},characterLimit:{type:Number,default:OG,validator:t=>t>0},disableCharacterLimit:{type:Boolean,default:!1},rows:{type:Number,default:5},cols:{type:Number,default:52},hasError:{type:Boolean,default:!1},testMode:{type:Boolean,default:!1}},emits:["input","update:modelValue","char-limit-exceeded"],setup(t,{attrs:r,emit:e}){const i=j(""),n=j(!1),s=j(!1),a=F({get(){return t.modelValue},set(d){c({target:{value:d}})}}),o=F(()=>r.id?String(r.id):t.testMode?"test-textArea-id-1234":Ut()),l=F(()=>{const d={...r};return delete d.class,d}),u=F(()=>!t.disableCharacterLimit&&i.value.length>t.characterLimit),c=d=>{var f;const p=JSON.parse(JSON.stringify((f=d==null?void 0:d.target)==null?void 0:f.value));e("input",p),e("update:modelValue",p),i.value=p};return Ye(u,(d,f)=>{d!==f&&e("char-limit-exceeded",{value:i.value,length:i.value.length,characterLimit:t.characterLimit,limitExceeded:d})}),Ye(a,(d,f)=>{d!==f&&c({target:{value:d}})}),{currValue:i,isFocused:n,isHovered:s,textAreaId:o,modifiedAttrs:l,charLimitExceeded:u,inputHandler:c,getValue:()=>i.value?i.value:t.modelValue}}});const kG=l1;ae({name:"KToaster",components:{KAlert:Fu},props:{toasterState:{type:Array,default:[],required:!0}},emits:["close"]});kG.info;ae({name:"Kooltip",setup(t,{attrs:r,slots:e,emit:i}){return Bt(()=>console.warn(`The Kongponents 'Kooltip' component is deprecated and will be removed in a future release. Update all references of 'Kooltip' to 'KTooltip'. -Kongponent Docs: https://kongponents.konghq.com/components/tooltip.html`)),()=>Me(_o,{...t,...r,...i},e)}});oe({name:"KViewSwitcher",components:{KButton:gt},props:{view:{type:String,default:"table",required:!0,validator:t=>["table","grid"].includes(t)}},emits:["view-changed"],setup(t,{emit:r}){const e=j(!0);return{isPaused:e,toggleView:()=>{e.value=!1,r("view-changed",t.view==="table"?"grid":"table")}}}});const TG=oe({name:"MultiselectItem",components:{KIcon:Xe},props:{item:{type:Object,default:null,validator:t=>t.label!==void 0&&t.value!==void 0},disabled:{type:Boolean,default:!1}},emits:["selected"],setup(t,{emit:r}){return{handleClick:()=>{r("selected",t.item)}}}}),EG=["data-testid"],xG={role:"option",class:"d-block"},DG=["value"],IG={class:"k-multiselect-item-label mr-2"},MG={class:"k-multiselect-selected-icon-container"};function AG(t,r,e,i,n,s){const a=be("KIcon");return S(),I("div",{key:t.item.key,role:"listitem",class:"k-multiselect-item","data-testid":`k-multiselect-item-${t.item.value}`},[T("div",xG,[T("button",{value:t.item.value,class:ue({disabled:t.disabled,selected:t.item.selected}),onClick:r[0]||(r[0]=(...o)=>t.handleClick&&t.handleClick(...o))},[T("span",IG,[de(t.$slots,"content",{},()=>[he(re(t.item.label),1)],!0)]),T("span",MG,[t.item.selected?(S(),fe(a,{key:0,icon:"check",color:"var(--blue-200)",class:"selected-item-icon"})):ne("",!0)])],10,DG)])],8,EG)}var $G=ze(TG,[["render",AG],["__scopeId","data-v-794a69ea"]]);const{getSizeFromString:BG,cloneDeep:Qo}=jn(),LG=34,Tm={hideCaret:!0,placement:"bottomStart",popoverTimeout:0,popoverClasses:"k-multiselect-popover mt-0"};oe({name:"KMultiselect",components:{KBadge:G7,KButton:gt,KIcon:Xe,KInput:Vu,KLabel:Ls,KPop:Bs,KMultiselectItem:$G,KToggle:hf},inheritAttrs:!1,props:{modelValue:{type:Array,default:()=>[]},label:{type:String,default:""},labelAttributes:{type:Object,default:()=>({})},placeholder:{type:String,default:""},kpopAttributes:{type:Object,default:()=>({popoverClasses:""})},dropdownMaxHeight:{type:String,default:"300"},width:{type:String,default:""},selectedRowCount:{type:Number,default:2},expandSelected:{type:Boolean,default:!1},items:{type:Array,default:()=>[],validator:t=>!t.length||t.every(r=>r.label!==void 0&&r.value!==void 0)},positionFixed:{type:Boolean,default:!0},filterFunc:{type:Function,default:t=>t.items.filter(r=>r.label.toLowerCase().includes(t.query.toLowerCase()))},autosuggest:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},testMode:{type:Boolean,default:!1}},emits:["selected","input","change","update:modelValue","query-change"],setup(t,{attrs:r,emit:e}){const i=j(0),n=j(0),s=F(()=>t.testMode?"test-multiselect-id-1234":Ut()),a=F(()=>t.testMode?"test-multiselect-input-id-1234":Ut()),o=F(()=>t.testMode?"test-multiselect-text-id-1234":Ut()),l=F(()=>t.testMode?"test-multiselect-selected-id-1234":Ut()),u=F(()=>t.testMode?"test-multiselect-selected-staging-id-1234":Ut()),c=j(null),h=j(null),d=F(()=>t.selectedRowCount*LG),f=j(""),p=j(null),g=j([]),v=j([]),y=j([]),m=j([]),w=j([]),C=j([]),P=j([]),E=F(()=>P.value.map(_=>_.label).join(", ")),V=j(!1),D=j(!1),R=j(!1),Q=F(()=>(r==null?void 0:r.disabled)!==void 0&&String(r==null?void 0:r.disabled)!=="false"),ge=F(()=>(r==null?void 0:r.readonly)!==void 0&&String(r==null?void 0:r.readonly)!=="false"),H=F({get(){return t.modelValue},set(_){const M=g.value.filter(B=>_.includes(B.value));M.length?xe(M):_.length||A()}}),q=F(()=>{const _={...r};return delete _.class,_}),_e=F(()=>({...Tm,...t.kpopAttributes,popoverClasses:`${Tm.popoverClasses} ${t.kpopAttributes.popoverClasses} k-multiselect-pop`,width:b.value+"px",maxWidth:b.value+"px",maxHeight:String(t.dropdownMaxHeight),disabled:r.disabled!==void 0&&String(r.disabled)!=="false"||r.readonly!==void 0&&String(r.readonly)!=="false"})),we=F(()=>({..._e.value})),$=F(()=>{let _="";return t.width?_=t.width:_="300",BG(_)}),te=F(()=>({width:$.value})),pe=F(()=>({width:b.value+"px"})),Te=F(()=>({width:b.value-30+"px",maxHeight:d.value+"px",paddingRight:0})),Je=_=>y.value.length&&!_?y.value.length===1?`${y.value.length} item selected`:`${y.value.length} items selected`:t.placeholder?t.placeholder:r.placeholder?String(r.placeholder||""):"Filter...",Ce=F(()=>t.autosuggest?g.value:t.filterFunc({items:g.value,query:f.value})),Ee=_=>{r.disabled!==void 0&&String(r.disabled)!=="false"&&_.stopPropagation()},ce=()=>{setTimeout(()=>{const _=document.getElementById(u.value);if(t.expandSelected){n.value++;return}if(_){if(_.clientHeight>d.value){const B=m.value.pop();B&&w.value.push(B)}n.value++}},0)},xe=_=>{_.forEach(M=>{var B;const N=g.value.filter(X=>X.value===M.value)[0];N.selected=!0,N.key=(B=N==null?void 0:N.key)!=null&&B.includes("-selected")?N.key:`${N.key}-selected`,y.value.filter(X=>X.value===N.value).length||(y.value.push(N),m.value.push(N))}),ce()},L=_=>{var M,B,N,X;let W=((M=g.value.filter(K=>K.value===_.value))==null?void 0:M[0])||null;if(W===null&&(W=((B=y.value.filter(K=>K.value===_.value))==null?void 0:B[0])||null),W===null)return;if(W.selected){if(y.value=y.value.filter(K=>K.value!==_.value),m.value.filter(K=>K.value===_.value).length?m.value=m.value.filter(K=>K.value!==_.value):w.value.filter(K=>K.value===_.value).length&&(w.value=w.value.filter(K=>K.value!==_.value)),W.selected=!1,W.key=(N=W.key)==null?void 0:N.replace(/-selected/gi,""),w.value.length){const K=w.value.pop();K&&m.value.push(K)}}else W.selected=!0,W.key=(X=W.key)!=null&&X.includes("-selected")?W.key:`${W.key}-selected`,y.value.push(W),m.value.push(W),t.expandSelected&&U();ce();const Y=y.value.map(K=>K.value);e("selected",y.value),e("change",_),e("update:modelValue",Y)},U=()=>{setTimeout(()=>{var _;(_=h.value)==null||_.scrollIntoView({behavior:"smooth",block:"nearest"})},200)},G=()=>{const _=Ce.value.filter(B=>B.selected),M=Ce.value.filter(B=>!B.selected);v.value=_.concat(M)},A=()=>{g.value.forEach(_=>{var M;_.selected=!1,_.key=(M=_==null?void 0:_.key)==null?void 0:M.replace(/-selected/gi,"")}),y.value=[],m.value=[],w.value=[],f.value="",ce(),e("selected",[]),e("change",null),e("update:modelValue",[]),e("query-change","")},z=_=>{f.value=_,e("query-change",_)},ae=(_,M)=>{if(_.keyCode===27){M.value=!1;return}const B=document.getElementById(o.value);!M.value&&B&&B.click()},ve=()=>{R.value=!0,V.value||(V.value=!0,e("query-change",""))};Ye(n,()=>{setTimeout(()=>{const _=document.getElementById(u.value);if(t.expandSelected){C.value=Qo(m.value),P.value=[],i.value++;return}if(_)if(_.clientHeight>d.value){const B=m.value.pop();B&&w.value.push(B),n.value++}else C.value=Qo(m.value),P.value=Qo(w.value),i.value++},0)}),Ye(i,()=>{p.value&&typeof p.value.updatePopper=="function"&&Yr(()=>{p.value.updatePopper()})}),Ye(Ce,()=>{G()}),Ye(H,(_,M)=>{if(JSON.stringify(_)!==JSON.stringify(M)){const B=g.value.filter(N=>_.includes(N.value));B.length?xe(B):_.length||A()}}),Ye(()=>t.items,(_,M)=>{var B,N,X;if(JSON.stringify(_)!==JSON.stringify(M)){g.value=Qo(t.items);for(let W=0;WK.value===Y.value).length||y.value.push(Y),m.value.filter(K=>K.value===Y.value).length||m.value.push(Y)}ce()}p.value&&typeof p.value.updatePopper=="function"&&Yr(()=>{p.value.updatePopper()})}},{deep:!0,immediate:!0});const b=j(300);return Bt(()=>{var _;b.value=((_=c.value)==null?void 0:_.clientWidth)||300}),{key:i,stagingKey:n,multiselectId:s,multiselectInputId:a,multiselectTextId:o,multiselectSelectedItemsStagingId:u,multiselectSelectedItemsId:l,multiselectRef:c,selectionBottomRef:h,getPlaceholderText:Je,filterStr:f,unfilteredItems:g,sortedItems:v,selectedItems:y,invisibleSelectedItemsStaging:w,visibleSelectedItemsStaging:m,invisibleSelectedItems:P,visibleSelectedItems:C,hiddenItemsTooltip:E,widthStyle:te,numericWidthStyle:pe,nonSlimStyle:Te,modifiedAttrs:q,isHovered:D,isFocused:R,isDisabled:Q,isReadonly:ge,popper:p,boundKPopAttributes:we,sortItems:G,handleFilterClick:Ee,handleItemSelect:L,clearSelection:A,triggerFocus:ae,onQueryChange:z,onInputFocus:ve}}});const FG=oe({__name:"AppBreadcrumbs",setup(t){const r=Bu(),e=tf(),i=F(()=>{const n=new Map;for(const s of r.matched){if(s.name==="home"||s.meta.parent==="home")continue;if(s.meta.parent!==void 0){const o=e.resolve({name:s.meta.parent});o.name&&n.set(o.name,{to:o,key:o.name,title:o.meta.title,text:o.meta.title})}if((s.name===r.name||s.redirect===r.name)&&s.meta.breadcrumbExclude!==!0&&r.name){let o=r.meta.title;r.meta.breadcrumbTitleParam&&r.params[r.meta.breadcrumbTitleParam]&&(o=r.params[r.meta.breadcrumbTitleParam]),n.set(r.name,{to:r,key:r.name,title:o,text:o})}}return Array.from(n.values())});return(n,s)=>ie(i).length>0?(S(),fe(ie(k1),{key:0,items:ie(i)},null,8,["items"])):ne("",!0)}});const RG=T("p",null,"Unable to reach the API",-1),VG={key:0},NG=oe({__name:"AppErrorMessage",setup(t){return(r,e)=>(S(),fe(ie(bf),{class:"global-api-status empty-state--wide-content empty-state--compact","cta-is-hidden":""},{title:se(()=>[Z(ie(Xe),{class:"kong-icon--centered",icon:"warning",color:"var(--black-75)","secondary-color":"var(--yellow-300)",size:"64"}),RG]),message:se(()=>[T("p",null,[he(" Please double check to make sure it is up and running "),ie(yt).url?(S(),I("span",VG,[he(", and it is reachable at "),T("code",null,re(ie(yt).url),1)])):ne("",!0)])]),_:1}))}}),jG=""+new URL("product-logo.7a2ca341.png",import.meta.url).href,HG={key:0,"data-testid":"notification-amount",class:"notification-icon__amount"},zG=oe({__name:"NotificationIcon",setup(t){const r=Or(),e=F(()=>r.getters["notifications/amountOfActions"]);function i(){r.dispatch("notifications/openModal")}return(n,s)=>(S(),I("button",{class:"notification-icon cursor-pointer",type:"button",onClick:i},[Z(ie(Xe),{color:"var(--yellow-300)",icon:"notificationBell"}),ie(e)>0?(S(),I("span",HG,re(ie(e)),1)):ne("",!0)]))}});const Jr=(t,r)=>{const e=t.__vccOpts||t;for(const[i,n]of r)e[i]=n;return e},UG=Jr(zG,[["__scopeId","data-v-c4951eaf"]]);var KG=function(r,e){for(var i=r.split("."),n=e.split("."),s=0;s<3;s++){var a=Number(i[s]),o=Number(n[s]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return 0};const WG={class:"upgrade-check"},YG={class:"alert-content"},GG=oe({__name:"UpgradeCheck",setup(t){const r="https://kuma.io/install/latest/?utm_source=Kuma&utm_medium=Kuma-GUI",e=Or(),i=j(""),n=j(!1),s=F(()=>e.getters["config/getVersion"]),a=F(()=>e.getters["config/getTagline"]);o();async function o(){try{i.value=await yt.getLatestVersion()}catch(l){n.value=!1,console.error(l)}finally{if(i.value!=="")KG(i.value,s.value||"")===1?n.value=!0:n.value=!1;else{const u=new Date,c=new Date("2020-06-03 12:00:00"),h=new Date(c.getFullYear(),c.getMonth()+3,c.getDate());u.getTime()>=h.getTime()?n.value=!0:n.value=!1}}}return(l,u)=>(S(),I("div",WG,[n.value?(S(),fe(ie(Fu),{key:0,appearance:"warning",size:"small"},{alertMessage:se(()=>[T("div",YG,[T("div",null,re(ie(a))+" update available ",1),T("div",null,[Z(ie(gt),{class:"warning-button",appearance:"primary",size:"small",to:r},{default:se(()=>[he(" Update ")]),_:1})])])]),_:1})):ne("",!0)]))}});const ZG=Jr(GG,[["__scopeId","data-v-144c475e"]]),qG=t=>(Nr("data-v-34b4ea08"),t=t(),jr(),t),QG={class:"app-header"},XG={class:"horizontal-list"},JG=["alt"],eZ={class:"upgrade-check-wrapper"},tZ={key:0,class:"horizontal-list"},rZ={class:"app-status app-status--mobile"},iZ={class:"app-status app-status--desktop"},nZ=qG(()=>T("span",{class:"kutil-sr-only"},"Diagnostics",-1)),sZ=oe({__name:"AppHeader",setup(t){const r=Or(),e=F(()=>r.getters["notifications/amountOfActions"]>0),i=F(()=>{const s=r.getters["config/getEnvironment"];return s?s.charAt(0).toUpperCase()+s.substring(1):"Universal"}),n=F(()=>r.getters["config/getMulticlusterStatus"]?"Multi-Zone":"Standalone");return(s,a)=>{const o=be("router-link");return S(),I("header",QG,[T("div",XG,[Z(o,{to:{name:"home"}},{default:se(()=>[T("img",{class:"logo-image",src:jG,alt:`${ie(r).state.config.tagline} Logo`},null,8,JG)]),_:1}),T("div",eZ,[Z(ZG)])]),ie(r).state.config.status==="OK"?(S(),I("div",tZ,[T("div",rZ,[Z(ie(Bs),{width:"280"},{content:se(()=>[T("p",null,[he(re(ie(r).state.config.tagline)+" ",1),T("b",null,re(ie(r).state.config.version),1),he(" on "),T("b",null,re(ie(i)),1),he(" ("+re(ie(n))+") ",1)])]),default:se(()=>[Z(ie(gt),{appearance:"outline"},{default:se(()=>[he(" Info ")]),_:1})]),_:1})]),T("p",iZ,[he(re(ie(r).state.config.tagline)+" ",1),T("b",null,re(ie(r).state.config.version),1),he(" on "),T("b",null,re(ie(i)),1),he(" ("+re(ie(n))+") ",1)]),ie(e)?(S(),fe(UG,{key:0})):ne("",!0),Z(o,{to:{name:"diagnostics"}},{default:se(()=>[Z(ie(Xe),{icon:"gearFilled",color:"currentColor",title:"Diagnostics"}),nZ]),_:1})])):ne("",!0)])}}});const aZ=Jr(sZ,[["__scopeId","data-v-34b4ea08"]]),oZ=""+new URL("kuma-loader-v1.2aaed7d4.gif",import.meta.url).href,lZ=t=>(Nr("data-v-28cdaab8"),t=t(),jr(),t),uZ={class:"full-screen"},cZ={class:"loading-container"},hZ=lZ(()=>T("img",{src:oZ},null,-1)),dZ={class:"progress"},fZ=oe({__name:"AppLoadingBar",setup(t){let r;const e=j(10);return Bt(function(){r=window.setInterval(()=>{e.value>=100&&(window.clearInterval(r),e.value=100),e.value=Math.min(e.value+Math.ceil(Math.random()*30),100)},150)}),Fi(function(){window.clearInterval(r)}),(i,n)=>(S(),I("div",uZ,[T("div",cZ,[hZ,T("div",dZ,[T("div",{style:cr({width:`${e.value}%`}),class:"progress-bar",role:"progressbar","data-testid":"app-progress-bar"},null,4)])])]))}});const pZ=Jr(fZ,[["__scopeId","data-v-28cdaab8"]]),gZ={key:0,class:"onboarding-check"},vZ={class:"alert-content"},mZ=oe({__name:"AppOnboardingNotification",setup(t){const r=j(!1);function e(){r.value=!0}return(i,n)=>r.value===!1?(S(),I("div",gZ,[Z(ie(Fu),{appearance:"success",class:"dismissible","dismiss-type":"icon",onClosed:e},{alertMessage:se(()=>[T("div",vZ,[T("div",null,[T("strong",null,"Welcome to "+re(ie($8))+"!",1),he(" We've detected that you don't have any data plane proxies running yet. We've created an onboarding process to help you! ")]),T("div",null,[Z(ie(gt),{appearance:"primary",size:"small",class:"action-button",to:{name:"onboarding-welcome"}},{default:se(()=>[he(" Get started ")]),_:1})])])]),_:1})])):ne("",!0)}});const yZ=Jr(mZ,[["__scopeId","data-v-c21dc5a7"]]);async function bZ(t,r,e=()=>!1){do{if(await t(),await e())break;const i=typeof r=="number"?r:r();await new Promise(n=>setTimeout(n,Math.max(0,i)))}while(!await e())}const _Z=t=>(Nr("data-v-4a31953a"),t=t(),jr(),t),wZ={class:"mesh-selector-container"},SZ={for:"mesh-selector"},PZ=_Z(()=>T("span",{class:"kutil-sr-only"}," Filter by mesh: ",-1)),CZ=["value","selected"],OZ=oe({__name:"AppMeshSelector",props:{meshes:{type:Array,required:!0}},setup(t){const r=t,e=Bu(),i=tf(),n=Or(),s=F(()=>n.state.selectedMesh===null?r.meshes[0].name:n.state.selectedMesh);function a(o){const u=o.target.value;n.dispatch("updateSelectedMesh",u);const c="mesh"in e.params?e.name:"mesh-detail-view";i.push({name:c,params:{mesh:u}})}return(o,l)=>(S(),I("div",wZ,[T("label",SZ,[PZ,T("select",{id:"mesh-selector",class:"mesh-selector",name:"mesh-selector","data-testid":"mesh-selector",onChange:a},[(S(!0),I(Ue,null,Rt(r.meshes,u=>(S(),I("option",{key:u.name,value:u.name,selected:u.name===ie(s)},re(u.name),9,CZ))),128))],32)])]))}});const kZ=Jr(OZ,[["__scopeId","data-v-4a31953a"]]);var ur={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},Ft=function(t){for(var r=[],e=1;e>parseInt(t,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,Xs)}function ld(t){return t!==0&&Math.random()*100<=t}function To(){}function Ju(t,r){if(typeof t!="object"||t===null)return JSON.stringify(t);var e=Xo(Object.prototype),i=Xo(Array.prototype),n=Xo(Object.getPrototypeOf(t)),s=Xo(t);try{return JSON.stringify(t,zZ(),r)}catch{return""}finally{e(),i(),n(),s()}}function Xo(t){var r=t,e=r.toJSON;return e?(delete r.toJSON,function(){r.toJSON=e}):To}function Js(t,r){return t.indexOf(r)!==-1}function t2(t){if(Array.from)return Array.from(t);var r=[];if(t instanceof Set)t.forEach(function(i){return r.push(i)});else for(var e=0;e=0&&t<=100}function BZ(t){return typeof t=="number"}function uo(t){return Object.keys(t).map(function(r){return t[r]})}function LZ(t){return Object.keys(t).map(function(r){return[r,t[r]]})}function FZ(t){return Object.keys(t).length===0}function r2(t,r){return t.slice(0,r.length)===r}function RZ(t,r){return t.slice(-r.length)===r}function Wf(){if(typeof globalThis=="object")return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var t=_dd_temp_;return delete Object.prototype._dd_temp_,typeof t!="object"&&(typeof self=="object"?t=self:typeof window=="object"?t=window:t={}),t}function VZ(){return NZ(window.location)}function NZ(t){if(t.origin)return t.origin;var r=t.host.replace(/(:80|:443)$/,"");return"".concat(t.protocol,"//").concat(r)}function jZ(t,r){var e=new RegExp("(?:^|;)\\s*".concat(r,"\\s*=\\s*([^;]+)")),i=e.exec(t);return i?i[1]:void 0}function HZ(t,r,e){e===void 0&&(e="");var i=t.charCodeAt(r-1),n=i>=55296&&i<=56319,s=n?r+1:r;return t.length<=s?t:"".concat(t.slice(0,s)).concat(e)}function La(t,r,e,i){return i2(t,[r],e,i)}function i2(t,r,e,i){var n=i===void 0?{}:i,s=n.once,a=n.capture,o=n.passive,l=et(s?function(h){c(),e(h)}:e),u=o?{capture:a,passive:o}:a;r.forEach(function(h){return t.addEventListener(h,l,u)});var c=function(){return r.forEach(function(h){return t.removeEventListener(h,l,u)})};return{stop:c}}function n2(t){return t===null?"null":Array.isArray(t)?"array":typeof t}function s2(){var t=new WeakMap;return{hasAlreadyBeenSeen:function(r){var e=t.has(r);return e||t.set(r,!0),e}}}function zZ(){var t=s2();return function(r,e){var i=n2(e);return(i==="object"||i==="array")&&t.hasAlreadyBeenSeen(e)?"":e}}function pu(t,r,e){if(e===void 0&&(e=s2()),r===void 0)return t;if(typeof r!="object"||r===null)return r;if(r instanceof Date)return new Date(r.getTime());if(r instanceof RegExp){var i=r.flags||[r.global?"g":"",r.ignoreCase?"i":"",r.multiline?"m":"",r.sticky?"y":"",r.unicode?"u":""].join("");return new RegExp(r.source,i)}if(!e.hasAlreadyBeenSeen(r)){if(Array.isArray(r)){for(var n=Array.isArray(t)?t:[],s=0;se||sq.test(r))&&Ft.warn("".concat(t," value doesn't meet tag requirements and will be sanitized"));var i=r.replace(/,/g,"_");return"".concat(t,":").concat(i)}function aq(t){var r=nq(t),e=oq(t,r),i=uo(e).map(function(s){return s.buildIntakeUrl()}),n=lq(t,i,r);return Cr({isIntakeUrl:function(s){return i.some(function(a){return s.indexOf(a)===0})},replica:n,site:t.site||Gf},e)}function oq(t,r){return{logsEndpointBuilder:Ra(t,"logs",r),rumEndpointBuilder:Ra(t,"rum",r),sessionReplayEndpointBuilder:Ra(t,"sessionReplay",r)}}function lq(t,r,e){if(!!t.replica){var i=Cr({},t,{site:Gf,clientToken:t.replica.clientToken}),n={logsEndpointBuilder:Ra(i,"logs",e),rumEndpointBuilder:Ra(i,"rum",e)};return r.push.apply(r,uo(n).map(function(s){return s.buildIntakeUrl()})),Cr({applicationId:t.replica.applicationId},n)}}function uq(t){var r,e,i;if(!t||!t.clientToken){Ft.error("Client Token is not configured, we will not send any data.");return}if(t.sampleRate!==void 0&&!Zc(t.sampleRate)){Ft.error("Sample Rate should be a number between 0 and 100");return}if(t.telemetrySampleRate!==void 0&&!Zc(t.telemetrySampleRate)){Ft.error("Telemetry Sample Rate should be a number between 0 and 100");return}if(t.telemetryConfigurationSampleRate!==void 0&&!Zc(t.telemetryConfigurationSampleRate)){Ft.error("Telemetry Configuration Sample Rate should be a number between 0 and 100");return}return YZ(t.enableExperimentalFeatures),Cr({beforeSend:t.beforeSend&&o2(t.beforeSend,"beforeSend threw an error:"),cookieOptions:cq(t),sampleRate:(r=t.sampleRate)!==null&&r!==void 0?r:100,telemetrySampleRate:(e=t.telemetrySampleRate)!==null&&e!==void 0?e:20,telemetryConfigurationSampleRate:(i=t.telemetryConfigurationSampleRate)!==null&&i!==void 0?i:5,service:t.service,silentMultipleInit:!!t.silentMultipleInit,batchBytesLimit:16*lo,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*qs,batchMessagesLimit:50,messageBytesLimit:256*lo},aq(t))}function cq(t){var r={};return r.secure=hq(t),r.crossSite=!!t.useCrossSiteSessionCookie,t.trackSessionAcrossSubdomains&&(r.domain=WZ()),r}function hq(t){return!!t.useSecureSessionCookie||!!t.useCrossSiteSessionCookie}function dq(t){return{session_sample_rate:t.sampleRate,telemetry_sample_rate:t.telemetrySampleRate,telemetry_configuration_sample_rate:t.telemetryConfigurationSampleRate,use_before_send:!!t.beforeSend,use_cross_site_session_cookie:t.useCrossSiteSessionCookie,use_secure_session_cookie:t.useSecureSessionCookie,use_proxy:t.proxyUrl!==void 0?!!t.proxyUrl:void 0,silent_multiple_init:t.silentMultipleInit,track_session_across_subdomains:t.trackSessionAcrossSubdomains}}var Do="?";function pn(t){var r=[],e=Xc(t,"stack"),i=String(t);return e&&r2(e,i)&&(e=e.slice(i.length)),e&&e.split(` -`).forEach(function(n){var s=gq(n)||mq(n)||bq(n)||Sq(n);s&&(!s.func&&s.line&&(s.func=Do),r.push(s))}),{message:Xc(t,"message"),name:Xc(t,"name"),stack:r}}var c2="((?:file|https?|blob|chrome-extension|native|eval|webpack||\\w+\\.|\\/).*?)",ks="(?::(\\d+))",fq=new RegExp("^\\s*at (.*?) ?\\(".concat(c2).concat(ks,"?").concat(ks,"?\\)?\\s*$"),"i"),pq=new RegExp("\\((\\S*)".concat(ks).concat(ks,"\\)"));function gq(t){var r=fq.exec(t);if(!!r){var e=r[2]&&r[2].indexOf("native")===0,i=r[2]&&r[2].indexOf("eval")===0,n=pq.exec(r[2]);return i&&n&&(r[2]=n[1],r[3]=n[2],r[4]=n[3]),{args:e?[r[2]]:[],column:r[4]?+r[4]:void 0,func:r[1]||Do,line:r[3]?+r[3]:void 0,url:e?void 0:r[2]}}}var vq=new RegExp("^\\s*at ?".concat(c2).concat(ks,"?").concat(ks,"??\\s*$"),"i");function mq(t){var r=vq.exec(t);if(!!r)return{args:[],column:r[3]?+r[3]:void 0,func:Do,line:r[2]?+r[2]:void 0,url:r[1]}}var yq=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function bq(t){var r=yq.exec(t);if(!!r)return{args:[],column:r[4]?+r[4]:void 0,func:r[1]||Do,line:+r[3],url:r[2]}}var _q=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,wq=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function Sq(t){var r=_q.exec(t);if(!!r){var e=r[3]&&r[3].indexOf(" > eval")>-1,i=wq.exec(r[3]);return e&&i&&(r[3]=i[1],r[4]=i[2],r[5]=void 0),{args:r[2]?r[2].split(","):[],column:r[5]?+r[5]:void 0,func:r[1]||Do,line:r[4]?+r[4]:void 0,url:r[3]}}}function Xc(t,r){if(!(typeof t!="object"||!t||!(r in t))){var e=t[r];return typeof e=="string"?e:void 0}}function h2(t,r,e){var i=t[r],n=e(i),s=function(){if(typeof n=="function")return n.apply(this,arguments)};return t[r]=s,{stop:function(){t[r]===s?t[r]=i:n=i}}}function cs(t,r,e){var i=e.before,n=e.after;return h2(t,r,function(s){return function(){var a=arguments,o;return i&&Ln(i,this,a),typeof s=="function"&&(o=s.apply(this,a)),n&&Ln(n,this,a),o}})}var Pq=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function Cq(t){var r=Oq(t).stop,e=kq(t).stop;return{stop:function(){r(),e()}}}function Oq(t){return cs(window,"onerror",{before:function(r,e,i,n,s){var a;if(s)a=pn(s),t(a,s);else{var o={url:e,column:n,line:i},l,u=r;if({}.toString.call(r)==="[object String]"){var c=Pq.exec(u);c&&(l=c[1],u=c[2])}a={name:l,message:typeof u=="string"?u:void 0,stack:[o]},t(a,r)}}})}function kq(t){return cs(window,"onunhandledrejection",{before:function(r){var e=r.reason||"Empty reason",i=pn(e);t(i,e)}})}var rr={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function Tq(t){var r=t.stackTrace,e=t.originalError,i=t.handlingStack,n=t.startClocks,s=t.nonErrorPrefix,a=t.source,o=t.handling;return!r||r.message===void 0&&!(e instanceof Error)?{startClocks:n,source:a,handling:o,originalError:e,message:"".concat(s," ").concat(Ju(e)),stack:"No stack, consider using an instance of Error",handlingStack:i,type:r&&r.name}:{startClocks:n,source:a,handling:o,originalError:e,message:r.message||"Empty message",stack:Un(r),handlingStack:i,type:r.name,causes:Dq(e,a)}}function Un(t){var r=d2(t);return t.stack.forEach(function(e){var i=e.func==="?"?"":e.func,n=e.args&&e.args.length>0?"(".concat(e.args.join(", "),")"):"",s=e.line?":".concat(e.line):"",a=e.line&&e.column?":".concat(e.column):"";r+=` - at `.concat(i).concat(n," @ ").concat(e.url).concat(s).concat(a)}),r}function Eq(t){var r;return(r=/@ (.+)/.exec(t))===null||r===void 0?void 0:r[1]}function d2(t){return"".concat(t.name||"Error",": ").concat(t.message)}function xq(){var t=2,r=new Error,e;if(!r.stack)try{throw r}catch{}return Ln(function(){var i=pn(r);i.stack=i.stack.slice(t),e=Un(i)}),e}function Dq(t,r){for(var e=t,i=[];(e==null?void 0:e.cause)instanceof Error&&i.length<10;){var n=pn(e.cause);i.push({message:e.cause.message,source:r,type:n==null?void 0:n.name,stack:n&&Un(n)}),e=e.cause}return i.length?i:void 0}function Iq(t){return Cq(function(r,e){t.notify(Tq({stackTrace:r,originalError:e,startClocks:xo(),nonErrorPrefix:"Uncaught",source:rr.SOURCE,handling:"unhandled"}))})}function Mq(t){var r=Cr({version:"4.23.3",onReady:function(e){e()}},t);return Object.defineProperty(r,"_setDebug",{get:function(){return xZ},enumerable:!1}),r}function Aq(t,r,e){var i=t[r];t[r]=e,i&&i.q&&i.q.forEach(function(n){return o2(n,"onReady callback threw an error:")()})}var pi=function(){function t(r){this.onFirstSubscribe=r,this.observers=[]}return t.prototype.subscribe=function(r){var e=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe()||void 0),this.observers.push(r),{unsubscribe:function(){e.observers=e.observers.filter(function(i){return r!==i}),!e.observers.length&&e.onLastUnsubscribe&&e.onLastUnsubscribe()}}},t.prototype.notify=function(r){this.observers.forEach(function(e){return e(r)})},t}();function f2(){for(var t=[],r=0;r"],Nq=[eq],Ei={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1},ud;function jq(t,r){var e,i=new pi;Ei.telemetryEnabled=ld(r.telemetrySampleRate),Ei.telemetryConfigurationEnabled=Ei.telemetryEnabled&&ld(r.telemetryConfigurationSampleRate),ud=function(s){!Js(Nq,r.site)&&Ei.telemetryEnabled&&i.notify(n(t,s))},EZ(g2),Cr(Ei,{maxEventsPerPage:r.maxTelemetryEventsPerPage,sentEventCount:0});function n(s,a){return ec({type:"telemetry",date:Ni(),service:s,version:"4.23.3",source:"browser",_dd:{format_version:2},telemetry:a,experimental_features:t2(GZ())},e!==void 0?e():{})}return{setContextProvider:function(s){e=s},observable:i}}function Hq(t){return t.site===JZ}function zq(t,r){od(ur.debug,t,r),qf(Cr({type:Zf.log,message:t,status:"debug"},r))}function g2(t){qf(Cr({type:Zf.log,status:"error"},Kq(t)))}function Uq(t){Ei.telemetryConfigurationEnabled&&qf({type:Zf.configuration,configuration:t})}function qf(t){ud&&Ei.sentEventCount=0&&i.entries.splice(s,1)},close:function(s){n.endTime=s}};return this.entries.unshift(n),n},t.prototype.find=function(r){r===void 0&&(r=el);for(var e=0,i=this.entries;e0&&this.entries[this.entries.length-1].endTime=Qq){xm();return}var i,n=_a();if(Jc()){if(n.lock){tl(t,r);return}if(i=Xs(),n.lock=i,cd(n,t.options),n=_a(),n.lock!==i){tl(t,r);return}}var s=t.process(n);if(Jc()&&(n=_a(),n.lock!==i)){tl(t,r);return}if(s&&_2(s,t.options),Jc()&&!(s&&w2(s))){if(n=_a(),n.lock!==i){tl(t,r);return}delete n.lock,cd(n,t.options),s=n}(e=t.after)===null||e===void 0||e.call(t,s||n),xm()}function Jc(){return Zq()}function tl(t,r){setTimeout(et(function(){Va(t,r+1)}),qq)}function xm(){kl=void 0;var t=b2.shift();t&&Va(t)}function _2(t,r){if(w2(t)){eQ(r);return}t.expire=String(Fa()+m2),cd(t,r)}function cd(t,r){Eo(tc,Xq(t),m2,r)}function Xq(t){return LZ(t).map(function(r){var e=r[0],i=r[1];return"".concat(e,"=").concat(i)}).join(Qf)}function _a(){var t=ci(tc),r={};return Jq(t)&&t.split(Qf).forEach(function(e){var i=y2.exec(e);if(i!==null){var n=i[1],s=i[2];r[n]=s}}),r}function Jq(t){return t!==void 0&&(t.indexOf(Qf)!==-1||y2.test(t))}function w2(t){return FZ(t)}function eQ(t){Eo(tc,"",0,t)}var tQ="_dd",rQ="_dd_r",iQ="_dd_l",nQ="rum",sQ="logs";function aQ(t){var r=ci(tc),e=ci(tQ),i=ci(rQ),n=ci(iQ);if(!r){var s={};e&&(s.id=e),n&&/^[01]$/.test(n)&&(s[sQ]=n),i&&/^[012]$/.test(i)&&(s[nQ]=i),_2(s,t)}}function oQ(t,r,e){var i=new pi,n=new pi,s=setInterval(et(u),Em),a=v();function o(){var m;Va({options:t,process:function(w){var C=c(w);return m=h(C),C},after:function(w){m&&!d()&&g(w),a=w}})}function l(){Va({options:t,process:function(m){return d()?c(m):void 0}})}function u(){Va({options:t,process:function(m){return y(m)?void 0:{}},after:c})}function c(m){return y(m)||(m={}),d()&&(f(m)?p():a=m),m}function h(m){var w=e(m[r]),C=w.trackingType,P=w.isTracked;return m[r]=C,P&&!m.id&&(m.id=Xs(),m.created=String(Fa())),P}function d(){return a[r]!==void 0}function f(m){return a.id!==m.id||a[r]!==m[r]}function p(){a={},n.notify()}function g(m){a=m,i.notify()}function v(){var m=_a();return y(m)?m:{}}function y(m){return(m.created===void 0||Fa()-Number(m.created)0?1:2,s()):(r.transportStatus=0,n())})}function T2(t,r,e,i,n){t===0&&r.queuedPayloads.isFull()&&!r.queueFullReported&&(n({message:"Reached max ".concat(i," events size queued for upload: ").concat(S2/e2,"MiB"),source:rr.AGENT,startClocks:xo()}),r.queueFullReported=!0);var s=r.queuedPayloads;for(r.queuedPayloads=E2();s.size()>0;)C2(s.dequeue(),r,e,i,n)}function vQ(t){return t.status===0||t.status===408||t.status===429||t.status>=500}function mQ(){return{transportStatus:0,currentBackoffTime:P2,bandwidthMonitor:yQ(),queuedPayloads:E2(),queueFullReported:!1}}function E2(){var t=[];return{bytesCount:0,enqueue:function(r){this.isFull()||(t.push(r),this.bytesCount+=r.bytesCount)},first:function(){return t[0]},dequeue:function(){var r=t.shift();return r&&(this.bytesCount-=r.bytesCount),r},size:function(){return t.length},isFull:function(){return this.bytesCount>=S2}}}function yQ(){return{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(t){return this.ongoingRequestCount===0||this.ongoingByteCount+t.bytesCount<=fQ&&this.ongoingRequestCount=this.messageBytesLimit){Ft.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB."));return}this.hasMessageFor(e)&&this.remove(e),this.willReachedBytesLimitWith(s)&&this.flush(),this.push(n,s,e),this.isFull()&&this.flush()},t.prototype.process=function(r){var e=Ju(r),i=this.computeBytesCount(e);return{processedMessage:e,messageBytesCount:i}},t.prototype.push=function(r,e,i){this.bufferMessagesCount>0&&(this.bufferBytesCount+=1),i!==void 0?this.upsertBuffer[i]=r:this.pushOnlyBuffer.push(r),this.bufferBytesCount+=e,this.bufferMessagesCount+=1},t.prototype.remove=function(r){var e=this.upsertBuffer[r];delete this.upsertBuffer[r];var i=this.computeBytesCount(e);this.bufferBytesCount-=i,this.bufferMessagesCount-=1,this.bufferMessagesCount>0&&(this.bufferBytesCount-=1)},t.prototype.hasMessageFor=function(r){return r!==void 0&&this.upsertBuffer[r]!==void 0},t.prototype.willReachedBytesLimitWith=function(r){return this.bufferBytesCount+r+1>=this.batchBytesLimit},t.prototype.isFull=function(){return this.bufferMessagesCount===this.batchMessagesLimit||this.bufferBytesCount>=this.batchBytesLimit},t.prototype.flushPeriodically=function(){var r=this;setTimeout(et(function(){r.flush(),r.flushPeriodically()}),this.flushTimeout)},t.prototype.setupFlushOnExit=function(){var r=this;navigator.sendBeacon&&(La(window,"beforeunload",this.beforeUnloadCallback),La(document,"visibilitychange",function(){document.visibilityState==="hidden"&&r.flushOnExit()}),La(window,"beforeunload",function(){return r.flushOnExit()}))},t}();function Xf(){var t=kQ();if(!!t)return{getAllowedWebViewHosts:function(){return JSON.parse(t.getAllowedWebViewHosts())},send:function(r,e){t.send(JSON.stringify({eventType:r,event:e}))}}}function gu(t){var r;t===void 0&&(t=(r=Wf().location)===null||r===void 0?void 0:r.hostname);var e=Xf();return!!e&&e.getAllowedWebViewHosts().some(function(i){return t===i||RZ(t,".".concat(i))})}function kQ(){return Wf().DatadogEventBridge}function x2(t,r,e,i){var n=a(r),s;i&&(s=a(i));function a(o){return new OQ(bQ(o,t.batchBytesLimit,e),t.batchMessagesLimit,t.batchBytesLimit,t.messageBytesLimit,t.flushTimeout)}return{add:function(o,l){l===void 0&&(l=!0),n.add(o),s&&l&&s.add(o)}}}function TQ(t,r,e){var i=0,n=!1;return{isLimitReached:function(){if(i===0&&setTimeout(function(){i=0},Qs),i+=1,i<=r||n)return n=!1,!1;if(i===r+1){n=!0;try{e({message:"Reached max number of ".concat(t,"s by minute: ").concat(r),source:rr.AGENT,startClocks:xo()})}finally{n=!1}}return!0}}}var eh,Jf=new WeakMap;function EQ(){return eh||(eh=xQ()),eh}function xQ(){var t=new pi(function(){var r=cs(XMLHttpRequest.prototype,"open",{before:DQ}).stop,e=cs(XMLHttpRequest.prototype,"send",{before:function(){IQ.call(this,t)}}).stop,i=cs(XMLHttpRequest.prototype,"abort",{before:MQ}).stop;return function(){r(),e(),i()}});return t}function DQ(t,r){Jf.set(this,{state:"open",method:t,url:Yf(String(r))})}function IQ(t){var r=this,e=Jf.get(this);if(!!e){var i=e;i.state="start",i.startTime=co(),i.startClocks=xo(),i.isAborted=!1,i.xhr=this;var n=!1,s=cs(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&a()}}).stop,a=et(function(){if(r.removeEventListener("loadend",a),s(),!n){n=!0;var o=e;o.state="complete",o.duration=l2(i.startClocks.timeStamp,Ni()),o.status=r.status,t.notify(AZ(o))}});this.addEventListener("loadend",a),t.notify(i)}}function MQ(){var t=Jf.get(this);t&&(t.isAborted=!0)}var th;function AQ(){return th||(th=$Q()),th}function $Q(){var t=new pi(function(){if(!!window.fetch){var r=h2(window,"fetch",function(e){return function(i,n){var s,a=Ln(BQ,null,[t,i,n]);return a?(s=e.call(this,a.input,a.init),Ln(LQ,null,[t,s,a])):s=e.call(this,i,n),s}}).stop;return r}});return t}function BQ(t,r,e){var i=e&&e.method||typeof r=="object"&&r.method||"GET",n=Yf(typeof r=="object"&&r.url||r),s=xo(),a={state:"start",init:e,input:r,method:i,startClocks:s,url:n};return t.notify(a),a}function LQ(t,r,e){var i=function(n){var s=e;s.state="complete",s.duration=l2(s.startClocks.timeStamp,Ni()),"stack"in n||n instanceof Error?(s.status=0,s.isAborted=n instanceof DOMException&&n.code===DOMException.ABORT_ERR,s.error=n,t.notify(s)):"status"in n&&(s.response=n,s.responseType=n.type,s.status=n.status,s.isAborted=!1,t.notify(s))};r.then(et(i),et(i))}var rh={};function FQ(t){var r=t.map(function(e){return rh[e]||(rh[e]=RQ(e)),rh[e]});return f2.apply(void 0,r)}function RQ(t){var r=new pi(function(){var e=console[t];return console[t]=function(){for(var i=[],n=0;njQ&&this.buffer.splice(0,1)},t.prototype.drain=function(){this.buffer.forEach(function(r){return r()}),this.buffer.length=0},t}();function D2(){var t={};return{get:function(){return t},add:function(r,e){t[r]=e},remove:function(r){delete t[r]},set:function(r){t=r},getContext:function(){return us(t)},setContext:function(r){t=us(r)},setContextProperty:function(r,e){t[r]=us(e)},removeContextProperty:function(r){delete t[r]},clearContext:function(){t={}}}}var zQ="datadog-synthetics-public-id",UQ="datadog-synthetics-result-id",KQ="datadog-synthetics-injects-rum";function I2(){return Boolean(window._DATADOG_SYNTHETICS_INJECTS_RUM||ci(KQ))}function WQ(){var t=window._DATADOG_SYNTHETICS_PUBLIC_ID||ci(zQ);return typeof t=="string"?t:void 0}function YQ(){var t=window._DATADOG_SYNTHETICS_RESULT_ID||ci(UQ);return typeof t=="string"?t:void 0}var GQ=32*lo;function ZQ(t){var r=uq(t),e=Im(t.forwardConsoleLogs,uo(ur),"Forward Console Logs"),i=Im(t.forwardReports,uo(sn),"Forward Reports");if(!(!r||!e||!i))return t.forwardErrorsToLogs&&!Js(e,ur.error)&&e.push(ur.error),Cr({forwardErrorsToLogs:t.forwardErrorsToLogs!==!1,forwardConsoleLogs:e,forwardReports:i,requestErrorResponseLengthLimit:GQ},r)}function Im(t,r,e){if(t===void 0)return[];if(!(t==="all"||Array.isArray(t)&&t.every(function(i){return Js(r,i)}))){Ft.error("".concat(e,' should be "all" or an array with allowed values "').concat(r.join('", "'),'"'));return}return t==="all"?r:UZ(t)}function qQ(t){var r=dq(t);return Cr({forward_errors_to_logs:t.forwardErrorsToLogs,forward_console_logs:t.forwardConsoleLogs,forward_reports:t.forwardReports},r)}var QQ=globalThis&&globalThis.__decorate||function(t,r,e,i){var n=arguments.length,s=n<3?r:i===null?i=Object.getOwnPropertyDescriptor(r,e):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,e,i);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(s=(n<3?a(s):n>3?a(r,e,s):a(r,e))||s);return n>3&&s&&Object.defineProperty(r,e,s),s},Dt={debug:"debug",error:"error",info:"info",warn:"warn"},ep={console:"console",http:"http",silent:"silent"},XQ=Object.keys(Dt),Mm=function(){function t(r,e,i,n,s){i===void 0&&(i=ep.http),n===void 0&&(n=Dt.debug),s===void 0&&(s={}),this.handleLogStrategy=r,this.handlerType=i,this.level=n,this.contextManager=D2(),this.contextManager.set(Cr({},s,e?{logger:{name:e}}:void 0))}return t.prototype.log=function(r,e,i){i===void 0&&(i=Dt.info),this.handleLogStrategy({message:r,context:us(e),status:i},this)},t.prototype.debug=function(r,e){this.log(r,e,Dt.debug)},t.prototype.info=function(r,e){this.log(r,e,Dt.info)},t.prototype.warn=function(r,e){this.log(r,e,Dt.warn)},t.prototype.error=function(r,e){var i={error:{origin:rr.LOGGER}};this.log(r,ec(i,e),Dt.error)},t.prototype.setContext=function(r){this.contextManager.set(r)},t.prototype.getContext=function(){return this.contextManager.get()},t.prototype.addContext=function(r,e){this.contextManager.add(r,e)},t.prototype.removeContext=function(r){this.contextManager.remove(r)},t.prototype.setHandler=function(r){this.handlerType=r},t.prototype.getHandler=function(){return this.handlerType},t.prototype.setLevel=function(r){this.level=r},t.prototype.getLevel=function(){return this.level},QQ([DZ],t.prototype,"log",null),t}();function JQ(t){var r=!1,e=D2(),i={},n=function(){},s=new HQ,a=function(d,f,p,g){p===void 0&&(p=us(u())),g===void 0&&(g=Ni()),s.add(function(){return a(d,f,p,g)})},o=function(){},l=new Mm(function(){for(var d=[],f=0;f=Am[e.getLevel()]&&Js(n,r)}function aX(t,r,e,i,n,s){var a=XQ.concat(["custom"]),o={};a.forEach(function(l){o[l]=TQ(l,r.eventRateLimiterThreshold,s)}),e.subscribe(0,function(l){var u,c,h,d=l.rawLogsEvent,f=l.messageContext,p=f===void 0?void 0:f,g=l.savedCommonContext,v=g===void 0?void 0:g,y=l.logger,m=y===void 0?n:y,w=qZ(d.date),C=t.findTrackedSession(w);if(!!C){var P=v||i(),E=ec({service:r.service,session_id:C.id,view:P.view},P.context,Tl(w),d,m.getContext(),p);!A2(d.status,ep.http,m)||((u=r.beforeSend)===null||u===void 0?void 0:u.call(r,E))===!1||((c=E.error)===null||c===void 0?void 0:c.origin)!==rr.AGENT&&((h=o[E.status])!==null&&h!==void 0?h:o.custom).isLimitReached()||e.notify(1,E)}})}var $m=!1;function Tl(t){var r=window;if(I2()){var e=i(r.DD_RUM_SYNTHETICS);return!e&&!$m&&($m=!0,zq("Logs sent before RUM is injected by the synthetics worker",{testId:WQ(),resultId:YQ()})),e}return i(r.DD_RUM);function i(n){if(n&&n.getInternalContext)return n.getInternalContext(t)}}var bn,oX=(bn={},bn[ur.log]=Dt.info,bn[ur.debug]=Dt.debug,bn[ur.info]=Dt.info,bn[ur.warn]=Dt.warn,bn[ur.error]=Dt.error,bn);function lX(t,r){var e=FQ(t.forwardConsoleLogs).subscribe(function(i){r.notify(0,{rawLogsEvent:{date:Ni(),message:i.message,origin:rr.CONSOLE,error:i.api===ur.error?{origin:rr.CONSOLE,stack:i.stack}:void 0,status:oX[i.api]}})});return{stop:function(){e.unsubscribe()}}}var fa,uX=(fa={},fa[sn.cspViolation]=Dt.error,fa[sn.intervention]=Dt.error,fa[sn.deprecation]=Dt.warn,fa);function cX(t,r){var e=$q(t.forwardReports).subscribe(function(i){var n=i.message,s=uX[i.type],a;s===Dt.error?a={kind:i.subtype,origin:rr.REPORT,stack:i.stack}:i.stack&&(n+=" Found in ".concat(Eq(i.stack))),r.notify(0,{rawLogsEvent:{date:Ni(),message:n,origin:rr.REPORT,error:a,status:s}})});return{stop:function(){e.unsubscribe()}}}function hX(t,r){if(!t.forwardErrorsToLogs)return{stop:To};var e=EQ().subscribe(function(s){s.state==="complete"&&n("xhr",s)}),i=AQ().subscribe(function(s){s.state==="complete"&&n("fetch",s)});function n(s,a){!t.isIntakeUrl(a.url)&&(gX(a)||vX(a))&&("xhr"in a?dX(a.xhr,t,o):a.response?pX(a.response,t,o):a.error&&fX(a.error,t,o));function o(l){r.notify(0,{rawLogsEvent:{message:"".concat(mX(s)," error ").concat(a.method," ").concat(a.url),date:a.startClocks.timeStamp,error:{origin:rr.NETWORK,stack:l||"Failed to load"},http:{method:a.method,status_code:a.status,url:a.url},status:Dt.error,origin:rr.NETWORK}})}}return{stop:function(){e.unsubscribe(),i.unsubscribe()}}}function dX(t,r,e){typeof t.response=="string"?e(tp(t.response,r)):e(t.response)}function fX(t,r,e){e(tp(Un(pn(t)),r))}function pX(t,r,e){window.TextDecoder?t.body?yX(t.clone().body,r.requestErrorResponseLengthLimit,function(i,n){e(i?"Unable to retrieve response: ".concat(i):n)}):e():t.clone().text().then(et(function(i){return e(tp(i,r))}),et(function(i){return e("Unable to retrieve response: ".concat(i))}))}function gX(t){return t.status===0&&t.responseType!=="opaque"}function vX(t){return t.status>=500}function tp(t,r){return t.length>r.requestErrorResponseLengthLimit?"".concat(t.substring(0,r.requestErrorResponseLengthLimit),"..."):t}function mX(t){return t==="xhr"?"XHR":"Fetch"}function yX(t,r,e){bX(t,r,function(i,n,s){if(i)e(i);else{var a=new TextDecoder().decode(n);s&&(a+="..."),e(void 0,a)}})}function bX(t,r,e){var i=t.getReader(),n=[],s=0;a();function a(){i.read().then(et(function(l){if(l.done){o();return}n.push(l.value),s+=l.value.length,s>r?o():a()}),et(function(l){return e(l)}))}function o(){i.cancel().catch(To);var l;if(n.length===1)l=n[0];else{l=new Uint8Array(s);var u=0;n.forEach(function(c){l.set(c,u),u+=c.length})}e(void 0,l.slice(0,r),l.length>r)}}function _X(t,r){if(!t.forwardErrorsToLogs)return{stop:To};var e=new pi,i=Iq(e).stop,n=e.subscribe(function(s){r.notify(0,{rawLogsEvent:{message:s.message,date:s.startClocks.timeStamp,error:{kind:s.type,origin:rr.SOURCE,stack:s.stack},origin:rr.SOURCE,status:Dt.error}})});return{stop:function(){i(),n.unsubscribe()}}}var wX=function(){function t(){this.callbacks={}}return t.prototype.notify=function(r,e){var i=this.callbacks[r];i&&i.forEach(function(n){return n(e)})},t.prototype.subscribe=function(r,e){var i=this;return this.callbacks[r]||(this.callbacks[r]=[]),this.callbacks[r].push(e),{unsubscribe:function(){i.callbacks[r]=i.callbacks[r].filter(function(n){return e!==n})}}},t}();function SX(t,r,e){var i,n=x2(t,t.logsEndpointBuilder,e,(i=t.replica)===null||i===void 0?void 0:i.logsEndpointBuilder);r.subscribe(1,function(s){n.add(s)})}function PX(t){var r=Xf();t.subscribe(1,function(e){r.send("log",e)})}function CX(t){return{get:function(r){var e=t.findTrackedSession(r);if(e)return{session_id:e.id}}}}function OX(t,r,e,i){var n=new wX,s=function(c){return n.notify(0,{rawLogsEvent:{message:c.message,date:c.startClocks.timeStamp,error:{origin:rr.AGENT},origin:rr.AGENT,status:Dt.error}})},a=kX(r,s);a.setContextProvider(function(){var c,h,d,f,p,g;return{application:{id:(c=Tl())===null||c===void 0?void 0:c.application_id},session:{id:(h=l.findTrackedSession())===null||h===void 0?void 0:h.id},view:{id:(f=(d=Tl())===null||d===void 0?void 0:d.view)===null||f===void 0?void 0:f.id},action:{id:(g=(p=Tl())===null||p===void 0?void 0:p.user_action)===null||g===void 0?void 0:g.id}}}),hX(r,n),_X(r,n),lX(r,n),cX(r,n);var o=sX(n).handleLog,l=KZ(r.cookieOptions)&&!gu()&&!I2()?tX(r):rX(r);aX(l,r,n,e,i,s),gu()?PX(n):SX(r,n,s),Uq(qQ(t));var u=CX(l);return{handleLog:o,getInternalContext:u.get}}function kX(t,r){var e,i=jq("browser-logs-sdk",t);if(gu()){var n=Xf();i.observable.subscribe(function(a){return n.send("internal_telemetry",a)})}else{var s=x2(t,t.rumEndpointBuilder,r,(e=t.replica)===null||e===void 0?void 0:e.rumEndpointBuilder);i.observable.subscribe(function(a){return s.add(a,Hq(t))})}return i}var rp=JQ(OX);Aq(Wf(),"DD_LOGS",rp);const TX={PAGINATION_PREVIOUS_BUTTON_CLICKED:"pagination-previous-button-clicked",PAGINATION_NEXT_BUTTON_CLICKED:"pagination-next-button-clicked",SIDEBAR_ITEM_CLICKED:"sidebar-item-clicked",TABLE_REFRESH_BUTTON_CLICKED:"table-refresh-button-clicked",TABS_TAB_CHANGE:"tabs-tab-change",CREATE_MESH_CLICKED:"create-mesh-clicked",CREATE_DATA_PLANE_PROXY_CLICKED:"create-data-plane-proxy-clicked"},EX=["data-testid"],xX={key:1,class:"nav-category"},DX=oe({__name:"AppNavItem",props:{name:{type:String,required:!0},routeName:{type:String,required:!1,default:""},usesMeshParam:{type:Boolean,required:!1,default:!1},categoryTier:{type:String,required:!1,default:null},insightsFieldAccessor:{type:String,required:!1,default:""},shouldOffsetFromFollowingItems:{type:Boolean,required:!1,default:!1}},setup(t){const r=t,e=Bu(),i=tf(),n=Or(),s=F(()=>{if(r.insightsFieldAccessor){const u=uf(n.state.sidebar.insights,r.insightsFieldAccessor,0);return u>99?"99+":String(u)}else return""}),a=F(()=>{if(r.routeName==="")return null;const u={name:r.routeName};return r.usesMeshParam&&(u.params={mesh:n.state.selectedMesh}),u}),o=F(()=>{if(a.value===null)return!1;if(r.routeName===e.name||e.path.split("/")[2]===a.value.name)return!0;if(e.meta.parent)try{if(i.resolve({name:e.meta.parent}).name===r.routeName)return!0}catch(c){if(c instanceof Error&&c.message.includes("No match for"))console.warn(c);else throw c}return r.routeName&&e.matched.some(c=>r.routeName===c.name||r.routeName===c.redirect)});function l(){rp.logger.info(TX.SIDEBAR_ITEM_CLICKED,{data:a.value})}return(u,c)=>{const h=be("router-link");return S(),I("div",{class:ue(["nav-item",{"nav-item--is-category":ie(a)===null,"nav-item--has-bottom-offset":r.shouldOffsetFromFollowingItems,[`nav-item--is-${r.categoryTier}-category`]:r.categoryTier!==null}]),"data-testid":r.routeName},[ie(a)!==null?(S(),fe(h,{key:0,class:ue(["nav-link",{"nav-link--is-active":ie(o)}]),to:ie(a),onClick:l},{default:se(()=>[he(re(t.name)+" ",1),ie(s)?(S(),I("span",{key:0,class:ue(["amount",{"amount--empty":ie(s)==="0"}])},re(ie(s)),3)):ne("",!0)]),_:1},8,["class","to"])):(S(),I("div",xX,re(t.name),1))],10,EX)}}});const IX=Jr(DX,[["__scopeId","data-v-3fcc0f24"]]);function MX(t,r){const e=t.map(n=>({name:n.pluralDisplayName,routeName:n.path,title:!1,usesMeshParam:!0,insightsFieldAccessor:`mesh.policies.${n.name}`}));return e.sort((n,s)=>n.nameMX(e.state.policies,e.getters["config/getMulticlusterStatus"])),n=F(()=>e.state.meshes.items);Ye(()=>e.state.selectedMesh,()=>{e.dispatch("sidebar/getMeshInsights")});let s=!1;Bt(function(){window.addEventListener("blur",a),window.addEventListener("focus",o)}),Fi(function(){window.removeEventListener("blur",a),window.removeEventListener("focus",o)}),o();function a(){s=!0}function o(){s=!1,bZ(l,10*1e3,()=>s)}function l(){return e.dispatch("sidebar/getInsights")}return(u,c)=>(S(),I("div",AX,[T("aside",$X,[(S(!0),I(Ue,null,Rt(ie(i),(h,d)=>(S(),I(Ue,{key:d},[h.isMeshSelector?(S(),I(Ue,{key:0},[ie(n).length>0?(S(),fe(kZ,{key:0,meshes:ie(n)},null,8,["meshes"])):ne("",!0)],64)):(S(),fe(IX,z2(Tt({key:1},h)),null,16))],64))),128))])]))}});const LX=Jr(BX,[["__scopeId","data-v-8d6a9406"]]),FX={class:"accordion"},RX=oe({__name:"AccordionList",props:{initiallyOpen:{type:[Number,Array],required:!1,default:null},multipleOpen:{type:Boolean,required:!1,default:!1}},setup(t){const r=t,e=j(0),i=j(r.initiallyOpen!==null?r.initiallyOpen:r.multipleOpen?[]:null);return wa("parentAccordion",{multipleOpen:r.multipleOpen,active:i,count:e}),(n,s)=>(S(),I("ul",FX,[de(n.$slots,"default")]))}}),VX=["aria-expanded"],NX={key:0,class:"px-4 py-1","data-testid":"accordion-item-content"},jX=oe({__name:"AccordionItem",setup(t){const r=Ar("parentAccordion"),e=j(null),i=F(()=>r===void 0?!1:r.multipleOpen&&Array.isArray(r.active.value)&&e.value!==null?r.active.value.includes(e.value):e.value===r.active.value);r!==void 0&&(e.value=r.count.value++);function n(){i.value?s():a()}function s(){r!==void 0&&(r.multipleOpen&&Array.isArray(r.active.value)&&e.value!==null?r.active.value.splice(r.active.value.indexOf(e.value),1):r.active.value=null)}function a(){r!==void 0&&(r.multipleOpen&&Array.isArray(r.active.value)&&e.value!==null?r.active.value.push(e.value):r.active.value=e.value)}function o(u){u.style.height=`${u.scrollHeight}px`}function l(u){u.style.height="auto"}return(u,c)=>(S(),I("li",{class:ue(["accordion-item relative border-b",{active:ie(i)}])},[T("button",{class:"accordion-item-header",type:"button","aria-expanded":ie(i)?"true":"false","data-testid":"accordion-item-button",onClick:n},[de(u.$slots,"accordion-header",{},void 0,!0)],8,VX),Z(Ds,{name:"accordion",onEnter:o,onAfterEnter:l,onBeforeLeave:o},{default:se(()=>[ie(i)?(S(),I("div",NX,[de(u.$slots,"accordion-content",{},void 0,!0)])):ne("",!0)]),_:3})],2))}});const HX=Jr(jX,[["__scopeId","data-v-a70736a2"]]),zX={class:"py-4"},UX=T("p",{class:"mb-4"}," A traffic log policy lets you collect access logs for every data plane proxy in your service mesh. ",-1),KX={class:"list-disc pl-4"},WX=["href"],YX=oe({__name:"LoggingNotification",setup(t){const r=Or(),e=F(()=>r.getters["config/getKumaDocsVersion"]);return(i,n)=>(S(),I("div",zX,[UX,T("ul",KX,[T("li",null,[T("a",{href:`https://kuma.io/docs/${ie(e)}/policies/traffic-log/`,target:"_blank"}," Traffic Log policy documentation ",8,WX)])])]))}}),GX={class:"py-4"},ZX=T("p",{class:"mb-4"}," A traffic metrics policy lets you collect key data for observability of your service mesh. ",-1),qX={class:"list-disc pl-4"},QX=["href"],XX=oe({__name:"MetricsNotification",setup(t){const r=Or(),e=F(()=>r.getters["config/getKumaDocsVersion"]);return(i,n)=>(S(),I("div",GX,[ZX,T("ul",qX,[T("li",null,[T("a",{href:`https://kuma.io/docs/${ie(e)}/policies/traffic-metrics/`,target:"_blank"}," Traffic Metrics policy documentation ",8,QX)])])]))}}),JX={class:"py-4"},eJ=T("p",{class:"mb-4"}," Mutual TLS (mTLS) for communication between all the components of your service mesh (services, control plane, data plane proxies), proxy authentication, and access control rules in Traffic Permissions policies all contribute to securing your mesh. ",-1),tJ={class:"list-disc pl-4"},rJ=["href"],iJ=["href"],nJ=["href"],sJ=oe({__name:"MtlsNotification",setup(t){const r=Or(),e=F(()=>r.getters["config/getKumaDocsVersion"]);return(i,n)=>(S(),I("div",JX,[eJ,T("ul",tJ,[T("li",null,[T("a",{href:`https://kuma.io/docs/${ie(e)}/security/certificates/`,target:"_blank"}," Secure access across services ",8,rJ)]),T("li",null,[T("a",{href:`https://kuma.io/docs/${ie(e)}/policies/mutual-tls/`,target:"_blank"}," Mutual TLS ",8,iJ)]),T("li",null,[T("a",{href:`https://kuma.io/docs/${ie(e)}/policies/traffic-permissions/`,target:"_blank"}," Traffic Permissions policy documentation ",8,nJ)])])]))}}),aJ={class:"py-4"},oJ=T("p",{class:"mb-4"}," A traffic trace policy lets you enable tracing logs and a third-party tracing solution to send them to. ",-1),lJ={class:"list-disc pl-4"},uJ=["href"],cJ=oe({__name:"TracingNotification",setup(t){const r=Or(),e=F(()=>r.getters["config/getKumaDocsVersion"]);return(i,n)=>(S(),I("div",aJ,[oJ,T("ul",lJ,[T("li",null,[T("a",{href:`https://kuma.io/docs/${ie(e)}/policies/traffic-trace/`,target:"_blank"}," Traffic Trace policy documentation ",8,uJ)])])]))}}),hJ={class:"flex items-center"},dJ=oe({__name:"SingleMeshNotifications",setup(t){const r=Or(),e={LoggingNotification:YX,MetricsNotification:XX,MtlsNotification:sJ,TracingNotification:cJ};return(i,n)=>(S(),fe(RX,{"multiple-open":""},{default:se(()=>[(S(!0),I(Ue,null,Rt(ie(r).getters["notifications/singleMeshNotificationItems"],s=>(S(),fe(HX,{key:s.name},{"accordion-header":se(()=>[T("div",hJ,[s.isCompleted?(S(),fe(ie(Xe),{key:0,color:"var(--green-400)",icon:"check",size:"20",class:"mr-4"})):(S(),fe(ie(Xe),{key:1,icon:"warning",color:"var(--black-75)","secondary-color":"var(--yellow-300)",size:"20",class:"mr-4"})),T("strong",null,re(s.name),1)])]),"accordion-content":se(()=>[s.component?(S(),fe(xs(e[s.component]),{key:0})):(S(),fe(ie(yf),{key:1},{body:se(()=>[he(re(s.content),1)]),_:2},1024))]),_:2},1024))),128))]),_:1}))}}),fJ=t=>(Nr("data-v-b8271fba"),t=t(),jr(),t),pJ={class:"mr-4"},gJ=fJ(()=>T("span",{class:"mr-2"},[T("strong",null,"Pro tip:"),he(" You might want to adjust your mesh configuration ")],-1)),vJ={key:0},mJ={class:"text-xl tracking-wide"},yJ={key:1},bJ={class:"text-xl tracking-wide"},_J=oe({__name:"NotificationManager",setup(t){const r=Or(),e=j(!0),i=F(()=>r.state.selectedMesh?r.getters["notifications/meshNotificationItemMapWithAction"][r.state.selectedMesh]:!1);function n(){e.value=!1}function s(){r.dispatch("notifications/openModal")}function a(){r.dispatch("notifications/closeModal")}return(o,l)=>(S(),I("div",null,[e.value?(S(),fe(ie(Fu),{key:0,class:"mb-4",appearance:"info","dismiss-type":"icon","data-testid":"notification-info",onClosed:n},{alertMessage:se(()=>[T("div",pJ,[gJ,Z(ie(gt),{appearance:"outline","data-testid":"open-modal-button",onClick:s},{default:se(()=>[he(" Check your mesh! ")]),_:1})])]),_:1})):ne("",!0),Z(ie(Qb),{class:"modal","is-visible":ie(r).state.notifications.isOpen,title:"Notifications","text-align":"left","data-testid":"notification-modal"},{"header-content":se(()=>[T("div",null,[T("div",null,[ie(i)?(S(),I("span",vJ,[he(" Some of these features are not enabled for "),T("span",mJ,'"'+re(ie(r).state.selectedMesh)+'"',1),he(" mesh. Consider implementing them. ")])):(S(),I("span",yJ,[he(" Looks like "),T("span",bJ,'"'+re(ie(r).state.selectedMesh)+'"',1),he(" isn't missing any features. Well done! ")]))])])]),"body-content":se(()=>[Z(dJ)]),"footer-content":se(()=>[Z(ie(gt),{appearance:"outline","data-testid":"close-modal-button",onClick:a},{default:se(()=>[he(" Close ")]),_:1})]),_:1},8,["is-visible"])]))}});const wJ=Jr(_J,[["__scopeId","data-v-b8271fba"]]),SJ={key:0},PJ={key:1,class:"app-content-container"},CJ=oe({__name:"App",setup(t){const r=Or(),e=Bu(),i=j(r.state.globalLoading),n=F(()=>e.meta.shouldReRender?e.path:"NONE"),s=F(()=>r.state.config.status!=="OK"),a=F(()=>r.getters["onboarding/showOnboarding"]),o=F(()=>r.getters["notifications/amountOfActions"]>0),l=F(()=>typeof e.name=="string"&&["data-plane-list-view","service-list-view"].includes(e.name));Ye(()=>r.state.globalLoading,function(c){i.value=c}),Ye(()=>e.meta.title,function(c){u(c)}),Ye(()=>r.state.pageTitle,function(c){u(c)});function u(c){const h="Kuma Manager";document.title=c?`${c} | ${h}`:h}return(c,h)=>{const d=be("router-view");return i.value?(S(),fe(pZ,{key:0})):(S(),I(Ue,{key:1},[Z(aZ),ie(e).meta.onboardingProcess?(S(),I("div",SJ,[Z(d)])):(S(),I("div",PJ,[Z(LX),T("main",{class:ue(["app-main-content",{"app-main-content--wide":ie(l),"app-main-content--narrow":!ie(l)}])},[ie(s)?(S(),fe(NG,{key:0})):ne("",!0),ie(o)?(S(),fe(wJ,{key:1})):ne("",!0),ie(a)?(S(),fe(yZ,{key:2})):ne("",!0),Z(FG),(S(),fe(d,{key:ie(n)},{default:se(({Component:f})=>[Z(Ds,{mode:"out-in",name:"fade"},{default:se(()=>[(S(),I("div",{key:ie(e).name,class:"transition-root"},[(S(),fe(xs(f)))]))]),_:2},1024)]),_:1}))],2)]))],64))}}});const OJ=Jr(CJ,[["__scopeId","data-v-9c7cbb3f"]]);function kJ(t){const r=t.pathname.split("/").filter(i=>i!==""),e=r.findIndex(i=>i==="gui");return e!==-1?"/"+r.slice(0,e+1).join("/"):""}function TJ(t){return t.map(r=>({path:r.path,name:r.path,meta:{shouldReRender:!0,title:r.pluralDisplayName},props:{policyPath:r.path},component:()=>nt(()=>import("./PolicyView.7f1f1c09.js"),["./PolicyView.7f1f1c09.js","./DataOverview.75cd0a9e.js","./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js","./ErrorBlock.6cb5eaea.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js","./TagList.c6e1c385.js","./TagList.f4c61d4a.css","./DataOverview.71b53d66.css","./FrameSkeleton.fcef0e24.js","./LabelList.vue_vue_type_style_index_0_lang.6ccc9977.js","./LabelList.2c3abc04.css","./TabsWidget.55b438d0.js","./TabsWidget.d400c435.css","./YamlView.e892619a.js","./index.58caa11d.js","./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./YamlView.fd9db0cf.css","./PolicyView.4eada83d.css"],import.meta.url)}))}function EJ(t=[]){const r=TJ(t),e=[{path:"/404",name:"not-found",alias:"/:pathMatch(.*)*",meta:{title:"Item not found"},component:()=>nt(()=>import("./AppNotFoundView.d65b4bb1.js"),[],import.meta.url)},{path:"/",name:"home",meta:{title:"Overview"},component:()=>nt(()=>import("./MainOverviewView.bf68d1a4.js"),["./MainOverviewView.bf68d1a4.js","./MeshResources.dec72e27.js","./MeshResources.26c91998.css","./MainOverviewView.e4354112.css"],import.meta.url)},{path:"/diagnostics",name:"diagnostics",meta:{title:"Diagnostics"},component:()=>nt(()=>import("./DiagnosticsView.5518ff79.js"),["./DiagnosticsView.5518ff79.js","./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js"],import.meta.url)},{path:"/zones",name:"zones",meta:{title:"Zones"},component:()=>nt(()=>import("./ZonesView.c219d8c0.js"),["./ZonesView.c219d8c0.js","./tableDataUtils.637a273e.js","./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./DataOverview.75cd0a9e.js","./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js","./ErrorBlock.6cb5eaea.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js","./TagList.c6e1c385.js","./TagList.f4c61d4a.css","./DataOverview.71b53d66.css","./FrameSkeleton.fcef0e24.js","./LabelList.vue_vue_type_style_index_0_lang.6ccc9977.js","./LabelList.2c3abc04.css","./MultizoneInfo.f4c789b7.js","./SubscriptionHeader.1363ed57.js","./SubscriptionHeader.94269e2d.css","./TabsWidget.55b438d0.js","./TabsWidget.d400c435.css","./WarningsWidget.92381260.js"],import.meta.url)},{path:"/zone-ingresses",name:"zoneingresses",meta:{title:"Zone ingresses"},component:()=>nt(()=>import("./ZoneIngresses.4a51e679.js"),["./ZoneIngresses.4a51e679.js","./tableDataUtils.637a273e.js","./DataOverview.75cd0a9e.js","./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js","./ErrorBlock.6cb5eaea.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js","./TagList.c6e1c385.js","./TagList.f4c61d4a.css","./DataOverview.71b53d66.css","./EnvoyData.4c5a7bbc.js","./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./EnvoyData.409db62c.css","./FrameSkeleton.fcef0e24.js","./LabelList.vue_vue_type_style_index_0_lang.6ccc9977.js","./LabelList.2c3abc04.css","./MultizoneInfo.f4c789b7.js","./SubscriptionHeader.1363ed57.js","./SubscriptionHeader.94269e2d.css","./TabsWidget.55b438d0.js","./TabsWidget.d400c435.css"],import.meta.url)},{path:"/zoneegresses",name:"zoneegresses",meta:{title:"Zone egresses"},component:()=>nt(()=>import("./ZoneEgresses.4621755c.js"),["./ZoneEgresses.4621755c.js","./tableDataUtils.637a273e.js","./DataOverview.75cd0a9e.js","./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js","./ErrorBlock.6cb5eaea.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js","./TagList.c6e1c385.js","./TagList.f4c61d4a.css","./DataOverview.71b53d66.css","./EnvoyData.4c5a7bbc.js","./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./EnvoyData.409db62c.css","./FrameSkeleton.fcef0e24.js","./LabelList.vue_vue_type_style_index_0_lang.6ccc9977.js","./LabelList.2c3abc04.css","./SubscriptionHeader.1363ed57.js","./SubscriptionHeader.94269e2d.css","./TabsWidget.55b438d0.js","./TabsWidget.d400c435.css"],import.meta.url)},{path:"/mesh/:mesh",children:[{path:"",name:"mesh-detail-view",meta:{title:"Mesh overview"},component:()=>nt(()=>import("./MeshOverviewView.c9150449.js"),["./MeshOverviewView.c9150449.js","./MeshResources.dec72e27.js","./MeshResources.26c91998.css","./LabelList.vue_vue_type_style_index_0_lang.6ccc9977.js","./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js","./ErrorBlock.6cb5eaea.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js","./LabelList.2c3abc04.css","./TabsWidget.55b438d0.js","./TabsWidget.d400c435.css","./YamlView.e892619a.js","./index.58caa11d.js","./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./YamlView.fd9db0cf.css","./MeshOverviewView.7bd692a4.css"],import.meta.url)},{path:"data-planes",children:[{path:"",name:"data-plane-list-view",meta:{title:"Data plane proxies"},props(s){var l;const a=Array.isArray(s.query.offset)?s.query.offset:[s.query.offset],o=parseInt((l=a[a.length-1])!=null?l:"0")||0;return{name:s.query.name,offset:o}},component:()=>nt(()=>import("./DataPlaneListView.ad00b9ee.js"),["./DataPlaneListView.ad00b9ee.js","./ContentWrapper.dfc9e5ec.js","./ContentWrapper.f6cfef14.css","./DataOverview.75cd0a9e.js","./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js","./ErrorBlock.6cb5eaea.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js","./TagList.c6e1c385.js","./TagList.f4c61d4a.css","./DataOverview.71b53d66.css","./YamlView.e892619a.js","./index.58caa11d.js","./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./YamlView.fd9db0cf.css","./DataPlaneListView.0c040027.css"],import.meta.url)},{path:":dataPlane",name:"data-plane-detail-view",meta:{title:"Data plane proxy",parent:"data-plane-list-view",breadcrumbTitleParam:"dataPlane"},component:()=>nt(()=>import("./DataPlaneDetailView.7d1a6b0c.js"),["./DataPlaneDetailView.7d1a6b0c.js","./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js","./ErrorBlock.6cb5eaea.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js","./EnvoyData.4c5a7bbc.js","./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./EnvoyData.409db62c.css","./LabelList.vue_vue_type_style_index_0_lang.6ccc9977.js","./LabelList.2c3abc04.css","./TabsWidget.55b438d0.js","./TabsWidget.d400c435.css","./YamlView.e892619a.js","./index.58caa11d.js","./YamlView.fd9db0cf.css","./SubscriptionHeader.1363ed57.js","./SubscriptionHeader.94269e2d.css","./WarningsWidget.92381260.js","./DataPlaneDetailView.1a8e7a07.css"],import.meta.url)}]},{path:"services",children:[{path:"",name:"service-list-view",meta:{title:"Services"},component:()=>nt(()=>import("./ServiceListView.7d2892e3.js"),["./ServiceListView.7d2892e3.js","./ContentWrapper.dfc9e5ec.js","./ContentWrapper.f6cfef14.css","./DataOverview.75cd0a9e.js","./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js","./ErrorBlock.6cb5eaea.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js","./TagList.c6e1c385.js","./TagList.f4c61d4a.css","./DataOverview.71b53d66.css","./ServiceDetails.52ea2042.js","./YamlView.e892619a.js","./index.58caa11d.js","./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./YamlView.fd9db0cf.css","./ServiceDetails.137fa0b9.css"],import.meta.url)},{path:":service",name:"service-insight-detail-view",meta:{title:"Internal service",parent:"service-list-view",breadcrumbTitleParam:"service"},component:()=>nt(()=>import("./ServiceInsightDetailView.1f1bbe33.js"),["./ServiceInsightDetailView.1f1bbe33.js","./ServiceDetails.52ea2042.js","./TagList.c6e1c385.js","./TagList.f4c61d4a.css","./YamlView.e892619a.js","./index.58caa11d.js","./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js","./ErrorBlock.6cb5eaea.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js","./YamlView.fd9db0cf.css","./ServiceDetails.137fa0b9.css"],import.meta.url)}]},{path:"external-services",children:[{path:":service",name:"external-service-detail-view",meta:{title:"External service",parent:"service-list-view",breadcrumbTitleParam:"service"},component:()=>nt(()=>import("./ExternalServiceDetailView.c5ade90c.js"),["./ExternalServiceDetailView.c5ade90c.js","./ServiceDetails.52ea2042.js","./TagList.c6e1c385.js","./TagList.f4c61d4a.css","./YamlView.e892619a.js","./index.58caa11d.js","./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./EmptyBlock.vue_vue_type_script_setup_true_lang.264304d3.js","./ErrorBlock.6cb5eaea.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js","./YamlView.fd9db0cf.css","./ServiceDetails.137fa0b9.css"],import.meta.url)}]},...r]},{path:"/onboarding",redirect:{name:"onboarding-welcome"},component:()=>nt(()=>import("./ShellEmpty.7d3757ba.js"),[],import.meta.url),children:[{path:"welcome",name:"onboarding-welcome",meta:{title:"Welcome to Kuma!",onboardingProcess:!0},component:()=>nt(()=>import("./WelcomeView.e9c2a2ce.js"),["./WelcomeView.e9c2a2ce.js","./OnboardingNavigation.06ee2172.js","./OnboardingNavigation.a88835b3.css","./WelcomeView.1b7285c9.css"],import.meta.url)},{path:"deployment-types",name:"onboarding-deployment-types",meta:{title:"Deployment Types",onboardingProcess:!0},component:()=>nt(()=>import("./DeploymentTypes.68648a96.js"),["./DeploymentTypes.68648a96.js","./OnboardingNavigation.06ee2172.js","./OnboardingNavigation.a88835b3.css","./OnboardingPage.2f3fde76.js","./OnboardingPage.a8793770.css","./DeploymentTypes.a5506858.css"],import.meta.url)},{path:"configuration-types",name:"onboarding-configuration-types",meta:{title:"Configuration Types",onboardingProcess:!0},component:()=>nt(()=>import("./ConfigurationTypes.96dc26ce.js"),["./ConfigurationTypes.96dc26ce.js","./OnboardingNavigation.06ee2172.js","./OnboardingNavigation.a88835b3.css","./OnboardingPage.2f3fde76.js","./OnboardingPage.a8793770.css","./ConfigurationTypes.3e295b7d.css"],import.meta.url)},{path:"multi-zone",name:"onboarding-multi-zone",meta:{title:"Multizone",onboardingProcess:!0},component:()=>nt(()=>import("./MultiZoneView.221816f5.js"),["./MultiZoneView.221816f5.js","./LoadingBox.e4d58f37.js","./LoadingBox.c2da9e95.css","./OnboardingNavigation.06ee2172.js","./OnboardingNavigation.a88835b3.css","./OnboardingPage.2f3fde76.js","./OnboardingPage.a8793770.css"],import.meta.url)},{path:"create-mesh",name:"onboarding-create-mesh",meta:{title:"Create the Mesh",onboardingProcess:!0},component:()=>nt(()=>import("./CreateMesh.aea713fc.js"),["./CreateMesh.aea713fc.js","./OnboardingNavigation.06ee2172.js","./OnboardingNavigation.a88835b3.css","./OnboardingPage.2f3fde76.js","./OnboardingPage.a8793770.css"],import.meta.url)},{path:"add-services",name:"onboarding-add-services",meta:{title:"Add new services",onboardingProcess:!0},component:()=>nt(()=>import("./AddNewServices.b6c8456a.js"),["./AddNewServices.b6c8456a.js","./OnboardingNavigation.06ee2172.js","./OnboardingNavigation.a88835b3.css","./OnboardingPage.2f3fde76.js","./OnboardingPage.a8793770.css","./AddNewServices.1b605ca2.css"],import.meta.url)},{path:"add-services-code",name:"onboarding-add-services-code",meta:{title:"Add new services",onboardingProcess:!0},component:()=>nt(()=>import("./AddNewServicesCode.1aab921c.js"),["./AddNewServicesCode.1aab921c.js","./index.58caa11d.js","./kumaDpServerUrl.8cd5871a.js","./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./LoadingBox.e4d58f37.js","./LoadingBox.c2da9e95.css","./OnboardingNavigation.06ee2172.js","./OnboardingNavigation.a88835b3.css","./OnboardingPage.2f3fde76.js","./OnboardingPage.a8793770.css"],import.meta.url)},{path:"dataplanes-overview",name:"onboarding-dataplanes-overview",meta:{title:"Data plane overview",onboardingProcess:!0},component:()=>nt(()=>import("./DataplanesOverview.eb0fe0ff.js"),["./DataplanesOverview.eb0fe0ff.js","./LoadingBox.e4d58f37.js","./LoadingBox.c2da9e95.css","./OnboardingNavigation.06ee2172.js","./OnboardingNavigation.a88835b3.css","./OnboardingPage.2f3fde76.js","./OnboardingPage.a8793770.css","./DataplanesOverview.0c89c176.css"],import.meta.url)},{path:"completed",name:"onboarding-completed",meta:{title:"Completed",onboardingProcess:!0},component:()=>nt(()=>import("./CompletedView.6ab5c546.js"),["./CompletedView.6ab5c546.js","./OnboardingNavigation.06ee2172.js","./OnboardingNavigation.a88835b3.css","./OnboardingPage.2f3fde76.js","./OnboardingPage.a8793770.css"],import.meta.url)}]},{path:"/wizard",name:"wizard",children:[{path:"mesh",name:"create-mesh",meta:{title:"Create a new mesh",wizardProcess:!0},component:()=>nt(()=>import("./Mesh.2bf78d03.js"),["./Mesh.2bf78d03.js","./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./formatForCLI.199be697.js","./index.58caa11d.js","./EntityScanner.ff503354.js","./EntityScanner.ea7ff2ec.css","./TabsWidget.55b438d0.js","./ErrorBlock.6cb5eaea.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.f2b15057.js","./TabsWidget.d400c435.css"],import.meta.url)},{path:"kubernetes-dataplane",name:"kubernetes-dataplane",meta:{title:"Create a new data plane proxy on Kubernetes",wizardProcess:!0},component:()=>nt(()=>import("./DataplaneKubernetes.2aad0314.js"),["./DataplaneKubernetes.2aad0314.js","./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./formatForCLI.199be697.js","./index.58caa11d.js","./EntityScanner.ff503354.js","./EntityScanner.ea7ff2ec.css","./EnvironmentSwitcher.5673fe91.js","./DataplaneKubernetes.45f18fcf.css"],import.meta.url)},{path:"universal-dataplane",name:"universal-dataplane",meta:{title:"Create a new data plane proxy on Universal",wizardProcess:!0},component:()=>nt(()=>import("./DataplaneUniversal.def82fe6.js"),["./DataplaneUniversal.def82fe6.js","./index.58caa11d.js","./kumaDpServerUrl.8cd5871a.js","./CodeBlock.vue_vue_type_style_index_0_lang.f4101bd8.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./EntityScanner.ff503354.js","./EntityScanner.ea7ff2ec.css","./EnvironmentSwitcher.5673fe91.js"],import.meta.url)}]}],i=kJ(window.location),n=p8({history:DS(i),routes:e});return n.beforeEach(xJ),n.beforeEach(DJ),n.beforeEach(IJ),n}const xJ=function(t,r,e){t.fullPath.startsWith("/#/")?e(t.fullPath.substring(2)):e()},DJ=function(t,r,e){t.params.mesh&&t.params.mesh!==Qi.state.selectedMesh&&Qi.dispatch("updateSelectedMesh",t.params.mesh),e()},IJ=function(t,r,e){var a;const i=Qi.state.onboarding.isCompleted,n=t.meta.onboardingProcess,s=Qi.getters["onboarding/showOnboarding"];i&&n&&!s?e({name:"home"}):!i&&!n&&s?e({name:(a=Ii.get("onboardingStep"))!=null?a:"onboarding-welcome"}):e()};async function MJ(){(await yt.getConfig()).reports.enabled&&rp.init({clientToken:"pub94a0029259f79f29a5d881a06d1e9653",site:"datadoghq.com",forwardErrorsToLogs:!0,service:"Kuma",sampleRate:100,env:"production"})}MJ();iS(nS);async function AJ(){if(document.title="Kuma Manager",{VITE_DATA_TIMEOUT:"500",VITE_INSTALL_URL:"https://kuma.io/install/latest/",VITE_VERSION_URL:"https://kuma.io/latest_version/",VITE_NAMESPACE:"Kuma",VITE_KUMA_API_SERVER_URL:"http://localhost:5681/dev/",VITE_KUMA_DP_SERVER_URL:"https://localhost:5678/",VITE_AMCHARTS_LICENSE:"",VITE_UTM:"?utm_source=Kuma&utm_medium=Kuma-GUI",BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0}.VITE_MOCK_API_ENABLED==="true"){const{setupMockWorker:e}=await nt(()=>import("./setupMockWorker.f0f794fe.js"),["./setupMockWorker.f0f794fe.js","./_commonjsHelpers.f037b798.js"],import.meta.url);e(yt.url)}const t=lw(OJ);t.use(Qi,s1),await Promise.all([Qi.dispatch("bootstrap"),Qi.dispatch("fetchPolicies")]);const r=await EJ(Qi.state.policies);t.use(r),t.mount("#app")}AJ();export{le as $,ue as A,Nr as B,jr as C,Jr as D,rp as E,Ue as F,TX as G,FJ as H,de as I,BJ as J,Xe as K,Uee as L,yf as M,Kee as N,bf as O,Pee as P,z8 as Q,G7 as R,Ii as S,cr as T,jee as U,Yr as V,ee as W,Kt as X,_t as Y,He as Z,nt as _,Z as a,vc as a$,xt as a0,Rn as a1,k as a2,I3 as a3,ol as a4,hn as a5,cl as a6,Mn as a7,It as a8,O as a9,pt as aA,Hw as aB,li as aC,kt as aD,J3 as aE,Be as aF,pee as aG,$e as aH,eee as aI,Mt as aJ,Ne as aK,Qa as aL,a4 as aM,$w as aN,Nl as aO,Fd as aP,WJ as aQ,JJ as aR,Rl as aS,me as aT,ny as aU,hee as aV,gee as aW,see as aX,Lr as aY,UJ as aZ,jJ as a_,Ve as aa,tr as ab,M3 as ac,Zd as ad,D3 as ae,lr as af,Ae as ag,xi as ah,Iu as ai,ree as aj,ct as ak,x as al,Py as am,st as an,jt as ao,lt as ap,$t as aq,Vl as ar,vt as as,Oy as at,S4 as au,Le as av,aee as aw,r4 as ax,At as ay,ye as az,he as b,Ca as b$,Yp as b0,s3 as b1,l3 as b2,lee as b3,wh as b4,vs as b5,oee as b6,Ud as b7,Q0 as b8,o3 as b9,F3 as bA,wr as bB,ns as bC,qJ as bD,iee as bE,ga as bF,xn as bG,Ll as bH,W3 as bI,Mu as bJ,Gp as bK,F0 as bL,K3 as bM,_4 as bN,ql as bO,yee as bP,Tw as bQ,Dw as bR,tee as bS,qd as bT,Bi as bU,jl as bV,xy as bW,_h as bX,Bh as bY,$0 as bZ,HJ as b_,Md as ba,wc as bb,nee as bc,cw as bd,q0 as be,ut as bf,Rh as bg,Y3 as bh,tn as bi,N0 as bj,gw as bk,o4 as bl,ig as bm,KJ as bn,Jn as bo,Vd as bp,Fh as bq,dee as br,fee as bs,Yt as bt,ul as bu,zJ as bv,wy as bw,Gd as bx,it as by,Qe as bz,fe as c,ui as c0,XJ as c1,uee as c2,ZJ as c3,mee as c4,L3 as c5,QJ as c6,vee as c7,U3 as c8,ky as c9,Aee as cA,Oee as cB,$ee as cC,NJ as cD,Hee as cE,jW as cF,Lee as cG,Fee as cH,V8 as cI,Cee as cJ,Bs as cK,Bee as cL,Nee as cM,Ds as cN,LJ as cO,See as cP,zee as cQ,_ee as cR,Jl as cS,Dee as cT,VJ as cU,Kp as cV,Eh as ca,Re as cb,pc as cc,cee as cd,YJ as ce,GJ as cf,tf as cg,fo as ch,bee as ci,Tt as cj,$8 as ck,HX as cl,RX as cm,wee as cn,R8 as co,jo as cp,Iee as cq,Vee as cr,F8 as cs,xee as ct,kee as cu,Ree as cv,N8 as cw,j8 as cx,xs as cy,Mee as cz,oe as d,gt as e,F as f,Ye as g,Bt as h,be as i,I as j,yt as k,T as l,_p as m,Rt as n,S as o,Bu as p,Or as q,j as r,Tee as s,re as t,ie as u,RJ as v,se as w,Eee as x,Fu as y,ne as z}; +Kongponent Docs: https://kongponents.konghq.com/components/tooltip.html`)),()=>Ee(_o,{...t,...r,...i},e)}});ae({name:"KViewSwitcher",components:{KButton:gt},props:{view:{type:String,default:"table",required:!0,validator:t=>["table","grid"].includes(t)}},emits:["view-changed"],setup(t,{emit:r}){const e=j(!0);return{isPaused:e,toggleView:()=>{e.value=!1,r("view-changed",t.view==="table"?"grid":"table")}}}});const EG=ae({name:"MultiselectItem",components:{KIcon:Xe},props:{item:{type:Object,default:null,validator:t=>t.label!==void 0&&t.value!==void 0},disabled:{type:Boolean,default:!1}},emits:["selected"],setup(t,{emit:r}){return{handleClick:()=>{r("selected",t.item)}}}}),TG=["data-testid"],xG={role:"option",class:"d-block"},DG=["value"],IG={class:"k-multiselect-item-label mr-2"},MG={class:"k-multiselect-selected-icon-container"};function AG(t,r,e,i,n,s){const a=be("KIcon");return S(),I("div",{key:t.item.key,role:"listitem",class:"k-multiselect-item","data-testid":`k-multiselect-item-${t.item.value}`},[E("div",xG,[E("button",{value:t.item.value,class:ce({disabled:t.disabled,selected:t.item.selected}),onClick:r[0]||(r[0]=(...o)=>t.handleClick&&t.handleClick(...o))},[E("span",IG,[de(t.$slots,"content",{},()=>[ue(re(t.item.label),1)],!0)]),E("span",MG,[t.item.selected?(S(),fe(a,{key:0,icon:"check",color:"var(--blue-200)",class:"selected-item-icon"})):ne("",!0)])],10,DG)])],8,TG)}var $G=ze(EG,[["render",AG],["__scopeId","data-v-794a69ea"]]);const{getSizeFromString:BG,cloneDeep:Qo}=jn(),LG=34,Em={hideCaret:!0,placement:"bottomStart",popoverTimeout:0,popoverClasses:"k-multiselect-popover mt-0"};ae({name:"KMultiselect",components:{KBadge:G7,KButton:gt,KIcon:Xe,KInput:Vu,KLabel:Ls,KPop:Bs,KMultiselectItem:$G,KToggle:hf},inheritAttrs:!1,props:{modelValue:{type:Array,default:()=>[]},label:{type:String,default:""},labelAttributes:{type:Object,default:()=>({})},placeholder:{type:String,default:""},kpopAttributes:{type:Object,default:()=>({popoverClasses:""})},dropdownMaxHeight:{type:String,default:"300"},width:{type:String,default:""},selectedRowCount:{type:Number,default:2},expandSelected:{type:Boolean,default:!1},items:{type:Array,default:()=>[],validator:t=>!t.length||t.every(r=>r.label!==void 0&&r.value!==void 0)},positionFixed:{type:Boolean,default:!0},filterFunc:{type:Function,default:t=>t.items.filter(r=>r.label.toLowerCase().includes(t.query.toLowerCase()))},autosuggest:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},testMode:{type:Boolean,default:!1}},emits:["selected","input","change","update:modelValue","query-change"],setup(t,{attrs:r,emit:e}){const i=j(0),n=j(0),s=F(()=>t.testMode?"test-multiselect-id-1234":Ut()),a=F(()=>t.testMode?"test-multiselect-input-id-1234":Ut()),o=F(()=>t.testMode?"test-multiselect-text-id-1234":Ut()),l=F(()=>t.testMode?"test-multiselect-selected-id-1234":Ut()),u=F(()=>t.testMode?"test-multiselect-selected-staging-id-1234":Ut()),c=j(null),h=j(null),d=F(()=>t.selectedRowCount*LG),f=j(""),p=j(null),g=j([]),v=j([]),y=j([]),m=j([]),w=j([]),C=j([]),P=j([]),T=F(()=>P.value.map(_=>_.label).join(", ")),V=j(!1),D=j(!1),R=j(!1),Q=F(()=>(r==null?void 0:r.disabled)!==void 0&&String(r==null?void 0:r.disabled)!=="false"),ge=F(()=>(r==null?void 0:r.readonly)!==void 0&&String(r==null?void 0:r.readonly)!=="false"),H=F({get(){return t.modelValue},set(_){const M=g.value.filter(B=>_.includes(B.value));M.length?De(M):_.length||A()}}),q=F(()=>{const _={...r};return delete _.class,_}),_e=F(()=>({...Em,...t.kpopAttributes,popoverClasses:`${Em.popoverClasses} ${t.kpopAttributes.popoverClasses} k-multiselect-pop`,width:b.value+"px",maxWidth:b.value+"px",maxHeight:String(t.dropdownMaxHeight),disabled:r.disabled!==void 0&&String(r.disabled)!=="false"||r.readonly!==void 0&&String(r.readonly)!=="false"})),we=F(()=>({..._e.value})),$=F(()=>{let _="";return t.width?_=t.width:_="300",BG(_)}),te=F(()=>({width:$.value})),pe=F(()=>({width:b.value+"px"})),Te=F(()=>({width:b.value-30+"px",maxHeight:d.value+"px",paddingRight:0})),Je=_=>y.value.length&&!_?y.value.length===1?`${y.value.length} item selected`:`${y.value.length} items selected`:t.placeholder?t.placeholder:r.placeholder?String(r.placeholder||""):"Filter...",Ce=F(()=>t.autosuggest?g.value:t.filterFunc({items:g.value,query:f.value})),xe=_=>{r.disabled!==void 0&&String(r.disabled)!=="false"&&_.stopPropagation()},he=()=>{setTimeout(()=>{const _=document.getElementById(u.value);if(t.expandSelected){n.value++;return}if(_){if(_.clientHeight>d.value){const B=m.value.pop();B&&w.value.push(B)}n.value++}},0)},De=_=>{_.forEach(M=>{var B;const N=g.value.filter(X=>X.value===M.value)[0];N.selected=!0,N.key=(B=N==null?void 0:N.key)!=null&&B.includes("-selected")?N.key:`${N.key}-selected`,y.value.filter(X=>X.value===N.value).length||(y.value.push(N),m.value.push(N))}),he()},L=_=>{var M,B,N,X;let W=((M=g.value.filter(K=>K.value===_.value))==null?void 0:M[0])||null;if(W===null&&(W=((B=y.value.filter(K=>K.value===_.value))==null?void 0:B[0])||null),W===null)return;if(W.selected){if(y.value=y.value.filter(K=>K.value!==_.value),m.value.filter(K=>K.value===_.value).length?m.value=m.value.filter(K=>K.value!==_.value):w.value.filter(K=>K.value===_.value).length&&(w.value=w.value.filter(K=>K.value!==_.value)),W.selected=!1,W.key=(N=W.key)==null?void 0:N.replace(/-selected/gi,""),w.value.length){const K=w.value.pop();K&&m.value.push(K)}}else W.selected=!0,W.key=(X=W.key)!=null&&X.includes("-selected")?W.key:`${W.key}-selected`,y.value.push(W),m.value.push(W),t.expandSelected&&U();he();const Y=y.value.map(K=>K.value);e("selected",y.value),e("change",_),e("update:modelValue",Y)},U=()=>{setTimeout(()=>{var _;(_=h.value)==null||_.scrollIntoView({behavior:"smooth",block:"nearest"})},200)},G=()=>{const _=Ce.value.filter(B=>B.selected),M=Ce.value.filter(B=>!B.selected);v.value=_.concat(M)},A=()=>{g.value.forEach(_=>{var M;_.selected=!1,_.key=(M=_==null?void 0:_.key)==null?void 0:M.replace(/-selected/gi,"")}),y.value=[],m.value=[],w.value=[],f.value="",he(),e("selected",[]),e("change",null),e("update:modelValue",[]),e("query-change","")},z=_=>{f.value=_,e("query-change",_)},oe=(_,M)=>{if(_.keyCode===27){M.value=!1;return}const B=document.getElementById(o.value);!M.value&&B&&B.click()},ve=()=>{R.value=!0,V.value||(V.value=!0,e("query-change",""))};Ye(n,()=>{setTimeout(()=>{const _=document.getElementById(u.value);if(t.expandSelected){C.value=Qo(m.value),P.value=[],i.value++;return}if(_)if(_.clientHeight>d.value){const B=m.value.pop();B&&w.value.push(B),n.value++}else C.value=Qo(m.value),P.value=Qo(w.value),i.value++},0)}),Ye(i,()=>{p.value&&typeof p.value.updatePopper=="function"&&Yr(()=>{p.value.updatePopper()})}),Ye(Ce,()=>{G()}),Ye(H,(_,M)=>{if(JSON.stringify(_)!==JSON.stringify(M)){const B=g.value.filter(N=>_.includes(N.value));B.length?De(B):_.length||A()}}),Ye(()=>t.items,(_,M)=>{var B,N,X;if(JSON.stringify(_)!==JSON.stringify(M)){g.value=Qo(t.items);for(let W=0;WK.value===Y.value).length||y.value.push(Y),m.value.filter(K=>K.value===Y.value).length||m.value.push(Y)}he()}p.value&&typeof p.value.updatePopper=="function"&&Yr(()=>{p.value.updatePopper()})}},{deep:!0,immediate:!0});const b=j(300);return Bt(()=>{var _;b.value=((_=c.value)==null?void 0:_.clientWidth)||300}),{key:i,stagingKey:n,multiselectId:s,multiselectInputId:a,multiselectTextId:o,multiselectSelectedItemsStagingId:u,multiselectSelectedItemsId:l,multiselectRef:c,selectionBottomRef:h,getPlaceholderText:Je,filterStr:f,unfilteredItems:g,sortedItems:v,selectedItems:y,invisibleSelectedItemsStaging:w,visibleSelectedItemsStaging:m,invisibleSelectedItems:P,visibleSelectedItems:C,hiddenItemsTooltip:T,widthStyle:te,numericWidthStyle:pe,nonSlimStyle:Te,modifiedAttrs:q,isHovered:D,isFocused:R,isDisabled:Q,isReadonly:ge,popper:p,boundKPopAttributes:we,sortItems:G,handleFilterClick:xe,handleItemSelect:L,clearSelection:A,triggerFocus:oe,onQueryChange:z,onInputFocus:ve}}});const FG=ae({__name:"AppBreadcrumbs",setup(t){const r=Bu(),e=tf(),i=F(()=>{const n=new Map;for(const s of r.matched){if(s.name==="home"||s.meta.parent==="home")continue;if(s.meta.parent!==void 0){const o=e.resolve({name:s.meta.parent});o.name&&n.set(o.name,{to:o,key:o.name,title:o.meta.title,text:o.meta.title})}if((s.name===r.name||s.redirect===r.name)&&s.meta.breadcrumbExclude!==!0&&r.name){let o=r.meta.title;r.meta.breadcrumbTitleParam&&r.params[r.meta.breadcrumbTitleParam]&&(o=r.params[r.meta.breadcrumbTitleParam]),n.set(r.name,{to:r,key:r.name,title:o,text:o})}}return Array.from(n.values())});return(n,s)=>ie(i).length>0?(S(),fe(ie(k1),{key:0,items:ie(i)},null,8,["items"])):ne("",!0)}});const RG=E("p",null,"Unable to reach the API",-1),VG={key:0},NG=ae({__name:"AppErrorMessage",setup(t){return(r,e)=>(S(),fe(ie(bf),{class:"global-api-status empty-state--wide-content empty-state--compact","cta-is-hidden":""},{title:se(()=>[Z(ie(Xe),{class:"kong-icon--centered",icon:"warning",color:"var(--black-75)","secondary-color":"var(--yellow-300)",size:"64"}),RG]),message:se(()=>[E("p",null,[ue(" Please double check to make sure it is up and running "),ie(yt).url?(S(),I("span",VG,[ue(", and it is reachable at "),E("code",null,re(ie(yt).url),1)])):ne("",!0)])]),_:1}))}}),jG=""+new URL("product-logo.7a2ca341.png",import.meta.url).href,HG=ae({name:"github-button",props:{href:String,ariaLabel:String,title:String,dataIcon:String,dataColorScheme:String,dataSize:String,dataShowCount:String,dataText:String},render:function(){const t={ref:"_"};for(const r in this.$props)t[fn(r)]=this.$props[r];return Ee("span",[Ge(this.$slots,"default")?Ee("a",t,this.$slots.default()):Ee("a",t)])},mounted:function(){this.paint()},beforeUpdate:function(){this.reset()},updated:function(){this.paint()},beforeUnmount:function(){this.reset()},methods:{paint:function(){const t=this.$el.appendChild(document.createElement("span")),r=this;it(()=>import("./buttons.esm.fbc01805.js"),[],import.meta.url).then(function(e){e.render(t.appendChild(r.$refs._),function(i){try{t.parentNode.replaceChild(i,t)}catch{}})})},reset:function(){this.$el.replaceChild(this.$refs._,this.$el.lastChild)}}}),zG={key:0,"data-testid":"notification-amount",class:"notification-icon__amount"},UG=ae({__name:"NotificationIcon",setup(t){const r=Or(),e=F(()=>r.getters["notifications/amountOfActions"]);function i(){r.dispatch("notifications/openModal")}return(n,s)=>(S(),I("button",{class:"notification-icon cursor-pointer",type:"button",onClick:i},[Z(ie(Xe),{color:"var(--yellow-300)",icon:"notificationBell"}),ie(e)>0?(S(),I("span",zG,re(ie(e)),1)):ne("",!0)]))}});const Jr=(t,r)=>{const e=t.__vccOpts||t;for(const[i,n]of r)e[i]=n;return e},KG=Jr(UG,[["__scopeId","data-v-c4951eaf"]]);var WG=function(r,e){for(var i=r.split("."),n=e.split("."),s=0;s<3;s++){var a=Number(i[s]),o=Number(n[s]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return 0};const YG={class:"upgrade-check"},GG={class:"alert-content"},ZG=ae({__name:"UpgradeCheck",setup(t){const r="https://kuma.io/install/latest/?utm_source=Kuma&utm_medium=Kuma-GUI",e=Or(),i=j(""),n=j(!1),s=F(()=>e.getters["config/getVersion"]),a=F(()=>e.getters["config/getTagline"]);o();async function o(){try{i.value=await yt.getLatestVersion()}catch(l){n.value=!1,console.error(l)}finally{if(i.value!=="")WG(i.value,s.value||"")===1?n.value=!0:n.value=!1;else{const u=new Date,c=new Date("2020-06-03 12:00:00"),h=new Date(c.getFullYear(),c.getMonth()+3,c.getDate());u.getTime()>=h.getTime()?n.value=!0:n.value=!1}}}return(l,u)=>(S(),I("div",YG,[n.value?(S(),fe(ie(Fu),{key:0,appearance:"warning",size:"small"},{alertMessage:se(()=>[E("div",GG,[E("div",null,re(ie(a))+" update available ",1),E("div",null,[Z(ie(gt),{class:"warning-button",appearance:"primary",size:"small",to:r},{default:se(()=>[ue(" Update ")]),_:1})])])]),_:1})):ne("",!0)]))}});const qG=Jr(ZG,[["__scopeId","data-v-144c475e"]]),QG=t=>(Nr("data-v-25d0cc9a"),t=t(),jr(),t),XG={class:"app-header"},JG={class:"horizontal-list"},eZ=["alt"],tZ={class:"upgrade-check-wrapper"},rZ={key:0,class:"horizontal-list"},iZ={class:"app-status app-status--mobile"},nZ={class:"app-status app-status--desktop"},sZ=QG(()=>E("span",{class:"kutil-sr-only"},"Diagnostics",-1)),aZ=ae({__name:"AppHeader",setup(t){const r=Or(),e=F(()=>r.getters["notifications/amountOfActions"]>0),i=F(()=>{const s=r.getters["config/getEnvironment"];return s?s.charAt(0).toUpperCase()+s.substring(1):"Universal"}),n=F(()=>r.getters["config/getMulticlusterStatus"]?"Multi-Zone":"Standalone");return(s,a)=>{const o=be("router-link");return S(),I("header",XG,[E("div",JG,[Z(o,{to:{name:"home"}},{default:se(()=>[E("img",{class:"logo-image",src:jG,alt:`${ie(r).state.config.tagline} Logo`},null,8,eZ)]),_:1}),Z(ie(HG),{class:"gh-star",href:"https://github.com/kumahq/kuma","aria-label":"Star kumahq/kuma on GitHub"},{default:se(()=>[ue(" Star ")]),_:1}),E("div",tZ,[Z(qG)])]),ie(r).state.config.status==="OK"?(S(),I("div",rZ,[E("div",iZ,[Z(ie(Bs),{width:"280"},{content:se(()=>[E("p",null,[ue(re(ie(r).state.config.tagline)+" ",1),E("b",null,re(ie(r).state.config.version),1),ue(" on "),E("b",null,re(ie(i)),1),ue(" ("+re(ie(n))+") ",1)])]),default:se(()=>[Z(ie(gt),{appearance:"outline"},{default:se(()=>[ue(" Info ")]),_:1})]),_:1})]),E("p",nZ,[ue(re(ie(r).state.config.tagline)+" ",1),E("b",null,re(ie(r).state.config.version),1),ue(" on "),E("b",null,re(ie(i)),1),ue(" ("+re(ie(n))+") ",1)]),ie(e)?(S(),fe(KG,{key:0})):ne("",!0),Z(o,{to:{name:"diagnostics"}},{default:se(()=>[Z(ie(Xe),{icon:"gearFilled",color:"currentColor",title:"Diagnostics"}),sZ]),_:1})])):ne("",!0)])}}});const oZ=Jr(aZ,[["__scopeId","data-v-25d0cc9a"]]),lZ=""+new URL("kuma-loader-v1.2aaed7d4.gif",import.meta.url).href,uZ=t=>(Nr("data-v-28cdaab8"),t=t(),jr(),t),cZ={class:"full-screen"},hZ={class:"loading-container"},dZ=uZ(()=>E("img",{src:lZ},null,-1)),fZ={class:"progress"},pZ=ae({__name:"AppLoadingBar",setup(t){let r;const e=j(10);return Bt(function(){r=window.setInterval(()=>{e.value>=100&&(window.clearInterval(r),e.value=100),e.value=Math.min(e.value+Math.ceil(Math.random()*30),100)},150)}),Fi(function(){window.clearInterval(r)}),(i,n)=>(S(),I("div",cZ,[E("div",hZ,[dZ,E("div",fZ,[E("div",{style:cr({width:`${e.value}%`}),class:"progress-bar",role:"progressbar","data-testid":"app-progress-bar"},null,4)])])]))}});const gZ=Jr(pZ,[["__scopeId","data-v-28cdaab8"]]),vZ={key:0,class:"onboarding-check"},mZ={class:"alert-content"},yZ=ae({__name:"AppOnboardingNotification",setup(t){const r=j(!1);function e(){r.value=!0}return(i,n)=>r.value===!1?(S(),I("div",vZ,[Z(ie(Fu),{appearance:"success",class:"dismissible","dismiss-type":"icon",onClosed:e},{alertMessage:se(()=>[E("div",mZ,[E("div",null,[E("strong",null,"Welcome to "+re(ie($8))+"!",1),ue(" We've detected that you don't have any data plane proxies running yet. We've created an onboarding process to help you! ")]),E("div",null,[Z(ie(gt),{appearance:"primary",size:"small",class:"action-button",to:{name:"onboarding-welcome"}},{default:se(()=>[ue(" Get started ")]),_:1})])])]),_:1})])):ne("",!0)}});const bZ=Jr(yZ,[["__scopeId","data-v-c21dc5a7"]]);async function _Z(t,r,e=()=>!1){do{if(await t(),await e())break;const i=typeof r=="number"?r:r();await new Promise(n=>setTimeout(n,Math.max(0,i)))}while(!await e())}const wZ=t=>(Nr("data-v-4a31953a"),t=t(),jr(),t),SZ={class:"mesh-selector-container"},PZ={for:"mesh-selector"},CZ=wZ(()=>E("span",{class:"kutil-sr-only"}," Filter by mesh: ",-1)),OZ=["value","selected"],kZ=ae({__name:"AppMeshSelector",props:{meshes:{type:Array,required:!0}},setup(t){const r=t,e=Bu(),i=tf(),n=Or(),s=F(()=>n.state.selectedMesh===null?r.meshes[0].name:n.state.selectedMesh);function a(o){const u=o.target.value;n.dispatch("updateSelectedMesh",u);const c="mesh"in e.params?e.name:"mesh-detail-view";i.push({name:c,params:{mesh:u}})}return(o,l)=>(S(),I("div",SZ,[E("label",PZ,[CZ,E("select",{id:"mesh-selector",class:"mesh-selector",name:"mesh-selector","data-testid":"mesh-selector",onChange:a},[(S(!0),I(Ue,null,Rt(r.meshes,u=>(S(),I("option",{key:u.name,value:u.name,selected:u.name===ie(s)},re(u.name),9,OZ))),128))],32)])]))}});const EZ=Jr(kZ,[["__scopeId","data-v-4a31953a"]]);var ur={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},Ft=function(t){for(var r=[],e=1;e>parseInt(t,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,Xs)}function ld(t){return t!==0&&Math.random()*100<=t}function Eo(){}function Ju(t,r){if(typeof t!="object"||t===null)return JSON.stringify(t);var e=Xo(Object.prototype),i=Xo(Array.prototype),n=Xo(Object.getPrototypeOf(t)),s=Xo(t);try{return JSON.stringify(t,UZ(),r)}catch{return""}finally{e(),i(),n(),s()}}function Xo(t){var r=t,e=r.toJSON;return e?(delete r.toJSON,function(){r.toJSON=e}):Eo}function Js(t,r){return t.indexOf(r)!==-1}function t2(t){if(Array.from)return Array.from(t);var r=[];if(t instanceof Set)t.forEach(function(i){return r.push(i)});else for(var e=0;e=0&&t<=100}function LZ(t){return typeof t=="number"}function uo(t){return Object.keys(t).map(function(r){return t[r]})}function FZ(t){return Object.keys(t).map(function(r){return[r,t[r]]})}function RZ(t){return Object.keys(t).length===0}function r2(t,r){return t.slice(0,r.length)===r}function VZ(t,r){return t.slice(-r.length)===r}function Wf(){if(typeof globalThis=="object")return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var t=_dd_temp_;return delete Object.prototype._dd_temp_,typeof t!="object"&&(typeof self=="object"?t=self:typeof window=="object"?t=window:t={}),t}function NZ(){return jZ(window.location)}function jZ(t){if(t.origin)return t.origin;var r=t.host.replace(/(:80|:443)$/,"");return"".concat(t.protocol,"//").concat(r)}function HZ(t,r){var e=new RegExp("(?:^|;)\\s*".concat(r,"\\s*=\\s*([^;]+)")),i=e.exec(t);return i?i[1]:void 0}function zZ(t,r,e){e===void 0&&(e="");var i=t.charCodeAt(r-1),n=i>=55296&&i<=56319,s=n?r+1:r;return t.length<=s?t:"".concat(t.slice(0,s)).concat(e)}function La(t,r,e,i){return i2(t,[r],e,i)}function i2(t,r,e,i){var n=i===void 0?{}:i,s=n.once,a=n.capture,o=n.passive,l=et(s?function(h){c(),e(h)}:e),u=o?{capture:a,passive:o}:a;r.forEach(function(h){return t.addEventListener(h,l,u)});var c=function(){return r.forEach(function(h){return t.removeEventListener(h,l,u)})};return{stop:c}}function n2(t){return t===null?"null":Array.isArray(t)?"array":typeof t}function s2(){var t=new WeakMap;return{hasAlreadyBeenSeen:function(r){var e=t.has(r);return e||t.set(r,!0),e}}}function UZ(){var t=s2();return function(r,e){var i=n2(e);return(i==="object"||i==="array")&&t.hasAlreadyBeenSeen(e)?"":e}}function pu(t,r,e){if(e===void 0&&(e=s2()),r===void 0)return t;if(typeof r!="object"||r===null)return r;if(r instanceof Date)return new Date(r.getTime());if(r instanceof RegExp){var i=r.flags||[r.global?"g":"",r.ignoreCase?"i":"",r.multiline?"m":"",r.sticky?"y":"",r.unicode?"u":""].join("");return new RegExp(r.source,i)}if(!e.hasAlreadyBeenSeen(r)){if(Array.isArray(r)){for(var n=Array.isArray(t)?t:[],s=0;se||aq.test(r))&&Ft.warn("".concat(t," value doesn't meet tag requirements and will be sanitized"));var i=r.replace(/,/g,"_");return"".concat(t,":").concat(i)}function oq(t){var r=sq(t),e=lq(t,r),i=uo(e).map(function(s){return s.buildIntakeUrl()}),n=uq(t,i,r);return Cr({isIntakeUrl:function(s){return i.some(function(a){return s.indexOf(a)===0})},replica:n,site:t.site||Gf},e)}function lq(t,r){return{logsEndpointBuilder:Ra(t,"logs",r),rumEndpointBuilder:Ra(t,"rum",r),sessionReplayEndpointBuilder:Ra(t,"sessionReplay",r)}}function uq(t,r,e){if(!!t.replica){var i=Cr({},t,{site:Gf,clientToken:t.replica.clientToken}),n={logsEndpointBuilder:Ra(i,"logs",e),rumEndpointBuilder:Ra(i,"rum",e)};return r.push.apply(r,uo(n).map(function(s){return s.buildIntakeUrl()})),Cr({applicationId:t.replica.applicationId},n)}}function cq(t){var r,e,i;if(!t||!t.clientToken){Ft.error("Client Token is not configured, we will not send any data.");return}if(t.sampleRate!==void 0&&!Zc(t.sampleRate)){Ft.error("Sample Rate should be a number between 0 and 100");return}if(t.telemetrySampleRate!==void 0&&!Zc(t.telemetrySampleRate)){Ft.error("Telemetry Sample Rate should be a number between 0 and 100");return}if(t.telemetryConfigurationSampleRate!==void 0&&!Zc(t.telemetryConfigurationSampleRate)){Ft.error("Telemetry Configuration Sample Rate should be a number between 0 and 100");return}return GZ(t.enableExperimentalFeatures),Cr({beforeSend:t.beforeSend&&o2(t.beforeSend,"beforeSend threw an error:"),cookieOptions:hq(t),sampleRate:(r=t.sampleRate)!==null&&r!==void 0?r:100,telemetrySampleRate:(e=t.telemetrySampleRate)!==null&&e!==void 0?e:20,telemetryConfigurationSampleRate:(i=t.telemetryConfigurationSampleRate)!==null&&i!==void 0?i:5,service:t.service,silentMultipleInit:!!t.silentMultipleInit,batchBytesLimit:16*lo,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*qs,batchMessagesLimit:50,messageBytesLimit:256*lo},oq(t))}function hq(t){var r={};return r.secure=dq(t),r.crossSite=!!t.useCrossSiteSessionCookie,t.trackSessionAcrossSubdomains&&(r.domain=YZ()),r}function dq(t){return!!t.useSecureSessionCookie||!!t.useCrossSiteSessionCookie}function fq(t){return{session_sample_rate:t.sampleRate,telemetry_sample_rate:t.telemetrySampleRate,telemetry_configuration_sample_rate:t.telemetryConfigurationSampleRate,use_before_send:!!t.beforeSend,use_cross_site_session_cookie:t.useCrossSiteSessionCookie,use_secure_session_cookie:t.useSecureSessionCookie,use_proxy:t.proxyUrl!==void 0?!!t.proxyUrl:void 0,silent_multiple_init:t.silentMultipleInit,track_session_across_subdomains:t.trackSessionAcrossSubdomains}}var Do="?";function gn(t){var r=[],e=Xc(t,"stack"),i=String(t);return e&&r2(e,i)&&(e=e.slice(i.length)),e&&e.split(` +`).forEach(function(n){var s=vq(n)||yq(n)||_q(n)||Pq(n);s&&(!s.func&&s.line&&(s.func=Do),r.push(s))}),{message:Xc(t,"message"),name:Xc(t,"name"),stack:r}}var c2="((?:file|https?|blob|chrome-extension|native|eval|webpack||\\w+\\.|\\/).*?)",ks="(?::(\\d+))",pq=new RegExp("^\\s*at (.*?) ?\\(".concat(c2).concat(ks,"?").concat(ks,"?\\)?\\s*$"),"i"),gq=new RegExp("\\((\\S*)".concat(ks).concat(ks,"\\)"));function vq(t){var r=pq.exec(t);if(!!r){var e=r[2]&&r[2].indexOf("native")===0,i=r[2]&&r[2].indexOf("eval")===0,n=gq.exec(r[2]);return i&&n&&(r[2]=n[1],r[3]=n[2],r[4]=n[3]),{args:e?[r[2]]:[],column:r[4]?+r[4]:void 0,func:r[1]||Do,line:r[3]?+r[3]:void 0,url:e?void 0:r[2]}}}var mq=new RegExp("^\\s*at ?".concat(c2).concat(ks,"?").concat(ks,"??\\s*$"),"i");function yq(t){var r=mq.exec(t);if(!!r)return{args:[],column:r[3]?+r[3]:void 0,func:Do,line:r[2]?+r[2]:void 0,url:r[1]}}var bq=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function _q(t){var r=bq.exec(t);if(!!r)return{args:[],column:r[4]?+r[4]:void 0,func:r[1]||Do,line:+r[3],url:r[2]}}var wq=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,Sq=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function Pq(t){var r=wq.exec(t);if(!!r){var e=r[3]&&r[3].indexOf(" > eval")>-1,i=Sq.exec(r[3]);return e&&i&&(r[3]=i[1],r[4]=i[2],r[5]=void 0),{args:r[2]?r[2].split(","):[],column:r[5]?+r[5]:void 0,func:r[1]||Do,line:r[4]?+r[4]:void 0,url:r[3]}}}function Xc(t,r){if(!(typeof t!="object"||!t||!(r in t))){var e=t[r];return typeof e=="string"?e:void 0}}function h2(t,r,e){var i=t[r],n=e(i),s=function(){if(typeof n=="function")return n.apply(this,arguments)};return t[r]=s,{stop:function(){t[r]===s?t[r]=i:n=i}}}function cs(t,r,e){var i=e.before,n=e.after;return h2(t,r,function(s){return function(){var a=arguments,o;return i&&Fn(i,this,a),typeof s=="function"&&(o=s.apply(this,a)),n&&Fn(n,this,a),o}})}var Cq=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function Oq(t){var r=kq(t).stop,e=Eq(t).stop;return{stop:function(){r(),e()}}}function kq(t){return cs(window,"onerror",{before:function(r,e,i,n,s){var a;if(s)a=gn(s),t(a,s);else{var o={url:e,column:n,line:i},l,u=r;if({}.toString.call(r)==="[object String]"){var c=Cq.exec(u);c&&(l=c[1],u=c[2])}a={name:l,message:typeof u=="string"?u:void 0,stack:[o]},t(a,r)}}})}function Eq(t){return cs(window,"onunhandledrejection",{before:function(r){var e=r.reason||"Empty reason",i=gn(e);t(i,e)}})}var rr={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function Tq(t){var r=t.stackTrace,e=t.originalError,i=t.handlingStack,n=t.startClocks,s=t.nonErrorPrefix,a=t.source,o=t.handling;return!r||r.message===void 0&&!(e instanceof Error)?{startClocks:n,source:a,handling:o,originalError:e,message:"".concat(s," ").concat(Ju(e)),stack:"No stack, consider using an instance of Error",handlingStack:i,type:r&&r.name}:{startClocks:n,source:a,handling:o,originalError:e,message:r.message||"Empty message",stack:Un(r),handlingStack:i,type:r.name,causes:Iq(e,a)}}function Un(t){var r=d2(t);return t.stack.forEach(function(e){var i=e.func==="?"?"":e.func,n=e.args&&e.args.length>0?"(".concat(e.args.join(", "),")"):"",s=e.line?":".concat(e.line):"",a=e.line&&e.column?":".concat(e.column):"";r+=` + at `.concat(i).concat(n," @ ").concat(e.url).concat(s).concat(a)}),r}function xq(t){var r;return(r=/@ (.+)/.exec(t))===null||r===void 0?void 0:r[1]}function d2(t){return"".concat(t.name||"Error",": ").concat(t.message)}function Dq(){var t=2,r=new Error,e;if(!r.stack)try{throw r}catch{}return Fn(function(){var i=gn(r);i.stack=i.stack.slice(t),e=Un(i)}),e}function Iq(t,r){for(var e=t,i=[];(e==null?void 0:e.cause)instanceof Error&&i.length<10;){var n=gn(e.cause);i.push({message:e.cause.message,source:r,type:n==null?void 0:n.name,stack:n&&Un(n)}),e=e.cause}return i.length?i:void 0}function Mq(t){return Oq(function(r,e){t.notify(Tq({stackTrace:r,originalError:e,startClocks:xo(),nonErrorPrefix:"Uncaught",source:rr.SOURCE,handling:"unhandled"}))})}function Aq(t){var r=Cr({version:"4.23.3",onReady:function(e){e()}},t);return Object.defineProperty(r,"_setDebug",{get:function(){return DZ},enumerable:!1}),r}function $q(t,r,e){var i=t[r];t[r]=e,i&&i.q&&i.q.forEach(function(n){return o2(n,"onReady callback threw an error:")()})}var pi=function(){function t(r){this.onFirstSubscribe=r,this.observers=[]}return t.prototype.subscribe=function(r){var e=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe()||void 0),this.observers.push(r),{unsubscribe:function(){e.observers=e.observers.filter(function(i){return r!==i}),!e.observers.length&&e.onLastUnsubscribe&&e.onLastUnsubscribe()}}},t.prototype.notify=function(r){this.observers.forEach(function(e){return e(r)})},t}();function f2(){for(var t=[],r=0;r"],jq=[tq],Ti={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1},ud;function Hq(t,r){var e,i=new pi;Ti.telemetryEnabled=ld(r.telemetrySampleRate),Ti.telemetryConfigurationEnabled=Ti.telemetryEnabled&&ld(r.telemetryConfigurationSampleRate),ud=function(s){!Js(jq,r.site)&&Ti.telemetryEnabled&&i.notify(n(t,s))},xZ(g2),Cr(Ti,{maxEventsPerPage:r.maxTelemetryEventsPerPage,sentEventCount:0});function n(s,a){return ec({type:"telemetry",date:Ni(),service:s,version:"4.23.3",source:"browser",_dd:{format_version:2},telemetry:a,experimental_features:t2(ZZ())},e!==void 0?e():{})}return{setContextProvider:function(s){e=s},observable:i}}function zq(t){return t.site===eq}function Uq(t,r){od(ur.debug,t,r),qf(Cr({type:Zf.log,message:t,status:"debug"},r))}function g2(t){qf(Cr({type:Zf.log,status:"error"},Wq(t)))}function Kq(t){Ti.telemetryConfigurationEnabled&&qf({type:Zf.configuration,configuration:t})}function qf(t){ud&&Ti.sentEventCount=0&&i.entries.splice(s,1)},close:function(s){n.endTime=s}};return this.entries.unshift(n),n},t.prototype.find=function(r){r===void 0&&(r=el);for(var e=0,i=this.entries;e0&&this.entries[this.entries.length-1].endTime=Xq){xm();return}var i,n=_a();if(Jc()){if(n.lock){tl(t,r);return}if(i=Xs(),n.lock=i,cd(n,t.options),n=_a(),n.lock!==i){tl(t,r);return}}var s=t.process(n);if(Jc()&&(n=_a(),n.lock!==i)){tl(t,r);return}if(s&&_2(s,t.options),Jc()&&!(s&&w2(s))){if(n=_a(),n.lock!==i){tl(t,r);return}delete n.lock,cd(n,t.options),s=n}(e=t.after)===null||e===void 0||e.call(t,s||n),xm()}function Jc(){return qq()}function tl(t,r){setTimeout(et(function(){Va(t,r+1)}),Qq)}function xm(){kl=void 0;var t=b2.shift();t&&Va(t)}function _2(t,r){if(w2(t)){tQ(r);return}t.expire=String(Fa()+m2),cd(t,r)}function cd(t,r){To(tc,Jq(t),m2,r)}function Jq(t){return FZ(t).map(function(r){var e=r[0],i=r[1];return"".concat(e,"=").concat(i)}).join(Qf)}function _a(){var t=ci(tc),r={};return eQ(t)&&t.split(Qf).forEach(function(e){var i=y2.exec(e);if(i!==null){var n=i[1],s=i[2];r[n]=s}}),r}function eQ(t){return t!==void 0&&(t.indexOf(Qf)!==-1||y2.test(t))}function w2(t){return RZ(t)}function tQ(t){To(tc,"",0,t)}var rQ="_dd",iQ="_dd_r",nQ="_dd_l",sQ="rum",aQ="logs";function oQ(t){var r=ci(tc),e=ci(rQ),i=ci(iQ),n=ci(nQ);if(!r){var s={};e&&(s.id=e),n&&/^[01]$/.test(n)&&(s[aQ]=n),i&&/^[012]$/.test(i)&&(s[sQ]=i),_2(s,t)}}function lQ(t,r,e){var i=new pi,n=new pi,s=setInterval(et(u),Tm),a=v();function o(){var m;Va({options:t,process:function(w){var C=c(w);return m=h(C),C},after:function(w){m&&!d()&&g(w),a=w}})}function l(){Va({options:t,process:function(m){return d()?c(m):void 0}})}function u(){Va({options:t,process:function(m){return y(m)?void 0:{}},after:c})}function c(m){return y(m)||(m={}),d()&&(f(m)?p():a=m),m}function h(m){var w=e(m[r]),C=w.trackingType,P=w.isTracked;return m[r]=C,P&&!m.id&&(m.id=Xs(),m.created=String(Fa())),P}function d(){return a[r]!==void 0}function f(m){return a.id!==m.id||a[r]!==m[r]}function p(){a={},n.notify()}function g(m){a=m,i.notify()}function v(){var m=_a();return y(m)?m:{}}function y(m){return(m.created===void 0||Fa()-Number(m.created)0?1:2,s()):(r.transportStatus=0,n())})}function E2(t,r,e,i,n){t===0&&r.queuedPayloads.isFull()&&!r.queueFullReported&&(n({message:"Reached max ".concat(i," events size queued for upload: ").concat(S2/e2,"MiB"),source:rr.AGENT,startClocks:xo()}),r.queueFullReported=!0);var s=r.queuedPayloads;for(r.queuedPayloads=T2();s.size()>0;)C2(s.dequeue(),r,e,i,n)}function mQ(t){return t.status===0||t.status===408||t.status===429||t.status>=500}function yQ(){return{transportStatus:0,currentBackoffTime:P2,bandwidthMonitor:bQ(),queuedPayloads:T2(),queueFullReported:!1}}function T2(){var t=[];return{bytesCount:0,enqueue:function(r){this.isFull()||(t.push(r),this.bytesCount+=r.bytesCount)},first:function(){return t[0]},dequeue:function(){var r=t.shift();return r&&(this.bytesCount-=r.bytesCount),r},size:function(){return t.length},isFull:function(){return this.bytesCount>=S2}}}function bQ(){return{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(t){return this.ongoingRequestCount===0||this.ongoingByteCount+t.bytesCount<=pQ&&this.ongoingRequestCount=this.messageBytesLimit){Ft.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB."));return}this.hasMessageFor(e)&&this.remove(e),this.willReachedBytesLimitWith(s)&&this.flush(),this.push(n,s,e),this.isFull()&&this.flush()},t.prototype.process=function(r){var e=Ju(r),i=this.computeBytesCount(e);return{processedMessage:e,messageBytesCount:i}},t.prototype.push=function(r,e,i){this.bufferMessagesCount>0&&(this.bufferBytesCount+=1),i!==void 0?this.upsertBuffer[i]=r:this.pushOnlyBuffer.push(r),this.bufferBytesCount+=e,this.bufferMessagesCount+=1},t.prototype.remove=function(r){var e=this.upsertBuffer[r];delete this.upsertBuffer[r];var i=this.computeBytesCount(e);this.bufferBytesCount-=i,this.bufferMessagesCount-=1,this.bufferMessagesCount>0&&(this.bufferBytesCount-=1)},t.prototype.hasMessageFor=function(r){return r!==void 0&&this.upsertBuffer[r]!==void 0},t.prototype.willReachedBytesLimitWith=function(r){return this.bufferBytesCount+r+1>=this.batchBytesLimit},t.prototype.isFull=function(){return this.bufferMessagesCount===this.batchMessagesLimit||this.bufferBytesCount>=this.batchBytesLimit},t.prototype.flushPeriodically=function(){var r=this;setTimeout(et(function(){r.flush(),r.flushPeriodically()}),this.flushTimeout)},t.prototype.setupFlushOnExit=function(){var r=this;navigator.sendBeacon&&(La(window,"beforeunload",this.beforeUnloadCallback),La(document,"visibilitychange",function(){document.visibilityState==="hidden"&&r.flushOnExit()}),La(window,"beforeunload",function(){return r.flushOnExit()}))},t}();function Xf(){var t=EQ();if(!!t)return{getAllowedWebViewHosts:function(){return JSON.parse(t.getAllowedWebViewHosts())},send:function(r,e){t.send(JSON.stringify({eventType:r,event:e}))}}}function gu(t){var r;t===void 0&&(t=(r=Wf().location)===null||r===void 0?void 0:r.hostname);var e=Xf();return!!e&&e.getAllowedWebViewHosts().some(function(i){return t===i||VZ(t,".".concat(i))})}function EQ(){return Wf().DatadogEventBridge}function x2(t,r,e,i){var n=a(r),s;i&&(s=a(i));function a(o){return new kQ(_Q(o,t.batchBytesLimit,e),t.batchMessagesLimit,t.batchBytesLimit,t.messageBytesLimit,t.flushTimeout)}return{add:function(o,l){l===void 0&&(l=!0),n.add(o),s&&l&&s.add(o)}}}function TQ(t,r,e){var i=0,n=!1;return{isLimitReached:function(){if(i===0&&setTimeout(function(){i=0},Qs),i+=1,i<=r||n)return n=!1,!1;if(i===r+1){n=!0;try{e({message:"Reached max number of ".concat(t,"s by minute: ").concat(r),source:rr.AGENT,startClocks:xo()})}finally{n=!1}}return!0}}}var eh,Jf=new WeakMap;function xQ(){return eh||(eh=DQ()),eh}function DQ(){var t=new pi(function(){var r=cs(XMLHttpRequest.prototype,"open",{before:IQ}).stop,e=cs(XMLHttpRequest.prototype,"send",{before:function(){MQ.call(this,t)}}).stop,i=cs(XMLHttpRequest.prototype,"abort",{before:AQ}).stop;return function(){r(),e(),i()}});return t}function IQ(t,r){Jf.set(this,{state:"open",method:t,url:Yf(String(r))})}function MQ(t){var r=this,e=Jf.get(this);if(!!e){var i=e;i.state="start",i.startTime=co(),i.startClocks=xo(),i.isAborted=!1,i.xhr=this;var n=!1,s=cs(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&a()}}).stop,a=et(function(){if(r.removeEventListener("loadend",a),s(),!n){n=!0;var o=e;o.state="complete",o.duration=l2(i.startClocks.timeStamp,Ni()),o.status=r.status,t.notify($Z(o))}});this.addEventListener("loadend",a),t.notify(i)}}function AQ(){var t=Jf.get(this);t&&(t.isAborted=!0)}var th;function $Q(){return th||(th=BQ()),th}function BQ(){var t=new pi(function(){if(!!window.fetch){var r=h2(window,"fetch",function(e){return function(i,n){var s,a=Fn(LQ,null,[t,i,n]);return a?(s=e.call(this,a.input,a.init),Fn(FQ,null,[t,s,a])):s=e.call(this,i,n),s}}).stop;return r}});return t}function LQ(t,r,e){var i=e&&e.method||typeof r=="object"&&r.method||"GET",n=Yf(typeof r=="object"&&r.url||r),s=xo(),a={state:"start",init:e,input:r,method:i,startClocks:s,url:n};return t.notify(a),a}function FQ(t,r,e){var i=function(n){var s=e;s.state="complete",s.duration=l2(s.startClocks.timeStamp,Ni()),"stack"in n||n instanceof Error?(s.status=0,s.isAborted=n instanceof DOMException&&n.code===DOMException.ABORT_ERR,s.error=n,t.notify(s)):"status"in n&&(s.response=n,s.responseType=n.type,s.status=n.status,s.isAborted=!1,t.notify(s))};r.then(et(i),et(i))}var rh={};function RQ(t){var r=t.map(function(e){return rh[e]||(rh[e]=VQ(e)),rh[e]});return f2.apply(void 0,r)}function VQ(t){var r=new pi(function(){var e=console[t];return console[t]=function(){for(var i=[],n=0;nHQ&&this.buffer.splice(0,1)},t.prototype.drain=function(){this.buffer.forEach(function(r){return r()}),this.buffer.length=0},t}();function D2(){var t={};return{get:function(){return t},add:function(r,e){t[r]=e},remove:function(r){delete t[r]},set:function(r){t=r},getContext:function(){return us(t)},setContext:function(r){t=us(r)},setContextProperty:function(r,e){t[r]=us(e)},removeContextProperty:function(r){delete t[r]},clearContext:function(){t={}}}}var UQ="datadog-synthetics-public-id",KQ="datadog-synthetics-result-id",WQ="datadog-synthetics-injects-rum";function I2(){return Boolean(window._DATADOG_SYNTHETICS_INJECTS_RUM||ci(WQ))}function YQ(){var t=window._DATADOG_SYNTHETICS_PUBLIC_ID||ci(UQ);return typeof t=="string"?t:void 0}function GQ(){var t=window._DATADOG_SYNTHETICS_RESULT_ID||ci(KQ);return typeof t=="string"?t:void 0}var ZQ=32*lo;function qQ(t){var r=cq(t),e=Im(t.forwardConsoleLogs,uo(ur),"Forward Console Logs"),i=Im(t.forwardReports,uo(sn),"Forward Reports");if(!(!r||!e||!i))return t.forwardErrorsToLogs&&!Js(e,ur.error)&&e.push(ur.error),Cr({forwardErrorsToLogs:t.forwardErrorsToLogs!==!1,forwardConsoleLogs:e,forwardReports:i,requestErrorResponseLengthLimit:ZQ},r)}function Im(t,r,e){if(t===void 0)return[];if(!(t==="all"||Array.isArray(t)&&t.every(function(i){return Js(r,i)}))){Ft.error("".concat(e,' should be "all" or an array with allowed values "').concat(r.join('", "'),'"'));return}return t==="all"?r:KZ(t)}function QQ(t){var r=fq(t);return Cr({forward_errors_to_logs:t.forwardErrorsToLogs,forward_console_logs:t.forwardConsoleLogs,forward_reports:t.forwardReports},r)}var XQ=globalThis&&globalThis.__decorate||function(t,r,e,i){var n=arguments.length,s=n<3?r:i===null?i=Object.getOwnPropertyDescriptor(r,e):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,e,i);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(s=(n<3?a(s):n>3?a(r,e,s):a(r,e))||s);return n>3&&s&&Object.defineProperty(r,e,s),s},Dt={debug:"debug",error:"error",info:"info",warn:"warn"},ep={console:"console",http:"http",silent:"silent"},JQ=Object.keys(Dt),Mm=function(){function t(r,e,i,n,s){i===void 0&&(i=ep.http),n===void 0&&(n=Dt.debug),s===void 0&&(s={}),this.handleLogStrategy=r,this.handlerType=i,this.level=n,this.contextManager=D2(),this.contextManager.set(Cr({},s,e?{logger:{name:e}}:void 0))}return t.prototype.log=function(r,e,i){i===void 0&&(i=Dt.info),this.handleLogStrategy({message:r,context:us(e),status:i},this)},t.prototype.debug=function(r,e){this.log(r,e,Dt.debug)},t.prototype.info=function(r,e){this.log(r,e,Dt.info)},t.prototype.warn=function(r,e){this.log(r,e,Dt.warn)},t.prototype.error=function(r,e){var i={error:{origin:rr.LOGGER}};this.log(r,ec(i,e),Dt.error)},t.prototype.setContext=function(r){this.contextManager.set(r)},t.prototype.getContext=function(){return this.contextManager.get()},t.prototype.addContext=function(r,e){this.contextManager.add(r,e)},t.prototype.removeContext=function(r){this.contextManager.remove(r)},t.prototype.setHandler=function(r){this.handlerType=r},t.prototype.getHandler=function(){return this.handlerType},t.prototype.setLevel=function(r){this.level=r},t.prototype.getLevel=function(){return this.level},XQ([IZ],t.prototype,"log",null),t}();function eX(t){var r=!1,e=D2(),i={},n=function(){},s=new zQ,a=function(d,f,p,g){p===void 0&&(p=us(u())),g===void 0&&(g=Ni()),s.add(function(){return a(d,f,p,g)})},o=function(){},l=new Mm(function(){for(var d=[],f=0;f=Am[e.getLevel()]&&Js(n,r)}function oX(t,r,e,i,n,s){var a=JQ.concat(["custom"]),o={};a.forEach(function(l){o[l]=TQ(l,r.eventRateLimiterThreshold,s)}),e.subscribe(0,function(l){var u,c,h,d=l.rawLogsEvent,f=l.messageContext,p=f===void 0?void 0:f,g=l.savedCommonContext,v=g===void 0?void 0:g,y=l.logger,m=y===void 0?n:y,w=QZ(d.date),C=t.findTrackedSession(w);if(!!C){var P=v||i(),T=ec({service:r.service,session_id:C.id,view:P.view},P.context,El(w),d,m.getContext(),p);!A2(d.status,ep.http,m)||((u=r.beforeSend)===null||u===void 0?void 0:u.call(r,T))===!1||((c=T.error)===null||c===void 0?void 0:c.origin)!==rr.AGENT&&((h=o[T.status])!==null&&h!==void 0?h:o.custom).isLimitReached()||e.notify(1,T)}})}var $m=!1;function El(t){var r=window;if(I2()){var e=i(r.DD_RUM_SYNTHETICS);return!e&&!$m&&($m=!0,Uq("Logs sent before RUM is injected by the synthetics worker",{testId:YQ(),resultId:GQ()})),e}return i(r.DD_RUM);function i(n){if(n&&n.getInternalContext)return n.getInternalContext(t)}}var _n,lX=(_n={},_n[ur.log]=Dt.info,_n[ur.debug]=Dt.debug,_n[ur.info]=Dt.info,_n[ur.warn]=Dt.warn,_n[ur.error]=Dt.error,_n);function uX(t,r){var e=RQ(t.forwardConsoleLogs).subscribe(function(i){r.notify(0,{rawLogsEvent:{date:Ni(),message:i.message,origin:rr.CONSOLE,error:i.api===ur.error?{origin:rr.CONSOLE,stack:i.stack}:void 0,status:lX[i.api]}})});return{stop:function(){e.unsubscribe()}}}var fa,cX=(fa={},fa[sn.cspViolation]=Dt.error,fa[sn.intervention]=Dt.error,fa[sn.deprecation]=Dt.warn,fa);function hX(t,r){var e=Bq(t.forwardReports).subscribe(function(i){var n=i.message,s=cX[i.type],a;s===Dt.error?a={kind:i.subtype,origin:rr.REPORT,stack:i.stack}:i.stack&&(n+=" Found in ".concat(xq(i.stack))),r.notify(0,{rawLogsEvent:{date:Ni(),message:n,origin:rr.REPORT,error:a,status:s}})});return{stop:function(){e.unsubscribe()}}}function dX(t,r){if(!t.forwardErrorsToLogs)return{stop:Eo};var e=xQ().subscribe(function(s){s.state==="complete"&&n("xhr",s)}),i=$Q().subscribe(function(s){s.state==="complete"&&n("fetch",s)});function n(s,a){!t.isIntakeUrl(a.url)&&(vX(a)||mX(a))&&("xhr"in a?fX(a.xhr,t,o):a.response?gX(a.response,t,o):a.error&&pX(a.error,t,o));function o(l){r.notify(0,{rawLogsEvent:{message:"".concat(yX(s)," error ").concat(a.method," ").concat(a.url),date:a.startClocks.timeStamp,error:{origin:rr.NETWORK,stack:l||"Failed to load"},http:{method:a.method,status_code:a.status,url:a.url},status:Dt.error,origin:rr.NETWORK}})}}return{stop:function(){e.unsubscribe(),i.unsubscribe()}}}function fX(t,r,e){typeof t.response=="string"?e(tp(t.response,r)):e(t.response)}function pX(t,r,e){e(tp(Un(gn(t)),r))}function gX(t,r,e){window.TextDecoder?t.body?bX(t.clone().body,r.requestErrorResponseLengthLimit,function(i,n){e(i?"Unable to retrieve response: ".concat(i):n)}):e():t.clone().text().then(et(function(i){return e(tp(i,r))}),et(function(i){return e("Unable to retrieve response: ".concat(i))}))}function vX(t){return t.status===0&&t.responseType!=="opaque"}function mX(t){return t.status>=500}function tp(t,r){return t.length>r.requestErrorResponseLengthLimit?"".concat(t.substring(0,r.requestErrorResponseLengthLimit),"..."):t}function yX(t){return t==="xhr"?"XHR":"Fetch"}function bX(t,r,e){_X(t,r,function(i,n,s){if(i)e(i);else{var a=new TextDecoder().decode(n);s&&(a+="..."),e(void 0,a)}})}function _X(t,r,e){var i=t.getReader(),n=[],s=0;a();function a(){i.read().then(et(function(l){if(l.done){o();return}n.push(l.value),s+=l.value.length,s>r?o():a()}),et(function(l){return e(l)}))}function o(){i.cancel().catch(Eo);var l;if(n.length===1)l=n[0];else{l=new Uint8Array(s);var u=0;n.forEach(function(c){l.set(c,u),u+=c.length})}e(void 0,l.slice(0,r),l.length>r)}}function wX(t,r){if(!t.forwardErrorsToLogs)return{stop:Eo};var e=new pi,i=Mq(e).stop,n=e.subscribe(function(s){r.notify(0,{rawLogsEvent:{message:s.message,date:s.startClocks.timeStamp,error:{kind:s.type,origin:rr.SOURCE,stack:s.stack},origin:rr.SOURCE,status:Dt.error}})});return{stop:function(){i(),n.unsubscribe()}}}var SX=function(){function t(){this.callbacks={}}return t.prototype.notify=function(r,e){var i=this.callbacks[r];i&&i.forEach(function(n){return n(e)})},t.prototype.subscribe=function(r,e){var i=this;return this.callbacks[r]||(this.callbacks[r]=[]),this.callbacks[r].push(e),{unsubscribe:function(){i.callbacks[r]=i.callbacks[r].filter(function(n){return e!==n})}}},t}();function PX(t,r,e){var i,n=x2(t,t.logsEndpointBuilder,e,(i=t.replica)===null||i===void 0?void 0:i.logsEndpointBuilder);r.subscribe(1,function(s){n.add(s)})}function CX(t){var r=Xf();t.subscribe(1,function(e){r.send("log",e)})}function OX(t){return{get:function(r){var e=t.findTrackedSession(r);if(e)return{session_id:e.id}}}}function kX(t,r,e,i){var n=new SX,s=function(c){return n.notify(0,{rawLogsEvent:{message:c.message,date:c.startClocks.timeStamp,error:{origin:rr.AGENT},origin:rr.AGENT,status:Dt.error}})},a=EX(r,s);a.setContextProvider(function(){var c,h,d,f,p,g;return{application:{id:(c=El())===null||c===void 0?void 0:c.application_id},session:{id:(h=l.findTrackedSession())===null||h===void 0?void 0:h.id},view:{id:(f=(d=El())===null||d===void 0?void 0:d.view)===null||f===void 0?void 0:f.id},action:{id:(g=(p=El())===null||p===void 0?void 0:p.user_action)===null||g===void 0?void 0:g.id}}}),dX(r,n),wX(r,n),uX(r,n),hX(r,n);var o=aX(n).handleLog,l=WZ(r.cookieOptions)&&!gu()&&!I2()?rX(r):iX(r);oX(l,r,n,e,i,s),gu()?CX(n):PX(r,n,s),Kq(QQ(t));var u=OX(l);return{handleLog:o,getInternalContext:u.get}}function EX(t,r){var e,i=Hq("browser-logs-sdk",t);if(gu()){var n=Xf();i.observable.subscribe(function(a){return n.send("internal_telemetry",a)})}else{var s=x2(t,t.rumEndpointBuilder,r,(e=t.replica)===null||e===void 0?void 0:e.rumEndpointBuilder);i.observable.subscribe(function(a){return s.add(a,zq(t))})}return i}var rp=eX(kX);$q(Wf(),"DD_LOGS",rp);const TX={PAGINATION_PREVIOUS_BUTTON_CLICKED:"pagination-previous-button-clicked",PAGINATION_NEXT_BUTTON_CLICKED:"pagination-next-button-clicked",SIDEBAR_ITEM_CLICKED:"sidebar-item-clicked",TABLE_REFRESH_BUTTON_CLICKED:"table-refresh-button-clicked",TABS_TAB_CHANGE:"tabs-tab-change",CREATE_MESH_CLICKED:"create-mesh-clicked",CREATE_DATA_PLANE_PROXY_CLICKED:"create-data-plane-proxy-clicked"},xX=["data-testid"],DX={key:1,class:"nav-category"},IX=ae({__name:"AppNavItem",props:{name:{type:String,required:!0},routeName:{type:String,required:!1,default:""},usesMeshParam:{type:Boolean,required:!1,default:!1},categoryTier:{type:String,required:!1,default:null},insightsFieldAccessor:{type:String,required:!1,default:""},shouldOffsetFromFollowingItems:{type:Boolean,required:!1,default:!1}},setup(t){const r=t,e=Bu(),i=tf(),n=Or(),s=F(()=>{if(r.insightsFieldAccessor){const u=uf(n.state.sidebar.insights,r.insightsFieldAccessor,0);return u>99?"99+":String(u)}else return""}),a=F(()=>{if(r.routeName==="")return null;const u={name:r.routeName};return r.usesMeshParam&&(u.params={mesh:n.state.selectedMesh}),u}),o=F(()=>{if(a.value===null)return!1;if(r.routeName===e.name||e.path.split("/")[2]===a.value.name)return!0;if(e.meta.parent)try{if(i.resolve({name:e.meta.parent}).name===r.routeName)return!0}catch(c){if(c instanceof Error&&c.message.includes("No match for"))console.warn(c);else throw c}return r.routeName&&e.matched.some(c=>r.routeName===c.name||r.routeName===c.redirect)});function l(){rp.logger.info(TX.SIDEBAR_ITEM_CLICKED,{data:a.value})}return(u,c)=>{const h=be("router-link");return S(),I("div",{class:ce(["nav-item",{"nav-item--is-category":ie(a)===null,"nav-item--has-bottom-offset":r.shouldOffsetFromFollowingItems,[`nav-item--is-${r.categoryTier}-category`]:r.categoryTier!==null}]),"data-testid":r.routeName},[ie(a)!==null?(S(),fe(h,{key:0,class:ce(["nav-link",{"nav-link--is-active":ie(o)}]),to:ie(a),onClick:l},{default:se(()=>[ue(re(t.name)+" ",1),ie(s)?(S(),I("span",{key:0,class:ce(["amount",{"amount--empty":ie(s)==="0"}])},re(ie(s)),3)):ne("",!0)]),_:1},8,["class","to"])):(S(),I("div",DX,re(t.name),1))],10,xX)}}});const MX=Jr(IX,[["__scopeId","data-v-3fcc0f24"]]);function AX(t,r){const e=t.map(n=>({name:n.pluralDisplayName,routeName:n.path,title:!1,usesMeshParam:!0,insightsFieldAccessor:`mesh.policies.${n.name}`}));return e.sort((n,s)=>n.nameAX(e.state.policies,e.getters["config/getMulticlusterStatus"])),n=F(()=>e.state.meshes.items);Ye(()=>e.state.selectedMesh,()=>{e.dispatch("sidebar/getMeshInsights")});let s=!1;Bt(function(){window.addEventListener("blur",a),window.addEventListener("focus",o)}),Fi(function(){window.removeEventListener("blur",a),window.removeEventListener("focus",o)}),o();function a(){s=!0}function o(){s=!1,_Z(l,10*1e3,()=>s)}function l(){return e.dispatch("sidebar/getInsights")}return(u,c)=>(S(),I("div",$X,[E("aside",BX,[(S(!0),I(Ue,null,Rt(ie(i),(h,d)=>(S(),I(Ue,{key:d},[h.isMeshSelector?(S(),I(Ue,{key:0},[ie(n).length>0?(S(),fe(EZ,{key:0,meshes:ie(n)},null,8,["meshes"])):ne("",!0)],64)):(S(),fe(MX,z2(Et({key:1},h)),null,16))],64))),128))])]))}});const FX=Jr(LX,[["__scopeId","data-v-8d6a9406"]]),RX={class:"accordion"},VX=ae({__name:"AccordionList",props:{initiallyOpen:{type:[Number,Array],required:!1,default:null},multipleOpen:{type:Boolean,required:!1,default:!1}},setup(t){const r=t,e=j(0),i=j(r.initiallyOpen!==null?r.initiallyOpen:r.multipleOpen?[]:null);return wa("parentAccordion",{multipleOpen:r.multipleOpen,active:i,count:e}),(n,s)=>(S(),I("ul",RX,[de(n.$slots,"default")]))}}),NX=["aria-expanded"],jX={key:0,class:"px-4 py-1","data-testid":"accordion-item-content"},HX=ae({__name:"AccordionItem",setup(t){const r=Ar("parentAccordion"),e=j(null),i=F(()=>r===void 0?!1:r.multipleOpen&&Array.isArray(r.active.value)&&e.value!==null?r.active.value.includes(e.value):e.value===r.active.value);r!==void 0&&(e.value=r.count.value++);function n(){i.value?s():a()}function s(){r!==void 0&&(r.multipleOpen&&Array.isArray(r.active.value)&&e.value!==null?r.active.value.splice(r.active.value.indexOf(e.value),1):r.active.value=null)}function a(){r!==void 0&&(r.multipleOpen&&Array.isArray(r.active.value)&&e.value!==null?r.active.value.push(e.value):r.active.value=e.value)}function o(u){u.style.height=`${u.scrollHeight}px`}function l(u){u.style.height="auto"}return(u,c)=>(S(),I("li",{class:ce(["accordion-item relative border-b",{active:ie(i)}])},[E("button",{class:"accordion-item-header",type:"button","aria-expanded":ie(i)?"true":"false","data-testid":"accordion-item-button",onClick:n},[de(u.$slots,"accordion-header",{},void 0,!0)],8,NX),Z(Ds,{name:"accordion",onEnter:o,onAfterEnter:l,onBeforeLeave:o},{default:se(()=>[ie(i)?(S(),I("div",jX,[de(u.$slots,"accordion-content",{},void 0,!0)])):ne("",!0)]),_:3})],2))}});const zX=Jr(HX,[["__scopeId","data-v-a70736a2"]]),UX={class:"py-4"},KX=E("p",{class:"mb-4"}," A traffic log policy lets you collect access logs for every data plane proxy in your service mesh. ",-1),WX={class:"list-disc pl-4"},YX=["href"],GX=ae({__name:"LoggingNotification",setup(t){const r=Or(),e=F(()=>r.getters["config/getKumaDocsVersion"]);return(i,n)=>(S(),I("div",UX,[KX,E("ul",WX,[E("li",null,[E("a",{href:`https://kuma.io/docs/${ie(e)}/policies/traffic-log/`,target:"_blank"}," Traffic Log policy documentation ",8,YX)])])]))}}),ZX={class:"py-4"},qX=E("p",{class:"mb-4"}," A traffic metrics policy lets you collect key data for observability of your service mesh. ",-1),QX={class:"list-disc pl-4"},XX=["href"],JX=ae({__name:"MetricsNotification",setup(t){const r=Or(),e=F(()=>r.getters["config/getKumaDocsVersion"]);return(i,n)=>(S(),I("div",ZX,[qX,E("ul",QX,[E("li",null,[E("a",{href:`https://kuma.io/docs/${ie(e)}/policies/traffic-metrics/`,target:"_blank"}," Traffic Metrics policy documentation ",8,XX)])])]))}}),eJ={class:"py-4"},tJ=E("p",{class:"mb-4"}," Mutual TLS (mTLS) for communication between all the components of your service mesh (services, control plane, data plane proxies), proxy authentication, and access control rules in Traffic Permissions policies all contribute to securing your mesh. ",-1),rJ={class:"list-disc pl-4"},iJ=["href"],nJ=["href"],sJ=["href"],aJ=ae({__name:"MtlsNotification",setup(t){const r=Or(),e=F(()=>r.getters["config/getKumaDocsVersion"]);return(i,n)=>(S(),I("div",eJ,[tJ,E("ul",rJ,[E("li",null,[E("a",{href:`https://kuma.io/docs/${ie(e)}/security/certificates/`,target:"_blank"}," Secure access across services ",8,iJ)]),E("li",null,[E("a",{href:`https://kuma.io/docs/${ie(e)}/policies/mutual-tls/`,target:"_blank"}," Mutual TLS ",8,nJ)]),E("li",null,[E("a",{href:`https://kuma.io/docs/${ie(e)}/policies/traffic-permissions/`,target:"_blank"}," Traffic Permissions policy documentation ",8,sJ)])])]))}}),oJ={class:"py-4"},lJ=E("p",{class:"mb-4"}," A traffic trace policy lets you enable tracing logs and a third-party tracing solution to send them to. ",-1),uJ={class:"list-disc pl-4"},cJ=["href"],hJ=ae({__name:"TracingNotification",setup(t){const r=Or(),e=F(()=>r.getters["config/getKumaDocsVersion"]);return(i,n)=>(S(),I("div",oJ,[lJ,E("ul",uJ,[E("li",null,[E("a",{href:`https://kuma.io/docs/${ie(e)}/policies/traffic-trace/`,target:"_blank"}," Traffic Trace policy documentation ",8,cJ)])])]))}}),dJ={class:"flex items-center"},fJ=ae({__name:"SingleMeshNotifications",setup(t){const r=Or(),e={LoggingNotification:GX,MetricsNotification:JX,MtlsNotification:aJ,TracingNotification:hJ};return(i,n)=>(S(),fe(VX,{"multiple-open":""},{default:se(()=>[(S(!0),I(Ue,null,Rt(ie(r).getters["notifications/singleMeshNotificationItems"],s=>(S(),fe(zX,{key:s.name},{"accordion-header":se(()=>[E("div",dJ,[s.isCompleted?(S(),fe(ie(Xe),{key:0,color:"var(--green-400)",icon:"check",size:"20",class:"mr-4"})):(S(),fe(ie(Xe),{key:1,icon:"warning",color:"var(--black-75)","secondary-color":"var(--yellow-300)",size:"20",class:"mr-4"})),E("strong",null,re(s.name),1)])]),"accordion-content":se(()=>[s.component?(S(),fe(xs(e[s.component]),{key:0})):(S(),fe(ie(yf),{key:1},{body:se(()=>[ue(re(s.content),1)]),_:2},1024))]),_:2},1024))),128))]),_:1}))}}),pJ=t=>(Nr("data-v-b8271fba"),t=t(),jr(),t),gJ={class:"mr-4"},vJ=pJ(()=>E("span",{class:"mr-2"},[E("strong",null,"Pro tip:"),ue(" You might want to adjust your mesh configuration ")],-1)),mJ={key:0},yJ={class:"text-xl tracking-wide"},bJ={key:1},_J={class:"text-xl tracking-wide"},wJ=ae({__name:"NotificationManager",setup(t){const r=Or(),e=j(!0),i=F(()=>r.state.selectedMesh?r.getters["notifications/meshNotificationItemMapWithAction"][r.state.selectedMesh]:!1);function n(){e.value=!1}function s(){r.dispatch("notifications/openModal")}function a(){r.dispatch("notifications/closeModal")}return(o,l)=>(S(),I("div",null,[e.value?(S(),fe(ie(Fu),{key:0,class:"mb-4",appearance:"info","dismiss-type":"icon","data-testid":"notification-info",onClosed:n},{alertMessage:se(()=>[E("div",gJ,[vJ,Z(ie(gt),{appearance:"outline","data-testid":"open-modal-button",onClick:s},{default:se(()=>[ue(" Check your mesh! ")]),_:1})])]),_:1})):ne("",!0),Z(ie(Qb),{class:"modal","is-visible":ie(r).state.notifications.isOpen,title:"Notifications","text-align":"left","data-testid":"notification-modal"},{"header-content":se(()=>[E("div",null,[E("div",null,[ie(i)?(S(),I("span",mJ,[ue(" Some of these features are not enabled for "),E("span",yJ,'"'+re(ie(r).state.selectedMesh)+'"',1),ue(" mesh. Consider implementing them. ")])):(S(),I("span",bJ,[ue(" Looks like "),E("span",_J,'"'+re(ie(r).state.selectedMesh)+'"',1),ue(" isn't missing any features. Well done! ")]))])])]),"body-content":se(()=>[Z(fJ)]),"footer-content":se(()=>[Z(ie(gt),{appearance:"outline","data-testid":"close-modal-button",onClick:a},{default:se(()=>[ue(" Close ")]),_:1})]),_:1},8,["is-visible"])]))}});const SJ=Jr(wJ,[["__scopeId","data-v-b8271fba"]]),PJ={key:0},CJ={key:1,class:"app-content-container"},OJ=ae({__name:"App",setup(t){const r=Or(),e=Bu(),i=j(r.state.globalLoading),n=F(()=>e.meta.shouldReRender?e.path:"NONE"),s=F(()=>r.state.config.status!=="OK"),a=F(()=>r.getters["onboarding/showOnboarding"]),o=F(()=>r.getters["notifications/amountOfActions"]>0),l=F(()=>typeof e.name=="string"&&["data-plane-list-view","service-list-view"].includes(e.name));Ye(()=>r.state.globalLoading,function(c){i.value=c}),Ye(()=>e.meta.title,function(c){u(c)}),Ye(()=>r.state.pageTitle,function(c){u(c)});function u(c){const h="Kuma Manager";document.title=c?`${c} | ${h}`:h}return(c,h)=>{const d=be("router-view");return i.value?(S(),fe(gZ,{key:0})):(S(),I(Ue,{key:1},[Z(oZ),ie(e).meta.onboardingProcess?(S(),I("div",PJ,[Z(d)])):(S(),I("div",CJ,[Z(FX),E("main",{class:ce(["app-main-content",{"app-main-content--wide":ie(l),"app-main-content--narrow":!ie(l)}])},[ie(s)?(S(),fe(NG,{key:0})):ne("",!0),ie(o)?(S(),fe(SJ,{key:1})):ne("",!0),ie(a)?(S(),fe(bZ,{key:2})):ne("",!0),Z(FG),(S(),fe(d,{key:ie(n)},{default:se(({Component:f})=>[Z(Ds,{mode:"out-in",name:"fade"},{default:se(()=>[(S(),I("div",{key:ie(e).name,class:"transition-root"},[(S(),fe(xs(f)))]))]),_:2},1024)]),_:1}))],2)]))],64))}}});const kJ=Jr(OJ,[["__scopeId","data-v-9c7cbb3f"]]);function EJ(t){const r=t.pathname.split("/").filter(i=>i!==""),e=r.findIndex(i=>i==="gui");return e!==-1?"/"+r.slice(0,e+1).join("/"):""}function TJ(t){return t.map(r=>({path:r.path,name:r.path,meta:{shouldReRender:!0,title:r.pluralDisplayName},props:{policyPath:r.path},component:()=>it(()=>import("./PolicyView.19af1df7.js"),["./PolicyView.19af1df7.js","./DataOverview.ae0ae0a9.js","./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js","./ErrorBlock.456ea0f6.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js","./TagList.d43e2716.js","./TagList.f4c61d4a.css","./DataOverview.71b53d66.css","./FrameSkeleton.0676501d.js","./LabelList.vue_vue_type_style_index_0_lang.96dd97a6.js","./LabelList.2c3abc04.css","./TabsWidget.a8296b4a.js","./TabsWidget.d400c435.css","./YamlView.941aa063.js","./index.58caa11d.js","./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./YamlView.fd9db0cf.css","./PolicyView.4eada83d.css"],import.meta.url)}))}function xJ(t=[]){const r=TJ(t),e=[{path:"/404",name:"not-found",alias:"/:pathMatch(.*)*",meta:{title:"Item not found"},component:()=>it(()=>import("./AppNotFoundView.0d7920fa.js"),[],import.meta.url)},{path:"/",name:"home",meta:{title:"Overview"},component:()=>it(()=>import("./MainOverviewView.5436bc63.js"),["./MainOverviewView.5436bc63.js","./MeshResources.971aa6a2.js","./MeshResources.26c91998.css","./MainOverviewView.e4354112.css"],import.meta.url)},{path:"/diagnostics",name:"diagnostics",meta:{title:"Diagnostics"},component:()=>it(()=>import("./DiagnosticsView.5c436b7f.js"),["./DiagnosticsView.5c436b7f.js","./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js"],import.meta.url)},{path:"/zones",name:"zones",meta:{title:"Zones"},component:()=>it(()=>import("./ZonesView.c73b1adb.js"),["./ZonesView.c73b1adb.js","./tableDataUtils.a0dba6c0.js","./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./DataOverview.ae0ae0a9.js","./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js","./ErrorBlock.456ea0f6.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js","./TagList.d43e2716.js","./TagList.f4c61d4a.css","./DataOverview.71b53d66.css","./FrameSkeleton.0676501d.js","./LabelList.vue_vue_type_style_index_0_lang.96dd97a6.js","./LabelList.2c3abc04.css","./MultizoneInfo.18ff38aa.js","./SubscriptionHeader.ad23ccb6.js","./SubscriptionHeader.94269e2d.css","./TabsWidget.a8296b4a.js","./TabsWidget.d400c435.css","./WarningsWidget.10850a61.js"],import.meta.url)},{path:"/zone-ingresses",name:"zoneingresses",meta:{title:"Zone ingresses"},component:()=>it(()=>import("./ZoneIngresses.d84d9248.js"),["./ZoneIngresses.d84d9248.js","./tableDataUtils.a0dba6c0.js","./DataOverview.ae0ae0a9.js","./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js","./ErrorBlock.456ea0f6.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js","./TagList.d43e2716.js","./TagList.f4c61d4a.css","./DataOverview.71b53d66.css","./EnvoyData.988dd7af.js","./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./EnvoyData.409db62c.css","./FrameSkeleton.0676501d.js","./LabelList.vue_vue_type_style_index_0_lang.96dd97a6.js","./LabelList.2c3abc04.css","./MultizoneInfo.18ff38aa.js","./SubscriptionHeader.ad23ccb6.js","./SubscriptionHeader.94269e2d.css","./TabsWidget.a8296b4a.js","./TabsWidget.d400c435.css"],import.meta.url)},{path:"/zoneegresses",name:"zoneegresses",meta:{title:"Zone egresses"},component:()=>it(()=>import("./ZoneEgresses.302c70f7.js"),["./ZoneEgresses.302c70f7.js","./tableDataUtils.a0dba6c0.js","./DataOverview.ae0ae0a9.js","./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js","./ErrorBlock.456ea0f6.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js","./TagList.d43e2716.js","./TagList.f4c61d4a.css","./DataOverview.71b53d66.css","./EnvoyData.988dd7af.js","./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./EnvoyData.409db62c.css","./FrameSkeleton.0676501d.js","./LabelList.vue_vue_type_style_index_0_lang.96dd97a6.js","./LabelList.2c3abc04.css","./SubscriptionHeader.ad23ccb6.js","./SubscriptionHeader.94269e2d.css","./TabsWidget.a8296b4a.js","./TabsWidget.d400c435.css"],import.meta.url)},{path:"/mesh/:mesh",children:[{path:"",name:"mesh-detail-view",meta:{title:"Mesh overview"},component:()=>it(()=>import("./MeshOverviewView.b2cd5cfc.js"),["./MeshOverviewView.b2cd5cfc.js","./MeshResources.971aa6a2.js","./MeshResources.26c91998.css","./LabelList.vue_vue_type_style_index_0_lang.96dd97a6.js","./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js","./ErrorBlock.456ea0f6.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js","./LabelList.2c3abc04.css","./TabsWidget.a8296b4a.js","./TabsWidget.d400c435.css","./YamlView.941aa063.js","./index.58caa11d.js","./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./YamlView.fd9db0cf.css","./MeshOverviewView.7bd692a4.css"],import.meta.url)},{path:"data-planes",children:[{path:"",name:"data-plane-list-view",meta:{title:"Data plane proxies"},props(s){var l;const a=Array.isArray(s.query.offset)?s.query.offset:[s.query.offset],o=parseInt((l=a[a.length-1])!=null?l:"0")||0;return{name:s.query.name,offset:o}},component:()=>it(()=>import("./DataPlaneListView.8d04d9e5.js"),["./DataPlaneListView.8d04d9e5.js","./ContentWrapper.1e8852e7.js","./ContentWrapper.f6cfef14.css","./DataOverview.ae0ae0a9.js","./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js","./ErrorBlock.456ea0f6.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js","./TagList.d43e2716.js","./TagList.f4c61d4a.css","./DataOverview.71b53d66.css","./YamlView.941aa063.js","./index.58caa11d.js","./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./YamlView.fd9db0cf.css","./DataPlaneListView.0c040027.css"],import.meta.url)},{path:":dataPlane",name:"data-plane-detail-view",meta:{title:"Data plane proxy",parent:"data-plane-list-view",breadcrumbTitleParam:"dataPlane"},component:()=>it(()=>import("./DataPlaneDetailView.9493c893.js"),["./DataPlaneDetailView.9493c893.js","./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js","./ErrorBlock.456ea0f6.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js","./EnvoyData.988dd7af.js","./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./EnvoyData.409db62c.css","./LabelList.vue_vue_type_style_index_0_lang.96dd97a6.js","./LabelList.2c3abc04.css","./TabsWidget.a8296b4a.js","./TabsWidget.d400c435.css","./YamlView.941aa063.js","./index.58caa11d.js","./YamlView.fd9db0cf.css","./SubscriptionHeader.ad23ccb6.js","./SubscriptionHeader.94269e2d.css","./WarningsWidget.10850a61.js","./DataPlaneDetailView.1a8e7a07.css"],import.meta.url)}]},{path:"services",children:[{path:"",name:"service-list-view",meta:{title:"Services"},component:()=>it(()=>import("./ServiceListView.4c5935ab.js"),["./ServiceListView.4c5935ab.js","./ContentWrapper.1e8852e7.js","./ContentWrapper.f6cfef14.css","./DataOverview.ae0ae0a9.js","./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js","./ErrorBlock.456ea0f6.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js","./TagList.d43e2716.js","./TagList.f4c61d4a.css","./DataOverview.71b53d66.css","./ServiceDetails.fa93c8a9.js","./YamlView.941aa063.js","./index.58caa11d.js","./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./YamlView.fd9db0cf.css","./ServiceDetails.137fa0b9.css"],import.meta.url)},{path:":service",name:"service-insight-detail-view",meta:{title:"Internal service",parent:"service-list-view",breadcrumbTitleParam:"service"},component:()=>it(()=>import("./ServiceInsightDetailView.772866c6.js"),["./ServiceInsightDetailView.772866c6.js","./ServiceDetails.fa93c8a9.js","./TagList.d43e2716.js","./TagList.f4c61d4a.css","./YamlView.941aa063.js","./index.58caa11d.js","./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js","./ErrorBlock.456ea0f6.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js","./YamlView.fd9db0cf.css","./ServiceDetails.137fa0b9.css"],import.meta.url)}]},{path:"external-services",children:[{path:":service",name:"external-service-detail-view",meta:{title:"External service",parent:"service-list-view",breadcrumbTitleParam:"service"},component:()=>it(()=>import("./ExternalServiceDetailView.0b36e0b4.js"),["./ExternalServiceDetailView.0b36e0b4.js","./ServiceDetails.fa93c8a9.js","./TagList.d43e2716.js","./TagList.f4c61d4a.css","./YamlView.941aa063.js","./index.58caa11d.js","./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./EmptyBlock.vue_vue_type_script_setup_true_lang.e51bb728.js","./ErrorBlock.456ea0f6.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js","./YamlView.fd9db0cf.css","./ServiceDetails.137fa0b9.css"],import.meta.url)}]},...r]},{path:"/onboarding",redirect:{name:"onboarding-welcome"},component:()=>it(()=>import("./ShellEmpty.37f00567.js"),[],import.meta.url),children:[{path:"welcome",name:"onboarding-welcome",meta:{title:"Welcome to Kuma!",onboardingProcess:!0},component:()=>it(()=>import("./WelcomeView.cce955b6.js"),["./WelcomeView.cce955b6.js","./OnboardingNavigation.2f2b8505.js","./OnboardingNavigation.a88835b3.css","./WelcomeView.1b7285c9.css"],import.meta.url)},{path:"deployment-types",name:"onboarding-deployment-types",meta:{title:"Deployment Types",onboardingProcess:!0},component:()=>it(()=>import("./DeploymentTypes.4ba2eee0.js"),["./DeploymentTypes.4ba2eee0.js","./OnboardingNavigation.2f2b8505.js","./OnboardingNavigation.a88835b3.css","./OnboardingPage.545eed79.js","./OnboardingPage.a8793770.css","./DeploymentTypes.a5506858.css"],import.meta.url)},{path:"configuration-types",name:"onboarding-configuration-types",meta:{title:"Configuration Types",onboardingProcess:!0},component:()=>it(()=>import("./ConfigurationTypes.5050c194.js"),["./ConfigurationTypes.5050c194.js","./OnboardingNavigation.2f2b8505.js","./OnboardingNavigation.a88835b3.css","./OnboardingPage.545eed79.js","./OnboardingPage.a8793770.css","./ConfigurationTypes.3e295b7d.css"],import.meta.url)},{path:"multi-zone",name:"onboarding-multi-zone",meta:{title:"Multizone",onboardingProcess:!0},component:()=>it(()=>import("./MultiZoneView.7fb48bf9.js"),["./MultiZoneView.7fb48bf9.js","./LoadingBox.3ecf3ffd.js","./LoadingBox.c2da9e95.css","./OnboardingNavigation.2f2b8505.js","./OnboardingNavigation.a88835b3.css","./OnboardingPage.545eed79.js","./OnboardingPage.a8793770.css"],import.meta.url)},{path:"create-mesh",name:"onboarding-create-mesh",meta:{title:"Create the Mesh",onboardingProcess:!0},component:()=>it(()=>import("./CreateMesh.8a2971c1.js"),["./CreateMesh.8a2971c1.js","./OnboardingNavigation.2f2b8505.js","./OnboardingNavigation.a88835b3.css","./OnboardingPage.545eed79.js","./OnboardingPage.a8793770.css"],import.meta.url)},{path:"add-services",name:"onboarding-add-services",meta:{title:"Add new services",onboardingProcess:!0},component:()=>it(()=>import("./AddNewServices.94ef0507.js"),["./AddNewServices.94ef0507.js","./OnboardingNavigation.2f2b8505.js","./OnboardingNavigation.a88835b3.css","./OnboardingPage.545eed79.js","./OnboardingPage.a8793770.css","./AddNewServices.1b605ca2.css"],import.meta.url)},{path:"add-services-code",name:"onboarding-add-services-code",meta:{title:"Add new services",onboardingProcess:!0},component:()=>it(()=>import("./AddNewServicesCode.96ae6653.js"),["./AddNewServicesCode.96ae6653.js","./index.58caa11d.js","./kumaDpServerUrl.8cd5871a.js","./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./LoadingBox.3ecf3ffd.js","./LoadingBox.c2da9e95.css","./OnboardingNavigation.2f2b8505.js","./OnboardingNavigation.a88835b3.css","./OnboardingPage.545eed79.js","./OnboardingPage.a8793770.css"],import.meta.url)},{path:"dataplanes-overview",name:"onboarding-dataplanes-overview",meta:{title:"Data plane overview",onboardingProcess:!0},component:()=>it(()=>import("./DataplanesOverview.02c2b50b.js"),["./DataplanesOverview.02c2b50b.js","./LoadingBox.3ecf3ffd.js","./LoadingBox.c2da9e95.css","./OnboardingNavigation.2f2b8505.js","./OnboardingNavigation.a88835b3.css","./OnboardingPage.545eed79.js","./OnboardingPage.a8793770.css","./DataplanesOverview.0c89c176.css"],import.meta.url)},{path:"completed",name:"onboarding-completed",meta:{title:"Completed",onboardingProcess:!0},component:()=>it(()=>import("./CompletedView.11be9340.js"),["./CompletedView.11be9340.js","./OnboardingNavigation.2f2b8505.js","./OnboardingNavigation.a88835b3.css","./OnboardingPage.545eed79.js","./OnboardingPage.a8793770.css"],import.meta.url)}]},{path:"/wizard",name:"wizard",children:[{path:"mesh",name:"create-mesh",meta:{title:"Create a new mesh",wizardProcess:!0},component:()=>it(()=>import("./Mesh.4eb48726.js"),["./Mesh.4eb48726.js","./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./formatForCLI.199be697.js","./index.58caa11d.js","./EntityScanner.7ca94b51.js","./EntityScanner.ea7ff2ec.css","./TabsWidget.a8296b4a.js","./ErrorBlock.456ea0f6.js","./ErrorBlock.c91d77b3.css","./LoadingBlock.vue_vue_type_script_setup_true_lang.42f0a7e9.js","./TabsWidget.d400c435.css"],import.meta.url)},{path:"kubernetes-dataplane",name:"kubernetes-dataplane",meta:{title:"Create a new data plane proxy on Kubernetes",wizardProcess:!0},component:()=>it(()=>import("./DataplaneKubernetes.50f69123.js"),["./DataplaneKubernetes.50f69123.js","./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./formatForCLI.199be697.js","./index.58caa11d.js","./EntityScanner.7ca94b51.js","./EntityScanner.ea7ff2ec.css","./EnvironmentSwitcher.89e136d8.js","./DataplaneKubernetes.45f18fcf.css"],import.meta.url)},{path:"universal-dataplane",name:"universal-dataplane",meta:{title:"Create a new data plane proxy on Universal",wizardProcess:!0},component:()=>it(()=>import("./DataplaneUniversal.6785845d.js"),["./DataplaneUniversal.6785845d.js","./index.58caa11d.js","./kumaDpServerUrl.8cd5871a.js","./CodeBlock.vue_vue_type_style_index_0_lang.ac3c8119.js","./_commonjsHelpers.f037b798.js","./CodeBlock.ad8115e5.css","./EntityScanner.7ca94b51.js","./EntityScanner.ea7ff2ec.css","./EnvironmentSwitcher.89e136d8.js"],import.meta.url)}]}],i=EJ(window.location),n=p8({history:DS(i),routes:e});return n.beforeEach(DJ),n.beforeEach(IJ),n.beforeEach(MJ),n}const DJ=function(t,r,e){t.fullPath.startsWith("/#/")?e(t.fullPath.substring(2)):e()},IJ=function(t,r,e){t.params.mesh&&t.params.mesh!==Qi.state.selectedMesh&&Qi.dispatch("updateSelectedMesh",t.params.mesh),e()},MJ=function(t,r,e){var a;const i=Qi.state.onboarding.isCompleted,n=t.meta.onboardingProcess,s=Qi.getters["onboarding/showOnboarding"];i&&n&&!s?e({name:"home"}):!i&&!n&&s?e({name:(a=Ii.get("onboardingStep"))!=null?a:"onboarding-welcome"}):e()};async function AJ(){(await yt.getConfig()).reports.enabled&&rp.init({clientToken:"pub94a0029259f79f29a5d881a06d1e9653",site:"datadoghq.com",forwardErrorsToLogs:!0,service:"Kuma",sampleRate:100,env:"production"})}AJ();iS(nS);async function $J(){if(document.title="Kuma Manager",{VITE_DATA_TIMEOUT:"500",VITE_INSTALL_URL:"https://kuma.io/install/latest/",VITE_VERSION_URL:"https://kuma.io/latest_version/",VITE_NAMESPACE:"Kuma",VITE_KUMA_API_SERVER_URL:"http://localhost:5681/dev/",VITE_KUMA_DP_SERVER_URL:"https://localhost:5678/",VITE_AMCHARTS_LICENSE:"",VITE_UTM:"?utm_source=Kuma&utm_medium=Kuma-GUI",BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0}.VITE_MOCK_API_ENABLED==="true"){const{setupMockWorker:e}=await it(()=>import("./setupMockWorker.776bb472.js"),["./setupMockWorker.776bb472.js","./_commonjsHelpers.f037b798.js"],import.meta.url);e(yt.url)}const t=lw(kJ);t.use(Qi,s1),await Promise.all([Qi.dispatch("bootstrap"),Qi.dispatch("fetchPolicies")]);const r=await xJ(Qi.state.policies);t.use(r),t.mount("#app")}$J();export{le as $,ce as A,Nr as B,jr as C,Jr as D,rp as E,Ue as F,TX as G,RJ as H,de as I,LJ as J,Xe as K,Kee as L,yf as M,Wee as N,bf as O,Cee as P,z8 as Q,G7 as R,Ii as S,cr as T,Hee as U,Yr as V,ee as W,Kt as X,_t as Y,He as Z,it as _,Z as a,vc as a$,xt as a0,Rn as a1,k as a2,I3 as a3,ol as a4,hn as a5,cl as a6,An as a7,It as a8,O as a9,pt as aA,Hw as aB,li as aC,kt as aD,J3 as aE,Be as aF,gee as aG,$e as aH,tee as aI,Mt as aJ,Ne as aK,Qa as aL,a4 as aM,$w as aN,Nl as aO,Fd as aP,YJ as aQ,eee as aR,Rl as aS,me as aT,ny as aU,dee as aV,vee as aW,aee as aX,Lr as aY,KJ as aZ,HJ as a_,Ve as aa,tr as ab,M3 as ac,Zd as ad,D3 as ae,lr as af,Ae as ag,xi as ah,Iu as ai,iee as aj,ct as ak,x as al,Py as am,st as an,jt as ao,lt as ap,$t as aq,Vl as ar,vt as as,Oy as at,S4 as au,Le as av,oee as aw,r4 as ax,At as ay,ye as az,ue as b,Ca as b$,Yp as b0,s3 as b1,l3 as b2,uee as b3,wh as b4,vs as b5,lee as b6,Ud as b7,Q0 as b8,o3 as b9,F3 as bA,wr as bB,ns as bC,QJ as bD,nee as bE,ga as bF,Dn as bG,Ll as bH,W3 as bI,Mu as bJ,Gp as bK,F0 as bL,K3 as bM,_4 as bN,ql as bO,bee as bP,Ew as bQ,Dw as bR,ree as bS,qd as bT,Bi as bU,jl as bV,xy as bW,_h as bX,Bh as bY,$0 as bZ,zJ as b_,Md as ba,wc as bb,see as bc,cw as bd,q0 as be,ut as bf,Rh as bg,Y3 as bh,tn as bi,N0 as bj,gw as bk,o4 as bl,ig as bm,WJ as bn,Jn as bo,Vd as bp,Fh as bq,fee as br,pee as bs,Yt as bt,ul as bu,UJ as bv,wy as bw,Gd as bx,nt as by,Qe as bz,fe as c,ui as c0,JJ as c1,cee as c2,qJ as c3,yee as c4,L3 as c5,XJ as c6,mee as c7,U3 as c8,ky as c9,$ee as cA,kee as cB,Bee as cC,jJ as cD,zee as cE,jW as cF,Fee as cG,Ree as cH,V8 as cI,Oee as cJ,Bs as cK,Lee as cL,jee as cM,Ds as cN,FJ as cO,Pee as cP,Uee as cQ,wee as cR,Jl as cS,Iee as cT,NJ as cU,Kp as cV,Th as ca,Re as cb,pc as cc,hee as cd,GJ as ce,ZJ as cf,tf as cg,fo as ch,_ee as ci,Et as cj,$8 as ck,zX as cl,VX as cm,See as cn,R8 as co,jo as cp,Mee as cq,Nee as cr,F8 as cs,Dee as ct,Eee as cu,Vee as cv,N8 as cw,j8 as cx,xs as cy,Aee as cz,ae as d,gt as e,F as f,Ye as g,Bt as h,be as i,I as j,yt as k,E as l,_p as m,Rt as n,S as o,Bu as p,Or as q,j as r,Tee as s,re as t,ie as u,VJ as v,se as w,xee as x,Fu as y,ne as z}; diff --git a/app/kuma-ui/pkg/resources/data/assets/index.a46d24ef.css b/app/kuma-ui/pkg/resources/data/assets/index.a46d24ef.css new file mode 100644 index 000000000000..62c2384fb8ef --- /dev/null +++ b/app/kuma-ui/pkg/resources/data/assets/index.a46d24ef.css @@ -0,0 +1 @@ +@charset "UTF-8";.krumbs{font-size:var(--type-lg)}.krumbs .krumb-item a{color:#000!important;text-decoration:none;font-weight:400}@media (min-width: 701px){.krumbs{font-size:var(--type-xl)}}.notification-icon[data-v-c4951eaf]{--amount-offset: 8px;position:relative;padding-right:var(--amount-offset);display:inline-flex;align-items:center}.notification-icon__amount[data-v-c4951eaf]{position:absolute;top:calc(-1 * var(--amount-offset));right:0;height:1.25rem;width:1.25rem;display:flex;align-items:center;justify-content:center;border:1px solid var(--white);border-radius:50%;background-color:var(--yellow-300)}.upgrade-check .k-alert.k-alert[data-v-144c475e]{padding:var(--spacing-xxs) var(--spacing-xs)}.alert-content[data-v-144c475e]{display:flex;align-items:center;font-size:var(--type-sm)}.alert-content>*[data-v-144c475e]:first-of-type{margin-right:var(--spacing-sm)}.alert-content .k-button[data-v-144c475e]{text-decoration:none}.alert-content .k-button[data-v-144c475e]:after{display:none}.warning-button[data-v-144c475e]{--KButtonPrimaryBase: #f2a230;--KButtonPrimaryHover: #f2a230;--KButtonPrimaryActive: #f2a230}.app-header[data-v-25d0cc9a]{position:fixed;z-index:3;top:0;left:0;width:100%;height:var(--topbar-height);display:flex;justify-content:space-between;align-items:center;padding-right:var(--spacing-lg);padding-left:var(--spacing-lg);border-bottom:1px solid var(--black-10);background-color:var(--white)}.logo-image[data-v-25d0cc9a]{max-height:36px}.gh-star[data-v-25d0cc9a]{height:20px}.horizontal-list[data-v-25d0cc9a]{display:flex;align-items:center;gap:var(--spacing-lg)}.app-status--desktop[data-v-25d0cc9a]{color:var(--gray-3);display:none}@media screen and (min-width: 900px){.app-status--desktop[data-v-25d0cc9a]{display:block}}.app-status--mobile[data-v-25d0cc9a]{display:block}@media screen and (min-width: 900px){.app-status--mobile[data-v-25d0cc9a]{display:none}}@media screen and (max-width: 600px){.upgrade-check-wrapper[data-v-25d0cc9a]{display:none}}.full-screen[data-v-28cdaab8]{background:var(--white);position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:50000;display:flex;align-items:center;justify-content:center}.loading-container[data-v-28cdaab8]{display:flex;max-width:350px;align-items:center;flex-direction:column}.loading-container .progress[data-v-28cdaab8]{margin-top:1rem;width:130%;background-color:#e6e6e6}.loading-container .progress .progress-bar[data-v-28cdaab8]{height:5px;background-color:var(--LoaderProgressBarBG)}.onboarding-check[data-v-c21dc5a7]{margin:0 0 var(--spacing-xl) 0}@media screen and (min-width: 700px){.alert-content[data-v-c21dc5a7]{display:flex;align-items:center}.alert-content>*[data-v-c21dc5a7]:first-of-type{margin-right:var(--spacing-md)}.alert-content>*[data-v-c21dc5a7]:last-of-type{min-width:150px}}@media screen and (max-width: 699px){.alert-content>*[data-v-c21dc5a7]:last-of-type{margin-top:10px}}.action-button.action-button[data-v-c21dc5a7]{text-decoration:none}.mesh-selector-container[data-v-4a31953a]{margin-left:var(--spacing-xs);margin-top:var(--spacing-xxs)}.mesh-selector[data-v-4a31953a]{display:block;width:100%;color:var(--MeshSelectorInputTextColor);border-color:var(--MeshSelectorInputBorderColor);outline:none}.mesh-selector[data-v-4a31953a]:focus,.mesh-selector[data-v-4a31953a]:active{border-color:var(--MeshSelectorInputBorderColorFocus)}.menu-title[data-v-4a31953a]{display:block;font-size:var(--type-sm);font-weight:500;color:var(--MeshSelectorTitleColor);margin:0 0 5px}.nav-item[data-v-3fcc0f24]{position:relative;margin-left:var(--spacing-xs)}.nav-item[data-v-3fcc0f24]:not(:first-child){margin-top:var(--spacing-xxs)}.nav-item--is-primary-category[data-v-3fcc0f24]{font-size:var(--type-md);text-transform:uppercase}.nav-item--is-primary-category~.nav-item--is-primary-category[data-v-3fcc0f24]{margin-top:var(--spacing-md)}.nav-item--is-secondary-category[data-v-3fcc0f24]{margin-left:var(--spacing-md)}.nav-item--has-bottom-offset[data-v-3fcc0f24]{margin-bottom:var(--spacing-xl);padding-bottom:var(--spacing-xs);border-bottom:1px solid var(--grey-300)}.nav-link[data-v-3fcc0f24]{display:flex;width:100%;align-items:center;padding:var(--spacing-xs) var(--spacing-md);border-radius:5px;text-decoration:none;color:currentColor}.nav-link[data-v-3fcc0f24]:hover,.nav-link--is-active[data-v-3fcc0f24]{background-color:var(--grey-300)}.nav-link--is-active[data-v-3fcc0f24]{font-weight:500}.nav-category[data-v-3fcc0f24]{padding-top:var(--spacing-xs);padding-bottom:var(--spacing-xs);font-weight:500}.amount[data-v-3fcc0f24]{position:absolute;top:0;right:8px;bottom:0;width:1.5rem;height:1.25rem;margin:auto;display:flex;justify-content:center;align-items:center;border:1px solid var(--white);border-radius:.25rem;font-size:.75rem;font-weight:400;background-color:var(--purple-100)}.amount--empty[data-v-3fcc0f24]{background-color:var(--grey-200)}.app-sidebar-wrapper[data-v-8d6a9406]{position:static}.app-sidebar[data-v-8d6a9406]{width:var(--subnavWidth);position:fixed;z-index:10;top:var(--topbar-height);bottom:0;left:0;overflow-y:auto;padding-top:var(--spacing-xs);padding-right:var(--spacing-xs);border-right:1px solid var(--black-10);background-color:var(--white)}.accordion-item[data-v-a70736a2]:last-child{border-bottom:none}.accordion-enter-active[data-v-a70736a2],.accordion-leave-active[data-v-a70736a2]{will-change:height,opacity;transition:height .3s ease,opacity .3s ease;overflow:hidden}.accordion-enter[data-v-a70736a2],.accordion-leave-to[data-v-a70736a2]{height:0!important;opacity:0}.active .accordion-item-header[data-v-a70736a2]:after{margin-left:var(--spacing-sm);transform:rotate(-180deg) translateY(-50%);top:calc(50% - 4px)}.accordion-item-header[data-v-a70736a2]{position:relative;display:block;width:100%;cursor:pointer;padding:.5rem 1rem;text-align:left}.accordion-item-header[data-v-a70736a2]:after{position:absolute;right:4px;top:50%;transform:translateY(-50%);content:"";border-top:.325em solid;border-right:.325em solid transparent;border-left:.325em solid transparent;transition:.25s ease}.modal[data-v-b8271fba]{margin-left:1rem;margin-right:1rem;--KModalMaxWidth: 800px }.app-content-container[data-v-9c7cbb3f]{display:grid;grid-template-columns:var(--subnavWidth) 1fr}.app-main-content[data-v-9c7cbb3f]{padding:var(--spacing-lg)}.app-main-content--narrow[data-v-9c7cbb3f]{width:100%;max-width:var(--global-content-max-width);margin-right:auto;margin-left:auto}.kong-icon[data-v-71cfcfc4]{display:inline-block}.kong-icon .slot-content[data-v-71cfcfc4],.kong-icon .svg-with-slot-is-hidden[data-v-71cfcfc4]{display:none!important;visibility:hidden!important}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.kong-icon.kong-icon-spinner svg g{transform-box:fill-box;transform-origin:50% 50%;animation:spin 1.2s infinite linear}.k-button[data-v-6f773baa]{position:relative;display:inline-flex;align-items:center;gap:8px;gap:var(--spacing-xs, 8px);padding:12px 24px;padding:var(--KButtonPaddingY, var(--spacing-sm, 12px)) var(--KButtonPaddingX, var(--spacing-lg, 24px));font-family:sans-serif;font-family:var(--font-family-sans, sans-serif);font-size:16px;font-size:var(--KButtonFontSize, var(--type-md, 16px));font-weight:600;line-height:1.25;text-decoration:none;vertical-align:middle;color:#000000b3;color:var(--black-70, rgba(0, 0, 0, .7));border:1px solid transparent;border-radius:3px;border-radius:var(--KButtonRadius, 3px);transition:all .2s ease-in-out;cursor:pointer;-webkit-tap-highlight-color:rgba(255,255,255,0)}.k-button[data-v-6f773baa]:disabled,.k-button[disabled][data-v-6f773baa]{cursor:not-allowed}.k-button[data-v-6f773baa]:disabled:hover,.k-button[disabled][data-v-6f773baa]:hover{text-decoration:none!important}.k-button:disabled .kong-icon[data-v-6f773baa],.k-button[data-v-6f773baa]:disabled .kong-icon,.k-button[disabled] .kong-icon[data-v-6f773baa],.k-button[disabled][data-v-6f773baa] .kong-icon{pointer-events:none}.k-button[disabled][data-v-6f773baa]:not(:disabled){pointer-events:none}.k-button[data-v-6f773baa]:focus{outline:none}.k-button[data-v-6f773baa]>.kong-icon{display:inline-flex;box-sizing:unset}.k-button.icon-btn[data-v-6f773baa]{height:38px;justify-content:center}.k-button.small[data-v-6f773baa]{padding:8px 16px;padding:var(--spacing-xs, 8px) var(--spacing-md, 16px);font-size:13px;font-size:var(--KButtonFontSize, 13px);line-height:13px}.k-button.medium[data-v-6f773baa]{padding:12px 24px;padding:var(--spacing-sm, 12px) var(--spacing-lg, 24px);font-size:16px;font-size:var(--KButtonFontSize, var(--type-md, 16px));line-height:16px;line-height:var(--type-md, 16px)}.k-button.large[data-v-6f773baa]{padding:16px 32px;padding:var(--spacing-md, 16px) var(--spacing-xl, 32px);font-size:16px;font-size:var(--KButtonFontSize, var(--type-md, 16px));line-height:16px;line-height:var(--type-md, 16px)}.k-button[data-v-6f773baa] .caret{margin-left:15px;padding:0;display:inline-block;transition:.25s ease}.k-button.is-active[data-v-6f773baa] .caret{transform:rotate(-180deg);transition:.25s ease}.k-button.secondary[data-v-6f773baa]{color:#003694;color:var(--KButtonSecondaryColor, var(--blue-600, #003694));background-color:#bdd3f9;background-color:var(--KButtonSecondaryBase, var(--blue-200, #bdd3f9))}.k-button.secondary[data-v-6f773baa]:hover:not(:disabled){background-color:var(--blue-300);background-color:var(--KButtonSecondaryHover, var(--blue-300))}.k-button.secondary[data-v-6f773baa]:active{background-color:#8ab3fa;background-color:var(--KButtonSecondaryActive, var(--blue-300, #8ab3fa))}.k-button.secondary[data-v-6f773baa]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #8ab3fa;box-shadow:0 0 0 2px var(--white, #ffffff),0 0 0 4px var(--KButtonSecondaryBase, var(--blue-300, #8ab3fa))}.k-button.secondary[data-v-6f773baa]:disabled,.k-button.secondary[disabled][data-v-6f773baa]{background-color:var(--grey-300)!important;color:var(--grey-400)!important}.k-button.primary[data-v-6f773baa]{color:#fff;color:var(--white, #fff);background-color:#1155cb;background-color:var(--KButtonPrimaryBase, var(--blue-500, #1155cb))}.k-button.primary[data-v-6f773baa]:hover:not(:disabled){background-color:var(--blue-600);background-color:var(--KButtonPrimaryHover, var(--blue-600))}.k-button.primary[data-v-6f773baa]:active{background-color:#003694;background-color:var(--KButtonPrimaryActive, var(--blue-600, #003694))}.k-button.primary[data-v-6f773baa]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #1155cb;box-shadow:0 0 0 2px var(--white, #ffffff),0 0 0 4px var(--KButtonPrimaryBase, var(--blue-500, #1155cb))}.k-button.primary[data-v-6f773baa]:disabled,.k-button.primary[disabled][data-v-6f773baa]{background-color:var(--grey-300)!important;color:var(--grey-400)!important}.k-button.danger[data-v-6f773baa]{color:#fff;color:var(--white, #fff);background-color:#d44324;background-color:var(--KButtonDangerBase, var(--red-500, #d44324))}.k-button.danger[data-v-6f773baa]:hover:not(:disabled){background-color:#922021d9;background-color:var(--KButtonDangerHover, rgba(146, 32, 33, .85))}.k-button.danger[data-v-6f773baa]:active{background-color:#922021;background-color:var(--KButtonDangerActive, var(--red-700, #922021))}.k-button.danger[data-v-6f773baa]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #922021;box-shadow:0 0 0 2px var(--white, #ffffff),0 0 0 4px var(--KButtonDangerBase, var(--red-700, #922021))}.k-button.danger[data-v-6f773baa]:disabled,.k-button.danger[disabled][data-v-6f773baa]{background-color:var(--grey-300)!important;color:var(--grey-400)!important}.k-button.creation[data-v-6f773baa]{color:#fff;color:var(--white, #fff);background-color:#07a88d;background-color:var(--KButtonCreationBase, var(--green-500, #07a88d))}.k-button.creation[data-v-6f773baa]:hover:not(:disabled){background-color:#008871d9;background-color:var(--KButtonCreationHover, rgba(0, 136, 113, .85))}.k-button.creation[data-v-6f773baa]:active{background-color:#008871;background-color:var(--KButtonCreationActive, var(--green-600, #008871))}.k-button.creation[data-v-6f773baa]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #008871;box-shadow:0 0 0 2px var(--white, #ffffff),0 0 0 4px var(--KButtonCreationBase, var(--green-600, #008871))}.k-button.creation[data-v-6f773baa]:disabled,.k-button.creation[disabled][data-v-6f773baa]{background-color:var(--grey-300)!important;color:var(--grey-400)!important}.k-button.outline[data-v-6f773baa]{color:#1155cb;color:var(--KButtonOutlineColor, var(--blue-500, #1155cb));border-color:#1155cb66;border-color:var(--KButtonOutlineBorder, rgba(17, 85, 203, .4));background-color:#fff;background-color:var(--white, #ffffff);outline-style:inherit}.k-button.outline[data-v-6f773baa]:hover:not(:disabled){border-color:#1155cb;border-color:var(--KButtonOutlineHoverBorder, #1155cb)}.k-button.outline[data-v-6f773baa]:active{border-color:#1155cb;border-color:var(--KButtonOutlineActiveBorder, #1155cb);background-color:#f2f6fe;background-color:var(--KButtonOutlineActive, var(--blue-100, #f2f6fe))}.k-button.outline[data-v-6f773baa]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #1155cb;box-shadow:0 0 0 2px var(--white, #ffffff),0 0 0 4px var(--KButtonOutlineBorder, var(--blue-500, #1155cb))}.k-button.outline[data-v-6f773baa]:disabled,.k-button.outline[disabled][data-v-6f773baa]{border-color:var(--grey-400)!important;color:var(--grey-400)!important}.k-button.btn-link[data-v-6f773baa]{color:#1155cb;color:var(--KButtonBtnLink, var(--blue-500, #1155cb));background-color:transparent}.k-button.btn-link[data-v-6f773baa]:hover:not(:disabled){text-decoration:underline}.k-button.btn-link[data-v-6f773baa]:focus{box-shadow:0 0 #fff,0 0 0 2px #1155cb;box-shadow:0 0 0 0 var(--white, #ffffff),0 0 0 2px var(--KButtonOutlineBorder, var(--blue-500, #1155cb))}.k-button.btn-link[data-v-6f773baa]:disabled,.k-button.btn-link[disabled][data-v-6f773baa]{color:var(--grey-400)!important}.k-button.btn-link-danger[data-v-6f773baa]{color:#d44324;color:var(--KButtonLinkDanger, var(--red-500, #d44324));background-color:transparent}.k-button.btn-link-danger[data-v-6f773baa]:hover:not(:disabled){text-decoration:underline}.k-button.btn-link-danger[data-v-6f773baa]:focus{box-shadow:0 0 #fff,0 0 0 2px #922021;box-shadow:0 0 0 0 var(--white, #ffffff),0 0 0 2px var(--red-700, #922021)}.k-button.rounded[data-v-6f773baa]{border-radius:100px}.k-alert[data-v-1910ef98]{position:relative;display:flex;padding:14px;border-radius:4px;overflow-wrap:anywhere;word-break:break-word}.k-alert a[data-v-1910ef98]{text-decoration:underline;color:#003694;color:var(--blue-600, #003694)}.k-alert>div .k-alert-msg[data-v-1910ef98]{font-weight:400;font-size:16px;font-size:var(--type-md, 16px);line-height:24px;padding:2px 0;margin-left:2px}.k-alert>div .k-alert-msg.k-alert-subtext[data-v-1910ef98]{font-size:14px;font-size:var(--type-sm, 14px)}.k-alert>div .k-alert-msg p[data-v-1910ef98]:last-of-type{margin-bottom:0}.k-alert .k-alert-description-text[data-v-1910ef98]{display:block;padding-top:var(--spacing-xxs);font-weight:400;font-size:13px;line-height:24px;color:var(--grey-500)}.k-alert .k-alert-action[data-v-1910ef98]{display:inline-flex;position:relative;margin-top:auto;margin-bottom:auto;margin-left:auto;height:100%}.k-alert .close[data-v-1910ef98]{position:absolute;top:0;right:var(--spacing-xs);bottom:0;border:0;background-color:transparent;transition:all .2s ease;cursor:pointer;opacity:.5}.k-alert .close[data-v-1910ef98]:hover,.k-alert .close[data-v-1910ef98]:active{text-decoration:none;opacity:1}.k-alert.small[data-v-1910ef98]{padding:12px 8px;padding:var(--spacing-sm, 12px) var(--spacing-xs, 8px)}.k-alert.small>div .k-alert-msg[data-v-1910ef98]{font-size:14px;font-size:var(--type-sm, 14px)}.k-alert.large[data-v-1910ef98]{min-height:80px;border-radius:2px}.k-alert.large .k-alert-icon-container-large[data-v-1910ef98]{padding:var(--spacing-lg) 0}.k-alert.is-fixed[data-v-1910ef98]{position:fixed;top:0;left:0;right:0}.k-alert.is-bordered[data-v-1910ef98]{border:1px solid}.k-alert.is-centered[data-v-1910ef98]{justify-content:center}.k-alert.has-left-border[data-v-1910ef98]{border-left:3px solid;border-radius:0}.k-alert.has-right-border[data-v-1910ef98]{border-right:3px solid;border-radius:0}.k-alert.has-top-border[data-v-1910ef98]{border-top:3px solid;border-radius:0}.k-alert.has-bottom-border[data-v-1910ef98]{border-bottom:3px solid;border-radius:0}.k-alert.info[data-v-1910ef98]{color:#003694;color:var(--KAlertInfoColor, var(--blue-600, #003694));border-color:#8ab3fa;border-color:var(--KAlertInfoBorder, var(--blue-300, #8ab3fa));background-color:#bdd3f9;background-color:var(--KAlertInfoBackground, var(--blue-200, #bdd3f9))}.k-alert.success[data-v-1910ef98]{color:#13755e;color:var(--KAlertSuccessColor, var(--green-700, #13755e));border-color:#c0f2d5;border-color:var(--KAlertSuccessBorder, var(--green-200, #c0f2d5));background-color:#e8f8f5;background-color:var(--KAlertSuccessBackground, var(--green-100, #e8f8f5))}.k-alert.danger[data-v-1910ef98]{color:#922021;color:var(--KAlertDangerColor, var(--red-700, #922021));border-color:#ff9a99;border-color:var(--KAlertDangerBorder, var(--red-300, #ff9a99));background-color:#ffdede;background-color:var(--KAlertDangerBackground, var(--red-100, #ffdede))}.k-alert.warning[data-v-1910ef98]{color:#a05604;color:var(--KAlertWarningColor, var(--yellow-600, #a05604));border-color:#ffe6ba;border-color:var(--KAlertWarningBorder, var(--yellow-200, #ffe6ba));background-color:#fff3d8;background-color:var(--KAlertWarningBackground, var(--yellow-100, #fff3d8))}.k-alert.is-banner[data-v-1910ef98]{background-color:var(--white);color:var(--grey-600);padding:0}.k-alert.is-banner .k-alert-ellipse[data-v-1910ef98]{height:6px;width:6px;border-radius:100%;display:inline-block;margin:auto 8px}.k-alert.is-banner .k-alert-ellipse.info[data-v-1910ef98]{background-color:var(--blue-400)}.k-alert.is-banner .k-alert-ellipse.success[data-v-1910ef98]{background-color:var(--green-400)}.k-alert.is-banner .k-alert-ellipse.warning[data-v-1910ef98]{background-color:var(--yellow-400)}.k-alert.is-banner .k-alert-ellipse.danger[data-v-1910ef98]{background-color:var(--red-400)}.k-alert.is-banner .button>div .k-alert-msg.k-alert-text[data-v-1910ef98]{padding-left:0;font-size:16px;font-size:var(--type-md, 16px);line-height:24px}.k-alert.is-banner>div.k-alert-msg-text[data-v-1910ef98]{padding:var(--spacing-sm) var(--spacing-md)}.toaster-item .k-alert .k-alert-msg[data-v-1910ef98]{padding:0;margin:0}.k-alert button.close>.kong-icon.info svg{stroke:#1155cb;stroke:var(--KAlertInfoColor, var(--blue-500, #1155cb))}.k-alert button.close>.kong-icon.success svg{stroke:#008871;stroke:var(--KAlertSuccessColor, var(--green-600, #008871))}.k-alert button.close>.kong-icon.danger svg{stroke:#922021;stroke:var(--KAlertDangerColor, var(--red-700, #922021))}.k-alert button.close>.kong-icon.warning svg{stroke:#c67c06;stroke:var(--KAlertWarningColor, var(--yellow-500, #c67c06))}.k-alert .k-alert-action button{height:30px;font-weight:400;font-size:13px;line-height:13px}.k-alert .k-alert-action button:not(:first-of-type){margin-left:var(--spacing-sm)}.k-alert .k-alert-action.info button.primary{--KButtonPrimaryBase: var(--blue-500);--KButtonPrimaryHover: var(--blue-200);color:var(--blue-500);background-color:var(--blue-100)}.k-alert .k-alert-action.info button.outline{--KButtonOutlineBorder: var(--blue-500);--KButtonOutlineHoverBorder: var(--blue-600);--KButtonOutlineActive: var(--blue-100);--KButtonOutlineActiveBorder: var(--blue-500);color:var(--blue-500);border:1px solid var(--blue-400)}.k-alert .k-alert-action.warning button.primary{--KButtonPrimaryBase: var(--yellow-500);--KButtonPrimaryHover: var(--yellow-200);color:var(--yellow-500);background-color:var(--yellow-100)}.k-alert .k-alert-action.warning button.outline{--KButtonOutlineBorder: var(--yellow-500);--KButtonOutlineHoverBorder: var(--yellow-500);--KButtonOutlineActive: var(--yellow-100);--KButtonOutlineActiveBorder: var(--yellow-500);color:var(--yellow-500);border:1px solid var(--yellow-300)}.k-alert .k-alert-action.success button.primary{--KButtonPrimaryBase: var(--green-600);--KButtonPrimaryHover: var(--green-200);color:var(--green-600);background-color:var(--green-100)}.k-alert .k-alert-action.success button.outline{--KButtonOutlineBorder: var(--green-600);--KButtonOutlineHoverBorder: var(--green-600);--KButtonOutlineActive: var(--green-100);--KButtonOutlineActiveBorder: var(--green-600);color:var(--green-600);border:1px solid var(--green-400)}.k-alert .k-alert-action.danger button.primary{--KButtonPrimaryHover: var(--red-200);--KButtonPrimaryBase: var(--red-700);color:var(--red-700);background-color:var(--red-100)}.k-alert .k-alert-action.danger button.outline{--KButtonOutlineBorder: var(--red-700);--KButtonOutlineColor: var(--red-700);--KButtonOutlineHoverBorder: var(--red-700);--KButtonOutlineActive: var(--red-100);--KButtonOutlineActiveBorder: var(--red-700);border:1px solid var(--red-500)}.k-popover[data-v-0eaad51f]{z-index:1000;max-width:none;font-size:14px;font-size:var(--KPopBodySize, var(--type-sm, 14px));text-align:left;white-space:normal;color:#3c4557;color:var(--KPopColor, var(--black-400, #3c4557));background-color:#fff;background-color:var(--KPopBackground, var(--white, #ffffff));border:1px solid rgba(0,0,0,.1);border:1px solid var(--KPopBorder, var(--black-10, rgba(0, 0, 0, .1)));border-radius:3px;box-shadow:0 4px 20px var(--black-10);padding:28px 16px;padding:var(--KPopPaddingY, 28px) var(--KPopPaddingX, var(--spacing-md, 16px))}.k-popover .k-popover-header[data-v-0eaad51f]{align-items:baseline;margin-bottom:28px}.k-popover .k-popover-header .k-popover-title[data-v-0eaad51f]{color:#0b172d;color:var(--KPopColor, var(--black-500, #0b172d));font-size:16px;font-size:var(--KPopHeaderSize, var(--type-md, 16px));font-weight:600}.k-popover .k-popover-header .k-popover-actions[data-v-0eaad51f]{margin-left:auto}.k-popover .k-popover-content[data-v-0eaad51f]{line-height:20px}.k-popover .k-popover-footer[data-v-0eaad51f]{margin:14px 0}.k-popover[x-placement^=bottom][data-v-0eaad51f]{margin-top:16px;margin-top:var(--spacing-md, 16px)}.k-popover[x-placement^=bottom][data-v-0eaad51f]:after,.k-popover[x-placement^=bottom][data-v-0eaad51f]:before{bottom:100%;left:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.k-popover[x-placement^=bottom][data-v-0eaad51f]:after{border-color:#fff0;border-bottom-color:#fff;border-bottom-color:var(--KPopBackground, var(--white, #ffffff));border-width:10px;margin-left:-10px}.k-popover[x-placement^=bottom][data-v-0eaad51f]:before{border-color:#fafafa00;border-bottom-color:#0000001a;border-bottom-color:var(--KPopBorder, var(--black-10, rgba(0, 0, 0, .1)));border-width:11px;margin-left:-11px}.k-popover[x-placement^=top][data-v-0eaad51f]{margin-bottom:16px;margin-bottom:var(--spacing-md, 16px)}.k-popover[x-placement^=top][data-v-0eaad51f]:after,.k-popover[x-placement^=top][data-v-0eaad51f]:before{top:100%;left:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.k-popover[x-placement^=top][data-v-0eaad51f]:after{border-color:#fff0;border-top-color:#fff;border-top-color:var(--KPopBackground, var(--white, #ffffff));border-width:10px;margin-left:-10px}.k-popover[x-placement^=top][data-v-0eaad51f]:before{border-color:#fafafa00;border-top-color:#0000001a;border-top-color:var(--KPopBorder, var(--black-10, rgba(0, 0, 0, .1)));border-width:11px;margin-left:-11px}.k-popover[x-placement^=left][data-v-0eaad51f]{margin-right:16px;margin-right:var(--spacing-md, 16px)}.k-popover[x-placement^=left][data-v-0eaad51f]:after,.k-popover[x-placement^=left][data-v-0eaad51f]:before{left:100%;top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.k-popover[x-placement^=left][data-v-0eaad51f]:after{border-color:#fff0;border-left-color:#fff;border-left-color:var(--KPopBackground, var(--white, #ffffff));border-width:10px;margin-top:-10px}.k-popover[x-placement^=left][data-v-0eaad51f]:before{border-color:#fafafa00;border-left-color:#0000001a;border-left-color:var(--KPopBorder, var(--black-10, rgba(0, 0, 0, .1)));border-width:11px;margin-top:-11px}.k-popover[x-placement^=right][data-v-0eaad51f]{margin-left:16px;margin-left:var(--spacing-md, 16px)}.k-popover[x-placement^=right][data-v-0eaad51f]:after,.k-popover[x-placement^=right][data-v-0eaad51f]:before{right:100%;top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.k-popover[x-placement^=right][data-v-0eaad51f]:after{border-color:#fff0;border-right-color:#fff;border-right-color:var(--KPopBackground, var(--white, #ffffff));border-width:10px;margin-top:-10px}.k-popover[x-placement^=right][data-v-0eaad51f]:before{border-color:#fafafa00;border-right-color:#0000001a;border-right-color:var(--KPopBorder, var(--black-10, rgba(0, 0, 0, .1)));border-width:11px;margin-top:-11px}.k-popover[x-placement^=top-start][data-v-0eaad51f]:after,.k-popover[x-placement^=top-start][data-v-0eaad51f]:before,.k-popover[x-placement^=bottom-start][data-v-0eaad51f]:after,.k-popover[x-placement^=bottom-start][data-v-0eaad51f]:before{left:11px}.k-popover[x-placement^=top-end][data-v-0eaad51f]:after,.k-popover[x-placement^=top-end][data-v-0eaad51f]:before,.k-popover[x-placement^=bottom-end][data-v-0eaad51f]:after,.k-popover[x-placement^=bottom-end][data-v-0eaad51f]:before{left:calc(100% - 11px)}.k-popover[x-placement^=right-start][data-v-0eaad51f]:after,.k-popover[x-placement^=right-start][data-v-0eaad51f]:before,.k-popover[x-placement^=left-start][data-v-0eaad51f]:after,.k-popover[x-placement^=left-start][data-v-0eaad51f]:before{top:11px}.k-popover[x-placement^=right-end][data-v-0eaad51f]:after,.k-popover[x-placement^=right-end][data-v-0eaad51f]:before,.k-popover[x-placement^=left-end][data-v-0eaad51f]:after,.k-popover[x-placement^=left-end][data-v-0eaad51f]:before{top:calc(100% - 11px)}.k-popover.hide-caret[data-v-0eaad51f]:after,.k-popover.hide-caret[data-v-0eaad51f]:before{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.fade-enter-active,.fadeIn,.fade-leave-active,.fadeOut{animation-duration:.3s;animation-fill-mode:both}.fade-enter-active,.fadeIn{animation-name:fadeIn}.fade-leave-active,.fadeOut{animation-name:fadeOut}.k-tooltip.k-popover{--KPopColor: var(--KTooltipColor, var(--white, color(white)));--KPopBackground: var(--KTooltipBackground, var(--black-400, color(black-400)));--KPopBodySize: var(--type-sm);--KPopPaddingX: var(--spacing-xs);--KPopPaddingY: var(--spacing-xs);--KPopBorder: none;pointer-events:none;z-index:9999}.k-badge[data-v-37d3a284]{display:inline-block;font-weight:400;font-size:12px;font-size:var(--KBadgeFontSize, 12px);line-height:16px;line-height:var(--KBadgeLineHeight, var(--type-md, 16px));width:fit-content;height:auto;text-align:center;padding:2px 6px;padding:var(--KBadgePaddingY, 2px) var(--KBadgePaddingX, 6px);font-family:sans-serif;font-family:var(--font-family-sans, sans-serif)}.k-badge.k-badge-default[data-v-37d3a284]{color:#1155cb;color:var(--KBadgeDefaultColor, var(--blue-500, #1155cb));border-color:#1155cb;border-color:var(--KBadgeDefaultBorder, var(--blue-500, #1155cb));background-color:#f2f6fe;background-color:var(--KBadgeDefaultBackground, var(--blue-100, #f2f6fe))}.k-badge.k-badge-success[data-v-37d3a284]{color:#13755e;color:var(--KBadgeSuccessColor, var(--green-700, #13755e));border-color:#13755e;border-color:var(--KBadgeSuccessBorder, var(--green-700, #13755e));background-color:#e8f8f5;background-color:var(--KBadgeSuccessBackground, var(--green-100, #e8f8f5))}.k-badge.k-badge-danger[data-v-37d3a284]{color:#922021;color:var(--KBadgeDangerColor, var(--red-700, #922021));border-color:#922021;border-color:var(--KBadgeDangerBorder, var(--red-700, #922021));background-color:#ffdede;background-color:var(--KBadgeDangerBackground, var(--red-100, #ffdede))}.k-badge.k-badge-info[data-v-37d3a284]{color:#1155cb;color:var(--KBadgeInfoColor, var(--blue-500, #1155cb));border-color:#1155cb;border-color:var(--KBadgeInfoBorder, var(--blue-500, #1155cb));background-color:#bdd3f9;background-color:var(--KBadgeInfoBackground, var(--blue-200, #bdd3f9))}.k-badge.k-badge-warning[data-v-37d3a284]{color:#a05604;color:var(--KBadgeWarningColor, var(--yellow-600, #a05604));border-color:#a05604;border-color:var(--KBadgeWarningBorder, var(--yellow-600, #a05604));background-color:#fff3d8;background-color:var(--KBadgeWarningBackground, var(--yellow-100, #fff3d8))}.k-badge.k-badge-rectangular[data-v-37d3a284]{border-radius:4px;border-radius:var(--KBadgeBorderRadius, 4px)}.k-badge.k-badge-rectangular .k-badge-dismiss-button[data-v-37d3a284]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--KBadgeBorderRadius, 4px);border-bottom-left-radius:0;border-bottom-right-radius:4px;border-bottom-right-radius:var(--KBadgeBorderRadius, 4px)}.k-badge.k-badge-rounded[data-v-37d3a284]{border-radius:25px;border-radius:var(--KBadgeBorderRadius, 25px)}.k-badge .k-badge-text[data-v-37d3a284]{max-width:200px;max-width:var(--KBadgeMaxWidth, 200px);min-width:8px;min-width:var(--KBadgeMinWidth, 8px);width:auto;width:var(--KBadgeWidth, auto);align-self:center}.k-badge .k-badge-dismiss-button[data-v-37d3a284]{padding:var(--spacing-xs);background-color:transparent;border:none;cursor:pointer;font-weight:400;margin:-2px -6px;margin:calc(-1 * var(--KBadgePaddingY, 2px)) calc(-1 * var(--KBadgePaddingX, 6px));margin-left:auto}.k-badge.k-badge-default .k-badge-dismiss-button .kong-icon.kong-icon-close path{stroke:#1155cb;stroke:var(--KBadgeDefaultColor, var(--blue-500, #1155cb))}.k-badge.k-badge-default .k-badge-dismiss-button:hover{background-color:#bdd3f9;background-color:var(--KBadgeDefaultButtonHoverColor, var(--blue-200, #bdd3f9))}.k-badge.k-badge-default:focus{background-color:#bdd3f9;background-color:var(--KBadgeDefaultButtonHoverColor, var(--blue-200, #bdd3f9))}.k-badge.k-badge-default:focus .k-badge-dismiss-button{background-color:#bdd3f9;background-color:var(--KBadgeDefaultButtonHoverColor, var(--blue-200, #bdd3f9))}.k-badge.k-badge-success .k-badge-dismiss-button .kong-icon.kong-icon-close path{stroke:#13755e;stroke:var(--KBadgeSuccessColor, var(--green-700, #13755e))}.k-badge.k-badge-success .k-badge-dismiss-button:hover{background-color:#c0f2d5;background-color:var(--KBadgeSuccessButtonHoverColor, var(--green-200, #c0f2d5))}.k-badge.k-badge-success:focus{background-color:#c0f2d5;background-color:var(--KBadgeSuccessButtonHoverColor, var(--green-200, #c0f2d5))}.k-badge.k-badge-success:focus .k-badge-dismiss-button{background-color:#c0f2d5;background-color:var(--KBadgeSuccessButtonHoverColor, var(--green-200, #c0f2d5))}.k-badge.k-badge-danger .k-badge-dismiss-button .kong-icon.kong-icon-close path{stroke:#922021;stroke:var(--KBadgeDangerColor, var(--red-700, #922021))}.k-badge.k-badge-danger .k-badge-dismiss-button:hover{background-color:#fcc;background-color:var(--KBadgeDangerButtonHoverColor, var(--red-200, #ffcccc))}.k-badge.k-badge-danger:focus{background-color:#fcc;background-color:var(--KBadgeDangerButtonHoverColor, var(--red-200, #ffcccc))}.k-badge.k-badge-danger:focus .k-badge-dismiss-button{background-color:#fcc;background-color:var(--KBadgeDangerButtonHoverColor, var(--red-200, #ffcccc))}.k-badge.k-badge-info .k-badge-dismiss-button .kong-icon.kong-icon-close path{stroke:#1155cb;stroke:var(--KBadgeInfoColor, var(--blue-500, #1155cb))}.k-badge.k-badge-info .k-badge-dismiss-button:hover{background-color:#8ab3fa;background-color:var(--KBadgeInfoButtonHoverColor, var(--blue-300, #8ab3fa))}.k-badge.k-badge-info:focus{background-color:#8ab3fa;background-color:var(--KBadgeInfoButtonHoverColor, var(--blue-300, #8ab3fa))}.k-badge.k-badge-info:focus .k-badge-dismiss-button{background-color:#8ab3fa;background-color:var(--KBadgeInfoButtonHoverColor, var(--blue-300, #8ab3fa))}.k-badge.k-badge-warning .k-badge-dismiss-button .kong-icon.kong-icon-close path{stroke:#a05604;stroke:var(--KBadgeWarningColor, var(--yellow-600, #a05604))}.k-badge.k-badge-warning .k-badge-dismiss-button:hover{background-color:#ffe6ba;background-color:var(--KBadgeWarningButtonHoverColor, var(--yellow-200, #ffe6ba))}.k-badge.k-badge-warning:focus{background-color:#ffe6ba;background-color:var(--KBadgeWarningButtonHoverColor, var(--yellow-200, #ffe6ba))}.k-badge.k-badge-warning:focus .k-badge-dismiss-button{background-color:#ffe6ba;background-color:var(--KBadgeWarningButtonHoverColor, var(--yellow-200, #ffe6ba))}.k-breadcrumbs[data-v-a87af1c0]{display:flex;flex-wrap:wrap;padding:0;margin-bottom:1rem;list-style:none;border-radius:.25rem;font-size:15px;font-weight:600!important;line-height:24px!important}.k-breadcrumbs .k-breadcrumbs-item[data-v-a87af1c0] .kong-icon{display:inline-flex;padding:0 12px 0 var(--spacing-xs);color:var(--grey-500);vertical-align:middle}.k-breadcrumbs .k-breadcrumbs-item[data-v-a87af1c0] .kong-icon.k-breadcrumb-icon{align-items:center;justify-content:center;padding:0 var(--spacing-xs)}.k-breadcrumbs .k-breadcrumbs-item[data-v-a87af1c0] .kong-icon.k-breadcrumb-icon.has-no-text{padding-right:0}.k-breadcrumbs li[data-v-a87af1c0]{display:inline-flex}.k-breadcrumbs li a[data-v-a87af1c0]{display:inline-flex;color:var(--grey-500);letter-spacing:1px;font-size:15px}.k-breadcrumbs li a[data-v-a87af1c0]:hover,.k-breadcrumbs li a.no-underline[data-v-a87af1c0]{text-decoration:none!important}.k-breadcrumbs li a>.k-breadcrumb-text[data-v-a87af1c0]{transition:all .2s ease-in-out}.k-breadcrumbs li a>.k-breadcrumb-text[data-v-a87af1c0]:hover{text-decoration:underline}.truncate[data-v-a87af1c0]{display:inline-block;align-items:center;justify-content:center}.kong-card[data-v-1f0d90ac]{padding:var(--spacing-lg) var(--spacing-lg);padding:var(--KCardPaddingY, var(--spacing-lg)) var(--KCardPaddingX, var(--spacing-lg));border-radius:3px;border-radius:var(--KCardBorderRadius, 3px);background-color:#fff;background-color:var(--KCardBackground, var(--white, #ffffff));transition:box-shadow .2s ease-in-out}.kong-card.noBorder[data-v-1f0d90ac]{border:none}.kong-card.border[data-v-1f0d90ac]{border:1px solid rgba(0,0,0,.1);border:var(--KCardBorder, 1px solid var(--black-10, rgba(0, 0, 0, .1)));box-shadow:none}.kong-card.borderTop[data-v-1f0d90ac]{border-top:1px solid rgba(0,0,0,.1);border-top:var(--KCardBorder, 1px solid var(--black-10, rgba(0, 0, 0, .1)))}.kong-card.hover[data-v-1f0d90ac]:hover,.kong-card.kcard-shadow[data-v-1f0d90ac]{box-shadow:0 4px 8px #0000001a;box-shadow:var(--KCardShadow, 0 4px 8px var(--black-10, rgba(0, 0, 0, .1)))}.kong-card .k-card-header[data-v-1f0d90ac]{align-items:center}.kong-card .k-card-header.has-status[data-v-1f0d90ac]{align-items:flex-start}.kong-card .k-card-status-hat[data-v-1f0d90ac]{font-size:var(--type-xs);color:var(--grey-600);display:flex;align-items:center}.kong-card .k-card-title h4[data-v-1f0d90ac]{margin:0;padding:0;font-size:20px;font-size:var(--KCardTitleFontSize, 20px);font-weight:600;color:var(--black-500);color:var(--KCardTitleColor, var(--black-500))}.kong-card .k-card-actions[data-v-1f0d90ac]{margin-left:auto}.kong-card .k-card-body[data-v-1f0d90ac]{font-size:13px;line-height:20px;color:var(--grey-600);width:100%}.kong-card .k-card-content .k-table td[data-v-1f0d90ac],.kong-card .k-card-content table td[data-v-1f0d90ac],.kong-card .k-card-content[data-v-1f0d90ac] .k-table td{font-size:var(--type-md)}.kong-card .k-card-notifications[data-v-1f0d90ac]{margin-left:auto;margin-top:auto}.kong-card .k-card-header .k-button{min-height:38px}.empty-state-wrapper[data-v-5b55eb64]{padding:48px 0;text-align:center;border-radius:4px;background-color:var(--white);background-color:var(--KEmptyBackground, var(--white))}.empty-state-wrapper .k-empty-state-title-header[data-v-5b55eb64]{color:var(--black-500);color:var(--KEmptyTitleColor, var(--black-500));margin:0 0 14px;font-size:20px;font-weight:600;line-height:24px}.empty-state-wrapper .k-empty-state-message[data-v-5b55eb64]{color:var(--black-400);color:var(--KEmptyContentColor, var(--black-400));margin:0 auto 14px;font-size:13px;line-height:20px;max-width:50%}.empty-state-wrapper .k-empty-state-cta[data-v-5b55eb64]{margin:0 auto}.k-input-label .label-tooltip[data-v-d949c2e2] .kong-icon.kong-icon-help,.k-input-label .label-tooltip[data-v-d949c2e2] .kong-icon.kong-icon-info{cursor:pointer}.form-control[data-v-6c1c7dad]{box-shadow:none!important}.help[data-v-6c1c7dad]{display:block;margin:8px 0 0;margin:var(--spacing-xs, 8px) 0 0;font-size:14px;font-size:var(--type-sm, 14px);color:#00000073;color:var(--black-45, rgba(0, 0, 0, .45))}.has-error[data-v-6c1c7dad]{font-weight:500;color:var(--red-500)}.k-input-wrapper input.k-input[data-v-6c1c7dad]{-webkit-appearance:none}.k-input-wrapper .k-input-label-wrapper-large .has-error[data-v-6c1c7dad],.k-input-wrapper .k-input-large+.has-error[data-v-6c1c7dad]{font-size:12px;line-height:15px;margin-top:4px}.k-input-wrapper .k-input-label-wrapper-medium .has-error[data-v-6c1c7dad],.k-input-wrapper .k-input-medium+.has-error[data-v-6c1c7dad]{font-size:11px;line-height:13px;margin-top:3px}.k-input-wrapper .k-input-label-wrapper-small .has-error[data-v-6c1c7dad],.k-input-wrapper .k-input-small+.has-error[data-v-6c1c7dad]{font-size:11px;line-height:11px;margin-top:2px}.k-input-wrapper .text-on-input label:not(.disabled):not(.readonly).hovered[data-v-6c1c7dad],.k-input-wrapper .text-on-input label[data-v-6c1c7dad]:not(.disabled):not(.readonly):hover{color:var(--blue-500);color:var(--KInputHover, var(--blue-500))}.k-input-wrapper.input-error .text-on-input label.hovered[data-v-6c1c7dad],.k-input-wrapper.input-error .text-on-input label[data-v-6c1c7dad]:hover,.k-input-wrapper.input-error .text-on-input label.focused[data-v-6c1c7dad],.k-input-wrapper.input-error .text-on-input label[data-v-6c1c7dad]:focus{color:var(--red-500)!important}.k-select-item[data-v-683f6b01]{margin-bottom:4px;list-style:none!important}.k-select-item[data-v-683f6b01]:last-of-type{margin-bottom:0!important}.k-select-item button[data-v-683f6b01]{display:flex;align-items:center;font-size:var(--type-xs);line-height:26px;color:var(--grey-500);padding-left:var(--spacing-xxs);width:100%;border:none;font-family:var(--font-family-sans);background-color:var(--white);border-radius:4px;text-align:left;font-weight:400}.k-select-item button[data-v-683f6b01]:not(:disabled),.k-select-item button[data-v-683f6b01]:not(.disabled){cursor:pointer}.k-select-item button .k-select-item-label[data-v-683f6b01]{width:auto;line-height:16px;color:var(--grey-600);font-weight:500;font-size:14px;padding:8px;margin-bottom:4px}.k-select-item button .k-select-item-label[data-v-683f6b01] .select-item-label{color:var(--grey-600);font-weight:600;font-size:14px;margin-bottom:4px}.k-select-item button .k-select-item-label[data-v-683f6b01] .select-item-desc{color:var(--grey-500);font-weight:400;font-size:14px}.k-select-item button .kong-icon[data-v-683f6b01]:not(.selected-item-icon){margin-right:.75rem}.k-select-item button .k-select-selected-icon-container[data-v-683f6b01]{margin-left:auto;margin-top:auto;margin-bottom:auto;height:24px;width:24px}.k-select-item button .k-select-selected-icon-container .kong-icon[data-v-683f6b01]{position:relative;top:0;right:0;transform:none}.k-select-item button[data-v-683f6b01]:hover{background-color:var(--grey-100);color:var(--grey-600)}.k-select-item button.selected[data-v-683f6b01]{background-color:var(--blue-100);color:var(--blue-500);font-weight:400}.k-select-item button.danger[data-v-683f6b01]{color:var(--red-500)}.k-select[data-v-7c5ccacc]{width:fit-content}.k-select .k-select-item-selection[data-v-7c5ccacc]{background-color:var(--blue-100);color:var(--blue-500);font-weight:400;display:flex;border-radius:4px;margin-bottom:6px}.k-select .k-select-item-selection.overlay-label-item-selection[data-v-7c5ccacc]{position:relative;top:15px}.k-select .k-select-item-selection .selected-item-label[data-v-7c5ccacc]{align-self:center;font-size:14px;line-height:16px}.k-select .k-select-item-selection .clear-selection-icon[data-v-7c5ccacc]{margin-left:auto;margin-top:auto;margin-bottom:auto;padding:0;height:24px}.k-select .k-select-trigger[data-v-7c5ccacc]:after{display:inline-block;width:0;height:0;margin-left:8px;margin-left:var(--spacing-xs, 8px);vertical-align:middle;content:"";border-top:.325em solid;border-right:.325em solid transparent;border-left:.325em solid transparent}.k-select .k-select-item-selection .clear-selection-icon .kong-icon,.k-select .k-button .caret{margin-left:auto}.k-select .k-select-input{position:relative;display:inline-block;width:100%}.k-select .k-select-input.cursor-default{cursor:default}.k-select .k-select-input.prevent-pointer-events{pointer-events:none}.k-select .k-select-input.input-placeholder-dark::placeholder{color:#000000b3!important;color:var(--KInputColor, var(--black-70, rgba(0, 0, 0, .7)))!important}.k-select .k-select-input .k-input.has-chevron{padding-right:40px}.k-select .k-select-input .k-input.has-clear{padding-right:60px}.k-select .k-select-inputinput.k-input{padding:var(--spacing-xs);height:100%}.k-select .k-select-input .kong-icon{position:absolute;top:60%;right:16px;transform:translateY(-50%);z-index:9}.k-select .k-select-input .kong-icon.overlay-label-chevron{top:70%}.k-select .k-select-input .clear-selection-icon{position:absolute;top:13px;right:30px;z-index:9;padding:0}.k-select .k-select-input .clear-selection-icon.overlay-label-clear{top:36px}.k-select .k-select-input .clear-selection-icon .kong-icon-clear{position:static;display:block;transform:none}.k-select div.k-select-input.no-filter{cursor:pointer!important}.k-select .k-select-button .has-caret .kong-icon{margin-left:auto}.k-select .k-select-button .k-button.btn-link:hover,.k-select .k-select-button.k-button.btn-link:hover{text-decoration:none}.k-select.k-input{width:100%}.k-select .k-select-popover{box-sizing:border-box;width:100%;margin-top:2px!important;overflow:auto!important}.k-select .k-select-popover[x-placement^=top]{margin-top:0!important;margin-bottom:2px!important}.k-select .k-select-popover.k-select-pop-button,.k-select .k-select-popover.k-select-pop-dropdown{--KPopPaddingY: var(--spacing-xs);--KPopPaddingX: var(--spacing-xs);border:1px solid var(--grey-300)}.k-select .k-select-popover.k-select-pop-select{--KPopPaddingY: var(--spacing-xs);--KPopPaddingX: var(--spacing-xs);border:1px solid var(--black-10)}.k-select .k-select-popover .k-select-empty-item button,.k-select .k-select-popover .k-select-empty-item button:focus,.k-select .k-select-popover .k-select-empty-item button:hover{font-style:italic;color:var(--grey-500)}.k-select .k-select-popover ul{margin:0;padding:0}.k-select .k-select-popover a{flex:1;color:var(--black-70)}.k-select .k-select-popover a:hover,.k-select .k-select-popover a:active,.k-select .k-select-popover a:focus{text-decoration:none}.k-select .k-select-popover .k-select-loading{display:block;text-align:center;position:relative;top:0;right:0;height:24px}.pagination-offset-button-container[data-v-16e16c5e]{display:flex}.pagination-offset-button-container .pagination-button.k-button[data-v-16e16c5e]{width:34px;height:34px;color:var(--grey-500);border:1px solid var(--grey-300);background-color:#fff;border-radius:4px;margin:0 6px;padding:6px}.pagination-offset-button-container .pagination-button.k-button[data-v-16e16c5e]:focus,.pagination-offset-button-container .pagination-button.k-button[data-v-16e16c5e]:hover{color:var(--blue-500);border-color:var(--blue-500);border-radius:4px}.pagination-offset-button-container .pagination-button.k-button.disabled[data-v-16e16c5e]:focus,.pagination-offset-button-container .pagination-button.k-button.disabled[data-v-16e16c5e]:hover{color:var(--black-45);border-color:var(--grey-200);box-shadow:none;cursor:not-allowed}.pagination-offset-button-container .pagination-button.k-button.active[data-v-16e16c5e]{outline:none;color:var(--blue-500);border-color:var(--blue-200);border-radius:4px;background-color:var(--blue-100)}.card-pagination-bar[data-v-d0aae7b2]{display:flex;align-items:center;justify-content:space-between;margin-top:4px}.pagination-text[data-v-d0aae7b2]{font-size:14px;color:var(--grey-500);min-width:115px;font-weight:500}.pagination-text-pages[data-v-d0aae7b2]{color:#000}.page-size-select[data-v-d0aae7b2]{--KButtonBtnLink: var(--KPaginationPageSizeColor, var(--blue-400));--KButtonOutlineBorder: var(--KPaginationPageSizeColor, var(--blue-400));--KButtonFontSize: var(--type-sm);color:var(--blue-400);font-weight:600;line-height:20px}.pagination-button-container[data-v-d0aae7b2]{display:flex;list-style:none;text-align:center}.pagination-button-container a[data-v-d0aae7b2]{text-decoration:none!important;font-weight:initial;display:block}.pagination-button-container .pagination-button[data-v-d0aae7b2]{align-self:center;min-width:32px;height:32px;line-height:20px;font-size:12px;font-weight:initial;color:var(--grey-500);color:var(--KPaginationColor, var(--grey-500));border:1px solid var(--grey-300);border:1px solid var(--KPaginationBorderColor, var(--grey-300));background-color:#fff;border-radius:4px;margin:0 6px;cursor:pointer}.pagination-button-container .pagination-button[data-v-d0aae7b2]:not(.square){background-color:#fff;background-color:var(--KPaginationBackgroundColor, white)}.pagination-button-container .pagination-button a[data-v-d0aae7b2],.pagination-button-container .pagination-button div[data-v-d0aae7b2]{padding:6px}.pagination-button-container .pagination-button.square[data-v-d0aae7b2]{border:none}.pagination-button-container .pagination-button.placeholder[data-v-d0aae7b2]{color:var(--grey-500);color:var(--KPaginationColor, var(--grey-500));display:flex;justify-content:center;align-items:center;cursor:initial}.pagination-button-container .pagination-button[data-v-d0aae7b2]:focus:not(.placeholder),.pagination-button-container .pagination-button[data-v-d0aae7b2]:hover:not(.placeholder){color:var(--blue-500);color:var(--KPaginationActiveColor, var(--blue-500));border-color:var(--blue-500);border-color:var(--KPaginationActiveColor, var(--blue-500));border-radius:4px}.pagination-button-container .pagination-button.disabled[data-v-d0aae7b2]:focus:not(.placeholder),.pagination-button-container .pagination-button.disabled[data-v-d0aae7b2]:hover:not(.placeholder){color:var(--black-45);border-color:var(--grey-200)}.pagination-button-container .pagination-button.disabled a[data-v-d0aae7b2]{cursor:not-allowed!important}.pagination-button-container .pagination-button.active[data-v-d0aae7b2]{outline:none;color:var(--blue-500);color:var(--KPaginationActiveColor, var(--blue-500));border-color:var(--blue-200);border-color:var(--KPaginationActiveBorderColor, var(--blue-200));background-color:var(--KPaginationActiveBackgroundColor, var(--blue-100));border-radius:4px;background-color:var(--blue-100)}.pagination-button-container .pagination-button.active a[data-v-d0aae7b2]{color:var(--blue-500);color:var(--KPaginationActiveColor, var(--blue-500))}.page-size-select .k-select-pop-button[x-placement^=top]{margin-bottom:2px}.box[data-v-2ffc7dea]{display:inline-flex;border-radius:3px;background:linear-gradient(-70deg,#f2f2f2 0%,#f2f2f2 40%,#f7f7f7 50%,#f2f2f2 60%,#f2f2f2 100%) repeat;background-size:400% 100%;animation:gradient 1s ease infinite;transition:1s}.box.width-1[data-v-2ffc7dea]{width:1rem}.box.width-2[data-v-2ffc7dea]{width:2rem}.box.width-5[data-v-2ffc7dea]{width:5rem}.box.width-6[data-v-2ffc7dea]{width:6rem}.box.width-10[data-v-2ffc7dea]{width:10rem}.box.width-25[data-v-2ffc7dea]{width:25%}.box.width-50[data-v-2ffc7dea]{width:50%}.box.width-75[data-v-2ffc7dea]{width:75%}.box.width-100[data-v-2ffc7dea]{width:100%}.box.height-1[data-v-2ffc7dea]{height:1rem}.box.height-2[data-v-2ffc7dea]{height:2rem}@keyframes gradient{0%{background-position:100% 50%}to{background-position:0% 50%}}.skeleton-loader[data-v-2f46a0c1]{width:80%}.skeleton-card-wrapper[data-v-d7916644]{display:flex;flex-wrap:wrap;width:100%;gap:1rem}.skeleton-card-column[data-v-d7916644]{margin-bottom:1rem;width:calc(33% - 1rem);width:var(--KSkeletonCardWidth, calc(33% - 1rem))}.skeleton-card[data-v-d7916644]{display:flex;flex-direction:column;height:324px;padding:1rem;border-radius:3px;border:1px solid #e6e6e6;overflow:hidden}.skeleton-card .skeleton-card-header[data-v-d7916644]{width:100%;margin-bottom:1rem;display:flex}.skeleton-card .skeleton-card-content[data-v-d7916644]{display:flex;justify-content:space-between}.skeleton-card .skeleton-card-footer[data-v-d7916644]{display:flex;align-self:flex-end;justify-content:space-between;width:100%;margin-top:auto;padding-top:1rem}.skeleton-table-wrapper[data-v-84f8bae6]{width:100%;overflow:hidden}.skeleton-table-wrapper .skeleton-table-row[data-v-84f8bae6]{display:flex;flex-direction:row;margin-bottom:2rem}@media only screen and (max-width: 1256px){.skeleton-table-wrapper .skeleton-table-row .skeleton-cell[data-v-84f8bae6]:nth-of-type(n + 5){display:none}.skeleton-table-wrapper .skeleton-table-row .skeleton-cell[data-v-84f8bae6]:nth-of-type(4){margin-left:auto;margin-right:0}}@media only screen and (max-width: 756px){.skeleton-table-wrapper .skeleton-table-row .skeleton-cell[data-v-84f8bae6]:nth-of-type(n + 3){display:none}.skeleton-table-wrapper .skeleton-table-row .skeleton-cell[data-v-84f8bae6]:nth-of-type(2){width:6rem;margin-left:auto;margin-right:0}}.skeleton-form-wrapper[data-v-11e4f5bf]{width:100%}.skeleton-form-wrapper .skeleton-form-row[data-v-11e4f5bf]{margin-bottom:2rem}.fullscreen-loading-container[data-v-4f1a85a8]{position:fixed;top:0;bottom:0;right:0;left:0;display:flex;align-items:center;justify-content:center;z-index:10500;flex-direction:column;margin:0;margin:var(--KSkeletonFullScreenMargin, 0);background:#ffffff;background:var(--white, #ffffff)}.fullscreen-loading-container .progress[data-v-4f1a85a8]{margin-top:1rem;max-width:350px;background-color:#f1f1f5;background-color:var(--grey-200, #f1f1f5);border-radius:.5rem}.fullscreen-loading-container .progress .progress-bar[data-v-4f1a85a8]{border-radius:.5rem;height:5px;background-color:#1155cb;background-color:var(--KSkeletonFullScreenProgressColor, var(--blue-500, #1155cb))}.k-skeleton-container.opacity-0 .box{opacity:0}.k-skeleton-container.opacity-0 :deep(.kong-icon){display:none}.k-skeleton-container.opacity-0.mr-2{margin-right:0!important}.k-card-catalog-item[data-v-f7fba218]{display:flex;flex-direction:column;justify-content:stretch}.k-card-catalog-item .multi-line-truncate[data-v-f7fba218]{--lh: 20px;--max-lines: 5;--max-lines-less: 4;position:relative;line-height:var(--lh);max-height:calc(var(--lh) * var(--max-lines));overflow:hidden;padding-right:8px}.k-card-catalog-item .multi-line-truncate[data-v-f7fba218]:before{content:"...";position:absolute;top:calc(var(--lh) * var(--max-lines-less));right:12px}.k-card-catalog-item[data-v-f7fba218]:hover{cursor:pointer}.k-card-catalog-item.kong-card{--KCardBorderRadius: 5px;--KCardPaddingY: var(--spacing-lg);--KCardPaddingX: var(--spacing-md)}.k-card-catalog-item.kong-card .k-card-body{flex-grow:1;display:flex;flex-direction:column}.k-card-catalog-item.kong-card .k-card-body .description{flex-grow:1}.k-card-catalog-item.kong-card:hover{--KCardShadow: none;--KCardBorder: 1px solid var(--blue-300)}.k-card-catalog .k-card-catalog-title[data-v-f085d3be]{color:var(--blue-600)}.k-card-catalog .k-catalog-page[data-v-f085d3be]{display:grid;grid-gap:var(--spacing-lg);grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.k-catalog-toolbar[data-v-f085d3be]>*{display:flex}.k-card-catalog .k-skeleton-grid{--KSkeletonCardWidth: 25%}.k-card-catalog .k-skeleton-grid .skeleton-card-column{padding-right:2rem}.k-card-catalog .k-skeleton-grid .skeleton-card{height:181px}.k-card-catalog .k-catalog-page.k-card-small{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.k-card-catalog .k-catalog-page.k-card-large{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.k-card-catalog .k-catalog-page a.catalog-item,.k-card-catalog .k-catalog-page a.catalog-item:focus,.k-card-catalog .k-catalog-page a.catalog-item:hover{text-decoration:none}.k-card-catalog .card-pagination{grid-column:1/-1}.k-code-block[data-v-034f9b55]{color:#000000d9;color:var(--KCodeBlockColor, var(--black-85, rgba(0, 0, 0, .85)));border-radius:3px;border-radius:var(--KCodeBlockBorderRadius, 3px)}.k-code-block pre[data-v-034f9b55],.k-code-block code[data-v-034f9b55]{tab-size:2;tab-size:var(--KCodeBlockTabSize, 2);font-size:12px;font-size:var(--KCodeBlockFontSize, var(--type-xs, 12px));font-family:monospace;font-family:var(--KCodeBlockFontFamilyMono, var(--font-family-mono, monospace));color:#000000d9;color:var(--KCodeBlockColor, var(--black-85, rgba(0, 0, 0, .85)))}.k-code-block pre[data-v-034f9b55]{margin-top:0;margin-bottom:0;padding:8px 0 8px 12px;padding:var(--spacing-xs, 8px) 0 var(--spacing-xs, 8px) var(--spacing-sm, 12px);border-radius:3px;border-radius:var(--KCodeBlockBorderRadius, 3px);background-color:#f8f8fa;background-color:var(--KCodeBlockBackgroundColor, var(--grey-100, #f8f8fa));min-height:44px;max-height:none;max-height:var(--KCodeBlockMaxHeight, none);display:grid;grid-template-columns:var(--maxLineNumberWidth) 1fr;gap:12px;gap:var(--spacing-sm, 12px)}.k-code-block pre[data-v-034f9b55]:focus-visible{outline:2px solid #1155cb;outline:2px solid var(--KCodeBlockFocusColor, var(--blue-500, #1155cb));outline-offset:-2px;isolation:isolate}.k-code-block-actions+.k-code-block-content>pre[data-v-034f9b55]{border-top-left-radius:0;border-top-right-radius:0}.k-code-block code[data-v-034f9b55]{display:block;min-width:0}.k-code-block[data-v-034f9b55]:focus-visible{outline:none;box-shadow:0 0 0 2px #1155cb;box-shadow:0 0 0 2px var(--KCodeBlockFocusColor, var(--blue-500, #1155cb));isolation:isolate}.k-code-block-actions[data-v-034f9b55]{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:flex-end;gap:4px;gap:var(--spacing-xxs, 4px);padding:8px 16px;padding:var(--spacing-xs, 8px) var(--spacing-md, 16px);border-top-left-radius:3px;border-top-left-radius:var(--KCodeBlockBorderRadius, 3px);border-top-right-radius:3px;border-top-right-radius:var(--KCodeBlockBorderRadius, 3px);border-bottom:1px solid #e7e7ec;border-bottom:1px solid var(--grey-300, #e7e7ec);background-color:#f1f1f5;background-color:var(--grey-200, #f1f1f5)}.k-code-block-actions .k-button[data-v-034f9b55]{align-self:stretch}.k-is-processing-icon[data-v-034f9b55]{display:inline-flex;justify-content:center;align-items:center}.k-search-actions[data-v-034f9b55]{display:inline-flex;flex-wrap:wrap;align-items:stretch;gap:4px;gap:var(--spacing-xxs, 4px)}.k-is-processing-icon[data-v-034f9b55]:not(.k-is-processing-icon-is-visible){visibility:hidden}.k-regexp-mode-button[data-v-034f9b55]{font-family:monospace;font-family:var(--KCodeBlockFontFamilyMono, var(--font-family-mono, monospace))}.k-search-container[data-v-034f9b55]{position:relative;flex-basis:15ch;flex-grow:1;max-width:250px;display:inline-flex;align-items:stretch;border:1px solid #e7e7ec;border:1px solid var(--KInputBorder, var(--grey-300, #e7e7ec));border-radius:3px;background-color:#fff;background-color:var(--white, #ffffff);transition:border .1s ease}.k-search-container[data-v-034f9b55]:hover{border-color:#bdd3f9;border-color:var(--KInputHover, var(--blue-200, #bdd3f9))}.k-search-container[data-v-034f9b55]:focus-within{border-color:#3972d5;border-color:var(--KInputFocus, var(--blue-400, #3972d5))}.k-code-block-search-input[data-v-034f9b55]{width:0;flex-grow:1;appearance:none;margin:0;padding:0 8px;padding:0 var(--spacing-xs, 8px);border:none;color:currentColor;background-color:transparent;font:inherit}.k-code-block-search-input[data-v-034f9b55]:focus{outline:none}.k-code-block-search-results[data-v-034f9b55]{align-self:center;min-width:12ch;text-align:center}.k-code-block-search-results[data-v-034f9b55]:not(.k-code-block-search-results-has-query){color:#6f7787;color:var(--grey-500, #6f7787)}.k-code-block-search-error[data-v-034f9b55],.k-code-block-search-results[data-v-034f9b55]{margin-top:0;margin-bottom:0}.k-code-block-search-error[data-v-034f9b55]{position:absolute;z-index:1;top:100%;left:-1px;right:-1px;padding:0 4px;padding:0 var(--spacing-xxs, 4px);border:1px solid currentColor;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background-color:#fff;background-color:var(--white, #ffffff);font-size:.8em;color:#922021;color:var(--red-700, #922021)}.k-search-icon[data-v-034f9b55]{padding:0 4px;padding:0 var(--spacing-xxs, 4px);color:#b6b6bd;color:var(--grey-400, #b6b6bd)}.k-clear-query-button[data-v-034f9b55]{appearance:none;display:inline-flex;align-items:center;margin:0;padding:0 4px;padding:0 var(--spacing-xxs, 4px);border:1px solid transparent;border-radius:3px;color:#b6b6bd;color:var(--grey-400, #b6b6bd);background-color:transparent;font:inherit}.k-clear-query-button[data-v-034f9b55]:focus{border-color:#1155cb;border-color:var(--KButtonOutlineBorder, var(--blue-500, #1155cb));outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #1155cb;box-shadow:0 0 0 2px var(--white, #ffffff),0 0 0 4px var(--KButtonOutlineBorder, var(--blue-500, #1155cb))}.k-code-block-content[data-v-034f9b55]{position:relative}.k-code-block-copy-button[data-v-034f9b55]{position:absolute;z-index:2;top:8px;top:var(--spacing-xs, 8px);right:16px;right:var(--spacing-md, 16px);display:block}.k-code-block-copy-button[data-tooltip-text][data-v-034f9b55]:after{content:attr(data-tooltip-text);position:absolute;top:50%;transform:translateY(-50%);right:calc(100% + 8px);right:calc(100% + var(--spacing-xs, 8px));padding:8px;padding:var(--spacing-xs, 8px);border-radius:3px;white-space:nowrap;color:#fff;color:var(--white, #ffffff);background-color:#3c4557;background-color:var(--grey-600, #3c4557);font-weight:400}.k-button-icon[data-v-034f9b55]{display:inline-flex;justify-content:center;align-items:center}.k-line-number-rows[data-v-034f9b55]{box-sizing:border-box;user-select:none;display:flex;flex-direction:column}.k-line-number-rows[data-v-034f9b55],.k-line-number-rows a[data-v-034f9b55]{color:#6f7787;color:var(--grey-500, #6f7787)}.k-line[data-v-034f9b55]{display:inline-flex;justify-content:flex-end}.k-line-is-match[data-v-034f9b55]:before{content:"\a0";pointer-events:none;position:absolute;left:0;right:0;background-color:#4954691a}.k-line-is-highlighted-match[data-v-034f9b55]:before{border-left:5px solid #1155cb;border-left:5px solid var(--KCodeBlockMatchHighlightColor, var(--blue-500, #1155cb));background-color:#49546933}.k-line-anchor[data-v-034f9b55]:not([href]){text-decoration:none}.k-line-anchor[href][data-v-034f9b55]:hover{color:var(--grey-600);text-decoration:underline}.k-matched-term{color:color(teal-500);color:var(--teal-500, color(teal-500));font-weight:900}.k-code-block .k-button.small{padding-right:spacing(xs);padding-right:var(--spacing-xs, spacing(xs));padding-left:spacing(xs);padding-left:var(--spacing-xs, spacing(xs))}.k-code-block .kong-icon{display:inline-flex;justify-content:center;align-items:center}.k-collapse .k-collapse-title[data-v-e568b790]{font-size:var(--type-lg);font-weight:600}.k-collapse .k-collapse-trigger[data-v-e568b790]{cursor:pointer}.k-collapse .k-collapse-trigger .k-collapse-trigger-content[data-v-e568b790]{color:var(--blue-500);color:var(--KCollapseTriggerColor, var(--blue-500));font-size:var(--type-sm);font-weight:600}.k-collapse .k-collapse-trigger .k-collapse-trigger-content .k-collapse-trigger-chevron.kong-icon.kong-icon-chevronDown svg path,.k-collapse .k-collapse-trigger .k-collapse-trigger-content .k-collapse-trigger-chevron.kong-icon.kong-icon-chevronRight svg path{stroke:var(--blue-500);stroke:var(--KCollapseTriggerColor, var(--blue-500))}.k-collapse .k-collapse-trigger .k-collapse-trigger-content .k-collapse-trigger-icon.kong-icon{padding-right:0}.k-collapse .k-collapse-trigger .k-collapse-trigger-content .k-collapse-trigger-label .kong-icon{top:2px;position:relative}.segmented-control .k-button[data-v-1f9c6dfd]{--KButtonPrimaryBase: var(--blue-100);--KButtonPrimaryHover: var(--blue-100);color:#1155cb;color:var(--KSegementedControlPrimary, var(--blue-500, #1155cb));border-radius:0;margin-left:-1px;flex:1}.segmented-control .k-button.primary[data-v-1f9c6dfd]{z-index:1;border-color:var(--blue-500)}.segmented-control .k-button[data-v-1f9c6dfd]:hover,.segmented-control .k-button[data-v-1f9c6dfd]:active{z-index:2}.segmented-control .k-button[data-v-1f9c6dfd]:focus{z-index:3;box-shadow:0 0 0 2px var(--white),0 0 0 4px var(--blue-500)}.segmented-control .k-button[data-v-1f9c6dfd]:first-child{border-radius:3px 0 0 3px;margin-left:0}.segmented-control .k-button[data-v-1f9c6dfd]:last-child{border-radius:0 3px 3px 0}.segmented-control .k-button[data-v-1f9c6dfd]:only-child{border-radius:3px;margin-left:0}.segmented-control .k-button[data-v-1f9c6dfd]:disabled{border-color:var(--grey-500)}.vc-pane-container{width:100%;position:relative}.vc-pane-container.in-transition{overflow:hidden}.vc-pane-layout{display:grid}.vc-arrow{display:flex;justify-content:center;align-items:center;cursor:pointer;user-select:none;pointer-events:auto;color:var(--gray-600);border-width:2px;border-style:solid;border-radius:var(--rounded);border-color:transparent}.vc-arrow:hover{background:var(--gray-200)}.vc-arrow:focus{border-color:var(--gray-300)}.vc-arrow.is-disabled{opacity:.25;pointer-events:none;cursor:not-allowed}.vc-day-popover-container{color:var(--white);background-color:var(--gray-800);border:1px solid;border-color:var(--gray-700);border-radius:var(--rounded);font-size:var(--text-xs);font-weight:var(--font-medium);padding:4px 8px;box-shadow:var(--shadow)}.vc-day-popover-header{font-size:var(--text-xs);color:var(--gray-300);font-weight:var(--font-semibold);text-align:center}.vc-arrows-container{width:100%;position:absolute;top:0;display:flex;justify-content:space-between;padding:8px 10px;pointer-events:none}.vc-arrows-container.title-left{justify-content:flex-end}.vc-arrows-container.title-right{justify-content:flex-start}.vc-is-dark .vc-arrow{color:var(--white)}.vc-is-dark .vc-arrow:hover{background:var(--gray-800)}.vc-is-dark .vc-arrow:focus{border-color:var(--gray-700)}.vc-is-dark .vc-day-popover-container{color:var(--gray-800);background-color:var(--white);border-color:var(--gray-100)}.vc-is-dark .vc-day-popover-header{color:var(--gray-700)}.vc-day{position:relative;min-height:32px;z-index:1}.vc-day.is-not-in-month *{opacity:0;pointer-events:none}.vc-day-layer{position:absolute;left:0;right:0;top:0;bottom:0;pointer-events:none}.vc-day-box-center-center{display:flex;justify-content:center;align-items:center;transform-origin:50% 50%}.vc-day-box-left-center{display:flex;justify-content:flex-start;align-items:center;transform-origin:0% 50%}.vc-day-box-right-center{display:flex;justify-content:flex-end;align-items:center;transform-origin:100% 50%}.vc-day-box-center-bottom{display:flex;justify-content:center;align-items:flex-end}.vc-day-content{display:flex;justify-content:center;align-items:center;font-size:var(--text-sm);font-weight:var(--font-medium);width:28px;height:28px;line-height:28px;border-radius:var(--rounded-full);user-select:none;cursor:pointer}.vc-day-content:hover{background-color:#ccd6e04d}.vc-day-content:focus{font-weight:var(--font-bold);background-color:#ccd6e066}.vc-day-content.is-disabled{color:var(--gray-400)}.vc-is-dark .vc-day-content:hover{background-color:#7281974d}.vc-is-dark .vc-day-content:focus{background-color:#72819766}.vc-is-dark .vc-day-content.is-disabled{color:var(--gray-600)}.vc-highlights{overflow:hidden;pointer-events:none;z-index:-1}.vc-highlight{width:28px;height:28px}.vc-highlight.vc-highlight-base-start{width:50%!important;border-radius:0!important;border-right-width:0!important}.vc-highlight.vc-highlight-base-end{width:50%!important;border-radius:0!important;border-left-width:0!important}.vc-highlight.vc-highlight-base-middle{width:100%;border-radius:0!important;border-left-width:0!important;border-right-width:0!important;margin:0 -1px}.vc-dots{display:flex;justify-content:center;align-items:center}.vc-dot{width:5px;height:5px;border-radius:50%;transition:all var(--day-content-transition-time)}.vc-dot:not(:last-child){margin-right:3px}.vc-bars{display:flex;justify-content:flex-start;align-items:center;width:75%}.vc-bar{flex-grow:1;height:3px;transition:all var(--day-content-transition-time)}.vc-nav-header{display:flex;justify-content:space-between}.vc-nav-arrow{display:flex;justify-content:center;align-items:center;cursor:pointer;user-select:none;line-height:var(--leading-snug);border-width:2px;border-style:solid;border-color:transparent;border-radius:var(--rounded)}.vc-nav-arrow.is-left{margin-right:auto}.vc-nav-arrow.is-right{margin-left:auto}.vc-nav-arrow.is-disabled{opacity:.25;pointer-events:none;cursor:not-allowed}.vc-nav-arrow:hover{background-color:var(--gray-900)}.vc-nav-arrow:focus{border-color:var(--accent-600)}.vc-nav-title{color:var(--accent-100);font-weight:var(--font-bold);line-height:var(--leading-snug);padding:4px 8px;border-radius:var(--rounded);border-width:2px;border-style:solid;border-color:transparent;user-select:none}.vc-nav-title:hover{background-color:var(--gray-900)}.vc-nav-title:focus{border-color:var(--accent-600)}.vc-nav-items{display:grid;grid-template-columns:repeat(3,1fr);grid-row-gap:2px;grid-column-gap:5px}.vc-nav-item{width:48px;text-align:center;line-height:var(--leading-snug);font-weight:var(--font-semibold);padding:4px 0;cursor:pointer;border-width:2px;border-style:solid;border-color:transparent;border-radius:var(--rounded);user-select:none}.vc-nav-item:hover{color:var(--white);background-color:var(--gray-900);box-shadow:var(--shadow-inner)}.vc-nav-item.is-active{color:var(--accent-900);background:var(--accent-100);font-weight:var(--font-bold);box-shadow:var(--shadow)}.vc-nav-item.is-current{color:var(--accent-100);font-weight:var(--bold);border-color:var(--accent-100)}.vc-nav-item:focus{border-color:var(--accent-600)}.vc-nav-item.is-disabled{opacity:.25;pointer-events:none}.vc-is-dark .vc-nav-title{color:var(--gray-900)}.vc-is-dark .vc-nav-title:hover{background-color:var(--gray-200)}.vc-is-dark .vc-nav-title:focus{border-color:var(--accent-400)}.vc-is-dark .vc-nav-arrow:hover{background-color:var(--gray-200)}.vc-is-dark .vc-nav-arrow:focus{border-color:var(--accent-400)}.vc-is-dark .vc-nav-item:hover{color:var(--gray-900);background-color:var(--gray-200);box-shadow:none}.vc-is-dark .vc-nav-item.is-active{color:var(--white);background:var(--accent-500)}.vc-is-dark .vc-nav-item.is-current{color:var(--accent-600);border-color:var(--accent-500)}.vc-is-dark .vc-nav-item:focus{border-color:var(--accent-400)}.vc-pane{min-width:250px}.vc-header{display:flex;justify-content:center;align-items:center;padding:10px 16px 0}.vc-header.align-left{justify-content:flex-start}.vc-header.align-right{justify-content:flex-end}.vc-title{font-size:var(--text-lg);color:var(--gray-800);font-weight:var(--font-semibold);line-height:28px;cursor:pointer;user-select:none;white-space:nowrap}.vc-title:hover{opacity:.75}.vc-weeknumber{display:flex;justify-content:center;align-items:center;position:relative}.vc-weeknumber-content{display:flex;justify-content:center;align-items:center;font-size:var(--text-xs);font-weight:var(--font-medium);font-style:italic;width:28px;height:28px;margin-top:2px;color:var(--gray-500);user-select:none}.vc-weeknumber-content.is-left-outside{position:absolute;left:var(--weeknumber-offset)}.vc-weeknumber-content.is-right-outside{position:absolute;right:var(--weeknumber-offset)}.vc-weeks{display:grid;grid-template-columns:repeat(7,1fr);position:relative;-webkit-overflow-scrolling:touch;padding:6px;min-width:250px}.vc-weeks.vc-show-weeknumbers{grid-template-columns:auto repeat(7,1fr)}.vc-weeks.vc-show-weeknumbers.is-right{grid-template-columns:repeat(7,1fr) auto}.vc-weekday{text-align:center;color:var(--gray-500);font-size:var(--text-sm);font-weight:var(--font-bold);line-height:14px;padding-top:4px;padding-bottom:8px;cursor:default;user-select:none}.vc-weekdays{display:flex}.vc-nav-popover-container{color:var(--white);font-size:var(--text-sm);font-weight:var(--font-semibold);background-color:var(--gray-800);border:1px solid;border-color:var(--gray-700);border-radius:var(--rounded-lg);padding:4px;box-shadow:var(--shadow)}.vc-is-dark .vc-header{color:var(--gray-200)}.vc-is-dark .vc-title{color:var(--gray-100)}.vc-is-dark .vc-weekday{color:var(--accent-200)}.vc-is-dark .vc-nav-popover-container{color:var(--gray-800);background-color:var(--white);border-color:var(--gray-100)}.vc-none-enter-active,.vc-none-leave-active{transition-duration:0s}.vc-fade-enter-active,.vc-fade-leave-active,.vc-slide-left-enter-active,.vc-slide-left-leave-active,.vc-slide-right-enter-active,.vc-slide-right-leave-active,.vc-slide-up-enter-active,.vc-slide-up-leave-active,.vc-slide-down-enter-active,.vc-slide-down-leave-active,.vc-slide-fade-enter-active,.vc-slide-fade-leave-active{transition:transform var(--slide-duration) var(--slide-timing),opacity var(--slide-duration) var(--slide-timing);backface-visibility:hidden;pointer-events:none}.vc-none-leave-active,.vc-fade-leave-active,.vc-slide-left-leave-active,.vc-slide-right-leave-active,.vc-slide-up-leave-active,.vc-slide-down-leave-active{position:absolute!important;width:100%}.vc-none-enter-from,.vc-none-leave-to,.vc-fade-enter-from,.vc-fade-leave-to,.vc-slide-left-enter-from,.vc-slide-left-leave-to,.vc-slide-right-enter-from,.vc-slide-right-leave-to,.vc-slide-up-enter-from,.vc-slide-up-leave-to,.vc-slide-down-enter-from,.vc-slide-down-leave-to,.vc-slide-fade-enter-from,.vc-slide-fade-leave-to{opacity:0}.vc-slide-left-enter-from,.vc-slide-right-leave-to,.vc-slide-fade-enter-from.direction-left,.vc-slide-fade-leave-to.direction-left{transform:translate(var(--slide-translate))}.vc-slide-right-enter-from,.vc-slide-left-leave-to,.vc-slide-fade-enter-from.direction-right,.vc-slide-fade-leave-to.direction-right{transform:translate(calc(-1 * var(--slide-translate)))}.vc-slide-up-enter-from,.vc-slide-down-leave-to,.vc-slide-fade-enter-from.direction-top,.vc-slide-fade-leave-to.direction-top{transform:translateY(var(--slide-translate))}.vc-slide-down-enter-from,.vc-slide-up-leave-to,.vc-slide-fade-enter-from.direction-bottom,.vc-slide-fade-leave-to.direction-bottom{transform:translateY(calc(-1 * var(--slide-translate)))}.vc-popover-content-wrapper{--popover-horizontal-content-offset: 8px;--popover-vertical-content-offset: 10px;--popover-caret-horizontal-offset: 18px;--popover-caret-vertical-offset: 8px;position:absolute;display:block;outline:none;z-index:10}.vc-popover-content-wrapper:not(.is-interactive){pointer-events:none}.vc-popover-content{position:relative;outline:none;z-index:10;box-shadow:var(--shadow-lg)}.vc-popover-content.direction-bottom{margin-top:var(--popover-vertical-content-offset)}.vc-popover-content.direction-top{margin-bottom:var(--popover-vertical-content-offset)}.vc-popover-content.direction-left{margin-right:var(--popover-horizontal-content-offset)}.vc-popover-content.direction-right{margin-left:var(--popover-horizontal-content-offset)}.vc-popover-caret{content:"";position:absolute;display:block;width:12px;height:12px;border-top:inherit;border-left:inherit;background-color:inherit;z-index:-1}.vc-popover-caret.direction-bottom{top:0}.vc-popover-caret.direction-bottom.align-left{transform:translateY(-50%) rotate(45deg)}.vc-popover-caret.direction-bottom.align-center{transform:translate(-50%) translateY(-50%) rotate(45deg)}.vc-popover-caret.direction-bottom.align-right{transform:translateY(-50%) rotate(45deg)}.vc-popover-caret.direction-top{top:100%}.vc-popover-caret.direction-top.align-left{transform:translateY(-50%) rotate(-135deg)}.vc-popover-caret.direction-top.align-center{transform:translate(-50%) translateY(-50%) rotate(-135deg)}.vc-popover-caret.direction-top.align-right{transform:translateY(-50%) rotate(-135deg)}.vc-popover-caret.direction-left{left:100%}.vc-popover-caret.direction-left.align-top{transform:translate(-50%) rotate(135deg)}.vc-popover-caret.direction-left.align-middle{transform:translateY(-50%) translate(-50%) rotate(135deg)}.vc-popover-caret.direction-left.align-bottom{transform:translate(-50%) rotate(135deg)}.vc-popover-caret.direction-right{left:0}.vc-popover-caret.direction-right.align-top{transform:translate(-50%) rotate(-45deg)}.vc-popover-caret.direction-right.align-middle{transform:translateY(-50%) translate(-50%) rotate(-45deg)}.vc-popover-caret.direction-right.align-bottom{transform:translate(-50%) rotate(-45deg)}.vc-popover-caret.align-left{left:var(--popover-caret-horizontal-offset)}.vc-popover-caret.align-center{left:50%}.vc-popover-caret.align-right{right:var(--popover-caret-horizontal-offset)}.vc-popover-caret.align-top{top:var(--popover-caret-vertical-offset)}.vc-popover-caret.align-middle{top:50%}.vc-popover-caret.align-bottom{bottom:var(--popover-caret-vertical-offset)}.vc-day-popover-row{--day-content-transition-time: .13s ease-in;display:flex;align-items:center;transition:all var(--day-content-transition-time)}.vc-day-popover-row:not(:first-child){margin-top:3px}.vc-day-popover-row-indicator{display:flex;justify-content:center;align-items:center;flex-grow:0;width:15px;margin-right:3px}.vc-day-popover-row-indicator span{transition:all var(--day-content-transition-time)}.vc-day-popover-row-content{display:flex;align-items:center;flex-wrap:none;flex-grow:1;width:max-content}.vc-svg-icon{display:inline-block;stroke:currentColor;stroke-width:0}.vc-svg-icon path{fill:currentColor}.vc-time-picker{display:flex;align-items:center;padding:8px}.vc-time-picker.vc-invalid{pointer-events:none;opacity:.5}.vc-time-picker.vc-bordered{border-top:1px solid var(--gray-400)}.vc-time-icon{width:16px;height:16px;color:var(--gray-600)}.vc-time-content{margin-left:8px}.vc-time-date{display:flex;align-items:center;font-size:var(--text-sm);font-weight:var(--font-semibold);text-transform:uppercase;padding:0 0 4px 4px;margin-top:-4px;line-height:21px}.vc-time-weekday{color:var(--gray-700);letter-spacing:var(--tracking-wide)}.vc-time-month{color:var(--accent-600);margin-left:8px}.vc-time-day{color:var(--accent-600);margin-left:4px}.vc-time-year{color:var(--gray-500);margin-left:8px}.vc-time-select{display:flex;align-items:center}.vc-am-pm{display:flex;align-items:center;background:var(--gray-200);color:var(--gray-800);margin-left:8px;padding:4px;border-radius:var(--rounded);height:30px}.vc-am-pm button{font-size:var(--text-sm);font-weight:var(--font-medium);padding:0 4px;background:transparent;border:2px solid transparent;border-radius:var(--rounded);line-height:var(--leading-snug)}.vc-am-pm button:hover{color:var(--gray-600)}.vc-am-pm button:focus{border-color:var(--accent-400)}.vc-am-pm button.active{background:var(--accent-600);color:var(--white)}.vc-am-pm button.active:hover{background:var(--accent-500)}.vc-am-pm button.active:focus{border-color:var(--accent-400)}.vc-is-dark .vc-time-picker{border-color:var(--gray-700)}.vc-is-dark .vc-time-icon,.vc-is-dark .vc-time-weekday{color:var(--gray-400)}.vc-is-dark .vc-time-month,.vc-is-dark .vc-time-day{color:var(--accent-400)}.vc-is-dark .vc-time-year{color:var(--gray-500)}.vc-is-dark .vc-am-pm{background:var(--gray-700)}.vc-is-dark .vc-am-pm:focus{border-color:var(--accent-500)}.vc-is-dark .vc-am-pm button{color:var(--gray-100)}.vc-is-dark .vc-am-pm button:hover{color:var(--gray-400)}.vc-is-dark .vc-am-pm button:focus{border-color:var(--accent-500)}.vc-is-dark .vc-am-pm button.active{background:var(--accent-500);color:var(--white)}.vc-is-dark .vc-am-pm button.active:hover{background:var(--accent-600)}.vc-is-dark .vc-am-pm button.active:focus{border-color:var(--accent-500)}.vc-select{position:relative}.vc-select select{flex-grow:1;display:block;appearance:none;width:52px;height:30px;font-size:var(--text-base);font-weight:var(--font-medium);text-align:left;background-color:var(--gray-200);border:2px solid;border-color:var(--gray-200);color:var(--gray-900);padding:0 20px 0 8px;border-radius:var(--rounded);line-height:var(--leading-tight);text-indent:0px;cursor:pointer;-moz-padding-start:3px;background-image:none}.vc-select select:hover{color:var(--gray-600)}.vc-select select:focus{outline:0;border-color:var(--accent-400);background-color:var(--white)}.vc-select-arrow{display:flex;align-items:center;pointer-events:none;position:absolute;top:0;bottom:0;right:0;padding:0 4px 0 0;color:var(--gray-500)}.vc-select-arrow svg{width:16px;height:16px;fill:currentColor}.vc-is-dark select{background:var(--gray-700);color:var(--gray-100);border-color:var(--gray-700)}.vc-is-dark select:hover{color:var(--gray-400)}.vc-is-dark select:focus{border-color:var(--accent-500);background-color:var(--gray-800)}.vc-container{--white: #ffffff;--black: #000000;--gray-100: #f7fafc;--gray-200: #edf2f7;--gray-300: #e2e8f0;--gray-400: #cbd5e0;--gray-500: #a0aec0;--gray-600: #718096;--gray-700: #4a5568;--gray-800: #2d3748;--gray-900: #1a202c;--red-100: #fff5f5;--red-200: #fed7d7;--red-300: #feb2b2;--red-400: #fc8181;--red-500: #f56565;--red-600: #e53e3e;--red-700: #c53030;--red-800: #9b2c2c;--red-900: #742a2a;--orange-100: #fffaf0;--orange-200: #feebc8;--orange-300: #fbd38d;--orange-400: #f6ad55;--orange-500: #ed8936;--orange-600: #dd6b20;--orange-700: #c05621;--orange-800: #9c4221;--orange-900: #7b341e;--yellow-100: #fffff0;--yellow-200: #fefcbf;--yellow-300: #faf089;--yellow-400: #f6e05e;--yellow-500: #ecc94b;--yellow-600: #d69e2e;--yellow-700: #b7791f;--yellow-800: #975a16;--yellow-900: #744210;--green-100: #f0fff4;--green-200: #c6f6d5;--green-300: #9ae6b4;--green-400: #68d391;--green-500: #48bb78;--green-600: #38a169;--green-700: #2f855a;--green-800: #276749;--green-900: #22543d;--teal-100: #e6fffa;--teal-200: #b2f5ea;--teal-300: #81e6d9;--teal-400: #4fd1c5;--teal-500: #38b2ac;--teal-600: #319795;--teal-700: #2c7a7b;--teal-800: #285e61;--teal-900: #234e52;--blue-100: #ebf8ff;--blue-200: #bee3f8;--blue-300: #90cdf4;--blue-400: #63b3ed;--blue-500: #4299e1;--blue-600: #3182ce;--blue-700: #2b6cb0;--blue-800: #2c5282;--blue-900: #2a4365;--indigo-100: #ebf4ff;--indigo-200: #c3dafe;--indigo-300: #a3bffa;--indigo-400: #7f9cf5;--indigo-500: #667eea;--indigo-600: #5a67d8;--indigo-700: #4c51bf;--indigo-800: #434190;--indigo-900: #3c366b;--purple-100: #faf5ff;--purple-200: #e9d8fd;--purple-300: #d6bcfa;--purple-400: #b794f4;--purple-500: #9f7aea;--purple-600: #805ad5;--purple-700: #6b46c1;--purple-800: #553c9a;--purple-900: #44337a;--pink-100: #fff5f7;--pink-200: #fed7e2;--pink-300: #fbb6ce;--pink-400: #f687b3;--pink-500: #ed64a6;--pink-600: #d53f8c;--pink-700: #b83280;--pink-800: #97266d;--pink-900: #702459}.vc-container.vc-red{--accent-100: var(--red-100);--accent-200: var(--red-200);--accent-300: var(--red-300);--accent-400: var(--red-400);--accent-500: var(--red-500);--accent-600: var(--red-600);--accent-700: var(--red-700);--accent-800: var(--red-800);--accent-900: var(--red-900)}.vc-container.vc-orange{--accent-100: var(--orange-100);--accent-200: var(--orange-200);--accent-300: var(--orange-300);--accent-400: var(--orange-400);--accent-500: var(--orange-500);--accent-600: var(--orange-600);--accent-700: var(--orange-700);--accent-800: var(--orange-800);--accent-900: var(--orange-900)}.vc-container.vc-yellow{--accent-100: var(--yellow-100);--accent-200: var(--yellow-200);--accent-300: var(--yellow-300);--accent-400: var(--yellow-400);--accent-500: var(--yellow-500);--accent-600: var(--yellow-600);--accent-700: var(--yellow-700);--accent-800: var(--yellow-800);--accent-900: var(--yellow-900)}.vc-container.vc-green{--accent-100: var(--green-100);--accent-200: var(--green-200);--accent-300: var(--green-300);--accent-400: var(--green-400);--accent-500: var(--green-500);--accent-600: var(--green-600);--accent-700: var(--green-700);--accent-800: var(--green-800);--accent-900: var(--green-900)}.vc-container.vc-teal{--accent-100: var(--teal-100);--accent-200: var(--teal-200);--accent-300: var(--teal-300);--accent-400: var(--teal-400);--accent-500: var(--teal-500);--accent-600: var(--teal-600);--accent-700: var(--teal-700);--accent-800: var(--teal-800);--accent-900: var(--teal-900)}.vc-container.vc-blue{--accent-100: var(--blue-100);--accent-200: var(--blue-200);--accent-300: var(--blue-300);--accent-400: var(--blue-400);--accent-500: var(--blue-500);--accent-600: var(--blue-600);--accent-700: var(--blue-700);--accent-800: var(--blue-800);--accent-900: var(--blue-900)}.vc-container.vc-indigo{--accent-100: var(--indigo-100);--accent-200: var(--indigo-200);--accent-300: var(--indigo-300);--accent-400: var(--indigo-400);--accent-500: var(--indigo-500);--accent-600: var(--indigo-600);--accent-700: var(--indigo-700);--accent-800: var(--indigo-800);--accent-900: var(--indigo-900)}.vc-container.vc-purple{--accent-100: var(--purple-100);--accent-200: var(--purple-200);--accent-300: var(--purple-300);--accent-400: var(--purple-400);--accent-500: var(--purple-500);--accent-600: var(--purple-600);--accent-700: var(--purple-700);--accent-800: var(--purple-800);--accent-900: var(--purple-900)}.vc-container.vc-pink{--accent-100: var(--pink-100);--accent-200: var(--pink-200);--accent-300: var(--pink-300);--accent-400: var(--pink-400);--accent-500: var(--pink-500);--accent-600: var(--pink-600);--accent-700: var(--pink-700);--accent-800: var(--pink-800);--accent-900: var(--pink-900)}.vc-container{--font-normal: 400;--font-medium: 500;--font-semibold: 600;--font-bold: 700;--text-xs: 12px;--text-sm: 14px;--text-base: 16px;--text-lg: 18px;--leading-snug: 1.375;--rounded: .25rem;--rounded-lg: .5rem;--rounded-full: 9999px;--shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);--shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, .06);--slide-translate: 22px;--slide-duration: .15s;--slide-timing: ease;--day-content-transition-time: .13s ease-in;--weeknumber-offset: -34px;position:relative;display:inline-flex;width:max-content;height:max-content;font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif;color:var(--gray-900);background-color:var(--white);border:1px solid;border-color:var(--gray-400);border-radius:var(--rounded-lg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent}.vc-container,.vc-container *{box-sizing:border-box}.vc-container:focus,.vc-container *:focus{outline:none}.vc-container button,.vc-container [role=button]{cursor:pointer}.vc-container.vc-is-expanded{min-width:100%}.vc-container .vc-container{border:none}.vc-container.vc-is-dark{color:var(--gray-100);background-color:var(--gray-900);border-color:var(--gray-700)}.k-datetime-picker{max-width:100%}.k-datetime-picker.set-min-width .k-popover{min-width:360px}.k-datetime-picker .timepicker-input{--KButtonOutlineColor: var(--grey-500);--KButtonOutlineBorder: var(--grey-300);--KButtonOutlineActive: var(--white);--KButtonOutlineHoverBorder: var(--blue-200);padding:var(--spacing-sm) var(--spacing-sm)!important;font-weight:500;max-width:100%;background-color:#fff;background-color:var(--KInputBackground, var(--white, #ffffff));box-shadow:inset 0 0 0 1px var(--grey-300)!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:color .1s ease,box-shadow .1s ease}.k-datetime-picker .timepicker-input.set-min-width{min-width:360px}.k-datetime-picker .timepicker-input:hover{box-shadow:inset 0 0 0 1px var(--blue-200)!important;box-shadow:inset 0 0 0 1px var(--KInputHover, var(--blue-200))!important;transition:all .1s ease}.k-datetime-picker .timepicker-input:focus,.k-datetime-picker .timepicker-input:active{outline:none!important;box-shadow:inset 0 0 0 1px var(--blue-400)!important;box-shadow:inset 0 0 0 1px var(--KInputFocus, var(--blue-400))!important;transition:all .1s ease}.k-datetime-picker .timepicker-input:focus>.kong-icon path,.k-datetime-picker .timepicker-input:active>.kong-icon path{fill:var(--grey-600)}.k-datetime-picker .timepicker-input .timepicker-display{flex-wrap:wrap}.k-datetime-picker .timepicker-input .timepicker-display div{width:auto;text-align:left;padding:0;margin:0;line-height:1.3;white-space:nowrap}.k-datetime-picker .k-popover{max-height:90vh;width:100%!important;overflow:hidden;padding:var(--spacing-sm)}.k-datetime-picker .k-popover[x-placement^=bottom]{margin-top:2px}.k-datetime-picker .k-popover[x-placement^=top]{margin-bottom:2px}.k-datetime-picker .k-popover .k-popover-content .range-display{margin:0 auto}.k-datetime-picker .k-popover .k-popover-content .timeframe-section .timeframe-section-title{font-weight:600;margin-bottom:var(--spacing-xs)}.k-datetime-picker .k-popover .k-popover-content .timeframe-section .timeframe-buttons{flex-wrap:wrap}.k-datetime-picker .k-popover .k-popover-content .timeframe-section .timeframe-buttons .timeframe-btn{font-size:var(--type-sm);font-weight:400;flex:0 calc(33% - 3px);margin-right:6px;padding:var(--spacing-sm) var(--spacing-md);justify-content:center;margin-bottom:6px}.k-datetime-picker .k-popover .k-popover-content .timeframe-section .timeframe-buttons .timeframe-btn.selected-option{color:#fff;background-color:var(--blue-500);font-weight:500}.k-datetime-picker .k-popover .k-popover-content .timeframe-section .timeframe-buttons .timeframe-btn:nth-child(3n){margin-right:0}.k-datetime-picker .k-popover .k-popover-content .timeframe-section .timeframe-buttons .timeframe-btn:focus{box-shadow:none}.k-datetime-picker .k-popover .k-popover-footer{margin:var(--spacing-md) auto 0}.k-datetime-picker .k-popover .k-popover-footer .action-btn{padding:0 var(--spacing-md) var(--spacing-xs)}.k-datetime-picker .k-popover .k-popover-footer .action-btn:focus{box-shadow:none}.k-datetime-picker .vc-container{border:0}.k-datetime-picker .vc-container .vc-time-icon{display:none}.k-datetime-picker .vc-container .vc-bordered{border:0}.k-datetime-picker .vc-container .vc-highlights+.vc-day-content{color:var(--white);font-weight:600}.k-datetime-picker .vc-container .vc-highlights+.vc-day-content:focus{background-color:#1155cb}.k-datetime-picker .vc-container .vc-nav-popover-container{background-color:var(--white);border:1px solid #e7e7ec;color:#6f7787}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-arrow{background-color:var(--white)}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-arrow:active,.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-arrow:focus{border:2px solid var(--white)}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-header .vc-nav-title{color:#6f7787}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-header .vc-nav-title:hover{background-color:var(--white);color:#3c4557}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-header .vc-nav-title:active,.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-header .vc-nav-title:focus{border:2px solid var(--white)}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-items .vc-nav-item{color:#6f7787}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-items .vc-nav-item:hover{color:#3c4557;background-color:#f2f6fe;box-shadow:none}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-items .vc-nav-item.is-current{border-color:transparent}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-items .vc-nav-item.is-active{background-color:#1155cb;color:var(--white);font-weight:600;box-shadow:none}.k-datetime-picker .vc-container .vc-nav-popover-container .vc-nav-container .vc-nav-items .vc-nav-item.is-disabled{color:var(--grey-400);cursor:not-allowed;opacity:1}.k-datetime-picker .vc-container .vc-time-picker{border-top:1px solid var(--white)!important}.k-datetime-picker .vc-container .vc-time-picker:last-of-type{padding-bottom:0}.k-datetime-picker .vc-container .vc-time-picker .vc-date .vc-weekday,.k-datetime-picker .vc-container .vc-time-picker .vc-date .vc-month,.k-datetime-picker .vc-container .vc-time-picker .vc-date .vc-year{color:#6f7787!important}.k-datetime-picker .vc-container .vc-pane-container .vc-arrows-container,.k-datetime-picker .vc-container .vc-pane-container .vc-header{padding:2px 16px 0}.k-datetime-picker .vc-container .vc-pane-container .vc-header .vc-title{color:#6f7787}.k-datetime-picker .vc-container .vc-pane-container .vc-header .vc-title:hover,.k-datetime-picker .vc-container .vc-pane-container .vc-header .vc-title:active{color:#3c4557}.k-datetime-picker .vc-container .vc-pane-container .vc-weeks .vc-weekday{color:#6f7787}.k-datetime-picker .vc-container .vc-pane-container .vc-select select,.k-datetime-picker .vc-container .vc-time-picker .vc-select select,.k-datetime-picker .vc-container .vc-pane-container .vc-select select:hover,.k-datetime-picker .vc-container .vc-time-picker .vc-select select:hover{color:#3c4557}.k-datetime-picker .vc-container .vc-pane-container .vc-select select:focus,.k-datetime-picker .vc-container .vc-time-picker .vc-select select:focus{border:2px solid var(--white);color:#3c4557}.k-datetime-picker .vc-container .vc-pane-container .vc-time-month,.k-datetime-picker .vc-container .vc-pane-container .vc-time-day,.k-datetime-picker .vc-container .vc-pane-container .vc-time-year,.k-datetime-picker .vc-container .vc-time-picker .vc-time-month,.k-datetime-picker .vc-container .vc-time-picker .vc-time-day,.k-datetime-picker .vc-container .vc-time-picker .vc-time-year,.k-datetime-picker .vc-container .vc-pane-container .vc-month,.k-datetime-picker .vc-container .vc-pane-container .vc-day,.k-datetime-picker .vc-container .vc-time-picker .vc-month,.k-datetime-picker .vc-container .vc-time-picker .vc-day{color:#6f7787}.k-datetime-picker .vc-container .vc-pane-container .vc-am-pm,.k-datetime-picker .vc-container .vc-time-picker .vc-am-pm,.k-datetime-picker .vc-container .vc-pane-container .vc-am-pm button:active,.k-datetime-picker .vc-container .vc-pane-container .vc-am-pm button:hover,.k-datetime-picker .vc-container .vc-time-picker .vc-am-pm button:active,.k-datetime-picker .vc-container .vc-time-picker .vc-am-pm button:hover{color:#3c4557}.k-datetime-picker .vc-container .vc-pane-container .vc-am-pm button:focus,.k-datetime-picker .vc-container .vc-time-picker .vc-am-pm button:focus{border:2px solid transparent}.k-datetime-picker .vc-container .vc-pane-container .vc-am-pm button.active,.k-datetime-picker .vc-container .vc-time-picker .vc-am-pm button.active{background-color:#1155cb}.k-datetime-picker .vc-container .vc-pane-container .vc-am-pm button.active:hover,.k-datetime-picker .vc-container .vc-pane-container .vc-am-pm button.active:focus,.k-datetime-picker .vc-container .vc-time-picker .vc-am-pm button.active:hover,.k-datetime-picker .vc-container .vc-time-picker .vc-am-pm button.active:focus{color:var(--white);border-color:#1155cb;background-color:#1155cb}.k-datetime-picker .vc-container .vc-pane-container .vc-am-pm button.active:active,.k-datetime-picker .vc-container .vc-time-picker .vc-am-pm button.active:active{color:var(--white);border-color:#8ab3fa;background-color:#8ab3fa}.k-datetime-picker .vc-container .vc-pane-container .vc-highlight.vcal-day-start,.k-datetime-picker .vc-container .vc-pane-container .vc-highlight.vcal-day-end,.k-datetime-picker .vc-container .vc-time-picker .vc-highlight.vcal-day-start,.k-datetime-picker .vc-container .vc-time-picker .vc-highlight.vcal-day-end{background-color:#1155cb;color:#fff!important}.k-datetime-picker .vc-container .vc-pane-container .vc-highlight.vcal-day-base,.k-datetime-picker .vc-container .vc-pane-container .vc-highlight.vc-highlight-base-middle,.k-datetime-picker .vc-container .vc-time-picker .vc-highlight.vcal-day-base,.k-datetime-picker .vc-container .vc-time-picker .vc-highlight.vc-highlight-base-middle{background-color:#bdd3f9}.k-datetime-picker .vc-container .vc-pane-container .vcal-day-drag-start,.k-datetime-picker .vc-container .vc-pane-container .vcal-day-drag-end,.k-datetime-picker .vc-container .vc-time-picker .vcal-day-drag-start,.k-datetime-picker .vc-container .vc-time-picker .vcal-day-drag-end{border:2px solid #3972d5;background-color:#1155cb;color:#fff}.k-datetime-picker .vc-container .vc-pane-container .vc-day-content:hover,.k-datetime-picker .vc-container .vc-time-picker .vc-day-content:hover{color:#1155cb;background-color:#fff;border:2px solid #3972d5}.k-datetime-picker .vc-container .vc-pane-container .vc-highlight.vc-highlight-base-start,.k-datetime-picker .vc-container .vc-pane-container .vc-highlight.vc-highlight-base-end,.k-datetime-picker .vc-container .vc-time-picker .vc-highlight.vc-highlight-base-start,.k-datetime-picker .vc-container .vc-time-picker .vc-highlight.vc-highlight-base-end{background-color:#bdd3f9}li.k-dropdown-item[data-v-a0c39af6]{display:flex;align-items:center;font-size:1rem;line-height:1}li.k-dropdown-item.has-divider[data-v-a0c39af6]{position:relative;margin-top:24px}li.k-dropdown-item.has-divider[data-v-a0c39af6]:before{position:absolute;display:block;content:"";height:1px;width:100%;top:-13px;background:var(--grey-200)}li.k-dropdown-item svg[data-v-a0c39af6]{margin-right:.75rem}li.k-dropdown-item[data-v-a0c39af6]:hover{background-color:var(--grey-100)}li.k-dropdown-item .k-dropdown-item-trigger[data-v-a0c39af6]{text-align:left;padding:var(--spacing-md) var(--spacing-lg);text-decoration:none;width:100%;color:var(--black-70)}li.k-dropdown-item .k-dropdown-item-trigger[data-v-a0c39af6]:disabled,li.k-dropdown-item .k-dropdown-item-trigger.disabled[data-v-a0c39af6]{cursor:not-allowed!important;color:var(--grey-400)!important}li.k-dropdown-item .k-dropdown-item-trigger[data-v-a0c39af6]:disabled:hover,li.k-dropdown-item .k-dropdown-item-trigger.disabled[data-v-a0c39af6]:hover{background-color:var(--grey-200)!important}.k-dropdown-item a.k-dropdown-item-trigger,.k-dropdown-item button.k-dropdown-item-trigger{text-decoration:none!important}.k-dropdown-item.danger button:not(:disabled),.k-dropdown-item.danger a:not(:disabled){color:var(--red-500);transition:all .3s}.k-dropdown-item.danger button:not(:disabled):hover,.k-dropdown-item.danger a:not(:disabled):hover{color:var(--red-500)}.k-dropdown-menu[data-v-886117c8]{width:fit-content}.k-dropdown-menu .drodpown-trigger[data-v-886117c8]:after{display:inline-block;width:0;height:0;margin-left:8px;margin-left:var(--spacing-xs, 8px);vertical-align:middle;content:"";border-top:.325em solid;border-right:.325em solid transparent;border-left:.325em solid transparent}.k-popover.k-dropdown-popover{--KPopPaddingY: var(--spacing-sm);--KPopPaddingX: 0;border:1px solid var(--black-10)}.k-popover.k-dropdown-popover ul{margin:0;padding:0}.k-popover.k-dropdown-popover a{flex:1;color:var(--black-70)}.k-popover.k-dropdown-popover a:hover,.k-popover.k-dropdown-popover a:active,.k-popover.k-dropdown-popover a:focus{text-decoration:none}.selection-dropdown-menu .dropdown-trigger .k-button{border:0;color:var(--grey-600);white-space:nowrap;--KButtonOutlineColor: var(--grey-500)}.selection-dropdown-menu .dropdown-trigger .k-button:focus{box-shadow:none}.selection-dropdown-menu .dropdown-trigger .k-button:active:disabled{background-color:var(--white)}.selection-dropdown-menu .dropdown-trigger .k-button.is-active{background-color:var(--grey-100)}.selection-dropdown-menu .k-popover.k-dropdown-popover{z-index:10000!important}.selection-dropdown-menu .k-popover.k-dropdown-popover li .non-visual-button{font-weight:400!important}.selection-dropdown-menu .k-popover.k-dropdown-popover li.k-dropdown-selected-option{background-color:var(--blue-100)}.selection-dropdown-menu .k-popover.k-dropdown-popover li.k-dropdown-selected-option .non-visual-button{font-weight:500!important}.k-file-upload[data-v-20472419]{position:relative}.k-file-upload .k-file-upload-btn.k-button[data-v-20472419]{position:absolute;right:12px;top:35px;border-radius:100px;height:29px}.k-file-upload[data-v-20472419] .k-input-wrapper input[type=file]::-webkit-file-upload-button{position:absolute;min-width:100%;min-height:100%;opacity:0;cursor:inherit}.k-file-upload[data-v-20472419] .k-input-wrapper input[type=file],.k-file-upload[data-v-20472419] .k-input-wrapper input[type=file].image-upload{color:transparent}.k-file-upload .remove-button[data-v-20472419]{position:absolute;top:38px;right:118px;border:none;height:var(--spacing-lg);background-color:transparent;cursor:pointer;padding:var(--type-xxs) 6px}.k-file-upload .remove-button[data-v-20472419]:hover,.k-file-upload .remove-button[data-v-20472419]:active{background-color:transparent!important;box-shadow:0 0 0 2px #fff,0 0 0 4px #1155cb;box-shadow:0 0 0 2px var(--white, #ffffff),0 0 0 4px var(--KButtonPrimaryBase, var(--blue-500, #1155cb))}.k-file-upload .move-btn-right[data-v-20472419]{right:10px}.k-file-upload .image-upload-icon[data-v-20472419]{position:absolute;top:var(--type-xxs);left:var(--spacing-xs);cursor:pointer}.k-file-upload .image-upload-description[data-v-20472419]{position:absolute;left:44px;top:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--blue-500);font-size:13px;line-height:20px;cursor:pointer}.k-file-upload .k-input{height:44px}.k-file-upload input[type=file]{color:transparent}.k-file-upload input[type=file]:hover{cursor:pointer}.k-file-upload .display-name{color:var(--black-70);position:absolute;pointer-events:none;top:40px;left:20px}.k-inline-edit[data-v-219722da]{--padding: var(--spacing-xxs) var(--spacing-xs);box-sizing:border-box}.k-inline-edit[data-v-219722da]>div{display:inline-flex;width:100%;cursor:text}.k-inline-edit[data-v-219722da]>div>*{width:100%;border:1px solid transparent;border-radius:3px;padding:var(--padding);margin-top:0;margin-left:calc(-1 * var(--spacing-xs));line-height:1.25;overflow:hidden;transition:background-color .2s ease}.k-inline-edit[data-v-219722da]>div:hover>*{background-color:var(--grey-200)}.k-inline-edit .k-input[data-v-219722da]{display:inline-flex;width:100%;padding:var(--padding)}.k-inline-edit .k-input[data-v-219722da]:focus,.k-inline-edit .k-input[data-v-219722da]:hover{background-color:var(--white)}.k-switch[data-v-6f1734af],.k-input-switch[data-v-6f1734af]{position:relative}.k-switch .kong-icon[data-v-6f1734af],.k-input-switch .kong-icon[data-v-6f1734af]{transform:translate(-54px);position:absolute;left:57px;top:1px}.k-menu-item-divider[data-v-461355e1]{padding:0 19px}.k-menu-item[data-v-b327ae72]{list-style:none;margin:0;white-space:nowrap;font-weight:400;font-size:13px;line-height:24px;color:var(--grey-500);position:relative;padding-left:2px}.span-icon-container[data-v-b327ae72]{margin-left:auto;height:24px;width:24px}.title-dark[data-v-b327ae72]{color:var(--grey-600)}.k-menu-item .menu-button[data-v-b327ae72]{padding-left:19px;padding-right:24px;cursor:pointer!important}.k-menu-item .menu-button[data-v-b327ae72]:hover{color:var(--grey-600)}.menu-content[data-v-b327ae72]{padding-left:19px;padding-right:24px;color:var(--grey-500)}.k-button.menu-button[data-v-b327ae72]{width:100%;color:var(--grey-500);color:var(--KButtonOutlineColor, var(--grey-500));font-weight:400!important;font-family:var(--font-family-sans);font-size:13px;line-height:24px}.k-button.menu-button[data-v-b327ae72]:focus{box-shadow:0 0 0 1px var(--blue-200)}.k-button.medium[data-v-b327ae72]{padding-top:8px;padding-bottom:8px}.k-menu-item.expando-item>button+div+hr[data-v-b327ae72],.last-menu-item[data-v-b327ae72],.last-menu-item>button+div+hr[data-v-b327ae72],.k-menu-item[data-v-b327ae72]:last-of-type{border:0}.k-menu[data-v-19686ae2]{background-color:var(--white);border:1px solid var(--grey-300);border-radius:4px;padding-top:11px;padding-bottom:8px}.clear-cta-button[data-v-19686ae2]>button.k-button{border:none;color:var(--blue-300);font-weight:500;font-size:13px;line-height:13px;margin-bottom:6px;margin-top:10px;padding-top:2px}.clear-cta-button[data-v-19686ae2]>button.k-button:active,.clear-cta-button[data-v-19686ae2]>button.k-button:hover{color:var(--blue-500);background-color:transparent}.clear-cta-button[data-v-19686ae2]>button.k-button:focus{box-shadow:none;color:var(--blue-500);background-color:transparent}.k-modal-backdrop[data-v-442f114b]{position:fixed;top:0;bottom:0;left:0;right:0;background-color:#0b172d99;background-color:var(--KModalBackdrop, rgba(11, 23, 45, .6));z-index:1100}.k-modal-overflow-hidden .k-modal-backdrop[data-v-442f114b]{overflow:auto}.k-modal[data-v-442f114b]{--KModalPadding: var(--spacing-xl, spacing(xl))}.k-modal .k-modal-dialog[data-v-442f114b]{position:relative;width:auto;max-width:500px;max-width:var(--KModalMaxWidth, 500px);margin:50px auto;padding:var(--KModalPadding);border-radius:3px;border:var(--KModalBorder);box-shadow:0 0 12px #0000001a;box-shadow:0 0 12px 0 var(--black-10, rgba(0, 0, 0, .1));background:#fff;z-index:9999;overflow:hidden}.k-modal .k-modal-dialog .close-button[data-v-442f114b]{position:absolute;right:var(--spacing-lg);top:var(--spacing-lg);z-index:10000}.k-modal .k-modal-dialog .close-button .k-button[data-v-442f114b]{padding:8px 0 8px 8px;margin-top:-8px}.k-modal .k-modal-content[data-v-442f114b]{position:relative;display:flex;flex-direction:column}.k-modal .k-modal-content .k-modal-header-image[data-v-442f114b]{margin-top:calc(var(--KModalPadding) * -1);margin-left:calc(var(--KModalPadding) * -1);margin-right:calc(var(--KModalPadding) * -1);margin-bottom:32px;margin-bottom:var(--spacing-xl, 32px)}.k-modal .k-modal-content .k-modal-header[data-v-442f114b]{display:flex;justify-content:flex-start;align-items:center;color:#0b172d;color:var(--KModalHeaderColor, var(--black-500, #0b172d));font-size:20px;font-size:var(--KModalHeaderSize, 20px);font-weight:600;font-weight:var(--KModalHeaderWeight, 600)}.k-modal .k-modal-content .k-modal-header.header-centered[data-v-442f114b]{text-align:center;margin-left:auto;margin-right:auto}.k-modal .k-modal-content .k-modal-header.header-left[data-v-442f114b]{text-align:left;margin-left:0;margin-right:auto}.k-modal .k-modal-content .k-modal-header.header-right[data-v-442f114b]{text-align:right;margin-left:auto;margin-right:0}.k-modal .k-modal-content .k-modal-body[data-v-442f114b]{position:relative;flex:1 1 auto;margin-bottom:24px;margin-bottom:var(--KModalBottomMargin, var(--spacing-lg, 24px));color:#6f7787;color:var(--KModalColor, var(--grey-500, #6f7787));font-size:13px;font-size:var(--KModalFontSize, 13px);line-height:20px}.k-modal .k-modal-content .k-modal-body.content-centered[data-v-442f114b]{text-align:center;margin-left:auto;margin-right:auto}.k-modal .k-modal-content .k-modal-body.content-left[data-v-442f114b]{text-align:left;margin-left:0;margin-right:auto}.k-modal .k-modal-content .k-modal-body.content-right[data-v-442f114b]{text-align:right;margin-left:auto;margin-right:0}.k-modal .k-modal-content .k-modal-footer .k-modal-action-buttons[data-v-442f114b]{margin-left:auto}body.k-modal-overflow-hidden{overflow:hidden}.k-modal-fullscreen-dialog[data-v-fee45ec6]{padding-top:128px;background:var(--white);z-index:9999;position:fixed;top:0;bottom:0;left:0;right:0;width:100vw}@media only screen and (min-width: 769px){.k-modal-fullscreen-dialog[data-v-fee45ec6]{padding-top:64px}}.k-modal-fullscreen-header[data-v-fee45ec6]{position:fixed;display:flex;top:0;width:100%;flex-direction:column;padding:var(--spacing-lg) 0;background-color:var(--white);border-bottom:1px solid var(--grey-300)}.k-modal-fullscreen-header .k-modal-fullscreen-header-description[data-v-fee45ec6]{display:flex;justify-content:space-between;font-size:20px;font-size:var(--KModalFullscreenHeaderSize, 20px);font-weight:600;font-weight:var(--KModalFullscreenHeaderWeight, 600);color:#0b172d;color:var(--KModalFullscreenHeaderColor, var(--black-500, #0b172d))}.k-modal-fullscreen-header .k-modal-fullscreen-body[data-v-fee45ec6]{text-align:center;position:relative;flex:1 1 auto;font-size:13px;font-size:var(--KModalFullscreenFontSize, 13px);line-height:20px}.k-modal-fullscreen-title[data-v-fee45ec6]{display:inline-flex;position:relative;margin-left:36px}.k-modal-fullscreen-action[data-v-fee45ec6]{display:inline-flex;margin-right:32px;margin-right:var(--spacing-xl, 32px)}.k-modal-fullscreen-action button[data-v-fee45ec6],.k-modal-fullscreen-action[data-v-fee45ec6] button{height:40px;margin-left:16px;margin-left:var(--spacing-md, 16px);font-weight:600;font-size:13px;line-height:13px}.k-modal-fullscreen-body-header[data-v-fee45ec6],.k-modal-fullscreen-body[data-v-fee45ec6]{color:#0b172d;color:var(--KModalFullscreenColor, var(--black-500, #0b172d));padding-left:var(--spacing-lg);padding-right:var(--spacing-lg)}@media only screen and (min-width: 769px){.k-modal-fullscreen-body-header[data-v-fee45ec6],.k-modal-fullscreen-body[data-v-fee45ec6]{padding-left:120px;padding-right:120px}}@media only screen and (min-width: 993px){.k-modal-fullscreen-body-header[data-v-fee45ec6],.k-modal-fullscreen-body[data-v-fee45ec6]{padding-left:230px;padding-right:230px}}.k-modal-fullscreen-body-header[data-v-fee45ec6]{padding-top:0;padding-bottom:0}.k-modal-fullscreen-body[data-v-fee45ec6]{padding-bottom:var(--spacing-lg)}@media only screen and (min-width: 769px){.k-modal-fullscreen-body[data-v-fee45ec6]{padding-bottom:64px}}.k-modal-fullscreen-body-header[data-v-fee45ec6]{margin-top:64px;margin-bottom:var(--spacing-xl)}.k-modal-fullscreen-body-header .body-header[data-v-fee45ec6]{font-size:32px;line-height:32px;font-weight:600;margin-bottom:-4px}.k-modal-fullscreen-body-header .body-header-description[data-v-fee45ec6]{font-weight:400;font-size:14px;line-height:22px;color:var(--grey-600);margin-top:var(--spacing-md)}.k-modal-fullscreen-body-description h2[data-v-fee45ec6]{border:none}.k-modal-fullscreen.isOpen .k-modal-fullscreen-dialog[data-v-fee45ec6]{overflow-y:auto}.header-content[data-v-fee45ec6]{display:inline-block;margin-top:4px;margin-top:var(--spacing-xxs, 4px);padding-left:6px;border-left:1px solid var(--grey-300);line-height:24px}.k-modal-fullscreen-action-buttons[data-v-fee45ec6]{margin-left:auto}.k-modal-fullscreen-action-buttons button[data-v-fee45ec6],.k-modal-fullscreen-action-buttons[data-v-fee45ec6] button{margin-left:16px;margin-left:var(--spacing-md, 16px)}.header-icon .kong-icon.kong-icon-kong{position:relative;top:1px}.k-prompt[data-v-043fdb40]{--KModalBottomMargin: var(--spacing-md)}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog{padding:var(--spacing-lg);padding-bottom:var(--spacing-md)}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .close-button{margin-left:auto}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .divider{margin-left:calc(var(--spacing-lg) * -1);margin-right:calc(var(--spacing-lg) * -1);color:var(--grey-300)}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .k-modal-content .k-modal-header.modal-header{width:100%;display:flex}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .k-modal-content .k-modal-header.modal-header .close-button .k-button{padding:8px 0 8px 8px;margin-top:-8px}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .k-modal-content .k-modal-body.modal-body{width:100%}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .k-modal-content .k-modal-body.modal-body .k-prompt-body .k-prompt-body-content{font-size:var(--type-md);text-align:start;color:var(--grey-600);line-height:24px;white-space:normal;overflow-y:auto;overflow-x:hidden;max-height:300px;max-height:var(--KPromptMaxHeight, 300px);padding-bottom:var(--spacing-lg);width:99%}@media screen and (min-width: 768px){.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .k-modal-content .k-modal-body.modal-body .k-prompt-body .k-prompt-body-content{max-height:500px;max-height:var(--KPromptMaxHeight, 500px)}}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .k-modal-content .k-modal-body.modal-body .k-prompt-body .k-prompt-body-content .k-prompt-confirm-text{margin-top:var(--spacing-lg)}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .k-modal-content .k-modal-body.modal-body .k-prompt-body .k-prompt-body-content .k-prompt-confirm-text .k-input{width:100%}.k-prompt[data-v-043fdb40] .k-modal-dialog.modal-dialog .k-modal-content .k-modal-footer.modal-footer .k-prompt-action-buttons{margin-left:auto}.k-slideout[data-v-19db8b36]{--KCardPaddingY: 2rem;--KCardPaddingX: 3rem}.k-slideout .panel-background[data-v-19db8b36]{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.45);background:var(--black-45, rgba(0, 0, 0, .45));z-index:9999}.k-slideout .panel[data-v-19db8b36]{position:fixed;top:0;right:0;height:100vh;width:100%;max-width:500px;background-color:#fff;background-color:var(--white, #ffffff);z-index:9999}.k-slideout .panel .close-btn[data-v-19db8b36]{position:absolute;top:1rem;left:1rem;height:16px;width:16px;padding:0;border:none;background:none;cursor:pointer;outline:inherit;transition:.2s ease}.k-slideout .panel .content[data-v-19db8b36]{height:100%;overflow:auto;-ms-overflow-style:none;scrollbar-width:none}.k-slideout .panel .content[data-v-19db8b36]::-webkit-scrollbar{display:none}@keyframes slide{0%{transform:translate(100%)}to{transform:translate(0)}}.k-slideout .slide-enter-active{animation:slide .3s cubic-bezier(1,.5,.8,1)}.k-slideout .slide-leave-active{animation:slide .3s ease reverse}.k-slideout .fade-enter-active,.k-slideout .fade-leave-active{transition:opacity .5s}.k-slideout .fade-enter,.k-slideout .fade-leave-to{opacity:0}.k-step-state-icon circle[data-v-3ef7acf2]{stroke:var(--teal-300);stroke:var(--KStepActiveColor, var(--teal-300))}.k-step-state-icon .k-step-icon-primary[data-v-713fc4ad]{fill:var(--teal-300);fill:var(--KStepCompletedColor, var(--teal-300))}.k-step-state-icon .k-step-icon-secondary[data-v-713fc4ad]{stroke:var(--white);stroke:var(--KStepCompletedSecondaryColor, var(--white))}.k-step-state-icon circle[data-v-f28650fe]{stroke:var(--grey-300);stroke:var(--KStepDefaultColor, var(--grey-300))}.k-step-state-icon .k-step-icon-primary[data-v-8359bd4e]{fill:var(--red-500);fill:var(--KStepErrorColor, var(--red-500))}.k-step-state-icon .k-step-icon-secondary[data-v-8359bd4e]{fill:var(--white);fill:var(--KStepErrorSecondaryColor, var(--white))}.k-step-spinner>svg[data-v-0acc505c]{animation:rotate-0acc505c 2s linear infinite}.k-step-spinner>svg circle[data-v-0acc505c]{stroke:var(--teal-300);stroke:var(--KStepPendingColor, var(--teal-300));stroke-linecap:round;animation:dash-0acc505c 1.5s ease-in-out infinite}@keyframes rotate-0acc505c{to{transform:rotate(360deg)}}@keyframes dash-0acc505c{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.k-step-state[data-v-2f817e2a]{background:var(--white);background:var(--KStepBackgroundColor, var(--white));z-index:1}.k-step-state .k-step-state-icon{height:24px;height:var(--KStepIconSize, 24px);width:24px;width:var(--KStepIconSize, 24px)}.k-step[data-v-3e394724]{display:list-item;padding:var(--spacing-sm) 0;flex:1 1 0%}.k-step:last-child>.k-step-container[data-v-3e394724]:after{display:none}.k-step .k-step-container[data-v-3e394724]{display:flex;margin:auto;flex-direction:column;align-items:center;padding-bottom:var(--spacing-xxs);position:relative}.k-step .k-step-container .k-step-label[data-v-3e394724]{--KInputLabelColor: var(--grey-500);--KInputLabelSize: var(--type-md);--KInputLabelWeight: 500;min-width:100px;text-align:center;padding-top:var(--spacing-sm)}.k-step .k-step-container .k-step-label.bolder[data-v-3e394724]{--KInputLabelWeight: 600;--KInputLabelColor: var(--black-500)}.k-step .k-step-container[data-v-3e394724]:after{content:"";height:2px;width:100%;position:absolute;top:12px;top:calc(var(--KStepIconSize, 24px) / 2);left:50%;z-index:0;background-color:var(--grey-300);background-color:var(--KStepDividerColorDefault, var(--grey-300))}.k-step .k-step-container.completed[data-v-3e394724]:after{background-color:var(--teal-300);background-color:var(--KStepDividerColorCompleted, var(--teal-300))}.k-step .k-step-label.error .k-input-label{color:var(--red-500)}.k-stepper[data-v-1fd94614]{list-style:none;padding-inline-start:0px;width:100%;max-width:100%;overflow-x:auto;display:flex;position:relative}.k-table-wrapper[data-v-4f741344]{width:100%;overflow:auto}.k-table-toolbar[data-v-4f741344]>*{display:flex}.k-table[data-v-4f741344]{width:100%;max-width:100%;margin-top:0;border-collapse:collapse}.k-table th[data-v-4f741344],.k-table td[data-v-4f741344]{padding:12px 16px;padding:var(--spacing-sm, 12px) var(--spacing-md, 16px);vertical-align:middle;white-space:nowrap}.k-table thead[data-v-4f741344]{height:60px;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #f1f1f5;border-bottom:1px solid var(--KTableBorder, var(--grey-200, #f1f1f5))}.k-table thead.is-scrolled[data-v-4f741344]{border-bottom:none}.k-table thead tr[data-v-4f741344]{position:relative}.k-table thead tr[data-v-4f741344]:after{opacity:0;transition:opacity .2s ease-in-out;content:"";position:absolute;z-index:-1;width:100%;height:100%;box-shadow:none;left:0;pointer-events:none}.k-table thead tr.is-scrolled[data-v-4f741344]{border-bottom:none}.k-table thead tr.is-scrolled[data-v-4f741344]:after{box-shadow:0 .2px .6px #00000008,0 .6px 1.8px #0000000b,0 1.5px 4.2px #0000000f,0 5px 14px #00000017;opacity:1;transition:opacity .2s ease-in-out}.k-table thead th[data-v-4f741344]{padding:12px 16px;padding:var(--spacing-sm, 12px) var(--spacing-md, 16px);text-align:left;font-size:14px;font-size:var(--KTableHeaderSize, var(--type-sm, 14px));font-weight:600}.k-table thead th.active-sort[data-v-4f741344]{color:var(--blue-500)}.k-table thead th .sr-only[data-v-4f741344]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.k-table thead th.sortable[data-v-4f741344]{cursor:pointer}.k-table tbody tr[data-v-4f741344]{height:44px}.k-table tbody tr[data-v-4f741344]:not(:last-of-type){border-bottom:1px solid #f1f1f5;border-bottom:1px solid var(--KTableBorder, var(--grey-200, #f1f1f5))}.k-table tbody td[data-v-4f741344]{color:#000000b3;color:var(--KTableColor, var(--black-70, rgba(0, 0, 0, .7)));white-space:nowrap}.k-table tbody td a[data-v-4f741344]{color:#1155cb;color:var(--blue-500, #1155cb);text-decoration:none}.k-table tbody td a[data-v-4f741344]:hover{text-decoration:underline}.k-table.has-hover tbody tr[data-v-4f741344]:hover{background-color:#f2f6fe;background-color:var(--KTableHover, var(--blue-100, #f2f6fe))}.k-table.is-clickable[data-v-4f741344]{user-select:none}.k-table.is-clickable tbody tr[data-v-4f741344]{cursor:pointer}.k-table.side-border[data-v-4f741344]{border-collapse:separate;border-spacing:0 2px}.k-table.side-border tbody tr[data-v-4f741344]{border-bottom:none}.k-table.side-border tbody tr td[data-v-4f741344]:first-child{border-left:3px solid #dae3f2;border-left:3px solid var(--KTableBorder, var(--steel-200, #dae3f2))}.k-table.side-border.has-hover tbody tr:hover td[data-v-4f741344]:first-child{border-left:3px solid #a3b6d9;border-left:3px solid var(--KTableBorder, var(--steel-300, #a3b6d9))}.k-table thead th .caret{top:2px;position:relative;transform:rotate(0)}.k-table thead th.sortable.asc .caret{transform:rotate(-180deg)}.k-table tbody td button,.k-table tbody td .k-button{margin-top:calc(-1 * var(--spacing-xs));margin-top:calc(-1 * var(--KButtonPaddingY, var(--spacing-xs)));margin-bottom:calc(-1 * var(--spacing-xs));margin-bottom:calc(-1 * var(--KButtonPaddingY, var(--spacing-xs)))}.k-tabs ul[data-v-b0b5f6ae]{display:flex;margin-bottom:16px;margin-bottom:var(--spacing-md, 16px);padding-left:0;list-style:none;font-size:18px;line-height:20px;border-bottom:2px solid #e7e7ec;border-bottom:2px solid var(--KTabsBottomBorderColor, var(--grey-300, #e7e7ec))}.k-tabs ul .tab-item[data-v-b0b5f6ae]{position:relative;padding:16px;padding:var(--spacing-md, 16px);cursor:pointer}.k-tabs ul .tab-item[data-v-b0b5f6ae]:not(:first-of-type){margin-left:8px;margin-left:var(--spacing-xs, 8px)}.k-tabs ul .tab-item[data-v-b0b5f6ae]:not(:last-of-type){margin-right:8px;margin-right:var(--spacing-xs, 8px)}.k-tabs ul .tab-item[data-v-b0b5f6ae]:after{position:absolute;bottom:-2px;left:0;width:100%;height:2px;display:block;content:""}.k-tabs ul .tab-item.active[data-v-b0b5f6ae],.k-tabs ul .tab-item[data-v-b0b5f6ae]:hover{border-bottom:4px solid #169fcc;border-bottom:4px solid var(--KTabBottomBorderColor, var(--teal-300, #169fcc))}.k-tabs ul .tab-item.active .tab-link[data-v-b0b5f6ae],.k-tabs ul .tab-item:hover .tab-link[data-v-b0b5f6ae]{color:#0b172d;color:var(--KTabsActiveColor, var(--black-500, #0b172d))}.k-tabs ul .tab-link[data-v-b0b5f6ae]{display:block;color:#00000073;color:var(--KTabsColor, var(--black-45, rgba(0, 0, 0, .45)))}.k-tabs ul .tab-link[data-v-b0b5f6ae]:hover{text-decoration:none;border:none}.k-input-wrapper[data-v-45bc9006]{display:grid;width:fit-content}.k-input-wrapper textarea.k-input[data-v-45bc9006]{-webkit-appearance:none}.k-input-wrapper textarea.form-control[data-v-45bc9006]{font-family:var(--font-family-sans);resize:none}.k-input-wrapper textarea.form-control[data-v-45bc9006]::placeholder{color:#6f7787;color:var(--KInputPlaceholderColor, var(--grey-500, #6f7787))}.k-input-wrapper textarea.form-control[data-v-45bc9006]:hover{color:var(--grey-600)}.k-input-wrapper textarea.form-control[data-v-45bc9006]:hover::placeholder{color:#3c4557;color:var(--KInputPlaceholderColor, var(--grey-600, #3c4557))}.k-input-wrapper textarea.form-control[data-v-45bc9006]:focus::placeholder{color:transparent}.k-input-wrapper .char-limit[data-v-45bc9006]{margin-left:auto}.k-input-wrapper .over-char-limit[data-v-45bc9006]{color:var(--red-600)}.k-input-wrapper .text-on-input label.hovered[data-v-45bc9006],.k-input-wrapper .text-on-input label[data-v-45bc9006]:hover{color:var(--blue-500);color:var(--KInputHover, var(--blue-500))}/*! KONGPONENTS_STYLES */.type-xxxl[data-v-32434ea8]{font-size:32px;font-size:var(--type-xxxl)}.type-xxl[data-v-32434ea8]{font-size:28px;font-size:var(--type-xxl)}.type-xl[data-v-32434ea8]{font-size:22px;font-size:var(--type-xl)}.type-lg[data-v-32434ea8]{font-size:18px;font-size:var(--type-lg)}.type-md[data-v-32434ea8]{font-size:16px;font-size:var(--type-md)}.type-sm[data-v-32434ea8]{font-size:14px;font-size:var(--type-sm)}.type-xs[data-v-32434ea8]{font-size:12px;font-size:var(--type-xs)}.type-xxs[data-v-32434ea8]{font-size:10px;font-size:var(--type-xxs)}.mono[data-v-32434ea8]{font-family:monospace;font-family:var(--font-family-mono)}.mono.type-xxxl[data-v-32434ea8]{font-size:30.4px;font-size:calc(var(--type-xxxl) * .95)}.mono.type-xxl[data-v-32434ea8]{font-size:calc(28px * .95);font-size:calc(var(--type-xxl) * .95)}.mono.type-xl[data-v-32434ea8]{font-size:20.9px;font-size:calc(var(--type-xl) * .95)}.mono.type-lg[data-v-32434ea8]{font-size:calc(18px * .95);font-size:calc(var(--type-lg) * .95)}.mono.type-md[data-v-32434ea8]{font-size:15.2px;font-size:calc(var(--type-md) * .95)}.mono.type-sm[data-v-32434ea8]{font-size:calc(14px * .95);font-size:calc(var(--type-sm) * .95)}.mono.type-xs[data-v-32434ea8]{font-size:calc(12px * .95);font-size:calc(var(--type-xs) * .95)}.mono.type-xxs[data-v-32434ea8]{font-size:9.5px;font-size:calc(var(--type-xxs) * .95)}.color-blue-100[data-v-32434ea8]{color:#f2f6fe;color:var(--blue-100)}.color-blue-200[data-v-32434ea8]{color:#bdd3f9;color:var(--blue-200)}.color-blue-300[data-v-32434ea8]{color:#8ab3fa;color:var(--blue-300)}.color-blue-400[data-v-32434ea8]{color:#3972d5;color:var(--blue-400)}.color-blue-500[data-v-32434ea8]{color:#1155cb;color:var(--blue-500)}.color-blue-600[data-v-32434ea8]{color:#003694;color:var(--blue-600)}.color-blue-700[data-v-32434ea8]{color:#0a2b66;color:var(--blue-700)}.color-petrol-100[data-v-32434ea8]{color:#eaf4fb;color:var(--petrol-100)}.color-petrol-200[data-v-32434ea8]{color:#0364ac;color:var(--petrol-200)}.color-purple-100[data-v-32434ea8]{color:#d7d8fe;color:var(--purple-100)}.color-purple-200[data-v-32434ea8]{color:#bec0fd;color:var(--purple-200)}.color-purple-300[data-v-32434ea8]{color:#9396fc;color:var(--purple-300)}.color-purple-400[data-v-32434ea8]{color:#473cfb;color:var(--purple-400)}.color-steel-100[data-v-32434ea8]{color:#f0f4fa;color:var(--steel-100)}.color-steel-200[data-v-32434ea8]{color:#dae3f2;color:var(--steel-200)}.color-steel-300[data-v-32434ea8]{color:#a3b6d9;color:var(--steel-300)}.color-steel-400[data-v-32434ea8]{color:#7d91b3;color:var(--steel-400)}.color-steel-500[data-v-32434ea8]{color:#5c7299;color:var(--steel-500)}.color-steel-600[data-v-32434ea8]{color:#395380;color:var(--steel-600)}.color-steel-700[data-v-32434ea8]{color:#273c61;color:var(--steel-700)}.color-red-100[data-v-32434ea8]{color:#ffdede;color:var(--red-100)}.color-red-200[data-v-32434ea8]{color:#fcc;color:var(--red-200)}.color-red-300[data-v-32434ea8]{color:#ff9a99;color:var(--red-300)}.color-red-400[data-v-32434ea8]{color:#ff7877;color:var(--red-400)}.color-red-500[data-v-32434ea8]{color:#d44324;color:var(--red-500)}.color-red-600[data-v-32434ea8]{color:#e50000;color:var(--red-600)}.color-red-700[data-v-32434ea8]{color:#922021;color:var(--red-700)}.color-green-100[data-v-32434ea8]{color:#e8f8f5;color:var(--green-100)}.color-green-200[data-v-32434ea8]{color:#c0f2d5;color:var(--green-200)}.color-green-300[data-v-32434ea8]{color:#84e5ae;color:var(--green-300)}.color-green-400[data-v-32434ea8]{color:#42d782;color:var(--green-400)}.color-green-500[data-v-32434ea8]{color:#07a88d;color:var(--green-500)}.color-green-600[data-v-32434ea8]{color:#008871;color:var(--green-600)}.color-green-700[data-v-32434ea8]{color:#13755e;color:var(--green-700)}.color-teal-100[data-v-32434ea8]{color:#cdf1fe;color:var(--teal-100)}.color-teal-200[data-v-32434ea8]{color:#91e1fc;color:var(--teal-200)}.color-teal-300[data-v-32434ea8]{color:#169fcc;color:var(--teal-300)}.color-teal-400[data-v-32434ea8]{color:#0a7fae;color:var(--teal-400)}.color-teal-500[data-v-32434ea8]{color:#006e9d;color:var(--teal-500)}.color-yellow-100[data-v-32434ea8]{color:#fff3d8;color:var(--yellow-100)}.color-yellow-200[data-v-32434ea8]{color:#ffe6ba;color:var(--yellow-200)}.color-yellow-300[data-v-32434ea8]{color:#ffd68c;color:var(--yellow-300)}.color-yellow-400[data-v-32434ea8]{color:#fabe5f;color:var(--yellow-400)}.color-yellow-500[data-v-32434ea8]{color:#c67c06;color:var(--yellow-500)}.color-yellow-600[data-v-32434ea8]{color:#a05604;color:var(--yellow-600)}.color-grey-100[data-v-32434ea8]{color:#f8f8fa;color:var(--grey-100)}.color-grey-200[data-v-32434ea8]{color:#f1f1f5;color:var(--grey-200)}.color-grey-300[data-v-32434ea8]{color:#e7e7ec;color:var(--grey-300)}.color-grey-400[data-v-32434ea8]{color:#b6b6bd;color:var(--grey-400)}.color-grey-500[data-v-32434ea8]{color:#6f7787;color:var(--grey-500)}.color-grey-600[data-v-32434ea8]{color:#3c4557;color:var(--grey-600)}.color-black-85[data-v-32434ea8]{color:#000000d9;color:var(--black-85)}.color-black-70[data-v-32434ea8]{color:#000000b3;color:var(--black-70)}.color-black-45[data-v-32434ea8]{color:#00000073;color:var(--black-45)}.color-black-25[data-v-32434ea8]{color:#00000040;color:var(--black-25)}.color-black-10[data-v-32434ea8]{color:#0000001a;color:var(--black-10)}.color-black-100[data-v-32434ea8]{color:#dfdfdf;color:var(--black-100)}.color-black-200[data-v-32434ea8]{color:#b1b2b1;color:var(--black-200)}.color-black-300[data-v-32434ea8]{color:#6f7787;color:var(--black-300)}.color-black-400[data-v-32434ea8]{color:#3c4557;color:var(--black-400)}.color-black-500[data-v-32434ea8]{color:#0b172d;color:var(--black-500)}.color-white[data-v-32434ea8]{color:#fff;color:var(--white)}.style-heading-1[data-v-32434ea8]{font-size:32px!important;line-height:36px!important;font-weight:400!important}.style-heading-2[data-v-32434ea8]{font-size:20px!important;line-height:24px!important;font-weight:400!important}.style-heading-3[data-v-32434ea8]{font-size:16px!important;line-height:24px!important;font-weight:400!important}.style-heading-4[data-v-32434ea8]{font-size:14px!important;line-height:20px!important;font-weight:400!important}.style-body-lg[data-v-32434ea8]{font-size:16px!important;line-height:24px!important;font-weight:300!important}.style-body-lg-bold[data-v-32434ea8]{font-size:16px!important;line-height:24px!important;font-weight:400!important}.style-body-md[data-v-32434ea8]{font-size:13px!important;line-height:20px!important;font-weight:400!important}.style-body-md-bold[data-v-32434ea8]{font-size:13px!important;line-height:24px!important;font-weight:400!important}.style-body-sm[data-v-32434ea8],.style-body-sm-bold[data-v-32434ea8]{font-size:12px!important;line-height:16px!important;font-weight:400!important}.style-body-tiny[data-v-32434ea8]{font-size:11px!important;line-height:16px!important;font-weight:300!important}.style-body-link[data-v-32434ea8]{font-size:13px!important;line-height:20px!important;font-weight:400!important}.style-body-bc[data-v-32434ea8]{font-size:12px!important;line-height:24px!important;font-weight:400!important;text-transform:uppercase!important}.style-body-code[data-v-32434ea8]{font-size:13px!important;line-height:24px!important;font-weight:100!important}.mx-auto[data-v-32434ea8]{margin-left:auto!important;margin-right:auto!important}.my-auto[data-v-32434ea8]{margin-top:auto!important;margin-bottom:auto!important}.ma-auto[data-v-32434ea8]{margin:auto!important}.mx-0[data-v-32434ea8]{margin-left:0!important;margin-right:0!important}.my-0[data-v-32434ea8]{margin-top:0!important;margin-bottom:0!important}.ma-0[data-v-32434ea8]{margin:0!important}.px-auto[data-v-32434ea8]{padding-left:auto!important;padding-right:auto!important}.py-auto[data-v-32434ea8]{padding-top:auto!important;padding-bottom:auto!important}.pa-auto[data-v-32434ea8]{padding-left:auto!important;padding-right:auto!important;padding-top:auto!important;padding-bottom:auto!important}.px-0[data-v-32434ea8]{padding-left:0!important;padding-right:0!important}.py-0[data-v-32434ea8]{padding-top:0!important;padding-bottom:0!important}.pa-0[data-v-32434ea8]{padding:0!important}.mt-auto[data-v-32434ea8]{margin-top:auto!important}.mt-0[data-v-32434ea8]{margin-top:0!important}.mr-auto[data-v-32434ea8]{margin-right:auto!important}.mr-0[data-v-32434ea8]{margin-right:0!important}.mb-auto[data-v-32434ea8]{margin-bottom:auto!important}.mb-0[data-v-32434ea8]{margin-bottom:0!important}.ml-auto[data-v-32434ea8]{margin-left:auto!important}.ml-0[data-v-32434ea8]{margin-left:0!important}.mt-1[data-v-32434ea8]{margin-top:4px!important}.mr-1[data-v-32434ea8]{margin-right:4px!important}.mb-1[data-v-32434ea8]{margin-bottom:4px!important}.ml-1[data-v-32434ea8]{margin-left:4px!important}.mx-1[data-v-32434ea8]{margin-left:4px!important;margin-right:4px!important}.my-1[data-v-32434ea8]{margin-top:4px!important;margin-bottom:4px!important}.ma-1[data-v-32434ea8]{margin:4px!important}.mt-2[data-v-32434ea8]{margin-top:8px!important}.mr-2[data-v-32434ea8]{margin-right:8px!important}.mb-2[data-v-32434ea8]{margin-bottom:8px!important}.ml-2[data-v-32434ea8]{margin-left:8px!important}.mx-2[data-v-32434ea8]{margin-left:8px!important;margin-right:8px!important}.my-2[data-v-32434ea8]{margin-top:8px!important;margin-bottom:8px!important}.ma-2[data-v-32434ea8]{margin:8px!important}.mt-3[data-v-32434ea8]{margin-top:12px!important}.mr-3[data-v-32434ea8]{margin-right:12px!important}.mb-3[data-v-32434ea8]{margin-bottom:12px!important}.ml-3[data-v-32434ea8]{margin-left:12px!important}.mx-3[data-v-32434ea8]{margin-left:12px!important;margin-right:12px!important}.my-3[data-v-32434ea8]{margin-top:12px!important;margin-bottom:12px!important}.ma-3[data-v-32434ea8]{margin:12px!important}.mt-4[data-v-32434ea8]{margin-top:16px!important}.mr-4[data-v-32434ea8]{margin-right:16px!important}.mb-4[data-v-32434ea8]{margin-bottom:16px!important}.ml-4[data-v-32434ea8]{margin-left:16px!important}.mx-4[data-v-32434ea8]{margin-left:16px!important;margin-right:16px!important}.my-4[data-v-32434ea8]{margin-top:16px!important;margin-bottom:16px!important}.ma-4[data-v-32434ea8]{margin:16px!important}.mt-5[data-v-32434ea8]{margin-top:24px!important}.mr-5[data-v-32434ea8]{margin-right:24px!important}.mb-5[data-v-32434ea8]{margin-bottom:24px!important}.ml-5[data-v-32434ea8]{margin-left:24px!important}.mx-5[data-v-32434ea8]{margin-left:24px!important;margin-right:24px!important}.my-5[data-v-32434ea8]{margin-top:24px!important;margin-bottom:24px!important}.ma-5[data-v-32434ea8]{margin:24px!important}.mt-6[data-v-32434ea8]{margin-top:32px!important}.mr-6[data-v-32434ea8]{margin-right:32px!important}.mb-6[data-v-32434ea8]{margin-bottom:32px!important}.ml-6[data-v-32434ea8]{margin-left:32px!important}.mx-6[data-v-32434ea8]{margin-left:32px!important;margin-right:32px!important}.my-6[data-v-32434ea8]{margin-top:32px!important;margin-bottom:32px!important}.ma-6[data-v-32434ea8]{margin:32px!important}.mt-7[data-v-32434ea8]{margin-top:48px!important}.mr-7[data-v-32434ea8]{margin-right:48px!important}.mb-7[data-v-32434ea8]{margin-bottom:48px!important}.ml-7[data-v-32434ea8]{margin-left:48px!important}.mx-7[data-v-32434ea8]{margin-left:48px!important;margin-right:48px!important}.my-7[data-v-32434ea8]{margin-top:48px!important;margin-bottom:48px!important}.ma-7[data-v-32434ea8]{margin:48px!important}.mt-8[data-v-32434ea8]{margin-top:64px!important}.mr-8[data-v-32434ea8]{margin-right:64px!important}.mb-8[data-v-32434ea8]{margin-bottom:64px!important}.ml-8[data-v-32434ea8]{margin-left:64px!important}.mx-8[data-v-32434ea8]{margin-left:64px!important;margin-right:64px!important}.my-8[data-v-32434ea8]{margin-top:64px!important;margin-bottom:64px!important}.ma-8[data-v-32434ea8]{margin:64px!important}.pt-0[data-v-32434ea8]{padding-top:0!important}.pr-0[data-v-32434ea8]{padding-right:0!important}.pb-0[data-v-32434ea8]{padding-bottom:0!important}.pl-0[data-v-32434ea8]{padding-left:0!important}.pt-1[data-v-32434ea8]{padding-top:4px!important}.pr-1[data-v-32434ea8]{padding-right:4px!important}.pb-1[data-v-32434ea8]{padding-bottom:4px!important}.pl-1[data-v-32434ea8]{padding-left:4px!important}.px-1[data-v-32434ea8]{padding-left:4px!important;padding-right:4px!important}.py-1[data-v-32434ea8]{padding-top:4px!important;padding-bottom:4px!important}.pa-1[data-v-32434ea8]{padding:4px!important}.pt-2[data-v-32434ea8]{padding-top:8px!important}.pr-2[data-v-32434ea8]{padding-right:8px!important}.pb-2[data-v-32434ea8]{padding-bottom:8px!important}.pl-2[data-v-32434ea8]{padding-left:8px!important}.px-2[data-v-32434ea8]{padding-left:8px!important;padding-right:8px!important}.py-2[data-v-32434ea8]{padding-top:8px!important;padding-bottom:8px!important}.pa-2[data-v-32434ea8]{padding:8px!important}.pt-3[data-v-32434ea8]{padding-top:12px!important}.pr-3[data-v-32434ea8]{padding-right:12px!important}.pb-3[data-v-32434ea8]{padding-bottom:12px!important}.pl-3[data-v-32434ea8]{padding-left:12px!important}.px-3[data-v-32434ea8]{padding-left:12px!important;padding-right:12px!important}.py-3[data-v-32434ea8]{padding-top:12px!important;padding-bottom:12px!important}.pa-3[data-v-32434ea8]{padding:12px!important}.pt-4[data-v-32434ea8]{padding-top:16px!important}.pr-4[data-v-32434ea8]{padding-right:16px!important}.pb-4[data-v-32434ea8]{padding-bottom:16px!important}.pl-4[data-v-32434ea8]{padding-left:16px!important}.px-4[data-v-32434ea8]{padding-left:16px!important;padding-right:16px!important}.py-4[data-v-32434ea8]{padding-top:16px!important;padding-bottom:16px!important}.pa-4[data-v-32434ea8]{padding:16px!important}.pt-5[data-v-32434ea8]{padding-top:24px!important}.pr-5[data-v-32434ea8]{padding-right:24px!important}.pb-5[data-v-32434ea8]{padding-bottom:24px!important}.pl-5[data-v-32434ea8]{padding-left:24px!important}.px-5[data-v-32434ea8]{padding-left:24px!important;padding-right:24px!important}.py-5[data-v-32434ea8]{padding-top:24px!important;padding-bottom:24px!important}.pa-5[data-v-32434ea8]{padding:24px!important}.pt-6[data-v-32434ea8]{padding-top:32px!important}.pr-6[data-v-32434ea8]{padding-right:32px!important}.pb-6[data-v-32434ea8]{padding-bottom:32px!important}.pl-6[data-v-32434ea8]{padding-left:32px!important}.px-6[data-v-32434ea8]{padding-left:32px!important;padding-right:32px!important}.py-6[data-v-32434ea8]{padding-top:32px!important;padding-bottom:32px!important}.pa-6[data-v-32434ea8]{padding:32px!important}.pt-7[data-v-32434ea8]{padding-top:48px!important}.pr-7[data-v-32434ea8]{padding-right:48px!important}.pb-7[data-v-32434ea8]{padding-bottom:48px!important}.pl-7[data-v-32434ea8]{padding-left:48px!important}.px-7[data-v-32434ea8]{padding-left:48px!important;padding-right:48px!important}.py-7[data-v-32434ea8]{padding-top:48px!important;padding-bottom:48px!important}.pa-7[data-v-32434ea8]{padding:48px!important}.pt-8[data-v-32434ea8]{padding-top:64px!important}.pr-8[data-v-32434ea8]{padding-right:64px!important}.pb-8[data-v-32434ea8]{padding-bottom:64px!important}.pl-8[data-v-32434ea8]{padding-left:64px!important}.px-8[data-v-32434ea8]{padding-left:64px!important;padding-right:64px!important}.py-8[data-v-32434ea8]{padding-top:64px!important;padding-bottom:64px!important}.pa-8[data-v-32434ea8]{padding:64px!important}.float-left[data-v-32434ea8]{float:left!important}.float-right[data-v-32434ea8]{float:right!important}.float-none[data-v-32434ea8]{float:none!important}.truncate[data-v-32434ea8]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.multi-line-truncation[data-v-32434ea8]{display:-webkit-box;-webkit-line-clamp:3;-webkit-line-clamp:var(--TMaxLineLimit, 3);-webkit-box-orient:vertical;overflow:hidden}.truncate-multi[data-v-32434ea8]{line-height:24px;line-height:var(--TLineHeight, 24px);font-size:16px;font-size:var(--TFontSize, 16px);position:relative;max-height:120px;max-height:calc(var(--TLineHeight, 24px) * var(--TMaxLines, 5));overflow:hidden;padding-right:100px!important;padding-right:calc(var(--TPosRight, 12px) * var(--TPadRight, 8) + 4px)!important}.truncate-multi .truncate-multi[data-v-32434ea8]:before{position:absolute;content:"...";top:104px;top:calc(var(--TLineHeight, 24px) * (var(--TMaxLines, 5) - 1) + var(--TFontSize, 16px) * .5);right:12px;right:var(--TPosRight, 12px)}.capitalize[data-v-32434ea8]{text-transform:capitalize!important}.lowercase[data-v-32434ea8]{text-transform:lowercase!important}.uppercase[data-v-32434ea8]{text-transform:uppercase!important}.bold-500[data-v-32434ea8]{font-weight:500!important}.bold-600[data-v-32434ea8]{font-weight:600!important}.bold-700[data-v-32434ea8]{font-weight:700!important}.d-none[data-v-32434ea8]{display:none!important}.d-inline[data-v-32434ea8]{display:inline!important}.d-inline-block[data-v-32434ea8]{display:inline-block!important}.d-block[data-v-32434ea8]{display:block!important}.d-flex[data-v-32434ea8]{display:flex!important}.d-inline-flex[data-v-32434ea8]{display:inline-flex!important}.flex-fill[data-v-32434ea8]{flex:1 1 auto!important}.flex-row[data-v-32434ea8]{flex-direction:row!important}.flex-column[data-v-32434ea8]{flex-direction:column!important}.flex-row-reverse[data-v-32434ea8]{flex-direction:row-reverse!important}.flex-column-reverse[data-v-32434ea8]{flex-direction:column-reverse!important}.flex-grow-0[data-v-32434ea8]{flex-grow:0!important}.flex-grow-1[data-v-32434ea8]{flex-grow:1!important}.justify-content-start[data-v-32434ea8]{justify-content:flex-start!important}.justify-content-end[data-v-32434ea8]{justify-content:flex-end!important}.justify-content-center[data-v-32434ea8]{justify-content:center!important}.justify-content-between[data-v-32434ea8]{justify-content:space-between!important}.justify-content-around[data-v-32434ea8]{justify-content:space-around!important}.align-items-start[data-v-32434ea8]{align-items:flex-start!important}.align-items-end[data-v-32434ea8]{align-items:flex-end!important}.align-items-center[data-v-32434ea8]{align-items:center!important}.align-items-baseline[data-v-32434ea8]{align-items:baseline!important}.align-items-stretch[data-v-32434ea8]{align-items:stretch!important}.align-content-start[data-v-32434ea8]{align-content:flex-start!important}.align-content-end[data-v-32434ea8]{align-content:flex-end!important}.align-content-center[data-v-32434ea8]{align-content:center!important}.align-content-between[data-v-32434ea8]{align-content:space-between!important}.align-content-around[data-v-32434ea8]{align-content:space-around!important}.align-content-stretch[data-v-32434ea8]{align-content:stretch!important}.align-self-auto[data-v-32434ea8]{align-self:auto!important}.align-self-start[data-v-32434ea8]{align-self:flex-start!important}.align-self-end[data-v-32434ea8]{align-self:flex-end!important}.align-self-center[data-v-32434ea8]{align-self:center!important}.align-self-baseline[data-v-32434ea8]{align-self:baseline!important}.align-self-stretch[data-v-32434ea8]{align-self:stretch!important}.cursor-pointer[data-v-32434ea8]{cursor:pointer!important}.overflow-auto[data-v-32434ea8]{overflow:auto}.overflow-hidden[data-v-32434ea8]{overflow:hidden}.w-25[data-v-32434ea8]{width:25%!important}.w-50[data-v-32434ea8]{width:50%!important}.w-75[data-v-32434ea8]{width:75%!important}.w-100[data-v-32434ea8]{width:100%!important}.w-auto[data-v-32434ea8]{width:auto!important}.h-100[data-v-32434ea8]{height:100%!important}.h-auto[data-v-32434ea8]{height:auto!important}.h-screen[data-v-32434ea8]{min-height:100vh!important}.non-visual-button[data-v-32434ea8],.non-visual-button[data-v-32434ea8]:focus,.non-visual-button[data-v-32434ea8]:hover{background-color:transparent!important;border:none!important;cursor:pointer!important;font-weight:400!important}@keyframes spin-32434ea8{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.k-visually-hidden[data-v-32434ea8]{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.form-group[data-v-32434ea8]{display:block;width:100%;margin-bottom:24px;margin-bottom:var(--lg, 24px)}.form-group hr[data-v-32434ea8]{border-color:#e7e7ec;border-color:var(--KInputBorder, var(--grey-300, ));margin:32px 0;margin:var(--xl, 32px) 0}.k-input+.help[data-v-32434ea8],.k-input-wrapper+.help[data-v-32434ea8]{display:block;margin:8px 0 0;margin:var(--spacing-xs, 8px) 0 0;font-size:14px;font-size:var(--type-sm, 14px);color:#00000073;color:var(--black-45, rgba(0, 0, 0, .45))}.k-input-label[data-v-32434ea8]{display:inline-block;color:#000000d9;color:var(--KInputLabelColor, var(--black-85));font-weight:600;font-weight:var(--KInputLabelWeight, 600);font-family:sans-serif;font-family:var(--KInputLabelFont, var(--font-family-sans, sans-serif));font-size:14px;font-size:var(--KInputLabelSize, var(--type-sm, 14px));line-height:18px;line-height:var(--KInputLabelLineHeight, var(--type-lg, 18px));margin-bottom:8px;margin-bottom:var(--KInputLabelMargin, var(--spacing-xs, 8px))}.k-input-label .label-tooltip[data-v-32434ea8]{display:flex;align-items:center}.k-input-label .kong-icon[data-v-32434ea8]{margin-left:4px;margin-left:var(--spacing-xxs)}.k-inputCheckbox.k-input-label[data-v-32434ea8],.k-inputRadio.k-input-label[data-v-32434ea8]{color:#000000b3;color:var(--KInputCheckboxLabel, var(--black-70, rgba(0, 0, 0, .7)));font-size:16px;font-size:var(--KInputCheckboxLabelSize, var(--type-md, 16px));font-weight:400;font-family:sans-serif;font-family:var(--KInputCheckboxLabelFont, var(--font-family-sans, sans-serif));margin-bottom:0}.k-input-wrapper .text-on-input[data-v-32434ea8]{position:relative}.k-input-wrapper .text-on-input .hovered[data-v-32434ea8]:not(.readonly){color:#1155cb;color:var(--KInputHover, var(--blue-500));transition:color .1s ease}.k-input-wrapper .text-on-input .focused[data-v-32434ea8]:not(.readonly){color:#1155cb;color:var(--KInputFocus, var(--blue-500));transition:color .1s ease}.k-input-wrapper .text-on-input label.hovered[data-v-32434ea8]:not(.readonly){color:#1155cb;color:var(--KInputHover, var(--blue-500));transition:color .1s ease}.k-input-wrapper .text-on-input label.focused[data-v-32434ea8]:not(.readonly){color:#1155cb;color:var(--KInputFocus, var(--blue-500));transition:color .1s ease}.k-input-wrapper .text-on-input label.disabled[data-v-32434ea8]{color:#6f7787;color:var(--grey-500)}.k-input-wrapper .text-on-input label[data-v-32434ea8]{position:absolute;top:-8px;left:13px;width:auto;padding:2px 4px;z-index:1;font-size:11px;font-weight:500;color:#3c4557;color:var(--KInputBorder, var(--grey-600));background-color:#fff;background-color:var(--KInputBackground, var(--white));display:inline-block;margin-bottom:.5rem;transition:color .1s ease}.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio]),.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio]){display:block;width:100%;padding:10px 16px;padding:10px var(--spacing-md, 16px);color:#000000b3;color:var(--KInputColor, var(--black-70, rgba(0, 0, 0, .7)));font-size:16px;font-size:var(--type-md, 16px);font-weight:400;line-height:24px;border:none;border-radius:3px;box-sizing:border-box;background-color:#fff;background-color:var(--KInputBackground, var(--white, #ffffff));box-shadow:inset 0 0 0 1px #e7e7ec!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:color .1s ease,box-shadow .1s ease}.k-input:not([type=checkbox]):not([type=radio]).k-input-small[data-v-32434ea8],.form-control:not([type=checkbox]):not([type=radio]).k-input-small[data-v-32434ea8]{font-size:12px;font-size:var(--type-xs, 12px);padding:8px 12px;padding:var(--spacing-xs, 8px) var(--spacing-sm, 12px)}.k-input:not([type=checkbox]):not([type=radio]).k-input-large[data-v-32434ea8],.form-control:not([type=checkbox]):not([type=radio]).k-input-large[data-v-32434ea8]{font-size:16px;font-size:var(--type-md, 16px);padding:16px 24px;padding:var(--spacing-md, 16px) var(--spacing-lg, 24px)}.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):hover,.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):hover{box-shadow:inset 0 0 0 1px #bdd3f9!important;box-shadow:inset 0 0 0 1px var(--KInputHover, var(--blue-200))!important;transition:all .1s ease}.k-input:not([type=checkbox]):not([type=radio]):hover.k-input-large[data-v-32434ea8],.form-control:not([type=checkbox]):not([type=radio]):hover.k-input-large[data-v-32434ea8]{box-shadow:inset 0 0 0 2px #bdd3f9!important;box-shadow:inset 0 0 0 2px var(--KInputHover, var(--blue-200))!important;transition:all .1s ease}.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):focus,.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):focus{outline:none!important;box-shadow:inset 0 0 0 1px #3972d5!important;box-shadow:inset 0 0 0 1px var(--KInputFocus, var(--blue-400))!important;transition:all .1s ease}.k-input:not([type=checkbox]):not([type=radio]):focus.k-input-large[data-v-32434ea8],.form-control:not([type=checkbox]):not([type=radio]):focus.k-input-large[data-v-32434ea8]{box-shadow:inset 0 0 0 2px #3972d5!important;box-shadow:inset 0 0 0 2px var(--KInputFocus, var(--blue-400))!important;transition:all .1s ease}.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):not([type=checkbox]):not([type=radio]):not([type=file]):read-only,.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):not([type=checkbox]):not([type=radio]):not([type=file]):read-only{background-color:#f8f8fa;background-color:var(--KInputReadonlyBackground, var(--grey-100, #f8f8fa));box-shadow:inset 0 0 0 1px #e7e7ec!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:all .1s ease}.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):disabled,.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):disabled{cursor:not-allowed;font-style:italic;background-color:#f8f8fa;background-color:var(--KInputDisabledBackground, var(--grey-100, #f8f8fa));box-shadow:inset 0 0 0 1px #e7e7ec!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:all .1s ease}.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):invalid,.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):-moz-submit-invalid,.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):-moz-ui-invalid,.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):invalid,.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):-moz-submit-invalid,.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio]):-moz-ui-invalid{box-shadow:none}.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio])::placeholder,.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio])::placeholder{color:#00000073;color:var(--KInputPlaceholderColor, var(--black-45, rgba(0, 0, 0, .45)));font-weight:400;opacity:1}.k-input[data-v-32434ea8]:not([type=checkbox]):not([type=radio])::-ms-clear,.form-control[data-v-32434ea8]:not([type=checkbox]):not([type=radio])::-ms-clear{display:none}.k-input[type=search][data-v-32434ea8],.form-control[type=search][data-v-32434ea8]{padding-left:36px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath fill='%23000' fill-opacity='.45' fill-rule='evenodd' d='M6 12c-3.3137085 0-6-2.6862915-6-6s2.6862915-6 6-6 6 2.6862915 6 6c0 1.29583043-.410791 2.49571549-1.1092521 3.47653436l1.2305724 1.23057244 2.8232632 2.8338633c.3897175.3911808.3947266 1.0192147.005164 1.4087774-.3868655.3868655-1.014825.3873148-1.4087774-.005164l-2.8338633-2.8232632-1.23057244-1.2305724C8.49571549 11.589209 7.29583043 12 6 12zm4-6c0-2.209139-1.790861-4-4-4S2 3.790861 2 6s1.790861 4 4 4 4-1.790861 4-4z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:12px 50%}.k-input[type=search][data-v-32434ea8]::-webkit-search-cancel-button,.form-control[type=search][data-v-32434ea8]::-webkit-search-cancel-button{-webkit-appearance:none;height:16px;width:16px;background-image:url(data:image/svg+xml,%3Csvg%20width%3D%2712%27%20height%3D%2712%27%20viewBox%3D%270%200%2012%2012%27%20fill%3D%27none%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%0A%3Cpath%20d%3D%27M9.60005%202.40021L1.80005%2010.2002%27%20stroke%3D%27%233C4557%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%2F%3E%0A%3Cpath%20d%3D%27M9.60005%2010.2002L1.80005%202.40021%27%20stroke%3D%27%233C4557%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%2F%3E%0A%3C%2Fsvg%3E);background-size:16px 16px}.k-input-wrapper textarea.form-control[data-v-32434ea8]{resize:none;padding:17px 0 0 22px}.k-input-wrapper textarea.form-control[data-v-32434ea8]:focus{box-shadow:inset 0 0 0 2px #3972d5!important;box-shadow:inset 0 0 0 2px var(--KInputFocus, var(--blue-400))!important}.k-input-wrapper.input-error .k-input[data-v-32434ea8],.k-input-wrapper.input-error .k-input[data-v-32434ea8]:hover,.k-input-wrapper.input-error .k-input[data-v-32434ea8]:focus{outline:none!important;box-shadow:inset 0 0 0 1.5px #d44324!important;box-shadow:inset 0 0 0 1.5px var(--KInputError, var(--red-500, #d44324))!important;transition:color .1s ease}.k-input-wrapper.input-error .k-input.k-input-large[data-v-32434ea8],.k-input-wrapper.input-error .k-input:hover.k-input-large[data-v-32434ea8],.k-input-wrapper.input-error .k-input:focus.k-input-large[data-v-32434ea8]{box-shadow:inset 0 0 0 2px #d44324!important;box-shadow:inset 0 0 0 2px var(--KInputError, var(--red-500, #d44324))!important;transition:color .1s ease}.k-input-wrapper.input-error .text-on-input label[data-v-32434ea8]{color:#d44324;color:var(--KInputError, var(--red-500, #d44324));transition:color .1s ease}select.k-input[data-v-32434ea8]:not([type=checkbox]),select.k-input[data-v-32434ea8]:not([type=checkbox]):read-only,select.k-input[data-v-32434ea8]:not([type=radio]),select.k-input[data-v-32434ea8]:not([type=radio]):read-only{height:38px;background-color:#fff;background-color:var(--KInputSelectBackground, var(--white, #ffffff))}.k-input-label[data-v-32434ea8]{display:inline-block;color:#000000d9;color:var(--KInputLabelColor, var(--black-85));font-weight:600;font-weight:var(--KInputLabelWeight, 600);font-family:sans-serif;font-family:var(--KInputLabelFont, var(--font-family-sans, sans-serif));font-size:14px;font-size:var(--KInputLabelSize, var(--type-sm, 14px));line-height:18px;line-height:var(--KInputLabelLineHeight, var(--type-lg, 18px));margin-bottom:8px;margin-bottom:var(--KInputLabelMargin, var(--spacing-xs, 8px))}.k-input-label .label-tooltip[data-v-32434ea8]{display:flex;align-items:center}.k-input-label .kong-icon[data-v-32434ea8]{margin-left:4px;margin-left:var(--spacing-xxs)}.k-inputCheckbox.k-input-label[data-v-32434ea8],.k-inputRadio.k-input-label[data-v-32434ea8]{color:#000000b3;color:var(--KInputCheckboxLabel, var(--black-70, rgba(0, 0, 0, .7)));font-size:16px;font-size:var(--KInputCheckboxLabelSize, var(--type-md, 16px));font-weight:400;font-family:sans-serif;font-family:var(--KInputCheckboxLabelFont, var(--font-family-sans, sans-serif));margin-bottom:0}input.k-input[type=checkbox][data-v-32434ea8],input.k-input[type=radio][data-v-32434ea8],input.form-control[type=checkbox][data-v-32434ea8],input.form-control[type=radio][data-v-32434ea8]{display:inline-block;vertical-align:middle;padding:0;border:1px solid #e7e7ec;border:1px solid var(--KInputBorder, var(--grey-300, #e7e7ec));background-color:#fff;box-sizing:border-box;appearance:none;user-select:none;-webkit-print-color-adjust:exact}input.k-input[type=checkbox][data-v-32434ea8]:disabled,input.k-input[type=radio][data-v-32434ea8]:disabled,input.form-control[type=checkbox][data-v-32434ea8]:disabled,input.form-control[type=radio][data-v-32434ea8]:disabled{opacity:1}input.k-input[type=checkbox][data-v-32434ea8]:disabled:hover,input.k-input[type=radio][data-v-32434ea8]:disabled:hover,input.form-control[type=checkbox][data-v-32434ea8]:disabled:hover,input.form-control[type=radio][data-v-32434ea8]:disabled:hover{border-color:#e7e7ec;border-color:var(--KInputBorder, var(--grey-300, #e7e7ec))}input.k-input[type=checkbox][data-v-32434ea8],input.form-control[type=checkbox][data-v-32434ea8]{height:20px;width:20px;color:#1155cb;color:var(--KCheckboxPrimary, var(--blue-500, #1155cb));border:none;border-radius:3px;margin:0 6px 0 0;outline:none}input.k-input[type=checkbox][data-v-32434ea8]:not(:checked),input.form-control[type=checkbox][data-v-32434ea8]:not(:checked){border:1px solid #1155cb;border:1px solid var(--KCheckboxPrimary, var(--blue-500, #1155cb))}input.k-input[type=checkbox][data-v-32434ea8]:checked,input.form-control[type=checkbox][data-v-32434ea8]:checked{background-image:url("data:image/svg+xml,%3Csvg width='13' height='11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.633 0L12 1.397 3.583 10 0 6.337 1.367 4.94l2.216 2.265z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E");border-color:#1155cb;border-color:var(--KCheckboxPrimary, var(--blue-500, #1155cb));background-color:currentColor;background-position:center;background-repeat:no-repeat}input.k-input[type=checkbox][data-v-32434ea8]:checked::-ms-check,input.form-control[type=checkbox][data-v-32434ea8]:checked::-ms-check{color:#fff;border:1px solid #1155cb;border:1px solid var(--KCheckboxPrimary, var(--blue-500, #1155cb));background-color:#1155cb;background-color:var(--KCheckboxPrimary, var(--blue-500, #1155cb))}input.k-input[type=checkbox][data-v-32434ea8]:hover,input.k-input[type=checkbox][data-v-32434ea8]:active,input.form-control[type=checkbox][data-v-32434ea8]:hover,input.form-control[type=checkbox][data-v-32434ea8]:active{border-color:#1155cb;border-color:var(--KCheckboxPrimary, var(--blue-500, #1155cb))}input.k-input[type=checkbox][data-v-32434ea8]:focus,input.form-control[type=checkbox][data-v-32434ea8]:focus{outline:none;border-color:#1155cb;border-color:var(--KCheckboxPrimary, var(--blue-500, #1155cb))}input.k-input[type=checkbox][data-v-32434ea8]:disabled:not(:checked),input.form-control[type=checkbox][data-v-32434ea8]:disabled:not(:checked){background-color:#f8f8fa;background-color:var(--KInputCheckboxDisabled, var(--grey-100, #f8f8fa));border:1px solid #b6b6bd;border:1px solid var(--KCheckboxDisabledChecked, var(--grey-400, #b6b6bd));border-radius:2px}input.k-input[type=checkbox][data-v-32434ea8]:disabled:checked,input.form-control[type=checkbox][data-v-32434ea8]:disabled:checked{background-color:#b6b6bd;background-color:var(--KCheckboxDisabledChecked, var(--grey-400, #b6b6bd))}input.k-input[type=radio][data-v-32434ea8],input.form-control[type=radio][data-v-32434ea8]{display:inline-flex;justify-content:center;align-items:center;height:20px;width:20px;color:#1155cb;color:var(--KRadioPrimary, var(--blue-500, #1155cb));border:2px solid #e7e7ec;border:2px solid var(--KInputBorder, var(--grey-300, #e7e7ec));border-radius:100%;margin:0 6px 0 0}input.k-input[type=radio][data-v-32434ea8]:checked,input.form-control[type=radio][data-v-32434ea8]:checked{border-color:currentColor;background-color:#fff;background-size:100% 100%;background-position:center;background-repeat:no-repeat}input.k-input[type=radio][data-v-32434ea8]:checked:after,input.form-control[type=radio][data-v-32434ea8]:checked:after{content:"";display:flex;height:10px;width:10px;background-color:currentColor;border-radius:100%}input.k-input[type=radio][data-v-32434ea8]:checked::-ms-check,input.form-control[type=radio][data-v-32434ea8]:checked::-ms-check{border:2px solid currentColor;color:currentColor}input.k-input[type=radio][data-v-32434ea8]:disabled,input.form-control[type=radio][data-v-32434ea8]:disabled{background-color:#f1f1f5;background-color:var(--KInputRadioDisabled, var(--grey-200, #f1f1f5))}.k-switch[data-v-32434ea8]{display:inline-flex;align-items:center;cursor:pointer}.k-switch.switch-with-icon .switch-control[data-v-32434ea8]{width:48px}.k-switch.switch-with-icon .kong-icon[data-v-32434ea8]{height:20px;width:22px;left:57px}.k-switch.switch-with-icon input:checked+.switch-control[data-v-32434ea8]:after{left:26px}.k-switch .switch-control[data-v-32434ea8]{position:relative;display:block;width:44px;height:24px;margin-right:1rem;border-radius:12px;background-color:#b6b6bd;background-color:var(--KInputSwitchBackground, var(--grey-400, #b6b6bd));transition:.2s linear}.k-switch .switch-control.has-label-left[data-v-32434ea8]{margin-right:0;margin-left:1rem}.k-switch .switch-control[data-v-32434ea8]:after{position:absolute;top:2px;left:2px;display:block;width:20px;height:20px;border-radius:50%;background-color:#fff;background-color:var(--white, #ffffff);content:"";transition:.2s linear}.k-switch[disabled][data-v-32434ea8]:not(:disabled){cursor:not-allowed}.k-switch[disabled]:not(:disabled) .switch-control[data-v-32434ea8],.k-switch[disabled]:not(:disabled) input[data-v-32434ea8]{opacity:.3;pointer-events:none}.k-switch input[data-v-32434ea8]{display:none}.k-switch input:checked+.switch-control[data-v-32434ea8]{background-color:#07a88d;background-color:var(--KInputSwitchOn, var(--green-500, #07a88d))}.k-switch input:checked+.switch-control[data-v-32434ea8]:after{left:22px}.k-switch span[data-v-32434ea8]{color:#000000b3;color:var(--KInputSwitchLabel, var(--black-70, rgba(0, 0, 0, .7)))}[data-v-32434ea8]:root{--blue-100: #f2f6fe;--blue-200: #bdd3f9;--blue-300: #8ab3fa;--blue-400: #3972d5;--blue-500: #1155cb;--blue-600: #003694;--blue-700: #0a2b66;--petrol-100: #eaf4fb;--petrol-200: #0364ac;--purple-100: #d7d8fe;--purple-200: #bec0fd;--purple-300: #9396fc;--purple-400: #473cfb;--steel-100: #f0f4fa;--steel-200: #dae3f2;--steel-300: #a3b6d9;--steel-400: #7d91b3;--steel-500: #5c7299;--steel-600: #395380;--steel-700: #273c61;--red-100: #ffdede;--red-200: #ffcccc;--red-300: #ff9a99;--red-400: #ff7877;--red-500: #d44324;--red-600: #e50000;--red-700: #922021;--green-100: #e8f8f5;--green-200: #c0f2d5;--green-300: #84e5ae;--green-400: #42d782;--green-500: #07a88d;--green-600: #008871;--green-700: #13755e;--teal-100: #cdf1fe;--teal-200: #91e1fc;--teal-300: #169fcc;--teal-400: #0a7fae;--teal-500: #006e9d;--yellow-100: #fff3d8;--yellow-200: #ffe6ba;--yellow-300: #ffd68c;--yellow-400: #fabe5f;--yellow-500: #c67c06;--yellow-600: #a05604;--grey-100: #f8f8fa;--grey-200: #f1f1f5;--grey-300: #e7e7ec;--grey-400: #b6b6bd;--grey-500: #6f7787;--grey-600: #3c4557;--black-85: rgba(0, 0, 0, .85);--black-70: rgba(0, 0, 0, .7);--black-45: rgba(0, 0, 0, .45);--black-25: rgba(0, 0, 0, .25);--black-10: rgba(0, 0, 0, .1);--black-100: #dfdfdf;--black-200: #b1b2b1;--black-300: #6f7787;--black-400: #3c4557;--black-500: #0b172d;--white: #ffffff;--spacing-xxs: 4px;--spacing-xs: 8px;--spacing-sm: 12px;--spacing-md: 16px;--spacing-lg: 24px;--spacing-xl: 32px;--spacing-xxl: 48px;--spacing-xxxl: 64px;--type-xxxl: 32px;--type-xxl: 28px;--type-xl: 22px;--type-lg: 18px;--type-md: 16px;--type-sm: 14px;--type-xs: 12px;--type-xxs: 10px;--font-family-sans: sans-serif;--font-family-mono: monospace;font-weight:400;font-weight:var(--font-weight-normal, 400)}:root body[data-v-32434ea8]{font-weight:400;font-weight:var(--font-weight-normal, 400)}.toaster-container-outer[data-v-32434ea8]{position:fixed;width:auto;bottom:1rem;right:1rem;max-width:300px;z-index:10000;transition:all .3s}.toaster-item[data-v-32434ea8]{display:flex;width:100%;margin-bottom:1rem;transition:all .3s;overflow:hidden;box-shadow:0 0 12px #0000001f}.toaster-item[data-v-32434ea8] .k-alert{--KAlertInfoBorder: var(--blue-500, color(blue-500));--KAlertSuccessBorder: var(--green-400, color(green-400));--KAlertWarningBorder: var(--yellow-300, color(yellow-300));--KAlertDangerBorder: var(--red-500, color(red-500));display:flex;justify-content:space-between;flex:1;padding:1rem;text-align:left;background-color:#fff;color:#000000b3;color:var(--black-70);margin-bottom:0}.toaster-item[data-v-32434ea8] .k-alert .close{position:relative;order:1;right:0;padding:0 0 0 1rem}.toaster-item[data-v-32434ea8] .k-alert .close:focus,.toaster-item[data-v-32434ea8] .k-alert .close:active{outline:none}.toaster-item .message[data-v-32434ea8]{hyphens:auto;max-width:150ch}.toaster-enter[data-v-32434ea8]{transform:translate(300px)}.toaster-leave-to[data-v-32434ea8]{transform:translate(100%)}.view-switch-button[data-v-d5e8360c]{--KButtonPaddingY: 6px;--KButtonPaddingX: 6px;--KButtonSecondaryHover: var(--white);--KButtonSecondaryHoverBorder: var(--blue-300);--KButtonSecondaryFocus: none;transform:scale(1) translateZ(0);transform:scale(var(--scale, 1)) translateZ(0)}.view-switch-button.paused .icon i[data-v-d5e8360c]{animation-duration:0s}.view-switch-button .icon[data-v-d5e8360c]{width:1.5rem;height:1.5rem;position:relative}.view-switch-button .icon i[data-v-d5e8360c]{position:absolute;left:4px;left:var(--left, 4px);top:4px;top:var(--top, 4px);display:block;border-radius:2px;width:7px;width:var(--width, 7px);height:7px;height:var(--height, 7px);background-color:var(--grey-500);animation:none .5s linear forwards 0s;animation:var(--name, var(--dots-name, none)) var(--duration, var(--dots-duration, .5s)) var(--easing, var(--dots-easing, linear)) forwards var(--delay, var(--dots-delay, 0s));transition:background-color .2s ease}.view-switch-button .icon .dots i[data-v-d5e8360c]:nth-child(1){--x-middle: -8px;--y-middle: 10px;--x-end: -2px;--y-end: 12px;--x-back: 10px;--y-back: 7px;--x-back-end: 9px;--y-back-end: 0}.view-switch-button .icon .dots i[data-v-d5e8360c]:nth-child(2){--left: 13px;--x-middle: -12px;--y-middle: 5px;--x-end: -11px;--y-end: 7px;--x-back: -3px;--y-back: 1px;--x-back-end: -9px;--y-back-end: 0}.view-switch-button .icon .dots i[data-v-d5e8360c]:nth-child(3){--top: 13px;--x-middle: 4px;--y-middle: -5px;--x-end: -2px;--y-end: -7px;--x-back: -5px;--y-back: 0px;--x-back-end: 9px;--y-back-end: 0}.view-switch-button .icon .dots i[data-v-d5e8360c]:nth-child(4){--left: 13px;--top: 13px;--x-middle: 0;--y-middle: -10px;--x-end: -11px;--y-end: -12px;--x-back: -14px;--y-back: -8px;--x-back-end: -9px;--y-back-end: 0}.view-switch-button .icon .lines[data-v-d5e8360c]{--name: var(--lines-name, none);--duration: var(--lines-duration, .15s);--easing: var(--lines-easing, linear);--delay: var(--lines-delay, 0s)}.view-switch-button .icon .lines i[data-v-d5e8360c]{--left: 9px;--top: 3px;--height: 2px;--width: 11px;transform-origin:0 50%;transform:translateY(20%) translateZ(0) scaleX(0)}.view-switch-button .icon .lines i[data-v-d5e8360c]:nth-child(2){--top: 8px}.view-switch-button .icon .lines i[data-v-d5e8360c]:nth-child(3){--top: 13px}.view-switch-button .icon .lines i[data-v-d5e8360c]:nth-child(4){--top: 18px}.view-switch-button .icon .lines i[data-v-d5e8360c]:nth-child(3),.view-switch-button .icon .lines i[data-v-d5e8360c]:nth-child(4){transform-origin:100% 50%}.view-switch-button.table[data-v-d5e8360c]{--dots-name: back;--lines-name: scale-down}.view-switch-button.table .lines i[data-v-d5e8360c]{transform-origin:0 50%}.view-switch-button.table .lines i[data-v-d5e8360c]:nth-child(3),.view-switch-button.table .lines i[data-v-d5e8360c]:nth-child(4){transform-origin:100% 50%}.view-switch-button.grid[data-v-d5e8360c]{--dots-name: move;--lines-name: scale;--lines-duration: .15s;--lines-delay: .3s}.view-switch-button.grid .lines i[data-v-d5e8360c]{transform-origin:100% 50%}.view-switch-button.grid .lines i[data-v-d5e8360c]:nth-child(3),.view-switch-button.grid .lines i[data-v-d5e8360c]:nth-child(4){transform-origin:0 50%}@keyframes move{50%{transform:translate(0) scale(.4);transform:translate(var(--x-middle, 0),var(--y-middle, 0)) scale(.4)}to{transform:translate(0) scale(.4);transform:translate(var(--x-end, 0),var(--y-end, 0)) scale(.4)}}@keyframes back{0%,15%{transform:translate(0) scale(.4);transform:translate(var(--x-end, 0),var(--y-end, 0)) scale(.4)}50%{transform:translate(0) scale(.5);transform:translate(var(--x-back, 0),var(--y-back, 0)) scale(.5)}to{transform:translate(0) scale(1);transform:translate(var(--x-back-end, 0),var(--y-back-end, 0)) scale(1)}}@keyframes scale{to{transform:translateY(20%) translateZ(0) scaleX(1)}}@keyframes scale-down{0%{transform:translateY(20%) translateZ(0) scaleX(1)}to{transform:translateY(20%) translateZ(0) scaleX(0)}}.k-multiselect-item[data-v-794a69ea]{margin-bottom:4px}.k-multiselect-item[data-v-794a69ea]:last-of-type{margin-bottom:0!important}.k-multiselect-item button[data-v-794a69ea]{display:flex;align-items:center;font-size:var(--type-xs);line-height:26px;color:var(--grey-500);padding-left:var(--spacing-xxs);width:100%;border:none;font-family:var(--font-family-sans);background-color:var(--white);border-radius:4px;text-align:left;font-weight:400}.k-multiselect-item button[data-v-794a69ea]:not(:disabled),.k-multiselect-item button[data-v-794a69ea]:not(.disabled){cursor:pointer}.k-multiselect-item button .k-multiselect-item-label[data-v-794a69ea]{width:auto;line-height:16px;color:var(--grey-600);font-weight:500;font-size:14px;padding:8px;margin-bottom:4px}.k-multiselect-item button .k-multiselect-item-label[data-v-794a69ea] .select-item-label{color:var(--grey-600);font-weight:600;font-size:14px;margin-bottom:4px}.k-multiselect-item button .k-multiselect-item-label[data-v-794a69ea] .select-item-desc{color:var(--grey-500);font-weight:400;font-size:12px}.k-multiselect-item button .selected-item-icon[data-v-794a69ea]{height:24px}.k-multiselect-item button .kong-icon[data-v-794a69ea]:not(.selected-item-icon){margin-right:.75rem}.k-multiselect-item button .k-multiselect-selected-icon-container[data-v-794a69ea]{margin-left:auto;margin-top:auto;margin-bottom:auto;height:24px;width:24px}.k-multiselect-item button[data-v-794a69ea]:hover{background-color:var(--grey-100);color:var(--grey-600)}.k-multiselect-item button.selected[data-v-794a69ea]{background-color:var(--blue-100);color:var(--blue-500);font-weight:400}.k-multiselect[data-v-6ef41ff8]{width:fit-content;position:relative}.k-multiselect .staging-area[data-v-6ef41ff8]{visibility:hidden;position:absolute;left:-99999px;pointer-events:none;z-index:-1}.k-multiselect .k-multiselect-selections[data-v-6ef41ff8]{--KBadgeMaxWidth: 100px;box-sizing:border-box;padding-left:16px;padding-right:23px}.k-multiselect .k-multiselect-selections.scrollable[data-v-6ef41ff8]{overflow-y:auto}.k-multiselect .k-multiselect-selections.staging[data-v-6ef41ff8]{box-sizing:border-box;position:relative;height:auto;padding-left:16px;padding-right:23px}.k-multiselect .k-multiselect-selections .hidden-selection-count[data-v-6ef41ff8]{--KBadgeLineHeight: 21px}.k-multiselect .k-multiselect-selections .hidden-selection-count.hidden[data-v-6ef41ff8]{visibility:hidden}.k-multiselect .k-multiselect-icon[data-v-6ef41ff8]{position:absolute;z-index:1;right:1px;top:1px}.k-multiselect .k-multiselect-icon .k-multiselect-chevron-icon[data-v-6ef41ff8]{position:relative;top:11px;right:10px}.k-multiselect .k-multiselect-icon .k-multiselect-clear-icon[data-v-6ef41ff8]{position:relative;top:8px;right:10px}.k-multiselect .k-multiselect-trigger[data-v-6ef41ff8]{display:inline-block;position:relative;border-radius:3px;background-color:#fff;background-color:var(--KInputBackground, var(--white, #ffffff));box-shadow:inset 0 0 0 1px var(--grey-300)!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:color .1s ease,box-shadow .1s ease}.k-multiselect .k-multiselect-trigger.hovered[data-v-6ef41ff8]{box-shadow:inset 0 0 0 1px var(--blue-200)!important;box-shadow:inset 0 0 0 1px var(--KInputHover, var(--blue-200))!important;transition:all .1s ease}.k-multiselect .k-multiselect-trigger.focused[data-v-6ef41ff8]{outline:none!important;box-shadow:inset 0 0 0 1px var(--blue-400)!important;box-shadow:inset 0 0 0 1px var(--KInputFocus, var(--blue-400))!important;transition:all .1s ease}.k-multiselect .k-multiselect-trigger.readonly[data-v-6ef41ff8]{background-color:#f8f8fa;background-color:var(--KInputReadonlyBackground, var(--grey-100, #f8f8fa));box-shadow:inset 0 0 0 1px var(--grey-300)!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:all .1s ease}.k-multiselect .k-multiselect-trigger.disabled[data-v-6ef41ff8]{cursor:not-allowed;font-style:italic;background-color:#f8f8fa;background-color:var(--KInputDisabledBackground, var(--grey-100, #f8f8fa));box-shadow:inset 0 0 0 1px var(--grey-300)!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:all .1s ease}.k-multiselect .k-multiselect-trigger .k-multiselect-input[data-v-6ef41ff8]{position:relative;display:inline-block;width:100%}.k-multiselect .k-multiselect-trigger .k-multiselect-input.prevent-pointer-events{pointer-events:none}.k-multiselect .k-multiselect-trigger .k-multiselect-input.input-placeholder-dark::placeholder{color:#000000b3!important;color:var(--KInputColor, var(--black-70, rgba(0, 0, 0, .7)))!important}.k-multiselect .k-multiselect-trigger .k-multiselect-input input.k-input:not([type=checkbox]):not([type=radio]){height:calc(100% - 2px);width:calc(100% - 4px);margin:1px;position:relative;left:1px;box-shadow:none!important}.k-multiselect .k-multiselect-trigger .k-multiselect-input input.k-input:not([type=checkbox]):not([type=radio]):hover,.k-multiselect .k-multiselect-trigger .k-multiselect-input input.k-input:not([type=checkbox]):not([type=radio]):focus,.k-multiselect .k-multiselect-trigger .k-multiselect-input input.k-input:not([type=checkbox]):not([type=radio]):read-only,.k-multiselect .k-multiselect-trigger .k-multiselect-input input.k-input:not([type=checkbox]):not([type=radio]):disabled{box-shadow:none!important}.k-multiselect .k-multiselect-trigger.k-input{width:100%}.k-multiselect .k-multiselect-popover{box-sizing:border-box;width:100%;margin-top:2px!important;overflow:auto!important}.k-multiselect .k-multiselect-popover[x-placement^=top]{margin-top:0!important;margin-bottom:2px!important}.k-multiselect .k-multiselect-popover.k-multiselect-pop{--KPopPaddingY: var(--spacing-xs);--KPopPaddingX: var(--spacing-xs);border:1px solid var(--black-10)}.k-multiselect .k-multiselect-popover .k-multiselect-empty-item button,.k-multiselect .k-multiselect-popover .k-multiselect-empty-item button:focus,.k-multiselect .k-multiselect-popover .k-multiselect-empty-item button:hover{color:var(--grey-500)}.k-multiselect .k-multiselect-popover .k-multiselect-empty-item button .select-item-label,.k-multiselect .k-multiselect-popover .k-multiselect-empty-item button:focus .select-item-label,.k-multiselect .k-multiselect-popover .k-multiselect-empty-item button:hover .select-item-label{color:var(--grey-500)}.k-multiselect .k-multiselect-popover a{flex:1;color:var(--black-70)}.k-multiselect .k-multiselect-popover a:hover,.k-multiselect .k-multiselect-popover a:active,.k-multiselect .k-multiselect-popover a:focus{text-decoration:none}/*! KONGPONENTS_STYLES */.type-xxxl{font-size:32px;font-size:var(--type-xxxl)}.type-xxl{font-size:28px;font-size:var(--type-xxl)}.type-xl{font-size:22px;font-size:var(--type-xl)}.type-lg{font-size:18px;font-size:var(--type-lg)}.type-md{font-size:16px;font-size:var(--type-md)}.type-sm{font-size:14px;font-size:var(--type-sm)}.type-xs{font-size:12px;font-size:var(--type-xs)}.type-xxs{font-size:10px;font-size:var(--type-xxs)}.mono{font-family:monospace;font-family:var(--font-family-mono)}.mono.type-xxxl{font-size:30.4px;font-size:calc(var(--type-xxxl) * .95)}.mono.type-xxl{font-size:calc(28px * .95);font-size:calc(var(--type-xxl) * .95)}.mono.type-xl{font-size:20.9px;font-size:calc(var(--type-xl) * .95)}.mono.type-lg{font-size:calc(18px * .95);font-size:calc(var(--type-lg) * .95)}.mono.type-md{font-size:15.2px;font-size:calc(var(--type-md) * .95)}.mono.type-sm{font-size:calc(14px * .95);font-size:calc(var(--type-sm) * .95)}.mono.type-xs{font-size:calc(12px * .95);font-size:calc(var(--type-xs) * .95)}.mono.type-xxs{font-size:9.5px;font-size:calc(var(--type-xxs) * .95)}.color-blue-100{color:#f2f6fe;color:var(--blue-100)}.color-blue-200{color:#bdd3f9;color:var(--blue-200)}.color-blue-300{color:#8ab3fa;color:var(--blue-300)}.color-blue-400{color:#3972d5;color:var(--blue-400)}.color-blue-500{color:#1155cb;color:var(--blue-500)}.color-blue-600{color:#003694;color:var(--blue-600)}.color-blue-700{color:#0a2b66;color:var(--blue-700)}.color-petrol-100{color:#eaf4fb;color:var(--petrol-100)}.color-petrol-200{color:#0364ac;color:var(--petrol-200)}.color-purple-100{color:#d7d8fe;color:var(--purple-100)}.color-purple-200{color:#bec0fd;color:var(--purple-200)}.color-purple-300{color:#9396fc;color:var(--purple-300)}.color-purple-400{color:#473cfb;color:var(--purple-400)}.color-steel-100{color:#f0f4fa;color:var(--steel-100)}.color-steel-200{color:#dae3f2;color:var(--steel-200)}.color-steel-300{color:#a3b6d9;color:var(--steel-300)}.color-steel-400{color:#7d91b3;color:var(--steel-400)}.color-steel-500{color:#5c7299;color:var(--steel-500)}.color-steel-600{color:#395380;color:var(--steel-600)}.color-steel-700{color:#273c61;color:var(--steel-700)}.color-red-100{color:#ffdede;color:var(--red-100)}.color-red-200{color:#fcc;color:var(--red-200)}.color-red-300{color:#ff9a99;color:var(--red-300)}.color-red-400{color:#ff7877;color:var(--red-400)}.color-red-500{color:#d44324;color:var(--red-500)}.color-red-600{color:#e50000;color:var(--red-600)}.color-red-700{color:#922021;color:var(--red-700)}.color-green-100{color:#e8f8f5;color:var(--green-100)}.color-green-200{color:#c0f2d5;color:var(--green-200)}.color-green-300{color:#84e5ae;color:var(--green-300)}.color-green-400{color:#42d782;color:var(--green-400)}.color-green-500{color:#07a88d;color:var(--green-500)}.color-green-600{color:#008871;color:var(--green-600)}.color-green-700{color:#13755e;color:var(--green-700)}.color-teal-100{color:#cdf1fe;color:var(--teal-100)}.color-teal-200{color:#91e1fc;color:var(--teal-200)}.color-teal-300{color:#169fcc;color:var(--teal-300)}.color-teal-400{color:#0a7fae;color:var(--teal-400)}.color-teal-500{color:#006e9d;color:var(--teal-500)}.color-yellow-100{color:#fff3d8;color:var(--yellow-100)}.color-yellow-200{color:#ffe6ba;color:var(--yellow-200)}.color-yellow-300{color:#ffd68c;color:var(--yellow-300)}.color-yellow-400{color:#fabe5f;color:var(--yellow-400)}.color-yellow-500{color:#c67c06;color:var(--yellow-500)}.color-yellow-600{color:#a05604;color:var(--yellow-600)}.color-grey-100{color:#f8f8fa;color:var(--grey-100)}.color-grey-200{color:#f1f1f5;color:var(--grey-200)}.color-grey-300{color:#e7e7ec;color:var(--grey-300)}.color-grey-400{color:#b6b6bd;color:var(--grey-400)}.color-grey-500{color:#6f7787;color:var(--grey-500)}.color-grey-600{color:#3c4557;color:var(--grey-600)}.color-black-85{color:#000000d9;color:var(--black-85)}.color-black-70{color:#000000b3;color:var(--black-70)}.color-black-45{color:#00000073;color:var(--black-45)}.color-black-25{color:#00000040;color:var(--black-25)}.color-black-10{color:#0000001a;color:var(--black-10)}.color-black-100{color:#dfdfdf;color:var(--black-100)}.color-black-200{color:#b1b2b1;color:var(--black-200)}.color-black-300{color:#6f7787;color:var(--black-300)}.color-black-400{color:#3c4557;color:var(--black-400)}.color-black-500{color:#0b172d;color:var(--black-500)}.color-white{color:#fff;color:var(--white)}.style-heading-1{font-size:32px!important;line-height:36px!important;font-weight:400!important}.style-heading-2{font-size:20px!important;line-height:24px!important;font-weight:400!important}.style-heading-3{font-size:16px!important;line-height:24px!important;font-weight:400!important}.style-heading-4{font-size:14px!important;line-height:20px!important;font-weight:400!important}.style-body-lg{font-size:16px!important;line-height:24px!important;font-weight:300!important}.style-body-lg-bold{font-size:16px!important;line-height:24px!important;font-weight:400!important}.style-body-md{font-size:13px!important;line-height:20px!important;font-weight:400!important}.style-body-md-bold{font-size:13px!important;line-height:24px!important;font-weight:400!important}.style-body-sm,.style-body-sm-bold{font-size:12px!important;line-height:16px!important;font-weight:400!important}.style-body-tiny{font-size:11px!important;line-height:16px!important;font-weight:300!important}.style-body-link{font-size:13px!important;line-height:20px!important;font-weight:400!important}.style-body-bc{font-size:12px!important;line-height:24px!important;font-weight:400!important;text-transform:uppercase!important}.style-body-code{font-size:13px!important;line-height:24px!important;font-weight:100!important}.mx-auto{margin-left:auto!important;margin-right:auto!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.ma-auto{margin:auto!important}.mx-0{margin-left:0!important;margin-right:0!important}.my-0{margin-top:0!important;margin-bottom:0!important}.ma-0{margin:0!important}.px-auto{padding-left:auto!important;padding-right:auto!important}.py-auto{padding-top:auto!important;padding-bottom:auto!important}.pa-auto{padding-left:auto!important;padding-right:auto!important;padding-top:auto!important;padding-bottom:auto!important}.px-0{padding-left:0!important;padding-right:0!important}.py-0{padding-top:0!important;padding-bottom:0!important}.pa-0{padding:0!important}.mt-auto{margin-top:auto!important}.mt-0{margin-top:0!important}.mr-auto{margin-right:auto!important}.mr-0{margin-right:0!important}.mb-auto{margin-bottom:auto!important}.mb-0{margin-bottom:0!important}.ml-auto{margin-left:auto!important}.ml-0{margin-left:0!important}.mt-1{margin-top:4px!important}.mr-1{margin-right:4px!important}.mb-1{margin-bottom:4px!important}.ml-1{margin-left:4px!important}.mx-1{margin-left:4px!important;margin-right:4px!important}.my-1{margin-top:4px!important;margin-bottom:4px!important}.ma-1{margin:4px!important}.mt-2{margin-top:8px!important}.mr-2{margin-right:8px!important}.mb-2{margin-bottom:8px!important}.ml-2{margin-left:8px!important}.mx-2{margin-left:8px!important;margin-right:8px!important}.my-2{margin-top:8px!important;margin-bottom:8px!important}.ma-2{margin:8px!important}.mt-3{margin-top:12px!important}.mr-3{margin-right:12px!important}.mb-3{margin-bottom:12px!important}.ml-3{margin-left:12px!important}.mx-3{margin-left:12px!important;margin-right:12px!important}.my-3{margin-top:12px!important;margin-bottom:12px!important}.ma-3{margin:12px!important}.mt-4{margin-top:16px!important}.mr-4{margin-right:16px!important}.mb-4{margin-bottom:16px!important}.ml-4{margin-left:16px!important}.mx-4{margin-left:16px!important;margin-right:16px!important}.my-4{margin-top:16px!important;margin-bottom:16px!important}.ma-4{margin:16px!important}.mt-5{margin-top:24px!important}.mr-5{margin-right:24px!important}.mb-5{margin-bottom:24px!important}.ml-5{margin-left:24px!important}.mx-5{margin-left:24px!important;margin-right:24px!important}.my-5{margin-top:24px!important;margin-bottom:24px!important}.ma-5{margin:24px!important}.mt-6{margin-top:32px!important}.mr-6{margin-right:32px!important}.mb-6{margin-bottom:32px!important}.ml-6{margin-left:32px!important}.mx-6{margin-left:32px!important;margin-right:32px!important}.my-6{margin-top:32px!important;margin-bottom:32px!important}.ma-6{margin:32px!important}.mt-7{margin-top:48px!important}.mr-7{margin-right:48px!important}.mb-7{margin-bottom:48px!important}.ml-7{margin-left:48px!important}.mx-7{margin-left:48px!important;margin-right:48px!important}.my-7{margin-top:48px!important;margin-bottom:48px!important}.ma-7{margin:48px!important}.mt-8{margin-top:64px!important}.mr-8{margin-right:64px!important}.mb-8{margin-bottom:64px!important}.ml-8{margin-left:64px!important}.mx-8{margin-left:64px!important;margin-right:64px!important}.my-8{margin-top:64px!important;margin-bottom:64px!important}.ma-8{margin:64px!important}.pt-0{padding-top:0!important}.pr-0{padding-right:0!important}.pb-0{padding-bottom:0!important}.pl-0{padding-left:0!important}.pt-1{padding-top:4px!important}.pr-1{padding-right:4px!important}.pb-1{padding-bottom:4px!important}.pl-1{padding-left:4px!important}.px-1{padding-left:4px!important;padding-right:4px!important}.py-1{padding-top:4px!important;padding-bottom:4px!important}.pa-1{padding:4px!important}.pt-2{padding-top:8px!important}.pr-2{padding-right:8px!important}.pb-2{padding-bottom:8px!important}.pl-2{padding-left:8px!important}.px-2{padding-left:8px!important;padding-right:8px!important}.py-2{padding-top:8px!important;padding-bottom:8px!important}.pa-2{padding:8px!important}.pt-3{padding-top:12px!important}.pr-3{padding-right:12px!important}.pb-3{padding-bottom:12px!important}.pl-3{padding-left:12px!important}.px-3{padding-left:12px!important;padding-right:12px!important}.py-3{padding-top:12px!important;padding-bottom:12px!important}.pa-3{padding:12px!important}.pt-4{padding-top:16px!important}.pr-4{padding-right:16px!important}.pb-4{padding-bottom:16px!important}.pl-4{padding-left:16px!important}.px-4{padding-left:16px!important;padding-right:16px!important}.py-4{padding-top:16px!important;padding-bottom:16px!important}.pa-4{padding:16px!important}.pt-5{padding-top:24px!important}.pr-5{padding-right:24px!important}.pb-5{padding-bottom:24px!important}.pl-5{padding-left:24px!important}.px-5{padding-left:24px!important;padding-right:24px!important}.py-5{padding-top:24px!important;padding-bottom:24px!important}.pa-5{padding:24px!important}.pt-6{padding-top:32px!important}.pr-6{padding-right:32px!important}.pb-6{padding-bottom:32px!important}.pl-6{padding-left:32px!important}.px-6{padding-left:32px!important;padding-right:32px!important}.py-6{padding-top:32px!important;padding-bottom:32px!important}.pa-6{padding:32px!important}.pt-7{padding-top:48px!important}.pr-7{padding-right:48px!important}.pb-7{padding-bottom:48px!important}.pl-7{padding-left:48px!important}.px-7{padding-left:48px!important;padding-right:48px!important}.py-7{padding-top:48px!important;padding-bottom:48px!important}.pa-7{padding:48px!important}.pt-8{padding-top:64px!important}.pr-8{padding-right:64px!important}.pb-8{padding-bottom:64px!important}.pl-8{padding-left:64px!important}.px-8{padding-left:64px!important;padding-right:64px!important}.py-8{padding-top:64px!important;padding-bottom:64px!important}.pa-8{padding:64px!important}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}.truncate{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.multi-line-truncation{display:-webkit-box;-webkit-line-clamp:3;-webkit-line-clamp:var(--TMaxLineLimit, 3);-webkit-box-orient:vertical;overflow:hidden}.truncate-multi{line-height:24px;line-height:var(--TLineHeight, 24px);font-size:16px;font-size:var(--TFontSize, 16px);position:relative;max-height:120px;max-height:calc(var(--TLineHeight, 24px) * var(--TMaxLines, 5));overflow:hidden;padding-right:100px!important;padding-right:calc(var(--TPosRight, 12px) * var(--TPadRight, 8) + 4px)!important}.truncate-multi .truncate-multi:before{position:absolute;content:"...";top:104px;top:calc(var(--TLineHeight, 24px) * (var(--TMaxLines, 5) - 1) + var(--TFontSize, 16px) * .5);right:12px;right:var(--TPosRight, 12px)}.capitalize{text-transform:capitalize!important}.lowercase{text-transform:lowercase!important}.uppercase{text-transform:uppercase!important}.bold-500{font-weight:500!important}.bold-600{font-weight:600!important}.bold-700{font-weight:700!important}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.cursor-pointer{cursor:pointer!important}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.h-100{height:100%!important}.h-auto{height:auto!important}.h-screen{min-height:100vh!important}.non-visual-button,.non-visual-button:focus,.non-visual-button:hover{background-color:transparent!important;border:none!important;cursor:pointer!important;font-weight:400!important}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.k-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.form-group{display:block;width:100%;margin-bottom:24px;margin-bottom:var(--lg, 24px)}.form-group hr{border-color:#e7e7ec;border-color:var(--KInputBorder, var(--grey-300, ));margin:32px 0;margin:var(--xl, 32px) 0}.k-input+.help,.k-input-wrapper+.help{display:block;margin:8px 0 0;margin:var(--spacing-xs, 8px) 0 0;font-size:14px;font-size:var(--type-sm, 14px);color:#00000073;color:var(--black-45, rgba(0, 0, 0, .45))}.k-input-wrapper .text-on-input{position:relative}.k-input-wrapper .text-on-input .hovered:not(.readonly){color:#1155cb;color:var(--KInputHover, var(--blue-500));transition:color .1s ease}.k-input-wrapper .text-on-input .focused:not(.readonly){color:#1155cb;color:var(--KInputFocus, var(--blue-500));transition:color .1s ease}.k-input-wrapper .text-on-input label.hovered:not(.readonly){color:#1155cb;color:var(--KInputHover, var(--blue-500));transition:color .1s ease}.k-input-wrapper .text-on-input label.focused:not(.readonly){color:#1155cb;color:var(--KInputFocus, var(--blue-500));transition:color .1s ease}.k-input-wrapper .text-on-input label.disabled{color:#6f7787;color:var(--grey-500)}.k-input-wrapper .text-on-input label{position:absolute;top:-8px;left:13px;width:auto;padding:2px 4px;z-index:1;font-size:11px;font-weight:500;color:#3c4557;color:var(--KInputBorder, var(--grey-600));background-color:#fff;background-color:var(--KInputBackground, var(--white));display:inline-block;margin-bottom:.5rem;transition:color .1s ease}.k-input:not([type=checkbox]):not([type=radio]),.form-control:not([type=checkbox]):not([type=radio]){display:block;width:100%;padding:10px 16px;padding:10px var(--spacing-md, 16px);color:#000000b3;color:var(--KInputColor, var(--black-70, rgba(0, 0, 0, .7)));font-size:16px;font-size:var(--type-md, 16px);font-weight:400;line-height:24px;border:none;border-radius:3px;box-sizing:border-box;background-color:#fff;background-color:var(--KInputBackground, var(--white, #ffffff));box-shadow:inset 0 0 0 1px #e7e7ec!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:color .1s ease,box-shadow .1s ease}.k-input:not([type=checkbox]):not([type=radio]).k-input-small,.form-control:not([type=checkbox]):not([type=radio]).k-input-small{font-size:12px;font-size:var(--type-xs, 12px);padding:8px 12px;padding:var(--spacing-xs, 8px) var(--spacing-sm, 12px)}.k-input:not([type=checkbox]):not([type=radio]).k-input-large,.form-control:not([type=checkbox]):not([type=radio]).k-input-large{font-size:16px;font-size:var(--type-md, 16px);padding:16px 24px;padding:var(--spacing-md, 16px) var(--spacing-lg, 24px)}.k-input:not([type=checkbox]):not([type=radio]):hover,.form-control:not([type=checkbox]):not([type=radio]):hover{box-shadow:inset 0 0 0 1px #bdd3f9!important;box-shadow:inset 0 0 0 1px var(--KInputHover, var(--blue-200))!important;transition:all .1s ease}.k-input:not([type=checkbox]):not([type=radio]):hover.k-input-large,.form-control:not([type=checkbox]):not([type=radio]):hover.k-input-large{box-shadow:inset 0 0 0 2px #bdd3f9!important;box-shadow:inset 0 0 0 2px var(--KInputHover, var(--blue-200))!important;transition:all .1s ease}.k-input:not([type=checkbox]):not([type=radio]):focus,.form-control:not([type=checkbox]):not([type=radio]):focus{outline:none!important;box-shadow:inset 0 0 0 1px #3972d5!important;box-shadow:inset 0 0 0 1px var(--KInputFocus, var(--blue-400))!important;transition:all .1s ease}.k-input:not([type=checkbox]):not([type=radio]):focus.k-input-large,.form-control:not([type=checkbox]):not([type=radio]):focus.k-input-large{box-shadow:inset 0 0 0 2px #3972d5!important;box-shadow:inset 0 0 0 2px var(--KInputFocus, var(--blue-400))!important;transition:all .1s ease}.k-input:not([type=checkbox]):not([type=radio]):not([type=checkbox]):not([type=radio]):not([type=file]):read-only,.form-control:not([type=checkbox]):not([type=radio]):not([type=checkbox]):not([type=radio]):not([type=file]):read-only{background-color:#f8f8fa;background-color:var(--KInputReadonlyBackground, var(--grey-100, #f8f8fa));box-shadow:inset 0 0 0 1px #e7e7ec!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:all .1s ease}.k-input:not([type=checkbox]):not([type=radio]):disabled,.form-control:not([type=checkbox]):not([type=radio]):disabled{cursor:not-allowed;font-style:italic;background-color:#f8f8fa;background-color:var(--KInputDisabledBackground, var(--grey-100, #f8f8fa));box-shadow:inset 0 0 0 1px #e7e7ec!important;box-shadow:inset 0 0 0 1px var(--KInputBorder, var(--grey-300))!important;transition:all .1s ease}.k-input:not([type=checkbox]):not([type=radio]):invalid,.k-input:not([type=checkbox]):not([type=radio]):-moz-submit-invalid,.k-input:not([type=checkbox]):not([type=radio]):-moz-ui-invalid,.form-control:not([type=checkbox]):not([type=radio]):invalid,.form-control:not([type=checkbox]):not([type=radio]):-moz-submit-invalid,.form-control:not([type=checkbox]):not([type=radio]):-moz-ui-invalid{box-shadow:none}.k-input:not([type=checkbox]):not([type=radio])::placeholder,.form-control:not([type=checkbox]):not([type=radio])::placeholder{color:#00000073;color:var(--KInputPlaceholderColor, var(--black-45, rgba(0, 0, 0, .45)));font-weight:400;opacity:1}.k-input:not([type=checkbox]):not([type=radio])::-ms-clear,.form-control:not([type=checkbox]):not([type=radio])::-ms-clear{display:none}.k-input[type=search],.form-control[type=search]{padding-left:36px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath fill='%23000' fill-opacity='.45' fill-rule='evenodd' d='M6 12c-3.3137085 0-6-2.6862915-6-6s2.6862915-6 6-6 6 2.6862915 6 6c0 1.29583043-.410791 2.49571549-1.1092521 3.47653436l1.2305724 1.23057244 2.8232632 2.8338633c.3897175.3911808.3947266 1.0192147.005164 1.4087774-.3868655.3868655-1.014825.3873148-1.4087774-.005164l-2.8338633-2.8232632-1.23057244-1.2305724C8.49571549 11.589209 7.29583043 12 6 12zm4-6c0-2.209139-1.790861-4-4-4S2 3.790861 2 6s1.790861 4 4 4 4-1.790861 4-4z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:12px 50%}.k-input[type=search]::-webkit-search-cancel-button,.form-control[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;height:16px;width:16px;background-image:url(data:image/svg+xml,%3Csvg%20width%3D%2712%27%20height%3D%2712%27%20viewBox%3D%270%200%2012%2012%27%20fill%3D%27none%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%0A%3Cpath%20d%3D%27M9.60005%202.40021L1.80005%2010.2002%27%20stroke%3D%27%233C4557%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%2F%3E%0A%3Cpath%20d%3D%27M9.60005%2010.2002L1.80005%202.40021%27%20stroke%3D%27%233C4557%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%2F%3E%0A%3C%2Fsvg%3E);background-size:16px 16px}.k-input-wrapper textarea.form-control{resize:none;padding:17px 0 0 22px}.k-input-wrapper textarea.form-control:focus{box-shadow:inset 0 0 0 2px #3972d5!important;box-shadow:inset 0 0 0 2px var(--KInputFocus, var(--blue-400))!important}.k-input-wrapper.input-error .k-input,.k-input-wrapper.input-error .k-input:hover,.k-input-wrapper.input-error .k-input:focus{outline:none!important;box-shadow:inset 0 0 0 1.5px #d44324!important;box-shadow:inset 0 0 0 1.5px var(--KInputError, var(--red-500, #d44324))!important;transition:color .1s ease}.k-input-wrapper.input-error .k-input.k-input-large,.k-input-wrapper.input-error .k-input:hover.k-input-large,.k-input-wrapper.input-error .k-input:focus.k-input-large{box-shadow:inset 0 0 0 2px #d44324!important;box-shadow:inset 0 0 0 2px var(--KInputError, var(--red-500, #d44324))!important;transition:color .1s ease}.k-input-wrapper.input-error .text-on-input label{color:#d44324;color:var(--KInputError, var(--red-500, #d44324));transition:color .1s ease}select.k-input:not([type=checkbox]),select.k-input:not([type=checkbox]):read-only,select.k-input:not([type=radio]),select.k-input:not([type=radio]):read-only{height:38px;background-color:#fff;background-color:var(--KInputSelectBackground, var(--white, #ffffff))}.k-input-label{display:inline-block;color:#000000d9;color:var(--KInputLabelColor, var(--black-85));font-weight:600;font-weight:var(--KInputLabelWeight, 600);font-family:sans-serif;font-family:var(--KInputLabelFont, var(--font-family-sans, sans-serif));font-size:14px;font-size:var(--KInputLabelSize, var(--type-sm, 14px));line-height:18px;line-height:var(--KInputLabelLineHeight, var(--type-lg, 18px));margin-bottom:8px;margin-bottom:var(--KInputLabelMargin, var(--spacing-xs, 8px))}.k-input-label .label-tooltip{display:flex;align-items:center}.k-input-label .kong-icon{margin-left:4px;margin-left:var(--spacing-xxs)}.k-inputCheckbox.k-input-label,.k-inputRadio.k-input-label{color:#000000b3;color:var(--KInputCheckboxLabel, var(--black-70, rgba(0, 0, 0, .7)));font-size:16px;font-size:var(--KInputCheckboxLabelSize, var(--type-md, 16px));font-weight:400;font-family:sans-serif;font-family:var(--KInputCheckboxLabelFont, var(--font-family-sans, sans-serif));margin-bottom:0}input.k-input[type=checkbox],input.k-input[type=radio],input.form-control[type=checkbox],input.form-control[type=radio]{display:inline-block;vertical-align:middle;padding:0;border:1px solid #e7e7ec;border:1px solid var(--KInputBorder, var(--grey-300, #e7e7ec));background-color:#fff;box-sizing:border-box;appearance:none;user-select:none;-webkit-print-color-adjust:exact}input.k-input[type=checkbox]:disabled,input.k-input[type=radio]:disabled,input.form-control[type=checkbox]:disabled,input.form-control[type=radio]:disabled{opacity:1}input.k-input[type=checkbox]:disabled:hover,input.k-input[type=radio]:disabled:hover,input.form-control[type=checkbox]:disabled:hover,input.form-control[type=radio]:disabled:hover{border-color:#e7e7ec;border-color:var(--KInputBorder, var(--grey-300, #e7e7ec))}input.k-input[type=checkbox],input.form-control[type=checkbox]{height:20px;width:20px;color:#1155cb;color:var(--KCheckboxPrimary, var(--blue-500, #1155cb));border:none;border-radius:3px;margin:0 6px 0 0;outline:none}input.k-input[type=checkbox]:not(:checked),input.form-control[type=checkbox]:not(:checked){border:1px solid #1155cb;border:1px solid var(--KCheckboxPrimary, var(--blue-500, #1155cb))}input.k-input[type=checkbox]:checked,input.form-control[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3Csvg width='13' height='11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.633 0L12 1.397 3.583 10 0 6.337 1.367 4.94l2.216 2.265z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E");border-color:#1155cb;border-color:var(--KCheckboxPrimary, var(--blue-500, #1155cb));background-color:currentColor;background-position:center;background-repeat:no-repeat}input.k-input[type=checkbox]:checked::-ms-check,input.form-control[type=checkbox]:checked::-ms-check{color:#fff;border:1px solid #1155cb;border:1px solid var(--KCheckboxPrimary, var(--blue-500, #1155cb));background-color:#1155cb;background-color:var(--KCheckboxPrimary, var(--blue-500, #1155cb))}input.k-input[type=checkbox]:hover,input.k-input[type=checkbox]:active,input.form-control[type=checkbox]:hover,input.form-control[type=checkbox]:active{border-color:#1155cb;border-color:var(--KCheckboxPrimary, var(--blue-500, #1155cb))}input.k-input[type=checkbox]:focus,input.form-control[type=checkbox]:focus{outline:none;border-color:#1155cb;border-color:var(--KCheckboxPrimary, var(--blue-500, #1155cb))}input.k-input[type=checkbox]:disabled:not(:checked),input.form-control[type=checkbox]:disabled:not(:checked){background-color:#f8f8fa;background-color:var(--KInputCheckboxDisabled, var(--grey-100, #f8f8fa));border:1px solid #b6b6bd;border:1px solid var(--KCheckboxDisabledChecked, var(--grey-400, #b6b6bd));border-radius:2px}input.k-input[type=checkbox]:disabled:checked,input.form-control[type=checkbox]:disabled:checked{background-color:#b6b6bd;background-color:var(--KCheckboxDisabledChecked, var(--grey-400, #b6b6bd))}input.k-input[type=radio],input.form-control[type=radio]{display:inline-flex;justify-content:center;align-items:center;height:20px;width:20px;color:#1155cb;color:var(--KRadioPrimary, var(--blue-500, #1155cb));border:2px solid #e7e7ec;border:2px solid var(--KInputBorder, var(--grey-300, #e7e7ec));border-radius:100%;margin:0 6px 0 0}input.k-input[type=radio]:checked,input.form-control[type=radio]:checked{border-color:currentColor;background-color:#fff;background-size:100% 100%;background-position:center;background-repeat:no-repeat}input.k-input[type=radio]:checked:after,input.form-control[type=radio]:checked:after{content:"";display:flex;height:10px;width:10px;background-color:currentColor;border-radius:100%}input.k-input[type=radio]:checked::-ms-check,input.form-control[type=radio]:checked::-ms-check{border:2px solid currentColor;color:currentColor}input.k-input[type=radio]:disabled,input.form-control[type=radio]:disabled{background-color:#f1f1f5;background-color:var(--KInputRadioDisabled, var(--grey-200, #f1f1f5))}.k-switch{display:inline-flex;align-items:center;cursor:pointer}.k-switch.switch-with-icon .switch-control{width:48px}.k-switch.switch-with-icon .kong-icon{height:20px;width:22px;left:57px}.k-switch.switch-with-icon input:checked+.switch-control:after{left:26px}.k-switch .switch-control{position:relative;display:block;width:44px;height:24px;margin-right:1rem;border-radius:12px;background-color:#b6b6bd;background-color:var(--KInputSwitchBackground, var(--grey-400, #b6b6bd));transition:.2s linear}.k-switch .switch-control.has-label-left{margin-right:0;margin-left:1rem}.k-switch .switch-control:after{position:absolute;top:2px;left:2px;display:block;width:20px;height:20px;border-radius:50%;background-color:#fff;background-color:var(--white, #ffffff);content:"";transition:.2s linear}.k-switch[disabled]:not(:disabled){cursor:not-allowed}.k-switch[disabled]:not(:disabled) .switch-control,.k-switch[disabled]:not(:disabled) input{opacity:.3;pointer-events:none}.k-switch input{display:none}.k-switch input:checked+.switch-control{background-color:#07a88d;background-color:var(--KInputSwitchOn, var(--green-500, #07a88d))}.k-switch input:checked+.switch-control:after{left:22px}.k-switch span{color:#000000b3;color:var(--KInputSwitchLabel, var(--black-70, rgba(0, 0, 0, .7)))}:root{--blue-100: #f2f6fe;--blue-200: #bdd3f9;--blue-300: #8ab3fa;--blue-400: #3972d5;--blue-500: #1155cb;--blue-600: #003694;--blue-700: #0a2b66;--petrol-100: #eaf4fb;--petrol-200: #0364ac;--purple-100: #d7d8fe;--purple-200: #bec0fd;--purple-300: #9396fc;--purple-400: #473cfb;--steel-100: #f0f4fa;--steel-200: #dae3f2;--steel-300: #a3b6d9;--steel-400: #7d91b3;--steel-500: #5c7299;--steel-600: #395380;--steel-700: #273c61;--red-100: #ffdede;--red-200: #ffcccc;--red-300: #ff9a99;--red-400: #ff7877;--red-500: #d44324;--red-600: #e50000;--red-700: #922021;--green-100: #e8f8f5;--green-200: #c0f2d5;--green-300: #84e5ae;--green-400: #42d782;--green-500: #07a88d;--green-600: #008871;--green-700: #13755e;--teal-100: #cdf1fe;--teal-200: #91e1fc;--teal-300: #169fcc;--teal-400: #0a7fae;--teal-500: #006e9d;--yellow-100: #fff3d8;--yellow-200: #ffe6ba;--yellow-300: #ffd68c;--yellow-400: #fabe5f;--yellow-500: #c67c06;--yellow-600: #a05604;--grey-100: #f8f8fa;--grey-200: #f1f1f5;--grey-300: #e7e7ec;--grey-400: #b6b6bd;--grey-500: #6f7787;--grey-600: #3c4557;--black-85: rgba(0, 0, 0, .85);--black-70: rgba(0, 0, 0, .7);--black-45: rgba(0, 0, 0, .45);--black-25: rgba(0, 0, 0, .25);--black-10: rgba(0, 0, 0, .1);--black-100: #dfdfdf;--black-200: #b1b2b1;--black-300: #6f7787;--black-400: #3c4557;--black-500: #0b172d;--white: #ffffff;--spacing-xxs: 4px;--spacing-xs: 8px;--spacing-sm: 12px;--spacing-md: 16px;--spacing-lg: 24px;--spacing-xl: 32px;--spacing-xxl: 48px;--spacing-xxxl: 64px;--type-xxxl: 32px;--type-xxl: 28px;--type-xl: 22px;--type-lg: 18px;--type-md: 16px;--type-sm: 14px;--type-xs: 12px;--type-xxs: 10px;--font-family-sans: sans-serif;--font-family-mono: monospace;font-weight:400;font-weight:var(--font-weight-normal, 400)}:root body{font-weight:400;font-weight:var(--font-weight-normal, 400)}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.bottom-0{bottom:0px}.right-0{right:0px}.left-0{left:0px}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-top:0;margin-bottom:0}.my-4{margin-top:1rem;margin-bottom:1rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mb-2{margin-bottom:.5rem}.mr-1{margin-right:.25rem}.mb-3{margin-bottom:.75rem}.mt-6{margin-top:1.5rem}.mt-4{margin-top:1rem}.ml-4{margin-left:1rem}.mb-1{margin-bottom:.25rem}.mt-2{margin-top:.5rem}.ml-1{margin-left:.25rem}.mt-1{margin-top:.25rem}.mr-2{margin-right:.5rem}.mt-16{margin-top:4rem}.mt-8{margin-top:2rem}.mb-4{margin-bottom:1rem}.mr-4{margin-right:1rem}.mt-3{margin-top:.75rem}.ml-3{margin-left:.75rem}.mb-12{margin-bottom:3rem}.mb-10{margin-bottom:2.5rem}.mt-10{margin-top:2.5rem}.mb-16{margin-bottom:4rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-4{height:1rem}.h-72{height:18rem}.h-40{height:10rem}.h-full{height:100%}.w-full{width:100%}.w-4{width:1rem}.w-72{width:18rem}.w-32{width:8rem}.flex-grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-pointer{cursor:pointer}.cursor-not-allowed{cursor:not-allowed}.cursor-help{cursor:help}.list-disc{list-style-type:disc}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-b{border-bottom-width:1px}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-10{padding:2.5rem}.p-12{padding:3rem}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pl-4{padding-left:1rem}.pb-12{padding-bottom:3rem}.pb-16{padding-bottom:4rem}.text-center{text-align:center}.text-right{text-align:right}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-5xl{font-size:3rem;line-height:1}.text-2xl{font-size:1.5rem;line-height:2rem}.font-medium{font-weight:500}.font-bold{font-weight:700}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width: 640px){.sm\:w-3\/4{width:75%}.sm\:w-3\/5{width:60%}.sm\:flex-row{flex-direction:row}}@media (min-width: 768px){.md\:w-3\/5{width:60%}}@media (min-width: 1024px){.lg\:w-1\/2{width:50%}.lg\:w-2\/5{width:40%}}:root{--base-font-family: Roboto, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;--code-font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;--base-font-size-root: 62.5%;--base-font-size: 15px;--font-weight-light: 400;--font-weight-bold: 700;--gray-1: #faf5f9;--gray-2: #dbbbd5;--gray-3: rgba(0, 0, 0, .45);--gray-4: #ebebeb;--gray-5: #f7f9fa;--gray-6: #fdfdfd;--gray-7: #f3f5f7;--blue-1: #2d64b3;--blue-2: #3d88f2;--blue-3: rgba(61, 136, 242, .07);--blue-4: #1155cb;--black-1: rgba(0, 0, 0, .75);--green-1: #1b9844;--logo-coral: #ee485d;--logo-teal: #00cdde;--logo-mint: #00e8c2;--logo-navy: #172350;--logo-green: #3db664;--logo-purple: #290b53;--logo-pink: #ff5d8c;--brand-color-1: var(--logo-coral);--brand-color-2: var(--logo-teal);--brand-color-3: var(--logo-mint);--brand-color-4: var(--logo-navy);--brand-color-5: var(--logo-green);--brand-color-6: var(--logo-purple);--brand-color-7: var(--logo-pink);--topbar-height: 60px;--global-content-max-width: 100rem;--sidebar-width: 240px;--sidebar-width-closed: 63px;--sidebar-bg-color: var(--gray-6);--subnavWidth: 280px;--core-theme-color: #290b53;--core-theme-color-light: rgba(41, 11, 83, .75);--core-theme-color-lighter: rgba(41, 11, 83, .08);--core-theme-color-dark: black;--core-theme-color-darker: black;--KButtonPrimaryBase: var(--core-theme-color);--KButtonPrimaryHover: var(--core-theme-color-light);--KButtonPrimaryActive: var(--core-theme-color-light);--KRadioPrimary: var(--core-theme-color);--KPopPaddingX: var(--spacing-md);--KPopPaddingY: var(--spacing-md);--LinkColorBase: var(--core-theme-color);--LinkColorHover: var(--core-theme-color-light);--MetricsCardBGColorHover: var(--core-theme-color-lighter);--WizardTabBGColor: var(--core-theme-color);--WizardTabTextColor: #fff;--KTabsActiveColor: var(--core-theme-color);--DataOverviewTableLinkColor: var(--core-theme-color);--MeshSelectorTitleColor: var(--core-theme-color-light);--MeshSelectorInputTextColor: var(--core-theme-color);--MeshSelectorInputBorderColor: var(--core-theme-color-lighter);--MeshSelectorInputBorderColorFocus: var(--core-theme-color-light);--LoaderProgressBarBG: var(--core-theme-color-light);--KEmptyStateContentWidth: 85%;--kuma-purple-1: #260D50;--kuma-purple-1-rgb: 38, 13, 80;--kuma-purple-2: #822DC5;--kuma-purple-2-rgb: 130, 45, 197;--kuma-gradient: var(--kuma-purple-1), var(--kuma-purple-2);--onboarding-green: #5da46f;--onboarding-green-darken: #539464;--onboarding-blueish: #f6f8fd;--onboarding-blueish-darken: #e1e8f8;--OnboardingTitle: var(--kuma-gradient);--OnboardingRadio: var(--onboarding-green);--OnboardingPageGraphBackground: var(--onboarding-blueish);--OnboardingNextButton: var(--onboarding-green);--OnboardingNextButtonHover: var(--onboarding-green-darken);--OnboardingBackButton: var(--onboarding-blueish);--OnboardingBackButtonHover: var(--onboarding-blueish-darken);--OnboardingSkipSetupButton: rgba(var(--kuma-purple-1-rgb), .3);--OnbordingBoxBorder: #7b2bbc;--OnboardingLoading: var(--kuma-purple-2-rgb);--OnboardingShadow: 4px 4px 14px 4px rgba(103, 71, 128, .11)}.kutil-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.kutil-img-full{max-width:100%;width:100%;height:auto}.kutil-img-fluid{max-width:100%;height:auto}.kutil-clear-text{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.kutil-quotify{quotes:"\201c" "\201d" "\2018" "\2019"}.kutil-quotify:before{content:open-quote}.kutil-quotify:after{content:close-quote}.kutil-sticky{position:-webkit-sticky;position:sticky;top:0}.kutil-sticky:before,.kutil-sticky:after{content:"";display:table}.capitalize{display:inline-block;text-transform:capitalize}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-uppercase{text-transform:uppercase}.text-italic{font-style:italic}.font-normal{font-weight:400}.font-light{font-weight:100}.font-semibold{font-weight:500}.font-bold{font-weight:700}.badge{display:inline-block;padding:.25rem .4rem;font-size:75%;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem}.top-border{padding-top:1.5rem;border-top:1px solid var(--black-10)}.bottom-border{padding-bottom:1.5rem;border-bottom:1px solid var(--black-10)}.text-muted{color:var(--black-45)!important}.text-danger{color:var(--red-500)!important}.h-100{height:100%}.h-screen{min-height:100vh}code.inline{margin:0;border-radius:.25rem;padding:.25rem .5rem;font-size:.875rem;line-height:1.25rem;background-color:var(--gray-1)}code.block{margin-top:1rem;margin-bottom:1rem;overflow:auto;border-radius:.375rem;padding:1rem;font-size:.875rem;line-height:1.25rem;background-color:var(--gray-1);border:1px solid var(--gray-4)}@font-face{font-family:Roboto;src:url(./Roboto-Thin.61b96427.woff2?v=2.137) format("woff2"),url(./Roboto-Thin.b0193a31.woff?v=2.137) format("woff");font-weight:100;font-style:normal}@font-face{font-family:Roboto;src:url(./Roboto-ThinItalic.c5ace262.woff2?v=2.137) format("woff2"),url(./Roboto-ThinItalic.bde6ad8b.woff?v=2.137) format("woff");font-weight:100;font-style:italic}@font-face{font-family:Roboto;src:url(./Roboto-Light.1d8f5280.woff2?v=2.137) format("woff2"),url(./Roboto-Light.6fa3f9aa.woff?v=2.137) format("woff");font-weight:300;font-style:normal}@font-face{font-family:Roboto;src:url(./Roboto-LightItalic.9934fa0f.woff2?v=2.137) format("woff2"),url(./Roboto-LightItalic.a5a008e0.woff?v=2.137) format("woff");font-weight:300;font-style:italic}@font-face{font-family:Roboto;src:url(./Roboto-Regular.47107401.woff2?v=2.137) format("woff2"),url(./Roboto-Regular.b285944c.woff?v=2.137) format("woff");font-weight:400;font-style:normal}@font-face{font-family:Roboto;src:url(./Roboto-Italic.884e654c.woff2?v=2.137) format("woff2"),url(./Roboto-Italic.aad7b1af.woff?v=2.137) format("woff");font-weight:400;font-style:italic}@font-face{font-family:Roboto;src:url(./Roboto-Medium.96025fe9.woff2?v=2.137) format("woff2"),url(./Roboto-Medium.28404353.woff?v=2.137) format("woff");font-weight:500;font-style:normal}@font-face{font-family:Roboto;src:url(./Roboto-MediumItalic.160a7cf4.woff2?v=2.137) format("woff2"),url(./Roboto-MediumItalic.71648778.woff?v=2.137) format("woff");font-weight:500;font-style:italic}@font-face{font-family:Roboto;src:url(./Roboto-Bold.8e44376b.woff2?v=2.137) format("woff2"),url(./Roboto-Bold.efc87488.woff?v=2.137) format("woff");font-weight:700;font-style:normal}@font-face{font-family:Roboto;src:url(./Roboto-BoldItalic.c9d5a0e6.woff2?v=2.137) format("woff2"),url(./Roboto-BoldItalic.cc3680f4.woff?v=2.137) format("woff");font-weight:700;font-style:italic}@font-face{font-family:Roboto;src:url(./Roboto-Black.41e55c25.woff2?v=2.137) format("woff2"),url(./Roboto-Black.b8e8e841.woff?v=2.137) format("woff");font-weight:900;font-style:normal}@font-face{font-family:Roboto;src:url(./Roboto-BlackItalic.0aea9779.woff2?v=2.137) format("woff2"),url(./Roboto-BlackItalic.11cf0708.woff?v=2.137) format("woff");font-weight:900;font-style:italic}@font-face{font-family:Roboto Mono;src:url(./RobotoMono-Regular.c7ab2d73.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:Roboto Mono;src:url(./RobotoMono-Medium.30c29a9c.ttf) format("truetype");font-weight:500;font-style:normal}@font-face{font-family:Roboto Mono;src:url(./RobotoMono-Bold.69fdf4ef.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:url(./MaterialIcons-Regular.8c998b4a.eot);src:local("Material Icons"),local("MaterialIcons-Regular"),url(./MaterialIcons-Regular.a87d66c9.woff2) format("woff2"),url(./MaterialIcons-Regular.c4a1baec.woff) format("woff"),url(./MaterialIcons-Regular.b7f4a3ab.ttf) format("truetype")}body{padding-top:var(--topbar-height, initial);font-family:var(--base-font-family)}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:none}.title-3x{font-size:var(--type-xxxl)}.title-2x{font-size:var(--type-xxl)}.title-1x{font-size:var(--type-xl)}a[href]{text-decoration:underline}a:link,a:visited{color:var(--LinkColorBase)}a:hover,a:active,a:focus{color:var(--LinkColorHover)}select{appearance:none;border-radius:3px;border:1px solid rgba(23,130,207,.35);font-size:16px;color:var(--blue-4);line-height:20px;padding:10px 30px 10px 13px;background-color:#fff;background-image:url(./chevron-down.d32f03bb.svg?url);background-position:calc(100% - 13px) 50%;background-repeat:no-repeat}.k-button,button,[type=button]{transition:none!important}.code-sample{font-family:var(--code-font-family)}.form-container{-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%;padding-right:15px;padding-left:15px;margin:0 auto}@media (max-width: 1200px){.form-container{-webkit-box-flex:0;-webkit-flex:0 0 70%;-ms-flex:0 0 70%;flex:0 0 70%;max-width:70%}}@media (max-width: 860px){.form-container{-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}}.vue-form-generator .form-control{border:1px solid rgba(0,0,0,.12);box-shadow:none;color:#000000b3}.vue-form-generator .form-group,.form-group{margin-bottom:1.5rem}.vue-form-generator .form-group:last-child,.form-group:last-child{margin-bottom:2rem}.vue-form-generator .field-advanced{margin-top:-.5rem;margin-bottom:.5rem}.vue-form-generator .field-advanced .form-group:last-child{margin-bottom:1rem}.top-border{padding-top:1.5rem;border-top:1px solid rgba(0,0,0,.08)}.bottom-border{padding-bottom:1.5rem;border-bottom:1px solid rgba(0,0,0,.08)}.form-control{font-size:15px;color:#000000b3;border-color:#0000001f;border-radius:3px;border-width:1px}.form-control:focus{outline:none;border:1px solid #80caff}.form-control:disabled{background-color:#f7f7f7;opacity:.75}.form-control.has-error{border:1px solid #ff8280}.vue-form-generator .form-group.hide-label>label{display:none}.vue-form-generator .form-group label{font-weight:500}.form-group label{font-size:14px;font-weight:500;color:#262626;margin:0 0 8px;width:100%}.form-group label small{float:right;font-size:14px;font-style:italic;font-weight:400;color:#00000080}.form-group.required>label:after{display:none}.form-group.optional>label,.form-group.semi-optional>label{position:relative;width:100%}.form-group.optional>label:after,.form-group.semi-optional>label:after{position:absolute;display:block;top:0;right:0;font-size:14px;font-style:italic;font-weight:400;color:#00000080}.form-group.optional>label:after{content:"Optional"}.form-group.semi-optional>label:after{content:"Semi-Optional"}.vue-form-generator span.help .icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiI+ICA8cGF0aCBmaWxsPSIjMDA4NkU2IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik02IDExYy0yLjc2MSAwLTUtMi4yMzktNS01czIuMjM5LTUgNS01IDUgMi4yMzkgNSA1LTIuMjM5IDUtNSA1TTYgMEMyLjY4NiAwIDAgMi42ODYgMCA2czIuNjg2IDYgNiA2IDYtMi42ODYgNi02LTIuNjg2LTYtNi02bTAgM2MtMS4xMDUgMC0yIC44OTUtMiAyaDFjMC0uNTUyLjQ0OC0xIDEtMXMxIC40NDggMSAxLS40NDggMS0xIDEtMSAuNDQ4LTEgMWgxYzEuMTA1IDAgMi0uODk1IDItMnMtLjg5NS0yLTItMnpNNSA5aDJWOEg1djF6Ii8+PC9zdmc+);width:.75rem;height:.75rem}.vue-form-generator span.help .helpText{left:-108px;width:224px;padding:.5rem .75rem;color:#000000bf;font-weight:400;font-size:14px;text-align:left;border:1px solid #d6d6d6;border-radius:4px;background-color:#fff;box-shadow:0 0 4px #0000001f;z-index:900}.vue-form-generator span.help .helpText:before,.vue-form-generator span.help .helpText:after{position:absolute;top:100%;left:50%;height:0;width:0;border:solid transparent;pointer-events:none;content:" "}.vue-form-generator span.help .helpText:before{border-top-color:#d6d6d6;border-width:13px;margin-left:-13px}.vue-form-generator span.help .helpText:after{border-top-color:#fff;border-width:12px;margin-left:-12px}.hint{font-size:small;margin-top:5px;margin-bottom:10px;opacity:.6}.option-field{padding-left:1.5rem;width:100%}.option-field .form-group:last-child{margin-bottom:0}.custom-control-indicator{background-color:#0000001f}.custom-control-input:checked~.custom-control-indicator{background-color:#3295fc}.custom-control-input:focus~.custom-control-indicator{box-shadow:0 0 0 1px #fff,0 0 0 3px #3295fc}.form-group label{font-size:14px;font-weight:500;color:#262626;margin:0 0 8px}.form-group .field-wrap input[type=checkbox],.form-control .list-row input[type=checkbox],.form-check-input{appearance:none;-moz-appearance:none;-webkit-appearance:none;position:relative;vertical-align:middle;display:inline-block;justify-content:center;align-items:center}.form-group .field-wrap input[type=checkbox]:focus,.form-control .list-row input[type=checkbox]:focus,.form-check-input:focus{outline:none}.form-group .field-wrap input[type=checkbox]:before,.form-control .list-row input[type=checkbox]:before,.form-check-input:before{content:"";display:inline-block;height:16px;width:16px;border:1px solid #BFBFBF;border-radius:2px;margin-right:5px;background:#fff}.form-group .field-wrap input[type=checkbox]:checked:before,.form-control .list-row input[type=checkbox]:checked:before,.form-check-input:checked:before{background-color:#3295fc;border-color:#3295fc}.form-group .field-wrap input[type=checkbox]:checked:after,.form-control .list-row input[type=checkbox]:checked:after,.form-check-input:checked:after{content:"";position:absolute;top:4px;left:4px;display:inline-block;height:6px;width:9px;color:#fff;border-left:2px solid;border-bottom:2px solid;transform:rotate(-45deg)}.form-group .field-wrap input[type=checkbox]::-ms-check,.form-control .list-row input[type=checkbox]::-ms-check,.form-check-input::-ms-check{display:inline-block;height:16px;width:16px;border:1px solid #BFBFBF;border-radius:2px;margin-right:5px}.form-group .field-wrap input[type=checkbox]:checked::-ms-check,.form-control .list-row input[type=checkbox]:checked::-ms-check,.form-check-input:checked::-ms-check{color:#fff;background-color:#3295fc}.form-group.required input[type=checkbox],.form-group [required=required]{box-shadow:none}.form-control label,.form-control input[type=checkbox]{vertical-align:middle;line-height:1rem}.form-inline .form-check-input{margin-top:.25rem}.vue-form-generator .form-group.field-checkbox label{margin-top:-5px}.vue-form-generator .field-switch .field-wrap input[type=checkbox]{position:absolute}.vue-form-generator .field-switch .field-wrap label{width:42px;height:20px;margin:0}.vue-form-generator .field-switch input:checked~.label{background:#2196F3;box-shadow:none}.vue-form-generator .field-switch .label{background:#ccc}.vue-form-generator .field-switch .label:before,.vue-form-generator .field-switch .label:after{color:#000000b3;text-shadow:none;margin-left:42px;font-size:14px;left:18px;font-weight:400;text-transform:none;font-family:Roboto;width:max-content}.vue-form-generator .field-switch .handle{width:17px;height:17px}.vue-form-generator .field-switch input:checked~.handle{left:calc(100% - 18px)}.vue-form-generator .field-switch .handle:before{background:none;box-shadow:none}.entity-status{display:flex;align-items:center;letter-spacing:0;line-height:20px}.entity-status[class^=is-]:before{content:"";display:block;margin-right:6px;border:4px solid currentColor;border-radius:50%}.entity-status.is-online{color:var(--green-400)}.entity-status.is-offline{color:var(--red-600)}.entity-status.is-degraded{color:#ff8040}.entity-status.is-not-available{color:var(--grey-500)}.kong-icon--centered{display:block;margin:0 auto 10px;text-align:center}@media screen and (min-width: 1024px){.k-card--small{max-width:65%}}.empty-state-wrapper{padding:2rem 0!important}.k-tabs .tab-container{outline:0!important}.k-modal .modal-body{max-height:calc(100vh - 250px);overflow-y:auto}.k-modal .k-modal-content .k-modal-body.k-modal-body.content-left{margin-right:0}.k-modal .modal-body,.k-modal .modal-header,.k-modal .modal-footer{padding:4px}.k-popover{z-index:2000!important}.k-popover .k-badge{display:inline}.help-icon{--i: 22px;display:inline-block;margin:0 8px;width:var(--i)}.help-icon a{display:inline-block;width:var(--i);height:var(--i);line-height:var(--i);border-radius:100%;color:#fff;text-decoration:none;text-align:center;font-size:12px;background-color:var(--gray-2);cursor:pointer}.custom-control-icon{display:inline-flex;justify-content:center;align-items:center;height:1rem;width:1rem;margin-right:var(--spacing-xs);font-size:var(--type-lg)}.external-link-btn{display:inline-flex;align-items:center;padding:var(--spacing-xs) var(--spacing-sm);font-family:var(--font-family-sans);font-size:1rem;font-weight:400;line-height:1.25;vertical-align:middle;border:1px solid transparent;border-radius:3px;cursor:pointer;color:#fff!important;background-color:var(--KButtonPrimaryBase);text-decoration:none!important}.external-link-btn:after{display:inline-block;content:"\203a";margin-left:5px}.external-link-btn:hover{background-color:#0089eb}.external-link-code-block{display:block;padding:1rem;font-size:.875rem;line-height:1.25rem;font-family:var(--code-font-family);background-color:var(--grey-100)}.welcome{max-width:640px;margin-left:auto;margin-right:auto}.notification-amount{position:absolute;display:flex;height:1rem;width:1rem;align-items:center;justify-content:center;border-radius:9999px;border-width:1px;--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity));font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));background:var(--yellow-300);top:-8px;right:-8px}.k-badge{--KBadgeFontSize: 1.2em;--KBadgePaddingY: var(--spacing-xs);--KBadgePaddingX: var(--spacing-sm)}.k-button.outline{outline:none}.k-button .kong-icon{display:flex;align-items:center;width:1rem;height:1rem}.k-table.k-table tbody td{white-space:normal}.k-dropdown-popover{cursor:initial}.component-frame{border:1px solid var(--gray-4);border-radius:3px}.card-icon{text-align:center}.card-icon img,.card-icon svg{display:block;margin-left:auto;margin-right:auto}.fade-enter-active,.fade-leave-active{transition:opacity .2s linear}.fade-enter,.fade-leave-to{opacity:0} diff --git a/app/kuma-ui/pkg/resources/data/assets/setupMockWorker.f0f794fe.js b/app/kuma-ui/pkg/resources/data/assets/setupMockWorker.776bb472.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/setupMockWorker.f0f794fe.js rename to app/kuma-ui/pkg/resources/data/assets/setupMockWorker.776bb472.js index 974acfaa967c..6ada0a01e0a9 100644 --- a/app/kuma-ui/pkg/resources/data/assets/setupMockWorker.f0f794fe.js +++ b/app/kuma-ui/pkg/resources/data/assets/setupMockWorker.776bb472.js @@ -1,4 +1,4 @@ -import{c as Y,g as Ka}from"./_commonjsHelpers.f037b798.js";import{_ as x}from"./index.09f51eb8.js";const Yl={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a Teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"};var lo=Object.defineProperty,Ql=Object.getOwnPropertyDescriptor,zl=Object.getOwnPropertyNames,Wl=Object.prototype.hasOwnProperty,Xl=(e,t)=>{for(var n in t)lo(e,n,{get:t[n],enumerable:!0})},Jl=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of zl(t))!Wl.call(e,i)&&i!==n&&lo(e,i,{get:()=>t[i],enumerable:!(r=Ql(t,i))||r.enumerable});return e},Kl=e=>Jl(lo({},"__esModule",{value:!0}),e),Za={};Xl(Za,{Headers:()=>Hn,flattenHeadersList:()=>uf,flattenHeadersObject:()=>cf,headersToList:()=>eu,headersToObject:()=>rf,headersToString:()=>tf,listToHeaders:()=>sf,objectToHeaders:()=>af,reduceHeadersObject:()=>fo,stringToHeaders:()=>of});var Ze=Kl(Za),Zl=/[^a-z0-9\-#$%&'*+.^_`|~]/i;function Tn(e){if(typeof e!="string"&&(e=String(e)),Zl.test(e)||e.trim()==="")throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function ef(e){return typeof e!="string"&&(e=String(e)),e}var We=Symbol("normalizedHeaders"),pr=Symbol("rawHeaderNames"),Ss,As,Hn=class{constructor(e){this[Ss]={},this[As]=new Map,["Headers","HeadersPolyfill"].includes(e==null?void 0:e.constructor.name)||e instanceof Hn?e.forEach((n,r)=>{this.append(r,n)},this):Array.isArray(e)?e.forEach(([t,n])=>{this.append(t,Array.isArray(n)?n.join(", "):n)}):e&&Object.getOwnPropertyNames(e).forEach(t=>{const n=e[t];this.append(t,Array.isArray(n)?n.join(", "):n)})}[(Ss=We,As=pr,Symbol.iterator)](){return this.entries()}*keys(){for(const e of Object.keys(this[We]))yield e}*values(){for(const e of Object.values(this[We]))yield e}*entries(){for(const e of Object.keys(this[We]))yield[e,this.get(e)]}get(e){return this[We][Tn(e)]||null}set(e,t){const n=Tn(e);this[We][n]=ef(t),this[pr].set(n,e)}append(e,t){const n=Tn(e);let r=this.has(n)?`${this.get(n)}, ${t}`:t;this.set(e,r)}delete(e){if(!this.has(e))return;const t=Tn(e);delete this[We][t],this[pr].delete(t)}all(){return this[We]}raw(){const e={};for(const[t,n]of this.entries())e[this[pr].get(t)]=n;return e}has(e){return this[We].hasOwnProperty(Tn(e))}forEach(e,t){for(const n in this[We])this[We].hasOwnProperty(n)&&e.call(t,this[We][n],n,this)}};function eu(e){const t=[];return e.forEach((n,r)=>{const i=n.includes(",")?n.split(",").map(o=>o.trim()):n;t.push([r,i])}),t}function tf(e){return eu(e).map(([r,i])=>{const o=[].concat(i);return`${r}: ${o.join(", ")}`}).join(`\r +import{c as Y,g as Ka}from"./_commonjsHelpers.f037b798.js";import{_ as x}from"./index.47c8bf16.js";const Yl={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a Teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"};var lo=Object.defineProperty,Ql=Object.getOwnPropertyDescriptor,zl=Object.getOwnPropertyNames,Wl=Object.prototype.hasOwnProperty,Xl=(e,t)=>{for(var n in t)lo(e,n,{get:t[n],enumerable:!0})},Jl=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of zl(t))!Wl.call(e,i)&&i!==n&&lo(e,i,{get:()=>t[i],enumerable:!(r=Ql(t,i))||r.enumerable});return e},Kl=e=>Jl(lo({},"__esModule",{value:!0}),e),Za={};Xl(Za,{Headers:()=>Hn,flattenHeadersList:()=>uf,flattenHeadersObject:()=>cf,headersToList:()=>eu,headersToObject:()=>rf,headersToString:()=>tf,listToHeaders:()=>sf,objectToHeaders:()=>af,reduceHeadersObject:()=>fo,stringToHeaders:()=>of});var Ze=Kl(Za),Zl=/[^a-z0-9\-#$%&'*+.^_`|~]/i;function Tn(e){if(typeof e!="string"&&(e=String(e)),Zl.test(e)||e.trim()==="")throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function ef(e){return typeof e!="string"&&(e=String(e)),e}var We=Symbol("normalizedHeaders"),pr=Symbol("rawHeaderNames"),Ss,As,Hn=class{constructor(e){this[Ss]={},this[As]=new Map,["Headers","HeadersPolyfill"].includes(e==null?void 0:e.constructor.name)||e instanceof Hn?e.forEach((n,r)=>{this.append(r,n)},this):Array.isArray(e)?e.forEach(([t,n])=>{this.append(t,Array.isArray(n)?n.join(", "):n)}):e&&Object.getOwnPropertyNames(e).forEach(t=>{const n=e[t];this.append(t,Array.isArray(n)?n.join(", "):n)})}[(Ss=We,As=pr,Symbol.iterator)](){return this.entries()}*keys(){for(const e of Object.keys(this[We]))yield e}*values(){for(const e of Object.values(this[We]))yield e}*entries(){for(const e of Object.keys(this[We]))yield[e,this.get(e)]}get(e){return this[We][Tn(e)]||null}set(e,t){const n=Tn(e);this[We][n]=ef(t),this[pr].set(n,e)}append(e,t){const n=Tn(e);let r=this.has(n)?`${this.get(n)}, ${t}`:t;this.set(e,r)}delete(e){if(!this.has(e))return;const t=Tn(e);delete this[We][t],this[pr].delete(t)}all(){return this[We]}raw(){const e={};for(const[t,n]of this.entries())e[this[pr].get(t)]=n;return e}has(e){return this[We].hasOwnProperty(Tn(e))}forEach(e,t){for(const n in this[We])this[We].hasOwnProperty(n)&&e.call(t,this[We][n],n,this)}};function eu(e){const t=[];return e.forEach((n,r)=>{const i=n.includes(",")?n.split(",").map(o=>o.trim()):n;t.push([r,i])}),t}function tf(e){return eu(e).map(([r,i])=>{const o=[].concat(i);return`${r}: ${o.join(", ")}`}).join(`\r `)}var nf=["user-agent"];function rf(e){const t={};return e.forEach((n,r)=>{const i=!nf.includes(r.toLowerCase())&&n.includes(",");t[r]=i?n.split(",").map(o=>o.trim()):n}),t}function of(e){return e.trim().split(/[\r\n]+/).reduce((n,r)=>{if(r.trim()==="")return n;const i=r.split(": "),o=i.shift(),s=i.join(": ");return n.append(o,s),n},new Hn)}function sf(e){const t=new Hn;return e.forEach(([n,r])=>{[].concat(r).forEach(o=>{t.append(n,o)})}),t}function fo(e,t,n){return Object.keys(e).reduce((r,i)=>t(r,i,e[i]),n)}function af(e){return fo(e,(t,n,r)=>([].concat(r).filter(Boolean).forEach(o=>{t.append(n,o)}),t),new Hn)}function uf(e){return e.map(([t,n])=>[t,[].concat(n).join(", ")])}function cf(e){return fo(e,(t,n,r)=>(t[n]=[].concat(r).join(", "),t),{})}var Yn={};/*! * cookie * Copyright(c) 2012-2014 Roman Shtylman diff --git a/app/kuma-ui/pkg/resources/data/assets/tableDataUtils.637a273e.js b/app/kuma-ui/pkg/resources/data/assets/tableDataUtils.a0dba6c0.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/tableDataUtils.637a273e.js rename to app/kuma-ui/pkg/resources/data/assets/tableDataUtils.a0dba6c0.js index b01b1e7e2b20..f09e38f9461f 100644 --- a/app/kuma-ui/pkg/resources/data/assets/tableDataUtils.637a273e.js +++ b/app/kuma-ui/pkg/resources/data/assets/tableDataUtils.a0dba6c0.js @@ -1 +1 @@ -import{P as c}from"./index.09f51eb8.js";function x(n){return[...n].sort((r,a)=>r.name>a.name||r.name===a.name&&r.mesh>a.mesh?1:-1)}const I=n=>n.total!==0&&n.items&&n.items.length>0?x(n.items):[];function P({getSingleEntity:n,getAllEntities:r,getAllEntitiesFromPath:a,getAllEntitiesFromMesh:u,path:o,mesh:e,query:f,size:i,offset:m,params:s={}}){const t={size:i,offset:m,...s};return n&&f?n({mesh:e,path:o,name:f},t):r&&!e?r(t):a&&!e?a({path:o},t):u&&e?u({mesh:e,path:o},t):Promise.resolve()}async function D({getSingleEntity:n,getAllEntities:r,getAllEntitiesFromPath:a,getAllEntitiesFromMesh:u,path:o,mesh:e,query:f,size:i=c,offset:m,params:s={}}){const t=await P({getSingleEntity:n,getAllEntities:r,getAllEntitiesFromPath:a,getAllEntitiesFromMesh:u,path:o,mesh:e,query:f,size:i,offset:m,params:s});return t?{data:t.items?I(t):[t],next:Boolean(t.next)}:{data:[],next:!1}}export{D as g}; +import{P as c}from"./index.47c8bf16.js";function x(n){return[...n].sort((r,a)=>r.name>a.name||r.name===a.name&&r.mesh>a.mesh?1:-1)}const I=n=>n.total!==0&&n.items&&n.items.length>0?x(n.items):[];function P({getSingleEntity:n,getAllEntities:r,getAllEntitiesFromPath:a,getAllEntitiesFromMesh:u,path:o,mesh:e,query:f,size:i,offset:m,params:s={}}){const t={size:i,offset:m,...s};return n&&f?n({mesh:e,path:o,name:f},t):r&&!e?r(t):a&&!e?a({path:o},t):u&&e?u({mesh:e,path:o},t):Promise.resolve()}async function D({getSingleEntity:n,getAllEntities:r,getAllEntitiesFromPath:a,getAllEntitiesFromMesh:u,path:o,mesh:e,query:f,size:i=c,offset:m,params:s={}}){const t=await P({getSingleEntity:n,getAllEntities:r,getAllEntitiesFromPath:a,getAllEntitiesFromMesh:u,path:o,mesh:e,query:f,size:i,offset:m,params:s});return t?{data:t.items?I(t):[t],next:Boolean(t.next)}:{data:[],next:!1}}export{D as g}; diff --git a/app/kuma-ui/pkg/resources/data/index.html b/app/kuma-ui/pkg/resources/data/index.html index 896ccc738208..701f9c860237 100644 --- a/app/kuma-ui/pkg/resources/data/index.html +++ b/app/kuma-ui/pkg/resources/data/index.html @@ -8,8 +8,8 @@ Manager - - + +