/*! Build based on gin-vue-admin Time : 1757946830000 */ !function(){function e(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var n,r,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",u=o.toStringTag||"@@toStringTag";function i(e,o,a,u){var i=o&&o.prototype instanceof c?o:c,f=Object.create(i.prototype);return t(f,"_invoke",function(e,t,o){var a,u,i,c=0,f=o||[],s=!1,m={p:0,n:0,v:n,a:v,f:v.bind(n,4),d:function(e,t){return a=e,u=0,i=n,m.n=t,l}};function v(e,t){for(u=e,i=t,r=0;!s&&c&&!o&&r3?(o=d===t)&&(i=a[(u=a[4])?5:(u=3,3)],a[4]=a[5]=n):a[0]<=v&&((o=e<2&&vt||t>d)&&(a[4]=e,a[5]=t,m.n=d,u=0))}if(o||e>1)return l;throw s=!0,t}return function(o,f,d){if(c>1)throw TypeError("Generator is already running");for(s&&1===f&&v(f,d),u=f,i=d;(r=u<2?n:i)||!s;){a||(u?u<3?(u>1&&(m.n=-1),v(u,i)):m.n=i:m.v=i);try{if(c=2,a){if(u||(o="next"),r=a[o]){if(!(r=r.call(a,i)))throw TypeError("iterator result is not an object");if(!r.done)return r;i=r.value,u<2&&(u=0)}else 1===u&&(r=a.return)&&r.call(a),u<2&&(i=TypeError("The iterator does not provide a '"+o+"' method"),u=1);a=n}else if((r=(s=m.n<0)?i:e.call(t,m))!==l)break}catch(r){a=n,u=1,i=r}finally{c=1}}return{value:r,done:s}}}(e,a,u),!0),f}var l={};function c(){}function f(){}function s(){}r=Object.getPrototypeOf;var m=[][a]?r(r([][a]())):(t(r={},a,function(){return this}),r),v=s.prototype=c.prototype=Object.create(m);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,t(e,u,"GeneratorFunction")),e.prototype=Object.create(v),e}return f.prototype=s,t(v,"constructor",s),t(s,"constructor",f),f.displayName="GeneratorFunction",t(s,u,"GeneratorFunction"),t(v),t(v,u,"Generator"),t(v,a,function(){return this}),t(v,"toString",function(){return"[object Generator]"}),(e=function(){return{w:i,m:d}})()}function t(e,n,r,o){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}t=function(e,n,r,o){function u(n,r){t(e,n,function(e){return this._invoke(n,r,e)})}n?a?a(e,n,{value:r,enumerable:!o,configurable:!o,writable:!o}):e[n]=r:(u("next",0),u("throw",1),u("return",2))},t(e,n,r,o)}function n(e,t,n,r,o,a,u){try{var i=e[a](u),l=i.value}catch(e){return void n(e)}i.done?t(l):Promise.resolve(l).then(r,o)}System.register(["./index-legacy.C0OrLn5k.js","./index-legacy.C7yqTvSr.js","./menuItem-legacy.CRdYrLNM.js","./asyncSubmenu-legacy.DGRH0Sxy.js"],function(t,r){"use strict";var o,a,u,i,l,c,f,s,m,v,d,p,y,h,b,g,w,x,k,j,_;return{setters:[function(e){o=e.default},function(e){a=e.M,u=e.N,i=e.K,l=e.u,c=e.ae,f=e.a,s=e.V,m=e.X,v=e.q,d=e.g,p=e.c,y=e.o,h=e.f,b=e.w,g=e.F,w=e.I,x=e.v,k=e.i,j=e.d,_=e.al},null,null],execute:function(){var r=document.createElement("style");r.textContent=".el-menu--horizontal.el-menu,.el-menu--horizontal>.el-menu-item.is-active{border-bottom:none!important}.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:none!important}.el-menu-item.is-active{background-color:var(--el-color-primary-light-8)!important}.dark .el-menu-item.is-active{background-color:var(--el-color-primary-bg)!important}\n/*$vite$:1*/",document.head.appendChild(r);t("default",Object.assign({name:"GvaAside"},{__name:"headMode",setup:function(t){var r=a(),O=u(r).device,S=i(),E=l(),G=c(),q=f(!1),z=f(""),C=f(null),I=f(null),P=f(!1),T=function(){var t,r=(t=e().m(function t(){var n,r,o;return e().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,m();case 1:if(C.value&&I.value){e.n=2;break}return e.a(2);case 2:n=C.value.$el.querySelectorAll(".el-menu-item, .el-sub-menu"),r=0,n.forEach(function(e){r+=e.offsetWidth}),o=I.value.offsetWidth,P.value=r>o;case 3:return e.a(2)}},t)}),function(){var e=this,r=arguments;return new Promise(function(o,a){var u=t.apply(e,r);function i(e){n(u,o,a,i,l,"next",e)}function l(e){n(u,o,a,i,l,"throw",e)}i(void 0)})});return function(){return r.apply(this,arguments)}}();s(function(){"Iframe"!==S.name?z.value=S.meta.activeName||S.name:z.value=decodeURIComponent(S.query.url)}),s(function(){"mobile"===O.value?q.value=!0:q.value=!1,T()}),s(function(){S.name&&m(T)}),_("isCollapse",q),v(function(){T(),window.addEventListener("resize",T)});var F=function(e){var t,n,r={},o={};(null===(t=G.routeMap[e])||void 0===t?void 0:t.parameters)&&(null===(n=G.routeMap[e])||void 0===n||n.parameters.forEach(function(e){"query"===e.type?r[e.key]=e.value:o[e.key]=e.value})),e!==S.name&&(e.indexOf("http://")>-1||e.indexOf("https://")>-1?window.open(e,"_blank"):("Iframe"===e&&(r.url=decodeURIComponent(e)),E.push({name:e,query:r,params:o})))};return function(e,t){var n=d("el-menu");return y(),p("div",{class:"bg-white h-[calc(100%-4px)] text-slate-700 dark:text-slate-300 mx-2 dark:bg-slate-900 flex items-center w-[calc(100vw-600px)] overflow-auto",ref_key:"menuContainer",ref:I},[h(n,{"default-active":z.value,mode:"horizontal",class:"!border-r-0 w-full flex gap-1 items-center box-border h-[calc(100%-1px)]","unique-opened":"",ellipsis:P.value,onSelect:F,ref_key:"menuRef",ref:C},{default:b(function(){return[(y(!0),p(g,null,w(x(G).asyncRouters[0].children,function(e){return y(),p(g,null,[e.hidden?j("",!0):(y(),k(o,{key:e.name,"router-info":e,mode:"horizontal"},null,8,["router-info"]))],64)}),256))]}),_:1},8,["default-active","ellipsis"])],512)}}}))}}})}();