import{k as g,b5 as _,b6 as w,r as h,f as V,ar as S,b7 as q,b8 as z,b9 as X,g as j,ba as Y,bb as Z,bc as ee,bd as te}from"#entry";import{b as ne}from"./COfxcSTK.js";import{G as T,S as C,H,I as G,J as re,e as K,t as se,K as oe,L as ae,d as ie,M as ue}from"./C55C_g8I.js";function b(e){var t;const n=z(e);return(t=n?.$el)!=null?t:n}const O=S?window:void 0,le=S?window.document:void 0;function y(...e){let t,n,r,s;if(Y(e[0])||Array.isArray(e[0])?([n,r,s]=e,t=O):[t,n,r,s]=e,!t)return w;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const u=[],o=()=>{u.forEach(c=>c()),u.length=0},i=(c,f,a,d)=>(c.addEventListener(f,a,d),()=>c.removeEventListener(f,a,d)),l=g(()=>[b(t),z(s)],([c,f])=>{o(),c&&u.push(...n.flatMap(a=>r.map(d=>i(c,a,d,f))))},{immediate:!0,flush:"post"}),p=()=>{l(),o()};return _(p),p}let N=!1;function Ye(e,t,n={}){const{window:r=O,ignore:s=[],capture:u=!0,detectIframe:o=!1}=n;if(!r)return;X&&!N&&(N=!0,Array.from(r.document.body.children).forEach(a=>a.addEventListener("click",w)));let i=!0;const l=a=>s.some(d=>{if(typeof d=="string")return Array.from(r.document.querySelectorAll(d)).some(v=>v===a.target||a.composedPath().includes(v));{const v=b(d);return v&&(a.target===v||a.composedPath().includes(v))}}),c=[y(r,"click",a=>{const d=b(e);if(!(!d||d===a.target||a.composedPath().includes(d))){if(a.detail===0&&(i=!l(a)),!i){i=!0;return}t(a)}},{passive:!0,capture:u}),y(r,"pointerdown",a=>{const d=b(e);d&&(i=!a.composedPath().includes(d)&&!l(a))},{passive:!0}),o&&y(r,"blur",a=>{var d;const v=b(e);((d=r.document.activeElement)==null?void 0:d.tagName)==="IFRAME"&&!v?.contains(r.document.activeElement)&&t(a)})].filter(Boolean);return()=>c.forEach(a=>a())}function x(e,t=!1){const n=h(),r=()=>n.value=!!e();return r(),q(r,t),n}function ce(e){return JSON.parse(JSON.stringify(e))}const L=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},$="__vueuse_ssr_handlers__";L[$]=L[$]||{};function Ze({document:e=le}={}){if(!e)return h("visible");const t=h(e.visibilityState);return y(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var F=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,pe=(e,t)=>{var n={};for(var r in e)de.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&F)for(var r of F(e))t.indexOf(r)<0&&fe.call(e,r)&&(n[r]=e[r]);return n};function ve(e,t,n={}){const r=n,{window:s=O}=r,u=pe(r,["window"]);let o;const i=x(()=>s&&"ResizeObserver"in s),l=()=>{o&&(o.disconnect(),o=void 0)},p=g(()=>b(e),f=>{l(),i.value&&s&&f&&(o=new ResizeObserver(t),o.observe(f,u))},{immediate:!0,flush:"post"}),c=()=>{l(),p()};return _(c),{isSupported:i,stop:c}}function et(e,t={width:0,height:0},n={}){const{window:r=O,box:s="content-box"}=n,u=V(()=>{var l,p;return(p=(l=b(e))==null?void 0:l.namespaceURI)==null?void 0:p.includes("svg")}),o=h(t.width),i=h(t.height);return ve(e,([l])=>{const p=s==="border-box"?l.borderBoxSize:s==="content-box"?l.contentBoxSize:l.devicePixelContentBoxSize;if(r&&u.value){const c=b(e);if(c){const f=r.getComputedStyle(c);o.value=parseFloat(f.width),i.value=parseFloat(f.height)}}else if(p){const c=Array.isArray(p)?p:[p];o.value=c.reduce((f,{inlineSize:a})=>f+a,0),i.value=c.reduce((f,{blockSize:a})=>f+a,0)}else o.value=l.contentRect.width,i.value=l.contentRect.height},n),g(()=>b(e),l=>{o.value=l?t.width:0,i.value=l?t.height:0}),{width:o,height:i}}function tt(e,t,n={}){const{root:r,rootMargin:s="0px",threshold:u=.1,window:o=O}=n,i=x(()=>o&&"IntersectionObserver"in o);let l=w;const p=i.value?g(()=>({el:b(e),root:b(r)}),({el:f,root:a})=>{if(l(),!f)return;const d=new IntersectionObserver(t,{root:a,rootMargin:s,threshold:u});d.observe(f),l=()=>{d.disconnect(),l=w}},{immediate:!0,flush:"post"}):w,c=()=>{l(),p()};return _(c),{isSupported:i,stop:c}}var M=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,me=(e,t)=>{var n={};for(var r in e)be.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&M)for(var r of M(e))t.indexOf(r)<0&&he.call(e,r)&&(n[r]=e[r]);return n};function nt(e,t,n={}){const r=n,{window:s=O}=r,u=me(r,["window"]);let o;const i=x(()=>s&&"MutationObserver"in s),l=()=>{o&&(o.disconnect(),o=void 0)},p=g(()=>b(e),f=>{l(),i.value&&s&&f&&(o=new MutationObserver(t),o.observe(f,u))},{immediate:!0}),c=()=>{l(),p()};return _(c),{isSupported:i,stop:c}}var R;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(R||(R={}));var ge=Object.defineProperty,k=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,B=(e,t,n)=>t in e?ge(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,we=(e,t)=>{for(var n in t||(t={}))Oe.call(t,n)&&B(e,n,t[n]);if(k)for(var n of k(t))ye.call(t,n)&&B(e,n,t[n]);return e};const Ee={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};we({linear:te},Ee);function rt(e,t,n,r={}){var s,u,o;const{clone:i=!1,passive:l=!1,eventName:p,deep:c=!1,defaultValue:f}=r,a=j(),d=a?.emit||((s=a?.$emit)==null?void 0:s.bind(a))||((o=(u=a?.proxy)==null?void 0:u.$emit)==null?void 0:o.bind(a?.proxy));let v=p;v=p||v||`update:${t.toString()}`;const P=m=>i?ee(i)?i(m):ce(m):m,A=()=>Z(e[t])?P(e[t]):f;if(l){const m=A(),I=h(m);return g(()=>e[t],E=>I.value=P(E)),g(I,E=>{(E!==e[t]||c)&&d(v,E)},{deep:c}),I}else return V({get(){return A()},set(m){d(v,m)}})}function st({window:e=O}={}){if(!e)return h(!1);const t=h(e.document.hasFocus());return y(e,"blur",()=>{t.value=!1}),y(e,"focus",()=>{t.value=!0}),t}function _e(e){return e}function Se(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Ie=800,xe=16,Pe=Date.now;function Ae(e){var t=0,n=0;return function(){var r=Pe(),s=xe-(r-n);if(n=r,s>0){if(++t>=Ie)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Te(e){return function(){return e}}var Ce=T?function(e,t){return T(e,"toString",{configurable:!0,enumerable:!1,value:Te(t),writable:!0})}:_e,Ne=Ae(Ce),U=Math.max;function Le(e,t,n){return t=U(t===void 0?e.length-1:t,0),function(){for(var r=arguments,s=-1,u=U(r.length-t,0),o=Array(u);++s<u;)o[s]=r[t+s];s=-1;for(var i=Array(t+1);++s<t;)i[s]=r[s];return i[t]=n(o),Se(e,this,i)}}var D=C?C.isConcatSpreadable:void 0;function $e(e){return H(e)||G(e)||!!(D&&e&&e[D])}function Fe(e,t,n,r,s){var u=-1,o=e.length;for(n||(n=$e),s||(s=[]);++u<o;){var i=e[u];n(i)?re(s,i):s[s.length]=i}return s}function Me(e){var t=e==null?0:e.length;return t?Fe(e):[]}function Re(e){return Ne(Le(e,void 0,Me),e+"")}function ke(e,t){return e!=null&&t in Object(e)}function Be(e,t,n){t=K(t,e);for(var r=-1,s=t.length,u=!1;++r<s;){var o=se(t[r]);if(!(u=e!=null&&n(e,o)))break;e=e[o]}return u||++r!=s?u:(s=e==null?0:e.length,!!s&&oe(s)&&ae(o,s)&&(H(e)||G(e)))}function Ue(e,t){return e!=null&&Be(e,t,ke)}function De(e,t,n){for(var r=-1,s=t.length,u={};++r<s;){var o=t[r],i=ie(e,o);n(i,o)&&ue(u,K(o,e),i)}return u}function We(e,t){return De(e,t,function(n,r){return Ue(e,r)})}var Qe=Re(function(e,t){return e==null?{}:We(e,t)});class Ve extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function ot(e,t){throw new Ve(`[${e}] ${t}`)}function at(e,t){}const ze=ne({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),it=e=>Qe(ze,e),ut=()=>S&&/firefox/i.test(window.navigator.userAgent),He=()=>S&&/android/i.test(window.navigator.userAgent),W={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},lt=(e,t,{checkForDefaultPrevented:n=!0}={})=>s=>{const u=e?.(s);if(n===!1||!u)return t?.(s)},ct=e=>t=>t.pointerType==="mouse"?e(t):void 0,dt=e=>{if(e.code&&e.code!=="Unidentified")return e.code;const t=Ge(e);if(t){if(Object.values(W).includes(t))return t;switch(t){case" ":return W.space;default:return""}}return""},Ge=e=>{let t=e.key&&e.key!=="Unidentified"?e.key:"";if(!t&&e.type==="keyup"&&He()){const n=e.target;t=n.value.charAt(n.selectionStart-1)}return t},Ke='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',Q=e=>typeof Element>"u"?!1:e instanceof Element,Je=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,ft=e=>Array.from(e.querySelectorAll(Ke)).filter(t=>J(t)&&Je(t)),J=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},pt=function(e,t,...n){let r;t.includes("mouse")||t.includes("click")?r="MouseEvents":t.includes("key")?r="KeyboardEvent":r="HTMLEvents";const s=document.createEvent(r);return s.initEvent(t,...n),e.dispatchEvent(s),e},vt=(e,t)=>{if(!e||!e.focus)return;let n=!1;Q(e)&&!J(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),n=!0),e.focus(t),Q(e)&&n&&e.removeAttribute("tabindex")};export{tt as A,rt as B,pt as C,ct as D,W as E,y as a,it as b,Ze as c,st as d,et as e,Re as f,dt as g,J as h,ut as i,at as j,vt as k,Le as l,_e as m,Fe as n,ft as o,Qe as p,b as q,lt as r,Ne as s,ot as t,ve as u,Ye as v,Ue as w,nt as x,Me as y,Ge as z};
