@vtj/pro 0.13.28 → 0.13.29

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.
Files changed (55) hide show
  1. package/dist/@vtj/materials/assets/antdv/index.umd.js +2 -2
  2. package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
  3. package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
  4. package/dist/@vtj/materials/assets/icons/index.umd.js +2 -2
  5. package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
  6. package/dist/@vtj/materials/assets/uni-h5/index.umd.js +2 -2
  7. package/dist/@vtj/materials/assets/uni-ui/index.umd.js +2 -2
  8. package/dist/@vtj/materials/assets/vant/index.umd.js +2 -2
  9. package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
  10. package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
  11. package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +2 -2
  12. package/dist/@vtj/materials/deps/@vtj/ui/style.css +1 -1
  13. package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +7 -7
  14. package/dist/@vtj/materials/deps/vue/vue.global.js +151 -128
  15. package/dist/@vtj/materials/deps/vue/vue.global.prod.js +5 -5
  16. package/dist/assets/{@element-plus-icons-vue-DE0zzihg.js → @element-plus-icons-vue-Wht5hDuw.js} +1 -1
  17. package/dist/assets/{@vueuse-BJJKbYUL.js → @vueuse--GEK18_Y.js} +1 -1
  18. package/dist/assets/{Editor-B75xHQnC-BSWrcsUN.js → Editor-BMuQppe5-CHXZ3yZL.js} +35 -34
  19. package/dist/assets/Editor-BMuQppe5-Cid80NMR.css +1 -0
  20. package/dist/assets/{auth-CEvGgnB6.js → auth-98wViUFP.js} +1 -1
  21. package/dist/assets/{element-plus-CIjwSFik.js → element-plus-DzGjmbPT.js} +2 -2
  22. package/dist/assets/{index-DsSlYZK8.js → index-Cj7CkFBB.js} +2 -2
  23. package/dist/assets/{index-a8PwrVKy.js → index-qG_ql6fO.js} +1 -1
  24. package/dist/assets/{page-mcEC9wSN.js → page-hDRsKLFQ.js} +2 -2
  25. package/dist/assets/{preview-BTsOe2-2.js → preview-EqX5uNMo.js} +2 -2
  26. package/dist/assets/uni-page-DwR0saAW.js +1 -0
  27. package/dist/assets/{utils-Do-d99R6.js → utils-PnTZyUOd.js} +1 -1
  28. package/dist/assets/vue-BCeUdUZW.js +34 -0
  29. package/dist/assets/{vue-router-CMJRGE5e.js → vue-router-DhSsrCnR.js} +1 -1
  30. package/dist/assets/{vxe-3kB2iE1H.js → vxe-B6nyV_6w.js} +1 -1
  31. package/dist/index.html +8 -8
  32. package/dist/uni/assets/{index-CN7G6Egy.js → index-DsBLZHhj.js} +9 -9
  33. package/dist/uni/index.html +1 -1
  34. package/package.json +11 -11
  35. package/dist/assets/Editor-B75xHQnC-CorvqbXP.css +0 -1
  36. package/dist/assets/uni-page-B0qhTPS3.js +0 -1
  37. package/dist/assets/vue-DgQ6LK_p.js +0 -34
  38. package/src/.vtj/files/1a99m0h6.json +0 -108
  39. package/src/.vtj/histories/1a99m0h6/1a99mnpa.json +0 -118
  40. package/src/.vtj/histories/1a99m0h6/1a99vz9d.json +0 -118
  41. package/src/.vtj/histories/1a99m0h6/1a9a1im3.json +0 -118
  42. package/src/.vtj/histories/1a99m0h6/1a9a8cp6.json +0 -118
  43. package/src/.vtj/histories/1a99m0h6/1a9ajtfk.json +0 -118
  44. package/src/.vtj/histories/1a99m0h6/1a9awy1w.json +0 -113
  45. package/src/.vtj/histories/1a99m0h6/2a99o0ne.json +0 -118
  46. package/src/.vtj/histories/1a99m0h6/2a9a1yso.json +0 -118
  47. package/src/.vtj/histories/1a99m0h6/3a99rf7k.json +0 -118
  48. package/src/.vtj/histories/1a99m0h6/4a99t0db.json +0 -118
  49. package/src/.vtj/histories/1a99m0h6/5a99t9vt.json +0 -118
  50. package/src/.vtj/histories/1a99m0h6.json +0 -60
  51. package/src/.vtj/materials/@vtj/pro.json +0 -8246
  52. package/src/.vtj/projects/@vtj/pro.json +0 -247
  53. package/src/App.vue +0 -11
  54. package/src/manifest.json +0 -72
  55. package/src/pages.json +0 -25
@@ -1 +1 @@
1
- var He=Object.defineProperty,je=Object.defineProperties;var Xe=Object.getOwnPropertyDescriptors;var q=Object.getOwnPropertySymbols;var ge=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable;var he=(e,t,n)=>t in e?He(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,B=(e,t)=>{for(var n in t||(t={}))ge.call(t,n)&&he(e,n,t[n]);if(q)for(var n of q(t))ye.call(t,n)&&he(e,n,t[n]);return e},Q=(e,t)=>je(e,Xe(t));var J=(e,t)=>{var n={};for(var r in e)ge.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&q)for(var r of q(e))t.indexOf(r)<0&&ye.call(e,r)&&(n[r]=e[r]);return n};import{s as A,w as Ie,r as ne,b as $,e as C,f as W,g as De,h as Re,i as te,j as we,u as ae,k as G,l as le,n as ce,m as fe,t as Ye,p as Qe,q as O,v as Fe,x as Je}from"./vue-DgQ6LK_p.js";var Ue=Object.defineProperty,Ge=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,be=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Oe=(e,t,n)=>t in e?Ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,et=(e,t)=>{for(var n in t||(t={}))qe.call(t,n)&&Oe(e,n,t[n]);if(be)for(var n of be(t))Ze.call(t,n)&&Oe(e,n,t[n]);return e},tt=(e,t)=>Ge(e,Ke(t));function en(e,t){var n;const r=A();return Ie(()=>{r.value=e()},tt(et({},t),{flush:(n=void 0)!=null?n:"sync"})),ne(r)}var _e;const re=typeof window!="undefined",nt=e=>typeof e!="undefined",ue=e=>typeof e=="function",rt=e=>typeof e=="string",tn=(e,t,n)=>Math.min(n,Math.max(t,e)),j=()=>{},ot=re&&((_e=window==null?void 0:window.navigator)==null?void 0:_e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function X(e){return typeof e=="function"?e():ae(e)}function ke(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}function st(e,t={}){let n,r,s=j;const o=i=>{clearTimeout(i),s(),s=j};return i=>{const u=X(e),f=X(t.maxWait);return n&&o(n),u<=0||f!==void 0&&f<=0?(r&&(o(r),r=null),Promise.resolve(i())):new Promise((d,l)=>{s=t.rejectOnCancel?l:d,f&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,d(i())},f)),n=setTimeout(()=>{r&&o(r),r=null,d(i())},u)})}}function it(e,t=!0,n=!0,r=!1){let s=0,o,a=!0,i=j,u;const f=()=>{o&&(clearTimeout(o),o=void 0,i(),i=j)};return l=>{const c=X(e),v=Date.now()-s,m=()=>u=l();return f(),c<=0?(s=Date.now(),m()):(v>c&&(n||!a)?(s=Date.now(),m()):t&&(u=new Promise((y,w)=>{i=r?w:y,o=setTimeout(()=>{s=Date.now(),a=!0,y(m()),f()},Math.max(0,c-v))})),!n&&!o&&(o=setTimeout(()=>a=!0,c)),a=!1,u)}}function ut(e){return e}function at(e,t){let n,r,s;const o=$(!0),a=()=>{o.value=!0,s()};C(e,a,{flush:"sync"});const i=ue(t)?t:t.get,u=ue(t)?void 0:t.set,f=fe((d,l)=>(r=d,s=l,{get(){return o.value&&(n=i(),o.value=!1),r(),n},set(c){u==null||u(c)}}));return Object.isExtensible(f)&&(f.trigger=a),f}function K(e){return De()?(Re(e),!0):!1}function lt(e){if(!te(e))return we(e);const t=new Proxy({},{get(n,r,s){return ae(Reflect.get(e.value,r,s))},set(n,r,s){return te(e.value[r])&&!te(s)?e.value[r].value=s:e.value[r]=s,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return we(t)}function nn(e){return lt(W(e))}function ct(e,t=200,n={}){return ke(st(t,n),e)}function rn(e,t=200,n={}){const r=$(e.value),s=ct(()=>{r.value=e.value},t,n);return C(e,()=>s()),r}function on(e,t=200,n=!1,r=!0,s=!1){return ke(it(t,n,r,s),e)}function Ne(e,t=!0){G()?le(e):t?e():ce(e)}function sn(e,t,n={}){const{immediate:r=!0}=n,s=$(!1);let o=null;function a(){o&&(clearTimeout(o),o=null)}function i(){s.value=!1,a()}function u(...f){a(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,e(...f)},X(t))}return r&&(s.value=!0,re&&u()),K(i),{isPending:ne(s),start:u,stop:i}}function F(e){var t;const n=X(e);return(t=n==null?void 0:n.$el)!=null?t:n}const H=re?window:void 0,ft=re?window.document:void 0;function V(...e){let t,n,r,s;if(rt(e[0])||Array.isArray(e[0])?([n,r,s]=e,t=H):[t,n,r,s]=e,!t)return j;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],a=()=>{o.forEach(d=>d()),o.length=0},i=(d,l,c,v)=>(d.addEventListener(l,c,v),()=>d.removeEventListener(l,c,v)),u=C(()=>[F(t),X(s)],([d,l])=>{a(),d&&o.push(...n.flatMap(c=>r.map(v=>i(d,c,v,l))))},{immediate:!0,flush:"post"}),f=()=>{u(),a()};return K(f),f}let Se=!1;function un(e,t,n={}){const{window:r=H,ignore:s=[],capture:o=!0,detectIframe:a=!1}=n;if(!r)return;ot&&!Se&&(Se=!0,Array.from(r.document.body.children).forEach(c=>c.addEventListener("click",j)));let i=!0;const u=c=>s.some(v=>{if(typeof v=="string")return Array.from(r.document.querySelectorAll(v)).some(m=>m===c.target||c.composedPath().includes(m));{const m=F(v);return m&&(c.target===m||c.composedPath().includes(m))}}),d=[V(r,"click",c=>{const v=F(e);if(!(!v||v===c.target||c.composedPath().includes(v))){if(c.detail===0&&(i=!u(c)),!i){i=!0;return}t(c)}},{passive:!0,capture:o}),V(r,"pointerdown",c=>{const v=F(e);v&&(i=!c.composedPath().includes(v)&&!u(c))},{passive:!0}),a&&V(r,"blur",c=>{var v;const m=F(e);((v=r.document.activeElement)==null?void 0:v.tagName)==="IFRAME"&&!(m!=null&&m.contains(r.document.activeElement))&&t(c)})].filter(Boolean);return()=>d.forEach(c=>c())}function an(e={}){var t;const{window:n=H}=e,r=(t=e.document)!=null?t:n==null?void 0:n.document,s=at(()=>null,()=>r==null?void 0:r.activeElement);return n&&(V(n,"blur",o=>{o.relatedTarget===null&&s.trigger()},!0),V(n,"focus",s.trigger,!0)),s}function de(e,t=!1){const n=$(),r=()=>n.value=!!e();return r(),Ne(r,t),n}function dt(e){return JSON.parse(JSON.stringify(e))}const Ee=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},xe="__vueuse_ssr_handlers__";Ee[xe]=Ee[xe]||{};function ln(e,t,{window:n=H,initialValue:r=""}={}){const s=$(r),o=W(()=>{var a;return F(t)||((a=n==null?void 0:n.document)==null?void 0:a.documentElement)});return C([o,()=>X(e)],([a,i])=>{var u;if(a&&n){const f=(u=n.getComputedStyle(a).getPropertyValue(i))==null?void 0:u.trim();s.value=f||r}},{immediate:!0}),C(s,a=>{var i;(i=o.value)!=null&&i.style&&o.value.style.setProperty(X(e),a)}),s}function cn({document:e=ft}={}){if(!e)return $("visible");const t=$(e.visibilityState);return V(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var Pe=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,mt=(e,t)=>{var n={};for(var r in e)vt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Pe)for(var r of Pe(e))t.indexOf(r)<0&&pt.call(e,r)&&(n[r]=e[r]);return n};function ht(e,t,n={}){const r=n,{window:s=H}=r,o=mt(r,["window"]);let a;const i=de(()=>s&&"ResizeObserver"in s),u=()=>{a&&(a.disconnect(),a=void 0)},f=C(()=>F(e),l=>{u(),i.value&&s&&l&&(a=new ResizeObserver(t),a.observe(l,o))},{immediate:!0,flush:"post"}),d=()=>{u(),f()};return K(d),{isSupported:i,stop:d}}function fn(e,t={width:0,height:0},n={}){const{window:r=H,box:s="content-box"}=n,o=W(()=>{var u,f;return(f=(u=F(e))==null?void 0:u.namespaceURI)==null?void 0:f.includes("svg")}),a=$(t.width),i=$(t.height);return ht(e,([u])=>{const f=s==="border-box"?u.borderBoxSize:s==="content-box"?u.contentBoxSize:u.devicePixelContentBoxSize;if(r&&o.value){const d=F(e);if(d){const l=r.getComputedStyle(d);a.value=parseFloat(l.width),i.value=parseFloat(l.height)}}else if(f){const d=Array.isArray(f)?f:[f];a.value=d.reduce((l,{inlineSize:c})=>l+c,0),i.value=d.reduce((l,{blockSize:c})=>l+c,0)}else a.value=u.contentRect.width,i.value=u.contentRect.height},n),C(()=>F(e),u=>{a.value=u?t.width:0,i.value=u?t.height:0}),{width:a,height:i}}function dn(e,t,n={}){const{root:r,rootMargin:s="0px",threshold:o=.1,window:a=H}=n,i=de(()=>a&&"IntersectionObserver"in a);let u=j;const f=i.value?C(()=>({el:F(e),root:F(r)}),({el:l,root:c})=>{if(u(),!l)return;const v=new IntersectionObserver(t,{root:c,rootMargin:s,threshold:o});v.observe(l),u=()=>{v.disconnect(),u=j}},{immediate:!0,flush:"post"}):j,d=()=>{u(),f()};return K(d),{isSupported:i,stop:d}}var Ce=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable,wt=(e,t)=>{var n={};for(var r in e)gt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ce)for(var r of Ce(e))t.indexOf(r)<0&&yt.call(e,r)&&(n[r]=e[r]);return n};function vn(e,t,n={}){const r=n,{window:s=H}=r,o=wt(r,["window"]);let a;const i=de(()=>s&&"MutationObserver"in s),u=()=>{a&&(a.disconnect(),a=void 0)},f=C(()=>F(e),l=>{u(),i.value&&s&&l&&(a=new MutationObserver(t),a.observe(l,o))},{immediate:!0}),d=()=>{u(),f()};return K(d),{isSupported:i,stop:d}}var Me;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Me||(Me={}));var bt=Object.defineProperty,Te=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable,Ae=(e,t,n)=>t in e?bt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,St=(e,t)=>{for(var n in t||(t={}))Ot.call(t,n)&&Ae(e,n,t[n]);if(Te)for(var n of Te(t))_t.call(t,n)&&Ae(e,n,t[n]);return e};const Et={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]};St({linear:ut},Et);function pn(e,t,n,r={}){var s,o,a;const{clone:i=!1,passive:u=!1,eventName:f,deep:d=!1,defaultValue:l}=r,c=G(),v=n||(c==null?void 0:c.emit)||((s=c==null?void 0:c.$emit)==null?void 0:s.bind(c))||((a=(o=c==null?void 0:c.proxy)==null?void 0:o.$emit)==null?void 0:a.bind(c==null?void 0:c.proxy));let m=f;t||(t="modelValue"),m=f||m||`update:${t.toString()}`;const y=g=>i?ue(i)?i(g):dt(g):g,w=()=>nt(e[t])?y(e[t]):l;if(u){const g=w(),S=$(g);return C(()=>e[t],_=>S.value=y(_)),C(S,_=>{(_!==e[t]||d)&&v(m,_)},{deep:d}),S}else return W({get(){return w()},set(g){v(m,g)}})}function mn({window:e=H}={}){if(!e)return $(!1);const t=$(e.document.hasFocus());return V(e,"blur",()=>{t.value=!1}),V(e,"focus",()=>{t.value=!0}),t}function hn(e={}){const{window:t=H,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:s=!0,includeScrollbar:o=!0}=e,a=$(n),i=$(r),u=()=>{t&&(o?(a.value=t.innerWidth,i.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,i.value=t.document.documentElement.clientHeight))};return u(),Ne(u),V("resize",u,{passive:!0}),s&&V("orientationchange",u,{passive:!0}),{width:a,height:i}}function oe(e){return De()?(Re(e),!0):!1}const ie=new WeakMap,xt=(...e)=>{var t;const n=e[0],r=(t=G())==null?void 0:t.proxy;if(r==null&&!Fe())throw new Error("injectLocal must be called in setup");return r&&ie.has(r)&&n in ie.get(r)?ie.get(r)[n]:Je(...e)},ve=typeof window!="undefined"&&typeof document!="undefined";typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope;const Pt=e=>e!=null,Ct=Object.prototype.toString,Mt=e=>Ct.call(e)==="[object Object]",Tt=()=>{};function pe(...e){if(e.length!==1)return Ye(...e);const t=e[0];return typeof t=="function"?ne(fe(()=>({get:t,set:Tt}))):$(t)}function At(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const ze=e=>e();function Wt(e=ze,t={}){const{initialState:n="active"}=t,r=pe(n==="active");function s(){r.value=!1}function o(){r.value=!0}const a=(...i)=>{r.value&&e(...i)};return{isActive:ne(r),pause:s,resume:o,eventFilter:a}}function We(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function U(e){return Array.isArray(e)?e:[e]}function $t(e){return G()}function It(e,t,n={}){const o=n,{eventFilter:r=ze}=o,s=J(o,["eventFilter"]);return C(e,At(r,t),s)}function Dt(e,t,n={}){const l=n,{eventFilter:r,initialState:s="active"}=l,o=J(l,["eventFilter","initialState"]),{eventFilter:a,pause:i,resume:u,isActive:f}=Wt(r,{initialState:s});return{stop:It(e,t,Q(B({},o),{eventFilter:a})),pause:i,resume:u,isActive:f}}function Rt(e,t={}){if(!te(e))return Qe(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const r in e.value)n[r]=fe(()=>({get(){return e.value[r]},set(s){var o;if((o=O(t.replaceRef))!=null?o:!0)if(Array.isArray(e.value)){const i=[...e.value];i[r]=s,e.value=i}else{const i=Q(B({},e.value),{[r]:s});Object.setPrototypeOf(i,Object.getPrototypeOf(e.value)),e.value=i}else e.value[r]=s}}));return n}function se(e,t=!0,n){$t()?le(e,n):t?e():ce(e)}function Ft(e,t,n){return C(e,t,Q(B({},n),{immediate:!0}))}const z=ve?window:void 0,kt=ve?window.document:void 0;function L(e){var t;const n=O(e);return(t=n==null?void 0:n.$el)!=null?t:n}function k(...e){const t=[],n=()=>{t.forEach(i=>i()),t.length=0},r=(i,u,f,d)=>(i.addEventListener(u,f,d),()=>i.removeEventListener(u,f,d)),s=W(()=>{const i=U(O(e[0])).filter(u=>u!=null);return i.every(u=>typeof u!="string")?i:void 0}),o=Ft(()=>{var i,u;return[(u=(i=s.value)==null?void 0:i.map(f=>L(f)))!=null?u:[z].filter(f=>f!=null),U(O(s.value?e[1]:e[0])),U(ae(s.value?e[2]:e[1])),O(s.value?e[3]:e[2])]},([i,u,f,d])=>{if(n(),!(i!=null&&i.length)||!(u!=null&&u.length)||!(f!=null&&f.length))return;const l=Mt(d)?B({},d):d;t.push(...i.flatMap(c=>u.flatMap(v=>f.map(m=>r(c,v,m,l)))))},{flush:"post"}),a=()=>{o(),n()};return oe(n),a}function Nt(){const e=A(!1),t=G();return t&&le(()=>{e.value=!0},t),e}function me(e){const t=Nt();return W(()=>(t.value,!!e()))}function Be(e,t,n={}){const c=n,{window:r=z}=c,s=J(c,["window"]);let o;const a=me(()=>r&&"MutationObserver"in r),i=()=>{o&&(o.disconnect(),o=void 0)},u=W(()=>{const v=O(e),m=U(v).map(L).filter(Pt);return new Set(m)}),f=C(u,v=>{i(),a.value&&v.size&&(o=new MutationObserver(t),v.forEach(m=>o.observe(m,s)))},{immediate:!0,flush:"post"}),d=()=>o==null?void 0:o.takeRecords(),l=()=>{f(),i()};return oe(l),{isSupported:a,stop:l,takeRecords:d}}const zt=Symbol("vueuse-ssr-width");function Bt(){const e=Fe()?xt(zt,null):null;return typeof e=="number"?e:void 0}function Lt(e,t={}){const{window:n=z,ssrWidth:r=Bt()}=t,s=me(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),o=A(typeof r=="number"),a=A(),i=A(!1),u=f=>{i.value=f.matches};return Ie(()=>{if(o.value){o.value=!s.value;const f=O(e).split(",");i.value=f.some(d=>{const l=d.includes("not all"),c=d.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),v=d.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let m=!!(c||v);return c&&m&&(m=r>=We(c[1])),v&&m&&(m=r<=We(v[1])),l?!m:m});return}s.value&&(a.value=n.matchMedia(O(e)),i.value=a.value.matches)}),k(a,"change",u,{passive:!0}),W(()=>i.value)}const Z=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ee="__vueuse_ssr_handlers__",Vt=Ht();function Ht(){return ee in Z||(Z[ee]=Z[ee]||{}),Z[ee]}function Le(e,t){return Vt[e]||t}function jt(e){return Lt("(prefers-color-scheme: dark)",e)}function Xt(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 Yt={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()}},$e="vueuse-storage";function Qt(e,t,n,r={}){var s;const{flush:o="pre",deep:a=!0,listenToStorageChanges:i=!0,writeDefaults:u=!0,mergeDefaults:f=!1,shallow:d,window:l=z,eventFilter:c,onError:v=h=>{console.error(h)},initOnMounted:m}=r,y=(d?A:$)(typeof t=="function"?t():t),w=W(()=>O(e));if(!n)try{n=Le("getDefaultStorage",()=>{var h;return(h=z)==null?void 0:h.localStorage})()}catch(h){v(h)}if(!n)return y;const g=O(t),S=Xt(g),_=(s=r.serializer)!=null?s:Yt[S],{pause:M,resume:P}=Dt(y,h=>T(h),{flush:o,deep:a,eventFilter:c});C(w,()=>R(),{flush:o});let D=!1;const p=h=>{m&&!D||R(h)},b=h=>{m&&!D||Y(h)};l&&i&&(n instanceof Storage?k(l,"storage",p,{passive:!0}):k(l,$e,b)),m?se(()=>{D=!0,R()}):R();function E(h,I){if(l){const N={key:w.value,oldValue:h,newValue:I,storageArea:n};l.dispatchEvent(n instanceof Storage?new StorageEvent("storage",N):new CustomEvent($e,{detail:N}))}}function T(h){try{const I=n.getItem(w.value);if(h==null)E(I,null),n.removeItem(w.value);else{const N=_.write(h);I!==N&&(n.setItem(w.value,N),E(I,N))}}catch(I){v(I)}}function x(h){const I=h?h.newValue:n.getItem(w.value);if(I==null)return u&&g!=null&&n.setItem(w.value,_.write(g)),g;if(!h&&f){const N=_.read(I);return typeof f=="function"?f(N,g):S==="object"&&!Array.isArray(N)?B(B({},g),N):N}else return typeof I!="string"?I:_.read(I)}function R(h){if(!(h&&h.storageArea!==n)){if(h&&h.key==null){y.value=g;return}if(!(h&&h.key!==w.value)){M();try{const I=_.write(y.value);(h===void 0||(h==null?void 0:h.newValue)!==I)&&(y.value=x(h))}catch(I){v(I)}finally{h?ce(P):P()}}}}function Y(h){R(h.detail)}return y}const Jt="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Ut(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=z,storage:o,storageKey:a="vueuse-color-scheme",listenToStorageChanges:i=!0,storageRef:u,emitAuto:f,disableTransition:d=!0}=e,l=B({auto:"",light:"light",dark:"dark"},e.modes||{}),c=jt({window:s}),v=W(()=>c.value?"dark":"light"),m=u||(a==null?pe(r):Qt(a,r,o,{window:s,listenToStorageChanges:i})),y=W(()=>m.value==="auto"?v.value:m.value),w=Le("updateHTMLAttrs",(M,P,D)=>{const p=typeof M=="string"?s==null?void 0:s.document.querySelector(M):L(M);if(!p)return;const b=new Set,E=new Set;let T=null;if(P==="class"){const R=D.split(/\s/g);Object.values(l).flatMap(Y=>(Y||"").split(/\s/g)).filter(Boolean).forEach(Y=>{R.includes(Y)?b.add(Y):E.add(Y)})}else T={key:P,value:D};if(b.size===0&&E.size===0&&T===null)return;let x;d&&(x=s.document.createElement("style"),x.appendChild(document.createTextNode(Jt)),s.document.head.appendChild(x));for(const R of b)p.classList.add(R);for(const R of E)p.classList.remove(R);T&&p.setAttribute(T.key,T.value),d&&(s.getComputedStyle(x).opacity,document.head.removeChild(x))});function g(M){var P;w(t,n,(P=l[M])!=null?P:M)}function S(M){e.onChanged?e.onChanged(M,g):g(M)}C(y,S,{flush:"post",immediate:!0}),se(()=>S(y.value));const _=W({get(){return f?m.value:y.value},set(M){m.value=M}});return Object.assign(_,{store:m,system:v,state:y})}function gn(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=Ut(Q(B({},e),{onChanged:(a,i)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,a==="dark",i,a):i(a)},modes:{dark:t,light:n}})),s=W(()=>r.system.value);return W({get(){return r.value==="dark"},set(a){const i=a?"dark":"light";s.value===i?r.value="auto":r.value=i}})}function yn(e,t={}){var n;const{pointerTypes:r,preventDefault:s,stopPropagation:o,exact:a,onMove:i,onEnd:u,onStart:f,initialValue:d,axis:l="both",draggingElement:c=z,containerElement:v,handle:m=e,buttons:y=[0]}=t,w=$((n=O(d))!=null?n:{x:0,y:0}),g=$(),S=p=>r?r.includes(p.pointerType):!0,_=p=>{O(s)&&p.preventDefault(),O(o)&&p.stopPropagation()},M=p=>{var b;if(!O(y).includes(p.button)||O(t.disabled)||!S(p)||O(a)&&p.target!==O(e))return;const E=O(v),T=(b=E==null?void 0:E.getBoundingClientRect)==null?void 0:b.call(E),x=O(e).getBoundingClientRect(),R={x:p.clientX-(E?x.left-T.left+E.scrollLeft:x.left),y:p.clientY-(E?x.top-T.top+E.scrollTop:x.top)};(f==null?void 0:f(R,p))!==!1&&(g.value=R,_(p))},P=p=>{if(O(t.disabled)||!S(p)||!g.value)return;const b=O(v),E=O(e).getBoundingClientRect();let{x:T,y:x}=w.value;(l==="x"||l==="both")&&(T=p.clientX-g.value.x,b&&(T=Math.min(Math.max(0,T),b.scrollWidth-E.width))),(l==="y"||l==="both")&&(x=p.clientY-g.value.y,b&&(x=Math.min(Math.max(0,x),b.scrollHeight-E.height))),w.value={x:T,y:x},i==null||i(w.value,p),_(p)},D=p=>{O(t.disabled)||!S(p)||g.value&&(g.value=void 0,u==null||u(w.value,p),_(p))};if(ve){const p=()=>{var b;return{capture:(b=t.capture)!=null?b:!0,passive:!O(s)}};k(m,"pointerdown",M,p),k(c,"pointermove",P,p),k(c,"pointerup",D,p)}return Q(B({},Rt(w)),{position:w,isDragging:W(()=>!!g.value),style:W(()=>`left:${w.value.x}px;top:${w.value.y}px;`)})}function Ve(e,t,n={}){const l=n,{window:r=z}=l,s=J(l,["window"]);let o;const a=me(()=>r&&"ResizeObserver"in r),i=()=>{o&&(o.disconnect(),o=void 0)},u=W(()=>{const c=O(e);return Array.isArray(c)?c.map(v=>L(v)):[L(c)]}),f=C(u,c=>{if(i(),a.value&&r){o=new ResizeObserver(t);for(const v of c)v&&o.observe(v,s)}},{immediate:!0,flush:"post"}),d=()=>{i(),f()};return oe(d),{isSupported:a,stop:d}}function wn(e,t={width:0,height:0},n={}){const{window:r=z,box:s="content-box"}=n,o=W(()=>{var l,c;return(c=(l=L(e))==null?void 0:l.namespaceURI)==null?void 0:c.includes("svg")}),a=A(t.width),i=A(t.height),{stop:u}=Ve(e,([l])=>{const c=s==="border-box"?l.borderBoxSize:s==="content-box"?l.contentBoxSize:l.devicePixelContentBoxSize;if(r&&o.value){const v=L(e);if(v){const m=v.getBoundingClientRect();a.value=m.width,i.value=m.height}}else if(c){const v=U(c);a.value=v.reduce((m,{inlineSize:y})=>m+y,0),i.value=v.reduce((m,{blockSize:y})=>m+y,0)}else a.value=l.contentRect.width,i.value=l.contentRect.height},n);se(()=>{const l=L(e);l&&(a.value="offsetWidth"in l?l.offsetWidth:t.width,i.value="offsetHeight"in l?l.offsetHeight:t.height)});const f=C(()=>L(e),l=>{a.value=l?t.width:0,i.value=l?t.height:0});function d(){u(),f()}return{width:a,height:i,stop:d}}const Gt={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof MouseEvent?[e.movementX,e.movementY]:null};function Kt(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:r=!1,initialValue:s={x:0,y:0},window:o=z,target:a=o,scroll:i=!0,eventFilter:u}=e;let f=null,d=0,l=0;const c=A(s.x),v=A(s.y),m=A(null),y=typeof t=="function"?t:Gt[t],w=p=>{const b=y(p);f=p,b&&([c.value,v.value]=b,m.value="mouse"),o&&(d=o.scrollX,l=o.scrollY)},g=p=>{if(p.touches.length>0){const b=y(p.touches[0]);b&&([c.value,v.value]=b,m.value="touch")}},S=()=>{if(!f||!o)return;const p=y(f);f instanceof MouseEvent&&p&&(c.value=p[0]+o.scrollX-d,v.value=p[1]+o.scrollY-l)},_=()=>{c.value=s.x,v.value=s.y},M=u?p=>u(()=>w(p),{}):p=>w(p),P=u?p=>u(()=>g(p),{}):p=>g(p),D=u?()=>u(()=>S(),{}):()=>S();if(a){const p={passive:!0};k(a,["mousemove","dragover"],M,p),n&&t!=="movement"&&(k(a,["touchstart","touchmove"],P,p),r&&k(a,"touchend",_,p)),i&&t==="page"&&k(o,"scroll",D,p)}return{x:c,y:v,sourceType:m}}function bn(e,t={}){const{windowResize:n=!0,windowScroll:r=!0,handleOutside:s=!0,window:o=z}=t,a=t.type||"page",{x:i,y:u,sourceType:f}=Kt(t),d=A(e!=null?e:o==null?void 0:o.document.body),l=A(0),c=A(0),v=A(0),m=A(0),y=A(0),w=A(0),g=A(!0);function S(){if(!o)return;const P=L(d);if(!P||!(P instanceof Element))return;const{left:D,top:p,width:b,height:E}=P.getBoundingClientRect();v.value=D+(a==="page"?o.pageXOffset:0),m.value=p+(a==="page"?o.pageYOffset:0),y.value=E,w.value=b;const T=i.value-v.value,x=u.value-m.value;g.value=b===0||E===0||T<0||x<0||T>b||x>E,(s||!g.value)&&(l.value=T,c.value=x)}const _=[];function M(){_.forEach(P=>P()),_.length=0}if(se(()=>{S()}),o){const{stop:P}=Ve(d,S),{stop:D}=Be(d,S,{attributeFilter:["style","class"]}),p=C([d,i,u],S);_.push(P,D,p),k(document,"mouseleave",()=>g.value=!0,{passive:!0}),r&&_.push(k("scroll",S,{capture:!0,passive:!0})),n&&_.push(k("resize",S,{passive:!0}))}return{x:i,y:u,sourceType:f,elementX:l,elementY:c,elementPositionX:v,elementPositionY:m,elementHeight:y,elementWidth:w,isOutside:g,stop:M}}function On(e=null,t={}){var n,r,s;const{document:o=kt,restoreOnUnmount:a=l=>l}=t,i=(n=o==null?void 0:o.title)!=null?n:"",u=pe((r=e!=null?e:o==null?void 0:o.title)!=null?r:null),f=!!(e&&typeof e=="function");function d(l){if(!("titleTemplate"in t))return l;const c=t.titleTemplate||"%s";return typeof c=="function"?c(l):O(c).replace(/%s/g,l)}return C(u,(l,c)=>{l!==c&&o&&(o.title=d(l!=null?l:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&o&&!f&&Be((s=o.head)==null?void 0:s.querySelector("title"),()=>{o&&o.title!==u.value&&(u.value=d(o.title))},{childList:!0}),oe(()=>{if(a){const l=a(i,u.value||"");l!=null&&o&&(o.title=l)}}),u}export{k as A,gn as B,ht as a,F as b,en as c,ln as d,sn as e,hn as f,tn as g,rn as h,re as i,dn as j,on as k,ot as l,vn as m,cn as n,un as o,mn as p,fn as q,nn as r,pn as s,K as t,V as u,an as v,On as w,wn as x,yn as y,bn as z};
1
+ var He=Object.defineProperty,je=Object.defineProperties;var Xe=Object.getOwnPropertyDescriptors;var q=Object.getOwnPropertySymbols;var ge=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable;var he=(e,t,n)=>t in e?He(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,B=(e,t)=>{for(var n in t||(t={}))ge.call(t,n)&&he(e,n,t[n]);if(q)for(var n of q(t))ye.call(t,n)&&he(e,n,t[n]);return e},Q=(e,t)=>je(e,Xe(t));var J=(e,t)=>{var n={};for(var r in e)ge.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&q)for(var r of q(e))t.indexOf(r)<0&&ye.call(e,r)&&(n[r]=e[r]);return n};import{s as A,w as Ie,r as ne,b as $,e as C,f as W,g as De,h as Re,i as te,j as we,u as ae,k as G,l as le,n as ce,m as fe,t as Ye,p as Qe,q as O,v as Fe,x as Je}from"./vue-BCeUdUZW.js";var Ue=Object.defineProperty,Ge=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,be=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Oe=(e,t,n)=>t in e?Ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,et=(e,t)=>{for(var n in t||(t={}))qe.call(t,n)&&Oe(e,n,t[n]);if(be)for(var n of be(t))Ze.call(t,n)&&Oe(e,n,t[n]);return e},tt=(e,t)=>Ge(e,Ke(t));function en(e,t){var n;const r=A();return Ie(()=>{r.value=e()},tt(et({},t),{flush:(n=void 0)!=null?n:"sync"})),ne(r)}var _e;const re=typeof window!="undefined",nt=e=>typeof e!="undefined",ue=e=>typeof e=="function",rt=e=>typeof e=="string",tn=(e,t,n)=>Math.min(n,Math.max(t,e)),j=()=>{},ot=re&&((_e=window==null?void 0:window.navigator)==null?void 0:_e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function X(e){return typeof e=="function"?e():ae(e)}function ke(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}function st(e,t={}){let n,r,s=j;const o=i=>{clearTimeout(i),s(),s=j};return i=>{const u=X(e),f=X(t.maxWait);return n&&o(n),u<=0||f!==void 0&&f<=0?(r&&(o(r),r=null),Promise.resolve(i())):new Promise((d,l)=>{s=t.rejectOnCancel?l:d,f&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,d(i())},f)),n=setTimeout(()=>{r&&o(r),r=null,d(i())},u)})}}function it(e,t=!0,n=!0,r=!1){let s=0,o,a=!0,i=j,u;const f=()=>{o&&(clearTimeout(o),o=void 0,i(),i=j)};return l=>{const c=X(e),v=Date.now()-s,m=()=>u=l();return f(),c<=0?(s=Date.now(),m()):(v>c&&(n||!a)?(s=Date.now(),m()):t&&(u=new Promise((y,w)=>{i=r?w:y,o=setTimeout(()=>{s=Date.now(),a=!0,y(m()),f()},Math.max(0,c-v))})),!n&&!o&&(o=setTimeout(()=>a=!0,c)),a=!1,u)}}function ut(e){return e}function at(e,t){let n,r,s;const o=$(!0),a=()=>{o.value=!0,s()};C(e,a,{flush:"sync"});const i=ue(t)?t:t.get,u=ue(t)?void 0:t.set,f=fe((d,l)=>(r=d,s=l,{get(){return o.value&&(n=i(),o.value=!1),r(),n},set(c){u==null||u(c)}}));return Object.isExtensible(f)&&(f.trigger=a),f}function K(e){return De()?(Re(e),!0):!1}function lt(e){if(!te(e))return we(e);const t=new Proxy({},{get(n,r,s){return ae(Reflect.get(e.value,r,s))},set(n,r,s){return te(e.value[r])&&!te(s)?e.value[r].value=s:e.value[r]=s,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return we(t)}function nn(e){return lt(W(e))}function ct(e,t=200,n={}){return ke(st(t,n),e)}function rn(e,t=200,n={}){const r=$(e.value),s=ct(()=>{r.value=e.value},t,n);return C(e,()=>s()),r}function on(e,t=200,n=!1,r=!0,s=!1){return ke(it(t,n,r,s),e)}function Ne(e,t=!0){G()?le(e):t?e():ce(e)}function sn(e,t,n={}){const{immediate:r=!0}=n,s=$(!1);let o=null;function a(){o&&(clearTimeout(o),o=null)}function i(){s.value=!1,a()}function u(...f){a(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,e(...f)},X(t))}return r&&(s.value=!0,re&&u()),K(i),{isPending:ne(s),start:u,stop:i}}function F(e){var t;const n=X(e);return(t=n==null?void 0:n.$el)!=null?t:n}const H=re?window:void 0,ft=re?window.document:void 0;function V(...e){let t,n,r,s;if(rt(e[0])||Array.isArray(e[0])?([n,r,s]=e,t=H):[t,n,r,s]=e,!t)return j;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],a=()=>{o.forEach(d=>d()),o.length=0},i=(d,l,c,v)=>(d.addEventListener(l,c,v),()=>d.removeEventListener(l,c,v)),u=C(()=>[F(t),X(s)],([d,l])=>{a(),d&&o.push(...n.flatMap(c=>r.map(v=>i(d,c,v,l))))},{immediate:!0,flush:"post"}),f=()=>{u(),a()};return K(f),f}let Se=!1;function un(e,t,n={}){const{window:r=H,ignore:s=[],capture:o=!0,detectIframe:a=!1}=n;if(!r)return;ot&&!Se&&(Se=!0,Array.from(r.document.body.children).forEach(c=>c.addEventListener("click",j)));let i=!0;const u=c=>s.some(v=>{if(typeof v=="string")return Array.from(r.document.querySelectorAll(v)).some(m=>m===c.target||c.composedPath().includes(m));{const m=F(v);return m&&(c.target===m||c.composedPath().includes(m))}}),d=[V(r,"click",c=>{const v=F(e);if(!(!v||v===c.target||c.composedPath().includes(v))){if(c.detail===0&&(i=!u(c)),!i){i=!0;return}t(c)}},{passive:!0,capture:o}),V(r,"pointerdown",c=>{const v=F(e);v&&(i=!c.composedPath().includes(v)&&!u(c))},{passive:!0}),a&&V(r,"blur",c=>{var v;const m=F(e);((v=r.document.activeElement)==null?void 0:v.tagName)==="IFRAME"&&!(m!=null&&m.contains(r.document.activeElement))&&t(c)})].filter(Boolean);return()=>d.forEach(c=>c())}function an(e={}){var t;const{window:n=H}=e,r=(t=e.document)!=null?t:n==null?void 0:n.document,s=at(()=>null,()=>r==null?void 0:r.activeElement);return n&&(V(n,"blur",o=>{o.relatedTarget===null&&s.trigger()},!0),V(n,"focus",s.trigger,!0)),s}function de(e,t=!1){const n=$(),r=()=>n.value=!!e();return r(),Ne(r,t),n}function dt(e){return JSON.parse(JSON.stringify(e))}const Ee=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},xe="__vueuse_ssr_handlers__";Ee[xe]=Ee[xe]||{};function ln(e,t,{window:n=H,initialValue:r=""}={}){const s=$(r),o=W(()=>{var a;return F(t)||((a=n==null?void 0:n.document)==null?void 0:a.documentElement)});return C([o,()=>X(e)],([a,i])=>{var u;if(a&&n){const f=(u=n.getComputedStyle(a).getPropertyValue(i))==null?void 0:u.trim();s.value=f||r}},{immediate:!0}),C(s,a=>{var i;(i=o.value)!=null&&i.style&&o.value.style.setProperty(X(e),a)}),s}function cn({document:e=ft}={}){if(!e)return $("visible");const t=$(e.visibilityState);return V(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var Pe=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,mt=(e,t)=>{var n={};for(var r in e)vt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Pe)for(var r of Pe(e))t.indexOf(r)<0&&pt.call(e,r)&&(n[r]=e[r]);return n};function ht(e,t,n={}){const r=n,{window:s=H}=r,o=mt(r,["window"]);let a;const i=de(()=>s&&"ResizeObserver"in s),u=()=>{a&&(a.disconnect(),a=void 0)},f=C(()=>F(e),l=>{u(),i.value&&s&&l&&(a=new ResizeObserver(t),a.observe(l,o))},{immediate:!0,flush:"post"}),d=()=>{u(),f()};return K(d),{isSupported:i,stop:d}}function fn(e,t={width:0,height:0},n={}){const{window:r=H,box:s="content-box"}=n,o=W(()=>{var u,f;return(f=(u=F(e))==null?void 0:u.namespaceURI)==null?void 0:f.includes("svg")}),a=$(t.width),i=$(t.height);return ht(e,([u])=>{const f=s==="border-box"?u.borderBoxSize:s==="content-box"?u.contentBoxSize:u.devicePixelContentBoxSize;if(r&&o.value){const d=F(e);if(d){const l=r.getComputedStyle(d);a.value=parseFloat(l.width),i.value=parseFloat(l.height)}}else if(f){const d=Array.isArray(f)?f:[f];a.value=d.reduce((l,{inlineSize:c})=>l+c,0),i.value=d.reduce((l,{blockSize:c})=>l+c,0)}else a.value=u.contentRect.width,i.value=u.contentRect.height},n),C(()=>F(e),u=>{a.value=u?t.width:0,i.value=u?t.height:0}),{width:a,height:i}}function dn(e,t,n={}){const{root:r,rootMargin:s="0px",threshold:o=.1,window:a=H}=n,i=de(()=>a&&"IntersectionObserver"in a);let u=j;const f=i.value?C(()=>({el:F(e),root:F(r)}),({el:l,root:c})=>{if(u(),!l)return;const v=new IntersectionObserver(t,{root:c,rootMargin:s,threshold:o});v.observe(l),u=()=>{v.disconnect(),u=j}},{immediate:!0,flush:"post"}):j,d=()=>{u(),f()};return K(d),{isSupported:i,stop:d}}var Ce=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable,wt=(e,t)=>{var n={};for(var r in e)gt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ce)for(var r of Ce(e))t.indexOf(r)<0&&yt.call(e,r)&&(n[r]=e[r]);return n};function vn(e,t,n={}){const r=n,{window:s=H}=r,o=wt(r,["window"]);let a;const i=de(()=>s&&"MutationObserver"in s),u=()=>{a&&(a.disconnect(),a=void 0)},f=C(()=>F(e),l=>{u(),i.value&&s&&l&&(a=new MutationObserver(t),a.observe(l,o))},{immediate:!0}),d=()=>{u(),f()};return K(d),{isSupported:i,stop:d}}var Me;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Me||(Me={}));var bt=Object.defineProperty,Te=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable,Ae=(e,t,n)=>t in e?bt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,St=(e,t)=>{for(var n in t||(t={}))Ot.call(t,n)&&Ae(e,n,t[n]);if(Te)for(var n of Te(t))_t.call(t,n)&&Ae(e,n,t[n]);return e};const Et={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]};St({linear:ut},Et);function pn(e,t,n,r={}){var s,o,a;const{clone:i=!1,passive:u=!1,eventName:f,deep:d=!1,defaultValue:l}=r,c=G(),v=n||(c==null?void 0:c.emit)||((s=c==null?void 0:c.$emit)==null?void 0:s.bind(c))||((a=(o=c==null?void 0:c.proxy)==null?void 0:o.$emit)==null?void 0:a.bind(c==null?void 0:c.proxy));let m=f;t||(t="modelValue"),m=f||m||`update:${t.toString()}`;const y=g=>i?ue(i)?i(g):dt(g):g,w=()=>nt(e[t])?y(e[t]):l;if(u){const g=w(),S=$(g);return C(()=>e[t],_=>S.value=y(_)),C(S,_=>{(_!==e[t]||d)&&v(m,_)},{deep:d}),S}else return W({get(){return w()},set(g){v(m,g)}})}function mn({window:e=H}={}){if(!e)return $(!1);const t=$(e.document.hasFocus());return V(e,"blur",()=>{t.value=!1}),V(e,"focus",()=>{t.value=!0}),t}function hn(e={}){const{window:t=H,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:s=!0,includeScrollbar:o=!0}=e,a=$(n),i=$(r),u=()=>{t&&(o?(a.value=t.innerWidth,i.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,i.value=t.document.documentElement.clientHeight))};return u(),Ne(u),V("resize",u,{passive:!0}),s&&V("orientationchange",u,{passive:!0}),{width:a,height:i}}function oe(e){return De()?(Re(e),!0):!1}const ie=new WeakMap,xt=(...e)=>{var t;const n=e[0],r=(t=G())==null?void 0:t.proxy;if(r==null&&!Fe())throw new Error("injectLocal must be called in setup");return r&&ie.has(r)&&n in ie.get(r)?ie.get(r)[n]:Je(...e)},ve=typeof window!="undefined"&&typeof document!="undefined";typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope;const Pt=e=>e!=null,Ct=Object.prototype.toString,Mt=e=>Ct.call(e)==="[object Object]",Tt=()=>{};function pe(...e){if(e.length!==1)return Ye(...e);const t=e[0];return typeof t=="function"?ne(fe(()=>({get:t,set:Tt}))):$(t)}function At(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const ze=e=>e();function Wt(e=ze,t={}){const{initialState:n="active"}=t,r=pe(n==="active");function s(){r.value=!1}function o(){r.value=!0}const a=(...i)=>{r.value&&e(...i)};return{isActive:ne(r),pause:s,resume:o,eventFilter:a}}function We(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function U(e){return Array.isArray(e)?e:[e]}function $t(e){return G()}function It(e,t,n={}){const o=n,{eventFilter:r=ze}=o,s=J(o,["eventFilter"]);return C(e,At(r,t),s)}function Dt(e,t,n={}){const l=n,{eventFilter:r,initialState:s="active"}=l,o=J(l,["eventFilter","initialState"]),{eventFilter:a,pause:i,resume:u,isActive:f}=Wt(r,{initialState:s});return{stop:It(e,t,Q(B({},o),{eventFilter:a})),pause:i,resume:u,isActive:f}}function Rt(e,t={}){if(!te(e))return Qe(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const r in e.value)n[r]=fe(()=>({get(){return e.value[r]},set(s){var o;if((o=O(t.replaceRef))!=null?o:!0)if(Array.isArray(e.value)){const i=[...e.value];i[r]=s,e.value=i}else{const i=Q(B({},e.value),{[r]:s});Object.setPrototypeOf(i,Object.getPrototypeOf(e.value)),e.value=i}else e.value[r]=s}}));return n}function se(e,t=!0,n){$t()?le(e,n):t?e():ce(e)}function Ft(e,t,n){return C(e,t,Q(B({},n),{immediate:!0}))}const z=ve?window:void 0,kt=ve?window.document:void 0;function L(e){var t;const n=O(e);return(t=n==null?void 0:n.$el)!=null?t:n}function k(...e){const t=[],n=()=>{t.forEach(i=>i()),t.length=0},r=(i,u,f,d)=>(i.addEventListener(u,f,d),()=>i.removeEventListener(u,f,d)),s=W(()=>{const i=U(O(e[0])).filter(u=>u!=null);return i.every(u=>typeof u!="string")?i:void 0}),o=Ft(()=>{var i,u;return[(u=(i=s.value)==null?void 0:i.map(f=>L(f)))!=null?u:[z].filter(f=>f!=null),U(O(s.value?e[1]:e[0])),U(ae(s.value?e[2]:e[1])),O(s.value?e[3]:e[2])]},([i,u,f,d])=>{if(n(),!(i!=null&&i.length)||!(u!=null&&u.length)||!(f!=null&&f.length))return;const l=Mt(d)?B({},d):d;t.push(...i.flatMap(c=>u.flatMap(v=>f.map(m=>r(c,v,m,l)))))},{flush:"post"}),a=()=>{o(),n()};return oe(n),a}function Nt(){const e=A(!1),t=G();return t&&le(()=>{e.value=!0},t),e}function me(e){const t=Nt();return W(()=>(t.value,!!e()))}function Be(e,t,n={}){const c=n,{window:r=z}=c,s=J(c,["window"]);let o;const a=me(()=>r&&"MutationObserver"in r),i=()=>{o&&(o.disconnect(),o=void 0)},u=W(()=>{const v=O(e),m=U(v).map(L).filter(Pt);return new Set(m)}),f=C(u,v=>{i(),a.value&&v.size&&(o=new MutationObserver(t),v.forEach(m=>o.observe(m,s)))},{immediate:!0,flush:"post"}),d=()=>o==null?void 0:o.takeRecords(),l=()=>{f(),i()};return oe(l),{isSupported:a,stop:l,takeRecords:d}}const zt=Symbol("vueuse-ssr-width");function Bt(){const e=Fe()?xt(zt,null):null;return typeof e=="number"?e:void 0}function Lt(e,t={}){const{window:n=z,ssrWidth:r=Bt()}=t,s=me(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),o=A(typeof r=="number"),a=A(),i=A(!1),u=f=>{i.value=f.matches};return Ie(()=>{if(o.value){o.value=!s.value;const f=O(e).split(",");i.value=f.some(d=>{const l=d.includes("not all"),c=d.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),v=d.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let m=!!(c||v);return c&&m&&(m=r>=We(c[1])),v&&m&&(m=r<=We(v[1])),l?!m:m});return}s.value&&(a.value=n.matchMedia(O(e)),i.value=a.value.matches)}),k(a,"change",u,{passive:!0}),W(()=>i.value)}const Z=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ee="__vueuse_ssr_handlers__",Vt=Ht();function Ht(){return ee in Z||(Z[ee]=Z[ee]||{}),Z[ee]}function Le(e,t){return Vt[e]||t}function jt(e){return Lt("(prefers-color-scheme: dark)",e)}function Xt(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 Yt={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()}},$e="vueuse-storage";function Qt(e,t,n,r={}){var s;const{flush:o="pre",deep:a=!0,listenToStorageChanges:i=!0,writeDefaults:u=!0,mergeDefaults:f=!1,shallow:d,window:l=z,eventFilter:c,onError:v=h=>{console.error(h)},initOnMounted:m}=r,y=(d?A:$)(typeof t=="function"?t():t),w=W(()=>O(e));if(!n)try{n=Le("getDefaultStorage",()=>{var h;return(h=z)==null?void 0:h.localStorage})()}catch(h){v(h)}if(!n)return y;const g=O(t),S=Xt(g),_=(s=r.serializer)!=null?s:Yt[S],{pause:M,resume:P}=Dt(y,h=>T(h),{flush:o,deep:a,eventFilter:c});C(w,()=>R(),{flush:o});let D=!1;const p=h=>{m&&!D||R(h)},b=h=>{m&&!D||Y(h)};l&&i&&(n instanceof Storage?k(l,"storage",p,{passive:!0}):k(l,$e,b)),m?se(()=>{D=!0,R()}):R();function E(h,I){if(l){const N={key:w.value,oldValue:h,newValue:I,storageArea:n};l.dispatchEvent(n instanceof Storage?new StorageEvent("storage",N):new CustomEvent($e,{detail:N}))}}function T(h){try{const I=n.getItem(w.value);if(h==null)E(I,null),n.removeItem(w.value);else{const N=_.write(h);I!==N&&(n.setItem(w.value,N),E(I,N))}}catch(I){v(I)}}function x(h){const I=h?h.newValue:n.getItem(w.value);if(I==null)return u&&g!=null&&n.setItem(w.value,_.write(g)),g;if(!h&&f){const N=_.read(I);return typeof f=="function"?f(N,g):S==="object"&&!Array.isArray(N)?B(B({},g),N):N}else return typeof I!="string"?I:_.read(I)}function R(h){if(!(h&&h.storageArea!==n)){if(h&&h.key==null){y.value=g;return}if(!(h&&h.key!==w.value)){M();try{const I=_.write(y.value);(h===void 0||(h==null?void 0:h.newValue)!==I)&&(y.value=x(h))}catch(I){v(I)}finally{h?ce(P):P()}}}}function Y(h){R(h.detail)}return y}const Jt="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Ut(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=z,storage:o,storageKey:a="vueuse-color-scheme",listenToStorageChanges:i=!0,storageRef:u,emitAuto:f,disableTransition:d=!0}=e,l=B({auto:"",light:"light",dark:"dark"},e.modes||{}),c=jt({window:s}),v=W(()=>c.value?"dark":"light"),m=u||(a==null?pe(r):Qt(a,r,o,{window:s,listenToStorageChanges:i})),y=W(()=>m.value==="auto"?v.value:m.value),w=Le("updateHTMLAttrs",(M,P,D)=>{const p=typeof M=="string"?s==null?void 0:s.document.querySelector(M):L(M);if(!p)return;const b=new Set,E=new Set;let T=null;if(P==="class"){const R=D.split(/\s/g);Object.values(l).flatMap(Y=>(Y||"").split(/\s/g)).filter(Boolean).forEach(Y=>{R.includes(Y)?b.add(Y):E.add(Y)})}else T={key:P,value:D};if(b.size===0&&E.size===0&&T===null)return;let x;d&&(x=s.document.createElement("style"),x.appendChild(document.createTextNode(Jt)),s.document.head.appendChild(x));for(const R of b)p.classList.add(R);for(const R of E)p.classList.remove(R);T&&p.setAttribute(T.key,T.value),d&&(s.getComputedStyle(x).opacity,document.head.removeChild(x))});function g(M){var P;w(t,n,(P=l[M])!=null?P:M)}function S(M){e.onChanged?e.onChanged(M,g):g(M)}C(y,S,{flush:"post",immediate:!0}),se(()=>S(y.value));const _=W({get(){return f?m.value:y.value},set(M){m.value=M}});return Object.assign(_,{store:m,system:v,state:y})}function gn(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=Ut(Q(B({},e),{onChanged:(a,i)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,a==="dark",i,a):i(a)},modes:{dark:t,light:n}})),s=W(()=>r.system.value);return W({get(){return r.value==="dark"},set(a){const i=a?"dark":"light";s.value===i?r.value="auto":r.value=i}})}function yn(e,t={}){var n;const{pointerTypes:r,preventDefault:s,stopPropagation:o,exact:a,onMove:i,onEnd:u,onStart:f,initialValue:d,axis:l="both",draggingElement:c=z,containerElement:v,handle:m=e,buttons:y=[0]}=t,w=$((n=O(d))!=null?n:{x:0,y:0}),g=$(),S=p=>r?r.includes(p.pointerType):!0,_=p=>{O(s)&&p.preventDefault(),O(o)&&p.stopPropagation()},M=p=>{var b;if(!O(y).includes(p.button)||O(t.disabled)||!S(p)||O(a)&&p.target!==O(e))return;const E=O(v),T=(b=E==null?void 0:E.getBoundingClientRect)==null?void 0:b.call(E),x=O(e).getBoundingClientRect(),R={x:p.clientX-(E?x.left-T.left+E.scrollLeft:x.left),y:p.clientY-(E?x.top-T.top+E.scrollTop:x.top)};(f==null?void 0:f(R,p))!==!1&&(g.value=R,_(p))},P=p=>{if(O(t.disabled)||!S(p)||!g.value)return;const b=O(v),E=O(e).getBoundingClientRect();let{x:T,y:x}=w.value;(l==="x"||l==="both")&&(T=p.clientX-g.value.x,b&&(T=Math.min(Math.max(0,T),b.scrollWidth-E.width))),(l==="y"||l==="both")&&(x=p.clientY-g.value.y,b&&(x=Math.min(Math.max(0,x),b.scrollHeight-E.height))),w.value={x:T,y:x},i==null||i(w.value,p),_(p)},D=p=>{O(t.disabled)||!S(p)||g.value&&(g.value=void 0,u==null||u(w.value,p),_(p))};if(ve){const p=()=>{var b;return{capture:(b=t.capture)!=null?b:!0,passive:!O(s)}};k(m,"pointerdown",M,p),k(c,"pointermove",P,p),k(c,"pointerup",D,p)}return Q(B({},Rt(w)),{position:w,isDragging:W(()=>!!g.value),style:W(()=>`left:${w.value.x}px;top:${w.value.y}px;`)})}function Ve(e,t,n={}){const l=n,{window:r=z}=l,s=J(l,["window"]);let o;const a=me(()=>r&&"ResizeObserver"in r),i=()=>{o&&(o.disconnect(),o=void 0)},u=W(()=>{const c=O(e);return Array.isArray(c)?c.map(v=>L(v)):[L(c)]}),f=C(u,c=>{if(i(),a.value&&r){o=new ResizeObserver(t);for(const v of c)v&&o.observe(v,s)}},{immediate:!0,flush:"post"}),d=()=>{i(),f()};return oe(d),{isSupported:a,stop:d}}function wn(e,t={width:0,height:0},n={}){const{window:r=z,box:s="content-box"}=n,o=W(()=>{var l,c;return(c=(l=L(e))==null?void 0:l.namespaceURI)==null?void 0:c.includes("svg")}),a=A(t.width),i=A(t.height),{stop:u}=Ve(e,([l])=>{const c=s==="border-box"?l.borderBoxSize:s==="content-box"?l.contentBoxSize:l.devicePixelContentBoxSize;if(r&&o.value){const v=L(e);if(v){const m=v.getBoundingClientRect();a.value=m.width,i.value=m.height}}else if(c){const v=U(c);a.value=v.reduce((m,{inlineSize:y})=>m+y,0),i.value=v.reduce((m,{blockSize:y})=>m+y,0)}else a.value=l.contentRect.width,i.value=l.contentRect.height},n);se(()=>{const l=L(e);l&&(a.value="offsetWidth"in l?l.offsetWidth:t.width,i.value="offsetHeight"in l?l.offsetHeight:t.height)});const f=C(()=>L(e),l=>{a.value=l?t.width:0,i.value=l?t.height:0});function d(){u(),f()}return{width:a,height:i,stop:d}}const Gt={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof MouseEvent?[e.movementX,e.movementY]:null};function Kt(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:r=!1,initialValue:s={x:0,y:0},window:o=z,target:a=o,scroll:i=!0,eventFilter:u}=e;let f=null,d=0,l=0;const c=A(s.x),v=A(s.y),m=A(null),y=typeof t=="function"?t:Gt[t],w=p=>{const b=y(p);f=p,b&&([c.value,v.value]=b,m.value="mouse"),o&&(d=o.scrollX,l=o.scrollY)},g=p=>{if(p.touches.length>0){const b=y(p.touches[0]);b&&([c.value,v.value]=b,m.value="touch")}},S=()=>{if(!f||!o)return;const p=y(f);f instanceof MouseEvent&&p&&(c.value=p[0]+o.scrollX-d,v.value=p[1]+o.scrollY-l)},_=()=>{c.value=s.x,v.value=s.y},M=u?p=>u(()=>w(p),{}):p=>w(p),P=u?p=>u(()=>g(p),{}):p=>g(p),D=u?()=>u(()=>S(),{}):()=>S();if(a){const p={passive:!0};k(a,["mousemove","dragover"],M,p),n&&t!=="movement"&&(k(a,["touchstart","touchmove"],P,p),r&&k(a,"touchend",_,p)),i&&t==="page"&&k(o,"scroll",D,p)}return{x:c,y:v,sourceType:m}}function bn(e,t={}){const{windowResize:n=!0,windowScroll:r=!0,handleOutside:s=!0,window:o=z}=t,a=t.type||"page",{x:i,y:u,sourceType:f}=Kt(t),d=A(e!=null?e:o==null?void 0:o.document.body),l=A(0),c=A(0),v=A(0),m=A(0),y=A(0),w=A(0),g=A(!0);function S(){if(!o)return;const P=L(d);if(!P||!(P instanceof Element))return;const{left:D,top:p,width:b,height:E}=P.getBoundingClientRect();v.value=D+(a==="page"?o.pageXOffset:0),m.value=p+(a==="page"?o.pageYOffset:0),y.value=E,w.value=b;const T=i.value-v.value,x=u.value-m.value;g.value=b===0||E===0||T<0||x<0||T>b||x>E,(s||!g.value)&&(l.value=T,c.value=x)}const _=[];function M(){_.forEach(P=>P()),_.length=0}if(se(()=>{S()}),o){const{stop:P}=Ve(d,S),{stop:D}=Be(d,S,{attributeFilter:["style","class"]}),p=C([d,i,u],S);_.push(P,D,p),k(document,"mouseleave",()=>g.value=!0,{passive:!0}),r&&_.push(k("scroll",S,{capture:!0,passive:!0})),n&&_.push(k("resize",S,{passive:!0}))}return{x:i,y:u,sourceType:f,elementX:l,elementY:c,elementPositionX:v,elementPositionY:m,elementHeight:y,elementWidth:w,isOutside:g,stop:M}}function On(e=null,t={}){var n,r,s;const{document:o=kt,restoreOnUnmount:a=l=>l}=t,i=(n=o==null?void 0:o.title)!=null?n:"",u=pe((r=e!=null?e:o==null?void 0:o.title)!=null?r:null),f=!!(e&&typeof e=="function");function d(l){if(!("titleTemplate"in t))return l;const c=t.titleTemplate||"%s";return typeof c=="function"?c(l):O(c).replace(/%s/g,l)}return C(u,(l,c)=>{l!==c&&o&&(o.title=d(l!=null?l:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&o&&!f&&Be((s=o.head)==null?void 0:s.querySelector("title"),()=>{o&&o.title!==u.value&&(u.value=d(o.title))},{childList:!0}),oe(()=>{if(a){const l=a(i,u.value||"");l!=null&&o&&(o.title=l)}}),u}export{k as A,gn as B,ht as a,F as b,en as c,ln as d,sn as e,hn as f,tn as g,rn as h,re as i,dn as j,on as k,ot as l,vn as m,cn as n,un as o,mn as p,fn as q,nn as r,pn as s,K as t,V as u,an as v,On as w,wn as x,yn as y,bn as z};