PageSourceSearch

https://www.mozaweb.com/public/assets/web/assets/dist-DXXrZy0D.js

js mozaweb.com collected 2026-10-01 11:26:52 UTC 25,721 bytes, 6 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`v2026.10.1`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`c750789b-4dc2-49f8-a3b7-5b0ff812c372`,e._sentryDebugIdIdentifier=`sentry-dbid-c750789b-4dc2-49f8-a3b7-5b0ff812c372`)}catch{}})();import{Cn as e,En as t,H as n,Ht as r,L as i,On as a,Ut as o,_n as s,bn as c,ct as l,g as u,gn as d,tt as f,vn as p,xn as m}from"./runtime-core.esm-bundler-DcMXQs-x.js";import{S as h,_ as g,a as _,b as v,c as y,d as b,f as x,g as S,h as C,i as w,l as T,m as E,n as D,o as O,p as k,r as A,s as j,t as M,u as N,v as P,x as F}from"./dist-B7A5E5EZ.js";var I=A?window:void 0,ee=A?window.document:void 0,L=A?window.navigator:void 0;A&&window.location;function R(e){let n=t(e);return(n==null?void 0:n.$el)??n}function z(...e){let n=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),r=u(()=>{let n=T(t(e[0])).filter(e=>e!=null);return n.every(e=>typeof e!=`string`)?n:void 0});return v(()=>{var n;return[((n=r.value)==null?void 0:n.map(e=>R(e)))??[I].filter(e=>e!=null),T(t(r.value?e[1]:e[0])),T(a(r.value?e[2]:e[1])),t(r.value?e[3]:e[2])]},([e,t,r,i],a,o)=>{if(!(e!=null&&e.length)||!(t!=null&&t.length)||!(r!=null&&r.length))return;let s=_(i)?{...i}:i,c=e.flatMap(e=>t.flatMap(t=>r.map(r=>n(e,t,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}var B=!1;function te(e,n,r={}){let{window:i=I,ignore:a=[],capture:o=!0,detectIframe:s=!1,controls:c=!1}=r;if(!i)return c?{stop:O,cancel:O,trigger:O}:O;if(w&&!B){B=!0;let e={passive:!0};Array.from(i.document.body.children).forEach(t=>t.addEventListener(`click`,O,e)),i.document.documentElement.addEventListener(`click`,O,e)}let l=!0,u=e=>t(a).some(t=>{if(typeof t==`string`)return Array.from(i.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=R(t);return n&&(e.target===n||e.composedPath().includes(n))}});function d(e){let n=t(e);return n&&n.$.subTree.shapeFlag===16}function f(e,n){let r=t(e),i=r.$.subTree&&r.$.subTree.children;return i==null||!Array.isArray(i)?!1:i.some(e=>e.el===n.target||n.composedPath().includes(e.el))}let p=t=>{let r=R(e);if(t.target!=null&&!(!(r instanceof Element)&&d(e)&&f(e,t))&&r&&r!==t.target&&!t.composedPath().includes(r)){if(`detail`in t&&t.detail===0&&(l=!u(t)),!l){l=!0;return}n(t)}},m=!1,h=[z(i,`click`,e=>{m||(m=!0,setTimeout(()=>{m=!1},0),p(e))},{passive:!0,capture:o}),z(i,`pointerdown`,t=>{let n=R(e);l=!u(t)&&!(!n||t.composedPath().includes(n))},{passive:!0}),s&&z(i,`blur`,t=>{setTimeout(()=>{let r=R(e),a=i.document.activeElement;for(;a!=null&&a.shadowRoot;)a=a.shadowRoot.activeElement;(a==null?void 0:a.tagName)===`IFRAME`&&!(r!=null&&r.contains(i.document.activeElement))&&n(t)},0)},{passive:!0})].filter(Boolean),g=()=>h.forEach(e=>e());return c?{stop:g,cancel:()=>{l=!1},trigger:e=>{l=!0,p(e),l=!1}}:g}function ne(){let e=m(!1),t=i();return t&&l(()=>{e.value=!0},t),e}function V(e){let t=ne();return u(()=>(t.value,!!e()))}function H(e,n,i={}){let{window:a=I,...o}=i,s,c=V(()=>a&&`MutationObserver`in a),l=()=>{s&&(s.disconnect(),s=void 0)},d=r(u(()=>{let n=T(t(e)).map(R).filter(j);return new Set(n)}),e=>{l(),c.value&&e.size&&(s=new MutationObserver(n),e.forEach(e=>s.observe(e,o)))},{immediate:!0,flush:`post`}),f=()=>s==null?void 0:s.takeRecords(),p=()=>{d(),l()};return k(p),{isSupported:c,stop:p,takeRecords:f}}var re=500,ie=10;function ae(e,t,n){var r,i;let a=u(()=>R(e)),o,s,c,l=!1;function d(){o&&(clearTimeout(o),o=void 0),s=void 0,c=void 0,l=!1}function f(e){let t=n==null?void 0:n.delay;return typeof t==`function`?t(e):t??re}function p(e){var t,r,i;let[o,u,f]=[c,s,l];if(d(),!(n!=null&&n.onMouseUp)||!u||!o||n!=null&&(t=n.modifiers)!=null&&t.self&&e.target!==a.value)return;n!=null&&(r=n.modifiers)!=null&&r.prevent&&e.preventDefault(),n!=null&&(i=n.modifiers)!=null&&i.stop&&e.stopPropagation();let p=e.x-u.x,m=e.y-u.y,h=Math.sqrt(p*p+m*m);n.onMouseUp(e.timeStamp-o,h,f,e)}function m(e){var r,i,u;n!=null&&(r=n.modifiers)!=null&&r.self&&e.target!==a.value||(d(),n!=null&&(i=n.modifiers)!=null&&i.prevent&&e.preventDefault(),n!=null&&(u=n.modifiers)!=null&&u.stop&&e.stopPropagation(),s={x:e.x,y:e.y},c=e.timeStamp,o=setTimeout(()=>{l=!0,t(e)},f(e)))}function h(e){var t,r,i;if(n!=null&&(t=n.modifiers)!=null&&t.self&&e.target!==a.value||!s||(n==null?void 0:n.distanceThreshold)===!1)return;n!=null&&(r=n.modifiers)!=null&&r.prevent&&e.preventDefault(),n!=null&&(i=n.modifiers)!=null&&i.stop&&e.stopPropagation();let o=e.x-s.x,c=e.y-s.y;Math.sqrt(o*o+c*c)>=((n==null?void 0:n.distanceThreshold)??ie)&&d()}let g={capture:n==null||(r=n.modifiers)==null?void 0:r.capture,once:n==null||(i=n.modifiers)==null?void 0:i.once},_=[z(a,`pointerdown`,m,g),z(a,`pointermove`,h,g),z(a,[`pointerup`,`pointerleave`],p,g)];return()=>
1_.forEach(e=>e())}function U(e,n={}){let{immediate:r=!0,fpsLimit:i=null,window:a=I,once:o=!1}=n,s=m(!1),l=u(()=>{let e=t(i);return e?1e3/e:null}),d=0,f=null;function p(t){if(!s.value||!a)return;d||(d=t);let n=t-d;if(l.value&&n<l.value){f=a.requestAnimationFrame(p);return}if(d=t,e({delta:n,timestamp:t}),o){s.value=!1,f=null;return}f=a.requestAnimationFrame(p)}function h(){!s.value&&a&&(s.value=!0,d=0,f=a.requestAnimationFrame(p))}function g(){s.value=!1,f!=null&&a&&(a.cancelAnimationFrame(f),f=null)}return r&&h(),k(g),{isActive:c(s),pause:g,resume:h}}var oe=Symbol(`vueuse-ssr-width`);function se(){let e=n()?D(oe,null):null;return typeof e==`number`?e:void 0}function W(e,n={}){let{window:r=I,ssrWidth:i=se()}=n,a=V(()=>r&&`matchMedia`in r&&typeof r.matchMedia==`function`),s=m(typeof i==`number`),c=m(),l=m(!1);return o(()=>{if(s.value){s.value=!a.value;let n=t(e).split(`,`);l.value=n.some(e=>{let t=e.includes(`not all`),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),r=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=!!(n||r);return n&&a&&(a=i>=y(n[1])),r&&a&&(a=i<=y(r[1])),t?!a:a});return}a.value&&(c.value=r.matchMedia(t(e)),l.value=c.value.matches)}),z(c,`change`,e=>{l.value=e.matches},{passive:!0}),u(()=>l.value)}function G(t,n={}){let{controls:r=!1,navigator:i=L}=n,a=V(()=>i&&`permissions`in i),o=m(),s=typeof t==`string`?{name:t}:t,c=m(),l=()=>{var e;c.value=((e=o.value)==null?void 0:e.state)??`prompt`};z(o,`change`,l,{passive:!0});let u=M(async()=>{if(a.value){if(!o.value)try{o.value=await i.permissions.query(s)}catch{o.value=void 0}finally{l()}if(r)return e(o.value)}});return u(),r?{state:c,isSupported:a,query:u}:c}function ce(e={}){let{navigator:n=L,read:r=!1,source:i,copiedDuring:a=1500,legacy:o=!1}=e,s=V(()=>n&&`clipboard`in n),l=G(`clipboard-read`),d=G(`clipboard-write`),f=u(()=>s.value||o),p=m(``),h=m(!1),g=m(!1),_=P(()=>h.value=!1,a,{immediate:!1}),v=0;async function y(){let e=!(s.value&&w(l.value));if(!e)try{p.value=await n.clipboard.readText()}catch{e=!0}e&&(p.value=C())}f.value&&r&&z([`copy`,`cut`],y,{passive:!0});async function b(e){let r=e??t(i);if(f.value&&r!=null){g.value=!0;let e=!(s.value&&w(d.value));if(!e)try{let e=x(r);await n.clipboard.write([e])}catch{e=!0}if(e){if(typeof r==`string`)p.value=r,S(r);else{let e=++v,t=await r();t!=null&&e===v&&(p.value=t,S(t))}}h.value=!0,_.start(),g.value=!1}}function x(e){return typeof e==`string`?(p.value=e,new ClipboardItem({"text/plain":e})):new ClipboardItem({"text/plain":e().then((e=``)=>(p.value=e,new Blob([e],{type:`text/plain`})))})}function S(e){let t=document.createElement(`textarea`);t.value=e,t.style.position=`absolute`,t.style.opacity=`0`,t.setAttribute(`readonly`,``),document.body.appendChild(t),t.select(),document.execCommand(`copy`),t.remove()}function C(){var e,t;return((e=document)==null||(t=e.getSelection)==null||(t=t.call(e))==null?void 0:t.toString())??``}function w(e){return e===`granted`||e===`prompt`}return{copyPending:c(g),isSupported:f,text:c(p),copied:c(h),copy:b}}var K=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{},q=`__vueuse_ssr_handlers__`,le=ue();function ue(){return q in K||(K[q]=K[q]||{}),K[q]}function de(e,t){return le[e]||t}function fe(e){return e==null?`any`:e instanceof Set?`set`:e instanceof Map?`map`:e instanceof Date?`date`:typeof e==`boolean`?`boolean`:typeof e==`string`?`string`:typeof e==`object`?`object`:Number.isNaN(e)?`any`:`number`}var pe={boolean:{read:e=>e===`true`,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},J=`vueuse-storage`;function me(e,n,i,a={}){let{flush:o=`pre`,deep:s=!0,listenToStorageChanges:c=!0,writeDefaults:l=!0,mergeDefaults:d=!1,shallow:g,window:_=I,eventFilter:v,onError:y=e=>{},initOnMounted:b}=a,S=(g?m:p)(typeof n==`function`?n():n),C=u(()=>t(e));if(!i)try{i=de(`getDefaultStorage`,()=>I==null?void 0:I.localStorage)()}catch(e){y(e)}if(!i)return S;let w=t(n),T=fe(w),E=a.serializer??pe[T],{pause:D,resume:O}=h(S,e=>j(e),{flush:o,deep:s,eventFilter:v});r(C,()=>N(),{flush:o});let k=!1;_&&c&&(i instanceof Storage?z(_,`storage`,e=>{(!b||k)&&N(e)},{passive:!0}):z(_,J,e=>{(!b||k)&&P(e)})),b?x(()=>{k=!0,N()}):N();function A(e,t){if(_){let n={key:C.value,oldValue:e,newValue:t,storageArea:i};_.dispatchEvent(i instanceof Storage?new StorageEvent(`storage`,n):new CustomEvent(J,{detail:n}))}}function j(e){try{let t=i.getItem(C.value);if(e==null)A(t,null),i.removeItem(C.value);else{let n=E.write(e);
1t!==n&&(i.setItem(C.value,n),A(t,n))}}catch(e){y(e)}}function M(e){let t=e?e.newValue:i.getItem(C.value);if(t==null)return l&&w!=null&&i.setItem(C.value,E.write(w)),w;if(!e&&d){let e=E.read(t);return typeof d==`function`?d(e,w):T===`object`&&!Array.isArray(e)?{...w,...e}:e}return typeof t==`string`?E.read(t):t}function N(e){if(!(e&&e.storageArea!==i)){if(e&&e.key==null){S.value=w;return}if(!(e&&e.key!==C.value)){D();try{let t=E.write(S.value);(e===void 0||(e==null?void 0:e.newValue)!==t)&&(S.value=M(e))}catch(e){y(e)}finally{e?f(O):O()}}}}function P(e){N(e.detail)}return S}var Y={speed:2,margin:30,direction:`both`};function he(e){e.scrollLeft>e.scrollWidth-e.clientWidth&&(e.scrollLeft=Math.max(0,e.scrollWidth-e.clientWidth)),e.scrollTop>e.scrollHeight-e.clientHeight&&(e.scrollTop=Math.max(0,e.scrollHeight-e.clientHeight))}function ge(e,n={}){let{pointerTypes:i,preventDefault:a,stopPropagation:o,exact:s,onMove:c,onEnd:l,onStart:d,initialValue:f,axis:m=`both`,draggingElement:h=I,containerElement:g,handle:_=e,buttons:v=[0],restrictInView:y,autoScroll:x=!1}=n,S=p(t(f)??{x:0,y:0}),C=p(),w=e=>!i||i.includes(e.pointerType),T=e=>{t(a)&&e.preventDefault(),t(o)&&e.stopPropagation()},E=t(x),D=typeof E==`object`?{speed:t(E.speed)??Y.speed,margin:t(E.margin)??Y.margin,direction:E.direction??Y.direction}:Y,O=e=>typeof e==`number`?[e,e]:[e.x,e.y],k=(e,t,n)=>{let{clientWidth:r,clientHeight:i,scrollLeft:a,scrollTop:o,scrollWidth:s,scrollHeight:c}=e,[l,u]=O(D.margin),[d,f]=O(D.speed),p=0,m=0;(D.direction===`x`||D.direction===`both`)&&(n.x<l&&a>0?p=-d:n.x+t.width>r-l&&a<s-r&&(p=d)),(D.direction===`y`||D.direction===`both`)&&(n.y<u&&o>0?m=-f:n.y+t.height>i-u&&o<c-i&&(m=f)),(p||m)&&e.scrollBy({left:p,top:m,behavior:`auto`})},j=null,M=()=>{let n=t(g);n&&!j&&(j=setInterval(()=>{let r=t(e).getBoundingClientRect(),{x:i,y:a}=S.value,o={x:i-n.scrollLeft,y:a-n.scrollTop};o.x>=0&&o.y>=0&&(k(n,r,o),o.x+=n.scrollLeft,o.y+=n.scrollTop,S.value=o)},1e3/60))},N=()=>{j&&(clearInterval(j),j=null)},P=(e,t,n,r)=>{let[i,a]=typeof n==`number`?[n,n]:[n.x,n.y],{clientWidth:o,clientHeight:s}=t;return e.x<i||e.x+r.width>o-i||e.y<a||e.y+r.height>s-a};t(x)&&r(S,()=>{if(t(n.disabled)||!C.value)return;let r=t(g);if(!r)return;let i=t(e).getBoundingClientRect(),{x:a,y:o}=S.value,s={x:a-r.scrollLeft,y:o-r.scrollTop};P(s,r,D.margin,i)?M():N()});let F=r=>{var i;if(!t(v).includes(r.button)||t(n.disabled)||!w(r)||t(s)&&r.target!==t(e))return;let a=t(g),o=a==null||(i=a.getBoundingClientRect)==null?void 0:i.call(a),c=t(e).getBoundingClientRect(),l={x:r.clientX-(a?c.left-o.left+(x?0:a.scrollLeft):c.left),y:r.clientY-(a?c.top-o.top+(x?0:a.scrollTop):c.top)};(d==null?void 0:d(l,r))!==!1&&(C.value=l,T(r))},ee=r=>{if(t(n.disabled)||!w(r)||!C.value)return;let i=t(g);i instanceof HTMLElement&&he(i);let a=t(e).getBoundingClientRect(),{x:o,y:s}=S.value;if((m===`x`||m===`both`)&&(o=r.clientX-C.value.x,i&&(o=Math.min(Math.max(0,o),i.scrollWidth-a.width))),(m===`y`||m===`both`)&&(s=r.clientY-C.value.y,i&&(s=Math.min(Math.max(0,s),i.scrollHeight-a.height))),t(x)&&i&&(j===null&&k(i,a,{x:o,y:s}),o+=i.scrollLeft,s+=i.scrollTop),i&&(y||x)){if(m!==`y`){let e=o-i.scrollLeft;e<0?o=i.scrollLeft:e>i.clientWidth-a.width&&(o=i.clientWidth-a.width+i.scrollLeft)}if(m!==`x`){let e=s-i.scrollTop;e<0?s=i.scrollTop:e>i.clientHeight-a.height&&(s=i.clientHeight-a.height+i.scrollTop)}}S.value={x:o,y:s},c==null||c(S.value,r),T(r)},L=e=>{!t(n.disabled)&&w(e)&&C.value&&(C.value=void 0,x&&N(),l==null||l(S.value,e),T(e))};if(A){let e=()=>({capture:n.capture??!0,passive:!t(a)});z(_,`pointerdown`,F,e),z(h,`pointermove`,ee,e),z(h,[`pointerup`,`pointercancel`],L,e)}return{...b(S),position:S,isDragging:u(()=>!!C.value),style:u(()=>`
2      left: ${S.value.x}px;
3      top: ${S.value.y}px;
4      ${x?`text-wrap: nowrap;`:``}
5    `)}}function X(e,n,i={}){let{window:a=I,...o}=i,s,c=V(()=>a&&`ResizeObserver`in a),l=()=>{s&&(s.disconnect(),s=void 0)},d=r(u(()=>{let n=t(e);return Array.isArray(n)?n.map(e=>R(e)):[R(n)]}),e=>{if(l(),c.value&&a){s=new ResizeObserver(n);for(let t of e)t&&s.observe(t,o)}},{immediate:!0,flush:`post`}),f=()=>{l(),d()};return k(f),{isSupported:c,stop:f}}function _e(e,t={}){let{reset:n=!0,windowResize:i=!0,windowScroll:a=!0,immediate:o=!0,updateTiming:s=`sync`}=t,c=m(0),l=m(0),u=m(0),d=m(0),f=m(0),p=m(0),h=m(0),g=m(0);function _(){let t=R(e);if(!t){n&&(c.value=0,l.value=0,u.value=0,d.value=0,f.value=0,p.value=0,h.value=0,g.value=0);return}let r=t.getBoundingClientRect();c.value=r.height,l.value=r.bottom,u.value=r.left,d.value=r.right,f.value=r.top,p.value=r.width,h.value=r.x,g.value=r.y}function v(){s===`sync`?_():s===`next-frame`&&requestAnimationFrame(()=>_())}return X(e,v),r(()=>R(e),e=>!e&&v()),H(e,v,{attributeFilter:[`style`,`class`]}),a&&z(`scroll`,v,{capture:!0,passive:!0}),i&&z(`resize`,v,{passive:!0}),x(()=>{o&&v()}),{height:c,bottom:l,left:u,right:d,top:f,width:p,x:h,y:g,update:v}}function ve(e,t={width:0,height:0},n={}){let{window:i=I,box:a=`content-box`}=n,o=u(()=>{var t;return(t=R(e))==null||(t=t.namespaceURI)==null?void 0:t.includes(`svg`)}),s=m(t.width),c=m(t.height),{stop:l}=X(e,([t])=>{let n=a===`border-box`?t.borderBoxSize:a===`content-box`?t.contentBoxSize:t.devicePixelContentBoxSize;if(i&&o.value){let t=R(e);if(t){let e=t.getBoundingClientRect();s.value=e.width,c.value=e.height}}else if(n){let e=T(n);s.value=e.reduce((e,{inlineSize:t})=>e+t,0),c.value=e.reduce((e,{blockSize:t})=>e+t,0)}else s.value=t.contentRect.width,c.value=t.contentRect.height},n);x(()=>{let n=R(e);if(n&&`offsetWidth`in n){if(a===`content-box`&&i){let e=i.getComputedStyle(n),t=Number.parseFloat(e.paddingLeft)+Number.parseFloat(e.paddingRight),r=Number.parseFloat(e.paddingTop)+Number.parseFloat(e.paddingBottom),a=Number.parseFloat(e.borderLeftWidth)+Number.parseFloat(e.borderRightWidth),o=Number.parseFloat(e.borderTopWidth)+Number.parseFloat(e.borderBottomWidth);s.value=n.offsetWidth-t-a,c.value=n.offsetHeight-r-o}else s.value=n.offsetWidth,c.value=n.offsetHeight}else n&&(s.value=t.width,c.value=t.height)});let d=r(()=>R(e),e=>{s.value=e?t.width:0,c.value=e?t.height:0});function f(){l(),d()}return{width:s,height:c,stop:f}}function ye(e,n,i={}){let{root:a,rootMargin:o,threshold:s=0,window:c=I,immediate:l=!0}=i,d=V(()=>c&&`IntersectionObserver`in c),f=u(()=>T(t(e)).map(R).filter(j)),p=O,h=m(l),g=d.value?r(()=>[f.value,R(a),t(o),h.value],([e,t,r])=>
5{if(p(),!h.value||!e.length)return;let i=new IntersectionObserver(n,{root:R(t),rootMargin:r,threshold:s});e.forEach(e=>e&&i.observe(e)),p=()=>{i.disconnect(),p=O}},{immediate:l,flush:`post`}):O,_=()=>{p(),g(),h.value=!1};return k(_),{isSupported:d,isActive:h,pause(){p(),h.value=!1},resume(){h.value=!0},stop:_}}function be(e,t={}){let{window:n=I,scrollTarget:r,threshold:i=0,rootMargin:a,once:o=!1,initialValue:s=!1}=t,c=m(s),l=ye(e,e=>{let t=c.value,n=0;for(let r of e)r.time>=n&&(n=r.time,t=r.isIntersecting);c.value=t,o&&F(c,()=>{l.stop()})},{root:r,window:n,threshold:i,rootMargin:a});return t.controls?{...l,isVisible:c}:c}function xe(e){return typeof Window<`u`&&e instanceof Window?e.document.documentElement:typeof Document<`u`&&e instanceof Document?e.documentElement:e}var Z=1;function Se(e,n={}){let{throttle:r=0,idle:i=200,onStop:a=O,onScroll:o=O,offset:s={left:0,right:0,top:0,bottom:0},observe:c={mutation:!1},eventListenerOptions:l={capture:!1,passive:!0},behavior:f=`auto`,window:p=I,onError:h=e=>{}}=n,_=typeof c==`boolean`?{mutation:c}:c,v=m(0),y=m(0),b=u({get(){return v.value},set(e){w(e,void 0)}}),S=u({get(){return y.value},set(e){w(void 0,e)}});function w(n,r){var i,a;if(!p)return;let o=t(e);if(!o)return;(i=o instanceof Document?p.document.body:o)==null||i.scrollTo({top:t(r)??S.value,left:t(n)??b.value,behavior:t(f)});let s=(o==null||(a=o.document)==null?void 0:a.documentElement)||(o==null?void 0:o.documentElement)||o;b!=null&&(v.value=s.scrollLeft),S!=null&&(y.value=s.scrollTop)}let T=m(!1),E=d({left:!0,right:!1,top:!0,bottom:!1}),D=d({left:!1,right:!1,top:!1,bottom:!1}),k=e=>{T.value&&(T.value=!1,D.left=!1,D.right=!1,D.top=!1,D.bottom=!1,a(e))},A=C(k,r+i),j=e=>{var t;if(!p)return;let n=(e==null||(t=e.document)==null?void 0:t.documentElement)||(e==null?void 0:e.documentElement)||R(e),{display:r,flexDirection:i,direction:a}=p.getComputedStyle(n),o=a===`rtl`?-1:1,c=n.scrollLeft;D.left=c<v.value,D.right=c>v.value;let l=Math.abs(c*o)<=(s.left||0),u=Math.abs(c*o)+n.clientWidth>=n.scrollWidth-(s.right||0)-Z;r===`flex`&&i===`row-reverse`?(E.left=u,E.right=l):(E.left=l,E.right=u),v.value=c;let d=n.scrollTop;e===p.document&&!d&&(d=p.document.body.scrollTop),D.top=d<y.value,D.bottom=d>y.value;let f=Math.abs(d)<=(s.top||0),m=Math.abs(d)+n.clientHeight>=n.scrollHeight-(s.bottom||0)-Z;r===`flex`&&i===`column-reverse`?(E.top=m,E.bottom=f):(E.top=f,E.bottom=m),y.value=d},M=e=>{if(!p)return;let t=e.target.documentElement??e.target;j(t),T.value=!0,A(e),o(e)};return z(e,`scroll`,r?g(M,r,!0,!1):M,l),x(()=>{try{let n=t(e);if(!n)return;j(n)}catch(e){h(e)}}),_!=null&&_.mutation&&e!=null&&e!==p&&e!==document&&H(e,()=>{let n=t(e);n&&j(n)},{attributes:!0,childList:!0,subtree:!0}),z(e,`scrollend`,k,l),{x:b,y:S,isScrolling:T,arrivedState:E,directions:D,measure(){let n=t(e);p&&n&&j(n)}}}function Ce(e,n,i={}){let{direction:a=`bottom`,interval:o=100,canLoadMore:s=()=>!0}=i,c=d(Se(e,{...i,offset:{[a]:i.distance??0,...i.offset}})),l=m(),p=u(()=>!!l.value),h=u(()=>xe(t(e))),g=be(h),_=u(()=>h.value?s(h.value):!1);function v(){if(c.measure(),!h.value||!g.value||!_.value||l.value)return;let{scrollHeight:e,clientHeight:t,scrollWidth:r,clientWidth:i}=h.value,s=a===`bottom`||a===`top`?e<=t:r<=i;(c.arrivedState[a]||s)&&(l.value=Promise.all([n(c),new Promise(e=>setTimeout(e,o))]).finally(()=>{l.value=null,f(()=>v())}))}return E(r(()=>[c.arrivedState[a],g.value,_.value],v,{immediate:!0,flush:`post`})),{isLoading:p,reset(){f(()=>v())}}}function we(e={}){let{window:t=I}=e,n=t==null?void 0:t.navigator,r=V(()=>n&&`connection`in n),i=m(!0),a=m(!1),o=m(void 0),s=m(void 0),l=m(void 0),u=m(void 0),d=m(void 0),f=m(void 0),p=m(`unknown`),h=r.value&&n.connection;function g(){n&&(i.value=n.onLine,o.value=i.value?void 0:Date.now(),s.value=i.value?Date.now():void 0,h&&(l.value=h.downlink,u.value=h.downlinkMax,f.value=h.effectiveType,d.value=h.rtt,a.value=h.saveData,p.value=h.type))}let _={passive:!0};return t&&(z(t,`offline`,()=>{i.value=!1,o.value=Date.now()},_),z(t,`online`,()=>{i.value=!0,s.value=Date.now()},_)),h&&z(h,`change`,g,_),g(),{isSupported:r,isOnline:c(i),saveData:c(a),offlineAt:c(o),onlineAt:c(s),downlink:c(l),downlinkMax:c(u),effectiveType:c(f),rtt:c(d),type:c(p)}}function Te(e){if(`interval`in e||`immediate`in e){let{interval:t=`requestAnimationFrame`,immediate:n=!0}=e;return t===`requestAnimationFrame`?e=>U(e,{immediate:n}):n=>S(n,t,e)}return U}function Ee(e={}){let{controls:t=!1,scheduler:n=Te(e)}=e,r=m(new Date),i=n(()=>r.value=new Date);return t?{now:r,...i}:r}function De(e={}){let{isOnline:t}=we(e);return t}function Oe(e,t={}){let n=N(e),{threshold:r=50,onSwipe:i,onSwipeEnd:a,onSwipeStart:o,disableTextSelect:l=!1}=t,f=d({x:0,y:0}),p=(e,t)=>{f.x=e,f.y=t},h=d({x:0,y:0}),g=(e,t)=>{h.x=e,h.y=t},_=u(()=>f.x-h.x),v=u(()=>f.y-h.y),{max:y,abs:b}=Math,S=u(()=>y(b(_.value),b(v.value))>=r),C=m(!1),w=m(!1),T=u(()=>S.value?b(_.value)>b(v.value)?_.value>0?`left`:`right`:v.value>0?`up`:`down`:`none`),E=e=>{var n;let r=e.buttons===0,i=e.buttons===1;return((n=t.pointerTypes)==null?void 0:n.includes(e.pointerType))??(r||i)??!0},D={passive:!0},O=[z(e,`pointerdown`,e=>{if(!E(e))return;w.value=!0;let t=e.target;t==null||t.setPointerCapture(e.pointerId);let{clientX:n,clientY:r}=e;p(n,r),g(n,r),o==null||o(e)},D),z(e,`pointermove`,e=>{if(!E(e)||!w.value)return;let{clientX:t,clientY:n}=e;g(t,n),!C.value&&S.value&&(C.value=!0),C.value&&(i==null||i(e))},D),z(e,[`pointerup`,`pointercancel`],e=>
5{E(e)&&(C.value&&(a==null||a(e,T.value)),w.value=!1,C.value=!1)},D)];return x(()=>{var e;if((e=n.value)==null||(e=e.style)==null||e.setProperty(`touch-action`,`pan-y`),l){var t,r,i;(t=n.value)==null||(t=t.style)==null||t.setProperty(`-webkit-user-select`,`none`),(r=n.value)==null||(r=r.style)==null||r.setProperty(`-ms-user-select`,`none`),(i=n.value)==null||(i=i.style)==null||i.setProperty(`user-select`,`none`)}}),{isSwiping:c(C),direction:c(T),posStart:s(f),posEnd:s(h),distanceX:_,distanceY:v,stop:()=>O.forEach(e=>e())}}function ke(e,t){let{containerStyle:n,wrapperProps:r,scrollTo:i,calculateRange:a,currentList:o,containerRef:s}=`itemHeight`in t?Be(t,e):ze(t,e);return{list:o,scrollTo:i,containerProps:{ref:s,onScroll:()=>{a()},style:n},wrapperProps:r}}function Ae(e){let t=m(null),n=ve(t),r=p([]),i=m(e);return{state:p({start:0,end:10}),source:i,currentList:r,size:n,containerRef:t}}function je(e,t,n){return r=>{if(typeof n==`number`)return Math.ceil(r/n);let{start:i=0}=e.value,a=0,o=0;for(let e=i;e<t.value.length;e++){let t=n(e);if(a+=t,o=e,a>r)break}return o-i}}function Me(e,t){return n=>{if(typeof t==`number`)return Math.floor(n/t)+1;let r=0,i=0;for(let a=0;a<e.value.length;a++){let e=t(a);if(r+=e,r>=n){i=a;break}}return i+1}}function Ne(e,t,n,r,{containerRef:i,state:a,currentList:o,source:s}){return()=>{let c=i.value;if(c){let i=n(e===`vertical`?c.scrollTop:c.scrollLeft),l=r(e===`vertical`?c.clientHeight:c.clientWidth),u=i-t,d=i+l+t;a.value={start:u<0?0:u,end:d>s.value.length?s.value.length:d},o.value=s.value.slice(a.value.start,a.value.end).map((e,t)=>({data:e,index:t+a.value.start}))}}}function Pe(e,t){return n=>typeof e==`number`?n*e:t.value.slice(0,n).reduce((t,n,r)=>t+e(r),0)}function Fe(e,t,n,i,a){r([e.width,e.height,t,n,i],()=>{a()})}function Q(e,t){return u(()=>typeof e==`number`?t.value.length*e:t.value.reduce((t,n,r)=>t+e(r),0))}var Ie={horizontal:`scrollLeft`,vertical:`scrollTop`},Le={horizontal:`left`,vertical:`top`},Re={behavior:`auto`,block:`start`,inline:`nearest`};function $(e,t,n,r,i){return(a,o=Re)=>{if(!r.value)return;o={...Re,...o};let s=0,c=o[e===`horizontal`?`inline`:`block`];if(c){let t=e===`horizontal`?r.value.clientWidth:r.value.clientHeight,o=typeof i==`number`?i:i(a);if(c===`center`)s=t/2-o/2;else if(c===`end`)s=t-o;else if(c===`nearest`){let i=r.value[Ie[e]];n(a)>i+t/2&&(s=t-o)}}r.value.scrollTo({[Le[e]]:n(a)-s,behavior:o.behavior}),t()}}function ze(e,t){let n=Ae(t),{state:r,source:i,currentList:a,size:o,containerRef:s}=n,c={overflowX:`auto`},{itemWidth:l,overscan:d=5}=e,f=je(r,i,l),p=Ne(`horizontal`,d,Me(i,l),f,n),m=Pe(l,i),h=u(()=>m(r.value.start)),g=Q(l,i);return Fe(o,i,g,s,p),{scrollTo:$(`horizontal`,p,m,s,l),calculateRange:p,wrapperProps:u(()=>({style:{height:`100%`,width:`${g.value-h.value}px`,marginLeft:`${h.value}px`,display:`flex`}})),containerStyle:c,currentList:a,containerRef:s}}function Be(e,t){let n=Ae(t),{state:r,source:i,currentList:a,size:o,containerRef:s}=n,c={overflowY:`auto`},{itemHeight:l,overscan:d=5}=e,f=je(r,i,l),p=Ne(`vertical`,d,Me(i,l),f,n),m=Pe(l,i),h=u(()=>m(r.value.start)),g=Q(l,i);return Fe(o,i,g,s,p),{calculateRange:p,scrollTo:$(`vertical`,p,m,s,l),containerStyle:c,wrapperProps:u(()=>({style:{width:`100%`,height:`${g.value-h.value}px`,marginTop:`${h.value}px`}})),currentList:a,containerRef:s}}function Ve(e={}){let{window:t=I,initialWidth:n=1/0,initialHeight:i=1/0,listenOrientation:a=!0,includeScrollbar:o=!0,type:s=`inner`}=e,c=m(n),l=m(i),u=()=>{if(t){if(s===`outer`)c.value=t.outerWidth,l.value=t.outerHeight;else if(s===`visual`&&t.visualViewport){let{width:e,height:n,scale:r}=t.visualViewport;c.value=Math.round(e*r),l.value=Math.round(n*r)}else o?(c.value=t.innerWidth,l.value=t.innerHeight):(c.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight)}};u(),x(u);let d={passive:!0};return z(`resize`,u,d),t&&s===`visual`&&t.visualViewport&&z(t.visualViewport,`resize`,u,d),a&&r(W(`(orientation: portrait)`),()=>u()),{width:c,height:l}}export{me as _,ce as a,ve as c,W as d,Ee as f,Se as g,X as h,R as i,z as l,Oe as m,te as n,ge as o,De as p,ae as r,_e as s,ee as t,Ce as u,ke as v,Ve as y};
6//# sourceMappingURL=dist-DXXrZy0D.js.map

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.