@vtj/materials 0.9.25 → 0.9.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/antdv/index.umd.js +2 -2
- package/dist/assets/charts/index.umd.js +2 -2
- package/dist/assets/element/index.umd.js +3 -3
- package/dist/assets/ui/index.umd.js +3 -3
- package/dist/assets/vant/index.umd.js +9 -9
- package/dist/deps/@vtj/charts/index.umd.js +2 -2
- package/dist/deps/@vtj/icons/index.umd.js +2 -2
- package/dist/deps/@vtj/ui/index.umd.js +8 -8
- package/dist/deps/@vtj/utils/index.umd.js +17 -17
- package/dist/deps/@vueuse/core/index.iife.min.js +1 -1
- package/dist/deps/element-plus/index.css +1 -1
- package/dist/deps/element-plus/index.full.min.js +19 -27
- package/dist/deps/element-plus/zh-cn.js +1 -1
- package/dist/deps/vant/vant.min.js +1 -1
- package/package.json +5 -5
- package/src/element/treeV2.ts +0 -1
- package/src/vant/action-bar.ts +2 -2
- package/src/vant/action-sheet.ts +1 -1
- package/src/vant/address-list.ts +1 -1
- package/src/vant/barrage.ts +1 -0
- package/src/vant/button.ts +8 -1
- package/src/vant/cascader.ts +1 -1
- package/src/vant/cell.ts +1 -1
- package/src/vant/checkbox.ts +2 -2
- package/src/vant/circle.ts +1 -1
- package/src/vant/collapse.ts +2 -2
- package/src/vant/field.ts +10 -3
- package/src/vant/floating-bubble.ts +1 -1
- package/src/vant/grid.ts +1 -1
- package/src/vant/icon.ts +1 -1
- package/src/vant/image.ts +2 -2
- package/src/vant/notice-bar.ts +2 -2
- package/src/vant/notify.ts +2 -1
- package/src/vant/number-keyboard.ts +2 -1
- package/src/vant/picker-group.ts +1 -0
- package/src/vant/picker.ts +3 -0
- package/src/vant/popup.ts +1 -1
- package/src/vant/rate.ts +2 -2
- package/src/vant/search.ts +3 -3
- package/src/vant/steps.ts +2 -2
- package/src/vant/submit-bar.ts +1 -1
- package/src/vant/tabbar.ts +1 -1
- package/src/vant/time-picker.ts +3 -3
- package/src/vant/toast.ts +1 -1
- package/src/vant/uploader.ts +7 -6
- package/src/version.ts +2 -2
@@ -1 +1 @@
|
|
1
|
-
(function(E,S,l){"use strict";function Pe(e,t,n){let r;l.isRef(n)?r={evaluating:n}:r=n||{};const{lazy:u=!1,evaluating:a=void 0,shallow:i=!0,onError:o=S.noop}=r,s=l.ref(!u),f=i?l.shallowRef(t):l.ref(t);let c=0;return l.watchEffect(async d=>{if(!s.value)return;c++;const y=c;let m=!1;a&&Promise.resolve().then(()=>{a.value=!0});try{const p=await e(g=>{d(()=>{a&&(a.value=!1),m||g()})});y===c&&(f.value=p)}catch(p){o(p)}finally{a&&y===c&&(a.value=!1),m=!0}}),u?l.computed(()=>(s.value=!0,f.value)):f}function kt(e,t,n,r){let u=l.inject(e);return n&&(u=l.inject(e,n)),r&&(u=l.inject(e,n,r)),typeof t=="function"?l.computed(a=>t(u,a)):l.computed({get:a=>t.get(u,a),set:t.set})}function _t(e={}){const{inheritAttrs:t=!0}=e,n=l.shallowRef(),r=l.defineComponent({setup(a,{slots:i}){return()=>{n.value=i.default}}}),u=l.defineComponent({inheritAttrs:t,setup(a,{attrs:i,slots:o}){return()=>{var s;if(!n.value&&process.env.NODE_ENV!=="production")throw new Error("[VueUse] Failed to find the definition of reusable template");const f=(s=n.value)==null?void 0:s.call(n,{...Rt(i),$slots:o});return t&&f?.length===1?f[0]:f}}});return S.makeDestructurable({define:r,reuse:u},[r,u])}function Rt(e){const t={};for(const n in e)t[S.camelize(n)]=e[n];return t}function Vt(e={}){let t=0;const n=l.ref([]);function r(...i){const o=l.shallowReactive({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(o),o.promise=new Promise((s,f)=>{o.resolve=c=>(o.isResolving=!0,s(c)),o.reject=f}).finally(()=>{o.promise=void 0;const s=n.value.indexOf(o);s!==-1&&n.value.splice(s,1)}),o.promise}function u(...i){return e.singleton&&n.value.length>0?n.value[0].promise:r(...i)}const a=l.defineComponent((i,{slots:o})=>{const s=()=>n.value.map(f=>{var c;return l.h(l.Fragment,{key:f.key},(c=o.default)==null?void 0:c.call(o,f))});return e.transition?()=>l.h(l.TransitionGroup,e.transition,s):s});return a.start=u,a}function Ft(e){return function(...t){return e.apply(this,t.map(n=>l.toValue(n)))}}const M=S.isClient?window:void 0,B=S.isClient?window.document:void 0,q=S.isClient?window.navigator:void 0,Pt=S.isClient?window.location:void 0;function N(e){var t;const n=l.toValue(e);return(t=n?.$el)!=null?t:n}function _(...e){let t,n,r,u;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,u]=e,t=M):[t,n,r,u]=e,!t)return S.noop;n=S.toArray(n),r=S.toArray(r);const a=[],i=()=>{a.forEach(c=>c()),a.length=0},o=(c,d,y,m)=>(c.addEventListener(d,y,m),()=>c.removeEventListener(d,y,m)),s=l.watch(()=>[N(t),l.toValue(u)],([c,d])=>{if(i(),!c)return;const y=S.isObject(d)?{...d}:d;a.push(...n.flatMap(m=>r.map(p=>o(c,m,p,y))))},{immediate:!0,flush:"post"}),f=()=>{s(),i()};return S.tryOnScopeDispose(f),f}let De=!1;function Dt(e,t,n={}){const{window:r=M,ignore:u=[],capture:a=!0,detectIframe:i=!1}=n;if(!r)return S.noop;S.isIOS&&!De&&(De=!0,Array.from(r.document.body.children).forEach(g=>g.addEventListener("click",S.noop)),r.document.documentElement.addEventListener("click",S.noop));let o=!0;const s=g=>l.toValue(u).some(v=>{if(typeof v=="string")return Array.from(r.document.querySelectorAll(v)).some(w=>w===g.target||g.composedPath().includes(w));{const w=N(v);return w&&(g.target===w||g.composedPath().includes(w))}});function f(g){const v=l.toValue(g);return v&&v.$.subTree.shapeFlag===16}function c(g,v){const w=l.toValue(g),h=w.$.subTree&&w.$.subTree.children;return h==null||!Array.isArray(h)?!1:h.some(b=>b.el===v.target||v.composedPath().includes(b.el))}const d=g=>{const v=N(e);if(g.target!=null&&!(!(v instanceof Element)&&f(e)&&c(e,g))&&!(!v||v===g.target||g.composedPath().includes(v))){if(g.detail===0&&(o=!s(g)),!o){o=!0;return}t(g)}};let y=!1;const m=[_(r,"click",g=>{y||(y=!0,setTimeout(()=>{y=!1},0),d(g))},{passive:!0,capture:a}),_(r,"pointerdown",g=>{const v=N(e);o=!s(g)&&!!(v&&!g.composedPath().includes(v))},{passive:!0}),i&&_(r,"blur",g=>{setTimeout(()=>{var v;const w=N(e);((v=r.document.activeElement)==null?void 0:v.tagName)==="IFRAME"&&!w?.contains(r.document.activeElement)&&t(g)},0)},{passive:!0})].filter(Boolean);return()=>m.forEach(g=>g())}function Ce(){const e=l.ref(!1),t=l.getCurrentInstance();return t&&l.onMounted(()=>{e.value=!0},t),e}function x(e){const t=Ce();return l.computed(()=>(t.value,!!e()))}function K(e,t,n={}){const{window:r=M,...u}=n;let a;const i=x(()=>r&&"MutationObserver"in r),o=()=>{a&&(a.disconnect(),a=void 0)},s=l.computed(()=>{const y=l.toValue(e),m=S.toArray(y).map(N).filter(S.notNullish);return new Set(m)}),f=l.watch(()=>s.value,y=>{o(),i.value&&y.size&&(a=new MutationObserver(t),y.forEach(m=>a.observe(m,u)))},{immediate:!0,flush:"post"}),c=()=>a?.takeRecords(),d=()=>{f(),o()};return S.tryOnScopeDispose(d),{isSupported:i,stop:d,takeRecords:c}}function he(e,t,n={}){const{window:r=M,document:u=r?.document,flush:a="sync"}=n;if(!r||!u)return S.noop;let i;const o=c=>{i?.(),i=c},s=l.watchEffect(()=>{const c=N(e);if(c){const{stop:d}=K(u,y=>{y.map(p=>[...p.removedNodes]).flat().some(p=>p===c||p.contains(c))&&t(y)},{window:r,childList:!0,subtree:!0});o(d)}},{flush:a}),f=()=>{s(),o()};return S.tryOnScopeDispose(f),f}function Ct(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function oe(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:u=M,eventName:a="keydown",passive:i=!1,dedupe:o=!1}=r,s=Ct(t);return _(u,a,c=>{c.repeat&&l.toValue(o)||s(c)&&n(c)},i)}function At(e,t,n={}){return oe(e,t,{...n,eventName:"keydown"})}function Mt(e,t,n={}){return oe(e,t,{...n,eventName:"keypress"})}function It(e,t,n={}){return oe(e,t,{...n,eventName:"keyup"})}const Lt=500,Nt=10;function xt(e,t,n){var r,u;const a=l.computed(()=>N(e));let i,o,s,f=!1;function c(){i&&(clearTimeout(i),i=void 0),o=void 0,s=void 0,f=!1}function d(w){var h,b,O;const[k,D,T]=[s,o,f];if(c(),!n?.onMouseUp||!D||!k||(h=n?.modifiers)!=null&&h.self&&w.target!==a.value)return;(b=n?.modifiers)!=null&&b.prevent&&w.preventDefault(),(O=n?.modifiers)!=null&&O.stop&&w.stopPropagation();const V=w.x-D.x,F=w.y-D.y,L=Math.sqrt(V*V+F*F);n.onMouseUp(w.timeStamp-k,L,T)}function y(w){var h,b,O,k;(h=n?.modifiers)!=null&&h.self&&w.target!==a.value||(c(),(b=n?.modifiers)!=null&&b.prevent&&w.preventDefault(),(O=n?.modifiers)!=null&&O.stop&&w.stopPropagation(),o={x:w.x,y:w.y},s=w.timeStamp,i=setTimeout(()=>{f=!0,t(w)},(k=n?.delay)!=null?k:Lt))}function m(w){var h,b,O,k;if((h=n?.modifiers)!=null&&h.self&&w.target!==a.value||!o||n?.distanceThreshold===!1)return;(b=n?.modifiers)!=null&&b.prevent&&w.preventDefault(),(O=n?.modifiers)!=null&&O.stop&&w.stopPropagation();const D=w.x-o.x,T=w.y-o.y;Math.sqrt(D*D+T*T)>=((k=n?.distanceThreshold)!=null?k:Nt)&&c()}const p={capture:(r=n?.modifiers)==null?void 0:r.capture,once:(u=n?.modifiers)==null?void 0:u.once},g=[_(a,"pointerdown",y,p),_(a,"pointermove",m,p),_(a,["pointerup","pointerleave"],d,p)];return()=>g.forEach(w=>w())}function Wt(){const{activeElement:e,body:t}=document;if(!e||e===t)return!1;switch(e.tagName){case"INPUT":case"TEXTAREA":return!0}return e.hasAttribute("contenteditable")}function Ht({keyCode:e,metaKey:t,ctrlKey:n,altKey:r}){return t||n||r?!1:e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}function Ut(e,t={}){const{document:n=B}=t;n&&_(n,"keydown",u=>{!Wt()&&Ht(u)&&e(u)},{passive:!0})}function $t(e,t=null){const n=l.getCurrentInstance();let r=()=>{};const u=l.customRef((a,i)=>(r=i,{get(){var o,s;return a(),(s=(o=n?.proxy)==null?void 0:o.$refs[e])!=null?s:t},set(){}}));return S.tryOnMounted(r),l.onUpdated(r),u}function Ae(e={}){var t;const{window:n=M,deep:r=!0,triggerOnRemoval:u=!1}=e,a=(t=e.document)!=null?t:n?.document,i=()=>{var f;let c=a?.activeElement;if(r)for(;c?.shadowRoot;)c=(f=c?.shadowRoot)==null?void 0:f.activeElement;return c},o=l.ref(),s=()=>{o.value=i()};if(n){const f={capture:!0,passive:!0};_(n,"blur",c=>{c.relatedTarget===null&&s()},f),_(n,"focus",s,f)}return u&&he(o,s,{document:a}),s(),o}function Y(e,t={}){const{immediate:n=!0,fpsLimit:r=void 0,window:u=M}=t,a=l.ref(!1),i=l.computed(()=>r?1e3/l.toValue(r):null);let o=0,s=null;function f(y){if(!a.value||!u)return;o||(o=y);const m=y-o;if(i.value&&m<i.value){s=u.requestAnimationFrame(f);return}o=y,e({delta:m,timestamp:y}),s=u.requestAnimationFrame(f)}function c(){!a.value&&u&&(a.value=!0,o=0,s=u.requestAnimationFrame(f))}function d(){a.value=!1,s!=null&&u&&(u.cancelAnimationFrame(s),s=null)}return n&&c(),S.tryOnScopeDispose(d),{isActive:l.readonly(a),pause:d,resume:c}}function Bt(e,t,n){let r,u;S.isObject(n)?(r=n,u=S.objectOmit(n,["window","immediate","commitStyles","persist","onReady","onError"])):(r={duration:n},u=n);const{window:a=M,immediate:i=!0,commitStyles:o,persist:s,playbackRate:f=1,onReady:c,onError:d=A=>{console.error(A)}}=r,y=x(()=>a&&HTMLElement&&"animate"in HTMLElement.prototype),m=l.shallowRef(void 0),p=l.shallowReactive({startTime:null,currentTime:null,timeline:null,playbackRate:f,pending:!1,playState:i?"idle":"paused",replaceState:"active"}),g=l.computed(()=>p.pending),v=l.computed(()=>p.playState),w=l.computed(()=>p.replaceState),h=l.computed({get(){return p.startTime},set(A){p.startTime=A,m.value&&(m.value.startTime=A)}}),b=l.computed({get(){return p.currentTime},set(A){p.currentTime=A,m.value&&(m.value.currentTime=A,I())}}),O=l.computed({get(){return p.timeline},set(A){p.timeline=A,m.value&&(m.value.timeline=A)}}),k=l.computed({get(){return p.playbackRate},set(A){p.playbackRate=A,m.value&&(m.value.playbackRate=A)}}),D=()=>{if(m.value)try{m.value.play(),I()}catch(A){W(),d(A)}else C()},T=()=>{var A;try{(A=m.value)==null||A.pause(),W()}catch(H){d(H)}},V=()=>{var A;m.value||C();try{(A=m.value)==null||A.reverse(),I()}catch(H){W(),d(H)}},F=()=>{var A;try{(A=m.value)==null||A.finish(),W()}catch(H){d(H)}},L=()=>{var A;try{(A=m.value)==null||A.cancel(),W()}catch(H){d(H)}};l.watch(()=>N(e),A=>{A&&C()}),l.watch(()=>t,A=>{m.value&&C(),!N(e)&&m.value&&(m.value.effect=new KeyframeEffect(N(e),l.toValue(A),u))},{deep:!0}),S.tryOnMounted(()=>C(!0),!1),S.tryOnScopeDispose(L);function C(A){const H=N(e);!y.value||!H||(m.value||(m.value=H.animate(l.toValue(t),u)),s&&m.value.persist(),f!==1&&(m.value.playbackRate=f),A&&!i?m.value.pause():I(),c?.(m.value))}_(m,["cancel","finish","remove"],W),_(m,"finish",()=>{var A;o&&((A=m.value)==null||A.commitStyles())});const{resume:R,pause:P}=Y(()=>{m.value&&(p.pending=m.value.pending,p.playState=m.value.playState,p.replaceState=m.value.replaceState,p.startTime=m.value.startTime,p.currentTime=m.value.currentTime,p.timeline=m.value.timeline,p.playbackRate=m.value.playbackRate)},{immediate:!1});function I(){y.value&&R()}function W(){y.value&&a&&a.requestAnimationFrame(P)}return{isSupported:y,animate:m,play:D,pause:T,reverse:V,finish:F,cancel:L,pending:g,playState:v,replaceState:w,startTime:h,currentTime:b,timeline:O,playbackRate:k}}function jt(e,t){const{interrupt:n=!0,onError:r=S.noop,onFinished:u=S.noop,signal:a}=t||{},i={aborted:"aborted",fulfilled:"fulfilled",pending:"pending",rejected:"rejected"},o=Array.from(Array.from({length:e.length}),()=>({state:i.pending,data:null})),s=l.reactive(o),f=l.ref(-1);if(!e||e.length===0)return u(),{activeIndex:f,result:s};function c(d,y){f.value++,s[f.value].data=y,s[f.value].state=d}return e.reduce((d,y)=>d.then(m=>{var p;if(a?.aborted){c(i.aborted,new Error("aborted"));return}if(((p=s[f.value])==null?void 0:p.state)===i.rejected&&n){u();return}const g=y(m).then(v=>(c(i.fulfilled,v),f.value===e.length-1&&u(),v));return a?Promise.race([g,zt(a)]):g}).catch(m=>a?.aborted?(c(i.aborted,m),m):(c(i.rejected,m),r(),m)),Promise.resolve()),{activeIndex:f,result:s}}function zt(e){return new Promise((t,n)=>{const r=new Error("aborted");e.aborted?n(r):e.addEventListener("abort",()=>n(r),{once:!0})})}function Me(e,t,n){const{immediate:r=!0,delay:u=0,onError:a=S.noop,onSuccess:i=S.noop,resetOnExecute:o=!0,shallow:s=!0,throwError:f}=n??{},c=s?l.shallowRef(t):l.ref(t),d=l.ref(!1),y=l.ref(!1),m=l.shallowRef(void 0);async function p(w=0,...h){o&&(c.value=t),m.value=void 0,d.value=!1,y.value=!0,w>0&&await S.promiseTimeout(w);const b=typeof e=="function"?e(...h):e;try{const O=await b;c.value=O,d.value=!0,i(O)}catch(O){if(m.value=O,a(O),f)throw O}finally{y.value=!1}return c.value}r&&p(u);const g={state:c,isReady:d,isLoading:y,error:m,execute:p};function v(){return new Promise((w,h)=>{S.until(y).toBe(!1).then(()=>w(g)).catch(h)})}return{...g,then(w,h){return v().then(w,h)}}}const Z={array:e=>JSON.stringify(e),object:e=>JSON.stringify(e),set:e=>JSON.stringify(Array.from(e)),map:e=>JSON.stringify(Object.fromEntries(e)),null:()=>""};function qt(e){return e?e instanceof Map?Z.map:e instanceof Set?Z.set:Array.isArray(e)?Z.array:Z.object:Z.null}function Gt(e,t){const n=l.ref(""),r=l.ref();function u(){if(S.isClient)return r.value=new Promise((a,i)=>{try{const o=l.toValue(e);if(o==null)a("");else if(typeof o=="string")a(ge(new Blob([o],{type:"text/plain"})));else if(o instanceof Blob)a(ge(o));else if(o instanceof ArrayBuffer)a(window.btoa(String.fromCharCode(...new Uint8Array(o))));else if(o instanceof HTMLCanvasElement)a(o.toDataURL(t?.type,t?.quality));else if(o instanceof HTMLImageElement){const s=o.cloneNode(!1);s.crossOrigin="Anonymous",Yt(s).then(()=>{const f=document.createElement("canvas"),c=f.getContext("2d");f.width=s.width,f.height=s.height,c.drawImage(s,0,0,f.width,f.height),a(f.toDataURL(t?.type,t?.quality))}).catch(i)}else if(typeof o=="object"){const f=(t?.serializer||qt(o))(o);return a(ge(new Blob([f],{type:"application/json"})))}else i(new Error("target is unsupported types"))}catch(o){i(o)}}),r.value.then(a=>{n.value=t?.dataUrl===!1?a.replace(/^data:.*?;base64,/,""):a}),r.value}return l.isRef(e)||typeof e=="function"?l.watch(e,u,{immediate:!0}):u(),{base64:n,promise:r,execute:u}}function Yt(e){return new Promise((t,n)=>{e.complete?t():(e.onload=()=>{t()},e.onerror=n)})}function ge(e){return new Promise((t,n)=>{const r=new FileReader;r.onload=u=>{t(u.target.result)},r.onerror=n,r.readAsDataURL(e)})}function Xt(e={}){const{navigator:t=q}=e,n=["chargingchange","chargingtimechange","dischargingtimechange","levelchange"],r=x(()=>t&&"getBattery"in t&&typeof t.getBattery=="function"),u=l.ref(!1),a=l.ref(0),i=l.ref(0),o=l.ref(1);let s;function f(){u.value=this.charging,a.value=this.chargingTime||0,i.value=this.dischargingTime||0,o.value=this.level}return r.value&&t.getBattery().then(c=>{s=c,f.call(s),_(s,n,f,{passive:!0})}),{isSupported:r,charging:u,chargingTime:a,dischargingTime:i,level:o}}function Kt(e){let{acceptAllDevices:t=!1}=e||{};const{filters:n=void 0,optionalServices:r=void 0,navigator:u=q}=e||{},a=x(()=>u&&"bluetooth"in u),i=l.shallowRef(),o=l.shallowRef(null);l.watch(i,()=>{y()});async function s(){if(a.value){o.value=null,n&&n.length>0&&(t=!1);try{i.value=await u?.bluetooth.requestDevice({acceptAllDevices:t,filters:n,optionalServices:r})}catch(m){o.value=m}}}const f=l.shallowRef(),c=l.shallowRef(!1);function d(){c.value=!1,i.value=void 0,f.value=void 0}async function y(){if(o.value=null,i.value&&i.value.gatt){i.value.addEventListener("gattserverdisconnected",d);try{f.value=await i.value.gatt.connect(),c.value=f.value.connected}catch(m){o.value=m}}}return S.tryOnMounted(()=>{var m;i.value&&((m=i.value.gatt)==null||m.connect())}),S.tryOnScopeDispose(()=>{var m;i.value&&((m=i.value.gatt)==null||m.disconnect())}),{isSupported:a,isConnected:l.readonly(c),device:i,requestDevice:s,server:f,error:o}}const we=Symbol("vueuse-ssr-width");function be(){const e=l.hasInjectionContext()?S.injectLocal(we,null):null;return typeof e=="number"?e:void 0}function Jt(e,t){t!==void 0?t.provide(we,e):S.provideLocal(we,e)}function j(e,t={}){const{window:n=M,ssrWidth:r=be()}=t,u=x(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),a=l.ref(typeof r=="number");let i;const o=l.ref(!1),s=d=>{o.value=d.matches},f=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",s):i.removeListener(s))},c=l.watchEffect(()=>{if(a.value){a.value=!u.value;const d=l.toValue(e).split(",");o.value=d.some(y=>{const m=y.includes("not all"),p=y.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),g=y.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let v=!!(p||g);return p&&v&&(v=r>=S.pxValue(p[1])),g&&v&&(v=r<=S.pxValue(g[1])),m?!v:v});return}u.value&&(f(),i=n.matchMedia(l.toValue(e)),"addEventListener"in i?i.addEventListener("change",s):i.addListener(s),o.value=i.matches)});return S.tryOnScopeDispose(()=>{c(),f(),i=void 0}),l.computed(()=>o.value)}const Qt={sm:640,md:768,lg:1024,xl:1280,"2xl":1536},Zt={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400},Ie={xs:0,sm:600,md:960,lg:1264,xl:1904},en={xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560},tn=Ie,nn={xs:480,sm:576,md:768,lg:992,xl:1200,xxl:1600},ln={xs:0,sm:600,md:1024,lg:1440,xl:1920},rn={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptop:1024,laptopL:1440,desktop4K:2560},an={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},on={sm:576,md:768,lg:992,xl:1200},un={xs:0,sm:768,md:992,lg:1200,xl:1920};function sn(e,t={}){function n(m,p){let g=l.toValue(e[l.toValue(m)]);return p!=null&&(g=S.increaseWithUnit(g,p)),typeof g=="number"&&(g=`${g}px`),g}const{window:r=M,strategy:u="min-width",ssrWidth:a=be()}=t,i=typeof a=="number",o=i?l.ref(!1):{value:!0};i&&S.tryOnMounted(()=>o.value=!!r);function s(m,p){return!o.value&&i?m==="min"?a>=S.pxValue(p):a<=S.pxValue(p):r?r.matchMedia(`(${m}-width: ${p})`).matches:!1}const f=m=>j(()=>`(min-width: ${n(m)})`,t),c=m=>j(()=>`(max-width: ${n(m)})`,t),d=Object.keys(e).reduce((m,p)=>(Object.defineProperty(m,p,{get:()=>u==="min-width"?f(p):c(p),enumerable:!0,configurable:!0}),m),{});function y(){const m=Object.keys(e).map(p=>[p,d[p],S.pxValue(n(p))]).sort((p,g)=>p[2]-g[2]);return l.computed(()=>m.filter(([,p])=>p.value).map(([p])=>p))}return Object.assign(d,{greaterOrEqual:f,smallerOrEqual:c,greater(m){return j(()=>`(min-width: ${n(m,.1)})`,t)},smaller(m){return j(()=>`(max-width: ${n(m,-.1)})`,t)},between(m,p){return j(()=>`(min-width: ${n(m)}) and (max-width: ${n(p,-.1)})`,t)},isGreater(m){return s("min",n(m,.1))},isGreaterOrEqual(m){return s("min",n(m))},isSmaller(m){return s("max",n(m,-.1))},isSmallerOrEqual(m){return s("max",n(m))},isInBetween(m,p){return s("min",n(m))&&s("max",n(p,-.1))},current:y,active(){const m=y();return l.computed(()=>m.value.length===0?"":m.value.at(u==="min-width"?-1:0))}})}function cn(e){const{name:t,window:n=M}=e,r=x(()=>n&&"BroadcastChannel"in n),u=l.ref(!1),a=l.ref(),i=l.ref(),o=l.shallowRef(null),s=c=>{a.value&&a.value.postMessage(c)},f=()=>{a.value&&a.value.close(),u.value=!0};return r.value&&S.tryOnMounted(()=>{o.value=null,a.value=new BroadcastChannel(t),a.value.addEventListener("message",c=>{i.value=c.data},{passive:!0}),a.value.addEventListener("messageerror",c=>{o.value=c},{passive:!0}),a.value.addEventListener("close",()=>{u.value=!0})}),S.tryOnScopeDispose(()=>{f()}),{isSupported:r,channel:a,data:i,post:s,close:f,error:o,isClosed:u}}const Le=["hash","host","hostname","href","pathname","port","protocol","search"];function fn(e={}){const{window:t=M}=e,n=Object.fromEntries(Le.map(a=>[a,l.ref()]));for(const[a,i]of S.objectEntries(n))l.watch(i,o=>{!t?.location||t.location[a]===o||(t.location[a]=o)});const r=a=>{var i;const{state:o,length:s}=t?.history||{},{origin:f}=t?.location||{};for(const c of Le)n[c].value=(i=t?.location)==null?void 0:i[c];return l.reactive({trigger:a,state:o,length:s,origin:f,...n})},u=l.ref(r("load"));return t&&(_(t,"popstate",()=>u.value=r("popstate"),{passive:!0}),_(t,"hashchange",()=>u.value=r("hashchange"),{passive:!0})),u}function dn(e,t=(r,u)=>r===u,n){const r=l.ref(e.value);return l.watch(()=>e.value,u=>{t(u,r.value)||(r.value=u)},n),r}function ie(e,t={}){const{controls:n=!1,navigator:r=q}=t,u=x(()=>r&&"permissions"in r),a=l.shallowRef(),i=typeof e=="string"?{name:e}:e,o=l.shallowRef(),s=()=>{var c,d;o.value=(d=(c=a.value)==null?void 0:c.state)!=null?d:"prompt"};_(a,"change",s,{passive:!0});const f=S.createSingletonPromise(async()=>{if(u.value){if(!a.value)try{a.value=await r.permissions.query(i)}catch{a.value=void 0}finally{s()}if(n)return l.toRaw(a.value)}});return f(),n?{state:o,isSupported:u,query:f}:o}function mn(e={}){const{navigator:t=q,read:n=!1,source:r,copiedDuring:u=1500,legacy:a=!1}=e,i=x(()=>t&&"clipboard"in t),o=ie("clipboard-read"),s=ie("clipboard-write"),f=l.computed(()=>i.value||a),c=l.ref(""),d=l.ref(!1),y=S.useTimeoutFn(()=>d.value=!1,u,{immediate:!1});function m(){i.value&&w(o.value)?t.clipboard.readText().then(h=>{c.value=h}):c.value=v()}f.value&&n&&_(["copy","cut"],m,{passive:!0});async function p(h=l.toValue(r)){f.value&&h!=null&&(i.value&&w(s.value)?await t.clipboard.writeText(h):g(h),c.value=h,d.value=!0,y.start())}function g(h){const b=document.createElement("textarea");b.value=h??"",b.style.position="absolute",b.style.opacity="0",document.body.appendChild(b),b.select(),document.execCommand("copy"),b.remove()}function v(){var h,b,O;return(O=(b=(h=document?.getSelection)==null?void 0:h.call(document))==null?void 0:b.toString())!=null?O:""}function w(h){return h==="granted"||h==="prompt"}return{isSupported:f,text:c,copied:d,copy:p}}function pn(e={}){const{navigator:t=q,read:n=!1,source:r,copiedDuring:u=1500}=e,a=x(()=>t&&"clipboard"in t),i=l.ref([]),o=l.ref(!1),s=S.useTimeoutFn(()=>o.value=!1,u,{immediate:!1});function f(){a.value&&t.clipboard.read().then(d=>{i.value=d})}a.value&&n&&_(["copy","cut"],f,{passive:!0});async function c(d=l.toValue(r)){a.value&&d!=null&&(await t.clipboard.write(d),i.value=d,o.value=!0,s.start())}return{isSupported:a,content:i,copied:o,copy:c}}function ee(e){return JSON.parse(JSON.stringify(e))}function vn(e,t={}){const n=l.ref({}),r=l.ref(!1);let u=!1;const{manual:a,clone:i=ee,deep:o=!0,immediate:s=!0}=t;l.watch(n,()=>{if(u){u=!1;return}r.value=!0},{deep:!0,flush:"sync"});function f(){u=!0,r.value=!1,n.value=i(l.toValue(e))}return!a&&(l.isRef(e)||typeof e=="function")?l.watch(e,f,{...t,deep:o,immediate:s}):f(),{cloned:n,isModified:r,sync:f}}const ue=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},se="__vueuse_ssr_handlers__",Ne=yn();function yn(){return se in ue||(ue[se]=ue[se]||{}),ue[se]}function ce(e,t){return Ne[e]||t}function hn(e,t){Ne[e]=t}function xe(e){return j("(prefers-color-scheme: dark)",e)}function We(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Se={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ee="vueuse-storage";function fe(e,t,n,r={}){var u;const{flush:a="pre",deep:i=!0,listenToStorageChanges:o=!0,writeDefaults:s=!0,mergeDefaults:f=!1,shallow:c,window:d=M,eventFilter:y,onError:m=C=>{console.error(C)},initOnMounted:p}=r,g=(c?l.shallowRef:l.ref)(typeof t=="function"?t():t),v=l.computed(()=>l.toValue(e));if(!n)try{n=ce("getDefaultStorage",()=>{var C;return(C=M)==null?void 0:C.localStorage})()}catch(C){m(C)}if(!n)return g;const w=l.toValue(t),h=We(w),b=(u=r.serializer)!=null?u:Se[h],{pause:O,resume:k}=S.pausableWatch(g,()=>T(g.value),{flush:a,deep:i,eventFilter:y});l.watch(v,()=>F(),{flush:a}),d&&o&&S.tryOnMounted(()=>{n instanceof Storage?_(d,"storage",F,{passive:!0}):_(d,Ee,L),p&&F()}),p||F();function D(C,R){if(d){const P={key:v.value,oldValue:C,newValue:R,storageArea:n};d.dispatchEvent(n instanceof Storage?new StorageEvent("storage",P):new CustomEvent(Ee,{detail:P}))}}function T(C){try{const R=n.getItem(v.value);if(C==null)D(R,null),n.removeItem(v.value);else{const P=b.write(C);R!==P&&(n.setItem(v.value,P),D(R,P))}}catch(R){m(R)}}function V(C){const R=C?C.newValue:n.getItem(v.value);if(R==null)return s&&w!=null&&n.setItem(v.value,b.write(w)),w;if(!C&&f){const P=b.read(R);return typeof f=="function"?f(P,w):h==="object"&&!Array.isArray(P)?{...w,...P}:P}else return typeof R!="string"?R:b.read(R)}function F(C){if(!(C&&C.storageArea!==n)){if(C&&C.key==null){g.value=w;return}if(!(C&&C.key!==v.value)){O();try{C?.newValue!==b.write(g.value)&&(g.value=V(C))}catch(R){m(R)}finally{C?l.nextTick(k):k()}}}}function L(C){F(C.detail)}return g}const gn="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function He(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:u=M,storage:a,storageKey:i="vueuse-color-scheme",listenToStorageChanges:o=!0,storageRef:s,emitAuto:f,disableTransition:c=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},y=xe({window:u}),m=l.computed(()=>y.value?"dark":"light"),p=s||(i==null?S.toRef(r):fe(i,r,a,{window:u,listenToStorageChanges:o})),g=l.computed(()=>p.value==="auto"?m.value:p.value),v=ce("updateHTMLAttrs",(O,k,D)=>{const T=typeof O=="string"?u?.document.querySelector(O):N(O);if(!T)return;const V=new Set,F=new Set;let L=null;if(k==="class"){const R=D.split(/\s/g);Object.values(d).flatMap(P=>(P||"").split(/\s/g)).filter(Boolean).forEach(P=>{R.includes(P)?V.add(P):F.add(P)})}else L={key:k,value:D};if(V.size===0&&F.size===0&&L===null)return;let C;c&&(C=u.document.createElement("style"),C.appendChild(document.createTextNode(gn)),u.document.head.appendChild(C));for(const R of V)T.classList.add(R);for(const R of F)T.classList.remove(R);L&&T.setAttribute(L.key,L.value),c&&(u.getComputedStyle(C).opacity,document.head.removeChild(C))});function w(O){var k;v(t,n,(k=d[O])!=null?k:O)}function h(O){e.onChanged?e.onChanged(O,w):w(O)}l.watch(g,h,{flush:"post",immediate:!0}),S.tryOnMounted(()=>h(g.value));const b=l.computed({get(){return f?p.value:g.value},set(O){p.value=O}});return Object.assign(b,{store:p,system:m,state:g})}function wn(e=l.ref(!1)){const t=S.createEventHook(),n=S.createEventHook(),r=S.createEventHook();let u=S.noop;const a=s=>(r.trigger(s),e.value=!0,new Promise(f=>{u=f})),i=s=>{e.value=!1,t.trigger(s),u({data:s,isCanceled:!1})},o=s=>{e.value=!1,n.trigger(s),u({data:s,isCanceled:!0})};return{isRevealed:l.computed(()=>e.value),reveal:a,confirm:i,cancel:o,onReveal:r.on,onConfirm:t.on,onCancel:n.on}}function te(e,t,n={}){const{window:r=M,initialValue:u,observe:a=!1}=n,i=l.ref(u),o=l.computed(()=>{var f;return N(t)||((f=r?.document)==null?void 0:f.documentElement)});function s(){var f;const c=l.toValue(e),d=l.toValue(o);if(d&&r&&c){const y=(f=r.getComputedStyle(d).getPropertyValue(c))==null?void 0:f.trim();i.value=y||u}}return a&&K(o,s,{attributeFilter:["style","class"],window:r}),l.watch([o,()=>l.toValue(e)],(f,c)=>{c[0]&&c[1]&&c[0].style.removeProperty(c[1]),s()},{immediate:!0}),l.watch(i,f=>{var c;const d=l.toValue(e);(c=o.value)!=null&&c.style&&d&&(f==null?o.value.style.removeProperty(d):o.value.style.setProperty(d,f))}),i}function Ue(e){const t=l.getCurrentInstance(),n=S.computedWithControl(()=>null,()=>e?N(e):t.proxy.$el);return l.onUpdated(n.trigger),l.onMounted(n.trigger),n}function bn(e,t){const n=l.shallowRef(f()),r=S.toRef(e),u=l.computed({get(){var c;const d=r.value;let y=t?.getIndexOf?t.getIndexOf(n.value,d):d.indexOf(n.value);return y<0&&(y=(c=t?.fallbackIndex)!=null?c:0),y},set(c){a(c)}});function a(c){const d=r.value,y=d.length,m=(c%y+y)%y,p=d[m];return n.value=p,p}function i(c=1){return a(u.value+c)}function o(c=1){return i(c)}function s(c=1){return i(-c)}function f(){var c,d;return(d=l.toValue((c=t?.initialValue)!=null?c:l.toValue(e)[0]))!=null?d:void 0}return l.watch(r,()=>a(u.value)),{state:n,index:u,next:o,prev:s,go:a}}function Sn(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=He({...e,onChanged:(i,o)=>{var s;e.onChanged?(s=e.onChanged)==null||s.call(e,i==="dark",o,i):o(i)},modes:{dark:t,light:n}}),u=l.computed(()=>r.system.value);return l.computed({get(){return r.value==="dark"},set(i){const o=i?"dark":"light";u.value===o?r.value="auto":r.value=o}})}function $e(e){return e}function En(e,t){return e.value=t}function Tn(e){return e?typeof e=="function"?e:ee:$e}function On(e){return e?typeof e=="function"?e:ee:$e}function Be(e,t={}){const{clone:n=!1,dump:r=Tn(n),parse:u=On(n),setSource:a=En}=t;function i(){return l.markRaw({snapshot:r(e.value),timestamp:S.timestamp()})}const o=l.ref(i()),s=l.ref([]),f=l.ref([]),c=b=>{a(e,u(b.snapshot)),o.value=b},d=()=>{s.value.unshift(o.value),o.value=i(),t.capacity&&s.value.length>t.capacity&&s.value.splice(t.capacity,Number.POSITIVE_INFINITY),f.value.length&&f.value.splice(0,f.value.length)},y=()=>{s.value.splice(0,s.value.length),f.value.splice(0,f.value.length)},m=()=>{const b=s.value.shift();b&&(f.value.unshift(o.value),c(b))},p=()=>{const b=f.value.shift();b&&(s.value.unshift(o.value),c(b))},g=()=>{c(o.value)},v=l.computed(()=>[o.value,...s.value]),w=l.computed(()=>s.value.length>0),h=l.computed(()=>f.value.length>0);return{source:e,undoStack:s,redoStack:f,last:o,history:v,canUndo:w,canRedo:h,clear:y,commit:d,reset:g,undo:m,redo:p}}function Te(e,t={}){const{deep:n=!1,flush:r="pre",eventFilter:u}=t,{eventFilter:a,pause:i,resume:o,isActive:s}=S.pausableFilter(u),{ignoreUpdates:f,ignorePrevAsyncUpdates:c,stop:d}=S.watchIgnorable(e,v,{deep:n,flush:r,eventFilter:a});function y(O,k){c(),f(()=>{O.value=k})}const m=Be(e,{...t,clone:t.clone||n,setSource:y}),{clear:p,commit:g}=m;function v(){c(),g()}function w(O){o(),O&&v()}function h(O){let k=!1;const D=()=>k=!0;f(()=>{O(D)}),k||v()}function b(){d(),p()}return{...m,isTracking:s,pause:i,resume:w,commit:v,batch:h,dispose:b}}function kn(e,t={}){const n=t.debounce?S.debounceFilter(t.debounce):void 0;return{...Te(e,{...t,eventFilter:n})}}function _n(e={}){const{window:t=M,requestPermissions:n=!1,eventFilter:r=S.bypassFilter}=e,u=x(()=>typeof DeviceMotionEvent<"u"),a=x(()=>u.value&&"requestPermission"in DeviceMotionEvent&&typeof DeviceMotionEvent.requestPermission=="function"),i=l.ref(!1),o=l.ref({x:null,y:null,z:null}),s=l.ref({alpha:null,beta:null,gamma:null}),f=l.ref(0),c=l.ref({x:null,y:null,z:null});function d(){if(t){const m=S.createFilterWrapper(r,p=>{var g,v,w,h,b,O,k,D,T;o.value={x:((g=p.acceleration)==null?void 0:g.x)||null,y:((v=p.acceleration)==null?void 0:v.y)||null,z:((w=p.acceleration)==null?void 0:w.z)||null},c.value={x:((h=p.accelerationIncludingGravity)==null?void 0:h.x)||null,y:((b=p.accelerationIncludingGravity)==null?void 0:b.y)||null,z:((O=p.accelerationIncludingGravity)==null?void 0:O.z)||null},s.value={alpha:((k=p.rotationRate)==null?void 0:k.alpha)||null,beta:((D=p.rotationRate)==null?void 0:D.beta)||null,gamma:((T=p.rotationRate)==null?void 0:T.gamma)||null},f.value=p.interval});_(t,"devicemotion",m,{passive:!0})}}const y=async()=>{if(a.value||(i.value=!0),!i.value&&a.value){const m=DeviceMotionEvent.requestPermission;try{await m()==="granted"&&(i.value=!0,d())}catch(p){console.error(p)}}};return u.value&&(n&&a.value?y().then(()=>d()):d()),{acceleration:o,accelerationIncludingGravity:c,rotationRate:s,interval:f,isSupported:u,requirePermissions:a,ensurePermissions:y,permissionGranted:i}}function je(e={}){const{window:t=M}=e,n=x(()=>t&&"DeviceOrientationEvent"in t),r=l.ref(!1),u=l.ref(null),a=l.ref(null),i=l.ref(null);return t&&n.value&&_(t,"deviceorientation",o=>{r.value=o.absolute,u.value=o.alpha,a.value=o.beta,i.value=o.gamma},{passive:!0}),{isSupported:n,isAbsolute:r,alpha:u,beta:a,gamma:i}}function Rn(e={}){const{window:t=M}=e,n=l.ref(1);if(t){let r=function(){n.value=t.devicePixelRatio,u(),a=t.matchMedia(`(resolution: ${n.value}dppx)`),a.addEventListener("change",r,{once:!0})},u=function(){a?.removeEventListener("change",r)},a;r(),S.tryOnScopeDispose(u)}return{pixelRatio:n}}function Vn(e={}){const{navigator:t=q,requestPermissions:n=!1,constraints:r={audio:!0,video:!0},onUpdated:u}=e,a=l.ref([]),i=l.computed(()=>a.value.filter(p=>p.kind==="videoinput")),o=l.computed(()=>a.value.filter(p=>p.kind==="audioinput")),s=l.computed(()=>a.value.filter(p=>p.kind==="audiooutput")),f=x(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),c=l.ref(!1);let d;async function y(){f.value&&(a.value=await t.mediaDevices.enumerateDevices(),u?.(a.value),d&&(d.getTracks().forEach(p=>p.stop()),d=null))}async function m(){if(!f.value)return!1;if(c.value)return!0;const{state:p,query:g}=ie("camera",{controls:!0});if(await g(),p.value!=="granted"){let v=!0;try{d=await t.mediaDevices.getUserMedia(r)}catch{d=null,v=!1}y(),c.value=v}else c.value=!0;return c.value}return f.value&&(n&&m(),_(t.mediaDevices,"devicechange",y,{passive:!0}),y()),{devices:a,ensurePermissions:m,permissionGranted:c,videoInputs:i,audioInputs:o,audioOutputs:s,isSupported:f}}function Fn(e={}){var t;const n=l.ref((t=e.enabled)!=null?t:!1),r=e.video,u=e.audio,{navigator:a=q}=e,i=x(()=>{var m;return(m=a?.mediaDevices)==null?void 0:m.getDisplayMedia}),o={audio:u,video:r},s=l.shallowRef();async function f(){var m;if(!(!i.value||s.value))return s.value=await a.mediaDevices.getDisplayMedia(o),(m=s.value)==null||m.getTracks().forEach(p=>p.addEventListener("ended",d)),s.value}async function c(){var m;(m=s.value)==null||m.getTracks().forEach(p=>p.stop()),s.value=void 0}function d(){c(),n.value=!1}async function y(){return await f(),s.value&&(n.value=!0),s.value}return l.watch(n,m=>{m?f():c()},{immediate:!0}),{isSupported:i,stream:s,start:y,stop:d,enabled:n}}function ze(e={}){const{document:t=B}=e;if(!t)return l.ref("visible");const n=l.ref(t.visibilityState);return _(t,"visibilitychange",()=>{n.value=t.visibilityState},{passive:!0}),n}function Pn(e,t={}){var n;const{pointerTypes:r,preventDefault:u,stopPropagation:a,exact:i,onMove:o,onEnd:s,onStart:f,initialValue:c,axis:d="both",draggingElement:y=M,containerElement:m,handle:p=e,buttons:g=[0]}=t,v=l.ref((n=l.toValue(c))!=null?n:{x:0,y:0}),w=l.ref(),h=T=>r?r.includes(T.pointerType):!0,b=T=>{l.toValue(u)&&T.preventDefault(),l.toValue(a)&&T.stopPropagation()},O=T=>{var V;if(!l.toValue(g).includes(T.button)||l.toValue(t.disabled)||!h(T)||l.toValue(i)&&T.target!==l.toValue(e))return;const F=l.toValue(m),L=(V=F?.getBoundingClientRect)==null?void 0:V.call(F),C=l.toValue(e).getBoundingClientRect(),R={x:T.clientX-(F?C.left-L.left+F.scrollLeft:C.left),y:T.clientY-(F?C.top-L.top+F.scrollTop:C.top)};f?.(R,T)!==!1&&(w.value=R,b(T))},k=T=>{if(l.toValue(t.disabled)||!h(T)||!w.value)return;const V=l.toValue(m),F=l.toValue(e).getBoundingClientRect();let{x:L,y:C}=v.value;(d==="x"||d==="both")&&(L=T.clientX-w.value.x,V&&(L=Math.min(Math.max(0,L),V.scrollWidth-F.width))),(d==="y"||d==="both")&&(C=T.clientY-w.value.y,V&&(C=Math.min(Math.max(0,C),V.scrollHeight-F.height))),v.value={x:L,y:C},o?.(v.value,T),b(T)},D=T=>{l.toValue(t.disabled)||!h(T)||w.value&&(w.value=void 0,s?.(v.value,T),b(T))};if(S.isClient){const T=()=>{var V;return{capture:(V=t.capture)!=null?V:!0,passive:!l.toValue(u)}};_(p,"pointerdown",O,T),_(y,"pointermove",k,T),_(y,"pointerup",D,T)}return{...S.toRefs(v),position:v,isDragging:l.computed(()=>!!w.value),style:l.computed(()=>`left:${v.value.x}px;top:${v.value.y}px;`)}}function Dn(e,t={}){var n,r;const u=l.ref(!1),a=l.shallowRef(null);let i=0,o=!0;if(S.isClient){const s=typeof t=="function"?{onDrop:t}:t,f=(n=s.multiple)!=null?n:!0,c=(r=s.preventDefaultForUnhandled)!=null?r:!1,d=v=>{var w,h;const b=Array.from((h=(w=v.dataTransfer)==null?void 0:w.files)!=null?h:[]);return b.length===0?null:f?b:[b[0]]},y=v=>{const w=l.unref(s.dataTypes);return typeof w=="function"?w(v):w?.length?v.length===0?!1:v.every(h=>w.some(b=>h.includes(b))):!0},m=v=>{const w=Array.from(v??[]).map(O=>O.type),h=y(w),b=f||v.length<=1;return h&&b},p=()=>/^(?:(?!chrome|android).)*safari/i.test(navigator.userAgent)&&!("chrome"in window),g=(v,w)=>{var h,b,O,k,D,T;const V=(h=v.dataTransfer)==null?void 0:h.items;if(o=(b=V&&m(V))!=null?b:!1,c&&v.preventDefault(),!p()&&!o){v.dataTransfer&&(v.dataTransfer.dropEffect="none");return}v.preventDefault(),v.dataTransfer&&(v.dataTransfer.dropEffect="copy");const F=d(v);switch(w){case"enter":i+=1,u.value=!0,(O=s.onEnter)==null||O.call(s,null,v);break;case"over":(k=s.onOver)==null||k.call(s,null,v);break;case"leave":i-=1,i===0&&(u.value=!1),(D=s.onLeave)==null||D.call(s,null,v);break;case"drop":i=0,u.value=!1,o&&(a.value=F,(T=s.onDrop)==null||T.call(s,F,v));break}};_(e,"dragenter",v=>g(v,"enter")),_(e,"dragover",v=>g(v,"over")),_(e,"dragleave",v=>g(v,"leave")),_(e,"drop",v=>g(v,"drop"))}return{files:a,isOverDropZone:u}}function de(e,t,n={}){const{window:r=M,...u}=n;let a;const i=x(()=>r&&"ResizeObserver"in r),o=()=>{a&&(a.disconnect(),a=void 0)},s=l.computed(()=>{const d=l.toValue(e);return Array.isArray(d)?d.map(y=>N(y)):[N(d)]}),f=l.watch(s,d=>{if(o(),i.value&&r){a=new ResizeObserver(t);for(const y of d)y&&a.observe(y,u)}},{immediate:!0,flush:"post"}),c=()=>{o(),f()};return S.tryOnScopeDispose(c),{isSupported:i,stop:c}}function Cn(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:u=!0,immediate:a=!0,updateTiming:i="sync"}=t,o=l.ref(0),s=l.ref(0),f=l.ref(0),c=l.ref(0),d=l.ref(0),y=l.ref(0),m=l.ref(0),p=l.ref(0);function g(){const w=N(e);if(!w){n&&(o.value=0,s.value=0,f.value=0,c.value=0,d.value=0,y.value=0,m.value=0,p.value=0);return}const h=w.getBoundingClientRect();o.value=h.height,s.value=h.bottom,f.value=h.left,c.value=h.right,d.value=h.top,y.value=h.width,m.value=h.x,p.value=h.y}function v(){i==="sync"?g():i==="next-frame"&&requestAnimationFrame(()=>g())}return de(e,v),l.watch(()=>N(e),w=>!w&&v()),K(e,v,{attributeFilter:["style","class"]}),u&&_("scroll",v,{capture:!0,passive:!0}),r&&_("resize",v,{passive:!0}),S.tryOnMounted(()=>{a&&v()}),{height:o,bottom:s,left:f,right:c,top:d,width:y,x:m,y:p,update:v}}function An(e){const{x:t,y:n,document:r=B,multiple:u,interval:a="requestAnimationFrame",immediate:i=!0}=e,o=x(()=>l.toValue(u)?r&&"elementsFromPoint"in r:r&&"elementFromPoint"in r),s=l.ref(null),f=()=>{var d,y;s.value=l.toValue(u)?(d=r?.elementsFromPoint(l.toValue(t),l.toValue(n)))!=null?d:[]:(y=r?.elementFromPoint(l.toValue(t),l.toValue(n)))!=null?y:null},c=a==="requestAnimationFrame"?Y(f,{immediate:i}):S.useIntervalFn(f,a,{immediate:i});return{isSupported:o,element:s,...c}}function Mn(e,t={}){const{delayEnter:n=0,delayLeave:r=0,triggerOnRemoval:u=!1,window:a=M}=t,i=l.ref(!1);let o;const s=f=>{const c=f?n:r;o&&(clearTimeout(o),o=void 0),c?o=setTimeout(()=>i.value=f,c):i.value=f};return a&&(_(e,"mouseenter",()=>s(!0),{passive:!0}),_(e,"mouseleave",()=>s(!1),{passive:!0}),u&&he(l.computed(()=>N(e)),()=>s(!1))),i}function qe(e,t={width:0,height:0},n={}){const{window:r=M,box:u="content-box"}=n,a=l.computed(()=>{var d,y;return(y=(d=N(e))==null?void 0:d.namespaceURI)==null?void 0:y.includes("svg")}),i=l.ref(t.width),o=l.ref(t.height),{stop:s}=de(e,([d])=>{const y=u==="border-box"?d.borderBoxSize:u==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&a.value){const m=N(e);if(m){const p=m.getBoundingClientRect();i.value=p.width,o.value=p.height}}else if(y){const m=S.toArray(y);i.value=m.reduce((p,{inlineSize:g})=>p+g,0),o.value=m.reduce((p,{blockSize:g})=>p+g,0)}else i.value=d.contentRect.width,o.value=d.contentRect.height},n);S.tryOnMounted(()=>{const d=N(e);d&&(i.value="offsetWidth"in d?d.offsetWidth:t.width,o.value="offsetHeight"in d?d.offsetHeight:t.height)});const f=l.watch(()=>N(e),d=>{i.value=d?t.width:0,o.value=d?t.height:0});function c(){s(),f()}return{width:i,height:o,stop:c}}function Ge(e,t,n={}){const{root:r,rootMargin:u="0px",threshold:a=0,window:i=M,immediate:o=!0}=n,s=x(()=>i&&"IntersectionObserver"in i),f=l.computed(()=>{const p=l.toValue(e);return S.toArray(p).map(N).filter(S.notNullish)});let c=S.noop;const d=l.ref(o),y=s.value?l.watch(()=>[f.value,N(r),d.value],([p,g])=>{if(c(),!d.value||!p.length)return;const v=new IntersectionObserver(t,{root:N(g),rootMargin:u,threshold:a});p.forEach(w=>w&&v.observe(w)),c=()=>{v.disconnect(),c=S.noop}},{immediate:o,flush:"post"}):S.noop,m=()=>{c(),y(),d.value=!1};return S.tryOnScopeDispose(m),{isSupported:s,isActive:d,pause(){c(),d.value=!1},resume(){d.value=!0},stop:m}}function Ye(e,t={}){const{window:n=M,scrollTarget:r,threshold:u=0,rootMargin:a}=t,i=l.ref(!1);return Ge(e,o=>{let s=i.value,f=0;for(const c of o)c.time>=f&&(f=c.time,s=c.isIntersecting);i.value=s},{root:r,window:n,threshold:u,rootMargin:l.toValue(a)}),i}const ne=new Map;function In(e){const t=l.getCurrentScope();function n(o){var s;const f=ne.get(e)||new Set;f.add(o),ne.set(e,f);const c=()=>u(o);return(s=t?.cleanups)==null||s.push(c),c}function r(o){function s(...f){u(s),o(...f)}return n(s)}function u(o){const s=ne.get(e);s&&(s.delete(o),s.size||a())}function a(){ne.delete(e)}function i(o,s){var f;(f=ne.get(e))==null||f.forEach(c=>c(o,s))}return{on:n,once:r,off:u,emit:i,reset:a}}function Ln(e){return e===!0?{}:e}function Nn(e,t=[],n={}){const r=l.ref(null),u=l.ref(null),a=l.ref("CONNECTING"),i=l.ref(null),o=l.shallowRef(null),s=S.toRef(e),f=l.shallowRef(null);let c=!1,d=0;const{withCredentials:y=!1,immediate:m=!0,autoConnect:p=!0,autoReconnect:g}=n,v=()=>{S.isClient&&i.value&&(i.value.close(),i.value=null,a.value="CLOSED",c=!0)},w=()=>{if(c||typeof s.value>"u")return;const b=new EventSource(s.value,{withCredentials:y});a.value="CONNECTING",i.value=b,b.onopen=()=>{a.value="OPEN",o.value=null},b.onerror=O=>{if(a.value="CLOSED",o.value=O,b.readyState===2&&!c&&g){b.close();const{retries:k=-1,delay:D=1e3,onFailed:T}=Ln(g);d+=1,typeof k=="number"&&(k<0||d<k)||typeof k=="function"&&k()?setTimeout(w,D):T?.()}},b.onmessage=O=>{r.value=null,u.value=O.data,f.value=O.lastEventId};for(const O of t)_(b,O,k=>{r.value=O,u.value=k.data||null})},h=()=>{S.isClient&&(v(),c=!1,d=0,w())};return m&&h(),p&&l.watch(s,h),S.tryOnScopeDispose(v),{eventSource:i,event:r,data:u,status:a,error:o,open:h,close:v,lastEventId:f}}function xn(e={}){const{initialValue:t=""}=e,n=x(()=>typeof window<"u"&&"EyeDropper"in window),r=l.ref(t);async function u(a){if(!n.value)return;const o=await new window.EyeDropper().open(a);return r.value=o.sRGBHex,o}return{isSupported:n,sRGBHex:r,open:u}}function Wn(e=null,t={}){const{baseUrl:n="",rel:r="icon",document:u=B}=t,a=S.toRef(e),i=o=>{const s=u?.head.querySelectorAll(`link[rel*="${r}"]`);if(!s||s.length===0){const f=u?.createElement("link");f&&(f.rel=r,f.href=`${n}${o}`,f.type=`image/${o.split(".").pop()}`,u?.head.append(f));return}s?.forEach(f=>f.href=`${n}${o}`)};return l.watch(a,(o,s)=>{typeof o=="string"&&o!==s&&i(o)},{immediate:!0}),a}const Hn={json:"application/json",text:"text/plain"};function me(e){return e&&S.containsProp(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}const Un=/^(?:[a-z][a-z\d+\-.]*:)?\/\//i;function $n(e){return Un.test(e)}function le(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries(e.entries()):e}function J(e,...t){return e==="overwrite"?async n=>{const r=t[t.length-1];return r?{...n,...await r(n)}:n}:async n=>{for(const r of t)r&&(n={...n,...await r(n)});return n}}function Bn(e={}){const t=e.combination||"chain",n=e.options||{},r=e.fetchOptions||{};function u(a,...i){const o=l.computed(()=>{const c=l.toValue(e.baseUrl),d=l.toValue(a);return c&&!$n(d)?jn(c,d):d});let s=n,f=r;return i.length>0&&(me(i[0])?s={...s,...i[0],beforeFetch:J(t,n.beforeFetch,i[0].beforeFetch),afterFetch:J(t,n.afterFetch,i[0].afterFetch),onFetchError:J(t,n.onFetchError,i[0].onFetchError)}:f={...f,...i[0],headers:{...le(f.headers)||{},...le(i[0].headers)||{}}}),i.length>1&&me(i[1])&&(s={...s,...i[1],beforeFetch:J(t,n.beforeFetch,i[1].beforeFetch),afterFetch:J(t,n.afterFetch,i[1].afterFetch),onFetchError:J(t,n.onFetchError,i[1].onFetchError)}),Xe(o,f,s)}return u}function Xe(e,...t){var n;const r=typeof AbortController=="function";let u={},a={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const i={method:"GET",type:"text",payload:void 0};t.length>0&&(me(t[0])?a={...a,...t[0]}:u=t[0]),t.length>1&&me(t[1])&&(a={...a,...t[1]});const{fetch:o=(n=M)==null?void 0:n.fetch,initialData:s,timeout:f}=a,c=S.createEventHook(),d=S.createEventHook(),y=S.createEventHook(),m=l.ref(!1),p=l.ref(!1),g=l.ref(!1),v=l.ref(null),w=l.shallowRef(null),h=l.shallowRef(null),b=l.shallowRef(s||null),O=l.computed(()=>r&&p.value);let k,D;const T=()=>{r&&(k?.abort(),k=new AbortController,k.signal.onabort=()=>g.value=!0,u={...u,signal:k.signal})},V=A=>{p.value=A,m.value=!A};f&&(D=S.useTimeoutFn(T,f,{immediate:!1}));let F=0;const L=async(A=!1)=>{var H,U;T(),V(!0),h.value=null,v.value=null,g.value=!1,F+=1;const G=F,z={method:i.method,headers:{}},Q=l.toValue(i.payload);if(Q){const $=le(z.headers),ae=Object.getPrototypeOf(Q);!i.payloadType&&Q&&(ae===Object.prototype||Array.isArray(ae))&&!(Q instanceof FormData)&&(i.payloadType="json"),i.payloadType&&($["Content-Type"]=(H=Hn[i.payloadType])!=null?H:i.payloadType),z.body=i.payloadType==="json"?JSON.stringify(Q):Q}let Ot=!1;const re={url:l.toValue(e),options:{...z,...u},cancel:()=>{Ot=!0}};if(a.beforeFetch&&Object.assign(re,await a.beforeFetch(re)),Ot||!o)return V(!1),Promise.resolve(null);let X=null;return D&&D.start(),o(re.url,{...z,...re.options,headers:{...le(z.headers),...le((U=re.options)==null?void 0:U.headers)}}).then(async $=>{if(w.value=$,v.value=$.status,X=await $.clone()[i.type](),!$.ok)throw b.value=s||null,new Error($.statusText);return a.afterFetch&&({data:X}=await a.afterFetch({data:X,response:$})),b.value=X,c.trigger($),$}).catch(async $=>{let ae=$.message||$.name;if(a.onFetchError&&({error:ae,data:X}=await a.onFetchError({data:X,error:$,response:w.value})),h.value=ae,a.updateDataOnError&&(b.value=X),d.trigger($),A)throw $;return null}).finally(()=>{G===F&&V(!1),D&&D.stop(),y.trigger(null)})},C=S.toRef(a.refetch);l.watch([C,S.toRef(e)],([A])=>A&&L(),{deep:!0});const R={isFinished:l.readonly(m),isFetching:l.readonly(p),statusCode:v,response:w,error:h,data:b,canAbort:O,aborted:g,abort:T,execute:L,onFetchResponse:c.on,onFetchError:d.on,onFetchFinally:y.on,get:P("GET"),put:P("PUT"),post:P("POST"),delete:P("DELETE"),patch:P("PATCH"),head:P("HEAD"),options:P("OPTIONS"),json:W("json"),text:W("text"),blob:W("blob"),arrayBuffer:W("arrayBuffer"),formData:W("formData")};function P(A){return(H,U)=>{if(!p.value)return i.method=A,i.payload=H,i.payloadType=U,l.isRef(i.payload)&&l.watch([C,S.toRef(i.payload)],([G])=>G&&L(),{deep:!0}),{...R,then(G,z){return I().then(G,z)}}}}function I(){return new Promise((A,H)=>{S.until(m).toBe(!0).then(()=>A(R)).catch(H)})}function W(A){return()=>{if(!p.value)return i.type=A,{...R,then(H,U){return I().then(H,U)}}}}return a.immediate&&Promise.resolve().then(()=>L()),{...R,then(A,H){return I().then(A,H)}}}function jn(e,t){return!e.endsWith("/")&&!t.startsWith("/")?`${e}/${t}`:e.endsWith("/")&&t.startsWith("/")?`${e.slice(0,-1)}${t}`:`${e}${t}`}const zn={multiple:!0,accept:"*",reset:!1,directory:!1};function qn(e={}){const{document:t=B}=e,n=l.ref(null),{on:r,trigger:u}=S.createEventHook(),{on:a,trigger:i}=S.createEventHook();let o;t&&(o=t.createElement("input"),o.type="file",o.onchange=c=>{const d=c.target;n.value=d.files,u(n.value)},o.oncancel=()=>{i()});const s=()=>{n.value=null,o&&o.value&&(o.value="",u(null))},f=c=>{if(!o)return;const d={...zn,...e,...c};o.multiple=d.multiple,o.accept=d.accept,o.webkitdirectory=d.directory,S.hasOwn(d,"capture")&&(o.capture=d.capture),d.reset&&s(),o.click()};return{files:l.readonly(n),open:f,reset:s,onCancel:a,onChange:r}}function Gn(e={}){const{window:t=M,dataType:n="Text"}=e,r=t,u=x(()=>r&&"showSaveFilePicker"in r&&"showOpenFilePicker"in r),a=l.ref(),i=l.ref(),o=l.ref(),s=l.computed(()=>{var h,b;return(b=(h=o.value)==null?void 0:h.name)!=null?b:""}),f=l.computed(()=>{var h,b;return(b=(h=o.value)==null?void 0:h.type)!=null?b:""}),c=l.computed(()=>{var h,b;return(b=(h=o.value)==null?void 0:h.size)!=null?b:0}),d=l.computed(()=>{var h,b;return(b=(h=o.value)==null?void 0:h.lastModified)!=null?b:0});async function y(h={}){if(!u.value)return;const[b]=await r.showOpenFilePicker({...l.toValue(e),...h});a.value=b,await w()}async function m(h={}){u.value&&(a.value=await r.showSaveFilePicker({...e,...h}),i.value=void 0,await w())}async function p(h={}){if(u.value){if(!a.value)return g(h);if(i.value){const b=await a.value.createWritable();await b.write(i.value),await b.close()}await v()}}async function g(h={}){if(u.value){if(a.value=await r.showSaveFilePicker({...e,...h}),i.value){const b=await a.value.createWritable();await b.write(i.value),await b.close()}await v()}}async function v(){var h;o.value=await((h=a.value)==null?void 0:h.getFile())}async function w(){var h,b;await v();const O=l.toValue(n);O==="Text"?i.value=await((h=o.value)==null?void 0:h.text()):O==="ArrayBuffer"?i.value=await((b=o.value)==null?void 0:b.arrayBuffer()):O==="Blob"&&(i.value=o.value)}return l.watch(()=>l.toValue(n),w),{isSupported:u,data:i,file:o,fileName:s,fileMIME:f,fileSize:c,fileLastModified:d,open:y,create:m,save:p,saveAs:g,updateData:w}}function Yn(e,t={}){const{initialValue:n=!1,focusVisible:r=!1,preventScroll:u=!1}=t,a=l.ref(!1),i=l.computed(()=>N(e)),o={passive:!0};_(i,"focus",f=>{var c,d;(!r||(d=(c=f.target).matches)!=null&&d.call(c,":focus-visible"))&&(a.value=!0)},o),_(i,"blur",()=>a.value=!1,o);const s=l.computed({get:()=>a.value,set(f){var c,d;!f&&a.value?(c=i.value)==null||c.blur():f&&!a.value&&((d=i.value)==null||d.focus({preventScroll:u}))}});return l.watch(i,()=>{s.value=n},{immediate:!0,flush:"post"}),{focused:s}}const Xn="focusin",Kn="focusout",Jn=":focus-within";function Qn(e,t={}){const{window:n=M}=t,r=l.computed(()=>N(e)),u=l.ref(!1),a=l.computed(()=>u.value),i=Ae(t);if(!n||!i.value)return{focused:a};const o={passive:!0};return _(r,Xn,()=>u.value=!0,o),_(r,Kn,()=>{var s,f,c;return u.value=(c=(f=(s=r.value)==null?void 0:s.matches)==null?void 0:f.call(s,Jn))!=null?c:!1},o),{focused:a}}function Zn(e){var t;const n=l.ref(0);if(typeof performance>"u")return n;const r=(t=e?.every)!=null?t:10;let u=performance.now(),a=0;return Y(()=>{if(a+=1,a>=r){const i=performance.now(),o=i-u;n.value=Math.round(1e3/(o/a)),u=i,a=0}}),n}const Ke=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function el(e,t={}){const{document:n=B,autoExit:r=!1}=t,u=l.computed(()=>{var h;return(h=N(e))!=null?h:n?.querySelector("html")}),a=l.ref(!1),i=l.computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(h=>n&&h in n||u.value&&h in u.value)),o=l.computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(h=>n&&h in n||u.value&&h in u.value)),s=l.computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(h=>n&&h in n||u.value&&h in u.value)),f=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(h=>n&&h in n),c=x(()=>u.value&&n&&i.value!==void 0&&o.value!==void 0&&s.value!==void 0),d=()=>f?n?.[f]===u.value:!1,y=()=>{if(s.value){if(n&&n[s.value]!=null)return n[s.value];{const h=u.value;if(h?.[s.value]!=null)return!!h[s.value]}}return!1};async function m(){if(!(!c.value||!a.value)){if(o.value)if(n?.[o.value]!=null)await n[o.value]();else{const h=u.value;h?.[o.value]!=null&&await h[o.value]()}a.value=!1}}async function p(){if(!c.value||a.value)return;y()&&await m();const h=u.value;i.value&&h?.[i.value]!=null&&(await h[i.value](),a.value=!0)}async function g(){await(a.value?m():p())}const v=()=>{const h=y();(!h||h&&d())&&(a.value=h)},w={capture:!1,passive:!0};return _(n,Ke,v,w),_(()=>N(u),Ke,v,w),r&&S.tryOnScopeDispose(m),{isSupported:c,isFullscreen:a,enter:p,exit:m,toggle:g}}function tl(e){return l.computed(()=>e.value?{buttons:{a:e.value.buttons[0],b:e.value.buttons[1],x:e.value.buttons[2],y:e.value.buttons[3]},bumper:{left:e.value.buttons[4],right:e.value.buttons[5]},triggers:{left:e.value.buttons[6],right:e.value.buttons[7]},stick:{left:{horizontal:e.value.axes[0],vertical:e.value.axes[1],button:e.value.buttons[10]},right:{horizontal:e.value.axes[2],vertical:e.value.axes[3],button:e.value.buttons[11]}},dpad:{up:e.value.buttons[12],down:e.value.buttons[13],left:e.value.buttons[14],right:e.value.buttons[15]},back:e.value.buttons[8],start:e.value.buttons[9]}:null)}function nl(e={}){const{navigator:t=q}=e,n=x(()=>t&&"getGamepads"in t),r=l.ref([]),u=S.createEventHook(),a=S.createEventHook(),i=p=>{const g=[],v="vibrationActuator"in p?p.vibrationActuator:null;return v&&g.push(v),p.hapticActuators&&g.push(...p.hapticActuators),{id:p.id,index:p.index,connected:p.connected,mapping:p.mapping,timestamp:p.timestamp,vibrationActuator:p.vibrationActuator,hapticActuators:g,axes:p.axes.map(w=>w),buttons:p.buttons.map(w=>({pressed:w.pressed,touched:w.touched,value:w.value}))}},o=()=>{const p=t?.getGamepads()||[];for(const g of p)g&&r.value[g.index]&&(r.value[g.index]=i(g))},{isActive:s,pause:f,resume:c}=Y(o),d=p=>{r.value.some(({index:g})=>g===p.index)||(r.value.push(i(p)),u.trigger(p.index)),c()},y=p=>{r.value=r.value.filter(g=>g.index!==p.index),a.trigger(p.index)},m={passive:!0};return _("gamepadconnected",p=>d(p.gamepad),m),_("gamepaddisconnected",p=>y(p.gamepad),m),S.tryOnMounted(()=>{const p=t?.getGamepads()||[];for(const g of p)g&&r.value[g.index]&&d(g)}),f(),{isSupported:n,onConnected:u.on,onDisconnected:a.on,gamepads:r,pause:f,resume:c,isActive:s}}function ll(e={}){const{enableHighAccuracy:t=!0,maximumAge:n=3e4,timeout:r=27e3,navigator:u=q,immediate:a=!0}=e,i=x(()=>u&&"geolocation"in u),o=l.ref(null),s=l.shallowRef(null),f=l.ref({accuracy:0,latitude:Number.POSITIVE_INFINITY,longitude:Number.POSITIVE_INFINITY,altitude:null,altitudeAccuracy:null,heading:null,speed:null});function c(p){o.value=p.timestamp,f.value=p.coords,s.value=null}let d;function y(){i.value&&(d=u.geolocation.watchPosition(c,p=>s.value=p,{enableHighAccuracy:t,maximumAge:n,timeout:r}))}a&&y();function m(){d&&u&&u.geolocation.clearWatch(d)}return S.tryOnScopeDispose(()=>{m()}),{isSupported:i,coords:f,locatedAt:o,error:s,resume:y,pause:m}}const rl=["mousemove","mousedown","resize","keydown","touchstart","wheel"],al=6e4;function ol(e=al,t={}){const{initialState:n=!1,listenForVisibilityChange:r=!0,events:u=rl,window:a=M,eventFilter:i=S.throttleFilter(50)}=t,o=l.ref(n),s=l.ref(S.timestamp());let f;const c=()=>{o.value=!1,clearTimeout(f),f=setTimeout(()=>o.value=!0,e)},d=S.createFilterWrapper(i,()=>{s.value=S.timestamp(),c()});if(a){const y=a.document,m={passive:!0};for(const p of u)_(a,p,d,m);r&&_(y,"visibilitychange",()=>{y.hidden||d()},m),c()}return{idle:o,lastActive:s,reset:c}}async function il(e){return new Promise((t,n)=>{const r=new Image,{src:u,srcset:a,sizes:i,class:o,loading:s,crossorigin:f,referrerPolicy:c,width:d,height:y,decoding:m,fetchPriority:p,ismap:g,usemap:v}=e;r.src=u,a!=null&&(r.srcset=a),i!=null&&(r.sizes=i),o!=null&&(r.className=o),s!=null&&(r.loading=s),f!=null&&(r.crossOrigin=f),c!=null&&(r.referrerPolicy=c),d!=null&&(r.width=d),y!=null&&(r.height=y),m!=null&&(r.decoding=m),p!=null&&(r.fetchPriority=p),g!=null&&(r.isMap=g),v!=null&&(r.useMap=v),r.onload=()=>t(r),r.onerror=n})}function ul(e,t={}){const n=Me(()=>il(l.toValue(e)),void 0,{resetOnExecute:!0,...t});return l.watch(()=>l.toValue(e),()=>n.execute(t.delay),{deep:!0}),n}function pe(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const Je=1;function Oe(e,t={}){const{throttle:n=0,idle:r=200,onStop:u=S.noop,onScroll:a=S.noop,offset:i={left:0,right:0,top:0,bottom:0},eventListenerOptions:o={capture:!1,passive:!0},behavior:s="auto",window:f=M,onError:c=T=>{console.error(T)}}=t,d=l.ref(0),y=l.ref(0),m=l.computed({get(){return d.value},set(T){g(T,void 0)}}),p=l.computed({get(){return y.value},set(T){g(void 0,T)}});function g(T,V){var F,L,C,R;if(!f)return;const P=l.toValue(e);if(!P)return;(C=P instanceof Document?f.document.body:P)==null||C.scrollTo({top:(F=l.toValue(V))!=null?F:p.value,left:(L=l.toValue(T))!=null?L:m.value,behavior:l.toValue(s)});const I=((R=P?.document)==null?void 0:R.documentElement)||P?.documentElement||P;m!=null&&(d.value=I.scrollLeft),p!=null&&(y.value=I.scrollTop)}const v=l.ref(!1),w=l.reactive({left:!0,right:!1,top:!0,bottom:!1}),h=l.reactive({left:!1,right:!1,top:!1,bottom:!1}),b=T=>{v.value&&(v.value=!1,h.left=!1,h.right=!1,h.top=!1,h.bottom=!1,u(T))},O=S.useDebounceFn(b,n+r),k=T=>{var V;if(!f)return;const F=((V=T?.document)==null?void 0:V.documentElement)||T?.documentElement||N(T),{display:L,flexDirection:C,direction:R}=getComputedStyle(F),P=R==="rtl"?-1:1,I=F.scrollLeft;h.left=I<d.value,h.right=I>d.value;const W=I*P<=(i.left||0),A=I*P+F.clientWidth>=F.scrollWidth-(i.right||0)-Je;L==="flex"&&C==="row-reverse"?(w.left=A,w.right=W):(w.left=W,w.right=A),d.value=I;let H=F.scrollTop;T===f.document&&!H&&(H=f.document.body.scrollTop),h.top=H<y.value,h.bottom=H>y.value;const U=H<=(i.top||0),G=H+F.clientHeight>=F.scrollHeight-(i.bottom||0)-Je;L==="flex"&&C==="column-reverse"?(w.top=G,w.bottom=U):(w.top=U,w.bottom=G),y.value=H},D=T=>{var V;if(!f)return;const F=(V=T.target.documentElement)!=null?V:T.target;k(F),v.value=!0,O(T),a(T)};return _(e,"scroll",n?S.useThrottleFn(D,n,!0,!1):D,o),S.tryOnMounted(()=>{try{const T=l.toValue(e);if(!T)return;k(T)}catch(T){c(T)}}),_(e,"scrollend",b,o),{x:m,y:p,isScrolling:v,arrivedState:w,directions:h,measure(){const T=l.toValue(e);f&&T&&k(T)}}}function sl(e,t,n={}){var r;const{direction:u="bottom",interval:a=100,canLoadMore:i=()=>!0}=n,o=l.reactive(Oe(e,{...n,offset:{[u]:(r=n.distance)!=null?r:0,...n.offset}})),s=l.ref(),f=l.computed(()=>!!s.value),c=l.computed(()=>pe(l.toValue(e))),d=Ye(c);function y(){if(o.measure(),!c.value||!d.value||!i(c.value))return;const{scrollHeight:p,clientHeight:g,scrollWidth:v,clientWidth:w}=c.value,h=u==="bottom"||u==="top"?p<=g:v<=w;(o.arrivedState[u]||h)&&(s.value||(s.value=Promise.all([t(o),new Promise(b=>setTimeout(b,a))]).finally(()=>{s.value=null,l.nextTick(()=>y())})))}const m=l.watch(()=>[o.arrivedState[u],d.value],y,{immediate:!0});return S.tryOnUnmounted(m),{isLoading:f,reset(){l.nextTick(()=>y())}}}const cl=["mousedown","mouseup","keydown","keyup"];function fl(e,t={}){const{events:n=cl,document:r=B,initial:u=null}=t,a=l.ref(u);return r&&n.forEach(i=>{_(r,i,o=>{typeof o.getModifierState=="function"&&(a.value=o.getModifierState(e))})}),a}function dl(e,t,n={}){const{window:r=M}=n;return fe(e,t,r?.localStorage,n)}const Qe={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function ml(e={}){const{reactive:t=!1,target:n=M,aliasMap:r=Qe,passive:u=!0,onEventFired:a=S.noop}=e,i=l.reactive(new Set),o={toJSON(){return{}},current:i},s=t?l.reactive(o):o,f=new Set,c=new Set;function d(g,v){g in s&&(t?s[g]=v:s[g].value=v)}function y(){i.clear();for(const g of c)d(g,!1)}function m(g,v){var w,h;const b=(w=g.key)==null?void 0:w.toLowerCase(),k=[(h=g.code)==null?void 0:h.toLowerCase(),b].filter(Boolean);b&&(v?i.add(b):i.delete(b));for(const D of k)c.add(D),d(D,v);b==="meta"&&!v?(f.forEach(D=>{i.delete(D),d(D,!1)}),f.clear()):typeof g.getModifierState=="function"&&g.getModifierState("Meta")&&v&&[...i,...k].forEach(D=>f.add(D))}_(n,"keydown",g=>(m(g,!0),a(g)),{passive:u}),_(n,"keyup",g=>(m(g,!1),a(g)),{passive:u}),_("blur",y,{passive:u}),_("focus",y,{passive:u});const p=new Proxy(s,{get(g,v,w){if(typeof v!="string")return Reflect.get(g,v,w);if(v=v.toLowerCase(),v in r&&(v=r[v]),!(v in s))if(/[+_-]/.test(v)){const b=v.split(/[+_-]/g).map(O=>O.trim());s[v]=l.computed(()=>b.every(O=>l.toValue(p[O])))}else s[v]=l.ref(!1);const h=Reflect.get(g,v,w);return t?l.toValue(h):h}});return p}function ke(e,t){l.toValue(e)&&t(l.toValue(e))}function pl(e){let t=[];for(let n=0;n<e.length;++n)t=[...t,[e.start(n),e.end(n)]];return t}function _e(e){return Array.from(e).map(({label:t,kind:n,language:r,mode:u,activeCues:a,cues:i,inBandMetadataTrackDispatchType:o},s)=>({id:s,label:t,kind:n,language:r,mode:u,activeCues:a,cues:i,inBandMetadataTrackDispatchType:o}))}const vl={src:"",tracks:[]};function yl(e,t={}){e=S.toRef(e),t={...vl,...t};const{document:n=B}=t,r=l.ref(0),u=l.ref(0),a=l.ref(!1),i=l.ref(1),o=l.ref(!1),s=l.ref(!1),f=l.ref(!1),c=l.ref(1),d=l.ref(!1),y=l.ref([]),m=l.ref([]),p=l.ref(-1),g=l.ref(!1),v=l.ref(!1),w=n&&"pictureInPictureEnabled"in n,h=S.createEventHook(),b=S.createEventHook(),O=R=>{ke(e,P=>{if(R){const I=typeof R=="number"?R:R.id;P.textTracks[I].mode="disabled"}else for(let I=0;I<P.textTracks.length;++I)P.textTracks[I].mode="disabled";p.value=-1})},k=(R,P=!0)=>{ke(e,I=>{const W=typeof R=="number"?R:R.id;P&&O(),I.textTracks[W].mode="showing",p.value=W})},D=()=>new Promise((R,P)=>{ke(e,async I=>{w&&(g.value?n.exitPictureInPicture().then(R).catch(P):I.requestPictureInPicture().then(R).catch(P))})});l.watchEffect(()=>{if(!n)return;const R=l.toValue(e);if(!R)return;const P=l.toValue(t.src);let I=[];P&&(typeof P=="string"?I=[{src:P}]:Array.isArray(P)?I=P:S.isObject(P)&&(I=[P]),R.querySelectorAll("source").forEach(W=>{W.removeEventListener("error",h.trigger),W.remove()}),I.forEach(({src:W,type:A,media:H})=>{const U=n.createElement("source");U.setAttribute("src",W),U.setAttribute("type",A||""),U.setAttribute("media",H||""),U.addEventListener("error",h.trigger),R.appendChild(U)}),R.load())}),S.tryOnScopeDispose(()=>{const R=l.toValue(e);R&&R.querySelectorAll("source").forEach(P=>P.removeEventListener("error",h.trigger))}),l.watch([e,i],()=>{const R=l.toValue(e);R&&(R.volume=i.value)}),l.watch([e,v],()=>{const R=l.toValue(e);R&&(R.muted=v.value)}),l.watch([e,c],()=>{const R=l.toValue(e);R&&(R.playbackRate=c.value)}),l.watchEffect(()=>{if(!n)return;const R=l.toValue(t.tracks),P=l.toValue(e);!R||!R.length||!P||(P.querySelectorAll("track").forEach(I=>I.remove()),R.forEach(({default:I,kind:W,label:A,src:H,srcLang:U},G)=>{const z=n.createElement("track");z.default=I||!1,z.kind=W,z.label=A,z.src=H,z.srclang=U,z.default&&(p.value=G),P.appendChild(z)}))});const{ignoreUpdates:T}=S.watchIgnorable(r,R=>{const P=l.toValue(e);P&&(P.currentTime=R)}),{ignoreUpdates:V}=S.watchIgnorable(f,R=>{const P=l.toValue(e);P&&(R?P.play().catch(I=>{throw b.trigger(I),I}):P.pause())}),F={passive:!0};_(e,"timeupdate",()=>T(()=>r.value=l.toValue(e).currentTime),F),_(e,"durationchange",()=>u.value=l.toValue(e).duration,F),_(e,"progress",()=>y.value=pl(l.toValue(e).buffered),F),_(e,"seeking",()=>a.value=!0,F),_(e,"seeked",()=>a.value=!1,F),_(e,["waiting","loadstart"],()=>{o.value=!0,V(()=>f.value=!1)},F),_(e,"loadeddata",()=>o.value=!1,F),_(e,"playing",()=>{o.value=!1,s.value=!1,V(()=>f.value=!0)},F),_(e,"ratechange",()=>c.value=l.toValue(e).playbackRate,F),_(e,"stalled",()=>d.value=!0,F),_(e,"ended",()=>s.value=!0,F),_(e,"pause",()=>V(()=>f.value=!1),F),_(e,"play",()=>V(()=>f.value=!0),F),_(e,"enterpictureinpicture",()=>g.value=!0,F),_(e,"leavepictureinpicture",()=>g.value=!1,F),_(e,"volumechange",()=>{const R=l.toValue(e);R&&(i.value=R.volume,v.value=R.muted)},F);const L=[],C=l.watch([e],()=>{const R=l.toValue(e);R&&(C(),L[0]=_(R.textTracks,"addtrack",()=>m.value=_e(R.textTracks),F),L[1]=_(R.textTracks,"removetrack",()=>m.value=_e(R.textTracks),F),L[2]=_(R.textTracks,"change",()=>m.value=_e(R.textTracks),F))});return S.tryOnScopeDispose(()=>L.forEach(R=>R())),{currentTime:r,duration:u,waiting:o,seeking:a,ended:s,stalled:d,buffered:y,playing:f,rate:c,volume:i,muted:v,tracks:m,selectedTrack:p,enableTrack:k,disableTrack:O,supportsPictureInPicture:w,togglePictureInPicture:D,isPictureInPicture:g,onSourceError:h.on,onPlaybackError:b.on}}function hl(e,t){const r=t?.cache?l.shallowReactive(t.cache):l.shallowReactive(new Map),u=(...c)=>t?.getKey?t.getKey(...c):JSON.stringify(c),a=(c,...d)=>(r.set(c,e(...d)),r.get(c)),i=(...c)=>a(u(...c),...c),o=(...c)=>{r.delete(u(...c))},s=()=>{r.clear()},f=(...c)=>{const d=u(...c);return r.has(d)?r.get(d):a(d,...c)};return f.load=i,f.delete=o,f.clear=s,f.generateKey=u,f.cache=r,f}function gl(e={}){const t=l.ref(),n=x(()=>typeof performance<"u"&&"memory"in performance);if(n.value){const{interval:r=1e3}=e;S.useIntervalFn(()=>{t.value=performance.memory},r,{immediate:e.immediate,immediateCallback:e.immediateCallback})}return{isSupported:n,memory:t}}const wl={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function Ze(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:r=!1,initialValue:u={x:0,y:0},window:a=M,target:i=a,scroll:o=!0,eventFilter:s}=e;let f=null,c=0,d=0;const y=l.ref(u.x),m=l.ref(u.y),p=l.ref(null),g=typeof t=="function"?t:wl[t],v=T=>{const V=g(T);f=T,V&&([y.value,m.value]=V,p.value="mouse"),a&&(c=a.scrollX,d=a.scrollY)},w=T=>{if(T.touches.length>0){const V=g(T.touches[0]);V&&([y.value,m.value]=V,p.value="touch")}},h=()=>{if(!f||!a)return;const T=g(f);f instanceof MouseEvent&&T&&(y.value=T[0]+a.scrollX-c,m.value=T[1]+a.scrollY-d)},b=()=>{y.value=u.x,m.value=u.y},O=s?T=>s(()=>v(T),{}):T=>v(T),k=s?T=>s(()=>w(T),{}):T=>w(T),D=s?()=>s(()=>h(),{}):()=>h();if(i){const T={passive:!0};_(i,["mousemove","dragover"],O,T),n&&t!=="movement"&&(_(i,["touchstart","touchmove"],k,T),r&&_(i,"touchend",b,T)),o&&t==="page"&&_(a,"scroll",D,T)}return{x:y,y:m,sourceType:p}}function et(e,t={}){const{handleOutside:n=!0,window:r=M}=t,u=t.type||"page",{x:a,y:i,sourceType:o}=Ze(t),s=l.ref(e??r?.document.body),f=l.ref(0),c=l.ref(0),d=l.ref(0),y=l.ref(0),m=l.ref(0),p=l.ref(0),g=l.ref(!0);let v=()=>{};return r&&(v=l.watch([s,a,i],()=>{const w=N(s);if(!w||!(w instanceof Element))return;const{left:h,top:b,width:O,height:k}=w.getBoundingClientRect();d.value=h+(u==="page"?r.pageXOffset:0),y.value=b+(u==="page"?r.pageYOffset:0),m.value=k,p.value=O;const D=a.value-d.value,T=i.value-y.value;g.value=O===0||k===0||D<0||T<0||D>O||T>k,(n||!g.value)&&(f.value=D,c.value=T)},{immediate:!0}),_(document,"mouseleave",()=>g.value=!0,{passive:!0})),{x:a,y:i,sourceType:o,elementX:f,elementY:c,elementPositionX:d,elementPositionY:y,elementHeight:m,elementWidth:p,isOutside:g,stop:v}}function bl(e={}){const{touch:t=!0,drag:n=!0,capture:r=!1,initialValue:u=!1,window:a=M}=e,i=l.ref(u),o=l.ref(null);if(!a)return{pressed:i,sourceType:o};const s=y=>m=>{var p;i.value=!0,o.value=y,(p=e.onPressed)==null||p.call(e,m)},f=y=>{var m;i.value=!1,o.value=null,(m=e.onReleased)==null||m.call(e,y)},c=l.computed(()=>N(e.target)||a),d={passive:!0,capture:r};return _(c,"mousedown",s("mouse"),d),_(a,"mouseleave",f,d),_(a,"mouseup",f,d),n&&(_(c,"dragstart",s("mouse"),d),_(a,"drop",f,d),_(a,"dragend",f,d)),t&&(_(c,"touchstart",s("touch"),d),_(a,"touchend",f,d),_(a,"touchcancel",f,d)),{pressed:i,sourceType:o}}function Sl(e={}){const{window:t=M}=e,n=t?.navigator,r=x(()=>n&&"language"in n),u=l.ref(n?.language);return _(t,"languagechange",()=>{n&&(u.value=n.language)},{passive:!0}),{isSupported:r,language:u}}function tt(e={}){const{window:t=M}=e,n=t?.navigator,r=x(()=>n&&"connection"in n),u=l.ref(!0),a=l.ref(!1),i=l.ref(void 0),o=l.ref(void 0),s=l.ref(void 0),f=l.ref(void 0),c=l.ref(void 0),d=l.ref(void 0),y=l.ref("unknown"),m=r.value&&n.connection;function p(){n&&(u.value=n.onLine,i.value=u.value?void 0:Date.now(),o.value=u.value?Date.now():void 0,m&&(s.value=m.downlink,f.value=m.downlinkMax,d.value=m.effectiveType,c.value=m.rtt,a.value=m.saveData,y.value=m.type))}const g={passive:!0};return t&&(_(t,"offline",()=>{u.value=!1,i.value=Date.now()},g),_(t,"online",()=>{u.value=!0,o.value=Date.now()},g)),m&&_(m,"change",p,g),p(),{isSupported:r,isOnline:l.readonly(u),saveData:l.readonly(a),offlineAt:l.readonly(i),onlineAt:l.readonly(o),downlink:l.readonly(s),downlinkMax:l.readonly(f),effectiveType:l.readonly(d),rtt:l.readonly(c),type:l.readonly(y)}}function nt(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=l.ref(new Date),u=()=>r.value=new Date,a=n==="requestAnimationFrame"?Y(u,{immediate:!0}):S.useIntervalFn(u,n,{immediate:!0});return t?{now:r,...a}:r}function El(e){const t=l.ref(),n=()=>{t.value&&URL.revokeObjectURL(t.value),t.value=void 0};return l.watch(()=>l.toValue(e),r=>{n(),r&&(t.value=URL.createObjectURL(r))},{immediate:!0}),S.tryOnScopeDispose(n),l.readonly(t)}function lt(e,t,n){if(typeof e=="function"||l.isReadonly(e))return l.computed(()=>S.clamp(l.toValue(e),l.toValue(t),l.toValue(n)));const r=l.ref(e);return l.computed({get(){return r.value=S.clamp(r.value,l.toValue(t),l.toValue(n))},set(u){r.value=S.clamp(u,l.toValue(t),l.toValue(n))}})}function Tl(e){const{total:t=Number.POSITIVE_INFINITY,pageSize:n=10,page:r=1,onPageChange:u=S.noop,onPageSizeChange:a=S.noop,onPageCountChange:i=S.noop}=e,o=lt(n,1,Number.POSITIVE_INFINITY),s=l.computed(()=>Math.max(1,Math.ceil(l.toValue(t)/l.toValue(o)))),f=lt(r,1,s),c=l.computed(()=>f.value===1),d=l.computed(()=>f.value===s.value);l.isRef(r)&&S.syncRef(r,f,{direction:l.isReadonly(r)?"ltr":"both"}),l.isRef(n)&&S.syncRef(n,o,{direction:l.isReadonly(n)?"ltr":"both"});function y(){f.value--}function m(){f.value++}const p={currentPage:f,currentPageSize:o,pageCount:s,isFirstPage:c,isLastPage:d,prev:y,next:m};return l.watch(f,()=>{u(l.reactive(p))}),l.watch(o,()=>{a(l.reactive(p))}),l.watch(s,()=>{i(l.reactive(p))}),p}function Ol(e={}){const{isOnline:t}=tt(e);return t}function kl(e={}){const{window:t=M}=e,n=l.ref(!1),r=u=>{if(!t)return;u=u||t.event;const a=u.relatedTarget||u.toElement;n.value=!a};if(t){const u={passive:!0};_(t,"mouseout",r,u),_(t.document,"mouseleave",r,u),_(t.document,"mouseenter",r,u)}return n}function rt(e={}){const{window:t=M}=e,n=x(()=>t&&"screen"in t&&"orientation"in t.screen),r=n.value?t.screen.orientation:{},u=l.ref(r.type),a=l.ref(r.angle||0);return n.value&&_(t,"orientationchange",()=>{u.value=r.type,a.value=r.angle},{passive:!0}),{isSupported:n,orientation:u,angle:a,lockOrientation:s=>n.value&&typeof r.lock=="function"?r.lock(s):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{n.value&&typeof r.unlock=="function"&&r.unlock()}}}function _l(e,t={}){const{deviceOrientationTiltAdjust:n=v=>v,deviceOrientationRollAdjust:r=v=>v,mouseTiltAdjust:u=v=>v,mouseRollAdjust:a=v=>v,window:i=M}=t,o=l.reactive(je({window:i})),s=l.reactive(rt({window:i})),{elementX:f,elementY:c,elementWidth:d,elementHeight:y}=et(e,{handleOutside:!1,window:i}),m=l.computed(()=>o.isSupported&&(o.alpha!=null&&o.alpha!==0||o.gamma!=null&&o.gamma!==0)?"deviceOrientation":"mouse"),p=l.computed(()=>{if(m.value==="deviceOrientation"){let v;switch(s.orientation){case"landscape-primary":v=o.gamma/90;break;case"landscape-secondary":v=-o.gamma/90;break;case"portrait-primary":v=-o.beta/90;break;case"portrait-secondary":v=o.beta/90;break;default:v=-o.beta/90}return r(v)}else{const v=-(c.value-y.value/2)/y.value;return a(v)}}),g=l.computed(()=>{if(m.value==="deviceOrientation"){let v;switch(s.orientation){case"landscape-primary":v=o.beta/90;break;case"landscape-secondary":v=-o.beta/90;break;case"portrait-primary":v=o.gamma/90;break;case"portrait-secondary":v=-o.gamma/90;break;default:v=o.gamma/90}return n(v)}else{const v=(f.value-d.value/2)/d.value;return u(v)}});return{roll:p,tilt:g,source:m}}function Rl(e=Ue()){const t=l.shallowRef(),n=()=>{const r=N(e);r&&(t.value=r.parentElement)};return S.tryOnMounted(n),l.watch(()=>l.toValue(e),n),t}function Vl(e,t){const{window:n=M,immediate:r=!0,...u}=e,a=x(()=>n&&"PerformanceObserver"in n);let i;const o=()=>{i?.disconnect()},s=()=>{a.value&&(o(),i=new PerformanceObserver(t),i.observe(u))};return S.tryOnScopeDispose(o),r&&s(),{isSupported:a,start:s,stop:o}}const at={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},Fl=Object.keys(at);function Pl(e={}){const{target:t=M}=e,n=l.ref(!1),r=l.ref(e.initialValue||{});Object.assign(r.value,at,r.value);const u=a=>{n.value=!0,!(e.pointerTypes&&!e.pointerTypes.includes(a.pointerType))&&(r.value=S.objectPick(a,Fl,!1))};if(t){const a={passive:!0};_(t,["pointerdown","pointermove","pointerup"],u,a),_(t,"pointerleave",()=>n.value=!1,a)}return{...S.toRefs(r),isInside:n}}function Dl(e,t={}){const{document:n=B}=t,r=x(()=>n&&"pointerLockElement"in n),u=l.ref(),a=l.ref();let i;if(r.value){const f={passive:!0};_(n,"pointerlockchange",()=>{var c;const d=(c=n.pointerLockElement)!=null?c:u.value;i&&d===i&&(u.value=n.pointerLockElement,u.value||(i=a.value=null))},f),_(n,"pointerlockerror",()=>{var c;const d=(c=n.pointerLockElement)!=null?c:u.value;if(i&&d===i){const y=n.pointerLockElement?"release":"acquire";throw new Error(`Failed to ${y} pointer lock.`)}},f)}async function o(f){var c;if(!r.value)throw new Error("Pointer Lock API is not supported by your browser.");if(a.value=f instanceof Event?f.currentTarget:null,i=f instanceof Event?(c=N(e))!=null?c:a.value:N(f),!i)throw new Error("Target element undefined.");return i.requestPointerLock(),await S.until(u).toBe(i)}async function s(){return u.value?(n.exitPointerLock(),await S.until(u).toBeNull(),!0):!1}return{isSupported:r,element:u,triggerElement:a,lock:o,unlock:s}}function Cl(e,t={}){const n=S.toRef(e),{threshold:r=50,onSwipe:u,onSwipeEnd:a,onSwipeStart:i,disableTextSelect:o=!1}=t,s=l.reactive({x:0,y:0}),f=(V,F)=>{s.x=V,s.y=F},c=l.reactive({x:0,y:0}),d=(V,F)=>{c.x=V,c.y=F},y=l.computed(()=>s.x-c.x),m=l.computed(()=>s.y-c.y),{max:p,abs:g}=Math,v=l.computed(()=>p(g(y.value),g(m.value))>=r),w=l.ref(!1),h=l.ref(!1),b=l.computed(()=>v.value?g(y.value)>g(m.value)?y.value>0?"left":"right":m.value>0?"up":"down":"none"),O=V=>{var F,L,C;const R=V.buttons===0,P=V.buttons===1;return(C=(L=(F=t.pointerTypes)==null?void 0:F.includes(V.pointerType))!=null?L:R||P)!=null?C:!0},k={passive:!0},D=[_(e,"pointerdown",V=>{if(!O(V))return;h.value=!0;const F=V.target;F?.setPointerCapture(V.pointerId);const{clientX:L,clientY:C}=V;f(L,C),d(L,C),i?.(V)},k),_(e,"pointermove",V=>{if(!O(V)||!h.value)return;const{clientX:F,clientY:L}=V;d(F,L),!w.value&&v.value&&(w.value=!0),w.value&&u?.(V)},k),_(e,"pointerup",V=>{O(V)&&(w.value&&a?.(V,b.value),h.value=!1,w.value=!1)},k)];S.tryOnMounted(()=>{var V,F,L,C,R,P,I,W;(F=(V=n.value)==null?void 0:V.style)==null||F.setProperty("touch-action","none"),o&&((C=(L=n.value)==null?void 0:L.style)==null||C.setProperty("-webkit-user-select","none"),(P=(R=n.value)==null?void 0:R.style)==null||P.setProperty("-ms-user-select","none"),(W=(I=n.value)==null?void 0:I.style)==null||W.setProperty("user-select","none"))});const T=()=>D.forEach(V=>V());return{isSwiping:l.readonly(w),direction:l.readonly(b),posStart:l.readonly(s),posEnd:l.readonly(c),distanceX:y,distanceY:m,stop:T}}function Al(e){const t=j("(prefers-color-scheme: light)",e),n=j("(prefers-color-scheme: dark)",e);return l.computed(()=>n.value?"dark":t.value?"light":"no-preference")}function Ml(e){const t=j("(prefers-contrast: more)",e),n=j("(prefers-contrast: less)",e),r=j("(prefers-contrast: custom)",e);return l.computed(()=>t.value?"more":n.value?"less":r.value?"custom":"no-preference")}function Il(e={}){const{window:t=M}=e;if(!t)return l.ref(["en"]);const n=t.navigator,r=l.ref(n.languages);return _(t,"languagechange",()=>{r.value=n.languages},{passive:!0}),r}function Ll(e){const t=j("(prefers-reduced-motion: reduce)",e);return l.computed(()=>t.value?"reduce":"no-preference")}function Nl(e){const t=j("(prefers-reduced-transparency: reduce)",e);return l.computed(()=>t.value?"reduce":"no-preference")}function xl(e,t){const n=l.shallowRef(t);return l.watch(S.toRef(e),(r,u)=>{n.value=u},{flush:"sync"}),l.readonly(n)}const ot="--vueuse-safe-area-top",it="--vueuse-safe-area-right",ut="--vueuse-safe-area-bottom",st="--vueuse-safe-area-left";function Wl(){const e=l.ref(""),t=l.ref(""),n=l.ref(""),r=l.ref("");if(S.isClient){const a=te(ot),i=te(it),o=te(ut),s=te(st);a.value="env(safe-area-inset-top, 0px)",i.value="env(safe-area-inset-right, 0px)",o.value="env(safe-area-inset-bottom, 0px)",s.value="env(safe-area-inset-left, 0px)",u(),_("resize",S.useDebounceFn(u),{passive:!0})}function u(){e.value=ve(ot),t.value=ve(it),n.value=ve(ut),r.value=ve(st)}return{top:e,right:t,bottom:n,left:r,update:u}}function ve(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}function Hl(e,t=S.noop,n={}){const{immediate:r=!0,manual:u=!1,type:a="text/javascript",async:i=!0,crossOrigin:o,referrerPolicy:s,noModule:f,defer:c,document:d=B,attrs:y={}}=n,m=l.ref(null);let p=null;const g=h=>new Promise((b,O)=>{const k=V=>(m.value=V,b(V),V);if(!d){b(!1);return}let D=!1,T=d.querySelector(`script[src="${l.toValue(e)}"]`);T?T.hasAttribute("data-loaded")&&k(T):(T=d.createElement("script"),T.type=a,T.async=i,T.src=l.toValue(e),c&&(T.defer=c),o&&(T.crossOrigin=o),f&&(T.noModule=f),s&&(T.referrerPolicy=s),Object.entries(y).forEach(([V,F])=>T?.setAttribute(V,F)),D=!0),T.addEventListener("error",V=>O(V)),T.addEventListener("abort",V=>O(V)),T.addEventListener("load",()=>{T.setAttribute("data-loaded","true"),t(T),k(T)}),D&&(T=d.head.appendChild(T)),h||k(T)}),v=(h=!0)=>(p||(p=g(h)),p),w=()=>{if(!d)return;p=null,m.value&&(m.value=null);const h=d.querySelector(`script[src="${l.toValue(e)}"]`);h&&d.head.removeChild(h)};return r&&!u&&S.tryOnMounted(v),u||S.tryOnUnmounted(w),{scriptTag:m,load:v,unload:w}}function ct(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:ct(n)}}function Ul(e){const t=e||window.event,n=t.target;return ct(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Re=new WeakMap;function $l(e,t=!1){const n=l.ref(t);let r=null,u="";l.watch(S.toRef(e),o=>{const s=pe(l.toValue(o));if(s){const f=s;if(Re.get(f)||Re.set(f,f.style.overflow),f.style.overflow!=="hidden"&&(u=f.style.overflow),f.style.overflow==="hidden")return n.value=!0;if(n.value)return f.style.overflow="hidden"}},{immediate:!0});const a=()=>{const o=pe(l.toValue(e));!o||n.value||(S.isIOS&&(r=_(o,"touchmove",s=>{Ul(s)},{passive:!1})),o.style.overflow="hidden",n.value=!0)},i=()=>{const o=pe(l.toValue(e));!o||!n.value||(S.isIOS&&r?.(),o.style.overflow=u,Re.delete(o),n.value=!1)};return S.tryOnScopeDispose(i),l.computed({get(){return n.value},set(o){o?a():i()}})}function Bl(e,t,n={}){const{window:r=M}=n;return fe(e,t,r?.sessionStorage,n)}function jl(e={},t={}){const{navigator:n=q}=t,r=n,u=x(()=>r&&"canShare"in r);return{isSupported:u,share:async(i={})=>{if(u.value){const o={...l.toValue(e),...l.toValue(i)};let s=!0;if(o.files&&r.canShare&&(s=r.canShare({files:o.files})),s)return r.share(o)}}}}const zl=(e,t)=>e.sort(t),ye=(e,t)=>e-t;function ql(...e){var t,n,r,u;const[a]=e;let i=ye,o={};e.length===2?typeof e[1]=="object"?(o=e[1],i=(t=o.compareFn)!=null?t:ye):i=(n=e[1])!=null?n:ye:e.length>2&&(i=(r=e[1])!=null?r:ye,o=(u=e[2])!=null?u:{});const{dirty:s=!1,sortFn:f=zl}=o;return s?(l.watchEffect(()=>{const c=f(l.toValue(a),i);l.isRef(a)?a.value=c:a.splice(0,a.length,...c)}),a):l.computed(()=>f([...l.toValue(a)],i))}function Gl(e={}){const{interimResults:t=!0,continuous:n=!0,maxAlternatives:r=1,window:u=M}=e,a=S.toRef(e.lang||"en-US"),i=l.ref(!1),o=l.ref(!1),s=l.ref(""),f=l.shallowRef(void 0);let c;const d=()=>{i.value||c?.start()},y=()=>{i.value&&c?.stop()},m=(v=!i.value)=>{v?d():y()},p=u&&(u.SpeechRecognition||u.webkitSpeechRecognition),g=x(()=>p);return g.value&&(c=new p,c.continuous=n,c.interimResults=t,c.lang=l.toValue(a),c.maxAlternatives=r,c.onstart=()=>{i.value=!0,o.value=!1},l.watch(a,v=>{c&&!i.value&&(c.lang=v)}),c.onresult=v=>{const w=v.results[v.resultIndex],{transcript:h}=w[0];o.value=w.isFinal,s.value=h,f.value=void 0},c.onerror=v=>{f.value=v},c.onend=()=>{i.value=!1,c.lang=l.toValue(a)},l.watch(i,()=>{i.value?c.start():c.stop()})),S.tryOnScopeDispose(()=>{y()}),{isSupported:g,isListening:i,isFinal:o,recognition:c,result:s,error:f,toggle:m,start:d,stop:y}}function Yl(e,t={}){const{pitch:n=1,rate:r=1,volume:u=1,window:a=M}=t,i=a&&a.speechSynthesis,o=x(()=>i),s=l.ref(!1),f=l.ref("init"),c=S.toRef(e||""),d=S.toRef(t.lang||"en-US"),y=l.shallowRef(void 0),m=(h=!s.value)=>{s.value=h},p=h=>{h.lang=l.toValue(d),h.voice=l.toValue(t.voice)||null,h.pitch=l.toValue(n),h.rate=l.toValue(r),h.volume=u,h.onstart=()=>{s.value=!0,f.value="play"},h.onpause=()=>{s.value=!1,f.value="pause"},h.onresume=()=>{s.value=!0,f.value="play"},h.onend=()=>{s.value=!1,f.value="end"},h.onerror=b=>{y.value=b}},g=l.computed(()=>{s.value=!1,f.value="init";const h=new SpeechSynthesisUtterance(c.value);return p(h),h}),v=()=>{i.cancel(),g&&i.speak(g.value)},w=()=>{i.cancel(),s.value=!1};return o.value&&(p(g.value),l.watch(d,h=>{g.value&&!s.value&&(g.value.lang=h)}),t.voice&&l.watch(t.voice,()=>{i.cancel()}),l.watch(s,()=>{s.value?i.resume():i.pause()})),S.tryOnScopeDispose(()=>{s.value=!1}),{isSupported:o,isPlaying:s,status:f,utterance:g,error:y,stop:w,toggle:m,speak:v}}function Xl(e,t){const n=l.ref(e),r=l.computed(()=>Array.isArray(n.value)?n.value:Object.keys(n.value)),u=l.ref(r.value.indexOf(t??r.value[0])),a=l.computed(()=>c(u.value)),i=l.computed(()=>u.value===0),o=l.computed(()=>u.value===r.value.length-1),s=l.computed(()=>r.value[u.value+1]),f=l.computed(()=>r.value[u.value-1]);function c(k){return Array.isArray(n.value)?n.value[k]:n.value[r.value[k]]}function d(k){if(r.value.includes(k))return c(r.value.indexOf(k))}function y(k){r.value.includes(k)&&(u.value=r.value.indexOf(k))}function m(){o.value||u.value++}function p(){i.value||u.value--}function g(k){O(k)&&y(k)}function v(k){return r.value.indexOf(k)===u.value+1}function w(k){return r.value.indexOf(k)===u.value-1}function h(k){return r.value.indexOf(k)===u.value}function b(k){return u.value<r.value.indexOf(k)}function O(k){return u.value>r.value.indexOf(k)}return{steps:n,stepNames:r,index:u,current:a,next:s,previous:f,isFirst:i,isLast:o,at:c,get:d,goTo:y,goToNext:m,goToPrevious:p,goBackTo:g,isNext:v,isPrevious:w,isCurrent:h,isBefore:b,isAfter:O}}function Kl(e,t,n,r={}){var u;const{flush:a="pre",deep:i=!0,listenToStorageChanges:o=!0,writeDefaults:s=!0,mergeDefaults:f=!1,shallow:c,window:d=M,eventFilter:y,onError:m=b=>{console.error(b)}}=r,p=l.toValue(t),g=We(p),v=(c?l.shallowRef:l.ref)(l.toValue(t)),w=(u=r.serializer)!=null?u:Se[g];if(!n)try{n=ce("getDefaultStorageAsync",()=>{var b;return(b=M)==null?void 0:b.localStorage})()}catch(b){m(b)}async function h(b){if(!(!n||b&&b.key!==e))try{const O=b?b.newValue:await n.getItem(e);if(O==null)v.value=p,s&&p!==null&&await n.setItem(e,await w.write(p));else if(f){const k=await w.read(O);typeof f=="function"?v.value=f(k,p):g==="object"&&!Array.isArray(k)?v.value={...p,...k}:v.value=k}else v.value=await w.read(O)}catch(O){m(O)}}return h(),d&&o&&_(d,"storage",b=>Promise.resolve().then(()=>h(b)),{passive:!0}),n&&S.watchWithFilter(v,async()=>{try{v.value==null?await n.removeItem(e):await n.setItem(e,await w.write(v.value))}catch(b){m(b)}},{flush:a,deep:i,eventFilter:y}),v}let Jl=0;function Ql(e,t={}){const n=l.ref(!1),{document:r=B,immediate:u=!0,manual:a=!1,id:i=`vueuse_styletag_${++Jl}`}=t,o=l.ref(e);let s=()=>{};const f=()=>{if(!r)return;const d=r.getElementById(i)||r.createElement("style");d.isConnected||(d.id=i,t.media&&(d.media=t.media),r.head.appendChild(d)),!n.value&&(s=l.watch(o,y=>{d.textContent=y},{immediate:!0}),n.value=!0)},c=()=>{!r||!n.value||(s(),r.head.removeChild(r.getElementById(i)),n.value=!1)};return u&&!a&&S.tryOnMounted(f),a||S.tryOnScopeDispose(c),{id:i,css:o,unload:c,load:f,isLoaded:l.readonly(n)}}function Zl(e,t={}){const{threshold:n=50,onSwipe:r,onSwipeEnd:u,onSwipeStart:a,passive:i=!0}=t,o=l.reactive({x:0,y:0}),s=l.reactive({x:0,y:0}),f=l.computed(()=>o.x-s.x),c=l.computed(()=>o.y-s.y),{max:d,abs:y}=Math,m=l.computed(()=>d(y(f.value),y(c.value))>=n),p=l.ref(!1),g=l.computed(()=>m.value?y(f.value)>y(c.value)?f.value>0?"left":"right":c.value>0?"up":"down":"none"),v=T=>[T.touches[0].clientX,T.touches[0].clientY],w=(T,V)=>{o.x=T,o.y=V},h=(T,V)=>{s.x=T,s.y=V},b={passive:i,capture:!i},O=T=>{p.value&&u?.(T,g.value),p.value=!1},k=[_(e,"touchstart",T=>{if(T.touches.length!==1)return;const[V,F]=v(T);w(V,F),h(V,F),a?.(T)},b),_(e,"touchmove",T=>{if(T.touches.length!==1)return;const[V,F]=v(T);h(V,F),b.capture&&!b.passive&&Math.abs(f.value)>Math.abs(c.value)&&T.preventDefault(),!p.value&&m.value&&(p.value=!0),p.value&&r?.(T)},b),_(e,["touchend","touchcancel"],O,b)];return{isSwiping:p,direction:g,coordsStart:o,coordsEnd:s,lengthX:f,lengthY:c,stop:()=>k.forEach(T=>T()),isPassiveEventSupported:!0}}function er(){const e=l.ref([]);return e.value.set=t=>{t&&e.value.push(t)},l.onBeforeUpdate(()=>{e.value.length=0}),e}function tr(e={}){const{document:t=B,selector:n="html",observe:r=!1,initialValue:u="ltr"}=e;function a(){var o,s;return(s=(o=t?.querySelector(n))==null?void 0:o.getAttribute("dir"))!=null?s:u}const i=l.ref(a());return S.tryOnMounted(()=>i.value=a()),r&&t&&K(t.querySelector(n),()=>i.value=a(),{attributes:!0}),l.computed({get(){return i.value},set(o){var s,f;i.value=o,t&&(i.value?(s=t.querySelector(n))==null||s.setAttribute("dir",i.value):(f=t.querySelector(n))==null||f.removeAttribute("dir"))}})}function nr(e){var t;const n=(t=e.rangeCount)!=null?t:0;return Array.from({length:n},(r,u)=>e.getRangeAt(u))}function lr(e={}){const{window:t=M}=e,n=l.ref(null),r=l.computed(()=>{var o,s;return(s=(o=n.value)==null?void 0:o.toString())!=null?s:""}),u=l.computed(()=>n.value?nr(n.value):[]),a=l.computed(()=>u.value.map(o=>o.getBoundingClientRect()));function i(){n.value=null,t&&(n.value=t.getSelection())}return t&&_(t.document,"selectionchange",i,{passive:!0}),{text:r,rects:a,ranges:u,selection:n}}function rr(e){var t,n;const r=S.toRef(e?.element),u=S.toRef((t=e?.input)!=null?t:""),a=(n=e?.styleProp)!=null?n:"height",i=l.ref(1),o=l.ref(0);function s(){var f;if(!r.value)return;let c="";r.value.style[a]="1px",i.value=(f=r.value)==null?void 0:f.scrollHeight;const d=l.toValue(e?.styleTarget);d?d.style[a]=`${i.value}px`:c=`${i.value}px`,r.value.style[a]=c}return l.watch([u,r],()=>l.nextTick(s),{immediate:!0}),l.watch(i,()=>{var f;return(f=e?.onResize)==null?void 0:f.call(e)}),de(r,([{contentRect:f}])=>{o.value!==f.width&&(o.value=f.width,s())}),e?.watch&&l.watch(e.watch,s,{immediate:!0,deep:!0}),{textarea:r,input:u,triggerResize:s}}function ar(e,t={}){const{throttle:n=200,trailing:r=!0}=t,u=S.throttleFilter(n,r);return{...Te(e,{...t,eventFilter:u})}}const or=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],ir={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function ur(e){return e.toISOString().slice(0,10)}function sr(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,{now:u,...a}=nt({interval:r,controls:!0}),i=l.computed(()=>ft(new Date(l.toValue(e)),t,l.toValue(u)));return n?{timeAgo:i,...a}:i}function ft(e,t={},n=Date.now()){var r;const{max:u,messages:a=ir,fullDateFormatter:i=ur,units:o=or,showSecond:s=!1,rounding:f="round"}=t,c=typeof f=="number"?v=>+v.toFixed(f):Math[f],d=+n-+e,y=Math.abs(d);function m(v,w){return c(Math.abs(v)/w.value)}function p(v,w){const h=m(v,w),b=v>0,O=g(w.name,h,b);return g(b?"past":"future",O,b)}function g(v,w,h){const b=a[v];return typeof b=="function"?b(w,h):b.replace("{0}",w.toString())}if(y<6e4&&!s)return a.justNow;if(typeof u=="number"&&y>u)return i(new Date(e));if(typeof u=="string"){const v=(r=o.find(w=>w.name===u))==null?void 0:r.max;if(v&&y>v)return i(new Date(e))}for(const[v,w]of o.entries()){if(m(d,w)<=0&&o[v-1])return p(d,o[v-1]);if(y<w.max)return p(d,w)}return a.invalid}function cr(e,t,n={}){const{immediate:r=!0}=n,{start:u}=S.useTimeoutFn(i,t,{immediate:!1}),a=l.ref(!1);async function i(){a.value&&(await e(),u())}function o(){a.value||(a.value=!0,i())}function s(){a.value=!1}return r&&S.isClient&&o(),S.tryOnScopeDispose(s),{isActive:a,pause:s,resume:o}}function fr(e={}){const{controls:t=!1,offset:n=0,immediate:r=!0,interval:u="requestAnimationFrame",callback:a}=e,i=l.ref(S.timestamp()+n),o=()=>i.value=S.timestamp()+n,s=a?()=>{o(),a(i.value)}:o,f=u==="requestAnimationFrame"?Y(s,{immediate:r}):S.useIntervalFn(s,u,{immediate:r});return t?{timestamp:i,...f}:i}function dr(e=null,t={}){var n,r,u;const{document:a=B,restoreOnUnmount:i=d=>d}=t,o=(n=a?.title)!=null?n:"",s=S.toRef((r=e??a?.title)!=null?r:null),f=e&&typeof e=="function";function c(d){if(!("titleTemplate"in t))return d;const y=t.titleTemplate||"%s";return typeof y=="function"?y(d):l.toValue(y).replace(/%s/g,d)}return l.watch(s,(d,y)=>{d!==y&&a&&(a.title=c(typeof d=="string"?d:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&a&&!f&&K((u=a.head)==null?void 0:u.querySelector("title"),()=>{a&&a.title!==s.value&&(s.value=c(a.title))},{childList:!0}),S.tryOnBeforeUnmount(()=>{if(i){const d=i(o,s.value||"");d!=null&&a&&(a.title=d)}}),s}const mr={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]},pr=Object.assign({},{linear:S.identity},mr);function vr([e,t,n,r]){const u=(c,d)=>1-3*d+3*c,a=(c,d)=>3*d-6*c,i=c=>3*c,o=(c,d,y)=>((u(d,y)*c+a(d,y))*c+i(d))*c,s=(c,d,y)=>3*u(d,y)*c*c+2*a(d,y)*c+i(d),f=c=>{let d=c;for(let y=0;y<4;++y){const m=s(d,e,n);if(m===0)return d;const p=o(d,e,n)-c;d-=p/m}return d};return c=>e===t&&n===r?c:o(f(c),t,r)}function dt(e,t,n){return e+n*(t-e)}function Ve(e){return(typeof e=="number"?[e]:e)||[]}function mt(e,t,n,r={}){var u,a;const i=l.toValue(t),o=l.toValue(n),s=Ve(i),f=Ve(o),c=(u=l.toValue(r.duration))!=null?u:1e3,d=Date.now(),y=Date.now()+c,m=typeof r.transition=="function"?r.transition:(a=l.toValue(r.transition))!=null?a:S.identity,p=typeof m=="function"?m:vr(m);return new Promise(g=>{e.value=i;const v=()=>{var w;if((w=r.abort)!=null&&w.call(r)){g();return}const h=Date.now(),b=p((h-d)/c),O=Ve(e.value).map((k,D)=>dt(s[D],f[D],b));Array.isArray(e.value)?e.value=O.map((k,D)=>{var T,V;return dt((T=s[D])!=null?T:0,(V=f[D])!=null?V:0,b)}):typeof e.value=="number"&&(e.value=O[0]),h<y?requestAnimationFrame(v):(e.value=o,g())};v()})}function yr(e,t={}){let n=0;const r=()=>{const a=l.toValue(e);return typeof a=="number"?a:a.map(l.toValue)},u=l.ref(r());return l.watch(r,async a=>{var i,o;if(l.toValue(t.disabled))return;const s=++n;if(t.delay&&await S.promiseTimeout(l.toValue(t.delay)),s!==n)return;const f=Array.isArray(a)?a.map(l.toValue):l.toValue(a);(i=t.onStarted)==null||i.call(t),await mt(u,u.value,f,{...t,abort:()=>{var c;return s!==n||((c=t.abort)==null?void 0:c.call(t))}}),(o=t.onFinished)==null||o.call(t)},{deep:!0}),l.watch(()=>l.toValue(t.disabled),a=>{a&&(n++,u.value=r())}),S.tryOnScopeDispose(()=>{n++}),l.computed(()=>l.toValue(t.disabled)?r():u.value)}function hr(e="history",t={}){const{initialValue:n={},removeNullishValues:r=!0,removeFalsyValues:u=!1,write:a=!0,writeMode:i="replace",window:o=M}=t;if(!o)return l.reactive(n);const s=l.reactive({});function f(){if(e==="history")return o.location.search||"";if(e==="hash"){const b=o.location.hash||"",O=b.indexOf("?");return O>0?b.slice(O):""}else return(o.location.hash||"").replace(/^#/,"")}function c(b){const O=b.toString();if(e==="history")return`${O?`?${O}`:""}${o.location.hash||""}`;if(e==="hash-params")return`${o.location.search||""}${O?`#${O}`:""}`;const k=o.location.hash||"#",D=k.indexOf("?");return D>0?`${o.location.search||""}${k.slice(0,D)}${O?`?${O}`:""}`:`${o.location.search||""}${k}${O?`?${O}`:""}`}function d(){return new URLSearchParams(f())}function y(b){const O=new Set(Object.keys(s));for(const k of b.keys()){const D=b.getAll(k);s[k]=D.length>1?D:b.get(k)||"",O.delete(k)}Array.from(O).forEach(k=>delete s[k])}const{pause:m,resume:p}=S.pausableWatch(s,()=>{const b=new URLSearchParams("");Object.keys(s).forEach(O=>{const k=s[O];Array.isArray(k)?k.forEach(D=>b.append(O,D)):r&&k==null||u&&!k?b.delete(O):b.set(O,k)}),g(b,!1)},{deep:!0});function g(b,O){m(),O&&y(b),i==="replace"?o.history.replaceState(o.history.state,o.document.title,o.location.pathname+c(b)):o.history.pushState(o.history.state,o.document.title,o.location.pathname+c(b)),p()}function v(){a&&g(d(),!0)}const w={passive:!0};_(o,"popstate",v,w),e!=="history"&&_(o,"hashchange",v,w);const h=d();return h.keys().next().value?y(h):Object.assign(s,n),s}function gr(e={}){var t,n;const r=l.ref((t=e.enabled)!=null?t:!1),u=l.ref((n=e.autoSwitch)!=null?n:!0),a=l.ref(e.constraints),{navigator:i=q}=e,o=x(()=>{var g;return(g=i?.mediaDevices)==null?void 0:g.getUserMedia}),s=l.shallowRef();function f(g){switch(g){case"video":{if(a.value)return a.value.video||!1;break}case"audio":{if(a.value)return a.value.audio||!1;break}}}async function c(){if(!(!o.value||s.value))return s.value=await i.mediaDevices.getUserMedia({video:f("video"),audio:f("audio")}),s.value}function d(){var g;(g=s.value)==null||g.getTracks().forEach(v=>v.stop()),s.value=void 0}function y(){d(),r.value=!1}async function m(){return await c(),s.value&&(r.value=!0),s.value}async function p(){return d(),await m()}return l.watch(r,g=>{g?c():d()},{immediate:!0}),l.watch(a,()=>{u.value&&s.value&&p()},{immediate:!0}),S.tryOnScopeDispose(()=>{y()}),{isSupported:o,stream:s,start:m,stop:y,restart:p,constraints:a,enabled:r,autoSwitch:u}}function pt(e,t,n,r={}){var u,a,i;const{clone:o=!1,passive:s=!1,eventName:f,deep:c=!1,defaultValue:d,shouldEmit:y}=r,m=l.getCurrentInstance(),p=n||m?.emit||((u=m?.$emit)==null?void 0:u.bind(m))||((i=(a=m?.proxy)==null?void 0:a.$emit)==null?void 0:i.bind(m?.proxy));let g=f;t||(t="modelValue"),g=g||`update:${t.toString()}`;const v=b=>o?typeof o=="function"?o(b):ee(b):b,w=()=>S.isDef(e[t])?v(e[t]):d,h=b=>{y?y(b)&&p(g,b):p(g,b)};if(s){const b=w(),O=l.ref(b);let k=!1;return l.watch(()=>e[t],D=>{k||(k=!0,O.value=v(D),l.nextTick(()=>k=!1))}),l.watch(O,D=>{!k&&(D!==e[t]||c)&&h(D)},{deep:c}),O}else return l.computed({get(){return w()},set(b){h(b)}})}function wr(e,t,n={}){const r={};for(const u in e)r[u]=pt(e,u,t,n);return r}function br(e){const{pattern:t=[],interval:n=0,navigator:r=q}=e||{},u=x(()=>typeof r<"u"&&"vibrate"in r),a=S.toRef(t);let i;const o=(f=a.value)=>{u.value&&r.vibrate(f)},s=()=>{u.value&&r.vibrate(0),i?.pause()};return n>0&&(i=S.useIntervalFn(o,n,{immediate:!1,immediateCallback:!1})),{isSupported:u,pattern:t,intervalControls:i,vibrate:o,stop:s}}function Sr(e,t){const{containerStyle:n,wrapperProps:r,scrollTo:u,calculateRange:a,currentList:i,containerRef:o}="itemHeight"in t?Or(t,e):Tr(t,e);return{list:i,scrollTo:u,containerProps:{ref:o,onScroll:()=>{a()},style:n},wrapperProps:r}}function vt(e){const t=l.ref(null),n=qe(t),r=l.ref([]),u=l.shallowRef(e);return{state:l.ref({start:0,end:10}),source:u,currentList:r,size:n,containerRef:t}}function yt(e,t,n){return r=>{if(typeof n=="number")return Math.ceil(r/n);const{start:u=0}=e.value;let a=0,i=0;for(let o=u;o<t.value.length;o++){const s=n(o);if(a+=s,i=o,a>r)break}return i-u}}function ht(e,t){return n=>{if(typeof t=="number")return Math.floor(n/t)+1;let r=0,u=0;for(let a=0;a<e.value.length;a++){const i=t(a);if(r+=i,r>=n){u=a;break}}return u+1}}function gt(e,t,n,r,{containerRef:u,state:a,currentList:i,source:o}){return()=>{const s=u.value;if(s){const f=n(e==="vertical"?s.scrollTop:s.scrollLeft),c=r(e==="vertical"?s.clientHeight:s.clientWidth),d=f-t,y=f+c+t;a.value={start:d<0?0:d,end:y>o.value.length?o.value.length:y},i.value=o.value.slice(a.value.start,a.value.end).map((m,p)=>({data:m,index:p+a.value.start}))}}}function wt(e,t){return n=>typeof e=="number"?n*e:t.value.slice(0,n).reduce((u,a,i)=>u+e(i),0)}function bt(e,t,n,r){l.watch([e.width,e.height,t,n],()=>{r()})}function St(e,t){return l.computed(()=>typeof e=="number"?t.value.length*e:t.value.reduce((n,r,u)=>n+e(u),0))}const Er={horizontal:"scrollLeft",vertical:"scrollTop"};function Et(e,t,n,r){return u=>{r.value&&(r.value[Er[e]]=n(u),t())}}function Tr(e,t){const n=vt(t),{state:r,source:u,currentList:a,size:i,containerRef:o}=n,s={overflowX:"auto"},{itemWidth:f,overscan:c=5}=e,d=yt(r,u,f),y=ht(u,f),m=gt("horizontal",c,y,d,n),p=wt(f,u),g=l.computed(()=>p(r.value.start)),v=St(f,u);bt(i,t,o,m);const w=Et("horizontal",m,p,o),h=l.computed(()=>({style:{height:"100%",width:`${v.value-g.value}px`,marginLeft:`${g.value}px`,display:"flex"}}));return{scrollTo:w,calculateRange:m,wrapperProps:h,containerStyle:s,currentList:a,containerRef:o}}function Or(e,t){const n=vt(t),{state:r,source:u,currentList:a,size:i,containerRef:o}=n,s={overflowY:"auto"},{itemHeight:f,overscan:c=5}=e,d=yt(r,u,f),y=ht(u,f),m=gt("vertical",c,y,d,n),p=wt(f,u),g=l.computed(()=>p(r.value.start)),v=St(f,u);bt(i,t,o,m);const w=Et("vertical",m,p,o),h=l.computed(()=>({style:{width:"100%",height:`${v.value-g.value}px`,marginTop:`${g.value}px`}}));return{calculateRange:m,scrollTo:w,containerStyle:s,wrapperProps:h,currentList:a,containerRef:o}}function kr(e={}){const{navigator:t=q,document:n=B}=e,r=l.ref(!1),u=l.shallowRef(null),a=ze({document:n}),i=x(()=>t&&"wakeLock"in t),o=l.computed(()=>!!u.value&&a.value==="visible");i.value&&(_(u,"release",()=>{var d,y;r.value=(y=(d=u.value)==null?void 0:d.type)!=null?y:!1},{passive:!0}),S.whenever(()=>a.value==="visible"&&n?.visibilityState==="visible"&&r.value,d=>{r.value=!1,s(d)}));async function s(d){var y;await((y=u.value)==null?void 0:y.release()),u.value=i.value?await t.wakeLock.request(d):null}async function f(d){a.value==="visible"?await s(d):r.value=d}async function c(){r.value=!1;const d=u.value;u.value=null,await d?.release()}return{sentinel:u,isSupported:i,isActive:o,request:f,forceRequest:s,release:c}}function _r(e={}){const{window:t=M,requestPermissions:n=!0}=e,r=e,u=x(()=>{if(!t||!("Notification"in t))return!1;if(Notification.permission==="granted")return!0;try{const h=new Notification("");h.onshow=()=>{h.close()}}catch(h){if(h.name==="TypeError")return!1}return!0}),a=l.ref(u.value&&"permission"in Notification&&Notification.permission==="granted"),i=l.ref(null),o=async()=>{if(u.value)return!a.value&&Notification.permission!=="denied"&&await Notification.requestPermission()==="granted"&&(a.value=!0),a.value},{on:s,trigger:f}=S.createEventHook(),{on:c,trigger:d}=S.createEventHook(),{on:y,trigger:m}=S.createEventHook(),{on:p,trigger:g}=S.createEventHook(),v=async h=>{if(!u.value||!a.value)return;const b=Object.assign({},r,h);return i.value=new Notification(b.title||"",b),i.value.onclick=f,i.value.onshow=d,i.value.onerror=m,i.value.onclose=g,i.value},w=()=>{i.value&&i.value.close(),i.value=null};if(n&&S.tryOnMounted(o),S.tryOnScopeDispose(w),u.value&&t){const h=t.document;_(h,"visibilitychange",b=>{b.preventDefault(),h.visibilityState==="visible"&&w()})}return{isSupported:u,notification:i,ensurePermissions:o,permissionGranted:a,show:v,close:w,onClick:s,onShow:c,onError:y,onClose:p}}const Tt="ping";function Fe(e){return e===!0?{}:e}function Rr(e,t={}){const{onConnected:n,onDisconnected:r,onError:u,onMessage:a,immediate:i=!0,autoConnect:o=!0,autoClose:s=!0,protocols:f=[]}=t,c=l.ref(null),d=l.ref("CLOSED"),y=l.ref(),m=S.toRef(e);let p,g,v=!1,w=0,h=[],b,O;const k=()=>{if(h.length&&y.value&&d.value==="OPEN"){for(const R of h)y.value.send(R);h=[]}},D=()=>{b!=null&&(clearTimeout(b),b=void 0)},T=()=>{clearTimeout(O),O=void 0},V=(R=1e3,P)=>{D(),!(!S.isClient&&!S.isWorker||!y.value)&&(v=!0,T(),p?.(),y.value.close(R,P),y.value=void 0)},F=(R,P=!0)=>!y.value||d.value!=="OPEN"?(P&&h.push(R),!1):(k(),y.value.send(R),!0),L=()=>{if(v||typeof m.value>"u")return;const R=new WebSocket(m.value,f);y.value=R,d.value="CONNECTING",R.onopen=()=>{d.value="OPEN",w=0,n?.(R),g?.(),k()},R.onclose=P=>{if(d.value="CLOSED",r?.(R,P),!v&&t.autoReconnect&&(y.value==null||R===y.value)){const{retries:I=-1,delay:W=1e3,onFailed:A}=Fe(t.autoReconnect);typeof I=="number"&&(I<0||w<I)?(w+=1,b=setTimeout(L,W)):typeof I=="function"&&I()?b=setTimeout(L,W):A?.()}},R.onerror=P=>{u?.(R,P)},R.onmessage=P=>{if(t.heartbeat){T();const{message:I=Tt,responseMessage:W=I}=Fe(t.heartbeat);if(P.data===l.toValue(W))return}c.value=P.data,a?.(R,P)}};if(t.heartbeat){const{message:R=Tt,interval:P=1e3,pongTimeout:I=1e3}=Fe(t.heartbeat),{pause:W,resume:A}=S.useIntervalFn(()=>{F(l.toValue(R),!1),O==null&&(O=setTimeout(()=>{V(),v=!1},I))},P,{immediate:!1});p=W,g=A}s&&(S.isClient&&_("beforeunload",()=>V(),{passive:!0}),S.tryOnScopeDispose(V));const C=()=>{!S.isClient&&!S.isWorker||(V(),v=!1,w=0,L())};return i&&C(),o&&l.watch(m,C),{data:c,status:d,close:V,send:F,open:C,ws:y}}function Vr(e,t,n){const{window:r=M}=n??{},u=l.ref(null),a=l.shallowRef(),i=(...s)=>{a.value&&a.value.postMessage(...s)},o=function(){a.value&&a.value.terminate()};return r&&(typeof e=="string"?a.value=new Worker(e,t):typeof e=="function"?a.value=e():a.value=e,a.value.onmessage=s=>{u.value=s.data},S.tryOnScopeDispose(()=>{a.value&&a.value.terminate()})),{data:u,post:i,terminate:o,worker:a}}function Fr(e,t){if(e.length===0&&t.length===0)return"";const n=e.map(a=>`'${a}'`).toString(),r=t.filter(a=>typeof a=="function").map(a=>{const i=a.toString();return i.trim().startsWith("function")?i:`const ${a.name} = ${i}`}).join(";"),u=`importScripts(${n});`;return`${n.trim()===""?"":u} ${r}`}function Pr(e){return t=>{const n=t.data[0];return Promise.resolve(e.apply(void 0,n)).then(r=>{postMessage(["SUCCESS",r])}).catch(r=>{postMessage(["ERROR",r])})}}function Dr(e,t,n){const r=`${Fr(t,n)}; onmessage=(${Pr})(${e})`,u=new Blob([r],{type:"text/javascript"});return URL.createObjectURL(u)}function Cr(e,t={}){const{dependencies:n=[],localDependencies:r=[],timeout:u,window:a=M}=t,i=l.ref(),o=l.ref("PENDING"),s=l.ref({}),f=l.ref(),c=(p="PENDING")=>{i.value&&i.value._url&&a&&(i.value.terminate(),URL.revokeObjectURL(i.value._url),s.value={},i.value=void 0,a.clearTimeout(f.value),o.value=p)};c(),S.tryOnScopeDispose(c);const d=()=>{const p=Dr(e,n,r),g=new Worker(p);return g._url=p,g.onmessage=v=>{const{resolve:w=()=>{},reject:h=()=>{}}=s.value,[b,O]=v.data;switch(b){case"SUCCESS":w(O),c(b);break;default:h(O),c("ERROR");break}},g.onerror=v=>{const{reject:w=()=>{}}=s.value;v.preventDefault(),w(v),c("ERROR")},u&&(f.value=setTimeout(()=>c("TIMEOUT_EXPIRED"),u)),g},y=(...p)=>new Promise((g,v)=>{var w;s.value={resolve:g,reject:v},(w=i.value)==null||w.postMessage([[...p]]),o.value="RUNNING"});return{workerFn:(...p)=>o.value==="RUNNING"?(console.error("[useWebWorkerFn] You can only run one instance of the worker at a time."),Promise.reject()):(i.value=d(),y(...p)),workerStatus:o,workerTerminate:c}}function Ar(e={}){const{window:t=M}=e;if(!t)return l.ref(!1);const n=l.ref(t.document.hasFocus()),r={passive:!0};return _(t,"blur",()=>{n.value=!1},r),_(t,"focus",()=>{n.value=!0},r),n}function Mr(e={}){const{window:t=M,...n}=e;return Oe(t,n)}function Ir(e={}){const{window:t=M,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:u=!0,includeScrollbar:a=!0,type:i="inner"}=e,o=l.ref(n),s=l.ref(r),f=()=>{if(t)if(i==="outer")o.value=t.outerWidth,s.value=t.outerHeight;else if(i==="visual"&&t.visualViewport){const{width:d,height:y,scale:m}=t.visualViewport;o.value=Math.round(d*m),s.value=Math.round(y*m)}else a?(o.value=t.innerWidth,s.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight)};f(),S.tryOnMounted(f);const c={passive:!0};if(_("resize",f,c),t&&i==="visual"&&t.visualViewport&&_(t.visualViewport,"resize",f,c),u){const d=j("(orientation: portrait)");l.watch(d,()=>f())}return{width:o,height:s}}E.DefaultMagicKeysAliasMap=Qe,E.StorageSerializers=Se,E.TransitionPresets=pr,E.asyncComputed=Pe,E.breakpointsAntDesign=nn,E.breakpointsBootstrapV5=Zt,E.breakpointsElement=un,E.breakpointsMasterCss=an,E.breakpointsPrimeFlex=on,E.breakpointsQuasar=ln,E.breakpointsSematic=rn,E.breakpointsTailwind=Qt,E.breakpointsVuetify=tn,E.breakpointsVuetifyV2=Ie,E.breakpointsVuetifyV3=en,E.cloneFnJSON=ee,E.computedAsync=Pe,E.computedInject=kt,E.createFetch=Bn,E.createReusableTemplate=_t,E.createTemplatePromise=Vt,E.createUnrefFn=Ft,E.customStorageEventName=Ee,E.defaultDocument=B,E.defaultLocation=Pt,E.defaultNavigator=q,E.defaultWindow=M,E.executeTransition=mt,E.formatTimeAgo=ft,E.getSSRHandler=ce,E.mapGamepadToXbox360Controller=tl,E.onClickOutside=Dt,E.onElementRemoval=he,E.onKeyDown=At,E.onKeyPressed=Mt,E.onKeyStroke=oe,E.onKeyUp=It,E.onLongPress=xt,E.onStartTyping=Ut,E.provideSSRWidth=Jt,E.setSSRHandler=hn,E.templateRef=$t,E.unrefElement=N,E.useActiveElement=Ae,E.useAnimate=Bt,E.useAsyncQueue=jt,E.useAsyncState=Me,E.useBase64=Gt,E.useBattery=Xt,E.useBluetooth=Kt,E.useBreakpoints=sn,E.useBroadcastChannel=cn,E.useBrowserLocation=fn,E.useCached=dn,E.useClipboard=mn,E.useClipboardItems=pn,E.useCloned=vn,E.useColorMode=He,E.useConfirmDialog=wn,E.useCssVar=te,E.useCurrentElement=Ue,E.useCycleList=bn,E.useDark=Sn,E.useDebouncedRefHistory=kn,E.useDeviceMotion=_n,E.useDeviceOrientation=je,E.useDevicePixelRatio=Rn,E.useDevicesList=Vn,E.useDisplayMedia=Fn,E.useDocumentVisibility=ze,E.useDraggable=Pn,E.useDropZone=Dn,E.useElementBounding=Cn,E.useElementByPoint=An,E.useElementHover=Mn,E.useElementSize=qe,E.useElementVisibility=Ye,E.useEventBus=In,E.useEventListener=_,E.useEventSource=Nn,E.useEyeDropper=xn,E.useFavicon=Wn,E.useFetch=Xe,E.useFileDialog=qn,E.useFileSystemAccess=Gn,E.useFocus=Yn,E.useFocusWithin=Qn,E.useFps=Zn,E.useFullscreen=el,E.useGamepad=nl,E.useGeolocation=ll,E.useIdle=ol,E.useImage=ul,E.useInfiniteScroll=sl,E.useIntersectionObserver=Ge,E.useKeyModifier=fl,E.useLocalStorage=dl,E.useMagicKeys=ml,E.useManualRefHistory=Be,E.useMediaControls=yl,E.useMediaQuery=j,E.useMemoize=hl,E.useMemory=gl,E.useMounted=Ce,E.useMouse=Ze,E.useMouseInElement=et,E.useMousePressed=bl,E.useMutationObserver=K,E.useNavigatorLanguage=Sl,E.useNetwork=tt,E.useNow=nt,E.useObjectUrl=El,E.useOffsetPagination=Tl,E.useOnline=Ol,E.usePageLeave=kl,E.useParallax=_l,E.useParentElement=Rl,E.usePerformanceObserver=Vl,E.usePermission=ie,E.usePointer=Pl,E.usePointerLock=Dl,E.usePointerSwipe=Cl,E.usePreferredColorScheme=Al,E.usePreferredContrast=Ml,E.usePreferredDark=xe,E.usePreferredLanguages=Il,E.usePreferredReducedMotion=Ll,E.usePreferredReducedTransparency=Nl,E.usePrevious=xl,E.useRafFn=Y,E.useRefHistory=Te,E.useResizeObserver=de,E.useSSRWidth=be,E.useScreenOrientation=rt,E.useScreenSafeArea=Wl,E.useScriptTag=Hl,E.useScroll=Oe,E.useScrollLock=$l,E.useSessionStorage=Bl,E.useShare=jl,E.useSorted=ql,E.useSpeechRecognition=Gl,E.useSpeechSynthesis=Yl,E.useStepper=Xl,E.useStorage=fe,E.useStorageAsync=Kl,E.useStyleTag=Ql,E.useSupported=x,E.useSwipe=Zl,E.useTemplateRefsList=er,E.useTextDirection=tr,E.useTextSelection=lr,E.useTextareaAutosize=rr,E.useThrottledRefHistory=ar,E.useTimeAgo=sr,E.useTimeoutPoll=cr,E.useTimestamp=fr,E.useTitle=dr,E.useTransition=yr,E.useUrlSearchParams=hr,E.useUserMedia=gr,E.useVModel=pt,E.useVModels=wr,E.useVibrate=br,E.useVirtualList=Sr,E.useWakeLock=kr,E.useWebNotification=_r,E.useWebSocket=Rr,E.useWebWorker=Vr,E.useWebWorkerFn=Cr,E.useWindowFocus=Ar,E.useWindowScroll=Mr,E.useWindowSize=Ir,Object.keys(S).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(E,e)&&Object.defineProperty(E,e,{enumerable:!0,get:function(){return S[e]}})})})(this.VueUse=this.VueUse||{},VueUse,Vue);
|
1
|
+
(function(E,v,a){"use strict";function Ve(e,t,n){let o;a.isRef(n)?o={evaluating:n}:o=n||{};const{lazy:u=!1,evaluating:l=void 0,shallow:i=!0,onError:r=v.noop}=o,s=a.ref(!u),c=i?a.shallowRef(t):a.ref(t);let f=0;return a.watchEffect(async d=>{if(!s.value)return;f++;const g=f;let m=!1;l&&Promise.resolve().then(()=>{l.value=!0});try{const p=await e(y=>{d(()=>{l&&(l.value=!1),m||y()})});g===f&&(c.value=p)}catch(p){r(p)}finally{l&&g===f&&(l.value=!1),m=!0}}),u?a.computed(()=>(s.value=!0,c.value)):c}function kt(e,t,n,o){let u=a.inject(e);return n&&(u=a.inject(e,n)),o&&(u=a.inject(e,n,o)),typeof t=="function"?a.computed(l=>t(u,l)):a.computed({get:l=>t.get(u,l),set:t.set})}function Ot(e={}){const{inheritAttrs:t=!0}=e,n=a.shallowRef(),o=a.defineComponent({setup(l,{slots:i}){return()=>{n.value=i.default}}}),u=a.defineComponent({inheritAttrs:t,setup(l,{attrs:i,slots:r}){return()=>{var s;if(!n.value&&process.env.NODE_ENV!=="production")throw new Error("[VueUse] Failed to find the definition of reusable template");const c=(s=n.value)==null?void 0:s.call(n,{..._t(i),$slots:r});return t&&c?.length===1?c[0]:c}}});return v.makeDestructurable({define:o,reuse:u},[o,u])}function _t(e){const t={};for(const n in e)t[v.camelize(n)]=e[n];return t}function Rt(e={}){let t=0;const n=a.ref([]);function o(...i){const r=a.shallowReactive({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(r),r.promise=new Promise((s,c)=>{r.resolve=f=>(r.isResolving=!0,s(f)),r.reject=c}).finally(()=>{r.promise=void 0;const s=n.value.indexOf(r);s!==-1&&n.value.splice(s,1)}),r.promise}function u(...i){return e.singleton&&n.value.length>0?n.value[0].promise:o(...i)}const l=a.defineComponent((i,{slots:r})=>{const s=()=>n.value.map(c=>{var f;return a.h(a.Fragment,{key:c.key},(f=r.default)==null?void 0:f.call(r,c))});return e.transition?()=>a.h(a.TransitionGroup,e.transition,s):s});return l.start=u,l}function Vt(e){return function(...t){return e.apply(this,t.map(n=>v.toValue(n)))}}const I=v.isClient?window:void 0,B=v.isClient?window.document:void 0,z=v.isClient?window.navigator:void 0,Ft=v.isClient?window.location:void 0;function x(e){var t;const n=v.toValue(e);return(t=n?.$el)!=null?t:n}function O(...e){let t,n,o,u;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,u]=e,t=I):[t,n,o,u]=e,!t)return v.noop;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const l=[],i=()=>{l.forEach(f=>f()),l.length=0},r=(f,d,g,m)=>(f.addEventListener(d,g,m),()=>f.removeEventListener(d,g,m)),s=a.watch(()=>[x(t),v.toValue(u)],([f,d])=>{if(i(),!f)return;const g=v.isObject(d)?{...d}:d;l.push(...n.flatMap(m=>o.map(p=>r(f,m,p,g))))},{immediate:!0,flush:"post"}),c=()=>{s(),i()};return v.tryOnScopeDispose(c),c}let Fe=!1;function Pt(e,t,n={}){const{window:o=I,ignore:u=[],capture:l=!0,detectIframe:i=!1}=n;if(!o)return v.noop;v.isIOS&&!Fe&&(Fe=!0,Array.from(o.document.body.children).forEach(y=>y.addEventListener("click",v.noop)),o.document.documentElement.addEventListener("click",v.noop));let r=!0;const s=y=>v.toValue(u).some(h=>{if(typeof h=="string")return Array.from(o.document.querySelectorAll(h)).some(b=>b===y.target||y.composedPath().includes(b));{const b=x(h);return b&&(y.target===b||y.composedPath().includes(b))}});function c(y){const h=v.toValue(y);return h&&h.$.subTree.shapeFlag===16}function f(y,h){const b=v.toValue(y),w=b.$.subTree&&b.$.subTree.children;return w==null||!Array.isArray(w)?!1:w.some(S=>S.el===h.target||h.composedPath().includes(S.el))}const d=y=>{const h=x(e);if(y.target!=null&&!(!(h instanceof Element)&&c(e)&&f(e,y))&&!(!h||h===y.target||y.composedPath().includes(h))){if(y.detail===0&&(r=!s(y)),!r){r=!0;return}t(y)}};let g=!1;const m=[O(o,"click",y=>{g||(g=!0,setTimeout(()=>{g=!1},0),d(y))},{passive:!0,capture:l}),O(o,"pointerdown",y=>{const h=x(e);r=!s(y)&&!!(h&&!y.composedPath().includes(h))},{passive:!0}),i&&O(o,"blur",y=>{setTimeout(()=>{var h;const b=x(e);((h=o.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!b?.contains(o.document.activeElement)&&t(y)},0)})].filter(Boolean);return()=>m.forEach(y=>y())}function Dt(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function ae(...e){let t,n,o={};e.length===3?(t=e[0],n=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:u=I,eventName:l="keydown",passive:i=!1,dedupe:r=!1}=o,s=Dt(t);return O(u,l,f=>{f.repeat&&v.toValue(r)||s(f)&&n(f)},i)}function Ct(e,t,n={}){return ae(e,t,{...n,eventName:"keydown"})}function At(e,t,n={}){return ae(e,t,{...n,eventName:"keypress"})}function Mt(e,t,n={}){return ae(e,t,{...n,eventName:"keyup"})}const It=500,Lt=10;function Nt(e,t,n){var o,u;const l=a.computed(()=>x(e));let i,r,s,c=!1;function f(){i&&(clearTimeout(i),i=void 0),r=void 0,s=void 0,c=!1}function d(b){var w,S,T;const[_,C,k]=[s,r,c];if(f(),!n?.onMouseUp||!C||!_||(w=n?.modifiers)!=null&&w.self&&b.target!==l.value)return;(S=n?.modifiers)!=null&&S.prevent&&b.preventDefault(),(T=n?.modifiers)!=null&&T.stop&&b.stopPropagation();const V=b.x-C.x,D=b.y-C.y,P=Math.sqrt(V*V+D*D);n.onMouseUp(b.timeStamp-_,P,k)}function g(b){var w,S,T,_;(w=n?.modifiers)!=null&&w.self&&b.target!==l.value||(f(),(S=n?.modifiers)!=null&&S.prevent&&b.preventDefault(),(T=n?.modifiers)!=null&&T.stop&&b.stopPropagation(),r={x:b.x,y:b.y},s=b.timeStamp,i=setTimeout(()=>{c=!0,t(b)},(_=n?.delay)!=null?_:It))}function m(b){var w,S,T,_;if((w=n?.modifiers)!=null&&w.self&&b.target!==l.value||!r||n?.distanceThreshold===!1)return;(S=n?.modifiers)!=null&&S.prevent&&b.preventDefault(),(T=n?.modifiers)!=null&&T.stop&&b.stopPropagation();const C=b.x-r.x,k=b.y-r.y;Math.sqrt(C*C+k*k)>=((_=n?.distanceThreshold)!=null?_:Lt)&&f()}const p={capture:(o=n?.modifiers)==null?void 0:o.capture,once:(u=n?.modifiers)==null?void 0:u.once},y=[O(l,"pointerdown",g,p),O(l,"pointermove",m,p),O(l,["pointerup","pointerleave"],d,p)];return()=>y.forEach(b=>b())}function xt(){const{activeElement:e,body:t}=document;if(!e||e===t)return!1;switch(e.tagName){case"INPUT":case"TEXTAREA":return!0}return e.hasAttribute("contenteditable")}function Wt({keyCode:e,metaKey:t,ctrlKey:n,altKey:o}){return t||n||o?!1:e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}function Ht(e,t={}){const{document:n=B}=t;n&&O(n,"keydown",u=>{!xt()&&Wt(u)&&e(u)},{passive:!0})}function Ut(e,t=null){const n=a.getCurrentInstance();let o=()=>{};const u=a.customRef((l,i)=>(o=i,{get(){var r,s;return l(),(s=(r=n?.proxy)==null?void 0:r.$refs[e])!=null?s:t},set(){}}));return v.tryOnMounted(o),a.onUpdated(o),u}function Pe(){const e=a.ref(!1),t=a.getCurrentInstance();return t&&a.onMounted(()=>{e.value=!0},t),e}function W(e){const t=Pe();return a.computed(()=>(t.value,!!e()))}function K(e,t,n={}){const{window:o=I,...u}=n;let l;const i=W(()=>o&&"MutationObserver"in o),r=()=>{l&&(l.disconnect(),l=void 0)},s=a.computed(()=>{const g=v.toValue(e),m=(Array.isArray(g)?g:[g]).map(x).filter(v.notNullish);return new Set(m)}),c=a.watch(()=>s.value,g=>{r(),i.value&&g.size&&(l=new MutationObserver(t),g.forEach(m=>l.observe(m,u)))},{immediate:!0,flush:"post"}),f=()=>l?.takeRecords(),d=()=>{c(),r()};return v.tryOnScopeDispose(d),{isSupported:i,stop:d,takeRecords:f}}function De(e={}){var t;const{window:n=I,deep:o=!0,triggerOnRemoval:u=!1}=e,l=(t=e.document)!=null?t:n?.document,i=()=>{var c;let f=l?.activeElement;if(o)for(;f?.shadowRoot;)f=(c=f?.shadowRoot)==null?void 0:c.activeElement;return f},r=a.ref(),s=()=>{r.value=i()};return n&&(O(n,"blur",c=>{c.relatedTarget===null&&s()},!0),O(n,"focus",s,!0)),u&&K(l,c=>{c.filter(f=>f.removedNodes.length).map(f=>Array.from(f.removedNodes)).flat().forEach(f=>{f===r.value&&s()})},{childList:!0,subtree:!0}),s(),r}function G(e,t={}){const{immediate:n=!0,fpsLimit:o=void 0,window:u=I}=t,l=a.ref(!1),i=a.computed(()=>o?1e3/a.toValue(o):null);let r=0,s=null;function c(g){if(!l.value||!u)return;r||(r=g);const m=g-r;if(i.value&&m<i.value){s=u.requestAnimationFrame(c);return}r=g,e({delta:m,timestamp:g}),s=u.requestAnimationFrame(c)}function f(){!l.value&&u&&(l.value=!0,r=0,s=u.requestAnimationFrame(c))}function d(){l.value=!1,s!=null&&u&&(u.cancelAnimationFrame(s),s=null)}return n&&f(),v.tryOnScopeDispose(d),{isActive:a.readonly(l),pause:d,resume:f}}function $t(e,t,n){let o,u;v.isObject(n)?(o=n,u=v.objectOmit(n,["window","immediate","commitStyles","persist","onReady","onError"])):(o={duration:n},u=n);const{window:l=I,immediate:i=!0,commitStyles:r,persist:s,playbackRate:c=1,onReady:f,onError:d=M=>{console.error(M)}}=o,g=W(()=>l&&HTMLElement&&"animate"in HTMLElement.prototype),m=a.shallowRef(void 0),p=a.shallowReactive({startTime:null,currentTime:null,timeline:null,playbackRate:c,pending:!1,playState:i?"idle":"paused",replaceState:"active"}),y=a.computed(()=>p.pending),h=a.computed(()=>p.playState),b=a.computed(()=>p.replaceState),w=a.computed({get(){return p.startTime},set(M){p.startTime=M,m.value&&(m.value.startTime=M)}}),S=a.computed({get(){return p.currentTime},set(M){p.currentTime=M,m.value&&(m.value.currentTime=M,L())}}),T=a.computed({get(){return p.timeline},set(M){p.timeline=M,m.value&&(m.value.timeline=M)}}),_=a.computed({get(){return p.playbackRate},set(M){p.playbackRate=M,m.value&&(m.value.playbackRate=M)}}),C=()=>{if(m.value)try{m.value.play(),L()}catch(M){H(),d(M)}else R()},k=()=>{var M;try{(M=m.value)==null||M.pause(),H()}catch(N){d(N)}},V=()=>{var M;m.value||R();try{(M=m.value)==null||M.reverse(),L()}catch(N){H(),d(N)}},D=()=>{var M;try{(M=m.value)==null||M.finish(),H()}catch(N){d(N)}},P=()=>{var M;try{(M=m.value)==null||M.cancel(),H()}catch(N){d(N)}};a.watch(()=>x(e),M=>{M&&R()}),a.watch(()=>t,M=>{m.value&&R(),!x(e)&&m.value&&(m.value.effect=new KeyframeEffect(x(e),v.toValue(M),u))},{deep:!0}),v.tryOnMounted(()=>R(!0),!1),v.tryOnScopeDispose(P);function R(M){const N=x(e);!g.value||!N||(m.value||(m.value=N.animate(v.toValue(t),u)),s&&m.value.persist(),c!==1&&(m.value.playbackRate=c),M&&!i?m.value.pause():L(),f?.(m.value))}O(m,["cancel","finish","remove"],H),O(m,"finish",()=>{var M;r&&((M=m.value)==null||M.commitStyles())});const{resume:F,pause:A}=G(()=>{m.value&&(p.pending=m.value.pending,p.playState=m.value.playState,p.replaceState=m.value.replaceState,p.startTime=m.value.startTime,p.currentTime=m.value.currentTime,p.timeline=m.value.timeline,p.playbackRate=m.value.playbackRate)},{immediate:!1});function L(){g.value&&F()}function H(){g.value&&l&&l.requestAnimationFrame(A)}return{isSupported:g,animate:m,play:C,pause:k,reverse:V,finish:D,cancel:P,pending:y,playState:h,replaceState:b,startTime:w,currentTime:S,timeline:T,playbackRate:_}}function Bt(e,t){const{interrupt:n=!0,onError:o=v.noop,onFinished:u=v.noop,signal:l}=t||{},i={aborted:"aborted",fulfilled:"fulfilled",pending:"pending",rejected:"rejected"},r=Array.from(Array.from({length:e.length}),()=>({state:i.pending,data:null})),s=a.reactive(r),c=a.ref(-1);if(!e||e.length===0)return u(),{activeIndex:c,result:s};function f(d,g){c.value++,s[c.value].data=g,s[c.value].state=d}return e.reduce((d,g)=>d.then(m=>{var p;if(l?.aborted){f(i.aborted,new Error("aborted"));return}if(((p=s[c.value])==null?void 0:p.state)===i.rejected&&n){u();return}const y=g(m).then(h=>(f(i.fulfilled,h),c.value===e.length-1&&u(),h));return l?Promise.race([y,jt(l)]):y}).catch(m=>l?.aborted?(f(i.aborted,m),m):(f(i.rejected,m),o(),m)),Promise.resolve()),{activeIndex:c,result:s}}function jt(e){return new Promise((t,n)=>{const o=new Error("aborted");e.aborted?n(o):e.addEventListener("abort",()=>n(o),{once:!0})})}function Ce(e,t,n){const{immediate:o=!0,delay:u=0,onError:l=v.noop,onSuccess:i=v.noop,resetOnExecute:r=!0,shallow:s=!0,throwError:c}=n??{},f=s?a.shallowRef(t):a.ref(t),d=a.ref(!1),g=a.ref(!1),m=a.shallowRef(void 0);async function p(b=0,...w){r&&(f.value=t),m.value=void 0,d.value=!1,g.value=!0,b>0&&await v.promiseTimeout(b);const S=typeof e=="function"?e(...w):e;try{const T=await S;f.value=T,d.value=!0,i(T)}catch(T){if(m.value=T,l(T),c)throw T}finally{g.value=!1}return f.value}o&&p(u);const y={state:f,isReady:d,isLoading:g,error:m,execute:p};function h(){return new Promise((b,w)=>{v.until(g).toBe(!1).then(()=>b(y)).catch(w)})}return{...y,then(b,w){return h().then(b,w)}}}const Z={array:e=>JSON.stringify(e),object:e=>JSON.stringify(e),set:e=>JSON.stringify(Array.from(e)),map:e=>JSON.stringify(Object.fromEntries(e)),null:()=>""};function zt(e){return e?e instanceof Map?Z.map:e instanceof Set?Z.set:Array.isArray(e)?Z.array:Z.object:Z.null}function qt(e,t){const n=a.ref(""),o=a.ref();function u(){if(v.isClient)return o.value=new Promise((l,i)=>{try{const r=v.toValue(e);if(r==null)l("");else if(typeof r=="string")l(ge(new Blob([r],{type:"text/plain"})));else if(r instanceof Blob)l(ge(r));else if(r instanceof ArrayBuffer)l(window.btoa(String.fromCharCode(...new Uint8Array(r))));else if(r instanceof HTMLCanvasElement)l(r.toDataURL(t?.type,t?.quality));else if(r instanceof HTMLImageElement){const s=r.cloneNode(!1);s.crossOrigin="Anonymous",Gt(s).then(()=>{const c=document.createElement("canvas"),f=c.getContext("2d");c.width=s.width,c.height=s.height,f.drawImage(s,0,0,c.width,c.height),l(c.toDataURL(t?.type,t?.quality))}).catch(i)}else if(typeof r=="object"){const c=(t?.serializer||zt(r))(r);return l(ge(new Blob([c],{type:"application/json"})))}else i(new Error("target is unsupported types"))}catch(r){i(r)}}),o.value.then(l=>{n.value=t?.dataUrl===!1?l.replace(/^data:.*?;base64,/,""):l}),o.value}return a.isRef(e)||typeof e=="function"?a.watch(e,u,{immediate:!0}):u(),{base64:n,promise:o,execute:u}}function Gt(e){return new Promise((t,n)=>{e.complete?t():(e.onload=()=>{t()},e.onerror=n)})}function ge(e){return new Promise((t,n)=>{const o=new FileReader;o.onload=u=>{t(u.target.result)},o.onerror=n,o.readAsDataURL(e)})}function Yt(e={}){const{navigator:t=z}=e,n=["chargingchange","chargingtimechange","dischargingtimechange","levelchange"],o=W(()=>t&&"getBattery"in t&&typeof t.getBattery=="function"),u=a.ref(!1),l=a.ref(0),i=a.ref(0),r=a.ref(1);let s;function c(){u.value=this.charging,l.value=this.chargingTime||0,i.value=this.dischargingTime||0,r.value=this.level}return o.value&&t.getBattery().then(f=>{s=f,c.call(s),O(s,n,c,{passive:!0})}),{isSupported:o,charging:u,chargingTime:l,dischargingTime:i,level:r}}function Xt(e){let{acceptAllDevices:t=!1}=e||{};const{filters:n=void 0,optionalServices:o=void 0,navigator:u=z}=e||{},l=W(()=>u&&"bluetooth"in u),i=a.shallowRef(void 0),r=a.shallowRef(null);a.watch(i,()=>{d()});async function s(){if(l.value){r.value=null,n&&n.length>0&&(t=!1);try{i.value=await u?.bluetooth.requestDevice({acceptAllDevices:t,filters:n,optionalServices:o})}catch(g){r.value=g}}}const c=a.ref(),f=a.computed(()=>{var g;return((g=c.value)==null?void 0:g.connected)||!1});async function d(){if(r.value=null,i.value&&i.value.gatt){i.value.addEventListener("gattserverdisconnected",()=>{});try{c.value=await i.value.gatt.connect()}catch(g){r.value=g}}}return v.tryOnMounted(()=>{var g;i.value&&((g=i.value.gatt)==null||g.connect())}),v.tryOnScopeDispose(()=>{var g;i.value&&((g=i.value.gatt)==null||g.disconnect())}),{isSupported:l,isConnected:f,device:i,requestDevice:s,server:c,error:r}}const he=Symbol("vueuse-ssr-width");function we(){const e=a.hasInjectionContext()?v.injectLocal(he,null):null;return typeof e=="number"?e:void 0}function Kt(e,t){t!==void 0?t.provide(he,e):v.provideLocal(he,e)}function j(e,t={}){const{window:n=I,ssrWidth:o=we()}=t,u=W(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),l=a.ref(typeof o=="number");let i;const r=a.ref(!1),s=d=>{r.value=d.matches},c=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",s):i.removeListener(s))},f=a.watchEffect(()=>{if(l.value){l.value=!u.value;const d=v.toValue(e).split(",");r.value=d.some(g=>{const m=g.includes("not all"),p=g.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),y=g.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let h=!!(p||y);return p&&h&&(h=o>=v.pxValue(p[1])),y&&h&&(h=o<=v.pxValue(y[1])),m?!h:h});return}u.value&&(c(),i=n.matchMedia(v.toValue(e)),"addEventListener"in i?i.addEventListener("change",s):i.addListener(s),r.value=i.matches)});return v.tryOnScopeDispose(()=>{f(),c(),i=void 0}),a.computed(()=>r.value)}const Jt={sm:640,md:768,lg:1024,xl:1280,"2xl":1536},Qt={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400},Ae={xs:0,sm:600,md:960,lg:1264,xl:1904},Zt={xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560},en=Ae,tn={xs:480,sm:576,md:768,lg:992,xl:1200,xxl:1600},nn={xs:0,sm:600,md:1024,lg:1440,xl:1920},on={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptop:1024,laptopL:1440,desktop4K:2560},ln={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},rn={sm:576,md:768,lg:992,xl:1200},an={xs:0,sm:768,md:992,lg:1200,xl:1920};function un(e,t={}){function n(m,p){let y=v.toValue(e[v.toValue(m)]);return p!=null&&(y=v.increaseWithUnit(y,p)),typeof y=="number"&&(y=`${y}px`),y}const{window:o=I,strategy:u="min-width",ssrWidth:l=we()}=t,i=typeof l=="number",r=i?a.ref(!1):{value:!0};i&&v.tryOnMounted(()=>r.value=!!o);function s(m,p){return!r.value&&i?m==="min"?l>=v.pxValue(p):l<=v.pxValue(p):o?o.matchMedia(`(${m}-width: ${p})`).matches:!1}const c=m=>j(()=>`(min-width: ${n(m)})`,t),f=m=>j(()=>`(max-width: ${n(m)})`,t),d=Object.keys(e).reduce((m,p)=>(Object.defineProperty(m,p,{get:()=>u==="min-width"?c(p):f(p),enumerable:!0,configurable:!0}),m),{});function g(){const m=Object.keys(e).map(p=>[p,d[p],v.pxValue(n(p))]).sort((p,y)=>p[2]-y[2]);return a.computed(()=>m.filter(([,p])=>p.value).map(([p])=>p))}return Object.assign(d,{greaterOrEqual:c,smallerOrEqual:f,greater(m){return j(()=>`(min-width: ${n(m,.1)})`,t)},smaller(m){return j(()=>`(max-width: ${n(m,-.1)})`,t)},between(m,p){return j(()=>`(min-width: ${n(m)}) and (max-width: ${n(p,-.1)})`,t)},isGreater(m){return s("min",n(m,.1))},isGreaterOrEqual(m){return s("min",n(m))},isSmaller(m){return s("max",n(m,-.1))},isSmallerOrEqual(m){return s("max",n(m))},isInBetween(m,p){return s("min",n(m))&&s("max",n(p,-.1))},current:g,active(){const m=g();return a.computed(()=>m.value.length===0?"":m.value.at(u==="min-width"?-1:0))}})}function sn(e){const{name:t,window:n=I}=e,o=W(()=>n&&"BroadcastChannel"in n),u=a.ref(!1),l=a.ref(),i=a.ref(),r=a.shallowRef(null),s=f=>{l.value&&l.value.postMessage(f)},c=()=>{l.value&&l.value.close(),u.value=!0};return o.value&&v.tryOnMounted(()=>{r.value=null,l.value=new BroadcastChannel(t),l.value.addEventListener("message",f=>{i.value=f.data},{passive:!0}),l.value.addEventListener("messageerror",f=>{r.value=f},{passive:!0}),l.value.addEventListener("close",()=>{u.value=!0})}),v.tryOnScopeDispose(()=>{c()}),{isSupported:o,channel:l,data:i,post:s,close:c,error:r,isClosed:u}}const Me=["hash","host","hostname","href","pathname","port","protocol","search"];function cn(e={}){const{window:t=I}=e,n=Object.fromEntries(Me.map(l=>[l,a.ref()]));for(const[l,i]of v.objectEntries(n))a.watch(i,r=>{!t?.location||t.location[l]===r||(t.location[l]=r)});const o=l=>{var i;const{state:r,length:s}=t?.history||{},{origin:c}=t?.location||{};for(const f of Me)n[f].value=(i=t?.location)==null?void 0:i[f];return a.reactive({trigger:l,state:r,length:s,origin:c,...n})},u=a.ref(o("load"));return t&&(O(t,"popstate",()=>u.value=o("popstate"),{passive:!0}),O(t,"hashchange",()=>u.value=o("hashchange"),{passive:!0})),u}function fn(e,t=(o,u)=>o===u,n){const o=a.ref(e.value);return a.watch(()=>e.value,u=>{t(u,o.value)||(o.value=u)},n),o}function ie(e,t={}){const{controls:n=!1,navigator:o=z}=t,u=W(()=>o&&"permissions"in o),l=a.shallowRef(),i=typeof e=="string"?{name:e}:e,r=a.shallowRef(),s=()=>{var f,d;r.value=(d=(f=l.value)==null?void 0:f.state)!=null?d:"prompt"};O(l,"change",s);const c=v.createSingletonPromise(async()=>{if(u.value){if(!l.value)try{l.value=await o.permissions.query(i)}catch{l.value=void 0}finally{s()}if(n)return a.toRaw(l.value)}});return c(),n?{state:r,isSupported:u,query:c}:r}function dn(e={}){const{navigator:t=z,read:n=!1,source:o,copiedDuring:u=1500,legacy:l=!1}=e,i=W(()=>t&&"clipboard"in t),r=ie("clipboard-read"),s=ie("clipboard-write"),c=a.computed(()=>i.value||l),f=a.ref(""),d=a.ref(!1),g=v.useTimeoutFn(()=>d.value=!1,u);function m(){i.value&&b(r.value)?t.clipboard.readText().then(w=>{f.value=w}):f.value=h()}c.value&&n&&O(["copy","cut"],m);async function p(w=v.toValue(o)){c.value&&w!=null&&(i.value&&b(s.value)?await t.clipboard.writeText(w):y(w),f.value=w,d.value=!0,g.start())}function y(w){const S=document.createElement("textarea");S.value=w??"",S.style.position="absolute",S.style.opacity="0",document.body.appendChild(S),S.select(),document.execCommand("copy"),S.remove()}function h(){var w,S,T;return(T=(S=(w=document?.getSelection)==null?void 0:w.call(document))==null?void 0:S.toString())!=null?T:""}function b(w){return w==="granted"||w==="prompt"}return{isSupported:c,text:f,copied:d,copy:p}}function vn(e={}){const{navigator:t=z,read:n=!1,source:o,copiedDuring:u=1500}=e,l=W(()=>t&&"clipboard"in t),i=a.ref([]),r=a.ref(!1),s=v.useTimeoutFn(()=>r.value=!1,u);function c(){l.value&&t.clipboard.read().then(d=>{i.value=d})}l.value&&n&&O(["copy","cut"],c);async function f(d=v.toValue(o)){l.value&&d!=null&&(await t.clipboard.write(d),i.value=d,r.value=!0,s.start())}return{isSupported:l,content:i,copied:r,copy:f}}function ee(e){return JSON.parse(JSON.stringify(e))}function mn(e,t={}){const n=a.ref({}),{manual:o,clone:u=ee,deep:l=!0,immediate:i=!0}=t;function r(){n.value=u(v.toValue(e))}return!o&&(a.isRef(e)||typeof e=="function")?a.watch(e,r,{...t,deep:l,immediate:i}):r(),{cloned:n,sync:r}}const ue=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},se="__vueuse_ssr_handlers__",Ie=pn();function pn(){return se in ue||(ue[se]=ue[se]||{}),ue[se]}function ce(e,t){return Ie[e]||t}function yn(e,t){Ie[e]=t}function Le(e){return j("(prefers-color-scheme: dark)",e)}function Ne(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const be={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Se="vueuse-storage";function fe(e,t,n,o={}){var u;const{flush:l="pre",deep:i=!0,listenToStorageChanges:r=!0,writeDefaults:s=!0,mergeDefaults:c=!1,shallow:f,window:d=I,eventFilter:g,onError:m=P=>{console.error(P)},initOnMounted:p}=o,y=(f?a.shallowRef:a.ref)(typeof t=="function"?t():t);if(!n)try{n=ce("getDefaultStorage",()=>{var P;return(P=I)==null?void 0:P.localStorage})()}catch(P){m(P)}if(!n)return y;const h=v.toValue(t),b=Ne(h),w=(u=o.serializer)!=null?u:be[b],{pause:S,resume:T}=v.pausableWatch(y,()=>C(y.value),{flush:l,deep:i,eventFilter:g});d&&r&&v.tryOnMounted(()=>{n instanceof Storage?O(d,"storage",V):O(d,Se,D),p&&V()}),p||V();function _(P,R){if(d){const F={key:e,oldValue:P,newValue:R,storageArea:n};d.dispatchEvent(n instanceof Storage?new StorageEvent("storage",F):new CustomEvent(Se,{detail:F}))}}function C(P){try{const R=n.getItem(e);if(P==null)_(R,null),n.removeItem(e);else{const F=w.write(P);R!==F&&(n.setItem(e,F),_(R,F))}}catch(R){m(R)}}function k(P){const R=P?P.newValue:n.getItem(e);if(R==null)return s&&h!=null&&n.setItem(e,w.write(h)),h;if(!P&&c){const F=w.read(R);return typeof c=="function"?c(F,h):b==="object"&&!Array.isArray(F)?{...h,...F}:F}else return typeof R!="string"?R:w.read(R)}function V(P){if(!(P&&P.storageArea!==n)){if(P&&P.key==null){y.value=h;return}if(!(P&&P.key!==e)){S();try{P?.newValue!==w.write(y.value)&&(y.value=k(P))}catch(R){m(R)}finally{P?a.nextTick(T):T()}}}}function D(P){V(P.detail)}return y}const gn="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function xe(e={}){const{selector:t="html",attribute:n="class",initialValue:o="auto",window:u=I,storage:l,storageKey:i="vueuse-color-scheme",listenToStorageChanges:r=!0,storageRef:s,emitAuto:c,disableTransition:f=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},g=Le({window:u}),m=a.computed(()=>g.value?"dark":"light"),p=s||(i==null?v.toRef(o):fe(i,o,l,{window:u,listenToStorageChanges:r})),y=a.computed(()=>p.value==="auto"?m.value:p.value),h=ce("updateHTMLAttrs",(T,_,C)=>{const k=typeof T=="string"?u?.document.querySelector(T):x(T);if(!k)return;const V=new Set,D=new Set;let P=null;if(_==="class"){const F=C.split(/\s/g);Object.values(d).flatMap(A=>(A||"").split(/\s/g)).filter(Boolean).forEach(A=>{F.includes(A)?V.add(A):D.add(A)})}else P={key:_,value:C};if(V.size===0&&D.size===0&&P===null)return;let R;f&&(R=u.document.createElement("style"),R.appendChild(document.createTextNode(gn)),u.document.head.appendChild(R));for(const F of V)k.classList.add(F);for(const F of D)k.classList.remove(F);P&&k.setAttribute(P.key,P.value),f&&(u.getComputedStyle(R).opacity,document.head.removeChild(R))});function b(T){var _;h(t,n,(_=d[T])!=null?_:T)}function w(T){e.onChanged?e.onChanged(T,b):b(T)}a.watch(y,w,{flush:"post",immediate:!0}),v.tryOnMounted(()=>w(y.value));const S=a.computed({get(){return c?p.value:y.value},set(T){p.value=T}});return Object.assign(S,{store:p,system:m,state:y})}function hn(e=a.ref(!1)){const t=v.createEventHook(),n=v.createEventHook(),o=v.createEventHook();let u=v.noop;const l=s=>(o.trigger(s),e.value=!0,new Promise(c=>{u=c})),i=s=>{e.value=!1,t.trigger(s),u({data:s,isCanceled:!1})},r=s=>{e.value=!1,n.trigger(s),u({data:s,isCanceled:!0})};return{isRevealed:a.computed(()=>e.value),reveal:l,confirm:i,cancel:r,onReveal:o.on,onConfirm:t.on,onCancel:n.on}}function te(e,t,n={}){const{window:o=I,initialValue:u,observe:l=!1}=n,i=a.ref(u),r=a.computed(()=>{var c;return x(t)||((c=o?.document)==null?void 0:c.documentElement)});function s(){var c;const f=v.toValue(e),d=v.toValue(r);if(d&&o&&f){const g=(c=o.getComputedStyle(d).getPropertyValue(f))==null?void 0:c.trim();i.value=g||u}}return l&&K(r,s,{attributeFilter:["style","class"],window:o}),a.watch([r,()=>v.toValue(e)],(c,f)=>{f[0]&&f[1]&&f[0].style.removeProperty(f[1]),s()},{immediate:!0}),a.watch(i,c=>{var f;const d=v.toValue(e);(f=r.value)!=null&&f.style&&d&&(c==null?r.value.style.removeProperty(d):r.value.style.setProperty(d,c))}),i}function We(e){const t=a.getCurrentInstance(),n=v.computedWithControl(()=>null,()=>e?x(e):t.proxy.$el);return a.onUpdated(n.trigger),a.onMounted(n.trigger),n}function wn(e,t){const n=a.shallowRef(c()),o=v.toRef(e),u=a.computed({get(){var f;const d=o.value;let g=t?.getIndexOf?t.getIndexOf(n.value,d):d.indexOf(n.value);return g<0&&(g=(f=t?.fallbackIndex)!=null?f:0),g},set(f){l(f)}});function l(f){const d=o.value,g=d.length,m=(f%g+g)%g,p=d[m];return n.value=p,p}function i(f=1){return l(u.value+f)}function r(f=1){return i(f)}function s(f=1){return i(-f)}function c(){var f,d;return(d=v.toValue((f=t?.initialValue)!=null?f:v.toValue(e)[0]))!=null?d:void 0}return a.watch(o,()=>l(u.value)),{state:n,index:u,next:r,prev:s,go:l}}function bn(e={}){const{valueDark:t="dark",valueLight:n=""}=e,o=xe({...e,onChanged:(i,r)=>{var s;e.onChanged?(s=e.onChanged)==null||s.call(e,i==="dark",r,i):r(i)},modes:{dark:t,light:n}}),u=a.computed(()=>o.system.value);return a.computed({get(){return o.value==="dark"},set(i){const r=i?"dark":"light";u.value===r?o.value="auto":o.value=r}})}function He(e){return e}function Sn(e,t){return e.value=t}function En(e){return e?typeof e=="function"?e:ee:He}function Tn(e){return e?typeof e=="function"?e:ee:He}function Ue(e,t={}){const{clone:n=!1,dump:o=En(n),parse:u=Tn(n),setSource:l=Sn}=t;function i(){return a.markRaw({snapshot:o(e.value),timestamp:v.timestamp()})}const r=a.ref(i()),s=a.ref([]),c=a.ref([]),f=S=>{l(e,u(S.snapshot)),r.value=S},d=()=>{s.value.unshift(r.value),r.value=i(),t.capacity&&s.value.length>t.capacity&&s.value.splice(t.capacity,Number.POSITIVE_INFINITY),c.value.length&&c.value.splice(0,c.value.length)},g=()=>{s.value.splice(0,s.value.length),c.value.splice(0,c.value.length)},m=()=>{const S=s.value.shift();S&&(c.value.unshift(r.value),f(S))},p=()=>{const S=c.value.shift();S&&(s.value.unshift(r.value),f(S))},y=()=>{f(r.value)},h=a.computed(()=>[r.value,...s.value]),b=a.computed(()=>s.value.length>0),w=a.computed(()=>c.value.length>0);return{source:e,undoStack:s,redoStack:c,last:r,history:h,canUndo:b,canRedo:w,clear:g,commit:d,reset:y,undo:m,redo:p}}function Ee(e,t={}){const{deep:n=!1,flush:o="pre",eventFilter:u}=t,{eventFilter:l,pause:i,resume:r,isActive:s}=v.pausableFilter(u),{ignoreUpdates:c,ignorePrevAsyncUpdates:f,stop:d}=v.watchIgnorable(e,h,{deep:n,flush:o,eventFilter:l});function g(T,_){f(),c(()=>{T.value=_})}const m=Ue(e,{...t,clone:t.clone||n,setSource:g}),{clear:p,commit:y}=m;function h(){f(),y()}function b(T){r(),T&&h()}function w(T){let _=!1;const C=()=>_=!0;c(()=>{T(C)}),_||h()}function S(){d(),p()}return{...m,isTracking:s,pause:i,resume:b,commit:h,batch:w,dispose:S}}function kn(e,t={}){const n=t.debounce?v.debounceFilter(t.debounce):void 0;return{...Ee(e,{...t,eventFilter:n})}}function On(e={}){const{window:t=I,requestPermissions:n=!1,eventFilter:o=v.bypassFilter}=e,u=W(()=>typeof DeviceMotionEvent<"u"),l=W(()=>u.value&&"requestPermission"in DeviceMotionEvent&&typeof DeviceMotionEvent.requestPermission=="function"),i=a.ref(!1),r=a.ref({x:null,y:null,z:null}),s=a.ref({alpha:null,beta:null,gamma:null}),c=a.ref(0),f=a.ref({x:null,y:null,z:null});function d(){if(t){const m=v.createFilterWrapper(o,p=>{var y,h,b,w,S,T,_,C,k;r.value={x:((y=p.acceleration)==null?void 0:y.x)||null,y:((h=p.acceleration)==null?void 0:h.y)||null,z:((b=p.acceleration)==null?void 0:b.z)||null},f.value={x:((w=p.accelerationIncludingGravity)==null?void 0:w.x)||null,y:((S=p.accelerationIncludingGravity)==null?void 0:S.y)||null,z:((T=p.accelerationIncludingGravity)==null?void 0:T.z)||null},s.value={alpha:((_=p.rotationRate)==null?void 0:_.alpha)||null,beta:((C=p.rotationRate)==null?void 0:C.beta)||null,gamma:((k=p.rotationRate)==null?void 0:k.gamma)||null},c.value=p.interval});O(t,"devicemotion",m)}}const g=async()=>{if(l.value||(i.value=!0),!i.value&&l.value){const m=DeviceMotionEvent.requestPermission;try{await m()==="granted"&&(i.value=!0,d())}catch(p){console.error(p)}}};return u.value&&(n&&l.value?g().then(()=>d()):d()),{acceleration:r,accelerationIncludingGravity:f,rotationRate:s,interval:c,isSupported:u,requirePermissions:l,ensurePermissions:g,permissionGranted:i}}function $e(e={}){const{window:t=I}=e,n=W(()=>t&&"DeviceOrientationEvent"in t),o=a.ref(!1),u=a.ref(null),l=a.ref(null),i=a.ref(null);return t&&n.value&&O(t,"deviceorientation",r=>{o.value=r.absolute,u.value=r.alpha,l.value=r.beta,i.value=r.gamma}),{isSupported:n,isAbsolute:o,alpha:u,beta:l,gamma:i}}function _n(e={}){const{window:t=I}=e,n=a.ref(1);if(t){let o=function(){n.value=t.devicePixelRatio,u(),l=t.matchMedia(`(resolution: ${n.value}dppx)`),l.addEventListener("change",o,{once:!0})},u=function(){l?.removeEventListener("change",o)},l;o(),v.tryOnScopeDispose(u)}return{pixelRatio:n}}function Rn(e={}){const{navigator:t=z,requestPermissions:n=!1,constraints:o={audio:!0,video:!0},onUpdated:u}=e,l=a.ref([]),i=a.computed(()=>l.value.filter(p=>p.kind==="videoinput")),r=a.computed(()=>l.value.filter(p=>p.kind==="audioinput")),s=a.computed(()=>l.value.filter(p=>p.kind==="audiooutput")),c=W(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),f=a.ref(!1);let d;async function g(){c.value&&(l.value=await t.mediaDevices.enumerateDevices(),u?.(l.value),d&&(d.getTracks().forEach(p=>p.stop()),d=null))}async function m(){if(!c.value)return!1;if(f.value)return!0;const{state:p,query:y}=ie("camera",{controls:!0});if(await y(),p.value!=="granted"){let h=!0;try{d=await t.mediaDevices.getUserMedia(o)}catch{d=null,h=!1}g(),f.value=h}else f.value=!0;return f.value}return c.value&&(n&&m(),O(t.mediaDevices,"devicechange",g),g()),{devices:l,ensurePermissions:m,permissionGranted:f,videoInputs:i,audioInputs:r,audioOutputs:s,isSupported:c}}function Vn(e={}){var t;const n=a.ref((t=e.enabled)!=null?t:!1),o=e.video,u=e.audio,{navigator:l=z}=e,i=W(()=>{var m;return(m=l?.mediaDevices)==null?void 0:m.getDisplayMedia}),r={audio:u,video:o},s=a.shallowRef();async function c(){var m;if(!(!i.value||s.value))return s.value=await l.mediaDevices.getDisplayMedia(r),(m=s.value)==null||m.getTracks().forEach(p=>p.addEventListener("ended",d)),s.value}async function f(){var m;(m=s.value)==null||m.getTracks().forEach(p=>p.stop()),s.value=void 0}function d(){f(),n.value=!1}async function g(){return await c(),s.value&&(n.value=!0),s.value}return a.watch(n,m=>{m?c():f()},{immediate:!0}),{isSupported:i,stream:s,start:g,stop:d,enabled:n}}function Be(e={}){const{document:t=B}=e;if(!t)return a.ref("visible");const n=a.ref(t.visibilityState);return O(t,"visibilitychange",()=>{n.value=t.visibilityState}),n}function Fn(e,t={}){var n,o;const{pointerTypes:u,preventDefault:l,stopPropagation:i,exact:r,onMove:s,onEnd:c,onStart:f,initialValue:d,axis:g="both",draggingElement:m=I,containerElement:p,handle:y=e,buttons:h=[0]}=t,b=a.ref((n=v.toValue(d))!=null?n:{x:0,y:0}),w=a.ref(),S=V=>u?u.includes(V.pointerType):!0,T=V=>{v.toValue(l)&&V.preventDefault(),v.toValue(i)&&V.stopPropagation()},_=V=>{var D;if(!v.toValue(h).includes(V.button)||v.toValue(t.disabled)||!S(V)||v.toValue(r)&&V.target!==v.toValue(e))return;const P=v.toValue(p),R=(D=P?.getBoundingClientRect)==null?void 0:D.call(P),F=v.toValue(e).getBoundingClientRect(),A={x:V.clientX-(P?F.left-R.left+P.scrollLeft:F.left),y:V.clientY-(P?F.top-R.top+P.scrollTop:F.top)};f?.(A,V)!==!1&&(w.value=A,T(V))},C=V=>{if(v.toValue(t.disabled)||!S(V)||!w.value)return;const D=v.toValue(p),P=v.toValue(e).getBoundingClientRect();let{x:R,y:F}=b.value;(g==="x"||g==="both")&&(R=V.clientX-w.value.x,D&&(R=Math.min(Math.max(0,R),D.scrollWidth-P.width))),(g==="y"||g==="both")&&(F=V.clientY-w.value.y,D&&(F=Math.min(Math.max(0,F),D.scrollHeight-P.height))),b.value={x:R,y:F},s?.(b.value,V),T(V)},k=V=>{v.toValue(t.disabled)||!S(V)||w.value&&(w.value=void 0,c?.(b.value,V),T(V))};if(v.isClient){const V={capture:(o=t.capture)!=null?o:!0};O(y,"pointerdown",_,V),O(m,"pointermove",C,V),O(m,"pointerup",k,V)}return{...v.toRefs(b),position:b,isDragging:a.computed(()=>!!w.value),style:a.computed(()=>`left:${b.value.x}px;top:${b.value.y}px;`)}}function Pn(e,t={}){var n,o;const u=a.ref(!1),l=a.shallowRef(null);let i=0,r=!0;if(v.isClient){const s=typeof t=="function"?{onDrop:t}:t,c=(n=s.multiple)!=null?n:!0,f=(o=s.preventDefaultForUnhandled)!=null?o:!1,d=y=>{var h,b;const w=Array.from((b=(h=y.dataTransfer)==null?void 0:h.files)!=null?b:[]);return w.length===0?null:c?w:[w[0]]},g=y=>{if(s.dataTypes){const h=a.unref(s.dataTypes);return typeof h=="function"?h(y):h?h.some(b=>y.includes(b)):!0}return!0},m=y=>{var h,b;const w=Array.from((b=(h=y.dataTransfer)==null?void 0:h.items)!=null?b:[]),S=w.map(C=>C.type),T=g(S),_=c||w.length<=1;return T&&_},p=(y,h)=>{var b,w,S,T;if(r=m(y),!r){f&&y.preventDefault(),y.dataTransfer&&(y.dataTransfer.dropEffect="none");return}y.preventDefault(),y.dataTransfer&&(y.dataTransfer.dropEffect="copy");const _=d(y);switch(h){case"enter":i+=1,u.value=!0,(b=s.onEnter)==null||b.call(s,null,y);break;case"over":(w=s.onOver)==null||w.call(s,null,y);break;case"leave":i-=1,i===0&&(u.value=!1),(S=s.onLeave)==null||S.call(s,null,y);break;case"drop":i=0,u.value=!1,r&&(l.value=_,(T=s.onDrop)==null||T.call(s,_,y));break}};O(e,"dragenter",y=>p(y,"enter")),O(e,"dragover",y=>p(y,"over")),O(e,"dragleave",y=>p(y,"leave")),O(e,"drop",y=>p(y,"drop"))}return{files:l,isOverDropZone:u}}function de(e,t,n={}){const{window:o=I,...u}=n;let l;const i=W(()=>o&&"ResizeObserver"in o),r=()=>{l&&(l.disconnect(),l=void 0)},s=a.computed(()=>{const d=v.toValue(e);return Array.isArray(d)?d.map(g=>x(g)):[x(d)]}),c=a.watch(s,d=>{if(r(),i.value&&o){l=new ResizeObserver(t);for(const g of d)g&&l.observe(g,u)}},{immediate:!0,flush:"post"}),f=()=>{r(),c()};return v.tryOnScopeDispose(f),{isSupported:i,stop:f}}function Dn(e,t={}){const{reset:n=!0,windowResize:o=!0,windowScroll:u=!0,immediate:l=!0,updateTiming:i="sync"}=t,r=a.ref(0),s=a.ref(0),c=a.ref(0),f=a.ref(0),d=a.ref(0),g=a.ref(0),m=a.ref(0),p=a.ref(0);function y(){const b=x(e);if(!b){n&&(r.value=0,s.value=0,c.value=0,f.value=0,d.value=0,g.value=0,m.value=0,p.value=0);return}const w=b.getBoundingClientRect();r.value=w.height,s.value=w.bottom,c.value=w.left,f.value=w.right,d.value=w.top,g.value=w.width,m.value=w.x,p.value=w.y}function h(){i==="sync"?y():i==="next-frame"&&requestAnimationFrame(()=>y())}return de(e,h),a.watch(()=>x(e),b=>!b&&h()),K(e,h,{attributeFilter:["style","class"]}),u&&O("scroll",h,{capture:!0,passive:!0}),o&&O("resize",h,{passive:!0}),v.tryOnMounted(()=>{l&&h()}),{height:r,bottom:s,left:c,right:f,top:d,width:g,x:m,y:p,update:h}}function Cn(e){const{x:t,y:n,document:o=B,multiple:u,interval:l="requestAnimationFrame",immediate:i=!0}=e,r=W(()=>v.toValue(u)?o&&"elementsFromPoint"in o:o&&"elementFromPoint"in o),s=a.ref(null),c=()=>{var d,g;s.value=v.toValue(u)?(d=o?.elementsFromPoint(v.toValue(t),v.toValue(n)))!=null?d:[]:(g=o?.elementFromPoint(v.toValue(t),v.toValue(n)))!=null?g:null},f=l==="requestAnimationFrame"?G(c,{immediate:i}):v.useIntervalFn(c,l,{immediate:i});return{isSupported:r,element:s,...f}}function An(e,t={}){const{delayEnter:n=0,delayLeave:o=0,window:u=I}=t,l=a.ref(!1);let i;const r=s=>{const c=s?n:o;i&&(clearTimeout(i),i=void 0),c?i=setTimeout(()=>l.value=s,c):l.value=s};return u&&(O(e,"mouseenter",()=>r(!0),{passive:!0}),O(e,"mouseleave",()=>r(!1),{passive:!0})),l}function je(e,t={width:0,height:0},n={}){const{window:o=I,box:u="content-box"}=n,l=a.computed(()=>{var d,g;return(g=(d=x(e))==null?void 0:d.namespaceURI)==null?void 0:g.includes("svg")}),i=a.ref(t.width),r=a.ref(t.height),{stop:s}=de(e,([d])=>{const g=u==="border-box"?d.borderBoxSize:u==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(o&&l.value){const m=x(e);if(m){const p=m.getBoundingClientRect();i.value=p.width,r.value=p.height}}else if(g){const m=Array.isArray(g)?g:[g];i.value=m.reduce((p,{inlineSize:y})=>p+y,0),r.value=m.reduce((p,{blockSize:y})=>p+y,0)}else i.value=d.contentRect.width,r.value=d.contentRect.height},n);v.tryOnMounted(()=>{const d=x(e);d&&(i.value="offsetWidth"in d?d.offsetWidth:t.width,r.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=a.watch(()=>x(e),d=>{i.value=d?t.width:0,r.value=d?t.height:0});function f(){s(),c()}return{width:i,height:r,stop:f}}function ze(e,t,n={}){const{root:o,rootMargin:u="0px",threshold:l=0,window:i=I,immediate:r=!0}=n,s=W(()=>i&&"IntersectionObserver"in i),c=a.computed(()=>{const p=v.toValue(e);return(Array.isArray(p)?p:[p]).map(x).filter(v.notNullish)});let f=v.noop;const d=a.ref(r),g=s.value?a.watch(()=>[c.value,x(o),d.value],([p,y])=>{if(f(),!d.value||!p.length)return;const h=new IntersectionObserver(t,{root:x(y),rootMargin:u,threshold:l});p.forEach(b=>b&&h.observe(b)),f=()=>{h.disconnect(),f=v.noop}},{immediate:r,flush:"post"}):v.noop,m=()=>{f(),g(),d.value=!1};return v.tryOnScopeDispose(m),{isSupported:s,isActive:d,pause(){f(),d.value=!1},resume(){d.value=!0},stop:m}}function qe(e,t={}){const{window:n=I,scrollTarget:o,threshold:u=0,rootMargin:l}=t,i=a.ref(!1);return ze(e,r=>{let s=i.value,c=0;for(const f of r)f.time>=c&&(c=f.time,s=f.isIntersecting);i.value=s},{root:o,window:n,threshold:u,rootMargin:v.toValue(l)}),i}const ne=new Map;function Mn(e){const t=a.getCurrentScope();function n(r){var s;const c=ne.get(e)||new Set;c.add(r),ne.set(e,c);const f=()=>u(r);return(s=t?.cleanups)==null||s.push(f),f}function o(r){function s(...c){u(s),r(...c)}return n(s)}function u(r){const s=ne.get(e);s&&(s.delete(r),s.size||l())}function l(){ne.delete(e)}function i(r,s){var c;(c=ne.get(e))==null||c.forEach(f=>f(r,s))}return{on:n,once:o,off:u,emit:i,reset:l}}function In(e){return e===!0?{}:e}function Ln(e,t=[],n={}){const o=a.ref(null),u=a.ref(null),l=a.ref("CONNECTING"),i=a.ref(null),r=a.shallowRef(null),s=v.toRef(e),c=a.shallowRef(null);let f=!1,d=0;const{withCredentials:g=!1,immediate:m=!0,autoConnect:p=!0,autoReconnect:y}=n,h=()=>{v.isClient&&i.value&&(i.value.close(),i.value=null,l.value="CLOSED",f=!0)},b=()=>{if(f||typeof s.value>"u")return;const S=new EventSource(s.value,{withCredentials:g});l.value="CONNECTING",i.value=S,S.onopen=()=>{l.value="OPEN",r.value=null},S.onerror=T=>{if(l.value="CLOSED",r.value=T,S.readyState===2&&!f&&y){S.close();const{retries:_=-1,delay:C=1e3,onFailed:k}=In(y);d+=1,typeof _=="number"&&(_<0||d<_)||typeof _=="function"&&_()?setTimeout(b,C):k?.()}},S.onmessage=T=>{o.value=null,u.value=T.data,c.value=T.lastEventId};for(const T of t)O(S,T,_=>{o.value=T,u.value=_.data||null})},w=()=>{v.isClient&&(h(),f=!1,d=0,b())};return m&&w(),p&&a.watch(s,w),v.tryOnScopeDispose(h),{eventSource:i,event:o,data:u,status:l,error:r,open:w,close:h,lastEventId:c}}function Nn(e={}){const{initialValue:t=""}=e,n=W(()=>typeof window<"u"&&"EyeDropper"in window),o=a.ref(t);async function u(l){if(!n.value)return;const r=await new window.EyeDropper().open(l);return o.value=r.sRGBHex,r}return{isSupported:n,sRGBHex:o,open:u}}function xn(e=null,t={}){const{baseUrl:n="",rel:o="icon",document:u=B}=t,l=v.toRef(e),i=r=>{const s=u?.head.querySelectorAll(`link[rel*="${o}"]`);if(!s||s.length===0){const c=u?.createElement("link");c&&(c.rel=o,c.href=`${n}${r}`,c.type=`image/${r.split(".").pop()}`,u?.head.append(c));return}s?.forEach(c=>c.href=`${n}${r}`)};return a.watch(l,(r,s)=>{typeof r=="string"&&r!==s&&i(r)},{immediate:!0}),l}const Wn={json:"application/json",text:"text/plain"};function ve(e){return e&&v.containsProp(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}const Hn=/^(?:[a-z][a-z\d+\-.]*:)?\/\//i;function Un(e){return Hn.test(e)}function oe(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries(e.entries()):e}function J(e,...t){return e==="overwrite"?async n=>{const o=t[t.length-1];return o?{...n,...await o(n)}:n}:async n=>{for(const o of t)o&&(n={...n,...await o(n)});return n}}function $n(e={}){const t=e.combination||"chain",n=e.options||{},o=e.fetchOptions||{};function u(l,...i){const r=a.computed(()=>{const f=v.toValue(e.baseUrl),d=v.toValue(l);return f&&!Un(d)?Bn(f,d):d});let s=n,c=o;return i.length>0&&(ve(i[0])?s={...s,...i[0],beforeFetch:J(t,n.beforeFetch,i[0].beforeFetch),afterFetch:J(t,n.afterFetch,i[0].afterFetch),onFetchError:J(t,n.onFetchError,i[0].onFetchError)}:c={...c,...i[0],headers:{...oe(c.headers)||{},...oe(i[0].headers)||{}}}),i.length>1&&ve(i[1])&&(s={...s,...i[1],beforeFetch:J(t,n.beforeFetch,i[1].beforeFetch),afterFetch:J(t,n.afterFetch,i[1].afterFetch),onFetchError:J(t,n.onFetchError,i[1].onFetchError)}),Ge(r,c,s)}return u}function Ge(e,...t){var n;const o=typeof AbortController=="function";let u={},l={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const i={method:"GET",type:"text",payload:void 0};t.length>0&&(ve(t[0])?l={...l,...t[0]}:u=t[0]),t.length>1&&ve(t[1])&&(l={...l,...t[1]});const{fetch:r=(n=I)==null?void 0:n.fetch,initialData:s,timeout:c}=l,f=v.createEventHook(),d=v.createEventHook(),g=v.createEventHook(),m=a.ref(!1),p=a.ref(!1),y=a.ref(!1),h=a.ref(null),b=a.shallowRef(null),w=a.shallowRef(null),S=a.shallowRef(s||null),T=a.computed(()=>o&&p.value);let _,C;const k=()=>{o&&(_?.abort(),_=new AbortController,_.signal.onabort=()=>y.value=!0,u={...u,signal:_.signal})},V=M=>{p.value=M,m.value=!M};c&&(C=v.useTimeoutFn(k,c,{immediate:!1}));let D=0;const P=async(M=!1)=>{var N,q;k(),V(!0),w.value=null,h.value=null,y.value=!1,D+=1;const U=D,Y={method:i.method,headers:{}},Q=v.toValue(i.payload);if(Q){const $=oe(Y.headers),re=Object.getPrototypeOf(Q);!i.payloadType&&Q&&(re===Object.prototype||Array.isArray(re))&&!(Q instanceof FormData)&&(i.payloadType="json"),i.payloadType&&($["Content-Type"]=(N=Wn[i.payloadType])!=null?N:i.payloadType),Y.body=i.payloadType==="json"?JSON.stringify(Q):Q}let Tt=!1;const le={url:v.toValue(e),options:{...Y,...u},cancel:()=>{Tt=!0}};if(l.beforeFetch&&Object.assign(le,await l.beforeFetch(le)),Tt||!r)return V(!1),Promise.resolve(null);let X=null;return C&&C.start(),r(le.url,{...Y,...le.options,headers:{...oe(Y.headers),...oe((q=le.options)==null?void 0:q.headers)}}).then(async $=>{if(b.value=$,h.value=$.status,X=await $.clone()[i.type](),!$.ok)throw S.value=s||null,new Error($.statusText);return l.afterFetch&&({data:X}=await l.afterFetch({data:X,response:$})),S.value=X,f.trigger($),$}).catch(async $=>{let re=$.message||$.name;if(l.onFetchError&&({error:re,data:X}=await l.onFetchError({data:X,error:$,response:b.value})),w.value=re,l.updateDataOnError&&(S.value=X),d.trigger($),M)throw $;return null}).finally(()=>{U===D&&V(!1),C&&C.stop(),g.trigger(null)})},R=v.toRef(l.refetch);a.watch([R,v.toRef(e)],([M])=>M&&P(),{deep:!0});const F={isFinished:a.readonly(m),isFetching:a.readonly(p),statusCode:h,response:b,error:w,data:S,canAbort:T,aborted:y,abort:k,execute:P,onFetchResponse:f.on,onFetchError:d.on,onFetchFinally:g.on,get:A("GET"),put:A("PUT"),post:A("POST"),delete:A("DELETE"),patch:A("PATCH"),head:A("HEAD"),options:A("OPTIONS"),json:H("json"),text:H("text"),blob:H("blob"),arrayBuffer:H("arrayBuffer"),formData:H("formData")};function A(M){return(N,q)=>{if(!p.value)return i.method=M,i.payload=N,i.payloadType=q,a.isRef(i.payload)&&a.watch([R,v.toRef(i.payload)],([U])=>U&&P(),{deep:!0}),{...F,then(U,Y){return L().then(U,Y)}}}}function L(){return new Promise((M,N)=>{v.until(m).toBe(!0).then(()=>M(F)).catch(N)})}function H(M){return()=>{if(!p.value)return i.type=M,{...F,then(N,q){return L().then(N,q)}}}}return l.immediate&&Promise.resolve().then(()=>P()),{...F,then(M,N){return L().then(M,N)}}}function Bn(e,t){return!e.endsWith("/")&&!t.startsWith("/")?`${e}/${t}`:e.endsWith("/")&&t.startsWith("/")?`${e.slice(0,-1)}${t}`:`${e}${t}`}const jn={multiple:!0,accept:"*",reset:!1,directory:!1};function zn(e={}){const{document:t=B}=e,n=a.ref(null),{on:o,trigger:u}=v.createEventHook(),{on:l,trigger:i}=v.createEventHook();let r;t&&(r=t.createElement("input"),r.type="file",r.onchange=f=>{const d=f.target;n.value=d.files,u(n.value)},r.oncancel=()=>{i()});const s=()=>{n.value=null,r&&r.value&&(r.value="",u(null))},c=f=>{if(!r)return;const d={...jn,...e,...f};r.multiple=d.multiple,r.accept=d.accept,r.webkitdirectory=d.directory,v.hasOwn(d,"capture")&&(r.capture=d.capture),d.reset&&s(),r.click()};return{files:a.readonly(n),open:c,reset:s,onCancel:l,onChange:o}}function qn(e={}){const{window:t=I,dataType:n="Text"}=e,o=t,u=W(()=>o&&"showSaveFilePicker"in o&&"showOpenFilePicker"in o),l=a.ref(),i=a.ref(),r=a.ref(),s=a.computed(()=>{var w,S;return(S=(w=r.value)==null?void 0:w.name)!=null?S:""}),c=a.computed(()=>{var w,S;return(S=(w=r.value)==null?void 0:w.type)!=null?S:""}),f=a.computed(()=>{var w,S;return(S=(w=r.value)==null?void 0:w.size)!=null?S:0}),d=a.computed(()=>{var w,S;return(S=(w=r.value)==null?void 0:w.lastModified)!=null?S:0});async function g(w={}){if(!u.value)return;const[S]=await o.showOpenFilePicker({...v.toValue(e),...w});l.value=S,await b()}async function m(w={}){u.value&&(l.value=await o.showSaveFilePicker({...e,...w}),i.value=void 0,await b())}async function p(w={}){if(u.value){if(!l.value)return y(w);if(i.value){const S=await l.value.createWritable();await S.write(i.value),await S.close()}await h()}}async function y(w={}){if(u.value){if(l.value=await o.showSaveFilePicker({...e,...w}),i.value){const S=await l.value.createWritable();await S.write(i.value),await S.close()}await h()}}async function h(){var w;r.value=await((w=l.value)==null?void 0:w.getFile())}async function b(){var w,S;await h();const T=v.toValue(n);T==="Text"?i.value=await((w=r.value)==null?void 0:w.text()):T==="ArrayBuffer"?i.value=await((S=r.value)==null?void 0:S.arrayBuffer()):T==="Blob"&&(i.value=r.value)}return a.watch(()=>v.toValue(n),b),{isSupported:u,data:i,file:r,fileName:s,fileMIME:c,fileSize:f,fileLastModified:d,open:g,create:m,save:p,saveAs:y,updateData:b}}function Gn(e,t={}){const{initialValue:n=!1,focusVisible:o=!1,preventScroll:u=!1}=t,l=a.ref(!1),i=a.computed(()=>x(e));O(i,"focus",s=>{var c,f;(!o||(f=(c=s.target).matches)!=null&&f.call(c,":focus-visible"))&&(l.value=!0)}),O(i,"blur",()=>l.value=!1);const r=a.computed({get:()=>l.value,set(s){var c,f;!s&&l.value?(c=i.value)==null||c.blur():s&&!l.value&&((f=i.value)==null||f.focus({preventScroll:u}))}});return a.watch(i,()=>{r.value=n},{immediate:!0,flush:"post"}),{focused:r}}const Yn="focusin",Xn="focusout";function Kn(e,t={}){const{window:n=I}=t,o=a.computed(()=>x(e)),u=a.ref(!1),l=a.computed(()=>u.value),i=De(t);return!n||!i.value?{focused:l}:(O(o,Yn,()=>u.value=!0),O(o,Xn,()=>u.value=!1),{focused:l})}function Jn(e){var t;const n=a.ref(0);if(typeof performance>"u")return n;const o=(t=e?.every)!=null?t:10;let u=performance.now(),l=0;return G(()=>{if(l+=1,l>=o){const i=performance.now(),r=i-u;n.value=Math.round(1e3/(r/l)),u=i,l=0}}),n}const Ye=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Qn(e,t={}){const{document:n=B,autoExit:o=!1}=t,u=a.computed(()=>{var b;return(b=x(e))!=null?b:n?.querySelector("html")}),l=a.ref(!1),i=a.computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(b=>n&&b in n||u.value&&b in u.value)),r=a.computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(b=>n&&b in n||u.value&&b in u.value)),s=a.computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(b=>n&&b in n||u.value&&b in u.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(b=>n&&b in n),f=W(()=>u.value&&n&&i.value!==void 0&&r.value!==void 0&&s.value!==void 0),d=()=>c?n?.[c]===u.value:!1,g=()=>{if(s.value){if(n&&n[s.value]!=null)return n[s.value];{const b=u.value;if(b?.[s.value]!=null)return!!b[s.value]}}return!1};async function m(){if(!(!f.value||!l.value)){if(r.value)if(n?.[r.value]!=null)await n[r.value]();else{const b=u.value;b?.[r.value]!=null&&await b[r.value]()}l.value=!1}}async function p(){if(!f.value||l.value)return;g()&&await m();const b=u.value;i.value&&b?.[i.value]!=null&&(await b[i.value](),l.value=!0)}async function y(){await(l.value?m():p())}const h=()=>{const b=g();(!b||b&&d())&&(l.value=b)};return O(n,Ye,h,!1),O(()=>x(u),Ye,h,!1),o&&v.tryOnScopeDispose(m),{isSupported:f,isFullscreen:l,enter:p,exit:m,toggle:y}}function Zn(e){return a.computed(()=>e.value?{buttons:{a:e.value.buttons[0],b:e.value.buttons[1],x:e.value.buttons[2],y:e.value.buttons[3]},bumper:{left:e.value.buttons[4],right:e.value.buttons[5]},triggers:{left:e.value.buttons[6],right:e.value.buttons[7]},stick:{left:{horizontal:e.value.axes[0],vertical:e.value.axes[1],button:e.value.buttons[10]},right:{horizontal:e.value.axes[2],vertical:e.value.axes[3],button:e.value.buttons[11]}},dpad:{up:e.value.buttons[12],down:e.value.buttons[13],left:e.value.buttons[14],right:e.value.buttons[15]},back:e.value.buttons[8],start:e.value.buttons[9]}:null)}function eo(e={}){const{navigator:t=z}=e,n=W(()=>t&&"getGamepads"in t),o=a.ref([]),u=v.createEventHook(),l=v.createEventHook(),i=m=>{const p=[],y="vibrationActuator"in m?m.vibrationActuator:null;return y&&p.push(y),m.hapticActuators&&p.push(...m.hapticActuators),{id:m.id,index:m.index,connected:m.connected,mapping:m.mapping,timestamp:m.timestamp,vibrationActuator:m.vibrationActuator,hapticActuators:p,axes:m.axes.map(h=>h),buttons:m.buttons.map(h=>({pressed:h.pressed,touched:h.touched,value:h.value}))}},r=()=>{const m=t?.getGamepads()||[];for(const p of m)p&&o.value[p.index]&&(o.value[p.index]=i(p))},{isActive:s,pause:c,resume:f}=G(r),d=m=>{o.value.some(({index:p})=>p===m.index)||(o.value.push(i(m)),u.trigger(m.index)),f()},g=m=>{o.value=o.value.filter(p=>p.index!==m.index),l.trigger(m.index)};return O("gamepadconnected",m=>d(m.gamepad)),O("gamepaddisconnected",m=>g(m.gamepad)),v.tryOnMounted(()=>{const m=t?.getGamepads()||[];for(const p of m)p&&o.value[p.index]&&d(p)}),c(),{isSupported:n,onConnected:u.on,onDisconnected:l.on,gamepads:o,pause:c,resume:f,isActive:s}}function to(e={}){const{enableHighAccuracy:t=!0,maximumAge:n=3e4,timeout:o=27e3,navigator:u=z,immediate:l=!0}=e,i=W(()=>u&&"geolocation"in u),r=a.ref(null),s=a.shallowRef(null),c=a.ref({accuracy:0,latitude:Number.POSITIVE_INFINITY,longitude:Number.POSITIVE_INFINITY,altitude:null,altitudeAccuracy:null,heading:null,speed:null});function f(p){r.value=p.timestamp,c.value=p.coords,s.value=null}let d;function g(){i.value&&(d=u.geolocation.watchPosition(f,p=>s.value=p,{enableHighAccuracy:t,maximumAge:n,timeout:o}))}l&&g();function m(){d&&u&&u.geolocation.clearWatch(d)}return v.tryOnScopeDispose(()=>{m()}),{isSupported:i,coords:c,locatedAt:r,error:s,resume:g,pause:m}}const no=["mousemove","mousedown","resize","keydown","touchstart","wheel"],oo=6e4;function lo(e=oo,t={}){const{initialState:n=!1,listenForVisibilityChange:o=!0,events:u=no,window:l=I,eventFilter:i=v.throttleFilter(50)}=t,r=a.ref(n),s=a.ref(v.timestamp());let c;const f=()=>{r.value=!1,clearTimeout(c),c=setTimeout(()=>r.value=!0,e)},d=v.createFilterWrapper(i,()=>{s.value=v.timestamp(),f()});if(l){const g=l.document;for(const m of u)O(l,m,d,{passive:!0});o&&O(g,"visibilitychange",()=>{g.hidden||d()}),f()}return{idle:r,lastActive:s,reset:f}}async function ro(e){return new Promise((t,n)=>{const o=new Image,{src:u,srcset:l,sizes:i,class:r,loading:s,crossorigin:c,referrerPolicy:f,width:d,height:g,decoding:m,fetchPriority:p,ismap:y,usemap:h}=e;o.src=u,l!=null&&(o.srcset=l),i!=null&&(o.sizes=i),r!=null&&(o.className=r),s!=null&&(o.loading=s),c!=null&&(o.crossOrigin=c),f!=null&&(o.referrerPolicy=f),d!=null&&(o.width=d),g!=null&&(o.height=g),m!=null&&(o.decoding=m),p!=null&&(o.fetchPriority=p),y!=null&&(o.isMap=y),h!=null&&(o.useMap=h),o.onload=()=>t(o),o.onerror=n})}function ao(e,t={}){const n=Ce(()=>ro(v.toValue(e)),void 0,{resetOnExecute:!0,...t});return a.watch(()=>v.toValue(e),()=>n.execute(t.delay),{deep:!0}),n}function me(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const Xe=1;function Ke(e,t={}){const{throttle:n=0,idle:o=200,onStop:u=v.noop,onScroll:l=v.noop,offset:i={left:0,right:0,top:0,bottom:0},eventListenerOptions:r={capture:!1,passive:!0},behavior:s="auto",window:c=I,onError:f=k=>{console.error(k)}}=t,d=a.ref(0),g=a.ref(0),m=a.computed({get(){return d.value},set(k){y(k,void 0)}}),p=a.computed({get(){return g.value},set(k){y(void 0,k)}});function y(k,V){var D,P,R,F;if(!c)return;const A=v.toValue(e);if(!A)return;(R=A instanceof Document?c.document.body:A)==null||R.scrollTo({top:(D=v.toValue(V))!=null?D:p.value,left:(P=v.toValue(k))!=null?P:m.value,behavior:v.toValue(s)});const L=((F=A?.document)==null?void 0:F.documentElement)||A?.documentElement||A;m!=null&&(d.value=L.scrollLeft),p!=null&&(g.value=L.scrollTop)}const h=a.ref(!1),b=a.reactive({left:!0,right:!1,top:!0,bottom:!1}),w=a.reactive({left:!1,right:!1,top:!1,bottom:!1}),S=k=>{h.value&&(h.value=!1,w.left=!1,w.right=!1,w.top=!1,w.bottom=!1,u(k))},T=v.useDebounceFn(S,n+o),_=k=>{var V;if(!c)return;const D=((V=k?.document)==null?void 0:V.documentElement)||k?.documentElement||x(k),{display:P,flexDirection:R,direction:F}=getComputedStyle(D),A=F==="rtl"?-1:1,L=D.scrollLeft;w.left=L<d.value,w.right=L>d.value;const H=L*A<=(i.left||0),M=L*A+D.clientWidth>=D.scrollWidth-(i.right||0)-Xe;P==="flex"&&R==="row-reverse"?(b.left=M,b.right=H):(b.left=H,b.right=M),d.value=L;let N=D.scrollTop;k===c.document&&!N&&(N=c.document.body.scrollTop),w.top=N<g.value,w.bottom=N>g.value;const q=N<=(i.top||0),U=N+D.clientHeight>=D.scrollHeight-(i.bottom||0)-Xe;P==="flex"&&R==="column-reverse"?(b.top=U,b.bottom=q):(b.top=q,b.bottom=U),g.value=N},C=k=>{var V;if(!c)return;const D=(V=k.target.documentElement)!=null?V:k.target;_(D),h.value=!0,T(k),l(k)};return O(e,"scroll",n?v.useThrottleFn(C,n,!0,!1):C,r),v.tryOnMounted(()=>{try{const k=v.toValue(e);if(!k)return;_(k)}catch(k){f(k)}}),O(e,"scrollend",S,r),{x:m,y:p,isScrolling:h,arrivedState:b,directions:w,measure(){const k=v.toValue(e);c&&k&&_(k)}}}function io(e,t,n={}){var o;const{direction:u="bottom",interval:l=100,canLoadMore:i=()=>!0}=n,r=a.reactive(Ke(e,{...n,offset:{[u]:(o=n.distance)!=null?o:0,...n.offset}})),s=a.ref(),c=a.computed(()=>!!s.value),f=a.computed(()=>me(v.toValue(e))),d=qe(f);function g(){if(r.measure(),!f.value||!d.value||!i(f.value))return;const{scrollHeight:p,clientHeight:y,scrollWidth:h,clientWidth:b}=f.value,w=u==="bottom"||u==="top"?p<=y:h<=b;(r.arrivedState[u]||w)&&(s.value||(s.value=Promise.all([t(r),new Promise(S=>setTimeout(S,l))]).finally(()=>{s.value=null,a.nextTick(()=>g())})))}const m=a.watch(()=>[r.arrivedState[u],d.value],g,{immediate:!0});return v.tryOnUnmounted(m),{isLoading:c,reset(){a.nextTick(()=>g())}}}const uo=["mousedown","mouseup","keydown","keyup"];function so(e,t={}){const{events:n=uo,document:o=B,initial:u=null}=t,l=a.ref(u);return o&&n.forEach(i=>{O(o,i,r=>{typeof r.getModifierState=="function"&&(l.value=r.getModifierState(e))})}),l}function co(e,t,n={}){const{window:o=I}=n;return fe(e,t,o?.localStorage,n)}const Je={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function fo(e={}){const{reactive:t=!1,target:n=I,aliasMap:o=Je,passive:u=!0,onEventFired:l=v.noop}=e,i=a.reactive(new Set),r={toJSON(){return{}},current:i},s=t?a.reactive(r):r,c=new Set,f=new Set;function d(y,h){y in s&&(t?s[y]=h:s[y].value=h)}function g(){i.clear();for(const y of f)d(y,!1)}function m(y,h){var b,w;const S=(b=y.key)==null?void 0:b.toLowerCase(),_=[(w=y.code)==null?void 0:w.toLowerCase(),S].filter(Boolean);S&&(h?i.add(S):i.delete(S));for(const C of _)f.add(C),d(C,h);S==="meta"&&!h?(c.forEach(C=>{i.delete(C),d(C,!1)}),c.clear()):typeof y.getModifierState=="function"&&y.getModifierState("Meta")&&h&&[...i,..._].forEach(C=>c.add(C))}O(n,"keydown",y=>(m(y,!0),l(y)),{passive:u}),O(n,"keyup",y=>(m(y,!1),l(y)),{passive:u}),O("blur",g,{passive:!0}),O("focus",g,{passive:!0});const p=new Proxy(s,{get(y,h,b){if(typeof h!="string")return Reflect.get(y,h,b);if(h=h.toLowerCase(),h in o&&(h=o[h]),!(h in s))if(/[+_-]/.test(h)){const S=h.split(/[+_-]/g).map(T=>T.trim());s[h]=a.computed(()=>S.every(T=>v.toValue(p[T])))}else s[h]=a.ref(!1);const w=Reflect.get(y,h,b);return t?v.toValue(w):w}});return p}function Te(e,t){v.toValue(e)&&t(v.toValue(e))}function vo(e){let t=[];for(let n=0;n<e.length;++n)t=[...t,[e.start(n),e.end(n)]];return t}function ke(e){return Array.from(e).map(({label:t,kind:n,language:o,mode:u,activeCues:l,cues:i,inBandMetadataTrackDispatchType:r},s)=>({id:s,label:t,kind:n,language:o,mode:u,activeCues:l,cues:i,inBandMetadataTrackDispatchType:r}))}const mo={src:"",tracks:[]};function po(e,t={}){e=v.toRef(e),t={...mo,...t};const{document:n=B}=t,o=a.ref(0),u=a.ref(0),l=a.ref(!1),i=a.ref(1),r=a.ref(!1),s=a.ref(!1),c=a.ref(!1),f=a.ref(1),d=a.ref(!1),g=a.ref([]),m=a.ref([]),p=a.ref(-1),y=a.ref(!1),h=a.ref(!1),b=n&&"pictureInPictureEnabled"in n,w=v.createEventHook(),S=v.createEventHook(),T=R=>{Te(e,F=>{if(R){const A=typeof R=="number"?R:R.id;F.textTracks[A].mode="disabled"}else for(let A=0;A<F.textTracks.length;++A)F.textTracks[A].mode="disabled";p.value=-1})},_=(R,F=!0)=>{Te(e,A=>{const L=typeof R=="number"?R:R.id;F&&T(),A.textTracks[L].mode="showing",p.value=L})},C=()=>new Promise((R,F)=>{Te(e,async A=>{b&&(y.value?n.exitPictureInPicture().then(R).catch(F):A.requestPictureInPicture().then(R).catch(F))})});a.watchEffect(()=>{if(!n)return;const R=v.toValue(e);if(!R)return;const F=v.toValue(t.src);let A=[];F&&(typeof F=="string"?A=[{src:F}]:Array.isArray(F)?A=F:v.isObject(F)&&(A=[F]),R.querySelectorAll("source").forEach(L=>{L.removeEventListener("error",w.trigger),L.remove()}),A.forEach(({src:L,type:H,media:M})=>{const N=n.createElement("source");N.setAttribute("src",L),N.setAttribute("type",H||""),N.setAttribute("media",M||""),N.addEventListener("error",w.trigger),R.appendChild(N)}),R.load())}),v.tryOnScopeDispose(()=>{const R=v.toValue(e);R&&R.querySelectorAll("source").forEach(F=>F.removeEventListener("error",w.trigger))}),a.watch([e,i],()=>{const R=v.toValue(e);R&&(R.volume=i.value)}),a.watch([e,h],()=>{const R=v.toValue(e);R&&(R.muted=h.value)}),a.watch([e,f],()=>{const R=v.toValue(e);R&&(R.playbackRate=f.value)}),a.watchEffect(()=>{if(!n)return;const R=v.toValue(t.tracks),F=v.toValue(e);!R||!R.length||!F||(F.querySelectorAll("track").forEach(A=>A.remove()),R.forEach(({default:A,kind:L,label:H,src:M,srcLang:N},q)=>{const U=n.createElement("track");U.default=A||!1,U.kind=L,U.label=H,U.src=M,U.srclang=N,U.default&&(p.value=q),F.appendChild(U)}))});const{ignoreUpdates:k}=v.watchIgnorable(o,R=>{const F=v.toValue(e);F&&(F.currentTime=R)}),{ignoreUpdates:V}=v.watchIgnorable(c,R=>{const F=v.toValue(e);F&&(R?F.play().catch(A=>{throw S.trigger(A),A}):F.pause())});O(e,"timeupdate",()=>k(()=>o.value=v.toValue(e).currentTime)),O(e,"durationchange",()=>u.value=v.toValue(e).duration),O(e,"progress",()=>g.value=vo(v.toValue(e).buffered)),O(e,"seeking",()=>l.value=!0),O(e,"seeked",()=>l.value=!1),O(e,["waiting","loadstart"],()=>{r.value=!0,V(()=>c.value=!1)}),O(e,"loadeddata",()=>r.value=!1),O(e,"playing",()=>{r.value=!1,s.value=!1,V(()=>c.value=!0)}),O(e,"ratechange",()=>f.value=v.toValue(e).playbackRate),O(e,"stalled",()=>d.value=!0),O(e,"ended",()=>s.value=!0),O(e,"pause",()=>V(()=>c.value=!1)),O(e,"play",()=>V(()=>c.value=!0)),O(e,"enterpictureinpicture",()=>y.value=!0),O(e,"leavepictureinpicture",()=>y.value=!1),O(e,"volumechange",()=>{const R=v.toValue(e);R&&(i.value=R.volume,h.value=R.muted)});const D=[],P=a.watch([e],()=>{const R=v.toValue(e);R&&(P(),D[0]=O(R.textTracks,"addtrack",()=>m.value=ke(R.textTracks)),D[1]=O(R.textTracks,"removetrack",()=>m.value=ke(R.textTracks)),D[2]=O(R.textTracks,"change",()=>m.value=ke(R.textTracks)))});return v.tryOnScopeDispose(()=>D.forEach(R=>R())),{currentTime:o,duration:u,waiting:r,seeking:l,ended:s,stalled:d,buffered:g,playing:c,rate:f,volume:i,muted:h,tracks:m,selectedTrack:p,enableTrack:_,disableTrack:T,supportsPictureInPicture:b,togglePictureInPicture:C,isPictureInPicture:y,onSourceError:w.on,onPlaybackError:S.on}}function yo(e,t){const o=t?.cache?a.shallowReactive(t.cache):a.shallowReactive(new Map),u=(...f)=>t?.getKey?t.getKey(...f):JSON.stringify(f),l=(f,...d)=>(o.set(f,e(...d)),o.get(f)),i=(...f)=>l(u(...f),...f),r=(...f)=>{o.delete(u(...f))},s=()=>{o.clear()},c=(...f)=>{const d=u(...f);return o.has(d)?o.get(d):l(d,...f)};return c.load=i,c.delete=r,c.clear=s,c.generateKey=u,c.cache=o,c}function go(e={}){const t=a.ref(),n=W(()=>typeof performance<"u"&&"memory"in performance);if(n.value){const{interval:o=1e3}=e;v.useIntervalFn(()=>{t.value=performance.memory},o,{immediate:e.immediate,immediateCallback:e.immediateCallback})}return{isSupported:n,memory:t}}const ho={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function Qe(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:o=!1,initialValue:u={x:0,y:0},window:l=I,target:i=l,scroll:r=!0,eventFilter:s}=e;let c=null,f=0,d=0;const g=a.ref(u.x),m=a.ref(u.y),p=a.ref(null),y=typeof t=="function"?t:ho[t],h=k=>{const V=y(k);c=k,V&&([g.value,m.value]=V,p.value="mouse"),l&&(f=l.scrollX,d=l.scrollY)},b=k=>{if(k.touches.length>0){const V=y(k.touches[0]);V&&([g.value,m.value]=V,p.value="touch")}},w=()=>{if(!c||!l)return;const k=y(c);c instanceof MouseEvent&&k&&(g.value=k[0]+l.scrollX-f,m.value=k[1]+l.scrollY-d)},S=()=>{g.value=u.x,m.value=u.y},T=s?k=>s(()=>h(k),{}):k=>h(k),_=s?k=>s(()=>b(k),{}):k=>b(k),C=s?()=>s(()=>w(),{}):()=>w();if(i){const k={passive:!0};O(i,["mousemove","dragover"],T,k),n&&t!=="movement"&&(O(i,["touchstart","touchmove"],_,k),o&&O(i,"touchend",S,k)),r&&t==="page"&&O(l,"scroll",C,{passive:!0})}return{x:g,y:m,sourceType:p}}function Ze(e,t={}){const{handleOutside:n=!0,window:o=I}=t,u=t.type||"page",{x:l,y:i,sourceType:r}=Qe(t),s=a.ref(e??o?.document.body),c=a.ref(0),f=a.ref(0),d=a.ref(0),g=a.ref(0),m=a.ref(0),p=a.ref(0),y=a.ref(!0);let h=()=>{};return o&&(h=a.watch([s,l,i],()=>{const b=x(s);if(!b||!(b instanceof Element))return;const{left:w,top:S,width:T,height:_}=b.getBoundingClientRect();d.value=w+(u==="page"?o.pageXOffset:0),g.value=S+(u==="page"?o.pageYOffset:0),m.value=_,p.value=T;const C=l.value-d.value,k=i.value-g.value;y.value=T===0||_===0||C<0||k<0||C>T||k>_,(n||!y.value)&&(c.value=C,f.value=k)},{immediate:!0}),O(document,"mouseleave",()=>{y.value=!0})),{x:l,y:i,sourceType:r,elementX:c,elementY:f,elementPositionX:d,elementPositionY:g,elementHeight:m,elementWidth:p,isOutside:y,stop:h}}function wo(e={}){const{touch:t=!0,drag:n=!0,capture:o=!1,initialValue:u=!1,window:l=I}=e,i=a.ref(u),r=a.ref(null);if(!l)return{pressed:i,sourceType:r};const s=d=>()=>{i.value=!0,r.value=d},c=()=>{i.value=!1,r.value=null},f=a.computed(()=>x(e.target)||l);return O(f,"mousedown",s("mouse"),{passive:!0,capture:o}),O(l,"mouseleave",c,{passive:!0,capture:o}),O(l,"mouseup",c,{passive:!0,capture:o}),n&&(O(f,"dragstart",s("mouse"),{passive:!0,capture:o}),O(l,"drop",c,{passive:!0,capture:o}),O(l,"dragend",c,{passive:!0,capture:o})),t&&(O(f,"touchstart",s("touch"),{passive:!0,capture:o}),O(l,"touchend",c,{passive:!0,capture:o}),O(l,"touchcancel",c,{passive:!0,capture:o})),{pressed:i,sourceType:r}}function bo(e={}){const{window:t=I}=e,n=t?.navigator,o=W(()=>n&&"language"in n),u=a.ref(n?.language);return O(t,"languagechange",()=>{n&&(u.value=n.language)}),{isSupported:o,language:u}}function et(e={}){const{window:t=I}=e,n=t?.navigator,o=W(()=>n&&"connection"in n),u=a.ref(!0),l=a.ref(!1),i=a.ref(void 0),r=a.ref(void 0),s=a.ref(void 0),c=a.ref(void 0),f=a.ref(void 0),d=a.ref(void 0),g=a.ref("unknown"),m=o.value&&n.connection;function p(){n&&(u.value=n.onLine,i.value=u.value?void 0:Date.now(),r.value=u.value?Date.now():void 0,m&&(s.value=m.downlink,c.value=m.downlinkMax,d.value=m.effectiveType,f.value=m.rtt,l.value=m.saveData,g.value=m.type))}return t&&(O(t,"offline",()=>{u.value=!1,i.value=Date.now()}),O(t,"online",()=>{u.value=!0,r.value=Date.now()})),m&&O(m,"change",p,!1),p(),{isSupported:a.readonly(o),isOnline:a.readonly(u),saveData:a.readonly(l),offlineAt:a.readonly(i),onlineAt:a.readonly(r),downlink:a.readonly(s),downlinkMax:a.readonly(c),effectiveType:a.readonly(d),rtt:a.readonly(f),type:a.readonly(g)}}function tt(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,o=a.ref(new Date),u=()=>o.value=new Date,l=n==="requestAnimationFrame"?G(u,{immediate:!0}):v.useIntervalFn(u,n,{immediate:!0});return t?{now:o,...l}:o}function So(e){const t=a.ref(),n=()=>{t.value&&URL.revokeObjectURL(t.value),t.value=void 0};return a.watch(()=>v.toValue(e),o=>{n(),o&&(t.value=URL.createObjectURL(o))},{immediate:!0}),v.tryOnScopeDispose(n),a.readonly(t)}function nt(e,t,n){if(typeof e=="function"||a.isReadonly(e))return a.computed(()=>v.clamp(v.toValue(e),v.toValue(t),v.toValue(n)));const o=a.ref(e);return a.computed({get(){return o.value=v.clamp(o.value,v.toValue(t),v.toValue(n))},set(u){o.value=v.clamp(u,v.toValue(t),v.toValue(n))}})}function Eo(e){const{total:t=Number.POSITIVE_INFINITY,pageSize:n=10,page:o=1,onPageChange:u=v.noop,onPageSizeChange:l=v.noop,onPageCountChange:i=v.noop}=e,r=nt(n,1,Number.POSITIVE_INFINITY),s=a.computed(()=>Math.max(1,Math.ceil(v.toValue(t)/v.toValue(r)))),c=nt(o,1,s),f=a.computed(()=>c.value===1),d=a.computed(()=>c.value===s.value);a.isRef(o)&&v.syncRef(o,c,{direction:a.isReadonly(o)?"ltr":"both"}),a.isRef(n)&&v.syncRef(n,r,{direction:a.isReadonly(n)?"ltr":"both"});function g(){c.value--}function m(){c.value++}const p={currentPage:c,currentPageSize:r,pageCount:s,isFirstPage:f,isLastPage:d,prev:g,next:m};return a.watch(c,()=>{u(a.reactive(p))}),a.watch(r,()=>{l(a.reactive(p))}),a.watch(s,()=>{i(a.reactive(p))}),p}function To(e={}){const{isOnline:t}=et(e);return t}function ko(e={}){const{window:t=I}=e,n=a.ref(!1),o=u=>{if(!t)return;u=u||t.event;const l=u.relatedTarget||u.toElement;n.value=!l};return t&&(O(t,"mouseout",o,{passive:!0}),O(t.document,"mouseleave",o,{passive:!0}),O(t.document,"mouseenter",o,{passive:!0})),n}function ot(e={}){const{window:t=I}=e,n=W(()=>t&&"screen"in t&&"orientation"in t.screen),o=n.value?t.screen.orientation:{},u=a.ref(o.type),l=a.ref(o.angle||0);return n.value&&O(t,"orientationchange",()=>{u.value=o.type,l.value=o.angle}),{isSupported:n,orientation:u,angle:l,lockOrientation:s=>n.value&&typeof o.lock=="function"?o.lock(s):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{n.value&&typeof o.unlock=="function"&&o.unlock()}}}function Oo(e,t={}){const{deviceOrientationTiltAdjust:n=h=>h,deviceOrientationRollAdjust:o=h=>h,mouseTiltAdjust:u=h=>h,mouseRollAdjust:l=h=>h,window:i=I}=t,r=a.reactive($e({window:i})),s=a.reactive(ot({window:i})),{elementX:c,elementY:f,elementWidth:d,elementHeight:g}=Ze(e,{handleOutside:!1,window:i}),m=a.computed(()=>r.isSupported&&(r.alpha!=null&&r.alpha!==0||r.gamma!=null&&r.gamma!==0)?"deviceOrientation":"mouse"),p=a.computed(()=>{if(m.value==="deviceOrientation"){let h;switch(s.orientation){case"landscape-primary":h=r.gamma/90;break;case"landscape-secondary":h=-r.gamma/90;break;case"portrait-primary":h=-r.beta/90;break;case"portrait-secondary":h=r.beta/90;break;default:h=-r.beta/90}return o(h)}else{const h=-(f.value-g.value/2)/g.value;return l(h)}}),y=a.computed(()=>{if(m.value==="deviceOrientation"){let h;switch(s.orientation){case"landscape-primary":h=r.beta/90;break;case"landscape-secondary":h=-r.beta/90;break;case"portrait-primary":h=r.gamma/90;break;case"portrait-secondary":h=-r.gamma/90;break;default:h=r.gamma/90}return n(h)}else{const h=(c.value-d.value/2)/d.value;return u(h)}});return{roll:p,tilt:y,source:m}}function _o(e=We()){const t=a.shallowRef(),n=()=>{const o=x(e);o&&(t.value=o.parentElement)};return v.tryOnMounted(n),a.watch(()=>v.toValue(e),n),t}function Ro(e,t){const{window:n=I,immediate:o=!0,...u}=e,l=W(()=>n&&"PerformanceObserver"in n);let i;const r=()=>{i?.disconnect()},s=()=>{l.value&&(r(),i=new PerformanceObserver(t),i.observe(u))};return v.tryOnScopeDispose(r),o&&s(),{isSupported:l,start:s,stop:r}}const lt={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},Vo=Object.keys(lt);function Fo(e={}){const{target:t=I}=e,n=a.ref(!1),o=a.ref(e.initialValue||{});Object.assign(o.value,lt,o.value);const u=l=>{n.value=!0,!(e.pointerTypes&&!e.pointerTypes.includes(l.pointerType))&&(o.value=v.objectPick(l,Vo,!1))};if(t){const l={passive:!0};O(t,["pointerdown","pointermove","pointerup"],u,l),O(t,"pointerleave",()=>n.value=!1,l)}return{...v.toRefs(o),isInside:n}}function Po(e,t={}){const{document:n=B}=t,o=W(()=>n&&"pointerLockElement"in n),u=a.ref(),l=a.ref();let i;o.value&&(O(n,"pointerlockchange",()=>{var c;const f=(c=n.pointerLockElement)!=null?c:u.value;i&&f===i&&(u.value=n.pointerLockElement,u.value||(i=l.value=null))}),O(n,"pointerlockerror",()=>{var c;const f=(c=n.pointerLockElement)!=null?c:u.value;if(i&&f===i){const d=n.pointerLockElement?"release":"acquire";throw new Error(`Failed to ${d} pointer lock.`)}}));async function r(c){var f;if(!o.value)throw new Error("Pointer Lock API is not supported by your browser.");if(l.value=c instanceof Event?c.currentTarget:null,i=c instanceof Event?(f=x(e))!=null?f:l.value:x(c),!i)throw new Error("Target element undefined.");return i.requestPointerLock(),await v.until(u).toBe(i)}async function s(){return u.value?(n.exitPointerLock(),await v.until(u).toBeNull(),!0):!1}return{isSupported:o,element:u,triggerElement:l,lock:r,unlock:s}}function Do(e,t={}){const n=v.toRef(e),{threshold:o=50,onSwipe:u,onSwipeEnd:l,onSwipeStart:i,disableTextSelect:r=!1}=t,s=a.reactive({x:0,y:0}),c=(k,V)=>{s.x=k,s.y=V},f=a.reactive({x:0,y:0}),d=(k,V)=>{f.x=k,f.y=V},g=a.computed(()=>s.x-f.x),m=a.computed(()=>s.y-f.y),{max:p,abs:y}=Math,h=a.computed(()=>p(y(g.value),y(m.value))>=o),b=a.ref(!1),w=a.ref(!1),S=a.computed(()=>h.value?y(g.value)>y(m.value)?g.value>0?"left":"right":m.value>0?"up":"down":"none"),T=k=>{var V,D,P;const R=k.buttons===0,F=k.buttons===1;return(P=(D=(V=t.pointerTypes)==null?void 0:V.includes(k.pointerType))!=null?D:R||F)!=null?P:!0},_=[O(e,"pointerdown",k=>{if(!T(k))return;w.value=!0;const V=k.target;V?.setPointerCapture(k.pointerId);const{clientX:D,clientY:P}=k;c(D,P),d(D,P),i?.(k)}),O(e,"pointermove",k=>{if(!T(k)||!w.value)return;const{clientX:V,clientY:D}=k;d(V,D),!b.value&&h.value&&(b.value=!0),b.value&&u?.(k)}),O(e,"pointerup",k=>{T(k)&&(b.value&&l?.(k,S.value),w.value=!1,b.value=!1)})];v.tryOnMounted(()=>{var k,V,D,P,R,F,A,L;(V=(k=n.value)==null?void 0:k.style)==null||V.setProperty("touch-action","none"),r&&((P=(D=n.value)==null?void 0:D.style)==null||P.setProperty("-webkit-user-select","none"),(F=(R=n.value)==null?void 0:R.style)==null||F.setProperty("-ms-user-select","none"),(L=(A=n.value)==null?void 0:A.style)==null||L.setProperty("user-select","none"))});const C=()=>_.forEach(k=>k());return{isSwiping:a.readonly(b),direction:a.readonly(S),posStart:a.readonly(s),posEnd:a.readonly(f),distanceX:g,distanceY:m,stop:C}}function Co(e){const t=j("(prefers-color-scheme: light)",e),n=j("(prefers-color-scheme: dark)",e);return a.computed(()=>n.value?"dark":t.value?"light":"no-preference")}function Ao(e){const t=j("(prefers-contrast: more)",e),n=j("(prefers-contrast: less)",e),o=j("(prefers-contrast: custom)",e);return a.computed(()=>t.value?"more":n.value?"less":o.value?"custom":"no-preference")}function Mo(e={}){const{window:t=I}=e;if(!t)return a.ref(["en"]);const n=t.navigator,o=a.ref(n.languages);return O(t,"languagechange",()=>{o.value=n.languages}),o}function Io(e){const t=j("(prefers-reduced-motion: reduce)",e);return a.computed(()=>t.value?"reduce":"no-preference")}function Lo(e){const t=j("(prefers-reduced-transparency: reduce)",e);return a.computed(()=>t.value?"reduce":"no-preference")}function No(e,t){const n=a.shallowRef(t);return a.watch(v.toRef(e),(o,u)=>{n.value=u},{flush:"sync"}),a.readonly(n)}const rt="--vueuse-safe-area-top",at="--vueuse-safe-area-right",it="--vueuse-safe-area-bottom",ut="--vueuse-safe-area-left";function xo(){const e=a.ref(""),t=a.ref(""),n=a.ref(""),o=a.ref("");if(v.isClient){const l=te(rt),i=te(at),r=te(it),s=te(ut);l.value="env(safe-area-inset-top, 0px)",i.value="env(safe-area-inset-right, 0px)",r.value="env(safe-area-inset-bottom, 0px)",s.value="env(safe-area-inset-left, 0px)",u(),O("resize",v.useDebounceFn(u))}function u(){e.value=pe(rt),t.value=pe(at),n.value=pe(it),o.value=pe(ut)}return{top:e,right:t,bottom:n,left:o,update:u}}function pe(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}function Wo(e,t=v.noop,n={}){const{immediate:o=!0,manual:u=!1,type:l="text/javascript",async:i=!0,crossOrigin:r,referrerPolicy:s,noModule:c,defer:f,document:d=B,attrs:g={}}=n,m=a.ref(null);let p=null;const y=w=>new Promise((S,T)=>{const _=V=>(m.value=V,S(V),V);if(!d){S(!1);return}let C=!1,k=d.querySelector(`script[src="${v.toValue(e)}"]`);k?k.hasAttribute("data-loaded")&&_(k):(k=d.createElement("script"),k.type=l,k.async=i,k.src=v.toValue(e),f&&(k.defer=f),r&&(k.crossOrigin=r),c&&(k.noModule=c),s&&(k.referrerPolicy=s),Object.entries(g).forEach(([V,D])=>k?.setAttribute(V,D)),C=!0),k.addEventListener("error",V=>T(V)),k.addEventListener("abort",V=>T(V)),k.addEventListener("load",()=>{k.setAttribute("data-loaded","true"),t(k),_(k)}),C&&(k=d.head.appendChild(k)),w||_(k)}),h=(w=!0)=>(p||(p=y(w)),p),b=()=>{if(!d)return;p=null,m.value&&(m.value=null);const w=d.querySelector(`script[src="${v.toValue(e)}"]`);w&&d.head.removeChild(w)};return o&&!u&&v.tryOnMounted(h),u||v.tryOnUnmounted(b),{scriptTag:m,load:h,unload:b}}function st(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:st(n)}}function Ho(e){const t=e||window.event,n=t.target;return st(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Oe=new WeakMap;function Uo(e,t=!1){const n=a.ref(t);let o=null,u="";a.watch(v.toRef(e),r=>{const s=me(v.toValue(r));if(s){const c=s;if(Oe.get(c)||Oe.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(u=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const l=()=>{const r=me(v.toValue(e));!r||n.value||(v.isIOS&&(o=O(r,"touchmove",s=>{Ho(s)},{passive:!1})),r.style.overflow="hidden",n.value=!0)},i=()=>{const r=me(v.toValue(e));!r||!n.value||(v.isIOS&&o?.(),r.style.overflow=u,Oe.delete(r),n.value=!1)};return v.tryOnScopeDispose(i),a.computed({get(){return n.value},set(r){r?l():i()}})}function $o(e,t,n={}){const{window:o=I}=n;return fe(e,t,o?.sessionStorage,n)}function Bo(e={},t={}){const{navigator:n=z}=t,o=n,u=W(()=>o&&"canShare"in o);return{isSupported:u,share:async(i={})=>{if(u.value){const r={...v.toValue(e),...v.toValue(i)};let s=!0;if(r.files&&o.canShare&&(s=o.canShare({files:r.files})),s)return o.share(r)}}}}const jo=(e,t)=>e.sort(t),ye=(e,t)=>e-t;function zo(...e){var t,n,o,u;const[l]=e;let i=ye,r={};e.length===2?typeof e[1]=="object"?(r=e[1],i=(t=r.compareFn)!=null?t:ye):i=(n=e[1])!=null?n:ye:e.length>2&&(i=(o=e[1])!=null?o:ye,r=(u=e[2])!=null?u:{});const{dirty:s=!1,sortFn:c=jo}=r;return s?(a.watchEffect(()=>{const f=c(v.toValue(l),i);a.isRef(l)?l.value=f:l.splice(0,l.length,...f)}),l):a.computed(()=>c([...v.toValue(l)],i))}function qo(e={}){const{interimResults:t=!0,continuous:n=!0,maxAlternatives:o=1,window:u=I}=e,l=v.toRef(e.lang||"en-US"),i=a.ref(!1),r=a.ref(!1),s=a.ref(""),c=a.shallowRef(void 0),f=(h=!i.value)=>{i.value=h},d=()=>{i.value=!0},g=()=>{i.value=!1},m=u&&(u.SpeechRecognition||u.webkitSpeechRecognition),p=W(()=>m);let y;return p.value&&(y=new m,y.continuous=n,y.interimResults=t,y.lang=v.toValue(l),y.maxAlternatives=o,y.onstart=()=>{r.value=!1},a.watch(l,h=>{y&&!i.value&&(y.lang=h)}),y.onresult=h=>{const b=h.results[h.resultIndex],{transcript:w}=b[0];r.value=b.isFinal,s.value=w,c.value=void 0},y.onerror=h=>{c.value=h},y.onend=()=>{i.value=!1,y.lang=v.toValue(l)},a.watch(i,()=>{i.value?y.start():y.stop()})),v.tryOnScopeDispose(()=>{i.value=!1}),{isSupported:p,isListening:i,isFinal:r,recognition:y,result:s,error:c,toggle:f,start:d,stop:g}}function Go(e,t={}){const{pitch:n=1,rate:o=1,volume:u=1,window:l=I}=t,i=l&&l.speechSynthesis,r=W(()=>i),s=a.ref(!1),c=a.ref("init"),f=v.toRef(e||""),d=v.toRef(t.lang||"en-US"),g=a.shallowRef(void 0),m=(w=!s.value)=>{s.value=w},p=w=>{w.lang=v.toValue(d),w.voice=v.toValue(t.voice)||null,w.pitch=v.toValue(n),w.rate=v.toValue(o),w.volume=u,w.onstart=()=>{s.value=!0,c.value="play"},w.onpause=()=>{s.value=!1,c.value="pause"},w.onresume=()=>{s.value=!0,c.value="play"},w.onend=()=>{s.value=!1,c.value="end"},w.onerror=S=>{g.value=S}},y=a.computed(()=>{s.value=!1,c.value="init";const w=new SpeechSynthesisUtterance(f.value);return p(w),w}),h=()=>{i.cancel(),y&&i.speak(y.value)},b=()=>{i.cancel(),s.value=!1};return r.value&&(p(y.value),a.watch(d,w=>{y.value&&!s.value&&(y.value.lang=w)}),t.voice&&a.watch(t.voice,()=>{i.cancel()}),a.watch(s,()=>{s.value?i.resume():i.pause()})),v.tryOnScopeDispose(()=>{s.value=!1}),{isSupported:r,isPlaying:s,status:c,utterance:y,error:g,stop:b,toggle:m,speak:h}}function Yo(e,t){const n=a.ref(e),o=a.computed(()=>Array.isArray(n.value)?n.value:Object.keys(n.value)),u=a.ref(o.value.indexOf(t??o.value[0])),l=a.computed(()=>f(u.value)),i=a.computed(()=>u.value===0),r=a.computed(()=>u.value===o.value.length-1),s=a.computed(()=>o.value[u.value+1]),c=a.computed(()=>o.value[u.value-1]);function f(_){return Array.isArray(n.value)?n.value[_]:n.value[o.value[_]]}function d(_){if(o.value.includes(_))return f(o.value.indexOf(_))}function g(_){o.value.includes(_)&&(u.value=o.value.indexOf(_))}function m(){r.value||u.value++}function p(){i.value||u.value--}function y(_){T(_)&&g(_)}function h(_){return o.value.indexOf(_)===u.value+1}function b(_){return o.value.indexOf(_)===u.value-1}function w(_){return o.value.indexOf(_)===u.value}function S(_){return u.value<o.value.indexOf(_)}function T(_){return u.value>o.value.indexOf(_)}return{steps:n,stepNames:o,index:u,current:l,next:s,previous:c,isFirst:i,isLast:r,at:f,get:d,goTo:g,goToNext:m,goToPrevious:p,goBackTo:y,isNext:h,isPrevious:b,isCurrent:w,isBefore:S,isAfter:T}}function Xo(e,t,n,o={}){var u;const{flush:l="pre",deep:i=!0,listenToStorageChanges:r=!0,writeDefaults:s=!0,mergeDefaults:c=!1,shallow:f,window:d=I,eventFilter:g,onError:m=S=>{console.error(S)}}=o,p=v.toValue(t),y=Ne(p),h=(f?a.shallowRef:a.ref)(t),b=(u=o.serializer)!=null?u:be[y];if(!n)try{n=ce("getDefaultStorageAsync",()=>{var S;return(S=I)==null?void 0:S.localStorage})()}catch(S){m(S)}async function w(S){if(!(!n||S&&S.key!==e))try{const T=S?S.newValue:await n.getItem(e);if(T==null)h.value=p,s&&p!==null&&await n.setItem(e,await b.write(p));else if(c){const _=await b.read(T);typeof c=="function"?h.value=c(_,p):y==="object"&&!Array.isArray(_)?h.value={...p,..._}:h.value=_}else h.value=await b.read(T)}catch(T){m(T)}}return w(),d&&r&&O(d,"storage",S=>Promise.resolve().then(()=>w(S))),n&&v.watchWithFilter(h,async()=>{try{h.value==null?await n.removeItem(e):await n.setItem(e,await b.write(h.value))}catch(S){m(S)}},{flush:l,deep:i,eventFilter:g}),h}let Ko=0;function Jo(e,t={}){const n=a.ref(!1),{document:o=B,immediate:u=!0,manual:l=!1,id:i=`vueuse_styletag_${++Ko}`}=t,r=a.ref(e);let s=()=>{};const c=()=>{if(!o)return;const d=o.getElementById(i)||o.createElement("style");d.isConnected||(d.id=i,t.media&&(d.media=t.media),o.head.appendChild(d)),!n.value&&(s=a.watch(r,g=>{d.textContent=g},{immediate:!0}),n.value=!0)},f=()=>{!o||!n.value||(s(),o.head.removeChild(o.getElementById(i)),n.value=!1)};return u&&!l&&v.tryOnMounted(c),l||v.tryOnScopeDispose(f),{id:i,css:r,unload:f,load:c,isLoaded:a.readonly(n)}}function Qo(e,t={}){const{threshold:n=50,onSwipe:o,onSwipeEnd:u,onSwipeStart:l,passive:i=!0,window:r=I}=t,s=a.reactive({x:0,y:0}),c=a.reactive({x:0,y:0}),f=a.computed(()=>s.x-c.x),d=a.computed(()=>s.y-c.y),{max:g,abs:m}=Math,p=a.computed(()=>g(m(f.value),m(d.value))>=n),y=a.ref(!1),h=a.computed(()=>p.value?m(f.value)>m(d.value)?f.value>0?"left":"right":d.value>0?"up":"down":"none"),b=D=>[D.touches[0].clientX,D.touches[0].clientY],w=(D,P)=>{s.x=D,s.y=P},S=(D,P)=>{c.x=D,c.y=P};let T;const _=Zo(r?.document);i?T=_?{passive:!0}:{capture:!1}:T=_?{passive:!1,capture:!0}:{capture:!0};const C=D=>{y.value&&u?.(D,h.value),y.value=!1},k=[O(e,"touchstart",D=>{if(D.touches.length!==1)return;const[P,R]=b(D);w(P,R),S(P,R),l?.(D)},T),O(e,"touchmove",D=>{if(D.touches.length!==1)return;const[P,R]=b(D);S(P,R),T.capture&&!T.passive&&Math.abs(f.value)>Math.abs(d.value)&&D.preventDefault(),!y.value&&p.value&&(y.value=!0),y.value&&o?.(D)},T),O(e,["touchend","touchcancel"],C,T)];return{isPassiveEventSupported:_,isSwiping:y,direction:h,coordsStart:s,coordsEnd:c,lengthX:f,lengthY:d,stop:()=>k.forEach(D=>D())}}function Zo(e){if(!e)return!1;let t=!1;const n={get passive(){return t=!0,!1}};return e.addEventListener("x",v.noop,n),e.removeEventListener("x",v.noop),t}function el(){const e=a.ref([]);return e.value.set=t=>{t&&e.value.push(t)},a.onBeforeUpdate(()=>{e.value.length=0}),e}function tl(e={}){const{document:t=B,selector:n="html",observe:o=!1,initialValue:u="ltr"}=e;function l(){var r,s;return(s=(r=t?.querySelector(n))==null?void 0:r.getAttribute("dir"))!=null?s:u}const i=a.ref(l());return v.tryOnMounted(()=>i.value=l()),o&&t&&K(t.querySelector(n),()=>i.value=l(),{attributes:!0}),a.computed({get(){return i.value},set(r){var s,c;i.value=r,t&&(i.value?(s=t.querySelector(n))==null||s.setAttribute("dir",i.value):(c=t.querySelector(n))==null||c.removeAttribute("dir"))}})}function nl(e){var t;const n=(t=e.rangeCount)!=null?t:0;return Array.from({length:n},(o,u)=>e.getRangeAt(u))}function ol(e={}){const{window:t=I}=e,n=a.ref(null),o=a.computed(()=>{var r,s;return(s=(r=n.value)==null?void 0:r.toString())!=null?s:""}),u=a.computed(()=>n.value?nl(n.value):[]),l=a.computed(()=>u.value.map(r=>r.getBoundingClientRect()));function i(){n.value=null,t&&(n.value=t.getSelection())}return t&&O(t.document,"selectionchange",i),{text:o,rects:l,ranges:u,selection:n}}function ll(e){var t,n;const o=v.toRef(e?.element),u=v.toRef((t=e?.input)!=null?t:""),l=(n=e?.styleProp)!=null?n:"height",i=a.ref(1),r=a.ref(0);function s(){var c;if(!o.value)return;let f="";o.value.style[l]="1px",i.value=(c=o.value)==null?void 0:c.scrollHeight;const d=v.toValue(e?.styleTarget);d?d.style[l]=`${i.value}px`:f=`${i.value}px`,o.value.style[l]=f}return a.watch([u,o],()=>a.nextTick(s),{immediate:!0}),a.watch(i,()=>{var c;return(c=e?.onResize)==null?void 0:c.call(e)}),de(o,([{contentRect:c}])=>{r.value!==c.width&&(r.value=c.width,s())}),e?.watch&&a.watch(e.watch,s,{immediate:!0,deep:!0}),{textarea:o,input:u,triggerResize:s}}function rl(e,t={}){const{throttle:n=200,trailing:o=!0}=t,u=v.throttleFilter(n,o);return{...Ee(e,{...t,eventFilter:u})}}const al=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],il={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function ul(e){return e.toISOString().slice(0,10)}function sl(e,t={}){const{controls:n=!1,updateInterval:o=3e4}=t,{now:u,...l}=tt({interval:o,controls:!0}),i=a.computed(()=>ct(new Date(v.toValue(e)),t,v.toValue(u)));return n?{timeAgo:i,...l}:i}function ct(e,t={},n=Date.now()){var o;const{max:u,messages:l=il,fullDateFormatter:i=ul,units:r=al,showSecond:s=!1,rounding:c="round"}=t,f=typeof c=="number"?h=>+h.toFixed(c):Math[c],d=+n-+e,g=Math.abs(d);function m(h,b){return f(Math.abs(h)/b.value)}function p(h,b){const w=m(h,b),S=h>0,T=y(b.name,w,S);return y(S?"past":"future",T,S)}function y(h,b,w){const S=l[h];return typeof S=="function"?S(b,w):S.replace("{0}",b.toString())}if(g<6e4&&!s)return l.justNow;if(typeof u=="number"&&g>u)return i(new Date(e));if(typeof u=="string"){const h=(o=r.find(b=>b.name===u))==null?void 0:o.max;if(h&&g>h)return i(new Date(e))}for(const[h,b]of r.entries()){if(m(d,b)<=0&&r[h-1])return p(d,r[h-1]);if(g<b.max)return p(d,b)}return l.invalid}function cl(e,t,n){const{start:o}=v.useTimeoutFn(l,t,{immediate:!1}),u=a.ref(!1);async function l(){u.value&&(await e(),o())}function i(){u.value||(u.value=!0,l())}function r(){u.value=!1}return n?.immediate&&i(),v.tryOnScopeDispose(r),{isActive:u,pause:r,resume:i}}function fl(e={}){const{controls:t=!1,offset:n=0,immediate:o=!0,interval:u="requestAnimationFrame",callback:l}=e,i=a.ref(v.timestamp()+n),r=()=>i.value=v.timestamp()+n,s=l?()=>{r(),l(i.value)}:r,c=u==="requestAnimationFrame"?G(s,{immediate:o}):v.useIntervalFn(s,u,{immediate:o});return t?{timestamp:i,...c}:i}function dl(e=null,t={}){var n,o,u;const{document:l=B,restoreOnUnmount:i=d=>d}=t,r=(n=l?.title)!=null?n:"",s=v.toRef((o=e??l?.title)!=null?o:null),c=e&&typeof e=="function";function f(d){if(!("titleTemplate"in t))return d;const g=t.titleTemplate||"%s";return typeof g=="function"?g(d):v.toValue(g).replace(/%s/g,d)}return a.watch(s,(d,g)=>{d!==g&&l&&(l.title=f(typeof d=="string"?d:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&l&&!c&&K((u=l.head)==null?void 0:u.querySelector("title"),()=>{l&&l.title!==s.value&&(s.value=f(l.title))},{childList:!0}),v.tryOnBeforeUnmount(()=>{if(i){const d=i(r,s.value||"");d!=null&&l&&(l.title=d)}}),s}const vl={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]},ml=Object.assign({},{linear:v.identity},vl);function pl([e,t,n,o]){const u=(f,d)=>1-3*d+3*f,l=(f,d)=>3*d-6*f,i=f=>3*f,r=(f,d,g)=>((u(d,g)*f+l(d,g))*f+i(d))*f,s=(f,d,g)=>3*u(d,g)*f*f+2*l(d,g)*f+i(d),c=f=>{let d=f;for(let g=0;g<4;++g){const m=s(d,e,n);if(m===0)return d;const p=r(d,e,n)-f;d-=p/m}return d};return f=>e===t&&n===o?f:r(c(f),t,o)}function ft(e,t,n){return e+n*(t-e)}function _e(e){return(typeof e=="number"?[e]:e)||[]}function dt(e,t,n,o={}){var u,l;const i=v.toValue(t),r=v.toValue(n),s=_e(i),c=_e(r),f=(u=v.toValue(o.duration))!=null?u:1e3,d=Date.now(),g=Date.now()+f,m=typeof o.transition=="function"?o.transition:(l=v.toValue(o.transition))!=null?l:v.identity,p=typeof m=="function"?m:pl(m);return new Promise(y=>{e.value=i;const h=()=>{var b;if((b=o.abort)!=null&&b.call(o)){y();return}const w=Date.now(),S=p((w-d)/f),T=_e(e.value).map((_,C)=>ft(s[C],c[C],S));Array.isArray(e.value)?e.value=T.map((_,C)=>{var k,V;return ft((k=s[C])!=null?k:0,(V=c[C])!=null?V:0,S)}):typeof e.value=="number"&&(e.value=T[0]),w<g?requestAnimationFrame(h):(e.value=r,y())};h()})}function yl(e,t={}){let n=0;const o=()=>{const l=v.toValue(e);return typeof l=="number"?l:l.map(v.toValue)},u=a.ref(o());return a.watch(o,async l=>{var i,r;if(v.toValue(t.disabled))return;const s=++n;if(t.delay&&await v.promiseTimeout(v.toValue(t.delay)),s!==n)return;const c=Array.isArray(l)?l.map(v.toValue):v.toValue(l);(i=t.onStarted)==null||i.call(t),await dt(u,u.value,c,{...t,abort:()=>{var f;return s!==n||((f=t.abort)==null?void 0:f.call(t))}}),(r=t.onFinished)==null||r.call(t)},{deep:!0}),a.watch(()=>v.toValue(t.disabled),l=>{l&&(n++,u.value=o())}),v.tryOnScopeDispose(()=>{n++}),a.computed(()=>v.toValue(t.disabled)?o():u.value)}function gl(e="history",t={}){const{initialValue:n={},removeNullishValues:o=!0,removeFalsyValues:u=!1,write:l=!0,writeMode:i="replace",window:r=I}=t;if(!r)return a.reactive(n);const s=a.reactive({});function c(){if(e==="history")return r.location.search||"";if(e==="hash"){const w=r.location.hash||"",S=w.indexOf("?");return S>0?w.slice(S):""}else return(r.location.hash||"").replace(/^#/,"")}function f(w){const S=w.toString();if(e==="history")return`${S?`?${S}`:""}${r.location.hash||""}`;if(e==="hash-params")return`${r.location.search||""}${S?`#${S}`:""}`;const T=r.location.hash||"#",_=T.indexOf("?");return _>0?`${r.location.search||""}${T.slice(0,_)}${S?`?${S}`:""}`:`${r.location.search||""}${T}${S?`?${S}`:""}`}function d(){return new URLSearchParams(c())}function g(w){const S=new Set(Object.keys(s));for(const T of w.keys()){const _=w.getAll(T);s[T]=_.length>1?_:w.get(T)||"",S.delete(T)}Array.from(S).forEach(T=>delete s[T])}const{pause:m,resume:p}=v.pausableWatch(s,()=>{const w=new URLSearchParams("");Object.keys(s).forEach(S=>{const T=s[S];Array.isArray(T)?T.forEach(_=>w.append(S,_)):o&&T==null||u&&!T?w.delete(S):w.set(S,T)}),y(w,!1)},{deep:!0});function y(w,S){m(),S&&g(w),i==="replace"?r.history.replaceState(r.history.state,r.document.title,r.location.pathname+f(w)):r.history.pushState(r.history.state,r.document.title,r.location.pathname+f(w)),p()}function h(){l&&y(d(),!0)}O(r,"popstate",h,!1),e!=="history"&&O(r,"hashchange",h,!1);const b=d();return b.keys().next().value?g(b):Object.assign(s,n),s}function hl(e={}){var t,n;const o=a.ref((t=e.enabled)!=null?t:!1),u=a.ref((n=e.autoSwitch)!=null?n:!0),l=a.ref(e.constraints),{navigator:i=z}=e,r=W(()=>{var y;return(y=i?.mediaDevices)==null?void 0:y.getUserMedia}),s=a.shallowRef();function c(y){switch(y){case"video":{if(l.value)return l.value.video||!1;break}case"audio":{if(l.value)return l.value.audio||!1;break}}}async function f(){if(!(!r.value||s.value))return s.value=await i.mediaDevices.getUserMedia({video:c("video"),audio:c("audio")}),s.value}function d(){var y;(y=s.value)==null||y.getTracks().forEach(h=>h.stop()),s.value=void 0}function g(){d(),o.value=!1}async function m(){return await f(),s.value&&(o.value=!0),s.value}async function p(){return d(),await m()}return a.watch(o,y=>{y?f():d()},{immediate:!0}),a.watch(l,()=>{u.value&&s.value&&p()},{immediate:!0}),v.tryOnScopeDispose(()=>{g()}),{isSupported:r,stream:s,start:m,stop:g,restart:p,constraints:l,enabled:o,autoSwitch:u}}function vt(e,t,n,o={}){var u,l,i;const{clone:r=!1,passive:s=!1,eventName:c,deep:f=!1,defaultValue:d,shouldEmit:g}=o,m=a.getCurrentInstance(),p=n||m?.emit||((u=m?.$emit)==null?void 0:u.bind(m))||((i=(l=m?.proxy)==null?void 0:l.$emit)==null?void 0:i.bind(m?.proxy));let y=c;t||(t="modelValue"),y=y||`update:${t.toString()}`;const h=S=>r?typeof r=="function"?r(S):ee(S):S,b=()=>v.isDef(e[t])?h(e[t]):d,w=S=>{g?g(S)&&p(y,S):p(y,S)};if(s){const S=b(),T=a.ref(S);let _=!1;return a.watch(()=>e[t],C=>{_||(_=!0,T.value=h(C),a.nextTick(()=>_=!1))}),a.watch(T,C=>{!_&&(C!==e[t]||f)&&w(C)},{deep:f}),T}else return a.computed({get(){return b()},set(S){w(S)}})}function wl(e,t,n={}){const o={};for(const u in e)o[u]=vt(e,u,t,n);return o}function bl(e){const{pattern:t=[],interval:n=0,navigator:o=z}=e||{},u=W(()=>typeof o<"u"&&"vibrate"in o),l=v.toRef(t);let i;const r=(c=l.value)=>{u.value&&o.vibrate(c)},s=()=>{u.value&&o.vibrate(0),i?.pause()};return n>0&&(i=v.useIntervalFn(r,n,{immediate:!1,immediateCallback:!1})),{isSupported:u,pattern:t,intervalControls:i,vibrate:r,stop:s}}function Sl(e,t){const{containerStyle:n,wrapperProps:o,scrollTo:u,calculateRange:l,currentList:i,containerRef:r}="itemHeight"in t?kl(t,e):Tl(t,e);return{list:i,scrollTo:u,containerProps:{ref:r,onScroll:()=>{l()},style:n},wrapperProps:o}}function mt(e){const t=a.ref(null),n=je(t),o=a.ref([]),u=a.shallowRef(e);return{state:a.ref({start:0,end:10}),source:u,currentList:o,size:n,containerRef:t}}function pt(e,t,n){return o=>{if(typeof n=="number")return Math.ceil(o/n);const{start:u=0}=e.value;let l=0,i=0;for(let r=u;r<t.value.length;r++){const s=n(r);if(l+=s,i=r,l>o)break}return i-u}}function yt(e,t){return n=>{if(typeof t=="number")return Math.floor(n/t)+1;let o=0,u=0;for(let l=0;l<e.value.length;l++){const i=t(l);if(o+=i,o>=n){u=l;break}}return u+1}}function gt(e,t,n,o,{containerRef:u,state:l,currentList:i,source:r}){return()=>{const s=u.value;if(s){const c=n(e==="vertical"?s.scrollTop:s.scrollLeft),f=o(e==="vertical"?s.clientHeight:s.clientWidth),d=c-t,g=c+f+t;l.value={start:d<0?0:d,end:g>r.value.length?r.value.length:g},i.value=r.value.slice(l.value.start,l.value.end).map((m,p)=>({data:m,index:p+l.value.start}))}}}function ht(e,t){return n=>typeof e=="number"?n*e:t.value.slice(0,n).reduce((u,l,i)=>u+e(i),0)}function wt(e,t,n,o){a.watch([e.width,e.height,t,n],()=>{o()})}function bt(e,t){return a.computed(()=>typeof e=="number"?t.value.length*e:t.value.reduce((n,o,u)=>n+e(u),0))}const El={horizontal:"scrollLeft",vertical:"scrollTop"};function St(e,t,n,o){return u=>{o.value&&(o.value[El[e]]=n(u),t())}}function Tl(e,t){const n=mt(t),{state:o,source:u,currentList:l,size:i,containerRef:r}=n,s={overflowX:"auto"},{itemWidth:c,overscan:f=5}=e,d=pt(o,u,c),g=yt(u,c),m=gt("horizontal",f,g,d,n),p=ht(c,u),y=a.computed(()=>p(o.value.start)),h=bt(c,u);wt(i,t,r,m);const b=St("horizontal",m,p,r),w=a.computed(()=>({style:{height:"100%",width:`${h.value-y.value}px`,marginLeft:`${y.value}px`,display:"flex"}}));return{scrollTo:b,calculateRange:m,wrapperProps:w,containerStyle:s,currentList:l,containerRef:r}}function kl(e,t){const n=mt(t),{state:o,source:u,currentList:l,size:i,containerRef:r}=n,s={overflowY:"auto"},{itemHeight:c,overscan:f=5}=e,d=pt(o,u,c),g=yt(u,c),m=gt("vertical",f,g,d,n),p=ht(c,u),y=a.computed(()=>p(o.value.start)),h=bt(c,u);wt(i,t,r,m);const b=St("vertical",m,p,r),w=a.computed(()=>({style:{width:"100%",height:`${h.value-y.value}px`,marginTop:`${y.value}px`}}));return{calculateRange:m,scrollTo:b,containerStyle:s,wrapperProps:w,currentList:l,containerRef:r}}function Ol(e={}){const{navigator:t=z,document:n=B}=e,o=a.ref(!1),u=a.shallowRef(null),l=Be({document:n}),i=W(()=>t&&"wakeLock"in t),r=a.computed(()=>!!u.value&&l.value==="visible");i.value&&(O(u,"release",()=>{var d,g;o.value=(g=(d=u.value)==null?void 0:d.type)!=null?g:!1}),v.whenever(()=>l.value==="visible"&&n?.visibilityState==="visible"&&o.value,d=>{o.value=!1,s(d)}));async function s(d){var g;await((g=u.value)==null?void 0:g.release()),u.value=i.value?await t.wakeLock.request(d):null}async function c(d){l.value==="visible"?await s(d):o.value=d}async function f(){o.value=!1;const d=u.value;u.value=null,await d?.release()}return{sentinel:u,isSupported:i,isActive:r,request:c,forceRequest:s,release:f}}function _l(e={}){const{window:t=I,requestPermissions:n=!0}=e,o=e,u=W(()=>{if(!t||!("Notification"in t))return!1;if(Notification.permission==="granted")return!0;try{const w=new Notification("");w.onshow=()=>{w.close()}}catch(w){if(w.name==="TypeError")return!1}return!0}),l=a.ref(u.value&&"permission"in Notification&&Notification.permission==="granted"),i=a.ref(null),r=async()=>{if(u.value)return!l.value&&Notification.permission!=="denied"&&await Notification.requestPermission()==="granted"&&(l.value=!0),l.value},{on:s,trigger:c}=v.createEventHook(),{on:f,trigger:d}=v.createEventHook(),{on:g,trigger:m}=v.createEventHook(),{on:p,trigger:y}=v.createEventHook(),h=async w=>{if(!u.value||!l.value)return;const S=Object.assign({},o,w);return i.value=new Notification(S.title||"",S),i.value.onclick=c,i.value.onshow=d,i.value.onerror=m,i.value.onclose=y,i.value},b=()=>{i.value&&i.value.close(),i.value=null};if(n&&v.tryOnMounted(r),v.tryOnScopeDispose(b),u.value&&t){const w=t.document;O(w,"visibilitychange",S=>{S.preventDefault(),w.visibilityState==="visible"&&b()})}return{isSupported:u,notification:i,ensurePermissions:r,permissionGranted:l,show:h,close:b,onClick:s,onShow:f,onError:g,onClose:p}}const Et="ping";function Re(e){return e===!0?{}:e}function Rl(e,t={}){const{onConnected:n,onDisconnected:o,onError:u,onMessage:l,immediate:i=!0,autoConnect:r=!0,autoClose:s=!0,protocols:c=[]}=t,f=a.ref(null),d=a.ref("CLOSED"),g=a.ref(),m=v.toRef(e);let p,y,h=!1,b=0,w=[],S,T;const _=()=>{if(w.length&&g.value&&d.value==="OPEN"){for(const F of w)g.value.send(F);w=[]}},C=()=>{S!=null&&(clearTimeout(S),S=void 0)},k=()=>{clearTimeout(T),T=void 0},V=(F=1e3,A)=>{C(),!(!v.isClient&&!v.isWorker||!g.value)&&(h=!0,k(),p?.(),g.value.close(F,A),g.value=void 0)},D=(F,A=!0)=>!g.value||d.value!=="OPEN"?(A&&w.push(F),!1):(_(),g.value.send(F),!0),P=()=>{if(h||typeof m.value>"u")return;const F=new WebSocket(m.value,c);g.value=F,d.value="CONNECTING",F.onopen=()=>{d.value="OPEN",b=0,n?.(F),y?.(),_()},F.onclose=A=>{if(d.value="CLOSED",o?.(F,A),!h&&t.autoReconnect&&(g.value==null||F===g.value)){const{retries:L=-1,delay:H=1e3,onFailed:M}=Re(t.autoReconnect);typeof L=="number"&&(L<0||b<L)?(b+=1,S=setTimeout(P,H)):typeof L=="function"&&L()?S=setTimeout(P,H):M?.()}},F.onerror=A=>{u?.(F,A)},F.onmessage=A=>{if(t.heartbeat){k();const{message:L=Et,responseMessage:H=L}=Re(t.heartbeat);if(A.data===v.toValue(H))return}f.value=A.data,l?.(F,A)}};if(t.heartbeat){const{message:F=Et,interval:A=1e3,pongTimeout:L=1e3}=Re(t.heartbeat),{pause:H,resume:M}=v.useIntervalFn(()=>{D(v.toValue(F),!1),T==null&&(T=setTimeout(()=>{V(),h=!1},L))},A,{immediate:!1});p=H,y=M}s&&(v.isClient&&O("beforeunload",()=>V()),v.tryOnScopeDispose(V));const R=()=>{!v.isClient&&!v.isWorker||(V(),h=!1,b=0,P())};return i&&R(),r&&a.watch(m,R),{data:f,status:d,close:V,send:D,open:R,ws:g}}function Vl(e,t,n){const{window:o=I}=n??{},u=a.ref(null),l=a.shallowRef(),i=(...s)=>{l.value&&l.value.postMessage(...s)},r=function(){l.value&&l.value.terminate()};return o&&(typeof e=="string"?l.value=new Worker(e,t):typeof e=="function"?l.value=e():l.value=e,l.value.onmessage=s=>{u.value=s.data},v.tryOnScopeDispose(()=>{l.value&&l.value.terminate()})),{data:u,post:i,terminate:r,worker:l}}function Fl(e,t){if(e.length===0&&t.length===0)return"";const n=e.map(l=>`'${l}'`).toString(),o=t.filter(l=>typeof l=="function").map(l=>{const i=l.toString();return i.trim().startsWith("function")?i:`const ${l.name} = ${i}`}).join(";"),u=`importScripts(${n});`;return`${n.trim()===""?"":u} ${o}`}function Pl(e){return t=>{const n=t.data[0];return Promise.resolve(e.apply(void 0,n)).then(o=>{postMessage(["SUCCESS",o])}).catch(o=>{postMessage(["ERROR",o])})}}function Dl(e,t,n){const o=`${Fl(t,n)}; onmessage=(${Pl})(${e})`,u=new Blob([o],{type:"text/javascript"});return URL.createObjectURL(u)}function Cl(e,t={}){const{dependencies:n=[],localDependencies:o=[],timeout:u,window:l=I}=t,i=a.ref(),r=a.ref("PENDING"),s=a.ref({}),c=a.ref(),f=(p="PENDING")=>{i.value&&i.value._url&&l&&(i.value.terminate(),URL.revokeObjectURL(i.value._url),s.value={},i.value=void 0,l.clearTimeout(c.value),r.value=p)};f(),v.tryOnScopeDispose(f);const d=()=>{const p=Dl(e,n,o),y=new Worker(p);return y._url=p,y.onmessage=h=>{const{resolve:b=()=>{},reject:w=()=>{}}=s.value,[S,T]=h.data;switch(S){case"SUCCESS":b(T),f(S);break;default:w(T),f("ERROR");break}},y.onerror=h=>{const{reject:b=()=>{}}=s.value;h.preventDefault(),b(h),f("ERROR")},u&&(c.value=setTimeout(()=>f("TIMEOUT_EXPIRED"),u)),y},g=(...p)=>new Promise((y,h)=>{var b;s.value={resolve:y,reject:h},(b=i.value)==null||b.postMessage([[...p]]),r.value="RUNNING"});return{workerFn:(...p)=>r.value==="RUNNING"?(console.error("[useWebWorkerFn] You can only run one instance of the worker at a time."),Promise.reject()):(i.value=d(),g(...p)),workerStatus:r,workerTerminate:f}}function Al(e={}){const{window:t=I}=e;if(!t)return a.ref(!1);const n=a.ref(t.document.hasFocus());return O(t,"blur",()=>{n.value=!1}),O(t,"focus",()=>{n.value=!0}),n}function Ml(e={}){const{window:t=I,behavior:n="auto"}=e;if(!t)return{x:a.ref(0),y:a.ref(0)};const o=a.ref(t.scrollX),u=a.ref(t.scrollY),l=a.computed({get(){return o.value},set(r){scrollTo({left:r,behavior:n})}}),i=a.computed({get(){return u.value},set(r){scrollTo({top:r,behavior:n})}});return O(t,"scroll",()=>{o.value=t.scrollX,u.value=t.scrollY},{capture:!1,passive:!0}),{x:l,y:i}}function Il(e={}){const{window:t=I,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:u=!0,includeScrollbar:l=!0,type:i="inner"}=e,r=a.ref(n),s=a.ref(o),c=()=>{if(t)if(i==="outer")r.value=t.outerWidth,s.value=t.outerHeight;else if(i==="visual"&&t.visualViewport){const{width:f,height:d,scale:g}=t.visualViewport;r.value=Math.round(f*g),s.value=Math.round(d*g)}else l?(r.value=t.innerWidth,s.value=t.innerHeight):(r.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight)};if(c(),v.tryOnMounted(c),O("resize",c,{passive:!0}),t&&i==="visual"&&t.visualViewport&&O(t.visualViewport,"resize",c,{passive:!0}),u){const f=j("(orientation: portrait)");a.watch(f,()=>c())}return{width:r,height:s}}E.DefaultMagicKeysAliasMap=Je,E.StorageSerializers=be,E.TransitionPresets=ml,E.asyncComputed=Ve,E.breakpointsAntDesign=tn,E.breakpointsBootstrapV5=Qt,E.breakpointsElement=an,E.breakpointsMasterCss=ln,E.breakpointsPrimeFlex=rn,E.breakpointsQuasar=nn,E.breakpointsSematic=on,E.breakpointsTailwind=Jt,E.breakpointsVuetify=en,E.breakpointsVuetifyV2=Ae,E.breakpointsVuetifyV3=Zt,E.cloneFnJSON=ee,E.computedAsync=Ve,E.computedInject=kt,E.createFetch=$n,E.createReusableTemplate=Ot,E.createTemplatePromise=Rt,E.createUnrefFn=Vt,E.customStorageEventName=Se,E.defaultDocument=B,E.defaultLocation=Ft,E.defaultNavigator=z,E.defaultWindow=I,E.executeTransition=dt,E.formatTimeAgo=ct,E.getSSRHandler=ce,E.mapGamepadToXbox360Controller=Zn,E.onClickOutside=Pt,E.onKeyDown=Ct,E.onKeyPressed=At,E.onKeyStroke=ae,E.onKeyUp=Mt,E.onLongPress=Nt,E.onStartTyping=Ht,E.provideSSRWidth=Kt,E.setSSRHandler=yn,E.templateRef=Ut,E.unrefElement=x,E.useActiveElement=De,E.useAnimate=$t,E.useAsyncQueue=Bt,E.useAsyncState=Ce,E.useBase64=qt,E.useBattery=Yt,E.useBluetooth=Xt,E.useBreakpoints=un,E.useBroadcastChannel=sn,E.useBrowserLocation=cn,E.useCached=fn,E.useClipboard=dn,E.useClipboardItems=vn,E.useCloned=mn,E.useColorMode=xe,E.useConfirmDialog=hn,E.useCssVar=te,E.useCurrentElement=We,E.useCycleList=wn,E.useDark=bn,E.useDebouncedRefHistory=kn,E.useDeviceMotion=On,E.useDeviceOrientation=$e,E.useDevicePixelRatio=_n,E.useDevicesList=Rn,E.useDisplayMedia=Vn,E.useDocumentVisibility=Be,E.useDraggable=Fn,E.useDropZone=Pn,E.useElementBounding=Dn,E.useElementByPoint=Cn,E.useElementHover=An,E.useElementSize=je,E.useElementVisibility=qe,E.useEventBus=Mn,E.useEventListener=O,E.useEventSource=Ln,E.useEyeDropper=Nn,E.useFavicon=xn,E.useFetch=Ge,E.useFileDialog=zn,E.useFileSystemAccess=qn,E.useFocus=Gn,E.useFocusWithin=Kn,E.useFps=Jn,E.useFullscreen=Qn,E.useGamepad=eo,E.useGeolocation=to,E.useIdle=lo,E.useImage=ao,E.useInfiniteScroll=io,E.useIntersectionObserver=ze,E.useKeyModifier=so,E.useLocalStorage=co,E.useMagicKeys=fo,E.useManualRefHistory=Ue,E.useMediaControls=po,E.useMediaQuery=j,E.useMemoize=yo,E.useMemory=go,E.useMounted=Pe,E.useMouse=Qe,E.useMouseInElement=Ze,E.useMousePressed=wo,E.useMutationObserver=K,E.useNavigatorLanguage=bo,E.useNetwork=et,E.useNow=tt,E.useObjectUrl=So,E.useOffsetPagination=Eo,E.useOnline=To,E.usePageLeave=ko,E.useParallax=Oo,E.useParentElement=_o,E.usePerformanceObserver=Ro,E.usePermission=ie,E.usePointer=Fo,E.usePointerLock=Po,E.usePointerSwipe=Do,E.usePreferredColorScheme=Co,E.usePreferredContrast=Ao,E.usePreferredDark=Le,E.usePreferredLanguages=Mo,E.usePreferredReducedMotion=Io,E.usePreferredReducedTransparency=Lo,E.usePrevious=No,E.useRafFn=G,E.useRefHistory=Ee,E.useResizeObserver=de,E.useSSRWidth=we,E.useScreenOrientation=ot,E.useScreenSafeArea=xo,E.useScriptTag=Wo,E.useScroll=Ke,E.useScrollLock=Uo,E.useSessionStorage=$o,E.useShare=Bo,E.useSorted=zo,E.useSpeechRecognition=qo,E.useSpeechSynthesis=Go,E.useStepper=Yo,E.useStorage=fe,E.useStorageAsync=Xo,E.useStyleTag=Jo,E.useSupported=W,E.useSwipe=Qo,E.useTemplateRefsList=el,E.useTextDirection=tl,E.useTextSelection=ol,E.useTextareaAutosize=ll,E.useThrottledRefHistory=rl,E.useTimeAgo=sl,E.useTimeoutPoll=cl,E.useTimestamp=fl,E.useTitle=dl,E.useTransition=yl,E.useUrlSearchParams=gl,E.useUserMedia=hl,E.useVModel=vt,E.useVModels=wl,E.useVibrate=bl,E.useVirtualList=Sl,E.useWakeLock=Ol,E.useWebNotification=_l,E.useWebSocket=Rl,E.useWebWorker=Vl,E.useWebWorkerFn=Cl,E.useWindowFocus=Al,E.useWindowScroll=Ml,E.useWindowSize=Il,Object.keys(v).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(E,e)&&Object.defineProperty(E,e,{enumerable:!0,get:function(){return v[e]}})})})(this.VueUse=this.VueUse||{},VueUse,Vue);
|