1import{a2 as G,B as K,F as N,Y as $,a6 as V,t as p,a7 as F,a8 as U,f as m,w,a3 as W,a9 as J,aa as q,Z as C,b as _,j as k,ab as L,a1 as H,k as P,ac as R,e as z,g as Y,V as Z,ad as Q,ae as X,d as B,af as ee,m as te,y as ne,z as E}from"./BVuyBFAy.js";function re(e,t){const r=typeof e=="string"&&!t?`${e}Context`:t,n=Symbol(r);return[s=>{const u=G(n,s);if(u||u===null)return u;throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},s=>(K(n,s),s)]}function D(e){return e?e.flatMap(t=>t.type===N?D(t.children):[t]):[]}const[Oe,we]=re("ConfigProvider");function Se(e,t){var r;const n=$();return W(()=>{n.value=e()},{...t,flush:(r=t==null?void 0:t.flush)!==null&&r!==void 0?r:"sync"}),J(n)}function g(e,t){return F()?(U(e,t),!0):!1}function Pe(){const e=new Set,t=o=>{e.delete(o)};return{on:o=>{e.add(o);const s=()=>t(o);return g(s),{off:s}},off:t,trigger:(...o)=>Promise.all(Array.from(e).map(s=>s(...o))),clear:()=>{e.clear()}}}function xe(e){let t=!1,r;const n=L(!0);return(...i)=>(t||(r=n.run(()=>e(...i)),t=!0),r)}const x=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const oe=e=>typeof e<"u",ie=Object.prototype.toString,se=e=>ie.call(e)==="[object Object]",Ce=ue();function ue(){var e,t,r;return x&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((r=window)===null||r===void 0?void 0:r.navigator.userAgent))}function j(e){return Array.isArray(e)?e:[e]}function ae(e){return P()}function Ee(e){if(!x)return e;let t=0,r,n;const i=()=>{t-=1,n&&t<=0&&(n.stop(),r=void 0,n=void 0)};return(...o)=>(t+=1,n||(n=L(!0),r=n.run(()=>e(...o))),g(i),r)}function le(e){return C(e)?_(new Proxy({},{get(t,r,n){return k(Reflect.get(e.value,r,n))},set(t,r,n){return C(e.value[r])&&!C(n)?e.value[r].value=n:e.value[r]=n,!0},deleteProperty(t,r){return Reflect.deleteProperty(e.value,r)},has(t,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):_(e)}function ce(e){return le(m(e))}function je(e,...t){const r=t.flat(),n=r[0];return ce(()=>Object.fromEntries(typeof n=="function"?Object.entries(R(e)).filter(([i,o])=>!n(p(o),i)):Object.entries(R(e)).filter(i=>!r.includes(i[0]))))}function $e(e,t=1e4){return q((r,n)=>{let i=p(e),o;const s=()=>setTimeout(()=>{i=p(e),n()},p(t));return g(()=>{clearTimeout(o)}),{get(){return r(),i},set(u){i=u,n(),clearTimeout(o),o=s()}}})}function Ae(e,t){ae()&&H(e,t)}function Te(e,t,r={}){const{immediate:n=!0,immediateCallback:i=!1}=r,o=$(!1);let s;function u(){s&&(clearTimeout(s),s=void 0)}function l(){o.value=!1,u()}function c(...a){i&&e(),u(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=void 0,e(...a)},p(t))}return n&&(o.value=!0,x&&c()),g(l),{isPending:V(o),start:c,stop:l}}function fe(e,t,r){return w(e,t,{...r,immediate:!0})}const A=x?window:void 0;function S(e){var t;const r=p(e);return(t=r==null?void 0:r.$el)!==null&&t!==void 0?t:r}function de(...e){const t=(n,i,o,s)=>(n.addEventListener(i,o,s),()=>n.removeEventListener(i,o,s)),r=m(()=>{const n=j(p(e[0])).filter(i=>i!=null);return n.every(i=>typeof i!="string")?n:void 0});return fe(()=>{var n,i;return[(n=(i=r.value)===null||i===void 0?void 0:i.map(o=>S(o)))!==null&&n!==void 0?n:[A].filter(o=>o!=null),j(p(r.value?e[1]:e[0])),j(k(r.value?e[2]:e[1])),p(r.value?e[3]:e[2])]},([n,i,o,s],u,l)=>{if(!(n!=null&&n.length)||!(i!=null&&i.length)||!(o!=null&&o.length))return;const c=se(s)?{...s}:s,a=n.flatMap(v=>i.flatMap(f=>o.map(y=>t(v,f,y,c))));l(()=>{a.forEach(v=>v())})},{flush:"post"})}function ve(){const e=$(!1),t=P();return t&&Y(()=>{e.value=!0},t),e}function pe(e){const t=ve();return m(()=>(t.value,!!e()))}function me(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Ie(...e){let t,r,n={};e.length===3?(t=e[0],r=e[1],n=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,r=e[0],n=e[1]):(t=e[0],r=e[1]):(t=!0,r=e[0]);const{target:i=A,eventName:o="keydown",passive:s=!1,dedupe:u=!1}=n,l=me(t);return de(i,o,a=>
1{a.repeat&&p(u)||l(a)&&r(a)},s)}function ge(e){return JSON.parse(JSON.stringify(e))}function Me(e,t,r={}){const{window:n=A,...i}=r;let o;const s=pe(()=>n&&"ResizeObserver"in n),u=()=>{o&&(o.disconnect(),o=void 0)},l=w(m(()=>{const a=p(e);return Array.isArray(a)?a.map(v=>S(v)):[S(a)]}),a=>{if(u(),s.value&&n){o=new ResizeObserver(t);for(const v of a)v&&o.observe(v,i)}},{immediate:!0,flush:"post"}),c=()=>{u(),l()};return g(c),{isSupported:s,stop:c}}function _e(e,t,r,n={}){var i,o;const{clone:s=!1,passive:u=!1,eventName:l,deep:c=!1,defaultValue:a,shouldEmit:v}=n,f=P(),y=r||(f==null?void 0:f.emit)||(f==null||(i=f.$emit)===null||i===void 0?void 0:i.bind(f))||(f==null||(o=f.proxy)===null||o===void 0||(o=o.$emit)===null||o===void 0?void 0:o.bind(f==null?void 0:f.proxy));let b=l;t||(t="modelValue"),b=b||`update:${t.toString()}`;const T=d=>s?typeof s=="function"?s(d):ge(d):d,I=()=>oe(e[t])?T(e[t]):a,M=d=>{v?v(d)&&y(b,d):y(b,d)};if(u){const d=z(I());let h=!1;return w(()=>e[t],O=>{h||(h=!0,d.value=T(O),Z(()=>h=!1))}),w(d,O=>{!h&&(O!==e[t]||c)&&M(O)},{deep:c}),d}else return m({get(){return I()},set(d){M(d)}})}function Re(){const e=P(),t=z(),r=m(()=>n());Q(()=>{r.value!==n()&&X(t)});function n(){return t.value&&"$el"in t.value&&["#text","#comment"].includes(t.value.$el.nodeName)?t.value.$el.nextElementSibling:S(t)}const i=Object.assign({},e.exposed),o={};for(const u in e.props)Object.defineProperty(o,u,{enumerable:!0,configurable:!0,get:()=>e.props[u]});if(Object.keys(i).length>0)for(const u in i)Object.defineProperty(o,u,{enumerable:!0,configurable:!0,get:()=>i[u]});Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=o;function s(u){if(t.value=u,!!u&&(Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>u instanceof Element?u:u.$el}),!(u instanceof Element)&&!Object.prototype.hasOwnProperty.call(u,"$el"))){const l=u.$.exposed,c=Object.assign({},o);for(const a in l)Object.defineProperty(c,a,{enumerable:!0,configurable:!0,get:()=>l[a]});e.exposed=c}}return{forwardRef:s,currentRef:t,currentElement:r}}const ye=B({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:r}){return()=>{var l;if(!r.default)return null;const n=D(r.default()),i=n.findIndex(c=>c.type!==ee);if(i===-1)return n;const o=n[i];(l=o.props)==null||delete l.ref;const s=o.props?te(t,o.props):t,u=ne({...o,props:{}},s);return n.length===1?u:(n[i]=u,n)}}}),be=["area","img","input"],ke=B({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:r}){const n=e.asChild?"template":e.as;return typeof n=="string"&&be.includes(n)?()=>E(n,t):n!=="template"?()=>E(e.as,t,{default:r.default}):()=>E(ye,t,{default:r.default})}});export{ke as P,ye as S,_e as a,Re as b,re as c,ve as d,x as e,de as f,Pe as g,Ee as h,Oe as i,Ce as j,A as k,D as l,xe as m,$e as n,Ie as o,g as p,Se as q,ce as r,je as s,Ae as t,S as u,Te as v,Me as w};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.