From d0427276d3be32642126ef75d1073fc7688ad6ad Mon Sep 17 00:00:00 2001 From: Lan Date: Sat, 8 Feb 2025 21:24:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20s3=20=E4=B8=8B=E8=BD=BD=E4=B8=BA=20?= =?UTF-8?q?=E6=96=87=E6=9C=AC=20#245?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...-N15TxCCO.css => AdminLayout-BA8HwEVA.css} | 0 ...ut-BYxl-yGL.js => AdminLayout-CYVTuRyJ.js} | 6 +- ...-CsL_7F9h.js => DashboardView-hfXRelMZ.js} | 4 +- ...DrwTJQX8.js => FileManageView-BpHyAu06.js} | 4 +- ...ew-BU7fFnDZ.css => LoginView-Cf0iN_2x.css} | 0 themes/2024/assets/LoginView-Do8_BjnX.js | 1 - themes/2024/assets/LoginView-zsYUSR2Y.js | 1 + ...OLqwO.js => RetrievewFileView-B9XfNvQg.js} | 40 ++++----- .../assets/RetrievewFileView-Bf7MFUAC.css | 1 + .../assets/RetrievewFileView-DY8JwPXC.css | 1 - ...w-BpoP1hAD.js => SendFileView-Ca-fZPSX.js} | 4 +- ...BZLcepUm.css => SendFileView-CqS6mq2M.css} | 0 .../assets/SystemSettingsView-CkE-6QUZ.js | 1 - .../assets/SystemSettingsView-DUp8dOrM.js | 1 + .../2024/assets/_commonjsHelpers-BCjwediS.js | 26 ++++++ .../2024/assets/_commonjsHelpers-CRVxHcaM.js | 26 ------ .../{box-DezRNKnJ.js => box-D82IEWOS.js} | 2 +- .../{file-C8d0agNl.js => file-rOVCfWLN.js} | 2 +- themes/2024/assets/index-AS6H6npC.css | 1 - themes/2024/assets/index-BMgmatCO.js | 86 ------------------- themes/2024/assets/index-Bx419AMb.css | 1 + themes/2024/assets/index-Dm7yhqOC.js | 86 +++++++++++++++++++ .../{trash-BsECra8n.js => trash-CSx5DaSf.js} | 2 +- themes/2024/index.html | 8 +- 24 files changed, 152 insertions(+), 152 deletions(-) rename themes/2024/assets/{AdminLayout-N15TxCCO.css => AdminLayout-BA8HwEVA.css} (100%) rename themes/2024/assets/{AdminLayout-BYxl-yGL.js => AdminLayout-CYVTuRyJ.js} (77%) rename themes/2024/assets/{DashboardView-CsL_7F9h.js => DashboardView-hfXRelMZ.js} (92%) rename themes/2024/assets/{FileManageView-DrwTJQX8.js => FileManageView-BpHyAu06.js} (82%) rename themes/2024/assets/{LoginView-BU7fFnDZ.css => LoginView-Cf0iN_2x.css} (100%) delete mode 100644 themes/2024/assets/LoginView-Do8_BjnX.js create mode 100644 themes/2024/assets/LoginView-zsYUSR2Y.js rename themes/2024/assets/{RetrievewFileView-DFoOLqwO.js => RetrievewFileView-B9XfNvQg.js} (62%) create mode 100644 themes/2024/assets/RetrievewFileView-Bf7MFUAC.css delete mode 100644 themes/2024/assets/RetrievewFileView-DY8JwPXC.css rename themes/2024/assets/{SendFileView-BpoP1hAD.js => SendFileView-Ca-fZPSX.js} (93%) rename themes/2024/assets/{SendFileView-BZLcepUm.css => SendFileView-CqS6mq2M.css} (100%) delete mode 100644 themes/2024/assets/SystemSettingsView-CkE-6QUZ.js create mode 100644 themes/2024/assets/SystemSettingsView-DUp8dOrM.js create mode 100644 themes/2024/assets/_commonjsHelpers-BCjwediS.js delete mode 100644 themes/2024/assets/_commonjsHelpers-CRVxHcaM.js rename themes/2024/assets/{box-DezRNKnJ.js => box-D82IEWOS.js} (90%) rename themes/2024/assets/{file-C8d0agNl.js => file-rOVCfWLN.js} (88%) delete mode 100644 themes/2024/assets/index-AS6H6npC.css delete mode 100644 themes/2024/assets/index-BMgmatCO.js create mode 100644 themes/2024/assets/index-Bx419AMb.css create mode 100644 themes/2024/assets/index-Dm7yhqOC.js rename themes/2024/assets/{trash-BsECra8n.js => trash-CSx5DaSf.js} (95%) diff --git a/themes/2024/assets/AdminLayout-N15TxCCO.css b/themes/2024/assets/AdminLayout-BA8HwEVA.css similarity index 100% rename from themes/2024/assets/AdminLayout-N15TxCCO.css rename to themes/2024/assets/AdminLayout-BA8HwEVA.css diff --git a/themes/2024/assets/AdminLayout-BYxl-yGL.js b/themes/2024/assets/AdminLayout-CYVTuRyJ.js similarity index 77% rename from themes/2024/assets/AdminLayout-BYxl-yGL.js rename to themes/2024/assets/AdminLayout-CYVTuRyJ.js index 6e781c0..e012988 100644 --- a/themes/2024/assets/AdminLayout-BYxl-yGL.js +++ b/themes/2024/assets/AdminLayout-CYVTuRyJ.js @@ -1,4 +1,4 @@ -import{c as i,B as k,r as h,o as u,I as v,p as d,b as x,d as t,n as o,e,f as n,X as w,F as _,x as M,y as C,z,m as B,J as L,K as D,k as F,t as I}from"./index-BMgmatCO.js";import{B as j}from"./box-DezRNKnJ.js";/** +import{c as i,B as k,r as h,o as u,I as v,d as x,e as t,n as o,g as e,i as w,f as n,X as _,F as M,q as C,p as z,y as B,J as L,m as D,K as F,t as I,z as d}from"./index-Dm7yhqOC.js";import{B as j}from"./box-D82IEWOS.js";/** * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. @@ -13,9 +13,9 @@ import{c as i,B as k,r as h,o as u,I as v,p as d,b as x,d as t,n as o,e,f as n,X * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const E=i("LayoutDashboardIcon",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/** + */const q=i("LayoutDashboardIcon",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/** * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const N=i("MenuIcon",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]),R={class:"flex items-center"},Z={class:"rounded-full bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 p-1 animate-spin-slow"},q={class:"flex-1 overflow-y-auto"},A={class:"p-4 space-y-2"},H=["onClick"],J={class:"flex-1 flex flex-col min-h-screen"},K={class:"flex items-center justify-between h-16 px-4"},$=k({__name:"AdminLayout",setup(O){const c=C(),a=z("isDarkMode"),p=[{id:"Dashboard",name:"仪表盘",icon:E,redirect:"/admin/dashboard"},{id:"FileManage",name:"文件管理",icon:V,redirect:"/admin/files"},{id:"Settings",name:"系统设置",icon:S,redirect:"/admin/settings"}],s=h(!0),y=()=>{s.value=!s.value},l=()=>{window.innerWidth>=1024?s.value=!0:s.value=!1};u(()=>{l(),window.addEventListener("resize",l)}),v(()=>{window.removeEventListener("resize",l)});const m=h({page:1,size:10,total:0}),b=async()=>{try{m.value.total=85}catch(g){console.error("加载文件列表失败:",g)}};return u(()=>{b()}),(g,T)=>{const f=B("router-view");return d(),x("div",{class:o(["min-h-screen flex flex-col lg:flex-row transition-colors duration-300",[e(a)?"bg-gray-900":"bg-gray-50"]])},[t("aside",{class:o(["fixed inset-y-0 left-0 z-50 w-64 transform transition-all duration-300 ease-in-out lg:relative lg:translate-x-0 border-r",[e(a)?"bg-gray-800 bg-opacity-90 backdrop-filter backdrop-blur-xl border-gray-700":"bg-white border-gray-200",{"-translate-x-full":!s.value}]])},[t("div",{class:o(["flex items-center justify-between h-16 px-4 border-b",[e(a)?"border-gray-700":"border-gray-200"]])},[t("div",R,[t("div",Z,[t("div",{class:o(["rounded-full p-1",[e(a)?"bg-gray-800":"bg-white"]])},[n(e(j),{class:o(["w-6 h-6",[e(a)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])],2)]),t("h1",{class:o(["ml-2 text-xl font-semibold",[e(a)?"text-white":"text-gray-800"]])}," FileCodeBox ",2)]),t("button",{onClick:y,class:"lg:hidden"},[n(e(w),{class:o(["w-6 h-6",[e(a)?"text-gray-400":"text-gray-600"]])},null,8,["class"])])],2),t("nav",q,[t("ul",A,[(d(),x(_,null,M(p,r=>t("li",{key:r.id},[t("a",{onClick:U=>e(c).push(r.redirect),class:o(["flex items-center p-2 rounded-lg transition-colors duration-200",[e(c).currentRoute.value.name===r.id?e(a)?"bg-indigo-900 text-indigo-400":"bg-indigo-100 text-indigo-600":e(a)?"text-gray-400 hover:bg-gray-700":"text-gray-600 hover:bg-gray-100"]])},[(d(),L(D(r.icon),{class:"w-5 h-5 mr-3"})),F(" "+I(r.name),1)],10,H)])),64))])])],2),t("div",J,[t("header",{class:o(["shadow-md border-b transition-colors duration-300",[e(a)?"bg-gray-800 border-gray-700":"bg-white border-gray-200"]])},[t("div",K,[t("button",{onClick:y,class:"lg:hidden"},[n(e(N),{class:o(["w-6 h-6",[e(a)?"text-gray-400":"text-gray-600"]])},null,8,["class"])])])],2),t("main",{class:o(["flex-1 p-6 overflow-y-auto transition-colors duration-300",[e(a)?"bg-gray-900":"bg-gray-50"]])},[n(f)],2)])],2)}}});export{$ as default}; + */const E=i("MenuIcon",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]),N={class:"flex items-center"},R={class:"rounded-full bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 p-1 animate-spin-slow"},Z={class:"flex-1 overflow-y-auto"},A={class:"p-4 space-y-2"},H=["onClick"],J={class:"flex-1 flex flex-col min-h-screen"},K={class:"flex items-center justify-between h-16 px-4"},$=k({__name:"AdminLayout",setup(O){const c=B(),a=w("isDarkMode"),p=[{id:"Dashboard",name:"仪表盘",icon:q,redirect:"/admin/dashboard"},{id:"FileManage",name:"文件管理",icon:V,redirect:"/admin/files"},{id:"Settings",name:"系统设置",icon:S,redirect:"/admin/settings"}],s=h(!0),y=()=>{s.value=!s.value},l=()=>{window.innerWidth>=1024?s.value=!0:s.value=!1};u(()=>{l(),window.addEventListener("resize",l)}),v(()=>{window.removeEventListener("resize",l)});const m=h({page:1,size:10,total:0}),b=async()=>{try{m.value.total=85}catch(g){console.error("加载文件列表失败:",g)}};return u(()=>{b()}),(g,T)=>{const f=z("router-view");return d(),x("div",{class:o(["min-h-screen flex flex-col lg:flex-row transition-colors duration-300",[e(a)?"bg-gray-900":"bg-gray-50"]])},[t("aside",{class:o(["fixed inset-y-0 left-0 z-50 w-64 transform transition-all duration-300 ease-in-out lg:relative lg:translate-x-0 border-r",[e(a)?"bg-gray-800 bg-opacity-90 backdrop-filter backdrop-blur-xl border-gray-700":"bg-white border-gray-200",{"-translate-x-full":!s.value}]])},[t("div",{class:o(["flex items-center justify-between h-16 px-4 border-b",[e(a)?"border-gray-700":"border-gray-200"]])},[t("div",N,[t("div",R,[t("div",{class:o(["rounded-full p-1",[e(a)?"bg-gray-800":"bg-white"]])},[n(e(j),{class:o(["w-6 h-6",[e(a)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])],2)]),t("h1",{class:o(["ml-2 text-xl font-semibold",[e(a)?"text-white":"text-gray-800"]])}," FileCodeBox ",2)]),t("button",{onClick:y,class:"lg:hidden"},[n(e(_),{class:o(["w-6 h-6",[e(a)?"text-gray-400":"text-gray-600"]])},null,8,["class"])])],2),t("nav",Z,[t("ul",A,[(d(),x(M,null,C(p,r=>t("li",{key:r.id},[t("a",{onClick:U=>e(c).push(r.redirect),class:o(["flex items-center p-2 rounded-lg transition-colors duration-200",[e(c).currentRoute.value.name===r.id?e(a)?"bg-indigo-900 text-indigo-400":"bg-indigo-100 text-indigo-600":e(a)?"text-gray-400 hover:bg-gray-700":"text-gray-600 hover:bg-gray-100"]])},[(d(),L(F(r.icon),{class:"w-5 h-5 mr-3"})),D(" "+I(r.name),1)],10,H)])),64))])])],2),t("div",J,[t("header",{class:o(["shadow-md border-b transition-colors duration-300",[e(a)?"bg-gray-800 border-gray-700":"bg-white border-gray-200"]])},[t("div",K,[t("button",{onClick:y,class:"lg:hidden"},[n(e(E),{class:o(["w-6 h-6",[e(a)?"text-gray-400":"text-gray-600"]])},null,8,["class"])])])],2),t("main",{class:o(["flex-1 p-6 overflow-y-auto transition-colors duration-300",[e(a)?"bg-gray-900":"bg-gray-50"]])},[n(f)],2)])],2)}}});export{$ as default}; diff --git a/themes/2024/assets/DashboardView-CsL_7F9h.js b/themes/2024/assets/DashboardView-hfXRelMZ.js similarity index 92% rename from themes/2024/assets/DashboardView-CsL_7F9h.js rename to themes/2024/assets/DashboardView-hfXRelMZ.js index 2bed690..8d08d2a 100644 --- a/themes/2024/assets/DashboardView-CsL_7F9h.js +++ b/themes/2024/assets/DashboardView-hfXRelMZ.js @@ -1,4 +1,4 @@ -import{c as g,B as v,H as w,o as _,p,b as u,d as t,n as a,e,t as i,f as y,F as k,x as U,z as F,A as M,J as z,K as C}from"./index-BMgmatCO.js";import{F as m}from"./file-C8d0agNl.js";import{H as D,T as S}from"./trash-BsECra8n.js";/** +import{c as g,B as v,H as w,o as _,d as u,e as t,n as a,g as e,i as k,t as i,f as y,F as U,q as F,A as M,z as p,J as z,K as C}from"./index-Dm7yhqOC.js";import{F as m}from"./file-rOVCfWLN.js";import{H as D,T as S}from"./trash-CSx5DaSf.js";/** * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. @@ -18,4 +18,4 @@ import{c as g,B as v,H as w,o as _,p,b as u,d as t,n as a,e,t as i,f as y,F as k * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const I=g("UsersIcon",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]),j={class:"p-6 h-screen overflow-y-auto custom-scrollbar"},A={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8"},L={class:"flex items-center justify-between"},T={class:"flex items-center justify-between"},V={class:"flex items-center justify-between"},K={class:"flex items-center justify-between"},N={class:"p-6"},q={class:"space-y-4"},E={class:"flex-shrink-0"},G={class:"flex-1"},R=v({__name:"DashboardView",setup(J){const s=F("isDarkMode"),o=w({totalFiles:0,storageUsed:0,yesterdayCount:0,todayCount:0,yesterdaySize:0,todaySize:0,sysUptime:0}),h=[{icon:H,description:'张三上传了文件 "项目计划.pdf"',time:"10分钟前"},{icon:$,description:"新用户李四加入了系统",time:"30分钟前"},{icon:S,description:'王五删除了文件 "旧文档.doc"',time:"1小时前"},{icon:m,description:"系统自动备份完成",time:"2小时前"}],b=l=>{const r=new Date().getTime()-l,d=Math.floor(r/(24*60*60*1e3)),c=Math.floor(r%(24*60*60*1e3)/(60*60*1e3));return`${d}天${c}小时`},x=l=>{const n=parseInt(l)/1024,r=n/1024,d=r/1024,c=d/1024;return c>1?`${c.toFixed(2)}TB`:d>1?`${d.toFixed(2)}GB`:r>1?`${r.toFixed(2)}MB`:n>1?`${n.toFixed(2)}KB`:`${l}B`},f=async()=>{const l=await M.get("/admin/dashboard");o.totalFiles=l.detail.totalFiles,o.storageUsed=x(l.detail.storageUsed),o.yesterdaySize=x(l.detail.yesterdaySize),o.todaySize=x(l.detail.todaySize),o.yesterdayCount=l.detail.yesterdayCount,o.todayCount=l.detail.todayCount,o.sysUptime=b(l.detail.sysUptime)};return _(()=>{f()}),(l,n)=>(p(),u("div",j,[t("h2",{class:a(["text-2xl font-bold mb-6",[e(s)?"text-white":"text-gray-800"]])}," 仪表盘 ",2),t("div",A,[t("div",{class:a(["p-6 rounded-lg shadow-md transition-colors duration-300",[e(s)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[t("div",L,[t("div",null,[t("p",{class:a(["text-sm",[e(s)?"text-gray-400":"text-gray-600"]])}," 总文件数 ",2),t("h3",{class:a(["text-2xl font-bold mt-1",[e(s)?"text-white":"text-gray-800"]])},i(o.totalFiles),3)]),t("div",{class:a(["p-3 rounded-full",[e(s)?"bg-indigo-900":"bg-indigo-100"]])},[y(e(m),{class:a(["w-6 h-6",[e(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])],2)]),t("p",{class:a(["text-sm mt-2",[e(s)?"text-green-400":"text-green-600"]])},[t("span",{class:a([e(s)?"text-gray-400":"text-gray-600"])},"昨天:",2),t("span",null,i(o.yesterdayCount),1),t("span",{class:a(["ml-2",[e(s)?"text-gray-400":"text-gray-600"]])},"今天:",2),t("span",null,i(o.todayCount),1)],2)],2),t("div",{class:a(["p-6 rounded-lg shadow-md transition-colors duration-300",[e(s)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[t("div",T,[t("div",null,[t("p",{class:a(["text-sm",[e(s)?"text-gray-400":"text-gray-600"]])}," 存储空间 ",2),t("h3",{class:a(["text-2xl font-bold mt-1",[e(s)?"text-white":"text-gray-800"]])},i(o.storageUsed),3)]),t("div",{class:a(["p-3 rounded-full",[e(s)?"bg-purple-900":"bg-purple-100"]])},[y(e(D),{class:a(["w-6 h-6",[e(s)?"text-purple-400":"text-purple-600"]])},null,8,["class"])],2)]),t("p",{class:a(["text-sm mt-2",[e(s)?"text-green-400":"text-green-600"]])},[t("span",{class:a([e(s)?"text-gray-400":"text-gray-600"])},"昨天:",2),t("span",null,i(o.yesterdaySize),1),t("span",{class:a(["ml-2",[e(s)?"text-gray-400":"text-gray-600"]])},"今天:",2),t("span",null,i(o.todaySize),1)],2)],2),t("div",{class:a(["p-6 rounded-lg shadow-md transition-colors duration-300",[e(s)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[t("div",V,[t("div",null,[t("p",{class:a(["text-sm",[e(s)?"text-gray-400":"text-gray-600"]])}," 活跃用户 ",2),t("h3",{class:a(["text-2xl font-bold mt-1",[e(s)?"text-white":"text-gray-800"]])}," 25 ",2)]),t("div",{class:a(["p-3 rounded-full",[e(s)?"bg-green-900":"bg-green-100"]])},[y(e(I),{class:a(["w-6 h-6",[e(s)?"text-green-400":"text-green-600"]])},null,8,["class"])],2)]),t("p",{class:a(["text-sm mt-2",[e(s)?"text-red-400":"text-red-600"]])},[n[0]||(n[0]=t("span",null,"↓ 5% ",-1)),t("span",{class:a([e(s)?"text-gray-400":"text-gray-600"])},"较上周",2)],2)],2),t("div",{class:a(["p-6 rounded-lg shadow-md transition-colors duration-300",[e(s)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[t("div",K,[t("div",null,[t("p",{class:a(["text-sm",[e(s)?"text-gray-400":"text-gray-600"]])}," 系统状态 ",2),t("h3",{class:a(["text-2xl font-bold mt-1",[e(s)?"text-white":"text-gray-800"]])}," 正常 ",2)]),t("div",{class:a(["p-3 rounded-full",[e(s)?"bg-blue-900":"bg-blue-100"]])},[y(e(B),{class:a(["w-6 h-6",[e(s)?"text-blue-400":"text-blue-600"]])},null,8,["class"])],2)]),t("p",{class:a(["text-sm mt-2",[e(s)?"text-gray-400":"text-gray-600"]])}," 服务器运行时间: "+i(o.sysUptime),3)],2)]),t("div",{class:a(["rounded-lg shadow-md overflow-hidden transition-colors duration-300",[e(s)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[t("div",{class:a(["px-6 py-4 border-b",[e(s)?"border-gray-700":"border-gray-200"]])},[t("h3",{class:a(["text-lg font-medium",[e(s)?"text-white":"text-gray-800"]])}," 最近活动 ",2)],2),t("div",N,[t("div",q,[(p(),u(k,null,U(h,(r,d)=>t("div",{key:d,class:"flex items-center space-x-4"},[t("div",E,[(p(),z(C(r.icon),{class:a(["w-5 h-5",[e(s)?"text-gray-400":"text-gray-600"]])},null,8,["class"]))]),t("div",G,[t("p",{class:a([e(s)?"text-gray-300":"text-gray-700"])},i(r.description),3),t("p",{class:a(["text-sm",[e(s)?"text-gray-400":"text-gray-500"]])},i(r.time),3)])])),64))])])],2)]))}});export{R as default}; + */const I=g("UsersIcon",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]),j={class:"p-6 h-screen overflow-y-auto custom-scrollbar"},A={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8"},L={class:"flex items-center justify-between"},T={class:"flex items-center justify-between"},V={class:"flex items-center justify-between"},q={class:"flex items-center justify-between"},K={class:"p-6"},N={class:"space-y-4"},E={class:"flex-shrink-0"},G={class:"flex-1"},R=v({__name:"DashboardView",setup(J){const s=k("isDarkMode"),o=w({totalFiles:0,storageUsed:0,yesterdayCount:0,todayCount:0,yesterdaySize:0,todaySize:0,sysUptime:0}),h=[{icon:H,description:'张三上传了文件 "项目计划.pdf"',time:"10分钟前"},{icon:$,description:"新用户李四加入了系统",time:"30分钟前"},{icon:S,description:'王五删除了文件 "旧文档.doc"',time:"1小时前"},{icon:m,description:"系统自动备份完成",time:"2小时前"}],b=l=>{const r=new Date().getTime()-l,d=Math.floor(r/(24*60*60*1e3)),c=Math.floor(r%(24*60*60*1e3)/(60*60*1e3));return`${d}天${c}小时`},x=l=>{const n=parseInt(l)/1024,r=n/1024,d=r/1024,c=d/1024;return c>1?`${c.toFixed(2)}TB`:d>1?`${d.toFixed(2)}GB`:r>1?`${r.toFixed(2)}MB`:n>1?`${n.toFixed(2)}KB`:`${l}B`},f=async()=>{const l=await M.get("/admin/dashboard");o.totalFiles=l.detail.totalFiles,o.storageUsed=x(l.detail.storageUsed),o.yesterdaySize=x(l.detail.yesterdaySize),o.todaySize=x(l.detail.todaySize),o.yesterdayCount=l.detail.yesterdayCount,o.todayCount=l.detail.todayCount,o.sysUptime=b(l.detail.sysUptime)};return _(()=>{f()}),(l,n)=>(p(),u("div",j,[t("h2",{class:a(["text-2xl font-bold mb-6",[e(s)?"text-white":"text-gray-800"]])}," 仪表盘 ",2),t("div",A,[t("div",{class:a(["p-6 rounded-lg shadow-md transition-colors duration-300",[e(s)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[t("div",L,[t("div",null,[t("p",{class:a(["text-sm",[e(s)?"text-gray-400":"text-gray-600"]])}," 总文件数 ",2),t("h3",{class:a(["text-2xl font-bold mt-1",[e(s)?"text-white":"text-gray-800"]])},i(o.totalFiles),3)]),t("div",{class:a(["p-3 rounded-full",[e(s)?"bg-indigo-900":"bg-indigo-100"]])},[y(e(m),{class:a(["w-6 h-6",[e(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])],2)]),t("p",{class:a(["text-sm mt-2",[e(s)?"text-green-400":"text-green-600"]])},[t("span",{class:a([e(s)?"text-gray-400":"text-gray-600"])},"昨天:",2),t("span",null,i(o.yesterdayCount),1),t("span",{class:a(["ml-2",[e(s)?"text-gray-400":"text-gray-600"]])},"今天:",2),t("span",null,i(o.todayCount),1)],2)],2),t("div",{class:a(["p-6 rounded-lg shadow-md transition-colors duration-300",[e(s)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[t("div",T,[t("div",null,[t("p",{class:a(["text-sm",[e(s)?"text-gray-400":"text-gray-600"]])}," 存储空间 ",2),t("h3",{class:a(["text-2xl font-bold mt-1",[e(s)?"text-white":"text-gray-800"]])},i(o.storageUsed),3)]),t("div",{class:a(["p-3 rounded-full",[e(s)?"bg-purple-900":"bg-purple-100"]])},[y(e(D),{class:a(["w-6 h-6",[e(s)?"text-purple-400":"text-purple-600"]])},null,8,["class"])],2)]),t("p",{class:a(["text-sm mt-2",[e(s)?"text-green-400":"text-green-600"]])},[t("span",{class:a([e(s)?"text-gray-400":"text-gray-600"])},"昨天:",2),t("span",null,i(o.yesterdaySize),1),t("span",{class:a(["ml-2",[e(s)?"text-gray-400":"text-gray-600"]])},"今天:",2),t("span",null,i(o.todaySize),1)],2)],2),t("div",{class:a(["p-6 rounded-lg shadow-md transition-colors duration-300",[e(s)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[t("div",V,[t("div",null,[t("p",{class:a(["text-sm",[e(s)?"text-gray-400":"text-gray-600"]])}," 活跃用户 ",2),t("h3",{class:a(["text-2xl font-bold mt-1",[e(s)?"text-white":"text-gray-800"]])}," 25 ",2)]),t("div",{class:a(["p-3 rounded-full",[e(s)?"bg-green-900":"bg-green-100"]])},[y(e(I),{class:a(["w-6 h-6",[e(s)?"text-green-400":"text-green-600"]])},null,8,["class"])],2)]),t("p",{class:a(["text-sm mt-2",[e(s)?"text-red-400":"text-red-600"]])},[n[0]||(n[0]=t("span",null,"↓ 5% ",-1)),t("span",{class:a([e(s)?"text-gray-400":"text-gray-600"])},"较上周",2)],2)],2),t("div",{class:a(["p-6 rounded-lg shadow-md transition-colors duration-300",[e(s)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[t("div",q,[t("div",null,[t("p",{class:a(["text-sm",[e(s)?"text-gray-400":"text-gray-600"]])}," 系统状态 ",2),t("h3",{class:a(["text-2xl font-bold mt-1",[e(s)?"text-white":"text-gray-800"]])}," 正常 ",2)]),t("div",{class:a(["p-3 rounded-full",[e(s)?"bg-blue-900":"bg-blue-100"]])},[y(e(B),{class:a(["w-6 h-6",[e(s)?"text-blue-400":"text-blue-600"]])},null,8,["class"])],2)]),t("p",{class:a(["text-sm mt-2",[e(s)?"text-gray-400":"text-gray-600"]])}," 服务器运行时间: "+i(o.sysUptime),3)],2)]),t("div",{class:a(["rounded-lg shadow-md overflow-hidden transition-colors duration-300",[e(s)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[t("div",{class:a(["px-6 py-4 border-b",[e(s)?"border-gray-700":"border-gray-200"]])},[t("h3",{class:a(["text-lg font-medium",[e(s)?"text-white":"text-gray-800"]])}," 最近活动 ",2)],2),t("div",K,[t("div",N,[(p(),u(U,null,F(h,(r,d)=>t("div",{key:d,class:"flex items-center space-x-4"},[t("div",E,[(p(),z(C(r.icon),{class:a(["w-5 h-5",[e(s)?"text-gray-400":"text-gray-600"]])},null,8,["class"]))]),t("div",G,[t("p",{class:a([e(s)?"text-gray-300":"text-gray-700"])},i(r.description),3),t("p",{class:a(["text-sm",[e(s)?"text-gray-400":"text-gray-500"]])},i(r.time),3)])])),64))])])],2)]))}});export{R as default}; diff --git a/themes/2024/assets/FileManageView-DrwTJQX8.js b/themes/2024/assets/FileManageView-BpHyAu06.js similarity index 82% rename from themes/2024/assets/FileManageView-DrwTJQX8.js rename to themes/2024/assets/FileManageView-BpHyAu06.js index 8e1a4ce..5e43b8f 100644 --- a/themes/2024/assets/FileManageView-DrwTJQX8.js +++ b/themes/2024/assets/FileManageView-BpHyAu06.js @@ -1,6 +1,6 @@ -import{c as j,B as T,u as A,r as _,a as k,p as c,b as g,d as t,n as o,e as a,h as P,v as q,f as m,k as H,F as v,x as w,t as d,z as I,A as S}from"./index-BMgmatCO.js";import{F as L}from"./file-C8d0agNl.js";/** +import{c as V,B as T,u as q,r as _,b as k,d as c,e as t,n as o,g as a,i as A,j as P,f as m,v as H,m as I,F as v,q as w,t as d,A as S,z as g}from"./index-Dm7yhqOC.js";import{F as L}from"./file-rOVCfWLN.js";/** * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const M=j("SearchIcon",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]),E={class:"p-6 h-screen overflow-y-auto custom-scrollbar"},U={class:"mb-6 flex flex-col sm:flex-row gap-4 items-start sm:items-center justify-between"},Y={class:"flex flex-1 gap-4"},G={class:"relative flex-1"},J={class:"flex gap-4"},K={class:"overflow-x-auto"},O={class:"px-6 py-4 whitespace-nowrap"},Q={class:"flex items-center"},R={class:"px-6 py-4 whitespace-nowrap"},W={class:"flex items-center"},X={class:"px-6 py-4 whitespace-nowrap"},Z={class:"px-6 py-4 whitespace-nowrap"},N={class:"px-6 py-4 whitespace-nowrap"},tt={class:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},et=["onClick"],at={class:"flex items-center space-x-2"},st=["disabled"],rt={class:"flex items-center space-x-1"},ot=["onClick"],lt=["disabled"],ct=T({__name:"FileManageView",setup(nt){const C=A();function $(n){const l=new Date(n),e=l.getFullYear(),i=(l.getMonth()+1).toString().padStart(2,"0"),x=l.getDate().toString().padStart(2,"0"),h=l.getHours().toString().padStart(2,"0"),y=l.getMinutes().toString().padStart(2,"0"),V=l.getSeconds().toString().padStart(2,"0");return`${e}-${i}-${x} ${h}:${y}:${V}`}const r=I("isDarkMode"),f=_([]),F=["取件码","名称","大小","描述","过期时间","操作"],s=_({page:1,size:10,total:0,keyword:""}),z=async n=>{try{await S({url:"/admin/file/delete",method:"delete",data:{id:n}}),await p()}catch(l){console.error("删除失败:",l)}},p=async()=>{try{const n=await S({url:"/admin/file/list",method:"get",params:s.value});f.value=n.detail.data,s.value.total=n.detail.total,C.showAlert("加载成功","success")}catch(n){console.error("加载文件列表失败:",n)}},b=async n=>{n<1||n>u.value||(s.value.page=n,await p())};p();const u=k(()=>Math.ceil(s.value.total/s.value.size)),D=k(()=>{const n=s.value.page,l=u.value,e=2;let i=[];i.push(1);let x=Math.max(2,n-e),h=Math.min(l-1,n+e);x>2&&i.push("...");for(let y=x;y<=h;y++)i.push(y);return h1&&i.push(l),i}),B=async()=>{s.value.page=1,await p()};return(n,l)=>(c(),g("div",E,[t("h2",{class:o(["text-2xl font-bold mb-6",[a(r)?"text-white":"text-gray-800"]])}," 文件管理 ",2),t("div",U,[t("div",Y,[t("div",G,[P(t("input",{type:"text","onUpdate:modelValue":l[0]||(l[0]=e=>s.value.keyword=e),class:o([[a(r)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400":"bg-white border-gray-300 text-gray-900 placeholder-gray-400"],"w-full pl-10 pr-4 py-2 rounded-lg border focus:ring-2 focus:ring-indigo-500 focus:border-transparent"]),placeholder:"搜索文件..."},null,2),[[q,s.value.keyword]]),m(a(M),{class:o(["absolute left-3 top-2.5 w-5 h-5",[a(r)?"text-gray-400":"text-gray-500"]])},null,8,["class"])])]),t("div",J,[t("button",{onClick:B,class:"flex items-center px-4 py-2 rounded-lg bg-indigo-600 text-white hover:bg-indigo-700 transition-colors duration-200"},[m(a(M),{class:"w-5 h-5 mr-2"}),l[3]||(l[3]=H(" 搜索 "))])])]),t("div",{class:o(["rounded-lg shadow-md overflow-hidden transition-colors duration-300",[a(r)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[t("div",{class:o(["px-6 py-4 border-b",[a(r)?"border-gray-700":"border-gray-200"]])},[t("h3",{class:o(["text-lg font-medium",[a(r)?"text-white":"text-gray-800"]])}," 所有文件 ",2)],2),t("div",K,[t("table",{class:o(["min-w-full divide-y",[a(r)?"divide-gray-700":"divide-gray-200"]])},[t("thead",{class:o([a(r)?"bg-gray-900":"bg-gray-100"])},[t("tr",null,[(c(),g(v,null,w(F,e=>t("th",{key:e,class:o(["px-6 py-3 text-left text-xs font-medium uppercase tracking-wider",[a(r)?"text-gray-400":"text-gray-500"]])},d(e),3)),64))])],2),t("tbody",{class:o([a(r)?"bg-gray-800 divide-y divide-gray-700":"bg-white divide-y divide-gray-200"])},[(c(!0),g(v,null,w(f.value,e=>(c(),g("tr",{key:e.id},[t("td",O,[t("div",Q,[t("span",{class:o(["font-medium",[a(r)?"text-white":"text-gray-900"]])},d(e.code),3)])]),t("td",R,[t("div",W,[m(a(L),{class:o(["w-5 h-5 mr-2",[a(r)?"text-indigo-400":"text-indigo-500"]])},null,8,["class"]),t("span",{class:o(["font-medium",[a(r)?"text-white":"text-gray-900"]])},d(e.prefix),3)])]),t("td",X,[t("span",{class:o([a(r)?"text-gray-400":"text-gray-500"])},d(Math.round(e.size/1024/1024*100)/100)+"MB ",3)]),t("td",Z,[t("span",{class:o([a(r)?"text-gray-400":"text-gray-500"])},d(e.text),3)]),t("td",N,[t("span",{class:o([a(r)?"text-gray-400":"text-gray-500"])},d(e.expired_at?$(e.expired_at):"永久"),3)]),t("td",tt,[t("button",{onClick:i=>z(e.id),class:o(["transition-colors duration-200",[a(r)?"text-red-400 hover:text-red-300":"text-red-600 hover:text-red-900"]])}," 删除 ",10,et)])]))),128))],2)],2)])],2),t("div",{class:o(["mt-4 flex items-center justify-between px-6 py-3 border-t",[a(r)?"border-gray-700":"border-gray-200"]])},[t("div",{class:o(["flex items-center text-sm",[a(r)?"text-gray-400":"text-gray-500"]])}," 显示第 "+d((s.value.page-1)*s.value.size+1)+" 到 "+d(Math.min(s.value.page*s.value.size,s.value.total))+" 条,共 "+d(s.value.total)+" 条 ",3),t("div",at,[t("button",{onClick:l[1]||(l[1]=e=>b(s.value.page-1)),disabled:s.value.page===1,class:o(["px-3 py-1 rounded-md transition-colors duration-200",[a(r)?s.value.page===1?"bg-gray-700 text-gray-500 cursor-not-allowed":"bg-gray-700 text-gray-300 hover:bg-gray-600":s.value.page===1?"bg-gray-100 text-gray-400 cursor-not-allowed":"bg-gray-100 text-gray-700 hover:bg-gray-200"]])}," 上一页 ",10,st),t("div",rt,[(c(!0),g(v,null,w(D.value,e=>(c(),g(v,{key:e},[e!=="..."?(c(),g("button",{key:0,onClick:i=>b(e),class:o(["px-3 py-1 rounded-md transition-colors duration-200",[s.value.page===e?"bg-indigo-600 text-white":a(r)?"bg-gray-700 text-gray-300 hover:bg-gray-600":"bg-gray-100 text-gray-700 hover:bg-gray-200"]])},d(e),11,ot)):(c(),g("span",{key:1,class:o(["px-2",[a(r)?"text-gray-400":"text-gray-500"]])}," ... ",2))],64))),128))]),t("button",{onClick:l[2]||(l[2]=e=>b(s.value.page+1)),disabled:s.value.page>=u.value,class:o(["px-3 py-1 rounded-md transition-colors duration-200",[a(r)?s.value.page>=u.value?"bg-gray-700 text-gray-500 cursor-not-allowed":"bg-gray-700 text-gray-300 hover:bg-gray-600":s.value.page>=u.value?"bg-gray-100 text-gray-400 cursor-not-allowed":"bg-gray-100 text-gray-700 hover:bg-gray-200"]])}," 下一页 ",10,lt)])],2)]))}});export{ct as default}; + */const M=V("SearchIcon",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]),E={class:"p-6 h-screen overflow-y-auto custom-scrollbar"},U={class:"mb-6 flex flex-col sm:flex-row gap-4 items-start sm:items-center justify-between"},Y={class:"flex flex-1 gap-4"},G={class:"relative flex-1"},J={class:"flex gap-4"},K={class:"overflow-x-auto"},O={class:"px-6 py-4 whitespace-nowrap"},Q={class:"flex items-center"},R={class:"px-6 py-4 whitespace-nowrap"},W={class:"flex items-center"},X={class:"px-6 py-4 whitespace-nowrap"},Z={class:"px-6 py-4 whitespace-nowrap"},N={class:"px-6 py-4 whitespace-nowrap"},tt={class:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},et=["onClick"],at={class:"flex items-center space-x-2"},st=["disabled"],rt={class:"flex items-center space-x-1"},ot=["onClick"],lt=["disabled"],ct=T({__name:"FileManageView",setup(nt){const C=q();function $(n){const l=new Date(n),e=l.getFullYear(),i=(l.getMonth()+1).toString().padStart(2,"0"),x=l.getDate().toString().padStart(2,"0"),h=l.getHours().toString().padStart(2,"0"),y=l.getMinutes().toString().padStart(2,"0"),B=l.getSeconds().toString().padStart(2,"0");return`${e}-${i}-${x} ${h}:${y}:${B}`}const r=A("isDarkMode"),f=_([]),F=["取件码","名称","大小","描述","过期时间","操作"],s=_({page:1,size:10,total:0,keyword:""}),z=async n=>{try{await S({url:"/admin/file/delete",method:"delete",data:{id:n}}),await p()}catch(l){console.error("删除失败:",l)}},p=async()=>{try{const n=await S({url:"/admin/file/list",method:"get",params:s.value});f.value=n.detail.data,s.value.total=n.detail.total,C.showAlert("加载成功","success")}catch(n){console.error("加载文件列表失败:",n)}},b=async n=>{n<1||n>u.value||(s.value.page=n,await p())};p();const u=k(()=>Math.ceil(s.value.total/s.value.size)),D=k(()=>{const n=s.value.page,l=u.value,e=2;let i=[];i.push(1);let x=Math.max(2,n-e),h=Math.min(l-1,n+e);x>2&&i.push("...");for(let y=x;y<=h;y++)i.push(y);return h1&&i.push(l),i}),j=async()=>{s.value.page=1,await p()};return(n,l)=>(g(),c("div",E,[t("h2",{class:o(["text-2xl font-bold mb-6",[a(r)?"text-white":"text-gray-800"]])}," 文件管理 ",2),t("div",U,[t("div",Y,[t("div",G,[P(t("input",{type:"text","onUpdate:modelValue":l[0]||(l[0]=e=>s.value.keyword=e),class:o([[a(r)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400":"bg-white border-gray-300 text-gray-900 placeholder-gray-400"],"w-full pl-10 pr-4 py-2 rounded-lg border focus:ring-2 focus:ring-indigo-500 focus:border-transparent"]),placeholder:"搜索文件..."},null,2),[[H,s.value.keyword]]),m(a(M),{class:o(["absolute left-3 top-2.5 w-5 h-5",[a(r)?"text-gray-400":"text-gray-500"]])},null,8,["class"])])]),t("div",J,[t("button",{onClick:j,class:"flex items-center px-4 py-2 rounded-lg bg-indigo-600 text-white hover:bg-indigo-700 transition-colors duration-200"},[m(a(M),{class:"w-5 h-5 mr-2"}),l[3]||(l[3]=I(" 搜索 "))])])]),t("div",{class:o(["rounded-lg shadow-md overflow-hidden transition-colors duration-300",[a(r)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[t("div",{class:o(["px-6 py-4 border-b",[a(r)?"border-gray-700":"border-gray-200"]])},[t("h3",{class:o(["text-lg font-medium",[a(r)?"text-white":"text-gray-800"]])}," 所有文件 ",2)],2),t("div",K,[t("table",{class:o(["min-w-full divide-y",[a(r)?"divide-gray-700":"divide-gray-200"]])},[t("thead",{class:o([a(r)?"bg-gray-900":"bg-gray-100"])},[t("tr",null,[(g(),c(v,null,w(F,e=>t("th",{key:e,class:o(["px-6 py-3 text-left text-xs font-medium uppercase tracking-wider",[a(r)?"text-gray-400":"text-gray-500"]])},d(e),3)),64))])],2),t("tbody",{class:o([a(r)?"bg-gray-800 divide-y divide-gray-700":"bg-white divide-y divide-gray-200"])},[(g(!0),c(v,null,w(f.value,e=>(g(),c("tr",{key:e.id},[t("td",O,[t("div",Q,[t("span",{class:o(["font-medium",[a(r)?"text-white":"text-gray-900"]])},d(e.code),3)])]),t("td",R,[t("div",W,[m(a(L),{class:o(["w-5 h-5 mr-2",[a(r)?"text-indigo-400":"text-indigo-500"]])},null,8,["class"]),t("span",{class:o(["font-medium",[a(r)?"text-white":"text-gray-900"]])},d(e.prefix),3)])]),t("td",X,[t("span",{class:o([a(r)?"text-gray-400":"text-gray-500"])},d(Math.round(e.size/1024/1024*100)/100)+"MB ",3)]),t("td",Z,[t("span",{class:o([a(r)?"text-gray-400":"text-gray-500"])},d(e.text),3)]),t("td",N,[t("span",{class:o([a(r)?"text-gray-400":"text-gray-500"])},d(e.expired_at?$(e.expired_at):"永久"),3)]),t("td",tt,[t("button",{onClick:i=>z(e.id),class:o(["transition-colors duration-200",[a(r)?"text-red-400 hover:text-red-300":"text-red-600 hover:text-red-900"]])}," 删除 ",10,et)])]))),128))],2)],2)])],2),t("div",{class:o(["mt-4 flex items-center justify-between px-6 py-3 border-t",[a(r)?"border-gray-700":"border-gray-200"]])},[t("div",{class:o(["flex items-center text-sm",[a(r)?"text-gray-400":"text-gray-500"]])}," 显示第 "+d((s.value.page-1)*s.value.size+1)+" 到 "+d(Math.min(s.value.page*s.value.size,s.value.total))+" 条,共 "+d(s.value.total)+" 条 ",3),t("div",at,[t("button",{onClick:l[1]||(l[1]=e=>b(s.value.page-1)),disabled:s.value.page===1,class:o(["px-3 py-1 rounded-md transition-colors duration-200",[a(r)?s.value.page===1?"bg-gray-700 text-gray-500 cursor-not-allowed":"bg-gray-700 text-gray-300 hover:bg-gray-600":s.value.page===1?"bg-gray-100 text-gray-400 cursor-not-allowed":"bg-gray-100 text-gray-700 hover:bg-gray-200"]])}," 上一页 ",10,st),t("div",rt,[(g(!0),c(v,null,w(D.value,e=>(g(),c(v,{key:e},[e!=="..."?(g(),c("button",{key:0,onClick:i=>b(e),class:o(["px-3 py-1 rounded-md transition-colors duration-200",[s.value.page===e?"bg-indigo-600 text-white":a(r)?"bg-gray-700 text-gray-300 hover:bg-gray-600":"bg-gray-100 text-gray-700 hover:bg-gray-200"]])},d(e),11,ot)):(g(),c("span",{key:1,class:o(["px-2",[a(r)?"text-gray-400":"text-gray-500"]])}," ... ",2))],64))),128))]),t("button",{onClick:l[2]||(l[2]=e=>b(s.value.page+1)),disabled:s.value.page>=u.value,class:o(["px-3 py-1 rounded-md transition-colors duration-200",[a(r)?s.value.page>=u.value?"bg-gray-700 text-gray-500 cursor-not-allowed":"bg-gray-700 text-gray-300 hover:bg-gray-600":s.value.page>=u.value?"bg-gray-100 text-gray-400 cursor-not-allowed":"bg-gray-100 text-gray-700 hover:bg-gray-200"]])}," 下一页 ",10,lt)])],2)]))}});export{ct as default}; diff --git a/themes/2024/assets/LoginView-BU7fFnDZ.css b/themes/2024/assets/LoginView-Cf0iN_2x.css similarity index 100% rename from themes/2024/assets/LoginView-BU7fFnDZ.css rename to themes/2024/assets/LoginView-Cf0iN_2x.css diff --git a/themes/2024/assets/LoginView-Do8_BjnX.js b/themes/2024/assets/LoginView-Do8_BjnX.js deleted file mode 100644 index ad0052f..0000000 --- a/themes/2024/assets/LoginView-Do8_BjnX.js +++ /dev/null @@ -1 +0,0 @@ -import{G as y,r as u,B as b,u as v,p as w,b as x,d as e,n as l,e as o,f as h,g as k,h as S,v as A,k as V,t as B,z as D,y as P,A as _,_ as j}from"./index-BMgmatCO.js";import{B as z}from"./box-DezRNKnJ.js";const M=y("adminData",()=>{const d=u(localStorage.getItem("adminPassword")||"");function n(t){d.value=t,localStorage.setItem("token",t)}return{adminPassword:d,updateAdminPwd:n}}),I={class:"mx-auto h-16 w-16 relative"},L={class:"rounded-md shadow-sm -space-y-px"},N=["disabled"],T=b({__name:"LoginView",setup(d){const n=v(),t=u(""),i=u(!1),s=D("isDarkMode"),c=M(),p=()=>{let a=!0;return t.value?t.value.length<6&&(n.showAlert("密码长度至少为6位","error"),a=!1):(n.showAlert("无效的密码","error"),a=!1),a},m=P(),f=async()=>{if(p()){c.updateAdminPwd(t.value),_.post("/admin/login",{password:t.value}).then(()=>{m.push("/admin")}).catch(a=>{n.showAlert(a.response.data.detail,"error")}),i.value=!0;try{await new Promise(a=>setTimeout(a,2e3))}catch{}finally{i.value=!1}}};return(a,r)=>(w(),x("div",{class:l(["min-h-screen flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8 transition-colors duration-200 relative overflow-hidden",o(s)?"bg-gray-900":"bg-gray-50"])},[r[6]||(r[6]=e("div",{class:"absolute inset-0 z-0"},[e("div",{class:"cyber-grid"}),e("div",{class:"floating-particles"})],-1)),e("div",{class:l(["max-w-md w-full space-y-8 backdrop-blur-lg bg-opacity-20 p-8 rounded-xl border border-opacity-20",[o(s)?"bg-gray-800 border-gray-600":"bg-white/70 border-gray-200"]])},[e("div",null,[e("div",I,[r[1]||(r[1]=e("div",{class:"absolute inset-0 bg-gradient-to-r from-cyan-500 via-purple-500 to-pink-500 rounded-full animate-spin-slow"},null,-1)),r[2]||(r[2]=e("div",{class:"absolute -inset-2 bg-gradient-to-r from-cyan-500 via-purple-500 to-pink-500 rounded-full opacity-50 blur-md animate-pulse"},null,-1)),e("div",{class:l(["absolute inset-1 rounded-full flex items-center justify-center",o(s)?"bg-gray-800":"bg-white"])},[h(o(z),{class:l(["h-8 w-8",o(s)?"text-cyan-400":"text-cyan-600"])},null,8,["class"])],2)]),e("h2",{class:l(["mt-6 text-center text-3xl font-extrabold",o(s)?"text-white":"text-gray-900"])}," 登录 ",2)]),e("form",{class:"mt-8 space-y-6",onSubmit:k(f,["prevent"])},[r[5]||(r[5]=e("input",{type:"hidden",name:"remember",value:"true"},null,-1)),e("div",L,[e("div",null,[r[3]||(r[3]=e("label",{for:"password",class:"sr-only"},"密码",-1)),S(e("input",{id:"password",name:"password",type:"password",autocomplete:"current-password",required:"","onUpdate:modelValue":r[0]||(r[0]=g=>t.value=g),class:l(["appearance-none rounded-t-md relative block w-full px-4 py-3 border transition-all duration-200 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-cyan-500 focus:border-cyan-500 focus:z-10 sm:text-sm backdrop-blur-sm",o(s)?"bg-gray-800/50 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"bg-white/50 border-gray-300 text-gray-900 hover:border-gray-400"]),placeholder:"密码"},null,2),[[A,t.value]])])]),e("div",null,[e("button",{type:"submit",class:l(["group relative w-full flex justify-center py-3 px-4 border border-transparent text-sm font-medium rounded-md text-white transition-all duration-300 transform hover:scale-[1.02] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-cyan-500 shadow-lg hover:shadow-cyan-500/50",o(s)?"bg-gradient-to-r from-cyan-500 to-purple-500 hover:from-cyan-600 hover:to-purple-600":"bg-gradient-to-r from-cyan-600 to-purple-600 hover:from-cyan-700 hover:to-purple-700",i.value?"opacity-75 cursor-not-allowed":""]),disabled:i.value},[r[4]||(r[4]=e("span",{class:"absolute left-0 inset-y-0 flex items-center pl-3"},null,-1)),V(" "+B(i.value?"登录中...":"登录"),1)],10,N)])],32)],2)],2))}}),E=j(T,[["__scopeId","data-v-2e50c3fa"]]);export{E as default}; diff --git a/themes/2024/assets/LoginView-zsYUSR2Y.js b/themes/2024/assets/LoginView-zsYUSR2Y.js new file mode 100644 index 0000000..2b7c076 --- /dev/null +++ b/themes/2024/assets/LoginView-zsYUSR2Y.js @@ -0,0 +1 @@ +import{G as y,r as u,B as v,u as b,d as w,e,n as l,g as o,i as x,f as h,h as k,j as S,v as A,m as V,t as B,y as D,z as j,A as P,_}from"./index-Dm7yhqOC.js";import{B as z}from"./box-D82IEWOS.js";const M=y("adminData",()=>{const d=u(localStorage.getItem("adminPassword")||"");function n(t){d.value=t,localStorage.setItem("token",t)}return{adminPassword:d,updateAdminPwd:n}}),I={class:"mx-auto h-16 w-16 relative"},L={class:"rounded-md shadow-sm -space-y-px"},N=["disabled"],T=v({__name:"LoginView",setup(d){const n=b(),t=u(""),i=u(!1),s=x("isDarkMode"),c=M(),p=()=>{let a=!0;return t.value?t.value.length<6&&(n.showAlert("密码长度至少为6位","error"),a=!1):(n.showAlert("无效的密码","error"),a=!1),a},m=D(),f=async()=>{if(p()){c.updateAdminPwd(t.value),P.post("/admin/login",{password:t.value}).then(()=>{m.push("/admin")}).catch(a=>{n.showAlert(a.response.data.detail,"error")}),i.value=!0;try{await new Promise(a=>setTimeout(a,2e3))}catch{}finally{i.value=!1}}};return(a,r)=>(j(),w("div",{class:l(["min-h-screen flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8 transition-colors duration-200 relative overflow-hidden",o(s)?"bg-gray-900":"bg-gray-50"])},[r[6]||(r[6]=e("div",{class:"absolute inset-0 z-0"},[e("div",{class:"cyber-grid"}),e("div",{class:"floating-particles"})],-1)),e("div",{class:l(["max-w-md w-full space-y-8 backdrop-blur-lg bg-opacity-20 p-8 rounded-xl border border-opacity-20",[o(s)?"bg-gray-800 border-gray-600":"bg-white/70 border-gray-200"]])},[e("div",null,[e("div",I,[r[1]||(r[1]=e("div",{class:"absolute inset-0 bg-gradient-to-r from-cyan-500 via-purple-500 to-pink-500 rounded-full animate-spin-slow"},null,-1)),r[2]||(r[2]=e("div",{class:"absolute -inset-2 bg-gradient-to-r from-cyan-500 via-purple-500 to-pink-500 rounded-full opacity-50 blur-md animate-pulse"},null,-1)),e("div",{class:l(["absolute inset-1 rounded-full flex items-center justify-center",o(s)?"bg-gray-800":"bg-white"])},[h(o(z),{class:l(["h-8 w-8",o(s)?"text-cyan-400":"text-cyan-600"])},null,8,["class"])],2)]),e("h2",{class:l(["mt-6 text-center text-3xl font-extrabold",o(s)?"text-white":"text-gray-900"])}," 登录 ",2)]),e("form",{class:"mt-8 space-y-6",onSubmit:k(f,["prevent"])},[r[5]||(r[5]=e("input",{type:"hidden",name:"remember",value:"true"},null,-1)),e("div",L,[e("div",null,[r[3]||(r[3]=e("label",{for:"password",class:"sr-only"},"密码",-1)),S(e("input",{id:"password",name:"password",type:"password",autocomplete:"current-password",required:"","onUpdate:modelValue":r[0]||(r[0]=g=>t.value=g),class:l(["appearance-none rounded-t-md relative block w-full px-4 py-3 border transition-all duration-200 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-cyan-500 focus:border-cyan-500 focus:z-10 sm:text-sm backdrop-blur-sm",o(s)?"bg-gray-800/50 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"bg-white/50 border-gray-300 text-gray-900 hover:border-gray-400"]),placeholder:"密码"},null,2),[[A,t.value]])])]),e("div",null,[e("button",{type:"submit",class:l(["group relative w-full flex justify-center py-3 px-4 border border-transparent text-sm font-medium rounded-md text-white transition-all duration-300 transform hover:scale-[1.02] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-cyan-500 shadow-lg hover:shadow-cyan-500/50",o(s)?"bg-gradient-to-r from-cyan-500 to-purple-500 hover:from-cyan-600 hover:to-purple-600":"bg-gradient-to-r from-cyan-600 to-purple-600 hover:from-cyan-700 hover:to-purple-700",i.value?"opacity-75 cursor-not-allowed":""]),disabled:i.value},[r[4]||(r[4]=e("span",{class:"absolute left-0 inset-y-0 flex items-center pl-3"},null,-1)),V(" "+B(i.value?"登录中...":"登录"),1)],10,N)])],32)],2)],2))}}),E=_(T,[["__scopeId","data-v-2e50c3fa"]]);export{E as default}; diff --git a/themes/2024/assets/RetrievewFileView-DFoOLqwO.js b/themes/2024/assets/RetrievewFileView-B9XfNvQg.js similarity index 62% rename from themes/2024/assets/RetrievewFileView-DFoOLqwO.js rename to themes/2024/assets/RetrievewFileView-B9XfNvQg.js index 7fc9414..fd65f13 100644 --- a/themes/2024/assets/RetrievewFileView-DFoOLqwO.js +++ b/themes/2024/assets/RetrievewFileView-B9XfNvQg.js @@ -1,39 +1,39 @@ -var qe=Object.defineProperty;var De=(d,e,t)=>e in d?qe(d,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):d[e]=t;var v=(d,e,t)=>De(d,typeof e!="symbol"?e+"":e,t);import{c as $e,_ as Pe,u as Fe,s as Ze,r as q,o as Oe,w as Ue,a as Qe,b as I,d as p,n as b,e as f,f as $,g as He,h as Ne,v as Ve,i as Y,t as D,j as U,k as Z,T as oe,l as Ge,m as Xe,p as C,X as ge,q as We,F as Ke,x as Je,y as Ye,z as et,A as tt}from"./index-BMgmatCO.js";import{c as Q,u as nt,S as st,C as it,a as rt,Q as ot,E as lt}from"./_commonjsHelpers-CRVxHcaM.js";import{B as at}from"./box-DezRNKnJ.js";import{F as xe}from"./file-C8d0agNl.js";import{H as ct,T as ut}from"./trash-BsECra8n.js";/** +var qe=Object.defineProperty;var De=(d,e,t)=>e in d?qe(d,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):d[e]=t;var v=(d,e,t)=>De(d,typeof e!="symbol"?e+"":e,t);import{c as $e,_ as Pe,u as Fe,s as Ze,r as q,o as Ue,a as Oe,w as Qe,b as He,d as I,e as h,f as $,n as w,g as f,i as Ne,h as Ve,j as Ge,k as Y,v as We,t as D,l as O,m as Z,p as Xe,X as ge,T as Ke,F as Je,q as Ye,x as oe,y as et,z as C,A as tt}from"./index-Dm7yhqOC.js";import{c as Q,u as nt,S as st,C as it,a as rt,Q as ot,E as lt}from"./_commonjsHelpers-BCjwediS.js";import{B as at}from"./box-D82IEWOS.js";import{F as xe}from"./file-rOVCfWLN.js";import{H as ct,T as ut}from"./trash-CSx5DaSf.js";/** * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pt=$e("ArrowRightIcon",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** + */const ht=$e("ArrowRightIcon",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ke=$e("DownloadIcon",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);var _e={exports:{}};(function(d,e){(function(t,n){n()})(Q,function(){function t(c,l){return typeof l>"u"?l={autoBom:!1}:typeof l!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),l={autoBom:!l}),l.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function n(c,l,u){var h=new XMLHttpRequest;h.open("GET",c),h.responseType="blob",h.onload=function(){a(h.response,l,u)},h.onerror=function(){console.error("could not download file")},h.send()}function s(c){var l=new XMLHttpRequest;l.open("HEAD",c,!1);try{l.send()}catch{}return 200<=l.status&&299>=l.status}function i(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var l=document.createEvent("MouseEvents");l.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(l)}}var r=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Q=="object"&&Q.global===Q?Q:void 0,o=r.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),a=r.saveAs||(typeof window!="object"||window!==r?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(c,l,u){var h=r.URL||r.webkitURL,g=document.createElement("a");l=l||c.name||"download",g.download=l,g.rel="noopener",typeof c=="string"?(g.href=c,g.origin===location.origin?i(g):s(g.href)?n(c,l,u):i(g,g.target="_blank")):(g.href=h.createObjectURL(c),setTimeout(function(){h.revokeObjectURL(g.href)},4e4),setTimeout(function(){i(g)},0))}:"msSaveOrOpenBlob"in navigator?function(c,l,u){if(l=l||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(t(c,u),l);else if(s(c))n(c,l,u);else{var h=document.createElement("a");h.href=c,h.target="_blank",setTimeout(function(){i(h)})}}:function(c,l,u,h){if(h=h||open("","_blank"),h&&(h.document.title=h.document.body.innerText="downloading..."),typeof c=="string")return n(c,l,u);var g=c.type==="application/octet-stream",w=/constructor/i.test(r.HTMLElement)||r.safari,R=/CriOS\/[\d]+/.test(navigator.userAgent);if((R||g&&w||o)&&typeof FileReader<"u"){var T=new FileReader;T.onloadend=function(){var E=T.result;E=R?E:E.replace(/^data:[^;]*;/,"data:attachment/file;"),h?h.location.href=E:location=E,h=null},T.readAsDataURL(c)}else{var B=r.URL||r.webkitURL,M=B.createObjectURL(c);h?h.location=M:location.href=M,h=null,setTimeout(function(){B.revokeObjectURL(M)},4e4)}});r.saveAs=a.saveAs=a,d.exports=a})})(_e);var ht=_e.exports;function ae(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let F=ae();function Re(d){F=d}const Te=/[&<>"']/,dt=new RegExp(Te.source,"g"),ze=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,ft=new RegExp(ze.source,"g"),gt={"&":"&","<":"<",">":">",'"':""","'":"'"},be=d=>gt[d];function z(d,e){if(e){if(Te.test(d))return d.replace(dt,be)}else if(ze.test(d))return d.replace(ft,be);return d}const xt=/(^|[^\[])\^/g;function y(d,e){let t=typeof d=="string"?d:d.source;e=e||"";const n={replace:(s,i)=>{let r=typeof i=="string"?i:i.source;return r=r.replace(xt,"$1"),t=t.replace(s,r),n},getRegex:()=>new RegExp(t,e)};return n}function we(d){try{d=encodeURI(d).replace(/%25/g,"%")}catch{return null}return d}const V={exec:()=>null};function me(d,e){const t=d.replace(/\|/g,(i,r,o)=>{let a=!1,c=r;for(;--c>=0&&o[c]==="\\";)a=!a;return a?"|":" |"}),n=t.split(/ \|/);let s=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length"u"?l={autoBom:!1}:typeof l!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),l={autoBom:!l}),l.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function n(c,l,u){var p=new XMLHttpRequest;p.open("GET",c),p.responseType="blob",p.onload=function(){a(p.response,l,u)},p.onerror=function(){console.error("could not download file")},p.send()}function s(c){var l=new XMLHttpRequest;l.open("HEAD",c,!1);try{l.send()}catch{}return 200<=l.status&&299>=l.status}function i(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var l=document.createEvent("MouseEvents");l.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(l)}}var r=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Q=="object"&&Q.global===Q?Q:void 0,o=r.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),a=r.saveAs||(typeof window!="object"||window!==r?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(c,l,u){var p=r.URL||r.webkitURL,g=document.createElement("a");l=l||c.name||"download",g.download=l,g.rel="noopener",typeof c=="string"?(g.href=c,g.origin===location.origin?i(g):s(g.href)?n(c,l,u):i(g,g.target="_blank")):(g.href=p.createObjectURL(c),setTimeout(function(){p.revokeObjectURL(g.href)},4e4),setTimeout(function(){i(g)},0))}:"msSaveOrOpenBlob"in navigator?function(c,l,u){if(l=l||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(t(c,u),l);else if(s(c))n(c,l,u);else{var p=document.createElement("a");p.href=c,p.target="_blank",setTimeout(function(){i(p)})}}:function(c,l,u,p){if(p=p||open("","_blank"),p&&(p.document.title=p.document.body.innerText="downloading..."),typeof c=="string")return n(c,l,u);var g=c.type==="application/octet-stream",b=/constructor/i.test(r.HTMLElement)||r.safari,R=/CriOS\/[\d]+/.test(navigator.userAgent);if((R||g&&b||o)&&typeof FileReader<"u"){var T=new FileReader;T.onloadend=function(){var E=T.result;E=R?E:E.replace(/^data:[^;]*;/,"data:attachment/file;"),p?p.location.href=E:location=E,p=null},T.readAsDataURL(c)}else{var B=r.URL||r.webkitURL,M=B.createObjectURL(c);p?p.location=M:location.href=M,p=null,setTimeout(function(){B.revokeObjectURL(M)},4e4)}});r.saveAs=a.saveAs=a,d.exports=a})})(_e);var pt=_e.exports;function ae(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let F=ae();function Re(d){F=d}const Te=/[&<>"']/,dt=new RegExp(Te.source,"g"),ze=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,ft=new RegExp(ze.source,"g"),gt={"&":"&","<":"<",">":">",'"':""","'":"'"},we=d=>gt[d];function z(d,e){if(e){if(Te.test(d))return d.replace(dt,we)}else if(ze.test(d))return d.replace(ft,we);return d}const xt=/(^|[^\[])\^/g;function y(d,e){let t=typeof d=="string"?d:d.source;e=e||"";const n={replace:(s,i)=>{let r=typeof i=="string"?i:i.source;return r=r.replace(xt,"$1"),t=t.replace(s,r),n},getRegex:()=>new RegExp(t,e)};return n}function be(d){try{d=encodeURI(d).replace(/%25/g,"%")}catch{return null}return d}const V={exec:()=>null};function me(d,e){const t=d.replace(/\|/g,(i,r,o)=>{let a=!1,c=r;for(;--c>=0&&o[c]==="\\";)a=!a;return a?"|":" |"}),n=t.split(/ \|/);let s=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length{const i=s.match(/^\s+/);if(i===null)return s;const[r]=i;return r.length>=n.length?s.slice(n.length):s}).join(` `)}class te{constructor(e){v(this,"options");v(this,"rules");v(this,"lexer");this.options=e||F}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const n=t[0].replace(/^(?: {1,4}| {0,3}\t)/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:H(n,` -`)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const n=t[0],s=bt(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:s}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(/#$/.test(n)){const s=H(n,"#");(this.options.pedantic||!s||/ $/.test(s))&&(n=s.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:H(t[0],` +`)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const n=t[0],s=wt(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:s}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(/#$/.test(n)){const s=H(n,"#");(this.options.pedantic||!s||/ $/.test(s))&&(n=s.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:H(t[0],` `)}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let n=H(t[0],` `).split(` `),s="",i="";const r=[];for(;n.length>0;){let o=!1;const a=[];let c;for(c=0;c/.test(n[c]))a.push(n[c]),o=!0;else if(!o)a.push(n[c]);else break;n=n.slice(c);const l=a.join(` `),u=l.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,` $1`).replace(/^ {0,3}>[ \t]?/gm,"");s=s?`${s} ${l}`:l,i=i?`${i} -${u}`:u;const h=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(u,r,!0),this.lexer.state.top=h,n.length===0)break;const g=r[r.length-1];if((g==null?void 0:g.type)==="code")break;if((g==null?void 0:g.type)==="blockquote"){const w=g,R=w.raw+` +${u}`:u;const p=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(u,r,!0),this.lexer.state.top=p,n.length===0)break;const g=r[r.length-1];if((g==null?void 0:g.type)==="code")break;if((g==null?void 0:g.type)==="blockquote"){const b=g,R=b.raw+` `+n.join(` -`),T=this.blockquote(R);r[r.length-1]=T,s=s.substring(0,s.length-w.raw.length)+T.raw,i=i.substring(0,i.length-w.text.length)+T.text;break}else if((g==null?void 0:g.type)==="list"){const w=g,R=w.raw+` +`),T=this.blockquote(R);r[r.length-1]=T,s=s.substring(0,s.length-b.raw.length)+T.raw,i=i.substring(0,i.length-b.text.length)+T.text;break}else if((g==null?void 0:g.type)==="list"){const b=g,R=b.raw+` `+n.join(` -`),T=this.list(R);r[r.length-1]=T,s=s.substring(0,s.length-g.raw.length)+T.raw,i=i.substring(0,i.length-w.raw.length)+T.raw,n=R.substring(r[r.length-1].raw.length).split(` +`),T=this.list(R);r[r.length-1]=T,s=s.substring(0,s.length-g.raw.length)+T.raw,i=i.substring(0,i.length-b.raw.length)+T.raw,n=R.substring(r[r.length-1].raw.length).split(` `);continue}}return{type:"blockquote",raw:s,tokens:r,text:i}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim();const s=n.length>1,i={type:"list",raw:"",ordered:s,start:s?+n.slice(0,-1):"",loose:!1,items:[]};n=s?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=s?n:"[*+-]");const r=new RegExp(`^( {0,3}${n})((?:[ ][^\\n]*)?(?:\\n|$))`);let o=!1;for(;e;){let a=!1,c="",l="";if(!(t=r.exec(e))||this.rules.block.hr.test(e))break;c=t[0],e=e.substring(c.length);let u=t[2].split(` -`,1)[0].replace(/^\t+/,B=>" ".repeat(3*B.length)),h=e.split(` -`,1)[0],g=!u.trim(),w=0;if(this.options.pedantic?(w=2,l=u.trimStart()):g?w=t[1].length+1:(w=t[2].search(/[^ ]/),w=w>4?1:w,l=u.slice(w),w+=t[1].length),g&&/^[ \t]*$/.test(h)&&(c+=h+` -`,e=e.substring(h.length+1),a=!0),!a){const B=new RegExp(`^ {0,${Math.min(3,w-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),M=new RegExp(`^ {0,${Math.min(3,w-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),E=new RegExp(`^ {0,${Math.min(3,w-1)}}(?:\`\`\`|~~~)`),K=new RegExp(`^ {0,${Math.min(3,w-1)}}#`),re=new RegExp(`^ {0,${Math.min(3,w-1)}}<[a-z].*>`,"i");for(;e;){const O=e.split(` -`,1)[0];let L;if(h=O,this.options.pedantic?(h=h.replace(/^ {1,4}(?=( {4})*[^ ])/g," "),L=h):L=h.replace(/\t/g," "),E.test(h)||K.test(h)||re.test(h)||B.test(h)||M.test(h))break;if(L.search(/[^ ]/)>=w||!h.trim())l+=` -`+L.slice(w);else{if(g||u.replace(/\t/g," ").search(/[^ ]/)>=4||E.test(u)||K.test(u)||M.test(u))break;l+=` -`+h}!g&&!h.trim()&&(g=!0),c+=O+` -`,e=e.substring(O.length+1),u=L.slice(w)}}i.loose||(o?i.loose=!0:/\n[ \t]*\n[ \t]*$/.test(c)&&(o=!0));let R=null,T;this.options.gfm&&(R=/^\[[ xX]\] /.exec(l),R&&(T=R[0]!=="[ ] ",l=l.replace(/^\[[ xX]\] +/,""))),i.items.push({type:"list_item",raw:c,task:!!R,checked:T,loose:!1,text:l,tokens:[]}),i.raw+=c}i.items[i.items.length-1].raw=i.items[i.items.length-1].raw.trimEnd(),i.items[i.items.length-1].text=i.items[i.items.length-1].text.trimEnd(),i.raw=i.raw.trimEnd();for(let a=0;au.type==="space"),l=c.length>0&&c.some(u=>/\n.*\n/.test(u.raw));i.loose=l}if(i.loose)for(let a=0;a$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:s,title:i}}}table(e){const t=this.rules.block.table.exec(e);if(!t||!/[:|]/.test(t[2]))return;const n=me(t[1]),s=t[2].replace(/^\||\| *$/g,"").split("|"),i=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split(` +`,1)[0].replace(/^\t+/,B=>" ".repeat(3*B.length)),p=e.split(` +`,1)[0],g=!u.trim(),b=0;if(this.options.pedantic?(b=2,l=u.trimStart()):g?b=t[1].length+1:(b=t[2].search(/[^ ]/),b=b>4?1:b,l=u.slice(b),b+=t[1].length),g&&/^[ \t]*$/.test(p)&&(c+=p+` +`,e=e.substring(p.length+1),a=!0),!a){const B=new RegExp(`^ {0,${Math.min(3,b-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),M=new RegExp(`^ {0,${Math.min(3,b-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),E=new RegExp(`^ {0,${Math.min(3,b-1)}}(?:\`\`\`|~~~)`),K=new RegExp(`^ {0,${Math.min(3,b-1)}}#`),re=new RegExp(`^ {0,${Math.min(3,b-1)}}<(?:[a-z].*>|!--)`,"i");for(;e;){const U=e.split(` +`,1)[0];let L;if(p=U,this.options.pedantic?(p=p.replace(/^ {1,4}(?=( {4})*[^ ])/g," "),L=p):L=p.replace(/\t/g," "),E.test(p)||K.test(p)||re.test(p)||B.test(p)||M.test(p))break;if(L.search(/[^ ]/)>=b||!p.trim())l+=` +`+L.slice(b);else{if(g||u.replace(/\t/g," ").search(/[^ ]/)>=4||E.test(u)||K.test(u)||M.test(u))break;l+=` +`+p}!g&&!p.trim()&&(g=!0),c+=U+` +`,e=e.substring(U.length+1),u=L.slice(b)}}i.loose||(o?i.loose=!0:/\n[ \t]*\n[ \t]*$/.test(c)&&(o=!0));let R=null,T;this.options.gfm&&(R=/^\[[ xX]\] /.exec(l),R&&(T=R[0]!=="[ ] ",l=l.replace(/^\[[ xX]\] +/,""))),i.items.push({type:"list_item",raw:c,task:!!R,checked:T,loose:!1,text:l,tokens:[]}),i.raw+=c}i.items[i.items.length-1].raw=i.items[i.items.length-1].raw.trimEnd(),i.items[i.items.length-1].text=i.items[i.items.length-1].text.trimEnd(),i.raw=i.raw.trimEnd();for(let a=0;au.type==="space"),l=c.length>0&&c.some(u=>/\n.*\n/.test(u.raw));i.loose=l}if(i.loose)for(let a=0;a$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:s,title:i}}}table(e){const t=this.rules.block.table.exec(e);if(!t||!/[:|]/.test(t[2]))return;const n=me(t[1]),s=t[2].replace(/^\||\| *$/g,"").split("|"),i=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split(` `):[],r={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===s.length){for(const o of s)/^ *-+: *$/.test(o)?r.align.push("right"):/^ *:-+: *$/.test(o)?r.align.push("center"):/^ *:-+ *$/.test(o)?r.align.push("left"):r.align.push(null);for(let o=0;o({text:a,tokens:this.lexer.inline(a),header:!1,align:r.align[c]})));return r}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const n=t[1].charAt(t[1].length-1)===` -`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:z(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const n=t[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;const r=H(n.slice(0,-1),"\\");if((n.length-r.length)%2===0)return}else{const r=kt(t[2],"()");if(r>-1){const a=(t[0].indexOf("!")===0?5:4)+t[1].length+r;t[2]=t[2].substring(0,r),t[0]=t[0].substring(0,a).trim(),t[3]=""}}let s=t[2],i="";if(this.options.pedantic){const r=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);r&&(s=r[1],i=r[3])}else i=t[3]?t[3].slice(1,-1):"";return s=s.trim(),/^$/.test(n)?s=s.slice(1):s=s.slice(1,-1)),ye(t,{href:s&&s.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){const s=(n[2]||n[1]).replace(/\s+/g," "),i=t[s.toLowerCase()];if(!i){const r=n[0].charAt(0);return{type:"text",raw:r,text:r}}return ye(n,i,n[0],this.lexer)}}emStrong(e,t,n=""){let s=this.rules.inline.emStrongLDelim.exec(e);if(!s||s[3]&&n.match(/[\p{L}\p{N}]/u))return;if(!(s[1]||s[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const r=[...s[0]].length-1;let o,a,c=r,l=0;const u=s[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(u.lastIndex=0,t=t.slice(-1*e.length+r);(s=u.exec(t))!=null;){if(o=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!o)continue;if(a=[...o].length,s[3]||s[4]){c+=a;continue}else if((s[5]||s[6])&&r%3&&!((r+a)%3)){l+=a;continue}if(c-=a,c>0)continue;a=Math.min(a,a+c+l);const h=[...s[0]][0].length,g=e.slice(0,r+s.index+h+a);if(Math.min(r,a)%2){const R=g.slice(1,-1);return{type:"em",raw:g,text:R,tokens:this.lexer.inlineTokens(R)}}const w=g.slice(2,-2);return{type:"strong",raw:g,text:w,tokens:this.lexer.inlineTokens(w)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(/\n/g," ");const s=/[^ ]/.test(n),i=/^ /.test(n)&&/ $/.test(n);return s&&i&&(n=n.substring(1,n.length-1)),n=z(n,!0),{type:"codespan",raw:t[0],text:n}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let n,s;return t[2]==="@"?(n=z(t[1]),s="mailto:"+n):(n=z(t[1]),s=n),{type:"link",raw:t[0],text:n,href:s,tokens:[{type:"text",raw:n,text:n}]}}}url(e){var n;let t;if(t=this.rules.inline.url.exec(e)){let s,i;if(t[2]==="@")s=z(t[0]),i="mailto:"+s;else{let r;do r=t[0],t[0]=((n=this.rules.inline._backpedal.exec(t[0]))==null?void 0:n[0])??"";while(r!==t[0]);s=z(t[0]),t[1]==="www."?i="http://"+t[0]:i=t[0]}return{type:"link",raw:t[0],text:s,href:i,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let n;return this.lexer.state.inRawBlock?n=t[0]:n=z(t[0]),{type:"text",raw:t[0],text:n}}}}const wt=/^(?:[ \t]*(?:\n|$))+/,mt=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,yt=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,X=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,vt=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Se=/(?:[*+-]|\d{1,9}[.)])/,Ae=y(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Se).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),ce=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,$t=/^[^\n]+/,ue=/(?!\s*\])(?:\\.|[^\[\]\\])+/,_t=y(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",ue).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Rt=y(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Se).getRegex(),ie="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",pe=/|$))/,Tt=y("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",pe).replace("tag",ie).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ee=y(ce).replace("hr",X).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ie).getRegex(),zt=y(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Ee).getRegex(),he={blockquote:zt,code:mt,def:_t,fences:yt,heading:vt,hr:X,html:Tt,lheading:Ae,list:Rt,newline:wt,paragraph:Ee,table:V,text:$t},ve=y("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",X).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ie).getRegex(),St={...he,table:ve,paragraph:y(ce).replace("hr",X).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",ve).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ie).getRegex()},At={...he,html:y(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",pe).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:V,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:y(ce).replace("hr",X).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",Ae).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Le=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Et=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ie=/^( {2,}|\\)\n(?!\s*$)/,Lt=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,Bt=y(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,W).getRegex(),Mt=y("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,W).getRegex(),jt=y("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,W).getRegex(),qt=y(/\\([punct])/,"gu").replace(/punct/g,W).getRegex(),Dt=y(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Pt=y(pe).replace("(?:-->|$)","-->").getRegex(),Ft=y("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",Pt).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ne=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Zt=y(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",ne).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Ce=y(/^!?\[(label)\]\[(ref)\]/).replace("label",ne).replace("ref",ue).getRegex(),Be=y(/^!?\[(ref)\](?:\[\])?/).replace("ref",ue).getRegex(),Ot=y("reflink|nolink(?!\\()","g").replace("reflink",Ce).replace("nolink",Be).getRegex(),de={_backpedal:V,anyPunctuation:qt,autolink:Dt,blockSkip:Ct,br:Ie,code:Et,del:V,emStrongLDelim:Bt,emStrongRDelimAst:Mt,emStrongRDelimUnd:jt,escape:Le,link:Zt,nolink:Be,punctuation:It,reflink:Ce,reflinkSearch:Ot,tag:Ft,text:Lt,url:V},Ut={...de,link:y(/^!?\[(label)\]\((.*?)\)/).replace("label",ne).getRegex(),reflink:y(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ne).getRegex()},le={...de,escape:y(Le).replace("])","~|])").getRegex(),url:y(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const n=t[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;const r=H(n.slice(0,-1),"\\");if((n.length-r.length)%2===0)return}else{const r=kt(t[2],"()");if(r>-1){const a=(t[0].indexOf("!")===0?5:4)+t[1].length+r;t[2]=t[2].substring(0,r),t[0]=t[0].substring(0,a).trim(),t[3]=""}}let s=t[2],i="";if(this.options.pedantic){const r=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);r&&(s=r[1],i=r[3])}else i=t[3]?t[3].slice(1,-1):"";return s=s.trim(),/^$/.test(n)?s=s.slice(1):s=s.slice(1,-1)),ye(t,{href:s&&s.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){const s=(n[2]||n[1]).replace(/\s+/g," "),i=t[s.toLowerCase()];if(!i){const r=n[0].charAt(0);return{type:"text",raw:r,text:r}}return ye(n,i,n[0],this.lexer)}}emStrong(e,t,n=""){let s=this.rules.inline.emStrongLDelim.exec(e);if(!s||s[3]&&n.match(/[\p{L}\p{N}]/u))return;if(!(s[1]||s[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const r=[...s[0]].length-1;let o,a,c=r,l=0;const u=s[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(u.lastIndex=0,t=t.slice(-1*e.length+r);(s=u.exec(t))!=null;){if(o=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!o)continue;if(a=[...o].length,s[3]||s[4]){c+=a;continue}else if((s[5]||s[6])&&r%3&&!((r+a)%3)){l+=a;continue}if(c-=a,c>0)continue;a=Math.min(a,a+c+l);const p=[...s[0]][0].length,g=e.slice(0,r+s.index+p+a);if(Math.min(r,a)%2){const R=g.slice(1,-1);return{type:"em",raw:g,text:R,tokens:this.lexer.inlineTokens(R)}}const b=g.slice(2,-2);return{type:"strong",raw:g,text:b,tokens:this.lexer.inlineTokens(b)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(/\n/g," ");const s=/[^ ]/.test(n),i=/^ /.test(n)&&/ $/.test(n);return s&&i&&(n=n.substring(1,n.length-1)),n=z(n,!0),{type:"codespan",raw:t[0],text:n}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let n,s;return t[2]==="@"?(n=z(t[1]),s="mailto:"+n):(n=z(t[1]),s=n),{type:"link",raw:t[0],text:n,href:s,tokens:[{type:"text",raw:n,text:n}]}}}url(e){var n;let t;if(t=this.rules.inline.url.exec(e)){let s,i;if(t[2]==="@")s=z(t[0]),i="mailto:"+s;else{let r;do r=t[0],t[0]=((n=this.rules.inline._backpedal.exec(t[0]))==null?void 0:n[0])??"";while(r!==t[0]);s=z(t[0]),t[1]==="www."?i="http://"+t[0]:i=t[0]}return{type:"link",raw:t[0],text:s,href:i,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let n;return this.lexer.state.inRawBlock?n=t[0]:n=z(t[0]),{type:"text",raw:t[0],text:n}}}}const bt=/^(?:[ \t]*(?:\n|$))+/,mt=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,yt=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,W=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,vt=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Se=/(?:[*+-]|\d{1,9}[.)])/,Ae=y(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Se).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),ce=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,$t=/^[^\n]+/,ue=/(?!\s*\])(?:\\.|[^\[\]\\])+/,_t=y(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",ue).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Rt=y(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Se).getRegex(),ie="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",he=/|$))/,Tt=y("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",he).replace("tag",ie).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ee=y(ce).replace("hr",W).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ie).getRegex(),zt=y(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Ee).getRegex(),pe={blockquote:zt,code:mt,def:_t,fences:yt,heading:vt,hr:W,html:Tt,lheading:Ae,list:Rt,newline:bt,paragraph:Ee,table:V,text:$t},ve=y("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",W).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ie).getRegex(),St={...pe,table:ve,paragraph:y(ce).replace("hr",W).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",ve).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ie).getRegex()},At={...pe,html:y(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",he).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:V,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:y(ce).replace("hr",W).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",Ae).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Le=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Et=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ie=/^( {2,}|\\)\n(?!\s*$)/,Lt=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,Bt=y(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,X).getRegex(),Mt=y("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,X).getRegex(),jt=y("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,X).getRegex(),qt=y(/\\([punct])/,"gu").replace(/punct/g,X).getRegex(),Dt=y(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Pt=y(he).replace("(?:-->|$)","-->").getRegex(),Ft=y("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",Pt).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ne=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Zt=y(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",ne).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Ce=y(/^!?\[(label)\]\[(ref)\]/).replace("label",ne).replace("ref",ue).getRegex(),Be=y(/^!?\[(ref)\](?:\[\])?/).replace("ref",ue).getRegex(),Ut=y("reflink|nolink(?!\\()","g").replace("reflink",Ce).replace("nolink",Be).getRegex(),de={_backpedal:V,anyPunctuation:qt,autolink:Dt,blockSkip:Ct,br:Ie,code:Et,del:V,emStrongLDelim:Bt,emStrongRDelimAst:Mt,emStrongRDelimUnd:jt,escape:Le,link:Zt,nolink:Be,punctuation:It,reflink:Ce,reflinkSearch:Ut,tag:Ft,text:Lt,url:V},Ot={...de,link:y(/^!?\[(label)\]\((.*?)\)/).replace("label",ne).getRegex(),reflink:y(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ne).getRegex()},le={...de,escape:y(Le).replace("])","~|])").getRegex(),url:y(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\(s=o.call({lexer:this},e,t))?(e=e.substring(s.raw.length),t.push(s),!0):!1))){if(s=this.tokenizer.space(e)){e=e.substring(s.raw.length),s.raw.length===1&&t.length>0?t[t.length-1].raw+=` `:t.push(s);continue}if(s=this.tokenizer.code(e)){e=e.substring(s.raw.length),i=t[t.length-1],i&&(i.type==="paragraph"||i.type==="text")?(i.raw+=` `+s.raw,i.text+=` @@ -43,7 +43,7 @@ ${u}`:u;const h=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.block `+s.raw,i.text+=` `+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(s),n=r.length!==e.length,e=e.substring(s.raw.length);continue}if(s=this.tokenizer.text(e)){e=e.substring(s.raw.length),i=t[t.length-1],i&&i.type==="text"?(i.raw+=` `+s.raw,i.text+=` -`+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(s);continue}if(e){const o="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(o);break}else throw new Error(o)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,s,i,r=e,o,a,c;if(this.tokens.links){const l=Object.keys(this.tokens.links);if(l.length>0)for(;(o=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)l.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(o=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)r=r.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(o=this.tokenizer.rules.inline.anyPunctuation.exec(r))!=null;)r=r.slice(0,o.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(a||(c=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(l=>(n=l.call({lexer:this},e,t))?(e=e.substring(n.raw.length),t.push(n),!0):!1))){if(n=this.tokenizer.escape(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.tag(e)){e=e.substring(n.raw.length),s=t[t.length-1],s&&n.type==="text"&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):t.push(n);continue}if(n=this.tokenizer.link(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length),s=t[t.length-1],s&&n.type==="text"&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):t.push(n);continue}if(n=this.tokenizer.emStrong(e,r,c)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.codespan(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.br(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.del(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.autolink(e)){e=e.substring(n.raw.length),t.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(e))){e=e.substring(n.raw.length),t.push(n);continue}if(i=e,this.options.extensions&&this.options.extensions.startInline){let l=1/0;const u=e.slice(1);let h;this.options.extensions.startInline.forEach(g=>{h=g.call({lexer:this},u),typeof h=="number"&&h>=0&&(l=Math.min(l,h))}),l<1/0&&l>=0&&(i=e.substring(0,l+1))}if(n=this.tokenizer.inlineText(i)){e=e.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(c=n.raw.slice(-1)),a=!0,s=t[t.length-1],s&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):t.push(n);continue}if(e){const l="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(l);break}else throw new Error(l)}}return t}}class se{constructor(e){v(this,"options");v(this,"parser");this.options=e||F}space(e){return""}code({text:e,lang:t,escaped:n}){var r;const s=(r=(t||"").match(/^\S*/))==null?void 0:r[0],i=e.replace(/\n$/,"")+` +`+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(s);continue}if(e){const o="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(o);break}else throw new Error(o)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,s,i,r=e,o,a,c;if(this.tokens.links){const l=Object.keys(this.tokens.links);if(l.length>0)for(;(o=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)l.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(o=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)r=r.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(o=this.tokenizer.rules.inline.anyPunctuation.exec(r))!=null;)r=r.slice(0,o.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(a||(c=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(l=>(n=l.call({lexer:this},e,t))?(e=e.substring(n.raw.length),t.push(n),!0):!1))){if(n=this.tokenizer.escape(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.tag(e)){e=e.substring(n.raw.length),s=t[t.length-1],s&&n.type==="text"&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):t.push(n);continue}if(n=this.tokenizer.link(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length),s=t[t.length-1],s&&n.type==="text"&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):t.push(n);continue}if(n=this.tokenizer.emStrong(e,r,c)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.codespan(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.br(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.del(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.autolink(e)){e=e.substring(n.raw.length),t.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(e))){e=e.substring(n.raw.length),t.push(n);continue}if(i=e,this.options.extensions&&this.options.extensions.startInline){let l=1/0;const u=e.slice(1);let p;this.options.extensions.startInline.forEach(g=>{p=g.call({lexer:this},u),typeof p=="number"&&p>=0&&(l=Math.min(l,p))}),l<1/0&&l>=0&&(i=e.substring(0,l+1))}if(n=this.tokenizer.inlineText(i)){e=e.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(c=n.raw.slice(-1)),a=!0,s=t[t.length-1],s&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):t.push(n);continue}if(e){const l="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(l);break}else throw new Error(l)}}return t}}class se{constructor(e){v(this,"options");v(this,"parser");this.options=e||F}space(e){return""}code({text:e,lang:t,escaped:n}){var r;const s=(r=(t||"").match(/^\S*/))==null?void 0:r[0],i=e.replace(/\n$/,"")+` `;return s?'
'+(n?i:z(i,!0))+`
`:"
"+(n?i:z(i,!0))+`
`}blockquote({tokens:e}){return`
@@ -61,6 +61,6 @@ ${this.parser.parse(e)}
`}tablerow({text:e}){return` ${e} `}tablecell(e){const t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+` -`}strong({tokens:e}){return`${this.parser.parseInline(e)}`}em({tokens:e}){return`${this.parser.parseInline(e)}`}codespan({text:e}){return`${e}`}br(e){return"
"}del({tokens:e}){return`${this.parser.parseInline(e)}`}link({href:e,title:t,tokens:n}){const s=this.parser.parseInline(n),i=we(e);if(i===null)return s;e=i;let r='
",r}image({href:e,title:t,text:n}){const s=we(e);if(s===null)return n;e=s;let i=`${n}{const c=o[a].flat(1/0);n=n.concat(this.walkTokens(c,t))}):o.tokens&&(n=n.concat(this.walkTokens(o.tokens,t)))}}return n}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{const s={...n};if(s.async=this.defaults.async||s.async||!1,n.extensions&&(n.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){const r=t.renderers[i.name];r?t.renderers[i.name]=function(...o){let a=i.renderer.apply(this,o);return a===!1&&(a=r.apply(this,o)),a}:t.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const r=t[i.level];r?r.unshift(i.tokenizer):t[i.level]=[i.tokenizer],i.start&&(i.level==="block"?t.startBlock?t.startBlock.push(i.start):t.startBlock=[i.start]:i.level==="inline"&&(t.startInline?t.startInline.push(i.start):t.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(t.childTokens[i.name]=i.childTokens)}),s.extensions=t),n.renderer){const i=this.defaults.renderer||new se(this.defaults);for(const r in n.renderer){if(!(r in i))throw new Error(`renderer '${r}' does not exist`);if(["options","parser"].includes(r))continue;const o=r,a=n.renderer[o],c=i[o];i[o]=(...l)=>{let u=a.apply(i,l);return u===!1&&(u=c.apply(i,l)),u||""}}s.renderer=i}if(n.tokenizer){const i=this.defaults.tokenizer||new te(this.defaults);for(const r in n.tokenizer){if(!(r in i))throw new Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;const o=r,a=n.tokenizer[o],c=i[o];i[o]=(...l)=>{let u=a.apply(i,l);return u===!1&&(u=c.apply(i,l)),u}}s.tokenizer=i}if(n.hooks){const i=this.defaults.hooks||new G;for(const r in n.hooks){if(!(r in i))throw new Error(`hook '${r}' does not exist`);if(["options","block"].includes(r))continue;const o=r,a=n.hooks[o],c=i[o];G.passThroughHooks.has(r)?i[o]=l=>{if(this.defaults.async)return Promise.resolve(a.call(i,l)).then(h=>c.call(i,h));const u=a.call(i,l);return c.call(i,u)}:i[o]=(...l)=>{let u=a.apply(i,l);return u===!1&&(u=c.apply(i,l)),u}}s.hooks=i}if(n.walkTokens){const i=this.defaults.walkTokens,r=n.walkTokens;s.walkTokens=function(o){let a=[];return a.push(r.call(this,o)),i&&(a=a.concat(i.call(this,o))),a}}this.defaults={...this.defaults,...s}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return S.lex(e,t??this.defaults)}parser(e,t){return A.parse(e,t??this.defaults)}parseMarkdown(e){return(n,s)=>{const i={...s},r={...this.defaults,...i},o=this.onError(!!r.silent,!!r.async);if(this.defaults.async===!0&&i.async===!1)return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof n>"u"||n===null)return o(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));r.hooks&&(r.hooks.options=r,r.hooks.block=e);const a=r.hooks?r.hooks.provideLexer():e?S.lex:S.lexInline,c=r.hooks?r.hooks.provideParser():e?A.parse:A.parseInline;if(r.async)return Promise.resolve(r.hooks?r.hooks.preprocess(n):n).then(l=>a(l,r)).then(l=>r.hooks?r.hooks.processAllTokens(l):l).then(l=>r.walkTokens?Promise.all(this.walkTokens(l,r.walkTokens)).then(()=>l):l).then(l=>c(l,r)).then(l=>r.hooks?r.hooks.postprocess(l):l).catch(o);try{r.hooks&&(n=r.hooks.preprocess(n));let l=a(n,r);r.hooks&&(l=r.hooks.processAllTokens(l)),r.walkTokens&&this.walkTokens(l,r.walkTokens);let u=c(l,r);return r.hooks&&(u=r.hooks.postprocess(u)),u}catch(l){return o(l)}}}onError(e,t){return n=>{if(n.message+=` -Please report this to https://github.com/markedjs/marked.`,e){const s="

An error occurred:

"+z(n.message+"",!0)+"
";return t?Promise.resolve(s):s}if(t)return Promise.reject(n);throw n}}}const P=new Ht;function m(d,e){return P.parse(d,e)}m.options=m.setOptions=function(d){return P.setOptions(d),m.defaults=P.defaults,Re(m.defaults),m};m.getDefaults=ae;m.defaults=F;m.use=function(...d){return P.use(...d),m.defaults=P.defaults,Re(m.defaults),m};m.walkTokens=function(d,e){return P.walkTokens(d,e)};m.parseInline=P.parseInline;m.Parser=A;m.parser=A.parse;m.Renderer=se;m.TextRenderer=fe;m.Lexer=S;m.lexer=S.lex;m.Tokenizer=te;m.Hooks=G;m.parse=m;m.options;m.setOptions;m.use;m.walkTokens;m.parseInline;A.parse;S.lex;const Nt={class:"min-h-screen flex items-center justify-center p-4 overflow-hidden transition-colors duration-300"},Vt={class:"w-full max-w-md relative z-10"},Gt={class:"p-8"},Xt={class:"flex justify-center mb-8"},Wt={class:"rounded-full bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 p-1 animate-spin-slow"},Kt={class:"rounded-full bg-gray-900 p-2"},Jt={class:"mb-6 relative"},Yt={class:"relative"},en=["readonly"],tn={key:0,class:"absolute inset-y-0 right-0 flex items-center pr-3"},nn=["disabled"],sn={class:"flex items-center justify-center relative z-10"},rn={class:"mt-6 text-center"},on={class:"flex-grow overflow-y-auto p-6"},ln={class:"flex-shrink-0 mr-4"},an={class:"flex-grow min-w-0 mr-4"},cn={class:"flex-shrink-0 flex space-x-2"},un=["onClick"],pn=["onClick"],hn=["onClick"],dn={key:0,class:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50"},fn={class:"space-y-4"},gn={class:"flex items-center"},xn={class:"flex items-center"},kn={class:"flex items-center"},bn={class:"flex items-center"},wn={key:0,class:"ml-2"},mn={key:1},yn=["href"],vn={class:"mt-6 flex flex-col items-center"},$n={class:"bg-white p-2 rounded-lg shadow-md"},_n={key:0,class:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50"},Rn={class:"flex justify-between items-center mb-4"},Tn=["innerHTML"],zn={__name:"RetrievewFileView",setup(d){const e=Fe(),t=window.location.origin,n=Ye(),s=et("isDarkMode"),i=nt(),{receiveData:r}=Ze(i),o=q(""),a=q({readonly:!1,loading:!1}),c=q(!1),l=q(""),u=q(null),h=q(!1),g=Ge(),w=r;Oe(()=>{const k=g.query.code;k&&(o.value=k)}),Ue(o,k=>{k.length===5&&R()});const R=async()=>{if(o.value.length!==5){e.showAlert("请输入5位取件码","error");return}a.value.readonly=!0,a.value.loading=!0;try{const k=await tt.post("/share/select/",{code:o.value});if(k.code===200)if(k.detail){const x=k.detail.text.startsWith("/share/download"),j={id:Date.now(),code:k.detail.code,filename:k.detail.name,size:T(k.detail.size),downloadUrl:x?k.detail.text:null,content:x?null:k.detail.text,date:new Date().toLocaleString()};let _=!0;i.receiveData.forEach(J=>{if(J.code===j.code){_=!1;return}}),_&&i.addReceiveData(j),h.value=!0,e.showAlert("文件获取成功","success")}else e.showAlert("无效的取件码","error");else e.showAlert(k.detail||"获取文件失败","error")}catch(k){console.error("取件失败:",k),e.showAlert("取件失败,请稍后重试","error")}finally{a.value.readonly=!1,a.value.loading=!1,o.value=""}},T=k=>{if(k===0)return"0 Bytes";const x=1024,j=["Bytes","KB","MB","GB","TB"],_=Math.floor(Math.log(k)/Math.log(x));return parseFloat((k/Math.pow(x,_)).toFixed(2))+" "+j[_]},B=k=>{u.value=k},M=k=>{const x=w.value.findIndex(j=>j.id===k);x!==-1&&i.deleteReceiveData(x)},E=()=>{h.value=!h.value},K=()=>{n.push("/send")},re=k=>k.downloadUrl?`${t}${k.downloadUrl}`:`${t}?code=${k.code}`,O=k=>{if(k.downloadUrl)window.open(`${t}${k.downloadUrl}`,"_blank");else if(k.content){const x=new Blob([k.content],{type:"text/plain;charset=utf-8"});ht.saveAs(x,`${k.filename}.txt`)}},L=q(!1),Me=Qe(()=>u.value&&u.value.content?m(u.value.content):""),je=()=>{L.value=!0};return(k,x)=>{const j=Xe("router-link");return C(),I("div",Nt,[p("div",Vt,[p("div",{class:b(["rounded-3xl shadow-2xl overflow-hidden border transform transition-all duration-300",[f(s)?"bg-gray-800 bg-opacity-50 backdrop-filter backdrop-blur-xl border-gray-700":"bg-white border-gray-200"]])},[p("div",Gt,[p("div",Xt,[p("div",Wt,[p("div",Kt,[$(f(at),{class:"w-8 h-8 text-white"})])])]),p("h2",{onClick:K,class:b(["text-3xl cursor-pointer font-extrabold text-center mb-6",[f(s)?"text-transparent bg-clip-text bg-gradient-to-r from-indigo-300 via-purple-300 to-pink-300":"text-indigo-600"]])}," FileCodeBox ",2),p("form",{onSubmit:He(R,["prevent"])},[p("div",Jt,[p("label",{for:"code",class:b(["block text-sm font-medium mb-2",[f(s)?"text-gray-300":"text-gray-800"]])},"取件码",2),p("div",Yt,[Ne(p("input",{id:"code","onUpdate:modelValue":x[0]||(x[0]=_=>o.value=_),type:"text",class:b(["w-full px-4 py-3 rounded-lg placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 transition duration-300 pr-10",[f(s)?"bg-gray-700 bg-opacity-50":"bg-gray-100",{"ring-2 ring-red-500":l.value},f(s)?"text-gray-300":"text-gray-800"]]),placeholder:"请输入5位取件码",required:"",readonly:a.value.readonly,maxlength:"5",onFocus:x[1]||(x[1]=_=>c.value=!0),onBlur:x[2]||(x[2]=_=>c.value=!1)},null,42,en),[[Ve,o.value]]),a.value.loading?(C(),I("div",tn,x[5]||(x[5]=[p("span",{class:"animate-spin rounded-full h-5 w-5 border-b-2 border-indigo-500"},null,-1)]))):Y("",!0)]),p("div",{class:b(["absolute -bottom-0.5 left-2 h-0.5 bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 transition-all duration-300 ease-in-out",{"w-97-100":c.value,"w-0":!c.value}])},null,2)]),p("button",{type:"submit",class:"w-full bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 text-white font-bold py-3 px-4 rounded-lg hover:from-indigo-600 hover:via-purple-600 hover:to-pink-600 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-opacity-50 transition duration-300 transform hover:scale-105 hover:shadow-lg relative overflow-hidden group",disabled:a.value.loading},[p("span",sn,[p("span",null,D(a.value.loading?"处理中...":"提取文件"),1),$(f(pt),{class:"w-5 h-5 ml-2 transition-transform duration-300 transform group-hover:translate-x-1"})]),x[6]||(x[6]=p("span",{class:"absolute top-0 left-0 w-full h-full bg-gradient-to-r from-pink-500 via-purple-500 to-indigo-500 opacity-0 group-hover:opacity-100 transition-opacity duration-300"},null,-1))],8,nn)],32),p("div",rn,[$(j,{to:"/send",class:"text-indigo-400 hover:text-indigo-300 transition duration-300"},{default:U(()=>x[7]||(x[7]=[Z(" 需要发送文件?点击这里 ")])),_:1})])]),p("div",{class:b(["px-8 py-4 bg-opacity-50 flex justify-between items-center",[f(s)?"bg-gray-800":"bg-gray-100"]])},[p("span",{class:b(["text-sm flex items-center",[f(s)?"text-gray-300":"text-gray-800"]])},[$(f(st),{class:"w-4 h-4 mr-1 text-green-400"}),x[8]||(x[8]=Z(" 安全加密 "))],2),p("button",{onClick:E,class:b(["text-sm hover:text-indigo-300 transition duration-300 flex items-center",[f(s)?"text-indigo-400":"text-indigo-600"]])},[x[9]||(x[9]=Z(" 取件记录 ")),$(f(it),{class:"w-4 h-4 ml-1"})],2)],2)],2)]),$(oe,{name:"drawer"},{default:U(()=>[h.value?(C(),I("div",{key:0,class:b(["fixed inset-y-0 right-0 w-full sm:w-120 bg-opacity-70 backdrop-filter backdrop-blur-xl shadow-2xl z-50 overflow-hidden flex flex-col",[f(s)?"bg-gray-900":"bg-white"]])},[p("div",{class:b(["flex justify-between items-center p-6 border-b",[f(s)?"border-gray-700":"border-gray-200"]])},[p("h3",{class:b(["text-2xl font-bold",[f(s)?"text-white":"text-gray-800"]])}," 取件记录 ",2),p("button",{onClick:E,class:b(["hover:text-white transition duration-300",[f(s)?"text-gray-400":"text-gray-800"]])},[$(f(ge),{class:"w-6 h-6"})],2)],2),p("div",on,[$(We,{name:"list",tag:"div",class:"space-y-4"},{default:U(()=>[(C(!0),I(Ke,null,Je(f(w),_=>(C(),I("div",{key:_.id,class:b(["bg-opacity-50 rounded-lg p-4 flex items-center shadow-md hover:shadow-lg transition duration-300 transform hover:scale-102",[f(s)?"bg-gray-800 hover:bg-gray-700":"bg-gray-100 hover:bg-white"]])},[p("div",ln,[$(f(xe),{class:b(["w-10 h-10",[f(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])]),p("div",an,[p("p",{class:b(["font-medium text-lg truncate",[f(s)?"text-white":"text-gray-800"]])},D(_.filename),3),p("p",{class:b(["text-sm truncate",[f(s)?"text-gray-400":"text-gray-600"]])},D(_.date)+" · "+D(_.size),3)]),p("div",cn,[p("button",{onClick:J=>B(_),class:b(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[f(s)?"hover:bg-indigo-400 text-indigo-400":"hover:bg-indigo-100 text-indigo-600"]])},[$(f(lt),{class:"w-5 h-5"})],10,un),p("button",{onClick:J=>O(_),class:b(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[f(s)?"hover:bg-green-400 text-green-400":"hover:bg-green-100 text-green-600"]])},[$(f(ke),{class:"w-5 h-5"})],10,pn),p("button",{onClick:J=>M(_.id),class:b(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[f(s)?"hover:bg-red-400 text-red-400":"hover:bg-red-100 text-red-600"]])},[$(f(ut),{class:"w-5 h-5"})],10,hn)])],2))),128))]),_:1})])],2)):Y("",!0)]),_:1}),$(oe,{name:"fade"},{default:U(()=>[u.value?(C(),I("div",dn,[p("div",{class:b(["p-8 rounded-2xl max-w-md w-full mx-4 shadow-2xl transform transition-all duration-300 ease-out backdrop-filter backdrop-blur-lg bg-opacity-70 overflow-hidden",[f(s)?"bg-gray-800":"bg-white"]])},[p("h3",{class:b(["text-2xl font-bold mb-6 truncate",[f(s)?"text-white":"text-gray-800"]])}," 文件详情 ",2),p("div",fn,[p("div",gn,[$(f(xe),{class:b(["w-6 h-6 mr-3 flex-shrink-0",[f(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),p("p",{class:b([[f(s)?"text-gray-300":"text-gray-800"],"truncate flex-grow"])},[x[10]||(x[10]=p("span",{class:"font-medium"},"文件名:",-1)),Z(D(u.value.filename),1)],2)]),p("div",xn,[$(f(rt),{class:b(["w-6 h-6 mr-3 flex-shrink-0",[f(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),p("p",{class:b([[f(s)?"text-gray-300":"text-gray-800"],"truncate flex-grow"])},[x[11]||(x[11]=p("span",{class:"font-medium"},"取件日期:",-1)),Z(D(u.value.date),1)],2)]),p("div",kn,[$(f(ct),{class:b(["w-6 h-6 mr-3 flex-shrink-0",[f(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),p("p",{class:b([[f(s)?"text-gray-300":"text-gray-800"],"truncate flex-grow"])},[x[12]||(x[12]=p("span",{class:"font-medium"},"文件大小:",-1)),Z(D(u.value.size),1)],2)]),p("div",bn,[$(f(ke),{class:b(["w-6 h-6 mr-3",[f(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),p("p",{class:b([f(s)?"text-gray-300":"text-gray-800"])},x[13]||(x[13]=[p("span",{class:"font-medium"},"文件内容:",-1)]),2),u.value.filename=="Text"?(C(),I("div",wn,[p("button",{onClick:je,class:"px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition duration-300"}," 预览内容 ")])):(C(),I("div",mn,[p("a",{href:`${f(t)}${u.value.downloadUrl}`,target:"_blank",rel:"noopener noreferrer",class:"px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition duration-300"}," 点击下载 ",8,yn)]))])]),p("div",vn,[p("h4",{class:b(["text-lg font-semibold mb-3",[f(s)?"text-white":"text-gray-800"]])}," 取件二维码 ",2),p("div",$n,[$(ot,{value:re(u.value),size:128,level:"M"},null,8,["value"])]),p("p",{class:b(["mt-2 text-sm",[f(s)?"text-gray-400":"text-gray-600"]])}," 扫描二维码快速取件 ",2)]),p("button",{onClick:x[3]||(x[3]=_=>u.value=null),class:"mt-8 w-full bg-gradient-to-r from-indigo-500 to-purple-600 text-white px-6 py-3 rounded-lg font-medium hover:from-indigo-600 hover:to-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-opacity-50 transition duration-300 transform hover:scale-105"}," 关闭 ")],2)])):Y("",!0)]),_:1}),$(oe,{name:"fade"},{default:U(()=>[L.value?(C(),I("div",_n,[p("div",{class:b(["p-8 rounded-2xl max-w-3xl w-full mx-4 shadow-2xl transform transition-all duration-300 ease-out backdrop-filter backdrop-blur-lg bg-opacity-70 max-h-[80vh] overflow-y-auto",[f(s)?"bg-gray-800":"bg-white"]])},[p("div",Rn,[p("h3",{class:b(["text-2xl font-bold",[f(s)?"text-white":"text-gray-800"]])}," 内容预览 ",2),p("button",{onClick:x[4]||(x[4]=_=>L.value=!1),class:"text-gray-500 hover:text-gray-700"},[$(f(ge),{class:"w-6 h-6"})])]),p("div",{class:b(["prose max-w-none",[f(s)?"prose-invert":""]]),innerHTML:Me.value},null,10,Tn)],2)])):Y("",!0)]),_:1})])}}},Bn=Pe(zn,[["__scopeId","data-v-dda23bee"]]);export{Bn as default}; +`}strong({tokens:e}){return`${this.parser.parseInline(e)}`}em({tokens:e}){return`${this.parser.parseInline(e)}`}codespan({text:e}){return`${e}`}br(e){return"
"}del({tokens:e}){return`${this.parser.parseInline(e)}`}link({href:e,title:t,tokens:n}){const s=this.parser.parseInline(n),i=be(e);if(i===null)return s;e=i;let r='
",r}image({href:e,title:t,text:n}){const s=be(e);if(s===null)return n;e=s;let i=`${n}{const c=o[a].flat(1/0);n=n.concat(this.walkTokens(c,t))}):o.tokens&&(n=n.concat(this.walkTokens(o.tokens,t)))}}return n}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{const s={...n};if(s.async=this.defaults.async||s.async||!1,n.extensions&&(n.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){const r=t.renderers[i.name];r?t.renderers[i.name]=function(...o){let a=i.renderer.apply(this,o);return a===!1&&(a=r.apply(this,o)),a}:t.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const r=t[i.level];r?r.unshift(i.tokenizer):t[i.level]=[i.tokenizer],i.start&&(i.level==="block"?t.startBlock?t.startBlock.push(i.start):t.startBlock=[i.start]:i.level==="inline"&&(t.startInline?t.startInline.push(i.start):t.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(t.childTokens[i.name]=i.childTokens)}),s.extensions=t),n.renderer){const i=this.defaults.renderer||new se(this.defaults);for(const r in n.renderer){if(!(r in i))throw new Error(`renderer '${r}' does not exist`);if(["options","parser"].includes(r))continue;const o=r,a=n.renderer[o],c=i[o];i[o]=(...l)=>{let u=a.apply(i,l);return u===!1&&(u=c.apply(i,l)),u||""}}s.renderer=i}if(n.tokenizer){const i=this.defaults.tokenizer||new te(this.defaults);for(const r in n.tokenizer){if(!(r in i))throw new Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;const o=r,a=n.tokenizer[o],c=i[o];i[o]=(...l)=>{let u=a.apply(i,l);return u===!1&&(u=c.apply(i,l)),u}}s.tokenizer=i}if(n.hooks){const i=this.defaults.hooks||new G;for(const r in n.hooks){if(!(r in i))throw new Error(`hook '${r}' does not exist`);if(["options","block"].includes(r))continue;const o=r,a=n.hooks[o],c=i[o];G.passThroughHooks.has(r)?i[o]=l=>{if(this.defaults.async)return Promise.resolve(a.call(i,l)).then(p=>c.call(i,p));const u=a.call(i,l);return c.call(i,u)}:i[o]=(...l)=>{let u=a.apply(i,l);return u===!1&&(u=c.apply(i,l)),u}}s.hooks=i}if(n.walkTokens){const i=this.defaults.walkTokens,r=n.walkTokens;s.walkTokens=function(o){let a=[];return a.push(r.call(this,o)),i&&(a=a.concat(i.call(this,o))),a}}this.defaults={...this.defaults,...s}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return S.lex(e,t??this.defaults)}parser(e,t){return A.parse(e,t??this.defaults)}parseMarkdown(e){return(n,s)=>{const i={...s},r={...this.defaults,...i},o=this.onError(!!r.silent,!!r.async);if(this.defaults.async===!0&&i.async===!1)return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof n>"u"||n===null)return o(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));r.hooks&&(r.hooks.options=r,r.hooks.block=e);const a=r.hooks?r.hooks.provideLexer():e?S.lex:S.lexInline,c=r.hooks?r.hooks.provideParser():e?A.parse:A.parseInline;if(r.async)return Promise.resolve(r.hooks?r.hooks.preprocess(n):n).then(l=>a(l,r)).then(l=>r.hooks?r.hooks.processAllTokens(l):l).then(l=>r.walkTokens?Promise.all(this.walkTokens(l,r.walkTokens)).then(()=>l):l).then(l=>c(l,r)).then(l=>r.hooks?r.hooks.postprocess(l):l).catch(o);try{r.hooks&&(n=r.hooks.preprocess(n));let l=a(n,r);r.hooks&&(l=r.hooks.processAllTokens(l)),r.walkTokens&&this.walkTokens(l,r.walkTokens);let u=c(l,r);return r.hooks&&(u=r.hooks.postprocess(u)),u}catch(l){return o(l)}}}onError(e,t){return n=>{if(n.message+=` +Please report this to https://github.com/markedjs/marked.`,e){const s="

An error occurred:

"+z(n.message+"",!0)+"
";return t?Promise.resolve(s):s}if(t)return Promise.reject(n);throw n}}}const P=new Ht;function m(d,e){return P.parse(d,e)}m.options=m.setOptions=function(d){return P.setOptions(d),m.defaults=P.defaults,Re(m.defaults),m};m.getDefaults=ae;m.defaults=F;m.use=function(...d){return P.use(...d),m.defaults=P.defaults,Re(m.defaults),m};m.walkTokens=function(d,e){return P.walkTokens(d,e)};m.parseInline=P.parseInline;m.Parser=A;m.parser=A.parse;m.Renderer=se;m.TextRenderer=fe;m.Lexer=S;m.lexer=S.lex;m.Tokenizer=te;m.Hooks=G;m.parse=m;m.options;m.setOptions;m.use;m.walkTokens;m.parseInline;A.parse;S.lex;const Nt={class:"min-h-screen flex items-center justify-center p-4 overflow-hidden transition-colors duration-300"},Vt={class:"w-full max-w-md relative z-10"},Gt={class:"p-8"},Wt={class:"flex justify-center mb-8"},Xt={class:"rounded-full bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 p-1 animate-spin-slow"},Kt={class:"rounded-full bg-gray-900 p-2"},Jt={class:"mb-6 relative"},Yt={class:"relative"},en=["readonly"],tn={key:0,class:"absolute inset-y-0 right-0 flex items-center pr-3"},nn=["disabled"],sn={class:"flex items-center justify-center relative z-10"},rn={class:"mt-6 text-center"},on={class:"flex-grow overflow-y-auto p-6"},ln={class:"flex-shrink-0 mr-4"},an={class:"flex-grow min-w-0 mr-4"},cn={class:"flex-shrink-0 flex space-x-2"},un=["onClick"],hn=["onClick"],pn=["onClick"],dn={key:0,class:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50"},fn={class:"space-y-4"},gn={class:"flex items-center"},xn={class:"flex items-center"},kn={class:"flex items-center"},wn={class:"flex items-center"},bn={key:0,class:"ml-2"},mn={key:1},yn=["href"],vn={class:"mt-6 flex flex-col items-center"},$n={class:"bg-white p-2 rounded-lg shadow-md"},_n={key:0,class:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50"},Rn={class:"flex justify-between items-center mb-4"},Tn=["innerHTML"],zn={__name:"RetrievewFileView",setup(d){const e=Fe(),t=window.location.origin,n=et(),s=Ne("isDarkMode"),i=nt(),{receiveData:r}=Ze(i),o=q(""),a=q({readonly:!1,loading:!1}),c=q(!1),l=q(""),u=q(null),p=q(!1),g=Oe(),b=r;Ue(()=>{const k=g.query.code;k&&(o.value=k)}),Qe(o,k=>{k.length===5&&R()});const R=async()=>{if(o.value.length!==5){e.showAlert("请输入5位取件码","error");return}a.value.readonly=!0,a.value.loading=!0;try{const k=await tt.post("/share/select/",{code:o.value});if(k.code===200)if(k.detail){const x=k.detail.text.startsWith("/share/download")||k.detail.name!=="Text",j={id:Date.now(),code:k.detail.code,filename:k.detail.name,size:T(k.detail.size),downloadUrl:x?k.detail.text:null,content:x?null:k.detail.text,date:new Date().toLocaleString()};let _=!0;i.receiveData.forEach(J=>{if(J.code===j.code){_=!1;return}}),_&&i.addReceiveData(j),p.value=!0,e.showAlert("文件获取成功","success")}else e.showAlert("无效的取件码","error");else e.showAlert(k.detail||"获取文件失败","error")}catch(k){console.error("取件失败:",k),e.showAlert("取件失败,请稍后重试","error")}finally{a.value.readonly=!1,a.value.loading=!1,o.value=""}},T=k=>{if(k===0)return"0 Bytes";const x=1024,j=["Bytes","KB","MB","GB","TB"],_=Math.floor(Math.log(k)/Math.log(x));return parseFloat((k/Math.pow(x,_)).toFixed(2))+" "+j[_]},B=k=>{u.value=k},M=k=>{const x=b.value.findIndex(j=>j.id===k);x!==-1&&i.deleteReceiveData(x)},E=()=>{p.value=!p.value},K=()=>{n.push("/send")},re=k=>k.downloadUrl?`${t}${k.downloadUrl}`:`${t}?code=${k.code}`,U=k=>{if(console.log(k),k.downloadUrl)window.open(`${k.downloadUrl.startsWith("http")?"":t}${k.downloadUrl}`,"_blank");else if(k.content){const x=new Blob([k.content],{type:"text/plain;charset=utf-8"});pt.saveAs(x,`${k.filename}.txt`)}},L=q(!1),Me=He(()=>u.value&&u.value.content?m(u.value.content):""),je=()=>{L.value=!0};return(k,x)=>{const j=Xe("router-link");return C(),I("div",Nt,[h("div",Vt,[h("div",{class:w(["rounded-3xl shadow-2xl overflow-hidden border transform transition-all duration-300",[f(s)?"bg-gray-800 bg-opacity-50 backdrop-filter backdrop-blur-xl border-gray-700":"bg-white border-gray-200"]])},[h("div",Gt,[h("div",Wt,[h("div",Xt,[h("div",Kt,[$(f(at),{class:"w-8 h-8 text-white"})])])]),h("h2",{onClick:K,class:w(["text-3xl cursor-pointer font-extrabold text-center mb-6",[f(s)?"text-transparent bg-clip-text bg-gradient-to-r from-indigo-300 via-purple-300 to-pink-300":"text-indigo-600"]])}," FileCodeBox ",2),h("form",{onSubmit:Ve(R,["prevent"])},[h("div",Jt,[h("label",{for:"code",class:w(["block text-sm font-medium mb-2",[f(s)?"text-gray-300":"text-gray-800"]])},"取件码",2),h("div",Yt,[Ge(h("input",{id:"code","onUpdate:modelValue":x[0]||(x[0]=_=>o.value=_),type:"text",class:w(["w-full px-4 py-3 rounded-lg placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 transition duration-300 pr-10",[f(s)?"bg-gray-700 bg-opacity-50":"bg-gray-100",{"ring-2 ring-red-500":l.value},f(s)?"text-gray-300":"text-gray-800"]]),placeholder:"请输入5位取件码",required:"",readonly:a.value.readonly,maxlength:"5",onFocus:x[1]||(x[1]=_=>c.value=!0),onBlur:x[2]||(x[2]=_=>c.value=!1)},null,42,en),[[We,o.value]]),a.value.loading?(C(),I("div",tn,x[5]||(x[5]=[h("span",{class:"animate-spin rounded-full h-5 w-5 border-b-2 border-indigo-500"},null,-1)]))):Y("",!0)]),h("div",{class:w(["absolute -bottom-0.5 left-2 h-0.5 bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 transition-all duration-300 ease-in-out",{"w-97-100":c.value,"w-0":!c.value}])},null,2)]),h("button",{type:"submit",class:"w-full bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 text-white font-bold py-3 px-4 rounded-lg hover:from-indigo-600 hover:via-purple-600 hover:to-pink-600 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-opacity-50 transition duration-300 transform hover:scale-105 hover:shadow-lg relative overflow-hidden group",disabled:a.value.loading},[h("span",sn,[h("span",null,D(a.value.loading?"处理中...":"提取文件"),1),$(f(ht),{class:"w-5 h-5 ml-2 transition-transform duration-300 transform group-hover:translate-x-1"})]),x[6]||(x[6]=h("span",{class:"absolute top-0 left-0 w-full h-full bg-gradient-to-r from-pink-500 via-purple-500 to-indigo-500 opacity-0 group-hover:opacity-100 transition-opacity duration-300"},null,-1))],8,nn)],32),h("div",rn,[$(j,{to:"/send",class:"text-indigo-400 hover:text-indigo-300 transition duration-300"},{default:O(()=>x[7]||(x[7]=[Z(" 需要发送文件?点击这里 ")])),_:1})])]),h("div",{class:w(["px-8 py-4 bg-opacity-50 flex justify-between items-center",[f(s)?"bg-gray-800":"bg-gray-100"]])},[h("span",{class:w(["text-sm flex items-center",[f(s)?"text-gray-300":"text-gray-800"]])},[$(f(st),{class:"w-4 h-4 mr-1 text-green-400"}),x[8]||(x[8]=Z(" 安全加密 "))],2),h("button",{onClick:E,class:w(["text-sm hover:text-indigo-300 transition duration-300 flex items-center",[f(s)?"text-indigo-400":"text-indigo-600"]])},[x[9]||(x[9]=Z(" 取件记录 ")),$(f(it),{class:"w-4 h-4 ml-1"})],2)],2)],2)]),$(oe,{name:"drawer"},{default:O(()=>[p.value?(C(),I("div",{key:0,class:w(["fixed inset-y-0 right-0 w-full sm:w-120 bg-opacity-70 backdrop-filter backdrop-blur-xl shadow-2xl z-50 overflow-hidden flex flex-col",[f(s)?"bg-gray-900":"bg-white"]])},[h("div",{class:w(["flex justify-between items-center p-6 border-b",[f(s)?"border-gray-700":"border-gray-200"]])},[h("h3",{class:w(["text-2xl font-bold",[f(s)?"text-white":"text-gray-800"]])}," 取件记录 ",2),h("button",{onClick:E,class:w(["hover:text-white transition duration-300",[f(s)?"text-gray-400":"text-gray-800"]])},[$(f(ge),{class:"w-6 h-6"})],2)],2),h("div",on,[$(Ke,{name:"list",tag:"div",class:"space-y-4"},{default:O(()=>[(C(!0),I(Je,null,Ye(f(b),_=>(C(),I("div",{key:_.id,class:w(["bg-opacity-50 rounded-lg p-4 flex items-center shadow-md hover:shadow-lg transition duration-300 transform hover:scale-102",[f(s)?"bg-gray-800 hover:bg-gray-700":"bg-gray-100 hover:bg-white"]])},[h("div",ln,[$(f(xe),{class:w(["w-10 h-10",[f(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])]),h("div",an,[h("p",{class:w(["font-medium text-lg truncate",[f(s)?"text-white":"text-gray-800"]])},D(_.filename),3),h("p",{class:w(["text-sm truncate",[f(s)?"text-gray-400":"text-gray-600"]])},D(_.date)+" · "+D(_.size),3)]),h("div",cn,[h("button",{onClick:J=>B(_),class:w(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[f(s)?"hover:bg-indigo-400 text-indigo-400":"hover:bg-indigo-100 text-indigo-600"]])},[$(f(lt),{class:"w-5 h-5"})],10,un),h("button",{onClick:J=>U(_),class:w(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[f(s)?"hover:bg-green-400 text-green-400":"hover:bg-green-100 text-green-600"]])},[$(f(ke),{class:"w-5 h-5"})],10,hn),h("button",{onClick:J=>M(_.id),class:w(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[f(s)?"hover:bg-red-400 text-red-400":"hover:bg-red-100 text-red-600"]])},[$(f(ut),{class:"w-5 h-5"})],10,pn)])],2))),128))]),_:1})])],2)):Y("",!0)]),_:1}),$(oe,{name:"fade"},{default:O(()=>[u.value?(C(),I("div",dn,[h("div",{class:w(["p-8 rounded-2xl max-w-md w-full mx-4 shadow-2xl transform transition-all duration-300 ease-out backdrop-filter backdrop-blur-lg bg-opacity-70 overflow-hidden",[f(s)?"bg-gray-800":"bg-white"]])},[h("h3",{class:w(["text-2xl font-bold mb-6 truncate",[f(s)?"text-white":"text-gray-800"]])}," 文件详情 ",2),h("div",fn,[h("div",gn,[$(f(xe),{class:w(["w-6 h-6 mr-3 flex-shrink-0",[f(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),h("p",{class:w([[f(s)?"text-gray-300":"text-gray-800"],"truncate flex-grow"])},[x[10]||(x[10]=h("span",{class:"font-medium"},"文件名:",-1)),Z(D(u.value.filename),1)],2)]),h("div",xn,[$(f(rt),{class:w(["w-6 h-6 mr-3 flex-shrink-0",[f(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),h("p",{class:w([[f(s)?"text-gray-300":"text-gray-800"],"truncate flex-grow"])},[x[11]||(x[11]=h("span",{class:"font-medium"},"取件日期:",-1)),Z(D(u.value.date),1)],2)]),h("div",kn,[$(f(ct),{class:w(["w-6 h-6 mr-3 flex-shrink-0",[f(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),h("p",{class:w([[f(s)?"text-gray-300":"text-gray-800"],"truncate flex-grow"])},[x[12]||(x[12]=h("span",{class:"font-medium"},"文件大小:",-1)),Z(D(u.value.size),1)],2)]),h("div",wn,[$(f(ke),{class:w(["w-6 h-6 mr-3",[f(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),h("p",{class:w([f(s)?"text-gray-300":"text-gray-800"])},x[13]||(x[13]=[h("span",{class:"font-medium"},"文件内容:",-1)]),2),u.value.filename=="Text"?(C(),I("div",bn,[h("button",{onClick:je,class:"px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition duration-300"}," 预览内容 ")])):(C(),I("div",mn,[h("a",{href:`${f(t)}${u.value.downloadUrl}`,target:"_blank",rel:"noopener noreferrer",class:"px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition duration-300"}," 点击下载 ",8,yn)]))])]),h("div",vn,[h("h4",{class:w(["text-lg font-semibold mb-3",[f(s)?"text-white":"text-gray-800"]])}," 取件二维码 ",2),h("div",$n,[$(ot,{value:re(u.value),size:128,level:"M"},null,8,["value"])]),h("p",{class:w(["mt-2 text-sm",[f(s)?"text-gray-400":"text-gray-600"]])}," 扫描二维码快速取件 ",2)]),h("button",{onClick:x[3]||(x[3]=_=>u.value=null),class:"mt-8 w-full bg-gradient-to-r from-indigo-500 to-purple-600 text-white px-6 py-3 rounded-lg font-medium hover:from-indigo-600 hover:to-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-opacity-50 transition duration-300 transform hover:scale-105"}," 关闭 ")],2)])):Y("",!0)]),_:1}),$(oe,{name:"fade"},{default:O(()=>[L.value?(C(),I("div",_n,[h("div",{class:w(["p-8 rounded-2xl max-w-3xl w-full mx-4 shadow-2xl transform transition-all duration-300 ease-out backdrop-filter backdrop-blur-lg bg-opacity-70 max-h-[80vh] overflow-y-auto",[f(s)?"bg-gray-800":"bg-white"]])},[h("div",Rn,[h("h3",{class:w(["text-2xl font-bold",[f(s)?"text-white":"text-gray-800"]])}," 内容预览 ",2),h("button",{onClick:x[4]||(x[4]=_=>L.value=!1),class:"text-gray-500 hover:text-gray-700"},[$(f(ge),{class:"w-6 h-6"})])]),h("div",{class:w(["prose max-w-none",[f(s)?"prose-invert":""]]),innerHTML:Me.value},null,10,Tn)],2)])):Y("",!0)]),_:1})])}}},Bn=Pe(zn,[["__scopeId","data-v-4324157a"]]);export{Bn as default}; diff --git a/themes/2024/assets/RetrievewFileView-Bf7MFUAC.css b/themes/2024/assets/RetrievewFileView-Bf7MFUAC.css new file mode 100644 index 0000000..5c21496 --- /dev/null +++ b/themes/2024/assets/RetrievewFileView-Bf7MFUAC.css @@ -0,0 +1 @@ +@keyframes blob-4324157a{0%,to{transform:translate(0) scale(1)}25%{transform:translate(20px,-50px) scale(1.1)}50%{transform:translate(-20px,20px) scale(.9)}75%{transform:translate(50px,50px) scale(1.05)}}.animate-blob-1[data-v-4324157a]{animation:blob-4324157a 25s infinite}.animate-blob-2[data-v-4324157a]{animation:blob-4324157a 30s infinite}.animate-blob-3[data-v-4324157a]{animation:blob-4324157a 35s infinite}.animate-blob-4[data-v-4324157a]{animation:blob-4324157a 40s infinite}.animate-spin-slow[data-v-4324157a]{animation:spin-4324157a 8s linear infinite}@keyframes spin-4324157a{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.fade-enter-active[data-v-4324157a],.fade-leave-active[data-v-4324157a]{transition:opacity .3s ease}.fade-enter-from[data-v-4324157a],.fade-leave-to[data-v-4324157a]{opacity:0}.list-enter-active[data-v-4324157a],.list-leave-active[data-v-4324157a]{transition:all .5s ease}.list-enter-from[data-v-4324157a],.list-leave-to[data-v-4324157a]{opacity:0;transform:translate(30px)}.drawer-enter-active[data-v-4324157a],.drawer-leave-active[data-v-4324157a]{transition:transform .3s ease}.drawer-enter-from[data-v-4324157a],.drawer-leave-to[data-v-4324157a]{transform:translate(100%)}.w-97-100[data-v-4324157a]{width:97%}[data-v-4324157a] .prose{text-align:left}[data-v-4324157a] .prose h1,[data-v-4324157a] .prose h2,[data-v-4324157a] .prose h3,[data-v-4324157a] .prose h4,[data-v-4324157a] .prose h5,[data-v-4324157a] .prose h6{color:#4f46e5}@media (prefers-color-scheme: dark){[data-v-4324157a] .prose h1,[data-v-4324157a] .prose h2,[data-v-4324157a] .prose h3,[data-v-4324157a] .prose h4,[data-v-4324157a] .prose h5,[data-v-4324157a] .prose h6{color:#818cf8}}@media (min-width: 640px){.sm\:w-120[data-v-4324157a]{width:30rem}} diff --git a/themes/2024/assets/RetrievewFileView-DY8JwPXC.css b/themes/2024/assets/RetrievewFileView-DY8JwPXC.css deleted file mode 100644 index d4a538e..0000000 --- a/themes/2024/assets/RetrievewFileView-DY8JwPXC.css +++ /dev/null @@ -1 +0,0 @@ -@keyframes blob-dda23bee{0%,to{transform:translate(0) scale(1)}25%{transform:translate(20px,-50px) scale(1.1)}50%{transform:translate(-20px,20px) scale(.9)}75%{transform:translate(50px,50px) scale(1.05)}}.animate-blob-1[data-v-dda23bee]{animation:blob-dda23bee 25s infinite}.animate-blob-2[data-v-dda23bee]{animation:blob-dda23bee 30s infinite}.animate-blob-3[data-v-dda23bee]{animation:blob-dda23bee 35s infinite}.animate-blob-4[data-v-dda23bee]{animation:blob-dda23bee 40s infinite}.animate-spin-slow[data-v-dda23bee]{animation:spin-dda23bee 8s linear infinite}@keyframes spin-dda23bee{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.fade-enter-active[data-v-dda23bee],.fade-leave-active[data-v-dda23bee]{transition:opacity .3s ease}.fade-enter-from[data-v-dda23bee],.fade-leave-to[data-v-dda23bee]{opacity:0}.list-enter-active[data-v-dda23bee],.list-leave-active[data-v-dda23bee]{transition:all .5s ease}.list-enter-from[data-v-dda23bee],.list-leave-to[data-v-dda23bee]{opacity:0;transform:translate(30px)}.drawer-enter-active[data-v-dda23bee],.drawer-leave-active[data-v-dda23bee]{transition:transform .3s ease}.drawer-enter-from[data-v-dda23bee],.drawer-leave-to[data-v-dda23bee]{transform:translate(100%)}.w-97-100[data-v-dda23bee]{width:97%}[data-v-dda23bee] .prose{text-align:left}[data-v-dda23bee] .prose h1,[data-v-dda23bee] .prose h2,[data-v-dda23bee] .prose h3,[data-v-dda23bee] .prose h4,[data-v-dda23bee] .prose h5,[data-v-dda23bee] .prose h6{color:#4f46e5}@media (prefers-color-scheme: dark){[data-v-dda23bee] .prose h1,[data-v-dda23bee] .prose h2,[data-v-dda23bee] .prose h3,[data-v-dda23bee] .prose h4,[data-v-dda23bee] .prose h5,[data-v-dda23bee] .prose h6{color:#818cf8}}@media (min-width: 640px){.sm\:w-120[data-v-dda23bee]{width:30rem}} diff --git a/themes/2024/assets/SendFileView-BpoP1hAD.js b/themes/2024/assets/SendFileView-Ca-fZPSX.js similarity index 93% rename from themes/2024/assets/SendFileView-BpoP1hAD.js rename to themes/2024/assets/SendFileView-Ca-fZPSX.js index 602eed5..73cb9fa 100644 --- a/themes/2024/assets/SendFileView-BpoP1hAD.js +++ b/themes/2024/assets/SendFileView-Ca-fZPSX.js @@ -1,4 +1,4 @@ -import{c as G,B as se,r as z,o as ae,w as xe,p as U,b as F,d as a,_ as ie,u as le,a as be,n as h,e as l,g as J,f as M,j as N,i as q,t as $,h as K,v as Z,T as O,C as me,F as ee,x as te,k as V,X as we,q as _e,y as Ce,z as Ae,A as re,m as Me}from"./index-BMgmatCO.js";import{g as Se,u as Be,S as Te,C as Ie,a as ke,Q as Ue,E as Fe}from"./_commonjsHelpers-CRVxHcaM.js";import{F as oe}from"./file-C8d0agNl.js";import{H as ze,T as $e}from"./trash-BsECra8n.js";/** +import{c as G,B as se,r as z,o as ae,w as xe,d as U,z as F,e as a,_ as ie,u as le,y as be,i as me,b as we,p as _e,f as M,n as h,g as l,h as J,l as N,k as q,t as $,j as K,v as Z,x as O,C as Ce,F as ee,q as te,m as V,X as Ae,T as Me,A as re}from"./index-Dm7yhqOC.js";import{g as Se,u as Be,S as Te,C as Ie,E as ke,a as Ue,Q as Fe}from"./_commonjsHelpers-BCjwediS.js";import{F as oe}from"./file-rOVCfWLN.js";import{T as ze,H as $e}from"./trash-CSx5DaSf.js";/** * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. @@ -18,4 +18,4 @@ import{c as G,B as se,r as z,o as ae,w as xe,p as U,b as F,d as a,_ as ie,u as l * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const je=G("SendIcon",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]),Re=se({__name:"BorderProgressBar",props:{progress:{}},setup(S){const D=S,k=z(null),u=z(null);let f=null;const A=()=>{if(!f||!u.value||!k.value)return;const x=k.value.clientWidth,m=k.value.clientHeight;u.value.width=x,u.value.height=m;const y=4,c=8;f.lineWidth=y;const _=f.createLinearGradient(0,0,x,m);_.addColorStop(0,"#4f46e5"),_.addColorStop(.5,"#7c3aed"),_.addColorStop(1,"#db2777"),f.strokeStyle="rgba(229, 231, 235, 0.2)",b(f,y/2,y/2,x-y,m-y,c),f.stroke();const I=((x+m)*2-8*c+2*Math.PI*c)*D.progress/100;f.strokeStyle=_,f.lineCap="round",f.lineJoin="round",f.beginPath();let v=I;const w=y/2,g=x-y,s=m-y;if(v>0){const n=Math.min(g-2*c,v);f.moveTo(c+w,w),f.lineTo(n+c+w,w),v-=n}if(v>0){const n=Math.min(Math.PI/2,v/c);f.arc(g-c+w,c+w,c,-Math.PI/2,n-Math.PI/2,!1),v-=n*c}if(v>0){const n=Math.min(s-2*c,v);f.lineTo(g+w,n+c+w),v-=n}if(v>0){const n=Math.min(Math.PI/2,v/c);f.arc(g-c+w,s-c+w,c,0,n,!1),v-=n*c}if(v>0){const n=Math.min(g-2*c,v);f.lineTo(g-n-c+w,s+w),v-=n}if(v>0){const n=Math.min(Math.PI/2,v/c);f.arc(c+w,s-c+w,c,Math.PI/2,Math.PI/2+n,!1),v-=n*c}if(v>0){const n=Math.min(s-2*c,v);f.lineTo(w,s-n-c+w),v-=n}if(v>0){const n=Math.min(Math.PI/2,v/c);f.arc(c+w,c+w,c,Math.PI,Math.PI+n,!1)}f.stroke()};function b(x,m,y,c,_,C){x.beginPath(),x.moveTo(m+C,y),x.lineTo(m+c-C,y),x.arcTo(m+c,y,m+c,y+C,C),x.lineTo(m+c,y+_-C),x.arcTo(m+c,y+_,m+c-C,y+_,C),x.lineTo(m+C,y+_),x.arcTo(m,y+_,m,y+_-C,C),x.lineTo(m,y+C),x.arcTo(m,y,m+C,y,C),x.closePath()}return ae(()=>{u.value&&(f=u.value.getContext("2d"),A())}),xe(()=>D.progress,A),(x,m)=>(U(),F("div",{class:"border-progress-container",ref_key:"container",ref:k},[a("canvas",{ref_key:"canvas",ref:u,class:"border-progress-canvas"},null,512)],512))}}),Ve=ie(Re,[["__scopeId","data-v-2fbf5085"]]);var ue={exports:{}};(function(S,D){(function(k){S.exports=k()})(function(k){var u=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function f(s,n){var t=s[0],e=s[1],o=s[2],r=s[3];t+=(e&o|~e&r)+n[0]-680876936|0,t=(t<<7|t>>>25)+e|0,r+=(t&e|~t&o)+n[1]-389564586|0,r=(r<<12|r>>>20)+t|0,o+=(r&t|~r&e)+n[2]+606105819|0,o=(o<<17|o>>>15)+r|0,e+=(o&r|~o&t)+n[3]-1044525330|0,e=(e<<22|e>>>10)+o|0,t+=(e&o|~e&r)+n[4]-176418897|0,t=(t<<7|t>>>25)+e|0,r+=(t&e|~t&o)+n[5]+1200080426|0,r=(r<<12|r>>>20)+t|0,o+=(r&t|~r&e)+n[6]-1473231341|0,o=(o<<17|o>>>15)+r|0,e+=(o&r|~o&t)+n[7]-45705983|0,e=(e<<22|e>>>10)+o|0,t+=(e&o|~e&r)+n[8]+1770035416|0,t=(t<<7|t>>>25)+e|0,r+=(t&e|~t&o)+n[9]-1958414417|0,r=(r<<12|r>>>20)+t|0,o+=(r&t|~r&e)+n[10]-42063|0,o=(o<<17|o>>>15)+r|0,e+=(o&r|~o&t)+n[11]-1990404162|0,e=(e<<22|e>>>10)+o|0,t+=(e&o|~e&r)+n[12]+1804603682|0,t=(t<<7|t>>>25)+e|0,r+=(t&e|~t&o)+n[13]-40341101|0,r=(r<<12|r>>>20)+t|0,o+=(r&t|~r&e)+n[14]-1502002290|0,o=(o<<17|o>>>15)+r|0,e+=(o&r|~o&t)+n[15]+1236535329|0,e=(e<<22|e>>>10)+o|0,t+=(e&r|o&~r)+n[1]-165796510|0,t=(t<<5|t>>>27)+e|0,r+=(t&o|e&~o)+n[6]-1069501632|0,r=(r<<9|r>>>23)+t|0,o+=(r&e|t&~e)+n[11]+643717713|0,o=(o<<14|o>>>18)+r|0,e+=(o&t|r&~t)+n[0]-373897302|0,e=(e<<20|e>>>12)+o|0,t+=(e&r|o&~r)+n[5]-701558691|0,t=(t<<5|t>>>27)+e|0,r+=(t&o|e&~o)+n[10]+38016083|0,r=(r<<9|r>>>23)+t|0,o+=(r&e|t&~e)+n[15]-660478335|0,o=(o<<14|o>>>18)+r|0,e+=(o&t|r&~t)+n[4]-405537848|0,e=(e<<20|e>>>12)+o|0,t+=(e&r|o&~r)+n[9]+568446438|0,t=(t<<5|t>>>27)+e|0,r+=(t&o|e&~o)+n[14]-1019803690|0,r=(r<<9|r>>>23)+t|0,o+=(r&e|t&~e)+n[3]-187363961|0,o=(o<<14|o>>>18)+r|0,e+=(o&t|r&~t)+n[8]+1163531501|0,e=(e<<20|e>>>12)+o|0,t+=(e&r|o&~r)+n[13]-1444681467|0,t=(t<<5|t>>>27)+e|0,r+=(t&o|e&~o)+n[2]-51403784|0,r=(r<<9|r>>>23)+t|0,o+=(r&e|t&~e)+n[7]+1735328473|0,o=(o<<14|o>>>18)+r|0,e+=(o&t|r&~t)+n[12]-1926607734|0,e=(e<<20|e>>>12)+o|0,t+=(e^o^r)+n[5]-378558|0,t=(t<<4|t>>>28)+e|0,r+=(t^e^o)+n[8]-2022574463|0,r=(r<<11|r>>>21)+t|0,o+=(r^t^e)+n[11]+1839030562|0,o=(o<<16|o>>>16)+r|0,e+=(o^r^t)+n[14]-35309556|0,e=(e<<23|e>>>9)+o|0,t+=(e^o^r)+n[1]-1530992060|0,t=(t<<4|t>>>28)+e|0,r+=(t^e^o)+n[4]+1272893353|0,r=(r<<11|r>>>21)+t|0,o+=(r^t^e)+n[7]-155497632|0,o=(o<<16|o>>>16)+r|0,e+=(o^r^t)+n[10]-1094730640|0,e=(e<<23|e>>>9)+o|0,t+=(e^o^r)+n[13]+681279174|0,t=(t<<4|t>>>28)+e|0,r+=(t^e^o)+n[0]-358537222|0,r=(r<<11|r>>>21)+t|0,o+=(r^t^e)+n[3]-722521979|0,o=(o<<16|o>>>16)+r|0,e+=(o^r^t)+n[6]+76029189|0,e=(e<<23|e>>>9)+o|0,t+=(e^o^r)+n[9]-640364487|0,t=(t<<4|t>>>28)+e|0,r+=(t^e^o)+n[12]-421815835|0,r=(r<<11|r>>>21)+t|0,o+=(r^t^e)+n[15]+530742520|0,o=(o<<16|o>>>16)+r|0,e+=(o^r^t)+n[2]-995338651|0,e=(e<<23|e>>>9)+o|0,t+=(o^(e|~r))+n[0]-198630844|0,t=(t<<6|t>>>26)+e|0,r+=(e^(t|~o))+n[7]+1126891415|0,r=(r<<10|r>>>22)+t|0,o+=(t^(r|~e))+n[14]-1416354905|0,o=(o<<15|o>>>17)+r|0,e+=(r^(o|~t))+n[5]-57434055|0,e=(e<<21|e>>>11)+o|0,t+=(o^(e|~r))+n[12]+1700485571|0,t=(t<<6|t>>>26)+e|0,r+=(e^(t|~o))+n[3]-1894986606|0,r=(r<<10|r>>>22)+t|0,o+=(t^(r|~e))+n[10]-1051523|0,o=(o<<15|o>>>17)+r|0,e+=(r^(o|~t))+n[1]-2054922799|0,e=(e<<21|e>>>11)+o|0,t+=(o^(e|~r))+n[8]+1873313359|0,t=(t<<6|t>>>26)+e|0,r+=(e^(t|~o))+n[15]-30611744|0,r=(r<<10|r>>>22)+t|0,o+=(t^(r|~e))+n[6]-1560198380|0,o=(o<<15|o>>>17)+r|0,e+=(r^(o|~t))+n[13]+1309151649|0,e=(e<<21|e>>>11)+o|0,t+=(o^(e|~r))+n[4]-145523070|0,t=(t<<6|t>>>26)+e|0,r+=(e^(t|~o))+n[11]-1120210379|0,r=(r<<10|r>>>22)+t|0,o+=(t^(r|~e))+n[2]+718787259|0,o=(o<<15|o>>>17)+r|0,e+=(r^(o|~t))+n[9]-343485551|0,e=(e<<21|e>>>11)+o|0,s[0]=t+s[0]|0,s[1]=e+s[1]|0,s[2]=o+s[2]|0,s[3]=r+s[3]|0}function A(s){var n=[],t;for(t=0;t<64;t+=4)n[t>>2]=s.charCodeAt(t)+(s.charCodeAt(t+1)<<8)+(s.charCodeAt(t+2)<<16)+(s.charCodeAt(t+3)<<24);return n}function b(s){var n=[],t;for(t=0;t<64;t+=4)n[t>>2]=s[t]+(s[t+1]<<8)+(s[t+2]<<16)+(s[t+3]<<24);return n}function x(s){var n=s.length,t=[1732584193,-271733879,-1732584194,271733878],e,o,r,B,P,j;for(e=64;e<=n;e+=64)f(t,A(s.substring(e-64,e)));for(s=s.substring(e-64),o=s.length,r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e=0;e>2]|=s.charCodeAt(e)<<(e%4<<3);if(r[e>>2]|=128<<(e%4<<3),e>55)for(f(t,r),e=0;e<16;e+=1)r[e]=0;return B=n*8,B=B.toString(16).match(/(.*?)(.{0,8})$/),P=parseInt(B[2],16),j=parseInt(B[1],16)||0,r[14]=P,r[15]=j,f(t,r),t}function m(s){var n=s.length,t=[1732584193,-271733879,-1732584194,271733878],e,o,r,B,P,j;for(e=64;e<=n;e+=64)f(t,b(s.subarray(e-64,e)));for(s=e-64>2]|=s[e]<<(e%4<<3);if(r[e>>2]|=128<<(e%4<<3),e>55)for(f(t,r),e=0;e<16;e+=1)r[e]=0;return B=n*8,B=B.toString(16).match(/(.*?)(.{0,8})$/),P=parseInt(B[2],16),j=parseInt(B[1],16)||0,r[14]=P,r[15]=j,f(t,r),t}function y(s){var n="",t;for(t=0;t<4;t+=1)n+=u[s>>t*8+4&15]+u[s>>t*8&15];return n}function c(s){var n;for(n=0;nr?new ArrayBuffer(0):(B=r-o,P=new ArrayBuffer(B),j=new Uint8Array(P),W=new Uint8Array(this,o,B),j.set(W),P)}}();function _(s){return/[\u0080-\uFFFF]/.test(s)&&(s=unescape(encodeURIComponent(s))),s}function C(s,n){var t=s.length,e=new ArrayBuffer(t),o=new Uint8Array(e),r;for(r=0;r>2]|=n.charCodeAt(e)<<(e%4<<3);return this._finish(o,t),r=c(this._hash),s&&(r=w(r)),this.reset(),r},g.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},g.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},g.prototype.setState=function(s){return this._buff=s.buff,this._length=s.length,this._hash=s.hash,this},g.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},g.prototype._finish=function(s,n){var t=n,e,o,r;if(s[t>>2]|=128<<(t%4<<3),t>55)for(f(this._hash,s),t=0;t<16;t+=1)s[t]=0;e=this._length*8,e=e.toString(16).match(/(.*?)(.{0,8})$/),o=parseInt(e[2],16),r=parseInt(e[1],16)||0,s[14]=o,s[15]=r,f(this._hash,s)},g.hash=function(s,n){return g.hashBinary(_(s),n)},g.hashBinary=function(s,n){var t=x(s),e=c(t);return n?w(e):e},g.ArrayBuffer=function(){this.reset()},g.ArrayBuffer.prototype.append=function(s){var n=v(this._buff.buffer,s),t=n.length,e;for(this._length+=s.byteLength,e=64;e<=t;e+=64)f(this._hash,b(n.subarray(e-64,e)));return this._buff=e-64>2]|=n[o]<<(o%4<<3);return this._finish(e,t),r=c(this._hash),s&&(r=w(r)),this.reset(),r},g.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},g.ArrayBuffer.prototype.getState=function(){var s=g.prototype.getState.call(this);return s.buff=I(s.buff),s},g.ArrayBuffer.prototype.setState=function(s){return s.buff=C(s.buff,!0),g.prototype.setState.call(this,s)},g.ArrayBuffer.prototype.destroy=g.prototype.destroy,g.ArrayBuffer.prototype._finish=g.prototype._finish,g.ArrayBuffer.hash=function(s,n){var t=m(new Uint8Array(s)),e=c(t);return n?w(e):e},g})})(ue);var He=ue.exports;const Ee=Se(He),ce=async(S,D={})=>{const{successMsg:k="复制成功",errorMsg:u="复制失败,请手动复制",showMsg:f=!0}=D,A=le();try{if(navigator.clipboard&&navigator.clipboard.writeText)return await navigator.clipboard.writeText(S),f&&A.showAlert(k,"success"),!0;const b=document.createElement("textarea");b.value=S,b.style.position="fixed",b.style.opacity="0",document.body.appendChild(b),b.select();const x=document.execCommand("copy");if(document.body.removeChild(b),x)return f&&A.showAlert(k,"success"),!0;throw new Error("execCommand copy failed")}catch(b){return console.error("复制失败:",b),f&&A.showAlert(u,"error"),!1}},ne=async S=>{const D=`${window.location.origin}/#/?code=${S}`;return ce(D,{successMsg:"取件链接已复制到剪贴板",errorMsg:"复制失败,请手动复制取件链接"})},Ne=async S=>ce(S,{successMsg:"取件码已复制到剪贴板",errorMsg:"复制失败,请手动复制取件码"}),qe=S=>S>=1024*1024*1024?Math.round(S/(1024*1024*1024))+"GB":S>=1024*1024?Math.round(S/(1024*1024))+"MB":Math.round(S/1024)+"KB",We={class:"min-h-screen flex items-center justify-center p-4 overflow-hidden transition-colors duration-300"},Ge={class:"p-8"},Qe={class:"flex justify-center space-x-4 mb-6"},Je={key:"file",class:"grid grid-cols-1 gap-8"},Ke={key:0,class:"absolute inset-0 w-full h-full"},Oe={class:"block truncate"},Xe={key:"text",class:"grid grid-cols-1 gap-8"},Ye={key:0,class:"flex flex-col"},Ze={class:"flex flex-col space-y-4"},et=["value"],tt={key:0,class:"flex items-center space-x-2"},rt={class:"relative flex-grow"},ot=["placeholder"],nt={type:"submit",class:"w-full bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 text-white font-bold py-4 px-6 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-opacity-50 transition-all duration-300 transform hover:scale-105 hover:shadow-lg relative overflow-hidden group"},st={class:"relative z-10 flex items-center justify-center text-lg"},at={class:"mt-6 text-center"},it={class:"flex-grow overflow-y-auto p-6"},lt={class:"flex-shrink-0 mr-4"},ut={class:"flex-grow min-w-0 mr-4"},ct={class:"flex-shrink-0 flex space-x-2"},dt=["onClick"],ft=["onClick"],ht=["onClick"],gt={key:0,class:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50"},pt={class:"space-y-4"},yt={class:"flex items-center"},vt={class:"flex items-center"},xt={class:"flex items-center"},bt={class:"flex items-center"},mt={class:"mt-6 flex justify-between items-center"},wt={class:"flex flex-col items-center w-1/2 pr-2"},_t={class:"text-2xl font-bold text-indigo-600"},Ct={class:"flex flex-col items-center w-1/2 pl-2"},At={class:"bg-white p-2 rounded-lg shadow-md"},Mt=se({__name:"SendFileView",setup(S){const D=JSON.parse(localStorage.getItem("config")||"{}");console.log(D);const k=Ce(),u=Ae("isDarkMode"),f=Be(),A=z("file"),b=z(null),x=z(""),m=z(null),y=z("day"),c=z("1"),_=z(0),C=z(!1),I=z(null),v=le(),w=be(()=>f.shareData),g=z(""),s=z(new Set),n=()=>{var d;(d=m.value)==null||d.click()},t=async d=>{const i=d.target;i.files&&i.files.length>0&&(b.value=i.files[0],g.value=await o(b.value))},e=async d=>{var i;(i=d.dataTransfer)!=null&&i.files&&d.dataTransfer.files.length>0&&(b.value=d.dataTransfer.files[0],g.value=await o(b.value),r())},o=async d=>new Promise(i=>{const p=new Ee.ArrayBuffer,T=new FileReader;let R=0;const H=Math.ceil(d.size/2097152);T.onload=E=>{p.append(E.target.result),R++,R{const E=R*2097152,ve=E+2097152>=d.size?d.size:E+2097152;T.readAsArrayBuffer(d.slice(E,ve))};Y()}),r=async()=>{if(!b.value)return;const d=1024*1024,i=Math.ceil(b.value.size/d),{uploadedList:L}=await B(g.value);s.value=new Set(L);for(let p=0;p(console.log(d),new Promise(i=>{setTimeout(()=>{i({uploadedList:[]})},500)})),P=async(d,i,L)=>new Promise(p=>{setTimeout(()=>{console.log(`上传切片 ${i+1}/${L}`),s.value.add(i),p()},500)}),j=async(d,i)=>{console.log(`请求合并文件切片, fileHash: ${d}, totalChunks: ${i}`)},W=(d=y.value)=>{switch(d){case"day":return"输入天数";case"hour":return"输入小时数";case"minute":return"输入分钟数";case"count":return"输入查看次数";case"forever":return"永久";default:return"输入值"}},Q=(d=y.value)=>{switch(d){case"day":return"天";case"hour":return"小时";case"minute":return"分钟";case"count":return"次";case"forever":return"永久";default:return""}},de=async()=>{if(A.value==="file"&&!b.value){v.showAlert("请选择要上传的文件","error");return}if(A.value==="text"&&!x.value.trim()){v.showAlert("请输入要发送的文本","error");return}if(y.value!=="forever"&&!c.value){v.showAlert("请输入过期值","error");return}try{let d;const i=new FormData,L=A.value==="file";L?i.append("file",b.value):i.append("text",x.value),y.value!=="forever"&&i.append("expire_value",c.value),i.append("expire_style",y.value);const p={headers:{"Content-Type":"multipart/form-data"},onUploadProgress:T=>{const R=Math.round(T.loaded*100/T.total);_.value=R}};if(L?d=await re.post("/share/file/",i,p):d=await re.post("/share/text/",i,p),d&&d.code===200){const T=d.detail.code,R=d.detail.name,H={id:Date.now(),filename:R,date:new Date().toISOString().split("T")[0],size:A.value==="text"?`${(x.value.length/1024).toFixed(2)} KB`:`${(b.value.size/(1024*1024)).toFixed(1)} MB`,expiration:y.value==="forever"?"永久":`${c.value}${Q()}后过期`,retrieveCode:T};f.addShareData(H),v.showAlert(`文件发送成功!取件码:${T}`,"success"),b.value=null,x.value="",c.value="",_.value=0,C.value=!0,await ne(T)}else throw new Error("服务器响应异常")}catch(d){console.error("发送失败:",d),d.response.data.detail?v.showAlert(d.response.data.detail,"error"):v.showAlert("发送失败,请稍后重试","error")}finally{_.value=0}},fe=()=>{k.push("/")},X=()=>{C.value=!C.value},he=d=>{I.value=d},ge=d=>{const i=f.shareData.findIndex(L=>L.id===d);i!==-1&&f.deleteShareData(i)},pe=window.location.origin+"/#/",ye=d=>`${pe}?code=${d.retrieveCode}`;return ae(()=>{console.log("SendFileView mounted")}),(d,i)=>{const L=Me("router-link");return U(),F("div",We,[a("div",{class:h(["rounded-3xl shadow-2xl overflow-hidden border w-full max-w-md transition-colors duration-300",[l(u)?"bg-white bg-opacity-10 backdrop-filter backdrop-blur-xl border-gray-700":"bg-white border-gray-200"]])},[a("div",Ge,[a("h2",{class:h(["text-3xl font-extrabold text-center mb-8 cursor-pointer transition-colors duration-300",[l(u)?"text-transparent bg-clip-text bg-gradient-to-r from-indigo-300 via-purple-300 to-pink-300":"text-indigo-600"]]),onClick:fe}," FileCodeBox ",2),a("form",{onSubmit:J(de,["prevent"]),class:"space-y-8"},[a("div",Qe,[a("button",{type:"button",onClick:i[0]||(i[0]=p=>A.value="file"),class:h(["px-4 py-2 rounded-lg",A.value==="file"?"bg-indigo-600 text-white":"bg-gray-700 text-gray-300"])}," 发送文件 ",2),a("button",{type:"button",onClick:i[1]||(i[1]=p=>A.value="text"),class:h(["px-4 py-2 rounded-lg",A.value==="text"?"bg-indigo-600 text-white":"bg-gray-700 text-gray-300"])}," 发送文本 ",2)]),M(O,{name:"fade",mode:"out-in"},{default:N(()=>[A.value==="file"?(U(),F("div",Je,[a("div",{class:h(["rounded-xl p-8 flex flex-col items-center justify-center border-2 border-dashed transition-all duration-300 group cursor-pointer relative",[l(u)?"bg-gray-800 bg-opacity-50 border-gray-600 hover:border-indigo-500":"bg-gray-100 border-gray-300 hover:border-indigo-500"]]),onClick:n,onDragover:i[2]||(i[2]=J(()=>{},["prevent"])),onDrop:J(e,["prevent"])},[a("input",{id:"file-upload",type:"file",class:"hidden",onChange:t,ref_key:"fileInput",ref:m},null,544),_.value>0?(U(),F("div",Ke,[M(Ve,{progress:_.value},null,8,["progress"])])):q("",!0),M(l(Le),{class:h(["w-16 h-16 transition-colors duration-300",l(u)?"text-gray-400 group-hover:text-indigo-400":"text-gray-600 group-hover:text-indigo-600"])},null,8,["class"]),a("p",{class:h(["mt-4 text-sm transition-colors duration-300 w-full text-center",l(u)?"text-gray-400 group-hover:text-indigo-400":"text-gray-600 group-hover:text-indigo-600"])},[a("span",Oe,$(b.value?b.value.name:"点击或拖放文件到此处上传"),1)],2),a("p",{class:h(["mt-2 text-xs",l(u)?"text-gray-500":"text-gray-400"])}," 支持各种常见格式,最大"+$(l(qe)(l(D).uploadSize)),3)],34)])):(U(),F("div",Xe,[A.value==="text"?(U(),F("div",Ye,[K(a("textarea",{id:"text-content","onUpdate:modelValue":i[3]||(i[3]=p=>x.value=p),rows:"7",class:h(["flex-grow px-4 py-3 rounded-xl placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 transition duration-300 resize-none",l(u)?"bg-gray-800 bg-opacity-50 text-white":"bg-white text-gray-900 border border-gray-300"]),placeholder:"在此输入要发送的文本..."},null,2),[[Z,x.value]])])):q("",!0)]))]),_:1}),a("div",Ze,[a("label",{class:h(["text-sm font-medium",l(u)?"text-gray-300":"text-gray-700"])}," 过期方式 ",2),K(a("select",{"onUpdate:modelValue":i[4]||(i[4]=p=>y.value=p),class:h(["px-4 py-2 rounded-xl focus:outline-none focus:ring-2 focus:ring-indigo-500",l(u)?"bg-gray-800 bg-opacity-50 text-white":"bg-white text-gray-900 border border-gray-300"])},[(U(!0),F(ee,null,te(l(D).expireStyle,p=>(U(),F("option",{value:p,key:p},$(Q(p)),9,et))),128))],2),[[me,y.value]]),y.value!=="forever"?(U(),F("div",tt,[a("div",rt,[K(a("input",{"onUpdate:modelValue":i[5]||(i[5]=p=>c.value=p),type:"number",placeholder:W(),class:h(["w-full px-4 py-2 pr-16 rounded-xl placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500",l(u)?"bg-gray-800 bg-opacity-50 text-white":"bg-white text-gray-900 border border-gray-300"])},null,10,ot),[[Z,c.value]]),a("span",{class:h(["absolute right-3 top-1/2 transform -translate-y-1/2",l(u)?"text-gray-300":"text-gray-700"])},$(Q()),3)])])):q("",!0)]),a("button",nt,[i[9]||(i[9]=a("span",{class:"absolute top-0 left-0 w-full h-full bg-white opacity-0 group-hover:opacity-20 transition-opacity duration-300"},null,-1)),a("span",st,[M(l(je),{class:"w-6 h-6 mr-2"}),i[8]||(i[8]=a("span",null,"安全寄送",-1))])])],32),a("div",at,[M(L,{to:"/",class:"text-indigo-400 hover:text-indigo-300 transition duration-300"},{default:N(()=>i[10]||(i[10]=[V(" 需要取件?点击这里 ")])),_:1})])]),a("div",{class:h(["px-8 py-4 bg-opacity-50 flex justify-between items-center",[l(u)?"bg-gray-800":"bg-gray-100"]])},[a("span",{class:h(["text-sm flex items-center",[l(u)?"text-gray-300":"text-gray-800"]])},[M(l(Te),{class:"w-4 h-4 mr-1 text-green-400"}),i[11]||(i[11]=V(" 安全加密 "))],2),a("button",{onClick:X,class:h(["text-sm hover:text-indigo-300 transition duration-300 flex items-center",[l(u)?"text-indigo-400":"text-indigo-600"]])},[i[12]||(i[12]=V(" 发件记录 ")),M(l(Ie),{class:"w-4 h-4 ml-1"})],2)],2)],2),M(O,{name:"drawer"},{default:N(()=>[C.value?(U(),F("div",{key:0,class:h(["fixed inset-y-0 right-0 w-full sm:w-120 bg-opacity-70 backdrop-filter backdrop-blur-xl shadow-2xl z-50 overflow-hidden flex flex-col",[l(u)?"bg-gray-900":"bg-white"]])},[a("div",{class:h(["flex justify-between items-center p-6 border-b",[l(u)?"border-gray-700":"border-gray-200"]])},[a("h3",{class:h(["text-2xl font-bold",[l(u)?"text-white":"text-gray-800"]])}," 发件记录 ",2),a("button",{onClick:X,class:h(["hover:text-white transition duration-300",[l(u)?"text-gray-400":"text-gray-800"]])},[M(l(we),{class:"w-6 h-6"})],2)],2),a("div",it,[M(_e,{name:"list",tag:"div",class:"space-y-4"},{default:N(()=>[(U(!0),F(ee,null,te(w.value,p=>(U(),F("div",{key:p.id,class:h(["bg-opacity-50 rounded-lg p-4 flex items-center shadow-md hover:shadow-lg transition duration-300 transform hover:scale-102",[l(u)?"bg-gray-800 hover:bg-gray-700":"bg-gray-100 hover:bg-white"]])},[a("div",lt,[M(l(oe),{class:h(["w-10 h-10",[l(u)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])]),a("div",ut,[a("p",{class:h(["font-medium text-lg truncate",[l(u)?"text-white":"text-gray-800"]])},$(p.filename?p.filename:"Text"),3),a("p",{class:h(["text-sm truncate",[l(u)?"text-gray-400":"text-gray-600"]])},$(p.date)+" · "+$(p.size),3)]),a("div",ct,[a("button",{onClick:T=>l(ne)(p.retrieveCode),class:h(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[l(u)?"hover:bg-blue-400 text-blue-400":"hover:bg-blue-100 text-blue-600"]])},[M(l(De),{class:"w-5 h-5"})],10,dt),a("button",{onClick:T=>he(p),class:h(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[l(u)?"hover:bg-green-400 text-green-400":"hover:bg-green-100 text-green-600"]])},[M(l(Fe),{class:"w-5 h-5"})],10,ft),a("button",{onClick:T=>ge(p.id),class:h(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[l(u)?"hover:bg-red-400 text-red-400":"hover:bg-red-100 text-red-600"]])},[M(l($e),{class:"w-5 h-5"})],10,ht)])],2))),128))]),_:1})])],2)):q("",!0)]),_:1}),M(O,{name:"fade"},{default:N(()=>[I.value?(U(),F("div",gt,[a("div",{class:h(["p-8 rounded-2xl max-w-md w-full mx-4 shadow-2xl transform transition-all duration-300 ease-out backdrop-filter backdrop-blur-lg bg-opacity-70",[l(u)?"bg-gray-800":"bg-white"]])},[a("h3",{class:h(["text-2xl font-bold mb-6",[l(u)?"text-white":"text-gray-800"]])}," 文件详情 ",2),a("div",pt,[a("div",yt,[M(l(oe),{class:h(["w-6 h-6 mr-3",[l(u)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),a("p",{class:h([l(u)?"text-gray-300":"text-gray-800"])},[i[13]||(i[13]=a("span",{class:"font-medium"},"文件名:",-1)),V($(I.value.filename),1)],2)]),a("div",vt,[M(l(ke),{class:h(["w-6 h-6 mr-3",[l(u)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),a("p",{class:h([l(u)?"text-gray-300":"text-gray-800"])},[i[14]||(i[14]=a("span",{class:"font-medium"},"发送日期:",-1)),V($(I.value.date),1)],2)]),a("div",xt,[M(l(ze),{class:h(["w-6 h-6 mr-3",[l(u)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),a("p",{class:h([l(u)?"text-gray-300":"text-gray-800"])},[i[15]||(i[15]=a("span",{class:"font-medium"},"文件大小:",-1)),V($(I.value.size),1)],2)]),a("div",bt,[M(l(Pe),{class:h(["w-6 h-6 mr-3",[l(u)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),a("p",{class:h([l(u)?"text-gray-300":"text-gray-800"])},[i[16]||(i[16]=a("span",{class:"font-medium"},"过期时间:",-1)),V($(I.value.expiration),1)],2)])]),a("div",mt,[a("div",wt,[a("h4",{class:h(["text-lg font-semibold mb-3",[l(u)?"text-white":"text-gray-800"]])}," 取件码 ",2),a("div",{class:"bg-gray-100 p-3 rounded-lg shadow-md cursor-pointer hover:bg-gray-200 transition-colors duration-300 w-full text-center",onClick:i[6]||(i[6]=p=>l(Ne)(I.value.retrieveCode))},[a("p",_t,$(I.value.retrieveCode),1)]),a("p",{class:h(["mt-2 text-sm",[l(u)?"text-gray-400":"text-gray-600"]])}," 点击复制取件码 ",2)]),a("div",Ct,[a("h4",{class:h(["text-lg font-semibold mb-3",[l(u)?"text-white":"text-gray-800"]])}," 二维码 ",2),a("div",At,[M(Ue,{value:ye(I.value),size:128,level:"M"},null,8,["value"])]),a("p",{class:h(["mt-2 text-sm",[l(u)?"text-gray-400":"text-gray-600"]])}," 扫描二维码快速取件 ",2)])]),a("button",{onClick:i[7]||(i[7]=p=>I.value=null),class:"mt-8 w-full bg-gradient-to-r from-indigo-500 to-purple-600 text-white px-6 py-3 rounded-lg font-medium hover:from-indigo-600 hover:to-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-opacity-50 transition duration-300 transform hover:scale-105"}," 关闭 ")],2)])):q("",!0)]),_:1})])}}}),kt=ie(Mt,[["__scopeId","data-v-f88861ef"]]);export{kt as default}; + */const je=G("SendIcon",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]),Re=se({__name:"BorderProgressBar",props:{progress:{}},setup(S){const D=S,k=z(null),u=z(null);let f=null;const A=()=>{if(!f||!u.value||!k.value)return;const x=k.value.clientWidth,m=k.value.clientHeight;u.value.width=x,u.value.height=m;const y=4,c=8;f.lineWidth=y;const _=f.createLinearGradient(0,0,x,m);_.addColorStop(0,"#4f46e5"),_.addColorStop(.5,"#7c3aed"),_.addColorStop(1,"#db2777"),f.strokeStyle="rgba(229, 231, 235, 0.2)",b(f,y/2,y/2,x-y,m-y,c),f.stroke();const I=((x+m)*2-8*c+2*Math.PI*c)*D.progress/100;f.strokeStyle=_,f.lineCap="round",f.lineJoin="round",f.beginPath();let v=I;const w=y/2,g=x-y,s=m-y;if(v>0){const n=Math.min(g-2*c,v);f.moveTo(c+w,w),f.lineTo(n+c+w,w),v-=n}if(v>0){const n=Math.min(Math.PI/2,v/c);f.arc(g-c+w,c+w,c,-Math.PI/2,n-Math.PI/2,!1),v-=n*c}if(v>0){const n=Math.min(s-2*c,v);f.lineTo(g+w,n+c+w),v-=n}if(v>0){const n=Math.min(Math.PI/2,v/c);f.arc(g-c+w,s-c+w,c,0,n,!1),v-=n*c}if(v>0){const n=Math.min(g-2*c,v);f.lineTo(g-n-c+w,s+w),v-=n}if(v>0){const n=Math.min(Math.PI/2,v/c);f.arc(c+w,s-c+w,c,Math.PI/2,Math.PI/2+n,!1),v-=n*c}if(v>0){const n=Math.min(s-2*c,v);f.lineTo(w,s-n-c+w),v-=n}if(v>0){const n=Math.min(Math.PI/2,v/c);f.arc(c+w,c+w,c,Math.PI,Math.PI+n,!1)}f.stroke()};function b(x,m,y,c,_,C){x.beginPath(),x.moveTo(m+C,y),x.lineTo(m+c-C,y),x.arcTo(m+c,y,m+c,y+C,C),x.lineTo(m+c,y+_-C),x.arcTo(m+c,y+_,m+c-C,y+_,C),x.lineTo(m+C,y+_),x.arcTo(m,y+_,m,y+_-C,C),x.lineTo(m,y+C),x.arcTo(m,y,m+C,y,C),x.closePath()}return ae(()=>{u.value&&(f=u.value.getContext("2d"),A())}),xe(()=>D.progress,A),(x,m)=>(F(),U("div",{class:"border-progress-container",ref_key:"container",ref:k},[a("canvas",{ref_key:"canvas",ref:u,class:"border-progress-canvas"},null,512)],512))}}),Ve=ie(Re,[["__scopeId","data-v-2fbf5085"]]);var ue={exports:{}};(function(S,D){(function(k){S.exports=k()})(function(k){var u=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function f(s,n){var t=s[0],e=s[1],o=s[2],r=s[3];t+=(e&o|~e&r)+n[0]-680876936|0,t=(t<<7|t>>>25)+e|0,r+=(t&e|~t&o)+n[1]-389564586|0,r=(r<<12|r>>>20)+t|0,o+=(r&t|~r&e)+n[2]+606105819|0,o=(o<<17|o>>>15)+r|0,e+=(o&r|~o&t)+n[3]-1044525330|0,e=(e<<22|e>>>10)+o|0,t+=(e&o|~e&r)+n[4]-176418897|0,t=(t<<7|t>>>25)+e|0,r+=(t&e|~t&o)+n[5]+1200080426|0,r=(r<<12|r>>>20)+t|0,o+=(r&t|~r&e)+n[6]-1473231341|0,o=(o<<17|o>>>15)+r|0,e+=(o&r|~o&t)+n[7]-45705983|0,e=(e<<22|e>>>10)+o|0,t+=(e&o|~e&r)+n[8]+1770035416|0,t=(t<<7|t>>>25)+e|0,r+=(t&e|~t&o)+n[9]-1958414417|0,r=(r<<12|r>>>20)+t|0,o+=(r&t|~r&e)+n[10]-42063|0,o=(o<<17|o>>>15)+r|0,e+=(o&r|~o&t)+n[11]-1990404162|0,e=(e<<22|e>>>10)+o|0,t+=(e&o|~e&r)+n[12]+1804603682|0,t=(t<<7|t>>>25)+e|0,r+=(t&e|~t&o)+n[13]-40341101|0,r=(r<<12|r>>>20)+t|0,o+=(r&t|~r&e)+n[14]-1502002290|0,o=(o<<17|o>>>15)+r|0,e+=(o&r|~o&t)+n[15]+1236535329|0,e=(e<<22|e>>>10)+o|0,t+=(e&r|o&~r)+n[1]-165796510|0,t=(t<<5|t>>>27)+e|0,r+=(t&o|e&~o)+n[6]-1069501632|0,r=(r<<9|r>>>23)+t|0,o+=(r&e|t&~e)+n[11]+643717713|0,o=(o<<14|o>>>18)+r|0,e+=(o&t|r&~t)+n[0]-373897302|0,e=(e<<20|e>>>12)+o|0,t+=(e&r|o&~r)+n[5]-701558691|0,t=(t<<5|t>>>27)+e|0,r+=(t&o|e&~o)+n[10]+38016083|0,r=(r<<9|r>>>23)+t|0,o+=(r&e|t&~e)+n[15]-660478335|0,o=(o<<14|o>>>18)+r|0,e+=(o&t|r&~t)+n[4]-405537848|0,e=(e<<20|e>>>12)+o|0,t+=(e&r|o&~r)+n[9]+568446438|0,t=(t<<5|t>>>27)+e|0,r+=(t&o|e&~o)+n[14]-1019803690|0,r=(r<<9|r>>>23)+t|0,o+=(r&e|t&~e)+n[3]-187363961|0,o=(o<<14|o>>>18)+r|0,e+=(o&t|r&~t)+n[8]+1163531501|0,e=(e<<20|e>>>12)+o|0,t+=(e&r|o&~r)+n[13]-1444681467|0,t=(t<<5|t>>>27)+e|0,r+=(t&o|e&~o)+n[2]-51403784|0,r=(r<<9|r>>>23)+t|0,o+=(r&e|t&~e)+n[7]+1735328473|0,o=(o<<14|o>>>18)+r|0,e+=(o&t|r&~t)+n[12]-1926607734|0,e=(e<<20|e>>>12)+o|0,t+=(e^o^r)+n[5]-378558|0,t=(t<<4|t>>>28)+e|0,r+=(t^e^o)+n[8]-2022574463|0,r=(r<<11|r>>>21)+t|0,o+=(r^t^e)+n[11]+1839030562|0,o=(o<<16|o>>>16)+r|0,e+=(o^r^t)+n[14]-35309556|0,e=(e<<23|e>>>9)+o|0,t+=(e^o^r)+n[1]-1530992060|0,t=(t<<4|t>>>28)+e|0,r+=(t^e^o)+n[4]+1272893353|0,r=(r<<11|r>>>21)+t|0,o+=(r^t^e)+n[7]-155497632|0,o=(o<<16|o>>>16)+r|0,e+=(o^r^t)+n[10]-1094730640|0,e=(e<<23|e>>>9)+o|0,t+=(e^o^r)+n[13]+681279174|0,t=(t<<4|t>>>28)+e|0,r+=(t^e^o)+n[0]-358537222|0,r=(r<<11|r>>>21)+t|0,o+=(r^t^e)+n[3]-722521979|0,o=(o<<16|o>>>16)+r|0,e+=(o^r^t)+n[6]+76029189|0,e=(e<<23|e>>>9)+o|0,t+=(e^o^r)+n[9]-640364487|0,t=(t<<4|t>>>28)+e|0,r+=(t^e^o)+n[12]-421815835|0,r=(r<<11|r>>>21)+t|0,o+=(r^t^e)+n[15]+530742520|0,o=(o<<16|o>>>16)+r|0,e+=(o^r^t)+n[2]-995338651|0,e=(e<<23|e>>>9)+o|0,t+=(o^(e|~r))+n[0]-198630844|0,t=(t<<6|t>>>26)+e|0,r+=(e^(t|~o))+n[7]+1126891415|0,r=(r<<10|r>>>22)+t|0,o+=(t^(r|~e))+n[14]-1416354905|0,o=(o<<15|o>>>17)+r|0,e+=(r^(o|~t))+n[5]-57434055|0,e=(e<<21|e>>>11)+o|0,t+=(o^(e|~r))+n[12]+1700485571|0,t=(t<<6|t>>>26)+e|0,r+=(e^(t|~o))+n[3]-1894986606|0,r=(r<<10|r>>>22)+t|0,o+=(t^(r|~e))+n[10]-1051523|0,o=(o<<15|o>>>17)+r|0,e+=(r^(o|~t))+n[1]-2054922799|0,e=(e<<21|e>>>11)+o|0,t+=(o^(e|~r))+n[8]+1873313359|0,t=(t<<6|t>>>26)+e|0,r+=(e^(t|~o))+n[15]-30611744|0,r=(r<<10|r>>>22)+t|0,o+=(t^(r|~e))+n[6]-1560198380|0,o=(o<<15|o>>>17)+r|0,e+=(r^(o|~t))+n[13]+1309151649|0,e=(e<<21|e>>>11)+o|0,t+=(o^(e|~r))+n[4]-145523070|0,t=(t<<6|t>>>26)+e|0,r+=(e^(t|~o))+n[11]-1120210379|0,r=(r<<10|r>>>22)+t|0,o+=(t^(r|~e))+n[2]+718787259|0,o=(o<<15|o>>>17)+r|0,e+=(r^(o|~t))+n[9]-343485551|0,e=(e<<21|e>>>11)+o|0,s[0]=t+s[0]|0,s[1]=e+s[1]|0,s[2]=o+s[2]|0,s[3]=r+s[3]|0}function A(s){var n=[],t;for(t=0;t<64;t+=4)n[t>>2]=s.charCodeAt(t)+(s.charCodeAt(t+1)<<8)+(s.charCodeAt(t+2)<<16)+(s.charCodeAt(t+3)<<24);return n}function b(s){var n=[],t;for(t=0;t<64;t+=4)n[t>>2]=s[t]+(s[t+1]<<8)+(s[t+2]<<16)+(s[t+3]<<24);return n}function x(s){var n=s.length,t=[1732584193,-271733879,-1732584194,271733878],e,o,r,B,P,j;for(e=64;e<=n;e+=64)f(t,A(s.substring(e-64,e)));for(s=s.substring(e-64),o=s.length,r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e=0;e>2]|=s.charCodeAt(e)<<(e%4<<3);if(r[e>>2]|=128<<(e%4<<3),e>55)for(f(t,r),e=0;e<16;e+=1)r[e]=0;return B=n*8,B=B.toString(16).match(/(.*?)(.{0,8})$/),P=parseInt(B[2],16),j=parseInt(B[1],16)||0,r[14]=P,r[15]=j,f(t,r),t}function m(s){var n=s.length,t=[1732584193,-271733879,-1732584194,271733878],e,o,r,B,P,j;for(e=64;e<=n;e+=64)f(t,b(s.subarray(e-64,e)));for(s=e-64>2]|=s[e]<<(e%4<<3);if(r[e>>2]|=128<<(e%4<<3),e>55)for(f(t,r),e=0;e<16;e+=1)r[e]=0;return B=n*8,B=B.toString(16).match(/(.*?)(.{0,8})$/),P=parseInt(B[2],16),j=parseInt(B[1],16)||0,r[14]=P,r[15]=j,f(t,r),t}function y(s){var n="",t;for(t=0;t<4;t+=1)n+=u[s>>t*8+4&15]+u[s>>t*8&15];return n}function c(s){var n;for(n=0;nr?new ArrayBuffer(0):(B=r-o,P=new ArrayBuffer(B),j=new Uint8Array(P),W=new Uint8Array(this,o,B),j.set(W),P)}}();function _(s){return/[\u0080-\uFFFF]/.test(s)&&(s=unescape(encodeURIComponent(s))),s}function C(s,n){var t=s.length,e=new ArrayBuffer(t),o=new Uint8Array(e),r;for(r=0;r>2]|=n.charCodeAt(e)<<(e%4<<3);return this._finish(o,t),r=c(this._hash),s&&(r=w(r)),this.reset(),r},g.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},g.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},g.prototype.setState=function(s){return this._buff=s.buff,this._length=s.length,this._hash=s.hash,this},g.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},g.prototype._finish=function(s,n){var t=n,e,o,r;if(s[t>>2]|=128<<(t%4<<3),t>55)for(f(this._hash,s),t=0;t<16;t+=1)s[t]=0;e=this._length*8,e=e.toString(16).match(/(.*?)(.{0,8})$/),o=parseInt(e[2],16),r=parseInt(e[1],16)||0,s[14]=o,s[15]=r,f(this._hash,s)},g.hash=function(s,n){return g.hashBinary(_(s),n)},g.hashBinary=function(s,n){var t=x(s),e=c(t);return n?w(e):e},g.ArrayBuffer=function(){this.reset()},g.ArrayBuffer.prototype.append=function(s){var n=v(this._buff.buffer,s),t=n.length,e;for(this._length+=s.byteLength,e=64;e<=t;e+=64)f(this._hash,b(n.subarray(e-64,e)));return this._buff=e-64>2]|=n[o]<<(o%4<<3);return this._finish(e,t),r=c(this._hash),s&&(r=w(r)),this.reset(),r},g.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},g.ArrayBuffer.prototype.getState=function(){var s=g.prototype.getState.call(this);return s.buff=I(s.buff),s},g.ArrayBuffer.prototype.setState=function(s){return s.buff=C(s.buff,!0),g.prototype.setState.call(this,s)},g.ArrayBuffer.prototype.destroy=g.prototype.destroy,g.ArrayBuffer.prototype._finish=g.prototype._finish,g.ArrayBuffer.hash=function(s,n){var t=m(new Uint8Array(s)),e=c(t);return n?w(e):e},g})})(ue);var He=ue.exports;const Ee=Se(He),ce=async(S,D={})=>{const{successMsg:k="复制成功",errorMsg:u="复制失败,请手动复制",showMsg:f=!0}=D,A=le();try{if(navigator.clipboard&&navigator.clipboard.writeText)return await navigator.clipboard.writeText(S),f&&A.showAlert(k,"success"),!0;const b=document.createElement("textarea");b.value=S,b.style.position="fixed",b.style.opacity="0",document.body.appendChild(b),b.select();const x=document.execCommand("copy");if(document.body.removeChild(b),x)return f&&A.showAlert(k,"success"),!0;throw new Error("execCommand copy failed")}catch(b){return console.error("复制失败:",b),f&&A.showAlert(u,"error"),!1}},ne=async S=>{const D=`${window.location.origin}/#/?code=${S}`;return ce(D,{successMsg:"取件链接已复制到剪贴板",errorMsg:"复制失败,请手动复制取件链接"})},Ne=async S=>ce(S,{successMsg:"取件码已复制到剪贴板",errorMsg:"复制失败,请手动复制取件码"}),qe=S=>S>=1024*1024*1024?Math.round(S/(1024*1024*1024))+"GB":S>=1024*1024?Math.round(S/(1024*1024))+"MB":Math.round(S/1024)+"KB",We={class:"min-h-screen flex items-center justify-center p-4 overflow-hidden transition-colors duration-300"},Ge={class:"p-8"},Qe={class:"flex justify-center space-x-4 mb-6"},Je={key:"file",class:"grid grid-cols-1 gap-8"},Ke={key:0,class:"absolute inset-0 w-full h-full"},Oe={class:"block truncate"},Xe={key:"text",class:"grid grid-cols-1 gap-8"},Ye={key:0,class:"flex flex-col"},Ze={class:"flex flex-col space-y-4"},et=["value"],tt={key:0,class:"flex items-center space-x-2"},rt={class:"relative flex-grow"},ot=["placeholder"],nt={type:"submit",class:"w-full bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 text-white font-bold py-4 px-6 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-opacity-50 transition-all duration-300 transform hover:scale-105 hover:shadow-lg relative overflow-hidden group"},st={class:"relative z-10 flex items-center justify-center text-lg"},at={class:"mt-6 text-center"},it={class:"flex-grow overflow-y-auto p-6"},lt={class:"flex-shrink-0 mr-4"},ut={class:"flex-grow min-w-0 mr-4"},ct={class:"flex-shrink-0 flex space-x-2"},dt=["onClick"],ft=["onClick"],ht=["onClick"],gt={key:0,class:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50"},pt={class:"space-y-4"},yt={class:"flex items-center"},vt={class:"flex items-center"},xt={class:"flex items-center"},bt={class:"flex items-center"},mt={class:"mt-6 flex justify-between items-center"},wt={class:"flex flex-col items-center w-1/2 pr-2"},_t={class:"text-2xl font-bold text-indigo-600"},Ct={class:"flex flex-col items-center w-1/2 pl-2"},At={class:"bg-white p-2 rounded-lg shadow-md"},Mt=se({__name:"SendFileView",setup(S){const D=JSON.parse(localStorage.getItem("config")||"{}");console.log(D);const k=be(),u=me("isDarkMode"),f=Be(),A=z("file"),b=z(null),x=z(""),m=z(null),y=z("day"),c=z("1"),_=z(0),C=z(!1),I=z(null),v=le(),w=we(()=>f.shareData),g=z(""),s=z(new Set),n=()=>{var d;(d=m.value)==null||d.click()},t=async d=>{const i=d.target;i.files&&i.files.length>0&&(b.value=i.files[0],g.value=await o(b.value))},e=async d=>{var i;(i=d.dataTransfer)!=null&&i.files&&d.dataTransfer.files.length>0&&(b.value=d.dataTransfer.files[0],g.value=await o(b.value),r())},o=async d=>new Promise(i=>{const p=new Ee.ArrayBuffer,T=new FileReader;let R=0;const H=Math.ceil(d.size/2097152);T.onload=E=>{p.append(E.target.result),R++,R{const E=R*2097152,ve=E+2097152>=d.size?d.size:E+2097152;T.readAsArrayBuffer(d.slice(E,ve))};Y()}),r=async()=>{if(!b.value)return;const d=1024*1024,i=Math.ceil(b.value.size/d),{uploadedList:L}=await B(g.value);s.value=new Set(L);for(let p=0;p(console.log(d),new Promise(i=>{setTimeout(()=>{i({uploadedList:[]})},500)})),P=async(d,i,L)=>new Promise(p=>{setTimeout(()=>{console.log(`上传切片 ${i+1}/${L}`),s.value.add(i),p()},500)}),j=async(d,i)=>{console.log(`请求合并文件切片, fileHash: ${d}, totalChunks: ${i}`)},W=(d=y.value)=>{switch(d){case"day":return"输入天数";case"hour":return"输入小时数";case"minute":return"输入分钟数";case"count":return"输入查看次数";case"forever":return"永久";default:return"输入值"}},Q=(d=y.value)=>{switch(d){case"day":return"天";case"hour":return"小时";case"minute":return"分钟";case"count":return"次";case"forever":return"永久";default:return""}},de=async()=>{if(A.value==="file"&&!b.value){v.showAlert("请选择要上传的文件","error");return}if(A.value==="text"&&!x.value.trim()){v.showAlert("请输入要发送的文本","error");return}if(y.value!=="forever"&&!c.value){v.showAlert("请输入过期值","error");return}try{let d;const i=new FormData,L=A.value==="file";L?i.append("file",b.value):i.append("text",x.value),y.value!=="forever"&&i.append("expire_value",c.value),i.append("expire_style",y.value);const p={headers:{"Content-Type":"multipart/form-data"},onUploadProgress:T=>{const R=Math.round(T.loaded*100/T.total);_.value=R}};if(L?d=await re.post("/share/file/",i,p):d=await re.post("/share/text/",i,p),d&&d.code===200){const T=d.detail.code,R=d.detail.name,H={id:Date.now(),filename:R,date:new Date().toISOString().split("T")[0],size:A.value==="text"?`${(x.value.length/1024).toFixed(2)} KB`:`${(b.value.size/(1024*1024)).toFixed(1)} MB`,expiration:y.value==="forever"?"永久":`${c.value}${Q()}后过期`,retrieveCode:T};f.addShareData(H),v.showAlert(`文件发送成功!取件码:${T}`,"success"),b.value=null,x.value="",c.value="",_.value=0,C.value=!0,await ne(T)}else throw new Error("服务器响应异常")}catch(d){console.error("发送失败:",d),d.response.data.detail?v.showAlert(d.response.data.detail,"error"):v.showAlert("发送失败,请稍后重试","error")}finally{_.value=0}},fe=()=>{k.push("/")},X=()=>{C.value=!C.value},he=d=>{I.value=d},ge=d=>{const i=f.shareData.findIndex(L=>L.id===d);i!==-1&&f.deleteShareData(i)},pe=window.location.origin+"/#/",ye=d=>`${pe}?code=${d.retrieveCode}`;return ae(()=>{console.log("SendFileView mounted")}),(d,i)=>{const L=_e("router-link");return F(),U("div",We,[a("div",{class:h(["rounded-3xl shadow-2xl overflow-hidden border w-full max-w-md transition-colors duration-300",[l(u)?"bg-white bg-opacity-10 backdrop-filter backdrop-blur-xl border-gray-700":"bg-white border-gray-200"]])},[a("div",Ge,[a("h2",{class:h(["text-3xl font-extrabold text-center mb-8 cursor-pointer transition-colors duration-300",[l(u)?"text-transparent bg-clip-text bg-gradient-to-r from-indigo-300 via-purple-300 to-pink-300":"text-indigo-600"]]),onClick:fe}," FileCodeBox ",2),a("form",{onSubmit:J(de,["prevent"]),class:"space-y-8"},[a("div",Qe,[a("button",{type:"button",onClick:i[0]||(i[0]=p=>A.value="file"),class:h(["px-4 py-2 rounded-lg",A.value==="file"?"bg-indigo-600 text-white":"bg-gray-700 text-gray-300"])}," 发送文件 ",2),a("button",{type:"button",onClick:i[1]||(i[1]=p=>A.value="text"),class:h(["px-4 py-2 rounded-lg",A.value==="text"?"bg-indigo-600 text-white":"bg-gray-700 text-gray-300"])}," 发送文本 ",2)]),M(O,{name:"fade",mode:"out-in"},{default:N(()=>[A.value==="file"?(F(),U("div",Je,[a("div",{class:h(["rounded-xl p-8 flex flex-col items-center justify-center border-2 border-dashed transition-all duration-300 group cursor-pointer relative",[l(u)?"bg-gray-800 bg-opacity-50 border-gray-600 hover:border-indigo-500":"bg-gray-100 border-gray-300 hover:border-indigo-500"]]),onClick:n,onDragover:i[2]||(i[2]=J(()=>{},["prevent"])),onDrop:J(e,["prevent"])},[a("input",{id:"file-upload",type:"file",class:"hidden",onChange:t,ref_key:"fileInput",ref:m},null,544),_.value>0?(F(),U("div",Ke,[M(Ve,{progress:_.value},null,8,["progress"])])):q("",!0),M(l(Le),{class:h(["w-16 h-16 transition-colors duration-300",l(u)?"text-gray-400 group-hover:text-indigo-400":"text-gray-600 group-hover:text-indigo-600"])},null,8,["class"]),a("p",{class:h(["mt-4 text-sm transition-colors duration-300 w-full text-center",l(u)?"text-gray-400 group-hover:text-indigo-400":"text-gray-600 group-hover:text-indigo-600"])},[a("span",Oe,$(b.value?b.value.name:"点击或拖放文件到此处上传"),1)],2),a("p",{class:h(["mt-2 text-xs",l(u)?"text-gray-500":"text-gray-400"])}," 支持各种常见格式,最大"+$(l(qe)(l(D).uploadSize)),3)],34)])):(F(),U("div",Xe,[A.value==="text"?(F(),U("div",Ye,[K(a("textarea",{id:"text-content","onUpdate:modelValue":i[3]||(i[3]=p=>x.value=p),rows:"7",class:h(["flex-grow px-4 py-3 rounded-xl placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 transition duration-300 resize-none",l(u)?"bg-gray-800 bg-opacity-50 text-white":"bg-white text-gray-900 border border-gray-300"]),placeholder:"在此输入要发送的文本..."},null,2),[[Z,x.value]])])):q("",!0)]))]),_:1}),a("div",Ze,[a("label",{class:h(["text-sm font-medium",l(u)?"text-gray-300":"text-gray-700"])}," 过期方式 ",2),K(a("select",{"onUpdate:modelValue":i[4]||(i[4]=p=>y.value=p),class:h(["px-4 py-2 rounded-xl focus:outline-none focus:ring-2 focus:ring-indigo-500",l(u)?"bg-gray-800 bg-opacity-50 text-white":"bg-white text-gray-900 border border-gray-300"])},[(F(!0),U(ee,null,te(l(D).expireStyle,p=>(F(),U("option",{value:p,key:p},$(Q(p)),9,et))),128))],2),[[Ce,y.value]]),y.value!=="forever"?(F(),U("div",tt,[a("div",rt,[K(a("input",{"onUpdate:modelValue":i[5]||(i[5]=p=>c.value=p),type:"number",placeholder:W(),class:h(["w-full px-4 py-2 pr-16 rounded-xl placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500",l(u)?"bg-gray-800 bg-opacity-50 text-white":"bg-white text-gray-900 border border-gray-300"])},null,10,ot),[[Z,c.value]]),a("span",{class:h(["absolute right-3 top-1/2 transform -translate-y-1/2",l(u)?"text-gray-300":"text-gray-700"])},$(Q()),3)])])):q("",!0)]),a("button",nt,[i[9]||(i[9]=a("span",{class:"absolute top-0 left-0 w-full h-full bg-white opacity-0 group-hover:opacity-20 transition-opacity duration-300"},null,-1)),a("span",st,[M(l(je),{class:"w-6 h-6 mr-2"}),i[8]||(i[8]=a("span",null,"安全寄送",-1))])])],32),a("div",at,[M(L,{to:"/",class:"text-indigo-400 hover:text-indigo-300 transition duration-300"},{default:N(()=>i[10]||(i[10]=[V(" 需要取件?点击这里 ")])),_:1})])]),a("div",{class:h(["px-8 py-4 bg-opacity-50 flex justify-between items-center",[l(u)?"bg-gray-800":"bg-gray-100"]])},[a("span",{class:h(["text-sm flex items-center",[l(u)?"text-gray-300":"text-gray-800"]])},[M(l(Te),{class:"w-4 h-4 mr-1 text-green-400"}),i[11]||(i[11]=V(" 安全加密 "))],2),a("button",{onClick:X,class:h(["text-sm hover:text-indigo-300 transition duration-300 flex items-center",[l(u)?"text-indigo-400":"text-indigo-600"]])},[i[12]||(i[12]=V(" 发件记录 ")),M(l(Ie),{class:"w-4 h-4 ml-1"})],2)],2)],2),M(O,{name:"drawer"},{default:N(()=>[C.value?(F(),U("div",{key:0,class:h(["fixed inset-y-0 right-0 w-full sm:w-120 bg-opacity-70 backdrop-filter backdrop-blur-xl shadow-2xl z-50 overflow-hidden flex flex-col",[l(u)?"bg-gray-900":"bg-white"]])},[a("div",{class:h(["flex justify-between items-center p-6 border-b",[l(u)?"border-gray-700":"border-gray-200"]])},[a("h3",{class:h(["text-2xl font-bold",[l(u)?"text-white":"text-gray-800"]])}," 发件记录 ",2),a("button",{onClick:X,class:h(["hover:text-white transition duration-300",[l(u)?"text-gray-400":"text-gray-800"]])},[M(l(Ae),{class:"w-6 h-6"})],2)],2),a("div",it,[M(Me,{name:"list",tag:"div",class:"space-y-4"},{default:N(()=>[(F(!0),U(ee,null,te(w.value,p=>(F(),U("div",{key:p.id,class:h(["bg-opacity-50 rounded-lg p-4 flex items-center shadow-md hover:shadow-lg transition duration-300 transform hover:scale-102",[l(u)?"bg-gray-800 hover:bg-gray-700":"bg-gray-100 hover:bg-white"]])},[a("div",lt,[M(l(oe),{class:h(["w-10 h-10",[l(u)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])]),a("div",ut,[a("p",{class:h(["font-medium text-lg truncate",[l(u)?"text-white":"text-gray-800"]])},$(p.filename?p.filename:"Text"),3),a("p",{class:h(["text-sm truncate",[l(u)?"text-gray-400":"text-gray-600"]])},$(p.date)+" · "+$(p.size),3)]),a("div",ct,[a("button",{onClick:T=>l(ne)(p.retrieveCode),class:h(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[l(u)?"hover:bg-blue-400 text-blue-400":"hover:bg-blue-100 text-blue-600"]])},[M(l(De),{class:"w-5 h-5"})],10,dt),a("button",{onClick:T=>he(p),class:h(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[l(u)?"hover:bg-green-400 text-green-400":"hover:bg-green-100 text-green-600"]])},[M(l(ke),{class:"w-5 h-5"})],10,ft),a("button",{onClick:T=>ge(p.id),class:h(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[l(u)?"hover:bg-red-400 text-red-400":"hover:bg-red-100 text-red-600"]])},[M(l(ze),{class:"w-5 h-5"})],10,ht)])],2))),128))]),_:1})])],2)):q("",!0)]),_:1}),M(O,{name:"fade"},{default:N(()=>[I.value?(F(),U("div",gt,[a("div",{class:h(["p-8 rounded-2xl max-w-md w-full mx-4 shadow-2xl transform transition-all duration-300 ease-out backdrop-filter backdrop-blur-lg bg-opacity-70",[l(u)?"bg-gray-800":"bg-white"]])},[a("h3",{class:h(["text-2xl font-bold mb-6",[l(u)?"text-white":"text-gray-800"]])}," 文件详情 ",2),a("div",pt,[a("div",yt,[M(l(oe),{class:h(["w-6 h-6 mr-3",[l(u)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),a("p",{class:h([l(u)?"text-gray-300":"text-gray-800"])},[i[13]||(i[13]=a("span",{class:"font-medium"},"文件名:",-1)),V($(I.value.filename),1)],2)]),a("div",vt,[M(l(Ue),{class:h(["w-6 h-6 mr-3",[l(u)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),a("p",{class:h([l(u)?"text-gray-300":"text-gray-800"])},[i[14]||(i[14]=a("span",{class:"font-medium"},"发送日期:",-1)),V($(I.value.date),1)],2)]),a("div",xt,[M(l($e),{class:h(["w-6 h-6 mr-3",[l(u)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),a("p",{class:h([l(u)?"text-gray-300":"text-gray-800"])},[i[15]||(i[15]=a("span",{class:"font-medium"},"文件大小:",-1)),V($(I.value.size),1)],2)]),a("div",bt,[M(l(Pe),{class:h(["w-6 h-6 mr-3",[l(u)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),a("p",{class:h([l(u)?"text-gray-300":"text-gray-800"])},[i[16]||(i[16]=a("span",{class:"font-medium"},"过期时间:",-1)),V($(I.value.expiration),1)],2)])]),a("div",mt,[a("div",wt,[a("h4",{class:h(["text-lg font-semibold mb-3",[l(u)?"text-white":"text-gray-800"]])}," 取件码 ",2),a("div",{class:"bg-gray-100 p-3 rounded-lg shadow-md cursor-pointer hover:bg-gray-200 transition-colors duration-300 w-full text-center",onClick:i[6]||(i[6]=p=>l(Ne)(I.value.retrieveCode))},[a("p",_t,$(I.value.retrieveCode),1)]),a("p",{class:h(["mt-2 text-sm",[l(u)?"text-gray-400":"text-gray-600"]])}," 点击复制取件码 ",2)]),a("div",Ct,[a("h4",{class:h(["text-lg font-semibold mb-3",[l(u)?"text-white":"text-gray-800"]])}," 二维码 ",2),a("div",At,[M(Fe,{value:ye(I.value),size:128,level:"M"},null,8,["value"])]),a("p",{class:h(["mt-2 text-sm",[l(u)?"text-gray-400":"text-gray-600"]])}," 扫描二维码快速取件 ",2)])]),a("button",{onClick:i[7]||(i[7]=p=>I.value=null),class:"mt-8 w-full bg-gradient-to-r from-indigo-500 to-purple-600 text-white px-6 py-3 rounded-lg font-medium hover:from-indigo-600 hover:to-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-opacity-50 transition duration-300 transform hover:scale-105"}," 关闭 ")],2)])):q("",!0)]),_:1})])}}}),kt=ie(Mt,[["__scopeId","data-v-f88861ef"]]);export{kt as default}; diff --git a/themes/2024/assets/SendFileView-BZLcepUm.css b/themes/2024/assets/SendFileView-CqS6mq2M.css similarity index 100% rename from themes/2024/assets/SendFileView-BZLcepUm.css rename to themes/2024/assets/SendFileView-CqS6mq2M.css diff --git a/themes/2024/assets/SystemSettingsView-CkE-6QUZ.js b/themes/2024/assets/SystemSettingsView-CkE-6QUZ.js deleted file mode 100644 index 222d534..0000000 --- a/themes/2024/assets/SystemSettingsView-CkE-6QUZ.js +++ /dev/null @@ -1 +0,0 @@ -import{B as C,r as b,u as B,p as m,b as v,d as e,n as t,e as s,h as l,v as i,C as x,F as f,x as _,t as p,i as M,z as F,A as w,L as A}from"./index-BMgmatCO.js";const z={class:"p-6 h-screen overflow-y-auto custom-scrollbar"},E={class:"space-y-4"},T={class:"grid grid-cols-1 gap-6"},K={class:"space-y-2"},I={class:"space-y-2"},j={class:"space-y-2"},G={class:"relative"},N={class:"space-y-2"},L={class:"space-y-2"},R=["value"],$={class:"space-y-2"},H={class:"grid grid-cols-1 gap-6 mt-8"},q={class:"space-y-2"},J={class:"space-y-2"},O={class:"mt-8"},P={class:"space-y-4"},Q={class:"space-y-2"},W={key:0,class:"space-y-4"},X={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},Y={class:"space-y-2"},Z={class:"space-y-2"},ee={class:"space-y-2"},oe={class:"space-y-2"},re={class:"space-y-2"},te={class:"space-y-2"},ae={class:"space-y-2"},se={class:"space-y-2"},ne={class:"flex items-center"},le=["aria-checked"],ie={class:"mt-8"},de={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},ue={class:"space-y-2"},ge={class:"flex items-center space-x-2"},ce={class:"space-y-2"},ye={class:"flex items-center space-x-2"},pe={class:"space-y-2"},be={class:"flex items-center space-x-2"},me={class:"space-y-2"},ve={class:"flex flex-wrap gap-3"},xe=["value"],he={class:"space-y-2"},fe={class:"flex items-center space-x-2"},_e={class:"space-y-2"},we={class:"flex items-center"},ke=["aria-checked"],Ue={class:"mt-8"},Se={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},Ve={class:"space-y-2"},De={class:"flex items-center space-x-2"},Ce={class:"space-y-2"},Be={class:"flex items-center space-x-2"},Ae=C({__name:"SystemSettingsView",setup(Me){const a=F("isDarkMode"),n=b({name:"",description:"",file_storage:"",themesChoices:[],expireStyle:[],admin_token:"",robotsText:"",keywords:"",notify_title:"",notify_content:"",openUpload:1,uploadSize:1,uploadMinute:1,max_save_seconds:0,opacity:.9,s3_access_key_id:"",background:"",showAdminAddr:0,page_explain:"",s3_secret_access_key:"",aws_session_token:"",s3_signature_version:"",s3_region_name:"",s3_bucket_name:"",s3_endpoint_url:"",s3_hostname:"",uploadCount:1,errorMinute:1,errorCount:1,s3_proxy:0,themesSelect:""}),c=b(1),y=b("MB"),u=b(1),g=b("天"),k=(d,o)=>d*{秒:1,分:60,时:3600,天:86400}[o],U=()=>{w({url:"/admin/config/get",method:"get"}).then(d=>{n.value=d.detail;let o=n.value.uploadSize;o>=1024*1024*1024?(c.value=Math.round(o/(1024*1024*1024)),y.value="GB"):o>=1024*1024?(c.value=Math.round(o/(1024*1024)),y.value="MB"):(c.value=Math.round(o/1024),y.value="KB");let r=n.value.max_save_seconds;r===0?(u.value=7,g.value="天"):r%86400===0&&r>=86400?(u.value=r/86400,g.value="天"):r%3600===0&&r>=3600?(u.value=r/3600,g.value="时"):r%60===0&&r>=60?(u.value=r/60,g.value="分"):(u.value=r,g.value="秒")})},h=B(),S=(d,o)=>d*{KB:1024,MB:1048576,GB:1073741824}[o],V=()=>{const d={...n.value};d.uploadSize=S(c.value,y.value),u.value===0?d.max_save_seconds=7*86400:d.max_save_seconds=k(u.value,g.value),w({url:"/admin/config/update",method:"patch",data:d}).then(o=>{o.code==200?h.showAlert("保存成功","success"):h.showAlert(o.message,"error")})};return U(),(d,o)=>(m(),v("div",z,[e("h2",{class:t(["text-2xl font-bold mb-6",[s(a)?"text-white":"text-gray-800"]])}," 系统设置 ",2),e("div",{class:t(["space-y-6 rounded-lg shadow-md p-6",[s(a)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[e("section",E,[e("h3",{class:t(["text-lg font-medium mb-4",[s(a)?"text-white":"text-gray-800"]])}," 基本设置 ",2),e("div",T,[e("div",K,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 网站名称 ",2),l(e("input",{type:"text","onUpdate:modelValue":o[0]||(o[0]=r=>n.value.name=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.name]])]),e("div",I,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 网站描述 ",2),l(e("input",{type:"text","onUpdate:modelValue":o[1]||(o[1]=r=>n.value.description=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.description]])]),e("div",j,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 管理员密码 ",2),e("div",G,[l(e("input",{type:"password","onUpdate:modelValue":o[2]||(o[2]=r=>n.value.admin_token=r),placeholder:"留空则不修改密码",class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.admin_token]]),e("div",{class:t(["absolute inset-y-0 right-0 flex items-center pr-3 text-sm text-gray-400",[s(a)?"text-gray-500":"text-gray-400"]])},o[27]||(o[27]=[e("span",{class:"text-xs"},"留空则不修改",-1)]),2)])]),e("div",N,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 关键词 ",2),l(e("input",{type:"text","onUpdate:modelValue":o[3]||(o[3]=r=>n.value.keywords=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.keywords]])]),e("div",L,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 主题选择 ",2),l(e("select",{"onUpdate:modelValue":o[4]||(o[4]=r=>n.value.themesSelect=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border appearance-none bg-no-repeat bg-right focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none cursor-pointer",[s(a)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]]),style:{"background-image":"url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M7%208l3%203%203-3%22%20stroke%3D%22%236B7280%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E')"}},[(m(!0),v(f,null,_(n.value.themesChoices,r=>(m(),v("option",{value:r.key,key:r.key},p(r.name)+" (by "+p(r.author)+" V"+p(r.version)+") ",9,R))),128))],2),[[x,n.value.themesSelect]])]),e("div",$,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," Robots.txt ",2),l(e("textarea",{"onUpdate:modelValue":o[5]||(o[5]=r=>n.value.robotsText=r),rows:"3",class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border resize-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.robotsText]])])]),e("div",H,[e("div",q,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 通知标题 ",2),l(e("input",{type:"text","onUpdate:modelValue":o[6]||(o[6]=r=>n.value.notify_title=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.notify_title]])]),e("div",J,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 通知内容 ",2),l(e("textarea",{"onUpdate:modelValue":o[7]||(o[7]=r=>n.value.notify_content=r),rows:"3",class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border resize-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.notify_content]])])]),e("div",O,[e("h3",{class:t(["text-lg font-medium mb-4",[s(a)?"text-white":"text-gray-800"]])}," 存储设置 ",2),e("div",P,[e("div",Q,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 存储方式 ",2),l(e("select",{"onUpdate:modelValue":o[8]||(o[8]=r=>n.value.file_storage=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border appearance-none bg-no-repeat bg-right focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none cursor-pointer",[s(a)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]]),style:{"background-image":"url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M7%208l3%203%203-3%22%20stroke%3D%22%236B7280%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E')"}},o[28]||(o[28]=[e("option",{value:"local"},"本地存储",-1),e("option",{value:"s3"},"S3 存储",-1)]),2),[[x,n.value.file_storage]])]),n.value.file_storage==="s3"?(m(),v("div",W,[e("div",X,[e("div",Y,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," S3 AccessKeyId ",2),l(e("input",{type:"text","onUpdate:modelValue":o[9]||(o[9]=r=>n.value.s3_access_key_id=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.s3_access_key_id]])]),e("div",Z,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," S3 SecretAccessKey ",2),l(e("input",{type:"password","onUpdate:modelValue":o[10]||(o[10]=r=>n.value.s3_secret_access_key=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.s3_secret_access_key]])]),e("div",ee,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," S3 BucketName ",2),l(e("input",{type:"text","onUpdate:modelValue":o[11]||(o[11]=r=>n.value.s3_bucket_name=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.s3_bucket_name]])]),e("div",oe,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," S3 EndpointUrl ",2),l(e("input",{type:"text","onUpdate:modelValue":o[12]||(o[12]=r=>n.value.s3_endpoint_url=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.s3_endpoint_url]])]),e("div",re,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," S3 Region Name ",2),l(e("input",{type:"text","onUpdate:modelValue":o[13]||(o[13]=r=>n.value.s3_region_name=r),placeholder:"auto",class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.s3_region_name]])]),e("div",te,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," S3 Signature Version ",2),l(e("select",{"onUpdate:modelValue":o[14]||(o[14]=r=>n.value.s3_signature_version=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]])},o[29]||(o[29]=[e("option",{value:"s3v2"},"S3v2",-1),e("option",{value:"s3v4"},"S3v4",-1)]),2),[[x,n.value.s3_signature_version]])]),e("div",ae,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," S3 Hostname ",2),l(e("input",{type:"text","onUpdate:modelValue":o[15]||(o[15]=r=>n.value.s3_hostname=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.s3_hostname]])]),e("div",se,[e("label",{class:t(["block text-sm font-medium mb-2",[s(a)?"text-gray-300":"text-gray-700"]])}," 启用代理 ",2),e("div",ne,[e("button",{type:"button",onClick:o[16]||(o[16]=r=>n.value.s3_proxy=n.value.s3_proxy===1?0:1),class:t(["relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",[n.value.s3_proxy===1?"bg-indigo-600":"bg-gray-200"]]),role:"switch","aria-checked":n.value.s3_proxy===1},[e("span",{class:t(["pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out",[n.value.s3_proxy===1?"translate-x-5":"translate-x-0",s(a)&&n.value.s3_proxy!==1?"bg-gray-100":"bg-white"]])},null,2)],10,le),e("span",{class:t(["ml-3 text-sm",[s(a)?"text-gray-300":"text-gray-700"]])},p(n.value.s3_proxy===1?"已开启":"已关闭"),3)])])])])):M("",!0)])]),e("div",ie,[e("h3",{class:t(["text-lg font-medium mb-4",[s(a)?"text-white":"text-gray-800"]])}," 上传限制 ",2),e("div",de,[e("div",ue,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 每分钟上传限制 ",2),e("div",ge,[l(e("input",{type:"number","onUpdate:modelValue":o[17]||(o[17]=r=>n.value.uploadMinute=r),class:t(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.uploadMinute]]),e("span",{class:t([s(a)?"text-gray-300":"text-gray-700"])},"分钟",2)])]),e("div",ce,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 上传数量限制 ",2),e("div",ye,[l(e("input",{type:"number","onUpdate:modelValue":o[18]||(o[18]=r=>n.value.uploadCount=r),class:t(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.uploadCount]]),e("span",{class:t([s(a)?"text-gray-300":"text-gray-700"])},"个文件",2)])]),e("div",pe,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 文件大小限制 ",2),e("div",be,[l(e("input",{type:"number","onUpdate:modelValue":o[19]||(o[19]=r=>c.value=r),class:t(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,c.value]]),l(e("select",{"onUpdate:modelValue":o[20]||(o[20]=r=>y.value=r),class:t(["rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]])},o[30]||(o[30]=[e("option",{value:"KB"},"KB",-1),e("option",{value:"MB"},"MB",-1),e("option",{value:"GB"},"GB",-1)]),2),[[x,y.value]])])]),e("div",me,[e("label",{class:t(["block text-sm font-medium mb-2",[s(a)?"text-gray-300":"text-gray-700"]])}," 过期方式 ",2),e("div",ve,[(m(),v(f,null,_(["day","hour","minute","forever","count"],r=>e("label",{key:r,class:"relative inline-flex items-center group cursor-pointer"},[l(e("input",{type:"checkbox",value:r,"onUpdate:modelValue":o[21]||(o[21]=D=>n.value.expireStyle=D),class:"peer sr-only"},null,8,xe),[[A,n.value.expireStyle]]),e("div",{class:t(["px-4 py-2 rounded-full border-2 transition-all duration-200 select-none",[n.value.expireStyle.includes(r)?(s(a),"bg-indigo-600 border-indigo-600 text-white"):s(a)?"bg-gray-700 border-gray-600 text-gray-300 hover:border-indigo-500":"bg-white border-gray-300 text-gray-700 hover:border-indigo-500"]])},p({day:"按天",hour:"按小时",minute:"按分钟",forever:"永久",count:"按次数"}[r]),3)])),64))])]),e("div",he,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 最长保存时间 ",2),e("div",fe,[l(e("input",{type:"number","onUpdate:modelValue":o[22]||(o[22]=r=>u.value=r),class:t(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,u.value]]),l(e("select",{"onUpdate:modelValue":o[23]||(o[23]=r=>g.value=r),class:t(["rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]])},o[31]||(o[31]=[e("option",{value:"秒"},"秒",-1),e("option",{value:"分"},"分",-1),e("option",{value:"时"},"时",-1),e("option",{value:"天"},"天",-1)]),2),[[x,g.value]])])]),e("div",_e,[e("label",{class:t(["block text-sm font-medium mb-2",[s(a)?"text-gray-300":"text-gray-700"]])}," 游客上传 ",2),e("div",we,[e("button",{type:"button",onClick:o[24]||(o[24]=r=>n.value.openUpload=n.value.openUpload===1?0:1),class:t(["relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",[n.value.openUpload===1?"bg-indigo-600":"bg-gray-200"]]),role:"switch","aria-checked":n.value.openUpload===1},[e("span",{class:t(["pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out",[n.value.openUpload===1?"translate-x-5":"translate-x-0",s(a)&&n.value.openUpload!==1?"bg-gray-100":"bg-white"]])},null,2)],10,ke),e("span",{class:t(["ml-3 text-sm",[s(a)?"text-gray-300":"text-gray-700"]])},p(n.value.openUpload===1?"已开启":"已关闭"),3)])])])]),e("div",Ue,[e("h3",{class:t(["text-lg font-medium mb-4",[s(a)?"text-white":"text-gray-800"]])}," 错误限制 ",2),e("div",Se,[e("div",Ve,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 每分钟错误限制 ",2),e("div",De,[l(e("input",{type:"number","onUpdate:modelValue":o[25]||(o[25]=r=>n.value.errorMinute=r),class:t(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.errorMinute]]),e("span",{class:t([s(a)?"text-gray-300":"text-gray-700"])},"分钟",2)])]),e("div",Ce,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 错误次数限制 ",2),e("div",Be,[l(e("input",{type:"number","onUpdate:modelValue":o[26]||(o[26]=r=>n.value.errorCount=r),class:t(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.errorCount]]),e("span",{class:t([s(a)?"text-gray-300":"text-gray-700"])},"次",2)])])])]),e("div",{class:"flex justify-end mt-8"},[e("button",{onClick:V,class:"px-4 py-2 bg-indigo-600 text-white rounded-md hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transition-colors duration-200"}," 保存设置 ")])])],2)]))}});export{Ae as default}; diff --git a/themes/2024/assets/SystemSettingsView-DUp8dOrM.js b/themes/2024/assets/SystemSettingsView-DUp8dOrM.js new file mode 100644 index 0000000..ce463c3 --- /dev/null +++ b/themes/2024/assets/SystemSettingsView-DUp8dOrM.js @@ -0,0 +1 @@ +import{B as C,r as b,u as B,d as m,e,n as t,g as s,i as M,j as l,v as i,C as v,F as f,q as _,k as F,t as p,A as w,L as A,z as x}from"./index-Dm7yhqOC.js";const z={class:"p-6 h-screen overflow-y-auto custom-scrollbar"},E={class:"space-y-4"},T={class:"grid grid-cols-1 gap-6"},K={class:"space-y-2"},j={class:"space-y-2"},I={class:"space-y-2"},G={class:"relative"},N={class:"space-y-2"},L={class:"space-y-2"},R=["value"],$={class:"space-y-2"},q={class:"grid grid-cols-1 gap-6 mt-8"},H={class:"space-y-2"},J={class:"space-y-2"},O={class:"mt-8"},P={class:"space-y-4"},Q={class:"space-y-2"},W={key:0,class:"space-y-4"},X={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},Y={class:"space-y-2"},Z={class:"space-y-2"},ee={class:"space-y-2"},oe={class:"space-y-2"},re={class:"space-y-2"},te={class:"space-y-2"},ae={class:"space-y-2"},se={class:"space-y-2"},ne={class:"flex items-center"},le=["aria-checked"],ie={class:"mt-8"},de={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},ue={class:"space-y-2"},ge={class:"flex items-center space-x-2"},ce={class:"space-y-2"},ye={class:"flex items-center space-x-2"},pe={class:"space-y-2"},be={class:"flex items-center space-x-2"},me={class:"space-y-2"},ve={class:"flex flex-wrap gap-3"},xe=["value"],he={class:"space-y-2"},fe={class:"flex items-center space-x-2"},_e={class:"space-y-2"},we={class:"flex items-center"},ke=["aria-checked"],Ue={class:"mt-8"},Se={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},Ve={class:"space-y-2"},De={class:"flex items-center space-x-2"},Ce={class:"space-y-2"},Be={class:"flex items-center space-x-2"},Ae=C({__name:"SystemSettingsView",setup(Me){const a=M("isDarkMode"),n=b({name:"",description:"",file_storage:"",themesChoices:[],expireStyle:[],admin_token:"",robotsText:"",keywords:"",notify_title:"",notify_content:"",openUpload:1,uploadSize:1,uploadMinute:1,max_save_seconds:0,opacity:.9,s3_access_key_id:"",background:"",showAdminAddr:0,page_explain:"",s3_secret_access_key:"",aws_session_token:"",s3_signature_version:"",s3_region_name:"",s3_bucket_name:"",s3_endpoint_url:"",s3_hostname:"",uploadCount:1,errorMinute:1,errorCount:1,s3_proxy:0,themesSelect:""}),c=b(1),y=b("MB"),u=b(1),g=b("天"),k=(d,o)=>d*{秒:1,分:60,时:3600,天:86400}[o],U=()=>{w({url:"/admin/config/get",method:"get"}).then(d=>{n.value=d.detail;let o=n.value.uploadSize;o>=1024*1024*1024?(c.value=Math.round(o/(1024*1024*1024)),y.value="GB"):o>=1024*1024?(c.value=Math.round(o/(1024*1024)),y.value="MB"):(c.value=Math.round(o/1024),y.value="KB");let r=n.value.max_save_seconds;r===0?(u.value=7,g.value="天"):r%86400===0&&r>=86400?(u.value=r/86400,g.value="天"):r%3600===0&&r>=3600?(u.value=r/3600,g.value="时"):r%60===0&&r>=60?(u.value=r/60,g.value="分"):(u.value=r,g.value="秒")})},h=B(),S=(d,o)=>d*{KB:1024,MB:1048576,GB:1073741824}[o],V=()=>{const d={...n.value};d.uploadSize=S(c.value,y.value),u.value===0?d.max_save_seconds=7*86400:d.max_save_seconds=k(u.value,g.value),w({url:"/admin/config/update",method:"patch",data:d}).then(o=>{o.code==200?h.showAlert("保存成功","success"):h.showAlert(o.message,"error")})};return U(),(d,o)=>(x(),m("div",z,[e("h2",{class:t(["text-2xl font-bold mb-6",[s(a)?"text-white":"text-gray-800"]])}," 系统设置 ",2),e("div",{class:t(["space-y-6 rounded-lg shadow-md p-6",[s(a)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[e("section",E,[e("h3",{class:t(["text-lg font-medium mb-4",[s(a)?"text-white":"text-gray-800"]])}," 基本设置 ",2),e("div",T,[e("div",K,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 网站名称 ",2),l(e("input",{type:"text","onUpdate:modelValue":o[0]||(o[0]=r=>n.value.name=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.name]])]),e("div",j,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 网站描述 ",2),l(e("input",{type:"text","onUpdate:modelValue":o[1]||(o[1]=r=>n.value.description=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.description]])]),e("div",I,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 管理员密码 ",2),e("div",G,[l(e("input",{type:"password","onUpdate:modelValue":o[2]||(o[2]=r=>n.value.admin_token=r),placeholder:"留空则不修改密码",class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.admin_token]]),e("div",{class:t(["absolute inset-y-0 right-0 flex items-center pr-3 text-sm text-gray-400",[s(a)?"text-gray-500":"text-gray-400"]])},o[27]||(o[27]=[e("span",{class:"text-xs"},"留空则不修改",-1)]),2)])]),e("div",N,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 关键词 ",2),l(e("input",{type:"text","onUpdate:modelValue":o[3]||(o[3]=r=>n.value.keywords=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.keywords]])]),e("div",L,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 主题选择 ",2),l(e("select",{"onUpdate:modelValue":o[4]||(o[4]=r=>n.value.themesSelect=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border appearance-none bg-no-repeat bg-right focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none cursor-pointer",[s(a)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]]),style:{"background-image":"url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M7%208l3%203%203-3%22%20stroke%3D%22%236B7280%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E')"}},[(x(!0),m(f,null,_(n.value.themesChoices,r=>(x(),m("option",{value:r.key,key:r.key},p(r.name)+" (by "+p(r.author)+" V"+p(r.version)+") ",9,R))),128))],2),[[v,n.value.themesSelect]])]),e("div",$,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," Robots.txt ",2),l(e("textarea",{"onUpdate:modelValue":o[5]||(o[5]=r=>n.value.robotsText=r),rows:"3",class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border resize-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.robotsText]])])]),e("div",q,[e("div",H,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 通知标题 ",2),l(e("input",{type:"text","onUpdate:modelValue":o[6]||(o[6]=r=>n.value.notify_title=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.notify_title]])]),e("div",J,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 通知内容 ",2),l(e("textarea",{"onUpdate:modelValue":o[7]||(o[7]=r=>n.value.notify_content=r),rows:"3",class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border resize-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.notify_content]])])]),e("div",O,[e("h3",{class:t(["text-lg font-medium mb-4",[s(a)?"text-white":"text-gray-800"]])}," 存储设置 ",2),e("div",P,[e("div",Q,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 存储方式 ",2),l(e("select",{"onUpdate:modelValue":o[8]||(o[8]=r=>n.value.file_storage=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border appearance-none bg-no-repeat bg-right focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none cursor-pointer",[s(a)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]]),style:{"background-image":"url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M7%208l3%203%203-3%22%20stroke%3D%22%236B7280%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E')"}},o[28]||(o[28]=[e("option",{value:"local"},"本地存储",-1),e("option",{value:"s3"},"S3 存储",-1)]),2),[[v,n.value.file_storage]])]),n.value.file_storage==="s3"?(x(),m("div",W,[e("div",X,[e("div",Y,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," S3 AccessKeyId ",2),l(e("input",{type:"text","onUpdate:modelValue":o[9]||(o[9]=r=>n.value.s3_access_key_id=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.s3_access_key_id]])]),e("div",Z,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," S3 SecretAccessKey ",2),l(e("input",{type:"password","onUpdate:modelValue":o[10]||(o[10]=r=>n.value.s3_secret_access_key=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.s3_secret_access_key]])]),e("div",ee,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," S3 BucketName ",2),l(e("input",{type:"text","onUpdate:modelValue":o[11]||(o[11]=r=>n.value.s3_bucket_name=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.s3_bucket_name]])]),e("div",oe,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," S3 EndpointUrl ",2),l(e("input",{type:"text","onUpdate:modelValue":o[12]||(o[12]=r=>n.value.s3_endpoint_url=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.s3_endpoint_url]])]),e("div",re,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," S3 Region Name ",2),l(e("input",{type:"text","onUpdate:modelValue":o[13]||(o[13]=r=>n.value.s3_region_name=r),placeholder:"auto",class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.s3_region_name]])]),e("div",te,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," S3 Signature Version ",2),l(e("select",{"onUpdate:modelValue":o[14]||(o[14]=r=>n.value.s3_signature_version=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]])},o[29]||(o[29]=[e("option",{value:"s3v2"},"S3v2",-1),e("option",{value:"s3v4"},"S3v4",-1)]),2),[[v,n.value.s3_signature_version]])]),e("div",ae,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," S3 Hostname ",2),l(e("input",{type:"text","onUpdate:modelValue":o[15]||(o[15]=r=>n.value.s3_hostname=r),class:t(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.s3_hostname]])]),e("div",se,[e("label",{class:t(["block text-sm font-medium mb-2",[s(a)?"text-gray-300":"text-gray-700"]])}," 启用代理 ",2),e("div",ne,[e("button",{type:"button",onClick:o[16]||(o[16]=r=>n.value.s3_proxy=n.value.s3_proxy===1?0:1),class:t(["relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",[n.value.s3_proxy===1?"bg-indigo-600":"bg-gray-200"]]),role:"switch","aria-checked":n.value.s3_proxy===1},[e("span",{class:t(["pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out",[n.value.s3_proxy===1?"translate-x-5":"translate-x-0",s(a)&&n.value.s3_proxy!==1?"bg-gray-100":"bg-white"]])},null,2)],10,le),e("span",{class:t(["ml-3 text-sm",[s(a)?"text-gray-300":"text-gray-700"]])},p(n.value.s3_proxy===1?"已开启":"已关闭"),3)])])])])):F("",!0)])]),e("div",ie,[e("h3",{class:t(["text-lg font-medium mb-4",[s(a)?"text-white":"text-gray-800"]])}," 上传限制 ",2),e("div",de,[e("div",ue,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 每分钟上传限制 ",2),e("div",ge,[l(e("input",{type:"number","onUpdate:modelValue":o[17]||(o[17]=r=>n.value.uploadMinute=r),class:t(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.uploadMinute]]),e("span",{class:t([s(a)?"text-gray-300":"text-gray-700"])},"分钟",2)])]),e("div",ce,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 上传数量限制 ",2),e("div",ye,[l(e("input",{type:"number","onUpdate:modelValue":o[18]||(o[18]=r=>n.value.uploadCount=r),class:t(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.uploadCount]]),e("span",{class:t([s(a)?"text-gray-300":"text-gray-700"])},"个文件",2)])]),e("div",pe,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 文件大小限制 ",2),e("div",be,[l(e("input",{type:"number","onUpdate:modelValue":o[19]||(o[19]=r=>c.value=r),class:t(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,c.value]]),l(e("select",{"onUpdate:modelValue":o[20]||(o[20]=r=>y.value=r),class:t(["rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]])},o[30]||(o[30]=[e("option",{value:"KB"},"KB",-1),e("option",{value:"MB"},"MB",-1),e("option",{value:"GB"},"GB",-1)]),2),[[v,y.value]])])]),e("div",me,[e("label",{class:t(["block text-sm font-medium mb-2",[s(a)?"text-gray-300":"text-gray-700"]])}," 过期方式 ",2),e("div",ve,[(x(),m(f,null,_(["day","hour","minute","forever","count"],r=>e("label",{key:r,class:"relative inline-flex items-center group cursor-pointer"},[l(e("input",{type:"checkbox",value:r,"onUpdate:modelValue":o[21]||(o[21]=D=>n.value.expireStyle=D),class:"peer sr-only"},null,8,xe),[[A,n.value.expireStyle]]),e("div",{class:t(["px-4 py-2 rounded-full border-2 transition-all duration-200 select-none",[n.value.expireStyle.includes(r)?(s(a),"bg-indigo-600 border-indigo-600 text-white"):s(a)?"bg-gray-700 border-gray-600 text-gray-300 hover:border-indigo-500":"bg-white border-gray-300 text-gray-700 hover:border-indigo-500"]])},p({day:"按天",hour:"按小时",minute:"按分钟",forever:"永久",count:"按次数"}[r]),3)])),64))])]),e("div",he,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 最长保存时间 ",2),e("div",fe,[l(e("input",{type:"number","onUpdate:modelValue":o[22]||(o[22]=r=>u.value=r),class:t(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,u.value]]),l(e("select",{"onUpdate:modelValue":o[23]||(o[23]=r=>g.value=r),class:t(["rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]])},o[31]||(o[31]=[e("option",{value:"秒"},"秒",-1),e("option",{value:"分"},"分",-1),e("option",{value:"时"},"时",-1),e("option",{value:"天"},"天",-1)]),2),[[v,g.value]])])]),e("div",_e,[e("label",{class:t(["block text-sm font-medium mb-2",[s(a)?"text-gray-300":"text-gray-700"]])}," 游客上传 ",2),e("div",we,[e("button",{type:"button",onClick:o[24]||(o[24]=r=>n.value.openUpload=n.value.openUpload===1?0:1),class:t(["relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",[n.value.openUpload===1?"bg-indigo-600":"bg-gray-200"]]),role:"switch","aria-checked":n.value.openUpload===1},[e("span",{class:t(["pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out",[n.value.openUpload===1?"translate-x-5":"translate-x-0",s(a)&&n.value.openUpload!==1?"bg-gray-100":"bg-white"]])},null,2)],10,ke),e("span",{class:t(["ml-3 text-sm",[s(a)?"text-gray-300":"text-gray-700"]])},p(n.value.openUpload===1?"已开启":"已关闭"),3)])])])]),e("div",Ue,[e("h3",{class:t(["text-lg font-medium mb-4",[s(a)?"text-white":"text-gray-800"]])}," 错误限制 ",2),e("div",Se,[e("div",Ve,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 每分钟错误限制 ",2),e("div",De,[l(e("input",{type:"number","onUpdate:modelValue":o[25]||(o[25]=r=>n.value.errorMinute=r),class:t(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.errorMinute]]),e("span",{class:t([s(a)?"text-gray-300":"text-gray-700"])},"分钟",2)])]),e("div",Ce,[e("label",{class:t(["block text-sm font-medium",[s(a)?"text-gray-300":"text-gray-700"]])}," 错误次数限制 ",2),e("div",Be,[l(e("input",{type:"number","onUpdate:modelValue":o[26]||(o[26]=r=>n.value.errorCount=r),class:t(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[s(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,n.value.errorCount]]),e("span",{class:t([s(a)?"text-gray-300":"text-gray-700"])},"次",2)])])])]),e("div",{class:"flex justify-end mt-8"},[e("button",{onClick:V,class:"px-4 py-2 bg-indigo-600 text-white rounded-md hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transition-colors duration-200"}," 保存设置 ")])])],2)]))}});export{Ae as default}; diff --git a/themes/2024/assets/_commonjsHelpers-BCjwediS.js b/themes/2024/assets/_commonjsHelpers-BCjwediS.js new file mode 100644 index 0000000..449be55 --- /dev/null +++ b/themes/2024/assets/_commonjsHelpers-BCjwediS.js @@ -0,0 +1,26 @@ +import{c as k,B as F,D as R,r as _,E as K,o as V,F as X,G as x,H as Y}from"./index-Dm7yhqOC.js";/** + * @license lucide-vue-next v0.445.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ae=k("CalendarIcon",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/** + * @license lucide-vue-next v0.445.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ne=k("ClipboardListIcon",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);/** + * @license lucide-vue-next v0.445.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const oe=k("EyeIcon",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** + * @license lucide-vue-next v0.445.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ie=k("ShieldCheckIcon",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/*! + * qrcode.vue v3.6.0 + * A Vue.js component to generate QRCode. Both support Vue 2 and Vue 3 + * © 2017-PRESENT @scopewu(https://github.com/scopewu) + * MIT License. + */var P=function(){return P=Object.assign||function(f){for(var l,u=1,h=arguments.length;ua.MAX_VERSION)throw new RangeError("Version value out of range");if(n<-1||n>7)throw new RangeError("Mask value out of range");this.size=e*4+17;for(var i=[],s=0;s7)throw new RangeError("Invalid value");var d,g;for(d=r;;d++){var M=a.getNumDataCodewords(d,t)*8,E=c.getTotalBits(e,d);if(E<=M){g=E;break}if(d>=n)throw new RangeError("Data too long")}for(var m=0,p=[a.Ecc.MEDIUM,a.Ecc.QUARTILE,a.Ecc.HIGH];m>>3]|=B<<7-(L&7)}),new a(d,t,D,i)},a.prototype.getModule=function(e,t){return 0<=e&&e>>9)*1335;var i=(t<<10|r)^21522;h(i>>>15==0);for(var n=0;n<=5;n++)this.setFunctionModule(8,n,u(i,n));this.setFunctionModule(8,7,u(i,6)),this.setFunctionModule(8,8,u(i,7)),this.setFunctionModule(7,8,u(i,8));for(var n=9;n<15;n++)this.setFunctionModule(14-n,8,u(i,n));for(var n=0;n<8;n++)this.setFunctionModule(this.size-1-n,8,u(i,n));for(var n=8;n<15;n++)this.setFunctionModule(8,this.size-15+n,u(i,n));this.setFunctionModule(8,this.size-8,!0)},a.prototype.drawVersion=function(){if(!(this.version<7)){for(var e=this.version,t=0;t<12;t++)e=e<<1^(e>>>11)*7973;var r=this.version<<12|e;h(r>>>18==0);for(var t=0;t<18;t++){var n=u(r,t),i=this.size-11+t%3,s=Math.floor(t/3);this.setFunctionModule(i,s,n),this.setFunctionModule(s,i,n)}}},a.prototype.drawFinderPattern=function(e,t){for(var r=-4;r<=4;r++)for(var n=-4;n<=4;n++){var i=Math.max(Math.abs(n),Math.abs(r)),s=e+n,d=t+r;0<=s&&s=d)&&w.push(A[y])})},m=0;m=1;r-=2){r==6&&(r=5);for(var n=0;n>>3],7-(t&7)),t++)}}h(t==e.length*8)},a.prototype.applyMask=function(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(var t=0;t5&&e++):(this.finderPenaltyAddHistory(n,i),r||(e+=this.finderPenaltyCountPatterns(i)*a.PENALTY_N3),r=this.modules[t][s],n=1);e+=this.finderPenaltyTerminateAndCount(r,n,i)*a.PENALTY_N3}for(var s=0;s5&&e++):(this.finderPenaltyAddHistory(d,i),r||(e+=this.finderPenaltyCountPatterns(i)*a.PENALTY_N3),r=this.modules[t][s],d=1);e+=this.finderPenaltyTerminateAndCount(r,d,i)*a.PENALTY_N3}for(var t=0;ta.MAX_VERSION)throw new RangeError("Version number out of range");var t=(16*e+128)*e+64;if(e>=2){var r=Math.floor(e/7)+2;t-=(25*r-10)*r-55,e>=7&&(t-=36)}return h(208<=t&&t<=29648),t},a.getNumDataCodewords=function(e,t){return Math.floor(a.getNumRawDataModules(e)/8)-a.ECC_CODEWORDS_PER_BLOCK[t.ordinal][e]*a.NUM_ERROR_CORRECTION_BLOCKS[t.ordinal][e]},a.reedSolomonComputeDivisor=function(e){if(e<1||e>255)throw new RangeError("Degree out of range");for(var t=[],r=0;r>>8||t>>>8)throw new RangeError("Byte out of range");for(var r=0,n=7;n>=0;n--)r=r<<1^(r>>>7)*285,r^=(t>>>n&1)*e;return h(r>>>8==0),r},a.prototype.finderPenaltyCountPatterns=function(e){var t=e[1];h(t<=this.size*3);var r=t>0&&e[2]==t&&e[3]==t*3&&e[4]==t&&e[5]==t;return(r&&e[0]>=t*4&&e[6]>=t?1:0)+(r&&e[6]>=t*4&&e[0]>=t?1:0)},a.prototype.finderPenaltyTerminateAndCount=function(e,t,r){return e&&(this.finderPenaltyAddHistory(t,r),t=0),t+=this.size,this.finderPenaltyAddHistory(t,r),this.finderPenaltyCountPatterns(r)},a.prototype.finderPenaltyAddHistory=function(e,t){t[0]==0&&(e+=this.size),t.pop(),t.unshift(e)},a.MIN_VERSION=1,a.MAX_VERSION=40,a.PENALTY_N1=3,a.PENALTY_N2=3,a.PENALTY_N3=40,a.PENALTY_N4=10,a.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],a.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],a}();o.QrCode=f;function l(a,e,t){if(e<0||e>31||a>>>e)throw new RangeError("Value out of range");for(var r=e-1;r>=0;r--)t.push(a>>>r&1)}function u(a,e){return(a>>>e&1)!=0}function h(a){if(!a)throw new Error("Assertion error")}var c=function(){function a(e,t,r){if(this.mode=e,this.numChars=t,this.bitData=r,t<0)throw new RangeError("Invalid argument");this.bitData=r.slice()}return a.makeBytes=function(e){for(var t=[],r=0,n=e;r=1<=f.y+f.h?l:l.map(function(h,c){return c=f.x+f.w?h:!1})})}var G={value:{type:String,required:!0,default:""},size:{type:Number,default:100},level:{type:String,default:Q,validator:function(o){return H(o)}},background:{type:String,default:"#fff"},foreground:{type:String,default:"#000"},margin:{type:Number,required:!1,default:0},imageSettings:{type:Object,required:!1,default:function(){return{}}},gradient:{type:Boolean,required:!1,default:!1},gradientType:{type:String,required:!1,default:"linear",validator:function(o){return["linear","radial"].indexOf(o)>-1}},gradientStartColor:{type:String,required:!1,default:"#000"},gradientEndColor:{type:String,required:!1,default:"#fff"}},j=P(P({},G),{renderAs:{type:String,required:!1,default:"canvas",validator:function(o){return["canvas","svg"].indexOf(o)>-1}}}),ee=F({name:"QRCodeSvg",props:G,setup:function(o){var f=_(0),l=_(""),u,h=function(){var a=o.value,e=o.level,t=o.margin,r=t>>>0,n=H(e)?e:Q,i=O.QrCode.encodeText(a,U[n]).getModules();if(f.value=i.length+r*2,o.imageSettings.src){var s=q(i,o.size,r,o.imageSettings);u={x:s.x+r,y:s.y+r,width:s.w,height:s.h},s.excavation&&(i=J(i,s.excavation))}l.value=W(i,r)},c=function(){if(!o.gradient)return null;var a=o.gradientType==="linear"?{x1:"0%",y1:"0%",x2:"100%",y2:"100%"}:{cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"};return R(o.gradientType==="linear"?"linearGradient":"radialGradient",P({id:"qr-gradient"},a),[R("stop",{offset:"0%",style:{stopColor:o.gradientStartColor}}),R("stop",{offset:"100%",style:{stopColor:o.gradientEndColor}})])};return h(),K(h),function(){return R("svg",{width:o.size,height:o.size,"shape-rendering":"crispEdges",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(f.value," ").concat(f.value)},[R("defs",{},[c()]),R("rect",{width:"100%",height:"100%",fill:o.background}),R("path",{fill:o.gradient?"url(#qr-gradient)":o.foreground,d:l.value}),o.imageSettings.src&&R("image",P({href:o.imageSettings.src},u))])}}}),te=F({name:"QRCodeCanvas",props:G,setup:function(o,f){var l=_(null),u=_(null),h=function(){var a=o.value,e=o.level,t=o.size,r=o.margin,n=o.background,i=o.foreground,s=o.gradient,d=o.gradientType,g=o.gradientStartColor,M=o.gradientEndColor,E=r>>>0,m=H(e)?e:Q,p=l.value;if(p){var C=p.getContext("2d");if(C){var v=O.QrCode.encodeText(a,U[m]).getModules(),w=v.length+E*2,S=u.value,y={x:0,y:0,width:0,height:0},A=o.imageSettings.src&&S!=null&&S.naturalWidth!==0&&S.naturalHeight!==0;if(A){var N=q(v,o.size,E,o.imageSettings);y={x:N.x+E,y:N.y+E,width:N.w,height:N.h},N.excavation&&(v=J(v,N.excavation))}var T=window.devicePixelRatio||1,z=t/w*T;if(p.height=p.width=t*T,C.scale(z,z),C.fillStyle=n,C.fillRect(0,0,w,w),s){var I=void 0;d==="linear"?I=C.createLinearGradient(0,0,w,w):I=C.createRadialGradient(w/2,w/2,0,w/2,w/2,w/2),I.addColorStop(0,g),I.addColorStop(1,M),C.fillStyle=I}else C.fillStyle=i;Z?C.fill(new Path2D(W(v,E))):v.forEach(function(D,B){D.forEach(function(L,$){L&&C.fillRect($+E,B+E,1,1)})}),A&&C.drawImage(S,y.x,y.y,y.width,y.height)}}};V(h),K(h);var c=f.attrs.style;return function(){return R(X,[R("canvas",P(P({},f.attrs),{ref:l,style:P(P({},c),{width:"".concat(o.size,"px"),height:"".concat(o.size,"px")})})),o.imageSettings.src&&R("img",{ref:u,src:o.imageSettings.src,style:{display:"none"},onLoad:h})])}}}),se=F({name:"Qrcode",render:function(){var o=this.$props,f=o.renderAs,l=o.value,u=o.size,h=o.margin,c=o.level,a=o.background,e=o.foreground,t=o.imageSettings,r=o.gradient,n=o.gradientType,i=o.gradientStartColor,s=o.gradientEndColor;return R(f==="svg"?ee:te,{value:l,size:u,margin:h,level:c,background:a,foreground:e,imageSettings:t,gradient:r,gradientType:n,gradientStartColor:i,gradientEndColor:s})},props:j});const ue=x("fileData",()=>{const o=Y(JSON.parse(localStorage.getItem("receiveData")||"[]")||[]),f=Y(JSON.parse(localStorage.getItem("shareData")||"[]")||[]);function l(){localStorage.setItem("receiveData",JSON.stringify(o)),localStorage.setItem("shareData",JSON.stringify(f))}function u(e){o.unshift(e),l()}function h(e){f.unshift(e),l()}function c(e){o.splice(e,1),l()}function a(e){f.splice(e,1),l()}return{receiveData:o,shareData:f,save:l,addShareData:h,addReceiveData:u,deleteReceiveData:c,deleteShareData:a}});var le=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fe(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}export{ne as C,oe as E,se as Q,ie as S,ae as a,le as c,fe as g,ue as u}; diff --git a/themes/2024/assets/_commonjsHelpers-CRVxHcaM.js b/themes/2024/assets/_commonjsHelpers-CRVxHcaM.js deleted file mode 100644 index 61891db..0000000 --- a/themes/2024/assets/_commonjsHelpers-CRVxHcaM.js +++ /dev/null @@ -1,26 +0,0 @@ -import{c as D,B as _,D as I,r as k,E as U,o as W,G as $,H as Q}from"./index-BMgmatCO.js";/** - * @license lucide-vue-next v0.445.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const x=D("CalendarIcon",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/** - * @license lucide-vue-next v0.445.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ee=D("ClipboardListIcon",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);/** - * @license lucide-vue-next v0.445.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const te=D("EyeIcon",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** - * @license lucide-vue-next v0.445.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const re=D("ShieldCheckIcon",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/*! - * qrcode.vue v3.4.1 - * A Vue.js component to generate QRCode. - * © 2017-2023 @scopewu(https://github.com/scopewu) - * MIT License. - */var b=function(){return b=Object.assign||function(f){for(var l,u=1,c=arguments.length;un.MAX_VERSION)throw new RangeError("Version value out of range");if(a<-1||a>7)throw new RangeError("Mask value out of range");this.size=e*4+17;for(var o=[],i=0;i7)throw new RangeError("Invalid value");var h,v;for(h=r;;h++){var E=n.getNumDataCodewords(h,t)*8,m=d.getTotalBits(e,h);if(m<=E){v=m;break}if(h>=a)throw new RangeError("Data too long")}for(var p=0,C=[n.Ecc.MEDIUM,n.Ecc.QUARTILE,n.Ecc.HIGH];p>>3]|=J<<7-(F&7)}),new n(h,t,z,o)},n.prototype.getModule=function(e,t){return 0<=e&&e>>9)*1335;var o=(t<<10|r)^21522;c(o>>>15==0);for(var a=0;a<=5;a++)this.setFunctionModule(8,a,u(o,a));this.setFunctionModule(8,7,u(o,6)),this.setFunctionModule(8,8,u(o,7)),this.setFunctionModule(7,8,u(o,8));for(var a=9;a<15;a++)this.setFunctionModule(14-a,8,u(o,a));for(var a=0;a<8;a++)this.setFunctionModule(this.size-1-a,8,u(o,a));for(var a=8;a<15;a++)this.setFunctionModule(8,this.size-15+a,u(o,a));this.setFunctionModule(8,this.size-8,!0)},n.prototype.drawVersion=function(){if(!(this.version<7)){for(var e=this.version,t=0;t<12;t++)e=e<<1^(e>>>11)*7973;var r=this.version<<12|e;c(r>>>18==0);for(var t=0;t<18;t++){var a=u(r,t),o=this.size-11+t%3,i=Math.floor(t/3);this.setFunctionModule(o,i,a),this.setFunctionModule(i,o,a)}}},n.prototype.drawFinderPattern=function(e,t){for(var r=-4;r<=4;r++)for(var a=-4;a<=4;a++){var o=Math.max(Math.abs(a),Math.abs(r)),i=e+a,h=t+r;0<=i&&i=h)&&w.push(P[R])})},p=0;p=1;r-=2){r==6&&(r=5);for(var a=0;a>>3],7-(t&7)),t++)}}c(t==e.length*8)},n.prototype.applyMask=function(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(var t=0;t5&&e++):(this.finderPenaltyAddHistory(a,o),r||(e+=this.finderPenaltyCountPatterns(o)*n.PENALTY_N3),r=this.modules[t][i],a=1);e+=this.finderPenaltyTerminateAndCount(r,a,o)*n.PENALTY_N3}for(var i=0;i5&&e++):(this.finderPenaltyAddHistory(h,o),r||(e+=this.finderPenaltyCountPatterns(o)*n.PENALTY_N3),r=this.modules[t][i],h=1);e+=this.finderPenaltyTerminateAndCount(r,h,o)*n.PENALTY_N3}for(var t=0;tn.MAX_VERSION)throw new RangeError("Version number out of range");var t=(16*e+128)*e+64;if(e>=2){var r=Math.floor(e/7)+2;t-=(25*r-10)*r-55,e>=7&&(t-=36)}return c(208<=t&&t<=29648),t},n.getNumDataCodewords=function(e,t){return Math.floor(n.getNumRawDataModules(e)/8)-n.ECC_CODEWORDS_PER_BLOCK[t.ordinal][e]*n.NUM_ERROR_CORRECTION_BLOCKS[t.ordinal][e]},n.reedSolomonComputeDivisor=function(e){if(e<1||e>255)throw new RangeError("Degree out of range");for(var t=[],r=0;r>>8||t>>>8)throw new RangeError("Byte out of range");for(var r=0,a=7;a>=0;a--)r=r<<1^(r>>>7)*285,r^=(t>>>a&1)*e;return c(r>>>8==0),r},n.prototype.finderPenaltyCountPatterns=function(e){var t=e[1];c(t<=this.size*3);var r=t>0&&e[2]==t&&e[3]==t*3&&e[4]==t&&e[5]==t;return(r&&e[0]>=t*4&&e[6]>=t?1:0)+(r&&e[6]>=t*4&&e[0]>=t?1:0)},n.prototype.finderPenaltyTerminateAndCount=function(e,t,r){return e&&(this.finderPenaltyAddHistory(t,r),t=0),t+=this.size,this.finderPenaltyAddHistory(t,r),this.finderPenaltyCountPatterns(r)},n.prototype.finderPenaltyAddHistory=function(e,t){t[0]==0&&(e+=this.size),t.pop(),t.unshift(e)},n.MIN_VERSION=1,n.MAX_VERSION=40,n.PENALTY_N1=3,n.PENALTY_N2=3,n.PENALTY_N3=40,n.PENALTY_N4=10,n.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],n.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],n}();s.QrCode=f;function l(n,e,t){if(e<0||e>31||n>>>e)throw new RangeError("Value out of range");for(var r=e-1;r>=0;r--)t.push(n>>>r&1)}function u(n,e){return(n>>>e&1)!=0}function c(n){if(!n)throw new Error("Assertion error")}var d=function(){function n(e,t,r){if(this.mode=e,this.numChars=t,this.bitData=r,t<0)throw new RangeError("Invalid argument");this.bitData=r.slice()}return n.makeBytes=function(e){for(var t=[],r=0,a=e;r=1<-1}}}),Z=_({name:"QRCodeSvg",props:B,setup:function(s){var f=k(0),l=k(""),u=function(){var c=s.value,d=s.level,n=s.margin,e=A.QrCode.encodeText(c,L[d]).getModules();f.value=e.length+n*2,l.value=Y(e,n)};return u(),U(u),function(){return I("svg",{width:s.size,height:s.size,"shape-rendering":"crispEdges",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(f.value," ").concat(f.value)},[I("path",{fill:s.background,d:"M0,0 h".concat(f.value,"v").concat(f.value,"H0z")}),I("path",{fill:s.foreground,d:l.value})])}}}),q=_({name:"QRCodeCanvas",props:B,setup:function(s){var f=k(null),l=function(){var u=s.value,c=s.level,d=s.size,n=s.margin,e=s.background,t=s.foreground,r=f.value;if(r){var a=r.getContext("2d");if(a){var o=A.QrCode.encodeText(u,L[c]).getModules(),i=o.length+n*2,h=window.devicePixelRatio||1,v=d/i*h;r.height=r.width=d*h,a.scale(v,v),a.fillStyle=e,a.fillRect(0,0,i,i),a.fillStyle=t,V?a.fill(new Path2D(Y(o,n))):o.forEach(function(E,m){E.forEach(function(p,C){p&&a.fillRect(C+n,m+n,1,1)})})}}};return W(l),U(l),function(){return I("canvas",{ref:f,style:{width:"".concat(s.size,"px"),height:"".concat(s.size,"px")}})}}}),ne=_({name:"Qrcode",render:function(){var s=this.$props,f=s.renderAs,l=s.value,u=s.size,c=s.margin,d=s.level,n=s.background,e=s.foreground,t=u>>>0,r=c>>>0,a=G(d)?d:H;return I(f==="svg"?Z:q,{value:l,size:t,margin:r,level:a,background:n,foreground:e})},props:X});const ae=$("fileData",()=>{const s=Q(JSON.parse(localStorage.getItem("receiveData")||"[]")||[]),f=Q(JSON.parse(localStorage.getItem("shareData")||"[]")||[]);function l(){localStorage.setItem("receiveData",JSON.stringify(s)),localStorage.setItem("shareData",JSON.stringify(f))}function u(e){s.unshift(e),l()}function c(e){f.unshift(e),l()}function d(e){s.splice(e,1),l()}function n(e){f.splice(e,1),l()}return{receiveData:s,shareData:f,save:l,addShareData:c,addReceiveData:u,deleteReceiveData:d,deleteShareData:n}});var oe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ie(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}export{ee as C,te as E,ne as Q,re as S,x as a,oe as c,ie as g,ae as u}; diff --git a/themes/2024/assets/box-DezRNKnJ.js b/themes/2024/assets/box-D82IEWOS.js similarity index 90% rename from themes/2024/assets/box-DezRNKnJ.js rename to themes/2024/assets/box-D82IEWOS.js index 27a1326..518c61b 100644 --- a/themes/2024/assets/box-DezRNKnJ.js +++ b/themes/2024/assets/box-D82IEWOS.js @@ -1,4 +1,4 @@ -import{c as a}from"./index-BMgmatCO.js";/** +import{c as a}from"./index-Dm7yhqOC.js";/** * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. diff --git a/themes/2024/assets/file-C8d0agNl.js b/themes/2024/assets/file-rOVCfWLN.js similarity index 88% rename from themes/2024/assets/file-C8d0agNl.js rename to themes/2024/assets/file-rOVCfWLN.js index 16271dd..b0c7438 100644 --- a/themes/2024/assets/file-C8d0agNl.js +++ b/themes/2024/assets/file-rOVCfWLN.js @@ -1,4 +1,4 @@ -import{c as a}from"./index-BMgmatCO.js";/** +import{c as a}from"./index-Dm7yhqOC.js";/** * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. diff --git a/themes/2024/assets/index-AS6H6npC.css b/themes/2024/assets/index-AS6H6npC.css deleted file mode 100644 index dcb3222..0000000 --- a/themes/2024/assets/index-AS6H6npC.css +++ /dev/null @@ -1 +0,0 @@ -*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-invert{--tw-prose-body: var(--tw-prose-invert-body);--tw-prose-headings: var(--tw-prose-invert-headings);--tw-prose-lead: var(--tw-prose-invert-lead);--tw-prose-links: var(--tw-prose-invert-links);--tw-prose-bold: var(--tw-prose-invert-bold);--tw-prose-counters: var(--tw-prose-invert-counters);--tw-prose-bullets: var(--tw-prose-invert-bullets);--tw-prose-hr: var(--tw-prose-invert-hr);--tw-prose-quotes: var(--tw-prose-invert-quotes);--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);--tw-prose-captions: var(--tw-prose-invert-captions);--tw-prose-kbd: var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);--tw-prose-code: var(--tw-prose-invert-code);--tw-prose-pre-code: var(--tw-prose-invert-pre-code);--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);--tw-prose-th-borders: var(--tw-prose-invert-th-borders);--tw-prose-td-borders: var(--tw-prose-invert-td-borders)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.-inset-2{top:-.5rem;right:-.5rem;bottom:-.5rem;left:-.5rem}.inset-0{top:0;right:0;bottom:0;left:0}.inset-1{top:.25rem;right:.25rem;bottom:.25rem;left:.25rem}.inset-y-0{top:0;bottom:0}.-bottom-0\.5{bottom:-.125rem}.left-0{left:0}.left-2{left:.5rem}.left-3{left:.75rem}.left-4{left:1rem}.right-0{right:0}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-2\.5{top:.625rem}.top-4{top:1rem}.z-0{z-index:0}.z-10{z-index:10}.z-50{z-index:50}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.h-screen{height:100vh}.max-h-\[80vh\]{max-height:80vh}.min-h-screen{min-height:100vh}.w-0{width:0px}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-24{width:6rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-8{width:2rem}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-full{min-width:100%}.max-w-3xl{max-width:48rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.-space-y-px>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(-1px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(-1px * var(--tw-space-y-reverse))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.divide-gray-700>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(55 65 81 / var(--tw-divide-opacity))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.border-indigo-600{--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-opacity-20{--tw-border-opacity: .2}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.bg-blue-900{--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-800\/50{background-color:#1f293780}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-green-900{--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-indigo-900{--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}.bg-purple-900{--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/50{background-color:#ffffff80}.bg-white\/70{background-color:#ffffffb3}.bg-opacity-10{--tw-bg-opacity: .1}.bg-opacity-20{--tw-bg-opacity: .2}.bg-opacity-25{--tw-bg-opacity: .25}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-70{--tw-bg-opacity: .7}.bg-opacity-90{--tw-bg-opacity: .9}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-blue-50{--tw-gradient-from: #eff6ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-500{--tw-gradient-from: #3b82f6 var(--tw-gradient-from-position);--tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-600{--tw-gradient-from: #0891b2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-gray-900{--tw-gradient-from: #111827 var(--tw-gradient-from-position);--tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-500{--tw-gradient-from: #22c55e var(--tw-gradient-from-position);--tw-gradient-to: rgb(34 197 94 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-indigo-300{--tw-gradient-from: #a5b4fc var(--tw-gradient-from-position);--tw-gradient-to: rgb(165 180 252 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-indigo-500{--tw-gradient-from: #6366f1 var(--tw-gradient-from-position);--tw-gradient-to: rgb(99 102 241 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-500{--tw-gradient-from: #ec4899 var(--tw-gradient-from-position);--tw-gradient-to: rgb(236 72 153 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-500{--tw-gradient-from: #ef4444 var(--tw-gradient-from-position);--tw-gradient-to: rgb(239 68 68 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-yellow-500{--tw-gradient-from: #eab308 var(--tw-gradient-from-position);--tw-gradient-to: rgb(234 179 8 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-indigo-50{--tw-gradient-to: rgb(238 242 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #eef2ff var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-indigo-900{--tw-gradient-to: rgb(49 46 129 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #312e81 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-300{--tw-gradient-to: rgb(216 180 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #d8b4fe var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-500{--tw-gradient-to: rgb(168 85 247 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #a855f7 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-blue-600{--tw-gradient-to: #2563eb var(--tw-gradient-to-position)}.to-green-600{--tw-gradient-to: #16a34a var(--tw-gradient-to-position)}.to-indigo-500{--tw-gradient-to: #6366f1 var(--tw-gradient-to-position)}.to-pink-300{--tw-gradient-to: #f9a8d4 var(--tw-gradient-to-position)}.to-pink-500{--tw-gradient-to: #ec4899 var(--tw-gradient-to-position)}.to-purple-500{--tw-gradient-to: #a855f7 var(--tw-gradient-to-position)}.to-purple-600{--tw-gradient-to: #9333ea var(--tw-gradient-to-position)}.to-red-600{--tw-gradient-to: #dc2626 var(--tw-gradient-to-position)}.to-yellow-600{--tw-gradient-to: #ca8a04 var(--tw-gradient-to-position)}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.bg-right{background-position:right}.bg-no-repeat{background-repeat:no-repeat}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pr-10{padding-right:2.5rem}.pr-16{padding-right:4rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pt-0\.5{padding-top:.125rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.tracking-wider{letter-spacing:.05em}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-cyan-400{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity))}.text-cyan-600{--tw-text-opacity: 1;color:rgb(8 145 178 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-purple-400{--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-300{--tw-text-opacity: 1;color:rgb(253 224 71 / var(--tw-text-opacity))}.placeholder-gray-400::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.placeholder-gray-400::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.placeholder-gray-500::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity))}.placeholder-gray-500::placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity))}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-red-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity))}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-md{--tw-blur: blur(12px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-lg{--tw-backdrop-blur: blur(16px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-xl{--tw-backdrop-blur: blur(24px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@font-face{font-family:DingTalk;src:url(/assets/DingTalk-CT5a5scH.ttf) format("truetype")}*{font-family:DingTalk,sans-serif!important}.hover\:rotate-180:hover{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-\[1\.02\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\:border-gray-500:hover{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.hover\:border-indigo-500:hover{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.hover\:bg-blue-400:hover{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.hover\:bg-green-100:hover{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.hover\:bg-green-400:hover{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.hover\:bg-indigo-100:hover{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.hover\:bg-indigo-400:hover{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.hover\:bg-indigo-700:hover{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.hover\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.hover\:bg-red-400:hover{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-opacity-20:hover{--tw-bg-opacity: .2}.hover\:from-cyan-600:hover{--tw-gradient-from: #0891b2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:from-cyan-700:hover{--tw-gradient-from: #0e7490 var(--tw-gradient-from-position);--tw-gradient-to: rgb(14 116 144 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:from-indigo-600:hover{--tw-gradient-from: #4f46e5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(79 70 229 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:via-purple-600:hover{--tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #9333ea var(--tw-gradient-via-position), var(--tw-gradient-to)}.hover\:to-pink-600:hover{--tw-gradient-to: #db2777 var(--tw-gradient-to-position)}.hover\:to-purple-600:hover{--tw-gradient-to: #9333ea var(--tw-gradient-to-position)}.hover\:to-purple-700:hover{--tw-gradient-to: #7e22ce var(--tw-gradient-to-position)}.hover\:text-gray-200:hover{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-indigo-300:hover{--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity))}.hover\:text-indigo-900:hover{--tw-text-opacity: 1;color:rgb(49 46 129 / var(--tw-text-opacity))}.hover\:text-red-300:hover{--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}.hover\:text-red-900:hover{--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-cyan-500\/50:hover{--tw-shadow-color: rgb(6 182 212 / .5);--tw-shadow: var(--tw-shadow-colored)}.focus\:z-10:focus{z-index:10}.focus\:border-cyan-500:focus{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity))}.focus\:border-indigo-500:focus{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.focus\:border-transparent:focus{border-color:transparent}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-cyan-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(6 182 212 / var(--tw-ring-opacity))}.focus\:ring-indigo-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.focus\:ring-purple-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(168 85 247 / var(--tw-ring-opacity))}.focus\:ring-opacity-50:focus{--tw-ring-opacity: .5}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.group:hover .group-hover\:translate-x-1{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}.group:hover .group-hover\:text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.group:hover .group-hover\:opacity-100{opacity:1}.group:hover .group-hover\:opacity-20{opacity:.2}@media (min-width: 640px){.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:px-0{padding-left:0;padding-right:0}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 768px){.md\:max-w-md{max-width:28rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){.lg\:relative{position:relative}.lg\:hidden{display:none}.lg\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:px-8{padding-left:2rem;padding-right:2rem}}.alert-fade-enter-active[data-v-6fdbaa84],.alert-fade-leave-active[data-v-6fdbaa84]{transition:all .5s cubic-bezier(.68,-.55,.265,1.55)}.alert-fade-enter-from[data-v-6fdbaa84],.alert-fade-leave-to[data-v-6fdbaa84]{opacity:0;transform:translate(-50px) scale(.95)}.app-container{min-height:100vh;width:100%;position:relative;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;transition:background-color .5s ease}.light{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #eff6ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: rgb(238 242 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #eef2ff var(--tw-gradient-via-position), var(--tw-gradient-to);--tw-gradient-to: #fff var(--tw-gradient-to-position)}.dark{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #111827 var(--tw-gradient-from-position);--tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: rgb(49 46 129 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #312e81 var(--tw-gradient-via-position), var(--tw-gradient-to);--tw-gradient-to: #000 var(--tw-gradient-to-position)}.fade-enter-active,.fade-leave-active{transition:opacity .3s ease}.fade-enter-from,.fade-leave-to{opacity:0}.loading-overlay{position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:9999;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.loading-spinner{width:50px;height:50px;border:3px solid #fff;border-top:3px solid #3498db;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}} diff --git a/themes/2024/assets/index-BMgmatCO.js b/themes/2024/assets/index-BMgmatCO.js deleted file mode 100644 index 3e94a7d..0000000 --- a/themes/2024/assets/index-BMgmatCO.js +++ /dev/null @@ -1,86 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RetrievewFileView-DFoOLqwO.js","assets/_commonjsHelpers-CRVxHcaM.js","assets/box-DezRNKnJ.js","assets/file-C8d0agNl.js","assets/trash-BsECra8n.js","assets/RetrievewFileView-DY8JwPXC.css","assets/SendFileView-BpoP1hAD.js","assets/SendFileView-BZLcepUm.css","assets/AdminLayout-BYxl-yGL.js","assets/AdminLayout-N15TxCCO.css","assets/DashboardView-CsL_7F9h.js","assets/FileManageView-DrwTJQX8.js","assets/LoginView-Do8_BjnX.js","assets/LoginView-BU7fFnDZ.css"])))=>i.map(i=>d[i]); -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** -* @vue/shared v3.5.8 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Ir(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ae={},Zt=[],st=()=>{},Gc=()=>!1,bs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Lr=e=>e.startsWith("onUpdate:"),me=Object.assign,Nr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Jc=Object.prototype.hasOwnProperty,ne=(e,t)=>Jc.call(e,t),$=Array.isArray,en=e=>$n(e)==="[object Map]",un=e=>$n(e)==="[object Set]",fo=e=>$n(e)==="[object Date]",K=e=>typeof e=="function",he=e=>typeof e=="string",rt=e=>typeof e=="symbol",ie=e=>e!==null&&typeof e=="object",Mi=e=>(ie(e)||K(e))&&K(e.then)&&K(e.catch),ki=Object.prototype.toString,$n=e=>ki.call(e),Xc=e=>$n(e).slice(8,-1),Fi=e=>$n(e)==="[object Object]",Mr=e=>he(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,vn=Ir(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_s=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Qc=/-(\w)/g,Ge=_s(e=>e.replace(Qc,(t,n)=>n?n.toUpperCase():"")),Yc=/\B([A-Z])/g,Kt=_s(e=>e.replace(Yc,"-$1").toLowerCase()),vs=_s(e=>e.charAt(0).toUpperCase()+e.slice(1)),$s=_s(e=>e?`on${vs(e)}`:""),Tt=(e,t)=>!Object.is(e,t),rs=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},as=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Zc=e=>{const t=he(e)?Number(e):NaN;return isNaN(t)?e:t};let ho;const ji=()=>ho||(ho=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ws(e){if($(e)){const t={};for(let n=0;n{if(n){const s=n.split(ta);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function fn(e){let t="";if(he(e))t=e;else if($(e))for(let n=0;nUn(n,t))}const Hi=e=>!!(e&&e.__v_isRef===!0),la=e=>he(e)?e:e==null?"":$(e)||ie(e)&&(e.toString===ki||!K(e.toString))?Hi(e)?la(e.value):JSON.stringify(e,$i,2):String(e),$i=(e,t)=>Hi(t)?$i(e,t.value):en(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Us(s,o)+" =>"]=r,n),{})}:un(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Us(n))}:rt(t)?Us(t):ie(t)&&!$(t)&&!Fi(t)?String(t):t,Us=(e,t="")=>{var n;return rt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.8 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Se;class Ui{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Se,!t&&Se&&(this.index=(Se.scopes||(Se.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;let e;for(;wn;){let t=wn;for(wn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Gi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ji(e,t=!1){let n,s=e.depsTail,r=s;for(;r;){const o=r.prevDep;r.version===-1?(r===s&&(s=o),jr(r,t),aa(r)):n=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=n,e.depsTail=s}function cr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Xi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Xi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===On))return;e.globalVersion=On;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!cr(e)){e.flags&=-3;return}const n=ce,s=ze;ce=e,ze=!0;try{Gi(e);const r=e.fn(e._value);(t.version===0||Tt(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ce=n,ze=s,Ji(e,!0),e.flags&=-3}}function jr(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s),!n.subs)if(n.computed){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)jr(o,!0)}else n.map&&!t&&(n.map.delete(n.key),n.map.size||Pn.delete(n.target))}function aa(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ze=!0;const Qi=[];function Pt(){Qi.push(ze),ze=!1}function It(){const e=Qi.pop();ze=e===void 0?!0:e}function po(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ce;ce=void 0;try{t()}finally{ce=n}}}let On=0;class ua{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Br{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0}track(t){if(!ce||!ze||ce===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ce)n=this.activeLink=new ua(ce,this),ce.deps?(n.prevDep=ce.depsTail,ce.depsTail.nextDep=n,ce.depsTail=n):ce.deps=ce.depsTail=n,ce.flags&4&&Yi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ce.depsTail,n.nextDep=void 0,ce.depsTail.nextDep=n,ce.depsTail=n,ce.deps===n&&(ce.deps=s)}return n}trigger(t){this.version++,On++,this.notify(t)}notify(t){Fr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Dr()}}}function Yi(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Yi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}const Pn=new WeakMap,jt=Symbol(""),ar=Symbol(""),In=Symbol("");function we(e,t,n){if(ze&&ce){let s=Pn.get(e);s||Pn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Br),r.target=e,r.map=s,r.key=n),r.track()}}function ft(e,t,n,s,r,o){const i=Pn.get(e);if(!i){On++;return}const l=c=>{c&&c.trigger()};if(Fr(),t==="clear")i.forEach(l);else{const c=$(e),u=c&&Mr(n);if(c&&n==="length"){const a=Number(s);i.forEach((f,p)=>{(p==="length"||p===In||!rt(p)&&p>=a)&&l(f)})}else switch(n!==void 0&&l(i.get(n)),u&&l(i.get(In)),t){case"add":c?u&&l(i.get("length")):(l(i.get(jt)),en(e)&&l(i.get(ar)));break;case"delete":c||(l(i.get(jt)),en(e)&&l(i.get(ar)));break;case"set":en(e)&&l(i.get(jt));break}}Dr()}function fa(e,t){var n;return(n=Pn.get(e))==null?void 0:n.get(t)}function Jt(e){const t=Q(e);return t===e?t:(we(t,"iterate",In),qe(e)?t:t.map(ve))}function Es(e){return we(e=Q(e),"iterate",In),e}const da={__proto__:null,[Symbol.iterator](){return qs(this,Symbol.iterator,ve)},concat(...e){return Jt(this).concat(...e.map(t=>$(t)?Jt(t):t))},entries(){return qs(this,"entries",e=>(e[1]=ve(e[1]),e))},every(e,t){return it(this,"every",e,t,void 0,arguments)},filter(e,t){return it(this,"filter",e,t,n=>n.map(ve),arguments)},find(e,t){return it(this,"find",e,t,ve,arguments)},findIndex(e,t){return it(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return it(this,"findLast",e,t,ve,arguments)},findLastIndex(e,t){return it(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return it(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ks(this,"includes",e)},indexOf(...e){return Ks(this,"indexOf",e)},join(e){return Jt(this).join(e)},lastIndexOf(...e){return Ks(this,"lastIndexOf",e)},map(e,t){return it(this,"map",e,t,void 0,arguments)},pop(){return mn(this,"pop")},push(...e){return mn(this,"push",e)},reduce(e,...t){return mo(this,"reduce",e,t)},reduceRight(e,...t){return mo(this,"reduceRight",e,t)},shift(){return mn(this,"shift")},some(e,t){return it(this,"some",e,t,void 0,arguments)},splice(...e){return mn(this,"splice",e)},toReversed(){return Jt(this).toReversed()},toSorted(e){return Jt(this).toSorted(e)},toSpliced(...e){return Jt(this).toSpliced(...e)},unshift(...e){return mn(this,"unshift",e)},values(){return qs(this,"values",ve)}};function qs(e,t,n){const s=Es(e),r=s[t]();return s!==e&&!qe(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const ha=Array.prototype;function it(e,t,n,s,r,o){const i=Es(e),l=i!==e&&!qe(e),c=i[t];if(c!==ha[t]){const f=c.apply(e,o);return l?ve(f):f}let u=n;i!==e&&(l?u=function(f,p){return n.call(this,ve(f),p,e)}:n.length>2&&(u=function(f,p){return n.call(this,f,p,e)}));const a=c.call(i,u,s);return l&&r?r(a):a}function mo(e,t,n,s){const r=Es(e);let o=n;return r!==e&&(qe(e)?n.length>3&&(o=function(i,l,c){return n.call(this,i,l,c,e)}):o=function(i,l,c){return n.call(this,i,ve(l),c,e)}),r[t](o,...s)}function Ks(e,t,n){const s=Q(e);we(s,"iterate",In);const r=s[t](...n);return(r===-1||r===!1)&&Vr(n[0])?(n[0]=Q(n[0]),s[t](...n)):r}function mn(e,t,n=[]){Pt(),Fr();const s=Q(e)[t].apply(e,n);return Dr(),It(),s}const pa=Ir("__proto__,__v_isRef,__isVue"),Zi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(rt));function ma(e){rt(e)||(e=String(e));const t=Q(this);return we(t,"has",e),t.hasOwnProperty(e)}class el{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Ta:rl:o?sl:nl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=$(t);if(!r){let c;if(i&&(c=da[n]))return c;if(n==="hasOwnProperty")return ma}const l=Reflect.get(t,n,de(t)?t:s);return(rt(n)?Zi.has(n):pa(n))||(r||we(t,"get",n),o)?l:de(l)?i&&Mr(n)?l:l.value:ie(l)?r?il(l):Vn(l):l}}class tl extends el{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=Ut(o);if(!qe(s)&&!Ut(s)&&(o=Q(o),s=Q(s)),!$(t)&&de(o)&&!de(s))return c?!1:(o.value=s,!0)}const i=$(t)&&Mr(n)?Number(n)e,Ss=e=>Reflect.getPrototypeOf(e);function Xn(e,t,n=!1,s=!1){e=e.__v_raw;const r=Q(e),o=Q(t);n||(Tt(t,o)&&we(r,"get",t),we(r,"get",o));const{has:i}=Ss(r),l=s?Hr:n?Kr:ve;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function Qn(e,t=!1){const n=this.__v_raw,s=Q(n),r=Q(e);return t||(Tt(e,r)&&we(s,"has",e),we(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Yn(e,t=!1){return e=e.__v_raw,!t&&we(Q(e),"iterate",jt),Reflect.get(e,"size",e)}function go(e,t=!1){!t&&!qe(e)&&!Ut(e)&&(e=Q(e));const n=Q(this);return Ss(n).has.call(n,e)||(n.add(e),ft(n,"add",e,e)),this}function yo(e,t,n=!1){!n&&!qe(t)&&!Ut(t)&&(t=Q(t));const s=Q(this),{has:r,get:o}=Ss(s);let i=r.call(s,e);i||(e=Q(e),i=r.call(s,e));const l=o.call(s,e);return s.set(e,t),i?Tt(t,l)&&ft(s,"set",e,t):ft(s,"add",e,t),this}function bo(e){const t=Q(this),{has:n,get:s}=Ss(t);let r=n.call(t,e);r||(e=Q(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&ft(t,"delete",e,void 0),o}function _o(){const e=Q(this),t=e.size!==0,n=e.clear();return t&&ft(e,"clear",void 0,void 0),n}function Zn(e,t){return function(s,r){const o=this,i=o.__v_raw,l=Q(i),c=t?Hr:e?Kr:ve;return!e&&we(l,"iterate",jt),i.forEach((u,a)=>s.call(r,c(u),c(a),o))}}function es(e,t,n){return function(...s){const r=this.__v_raw,o=Q(r),i=en(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,u=r[e](...s),a=n?Hr:t?Kr:ve;return!t&&we(o,"iterate",c?ar:jt),{next(){const{value:f,done:p}=u.next();return p?{value:f,done:p}:{value:l?[a(f[0]),a(f[1])]:a(f),done:p}},[Symbol.iterator](){return this}}}}function gt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function va(){const e={get(o){return Xn(this,o)},get size(){return Yn(this)},has:Qn,add:go,set:yo,delete:bo,clear:_o,forEach:Zn(!1,!1)},t={get(o){return Xn(this,o,!1,!0)},get size(){return Yn(this)},has:Qn,add(o){return go.call(this,o,!0)},set(o,i){return yo.call(this,o,i,!0)},delete:bo,clear:_o,forEach:Zn(!1,!0)},n={get(o){return Xn(this,o,!0)},get size(){return Yn(this,!0)},has(o){return Qn.call(this,o,!0)},add:gt("add"),set:gt("set"),delete:gt("delete"),clear:gt("clear"),forEach:Zn(!0,!1)},s={get(o){return Xn(this,o,!0,!0)},get size(){return Yn(this,!0)},has(o){return Qn.call(this,o,!0)},add:gt("add"),set:gt("set"),delete:gt("delete"),clear:gt("clear"),forEach:Zn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=es(o,!1,!1),n[o]=es(o,!0,!1),t[o]=es(o,!1,!0),s[o]=es(o,!0,!0)}),[e,n,t,s]}const[wa,Ea,Sa,Ra]=va();function $r(e,t){const n=t?e?Ra:Sa:e?Ea:wa;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ne(n,r)&&r in s?n:s,r,o)}const xa={get:$r(!1,!1)},Ca={get:$r(!1,!0)},Aa={get:$r(!0,!1)};const nl=new WeakMap,sl=new WeakMap,rl=new WeakMap,Ta=new WeakMap;function Oa(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Pa(e){return e.__v_skip||!Object.isExtensible(e)?0:Oa(Xc(e))}function Vn(e){return Ut(e)?e:Ur(e,!1,ya,xa,nl)}function ol(e){return Ur(e,!1,_a,Ca,sl)}function il(e){return Ur(e,!0,ba,Aa,rl)}function Ur(e,t,n,s,r){if(!ie(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Pa(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function dt(e){return Ut(e)?dt(e.__v_raw):!!(e&&e.__v_isReactive)}function Ut(e){return!!(e&&e.__v_isReadonly)}function qe(e){return!!(e&&e.__v_isShallow)}function Vr(e){return e?!!e.__v_raw:!1}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function qr(e){return!ne(e,"__v_skip")&&Object.isExtensible(e)&&Di(e,"__v_skip",!0),e}const ve=e=>ie(e)?Vn(e):e,Kr=e=>ie(e)?il(e):e;function de(e){return e?e.__v_isRef===!0:!1}function nn(e){return ll(e,!1)}function Ia(e){return ll(e,!0)}function ll(e,t){return de(e)?e:new La(e,t)}class La{constructor(t,n){this.dep=new Br,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Q(t),this._value=n?t:ve(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||qe(t)||Ut(t);t=s?t:Q(t),Tt(t,n)&&(this._rawValue=t,this._value=s?t:ve(t),this.dep.trigger())}}function Te(e){return de(e)?e.value:e}const Na={get:(e,t,n)=>t==="__v_raw"?e:Te(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return de(r)&&!de(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function cl(e){return dt(e)?e:new Proxy(e,Na)}function Ma(e){const t=$(e)?new Array(e.length):{};for(const n in e)t[n]=al(e,n);return t}class ka{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return fa(Q(this._object),this._key)}}class Fa{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Da(e,t,n){return de(e)?e:K(e)?new Fa(e):ie(e)&&arguments.length>1?al(e,t,n):nn(e)}function al(e,t,n){const s=e[t];return de(s)?s:new ka(e,t,n)}class ja{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Br(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=On-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ce!==this)return zi(this),!0}get value(){const t=this.dep.track();return Xi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ba(e,t,n=!1){let s,r;return K(e)?s=e:(s=e.get,r=e.set),new ja(s,r,n)}const ts={},us=new WeakMap;let kt;function Ha(e,t=!1,n=kt){if(n){let s=us.get(n);s||us.set(n,s=[]),s.push(e)}}function $a(e,t,n=ae){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,u=I=>r?I:qe(I)||r===!1||r===0?ut(I,1):ut(I);let a,f,p,m,y=!1,w=!1;if(de(e)?(f=()=>e.value,y=qe(e)):dt(e)?(f=()=>u(e),y=!0):$(e)?(w=!0,y=e.some(I=>dt(I)||qe(I)),f=()=>e.map(I=>{if(de(I))return I.value;if(dt(I))return u(I);if(K(I))return c?c(I,2):I()})):K(e)?t?f=c?()=>c(e,2):e:f=()=>{if(p){Pt();try{p()}finally{It()}}const I=kt;kt=a;try{return c?c(e,3,[m]):e(m)}finally{kt=I}}:f=st,t&&r){const I=f,j=r===!0?1/0:r;f=()=>ut(I(),j)}const E=qi(),T=()=>{a.stop(),E&&Nr(E.effects,a)};if(o&&t){const I=t;t=(...j)=>{I(...j),T()}}let C=w?new Array(e.length).fill(ts):ts;const P=I=>{if(!(!(a.flags&1)||!a.dirty&&!I))if(t){const j=a.run();if(r||y||(w?j.some((X,z)=>Tt(X,C[z])):Tt(j,C))){p&&p();const X=kt;kt=a;try{const z=[j,C===ts?void 0:w&&C[0]===ts?[]:C,m];c?c(t,3,z):t(...z),C=j}finally{kt=X}}}else a.run()};return l&&l(P),a=new Ki(f),a.scheduler=i?()=>i(P,!1):P,m=I=>Ha(I,!1,a),p=a.onStop=()=>{const I=us.get(a);if(I){if(c)c(I,4);else for(const j of I)j();us.delete(a)}},t?s?P(!0):C=a.run():i?i(P.bind(null,!0),!0):a.run(),T.pause=a.pause.bind(a),T.resume=a.resume.bind(a),T.stop=T,T}function ut(e,t=1/0,n){if(t<=0||!ie(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,de(e))ut(e.value,t,n);else if($(e))for(let s=0;s{ut(s,t,n)});else if(Fi(e)){for(const s in e)ut(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ut(e[s],t,n)}return e}/** -* @vue/runtime-core v3.5.8 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function qn(e,t,n,s){try{return s?e(...s):e()}catch(r){Rs(r,t,n)}}function Je(e,t,n,s){if(K(e)){const r=qn(e,t,n,s);return r&&Mi(r)&&r.catch(o=>{Rs(o,t,n)}),r}if($(e)){const r=[];for(let o=0;o>>1,r=Re[s],o=Nn(r);o=Nn(n)?Re.push(e):Re.splice(Va(t),0,e),e.flags|=1,fl()}}function fl(){!Ln&&!ur&&(ur=!0,Wr=ul.then(hl))}function qa(e){$(e)?tn.push(...e):St&&e.id===-1?St.splice(Qt+1,0,e):e.flags&1||(tn.push(e),e.flags|=1),fl()}function vo(e,t,n=Ln?tt+1:0){for(;nNn(n)-Nn(s));if(tn.length=0,St){St.push(...t);return}for(St=t,Qt=0;Qte.id==null?e.flags&2?-1:1/0:e.id;function hl(e){ur=!1,Ln=!0;try{for(tt=0;tt{s._d&&Po(-1);const o=fs(t);let i;try{i=e(...r)}finally{fs(o),s._d&&Po(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Jp(e,t){if(xe===null)return e;const n=Ls(xe),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,Rt=Symbol("_leaveCb"),ns=Symbol("_enterCb");function gl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ts(()=>{e.isMounted=!0}),Rl(()=>{e.isUnmounting=!0}),e}const $e=[Function,Array],yl={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:$e,onEnter:$e,onAfterEnter:$e,onEnterCancelled:$e,onBeforeLeave:$e,onLeave:$e,onAfterLeave:$e,onLeaveCancelled:$e,onBeforeAppear:$e,onAppear:$e,onAfterAppear:$e,onAppearCancelled:$e},bl=e=>{const t=e.subTree;return t.component?bl(t.component):t},Wa={name:"BaseTransition",props:yl,setup(e,{slots:t}){const n=zl(),s=gl();return()=>{const r=t.default&&Gr(t.default(),!0);if(!r||!r.length)return;const o=_l(r),i=Q(e),{mode:l}=i;if(s.isLeaving)return Ws(o);const c=wo(o);if(!c)return Ws(o);let u=Mn(c,i,s,n,p=>u=p);c.type!==Ae&&Vt(c,u);const a=n.subTree,f=a&&wo(a);if(f&&f.type!==Ae&&!Ft(c,f)&&bl(n).type!==Ae){const p=Mn(f,i,s,n);if(Vt(f,p),l==="out-in"&&c.type!==Ae)return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave},Ws(o);l==="in-out"&&c.type!==Ae&&(p.delayLeave=(m,y,w)=>{const E=vl(s,f);E[String(f.key)]=f,m[Rt]=()=>{y(),m[Rt]=void 0,delete u.delayedLeave},u.delayedLeave=w})}return o}}};function _l(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ae){t=n;break}}return t}const za=Wa;function vl(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Mn(e,t,n,s,r){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:f,onBeforeLeave:p,onLeave:m,onAfterLeave:y,onLeaveCancelled:w,onBeforeAppear:E,onAppear:T,onAfterAppear:C,onAppearCancelled:P}=t,I=String(e.key),j=vl(n,e),X=(N,W)=>{N&&Je(N,s,9,W)},z=(N,W)=>{const ee=W[1];X(N,W),$(N)?N.every(D=>D.length<=1)&&ee():N.length<=1&&ee()},V={mode:i,persisted:l,beforeEnter(N){let W=c;if(!n.isMounted)if(o)W=E||c;else return;N[Rt]&&N[Rt](!0);const ee=j[I];ee&&Ft(e,ee)&&ee.el[Rt]&&ee.el[Rt](),X(W,[N])},enter(N){let W=u,ee=a,D=f;if(!n.isMounted)if(o)W=T||u,ee=C||a,D=P||f;else return;let Y=!1;const pe=N[ns]=Le=>{Y||(Y=!0,Le?X(D,[N]):X(ee,[N]),V.delayedLeave&&V.delayedLeave(),N[ns]=void 0)};W?z(W,[N,pe]):pe()},leave(N,W){const ee=String(e.key);if(N[ns]&&N[ns](!0),n.isUnmounting)return W();X(p,[N]);let D=!1;const Y=N[Rt]=pe=>{D||(D=!0,W(),pe?X(w,[N]):X(y,[N]),N[Rt]=void 0,j[ee]===e&&delete j[ee])};j[ee]=e,m?z(m,[N,Y]):Y()},clone(N){const W=Mn(N,t,n,s,r);return r&&r(W),W}};return V}function Ws(e){if(Cs(e))return e=Ot(e),e.children=null,e}function wo(e){if(!Cs(e))return ml(e.type)&&e.children?_l(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&K(n.default))return n.default()}}function Vt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Vt(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Gr(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;ofr(y,t&&($(t)?t[w]:t),n,s,r));return}if(En(s)&&!r)return;const o=s.shapeFlag&4?Ls(s.component):s.el,i=r?null:o,{i:l,r:c}=e,u=t&&t.r,a=l.refs===ae?l.refs={}:l.refs,f=l.setupState,p=Q(f),m=f===ae?()=>!1:y=>ne(p,y);if(u!=null&&u!==c&&(he(u)?(a[u]=null,m(u)&&(f[u]=null)):de(u)&&(u.value=null)),K(c))qn(c,l,12,[i,a]);else{const y=he(c),w=de(c);if(y||w){const E=()=>{if(e.f){const T=y?m(c)?f[c]:a[c]:c.value;r?$(T)&&Nr(T,o):$(T)?T.includes(o)||T.push(o):y?(a[c]=[o],m(c)&&(f[c]=a[c])):(c.value=[o],e.k&&(a[e.k]=c.value))}else y?(a[c]=i,m(c)&&(f[c]=i)):w&&(c.value=i,e.k&&(a[e.k]=i))};i?(E.id=-1,Fe(E,n)):E()}}}const En=e=>!!e.type.__asyncLoader,Cs=e=>e.type.__isKeepAlive;function Ga(e,t){El(e,"a",t)}function Ja(e,t){El(e,"da",t)}function El(e,t,n=be){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(As(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Cs(r.parent.vnode)&&Xa(s,t,n,r),r=r.parent}}function Xa(e,t,n,s){const r=As(t,e,s,!0);Jr(()=>{Nr(s[t],r)},n)}function As(e,t,n=be,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Pt();const l=Wn(n),c=Je(t,n,e,i);return l(),It(),c});return s?r.unshift(o):r.push(o),o}}const pt=e=>(t,n=be)=>{(!Is||e==="sp")&&As(e,(...s)=>t(...s),n)},Qa=pt("bm"),Ts=pt("m"),Ya=pt("bu"),Sl=pt("u"),Rl=pt("bum"),Jr=pt("um"),Za=pt("sp"),eu=pt("rtg"),tu=pt("rtc");function nu(e,t=be){As("ec",e,t)}const xl="components";function Xp(e,t){return Tl(xl,e,!0,t)||e}const Cl=Symbol.for("v-ndc");function Al(e){return he(e)?Tl(xl,e,!1)||e:e||Cl}function Tl(e,t,n=!0,s=!1){const r=xe||be;if(r){const o=r.type;{const l=zu(o,!1);if(l&&(l===t||l===Ge(t)||l===vs(Ge(t))))return o}const i=Eo(r[e]||o[e],t)||Eo(r.appContext[e],t);return!i&&s?o:i}}function Eo(e,t){return e&&(e[t]||e[Ge(t)]||e[vs(Ge(t))])}function su(e,t,n,s){let r;const o=n,i=$(e);if(i||he(e)){const l=i&&dt(e);let c=!1;l&&(c=!qe(e),e=Es(e)),r=new Array(e.length);for(let u=0,a=e.length;ut(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,u=l.length;ce?Gl(e)?Ls(e):dr(e.parent):null,Sn=me(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>dr(e.parent),$root:e=>dr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Xr(e),$forceUpdate:e=>e.f||(e.f=()=>{zr(e.update)}),$nextTick:e=>e.n||(e.n=xs.bind(e.proxy)),$watch:e=>Cu.bind(e)}),zs=(e,t)=>e!==ae&&!e.__isScriptSetup&&ne(e,t),ru={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(zs(s,t))return i[t]=1,s[t];if(r!==ae&&ne(r,t))return i[t]=2,r[t];if((u=e.propsOptions[0])&&ne(u,t))return i[t]=3,o[t];if(n!==ae&&ne(n,t))return i[t]=4,n[t];hr&&(i[t]=0)}}const a=Sn[t];let f,p;if(a)return t==="$attrs"&&we(e.attrs,"get",""),a(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ae&&ne(n,t))return i[t]=4,n[t];if(p=c.config.globalProperties,ne(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return zs(r,t)?(r[t]=n,!0):s!==ae&&ne(s,t)?(s[t]=n,!0):ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==ae&&ne(e,i)||zs(t,i)||(l=o[0])&&ne(l,i)||ne(s,i)||ne(Sn,i)||ne(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function So(e){return $(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let hr=!0;function ou(e){const t=Xr(e),n=e.proxy,s=e.ctx;hr=!1,t.beforeCreate&&Ro(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:u,created:a,beforeMount:f,mounted:p,beforeUpdate:m,updated:y,activated:w,deactivated:E,beforeDestroy:T,beforeUnmount:C,destroyed:P,unmounted:I,render:j,renderTracked:X,renderTriggered:z,errorCaptured:V,serverPrefetch:N,expose:W,inheritAttrs:ee,components:D,directives:Y,filters:pe}=t;if(u&&iu(u,s,null),i)for(const J in i){const te=i[J];K(te)&&(s[J]=te.bind(n))}if(r){const J=r.call(n,n);ie(J)&&(e.data=Vn(J))}if(hr=!0,o)for(const J in o){const te=o[J],ot=K(te)?te.bind(n,n):K(te.get)?te.get.bind(n,n):st,mt=!K(te)&&K(te.set)?te.set.bind(n):st,Ye=Ve({get:ot,set:mt});Object.defineProperty(s,J,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:Ce=>Ye.value=Ce})}if(l)for(const J in l)Ol(l[J],s,n,J);if(c){const J=K(c)?c.call(n):c;Reflect.ownKeys(J).forEach(te=>{Ht(te,J[te])})}a&&Ro(a,e,"c");function le(J,te){$(te)?te.forEach(ot=>J(ot.bind(n))):te&&J(te.bind(n))}if(le(Qa,f),le(Ts,p),le(Ya,m),le(Sl,y),le(Ga,w),le(Ja,E),le(nu,V),le(tu,X),le(eu,z),le(Rl,C),le(Jr,I),le(Za,N),$(W))if(W.length){const J=e.exposed||(e.exposed={});W.forEach(te=>{Object.defineProperty(J,te,{get:()=>n[te],set:ot=>n[te]=ot})})}else e.exposed||(e.exposed={});j&&e.render===st&&(e.render=j),ee!=null&&(e.inheritAttrs=ee),D&&(e.components=D),Y&&(e.directives=Y),N&&wl(e)}function iu(e,t,n=st){$(e)&&(e=pr(e));for(const s in e){const r=e[s];let o;ie(r)?"default"in r?o=Oe(r.from||s,r.default,!0):o=Oe(r.from||s):o=Oe(r),de(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function Ro(e,t,n){Je($(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ol(e,t,n,s){let r=s.includes(".")?Ul(n,s):()=>n[s];if(he(e)){const o=t[e];K(o)&&Rn(r,o)}else if(K(e))Rn(r,e.bind(n));else if(ie(e))if($(e))e.forEach(o=>Ol(o,t,n,s));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&Rn(r,o,e)}}function Xr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>hs(c,u,i,!0)),hs(c,t,i)),ie(t)&&o.set(t,c),c}function hs(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&hs(e,o,n,!0),r&&r.forEach(i=>hs(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=lu[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const lu={data:xo,props:Co,emits:Co,methods:_n,computed:_n,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:_n,directives:_n,watch:au,provide:xo,inject:cu};function xo(e,t){return t?e?function(){return me(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function cu(e,t){return _n(pr(e),pr(t))}function pr(e){if($(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(s&&s.proxy):t}}function du(){return!!(be||xe||Bt)}const Il={},Ll=()=>Object.create(Il),Nl=e=>Object.getPrototypeOf(e)===Il;function hu(e,t,n,s=!1){const r={},o=Ll();e.propsDefaults=Object.create(null),Ml(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:ol(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function pu(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=Q(r),[c]=e.propsOptions;let u=!1;if((s||i>0)&&!(i&16)){if(i&8){const a=e.vnode.dynamicProps;for(let f=0;f{c=!0;const[p,m]=kl(f,t,!0);me(i,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!o&&!c)return ie(e)&&s.set(e,Zt),Zt;if($(o))for(let a=0;ae[0]==="_"||e==="$stable",Qr=e=>$(e)?e.map(nt):[nt(e)],gu=(e,t,n)=>{if(t._n)return t;const s=ds((...r)=>Qr(t(...r)),n);return s._c=!1,s},Dl=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Fl(r))continue;const o=e[r];if(K(o))t[r]=gu(r,o,s);else if(o!=null){const i=Qr(o);t[r]=()=>i}}},jl=(e,t)=>{const n=Qr(t);e.slots.default=()=>n},Bl=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},yu=(e,t,n)=>{const s=e.slots=Ll();if(e.vnode.shapeFlag&32){const r=t._;r?(Bl(s,t,n),n&&Di(s,"_",r,!0)):Dl(t,s)}else t&&jl(e,t)},bu=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ae;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Bl(r,t,n):(o=!t.$stable,Dl(t,r)),i=t}else t&&(jl(e,t),i={default:1});if(o)for(const l in r)!Fl(l)&&i[l]==null&&delete r[l]},Fe=Nu;function _u(e){return vu(e)}function vu(e,t){const n=ji();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:u,setElementText:a,parentNode:f,nextSibling:p,setScopeId:m=st,insertStaticContent:y}=e,w=(d,h,g,S=null,_=null,R=null,L=void 0,O=null,A=!!h.dynamicChildren)=>{if(d===h)return;d&&!Ft(d,h)&&(S=v(d),Ce(d,_,R,!0),d=null),h.patchFlag===-2&&(A=!1,h.dynamicChildren=null);const{type:x,ref:U,shapeFlag:k}=h;switch(x){case Ps:E(d,h,g,S);break;case Ae:T(d,h,g,S);break;case Xs:d==null&&C(h,g,S,L);break;case Ue:D(d,h,g,S,_,R,L,O,A);break;default:k&1?j(d,h,g,S,_,R,L,O,A):k&6?Y(d,h,g,S,_,R,L,O,A):(k&64||k&128)&&x.process(d,h,g,S,_,R,L,O,A,B)}U!=null&&_&&fr(U,d&&d.ref,R,h||d,!h)},E=(d,h,g,S)=>{if(d==null)s(h.el=l(h.children),g,S);else{const _=h.el=d.el;h.children!==d.children&&u(_,h.children)}},T=(d,h,g,S)=>{d==null?s(h.el=c(h.children||""),g,S):h.el=d.el},C=(d,h,g,S)=>{[d.el,d.anchor]=y(d.children,h,g,S,d.el,d.anchor)},P=({el:d,anchor:h},g,S)=>{let _;for(;d&&d!==h;)_=p(d),s(d,g,S),d=_;s(h,g,S)},I=({el:d,anchor:h})=>{let g;for(;d&&d!==h;)g=p(d),r(d),d=g;r(h)},j=(d,h,g,S,_,R,L,O,A)=>{h.type==="svg"?L="svg":h.type==="math"&&(L="mathml"),d==null?X(h,g,S,_,R,L,O,A):N(d,h,_,R,L,O,A)},X=(d,h,g,S,_,R,L,O)=>{let A,x;const{props:U,shapeFlag:k,transition:H,dirs:q}=d;if(A=d.el=i(d.type,R,U&&U.is,U),k&8?a(A,d.children):k&16&&V(d.children,A,null,S,_,Gs(d,R),L,O),q&&Lt(d,null,S,"created"),z(A,d,d.scopeId,L,S),U){for(const ue in U)ue!=="value"&&!vn(ue)&&o(A,ue,null,U[ue],R,S);"value"in U&&o(A,"value",null,U.value,R),(x=U.onVnodeBeforeMount)&&et(x,S,d)}q&&Lt(d,null,S,"beforeMount");const Z=wu(_,H);Z&&H.beforeEnter(A),s(A,h,g),((x=U&&U.onVnodeMounted)||Z||q)&&Fe(()=>{x&&et(x,S,d),Z&&H.enter(A),q&&Lt(d,null,S,"mounted")},_)},z=(d,h,g,S,_)=>{if(g&&m(d,g),S)for(let R=0;R{for(let x=A;x{const O=h.el=d.el;let{patchFlag:A,dynamicChildren:x,dirs:U}=h;A|=d.patchFlag&16;const k=d.props||ae,H=h.props||ae;let q;if(g&&Nt(g,!1),(q=H.onVnodeBeforeUpdate)&&et(q,g,h,d),U&&Lt(h,d,g,"beforeUpdate"),g&&Nt(g,!0),(k.innerHTML&&H.innerHTML==null||k.textContent&&H.textContent==null)&&a(O,""),x?W(d.dynamicChildren,x,O,g,S,Gs(h,_),R):L||te(d,h,O,null,g,S,Gs(h,_),R,!1),A>0){if(A&16)ee(O,k,H,g,_);else if(A&2&&k.class!==H.class&&o(O,"class",null,H.class,_),A&4&&o(O,"style",k.style,H.style,_),A&8){const Z=h.dynamicProps;for(let ue=0;ue{q&&et(q,g,h,d),U&&Lt(h,d,g,"updated")},S)},W=(d,h,g,S,_,R,L)=>{for(let O=0;O{if(h!==g){if(h!==ae)for(const R in h)!vn(R)&&!(R in g)&&o(d,R,h[R],null,_,S);for(const R in g){if(vn(R))continue;const L=g[R],O=h[R];L!==O&&R!=="value"&&o(d,R,O,L,_,S)}"value"in g&&o(d,"value",h.value,g.value,_)}},D=(d,h,g,S,_,R,L,O,A)=>{const x=h.el=d?d.el:l(""),U=h.anchor=d?d.anchor:l("");let{patchFlag:k,dynamicChildren:H,slotScopeIds:q}=h;q&&(O=O?O.concat(q):q),d==null?(s(x,g,S),s(U,g,S),V(h.children||[],g,U,_,R,L,O,A)):k>0&&k&64&&H&&d.dynamicChildren?(W(d.dynamicChildren,H,g,_,R,L,O),(h.key!=null||_&&h===_.subTree)&&Hl(d,h,!0)):te(d,h,g,U,_,R,L,O,A)},Y=(d,h,g,S,_,R,L,O,A)=>{h.slotScopeIds=O,d==null?h.shapeFlag&512?_.ctx.activate(h,g,S,L,A):pe(h,g,S,_,R,L,A):Le(d,h,A)},pe=(d,h,g,S,_,R,L)=>{const O=d.component=Uu(d,S,_);if(Cs(d)&&(O.ctx.renderer=B),Vu(O,!1,L),O.asyncDep){if(_&&_.registerDep(O,le,L),!d.el){const A=O.subTree=ye(Ae);T(null,A,h,g)}}else le(O,d,h,g,_,R,L)},Le=(d,h,g)=>{const S=h.component=d.component;if(Iu(d,h,g))if(S.asyncDep&&!S.asyncResolved){J(S,h,g);return}else S.next=h,S.update();else h.el=d.el,S.vnode=h},le=(d,h,g,S,_,R,L)=>{const O=()=>{if(d.isMounted){let{next:k,bu:H,u:q,parent:Z,vnode:ue}=d;{const Me=$l(d);if(Me){k&&(k.el=ue.el,J(d,k,L)),Me.asyncDep.then(()=>{d.isUnmounted||O()});return}}let re=k,Ne;Nt(d,!1),k?(k.el=ue.el,J(d,k,L)):k=ue,H&&rs(H),(Ne=k.props&&k.props.onVnodeBeforeUpdate)&&et(Ne,Z,k,ue),Nt(d,!0);const _e=Js(d),Ke=d.subTree;d.subTree=_e,w(Ke,_e,f(Ke.el),v(Ke),d,_,R),k.el=_e.el,re===null&&Lu(d,_e.el),q&&Fe(q,_),(Ne=k.props&&k.props.onVnodeUpdated)&&Fe(()=>et(Ne,Z,k,ue),_)}else{let k;const{el:H,props:q}=h,{bm:Z,m:ue,parent:re,root:Ne,type:_e}=d,Ke=En(h);if(Nt(d,!1),Z&&rs(Z),!Ke&&(k=q&&q.onVnodeBeforeMount)&&et(k,re,h),Nt(d,!0),H&&fe){const Me=()=>{d.subTree=Js(d),fe(H,d.subTree,d,_,null)};Ke&&_e.__asyncHydrate?_e.__asyncHydrate(H,d,Me):Me()}else{Ne.ce&&Ne.ce._injectChildStyle(_e);const Me=d.subTree=Js(d);w(null,Me,g,S,d,_,R),h.el=Me.el}if(ue&&Fe(ue,_),!Ke&&(k=q&&q.onVnodeMounted)){const Me=h;Fe(()=>et(k,re,Me),_)}(h.shapeFlag&256||re&&En(re.vnode)&&re.vnode.shapeFlag&256)&&d.a&&Fe(d.a,_),d.isMounted=!0,h=g=S=null}};d.scope.on();const A=d.effect=new Ki(O);d.scope.off();const x=d.update=A.run.bind(A),U=d.job=A.runIfDirty.bind(A);U.i=d,U.id=d.uid,A.scheduler=()=>zr(U),Nt(d,!0),x()},J=(d,h,g)=>{h.component=d;const S=d.vnode.props;d.vnode=h,d.next=null,pu(d,h.props,S,g),bu(d,h.children,g),Pt(),vo(d),It()},te=(d,h,g,S,_,R,L,O,A=!1)=>{const x=d&&d.children,U=d?d.shapeFlag:0,k=h.children,{patchFlag:H,shapeFlag:q}=h;if(H>0){if(H&128){mt(x,k,g,S,_,R,L,O,A);return}else if(H&256){ot(x,k,g,S,_,R,L,O,A);return}}q&8?(U&16&&He(x,_,R),k!==x&&a(g,k)):U&16?q&16?mt(x,k,g,S,_,R,L,O,A):He(x,_,R,!0):(U&8&&a(g,""),q&16&&V(k,g,S,_,R,L,O,A))},ot=(d,h,g,S,_,R,L,O,A)=>{d=d||Zt,h=h||Zt;const x=d.length,U=h.length,k=Math.min(x,U);let H;for(H=0;HU?He(d,_,R,!0,!1,k):V(h,g,S,_,R,L,O,A,k)},mt=(d,h,g,S,_,R,L,O,A)=>{let x=0;const U=h.length;let k=d.length-1,H=U-1;for(;x<=k&&x<=H;){const q=d[x],Z=h[x]=A?xt(h[x]):nt(h[x]);if(Ft(q,Z))w(q,Z,g,null,_,R,L,O,A);else break;x++}for(;x<=k&&x<=H;){const q=d[k],Z=h[H]=A?xt(h[H]):nt(h[H]);if(Ft(q,Z))w(q,Z,g,null,_,R,L,O,A);else break;k--,H--}if(x>k){if(x<=H){const q=H+1,Z=qH)for(;x<=k;)Ce(d[x],_,R,!0),x++;else{const q=x,Z=x,ue=new Map;for(x=Z;x<=H;x++){const ke=h[x]=A?xt(h[x]):nt(h[x]);ke.key!=null&&ue.set(ke.key,x)}let re,Ne=0;const _e=H-Z+1;let Ke=!1,Me=0;const pn=new Array(_e);for(x=0;x<_e;x++)pn[x]=0;for(x=q;x<=k;x++){const ke=d[x];if(Ne>=_e){Ce(ke,_,R,!0);continue}let Ze;if(ke.key!=null)Ze=ue.get(ke.key);else for(re=Z;re<=H;re++)if(pn[re-Z]===0&&Ft(ke,h[re])){Ze=re;break}Ze===void 0?Ce(ke,_,R,!0):(pn[Ze-Z]=x+1,Ze>=Me?Me=Ze:Ke=!0,w(ke,h[Ze],g,null,_,R,L,O,A),Ne++)}const ao=Ke?Eu(pn):Zt;for(re=ao.length-1,x=_e-1;x>=0;x--){const ke=Z+x,Ze=h[ke],uo=ke+1{const{el:R,type:L,transition:O,children:A,shapeFlag:x}=d;if(x&6){Ye(d.component.subTree,h,g,S);return}if(x&128){d.suspense.move(h,g,S);return}if(x&64){L.move(d,h,g,B);return}if(L===Ue){s(R,h,g);for(let k=0;kO.enter(R),_);else{const{leave:k,delayLeave:H,afterLeave:q}=O,Z=()=>s(R,h,g),ue=()=>{k(R,()=>{Z(),q&&q()})};H?H(R,Z,ue):ue()}else s(R,h,g)},Ce=(d,h,g,S=!1,_=!1)=>{const{type:R,props:L,ref:O,children:A,dynamicChildren:x,shapeFlag:U,patchFlag:k,dirs:H,cacheIndex:q}=d;if(k===-2&&(_=!1),O!=null&&fr(O,null,g,d,!0),q!=null&&(h.renderCache[q]=void 0),U&256){h.ctx.deactivate(d);return}const Z=U&1&&H,ue=!En(d);let re;if(ue&&(re=L&&L.onVnodeBeforeUnmount)&&et(re,h,d),U&6)Jn(d.component,g,S);else{if(U&128){d.suspense.unmount(g,S);return}Z&&Lt(d,null,h,"beforeUnmount"),U&64?d.type.remove(d,h,g,B,S):x&&!x.hasOnce&&(R!==Ue||k>0&&k&64)?He(x,h,g,!1,!0):(R===Ue&&k&384||!_&&U&16)&&He(A,h,g),S&&zt(d)}(ue&&(re=L&&L.onVnodeUnmounted)||Z)&&Fe(()=>{re&&et(re,h,d),Z&&Lt(d,null,h,"unmounted")},g)},zt=d=>{const{type:h,el:g,anchor:S,transition:_}=d;if(h===Ue){Gt(g,S);return}if(h===Xs){I(d);return}const R=()=>{r(g),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(d.shapeFlag&1&&_&&!_.persisted){const{leave:L,delayLeave:O}=_,A=()=>L(g,R);O?O(d.el,R,A):A()}else R()},Gt=(d,h)=>{let g;for(;d!==h;)g=p(d),r(d),d=g;r(h)},Jn=(d,h,g)=>{const{bum:S,scope:_,job:R,subTree:L,um:O,m:A,a:x}=d;To(A),To(x),S&&rs(S),_.stop(),R&&(R.flags|=8,Ce(L,d,h,g)),O&&Fe(O,h),Fe(()=>{d.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},He=(d,h,g,S=!1,_=!1,R=0)=>{for(let L=R;L{if(d.shapeFlag&6)return v(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),g=h&&h[Ka];return g?p(g):h};let F=!1;const M=(d,h,g)=>{d==null?h._vnode&&Ce(h._vnode,null,null,!0):w(h._vnode||null,d,h,null,null,null,g),h._vnode=d,F||(F=!0,vo(),dl(),F=!1)},B={p:w,um:Ce,m:Ye,r:zt,mt:pe,mc:V,pc:te,pbc:W,n:v,o:e};let se,fe;return{render:M,hydrate:se,createApp:fu(M,se)}}function Gs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Nt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function wu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Hl(e,t,n=!1){const s=e.children,r=t.children;if($(s)&&$(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function $l(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:$l(t)}function To(e){if(e)for(let t=0;tOe(Su);function xu(e,t){return Yr(e,null,t)}function Rn(e,t,n){return Yr(e,t,n)}function Yr(e,t,n=ae){const{immediate:s,deep:r,flush:o,once:i}=n,l=me({},n);let c;if(Is)if(o==="sync"){const p=Ru();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!t||s)l.once=!0;else{const p=()=>{};return p.stop=st,p.resume=st,p.pause=st,p}const u=be;l.call=(p,m,y)=>Je(p,u,m,y);let a=!1;o==="post"?l.scheduler=p=>{Fe(p,u&&u.suspense)}:o!=="sync"&&(a=!0,l.scheduler=(p,m)=>{m?p():zr(p)}),l.augmentJob=p=>{t&&(p.flags|=4),a&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const f=$a(e,t,l);return c&&c.push(f),f}function Cu(e,t,n){const s=this.proxy,r=he(e)?e.includes(".")?Ul(s,e):()=>s[e]:e.bind(s,s);let o;K(t)?o=t:(o=t.handler,n=t);const i=Wn(this),l=Yr(r,o.bind(s),n);return i(),l}function Ul(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ge(t)}Modifiers`]||e[`${Kt(t)}Modifiers`];function Tu(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ae;let r=n;const o=t.startsWith("update:"),i=o&&Au(s,t.slice(7));i&&(i.trim&&(r=n.map(a=>he(a)?a.trim():a)),i.number&&(r=n.map(as)));let l,c=s[l=$s(t)]||s[l=$s(Ge(t))];!c&&o&&(c=s[l=$s(Kt(t))]),c&&Je(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Je(u,e,6,r)}}function Vl(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!K(e)){const c=u=>{const a=Vl(u,t,!0);a&&(l=!0,me(i,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(ie(e)&&s.set(e,null),null):($(o)?o.forEach(c=>i[c]=null):me(i,o),ie(e)&&s.set(e,i),i)}function Os(e,t){return!e||!bs(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,Kt(t))||ne(e,t))}function Js(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:u,renderCache:a,props:f,data:p,setupState:m,ctx:y,inheritAttrs:w}=e,E=fs(e);let T,C;try{if(n.shapeFlag&4){const I=r||s,j=I;T=nt(u.call(j,I,a,f,m,p,y)),C=l}else{const I=t;T=nt(I.length>1?I(f,{attrs:l,slots:i,emit:c}):I(f,null)),C=t.props?l:Ou(l)}}catch(I){xn.length=0,Rs(I,e,1),T=ye(Ae)}let P=T;if(C&&w!==!1){const I=Object.keys(C),{shapeFlag:j}=P;I.length&&j&7&&(o&&I.some(Lr)&&(C=Pu(C,o)),P=Ot(P,C,!1,!0))}return n.dirs&&(P=Ot(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(n.dirs):n.dirs),n.transition&&Vt(P,n.transition),T=P,fs(E),T}const Ou=e=>{let t;for(const n in e)(n==="class"||n==="style"||bs(n))&&((t||(t={}))[n]=e[n]);return t},Pu=(e,t)=>{const n={};for(const s in e)(!Lr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Iu(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Oo(s,i,u):!!i;if(c&8){const a=t.dynamicProps;for(let f=0;fe.__isSuspense;function Nu(e,t){t&&t.pendingBranch?$(e)?t.effects.push(...e):t.effects.push(e):qa(e)}const Ue=Symbol.for("v-fgt"),Ps=Symbol.for("v-txt"),Ae=Symbol.for("v-cmt"),Xs=Symbol.for("v-stc"),xn=[];let je=null;function We(e=!1){xn.push(je=e?null:[])}function Mu(){xn.pop(),je=xn[xn.length-1]||null}let kn=1;function Po(e){kn+=e,e<0&&je&&(je.hasOnce=!0)}function Kl(e){return e.dynamicChildren=kn>0?je||Zt:null,Mu(),kn>0&&je&&je.push(e),e}function Fn(e,t,n,s,r,o){return Kl(De(e,t,n,s,r,o,!0))}function sn(e,t,n,s,r){return Kl(ye(e,t,n,s,r,!0))}function gr(e){return e?e.__v_isVNode===!0:!1}function Ft(e,t){return e.type===t.type&&e.key===t.key}const Wl=({key:e})=>e??null,os=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?he(e)||de(e)||K(e)?{i:xe,r:e,k:t,f:!!n}:e:null);function De(e,t=null,n=null,s=0,r=null,o=e===Ue?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wl(t),ref:t&&os(t),scopeId:pl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:xe};return l?(Zr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=he(n)?8:16),kn>0&&!i&&je&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&je.push(c),c}const ye=ku;function ku(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Cl)&&(e=Ae),gr(e)){const l=Ot(e,t,!0);return n&&Zr(l,n),kn>0&&!o&&je&&(l.shapeFlag&6?je[je.indexOf(e)]=l:je.push(l)),l.patchFlag=-2,l}if(Gu(e)&&(e=e.__vccOpts),t){t=Fu(t);let{class:l,style:c}=t;l&&!he(l)&&(t.class=fn(l)),ie(c)&&(Vr(c)&&!$(c)&&(c=me({},c)),t.style=ws(c))}const i=he(e)?1:ql(e)?128:ml(e)?64:ie(e)?4:K(e)?2:0;return De(e,t,n,s,r,i,o,!0)}function Fu(e){return e?Vr(e)||Nl(e)?me({},e):e:null}function Ot(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,u=t?Bu(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Wl(u),ref:t&&t.ref?n&&o?$(o)?o.concat(os(t)):[o,os(t)]:os(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ue?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ot(e.ssContent),ssFallback:e.ssFallback&&Ot(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Vt(a,c.clone(a)),a}function Du(e=" ",t=0){return ye(Ps,null,e,t)}function ju(e="",t=!1){return t?(We(),sn(Ae,null,e)):ye(Ae,null,e)}function nt(e){return e==null||typeof e=="boolean"?ye(Ae):$(e)?ye(Ue,null,e.slice()):typeof e=="object"?xt(e):ye(Ps,null,String(e))}function xt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ot(e)}function Zr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if($(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Zr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Nl(t)?t._ctx=xe:r===3&&xe&&(xe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:xe},n=32):(t=String(t),s&64?(n=16,t=[Du(t)]):n=8);e.children=t,e.shapeFlag|=n}function Bu(...e){const t={};for(let n=0;nbe||xe;let ps,yr;{const e=ji(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};ps=t("__VUE_INSTANCE_SETTERS__",n=>be=n),yr=t("__VUE_SSR_SETTERS__",n=>Is=n)}const Wn=e=>{const t=be;return ps(e),e.scope.on(),()=>{e.scope.off(),ps(t)}},Io=()=>{be&&be.scope.off(),ps(null)};function Gl(e){return e.vnode.shapeFlag&4}let Is=!1;function Vu(e,t=!1,n=!1){t&&yr(t);const{props:s,children:r}=e.vnode,o=Gl(e);hu(e,s,o,t),yu(e,r,n);const i=o?qu(e,t):void 0;return t&&yr(!1),i}function qu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ru);const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Wu(e):null,o=Wn(e);Pt();const i=qn(s,e,0,[e.props,r]);if(It(),o(),Mi(i)){if(En(e)||wl(e),i.then(Io,Io),t)return i.then(l=>{Lo(e,l,t)}).catch(l=>{Rs(l,e,0)});e.asyncDep=i}else Lo(e,i,t)}else Jl(e,t)}function Lo(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ie(t)&&(e.setupState=cl(t)),Jl(e,n)}let No;function Jl(e,t,n){const s=e.type;if(!e.render){if(!t&&No&&!s.render){const r=s.template||Xr(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,u=me(me({isCustomElement:o,delimiters:l},i),c);s.render=No(r,u)}}e.render=s.render||st}{const r=Wn(e);Pt();try{ou(e)}finally{It(),r()}}}const Ku={get(e,t){return we(e,"get",""),e[t]}};function Wu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ku),slots:e.slots,emit:e.emit,expose:t}}function Ls(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(cl(qr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Sn)return Sn[n](e)},has(t,n){return n in t||n in Sn}})):e.proxy}function zu(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function Gu(e){return K(e)&&"__vccOpts"in e}const Ve=(e,t)=>Ba(e,t,Is);function rn(e,t,n){const s=arguments.length;return s===2?ie(t)&&!$(t)?gr(t)?ye(e,null,[t]):ye(e,t):ye(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&gr(n)&&(n=[n]),ye(e,t,n))}const Ju="3.5.8";/** -* @vue/runtime-dom v3.5.8 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let br;const Mo=typeof window<"u"&&window.trustedTypes;if(Mo)try{br=Mo.createPolicy("vue",{createHTML:e=>e})}catch{}const Xl=br?e=>br.createHTML(e):e=>e,Xu="http://www.w3.org/2000/svg",Qu="http://www.w3.org/1998/Math/MathML",at=typeof document<"u"?document:null,ko=at&&at.createElement("template"),Yu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?at.createElementNS(Xu,e):t==="mathml"?at.createElementNS(Qu,e):n?at.createElement(e,{is:n}):at.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>at.createTextNode(e),createComment:e=>at.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>at.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{ko.innerHTML=Xl(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=ko.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},yt="transition",gn="animation",on=Symbol("_vtc"),Ql={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Yl=me({},yl,Ql),Zu=e=>(e.displayName="Transition",e.props=Yl,e),ef=Zu((e,{slots:t})=>rn(za,Zl(e),t)),Mt=(e,t=[])=>{$(e)?e.forEach(n=>n(...t)):e&&e(...t)},Fo=e=>e?$(e)?e.some(t=>t.length>1):e.length>1:!1;function Zl(e){const t={};for(const D in e)D in Ql||(t[D]=e[D]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:u=i,appearToClass:a=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,y=tf(r),w=y&&y[0],E=y&&y[1],{onBeforeEnter:T,onEnter:C,onEnterCancelled:P,onLeave:I,onLeaveCancelled:j,onBeforeAppear:X=T,onAppear:z=C,onAppearCancelled:V=P}=t,N=(D,Y,pe)=>{vt(D,Y?a:l),vt(D,Y?u:i),pe&&pe()},W=(D,Y)=>{D._isLeaving=!1,vt(D,f),vt(D,m),vt(D,p),Y&&Y()},ee=D=>(Y,pe)=>{const Le=D?z:C,le=()=>N(Y,D,pe);Mt(Le,[Y,le]),Do(()=>{vt(Y,D?c:o),ct(Y,D?a:l),Fo(Le)||jo(Y,s,w,le)})};return me(t,{onBeforeEnter(D){Mt(T,[D]),ct(D,o),ct(D,i)},onBeforeAppear(D){Mt(X,[D]),ct(D,c),ct(D,u)},onEnter:ee(!1),onAppear:ee(!0),onLeave(D,Y){D._isLeaving=!0;const pe=()=>W(D,Y);ct(D,f),ct(D,p),tc(),Do(()=>{D._isLeaving&&(vt(D,f),ct(D,m),Fo(I)||jo(D,s,E,pe))}),Mt(I,[D,pe])},onEnterCancelled(D){N(D,!1),Mt(P,[D])},onAppearCancelled(D){N(D,!0),Mt(V,[D])},onLeaveCancelled(D){W(D),Mt(j,[D])}})}function tf(e){if(e==null)return null;if(ie(e))return[Qs(e.enter),Qs(e.leave)];{const t=Qs(e);return[t,t]}}function Qs(e){return Zc(e)}function ct(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[on]||(e[on]=new Set)).add(t)}function vt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[on];n&&(n.delete(t),n.size||(e[on]=void 0))}function Do(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let nf=0;function jo(e,t,n,s){const r=e._endId=++nf,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=ec(e,t);if(!i)return s();const u=i+"end";let a=0;const f=()=>{e.removeEventListener(u,p),o()},p=m=>{m.target===e&&++a>=c&&f()};setTimeout(()=>{a(n[y]||"").split(", "),r=s(`${yt}Delay`),o=s(`${yt}Duration`),i=Bo(r,o),l=s(`${gn}Delay`),c=s(`${gn}Duration`),u=Bo(l,c);let a=null,f=0,p=0;t===yt?i>0&&(a=yt,f=i,p=o.length):t===gn?u>0&&(a=gn,f=u,p=c.length):(f=Math.max(i,u),a=f>0?i>u?yt:gn:null,p=a?a===yt?o.length:c.length:0);const m=a===yt&&/\b(transform|all)(,|$)/.test(s(`${yt}Property`).toString());return{type:a,timeout:f,propCount:p,hasTransform:m}}function Bo(e,t){for(;e.lengthHo(n)+Ho(e[s])))}function Ho(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function tc(){return document.body.offsetHeight}function sf(e,t,n){const s=e[on];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const $o=Symbol("_vod"),rf=Symbol("_vsh"),of=Symbol(""),lf=/(^|;)\s*display\s*:/;function cf(e,t,n){const s=e.style,r=he(n);let o=!1;if(n&&!r){if(t)if(he(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&is(s,l,"")}else for(const i in t)n[i]==null&&is(s,i,"");for(const i in n)i==="display"&&(o=!0),is(s,i,n[i])}else if(r){if(t!==n){const i=s[of];i&&(n+=";"+i),s.cssText=n,o=lf.test(n)}}else t&&e.removeAttribute("style");$o in e&&(e[$o]=o?s.display:"",e[rf]&&(s.display="none"))}const Uo=/\s*!important$/;function is(e,t,n){if($(n))n.forEach(s=>is(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=af(e,t);Uo.test(n)?e.setProperty(Kt(s),n.replace(Uo,""),"important"):e[s]=n}}const Vo=["Webkit","Moz","ms"],Ys={};function af(e,t){const n=Ys[t];if(n)return n;let s=Ge(t);if(s!=="filter"&&s in e)return Ys[t]=s;s=vs(s);for(let r=0;rZs||(pf.then(()=>Zs=0),Zs=Date.now());function gf(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Je(yf(s,n.value),t,5,[s])};return n.value=e,n.attached=mf(),n}function yf(e,t){if($(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Go=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,bf=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?sf(e,s,i):t==="style"?cf(e,n,s):bs(t)?Lr(t)||df(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):_f(e,t,s,i))?(uf(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ko(e,t,s,i,o,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Ko(e,t,s,i))};function _f(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Go(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Go(t)&&he(n)?!1:!!(t in e||e._isVueCE&&(/[A-Z]/.test(t)||!he(n)))}const nc=new WeakMap,sc=new WeakMap,ms=Symbol("_moveCb"),Jo=Symbol("_enterCb"),vf=e=>(delete e.props.mode,e),wf=vf({name:"TransitionGroup",props:me({},Yl,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=zl(),s=gl();let r,o;return Sl(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Cf(r[0].el,n.vnode.el,i))return;r.forEach(Sf),r.forEach(Rf);const l=r.filter(xf);tc(),l.forEach(c=>{const u=c.el,a=u.style;ct(u,i),a.transform=a.webkitTransform=a.transitionDuration="";const f=u[ms]=p=>{p&&p.target!==u||(!p||/transform$/.test(p.propertyName))&&(u.removeEventListener("transitionend",f),u[ms]=null,vt(u,i))};u.addEventListener("transitionend",f)})}),()=>{const i=Q(e),l=Zl(i);let c=i.tag||Ue;if(r=[],o)for(let u=0;u{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:i}=ec(s);return o.removeChild(s),i}const ln=e=>{const t=e.props["onUpdate:modelValue"]||!1;return $(t)?n=>rs(t,n):t};function Af(e){e.target.composing=!0}function Xo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ht=Symbol("_assign"),Qp={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ht]=ln(r);const o=s||r.props&&r.props.type==="number";At(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=as(l)),e[ht](l)}),n&&At(e,"change",()=>{e.value=e.value.trim()}),t||(At(e,"compositionstart",Af),At(e,"compositionend",Xo),At(e,"change",Xo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[ht]=ln(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?as(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},Yp={deep:!0,created(e,t,n){e[ht]=ln(n),At(e,"change",()=>{const s=e._modelValue,r=Dn(e),o=e.checked,i=e[ht];if($(s)){const l=kr(s,r),c=l!==-1;if(o&&!c)i(s.concat(r));else if(!o&&c){const u=[...s];u.splice(l,1),i(u)}}else if(un(s)){const l=new Set(s);o?l.add(r):l.delete(r),i(l)}else i(rc(e,o))})},mounted:Qo,beforeUpdate(e,t,n){e[ht]=ln(n),Qo(e,t,n)}};function Qo(e,{value:t,oldValue:n},s){e._modelValue=t;let r;$(t)?r=kr(t,s.props.value)>-1:un(t)?r=t.has(s.props.value):r=Un(t,rc(e,!0)),e.checked!==r&&(e.checked=r)}const Zp={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=un(t);At(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?as(Dn(i)):Dn(i));e[ht](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,xs(()=>{e._assigning=!1})}),e[ht]=ln(s)},mounted(e,{value:t,modifiers:{number:n}}){Yo(e,t)},beforeUpdate(e,t,n){e[ht]=ln(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||Yo(e,t)}};function Yo(e,t,n){const s=e.multiple,r=$(t);if(!(s&&!r&&!un(t))){for(let o=0,i=e.options.length;oString(a)===String(c)):l.selected=kr(t,c)>-1}else l.selected=t.has(c);else if(Un(Dn(l),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Dn(e){return"_value"in e?e._value:e.value}function rc(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Tf=["ctrl","shift","alt","meta"],Of={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Tf.some(n=>e[`${n}Key`]&&!t.includes(n))},em=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const t=If().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Mf(s);if(!r)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,Nf(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Nf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Mf(e){return he(e)?document.querySelector(e):e}var kf=!1;/*! - * pinia v2.2.2 - * (c) 2024 Eduardo San Martin Morote - * @license MIT - */let oc;const Ns=e=>oc=e,ic=Symbol();function _r(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Cn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Cn||(Cn={}));function Ff(){const e=Vi(!0),t=e.run(()=>nn({}));let n=[],s=[];const r=qr({install(o){Ns(r),r._a=o,o.provide(ic,r),o.config.globalProperties.$pinia=r,s.forEach(i=>n.push(i)),s=[]},use(o){return!this._a&&!kf?s.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const lc=()=>{};function ei(e,t,n,s=lc){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&qi()&&ca(r),r}function Xt(e,...t){e.slice().forEach(n=>{n(...t)})}const Df=e=>e(),ti=Symbol(),er=Symbol();function vr(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];_r(r)&&_r(s)&&e.hasOwnProperty(n)&&!de(s)&&!dt(s)?e[n]=vr(r,s):e[n]=s}return e}const jf=Symbol();function Bf(e){return!_r(e)||!e.hasOwnProperty(jf)}const{assign:wt}=Object;function Hf(e){return!!(de(e)&&e.effect)}function $f(e,t,n,s){const{state:r,actions:o,getters:i}=t,l=n.state.value[e];let c;function u(){l||(n.state.value[e]=r?r():{});const a=Ma(n.state.value[e]);return wt(a,o,Object.keys(i||{}).reduce((f,p)=>(f[p]=qr(Ve(()=>{Ns(n);const m=n._s.get(e);return i[p].call(m,m)})),f),{}))}return c=cc(e,u,t,n,s,!0),c}function cc(e,t,n={},s,r,o){let i;const l=wt({actions:{}},n),c={deep:!0};let u,a,f=[],p=[],m;const y=s.state.value[e];!o&&!y&&(s.state.value[e]={}),nn({});let w;function E(V){let N;u=a=!1,typeof V=="function"?(V(s.state.value[e]),N={type:Cn.patchFunction,storeId:e,events:m}):(vr(s.state.value[e],V),N={type:Cn.patchObject,payload:V,storeId:e,events:m});const W=w=Symbol();xs().then(()=>{w===W&&(u=!0)}),a=!0,Xt(f,N,s.state.value[e])}const T=o?function(){const{state:N}=n,W=N?N():{};this.$patch(ee=>{wt(ee,W)})}:lc;function C(){i.stop(),f=[],p=[],s._s.delete(e)}const P=(V,N="")=>{if(ti in V)return V[er]=N,V;const W=function(){Ns(s);const ee=Array.from(arguments),D=[],Y=[];function pe(J){D.push(J)}function Le(J){Y.push(J)}Xt(p,{args:ee,name:W[er],store:j,after:pe,onError:Le});let le;try{le=V.apply(this&&this.$id===e?this:j,ee)}catch(J){throw Xt(Y,J),J}return le instanceof Promise?le.then(J=>(Xt(D,J),J)).catch(J=>(Xt(Y,J),Promise.reject(J))):(Xt(D,le),le)};return W[ti]=!0,W[er]=N,W},I={_p:s,$id:e,$onAction:ei.bind(null,p),$patch:E,$reset:T,$subscribe(V,N={}){const W=ei(f,V,N.detached,()=>ee()),ee=i.run(()=>Rn(()=>s.state.value[e],D=>{(N.flush==="sync"?a:u)&&V({storeId:e,type:Cn.direct,events:m},D)},wt({},c,N)));return W},$dispose:C},j=Vn(I);s._s.set(e,j);const z=(s._a&&s._a.runWithContext||Df)(()=>s._e.run(()=>(i=Vi()).run(()=>t({action:P}))));for(const V in z){const N=z[V];if(de(N)&&!Hf(N)||dt(N))o||(y&&Bf(N)&&(de(N)?N.value=y[V]:vr(N,y[V])),s.state.value[e][V]=N);else if(typeof N=="function"){const W=P(N,V);z[V]=W,l.actions[V]=N}}return wt(j,z),wt(Q(j),z),Object.defineProperty(j,"$state",{get:()=>s.state.value[e],set:V=>{E(N=>{wt(N,V)})}}),s._p.forEach(V=>{wt(j,i.run(()=>V({store:j,app:s._a,pinia:s,options:l})))}),y&&o&&n.hydrate&&n.hydrate(j.$state,y),u=!0,a=!0,j}function Uf(e,t,n){let s,r;const o=typeof t=="function";typeof e=="string"?(s=e,r=o?n:t):(r=e,s=e.id);function i(l,c){const u=du();return l=l||(u?Oe(ic,null):null),l&&Ns(l),l=oc,l._s.has(s)||(o?cc(s,t,r,l):$f(s,r,l)),l._s.get(s)}return i.$id=s,i}function Vf(e){{e=Q(e);const t={};for(const n in e){const s=e[n];(de(s)||dt(s))&&(t[n]=Da(e,n))}return t}}/*! - * vue-router v4.4.5 - * (c) 2024 Eduardo San Martin Morote - * @license MIT - */const Yt=typeof document<"u";function ac(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function qf(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ac(e.default)}const oe=Object.assign;function tr(e,t){const n={};for(const s in t){const r=t[s];n[s]=Xe(r)?r.map(e):e(r)}return n}const An=()=>{},Xe=Array.isArray,uc=/#/g,Kf=/&/g,Wf=/\//g,zf=/=/g,Gf=/\?/g,fc=/\+/g,Jf=/%5B/g,Xf=/%5D/g,dc=/%5E/g,Qf=/%60/g,hc=/%7B/g,Yf=/%7C/g,pc=/%7D/g,Zf=/%20/g;function eo(e){return encodeURI(""+e).replace(Yf,"|").replace(Jf,"[").replace(Xf,"]")}function ed(e){return eo(e).replace(hc,"{").replace(pc,"}").replace(dc,"^")}function wr(e){return eo(e).replace(fc,"%2B").replace(Zf,"+").replace(uc,"%23").replace(Kf,"%26").replace(Qf,"`").replace(hc,"{").replace(pc,"}").replace(dc,"^")}function td(e){return wr(e).replace(zf,"%3D")}function nd(e){return eo(e).replace(uc,"%23").replace(Gf,"%3F")}function sd(e){return e==null?"":nd(e).replace(Wf,"%2F")}function jn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const rd=/\/$/,od=e=>e.replace(rd,"");function nr(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=ad(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:jn(i)}}function id(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ni(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ld(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&cn(t.matched[s],n.matched[r])&&mc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function cn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function mc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!cd(e[n],t[n]))return!1;return!0}function cd(e,t){return Xe(e)?si(e,t):Xe(t)?si(t,e):e===t}function si(e,t){return Xe(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function ad(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const bt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Bn;(function(e){e.pop="pop",e.push="push"})(Bn||(Bn={}));var Tn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Tn||(Tn={}));function ud(e){if(!e)if(Yt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),od(e)}const fd=/^[^#]+#/;function dd(e,t){return e.replace(fd,"#")+t}function hd(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Ms=()=>({left:window.scrollX,top:window.scrollY});function pd(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=hd(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ri(e,t){return(history.state?history.state.position-t:-1)+e}const Er=new Map;function md(e,t){Er.set(e,t)}function gd(e){const t=Er.get(e);return Er.delete(e),t}let yd=()=>location.protocol+"//"+location.host;function gc(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),ni(c,"")}return ni(n,e)+s+r}function bd(e,t,n,s){let r=[],o=[],i=null;const l=({state:p})=>{const m=gc(e,location),y=n.value,w=t.value;let E=0;if(p){if(n.value=m,t.value=p,i&&i===y){i=null;return}E=w?p.position-w.position:0}else s(m);r.forEach(T=>{T(n.value,y,{delta:E,type:Bn.pop,direction:E?E>0?Tn.forward:Tn.back:Tn.unknown})})};function c(){i=n.value}function u(p){r.push(p);const m=()=>{const y=r.indexOf(p);y>-1&&r.splice(y,1)};return o.push(m),m}function a(){const{history:p}=window;p.state&&p.replaceState(oe({},p.state,{scroll:Ms()}),"")}function f(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",a)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",a,{passive:!0}),{pauseListeners:c,listen:u,destroy:f}}function oi(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Ms():null}}function _d(e){const{history:t,location:n}=window,s={value:gc(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,u,a){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:yd()+e+c;try{t[a?"replaceState":"pushState"](u,"",p),r.value=u}catch(m){console.error(m),n[a?"replace":"assign"](p)}}function i(c,u){const a=oe({},t.state,oi(r.value.back,c,r.value.forward,!0),u,{position:r.value.position});o(c,a,!0),s.value=c}function l(c,u){const a=oe({},r.value,t.state,{forward:c,scroll:Ms()});o(a.current,a,!0);const f=oe({},oi(s.value,c,null),{position:a.position+1},u);o(c,f,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function vd(e){e=ud(e);const t=_d(e),n=bd(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=oe({location:"",base:e,go:s,createHref:dd.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function wd(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),vd(e)}function Ed(e){return typeof e=="string"||e&&typeof e=="object"}function yc(e){return typeof e=="string"||typeof e=="symbol"}const bc=Symbol("");var ii;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ii||(ii={}));function an(e,t){return oe(new Error,{type:e,[bc]:!0},t)}function lt(e,t){return e instanceof Error&&bc in e&&(t==null||!!(e.type&t))}const li="[^/]+?",Sd={sensitive:!1,strict:!1,start:!0,end:!0},Rd=/[.+*?^${}()[\]/\\]/g;function xd(e,t){const n=oe({},Sd,t),s=[];let r=n.start?"^":"";const o=[];for(const u of e){const a=u.length?[]:[90];n.strict&&!u.length&&(r+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function _c(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Ad={type:0,value:""},Td=/[a-zA-Z0-9_]/;function Od(e){if(!e)return[[]];if(e==="/")return[[Ad]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${u}": ${m}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,u="",a="";function f(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=c}for(;l{i(P)}:An}function i(f){if(yc(f)){const p=s.get(f);p&&(s.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function c(f){const p=Md(f,n);n.splice(p,0,f),f.record.name&&!fi(f)&&s.set(f.record.name,f)}function u(f,p){let m,y={},w,E;if("name"in f&&f.name){if(m=s.get(f.name),!m)throw an(1,{location:f});E=m.record.name,y=oe(ai(p.params,m.keys.filter(P=>!P.optional).concat(m.parent?m.parent.keys.filter(P=>P.optional):[]).map(P=>P.name)),f.params&&ai(f.params,m.keys.map(P=>P.name))),w=m.stringify(y)}else if(f.path!=null)w=f.path,m=n.find(P=>P.re.test(w)),m&&(y=m.parse(w),E=m.record.name);else{if(m=p.name?s.get(p.name):n.find(P=>P.re.test(p.path)),!m)throw an(1,{location:f,currentLocation:p});E=m.record.name,y=oe({},p.params,f.params),w=m.stringify(y)}const T=[];let C=m;for(;C;)T.unshift(C.record),C=C.parent;return{name:E,path:w,params:y,matched:T,meta:Nd(T)}}e.forEach(f=>o(f));function a(){n.length=0,s.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:a,getRoutes:l,getRecordMatcher:r}}function ai(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function ui(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Ld(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Ld(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function fi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Nd(e){return e.reduce((t,n)=>oe(t,n.meta),{})}function di(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Md(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;_c(e,t[o])<0?s=o:n=o+1}const r=kd(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function kd(e){let t=e;for(;t=t.parent;)if(vc(t)&&_c(e,t)===0)return t}function vc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Fd(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&wr(o)):[s&&wr(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Dd(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Xe(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const jd=Symbol(""),pi=Symbol(""),ks=Symbol(""),to=Symbol(""),Sr=Symbol("");function yn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ct(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const u=p=>{p===!1?c(an(4,{from:n,to:t})):p instanceof Error?c(p):Ed(p)?c(an(2,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),l())},a=o(()=>e.call(s&&s.instances[r],t,n,u));let f=Promise.resolve(a);e.length<3&&(f=f.then(u)),f.catch(p=>c(p))})}function sr(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(ac(c)){const a=(c.__vccOpts||c)[t];a&&o.push(Ct(a,n,s,i,l,r))}else{let u=c();o.push(()=>u.then(a=>{if(!a)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=qf(a)?a.default:a;i.mods[l]=a,i.components[l]=f;const m=(f.__vccOpts||f)[t];return m&&Ct(m,n,s,i,l,r)()}))}}return o}function mi(e){const t=Oe(ks),n=Oe(to),s=Ve(()=>{const c=Te(e.to);return t.resolve(c)}),r=Ve(()=>{const{matched:c}=s.value,{length:u}=c,a=c[u-1],f=n.matched;if(!a||!f.length)return-1;const p=f.findIndex(cn.bind(null,a));if(p>-1)return p;const m=gi(c[u-2]);return u>1&&gi(a)===m&&f[f.length-1].path!==m?f.findIndex(cn.bind(null,c[u-2])):p}),o=Ve(()=>r.value>-1&&Ud(n.params,s.value.params)),i=Ve(()=>r.value>-1&&r.value===n.matched.length-1&&mc(n.params,s.value.params));function l(c={}){return $d(c)?t[Te(e.replace)?"replace":"push"](Te(e.to)).catch(An):Promise.resolve()}return{route:s,href:Ve(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const Bd=Kn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:mi,setup(e,{slots:t}){const n=Vn(mi(e)),{options:s}=Oe(ks),r=Ve(()=>({[yi(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[yi(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:rn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Hd=Bd;function $d(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ud(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Xe(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function gi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const yi=(e,t,n)=>e??t??n,Vd=Kn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Oe(Sr),r=Ve(()=>e.route||s.value),o=Oe(pi,0),i=Ve(()=>{let u=Te(o);const{matched:a}=r.value;let f;for(;(f=a[u])&&!f.components;)u++;return u}),l=Ve(()=>r.value.matched[i.value]);Ht(pi,Ve(()=>i.value+1)),Ht(jd,l),Ht(Sr,r);const c=nn();return Rn(()=>[c.value,l.value,e.name],([u,a,f],[p,m,y])=>{a&&(a.instances[f]=u,m&&m!==a&&u&&u===p&&(a.leaveGuards.size||(a.leaveGuards=m.leaveGuards),a.updateGuards.size||(a.updateGuards=m.updateGuards))),u&&a&&(!m||!cn(a,m)||!p)&&(a.enterCallbacks[f]||[]).forEach(w=>w(u))},{flush:"post"}),()=>{const u=r.value,a=e.name,f=l.value,p=f&&f.components[a];if(!p)return bi(n.default,{Component:p,route:u});const m=f.props[a],y=m?m===!0?u.params:typeof m=="function"?m(u):m:null,E=rn(p,oe({},y,t,{onVnodeUnmounted:T=>{T.component.isUnmounted&&(f.instances[a]=null)},ref:c}));return bi(n.default,{Component:E,route:u})||E}}});function bi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const wc=Vd;function qd(e){const t=Id(e.routes,e),n=e.parseQuery||Fd,s=e.stringifyQuery||hi,r=e.history,o=yn(),i=yn(),l=yn(),c=Ia(bt);let u=bt;Yt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=tr.bind(null,v=>""+v),f=tr.bind(null,sd),p=tr.bind(null,jn);function m(v,F){let M,B;return yc(v)?(M=t.getRecordMatcher(v),B=F):B=v,t.addRoute(B,M)}function y(v){const F=t.getRecordMatcher(v);F&&t.removeRoute(F)}function w(){return t.getRoutes().map(v=>v.record)}function E(v){return!!t.getRecordMatcher(v)}function T(v,F){if(F=oe({},F||c.value),typeof v=="string"){const h=nr(n,v,F.path),g=t.resolve({path:h.path},F),S=r.createHref(h.fullPath);return oe(h,g,{params:p(g.params),hash:jn(h.hash),redirectedFrom:void 0,href:S})}let M;if(v.path!=null)M=oe({},v,{path:nr(n,v.path,F.path).path});else{const h=oe({},v.params);for(const g in h)h[g]==null&&delete h[g];M=oe({},v,{params:f(h)}),F.params=f(F.params)}const B=t.resolve(M,F),se=v.hash||"";B.params=a(p(B.params));const fe=id(s,oe({},v,{hash:ed(se),path:B.path})),d=r.createHref(fe);return oe({fullPath:fe,hash:se,query:s===hi?Dd(v.query):v.query||{}},B,{redirectedFrom:void 0,href:d})}function C(v){return typeof v=="string"?nr(n,v,c.value.path):oe({},v)}function P(v,F){if(u!==v)return an(8,{from:F,to:v})}function I(v){return z(v)}function j(v){return I(oe(C(v),{replace:!0}))}function X(v){const F=v.matched[v.matched.length-1];if(F&&F.redirect){const{redirect:M}=F;let B=typeof M=="function"?M(v):M;return typeof B=="string"&&(B=B.includes("?")||B.includes("#")?B=C(B):{path:B},B.params={}),oe({query:v.query,hash:v.hash,params:B.path!=null?{}:v.params},B)}}function z(v,F){const M=u=T(v),B=c.value,se=v.state,fe=v.force,d=v.replace===!0,h=X(M);if(h)return z(oe(C(h),{state:typeof h=="object"?oe({},se,h.state):se,force:fe,replace:d}),F||M);const g=M;g.redirectedFrom=F;let S;return!fe&&ld(s,B,M)&&(S=an(16,{to:g,from:B}),Ye(B,B,!0,!1)),(S?Promise.resolve(S):W(g,B)).catch(_=>lt(_)?lt(_,2)?_:mt(_):te(_,g,B)).then(_=>{if(_){if(lt(_,2))return z(oe({replace:d},C(_.to),{state:typeof _.to=="object"?oe({},se,_.to.state):se,force:fe}),F||g)}else _=D(g,B,!0,d,se);return ee(g,B,_),_})}function V(v,F){const M=P(v,F);return M?Promise.reject(M):Promise.resolve()}function N(v){const F=Gt.values().next().value;return F&&typeof F.runWithContext=="function"?F.runWithContext(v):v()}function W(v,F){let M;const[B,se,fe]=Kd(v,F);M=sr(B.reverse(),"beforeRouteLeave",v,F);for(const h of B)h.leaveGuards.forEach(g=>{M.push(Ct(g,v,F))});const d=V.bind(null,v,F);return M.push(d),He(M).then(()=>{M=[];for(const h of o.list())M.push(Ct(h,v,F));return M.push(d),He(M)}).then(()=>{M=sr(se,"beforeRouteUpdate",v,F);for(const h of se)h.updateGuards.forEach(g=>{M.push(Ct(g,v,F))});return M.push(d),He(M)}).then(()=>{M=[];for(const h of fe)if(h.beforeEnter)if(Xe(h.beforeEnter))for(const g of h.beforeEnter)M.push(Ct(g,v,F));else M.push(Ct(h.beforeEnter,v,F));return M.push(d),He(M)}).then(()=>(v.matched.forEach(h=>h.enterCallbacks={}),M=sr(fe,"beforeRouteEnter",v,F,N),M.push(d),He(M))).then(()=>{M=[];for(const h of i.list())M.push(Ct(h,v,F));return M.push(d),He(M)}).catch(h=>lt(h,8)?h:Promise.reject(h))}function ee(v,F,M){l.list().forEach(B=>N(()=>B(v,F,M)))}function D(v,F,M,B,se){const fe=P(v,F);if(fe)return fe;const d=F===bt,h=Yt?history.state:{};M&&(B||d?r.replace(v.fullPath,oe({scroll:d&&h&&h.scroll},se)):r.push(v.fullPath,se)),c.value=v,Ye(v,F,M,d),mt()}let Y;function pe(){Y||(Y=r.listen((v,F,M)=>{if(!Jn.listening)return;const B=T(v),se=X(B);if(se){z(oe(se,{replace:!0}),B).catch(An);return}u=B;const fe=c.value;Yt&&md(ri(fe.fullPath,M.delta),Ms()),W(B,fe).catch(d=>lt(d,12)?d:lt(d,2)?(z(d.to,B).then(h=>{lt(h,20)&&!M.delta&&M.type===Bn.pop&&r.go(-1,!1)}).catch(An),Promise.reject()):(M.delta&&r.go(-M.delta,!1),te(d,B,fe))).then(d=>{d=d||D(B,fe,!1),d&&(M.delta&&!lt(d,8)?r.go(-M.delta,!1):M.type===Bn.pop&<(d,20)&&r.go(-1,!1)),ee(B,fe,d)}).catch(An)}))}let Le=yn(),le=yn(),J;function te(v,F,M){mt(v);const B=le.list();return B.length?B.forEach(se=>se(v,F,M)):console.error(v),Promise.reject(v)}function ot(){return J&&c.value!==bt?Promise.resolve():new Promise((v,F)=>{Le.add([v,F])})}function mt(v){return J||(J=!v,pe(),Le.list().forEach(([F,M])=>v?M(v):F()),Le.reset()),v}function Ye(v,F,M,B){const{scrollBehavior:se}=e;if(!Yt||!se)return Promise.resolve();const fe=!M&&gd(ri(v.fullPath,0))||(B||!M)&&history.state&&history.state.scroll||null;return xs().then(()=>se(v,F,fe)).then(d=>d&&pd(d)).catch(d=>te(d,v,F))}const Ce=v=>r.go(v);let zt;const Gt=new Set,Jn={currentRoute:c,listening:!0,addRoute:m,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:w,resolve:T,options:e,push:I,replace:j,go:Ce,back:()=>Ce(-1),forward:()=>Ce(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:le.add,isReady:ot,install(v){const F=this;v.component("RouterLink",Hd),v.component("RouterView",wc),v.config.globalProperties.$router=F,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>Te(c)}),Yt&&!zt&&c.value===bt&&(zt=!0,I(r.location).catch(se=>{}));const M={};for(const se in bt)Object.defineProperty(M,se,{get:()=>c.value[se],enumerable:!0});v.provide(ks,F),v.provide(to,ol(M)),v.provide(Sr,c);const B=v.unmount;Gt.add(v),v.unmount=function(){Gt.delete(v),Gt.size<1&&(u=bt,Y&&Y(),Y=null,c.value=bt,zt=!1,J=!1),B()}}};function He(v){return v.reduce((F,M)=>F.then(()=>N(M)),Promise.resolve())}return Jn}function Kd(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;icn(u,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(u=>cn(u,c))||r.push(c))}return[n,s,r]}function Wd(){return Oe(ks)}function tm(e){return Oe(to)}/** - * @license lucide-vue-next v0.445.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const zd=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/** - * @license lucide-vue-next v0.445.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */var ss={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/** - * @license lucide-vue-next v0.445.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Gd=({size:e,strokeWidth:t=2,absoluteStrokeWidth:n,color:s,iconNode:r,name:o,class:i,...l},{slots:c})=>rn("svg",{...ss,width:e||ss.width,height:e||ss.height,stroke:s||ss.stroke,"stroke-width":n?Number(t)*24/Number(e):t,class:["lucide",`lucide-${zd(o??"icon")}`],...l},[...r.map(u=>rn(...u)),...c.default?[c.default()]:[]]);/** - * @license lucide-vue-next v0.445.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Wt=(e,t)=>(n,{slots:s})=>rn(Gd,{...n,iconNode:t,name:e},s);/** - * @license lucide-vue-next v0.445.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Jd=Wt("CircleAlertIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** - * @license lucide-vue-next v0.445.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Xd=Wt("CircleCheckBigIcon",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** - * @license lucide-vue-next v0.445.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Qd=Wt("InfoIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/** - * @license lucide-vue-next v0.445.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Yd=Wt("MoonIcon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/** - * @license lucide-vue-next v0.445.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Zd=Wt("SunIcon",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** - * @license lucide-vue-next v0.445.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const eh=Wt("TriangleAlertIcon",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/** - * @license lucide-vue-next v0.445.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const th=Wt("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),nh=Kn({__name:"ThemeToggle",setup(e){const t=Oe("isDarkMode"),n=Oe("setColorMode"),s=()=>{n(!t.value)};return(r,o)=>(We(),Fn("button",{onClick:s,class:fn(["fixed top-4 right-4 z-10 p-2 rounded-full transition-all duration-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transform hover:rotate-180",Te(t)?"bg-gray-800 text-yellow-300":"bg-white text-gray-800"])},[Te(t)?(We(),sn(Te(Yd),{key:1,class:"w-6 h-6"})):(We(),sn(Te(Zd),{key:0,class:"w-6 h-6"}))],2))}});function Ec(e,t){return function(){return e.apply(t,arguments)}}const{toString:sh}=Object.prototype,{getPrototypeOf:no}=Object,Fs=(e=>t=>{const n=sh.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Qe=e=>(e=e.toLowerCase(),t=>Fs(t)===e),Ds=e=>t=>typeof t===e,{isArray:dn}=Array,Hn=Ds("undefined");function rh(e){return e!==null&&!Hn(e)&&e.constructor!==null&&!Hn(e.constructor)&&Be(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Sc=Qe("ArrayBuffer");function oh(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Sc(e.buffer),t}const ih=Ds("string"),Be=Ds("function"),Rc=Ds("number"),js=e=>e!==null&&typeof e=="object",lh=e=>e===!0||e===!1,ls=e=>{if(Fs(e)!=="object")return!1;const t=no(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ch=Qe("Date"),ah=Qe("File"),uh=Qe("Blob"),fh=Qe("FileList"),dh=e=>js(e)&&Be(e.pipe),hh=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Be(e.append)&&((t=Fs(e))==="formdata"||t==="object"&&Be(e.toString)&&e.toString()==="[object FormData]"))},ph=Qe("URLSearchParams"),[mh,gh,yh,bh]=["ReadableStream","Request","Response","Headers"].map(Qe),_h=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function zn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),dn(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const Dt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Cc=e=>!Hn(e)&&e!==Dt;function Rr(){const{caseless:e}=Cc(this)&&this||{},t={},n=(s,r)=>{const o=e&&xc(t,r)||r;ls(t[o])&&ls(s)?t[o]=Rr(t[o],s):ls(s)?t[o]=Rr({},s):dn(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s(zn(t,(r,o)=>{n&&Be(r)?e[o]=Ec(r,n):e[o]=r},{allOwnKeys:s}),e),wh=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Eh=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Sh=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&no(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Rh=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},xh=e=>{if(!e)return null;if(dn(e))return e;let t=e.length;if(!Rc(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Ch=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&no(Uint8Array)),Ah=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},Th=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Oh=Qe("HTMLFormElement"),Ph=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),_i=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Ih=Qe("RegExp"),Ac=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};zn(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},Lh=e=>{Ac(e,(t,n)=>{if(Be(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Be(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Nh=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return dn(e)?s(e):s(String(e).split(t)),n},Mh=()=>{},kh=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,rr="abcdefghijklmnopqrstuvwxyz",vi="0123456789",Tc={DIGIT:vi,ALPHA:rr,ALPHA_DIGIT:rr+rr.toUpperCase()+vi},Fh=(e=16,t=Tc.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function Dh(e){return!!(e&&Be(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const jh=e=>{const t=new Array(10),n=(s,r)=>{if(js(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=dn(s)?[]:{};return zn(s,(i,l)=>{const c=n(i,r+1);!Hn(c)&&(o[l]=c)}),t[r]=void 0,o}}return s};return n(e,0)},Bh=Qe("AsyncFunction"),Hh=e=>e&&(js(e)||Be(e))&&Be(e.then)&&Be(e.catch),Oc=((e,t)=>e?setImmediate:t?((n,s)=>(Dt.addEventListener("message",({source:r,data:o})=>{r===Dt&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),Dt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Be(Dt.postMessage)),$h=typeof queueMicrotask<"u"?queueMicrotask.bind(Dt):typeof process<"u"&&process.nextTick||Oc,b={isArray:dn,isArrayBuffer:Sc,isBuffer:rh,isFormData:hh,isArrayBufferView:oh,isString:ih,isNumber:Rc,isBoolean:lh,isObject:js,isPlainObject:ls,isReadableStream:mh,isRequest:gh,isResponse:yh,isHeaders:bh,isUndefined:Hn,isDate:ch,isFile:ah,isBlob:uh,isRegExp:Ih,isFunction:Be,isStream:dh,isURLSearchParams:ph,isTypedArray:Ch,isFileList:fh,forEach:zn,merge:Rr,extend:vh,trim:_h,stripBOM:wh,inherits:Eh,toFlatObject:Sh,kindOf:Fs,kindOfTest:Qe,endsWith:Rh,toArray:xh,forEachEntry:Ah,matchAll:Th,isHTMLForm:Oh,hasOwnProperty:_i,hasOwnProp:_i,reduceDescriptors:Ac,freezeMethods:Lh,toObjectSet:Nh,toCamelCase:Ph,noop:Mh,toFiniteNumber:kh,findKey:xc,global:Dt,isContextDefined:Cc,ALPHABET:Tc,generateString:Fh,isSpecCompliantForm:Dh,toJSONObject:jh,isAsyncFn:Bh,isThenable:Hh,setImmediate:Oc,asap:$h};function G(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}b.inherits(G,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:b.toJSONObject(this.config),code:this.code,status:this.status}}});const Pc=G.prototype,Ic={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ic[e]={value:e}});Object.defineProperties(G,Ic);Object.defineProperty(Pc,"isAxiosError",{value:!0});G.from=(e,t,n,s,r,o)=>{const i=Object.create(Pc);return b.toFlatObject(e,i,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),G.call(i,e.message,t,n,s,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Uh=null;function xr(e){return b.isPlainObject(e)||b.isArray(e)}function Lc(e){return b.endsWith(e,"[]")?e.slice(0,-2):e}function wi(e,t,n){return e?e.concat(t).map(function(r,o){return r=Lc(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Vh(e){return b.isArray(e)&&!e.some(xr)}const qh=b.toFlatObject(b,{},null,function(t){return/^is[A-Z]/.test(t)});function Bs(e,t,n){if(!b.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=b.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,E){return!b.isUndefined(E[w])});const s=n.metaTokens,r=n.visitor||a,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&b.isSpecCompliantForm(t);if(!b.isFunction(r))throw new TypeError("visitor must be a function");function u(y){if(y===null)return"";if(b.isDate(y))return y.toISOString();if(!c&&b.isBlob(y))throw new G("Blob is not supported. Use a Buffer instead.");return b.isArrayBuffer(y)||b.isTypedArray(y)?c&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function a(y,w,E){let T=y;if(y&&!E&&typeof y=="object"){if(b.endsWith(w,"{}"))w=s?w:w.slice(0,-2),y=JSON.stringify(y);else if(b.isArray(y)&&Vh(y)||(b.isFileList(y)||b.endsWith(w,"[]"))&&(T=b.toArray(y)))return w=Lc(w),T.forEach(function(P,I){!(b.isUndefined(P)||P===null)&&t.append(i===!0?wi([w],I,o):i===null?w:w+"[]",u(P))}),!1}return xr(y)?!0:(t.append(wi(E,w,o),u(y)),!1)}const f=[],p=Object.assign(qh,{defaultVisitor:a,convertValue:u,isVisitable:xr});function m(y,w){if(!b.isUndefined(y)){if(f.indexOf(y)!==-1)throw Error("Circular reference detected in "+w.join("."));f.push(y),b.forEach(y,function(T,C){(!(b.isUndefined(T)||T===null)&&r.call(t,T,b.isString(C)?C.trim():C,w,p))===!0&&m(T,w?w.concat(C):[C])}),f.pop()}}if(!b.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Ei(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function so(e,t){this._pairs=[],e&&Bs(e,this,t)}const Nc=so.prototype;Nc.append=function(t,n){this._pairs.push([t,n])};Nc.toString=function(t){const n=t?function(s){return t.call(this,s,Ei)}:Ei;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Kh(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Mc(e,t,n){if(!t)return e;const s=n&&n.encode||Kh,r=n&&n.serialize;let o;if(r?o=r(t,n):o=b.isURLSearchParams(t)?t.toString():new so(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Si{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){b.forEach(this.handlers,function(s){s!==null&&t(s)})}}const kc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Wh=typeof URLSearchParams<"u"?URLSearchParams:so,zh=typeof FormData<"u"?FormData:null,Gh=typeof Blob<"u"?Blob:null,Jh={isBrowser:!0,classes:{URLSearchParams:Wh,FormData:zh,Blob:Gh},protocols:["http","https","file","blob","url","data"]},ro=typeof window<"u"&&typeof document<"u",Cr=typeof navigator=="object"&&navigator||void 0,Xh=ro&&(!Cr||["ReactNative","NativeScript","NS"].indexOf(Cr.product)<0),Qh=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Yh=ro&&window.location.href||"http://localhost",Zh=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ro,hasStandardBrowserEnv:Xh,hasStandardBrowserWebWorkerEnv:Qh,navigator:Cr,origin:Yh},Symbol.toStringTag,{value:"Module"})),Pe={...Zh,...Jh};function ep(e,t){return Bs(e,new Pe.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return Pe.isNode&&b.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function tp(e){return b.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function np(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s=n.length;return i=!i&&b.isArray(r)?r.length:i,c?(b.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!l):((!r[i]||!b.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&b.isArray(r[i])&&(r[i]=np(r[i])),!l)}if(b.isFormData(e)&&b.isFunction(e.entries)){const n={};return b.forEachEntry(e,(s,r)=>{t(tp(s),r,n,0)}),n}return null}function sp(e,t,n){if(b.isString(e))try{return(t||JSON.parse)(e),b.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(0,JSON.stringify)(e)}const Gn={transitional:kc,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=b.isObject(t);if(o&&b.isHTMLForm(t)&&(t=new FormData(t)),b.isFormData(t))return r?JSON.stringify(Fc(t)):t;if(b.isArrayBuffer(t)||b.isBuffer(t)||b.isStream(t)||b.isFile(t)||b.isBlob(t)||b.isReadableStream(t))return t;if(b.isArrayBufferView(t))return t.buffer;if(b.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return ep(t,this.formSerializer).toString();if((l=b.isFileList(t))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Bs(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),sp(t)):t}],transformResponse:[function(t){const n=this.transitional||Gn.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(b.isResponse(t)||b.isReadableStream(t))return t;if(t&&b.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?G.from(l,G.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Pe.classes.FormData,Blob:Pe.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};b.forEach(["delete","get","head","post","put","patch"],e=>{Gn.headers[e]={}});const rp=b.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),op=e=>{const t={};let n,s,r;return e&&e.split(` -`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&rp[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},Ri=Symbol("internals");function bn(e){return e&&String(e).trim().toLowerCase()}function cs(e){return e===!1||e==null?e:b.isArray(e)?e.map(cs):String(e)}function ip(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const lp=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function or(e,t,n,s,r){if(b.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!b.isString(t)){if(b.isString(s))return t.indexOf(s)!==-1;if(b.isRegExp(s))return s.test(t)}}function cp(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function ap(e,t){const n=b.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}class Ie{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,c,u){const a=bn(c);if(!a)throw new Error("header name must be a non-empty string");const f=b.findKey(r,a);(!f||r[f]===void 0||u===!0||u===void 0&&r[f]!==!1)&&(r[f||c]=cs(l))}const i=(l,c)=>b.forEach(l,(u,a)=>o(u,a,c));if(b.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(b.isString(t)&&(t=t.trim())&&!lp(t))i(op(t),n);else if(b.isHeaders(t))for(const[l,c]of t.entries())o(c,l,s);else t!=null&&o(n,t,s);return this}get(t,n){if(t=bn(t),t){const s=b.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return ip(r);if(b.isFunction(n))return n.call(this,r,s);if(b.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=bn(t),t){const s=b.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||or(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=bn(i),i){const l=b.findKey(s,i);l&&(!n||or(s,s[l],l,n))&&(delete s[l],r=!0)}}return b.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||or(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return b.forEach(this,(r,o)=>{const i=b.findKey(s,o);if(i){n[i]=cs(r),delete n[o];return}const l=t?cp(o):String(o).trim();l!==o&&delete n[o],n[l]=cs(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return b.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&b.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[Ri]=this[Ri]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=bn(i);s[l]||(ap(r,i),s[l]=!0)}return b.isArray(t)?t.forEach(o):o(t),this}}Ie.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);b.reduceDescriptors(Ie.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});b.freezeMethods(Ie);function ir(e,t){const n=this||Gn,s=t||n,r=Ie.from(s.headers);let o=s.data;return b.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Dc(e){return!!(e&&e.__CANCEL__)}function hn(e,t,n){G.call(this,e??"canceled",G.ERR_CANCELED,t,n),this.name="CanceledError"}b.inherits(hn,G,{__CANCEL__:!0});function jc(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new G("Request failed with status code "+n.status,[G.ERR_BAD_REQUEST,G.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function up(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function fp(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),a=s[o];i||(i=u),n[r]=c,s[r]=u;let f=o,p=0;for(;f!==r;)p+=n[f++],f=f%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),u-i{n=a,r=null,o&&(clearTimeout(o),o=null),e.apply(null,u)};return[(...u)=>{const a=Date.now(),f=a-n;f>=s?i(u,a):(r=u,o||(o=setTimeout(()=>{o=null,i(r)},s-f)))},()=>r&&i(r)]}const gs=(e,t,n=3)=>{let s=0;const r=fp(50,250);return dp(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,c=i-s,u=r(c),a=i<=l;s=i;const f={loaded:i,total:l,progress:l?i/l:void 0,bytes:c,rate:u||void 0,estimated:u&&l&&a?(l-i)/u:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(f)},n)},xi=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},Ci=e=>(...t)=>b.asap(()=>e(...t)),hp=Pe.hasStandardBrowserEnv?function(){const t=Pe.navigator&&/(msie|trident)/i.test(Pe.navigator.userAgent),n=document.createElement("a");let s;function r(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=r(window.location.href),function(i){const l=b.isString(i)?r(i):i;return l.protocol===s.protocol&&l.host===s.host}}():function(){return function(){return!0}}(),pp=Pe.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const i=[e+"="+encodeURIComponent(t)];b.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),b.isString(s)&&i.push("path="+s),b.isString(r)&&i.push("domain="+r),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function mp(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function gp(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Bc(e,t){return e&&!mp(t)?gp(e,t):t}const Ai=e=>e instanceof Ie?{...e}:e;function qt(e,t){t=t||{};const n={};function s(u,a,f){return b.isPlainObject(u)&&b.isPlainObject(a)?b.merge.call({caseless:f},u,a):b.isPlainObject(a)?b.merge({},a):b.isArray(a)?a.slice():a}function r(u,a,f){if(b.isUndefined(a)){if(!b.isUndefined(u))return s(void 0,u,f)}else return s(u,a,f)}function o(u,a){if(!b.isUndefined(a))return s(void 0,a)}function i(u,a){if(b.isUndefined(a)){if(!b.isUndefined(u))return s(void 0,u)}else return s(void 0,a)}function l(u,a,f){if(f in t)return s(u,a);if(f in e)return s(void 0,u)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(u,a)=>r(Ai(u),Ai(a),!0)};return b.forEach(Object.keys(Object.assign({},e,t)),function(a){const f=c[a]||r,p=f(e[a],t[a],a);b.isUndefined(p)&&f!==l||(n[a]=p)}),n}const Hc=e=>{const t=qt({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:i,auth:l}=t;t.headers=i=Ie.from(i),t.url=Mc(Bc(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(b.isFormData(n)){if(Pe.hasStandardBrowserEnv||Pe.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((c=i.getContentType())!==!1){const[u,...a]=c?c.split(";").map(f=>f.trim()).filter(Boolean):[];i.setContentType([u||"multipart/form-data",...a].join("; "))}}if(Pe.hasStandardBrowserEnv&&(s&&b.isFunction(s)&&(s=s(t)),s||s!==!1&&hp(t.url))){const u=r&&o&&pp.read(o);u&&i.set(r,u)}return t},yp=typeof XMLHttpRequest<"u",bp=yp&&function(e){return new Promise(function(n,s){const r=Hc(e);let o=r.data;const i=Ie.from(r.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:u}=r,a,f,p,m,y;function w(){m&&m(),y&&y(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let E=new XMLHttpRequest;E.open(r.method.toUpperCase(),r.url,!0),E.timeout=r.timeout;function T(){if(!E)return;const P=Ie.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),j={data:!l||l==="text"||l==="json"?E.responseText:E.response,status:E.status,statusText:E.statusText,headers:P,config:e,request:E};jc(function(z){n(z),w()},function(z){s(z),w()},j),E=null}"onloadend"in E?E.onloadend=T:E.onreadystatechange=function(){!E||E.readyState!==4||E.status===0&&!(E.responseURL&&E.responseURL.indexOf("file:")===0)||setTimeout(T)},E.onabort=function(){E&&(s(new G("Request aborted",G.ECONNABORTED,e,E)),E=null)},E.onerror=function(){s(new G("Network Error",G.ERR_NETWORK,e,E)),E=null},E.ontimeout=function(){let I=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const j=r.transitional||kc;r.timeoutErrorMessage&&(I=r.timeoutErrorMessage),s(new G(I,j.clarifyTimeoutError?G.ETIMEDOUT:G.ECONNABORTED,e,E)),E=null},o===void 0&&i.setContentType(null),"setRequestHeader"in E&&b.forEach(i.toJSON(),function(I,j){E.setRequestHeader(j,I)}),b.isUndefined(r.withCredentials)||(E.withCredentials=!!r.withCredentials),l&&l!=="json"&&(E.responseType=r.responseType),u&&([p,y]=gs(u,!0),E.addEventListener("progress",p)),c&&E.upload&&([f,m]=gs(c),E.upload.addEventListener("progress",f),E.upload.addEventListener("loadend",m)),(r.cancelToken||r.signal)&&(a=P=>{E&&(s(!P||P.type?new hn(null,e,E):P),E.abort(),E=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const C=up(r.url);if(C&&Pe.protocols.indexOf(C)===-1){s(new G("Unsupported protocol "+C+":",G.ERR_BAD_REQUEST,e));return}E.send(o||null)})},_p=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(u){if(!r){r=!0,l();const a=u instanceof Error?u:this.reason;s.abort(a instanceof G?a:new hn(a instanceof Error?a.message:a))}};let i=t&&setTimeout(()=>{i=null,o(new G(`timeout ${t} of ms exceeded`,G.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:c}=s;return c.unsubscribe=()=>b.asap(l),c}},vp=function*(e,t){let n=e.byteLength;if(n{const r=wp(e,t);let o=0,i,l=c=>{i||(i=!0,s&&s(c))};return new ReadableStream({async pull(c){try{const{done:u,value:a}=await r.next();if(u){l(),c.close();return}let f=a.byteLength;if(n){let p=o+=f;n(p)}c.enqueue(new Uint8Array(a))}catch(u){throw l(u),u}},cancel(c){return l(c),r.return()}},{highWaterMark:2})},Hs=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",$c=Hs&&typeof ReadableStream=="function",Sp=Hs&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Uc=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Rp=$c&&Uc(()=>{let e=!1;const t=new Request(Pe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Oi=64*1024,Ar=$c&&Uc(()=>b.isReadableStream(new Response("").body)),ys={stream:Ar&&(e=>e.body)};Hs&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!ys[t]&&(ys[t]=b.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new G(`Response type '${t}' is not supported`,G.ERR_NOT_SUPPORT,s)})})})(new Response);const xp=async e=>{if(e==null)return 0;if(b.isBlob(e))return e.size;if(b.isSpecCompliantForm(e))return(await new Request(Pe.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(b.isArrayBufferView(e)||b.isArrayBuffer(e))return e.byteLength;if(b.isURLSearchParams(e)&&(e=e+""),b.isString(e))return(await Sp(e)).byteLength},Cp=async(e,t)=>{const n=b.toFiniteNumber(e.getContentLength());return n??xp(t)},Ap=Hs&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:o,timeout:i,onDownloadProgress:l,onUploadProgress:c,responseType:u,headers:a,withCredentials:f="same-origin",fetchOptions:p}=Hc(e);u=u?(u+"").toLowerCase():"text";let m=_p([r,o&&o.toAbortSignal()],i),y;const w=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let E;try{if(c&&Rp&&n!=="get"&&n!=="head"&&(E=await Cp(a,s))!==0){let j=new Request(t,{method:"POST",body:s,duplex:"half"}),X;if(b.isFormData(s)&&(X=j.headers.get("content-type"))&&a.setContentType(X),j.body){const[z,V]=xi(E,gs(Ci(c)));s=Ti(j.body,Oi,z,V)}}b.isString(f)||(f=f?"include":"omit");const T="credentials"in Request.prototype;y=new Request(t,{...p,signal:m,method:n.toUpperCase(),headers:a.normalize().toJSON(),body:s,duplex:"half",credentials:T?f:void 0});let C=await fetch(y);const P=Ar&&(u==="stream"||u==="response");if(Ar&&(l||P&&w)){const j={};["status","statusText","headers"].forEach(N=>{j[N]=C[N]});const X=b.toFiniteNumber(C.headers.get("content-length")),[z,V]=l&&xi(X,gs(Ci(l),!0))||[];C=new Response(Ti(C.body,Oi,z,()=>{V&&V(),w&&w()}),j)}u=u||"text";let I=await ys[b.findKey(ys,u)||"text"](C,e);return!P&&w&&w(),await new Promise((j,X)=>{jc(j,X,{data:I,headers:Ie.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:y})})}catch(T){throw w&&w(),T&&T.name==="TypeError"&&/fetch/i.test(T.message)?Object.assign(new G("Network Error",G.ERR_NETWORK,e,y),{cause:T.cause||T}):G.from(T,T&&T.code,e,y)}}),Tr={http:Uh,xhr:bp,fetch:Ap};b.forEach(Tr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Pi=e=>`- ${e}`,Tp=e=>b.isFunction(e)||e===null||e===!1,Vc={getAdapter:e=>{e=b.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : -`+o.map(Pi).join(` -`):" "+Pi(o[0]):"as no adapter specified";throw new G("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:Tr};function lr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new hn(null,e)}function Ii(e){return lr(e),e.headers=Ie.from(e.headers),e.data=ir.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Vc.getAdapter(e.adapter||Gn.adapter)(e).then(function(s){return lr(e),s.data=ir.call(e,e.transformResponse,s),s.headers=Ie.from(s.headers),s},function(s){return Dc(s)||(lr(e),s&&s.response&&(s.response.data=ir.call(e,e.transformResponse,s.response),s.response.headers=Ie.from(s.response.headers))),Promise.reject(s)})}const qc="1.7.7",oo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{oo[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Li={};oo.transitional=function(t,n,s){function r(o,i){return"[Axios v"+qc+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new G(r(i," has been removed"+(n?" in "+n:"")),G.ERR_DEPRECATED);return n&&!Li[i]&&(Li[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};function Op(e,t,n){if(typeof e!="object")throw new G("options must be an object",G.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new G("option "+o+" must be "+c,G.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new G("Unknown option "+o,G.ERR_BAD_OPTION)}}const Or={assertOptions:Op,validators:oo},_t=Or.validators;class $t{constructor(t){this.defaults=t,this.interceptors={request:new Si,response:new Si}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=` -`+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=qt(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&Or.assertOptions(s,{silentJSONParsing:_t.transitional(_t.boolean),forcedJSONParsing:_t.transitional(_t.boolean),clarifyTimeoutError:_t.transitional(_t.boolean)},!1),r!=null&&(b.isFunction(r)?n.paramsSerializer={serialize:r}:Or.assertOptions(r,{encode:_t.function,serialize:_t.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&b.merge(o.common,o[n.method]);o&&b.forEach(["delete","get","head","post","put","patch","common"],y=>{delete o[y]}),n.headers=Ie.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(n)===!1||(c=c&&w.synchronous,l.unshift(w.fulfilled,w.rejected))});const u=[];this.interceptors.response.forEach(function(w){u.push(w.fulfilled,w.rejected)});let a,f=0,p;if(!c){const y=[Ii.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,u),p=y.length,a=Promise.resolve(n);f{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new hn(o,i,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new io(function(r){t=r}),cancel:t}}}function Pp(e){return function(n){return e.apply(null,n)}}function Ip(e){return b.isObject(e)&&e.isAxiosError===!0}const Pr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Pr).forEach(([e,t])=>{Pr[t]=e});function Kc(e){const t=new $t(e),n=Ec($t.prototype.request,t);return b.extend(n,$t.prototype,t,{allOwnKeys:!0}),b.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Kc(qt(e,r))},n}const ge=Kc(Gn);ge.Axios=$t;ge.CanceledError=hn;ge.CancelToken=io;ge.isCancel=Dc;ge.VERSION=qc;ge.toFormData=Bs;ge.AxiosError=G;ge.Cancel=ge.CanceledError;ge.all=function(t){return Promise.all(t)};ge.spread=Pp;ge.isAxiosError=Ip;ge.mergeConfig=qt;ge.AxiosHeaders=Ie;ge.formToJSON=e=>Fc(b.isHTMLForm(e)?new FormData(e):e);ge.getAdapter=Vc.getAdapter;ge.HttpStatusCode=Pr;ge.default=ge;const Lp="",Wc=Lp,lo=ge.create({baseURL:Wc,timeout:1e15,headers:{"Content-Type":"application/json"}});lo.interceptors.request.use(e=>{const t=localStorage.getItem("token");return t&&(e.headers.Authorization=`Bearer ${t}`),e.url&&!e.url.startsWith("http")&&(e.url=`${Wc}/${e.url.replace(/^\//,"")}`),e},e=>Promise.reject(e));lo.interceptors.response.use(e=>e.data,e=>{if(e.response)switch(e.response.status){case 401:console.error("未授权,请重新登录"),localStorage.clear(),window.location.href="/#/login";break;case 403:console.error("禁止访问");break;case 404:console.error("请求的资源不存在");break;default:console.error("发生错误:",e.response.data)}else e.request?console.error("未收到响应:",e.request):console.error("请求配置错误:",e.message);return Promise.reject(e)});const zc=Uf("alert",{state:()=>({alerts:[]}),actions:{showAlert(e,t="info",n=5e3){const s=Date.now(),r=Date.now();this.alerts.push({id:s,message:e,type:t,progress:100,duration:n,startTime:r}),setTimeout(()=>this.removeAlert(s),n)},removeAlert(e){const t=this.alerts.findIndex(n=>n.id===e);t>-1&&this.alerts.splice(t,1)},updateAlertProgress(e){const t=this.alerts.find(n=>n.id===e);if(t){const s=100-(Date.now()-t.startTime)/t.duration*100;t.progress=Math.max(0,s),t.progress<=0&&this.removeAlert(e)}}}}),Np={class:"p-4"},Mp={class:"flex items-start"},kp={class:"flex-shrink-0"},Fp={class:"ml-3 flex-1 pt-0.5"},Dp=["innerHTML"],jp={class:"ml-4 flex-shrink-0 flex"},Bp=["onClick"],Hp={class:"h-1 bg-white bg-opacity-25"},$p=Kn({__name:"AlertComponent",setup(e){const t=zc(),{alerts:n}=Vf(t),{removeAlert:s,updateAlertProgress:r}=t,o={success:"from-green-500 to-green-600",error:"from-red-500 to-red-600",warning:"from-yellow-500 to-yellow-600",info:"from-blue-500 to-blue-600"},i={success:Xd,error:eh,warning:Jd,info:Qd};let l;return Ts(()=>{l=setInterval(()=>{n.value.forEach(c=>{r(c.id)})},100)}),Jr(()=>{clearInterval(l)}),(c,u)=>(We(),sn(Ef,{name:"alert-fade",tag:"div",class:"fixed top-4 left-4 z-50 w-full sm:max-w-sm md:max-w-md space-y-4 px-4 sm:px-0"},{default:ds(()=>[(We(!0),Fn(Ue,null,su(Te(n),a=>(We(),Fn("div",{key:a.id,class:fn(["w-full rounded-lg shadow-xl overflow-hidden","bg-gradient-to-r",o[a.type]])},[De("div",Np,[De("div",Mp,[De("div",kp,[(We(),sn(Al(i[a.type]),{class:"h-6 w-6 text-white"}))]),De("div",Fp,[De("p",{class:"text-sm font-medium text-white",innerHTML:a.message},null,8,Dp)]),De("div",jp,[De("button",{onClick:f=>Te(s)(a.id),class:"inline-flex text-white hover:text-gray-200 focus:outline-none transition-colors duration-200"},[u[0]||(u[0]=De("span",{class:"sr-only"},"关闭",-1)),ye(Te(th),{class:"h-5 w-5"})],8,Bp)])])]),De("div",Hp,[De("div",{class:"h-full bg-white transition-all duration-100 ease-out",style:ws({width:`${a.progress}%`})},null,4)])],2))),128))]),_:1}))}}),Up=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Vp=Up($p,[["__scopeId","data-v-6fdbaa84"]]),qp={key:0,class:"loading-overlay"},Kp=Kn({__name:"App",setup(e){const t=nn(!1),n=nn(!1),s=Wd(),r=zc(),o=()=>window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,i=()=>{const c=localStorage.getItem("colorMode");return c?c==="dark":null},l=c=>{t.value=c,localStorage.setItem("colorMode",c?"dark":"light")};return Ts(()=>{const c=i();l(c!==null?c:o()),lo.post("/",{}).then(u=>{u.code===200&&(localStorage.setItem("config",JSON.stringify(u.detail)),u.detail.notify_title&&u.detail.notify_content&&localStorage.getItem("notify")!==u.detail.notify_title+u.detail.notify_content&&(localStorage.setItem("notify",u.detail.notify_title+u.detail.notify_content),r.showAlert(u.detail.notify_title+": "+u.detail.notify_content,"success")))})}),xu(()=>{document.documentElement.classList.toggle("dark",t.value)}),s.beforeEach((c,u,a)=>{n.value=!0,a()}),s.afterEach(()=>{setTimeout(()=>{n.value=!1},200)}),Ht("isDarkMode",t),Ht("setColorMode",l),Ht("isLoading",n),(c,u)=>(We(),Fn("div",{class:fn(["app-container",t.value?"dark":"light"])},[ye(nh,{modelValue:t.value,"onUpdate:modelValue":u[0]||(u[0]=a=>t.value=a)},null,8,["modelValue"]),n.value?(We(),Fn("div",qp,u[1]||(u[1]=[De("div",{class:"loading-spinner"},null,-1)]))):ju("",!0),ye(Te(wc),null,{default:ds(({Component:a})=>[ye(ef,{name:"fade",mode:"out-in"},{default:ds(()=>[(We(),sn(Al(a),{key:c.$route.fullPath}))]),_:2},1024)]),_:1}),ye(Vp)],2))}}),Wp="modulepreload",zp=function(e){return"/"+e},Ni={},Et=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));r=Promise.allSettled(n.map(c=>{if(c=zp(c),c in Ni)return;Ni[c]=!0;const u=c.endsWith(".css"),a=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${a}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":Wp,u||(f.as="script"),f.crossOrigin="",f.href=c,l&&f.setAttribute("nonce",l),document.head.appendChild(f),u)return new Promise((p,m)=>{f.addEventListener("load",p),f.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return r.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},Gp=qd({history:wd("/"),routes:[{path:"/",name:"Retrieve",component:()=>Et(()=>import("./RetrievewFileView-DFoOLqwO.js"),__vite__mapDeps([0,1,2,3,4,5]))},{path:"/send",name:"Send",component:()=>Et(()=>import("./SendFileView-BpoP1hAD.js"),__vite__mapDeps([6,1,3,4,7]))},{path:"/admin",name:"Manage",component:()=>Et(()=>import("./AdminLayout-BYxl-yGL.js"),__vite__mapDeps([8,2,9])),redirect:"/admin/dashboard",children:[{path:"/admin/dashboard",name:"Dashboard",component:()=>Et(()=>import("./DashboardView-CsL_7F9h.js"),__vite__mapDeps([10,3,4]))},{path:"/admin/files",name:"FileManage",component:()=>Et(()=>import("./FileManageView-DrwTJQX8.js"),__vite__mapDeps([11,3]))},{path:"/admin/settings",name:"Settings",component:()=>Et(()=>import("./SystemSettingsView-CkE-6QUZ.js"),[])}]},{path:"/login",name:"Login",component:()=>Et(()=>import("./LoginView-Do8_BjnX.js"),__vite__mapDeps([12,2,13]))}]});Et(()=>import("./SendFileView-BpoP1hAD.js"),__vite__mapDeps([6,1,3,4,7]));const co=Lf(Kp);co.use(Ff());co.use(Gp);co.mount("#app");export{lo as A,Kn as B,Zp as C,rn as D,Sl as E,Ue as F,Uf as G,Vn as H,Jr as I,sn as J,Al as K,Yp as L,ef as T,th as X,Up as _,Ve as a,Fn as b,Wt as c,De as d,Te as e,ye as f,em as g,Jp as h,ju as i,ds as j,Du as k,tm as l,Xp as m,fn as n,Ts as o,We as p,Ef as q,nn as r,Vf as s,la as t,zc as u,Qp as v,Rn as w,su as x,Wd as y,Oe as z}; diff --git a/themes/2024/assets/index-Bx419AMb.css b/themes/2024/assets/index-Bx419AMb.css new file mode 100644 index 0000000..1c52551 --- /dev/null +++ b/themes/2024/assets/index-Bx419AMb.css @@ -0,0 +1 @@ +*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-invert{--tw-prose-body: var(--tw-prose-invert-body);--tw-prose-headings: var(--tw-prose-invert-headings);--tw-prose-lead: var(--tw-prose-invert-lead);--tw-prose-links: var(--tw-prose-invert-links);--tw-prose-bold: var(--tw-prose-invert-bold);--tw-prose-counters: var(--tw-prose-invert-counters);--tw-prose-bullets: var(--tw-prose-invert-bullets);--tw-prose-hr: var(--tw-prose-invert-hr);--tw-prose-quotes: var(--tw-prose-invert-quotes);--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);--tw-prose-captions: var(--tw-prose-invert-captions);--tw-prose-kbd: var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);--tw-prose-code: var(--tw-prose-invert-code);--tw-prose-pre-code: var(--tw-prose-invert-pre-code);--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);--tw-prose-th-borders: var(--tw-prose-invert-th-borders);--tw-prose-td-borders: var(--tw-prose-invert-td-borders)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.-inset-2{top:-.5rem;right:-.5rem;bottom:-.5rem;left:-.5rem}.inset-0{top:0;right:0;bottom:0;left:0}.inset-1{top:.25rem;right:.25rem;bottom:.25rem;left:.25rem}.inset-y-0{top:0;bottom:0}.-bottom-0\.5{bottom:-.125rem}.left-0{left:0}.left-2{left:.5rem}.left-3{left:.75rem}.left-4{left:1rem}.right-0{right:0}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-2\.5{top:.625rem}.top-4{top:1rem}.z-0{z-index:0}.z-10{z-index:10}.z-50{z-index:50}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.h-screen{height:100vh}.max-h-\[60vh\]{max-height:60vh}.max-h-\[80vh\]{max-height:80vh}.min-h-screen{min-height:100vh}.w-0{width:0px}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-24{width:6rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-8{width:2rem}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-full{min-width:100%}.max-w-3xl{max-width:48rem}.max-w-\[200px\]{max-width:200px}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.-space-y-px>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(-1px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(-1px * var(--tw-space-y-reverse))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity, 1))}.divide-gray-700>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(55 65 81 / var(--tw-divide-opacity, 1))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity, 1))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity, 1))}.border-indigo-600{--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-opacity-20{--tw-border-opacity: .2}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-900{--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity, 1))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.bg-gray-800\/50{background-color:#1f293780}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-green-900{--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity, 1))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity, 1))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity, 1))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity, 1))}.bg-indigo-900{--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity, 1))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity, 1))}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity, 1))}.bg-purple-900{--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\/50{background-color:#ffffff80}.bg-white\/70{background-color:#ffffffb3}.bg-opacity-10{--tw-bg-opacity: .1}.bg-opacity-20{--tw-bg-opacity: .2}.bg-opacity-25{--tw-bg-opacity: .25}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-70{--tw-bg-opacity: .7}.bg-opacity-90{--tw-bg-opacity: .9}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-blue-50{--tw-gradient-from: #eff6ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-500{--tw-gradient-from: #3b82f6 var(--tw-gradient-from-position);--tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-600{--tw-gradient-from: #0891b2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-gray-900{--tw-gradient-from: #111827 var(--tw-gradient-from-position);--tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-500{--tw-gradient-from: #22c55e var(--tw-gradient-from-position);--tw-gradient-to: rgb(34 197 94 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-indigo-300{--tw-gradient-from: #a5b4fc var(--tw-gradient-from-position);--tw-gradient-to: rgb(165 180 252 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-indigo-500{--tw-gradient-from: #6366f1 var(--tw-gradient-from-position);--tw-gradient-to: rgb(99 102 241 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-indigo-600{--tw-gradient-from: #4f46e5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(79 70 229 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-500{--tw-gradient-from: #ec4899 var(--tw-gradient-from-position);--tw-gradient-to: rgb(236 72 153 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-500{--tw-gradient-from: #ef4444 var(--tw-gradient-from-position);--tw-gradient-to: rgb(239 68 68 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-yellow-500{--tw-gradient-from: #eab308 var(--tw-gradient-from-position);--tw-gradient-to: rgb(234 179 8 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-indigo-50{--tw-gradient-to: rgb(238 242 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #eef2ff var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-indigo-900{--tw-gradient-to: rgb(49 46 129 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #312e81 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-300{--tw-gradient-to: rgb(216 180 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #d8b4fe var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-500{--tw-gradient-to: rgb(168 85 247 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #a855f7 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-600{--tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #9333ea var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-blue-600{--tw-gradient-to: #2563eb var(--tw-gradient-to-position)}.to-green-600{--tw-gradient-to: #16a34a var(--tw-gradient-to-position)}.to-indigo-500{--tw-gradient-to: #6366f1 var(--tw-gradient-to-position)}.to-pink-300{--tw-gradient-to: #f9a8d4 var(--tw-gradient-to-position)}.to-pink-500{--tw-gradient-to: #ec4899 var(--tw-gradient-to-position)}.to-pink-600{--tw-gradient-to: #db2777 var(--tw-gradient-to-position)}.to-purple-500{--tw-gradient-to: #a855f7 var(--tw-gradient-to-position)}.to-purple-600{--tw-gradient-to: #9333ea var(--tw-gradient-to-position)}.to-red-600{--tw-gradient-to: #dc2626 var(--tw-gradient-to-position)}.to-yellow-600{--tw-gradient-to: #ca8a04 var(--tw-gradient-to-position)}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.bg-right{background-position:right}.bg-no-repeat{background-repeat:no-repeat}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pr-10{padding-right:2.5rem}.pr-16{padding-right:4rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pt-0\.5{padding-top:.125rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.tracking-wider{letter-spacing:.05em}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-cyan-400{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity, 1))}.text-cyan-600{--tw-text-opacity: 1;color:rgb(8 145 178 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity, 1))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity, 1))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.text-purple-400{--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity, 1))}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity, 1))}.text-purple-600{--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-300{--tw-text-opacity: 1;color:rgb(253 224 71 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.placeholder-gray-400::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-400::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-500::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-500::placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-red-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1))}.blur-md{--tw-blur: blur(12px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-lg{--tw-backdrop-blur: blur(16px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-xl{--tw-backdrop-blur: blur(24px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@font-face{font-family:DingTalk;src:url(/assets/DingTalk-CT5a5scH.ttf) format("truetype")}*{font-family:DingTalk,sans-serif!important}.hover\:rotate-180:hover{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-\[1\.02\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity, 1))}.hover\:border-gray-500:hover{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}.hover\:border-indigo-500:hover{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity, 1))}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.hover\:bg-blue-400:hover{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-800:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.hover\:bg-green-100:hover{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.hover\:bg-green-400:hover{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity, 1))}.hover\:bg-green-600:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.hover\:bg-indigo-100:hover{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity, 1))}.hover\:bg-indigo-400:hover{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity, 1))}.hover\:bg-indigo-600:hover{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity, 1))}.hover\:bg-indigo-700:hover{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity, 1))}.hover\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.hover\:bg-red-400:hover{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity, 1))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.hover\:bg-opacity-20:hover{--tw-bg-opacity: .2}.hover\:from-cyan-600:hover{--tw-gradient-from: #0891b2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:from-cyan-700:hover{--tw-gradient-from: #0e7490 var(--tw-gradient-from-position);--tw-gradient-to: rgb(14 116 144 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:from-indigo-600:hover{--tw-gradient-from: #4f46e5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(79 70 229 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:via-purple-600:hover{--tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #9333ea var(--tw-gradient-via-position), var(--tw-gradient-to)}.hover\:to-pink-600:hover{--tw-gradient-to: #db2777 var(--tw-gradient-to-position)}.hover\:to-purple-600:hover{--tw-gradient-to: #9333ea var(--tw-gradient-to-position)}.hover\:to-purple-700:hover{--tw-gradient-to: #7e22ce var(--tw-gradient-to-position)}.hover\:text-gray-200:hover{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\:text-indigo-300:hover{--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity, 1))}.hover\:text-indigo-900:hover{--tw-text-opacity: 1;color:rgb(49 46 129 / var(--tw-text-opacity, 1))}.hover\:text-red-300:hover{--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity, 1))}.hover\:text-red-900:hover{--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity, 1))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-cyan-500\/50:hover{--tw-shadow-color: rgb(6 182 212 / .5);--tw-shadow: var(--tw-shadow-colored)}.focus\:z-10:focus{z-index:10}.focus\:border-cyan-500:focus{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity, 1))}.focus\:border-indigo-500:focus{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity, 1))}.focus\:border-transparent:focus{border-color:transparent}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-cyan-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(6 182 212 / var(--tw-ring-opacity, 1))}.focus\:ring-indigo-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity, 1))}.focus\:ring-purple-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(168 85 247 / var(--tw-ring-opacity, 1))}.focus\:ring-opacity-50:focus{--tw-ring-opacity: .5}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.group:hover .group-hover\:translate-x-1{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity, 1))}.group:hover .group-hover\:text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.group:hover .group-hover\:opacity-100{opacity:1}.group:hover .group-hover\:opacity-20{opacity:.2}@media (min-width: 640px){.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:px-0{padding-left:0;padding-right:0}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 768px){.md\:max-w-md{max-width:28rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){.lg\:relative{position:relative}.lg\:hidden{display:none}.lg\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:px-8{padding-left:2rem;padding-right:2rem}}@media (prefers-color-scheme: dark){.dark\:hover\:bg-gray-800:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}}.alert-fade-enter-active[data-v-6fdbaa84],.alert-fade-leave-active[data-v-6fdbaa84]{transition:all .5s cubic-bezier(.68,-.55,.265,1.55)}.alert-fade-enter-from[data-v-6fdbaa84],.alert-fade-leave-to[data-v-6fdbaa84]{opacity:0;transform:translate(-50px) scale(.95)}.app-container{min-height:100vh;width:100%;transition:background-color .5s ease}.light{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #eff6ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: rgb(238 242 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #eef2ff var(--tw-gradient-via-position), var(--tw-gradient-to);--tw-gradient-to: #fff var(--tw-gradient-to-position)}.dark{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #111827 var(--tw-gradient-from-position);--tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: rgb(49 46 129 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #312e81 var(--tw-gradient-via-position), var(--tw-gradient-to);--tw-gradient-to: #000 var(--tw-gradient-to-position)}.fade-enter-active,.fade-leave-active{transition:opacity .3s ease}.fade-enter-from,.fade-leave-to{opacity:0}.loading-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:9999}.loading-spinner{width:50px;height:50px;border:3px solid #fff;border-top:3px solid #3498db;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}} diff --git a/themes/2024/assets/index-Dm7yhqOC.js b/themes/2024/assets/index-Dm7yhqOC.js new file mode 100644 index 0000000..c6929fd --- /dev/null +++ b/themes/2024/assets/index-Dm7yhqOC.js @@ -0,0 +1,86 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RetrievewFileView-B9XfNvQg.js","assets/_commonjsHelpers-BCjwediS.js","assets/box-D82IEWOS.js","assets/file-rOVCfWLN.js","assets/trash-CSx5DaSf.js","assets/RetrievewFileView-Bf7MFUAC.css","assets/SendFileView-Ca-fZPSX.js","assets/SendFileView-CqS6mq2M.css","assets/AdminLayout-CYVTuRyJ.js","assets/AdminLayout-BA8HwEVA.css","assets/DashboardView-hfXRelMZ.js","assets/FileManageView-BpHyAu06.js","assets/LoginView-zsYUSR2Y.js","assets/LoginView-Cf0iN_2x.css"])))=>i.map(i=>d[i]); +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** +* @vue/shared v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Or(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ce={},Qt=[],rt=()=>{},Dc=()=>!1,bs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Pr=e=>e.startsWith("onUpdate:"),ge=Object.assign,Lr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},jc=Object.prototype.hasOwnProperty,se=(e,t)=>jc.call(e,t),$=Array.isArray,Yt=e=>Bn(e)==="[object Map]",cn=e=>Bn(e)==="[object Set]",so=e=>Bn(e)==="[object Date]",K=e=>typeof e=="function",de=e=>typeof e=="string",ot=e=>typeof e=="symbol",oe=e=>e!==null&&typeof e=="object",Si=e=>(oe(e)||K(e))&&K(e.then)&&K(e.catch),xi=Object.prototype.toString,Bn=e=>xi.call(e),Bc=e=>Bn(e).slice(8,-1),Ri=e=>Bn(e)==="[object Object]",Ir=e=>de(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,bn=Or(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_s=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},$c=/-(\w)/g,Ve=_s(e=>e.replace($c,(t,n)=>n?n.toUpperCase():"")),Hc=/\B([A-Z])/g,Vt=_s(e=>e.replace(Hc,"-$1").toLowerCase()),vs=_s(e=>e.charAt(0).toUpperCase()+e.slice(1)),Hs=_s(e=>e?`on${vs(e)}`:""),Ct=(e,t)=>!Object.is(e,t),Zn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},os=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Uc=e=>{const t=de(e)?Number(e):NaN;return isNaN(t)?e:t};let ro;const ws=()=>ro||(ro=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Es(e){if($(e)){const t={};for(let n=0;n{if(n){const s=n.split(qc);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function an(e){let t="";if(de(e))t=e;else if($(e))for(let n=0;n$n(n,t))}const Ai=e=>!!(e&&e.__v_isRef===!0),Xc=e=>de(e)?e:e==null?"":$(e)||oe(e)&&(e.toString===xi||!K(e.toString))?Ai(e)?Xc(e.value):JSON.stringify(e,Oi,2):String(e),Oi=(e,t)=>Ai(t)?Oi(e,t.value):Yt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Us(s,o)+" =>"]=r,n),{})}:cn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Us(n))}:ot(t)?Us(t):oe(t)&&!$(t)&&!Ri(t)?String(t):t,Us=(e,t="")=>{var n;return ot(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Se;class Pi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Se,!t&&Se&&(this.index=(Se.scopes||(Se.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(vn){let t=vn;for(vn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;_n;){let t=_n;for(_n=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Fi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Di(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Fr(s),Yc(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function lr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ji(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ji(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===An))return;e.globalVersion=An;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!lr(e)){e.flags&=-3;return}const n=ue,s=Ke;ue=e,Ke=!0;try{Fi(e);const r=e.fn(e._value);(t.version===0||Ct(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ue=n,Ke=s,Di(e),e.flags&=-3}}function Fr(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Fr(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Yc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ke=!0;const Bi=[];function At(){Bi.push(Ke),Ke=!1}function Ot(){const e=Bi.pop();Ke=e===void 0?!0:e}function oo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ue;ue=void 0;try{t()}finally{ue=n}}}let An=0;class Zc{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Dr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!ue||!Ke||ue===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ue)n=this.activeLink=new Zc(ue,this),ue.deps?(n.prevDep=ue.depsTail,ue.depsTail.nextDep=n,ue.depsTail=n):ue.deps=ue.depsTail=n,$i(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ue.depsTail,n.nextDep=void 0,ue.depsTail.nextDep=n,ue.depsTail=n,ue.deps===n&&(ue.deps=s)}return n}trigger(t){this.version++,An++,this.notify(t)}notify(t){Mr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{kr()}}}function $i(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)$i(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const is=new WeakMap,Ft=Symbol(""),cr=Symbol(""),On=Symbol("");function be(e,t,n){if(Ke&&ue){let s=is.get(e);s||is.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Dr),r.map=s,r.key=n),r.track()}}function ut(e,t,n,s,r,o){const i=is.get(e);if(!i){An++;return}const l=c=>{c&&c.trigger()};if(Mr(),t==="clear")i.forEach(l);else{const c=$(e),u=c&&Ir(n);if(c&&n==="length"){const a=Number(s);i.forEach((f,p)=>{(p==="length"||p===On||!ot(p)&&p>=a)&&l(f)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),u&&l(i.get(On)),t){case"add":c?u&&l(i.get("length")):(l(i.get(Ft)),Yt(e)&&l(i.get(cr)));break;case"delete":c||(l(i.get(Ft)),Yt(e)&&l(i.get(cr)));break;case"set":Yt(e)&&l(i.get(Ft));break}}kr()}function ea(e,t){const n=is.get(e);return n&&n.get(t)}function zt(e){const t=Q(e);return t===e?t:(be(t,"iterate",On),Ue(e)?t:t.map(_e))}function Ss(e){return be(e=Q(e),"iterate",On),e}const ta={__proto__:null,[Symbol.iterator](){return qs(this,Symbol.iterator,_e)},concat(...e){return zt(this).concat(...e.map(t=>$(t)?zt(t):t))},entries(){return qs(this,"entries",e=>(e[1]=_e(e[1]),e))},every(e,t){return lt(this,"every",e,t,void 0,arguments)},filter(e,t){return lt(this,"filter",e,t,n=>n.map(_e),arguments)},find(e,t){return lt(this,"find",e,t,_e,arguments)},findIndex(e,t){return lt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return lt(this,"findLast",e,t,_e,arguments)},findLastIndex(e,t){return lt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return lt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ks(this,"includes",e)},indexOf(...e){return Ks(this,"indexOf",e)},join(e){return zt(this).join(e)},lastIndexOf(...e){return Ks(this,"lastIndexOf",e)},map(e,t){return lt(this,"map",e,t,void 0,arguments)},pop(){return hn(this,"pop")},push(...e){return hn(this,"push",e)},reduce(e,...t){return io(this,"reduce",e,t)},reduceRight(e,...t){return io(this,"reduceRight",e,t)},shift(){return hn(this,"shift")},some(e,t){return lt(this,"some",e,t,void 0,arguments)},splice(...e){return hn(this,"splice",e)},toReversed(){return zt(this).toReversed()},toSorted(e){return zt(this).toSorted(e)},toSpliced(...e){return zt(this).toSpliced(...e)},unshift(...e){return hn(this,"unshift",e)},values(){return qs(this,"values",_e)}};function qs(e,t,n){const s=Ss(e),r=s[t]();return s!==e&&!Ue(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const na=Array.prototype;function lt(e,t,n,s,r,o){const i=Ss(e),l=i!==e&&!Ue(e),c=i[t];if(c!==na[t]){const f=c.apply(e,o);return l?_e(f):f}let u=n;i!==e&&(l?u=function(f,p){return n.call(this,_e(f),p,e)}:n.length>2&&(u=function(f,p){return n.call(this,f,p,e)}));const a=c.call(i,u,s);return l&&r?r(a):a}function io(e,t,n,s){const r=Ss(e);let o=n;return r!==e&&(Ue(e)?n.length>3&&(o=function(i,l,c){return n.call(this,i,l,c,e)}):o=function(i,l,c){return n.call(this,i,_e(l),c,e)}),r[t](o,...s)}function Ks(e,t,n){const s=Q(e);be(s,"iterate",On);const r=s[t](...n);return(r===-1||r===!1)&&$r(n[0])?(n[0]=Q(n[0]),s[t](...n)):r}function hn(e,t,n=[]){At(),Mr();const s=Q(e)[t].apply(e,n);return kr(),Ot(),s}const sa=Or("__proto__,__v_isRef,__isVue"),Hi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ot));function ra(e){ot(e)||(e=String(e));const t=Q(this);return be(t,"has",e),t.hasOwnProperty(e)}class Ui{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?pa:Wi:o?Ki:qi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=$(t);if(!r){let c;if(i&&(c=ta[n]))return c;if(n==="hasOwnProperty")return ra}const l=Reflect.get(t,n,fe(t)?t:s);return(ot(n)?Hi.has(n):sa(n))||(r||be(t,"get",n),o)?l:fe(l)?i&&Ir(n)?l:l.value:oe(l)?r?Ji(l):Hn(l):l}}class Vi extends Ui{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=$t(o);if(!Ue(s)&&!$t(s)&&(o=Q(o),s=Q(s)),!$(t)&&fe(o)&&!fe(s))return c?!1:(o.value=s,!0)}const i=$(t)&&Ir(n)?Number(n)e,Jn=e=>Reflect.getPrototypeOf(e);function aa(e,t,n){return function(...s){const r=this.__v_raw,o=Q(r),i=Yt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,u=r[e](...s),a=n?ar:t?ur:_e;return!t&&be(o,"iterate",c?cr:Ft),{next(){const{value:f,done:p}=u.next();return p?{value:f,done:p}:{value:l?[a(f[0]),a(f[1])]:a(f),done:p}},[Symbol.iterator](){return this}}}}function Gn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ua(e,t){const n={get(r){const o=this.__v_raw,i=Q(o),l=Q(r);e||(Ct(r,l)&&be(i,"get",r),be(i,"get",l));const{has:c}=Jn(i),u=t?ar:e?ur:_e;if(c.call(i,r))return u(o.get(r));if(c.call(i,l))return u(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&be(Q(r),"iterate",Ft),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,i=Q(o),l=Q(r);return e||(Ct(r,l)&&be(i,"has",r),be(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=Q(l),u=t?ar:e?ur:_e;return!e&&be(c,"iterate",Ft),l.forEach((a,f)=>r.call(o,u(a),u(f),i))}};return ge(n,e?{add:Gn("add"),set:Gn("set"),delete:Gn("delete"),clear:Gn("clear")}:{add(r){!t&&!Ue(r)&&!$t(r)&&(r=Q(r));const o=Q(this);return Jn(o).has.call(o,r)||(o.add(r),ut(o,"add",r,r)),this},set(r,o){!t&&!Ue(o)&&!$t(o)&&(o=Q(o));const i=Q(this),{has:l,get:c}=Jn(i);let u=l.call(i,r);u||(r=Q(r),u=l.call(i,r));const a=c.call(i,r);return i.set(r,o),u?Ct(o,a)&&ut(i,"set",r,o):ut(i,"add",r,o),this},delete(r){const o=Q(this),{has:i,get:l}=Jn(o);let c=i.call(o,r);c||(r=Q(r),c=i.call(o,r)),l&&l.call(o,r);const u=o.delete(r);return c&&ut(o,"delete",r,void 0),u},clear(){const r=Q(this),o=r.size!==0,i=r.clear();return o&&ut(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=aa(r,e,t)}),n}function jr(e,t){const n=ua(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(se(n,r)&&r in s?n:s,r,o)}const fa={get:jr(!1,!1)},da={get:jr(!1,!0)},ha={get:jr(!0,!1)};const qi=new WeakMap,Ki=new WeakMap,Wi=new WeakMap,pa=new WeakMap;function ma(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ga(e){return e.__v_skip||!Object.isExtensible(e)?0:ma(Bc(e))}function Hn(e){return $t(e)?e:Br(e,!1,ia,fa,qi)}function zi(e){return Br(e,!1,ca,da,Ki)}function Ji(e){return Br(e,!0,la,ha,Wi)}function Br(e,t,n,s,r){if(!oe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=ga(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function dt(e){return $t(e)?dt(e.__v_raw):!!(e&&e.__v_isReactive)}function $t(e){return!!(e&&e.__v_isReadonly)}function Ue(e){return!!(e&&e.__v_isShallow)}function $r(e){return e?!!e.__v_raw:!1}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function Hr(e){return!se(e,"__v_skip")&&Object.isExtensible(e)&&Ci(e,"__v_skip",!0),e}const _e=e=>oe(e)?Hn(e):e,ur=e=>oe(e)?Ji(e):e;function fe(e){return e?e.__v_isRef===!0:!1}function en(e){return Gi(e,!1)}function ya(e){return Gi(e,!0)}function Gi(e,t){return fe(e)?e:new ba(e,t)}class ba{constructor(t,n){this.dep=new Dr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Q(t),this._value=n?t:_e(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ue(t)||$t(t);t=s?t:Q(t),Ct(t,n)&&(this._rawValue=t,this._value=s?t:_e(t),this.dep.trigger())}}function Oe(e){return fe(e)?e.value:e}const _a={get:(e,t,n)=>t==="__v_raw"?e:Oe(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return fe(r)&&!fe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Xi(e){return dt(e)?e:new Proxy(e,_a)}function va(e){const t=$(e)?new Array(e.length):{};for(const n in e)t[n]=Qi(e,n);return t}class wa{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return ea(Q(this._object),this._key)}}class Ea{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Sa(e,t,n){return fe(e)?e:K(e)?new Ea(e):oe(e)&&arguments.length>1?Qi(e,t,n):en(e)}function Qi(e,t,n){const s=e[t];return fe(s)?s:new wa(e,t,n)}class xa{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Dr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=An-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ue!==this)return ki(this,!0),!0}get value(){const t=this.dep.track();return ji(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ra(e,t,n=!1){let s,r;return K(e)?s=e:(s=e.get,r=e.set),new xa(s,r,n)}const Xn={},ls=new WeakMap;let Nt;function Ca(e,t=!1,n=Nt){if(n){let s=ls.get(n);s||ls.set(n,s=[]),s.push(e)}}function Ta(e,t,n=ce){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,u=L=>r?L:Ue(L)||r===!1||r===0?ft(L,1):ft(L);let a,f,p,m,y=!1,_=!1;if(fe(e)?(f=()=>e.value,y=Ue(e)):dt(e)?(f=()=>u(e),y=!0):$(e)?(_=!0,y=e.some(L=>dt(L)||Ue(L)),f=()=>e.map(L=>{if(fe(L))return L.value;if(dt(L))return u(L);if(K(L))return c?c(L,2):L()})):K(e)?t?f=c?()=>c(e,2):e:f=()=>{if(p){At();try{p()}finally{Ot()}}const L=Nt;Nt=a;try{return c?c(e,3,[m]):e(m)}finally{Nt=L}}:f=rt,t&&r){const L=f,j=r===!0?1/0:r;f=()=>ft(L(),j)}const x=Ii(),A=()=>{a.stop(),x&&x.active&&Lr(x.effects,a)};if(o&&t){const L=t;t=(...j)=>{L(...j),A()}}let C=_?new Array(e.length).fill(Xn):Xn;const P=L=>{if(!(!(a.flags&1)||!a.dirty&&!L))if(t){const j=a.run();if(r||y||(_?j.some((X,z)=>Ct(X,C[z])):Ct(j,C))){p&&p();const X=Nt;Nt=a;try{const z=[j,C===Xn?void 0:_&&C[0]===Xn?[]:C,m];c?c(t,3,z):t(...z),C=j}finally{Nt=X}}}else a.run()};return l&&l(P),a=new Ni(f),a.scheduler=i?()=>i(P,!1):P,m=L=>Ca(L,!1,a),p=a.onStop=()=>{const L=ls.get(a);if(L){if(c)c(L,4);else for(const j of L)j();ls.delete(a)}},t?s?P(!0):C=a.run():i?i(P.bind(null,!0),!0):a.run(),A.pause=a.pause.bind(a),A.resume=a.resume.bind(a),A.stop=A,A}function ft(e,t=1/0,n){if(t<=0||!oe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,fe(e))ft(e.value,t,n);else if($(e))for(let s=0;s{ft(s,t,n)});else if(Ri(e)){for(const s in e)ft(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ft(e[s],t,n)}return e}/** +* @vue/runtime-core v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Un(e,t,n,s){try{return s?e(...s):e()}catch(r){xs(r,t,n)}}function We(e,t,n,s){if(K(e)){const r=Un(e,t,n,s);return r&&Si(r)&&r.catch(o=>{xs(o,t,n)}),r}if($(e)){const r=[];for(let o=0;o>>1,r=xe[s],o=Pn(r);o=Pn(n)?xe.push(e):xe.splice(Oa(t),0,e),e.flags|=1,Zi()}}function Zi(){cs||(cs=Yi.then(tl))}function Pa(e){$(e)?Zt.push(...e):wt&&e.id===-1?wt.splice(Gt+1,0,e):e.flags&1||(Zt.push(e),e.flags|=1),Zi()}function lo(e,t,n=nt+1){for(;nPn(n)-Pn(s));if(Zt.length=0,wt){wt.push(...t);return}for(wt=t,Gt=0;Gte.id==null?e.flags&2?-1:1/0:e.id;function tl(e){try{for(nt=0;nt{s._d&&_o(-1);const o=as(t);let i;try{i=e(...r)}finally{as(o),s._d&&_o(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function kp(e,t){if(Re===null)return e;const n=Ls(Re),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,Et=Symbol("_leaveCb"),Qn=Symbol("_enterCb");function rl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return As(()=>{e.isMounted=!0}),dl(()=>{e.isUnmounting=!0}),e}const $e=[Function,Array],ol={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:$e,onEnter:$e,onAfterEnter:$e,onEnterCancelled:$e,onBeforeLeave:$e,onLeave:$e,onAfterLeave:$e,onLeaveCancelled:$e,onBeforeAppear:$e,onAppear:$e,onAfterAppear:$e,onAppearCancelled:$e},il=e=>{const t=e.subTree;return t.component?il(t.component):t},Ia={name:"BaseTransition",props:ol,setup(e,{slots:t}){const n=Fl(),s=rl();return()=>{const r=t.default&&Vr(t.default(),!0);if(!r||!r.length)return;const o=ll(r),i=Q(e),{mode:l}=i;if(s.isLeaving)return Ws(o);const c=co(o);if(!c)return Ws(o);let u=Ln(c,i,s,n,f=>u=f);c.type!==Ae&&Ht(c,u);let a=n.subTree&&co(n.subTree);if(a&&a.type!==Ae&&!Mt(c,a)&&il(n).type!==Ae){let f=Ln(a,i,s,n);if(Ht(a,f),l==="out-in"&&c.type!==Ae)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,a=void 0},Ws(o);l==="in-out"&&c.type!==Ae?f.delayLeave=(p,m,y)=>{const _=cl(s,a);_[String(a.key)]=a,p[Et]=()=>{m(),p[Et]=void 0,delete u.delayedLeave,a=void 0},u.delayedLeave=()=>{y(),delete u.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return o}}};function ll(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ae){t=n;break}}return t}const Na=Ia;function cl(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ln(e,t,n,s,r){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:f,onBeforeLeave:p,onLeave:m,onAfterLeave:y,onLeaveCancelled:_,onBeforeAppear:x,onAppear:A,onAfterAppear:C,onAppearCancelled:P}=t,L=String(e.key),j=cl(n,e),X=(N,W)=>{N&&We(N,s,9,W)},z=(N,W)=>{const ee=W[1];X(N,W),$(N)?N.every(F=>F.length<=1)&&ee():N.length<=1&&ee()},V={mode:i,persisted:l,beforeEnter(N){let W=c;if(!n.isMounted)if(o)W=x||c;else return;N[Et]&&N[Et](!0);const ee=j[L];ee&&Mt(e,ee)&&ee.el[Et]&&ee.el[Et](),X(W,[N])},enter(N){let W=u,ee=a,F=f;if(!n.isMounted)if(o)W=A||u,ee=C||a,F=P||f;else return;let Y=!1;const pe=N[Qn]=we=>{Y||(Y=!0,we?X(F,[N]):X(ee,[N]),V.delayedLeave&&V.delayedLeave(),N[Qn]=void 0)};W?z(W,[N,pe]):pe()},leave(N,W){const ee=String(e.key);if(N[Qn]&&N[Qn](!0),n.isUnmounting)return W();X(p,[N]);let F=!1;const Y=N[Et]=pe=>{F||(F=!0,W(),pe?X(_,[N]):X(y,[N]),N[Et]=void 0,j[ee]===e&&delete j[ee])};j[ee]=e,m?z(m,[N,Y]):Y()},clone(N){const W=Ln(N,t,n,s,r);return r&&r(W),W}};return V}function Ws(e){if(Cs(e))return e=Tt(e),e.children=null,e}function co(e){if(!Cs(e))return sl(e.type)&&e.children?ll(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&K(n.default))return n.default()}}function Ht(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ht(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Vr(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;ofs(y,t&&($(t)?t[_]:t),n,s,r));return}if(wn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&fs(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Ls(s.component):s.el,i=r?null:o,{i:l,r:c}=e,u=t&&t.r,a=l.refs===ce?l.refs={}:l.refs,f=l.setupState,p=Q(f),m=f===ce?()=>!1:y=>se(p,y);if(u!=null&&u!==c&&(de(u)?(a[u]=null,m(u)&&(f[u]=null)):fe(u)&&(u.value=null)),K(c))Un(c,l,12,[i,a]);else{const y=de(c),_=fe(c);if(y||_){const x=()=>{if(e.f){const A=y?m(c)?f[c]:a[c]:c.value;r?$(A)&&Lr(A,o):$(A)?A.includes(o)||A.push(o):y?(a[c]=[o],m(c)&&(f[c]=a[c])):(c.value=[o],e.k&&(a[e.k]=c.value))}else y?(a[c]=i,m(c)&&(f[c]=i)):_&&(c.value=i,e.k&&(a[e.k]=i))};i?(x.id=-1,Me(x,n)):x()}}}ws().requestIdleCallback;ws().cancelIdleCallback;const wn=e=>!!e.type.__asyncLoader,Cs=e=>e.type.__isKeepAlive;function Ma(e,t){ul(e,"a",t)}function ka(e,t){ul(e,"da",t)}function ul(e,t,n=ye){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ts(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Cs(r.parent.vnode)&&Fa(s,t,n,r),r=r.parent}}function Fa(e,t,n,s){const r=Ts(t,e,s,!0);qr(()=>{Lr(s[t],r)},n)}function Ts(e,t,n=ye,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{At();const l=qn(n),c=We(t,n,e,i);return l(),Ot(),c});return s?r.unshift(o):r.push(o),o}}const pt=e=>(t,n=ye)=>{(!Mn||e==="sp")&&Ts(e,(...s)=>t(...s),n)},Da=pt("bm"),As=pt("m"),ja=pt("bu"),fl=pt("u"),dl=pt("bum"),qr=pt("um"),Ba=pt("sp"),$a=pt("rtg"),Ha=pt("rtc");function Ua(e,t=ye){Ts("ec",e,t)}const hl="components";function Fp(e,t){return gl(hl,e,!0,t)||e}const pl=Symbol.for("v-ndc");function ml(e){return de(e)?gl(hl,e,!1)||e:e||pl}function gl(e,t,n=!0,s=!1){const r=Re||ye;if(r){const o=r.type;{const l=Nu(o,!1);if(l&&(l===t||l===Ve(t)||l===vs(Ve(t))))return o}const i=ao(r[e]||o[e],t)||ao(r.appContext[e],t);return!i&&s?o:i}}function ao(e,t){return e&&(e[t]||e[Ve(t)]||e[vs(Ve(t))])}function Va(e,t,n,s){let r;const o=n,i=$(e);if(i||de(e)){const l=i&&dt(e);let c=!1;l&&(c=!Ue(e),e=Ss(e)),r=new Array(e.length);for(let u=0,a=e.length;ut(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,u=l.length;ce?Dl(e)?Ls(e):fr(e.parent):null,En=ge(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>fr(e.parent),$root:e=>fr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>bl(e),$forceUpdate:e=>e.f||(e.f=()=>{Ur(e.update)}),$nextTick:e=>e.n||(e.n=Rs.bind(e.proxy)),$watch:e=>du.bind(e)}),zs=(e,t)=>e!==ce&&!e.__isScriptSetup&&se(e,t),qa={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(zs(s,t))return i[t]=1,s[t];if(r!==ce&&se(r,t))return i[t]=2,r[t];if((u=e.propsOptions[0])&&se(u,t))return i[t]=3,o[t];if(n!==ce&&se(n,t))return i[t]=4,n[t];dr&&(i[t]=0)}}const a=En[t];let f,p;if(a)return t==="$attrs"&&be(e.attrs,"get",""),a(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ce&&se(n,t))return i[t]=4,n[t];if(p=c.config.globalProperties,se(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return zs(r,t)?(r[t]=n,!0):s!==ce&&se(s,t)?(s[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==ce&&se(e,i)||zs(t,i)||(l=o[0])&&se(l,i)||se(s,i)||se(En,i)||se(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function uo(e){return $(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let dr=!0;function Ka(e){const t=bl(e),n=e.proxy,s=e.ctx;dr=!1,t.beforeCreate&&fo(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:u,created:a,beforeMount:f,mounted:p,beforeUpdate:m,updated:y,activated:_,deactivated:x,beforeDestroy:A,beforeUnmount:C,destroyed:P,unmounted:L,render:j,renderTracked:X,renderTriggered:z,errorCaptured:V,serverPrefetch:N,expose:W,inheritAttrs:ee,components:F,directives:Y,filters:pe}=t;if(u&&Wa(u,s,null),i)for(const G in i){const te=i[G];K(te)&&(s[G]=te.bind(n))}if(r){const G=r.call(n,n);oe(G)&&(e.data=Hn(G))}if(dr=!0,o)for(const G in o){const te=o[G],it=K(te)?te.bind(n,n):K(te.get)?te.get.bind(n,n):rt,mt=!K(te)&&K(te.set)?te.set.bind(n):rt,Ge=Fe({get:it,set:mt});Object.defineProperty(s,G,{enumerable:!0,configurable:!0,get:()=>Ge.value,set:Ce=>Ge.value=Ce})}if(l)for(const G in l)yl(l[G],s,n,G);if(c){const G=K(c)?c.call(n):c;Reflect.ownKeys(G).forEach(te=>{jt(te,G[te])})}a&&fo(a,e,"c");function ie(G,te){$(te)?te.forEach(it=>G(it.bind(n))):te&&G(te.bind(n))}if(ie(Da,f),ie(As,p),ie(ja,m),ie(fl,y),ie(Ma,_),ie(ka,x),ie(Ua,V),ie(Ha,X),ie($a,z),ie(dl,C),ie(qr,L),ie(Ba,N),$(W))if(W.length){const G=e.exposed||(e.exposed={});W.forEach(te=>{Object.defineProperty(G,te,{get:()=>n[te],set:it=>n[te]=it})})}else e.exposed||(e.exposed={});j&&e.render===rt&&(e.render=j),ee!=null&&(e.inheritAttrs=ee),F&&(e.components=F),Y&&(e.directives=Y),N&&al(e)}function Wa(e,t,n=rt){$(e)&&(e=hr(e));for(const s in e){const r=e[s];let o;oe(r)?"default"in r?o=Pe(r.from||s,r.default,!0):o=Pe(r.from||s):o=Pe(r),fe(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function fo(e,t,n){We($(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function yl(e,t,n,s){let r=s.includes(".")?Ll(n,s):()=>n[s];if(de(e)){const o=t[e];K(o)&&Sn(r,o)}else if(K(e))Sn(r,e.bind(n));else if(oe(e))if($(e))e.forEach(o=>yl(o,t,n,s));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&Sn(r,o,e)}}function bl(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>ds(c,u,i,!0)),ds(c,t,i)),oe(t)&&o.set(t,c),c}function ds(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&ds(e,o,n,!0),r&&r.forEach(i=>ds(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=za[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const za={data:ho,props:po,emits:po,methods:yn,computed:yn,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:yn,directives:yn,watch:Ga,provide:ho,inject:Ja};function ho(e,t){return t?e?function(){return ge(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function Ja(e,t){return yn(hr(e),hr(t))}function hr(e){if($(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(s&&s.proxy):t}}function Ya(){return!!(ye||Re||Dt)}const vl={},wl=()=>Object.create(vl),El=e=>Object.getPrototypeOf(e)===vl;function Za(e,t,n,s=!1){const r={},o=wl();e.propsDefaults=Object.create(null),Sl(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:zi(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function eu(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=Q(r),[c]=e.propsOptions;let u=!1;if((s||i>0)&&!(i&16)){if(i&8){const a=e.vnode.dynamicProps;for(let f=0;f{c=!0;const[p,m]=xl(f,t,!0);ge(i,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!o&&!c)return oe(e)&&s.set(e,Qt),Qt;if($(o))for(let a=0;ae[0]==="_"||e==="$stable",Kr=e=>$(e)?e.map(st):[st(e)],nu=(e,t,n)=>{if(t._n)return t;const s=us((...r)=>Kr(t(...r)),n);return s._c=!1,s},Cl=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Rl(r))continue;const o=e[r];if(K(o))t[r]=nu(r,o,s);else if(o!=null){const i=Kr(o);t[r]=()=>i}}},Tl=(e,t)=>{const n=Kr(t);e.slots.default=()=>n},Al=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},su=(e,t,n)=>{const s=e.slots=wl();if(e.vnode.shapeFlag&32){const r=t._;r?(Al(s,t,n),n&&Ci(s,"_",r,!0)):Cl(t,s)}else t&&Tl(e,t)},ru=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ce;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Al(r,t,n):(o=!t.$stable,Cl(t,r)),i=t}else t&&(Tl(e,t),i={default:1});if(o)for(const l in r)!Rl(l)&&i[l]==null&&delete r[l]},Me=_u;function ou(e){return iu(e)}function iu(e,t){const n=ws();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:u,setElementText:a,parentNode:f,nextSibling:p,setScopeId:m=rt,insertStaticContent:y}=e,_=(d,h,g,v=null,S=null,E=null,I=void 0,O=null,T=!!h.dynamicChildren)=>{if(d===h)return;d&&!Mt(d,h)&&(v=w(d),Ce(d,S,E,!0),d=null),h.patchFlag===-2&&(T=!1,h.dynamicChildren=null);const{type:R,ref:U,shapeFlag:k}=h;switch(R){case Ps:x(d,h,g,v);break;case Ae:A(d,h,g,v);break;case Gs:d==null&&C(h,g,v,I);break;case He:F(d,h,g,v,S,E,I,O,T);break;default:k&1?j(d,h,g,v,S,E,I,O,T):k&6?Y(d,h,g,v,S,E,I,O,T):(k&64||k&128)&&R.process(d,h,g,v,S,E,I,O,T,B)}U!=null&&S&&fs(U,d&&d.ref,E,h||d,!h)},x=(d,h,g,v)=>{if(d==null)s(h.el=l(h.children),g,v);else{const S=h.el=d.el;h.children!==d.children&&u(S,h.children)}},A=(d,h,g,v)=>{d==null?s(h.el=c(h.children||""),g,v):h.el=d.el},C=(d,h,g,v)=>{[d.el,d.anchor]=y(d.children,h,g,v,d.el,d.anchor)},P=({el:d,anchor:h},g,v)=>{let S;for(;d&&d!==h;)S=p(d),s(d,g,v),d=S;s(h,g,v)},L=({el:d,anchor:h})=>{let g;for(;d&&d!==h;)g=p(d),r(d),d=g;r(h)},j=(d,h,g,v,S,E,I,O,T)=>{h.type==="svg"?I="svg":h.type==="math"&&(I="mathml"),d==null?X(h,g,v,S,E,I,O,T):N(d,h,S,E,I,O,T)},X=(d,h,g,v,S,E,I,O)=>{let T,R;const{props:U,shapeFlag:k,transition:H,dirs:q}=d;if(T=d.el=i(d.type,E,U&&U.is,U),k&8?a(T,d.children):k&16&&V(d.children,T,null,v,S,Js(d,E),I,O),q&&Pt(d,null,v,"created"),z(T,d,d.scopeId,I,v),U){for(const ae in U)ae!=="value"&&!bn(ae)&&o(T,ae,null,U[ae],E,v);"value"in U&&o(T,"value",null,U.value,E),(R=U.onVnodeBeforeMount)&&Ze(R,v,d)}q&&Pt(d,null,v,"beforeMount");const Z=lu(S,H);Z&&H.beforeEnter(T),s(T,h,g),((R=U&&U.onVnodeMounted)||Z||q)&&Me(()=>{R&&Ze(R,v,d),Z&&H.enter(T),q&&Pt(d,null,v,"mounted")},S)},z=(d,h,g,v,S)=>{if(g&&m(d,g),v)for(let E=0;E{for(let R=T;R{const O=h.el=d.el;let{patchFlag:T,dynamicChildren:R,dirs:U}=h;T|=d.patchFlag&16;const k=d.props||ce,H=h.props||ce;let q;if(g&&Lt(g,!1),(q=H.onVnodeBeforeUpdate)&&Ze(q,g,h,d),U&&Pt(h,d,g,"beforeUpdate"),g&&Lt(g,!0),(k.innerHTML&&H.innerHTML==null||k.textContent&&H.textContent==null)&&a(O,""),R?W(d.dynamicChildren,R,O,g,v,Js(h,S),E):I||te(d,h,O,null,g,v,Js(h,S),E,!1),T>0){if(T&16)ee(O,k,H,g,S);else if(T&2&&k.class!==H.class&&o(O,"class",null,H.class,S),T&4&&o(O,"style",k.style,H.style,S),T&8){const Z=h.dynamicProps;for(let ae=0;ae{q&&Ze(q,g,h,d),U&&Pt(h,d,g,"updated")},v)},W=(d,h,g,v,S,E,I)=>{for(let O=0;O{if(h!==g){if(h!==ce)for(const E in h)!bn(E)&&!(E in g)&&o(d,E,h[E],null,S,v);for(const E in g){if(bn(E))continue;const I=g[E],O=h[E];I!==O&&E!=="value"&&o(d,E,O,I,S,v)}"value"in g&&o(d,"value",h.value,g.value,S)}},F=(d,h,g,v,S,E,I,O,T)=>{const R=h.el=d?d.el:l(""),U=h.anchor=d?d.anchor:l("");let{patchFlag:k,dynamicChildren:H,slotScopeIds:q}=h;q&&(O=O?O.concat(q):q),d==null?(s(R,g,v),s(U,g,v),V(h.children||[],g,U,S,E,I,O,T)):k>0&&k&64&&H&&d.dynamicChildren?(W(d.dynamicChildren,H,g,S,E,I,O),(h.key!=null||S&&h===S.subTree)&&Ol(d,h,!0)):te(d,h,g,U,S,E,I,O,T)},Y=(d,h,g,v,S,E,I,O,T)=>{h.slotScopeIds=O,d==null?h.shapeFlag&512?S.ctx.activate(h,g,v,I,T):pe(h,g,v,S,E,I,T):we(d,h,T)},pe=(d,h,g,v,S,E,I)=>{const O=d.component=Au(d,v,S);if(Cs(d)&&(O.ctx.renderer=B),Ou(O,!1,I),O.asyncDep){if(S&&S.registerDep(O,ie,I),!d.el){const T=O.subTree=me(Ae);A(null,T,h,g)}}else ie(O,d,h,g,S,E,I)},we=(d,h,g)=>{const v=h.component=d.component;if(yu(d,h,g))if(v.asyncDep&&!v.asyncResolved){G(v,h,g);return}else v.next=h,v.update();else h.el=d.el,v.vnode=h},ie=(d,h,g,v,S,E,I)=>{const O=()=>{if(d.isMounted){let{next:k,bu:H,u:q,parent:Z,vnode:ae}=d;{const Qe=Pl(d);if(Qe){k&&(k.el=ae.el,G(d,k,I)),Qe.asyncDep.then(()=>{d.isUnmounted||O()});return}}let re=k,Ie;Lt(d,!1),k?(k.el=ae.el,G(d,k,I)):k=ae,H&&Zn(H),(Ie=k.props&&k.props.onVnodeBeforeUpdate)&&Ze(Ie,Z,k,ae),Lt(d,!0);const Te=yo(d),Xe=d.subTree;d.subTree=Te,_(Xe,Te,f(Xe.el),w(Xe),d,S,E),k.el=Te.el,re===null&&bu(d,Te.el),q&&Me(q,S),(Ie=k.props&&k.props.onVnodeUpdated)&&Me(()=>Ze(Ie,Z,k,ae),S)}else{let k;const{el:H,props:q}=h,{bm:Z,m:ae,parent:re,root:Ie,type:Te}=d,Xe=wn(h);Lt(d,!1),Z&&Zn(Z),!Xe&&(k=q&&q.onVnodeBeforeMount)&&Ze(k,re,h),Lt(d,!0);{Ie.ce&&Ie.ce._injectChildStyle(Te);const Qe=d.subTree=yo(d);_(null,Qe,g,v,d,S,E),h.el=Qe.el}if(ae&&Me(ae,S),!Xe&&(k=q&&q.onVnodeMounted)){const Qe=h;Me(()=>Ze(k,re,Qe),S)}(h.shapeFlag&256||re&&wn(re.vnode)&&re.vnode.shapeFlag&256)&&d.a&&Me(d.a,S),d.isMounted=!0,h=g=v=null}};d.scope.on();const T=d.effect=new Ni(O);d.scope.off();const R=d.update=T.run.bind(T),U=d.job=T.runIfDirty.bind(T);U.i=d,U.id=d.uid,T.scheduler=()=>Ur(U),Lt(d,!0),R()},G=(d,h,g)=>{h.component=d;const v=d.vnode.props;d.vnode=h,d.next=null,eu(d,h.props,v,g),ru(d,h.children,g),At(),lo(d),Ot()},te=(d,h,g,v,S,E,I,O,T=!1)=>{const R=d&&d.children,U=d?d.shapeFlag:0,k=h.children,{patchFlag:H,shapeFlag:q}=h;if(H>0){if(H&128){mt(R,k,g,v,S,E,I,O,T);return}else if(H&256){it(R,k,g,v,S,E,I,O,T);return}}q&8?(U&16&&Be(R,S,E),k!==R&&a(g,k)):U&16?q&16?mt(R,k,g,v,S,E,I,O,T):Be(R,S,E,!0):(U&8&&a(g,""),q&16&&V(k,g,v,S,E,I,O,T))},it=(d,h,g,v,S,E,I,O,T)=>{d=d||Qt,h=h||Qt;const R=d.length,U=h.length,k=Math.min(R,U);let H;for(H=0;HU?Be(d,S,E,!0,!1,k):V(h,g,v,S,E,I,O,T,k)},mt=(d,h,g,v,S,E,I,O,T)=>{let R=0;const U=h.length;let k=d.length-1,H=U-1;for(;R<=k&&R<=H;){const q=d[R],Z=h[R]=T?St(h[R]):st(h[R]);if(Mt(q,Z))_(q,Z,g,null,S,E,I,O,T);else break;R++}for(;R<=k&&R<=H;){const q=d[k],Z=h[H]=T?St(h[H]):st(h[H]);if(Mt(q,Z))_(q,Z,g,null,S,E,I,O,T);else break;k--,H--}if(R>k){if(R<=H){const q=H+1,Z=qH)for(;R<=k;)Ce(d[R],S,E,!0),R++;else{const q=R,Z=R,ae=new Map;for(R=Z;R<=H;R++){const Ne=h[R]=T?St(h[R]):st(h[R]);Ne.key!=null&&ae.set(Ne.key,R)}let re,Ie=0;const Te=H-Z+1;let Xe=!1,Qe=0;const dn=new Array(Te);for(R=0;R=Te){Ce(Ne,S,E,!0);continue}let Ye;if(Ne.key!=null)Ye=ae.get(Ne.key);else for(re=Z;re<=H;re++)if(dn[re-Z]===0&&Mt(Ne,h[re])){Ye=re;break}Ye===void 0?Ce(Ne,S,E,!0):(dn[Ye-Z]=R+1,Ye>=Qe?Qe=Ye:Xe=!0,_(Ne,h[Ye],g,null,S,E,I,O,T),Ie++)}const to=Xe?cu(dn):Qt;for(re=to.length-1,R=Te-1;R>=0;R--){const Ne=Z+R,Ye=h[Ne],no=Ne+1{const{el:E,type:I,transition:O,children:T,shapeFlag:R}=d;if(R&6){Ge(d.component.subTree,h,g,v);return}if(R&128){d.suspense.move(h,g,v);return}if(R&64){I.move(d,h,g,B);return}if(I===He){s(E,h,g);for(let k=0;kO.enter(E),S);else{const{leave:k,delayLeave:H,afterLeave:q}=O,Z=()=>s(E,h,g),ae=()=>{k(E,()=>{Z(),q&&q()})};H?H(E,Z,ae):ae()}else s(E,h,g)},Ce=(d,h,g,v=!1,S=!1)=>{const{type:E,props:I,ref:O,children:T,dynamicChildren:R,shapeFlag:U,patchFlag:k,dirs:H,cacheIndex:q}=d;if(k===-2&&(S=!1),O!=null&&fs(O,null,g,d,!0),q!=null&&(h.renderCache[q]=void 0),U&256){h.ctx.deactivate(d);return}const Z=U&1&&H,ae=!wn(d);let re;if(ae&&(re=I&&I.onVnodeBeforeUnmount)&&Ze(re,h,d),U&6)zn(d.component,g,v);else{if(U&128){d.suspense.unmount(g,v);return}Z&&Pt(d,null,h,"beforeUnmount"),U&64?d.type.remove(d,h,g,B,v):R&&!R.hasOnce&&(E!==He||k>0&&k&64)?Be(R,h,g,!1,!0):(E===He&&k&384||!S&&U&16)&&Be(T,h,g),v&&Kt(d)}(ae&&(re=I&&I.onVnodeUnmounted)||Z)&&Me(()=>{re&&Ze(re,h,d),Z&&Pt(d,null,h,"unmounted")},g)},Kt=d=>{const{type:h,el:g,anchor:v,transition:S}=d;if(h===He){Wt(g,v);return}if(h===Gs){L(d);return}const E=()=>{r(g),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(d.shapeFlag&1&&S&&!S.persisted){const{leave:I,delayLeave:O}=S,T=()=>I(g,E);O?O(d.el,E,T):T()}else E()},Wt=(d,h)=>{let g;for(;d!==h;)g=p(d),r(d),d=g;r(h)},zn=(d,h,g)=>{const{bum:v,scope:S,job:E,subTree:I,um:O,m:T,a:R}=d;go(T),go(R),v&&Zn(v),S.stop(),E&&(E.flags|=8,Ce(I,d,h,g)),O&&Me(O,h),Me(()=>{d.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},Be=(d,h,g,v=!1,S=!1,E=0)=>{for(let I=E;I{if(d.shapeFlag&6)return w(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),g=h&&h[La];return g?p(g):h};let D=!1;const M=(d,h,g)=>{d==null?h._vnode&&Ce(h._vnode,null,null,!0):_(h._vnode||null,d,h,null,null,null,g),h._vnode=d,D||(D=!0,lo(),el(),D=!1)},B={p:_,um:Ce,m:Ge,r:Kt,mt:pe,mc:V,pc:te,pbc:W,n:w,o:e};return{render:M,hydrate:void 0,createApp:Qa(M)}}function Js({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Lt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function lu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ol(e,t,n=!1){const s=e.children,r=t.children;if($(s)&&$(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Pl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Pl(t)}function go(e){if(e)for(let t=0;tPe(au);function fu(e,t){return Wr(e,null,t)}function Sn(e,t,n){return Wr(e,t,n)}function Wr(e,t,n=ce){const{immediate:s,deep:r,flush:o,once:i}=n,l=ge({},n),c=t&&s||!t&&o!=="post";let u;if(Mn){if(o==="sync"){const m=uu();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=rt,m.resume=rt,m.pause=rt,m}}const a=ye;l.call=(m,y,_)=>We(m,a,y,_);let f=!1;o==="post"?l.scheduler=m=>{Me(m,a&&a.suspense)}:o!=="sync"&&(f=!0,l.scheduler=(m,y)=>{y?m():Ur(m)}),l.augmentJob=m=>{t&&(m.flags|=4),f&&(m.flags|=2,a&&(m.id=a.uid,m.i=a))};const p=Ta(e,t,l);return Mn&&(u?u.push(p):c&&p()),p}function du(e,t,n){const s=this.proxy,r=de(e)?e.includes(".")?Ll(s,e):()=>s[e]:e.bind(s,s);let o;K(t)?o=t:(o=t.handler,n=t);const i=qn(this),l=Wr(r,o.bind(s),n);return i(),l}function Ll(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ve(t)}Modifiers`]||e[`${Vt(t)}Modifiers`];function pu(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ce;let r=n;const o=t.startsWith("update:"),i=o&&hu(s,t.slice(7));i&&(i.trim&&(r=n.map(a=>de(a)?a.trim():a)),i.number&&(r=n.map(os)));let l,c=s[l=Hs(t)]||s[l=Hs(Ve(t))];!c&&o&&(c=s[l=Hs(Vt(t))]),c&&We(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,We(u,e,6,r)}}function Il(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!K(e)){const c=u=>{const a=Il(u,t,!0);a&&(l=!0,ge(i,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(oe(e)&&s.set(e,null),null):($(o)?o.forEach(c=>i[c]=null):ge(i,o),oe(e)&&s.set(e,i),i)}function Os(e,t){return!e||!bs(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,Vt(t))||se(e,t))}function yo(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:u,renderCache:a,props:f,data:p,setupState:m,ctx:y,inheritAttrs:_}=e,x=as(e);let A,C;try{if(n.shapeFlag&4){const L=r||s,j=L;A=st(u.call(j,L,a,f,m,p,y)),C=l}else{const L=t;A=st(L.length>1?L(f,{attrs:l,slots:i,emit:c}):L(f,null)),C=t.props?l:mu(l)}}catch(L){xn.length=0,xs(L,e,1),A=me(Ae)}let P=A;if(C&&_!==!1){const L=Object.keys(C),{shapeFlag:j}=P;L.length&&j&7&&(o&&L.some(Pr)&&(C=gu(C,o)),P=Tt(P,C,!1,!0))}return n.dirs&&(P=Tt(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(n.dirs):n.dirs),n.transition&&Ht(P,n.transition),A=P,as(x),A}const mu=e=>{let t;for(const n in e)(n==="class"||n==="style"||bs(n))&&((t||(t={}))[n]=e[n]);return t},gu=(e,t)=>{const n={};for(const s in e)(!Pr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function yu(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?bo(s,i,u):!!i;if(c&8){const a=t.dynamicProps;for(let f=0;fe.__isSuspense;function _u(e,t){t&&t.pendingBranch?$(e)?t.effects.push(...e):t.effects.push(e):Pa(e)}const He=Symbol.for("v-fgt"),Ps=Symbol.for("v-txt"),Ae=Symbol.for("v-cmt"),Gs=Symbol.for("v-stc"),xn=[];let De=null;function qe(e=!1){xn.push(De=e?null:[])}function vu(){xn.pop(),De=xn[xn.length-1]||null}let In=1;function _o(e,t=!1){In+=e,e<0&&De&&t&&(De.hasOnce=!0)}function Ml(e){return e.dynamicChildren=In>0?De||Qt:null,vu(),In>0&&De&&De.push(e),e}function Nn(e,t,n,s,r,o){return Ml(ke(e,t,n,s,r,o,!0))}function tn(e,t,n,s,r){return Ml(me(e,t,n,s,r,!0))}function hs(e){return e?e.__v_isVNode===!0:!1}function Mt(e,t){return e.type===t.type&&e.key===t.key}const kl=({key:e})=>e??null,es=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?de(e)||fe(e)||K(e)?{i:Re,r:e,k:t,f:!!n}:e:null);function ke(e,t=null,n=null,s=0,r=null,o=e===He?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&kl(t),ref:t&&es(t),scopeId:nl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Re};return l?(zr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=de(n)?8:16),In>0&&!i&&De&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&De.push(c),c}const me=wu;function wu(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===pl)&&(e=Ae),hs(e)){const l=Tt(e,t,!0);return n&&zr(l,n),In>0&&!o&&De&&(l.shapeFlag&6?De[De.indexOf(e)]=l:De.push(l)),l.patchFlag=-2,l}if(Mu(e)&&(e=e.__vccOpts),t){t=Eu(t);let{class:l,style:c}=t;l&&!de(l)&&(t.class=an(l)),oe(c)&&($r(c)&&!$(c)&&(c=ge({},c)),t.style=Es(c))}const i=de(e)?1:Nl(e)?128:sl(e)?64:oe(e)?4:K(e)?2:0;return ke(e,t,n,s,r,i,o,!0)}function Eu(e){return e?$r(e)||El(e)?ge({},e):e:null}function Tt(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,u=t?Ru(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&kl(u),ref:t&&t.ref?n&&o?$(o)?o.concat(es(t)):[o,es(t)]:es(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==He?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Tt(e.ssContent),ssFallback:e.ssFallback&&Tt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Ht(a,c.clone(a)),a}function Su(e=" ",t=0){return me(Ps,null,e,t)}function xu(e="",t=!1){return t?(qe(),tn(Ae,null,e)):me(Ae,null,e)}function st(e){return e==null||typeof e=="boolean"?me(Ae):$(e)?me(He,null,e.slice()):hs(e)?St(e):me(Ps,null,String(e))}function St(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Tt(e)}function zr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if($(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),zr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!El(t)?t._ctx=Re:r===3&&Re&&(Re.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:Re},n=32):(t=String(t),s&64?(n=16,t=[Su(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ru(...e){const t={};for(let n=0;nye||Re;let ps,mr;{const e=ws(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};ps=t("__VUE_INSTANCE_SETTERS__",n=>ye=n),mr=t("__VUE_SSR_SETTERS__",n=>Mn=n)}const qn=e=>{const t=ye;return ps(e),e.scope.on(),()=>{e.scope.off(),ps(t)}},vo=()=>{ye&&ye.scope.off(),ps(null)};function Dl(e){return e.vnode.shapeFlag&4}let Mn=!1;function Ou(e,t=!1,n=!1){t&&mr(t);const{props:s,children:r}=e.vnode,o=Dl(e);Za(e,s,o,t),su(e,r,n);const i=o?Pu(e,t):void 0;return t&&mr(!1),i}function Pu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,qa);const{setup:s}=n;if(s){At();const r=e.setupContext=s.length>1?Iu(e):null,o=qn(e),i=Un(s,e,0,[e.props,r]),l=Si(i);if(Ot(),o(),(l||e.sp)&&!wn(e)&&al(e),l){if(i.then(vo,vo),t)return i.then(c=>{wo(e,c)}).catch(c=>{xs(c,e,0)});e.asyncDep=i}else wo(e,i)}else jl(e)}function wo(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:oe(t)&&(e.setupState=Xi(t)),jl(e)}function jl(e,t,n){const s=e.type;e.render||(e.render=s.render||rt);{const r=qn(e);At();try{Ka(e)}finally{Ot(),r()}}}const Lu={get(e,t){return be(e,"get",""),e[t]}};function Iu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Lu),slots:e.slots,emit:e.emit,expose:t}}function Ls(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Xi(Hr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in En)return En[n](e)},has(t,n){return n in t||n in En}})):e.proxy}function Nu(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function Mu(e){return K(e)&&"__vccOpts"in e}const Fe=(e,t)=>Ra(e,t,Mn);function nn(e,t,n){const s=arguments.length;return s===2?oe(t)&&!$(t)?hs(t)?me(e,null,[t]):me(e,t):me(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&hs(n)&&(n=[n]),me(e,t,n))}const ku="3.5.13";/** +* @vue/runtime-dom v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let gr;const Eo=typeof window<"u"&&window.trustedTypes;if(Eo)try{gr=Eo.createPolicy("vue",{createHTML:e=>e})}catch{}const Bl=gr?e=>gr.createHTML(e):e=>e,Fu="http://www.w3.org/2000/svg",Du="http://www.w3.org/1998/Math/MathML",at=typeof document<"u"?document:null,So=at&&at.createElement("template"),ju={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?at.createElementNS(Fu,e):t==="mathml"?at.createElementNS(Du,e):n?at.createElement(e,{is:n}):at.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>at.createTextNode(e),createComment:e=>at.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>at.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{So.innerHTML=Bl(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=So.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},gt="transition",pn="animation",sn=Symbol("_vtc"),$l={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Hl=ge({},ol,$l),Bu=e=>(e.displayName="Transition",e.props=Hl,e),$u=Bu((e,{slots:t})=>nn(Na,Ul(e),t)),It=(e,t=[])=>{$(e)?e.forEach(n=>n(...t)):e&&e(...t)},xo=e=>e?$(e)?e.some(t=>t.length>1):e.length>1:!1;function Ul(e){const t={};for(const F in e)F in $l||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:u=i,appearToClass:a=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,y=Hu(r),_=y&&y[0],x=y&&y[1],{onBeforeEnter:A,onEnter:C,onEnterCancelled:P,onLeave:L,onLeaveCancelled:j,onBeforeAppear:X=A,onAppear:z=C,onAppearCancelled:V=P}=t,N=(F,Y,pe,we)=>{F._enterCancelled=we,bt(F,Y?a:l),bt(F,Y?u:i),pe&&pe()},W=(F,Y)=>{F._isLeaving=!1,bt(F,f),bt(F,m),bt(F,p),Y&&Y()},ee=F=>(Y,pe)=>{const we=F?z:C,ie=()=>N(Y,F,pe);It(we,[Y,ie]),Ro(()=>{bt(Y,F?c:o),tt(Y,F?a:l),xo(we)||Co(Y,s,_,ie)})};return ge(t,{onBeforeEnter(F){It(A,[F]),tt(F,o),tt(F,i)},onBeforeAppear(F){It(X,[F]),tt(F,c),tt(F,u)},onEnter:ee(!1),onAppear:ee(!0),onLeave(F,Y){F._isLeaving=!0;const pe=()=>W(F,Y);tt(F,f),F._enterCancelled?(tt(F,p),yr()):(yr(),tt(F,p)),Ro(()=>{F._isLeaving&&(bt(F,f),tt(F,m),xo(L)||Co(F,s,x,pe))}),It(L,[F,pe])},onEnterCancelled(F){N(F,!1,void 0,!0),It(P,[F])},onAppearCancelled(F){N(F,!0,void 0,!0),It(V,[F])},onLeaveCancelled(F){W(F),It(j,[F])}})}function Hu(e){if(e==null)return null;if(oe(e))return[Xs(e.enter),Xs(e.leave)];{const t=Xs(e);return[t,t]}}function Xs(e){return Uc(e)}function tt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[sn]||(e[sn]=new Set)).add(t)}function bt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[sn];n&&(n.delete(t),n.size||(e[sn]=void 0))}function Ro(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Uu=0;function Co(e,t,n,s){const r=e._endId=++Uu,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=Vl(e,t);if(!i)return s();const u=i+"end";let a=0;const f=()=>{e.removeEventListener(u,p),o()},p=m=>{m.target===e&&++a>=c&&f()};setTimeout(()=>{a(n[y]||"").split(", "),r=s(`${gt}Delay`),o=s(`${gt}Duration`),i=To(r,o),l=s(`${pn}Delay`),c=s(`${pn}Duration`),u=To(l,c);let a=null,f=0,p=0;t===gt?i>0&&(a=gt,f=i,p=o.length):t===pn?u>0&&(a=pn,f=u,p=c.length):(f=Math.max(i,u),a=f>0?i>u?gt:pn:null,p=a?a===gt?o.length:c.length:0);const m=a===gt&&/\b(transform|all)(,|$)/.test(s(`${gt}Property`).toString());return{type:a,timeout:f,propCount:p,hasTransform:m}}function To(e,t){for(;e.lengthAo(n)+Ao(e[s])))}function Ao(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function yr(){return document.body.offsetHeight}function Vu(e,t,n){const s=e[sn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Oo=Symbol("_vod"),qu=Symbol("_vsh"),Ku=Symbol(""),Wu=/(^|;)\s*display\s*:/;function zu(e,t,n){const s=e.style,r=de(n);let o=!1;if(n&&!r){if(t)if(de(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&ts(s,l,"")}else for(const i in t)n[i]==null&&ts(s,i,"");for(const i in n)i==="display"&&(o=!0),ts(s,i,n[i])}else if(r){if(t!==n){const i=s[Ku];i&&(n+=";"+i),s.cssText=n,o=Wu.test(n)}}else t&&e.removeAttribute("style");Oo in e&&(e[Oo]=o?s.display:"",e[qu]&&(s.display="none"))}const Po=/\s*!important$/;function ts(e,t,n){if($(n))n.forEach(s=>ts(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ju(e,t);Po.test(n)?e.setProperty(Vt(s),n.replace(Po,""),"important"):e[s]=n}}const Lo=["Webkit","Moz","ms"],Qs={};function Ju(e,t){const n=Qs[t];if(n)return n;let s=Ve(t);if(s!=="filter"&&s in e)return Qs[t]=s;s=vs(s);for(let r=0;rYs||(Yu.then(()=>Ys=0),Ys=Date.now());function ef(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;We(tf(s,n.value),t,5,[s])};return n.value=e,n.attached=Zu(),n}function tf(e,t){if($(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Do=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,nf=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Vu(e,s,i):t==="style"?zu(e,n,s):bs(t)?Pr(t)||Xu(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sf(e,t,s,i))?(Mo(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&No(e,t,s,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!de(s))?Mo(e,Ve(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),No(e,t,s,i))};function sf(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Do(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Do(t)&&de(n)?!1:t in e}const ql=new WeakMap,Kl=new WeakMap,ms=Symbol("_moveCb"),jo=Symbol("_enterCb"),rf=e=>(delete e.props.mode,e),of=rf({name:"TransitionGroup",props:ge({},Hl,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Fl(),s=rl();let r,o;return fl(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!ff(r[0].el,n.vnode.el,i))return;r.forEach(cf),r.forEach(af);const l=r.filter(uf);yr(),l.forEach(c=>{const u=c.el,a=u.style;tt(u,i),a.transform=a.webkitTransform=a.transitionDuration="";const f=u[ms]=p=>{p&&p.target!==u||(!p||/transform$/.test(p.propertyName))&&(u.removeEventListener("transitionend",f),u[ms]=null,bt(u,i))};u.addEventListener("transitionend",f)})}),()=>{const i=Q(e),l=Ul(i);let c=i.tag||He;if(r=[],o)for(let u=0;u{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:i}=Vl(s);return o.removeChild(s),i}const rn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return $(t)?n=>Zn(t,n):t};function df(e){e.target.composing=!0}function Bo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ht=Symbol("_assign"),Dp={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ht]=rn(r);const o=s||r.props&&r.props.type==="number";Rt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=os(l)),e[ht](l)}),n&&Rt(e,"change",()=>{e.value=e.value.trim()}),t||(Rt(e,"compositionstart",df),Rt(e,"compositionend",Bo),Rt(e,"change",Bo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[ht]=rn(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?os(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},jp={deep:!0,created(e,t,n){e[ht]=rn(n),Rt(e,"change",()=>{const s=e._modelValue,r=kn(e),o=e.checked,i=e[ht];if($(s)){const l=Nr(s,r),c=l!==-1;if(o&&!c)i(s.concat(r));else if(!o&&c){const u=[...s];u.splice(l,1),i(u)}}else if(cn(s)){const l=new Set(s);o?l.add(r):l.delete(r),i(l)}else i(Wl(e,o))})},mounted:$o,beforeUpdate(e,t,n){e[ht]=rn(n),$o(e,t,n)}};function $o(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if($(t))r=Nr(t,s.props.value)>-1;else if(cn(t))r=t.has(s.props.value);else{if(t===n)return;r=$n(t,Wl(e,!0))}e.checked!==r&&(e.checked=r)}const Bp={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=cn(t);Rt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?os(kn(i)):kn(i));e[ht](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,Rs(()=>{e._assigning=!1})}),e[ht]=rn(s)},mounted(e,{value:t}){Ho(e,t)},beforeUpdate(e,t,n){e[ht]=rn(n)},updated(e,{value:t}){e._assigning||Ho(e,t)}};function Ho(e,t){const n=e.multiple,s=$(t);if(!(n&&!s&&!cn(t))){for(let r=0,o=e.options.length;rString(u)===String(l)):i.selected=Nr(t,l)>-1}else i.selected=t.has(l);else if($n(kn(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function kn(e){return"_value"in e?e._value:e.value}function Wl(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const hf=["ctrl","shift","alt","meta"],pf={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>hf.some(n=>e[`${n}Key`]&&!t.includes(n))},$p=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const t=gf().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=_f(s);if(!r)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,bf(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function bf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function _f(e){return de(e)?document.querySelector(e):e}/*! + * pinia v2.3.1 + * (c) 2025 Eduardo San Martin Morote + * @license MIT + */let zl;const Is=e=>zl=e,Jl=Symbol();function br(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Rn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Rn||(Rn={}));function vf(){const e=Li(!0),t=e.run(()=>en({}));let n=[],s=[];const r=Hr({install(o){Is(r),r._a=o,o.provide(Jl,r),o.config.globalProperties.$pinia=r,s.forEach(i=>n.push(i)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Gl=()=>{};function Vo(e,t,n,s=Gl){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&Ii()&&Qc(r),r}function Jt(e,...t){e.slice().forEach(n=>{n(...t)})}const wf=e=>e(),qo=Symbol(),Zs=Symbol();function _r(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];br(r)&&br(s)&&e.hasOwnProperty(n)&&!fe(s)&&!dt(s)?e[n]=_r(r,s):e[n]=s}return e}const Ef=Symbol();function Sf(e){return!br(e)||!e.hasOwnProperty(Ef)}const{assign:_t}=Object;function xf(e){return!!(fe(e)&&e.effect)}function Rf(e,t,n,s){const{state:r,actions:o,getters:i}=t,l=n.state.value[e];let c;function u(){l||(n.state.value[e]=r?r():{});const a=va(n.state.value[e]);return _t(a,o,Object.keys(i||{}).reduce((f,p)=>(f[p]=Hr(Fe(()=>{Is(n);const m=n._s.get(e);return i[p].call(m,m)})),f),{}))}return c=Xl(e,u,t,n,s,!0),c}function Xl(e,t,n={},s,r,o){let i;const l=_t({actions:{}},n),c={deep:!0};let u,a,f=[],p=[],m;const y=s.state.value[e];!o&&!y&&(s.state.value[e]={}),en({});let _;function x(V){let N;u=a=!1,typeof V=="function"?(V(s.state.value[e]),N={type:Rn.patchFunction,storeId:e,events:m}):(_r(s.state.value[e],V),N={type:Rn.patchObject,payload:V,storeId:e,events:m});const W=_=Symbol();Rs().then(()=>{_===W&&(u=!0)}),a=!0,Jt(f,N,s.state.value[e])}const A=o?function(){const{state:N}=n,W=N?N():{};this.$patch(ee=>{_t(ee,W)})}:Gl;function C(){i.stop(),f=[],p=[],s._s.delete(e)}const P=(V,N="")=>{if(qo in V)return V[Zs]=N,V;const W=function(){Is(s);const ee=Array.from(arguments),F=[],Y=[];function pe(G){F.push(G)}function we(G){Y.push(G)}Jt(p,{args:ee,name:W[Zs],store:j,after:pe,onError:we});let ie;try{ie=V.apply(this&&this.$id===e?this:j,ee)}catch(G){throw Jt(Y,G),G}return ie instanceof Promise?ie.then(G=>(Jt(F,G),G)).catch(G=>(Jt(Y,G),Promise.reject(G))):(Jt(F,ie),ie)};return W[qo]=!0,W[Zs]=N,W},L={_p:s,$id:e,$onAction:Vo.bind(null,p),$patch:x,$reset:A,$subscribe(V,N={}){const W=Vo(f,V,N.detached,()=>ee()),ee=i.run(()=>Sn(()=>s.state.value[e],F=>{(N.flush==="sync"?a:u)&&V({storeId:e,type:Rn.direct,events:m},F)},_t({},c,N)));return W},$dispose:C},j=Hn(L);s._s.set(e,j);const z=(s._a&&s._a.runWithContext||wf)(()=>s._e.run(()=>(i=Li()).run(()=>t({action:P}))));for(const V in z){const N=z[V];if(fe(N)&&!xf(N)||dt(N))o||(y&&Sf(N)&&(fe(N)?N.value=y[V]:_r(N,y[V])),s.state.value[e][V]=N);else if(typeof N=="function"){const W=P(N,V);z[V]=W,l.actions[V]=N}}return _t(j,z),_t(Q(j),z),Object.defineProperty(j,"$state",{get:()=>s.state.value[e],set:V=>{x(N=>{_t(N,V)})}}),s._p.forEach(V=>{_t(j,i.run(()=>V({store:j,app:s._a,pinia:s,options:l})))}),y&&o&&n.hydrate&&n.hydrate(j.$state,y),u=!0,a=!0,j}/*! #__NO_SIDE_EFFECTS__ */function Cf(e,t,n){let s,r;const o=typeof t=="function";typeof e=="string"?(s=e,r=o?n:t):(r=e,s=e.id);function i(l,c){const u=Ya();return l=l||(u?Pe(Jl,null):null),l&&Is(l),l=zl,l._s.has(s)||(o?Xl(s,t,r,l):Rf(s,r,l)),l._s.get(s)}return i.$id=s,i}function Tf(e){{const t=Q(e),n={};for(const s in t){const r=t[s];r.effect?n[s]=Fe({get:()=>e[s],set(o){e[s]=o}}):(fe(r)||dt(r))&&(n[s]=Sa(e,s))}return n}}/*! + * vue-router v4.5.0 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const Xt=typeof document<"u";function Ql(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Af(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ql(e.default)}const ne=Object.assign;function er(e,t){const n={};for(const s in t){const r=t[s];n[s]=ze(r)?r.map(e):e(r)}return n}const Cn=()=>{},ze=Array.isArray,Yl=/#/g,Of=/&/g,Pf=/\//g,Lf=/=/g,If=/\?/g,Zl=/\+/g,Nf=/%5B/g,Mf=/%5D/g,ec=/%5E/g,kf=/%60/g,tc=/%7B/g,Ff=/%7C/g,nc=/%7D/g,Df=/%20/g;function Jr(e){return encodeURI(""+e).replace(Ff,"|").replace(Nf,"[").replace(Mf,"]")}function jf(e){return Jr(e).replace(tc,"{").replace(nc,"}").replace(ec,"^")}function vr(e){return Jr(e).replace(Zl,"%2B").replace(Df,"+").replace(Yl,"%23").replace(Of,"%26").replace(kf,"`").replace(tc,"{").replace(nc,"}").replace(ec,"^")}function Bf(e){return vr(e).replace(Lf,"%3D")}function $f(e){return Jr(e).replace(Yl,"%23").replace(If,"%3F")}function Hf(e){return e==null?"":$f(e).replace(Pf,"%2F")}function Fn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Uf=/\/$/,Vf=e=>e.replace(Uf,"");function tr(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=zf(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:Fn(i)}}function qf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ko(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Kf(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&on(t.matched[s],n.matched[r])&&sc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function on(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function sc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Wf(e[n],t[n]))return!1;return!0}function Wf(e,t){return ze(e)?Wo(e,t):ze(t)?Wo(t,e):e===t}function Wo(e,t){return ze(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function zf(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const yt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Dn;(function(e){e.pop="pop",e.push="push"})(Dn||(Dn={}));var Tn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Tn||(Tn={}));function Jf(e){if(!e)if(Xt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Vf(e)}const Gf=/^[^#]+#/;function Xf(e,t){return e.replace(Gf,"#")+t}function Qf(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Ns=()=>({left:window.scrollX,top:window.scrollY});function Yf(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Qf(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function zo(e,t){return(history.state?history.state.position-t:-1)+e}const wr=new Map;function Zf(e,t){wr.set(e,t)}function ed(e){const t=wr.get(e);return wr.delete(e),t}let td=()=>location.protocol+"//"+location.host;function rc(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),Ko(c,"")}return Ko(n,e)+s+r}function nd(e,t,n,s){let r=[],o=[],i=null;const l=({state:p})=>{const m=rc(e,location),y=n.value,_=t.value;let x=0;if(p){if(n.value=m,t.value=p,i&&i===y){i=null;return}x=_?p.position-_.position:0}else s(m);r.forEach(A=>{A(n.value,y,{delta:x,type:Dn.pop,direction:x?x>0?Tn.forward:Tn.back:Tn.unknown})})};function c(){i=n.value}function u(p){r.push(p);const m=()=>{const y=r.indexOf(p);y>-1&&r.splice(y,1)};return o.push(m),m}function a(){const{history:p}=window;p.state&&p.replaceState(ne({},p.state,{scroll:Ns()}),"")}function f(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",a)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",a,{passive:!0}),{pauseListeners:c,listen:u,destroy:f}}function Jo(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Ns():null}}function sd(e){const{history:t,location:n}=window,s={value:rc(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,u,a){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:td()+e+c;try{t[a?"replaceState":"pushState"](u,"",p),r.value=u}catch(m){console.error(m),n[a?"replace":"assign"](p)}}function i(c,u){const a=ne({},t.state,Jo(r.value.back,c,r.value.forward,!0),u,{position:r.value.position});o(c,a,!0),s.value=c}function l(c,u){const a=ne({},r.value,t.state,{forward:c,scroll:Ns()});o(a.current,a,!0);const f=ne({},Jo(s.value,c,null),{position:a.position+1},u);o(c,f,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function rd(e){e=Jf(e);const t=sd(e),n=nd(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ne({location:"",base:e,go:s,createHref:Xf.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function od(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),rd(e)}function id(e){return typeof e=="string"||e&&typeof e=="object"}function oc(e){return typeof e=="string"||typeof e=="symbol"}const ic=Symbol("");var Go;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Go||(Go={}));function ln(e,t){return ne(new Error,{type:e,[ic]:!0},t)}function ct(e,t){return e instanceof Error&&ic in e&&(t==null||!!(e.type&t))}const Xo="[^/]+?",ld={sensitive:!1,strict:!1,start:!0,end:!0},cd=/[.+*?^${}()[\]/\\]/g;function ad(e,t){const n=ne({},ld,t),s=[];let r=n.start?"^":"";const o=[];for(const u of e){const a=u.length?[]:[90];n.strict&&!u.length&&(r+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function lc(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const fd={type:0,value:""},dd=/[a-zA-Z0-9_]/;function hd(e){if(!e)return[[]];if(e==="/")return[[fd]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${u}": ${m}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,u="",a="";function f(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=c}for(;l{i(P)}:Cn}function i(f){if(oc(f)){const p=s.get(f);p&&(s.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function c(f){const p=bd(f,n);n.splice(p,0,f),f.record.name&&!ei(f)&&s.set(f.record.name,f)}function u(f,p){let m,y={},_,x;if("name"in f&&f.name){if(m=s.get(f.name),!m)throw ln(1,{location:f});x=m.record.name,y=ne(Yo(p.params,m.keys.filter(P=>!P.optional).concat(m.parent?m.parent.keys.filter(P=>P.optional):[]).map(P=>P.name)),f.params&&Yo(f.params,m.keys.map(P=>P.name))),_=m.stringify(y)}else if(f.path!=null)_=f.path,m=n.find(P=>P.re.test(_)),m&&(y=m.parse(_),x=m.record.name);else{if(m=p.name?s.get(p.name):n.find(P=>P.re.test(p.path)),!m)throw ln(1,{location:f,currentLocation:p});x=m.record.name,y=ne({},p.params,f.params),_=m.stringify(y)}const A=[];let C=m;for(;C;)A.unshift(C.record),C=C.parent;return{name:x,path:_,params:y,matched:A,meta:yd(A)}}e.forEach(f=>o(f));function a(){n.length=0,s.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:a,getRoutes:l,getRecordMatcher:r}}function Yo(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Zo(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:gd(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function gd(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function ei(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function yd(e){return e.reduce((t,n)=>ne(t,n.meta),{})}function ti(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function bd(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;lc(e,t[o])<0?s=o:n=o+1}const r=_d(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function _d(e){let t=e;for(;t=t.parent;)if(cc(t)&&lc(e,t)===0)return t}function cc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function vd(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&vr(o)):[s&&vr(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function wd(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=ze(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Ed=Symbol(""),si=Symbol(""),Ms=Symbol(""),Gr=Symbol(""),Er=Symbol("");function mn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function xt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const u=p=>{p===!1?c(ln(4,{from:n,to:t})):p instanceof Error?c(p):id(p)?c(ln(2,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),l())},a=o(()=>e.call(s&&s.instances[r],t,n,u));let f=Promise.resolve(a);e.length<3&&(f=f.then(u)),f.catch(p=>c(p))})}function nr(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Ql(c)){const a=(c.__vccOpts||c)[t];a&&o.push(xt(a,n,s,i,l,r))}else{let u=c();o.push(()=>u.then(a=>{if(!a)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=Af(a)?a.default:a;i.mods[l]=a,i.components[l]=f;const m=(f.__vccOpts||f)[t];return m&&xt(m,n,s,i,l,r)()}))}}return o}function ri(e){const t=Pe(Ms),n=Pe(Gr),s=Fe(()=>{const c=Oe(e.to);return t.resolve(c)}),r=Fe(()=>{const{matched:c}=s.value,{length:u}=c,a=c[u-1],f=n.matched;if(!a||!f.length)return-1;const p=f.findIndex(on.bind(null,a));if(p>-1)return p;const m=oi(c[u-2]);return u>1&&oi(a)===m&&f[f.length-1].path!==m?f.findIndex(on.bind(null,c[u-2])):p}),o=Fe(()=>r.value>-1&&Td(n.params,s.value.params)),i=Fe(()=>r.value>-1&&r.value===n.matched.length-1&&sc(n.params,s.value.params));function l(c={}){if(Cd(c)){const u=t[Oe(e.replace)?"replace":"push"](Oe(e.to)).catch(Cn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:s,href:Fe(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function Sd(e){return e.length===1?e[0]:e}const xd=Vn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ri,setup(e,{slots:t}){const n=Hn(ri(e)),{options:s}=Pe(Ms),r=Fe(()=>({[ii(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ii(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Sd(t.default(n));return e.custom?o:nn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Rd=xd;function Cd(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Td(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!ze(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function oi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ii=(e,t,n)=>e??t??n,Ad=Vn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Pe(Er),r=Fe(()=>e.route||s.value),o=Pe(si,0),i=Fe(()=>{let u=Oe(o);const{matched:a}=r.value;let f;for(;(f=a[u])&&!f.components;)u++;return u}),l=Fe(()=>r.value.matched[i.value]);jt(si,Fe(()=>i.value+1)),jt(Ed,l),jt(Er,r);const c=en();return Sn(()=>[c.value,l.value,e.name],([u,a,f],[p,m,y])=>{a&&(a.instances[f]=u,m&&m!==a&&u&&u===p&&(a.leaveGuards.size||(a.leaveGuards=m.leaveGuards),a.updateGuards.size||(a.updateGuards=m.updateGuards))),u&&a&&(!m||!on(a,m)||!p)&&(a.enterCallbacks[f]||[]).forEach(_=>_(u))},{flush:"post"}),()=>{const u=r.value,a=e.name,f=l.value,p=f&&f.components[a];if(!p)return li(n.default,{Component:p,route:u});const m=f.props[a],y=m?m===!0?u.params:typeof m=="function"?m(u):m:null,x=nn(p,ne({},y,t,{onVnodeUnmounted:A=>{A.component.isUnmounted&&(f.instances[a]=null)},ref:c}));return li(n.default,{Component:x,route:u})||x}}});function li(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ac=Ad;function Od(e){const t=md(e.routes,e),n=e.parseQuery||vd,s=e.stringifyQuery||ni,r=e.history,o=mn(),i=mn(),l=mn(),c=ya(yt);let u=yt;Xt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=er.bind(null,w=>""+w),f=er.bind(null,Hf),p=er.bind(null,Fn);function m(w,D){let M,B;return oc(w)?(M=t.getRecordMatcher(w),B=D):B=w,t.addRoute(B,M)}function y(w){const D=t.getRecordMatcher(w);D&&t.removeRoute(D)}function _(){return t.getRoutes().map(w=>w.record)}function x(w){return!!t.getRecordMatcher(w)}function A(w,D){if(D=ne({},D||c.value),typeof w=="string"){const g=tr(n,w,D.path),v=t.resolve({path:g.path},D),S=r.createHref(g.fullPath);return ne(g,v,{params:p(v.params),hash:Fn(g.hash),redirectedFrom:void 0,href:S})}let M;if(w.path!=null)M=ne({},w,{path:tr(n,w.path,D.path).path});else{const g=ne({},w.params);for(const v in g)g[v]==null&&delete g[v];M=ne({},w,{params:f(g)}),D.params=f(D.params)}const B=t.resolve(M,D),le=w.hash||"";B.params=a(p(B.params));const d=qf(s,ne({},w,{hash:jf(le),path:B.path})),h=r.createHref(d);return ne({fullPath:d,hash:le,query:s===ni?wd(w.query):w.query||{}},B,{redirectedFrom:void 0,href:h})}function C(w){return typeof w=="string"?tr(n,w,c.value.path):ne({},w)}function P(w,D){if(u!==w)return ln(8,{from:D,to:w})}function L(w){return z(w)}function j(w){return L(ne(C(w),{replace:!0}))}function X(w){const D=w.matched[w.matched.length-1];if(D&&D.redirect){const{redirect:M}=D;let B=typeof M=="function"?M(w):M;return typeof B=="string"&&(B=B.includes("?")||B.includes("#")?B=C(B):{path:B},B.params={}),ne({query:w.query,hash:w.hash,params:B.path!=null?{}:w.params},B)}}function z(w,D){const M=u=A(w),B=c.value,le=w.state,d=w.force,h=w.replace===!0,g=X(M);if(g)return z(ne(C(g),{state:typeof g=="object"?ne({},le,g.state):le,force:d,replace:h}),D||M);const v=M;v.redirectedFrom=D;let S;return!d&&Kf(s,B,M)&&(S=ln(16,{to:v,from:B}),Ge(B,B,!0,!1)),(S?Promise.resolve(S):W(v,B)).catch(E=>ct(E)?ct(E,2)?E:mt(E):te(E,v,B)).then(E=>{if(E){if(ct(E,2))return z(ne({replace:h},C(E.to),{state:typeof E.to=="object"?ne({},le,E.to.state):le,force:d}),D||v)}else E=F(v,B,!0,h,le);return ee(v,B,E),E})}function V(w,D){const M=P(w,D);return M?Promise.reject(M):Promise.resolve()}function N(w){const D=Wt.values().next().value;return D&&typeof D.runWithContext=="function"?D.runWithContext(w):w()}function W(w,D){let M;const[B,le,d]=Pd(w,D);M=nr(B.reverse(),"beforeRouteLeave",w,D);for(const g of B)g.leaveGuards.forEach(v=>{M.push(xt(v,w,D))});const h=V.bind(null,w,D);return M.push(h),Be(M).then(()=>{M=[];for(const g of o.list())M.push(xt(g,w,D));return M.push(h),Be(M)}).then(()=>{M=nr(le,"beforeRouteUpdate",w,D);for(const g of le)g.updateGuards.forEach(v=>{M.push(xt(v,w,D))});return M.push(h),Be(M)}).then(()=>{M=[];for(const g of d)if(g.beforeEnter)if(ze(g.beforeEnter))for(const v of g.beforeEnter)M.push(xt(v,w,D));else M.push(xt(g.beforeEnter,w,D));return M.push(h),Be(M)}).then(()=>(w.matched.forEach(g=>g.enterCallbacks={}),M=nr(d,"beforeRouteEnter",w,D,N),M.push(h),Be(M))).then(()=>{M=[];for(const g of i.list())M.push(xt(g,w,D));return M.push(h),Be(M)}).catch(g=>ct(g,8)?g:Promise.reject(g))}function ee(w,D,M){l.list().forEach(B=>N(()=>B(w,D,M)))}function F(w,D,M,B,le){const d=P(w,D);if(d)return d;const h=D===yt,g=Xt?history.state:{};M&&(B||h?r.replace(w.fullPath,ne({scroll:h&&g&&g.scroll},le)):r.push(w.fullPath,le)),c.value=w,Ge(w,D,M,h),mt()}let Y;function pe(){Y||(Y=r.listen((w,D,M)=>{if(!zn.listening)return;const B=A(w),le=X(B);if(le){z(ne(le,{replace:!0,force:!0}),B).catch(Cn);return}u=B;const d=c.value;Xt&&Zf(zo(d.fullPath,M.delta),Ns()),W(B,d).catch(h=>ct(h,12)?h:ct(h,2)?(z(ne(C(h.to),{force:!0}),B).then(g=>{ct(g,20)&&!M.delta&&M.type===Dn.pop&&r.go(-1,!1)}).catch(Cn),Promise.reject()):(M.delta&&r.go(-M.delta,!1),te(h,B,d))).then(h=>{h=h||F(B,d,!1),h&&(M.delta&&!ct(h,8)?r.go(-M.delta,!1):M.type===Dn.pop&&ct(h,20)&&r.go(-1,!1)),ee(B,d,h)}).catch(Cn)}))}let we=mn(),ie=mn(),G;function te(w,D,M){mt(w);const B=ie.list();return B.length?B.forEach(le=>le(w,D,M)):console.error(w),Promise.reject(w)}function it(){return G&&c.value!==yt?Promise.resolve():new Promise((w,D)=>{we.add([w,D])})}function mt(w){return G||(G=!w,pe(),we.list().forEach(([D,M])=>w?M(w):D()),we.reset()),w}function Ge(w,D,M,B){const{scrollBehavior:le}=e;if(!Xt||!le)return Promise.resolve();const d=!M&&ed(zo(w.fullPath,0))||(B||!M)&&history.state&&history.state.scroll||null;return Rs().then(()=>le(w,D,d)).then(h=>h&&Yf(h)).catch(h=>te(h,w,D))}const Ce=w=>r.go(w);let Kt;const Wt=new Set,zn={currentRoute:c,listening:!0,addRoute:m,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:x,getRoutes:_,resolve:A,options:e,push:L,replace:j,go:Ce,back:()=>Ce(-1),forward:()=>Ce(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:ie.add,isReady:it,install(w){const D=this;w.component("RouterLink",Rd),w.component("RouterView",ac),w.config.globalProperties.$router=D,Object.defineProperty(w.config.globalProperties,"$route",{enumerable:!0,get:()=>Oe(c)}),Xt&&!Kt&&c.value===yt&&(Kt=!0,L(r.location).catch(le=>{}));const M={};for(const le in yt)Object.defineProperty(M,le,{get:()=>c.value[le],enumerable:!0});w.provide(Ms,D),w.provide(Gr,zi(M)),w.provide(Er,c);const B=w.unmount;Wt.add(w),w.unmount=function(){Wt.delete(w),Wt.size<1&&(u=yt,Y&&Y(),Y=null,c.value=yt,Kt=!1,G=!1),B()}}};function Be(w){return w.reduce((D,M)=>D.then(()=>N(M)),Promise.resolve())}return zn}function Pd(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;ion(u,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(u=>on(u,c))||r.push(c))}return[n,s,r]}function Ld(){return Pe(Ms)}function Hp(e){return Pe(Gr)}/** + * @license lucide-vue-next v0.445.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Id=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/** + * @license lucide-vue-next v0.445.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */var Yn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/** + * @license lucide-vue-next v0.445.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Nd=({size:e,strokeWidth:t=2,absoluteStrokeWidth:n,color:s,iconNode:r,name:o,class:i,...l},{slots:c})=>nn("svg",{...Yn,width:e||Yn.width,height:e||Yn.height,stroke:s||Yn.stroke,"stroke-width":n?Number(t)*24/Number(e):t,class:["lucide",`lucide-${Id(o??"icon")}`],...l},[...r.map(u=>nn(...u)),...c.default?[c.default()]:[]]);/** + * @license lucide-vue-next v0.445.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const qt=(e,t)=>(n,{slots:s})=>nn(Nd,{...n,iconNode:t,name:e},s);/** + * @license lucide-vue-next v0.445.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Md=qt("CircleAlertIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** + * @license lucide-vue-next v0.445.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const kd=qt("CircleCheckBigIcon",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** + * @license lucide-vue-next v0.445.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Fd=qt("InfoIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/** + * @license lucide-vue-next v0.445.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Dd=qt("MoonIcon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/** + * @license lucide-vue-next v0.445.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const jd=qt("SunIcon",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** + * @license lucide-vue-next v0.445.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Bd=qt("TriangleAlertIcon",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/** + * @license lucide-vue-next v0.445.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const $d=qt("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Hd=Vn({__name:"ThemeToggle",setup(e){const t=Pe("isDarkMode"),n=Pe("setColorMode"),s=()=>{n(!t.value)};return(r,o)=>(qe(),Nn("button",{onClick:s,class:an(["fixed top-4 right-4 z-10 p-2 rounded-full transition-all duration-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transform hover:rotate-180",Oe(t)?"bg-gray-800 text-yellow-300":"bg-white text-gray-800"])},[Oe(t)?(qe(),tn(Oe(Dd),{key:1,class:"w-6 h-6"})):(qe(),tn(Oe(jd),{key:0,class:"w-6 h-6"}))],2))}});function uc(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ud}=Object.prototype,{getPrototypeOf:Xr}=Object,ks=(e=>t=>{const n=Ud.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Je=e=>(e=e.toLowerCase(),t=>ks(t)===e),Fs=e=>t=>typeof t===e,{isArray:un}=Array,jn=Fs("undefined");function Vd(e){return e!==null&&!jn(e)&&e.constructor!==null&&!jn(e.constructor)&&je(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const fc=Je("ArrayBuffer");function qd(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&fc(e.buffer),t}const Kd=Fs("string"),je=Fs("function"),dc=Fs("number"),Ds=e=>e!==null&&typeof e=="object",Wd=e=>e===!0||e===!1,ns=e=>{if(ks(e)!=="object")return!1;const t=Xr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},zd=Je("Date"),Jd=Je("File"),Gd=Je("Blob"),Xd=Je("FileList"),Qd=e=>Ds(e)&&je(e.pipe),Yd=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||je(e.append)&&((t=ks(e))==="formdata"||t==="object"&&je(e.toString)&&e.toString()==="[object FormData]"))},Zd=Je("URLSearchParams"),[eh,th,nh,sh]=["ReadableStream","Request","Response","Headers"].map(Je),rh=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Kn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),un(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const kt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,pc=e=>!jn(e)&&e!==kt;function Sr(){const{caseless:e}=pc(this)&&this||{},t={},n=(s,r)=>{const o=e&&hc(t,r)||r;ns(t[o])&&ns(s)?t[o]=Sr(t[o],s):ns(s)?t[o]=Sr({},s):un(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s(Kn(t,(r,o)=>{n&&je(r)?e[o]=uc(r,n):e[o]=r},{allOwnKeys:s}),e),ih=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),lh=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},ch=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&Xr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ah=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},uh=e=>{if(!e)return null;if(un(e))return e;let t=e.length;if(!dc(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},fh=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Xr(Uint8Array)),dh=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},hh=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},ph=Je("HTMLFormElement"),mh=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),ci=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),gh=Je("RegExp"),mc=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Kn(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},yh=e=>{mc(e,(t,n)=>{if(je(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(je(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},bh=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return un(e)?s(e):s(String(e).split(t)),n},_h=()=>{},vh=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,sr="abcdefghijklmnopqrstuvwxyz",ai="0123456789",gc={DIGIT:ai,ALPHA:sr,ALPHA_DIGIT:sr+sr.toUpperCase()+ai},wh=(e=16,t=gc.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function Eh(e){return!!(e&&je(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Sh=e=>{const t=new Array(10),n=(s,r)=>{if(Ds(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=un(s)?[]:{};return Kn(s,(i,l)=>{const c=n(i,r+1);!jn(c)&&(o[l]=c)}),t[r]=void 0,o}}return s};return n(e,0)},xh=Je("AsyncFunction"),Rh=e=>e&&(Ds(e)||je(e))&&je(e.then)&&je(e.catch),yc=((e,t)=>e?setImmediate:t?((n,s)=>(kt.addEventListener("message",({source:r,data:o})=>{r===kt&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),kt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",je(kt.postMessage)),Ch=typeof queueMicrotask<"u"?queueMicrotask.bind(kt):typeof process<"u"&&process.nextTick||yc,b={isArray:un,isArrayBuffer:fc,isBuffer:Vd,isFormData:Yd,isArrayBufferView:qd,isString:Kd,isNumber:dc,isBoolean:Wd,isObject:Ds,isPlainObject:ns,isReadableStream:eh,isRequest:th,isResponse:nh,isHeaders:sh,isUndefined:jn,isDate:zd,isFile:Jd,isBlob:Gd,isRegExp:gh,isFunction:je,isStream:Qd,isURLSearchParams:Zd,isTypedArray:fh,isFileList:Xd,forEach:Kn,merge:Sr,extend:oh,trim:rh,stripBOM:ih,inherits:lh,toFlatObject:ch,kindOf:ks,kindOfTest:Je,endsWith:ah,toArray:uh,forEachEntry:dh,matchAll:hh,isHTMLForm:ph,hasOwnProperty:ci,hasOwnProp:ci,reduceDescriptors:mc,freezeMethods:yh,toObjectSet:bh,toCamelCase:mh,noop:_h,toFiniteNumber:vh,findKey:hc,global:kt,isContextDefined:pc,ALPHABET:gc,generateString:wh,isSpecCompliantForm:Eh,toJSONObject:Sh,isAsyncFn:xh,isThenable:Rh,setImmediate:yc,asap:Ch};function J(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}b.inherits(J,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:b.toJSONObject(this.config),code:this.code,status:this.status}}});const bc=J.prototype,_c={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{_c[e]={value:e}});Object.defineProperties(J,_c);Object.defineProperty(bc,"isAxiosError",{value:!0});J.from=(e,t,n,s,r,o)=>{const i=Object.create(bc);return b.toFlatObject(e,i,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),J.call(i,e.message,t,n,s,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Th=null;function xr(e){return b.isPlainObject(e)||b.isArray(e)}function vc(e){return b.endsWith(e,"[]")?e.slice(0,-2):e}function ui(e,t,n){return e?e.concat(t).map(function(r,o){return r=vc(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Ah(e){return b.isArray(e)&&!e.some(xr)}const Oh=b.toFlatObject(b,{},null,function(t){return/^is[A-Z]/.test(t)});function js(e,t,n){if(!b.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=b.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,x){return!b.isUndefined(x[_])});const s=n.metaTokens,r=n.visitor||a,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&b.isSpecCompliantForm(t);if(!b.isFunction(r))throw new TypeError("visitor must be a function");function u(y){if(y===null)return"";if(b.isDate(y))return y.toISOString();if(!c&&b.isBlob(y))throw new J("Blob is not supported. Use a Buffer instead.");return b.isArrayBuffer(y)||b.isTypedArray(y)?c&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function a(y,_,x){let A=y;if(y&&!x&&typeof y=="object"){if(b.endsWith(_,"{}"))_=s?_:_.slice(0,-2),y=JSON.stringify(y);else if(b.isArray(y)&&Ah(y)||(b.isFileList(y)||b.endsWith(_,"[]"))&&(A=b.toArray(y)))return _=vc(_),A.forEach(function(P,L){!(b.isUndefined(P)||P===null)&&t.append(i===!0?ui([_],L,o):i===null?_:_+"[]",u(P))}),!1}return xr(y)?!0:(t.append(ui(x,_,o),u(y)),!1)}const f=[],p=Object.assign(Oh,{defaultVisitor:a,convertValue:u,isVisitable:xr});function m(y,_){if(!b.isUndefined(y)){if(f.indexOf(y)!==-1)throw Error("Circular reference detected in "+_.join("."));f.push(y),b.forEach(y,function(A,C){(!(b.isUndefined(A)||A===null)&&r.call(t,A,b.isString(C)?C.trim():C,_,p))===!0&&m(A,_?_.concat(C):[C])}),f.pop()}}if(!b.isObject(e))throw new TypeError("data must be an object");return m(e),t}function fi(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Qr(e,t){this._pairs=[],e&&js(e,this,t)}const wc=Qr.prototype;wc.append=function(t,n){this._pairs.push([t,n])};wc.toString=function(t){const n=t?function(s){return t.call(this,s,fi)}:fi;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Ph(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ec(e,t,n){if(!t)return e;const s=n&&n.encode||Ph;b.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(r?o=r(t,n):o=b.isURLSearchParams(t)?t.toString():new Qr(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class di{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){b.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Sc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Lh=typeof URLSearchParams<"u"?URLSearchParams:Qr,Ih=typeof FormData<"u"?FormData:null,Nh=typeof Blob<"u"?Blob:null,Mh={isBrowser:!0,classes:{URLSearchParams:Lh,FormData:Ih,Blob:Nh},protocols:["http","https","file","blob","url","data"]},Yr=typeof window<"u"&&typeof document<"u",Rr=typeof navigator=="object"&&navigator||void 0,kh=Yr&&(!Rr||["ReactNative","NativeScript","NS"].indexOf(Rr.product)<0),Fh=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Dh=Yr&&window.location.href||"http://localhost",jh=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Yr,hasStandardBrowserEnv:kh,hasStandardBrowserWebWorkerEnv:Fh,navigator:Rr,origin:Dh},Symbol.toStringTag,{value:"Module"})),ve={...jh,...Mh};function Bh(e,t){return js(e,new ve.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return ve.isNode&&b.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function $h(e){return b.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Hh(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s=n.length;return i=!i&&b.isArray(r)?r.length:i,c?(b.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!l):((!r[i]||!b.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&b.isArray(r[i])&&(r[i]=Hh(r[i])),!l)}if(b.isFormData(e)&&b.isFunction(e.entries)){const n={};return b.forEachEntry(e,(s,r)=>{t($h(s),r,n,0)}),n}return null}function Uh(e,t,n){if(b.isString(e))try{return(t||JSON.parse)(e),b.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const Wn={transitional:Sc,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=b.isObject(t);if(o&&b.isHTMLForm(t)&&(t=new FormData(t)),b.isFormData(t))return r?JSON.stringify(xc(t)):t;if(b.isArrayBuffer(t)||b.isBuffer(t)||b.isStream(t)||b.isFile(t)||b.isBlob(t)||b.isReadableStream(t))return t;if(b.isArrayBufferView(t))return t.buffer;if(b.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Bh(t,this.formSerializer).toString();if((l=b.isFileList(t))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return js(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),Uh(t)):t}],transformResponse:[function(t){const n=this.transitional||Wn.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(b.isResponse(t)||b.isReadableStream(t))return t;if(t&&b.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?J.from(l,J.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ve.classes.FormData,Blob:ve.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};b.forEach(["delete","get","head","post","put","patch"],e=>{Wn.headers[e]={}});const Vh=b.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),qh=e=>{const t={};let n,s,r;return e&&e.split(` +`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&Vh[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},hi=Symbol("internals");function gn(e){return e&&String(e).trim().toLowerCase()}function ss(e){return e===!1||e==null?e:b.isArray(e)?e.map(ss):String(e)}function Kh(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const Wh=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function rr(e,t,n,s,r){if(b.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!b.isString(t)){if(b.isString(s))return t.indexOf(s)!==-1;if(b.isRegExp(s))return s.test(t)}}function zh(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Jh(e,t){const n=b.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}let Le=class{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,c,u){const a=gn(c);if(!a)throw new Error("header name must be a non-empty string");const f=b.findKey(r,a);(!f||r[f]===void 0||u===!0||u===void 0&&r[f]!==!1)&&(r[f||c]=ss(l))}const i=(l,c)=>b.forEach(l,(u,a)=>o(u,a,c));if(b.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(b.isString(t)&&(t=t.trim())&&!Wh(t))i(qh(t),n);else if(b.isHeaders(t))for(const[l,c]of t.entries())o(c,l,s);else t!=null&&o(n,t,s);return this}get(t,n){if(t=gn(t),t){const s=b.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return Kh(r);if(b.isFunction(n))return n.call(this,r,s);if(b.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=gn(t),t){const s=b.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||rr(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=gn(i),i){const l=b.findKey(s,i);l&&(!n||rr(s,s[l],l,n))&&(delete s[l],r=!0)}}return b.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||rr(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return b.forEach(this,(r,o)=>{const i=b.findKey(s,o);if(i){n[i]=ss(r),delete n[o];return}const l=t?zh(o):String(o).trim();l!==o&&delete n[o],n[l]=ss(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return b.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&b.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[hi]=this[hi]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=gn(i);s[l]||(Jh(r,i),s[l]=!0)}return b.isArray(t)?t.forEach(o):o(t),this}};Le.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);b.reduceDescriptors(Le.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});b.freezeMethods(Le);function or(e,t){const n=this||Wn,s=t||n,r=Le.from(s.headers);let o=s.data;return b.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Rc(e){return!!(e&&e.__CANCEL__)}function fn(e,t,n){J.call(this,e??"canceled",J.ERR_CANCELED,t,n),this.name="CanceledError"}b.inherits(fn,J,{__CANCEL__:!0});function Cc(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Gh(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Xh(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),a=s[o];i||(i=u),n[r]=c,s[r]=u;let f=o,p=0;for(;f!==r;)p+=n[f++],f=f%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),u-i{n=a,r=null,o&&(clearTimeout(o),o=null),e.apply(null,u)};return[(...u)=>{const a=Date.now(),f=a-n;f>=s?i(u,a):(r=u,o||(o=setTimeout(()=>{o=null,i(r)},s-f)))},()=>r&&i(r)]}const gs=(e,t,n=3)=>{let s=0;const r=Xh(50,250);return Qh(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,c=i-s,u=r(c),a=i<=l;s=i;const f={loaded:i,total:l,progress:l?i/l:void 0,bytes:c,rate:u||void 0,estimated:u&&l&&a?(l-i)/u:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(f)},n)},pi=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},mi=e=>(...t)=>b.asap(()=>e(...t)),Yh=ve.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ve.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ve.origin),ve.navigator&&/(msie|trident)/i.test(ve.navigator.userAgent)):()=>!0,Zh=ve.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const i=[e+"="+encodeURIComponent(t)];b.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),b.isString(s)&&i.push("path="+s),b.isString(r)&&i.push("domain="+r),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ep(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function tp(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Tc(e,t){return e&&!ep(t)?tp(e,t):t}const gi=e=>e instanceof Le?{...e}:e;function Ut(e,t){t=t||{};const n={};function s(u,a,f,p){return b.isPlainObject(u)&&b.isPlainObject(a)?b.merge.call({caseless:p},u,a):b.isPlainObject(a)?b.merge({},a):b.isArray(a)?a.slice():a}function r(u,a,f,p){if(b.isUndefined(a)){if(!b.isUndefined(u))return s(void 0,u,f,p)}else return s(u,a,f,p)}function o(u,a){if(!b.isUndefined(a))return s(void 0,a)}function i(u,a){if(b.isUndefined(a)){if(!b.isUndefined(u))return s(void 0,u)}else return s(void 0,a)}function l(u,a,f){if(f in t)return s(u,a);if(f in e)return s(void 0,u)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(u,a,f)=>r(gi(u),gi(a),f,!0)};return b.forEach(Object.keys(Object.assign({},e,t)),function(a){const f=c[a]||r,p=f(e[a],t[a],a);b.isUndefined(p)&&f!==l||(n[a]=p)}),n}const Ac=e=>{const t=Ut({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:i,auth:l}=t;t.headers=i=Le.from(i),t.url=Ec(Tc(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(b.isFormData(n)){if(ve.hasStandardBrowserEnv||ve.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((c=i.getContentType())!==!1){const[u,...a]=c?c.split(";").map(f=>f.trim()).filter(Boolean):[];i.setContentType([u||"multipart/form-data",...a].join("; "))}}if(ve.hasStandardBrowserEnv&&(s&&b.isFunction(s)&&(s=s(t)),s||s!==!1&&Yh(t.url))){const u=r&&o&&Zh.read(o);u&&i.set(r,u)}return t},np=typeof XMLHttpRequest<"u",sp=np&&function(e){return new Promise(function(n,s){const r=Ac(e);let o=r.data;const i=Le.from(r.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:u}=r,a,f,p,m,y;function _(){m&&m(),y&&y(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let x=new XMLHttpRequest;x.open(r.method.toUpperCase(),r.url,!0),x.timeout=r.timeout;function A(){if(!x)return;const P=Le.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),j={data:!l||l==="text"||l==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:P,config:e,request:x};Cc(function(z){n(z),_()},function(z){s(z),_()},j),x=null}"onloadend"in x?x.onloadend=A:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(A)},x.onabort=function(){x&&(s(new J("Request aborted",J.ECONNABORTED,e,x)),x=null)},x.onerror=function(){s(new J("Network Error",J.ERR_NETWORK,e,x)),x=null},x.ontimeout=function(){let L=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const j=r.transitional||Sc;r.timeoutErrorMessage&&(L=r.timeoutErrorMessage),s(new J(L,j.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,x)),x=null},o===void 0&&i.setContentType(null),"setRequestHeader"in x&&b.forEach(i.toJSON(),function(L,j){x.setRequestHeader(j,L)}),b.isUndefined(r.withCredentials)||(x.withCredentials=!!r.withCredentials),l&&l!=="json"&&(x.responseType=r.responseType),u&&([p,y]=gs(u,!0),x.addEventListener("progress",p)),c&&x.upload&&([f,m]=gs(c),x.upload.addEventListener("progress",f),x.upload.addEventListener("loadend",m)),(r.cancelToken||r.signal)&&(a=P=>{x&&(s(!P||P.type?new fn(null,e,x):P),x.abort(),x=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const C=Gh(r.url);if(C&&ve.protocols.indexOf(C)===-1){s(new J("Unsupported protocol "+C+":",J.ERR_BAD_REQUEST,e));return}x.send(o||null)})},rp=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(u){if(!r){r=!0,l();const a=u instanceof Error?u:this.reason;s.abort(a instanceof J?a:new fn(a instanceof Error?a.message:a))}};let i=t&&setTimeout(()=>{i=null,o(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:c}=s;return c.unsubscribe=()=>b.asap(l),c}},op=function*(e,t){let n=e.byteLength;if(n{const r=ip(e,t);let o=0,i,l=c=>{i||(i=!0,s&&s(c))};return new ReadableStream({async pull(c){try{const{done:u,value:a}=await r.next();if(u){l(),c.close();return}let f=a.byteLength;if(n){let p=o+=f;n(p)}c.enqueue(new Uint8Array(a))}catch(u){throw l(u),u}},cancel(c){return l(c),r.return()}},{highWaterMark:2})},Bs=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Oc=Bs&&typeof ReadableStream=="function",cp=Bs&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Pc=(e,...t)=>{try{return!!e(...t)}catch{return!1}},ap=Oc&&Pc(()=>{let e=!1;const t=new Request(ve.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),bi=64*1024,Cr=Oc&&Pc(()=>b.isReadableStream(new Response("").body)),ys={stream:Cr&&(e=>e.body)};Bs&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!ys[t]&&(ys[t]=b.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new J(`Response type '${t}' is not supported`,J.ERR_NOT_SUPPORT,s)})})})(new Response);const up=async e=>{if(e==null)return 0;if(b.isBlob(e))return e.size;if(b.isSpecCompliantForm(e))return(await new Request(ve.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(b.isArrayBufferView(e)||b.isArrayBuffer(e))return e.byteLength;if(b.isURLSearchParams(e)&&(e=e+""),b.isString(e))return(await cp(e)).byteLength},fp=async(e,t)=>{const n=b.toFiniteNumber(e.getContentLength());return n??up(t)},dp=Bs&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:o,timeout:i,onDownloadProgress:l,onUploadProgress:c,responseType:u,headers:a,withCredentials:f="same-origin",fetchOptions:p}=Ac(e);u=u?(u+"").toLowerCase():"text";let m=rp([r,o&&o.toAbortSignal()],i),y;const _=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let x;try{if(c&&ap&&n!=="get"&&n!=="head"&&(x=await fp(a,s))!==0){let j=new Request(t,{method:"POST",body:s,duplex:"half"}),X;if(b.isFormData(s)&&(X=j.headers.get("content-type"))&&a.setContentType(X),j.body){const[z,V]=pi(x,gs(mi(c)));s=yi(j.body,bi,z,V)}}b.isString(f)||(f=f?"include":"omit");const A="credentials"in Request.prototype;y=new Request(t,{...p,signal:m,method:n.toUpperCase(),headers:a.normalize().toJSON(),body:s,duplex:"half",credentials:A?f:void 0});let C=await fetch(y);const P=Cr&&(u==="stream"||u==="response");if(Cr&&(l||P&&_)){const j={};["status","statusText","headers"].forEach(N=>{j[N]=C[N]});const X=b.toFiniteNumber(C.headers.get("content-length")),[z,V]=l&&pi(X,gs(mi(l),!0))||[];C=new Response(yi(C.body,bi,z,()=>{V&&V(),_&&_()}),j)}u=u||"text";let L=await ys[b.findKey(ys,u)||"text"](C,e);return!P&&_&&_(),await new Promise((j,X)=>{Cc(j,X,{data:L,headers:Le.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:y})})}catch(A){throw _&&_(),A&&A.name==="TypeError"&&/fetch/i.test(A.message)?Object.assign(new J("Network Error",J.ERR_NETWORK,e,y),{cause:A.cause||A}):J.from(A,A&&A.code,e,y)}}),Tr={http:Th,xhr:sp,fetch:dp};b.forEach(Tr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const _i=e=>`- ${e}`,hp=e=>b.isFunction(e)||e===null||e===!1,Lc={getAdapter:e=>{e=b.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : +`+o.map(_i).join(` +`):" "+_i(o[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:Tr};function ir(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new fn(null,e)}function vi(e){return ir(e),e.headers=Le.from(e.headers),e.data=or.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Lc.getAdapter(e.adapter||Wn.adapter)(e).then(function(s){return ir(e),s.data=or.call(e,e.transformResponse,s),s.headers=Le.from(s.headers),s},function(s){return Rc(s)||(ir(e),s&&s.response&&(s.response.data=or.call(e,e.transformResponse,s.response),s.response.headers=Le.from(s.response.headers))),Promise.reject(s)})}const Ic="1.7.9",$s={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{$s[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const wi={};$s.transitional=function(t,n,s){function r(o,i){return"[Axios v"+Ic+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new J(r(i," has been removed"+(n?" in "+n:"")),J.ERR_DEPRECATED);return n&&!wi[i]&&(wi[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};$s.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function pp(e,t,n){if(typeof e!="object")throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new J("option "+o+" must be "+c,J.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new J("Unknown option "+o,J.ERR_BAD_OPTION)}}const rs={assertOptions:pp,validators:$s},et=rs.validators;let Bt=class{constructor(t){this.defaults=t,this.interceptors={request:new di,response:new di}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=` +`+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ut(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&rs.assertOptions(s,{silentJSONParsing:et.transitional(et.boolean),forcedJSONParsing:et.transitional(et.boolean),clarifyTimeoutError:et.transitional(et.boolean)},!1),r!=null&&(b.isFunction(r)?n.paramsSerializer={serialize:r}:rs.assertOptions(r,{encode:et.function,serialize:et.function},!0)),rs.assertOptions(n,{baseUrl:et.spelling("baseURL"),withXsrfToken:et.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&b.merge(o.common,o[n.method]);o&&b.forEach(["delete","get","head","post","put","patch","common"],y=>{delete o[y]}),n.headers=Le.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(c=c&&_.synchronous,l.unshift(_.fulfilled,_.rejected))});const u=[];this.interceptors.response.forEach(function(_){u.push(_.fulfilled,_.rejected)});let a,f=0,p;if(!c){const y=[vi.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,u),p=y.length,a=Promise.resolve(n);f{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new fn(o,i,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Nc(function(r){t=r}),cancel:t}}};function gp(e){return function(n){return e.apply(null,n)}}function yp(e){return b.isObject(e)&&e.isAxiosError===!0}const Ar={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ar).forEach(([e,t])=>{Ar[t]=e});function Mc(e){const t=new Bt(e),n=uc(Bt.prototype.request,t);return b.extend(n,Bt.prototype,t,{allOwnKeys:!0}),b.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Mc(Ut(e,r))},n}const he=Mc(Wn);he.Axios=Bt;he.CanceledError=fn;he.CancelToken=mp;he.isCancel=Rc;he.VERSION=Ic;he.toFormData=js;he.AxiosError=J;he.Cancel=he.CanceledError;he.all=function(t){return Promise.all(t)};he.spread=gp;he.isAxiosError=yp;he.mergeConfig=Ut;he.AxiosHeaders=Le;he.formToJSON=e=>xc(b.isHTMLForm(e)?new FormData(e):e);he.getAdapter=Lc.getAdapter;he.HttpStatusCode=Ar;he.default=he;const{Axios:qp,AxiosError:Kp,CanceledError:Wp,isCancel:zp,CancelToken:Jp,VERSION:Gp,all:Xp,Cancel:Qp,isAxiosError:Yp,spread:Zp,toFormData:em,AxiosHeaders:tm,HttpStatusCode:nm,formToJSON:sm,getAdapter:rm,mergeConfig:om}=he,bp="",kc=bp,Zr=he.create({baseURL:kc,timeout:1e15,headers:{"Content-Type":"application/json"}});Zr.interceptors.request.use(e=>{const t=localStorage.getItem("token");return t&&(e.headers.Authorization=`Bearer ${t}`),e.url&&!e.url.startsWith("http")&&(e.url=`${kc}/${e.url.replace(/^\//,"")}`),e},e=>Promise.reject(e));Zr.interceptors.response.use(e=>e.data,e=>{if(e.response)switch(e.response.status){case 401:console.error("未授权,请重新登录"),localStorage.clear(),window.location.href="/#/login";break;case 403:console.error("禁止访问");break;case 404:console.error("请求的资源不存在");break;default:console.error("发生错误:",e.response.data)}else e.request?console.error("未收到响应:",e.request):console.error("请求配置错误:",e.message);return Promise.reject(e)});const Fc=Cf("alert",{state:()=>({alerts:[]}),actions:{showAlert(e,t="info",n=5e3){const s=Date.now(),r=Date.now();this.alerts.push({id:s,message:e,type:t,progress:100,duration:n,startTime:r}),setTimeout(()=>this.removeAlert(s),n)},removeAlert(e){const t=this.alerts.findIndex(n=>n.id===e);t>-1&&this.alerts.splice(t,1)},updateAlertProgress(e){const t=this.alerts.find(n=>n.id===e);if(t){const s=100-(Date.now()-t.startTime)/t.duration*100;t.progress=Math.max(0,s),t.progress<=0&&this.removeAlert(e)}}}}),_p={class:"p-4"},vp={class:"flex items-start"},wp={class:"flex-shrink-0"},Ep={class:"ml-3 flex-1 pt-0.5"},Sp=["innerHTML"],xp={class:"ml-4 flex-shrink-0 flex"},Rp=["onClick"],Cp={class:"h-1 bg-white bg-opacity-25"},Tp=Vn({__name:"AlertComponent",setup(e){const t=Fc(),{alerts:n}=Tf(t),{removeAlert:s,updateAlertProgress:r}=t,o={success:"from-green-500 to-green-600",error:"from-red-500 to-red-600",warning:"from-yellow-500 to-yellow-600",info:"from-blue-500 to-blue-600"},i={success:kd,error:Bd,warning:Md,info:Fd};let l;return As(()=>{l=setInterval(()=>{n.value.forEach(c=>{r(c.id)})},100)}),qr(()=>{clearInterval(l)}),(c,u)=>(qe(),tn(lf,{name:"alert-fade",tag:"div",class:"fixed top-4 left-4 z-50 w-full sm:max-w-sm md:max-w-md space-y-4 px-4 sm:px-0"},{default:us(()=>[(qe(!0),Nn(He,null,Va(Oe(n),a=>(qe(),Nn("div",{key:a.id,class:an(["w-full rounded-lg shadow-xl overflow-hidden","bg-gradient-to-r",o[a.type]])},[ke("div",_p,[ke("div",vp,[ke("div",wp,[(qe(),tn(ml(i[a.type]),{class:"h-6 w-6 text-white"}))]),ke("div",Ep,[ke("p",{class:"text-sm font-medium text-white",innerHTML:a.message},null,8,Sp)]),ke("div",xp,[ke("button",{onClick:f=>Oe(s)(a.id),class:"inline-flex text-white hover:text-gray-200 focus:outline-none transition-colors duration-200"},[u[0]||(u[0]=ke("span",{class:"sr-only"},"关闭",-1)),me(Oe($d),{class:"h-5 w-5"})],8,Rp)])])]),ke("div",Cp,[ke("div",{class:"h-full bg-white transition-all duration-100 ease-out",style:Es({width:`${a.progress}%`})},null,4)])],2))),128))]),_:1}))}}),Ap=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Op=Ap(Tp,[["__scopeId","data-v-6fdbaa84"]]),Pp={key:0,class:"loading-overlay"},Lp=Vn({__name:"App",setup(e){const t=en(!1),n=en(!1),s=Ld(),r=Fc(),o=()=>window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,i=()=>{const c=localStorage.getItem("colorMode");return c?c==="dark":null},l=c=>{t.value=c,localStorage.setItem("colorMode",c?"dark":"light")};return As(()=>{const c=i();l(c!==null?c:o()),Zr.post("/",{}).then(u=>{u.code===200&&(localStorage.setItem("config",JSON.stringify(u.detail)),u.detail.notify_title&&u.detail.notify_content&&localStorage.getItem("notify")!==u.detail.notify_title+u.detail.notify_content&&(localStorage.setItem("notify",u.detail.notify_title+u.detail.notify_content),r.showAlert(u.detail.notify_title+": "+u.detail.notify_content,"success")))})}),fu(()=>{document.documentElement.classList.toggle("dark",t.value)}),s.beforeEach((c,u,a)=>{n.value=!0,a()}),s.afterEach(()=>{setTimeout(()=>{n.value=!1},200)}),jt("isDarkMode",t),jt("setColorMode",l),jt("isLoading",n),(c,u)=>(qe(),Nn("div",{class:an(["app-container",t.value?"dark":"light"])},[me(Hd,{modelValue:t.value,"onUpdate:modelValue":u[0]||(u[0]=a=>t.value=a)},null,8,["modelValue"]),n.value?(qe(),Nn("div",Pp,u[1]||(u[1]=[ke("div",{class:"loading-spinner"},null,-1)]))):xu("",!0),me(Oe(ac),null,{default:us(({Component:a})=>[me($u,{name:"fade",mode:"out-in"},{default:us(()=>[(qe(),tn(ml(a),{key:c.$route.fullPath}))]),_:2},1024)]),_:1}),me(Op)],2))}}),Ip="modulepreload",Np=function(e){return"/"+e},Ei={},vt=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));r=Promise.allSettled(n.map(c=>{if(c=Np(c),c in Ei)return;Ei[c]=!0;const u=c.endsWith(".css"),a=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${a}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":Ip,u||(f.as="script"),f.crossOrigin="",f.href=c,l&&f.setAttribute("nonce",l),document.head.appendChild(f),u)return new Promise((p,m)=>{f.addEventListener("load",p),f.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return r.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},Mp=Od({history:od("/"),routes:[{path:"/",name:"Retrieve",component:()=>vt(()=>import("./RetrievewFileView-B9XfNvQg.js"),__vite__mapDeps([0,1,2,3,4,5]))},{path:"/send",name:"Send",component:()=>vt(()=>import("./SendFileView-Ca-fZPSX.js"),__vite__mapDeps([6,1,3,4,7]))},{path:"/admin",name:"Manage",component:()=>vt(()=>import("./AdminLayout-CYVTuRyJ.js"),__vite__mapDeps([8,2,9])),redirect:"/admin/dashboard",children:[{path:"/admin/dashboard",name:"Dashboard",component:()=>vt(()=>import("./DashboardView-hfXRelMZ.js"),__vite__mapDeps([10,3,4]))},{path:"/admin/files",name:"FileManage",component:()=>vt(()=>import("./FileManageView-BpHyAu06.js"),__vite__mapDeps([11,3]))},{path:"/admin/settings",name:"Settings",component:()=>vt(()=>import("./SystemSettingsView-DUp8dOrM.js"),[])}]},{path:"/login",name:"Login",component:()=>vt(()=>import("./LoginView-zsYUSR2Y.js"),__vite__mapDeps([12,2,13]))}]});vt(()=>import("./SendFileView-Ca-fZPSX.js"),__vite__mapDeps([6,1,3,4,7]));const eo=yf(Lp);eo.use(vf());eo.use(Mp);eo.mount("#app");export{Zr as A,Vn as B,Bp as C,nn as D,fl as E,He as F,Cf as G,Hn as H,qr as I,tn as J,ml as K,jp as L,lf as T,$d as X,Ap as _,Hp as a,Fe as b,qt as c,Nn as d,ke as e,me as f,Oe as g,$p as h,Pe as i,kp as j,xu as k,us as l,Su as m,an as n,As as o,Fp as p,Va as q,en as r,Tf as s,Xc as t,Fc as u,Dp as v,Sn as w,$u as x,Ld as y,qe as z}; diff --git a/themes/2024/assets/trash-BsECra8n.js b/themes/2024/assets/trash-CSx5DaSf.js similarity index 95% rename from themes/2024/assets/trash-BsECra8n.js rename to themes/2024/assets/trash-CSx5DaSf.js index 66318d8..5773cbf 100644 --- a/themes/2024/assets/trash-BsECra8n.js +++ b/themes/2024/assets/trash-CSx5DaSf.js @@ -1,4 +1,4 @@ -import{c as a}from"./index-BMgmatCO.js";/** +import{c as a}from"./index-Dm7yhqOC.js";/** * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. diff --git a/themes/2024/index.html b/themes/2024/index.html index 3ef87af..c0b8060 100644 --- a/themes/2024/index.html +++ b/themes/2024/index.html @@ -2,17 +2,17 @@ - + - + {{title}} - - + +