1import{ac as ve,l as V,ad as K,i as me,y as ke,C as w,ae as pe,af as Ie,ag as se,ah as Pe,ai as Oe,aj as Ce,z as Ae,ak as S,al as he,a0 as Me,t as R,am as le,an as Z,m as ye,ao as We}from"./Dys0Pqea.js";function U(e,t){return pe()?(Ie(e,t),!0):!1}function ae(){const e=new Set,t=r=>{e.delete(r)};return{on:r=>{e.add(r);const l=()=>t(r);return U(l),{off:l}},off:t,trigger:(...r)=>Promise.all(Array.from(e).map(l=>l(...r))),clear:()=>{e.clear()}}}const te=new WeakMap,Re=(...e)=>{var t;const n=e[0],o=(t=se())===null||t===void 0?void 0:t.proxy,s=o??pe();if(s==null&&!he())throw new Error("injectLocal must be called in setup");return s&&te.has(s)&&n in te.get(s)?te.get(s)[n]:Me(...e)},q=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const be=e=>e!=null,Ve=Object.prototype.toString,we=e=>Ve.call(e)==="[object Object]",L=()=>{};function ge(...e){if(e.length!==1)return Pe(...e);const t=e[0];return typeof t=="function"?Oe(Ce(()=>({get:t,set:L}))):Ae(t)}function J(e,t){function n(...o){return new Promise((s,r)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(s).catch(r)})}return n}const Te=e=>e();function Ee(e,t={}){let n,o,s=L;const r=i=>{clearTimeout(i),s(),s=L};let l;return i=>{const v=w(e),u=w(t.maxWait);return n&&r(n),v<=0||u!==void 0&&u<=0?(o&&(r(o),o=void 0),Promise.resolve(i())):new Promise((a,b)=>{s=t.rejectOnCancel?b:a,l=i,u&&!o&&(o=setTimeout(()=>{n&&r(n),o=void 0,a(l())},u)),n=setTimeout(()=>{o&&r(o),o=void 0,a(i())},v)})}}function De(...e){let t=0,n,o=!0,s=L,r,l,f,i,v;!ve(e[0])&&typeof e[0]=="object"?{delay:l,trailing:f=!0,leading:i=!0,rejectOnCancel:v=!1}=e[0]:[l,f=!0,i=!0,v=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,s(),s=L)};return b=>{const c=w(l),m=Date.now()-t,E=()=>r=b();return u(),c<=0?(t=Date.now(),E()):(m>c?(t=Date.now(),(i||!o)&&E()):f&&(r=new Promise((d,h)=>{s=v?h:d,n=setTimeout(()=>{t=Date.now(),o=!0,d(E()),u()},Math.max(0,c-m))})),!i&&!n&&(n=setTimeout(()=>o=!0,c)),o=!1,r)}}function Fe(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const o=t;t=void 0,o&&await o},n}function Le(e,t){var n;if(typeof e=="number")return e+t;const o=((n=e.match(/^-?\d+\.?\d*/))===null||n===void 0?void 0:n[0])||"",s=e.slice(o.length),r=Number.parseFloat(o)+t;return Number.isNaN(r)?e:r+s}function Q(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function G(e){return Array.isArray(e)?e:[e]}function je(e){return se()}function _e(e,t=200,n={}){return J(Ee(t,n),e)}function Ne(e,t=200,n=!1,o=!0,s=!1){return J(De(t,n,o,s),e)}function $e(e,t,n={}){const{eventFilter:o=Te,...s}=n;return V(e,J(o,t),s)}function ee(e,t=!0,n){je()?me(e,n):t?e():ke(e)}function ot(e,t=1e3,n={}){const{immediate:o=!0,immediateCallback:s=!1}=n;let r=null;const l=S(!1);function f(){r&&(clearInterval(r),r=null)}function i(){l.value=!1,f()}function v(){const u=w(t);u<=0||(l.value=!0,s&&e(),f(),l.value&&(r=setInterval(e,u)))}return o&&q&&v(),(ve(t)||typeof t=="function")&&U(V(t,()=>{l.value&&q&&v()})),U(i),{isActive:K(l),pause:i,resume:v}}function He(e,t,n={}){const{immediate:o=!0,immediateCallback:s=!1}=n,r=S(!1);let l;function f(){l&&(clearTimeout(l),l=void 0)}function i(){r.value=!1,f()}function v(...u){s&&e(),f(),r.value=!0,l=setTimeout(()=>{r.value=!1,l=void 0,e(...u)},w(t))}return o&&(r.value=!0,q&&v()),U(i),{isPending:K(r),start:v,stop:i}}function rt(e,t,n={}){const{debounce:o=0,maxWait:s=void 0,...r}=n;return $e(e,t,{...r,eventFilter:Ee(o,{maxWait:s})})}function ce(e,t,n={}){const{eventFilter:o=Te,...s}=n,r=J(o,t);let l,f,i;if(s.flush==="sync"){let v=!1;f=()=>{},l=u=>{v=!0,u(),v=!1},i=V(e,(...u)=>{v||r(...u)},s)}else{const v=[];let u=0,a=0;f=()=>{u=a},v.push(V(e,()=>{a++},{...s,flush:"sync"})),l=b=>{const c=a;b(),u+=a-c},v.push(V(e,(...b)=>{const c=u>0&&u===a;u=0,a=0,!c&&r(...b)},s)),i=()=>{v.forEach(b=>b())}}return{stop:i,ignoreUpdates:l,ignorePrevAsyncUpdates:f}}function Be(e,t,n){return V(e,t,{...n,immediate:!0})}function Ue(e,t,n){return V(e,t,{...n,once:!0})}const _=q?window:void 0,ze=q?window.document:void 0,Se=q?window.navigator:void 0;function D(e){var t;const n=w(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function x(...e){const t=(o,s,r,l)=>(o.addEventListener(s,r,l),()=>o.removeEventListener(s,r,l)),n=R(()=>{const o=G(w(e[0])).filter(s=>s!=null);return o.every(s=>
1typeof s!="string")?o:void 0});return Be(()=>{var o,s;return[(o=(s=n.value)===null||s===void 0?void 0:s.map(r=>D(r)))!==null&&o!==void 0?o:[_].filter(r=>r!=null),G(w(n.value?e[1]:e[0])),G(ye(n.value?e[2]:e[1])),w(n.value?e[3]:e[2])]},([o,s,r,l],f,i)=>{if(!o?.length||!s?.length||!r?.length)return;const v=we(l)?{...l}:l,u=o.flatMap(a=>s.flatMap(b=>r.map(c=>t(a,b,c,v))));i(()=>{u.forEach(a=>a())})},{flush:"post"})}function it(e,t,n={}){const{window:o=_,ignore:s=[],capture:r=!0,detectIframe:l=!1,controls:f=!1}=n;if(!o)return f?{stop:L,cancel:L,trigger:L}:L;let i=!0;const v=d=>w(s).some(h=>{if(typeof h=="string")return Array.from(o.document.querySelectorAll(h)).some(g=>g===d.target||d.composedPath().includes(g));{const g=D(h);return g&&(d.target===g||d.composedPath().includes(g))}});function u(d){const h=w(d);return h&&h.$.subTree.shapeFlag===16}function a(d,h){const g=w(d),k=g.$.subTree&&g.$.subTree.children;return k==null||!Array.isArray(k)?!1:k.some(A=>A.el===h.target||h.composedPath().includes(A.el))}const b=d=>{const h=D(e);if(d.target!=null&&!(!(h instanceof Element)&&u(e)&&a(e,d))&&!(!h||h===d.target||d.composedPath().includes(h))){if("detail"in d&&d.detail===0&&(i=!v(d)),!i){i=!0;return}t(d)}};let c=!1;const m=[x(o,"click",d=>{c||(c=!0,setTimeout(()=>{c=!1},0),b(d))},{passive:!0,capture:r}),x(o,"pointerdown",d=>{const h=D(e);i=!v(d)&&!!(h&&!d.composedPath().includes(h))},{passive:!0}),l&&x(o,"blur",d=>{setTimeout(()=>{const h=D(e);let g=o.document.activeElement;for(;g?.shadowRoot;)g=g.shadowRoot.activeElement;g?.tagName==="IFRAME"&&!h?.contains(o.document.activeElement)&&t(d)},0)},{passive:!0})].filter(Boolean),E=()=>m.forEach(d=>d());return f?{stop:E,cancel:()=>{i=!1},trigger:d=>{i=!0,b(d),i=!1}}:E}function qe(){const e=S(!1),t=se();return t&&me(()=>{e.value=!0},t),e}function X(e){const t=qe();return R(()=>(t.value,!!e()))}function Ye(e,t,n={}){const{window:o=_,...s}=n;let r;const l=X(()=>o&&"MutationObserver"in o),f=()=>{r&&(r.disconnect(),r=void 0)},i=V(R(()=>{const a=G(w(e)).map(D).filter(be);
1return new Set(a)}),a=>{f(),l.value&&a.size&&(r=new MutationObserver(t),a.forEach(b=>r.observe(b,s)))},{immediate:!0,flush:"post"}),v=()=>r?.takeRecords(),u=()=>{i(),f()};return U(u),{isSupported:l,stop:u,takeRecords:v}}function Ge(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Xe(...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:s=_,eventName:r="keydown",passive:l=!1,dedupe:f=!1}=o,i=Ge(t);return x(s,r,u=>{u.repeat&&w(f)||i(u)&&n(u)},l)}function lt(e,t,n={}){return Xe(e,t,{...n,eventName:"keyup"})}const Ke=Symbol("vueuse-ssr-width");function xe(){const e=he()?Re(Ke,null):null;return typeof e=="number"?e:void 0}function z(e,t={}){const{window:n=_,ssrWidth:o=xe()}=t,s=X(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),r=S(typeof o=="number"),l=S(),f=S(!1),i=v=>{f.value=v.matches};return le(()=>{if(r.value){r.value=!s.value,f.value=w(e).split(",").some(v=>{const u=v.includes("not all"),a=v.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),b=v.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let c=!!(a||b);return a&&c&&(c=o>=Q(a[1])),b&&c&&(c=o<=Q(b[1])),u?!c:c});return}s.value&&(l.value=n.matchMedia(w(e)),f.value=l.value.matches)}),x(l,"change",i,{passive:!0}),R(()=>f.value)}const st={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function ut(e,t={}){function n(c,m){let E=w(e[w(c)]);return m!=null&&(E=Le(E,m)),typeof E=="number"&&(E=`${E}px`),E}const{window:o=_,strategy:s="min-width",ssrWidth:r=xe()}=t,l=typeof r=="number",f=l?S(!1):{value:!0};l&&ee(()=>f.value=!!o);function i(c,m){return!f.value&&l?c==="min"?r>=Q(m):r<=Q(m):o?o.matchMedia(`(${c}-width: ${m})`).matches:!1}const v=c=>z(()=>`(min-width: ${n(c)})`,t),u=c=>z(()=>`(max-width: ${n(c)})`,t),a=Object.keys(e).reduce((c,m)=>(Object.defineProperty(c,m,{get:()=>s==="min-width"?v(m):u(m),enumerable:!0,configurable:!0}),c),{});function b(){const c=Object.keys(e).map(m=>[m,a[m],Q(n(m))]).sort((m,E)=>m[2]-E[2]);return R(()=>c.filter(([,m])=>m.value).map(([m])=>m))}return Object.assign(a,{greaterOrEqual:v,smallerOrEqual:u,greater(c){return z(()=>`(min-width: ${n(c,.1)})`,t)},smaller(c){return z(()=>`(max-width: ${n(c,-.1)})`,t)},between(c,m){return z(()=>`(min-width: ${n(c)}) and (max-width: ${n(m,-.1)})`,t)},isGreater(c){return i("min",n(c,.1))},isGreaterOrEqual(c){return i("min",n(c))},isSmaller(c){return i("max",n(c,-.1))},isSmallerOrEqual(c){return i("max",n(c))},isInBetween(c,m){return i("min",n(c))&&i("max",n(m,-.1))},current:b,active(){const c=b();return R(()=>c.value.length===0?"":c.value.at(s==="min-width"?-1:0))}})}function fe(e,t={}){const{controls:n=!1,navigator:o=Se}=t,s=X(()=>o&&"permissions"in o),r=S(),l=typeof e=="string"?{name:e}:e,f=S(),i=()=>{var u,a;f.value=(u=(a=r.value)===null||a===void 0?void 0:a.state)!==null&&u!==void 0?u:"prompt"};x(r,"change",i,{passive:!0});const v=Fe(async()=>{if(s.value){if(!r.value)try{r.value=await o.permissions.query(l)}catch{r.value=void 0}finally{i()}if(n)return We(r.value)}});return v(),n?{state:f,isSupported:s,query:v}:f}function at(e={}){const{navigator:t=Se,read:n=!1,source:o,copiedDuring:s=1500,legacy:r=!1}=e,l=X(()=>t&&"clipboard"in t),f=fe("clipboard-read"),i=fe("clipboard-write"),v=R(()=>l.value||r),u=S(""),a=S(!1),b=S(!1),c=He(()=>a.value=!1,s,{immediate:!1});let m=0;async function E(){let P=!(l.value&&A(f.value));if(!P)try{u.value=await t.clipboard.readText()}catch{P=!0}P&&(u.value=k())}v.value&&n&&x(["copy","cut"],E,{passive:!0});async function d(P){const O=P??w(o);if(v.value&&O!=null){b.value=!0;let T=!(l.value&&A(i.value));if(!T)try{const M=h(O);await t.clipboard.write([M])}catch{T=!0}if(T)if(typeof O=="string")u.value=O,g(O);else{const M=++m,y=await O();y!=null&&M===m&&(u.value=y,g(y))}a.value=!0,c.start(),b.value=!1}}function h(P){return typeof P=="string"?(u.value=P,new ClipboardItem({"text/plain":P})):new ClipboardItem({"text/plain":P().then((O="")=>(u.value=O,new Blob([O],{type:"text/plain"})))})}function g(P){const O=document.createElement("textarea");O.value=P,O.style.position="absolute",O.style.opacity="0",O.setAttribute("readonly",""),document.body.appendChild(O),O.select(),document.execCommand("copy"),O.remove()}function k(){var P,O,T;return(P=(O=document)===null||O===void 0||(T=O.getSelection)===null||T===void 0||(T=T.call(O))===null||T===void 0?void 0:T.toString())!==null&&P!==void 0?P:""}function A(P){return P==="granted"||P==="prompt"}return{copyPending:K(b),isSupported:v,text:K(u),copied:K(a),copy:d}}
1function ct(e,t={}){const n=S(!1),o=S(null);let s=0,r=!0;if(q){var l,f;const i=typeof t=="function"?{onDrop:t}:t,v=(l=i.multiple)!==null&&l!==void 0?l:!0,u=(f=i.preventDefaultForUnhandled)!==null&&f!==void 0?f:!1,a=d=>{var h,g;const k=Array.from((h=(g=d.dataTransfer)===null||g===void 0?void 0:g.files)!==null&&h!==void 0?h:[]);return k.length===0?null:v?k:[k[0]]},b=d=>{const h=ye(i.dataTypes);return typeof h=="function"?h(d):h?.length?d.length===0?!1:d.every(g=>h.some(k=>g.includes(k))):!0},c=d=>{if(i.checkValidity)return i.checkValidity(d);const h=b(Array.from(d??[]).map(k=>k.type)),g=v||d.length<=1;return h&&g},m=()=>/^(?:(?!chrome|android).)*safari/i.test(navigator.userAgent)&&!("chrome"in window),E=(d,h)=>{var g,k;const A=(g=d.dataTransfer)===null||g===void 0?void 0:g.items;if(r=(k=A&&c(A))!==null&&k!==void 0?k:!1,u&&d.preventDefault(),!m()&&!r){d.dataTransfer&&(d.dataTransfer.dropEffect="none");return}d.preventDefault(),d.dataTransfer&&(d.dataTransfer.dropEffect="copy");const P=a(d);switch(h){case"enter":var O;s+=1,n.value=!0,(O=i.onEnter)===null||O===void 0||O.call(i,null,d);break;case"over":var T;(T=i.onOver)===null||T===void 0||T.call(i,null,d);break;case"leave":var M;s-=1,s===0&&(n.value=!1),(M=i.onLeave)===null||M===void 0||M.call(i,null,d);break;case"drop":if(s=0,n.value=!1,r){var y;o.value=P,(y=i.onDrop)===null||y===void 0||y.call(i,P,d)}break}};x(e,"dragenter",d=>E(d,"enter")),x(e,"dragover",d=>E(d,"over")),x(e,"dragleave",d=>E(d,"leave")),x(e,"drop",d=>E(d,"drop"))}return{files:o,isOverDropZone:n}}function Qe(e,t,n={}){const{window:o=_,...s}=n;let r;const l=X(()=>o&&"ResizeObserver"in o),f=()=>{r&&(r.disconnect(),r=void 0)},i=V(R(()=>{const u=w(e);return Array.isArray(u)?u.map(a=>D(a)):[D(u)]}),u=>{if(f(),l.value&&o){r=new ResizeObserver(t);for(const a of u)a&&r.observe(a,s)}},{immediate:!0,flush:"post"}),v=()=>{f(),i()};return U(v),{isSupported:l,stop:v}}function ft(e,t={width:0,height:0},n={}){const{window:o=_,box:s="content-box"}=n,r=R(()=>{var a;return(a=D(e))===null||a===void 0||(a=a.namespaceURI)===null||a===void 0?void 0:a.includes("svg")}),l=S(t.width),f=S(t.height),{stop:i}=Qe(e,([a])=>{const b=s==="border-box"?a.borderBoxSize:s==="content-box"?a.contentBoxSize:a.devicePixelContentBoxSize;if(o&&r.value){const c=D(e);if(c){const m=c.getBoundingClientRect();l.value=m.width,f.value=m.height}}else if(b){const c=G(b);l.value=c.reduce((m,{inlineSize:E})=>m+E,0),f.value=c.reduce((m,{blockSize:E})=>m+E,0)}else l.value=a.contentRect.width,f.value=a.contentRect.height},n);ee(()=>{const a=D(e);a&&(l.value="offsetWidth"in a?a.offsetWidth:t.width,f.value="offsetHeight"in a?a.offsetHeight:t.height)});const v=V(()=>D(e),a=>{l.value=a?t.width:0,f.value=a?t.height:0});function u(){i(),v()}return{width:l,height:f,stop:u}}function Ze(e,t,n={}){const{root:o,rootMargin:s,threshold:r=0,window:l=_,immediate:f=!0}=n,i=X(()=>l&&"IntersectionObserver"in l),v=R(()=>G(w(e)).map(D).filter(be));let u=L;const a=S(f),b=i.value?V(()=>[v.value,D(o),w(s),a.value],([m,E,d])=>{if(u(),!a.value||!m.length)return;const h=new IntersectionObserver(t,{root:D(E),rootMargin:d,threshold:r});m.forEach(g=>g&&h.observe(g)),u=()=>{h.disconnect(),u=L}},{immediate:f,flush:"post"}):L,c=()=>{u(),b(),a.value=!1};return U(c),{isSupported:i,isActive:a,pause(){u(),a.value=!1},resume(){a.value=!0},stop:c}}function dt(e,t={}){const{window:n=_,scrollTarget:o,threshold:s=0,rootMargin:r,once:l=!1,initialValue:f=!1}=t,i=S(f),v=Ze(e,u=>{let a=i.value,b=0;for(const c of u)c.time>=b&&(b=c.time,a=c.isIntersecting);i.value=a,l&&Ue(i,()=>{v.stop()})},{root:o,window:n,threshold:s,rootMargin:r});return t.controls?{...v,isVisible:i}:i}function ne(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const de=1;function Je(e,t={}){const{throttle:n=0,idle:o=200,onStop:s=L,onScroll:r=L,offset:l={left:0,right:0,top:0,bottom:0},observe:f={mutation:!1},eventListenerOptions:i={capture:!1,passive:!0},behavior:v="auto",window:u=_,onError:a=y=>{console.error(y)}}=t,b=typeof f=="boolean"?{mutation:f}:f,c=S(0),m=S(0),E=R({get(){return c.value},set(y){h(y,void 0)}}),d=R({get(){return m.value},set(y){h(void 0,y)}});function h(y,F){var j,p,I,C;if(!u)return;const W=w(e);if(!W)return;(j=W instanceof Document?u.document.body:W)===null||j===void 0||j.scrollTo({top:(p=w(F))!==null&&p!==void 0?p:d.value,left:(I=w(y))!==null&&I!==void 0?I:E.value,behavior:w(v)});const N=(W==null||(C=W.document)===null||C===void 0?void 0:C.documentElement)||W?.documentElement||W;E!=null&&(c.value=N.scrollLeft),d!=null&&(m.value=N.scrollTop)}const g=S(!1),k=Z({left:!0,right:!1,top:!0,bottom:!1}),A=Z({left:!1,right:!1,top:!1,bottom:!1}),P=y=>{g.value&&(g.value=!1,A.left=!1,A.right=!1,A.top=!1,A.bottom=!1,s(y))},O=_e(P,n+o),T=y=>{var F;if(!u)return;const j=(y==null||(F=y.document)===null||F===void 0?void 0:F.documentElement)||y?.documentElement||D(y),{display:p,flexDirection:I,direction:C}=u.getComputedStyle(j),W=C==="rtl"?-1:1,N=j.scrollLeft;A.left=N<c.value,A.right=N>c.value;const Y=Math.abs(N*W)<=(l.left||0),$=Math.abs(N*W)+j.clientWidth>=j.scrollWidth-(l.right||0)-de;p==="flex"&&I==="row-reverse"?(k.left=$,k.right=Y):(k.left=Y,k.right=$),c.value=N;let B=j.scrollTop;
1y===u.document&&!B&&(B=u.document.body.scrollTop),A.top=B<m.value,A.bottom=B>m.value;const H=Math.abs(B)<=(l.top||0),ue=Math.abs(B)+j.clientHeight>=j.scrollHeight-(l.bottom||0)-de;p==="flex"&&I==="column-reverse"?(k.top=ue,k.bottom=H):(k.top=H,k.bottom=ue),m.value=B},M=y=>{var F;u&&(T((F=y.target.documentElement)!==null&&F!==void 0?F:y.target),g.value=!0,O(y),r(y))};return x(e,"scroll",n?Ne(M,n,!0,!1):M,i),ee(()=>{try{const y=w(e);if(!y)return;T(y)}catch(y){a(y)}}),b?.mutation&&e!=null&&e!==u&&e!==document&&Ye(e,()=>{const y=w(e);y&&T(y)},{attributes:!0,childList:!0,subtree:!0}),x(e,"scrollend",P,i),{x:E,y:d,isScrolling:g,arrivedState:k,directions:A,measure(){const y=w(e);u&&y&&T(y)}}}function oe(e,t){w(e)&&t(w(e))}function et(e){let t=[];for(let n=0;n<e.length;++n)t=[...t,[e.start(n),e.end(n)]];return t}function re(e){return Array.from(e).map(({label:t,kind:n,language:o,mode:s,activeCues:r,cues:l,inBandMetadataTrackDispatchType:f},i)=>({id:i,label:t,kind:n,language:o,mode:s,activeCues:r,cues:l,inBandMetadataTrackDispatchType:f}))}const tt={src:"",tracks:[]};function vt(e,t={}){e=ge(e),t={...tt,...t};const{document:n=ze}=t,o={passive:!0},s=S(0),r=S(0),l=S(!1),f=S(1),i=S(!1),v=S(!1),u=S(!1),a=S(1),b=S(!1),c=S([]),m=S([]),E=S(-1),d=S(!1),h=S(!1),g=!!(n&&"pictureInPictureEnabled"in n),k=ae(),A=ae(),P=p=>{oe(e,I=>{if(p){const C=typeof p=="number"?p:p.id;I.textTracks[C].mode="disabled"}else for(let C=0;C<I.textTracks.length;++C)I.textTracks[C].mode="disabled";E.value=-1})},O=(p,I=!0)=>{oe(e,C=>{const W=typeof p=="number"?p:p.id;I&&P(),C.textTracks[W].mode="showing",E.value=W})},T=()=>new Promise((p,I)=>{oe(e,async C=>{g&&(d.value?n.exitPictureInPicture().then(p).catch(I):C.requestPictureInPicture().then(p).catch(I))})});le(()=>{if(!n)return;const p=w(e);if(!p)return;const I=w(t.src);let C=[];I&&(typeof I=="string"?C=[{src:I}]:Array.isArray(I)?C=I:we(I)&&(C=[I]),p.querySelectorAll("source").forEach(W=>{W.remove()}),C.forEach(({src:W,type:N,media:Y})=>{const $=n.createElement("source");$.setAttribute("src",W),$.setAttribute("type",N||""),$.setAttribute("media",Y||""),x($,"error",k.trigger,o),p.appendChild($)}),p.load())}),V([e,f],()=>{const p=w(e);p&&(p.volume=f.value)}),V([e,h],()=>{const p=w(e);p&&(p.muted=h.value)}),V([e,a],()=>{const p=w(e);p&&(p.playbackRate=a.value)}),le(()=>{if(!n)return;const p=w(t.tracks),I=w(e);!p||!p.length||!I||(I.querySelectorAll("track").forEach(C=>C.remove()),p.forEach(({default:C,kind:W,label:N,src:Y,srcLang:$},B)=>{const H=n.createElement("track");H.default=C||!1,H.kind=W,H.label=N,H.src=Y,H.srclang=$,H.default&&(E.value=B),I.appendChild(H)}))});const{ignoreUpdates:M}=ce(s,p=>{const I=w(e);I&&(I.currentTime=p)}),{ignoreUpdates:y}=ce(u,p=>{const I=w(e);I&&(p?I.play().catch(C=>{throw A.trigger(C),C}):I.pause())});x(e,"timeupdate",()=>M(()=>s.value=w(e).currentTime),o),x(e,"durationchange",()=>r.value=w(e).duration,o),x(e,"progress",()=>c.value=et(w(e).buffered),o),x(e,"seeking",()=>l.value=!0,o),x(e,"seeked",()=>l.value=!1,o),x(e,["waiting","loadstart"],()=>{i.value=!0,y(()=>u.value=!1)},o),x(e,"loadeddata",()=>i.value=!1,o),x(e,"playing",()=>{i.value=!1,v.value=!1,y(()=>u.value=!0)},o),x(e,"ratechange",()=>a.value=w(e).playbackRate,o),x(e,"stalled",()=>b.value=!0,o),x(e,"ended",()=>v.value=!0,o),x(e,"pause",()=>y(()=>u.value=!1),o),x(e,"play",()=>y(()=>u.value=!0),o),x(e,"enterpictureinpicture",()=>d.value=!0,o),x(e,"leavepictureinpicture",()=>d.value=!1,o),x(e,"volumechange",()=>{const p=w(e);p&&(f.value=p.volume,h.value=p.muted)},o);const F=[],j=V([e],()=>{const p=w(e);p&&(j(),F[0]=x(p.textTracks,"addtrack",()=>m.value=re(p.textTracks),o),F[1]=x(p.textTracks,"removetrack",()=>m.value=re(p.textTracks),o),F[2]=x(p.textTracks,"change",()=>m.value=re(p.textTracks),o))});return U(()=>F.forEach(p=>p())),{currentTime:s,duration:r,waiting:i,seeking:l,ended:v,stalled:b,buffered:c,playing:u,rate:a,volume:f,muted:h,tracks:m,selectedTrack:E,enableTrack:O,disableTrack:P,supportsPictureInPicture:g,togglePictureInPicture:T,isPictureInPicture:d,onSourceError:k.on,onPlaybackError:A.on}}function mt(e){const t=z("(prefers-reduced-motion: reduce)",e);return R(()=>t.value?"reduce":"no-preference")}const ie=new WeakMap;function pt(e,t=!1){const n=S(t);let o="";V(ge(e),l=>{const f=ne(w(l));if(f){const i=f;if(ie.get(i)||ie.set(i,i.style.overflow),i.style.overflow!=="hidden"&&(o=i.style.overflow),i.style.overflow==="hidden")return n.value=!0;if(n.value)return i.style.overflow="hidden"}},{immediate:!0});const s=()=>{const l=ne(w(e));!l||n.value||(l.style.overflow="hidden",n.value=!0)},r=()=>{const l=ne(w(e));!l||!n.value||(l.style.overflow=o,ie.delete(l),n.value=!1)};return U(r),R({get(){return n.value},set(l){l?s():r()}})}function ht(e,t={}){const{threshold:n=50,onSwipe:o,onSwipeEnd:s,onSwipeStart:r,passive:l=!0}=t,f=Z({x:0,y:0}),i=Z({x:0,y:0}),v=R(()=>f.x-i.x),u=R(()=>f.y-i.y),{max:a,abs:b}=Math,c=R(()=>a(b(v.value),b(u.value))>=n),m=S(!1),E=R(()=>c.value?b(v.value)>b(u.value)?v.value>0?"left":"right":u.value>0?"up":"down":"none"),d=T=>[T.touches[0].clientX,T.touches[0].clientY],h=(T,M)=>{f.x=T,f.y=M},g=(T,M)=>{i.x=T,i.y=M},k={passive:l,capture:!l},A=T=>{m.value&&s?.(T,E.value),m.value=!1},P=[x(e,"touchstart",T=>{if(T.touches.length!==1)return;const[M,y]=d(T);h(M,y),g(M,y),r?.(T)},k),x(e,"touchmove",T=>{if(T.touches.length!==1)return;const[M,y]=d(T);g(M,y),k.capture&&!k.passive&&Math.abs(v.value)>Math.abs(u.value)&&T.preventDefault(),!m.value&&c.value&&(m.value=!0),m.value&&o?.(T)},k),x(e,["touchend","touchcancel"],A,k)];return{isSwiping:m,direction:E,coordsStart:f,coordsEnd:i,lengthX:v,lengthY:u,stop:()=>P.forEach(T=>T())}}function yt(e={}){const{window:t=_,...n}=e;return Je(t,n)}function bt(e={}){const{window:t=_,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:r=!0,type:l="inner"}=e,f=S(n),i=S(o),v=()=>{if(t)if(l==="outer")f.value=t.outerWidth,i.value=t.outerHeight;
1else if(l==="visual"&&t.visualViewport){const{width:a,height:b,scale:c}=t.visualViewport;f.value=Math.round(a*c),i.value=Math.round(b*c)}else r?(f.value=t.innerWidth,i.value=t.innerHeight):(f.value=t.document.documentElement.clientWidth,i.value=t.document.documentElement.clientHeight)};v(),ee(v);const u={passive:!0};return x("resize",v,u),t&&l==="visual"&&t.visualViewport&&x(t.visualViewport,"resize",v,u),s&&V(z("(orientation: portrait)"),()=>v()),{width:f,height:i}}export{Qe as a,ft as b,ut as c,st as d,at as e,yt as f,Je as g,dt as h,mt as i,_e as j,U as k,lt as l,He as m,pt as n,it as o,ot as p,z as q,Ze as r,vt as s,ee as t,x as u,ht as v,rt as w,ct as x,bt as y,Ye as z};
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.