import{ae as z,af as I,ab as D,a7 as G,a8 as $,a6 as k,V as K,ag as B,L as E,I as w,W as p,r as N,q as b,p as J,u as R,H as U,c as q,O as A,a0 as W,A as _}from"./index-B0FmaMuw.js";function le(e,t){var n;const o=k();return K(()=>{o.value=e()},{...t,flush:(n=void 0)!=null?n:"sync"}),B(o)}function x(e){return G()?($(e),!0):!1}function ae(e){let t=!1,n;const o=I(!0);return(...r)=>(t||(n=o.run(()=>e(...r)),t=!0),n)}function ce(e){let t=0,n,o;const r=()=>{t-=1,o&&t<=0&&(o.stop(),n=void 0,o=void 0)};return(...u)=>(t+=1,o||(o=I(!0),n=o.run(()=>e(...u))),x(r),n)}const V=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const H=e=>typeof e<"u",Q=Object.prototype.toString,X=e=>Q.call(e)==="[object Object]",fe=Y();function Y(){var e,t;return V&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Z(e){return E()}function j(e){return Array.isArray(e)?e:[e]}function de(e,t=1e4){return z((n,o)=>{let r=p(e),u;const s=()=>setTimeout(()=>{r=p(e),o()},p(t));return x(()=>{clearTimeout(u)}),{get(){return n(),r},set(i){r=i,o(),clearTimeout(u),u=s()}}})}function pe(e,t){Z()&&D(e,t)}function F(e,t,n){return w(e,t,{...n,immediate:!0})}const M=V?window:void 0;function S(e){var t;const n=p(e);return(t=n?.$el)!=null?t:n}function ee(...e){const t=[],n=()=>{t.forEach(i=>i()),t.length=0},o=(i,l,a,c)=>(i.addEventListener(l,a,c),()=>i.removeEventListener(l,a,c)),r=b(()=>{const i=j(p(e[0])).filter(l=>l!=null);return i.every(l=>typeof l!="string")?i:void 0}),u=F(()=>{var i,l;return[(l=(i=r.value)==null?void 0:i.map(a=>S(a)))!=null?l:[M].filter(a=>a!=null),j(p(r.value?e[1]:e[0])),j(R(r.value?e[2]:e[1])),p(r.value?e[3]:e[2])]},([i,l,a,c])=>{if(n(),!i?.length||!l?.length||!a?.length)return;const v=X(c)?{...c}:c;t.push(...i.flatMap(m=>l.flatMap(f=>a.map(y=>o(m,f,y,v)))))},{flush:"post"}),s=()=>{u(),n()};return x(n),s}function te(){const e=k(!1),t=E();return t&&J(()=>{e.value=!0},t),e}function ne(e){const t=te();return b(()=>(t.value,!!e()))}function oe(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function ve(...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:r=M,eventName:u="keydown",passive:s=!1,dedupe:i=!1}=o,l=oe(t);return ee(r,u,c=>{c.repeat&&p(i)||l(c)&&n(c)},s)}function re(e){return JSON.parse(JSON.stringify(e))}function me(e,t,n={}){const{window:o=M,...r}=n;let u;const s=ne(()=>o&&"ResizeObserver"in o),i=()=>{u&&(u.disconnect(),u=void 0)},l=b(()=>{const v=p(e);return Array.isArray(v)?v.map(m=>S(m)):[S(v)]}),a=w(l,v=>{if(i(),s.value&&o){u=new ResizeObserver(t);for(const m of v)m&&u.observe(m,r)}},{immediate:!0,flush:"post"}),c=()=>{i(),a()};return x(c),{isSupported:s,stop:c}}function be(e,t,n,o={}){var r,u,s;const{clone:i=!1,passive:l=!1,eventName:a,deep:c=!1,defaultValue:v,shouldEmit:m}=o,f=E(),y=n||f?.emit||((r=f?.$emit)==null?void 0:r.bind(f))||((s=(u=f?.proxy)==null?void 0:u.$emit)==null?void 0:s.bind(f?.proxy));let g=a;t||(t="modelValue"),g=g||`update:${t.toString()}`;const T=d=>i?typeof i=="function"?i(d):re(d):d,C=()=>H(e[t])?T(e[t]):v,L=d=>{m?m(d)&&y(g,d):y(g,d)};if(l){const d=C(),P=N(d);let h=!1;return w(()=>e[t],O=>{h||(h=!0,P.value=T(O),U(()=>h=!1))}),w(P,O=>{!h&&(O!==e[t]||c)&&L(O)},{deep:c}),P}else return b({get(){return C()},set(d){L(d)}})}function ye(){const e=E(),t=N(),n=b(()=>["#text","#comment"].includes(t.value?.$el.nodeName)?t.value?.$el.nextElementSibling:S(t)),o=Object.assign({},e.exposed),r={};for(const s in e.props)Object.defineProperty(r,s,{enumerable:!0,configurable:!0,get:()=>e.props[s]});if(Object.keys(o).length>0)for(const s in o)Object.defineProperty(r,s,{enumerable:!0,configurable:!0,get:()=>o[s]});Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=r;function u(s){if(t.value=s,!!s&&(Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>s instanceof Element?s:s.$el}),!(s instanceof Element)&&!Object.hasOwn(s,"$el"))){const i=s.$.exposed,l=Object.assign({},r);for(const a in i)Object.defineProperty(l,a,{enumerable:!0,configurable:!0,get:()=>i[a]});e.exposed=l}}return{forwardRef:u,currentRef:t,currentElement:n}}const ge=q("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const he=e=>typeof e<"u";function ie(e){return A(e)?W(new Proxy({},{get(t,n,o){return R(Reflect.get(e.value,n,o))},set(t,n,o){return A(e.value[n])&&!A(o)?e.value[n].value=o:e.value[n]=o,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):W(e)}function se(e){return ie(b(e))}function Oe(e,...t){const n=t.flat(),o=n[0];return se(()=>Object.fromEntries(typeof o=="function"?Object.entries(_(e)).filter(([r,u])=>!o(p(u),r)):Object.entries(_(e)).filter(r=>!n.includes(r[0]))))}export{ge as L,ye as a,V as b,ce as c,fe as d,ee as e,S as f,de as g,M as h,he as i,ae as j,te as k,le as l,me as m,ve as o,Oe as r,pe as t,be as u};