Files
aula-manager/chunk-BP0XrCdP.js
T
2026-07-05 17:54:50 +07:00

342 lines
69 KiB
JavaScript

import{l as vt,a as C,h as Ut,w as P,r as Ie,u as S,g as L,o as In,aD as Rn,j as Ge,_ as te,b as Re,O as Be,m as He,y as fe,x as Je,D as de,E as We,V as yt,av as re,ab as Zt,a0 as Ue,aE as Ln,az as mt,aA as bt,at as je,q as Bn,as as gt,au as Ne,al as On,v as Fn,am as kt}from"./chunk-DhYw-kuD.js";const we=typeof window<"u";var wt;we&&((wt=window==null?void 0:window.navigator)!=null&&wt.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);const qn=Object.prototype.toString,jn=Object.prototype.hasOwnProperty;function Nn(e,n){return qn.call(e)===`[object ${n}]`}function _n(e,n){return jn.call(e,n)}function An(e){return e!=null}function ve(e){return e==null}function Pn(e){return e===!0}function Vn(e){return Nn(e,"Object")}function _e(e){return typeof e=="function"}function xt(e,n=!1){return!n&&!we?!1:!!(e&&"nodeType"in e)}function ye(){}const Xn=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Xn)));function St(e){let n=parseFloat(e);return Number.isNaN(n)&&(n=Number(e)),Number.isNaN(n)?0:n}function Dn(e){const n=e.toString().split(/[eE]/),t=(n[0].split(".")[1]||"").length-+(n[1]||0);return t>0?t:0}function Yn(e,n){if(n===0)return Math.round(e);let t=e.toFixed(Dn(e));const r=t.indexOf(".");if(r===-1)return e;const a=t.replace(".","").split(""),l=r+n;return a[l]?(t.charAt(l+1)==="5"?t=t.substring(0,l+1)+"6":t=t.substring(0,l+2),parseFloat(Number(t).toFixed(n))):e}function Mt(e,n,t){return Yn(e*n,t)}function Hn(e,n,t){return Math.max(n,Math.min(t,parseFloat(e)))}const ae=we&&("ontouchstart"in window||Wn()>0);function Wn(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function Un(){const e=new Map;return{on(n,t){const r=e.get(n);r!=null&&r.add(t)||e.set(n,new Set([t]))},off(n,t){const r=e.get(n);r&&r.delete(t)},clear(n){const t=e.get(n);t&&t.clear()},clearAll(){e.clear()},emit(n,...t){const r=e.get(n);r&&r.forEach(a=>{a(...t)})}}}function Gt(e,n=16){if(typeof e!="function")return ye;const t=(...l)=>{e(...l)};if(n<=0)return Zn(t);let r=0,a;return function(...l){const d=Date.now(),v=d-r;clearTimeout(a),v>=n?(r=d,t(...l)):a=setTimeout(()=>{r=Date.now(),t(...l)},Math.max(0,n-v))}}function Zn(e){if(typeof e!="function")return e;let n=!1,t,r;return function(...a){return t=a,n||(n=!0,r=Promise.resolve().then(()=>(n=!1,r=void 0,e(...t)))),r}}function Gn(e){return Array.isArray(e)?e:[e]}/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var Ee={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.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Jn=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const i=(e,n)=>({size:t,strokeWidth:r=2,absoluteStrokeWidth:a,color:l,class:d,...v},{attrs:f,slots:s})=>vt("svg",{...Ee,width:t||Ee.width,height:t||Ee.height,stroke:l||Ee.stroke,"stroke-width":a?Number(r)*24/Number(t):r,...f,class:["lucide",`lucide-${Jn(e)}`],...v},[...n.map(y=>vt(...y)),...s.default?[s.default()]:[]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Kn=i("ArrowLeftRightIcon",[["path",{d:"M8 3 4 7l4 4",key:"9rb6wj"}],["path",{d:"M4 7h16",key:"6tx8e3"}],["path",{d:"m16 21 4-4-4-4",key:"siv7j2"}],["path",{d:"M20 17H4",key:"h6l3hr"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Qn=i("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.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const er=i("CheckIcon",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tr=i("ChevronDownIcon",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nr=i("ChevronLeftIcon",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rr=i("ChevronRightIcon",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ar=i("ChevronUpIcon",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const or=i("ChevronsLeftIcon",[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lr=i("ChevronsRightIcon",[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ir=i("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.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cr=i("CircleCheckIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ur=i("CircleHelpIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Et=i("CircleXIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sr=i("ClockIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dr=i("CloudUploadIcon",[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M12 12v9",key:"192myk"}],["path",{d:"m16 16-4-4-4 4",key:"119tzi"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fr=i("EllipsisIcon",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hr=i("EyeOffIcon",[["path",{d:"M9.88 9.88a3 3 0 1 0 4.24 4.24",key:"1jxqfv"}],["path",{d:"M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68",key:"9wicm4"}],["path",{d:"M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61",key:"1jreej"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zt=i("EyeIcon",[["path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z",key:"rwhkz3"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pr=i("FileArchiveIcon",[["path",{d:"M16 22h2a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v18",key:"1oywqq"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"10",cy:"20",r:"2",key:"1xzdoj"}],["path",{d:"M10 7V6",key:"dljcrl"}],["path",{d:"M10 12v-1",key:"v7bkov"}],["path",{d:"M10 18v-2",key:"1cjy8d"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vr=i("FileCodeIcon",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m10 13-2 2 2 2",key:"17smn8"}],["path",{d:"m14 17 2-2-2-2",key:"14mezr"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yr=i("FileImageIcon",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"10",cy:"12",r:"2",key:"737tya"}],["path",{d:"m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",key:"wt3hpn"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mr=i("FileMusicIcon",[["circle",{cx:"14",cy:"16",r:"2",key:"1bzzi3"}],["circle",{cx:"6",cy:"18",r:"2",key:"1fncim"}],["path",{d:"M4 12.4V4a2 2 0 0 1 2-2h8.5L20 7.5V20a2 2 0 0 1-2 2h-7.5",key:"skc018"}],["path",{d:"M8 18v-7.7L16 9v7",key:"1oie6o"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const br=i("FileTextIcon",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gr=i("FileVideoIcon",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m10 11 5 3-5 3v-6Z",key:"7ntvm4"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kr=i("FileIcon",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wr=i("FilterIcon",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xr=i("FlipHorizontalIcon",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3",key:"1i73f7"}],["path",{d:"M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3",key:"saxlbk"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 2v2",key:"tus03m"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Sr=i("FlipVerticalIcon",[["path",{d:"M21 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3",key:"14bfxa"}],["path",{d:"M21 16v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3",key:"14rx03"}],["path",{d:"M4 12H2",key:"rhcxmi"}],["path",{d:"M10 12H8",key:"s88cx1"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Mr=i("FullscreenIcon",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["rect",{width:"10",height:"8",x:"7",y:"8",rx:"1",key:"vys8me"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Er=i("GripVerticalIcon",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zr=i("ImageIcon",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Cr=i("IndentDecreaseIcon",[["polyline",{points:"7 8 3 12 7 16",key:"2j60jr"}],["line",{x1:"21",x2:"11",y1:"12",y2:"12",key:"1fxxak"}],["line",{x1:"21",x2:"11",y1:"6",y2:"6",key:"asgu94"}],["line",{x1:"21",x2:"11",y1:"18",y2:"18",key:"13dsj7"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $r=i("IndentIncreaseIcon",[["polyline",{points:"3 8 7 12 3 16",key:"f3rxhf"}],["line",{x1:"21",x2:"11",y1:"12",y2:"12",key:"1fxxak"}],["line",{x1:"21",x2:"11",y1:"6",y2:"6",key:"asgu94"}],["line",{x1:"21",x2:"11",y1:"18",y2:"18",key:"13dsj7"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Tr=i("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.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ir=i("LoaderCircleIcon",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Rr=i("LogOutIcon",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Lr=i("MaximizeIcon",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Br=i("MessageCircleQuestionIcon",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Or=i("MinimizeIcon",[["path",{d:"M8 3v3a2 2 0 0 1-2 2H3",key:"hohbtr"}],["path",{d:"M21 8h-3a2 2 0 0 1-2-2V3",key:"5jw1f3"}],["path",{d:"M3 16h3a2 2 0 0 1 2 2v3",key:"198tvr"}],["path",{d:"M16 21v-3a2 2 0 0 1 2-2h3",key:"ph8mxp"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Fr=i("MinusIcon",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qr=i("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.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ct=i("PauseIcon",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jr=i("PictureInPictureIcon",[["path",{d:"M8 4.5v5H3m-1-6 6 6m13 0v-3c0-1.16-.84-2-2-2h-7m-9 9v2c0 1.05.95 2 2 2h3",key:"bcd8fb"}],["rect",{width:"10",height:"7",x:"12",y:"13.5",ry:"2",key:"136fx3"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $t=i("PlayIcon",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Nr=i("PlusIcon",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _r=i("RefreshCwIcon",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ar=i("Repeat2Icon",[["path",{d:"m2 9 3-3 3 3",key:"1ltn5i"}],["path",{d:"M13 18H7a2 2 0 0 1-2-2V6",key:"1r6tfw"}],["path",{d:"m22 15-3 3-3-3",key:"4rnwn2"}],["path",{d:"M11 6h6a2 2 0 0 1 2 2v10",key:"2f72bc"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Pr=i("RotateCcwIcon",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Vr=i("RotateCwIcon",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Xr=i("SearchIcon",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Dr=i("SirenIcon",[["path",{d:"M7 18v-6a5 5 0 1 1 10 0v6",key:"pcx96s"}],["path",{d:"M5 21a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z",key:"1b4s83"}],["path",{d:"M21 12h1",key:"jtio3y"}],["path",{d:"M18.5 4.5 18 5",key:"g5sp9y"}],["path",{d:"M2 12h1",key:"1uaihz"}],["path",{d:"M12 2v1",key:"11qlp1"}],["path",{d:"m4.929 4.929.707.707",key:"1i51kw"}],["path",{d:"M12 12v6",key:"3ahymv"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Yr=i("SkipBackIcon",[["polygon",{points:"19 20 9 12 19 4 19 20",key:"o2sva"}],["line",{x1:"5",x2:"5",y1:"19",y2:"5",key:"1ocqjk"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Hr=i("SkipForwardIcon",[["polygon",{points:"5 4 15 12 5 20 5 4",key:"16p6eg"}],["line",{x1:"19",x2:"19",y1:"5",y2:"19",key:"futhcm"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wr=i("SquareMinusIcon",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 12h8",key:"1wcyev"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ur=i("SquarePlusIcon",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Zr=i("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.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Gr=i("Trash2Icon",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Jr=i("UploadIcon",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Kr=i("UserRoundIcon",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Qr=i("Volume1Icon",[["polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5",key:"16drj5"}],["path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07",key:"ltjumu"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ea=i("Volume2Icon",[["polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5",key:"16drj5"}],["path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07",key:"ltjumu"}],["path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14",key:"1kegas"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ta=i("VolumeXIcon",[["polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5",key:"16drj5"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const na=i("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ra=i("ZoomInIcon",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);/**
* @license lucide-vue-next v0.365.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aa=i("ZoomOutIcon",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),se=e=>`--${e}`,Ae=e=>`var(--${e})`,Pe=(e,n)=>`--${e}: ${n};`;function oa(e,n){if(!n)return{b:()=>`${e}`,be:r=>`${e}__${r}`,bm:r=>`${e}--${r}`,bem:(r,a)=>`${e}__${r}--${a}`,bs:r=>`${e}-${r}`,cb:()=>`.${e}`,cbe:r=>`.${e}__${r}`,cbm:r=>`.${e}--${r}`,cbem:(r,a)=>`.${e}__${r}--${a}`,cbs:r=>`.${e}-${r}`,cv:r=>se(`${e}-${r}`),cvm:(r,a={})=>{for(const l of Object.keys(r))a[se(`${e}-${l}`)]=r[l];return a},gcv:r=>Ae(`${e}-${r}`),scv:(r,a)=>Pe(`${e}-${r}`,a)};const t=r=>typeof n=="function"?n(r):n;return{b:()=>`${t()}-${e}`,be:r=>`${t()}-${e}__${r}`,bm:r=>`${t()}-${e}--${r}`,bem:(r,a)=>`${t()}-${e}__${r}--${a}`,bs:r=>`${t()}-${e}-${r}`,ns:r=>`${t()}-${r}`,cb:()=>`.${t()}-${e}`,cbe:r=>`.${t()}-${e}__${r}`,cbm:r=>`.${t()}-${e}--${r}`,cbem:(r,a)=>`.${t()}-${e}__${r}--${a}`,cbs:r=>`.${t()}-${e}-${r}`,cns:r=>`.${t()}-${r}`,cv:r=>se(`${t(!0)}-${e}-${r}`),cvm:(r,a={})=>{const l=t(!0);for(const d of Object.keys(r))a[se(`${l}-${e}-${d}`)]=r[d];return a},gcv:r=>Ae(`${t(!0)}-${e}-${r}`),scv:(r,a)=>Pe(`${t(!0)}-${e}-${r}`,a),nv:r=>se(`${t(!0)}-${r}`),nvm:(r,a={})=>{const l=t(!0);for(const d of Object.keys(r))a[se(`${l}-${d}`)]=r[d];return a},gnv:r=>Ae(`${t(!0)}-${r}`),snv:(r,a)=>Pe(`${t(!0)}-${r}`,a)}}C(()=>100);function la(){return{locale:"zh-CN",wordSpace:!1,calendar:{year:"年",month:"月",month1:"01月",month2:"02月",month3:"03月",month4:"04月",month5:"05月",month6:"06月",month7:"07月",month8:"08月",month9:"09月",month10:"10月",month11:"11月",month12:"12月",week1:"一",week2:"二",week3:"三",week4:"四",week5:"五",week6:"六",week7:"日",ariaLabel:{year:"年",month:"月",month1:"一月",month2:"二月",month3:"三月",month4:"四月",month5:"五月",month6:"六月",month7:"七月",month8:"八月",month9:"九月",month10:"十月",month11:"十一月",month12:"十二月",week1:"星期一",week2:"星期二",week3:"星期三",week4:"星期四",week5:"星期五",week6:"星期六",week7:"星期日"}},captcha:{slideEnd:"请滑动到最后",slide:"请滑动到适当的位置",success:"验证成功",fail:"验证失败,请重试",doCaptcha:"请完成下面的验证",pointInOrder:"请按顺序点击",trigger:"点击进行验证",completed:"已完成验证"},checkbox:{all:"全选"},colorPicker:{confirm:"确定",cancel:"重置",ariaLabel:{clear:"清空颜色"}},confirm:{confirm:"确认",cancel:"取消"},datePicker:{confirm:"确认",cancel:"取消",placeholder:{year:"年份",month:"月份",date:"日期",datetime:"日期时间",start:"开始",end:"结束",select:"请选择"},startTime:"开始时间",endTime:"结束时间",ariaLabel:{clear:"清空日期",quarter:"季度",week:"周",date:"日",hour:"时",minute:"分",second:"秒"}},drawer:{confirm:"确认",cancel:"取消"},form:{submit:"提交",reset:"重置",notNullable:"不可为空",validateFail:"验证未通过"},image:{placeholder:"加载中...",error:"加载失败"},input:{placeholder:"请输入",ariaLabel:{clear:"清空文本"}},layout:{signOut:"注销",signType:"导航模式",majorColor:"主题颜色",themeMode:"主题模式"},modal:{confirm:"确认",cancel:"取消"},numberInput:{placeholder:"请输入数字",outOfRange:"超出范围",ariaLabel:{clear:"清空数字",increase:"增加",decrease:"减少"}},pagination:{page:"页",perPage:"条/页",prevPage:"上一页",nextPage:"下一页",prev:"向前",next:"向后",total:"共",jumpTo:"跳转",itemUnit:"条"},select:{placeholder:"请选择",empty:"暂无数据",search:"搜索选项",ariaLabel:{clear:"清空选项"}},table:{empty:"暂无数据",filterConfirm:"筛选",filterReset:"重置",filterAll:"全部"},timeAgo:{ago:"前",late:"后",justNow:"刚刚",second:"秒",minute:"分钟",hour:"小时",yesterday:"昨天",days:"天",lastMonth:"上个月",months:"个月",lastYear:"去年",years:"年"},timePicker:{confirm:"确认",cancel:"取消",placeholder:{time:"时间",start:"开始",end:"结束",select:"请选择"},ariaLabel:{clear:"清空时间",hour:"时",minute:"分",second:"秒"}},tour:{prev:"上一步",next:"下一步",done:"完成",stepCount:"第 {n} 步"},transfer:{source:"源",target:"目标",empty:"暂无数据",reverse:"反选",search:"搜索 (Ctrl + F)"},tree:{empty:"暂无数据"},upload:{upload:"上传文件",uploading:"上传中",dragOrClick:"将文件拖到此处, 或点击上传",ariaLabel:{preview:"预览文件",delete:"删除文件"}},video:{play:"播放",pause:"暂停",playPrev:"上一个",playNext:"下一个",refresh:"刷新",flip:"镜像翻转",requestPip:"进入画中画",exitPip:"退出画中画",fullWindow:"进入网页全屏",fullWindowExit:"退出网页全屏",fullScreen:"进入全屏",fullScreenExit:"退出全屏",chapterCount:"第 {n} 章"},viewer:{rotateRight:"向右旋转",rotateLeft:"向左旋转",flipHorizontal:"横向翻转",flipVertical:"纵向翻转",zoomIn:"放大",zoomOut:"缩小",fullScreen:"进入全屏",fullScreenExit:"退出全屏",reset:"重置"}}}C(()=>la());const Jt={loading:[Ir,{effect:"spin-in"}],clear:Et,close:na,calendar:Qn,clock:sr,exchange:Kn,angleUp:ar,angleRight:rr,angleDown:tr,angleLeft:nr,anglesRight:lr,anglesLeft:or,retweet:Ar,refresh:_r,filter:wr,ellipsis:fr,upload:Jr,uploadCloud:dr,check:er,help:ur,alert:Dr,question:Br,info:Tr,success:cr,warning:ir,error:Et,delete:Gr,preview:zt,image:zr,plus:Nr,minus:Fr,plusSquare:Ur,minusSquare:Wr,cipherText:hr,plainText:zt,user:Kr,light:Zr,dark:qr,signOut:Rr,indent:$r,outdent:Cr,search:Xr,rotateRight:Vr,rotateLeft:Pr,flipX:xr,flipY:Sr,zoomIn:ra,zoonOut:aa,fullScreen:Lr,resetScreen:Or,dragger:Er,file:kr,fileText:br,fileCode:vr,fileImage:yr,fileAudio:mr,fileVideo:gr,fileZip:pr,volume:ea,volumeLow:Qr,volumeMute:ta,play:$t,pause:Ct,fullWindow:Mr,pip:jr,playState:$t,pauseState:Ct,playPrev:Yr,playNext:Hr},ia=Object.freeze(Object.keys(Jt));C(()=>{const e={};for(const n of ia){const[t,r={}]=Gn(Jt[n]);e[n]={...r,icon:t}}return e});const ca="__vxp-provided-namespace",ua=C(()=>"vxp");function sa(){return Ut(ca,ua)}function Kt(e,n=sa()){return oa(e,t=>t?"vxp":S(n))}const da="__vxp-provided-props",fa=/^on[A-Z]/;function Ke(e,n,t={}){const r=Ut(da,null),a=C(()=>{var f;return((f=r==null?void 0:r.value)==null?void 0:f.default)??{}}),l=C(()=>{var f;return((f=r==null?void 0:r.value)==null?void 0:f[e])??{}}),d=Object.keys(n),v={};return d.forEach(f=>{const s=t[f],y=Vn(s)&&_n(s,"default")?s:{default:s},h=_e(y.validator)?y.validator:null,b=y.default,p=ve(y.isFunc)?fa.test(String(f)):y.isFunc,w=k=>!p&&_e(k)?k():k,g=()=>!p&&_e(b)?b():b;(y.required||h)&&P(()=>n[f],k=>{if(ve(k)){y.required&&console.warn(`${Tt(e)}: '${f}' prop is required but not set`);return}else if(!h)return;h(k)===!1&&console.warn(`${Tt(e)}: an invalid value is set to '${f}' prop`)},{immediate:!0}),y.static?v[f]=C(()=>n[f]??g()):v[f]=C(()=>ve(n[f])?ve(l.value[f])?ve(a.value[f])?g():w(a.value[f]):w(l.value[f]):n[f])}),Ie(v)}function Tt(e){return`[vexip-ui:${e.charAt(0).toLocaleUpperCase()+e.substring(1)}]`}const W={type:Boolean,default:null},Qt={type:[Boolean,Number],default:null};function Qe(e){return Object.freeze({inherit:W,...e})}const It=[String,Object,Array],ha=[String,Object,Array],pa=[Function,Array];function X(){return pa}function F(e,...n){if(Array.isArray(e))for(let t=0,r=e.length;t<r;++t){const a=e[t];typeof a=="function"&&a(...n)}else typeof e=="function"&&e(...n)}let en=2e3;if(we){const e=getComputedStyle(document.documentElement),n=parseFloat(e.getPropertyValue("--vxp-z-index-popup").trim());Number.isNaN(n)||(en=n)}C(()=>en);const J=typeof window<"u";var Rt;J&&(Rt=window==null?void 0:window.navigator)!=null&&Rt.userAgent&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Lt(e){return e!=null}function Ve(){}const va=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(va)));const ya=J&&("ontouchstart"in window||ba()>0),ma=ya?"pointerdown":"click";function ba(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function ga(e,n,t=window.Event){const{type:r,bubbles:a=!1,cancelable:l=!1,...d}=n;if(!Lt(r)||r==="")return!1;let v;return Lt(t)?v=new t(r,{bubbles:a,cancelable:l}):(v=document.createEvent("HTMLEvents"),v.initEvent(r,a,l)),Object.assign(v,d),e.dispatchEvent(v)}const ka="clickoutside",wa=new Set;J&&document.addEventListener(ma,e=>{const n=e.target,t=e.composedPath&&e.composedPath();wa.forEach(r=>{r!==n&&(t?!t.includes(r):!r.contains(n))&&(!r.__transferElement||r.__transferElement!==n&&!r.__transferElement.contains(n))&&ga(r,{type:ka})})},!0);const xa=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let be;if(J){for(const e of xa)if(e[1]in document){be=e;break}}const Sa=!!be;C(()=>!1);const Ma=new Set,Ea=new WeakMap;if(J&&be){const e=be[2],n=be[4];document.addEventListener(n,()=>{if(Ma.forEach(t=>{t.value=!1}),document[e]){const t=Ea.get(document[e]);t&&(t.value=!0)}},!1)}function tn(){const e=new Set;function n(r){return Rn((a,l)=>{let d=r;const v=()=>{r!==d&&(d=r,l())};return{get:()=>(a(),r),set:f=>{f!==r&&(r=f,e.add(v))}}})}function t(){for(const r of e)r();e.clear()}return{updateSet:e,manualRef:n,triggerUpdate:t}}const nn=new Map;nn.set("x",0);nn.set("y",0);var oe=[],za=function(){return oe.some(function(e){return e.activeTargets.length>0})},Ca=function(){return oe.some(function(e){return e.skippedTargets.length>0})},Bt="ResizeObserver loop completed with undelivered notifications.",$a=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Bt}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Bt),window.dispatchEvent(e)},ke;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(ke||(ke={}));var le=function(e){return Object.freeze(e)},Ta=function(){function e(n,t){this.inlineSize=n,this.blockSize=t,le(this)}return e}(),rn=function(){function e(n,t,r,a){return this.x=n,this.y=t,this.width=r,this.height=a,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,le(this)}return e.prototype.toJSON=function(){var n=this,t=n.x,r=n.y,a=n.top,l=n.right,d=n.bottom,v=n.left,f=n.width,s=n.height;return{x:t,y:r,top:a,right:l,bottom:d,left:v,width:f,height:s}},e.fromRect=function(n){return new e(n.x,n.y,n.width,n.height)},e}(),et=function(e){return e instanceof SVGElement&&"getBBox"in e},an=function(e){if(et(e)){var n=e.getBBox(),t=n.width,r=n.height;return!t&&!r}var a=e,l=a.offsetWidth,d=a.offsetHeight;return!(l||d||e.getClientRects().length)},Ot=function(e){var n;if(e instanceof Element)return!0;var t=(n=e==null?void 0:e.ownerDocument)===null||n===void 0?void 0:n.defaultView;return!!(t&&e instanceof t.Element)},Ia=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},ge=typeof window<"u"?window:{},ze=new WeakMap,Ft=/auto|scroll/,Ra=/^tb|vertical/,La=/msie|trident/i.test(ge.navigator&&ge.navigator.userAgent),G=function(e){return parseFloat(e||"0")},he=function(e,n,t){return e===void 0&&(e=0),n===void 0&&(n=0),t===void 0&&(t=!1),new Ta((t?n:e)||0,(t?e:n)||0)},qt=le({devicePixelContentBoxSize:he(),borderBoxSize:he(),contentBoxSize:he(),contentRect:new rn(0,0,0,0)}),on=function(e,n){if(n===void 0&&(n=!1),ze.has(e)&&!n)return ze.get(e);if(an(e))return ze.set(e,qt),qt;var t=getComputedStyle(e),r=et(e)&&e.ownerSVGElement&&e.getBBox(),a=!La&&t.boxSizing==="border-box",l=Ra.test(t.writingMode||""),d=!r&&Ft.test(t.overflowY||""),v=!r&&Ft.test(t.overflowX||""),f=r?0:G(t.paddingTop),s=r?0:G(t.paddingRight),y=r?0:G(t.paddingBottom),h=r?0:G(t.paddingLeft),b=r?0:G(t.borderTopWidth),p=r?0:G(t.borderRightWidth),w=r?0:G(t.borderBottomWidth),g=r?0:G(t.borderLeftWidth),k=h+s,V=f+y,q=g+p,z=b+w,x=v?e.offsetHeight-z-e.clientHeight:0,j=d?e.offsetWidth-q-e.clientWidth:0,N=a?k+q:0,E=a?V+z:0,$=r?r.width:G(t.width)-N-j,T=r?r.height:G(t.height)-E-x,B=$+k+j+q,U=T+V+x+z,D=le({devicePixelContentBoxSize:he(Math.round($*devicePixelRatio),Math.round(T*devicePixelRatio),l),borderBoxSize:he(B,U,l),contentBoxSize:he($,T,l),contentRect:new rn(h,f,$,T)});return ze.set(e,D),D},ln=function(e,n,t){var r=on(e,t),a=r.borderBoxSize,l=r.contentBoxSize,d=r.devicePixelContentBoxSize;switch(n){case ke.DEVICE_PIXEL_CONTENT_BOX:return d;case ke.BORDER_BOX:return a;default:return l}},Ba=function(){function e(n){var t=on(n);this.target=n,this.contentRect=t.contentRect,this.borderBoxSize=le([t.borderBoxSize]),this.contentBoxSize=le([t.contentBoxSize]),this.devicePixelContentBoxSize=le([t.devicePixelContentBoxSize])}return e}(),cn=function(e){if(an(e))return 1/0;for(var n=0,t=e.parentNode;t;)n+=1,t=t.parentNode;return n},Oa=function(){var e=1/0,n=[];oe.forEach(function(l){if(l.activeTargets.length!==0){var d=[];l.activeTargets.forEach(function(v){var f=new Ba(v.target),s=cn(v.target);d.push(f),v.lastReportedSize=ln(v.target,v.observedBox),s<e&&(e=s)}),n.push(function(){l.callback.call(l.observer,d,l.observer)}),l.activeTargets.splice(0,l.activeTargets.length)}});for(var t=0,r=n;t<r.length;t++){var a=r[t];a()}return e},jt=function(e){oe.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(t){t.isActive()&&(cn(t.target)>e?n.activeTargets.push(t):n.skippedTargets.push(t))})})},Fa=function(){var e=0;for(jt(e);za();)e=Oa(),jt(e);return Ca()&&$a(),e>0},Xe,un=[],qa=function(){return un.splice(0).forEach(function(e){return e()})},ja=function(e){if(!Xe){var n=0,t=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return qa()}).observe(t,r),Xe=function(){t.textContent="".concat(n?n--:n++)}}un.push(e),Xe()},Na=function(e){ja(function(){requestAnimationFrame(e)})},Te=0,_a=function(){return!!Te},Aa=250,Pa={attributes:!0,characterData:!0,childList:!0,subtree:!0},Nt=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],_t=function(e){return e===void 0&&(e=0),Date.now()+e},De=!1,Va=function(){function e(){var n=this;this.stopped=!0,this.listener=function(){return n.schedule()}}return e.prototype.run=function(n){var t=this;if(n===void 0&&(n=Aa),!De){De=!0;var r=_t(n);Na(function(){var a=!1;try{a=Fa()}finally{if(De=!1,n=r-_t(),!_a())return;a?t.run(1e3):n>0?t.run(n):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var n=this,t=function(){return n.observer&&n.observer.observe(document.body,Pa)};document.body?t():ge.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var n=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Nt.forEach(function(t){return ge.addEventListener(t,n.listener,!0)}))},e.prototype.stop=function(){var n=this;this.stopped||(this.observer&&this.observer.disconnect(),Nt.forEach(function(t){return ge.removeEventListener(t,n.listener,!0)}),this.stopped=!0)},e}(),Ze=new Va,At=function(e){!Te&&e>0&&Ze.start(),Te+=e,!Te&&Ze.stop()},Xa=function(e){return!et(e)&&!Ia(e)&&getComputedStyle(e).display==="inline"},Da=function(){function e(n,t){this.target=n,this.observedBox=t||ke.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var n=ln(this.target,this.observedBox,!0);return Xa(this.target)&&(this.lastReportedSize=n),this.lastReportedSize.inlineSize!==n.inlineSize||this.lastReportedSize.blockSize!==n.blockSize},e}(),Ya=function(){function e(n,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=n,this.callback=t}return e}(),Ce=new WeakMap,Pt=function(e,n){for(var t=0;t<e.length;t+=1)if(e[t].target===n)return t;return-1},$e=function(){function e(){}return e.connect=function(n,t){var r=new Ya(n,t);Ce.set(n,r)},e.observe=function(n,t,r){var a=Ce.get(n),l=a.observationTargets.length===0;Pt(a.observationTargets,t)<0&&(l&&oe.push(a),a.observationTargets.push(new Da(t,r&&r.box)),At(1),Ze.schedule())},e.unobserve=function(n,t){var r=Ce.get(n),a=Pt(r.observationTargets,t),l=r.observationTargets.length===1;a>=0&&(l&&oe.splice(oe.indexOf(r),1),r.observationTargets.splice(a,1),At(-1))},e.disconnect=function(n){var t=this,r=Ce.get(n);r.observationTargets.slice().forEach(function(a){return t.unobserve(n,a.target)}),r.activeTargets.splice(0,r.activeTargets.length)},e}(),Ha=function(){function e(n){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof n!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");$e.connect(this,n)}return e.prototype.observe=function(n,t){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ot(n))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");$e.observe(this,n,t)},e.prototype.unobserve=function(n){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ot(n))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");$e.unobserve(this,n)},e.prototype.disconnect=function(){$e.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const Le=new WeakMap;function Wa(e){for(let n=0,t=e.length;n<t;++n){const r=e[n],a=Le.get(r.target);typeof a=="function"&&a(r)}}const sn=new(J&&window.ResizeObserver||Ha)(Wa);function dn(e,n){Le.set(e,n),sn.observe(e)}function Ua(e){Le.has(e)&&(sn.unobserve(e),Le.delete(e))}function Za(){return{observeResize:dn,unobserveResize:Ua}}const fn=L(!1),Ga=C(()=>fn.value),me="__rtl_observer__";function hn(){return J&&!document.querySelector(`#${me}`)&&Ja(),{isRtl:Ga}}function Ja(){if(!J)return;const e=document.createElement("style"),n=`#${me} { width: 1px } html.rtl #${me}, html[dir='rtl'] #${me} { width: 2px }`;e.textContent=n,document.head.appendChild(e);const t=document.createElement("div");t.id=me,t.role="none",t.style.cssText="position: fixed; top -10px; left: -10px; height: 1px; visibility: hidden;",dn(t,()=>{J&&(fn.value=document.documentElement.classList.contains("rtl")||document.documentElement.getAttribute("dir")==="rtl")}),document.body.appendChild(t)}const Vt="__theme_style__",Ye="__theme_observer__",Xt=Ie(new Map),Dt=new Map;P(Xt,()=>{if(!J)return;Dt.clear();const e=document.head.querySelector(`#${Vt}`);e&&document.head.removeChild(e);const n=document.createElement("style");let t=`.${Ye} { width: 1px }`,r=1;for(const[a,[l,d]]of Xt.entries())t+=` html.${l} .${Ye}, .${d} .${Ye} { width: ${++r}px }`,Dt.set(r,a);n.textContent=t,n.id=Vt,document.head.appendChild(n)});function pn(){const e={};return In(()=>{Object.keys(e).forEach(n=>{clearTimeout(e[n])})}),{timer:e}}const Ka=Qe({placement:String,scroll:Number,barLength:Number,width:Number,appear:W,fade:Number,barColor:String,trackColor:String,disabled:W,wrapper:[String,Object],duration:Number,useTrack:W,trackSpeed:Number,onScrollStart:X(),onScroll:X(),onScrollEnd:X()});var Q=(e=>(e[e.HORIZONTAL=0]="HORIZONTAL",e[e.VERTICAL=1]="VERTICAL",e))(Q||{});const Qa=Object.freeze(["top","right","bottom","left"]);function eo({currentScroll:e=L(0),trackSpeed:n=L(2),track:t=L(null),bar:r=L(null),tracking:a=L(!1),type:l=L(Q.VERTICAL),barLength:d=L(35),disabled:v=L(!1),onDown:f=ye,onMove:s=ye,onUp:y=ye,onScroll:h=ye}){let b,p,w,g,k=!0,V=!1;function q(){if(!a.value)return;V=!0;const E=to(g,e.value);let $=!1;k?e.value<g&&(e.value+=E*n.value,$=!0):e.value>g&&(e.value-=E*n.value,$=!0),$&&(N(),h(e.value)),(a.value&&k?e.value<g:e.value>g)?requestAnimationFrame(q):V=!1}function z(E){if(v.value||E.button>0||(E.stopPropagation(),E.preventDefault(),!t.value||!r.value))return!1;document.addEventListener("pointermove",x),document.addEventListener("pointerup",j);const $=t.value.getBoundingClientRect(),T=r.value.getBoundingClientRect();let B;l.value===Q.VERTICAL?(b=$.height,p=T.top-$.top,w=T.top,B=p+E.clientY-w):(b=$.width,p=T.left-$.left,w=T.left,B=p+E.clientX-w),g=Math.max(0,Math.min(B/b/(100-d.value/2)*1e4,100)),k=g>=e.value,a.value=!0,f(e.value),q()}function x(E){E.stopPropagation(),ae||E.preventDefault(),s(e.value);let $;l.value===Q.VERTICAL?$=p+E.clientY-w:$=p+E.clientX-w,g=Math.max(0,Math.min($/b/(100-d.value/2)*1e4,100)),!V&&q()}function j(E){E.preventDefault(),document.removeEventListener("pointermove",x),document.removeEventListener("pointerup",j),a.value=!1,y(e.value)}function N(){e.value=Math.max(0,Math.min(e.value,100))}return{currentScroll:e,trackSpeed:n,track:t,bar:r,tracking:a,type:l,barLength:d,disabled:v,handleMouseDown:z}}function to(e,n){const t=Math.abs(e-n);for(let r=0;r<5;++r)if(t<(r+1)*20)return 1+.25*r;return 2}const Yt=Ge({name:"Scrollbar",__name:"scrollbar",props:Ka,setup(e,{expose:n}){const t=Ke("scrollbar",e,{placement:{default:"right",validator:c=>Qa.includes(c)},scroll:{default:0,validator:c=>c>=0&&c<=100,static:!0},barLength:{default:35,validator:c=>c>0&&c<100},width:null,appear:!1,fade:1500,barColor:null,trackColor:null,disabled:!1,wrapper:null,duration:null,useTrack:!1,trackSpeed:{default:2,validator:c=>c>0&&c<10}}),r=Kt("scrollbar"),a=L(!1),l=L(!1),{manualRef:d,triggerUpdate:v}=tn(),{isRtl:f}=hn(),s=d(t.scroll),y=L(),h=L(),b=L(),{timer:p}=pn(),w=C(()=>t.placement==="right"||t.placement==="left"?Q.VERTICAL:Q.HORIZONTAL),{tracking:g,handleMouseDown:k}=eo({currentScroll:s,track:b,bar:h,type:w,trackSpeed:te(t,"trackSpeed"),barLength:te(t,"barLength"),disabled:te(t,"disabled"),onDown:c=>{clearTimeout(p.fade),F(t.onScrollStart,c)},onUp:c=>{D(),v(),F(t.onScrollEnd,c)},onScroll:c=>{v(),F(t.onScroll,c)}}),V=C(()=>[r.b(),r.bs("vars"),r.bm(t.placement),{[r.bm("inherit")]:t.inherit,[r.bm("fade")]:t.fade,[r.bm("scrolling")]:l.value,[r.bm("tracking")]:g.value,[r.bm("active")]:a.value,[r.bm("disabled")]:t.disabled}]),q=C(()=>({[r.cv("bar-bg-color")]:t.barColor,[r.cv("track-bg-color")]:t.trackColor,[r.cv("width")]:t.width?`${t.width}px`:null}));P(()=>t.scroll,c=>{s.value=c,v()}),Re(()=>{if(!h.value)return;const c=`${(100-t.barLength)*s.value/t.barLength}%`,R=`${t.barLength}%`;w.value===Q.VERTICAL?(h.value.style.height=R,h.value.style.transform=`translate3d(0, ${c}, 0)`):(h.value.style.width=R,h.value.style.transform=`translate3d(${f.value?"-":""}${c}, 0, 0)`)}),Re(()=>{h.value&&(h.value.style.transitionDuration=An(t.duration)&&t.duration>=0?`${t.duration}ms`:"")}),t.appear&&P(s,()=>{clearTimeout(p.fade),a.value=!0,!l.value&&!g.value&&D()});const z=Gt(()=>{clearTimeout(p.fade),t.disabled?a.value=!1:(a.value=!0,!l.value&&!g.value&&D())});let x;Be(()=>{let c=He();fe(()=>{var R,A,K;typeof t.wrapper=="string"?x=document.querySelector(t.wrapper):x=t.wrapper,x||(c!=null&&c.parent?(x=(R=c.parent.proxy)==null?void 0:R.$el,x||(x=((A=y.value)==null?void 0:A.parentElement)??null)):x=((K=y.value)==null?void 0:K.parentElement)??null),x&&t.fade>=300&&x.addEventListener("mousemove",z),c=null,t.appear||P(s,()=>{clearInterval(p.fade),a.value=!0,D()})})}),Je(()=>{x&&x.removeEventListener("mousemove",z),x=null,clearTimeout(p.fade)}),n({currentScroll:s,container:y,bar:h,track:b,handleScroll:ie});let j,N,E;function $(c){if(c.button!==0||t.disabled||(c.stopPropagation(),c.preventDefault(),!b.value||!h.value))return!1;document.addEventListener("pointermove",T),document.addEventListener("pointerup",B);const R=b.value.getBoundingClientRect(),A=h.value.getBoundingClientRect();w.value===Q.VERTICAL?(j=R.height,N=A.top-R.top,E=c.clientY):(j=R.width,N=f.value?A.right-R.right:A.left-R.left,E=c.clientX),clearTimeout(p.fade),l.value=!0,F(t.onScrollStart,s.value)}function T(c){c.stopPropagation(),ae||c.preventDefault();let R;w.value===Q.VERTICAL?R=N+c.clientY-E:R=f.value?-(N+c.clientX-E):N+c.clientX-E,s.value=R/j/(100-t.barLength)*1e4,U(),v(),F(t.onScroll,s.value)}function B(c){c.preventDefault(),document.removeEventListener("pointermove",T),document.removeEventListener("pointerup",B),D(),l.value=!1,F(t.onScrollEnd,s.value)}function U(){s.value=Math.max(0,Math.min(s.value,100))}function D(){t.fade>=300&&(p.fade=setTimeout(()=>{a.value=!1},t.fade))}function ie(c){Math.abs(s.value-c)<1e-4||(s.value=Hn(c,0,100),v())}function _(c){c.cancelable&&(c.stopPropagation(),c.preventDefault())}return(c,R)=>(de(),We("div",{ref_key:"container",ref:y,class:re(V.value),role:"scrollbar",style:Zt(q.value)},[yt("div",{ref_key:"track",ref:b,class:re([S(r).be("track"),S(t).useTrack?null:S(r).bem("track","disabled")]),onTouchstart:_,onPointerdown:R[0]||(R[0]=(...A)=>S(k)&&S(k)(...A))},null,34),yt("div",{ref_key:"bar",ref:h,class:re(S(r).be("bar")),onTouchstart:_,onPointerdown:$},null,34)],6))}}),no=Qe({throttle:Qt,disabled:W,onResize:X()}),ro=Ge({name:"ResizeObserver",props:no,setup(e,{slots:n}){const t=Ke("resizeObserver",e,{throttle:{default:!1,validator:h=>typeof h=="boolean"||h>0},disabled:!1}),{observeResize:r,unobserveResize:a}=Za();let l=!1;function d(h){F(t.onResize,h)}const v=t.throttle?Gt(d,typeof t.throttle=="boolean"?16:t.throttle):d,f=He();Be(()=>{P(()=>t.disabled,h=>{h?y():s()},{immediate:!0,flush:"post"})}),Je(()=>{var h,b;if(l){const p=(b=(h=He())==null?void 0:h.proxy)==null?void 0:b.$el;p!=null&&p.nextElementSibling&&a(p.nextElementSibling)}});function s(){var h;if(l)return;const b=(h=f==null?void 0:f.proxy)==null?void 0:h.$el;if(b!=null&&b.nextElementSibling){if(b.nextElementSibling!==b.nextSibling&&b.nodeType===3&&b.nodeValue!=="")return;r(b.nextElementSibling,v),l=!0}}function y(){var h;if(l){const b=(h=f==null?void 0:f.proxy)==null?void 0:h.$el;b!=null&&b.nextElementSibling&&a(b.nextElementSibling),l=!1}}return()=>Ue(n,"default")}}),ao=Qe({scrollClass:It,scrollStyle:ha,scrollAttrs:Object,mode:String,width:[Number,String],height:[Number,String],deltaX:Number,deltaY:Number,disabled:W,pointer:W,wheel:W,scrollX:Number,scrollY:Number,useXBar:W,useYBar:W,barFade:Number,barClass:It,autoplay:Qt,playWaiting:Number,noBuffer:W,noTransition:W,onBeforeScroll:Function,useBarTrack:W,scrollTag:String,onResize:X(),onXEnabledChange:X(),onYEnabledChange:X(),onWheel:X(),onScrollStart:X(),onScroll:X(),onScrollEnd:X(),onBarScrollStart:X(),onBarScroll:X(),onBarScrollEnd:X(),onReady:X()});function oo({mode:e,disabled:n,width:t,height:r,scrollX:a,scrollY:l,onResize:d,onBeforeRefresh:v,onAfterRefresh:f}){const{manualRef:s,triggerUpdate:y}=tn(),h=L(),b=L(),p=Ie({el:h,width:St(t.value),height:St(r.value)}),w=Ie({el:b,width:0,height:0}),g=s(-a.value),k=s(-l.value),V=L(!1),q=s(0),z=s(0),x=C(()=>p.width?p.width-w.width:0),j=C(()=>p.height?p.height-w.height:0),N=C(()=>!n.value&&e.value!=="vertical"&&!!p.width&&w.width-p.width>1),E=C(()=>!n.value&&e.value!=="horizontal"&&!!p.height&&w.height-p.height>1),$=C(()=>p.width?Math.max(Math.min(p.width/(w.width||1)*100,99),5):35),T=C(()=>p.height?Math.max(Math.min(p.height/(w.height||1)*100,99),5):35);P(h,()=>{U()}),P(b,()=>{ie()}),P(a,I=>{g.value=-I,_()}),P(l,I=>{k.value=-I,_()}),P(t,()=>{U().then(_)}),P(r,()=>{U().then(_)});function B(I){return fe(()=>{if(!p.el)return;const ee=I==="width"?t.value:r.value,ce=I.slice(0,1).toUpperCase()+I.slice(1);typeof ee=="string"?!ee.endsWith("px")&&(!ee||Number.isNaN(Number(ee)))?p[I]=p.el[`offset${ce}`]:p[I]=parseInt(ee):p[I]=ee})}async function U(){const I=[];e.value!=="vertical"&&I.push(B("width")),e.value!=="horizontal"&&I.push(B("height")),await Promise.all(I)}let D;function ie(){return clearTimeout(D),new Promise(I=>{V.value=!1,D=setTimeout(()=>{if(!w.el){I();return}e.value!=="vertical"&&(w.width=w.el.offsetWidth,p.width>=w.width?g.value=0:g.value===0&&(g.value=-a.value)),e.value!=="horizontal"&&(w.height=w.el.offsetHeight,p.height>=w.height?k.value=0:k.value===0&&(k.value=-l.value)),setTimeout(()=>{V.value=!0,_(),I()},1)},0)})}function _(){V.value&&(e.value!=="vertical"&&(g.value=Math.min(0,Math.max(g.value,x.value)),e.value!=="both"&&(k.value=0)),e.value!=="horizontal"&&(k.value=Math.min(0,Math.max(k.value,j.value)),e.value!=="both"&&(g.value=0)),c(),y())}function c(){q.value=Mt(g.value/(x.value||-1),100,2),z.value=Mt(k.value/(j.value||-1),100,2),q.value=Math.max(0,Math.min(q.value,100)),z.value=Math.max(0,Math.min(z.value,100))}function R(I){K(),d==null||d(I)}let A=!1;Be(()=>{K(),A=!0});async function K(){typeof v=="function"&&v(),U(),await ie().then(()=>{setTimeout(()=>{_(),typeof f=="function"&&f()},A?20:100)})}return{wrapperEl:h,contentEl:b,wrapper:p,content:w,isReady:V,x:g,y:k,percentX:q,percentY:z,xScrollLimit:x,yScrollLimit:j,enableXScroll:N,enableYScroll:E,xBarLength:$,yBarLength:T,handleResize:R,verifyScroll:_,computePercent:c,refresh:K,triggerUpdate:y}}const lo=Object.freeze(["horizontal","horizontal-exact","vertical","both"]),Ht=ae?"touchmove":"mousemove",Wt=ae?"touchend":"mouseup",co=Ge({name:"Scroll",__name:"scroll",props:ao,setup(e,{expose:n}){const t=Ke("scroll",e,{scrollClass:null,scrollStyle:null,scrollAttrs:null,mode:{default:"vertical",validator:o=>lo.includes(o)},width:"",height:"",deltaX:40,deltaY:40,disabled:!1,pointer:ae,wheel:!0,scrollX:{default:0,static:!0},scrollY:{default:0,static:!0},useXBar:!1,useYBar:!1,barFade:1500,barClass:null,autoplay:!1,playWaiting:500,noBuffer:!1,noTransition:!1,onBeforeScroll:{default:null,isFunc:!0},useBarTrack:!1,scrollTag:"div"}),r=Un(),a=Kt("scroll"),{isRtl:l}=hn(),{timer:d}=pn(),v=L(!1),f=L(!1),s=L(0),y=C(()=>t.mode==="horizontal-exact"?"horizontal":t.mode);let h=180;const b=L(),p=L();let w=!1;const{wrapperEl:g,contentEl:k,wrapper:V,isReady:q,x:z,y:x,percentX:j,percentY:N,xScrollLimit:E,yScrollLimit:$,enableXScroll:T,enableYScroll:B,xBarLength:U,yBarLength:D,handleResize:ie,verifyScroll:_,computePercent:c,refresh:R,triggerUpdate:A}=oo({mode:y,disabled:te(t,"disabled"),width:te(t,"width"),height:te(t,"height"),scrollX:te(t,"scrollX"),scrollY:te(t,"scrollY"),onResize:o=>{F(t.onResize,o)},onAfterRefresh:()=>{ne(),w||(w=!0,ce())}}),K=Ln({getState:En,refresh:R,scrollTo:Me,scrollBy:qe,scrollToElement:ht,ensureInView:pt}),I=L(!1),ee=C(()=>y.value!=="both"&&(Pn(t.autoplay)||+t.autoplay>1e3)&&(y.value==="horizontal"&&T.value||y.value==="vertical"&&B.value));P([()=>t.autoplay,()=>t.playWaiting],()=>{xe(),fe(ce)});function ce(){if(!ee.value)return;xe();const o=y.value==="horizontal"?"width":"height",u=y.value==="horizontal"?E:$,m=y.value==="horizontal"?z:x,M=t.playWaiting<20?20:t.playWaiting;let O=.5;typeof t.autoplay=="number"&&(O=V[o]/t.autoplay*16);const Y=()=>{c(),A(),ne(),ue(y.value)},H=()=>{m.value-=O,m.value<=u.value?(m.value=u.value,I.value=!1,Y(),d.end=setTimeout(()=>{Me(0,0,500),d.start=setTimeout(()=>{I.value=!0,ue(y.value),H()},500+M)},M)):(Y(),I.value&&requestAnimationFrame(H))};d.play=setTimeout(()=>{I.value=!0,H()},M)}function xe(){I.value=!1,clearTimeout(d.play),clearTimeout(d.start),clearTimeout(d.end)}const vn=C(()=>[a.b(),a.bs("vars"),a.bm(y.value),{[a.bm("inherit")]:t.inherit,[a.bm("using-bar")]:v.value,[a.bm("scrolling")]:f.value,[a.bm("no-ready")]:!q.value,[a.bm("no-transition")]:t.noTransition}]),yn=C(()=>{const{width:o,height:u}=t;return{width:o?typeof o=="string"?Number.isNaN(Number(o))?o:`${Number(o)}px`:`${o}px`:void 0,height:u?typeof u=="string"?Number.isNaN(Number(u))?u:`${Number(u)}px`:`${u}px`:void 0}}),mn=C(()=>{var o;return[(o=t.scrollAttrs)==null?void 0:o.class,t.scrollClass,a.be("wrapper")]}),bn=C(()=>{var o;return[(o=t.scrollAttrs)==null?void 0:o.style,t.scrollStyle]});P(T,o=>{F(t.onXEnabledChange,o)}),P(B,o=>{F(t.onYEnabledChange,o)}),P(q,o=>{o?(s.value=-1,F(t.onReady)):s.value=0}),Re(()=>{k.value&&(k.value.style.transform=`translate3d(${l.value?-z.value:z.value}px, ${x.value}px, 0)`)}),Re(()=>{k.value&&(k.value.style.transitionDuration=s.value<0?"":`${s.value}ms`)}),Be(()=>{if(!we||!g.value)return;const o=getComputedStyle(g.value).getPropertyValue(a.cv("move-duration")).trim();o.endsWith("ms")?h=parseFloat(o):o.endsWith("s")&&(h=parseFloat(o)*1e3),h=Number.isNaN(h)?140:h}),Je(xe),n({percentX:j,percentY:N,x:z,y:x,isReady:q,xBarLength:U,yBarLength:D,enableXScroll:T,enableYScroll:B,wrapper:g,content:k,xBar:b,yBar:p,refresh:R,scrollTo:Me,scrollBy:qe,scrollToElement:ht,ensureInView:pt,getXScrollLimit:zn,getYScrollLimit:Cn,addScrollListener:$n,removeScrollListener:Tn});function Z(){return{clientX:-z.value,clientY:-x.value,percentX:j.value,percentY:N.value}}function ne(){var o,u;(o=b.value)==null||o.handleScroll(j.value),(u=p.value)==null||u.handleScroll(N.value)}function gn(o){if(!t.pointer||o.button>0||ae)return!1;at(o)}function kn(o){if(!t.pointer||o.touches.length!==1)return!1;at(o)}let tt=0,nt=0,Oe=0,Fe=0,pe=!1,Se=null,rt=0;function at(o){if(!T.value&&!B.value)return!1;o.cancelable&&o.preventDefault(),ct(),s.value=0;const u="touches"in o?o.touches[0]:o;tt=z.value,nt=x.value,Oe=u.clientX,Fe=u.clientY,pe=!1,Se=o.target,rt=Date.now(),document.addEventListener(Ht,ot),document.addEventListener(Wt,lt),F(t.onScrollStart,Z())}function ot(o){var u;o.stopPropagation(),ae||o.preventDefault();const m="touches"in o?o.touches[0]:o,M=m.clientX-Oe>0?1:-1,O=m.clientY-Fe>0?1:-1;if(((u=t.onBeforeScroll)==null?void 0:u.call(t,{signX:M,signY:O}))===!1)return!1;f.value=!0,T.value&&(z.value=tt+m.clientX-Oe,pe=!0),B.value&&(x.value=nt+m.clientY-Fe,pe=!0),t.noBuffer?_():(c(),A()),ne(),ue(y.value)}function lt(o){!pe&&Se&&o.target===Se&&Date.now()-rt<=500&&Se.dispatchEvent(new MouseEvent("click",o)),document.removeEventListener(Ht,ot),document.removeEventListener(Wt,lt),s.value=-1,pe=!1,wn(),_(),ne(),F(t.onScrollEnd,Z()),ce()}function it(o,u){var m;const M=B.value&&u==="vertical",O=T.value&&u==="horizontal",Y=o.deltaY>0?-1:1;if(t.wheel&&(M||O)&&((m=t.onBeforeScroll)==null?void 0:m.call(t,{signX:-Y,signY:-Y}))!==!1)o.preventDefault(),o.stopPropagation();else return!0;if(y.value!=="both"&&y.value!==u)return!1;ct();const H=Y*(u==="horizontal"?t.deltaX:t.deltaY);M?x.value+=H:O&&(z.value+=H),_(),ne(),ue(u),F(t.onWheel,{...Z(),type:u,sign:-Y}),ce()}function ct(){xe(),clearTimeout(d.buffer)}function wn(){t.noBuffer?d.buffer=setTimeout(()=>{f.value=!1},300):f.value=!1}function ut(o){v.value=!0,F(t.onBarScrollStart,{...Z(),type:o})}function st(o){v.value=!1,F(t.onBarScrollEnd,{...Z(),type:o})}function xn(o){j.value=o,z.value=o*E.value/100,A(),F(t.onBarScroll,{...Z(),type:"horizontal"}),ue("horizontal")}function Sn(o){N.value=o,x.value=o*$.value/100,A(),F(t.onBarScroll,{...Z(),type:"vertical"}),ue("vertical")}function ue(o){F(t.onScroll,{...Z(),type:o}),r.emit("scroll",{...Z(),type:o})}function Mn(){g.value&&(g.value.scrollTop=0,g.value.scrollLeft=0)}function En(){const{clientX:o,clientY:u,percentX:m,percentY:M}=Z();return{scrollX:o,scrollY:u,percentX:m,percentY:M,enableXScroll:T.value,enableYScroll:B.value}}function dt(o=h){return clearTimeout(d.wait),new Promise(u=>{d.wait=setTimeout(()=>u(),o+1)})}function Me(o,u,m){return ft(m),fe(()=>{let M=!1;T.value&&Math.abs(z.value+o)>.01&&(z.value=-o,M=!0),B.value&&Math.abs(x.value+u)>.01&&(x.value=-u,M=!0),_(),ne(),M||(s.value=-1)}),dt(m)}function qe(o,u,m){return ft(m),fe(()=>{let M=!1;o&&T&&(z.value-=o,M=!0),u&&B&&(x.value-=u,M=!0),_(),ne(),M||(s.value=-1)}),dt(m)}function ft(o){typeof o=="number"&&(s.value=o,s.value===0&&fe(()=>{s.value=-1}))}function ht(o,u,m=0){if(!k.value||(typeof o=="string"&&(o=k.value.querySelector(o)),!xt(o)))return Promise.resolve();const M=k.value.getBoundingClientRect(),O=o.getBoundingClientRect();let Y=0,H=0;return y.value!=="vertical"&&(Y=O.left-M.left+m),y.value!=="horizontal"&&(H=O.top-M.top+m),Me(Y,H,u)}function pt(o,u,m=0){if(!g.value||(typeof o=="string"&&(o=g.value.querySelector(o)),!xt(o)))return Promise.resolve();const M=g.value.getBoundingClientRect(),O=o.getBoundingClientRect();let Y=0,H=0;return y.value!=="vertical"&&(O.left<M.left+m?Y=O.left-M.left-m:O.right>M.right-m&&(Y=O.right-M.right+m)),y.value!=="horizontal"&&(O.top<M.top+m?H=O.top-M.top-m:O.bottom>M.bottom-m&&(H=O.bottom-M.bottom+m)),qe(Y,H,u)}function zn(){return[0,-E.value]}function Cn(){return[0,-$.value]}function $n(o){r.on("scroll",o)}function Tn(o){r.off("scroll",o)}return(o,u)=>(de(),We("div",{ref_key:"wrapperEl",ref:g,class:re(vn.value),style:Zt(yn.value),onMousedown:gn,onTouchstart:kn,onScroll:Mn,onWheel:[u[5]||(u[5]=kt(m=>it(m,S(t).mode==="horizontal-exact"?"horizontal":"vertical"),["exact"])),u[6]||(u[6]=kt(m=>it(m,"horizontal"),["shift"]))]},[o.$slots.extra?(de(),We("div",{key:0,class:re(S(a).be("extra"))},[Ue(o.$slots,"extra",mt(bt(S(K))))],2)):je("",!0),Bn(S(ro),{throttle:"","on-resize":S(ie)},{default:gt(()=>[(de(),Ne(On(S(t).scrollTag||"div"),Fn(S(t).scrollAttrs,{ref_key:"contentEl",ref:k,class:mn.value,style:bn.value,onTransitionend:u[0]||(u[0]=m=>s.value=-1)}),{default:gt(()=>[Ue(o.$slots,"default",mt(bt(S(K))))]),_:3},16,["class","style"]))]),_:3},8,["on-resize"]),S(t).useXBar?(de(),Ne(S(Yt),{key:1,ref_key:"xBar",ref:b,inherit:"",placement:"bottom",class:re([S(a).bem("bar","horizontal"),S(t).barClass]),fade:S(t).barFade,"bar-length":S(U),disabled:!S(T),duration:s.value,"use-track":S(t).useBarTrack,onScrollStart:u[1]||(u[1]=m=>ut("horizontal")),onScroll:xn,onScrollEnd:u[2]||(u[2]=m=>st("horizontal"))},null,8,["class","fade","bar-length","disabled","duration","use-track"])):je("",!0),S(t).useYBar?(de(),Ne(S(Yt),{key:2,ref_key:"yBar",ref:p,inherit:"",placement:"right",class:re([S(a).bem("bar","vertical"),S(t).barClass]),fade:S(t).barFade,"bar-length":S(D),disabled:!S(B),duration:s.value,"use-track":S(t).useBarTrack,onScrollStart:u[3]||(u[3]=m=>ut("vertical")),onScroll:Sn,onScrollEnd:u[4]||(u[4]=m=>st("vertical"))},null,8,["class","fade","bar-length","disabled","duration","use-track"])):je("",!0)],38))}});export{co as x};