import{s as e,w as t,r as n,u as o,g as r,b as i,e as a,f as u,h as l,i as s,n as c,j as d}from"./@vue-7f120f92.js";var v,f=object.defineproperty,p=object.defineproperties,m=object.getownpropertydescriptors,w=object.getownpropertysymbols,y=object.prototype.hasownproperty,b=object.prototype.propertyisenumerable,o=(e,t,n)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function h(o,r){var i;const a=e();var u,l;return t((()=>{a.value=o()}),(u=((e,t)=>{for(var n in t||(t={}))y.call(t,n)&&o(e,n,t[n]);if(w)for(var n of w(t))b.call(t,n)&&o(e,n,t[n]);return e})({},r),l={flush:null!=(i=null==r?void 0:r.flush)?i:"sync"},p(u,m(l)))),n(a)}const g="undefined"!=typeof window,p=e=>"string"==typeof e,i=()=>{},e=g&&(null==(v=null==window?void 0:window.navigator)?void 0:v.useragent)&&/ip(ad|hone|od)/.test(window.navigator.useragent);function j(e){return"function"==typeof e?e():o(e)}function s(e,t){return function(...n){return new promise(((o,r)=>{promise.resolve(e((()=>t.apply(this,n)),{fn:t,thisarg:this,args:n})).then(o).catch(r)}))}}function x(e){return!!r()&&(i(e),!0)}function t(e,t=200,n={}){return s(function(e,t={}){let n,o,r=i;const i=e=>{cleartimeout(e),r(),r=i};return a=>{const u=j(e),l=j(t.maxwait);return n&&i(n),u<=0||void 0!==l&&l<=0?(o&&(i(o),o=null),promise.resolve(a())):new promise(((e,s)=>{r=t.rejectoncancel?s:e,l&&!o&&(o=settimeout((()=>{n&&i(n),o=null,e(a())}),l)),n=settimeout((()=>{o&&i(o),o=null,e(a())}),u)}))}}(t,n),e)}function a(e,t=200,n={}){const o=a(e.value),r=t((()=>{o.value=e.value}),t,n);return u(e,(()=>r())),o}function n(e,t=200,n=!1,o=!0,r=!1){return s(function(e,t=!0,n=!0,o=!1){let r,i,a=0,u=!0,l=i;const s=()=>{r&&(cleartimeout(r),r=void 0,l(),l=i)};return c=>{const d=j(e),v=date.now()-a,f=()=>i=c();return s(),d<=0?(a=date.now(),f()):(v>d&&(n||!u)?(a=date.now(),f()):t&&(i=new promise(((e,t)=>{l=o?t:e,r=settimeout((()=>{a=date.now(),u=!0,e(f()),s()}),math.max(0,d-v))}))),n||r||(r=settimeout((()=>u=!0),d)),u=!1,i)}}(t,n,o,r),e)}function c(e,t=!0){l()?s(e):t?e():c(e)}function q(e,t,o={}){const{immediate:r=!0}=o,i=a(!1);let u=null;function l(){u&&(cleartimeout(u),u=null)}function s(){i.value=!1,l()}function c(...n){l(),i.value=!0,u=settimeout((()=>{i.value=!1,u=null,e(...n)}),j(t))}return r&&(i.value=!0,g&&c()),x(s),{ispending:n(i),start:c,stop:s}}function d(e){var t;const n=j(e);return null!=(t=null==n?void 0:n.$el)?t:n}const r=g?window:void 0,k=g?window.document:void 0;function b(...e){let t,n,o,r;if(p(e[0])||array.isarray(e[0])?([n,o,r]=e,t=r):[t,n,o,r]=e,!t)return i;array.isarray(n)||(n=[n]),array.isarray(o)||(o=[o]);const i=[],a=()=>{i.foreach((e=>e())),i.length=0},l=u((()=>[d(t),j(r)]),(([e,t])=>{a(),e&&i.push(...n.flatmap((n=>o.map((o=>((e,t,n,o)=>(e.addeventlistener(t,n,o),()=>e.removeeventlistener(t,n,o)))(e,n,o,t))))))}),{immediate:!0,flush:"post"}),s=()=>{l(),a()};return x(s),s}let w=!1;function _(e,t,n={}){const{window:o=r,ignore:r=[],capture:i=!0,detectiframe:a=!1}=n;if(!o)return;e&&!w&&(w=!0,array.from(o.document.body.children).foreach((e=>e.addeventlistener("click",i))));let u=!0;const l=e=>r.some((t=>{if("string"==typeof t)return array.from(o.document.queryselectorall(t)).some((t=>t===e.target||e.composedpath().includes(t)));{const n=d(t);return n&&(e.target===n||e.composedpath().includes(n))}})),s=[b(o,"click",(n=>{const o=d(e);o&&o!==n.target&&!n.composedpath().includes(o)&&(0===n.detail&&(u=!l(n)),u?t(n):u=!0)}),{passive:!0,capture:i}),b(o,"pointerdown",(t=>{const n=d(e);n&&(u=!t.composedpath().includes(n)&&!l(t))}),{passive:!0}),a&&b(o,"blur",(n=>{var r;const i=d(e);"iframe"!==(null==(r=o.document.activeelement)?void 0:r.tagname)||(null==i?void 0:i.contains(o.document.activeelement))||t(n)}))].filter(boolean);return()=>s.foreach((e=>e()))}function z(e,t=!1){const n=a(),o=()=>n.value=boolean(e());return o(),c(o,t),n}const h="undefined"!=typeof globalthis?globalthis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l="__vueuse_ssr_handlers__";function m(e,t,{window:n=r,initialvalue:o=""}={}){const r=a(o),i=d((()=>{var e;return d(t)||(null==(e=null==n?void 0:n.document)?void 0:e.documentelement)}));return u([i,()=>j(e)],(([e,t])=>{var i;if(e&&n){const a=null==(i=n.getcomputedstyle(e).getpropertyvalue(t))?void 0:i.trim();r.value=a||o}}),{immediate:!0}),u(r,(t=>{var n;(null==(n=i.value)?void 0:n.style)&&i.value.style.setproperty(j(e),t)})),r}function f({document:e=k}={}){if(!e)return a("visible");const t=a(e.visibilitystate);return b(e,"visibilitychange",(()=>{t.value=e.visibilitystate})),t}h[l]=h[l]||{};var v=object.getownpropertysymbols,$=object.prototype.hasownproperty,g=object.prototype.propertyisenumerable,j=(e,t)=>{var n={};for(var o in e)$.call(e,o)&&t.indexof(o)<0&&(n[o]=e[o]);if(null!=e&&v)for(var o of v(e))t.indexof(o)<0&&g.call(e,o)&&(n[o]=e[o]);return n};function u(e,t,n={}){const o=n,{window:r=r}=o,i=j(o,["window"]);let a;const l=z((()=>r&&"resizeobserver"in r)),s=()=>{a&&(a.disconnect(),a=void 0)},c=u((()=>d(e)),(e=>{s(),l.value&&r&&e&&(a=new resizeobserver(t),a.observe(e,i))}),{immediate:!0,flush:"post"}),d=()=>{s(),c()};return x(d),{issupported:l,stop:d}}function q(e,t={}){const{reset:n=!0,windowresize:o=!0,windowscroll:r=!0,immediate:i=!0}=t,l=a(0),s=a(0),c=a(0),d=a(0),v=a(0),f=a(0),p=a(0),m=a(0);function w(){const t=d(e);if(!t)return void(n&&(l.value=0,s.value=0,c.value=0,d.value=0,v.value=0,f.value=0,p.value=0,m.value=0));const o=t.getboundingclientrect();l.value=o.height,s.value=o.bottom,c.value=o.left,d.value=o.right,v.value=o.top,f.value=o.width,p.value=o.x,m.value=o.y}return u(e,w),u((()=>d(e)),(e=>!e&&w())),r&&b("scroll",w,{capture:!0,passive:!0}),o&&b("resize",w,{passive:!0}),c((()=>{i&&w()})),{height:l,bottom:s,left:c,right:d,top:v,width:f,x:p,y:m,update:w}}var k,x,y=object.getownpropertysymbols,z=object.prototype.hasownproperty,ee=object.prototype.propertyisenumerable;function te(e,t,n={}){const o=n,{window:r=r}=o,i=((e,t)=>{var n={};for(var o in e)z.call(e,o)&&t.indexof(o)<0&&(n[o]=e[o]);if(null!=e&&y)for(var o of y(e))t.indexof(o)<0&&ee.call(e,o)&&(n[o]=e[o]);return n})(o,["window"]);let a;const l=z((()=>r&&"mutationobserver"in r)),s=()=>{a&&(a.disconnect(),a=void 0)},c=u((()=>d(e)),(e=>{s(),l.value&&r&&e&&(a=new mutationobserver(t),a.observe(e,i))}),{immediate:!0}),d=()=>{s(),c()};return x(d),{issupported:l,stop:d}}(x=k||(k={})).up="up",x.right="right",x.down="down",x.left="left",x.none="none";var ne=object.defineproperty,oe=object.getownpropertysymbols,re=object.prototype.hasownproperty,ie=object.prototype.propertyisenumerable,ae=(e,t,n)=>t in e?ne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function ue(e,t,n,o={}){var r,i,s;const{clone:c=!1,passive:v=!1,eventname:f,deep:p=!1,defaultvalue:m}=o,w=l(),y=n||(null==w?void 0:w.emit)||(null==(r=null==w?void 0:w.$emit)?void 0:r.bind(w))||(null==(s=null==(i=null==w?void 0:w.proxy)?void 0:i.$emit)?void 0:s.bind(null==w?void 0:w.proxy));let b=f;t||(t="modelvalue"),b=f||b||`update:${t.tostring()}`;const o=e=>{return c?(e=>"function"==typeof e)(c)?c(e):(t=e,json.parse(json.stringify(t))):e;var t},h=()=>void 0!==e[t]?o(e[t]):m;if(v){const n=h(),o=a(n);return u((()=>e[t]),(e=>o.value=o(e))),u(o,(n=>{(n!==e[t]||p)&&y(b,n)}),{deep:p}),o}return d({get:()=>h(),set(e){y(b,e)}})}function le({window:e=r}={}){if(!e)return a(!1);const t=a(e.document.hasfocus());return b(e,"blur",(()=>{t.value=!1})),b(e,"focus",(()=>{t.value=!0})),t}function se(e={}){const{window:t=r,initialwidth:n=1/0,initialheight:o=1/0,listenorientation:r=!0,includescrollbar:i=!0}=e,u=a(n),l=a(o),s=()=>{t&&(i?(u.value=t.innerwidth,l.value=t.innerheight):(u.value=t.document.documentelement.clientwidth,l.value=t.document.documentelement.clientheight))};return s(),c(s),b("resize",s,{passive:!0}),r&&b("orientationchange",s,{passive:!0}),{width:u,height:l}}((e,t)=>{for(var n in t||(t={}))re.call(t,n)&&ae(e,n,t[n]);if(oe)for(var n of oe(t))ie.call(t,n)&&ae(e,n,t[n])})({linear:function(e){return e}},{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]});export{b as a,se as b,q as c,u as d,n as e,m as f,q as g,e as h,g as i,f as j,le as k,h as l,ue as m,te as n,_ as o,a as r,x as t,d as u};