1import{i as J,t as O,w as W,a as R,b as $,d as B,n as T,e as D,f as U,g as C}from"./oaYCrmSY.js";import{aO as _,s as z,G as N,k as E,au as w,aU as H,z as P,ap as g,J as I,H as j,b9 as G,N as K,a1 as Q}from"./Bcc8-a-q.js";function se(o,u,a){let c;K(a)?c={evaluating:a}:c=a||{};const{lazy:i=!1,evaluating:l=void 0,shallow:r=!0,onError:t=T}=c,e=g(!i),n=r?g(u):z(u);let s=0;return I(async m=>{if(!e.value)return;s++;const d=s;let f=!1;l&&Promise.resolve().then(()=>{l.value=!0});try{const v=await o(h=>{m(()=>{l&&(l.value=!1),f||h()})});d===s&&(n.value=v)}catch(v){t(v)}finally{l&&d===s&&(l.value=!1),f=!0}}),i?E(()=>(e.value=!0,n.value)):n}const A=B?window:void 0;function x(o){var u;const a=w(o);return(u=a==null?void 0:a.$el)!=null?u:a}function L(...o){const u=[],a=()=>{u.forEach(t=>t()),u.length=0},c=(t,e,n,s)=>(t.addEventListener(e,n,s),()=>t.removeEventListener(e,n,s)),i=E(()=>{const t=O(w(o[0])).filter(e=>e!=null);return t.every(e=>typeof e!="string")?t:void 0}),l=W(()=>{var t,e;return[(e=(t=i.value)==null?void 0:t.map(n=>x(n)))!=null?e:[A].filter(n=>n!=null),O(w(i.value?o[1]:o[0])),O(P(i.value?o[2]:o[1])),w(i.value?o[3]:o[2])]},([t,e,n,s])=>{if(a(),!(t!=null&&t.length)||!(e!=null&&e.length)||!(n!=null&&n.length))return;const m=$(s)?{...s}:s;u.push(...t.flatMap(d=>e.flatMap(f=>n.map(v=>c(d,f,v,m)))))},{flush:"post"}),r=()=>{l(),a()};return R(a),r}function X(){const o=g(!1),u=_();return u&&j(()=>{o.value=!0},u),o}function Y(o){const u=X();return E(()=>(u.value,!!o()))}function Z(o,u,a={}){const{window:c=A,...i}=a;let l;const r=Y(()=>c&&"MutationObserver"in c),t=()=>{l&&(l.disconnect(),l=void 0)},e=E(()=>{const d=w(o),f=O(d).map(x).filter(D);return new Set(f)}),n=N(()=>e.value,d=>{t(),r.value&&d.size&&(l=new MutationObserver(u),d.forEach(f=>l.observe(f,i)))},{immediate:!0,flush:"post"}),s=()=>l==null?void 0:l.takeRecords(),m=()=>{n(),t()};return R(m),{isSupported:r,stop:m,takeRecords:s}}function k(o,u,a={}){const{window:c=A,document:i=c==null?void 0:c.document,flush:l="sync"}=a;if(!c||!i)return T;let r;const t=s=>{r==null||r(),r=s},e=I(()=>{const s=x(o);if(s){const{stop:m}=Z(i,d=>{d.map(v=>[...v.removedNodes]).flat().some(v=>v===s||v.contains(s))&&u(d)},{window:c,childList:!0,subtree:!0});t(m)}},{flush:l}),n=()=>{e(),t()};return R(n),n}function ue(o={}){var u;const{window:a=A,deep:c=!0,triggerOnRemoval:i=!1}=o,l=(u=o.document)!=null?u:a==null?void 0:a.document,r=()=>{var n;let s=l==null?void 0:l.activeElement;if(c)for(;s!=null&&s.shadowRoot;)s=(n=s==null?void 0:s.shadowRoot)==null?void 0:n.activeElement;return s},t=g(),e=()=>{t.value=r()};if(a){const n={capture:!0,passive:!0};L(a,"blur",s=>{s.relatedTarget===null&&e()},n),L(a,"focus",e,n)}return i&&k(t,e,{document:l}),e(),t}function ee(o,u={}){const{immediate:a=!0,fpsLimit:c=void 0,window:i=A,once:l=!1}=u,r=g(!1),t=E(()=>c?1e3/w(c):null);let e=0,n=null;function s(f){if(!r.value||!i)return;e||(e=f);const v=f-e;if(t.value&&v<t.value){n=i.requestAnimationFrame(s);return}if(e=f,o({delta:v,timestamp:f}),l){r.value=!1,n=null;return}n=i.requestAnimationFrame(s)}function m(){!r.value&&i&&(r.value=!0,e=0,n=i.requestAnimationFrame(s))}function d(){r.value=!1,n!=null&&i&&(i.cancelAnimationFrame(n),n=null)}return a&&m(),R(d),{isActive:G(r),pause:d,resume:m}}function te(o){return JSON.parse(JSON.stringify(o))}const b=new Map;function le(o){const u=H();function a(t){var e;const n=b.get(o)||new Set;n.add(t),b.set(o,n);const s=()=>i(t);return(e=u==null?void 0:u.cleanups)==null||e.push(s),s}function c(t){function e(...n){i(e),t(...n)}return a(e)}function i(t){const e=b.get(o);e&&(e.delete(t),e.size||l())}function l(){b.delete(o)}function r(t,e){var n;(n=b.get(o))==null||n.forEach(s=>s(t,e))}return{on:a,once:c,off:i,emit:r,reset:l}}function ie(o={}){const{controls:u=!1,offset:a=0,immediate:c=!0,interval:i="requestAnimationFrame",callback:l}=o,r=g(C()+a),t=()=>r.value=C()+a,e=l?()=>{t(),l(r.value)}:t,n=i==="requestAnimationFrame"?ee(e,{immediate:c}):U(e,i,{immediate:c});return u?{timestamp:r,...n}:r}function ae(o,u,a,c={}){var i,l,r;const{clone:t=!1,passive:e=!1,eventName:n,deep:s=!1,defaultValue:m,shouldEmit:d}=c,f=_(),v=a||(f==null?void 0:f.emit)||((i=f==null?void 0:f.$emit)==null?void 0:i.bind(f))||((r=(l=f==null?void 0:f.proxy)==null?void 0:l.$emit)==null?void 0:r.bind(f==null?void 0:f.proxy));let h=n;u||(u="modelValue"),h=h||`update:${u.toString()}`;const y=p=>t?typeof t=="function"?t(p):te(p):p,V=()=>J(o[u])?y(o[u]):m,q=p=>{d?d(p)&&v(h,p):v(h,p)};if(e){const p=V(),S=z(p);let F=!1;return N(()=>o[u],M=>{F||(F=!0,S.value=y(M),Q(()=>F=!1))}),N(S,M=>{!F&&(M!==o[u]||s)&&q(M)},{deep:s}),S}else return E({get(){return V()},set(p){q(p)}})}
1export{x as a,ae as b,se as c,ue as d,L as e,le as f,ie as u};
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.