This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
handingkang-ohmyweb/static/index-UxDMszmL.js
2024-01-04 14:51:17 +00:00

11 lines
63 KiB
JavaScript

var Pt=Object.defineProperty;var xt=(e,t,n)=>t in e?Pt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var F=(e,t,n)=>(xt(e,typeof t!="symbol"?t+"":t,n),n);import{r as P,w as Xe,l as Ye,af as Dt,M as Nt,O as Bt,u as Lt,ag as De,m as Ze,T as Ft,ay as It,az as Vt,aA as Mt,aB as ee,b as Qe,z as Ut,e as zt,p as jt,q as Ht,as as qt}from"./vue-k1SOGvAh.js";import{E as Jt,b as K,c as Wt,m as $t,e as Gt,g as Kt,i as Xt,f as Yt}from"./element-ZYmdyXh6.js";import{V as be,a as Zt}from"./vxe-hFHEaiBz.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();const M="v3-admin-vite";class _{}F(_,"TOKEN",`${M}-token-key`),F(_,"CONFIG_LAYOUT",`${M}-config-layout-key`),F(_,"SIDEBAR_STATUS",`${M}-sidebar-status-key`),F(_,"ACTIVE_THEME_NAME",`${M}-active-theme-name-key`),F(_,"VISITED_VIEWS",`${M}-visited-views-key`),F(_,"CACHED_VIEWS",`${M}-cached-views-key`);const Qt=()=>{const e=localStorage.getItem(_.CONFIG_LAYOUT);return e?JSON.parse(e):null},en=e=>{localStorage.setItem(_.CONFIG_LAYOUT,JSON.stringify(e))},ws=()=>{localStorage.removeItem(_.CONFIG_LAYOUT)},bs=()=>localStorage.getItem(_.SIDEBAR_STATUS),vs=e=>{localStorage.setItem(_.SIDEBAR_STATUS,e)},tn=()=>localStorage.getItem(_.ACTIVE_THEME_NAME),nn=e=>{localStorage.setItem(_.ACTIVE_THEME_NAME,e)},rn=()=>{const e=localStorage.getItem(_.VISITED_VIEWS);return JSON.parse(e??"[]")},sn=e=>{e.forEach(t=>{delete t.matched,delete t.redirectedFrom}),localStorage.setItem(_.VISITED_VIEWS,JSON.stringify(e))},on=()=>{const e=localStorage.getItem(_.CACHED_VIEWS);return JSON.parse(e??"[]")},an=e=>{localStorage.setItem(_.CACHED_VIEWS,JSON.stringify(e))},et="normal",cn=[{title:"默认",name:et},{title:"黑暗",name:"dark"},{title:"深蓝",name:"dark-blue"}],ve=P(tn()||et),un=e=>{ve.value=e},ln=e=>{document.documentElement.className=e},dn=()=>{Xe(()=>{const e=ve.value;ln(e),nn(e)})};function fn(){return{themeList:cn,activeThemeName:ve,initTheme:dn,setTheme:un}}var mn={name:"zh-cn",el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",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:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"}}};const pn=Ye({__name:"App",setup(e){const{initTheme:t}=fn();return t(),Jt({title:"Hello",type:"success",message:Dt("a",{style:"color: teal",target:"_blank",href:"https://github.com/un-pany/v3-admin-vite"},"小项目获取 star 不易,如果你喜欢这个项目的话,欢迎点击这里支持一个 star !这是作者持续维护的唯一动力(小声:毕竟是免费的)"),duration:0,position:"bottom-right"}),(n,r)=>{const s=De("router-view"),i=De("el-config-provider");return Ze(),Nt(i,{locale:Lt(mn)},{default:Bt(()=>[Ft(s)]),_:1},8,["locale"])}}}),te=It(),hn="modulepreload",En=function(e){return"/v3-admin-vite/"+e},Ne={},v=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link");s=Promise.all(n.map(o=>{if(o=En(o),o in Ne)return;Ne[o]=!0;const d=o.endsWith(".css"),m=d?'[rel="stylesheet"]':"";if(!!r)for(let u=i.length-1;u>=0;u--){const h=i[u];if(h.href===o&&(!d||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${m}`))return;const f=document.createElement("link");if(f.rel=d?"stylesheet":hn,d||(f.as="script",f.crossOrigin=""),f.href=o,document.head.appendChild(f),d)return new Promise((u,h)=>{f.addEventListener("load",u),f.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${o}`)))})}))}return s.then(()=>t()).catch(i=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i})},gn=Vt("/v3-admin-vite/"),tt={async:!0,defaultRoles:["DEFAULT_ROLE"],thirdLevelRouteCache:!1},I=()=>v(()=>import("./index-hLeb7bUi.js"),__vite__mapDeps([0,1,2,3,4,5,6])),nt=[{path:"/redirect",component:I,meta:{hidden:!0},children:[{path:"/redirect/:path(.*)",component:()=>v(()=>import("./index-0fcVCWZp.js"),__vite__mapDeps([7,1]))}]},{path:"/403",component:()=>v(()=>import("./403-x_3NNcGL.js"),__vite__mapDeps([8,9,1,10,3,5])),meta:{hidden:!0}},{path:"/404",component:()=>v(()=>import("./404-iTCBZFWu.js"),__vite__mapDeps([11,9,1,10,3,5])),meta:{hidden:!0},alias:"/:pathMatch(.*)*"},{path:"/login",component:()=>v(()=>import("./index-5y4W0NiM.js"),__vite__mapDeps([12,1,3,4,5,13])),meta:{hidden:!0}},{path:"/",component:I,redirect:"/dashboard",children:[{path:"dashboard",component:()=>v(()=>import("./index-129PEFiO.js"),__vite__mapDeps([14,1,3,5,15])),name:"Dashboard",meta:{title:"首页",svgIcon:"dashboard",affix:!0}}]},{path:"/unocss",component:I,redirect:"/unocss/index",children:[{path:"index",component:()=>v(()=>import("./index-1jo8QJgp.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:I,redirect:"/table/element-plus",name:"Table",meta:{title:"表格",elIcon:"Grid"},children:[{path:"element-plus",component:()=>v(()=>import("./index-4GSFgMIn.js"),__vite__mapDeps([17,18,3,1,5,19])),name:"ElementPlus",meta:{title:"Element Plus",keepAlive:!0}},{path:"vxe-table",component:()=>v(()=>import("./index-K3r3K8wT.js"),__vite__mapDeps([20,18,1,3,5])),name:"VxeTable",meta:{title:"Vxe Table",keepAlive:!0}}]},{path:"/menu",component:I,redirect:"/menu/menu1",name:"Menu",meta:{title:"多级路由",svgIcon:"menu"},children:[{path:"menu1",component:()=>v(()=>import("./index-TswwRxse.js"),__vite__mapDeps([21,1,3,5,22])),redirect:"/menu/menu1/menu1-1",name:"Menu1",meta:{title:"menu1"},children:[{path:"menu1-1",component:()=>v(()=>import("./index-xtavDsDD.js"),__vite__mapDeps([23,1])),name:"Menu1-1",meta:{title:"menu1-1",keepAlive:!0}},{path:"menu1-2",component:()=>v(()=>import("./index-f3gE8mMO.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:()=>v(()=>import("./index-WegGh_Sj.js"),__vite__mapDeps([25,1])),name:"Menu1-2-1",meta:{title:"menu1-2-1",keepAlive:!0}},{path:"menu1-2-2",component:()=>v(()=>import("./index-dIc-ucaO.js"),__vite__mapDeps([26,1])),name:"Menu1-2-2",meta:{title:"menu1-2-2",keepAlive:!0}}]},{path:"menu1-3",component:()=>v(()=>import("./index-zfNmzTIn.js"),__vite__mapDeps([27,1])),name:"Menu1-3",meta:{title:"menu1-3",keepAlive:!0}}]},{path:"menu2",component:()=>v(()=>import("./index-4H5tkPHd.js"),__vite__mapDeps([28,1])),name:"Menu2",meta:{title:"menu2",keepAlive:!0}}]},{path:"/hook-demo",component:I,redirect:"/hook-demo/use-fetch-select",name:"HookDemo",meta:{title:"Hook 示例",elIcon:"Menu",alwaysShow:!0},children:[{path:"use-fetch-select",component:()=>v(()=>import("./use-fetch-select-jtfqItVp.js"),__vite__mapDeps([29,1])),name:"UseFetchSelect",meta:{title:"useFetchSelect"}},{path:"use-fullscreen-loading",component:()=>v(()=>import("./use-fullscreen-loading-TgDICyiz.js"),__vite__mapDeps([30,3,1])),name:"UseFullscreenLoading",meta:{title:"useFullscreenLoading"}},{path:"use-watermark",component:()=>v(()=>import("./use-watermark-d_Bms3uK.js"),__vite__mapDeps([31,2,3,1,5,32])),name:"UseWatermark",meta:{title:"useWatermark"}}]}],yn=[{path:"/permission",component:I,redirect:"/permission/page",name:"Permission",meta:{title:"权限管理",svgIcon:"lock",roles:["admin","editor"],alwaysShow:!0},children:[{path:"page",component:()=>v(()=>import("./page-OOD7QDE3.js"),__vite__mapDeps([33,1,34,35,3,5,36])),name:"PagePermission",meta:{title:"页面权限",roles:["admin"]}},{path:"directive",component:()=>v(()=>import("./directive-p-53Up-g.js"),__vite__mapDeps([37,34,1,35,3,5,38])),name:"DirectivePermission",meta:{title:"指令权限"}}]},{path:"/:pathMatch(.*)*",redirect:"/404",name:"ErrorPage",meta:{hidden:!0}}],D=Mt({history:gn,routes:nt});function Be(){try{D.getRoutes().forEach(e=>{var r;const{name:t,meta:n}=e;t&&((r=n.roles)!=null&&r.length)&&D.hasRoute(t)&&D.removeRoute(t)})}catch{window.location.reload()}}const wn=(e,t)=>{var r;const n=(r=t.meta)==null?void 0:r.roles;return n?e.some(s=>n.includes(s)):!0},rt=(e,t)=>{const n=[];return e.forEach(r=>{const s={...r};wn(t,s)&&(s.children&&(s.children=rt(s.children,t)),n.push(s))}),n},st=ee("permission",()=>{const e=P([]),t=P([]);return{routes:e,dynamicRoutes:t,setRoutes:r=>{const s=rt(yn,r);e.value=nt.concat(s),t.value=s}}});function bn(){return st(te)}const vn={layoutMode:"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},Sn={...vn,...Qt()},ot=ee("settings",()=>{const e={};for(const[n,r]of Object.entries(Sn)){const s=P(r);e[n]=s,Qe(s,()=>{const i=t();en(i)})}const t=()=>{const n={};for(const[r,s]of Object.entries(e))n[r]=s.value;return n};return e}),it=ee("tags-view",()=>{const{cacheTagsView:e}=ot(),t=P(e?rn():[]),n=P(e?on():[]);return Xe(()=>{sn(t.value),an(n.value)}),{visitedViews:t,cachedViews:n,addVisitedView:u=>{const h=t.value.findIndex(w=>w.path===u.path);h!==-1?t.value[h].fullPath!==u.fullPath&&(t.value[h]={...u}):t.value.push({...u})},addCachedView:u=>{var h;typeof u.name=="string"&&(n.value.includes(u.name)||(h=u.meta)!=null&&h.keepAlive&&n.value.push(u.name))},delVisitedView:u=>{const h=t.value.findIndex(w=>w.path===u.path);h!==-1&&t.value.splice(h,1)},delCachedView:u=>{if(typeof u.name!="string")return;const h=n.value.indexOf(u.name);h!==-1&&n.value.splice(h,1)},delOthersVisitedViews:u=>{t.value=t.value.filter(h=>{var w;return((w=h.meta)==null?void 0:w.affix)||h.path===u.path})},delOthersCachedViews:u=>{if(typeof u.name!="string")return;const h=n.value.indexOf(u.name);h!==-1?n.value=n.value.slice(h,h+1):n.value=[]},delAllVisitedViews:()=>{t.value=t.value.filter(u=>{var h;return(h=u.meta)==null?void 0:h.affix})},delAllCachedViews:()=>{n.value=[]}}});function _n(){return it(te)}function G(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var An={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function de(e,t){function n(s,i,o){if(!(typeof document>"u")){o=G({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),s=encodeURIComponent(s).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var d="";for(var m in o)o[m]&&(d+="; "+m,o[m]!==!0&&(d+="="+o[m].split(";")[0]));return document.cookie=s+"="+e.write(i,s)+d}}function r(s){if(!(typeof document>"u"||arguments.length&&!s)){for(var i=document.cookie?document.cookie.split("; "):[],o={},d=0;d<i.length;d++){var m=i[d].split("="),E=m.slice(1).join("=");try{var f=decodeURIComponent(m[0]);if(o[f]=e.read(E,f),s===f)break}catch{}}return s?o[s]:o}}return Object.create({set:n,get:r,remove:function(s,i){n(s,"",G({},i,{expires:-1}))},withAttributes:function(s){return de(this.converter,G({},this.attributes,s))},withConverter:function(s){return de(G({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Se=de(An,{path:"/"});const _e=()=>Se.get(_.TOKEN),Le=e=>{Se.set(_.TOKEN,e)},Fe=()=>{Se.remove(_.TOKEN)};function at(e,t){return function(){return e.apply(t,arguments)}}const{toString:Tn}=Object.prototype,{getPrototypeOf:Ae}=Object,ne=(e=>t=>{const n=Tn.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),x=e=>(e=e.toLowerCase(),t=>ne(t)===e),re=e=>t=>typeof t===e,{isArray:j}=Array,q=re("undefined");function Rn(e){return e!==null&&!q(e)&&e.constructor!==null&&!q(e.constructor)&&R(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ct=x("ArrayBuffer");function On(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ct(e.buffer),t}const Cn=re("string"),R=re("function"),ut=re("number"),se=e=>e!==null&&typeof e=="object",kn=e=>e===!0||e===!1,X=e=>{if(ne(e)!=="object")return!1;const t=Ae(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Pn=x("Date"),xn=x("File"),Dn=x("Blob"),Nn=x("FileList"),Bn=e=>se(e)&&R(e.pipe),Ln=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||R(e.append)&&((t=ne(e))==="formdata"||t==="object"&&R(e.toString)&&e.toString()==="[object FormData]"))},Fn=x("URLSearchParams"),In=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function J(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),j(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let d;for(r=0;r<o;r++)d=i[r],t.call(null,e[d],d,e)}}function lt(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const dt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ft=e=>!q(e)&&e!==dt;function fe(){const{caseless:e}=ft(this)&&this||{},t={},n=(r,s)=>{const i=e&&lt(t,s)||s;X(t[i])&&X(r)?t[i]=fe(t[i],r):X(r)?t[i]=fe({},r):j(r)?t[i]=r.slice():t[i]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&J(arguments[r],n);return t}const Vn=(e,t,n,{allOwnKeys:r}={})=>(J(t,(s,i)=>{n&&R(s)?e[i]=at(s,n):e[i]=s},{allOwnKeys:r}),e),Mn=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Un=(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)},zn=(e,t,n,r)=>{let s,i,o;const d={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)o=s[i],(!r||r(o,e,t))&&!d[o]&&(t[o]=e[o],d[o]=!0);e=n!==!1&&Ae(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},jn=(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},Hn=e=>{if(!e)return null;if(j(e))return e;let t=e.length;if(!ut(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},qn=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ae(Uint8Array)),Jn=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const i=s.value;t.call(e,i[0],i[1])}},Wn=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},$n=x("HTMLFormElement"),Gn=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Ie=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Kn=x("RegExp"),mt=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};J(n,(s,i)=>{let o;(o=t(s,i,e))!==!1&&(r[i]=o||s)}),Object.defineProperties(e,r)},Xn=e=>{mt(e,(t,n)=>{if(R(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(R(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+"'")})}})},Yn=(e,t)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return j(e)?r(e):r(String(e).split(t)),n},Zn=()=>{},Qn=(e,t)=>(e=+e,Number.isFinite(e)?e:t),ae="abcdefghijklmnopqrstuvwxyz",Ve="0123456789",pt={DIGIT:Ve,ALPHA:ae,ALPHA_DIGIT:ae+ae.toUpperCase()+Ve},er=(e=16,t=pt.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function tr(e){return!!(e&&R(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const nr=e=>{const t=new Array(10),n=(r,s)=>{if(se(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const i=j(r)?[]:{};return J(r,(o,d)=>{const m=n(o,s+1);!q(m)&&(i[d]=m)}),t[s]=void 0,i}}return r};return n(e,0)},rr=x("AsyncFunction"),sr=e=>e&&(se(e)||R(e))&&R(e.then)&&R(e.catch),c={isArray:j,isArrayBuffer:ct,isBuffer:Rn,isFormData:Ln,isArrayBufferView:On,isString:Cn,isNumber:ut,isBoolean:kn,isObject:se,isPlainObject:X,isUndefined:q,isDate:Pn,isFile:xn,isBlob:Dn,isRegExp:Kn,isFunction:R,isStream:Bn,isURLSearchParams:Fn,isTypedArray:qn,isFileList:Nn,forEach:J,merge:fe,extend:Vn,trim:In,stripBOM:Mn,inherits:Un,toFlatObject:zn,kindOf:ne,kindOfTest:x,endsWith:jn,toArray:Hn,forEachEntry:Jn,matchAll:Wn,isHTMLForm:$n,hasOwnProperty:Ie,hasOwnProp:Ie,reduceDescriptors:mt,freezeMethods:Xn,toObjectSet:Yn,toCamelCase:Gn,noop:Zn,toFiniteNumber:Qn,findKey:lt,global:dt,isContextDefined:ft,ALPHABET:pt,generateString:er,isSpecCompliantForm:tr,toJSONObject:nr,isAsyncFn:rr,isThenable:sr};function g(e,t,n,r,s){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),s&&(this.response=s)}c.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:c.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ht=g.prototype,Et={};["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=>{Et[e]={value:e}});Object.defineProperties(g,Et);Object.defineProperty(ht,"isAxiosError",{value:!0});g.from=(e,t,n,r,s,i)=>{const o=Object.create(ht);return c.toFlatObject(e,o,function(m){return m!==Error.prototype},d=>d!=="isAxiosError"),g.call(o,e.message,t,n,r,s),o.cause=e,o.name=e.name,i&&Object.assign(o,i),o};const or=null;function me(e){return c.isPlainObject(e)||c.isArray(e)}function gt(e){return c.endsWith(e,"[]")?e.slice(0,-2):e}function Me(e,t,n){return e?e.concat(t).map(function(s,i){return s=gt(s),!n&&i?"["+s+"]":s}).join(n?".":""):t}function ir(e){return c.isArray(e)&&!e.some(me)}const ar=c.toFlatObject(c,{},null,function(t){return/^is[A-Z]/.test(t)});function oe(e,t,n){if(!c.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=c.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(l,p){return!c.isUndefined(p[l])});const r=n.metaTokens,s=n.visitor||f,i=n.dots,o=n.indexes,m=(n.Blob||typeof Blob<"u"&&Blob)&&c.isSpecCompliantForm(t);if(!c.isFunction(s))throw new TypeError("visitor must be a function");function E(a){if(a===null)return"";if(c.isDate(a))return a.toISOString();if(!m&&c.isBlob(a))throw new g("Blob is not supported. Use a Buffer instead.");return c.isArrayBuffer(a)||c.isTypedArray(a)?m&&typeof Blob=="function"?new Blob([a]):Buffer.from(a):a}function f(a,l,p){let y=a;if(a&&!p&&typeof a=="object"){if(c.endsWith(l,"{}"))l=r?l:l.slice(0,-2),a=JSON.stringify(a);else if(c.isArray(a)&&ir(a)||(c.isFileList(a)||c.endsWith(l,"[]"))&&(y=c.toArray(a)))return l=gt(l),y.forEach(function(T,b){!(c.isUndefined(T)||T===null)&&t.append(o===!0?Me([l],b,i):o===null?l:l+"[]",E(T))}),!1}return me(a)?!0:(t.append(Me(p,l,i),E(a)),!1)}const u=[],h=Object.assign(ar,{defaultVisitor:f,convertValue:E,isVisitable:me});function w(a,l){if(!c.isUndefined(a)){if(u.indexOf(a)!==-1)throw Error("Circular reference detected in "+l.join("."));u.push(a),c.forEach(a,function(y,S){(!(c.isUndefined(y)||y===null)&&s.call(t,y,c.isString(S)?S.trim():S,l,h))===!0&&w(y,l?l.concat(S):[S])}),u.pop()}}if(!c.isObject(e))throw new TypeError("data must be an object");return w(e),t}function Ue(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Te(e,t){this._pairs=[],e&&oe(e,this,t)}const yt=Te.prototype;yt.append=function(t,n){this._pairs.push([t,n])};yt.toString=function(t){const n=t?function(r){return t.call(this,r,Ue)}:Ue;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function cr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function wt(e,t,n){if(!t)return e;const r=n&&n.encode||cr,s=n&&n.serialize;let i;if(s?i=s(t,n):i=c.isURLSearchParams(t)?t.toString():new Te(t,n).toString(r),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class ze{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){c.forEach(this.handlers,function(r){r!==null&&t(r)})}}const bt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ur=typeof URLSearchParams<"u"?URLSearchParams:Te,lr=typeof FormData<"u"?FormData:null,dr=typeof Blob<"u"?Blob:null,fr={isBrowser:!0,classes:{URLSearchParams:ur,FormData:lr,Blob:dr},protocols:["http","https","file","blob","url","data"]},vt=typeof window<"u"&&typeof document<"u",mr=(e=>vt&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),pr=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",hr=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:vt,hasStandardBrowserEnv:mr,hasStandardBrowserWebWorkerEnv:pr},Symbol.toStringTag,{value:"Module"})),k={...hr,...fr};function Er(e,t){return oe(e,new k.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,i){return k.isNode&&c.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function gr(e){return c.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function yr(e){const t={},n=Object.keys(e);let r;const s=n.length;let i;for(r=0;r<s;r++)i=n[r],t[i]=e[i];return t}function St(e){function t(n,r,s,i){let o=n[i++];if(o==="__proto__")return!0;const d=Number.isFinite(+o),m=i>=n.length;return o=!o&&c.isArray(s)?s.length:o,m?(c.hasOwnProp(s,o)?s[o]=[s[o],r]:s[o]=r,!d):((!s[o]||!c.isObject(s[o]))&&(s[o]=[]),t(n,r,s[o],i)&&c.isArray(s[o])&&(s[o]=yr(s[o])),!d)}if(c.isFormData(e)&&c.isFunction(e.entries)){const n={};return c.forEachEntry(e,(r,s)=>{t(gr(r),s,n,0)}),n}return null}function wr(e,t,n){if(c.isString(e))try{return(t||JSON.parse)(e),c.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Re={transitional:bt,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=c.isObject(t);if(i&&c.isHTMLForm(t)&&(t=new FormData(t)),c.isFormData(t))return s&&s?JSON.stringify(St(t)):t;if(c.isArrayBuffer(t)||c.isBuffer(t)||c.isStream(t)||c.isFile(t)||c.isBlob(t))return t;if(c.isArrayBufferView(t))return t.buffer;if(c.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let d;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Er(t,this.formSerializer).toString();if((d=c.isFileList(t))||r.indexOf("multipart/form-data")>-1){const m=this.env&&this.env.FormData;return oe(d?{"files[]":t}:t,m&&new m,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),wr(t)):t}],transformResponse:[function(t){const n=this.transitional||Re.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&c.isString(t)&&(r&&!this.responseType||s)){const o=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(d){if(o)throw d.name==="SyntaxError"?g.from(d,g.ERR_BAD_RESPONSE,this,null,this.response):d}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:k.classes.FormData,Blob:k.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};c.forEach(["delete","get","head","post","put","patch"],e=>{Re.headers[e]={}});const Oe=Re,br=c.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"]),vr=e=>{const t={};let n,r,s;return e&&e.split(`
`).forEach(function(o){s=o.indexOf(":"),n=o.substring(0,s).trim().toLowerCase(),r=o.substring(s+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},je=Symbol("internals");function H(e){return e&&String(e).trim().toLowerCase()}function Y(e){return e===!1||e==null?e:c.isArray(e)?e.map(Y):String(e)}function Sr(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 _r=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ce(e,t,n,r,s){if(c.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!c.isString(t)){if(c.isString(r))return t.indexOf(r)!==-1;if(c.isRegExp(r))return r.test(t)}}function Ar(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Tr(e,t){const n=c.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,i,o){return this[r].call(this,t,s,i,o)},configurable:!0})})}class ie{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function i(d,m,E){const f=H(m);if(!f)throw new Error("header name must be a non-empty string");const u=c.findKey(s,f);(!u||s[u]===void 0||E===!0||E===void 0&&s[u]!==!1)&&(s[u||m]=Y(d))}const o=(d,m)=>c.forEach(d,(E,f)=>i(E,f,m));return c.isPlainObject(t)||t instanceof this.constructor?o(t,n):c.isString(t)&&(t=t.trim())&&!_r(t)?o(vr(t),n):t!=null&&i(n,t,r),this}get(t,n){if(t=H(t),t){const r=c.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return Sr(s);if(c.isFunction(n))return n.call(this,s,r);if(c.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=H(t),t){const r=c.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 s=!1;function i(o){if(o=H(o),o){const d=c.findKey(r,o);d&&(!n||ce(r,r[d],d,n))&&(delete r[d],s=!0)}}return c.isArray(t)?t.forEach(i):i(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const i=n[r];(!t||ce(this,this[i],i,t,!0))&&(delete this[i],s=!0)}return s}normalize(t){const n=this,r={};return c.forEach(this,(s,i)=>{const o=c.findKey(r,i);if(o){n[o]=Y(s),delete n[i];return}const d=t?Ar(i):String(i).trim();d!==i&&delete n[i],n[d]=Y(s),r[d]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return c.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&c.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(s=>r.set(s)),r}static accessor(t){const r=(this[je]=this[je]={accessors:{}}).accessors,s=this.prototype;function i(o){const d=H(o);r[d]||(Tr(s,o),r[d]=!0)}return c.isArray(t)?t.forEach(i):i(t),this}}ie.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);c.reduceDescriptors(ie.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});c.freezeMethods(ie);const N=ie;function ue(e,t){const n=this||Oe,r=t||n,s=N.from(r.headers);let i=r.data;return c.forEach(e,function(d){i=d.call(n,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}function _t(e){return!!(e&&e.__CANCEL__)}function W(e,t,n){g.call(this,e??"canceled",g.ERR_CANCELED,t,n),this.name="CanceledError"}c.inherits(W,g,{__CANCEL__:!0});function Rr(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))}const Or=k.hasStandardBrowserEnv?{write(e,t,n,r,s,i){const o=[e+"="+encodeURIComponent(t)];c.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),c.isString(r)&&o.push("path="+r),c.isString(s)&&o.push("domain="+s),i===!0&&o.push("secure"),document.cookie=o.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 Cr(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function kr(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function At(e,t){return e&&!Cr(t)?kr(e,t):t}const Pr=k.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(i){let o=i;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{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=s(window.location.href),function(o){const d=c.isString(o)?s(o):o;return d.protocol===r.protocol&&d.host===r.host}}():function(){return function(){return!0}}();function xr(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Dr(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,i=0,o;return t=t!==void 0?t:1e3,function(m){const E=Date.now(),f=r[i];o||(o=E),n[s]=m,r[s]=E;let u=i,h=0;for(;u!==s;)h+=n[u++],u=u%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),E-o<t)return;const w=f&&E-f;return w?Math.round(h*1e3/w):void 0}}function He(e,t){let n=0;const r=Dr(50,250);return s=>{const i=s.loaded,o=s.lengthComputable?s.total:void 0,d=i-n,m=r(d),E=i<=o;n=i;const f={loaded:i,total:o,progress:o?i/o:void 0,bytes:d,rate:m||void 0,estimated:m&&o&&E?(o-i)/m:void 0,event:s};f[t?"download":"upload"]=!0,e(f)}}const Nr=typeof XMLHttpRequest<"u",Br=Nr&&function(e){return new Promise(function(n,r){let s=e.data;const i=N.from(e.headers).normalize();let{responseType:o,withXSRFToken:d}=e,m;function E(){e.cancelToken&&e.cancelToken.unsubscribe(m),e.signal&&e.signal.removeEventListener("abort",m)}let f;if(c.isFormData(s)){if(k.hasStandardBrowserEnv||k.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((f=i.getContentType())!==!1){const[l,...p]=f?f.split(";").map(y=>y.trim()).filter(Boolean):[];i.setContentType([l||"multipart/form-data",...p].join("; "))}}let u=new XMLHttpRequest;if(e.auth){const l=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(l+":"+p))}const h=At(e.baseURL,e.url);u.open(e.method.toUpperCase(),wt(h,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function w(){if(!u)return;const l=N.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),y={data:!o||o==="text"||o==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:l,config:e,request:u};Rr(function(T){n(T),E()},function(T){r(T),E()},y),u=null}if("onloadend"in u?u.onloadend=w:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(w)},u.onabort=function(){u&&(r(new g("Request aborted",g.ECONNABORTED,e,u)),u=null)},u.onerror=function(){r(new g("Network Error",g.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let p=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const y=e.transitional||bt;e.timeoutErrorMessage&&(p=e.timeoutErrorMessage),r(new g(p,y.clarifyTimeoutError?g.ETIMEDOUT:g.ECONNABORTED,e,u)),u=null},k.hasStandardBrowserEnv&&(d&&c.isFunction(d)&&(d=d(e)),d||d!==!1&&Pr(h))){const l=e.xsrfHeaderName&&e.xsrfCookieName&&Or.read(e.xsrfCookieName);l&&i.set(e.xsrfHeaderName,l)}s===void 0&&i.setContentType(null),"setRequestHeader"in u&&c.forEach(i.toJSON(),function(p,y){u.setRequestHeader(y,p)}),c.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),o&&o!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",He(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",He(e.onUploadProgress)),(e.cancelToken||e.signal)&&(m=l=>{u&&(r(!l||l.type?new W(null,e,u):l),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(m),e.signal&&(e.signal.aborted?m():e.signal.addEventListener("abort",m)));const a=xr(h);if(a&&k.protocols.indexOf(a)===-1){r(new g("Unsupported protocol "+a+":",g.ERR_BAD_REQUEST,e));return}u.send(s||null)})},pe={http:or,xhr:Br};c.forEach(pe,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const qe=e=>`- ${e}`,Lr=e=>c.isFunction(e)||e===null||e===!1,Tt={getAdapter:e=>{e=c.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let i=0;i<t;i++){n=e[i];let o;if(r=n,!Lr(n)&&(r=pe[(o=String(n)).toLowerCase()],r===void 0))throw new g(`Unknown adapter '${o}'`);if(r)break;s[o||"#"+i]=r}if(!r){const i=Object.entries(s).map(([d,m])=>`adapter ${d} `+(m===!1?"is not supported by the environment":"is not available in the build"));let o=t?i.length>1?`since :
`+i.map(qe).join(`
`):" "+qe(i[0]):"as no adapter specified";throw new g("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:pe};function le(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new W(null,e)}function Je(e){return le(e),e.headers=N.from(e.headers),e.data=ue.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Tt.getAdapter(e.adapter||Oe.adapter)(e).then(function(r){return le(e),r.data=ue.call(e,e.transformResponse,r),r.headers=N.from(r.headers),r},function(r){return _t(r)||(le(e),r&&r.response&&(r.response.data=ue.call(e,e.transformResponse,r.response),r.response.headers=N.from(r.response.headers))),Promise.reject(r)})}const We=e=>e instanceof N?e.toJSON():e;function z(e,t){t=t||{};const n={};function r(E,f,u){return c.isPlainObject(E)&&c.isPlainObject(f)?c.merge.call({caseless:u},E,f):c.isPlainObject(f)?c.merge({},f):c.isArray(f)?f.slice():f}function s(E,f,u){if(c.isUndefined(f)){if(!c.isUndefined(E))return r(void 0,E,u)}else return r(E,f,u)}function i(E,f){if(!c.isUndefined(f))return r(void 0,f)}function o(E,f){if(c.isUndefined(f)){if(!c.isUndefined(E))return r(void 0,E)}else return r(void 0,f)}function d(E,f,u){if(u in t)return r(E,f);if(u in e)return r(void 0,E)}const m={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:d,headers:(E,f)=>s(We(E),We(f),!0)};return c.forEach(Object.keys(Object.assign({},e,t)),function(f){const u=m[f]||s,h=u(e[f],t[f],f);c.isUndefined(h)&&u!==d||(n[f]=h)}),n}const Rt="1.6.4",Ce={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ce[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const $e={};Ce.transitional=function(t,n,r){function s(i,o){return"[Axios v"+Rt+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,d)=>{if(t===!1)throw new g(s(o," has been removed"+(n?" in "+n:"")),g.ERR_DEPRECATED);return n&&!$e[o]&&($e[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,d):!0}};function Fr(e,t,n){if(typeof e!="object")throw new g("options must be an object",g.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const i=r[s],o=t[i];if(o){const d=e[i],m=d===void 0||o(d,i,e);if(m!==!0)throw new g("option "+i+" must be "+m,g.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new g("Unknown option "+i,g.ERR_BAD_OPTION)}}const he={assertOptions:Fr,validators:Ce},B=he.validators;class Q{constructor(t){this.defaults=t,this.interceptors={request:new ze,response:new ze}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=z(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&he.assertOptions(r,{silentJSONParsing:B.transitional(B.boolean),forcedJSONParsing:B.transitional(B.boolean),clarifyTimeoutError:B.transitional(B.boolean)},!1),s!=null&&(c.isFunction(s)?n.paramsSerializer={serialize:s}:he.assertOptions(s,{encode:B.function,serialize:B.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&c.merge(i.common,i[n.method]);i&&c.forEach(["delete","get","head","post","put","patch","common"],a=>{delete i[a]}),n.headers=N.concat(o,i);const d=[];let m=!0;this.interceptors.request.forEach(function(l){typeof l.runWhen=="function"&&l.runWhen(n)===!1||(m=m&&l.synchronous,d.unshift(l.fulfilled,l.rejected))});const E=[];this.interceptors.response.forEach(function(l){E.push(l.fulfilled,l.rejected)});let f,u=0,h;if(!m){const a=[Je.bind(this),void 0];for(a.unshift.apply(a,d),a.push.apply(a,E),h=a.length,f=Promise.resolve(n);u<h;)f=f.then(a[u++],a[u++]);return f}h=d.length;let w=n;for(u=0;u<h;){const a=d[u++],l=d[u++];try{w=a(w)}catch(p){l.call(this,p);break}}try{f=Je.call(this,w)}catch(a){return Promise.reject(a)}for(u=0,h=E.length;u<h;)f=f.then(E[u++],E[u++]);return f}getUri(t){t=z(this.defaults,t);const n=At(t.baseURL,t.url);return wt(n,t.params,t.paramsSerializer)}}c.forEach(["delete","get","head","options"],function(t){Q.prototype[t]=function(n,r){return this.request(z(r||{},{method:t,url:n,data:(r||{}).data}))}});c.forEach(["post","put","patch"],function(t){function n(r){return function(i,o,d){return this.request(z(d||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}Q.prototype[t]=n(),Q.prototype[t+"Form"]=n(!0)});const Z=Q;class ke{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(s=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](s);r._listeners=null}),this.promise.then=s=>{let i;const o=new Promise(d=>{r.subscribe(d),i=d}).then(s);return o.cancel=function(){r.unsubscribe(i)},o},t(function(i,o,d){r.reason||(r.reason=new W(i,o,d),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new ke(function(s){t=s}),cancel:t}}}const Ir=ke;function Vr(e){return function(n){return e.apply(null,n)}}function Mr(e){return c.isObject(e)&&e.isAxiosError===!0}const Ee={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ee).forEach(([e,t])=>{Ee[t]=e});const Ur=Ee;function Ot(e){const t=new Z(e),n=at(Z.prototype.request,t);return c.extend(n,Z.prototype,t,{allOwnKeys:!0}),c.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Ot(z(e,s))},n}const A=Ot(Oe);A.Axios=Z;A.CanceledError=W;A.CancelToken=Ir;A.isCancel=_t;A.VERSION=Rt;A.toFormData=oe;A.AxiosError=g;A.Cancel=A.CanceledError;A.all=function(t){return Promise.all(t)};A.spread=Vr;A.isAxiosError=Mr;A.mergeConfig=z;A.AxiosHeaders=N;A.formToJSON=e=>St(c.isHTMLForm(e)?new FormData(e):e);A.getAdapter=Tt.getAdapter;A.HttpStatusCode=Ur;A.default=A;function Ge(){xe().logout(),location.reload()}function zr(){const e=A.create();return e.interceptors.request.use(t=>t,t=>Promise.reject(t)),e.interceptors.response.use(t=>{var i;const n=t.data,r=(i=t.request)==null?void 0:i.responseType;if(r==="blob"||r==="arraybuffer")return n;const s=n.code;if(s===void 0)return K.error("非本系统的接口"),Promise.reject(new Error("非本系统的接口"));switch(s){case 0:return n;case 401:return Ge();default:return K.error(n.message||"Error"),Promise.reject(new Error("Error"))}},t=>{switch(Wt(t,"response.status")){case 400:t.message="请求错误";break;case 401:Ge();break;case 403:t.message="拒绝访问";break;case 404:t.message="请求地址出错";break;case 408:t.message="请求超时";break;case 500:t.message="服务器内部错误";break;case 501:t.message="服务未实现";break;case 502:t.message="网关错误";break;case 503:t.message="服务不可用";break;case 504:t.message="网关超时";break;case 505:t.message="HTTP 版本不受支持";break}return K.error(t.message),Promise.reject(t)}),e}function jr(e){return function(t){const n=_e(),r={headers:{Authorization:n?`Bearer ${n}`:void 0,"Content-Type":"application/json"},timeout:5e3,baseURL:"https://www.fastmock.site/mock/761e2dda2b8890ab86c928a74e8f6538/api/v1",data:{}},s=$t(r,t);return e(s)}}const Hr=zr(),Pe=jr(Hr);function Ss(){return Pe({url:"login/code",method:"get"})}function qr(e){return Pe({url:"users/login",method:"post",data:e})}function Jr(){return Pe({url:"users/info",method:"get"})}const Wr=ee("user",()=>{const e=P(_e()||""),t=P([]),n=P(""),r=st(),s=it(),i=ot(),o=w=>{t.value=w},d=async({username:w,password:a,code:l})=>{const{data:p}=await qr({username:w,password:a,code:l});Le(p.token),e.value=p.token},m=async()=>{var a;const{data:w}=await Jr();n.value=w.username,t.value=((a=w.roles)==null?void 0:a.length)>0?w.roles:tt.defaultRoles},E=async w=>{const a="token-"+w;e.value=a,Le(a),await m(),r.setRoutes(t.value),Be(),r.dynamicRoutes.forEach(l=>{D.addRoute(l)}),h()},f=()=>{Fe(),e.value="",t.value=[],Be(),h()},u=()=>{Fe(),e.value="",t.value=[]},h=()=>{i.cacheTagsView||(s.delAllVisitedViews(),s.delAllCachedViews())};return{token:e,roles:t,username:n,setRoles:o,login:d,getInfo:m,changeRoles:E,logout:f,resetToken:u}});function xe(){return Wr(te)}function $r(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(s){s(n)}),(r=e.get("*"))&&r.slice().map(function(s){s(t,n)})}}}const ge=$r(),ye=Symbol("ROUTE_CHANGE");let we;const Gr=e=>{ge.emit(ye,e),we=e};function _s(){const e=[],t=(r,s=!1)=>{e.push(r),ge.on(ye,r),s&&we&&r(we)},n=r=>{ge.off(ye,r)};return Ut(()=>{for(let r=0;r<e.length;r++)n(e[r])}),{listenerRouteChange:t,removeRouteListener:n}}const Ke="V3 Admin Vite",Ct=P(""),Kr=e=>{Ct.value=e?`${Ke} | ${e}`:Ke};Qe(Ct,(e,t)=>{document&&e!==t&&(document.title=e)});function Xr(){return{setTitle:Kr}}const Yr=()=>{const e=_n();e.cachedViews=[...e.cachedViews]},Zr=["/login"],Qr=[],es=e=>Zr.indexOf(e.path)!==-1||Qr.indexOf(e.name)!==-1;var kt={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Gt,function(){var n={};n.version="0.2.0";var r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};n.configure=function(a){var l,p;for(l in a)p=a[l],p!==void 0&&a.hasOwnProperty(l)&&(r[l]=p);return this},n.status=null,n.set=function(a){var l=n.isStarted();a=s(a,r.minimum,1),n.status=a===1?null:a;var p=n.render(!l),y=p.querySelector(r.barSelector),S=r.speed,T=r.easing;return p.offsetWidth,d(function(b){r.positionUsing===""&&(r.positionUsing=n.getPositioningCSS()),m(y,o(a,S,T)),a===1?(m(p,{transition:"none",opacity:1}),p.offsetWidth,setTimeout(function(){m(p,{transition:"all "+S+"ms linear",opacity:0}),setTimeout(function(){n.remove(),b()},S)},S)):setTimeout(b,S)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var a=function(){setTimeout(function(){n.status&&(n.trickle(),a())},r.trickleSpeed)};return r.trickle&&a(),this},n.done=function(a){return!a&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(a){var l=n.status;return l?(typeof a!="number"&&(a=(1-l)*s(Math.random()*l,.1,.95)),l=s(l+a,0,.994),n.set(l)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},function(){var a=0,l=0;n.promise=function(p){return!p||p.state()==="resolved"?this:(l===0&&n.start(),a++,l++,p.always(function(){l--,l===0?(a=0,n.done()):n.set((a-l)/a)}),this)}}(),n.render=function(a){if(n.isRendered())return document.getElementById("nprogress");f(document.documentElement,"nprogress-busy");var l=document.createElement("div");l.id="nprogress",l.innerHTML=r.template;var p=l.querySelector(r.barSelector),y=a?"-100":i(n.status||0),S=document.querySelector(r.parent),T;return m(p,{transition:"all 0 linear",transform:"translate3d("+y+"%,0,0)"}),r.showSpinner||(T=l.querySelector(r.spinnerSelector),T&&w(T)),S!=document.body&&f(S,"nprogress-custom-parent"),S.appendChild(l),l},n.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(r.parent),"nprogress-custom-parent");var a=document.getElementById("nprogress");a&&w(a)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var a=document.body.style,l="WebkitTransform"in a?"Webkit":"MozTransform"in a?"Moz":"msTransform"in a?"ms":"OTransform"in a?"O":"";return l+"Perspective"in a?"translate3d":l+"Transform"in a?"translate":"margin"};function s(a,l,p){return a<l?l:a>p?p:a}function i(a){return(-1+a)*100}function o(a,l,p){var y;return r.positionUsing==="translate3d"?y={transform:"translate3d("+i(a)+"%,0,0)"}:r.positionUsing==="translate"?y={transform:"translate("+i(a)+"%,0)"}:y={"margin-left":i(a)+"%"},y.transition="all "+l+"ms "+p,y}var d=function(){var a=[];function l(){var p=a.shift();p&&p(l)}return function(p){a.push(p),a.length==1&&l()}}(),m=function(){var a=["Webkit","O","Moz","ms"],l={};function p(b){return b.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(O,C){return C.toUpperCase()})}function y(b){var O=document.body.style;if(b in O)return b;for(var C=a.length,V=b.charAt(0).toUpperCase()+b.slice(1),L;C--;)if(L=a[C]+V,L in O)return L;return b}function S(b){return b=p(b),l[b]||(l[b]=y(b))}function T(b,O,C){O=S(O),b.style[O]=C}return function(b,O){var C=arguments,V,L;if(C.length==2)for(V in O)L=O[V],L!==void 0&&O.hasOwnProperty(V)&&T(b,V,L);else T(b,C[1],C[2])}}();function E(a,l){var p=typeof a=="string"?a:h(a);return p.indexOf(" "+l+" ")>=0}function f(a,l){var p=h(a),y=p+l;E(p,l)||(a.className=y.substring(1))}function u(a,l){var p=h(a),y;E(a,l)&&(y=p.replace(" "+l+" "," "),a.className=y.substring(1,y.length-1))}function h(a){return(" "+(a.className||"")+" ").replace(/\s+/gi," ")}function w(a){a&&a.parentNode&&a.parentNode.removeChild(a)}return n})})(kt);var ts=kt.exports;const U=Kt(ts),{setTitle:ns}=Xr();U.configure({showSpinner:!1});D.beforeEach(async(e,t,n)=>{Yr(),U.start();const r=xe(),s=bn();if(!_e()){es(e)?n():(U.done(),n("/login"));return}if(e.path==="/login")return U.done(),n({path:"/"});if(r.roles.length!==0)return n();try{if(tt.async){await r.getInfo();const o=r.roles;s.setRoutes(o)}s.dynamicRoutes.forEach(o=>D.addRoute(o)),n({...e,replace:!0})}catch(o){r.resetToken(),K.error(o.message||"路由守卫过程发生错误"),U.done(),n("/login")}});D.afterEach(e=>{Gr(e),ns(e.meta.title),U.done()});const rs={class:"svg-icon","aria-hidden":"true"},ss=["href"],os=Ye({__name:"index",props:{prefix:{default:"icon"},name:{}},setup(e){const t=e,n=zt(()=>`#${t.prefix}-${t.name}`);return(r,s)=>(Ze(),jt("svg",rs,[Ht("use",{href:n.value},null,8,ss)]))}}),is=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},as=is(os,[["__scopeId","data-v-ce51d543"]]);if(typeof window<"u"){let e=function(){var t=document.body,n=document.getElementById("__svg__icons__dom__");n||(n=document.createElementNS("http://www.w3.org/2000/svg","svg"),n.style.position="absolute",n.style.width="0",n.style.height="0",n.id="__svg__icons__dom__",n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),n.innerHTML='<symbol class="icon" viewBox="0 0 1024 1024" id="icon-404"><path d="M464 720a48 48 0 1 0 96 0 48 48 0 1 0-96 0ZM480 416v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8z" /><path d="m955.7 856-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-bug"><path d="M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 34.8-28.2 63-63 63H232c-34.8 0-63-28.2-63-63 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7 6 17.2 13.6 33.6 22.7 49 24.3 41.5 59 76.2 100.5 100.5S460.5 960 512 960s99.8-13.9 141.3-38.2c41.5-24.3 76.2-59 100.5-100.5 9.1-15.5 16.7-31.9 22.7-49C812.1 793.1 836 831.8 836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM716 680c0 36.8-9.7 72-27.8 102.9-17.7 30.3-43 55.6-73.3 73.3-20.1 11.8-42 20-64.9 24.3V484c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v396.5c-22.9-4.3-44.8-12.5-64.9-24.3-30.3-17.7-55.6-43-73.3-73.3C317.7 752 308 716.8 308 680V412h408v268z" /><path d="M304 280h56c4.4 0 8-3.6 8-8 0-28.3 5.9-53.2 17.1-73.5 10.6-19.4 26-34.8 45.4-45.4C450.9 142 475.7 136 504 136h16c28.3 0 53.2 5.9 73.5 17.1 19.4 10.6 34.8 26 45.4 45.4C650 218.9 656 243.7 656 272c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1-17.2-31.5-42.5-56.8-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9-31.5 17.2-56.8 42.5-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-component"><path d="M64 64h384v384H64V64zm0 512h384v384H64V576zm512 0h384v384H576V576zm192-128c106.039 0 192-85.961 192-192S874.039 64 768 64s-192 85.961-192 192 85.961 192 192 192z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-dashboard"><path d="M924.8 385.6c-22.6-53.4-54.9-101.3-96-142.4-41.1-41.1-89-73.4-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2c-53.4 22.6-101.3 54.9-142.4 96-41.1 41.1-73.4 89-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6C184.5 765.5 140 665.6 140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276z" /><path d="M623.5 421.5c-3.1-3.1-8.2-3.1-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5-21.9 21.9-21.9 57.3 0 79.2 21.9 21.9 57.3 21.9 79.2 0 14.7-14.7 19.5-35.4 14.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2-31.1-31.1c-3.1-3.1-8.2-3.1-11.3 0l-56.6 56.6c-3.1 3.1-3.1 8.2 0 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1c-3.1-3.1-8.2-3.1-11.3 0l-31.1 31.1c-3.1 3.1-3.1 8.2 0 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-fullscreen-exit"><path d="M704 864v-96c0-54.4 41.6-96 96-96h96c19.2 0 32-12.8 32-32s-12.8-32-32-32h-96c-89.6 0-160 70.4-160 160v96c0 19.2 12.8 32 32 32s32-12.8 32-32zm-64-704v96c0 89.6 70.4 160 160 160h96c19.2 0 32-12.8 32-32s-12.8-32-32-32h-96c-54.4 0-96-41.6-96-96v-96c0-19.2-12.8-32-32-32s-32 12.8-32 32zM384 864v-96c0-89.6-70.4-160-160-160h-96c-19.2 0-32 12.8-32 32s12.8 32 32 32h96c54.4 0 96 41.6 96 96v96c0 19.2 12.8 32 32 32s32-12.8 32-32zm-64-704v96c0 54.4-41.6 96-96 96h-96c-19.2 0-32 12.8-32 32s12.8 32 32 32h96c89.6 0 160-70.4 160-160v-96c0-19.2-12.8-32-32-32s-32 12.8-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-fullscreen"><path d="M192 384v-96c0-54.4 41.6-96 96-96h96c19.2 0 32-12.8 32-32s-12.8-32-32-32h-96c-89.6 0-160 70.4-160 160v96c0 19.2 12.8 32 32 32s32-12.8 32-32zm-64 256v96c0 89.6 70.4 160 160 160h96c19.2 0 32-12.8 32-32s-12.8-32-32-32h-96c-54.4 0-96-41.6-96-96v-96c0-19.2-12.8-32-32-32s-32 12.8-32 32zm768-256v-96c0-89.6-70.4-160-160-160h-96c-19.2 0-32 12.8-32 32s12.8 32 32 32h96c54.4 0 96 41.6 96 96v96c0 19.2 12.8 32 32 32s32-12.8 32-32zm-64 256v96c0 54.4-41.6 96-96 96h-96c-19.2 0-32 12.8-32 32s12.8 32 32 32h96c89.6 0 160-70.4 160-160v-96c0-19.2-12.8-32-32-32s-32 12.8-32 32z" /></symbol><symbol aria-label="Arrow down" viewBox="0 0 15 15" id="icon-keyboard-down"><path d="M7.5 3.5v8m3-3-3 3-3-3" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2" /></symbol><symbol aria-label="Enter key" viewBox="0 0 15 15" id="icon-keyboard-enter"><path d="M12 3.53v3c0 1-1 2-2 2H4m3 3-3-3 3-3" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2" /></symbol><symbol aria-label="Escape key" viewBox="0 0 15 15" id="icon-keyboard-esc"><path d="M13.617 8.936c-.107.358-.689.962-1.488.962-.8 0-1.653-.916-1.653-2.126v-.568c0-1.254.79-2.101 1.653-2.101.864 0 1.36.478 1.488 1.072M9 6c-.135-.473-.75-.922-1.46-.897-.71.024-1.344.57-1.344 1.216s.42.882 1.345.98C8.464 7.4 8.967 7.935 9 8.5c.032.566-.454 1.398-1.46 1.398C6.66 9.898 6 9 5.963 8.485m-1.475.537c-.263.594-.81.876-1.544.876s-1.707-.625-1.707-2.204v-.46c0-1.042.72-2.131 1.707-2.131.986 0 1.642 1.03 1.544 2.249H1.532" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2" /></symbol><symbol aria-label="Arrow up" viewBox="0 0 15 15" id="icon-keyboard-up"><path d="M7.5 11.5v-8m3 3-3-3-3 3" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-link"><path d="M574 665.4c-3.1-3.1-8.2-3.1-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8c-3.1-3.1-8.2-3.1-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6c-3.1 3.1-3.1 8.2 0 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6c-3.1 3.1-3.1 8.2 0 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1z" /><path d="M610.1 372.3c-3.1-3.1-8.2-3.1-11.3 0L372.3 598.7c-3.1 3.1-3.1 8.2 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-lock"><path d="M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304z" /><path d="M484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53c12.1-8.7 20-22.9 20-39 0-26.5-21.5-48-48-48s-48 21.5-48 48c0 16.1 7.9 30.3 20 39z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-menu"><path d="M904 158H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 424H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 212H120c-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-424H120c-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-8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-search"><path d="M862.609 816.955 726.44 680.785l-.059-.056a358.907 358.907 0 0 0 56.43-91.927c18.824-44.507 28.369-91.767 28.369-140.467 0-48.701-9.545-95.96-28.369-140.467-18.176-42.973-44.19-81.56-77.319-114.689-33.13-33.129-71.717-59.144-114.69-77.32-44.507-18.825-91.767-28.37-140.467-28.37-48.701 0-95.96 9.545-140.467 28.37-42.973 18.176-81.56 44.19-114.689 77.32-33.13 33.129-59.144 71.717-77.32 114.689-18.825 44.507-28.37 91.767-28.37 140.467 0 48.7 9.545 95.96 28.37 140.467 18.176 42.974 44.19 81.561 77.32 114.69 33.129 33.129 71.717 59.144 114.689 77.319 44.507 18.824 91.767 28.369 140.467 28.369 48.7 0 95.96-9.545 140.467-28.369 32.78-13.864 62.997-32.303 90.197-54.968.063.064.122.132.186.195l136.169 136.17c6.25 6.25 14.438 9.373 22.628 9.373 8.188 0 16.38-3.125 22.627-9.372 12.496-12.496 12.496-32.758 0-45.254zm-412.274-69.466c-79.907 0-155.031-31.118-211.534-87.62-56.503-56.503-87.62-131.627-87.62-211.534s31.117-155.031 87.62-211.534c56.502-56.503 131.626-87.62 211.534-87.62s155.031 31.117 211.534 87.62c56.502 56.502 87.62 131.626 87.62 211.534s-31.118 155.031-87.62 211.534c-56.503 56.502-131.627 87.62-211.534 87.62z" /></symbol><symbol viewBox="0 0 220 220" id="icon-unocss"><path d="M117.444 167.888c0-27.615 22.386-50 50-50s50 22.385 50 50c0 27.614-22.386 50-50 50s-50-22.386-50-50ZM117.444 53c0-27.614 22.386-50 50-50s50 22.386 50 50v45a5 5 0 0 1-5 5h-90a5 5 0 0 1-5-5V53ZM102 167.888c0 27.614-22.386 50-50 50s-50-22.386-50-50v-45a5 5 0 0 1 5-5h90a5 5 0 0 1 5 5v45Z" /></symbol>',t.insertBefore(n,t.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}function cs(e){e.component("SvgIcon",as)}function us(e){e.use(Xt)}function ls(e){for(const[t,n]of Object.entries(Yt))e.component(t,n)}be.use(Zt);be.setup({size:"medium",zIndex:9999,version:0,loadingText:null,table:{showHeader:!0,showOverflow:"tooltip",showHeaderOverflow:"tooltip",autoResize:!0,border:"inner",emptyText:"暂无数据",rowConfig:{isHover:!0,isCurrent:!0},columnConfig:{resizable:!1},align:"center",headerAlign:"center",rowId:"_VXE_ID"},pager:{perfect:!1,pageSize:10,pagerCount:7,pageSizes:[10,20,50],layouts:["Total","PrevJump","PrevPage","Number","NextPage","NextJump","Sizes","FullJump"]},modal:{minWidth:500,minHeight:400,lockView:!0,mask:!0,dblclickZoom:!1,showTitleOverflow:!0,transfer:!0,draggable:!1}});function ds(e){e.use(be)}function fs(e){us(e),ls(e),ds(e)}const ms={mounted(e,t){var s;const{value:n}=t,{roles:r}=xe();if(Array.isArray(n)&&n.length>0)r.some(o=>n.includes(o))||((s=e.parentNode)==null||s.removeChild(e));else throw new Error(`need roles! Like v-permission="['admin','editor']"`)}};function ps(e){e.directive("permission",ms)}const $=qt(pn);fs($);cs($);ps($);$.use(te).use(D);D.isReady().then(()=>{$.mount("#app")});export{is as _,it as a,ot as b,st as c,Wr as d,Ss as e,fn as f,bs as g,Pe as h,xe as i,ws as r,vs as s,_s as u};
function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
__vite__mapDeps.viteFileDeps = ["static/index-hLeb7bUi.js","static/vue-k1SOGvAh.js","static/useWatermark-94gpnue1.js","static/element-ZYmdyXh6.js","static/index.vue_vue_type_script_setup_true_lang-131OZp2H.js","static/vxe-hFHEaiBz.js","static/index-jbaCkYSr.css","static/index-0fcVCWZp.js","static/403-x_3NNcGL.js","static/ErrorPageLayout-8McD4TZK.js","static/ErrorPageLayout-MzgEGPxr.css","static/404-iTCBZFWu.js","static/index-5y4W0NiM.js","static/index-wzvf4Xdj.css","static/index-129PEFiO.js","static/index-eNpFb1fr.css","static/index-1jo8QJgp.js","static/index-4GSFgMIn.js","static/index-8RevaNcz.js","static/index-RCyw3LyW.css","static/index-K3r3K8wT.js","static/index-TswwRxse.js","static/index-A5kuWbk8.css","static/index-xtavDsDD.js","static/index-f3gE8mMO.js","static/index-WegGh_Sj.js","static/index-dIc-ucaO.js","static/index-zfNmzTIn.js","static/index-4H5tkPHd.js","static/use-fetch-select-jtfqItVp.js","static/use-fullscreen-loading-TgDICyiz.js","static/use-watermark-d_Bms3uK.js","static/use-watermark-vMj6GPUV.css","static/page-OOD7QDE3.js","static/SwitchRoles-Olea5dlm.js","static/SwitchRoles-NLnFn-tk.css","static/page-Tq1n9aA7.css","static/directive-p-53Up-g.js","static/directive-2HmODsST.css"]
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}