import{dase,bast,casa,easl}from"./user-2465fc90.js";import{gasn,sasr}from"./useTheme-9ad5389f.js";import{aqaso,asass,xasi,jasc,awasu,akasd,masp,uasm,b2asf,kash,aSasv,ayasg,aZasb,auasw,Fasy,aKas_,aiask,nasx,tasC,lasE,aoasV,alasS,avasA,rasT,a4asF,adasI,b4asP,a6asM,Iasj,a8asR,a9asz}from"./runtime-core.esm-bundler-a7a78763.js";import{TasD,nasO,byasL,bzasq,bsasN,bAasB,bBasH,aCasU,aDasX,mas$,aFasW,fasG,bCasY}from"./index-b0f8ea9a.js";import{uasZ,basJ}from"./vue-router-fe54465b.js";import{_asK}from"./_plugin-vue_export-helper-1b428a4d.js";import{_asQ}from"./index.vue_vue_type_script_setup_true_lang-ea1e958f.js";import{Easee}from"./dayjs.min-6eba062a.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=s(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,se=!0,ie=!0,ce=!0,ue=!1,de=!1,pe=e("settings",(()=>({fixedHeader:s(re),showSettings:s(le),showTagsView:s(ne),showSidebarLogo:s(oe),showNotify:s(se),showThemeSwitch:s(ie),showScreenfull:s(ce),showGreyMode:s(ue),showColorWeakness:s(de)}))),me={class:"app-main"},fe=K(i({__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[s=a+1])thrownewTypeError('Pattern cannot start with "?" at '.concat(s));for(;s<e.length;)if("\\"!==e[s]){if(")"===e[s]){if(0==--n){s++;break}}elseif("("===e[s]&&(n++,"?"!==e[s+1]))thrownewTypeError("Capturing groups are not allowed at ".concat(s));r+=e[s++]}elser+=e[s++]+e[s++];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=s}else{for(varo="",s=a+1;s<e.length;){vari=e.charCodeAt(s);if(!(i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||95===i))break;o+=e[s++]}if(!o)thrownewTypeError("Missing parameter name at ".concat(a));t.push({type:"NAME",index:a,value:o}),a=s}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=[],s=0,i=0,c="",u=function(e){if(i<a.length&&a[i].type===e)returna[i++].value},d=function(e){vart=u(e);if(void0!==t)returnt;varl=a[i],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};i<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||s++,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?s++:""),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,s=e.map((func