@kong-ui-public/app-layout 4.2.36-pr.1655.0ea8f88a.0 → 4.2.36-pr.1658.b2ec1ded.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
- (function(L,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(L=typeof globalThis<"u"?globalThis:L||self,e(L["kong-ui-public-app-layout"]={},L.Vue))})(this,function(L,e){"use strict";const $t=e.defineComponent({__name:"AccountDropdown",props:{options:{type:Array,required:!0},width:{type:String,default:"240"},userInitials:{type:String,required:!0,default:" "}},setup(n){return(a,o)=>{const r=e.resolveComponent("KDropdownItem"),s=e.resolveComponent("KDropdown");return e.openBlock(),e.createBlock(s,{class:"account-dropdown","kpop-attributes":{placement:"bottom-end"},"trigger-text":n.userInitials,width:n.width},{items:e.withCtx(({handleSelection:d})=>[e.renderSlot(a.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.options,c=>(e.openBlock(),e.createBlock(r,{key:c.value,class:e.normalizeClass({"has-divider":c.hasDivider}),"data-testid":"select-"+c.value,"has-divider":c.hasDivider,onClick:b=>d(c)},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{option:c},()=>[e.createTextVNode(e.toDisplayString(c.label),1)],!0)]),_:2},1032,["class","data-testid","has-divider","onClick"]))),128))],!0)]),_:3},8,["trigger-text","width"])}}}),K=(n,a)=>{const o=n.__vccOpts||n;for(const[r,s]of a)o[r]=s;return o},At=K($t,[["__scopeId","data-v-b33191a2"]]),xt={class:"about-section-title","data-testid":"about-section-title"},Ft={class:"about-section-header-end"},Dt={key:0,class:"about-section-timestamps-created","data-testid":"about-section-timestamps-created"},Vt={key:1,class:"about-section-timestamps-arrow"},Rt={key:2,class:"about-section-timestamps-modified","data-testid":"about-section-timestamps-modified"},Lt={key:1,class:"about-section-actions","data-testid":"about-section-actions"},Mt={key:0,"data-testid":"about-section-loading-skeleton"},Pt={key:1},jt={key:0,class:"about-section-description","data-testid":"about-section-description"},Zt={key:1,class:"about-section-content","data-testid":"about-section-content"},Kt={key:2,"data-testid":"about-divider-section-separator"},Ht={key:3,class:"about-divider-section","data-testid":"about-divider-section"},zt=K(e.defineComponent({__name:"AppAboutSection",props:{title:{type:String,default:""},description:{type:String,default:""},created:{type:String,default:""},createdLabel:{type:String,default:"Created"},modified:{type:String,default:""},modifiedLabel:{type:String,default:"Modified"},isLoading:{type:Boolean,default:!1}},setup(n){const a=n,o=e.computed(()=>!!a.modified&&a.modified!==a.created);return(r,s)=>{const d=e.resolveComponent("KSkeletonBox"),c=e.resolveComponent("KCard");return e.openBlock(),e.createBlock(c,{class:"kong-ui-app-about-section","title-tag":"h2"},e.createSlots({default:e.withCtx(()=>[n.isLoading?(e.openBlock(),e.createElementBlock("div",Mt,[e.createVNode(d,{height:"2",width:"100"}),e.createVNode(d,{height:"2",width:"100"})])):(e.openBlock(),e.createElementBlock("div",Pt,[n.description?(e.openBlock(),e.createElementBlock("p",jt,e.toDisplayString(n.description),1)):e.createCommentVNode("",!0),r.$slots.default?(e.openBlock(),e.createElementBlock("div",Zt,[e.renderSlot(r.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),r.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("hr",Kt)):e.createCommentVNode("",!0),r.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("div",Ht,[e.renderSlot(r.$slots,"divider-section",{},void 0,!0)])):e.createCommentVNode("",!0)]))]),_:2},[n.title?{name:"title",fn:e.withCtx(()=>[e.createElementVNode("span",xt,e.toDisplayString(n.title),1)]),key:"0"}:void 0,r.$slots.actions||n.created||n.modified?{name:"actions",fn:e.withCtx(()=>[e.createElementVNode("div",Ft,[n.created||n.modified?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["about-section-timestamps",{"has-actions":r.$slots.actions}])},[n.created?(e.openBlock(),e.createElementBlock("span",Dt,e.toDisplayString(n.createdLabel)+": "+e.toDisplayString(n.created),1)):e.createCommentVNode("",!0),n.created&&o.value?(e.openBlock(),e.createElementBlock("span",Vt,"->")):e.createCommentVNode("",!0),o.value?(e.openBlock(),e.createElementBlock("span",Rt,e.toDisplayString(n.modifiedLabel)+": "+e.toDisplayString(n.modified),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),r.$slots.actions?(e.openBlock(),e.createElementBlock("div",Lt,[e.renderSlot(r.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)])]),key:"1"}:void 0]),1024)}}}),[["__scopeId","data-v-521dcc27"]]),Ut={},Wt={fill:"none",height:"130",width:"130",xmlns:"http://www.w3.org/2000/svg"};function Gt(n,a){return e.openBlock(),e.createElementBlock("svg",Wt,a[0]||(a[0]=[e.createStaticVNode('<path clip-rule="evenodd" d="M19.111 120.198c-.226 0-.409-.164-.409-.368v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.367V66.89c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368V47.64c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.369v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368V9.138c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368ZM110.889 120.198c-.225 0-.408-.164-.408-.368v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.367V66.89c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368V47.64c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.369v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368V9.138c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Z" fill="#D6D6D6" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M123.553 107.758a.399.399 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.399.399 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H87.69a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.135 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408H37.01a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.067a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.067c.215 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H6.603a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409ZM123.553 21.434a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.399.399 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409H87.69a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.135 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409H37.01a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409H6.603a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Z" fill="#D6D6D6" fill-rule="evenodd"></path><circle cx="65" cy="65" opacity=".5" r="64" stroke="#B6B6BD" stroke-dasharray="5.69 5.69" stroke-linecap="round" stroke-width=".854"></circle><g clip-path="url(#a)" stroke="#169FCC" stroke-miterlimit="10" stroke-width="1.42"><path d="m33.523 104.868-5.72-.695a1.214 1.214 0 0 1-.766-.386 1.182 1.182 0 0 1-.312-.788v-7.448c0-.095.038-.186.106-.253a.365.365 0 0 1 .256-.104l5.254-.263M61.471 22.733a1.761 1.761 0 0 1 1.45.235 49.628 49.628 0 0 1 15.613 17.6 48.797 48.797 0 0 1 5.65 22.702 47.236 47.236 0 0 1-.333 5.325 41.34 41.34 0 0 0-12.501-.441 48.503 48.503 0 0 0-1.813-23.734 49.117 49.117 0 0 0-12.91-20.119c1.602-.591 3.223-1.136 4.844-1.568Z"></path><path d="M71.35 68.154a39.493 39.493 0 0 0-10.813 3.757 51.298 51.298 0 0 0 3.251-18.062c0-9.392-4.939-19.179-9.783-27.237-.257-.432 0-1.616 2.642-2.32"></path><path d="M56.236 78.58a13.605 13.605 0 0 0-4.29-9.289 14.017 14.017 0 0 0-9.622-3.786 9.617 9.617 0 0 1-6.456-2.446 9.341 9.341 0 0 1-3.079-6.1l-.286-4.256c3.09 0 9.46 4.105 13.216 4.866 3.757.76 8.21.253 11.862 3.437a13.303 13.303 0 0 1 4.357 6.575"></path><path d="M68.594 75.442c-3.432 6.95-7.914 11.59-14.303 16.033a47.076 47.076 0 0 1-21.702 8.058v-4.696c11.642-4.809 22.208-11.806 27.948-22.88"></path><path d="M76.499 84.815a46.939 46.939 0 0 1-17.392 14.511 50.925 50.925 0 0 1-22.885 5.457c-2.317 0-3.662.47-3.662-.695v-4.555"></path><path d="M83.85 68.595c22.304 16.22 4.044 39.25-19.652 37.663.954-.939 29.95-22.222-3.661-34.3"></path><path d="M84.184 58.47c13.607 0 25.746 26.242 17.383 30.995-1.182-17.508-17.716-20.87-17.716-20.87"></path></g><defs><clipPath id="a"><path d="M0 0h79v85H0z" fill="#fff" transform="translate(26 22)"></path></clipPath></defs>',5)]))}const qt=K(Ut,[["render",Gt]]),Xt={class:"kong-ui-app-error"},Yt={class:"banana-icon"},Jt={class:"kong-ui-app-error-content"},Qt=K(e.defineComponent({__name:"AppError",setup(n){return(a,o)=>(e.openBlock(),e.createElementBlock("section",Xt,[e.createElementVNode("div",Yt,[e.createVNode(qt)]),e.createElementVNode("div",Jt,[e.renderSlot(a.$slots,"default",{},()=>[o[0]||(o[0]=e.createElementVNode("h2",null,"An unexpected error has occurred",-1)),o[1]||(o[1]=e.createElementVNode("p",null,[e.createTextVNode("Go back to the previous page or "),e.createElementVNode("a",{href:"/"},"return home"),e.createTextVNode(".")],-1))],!0)])]))}}),[["__scopeId","data-v-5cbccc66"]]),ea={class:"kong-ui-app-navbar"},ta={class:"header-content"},aa={class:"mobile-header-left"},na={key:0,class:"app-navbar-logo"},ra={class:"navbar-content"},oa={class:"navbar-content-left"},ia={class:"navbar-content-center"},ca={class:"navbar-content-right"},He=K(e.defineComponent({__name:"AppNavbar",props:{topOffset:{type:Number,default:0},leftOffset:{type:Number,default:240},zIndex:{type:Number,default:3}},setup(n){e.useCssVars(c=>({d96d0598:d.value.top,"05b18f8e":d.value.zIndex,"543b3ff0":d.value.left,"247c8fd0":s.marginRight,"278e63f0":s.width}));const a=n,o=e.useSlots(),r=e.computed(()=>!!o.logo),s=e.reactive({marginRight:"0",width:"0"});e.onMounted(()=>{var c,b;(b=(c=document==null?void 0:document.querySelector(".kong-ui-app-navbar .app-navbar-logo"))==null?void 0:c.children)!=null&&b.length?(s.marginRight="32px",s.width="calc(240px - 32px)"):(s.marginRight="0",s.width="0")});const d=e.computed(()=>({top:a.topOffset?`${a.topOffset}px`:"0",left:a.leftOffset?`${a.leftOffset}px`:"0",zIndex:a.zIndex}));return(c,b)=>(e.openBlock(),e.createElementBlock("header",ea,[e.createElementVNode("div",ta,[e.createElementVNode("div",aa,[e.renderSlot(c.$slots,"mobile-sidebar-toggle"),e.renderSlot(c.$slots,"mobile-logo")]),r.value?(e.openBlock(),e.createElementBlock("div",na,[e.renderSlot(c.$slots,"logo")])):e.createCommentVNode("",!0),e.createElementVNode("div",ra,[e.createElementVNode("div",oa,[e.renderSlot(c.$slots,"left")]),e.createElementVNode("div",ia,[e.renderSlot(c.$slots,"center")]),e.createElementVNode("div",ca,[e.renderSlot(c.$slots,"right")])])])]))}}),[["__scopeId","data-v-beca6ea9"]]),sa=["title"],Oe=99,la=K(e.defineComponent({__name:"ItemBadge",props:{count:{type:Number,required:!0,default:void 0}},setup(n){const a=n,o=e.computed(()=>a.count?a.count>Oe?`${Oe}+`:a.count.toString():"");return(r,s)=>o.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"item-badge",title:(n.count||0)>Oe?String(n.count):void 0},e.toDisplayString(o.value),9,sa)):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-afb0d903"]]),da=["data-testid"],ua=["aria-controls","aria-current","aria-expanded","href","target","onClick","onKeypress"],fa={key:0,class:"sidebar-item-icon"},ma={class:"sidebar-item-name-container"},ba={class:"sidebar-item-name has-tooltip"},pa={key:2,class:"sidebar-item-label truncate-text truncate-18"},ha=["id"],ze=K(e.defineComponent({__name:"SidebarItem",props:{item:{type:Object,required:!0},subnavItem:{type:Boolean,default:!1}},emits:["click"],setup(n,{emit:a}){const o=a,r=n,s=e.computed(()=>typeof r.item.to!="string"?!1:!!r.item.newWindow||!!r.item.external||r.item.to.startsWith("http")),d=e.computed(()=>!r.item.to||typeof r.item.to!="string"||!r.item.newWindow?!1:r.item.newWindow&&(r.item.to.startsWith("http")||r.item.to.startsWith("/"))),c=e.computed(()=>r.subnavItem&&r.item.badgeCount!==void 0),b=w=>{o("click",w)},g=(w,T,N)=>{b(T),typeof N=="function"&&(w.preventDefault(),N())};return(w,T)=>{var x;const N=e.resolveComponent("KTooltip"),_=e.resolveComponent("SidebarItem",!0);return e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass([n.subnavItem?"sidebar-item-secondary":"sidebar-item-primary",{expanded:n.item.expanded},{active:n.item.active}]),"data-testid":n.item.testId?`sidebar-item-${n.item.testId}`:void 0},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.value?"div":"router-link"),{custom:s.value?void 0:!0,to:!s.value&&!d.value?n.item.to:void 0},{default:e.withCtx(k=>{var F,Z;return[e.createElementVNode("a",{"aria-controls":(F=n.item.items)!=null&&F.length&&n.item.expanded?`subnav-${n.item.key}`:void 0,"aria-current":n.item.active?"page":void 0,"aria-expanded":(Z=n.item.items)!=null&&Z.length&&n.item.expanded?!0:void 0,class:e.normalizeClass(["sidebar-item-link",{"sidebar-item-external-link":d.value,"router-link":!s.value}]),href:s.value?String(n.item.to||"#"):k==null?void 0:k.href,target:d.value?"_blank":void 0,onClick:$=>g($,n.item,k==null?void 0:k.navigate),onKeypress:e.withKeys($=>g($,n.item,k==null?void 0:k.navigate),["enter"])},[e.createElementVNode("div",{class:e.normalizeClass(["sidebar-item-display",{"has-label":!!n.item.label&&n.item.expanded,"has-badge":c.value}])},[w.$slots[`sidebar-icon-${n.item.key}`]?(e.openBlock(),e.createElementBlock("div",fa,[n.subnavItem?e.createCommentVNode("",!0):e.renderSlot(w.$slots,`sidebar-icon-${n.item.key}`,{key:0},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",ma,[(n.subnavItem?n.item.name.length<25:n.item.name.length<18)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["sidebar-item-name truncate-text",[n.subnavItem?"has-badge-max-width truncate-24":"truncate-17"]])},e.toDisplayString(n.item.name),3)):(e.openBlock(),e.createBlock(N,{key:1,class:"sidebar-item-tooltip",placement:"right","position-fixed":"",text:n.item.name},{default:e.withCtx(()=>[e.createElementVNode("div",ba,[e.createElementVNode("span",{class:e.normalizeClass(["truncate-text",[n.subnavItem?"truncate-18":"truncate-17",{"has-badge-max-width":c.value}]])},e.toDisplayString(n.item.name),3)])]),_:1},8,["text"])),n.item.label&&n.item.expanded?(e.openBlock(),e.createElementBlock("div",pa,e.toDisplayString(n.item.label),1)):e.createCommentVNode("",!0)]),c.value?(e.openBlock(),e.createBlock(la,{key:1,count:n.item.badgeCount},null,8,["count"])):e.createCommentVNode("",!0)],2)],42,ua)]}),_:3},8,["custom","to"])),(x=n.item.items)!=null&&x.length&&n.item.expanded?(e.openBlock(),e.createElementBlock("ul",{key:0,id:`subnav-${n.item.key}`,class:"level-secondary"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.item.items,k=>(e.openBlock(),e.createBlock(_,{key:k.name,item:k,"subnav-item":!0,onClick:F=>b(k)},null,8,["item","onClick"]))),128))],8,ha)):e.createCommentVNode("",!0)],10,da)}}}),[["__scopeId","data-v-90892c1e"]]);/*!
1
+ (function(D,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(D=typeof globalThis<"u"?globalThis:D||self,e(D["kong-ui-public-app-layout"]={},D.Vue))})(this,function(D,e){"use strict";const Ft=e.defineComponent({__name:"AccountDropdown",props:{options:{type:Array,required:!0},width:{type:String,default:"240"},userInitials:{type:String,required:!0,default:" "}},setup(n){return(a,r)=>{const o=e.resolveComponent("KDropdownItem"),l=e.resolveComponent("KDropdown");return e.openBlock(),e.createBlock(l,{class:"account-dropdown","kpop-attributes":{placement:"bottom-end"},"trigger-text":n.userInitials,width:n.width},{items:e.withCtx(({handleSelection:u})=>[e.renderSlot(a.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.options,c=>(e.openBlock(),e.createBlock(o,{key:c.value,class:e.normalizeClass({"has-divider":c.hasDivider}),"data-testid":"select-"+c.value,"has-divider":c.hasDivider,onClick:p=>u(c)},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{option:c},()=>[e.createTextVNode(e.toDisplayString(c.label),1)],!0)]),_:2},1032,["class","data-testid","has-divider","onClick"]))),128))],!0)]),_:3},8,["trigger-text","width"])}}}),H=(n,a)=>{const r=n.__vccOpts||n;for(const[o,l]of a)r[o]=l;return r},Dt=H(Ft,[["__scopeId","data-v-b33191a2"]]),Vt={class:"about-section-title","data-testid":"about-section-title"},Rt={class:"about-section-header-end"},Lt={key:0,class:"about-section-timestamps-created","data-testid":"about-section-timestamps-created"},Mt={key:1,class:"about-section-timestamps-arrow"},Pt={key:2,class:"about-section-timestamps-modified","data-testid":"about-section-timestamps-modified"},jt={key:1,class:"about-section-actions","data-testid":"about-section-actions"},Zt={key:0,"data-testid":"about-section-loading-skeleton"},Kt={key:1},Ht={key:0,class:"about-section-description","data-testid":"about-section-description"},zt={key:1,class:"about-section-content","data-testid":"about-section-content"},Ut={key:2,"data-testid":"about-divider-section-separator"},Wt={key:3,class:"about-divider-section","data-testid":"about-divider-section"},Gt=H(e.defineComponent({__name:"AppAboutSection",props:{title:{type:String,default:""},description:{type:String,default:""},created:{type:String,default:""},createdLabel:{type:String,default:"Created"},modified:{type:String,default:""},modifiedLabel:{type:String,default:"Modified"},isLoading:{type:Boolean,default:!1}},setup(n){const a=n,r=e.computed(()=>!!a.modified&&a.modified!==a.created);return(o,l)=>{const u=e.resolveComponent("KSkeletonBox"),c=e.resolveComponent("KCard");return e.openBlock(),e.createBlock(c,{class:"kong-ui-app-about-section","title-tag":"h2"},e.createSlots({default:e.withCtx(()=>[n.isLoading?(e.openBlock(),e.createElementBlock("div",Zt,[e.createVNode(u,{height:"2",width:"100"}),e.createVNode(u,{height:"2",width:"100"})])):(e.openBlock(),e.createElementBlock("div",Kt,[n.description?(e.openBlock(),e.createElementBlock("p",Ht,e.toDisplayString(n.description),1)):e.createCommentVNode("",!0),o.$slots.default?(e.openBlock(),e.createElementBlock("div",zt,[e.renderSlot(o.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),o.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("hr",Ut)):e.createCommentVNode("",!0),o.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("div",Wt,[e.renderSlot(o.$slots,"divider-section",{},void 0,!0)])):e.createCommentVNode("",!0)]))]),_:2},[n.title?{name:"title",fn:e.withCtx(()=>[e.createElementVNode("span",Vt,e.toDisplayString(n.title),1)]),key:"0"}:void 0,o.$slots.actions||n.created||n.modified?{name:"actions",fn:e.withCtx(()=>[e.createElementVNode("div",Rt,[n.created||n.modified?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["about-section-timestamps",{"has-actions":o.$slots.actions}])},[n.created?(e.openBlock(),e.createElementBlock("span",Lt,e.toDisplayString(n.createdLabel)+": "+e.toDisplayString(n.created),1)):e.createCommentVNode("",!0),n.created&&r.value?(e.openBlock(),e.createElementBlock("span",Mt,"->")):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("span",Pt,e.toDisplayString(n.modifiedLabel)+": "+e.toDisplayString(n.modified),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),o.$slots.actions?(e.openBlock(),e.createElementBlock("div",jt,[e.renderSlot(o.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)])]),key:"1"}:void 0]),1024)}}}),[["__scopeId","data-v-521dcc27"]]),qt={},Xt={fill:"none",height:"130",width:"130",xmlns:"http://www.w3.org/2000/svg"},Yt=[e.createStaticVNode('<path clip-rule="evenodd" d="M19.111 120.198c-.226 0-.409-.164-.409-.368v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.367V66.89c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368V47.64c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.369v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368V9.138c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368ZM110.889 120.198c-.225 0-.408-.164-.408-.368v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.367V66.89c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368V47.64c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.369v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368V9.138c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Z" fill="#D6D6D6" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M123.553 107.758a.399.399 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.399.399 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H87.69a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.135 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408H37.01a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.067a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.067c.215 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H6.603a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409ZM123.553 21.434a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.399.399 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409H87.69a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.135 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409H37.01a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409H6.603a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Z" fill="#D6D6D6" fill-rule="evenodd"></path><circle cx="65" cy="65" opacity=".5" r="64" stroke="#B6B6BD" stroke-dasharray="5.69 5.69" stroke-linecap="round" stroke-width=".854"></circle><g clip-path="url(#a)" stroke="#169FCC" stroke-miterlimit="10" stroke-width="1.42"><path d="m33.523 104.868-5.72-.695a1.214 1.214 0 0 1-.766-.386 1.182 1.182 0 0 1-.312-.788v-7.448c0-.095.038-.186.106-.253a.365.365 0 0 1 .256-.104l5.254-.263M61.471 22.733a1.761 1.761 0 0 1 1.45.235 49.628 49.628 0 0 1 15.613 17.6 48.797 48.797 0 0 1 5.65 22.702 47.236 47.236 0 0 1-.333 5.325 41.34 41.34 0 0 0-12.501-.441 48.503 48.503 0 0 0-1.813-23.734 49.117 49.117 0 0 0-12.91-20.119c1.602-.591 3.223-1.136 4.844-1.568Z"></path><path d="M71.35 68.154a39.493 39.493 0 0 0-10.813 3.757 51.298 51.298 0 0 0 3.251-18.062c0-9.392-4.939-19.179-9.783-27.237-.257-.432 0-1.616 2.642-2.32"></path><path d="M56.236 78.58a13.605 13.605 0 0 0-4.29-9.289 14.017 14.017 0 0 0-9.622-3.786 9.617 9.617 0 0 1-6.456-2.446 9.341 9.341 0 0 1-3.079-6.1l-.286-4.256c3.09 0 9.46 4.105 13.216 4.866 3.757.76 8.21.253 11.862 3.437a13.303 13.303 0 0 1 4.357 6.575"></path><path d="M68.594 75.442c-3.432 6.95-7.914 11.59-14.303 16.033a47.076 47.076 0 0 1-21.702 8.058v-4.696c11.642-4.809 22.208-11.806 27.948-22.88"></path><path d="M76.499 84.815a46.939 46.939 0 0 1-17.392 14.511 50.925 50.925 0 0 1-22.885 5.457c-2.317 0-3.662.47-3.662-.695v-4.555"></path><path d="M83.85 68.595c22.304 16.22 4.044 39.25-19.652 37.663.954-.939 29.95-22.222-3.661-34.3"></path><path d="M84.184 58.47c13.607 0 25.746 26.242 17.383 30.995-1.182-17.508-17.716-20.87-17.716-20.87"></path></g><defs><clipPath id="a"><path d="M0 0h79v85H0z" fill="#fff" transform="translate(26 22)"></path></clipPath></defs>',5)];function Jt(n,a){return e.openBlock(),e.createElementBlock("svg",Xt,Yt)}const Qt=H(qt,[["render",Jt]]),Ue=n=>(e.pushScopeId("data-v-5cbccc66"),n=n(),e.popScopeId(),n),ea={class:"kong-ui-app-error"},ta={class:"banana-icon"},aa={class:"kong-ui-app-error-content"},na=Ue(()=>e.createElementVNode("h2",null,"An unexpected error has occurred",-1)),oa=Ue(()=>e.createElementVNode("p",null,[e.createTextVNode("Go back to the previous page or "),e.createElementVNode("a",{href:"/"},"return home"),e.createTextVNode(".")],-1)),ra=H(e.defineComponent({__name:"AppError",setup(n){return(a,r)=>(e.openBlock(),e.createElementBlock("section",ea,[e.createElementVNode("div",ta,[e.createVNode(Qt)]),e.createElementVNode("div",aa,[e.renderSlot(a.$slots,"default",{},()=>[na,oa],!0)])]))}}),[["__scopeId","data-v-5cbccc66"]]),ia={class:"kong-ui-app-navbar"},ca={class:"header-content"},sa={class:"mobile-header-left"},la={key:0,class:"app-navbar-logo"},da={class:"navbar-content"},ua={class:"navbar-content-left"},fa={class:"navbar-content-center"},ma={class:"navbar-content-right"},We=H(e.defineComponent({__name:"AppNavbar",props:{topOffset:{type:Number,default:0},leftOffset:{type:Number,default:240},zIndex:{type:Number,default:3}},setup(n){e.useCssVars(c=>({d96d0598:u.value.top,"05b18f8e":u.value.zIndex,"543b3ff0":u.value.left,"247c8fd0":l.marginRight,"278e63f0":l.width}));const a=n,r=e.useSlots(),o=e.computed(()=>!!r.logo),l=e.reactive({marginRight:"0",width:"0"});e.onMounted(()=>{var c,p;(p=(c=document==null?void 0:document.querySelector(".kong-ui-app-navbar .app-navbar-logo"))==null?void 0:c.children)!=null&&p.length?(l.marginRight="32px",l.width="calc(240px - 32px)"):(l.marginRight="0",l.width="0")});const u=e.computed(()=>({top:a.topOffset?`${a.topOffset}px`:"0",left:a.leftOffset?`${a.leftOffset}px`:"0",zIndex:a.zIndex}));return(c,p)=>(e.openBlock(),e.createElementBlock("header",ia,[e.createElementVNode("div",ca,[e.createElementVNode("div",sa,[e.renderSlot(c.$slots,"mobile-sidebar-toggle"),e.renderSlot(c.$slots,"mobile-logo")]),o.value?(e.openBlock(),e.createElementBlock("div",la,[e.renderSlot(c.$slots,"logo")])):e.createCommentVNode("",!0),e.createElementVNode("div",da,[e.createElementVNode("div",ua,[e.renderSlot(c.$slots,"left")]),e.createElementVNode("div",fa,[e.renderSlot(c.$slots,"center")]),e.createElementVNode("div",ma,[e.renderSlot(c.$slots,"right")])])])]))}}),[["__scopeId","data-v-beca6ea9"]]),pa=["title"],Oe=99,ba=H(e.defineComponent({__name:"ItemBadge",props:{count:{type:Number,required:!0,default:void 0}},setup(n){const a=n,r=e.computed(()=>a.count?a.count>Oe?`${Oe}+`:a.count.toString():"");return(o,l)=>r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"item-badge",title:(n.count||0)>Oe?String(n.count):void 0},e.toDisplayString(r.value),9,pa)):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-afb0d903"]]),ha=["data-testid"],ga=["aria-controls","aria-current","aria-expanded","href","target","onClick","onKeypress"],va={key:0,class:"sidebar-item-icon"},ya={class:"sidebar-item-name-container"},ka={class:"sidebar-item-name has-tooltip"},wa={key:2,class:"sidebar-item-label truncate-text truncate-18"},Sa=["id"],Ge=H(e.defineComponent({__name:"SidebarItem",props:{item:{type:Object,required:!0},subnavItem:{type:Boolean,default:!1}},emits:["click"],setup(n,{emit:a}){const r=a,o=n,l=e.computed(()=>typeof o.item.to!="string"?!1:!!o.item.newWindow||!!o.item.external||o.item.to.startsWith("http")),u=e.computed(()=>!o.item.to||typeof o.item.to!="string"||!o.item.newWindow?!1:o.item.newWindow&&(o.item.to.startsWith("http")||o.item.to.startsWith("/"))),c=e.computed(()=>o.subnavItem&&o.item.badgeCount!==void 0),p=w=>{r("click",w)},g=(w,N,E)=>{p(N),typeof E=="function"&&(w.preventDefault(),E())};return(w,N)=>{var I;const E=e.resolveComponent("KTooltip"),B=e.resolveComponent("SidebarItem",!0);return e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass([n.subnavItem?"sidebar-item-secondary":"sidebar-item-primary",{expanded:n.item.expanded},{active:n.item.active}]),"data-testid":n.item.testId?`sidebar-item-${n.item.testId}`:void 0},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value?"div":"router-link"),{custom:l.value?void 0:!0,to:!l.value&&!u.value?n.item.to:void 0},{default:e.withCtx(y=>{var A,K;return[e.createElementVNode("a",{"aria-controls":(A=n.item.items)!=null&&A.length&&n.item.expanded?`subnav-${n.item.key}`:void 0,"aria-current":n.item.active?"page":void 0,"aria-expanded":(K=n.item.items)!=null&&K.length&&n.item.expanded?!0:void 0,class:e.normalizeClass(["sidebar-item-link",{"sidebar-item-external-link":u.value,"router-link":!l.value}]),href:l.value?String(n.item.to||"#"):y==null?void 0:y.href,target:u.value?"_blank":void 0,onClick:$=>g($,n.item,y==null?void 0:y.navigate),onKeypress:e.withKeys($=>g($,n.item,y==null?void 0:y.navigate),["enter"])},[e.createElementVNode("div",{class:e.normalizeClass(["sidebar-item-display",{"has-label":!!n.item.label&&n.item.expanded,"has-badge":c.value}])},[w.$slots[`sidebar-icon-${n.item.key}`]?(e.openBlock(),e.createElementBlock("div",va,[n.subnavItem?e.createCommentVNode("",!0):e.renderSlot(w.$slots,`sidebar-icon-${n.item.key}`,{key:0},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",ya,[(n.subnavItem?n.item.name.length<25:n.item.name.length<18)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["sidebar-item-name truncate-text",[n.subnavItem?"has-badge-max-width truncate-24":"truncate-17"]])},e.toDisplayString(n.item.name),3)):(e.openBlock(),e.createBlock(E,{key:1,class:"sidebar-item-tooltip",placement:"right","position-fixed":"",text:n.item.name},{default:e.withCtx(()=>[e.createElementVNode("div",ka,[e.createElementVNode("span",{class:e.normalizeClass(["truncate-text",[n.subnavItem?"truncate-18":"truncate-17",{"has-badge-max-width":c.value}]])},e.toDisplayString(n.item.name),3)])]),_:1},8,["text"])),n.item.label&&n.item.expanded?(e.openBlock(),e.createElementBlock("div",wa,e.toDisplayString(n.item.label),1)):e.createCommentVNode("",!0)]),c.value?(e.openBlock(),e.createBlock(ba,{key:1,count:n.item.badgeCount},null,8,["count"])):e.createCommentVNode("",!0)],2)],42,ga)]}),_:3},8,["custom","to"])),(I=n.item.items)!=null&&I.length&&n.item.expanded?(e.openBlock(),e.createElementBlock("ul",{key:0,id:`subnav-${n.item.key}`,class:"level-secondary"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.item.items,y=>(e.openBlock(),e.createBlock(B,{key:y.name,item:y,"subnav-item":!0,onClick:A=>p(y)},null,8,["item","onClick"]))),128))],8,Sa)):e.createCommentVNode("",!0)],10,ha)}}}),[["__scopeId","data-v-90892c1e"]]);/*!
2
2
  * tabbable 6.2.0
3
3
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
4
- */var Ue=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],ge=Ue.join(","),We=typeof Element>"u",Q=We?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ve=!We&&Element.prototype.getRootNode?function(n){var a;return n==null||(a=n.getRootNode)===null||a===void 0?void 0:a.call(n)}:function(n){return n==null?void 0:n.ownerDocument},ye=function n(a,o){var r;o===void 0&&(o=!0);var s=a==null||(r=a.getAttribute)===null||r===void 0?void 0:r.call(a,"inert"),d=s===""||s==="true",c=d||o&&a&&n(a.parentNode);return c},ga=function(a){var o,r=a==null||(o=a.getAttribute)===null||o===void 0?void 0:o.call(a,"contenteditable");return r===""||r==="true"},Ge=function(a,o,r){if(ye(a))return[];var s=Array.prototype.slice.apply(a.querySelectorAll(ge));return o&&Q.call(a,ge)&&s.unshift(a),s=s.filter(r),s},qe=function n(a,o,r){for(var s=[],d=Array.from(a);d.length;){var c=d.shift();if(!ye(c,!1))if(c.tagName==="SLOT"){var b=c.assignedElements(),g=b.length?b:c.children,w=n(g,!0,r);r.flatten?s.push.apply(s,w):s.push({scopeParent:c,candidates:w})}else{var T=Q.call(c,ge);T&&r.filter(c)&&(o||!a.includes(c))&&s.push(c);var N=c.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(c),_=!ye(N,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(c));if(N&&_){var x=n(N===!0?c.children:N.children,!0,r);r.flatten?s.push.apply(s,x):s.push({scopeParent:c,candidates:x})}else d.unshift.apply(d,c.children)}}return s},Xe=function(a){return!isNaN(parseInt(a.getAttribute("tabindex"),10))},ee=function(a){if(!a)throw new Error("No node provided");return a.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(a.tagName)||ga(a))&&!Xe(a)?0:a.tabIndex},va=function(a,o){var r=ee(a);return r<0&&o&&!Xe(a)?0:r},ya=function(a,o){return a.tabIndex===o.tabIndex?a.documentOrder-o.documentOrder:a.tabIndex-o.tabIndex},Ye=function(a){return a.tagName==="INPUT"},ka=function(a){return Ye(a)&&a.type==="hidden"},wa=function(a){var o=a.tagName==="DETAILS"&&Array.prototype.slice.apply(a.children).some(function(r){return r.tagName==="SUMMARY"});return o},Ca=function(a,o){for(var r=0;r<a.length;r++)if(a[r].checked&&a[r].form===o)return a[r]},Sa=function(a){if(!a.name)return!0;var o=a.form||ve(a),r=function(b){return o.querySelectorAll('input[type="radio"][name="'+b+'"]')},s;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")s=r(window.CSS.escape(a.name));else try{s=r(a.name)}catch(c){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",c.message),!1}var d=Ca(s,a.form);return!d||d===a},Ea=function(a){return Ye(a)&&a.type==="radio"},Na=function(a){return Ea(a)&&!Sa(a)},Ta=function(a){var o,r=a&&ve(a),s=(o=r)===null||o===void 0?void 0:o.host,d=!1;if(r&&r!==a){var c,b,g;for(d=!!((c=s)!==null&&c!==void 0&&(b=c.ownerDocument)!==null&&b!==void 0&&b.contains(s)||a!=null&&(g=a.ownerDocument)!==null&&g!==void 0&&g.contains(a));!d&&s;){var w,T,N;r=ve(s),s=(w=r)===null||w===void 0?void 0:w.host,d=!!((T=s)!==null&&T!==void 0&&(N=T.ownerDocument)!==null&&N!==void 0&&N.contains(s))}}return d},Je=function(a){var o=a.getBoundingClientRect(),r=o.width,s=o.height;return r===0&&s===0},Ba=function(a,o){var r=o.displayCheck,s=o.getShadowRoot;if(getComputedStyle(a).visibility==="hidden")return!0;var d=Q.call(a,"details>summary:first-of-type"),c=d?a.parentElement:a;if(Q.call(c,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof s=="function"){for(var b=a;a;){var g=a.parentElement,w=ve(a);if(g&&!g.shadowRoot&&s(g)===!0)return Je(a);a.assignedSlot?a=a.assignedSlot:!g&&w!==a.ownerDocument?a=w.host:a=g}a=b}if(Ta(a))return!a.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return Je(a);return!1},_a=function(a){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(a.tagName))for(var o=a.parentElement;o;){if(o.tagName==="FIELDSET"&&o.disabled){for(var r=0;r<o.children.length;r++){var s=o.children.item(r);if(s.tagName==="LEGEND")return Q.call(o,"fieldset[disabled] *")?!0:!s.contains(a)}return!0}o=o.parentElement}return!1},ke=function(a,o){return!(o.disabled||ye(o)||ka(o)||Ba(o,a)||wa(o)||_a(o))},$e=function(a,o){return!(Na(o)||ee(o)<0||!ke(a,o))},Ia=function(a){var o=parseInt(a.getAttribute("tabindex"),10);return!!(isNaN(o)||o>=0)},Oa=function n(a){var o=[],r=[];return a.forEach(function(s,d){var c=!!s.scopeParent,b=c?s.scopeParent:s,g=va(b,c),w=c?n(s.candidates):b;g===0?c?o.push.apply(o,w):o.push(b):r.push({documentOrder:d,tabIndex:g,item:s,isScope:c,content:w})}),r.sort(ya).reduce(function(s,d){return d.isScope?s.push.apply(s,d.content):s.push(d.content),s},[]).concat(o)},$a=function(a,o){o=o||{};var r;return o.getShadowRoot?r=qe([a],o.includeContainer,{filter:$e.bind(null,o),flatten:!1,getShadowRoot:o.getShadowRoot,shadowRootFilter:Ia}):r=Ge(a,o.includeContainer,$e.bind(null,o)),Oa(r)},Aa=function(a,o){o=o||{};var r;return o.getShadowRoot?r=qe([a],o.includeContainer,{filter:ke.bind(null,o),flatten:!0,getShadowRoot:o.getShadowRoot}):r=Ge(a,o.includeContainer,ke.bind(null,o)),r},oe=function(a,o){if(o=o||{},!a)throw new Error("No node provided");return Q.call(a,ge)===!1?!1:$e(o,a)},xa=Ue.concat("iframe").join(","),Ae=function(a,o){if(o=o||{},!a)throw new Error("No node provided");return Q.call(a,xa)===!1?!1:ke(o,a)};/*!
5
- * focus-trap 7.5.4
4
+ */var qe=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],ge=qe.join(","),Xe=typeof Element>"u",te=Xe?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ve=!Xe&&Element.prototype.getRootNode?function(n){var a;return n==null||(a=n.getRootNode)===null||a===void 0?void 0:a.call(n)}:function(n){return n==null?void 0:n.ownerDocument},ye=function n(a,r){var o;r===void 0&&(r=!0);var l=a==null||(o=a.getAttribute)===null||o===void 0?void 0:o.call(a,"inert"),u=l===""||l==="true",c=u||r&&a&&n(a.parentNode);return c},Ca=function(a){var r,o=a==null||(r=a.getAttribute)===null||r===void 0?void 0:r.call(a,"contenteditable");return o===""||o==="true"},Ye=function(a,r,o){if(ye(a))return[];var l=Array.prototype.slice.apply(a.querySelectorAll(ge));return r&&te.call(a,ge)&&l.unshift(a),l=l.filter(o),l},Je=function n(a,r,o){for(var l=[],u=Array.from(a);u.length;){var c=u.shift();if(!ye(c,!1))if(c.tagName==="SLOT"){var p=c.assignedElements(),g=p.length?p:c.children,w=n(g,!0,o);o.flatten?l.push.apply(l,w):l.push({scopeParent:c,candidates:w})}else{var N=te.call(c,ge);N&&o.filter(c)&&(r||!a.includes(c))&&l.push(c);var E=c.shadowRoot||typeof o.getShadowRoot=="function"&&o.getShadowRoot(c),B=!ye(E,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(c));if(E&&B){var I=n(E===!0?c.children:E.children,!0,o);o.flatten?l.push.apply(l,I):l.push({scopeParent:c,candidates:I})}else u.unshift.apply(u,c.children)}}return l},Qe=function(a){return!isNaN(parseInt(a.getAttribute("tabindex"),10))},ae=function(a){if(!a)throw new Error("No node provided");return a.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(a.tagName)||Ca(a))&&!Qe(a)?0:a.tabIndex},_a=function(a,r){var o=ae(a);return o<0&&r&&!Qe(a)?0:o},Ea=function(a,r){return a.tabIndex===r.tabIndex?a.documentOrder-r.documentOrder:a.tabIndex-r.tabIndex},et=function(a){return a.tagName==="INPUT"},Na=function(a){return et(a)&&a.type==="hidden"},Ta=function(a){var r=a.tagName==="DETAILS"&&Array.prototype.slice.apply(a.children).some(function(o){return o.tagName==="SUMMARY"});return r},Ba=function(a,r){for(var o=0;o<a.length;o++)if(a[o].checked&&a[o].form===r)return a[o]},Ia=function(a){if(!a.name)return!0;var r=a.form||ve(a),o=function(p){return r.querySelectorAll('input[type="radio"][name="'+p+'"]')},l;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")l=o(window.CSS.escape(a.name));else try{l=o(a.name)}catch(c){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",c.message),!1}var u=Ba(l,a.form);return!u||u===a},$a=function(a){return et(a)&&a.type==="radio"},Oa=function(a){return $a(a)&&!Ia(a)},Aa=function(a){var r,o=a&&ve(a),l=(r=o)===null||r===void 0?void 0:r.host,u=!1;if(o&&o!==a){var c,p,g;for(u=!!((c=l)!==null&&c!==void 0&&(p=c.ownerDocument)!==null&&p!==void 0&&p.contains(l)||a!=null&&(g=a.ownerDocument)!==null&&g!==void 0&&g.contains(a));!u&&l;){var w,N,E;o=ve(l),l=(w=o)===null||w===void 0?void 0:w.host,u=!!((N=l)!==null&&N!==void 0&&(E=N.ownerDocument)!==null&&E!==void 0&&E.contains(l))}}return u},tt=function(a){var r=a.getBoundingClientRect(),o=r.width,l=r.height;return o===0&&l===0},xa=function(a,r){var o=r.displayCheck,l=r.getShadowRoot;if(getComputedStyle(a).visibility==="hidden")return!0;var u=te.call(a,"details>summary:first-of-type"),c=u?a.parentElement:a;if(te.call(c,"details:not([open]) *"))return!0;if(!o||o==="full"||o==="legacy-full"){if(typeof l=="function"){for(var p=a;a;){var g=a.parentElement,w=ve(a);if(g&&!g.shadowRoot&&l(g)===!0)return tt(a);a.assignedSlot?a=a.assignedSlot:!g&&w!==a.ownerDocument?a=w.host:a=g}a=p}if(Aa(a))return!a.getClientRects().length;if(o!=="legacy-full")return!0}else if(o==="non-zero-area")return tt(a);return!1},Fa=function(a){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(a.tagName))for(var r=a.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var o=0;o<r.children.length;o++){var l=r.children.item(o);if(l.tagName==="LEGEND")return te.call(r,"fieldset[disabled] *")?!0:!l.contains(a)}return!0}r=r.parentElement}return!1},ke=function(a,r){return!(r.disabled||ye(r)||Na(r)||xa(r,a)||Ta(r)||Fa(r))},Ae=function(a,r){return!(Oa(r)||ae(r)<0||!ke(a,r))},Da=function(a){var r=parseInt(a.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},Va=function n(a){var r=[],o=[];return a.forEach(function(l,u){var c=!!l.scopeParent,p=c?l.scopeParent:l,g=_a(p,c),w=c?n(l.candidates):p;g===0?c?r.push.apply(r,w):r.push(p):o.push({documentOrder:u,tabIndex:g,item:l,isScope:c,content:w})}),o.sort(Ea).reduce(function(l,u){return u.isScope?l.push.apply(l,u.content):l.push(u.content),l},[]).concat(r)},Ra=function(a,r){r=r||{};var o;return r.getShadowRoot?o=Je([a],r.includeContainer,{filter:Ae.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:Da}):o=Ye(a,r.includeContainer,Ae.bind(null,r)),Va(o)},La=function(a,r){r=r||{};var o;return r.getShadowRoot?o=Je([a],r.includeContainer,{filter:ke.bind(null,r),flatten:!0,getShadowRoot:r.getShadowRoot}):o=Ye(a,r.includeContainer,ke.bind(null,r)),o},ie=function(a,r){if(r=r||{},!a)throw new Error("No node provided");return te.call(a,ge)===!1?!1:Ae(r,a)},Ma=qe.concat("iframe").join(","),xe=function(a,r){if(r=r||{},!a)throw new Error("No node provided");return te.call(a,Ma)===!1?!1:ke(r,a)};/*!
5
+ * focus-trap 7.6.0
6
6
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
7
- */function Qe(n,a){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);a&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(n,s).enumerable})),o.push.apply(o,r)}return o}function et(n){for(var a=1;a<arguments.length;a++){var o=arguments[a]!=null?arguments[a]:{};a%2?Qe(Object(o),!0).forEach(function(r){Fa(n,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):Qe(Object(o)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(o,r))})}return n}function Fa(n,a,o){return a=Va(a),a in n?Object.defineProperty(n,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[a]=o,n}function Da(n,a){if(typeof n!="object"||n===null)return n;var o=n[Symbol.toPrimitive];if(o!==void 0){var r=o.call(n,a||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(n)}function Va(n){var a=Da(n,"string");return typeof a=="symbol"?a:String(a)}var tt={activateTrap:function(a,o){if(a.length>0){var r=a[a.length-1];r!==o&&r.pause()}var s=a.indexOf(o);s===-1||a.splice(s,1),a.push(o)},deactivateTrap:function(a,o){var r=a.indexOf(o);r!==-1&&a.splice(r,1),a.length>0&&a[a.length-1].unpause()}},Ra=function(a){return a.tagName&&a.tagName.toLowerCase()==="input"&&typeof a.select=="function"},La=function(a){return(a==null?void 0:a.key)==="Escape"||(a==null?void 0:a.key)==="Esc"||(a==null?void 0:a.keyCode)===27},de=function(a){return(a==null?void 0:a.key)==="Tab"||(a==null?void 0:a.keyCode)===9},Ma=function(a){return de(a)&&!a.shiftKey},Pa=function(a){return de(a)&&a.shiftKey},at=function(a){return setTimeout(a,0)},nt=function(a,o){var r=-1;return a.every(function(s,d){return o(s)?(r=d,!1):!0}),r},ue=function(a){for(var o=arguments.length,r=new Array(o>1?o-1:0),s=1;s<o;s++)r[s-1]=arguments[s];return typeof a=="function"?a.apply(void 0,r):a},we=function(a){return a.target.shadowRoot&&typeof a.composedPath=="function"?a.composedPath()[0]:a.target},ja=[],Za=function(a,o){var r=(o==null?void 0:o.document)||document,s=(o==null?void 0:o.trapStack)||ja,d=et({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Ma,isKeyBackward:Pa},o),c={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},b,g=function(f,u,m){return f&&f[u]!==void 0?f[u]:d[m||u]},w=function(f,u){var m=typeof(u==null?void 0:u.composedPath)=="function"?u.composedPath():void 0;return c.containerGroups.findIndex(function(y){var p=y.container,S=y.tabbableNodes;return p.contains(f)||(m==null?void 0:m.includes(p))||S.find(function(B){return B===f})})},T=function(f){var u=d[f];if(typeof u=="function"){for(var m=arguments.length,y=new Array(m>1?m-1:0),p=1;p<m;p++)y[p-1]=arguments[p];u=u.apply(void 0,y)}if(u===!0&&(u=void 0),!u){if(u===void 0||u===!1)return u;throw new Error("`".concat(f,"` was specified but was not a node, or did not return a node"))}var S=u;if(typeof u=="string"&&(S=r.querySelector(u),!S))throw new Error("`".concat(f,"` as selector refers to no known node"));return S},N=function(){var f=T("initialFocus");if(f===!1)return!1;if(f===void 0||!Ae(f,d.tabbableOptions))if(w(r.activeElement)>=0)f=r.activeElement;else{var u=c.tabbableGroups[0],m=u&&u.firstTabbableNode;f=m||T("fallbackFocus")}if(!f)throw new Error("Your focus-trap needs to have at least one focusable element");return f},_=function(){if(c.containerGroups=c.containers.map(function(f){var u=$a(f,d.tabbableOptions),m=Aa(f,d.tabbableOptions),y=u.length>0?u[0]:void 0,p=u.length>0?u[u.length-1]:void 0,S=m.find(function(v){return oe(v)}),B=m.slice().reverse().find(function(v){return oe(v)}),I=!!u.find(function(v){return ee(v)>0});return{container:f,tabbableNodes:u,focusableNodes:m,posTabIndexesFound:I,firstTabbableNode:y,lastTabbableNode:p,firstDomTabbableNode:S,lastDomTabbableNode:B,nextTabbableNode:function(W){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,A=u.indexOf(W);return A<0?te?m.slice(m.indexOf(W)+1).find(function(Y){return oe(Y)}):m.slice(0,m.indexOf(W)).reverse().find(function(Y){return oe(Y)}):u[A+(te?1:-1)]}}}),c.tabbableGroups=c.containerGroups.filter(function(f){return f.tabbableNodes.length>0}),c.tabbableGroups.length<=0&&!T("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(c.containerGroups.find(function(f){return f.posTabIndexesFound})&&c.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},x=function C(f){var u=f.activeElement;if(u)return u.shadowRoot&&u.shadowRoot.activeElement!==null?C(u.shadowRoot):u},k=function C(f){if(f!==!1&&f!==x(document)){if(!f||!f.focus){C(N());return}f.focus({preventScroll:!!d.preventScroll}),c.mostRecentlyFocusedNode=f,Ra(f)&&f.select()}},F=function(f){var u=T("setReturnFocus",f);return u||(u===!1?!1:f)},Z=function(f){var u=f.target,m=f.event,y=f.isBackward,p=y===void 0?!1:y;u=u||we(m),_();var S=null;if(c.tabbableGroups.length>0){var B=w(u,m),I=B>=0?c.containerGroups[B]:void 0;if(B<0)p?S=c.tabbableGroups[c.tabbableGroups.length-1].lastTabbableNode:S=c.tabbableGroups[0].firstTabbableNode;else if(p){var v=nt(c.tabbableGroups,function(me){var be=me.firstTabbableNode;return u===be});if(v<0&&(I.container===u||Ae(u,d.tabbableOptions)&&!oe(u,d.tabbableOptions)&&!I.nextTabbableNode(u,!1))&&(v=B),v>=0){var W=v===0?c.tabbableGroups.length-1:v-1,te=c.tabbableGroups[W];S=ee(u)>=0?te.lastTabbableNode:te.lastDomTabbableNode}else de(m)||(S=I.nextTabbableNode(u,!1))}else{var A=nt(c.tabbableGroups,function(me){var be=me.lastTabbableNode;return u===be});if(A<0&&(I.container===u||Ae(u,d.tabbableOptions)&&!oe(u,d.tabbableOptions)&&!I.nextTabbableNode(u))&&(A=B),A>=0){var Y=A===c.tabbableGroups.length-1?0:A+1,fe=c.tabbableGroups[Y];S=ee(u)>=0?fe.firstTabbableNode:fe.firstDomTabbableNode}else de(m)||(S=I.nextTabbableNode(u))}}else S=T("fallbackFocus");return S},$=function(f){var u=we(f);if(!(w(u,f)>=0)){if(ue(d.clickOutsideDeactivates,f)){b.deactivate({returnFocus:d.returnFocusOnDeactivate});return}ue(d.allowOutsideClick,f)||f.preventDefault()}},U=function(f){var u=we(f),m=w(u,f)>=0;if(m||u instanceof Document)m&&(c.mostRecentlyFocusedNode=u);else{f.stopImmediatePropagation();var y,p=!0;if(c.mostRecentlyFocusedNode)if(ee(c.mostRecentlyFocusedNode)>0){var S=w(c.mostRecentlyFocusedNode),B=c.containerGroups[S].tabbableNodes;if(B.length>0){var I=B.findIndex(function(v){return v===c.mostRecentlyFocusedNode});I>=0&&(d.isKeyForward(c.recentNavEvent)?I+1<B.length&&(y=B[I+1],p=!1):I-1>=0&&(y=B[I-1],p=!1))}}else c.containerGroups.some(function(v){return v.tabbableNodes.some(function(W){return ee(W)>0})})||(p=!1);else p=!1;p&&(y=Z({target:c.mostRecentlyFocusedNode,isBackward:d.isKeyBackward(c.recentNavEvent)})),k(y||c.mostRecentlyFocusedNode||N())}c.recentNavEvent=void 0},X=function(f){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;c.recentNavEvent=f;var m=Z({event:f,isBackward:u});m&&(de(f)&&f.preventDefault(),k(m))},H=function(f){if(La(f)&&ue(d.escapeDeactivates,f)!==!1){f.preventDefault(),b.deactivate();return}(d.isKeyForward(f)||d.isKeyBackward(f))&&X(f,d.isKeyBackward(f))},z=function(f){var u=we(f);w(u,f)>=0||ue(d.clickOutsideDeactivates,f)||ue(d.allowOutsideClick,f)||(f.preventDefault(),f.stopImmediatePropagation())},V=function(){if(c.active)return tt.activateTrap(s,b),c.delayInitialFocusTimer=d.delayInitialFocus?at(function(){k(N())}):k(N()),r.addEventListener("focusin",U,!0),r.addEventListener("mousedown",$,{capture:!0,passive:!1}),r.addEventListener("touchstart",$,{capture:!0,passive:!1}),r.addEventListener("click",z,{capture:!0,passive:!1}),r.addEventListener("keydown",H,{capture:!0,passive:!1}),b},j=function(){if(c.active)return r.removeEventListener("focusin",U,!0),r.removeEventListener("mousedown",$,!0),r.removeEventListener("touchstart",$,!0),r.removeEventListener("click",z,!0),r.removeEventListener("keydown",H,!0),b},E=function(f){var u=f.some(function(m){var y=Array.from(m.removedNodes);return y.some(function(p){return p===c.mostRecentlyFocusedNode})});u&&k(N())},O=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(E):void 0,R=function(){O&&(O.disconnect(),c.active&&!c.paused&&c.containers.map(function(f){O.observe(f,{subtree:!0,childList:!0})}))};return b={get active(){return c.active},get paused(){return c.paused},activate:function(f){if(c.active)return this;var u=g(f,"onActivate"),m=g(f,"onPostActivate"),y=g(f,"checkCanFocusTrap");y||_(),c.active=!0,c.paused=!1,c.nodeFocusedBeforeActivation=r.activeElement,u==null||u();var p=function(){y&&_(),V(),R(),m==null||m()};return y?(y(c.containers.concat()).then(p,p),this):(p(),this)},deactivate:function(f){if(!c.active)return this;var u=et({onDeactivate:d.onDeactivate,onPostDeactivate:d.onPostDeactivate,checkCanReturnFocus:d.checkCanReturnFocus},f);clearTimeout(c.delayInitialFocusTimer),c.delayInitialFocusTimer=void 0,j(),c.active=!1,c.paused=!1,R(),tt.deactivateTrap(s,b);var m=g(u,"onDeactivate"),y=g(u,"onPostDeactivate"),p=g(u,"checkCanReturnFocus"),S=g(u,"returnFocus","returnFocusOnDeactivate");m==null||m();var B=function(){at(function(){S&&k(F(c.nodeFocusedBeforeActivation)),y==null||y()})};return S&&p?(p(F(c.nodeFocusedBeforeActivation)).then(B,B),this):(B(),this)},pause:function(f){if(c.paused||!c.active)return this;var u=g(f,"onPause"),m=g(f,"onPostPause");return c.paused=!0,u==null||u(),j(),R(),m==null||m(),this},unpause:function(f){if(!c.paused||!c.active)return this;var u=g(f,"onUnpause"),m=g(f,"onPostUnpause");return c.paused=!1,u==null||u(),_(),V(),R(),m==null||m(),this},updateContainerElements:function(f){var u=[].concat(f).filter(Boolean);return c.containers=u.map(function(m){return typeof m=="string"?r.querySelector(m):m}),c.active&&_(),R(),this}},b.updateContainerElements(a),b};/*!
7
+ */function Pa(n,a,r){return(a=Za(a))in n?Object.defineProperty(n,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[a]=r,n}function at(n,a){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),r.push.apply(r,o)}return r}function nt(n){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?at(Object(r),!0).forEach(function(o){Pa(n,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(r,o))})}return n}function ja(n,a){if(typeof n!="object"||!n)return n;var r=n[Symbol.toPrimitive];if(r!==void 0){var o=r.call(n,a||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(n)}function Za(n){var a=ja(n,"string");return typeof a=="symbol"?a:a+""}var ot={activateTrap:function(a,r){if(a.length>0){var o=a[a.length-1];o!==r&&o.pause()}var l=a.indexOf(r);l===-1||a.splice(l,1),a.push(r)},deactivateTrap:function(a,r){var o=a.indexOf(r);o!==-1&&a.splice(o,1),a.length>0&&a[a.length-1].unpause()}},Ka=function(a){return a.tagName&&a.tagName.toLowerCase()==="input"&&typeof a.select=="function"},Ha=function(a){return(a==null?void 0:a.key)==="Escape"||(a==null?void 0:a.key)==="Esc"||(a==null?void 0:a.keyCode)===27},ue=function(a){return(a==null?void 0:a.key)==="Tab"||(a==null?void 0:a.keyCode)===9},za=function(a){return ue(a)&&!a.shiftKey},Ua=function(a){return ue(a)&&a.shiftKey},rt=function(a){return setTimeout(a,0)},it=function(a,r){var o=-1;return a.every(function(l,u){return r(l)?(o=u,!1):!0}),o},fe=function(a){for(var r=arguments.length,o=new Array(r>1?r-1:0),l=1;l<r;l++)o[l-1]=arguments[l];return typeof a=="function"?a.apply(void 0,o):a},we=function(a){return a.target.shadowRoot&&typeof a.composedPath=="function"?a.composedPath()[0]:a.target},Wa=[],Ga=function(a,r){var o=(r==null?void 0:r.document)||document,l=(r==null?void 0:r.trapStack)||Wa,u=nt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:za,isKeyBackward:Ua},r),c={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},p,g=function(f,s,m){return f&&f[s]!==void 0?f[s]:u[m||s]},w=function(f,s){var m=typeof(s==null?void 0:s.composedPath)=="function"?s.composedPath():void 0;return c.containerGroups.findIndex(function(b){var k=b.container,_=b.tabbableNodes;return k.contains(f)||(m==null?void 0:m.includes(k))||_.find(function(T){return T===f})})},N=function(f){var s=u[f];if(typeof s=="function"){for(var m=arguments.length,b=new Array(m>1?m-1:0),k=1;k<m;k++)b[k-1]=arguments[k];s=s.apply(void 0,b)}if(s===!0&&(s=void 0),!s){if(s===void 0||s===!1)return s;throw new Error("`".concat(f,"` was specified but was not a node, or did not return a node"))}var _=s;if(typeof s=="string"&&(_=o.querySelector(s),!_))throw new Error("`".concat(f,"` as selector refers to no known node"));return _},E=function(){var f=N("initialFocus");if(f===!1)return!1;if(f===void 0||!xe(f,u.tabbableOptions))if(w(o.activeElement)>=0)f=o.activeElement;else{var s=c.tabbableGroups[0],m=s&&s.firstTabbableNode;f=m||N("fallbackFocus")}if(!f)throw new Error("Your focus-trap needs to have at least one focusable element");return f},B=function(){if(c.containerGroups=c.containers.map(function(f){var s=Ra(f,u.tabbableOptions),m=La(f,u.tabbableOptions),b=s.length>0?s[0]:void 0,k=s.length>0?s[s.length-1]:void 0,_=m.find(function(O){return ie(O)}),T=m.slice().reverse().find(function(O){return ie(O)}),v=!!s.find(function(O){return ae(O)>0});return{container:f,tabbableNodes:s,focusableNodes:m,posTabIndexesFound:v,firstTabbableNode:b,lastTabbableNode:k,firstDomTabbableNode:_,lastDomTabbableNode:T,nextTabbableNode:function(q){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,W=s.indexOf(q);return W<0?L?m.slice(m.indexOf(q)+1).find(function(Q){return ie(Q)}):m.slice(0,m.indexOf(q)).reverse().find(function(Q){return ie(Q)}):s[W+(L?1:-1)]}}}),c.tabbableGroups=c.containerGroups.filter(function(f){return f.tabbableNodes.length>0}),c.tabbableGroups.length<=0&&!N("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(c.containerGroups.find(function(f){return f.posTabIndexesFound})&&c.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},I=function(f){var s=f.activeElement;if(s)return s.shadowRoot&&s.shadowRoot.activeElement!==null?I(s.shadowRoot):s},y=function(f){if(f!==!1&&f!==I(document)){if(!f||!f.focus){y(E());return}f.focus({preventScroll:!!u.preventScroll}),c.mostRecentlyFocusedNode=f,Ka(f)&&f.select()}},A=function(f){var s=N("setReturnFocus",f);return s||(s===!1?!1:f)},K=function(f){var s=f.target,m=f.event,b=f.isBackward,k=b===void 0?!1:b;s=s||we(m),B();var _=null;if(c.tabbableGroups.length>0){var T=w(s,m),v=T>=0?c.containerGroups[T]:void 0;if(T<0)k?_=c.tabbableGroups[c.tabbableGroups.length-1].lastTabbableNode:_=c.tabbableGroups[0].firstTabbableNode;else if(k){var O=it(c.tabbableGroups,function(me){var pe=me.firstTabbableNode;return s===pe});if(O<0&&(v.container===s||xe(s,u.tabbableOptions)&&!ie(s,u.tabbableOptions)&&!v.nextTabbableNode(s,!1))&&(O=T),O>=0){var q=O===0?c.tabbableGroups.length-1:O-1,L=c.tabbableGroups[q];_=ae(s)>=0?L.lastTabbableNode:L.lastDomTabbableNode}else ue(m)||(_=v.nextTabbableNode(s,!1))}else{var W=it(c.tabbableGroups,function(me){var pe=me.lastTabbableNode;return s===pe});if(W<0&&(v.container===s||xe(s,u.tabbableOptions)&&!ie(s,u.tabbableOptions)&&!v.nextTabbableNode(s))&&(W=T),W>=0){var Q=W===c.tabbableGroups.length-1?0:W+1,_e=c.tabbableGroups[Q];_=ae(s)>=0?_e.firstTabbableNode:_e.firstDomTabbableNode}else ue(m)||(_=v.nextTabbableNode(s))}}else _=N("fallbackFocus");return _},$=function(f){var s=we(f);if(!(w(s,f)>=0)){if(fe(u.clickOutsideDeactivates,f)){p.deactivate({returnFocus:u.returnFocusOnDeactivate});return}fe(u.allowOutsideClick,f)||f.preventDefault()}},G=function(f){var s=we(f),m=w(s,f)>=0;if(m||s instanceof Document)m&&(c.mostRecentlyFocusedNode=s);else{f.stopImmediatePropagation();var b,k=!0;if(c.mostRecentlyFocusedNode)if(ae(c.mostRecentlyFocusedNode)>0){var _=w(c.mostRecentlyFocusedNode),T=c.containerGroups[_].tabbableNodes;if(T.length>0){var v=T.findIndex(function(O){return O===c.mostRecentlyFocusedNode});v>=0&&(u.isKeyForward(c.recentNavEvent)?v+1<T.length&&(b=T[v+1],k=!1):v-1>=0&&(b=T[v-1],k=!1))}}else c.containerGroups.some(function(O){return O.tabbableNodes.some(function(q){return ae(q)>0})})||(k=!1);else k=!1;k&&(b=K({target:c.mostRecentlyFocusedNode,isBackward:u.isKeyBackward(c.recentNavEvent)})),y(b||c.mostRecentlyFocusedNode||E())}c.recentNavEvent=void 0},J=function(f){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;c.recentNavEvent=f;var m=K({event:f,isBackward:s});m&&(ue(f)&&f.preventDefault(),y(m))},z=function(f){(u.isKeyForward(f)||u.isKeyBackward(f))&&J(f,u.isKeyBackward(f))},U=function(f){Ha(f)&&fe(u.escapeDeactivates,f)!==!1&&(f.preventDefault(),p.deactivate())},F=function(f){var s=we(f);w(s,f)>=0||fe(u.clickOutsideDeactivates,f)||fe(u.allowOutsideClick,f)||(f.preventDefault(),f.stopImmediatePropagation())},Z=function(){if(c.active)return ot.activateTrap(l,p),c.delayInitialFocusTimer=u.delayInitialFocus?rt(function(){y(E())}):y(E()),o.addEventListener("focusin",G,!0),o.addEventListener("mousedown",$,{capture:!0,passive:!1}),o.addEventListener("touchstart",$,{capture:!0,passive:!1}),o.addEventListener("click",F,{capture:!0,passive:!1}),o.addEventListener("keydown",z,{capture:!0,passive:!1}),o.addEventListener("keydown",U),p},S=function(){if(c.active)return o.removeEventListener("focusin",G,!0),o.removeEventListener("mousedown",$,!0),o.removeEventListener("touchstart",$,!0),o.removeEventListener("click",F,!0),o.removeEventListener("keydown",z,!0),o.removeEventListener("keydown",U),p},V=function(f){var s=f.some(function(m){var b=Array.from(m.removedNodes);return b.some(function(k){return k===c.mostRecentlyFocusedNode})});s&&y(E())},M=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(V):void 0,R=function(){M&&(M.disconnect(),c.active&&!c.paused&&c.containers.map(function(f){M.observe(f,{subtree:!0,childList:!0})}))};return p={get active(){return c.active},get paused(){return c.paused},activate:function(f){if(c.active)return this;var s=g(f,"onActivate"),m=g(f,"onPostActivate"),b=g(f,"checkCanFocusTrap");b||B(),c.active=!0,c.paused=!1,c.nodeFocusedBeforeActivation=o.activeElement,s==null||s();var k=function(){b&&B(),Z(),R(),m==null||m()};return b?(b(c.containers.concat()).then(k,k),this):(k(),this)},deactivate:function(f){if(!c.active)return this;var s=nt({onDeactivate:u.onDeactivate,onPostDeactivate:u.onPostDeactivate,checkCanReturnFocus:u.checkCanReturnFocus},f);clearTimeout(c.delayInitialFocusTimer),c.delayInitialFocusTimer=void 0,S(),c.active=!1,c.paused=!1,R(),ot.deactivateTrap(l,p);var m=g(s,"onDeactivate"),b=g(s,"onPostDeactivate"),k=g(s,"checkCanReturnFocus"),_=g(s,"returnFocus","returnFocusOnDeactivate");m==null||m();var T=function(){rt(function(){_&&y(A(c.nodeFocusedBeforeActivation)),b==null||b()})};return _&&k?(k(A(c.nodeFocusedBeforeActivation)).then(T,T),this):(T(),this)},pause:function(f){if(c.paused||!c.active)return this;var s=g(f,"onPause"),m=g(f,"onPostPause");return c.paused=!0,s==null||s(),S(),R(),m==null||m(),this},unpause:function(f){if(!c.paused||!c.active)return this;var s=g(f,"onUnpause"),m=g(f,"onPostUnpause");return c.paused=!1,s==null||s(),B(),Z(),R(),m==null||m(),this},updateContainerElements:function(f){var s=[].concat(f).filter(Boolean);return c.containers=s.map(function(m){return typeof m=="string"?o.querySelector(m):m}),c.active&&B(),R(),this}},p.updateContainerElements(a),p};/*!
8
8
  * focus-trap-vue v4.0.2
9
9
  * (c) 2023 Eduardo San Martin Morote
10
10
  * @license MIT
11
- */function Gr(n){return n}const Ka={escapeDeactivates:{type:Boolean,default:!0},returnFocusOnDeactivate:{type:Boolean,default:!0},allowOutsideClick:{type:[Boolean,Function],default:!0},clickOutsideDeactivates:[Boolean,Function],initialFocus:[String,Function,Boolean],fallbackFocus:[String,Function],checkCanFocusTrap:Function,checkCanReturnFocus:Function,delayInitialFocus:{type:Boolean,default:!0},document:Object,preventScroll:Boolean,setReturnFocus:[Object,String,Boolean,Function],tabbableOptions:Object},Ha=e.defineComponent({props:Object.assign({active:{type:Boolean,default:!0}},Ka),emits:["update:active","activate","postActivate","deactivate","postDeactivate"],render(){return this.renderImpl()},setup(n,{slots:a,emit:o}){let r;const s=e.ref(null),d=e.computed(()=>{const b=s.value;return b&&(b instanceof HTMLElement?b:b.$el)});function c(){return r||(r=Za(d.value,{escapeDeactivates:n.escapeDeactivates,allowOutsideClick:n.allowOutsideClick,returnFocusOnDeactivate:n.returnFocusOnDeactivate,clickOutsideDeactivates:n.clickOutsideDeactivates,onActivate:()=>{o("update:active",!0),o("activate")},onDeactivate:()=>{o("update:active",!1),o("deactivate")},onPostActivate:()=>o("postActivate"),onPostDeactivate:()=>o("postDeactivate"),initialFocus:n.initialFocus,fallbackFocus:n.fallbackFocus,tabbableOptions:n.tabbableOptions,delayInitialFocus:n.delayInitialFocus,preventScroll:n.preventScroll}))}return e.onMounted(()=>{e.watch(()=>n.active,b=>{b&&d.value?c().activate():r&&(r.deactivate(),(!d.value||d.value.nodeType===Node.COMMENT_NODE)&&(r=null))},{immediate:!0,flush:"post"})}),e.onUnmounted(()=>{r&&r.deactivate(),r=null}),{activate(){c().activate()},deactivate(){r&&r.deactivate()},renderImpl(){if(!a.default)return null;const b=a.default().filter(w=>w.type!==e.Comment);return!b||!b.length||b.length>1?(console.error("[focus-trap-vue]: FocusTrap requires exactly one child."),b):e.cloneVNode(b[0],{ref:s})}}}});function rt(){return{debounce:(a,o)=>{let r;return(...s)=>{clearTimeout(r),r=window==null?void 0:window.setTimeout(()=>{a(...s)},o)}}}}var Ce=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function za(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Se={exports:{}};Se.exports,function(n,a){var o=200,r="__lodash_hash_undefined__",s=9007199254740991,d="[object Arguments]",c="[object Array]",b="[object Boolean]",g="[object Date]",w="[object Error]",T="[object Function]",N="[object GeneratorFunction]",_="[object Map]",x="[object Number]",k="[object Object]",F="[object Promise]",Z="[object RegExp]",$="[object Set]",U="[object String]",X="[object Symbol]",H="[object WeakMap]",z="[object ArrayBuffer]",V="[object DataView]",j="[object Float32Array]",E="[object Float64Array]",O="[object Int8Array]",R="[object Int16Array]",C="[object Int32Array]",f="[object Uint8Array]",u="[object Uint8ClampedArray]",m="[object Uint16Array]",y="[object Uint32Array]",p=/[\\^$.*+?()[\]{}|]/g,S=/\w*$/,B=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,v={};v[d]=v[c]=v[z]=v[V]=v[b]=v[g]=v[j]=v[E]=v[O]=v[R]=v[C]=v[_]=v[x]=v[k]=v[Z]=v[$]=v[U]=v[X]=v[f]=v[u]=v[m]=v[y]=!0,v[w]=v[T]=v[H]=!1;var W=typeof Ce=="object"&&Ce&&Ce.Object===Object&&Ce,te=typeof self=="object"&&self&&self.Object===Object&&self,A=W||te||Function("return this")(),Y=a&&!a.nodeType&&a,fe=Y&&!0&&n&&!n.nodeType&&n,me=fe&&fe.exports===Y;function be(t,i){return t.set(i[0],i[1]),t}function Bn(t,i){return t.add(i),t}function _n(t,i){for(var l=-1,h=t?t.length:0;++l<h&&i(t[l],l,t)!==!1;);return t}function In(t,i){for(var l=-1,h=i.length,D=t.length;++l<h;)t[D+l]=i[l];return t}function st(t,i,l,h){for(var D=-1,M=t?t.length:0;++D<M;)l=i(l,t[D],D,t);return l}function On(t,i){for(var l=-1,h=Array(t);++l<t;)h[l]=i(l);return h}function $n(t,i){return t==null?void 0:t[i]}function lt(t){var i=!1;if(t!=null&&typeof t.toString!="function")try{i=!!(t+"")}catch{}return i}function dt(t){var i=-1,l=Array(t.size);return t.forEach(function(h,D){l[++i]=[D,h]}),l}function xe(t,i){return function(l){return t(i(l))}}function ut(t){var i=-1,l=Array(t.size);return t.forEach(function(h){l[++i]=h}),l}var An=Array.prototype,xn=Function.prototype,Ee=Object.prototype,Fe=A["__core-js_shared__"],ft=function(){var t=/[^.]+$/.exec(Fe&&Fe.keys&&Fe.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),mt=xn.toString,J=Ee.hasOwnProperty,Ne=Ee.toString,Fn=RegExp("^"+mt.call(J).replace(p,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bt=me?A.Buffer:void 0,pt=A.Symbol,ht=A.Uint8Array,Dn=xe(Object.getPrototypeOf,Object),Vn=Object.create,Rn=Ee.propertyIsEnumerable,Ln=An.splice,gt=Object.getOwnPropertySymbols,Mn=bt?bt.isBuffer:void 0,Pn=xe(Object.keys,Object),De=se(A,"DataView"),pe=se(A,"Map"),Ve=se(A,"Promise"),Re=se(A,"Set"),Le=se(A,"WeakMap"),he=se(Object,"create"),jn=re(De),Zn=re(pe),Kn=re(Ve),Hn=re(Re),zn=re(Le),vt=pt?pt.prototype:void 0,yt=vt?vt.valueOf:void 0;function ae(t){var i=-1,l=t?t.length:0;for(this.clear();++i<l;){var h=t[i];this.set(h[0],h[1])}}function Un(){this.__data__=he?he(null):{}}function Wn(t){return this.has(t)&&delete this.__data__[t]}function Gn(t){var i=this.__data__;if(he){var l=i[t];return l===r?void 0:l}return J.call(i,t)?i[t]:void 0}function qn(t){var i=this.__data__;return he?i[t]!==void 0:J.call(i,t)}function Xn(t,i){var l=this.__data__;return l[t]=he&&i===void 0?r:i,this}ae.prototype.clear=Un,ae.prototype.delete=Wn,ae.prototype.get=Gn,ae.prototype.has=qn,ae.prototype.set=Xn;function G(t){var i=-1,l=t?t.length:0;for(this.clear();++i<l;){var h=t[i];this.set(h[0],h[1])}}function Yn(){this.__data__=[]}function Jn(t){var i=this.__data__,l=Te(i,t);if(l<0)return!1;var h=i.length-1;return l==h?i.pop():Ln.call(i,l,1),!0}function Qn(t){var i=this.__data__,l=Te(i,t);return l<0?void 0:i[l][1]}function er(t){return Te(this.__data__,t)>-1}function tr(t,i){var l=this.__data__,h=Te(l,t);return h<0?l.push([t,i]):l[h][1]=i,this}G.prototype.clear=Yn,G.prototype.delete=Jn,G.prototype.get=Qn,G.prototype.has=er,G.prototype.set=tr;function ie(t){var i=-1,l=t?t.length:0;for(this.clear();++i<l;){var h=t[i];this.set(h[0],h[1])}}function ar(){this.__data__={hash:new ae,map:new(pe||G),string:new ae}}function nr(t){return Be(this,t).delete(t)}function rr(t){return Be(this,t).get(t)}function or(t){return Be(this,t).has(t)}function ir(t,i){return Be(this,t).set(t,i),this}ie.prototype.clear=ar,ie.prototype.delete=nr,ie.prototype.get=rr,ie.prototype.has=or,ie.prototype.set=ir;function ce(t){this.__data__=new G(t)}function cr(){this.__data__=new G}function sr(t){return this.__data__.delete(t)}function lr(t){return this.__data__.get(t)}function dr(t){return this.__data__.has(t)}function ur(t,i){var l=this.__data__;if(l instanceof G){var h=l.__data__;if(!pe||h.length<o-1)return h.push([t,i]),this;l=this.__data__=new ie(h)}return l.set(t,i),this}ce.prototype.clear=cr,ce.prototype.delete=sr,ce.prototype.get=lr,ce.prototype.has=dr,ce.prototype.set=ur;function fr(t,i){var l=je(t)||Vr(t)?On(t.length,String):[],h=l.length,D=!!h;for(var M in t)J.call(t,M)&&!(D&&(M=="length"||Ar(M,h)))&&l.push(M);return l}function kt(t,i,l){var h=t[i];(!(J.call(t,i)&&Et(h,l))||l===void 0&&!(i in t))&&(t[i]=l)}function Te(t,i){for(var l=t.length;l--;)if(Et(t[l][0],i))return l;return-1}function mr(t,i){return t&&wt(i,Ze(i),t)}function Me(t,i,l,h,D,M,q){var P;if(h&&(P=M?h(t,D,M,q):h(t)),P!==void 0)return P;if(!_e(t))return t;var Bt=je(t);if(Bt){if(P=Ir(t),!i)return Tr(t,P)}else{var le=ne(t),_t=le==T||le==N;if(Lr(t))return yr(t,i);if(le==k||le==d||_t&&!M){if(lt(t))return M?t:{};if(P=Or(_t?{}:t),!i)return Br(t,mr(P,t))}else{if(!v[le])return M?t:{};P=$r(t,le,Me,i)}}q||(q=new ce);var It=q.get(t);if(It)return It;if(q.set(t,P),!Bt)var Ot=l?_r(t):Ze(t);return _n(Ot||t,function(Ke,Ie){Ot&&(Ie=Ke,Ke=t[Ie]),kt(P,Ie,Me(Ke,i,l,h,Ie,t,q))}),P}function br(t){return _e(t)?Vn(t):{}}function pr(t,i,l){var h=i(t);return je(t)?h:In(h,l(t))}function hr(t){return Ne.call(t)}function gr(t){if(!_e(t)||Fr(t))return!1;var i=Tt(t)||lt(t)?Fn:B;return i.test(re(t))}function vr(t){if(!St(t))return Pn(t);var i=[];for(var l in Object(t))J.call(t,l)&&l!="constructor"&&i.push(l);return i}function yr(t,i){if(i)return t.slice();var l=new t.constructor(t.length);return t.copy(l),l}function Pe(t){var i=new t.constructor(t.byteLength);return new ht(i).set(new ht(t)),i}function kr(t,i){var l=i?Pe(t.buffer):t.buffer;return new t.constructor(l,t.byteOffset,t.byteLength)}function wr(t,i,l){var h=i?l(dt(t),!0):dt(t);return st(h,be,new t.constructor)}function Cr(t){var i=new t.constructor(t.source,S.exec(t));return i.lastIndex=t.lastIndex,i}function Sr(t,i,l){var h=i?l(ut(t),!0):ut(t);return st(h,Bn,new t.constructor)}function Er(t){return yt?Object(yt.call(t)):{}}function Nr(t,i){var l=i?Pe(t.buffer):t.buffer;return new t.constructor(l,t.byteOffset,t.length)}function Tr(t,i){var l=-1,h=t.length;for(i||(i=Array(h));++l<h;)i[l]=t[l];return i}function wt(t,i,l,h){l||(l={});for(var D=-1,M=i.length;++D<M;){var q=i[D],P=void 0;kt(l,q,P===void 0?t[q]:P)}return l}function Br(t,i){return wt(t,Ct(t),i)}function _r(t){return pr(t,Ze,Ct)}function Be(t,i){var l=t.__data__;return xr(i)?l[typeof i=="string"?"string":"hash"]:l.map}function se(t,i){var l=$n(t,i);return gr(l)?l:void 0}var Ct=gt?xe(gt,Object):jr,ne=hr;(De&&ne(new De(new ArrayBuffer(1)))!=V||pe&&ne(new pe)!=_||Ve&&ne(Ve.resolve())!=F||Re&&ne(new Re)!=$||Le&&ne(new Le)!=H)&&(ne=function(t){var i=Ne.call(t),l=i==k?t.constructor:void 0,h=l?re(l):void 0;if(h)switch(h){case jn:return V;case Zn:return _;case Kn:return F;case Hn:return $;case zn:return H}return i});function Ir(t){var i=t.length,l=t.constructor(i);return i&&typeof t[0]=="string"&&J.call(t,"index")&&(l.index=t.index,l.input=t.input),l}function Or(t){return typeof t.constructor=="function"&&!St(t)?br(Dn(t)):{}}function $r(t,i,l,h){var D=t.constructor;switch(i){case z:return Pe(t);case b:case g:return new D(+t);case V:return kr(t,h);case j:case E:case O:case R:case C:case f:case u:case m:case y:return Nr(t,h);case _:return wr(t,h,l);case x:case U:return new D(t);case Z:return Cr(t);case $:return Sr(t,h,l);case X:return Er(t)}}function Ar(t,i){return i=i??s,!!i&&(typeof t=="number"||I.test(t))&&t>-1&&t%1==0&&t<i}function xr(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function Fr(t){return!!ft&&ft in t}function St(t){var i=t&&t.constructor,l=typeof i=="function"&&i.prototype||Ee;return t===l}function re(t){if(t!=null){try{return mt.call(t)}catch{}try{return t+""}catch{}}return""}function Dr(t){return Me(t,!0,!0)}function Et(t,i){return t===i||t!==t&&i!==i}function Vr(t){return Rr(t)&&J.call(t,"callee")&&(!Rn.call(t,"callee")||Ne.call(t)==d)}var je=Array.isArray;function Nt(t){return t!=null&&Mr(t.length)&&!Tt(t)}function Rr(t){return Pr(t)&&Nt(t)}var Lr=Mn||Zr;function Tt(t){var i=_e(t)?Ne.call(t):"";return i==T||i==N}function Mr(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=s}function _e(t){var i=typeof t;return!!t&&(i=="object"||i=="function")}function Pr(t){return!!t&&typeof t=="object"}function Ze(t){return Nt(t)?fr(t):vr(t)}function jr(){return[]}function Zr(){return!1}n.exports=Dr}(Se,Se.exports);var Ua=Se.exports;const Wa=za(Ua),Ga={key:0,class:"sidebar-header"},qa={class:"sidebar-content-container"},Xa={key:0,class:"sidebar-top"},Ya={"aria-label":"Main menu"},Ja={key:0,class:"level-primary top-items"},Qa={key:1,class:"sidebar-level-divider",role:"separator"},en={key:2,class:"level-primary bottom-items"},tn={class:"sidebar-footer"},ot=K(e.defineComponent({__name:"AppSidebar",props:{topItems:{type:Array,default:()=>[]},bottomItems:{type:Array,default:()=>[]},headerHeight:{type:Number,default:60},topOffset:{type:Number,default:0},zIndex:{type:Number,default:3},open:{type:Boolean,default:!1},mobileEnabled:{type:Boolean,default:!1},mobileTopOffset:{type:Number,default:0},mobileHeaderVisible:{type:Boolean,default:!1},mobileCloseDelay:{type:Number,default:350},mobileOverlay:{type:Boolean,default:!0},mobileOverlayZIndex:{type:Number,default:null},mobileOverlayCloseOnClick:{type:Boolean,default:!0}},emits:["click","toggle"],setup(n,{emit:a}){e.useCssVars(m=>({"5decedf8":b.value.mobileHeight,"621c03b8":b.value.mobileTop,"1a4a2eb0":n.zIndex,c3efec14:b.value.height,f812da34:b.value.top,"98cbd98c":w.value.marginTop,"3b672422":f.value,"3b821012":g.value.display,"4c860169":g.value.minHeight,"98cd1a16":T.value.top,"362eded8":T.value.zIndex}));const o=a,r=n,s=e.useSlots(),d=e.computed(()=>!!s.header),c=e.computed(()=>!!s.top),b=e.computed(()=>({mobileTop:r.mobileTopOffset&&r.mobileEnabled?`${r.mobileTopOffset}px`:r.topOffset?`${r.topOffset}px`:"0",top:r.topOffset?`${r.topOffset}px`:"0",mobileHeight:r.mobileTopOffset&&r.mobileEnabled?`calc(100% - ${r.mobileTopOffset}px)`:"100%",height:r.topOffset?`calc(100% - ${r.topOffset}px)`:"100%"})),g=e.computed(()=>({display:!r.mobileHeaderVisible&&r.mobileEnabled?"none":"flex",minHeight:`${r.headerHeight}px`})),w=e.computed(()=>({marginTop:d.value?`${r.headerHeight}px`:"0"})),T=e.computed(()=>({top:r.mobileTopOffset&&r.mobileEnabled?`${r.mobileTopOffset}px`:"0",zIndex:r.mobileOverlayZIndex!==null?r.mobileOverlayZIndex:r.zIndex>1?r.zIndex-1:1})),N=m=>Wa(m).map(p=>{var S,B,I;if(p){(!p.key||!((S=p.key)!=null&&S.trim()))&&(p.key=String(p.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-")),(!p.testId||!((B=p.testId)!=null&&B.trim()))&&(p.testId=String(p.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"));for(const v of p.items||[])v.parentKey=p.key,(!v.testId||!((I=v.testId)!=null&&I.trim()))&&(v.testId=String(v.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"))}return p}),_=e.computed(()=>r.topItems.length?N(r.topItems):[]),x=e.computed(()=>r.bottomItems.length?N(r.bottomItems):[]),k=e.ref(r.open),F=m=>{var y,p;k.value!==m&&(k.value=m,o("toggle",m)),m?(y=document==null?void 0:document.body)==null||y.classList.add("kong-ui-app-sidebar-open"):(p=document==null?void 0:document.body)==null||p.classList.remove("kong-ui-app-sidebar-open"),$.value=!1},Z=()=>{r.mobileOverlayCloseOnClick&&F(!1)},$=e.ref(!1),U=m=>{$.value=!0,o("click",m),setTimeout(()=>{F(!1)},r.mobileCloseDelay)};e.watch(()=>r.open,m=>{F(m)});const{debounce:X}=rt(),H=X(()=>{k.value&&z.value!==(window==null?void 0:window.innerWidth)&&(z.value=window==null?void 0:window.innerWidth,F(!1))},200),z=e.ref(),V=e.ref(!1),j=e.ref(),E=()=>{V.value||(V.value=!0,clearTimeout(j.value),j.value=setTimeout(()=>V.value=!1,1300))},O=e.ref(null),R=e.computed(()=>k.value&&r.mobileEnabled),C=async m=>{var y,p;m?(await e.nextTick(),await new Promise(S=>setTimeout(S,300)),(y=O.value)==null||y.activate()):(p=O.value)==null||p.deactivate()};e.watch(R,async m=>{m?await C(!0):await C(!1)},{immediate:!0});const f=e.ref("0px"),u=()=>{var v;if(!(/Mac|iPhone|iPod|iPad/i.test(navigator==null?void 0:navigator.platform)||/macOS|Mac|iPhone|iPod|iPad/i.test((v=navigator==null?void 0:navigator.userAgentData)==null?void 0:v.platform)))return;const y=document.createElement("div");y.style.visibility="hidden",y.style.width="100px",document.body.appendChild(y);const p=y.offsetWidth;y.style.overflow="scroll";const S=document.createElement("div");S.style.width="100%",y.appendChild(S);const B=S.offsetWidth;y.parentNode&&y.parentNode.removeChild(y),p-B===0&&(f.value="8px")};return e.onMounted(async()=>{z.value=window==null?void 0:window.innerWidth,window.addEventListener("resize",H),window.addEventListener("resize",E),await e.nextTick(),u()}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",H),window.removeEventListener("resize",E)}),(m,y)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[k.value&&n.mobileOverlay&&n.mobileEnabled?(e.openBlock(),e.createElementBlock("div",{key:0,class:"kong-ui-app-sidebar-overlay",onClick:Z})):e.createCommentVNode("",!0),e.createVNode(e.unref(Ha),{ref_key:"focusTrap",ref:O,active:!1,"allow-outside-click":"","fallback-focus":".kong-ui-app-sidebar"},{default:e.withCtx(()=>[e.createElementVNode("aside",{class:e.normalizeClass(["kong-ui-app-sidebar",{"sidebar-open":k.value,"no-sidebar-header":!d.value,"mobile-header-hidden":n.mobileEnabled&&(!d.value||!n.mobileHeaderVisible),"mobile-disabled":!n.mobileEnabled,"disable-transitions":V.value}]),tabindex:"-1"},[d.value?(e.openBlock(),e.createElementBlock("div",Ga,[e.renderSlot(m.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",qa,[c.value?(e.openBlock(),e.createElementBlock("div",Xa,[e.renderSlot(m.$slots,"top",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("nav",Ya,[_.value.length?(e.openBlock(),e.createElementBlock("ul",Ja,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,p=>(e.openBlock(),e.createBlock(ze,{key:p.name,item:p,onClick:U},{[`sidebar-icon-${p.key}`]:e.withCtx(()=>[e.renderSlot(m.$slots,`sidebar-icon-${p.key}`,{},void 0,!0)]),_:2},1032,["item"]))),128))])):e.createCommentVNode("",!0),_.value.length&&x.value.length?(e.openBlock(),e.createElementBlock("div",Qa)):e.createCommentVNode("",!0),x.value.length?(e.openBlock(),e.createElementBlock("ul",en,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.value,p=>(e.openBlock(),e.createBlock(ze,{key:p.name,item:p,onClick:U},{[`sidebar-icon-${p.key}`]:e.withCtx(()=>[e.renderSlot(m.$slots,`sidebar-icon-${p.key}`,{},void 0,!0)]),_:2},1032,["item"]))),128))])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",tn,[e.renderSlot(m.$slots,"footer",{},void 0,!0)])],2)]),_:3},512)],64))}}),[["__scopeId","data-v-843a05a4"]]),an=["aria-label"],it=K(e.defineComponent({__name:"SidebarToggle",props:{active:{type:Boolean,default:!1}},emits:["toggle"],setup(n,{emit:a}){const o=a,r=n,s=e.ref(r.active||!1),d=c=>{c.preventDefault(),s.value=!s.value,o("toggle",s.value)};return e.watch(()=>r.active,c=>{s.value=c}),(c,b)=>(e.openBlock(),e.createElementBlock("a",{"aria-haspopup":"true","aria-label":s.value?"Close Main Menu":"Open Main Menu",class:e.normalizeClass(["sidebar-menu-toggle",{active:s.value}]),href:"#",role:"button",onClick:e.withModifiers(d,["prevent"])},b[0]||(b[0]=[e.createElementVNode("span",{class:"line"},null,-1),e.createElementVNode("span",{class:"line"},null,-1),e.createElementVNode("span",{class:"line"},null,-1)]),10,an))}}),[["__scopeId","data-v-b411bcf5"]]),nn="#ffffff",rn="#000933",on="#000933",cn="#ffffff",sn="0px",ln="4px",dn={id:"kong-ui-app-layout-notification"},un={class:"mobile-logo"},fn={key:0,class:"navbar-logo"},mn={class:"kong-ui-app-layout-main","data-testid":"kong-ui-app-layout-main"},bn={class:"kong-ui-app-layout-content"},pn={class:"kong-ui-app-layout-content-inner"},ct=K(e.defineComponent({__name:"AppLayout",props:{hideDefaultSlot:{type:Boolean,default:!1},navbarHidden:{type:Boolean,default:!1},sidebarHidden:{type:Boolean,default:!1},sidebarOpen:{type:Boolean,default:!1},sidebarTopItems:{type:Array,default:()=>[]},sidebarBottomItems:{type:Array,default:()=>[]},theme:{type:String,default:"light",validator:n=>["light","dark"].includes(n)}},emits:["sidebar-click"],setup(n,{emit:a}){e.useCssVars(E=>({"30c6990a":$.value,40906680:U.value,"169c1fd8":Z.value,"75276abc":X.value,af1d4ea2:H.value}));const o=n,r=a,s=e.useSlots(),d=e.reactive({navbarLeft:e.computed(()=>!!s["navbar-left"]),navbarCenter:e.computed(()=>!!s["navbar-center"]),navbarRight:e.computed(()=>!!s["navbar-right"]),navbarLogo:e.computed(()=>!!s["navbar-logo"]),navbarMobileLogo:e.computed(()=>!!s["navbar-mobile-logo"]),sidebarHeader:e.computed(()=>!!s["sidebar-header"]),sidebarTop:e.computed(()=>!!s["sidebar-top"]),sidebarFooter:e.computed(()=>!!s["sidebar-footer"])}),c=e.computed(()=>o.hideDefaultSlot),b=e.reactive({hidden:e.computed(()=>o.navbarHidden)}),g=e.reactive({topItems:e.computed(()=>o.sidebarTopItems),bottomItems:e.computed(()=>o.sidebarBottomItems),open:e.computed(()=>o.sidebarOpen),hidden:e.computed(()=>o.sidebarHidden)}),w=E=>{r("sidebar-click",E)},T=e.ref(!1),N=E=>{T.value=E};e.watchEffect(()=>{T.value=e.toRef(g,"open").value||!1});const _=e.ref(0),x=e.ref(60),k=e.ref(0),F=e.computed(()=>b.hidden?k.value:x.value+k.value),Z=e.computed(()=>o.theme==="light"?on:cn),$=e.computed(()=>o.theme==="light"?nn:rn),U=e.computed(()=>o.theme==="light"?"var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)":"none"),X=e.computed(()=>`${F.value}px`),H=e.computed(()=>g.hidden||b.hidden?sn:ln),{debounce:z}=rt(),V=z((E=!1)=>{if(E||_.value!==(window==null?void 0:window.innerWidth)){_.value=window==null?void 0:window.innerWidth;const O=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");O&&(k.value=O.offsetHeight)}},200),j=e.ref();return e.onMounted(()=>{var O,R;(O=document==null?void 0:document.body)==null||O.classList.add("kong-ui-app-layout-body"),(R=document==null?void 0:document.documentElement)==null||R.classList.add("kong-ui-app-layout-html"),_.value=window==null?void 0:window.innerWidth,V(!0);const E=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");E&&(j.value=new ResizeObserver(C=>{window.requestAnimationFrame(()=>{if(!(!Array.isArray(C)||!C.length))for(const f of C){const u=f.contentRect.height;k.value!==u&&(k.value=u)}})}),j.value.observe(E)),window.addEventListener("resize",V)}),e.onBeforeUnmount(()=>{j.value&&j.value.disconnect(),window.removeEventListener("resize",V)}),(E,O)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["kong-ui-app-layout",[{"navbar-hidden":b.hidden},{"sidebar-hidden":g.hidden}]])},[e.createElementVNode("div",dn,[e.renderSlot(E.$slots,"notification",{},void 0,!0)]),b.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(He,{key:String(g.hidden),"left-offset":g.hidden?0:void 0,"top-offset":k.value},e.createSlots({"mobile-sidebar-toggle":e.withCtx(()=>[g.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(it,{key:0,active:T.value,onToggle:N},null,8,["active"]))]),_:2},[d.navbarMobileLogo?{name:"mobile-logo",fn:e.withCtx(()=>[e.createElementVNode("div",un,[e.renderSlot(E.$slots,"navbar-mobile-logo",{},void 0,!0)])]),key:"0"}:void 0,d.navbarLogo?{name:"logo",fn:e.withCtx(()=>[g.hidden?(e.openBlock(),e.createElementBlock("div",fn,[e.renderSlot(E.$slots,"navbar-logo",{},void 0,!0)])):e.createCommentVNode("",!0)]),key:"1"}:void 0,d.navbarLeft?{name:"left",fn:e.withCtx(()=>[e.renderSlot(E.$slots,"navbar-left",{},void 0,!0)]),key:"2"}:void 0,d.navbarCenter?{name:"center",fn:e.withCtx(()=>[e.renderSlot(E.$slots,"navbar-center",{},void 0,!0)]),key:"3"}:void 0,d.navbarRight?{name:"right",fn:e.withCtx(()=>[e.renderSlot(E.$slots,"navbar-right",{},void 0,!0)]),key:"4"}:void 0]),1032,["left-offset","top-offset"])),g.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ot,{key:1,"bottom-items":g.bottomItems,"header-height":x.value,"mobile-enabled":"","mobile-header-visible":!1,"mobile-top-offset":F.value,open:T.value,"top-items":g.topItems,"top-offset":k.value,onClick:w,onToggle:N},e.createSlots({_:2},[d.sidebarHeader?{name:"header",fn:e.withCtx(()=>[e.renderSlot(E.$slots,"sidebar-header",{},void 0,!0)]),key:"0"}:void 0,d.sidebarTop?{name:"top",fn:e.withCtx(()=>[e.renderSlot(E.$slots,"sidebar-top",{},void 0,!0)]),key:"1"}:void 0,d.sidebarFooter?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(E.$slots,"sidebar-footer",{},void 0,!0)]),key:"2"}:void 0,e.renderList([...g.topItems||[],...g.bottomItems||[]],R=>({name:`sidebar-icon-${R.key}`,fn:e.withCtx(()=>[e.renderSlot(E.$slots,`sidebar-icon-${R.key}`,{},void 0,!0)])}))]),1032,["bottom-items","header-height","mobile-top-offset","open","top-items","top-offset"])),e.createElementVNode("main",mn,[e.createElementVNode("div",bn,[e.createElementVNode("div",pn,[O[0]||(O[0]=e.createElementVNode("div",{id:"kong-ui-app-layout-teleport-default-slot"},null,-1)),e.renderSlot(E.$slots,"app-error",{},void 0,!0),c.value?e.createCommentVNode("",!0):e.renderSlot(E.$slots,"default",{key:0},void 0,!0)])])])],2))}}),[["__scopeId","data-v-47c01124"]]),hn={class:"kong-ui-app-page-header"},gn={key:0,class:"page-header-breadcrumbs","data-testid":"page-header-breadcrumbs"},vn={class:"page-header-title-section"},yn={class:"page-header-title-wrapper"},kn={key:0,class:"page-header-title-before","data-testid":"page-header-title-before"},wn=["title"],Cn={key:1,class:"page-header-title-after","data-testid":"page-header-title-after"},Sn={key:0,class:"page-header-actions","data-testid":"page-header-actions"},En={key:1,class:"page-header-section-below","data-testid":"page-header-section-below"},Nn=K(e.defineComponent({__name:"AppPageHeader",props:{title:{type:String,default:""},breadcrumbs:{type:Array,default:()=>[]}},setup(n){const a=n,o=e.useSlots(),r=e.computed(()=>{var d;return!!((d=a.breadcrumbs)!=null&&d.length)}),s=e.computed(()=>Object.keys(o).filter(d=>d.startsWith("icon-")));return(d,c)=>{const b=e.resolveComponent("KBreadcrumbs");return e.openBlock(),e.createElementBlock("div",hn,[r.value?(e.openBlock(),e.createElementBlock("div",gn,[e.createVNode(b,{"item-max-width":"150",items:n.breadcrumbs},e.createSlots({_:2},[e.renderList(s.value,g=>({name:g,fn:e.withCtx(()=>[e.renderSlot(d.$slots,g,{},void 0,!0)])}))]),1032,["items"])])):e.createCommentVNode("",!0),e.createElementVNode("div",vn,[e.createElementVNode("div",yn,[d.$slots["title-before"]?(e.openBlock(),e.createElementBlock("div",kn,[e.renderSlot(d.$slots,"title-before",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("h1",{class:"page-header-title","data-testid":"page-header-title",title:n.title},e.toDisplayString(n.title),9,wn),d.$slots["title-after"]?(e.openBlock(),e.createElementBlock("div",Cn,[e.renderSlot(d.$slots,"title-after",{},void 0,!0)])):e.createCommentVNode("",!0)]),d.$slots.actions?(e.openBlock(),e.createElementBlock("div",Sn,[e.renderSlot(d.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)]),d.$slots.below?(e.openBlock(),e.createElementBlock("div",En,[e.renderSlot(d.$slots,"below",{},void 0,!0)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-204b7f98"]]),Tn={install:(n,a={})=>{n.component(a.name||"AppLayout",ct)}};L.AccountDropdown=At,L.AppAboutSection=zt,L.AppError=Qt,L.AppLayout=ct,L.AppNavbar=He,L.AppPageHeader=Nn,L.AppSidebar=ot,L.SidebarToggle=it,L.default=Tn,Object.defineProperties(L,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
11
+ */function or(n){return n}const qa={escapeDeactivates:{type:Boolean,default:!0},returnFocusOnDeactivate:{type:Boolean,default:!0},allowOutsideClick:{type:[Boolean,Function],default:!0},clickOutsideDeactivates:[Boolean,Function],initialFocus:[String,Function,Boolean],fallbackFocus:[String,Function],checkCanFocusTrap:Function,checkCanReturnFocus:Function,delayInitialFocus:{type:Boolean,default:!0},document:Object,preventScroll:Boolean,setReturnFocus:[Object,String,Boolean,Function],tabbableOptions:Object},Xa=e.defineComponent({props:Object.assign({active:{type:Boolean,default:!0}},qa),emits:["update:active","activate","postActivate","deactivate","postDeactivate"],render(){return this.renderImpl()},setup(n,{slots:a,emit:r}){let o;const l=e.ref(null),u=e.computed(()=>{const p=l.value;return p&&(p instanceof HTMLElement?p:p.$el)});function c(){return o||(o=Ga(u.value,{escapeDeactivates:n.escapeDeactivates,allowOutsideClick:n.allowOutsideClick,returnFocusOnDeactivate:n.returnFocusOnDeactivate,clickOutsideDeactivates:n.clickOutsideDeactivates,onActivate:()=>{r("update:active",!0),r("activate")},onDeactivate:()=>{r("update:active",!1),r("deactivate")},onPostActivate:()=>r("postActivate"),onPostDeactivate:()=>r("postDeactivate"),initialFocus:n.initialFocus,fallbackFocus:n.fallbackFocus,tabbableOptions:n.tabbableOptions,delayInitialFocus:n.delayInitialFocus,preventScroll:n.preventScroll}))}return e.onMounted(()=>{e.watch(()=>n.active,p=>{p&&u.value?c().activate():o&&(o.deactivate(),(!u.value||u.value.nodeType===Node.COMMENT_NODE)&&(o=null))},{immediate:!0,flush:"post"})}),e.onUnmounted(()=>{o&&o.deactivate(),o=null}),{activate(){c().activate()},deactivate(){o&&o.deactivate()},renderImpl(){if(!a.default)return null;const p=a.default().filter(w=>w.type!==e.Comment);return!p||!p.length||p.length>1?(console.error("[focus-trap-vue]: FocusTrap requires exactly one child."),p):e.cloneVNode(p[0],{ref:l})}}}});function ct(){return{debounce:(a,r)=>{let o;return(...l)=>{clearTimeout(o),o=window==null?void 0:window.setTimeout(()=>{a(...l)},r)}}}}var Se=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ya(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Ce={exports:{}};Ce.exports,function(n,a){var r=200,o="__lodash_hash_undefined__",l=9007199254740991,u="[object Arguments]",c="[object Array]",p="[object Boolean]",g="[object Date]",w="[object Error]",N="[object Function]",E="[object GeneratorFunction]",B="[object Map]",I="[object Number]",y="[object Object]",A="[object Promise]",K="[object RegExp]",$="[object Set]",G="[object String]",J="[object Symbol]",z="[object WeakMap]",U="[object ArrayBuffer]",F="[object DataView]",Z="[object Float32Array]",S="[object Float64Array]",V="[object Int8Array]",M="[object Int16Array]",R="[object Int32Array]",C="[object Uint8Array]",f="[object Uint8ClampedArray]",s="[object Uint16Array]",m="[object Uint32Array]",b=/[\\^$.*+?()[\]{}|]/g,k=/\w*$/,_=/^\[object .+?Constructor\]$/,T=/^(?:0|[1-9]\d*)$/,v={};v[u]=v[c]=v[U]=v[F]=v[p]=v[g]=v[Z]=v[S]=v[V]=v[M]=v[R]=v[B]=v[I]=v[y]=v[K]=v[$]=v[G]=v[J]=v[C]=v[f]=v[s]=v[m]=!0,v[w]=v[N]=v[z]=!1;var O=typeof Se=="object"&&Se&&Se.Object===Object&&Se,q=typeof self=="object"&&self&&self.Object===Object&&self,L=O||q||Function("return this")(),W=a&&!a.nodeType&&a,Q=W&&!0&&n&&!n.nodeType&&n,_e=Q&&Q.exports===W;function me(t,i){return t.set(i[0],i[1]),t}function pe(t,i){return t.add(i),t}function Vn(t,i){for(var d=-1,h=t?t.length:0;++d<h&&i(t[d],d,t)!==!1;);return t}function Rn(t,i){for(var d=-1,h=i.length,x=t.length;++d<h;)t[x+d]=i[d];return t}function ut(t,i,d,h){for(var x=-1,P=t?t.length:0;++x<P;)d=i(d,t[x],x,t);return d}function Ln(t,i){for(var d=-1,h=Array(t);++d<t;)h[d]=i(d);return h}function Mn(t,i){return t==null?void 0:t[i]}function ft(t){var i=!1;if(t!=null&&typeof t.toString!="function")try{i=!!(t+"")}catch{}return i}function mt(t){var i=-1,d=Array(t.size);return t.forEach(function(h,x){d[++i]=[x,h]}),d}function De(t,i){return function(d){return t(i(d))}}function pt(t){var i=-1,d=Array(t.size);return t.forEach(function(h){d[++i]=h}),d}var Pn=Array.prototype,jn=Function.prototype,Ee=Object.prototype,Ve=L["__core-js_shared__"],bt=function(){var t=/[^.]+$/.exec(Ve&&Ve.keys&&Ve.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ht=jn.toString,ee=Ee.hasOwnProperty,Ne=Ee.toString,Zn=RegExp("^"+ht.call(ee).replace(b,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),gt=_e?L.Buffer:void 0,vt=L.Symbol,yt=L.Uint8Array,Kn=De(Object.getPrototypeOf,Object),Hn=Object.create,zn=Ee.propertyIsEnumerable,Un=Pn.splice,kt=Object.getOwnPropertySymbols,Wn=gt?gt.isBuffer:void 0,Gn=De(Object.keys,Object),Re=le(L,"DataView"),be=le(L,"Map"),Le=le(L,"Promise"),Me=le(L,"Set"),Pe=le(L,"WeakMap"),he=le(Object,"create"),qn=re(Re),Xn=re(be),Yn=re(Le),Jn=re(Me),Qn=re(Pe),wt=vt?vt.prototype:void 0,St=wt?wt.valueOf:void 0;function ne(t){var i=-1,d=t?t.length:0;for(this.clear();++i<d;){var h=t[i];this.set(h[0],h[1])}}function eo(){this.__data__=he?he(null):{}}function to(t){return this.has(t)&&delete this.__data__[t]}function ao(t){var i=this.__data__;if(he){var d=i[t];return d===o?void 0:d}return ee.call(i,t)?i[t]:void 0}function no(t){var i=this.__data__;return he?i[t]!==void 0:ee.call(i,t)}function oo(t,i){var d=this.__data__;return d[t]=he&&i===void 0?o:i,this}ne.prototype.clear=eo,ne.prototype.delete=to,ne.prototype.get=ao,ne.prototype.has=no,ne.prototype.set=oo;function X(t){var i=-1,d=t?t.length:0;for(this.clear();++i<d;){var h=t[i];this.set(h[0],h[1])}}function ro(){this.__data__=[]}function io(t){var i=this.__data__,d=Te(i,t);if(d<0)return!1;var h=i.length-1;return d==h?i.pop():Un.call(i,d,1),!0}function co(t){var i=this.__data__,d=Te(i,t);return d<0?void 0:i[d][1]}function so(t){return Te(this.__data__,t)>-1}function lo(t,i){var d=this.__data__,h=Te(d,t);return h<0?d.push([t,i]):d[h][1]=i,this}X.prototype.clear=ro,X.prototype.delete=io,X.prototype.get=co,X.prototype.has=so,X.prototype.set=lo;function ce(t){var i=-1,d=t?t.length:0;for(this.clear();++i<d;){var h=t[i];this.set(h[0],h[1])}}function uo(){this.__data__={hash:new ne,map:new(be||X),string:new ne}}function fo(t){return Be(this,t).delete(t)}function mo(t){return Be(this,t).get(t)}function po(t){return Be(this,t).has(t)}function bo(t,i){return Be(this,t).set(t,i),this}ce.prototype.clear=uo,ce.prototype.delete=fo,ce.prototype.get=mo,ce.prototype.has=po,ce.prototype.set=bo;function se(t){this.__data__=new X(t)}function ho(){this.__data__=new X}function go(t){return this.__data__.delete(t)}function vo(t){return this.__data__.get(t)}function yo(t){return this.__data__.has(t)}function ko(t,i){var d=this.__data__;if(d instanceof X){var h=d.__data__;if(!be||h.length<r-1)return h.push([t,i]),this;d=this.__data__=new ce(h)}return d.set(t,i),this}se.prototype.clear=ho,se.prototype.delete=go,se.prototype.get=vo,se.prototype.has=yo,se.prototype.set=ko;function wo(t,i){var d=Ke(t)||zo(t)?Ln(t.length,String):[],h=d.length,x=!!h;for(var P in t)ee.call(t,P)&&!(x&&(P=="length"||jo(P,h)))&&d.push(P);return d}function Ct(t,i,d){var h=t[i];(!(ee.call(t,i)&&Tt(h,d))||d===void 0&&!(i in t))&&(t[i]=d)}function Te(t,i){for(var d=t.length;d--;)if(Tt(t[d][0],i))return d;return-1}function So(t,i){return t&&_t(i,He(i),t)}function je(t,i,d,h,x,P,Y){var j;if(h&&(j=P?h(t,x,P,Y):h(t)),j!==void 0)return j;if(!Ie(t))return t;var $t=Ke(t);if($t){if(j=Lo(t),!i)return Do(t,j)}else{var de=oe(t),Ot=de==N||de==E;if(Wo(t))return Bo(t,i);if(de==y||de==u||Ot&&!P){if(ft(t))return P?t:{};if(j=Mo(Ot?{}:t),!i)return Vo(t,So(j,t))}else{if(!v[de])return P?t:{};j=Po(t,de,je,i)}}Y||(Y=new se);var At=Y.get(t);if(At)return At;if(Y.set(t,j),!$t)var xt=d?Ro(t):He(t);return Vn(xt||t,function(ze,$e){xt&&($e=ze,ze=t[$e]),Ct(j,$e,je(ze,i,d,h,$e,t,Y))}),j}function Co(t){return Ie(t)?Hn(t):{}}function _o(t,i,d){var h=i(t);return Ke(t)?h:Rn(h,d(t))}function Eo(t){return Ne.call(t)}function No(t){if(!Ie(t)||Ko(t))return!1;var i=It(t)||ft(t)?Zn:_;return i.test(re(t))}function To(t){if(!Nt(t))return Gn(t);var i=[];for(var d in Object(t))ee.call(t,d)&&d!="constructor"&&i.push(d);return i}function Bo(t,i){if(i)return t.slice();var d=new t.constructor(t.length);return t.copy(d),d}function Ze(t){var i=new t.constructor(t.byteLength);return new yt(i).set(new yt(t)),i}function Io(t,i){var d=i?Ze(t.buffer):t.buffer;return new t.constructor(d,t.byteOffset,t.byteLength)}function $o(t,i,d){var h=i?d(mt(t),!0):mt(t);return ut(h,me,new t.constructor)}function Oo(t){var i=new t.constructor(t.source,k.exec(t));return i.lastIndex=t.lastIndex,i}function Ao(t,i,d){var h=i?d(pt(t),!0):pt(t);return ut(h,pe,new t.constructor)}function xo(t){return St?Object(St.call(t)):{}}function Fo(t,i){var d=i?Ze(t.buffer):t.buffer;return new t.constructor(d,t.byteOffset,t.length)}function Do(t,i){var d=-1,h=t.length;for(i||(i=Array(h));++d<h;)i[d]=t[d];return i}function _t(t,i,d,h){d||(d={});for(var x=-1,P=i.length;++x<P;){var Y=i[x],j=void 0;Ct(d,Y,j===void 0?t[Y]:j)}return d}function Vo(t,i){return _t(t,Et(t),i)}function Ro(t){return _o(t,He,Et)}function Be(t,i){var d=t.__data__;return Zo(i)?d[typeof i=="string"?"string":"hash"]:d.map}function le(t,i){var d=Mn(t,i);return No(d)?d:void 0}var Et=kt?De(kt,Object):Xo,oe=Eo;(Re&&oe(new Re(new ArrayBuffer(1)))!=F||be&&oe(new be)!=B||Le&&oe(Le.resolve())!=A||Me&&oe(new Me)!=$||Pe&&oe(new Pe)!=z)&&(oe=function(t){var i=Ne.call(t),d=i==y?t.constructor:void 0,h=d?re(d):void 0;if(h)switch(h){case qn:return F;case Xn:return B;case Yn:return A;case Jn:return $;case Qn:return z}return i});function Lo(t){var i=t.length,d=t.constructor(i);return i&&typeof t[0]=="string"&&ee.call(t,"index")&&(d.index=t.index,d.input=t.input),d}function Mo(t){return typeof t.constructor=="function"&&!Nt(t)?Co(Kn(t)):{}}function Po(t,i,d,h){var x=t.constructor;switch(i){case U:return Ze(t);case p:case g:return new x(+t);case F:return Io(t,h);case Z:case S:case V:case M:case R:case C:case f:case s:case m:return Fo(t,h);case B:return $o(t,h,d);case I:case G:return new x(t);case K:return Oo(t);case $:return Ao(t,h,d);case J:return xo(t)}}function jo(t,i){return i=i??l,!!i&&(typeof t=="number"||T.test(t))&&t>-1&&t%1==0&&t<i}function Zo(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function Ko(t){return!!bt&&bt in t}function Nt(t){var i=t&&t.constructor,d=typeof i=="function"&&i.prototype||Ee;return t===d}function re(t){if(t!=null){try{return ht.call(t)}catch{}try{return t+""}catch{}}return""}function Ho(t){return je(t,!0,!0)}function Tt(t,i){return t===i||t!==t&&i!==i}function zo(t){return Uo(t)&&ee.call(t,"callee")&&(!zn.call(t,"callee")||Ne.call(t)==u)}var Ke=Array.isArray;function Bt(t){return t!=null&&Go(t.length)&&!It(t)}function Uo(t){return qo(t)&&Bt(t)}var Wo=Wn||Yo;function It(t){var i=Ie(t)?Ne.call(t):"";return i==N||i==E}function Go(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=l}function Ie(t){var i=typeof t;return!!t&&(i=="object"||i=="function")}function qo(t){return!!t&&typeof t=="object"}function He(t){return Bt(t)?wo(t):To(t)}function Xo(){return[]}function Yo(){return!1}n.exports=Ho}(Ce,Ce.exports);var Ja=Ce.exports;const Qa=Ya(Ja),en={key:0,class:"sidebar-header"},tn={class:"sidebar-content-container"},an={key:0,class:"sidebar-top"},nn={"aria-label":"Main menu"},on={key:0,class:"level-primary top-items"},rn={key:1,class:"sidebar-level-divider",role:"separator"},cn={key:2,class:"level-primary bottom-items"},sn={class:"sidebar-footer"},st=H(e.defineComponent({__name:"AppSidebar",props:{topItems:{type:Array,default:()=>[]},bottomItems:{type:Array,default:()=>[]},headerHeight:{type:Number,default:60},topOffset:{type:Number,default:0},zIndex:{type:Number,default:3},open:{type:Boolean,default:!1},mobileEnabled:{type:Boolean,default:!1},mobileTopOffset:{type:Number,default:0},mobileHeaderVisible:{type:Boolean,default:!1},mobileCloseDelay:{type:Number,default:350},mobileOverlay:{type:Boolean,default:!0},mobileOverlayZIndex:{type:Number,default:null},mobileOverlayCloseOnClick:{type:Boolean,default:!0}},emits:["click","toggle"],setup(n,{emit:a}){e.useCssVars(s=>({"5decedf8":p.value.mobileHeight,"621c03b8":p.value.mobileTop,"1a4a2eb0":n.zIndex,c3efec14:p.value.height,f812da34:p.value.top,"98cbd98c":w.value.marginTop,"3b672422":C.value,"3b821012":g.value.display,"4c860169":g.value.minHeight,"98cd1a16":N.value.top,"362eded8":N.value.zIndex}));const r=a,o=n,l=e.useSlots(),u=e.computed(()=>!!l.header),c=e.computed(()=>!!l.top),p=e.computed(()=>({mobileTop:o.mobileTopOffset&&o.mobileEnabled?`${o.mobileTopOffset}px`:o.topOffset?`${o.topOffset}px`:"0",top:o.topOffset?`${o.topOffset}px`:"0",mobileHeight:o.mobileTopOffset&&o.mobileEnabled?`calc(100% - ${o.mobileTopOffset}px)`:"100%",height:o.topOffset?`calc(100% - ${o.topOffset}px)`:"100%"})),g=e.computed(()=>({display:!o.mobileHeaderVisible&&o.mobileEnabled?"none":"flex",minHeight:`${o.headerHeight}px`})),w=e.computed(()=>({marginTop:u.value?`${o.headerHeight}px`:"0"})),N=e.computed(()=>({top:o.mobileTopOffset&&o.mobileEnabled?`${o.mobileTopOffset}px`:"0",zIndex:o.mobileOverlayZIndex!==null?o.mobileOverlayZIndex:o.zIndex>1?o.zIndex-1:1})),E=s=>Qa(s).map(b=>{var k,_,T;if(b){(!b.key||!((k=b.key)!=null&&k.trim()))&&(b.key=String(b.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-")),(!b.testId||!((_=b.testId)!=null&&_.trim()))&&(b.testId=String(b.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"));for(const v of b.items||[])v.parentKey=b.key,(!v.testId||!((T=v.testId)!=null&&T.trim()))&&(v.testId=String(v.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"))}return b}),B=e.computed(()=>o.topItems.length?E(o.topItems):[]),I=e.computed(()=>o.bottomItems.length?E(o.bottomItems):[]),y=e.ref(o.open),A=s=>{var m,b;y.value!==s&&(y.value=s,r("toggle",s)),s?(m=document==null?void 0:document.body)==null||m.classList.add("kong-ui-app-sidebar-open"):(b=document==null?void 0:document.body)==null||b.classList.remove("kong-ui-app-sidebar-open"),$.value=!1},K=()=>{o.mobileOverlayCloseOnClick&&A(!1)},$=e.ref(!1),G=s=>{$.value=!0,r("click",s),setTimeout(()=>{A(!1)},o.mobileCloseDelay)};e.watch(()=>o.open,s=>{A(s)});const{debounce:J}=ct(),z=J(()=>{y.value&&U.value!==(window==null?void 0:window.innerWidth)&&(U.value=window==null?void 0:window.innerWidth,A(!1))},200),U=e.ref(),F=e.ref(!1),Z=e.ref(),S=()=>{F.value||(F.value=!0,clearTimeout(Z.value),Z.value=setTimeout(()=>F.value=!1,1300))},V=e.ref(null),M=e.computed(()=>y.value&&o.mobileEnabled),R=async s=>{var m,b;s?(await e.nextTick(),await new Promise(k=>setTimeout(k,300)),(m=V.value)==null||m.activate()):(b=V.value)==null||b.deactivate()};e.watch(M,async s=>{s?await R(!0):await R(!1)},{immediate:!0});const C=e.ref("0px"),f=()=>{var v;if(!(/Mac|iPhone|iPod|iPad/i.test(navigator==null?void 0:navigator.platform)||/macOS|Mac|iPhone|iPod|iPad/i.test((v=navigator==null?void 0:navigator.userAgentData)==null?void 0:v.platform)))return;const m=document.createElement("div");m.style.visibility="hidden",m.style.width="100px",document.body.appendChild(m);const b=m.offsetWidth;m.style.overflow="scroll";const k=document.createElement("div");k.style.width="100%",m.appendChild(k);const _=k.offsetWidth;m.parentNode&&m.parentNode.removeChild(m),b-_===0&&(C.value="8px")};return e.onMounted(async()=>{U.value=window==null?void 0:window.innerWidth,window.addEventListener("resize",z),window.addEventListener("resize",S),await e.nextTick(),f()}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",z),window.removeEventListener("resize",S)}),(s,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[y.value&&n.mobileOverlay&&n.mobileEnabled?(e.openBlock(),e.createElementBlock("div",{key:0,class:"kong-ui-app-sidebar-overlay",onClick:K})):e.createCommentVNode("",!0),e.createVNode(e.unref(Xa),{ref_key:"focusTrap",ref:V,active:!1,"allow-outside-click":"","fallback-focus":".kong-ui-app-sidebar"},{default:e.withCtx(()=>[e.createElementVNode("aside",{class:e.normalizeClass(["kong-ui-app-sidebar",{"sidebar-open":y.value,"no-sidebar-header":!u.value,"mobile-header-hidden":n.mobileEnabled&&(!u.value||!n.mobileHeaderVisible),"mobile-disabled":!n.mobileEnabled,"disable-transitions":F.value}]),tabindex:"-1"},[u.value?(e.openBlock(),e.createElementBlock("div",en,[e.renderSlot(s.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",tn,[c.value?(e.openBlock(),e.createElementBlock("div",an,[e.renderSlot(s.$slots,"top",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("nav",nn,[B.value.length?(e.openBlock(),e.createElementBlock("ul",on,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,b=>(e.openBlock(),e.createBlock(Ge,{key:b.name,item:b,onClick:G},{[`sidebar-icon-${b.key}`]:e.withCtx(()=>[e.renderSlot(s.$slots,`sidebar-icon-${b.key}`,{},void 0,!0)]),_:2},1032,["item"]))),128))])):e.createCommentVNode("",!0),B.value.length&&I.value.length?(e.openBlock(),e.createElementBlock("div",rn)):e.createCommentVNode("",!0),I.value.length?(e.openBlock(),e.createElementBlock("ul",cn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.value,b=>(e.openBlock(),e.createBlock(Ge,{key:b.name,item:b,onClick:G},{[`sidebar-icon-${b.key}`]:e.withCtx(()=>[e.renderSlot(s.$slots,`sidebar-icon-${b.key}`,{},void 0,!0)]),_:2},1032,["item"]))),128))])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",sn,[e.renderSlot(s.$slots,"footer",{},void 0,!0)])],2)]),_:3},512)],64))}}),[["__scopeId","data-v-843a05a4"]]),Fe=n=>(e.pushScopeId("data-v-b411bcf5"),n=n(),e.popScopeId(),n),ln=["aria-label"],dn=[Fe(()=>e.createElementVNode("span",{class:"line"},null,-1)),Fe(()=>e.createElementVNode("span",{class:"line"},null,-1)),Fe(()=>e.createElementVNode("span",{class:"line"},null,-1))],lt=H(e.defineComponent({__name:"SidebarToggle",props:{active:{type:Boolean,default:!1}},emits:["toggle"],setup(n,{emit:a}){const r=a,o=n,l=e.ref(o.active||!1),u=c=>{c.preventDefault(),l.value=!l.value,r("toggle",l.value)};return e.watch(()=>o.active,c=>{l.value=c}),(c,p)=>(e.openBlock(),e.createElementBlock("a",{"aria-haspopup":"true","aria-label":l.value?"Close Main Menu":"Open Main Menu",class:e.normalizeClass(["sidebar-menu-toggle",{active:l.value}]),href:"#",role:"button",onClick:e.withModifiers(u,["prevent"])},dn,10,ln))}}),[["__scopeId","data-v-b411bcf5"]]),un="#ffffff",fn="#000933",mn="#000933",pn="#ffffff",bn="0px",hn="4px",gn=n=>(e.pushScopeId("data-v-47c01124"),n=n(),e.popScopeId(),n),vn={id:"kong-ui-app-layout-notification"},yn={class:"mobile-logo"},kn={key:0,class:"navbar-logo"},wn={class:"kong-ui-app-layout-main","data-testid":"kong-ui-app-layout-main"},Sn={class:"kong-ui-app-layout-content"},Cn={class:"kong-ui-app-layout-content-inner"},_n=gn(()=>e.createElementVNode("div",{id:"kong-ui-app-layout-teleport-default-slot"},null,-1)),dt=H(e.defineComponent({__name:"AppLayout",props:{hideDefaultSlot:{type:Boolean,default:!1},navbarHidden:{type:Boolean,default:!1},sidebarHidden:{type:Boolean,default:!1},sidebarOpen:{type:Boolean,default:!1},sidebarTopItems:{type:Array,default:()=>[]},sidebarBottomItems:{type:Array,default:()=>[]},theme:{type:String,default:"light",validator:n=>["light","dark"].includes(n)}},emits:["sidebar-click"],setup(n,{emit:a}){e.useCssVars(S=>({"30c6990a":$.value,40906680:G.value,"169c1fd8":K.value,"75276abc":J.value,af1d4ea2:z.value}));const r=n,o=a,l=e.useSlots(),u=e.reactive({navbarLeft:e.computed(()=>!!l["navbar-left"]),navbarCenter:e.computed(()=>!!l["navbar-center"]),navbarRight:e.computed(()=>!!l["navbar-right"]),navbarLogo:e.computed(()=>!!l["navbar-logo"]),navbarMobileLogo:e.computed(()=>!!l["navbar-mobile-logo"]),sidebarHeader:e.computed(()=>!!l["sidebar-header"]),sidebarTop:e.computed(()=>!!l["sidebar-top"]),sidebarFooter:e.computed(()=>!!l["sidebar-footer"])}),c=e.computed(()=>r.hideDefaultSlot),p=e.reactive({hidden:e.computed(()=>r.navbarHidden)}),g=e.reactive({topItems:e.computed(()=>r.sidebarTopItems),bottomItems:e.computed(()=>r.sidebarBottomItems),open:e.computed(()=>r.sidebarOpen),hidden:e.computed(()=>r.sidebarHidden)}),w=S=>{o("sidebar-click",S)},N=e.ref(!1),E=S=>{N.value=S};e.watchEffect(()=>{N.value=e.toRef(g,"open").value||!1});const B=e.ref(0),I=e.ref(60),y=e.ref(0),A=e.computed(()=>p.hidden?y.value:I.value+y.value),K=e.computed(()=>r.theme==="light"?mn:pn),$=e.computed(()=>r.theme==="light"?un:fn),G=e.computed(()=>r.theme==="light"?"var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)":"none"),J=e.computed(()=>`${A.value}px`),z=e.computed(()=>g.hidden||p.hidden?bn:hn),{debounce:U}=ct(),F=U((S=!1)=>{if(S||B.value!==(window==null?void 0:window.innerWidth)){B.value=window==null?void 0:window.innerWidth;const V=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");V&&(y.value=V.offsetHeight)}},200),Z=e.ref();return e.onMounted(()=>{var V,M;(V=document==null?void 0:document.body)==null||V.classList.add("kong-ui-app-layout-body"),(M=document==null?void 0:document.documentElement)==null||M.classList.add("kong-ui-app-layout-html"),B.value=window==null?void 0:window.innerWidth,F(!0);const S=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");S&&(Z.value=new ResizeObserver(R=>{window.requestAnimationFrame(()=>{if(!(!Array.isArray(R)||!R.length))for(const C of R){const f=C.contentRect.height;y.value!==f&&(y.value=f)}})}),Z.value.observe(S)),window.addEventListener("resize",F)}),e.onBeforeUnmount(()=>{Z.value&&Z.value.disconnect(),window.removeEventListener("resize",F)}),(S,V)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["kong-ui-app-layout",[{"navbar-hidden":p.hidden},{"sidebar-hidden":g.hidden}]])},[e.createElementVNode("div",vn,[e.renderSlot(S.$slots,"notification",{},void 0,!0)]),p.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(We,{key:String(g.hidden),"left-offset":g.hidden?0:void 0,"top-offset":y.value},e.createSlots({"mobile-sidebar-toggle":e.withCtx(()=>[g.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(lt,{key:0,active:N.value,onToggle:E},null,8,["active"]))]),_:2},[u.navbarMobileLogo?{name:"mobile-logo",fn:e.withCtx(()=>[e.createElementVNode("div",yn,[e.renderSlot(S.$slots,"navbar-mobile-logo",{},void 0,!0)])]),key:"0"}:void 0,u.navbarLogo?{name:"logo",fn:e.withCtx(()=>[g.hidden?(e.openBlock(),e.createElementBlock("div",kn,[e.renderSlot(S.$slots,"navbar-logo",{},void 0,!0)])):e.createCommentVNode("",!0)]),key:"1"}:void 0,u.navbarLeft?{name:"left",fn:e.withCtx(()=>[e.renderSlot(S.$slots,"navbar-left",{},void 0,!0)]),key:"2"}:void 0,u.navbarCenter?{name:"center",fn:e.withCtx(()=>[e.renderSlot(S.$slots,"navbar-center",{},void 0,!0)]),key:"3"}:void 0,u.navbarRight?{name:"right",fn:e.withCtx(()=>[e.renderSlot(S.$slots,"navbar-right",{},void 0,!0)]),key:"4"}:void 0]),1032,["left-offset","top-offset"])),g.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(st,{key:1,"bottom-items":g.bottomItems,"header-height":I.value,"mobile-enabled":"","mobile-header-visible":!1,"mobile-top-offset":A.value,open:N.value,"top-items":g.topItems,"top-offset":y.value,onClick:w,onToggle:E},e.createSlots({_:2},[u.sidebarHeader?{name:"header",fn:e.withCtx(()=>[e.renderSlot(S.$slots,"sidebar-header",{},void 0,!0)]),key:"0"}:void 0,u.sidebarTop?{name:"top",fn:e.withCtx(()=>[e.renderSlot(S.$slots,"sidebar-top",{},void 0,!0)]),key:"1"}:void 0,u.sidebarFooter?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(S.$slots,"sidebar-footer",{},void 0,!0)]),key:"2"}:void 0,e.renderList([...g.topItems||[],...g.bottomItems||[]],M=>({name:`sidebar-icon-${M.key}`,fn:e.withCtx(()=>[e.renderSlot(S.$slots,`sidebar-icon-${M.key}`,{},void 0,!0)])}))]),1032,["bottom-items","header-height","mobile-top-offset","open","top-items","top-offset"])),e.createElementVNode("main",wn,[e.createElementVNode("div",Sn,[e.createElementVNode("div",Cn,[_n,e.renderSlot(S.$slots,"app-error",{},void 0,!0),c.value?e.createCommentVNode("",!0):e.renderSlot(S.$slots,"default",{key:0},void 0,!0)])])])],2))}}),[["__scopeId","data-v-47c01124"]]),En={class:"kong-ui-app-page-header"},Nn={key:0,class:"page-header-breadcrumbs","data-testid":"page-header-breadcrumbs"},Tn={class:"page-header-title-section"},Bn={class:"page-header-title-wrapper"},In={key:0,class:"page-header-title-before","data-testid":"page-header-title-before"},$n=["title"],On={key:1,class:"page-header-title-after","data-testid":"page-header-title-after"},An={key:0,class:"page-header-actions","data-testid":"page-header-actions"},xn={key:1,class:"page-header-section-below","data-testid":"page-header-section-below"},Fn=H(e.defineComponent({__name:"AppPageHeader",props:{title:{type:String,default:""},breadcrumbs:{type:Array,default:()=>[]}},setup(n){const a=n,r=e.useSlots(),o=e.computed(()=>{var u;return!!((u=a.breadcrumbs)!=null&&u.length)}),l=e.computed(()=>Object.keys(r).filter(u=>u.startsWith("icon-")));return(u,c)=>{const p=e.resolveComponent("KBreadcrumbs");return e.openBlock(),e.createElementBlock("div",En,[o.value?(e.openBlock(),e.createElementBlock("div",Nn,[e.createVNode(p,{"item-max-width":"150",items:n.breadcrumbs},e.createSlots({_:2},[e.renderList(l.value,g=>({name:g,fn:e.withCtx(()=>[e.renderSlot(u.$slots,g,{},void 0,!0)])}))]),1032,["items"])])):e.createCommentVNode("",!0),e.createElementVNode("div",Tn,[e.createElementVNode("div",Bn,[u.$slots["title-before"]?(e.openBlock(),e.createElementBlock("div",In,[e.renderSlot(u.$slots,"title-before",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("h1",{class:"page-header-title","data-testid":"page-header-title",title:n.title},e.toDisplayString(n.title),9,$n),u.$slots["title-after"]?(e.openBlock(),e.createElementBlock("div",On,[e.renderSlot(u.$slots,"title-after",{},void 0,!0)])):e.createCommentVNode("",!0)]),u.$slots.actions?(e.openBlock(),e.createElementBlock("div",An,[e.renderSlot(u.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)]),u.$slots.below?(e.openBlock(),e.createElementBlock("div",xn,[e.renderSlot(u.$slots,"below",{},void 0,!0)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-204b7f98"]]),Dn={install:(n,a={})=>{n.component(a.name||"AppLayout",dt)}};D.AccountDropdown=Dt,D.AppAboutSection=Gt,D.AppError=ra,D.AppLayout=dt,D.AppNavbar=We,D.AppPageHeader=Fn,D.AppSidebar=st,D.SidebarToggle=lt,D.default=Dn,Object.defineProperties(D,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -1,6 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { SidebarPrimaryItem } from '../types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
4
  hideDefaultSlot: {
5
5
  type: BooleanConstructor;
6
6
  default: boolean;
@@ -30,7 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
30
30
  default: string;
31
31
  validator: (theme: "light" | "dark") => boolean;
32
32
  };
33
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
34
34
  "sidebar-click": (...args: any[]) => void;
35
35
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
36
  hideDefaultSlot: {
@@ -62,9 +62,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
62
62
  default: string;
63
63
  validator: (theme: "light" | "dark") => boolean;
64
64
  };
65
- }>> & Readonly<{
65
+ }>> & {
66
66
  "onSidebar-click"?: ((...args: any[]) => any) | undefined;
67
- }>, {
67
+ }, {
68
68
  hideDefaultSlot: boolean;
69
69
  navbarHidden: boolean;
70
70
  sidebarHidden: boolean;
@@ -72,7 +72,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
72
72
  sidebarTopItems: SidebarPrimaryItem[];
73
73
  sidebarBottomItems: SidebarPrimaryItem[];
74
74
  theme: "light" | "dark";
75
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>> & {
75
+ }, {}>, Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>> & {
76
76
  notification?(_: {}): any;
77
77
  "navbar-mobile-logo"?(_: {}): any;
78
78
  "navbar-logo"?(_: {}): any;
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
2
  title: {
3
3
  type: StringConstructor;
4
4
  default: string;
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
27
27
  type: BooleanConstructor;
28
28
  default: boolean;
29
29
  };
30
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
31
  title: {
32
32
  type: StringConstructor;
33
33
  default: string;
@@ -56,7 +56,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
56
56
  type: BooleanConstructor;
57
57
  default: boolean;
58
58
  };
59
- }>> & Readonly<{}>, {
59
+ }>>, {
60
60
  title: string;
61
61
  description: string;
62
62
  created: string;
@@ -64,7 +64,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
64
64
  modified: string;
65
65
  modifiedLabel: string;
66
66
  isLoading: boolean;
67
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
67
+ }, {}>, {
68
68
  actions?(_: {}): any;
69
69
  default?(_: {}): any;
70
70
  "divider-section"?(_: {}): any;
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
2
  default?(_: {}): any;
3
3
  }>;
4
4
  export default _default;
@@ -1,3 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;
3
3
  //# sourceMappingURL=BananaSplit.vue.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { DropdownItem } from '@kong/kongponents';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
4
  options: {
5
5
  type: PropType<DropdownItem[]>;
6
6
  required: true;
@@ -14,7 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
14
14
  required: true;
15
15
  default: string;
16
16
  };
17
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
18
  options: {
19
19
  type: PropType<DropdownItem[]>;
20
20
  required: true;
@@ -28,10 +28,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
28
28
  required: true;
29
29
  default: string;
30
30
  };
31
- }>> & Readonly<{}>, {
31
+ }>>, {
32
32
  width: string;
33
33
  userInitials: string;
34
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
34
+ }, {}>, {
35
35
  default?(_: {
36
36
  option: DropdownItem;
37
37
  }): any;
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
2
  topOffset: {
3
3
  type: NumberConstructor;
4
4
  default: number;
@@ -11,7 +11,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
11
11
  type: NumberConstructor;
12
12
  default: number;
13
13
  };
14
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
15
  topOffset: {
16
16
  type: NumberConstructor;
17
17
  default: number;
@@ -24,11 +24,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
24
24
  type: NumberConstructor;
25
25
  default: number;
26
26
  };
27
- }>> & Readonly<{}>, {
27
+ }>>, {
28
28
  topOffset: number;
29
29
  leftOffset: number;
30
30
  zIndex: number;
31
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
31
+ }, {}>, {
32
32
  "mobile-sidebar-toggle"?(_: {}): any;
33
33
  "mobile-logo"?(_: {}): any;
34
34
  logo?(_: {}): any;
@@ -1,6 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { BreadcrumbItem } from '@kong/kongponents';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
4
  title: {
5
5
  type: StringConstructor;
6
6
  default: string;
@@ -9,7 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
9
9
  type: PropType<BreadcrumbItem[]>;
10
10
  default: () => never[];
11
11
  };
12
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
13
  title: {
14
14
  type: StringConstructor;
15
15
  default: string;
@@ -18,10 +18,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
18
18
  type: PropType<BreadcrumbItem[]>;
19
19
  default: () => never[];
20
20
  };
21
- }>> & Readonly<{}>, {
21
+ }>>, {
22
22
  title: string;
23
23
  breadcrumbs: BreadcrumbItem[];
24
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Partial<Record<string, (_: {}) => any>> & {
24
+ }, {}>, Partial<Record<string, (_: {}) => any>> & {
25
25
  "title-before"?(_: {}): any;
26
26
  "title-after"?(_: {}): any;
27
27
  actions?(_: {}): any;
@@ -1,6 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { SidebarPrimaryItem } from '../../types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
4
  topItems: {
5
5
  type: PropType<SidebarPrimaryItem[]>;
6
6
  default: () => never[];
@@ -53,7 +53,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
53
53
  type: BooleanConstructor;
54
54
  default: boolean;
55
55
  };
56
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
57
57
  click: (...args: any[]) => void;
58
58
  toggle: (...args: any[]) => void;
59
59
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -109,10 +109,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
109
109
  type: BooleanConstructor;
110
110
  default: boolean;
111
111
  };
112
- }>> & Readonly<{
112
+ }>> & {
113
113
  onClick?: ((...args: any[]) => any) | undefined;
114
114
  onToggle?: ((...args: any[]) => any) | undefined;
115
- }>, {
115
+ }, {
116
116
  topOffset: number;
117
117
  zIndex: number;
118
118
  topItems: SidebarPrimaryItem[];
@@ -126,7 +126,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
126
126
  mobileOverlay: boolean;
127
127
  mobileOverlayZIndex: number;
128
128
  mobileOverlayCloseOnClick: boolean;
129
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>> & Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>> & {
129
+ }, {}>, Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>> & Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>> & {
130
130
  header?(_: {}): any;
131
131
  top?(_: {}): any;
132
132
  footer?(_: {}): any;
@@ -1,17 +1,17 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1
+ declare const _default: import("vue").DefineComponent<{
2
2
  count: {
3
3
  type: NumberConstructor;
4
4
  required: true;
5
5
  default: undefined;
6
6
  };
7
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
8
8
  count: {
9
9
  type: NumberConstructor;
10
10
  required: true;
11
11
  default: undefined;
12
12
  };
13
- }>> & Readonly<{}>, {
13
+ }>>, {
14
14
  count: number;
15
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ }, {}>;
16
16
  export default _default;
17
17
  //# sourceMappingURL=ItemBadge.vue.d.ts.map