@kong-ui-public/app-layout 4.10.10 → 4.10.11
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.
- package/dist/app-layout.es.js +533 -515
- package/dist/app-layout.umd.js +7 -7
- package/dist/types/components/AppLayout.vue.d.ts +17 -16
- package/dist/types/components/AppLayout.vue.d.ts.map +1 -1
- package/dist/types/components/aboutSection/AppAboutSection.vue.d.ts +8 -7
- package/dist/types/components/aboutSection/AppAboutSection.vue.d.ts.map +1 -1
- package/dist/types/components/errors/AppError.vue.d.ts +5 -4
- package/dist/types/components/errors/AppError.vue.d.ts.map +1 -1
- package/dist/types/components/gradientBadge/GradientBadge.vue.d.ts +4 -3
- package/dist/types/components/gradientBadge/GradientBadge.vue.d.ts.map +1 -1
- package/dist/types/components/icons/BananaSplit.vue.d.ts +2 -1
- package/dist/types/components/icons/BananaSplit.vue.d.ts.map +1 -1
- package/dist/types/components/navbar/AccountDropdown.vue.d.ts +7 -6
- package/dist/types/components/navbar/AccountDropdown.vue.d.ts.map +1 -1
- package/dist/types/components/navbar/AppNavbar.vue.d.ts +4 -3
- package/dist/types/components/navbar/AppNavbar.vue.d.ts.map +1 -1
- package/dist/types/components/pageHeader/AppPageHeader.vue.d.ts +10 -9
- package/dist/types/components/pageHeader/AppPageHeader.vue.d.ts.map +1 -1
- package/dist/types/components/pageInfoSection/AppPageInfoSection.vue.d.ts +8 -7
- package/dist/types/components/pageInfoSection/AppPageInfoSection.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/AppSidebar.vue.d.ts +11 -10
- package/dist/types/components/sidebar/AppSidebar.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/ItemBadge.vue.d.ts +3 -2
- package/dist/types/components/sidebar/ItemBadge.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/SidebarItem.vue.d.ts +7 -6
- package/dist/types/components/sidebar/SidebarItem.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/SidebarToggle.vue.d.ts +3 -2
- package/dist/types/components/sidebar/SidebarToggle.vue.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/app-layout.umd.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
(function(x,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@kong/icons"),require("@kong/kongponents")):typeof define=="function"&&define.amd?define(["exports","vue","@kong/icons","@kong/kongponents"],e):(x=typeof globalThis<"u"?globalThis:x||self,e(x["kong-ui-public-app-layout"]={},x.Vue,x.KongIcons,x.Kongponents))})(this,function(x,e,Ae,Xe){"use strict";const Mt=e.defineComponent({__name:"AccountDropdown",props:{options:{type:Array,required:!0},width:{type:String,default:"240"},userInitials:{type:String,required:!0,default:" "}},setup(a){return(n,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":a.userInitials,width:a.width},{items:e.withCtx(({handleSelection:u})=>[e.renderSlot(n.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.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:f=>u(c)},{default:e.withCtx(()=>[e.renderSlot(n.$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"])}}}),q=(a,n)=>{const r=a.__vccOpts||a;for(const[o,l]of n)r[o]=l;return r},jt=q(Mt,[["__scopeId","data-v-b33191a2"]]),Pt={class:"about-section-title","data-testid":"about-section-title"},Kt={class:"about-section-header-end"},Zt={key:0,class:"about-section-timestamps-created","data-testid":"about-section-timestamps-created"},zt={key:1,class:"about-section-timestamps-arrow"},Ht={key:2,class:"about-section-timestamps-modified","data-testid":"about-section-timestamps-modified"},Wt={key:1,class:"about-section-actions","data-testid":"about-section-actions"},Gt={key:0,"data-testid":"about-section-loading-skeleton"},Ut={key:1},qt={key:0,class:"about-section-description","data-testid":"about-section-description"},Xt={key:1,class:"about-section-content","data-testid":"about-section-content"},Yt={key:2,"data-testid":"about-divider-section-separator"},Qt={key:3,class:"about-divider-section","data-testid":"about-divider-section"},Jt=q(e.defineComponent({__name:"AppAboutSection",props:{title:{default:""},description:{default:""},created:{default:""},createdLabel:{default:"Created"},modified:{default:""},modifiedLabel:{default:"Modified"},isLoading:{type:Boolean,default:!1}},setup(a){const n=a,r=e.computed(()=>!!n.modified&&n.modified!==n.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(()=>[a.isLoading?(e.openBlock(),e.createElementBlock("div",Gt,[e.createVNode(u,{height:"2",width:"100"}),e.createVNode(u,{height:"2",width:"100"})])):(e.openBlock(),e.createElementBlock("div",Ut,[a.description?(e.openBlock(),e.createElementBlock("p",qt,e.toDisplayString(a.description),1)):e.createCommentVNode("",!0),o.$slots.default?(e.openBlock(),e.createElementBlock("div",Xt,[e.renderSlot(o.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),o.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("hr",Yt)):e.createCommentVNode("",!0),o.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("div",Qt,[e.renderSlot(o.$slots,"divider-section",{},void 0,!0)])):e.createCommentVNode("",!0)]))]),_:2},[o.$slots.title||a.title?{name:"title",fn:e.withCtx(()=>[e.createElementVNode("span",Pt,[e.renderSlot(o.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(a.title),1)],!0)])]),key:"0"}:void 0,o.$slots.actions||a.created||a.modified?{name:"actions",fn:e.withCtx(()=>[e.createElementVNode("div",Kt,[a.created||a.modified?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["about-section-timestamps",{"has-actions":o.$slots.actions}])},[a.created?(e.openBlock(),e.createElementBlock("span",Zt,e.toDisplayString(a.createdLabel)+": "+e.toDisplayString(a.created),1)):e.createCommentVNode("",!0),a.created&&r.value?(e.openBlock(),e.createElementBlock("span",zt,"->")):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("span",Ht,e.toDisplayString(a.modifiedLabel)+": "+e.toDisplayString(a.modified),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),o.$slots.actions?(e.openBlock(),e.createElementBlock("div",Wt,[e.renderSlot(o.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)])]),key:"1"}:void 0]),1024)}}}),[["__scopeId","data-v-f5864a9c"]]),en={},tn={fill:"none",height:"130",width:"130",xmlns:"http://www.w3.org/2000/svg"};function nn(a,n){return e.openBlock(),e.createElementBlock("svg",tn,[...n[0]||(n[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 an=q(en,[["render",nn]]),on={class:"kong-ui-app-error"},rn={class:"banana-icon"},cn={class:"kong-ui-app-error-content"},ln=q(e.defineComponent({__name:"AppError",setup(a){return(n,r)=>(e.openBlock(),e.createElementBlock("section",on,[e.createElementVNode("div",rn,[e.createVNode(an)]),e.createElementVNode("div",cn,[e.renderSlot(n.$slots,"default",{},()=>[r[0]||(r[0]=e.createElementVNode("h2",null,"An unexpected error has occurred",-1)),r[1]||(r[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-b6d8dc55"]]),sn={class:"kong-ui-app-navbar"},dn={class:"header-content"},un={class:"mobile-header-left"},fn={key:0,class:"app-navbar-logo"},mn={class:"navbar-content"},pn={class:"navbar-content-left"},bn={class:"navbar-content-center"},hn={class:"navbar-content-right"},Ye=q(e.defineComponent({__name:"AppNavbar",props:{topOffset:{type:Number,default:0},leftOffset:{type:Number,default:240},zIndex:{type:Number,default:3}},setup(a){e.useCssVars(c=>({v27c93a10:u.value.top,v0f284bf5:u.value.zIndex,d1659a78:u.value.left,v3d9232e8:l.marginRight,v038c3c78:l.width}));const n=a,r=e.useSlots(),o=e.computed(()=>!!r.logo),l=e.reactive({marginRight:"0",width:"0"});e.onMounted(()=>{var c,f;(f=(c=document==null?void 0:document.querySelector(".kong-ui-app-navbar .app-navbar-logo"))==null?void 0:c.children)!=null&&f.length?(l.marginRight="32px",l.width="calc(240px - 32px)"):(l.marginRight="0",l.width="0")});const u=e.computed(()=>({top:n.topOffset?`${n.topOffset}px`:"0",left:n.leftOffset?`${n.leftOffset}px`:"0",zIndex:n.zIndex}));return(c,f)=>(e.openBlock(),e.createElementBlock("header",sn,[e.createElementVNode("div",dn,[e.createElementVNode("div",un,[e.renderSlot(c.$slots,"mobile-sidebar-toggle"),e.renderSlot(c.$slots,"mobile-logo")]),o.value?(e.openBlock(),e.createElementBlock("div",fn,[e.renderSlot(c.$slots,"logo")])):e.createCommentVNode("",!0),e.createElementVNode("div",mn,[e.createElementVNode("div",pn,[e.renderSlot(c.$slots,"left")]),e.createElementVNode("div",bn,[e.renderSlot(c.$slots,"center")]),e.createElementVNode("div",hn,[e.renderSlot(c.$slots,"right")])])])]))}}),[["__scopeId","data-v-2f6fc50f"]]);function gn(a){return e.getCurrentScope()?(e.onScopeDispose(a),!0):!1}const Fe=new WeakMap,yn=(...a)=>{var n;const r=a[0],o=(n=e.getCurrentInstance())==null?void 0:n.proxy;if(o==null&&!e.hasInjectionContext())throw new Error("injectLocal must be called in setup");return o&&Fe.has(o)&&r in Fe.get(o)?Fe.get(o)[r]:e.inject(...a)},vn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const kn=Object.prototype.toString,wn=a=>kn.call(a)==="[object Object]";function Qe(a){return a.endsWith("rem")?Number.parseFloat(a)*16:Number.parseFloat(a)}function De(a){return Array.isArray(a)?a:[a]}function Cn(a,n,r){return e.watch(a,n,{...r,immediate:!0})}const Je=vn?window:void 0;function Sn(a){var n;const r=e.toValue(a);return(n=r==null?void 0:r.$el)!=null?n:r}function En(...a){const n=[],r=()=>{n.forEach(f=>f()),n.length=0},o=(f,b,w,C)=>(f.addEventListener(b,w,C),()=>f.removeEventListener(b,w,C)),l=e.computed(()=>{const f=De(e.toValue(a[0])).filter(b=>b!=null);return f.every(b=>typeof b!="string")?f:void 0}),u=Cn(()=>{var f,b;return[(b=(f=l.value)==null?void 0:f.map(w=>Sn(w)))!=null?b:[Je].filter(w=>w!=null),De(e.toValue(l.value?a[1]:a[0])),De(e.unref(l.value?a[2]:a[1])),e.toValue(l.value?a[3]:a[2])]},([f,b,w,C])=>{if(r(),!(f!=null&&f.length)||!(b!=null&&b.length)||!(w!=null&&w.length))return;const $=wn(C)?{...C}:C;n.push(...f.flatMap(O=>b.flatMap(D=>w.map(B=>o(O,D,B,$)))))},{flush:"post"}),c=()=>{u(),r()};return gn(r),c}function Bn(){const a=e.shallowRef(!1),n=e.getCurrentInstance();return n&&e.onMounted(()=>{a.value=!0},n),a}function Tn(a){const n=Bn();return e.computed(()=>(n.value,!!a()))}const _n=Symbol("vueuse-ssr-width");function Nn(){const a=e.hasInjectionContext()?yn(_n,null):null;return typeof a=="number"?a:void 0}function In(a,n={}){const{window:r=Je,ssrWidth:o=Nn()}=n,l=Tn(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function"),u=e.shallowRef(typeof o=="number"),c=e.shallowRef(),f=e.shallowRef(!1),b=w=>{f.value=w.matches};return e.watchEffect(()=>{if(u.value){u.value=!l.value;const w=e.toValue(a).split(",");f.value=w.some(C=>{const $=C.includes("not all"),O=C.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),D=C.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let B=!!(O||D);return O&&B&&(B=o>=Qe(O[1])),D&&B&&(B=o<=Qe(D[1])),$?!B:B});return}l.value&&(c.value=r.matchMedia(e.toValue(a)),f.value=c.value.matches)}),En(c,"change",b,{passive:!0}),e.computed(()=>f.value)}const $n="#ffffff",On="#000933",An="#000933",Fn="#ffffff",Dn="0px",xn="4px",Vn="640px",Rn="16px",Ln="#bee2ff",Mn=["title"],xe=99,jn=q(e.defineComponent({__name:"ItemBadge",props:{count:{type:Number,required:!0,default:void 0}},setup(a){const n=a,r=e.computed(()=>n.count?n.count>xe?`${xe}+`:n.count.toString():"");return(o,l)=>r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"item-badge",title:(a.count||0)>xe?String(a.count):void 0},e.toDisplayString(r.value),9,Mn)):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-afb0d903"]]),Pn=["data-testid"],Kn=["aria-controls","aria-current","aria-expanded","href","target","onClick","onKeypress"],Zn={key:0,class:"sidebar-item-icon"},zn={class:"sidebar-item-name-container"},Hn={class:"sidebar-item-name has-tooltip"},Wn={key:2,class:"sidebar-item-label truncate-text truncate-18"},Gn={key:1,class:"sidebar-item-after"},Un=["id"],et=q(e.defineComponent({__name:"SidebarItem",props:{item:{type:Object,required:!0},subnavItem:{type:Boolean,default:!1}},emits:["click"],setup(a,{emit:n}){const r=n,o=a,l=e.useSlots(),u=e.computed(()=>typeof o.item.to!="string"?!1:!!o.item.newWindow||!!o.item.external||o.item.to.startsWith("http")),c=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("/"))),f=e.computed(()=>o.subnavItem&&o.item.badgeCount!==void 0&&o.item.badgeCount!==0||!!l[`sidebar-after-${o.item.key}`]),b=C=>{r("click",C)},w=(C,$,O)=>{b($),typeof O=="function"&&(C.preventDefault(),O())};return(C,$)=>{var B;const O=e.resolveComponent("KTooltip"),D=e.resolveComponent("SidebarItem",!0);return e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass([a.subnavItem?"sidebar-item-secondary":"sidebar-item-primary",{expanded:a.item.expanded},{active:a.item.active}]),"data-testid":a.item.testId?`sidebar-item-${a.item.testId}`:void 0},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.value?"div":"router-link"),{custom:u.value?void 0:!0,to:!u.value&&!c.value?a.item.to:void 0},{default:e.withCtx(F=>{var X,V;return[e.createElementVNode("a",{"aria-controls":(X=a.item.items)!=null&&X.length&&a.item.expanded?`subnav-${a.item.key}`:void 0,"aria-current":a.item.active?"page":void 0,"aria-expanded":(V=a.item.items)!=null&&V.length&&a.item.expanded?!0:void 0,class:e.normalizeClass(["sidebar-item-link",{"sidebar-item-external-link":c.value,"router-link":!u.value}]),href:u.value?String(a.item.to||"#"):F==null?void 0:F.href,target:c.value?"_blank":void 0,onClick:M=>w(M,a.item,F==null?void 0:F.navigate),onKeypress:e.withKeys(M=>w(M,a.item,F==null?void 0:F.navigate),["enter"])},[e.createElementVNode("div",{class:e.normalizeClass(["sidebar-item-display",{"has-label":!!a.item.label&&a.item.expanded,"has-after-content":f.value}])},[C.$slots[`sidebar-icon-${a.item.key}`]?(e.openBlock(),e.createElementBlock("div",Zn,[a.subnavItem?e.createCommentVNode("",!0):e.renderSlot(C.$slots,`sidebar-icon-${a.item.key}`,{key:0},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",zn,[(a.subnavItem&&!f.value?a.item.name.length<25:a.item.name.length<18)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["sidebar-item-name truncate-text",[a.subnavItem?"has-after-content-max-width truncate-24":"truncate-17"]])},e.toDisplayString(a.item.name),3)):(e.openBlock(),e.createBlock(O,{key:1,class:"sidebar-item-tooltip",placement:"right","position-fixed":"",text:a.item.name},{default:e.withCtx(()=>[e.createElementVNode("div",Hn,[e.createElementVNode("span",{class:e.normalizeClass(["truncate-text",[a.subnavItem?"truncate-18":"truncate-17",{"has-after-content-max-width":f.value}]])},e.toDisplayString(a.item.name),3)])]),_:1},8,["text"])),a.item.label&&a.item.expanded?(e.openBlock(),e.createElementBlock("div",Wn,e.toDisplayString(a.item.label),1)):e.createCommentVNode("",!0)]),f.value?(e.openBlock(),e.createElementBlock("div",Gn,[a.item.badgeCount?(e.openBlock(),e.createBlock(jn,{key:0,count:a.item.badgeCount},null,8,["count"])):e.renderSlot(C.$slots,`sidebar-after-${a.item.key}`,{key:1},void 0,!0)])):e.createCommentVNode("",!0)],2)],42,Kn)]}),_:3},8,["custom","to"])),(B=a.item.items)!=null&&B.length&&a.item.expanded?(e.openBlock(),e.createElementBlock("ul",{key:0,id:`subnav-${a.item.key}`,class:"level-secondary"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.item.items,F=>(e.openBlock(),e.createBlock(D,{key:F.name,item:F,"subnav-item":!0,onClick:X=>b(F)},null,8,["item","onClick"]))),128))],8,Un)):e.createCommentVNode("",!0)],10,Pn)}}}),[["__scopeId","data-v-7ea61d78"]]);/*!
|
|
2
|
-
* tabbable 6.
|
|
1
|
+
(function(x,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@kong/icons"),require("@kong/kongponents")):typeof define=="function"&&define.amd?define(["exports","vue","@kong/icons","@kong/kongponents"],e):(x=typeof globalThis<"u"?globalThis:x||self,e(x["kong-ui-public-app-layout"]={},x.Vue,x.KongIcons,x.Kongponents))})(this,function(x,e,Fe,Ye){"use strict";const Pt=e.defineComponent({__name:"AccountDropdown",props:{options:{type:Array,required:!0},width:{type:String,default:"240"},userInitials:{type:String,required:!0,default:" "}},setup(a){return(n,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":a.userInitials,width:a.width},{items:e.withCtx(({handleSelection:u})=>[e.renderSlot(n.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.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:f=>u(c)},{default:e.withCtx(()=>[e.renderSlot(n.$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"])}}}),q=(a,n)=>{const r=a.__vccOpts||a;for(const[o,l]of n)r[o]=l;return r},jt=q(Pt,[["__scopeId","data-v-b33191a2"]]),Kt={class:"about-section-title","data-testid":"about-section-title"},Zt={class:"about-section-header-end"},zt={key:0,class:"about-section-timestamps-created","data-testid":"about-section-timestamps-created"},Ht={key:1,class:"about-section-timestamps-arrow"},Wt={key:2,class:"about-section-timestamps-modified","data-testid":"about-section-timestamps-modified"},Gt={key:1,class:"about-section-actions","data-testid":"about-section-actions"},Ut={key:0,"data-testid":"about-section-loading-skeleton"},qt={key:1},Xt={key:0,class:"about-section-description","data-testid":"about-section-description"},Yt={key:1,class:"about-section-content","data-testid":"about-section-content"},Qt={key:2,"data-testid":"about-divider-section-separator"},Jt={key:3,class:"about-divider-section","data-testid":"about-divider-section"},en=q(e.defineComponent({__name:"AppAboutSection",props:{title:{default:""},description:{default:""},created:{default:""},createdLabel:{default:"Created"},modified:{default:""},modifiedLabel:{default:"Modified"},isLoading:{type:Boolean,default:!1}},setup(a){const n=a,r=e.computed(()=>!!n.modified&&n.modified!==n.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(()=>[a.isLoading?(e.openBlock(),e.createElementBlock("div",Ut,[e.createVNode(u,{height:"2",width:"100"}),e.createVNode(u,{height:"2",width:"100"})])):(e.openBlock(),e.createElementBlock("div",qt,[a.description?(e.openBlock(),e.createElementBlock("p",Xt,e.toDisplayString(a.description),1)):e.createCommentVNode("",!0),o.$slots.default?(e.openBlock(),e.createElementBlock("div",Yt,[e.renderSlot(o.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),o.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("hr",Qt)):e.createCommentVNode("",!0),o.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("div",Jt,[e.renderSlot(o.$slots,"divider-section",{},void 0,!0)])):e.createCommentVNode("",!0)]))]),_:2},[o.$slots.title||a.title?{name:"title",fn:e.withCtx(()=>[e.createElementVNode("span",Kt,[e.renderSlot(o.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(a.title),1)],!0)])]),key:"0"}:void 0,o.$slots.actions||a.created||a.modified?{name:"actions",fn:e.withCtx(()=>[e.createElementVNode("div",Zt,[a.created||a.modified?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["about-section-timestamps",{"has-actions":o.$slots.actions}])},[a.created?(e.openBlock(),e.createElementBlock("span",zt,e.toDisplayString(a.createdLabel)+": "+e.toDisplayString(a.created),1)):e.createCommentVNode("",!0),a.created&&r.value?(e.openBlock(),e.createElementBlock("span",Ht,"->")):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("span",Wt,e.toDisplayString(a.modifiedLabel)+": "+e.toDisplayString(a.modified),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),o.$slots.actions?(e.openBlock(),e.createElementBlock("div",Gt,[e.renderSlot(o.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)])]),key:"1"}:void 0]),1024)}}}),[["__scopeId","data-v-f5864a9c"]]),tn={},nn={fill:"none",height:"130",width:"130",xmlns:"http://www.w3.org/2000/svg"};function an(a,n){return e.openBlock(),e.createElementBlock("svg",nn,[...n[0]||(n[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 on=q(tn,[["render",an]]),rn={class:"kong-ui-app-error"},cn={class:"banana-icon"},ln={class:"kong-ui-app-error-content"},sn=q(e.defineComponent({__name:"AppError",setup(a){return(n,r)=>(e.openBlock(),e.createElementBlock("section",rn,[e.createElementVNode("div",cn,[e.createVNode(on)]),e.createElementVNode("div",ln,[e.renderSlot(n.$slots,"default",{},()=>[r[0]||(r[0]=e.createElementVNode("h2",null,"An unexpected error has occurred",-1)),r[1]||(r[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-b6d8dc55"]]),dn={class:"kong-ui-app-navbar"},un={class:"header-content"},fn={class:"mobile-header-left"},pn={key:0,class:"app-navbar-logo"},mn={class:"navbar-content"},bn={class:"navbar-content-left"},hn={class:"navbar-content-center"},gn={class:"navbar-content-right"},Qe=q(e.defineComponent({__name:"AppNavbar",props:{topOffset:{type:Number,default:0},leftOffset:{type:Number,default:240},zIndex:{type:Number,default:3}},setup(a){e.useCssVars(c=>({v27c93a10:u.value.top,v0f284bf5:u.value.zIndex,d1659a78:u.value.left,v3d9232e8:l.marginRight,v038c3c78:l.width}));const n=a,r=e.useSlots(),o=e.computed(()=>!!r.logo),l=e.reactive({marginRight:"0",width:"0"});e.onMounted(()=>{var c,f;(f=(c=document==null?void 0:document.querySelector(".kong-ui-app-navbar .app-navbar-logo"))==null?void 0:c.children)!=null&&f.length?(l.marginRight="32px",l.width="calc(240px - 32px)"):(l.marginRight="0",l.width="0")});const u=e.computed(()=>({top:n.topOffset?`${n.topOffset}px`:"0",left:n.leftOffset?`${n.leftOffset}px`:"0",zIndex:n.zIndex}));return(c,f)=>(e.openBlock(),e.createElementBlock("header",dn,[e.createElementVNode("div",un,[e.createElementVNode("div",fn,[e.renderSlot(c.$slots,"mobile-sidebar-toggle"),e.renderSlot(c.$slots,"mobile-logo")]),o.value?(e.openBlock(),e.createElementBlock("div",pn,[e.renderSlot(c.$slots,"logo")])):e.createCommentVNode("",!0),e.createElementVNode("div",mn,[e.createElementVNode("div",bn,[e.renderSlot(c.$slots,"left")]),e.createElementVNode("div",hn,[e.renderSlot(c.$slots,"center")]),e.createElementVNode("div",gn,[e.renderSlot(c.$slots,"right")])])])]))}}),[["__scopeId","data-v-2f6fc50f"]]);function yn(a){return e.getCurrentScope()?(e.onScopeDispose(a),!0):!1}const De=new WeakMap,vn=(...a)=>{var n;const r=a[0],o=(n=e.getCurrentInstance())==null?void 0:n.proxy;if(o==null&&!e.hasInjectionContext())throw new Error("injectLocal must be called in setup");return o&&De.has(o)&&r in De.get(o)?De.get(o)[r]:e.inject(...a)},kn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const wn=Object.prototype.toString,Cn=a=>wn.call(a)==="[object Object]";function Je(a){return a.endsWith("rem")?Number.parseFloat(a)*16:Number.parseFloat(a)}function xe(a){return Array.isArray(a)?a:[a]}function Sn(a,n,r){return e.watch(a,n,{...r,immediate:!0})}const et=kn?window:void 0;function En(a){var n;const r=e.toValue(a);return(n=r==null?void 0:r.$el)!=null?n:r}function Bn(...a){const n=[],r=()=>{n.forEach(f=>f()),n.length=0},o=(f,b,k,C)=>(f.addEventListener(b,k,C),()=>f.removeEventListener(b,k,C)),l=e.computed(()=>{const f=xe(e.toValue(a[0])).filter(b=>b!=null);return f.every(b=>typeof b!="string")?f:void 0}),u=Sn(()=>{var f,b;return[(b=(f=l.value)==null?void 0:f.map(k=>En(k)))!=null?b:[et].filter(k=>k!=null),xe(e.toValue(l.value?a[1]:a[0])),xe(e.unref(l.value?a[2]:a[1])),e.toValue(l.value?a[3]:a[2])]},([f,b,k,C])=>{if(r(),!(f!=null&&f.length)||!(b!=null&&b.length)||!(k!=null&&k.length))return;const $=Cn(C)?{...C}:C;n.push(...f.flatMap(O=>b.flatMap(D=>k.map(B=>o(O,D,B,$)))))},{flush:"post"}),c=()=>{u(),r()};return yn(r),c}function _n(){const a=e.shallowRef(!1),n=e.getCurrentInstance();return n&&e.onMounted(()=>{a.value=!0},n),a}function Tn(a){const n=_n();return e.computed(()=>(n.value,!!a()))}const Nn=Symbol("vueuse-ssr-width");function In(){const a=e.hasInjectionContext()?vn(Nn,null):null;return typeof a=="number"?a:void 0}function $n(a,n={}){const{window:r=et,ssrWidth:o=In()}=n,l=Tn(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function"),u=e.shallowRef(typeof o=="number"),c=e.shallowRef(),f=e.shallowRef(!1),b=k=>{f.value=k.matches};return e.watchEffect(()=>{if(u.value){u.value=!l.value;const k=e.toValue(a).split(",");f.value=k.some(C=>{const $=C.includes("not all"),O=C.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),D=C.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let B=!!(O||D);return O&&B&&(B=o>=Je(O[1])),D&&B&&(B=o<=Je(D[1])),$?!B:B});return}l.value&&(c.value=r.matchMedia(e.toValue(a)),f.value=c.value.matches)}),Bn(c,"change",b,{passive:!0}),e.computed(()=>f.value)}const On="#ffffff",An="#000933",Fn="#000933",Dn="#ffffff",xn="0px",Vn="4px",Rn="640px",Ln="16px",Mn="#bee2ff",Pn=["title"],Ve=99,jn=q(e.defineComponent({__name:"ItemBadge",props:{count:{type:Number,required:!0,default:void 0}},setup(a){const n=a,r=e.computed(()=>n.count?n.count>Ve?`${Ve}+`:n.count.toString():"");return(o,l)=>r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"item-badge",title:(a.count||0)>Ve?String(a.count):void 0},e.toDisplayString(r.value),9,Pn)):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-afb0d903"]]),Kn=["data-testid"],Zn=["aria-controls","aria-current","aria-expanded","href","target","onClick","onKeypress"],zn={key:0,class:"sidebar-item-icon"},Hn={class:"sidebar-item-name-container"},Wn={class:"sidebar-item-name has-tooltip"},Gn={key:2,class:"sidebar-item-label truncate-text truncate-18"},Un={key:1,class:"sidebar-item-after"},qn=["id"],tt=q(e.defineComponent({__name:"SidebarItem",props:{item:{type:Object,required:!0},subnavItem:{type:Boolean,default:!1}},emits:["click"],setup(a,{emit:n}){const r=n,o=a,l=e.useSlots(),u=e.computed(()=>typeof o.item.to!="string"?!1:!!o.item.newWindow||!!o.item.external||o.item.to.startsWith("http")),c=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("/"))),f=e.computed(()=>o.subnavItem&&o.item.badgeCount!==void 0&&o.item.badgeCount!==0||!!l[`sidebar-after-${o.item.key}`]),b=C=>{r("click",C)},k=(C,$,O)=>{b($),typeof O=="function"&&(C.preventDefault(),O())};return(C,$)=>{var B;const O=e.resolveComponent("KTooltip"),D=e.resolveComponent("SidebarItem",!0);return e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass([a.subnavItem?"sidebar-item-secondary":"sidebar-item-primary",{expanded:a.item.expanded},{active:a.item.active}]),"data-testid":a.item.testId?`sidebar-item-${a.item.testId}`:void 0},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.value?"div":"router-link"),{custom:u.value?void 0:!0,to:!u.value&&!c.value?a.item.to:void 0},{default:e.withCtx(F=>{var X,V;return[e.createElementVNode("a",{"aria-controls":(X=a.item.items)!=null&&X.length&&a.item.expanded?`subnav-${a.item.key}`:void 0,"aria-current":a.item.active?"page":void 0,"aria-expanded":(V=a.item.items)!=null&&V.length&&a.item.expanded?!0:void 0,class:e.normalizeClass(["sidebar-item-link",{"sidebar-item-external-link":c.value,"router-link":!u.value}]),href:u.value?String(a.item.to||"#"):F==null?void 0:F.href,target:c.value?"_blank":void 0,onClick:M=>k(M,a.item,F==null?void 0:F.navigate),onKeypress:e.withKeys(M=>k(M,a.item,F==null?void 0:F.navigate),["enter"])},[e.createElementVNode("div",{class:e.normalizeClass(["sidebar-item-display",{"has-label":!!a.item.label&&a.item.expanded,"has-after-content":f.value}])},[C.$slots[`sidebar-icon-${a.item.key}`]?(e.openBlock(),e.createElementBlock("div",zn,[a.subnavItem?e.createCommentVNode("",!0):e.renderSlot(C.$slots,`sidebar-icon-${a.item.key}`,{key:0},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Hn,[(a.subnavItem&&!f.value?a.item.name.length<25:a.item.name.length<18)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["sidebar-item-name truncate-text",[a.subnavItem?"has-after-content-max-width truncate-24":"truncate-17"]])},e.toDisplayString(a.item.name),3)):(e.openBlock(),e.createBlock(O,{key:1,class:"sidebar-item-tooltip",placement:"right","position-fixed":"",text:a.item.name},{default:e.withCtx(()=>[e.createElementVNode("div",Wn,[e.createElementVNode("span",{class:e.normalizeClass(["truncate-text",[a.subnavItem?"truncate-18":"truncate-17",{"has-after-content-max-width":f.value}]])},e.toDisplayString(a.item.name),3)])]),_:1},8,["text"])),a.item.label&&a.item.expanded?(e.openBlock(),e.createElementBlock("div",Gn,e.toDisplayString(a.item.label),1)):e.createCommentVNode("",!0)]),f.value?(e.openBlock(),e.createElementBlock("div",Un,[a.item.badgeCount?(e.openBlock(),e.createBlock(jn,{key:0,count:a.item.badgeCount},null,8,["count"])):e.renderSlot(C.$slots,`sidebar-after-${a.item.key}`,{key:1},void 0,!0)])):e.createCommentVNode("",!0)],2)],42,Zn)]}),_:3},8,["custom","to"])),(B=a.item.items)!=null&&B.length&&a.item.expanded?(e.openBlock(),e.createElementBlock("ul",{key:0,id:`subnav-${a.item.key}`,class:"level-secondary"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.item.items,F=>(e.openBlock(),e.createBlock(D,{key:F.name,item:F,"subnav-item":!0,onClick:X=>b(F)},null,8,["item","onClick"]))),128))],8,qn)):e.createCommentVNode("",!0)],10,Kn)}}}),[["__scopeId","data-v-7ea61d78"]]);/*!
|
|
2
|
+
* tabbable 6.3.0
|
|
3
3
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
4
|
-
*/var
|
|
5
|
-
* focus-trap 7.6.
|
|
4
|
+
*/var nt=["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])"],ke=nt.join(","),at=typeof Element>"u",oe=at?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,we=!at&&Element.prototype.getRootNode?function(a){var n;return a==null||(n=a.getRootNode)===null||n===void 0?void 0:n.call(a)}:function(a){return a==null?void 0:a.ownerDocument},be=function(n,r){var o;r===void 0&&(r=!0);var l=n==null||(o=n.getAttribute)===null||o===void 0?void 0:o.call(n,"inert"),u=l===""||l==="true",c=u||r&&n&&be(n.parentNode);return c},Xn=function(n){var r,o=n==null||(r=n.getAttribute)===null||r===void 0?void 0:r.call(n,"contenteditable");return o===""||o==="true"},ot=function(n,r,o){if(be(n))return[];var l=Array.prototype.slice.apply(n.querySelectorAll(ke));return r&&oe.call(n,ke)&&l.unshift(n),l=l.filter(o),l},Ce=function(n,r,o){for(var l=[],u=Array.from(n);u.length;){var c=u.shift();if(!be(c,!1))if(c.tagName==="SLOT"){var f=c.assignedElements(),b=f.length?f:c.children,k=Ce(b,!0,o);o.flatten?l.push.apply(l,k):l.push({scopeParent:c,candidates:k})}else{var C=oe.call(c,ke);C&&o.filter(c)&&(r||!n.includes(c))&&l.push(c);var $=c.shadowRoot||typeof o.getShadowRoot=="function"&&o.getShadowRoot(c),O=!be($,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(c));if($&&O){var D=Ce($===!0?c.children:$.children,!0,o);o.flatten?l.push.apply(l,D):l.push({scopeParent:c,candidates:D})}else u.unshift.apply(u,c.children)}}return l},rt=function(n){return!isNaN(parseInt(n.getAttribute("tabindex"),10))},re=function(n){if(!n)throw new Error("No node provided");return n.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||Xn(n))&&!rt(n)?0:n.tabIndex},Yn=function(n,r){var o=re(n);return o<0&&r&&!rt(n)?0:o},Qn=function(n,r){return n.tabIndex===r.tabIndex?n.documentOrder-r.documentOrder:n.tabIndex-r.tabIndex},it=function(n){return n.tagName==="INPUT"},Jn=function(n){return it(n)&&n.type==="hidden"},ea=function(n){var r=n.tagName==="DETAILS"&&Array.prototype.slice.apply(n.children).some(function(o){return o.tagName==="SUMMARY"});return r},ta=function(n,r){for(var o=0;o<n.length;o++)if(n[o].checked&&n[o].form===r)return n[o]},na=function(n){if(!n.name)return!0;var r=n.form||we(n),o=function(f){return r.querySelectorAll('input[type="radio"][name="'+f+'"]')},l;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")l=o(window.CSS.escape(n.name));else try{l=o(n.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=ta(l,n.form);return!u||u===n},aa=function(n){return it(n)&&n.type==="radio"},oa=function(n){return aa(n)&&!na(n)},ra=function(n){var r,o=n&&we(n),l=(r=o)===null||r===void 0?void 0:r.host,u=!1;if(o&&o!==n){var c,f,b;for(u=!!((c=l)!==null&&c!==void 0&&(f=c.ownerDocument)!==null&&f!==void 0&&f.contains(l)||n!=null&&(b=n.ownerDocument)!==null&&b!==void 0&&b.contains(n));!u&&l;){var k,C,$;o=we(l),l=(k=o)===null||k===void 0?void 0:k.host,u=!!((C=l)!==null&&C!==void 0&&($=C.ownerDocument)!==null&&$!==void 0&&$.contains(l))}}return u},ct=function(n){var r=n.getBoundingClientRect(),o=r.width,l=r.height;return o===0&&l===0},ia=function(n,r){var o=r.displayCheck,l=r.getShadowRoot;if(o==="full-native"&&"checkVisibility"in n){var u=n.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!u}if(getComputedStyle(n).visibility==="hidden")return!0;var c=oe.call(n,"details>summary:first-of-type"),f=c?n.parentElement:n;if(oe.call(f,"details:not([open]) *"))return!0;if(!o||o==="full"||o==="full-native"||o==="legacy-full"){if(typeof l=="function"){for(var b=n;n;){var k=n.parentElement,C=we(n);if(k&&!k.shadowRoot&&l(k)===!0)return ct(n);n.assignedSlot?n=n.assignedSlot:!k&&C!==n.ownerDocument?n=C.host:n=k}n=b}if(ra(n))return!n.getClientRects().length;if(o!=="legacy-full")return!0}else if(o==="non-zero-area")return ct(n);return!1},ca=function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var r=n.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 oe.call(r,"fieldset[disabled] *")?!0:!l.contains(n)}return!0}r=r.parentElement}return!1},Se=function(n,r){return!(r.disabled||be(r)||Jn(r)||ia(r,n)||ea(r)||ca(r))},Re=function(n,r){return!(oa(r)||re(r)<0||!Se(n,r))},la=function(n){var r=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},lt=function(n){var r=[],o=[];return n.forEach(function(l,u){var c=!!l.scopeParent,f=c?l.scopeParent:l,b=Yn(f,c),k=c?lt(l.candidates):f;b===0?c?r.push.apply(r,k):r.push(f):o.push({documentOrder:u,tabIndex:b,item:l,isScope:c,content:k})}),o.sort(Qn).reduce(function(l,u){return u.isScope?l.push.apply(l,u.content):l.push(u.content),l},[]).concat(r)},sa=function(n,r){r=r||{};var o;return r.getShadowRoot?o=Ce([n],r.includeContainer,{filter:Re.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:la}):o=ot(n,r.includeContainer,Re.bind(null,r)),lt(o)},da=function(n,r){r=r||{};var o;return r.getShadowRoot?o=Ce([n],r.includeContainer,{filter:Se.bind(null,r),flatten:!0,getShadowRoot:r.getShadowRoot}):o=ot(n,r.includeContainer,Se.bind(null,r)),o},de=function(n,r){if(r=r||{},!n)throw new Error("No node provided");return oe.call(n,ke)===!1?!1:Re(r,n)},ua=nt.concat("iframe").join(","),Le=function(n,r){if(r=r||{},!n)throw new Error("No node provided");return oe.call(n,ua)===!1?!1:Se(r,n)};/*!
|
|
5
|
+
* focus-trap 7.6.6
|
|
6
6
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
7
|
-
*/function
|
|
8
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lt(a,n){var r=Object.keys(a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);n&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(a,l).enumerable})),r.push.apply(r,o)}return r}function st(a){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{};n%2?lt(Object(r),!0).forEach(function(o){ma(a,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):lt(Object(r)).forEach(function(o){Object.defineProperty(a,o,Object.getOwnPropertyDescriptor(r,o))})}return a}function ha(a){return fa(a)||pa(a)||va(a)||ba()}function ga(a,n){if(typeof a!="object"||!a)return a;var r=a[Symbol.toPrimitive];if(r!==void 0){var o=r.call(a,n);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(a)}function ya(a){var n=ga(a,"string");return typeof n=="symbol"?n:n+""}function va(a,n){if(a){if(typeof a=="string")return Le(a,n);var r={}.toString.call(a).slice(8,-1);return r==="Object"&&a.constructor&&(r=a.constructor.name),r==="Map"||r==="Set"?Array.from(a):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Le(a,n):void 0}}var dt={activateTrap:function(n,r){if(n.length>0){var o=n[n.length-1];o!==r&&o._setPausedState(!0)}var l=n.indexOf(r);l===-1||n.splice(l,1),n.push(r)},deactivateTrap:function(n,r){var o=n.indexOf(r);o!==-1&&n.splice(o,1),n.length>0&&!n[n.length-1]._isManuallyPaused()&&n[n.length-1]._setPausedState(!1)}},ka=function(n){return n.tagName&&n.tagName.toLowerCase()==="input"&&typeof n.select=="function"},wa=function(n){return(n==null?void 0:n.key)==="Escape"||(n==null?void 0:n.key)==="Esc"||(n==null?void 0:n.keyCode)===27},be=function(n){return(n==null?void 0:n.key)==="Tab"||(n==null?void 0:n.keyCode)===9},Ca=function(n){return be(n)&&!n.shiftKey},Sa=function(n){return be(n)&&n.shiftKey},ut=function(n){return setTimeout(n,0)},he=function(n){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 n=="function"?n.apply(void 0,o):n},Se=function(n){return n.target.shadowRoot&&typeof n.composedPath=="function"?n.composedPath()[0]:n.target},Ea=[],Ba=function(n,r){var o=(r==null?void 0:r.document)||document,l=(r==null?void 0:r.trapStack)||Ea,u=st({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Ca,isKeyBackward:Sa},r),c={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},f,b=function(s,m,g){return s&&s[m]!==void 0?s[m]:u[g||m]},w=function(s,m){var g=typeof(m==null?void 0:m.composedPath)=="function"?m.composedPath():void 0;return c.containerGroups.findIndex(function(T){var I=T.container,A=T.tabbableNodes;return I.contains(s)||(g==null?void 0:g.includes(I))||A.find(function(E){return E===s})})},C=function(s){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=m.hasFallback,T=g===void 0?!1:g,I=m.params,A=I===void 0?[]:I,E=u[s];if(typeof E=="function"&&(E=E.apply(void 0,ha(A))),E===!0&&(E=void 0),!E){if(E===void 0||E===!1)return E;throw new Error("`".concat(s,"` was specified but was not a node, or did not return a node"))}var k=E;if(typeof E=="string"){try{k=o.querySelector(E)}catch(p){throw new Error("`".concat(s,'` appears to be an invalid selector; error="').concat(p.message,'"'))}if(!k&&!T)throw new Error("`".concat(s,"` as selector refers to no known node"))}return k},$=function(){var s=C("initialFocus",{hasFallback:!0});if(s===!1)return!1;if(s===void 0||s&&!Re(s,u.tabbableOptions))if(w(o.activeElement)>=0)s=o.activeElement;else{var m=c.tabbableGroups[0],g=m&&m.firstTabbableNode;s=g||C("fallbackFocus")}else s===null&&(s=C("fallbackFocus"));if(!s)throw new Error("Your focus-trap needs to have at least one focusable element");return s},O=function(){if(c.containerGroups=c.containers.map(function(s){var m=sa(s,u.tabbableOptions),g=da(s,u.tabbableOptions),T=m.length>0?m[0]:void 0,I=m.length>0?m[m.length-1]:void 0,A=g.find(function(p){return de(p)}),E=g.slice().reverse().find(function(p){return de(p)}),k=!!m.find(function(p){return re(p)>0});return{container:s,tabbableNodes:m,focusableNodes:g,posTabIndexesFound:k,firstTabbableNode:T,lastTabbableNode:I,firstDomTabbableNode:A,lastDomTabbableNode:E,nextTabbableNode:function(S){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,y=m.indexOf(S);return y<0?v?g.slice(g.indexOf(S)+1).find(function(H){return de(H)}):g.slice(0,g.indexOf(S)).reverse().find(function(H){return de(H)}):m[y+(v?1:-1)]}}}),c.tabbableGroups=c.containerGroups.filter(function(s){return s.tabbableNodes.length>0}),c.tabbableGroups.length<=0&&!C("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(s){return s.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.")},D=function(s){var m=s.activeElement;if(m)return m.shadowRoot&&m.shadowRoot.activeElement!==null?D(m.shadowRoot):m},B=function(s){if(s!==!1&&s!==D(document)){if(!s||!s.focus){B($());return}s.focus({preventScroll:!!u.preventScroll}),c.mostRecentlyFocusedNode=s,ka(s)&&s.select()}},F=function(s){var m=C("setReturnFocus",{params:[s]});return m||(m===!1?!1:s)},X=function(s){var m=s.target,g=s.event,T=s.isBackward,I=T===void 0?!1:T;m=m||Se(g),O();var A=null;if(c.tabbableGroups.length>0){var E=w(m,g),k=E>=0?c.containerGroups[E]:void 0;if(E<0)I?A=c.tabbableGroups[c.tabbableGroups.length-1].lastTabbableNode:A=c.tabbableGroups[0].firstTabbableNode;else if(I){var p=c.tabbableGroups.findIndex(function(z){var J=z.firstTabbableNode;return m===J});if(p<0&&(k.container===m||Re(m,u.tabbableOptions)&&!de(m,u.tabbableOptions)&&!k.nextTabbableNode(m,!1))&&(p=E),p>=0){var S=p===0?c.tabbableGroups.length-1:p-1,v=c.tabbableGroups[S];A=re(m)>=0?v.lastTabbableNode:v.lastDomTabbableNode}else be(g)||(A=k.nextTabbableNode(m,!1))}else{var y=c.tabbableGroups.findIndex(function(z){var J=z.lastTabbableNode;return m===J});if(y<0&&(k.container===m||Re(m,u.tabbableOptions)&&!de(m,u.tabbableOptions)&&!k.nextTabbableNode(m))&&(y=E),y>=0){var H=y===c.tabbableGroups.length-1?0:y+1,L=c.tabbableGroups[H];A=re(m)>=0?L.firstTabbableNode:L.firstDomTabbableNode}else be(g)||(A=k.nextTabbableNode(m))}}else A=C("fallbackFocus");return A},V=function(s){var m=Se(s);if(!(w(m,s)>=0)){if(he(u.clickOutsideDeactivates,s)){f.deactivate({returnFocus:u.returnFocusOnDeactivate});return}he(u.allowOutsideClick,s)||s.preventDefault()}},M=function(s){var m=Se(s),g=w(m,s)>=0;if(g||m instanceof Document)g&&(c.mostRecentlyFocusedNode=m);else{s.stopImmediatePropagation();var T,I=!0;if(c.mostRecentlyFocusedNode)if(re(c.mostRecentlyFocusedNode)>0){var A=w(c.mostRecentlyFocusedNode),E=c.containerGroups[A].tabbableNodes;if(E.length>0){var k=E.findIndex(function(p){return p===c.mostRecentlyFocusedNode});k>=0&&(u.isKeyForward(c.recentNavEvent)?k+1<E.length&&(T=E[k+1],I=!1):k-1>=0&&(T=E[k-1],I=!1))}}else c.containerGroups.some(function(p){return p.tabbableNodes.some(function(S){return re(S)>0})})||(I=!1);else I=!1;I&&(T=X({target:c.mostRecentlyFocusedNode,isBackward:u.isKeyBackward(c.recentNavEvent)})),B(T||c.mostRecentlyFocusedNode||$())}c.recentNavEvent=void 0},ne=function(s){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;c.recentNavEvent=s;var g=X({event:s,isBackward:m});g&&(be(s)&&s.preventDefault(),B(g))},Q=function(s){(u.isKeyForward(s)||u.isKeyBackward(s))&&ne(s,u.isKeyBackward(s))},W=function(s){wa(s)&&he(u.escapeDeactivates,s)!==!1&&(s.preventDefault(),f.deactivate())},Z=function(s){var m=Se(s);w(m,s)>=0||he(u.clickOutsideDeactivates,s)||he(u.allowOutsideClick,s)||(s.preventDefault(),s.stopImmediatePropagation())},Y=function(){if(c.active)return dt.activateTrap(l,f),c.delayInitialFocusTimer=u.delayInitialFocus?ut(function(){B($())}):B($()),o.addEventListener("focusin",M,!0),o.addEventListener("mousedown",V,{capture:!0,passive:!1}),o.addEventListener("touchstart",V,{capture:!0,passive:!1}),o.addEventListener("click",Z,{capture:!0,passive:!1}),o.addEventListener("keydown",Q,{capture:!0,passive:!1}),o.addEventListener("keydown",W),f},_=function(){if(c.active)return o.removeEventListener("focusin",M,!0),o.removeEventListener("mousedown",V,!0),o.removeEventListener("touchstart",V,!0),o.removeEventListener("click",Z,!0),o.removeEventListener("keydown",Q,!0),o.removeEventListener("keydown",W),f},j=function(s){var m=s.some(function(g){var T=Array.from(g.removedNodes);return T.some(function(I){return I===c.mostRecentlyFocusedNode})});m&&B($())},R=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(j):void 0,P=function(){R&&(R.disconnect(),c.active&&!c.paused&&c.containers.map(function(s){R.observe(s,{subtree:!0,childList:!0})}))};return f={get active(){return c.active},get paused(){return c.paused},activate:function(s){if(c.active)return this;var m=b(s,"onActivate"),g=b(s,"onPostActivate"),T=b(s,"checkCanFocusTrap");T||O(),c.active=!0,c.paused=!1,c.nodeFocusedBeforeActivation=D(o),m==null||m();var I=function(){T&&O(),Y(),P(),g==null||g()};return T?(T(c.containers.concat()).then(I,I),this):(I(),this)},deactivate:function(s){if(!c.active)return this;var m=st({onDeactivate:u.onDeactivate,onPostDeactivate:u.onPostDeactivate,checkCanReturnFocus:u.checkCanReturnFocus},s);clearTimeout(c.delayInitialFocusTimer),c.delayInitialFocusTimer=void 0,_(),c.active=!1,c.paused=!1,P(),dt.deactivateTrap(l,f);var g=b(m,"onDeactivate"),T=b(m,"onPostDeactivate"),I=b(m,"checkCanReturnFocus"),A=b(m,"returnFocus","returnFocusOnDeactivate");g==null||g();var E=function(){ut(function(){A&&B(F(c.nodeFocusedBeforeActivation)),T==null||T()})};return A&&I?(I(F(c.nodeFocusedBeforeActivation)).then(E,E),this):(E(),this)},pause:function(s){return c.active?(c.manuallyPaused=!0,this._setPausedState(!0,s)):this},unpause:function(s){return c.active?(c.manuallyPaused=!1,l[l.length-1]!==this?this:this._setPausedState(!1,s)):this},updateContainerElements:function(s){var m=[].concat(s).filter(Boolean);return c.containers=m.map(function(g){return typeof g=="string"?o.querySelector(g):g}),c.active&&O(),P(),this}},Object.defineProperties(f,{_isManuallyPaused:{value:function(){return c.manuallyPaused}},_setPausedState:{value:function(s,m){if(c.paused===s)return this;if(c.paused=s,s){var g=b(m,"onPause"),T=b(m,"onPostPause");g==null||g(),_(),P(),T==null||T()}else{var I=b(m,"onUnpause"),A=b(m,"onPostUnpause");I==null||I(),O(),Y(),P(),A==null||A()}return this}}}),f.updateContainerElements(n),f};/*!
|
|
7
|
+
*/function Me(a,n){(n==null||n>a.length)&&(n=a.length);for(var r=0,o=Array(n);r<n;r++)o[r]=a[r];return o}function fa(a){if(Array.isArray(a))return Me(a)}function pa(a,n,r){return(n=ya(n))in a?Object.defineProperty(a,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[n]=r,a}function ma(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function ba(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
8
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function st(a,n){var r=Object.keys(a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);n&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(a,l).enumerable})),r.push.apply(r,o)}return r}function dt(a){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{};n%2?st(Object(r),!0).forEach(function(o){pa(a,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):st(Object(r)).forEach(function(o){Object.defineProperty(a,o,Object.getOwnPropertyDescriptor(r,o))})}return a}function ha(a){return fa(a)||ma(a)||va(a)||ba()}function ga(a,n){if(typeof a!="object"||!a)return a;var r=a[Symbol.toPrimitive];if(r!==void 0){var o=r.call(a,n);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(a)}function ya(a){var n=ga(a,"string");return typeof n=="symbol"?n:n+""}function va(a,n){if(a){if(typeof a=="string")return Me(a,n);var r={}.toString.call(a).slice(8,-1);return r==="Object"&&a.constructor&&(r=a.constructor.name),r==="Map"||r==="Set"?Array.from(a):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Me(a,n):void 0}}var ut={activateTrap:function(n,r){if(n.length>0){var o=n[n.length-1];o!==r&&o._setPausedState(!0)}var l=n.indexOf(r);l===-1||n.splice(l,1),n.push(r)},deactivateTrap:function(n,r){var o=n.indexOf(r);o!==-1&&n.splice(o,1),n.length>0&&!n[n.length-1]._isManuallyPaused()&&n[n.length-1]._setPausedState(!1)}},ka=function(n){return n.tagName&&n.tagName.toLowerCase()==="input"&&typeof n.select=="function"},wa=function(n){return(n==null?void 0:n.key)==="Escape"||(n==null?void 0:n.key)==="Esc"||(n==null?void 0:n.keyCode)===27},he=function(n){return(n==null?void 0:n.key)==="Tab"||(n==null?void 0:n.keyCode)===9},Ca=function(n){return he(n)&&!n.shiftKey},Sa=function(n){return he(n)&&n.shiftKey},ft=function(n){return setTimeout(n,0)},ge=function(n){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 n=="function"?n.apply(void 0,o):n},Ee=function(n){return n.target.shadowRoot&&typeof n.composedPath=="function"?n.composedPath()[0]:n.target},Ea=[],Ba=function(n,r){var o=(r==null?void 0:r.document)||document,l=(r==null?void 0:r.trapStack)||Ea,u=dt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Ca,isKeyBackward:Sa},r),c={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},f,b=function(s,p,g){return s&&s[p]!==void 0?s[p]:u[g||p]},k=function(s,p){var g=typeof(p==null?void 0:p.composedPath)=="function"?p.composedPath():void 0;return c.containerGroups.findIndex(function(_){var I=_.container,A=_.tabbableNodes;return I.contains(s)||(g==null?void 0:g.includes(I))||A.find(function(E){return E===s})})},C=function(s){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=p.hasFallback,_=g===void 0?!1:g,I=p.params,A=I===void 0?[]:I,E=u[s];if(typeof E=="function"&&(E=E.apply(void 0,ha(A))),E===!0&&(E=void 0),!E){if(E===void 0||E===!1)return E;throw new Error("`".concat(s,"` was specified but was not a node, or did not return a node"))}var w=E;if(typeof E=="string"){try{w=o.querySelector(E)}catch(m){throw new Error("`".concat(s,'` appears to be an invalid selector; error="').concat(m.message,'"'))}if(!w&&!_)throw new Error("`".concat(s,"` as selector refers to no known node"))}return w},$=function(){var s=C("initialFocus",{hasFallback:!0});if(s===!1)return!1;if(s===void 0||s&&!Le(s,u.tabbableOptions))if(k(o.activeElement)>=0)s=o.activeElement;else{var p=c.tabbableGroups[0],g=p&&p.firstTabbableNode;s=g||C("fallbackFocus")}else s===null&&(s=C("fallbackFocus"));if(!s)throw new Error("Your focus-trap needs to have at least one focusable element");return s},O=function(){if(c.containerGroups=c.containers.map(function(s){var p=sa(s,u.tabbableOptions),g=da(s,u.tabbableOptions),_=p.length>0?p[0]:void 0,I=p.length>0?p[p.length-1]:void 0,A=g.find(function(m){return de(m)}),E=g.slice().reverse().find(function(m){return de(m)}),w=!!p.find(function(m){return re(m)>0});return{container:s,tabbableNodes:p,focusableNodes:g,posTabIndexesFound:w,firstTabbableNode:_,lastTabbableNode:I,firstDomTabbableNode:A,lastDomTabbableNode:E,nextTabbableNode:function(S){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,y=p.indexOf(S);return y<0?v?g.slice(g.indexOf(S)+1).find(function(H){return de(H)}):g.slice(0,g.indexOf(S)).reverse().find(function(H){return de(H)}):p[y+(v?1:-1)]}}}),c.tabbableGroups=c.containerGroups.filter(function(s){return s.tabbableNodes.length>0}),c.tabbableGroups.length<=0&&!C("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(s){return s.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.")},D=function(s){var p=s.activeElement;if(p)return p.shadowRoot&&p.shadowRoot.activeElement!==null?D(p.shadowRoot):p},B=function(s){if(s!==!1&&s!==D(document)){if(!s||!s.focus){B($());return}s.focus({preventScroll:!!u.preventScroll}),c.mostRecentlyFocusedNode=s,ka(s)&&s.select()}},F=function(s){var p=C("setReturnFocus",{params:[s]});return p||(p===!1?!1:s)},X=function(s){var p=s.target,g=s.event,_=s.isBackward,I=_===void 0?!1:_;p=p||Ee(g),O();var A=null;if(c.tabbableGroups.length>0){var E=k(p,g),w=E>=0?c.containerGroups[E]:void 0;if(E<0)I?A=c.tabbableGroups[c.tabbableGroups.length-1].lastTabbableNode:A=c.tabbableGroups[0].firstTabbableNode;else if(I){var m=c.tabbableGroups.findIndex(function(z){var J=z.firstTabbableNode;return p===J});if(m<0&&(w.container===p||Le(p,u.tabbableOptions)&&!de(p,u.tabbableOptions)&&!w.nextTabbableNode(p,!1))&&(m=E),m>=0){var S=m===0?c.tabbableGroups.length-1:m-1,v=c.tabbableGroups[S];A=re(p)>=0?v.lastTabbableNode:v.lastDomTabbableNode}else he(g)||(A=w.nextTabbableNode(p,!1))}else{var y=c.tabbableGroups.findIndex(function(z){var J=z.lastTabbableNode;return p===J});if(y<0&&(w.container===p||Le(p,u.tabbableOptions)&&!de(p,u.tabbableOptions)&&!w.nextTabbableNode(p))&&(y=E),y>=0){var H=y===c.tabbableGroups.length-1?0:y+1,L=c.tabbableGroups[H];A=re(p)>=0?L.firstTabbableNode:L.firstDomTabbableNode}else he(g)||(A=w.nextTabbableNode(p))}}else A=C("fallbackFocus");return A},V=function(s){var p=Ee(s);if(!(k(p,s)>=0)){if(ge(u.clickOutsideDeactivates,s)){f.deactivate({returnFocus:u.returnFocusOnDeactivate});return}ge(u.allowOutsideClick,s)||s.preventDefault()}},M=function(s){var p=Ee(s),g=k(p,s)>=0;if(g||p instanceof Document)g&&(c.mostRecentlyFocusedNode=p);else{s.stopImmediatePropagation();var _,I=!0;if(c.mostRecentlyFocusedNode)if(re(c.mostRecentlyFocusedNode)>0){var A=k(c.mostRecentlyFocusedNode),E=c.containerGroups[A].tabbableNodes;if(E.length>0){var w=E.findIndex(function(m){return m===c.mostRecentlyFocusedNode});w>=0&&(u.isKeyForward(c.recentNavEvent)?w+1<E.length&&(_=E[w+1],I=!1):w-1>=0&&(_=E[w-1],I=!1))}}else c.containerGroups.some(function(m){return m.tabbableNodes.some(function(S){return re(S)>0})})||(I=!1);else I=!1;I&&(_=X({target:c.mostRecentlyFocusedNode,isBackward:u.isKeyBackward(c.recentNavEvent)})),B(_||c.mostRecentlyFocusedNode||$())}c.recentNavEvent=void 0},ne=function(s){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;c.recentNavEvent=s;var g=X({event:s,isBackward:p});g&&(he(s)&&s.preventDefault(),B(g))},Q=function(s){(u.isKeyForward(s)||u.isKeyBackward(s))&&ne(s,u.isKeyBackward(s))},W=function(s){wa(s)&&ge(u.escapeDeactivates,s)!==!1&&(s.preventDefault(),f.deactivate())},Z=function(s){var p=Ee(s);k(p,s)>=0||ge(u.clickOutsideDeactivates,s)||ge(u.allowOutsideClick,s)||(s.preventDefault(),s.stopImmediatePropagation())},Y=function(){if(c.active)return ut.activateTrap(l,f),c.delayInitialFocusTimer=u.delayInitialFocus?ft(function(){B($())}):B($()),o.addEventListener("focusin",M,!0),o.addEventListener("mousedown",V,{capture:!0,passive:!1}),o.addEventListener("touchstart",V,{capture:!0,passive:!1}),o.addEventListener("click",Z,{capture:!0,passive:!1}),o.addEventListener("keydown",Q,{capture:!0,passive:!1}),o.addEventListener("keydown",W),f},T=function(){if(c.active)return o.removeEventListener("focusin",M,!0),o.removeEventListener("mousedown",V,!0),o.removeEventListener("touchstart",V,!0),o.removeEventListener("click",Z,!0),o.removeEventListener("keydown",Q,!0),o.removeEventListener("keydown",W),f},P=function(s){var p=s.some(function(g){var _=Array.from(g.removedNodes);return _.some(function(I){return I===c.mostRecentlyFocusedNode})});p&&B($())},R=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(P):void 0,j=function(){R&&(R.disconnect(),c.active&&!c.paused&&c.containers.map(function(s){R.observe(s,{subtree:!0,childList:!0})}))};return f={get active(){return c.active},get paused(){return c.paused},activate:function(s){if(c.active)return this;var p=b(s,"onActivate"),g=b(s,"onPostActivate"),_=b(s,"checkCanFocusTrap");_||O(),c.active=!0,c.paused=!1,c.nodeFocusedBeforeActivation=D(o),p==null||p();var I=function(){_&&O(),Y(),j(),g==null||g()};return _?(_(c.containers.concat()).then(I,I),this):(I(),this)},deactivate:function(s){if(!c.active)return this;var p=dt({onDeactivate:u.onDeactivate,onPostDeactivate:u.onPostDeactivate,checkCanReturnFocus:u.checkCanReturnFocus},s);clearTimeout(c.delayInitialFocusTimer),c.delayInitialFocusTimer=void 0,T(),c.active=!1,c.paused=!1,j(),ut.deactivateTrap(l,f);var g=b(p,"onDeactivate"),_=b(p,"onPostDeactivate"),I=b(p,"checkCanReturnFocus"),A=b(p,"returnFocus","returnFocusOnDeactivate");g==null||g();var E=function(){ft(function(){A&&B(F(c.nodeFocusedBeforeActivation)),_==null||_()})};return A&&I?(I(F(c.nodeFocusedBeforeActivation)).then(E,E),this):(E(),this)},pause:function(s){return c.active?(c.manuallyPaused=!0,this._setPausedState(!0,s)):this},unpause:function(s){return c.active?(c.manuallyPaused=!1,l[l.length-1]!==this?this:this._setPausedState(!1,s)):this},updateContainerElements:function(s){var p=[].concat(s).filter(Boolean);return c.containers=p.map(function(g){return typeof g=="string"?o.querySelector(g):g}),c.active&&O(),j(),this}},Object.defineProperties(f,{_isManuallyPaused:{value:function(){return c.manuallyPaused}},_setPausedState:{value:function(s,p){if(c.paused===s)return this;if(c.paused=s,s){var g=b(p,"onPause"),_=b(p,"onPostPause");g==null||g(),T(),j(),_==null||_()}else{var I=b(p,"onUnpause"),A=b(p,"onPostUnpause");I==null||I(),O(),Y(),j(),A==null||A()}return this}}}),f.updateContainerElements(n),f};/*!
|
|
9
9
|
* focus-trap-vue v4.0.3
|
|
10
10
|
* (c) 2025 Eduardo San Martin Morote
|
|
11
11
|
* @license MIT
|
|
12
|
-
*/function $r(a){return a}const Ta={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},_a=e.defineComponent({name:"FocusTrap",props:Object.assign({active:{type:Boolean,default:!0}},Ta),emits:["update:active","activate","postActivate","deactivate","postDeactivate"],render(){return this.renderImpl()},setup(a,{slots:n,emit:r}){let o;const l=e.ref(null),u=e.computed(()=>{const f=l.value;return f&&(f instanceof HTMLElement?f:f.$el)});function c(){return o||(o=Ba(u.value,{escapeDeactivates:a.escapeDeactivates,allowOutsideClick:a.allowOutsideClick,returnFocusOnDeactivate:a.returnFocusOnDeactivate,clickOutsideDeactivates:a.clickOutsideDeactivates,onActivate:()=>{r("update:active",!0),r("activate")},onDeactivate:()=>{r("update:active",!1),r("deactivate")},onPostActivate:()=>r("postActivate"),onPostDeactivate:()=>r("postDeactivate"),initialFocus:a.initialFocus,fallbackFocus:a.fallbackFocus,tabbableOptions:a.tabbableOptions,delayInitialFocus:a.delayInitialFocus,preventScroll:a.preventScroll}))}return e.onMounted(()=>{e.watch(()=>a.active,f=>{f&&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(!n.default)return null;const f=n.default().filter(w=>w.type!==e.Comment);return!f||!f.length||f.length>1?(console.error("[focus-trap-vue]: FocusTrap requires exactly one child."),f):e.cloneVNode(f[0],{ref:l})}}}});function ft(){return{debounce:(n,r)=>{let o;return(...l)=>{clearTimeout(o),o=window==null?void 0:window.setTimeout(()=>{n(...l)},r)}}}}var Ee=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Na(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var Be={exports:{}};Be.exports,function(a,n){var r=200,o="__lodash_hash_undefined__",l=9007199254740991,u="[object Arguments]",c="[object Array]",f="[object Boolean]",b="[object Date]",w="[object Error]",C="[object Function]",$="[object GeneratorFunction]",O="[object Map]",D="[object Number]",B="[object Object]",F="[object Promise]",X="[object RegExp]",V="[object Set]",M="[object String]",ne="[object Symbol]",Q="[object WeakMap]",W="[object ArrayBuffer]",Z="[object DataView]",Y="[object Float32Array]",_="[object Float64Array]",j="[object Int8Array]",R="[object Int16Array]",P="[object Int32Array]",N="[object Uint8Array]",s="[object Uint8ClampedArray]",m="[object Uint16Array]",g="[object Uint32Array]",T=/[\\^$.*+?()[\]{}|]/g,I=/\w*$/,A=/^\[object .+?Constructor\]$/,E=/^(?:0|[1-9]\d*)$/,k={};k[u]=k[c]=k[W]=k[Z]=k[f]=k[b]=k[Y]=k[_]=k[j]=k[R]=k[P]=k[O]=k[D]=k[B]=k[X]=k[V]=k[M]=k[ne]=k[N]=k[s]=k[m]=k[g]=!0,k[w]=k[C]=k[Q]=!1;var p=typeof Ee=="object"&&Ee&&Ee.Object===Object&&Ee,S=typeof self=="object"&&self&&self.Object===Object&&self,v=p||S||Function("return this")(),y=n&&!n.nodeType&&n,H=y&&!0&&a&&!a.nodeType&&a,L=H&&H.exports===y;function z(t,i){return t.set(i[0],i[1]),t}function J(t,i){return t.add(i),t}function so(t,i){for(var d=-1,h=t?t.length:0;++d<h&&i(t[d],d,t)!==!1;);return t}function uo(t,i){for(var d=-1,h=i.length,K=t.length;++d<h;)t[K+d]=i[d];return t}function ht(t,i,d,h){for(var K=-1,G=t?t.length:0;++K<G;)d=i(d,t[K],K,t);return d}function fo(t,i){for(var d=-1,h=Array(t);++d<t;)h[d]=i(d);return h}function mo(t,i){return t==null?void 0:t[i]}function gt(t){var i=!1;if(t!=null&&typeof t.toString!="function")try{i=!!(t+"")}catch{}return i}function yt(t){var i=-1,d=Array(t.size);return t.forEach(function(h,K){d[++i]=[K,h]}),d}function Me(t,i){return function(d){return t(i(d))}}function vt(t){var i=-1,d=Array(t.size);return t.forEach(function(h){d[++i]=h}),d}var po=Array.prototype,bo=Function.prototype,Te=Object.prototype,je=v["__core-js_shared__"],kt=function(){var t=/[^.]+$/.exec(je&&je.keys&&je.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),wt=bo.toString,ae=Te.hasOwnProperty,_e=Te.toString,ho=RegExp("^"+wt.call(ae).replace(T,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ct=L?v.Buffer:void 0,St=v.Symbol,Et=v.Uint8Array,go=Me(Object.getPrototypeOf,Object),yo=Object.create,vo=Te.propertyIsEnumerable,ko=po.splice,Bt=Object.getOwnPropertySymbols,wo=Ct?Ct.isBuffer:void 0,Co=Me(Object.keys,Object),Pe=me(v,"DataView"),ge=me(v,"Map"),Ke=me(v,"Promise"),Ze=me(v,"Set"),ze=me(v,"WeakMap"),ye=me(Object,"create"),So=se(Pe),Eo=se(ge),Bo=se(Ke),To=se(Ze),_o=se(ze),Tt=St?St.prototype:void 0,_t=Tt?Tt.valueOf:void 0;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 No(){this.__data__=ye?ye(null):{}}function Io(t){return this.has(t)&&delete this.__data__[t]}function $o(t){var i=this.__data__;if(ye){var d=i[t];return d===o?void 0:d}return ae.call(i,t)?i[t]:void 0}function Oo(t){var i=this.__data__;return ye?i[t]!==void 0:ae.call(i,t)}function Ao(t,i){var d=this.__data__;return d[t]=ye&&i===void 0?o:i,this}ce.prototype.clear=No,ce.prototype.delete=Io,ce.prototype.get=$o,ce.prototype.has=Oo,ce.prototype.set=Ao;function ee(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 Fo(){this.__data__=[]}function Do(t){var i=this.__data__,d=Ne(i,t);if(d<0)return!1;var h=i.length-1;return d==h?i.pop():ko.call(i,d,1),!0}function xo(t){var i=this.__data__,d=Ne(i,t);return d<0?void 0:i[d][1]}function Vo(t){return Ne(this.__data__,t)>-1}function Ro(t,i){var d=this.__data__,h=Ne(d,t);return h<0?d.push([t,i]):d[h][1]=i,this}ee.prototype.clear=Fo,ee.prototype.delete=Do,ee.prototype.get=xo,ee.prototype.has=Vo,ee.prototype.set=Ro;function ue(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 Lo(){this.__data__={hash:new ce,map:new(ge||ee),string:new ce}}function Mo(t){return Ie(this,t).delete(t)}function jo(t){return Ie(this,t).get(t)}function Po(t){return Ie(this,t).has(t)}function Ko(t,i){return Ie(this,t).set(t,i),this}ue.prototype.clear=Lo,ue.prototype.delete=Mo,ue.prototype.get=jo,ue.prototype.has=Po,ue.prototype.set=Ko;function fe(t){this.__data__=new ee(t)}function Zo(){this.__data__=new ee}function zo(t){return this.__data__.delete(t)}function Ho(t){return this.__data__.get(t)}function Wo(t){return this.__data__.has(t)}function Go(t,i){var d=this.__data__;if(d instanceof ee){var h=d.__data__;if(!ge||h.length<r-1)return h.push([t,i]),this;d=this.__data__=new ue(h)}return d.set(t,i),this}fe.prototype.clear=Zo,fe.prototype.delete=zo,fe.prototype.get=Ho,fe.prototype.has=Wo,fe.prototype.set=Go;function Uo(t,i){var d=Ge(t)||yr(t)?fo(t.length,String):[],h=d.length,K=!!h;for(var G in t)ae.call(t,G)&&!(K&&(G=="length"||pr(G,h)))&&d.push(G);return d}function Nt(t,i,d){var h=t[i];(!(ae.call(t,i)&&At(h,d))||d===void 0&&!(i in t))&&(t[i]=d)}function Ne(t,i){for(var d=t.length;d--;)if(At(t[d][0],i))return d;return-1}function qo(t,i){return t&&It(i,Ue(i),t)}function He(t,i,d,h,K,G,te){var U;if(h&&(U=G?h(t,K,G,te):h(t)),U!==void 0)return U;if(!$e(t))return t;var xt=Ge(t);if(xt){if(U=ur(t),!i)return lr(t,U)}else{var pe=le(t),Vt=pe==C||pe==$;if(kr(t))return tr(t,i);if(pe==B||pe==u||Vt&&!G){if(gt(t))return G?t:{};if(U=fr(Vt?{}:t),!i)return sr(t,qo(U,t))}else{if(!k[pe])return G?t:{};U=mr(t,pe,He,i)}}te||(te=new fe);var Rt=te.get(t);if(Rt)return Rt;if(te.set(t,U),!xt)var Lt=d?dr(t):Ue(t);return so(Lt||t,function(qe,Oe){Lt&&(Oe=qe,qe=t[Oe]),Nt(U,Oe,He(qe,i,d,h,Oe,t,te))}),U}function Xo(t){return $e(t)?yo(t):{}}function Yo(t,i,d){var h=i(t);return Ge(t)?h:uo(h,d(t))}function Qo(t){return _e.call(t)}function Jo(t){if(!$e(t)||hr(t))return!1;var i=Dt(t)||gt(t)?ho:A;return i.test(se(t))}function er(t){if(!Ot(t))return Co(t);var i=[];for(var d in Object(t))ae.call(t,d)&&d!="constructor"&&i.push(d);return i}function tr(t,i){if(i)return t.slice();var d=new t.constructor(t.length);return t.copy(d),d}function We(t){var i=new t.constructor(t.byteLength);return new Et(i).set(new Et(t)),i}function nr(t,i){var d=i?We(t.buffer):t.buffer;return new t.constructor(d,t.byteOffset,t.byteLength)}function ar(t,i,d){var h=i?d(yt(t),!0):yt(t);return ht(h,z,new t.constructor)}function or(t){var i=new t.constructor(t.source,I.exec(t));return i.lastIndex=t.lastIndex,i}function rr(t,i,d){var h=i?d(vt(t),!0):vt(t);return ht(h,J,new t.constructor)}function ir(t){return _t?Object(_t.call(t)):{}}function cr(t,i){var d=i?We(t.buffer):t.buffer;return new t.constructor(d,t.byteOffset,t.length)}function lr(t,i){var d=-1,h=t.length;for(i||(i=Array(h));++d<h;)i[d]=t[d];return i}function It(t,i,d,h){d||(d={});for(var K=-1,G=i.length;++K<G;){var te=i[K],U=void 0;Nt(d,te,U===void 0?t[te]:U)}return d}function sr(t,i){return It(t,$t(t),i)}function dr(t){return Yo(t,Ue,$t)}function Ie(t,i){var d=t.__data__;return br(i)?d[typeof i=="string"?"string":"hash"]:d.map}function me(t,i){var d=mo(t,i);return Jo(d)?d:void 0}var $t=Bt?Me(Bt,Object):Sr,le=Qo;(Pe&&le(new Pe(new ArrayBuffer(1)))!=Z||ge&&le(new ge)!=O||Ke&&le(Ke.resolve())!=F||Ze&&le(new Ze)!=V||ze&&le(new ze)!=Q)&&(le=function(t){var i=_e.call(t),d=i==B?t.constructor:void 0,h=d?se(d):void 0;if(h)switch(h){case So:return Z;case Eo:return O;case Bo:return F;case To:return V;case _o:return Q}return i});function ur(t){var i=t.length,d=t.constructor(i);return i&&typeof t[0]=="string"&&ae.call(t,"index")&&(d.index=t.index,d.input=t.input),d}function fr(t){return typeof t.constructor=="function"&&!Ot(t)?Xo(go(t)):{}}function mr(t,i,d,h){var K=t.constructor;switch(i){case W:return We(t);case f:case b:return new K(+t);case Z:return nr(t,h);case Y:case _:case j:case R:case P:case N:case s:case m:case g:return cr(t,h);case O:return ar(t,h,d);case D:case M:return new K(t);case X:return or(t);case V:return rr(t,h,d);case ne:return ir(t)}}function pr(t,i){return i=i??l,!!i&&(typeof t=="number"||E.test(t))&&t>-1&&t%1==0&&t<i}function br(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function hr(t){return!!kt&&kt in t}function Ot(t){var i=t&&t.constructor,d=typeof i=="function"&&i.prototype||Te;return t===d}function se(t){if(t!=null){try{return wt.call(t)}catch{}try{return t+""}catch{}}return""}function gr(t){return He(t,!0,!0)}function At(t,i){return t===i||t!==t&&i!==i}function yr(t){return vr(t)&&ae.call(t,"callee")&&(!vo.call(t,"callee")||_e.call(t)==u)}var Ge=Array.isArray;function Ft(t){return t!=null&&wr(t.length)&&!Dt(t)}function vr(t){return Cr(t)&&Ft(t)}var kr=wo||Er;function Dt(t){var i=$e(t)?_e.call(t):"";return i==C||i==$}function wr(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=l}function $e(t){var i=typeof t;return!!t&&(i=="object"||i=="function")}function Cr(t){return!!t&&typeof t=="object"}function Ue(t){return Ft(t)?Uo(t):er(t)}function Sr(){return[]}function Er(){return!1}a.exports=gr}(Be,Be.exports);var Ia=Be.exports;const $a=Na(Ia),Oa={key:0,class:"sidebar-header"},Aa={class:"sidebar-content-container"},Fa={key:0,class:"sidebar-top"},Da={"aria-label":"Main menu"},xa=["id"],Va=["aria-labelledby"],Ra={key:1,class:"sidebar-level-divider",role:"separator"},La={key:2,class:"level-primary bottom-items"},Ma={class:"sidebar-footer"},ie="_ungrouped",mt=q(e.defineComponent({__name:"AppSidebar",props:{topItems:{type:Array,default:()=>[]},bottomItems:{type:Array,default:()=>[]},groupConfig:{type:Object,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","toggle-collapse"],setup(a,{emit:n}){e.useCssVars(p=>({v33776360:f.value.mobileHeight,v7df1c1bc:f.value.mobileTop,v4e4b4048:a.zIndex,v3450ad5e:f.value.height,v5096e87e:f.value.top,ff8b2e5c:w.value.marginTop,aafa0d52:E.value,v5c6a990c:b.value.display,v73336ad1:b.value.minHeight,v91fb62e6:C.value.top,v04cd8780:C.value.zIndex}));const r=n,o=a,l=e.useSlots(),u=e.computed(()=>!!l.header),c=e.computed(()=>!!l.top),f=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%"})),b=e.computed(()=>({display:!o.mobileHeaderVisible&&o.mobileEnabled?"none":"flex",minHeight:`${o.headerHeight}px`})),w=e.computed(()=>({marginTop:u.value?`${o.headerHeight}px`:"0"})),C=e.computed(()=>({top:o.mobileTopOffset&&o.mobileEnabled?`${o.mobileTopOffset}px`:"0",zIndex:o.mobileOverlayZIndex!==null?o.mobileOverlayZIndex:o.zIndex>1?o.zIndex-1:1})),$=p=>$a(p).map(v=>{var y,H,L;if(v){(!v.key||!((y=v.key)!=null&&y.trim()))&&(v.key=String(v.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-")),(!v.testId||!((H=v.testId)!=null&&H.trim()))&&(v.testId=String(v.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"));for(const z of v.items||[])z.parentKey=v.key,(!z.testId||!((L=z.testId)!=null&&L.trim()))&&(z.testId=String(z.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"))}return v}),O=e.computed(()=>o.topItems.length?$(o.topItems):[]),D=e.computed(()=>o.bottomItems.length?$(o.bottomItems):[]),B=(p="")=>p.trim().replace(" ","").replace(/[^a-z0-9]+/gi,"-").toLowerCase(),F=e.computed(()=>{var S;const p=new Map;p.set(ie,[]);for(const v of O.value){const y=v.group||ie;p.has(y)||p.set(y,[]),(S=p.get(y))==null||S.push(v)}return p}),X=In(`max-width: ${Vn}`),V=(p="")=>{if(p===ie||!p.trim())return null;const S={label:p,collapsible:!1,collapsed:!1};let v=p.trim().replace(" ","");return v=v.charAt(0).toLowerCase()+v.slice(1),p&&o.groupConfig&&(o.groupConfig[p]||o.groupConfig[v])?o.groupConfig[p]||o.groupConfig[v]:S},M=p=>{var S;return!!((S=V(p))!=null&&S.collapsible)},ne=p=>{var S;return!!((S=V(p))!=null&&S.collapsed)},Q=(p,S,v)=>{const y=V(p);y&&(y.collapsed=!S),v(),r("toggle-collapse",p,y)},W=e.ref(o.open),Z=p=>{var S,v;W.value!==p&&(W.value=p,r("toggle",p)),p?(S=document==null?void 0:document.body)==null||S.classList.add("kong-ui-app-sidebar-open"):(v=document==null?void 0:document.body)==null||v.classList.remove("kong-ui-app-sidebar-open"),_.value=!1},Y=()=>{o.mobileOverlayCloseOnClick&&Z(!1)},_=e.ref(!1),j=p=>{_.value=!0,r("click",p),setTimeout(()=>{Z(!1)},o.mobileCloseDelay)};e.watch(()=>o.open,p=>{Z(p)});const{debounce:R}=ft(),P=R(()=>{W.value&&N.value!==(window==null?void 0:window.innerWidth)&&(N.value=window==null?void 0:window.innerWidth,Z(!1))},200),N=e.ref(),s=e.ref(!1),m=e.ref(),g=()=>{s.value||(s.value=!0,clearTimeout(m.value),m.value=setTimeout(()=>s.value=!1,1300))},T=e.ref(null),I=e.computed(()=>W.value&&o.mobileEnabled),A=async p=>{var S,v;p?(await e.nextTick(),await new Promise(y=>setTimeout(y,300)),(S=T.value)==null||S.activate()):(v=T.value)==null||v.deactivate()};e.watch(I,async p=>{p?await A(!0):await A(!1)},{immediate:!0});const E=e.ref("0px"),k=()=>{var z;if(!(/Mac|iPhone|iPod|iPad/i.test(navigator==null?void 0:navigator.platform)||/macOS|Mac|iPhone|iPod|iPad/i.test((z=navigator==null?void 0:navigator.userAgentData)==null?void 0:z.platform)))return;const S=document.createElement("div");S.style.visibility="hidden",S.style.width="100px",document.body.appendChild(S);const v=S.offsetWidth;S.style.overflow="scroll";const y=document.createElement("div");y.style.width="100%",S.appendChild(y);const H=y.offsetWidth;S.parentNode&&S.parentNode.removeChild(S),v-H===0&&(E.value="8px")};return e.onMounted(async()=>{if(N.value=window==null?void 0:window.innerWidth,window.addEventListener("resize",P),window.addEventListener("resize",g),o.groupConfig&&X.value)for(const p in o.groupConfig){const S=o.groupConfig[p];S.collapsed=!1}await e.nextTick(),k()}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",P),window.removeEventListener("resize",g)}),e.watch(()=>o.groupConfig,p=>{console.log("groupConfig updated",p)}),(p,S)=>{const v=e.resolveComponent("KCollapse");return e.openBlock(),e.createElementBlock(e.Fragment,null,[W.value&&a.mobileOverlay&&a.mobileEnabled?(e.openBlock(),e.createElementBlock("div",{key:0,class:"kong-ui-app-sidebar-overlay",onClick:Y})):e.createCommentVNode("",!0),e.createVNode(e.unref(_a),{ref_key:"focusTrap",ref:T,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":W.value,"no-sidebar-header":!u.value,"mobile-header-hidden":a.mobileEnabled&&(!u.value||!a.mobileHeaderVisible),"mobile-disabled":!a.mobileEnabled,"disable-transitions":s.value}]),tabindex:"-1"},[u.value?(e.openBlock(),e.createElementBlock("div",Oa,[e.renderSlot(p.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Aa,[c.value?(e.openBlock(),e.createElementBlock("div",Fa,[e.renderSlot(p.$slots,"top",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("nav",Da,[F.value.size>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(F.value,([y,H])=>(e.openBlock(),e.createBlock(v,{key:y,class:e.normalizeClass(["level-primary-group-collapse",{"not-collapsible":!M(y),ungrouped:y===ie}]),"data-testid":y===ie?"level-primary-group-collapse-ungrouped":`level-primary-group-collapse-${y}`,"model-value":M(y)&&ne(y)||!1},{trigger:e.withCtx(({isCollapsed:L,toggle:z})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(M(y)?e.unref(Xe.KButton):"div"),{appearance:M(y)?"none":void 0,class:"level-primary-group-collapse-trigger",onClick:J=>M(y)?Q(y,L,z):void 0},{default:e.withCtx(()=>{var J;return[y!==ie?(e.openBlock(),e.createElementBlock("div",{key:0,id:`level-primary-group-${B(y)}`,class:"level-primary-group-name","data-testid":"level-primary-group-name",role:"presentation"},e.toDisplayString(((J=V(y))==null?void 0:J.label)||y),9,xa)):e.createCommentVNode("",!0),M(y)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(L?e.unref(Ae.ChevronRightIcon):e.unref(Ae.ChevronDownIcon)),{key:1,class:"level-primary-group-collapse-icon",color:e.unref(Ln),"data-testid":"level-primary-group-collapse-icon",size:e.unref(Rn)},null,8,["color","size"])):e.createCommentVNode("",!0)]}),_:2},1032,["appearance","onClick"]))]),default:e.withCtx(()=>[e.createElementVNode("ul",{"aria-labelledby":y!==ie?`level-primary-group-${B(y)}`:void 0,class:"level-primary top-items"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(H,L=>(e.openBlock(),e.createBlock(et,{key:L.name,item:L,onClick:j},e.createSlots({[`sidebar-icon-${L.key}`]:e.withCtx(()=>[e.renderSlot(p.$slots,`sidebar-icon-${L.key}`,{},void 0,!0)]),_:2},[p.$slots[`sidebar-after-${L.key}`]?{name:`sidebar-after-${L.key}`,fn:e.withCtx(()=>[e.renderSlot(p.$slots,`sidebar-after-${L.key}`,{},void 0,!0)]),key:"0"}:void 0]),1032,["item"]))),128))],8,Va)]),_:2},1032,["class","data-testid","model-value"]))),128)):e.createCommentVNode("",!0),F.value.size>0&&D.value.length?(e.openBlock(),e.createElementBlock("div",Ra)):e.createCommentVNode("",!0),D.value.length?(e.openBlock(),e.createElementBlock("ul",La,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.value,y=>(e.openBlock(),e.createBlock(et,{key:y.name,item:y,onClick:j},{[`sidebar-icon-${y.key}`]:e.withCtx(()=>[e.renderSlot(p.$slots,`sidebar-icon-${y.key}`,{},void 0,!0)]),_:2},1032,["item"]))),128))])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Ma,[e.renderSlot(p.$slots,"footer",{},void 0,!0)])],2)]),_:3},512)],64)}}}),[["__scopeId","data-v-5b2d8399"]]),ja=["aria-label"],pt=q(e.defineComponent({__name:"SidebarToggle",props:{active:{type:Boolean,default:!1}},emits:["toggle"],setup(a,{emit:n}){const r=n,o=a,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,f)=>(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"])},[...f[0]||(f[0]=[e.createElementVNode("span",{class:"line"},null,-1),e.createElementVNode("span",{class:"line"},null,-1),e.createElementVNode("span",{class:"line"},null,-1)])],10,ja))}}),[["__scopeId","data-v-cbb41bbd"]]),Pa={id:"kong-ui-app-layout-notification"},Ka={class:"mobile-logo"},Za={key:0,class:"navbar-logo"},za={class:"kong-ui-app-layout-main","data-testid":"kong-ui-app-layout-main"},Ha={class:"kong-ui-app-layout-content"},Wa={class:"kong-ui-app-layout-content-inner"},bt=q(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:()=>[]},groupConfig:{type:Object,default:()=>({})},theme:{type:String,default:"light",validator:a=>["light","dark"].includes(a)}},emits:["sidebar-click","update:topOffset","toggle-collapse"],setup(a,{emit:n}){e.useCssVars(_=>({v26cbc8ac:V.value,v4eb9dde2:M.value,v5f0811fa:X.value,v37ad0844:ne.value,v999c315e:Q.value}));const r=a,o=n,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),f=e.reactive({hidden:e.computed(()=>r.navbarHidden)}),b=e.reactive({topItems:e.computed(()=>r.sidebarTopItems),bottomItems:e.computed(()=>r.sidebarBottomItems),open:e.computed(()=>r.sidebarOpen),hidden:e.computed(()=>r.sidebarHidden)}),w=_=>{o("sidebar-click",_)},C=e.ref(!1),$=_=>{C.value=_};e.watchEffect(()=>{C.value=e.toRef(b,"open").value||!1});const O=e.ref(0),D=e.ref(60),B=e.ref(0),F=e.computed(()=>f.hidden?B.value:D.value+B.value),X=e.computed(()=>r.theme==="light"?An:Fn),V=e.computed(()=>r.theme==="light"?$n:On),M=e.computed(()=>r.theme==="light"?"var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)":"none"),ne=e.computed(()=>`${F.value}px`),Q=e.computed(()=>b.hidden||f.hidden?Dn:xn),{debounce:W}=ft(),Z=W((_=!1)=>{if(_||O.value!==(window==null?void 0:window.innerWidth)){O.value=window==null?void 0:window.innerWidth;const j=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");j&&(B.value=j.offsetHeight)}},200),Y=e.ref();return e.watch(B,_=>{o("update:topOffset",_||0)},{immediate:!0}),e.onMounted(()=>{var j,R;(j=document==null?void 0:document.body)==null||j.classList.add("kong-ui-app-layout-body"),(R=document==null?void 0:document.documentElement)==null||R.classList.add("kong-ui-app-layout-html"),O.value=window==null?void 0:window.innerWidth,Z(!0);const _=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");_&&(Y.value=new ResizeObserver(P=>{window.requestAnimationFrame(()=>{if(!(!Array.isArray(P)||!P.length))for(const N of P){const s=N.contentRect.height;B.value!==s&&(B.value=s)}})}),Y.value.observe(_)),window.addEventListener("resize",Z)}),e.onBeforeUnmount(()=>{Y.value&&Y.value.disconnect(),window.removeEventListener("resize",Z)}),(_,j)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["kong-ui-app-layout",[{"navbar-hidden":f.hidden},{"sidebar-hidden":b.hidden}]])},[e.createElementVNode("div",Pa,[e.renderSlot(_.$slots,"notification",{},void 0,!0)]),f.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ye,{key:String(b.hidden),"left-offset":b.hidden?0:void 0,"top-offset":B.value},e.createSlots({"mobile-sidebar-toggle":e.withCtx(()=>[b.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(pt,{key:0,active:C.value,onToggle:$},null,8,["active"]))]),_:2},[u.navbarMobileLogo?{name:"mobile-logo",fn:e.withCtx(()=>[e.createElementVNode("div",Ka,[e.renderSlot(_.$slots,"navbar-mobile-logo",{},void 0,!0)])]),key:"0"}:void 0,u.navbarLogo?{name:"logo",fn:e.withCtx(()=>[b.hidden?(e.openBlock(),e.createElementBlock("div",Za,[e.renderSlot(_.$slots,"navbar-logo",{},void 0,!0)])):e.createCommentVNode("",!0)]),key:"1"}:void 0,u.navbarLeft?{name:"left",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"navbar-left",{},void 0,!0)]),key:"2"}:void 0,u.navbarCenter?{name:"center",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"navbar-center",{},void 0,!0)]),key:"3"}:void 0,u.navbarRight?{name:"right",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"navbar-right",{},void 0,!0)]),key:"4"}:void 0]),1032,["left-offset","top-offset"])),b.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(mt,{key:1,"bottom-items":b.bottomItems,"group-config":a.groupConfig,"header-height":D.value,"mobile-enabled":"","mobile-header-visible":!1,"mobile-top-offset":F.value,open:C.value,"top-items":b.topItems,"top-offset":B.value,onClick:w,onToggle:$,onToggleCollapse:j[0]||(j[0]=(R,P)=>o("toggle-collapse",R,P))},e.createSlots({_:2},[u.sidebarHeader?{name:"header",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"sidebar-header",{},void 0,!0)]),key:"0"}:void 0,u.sidebarTop?{name:"top",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"sidebar-top",{},void 0,!0)]),key:"1"}:void 0,u.sidebarFooter?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"sidebar-footer",{},void 0,!0)]),key:"2"}:void 0,e.renderList([...b.topItems||[],...b.bottomItems||[]],R=>({name:`sidebar-icon-${R.key}`,fn:e.withCtx(()=>[e.renderSlot(_.$slots,`sidebar-icon-${R.key}`,{},void 0,!0)])})),e.renderList([...b.topItems||[],...b.bottomItems||[]],R=>({name:`sidebar-after-${R.key}`,fn:e.withCtx(()=>[e.renderSlot(_.$slots,`sidebar-after-${R.key}`,{},void 0,!0)])}))]),1032,["bottom-items","group-config","header-height","mobile-top-offset","open","top-items","top-offset"])),e.createElementVNode("main",za,[e.createElementVNode("div",Ha,[e.createElementVNode("div",Wa,[j[1]||(j[1]=e.createElementVNode("div",{id:"kong-ui-app-layout-teleport-default-slot"},null,-1)),e.renderSlot(_.$slots,"app-error",{},void 0,!0),c.value?e.createCommentVNode("",!0):e.renderSlot(_.$slots,"default",{key:0},void 0,!0)])])])],2))}}),[["__scopeId","data-v-a92b50c0"]]),Ga={class:"kong-ui-app-page-header"},Ua={key:0,class:"page-header-breadcrumbs","data-testid":"page-header-breadcrumbs"},qa={class:"page-header-title-section"},Xa={class:"page-header-title-wrapper"},Ya={key:0,class:"page-header-title-before","data-testid":"page-header-title-before"},Qa=["title"],Ja={key:1,class:"page-header-title-after","data-testid":"page-header-title-after"},eo={key:0,class:"page-header-actions","data-testid":"page-header-actions"},to={key:1,class:"page-header-section-below","data-testid":"page-header-section-below"},no=q(e.defineComponent({__name:"AppPageHeader",props:{title:{type:String,default:""},breadcrumbs:{type:Array,default:()=>[]}},setup(a){const n=a,r=e.useSlots(),o=e.computed(()=>{var u;return!!((u=n.breadcrumbs)!=null&&u.length)}),l=e.computed(()=>Object.keys(r).filter(u=>u.startsWith("icon-")));return(u,c)=>{const f=e.resolveComponent("KBreadcrumbs");return e.openBlock(),e.createElementBlock("div",Ga,[o.value?(e.openBlock(),e.createElementBlock("div",Ua,[e.createVNode(f,{"item-max-width":"150",items:a.breadcrumbs},e.createSlots({_:2},[e.renderList(l.value,b=>({name:b,fn:e.withCtx(()=>[e.renderSlot(u.$slots,b,{},void 0,!0)])}))]),1032,["items"])])):e.createCommentVNode("",!0),e.createElementVNode("div",qa,[e.createElementVNode("div",Xa,[u.$slots["title-before"]?(e.openBlock(),e.createElementBlock("div",Ya,[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:a.title},e.toDisplayString(a.title),9,Qa),u.$slots["title-after"]?(e.openBlock(),e.createElementBlock("div",Ja,[e.renderSlot(u.$slots,"title-after",{},void 0,!0)])):e.createCommentVNode("",!0)]),u.$slots.actions?(e.openBlock(),e.createElementBlock("div",eo,[e.renderSlot(u.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)]),u.$slots.below?(e.openBlock(),e.createElementBlock("div",to,[e.renderSlot(u.$slots,"below",{},void 0,!0)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-204b7f98"]]),ao={class:"app-page-info-section-default-header"},oo={key:1,class:"app-page-info-section-description","data-testid":"app-page-info-section-description"},ro={key:0,class:"app-page-info-section-content","data-testid":"app-page-info-section-content"},io=q(e.defineComponent({__name:"AppPageInfoSection",props:{collapsible:{type:Boolean,default:!0},title:{type:String,default:""},description:{type:String,default:""},titleTag:{type:String,default:"div",validator:a=>Xe.HeaderTags.includes(a)}},setup(a){return(n,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.collapsible?"details":"div"),{class:"app-page-info-section","data-testid":"app-page-info-section"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.collapsible?"summary":"div"),{class:"app-page-info-section-header","data-testid":"app-page-info-section-header"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"header",{},()=>[e.createElementVNode("div",ao,[a.title?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.titleTag),{key:0,class:"app-page-info-section-title","data-testid":"app-page-info-section-title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.title),1)]),_:1})):e.createCommentVNode("",!0),a.description?(e.openBlock(),e.createElementBlock("div",oo,e.toDisplayString(a.description),1)):e.createCommentVNode("",!0)])]),a.collapsible?(e.openBlock(),e.createBlock(e.unref(Ae.ChevronRightIcon),{key:0,class:"app-page-info-section-chevron-icon",decorative:""})):n.$slots.actions?e.renderSlot(n.$slots,"actions",{key:1}):e.createCommentVNode("",!0)]),_:3})),n.$slots.default?(e.openBlock(),e.createElementBlock("div",ro,[e.renderSlot(n.$slots,"default")])):e.createCommentVNode("",!0)]),_:3}))}}),[["__scopeId","data-v-62f17e32"]]),co=q(e.defineComponent({__name:"GradientBadge",props:{large:{type:Boolean,default:!1},inverse:{type:Boolean,default:!1}},setup(a){return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["gradient-badge",{inverse:a.inverse}])},[e.createElementVNode("div",{class:e.normalizeClass(["gradient-badge-content",{large:a.large}])},[e.renderSlot(n.$slots,"default",{},void 0,!0)],2)],2))}}),[["__scopeId","data-v-4679a763"]]),lo={install:(a,n={})=>{a.component(n.name||"AppLayout",bt)}};x.AccountDropdown=jt,x.AppAboutSection=Jt,x.AppError=ln,x.AppLayout=bt,x.AppNavbar=Ye,x.AppPageHeader=no,x.AppPageInfoSection=io,x.AppSidebar=mt,x.GradientBadge=co,x.SidebarToggle=pt,x.default=lo,Object.defineProperties(x,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
12
|
+
*/function $r(a){return a}const _a={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},Ta=e.defineComponent({name:"FocusTrap",props:Object.assign({active:{type:Boolean,default:!0}},_a),emits:["update:active","activate","postActivate","deactivate","postDeactivate"],render(){return this.renderImpl()},setup(a,{slots:n,emit:r}){let o;const l=e.ref(null),u=e.computed(()=>{const f=l.value;return f&&(f instanceof HTMLElement?f:f.$el)});function c(){return o||(o=Ba(u.value,{escapeDeactivates:a.escapeDeactivates,allowOutsideClick:a.allowOutsideClick,returnFocusOnDeactivate:a.returnFocusOnDeactivate,clickOutsideDeactivates:a.clickOutsideDeactivates,onActivate:()=>{r("update:active",!0),r("activate")},onDeactivate:()=>{r("update:active",!1),r("deactivate")},onPostActivate:()=>r("postActivate"),onPostDeactivate:()=>r("postDeactivate"),initialFocus:a.initialFocus,fallbackFocus:a.fallbackFocus,tabbableOptions:a.tabbableOptions,delayInitialFocus:a.delayInitialFocus,preventScroll:a.preventScroll}))}return e.onMounted(()=>{e.watch(()=>a.active,f=>{f&&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(!n.default)return null;const f=n.default().filter(k=>k.type!==e.Comment);return!f||!f.length||f.length>1?(console.error("[focus-trap-vue]: FocusTrap requires exactly one child."),f):e.cloneVNode(f[0],{ref:l})}}}});function pt(){return{debounce:(n,r)=>{let o;return(...l)=>{clearTimeout(o),o=window==null?void 0:window.setTimeout(()=>{n(...l)},r)}}}}var Be=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Na(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var _e={exports:{}};_e.exports,function(a,n){var r=200,o="__lodash_hash_undefined__",l=9007199254740991,u="[object Arguments]",c="[object Array]",f="[object Boolean]",b="[object Date]",k="[object Error]",C="[object Function]",$="[object GeneratorFunction]",O="[object Map]",D="[object Number]",B="[object Object]",F="[object Promise]",X="[object RegExp]",V="[object Set]",M="[object String]",ne="[object Symbol]",Q="[object WeakMap]",W="[object ArrayBuffer]",Z="[object DataView]",Y="[object Float32Array]",T="[object Float64Array]",P="[object Int8Array]",R="[object Int16Array]",j="[object Int32Array]",N="[object Uint8Array]",s="[object Uint8ClampedArray]",p="[object Uint16Array]",g="[object Uint32Array]",_=/[\\^$.*+?()[\]{}|]/g,I=/\w*$/,A=/^\[object .+?Constructor\]$/,E=/^(?:0|[1-9]\d*)$/,w={};w[u]=w[c]=w[W]=w[Z]=w[f]=w[b]=w[Y]=w[T]=w[P]=w[R]=w[j]=w[O]=w[D]=w[B]=w[X]=w[V]=w[M]=w[ne]=w[N]=w[s]=w[p]=w[g]=!0,w[k]=w[C]=w[Q]=!1;var m=typeof Be=="object"&&Be&&Be.Object===Object&&Be,S=typeof self=="object"&&self&&self.Object===Object&&self,v=m||S||Function("return this")(),y=n&&!n.nodeType&&n,H=y&&!0&&a&&!a.nodeType&&a,L=H&&H.exports===y;function z(t,i){return t.set(i[0],i[1]),t}function J(t,i){return t.add(i),t}function so(t,i){for(var d=-1,h=t?t.length:0;++d<h&&i(t[d],d,t)!==!1;);return t}function uo(t,i){for(var d=-1,h=i.length,K=t.length;++d<h;)t[K+d]=i[d];return t}function gt(t,i,d,h){for(var K=-1,G=t?t.length:0;++K<G;)d=i(d,t[K],K,t);return d}function fo(t,i){for(var d=-1,h=Array(t);++d<t;)h[d]=i(d);return h}function po(t,i){return t==null?void 0:t[i]}function yt(t){var i=!1;if(t!=null&&typeof t.toString!="function")try{i=!!(t+"")}catch{}return i}function vt(t){var i=-1,d=Array(t.size);return t.forEach(function(h,K){d[++i]=[K,h]}),d}function Pe(t,i){return function(d){return t(i(d))}}function kt(t){var i=-1,d=Array(t.size);return t.forEach(function(h){d[++i]=h}),d}var mo=Array.prototype,bo=Function.prototype,Te=Object.prototype,je=v["__core-js_shared__"],wt=function(){var t=/[^.]+$/.exec(je&&je.keys&&je.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Ct=bo.toString,ae=Te.hasOwnProperty,Ne=Te.toString,ho=RegExp("^"+Ct.call(ae).replace(_,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),St=L?v.Buffer:void 0,Et=v.Symbol,Bt=v.Uint8Array,go=Pe(Object.getPrototypeOf,Object),yo=Object.create,vo=Te.propertyIsEnumerable,ko=mo.splice,_t=Object.getOwnPropertySymbols,wo=St?St.isBuffer:void 0,Co=Pe(Object.keys,Object),Ke=pe(v,"DataView"),ye=pe(v,"Map"),Ze=pe(v,"Promise"),ze=pe(v,"Set"),He=pe(v,"WeakMap"),ve=pe(Object,"create"),So=se(Ke),Eo=se(ye),Bo=se(Ze),_o=se(ze),To=se(He),Tt=Et?Et.prototype:void 0,Nt=Tt?Tt.valueOf:void 0;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 No(){this.__data__=ve?ve(null):{}}function Io(t){return this.has(t)&&delete this.__data__[t]}function $o(t){var i=this.__data__;if(ve){var d=i[t];return d===o?void 0:d}return ae.call(i,t)?i[t]:void 0}function Oo(t){var i=this.__data__;return ve?i[t]!==void 0:ae.call(i,t)}function Ao(t,i){var d=this.__data__;return d[t]=ve&&i===void 0?o:i,this}ce.prototype.clear=No,ce.prototype.delete=Io,ce.prototype.get=$o,ce.prototype.has=Oo,ce.prototype.set=Ao;function ee(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 Fo(){this.__data__=[]}function Do(t){var i=this.__data__,d=Ie(i,t);if(d<0)return!1;var h=i.length-1;return d==h?i.pop():ko.call(i,d,1),!0}function xo(t){var i=this.__data__,d=Ie(i,t);return d<0?void 0:i[d][1]}function Vo(t){return Ie(this.__data__,t)>-1}function Ro(t,i){var d=this.__data__,h=Ie(d,t);return h<0?d.push([t,i]):d[h][1]=i,this}ee.prototype.clear=Fo,ee.prototype.delete=Do,ee.prototype.get=xo,ee.prototype.has=Vo,ee.prototype.set=Ro;function ue(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 Lo(){this.__data__={hash:new ce,map:new(ye||ee),string:new ce}}function Mo(t){return $e(this,t).delete(t)}function Po(t){return $e(this,t).get(t)}function jo(t){return $e(this,t).has(t)}function Ko(t,i){return $e(this,t).set(t,i),this}ue.prototype.clear=Lo,ue.prototype.delete=Mo,ue.prototype.get=Po,ue.prototype.has=jo,ue.prototype.set=Ko;function fe(t){this.__data__=new ee(t)}function Zo(){this.__data__=new ee}function zo(t){return this.__data__.delete(t)}function Ho(t){return this.__data__.get(t)}function Wo(t){return this.__data__.has(t)}function Go(t,i){var d=this.__data__;if(d instanceof ee){var h=d.__data__;if(!ye||h.length<r-1)return h.push([t,i]),this;d=this.__data__=new ue(h)}return d.set(t,i),this}fe.prototype.clear=Zo,fe.prototype.delete=zo,fe.prototype.get=Ho,fe.prototype.has=Wo,fe.prototype.set=Go;function Uo(t,i){var d=Ue(t)||yr(t)?fo(t.length,String):[],h=d.length,K=!!h;for(var G in t)ae.call(t,G)&&!(K&&(G=="length"||mr(G,h)))&&d.push(G);return d}function It(t,i,d){var h=t[i];(!(ae.call(t,i)&&Ft(h,d))||d===void 0&&!(i in t))&&(t[i]=d)}function Ie(t,i){for(var d=t.length;d--;)if(Ft(t[d][0],i))return d;return-1}function qo(t,i){return t&&$t(i,qe(i),t)}function We(t,i,d,h,K,G,te){var U;if(h&&(U=G?h(t,K,G,te):h(t)),U!==void 0)return U;if(!Oe(t))return t;var Vt=Ue(t);if(Vt){if(U=ur(t),!i)return lr(t,U)}else{var me=le(t),Rt=me==C||me==$;if(kr(t))return tr(t,i);if(me==B||me==u||Rt&&!G){if(yt(t))return G?t:{};if(U=fr(Rt?{}:t),!i)return sr(t,qo(U,t))}else{if(!w[me])return G?t:{};U=pr(t,me,We,i)}}te||(te=new fe);var Lt=te.get(t);if(Lt)return Lt;if(te.set(t,U),!Vt)var Mt=d?dr(t):qe(t);return so(Mt||t,function(Xe,Ae){Mt&&(Ae=Xe,Xe=t[Ae]),It(U,Ae,We(Xe,i,d,h,Ae,t,te))}),U}function Xo(t){return Oe(t)?yo(t):{}}function Yo(t,i,d){var h=i(t);return Ue(t)?h:uo(h,d(t))}function Qo(t){return Ne.call(t)}function Jo(t){if(!Oe(t)||hr(t))return!1;var i=xt(t)||yt(t)?ho:A;return i.test(se(t))}function er(t){if(!At(t))return Co(t);var i=[];for(var d in Object(t))ae.call(t,d)&&d!="constructor"&&i.push(d);return i}function tr(t,i){if(i)return t.slice();var d=new t.constructor(t.length);return t.copy(d),d}function Ge(t){var i=new t.constructor(t.byteLength);return new Bt(i).set(new Bt(t)),i}function nr(t,i){var d=i?Ge(t.buffer):t.buffer;return new t.constructor(d,t.byteOffset,t.byteLength)}function ar(t,i,d){var h=i?d(vt(t),!0):vt(t);return gt(h,z,new t.constructor)}function or(t){var i=new t.constructor(t.source,I.exec(t));return i.lastIndex=t.lastIndex,i}function rr(t,i,d){var h=i?d(kt(t),!0):kt(t);return gt(h,J,new t.constructor)}function ir(t){return Nt?Object(Nt.call(t)):{}}function cr(t,i){var d=i?Ge(t.buffer):t.buffer;return new t.constructor(d,t.byteOffset,t.length)}function lr(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 K=-1,G=i.length;++K<G;){var te=i[K],U=void 0;It(d,te,U===void 0?t[te]:U)}return d}function sr(t,i){return $t(t,Ot(t),i)}function dr(t){return Yo(t,qe,Ot)}function $e(t,i){var d=t.__data__;return br(i)?d[typeof i=="string"?"string":"hash"]:d.map}function pe(t,i){var d=po(t,i);return Jo(d)?d:void 0}var Ot=_t?Pe(_t,Object):Sr,le=Qo;(Ke&&le(new Ke(new ArrayBuffer(1)))!=Z||ye&&le(new ye)!=O||Ze&&le(Ze.resolve())!=F||ze&&le(new ze)!=V||He&&le(new He)!=Q)&&(le=function(t){var i=Ne.call(t),d=i==B?t.constructor:void 0,h=d?se(d):void 0;if(h)switch(h){case So:return Z;case Eo:return O;case Bo:return F;case _o:return V;case To:return Q}return i});function ur(t){var i=t.length,d=t.constructor(i);return i&&typeof t[0]=="string"&&ae.call(t,"index")&&(d.index=t.index,d.input=t.input),d}function fr(t){return typeof t.constructor=="function"&&!At(t)?Xo(go(t)):{}}function pr(t,i,d,h){var K=t.constructor;switch(i){case W:return Ge(t);case f:case b:return new K(+t);case Z:return nr(t,h);case Y:case T:case P:case R:case j:case N:case s:case p:case g:return cr(t,h);case O:return ar(t,h,d);case D:case M:return new K(t);case X:return or(t);case V:return rr(t,h,d);case ne:return ir(t)}}function mr(t,i){return i=i??l,!!i&&(typeof t=="number"||E.test(t))&&t>-1&&t%1==0&&t<i}function br(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function hr(t){return!!wt&&wt in t}function At(t){var i=t&&t.constructor,d=typeof i=="function"&&i.prototype||Te;return t===d}function se(t){if(t!=null){try{return Ct.call(t)}catch{}try{return t+""}catch{}}return""}function gr(t){return We(t,!0,!0)}function Ft(t,i){return t===i||t!==t&&i!==i}function yr(t){return vr(t)&&ae.call(t,"callee")&&(!vo.call(t,"callee")||Ne.call(t)==u)}var Ue=Array.isArray;function Dt(t){return t!=null&&wr(t.length)&&!xt(t)}function vr(t){return Cr(t)&&Dt(t)}var kr=wo||Er;function xt(t){var i=Oe(t)?Ne.call(t):"";return i==C||i==$}function wr(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=l}function Oe(t){var i=typeof t;return!!t&&(i=="object"||i=="function")}function Cr(t){return!!t&&typeof t=="object"}function qe(t){return Dt(t)?Uo(t):er(t)}function Sr(){return[]}function Er(){return!1}a.exports=gr}(_e,_e.exports);var Ia=_e.exports;const $a=Na(Ia),Oa={key:0,class:"sidebar-header"},Aa={class:"sidebar-content-container"},Fa={key:0,class:"sidebar-top"},Da={"aria-label":"Main menu"},xa=["id"],Va=["aria-labelledby"],Ra={key:1,class:"sidebar-level-divider",role:"separator"},La={key:2,class:"level-primary bottom-items"},Ma={class:"sidebar-footer"},ie="_ungrouped",mt=q(e.defineComponent({__name:"AppSidebar",props:{topItems:{type:Array,default:()=>[]},bottomItems:{type:Array,default:()=>[]},groupConfig:{type:Object,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","toggle-collapse"],setup(a,{emit:n}){e.useCssVars(m=>({v33776360:f.value.mobileHeight,v7df1c1bc:f.value.mobileTop,v4e4b4048:a.zIndex,v3450ad5e:f.value.height,v5096e87e:f.value.top,ff8b2e5c:k.value.marginTop,aafa0d52:E.value,v5c6a990c:b.value.display,v73336ad1:b.value.minHeight,v91fb62e6:C.value.top,v04cd8780:C.value.zIndex}));const r=n,o=a,l=e.useSlots(),u=e.computed(()=>!!l.header),c=e.computed(()=>!!l.top),f=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%"})),b=e.computed(()=>({display:!o.mobileHeaderVisible&&o.mobileEnabled?"none":"flex",minHeight:`${o.headerHeight}px`})),k=e.computed(()=>({marginTop:u.value?`${o.headerHeight}px`:"0"})),C=e.computed(()=>({top:o.mobileTopOffset&&o.mobileEnabled?`${o.mobileTopOffset}px`:"0",zIndex:o.mobileOverlayZIndex!==null?o.mobileOverlayZIndex:o.zIndex>1?o.zIndex-1:1})),$=m=>$a(m).map(v=>{var y,H,L;if(v){(!v.key||!((y=v.key)!=null&&y.trim()))&&(v.key=String(v.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-")),(!v.testId||!((H=v.testId)!=null&&H.trim()))&&(v.testId=String(v.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"));for(const z of v.items||[])z.parentKey=v.key,(!z.testId||!((L=z.testId)!=null&&L.trim()))&&(z.testId=String(z.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"))}return v}),O=e.computed(()=>o.topItems.length?$(o.topItems):[]),D=e.computed(()=>o.bottomItems.length?$(o.bottomItems):[]),B=(m="")=>m.trim().replace(" ","").replace(/[^a-z0-9]+/gi,"-").toLowerCase(),F=e.computed(()=>{var S;const m=new Map;m.set(ie,[]);for(const v of O.value){const y=v.group||ie;m.has(y)||m.set(y,[]),(S=m.get(y))==null||S.push(v)}return m}),X=$n(`max-width: ${Rn}`),V=(m="")=>{if(m===ie||!m.trim())return null;const S={label:m,collapsible:!1,collapsed:!1};let v=m.trim().replace(" ","");return v=v.charAt(0).toLowerCase()+v.slice(1),m&&o.groupConfig&&(o.groupConfig[m]||o.groupConfig[v])?o.groupConfig[m]||o.groupConfig[v]:S},M=m=>{var S;return!!((S=V(m))!=null&&S.collapsible)},ne=m=>{var S;return!!((S=V(m))!=null&&S.collapsed)},Q=(m,S,v)=>{const y=V(m);y&&(y.collapsed=!S),v(),r("toggle-collapse",m,y)},W=e.ref(o.open),Z=m=>{var S,v;W.value!==m&&(W.value=m,r("toggle",m)),m?(S=document==null?void 0:document.body)==null||S.classList.add("kong-ui-app-sidebar-open"):(v=document==null?void 0:document.body)==null||v.classList.remove("kong-ui-app-sidebar-open"),T.value=!1},Y=()=>{o.mobileOverlayCloseOnClick&&Z(!1)},T=e.ref(!1),P=m=>{T.value=!0,r("click",m),setTimeout(()=>{Z(!1)},o.mobileCloseDelay)};e.watch(()=>o.open,m=>{Z(m)});const{debounce:R}=pt(),j=R(()=>{W.value&&N.value!==(window==null?void 0:window.innerWidth)&&(N.value=window==null?void 0:window.innerWidth,Z(!1))},200),N=e.ref(),s=e.ref(!1),p=e.ref(),g=()=>{s.value||(s.value=!0,clearTimeout(p.value),p.value=setTimeout(()=>s.value=!1,1300))},_=e.ref(null),I=e.computed(()=>W.value&&o.mobileEnabled),A=async m=>{var S,v;m?(await e.nextTick(),await new Promise(y=>setTimeout(y,300)),(S=_.value)==null||S.activate()):(v=_.value)==null||v.deactivate()};e.watch(I,async m=>{m?await A(!0):await A(!1)},{immediate:!0});const E=e.ref("0px"),w=()=>{var z;if(!(/Mac|iPhone|iPod|iPad/i.test(navigator==null?void 0:navigator.platform)||/macOS|Mac|iPhone|iPod|iPad/i.test((z=navigator==null?void 0:navigator.userAgentData)==null?void 0:z.platform)))return;const S=document.createElement("div");S.style.visibility="hidden",S.style.width="100px",document.body.appendChild(S);const v=S.offsetWidth;S.style.overflow="scroll";const y=document.createElement("div");y.style.width="100%",S.appendChild(y);const H=y.offsetWidth;S.parentNode&&S.parentNode.removeChild(S),v-H===0&&(E.value="8px")};return e.onMounted(async()=>{if(N.value=window==null?void 0:window.innerWidth,window.addEventListener("resize",j),window.addEventListener("resize",g),o.groupConfig&&X.value)for(const m in o.groupConfig){const S=o.groupConfig[m];S.collapsed=!1}await e.nextTick(),w()}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",j),window.removeEventListener("resize",g)}),e.watch(()=>o.groupConfig,m=>{console.log("groupConfig updated",m)}),(m,S)=>{const v=e.resolveComponent("KCollapse");return e.openBlock(),e.createElementBlock(e.Fragment,null,[W.value&&a.mobileOverlay&&a.mobileEnabled?(e.openBlock(),e.createElementBlock("div",{key:0,class:"kong-ui-app-sidebar-overlay",onClick:Y})):e.createCommentVNode("",!0),e.createVNode(e.unref(Ta),{ref_key:"focusTrap",ref:_,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":W.value,"no-sidebar-header":!u.value,"mobile-header-hidden":a.mobileEnabled&&(!u.value||!a.mobileHeaderVisible),"mobile-disabled":!a.mobileEnabled,"disable-transitions":s.value}]),tabindex:"-1"},[u.value?(e.openBlock(),e.createElementBlock("div",Oa,[e.renderSlot(m.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Aa,[c.value?(e.openBlock(),e.createElementBlock("div",Fa,[e.renderSlot(m.$slots,"top",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("nav",Da,[F.value.size>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(F.value,([y,H])=>(e.openBlock(),e.createBlock(v,{key:y,class:e.normalizeClass(["level-primary-group-collapse",{"not-collapsible":!M(y),ungrouped:y===ie}]),"data-testid":y===ie?"level-primary-group-collapse-ungrouped":`level-primary-group-collapse-${y}`,"model-value":M(y)&&ne(y)||!1},{trigger:e.withCtx(({isCollapsed:L,toggle:z})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(M(y)?e.unref(Ye.KButton):"div"),{appearance:M(y)?"none":void 0,class:"level-primary-group-collapse-trigger",onClick:J=>M(y)?Q(y,L,z):void 0},{default:e.withCtx(()=>{var J;return[y!==ie?(e.openBlock(),e.createElementBlock("div",{key:0,id:`level-primary-group-${B(y)}`,class:"level-primary-group-name","data-testid":"level-primary-group-name",role:"presentation"},e.toDisplayString(((J=V(y))==null?void 0:J.label)||y),9,xa)):e.createCommentVNode("",!0),M(y)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(L?e.unref(Fe.ChevronRightIcon):e.unref(Fe.ChevronDownIcon)),{key:1,class:"level-primary-group-collapse-icon",color:e.unref(Mn),"data-testid":"level-primary-group-collapse-icon",size:e.unref(Ln)},null,8,["color","size"])):e.createCommentVNode("",!0)]}),_:2},1032,["appearance","onClick"]))]),default:e.withCtx(()=>[e.createElementVNode("ul",{"aria-labelledby":y!==ie?`level-primary-group-${B(y)}`:void 0,class:"level-primary top-items"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(H,L=>(e.openBlock(),e.createBlock(tt,{key:L.name,item:L,onClick:P},e.createSlots({[`sidebar-icon-${L.key}`]:e.withCtx(()=>[e.renderSlot(m.$slots,`sidebar-icon-${L.key}`,{},void 0,!0)]),_:2},[m.$slots[`sidebar-after-${L.key}`]?{name:`sidebar-after-${L.key}`,fn:e.withCtx(()=>[e.renderSlot(m.$slots,`sidebar-after-${L.key}`,{},void 0,!0)]),key:"0"}:void 0]),1032,["item"]))),128))],8,Va)]),_:2},1032,["class","data-testid","model-value"]))),128)):e.createCommentVNode("",!0),F.value.size>0&&D.value.length?(e.openBlock(),e.createElementBlock("div",Ra)):e.createCommentVNode("",!0),D.value.length?(e.openBlock(),e.createElementBlock("ul",La,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.value,y=>(e.openBlock(),e.createBlock(tt,{key:y.name,item:y,onClick:P},{[`sidebar-icon-${y.key}`]:e.withCtx(()=>[e.renderSlot(m.$slots,`sidebar-icon-${y.key}`,{},void 0,!0)]),_:2},1032,["item"]))),128))])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Ma,[e.renderSlot(m.$slots,"footer",{},void 0,!0)])],2)]),_:3},512)],64)}}}),[["__scopeId","data-v-5b2d8399"]]),Pa=["aria-label"],bt=q(e.defineComponent({__name:"SidebarToggle",props:{active:{type:Boolean,default:!1}},emits:["toggle"],setup(a,{emit:n}){const r=n,o=a,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,f)=>(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"])},[...f[0]||(f[0]=[e.createElementVNode("span",{class:"line"},null,-1),e.createElementVNode("span",{class:"line"},null,-1),e.createElementVNode("span",{class:"line"},null,-1)])],10,Pa))}}),[["__scopeId","data-v-cbb41bbd"]]),ja={id:"kong-ui-app-layout-notification"},Ka={class:"mobile-logo"},Za={key:0,class:"navbar-logo"},za={class:"kong-ui-app-layout-main","data-testid":"kong-ui-app-layout-main"},Ha={class:"kong-ui-app-layout-content"},Wa={class:"kong-ui-app-layout-content-inner"},ht=q(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:()=>[]},groupConfig:{type:Object,default:()=>({})},theme:{type:String,default:"light",validator:a=>["light","dark"].includes(a)}},emits:["sidebar-click","update:topOffset","toggle-collapse"],setup(a,{emit:n}){e.useCssVars(T=>({v26cbc8ac:V.value,v4eb9dde2:M.value,v5f0811fa:X.value,v37ad0844:ne.value,v999c315e:Q.value}));const r=a,o=n,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),f=e.reactive({hidden:e.computed(()=>r.navbarHidden)}),b=e.reactive({topItems:e.computed(()=>r.sidebarTopItems),bottomItems:e.computed(()=>r.sidebarBottomItems),open:e.computed(()=>r.sidebarOpen),hidden:e.computed(()=>r.sidebarHidden)}),k=T=>{o("sidebar-click",T)},C=e.ref(!1),$=T=>{C.value=T};e.watchEffect(()=>{C.value=e.toRef(b,"open").value||!1});const O=e.ref(0),D=e.ref(60),B=e.ref(0),F=e.computed(()=>f.hidden?B.value:D.value+B.value),X=e.computed(()=>r.theme==="light"?Fn:Dn),V=e.computed(()=>r.theme==="light"?On:An),M=e.computed(()=>r.theme==="light"?"var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)":"none"),ne=e.computed(()=>`${F.value}px`),Q=e.computed(()=>b.hidden||f.hidden?xn:Vn),{debounce:W}=pt(),Z=W((T=!1)=>{if(T||O.value!==(window==null?void 0:window.innerWidth)){O.value=window==null?void 0:window.innerWidth;const P=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");P&&(B.value=P.offsetHeight)}},200),Y=e.ref();return e.watch(B,T=>{o("update:topOffset",T||0)},{immediate:!0}),e.onMounted(()=>{var P,R;(P=document==null?void 0:document.body)==null||P.classList.add("kong-ui-app-layout-body"),(R=document==null?void 0:document.documentElement)==null||R.classList.add("kong-ui-app-layout-html"),O.value=window==null?void 0:window.innerWidth,Z(!0);const T=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");T&&(Y.value=new ResizeObserver(j=>{window.requestAnimationFrame(()=>{if(!(!Array.isArray(j)||!j.length))for(const N of j){const s=N.contentRect.height;B.value!==s&&(B.value=s)}})}),Y.value.observe(T)),window.addEventListener("resize",Z)}),e.onBeforeUnmount(()=>{Y.value&&Y.value.disconnect(),window.removeEventListener("resize",Z)}),(T,P)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["kong-ui-app-layout",[{"navbar-hidden":f.hidden},{"sidebar-hidden":b.hidden}]])},[e.createElementVNode("div",ja,[e.renderSlot(T.$slots,"notification",{},void 0,!0)]),f.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Qe,{key:String(b.hidden),"left-offset":b.hidden?0:void 0,"top-offset":B.value},e.createSlots({"mobile-sidebar-toggle":e.withCtx(()=>[b.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(bt,{key:0,active:C.value,onToggle:$},null,8,["active"]))]),_:2},[u.navbarMobileLogo?{name:"mobile-logo",fn:e.withCtx(()=>[e.createElementVNode("div",Ka,[e.renderSlot(T.$slots,"navbar-mobile-logo",{},void 0,!0)])]),key:"0"}:void 0,u.navbarLogo?{name:"logo",fn:e.withCtx(()=>[b.hidden?(e.openBlock(),e.createElementBlock("div",Za,[e.renderSlot(T.$slots,"navbar-logo",{},void 0,!0)])):e.createCommentVNode("",!0)]),key:"1"}:void 0,u.navbarLeft?{name:"left",fn:e.withCtx(()=>[e.renderSlot(T.$slots,"navbar-left",{},void 0,!0)]),key:"2"}:void 0,u.navbarCenter?{name:"center",fn:e.withCtx(()=>[e.renderSlot(T.$slots,"navbar-center",{},void 0,!0)]),key:"3"}:void 0,u.navbarRight?{name:"right",fn:e.withCtx(()=>[e.renderSlot(T.$slots,"navbar-right",{},void 0,!0)]),key:"4"}:void 0]),1032,["left-offset","top-offset"])),b.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(mt,{key:1,"bottom-items":b.bottomItems,"group-config":a.groupConfig,"header-height":D.value,"mobile-enabled":"","mobile-header-visible":!1,"mobile-top-offset":F.value,open:C.value,"top-items":b.topItems,"top-offset":B.value,onClick:k,onToggle:$,onToggleCollapse:P[0]||(P[0]=(R,j)=>o("toggle-collapse",R,j))},e.createSlots({_:2},[u.sidebarHeader?{name:"header",fn:e.withCtx(()=>[e.renderSlot(T.$slots,"sidebar-header",{},void 0,!0)]),key:"0"}:void 0,u.sidebarTop?{name:"top",fn:e.withCtx(()=>[e.renderSlot(T.$slots,"sidebar-top",{},void 0,!0)]),key:"1"}:void 0,u.sidebarFooter?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(T.$slots,"sidebar-footer",{},void 0,!0)]),key:"2"}:void 0,e.renderList([...b.topItems||[],...b.bottomItems||[]],R=>({name:`sidebar-icon-${R.key}`,fn:e.withCtx(()=>[e.renderSlot(T.$slots,`sidebar-icon-${R.key}`,{},void 0,!0)])})),e.renderList([...b.topItems||[],...b.bottomItems||[]],R=>({name:`sidebar-after-${R.key}`,fn:e.withCtx(()=>[e.renderSlot(T.$slots,`sidebar-after-${R.key}`,{},void 0,!0)])}))]),1032,["bottom-items","group-config","header-height","mobile-top-offset","open","top-items","top-offset"])),e.createElementVNode("main",za,[e.createElementVNode("div",Ha,[e.createElementVNode("div",Wa,[P[1]||(P[1]=e.createElementVNode("div",{id:"kong-ui-app-layout-teleport-default-slot"},null,-1)),e.renderSlot(T.$slots,"app-error",{},void 0,!0),c.value?e.createCommentVNode("",!0):e.renderSlot(T.$slots,"default",{key:0},void 0,!0)])])])],2))}}),[["__scopeId","data-v-a92b50c0"]]),Ga={class:"kong-ui-app-page-header"},Ua={key:0,class:"page-header-breadcrumbs","data-testid":"page-header-breadcrumbs"},qa={class:"page-header-title-section"},Xa={class:"page-header-title-wrapper"},Ya={key:0,class:"page-header-title-before","data-testid":"page-header-title-before"},Qa=["title"],Ja={key:1,class:"page-header-title-after","data-testid":"page-header-title-after"},eo={key:0,class:"page-header-actions","data-testid":"page-header-actions"},to={key:1,class:"page-header-section-below","data-testid":"page-header-section-below"},no=q(e.defineComponent({__name:"AppPageHeader",props:{title:{type:String,default:""},breadcrumbs:{type:Array,default:()=>[]}},setup(a){const n=a,r=e.useSlots(),o=e.computed(()=>{var u;return!!((u=n.breadcrumbs)!=null&&u.length)}),l=e.computed(()=>Object.keys(r).filter(u=>u.startsWith("icon-")));return(u,c)=>{const f=e.resolveComponent("KBreadcrumbs");return e.openBlock(),e.createElementBlock("div",Ga,[o.value?(e.openBlock(),e.createElementBlock("div",Ua,[e.createVNode(f,{"item-max-width":"150",items:a.breadcrumbs},e.createSlots({_:2},[e.renderList(l.value,b=>({name:b,fn:e.withCtx(()=>[e.renderSlot(u.$slots,b,{},void 0,!0)])}))]),1032,["items"])])):e.createCommentVNode("",!0),e.createElementVNode("div",qa,[e.createElementVNode("div",Xa,[u.$slots["title-before"]?(e.openBlock(),e.createElementBlock("div",Ya,[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:a.title},e.toDisplayString(a.title),9,Qa),u.$slots["title-after"]?(e.openBlock(),e.createElementBlock("div",Ja,[e.renderSlot(u.$slots,"title-after",{},void 0,!0)])):e.createCommentVNode("",!0)]),u.$slots.actions?(e.openBlock(),e.createElementBlock("div",eo,[e.renderSlot(u.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)]),u.$slots.below?(e.openBlock(),e.createElementBlock("div",to,[e.renderSlot(u.$slots,"below",{},void 0,!0)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-204b7f98"]]),ao={class:"app-page-info-section-default-header"},oo={key:1,class:"app-page-info-section-description","data-testid":"app-page-info-section-description"},ro={key:0,class:"app-page-info-section-content","data-testid":"app-page-info-section-content"},io=q(e.defineComponent({__name:"AppPageInfoSection",props:{collapsible:{type:Boolean,default:!0},title:{type:String,default:""},description:{type:String,default:""},titleTag:{type:String,default:"div",validator:a=>Ye.HeaderTags.includes(a)}},setup(a){return(n,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.collapsible?"details":"div"),{class:"app-page-info-section","data-testid":"app-page-info-section"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.collapsible?"summary":"div"),{class:"app-page-info-section-header","data-testid":"app-page-info-section-header"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"header",{},()=>[e.createElementVNode("div",ao,[a.title?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.titleTag),{key:0,class:"app-page-info-section-title","data-testid":"app-page-info-section-title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.title),1)]),_:1})):e.createCommentVNode("",!0),a.description?(e.openBlock(),e.createElementBlock("div",oo,e.toDisplayString(a.description),1)):e.createCommentVNode("",!0)])]),a.collapsible?(e.openBlock(),e.createBlock(e.unref(Fe.ChevronRightIcon),{key:0,class:"app-page-info-section-chevron-icon",decorative:""})):n.$slots.actions?e.renderSlot(n.$slots,"actions",{key:1}):e.createCommentVNode("",!0)]),_:3})),n.$slots.default?(e.openBlock(),e.createElementBlock("div",ro,[e.renderSlot(n.$slots,"default")])):e.createCommentVNode("",!0)]),_:3}))}}),[["__scopeId","data-v-62f17e32"]]),co=q(e.defineComponent({__name:"GradientBadge",props:{large:{type:Boolean,default:!1},inverse:{type:Boolean,default:!1}},setup(a){return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["gradient-badge",{inverse:a.inverse}])},[e.createElementVNode("div",{class:e.normalizeClass(["gradient-badge-content",{large:a.large}])},[e.renderSlot(n.$slots,"default",{},void 0,!0)],2)],2))}}),[["__scopeId","data-v-4679a763"]]),lo={install:(a,n={})=>{a.component(n.name||"AppLayout",ht)}};x.AccountDropdown=jt,x.AppAboutSection=en,x.AppError=sn,x.AppLayout=ht,x.AppNavbar=Qe,x.AppPageHeader=no,x.AppPageInfoSection=io,x.AppSidebar=mt,x.GradientBadge=co,x.SidebarToggle=bt,x.default=lo,Object.defineProperties(x,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import type { GroupConfig, GroupConfigMap, SidebarPrimaryItem, SidebarSecondaryItem } from '../types';
|
|
3
|
-
declare var __VLS_1: {},
|
|
3
|
+
declare var __VLS_1: {}, __VLS_18: {}, __VLS_21: {}, __VLS_24: {}, __VLS_27: {}, __VLS_30: {}, __VLS_43: {}, __VLS_46: {}, __VLS_49: {}, __VLS_53: `sidebar-icon-${string}`, __VLS_54: {}, __VLS_58: `sidebar-after-${string}`, __VLS_59: {}, __VLS_61: {}, __VLS_63: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
[K in NonNullable<typeof
|
|
5
|
+
[K in NonNullable<typeof __VLS_53>]?: (props: typeof __VLS_54) => any;
|
|
6
6
|
} & {
|
|
7
|
-
[K in NonNullable<typeof
|
|
7
|
+
[K in NonNullable<typeof __VLS_58>]?: (props: typeof __VLS_59) => any;
|
|
8
8
|
} & {
|
|
9
9
|
notification?: (props: typeof __VLS_1) => any;
|
|
10
10
|
} & {
|
|
11
|
-
'navbar-mobile-logo'?: (props: typeof
|
|
11
|
+
'navbar-mobile-logo'?: (props: typeof __VLS_18) => any;
|
|
12
12
|
} & {
|
|
13
|
-
'navbar-logo'?: (props: typeof
|
|
13
|
+
'navbar-logo'?: (props: typeof __VLS_21) => any;
|
|
14
14
|
} & {
|
|
15
|
-
'navbar-left'?: (props: typeof
|
|
15
|
+
'navbar-left'?: (props: typeof __VLS_24) => any;
|
|
16
16
|
} & {
|
|
17
|
-
'navbar-center'?: (props: typeof
|
|
17
|
+
'navbar-center'?: (props: typeof __VLS_27) => any;
|
|
18
18
|
} & {
|
|
19
|
-
'navbar-right'?: (props: typeof
|
|
19
|
+
'navbar-right'?: (props: typeof __VLS_30) => any;
|
|
20
20
|
} & {
|
|
21
|
-
'sidebar-header'?: (props: typeof
|
|
21
|
+
'sidebar-header'?: (props: typeof __VLS_43) => any;
|
|
22
22
|
} & {
|
|
23
|
-
'sidebar-top'?: (props: typeof
|
|
23
|
+
'sidebar-top'?: (props: typeof __VLS_46) => any;
|
|
24
24
|
} & {
|
|
25
|
-
'sidebar-footer'?: (props: typeof
|
|
25
|
+
'sidebar-footer'?: (props: typeof __VLS_49) => any;
|
|
26
26
|
} & {
|
|
27
|
-
'app-error'?: (props: typeof
|
|
27
|
+
'app-error'?: (props: typeof __VLS_61) => any;
|
|
28
28
|
} & {
|
|
29
|
-
default?: (props: typeof
|
|
29
|
+
default?: (props: typeof __VLS_63) => any;
|
|
30
30
|
};
|
|
31
|
-
declare const
|
|
31
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
32
32
|
hideDefaultSlot: {
|
|
33
33
|
type: BooleanConstructor;
|
|
34
34
|
default: boolean;
|
|
@@ -62,7 +62,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
62
62
|
default: string;
|
|
63
63
|
validator: (theme: "light" | "dark") => boolean;
|
|
64
64
|
};
|
|
65
|
-
}>,
|
|
65
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
66
66
|
"toggle-collapse": (groupName: string, groupConfig: GroupConfig) => any;
|
|
67
67
|
"sidebar-click": (item: SidebarSecondaryItem | SidebarPrimaryItem) => any;
|
|
68
68
|
"update:topOffset": (offset: number) => any;
|
|
@@ -114,7 +114,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
114
114
|
sidebarBottomItems: SidebarPrimaryItem[];
|
|
115
115
|
theme: "light" | "dark";
|
|
116
116
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
117
|
-
declare const
|
|
117
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
118
|
+
declare const _default: typeof __VLS_export;
|
|
118
119
|
export default _default;
|
|
119
120
|
type __VLS_WithSlots<T, S> = T & {
|
|
120
121
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AppLayout.vue"],"names":[],"mappings":"AA6aA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAKnC,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"AppLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AppLayout.vue"],"names":[],"mappings":"AA6aA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAKnC,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AA0crG,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,0BAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,2BAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC9T,KAAK,WAAW,GAAG,EAAE,GACnB;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,GACzE;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,GACzE;IAAE,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACjD;IAAE,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC1D;IAAE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACnD;IAAE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACnD;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACrD;IAAE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACpD;IAAE,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACtD;IAAE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACnD;IAAE,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACtD;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACjD;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKhD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;cAsBG,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;cAI9B,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;cAI7B,QAAQ,CAAC,cAAc,CAAC;;;;cAIxB,QAAQ,CAAC,OAAO,GAAG,MAAM,CAAC;;2BAEvB,OAAO,GAAG,MAAM,KAAG,OAAO;;;;;;;;;;;;;;;;;;;;;;;;cAd9B,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;cAI9B,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;cAI7B,QAAQ,CAAC,cAAc,CAAC;;;;cAIxB,QAAQ,CAAC,OAAO,GAAG,MAAM,CAAC;;2BAEvB,OAAO,GAAG,MAAM,KAAG,OAAO;;;;;;;;;;;;;;;4EAG/C,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -7,17 +7,17 @@ type __VLS_Props = {
|
|
|
7
7
|
modifiedLabel?: string;
|
|
8
8
|
isLoading?: boolean;
|
|
9
9
|
};
|
|
10
|
-
declare var
|
|
10
|
+
declare var __VLS_9: {}, __VLS_12: {}, __VLS_24: {}, __VLS_26: {};
|
|
11
11
|
type __VLS_Slots = {} & {
|
|
12
|
-
title?: (props: typeof
|
|
12
|
+
title?: (props: typeof __VLS_9) => any;
|
|
13
13
|
} & {
|
|
14
|
-
actions?: (props: typeof
|
|
14
|
+
actions?: (props: typeof __VLS_12) => any;
|
|
15
15
|
} & {
|
|
16
|
-
default?: (props: typeof
|
|
16
|
+
default?: (props: typeof __VLS_24) => any;
|
|
17
17
|
} & {
|
|
18
|
-
'divider-section'?: (props: typeof
|
|
18
|
+
'divider-section'?: (props: typeof __VLS_26) => any;
|
|
19
19
|
};
|
|
20
|
-
declare const
|
|
20
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
21
|
title: string;
|
|
22
22
|
description: string;
|
|
23
23
|
created: string;
|
|
@@ -26,7 +26,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void,
|
|
|
26
26
|
modifiedLabel: string;
|
|
27
27
|
isLoading: boolean;
|
|
28
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
-
declare const
|
|
29
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
30
31
|
export default _default;
|
|
31
32
|
type __VLS_WithSlots<T, S> = T & {
|
|
32
33
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppAboutSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/aboutSection/AppAboutSection.vue"],"names":[],"mappings":"AA4OA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;
|
|
1
|
+
{"version":3,"file":"AppAboutSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/aboutSection/AppAboutSection.vue"],"names":[],"mappings":"AA4OA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;AAwMF,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACvF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAK1D,QAAA,MAAM,UAAU;WAzNN,MAAM;iBACA,MAAM;aACV,MAAM;kBACD,MAAM;cACV,MAAM;mBACD,MAAM;eACV,OAAO;6EAsNnB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
declare var
|
|
1
|
+
declare var __VLS_6: {};
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof
|
|
3
|
+
default?: (props: typeof __VLS_6) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppError.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/errors/AppError.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppError.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/errors/AppError.vue"],"names":[],"mappings":"AAsIA,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAG/C,QAAA,MAAM,UAAU,+QACd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -2,7 +2,7 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
6
|
large: {
|
|
7
7
|
type: BooleanConstructor;
|
|
8
8
|
default: boolean;
|
|
@@ -11,7 +11,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
11
11
|
type: BooleanConstructor;
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
14
|
-
}>,
|
|
14
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
large: {
|
|
16
16
|
type: BooleanConstructor;
|
|
17
17
|
default: boolean;
|
|
@@ -24,7 +24,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
24
24
|
large: boolean;
|
|
25
25
|
inverse: boolean;
|
|
26
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
|
-
declare const
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
28
29
|
export default _default;
|
|
29
30
|
type __VLS_WithSlots<T, S> = T & {
|
|
30
31
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GradientBadge.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/gradientBadge/GradientBadge.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GradientBadge.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/gradientBadge/GradientBadge.vue"],"names":[],"mappings":"AA+GA,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;4EAWd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
3
4
|
//# sourceMappingURL=BananaSplit.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BananaSplit.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/BananaSplit.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"BananaSplit.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/BananaSplit.vue"],"names":[],"mappings":"AAuHA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|