1
0
mirror of https://github.com/ZeroCatDev/Classworks.git synced 2026-03-21 09:13:10 +00:00
Classworks/assets/index-_6IQhlPZ.js

3 lines
129 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./default-D6yehFKo.js","./vendor-vuetify-ChAgIwn2.js","./vendor-vue-H0jQBZ7T.js","./default-CmdaPMSp.css","./index-D3RRUIYd.js","./dataProvider-BwUtbSl1.js","./vendor-utils-DDRLRfsI.js","./serverRotation-BGVL0kta.js","./VChip-Veb3ShEh.js","./VChip-Dmz_1Lnv.css","./VContainer-Bg8RevuO.js","./VContainer-B1KSavhG.css","./socketClient-Cb2FghxN.js","./vendor-socket-CyTcV1HU.js","./deviceEvents-BnDFIf8a.js","./VAppBarTitle-Cvegbk0-.js","./VAppBarTitle-CczdD-Q2.css","./VRow-WkEz3xRr.js","./VRow-D2ArqUC2.css","./VAlert-D9G_9owC.js","./VAlert-D_OX1cfW.css","./VTooltip-C2Bprg_f.js","./VTooltip-DNuxJ6UK.css","./index-BqspaPWT.css","./404-BVft3pyR.js","./authorize-TN65-hp6.js","./CacheManagement-CrSS2Bn6.js","./VExpansionPanels-rcXmB3Pp.js","./VExpansionPanels-kEj4ZJQK.css","./VSkeletonLoader-CfCoJRep.js","./VSkeletonLoader-C11ZEozu.css","./cses2wakeup-DdLKal26.js","./VTabsWindowItem-DL2r3YhT.js","./VPagination-BiSMksGW.js","./VPagination-BF2MZmld.css","./VSelect-ANRyd3L-.js","./autofocus-BrMOVHY_.js","./autofocus-D1VSzmed.css","./VTextField-CuXGbmmC.js","./VSheet-U4CNWLuy.js","./VSheet-DxsDksIw.css","./VCheckboxBtn-DCkgbmVP.js","./VSwitch-CdpUb5tZ.js","./VSwitch-C87GkfUP.css","./VSelect-DHZViySU.css","./VTabsWindowItem-BWevsoWc.css","./VTextarea-CCCqy4pz.js","./VTextarea-_xVwaw_z.css","./VBadge-VwKD9DDf.js","./VBadge-BGqjJnM0.css","./VCheckbox-DhU7h1Z3.js","./VCheckbox-ZL-u1kGB.css","./cses2wakeup-BDtPgT2c.css","./debug-C-AM0tAt.js","./visitorId-ZHgZAIad.js","./debug-CbS14biG.css","./debug-init-CvHSowFZ.js","./VForm-Cskwow1F.js","./debug-socket-DTbWHWof.js","./_id_-6njfvvg5.js","./ExamConfigEditor-DzELjE-Y.js","./VAutocomplete-lO4hforf.js","./VAutocomplete-Ygy_KjMW.css","./VDatePicker-cLZU-Ed4.js","./VDatePicker-X4Ryb5EN.css","./ExamConfigEditor-DV8lOLSp.css","./examschedule-BWseMFw9.js","./examschedule-CU_Gxm4i.css","./index-Br7ywFJ9.js","./_id_-BRXvajnS.js","./settings-Bd7S8les.js","./MessageLog-DNZPN4Qf.js","./MessageLog-BGkFwivK.css","./soundList-BZnE47k0.js","./VCombobox-D6SxB9Ke.js","./VCombobox-r6cc1Iy_.css","./settings-cNI4NbxC.css","./socket-debugger-BnRHovO7.js","./socket-debugger-ykBk0O32.css","./sentry-CLY2_6wB.js","./vendor-sentry-B9EwL1LR.js"])))=>i.map(i=>d[i]);
import{c as yi,g as We,p as T,d as yn,i as Wn,a as hi,b as bi,e as Si,f as G,h as ye,j as $t,u as J,m as fe,k as ee,l as xe,n as Pe,o as Ye,w as hn,q as pi,r as wi,s as B,t as ha,v as ki,x as Ci,I as le,S as bn,y as ba,P as Vt,z as Ze,A as Dt,B as en,C as ht,D as qn,E as Ae,F as tn,G as _i,H as xi,J as jt,K as Sa,L as Lt,M as Ii,N as jn,O as Hn,Q as Ht,R as Gt,T as pa,U as Gn,V as Pi,W as Ai,X as Un,Y as Ei,Z as Vi,_ as Li,$ as xt,a0 as Ti,a1 as Oi,a2 as wa,a3 as Bi,a4 as Me,a5 as at,a6 as nn,a7 as Ri,a8 as Ni,a9 as $i,aa as Sn,ab as Kn,ac as Xn,ad as Di,ae as Mi,af as Fi,ag as ft,ah as an,ai as ke,aj as ka,ak as zi,al as Wi,am as qi}from"./vendor-vuetify-ChAgIwn2.js";import{J as ji,K as Hi,L as Gi,e as _,t as k,M as sn,l as se,k as P,n as H,F as Be,j as b,N as Q,E as pn,p as qe,d as Ee,A as je,o as W,D as it,O as Ui,r as vt,u as Ki,m as Y,y as Xi,T as Yi,s as z,q as ve,b as q,w as Re,P as Ne,Q as Ca,I as ce,R as ze,S as Ce,v as _a,x as ae,B as xa,U as wn,h as kn,V as Cn,W as Ji,X as Ie,Y as Fe,Z as ie,f as Qi,_ as Ia,$ as ln,a0 as _n,a1 as Ct,a2 as Zi,a3 as es,a4 as ts}from"./vendor-vue-H0jQBZ7T.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))a(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&a(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function a(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();const ns="modulepreload",as=function(e,t){return new URL(e,t).href},Yn={},ne=function(t,n,a){let i=Promise.resolve();if(n&&n.length>0){const l=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),r=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.allSettled(n.map(u=>{if(u=as(u,a),u in Yn)return;Yn[u]=!0;const c=u.endsWith(".css"),m=c?'[rel="stylesheet"]':"";if(!!a)for(let y=l.length-1;y>=0;y--){const f=l[y];if(f.href===u&&(!c||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${m}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":ns,c||(d.as="script"),d.crossOrigin="",d.href=u,r&&d.setAttribute("nonce",r),document.head.appendChild(d),c)return new Promise((y,f)=>{d.addEventListener("load",y),d.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${u}`)))})}))}function s(l){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=l,window.dispatchEvent(o),!o.defaultPrevented)throw l}return i.then(l=>{for(const o of l||[])o.status==="rejected"&&s(o.reason);return t().catch(s)})},is=yi({theme:{defaultTheme:"dark"}}),ss=ji(),ls=e=>{const t={};Object.entries(Object.assign({"/src/layouts/default.vue":()=>ne(()=>import("./default-D6yehFKo.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)})).forEach(([i,s])=>{let l=i.replace("/src/layouts/","").replace(".vue","");t[l]=s});function a(i,s=!0){return i.map(l=>{var o,r,u,c,m,v;if(((o=l.children)==null?void 0:o.length)>0&&(l.children=a(l.children,!1)),s){if(!l.component&&((r=l.children)==null?void 0:r.find(y=>{var f;return(y.path===""||y.path==="/")&&((f=y.meta)==null?void 0:f.isLayout)})))return l;if(((u=l.meta)==null?void 0:u.layout)!==!1)return{path:l.path,component:t[((c=l.meta)==null?void 0:c.layout)||"default"],children:l.path==="/"?[l]:[{...l,path:""}],meta:{isLayout:!0}}}return(m=l.meta)!=null&&m.layout?{path:l.path,component:t[(v=l.meta)==null?void 0:v.layout],children:[{...l,path:""}],meta:{isLayout:!0}}:l})}return a(e)},os=[{path:"/",name:"/",component:()=>ne(()=>import("./index-D3RRUIYd.js").then(e=>e.i),__vite__mapDeps([4,2,5,6,7,8,1,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23]),import.meta.url)},{path:"/404",name:"/404",component:()=>ne(()=>import("./404-BVft3pyR.js"),__vite__mapDeps([24,17,1,2,18,10,11]),import.meta.url)},{path:"/authorize",name:"/authorize",component:()=>ne(()=>import("./authorize-TN65-hp6.js"),__vite__mapDeps([25,2,17,1,18,10,11]),import.meta.url)},{path:"/CacheManagement",name:"/CacheManagement",component:()=>ne(()=>import("./CacheManagement-CrSS2Bn6.js"),__vite__mapDeps([26,19,1,2,20,27,28,8,9,29,30,17,18,10,11]),import.meta.url)},{path:"/cses2wakeup",name:"/cses2wakeup",component:()=>ne(()=>import("./cses2wakeup-DdLKal26.js"),__vite__mapDeps([31,17,1,2,18,19,20,32,33,34,35,36,37,38,39,40,41,42,43,8,9,44,45,21,22,46,47,48,49,29,30,50,51,10,11,52]),import.meta.url)},{path:"/debug",name:"/debug",component:()=>ne(()=>import("./debug-C-AM0tAt.js"),__vite__mapDeps([53,54,1,2,10,11,55]),import.meta.url)},{path:"/debug-init",name:"/debug-init",component:()=>ne(()=>import("./debug-init-CvHSowFZ.js"),__vite__mapDeps([56,5,6,7,17,1,2,18,57,36,37,38,10,11]),import.meta.url)},{path:"/debug-socket",name:"/debug-socket",component:()=>ne(()=>import("./debug-socket-DTbWHWof.js"),__vite__mapDeps([58,12,13,7,14,17,1,2,18,8,9,38,36,37,46,47,10,11]),import.meta.url)},{path:"/exam-editor",children:[{path:":id",name:"/exam-editor/[id]",component:()=>ne(()=>import("./_id_-6njfvvg5.js"),__vite__mapDeps([59,60,5,6,7,2,19,1,20,29,30,21,22,8,9,17,18,38,36,37,46,47,42,43,61,35,39,40,41,44,62,63,48,49,64,65,15,16,10,11]),import.meta.url)}]},{path:"/examschedule",name:"/examschedule",component:()=>ne(()=>import("./examschedule-BWseMFw9.js"),__vite__mapDeps([66,60,5,6,7,2,19,1,20,29,30,21,22,8,9,17,18,38,36,37,46,47,42,43,61,35,39,40,41,44,62,63,48,49,64,65,10,11,67]),import.meta.url)},{path:"/list",children:[{path:"",name:"/list/",component:()=>ne(()=>import("./index-Br7ywFJ9.js"),__vite__mapDeps([68,5,6,7,2,15,1,16,38,36,37,10,11]),import.meta.url)},{path:":id",name:"/list/[id]",component:()=>ne(()=>import("./_id_-BRXvajnS.js"),__vite__mapDeps([69,5,6,7,2,15,1,16,38,36,37,41,42,43,8,9,46,47,10,11]),import.meta.url)}]},{path:"/settings",name:"/settings",component:()=>ne(()=>import("./settings-Bd7S8les.js"),__vite__mapDeps([70,71,15,1,2,16,72,8,9,42,36,37,43,35,38,39,40,41,44,5,6,7,19,20,17,18,10,11,50,51,46,47,73,57,27,28,32,33,34,45,74,75,54,76]),import.meta.url)},{path:"/socket-debugger",name:"/socket-debugger",component:()=>ne(()=>import("./socket-debugger-BnRHovO7.js"),__vite__mapDeps([77,12,13,7,17,1,2,18,8,9,38,36,37,46,47,42,43,19,20,10,11,78]),import.meta.url)}],xn=Hi({history:Gi("./"),routes:ls(os)});xn.onError((e,t)=>{var n,a;(a=(n=e==null?void 0:e.message)==null?void 0:n.includes)!=null&&a.call(n,"Failed to fetch dynamically imported module")?localStorage.getItem("vuetify:dynamic-reload")?console.error("Dynamic import error, reloading page did not fix it",e):(console.log("Reloading page to fix dynamic import error"),localStorage.setItem("vuetify:dynamic-reload","true"),location.assign(t.fullPath)):console.error(e)});xn.isReady().then(()=>{localStorage.removeItem("vuetify:dynamic-reload")});function rs(e){e.use(is).use(xn).use(ss)}async function us(){return typeof Notification<"u"&&Notification.requestPermission?await Notification.requestPermission()==="granted"?(console.log("通知权限已授予"),!0):(console.warn("通知权限被拒绝"),!1):(console.warn("浏览器不支持通知权限请求"),!1)}async function cs(){var e;try{return(e=navigator.storage)!=null&&e.persist?await navigator.storage.persist():!1}catch(t){return console.warn("请求持久性存储失败:",t),!1}}const Ut="Classworks_settings",Jn={"server.domain":"https://kv-service.houlang.cloud","server.siteKey":""},Oe={"device.uuid":{type:"string",default:"00000000-0000-4000-8000-000000000000",description:"设备唯一标识符",icon:"mdi-identifier"},"storage.persistOnLoad":{type:"boolean",default:!0,description:"是否在页面加载时自动请求持久性存储",icon:"mdi-database-sync"},"display.emptySubjectDisplay":{type:"string",default:"card",validate:e=>["card","button"].includes(e),description:"空科目的显示方式",icon:"mdi-card-outline"},"timeCard.enabled":{type:"boolean",default:!0,description:"启用时间卡片",icon:"mdi-clock-outline"},"hitokoto.enabled":{type:"boolean",default:!0,description:"启用一言",icon:"mdi-comment-quote"},"hitokoto.refreshInterval":{type:"number",default:300,description:"刷新时间0为不自动刷新",icon:"mdi-timer-refresh"},"display.dynamicSort":{type:"boolean",default:!0,description:"是否启用动态排序",icon:"mdi-sort-variant"},"display.showRandomButton":{type:"boolean",default:!1,description:"是否显示随机点人按钮",icon:"mdi-shuffle-variant"},"display.showFullscreenButton":{type:"boolean",default:!0,description:"是否显示全屏按钮",icon:"mdi-fullscreen"},"display.cardHoverEffect":{type:"boolean",default:!0,description:"是否启用卡片悬浮效果",icon:"mdi-gesture-tap"},"display.enhancedTouchMode":{type:"boolean",default:!0,description:"是否启用增强触摸模式",icon:"mdi-gesture-tap-button"},"display.showAntiScreenBurnCard":{type:"boolean",default:!1,description:"是否显示防烧屏忽悠卡片",icon:"mdi-monitor-shimmer"},"display.showListCard":{type:"boolean",default:!0,description:"是否显示列表卡片",icon:"mdi-list-box"},"display.showExamScheduleButton":{type:"boolean",default:!0,description:"是否显示考试看板",icon:"mdi-calendar-check"},"display.showQuickTools":{type:"boolean",default:!0,description:"是否显示快捷键盘",icon:"mdi-dialpad"},"display.forceDesktopMode":{type:"boolean",default:!1,description:"强制使用一体机UI模式",icon:"mdi-monitor"},"display.lateStudentsArePresent":{type:"boolean",default:!1,description:"将迟到人数算入出勤人数",icon:"mdi-clock-fast"},"server.domain":{type:"string",default:"",validate:e=>{if(!e)return!0;try{return new URL(e),!0}catch(t){return console.error("域名格式无效:",t),!1}},description:"后端服务器域名",icon:"mdi-web"},"server.classNumber":{type:"string",default:"高三八班",validate:e=>/.*/.test(e),description:"班级编号",icon:"mdi-account-group"},"server.siteKey":{type:"string",default:"",description:"网站令牌",icon:"mdi-key-chain"},"server.kvToken":{type:"string",default:"",description:"KV授权令牌",icon:"mdi-shield-key"},"server.authDomain":{type:"string",default:"https://kv.houlang.cloud",description:"授权服务器域名",icon:"mdi-shield-account",validate:e=>{if(!e)return!0;try{return new URL(e),!0}catch(t){return console.error("授权域名格式无效:",t),!1}}},"server.provider":{type:"string",default:"classworkscloud",validate:e=>["kv-local","kv-server","classworkscloud"].includes(e),description:"数据提供者",icon:"mdi-database"},"refresh.auto":{type:"boolean",default:!1,description:"是否启用自动刷新",icon:"mdi-refresh-auto"},"refresh.interval":{type:"number",default:300,validate:e=>e>=10&&e<=3600,description:"自动刷新间隔",icon:"mdi-timer-outline"},"font.size":{type:"number",default:28,validate:e=>e>=16&&e<=100,description:"字体大小",icon:"mdi-format-size"},"edit.autoSave":{type:"boolean",default:!0,description:"是否启用自动保存",icon:"mdi-content-save-outline"},"edit.blockNonTodayAutoSave":{type:"boolean",default:!0,description:"禁止自动保存非当天数据",icon:"mdi-calendar-lock"},"edit.refreshBeforeEdit":{type:"boolean",default:!0,description:"编辑前是否自动刷新",icon:"mdi-refresh"},"edit.confirmNonTodaySave":{type:"boolean",default:!0,description:"保存非当天数据需确认",icon:"mdi-calendar-alert"},"edit.blockPastDataEdit":{type:"boolean",default:!1,description:"禁止编辑过往数据",icon:"mdi-lock-clock"},"edit.autoSavePromptText":{type:"string",default:"喵呜",description:"自动保存模式提示文本",icon:"mdi-text-box-outline"},"edit.manualSavePromptText":{type:"string",default:"写完后点击上传谢谢喵",description:"手动保存模式提示文本",icon:"mdi-text-box-outline"},"developer.enabled":{type:"boolean",default:!1,description:"是否启用开发者选项",icon:"mdi-developer-board"},"developer.showDebugConfig":{type:"boolean",default:!1,description:"是否显示调试配置",icon:"mdi-bug-outline"},"developer.disableMessageLog":{type:"boolean",default:!1,description:"禁用消息日志记录",requireDeveloper:!0,icon:"mdi-message-off-outline"},"message.showSidebar":{type:"boolean",default:!0,description:"是否显示消息记录侧栏",requireDeveloper:!0,icon:"mdi-message-text-outline"},"message.maxActiveMessages":{type:"number",default:5,validate:e=>e>=1&&e<=10,description:"同时显示的最大消息数量",requireDeveloper:!0,icon:"mdi-message-badge-outline"},"message.timeout":{type:"number",default:5e3,validate:e=>e>=1e3&&e<=3e4,description:"消息自动关闭时间(毫秒)",requireDeveloper:!0,icon:"mdi-timer-sand"},"message.saveHistory":{type:"boolean",default:!0,description:"是否保存消息历史记录",requireDeveloper:!0,icon:"mdi-history"},"theme.mode":{type:"string",default:"dark",validate:e=>["light","dark"].includes(e),description:"主题模式",icon:"mdi-theme-light-dark"},"notification.singleSound":{type:"string",default:"Teams 默认.mp3",description:"单次通知铃声",icon:"mdi-bell-ring"},"notification.urgentSound":{type:"string",default:"Teams 默认通话铃.mp3",description:"持续通知铃声",icon:"mdi-bell-alert"},"randomPicker.enabled":{type:"boolean",default:!0,description:"是否启用随机点名功能",icon:"mdi-account-question"},"randomPicker.animation":{type:"boolean",default:!0,description:"是否启用随机点名动画效果",icon:"mdi-animation-play"},"randomPicker.defaultCount":{type:"number",default:1,validate:e=>e>=1&&e,description:"默认抽取人数",icon:"mdi-counter"},"randomPicker.excludeAbsent":{type:"boolean",default:!0,description:"是否排除请假学生",icon:"mdi-account-off"},"randomPicker.excludeLate":{type:"boolean",default:!1,description:"是否排除迟到学生",icon:"mdi-clock-alert"},"randomPicker.excludeExcluded":{type:"boolean",default:!0,description:"是否排除不参与学生",icon:"mdi-account-cancel"},"randomPicker.mode":{type:"string",default:"name",validate:e=>["name","number"].includes(e),description:"随机点名模式",icon:"mdi-format-list-numbered"},"randomPicker.maxNumber":{type:"number",default:60,validate:e=>e>=1&&e,description:"学号模式最大值",icon:"mdi-numeric"},"randomPicker.minNumber":{type:"number",default:1,validate:e=>e>=1&&e,description:"学号模式最小值",icon:"mdi-numeric-negative-1"},"pwa.hideInstallCard":{type:"boolean",default:!1,description:"不显示PWA安装卡片",icon:"mdi-download-off"}};class ds{constructor(){this.settingsCache=null,this.isInitialized=!1}init(){this.isInitialized||(this.loadSettings(),this.isInitialized=!0)}loadSettings(){this.settingsCache={};try{const t=typeof localStorage<"u"?localStorage.getItem(Ut):null;t&&(this.settingsCache=JSON.parse(t))}catch(t){console.error("加载设置失败:",t)}for(const[t,n]of Object.entries(Oe))t in this.settingsCache||(this.settingsCache[t]=n.default);return this.settingsCache}saveSettings(){if(!(typeof localStorage>"u"))try{localStorage.setItem(Ut,JSON.stringify(this.settingsCache))}catch(t){console.error("保存设置失败:",t)}}getSetting(t){this.isInitialized||this.init();const n=Oe[t];if(!n)return console.warn(`未定义的设置项: ${t}`),null;if(n.requireDeveloper&&!this.settingsCache["developer.enabled"])return n.default;if(this.settingsCache["server.provider"]==="classworkscloud"&&Jn[t]!==void 0)return Jn[t];const a=this.settingsCache[t];return a!==void 0?a:n.default}setSetting(t,n){this.isInitialized||this.init();const a=Oe[t];if(!a)return console.warn(`未定义的设置项: ${t}`),!1;if(a.requireDeveloper&&!this.settingsCache["developer.enabled"])return console.warn(`设置项 ${t} 需要启用开发者选项`),!1;try{const i=this.settingsCache[t];if(typeof n!==a.type&&(n=a.type==="boolean"?!!n:a.type==="number"?Number(n):String(n)),a.validate&&!a.validate(n))return console.warn(`设置项 ${t} 的值无效`),!1;this.settingsCache[t]=n,this.saveSettings(),this.logSettingsChange(t,i,n);const s=a.legacyKey;return s&&typeof localStorage<"u"&&localStorage.setItem(s,n.toString()),!0}catch(i){return console.error(`设置配置项 ${t} 失败:`,i),!1}}logSettingsChange(t,n,a){this.settingsCache["developer.enabled"]&&this.settingsCache["developer.showDebugConfig"]&&console.log(`[Settings] ${t}:`,{old:n,new:a,time:new Date().toLocaleTimeString()})}resetSetting(t){this.isInitialized||this.init();const n=Oe[t];if(!n){console.warn(`未定义的设置项: ${t}`);return}this.settingsCache[t]=n.default,this.saveSettings()}resetAllSettings(){this.settingsCache={};for(const[t,n]of Object.entries(Oe))this.settingsCache[t]=n.default;this.saveSettings()}watchSettings(t){if(typeof window>"u")return()=>{};const n=a=>{a.key===Ut&&(this.settingsCache=JSON.parse(a.newValue),t(this.settingsCache))};return window.addEventListener("storage",n),()=>window.removeEventListener("storage",n)}getSettingDefinition(t){return Oe[t]||null}exportSettingsAsKeyValue(){this.isInitialized||this.init();const t={};for(const n in Oe)t[n]=this.getSetting(n);return t}}const Ve=new ds;typeof window<"u"&&Ve.init();const In=e=>Ve.getSetting(e),fs=(e,t)=>Ve.setSetting(e,t),vs=e=>Ve.resetSetting(e),ms=()=>Ve.resetAllSettings(),gs=e=>Ve.watchSettings(e),ys=e=>Ve.getSettingDefinition(e),hs=()=>Ve.exportSettingsAsKeyValue(),Mo=Object.freeze(Object.defineProperty({__proto__:null,SettingsManager:Ve,exportSettingsAsKeyValue:hs,getSetting:In,getSettingDefinition:ys,requestNotificationPermission:us,requestPersistentStorage:cs,resetAllSettings:ms,resetSetting:vs,setSetting:fs,settingsDefinitions:Oe,watchSettings:gs},Symbol.toStringTag,{value:"Module"}));class bs{constructor(){this.logs=[]}async addLog(t){return this.logs.push(t),this.logs.length>100&&this.logs.shift(),!0}async getLogs(t=20){return this.logs.slice(-t).reverse()}}const It=new bs,we=[];let Pt=null,pe=null;const ct={SUCCESS:"success",ERROR:"error",INFO:"info",WARNING:"warning"},Ss={timeout:3e3,showSnackbar:!0,addToLog:!0};async function _t(e,t,n="",a={}){const i={...Ss,...a},s={id:Date.now()+Math.random(),type:e,title:t,content:n.substring(0,500),timestamp:new Date};if(i.addToLog)try{for(await It.addLog(s),we.unshift(s);we.length>In("message.maxActiveMessages");)we.pop();pe==null||pe(we)}catch(l){console.error("保存日志失败:",l)}return i.showSnackbar&&(Pt==null||Pt(s)),s}function ps(e,t){let n=null;return function(...a){n&&clearTimeout(n),n=setTimeout(()=>{e.apply(this,a)},t)}}const Ke={install:e=>{e.config.globalProperties.$message={success:(t,n,a)=>_t(ct.SUCCESS,t,n,a),error:(t,n,a)=>_t(ct.ERROR,t,n,a),info:(t,n,a)=>_t(ct.INFO,t,n,a),warning:(t,n,a)=>_t(ct.WARNING,t,n,a)}},onSnackbar:e=>{Pt=e},onLog:e=>{pe=e},getMessages:async()=>{try{return await It.getLogs()}catch(e){return console.error("获取日志失败:",e),[...we]}},clearMessages:async()=>{try{await It.clearLogs(),we.length=0,pe==null||pe(we)}catch(e){console.error("清除日志失败:",e)}},MessageType:ct,markAsRead:()=>{},deleteMessage:async e=>{try{await It.deleteLog(e);const t=we.findIndex(n=>n.id===e);t!==-1&&we.splice(t,1),pe==null||pe(we)}catch(t){console.error("删除消息失败:",t)}},getUnreadCount:()=>0,debounce:ps},Pa=(e,t)=>{const n=e.__vccOpts||e;for(const[a,i]of t)n[a]=i;return n},st=T({border:[Boolean,Number,String]},"border");function lt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:We();return{borderClasses:_(()=>{const a=e.border;return a===!0||a===""?`${t}--border`:typeof a=="string"||a===0?String(a).split(" ").map(i=>`border-${i}`):[]})}}const ws=[null,"default","comfortable","compact"],He=T({density:{type:String,default:"default",validator:e=>ws.includes(e)}},"density");function ot(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:We();return{densityClasses:k(()=>`${t}--density-${e.density}`)}}const bt=T({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function St(e){return{elevationClasses:k(()=>{const n=sn(e)?e.value:e.elevation;return n==null?[]:[`elevation-${n}`]})}}const Le=T({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function Te(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:We();return{roundedClasses:_(()=>{const a=sn(e)?e.value:e.rounded,i=sn(e)?!1:e.tile,s=[];if(i||a===!1)s.push("rounded-0");else if(a===!0||a==="")s.push(`${t}--rounded`);else if(typeof a=="string"||a===0)for(const l of String(a).split(" "))s.push(`rounded-${l}`);return s})}}const oe=T({tag:{type:[String,Object,Function],default:"div"}},"tag");function Pn(e){return yn(()=>{const{class:t,style:n}=Cs(e);return{colorClasses:t,colorStyles:n}})}function et(e){const{colorClasses:t,colorStyles:n}=Pn(()=>({text:se(e)}));return{textColorClasses:t,textColorStyles:n}}function Je(e){const{colorClasses:t,colorStyles:n}=Pn(()=>({background:se(e)}));return{backgroundColorClasses:t,backgroundColorStyles:n}}function ks(e){return{text:typeof e.text=="string"?e.text.replace(/^text-/,""):e.text,background:typeof e.background=="string"?e.background.replace(/^bg-/,""):e.background}}function Cs(e){const t=ks(se(e)),n=[],a={};if(t.background)if(Wn(t.background)){if(a.backgroundColor=t.background,!t.text&&hi(t.background)){const i=bi(t.background);if(i.a==null||i.a===1){const s=Si(i);a.color=s,a.caretColor=s}}}else n.push(`bg-${t.background}`);return t.text&&(Wn(t.text)?(a.color=t.text,a.caretColor=t.text):n.push(`text-${t.text}`)),{class:n,style:a}}const _s=["elevated","flat","tonal","outlined","text","plain"];function pt(e,t){return P(Be,null,[e&&P("span",{key:"overlay",class:H(`${t}__overlay`)},null),P("span",{key:"underlay",class:H(`${t}__underlay`)},null)])}const Ge=T({color:String,variant:{type:String,default:"elevated",validator:e=>_s.includes(e)}},"variant");function wt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:We();const n=k(()=>{const{variant:s}=se(e);return`${t}--variant-${s}`}),{colorClasses:a,colorStyles:i}=Pn(()=>{const{variant:s,color:l}=se(e);return{[["elevated","flat"].includes(s)?"background":"text"]:l}});return{colorClasses:a,colorStyles:i,variantClasses:n}}const Aa=T({baseColor:String,divided:Boolean,direction:{type:String,default:"horizontal"},...st(),...ee(),...He(),...bt(),...Le(),...oe(),...fe(),...Ge()},"VBtnGroup"),Qn=G()({name:"VBtnGroup",props:Aa(),setup(e,t){let{slots:n}=t;const{themeClasses:a}=ye(e),{densityClasses:i}=ot(e),{borderClasses:s}=lt(e),{elevationClasses:l}=St(e),{roundedClasses:o}=Te(e);$t({VBtn:{height:k(()=>e.direction==="horizontal"?"auto":null),baseColor:k(()=>e.baseColor),color:k(()=>e.color),density:k(()=>e.density),flat:!0,variant:k(()=>e.variant)}}),J(()=>b(e.tag,{class:H(["v-btn-group",`v-btn-group--${e.direction}`,{"v-btn-group--divided":e.divided},a.value,s.value,i.value,l.value,o.value,e.class]),style:Q(e.style)},n))}}),xs=T({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),Is=T({value:null,disabled:Boolean,selectedClass:String},"group-item");function Ps(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const a=xe("useGroupItem");if(!a)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const i=pn();qe(Symbol.for(`${t.description}:id`),i);const s=Ee(t,null);if(!s){if(!n)return s;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const l=k(()=>e.value),o=_(()=>!!(s.disabled.value||e.disabled));function r(){s==null||s.register({id:i,value:l,disabled:o},a)}function u(){s==null||s.unregister(i)}r(),je(()=>u());const c=_(()=>s.isSelected(i)),m=_(()=>s.items.value[0].id===i),v=_(()=>s.items.value[s.items.value.length-1].id===i),d=_(()=>c.value&&[s.selectedClass.value,e.selectedClass]);return W(c,y=>{a.emit("group:selected",{value:y})},{flush:"sync"}),{id:i,isSelected:c,isFirst:m,isLast:v,toggle:()=>s.select(i,!c.value),select:y=>s.select(i,y),selectedClass:d,value:l,disabled:o,group:s,register:r,unregister:u}}function As(e,t){let n=!1;const a=vt([]),i=Pe(e,"modelValue",[],v=>v===void 0?[]:Ea(a,v===null?[null]:hn(v)),v=>{const d=Vs(a,v);return e.multiple?d:d[0]}),s=xe("useGroup");function l(v,d){const y=v,f=Symbol.for(`${t.description}:id`),S=pi(f,s==null?void 0:s.vnode).indexOf(d);Ki(y.value)===void 0&&(y.value=S,y.useIndexAsValue=!0),S>-1?a.splice(S,0,y):a.push(y)}function o(v){if(n)return;r();const d=a.findIndex(y=>y.id===v);a.splice(d,1)}function r(){const v=a.find(d=>!d.disabled);v&&e.mandatory==="force"&&!i.value.length&&(i.value=[v.id])}it(()=>{r()}),je(()=>{n=!0}),Ui(()=>{for(let v=0;v<a.length;v++)a[v].useIndexAsValue&&(a[v].value=v)});function u(v,d){const y=a.find(f=>f.id===v);if(!(d&&(y!=null&&y.disabled)))if(e.multiple){const f=i.value.slice(),p=f.findIndex(I=>I===v),S=~p;if(d=d??!S,S&&e.mandatory&&f.length<=1||!S&&e.max!=null&&f.length+1>e.max)return;p<0&&d?f.push(v):p>=0&&!d&&f.splice(p,1),i.value=f}else{const f=i.value.includes(v);if(e.mandatory&&f||!f&&!d)return;i.value=d??!f?[v]:[]}}function c(v){if(e.multiple,i.value.length){const d=i.value[0],y=a.findIndex(S=>S.id===d);let f=(y+v)%a.length,p=a[f];for(;p.disabled&&f!==y;)f=(f+v)%a.length,p=a[f];if(p.disabled)return;i.value=[a[f].id]}else{const d=a.find(y=>!y.disabled);d&&(i.value=[d.id])}}const m={register:l,unregister:o,selected:i,select:u,disabled:k(()=>e.disabled),prev:()=>c(a.length-1),next:()=>c(1),isSelected:v=>i.value.includes(v),selectedClass:k(()=>e.selectedClass),items:k(()=>a),getItemIndex:v=>Es(a,v)};return qe(t,m),m}function Es(e,t){const n=Ea(e,[t]);return n.length?e.findIndex(a=>a.id===n[0]):-1}function Ea(e,t){const n=[];return t.forEach(a=>{const i=e.find(l=>Ye(a,l.value)),s=e[a];(i==null?void 0:i.value)!==void 0?n.push(i.id):s!=null&&s.useIndexAsValue&&n.push(s.id)}),n}function Vs(e,t){const n=[];return t.forEach(a=>{const i=e.findIndex(s=>s.id===a);if(~i){const s=e[i];n.push(s.value!==void 0?s.value:i)}}),n}const Va=Symbol.for("vuetify:v-btn-toggle"),Ls=T({...Aa(),...xs()},"VBtnToggle"),Fo=G()({name:"VBtnToggle",props:Ls(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:a,next:i,prev:s,select:l,selected:o}=As(e,Va);return J(()=>{const r=Qn.filterProps(e);return b(Qn,Y({class:["v-btn-toggle",e.class]},r,{style:e.style}),{default:()=>{var u;return[(u=n.default)==null?void 0:u.call(n,{isSelected:a,next:i,prev:s,select:l,selected:o})]}})}),{next:i,prev:s,select:l}}}),Ts=T({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),ge=G(!1)({name:"VDefaultsProvider",props:Ts(),setup(e,t){let{slots:n}=t;const{defaults:a,disabled:i,reset:s,root:l,scoped:o}=Xi(e);return $t(a,{reset:s,root:l,scoped:o,disabled:i}),()=>{var r;return(r=n.default)==null?void 0:r.call(n)}}}),Os=["x-small","small","default","large","x-large"],Mt=T({size:{type:[String,Number],default:"default"}},"size");function Ft(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:We();return yn(()=>{const n=e.size;let a,i;return wi(Os,n)?a=`${t}--size-${n}`:n&&(i={width:B(n),height:B(n)}),{sizeClasses:a,sizeStyles:i}})}const Bs=T({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:le,opacity:[String,Number],...ee(),...Mt(),...oe({tag:"i"}),...fe()},"VIcon"),_e=G()({name:"VIcon",props:Bs(),setup(e,t){let{attrs:n,slots:a}=t;const i=z(),{themeClasses:s}=ha(),{iconData:l}=ki(()=>i.value||e.icon),{sizeClasses:o}=Ft(e),{textColorClasses:r,textColorStyles:u}=et(()=>e.color);return J(()=>{var v,d;const c=(v=a.default)==null?void 0:v.call(a);c&&(i.value=(d=Ci(c).filter(y=>y.type===Yi&&y.children&&typeof y.children=="string")[0])==null?void 0:d.children);const m=!!(n.onClick||n.onClickOnce);return b(l.value.component,{tag:e.tag,icon:l.value.icon,class:H(["v-icon","notranslate",s.value,o.value,r.value,{"v-icon--clickable":m,"v-icon--disabled":e.disabled,"v-icon--start":e.start,"v-icon--end":e.end},e.class]),style:Q([{"--v-icon-opacity":e.opacity},o.value?void 0:{fontSize:B(e.size),height:B(e.size),width:B(e.size)},u.value,e.style]),role:m?"button":void 0,"aria-hidden":!m,tabindex:m?e.disabled?-1:0:void 0},{default:()=>[c]})}),{}}});function La(e,t){const n=q(),a=z(!1);if(bn){const i=new IntersectionObserver(s=>{a.value=!!s.find(l=>l.isIntersecting)},t);ve(()=>{i.disconnect()}),W(n,(s,l)=>{l&&(i.unobserve(l),a.value=!1),s&&i.observe(s)},{flush:"post"})}return{intersectionRef:n,isIntersecting:a}}const Rs=T({reveal:{type:[Boolean,Object],default:!1}},"reveal");function Ns(e){const n=k(()=>typeof e.reveal=="object"?Math.max(0,Number(e.reveal.duration??900)):900),a=z(e.reveal?"initial":"disabled");return it(async()=>{e.reveal&&(a.value="initial",await new Promise(i=>requestAnimationFrame(i)),a.value="pending",await new Promise(i=>setTimeout(i,n.value)),a.value="done")}),{duration:n,state:a}}const $s=T({bgColor:String,color:String,indeterminate:[Boolean,String],rounded:Boolean,modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...ee(),...Rs(),...Mt(),...oe({tag:"div"}),...fe()},"VProgressCircular"),Ds=G()({name:"VProgressCircular",props:$s(),setup(e,t){let{slots:n}=t;const a=20,i=2*Math.PI*a,s=q(),{themeClasses:l}=ye(e),{sizeClasses:o,sizeStyles:r}=Ft(e),{textColorClasses:u,textColorStyles:c}=et(()=>e.color),{textColorClasses:m,textColorStyles:v}=et(()=>e.bgColor),{intersectionRef:d,isIntersecting:y}=La(),{resizeRef:f,contentRect:p}=ba(),{state:S,duration:I}=Ns(e),L=k(()=>S.value==="initial"?0:Ze(parseFloat(e.modelValue),0,100)),w=k(()=>Number(e.width)),h=k(()=>r.value?Number(e.size):p.value?p.value.width:Math.max(w.value,32)),C=k(()=>a/(1-w.value/h.value)*2),x=k(()=>w.value/h.value*C.value),g=k(()=>{const M=(100-L.value)/100*i;return e.rounded&&L.value>0&&L.value<100?B(Math.min(i-.01,M+x.value)):B(M)}),R=_(()=>{const M=Number(e.rotate);return e.rounded?M+x.value/2/i*360:M});return Re(()=>{d.value=s.value,f.value=s.value}),J(()=>b(e.tag,{ref:s,class:H(["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":y.value,"v-progress-circular--disable-shrink":e.indeterminate&&(e.indeterminate==="disable-shrink"||Vt()),"v-progress-circular--revealing":["initial","pending"].includes(S.value)},l.value,o.value,u.value,e.class]),style:Q([r.value,c.value,{"--progress-reveal-duration":`${I.value}ms`},e.style]),role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:L.value},{default:()=>[P("svg",{style:{transform:`rotate(calc(-90deg + ${R.value}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${C.value} ${C.value}`},[P("circle",{class:H(["v-progress-circular__underlay",m.value]),style:Q(v.value),fill:"transparent",cx:"50%",cy:"50%",r:a,"stroke-width":x.value,"stroke-dasharray":i,"stroke-dashoffset":0},null),P("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:a,"stroke-width":x.value,"stroke-dasharray":i,"stroke-dashoffset":g.value,"stroke-linecap":e.rounded?"round":void 0},null)]),n.default&&P("div",{class:"v-progress-circular__content"},[n.default({value:L.value})])]})),{}}}),rt=T({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function ut(e){return{dimensionStyles:_(()=>{const n={},a=B(e.height),i=B(e.maxHeight),s=B(e.maxWidth),l=B(e.minHeight),o=B(e.minWidth),r=B(e.width);return a!=null&&(n.height=a),i!=null&&(n.maxHeight=i),s!=null&&(n.maxWidth=s),l!=null&&(n.minHeight=l),o!=null&&(n.minWidth=o),r!=null&&(n.width=r),n})}}const Zn={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},zt=T({location:String},"location");function An(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:a}=Dt();return{locationStyles:_(()=>{if(!e.location)return{};const{side:s,align:l}=en(e.location.split(" ").length>1?e.location:`${e.location} center`,a.value);function o(u){return n?n(u):0}const r={};return s!=="center"&&(t?r[Zn[s]]=`calc(100% - ${o(s)}px)`:r[s]=0),l!=="center"?t?r[Zn[l]]=`calc(100% - ${o(l)}px)`:r[l]=0:(s==="center"?r.top=r.left="50%":r[{top:"left",bottom:"left",left:"top",right:"top"}[s]]="50%",r.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[s]),r})}}const Ms=T({chunkCount:{type:[Number,String],default:null},chunkWidth:{type:[Number,String],default:null},chunkGap:{type:[Number,String],default:4}},"chunks");function Fs(e,t){const n=k(()=>!!e.chunkCount||!!e.chunkWidth),a=_(()=>{const o=se(t);if(!o)return 0;if(!e.chunkCount)return Number(e.chunkWidth);const r=Number(e.chunkCount);return(o-Number(e.chunkGap)*(r-1))/r}),i=k(()=>Number(e.chunkGap)),s=_(()=>{if(!n.value)return{};const o=B(i.value),r=B(a.value);return{maskRepeat:"repeat-x",maskImage:`linear-gradient(90deg, #000, #000 ${r}, transparent ${r}, transparent)`,maskSize:`calc(${r} + ${o}) 100%`}});function l(o){const r=se(t);if(!r)return o;const u=100*i.value/r,c=100*(a.value+i.value)/r,m=Math.floor((o+u)/c);return Ze(0,m*c-u/2,100)}return{hasChunks:n,chunksMaskStyles:s,snapValueToChunk:l}}const zs=T({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},bufferColor:String,bufferOpacity:[Number,String],clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},opacity:[Number,String],reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Ms(),...ee(),...zt({location:"top"}),...Le(),...oe(),...fe()},"VProgressLinear"),Ta=G()({name:"VProgressLinear",props:zs(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const a=q(),i=Pe(e,"modelValue"),{isRtl:s,rtlClasses:l}=Dt(),{themeClasses:o}=ye(e),{locationStyles:r}=An(e),{textColorClasses:u,textColorStyles:c}=et(()=>e.color),{backgroundColorClasses:m,backgroundColorStyles:v}=Je(()=>e.bgColor||e.color),{backgroundColorClasses:d,backgroundColorStyles:y}=Je(()=>e.bufferColor||e.bgColor||e.color),{backgroundColorClasses:f,backgroundColorStyles:p}=Je(()=>e.color),{roundedClasses:S}=Te(e),{intersectionRef:I,isIntersecting:L}=La(),w=_(()=>parseFloat(e.max)),h=_(()=>parseFloat(e.height)),C=_(()=>Ze(parseFloat(e.bufferValue)/w.value*100,0,100)),x=_(()=>Ze(parseFloat(i.value)/w.value*100,0,100)),g=_(()=>s.value!==e.reverse),R=_(()=>e.indeterminate?"fade-transition":"slide-x-transition"),M=z(0),{hasChunks:E,chunksMaskStyles:V,snapValueToChunk:A}=Fs(e,M);ht(E,()=>{const{resizeRef:X}=ba(te=>M.value=te[0].contentRect.width);Re(()=>X.value=a.value)});const N=_(()=>E.value?A(C.value):C.value),O=_(()=>E.value?A(x.value):x.value);function U(X){if(!I.value)return;const{left:te,right:he,width:K}=I.value.getBoundingClientRect(),$=g.value?K-X.clientX+(he-K):X.clientX-te;i.value=Math.round($/K*w.value)}return Re(()=>{I.value=a.value}),J(()=>b(e.tag,{ref:a,class:H(["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&L.value,"v-progress-linear--reverse":g.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped,"v-progress-linear--clickable":e.clickable},S.value,o.value,l.value,e.class]),style:Q([{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?B(h.value):0,"--v-progress-linear-height":B(h.value),...e.absolute?r.value:{}},V.value,e.style]),role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:Math.min(parseFloat(i.value),w.value),onClick:e.clickable&&U},{default:()=>[e.stream&&P("div",{key:"stream",class:H(["v-progress-linear__stream",u.value]),style:{...c.value,[g.value?"left":"right"]:B(-h.value),borderTop:`${B(h.value/2)} dotted`,opacity:parseFloat(e.bufferOpacity),top:`calc(50% - ${B(h.value/4)})`,width:B(100-C.value,"%"),"--v-progress-linear-stream-to":B(h.value*(g.value?1:-1))}},null),P("div",{class:H(["v-progress-linear__background",m.value]),style:Q([v.value,{opacity:parseFloat(e.bgOpacity),width:e.stream?0:void 0}])},null),P("div",{class:H(["v-progress-linear__buffer",d.value]),style:Q([y.value,{opacity:parseFloat(e.bufferOpacity),width:B(N.value,"%")}])},null),b(Ne,{name:R.value},{default:()=>[e.indeterminate?P("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(X=>P("div",{key:X,class:H(["v-progress-linear__indeterminate",X,f.value]),style:Q(p.value)},null))]):P("div",{class:H(["v-progress-linear__determinate",f.value]),style:Q([p.value,{width:B(O.value,"%")}])},null)]}),n.default&&P("div",{class:"v-progress-linear__content"},[n.default({value:x.value,buffer:C.value})])]})),{}}}),Oa=T({loading:[Boolean,String]},"loader");function Ba(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:We();return{loaderClasses:k(()=>({[`${t}--loading`]:e.loading}))}}function Ws(e,t){var a;let{slots:n}=t;return P("div",{class:H(`${e.name}__loader`)},[((a=n.default)==null?void 0:a.call(n,{color:e.color,isActive:e.active}))||b(Ta,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const qs=["static","relative","fixed","absolute","sticky"],En=T({position:{type:String,validator:e=>qs.includes(e)}},"position");function Vn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:We();return{positionClasses:k(()=>e.position?`${t}--${e.position}`:void 0)}}function js(){const e=xe("useRoute");return _(()=>{var t;return(t=e==null?void 0:e.proxy)==null?void 0:t.$route})}function Hs(){var e,t;return(t=(e=xe("useRouter"))==null?void 0:e.proxy)==null?void 0:t.$router}function Ln(e,t){const n=Ca("RouterLink"),a=k(()=>!!(e.href||e.to)),i=_(()=>(a==null?void 0:a.value)||qn(t,"click")||qn(e,"click"));if(typeof n=="string"||!("useLink"in n)){const m=k(()=>e.href);return{isLink:a,isRouterLink:k(()=>!1),isClickable:i,href:m,linkProps:vt({href:m}),route:k(()=>{}),navigate:k(()=>{})}}const s=n.useLink({to:k(()=>e.to||""),replace:k(()=>e.replace)}),l=_(()=>e.to?s:void 0),o=js(),r=_(()=>{var m,v,d;return l.value?e.exact?o.value?((d=l.value.isExactActive)==null?void 0:d.value)&&Ye(l.value.route.value.query,o.value.query):((v=l.value.isExactActive)==null?void 0:v.value)??!1:((m=l.value.isActive)==null?void 0:m.value)??!1:!1}),u=_(()=>{var m;return e.to?(m=l.value)==null?void 0:m.route.value.href:e.href}),c=k(()=>!!e.to);return{isLink:a,isRouterLink:c,isClickable:i,isActive:r,route:k(()=>{var m;return(m=l.value)==null?void 0:m.route.value}),navigate:k(()=>{var m;return(m=l.value)==null?void 0:m.navigate}),href:u,linkProps:vt({href:u,"aria-current":k(()=>r.value?"page":void 0),"aria-disabled":k(()=>e.disabled&&a.value?"true":void 0),tabindex:k(()=>e.disabled&&a.value?"-1":void 0)})}}const Tn=T({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let Kt=!1;function Gs(e,t){let n=!1,a,i;Ae&&(e!=null&&e.beforeEach)&&(ce(()=>{window.addEventListener("popstate",s),a=e.beforeEach((l,o,r)=>{Kt?n?t(r):r():setTimeout(()=>n?t(r):r()),Kt=!0}),i=e==null?void 0:e.afterEach(()=>{Kt=!1})}),ve(()=>{window.removeEventListener("popstate",s),a==null||a(),i==null||i()}));function s(l){var o;(o=l.state)!=null&&o.replaced||(n=!0,setTimeout(()=>n=!1))}}function Us(e,t){W(()=>{var n;return(n=e.isActive)==null?void 0:n.value},n=>{e.isLink.value&&n!=null&&t&&ce(()=>{t(n)})},{immediate:!0})}const on=Symbol("rippleStop"),Ks=80;function ea(e,t){e.style.transform=t,e.style.webkitTransform=t}function rn(e){return e.constructor.name==="TouchEvent"}function Ra(e){return e.constructor.name==="KeyboardEvent"}const Xs=function(e,t){var m;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=0,i=0;if(!Ra(e)){const v=t.getBoundingClientRect(),d=rn(e)?e.touches[e.touches.length-1]:e;a=d.clientX-v.left,i=d.clientY-v.top}let s=0,l=.3;(m=t._ripple)!=null&&m.circle?(l=.15,s=t.clientWidth/2,s=n.center?s:s+Math.sqrt((a-s)**2+(i-s)**2)/4):s=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const o=`${(t.clientWidth-s*2)/2}px`,r=`${(t.clientHeight-s*2)/2}px`,u=n.center?o:`${a-s}px`,c=n.center?r:`${i-s}px`;return{radius:s,scale:l,x:u,y:c,centerX:o,centerY:r}},Tt={show(e,t){var d;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((d=t==null?void 0:t._ripple)!=null&&d.enabled))return;const a=document.createElement("span"),i=document.createElement("span");a.appendChild(i),a.className="v-ripple__container",n.class&&(a.className+=` ${n.class}`);const{radius:s,scale:l,x:o,y:r,centerX:u,centerY:c}=Xs(e,t,n),m=`${s*2}px`;i.className="v-ripple__animation",i.style.width=m,i.style.height=m,t.appendChild(a);const v=window.getComputedStyle(t);v&&v.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),i.classList.add("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--visible"),ea(i,`translate(${o}, ${r}) scale3d(${l},${l},${l})`),i.dataset.activated=String(performance.now()),requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),ea(i,`translate(${u}, ${c}) scale3d(1,1,1)`)})})},hide(e){var s;if(!((s=e==null?void 0:e._ripple)!=null&&s.enabled))return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=Array.from(t).findLast(l=>!l.dataset.isHiding);if(n)n.dataset.isHiding="true";else return;const a=performance.now()-Number(n.dataset.activated),i=Math.max(250-a,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var o;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((o=n.parentNode)==null?void 0:o.parentNode)===e&&e.removeChild(n.parentNode)},300)},i)}};function Na(e){return typeof e>"u"||!!e}function mt(e){const t={},n=e.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||e[on])){if(e[on]=!0,rn(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||Ra(e),n._ripple.class&&(t.class=n._ripple.class),rn(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{Tt.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{var a;(a=n==null?void 0:n._ripple)!=null&&a.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},Ks)}else Tt.show(e,n,t)}}function Ot(e){e[on]=!0}function de(e){const t=e.currentTarget;if(t!=null&&t._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{de(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),Tt.hide(t)}}function $a(e){const t=e.currentTarget;t!=null&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let gt=!1;function Ys(e,t){!gt&&t.includes(e.key)&&(gt=!0,mt(e))}function Da(e){gt=!1,de(e)}function Ma(e){gt&&(gt=!1,de(e))}function Fa(e,t,n){const{value:a,modifiers:i}=t,s=Na(a);s||Tt.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=s,e._ripple.centered=i.center,e._ripple.circle=i.circle;const l=tn(a)?a:{};l.class&&(e._ripple.class=l.class);const o=l.keys??["Enter","Space"];if(e._ripple.keyDownHandler=r=>Ys(r,o),s&&!n){if(i.stop){e.addEventListener("touchstart",Ot,{passive:!0}),e.addEventListener("mousedown",Ot);return}e.addEventListener("touchstart",mt,{passive:!0}),e.addEventListener("touchend",de,{passive:!0}),e.addEventListener("touchmove",$a,{passive:!0}),e.addEventListener("touchcancel",de),e.addEventListener("mousedown",mt),e.addEventListener("mouseup",de),e.addEventListener("mouseleave",de),e.addEventListener("keydown",e._ripple.keyDownHandler),e.addEventListener("keyup",Da),e.addEventListener("blur",Ma),e.addEventListener("dragstart",de,{passive:!0})}else!s&&n&&za(e)}function za(e){var t;e.removeEventListener("touchstart",Ot),e.removeEventListener("mousedown",Ot),e.removeEventListener("touchstart",mt),e.removeEventListener("touchend",de),e.removeEventListener("touchmove",$a),e.removeEventListener("touchcancel",de),e.removeEventListener("mousedown",mt),e.removeEventListener("mouseup",de),e.removeEventListener("mouseleave",de),(t=e._ripple)!=null&&t.keyDownHandler&&e.removeEventListener("keydown",e._ripple.keyDownHandler),e.removeEventListener("keyup",Da),e.removeEventListener("blur",Ma),e.removeEventListener("dragstart",de)}function Js(e,t){Fa(e,t,!1)}function Qs(e){za(e),delete e._ripple}function Zs(e,t){if(t.value===t.oldValue)return;const n=Na(t.oldValue);Fa(e,t,n)}const yt={mounted:Js,unmounted:Qs,updated:Zs},el=T({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:Va},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:le,appendIcon:le,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,spaced:String,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},...st(),...ee(),...He(),...rt(),...bt(),...Is(),...Oa(),...zt(),...En(),...Le(),...Tn(),...Mt(),...oe({tag:"button"}),...fe(),...Ge({variant:"elevated"})},"VBtn"),Wa=G()({name:"VBtn",props:el(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:n,slots:a}=t;const{themeClasses:i}=ye(e),{borderClasses:s}=lt(e),{densityClasses:l}=ot(e),{dimensionStyles:o}=ut(e),{elevationClasses:r}=St(e),{loaderClasses:u}=Ba(e),{locationStyles:c}=An(e),{positionClasses:m}=Vn(e),{roundedClasses:v}=Te(e),{sizeClasses:d,sizeStyles:y}=Ft(e),f=Ps(e,e.symbol,!1),p=Ln(e,n),S=_(()=>{var E;return e.active!==void 0?e.active:p.isRouterLink.value?(E=p.isActive)==null?void 0:E.value:f==null?void 0:f.isSelected.value}),I=k(()=>S.value?e.activeColor??e.color:e.color),L=_(()=>{var V,A;return{color:(f==null?void 0:f.isSelected.value)&&(!p.isLink.value||((V=p.isActive)==null?void 0:V.value))||!f||((A=p.isActive)==null?void 0:A.value)?I.value??e.baseColor:e.baseColor,variant:e.variant}}),{colorClasses:w,colorStyles:h,variantClasses:C}=wt(L),x=_(()=>(f==null?void 0:f.disabled.value)||e.disabled),g=k(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),R=_(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function M(E){var V,A;x.value||p.isLink.value&&(E.metaKey||E.ctrlKey||E.shiftKey||E.button!==0||n.target==="_blank")||(p.isRouterLink.value?(A=(V=p.navigate).value)==null||A.call(V,E):f==null||f.toggle())}return Us(p,f==null?void 0:f.select),J(()=>{const E=p.isLink.value?"a":e.tag,V=!!(e.prependIcon||a.prepend),A=!!(e.appendIcon||a.append),N=!!(e.icon&&e.icon!==!0);return ze(b(E,Y(p.linkProps,{type:E==="a"?void 0:"button",class:["v-btn",f==null?void 0:f.selectedClass.value,{"v-btn--active":S.value,"v-btn--block":e.block,"v-btn--disabled":x.value,"v-btn--elevated":g.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--readonly":e.readonly,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},e.spaced?["v-btn--spaced",`v-btn--spaced-${e.spaced}`]:[],i.value,s.value,w.value,l.value,r.value,u.value,m.value,v.value,d.value,C.value,e.class],style:[h.value,o.value,c.value,y.value,e.style],"aria-busy":e.loading?!0:void 0,disabled:x.value&&E!=="a"||void 0,tabindex:e.loading||e.readonly?-1:void 0,onClick:M,value:R.value}),{default:()=>{var O;return[pt(!0,"v-btn"),!e.icon&&V&&P("span",{key:"prepend",class:"v-btn__prepend"},[a.prepend?b(ge,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},a.prepend):b(_e,{key:"prepend-icon",icon:e.prependIcon},null)]),P("span",{class:"v-btn__content","data-no-activator":""},[!a.default&&N?b(_e,{key:"content-icon",icon:e.icon},null):b(ge,{key:"content-defaults",disabled:!N,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var U;return[((U=a.default)==null?void 0:U.call(a))??Ce(e.text)]}})]),!e.icon&&A&&P("span",{key:"append",class:"v-btn__append"},[a.append?b(ge,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},a.append):b(_e,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&P("span",{key:"loader",class:"v-btn__loader"},[((O=a.loader)==null?void 0:O.call(a))??b(Ds,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}}),[[yt,!x.value&&e.ripple,"",{center:!!e.icon}]])}),{group:f}}});function Xt(e,t){return{x:e.x+t.x,y:e.y+t.y}}function tl(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ta(e,t){if(e.side==="top"||e.side==="bottom"){const{side:n,align:a}=e,i=a==="left"?0:a==="center"?t.width/2:a==="right"?t.width:a,s=n==="top"?0:n==="bottom"?t.height:n;return Xt({x:i,y:s},t)}else if(e.side==="left"||e.side==="right"){const{side:n,align:a}=e,i=n==="left"?0:n==="right"?t.width:n,s=a==="top"?0:a==="center"?t.height/2:a==="bottom"?t.height:a;return Xt({x:i,y:s},t)}return Xt({x:t.width/2,y:t.height/2},t)}const qa={static:il,connected:ll},nl=T({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in qa},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array],stickToTarget:Boolean,viewportMargin:{type:[Number,String],default:12}},"VOverlay-location-strategies");function al(e,t){const n=q({}),a=q();Ae&&ht(()=>!!(t.isActive.value&&e.locationStrategy),o=>{var r,u;W(()=>e.locationStrategy,o),ve(()=>{window.removeEventListener("resize",i),visualViewport==null||visualViewport.removeEventListener("resize",s),visualViewport==null||visualViewport.removeEventListener("scroll",l),a.value=void 0}),window.addEventListener("resize",i,{passive:!0}),visualViewport==null||visualViewport.addEventListener("resize",s,{passive:!0}),visualViewport==null||visualViewport.addEventListener("scroll",l,{passive:!0}),typeof e.locationStrategy=="function"?a.value=(r=e.locationStrategy(t,e,n))==null?void 0:r.updateLocation:a.value=(u=qa[e.locationStrategy](t,e,n))==null?void 0:u.updateLocation});function i(o){var r;(r=a.value)==null||r.call(a,o)}function s(o){var r;(r=a.value)==null||r.call(a,o)}function l(o){var r;(r=a.value)==null||r.call(a,o)}return{contentStyles:n,updateLocation:a}}function il(){}function sl(e,t){const n=pa(e);return t?n.x+=parseFloat(e.style.right||0):n.x-=parseFloat(e.style.left||0),n.y-=parseFloat(e.style.top||0),n}function ll(e,t,n){(Array.isArray(e.target.value)||_i(e.target.value))&&Object.assign(n.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:i,preferredOrigin:s}=yn(()=>{const S=en(t.location,e.isRtl.value),I=t.origin==="overlap"?S:t.origin==="auto"?Gt(S):en(t.origin,e.isRtl.value);return S.side===I.side&&S.align===Ht(I).align?{preferredAnchor:Gn(S),preferredOrigin:Gn(I)}:{preferredAnchor:S,preferredOrigin:I}}),[l,o,r,u]=["minWidth","minHeight","maxWidth","maxHeight"].map(S=>_(()=>{const I=parseFloat(t[S]);return isNaN(I)?1/0:I})),c=_(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset=="string"){const S=t.offset.split(" ").map(parseFloat);return S.length<2&&S.push(0),S}return typeof t.offset=="number"?[t.offset,0]:[0,0]});let m=!1,v=-1;const d=new xi(4),y=new ResizeObserver(()=>{if(!m)return;if(requestAnimationFrame(I=>{I!==v&&d.clear(),requestAnimationFrame(L=>{v=L})}),d.isFull){const I=d.values();if(Ye(I.at(-1),I.at(-3))&&!Ye(I.at(-1),I.at(-2)))return}const S=p();S&&d.push(S.flipped)});let f=new jt({x:0,y:0,width:0,height:0});W(e.target,(S,I)=>{I&&!Array.isArray(I)&&y.unobserve(I),Array.isArray(S)?Ye(S,I)||p():S&&y.observe(S)},{immediate:!0}),W(e.contentEl,(S,I)=>{I&&y.unobserve(I),S&&y.observe(S)},{immediate:!0}),ve(()=>{y.disconnect()});function p(){if(m=!1,requestAnimationFrame(()=>m=!0),!e.target.value||!e.contentEl.value)return;(Array.isArray(e.target.value)||e.target.value.offsetParent||e.target.value.getClientRects().length)&&(f=Sa(e.target.value));const S=sl(e.contentEl.value,e.isRtl.value),I=Lt(e.contentEl.value),L=Number(t.viewportMargin);I.length||(I.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(S.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),S.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const w=I.reduce((A,N)=>{const O=Ii(N);return A?new jt({x:Math.max(A.left,O.left),y:Math.max(A.top,O.top),width:Math.min(A.right,O.right)-Math.max(A.left,O.left),height:Math.min(A.bottom,O.bottom)-Math.max(A.top,O.top)}):O},void 0);t.stickToTarget?(w.x+=Math.min(L,f.x),w.y+=Math.min(L,f.y),w.width=Math.max(w.width-L*2,f.x+f.width-L),w.height=Math.max(w.height-L*2,f.y+f.height-L)):(w.x+=L,w.y+=L,w.width-=L*2,w.height-=L*2);let h={anchor:i.value,origin:s.value};function C(A){const N=new jt(S),O=ta(A.anchor,f),U=ta(A.origin,N);let{x:X,y:te}=tl(O,U);switch(A.anchor.side){case"top":te-=c.value[0];break;case"bottom":te+=c.value[0];break;case"left":X-=c.value[0];break;case"right":X+=c.value[0];break}switch(A.anchor.align){case"top":te-=c.value[1];break;case"bottom":te+=c.value[1];break;case"left":X-=c.value[1];break;case"right":X+=c.value[1];break}return N.x+=X,N.y+=te,N.width=Math.min(N.width,r.value),N.height=Math.min(N.height,u.value),{overflows:Hn(N,w),x:X,y:te}}let x=0,g=0;const R={x:0,y:0},M={x:!1,y:!1};let E=-1;for(;!(E++>10);){const{x:A,y:N,overflows:O}=C(h);x+=A,g+=N,S.x+=A,S.y+=N;{const U=jn(h.anchor),X=O.x.before||O.x.after,te=O.y.before||O.y.after;let he=!1;if(["x","y"].forEach(K=>{if(K==="x"&&X&&!M.x||K==="y"&&te&&!M.y){const $={anchor:{...h.anchor},origin:{...h.origin}},Z=K==="x"?U==="y"?Ht:Gt:U==="y"?Gt:Ht;$.anchor=Z($.anchor),$.origin=Z($.origin);const{overflows:j}=C($);(j[K].before<=O[K].before&&j[K].after<=O[K].after||j[K].before+j[K].after<(O[K].before+O[K].after)/2)&&(h=$,he=M[K]=!0)}}),he)continue}O.x.before&&(x+=O.x.before,S.x+=O.x.before),O.x.after&&(x-=O.x.after,S.x-=O.x.after),O.y.before&&(g+=O.y.before,S.y+=O.y.before),O.y.after&&(g-=O.y.after,S.y-=O.y.after);{const U=Hn(S,w);R.x=w.width-U.x.before-U.x.after,R.y=w.height-U.y.before-U.y.after,x+=U.x.before,S.x+=U.x.before,g+=U.y.before,S.y+=U.y.before}break}const V=jn(h.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${h.anchor.side} ${h.anchor.align}`,transformOrigin:`${h.origin.side} ${h.origin.align}`,top:B(Yt(g)),left:e.isRtl.value?void 0:B(Yt(x)),right:e.isRtl.value?B(Yt(-x)):void 0,minWidth:B(V==="y"?Math.min(l.value,f.width):l.value),maxWidth:B(na(Ze(R.x,l.value===1/0?0:l.value,r.value))),maxHeight:B(na(Ze(R.y,o.value===1/0?0:o.value,u.value)))}),{available:R,contentBox:S,flipped:M}}return W(()=>[i.value,s.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>p()),ce(()=>{const S=p();if(!S)return;const{available:I,contentBox:L}=S;L.height>I.y&&requestAnimationFrame(()=>{p(),requestAnimationFrame(()=>{p()})})}),{updateLocation:p}}function Yt(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function na(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let un=!0;const Bt=[];function ol(e){!un||Bt.length?(Bt.push(e),cn()):(un=!1,e(),cn())}let aa=-1;function cn(){cancelAnimationFrame(aa),aa=requestAnimationFrame(()=>{const e=Bt.shift();e&&e(),Bt.length?cn():un=!0})}const At={none:null,close:cl,block:dl,reposition:fl},rl=T({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in At}},"VOverlay-scroll-strategies");function ul(e,t){if(!Ae)return;let n;Re(async()=>{n==null||n.stop(),t.isActive.value&&e.scrollStrategy&&(n=_a(),await new Promise(a=>setTimeout(a)),n.active&&n.run(()=>{var a;typeof e.scrollStrategy=="function"?e.scrollStrategy(t,e,n):(a=At[e.scrollStrategy])==null||a.call(At,t,e,n)}))}),ve(()=>{n==null||n.stop()})}function cl(e){function t(n){e.isActive.value=!1}ja(On(e.target.value,e.contentEl.value),t)}function dl(e,t){var o;const n=(o=e.root.value)==null?void 0:o.offsetParent,a=On(e.target.value,e.contentEl.value),i=[...new Set([...Lt(a,t.contained?n:void 0),...Lt(e.contentEl.value,t.contained?n:void 0)])].filter(r=>!r.classList.contains("v-overlay-scroll-blocked")),s=window.innerWidth-document.documentElement.offsetWidth,l=(r=>Pi(r)&&r)(n||document.documentElement);l&&e.root.value.classList.add("v-overlay--scroll-blocked"),i.forEach((r,u)=>{r.style.setProperty("--v-body-scroll-x",B(-r.scrollLeft)),r.style.setProperty("--v-body-scroll-y",B(-r.scrollTop)),r!==document.documentElement&&r.style.setProperty("--v-scrollbar-offset",B(s)),r.classList.add("v-overlay-scroll-blocked")}),ve(()=>{i.forEach((r,u)=>{const c=parseFloat(r.style.getPropertyValue("--v-body-scroll-x")),m=parseFloat(r.style.getPropertyValue("--v-body-scroll-y")),v=r.style.scrollBehavior;r.style.scrollBehavior="auto",r.style.removeProperty("--v-body-scroll-x"),r.style.removeProperty("--v-body-scroll-y"),r.style.removeProperty("--v-scrollbar-offset"),r.classList.remove("v-overlay-scroll-blocked"),r.scrollLeft=-c,r.scrollTop=-m,r.style.scrollBehavior=v}),l&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function fl(e,t,n){let a=!1,i=-1,s=-1;function l(o){ol(()=>{var c,m;const r=performance.now();(m=(c=e.updateLocation).value)==null||m.call(c,o),a=(performance.now()-r)/(1e3/60)>2})}s=(typeof requestIdleCallback>"u"?o=>o():requestIdleCallback)(()=>{n.run(()=>{ja(On(e.target.value,e.contentEl.value),o=>{a?(cancelAnimationFrame(i),i=requestAnimationFrame(()=>{i=requestAnimationFrame(()=>{l(o)})})):l(o)})})}),ve(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(s),cancelAnimationFrame(i)})}function On(e,t){return Array.isArray(e)?document.elementsFromPoint(...e).find(n=>!(t!=null&&t.contains(n))):e??t}function ja(e,t){const n=[document,...Lt(e)];n.forEach(a=>{a.addEventListener("scroll",t,{passive:!0})}),ve(()=>{n.forEach(a=>{a.removeEventListener("scroll",t)})})}const vl=Symbol.for("vuetify:v-menu"),ml=T({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function gl(e,t){let n=()=>{};function a(l,o){n==null||n();const r=l?e.openDelay:e.closeDelay,u=Math.max((o==null?void 0:o.minDelay)??0,Number(r??0));return new Promise(c=>{n=Ai(u,()=>{t==null||t(l),c(l)})})}function i(){return a(!0)}function s(l){return a(!1,l)}return{clearDelay:n,runOpenDelay:i,runCloseDelay:s}}const yl=T({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...ml()},"VOverlay-activator");function hl(e,t){let{isActive:n,isTop:a,contentEl:i}=t;const s=xe("useActivator"),l=q();let o=!1,r=!1,u=!0;const c=_(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),m=_(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!c.value),{runOpenDelay:v,runCloseDelay:d}=gl(e,g=>{g===(e.openOnHover&&o||c.value&&r)&&!(e.openOnHover&&n.value&&!a.value)&&(n.value!==g&&(u=!0),n.value=g)}),y=q(),f={onClick:g=>{g.stopPropagation(),l.value=g.currentTarget||g.target,n.value||(y.value=[g.clientX,g.clientY]),n.value=!n.value},onMouseenter:g=>{o=!0,l.value=g.currentTarget||g.target,v()},onMouseleave:g=>{o=!1,d()},onFocus:g=>{Li(g.target,":focus-visible")!==!1&&(r=!0,g.stopPropagation(),l.value=g.currentTarget||g.target,v())},onBlur:g=>{r=!1,g.stopPropagation(),d({minDelay:1})}},p=_(()=>{const g={};return m.value&&(g.onClick=f.onClick),e.openOnHover&&(g.onMouseenter=f.onMouseenter,g.onMouseleave=f.onMouseleave),c.value&&(g.onFocus=f.onFocus,g.onBlur=f.onBlur),g}),S=_(()=>{const g={};if(e.openOnHover&&(g.onMouseenter=()=>{o=!0,v()},g.onMouseleave=()=>{o=!1,d()}),c.value&&(g.onFocusin=R=>{R.target.matches(":focus-visible")&&(r=!0,v())},g.onFocusout=()=>{r=!1,d({minDelay:1})}),e.closeOnContentClick){const R=Ee(vl,null);g.onClick=()=>{n.value=!1,R==null||R.closeParents()}}return g}),I=_(()=>{const g={};return e.openOnHover&&(g.onMouseenter=()=>{u&&(o=!0,u=!1,v())},g.onMouseleave=()=>{o=!1,d()}),g});W(a,g=>{var R;g&&(e.openOnHover&&!o&&(!c.value||!r)||c.value&&!r&&(!e.openOnHover||!o))&&!((R=i.value)!=null&&R.contains(document.activeElement))&&(n.value=!1)}),W(n,g=>{g||setTimeout(()=>{y.value=void 0})},{flush:"post"});const L=Un();Re(()=>{L.value&&ce(()=>{l.value=L.el})});const w=Un(),h=_(()=>e.target==="cursor"&&y.value?y.value:w.value?w.el:Ha(e.target,s)||l.value),C=_(()=>Array.isArray(h.value)?void 0:h.value);let x;return W(()=>!!e.activator,g=>{g&&Ae?(x=_a(),x.run(()=>{bl(e,s,{activatorEl:l,activatorEvents:p})})):x&&x.stop()},{flush:"post",immediate:!0}),ve(()=>{x==null||x.stop()}),{activatorEl:l,activatorRef:L,target:h,targetEl:C,targetRef:w,activatorEvents:p,contentEvents:S,scrimEvents:I}}function bl(e,t,n){let{activatorEl:a,activatorEvents:i}=n;W(()=>e.activator,(r,u)=>{if(u&&r!==u){const c=o(u);c&&l(c)}r&&ce(()=>s())},{immediate:!0}),W(()=>e.activatorProps,()=>{s()}),ve(()=>{l()});function s(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o(),u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;r&&Ei(r,Y(i.value,u))}function l(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o(),u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;r&&Vi(r,Y(i.value,u))}function o(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const u=Ha(r,t);return a.value=(u==null?void 0:u.nodeType)===Node.ELEMENT_NODE?u:void 0,a.value}}function Ha(e,t){var a,i;if(!e)return;let n;if(e==="parent"){let s=(i=(a=t==null?void 0:t.proxy)==null?void 0:a.$el)==null?void 0:i.parentNode;for(;s!=null&&s.hasAttribute("data-no-activator");)s=s.parentNode;n=s}else typeof e=="string"?n=document.querySelector(e):"$el"in e?n=e.$el:n=e;return n}const Sl=T({retainFocus:Boolean,captureFocus:Boolean,disableInitialFocus:Boolean},"focusTrap"),Et=new Map;let ia=0;function sa(e){const t=document.activeElement;if(e.key!=="Tab"||!t)return;const n=Array.from(Et.values()).filter(u=>{var v;let{isActive:c,contentEl:m}=u;return c.value&&((v=m.value)==null?void 0:v.contains(t))}).map(u=>u.contentEl.value);let a,i=t.parentElement;for(;i;){if(n.includes(i)){a=i;break}i=i.parentElement}if(!a)return;const s=xt(a).filter(u=>u.tabIndex>=0);if(!s.length)return;const l=document.activeElement;if(s.length===1&&s[0].classList.contains("v-list")&&s[0].contains(l)){e.preventDefault();return}const o=s[0],r=s[s.length-1];e.shiftKey&&(l===o||o.classList.contains("v-list")&&o.contains(l))&&(e.preventDefault(),r.focus()),!e.shiftKey&&(l===r||r.classList.contains("v-list")&&r.contains(l))&&(e.preventDefault(),o.focus())}function pl(e,t){let{isActive:n,localTop:a,activatorEl:i,contentEl:s}=t;const l=Symbol("trap");let o=!1,r=-1;async function u(){o=!0,r=window.setTimeout(()=>{o=!1},100)}async function c(d){var p;const y=d.relatedTarget,f=d.target;document.removeEventListener("pointerdown",u),document.removeEventListener("keydown",m),await ce(),n.value&&!o&&y!==f&&s.value&&se(a)&&![document,s.value].includes(f)&&!s.value.contains(f)&&((p=xt(s.value)[0])==null||p.focus())}function m(d){if(d.key==="Tab"&&(document.removeEventListener("keydown",m),n.value&&s.value&&d.target&&!s.value.contains(d.target))){const y=xt(document.documentElement);if(d.shiftKey&&d.target===y.at(0)||!d.shiftKey&&d.target===y.at(-1)){const f=xt(s.value);f.length>0&&(d.preventDefault(),f[0].focus())}}}const v=k(()=>n.value&&e.captureFocus&&!e.disableInitialFocus);Ae&&(W(()=>e.retainFocus,d=>{d?Et.set(l,{isActive:n,contentEl:s}):Et.delete(l)},{immediate:!0}),W(v,d=>{d?(document.addEventListener("pointerdown",u),document.addEventListener("focusin",c,{once:!0}),document.addEventListener("keydown",m)):(document.removeEventListener("pointerdown",u),document.removeEventListener("focusin",c),document.removeEventListener("keydown",m))},{immediate:!0}),ia++<1&&document.addEventListener("keydown",sa)),ve(()=>{Et.delete(l),clearTimeout(r),document.removeEventListener("pointerdown",u),document.removeEventListener("focusin",c),document.removeEventListener("keydown",m),--ia<1&&document.removeEventListener("keydown",sa)})}function wl(){if(!Ae)return z(!1);const{ssr:e}=Ti();if(e){const t=z(!1);return it(()=>{t.value=!0}),t}else return z(!0)}const kl=T({eager:Boolean},"lazy");function Cl(e,t){const n=z(!1),a=k(()=>n.value||e.eager||t.value);W(t,()=>n.value=!0);function i(){e.eager||(n.value=!1)}return{isBooted:n,hasContent:a,onAfterLeave:i}}function Bn(){const t=xe("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const la=Symbol.for("vuetify:stack"),dt=vt([]);function _l(e,t,n){const a=xe("useStack"),i=!n,s=Ee(la,void 0),l=vt({activeChildren:new Set});qe(la,l);const o=z(Number(se(t)));ht(e,()=>{var m;const c=(m=dt.at(-1))==null?void 0:m[1];o.value=c?c+10:Number(se(t)),i&&dt.push([a.uid,o.value]),s==null||s.activeChildren.add(a.uid),ve(()=>{if(i){const v=ae(dt).findIndex(d=>d[0]===a.uid);dt.splice(v,1)}s==null||s.activeChildren.delete(a.uid)})});const r=z(!0);i&&Re(()=>{var m;const c=((m=dt.at(-1))==null?void 0:m[0])===a.uid;setTimeout(()=>r.value=c)});const u=k(()=>!l.activeChildren.size);return{globalTop:xa(r),localTop:u,stackStyles:k(()=>({zIndex:o.value}))}}function xl(e){return{teleportTarget:_(()=>{const n=e();if(n===!0||!Ae)return;const a=n===!1?document.body:typeof n=="string"?document.querySelector(n):n;if(a==null)return;let i=[...a.children].find(s=>s.matches(".v-overlay-container"));return i||(i=document.createElement("div"),i.className="v-overlay-container",a.appendChild(i)),i})}}const Ga=T({transition:{type:null,default:"fade-transition",validator:e=>e!==!0}},"transition"),Xe=(e,t)=>{let{slots:n}=t;const{transition:a,disabled:i,group:s,...l}=e,{component:o=s?wn:Ne,...r}=tn(a)?a:{};let u;return tn(a)?u=Y(r,Oi({disabled:i,group:s}),l):u=Y({name:i||!a?"":a},l),kn(o,u,n)};function Il(){return!0}function Ua(e,t,n){if(!e||Ka(e,n)===!1)return!1;const a=wa(t);if(typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&a.host===e.target)return!1;const i=(typeof n.value=="object"&&n.value.include||(()=>[]))();return i.push(t),!i.some(s=>s==null?void 0:s.contains(e.target))}function Ka(e,t){return(typeof t.value=="object"&&t.value.closeConditional||Il)(e)}function Pl(e,t,n){const a=typeof n.value=="function"?n.value:n.value.handler;e.shadowTarget=e.target,t._clickOutside.lastMousedownWasOutside&&Ua(e,t,n)&&setTimeout(()=>{Ka(e,n)&&a&&a(e)},0)}function oa(e,t){const n=wa(e);t(document),typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&t(n)}const ra={mounted(e,t){const n=i=>Pl(i,e,t),a=i=>{e._clickOutside.lastMousedownWasOutside=Ua(i,e,t)};oa(e,i=>{i.addEventListener("click",n,!0),i.addEventListener("mousedown",a,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[t.instance.$.uid]={onClick:n,onMousedown:a}},beforeUnmount(e,t){e._clickOutside&&(oa(e,n=>{var s;if(!n||!((s=e._clickOutside)!=null&&s[t.instance.$.uid]))return;const{onClick:a,onMousedown:i}=e._clickOutside[t.instance.$.uid];n.removeEventListener("click",a,!0),n.removeEventListener("mousedown",i,!0)}),delete e._clickOutside[t.instance.$.uid])}};function Al(e){const{modelValue:t,color:n,...a}=e;return b(Ne,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&P("div",Y({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},a),null)]})}const Rn=T({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,opacity:[Number,String],noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...yl(),...ee(),...rt(),...kl(),...nl(),...rl(),...Sl(),...fe(),...Ga()},"VOverlay"),Rt=G()({name:"VOverlay",directives:{vClickOutside:ra},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...at(Rn(),["disableInitialFocus"])},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,keydown:e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,t){let{slots:n,attrs:a,emit:i}=t;const s=xe("VOverlay"),l=q(),o=q(),r=q(),u=Pe(e,"modelValue"),c=_({get:()=>u.value,set:F=>{F&&e.disabled||(u.value=F)}}),{themeClasses:m}=ye(e),{rtlClasses:v,isRtl:d}=Dt(),{hasContent:y,onAfterLeave:f}=Cl(e,c),p=Je(()=>typeof e.scrim=="string"?e.scrim:null),{globalTop:S,localTop:I,stackStyles:L}=_l(c,()=>e.zIndex,e._disableGlobalStack),{activatorEl:w,activatorRef:h,target:C,targetEl:x,targetRef:g,activatorEvents:R,contentEvents:M,scrimEvents:E}=hl(e,{isActive:c,isTop:I,contentEl:r}),{teleportTarget:V}=xl(()=>{var De,D,re;const F=e.attach||e.contained;if(F)return F;const ue=((De=w==null?void 0:w.value)==null?void 0:De.getRootNode())||((re=(D=s.proxy)==null?void 0:D.$el)==null?void 0:re.getRootNode());return ue instanceof ShadowRoot?ue:!1}),{dimensionStyles:A}=ut(e),N=wl(),{scopeId:O}=Bn();W(()=>e.disabled,F=>{F&&(c.value=!1)});const{contentStyles:U,updateLocation:X}=al(e,{isRtl:d,contentEl:r,target:C,isActive:c});ul(e,{root:l,contentEl:r,targetEl:x,target:C,isActive:c,updateLocation:X});function te(F){i("click:outside",F),e.persistent?be():c.value=!1}function he(F){return c.value&&I.value&&(!e.scrim||F.target===o.value||F instanceof MouseEvent&&F.shadowTarget===o.value)}pl(e,{isActive:c,localTop:I,contentEl:r,activatorEl:w}),Ae&&W(c,F=>{F?window.addEventListener("keydown",K):window.removeEventListener("keydown",K)},{immediate:!0}),je(()=>{Ae&&window.removeEventListener("keydown",K)});function K(F){var ue,De,D;F.key==="Escape"&&S.value&&((ue=r.value)!=null&&ue.contains(document.activeElement)||i("keydown",F),e.persistent?be():(c.value=!1,(De=r.value)!=null&&De.contains(document.activeElement)&&((D=w.value)==null||D.focus())))}function $(F){F.key==="Escape"&&!S.value||i("keydown",F)}const Z=Hs();ht(()=>e.closeOnBack,()=>{Gs(Z,F=>{S.value&&c.value?(F(!1),e.persistent?be():c.value=!1):F()})});const j=q();W(()=>c.value&&(e.absolute||e.contained)&&V.value==null,F=>{if(F){const ue=Bi(l.value);ue&&ue!==document.scrollingElement&&(j.value=ue.scrollTop)}});function be(){e.noClickAnimation||r.value&&Me(r.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:nn})}function Ue(){i("afterEnter")}function $e(){f(),i("afterLeave")}return J(()=>{var F;return P(Be,null,[(F=n.activator)==null?void 0:F.call(n,{isActive:c.value,targetRef:g,props:Y({ref:h},R.value,e.activatorProps)}),N.value&&y.value&&b(Ji,{disabled:!V.value,to:V.value},{default:()=>[P("div",Y({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":c.value,"v-overlay--contained":e.contained},m.value,v.value,e.class],style:[L.value,{"--v-overlay-opacity":e.opacity,top:B(j.value)},e.style],ref:l,onKeydown:$},O,a),[b(Al,Y({color:p,modelValue:c.value&&!!e.scrim,ref:o},E.value),null),b(Xe,{appear:!0,persisted:!0,transition:e.transition,target:C.value,onAfterEnter:Ue,onAfterLeave:$e},{default:()=>{var ue;return[ze(P("div",Y({ref:r,class:["v-overlay__content",e.contentClass],style:[A.value,U.value]},M.value,e.contentProps),[(ue=n.default)==null?void 0:ue.call(n,{isActive:c})]),[[Cn,c.value],[ra,{handler:te,closeConditional:he,include:()=>[w.value]}]])]}})])]})])}),{activatorEl:w,scrimEl:o,target:C,animateClick:be,contentEl:r,rootEl:l,globalTop:S,localTop:I,updateLocation:X}}}),Jt=Symbol("Forwarded refs");function Qt(e,t){let n=e;for(;n;){const a=Reflect.getOwnPropertyDescriptor(n,t);if(a)return a;n=Object.getPrototypeOf(n)}}function Xa(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return e[Jt]=n,new Proxy(e,{get(i,s){if(Reflect.has(i,s))return Reflect.get(i,s);if(!(typeof s=="symbol"||s.startsWith("$")||s.startsWith("__"))){for(const l of n)if(l.value&&Reflect.has(l.value,s)){const o=Reflect.get(l.value,s);return typeof o=="function"?o.bind(l.value):o}}},has(i,s){if(Reflect.has(i,s))return!0;if(typeof s=="symbol"||s.startsWith("$")||s.startsWith("__"))return!1;for(const l of n)if(l.value&&Reflect.has(l.value,s))return!0;return!1},set(i,s,l){if(Reflect.has(i,s))return Reflect.set(i,s,l);if(typeof s=="symbol"||s.startsWith("$")||s.startsWith("__"))return!1;for(const o of n)if(o.value&&Reflect.has(o.value,s))return Reflect.set(o.value,s,l);return!1},getOwnPropertyDescriptor(i,s){var o;const l=Reflect.getOwnPropertyDescriptor(i,s);if(l)return l;if(!(typeof s=="symbol"||s.startsWith("$")||s.startsWith("__"))){for(const r of n){if(!r.value)continue;const u=Qt(r.value,s)??("_"in r.value?Qt((o=r.value._)==null?void 0:o.setupState,s):void 0);if(u)return u}for(const r of n){const u=r.value&&r.value[Jt];if(!u)continue;const c=u.slice();for(;c.length;){const m=c.shift(),v=Qt(m.value,s);if(v)return v;const d=m.value&&m.value[Jt];d&&c.push(...d)}}}}})}function El(e){const t=z(e());let n=-1;function a(){clearInterval(n)}function i(){a(),ce(()=>t.value=e())}function s(l){const o=l?getComputedStyle(l):{transitionDuration:.2},r=parseFloat(o.transitionDuration)*1e3||200;if(a(),t.value<=0)return;const u=performance.now();n=window.setInterval(()=>{const c=performance.now()-u+r;t.value=Math.max(e()-c,0),t.value<=0&&a()},r)}return ve(a),{clear:a,time:t,start:s,reset:i}}const Vl=T({multiLine:Boolean,text:String,timer:[Boolean,String],timeout:{type:[Number,String],default:5e3},vertical:Boolean,...zt({location:"bottom"}),...En(),...Le(),...Ge(),...fe(),...at(Rn({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","retainFocus","captureFocus","disableInitialFocus","scrim","scrollStrategy","stickToTarget","viewportMargin"])},"VSnackbar"),Ll=G()({name:"VSnackbar",props:Vl(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const a=Pe(e,"modelValue"),{positionClasses:i}=Vn(e),{scopeId:s}=Bn(),{themeClasses:l}=ye(e),{colorClasses:o,colorStyles:r,variantClasses:u}=wt(e),{roundedClasses:c}=Te(e),m=El(()=>Number(e.timeout)),v=q(),d=q(),y=z(!1),f=z(0),p=q(),S=Ee($i,void 0);ht(()=>!!S,()=>{const E=Ri();Re(()=>{p.value=E.mainStyles.value})}),W(a,L),W(()=>e.timeout,L),it(()=>{a.value&&L()});let I=-1;function L(){m.reset(),window.clearTimeout(I);const E=Number(e.timeout);if(!a.value||E===-1)return;const V=Ni(d.value);m.start(V),I=window.setTimeout(()=>{a.value=!1},E)}function w(){m.reset(),window.clearTimeout(I)}function h(){y.value=!0,w()}function C(){y.value=!1,L()}function x(E){f.value=E.touches[0].clientY}function g(E){Math.abs(f.value-E.changedTouches[0].clientY)>50&&(a.value=!1)}function R(){y.value&&C()}const M=_(()=>e.location.split(" ").reduce((E,V)=>(E[`v-snackbar--${V}`]=!0,E),{}));return J(()=>{const E=Rt.filterProps(e),V=!!(n.default||n.text||e.text);return b(Rt,Y({ref:v,class:["v-snackbar",{"v-snackbar--active":a.value,"v-snackbar--multi-line":e.multiLine&&!e.vertical,"v-snackbar--timer":!!e.timer,"v-snackbar--vertical":e.vertical},M.value,i.value,e.class],style:[p.value,e.style]},E,{modelValue:a.value,"onUpdate:modelValue":A=>a.value=A,contentProps:Y({class:["v-snackbar__wrapper",l.value,o.value,c.value,u.value],style:[r.value],onPointerenter:h,onPointerleave:C},E.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0,onTouchstartPassive:x,onTouchend:g,onAfterLeave:R},s),{default:()=>{var A,N;return[pt(!1,"v-snackbar"),e.timer&&!y.value&&P("div",{key:"timer",class:"v-snackbar__timer"},[b(Ta,{ref:d,color:typeof e.timer=="string"?e.timer:"info",max:e.timeout,modelValue:m.time.value},null)]),V&&P("div",{key:"content",class:"v-snackbar__content",role:"status","aria-live":"polite"},[((A=n.text)==null?void 0:A.call(n))??e.text,(N=n.default)==null?void 0:N.call(n)]),n.actions&&b(ge,{defaults:{VBtn:{variant:"text",ripple:!1,slim:!0}}},{default:()=>[P("div",{class:"v-snackbar__actions"},[n.actions({isActive:a})])]})]},activator:n.activator})}),Xa({},v)}}),Tl=Qi({name:"GlobalMessage",setup(){var s;const e=q(!1),t=q(null),n={success:"mdi-check-circle",error:"mdi-alert-circle",warning:"mdi-alert",info:"mdi-information"},a={success:"success",error:"error",warning:"warning",info:"info"},i=(s=Ke==null?void 0:Ke.onSnackbar)==null?void 0:s.call(Ke,async l=>{l&&(e.value&&(e.value=!1,await ce()),t.value=l,e.value=!0)});return je(()=>i==null?void 0:i()),{snackbar:e,message:t,icons:n,colors:a}}}),Ol={class:"d-flex align-center"},Bl={class:"text-subtitle-2 font-weight-medium"},Rl={key:0,class:"text-body-2"};function Nl(e,t,n,a,i,s){var l;return Ie(),Fe(Ll,{modelValue:e.snackbar,"onUpdate:modelValue":t[1]||(t[1]=o=>e.snackbar=o),color:e.colors[(l=e.message)==null?void 0:l.type]||e.colors.info,timeout:2e3,location:"top right","multi-line":"",variant:"tonal"},{actions:ie(()=>[b(Wa,{icon:"mdi-close",variant:"text",onClick:t[0]||(t[0]=o=>e.snackbar=!1)})]),default:ie(()=>{var o,r,u,c;return[P("div",Ol,[b(_e,{icon:e.icons[(o=e.message)==null?void 0:o.type]||e.icons.info,class:"mr-2"},null,8,["icon"]),P("div",null,[P("div",Bl,Ce((r=e.message)==null?void 0:r.title),1),(u=e.message)!=null&&u.content?(Ie(),Ia("div",Rl,Ce((c=e.message)==null?void 0:c.content),1)):ln("",!0)])])]}),_:1},8,["modelValue","color"])}const Ya=Pa(Tl,[["render",Nl]]),$l=T({...ee(),...oe()},"VCardActions"),Ja=G()({name:"VCardActions",props:$l(),setup(e,t){let{slots:n}=t;return $t({VBtn:{slim:!0,variant:"text"}}),J(()=>b(e.tag,{class:H(["v-card-actions",e.class]),style:Q(e.style)},n)),{}}}),Dl=T({opacity:[Number,String],...ee(),...oe()},"VCardSubtitle"),Ml=G()({name:"VCardSubtitle",props:Dl(),setup(e,t){let{slots:n}=t;return J(()=>b(e.tag,{class:H(["v-card-subtitle",e.class]),style:Q([{"--v-card-subtitle-opacity":e.opacity},e.style])},n)),{}}}),Qa=Sn("v-card-title");function Fl(e){return{aspectStyles:_(()=>{const t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0})}}const Za=T({aspectRatio:[String,Number],contentClass:null,inline:Boolean,...ee(),...rt()},"VResponsive"),ua=G()({name:"VResponsive",props:Za(),setup(e,t){let{slots:n}=t;const{aspectStyles:a}=Fl(e),{dimensionStyles:i}=ut(e);return J(()=>{var s;return P("div",{class:H(["v-responsive",{"v-responsive--inline":e.inline},e.class]),style:Q([i.value,e.style])},[P("div",{class:"v-responsive__sizer",style:Q(a.value)},null),(s=n.additional)==null?void 0:s.call(n),n.default&&P("div",{class:H(["v-responsive__content",e.contentClass])},[n.default()])])}),{}}});function ca(e,t){if(!bn)return;const n=t.modifiers||{},a=t.value,{handler:i,options:s}=typeof a=="object"?a:{handler:a,options:{}},l=new IntersectionObserver(function(){var m;let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1?arguments[1]:void 0;const u=(m=e._observe)==null?void 0:m[t.instance.$.uid];if(!u)return;const c=o.some(v=>v.isIntersecting);i&&(!n.quiet||u.init)&&(!n.once||c||u.init)&&i(c,o,r),c&&n.once?dn(e,t):u.init=!0},s);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:l},l.observe(e)}function dn(e,t){var a;const n=(a=e._observe)==null?void 0:a[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const da={mounted:ca,unmounted:dn,updated:(e,t)=>{var n;(n=e._observe)!=null&&n[t.instance.$.uid]&&(dn(e,t),ca(e,t))}},zl=T({absolute:Boolean,alt:String,cover:Boolean,color:String,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,imageClass:null,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...Za(),...ee(),...Le(),...Ga()},"VImg"),ei=G()({name:"VImg",directives:{vIntersect:da},props:zl(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,t){let{emit:n,slots:a}=t;const{backgroundColorClasses:i,backgroundColorStyles:s}=Je(()=>e.color),{roundedClasses:l}=Te(e),o=xe("VImg"),r=z(""),u=q(),c=z(e.eager?"loading":"idle"),m=z(),v=z(),d=_(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),y=_(()=>d.value.aspect||m.value/v.value||0);W(()=>e.src,()=>{f(c.value!=="idle")}),W(y,(V,A)=>{!V&&A&&u.value&&w(u.value)}),_n(()=>f());function f(V){if(!(e.eager&&V)&&!(bn&&!V&&!e.eager)){if(c.value="loading",d.value.lazySrc){const A=new Image;A.src=d.value.lazySrc,w(A,null)}d.value.src&&ce(()=>{var A;n("loadstart",((A=u.value)==null?void 0:A.currentSrc)||d.value.src),setTimeout(()=>{var N;if(!o.isUnmounted)if((N=u.value)!=null&&N.complete){if(u.value.naturalWidth||S(),c.value==="error")return;y.value||w(u.value,null),c.value==="loading"&&p()}else y.value||w(u.value),I()})})}}function p(){var V;o.isUnmounted||(I(),w(u.value),c.value="loaded",n("load",((V=u.value)==null?void 0:V.currentSrc)||d.value.src))}function S(){var V;o.isUnmounted||(c.value="error",n("error",((V=u.value)==null?void 0:V.currentSrc)||d.value.src))}function I(){const V=u.value;V&&(r.value=V.currentSrc||V.src)}let L=-1;je(()=>{clearTimeout(L)});function w(V){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const N=()=>{if(clearTimeout(L),o.isUnmounted)return;const{naturalHeight:O,naturalWidth:U}=V;O||U?(m.value=U,v.value=O):!V.complete&&c.value==="loading"&&A!=null?L=window.setTimeout(N,A):(V.currentSrc.endsWith(".svg")||V.currentSrc.startsWith("data:image/svg+xml"))&&(m.value=1,v.value=1)};N()}const h=k(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),C=()=>{var N;if(!d.value.src||c.value==="idle")return null;const V=P("img",{class:H(["v-img__img",h.value,e.imageClass]),style:{objectPosition:e.position},crossorigin:e.crossorigin,src:d.value.src,srcset:d.value.srcset,alt:e.alt,referrerpolicy:e.referrerpolicy,draggable:e.draggable,sizes:e.sizes,ref:u,onLoad:p,onError:S},null),A=(N=a.sources)==null?void 0:N.call(a);return b(Xe,{transition:e.transition,appear:!0},{default:()=>[ze(A?P("picture",{class:"v-img__picture"},[A,V]):V,[[Cn,c.value==="loaded"]])]})},x=()=>b(Xe,{transition:e.transition},{default:()=>[d.value.lazySrc&&c.value!=="loaded"&&P("img",{class:H(["v-img__img","v-img__img--preload",h.value]),style:{objectPosition:e.position},crossorigin:e.crossorigin,src:d.value.lazySrc,alt:e.alt,referrerpolicy:e.referrerpolicy,draggable:e.draggable},null)]}),g=()=>a.placeholder?b(Xe,{transition:e.transition,appear:!0},{default:()=>[(c.value==="loading"||c.value==="error"&&!a.error)&&P("div",{class:"v-img__placeholder"},[a.placeholder()])]}):null,R=()=>a.error?b(Xe,{transition:e.transition,appear:!0},{default:()=>[c.value==="error"&&P("div",{class:"v-img__error"},[a.error()])]}):null,M=()=>e.gradient?P("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,E=z(!1);{const V=W(y,A=>{A&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{E.value=!0})}),V())})}return J(()=>{const V=ua.filterProps(e);return ze(b(ua,Y({class:["v-img",{"v-img--absolute":e.absolute,"v-img--booting":!E.value,"v-img--fit-content":e.width==="fit-content"},i.value,l.value,e.class],style:[{width:B(e.width==="auto"?m.value:e.width)},s.value,e.style]},V,{aspectRatio:y.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>P(Be,null,[b(C,null,null),b(x,null,null),b(M,null,null),b(g,null,null),b(R,null,null)]),default:a.default}),[[da,{handler:f,options:e.options},null,{once:!0}]])}),{currentSrc:r,image:u,state:c,naturalWidth:m,naturalHeight:v}}}),Wl=T({start:Boolean,end:Boolean,icon:le,image:String,text:String,...st(),...ee(),...He(),...Le(),...Mt(),...oe(),...fe(),...Ge({variant:"flat"})},"VAvatar"),Nt=G()({name:"VAvatar",props:Wl(),setup(e,t){let{slots:n}=t;const{themeClasses:a}=ye(e),{borderClasses:i}=lt(e),{colorClasses:s,colorStyles:l,variantClasses:o}=wt(e),{densityClasses:r}=ot(e),{roundedClasses:u}=Te(e),{sizeClasses:c,sizeStyles:m}=Ft(e);return J(()=>b(e.tag,{class:H(["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},a.value,i.value,s.value,r.value,u.value,c.value,o.value,e.class]),style:Q([l.value,m.value,e.style])},{default:()=>[n.default?b(ge,{key:"content-defaults",defaults:{VImg:{cover:!0,src:e.image},VIcon:{icon:e.icon}}},{default:()=>[n.default()]}):e.image?b(ei,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?b(_e,{key:"icon",icon:e.icon},null):e.text,pt(!1,"v-avatar")]})),{}}}),ql=T({appendAvatar:String,appendIcon:le,prependAvatar:String,prependIcon:le,subtitle:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},...ee(),...He(),...oe()},"VCardItem"),jl=G()({name:"VCardItem",props:ql(),setup(e,t){let{slots:n}=t;return J(()=>{const a=!!(e.prependAvatar||e.prependIcon),i=!!(a||n.prepend),s=!!(e.appendAvatar||e.appendIcon),l=!!(s||n.append),o=!!(e.title!=null||n.title),r=!!(e.subtitle!=null||n.subtitle);return b(e.tag,{class:H(["v-card-item",e.class]),style:Q(e.style)},{default:()=>{var u;return[i&&P("div",{key:"prepend",class:"v-card-item__prepend"},[n.prepend?b(ge,{key:"prepend-defaults",disabled:!a,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon}}},n.prepend):P(Be,null,[e.prependAvatar&&b(Nt,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&b(_e,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)])]),P("div",{class:"v-card-item__content"},[o&&b(Qa,{key:"title"},{default:()=>{var c;return[((c=n.title)==null?void 0:c.call(n))??Ce(e.title)]}}),r&&b(Ml,{key:"subtitle"},{default:()=>{var c;return[((c=n.subtitle)==null?void 0:c.call(n))??Ce(e.subtitle)]}}),(u=n.default)==null?void 0:u.call(n)]),l&&P("div",{key:"append",class:"v-card-item__append"},[n.append?b(ge,{key:"append-defaults",disabled:!s,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon}}},n.append):P(Be,null,[e.appendIcon&&b(_e,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&b(Nt,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)])])]}})}),{}}}),Hl=T({opacity:[Number,String],...ee(),...oe()},"VCardText"),fn=G()({name:"VCardText",props:Hl(),setup(e,t){let{slots:n}=t;return J(()=>b(e.tag,{class:H(["v-card-text",e.class]),style:Q([{"--v-card-text-opacity":e.opacity},e.style])},n)),{}}}),Gl=T({appendAvatar:String,appendIcon:le,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:le,ripple:{type:[Boolean,Object],default:!0},subtitle:{type:[String,Number,Boolean],default:void 0},text:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},...st(),...ee(),...He(),...rt(),...bt(),...Oa(),...zt(),...En(),...Le(),...Tn(),...oe(),...fe(),...Ge({variant:"elevated"})},"VCard"),fa=G()({name:"VCard",directives:{vRipple:yt},props:Gl(),setup(e,t){let{attrs:n,slots:a}=t;const{themeClasses:i}=ye(e),{borderClasses:s}=lt(e),{colorClasses:l,colorStyles:o,variantClasses:r}=wt(e),{densityClasses:u}=ot(e),{dimensionStyles:c}=ut(e),{elevationClasses:m}=St(e),{loaderClasses:v}=Ba(e),{locationStyles:d}=An(e),{positionClasses:y}=Vn(e),{roundedClasses:f}=Te(e),p=Ln(e,n),S=z(void 0);return W(()=>e.loading,(I,L)=>{S.value=!I&&typeof L=="string"?L:typeof I=="boolean"?void 0:I},{immediate:!0}),J(()=>{const I=e.link!==!1&&p.isLink.value,L=!e.disabled&&e.link!==!1&&(e.link||p.isClickable.value),w=I?"a":e.tag,h=!!(a.title||e.title!=null),C=!!(a.subtitle||e.subtitle!=null),x=h||C,g=!!(a.append||e.appendAvatar||e.appendIcon),R=!!(a.prepend||e.prependAvatar||e.prependIcon),M=!!(a.image||e.image),E=x||R||g,V=!!(a.text||e.text!=null);return ze(b(w,Y(p.linkProps,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":L},i.value,s.value,l.value,u.value,m.value,v.value,y.value,f.value,r.value,e.class],style:[o.value,c.value,d.value,{"--v-card-height":B(e.height)},e.style],onClick:L&&p.navigate.value,tabindex:e.disabled?-1:void 0}),{default:()=>{var A;return[M&&P("div",{key:"image",class:"v-card__image"},[a.image?b(ge,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},a.image):b(ei,{key:"image-img",cover:!0,src:e.image},null)]),b(Ws,{name:"v-card",active:!!e.loading,color:S.value},{default:a.loader}),E&&b(jl,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:a.item,prepend:a.prepend,title:a.title,subtitle:a.subtitle,append:a.append}),V&&b(fn,{key:"text"},{default:()=>{var N;return[((N=a.text)==null?void 0:N.call(a))??e.text]}}),(A=a.default)==null?void 0:A.call(a),a.actions&&b(Ja,null,{default:a.actions}),pt(L,"v-card")]}}),[[yt,L&&e.ripple]])}),{}}}),Ul=T({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function me(e,t,n){return G()({name:e,props:Ul({mode:n,origin:t}),setup(a,i){let{slots:s}=i;const l={onBeforeEnter(o){a.origin&&(o.style.transformOrigin=a.origin)},onLeave(o){if(a.leaveAbsolute){const{offsetTop:r,offsetLeft:u,offsetWidth:c,offsetHeight:m}=o;o._transitionInitialStyles={position:o.style.position,top:o.style.top,left:o.style.left,width:o.style.width,height:o.style.height},o.style.position="absolute",o.style.top=`${r}px`,o.style.left=`${u}px`,o.style.width=`${c}px`,o.style.height=`${m}px`}a.hideOnLeave&&o.style.setProperty("display","none","important")},onAfterLeave(o){if(a.leaveAbsolute&&(o!=null&&o._transitionInitialStyles)){const{position:r,top:u,left:c,width:m,height:v}=o._transitionInitialStyles;delete o._transitionInitialStyles,o.style.position=r||"",o.style.top=u||"",o.style.left=c||"",o.style.width=m||"",o.style.height=v||""}}};return()=>{const o=a.group?wn:Ne;return kn(o,{name:a.disabled?"":e,css:!a.disabled,...a.group?void 0:{mode:a.mode},...a.disabled?{}:l},s.default)}}})}function Nn(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return G()({name:e,props:{mode:{type:String,default:n},disabled:{type:Boolean,default:Vt()},group:Boolean,hideOnLeave:Boolean},setup(a,i){let{slots:s}=i;const l=a.group?wn:Ne;return()=>kn(l,{name:a.disabled?"":e,css:!a.disabled,...a.disabled?{}:{...t,onLeave:o=>{var r;a.hideOnLeave?o.style.setProperty("display","none","important"):(r=t.onLeave)==null||r.call(t,o)}}},s.default)}})}function $n(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y";return{onBeforeEnter(i){i._parent=i.parentNode,i._initialStyle={transition:i.style.transition,overflow:i.style.overflow,width:i.style.width,height:i.style.height}},onEnter(i){const s=i._initialStyle;if(!s)return;i.style.setProperty("transition","none","important"),i.style.overflow="hidden";const l=`${i.offsetWidth}px`,o=`${i.offsetHeight}px`;["x","both"].includes(t)&&(i.style.width="0"),["y","both"].includes(t)&&(i.style.height="0"),i.offsetHeight,i.style.transition=s.transition,e&&i._parent&&i._parent.classList.add(e),requestAnimationFrame(()=>{["x","both"].includes(t)&&(i.style.width=l),["y","both"].includes(t)&&(i.style.height=o)})},onAfterEnter:a,onEnterCancelled:a,onLeave(i){i._initialStyle={transition:"",overflow:i.style.overflow,width:i.style.width,height:i.style.height},i.style.overflow="hidden",["x","both"].includes(t)&&(i.style.width=`${i.offsetWidth}px`),["y","both"].includes(t)&&(i.style.height=`${i.offsetHeight}px`),i.offsetHeight,requestAnimationFrame(()=>{["x","both"].includes(t)&&(i.style.width="0"),["y","both"].includes(t)&&(i.style.height="0")})},onAfterLeave:n,onLeaveCancelled:n};function n(i){e&&i._parent&&i._parent.classList.remove(e),a(i)}function a(i){if(!i._initialStyle)return;const{width:s,height:l}=i._initialStyle;i.style.overflow=i._initialStyle.overflow,s!=null&&["x","both"].includes(t)&&(i.style.width=s),l!=null&&["y","both"].includes(t)&&(i.style.height=l),delete i._initialStyle}}const Kl=T({target:[Object,Array]},"v-dialog-transition"),Zt=new WeakMap,Xl=G()({name:"VDialogTransition",props:Kl(),setup(e,t){let{slots:n}=t;const a={onBeforeEnter(i){i.style.pointerEvents="none",i.style.visibility="hidden"},async onEnter(i,s){var v;await new Promise(d=>requestAnimationFrame(d)),await new Promise(d=>requestAnimationFrame(d)),i.style.visibility="";const l=ma(e.target,i),{x:o,y:r,sx:u,sy:c,speed:m}=l;if(Zt.set(i,l),Vt())Me(i,[{opacity:0},{}],{duration:125*m,easing:Xn}).finished.then(()=>s());else{const d=Me(i,[{transform:`translate(${o}px, ${r}px) scale(${u}, ${c})`,opacity:0},{}],{duration:225*m,easing:Xn});(v=va(i))==null||v.forEach(y=>{Me(y,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*m,easing:nn})}),d.finished.then(()=>s())}},onAfterEnter(i){i.style.removeProperty("pointer-events")},onBeforeLeave(i){i.style.pointerEvents="none"},async onLeave(i,s){var v;await new Promise(d=>requestAnimationFrame(d));let l;!Zt.has(i)||Array.isArray(e.target)||e.target.offsetParent||e.target.getClientRects().length?l=ma(e.target,i):l=Zt.get(i);const{x:o,y:r,sx:u,sy:c,speed:m}=l;Vt()?Me(i,[{},{opacity:0}],{duration:85*m,easing:Kn}).finished.then(()=>s()):(Me(i,[{},{transform:`translate(${o}px, ${r}px) scale(${u}, ${c})`,opacity:0}],{duration:125*m,easing:Kn}).finished.then(()=>s()),(v=va(i))==null||v.forEach(y=>{Me(y,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*m,easing:nn})}))},onAfterLeave(i){i.style.removeProperty("pointer-events")}};return()=>e.target?b(Ne,Y({name:"dialog-transition"},a,{css:!1}),n):b(Ne,{name:"dialog-transition"},n)}});function va(e){var n;const t=(n=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:n.children;return t&&[...t]}function ma(e,t){const n=Sa(e),a=pa(t),[i,s]=getComputedStyle(t).transformOrigin.split(" ").map(S=>parseFloat(S)),[l,o]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");let r=n.left+n.width/2;l==="left"||o==="left"?r-=n.width/2:(l==="right"||o==="right")&&(r+=n.width/2);let u=n.top+n.height/2;l==="top"||o==="top"?u-=n.height/2:(l==="bottom"||o==="bottom")&&(u+=n.height/2);const c=n.width/a.width,m=n.height/a.height,v=Math.max(1,c,m),d=c/v||0,y=m/v||0,f=a.width*a.height/(window.innerWidth*window.innerHeight),p=f>.12?Math.min(1.5,(f-.12)*10+1):1;return{x:r-(i+a.left),y:u-(s+a.top),sx:d,sy:y,speed:p}}me("fab-transition","center center","out-in");me("dialog-bottom-transition");me("dialog-top-transition");const zo=me("fade-transition"),Wo=me("scale-transition");me("scroll-x-transition");me("scroll-x-reverse-transition");me("scroll-y-transition");me("scroll-y-reverse-transition");me("slide-x-transition");const qo=me("slide-x-reverse-transition"),jo=me("slide-y-transition");me("slide-y-reverse-transition");const Yl=Nn("expand-transition",$n()),Ho=Nn("expand-x-transition",$n("","x"));Nn("expand-both-transition",$n("","both"));const Jl=T({fullscreen:Boolean,scrollable:Boolean,...at(Rn({captureFocus:!0,origin:"center center",scrollStrategy:"block",transition:{component:Xl},zIndex:2400,retainFocus:!0}),["disableInitialFocus"])},"VDialog"),Ql=G()({name:"VDialog",props:Jl(),emits:{"update:modelValue":e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,t){let{emit:n,slots:a}=t;const i=Pe(e,"modelValue"),{scopeId:s}=Bn(),l=q();function o(){var u;n("afterEnter"),(e.scrim||e.retainFocus)&&((u=l.value)!=null&&u.contentEl)&&!l.value.contentEl.contains(document.activeElement)&&l.value.contentEl.focus({preventScroll:!0})}function r(){n("afterLeave")}return W(i,async u=>{var c;u||(await ce(),(c=l.value.activatorEl)==null||c.focus({preventScroll:!0}))}),J(()=>{const u=Rt.filterProps(e),c=Y({"aria-haspopup":"dialog"},e.activatorProps),m=Y({tabindex:-1},e.contentProps);return b(Rt,Y({ref:l,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},u,{modelValue:i.value,"onUpdate:modelValue":v=>i.value=v,"aria-modal":"true",activatorProps:c,contentProps:m,height:e.fullscreen?void 0:e.height,width:e.fullscreen?void 0:e.width,maxHeight:e.fullscreen?void 0:e.maxHeight,maxWidth:e.fullscreen?void 0:e.maxWidth,role:"dialog",onAfterEnter:o,onAfterLeave:r},s),{activator:a.activator,default:function(){for(var v=arguments.length,d=new Array(v),y=0;y<v;y++)d[y]=arguments[y];return b(ge,{root:"VDialog"},{default:()=>{var f;return[(f=a.default)==null?void 0:f.call(a,...d)]}})}})}),Xa({},l)}}),Zl=["dotted","dashed","solid","double"],eo=T({color:String,contentOffset:[Number,String,Array],gradient:Boolean,inset:Boolean,length:[Number,String],opacity:[Number,String],thickness:[Number,String],vertical:Boolean,variant:{type:String,default:"solid",validator:e=>Zl.includes(e)},...ee(),...fe()},"VDivider"),ti=G()({name:"VDivider",props:eo(),setup(e,t){let{attrs:n,slots:a}=t;const{themeClasses:i}=ye(e),{textColorClasses:s,textColorStyles:l}=et(()=>e.color),o=_(()=>{const u={};return e.length&&(u[e.vertical?"height":"width"]=B(e.length)),e.thickness&&(u[e.vertical?"borderRightWidth":"borderTopWidth"]=B(e.thickness)),u}),r=k(()=>{const u=Array.isArray(e.contentOffset)?e.contentOffset[0]:e.contentOffset,c=Array.isArray(e.contentOffset)?e.contentOffset[1]:0;return{marginBlock:e.vertical&&u?B(u):void 0,marginInline:!e.vertical&&u?B(u):void 0,transform:c?`translate${e.vertical?"X":"Y"}(${B(c)})`:void 0}});return J(()=>{const u=P("hr",{class:H([{"v-divider":!0,"v-divider--gradient":e.gradient&&!a.default,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},i.value,s.value,e.class]),style:Q([o.value,l.value,{"--v-border-opacity":e.opacity},{"border-style":e.variant},e.style]),"aria-orientation":!n.role||n.role==="separator"?e.vertical?"vertical":"horizontal":void 0,role:`${n.role||"separator"}`},null);return a.default?P("div",{class:H(["v-divider__wrapper",{"v-divider__wrapper--gradient":e.gradient,"v-divider__wrapper--inset":e.inset,"v-divider__wrapper--vertical":e.vertical}])},[u,P("div",{class:"v-divider__content",style:Q(r.value)},[a.default()]),u]):u}),{}}}),to=Sn("v-spacer","div","VSpacer"),vn=Symbol.for("vuetify:list");function ni(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{filterable:!1};const t=Ee(vn,{filterable:!1,hasPrepend:z(!1),updateHasPrepend:()=>null,trackingIndex:z(-1),navigationStrategy:z("focus"),uid:""}),{filterable:n,trackingIndex:a=t.trackingIndex,navigationStrategy:i=t.navigationStrategy,uid:s=t.uid||pn()}=e,l={filterable:t.filterable||n,hasPrepend:z(!1),updateHasPrepend:o=>{o&&(l.hasPrepend.value=o)},trackingIndex:a,navigationStrategy:i,uid:s};return qe(vn,l),t}function ai(){return Ee(vn,null)}const Dn=e=>{const t={activate:n=>{let{id:a,value:i,activated:s}=n;return a=ae(a),e&&!i&&s.size===1&&s.has(a)||(i?s.add(a):s.delete(a)),s},in:(n,a,i)=>{let s=new Set;if(n!=null)for(const l of hn(n))s=t.activate({id:l,value:!0,activated:new Set(s),children:a,parents:i});return s},out:n=>Array.from(n)};return t},ii=e=>{const t=Dn(e);return{activate:a=>{let{activated:i,id:s,...l}=a;s=ae(s);const o=i.has(s)?new Set([s]):new Set;return t.activate({...l,id:s,activated:o})},in:(a,i,s)=>{let l=new Set;if(a!=null){const o=hn(a);o.length&&(l=t.in(o.slice(0,1),i,s))}return l},out:(a,i,s)=>t.out(a,i,s)}},no=e=>{const t=Dn(e);return{activate:a=>{let{id:i,activated:s,children:l,...o}=a;return i=ae(i),l.has(i)?s:t.activate({id:i,activated:s,children:l,...o})},in:t.in,out:t.out}},ao=e=>{const t=ii(e);return{activate:a=>{let{id:i,activated:s,children:l,...o}=a;return i=ae(i),l.has(i)?s:t.activate({id:i,activated:s,children:l,...o})},in:t.in,out:t.out}},io={open:e=>{let{id:t,value:n,opened:a,parents:i}=e;if(n){const s=new Set;s.add(t);let l=i.get(t);for(;l!=null;)s.add(l),l=i.get(l);return s}else return a.delete(t),a},select:()=>null},si={open:e=>{let{id:t,value:n,opened:a,parents:i}=e;if(n){let s=i.get(t);for(a.add(t);s!=null&&s!==t;)a.add(s),s=i.get(s);return a}else a.delete(t);return a},select:()=>null},so={open:si.open,select:e=>{let{id:t,value:n,opened:a,parents:i}=e;if(!n)return a;const s=[];let l=i.get(t);for(;l!=null;)s.push(l),l=i.get(l);return new Set(s)}},Mn=e=>{const t={select:n=>{let{id:a,value:i,selected:s}=n;if(a=ae(a),e&&!i){const l=Array.from(s.entries()).reduce((o,r)=>{let[u,c]=r;return c==="on"&&o.push(u),o},[]);if(l.length===1&&l[0]===a)return s}return s.set(a,i?"on":"off"),s},in:(n,a,i,s)=>{const l=new Map;for(const o of n||[])t.select({id:o,value:!0,selected:l,children:a,parents:i,disabled:s});return l},out:n=>{const a=[];for(const[i,s]of n.entries())s==="on"&&a.push(i);return a}};return t},li=e=>{const t=Mn(e);return{select:a=>{let{selected:i,id:s,...l}=a;s=ae(s);const o=i.has(s)?new Map([[s,i.get(s)]]):new Map;return t.select({...l,id:s,selected:o})},in:(a,i,s,l)=>a!=null&&a.length?t.in(a.slice(0,1),i,s,l):new Map,out:(a,i,s)=>t.out(a,i,s)}},lo=e=>{const t=Mn(e);return{select:a=>{let{id:i,selected:s,children:l,...o}=a;return i=ae(i),l.has(i)?s:t.select({id:i,selected:s,children:l,...o})},in:t.in,out:t.out}},oo=e=>{const t=li(e);return{select:a=>{let{id:i,selected:s,children:l,...o}=a;return i=ae(i),l.has(i)?s:t.select({id:i,selected:s,children:l,...o})},in:t.in,out:t.out}},Fn=e=>{const t={select:n=>{let{id:a,value:i,selected:s,children:l,parents:o,disabled:r}=n;a=ae(a);const u=new Map(s),c=[a];for(;c.length;){const v=c.shift();r.has(v)||s.set(ae(v),i?"on":"off"),l.has(v)&&c.push(...l.get(v))}let m=ae(o.get(a));for(;m;){let v=!0,d=!0;for(const y of l.get(m)){const f=ae(y);if(!r.has(f)&&(s.get(f)!=="on"&&(v=!1),s.has(f)&&s.get(f)!=="off"&&(d=!1),!v&&!d))break}s.set(m,v?"on":d?"off":"indeterminate"),m=ae(o.get(m))}return e&&!i&&Array.from(s.entries()).reduce((d,y)=>{let[f,p]=y;return p==="on"&&d.push(f),d},[]).length===0?u:s},in:(n,a,i)=>{let s=new Map;for(const l of n||[])s=t.select({id:l,value:!0,selected:s,children:a,parents:i,disabled:new Set});return s},out:(n,a)=>{const i=[];for(const[s,l]of n.entries())l==="on"&&!a.has(s)&&i.push(s);return i}};return t},ro=e=>{const t=Fn(e);return{select:t.select,in:t.in,out:(a,i,s)=>{const l=[];for(const[o,r]of a.entries())if(r==="on"){if(s.has(o)){const u=s.get(o);if(a.get(u)==="on")continue}l.push(o)}return l}}},uo=e=>{const n={select:Fn(e).select,in:(a,i,s,l)=>{let o=new Map;for(const r of a||[])i.has(r)||(o=n.select({id:r,value:!0,selected:o,children:i,parents:s,disabled:l}));return o},out:a=>{const i=[];for(const[s,l]of a.entries())(l==="on"||l==="indeterminate")&&i.push(s);return i}};return n},tt=Symbol.for("vuetify:nested"),oi={id:z(),root:{itemsRegistration:q("render"),register:()=>null,unregister:()=>null,updateDisabled:()=>null,children:q(new Map),parents:q(new Map),disabled:q(new Set),open:()=>null,openOnSelect:()=>null,activate:()=>null,select:()=>null,activatable:q(!1),scrollToActive:q(!1),selectable:q(!1),opened:q(new Set),activated:q(new Set),selected:q(new Map),selectedValues:q([]),getPath:()=>[]}},co=T({activatable:Boolean,selectable:Boolean,activeStrategy:[String,Function,Object],selectStrategy:[String,Function,Object],openStrategy:[String,Object],opened:null,activated:null,selected:null,mandatory:Boolean,itemsRegistration:{type:String,default:"render"}},"nested"),fo=(e,t)=>{let{items:n,returnObject:a,scrollToActive:i}=t,s=!1;const l=z(new Map),o=z(new Map),r=z(new Set),u=Pe(e,"opened",e.opened,h=>new Set(Array.isArray(h)?h.map(C=>ae(C)):h),h=>[...h.values()]),c=_(()=>{if(typeof e.activeStrategy=="object")return e.activeStrategy;if(typeof e.activeStrategy=="function")return e.activeStrategy(e.mandatory);switch(e.activeStrategy){case"leaf":return no(e.mandatory);case"single-leaf":return ao(e.mandatory);case"independent":return Dn(e.mandatory);case"single-independent":default:return ii(e.mandatory)}}),m=_(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;if(typeof e.selectStrategy=="function")return e.selectStrategy(e.mandatory);switch(e.selectStrategy){case"single-leaf":return oo(e.mandatory);case"leaf":return lo(e.mandatory);case"independent":return Mn(e.mandatory);case"single-independent":return li(e.mandatory);case"trunk":return ro(e.mandatory);case"branch":return uo(e.mandatory);case"classic":default:return Fn(e.mandatory)}}),v=_(()=>{if(typeof e.openStrategy=="object")return e.openStrategy;switch(e.openStrategy){case"list":return so;case"single":return io;case"multiple":default:return si}}),d=Pe(e,"activated",e.activated,h=>c.value.in(h,l.value,o.value),h=>c.value.out(h,l.value,o.value)),y=Pe(e,"selected",e.selected,h=>m.value.in(h,l.value,o.value,r.value),h=>m.value.out(h,l.value,o.value));je(()=>{s=!0});function f(h){const C=[];let x=ae(h);for(;x!==void 0;)C.unshift(x),x=o.value.get(x);return C}const p=xe("nested"),S=new Set,I=Di(()=>{ce(()=>{l.value=new Map(l.value),o.value=new Map(o.value)})},100);W(()=>[n.value,se(a)],()=>{e.itemsRegistration==="props"&&L()},{immediate:!0});function L(){const h=new Map,C=new Map,x=new Set,g=se(a)?E=>ae(E.raw):E=>E.value,R=[...n.value];let M=0;for(;M<R.length;){const E=R[M++],V=g(E);if(E.children){const A=[];for(const N of E.children){const O=g(N);h.set(O,V),A.push(O),R.push(N)}C.set(V,A)}E.props.disabled&&x.add(V)}l.value=C,o.value=h,r.value=x}const w={id:z(),root:{opened:u,activatable:k(()=>e.activatable),scrollToActive:k(()=>se(i)),selectable:k(()=>e.selectable),activated:d,selected:y,selectedValues:_(()=>{const h=[];for(const[C,x]of y.value.entries())x==="on"&&h.push(C);return h}),itemsRegistration:k(()=>e.itemsRegistration),register:(h,C,x,g)=>{if(S.has(h)){f(h).map(String).join(" -> "),f(C).concat(h).map(String).join(" -> ");return}else S.add(h);C&&h!==C&&o.value.set(h,C),x&&r.value.add(h),g&&l.value.set(h,[]),C!=null&&l.value.set(C,[...l.value.get(C)||[],h]),I()},unregister:h=>{if(s)return;S.delete(h),l.value.delete(h),r.value.delete(h);const C=o.value.get(h);if(C){const x=l.value.get(C)??[];l.value.set(C,x.filter(g=>g!==h))}o.value.delete(h),I()},updateDisabled:(h,C)=>{C?r.value.add(h):r.value.delete(h)},open:(h,C,x)=>{p.emit("click:open",{id:h,value:C,path:f(h),event:x});const g=v.value.open({id:h,value:C,opened:new Set(u.value),children:l.value,parents:o.value,event:x});g&&(u.value=g)},openOnSelect:(h,C,x)=>{const g=v.value.select({id:h,value:C,selected:new Map(y.value),opened:new Set(u.value),children:l.value,parents:o.value,event:x});g&&(u.value=g)},select:(h,C,x)=>{p.emit("click:select",{id:h,value:C,path:f(h),event:x});const g=m.value.select({id:h,value:C,selected:new Map(y.value),children:l.value,parents:o.value,disabled:r.value,event:x});g&&(y.value=g),w.root.openOnSelect(h,C,x)},activate:(h,C,x)=>{if(!e.activatable)return w.root.select(h,!0,x);p.emit("click:activate",{id:h,value:C,path:f(h),event:x});const g=c.value.activate({id:h,value:C,activated:new Set(d.value),children:l.value,parents:o.value,event:x});if(g.size!==d.value.size)d.value=g;else{for(const R of g)if(!d.value.has(R)){d.value=g;return}for(const R of d.value)if(!g.has(R)){d.value=g;return}}},children:l,parents:o,disabled:r,getPath:f}};return qe(tt,w),w.root},ri=(e,t,n)=>{const a=Ee(tt,oi),i=Symbol("nested item"),s=_(()=>{const o=ae(se(e));return o!==void 0?o:i}),l={...a,id:s,open:(o,r)=>a.root.open(s.value,o,r),openOnSelect:(o,r)=>a.root.openOnSelect(s.value,o,r),isOpen:_(()=>a.root.opened.value.has(s.value)),parent:_(()=>a.root.parents.value.get(s.value)),activate:(o,r)=>a.root.activate(s.value,o,r),isActivated:_(()=>a.root.activated.value.has(s.value)),scrollToActive:a.root.scrollToActive,select:(o,r)=>a.root.select(s.value,o,r),isSelected:_(()=>a.root.selected.value.get(s.value)==="on"),isIndeterminate:_(()=>a.root.selected.value.get(s.value)==="indeterminate"),isLeaf:_(()=>!a.root.children.value.get(s.value)),isGroupActivator:a.isGroupActivator};return _n(()=>{a.isGroupActivator||a.root.itemsRegistration.value==="props"||ce(()=>{a.root.register(s.value,a.id.value,se(t),n)})}),je(()=>{a.isGroupActivator||a.root.itemsRegistration.value==="props"||a.root.unregister(s.value)}),W(s,(o,r)=>{a.isGroupActivator||a.root.itemsRegistration.value==="props"||(a.root.unregister(r),ce(()=>{a.root.register(o,a.id.value,se(t),n)}))}),W(()=>se(t),o=>{a.root.updateDisabled(s.value,o)}),n&&qe(tt,l),l},vo=()=>{const e=Ee(tt,oi);qe(tt,{...e,isGroupActivator:!0})};function mo(){const e=z(!1);return it(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:k(()=>e.value?void 0:{transition:"none !important"}),isBooted:xa(e)}}const go=Mi({name:"VListGroupActivator",setup(e,t){let{slots:n}=t;return vo(),()=>{var a;return(a=n.default)==null?void 0:a.call(n)}}}),yo=T({activeColor:String,baseColor:String,color:String,collapseIcon:{type:le,default:"$collapse"},disabled:Boolean,expandIcon:{type:le,default:"$expand"},rawId:[String,Number],prependIcon:le,appendIcon:le,fluid:Boolean,subgroup:Boolean,title:String,value:null,...ee(),...oe()},"VListGroup"),ga=G()({name:"VListGroup",props:yo(),setup(e,t){let{slots:n}=t;const{isOpen:a,open:i,id:s}=ri(()=>e.value,()=>e.disabled,!0),l=_(()=>`v-list-group--id-${String(e.rawId??s.value)}`),o=ai(),{isBooted:r}=mo(),u=Ee(tt),c=k(()=>{var f;return((f=u==null?void 0:u.root)==null?void 0:f.itemsRegistration.value)==="render"});function m(f){var p;["INPUT","TEXTAREA"].includes((p=f.target)==null?void 0:p.tagName)||i(!a.value,f)}const v=_(()=>({onClick:m,class:"v-list-group__header",id:l.value})),d=_(()=>a.value?e.collapseIcon:e.expandIcon),y=_(()=>({VListItem:{activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&d.value,appendIcon:e.appendIcon||!e.subgroup&&d.value,title:e.title,value:e.value}}));return J(()=>b(e.tag,{class:H(["v-list-group",{"v-list-group--prepend":o==null?void 0:o.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":a.value},e.class]),style:Q(e.style)},{default:()=>[n.activator&&b(ge,{defaults:y.value},{default:()=>[b(go,null,{default:()=>[n.activator({props:v.value,isOpen:a.value})]})]}),b(Xe,{transition:{component:Yl},disabled:!r.value},{default:()=>{var f,p;return[c.value?ze(P("div",{class:"v-list-group__items",role:"group","aria-labelledby":l.value},[(f=n.default)==null?void 0:f.call(n)]),[[Cn,a.value]]):a.value&&P("div",{class:"v-list-group__items",role:"group","aria-labelledby":l.value},[(p=n.default)==null?void 0:p.call(n)])]}})]})),{isOpen:a}}}),ho=T({opacity:[Number,String],...ee(),...oe()},"VListItemSubtitle"),ui=G()({name:"VListItemSubtitle",props:ho(),setup(e,t){let{slots:n}=t;return J(()=>b(e.tag,{class:H(["v-list-item-subtitle",e.class]),style:Q([{"--v-list-item-subtitle-opacity":e.opacity},e.style])},n)),{}}}),ci=Sn("v-list-item-title"),bo=T({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:le,baseColor:String,disabled:Boolean,lines:[Boolean,String],link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:le,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,prependGap:[Number,String],subtitle:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},value:null,index:Number,tabindex:[Number,String],onClick:ft(),onClickOnce:ft(),...st(),...ee(),...He(),...rt(),...bt(),...Le(),...Tn(),...oe(),...fe(),...Ge({variant:"text"})},"VListItem"),mn=G()({name:"VListItem",directives:{vRipple:yt},props:bo(),emits:{click:e=>!0},setup(e,t){let{attrs:n,slots:a,emit:i}=t;const s=Ln(e,n),l=q(),o=_(()=>e.value===void 0?s.href.value:e.value),{activate:r,isActivated:u,select:c,isOpen:m,isSelected:v,isIndeterminate:d,isGroupActivator:y,root:f,parent:p,openOnSelect:S,scrollToActive:I,id:L}=ri(o,()=>e.disabled,!1),w=ai(),h=_(()=>{var D;return e.active!==!1&&(e.active||((D=s.isActive)==null?void 0:D.value)||(f.activatable.value?u.value:v.value))}),C=k(()=>e.link!==!1&&s.isLink.value),x=_(()=>!!w&&(f.selectable.value||f.activatable.value||e.value!=null)),g=_(()=>!e.disabled&&e.link!==!1&&(e.link||s.isClickable.value||x.value)),R=_(()=>w&&w.navigationStrategy.value==="track"&&e.index!==void 0&&w.trackingIndex.value===e.index),M=_(()=>w?C.value?"link":x.value?"option":"listitem":void 0),E=_(()=>{if(x.value)return f.activatable.value?u.value:f.selectable.value?v.value:h.value}),V=k(()=>e.rounded||e.nav),A=k(()=>e.color??e.activeColor),N=k(()=>({color:h.value?A.value??e.baseColor:e.baseColor,variant:e.variant}));W(()=>{var D;return(D=s.isActive)==null?void 0:D.value},D=>{D&&O()}),W(u,D=>{var re;!D||!I||(re=l.value)==null||re.scrollIntoView({block:"nearest",behavior:"instant"})}),W(R,D=>{var re;D&&((re=l.value)==null||re.scrollIntoView({block:"nearest",behavior:"instant"}))}),_n(()=>{var D;(D=s.isActive)!=null&&D.value&&ce(()=>O())});function O(){p.value!=null&&f.open(p.value,!0),S(!0)}const{themeClasses:U}=ye(e),{borderClasses:X}=lt(e),{colorClasses:te,colorStyles:he,variantClasses:K}=wt(N),{densityClasses:$}=ot(e),{dimensionStyles:Z}=ut(e),{elevationClasses:j}=St(e),{roundedClasses:be}=Te(V),Ue=k(()=>e.lines?`v-list-item--${e.lines}-line`:void 0),$e=k(()=>e.ripple!==void 0&&e.ripple&&(w!=null&&w.filterable)?{keys:["Enter"]}:e.ripple),F=_(()=>({isActive:h.value,select:c,isOpen:m.value,isSelected:v.value,isIndeterminate:d.value,isDisabled:e.disabled}));function ue(D){var re,kt,Wt;i("click",D),!["INPUT","TEXTAREA"].includes((re=D.target)==null?void 0:re.tagName)&&g.value&&((Wt=(kt=s.navigate).value)==null||Wt.call(kt,D),!y&&(f.activatable.value?r(!u.value,D):(f.selectable.value||e.value!=null&&!C.value)&&c(!v.value,D)))}function De(D){const re=D.target;["INPUT","TEXTAREA"].includes(re.tagName)||(D.key==="Enter"||D.key===" "&&!(w!=null&&w.filterable))&&(D.preventDefault(),D.stopPropagation(),D.target.dispatchEvent(new MouseEvent("click",D)))}return J(()=>{const D=C.value?"a":e.tag,re=a.title||e.title!=null,kt=a.subtitle||e.subtitle!=null,gi=!!(!!(e.appendAvatar||e.appendIcon)||a.append),qt=!!(!!(e.prependAvatar||e.prependIcon)||a.prepend);return w==null||w.updateHasPrepend(qt),e.activeColor&&Fi("active-color",["color","base-color"]),ze(b(D,Y(s.linkProps,{ref:l,id:e.index!==void 0&&w?`v-list-item-${w.uid}-${e.index}`:void 0,class:["v-list-item",{"v-list-item--active":h.value,"v-list-item--disabled":e.disabled,"v-list-item--link":g.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!qt&&(w==null?void 0:w.hasPrepend.value),"v-list-item--slim":e.slim,"v-list-item--focus-visible":R.value,[`${e.activeClass}`]:e.activeClass&&h.value},U.value,X.value,te.value,$.value,j.value,Ue.value,be.value,K.value,e.class],style:[{"--v-list-prepend-gap":B(e.prependGap)},he.value,Z.value,e.style],tabindex:e.tabindex??(g.value?w?-2:0:void 0),"aria-selected":E.value,role:M.value,onClick:ue,onKeydown:g.value&&!C.value&&De}),{default:()=>{var zn;return[pt(g.value||h.value,"v-list-item"),qt&&P("div",{key:"prepend",class:"v-list-item__prepend"},[a.prepend?b(ge,{key:"prepend-defaults",defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0},VCheckboxBtn:{density:e.density}}},{default:()=>{var Se;return[(Se=a.prepend)==null?void 0:Se.call(a,F.value)]}}):P(Be,null,[e.prependAvatar&&b(Nt,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&b(_e,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)]),P("div",{class:"v-list-item__spacer"},null)]),P("div",{class:"v-list-item__content","data-no-activator":""},[re&&b(ci,{key:"title"},{default:()=>{var Se;return[((Se=a.title)==null?void 0:Se.call(a,{title:e.title}))??Ce(e.title)]}}),kt&&b(ui,{key:"subtitle"},{default:()=>{var Se;return[((Se=a.subtitle)==null?void 0:Se.call(a,{subtitle:e.subtitle}))??Ce(e.subtitle)]}}),(zn=a.default)==null?void 0:zn.call(a,F.value)]),gi&&P("div",{key:"append",class:"v-list-item__append"},[a.append?b(ge,{key:"append-defaults",defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0},VCheckboxBtn:{density:e.density}}},{default:()=>{var Se;return[(Se=a.append)==null?void 0:Se.call(a,F.value)]}}):P(Be,null,[e.appendIcon&&b(_e,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&b(Nt,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)]),P("div",{class:"v-list-item__spacer"},null)])]}}),[[yt,g.value&&$e.value]])}),{activate:r,isActivated:u,isGroupActivator:y,isSelected:v,list:w,select:c,root:f,id:L,link:s}}}),So=T({color:String,inset:Boolean,sticky:Boolean,title:String,...ee(),...oe()},"VListSubheader"),po=G()({name:"VListSubheader",props:So(),setup(e,t){let{slots:n}=t;const{textColorClasses:a,textColorStyles:i}=et(()=>e.color);return J(()=>{const s=!!(n.default||e.title);return b(e.tag,{class:H(["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},a.value,e.class]),style:Q([{textColorStyles:i},e.style])},{default:()=>{var l;return[s&&P("div",{class:"v-list-subheader__text"},[((l=n.default)==null?void 0:l.call(n))??e.title])]}})}),{}}}),wo=T({items:Array,returnObject:Boolean},"VListChildren"),di=G()({name:"VListChildren",props:wo(),setup(e,t){let{slots:n}=t;return ni(),()=>{var a,i;return((a=n.default)==null?void 0:a.call(n))??((i=e.items)==null?void 0:i.map((s,l)=>{var d,y;let{children:o,props:r,type:u,raw:c}=s;if(u==="divider")return((d=n.divider)==null?void 0:d.call(n,{props:r}))??b(ti,r,null);if(u==="subheader")return((y=n.subheader)==null?void 0:y.call(n,{props:r}))??b(po,r,null);const m={subtitle:n.subtitle?f=>{var p;return(p=n.subtitle)==null?void 0:p.call(n,{...f,item:c})}:void 0,prepend:n.prepend?f=>{var p;return(p=n.prepend)==null?void 0:p.call(n,{...f,item:c})}:void 0,append:n.append?f=>{var p;return(p=n.append)==null?void 0:p.call(n,{...f,item:c})}:void 0,title:n.title?f=>{var p;return(p=n.title)==null?void 0:p.call(n,{...f,item:c})}:void 0},v=ga.filterProps(r);return o?b(ga,Y(v,{value:e.returnObject?c:r==null?void 0:r.value,rawId:r==null?void 0:r.value}),{activator:f=>{let{props:p}=f;const S=Y(r,p,{value:e.returnObject?c:r.value});return n.header?n.header({props:S}):b(mn,Y(S,{index:l}),m)},default:()=>b(di,{items:o,returnObject:e.returnObject},n)}):n.item?n.item({props:{...r,index:l}}):b(mn,Y(r,{index:l,value:e.returnObject?c:r.value}),m)}))}}}),ko=T({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},itemType:{type:[Boolean,String,Array,Function],default:"type"},returnObject:Boolean,valueComparator:Function},"list-items"),Co=new Set(["item","divider","subheader"]);function Qe(e,t){const n=ke(t,e.itemTitle,t),a=ke(t,e.itemValue,n),i=ke(t,e.itemChildren),s=e.itemProps===!0?typeof t=="object"&&t!=null&&!Array.isArray(t)?"children"in t?at(t,["children"]):t:void 0:ke(t,e.itemProps);let l=ke(t,e.itemType,"item");Co.has(l)||(l="item");const o={title:n,value:a,...s};return{type:l,title:String(o.title??""),value:o.value,props:o,children:l==="item"&&Array.isArray(i)?fi(e,i):void 0,raw:t}}Qe.neededProps=["itemTitle","itemValue","itemChildren","itemProps","itemType"];function fi(e,t){const n=ka(e,Qe.neededProps),a=[];for(const i of t)a.push(Qe(n,i));return a}function Go(e){const t=_(()=>fi(e,e.items)),n=_(()=>t.value.some(o=>o.value===null)),a=z(new Map),i=z([]);Re(()=>{const o=t.value,r=new Map,u=[];for(let c=0;c<o.length;c++){const m=o[c];if(an(m.value)||m.value===null){let v=r.get(m.value);v||(v=[],r.set(m.value,v)),v.push(m)}else u.push(m)}a.value=r,i.value=u});function s(o){const r=a.value,u=t.value,c=i.value,m=n.value,v=e.returnObject,d=!!e.valueComparator,y=e.valueComparator||Ye,f=ka(e,Qe.neededProps),p=[];e:for(const S of o){if(!m&&S===null)continue;if(v&&typeof S=="string"){p.push(Qe(f,S));continue}const I=r.get(S);if(d||!I){for(const L of d?u:c)if(y(S,L.value)){p.push(L);continue e}p.push(Qe(f,S));continue}p.push(...I)}return p}function l(o){return e.returnObject?o.map(r=>{let{raw:u}=r;return u}):o.map(r=>{let{value:u}=r;return u})}return{items:t,transformIn:s,transformOut:l}}const _o=new Set(["item","divider","subheader"]);function xo(e,t){const n=an(t)?t:ke(t,e.itemTitle),a=an(t)?t:ke(t,e.itemValue,void 0),i=ke(t,e.itemChildren),s=e.itemProps===!0?at(t,["children"]):ke(t,e.itemProps);let l=ke(t,e.itemType,"item");_o.has(l)||(l="item");const o={title:n,value:a,...s};return{type:l,title:o.title,value:o.value,props:o,children:l==="item"&&i?vi(e,i):void 0,raw:t}}function vi(e,t){const n=[];for(const a of t)n.push(xo(e,a));return n}function Io(e){return{items:_(()=>vi(e,e.items))}}const Po=T({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,filterable:Boolean,expandIcon:le,collapseIcon:le,lines:{type:[Boolean,String],default:"one"},slim:Boolean,prependGap:[Number,String],indent:[Number,String],nav:Boolean,navigationStrategy:{type:String,default:"focus"},navigationIndex:Number,"onClick:open":ft(),"onClick:select":ft(),"onUpdate:opened":ft(),...co({selectStrategy:"single-leaf",openStrategy:"list"}),...st(),...ee(),...He(),...rt(),...bt(),...ko(),...Le(),...oe(),...fe(),...Ge({variant:"text"})},"VList"),Ao=G()({name:"VList",props:Po(),emits:{"update:selected":e=>!0,"update:activated":e=>!0,"update:opened":e=>!0,"update:navigationIndex":e=>!0,"click:open":e=>!0,"click:activate":e=>!0,"click:select":e=>!0},setup(e,t){let{attrs:n,slots:a,emit:i}=t;const{items:s}=Io(e),{themeClasses:l}=ye(e),{backgroundColorClasses:o,backgroundColorStyles:r}=Je(()=>e.bgColor),{borderClasses:u}=lt(e),{densityClasses:c}=ot(e),{dimensionStyles:m}=ut(e),{elevationClasses:v}=St(e),{roundedClasses:d}=Te(e),{children:y,open:f,parents:p,select:S,getPath:I}=fo(e,{items:s,returnObject:k(()=>e.returnObject),scrollToActive:k(()=>e.navigationStrategy==="track")}),L=k(()=>e.lines?`v-list--${e.lines}-line`:void 0),w=k(()=>e.activeColor),h=k(()=>e.baseColor),C=k(()=>e.color),x=k(()=>e.selectable||e.activatable),g=Pe(e,"navigationIndex",-1,$=>$??-1),R=pn();ni({filterable:e.filterable,trackingIndex:g,navigationStrategy:k(()=>e.navigationStrategy),uid:R}),W(s,()=>{e.navigationStrategy==="track"&&(g.value=-1)}),$t({VListGroup:{activeColor:w,baseColor:h,color:C,expandIcon:k(()=>e.expandIcon),collapseIcon:k(()=>e.collapseIcon)},VListItem:{activeClass:k(()=>e.activeClass),activeColor:w,baseColor:h,color:C,density:k(()=>e.density),disabled:k(()=>e.disabled),lines:k(()=>e.lines),nav:k(()=>e.nav),slim:k(()=>e.slim),variant:k(()=>e.variant),tabindex:k(()=>e.navigationStrategy==="track"?-1:void 0)}});const M=z(!1),E=q();function V($){M.value=!0}function A($){M.value=!1}function N($){var Z;e.navigationStrategy==="track"?~g.value||(g.value=X("first")):!M.value&&!($.relatedTarget&&((Z=E.value)!=null&&Z.contains($.relatedTarget)))&&K()}function O(){e.navigationStrategy==="track"&&(g.value=-1)}function U($){switch($){case"ArrowDown":return"next";case"ArrowUp":return"prev";case"Home":return"first";case"End":return"last";default:return null}}function X($){const Z=s.value.length;if(Z===0)return-1;let j;$==="first"?j=0:$==="last"?j=Z-1:(j=g.value+($==="next"?1:-1),j<0&&(j=Z-1),j>=Z&&(j=0));const be=j;let Ue=0;for(;Ue<Z;){const $e=s.value[j];if($e&&$e.type!=="divider"&&$e.type!=="subheader")return j;if(j+=$==="next"||$==="first"?1:-1,j<0&&(j=Z-1),j>=Z&&(j=0),j===be)return-1;Ue++}return-1}function te($){const Z=$.target;if(!E.value||Z.tagName==="INPUT"&&["Home","End"].includes($.key)||Z.tagName==="TEXTAREA")return;const j=U($.key);if(j!==null)if($.preventDefault(),e.navigationStrategy==="track"){const be=X(j);be!==-1&&(g.value=be)}else K(j)}function he($){M.value=!0}function K($){if(E.value)return zi(E.value,$)}return J(()=>{const $=e.indent??(e.prependGap?Number(e.prependGap)+24:void 0),Z=x.value?n.ariaMultiselectable??!String(e.selectStrategy).startsWith("single-"):void 0;return b(e.tag,{ref:E,class:H(["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav,"v-list--slim":e.slim},l.value,o.value,u.value,c.value,v.value,L.value,d.value,e.class]),style:Q([{"--v-list-indent":B($),"--v-list-group-prepend":$?"0px":void 0,"--v-list-prepend-gap":B(e.prependGap)},r.value,m.value,e.style]),tabindex:e.disabled?-1:0,role:x.value?"listbox":"list","aria-activedescendant":e.navigationStrategy==="track"&&g.value>=0?`v-list-item-${R}-${g.value}`:void 0,"aria-multiselectable":Z,onFocusin:V,onFocusout:A,onFocus:N,onBlur:O,onKeydown:te,onMousedown:he},{default:()=>[b(di,{items:s.value,returnObject:e.returnObject},a)]})}),{open:f,select:S,focus:K,children:y,parents:p,getPath:I,navigationIndex:g}}});let gn=null;const mi={name:"RateLimitModal",data(){return{isVisible:!1,activeRequests:[]}},computed:{hasActiveRequests(){return this.activeRequests.length>0}},watch:{hasActiveRequests(e){this.isVisible=e}},methods:{close(){this.isVisible=!1},show(e,t,n){const a=Date.now()+Math.random().toString(36).substring(2,9),i=Math.max(0,Math.floor((new Date(e)-new Date)/1e3)),s={id:a,resetTime:e,path:t,method:n,remainingSeconds:i};this.activeRequests.push(s),this.startCountdown(a),this.isVisible=!0},startCountdown(e){const t=this.activeRequests.find(a=>a.id===e);if(!t)return;const n=setInterval(()=>{const a=this.activeRequests.findIndex(i=>i.id===e);if(a===-1){clearInterval(n);return}this.activeRequests[a].remainingSeconds--,this.activeRequests[a].remainingSeconds<=0&&(clearInterval(n),this.activeRequests.splice(a,1))},1e3);t.intervalId=n},clearAllCountdowns(){this.activeRequests.forEach(e=>{e.intervalId&&clearInterval(e.intervalId)}),this.activeRequests=[]}},beforeUnmount(){this.clearAllCountdowns()},created(){gn=this}};mi.show=function(e,t,n){gn&&gn.show(e,t,n)};const Eo=mi,Vo={class:"text-primary font-weight-bold"};function Lo(e,t,n,a,i,s){return Ie(),Fe(Ql,{modelValue:e.isVisible,"onUpdate:modelValue":t[0]||(t[0]=l=>e.isVisible=l),"max-width":"500",persistent:""},{default:ie(()=>[b(fa,{class:"rate-limit-modal"},{default:ie(()=>[b(Qa,{class:"text-center pa-4 bg-error text-white"},{default:ie(()=>[b(_e,{class:"mr-2",icon:"mdi-clock-alert-outline",size:"large"}),t[1]||(t[1]=Ct(" 请求频率超限 ",-1))]),_:1}),b(fn,{class:"pa-6"},{default:ie(()=>[t[3]||(t[3]=P("div",{class:"text-body-1 mb-4"},"您的请求过于频繁,请稍后再试。",-1)),e.activeRequests.length>0?(Ie(),Fe(fa,{key:0,class:"mb-4",flat:""},{default:ie(()=>[b(fn,null,{default:ie(()=>[(Ie(!0),Ia(Be,null,Zi(e.activeRequests,(l,o)=>(Ie(),Fe(Ao,{key:o,class:"mb-4"},{default:ie(()=>[b(mn,{color:"primary","prepend-icon":"mdi-web"},{default:ie(()=>[b(ci,null,{default:ie(()=>[t[2]||(t[2]=Ct(" 等待时间: ",-1)),P("span",Vo,Ce(l.remainingSeconds),1)]),_:2},1024),b(ui,null,{default:ie(()=>[Ct(Ce(l.method)+" "+Ce(l.path),1)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128)),e.index<e.activeRequests.length-1?(Ie(),Fe(ti,{key:0,class:"my-3"})):ln("",!0)]),_:1})]),_:1})):ln("",!0),t[4]||(t[4]=P("div",{class:"text-body-2 text-grey"}," 请在等待时间后再次尝试,或减少请求频率以避免限制。 ",-1))]),_:1}),b(Ja,{class:"pa-4 pt-0"},{default:ie(()=>[b(to),b(Wa,{color:"primary",variant:"tonal",onClick:e.close},{default:ie(()=>[...t[5]||(t[5]=[Ct(" 我知道了",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"])}const To=Pa(Eo,[["render",Lo]]),Oo=T({...ee(),...at(qi(),["fullHeight"]),...fe()},"VApp"),Bo=G()({name:"VApp",props:Oo(),setup(e,t){let{slots:n}=t;const a=ye(e),{layoutClasses:i,getLayoutItem:s,items:l,layoutRef:o}=Wi({...e,fullHeight:!0}),{rtlClasses:r}=Dt();return J(()=>{var u;return P("div",{ref:o,class:H(["v-application",a.themeClasses.value,i.value,r.value,e.class]),style:Q([e.style])},[P("div",{class:"v-application__wrap"},[(u=n.default)==null?void 0:u.call(n)])])}),{getLayoutItem:s,items:l,theme:a}}}),Ro={__name:"App",setup(e){const t=ha();return it(()=>{const n=In("theme.mode");t.global.name.value=n,window.addEventListener("beforeinstallprompt",a=>{a.preventDefault(),window.deferredPwaPrompt=a,window.dispatchEvent(new Event("pwa-prompt-ready"))})}),(n,a)=>{const i=es("router-view"),s=Ya;return Ie(),Fe(Bo,null,{default:ie(()=>[b(i,null,{default:ie(({Component:l,route:o})=>[b(Ne,{mode:"out-in",name:"md3"},{default:ie(()=>[(Ie(),Fe(Ca(l),{key:o.path}))]),_:2},1024)]),_:1}),b(s),b(To)]),_:1})}}},nt=ts(Ro);rs(nt);nt.use(Ke);nt.component("GlobalMessage",Ya);nt.mount("#app");setTimeout(()=>{ne(async()=>{const{initSentry:e}=await import("./sentry-CLY2_6wB.js");return{initSentry:e}},__vite__mapDeps([79,54,1,2,80]),import.meta.url).then(({initSentry:e})=>{const t=nt.config.globalProperties.$router;e(nt,t)}).catch(e=>{console.warn("Sentry 初始化失败:",e)})},1e3);const ya=async()=>{try{const{getVisitorId:e}=await ne(async()=>{const{getVisitorId:a}=await import("./visitorId-ZHgZAIad.js");return{getVisitorId:a}},__vite__mapDeps([54,1,2]),import.meta.url),t=(await ne(async()=>{const{default:a}=await import("./index-ghQi_28l.js");return{default:a}},[],import.meta.url)).default;t.init("rhp8uqoc3l");const n=await e();console.log("Visitor ID:",n),t.identify(n),t.setTag("fingerprintjs",n)}catch(e){console.warn("Clarity 加载或标识设置失败:",e)}};document.readyState==="complete"?ya():window.addEventListener("load",ya,{once:!0});export{As as $,Rt as A,Ta as B,Xa as C,et as D,Je as E,el as F,ot as G,Bn as H,He as I,Ml as J,Fo as K,Nt as L,Rn as M,jl as N,vs as O,ys as P,hs as Q,gl as R,Ve as S,ml as T,Yl as U,Ds as V,po as W,Ba as X,Ws as Y,Oa as Z,Pa as _,rt as a,Ps as a0,Cl as a1,Xe as a2,kl as a3,Is as a4,lt as a5,An as a6,Te as a7,ge as a8,St as a9,us as aA,cs as aB,da as aC,Ga as aD,Wo as aE,Xl as aF,ko as aG,vl as aH,Mo as aI,Le as aa,zt as ab,bt as ac,st as ad,To as ae,wt as af,Vn as ag,pt as ah,Ge as ai,En as aj,zo as ak,xs as al,yt as am,Ft as an,Ln as ao,Ho as ap,Mt as aq,Tn as ar,Hs as as,pl as at,Sl as au,Ke as av,jo as aw,qo as ax,Go as ay,Qe as az,ut as b,Qa as c,fn as d,fa as e,ne as f,In as g,_e as h,ti as i,Ao as j,mn as k,Wa as l,oe as m,Qn as n,to as o,Ql as p,Ja as q,Ll as r,ci as s,ui as t,mo as u,fs as v,gs as w,Oe as x,ua as y,ei as z};