import{dase,bast,casa,easl}from"./user-58839eb1.js";import{gasn,sasr}from"./useTheme-51381cb0.js";import{aqaso,asasi,xass,jasc,awasu,akasd,masp,uasm,b2asf,kash,aSasv,ayasg,aZasb,auasw,Fasy,aKas_,aiask,nasx,tasC,lasE,aoasV,alasS,avasA,rasT,a4asI,adasF,b4asP,a6asM,Iasj,a8asR,a9asz}from"./runtime-core.esm-bundler-1857aef3.js";import{TasD,nasO,byasL,bzasq,btasN,bAasB,bBasH,aDasU,aEasX,mas$,aGasW,fasG,bCasY}from"./index-98eefc51.js";import{uasZ,basJ}from"./vue-router-5ddbd26f.js";import{_asK}from"./_plugin-vue_export-helper-1b428a4d.js";import{_asQ}from"./index.vue_vue_type_script_setup_true_lang-9f4b5237.js";import{Easee}from"./dayjs.min-0c3c7af8.js";import"./error-c58402b8.js";varte=(e=>(e[e.Mobile=0]="Mobile",e[e.Desktop=1]="Desktop",e))(te||{});constae=e("app",(()=>{conste=o({opened:"closed"!==n(),withoutAnimation:!1}),t=i(1);return{device:t,sidebar:e,toggleSidebar:t=>{e.opened=!e.opened,e.withoutAnimation=t,e.opened?r("opened"):r("closed")},closeSidebar:t=>{e.opened=!1,e.withoutAnimation=t,r("closed")},toggleDevice:e=>{t.value=e}}})),le=!0,ne=!0,re=!0,oe=!0,ie=!0,se=!0,ce=!0,ue=!1,de=!1,pe=e("settings",(()=>({fixedHeader:i(re),showSettings:i(le),showTagsView:i(ne),showSidebarLogo:i(oe),showNotify:i(ie),showThemeSwitch:i(se),showScreenfull:i(ce),showGreyMode:i(ue),showColorWeakness:i(de)}))),me={class:"app-main"},fe=K(s({__name:"AppMain",setup(e){constt=Z(),a=c((()=>t.path));return(e,t)=>{constl=u("router-view");returnd(),p("section",me,[m(l,null,{default:f((({Component:e})=>[m(D,{name:"fade-transform",mode:"out-in"},{default:f((()=>[(d(),h(g(e),{key:v(a)}))])),_:2},1024)])),_:1})])}}}),[["__scopeId","data-v-bcc67543"]]);functionhe(e,t){void0===t&&(t={});for(vara=function(e){for(vart=[],a=0;a<e.length;){varl=e[a];if("*"!==l&&"+"!==l&&"?"!==l)if("\\"!==l)if("{"!==l)if("}"!==l)if(":"!==l)if("("!==l)t.push({type:"CHAR",index:a,value:e[a++]});else{varn=1,r="";if("?"===e[i=a+1])thrownewTypeError('Pattern cannot start with "?" at '.concat(i));for(;i<e.length;)if("\\"!==e[i]){if(")"===e[i]){if(0==--n){i++;break}}elseif("("===e[i]&&(n++,"?"!==e[i+1]))thrownewTypeError("Capturing groups are not allowed at ".concat(i));r+=e[i++]}elser+=e[i++]+e[i++];if(n)thrownewTypeError("Unbalanced pattern at ".concat(a));if(!r)thrownewTypeError("Missing pattern at ".concat(a));t.push({type:"PATTERN",index:a,value:r}),a=i}else{for(varo="",i=a+1;i<e.length;){vars=e.charCodeAt(i);if(!(s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||95===s))break;o+=e[i++]}if(!o)thrownewTypeError("Missing parameter name at ".concat(a));t.push({type:"NAME",index:a,value:o}),a=i}elset.push({type:"CLOSE",index:a,value:e[a++]});elset.push({type:"OPEN",index:a,value:e[a++]});elset.push({type:"ESCAPED_CHAR",index:a++,value:e[a++]});elset.push({type:"MODIFIER",index:a,value:e[a++]})}returnt.push({type:"END",index:a,value:""}),t}(e),l=t.prefixes,n=void0===l?"./":l,r="[^".concat(function(e){returne.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}(t.delimiter||"/#?"),"]+?"),o=[],i=0,s=0,c="",u=function(e){if(s<a.length&&a[s].type===e)returna[s++].value},d=function(e){vart=u(e);if(void0!==t)returnt;varl=a[s],n=l.type,r=l.index;thrownewTypeError("Unexpected ".concat(n," at ").concat(r,", expected ").concat(e))},p=function(){for(vare,t="";e=u("CHAR")||u("ESCAPED_CHAR");)t+=e;returnt};s<a.length;){varm=u("CHAR"),f=u("NAME"),h=u("PATTERN");if(f||h){varv=m||"";-1===n.indexOf(v)&&(c+=v,v=""),c&&(o.push(c),c=""),o.push({name:f||i++,prefix:v,suffix:"",pattern:h||r,modifier:u("MODIFIER")||""})}else{varg=m||u("ESCAPED_CHAR");if(g)c+=g;elseif(c&&(o.push(c),c=""),u("OPEN")){v=p();varb=u("NAME")||"",w=u("PATTERN")||"",y=p();d("CLOSE"),o.push({name:b||(w?i++:""),pattern:b&&!w?r:w,prefix:v,suffix:y,modifier:u("MODIFIER")||""})}elsed("END")}}returno}functionve(e,t){returnfunction(e,t){void0===t&&(t={});vara=function(e){returne&&e.sensitive?"":"i"}(t),l=t.encode,n=void0===l?function(e){returne}:l,r=t.validate,o=void0===r||r,i=e.map((func