数通互联化工云平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
35 KiB

import{i as Ve,d as M,u as we,r as E,w as ae,o as qe,a as _,c as P,b as p,e as m,f as C,g as te,F as G,T as Ke,E as Ye,t as z,h as u,j as X,k as $e,l as Ge,_ as F,n as j,p as se,m as oe,q as g,s as Le,v as J,x as Ie,y as U,z as ee,A as Je,K as Xe,B as Te,C as ne,D as Qe,G as re,H as L,I as be,J as Ze,L as et,M as tt,N as Me,O as xe,P as nt,Q as He,R as ie,S as Be,U as De,V as Re,W as Oe,X as ye,Y as me,Z as pe,$ as H,a0 as Pe,a1 as Y,a2 as at,a3 as st,a4 as ot,a5 as lt,a6 as it,a7 as he,a8 as Ce,a9 as Se,aa as ke,ab as rt,ac as ct,ad as ut,ae as dt,af as ft,ag as _t}from"./index-e450010e.js";/* empty css *//* empty css */import{_ as vt}from"./setting-7a244cf7.js";/* empty css */import"./el-dropdown-menu-4ed993c7.js";function mt(n){for(var e=[],t=0;t<n.length;){var s=n[t];if(s==="*"||s==="+"||s==="?"){e.push({type:"MODIFIER",index:t,value:n[t++]});continue}if(s==="\\"){e.push({type:"ESCAPED_CHAR",index:t++,value:n[t++]});continue}if(s==="{"){e.push({type:"OPEN",index:t,value:n[t++]});continue}if(s==="}"){e.push({type:"CLOSE",index:t,value:n[t++]});continue}if(s===":"){for(var i="",a=t+1;a<n.length;){var l=n.charCodeAt(a);if(l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||l===95){i+=n[a++];continue}break}if(!i)throw new TypeError("Missing parameter name at ".concat(t));e.push({type:"NAME",index:t,value:i}),t=a;continue}if(s==="("){var o=1,r="",a=t+1;if(n[a]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(a));for(;a<n.length;){if(n[a]==="\\"){r+=n[a++]+n[a++];continue}if(n[a]===")"){if(o--,o===0){a++;break}}else if(n[a]==="("&&(o++,n[a+1]!=="?"))throw new TypeError("Capturing groups are not allowed at ".concat(a));r+=n[a++]}if(o)throw new TypeError("Unbalanced pattern at ".concat(t));if(!r)throw new TypeError("Missing pattern at ".concat(t));e.push({type:"PATTERN",index:t,value:r}),t=a;continue}e.push({type:"CHAR",index:t,value:n[t++]})}return e.push({type:"END",index:t,value:""}),e}function pt(n,e){e===void 0&&(e={});for(var t=mt(n),s=e.prefixes,i=s===void 0?"./":s,a="[^".concat(wt(e.delimiter||"/#?"),"]+?"),l=[],o=0,r=0,f="",d=function(T){if(r<t.length&&t[r].type===T)return t[r++].value},c=function(T){var A=d(T);if(A!==void 0)return A;var le=t[r],de=le.type,fe=le.index;throw new TypeError("Unexpected ".concat(de," at ").concat(fe,", expected ").concat(T))},h=function(){for(var T="",A;A=d("CHAR")||d("ESCAPED_CHAR");)T+=A;return T};r<t.length;){var S=d("CHAR"),V=d("NAME"),B=d("PATTERN");if(V||B){var $=S||"";i.indexOf($)===-1&&(f+=$,$=""),f&&(l.push(f),f=""),l.push({name:V||o++,prefix:$,suffix:"",pattern:B||a,modifier:d("MODIFIER")||""});continue}var v=S||d("ESCAPED_CHAR");if(v){f+=v;continue}f&&(l.push(f),f="");var b=d("OPEN");if(b){var $=h(),x=d("NAME")||"",w=d("PATTERN")||"",O=h();c("CLOSE"),l.push({name:x||(w?o++:""),pattern:x&&!w?a:w,prefix:$,suffix:O,modifier:d("MODIFIER")||""});continue}c("END")}return l}function ht(n,e){return gt(pt(n,e),e)}function gt(n,e){e===void 0&&(e={});var t=bt(e),s=e.encode,i=s===void 0?function(r){return r}:s,a=e.validate,l=a===void 0?!0:a,o=n.map(function(r){if(typeof r=="object")return new RegExp("^(?:".concat(r.pattern,")$"),t)});return function(r){for(var f="",d=0;d<n.length;d++){var c=n[d];if(typeof c=="string"){f+=c;continue}var h=r?r[c.name]:void 0,S=c.modifier==="?"||c.modifier==="*",V=c.modifier==="*"||c.modifier==="+";if(Array.isArray(h)){if(!V)throw new TypeError('Expected "'.concat(c.name,'" to not repeat, but got an array'));if(h.length===0){if(S)continue;throw new TypeError('Expected "'.concat(c.name,'" to not be empty'))}for(var B=0;B<h.length;B++){var $=i(h[B],c);if(l&&!o[d].test($))throw new TypeError('Expected all "'.concat(c.name,'" to match "').concat(c.pattern,'", but got "').concat($,'"'));f+=c.prefix+$+c.suffix}continue}if(typeof h=="string"||typeof h=="number"){var $=i(String(h),c);if(l&&!o[d].test($))throw new TypeError('Expected "'.concat(c.name,'" to match "').concat(c.pattern,'", but got "').concat($,'"'));f+=c.prefix+$+c.suffix;continue}if(!S){var v=V?"an array":"a string";throw new TypeError('Expected "'.concat(c.name,'" to be ').concat(v))}}return f}}function wt(n){return n.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function bt(n){return n&&n.sensitive?"":"i"}function Q(n){return Ve.global.te("route."+n)?Ve.global.t("route."+n):n}const xt={key:0,class:"text-[var(--el-disabled-text-color)]"},yt=["onClick"],Ct=M({__name:"index",setup(n){const e=we(),t=o=>{const{params:r}=e;return ht(o)(r)},s=E([]);function i(){let o=e.matched.filter(f=>f.meta&&f.meta.title);const r=o[0];a(r)||(o=[{path:"/dashboard",meta:{title:"dashboard"}}].concat(o)),s.value=o.filter(f=>f.meta&&f.meta.title&&f.meta.breadcrumb!==!1)}function a(o){const r=o&&o.name;return r?r.toString().trim().toLocaleLowerCase()==="Dashboard".toLocaleLowerCase():!1}function l(o){const{redirect:r,path:f}=o;if(r){$e.push(r).catch(d=>{console.warn(d)});return}$e.push(t(f)).catch(d=>{console.warn(d)})}return ae(()=>e.path,o=>{o.startsWith("/redirect/")||i()}),qe(()=>{i()}),(o,r)=>{const f=Ge,d=Ye;return _(),P(d,{class:"h-[50px] flex items-center"},{default:p(()=>[m(Ke,{name:"breadcrumb"},{default:p(()=>[(_(!0),C(G,null,te(s.value,(c,h)=>(_(),P(f,{key:c.path},{default:p(()=>[c.redirect==="noredirect"||h===s.value.length-1?(_(),C("span",xt,z(u(Q)(c.meta.title)),1)):(_(),C("a",{key:1,onClick:X(S=>l(c),["prevent"])},z(u(Q)(c.meta.title)),9,yt))]),_:2},1024))),128))]),_:1})]),_:1})}}});const St=F(Ct,[["__scopeId","data-v-2530f4da"]]),kt=n=>(se("data-v-640b4fcd"),n=n(),oe(),n),Vt=kt(()=>g("path",{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"},null,-1)),$t=[Vt],Tt=M({__name:"index",props:{isActive:{required:!0,type:Boolean,default:!1}},emits:["toggleClick"],setup(n,{emit:e}){const t=e;function s(){t("toggleClick")}return(i,a)=>(_(),C("div",{class:"cursor-pointer h-[50px] leading-[50px] dark:hover:bg-[var(--el-fill-color-light)]",onClick:s},[(_(),C("svg",{class:j([{"is-active":n.isActive},"hamburger"]),viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",style:{color:"#fff !important"}},$t,2))]))}});const Pt=F(Tt,[["__scopeId","data-v-640b4fcd"]]),ce=Le("tagsView",()=>{const n=E([]),e=E([]);function t(v){var b,x;n.value.some(w=>w.path===v.path)||(v.meta&&v.meta.affix?n.value.unshift(Object.assign({},v,{title:((b=v.meta)==null?void 0:b.title)||"no-name"})):n.value.push(Object.assign({},v,{title:((x=v.meta)==null?void 0:x.title)||"no-name"})))}function s(v){var x;const b=v.name;e.value.includes(b)||(x=v.meta)!=null&&x.keepAlive&&e.value.push(b)}function i(v){return new Promise(b=>{for(const[x,w]of n.value.entries())if(w.path===v.path){n.value.splice(x,1);break}b([...n.value])})}function a(v){const b=v.name;return new Promise(x=>{const w=e.value.indexOf(b);w>-1&&e.value.splice(w,1),x([...e.value])})}function l(v){return new Promise(b=>{n.value=n.value.filter(x=>{var w;return((w=x.meta)==null?void 0:w.affix)||x.path===v.path}),b([...n.value])})}function o(v){const b=v.name;return new Promise(x=>{const w=e.value.indexOf(b);w>-1?e.value=e.value.slice(w,w+1):e.value=[],x([...e.value])})}function r(v){for(let b of n.value)if(b.path===v.path){b=Object.assign(b,v);break}}function f(v){t(v),s(v)}function d(v){return new Promise(b=>{i(v),a(v),b({visitedViews:[...n.value],cachedViews:[...e.value]})})}function c(v){return new Promise(b=>{l(v),o(v),b({visitedViews:[...n.value],cachedViews:[...e.value]})})}function h(v){return new Promise(b=>{const x=n.value.findIndex(w=>w.path===v.path);x!==-1&&(n.value=n.value.filter((w,O)=>{if(O>=x||w.meta&&w.meta.affix)return!0;const T=e.value.indexOf(w.name);return T>-1&&e.value.splice(T,1),!1}),b({visitedViews:[...n.value]}))})}function S(v){return new Promise(b=>{const x=n.value.findIndex(w=>w.path===v.path);x!==-1&&(n.value=n.value.filter((w,O)=>{if(O<=x||w.meta&&w.meta.affix)return!0;const T=e.value.indexOf(w.name);return T>-1&&e.value.splice(T,1),!1}),b({visitedViews:[...n.value]}))})}function V(){return new Promise(v=>{const b=n.value.filter(x=>{var w;return(w=x.meta)==null?void 0:w.affix});n.value=b,e.value=[],v({visitedViews:[...n.value],cachedViews:[...e.value]})})}function B(){return new Promise(v=>{const b=n.value.filter(x=>{var w;return(w=x.meta)==null?void 0:w.affix});n.value=b,v([...n.value])})}function $(){return new Promise(v=>{e.value=[],v([...e.value])})}return{visitedViews:n,cachedViews:e,addVisitedView:t,addCachedView:s,delVisitedView:i,delCachedView:a,delOtherVisitedViews:l,delOtherCachedViews:o,updateVisitedView:r,addView:f,delView:d,delOtherViews:c,delLeftViews:h,delRightViews:S,delAllViews:V,delAllVisitedViews:B,delAllCachedViews:$}}),Et={class:"navbar"},At={class:"flex"},Lt=M({__name:"Navbar",setup(n){const e=J();ce(),Ie();function t(){e.toggleSidebar(!0)}const s=new Date,i=E(1);return U(()=>{if(s.getHours()>=6&&s.getHours()<8)return i.value=1,"晨起披衣出草堂,轩窗已自喜微凉🌅!";if(s.getHours()>=8&&s.getHours()<12)return i.value=2,"上午好🌞!";if(s.getHours()>=12&&s.getHours()<18)return i.value=3,"下午好☕!";if(s.getHours()>=18&&s.getHours()<24)return i.value=4,"晚上好🌃!";if(s.getHours()>=0&&s.getHours()<6)return i.value=5,"偷偷向银河要了一把碎星,只等你闭上眼睛撒入你的梦中,晚安🌛!"}),(a,l)=>{const o=Pt,r=St;return _(),C("div",Et,[g("div",At,[m(o,{"is-active":u(e).sidebar.opened,onToggleClick:t},null,8,["is-active"]),m(r,{style:{"margin-left":"10px"}})])])}}});const It=F(Lt,[["__scopeId","data-v-9e5f411c"]]),Mt={class:"app-main"},Ht=M({__name:"AppMain",setup(n){const e=ce();return(t,s)=>{const i=ee("router-view");return _(),C("section",Mt,[m(i,null,{default:p(({Component:a,route:l})=>[(_(),P(Xe,{include:u(e).cachedViews},[(_(),P(Je(a),{key:l.fullPath}))],1032,["include"]))]),_:1})])}}});const Bt=F(Ht,[["__scopeId","data-v-a08f3f0a"]]),ue=Le("setting",()=>{const n=Te("tagsView",ne.tagsView),e=E(ne.showSettings),t=E(ne.fixedHeader),s=E(ne.sidebarLogo),i=Te("layout",ne.layout);function a(l){const{key:o,value:r}=l;switch(o){case"showSettings":e.value=r;break;case"fixedHeader":t.value=r;break;case"tagsView":n.value=r;break;case"sidevarLogo":s.value=r;break;case"layout":i.value=r;break}}return{showSettings:e,tagsView:n,fixedHeader:t,sidebarLogo:s,layout:i,changeSetting:a}}),Dt={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"},Rt=g("path",{fill:"currentColor",d:"M512 704a192 192 0 1 0 0-384a192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512a256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0m543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"},null,-1),Ot=[Rt];function Nt(n,e){return _(),C("svg",Dt,[...Ot])}const zt={name:"ep-sunny",render:Nt},Ft={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"},Wt=g("path",{fill:"currentColor",d:"M240.448 240.448a384 384 0 1 0 559.424 525.696a448 448 0 0 1-542.016-542.08a391 391 0 0 0-17.408 16.384m181.056 362.048a384 384 0 0 0 525.632 16.384A448 448 0 1 1 405.056 76.8a384 384 0 0 0 16.448 525.696"},null,-1),Ut=[Wt];function jt(n,e){return _(),C("svg",Ft,[...Ut])}const qt={name:"ep-moon",render:jt},q=n=>(se("data-v-738a8127"),n=n(),oe(),n),Kt={class:"settings-container"},Yt=q(()=>g("h3",{class:"text-base font-bold"},"项目配置",-1)),Gt={class:"py-[8px] flex justify-between"},Jt=q(()=>g("span",{class:"text-xs"},"开启 Tags-View",-1)),Xt={class:"py-[8px] flex justify-between"},Qt=q(()=>g("span",{class:"text-xs"},"固定 Header",-1)),Zt={class:"py-[8px] flex justify-between"},en=q(()=>g("span",{class:"text-xs"},"侧边栏 Logo",-1)),tn={class:"w-full space-x-2 flex justify-center py-2"},nn=["onClick"],an={class:"layout",style:{display:"none"}},sn=q(()=>g("div",null,null,-1)),on=q(()=>g("div",null,null,-1)),ln=[sn,on],rn=q(()=>g("div",null,null,-1)),cn=q(()=>g("div",null,null,-1)),un=[rn,cn],dn=q(()=>g("div",null,null,-1)),fn=q(()=>g("div",null,null,-1)),_n=[dn,fn],vn=M({__name:"index",setup(n){const e=ue(),t=Qe(),s=()=>Ze(t);function i(o){e.changeSetting({key:"layout",value:o}),window.document.body.setAttribute("layout",e.layout)}const a=E(["#409EFF","#304156","#11a983","#13c2c2","#6959CD","#f5222d"]);function l(o){document.documentElement.style.setProperty("--el-color-primary",o),e.changeSetting({key:"layout",value:o})}return re(()=>{window.document.body.setAttribute("layout",e.layout)}),(o,r)=>{const f=et,d=tt,c=Me;return _(),C("div",Kt,[Yt,m(f,null,{default:p(()=>[L("主题")]),_:1}),g("div",{class:"flex justify-center",onClick:r[1]||(r[1]=X(()=>{},["stop"]))},[m(d,{modelValue:u(t),"onUpdate:modelValue":r[0]||(r[0]=h=>be(t)?t.value=h:null),"inline-prompt":"","active-icon":u(qt),"inactive-icon":u(zt),"active-color":"var(--el-fill-color-dark)","inactive-color":"var(--el-color-primary)",onChange:s},null,8,["modelValue","active-icon","inactive-icon"])]),m(f,null,{default:p(()=>[L("界面设置")]),_:1}),g("div",Gt,[Jt,m(d,{modelValue:u(e).tagsView,"onUpdate:modelValue":r[2]||(r[2]=h=>u(e).tagsView=h)},null,8,["modelValue"])]),g("div",Xt,[Qt,m(d,{modelValue:u(e).fixedHeader,"onUpdate:modelValue":r[3]||(r[3]=h=>u(e).fixedHeader=h)},null,8,["modelValue"])]),g("div",Zt,[en,m(d,{modelValue:u(e).sidebarLogo,"onUpdate:modelValue":r[4]||(r[4]=h=>u(e).sidebarLogo=h)},null,8,["modelValue"])]),m(f,null,{default:p(()=>[L("主题颜色")]),_:1}),g("ul",tn,[(_(!0),C(G,null,te(u(a),(h,S)=>(_(),C("li",{key:S,class:"inline-block w-[30px] h-[30px] cursor-pointer",style:xe({background:h}),onClick:V=>l(h)},null,12,nn))),128))]),m(f,{style:{display:"none"}},{default:p(()=>[L("导航设置")]),_:1}),g("ul",an,[m(c,{content:"左侧模式",placement:"bottom"},{default:p(()=>[g("li",{class:j("layout-item layout-left "+(u(e).layout=="left"?"is-active":"")),onClick:r[5]||(r[5]=h=>i("left"))},ln,2)]),_:1}),m(c,{content:"顶部模式",placement:"bottom"},{default:p(()=>[g("li",{class:j("layout-item layout-top "+(u(e).layout=="top"?"is-active":"")),onClick:r[6]||(r[6]=h=>i("top"))},un,2)]),_:1}),m(c,{content:"混合模式",placement:"bottom"},{default:p(()=>[g("li",{class:j("layout-item layout-mix "+(u(e).layout=="mix"?"is-active":"")),onClick:r[7]||(r[7]=h=>i("mix"))},_n,2)]),_:1})])])}}});const mn=F(vn,[["__scopeId","data-v-738a8127"]]),pn={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"},hn=g("path",{fill:"currentColor",d:"M764.288 214.592L512 466.88L259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512L214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1),gn=[hn];function wn(n,e){return _(),C("svg",pn,[...gn])}const Ne={name:"ep-close",render:wn};function W(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}function Ee(n,e){for(var t="",s=0,i=-1,a=0,l,o=0;o<=n.length;++o){if(o<n.length)l=n.charCodeAt(o);else{if(l===47)break;l=47}if(l===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(t.length<2||s!==2||t.charCodeAt(t.length-1)!==46||t.charCodeAt(t.length-2)!==46){if(t.length>2){var r=t.lastIndexOf("/");if(r!==t.length-1){r===-1?(t="",s=0):(t=t.slice(0,r),s=t.length-1-t.lastIndexOf("/")),i=o,a=0;continue}}else if(t.length===2||t.length===1){t="",s=0,i=o,a=0;continue}}e&&(t.length>0?t+="/..":t="..",s=2)}else t.length>0?t+="/"+n.slice(i+1,o):t=n.slice(i+1,o),s=o-i-1;i=o,a=0}else l===46&&a!==-1?++a:a=-1}return t}function bn(n,e){var t=e.dir||e.root,s=e.base||(e.name||"")+(e.ext||"");return t?t===e.root?t+s:t+n+s:s}var Z={resolve:function(){for(var e="",t=!1,s,i=arguments.length-1;i>=-1&&!t;i--){var a;i>=0?a=arguments[i]:(s===void 0&&(s=process.cwd()),a=s),W(a),a.length!==0&&(e=a+"/"+e,t=a.charCodeAt(0)===47)}return e=Ee(e,!t),t?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(W(e),e.length===0)return".";var t=e.charCodeAt(0)===47,s=e.charCodeAt(e.length-1)===47;return e=Ee(e,!t),e.length===0&&!t&&(e="."),e.length>0&&s&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return W(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,t=0;t<arguments.length;++t){var s=arguments[t];W(s),s.length>0&&(e===void 0?e=s:e+="/"+s)}return e===void 0?".":Z.normalize(e)},relative:function(e,t){if(W(e),W(t),e===t||(e=Z.resolve(e),t=Z.resolve(t),e===t))return"";for(var s=1;s<e.length&&e.charCodeAt(s)===47;++s);for(var i=e.length,a=i-s,l=1;l<t.length&&t.charCodeAt(l)===47;++l);for(var o=t.length,r=o-l,f=a<r?a:r,d=-1,c=0;c<=f;++c){if(c===f){if(r>f){if(t.charCodeAt(l+c)===47)return t.slice(l+c+1);if(c===0)return t.slice(l+c)}else a>f&&(e.charCodeAt(s+c)===47?d=c:c===0&&(d=0));break}var h=e.charCodeAt(s+c),S=t.charCodeAt(l+c);if(h!==S)break;h===47&&(d=c)}var V="";for(c=s+d+1;c<=i;++c)(c===i||e.charCodeAt(c)===47)&&(V.length===0?V+="..":V+="/..");return V.length>0?V+t.slice(l+d):(l+=d,t.charCodeAt(l)===47&&++l,t.slice(l))},_makeLong:function(e){return e},dirname:function(e){if(W(e),e.length===0)return".";for(var t=e.charCodeAt(0),s=t===47,i=-1,a=!0,l=e.length-1;l>=1;--l)if(t=e.charCodeAt(l),t===47){if(!a){i=l;break}}else a=!1;return i===-1?s?"/":".":s&&i===1?"//":e.slice(0,i)},basename:function(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');W(e);var s=0,i=-1,a=!0,l;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var o=t.length-1,r=-1;for(l=e.length-1;l>=0;--l){var f=e.charCodeAt(l);if(f===47){if(!a){s=l+1;break}}else r===-1&&(a=!1,r=l+1),o>=0&&(f===t.charCodeAt(o)?--o===-1&&(i=l):(o=-1,i=r))}return s===i?i=r:i===-1&&(i=e.length),e.slice(s,i)}else{for(l=e.length-1;l>=0;--l)if(e.charCodeAt(l)===47){if(!a){s=l+1;break}}else i===-1&&(a=!1,i=l+1);return i===-1?"":e.slice(s,i)}},extname:function(e){W(e);for(var t=-1,s=0,i=-1,a=!0,l=0,o=e.length-1;o>=0;--o){var r=e.charCodeAt(o);if(r===47){if(!a){s=o+1;break}continue}i===-1&&(a=!1,i=o+1),r===46?t===-1?t=o:l!==1&&(l=1):t!==-1&&(l=-1)}return t===-1||i===-1||l===0||l===1&&t===i-1&&t===s+1?"":e.slice(t,i)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return bn("/",e)},parse:function(e){W(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;var s=e.charCodeAt(0),i=s===47,a;i?(t.root="/",a=1):a=0;for(var l=-1,o=0,r=-1,f=!0,d=e.length-1,c=0;d>=a;--d){if(s=e.charCodeAt(d),s===47){if(!f){o=d+1;break}continue}r===-1&&(f=!1,r=d+1),s===46?l===-1?l=d:c!==1&&(c=1):l!==-1&&(c=-1)}return l===-1||r===-1||c===0||c===1&&l===r-1&&l===o+1?r!==-1&&(o===0&&i?t.base=t.name=e.slice(1,r):t.base=t.name=e.slice(o,r)):(o===0&&i?(t.name=e.slice(1,l),t.base=e.slice(1,r)):(t.name=e.slice(o,l),t.base=e.slice(o,r)),t.ext=e.slice(l,r)),o>0?t.dir=e.slice(0,o-1):i&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};Z.posix=Z;var xn=Z;const ze=nt(xn),yn=M({__name:"ScrollPane",emits:["scroll"],setup(n,{expose:e,emit:t}){const s=E(4),{proxy:i}=De(),a=t,l=()=>{a("scroll")},o=ce(),r=U(()=>i==null?void 0:i.$refs.scrollContainer.$refs.wrapRef);re(()=>{r.value.addEventListener("scroll",l,!0)}),He(()=>{r.value.removeEventListener("scroll",l)});function f(c){const h=c.wheelDelta||-c.deltaY*40;r.value.scrollLeft=r.value.scrollLeft+h/4}function d(c){const S=i.$refs.scrollContainer.$el.offsetWidth,V=r.value;let B=null,$=null;if(o.visitedViews.length>0&&(B=o.visitedViews[0],$=o.visitedViews[o.visitedViews.length-1]),B===c)V.scrollLeft=0;else if($===c)V.scrollLeft=V.scrollWidth-S;else{const v=document.getElementsByClassName("tags-item"),b=o.visitedViews.findIndex(A=>A===c);let x=null,w=null;for(const A in v)A!=="length"&&Object.hasOwnProperty.call(v,A)&&(v[A].dataset.path===o.visitedViews[b-1].path&&(x=v[A]),v[A].dataset.path===o.visitedViews[b+1].path&&(w=v[A]));const O=w.offsetLeft+w.offsetWidth+s.value,T=x.offsetLeft-s.value;O>V.scrollLeft+S?V.scrollLeft=O-S:T<V.scrollLeft&&(V.scrollLeft=T)}}return e({moveToTarget:d}),(c,h)=>{const S=Be;return _(),P(S,{ref:"scrollContainer",class:"scroll-container",vertical:!1,onWheel:X(f,["prevent"])},{default:p(()=>[ie(c.$slots,"default",{},void 0,!0)]),_:3},512)}}});const Cn=F(yn,[["__scopeId","data-v-d123f698"]]),Sn={class:"tags-container"},kn=["onClick"],Vn=M({__name:"index",setup(n){const{proxy:e}=De(),t=Re(),s=we(),i=Oe(),a=ce(),{visitedViews:l}=ye(a),o=E({}),r=E(),f=E(0),d=E(0),c=E([]);ae(s,()=>{B(),$()},{immediate:!0});const h=E(!1);ae(h,y=>{y?document.body.addEventListener("click",_e):document.body.removeEventListener("click",_e)});function S(y,k="/"){let D=[];return y.forEach(N=>{if(N.meta&&N.meta.affix){const R=ze.resolve(k,N.path);D.push({fullPath:R,path:R,name:N.name,meta:{...N.meta}})}if(N.children){const R=S(N.children,N.path);R.length>=1&&(D=D.concat(R))}}),D}function V(){const y=S(i.routes);c.value=y;for(const k of y)k.name&&a.addVisitedView(k)}function B(){s.name&&a.addView(s)}function $(){Pe(()=>{for(const y of a.visitedViews)y.path===s.path&&(r.value.moveToTarget(y),y.fullPath!==s.fullPath&&a.updateVisitedView(s))})}function v(y){return y.path===s.path}function b(y){return y.meta&&y.meta.affix}function x(){try{return o.value.fullPath===a.visitedViews[1].fullPath||o.value.fullPath==="/index"}catch{return!1}}function w(){try{return o.value.fullPath===a.visitedViews[a.visitedViews.length-1].fullPath}catch{return!1}}function O(y){a.delCachedView(y);const{fullPath:k}=y;Pe(()=>{t.replace({path:"/redirect"+k}).catch(D=>{console.warn(D)})})}function T(y,k){const D=y.slice(-1)[0];D&&D.fullPath?t.push(D.fullPath):k.name==="Dashboard"?t.replace({path:"/redirect"+k.fullPath}):t.push("/")}function A(y){a.delView(y).then(k=>{v(y)&&T(k.visitedViews,y)})}function le(){a.delLeftViews(o.value).then(y=>{y.visitedViews.find(k=>k.fullPath===s.fullPath)||T(y.visitedViews)})}function de(){a.delRightViews(o.value).then(y=>{y.visitedViews.find(k=>k.fullPath===s.fullPath)||T(y.visitedViews)})}function fe(){t.push(o.value),a.delOtherViews(o.value).then(()=>{$()})}function We(y){a.delAllViews().then(k=>{T(k.visitedViews,y)})}function Ue(y,k){const N=e==null?void 0:e.$el.getBoundingClientRect().left,I=(e==null?void 0:e.$el.offsetWidth)-105,K=k.clientX-N+15;K>I?f.value=I:f.value=K,d.value=k.clientY,h.value=!0,o.value=y}function _e(){h.value=!1}function je(){_e()}return re(()=>{V()}),(y,k)=>{const D=Ne,N=ee("router-link"),R=Y;return _(),C("div",Sn,[m(Cn,{ref_key:"scrollPaneRef",ref:r,onScroll:je},{default:p(()=>[(_(!0),C(G,null,te(u(l),I=>(_(),P(N,{key:I.path,class:j("tags-item "+(v(I)?"active":"")),"data-path":I.path,to:{path:I.path,query:I.query},onMouseup:X(K=>b(I)?"":A(I),["middle"]),onContextmenu:X(K=>Ue(I,K),["prevent"])},{default:p(()=>{var K;return[L(z(u(Q)((K=I.meta)==null?void 0:K.title))+" ",1),b(I)?H("",!0):(_(),C("span",{key:0,class:"tags-item-close",onClick:X(va=>A(I),["prevent","stop"])},[m(D,{class:"text-[10px]"})],8,kn))]}),_:2},1032,["class","data-path","to","onMouseup","onContextmenu"]))),128))]),_:1},512),me(g("ul",{class:"tag-menu",style:xe({left:f.value+"px",top:d.value+"px"})},[g("li",{onClick:k[0]||(k[0]=I=>O(o.value))},[m(R,{"icon-class":"refresh"}),L(" 刷新 ")]),b(o.value)?H("",!0):(_(),C("li",{key:0,onClick:k[1]||(k[1]=I=>A(o.value))},[m(R,{"icon-class":"close"}),L(" 关闭 ")])),g("li",{onClick:fe},[m(R,{"icon-class":"close_other"}),L(" 关闭其它 ")]),x()?H("",!0):(_(),C("li",{key:1,onClick:le},[m(R,{"icon-class":"close_left"}),L(" 关闭左侧 ")])),w()?H("",!0):(_(),C("li",{key:2,onClick:de},[m(R,{"icon-class":"close_right"}),L(" 关闭右侧 ")])),g("li",{onClick:k[2]||(k[2]=I=>We(o.value))},[m(R,{"icon-class":"close_all"}),L(" 关闭所有 ")])],4),[[pe,h.value]])])}}});const $n=F(Vn,[["__scopeId","data-v-0a387620"]]);function Fe(n,e){return!!n.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))}function Tn(n,e){Fe(n,e)||(n.className+=" "+e)}function Pn(n,e){if(Fe(n,e)){const t=new RegExp("(\\s|^)"+e+"(\\s|$)");n.className=n.className.replace(t," ")}}function ge(n){return/^(https?:|http?:|mailto:|tel:)/.test(n)}const En=["href"],Ae=M({__name:"Link",props:{to:{type:String,required:!0}},setup(n){const e=J(),t=U(()=>e.sidebar),s=U(()=>e.device),i=n,a=Re();function l(){s.value==="mobile"&&t.value.opened==!0&&e.closeSideBar(!1),a.push(i.to).catch(o=>{console.error(o)})}return(o,r)=>u(ge)(n.to)?(_(),C("a",{key:0,href:n.to,target:"_blank",rel:"noopener"},[ie(o.$slots,"default")],8,En)):(_(),C("div",{key:1,onClick:l},[ie(o.$slots,"default")]))}}),An={key:0},Ln={key:1},In=M({__name:"SidebarItem",props:{item:{type:Object,required:!0},basePath:{type:String,required:!0}},setup(n){const e=n,t=E();function s(a=[],l){const o=a.filter(r=>{var f;return(f=r.meta)!=null&&f.hidden?!1:(t.value=r,!0)});return o.length===1?!0:o.length===0?(t.value={...l,path:"",noShowingChildren:!0},!0):!1}function i(a){if(ge(a))return a;if(ge(e.basePath))return e.basePath;let l=ze.resolve(e.basePath,a);return console.log("路由路径<------------------"),console.log("routePath:",a),console.log("fullPath:",l),console.log("item:",e.item),console.log("路由路径------------------>"),l}return(a,l)=>{const o=at,r=ee("sidebar-item",!0),f=st;return!n.item.meta||!n.item.meta.hidden?(_(),C("div",An,[s(n.item.children,n.item)&&(!u(t).children||u(t).noShowingChildren)?(_(),C(G,{key:0},[u(t).meta&&u(t).appId!=0&&u(t).tableId!="0"?(_(),P(Ae,{key:0,to:i(u(t).path)+"?app_id="+u(t).appId+"&table_id="+u(t).tableId},{default:p(()=>[m(o,{index:i(u(t).path)},{title:p(()=>[L(z(u(Q)(u(t).meta.title)),1)]),default:p(()=>[u(t).meta&&u(t).meta.icon?(_(),P(Y,{key:0,"icon-class":u(t).meta.icon},null,8,["icon-class"])):H("",!0)]),_:1},8,["index"])]),_:1},8,["to"])):u(t).meta?(_(),P(Ae,{key:1,to:i(u(t).path)},{default:p(()=>[m(o,{index:i(u(t).path)},{title:p(()=>[L(z(u(Q)(u(t).meta.title)),1)]),default:p(()=>[u(t).meta&&u(t).meta.icon?(_(),P(Y,{key:0,"icon-class":u(t).meta.icon},null,8,["icon-class"])):H("",!0)]),_:1},8,["index"])]),_:1},8,["to"])):H("",!0)],64)):(_(),P(f,{key:1,index:i(n.item.path),teleported:""},{title:p(()=>[n.item.meta&&n.item.meta.icon?(_(),P(Y,{key:0,"icon-class":n.item.meta.icon},null,8,["icon-class"])):H("",!0),n.item.meta&&n.item.meta.title?(_(),C("span",Ln,z(u(Q)(n.item.meta.title)),1)):H("",!0)]),default:p(()=>[(_(!0),C(G,null,te(n.item.children,d=>(_(),P(r,{key:d.path,item:d,"base-path":i(d.path)},null,8,["item","base-path"]))),128))]),_:1},8,["index"]))])):H("",!0)}}}),Mn=n=>(se("data-v-128b2c82"),n=n(),oe(),n),Hn={class:"w-full h-[50px] bg-gray-800 dark:bg-[var(--el-bg-color-overlay)]"},Bn=["src"],Dn={key:1,class:"ml-3 text-white text-sm font-bold"},Rn=["src"],On=Mn(()=>g("span",{class:"ml-3 text-white text font-bold"},"数通智联化工云平台",-1)),Nn=M({__name:"Logo",props:{collapse:{type:Boolean,required:!0}},setup(n){const e=ue(),t=E(new URL("/assets/logo-bc03cbe4.png",self.location).href);return(s,i)=>{const a=ee("router-link");return _(),C("div",Hn,[m(ot,{name:"sidebarLogoFade"},{default:p(()=>[n.collapse?(_(),P(a,{key:"collapse",class:"h-full w-full flex items-center justify-center",to:"/"},{default:p(()=>[u(e).sidebarLogo?(_(),C("img",{key:0,src:u(t),class:"w-12 h-12"},null,8,Bn)):(_(),C("span",Dn,"数通智联化工云平台"))]),_:1})):(_(),P(a,{key:"expand",class:"h-full w-full flex items-center justify-center",to:"/"},{default:p(()=>[u(e).sidebarLogo?(_(),C("img",{key:0,src:u(t),class:"w-8 h-8"},null,8,Rn)):H("",!0),On]),_:1}))]),_:1})])}}});const zn=F(Nn,[["__scopeId","data-v-128b2c82"]]),Fn="var(--menuBg)",Wn="var(--menuText)",Un="var(--menuActiveText)",ve={menuBg:Fn,menuText:Wn,menuActiveText:Un},jn=M({__name:"index",setup(n){const e=ue(),t=Oe(),s=J(),i=we(),{sidebarLogo:a}=ye(e);return(l,o)=>{const r=lt,f=Be;return _(),C("div",{class:j([{"has-logo":u(a)},"left-box"])},[u(a)?(_(),P(zn,{key:0,collapse:!u(s).sidebar.opened},null,8,["collapse"])):H("",!0),m(f,null,{default:p(()=>[m(r,{"default-active":u(i).path,collapse:!u(s).sidebar.opened,"background-color":u(ve).menuBg,"text-color":u(ve).menuText,"active-text-color":u(ve).menuActiveText,"unique-opened":!1,"collapse-transition":!1,mode:"vertical"},{default:p(()=>[(_(!0),C(G,null,te(u(t).routes,d=>(_(),P(In,{key:d.path,item:d,"base-path":d.path,"is-collapse":!u(s).sidebar.opened},null,8,["item","base-path","is-collapse"]))),128))]),_:1},8,["default-active","collapse","background-color","text-color","active-text-color"])]),_:1})],2)}}});const qn=n=>(se("data-v-8be46592"),n=n(),oe(),n),Kn=qn(()=>g("div",{class:"right-panel-overlay"},null,-1)),Yn={class:"right-panel-container"},Gn=M({__name:"index",props:{buttonTop:{default:250,type:Number}},setup(n){const e=E(!1);ae(e,l=>{l&&t(),l?Tn(document.body,"showRightPanel"):Pn(document.body,"showRightPanel")});function t(){window.addEventListener("click",s,{passive:!0})}function s(l){l.target.closest(".right-panel-container")||(e.value=!1,window.removeEventListener("click",s))}const i=E();function a(){const l=document.querySelector("body");l.insertBefore(i.value,l.firstChild)}return re(()=>{a()}),He(()=>{i.value.remove()}),(l,o)=>{const r=Ne,f=vt;return _(),C("div",{ref_key:"rightPanel",ref:i,class:j({show:e.value})},[Kn,g("div",Yn,[g("div",{class:"right-panel-btn",style:xe({top:n.buttonTop+"px"}),onClick:o[0]||(o[0]=d=>e.value=!e.value)},[me(m(r,null,null,512),[[pe,e.value]]),me(m(f,null,null,512),[[pe,!e.value]])],4),g("div",null,[ie(l.$slots,"default",{},void 0,!0)])])],2)}}});const Jn=F(Gn,[["__scopeId","data-v-8be46592"]]),Xn=M({__name:"index",setup(n){const e=J(),{locale:t}=it();function s(i){t.value=i,e.changeLanguage(i),i=="en"?he.success("Switch Language Successful!"):he.success("切换语言成功!")}return(i,a)=>{const l=Ce,o=Se,r=ke;return _(),P(r,{trigger:"click",onCommand:s},{dropdown:p(()=>[m(o,null,{default:p(()=>[m(l,{disabled:u(e).language==="zh-cn",command:"zh-cn"},{default:p(()=>[L(" 中文 ")]),_:1},8,["disabled"]),m(l,{disabled:u(e).language==="en",command:"en"},{default:p(()=>[L(" English ")]),_:1},8,["disabled"])]),_:1})]),default:p(()=>[g("div",null,[m(Y,{"icon-class":"language"})])]),_:1})}}}),Qn=M({__name:"index",setup(n){const e=J(),t=E([{label:"默认",value:"default"},{label:"大型",value:"large"},{label:"小型",value:"small"}]);function s(i){e.changeSize(i),he.success("切换布局大小成功")}return(i,a)=>{const l=Y,o=Ce,r=Se,f=ke;return _(),P(f,{trigger:"click",onCommand:s},{dropdown:p(()=>[m(r,null,{default:p(()=>[(_(!0),C(G,null,te(u(t),d=>(_(),P(o,{key:d.value,disabled:u(e).size==d.value,command:d.value},{default:p(()=>[L(z(d.label),1)]),_:2},1032,["disabled","command"]))),128))]),_:1})]),default:p(()=>[g("div",null,[m(l,{"icon-class":"size"})])]),_:1})}}}),Zn="/assets/logo-3e4f59ed.png",ea={class:"dialog-footer"},ta=M({__name:"editmypassword",props:{editPasswordIsShow:{type:Boolean,default:!1}},emits:["update:editPasswordIsShow"],setup(n,{emit:e}){const t=n,s=e,i=E(!1),a=U({get:()=>t.editPasswordIsShow,set:f=>{s("update:editPasswordIsShow",f)}});ae(()=>t.editPasswordIsShow,()=>{t.editPasswordIsShow});const l=()=>{s("update:editPasswordIsShow",!1),r()},o=()=>{i.value=!0};function r(){i.value=!1}return(f,d)=>{const c=rt,h=ct;return _(),P(h,{modelValue:u(a),"onUpdate:modelValue":d[0]||(d[0]=S=>be(a)?a.value=S:null),title:"修改密码",width:"30%","custom-class":"dialog_box","before-close":l},{footer:p(()=>[g("div",ea,[m(c,{type:"primary",loading:u(i),onClick:o},{default:p(()=>[L("确 定")]),_:1},8,["loading"]),m(c,{onClick:l},{default:p(()=>[L("取 消")]),_:1})])]),_:1},8,["modelValue"])}}}),na=n=>(se("data-v-ad3ec62a"),n=n(),oe(),n),aa={class:"top"},sa=na(()=>g("div",{class:"logo"},[g("img",{src:Zn})],-1)),oa={class:"flex"},la={key:0,class:"setting-container"},ia={class:"avatar-container"},ra=["src"],ca={style:{padding:"0 10px"}},ua=M({__name:"Top",setup(n){const e=Ie(),t=J(),{device:s}=ye(t),i=E(!1),a=new Date,l=E(1);U(()=>{if(a.getHours()>=6&&a.getHours()<8)return l.value=1,"晨起披衣出草堂,轩窗已自喜微凉🌅!";if(a.getHours()>=8&&a.getHours()<12)return l.value=2,"上午好🌞!";if(a.getHours()>=12&&a.getHours()<18)return l.value=3,"下午好☕!";if(a.getHours()>=18&&a.getHours()<24)return l.value=4,"晚上好🌃!";if(a.getHours()>=0&&a.getHours()<6)return l.value=5,"偷偷向银河要了一把碎星,只等你闭上眼睛撒入你的梦中,晚安🌛!"});const{isFullscreen:o,toggle:r}=ut();function f(){dt.confirm("确定注销并退出系统吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{e.logout().then(()=>{tagsViewStore.delAllViews()}).then(()=>{router.push(`/login?redirect=${route.fullPath}`)})})}const d=()=>{},c=()=>{i.value=!0};return(h,S)=>{const V=Y,B=Qn,$=Me,v=Xn,b=ee("arrow-down"),x=Ce,w=ee("router-link"),O=Se,T=ke;return _(),C("div",aa,[sa,g("div",oa,[u(s)!=="mobile"?(_(),C("div",la,[g("div",{class:"setting-item",onClick:S[0]||(S[0]=(...A)=>u(r)&&u(r)(...A))},[m(V,{"icon-class":u(o)?"exit-fullscreen":"fullscreen"},null,8,["icon-class"])]),m($,{content:"布局大小",effect:"dark",placement:"bottom"},{default:p(()=>[m(B,{class:"setting-item"})]),_:1}),m(v,{class:"setting-item"})])):H("",!0),m(T,{trigger:"click"},{dropdown:p(()=>[m(O,null,{default:p(()=>[m(w,{to:"/"},{default:p(()=>[m(x,null,{default:p(()=>[L(z(h.$t("navbar.dashboard")),1)]),_:1})]),_:1}),m(x,{onClick:d},{default:p(()=>[L(z(h.$t("navbar.archives")),1)]),_:1}),m(x,{onClick:c},{default:p(()=>[L(z(h.$t("navbar.password")),1)]),_:1}),m(x,{divided:"",onClick:f},{default:p(()=>[L(z(h.$t("navbar.logout")),1)]),_:1})]),_:1})]),default:p(()=>[g("div",ia,[g("img",{src:u(e).avatar+"?imageView2/1/w/80/h/80"},null,8,ra),g("span",ca,z(u(e).nickname),1),m(b,{class:"w-3 h-3"})])]),_:1})]),m(ta,{editPasswordIsShow:u(i),"onUpdate:editPasswordIsShow":S[1]||(S[1]=A=>be(i)?i.value=A:null)},null,8,["editPasswordIsShow"])])}}});const da=F(ua,[["__scopeId","data-v-ad3ec62a"]]),fa=992,_a=M({__name:"index",setup(n){const{width:e}=ft(),t=J(),s=ue(),i=U(()=>s.fixedHeader),a=U(()=>s.tagsView),l=U(()=>s.showSettings),o=U(()=>({hideSidebar:!t.sidebar.opened,openSidebar:t.sidebar.opened,withoutAnimation:t.sidebar.withoutAnimation,mobile:t.device==="mobile"}));_t(()=>{e.value<fa?(t.toggleDevice("mobile"),t.closeSideBar(!0)):(t.toggleDevice("desktop"),e.value>=1200?t.openSideBar(!0):t.closeSideBar(!0))});function r(){t.closeSideBar(!1)}return(f,d)=>(_(),C("div",{class:j([o.value,"app-wrapper"])},[o.value.mobile&&o.value.openSidebar?(_(),C("div",{key:0,class:"drawer-bg",onClick:r})):H("",!0),m(da),m(jn,{class:"sidebar-container"}),g("div",{class:j([{hasTagsView:a.value},"main-container"])},[g("div",{class:j({"fixed-header":i.value}),style:{margin:"10px 20px 0 20px"}},[m(u(It)),a.value?(_(),P(u($n),{key:0})):H("",!0)],2),m(u(Bt)),l.value?(_(),P(Jn,{key:0},{default:p(()=>[m(u(mn))]),_:1})):H("",!0)],2)],2))}});const xa=F(_a,[["__scopeId","data-v-a3341748"]]);export{xa as default};