V3 Admin Vite
-
+
diff --git a/static/403-DSOdJuEk.js b/static/403-BKRJE9bI.js
similarity index 99%
rename from static/403-DSOdJuEk.js
rename to static/403-BKRJE9bI.js
index d84321c3..c31561fa 100644
--- a/static/403-DSOdJuEk.js
+++ b/static/403-BKRJE9bI.js
@@ -1 +1 @@
-import{E as r}from"./ErrorPageLayout-DgMolOM3.js";import{q as e,t as s,aK as l,p as i,M as h,O as n,U as p,u as c}from"./vue-C8lPpR34.js";import"./index-wJaswECL.js";import"./element-DU-WrzgO.js";import"./vxe-CSEOtpXg.js";const k={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500"};function d(o,t){return e(),s("svg",k,t[0]||(t[0]=[l('',50)]))}const a={render:d},w=i({__name:"403",setup(o){return(t,v)=>(e(),h(r,null,{default:n(()=>[p(c(a))]),_:1}))}});export{w as default};
+import{E as r}from"./ErrorPageLayout-nE_CgRJH.js";import{q as e,t as s,aK as l,p as i,M as h,O as n,U as p,u as c}from"./vue-C8lPpR34.js";import"./index-B0wv9L4V.js";import"./element-DU-WrzgO.js";import"./vxe-CSEOtpXg.js";const k={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500"};function d(o,t){return e(),s("svg",k,t[0]||(t[0]=[l('',50)]))}const a={render:d},w=i({__name:"403",setup(o){return(t,v)=>(e(),h(r,null,{default:n(()=>[p(c(a))]),_:1}))}});export{w as default};
diff --git a/static/404-lgjHghsh.js b/static/404-DGGy9tEN.js
similarity index 99%
rename from static/404-lgjHghsh.js
rename to static/404-DGGy9tEN.js
index 25b93622..600b1c48 100644
--- a/static/404-lgjHghsh.js
+++ b/static/404-DGGy9tEN.js
@@ -1 +1 @@
-import{E as c}from"./ErrorPageLayout-DgMolOM3.js";import{q as l,t as h,aK as e,p as s,M as p,O as M,U as f,u as i}from"./vue-C8lPpR34.js";import"./index-wJaswECL.js";import"./element-DU-WrzgO.js";import"./vxe-CSEOtpXg.js";const y={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500"};function d(t,a){return l(),h("svg",y,a[0]||(a[0]=[e('',141)]))}const r={render:d},z=s({__name:"404",setup(t){return(a,v)=>(l(),p(c,null,{default:M(()=>[f(i(r))]),_:1}))}});export{z as default};
+import{E as c}from"./ErrorPageLayout-nE_CgRJH.js";import{q as l,t as h,aK as e,p as s,M as p,O as M,U as f,u as i}from"./vue-C8lPpR34.js";import"./index-B0wv9L4V.js";import"./element-DU-WrzgO.js";import"./vxe-CSEOtpXg.js";const y={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500"};function d(t,a){return l(),h("svg",y,a[0]||(a[0]=[e('',141)]))}const r={render:d},z=s({__name:"404",setup(t){return(a,v)=>(l(),p(c,null,{default:M(()=>[f(i(r))]),_:1}))}});export{z as default};
diff --git a/static/ErrorPageLayout-DgMolOM3.js b/static/ErrorPageLayout-nE_CgRJH.js
similarity index 87%
rename from static/ErrorPageLayout-DgMolOM3.js
rename to static/ErrorPageLayout-nE_CgRJH.js
index addf7047..d1779b34 100644
--- a/static/ErrorPageLayout-DgMolOM3.js
+++ b/static/ErrorPageLayout-nE_CgRJH.js
@@ -1 +1 @@
-import{_}from"./index-wJaswECL.js";import{ai as t,q as c,t as d,v as l,H as i,U as o,O as r,S as p}from"./vue-C8lPpR34.js";const u={},f={class:"error-page"},m={class:"error-page-svg"};function v(s,e){const a=t("el-button"),n=t("router-link");return c(),d("div",f,[l("div",m,[i(s.$slots,"default",{},void 0,!0)]),o(n,{to:"/"},{default:r(()=>[o(a,{type:"primary"},{default:r(()=>e[0]||(e[0]=[p("回到首页")])),_:1})]),_:1})])}const x=_(u,[["render",v],["__scopeId","data-v-2fba9562"]]);export{x as E};
+import{_}from"./index-B0wv9L4V.js";import{ai as t,q as c,t as d,v as l,H as i,U as o,O as r,S as p}from"./vue-C8lPpR34.js";const u={},f={class:"error-page"},m={class:"error-page-svg"};function v(s,e){const a=t("el-button"),n=t("router-link");return c(),d("div",f,[l("div",m,[i(s.$slots,"default",{},void 0,!0)]),o(n,{to:"/"},{default:r(()=>[o(a,{type:"primary"},{default:r(()=>e[0]||(e[0]=[p("回到首页")])),_:1})]),_:1})])}const x=_(u,[["render",v],["__scopeId","data-v-2fba9562"]]);export{x as E};
diff --git a/static/SwitchRoles-DHPaAUc2.js b/static/SwitchRoles-D1AQaOBi.js
similarity index 91%
rename from static/SwitchRoles-DHPaAUc2.js
rename to static/SwitchRoles-D1AQaOBi.js
index 82599301..e886950d 100644
--- a/static/SwitchRoles-DHPaAUc2.js
+++ b/static/SwitchRoles-D1AQaOBi.js
@@ -1 +1 @@
-import{e as u,_ as c}from"./index-wJaswECL.js";import{p as _,a as p,b as m,ai as r,q as v,t as f,v as t,T as b,u as w,U as a,O as S}from"./vue-C8lPpR34.js";const h={class:"switch-roles"},V=_({__name:"SwitchRoles",setup(g){const o=u(),s=p(o.roles[0]);return m(s,l=>{o.changeRoles(l)}),(l,e)=>{const n=r("el-radio-button"),i=r("el-radio-group");return v(),f("div",null,[t("div",null,"你的角色:"+b(w(o).roles),1),t("div",h,[e[1]||(e[1]=t("span",null,"切换用户(模拟重新登录):",-1)),a(i,{modelValue:s.value,"onUpdate:modelValue":e[0]||(e[0]=d=>s.value=d)},{default:S(()=>[a(n,{label:"editor",value:"editor"}),a(n,{label:"admin",value:"admin"})]),_:1},8,["modelValue"])])])}}}),B=c(V,[["__scopeId","data-v-693bfeca"]]);export{B as S};
+import{e as u,_ as c}from"./index-B0wv9L4V.js";import{p as _,a as p,b as m,ai as r,q as v,t as f,v as t,T as b,u as w,U as a,O as S}from"./vue-C8lPpR34.js";const h={class:"switch-roles"},V=_({__name:"SwitchRoles",setup(g){const o=u(),s=p(o.roles[0]);return m(s,l=>{o.changeRoles(l)}),(l,e)=>{const n=r("el-radio-button"),i=r("el-radio-group");return v(),f("div",null,[t("div",null,"你的角色:"+b(w(o).roles),1),t("div",h,[e[1]||(e[1]=t("span",null,"切换用户(模拟重新登录):",-1)),a(i,{modelValue:s.value,"onUpdate:modelValue":e[0]||(e[0]=d=>s.value=d)},{default:S(()=>[a(n,{label:"editor",value:"editor"}),a(n,{label:"admin",value:"admin"})]),_:1},8,["modelValue"])])])}}}),B=c(V,[["__scopeId","data-v-693bfeca"]]);export{B as S};
diff --git a/static/directive-D41Upred.js b/static/directive-C5RHvCqh.js
similarity index 95%
rename from static/directive-D41Upred.js
rename to static/directive-C5RHvCqh.js
index 45fcd4bf..e248e874 100644
--- a/static/directive-D41Upred.js
+++ b/static/directive-C5RHvCqh.js
@@ -1 +1 @@
-import{j as g,_ as b}from"./index-wJaswECL.js";import{S as y}from"./SwitchRoles-DHPaAUc2.js";import{p as P,ai as p,aq as x,q as o,t as w,U as r,v as a,P as u,M as n,O as i,S as t,u as f,R as v}from"./vue-C8lPpR34.js";import"./element-DU-WrzgO.js";import"./vxe-CSEOtpXg.js";const _=d=>{if(Array.isArray(d)&&d.length>0){const{roles:c}=g();return c.some(e=>d.includes(e))}else return console.error("need roles! Like checkPermission(['admin','editor'])"),!1},z={class:"app-container"},B={class:"margin-top-30"},C={class:"margin-top-15"},N={class:"margin-top-30"},S=P({__name:"directive",setup(d){return(c,e)=>{const s=p("el-tag"),l=p("el-tab-pane"),k=p("el-tabs"),m=x("permission");return o(),w("div",z,[r(y),a("div",B,[a("div",null,[u((o(),n(s,{type:"success",size:"large",effect:"plain"},{default:i(()=>e[0]||(e[0]=[t(` 这里采用了 v-permission="['admin']" 所以只有 admin 可以看见这句话 `)])),_:1})),[[m,["admin"]]])]),a("div",null,[u((o(),n(s,{type:"success",size:"large",effect:"plain"},{default:i(()=>e[1]||(e[1]=[t(` 这里采用了 v-permission="['editor']" 所以只有 editor 可以看见这句话 `)])),_:1})),[[m,["editor"]]])]),a("div",C,[u((o(),n(s,{type:"success",size:"large",effect:"plain"},{default:i(()=>e[2]||(e[2]=[t(` 这里采用了 v-permission="['admin', 'editor']" 所以 admin 和 editor 都可以看见这句话 `)])),_:1})),[[m,["admin","editor"]]])])]),a("div",N,[r(s,{type:"warning",size:"large"},{default:i(()=>e[3]||(e[3]=[t(" 例如 Element Plus 的 el-tab-pane 或 el-table-column 以及其它动态渲染 Dom 的场景不适合使用 v-permission,这种情况下你可以通过 v-if 和 checkPermission 来实现: ")])),_:1}),r(k,{type:"border-card",class:"margin-top-15"},{default:i(()=>[f(_)(["admin"])?(o(),n(l,{key:0,label:"admin"},{default:i(()=>[e[5]||(e[5]=t(" 这里采用了 ")),r(s,null,{default:i(()=>e[4]||(e[4]=[t(`v-if="checkPermission(['admin'])"`)])),_:1}),e[6]||(e[6]=t(" 所以只有 admin 可以看见这句话 "))]),_:1})):v("",!0),f(_)(["editor"])?(o(),n(l,{key:1,label:"editor"},{default:i(()=>[e[8]||(e[8]=t(" 这里采用了 ")),r(s,null,{default:i(()=>e[7]||(e[7]=[t(`v-if="checkPermission(['editor'])"`)])),_:1}),e[9]||(e[9]=t(" 所以只有 editor 可以看见这句话 "))]),_:1})):v("",!0),f(_)(["admin","editor"])?(o(),n(l,{key:2,label:"admin 和 editor"},{default:i(()=>[e[11]||(e[11]=t(" 这里采用了 ")),r(s,null,{default:i(()=>e[10]||(e[10]=[t(`v-if="checkPermission(['admin', 'editor'])"`)])),_:1}),e[12]||(e[12]=t(" 所以 admin 和 editor 都可以看见这句话 "))]),_:1})):v("",!0)]),_:1})])])}}}),U=b(S,[["__scopeId","data-v-295dc3c3"]]);export{U as default};
+import{j as g,_ as b}from"./index-B0wv9L4V.js";import{S as y}from"./SwitchRoles-D1AQaOBi.js";import{p as P,ai as p,aq as x,q as o,t as w,U as r,v as a,P as u,M as n,O as i,S as t,u as f,R as v}from"./vue-C8lPpR34.js";import"./element-DU-WrzgO.js";import"./vxe-CSEOtpXg.js";const _=d=>{if(Array.isArray(d)&&d.length>0){const{roles:c}=g();return c.some(e=>d.includes(e))}else return console.error("need roles! Like checkPermission(['admin','editor'])"),!1},z={class:"app-container"},B={class:"margin-top-30"},C={class:"margin-top-15"},N={class:"margin-top-30"},S=P({__name:"directive",setup(d){return(c,e)=>{const s=p("el-tag"),l=p("el-tab-pane"),k=p("el-tabs"),m=x("permission");return o(),w("div",z,[r(y),a("div",B,[a("div",null,[u((o(),n(s,{type:"success",size:"large",effect:"plain"},{default:i(()=>e[0]||(e[0]=[t(` 这里采用了 v-permission="['admin']" 所以只有 admin 可以看见这句话 `)])),_:1})),[[m,["admin"]]])]),a("div",null,[u((o(),n(s,{type:"success",size:"large",effect:"plain"},{default:i(()=>e[1]||(e[1]=[t(` 这里采用了 v-permission="['editor']" 所以只有 editor 可以看见这句话 `)])),_:1})),[[m,["editor"]]])]),a("div",C,[u((o(),n(s,{type:"success",size:"large",effect:"plain"},{default:i(()=>e[2]||(e[2]=[t(` 这里采用了 v-permission="['admin', 'editor']" 所以 admin 和 editor 都可以看见这句话 `)])),_:1})),[[m,["admin","editor"]]])])]),a("div",N,[r(s,{type:"warning",size:"large"},{default:i(()=>e[3]||(e[3]=[t(" 例如 Element Plus 的 el-tab-pane 或 el-table-column 以及其它动态渲染 Dom 的场景不适合使用 v-permission,这种情况下你可以通过 v-if 和 checkPermission 来实现: ")])),_:1}),r(k,{type:"border-card",class:"margin-top-15"},{default:i(()=>[f(_)(["admin"])?(o(),n(l,{key:0,label:"admin"},{default:i(()=>[e[5]||(e[5]=t(" 这里采用了 ")),r(s,null,{default:i(()=>e[4]||(e[4]=[t(`v-if="checkPermission(['admin'])"`)])),_:1}),e[6]||(e[6]=t(" 所以只有 admin 可以看见这句话 "))]),_:1})):v("",!0),f(_)(["editor"])?(o(),n(l,{key:1,label:"editor"},{default:i(()=>[e[8]||(e[8]=t(" 这里采用了 ")),r(s,null,{default:i(()=>e[7]||(e[7]=[t(`v-if="checkPermission(['editor'])"`)])),_:1}),e[9]||(e[9]=t(" 所以只有 editor 可以看见这句话 "))]),_:1})):v("",!0),f(_)(["admin","editor"])?(o(),n(l,{key:2,label:"admin 和 editor"},{default:i(()=>[e[11]||(e[11]=t(" 这里采用了 ")),r(s,null,{default:i(()=>e[10]||(e[10]=[t(`v-if="checkPermission(['admin', 'editor'])"`)])),_:1}),e[12]||(e[12]=t(" 所以 admin 和 editor 都可以看见这句话 "))]),_:1})):v("",!0)]),_:1})])])}}}),U=b(S,[["__scopeId","data-v-295dc3c3"]]);export{U as default};
diff --git a/static/index-wJaswECL.js b/static/index-B0wv9L4V.js
similarity index 97%
rename from static/index-wJaswECL.js
rename to static/index-B0wv9L4V.js
index b63a5421..acd37b6c 100644
--- a/static/index-wJaswECL.js
+++ b/static/index-B0wv9L4V.js
@@ -1,5 +1,5 @@
-const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/index-Cs7ovZVE.js","static/vue-C8lPpR34.js","static/useWatermark-BiV6n824.js","static/element-DU-WrzgO.js","static/index.vue_vue_type_script_setup_true_lang-B4_i5qA6.js","static/vxe-CSEOtpXg.js","static/index-B144nFLm.css","static/index-C8JYtJ54.js","static/403-DSOdJuEk.js","static/ErrorPageLayout-DgMolOM3.js","static/ErrorPageLayout-C88Ivnpw.css","static/404-lgjHghsh.js","static/index-JkcJletQ.js","static/index-BOQekaY2.css","static/index-DSKz_t3R.js","static/index-Dv11vANz.css","static/index-BLqZfC-m.js","static/index-B6lCVqKx.js","static/index-DM5Mm4XD.js","static/index-D_vBnYrW.css","static/index-CDkrOA-z.js","static/index-C8KmOaaE.js","static/index-CDm88bV6.css","static/index-mQadOxHN.js","static/index-Cegko8c5.js","static/index-Dy9yaHPf.js","static/index-CZrxhyQB.js","static/index-C1NzFXNc.js","static/index-D2TKIhU0.js","static/use-fetch-select-Ct_GpQYp.js","static/use-fullscreen-loading-DRZtcefe.js","static/use-watermark-DPng571t.js","static/use-watermark-BtM2la4P.css","static/page-Dk1sUgnz.js","static/SwitchRoles-DHPaAUc2.js","static/SwitchRoles-8Ij4Wsns.css","static/page-Pf9etMd-.css","static/directive-D41Upred.js","static/directive-BZjE_Fvk.css"])))=>i.map(i=>d[i]);
-var Mt=Object.defineProperty;var jt=(e,t,n)=>t in e?Mt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var I=(e,t,n)=>jt(e,typeof t!="symbol"?t+"":t,n);import{a as B,w as ot,p as st,M as zt,u as Ht,ai as Ie,q as it,O as qt,U as Wt,ay as Jt,az as $t,aA as Kt,aB as ne,b as at,A as Gt,f as Xt,t as Yt,v as Zt,au as Qt}from"./vue-C8lPpR34.js";import{E as en,b as Y,c as tn,m as nn,e as rn,g as on,i as sn,f as an}from"./element-DU-WrzgO.js";import{V as _e,a as un}from"./vxe-CSEOtpXg.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();const z="v3-admin-vite";class R{}I(R,"TOKEN",`${z}-token-key`),I(R,"CONFIG_LAYOUT",`${z}-config-layout-key`),I(R,"SIDEBAR_STATUS",`${z}-sidebar-status-key`),I(R,"ACTIVE_THEME_NAME",`${z}-active-theme-name-key`),I(R,"VISITED_VIEWS",`${z}-visited-views-key`),I(R,"CACHED_VIEWS",`${z}-cached-views-key`);const cn=()=>{const e=localStorage.getItem(R.CONFIG_LAYOUT);return e?JSON.parse(e):null},ln=e=>{localStorage.setItem(R.CONFIG_LAYOUT,JSON.stringify(e))},Ho=()=>{localStorage.removeItem(R.CONFIG_LAYOUT)},qo=()=>localStorage.getItem(R.SIDEBAR_STATUS),Wo=e=>{localStorage.setItem(R.SIDEBAR_STATUS,e)},dn=()=>localStorage.getItem(R.ACTIVE_THEME_NAME),fn=e=>{localStorage.setItem(R.ACTIVE_THEME_NAME,e)},mn=()=>{const e=localStorage.getItem(R.VISITED_VIEWS);return JSON.parse(e??"[]")},pn=e=>{e.forEach(t=>{delete t.matched,delete t.redirectedFrom}),localStorage.setItem(R.VISITED_VIEWS,JSON.stringify(e))},hn=()=>{const e=localStorage.getItem(R.CACHED_VIEWS);return JSON.parse(e??"[]")},En=e=>{localStorage.setItem(R.CACHED_VIEWS,JSON.stringify(e))},ut="normal",gn=[{title:"默认",name:ut},{title:"黑暗",name:"dark"},{title:"深蓝",name:"dark-blue"}],Te=B(dn()||ut),yn=e=>{Te.value=e},bn=e=>{document.documentElement.className=e},wn=()=>{ot(()=>{const e=Te.value;bn(e),fn(e)})};function Sn(){return{themeList:gn,activeThemeName:Te,initTheme:wn,setTheme:yn}}var vn={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},dropdown:{toggleDropdown:"切换下拉选项"},mention:{loading:"加载中"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tour:{next:"下一步",previous:"上一步",finish:"结束导览"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"}}};const _n=st({__name:"App",setup(e){const{initTheme:t}=Sn();return t(),en({title:"Hello",type:"success",dangerouslyUseHTMLString:!0,message:"小项目获取 star 不易,如果你喜欢这个项目的话,欢迎点击这里支持一个 star !这是作者持续维护的唯一动力(小声:毕竟是免费的)",duration:0,position:"bottom-right"}),(n,r)=>{const o=Ie("router-view"),s=Ie("el-config-provider");return it(),zt(s,{locale:Ht(vn)},{default:qt(()=>[Wt(o)]),_:1},8,["locale"])}}}),Re=Jt(),Tn="modulepreload",Rn=function(e){return"/v3-admin-vite/"+e},Ve={},T=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),c=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.allSettled(n.map(h=>{if(h=Rn(h),h in Ve)return;Ve[h]=!0;const d=h.endsWith(".css"),p=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${p}`))return;const l=document.createElement("link");if(l.rel=d?"stylesheet":Tn,d||(l.as="script"),l.crossOrigin="",l.href=h,c&&l.setAttribute("nonce",c),document.head.appendChild(l),d)return new Promise((E,b)=>{l.addEventListener("load",E),l.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${h}`)))})}))}function s(i){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=i,window.dispatchEvent(c),!c.defaultPrevented)throw i}return o.then(i=>{for(const c of i||[])c.status==="rejected"&&s(c.reason);return t().catch(s)})},An=$t("/v3-admin-vite/"),ct={dynamic:!0,defaultRoles:["DEFAULT_ROLE"],thirdLevelRouteCache:!1},V=()=>T(()=>import("./index-Cs7ovZVE.js"),__vite__mapDeps([0,1,2,3,4,5,6])),lt=[{path:"/redirect",component:V,meta:{hidden:!0},children:[{path:":path(.*)",component:()=>T(()=>import("./index-C8JYtJ54.js"),__vite__mapDeps([7,1]))}]},{path:"/403",component:()=>T(()=>import("./403-DSOdJuEk.js"),__vite__mapDeps([8,9,1,10,3,5])),meta:{hidden:!0}},{path:"/404",component:()=>T(()=>import("./404-lgjHghsh.js"),__vite__mapDeps([11,9,1,10,3,5])),meta:{hidden:!0},alias:"/:pathMatch(.*)*"},{path:"/login",component:()=>T(()=>import("./index-JkcJletQ.js"),__vite__mapDeps([12,1,3,4,5,13])),meta:{hidden:!0}},{path:"/",component:V,redirect:"/dashboard",children:[{path:"dashboard",component:()=>T(()=>import("./index-DSKz_t3R.js"),__vite__mapDeps([14,1,3,5,15])),name:"Dashboard",meta:{title:"首页",svgIcon:"dashboard",affix:!0}}]},{path:"/unocss",component:V,redirect:"/unocss/index",children:[{path:"index",component:()=>T(()=>import("./index-BLqZfC-m.js"),__vite__mapDeps([16,1,3,5])),name:"UnoCSS",meta:{title:"UnoCSS",svgIcon:"unocss"}}]},{path:"/link",meta:{title:"外链",svgIcon:"link"},children:[{path:"https://juejin.cn/post/7089377403717287972",component:()=>{},name:"Link1",meta:{title:"中文文档"}},{path:"https://juejin.cn/column/7207659644487139387",component:()=>{},name:"Link2",meta:{title:"新手教程"}}]},{path:"/table",component:V,redirect:"/table/element-plus",name:"Table",meta:{title:"表格",elIcon:"Grid"},children:[{path:"element-plus",component:()=>T(()=>import("./index-B6lCVqKx.js"),__vite__mapDeps([17,18,3,1,5,19])),name:"ElementPlus",meta:{title:"Element Plus",keepAlive:!0}},{path:"vxe-table",component:()=>T(()=>import("./index-CDkrOA-z.js"),__vite__mapDeps([20,18,1,3,5])),name:"VxeTable",meta:{title:"Vxe Table",keepAlive:!0}}]},{path:"/menu",component:V,redirect:"/menu/menu1",name:"Menu",meta:{title:"多级路由",svgIcon:"menu"},children:[{path:"menu1",component:()=>T(()=>import("./index-C8KmOaaE.js"),__vite__mapDeps([21,1,3,5,22])),redirect:"/menu/menu1/menu1-1",name:"Menu1",meta:{title:"menu1"},children:[{path:"menu1-1",component:()=>T(()=>import("./index-mQadOxHN.js"),__vite__mapDeps([23,1])),name:"Menu1-1",meta:{title:"menu1-1",keepAlive:!0}},{path:"menu1-2",component:()=>T(()=>import("./index-Cegko8c5.js"),__vite__mapDeps([24,1,3,5])),redirect:"/menu/menu1/menu1-2/menu1-2-1",name:"Menu1-2",meta:{title:"menu1-2"},children:[{path:"menu1-2-1",component:()=>T(()=>import("./index-Dy9yaHPf.js"),__vite__mapDeps([25,1])),name:"Menu1-2-1",meta:{title:"menu1-2-1",keepAlive:!0}},{path:"menu1-2-2",component:()=>T(()=>import("./index-CZrxhyQB.js"),__vite__mapDeps([26,1])),name:"Menu1-2-2",meta:{title:"menu1-2-2",keepAlive:!0}}]},{path:"menu1-3",component:()=>T(()=>import("./index-C1NzFXNc.js"),__vite__mapDeps([27,1])),name:"Menu1-3",meta:{title:"menu1-3",keepAlive:!0}}]},{path:"menu2",component:()=>T(()=>import("./index-D2TKIhU0.js"),__vite__mapDeps([28,1])),name:"Menu2",meta:{title:"menu2",keepAlive:!0}}]},{path:"/hook-demo",component:V,redirect:"/hook-demo/use-fetch-select",name:"HookDemo",meta:{title:"Hook",elIcon:"Menu",alwaysShow:!0},children:[{path:"use-fetch-select",component:()=>T(()=>import("./use-fetch-select-Ct_GpQYp.js"),__vite__mapDeps([29,1])),name:"UseFetchSelect",meta:{title:"useFetchSelect"}},{path:"use-fullscreen-loading",component:()=>T(()=>import("./use-fullscreen-loading-DRZtcefe.js"),__vite__mapDeps([30,3,1])),name:"UseFullscreenLoading",meta:{title:"useFullscreenLoading"}},{path:"use-watermark",component:()=>T(()=>import("./use-watermark-DPng571t.js"),__vite__mapDeps([31,2,3,1,5,32])),name:"UseWatermark",meta:{title:"useWatermark"}}]}],Ue=[{path:"/permission",component:V,redirect:"/permission/page",name:"Permission",meta:{title:"权限",svgIcon:"lock",roles:["admin","editor"],alwaysShow:!0},children:[{path:"page",component:()=>T(()=>import("./page-Dk1sUgnz.js"),__vite__mapDeps([33,34,1,35,3,5,36])),name:"PagePermission",meta:{title:"页面级",roles:["admin"]}},{path:"directive",component:()=>T(()=>import("./directive-D41Upred.js"),__vite__mapDeps([37,34,1,35,3,5,38])),name:"DirectivePermission",meta:{title:"按钮级"}}]}],N=Kt({history:An,routes:lt});function Cn(){try{N.getRoutes().forEach(e=>{var r;const{name:t,meta:n}=e;t&&((r=n.roles)!=null&&r.length)&&N.hasRoute(t)&&N.removeRoute(t)})}catch{window.location.reload()}}var On=(e=>(e[e.Mobile=0]="Mobile",e[e.Desktop=1]="Desktop",e))(On||{}),dt=(e=>(e.Left="left",e.Top="top",e.LeftTop="left-top",e))(dt||{});const Jo="opened",$o="closed",Fn={layoutMode:dt.Left,showSettings:!0,showTagsView:!0,fixedHeader:!0,showFooter:!0,showLogo:!0,showNotify:!0,showThemeSwitch:!0,showScreenfull:!0,showSearchMenu:!0,cacheTagsView:!1,showWatermark:!0,showGreyMode:!1,showColorWeakness:!1},Dn={...Fn,...cn()},ft=ne("settings",()=>{const e={};for(const[n,r]of Object.entries(Dn)){const o=B(r);e[n]=o,at(o,()=>{const s=t();ln(s)})}const t=()=>{const n={};for(const[r,o]of Object.entries(e))n[r]=o.value;return n};return e}),xn=ne("tags-view",()=>{const{cacheTagsView:e}=ft(),t=B(e?mn():[]),n=B(e?hn():[]);return ot(()=>{pn(t.value),En(n.value)}),{visitedViews:t,cachedViews:n,addVisitedView:l=>{const E=t.value.findIndex(b=>b.path===l.path);E!==-1?t.value[E].fullPath!==l.fullPath&&(t.value[E]={...l}):t.value.push({...l})},addCachedView:l=>{var E;typeof l.name=="string"&&(n.value.includes(l.name)||(E=l.meta)!=null&&E.keepAlive&&n.value.push(l.name))},delVisitedView:l=>{const E=t.value.findIndex(b=>b.path===l.path);E!==-1&&t.value.splice(E,1)},delCachedView:l=>{if(typeof l.name!="string")return;const E=n.value.indexOf(l.name);E!==-1&&n.value.splice(E,1)},delOthersVisitedViews:l=>{t.value=t.value.filter(E=>{var b;return((b=E.meta)==null?void 0:b.affix)||E.path===l.path})},delOthersCachedViews:l=>{if(typeof l.name!="string")return;const E=n.value.indexOf(l.name);E!==-1?n.value=n.value.slice(E,E+1):n.value=[]},delAllVisitedViews:()=>{t.value=t.value.filter(l=>{var E;return(E=l.meta)==null?void 0:E.affix})},delAllCachedViews:()=>{n.value=[]}}});function X(e){for(var t=1;t"u")){i=X({},t,i),typeof i.expires=="number"&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var h in i)i[h]&&(c+="; "+h,i[h]!==!0&&(c+="="+i[h].split(";")[0]));return document.cookie=o+"="+e.write(s,o)+c}}function r(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var s=document.cookie?document.cookie.split("; "):[],i={},c=0;cAe.get(R.TOKEN),Me=e=>{Ae.set(R.TOKEN,e)},je=()=>{Ae.remove(R.TOKEN)};function mt(e,t){return function(){return e.apply(t,arguments)}}const{toString:Pn}=Object.prototype,{getPrototypeOf:Oe}=Object,re=(e=>t=>{const n=Pn.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),P=e=>(e=e.toLowerCase(),t=>re(t)===e),oe=e=>t=>typeof t===e,{isArray:H}=Array,J=oe("undefined");function Bn(e){return e!==null&&!J(e)&&e.constructor!==null&&!J(e.constructor)&&x(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const pt=P("ArrayBuffer");function Ln(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&pt(e.buffer),t}const Nn=oe("string"),x=oe("function"),ht=oe("number"),se=e=>e!==null&&typeof e=="object",In=e=>e===!0||e===!1,Z=e=>{if(re(e)!=="object")return!1;const t=Oe(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Vn=P("Date"),Un=P("File"),Mn=P("Blob"),jn=P("FileList"),zn=e=>se(e)&&x(e.pipe),Hn=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||x(e.append)&&((t=re(e))==="formdata"||t==="object"&&x(e.toString)&&e.toString()==="[object FormData]"))},qn=P("URLSearchParams"),[Wn,Jn,$n,Kn]=["ReadableStream","Request","Response","Headers"].map(P),Gn=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function $(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),H(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const U=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,gt=e=>!J(e)&&e!==U;function me(){const{caseless:e}=gt(this)&&this||{},t={},n=(r,o)=>{const s=e&&Et(t,o)||o;Z(t[s])&&Z(r)?t[s]=me(t[s],r):Z(r)?t[s]=me({},r):H(r)?t[s]=r.slice():t[s]=r};for(let r=0,o=arguments.length;r($(t,(o,s)=>{n&&x(o)?e[s]=mt(o,n):e[s]=o},{allOwnKeys:r}),e),Yn=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Zn=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Qn=(e,t,n,r)=>{let o,s,i;const c={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],(!r||r(i,e,t))&&!c[i]&&(t[i]=e[i],c[i]=!0);e=n!==!1&&Oe(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},er=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},tr=e=>{if(!e)return null;if(H(e))return e;let t=e.length;if(!ht(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},nr=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Oe(Uint8Array)),rr=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},or=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},sr=P("HTMLFormElement"),ir=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),ze=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ar=P("RegExp"),yt=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};$(n,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(r[s]=i||o)}),Object.defineProperties(e,r)},ur=e=>{yt(e,(t,n)=>{if(x(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(x(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},cr=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return H(e)?r(e):r(String(e).split(t)),n},lr=()=>{},dr=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,ue="abcdefghijklmnopqrstuvwxyz",He="0123456789",bt={DIGIT:He,ALPHA:ue,ALPHA_DIGIT:ue+ue.toUpperCase()+He},fr=(e=16,t=bt.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function mr(e){return!!(e&&x(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const pr=e=>{const t=new Array(10),n=(r,o)=>{if(se(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const s=H(r)?[]:{};return $(r,(i,c)=>{const h=n(i,o+1);!J(h)&&(s[c]=h)}),t[o]=void 0,s}}return r};return n(e,0)},hr=P("AsyncFunction"),Er=e=>e&&(se(e)||x(e))&&x(e.then)&&x(e.catch),wt=((e,t)=>e?setImmediate:t?((n,r)=>(U.addEventListener("message",({source:o,data:s})=>{o===U&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),U.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",x(U.postMessage)),gr=typeof queueMicrotask<"u"?queueMicrotask.bind(U):typeof process<"u"&&process.nextTick||wt,a={isArray:H,isArrayBuffer:pt,isBuffer:Bn,isFormData:Hn,isArrayBufferView:Ln,isString:Nn,isNumber:ht,isBoolean:In,isObject:se,isPlainObject:Z,isReadableStream:Wn,isRequest:Jn,isResponse:$n,isHeaders:Kn,isUndefined:J,isDate:Vn,isFile:Un,isBlob:Mn,isRegExp:ar,isFunction:x,isStream:zn,isURLSearchParams:qn,isTypedArray:nr,isFileList:jn,forEach:$,merge:me,extend:Xn,trim:Gn,stripBOM:Yn,inherits:Zn,toFlatObject:Qn,kindOf:re,kindOfTest:P,endsWith:er,toArray:tr,forEachEntry:rr,matchAll:or,isHTMLForm:sr,hasOwnProperty:ze,hasOwnProp:ze,reduceDescriptors:yt,freezeMethods:ur,toObjectSet:cr,toCamelCase:ir,noop:lr,toFiniteNumber:dr,findKey:Et,global:U,isContextDefined:gt,ALPHABET:bt,generateString:fr,isSpecCompliantForm:mr,toJSONObject:pr,isAsyncFn:hr,isThenable:Er,setImmediate:wt,asap:gr};function g(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}a.inherits(g,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a.toJSONObject(this.config),code:this.code,status:this.status}}});const St=g.prototype,vt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{vt[e]={value:e}});Object.defineProperties(g,vt);Object.defineProperty(St,"isAxiosError",{value:!0});g.from=(e,t,n,r,o,s)=>{const i=Object.create(St);return a.toFlatObject(e,i,function(h){return h!==Error.prototype},c=>c!=="isAxiosError"),g.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};const yr=null;function pe(e){return a.isPlainObject(e)||a.isArray(e)}function _t(e){return a.endsWith(e,"[]")?e.slice(0,-2):e}function qe(e,t,n){return e?e.concat(t).map(function(o,s){return o=_t(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function br(e){return a.isArray(e)&&!e.some(pe)}const wr=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function ie(e,t,n){if(!a.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=a.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,m){return!a.isUndefined(m[f])});const r=n.metaTokens,o=n.visitor||p,s=n.dots,i=n.indexes,h=(n.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(t);if(!a.isFunction(o))throw new TypeError("visitor must be a function");function d(u){if(u===null)return"";if(a.isDate(u))return u.toISOString();if(!h&&a.isBlob(u))throw new g("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(u)||a.isTypedArray(u)?h&&typeof Blob=="function"?new Blob([u]):Buffer.from(u):u}function p(u,f,m){let y=u;if(u&&!m&&typeof u=="object"){if(a.endsWith(f,"{}"))f=r?f:f.slice(0,-2),u=JSON.stringify(u);else if(a.isArray(u)&&br(u)||(a.isFileList(u)||a.endsWith(f,"[]"))&&(y=a.toArray(u)))return f=_t(f),y.forEach(function(v,S){!(a.isUndefined(v)||v===null)&&t.append(i===!0?qe([f],S,s):i===null?f:f+"[]",d(v))}),!1}return pe(u)?!0:(t.append(qe(m,f,s),d(u)),!1)}const l=[],E=Object.assign(wr,{defaultVisitor:p,convertValue:d,isVisitable:pe});function b(u,f){if(!a.isUndefined(u)){if(l.indexOf(u)!==-1)throw Error("Circular reference detected in "+f.join("."));l.push(u),a.forEach(u,function(y,w){(!(a.isUndefined(y)||y===null)&&o.call(t,y,a.isString(w)?w.trim():w,f,E))===!0&&b(y,f?f.concat(w):[w])}),l.pop()}}if(!a.isObject(e))throw new TypeError("data must be an object");return b(e),t}function We(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Fe(e,t){this._pairs=[],e&&ie(e,this,t)}const Tt=Fe.prototype;Tt.append=function(t,n){this._pairs.push([t,n])};Tt.toString=function(t){const n=t?function(r){return t.call(this,r,We)}:We;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Sr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Rt(e,t,n){if(!t)return e;const r=n&&n.encode||Sr,o=n&&n.serialize;let s;if(o?s=o(t,n):s=a.isURLSearchParams(t)?t.toString():new Fe(t,n).toString(r),s){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Je{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){a.forEach(this.handlers,function(r){r!==null&&t(r)})}}const At={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},vr=typeof URLSearchParams<"u"?URLSearchParams:Fe,_r=typeof FormData<"u"?FormData:null,Tr=typeof Blob<"u"?Blob:null,Rr={isBrowser:!0,classes:{URLSearchParams:vr,FormData:_r,Blob:Tr},protocols:["http","https","file","blob","url","data"]},De=typeof window<"u"&&typeof document<"u",he=typeof navigator=="object"&&navigator||void 0,Ar=De&&(!he||["ReactNative","NativeScript","NS"].indexOf(he.product)<0),Cr=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Or=De&&window.location.href||"http://localhost",Fr=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:De,hasStandardBrowserEnv:Ar,hasStandardBrowserWebWorkerEnv:Cr,navigator:he,origin:Or},Symbol.toStringTag,{value:"Module"})),F={...Fr,...Rr};function Dr(e,t){return ie(e,new F.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,s){return F.isNode&&a.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function xr(e){return a.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function kr(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r=n.length;return i=!i&&a.isArray(o)?o.length:i,h?(a.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!c):((!o[i]||!a.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&a.isArray(o[i])&&(o[i]=kr(o[i])),!c)}if(a.isFormData(e)&&a.isFunction(e.entries)){const n={};return a.forEachEntry(e,(r,o)=>{t(xr(r),o,n,0)}),n}return null}function Pr(e,t,n){if(a.isString(e))try{return(t||JSON.parse)(e),a.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const K={transitional:At,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=a.isObject(t);if(s&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return o?JSON.stringify(Ct(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t)||a.isReadableStream(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Dr(t,this.formSerializer).toString();if((c=a.isFileList(t))||r.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return ie(c?{"files[]":t}:t,h&&new h,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),Pr(t)):t}],transformResponse:[function(t){const n=this.transitional||K.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(a.isResponse(t)||a.isReadableStream(t))return t;if(t&&a.isString(t)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(c){if(i)throw c.name==="SyntaxError"?g.from(c,g.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:F.classes.FormData,Blob:F.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],e=>{K.headers[e]={}});const Br=a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Lr=e=>{const t={};let n,r,o;return e&&e.split(`
+const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/index-BWHUQzTN.js","static/vue-C8lPpR34.js","static/useWatermark-BiV6n824.js","static/element-DU-WrzgO.js","static/index.vue_vue_type_script_setup_true_lang-BJe_8M6N.js","static/vxe-CSEOtpXg.js","static/index-B144nFLm.css","static/index-C8JYtJ54.js","static/403-BKRJE9bI.js","static/ErrorPageLayout-nE_CgRJH.js","static/ErrorPageLayout-C88Ivnpw.css","static/404-DGGy9tEN.js","static/index-kwwTM01a.js","static/index-BOQekaY2.css","static/index-D_dO9tEl.js","static/index-Dv11vANz.css","static/index-CH2sp0ss.js","static/index-Bs2zO2TX.js","static/index-BhIxLZ5z.js","static/index-krJKiOLS.css","static/index-Dj0OnqQ1.js","static/index-uCmh9mXK.js","static/index-CDm88bV6.css","static/index-mQadOxHN.js","static/index-BEL73lzN.js","static/index-Dy9yaHPf.js","static/index-CZrxhyQB.js","static/index-C1NzFXNc.js","static/index-D2TKIhU0.js","static/use-fetch-select-Ct_GpQYp.js","static/use-fullscreen-loading-DRZtcefe.js","static/use-watermark-l9p6BSeM.js","static/use-watermark-BtM2la4P.css","static/page-CYJJMmbX.js","static/SwitchRoles-D1AQaOBi.js","static/SwitchRoles-8Ij4Wsns.css","static/page-Pf9etMd-.css","static/directive-C5RHvCqh.js","static/directive-BZjE_Fvk.css"])))=>i.map(i=>d[i]);
+var Mt=Object.defineProperty;var jt=(e,t,n)=>t in e?Mt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var I=(e,t,n)=>jt(e,typeof t!="symbol"?t+"":t,n);import{a as B,w as ot,p as st,M as zt,u as Ht,ai as Ie,q as it,O as qt,U as Wt,ay as Jt,az as $t,aA as Kt,aB as ne,b as at,A as Gt,f as Xt,t as Yt,v as Zt,au as Qt}from"./vue-C8lPpR34.js";import{E as en,b as Y,c as tn,m as nn,e as rn,g as on,i as sn,f as an}from"./element-DU-WrzgO.js";import{V as _e,a as un}from"./vxe-CSEOtpXg.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();const z="v3-admin-vite";class R{}I(R,"TOKEN",`${z}-token-key`),I(R,"CONFIG_LAYOUT",`${z}-config-layout-key`),I(R,"SIDEBAR_STATUS",`${z}-sidebar-status-key`),I(R,"ACTIVE_THEME_NAME",`${z}-active-theme-name-key`),I(R,"VISITED_VIEWS",`${z}-visited-views-key`),I(R,"CACHED_VIEWS",`${z}-cached-views-key`);const cn=()=>{const e=localStorage.getItem(R.CONFIG_LAYOUT);return e?JSON.parse(e):null},ln=e=>{localStorage.setItem(R.CONFIG_LAYOUT,JSON.stringify(e))},Ho=()=>{localStorage.removeItem(R.CONFIG_LAYOUT)},qo=()=>localStorage.getItem(R.SIDEBAR_STATUS),Wo=e=>{localStorage.setItem(R.SIDEBAR_STATUS,e)},dn=()=>localStorage.getItem(R.ACTIVE_THEME_NAME),fn=e=>{localStorage.setItem(R.ACTIVE_THEME_NAME,e)},mn=()=>{const e=localStorage.getItem(R.VISITED_VIEWS);return JSON.parse(e??"[]")},pn=e=>{e.forEach(t=>{delete t.matched,delete t.redirectedFrom}),localStorage.setItem(R.VISITED_VIEWS,JSON.stringify(e))},hn=()=>{const e=localStorage.getItem(R.CACHED_VIEWS);return JSON.parse(e??"[]")},En=e=>{localStorage.setItem(R.CACHED_VIEWS,JSON.stringify(e))},ut="normal",gn=[{title:"默认",name:ut},{title:"黑暗",name:"dark"},{title:"深蓝",name:"dark-blue"}],Te=B(dn()||ut),yn=e=>{Te.value=e},bn=e=>{document.documentElement.className=e},wn=()=>{ot(()=>{const e=Te.value;bn(e),fn(e)})};function Sn(){return{themeList:gn,activeThemeName:Te,initTheme:wn,setTheme:yn}}var vn={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},dropdown:{toggleDropdown:"切换下拉选项"},mention:{loading:"加载中"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tour:{next:"下一步",previous:"上一步",finish:"结束导览"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"}}};const _n=st({__name:"App",setup(e){const{initTheme:t}=Sn();return t(),en({title:"Hello",type:"success",dangerouslyUseHTMLString:!0,message:"小项目获取 star 不易,如果你喜欢这个项目的话,欢迎点击这里支持一个 star !这是作者持续维护的唯一动力(小声:毕竟是免费的)",duration:0,position:"bottom-right"}),(n,r)=>{const o=Ie("router-view"),s=Ie("el-config-provider");return it(),zt(s,{locale:Ht(vn)},{default:qt(()=>[Wt(o)]),_:1},8,["locale"])}}}),Re=Jt(),Tn="modulepreload",Rn=function(e){return"/v3-admin-vite/"+e},Ve={},T=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),c=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.allSettled(n.map(h=>{if(h=Rn(h),h in Ve)return;Ve[h]=!0;const d=h.endsWith(".css"),p=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${p}`))return;const l=document.createElement("link");if(l.rel=d?"stylesheet":Tn,d||(l.as="script"),l.crossOrigin="",l.href=h,c&&l.setAttribute("nonce",c),document.head.appendChild(l),d)return new Promise((E,b)=>{l.addEventListener("load",E),l.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${h}`)))})}))}function s(i){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=i,window.dispatchEvent(c),!c.defaultPrevented)throw i}return o.then(i=>{for(const c of i||[])c.status==="rejected"&&s(c.reason);return t().catch(s)})},An=$t("/v3-admin-vite/"),ct={dynamic:!0,defaultRoles:["DEFAULT_ROLE"],thirdLevelRouteCache:!1},V=()=>T(()=>import("./index-BWHUQzTN.js"),__vite__mapDeps([0,1,2,3,4,5,6])),lt=[{path:"/redirect",component:V,meta:{hidden:!0},children:[{path:":path(.*)",component:()=>T(()=>import("./index-C8JYtJ54.js"),__vite__mapDeps([7,1]))}]},{path:"/403",component:()=>T(()=>import("./403-BKRJE9bI.js"),__vite__mapDeps([8,9,1,10,3,5])),meta:{hidden:!0}},{path:"/404",component:()=>T(()=>import("./404-DGGy9tEN.js"),__vite__mapDeps([11,9,1,10,3,5])),meta:{hidden:!0},alias:"/:pathMatch(.*)*"},{path:"/login",component:()=>T(()=>import("./index-kwwTM01a.js"),__vite__mapDeps([12,1,3,4,5,13])),meta:{hidden:!0}},{path:"/",component:V,redirect:"/dashboard",children:[{path:"dashboard",component:()=>T(()=>import("./index-D_dO9tEl.js"),__vite__mapDeps([14,1,3,5,15])),name:"Dashboard",meta:{title:"首页",svgIcon:"dashboard",affix:!0}}]},{path:"/unocss",component:V,redirect:"/unocss/index",children:[{path:"index",component:()=>T(()=>import("./index-CH2sp0ss.js"),__vite__mapDeps([16,1,3,5])),name:"UnoCSS",meta:{title:"UnoCSS",svgIcon:"unocss"}}]},{path:"/link",meta:{title:"外链",svgIcon:"link"},children:[{path:"https://juejin.cn/post/7089377403717287972",component:()=>{},name:"Link1",meta:{title:"中文文档"}},{path:"https://juejin.cn/column/7207659644487139387",component:()=>{},name:"Link2",meta:{title:"新手教程"}}]},{path:"/table",component:V,redirect:"/table/element-plus",name:"Table",meta:{title:"表格",elIcon:"Grid"},children:[{path:"element-plus",component:()=>T(()=>import("./index-Bs2zO2TX.js"),__vite__mapDeps([17,18,3,1,5,19])),name:"ElementPlus",meta:{title:"Element Plus",keepAlive:!0}},{path:"vxe-table",component:()=>T(()=>import("./index-Dj0OnqQ1.js"),__vite__mapDeps([20,18,1,3,5])),name:"VxeTable",meta:{title:"Vxe Table",keepAlive:!0}}]},{path:"/menu",component:V,redirect:"/menu/menu1",name:"Menu",meta:{title:"多级路由",svgIcon:"menu"},children:[{path:"menu1",component:()=>T(()=>import("./index-uCmh9mXK.js"),__vite__mapDeps([21,1,3,5,22])),redirect:"/menu/menu1/menu1-1",name:"Menu1",meta:{title:"menu1"},children:[{path:"menu1-1",component:()=>T(()=>import("./index-mQadOxHN.js"),__vite__mapDeps([23,1])),name:"Menu1-1",meta:{title:"menu1-1",keepAlive:!0}},{path:"menu1-2",component:()=>T(()=>import("./index-BEL73lzN.js"),__vite__mapDeps([24,1,3,5])),redirect:"/menu/menu1/menu1-2/menu1-2-1",name:"Menu1-2",meta:{title:"menu1-2"},children:[{path:"menu1-2-1",component:()=>T(()=>import("./index-Dy9yaHPf.js"),__vite__mapDeps([25,1])),name:"Menu1-2-1",meta:{title:"menu1-2-1",keepAlive:!0}},{path:"menu1-2-2",component:()=>T(()=>import("./index-CZrxhyQB.js"),__vite__mapDeps([26,1])),name:"Menu1-2-2",meta:{title:"menu1-2-2",keepAlive:!0}}]},{path:"menu1-3",component:()=>T(()=>import("./index-C1NzFXNc.js"),__vite__mapDeps([27,1])),name:"Menu1-3",meta:{title:"menu1-3",keepAlive:!0}}]},{path:"menu2",component:()=>T(()=>import("./index-D2TKIhU0.js"),__vite__mapDeps([28,1])),name:"Menu2",meta:{title:"menu2",keepAlive:!0}}]},{path:"/hook-demo",component:V,redirect:"/hook-demo/use-fetch-select",name:"HookDemo",meta:{title:"Hook",elIcon:"Menu",alwaysShow:!0},children:[{path:"use-fetch-select",component:()=>T(()=>import("./use-fetch-select-Ct_GpQYp.js"),__vite__mapDeps([29,1])),name:"UseFetchSelect",meta:{title:"useFetchSelect"}},{path:"use-fullscreen-loading",component:()=>T(()=>import("./use-fullscreen-loading-DRZtcefe.js"),__vite__mapDeps([30,3,1])),name:"UseFullscreenLoading",meta:{title:"useFullscreenLoading"}},{path:"use-watermark",component:()=>T(()=>import("./use-watermark-l9p6BSeM.js"),__vite__mapDeps([31,2,3,1,5,32])),name:"UseWatermark",meta:{title:"useWatermark"}}]}],Ue=[{path:"/permission",component:V,redirect:"/permission/page",name:"Permission",meta:{title:"权限",svgIcon:"lock",roles:["admin","editor"],alwaysShow:!0},children:[{path:"page",component:()=>T(()=>import("./page-CYJJMmbX.js"),__vite__mapDeps([33,34,1,35,3,5,36])),name:"PagePermission",meta:{title:"页面级",roles:["admin"]}},{path:"directive",component:()=>T(()=>import("./directive-C5RHvCqh.js"),__vite__mapDeps([37,34,1,35,3,5,38])),name:"DirectivePermission",meta:{title:"按钮级"}}]}],N=Kt({history:An,routes:lt});function Cn(){try{N.getRoutes().forEach(e=>{var r;const{name:t,meta:n}=e;t&&((r=n.roles)!=null&&r.length)&&N.hasRoute(t)&&N.removeRoute(t)})}catch{window.location.reload()}}var On=(e=>(e[e.Mobile=0]="Mobile",e[e.Desktop=1]="Desktop",e))(On||{}),dt=(e=>(e.Left="left",e.Top="top",e.LeftTop="left-top",e))(dt||{});const Jo="opened",$o="closed",Fn={layoutMode:dt.Left,showSettings:!0,showTagsView:!0,fixedHeader:!0,showFooter:!0,showLogo:!0,showNotify:!0,showThemeSwitch:!0,showScreenfull:!0,showSearchMenu:!0,cacheTagsView:!1,showWatermark:!0,showGreyMode:!1,showColorWeakness:!1},Dn={...Fn,...cn()},ft=ne("settings",()=>{const e={};for(const[n,r]of Object.entries(Dn)){const o=B(r);e[n]=o,at(o,()=>{const s=t();ln(s)})}const t=()=>{const n={};for(const[r,o]of Object.entries(e))n[r]=o.value;return n};return e}),xn=ne("tags-view",()=>{const{cacheTagsView:e}=ft(),t=B(e?mn():[]),n=B(e?hn():[]);return ot(()=>{pn(t.value),En(n.value)}),{visitedViews:t,cachedViews:n,addVisitedView:l=>{const E=t.value.findIndex(b=>b.path===l.path);E!==-1?t.value[E].fullPath!==l.fullPath&&(t.value[E]={...l}):t.value.push({...l})},addCachedView:l=>{var E;typeof l.name=="string"&&(n.value.includes(l.name)||(E=l.meta)!=null&&E.keepAlive&&n.value.push(l.name))},delVisitedView:l=>{const E=t.value.findIndex(b=>b.path===l.path);E!==-1&&t.value.splice(E,1)},delCachedView:l=>{if(typeof l.name!="string")return;const E=n.value.indexOf(l.name);E!==-1&&n.value.splice(E,1)},delOthersVisitedViews:l=>{t.value=t.value.filter(E=>{var b;return((b=E.meta)==null?void 0:b.affix)||E.path===l.path})},delOthersCachedViews:l=>{if(typeof l.name!="string")return;const E=n.value.indexOf(l.name);E!==-1?n.value=n.value.slice(E,E+1):n.value=[]},delAllVisitedViews:()=>{t.value=t.value.filter(l=>{var E;return(E=l.meta)==null?void 0:E.affix})},delAllCachedViews:()=>{n.value=[]}}});function X(e){for(var t=1;t"u")){i=X({},t,i),typeof i.expires=="number"&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var h in i)i[h]&&(c+="; "+h,i[h]!==!0&&(c+="="+i[h].split(";")[0]));return document.cookie=o+"="+e.write(s,o)+c}}function r(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var s=document.cookie?document.cookie.split("; "):[],i={},c=0;cAe.get(R.TOKEN),Me=e=>{Ae.set(R.TOKEN,e)},je=()=>{Ae.remove(R.TOKEN)};function mt(e,t){return function(){return e.apply(t,arguments)}}const{toString:Pn}=Object.prototype,{getPrototypeOf:Oe}=Object,re=(e=>t=>{const n=Pn.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),P=e=>(e=e.toLowerCase(),t=>re(t)===e),oe=e=>t=>typeof t===e,{isArray:H}=Array,J=oe("undefined");function Bn(e){return e!==null&&!J(e)&&e.constructor!==null&&!J(e.constructor)&&x(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const pt=P("ArrayBuffer");function Ln(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&pt(e.buffer),t}const Nn=oe("string"),x=oe("function"),ht=oe("number"),se=e=>e!==null&&typeof e=="object",In=e=>e===!0||e===!1,Z=e=>{if(re(e)!=="object")return!1;const t=Oe(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Vn=P("Date"),Un=P("File"),Mn=P("Blob"),jn=P("FileList"),zn=e=>se(e)&&x(e.pipe),Hn=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||x(e.append)&&((t=re(e))==="formdata"||t==="object"&&x(e.toString)&&e.toString()==="[object FormData]"))},qn=P("URLSearchParams"),[Wn,Jn,$n,Kn]=["ReadableStream","Request","Response","Headers"].map(P),Gn=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function $(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),H(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const U=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,gt=e=>!J(e)&&e!==U;function me(){const{caseless:e}=gt(this)&&this||{},t={},n=(r,o)=>{const s=e&&Et(t,o)||o;Z(t[s])&&Z(r)?t[s]=me(t[s],r):Z(r)?t[s]=me({},r):H(r)?t[s]=r.slice():t[s]=r};for(let r=0,o=arguments.length;r($(t,(o,s)=>{n&&x(o)?e[s]=mt(o,n):e[s]=o},{allOwnKeys:r}),e),Yn=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Zn=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Qn=(e,t,n,r)=>{let o,s,i;const c={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],(!r||r(i,e,t))&&!c[i]&&(t[i]=e[i],c[i]=!0);e=n!==!1&&Oe(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},er=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},tr=e=>{if(!e)return null;if(H(e))return e;let t=e.length;if(!ht(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},nr=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Oe(Uint8Array)),rr=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},or=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},sr=P("HTMLFormElement"),ir=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),ze=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ar=P("RegExp"),yt=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};$(n,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(r[s]=i||o)}),Object.defineProperties(e,r)},ur=e=>{yt(e,(t,n)=>{if(x(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(x(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},cr=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return H(e)?r(e):r(String(e).split(t)),n},lr=()=>{},dr=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,ue="abcdefghijklmnopqrstuvwxyz",He="0123456789",bt={DIGIT:He,ALPHA:ue,ALPHA_DIGIT:ue+ue.toUpperCase()+He},fr=(e=16,t=bt.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function mr(e){return!!(e&&x(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const pr=e=>{const t=new Array(10),n=(r,o)=>{if(se(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const s=H(r)?[]:{};return $(r,(i,c)=>{const h=n(i,o+1);!J(h)&&(s[c]=h)}),t[o]=void 0,s}}return r};return n(e,0)},hr=P("AsyncFunction"),Er=e=>e&&(se(e)||x(e))&&x(e.then)&&x(e.catch),wt=((e,t)=>e?setImmediate:t?((n,r)=>(U.addEventListener("message",({source:o,data:s})=>{o===U&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),U.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",x(U.postMessage)),gr=typeof queueMicrotask<"u"?queueMicrotask.bind(U):typeof process<"u"&&process.nextTick||wt,a={isArray:H,isArrayBuffer:pt,isBuffer:Bn,isFormData:Hn,isArrayBufferView:Ln,isString:Nn,isNumber:ht,isBoolean:In,isObject:se,isPlainObject:Z,isReadableStream:Wn,isRequest:Jn,isResponse:$n,isHeaders:Kn,isUndefined:J,isDate:Vn,isFile:Un,isBlob:Mn,isRegExp:ar,isFunction:x,isStream:zn,isURLSearchParams:qn,isTypedArray:nr,isFileList:jn,forEach:$,merge:me,extend:Xn,trim:Gn,stripBOM:Yn,inherits:Zn,toFlatObject:Qn,kindOf:re,kindOfTest:P,endsWith:er,toArray:tr,forEachEntry:rr,matchAll:or,isHTMLForm:sr,hasOwnProperty:ze,hasOwnProp:ze,reduceDescriptors:yt,freezeMethods:ur,toObjectSet:cr,toCamelCase:ir,noop:lr,toFiniteNumber:dr,findKey:Et,global:U,isContextDefined:gt,ALPHABET:bt,generateString:fr,isSpecCompliantForm:mr,toJSONObject:pr,isAsyncFn:hr,isThenable:Er,setImmediate:wt,asap:gr};function g(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}a.inherits(g,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a.toJSONObject(this.config),code:this.code,status:this.status}}});const St=g.prototype,vt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{vt[e]={value:e}});Object.defineProperties(g,vt);Object.defineProperty(St,"isAxiosError",{value:!0});g.from=(e,t,n,r,o,s)=>{const i=Object.create(St);return a.toFlatObject(e,i,function(h){return h!==Error.prototype},c=>c!=="isAxiosError"),g.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};const yr=null;function pe(e){return a.isPlainObject(e)||a.isArray(e)}function _t(e){return a.endsWith(e,"[]")?e.slice(0,-2):e}function qe(e,t,n){return e?e.concat(t).map(function(o,s){return o=_t(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function br(e){return a.isArray(e)&&!e.some(pe)}const wr=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function ie(e,t,n){if(!a.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=a.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,m){return!a.isUndefined(m[f])});const r=n.metaTokens,o=n.visitor||p,s=n.dots,i=n.indexes,h=(n.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(t);if(!a.isFunction(o))throw new TypeError("visitor must be a function");function d(u){if(u===null)return"";if(a.isDate(u))return u.toISOString();if(!h&&a.isBlob(u))throw new g("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(u)||a.isTypedArray(u)?h&&typeof Blob=="function"?new Blob([u]):Buffer.from(u):u}function p(u,f,m){let y=u;if(u&&!m&&typeof u=="object"){if(a.endsWith(f,"{}"))f=r?f:f.slice(0,-2),u=JSON.stringify(u);else if(a.isArray(u)&&br(u)||(a.isFileList(u)||a.endsWith(f,"[]"))&&(y=a.toArray(u)))return f=_t(f),y.forEach(function(v,S){!(a.isUndefined(v)||v===null)&&t.append(i===!0?qe([f],S,s):i===null?f:f+"[]",d(v))}),!1}return pe(u)?!0:(t.append(qe(m,f,s),d(u)),!1)}const l=[],E=Object.assign(wr,{defaultVisitor:p,convertValue:d,isVisitable:pe});function b(u,f){if(!a.isUndefined(u)){if(l.indexOf(u)!==-1)throw Error("Circular reference detected in "+f.join("."));l.push(u),a.forEach(u,function(y,w){(!(a.isUndefined(y)||y===null)&&o.call(t,y,a.isString(w)?w.trim():w,f,E))===!0&&b(y,f?f.concat(w):[w])}),l.pop()}}if(!a.isObject(e))throw new TypeError("data must be an object");return b(e),t}function We(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Fe(e,t){this._pairs=[],e&&ie(e,this,t)}const Tt=Fe.prototype;Tt.append=function(t,n){this._pairs.push([t,n])};Tt.toString=function(t){const n=t?function(r){return t.call(this,r,We)}:We;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Sr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Rt(e,t,n){if(!t)return e;const r=n&&n.encode||Sr,o=n&&n.serialize;let s;if(o?s=o(t,n):s=a.isURLSearchParams(t)?t.toString():new Fe(t,n).toString(r),s){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Je{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){a.forEach(this.handlers,function(r){r!==null&&t(r)})}}const At={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},vr=typeof URLSearchParams<"u"?URLSearchParams:Fe,_r=typeof FormData<"u"?FormData:null,Tr=typeof Blob<"u"?Blob:null,Rr={isBrowser:!0,classes:{URLSearchParams:vr,FormData:_r,Blob:Tr},protocols:["http","https","file","blob","url","data"]},De=typeof window<"u"&&typeof document<"u",he=typeof navigator=="object"&&navigator||void 0,Ar=De&&(!he||["ReactNative","NativeScript","NS"].indexOf(he.product)<0),Cr=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Or=De&&window.location.href||"http://localhost",Fr=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:De,hasStandardBrowserEnv:Ar,hasStandardBrowserWebWorkerEnv:Cr,navigator:he,origin:Or},Symbol.toStringTag,{value:"Module"})),F={...Fr,...Rr};function Dr(e,t){return ie(e,new F.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,s){return F.isNode&&a.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function xr(e){return a.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function kr(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r=n.length;return i=!i&&a.isArray(o)?o.length:i,h?(a.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!c):((!o[i]||!a.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&a.isArray(o[i])&&(o[i]=kr(o[i])),!c)}if(a.isFormData(e)&&a.isFunction(e.entries)){const n={};return a.forEachEntry(e,(r,o)=>{t(xr(r),o,n,0)}),n}return null}function Pr(e,t,n){if(a.isString(e))try{return(t||JSON.parse)(e),a.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const K={transitional:At,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=a.isObject(t);if(s&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return o?JSON.stringify(Ct(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t)||a.isReadableStream(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Dr(t,this.formSerializer).toString();if((c=a.isFileList(t))||r.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return ie(c?{"files[]":t}:t,h&&new h,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),Pr(t)):t}],transformResponse:[function(t){const n=this.transitional||K.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(a.isResponse(t)||a.isReadableStream(t))return t;if(t&&a.isString(t)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(c){if(i)throw c.name==="SyntaxError"?g.from(c,g.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:F.classes.FormData,Blob:F.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],e=>{K.headers[e]={}});const Br=a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Lr=e=>{const t={};let n,r,o;return e&&e.split(`
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&Br[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},$e=Symbol("internals");function W(e){return e&&String(e).trim().toLowerCase()}function Q(e){return e===!1||e==null?e:a.isArray(e)?e.map(Q):String(e)}function Nr(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Ir=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ce(e,t,n,r,o){if(a.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!a.isString(t)){if(a.isString(r))return t.indexOf(r)!==-1;if(a.isRegExp(r))return r.test(t)}}function Vr(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Ur(e,t){const n=a.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}class D{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(c,h,d){const p=W(h);if(!p)throw new Error("header name must be a non-empty string");const l=a.findKey(o,p);(!l||o[l]===void 0||d===!0||d===void 0&&o[l]!==!1)&&(o[l||h]=Q(c))}const i=(c,h)=>a.forEach(c,(d,p)=>s(d,p,h));if(a.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(a.isString(t)&&(t=t.trim())&&!Ir(t))i(Lr(t),n);else if(a.isHeaders(t))for(const[c,h]of t.entries())s(h,c,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=W(t),t){const r=a.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Nr(o);if(a.isFunction(n))return n.call(this,o,r);if(a.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=W(t),t){const r=a.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ce(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=W(i),i){const c=a.findKey(r,i);c&&(!n||ce(r,r[c],c,n))&&(delete r[c],o=!0)}}return a.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||ce(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return a.forEach(this,(o,s)=>{const i=a.findKey(r,s);if(i){n[i]=Q(o),delete n[s];return}const c=t?Vr(s):String(s).trim();c!==s&&delete n[s],n[c]=Q(o),r[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return a.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&a.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[$e]=this[$e]={accessors:{}}).accessors,o=this.prototype;function s(i){const c=W(i);r[c]||(Ur(o,i),r[c]=!0)}return a.isArray(t)?t.forEach(s):s(t),this}}D.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);a.reduceDescriptors(D.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});a.freezeMethods(D);function le(e,t){const n=this||K,r=t||n,o=D.from(r.headers);let s=r.data;return a.forEach(e,function(c){s=c.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function Ot(e){return!!(e&&e.__CANCEL__)}function q(e,t,n){g.call(this,e??"canceled",g.ERR_CANCELED,t,n),this.name="CanceledError"}a.inherits(q,g,{__CANCEL__:!0});function Ft(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new g("Request failed with status code "+n.status,[g.ERR_BAD_REQUEST,g.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Mr(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function jr(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(h){const d=Date.now(),p=r[s];i||(i=d),n[o]=h,r[o]=d;let l=s,E=0;for(;l!==o;)E+=n[l++],l=l%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),d-i{n=p,o=null,s&&(clearTimeout(s),s=null),e.apply(null,d)};return[(...d)=>{const p=Date.now(),l=p-n;l>=r?i(d,p):(o=d,s||(s=setTimeout(()=>{s=null,i(o)},r-l)))},()=>o&&i(o)]}const ee=(e,t,n=3)=>{let r=0;const o=jr(50,250);return zr(s=>{const i=s.loaded,c=s.lengthComputable?s.total:void 0,h=i-r,d=o(h),p=i<=c;r=i;const l={loaded:i,total:c,progress:c?i/c:void 0,bytes:h,rate:d||void 0,estimated:d&&c&&p?(c-i)/d:void 0,event:s,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(l)},n)},Ke=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Ge=e=>(...t)=>a.asap(()=>e(...t)),Hr=F.hasStandardBrowserEnv?function(){const t=F.navigator&&/(msie|trident)/i.test(F.navigator.userAgent),n=document.createElement("a");let r;function o(s){let i=s;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){const c=a.isString(i)?o(i):i;return c.protocol===r.protocol&&c.host===r.host}}():function(){return function(){return!0}}(),qr=F.hasStandardBrowserEnv?{write(e,t,n,r,o,s){const i=[e+"="+encodeURIComponent(t)];a.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),a.isString(r)&&i.push("path="+r),a.isString(o)&&i.push("domain="+o),s===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Wr(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Jr(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Dt(e,t){return e&&!Wr(t)?Jr(e,t):t}const Xe=e=>e instanceof D?{...e}:e;function j(e,t){t=t||{};const n={};function r(d,p,l){return a.isPlainObject(d)&&a.isPlainObject(p)?a.merge.call({caseless:l},d,p):a.isPlainObject(p)?a.merge({},p):a.isArray(p)?p.slice():p}function o(d,p,l){if(a.isUndefined(p)){if(!a.isUndefined(d))return r(void 0,d,l)}else return r(d,p,l)}function s(d,p){if(!a.isUndefined(p))return r(void 0,p)}function i(d,p){if(a.isUndefined(p)){if(!a.isUndefined(d))return r(void 0,d)}else return r(void 0,p)}function c(d,p,l){if(l in t)return r(d,p);if(l in e)return r(void 0,d)}const h={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:c,headers:(d,p)=>o(Xe(d),Xe(p),!0)};return a.forEach(Object.keys(Object.assign({},e,t)),function(p){const l=h[p]||o,E=l(e[p],t[p],p);a.isUndefined(E)&&l!==c||(n[p]=E)}),n}const xt=e=>{const t=j({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:s,headers:i,auth:c}=t;t.headers=i=D.from(i),t.url=Rt(Dt(t.baseURL,t.url),e.params,e.paramsSerializer),c&&i.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let h;if(a.isFormData(n)){if(F.hasStandardBrowserEnv||F.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((h=i.getContentType())!==!1){const[d,...p]=h?h.split(";").map(l=>l.trim()).filter(Boolean):[];i.setContentType([d||"multipart/form-data",...p].join("; "))}}if(F.hasStandardBrowserEnv&&(r&&a.isFunction(r)&&(r=r(t)),r||r!==!1&&Hr(t.url))){const d=o&&s&&qr.read(s);d&&i.set(o,d)}return t},$r=typeof XMLHttpRequest<"u",Kr=$r&&function(e){return new Promise(function(n,r){const o=xt(e);let s=o.data;const i=D.from(o.headers).normalize();let{responseType:c,onUploadProgress:h,onDownloadProgress:d}=o,p,l,E,b,u;function f(){b&&b(),u&&u(),o.cancelToken&&o.cancelToken.unsubscribe(p),o.signal&&o.signal.removeEventListener("abort",p)}let m=new XMLHttpRequest;m.open(o.method.toUpperCase(),o.url,!0),m.timeout=o.timeout;function y(){if(!m)return;const v=D.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),_={data:!c||c==="text"||c==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:v,config:e,request:m};Ft(function(O){n(O),f()},function(O){r(O),f()},_),m=null}"onloadend"in m?m.onloadend=y:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(y)},m.onabort=function(){m&&(r(new g("Request aborted",g.ECONNABORTED,e,m)),m=null)},m.onerror=function(){r(new g("Network Error",g.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let S=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const _=o.transitional||At;o.timeoutErrorMessage&&(S=o.timeoutErrorMessage),r(new g(S,_.clarifyTimeoutError?g.ETIMEDOUT:g.ECONNABORTED,e,m)),m=null},s===void 0&&i.setContentType(null),"setRequestHeader"in m&&a.forEach(i.toJSON(),function(S,_){m.setRequestHeader(_,S)}),a.isUndefined(o.withCredentials)||(m.withCredentials=!!o.withCredentials),c&&c!=="json"&&(m.responseType=o.responseType),d&&([E,u]=ee(d,!0),m.addEventListener("progress",E)),h&&m.upload&&([l,b]=ee(h),m.upload.addEventListener("progress",l),m.upload.addEventListener("loadend",b)),(o.cancelToken||o.signal)&&(p=v=>{m&&(r(!v||v.type?new q(null,e,m):v),m.abort(),m=null)},o.cancelToken&&o.cancelToken.subscribe(p),o.signal&&(o.signal.aborted?p():o.signal.addEventListener("abort",p)));const w=Mr(o.url);if(w&&F.protocols.indexOf(w)===-1){r(new g("Unsupported protocol "+w+":",g.ERR_BAD_REQUEST,e));return}m.send(s||null)})},Gr=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const s=function(d){if(!o){o=!0,c();const p=d instanceof Error?d:this.reason;r.abort(p instanceof g?p:new q(p instanceof Error?p.message:p))}};let i=t&&setTimeout(()=>{i=null,s(new g(`timeout ${t} of ms exceeded`,g.ETIMEDOUT))},t);const c=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(s):d.removeEventListener("abort",s)}),e=null)};e.forEach(d=>d.addEventListener("abort",s));const{signal:h}=r;return h.unsubscribe=()=>a.asap(c),h}},Xr=function*(e,t){let n=e.byteLength;if(n{const o=Yr(e,t);let s=0,i,c=h=>{i||(i=!0,r&&r(h))};return new ReadableStream({async pull(h){try{const{done:d,value:p}=await o.next();if(d){c(),h.close();return}let l=p.byteLength;if(n){let E=s+=l;n(E)}h.enqueue(new Uint8Array(p))}catch(d){throw c(d),d}},cancel(h){return c(h),o.return()}},{highWaterMark:2})},ae=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",kt=ae&&typeof ReadableStream=="function",Qr=ae&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Pt=(e,...t)=>{try{return!!e(...t)}catch{return!1}},eo=kt&&Pt(()=>{let e=!1;const t=new Request(F.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Ze=64*1024,Ee=kt&&Pt(()=>a.isReadableStream(new Response("").body)),te={stream:Ee&&(e=>e.body)};ae&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!te[t]&&(te[t]=a.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new g(`Response type '${t}' is not supported`,g.ERR_NOT_SUPPORT,r)})})})(new Response);const to=async e=>{if(e==null)return 0;if(a.isBlob(e))return e.size;if(a.isSpecCompliantForm(e))return(await new Request(F.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(a.isArrayBufferView(e)||a.isArrayBuffer(e))return e.byteLength;if(a.isURLSearchParams(e)&&(e=e+""),a.isString(e))return(await Qr(e)).byteLength},no=async(e,t)=>{const n=a.toFiniteNumber(e.getContentLength());return n??to(t)},ro=ae&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:s,timeout:i,onDownloadProgress:c,onUploadProgress:h,responseType:d,headers:p,withCredentials:l="same-origin",fetchOptions:E}=xt(e);d=d?(d+"").toLowerCase():"text";let b=Gr([o,s&&s.toAbortSignal()],i),u;const f=b&&b.unsubscribe&&(()=>{b.unsubscribe()});let m;try{if(h&&eo&&n!=="get"&&n!=="head"&&(m=await no(p,r))!==0){let _=new Request(t,{method:"POST",body:r,duplex:"half"}),C;if(a.isFormData(r)&&(C=_.headers.get("content-type"))&&p.setContentType(C),_.body){const[O,k]=Ke(m,ee(Ge(h)));r=Ye(_.body,Ze,O,k)}}a.isString(l)||(l=l?"include":"omit");const y="credentials"in Request.prototype;u=new Request(t,{...E,signal:b,method:n.toUpperCase(),headers:p.normalize().toJSON(),body:r,duplex:"half",credentials:y?l:void 0});let w=await fetch(u);const v=Ee&&(d==="stream"||d==="response");if(Ee&&(c||v&&f)){const _={};["status","statusText","headers"].forEach(Ne=>{_[Ne]=w[Ne]});const C=a.toFiniteNumber(w.headers.get("content-length")),[O,k]=c&&Ke(C,ee(Ge(c),!0))||[];w=new Response(Ye(w.body,Ze,O,()=>{k&&k(),f&&f()}),_)}d=d||"text";let S=await te[a.findKey(te,d)||"text"](w,e);return!v&&f&&f(),await new Promise((_,C)=>{Ft(_,C,{data:S,headers:D.from(w.headers),status:w.status,statusText:w.statusText,config:e,request:u})})}catch(y){throw f&&f(),y&&y.name==="TypeError"&&/fetch/i.test(y.message)?Object.assign(new g("Network Error",g.ERR_NETWORK,e,u),{cause:y.cause||y}):g.from(y,y&&y.code,e,u)}}),ge={http:yr,xhr:Kr,fetch:ro};a.forEach(ge,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Qe=e=>`- ${e}`,oo=e=>a.isFunction(e)||e===null||e===!1,Bt={getAdapter:e=>{e=a.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let s=0;s`adapter ${c} `+(h===!1?"is not supported by the environment":"is not available in the build"));let i=t?s.length>1?`since :
`+s.map(Qe).join(`
diff --git a/static/index-Cegko8c5.js b/static/index-BEL73lzN.js
similarity index 83%
rename from static/index-Cegko8c5.js
rename to static/index-BEL73lzN.js
index caa556aa..5fa2eee5 100644
--- a/static/index-Cegko8c5.js
+++ b/static/index-BEL73lzN.js
@@ -1 +1 @@
-import{_ as n}from"./index-wJaswECL.js";import{ai as e,q as c,t as a,U as o,O as s}from"./vue-C8lPpR34.js";import"./element-DU-WrzgO.js";import"./vxe-CSEOtpXg.js";const _={},i={class:"app-container"};function m(p,d){const t=e("router-view"),r=e("el-card");return c(),a("div",i,[o(r,{header:"三级路由 - menu1-2"},{default:s(()=>[o(t)]),_:1})])}const h=n(_,[["render",m]]);export{h as default};
+import{_ as n}from"./index-B0wv9L4V.js";import{ai as e,q as c,t as a,U as o,O as s}from"./vue-C8lPpR34.js";import"./element-DU-WrzgO.js";import"./vxe-CSEOtpXg.js";const _={},i={class:"app-container"};function m(p,d){const t=e("router-view"),r=e("el-card");return c(),a("div",i,[o(r,{header:"三级路由 - menu1-2"},{default:s(()=>[o(t)]),_:1})])}const h=n(_,[["render",m]]);export{h as default};
diff --git a/static/index-Cs7ovZVE.js b/static/index-BWHUQzTN.js
similarity index 99%
rename from static/index-Cs7ovZVE.js
rename to static/index-BWHUQzTN.js
index 4942e6a4..14acc9cb 100644
--- a/static/index-Cs7ovZVE.js
+++ b/static/index-BWHUQzTN.js
@@ -1 +1 @@
-import{aB as lt,Z as ct,a as D,b as Oe,E as qe,e as He,A as je,f as M,p as A,q as i,t as C,T as B,u as d,ai as g,v as S,U as u,O as _,W as Xe,M as w,Q as de,aC as it,R as I,aD as he,aE as ge,a8 as Z,a2 as ce,F as q,H as fe,aa as ut,S as J,I as O,aF as Ge,w as pe,aG as dt,aH as Je,J as Ke,d as Ye,s as ft,a9 as le,aI as oe,n as pt,aJ as mt,P as ye,V as be}from"./vue-C8lPpR34.js";import{g as _t,S as Ze,D as ee,s as Fe,a as vt,u as we,b as K,L as te,_ as R,c as Qe,d as $e,e as ht,r as gt}from"./index-wJaswECL.js";import{u as yt}from"./useWatermark-BiV6n824.js";import{h as bt,j as wt,g as kt,k as St,b as me,l as xt,n as Ct,o as et,u as $t,r as Tt,p as Et,q as Mt,s as Vt,t as It}from"./element-DU-WrzgO.js";import{_ as Lt}from"./index.vue_vue_type_script_setup_true_lang-B4_i5qA6.js";import"./vxe-CSEOtpXg.js";function At(o){o?Fe(vt):Fe(Ze)}const se=lt("app",()=>{const o=ct({opened:_t()!==Ze,withoutAnimation:!1}),e=D(ee.Desktop);return Oe(()=>o.opened,s=>At(s)),{device:e,sidebar:o,toggleSidebar:s=>{o.opened=!o.opened,o.withoutAnimation=s},closeSidebar:s=>{o.opened=!1,o.withoutAnimation=s},toggleDevice:s=>{e.value=s}}}),Rt=992,Dt=()=>{const o=se(),{listenerRouteChange:e}=we(),t=()=>document.body.getBoundingClientRect().width-1