1/*! 2 * OverlayScrollbars 3 * Version: 2.15.1 4 * 5 * Copyright (c) Rene Haas | KingSora. 6 * https://github.com/KingSora 7 * 8 * Released under the MIT license. 9 */const ht=(t,n)=>{const{o:e,i:o,u:s}=t;let c=e,r;const a=(u,p)=>{const b=c,T=u,f=p||(o?!o(b,T):b!==T);return(f||s)&&(c=T,r=b),[c,f,r]};return[n?u=>a(n(c,r),u):a,u=>[c,!!u,r]]},Bo=typeof window<"u"&&typeof HTMLElement<"u"&&!!window.document,gt=Bo?window:{},Ze=Math.max,jo=Math.min,te=Math.round,Lt=Math.abs,Pe=Math.sign,Xe=gt.cancelAnimationFrame,de=gt.requestAnimationFrame,pe=gt.setTimeout,qe=gt.clearTimeout,Hn=t=>typeof gt[t]<"u"?gt[t]:void 0,Uo=Hn("MutationObserver"),ke=Hn("IntersectionObserver"),Kt=Hn("ResizeObserver"),rn=Hn("ScrollTimeline"),ye=t=>t===void 0,In=t=>t===null,_t=t=>typeof t=="number",Qt=t=>typeof t=="string",Ln=t=>typeof t=="boolean",$t=t=>typeof t=="function",Ct=t=>Array.isArray(t),En=t=>typeof t=="object"&&!Ct(t)&&!In(t),ve=t=>{const n=!!t&&t.length,e=_t(n)&&n>-1&&n%1==0;return Ct(t)||!$t(t)&&e?n>0&&En(t)?n-1 in t:!0:!1},ln=t=>!!t&&t.constructor===Object,An=t=>t instanceof HTMLElement,_n=t=>t instanceof Element;function G(t,n){if(ve(t))for(let e=0;e<t.length&&n(t[e],e,t)!==!1;e++);else t&&G(Object.keys(t),(e=>n(t[e],e,t)));return t}const Je=(t,n)=>t.indexOf(n)>=0,Jt=(t,n)=>t.concat(n),rt=(t,n,e)=>(!Qt(n)&&ve(n)?Array.prototype.push.apply(t,n):t.push(n),t),Rt=t=>Array.from(t||[]),ge=t=>Ct(t)?t:!Qt(t)&&ve(t)?Rt(t):[t],Mn=t=>!!t&&!t.length,Dn=t=>Rt(new Set(t)),bt=(t,n,e)=>{G(t,s=>s?s.apply(void 0,n||[]):!0),e||(t.length=0)},Ge="paddingTop",Qe="paddingRight",to="paddingLeft",no="paddingBottom",eo="marginLeft",oo="marginRight",so="marginBottom",he="overflowX",me="overflowY",zn="width",Rn="height",kt="visible",Ot="hidden",Nt="scroll",Ko=t=>{const n=String(t||"");return n?n[0].toUpperCase()+n.slice(1):""},Vn=(t,n,e,o)=>{if(t&&n){let s=!0;return G(e,(c=>{const r=t[c],a=n[c];r!==a&&(s=!1)})),s}return!1},co=(t,n)=>Vn(t,n,["w","h"]),On=(t,n)=>Vn(t,n,["x","y"]),Wo=(t,n)=>Vn(t,n,["t","r","b","l"]),k=(t,...n)=>t.bind(0,...n),Wt=t=>{let n;const e=t?pe:de,o=t?qe:Xe;return[s=>{o(n),n=e((()=>s()),$t(t)?t():t)},()=>o(n)]},He=t=>{const n=$t(t)?t():t;if(_t(n)){const e=n?pe:de,o=n?qe:Xe;return s=>{const c=e((()=>s()),n);return()=>{o(c)}}}return n&&n._},ro=(t,n)=>{const{p:e,v:o,S:s,m:c}=n||{};let r,a,i,d;const u=function(S){a&&a(),r&&r(),d=a=r=i=void 0,t.apply(this,S)},p=f=>c&&i?c(i,f):f,b=()=>{a&&i&&u(p(i)||i)},T=function(){const S=Rt(arguments),O=He(e);if(O){const M=typeof s=="function"?s():s,j=He(o),g=p(S)||S,E=u.bind(0,g);a&&a(),M&&!d?(E(),d=!0,a=O((()=>d=void 0))):(a=O(E),j&&!r&&(r=j(b))),i=g}else u(S)};return T.O=b,T},io=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),yt=t=>t?Object.keys(t):[],Y=(t,n,e,o,s,c,r)=>{const a=[n,e,o,s,c,r];return(typeof t!="object"||In(t))&&!$t(t)&&(t={}),G(a,(i=>{G(i,((d,u)=>{const p=i[u];if(t===p)return!0;const b=Ct(p);if(p&&ln(p)){const T=t[u];let f=T;b&&!Ct(T)?f=[]:!b&&!ln(T)&&(f={}),t[u]=Y(f,p)}else t[u]=b?p.slice():p}))})),t},lo=(t,n)=>G(Y({},t),((e,o,s)=>{e===void 0?delete s[o]:e&&ln(e)&&(s[o]=lo(e))})),be=t=>!yt(t).length,an=()=>{},ao=(t,n,e)=>Ze(t,jo(n,e)),Bt=t=>Dn((Ct(t)?t:(t||"").split(" ")).filter((n=>n))),we=(t,n)=>t&&t.getAttribute(n),Ie=(t,n)=>t&&t.hasAttribute(n),Dt=(t,n,e)=>{G(Bt(n),(o=>{t&&t.setAttribute(o,String(e||""))}))},Tt=(t,n)=>{G(Bt(n),(e=>t&&t.removeAttribute(e)))},Fn=(t,n)=>{const e=Bt(we(t,n)),o=k(Dt,t,n),s=(c,r)=>{const a=new Set(e);return G(Bt(c),(i=>{a[r](i)})),Rt(a).join(" ")};return{C:c=>o(s(c,"delete")),$:c=>o(s(c,"add")),H:c=>{const r=Bt(c);return r.reduce(((a,i)=>a&&e.includes(i)),r.length>0)}}},uo=(t,n,e)=>(Fn(t,n).C(e),k(Se,t,n,e)),Se=(t,n,e)=>(Fn(t,n).$(e),k(uo,t,n,e)),Pn=(t,n,e,o)=>(o?Se:uo)(t,n,e),xe=(t,n,e)=>Fn(t,n).H(e),fo=t=>Fn(t,"class"),po=(t,n)=>{fo(t).C(n)},Ce=(t,n)=>(fo(t).$(n),k(po,t,n)),yo=(t,n)=>{const e=n?_n(n)&&n:document;return e?Rt(e.querySelectorAll(t)):[]},Yo=(t,n)=>{const e=n?_n(n)&&n:document;return e&&e.querySelector(t)},ne=(t,n)=>_n(t)&&t.matches(n),vo=t=>ne(t,"body"),ee=t=>t?Rt(t.childNodes):[],un=t=>t&&t.parentElement,Yt=(t,n)=>_n(t)&&t.closest(n),oe=t=>document.activeElement,Zo=(t,n,e)=>{const o=Yt(t,n),s=t&&Yo(e,o),c=Yt(s,n)===o;return o&&s?o===t||s===t||c&&Yt(Yt(t,e),n)!==o:!1},Gt=t=>{G(ge(t),(n=>{const e=un(n);n&&e&&e.removeChild(n)}))},vt=(t,n)=>k(Gt,t&&n&&G(ge(n),(e=>{e&&t.appendChild(e)})));let go;const Xo=()=>go,qo=t=>{go=t},Xt=t=>{const n=document.createElement("div");return Dt(n,"class",t),n},ho=t=>{const n=Xt(),e=Xo(),o=t.trim();return n.innerHTML=e?e.createHTML(o):o,G(ee(n),(s=>Gt(s)))},Le=(t,n)=>t.getPropertyValue(n)||t[n]||"",mo=t=>{const n=t||0;return isFinite(n)?n:0},xn=t=>mo(parseFloat(t||"")),se=t=>Math.round(t*1e4)/1e4,bo=t=>`${se(mo(t))}px`;function fn(t,n){t&&n&&G(n,((e,o)=>{try{const s=t.style,c=In(e)||Ln(e)?"":_t(e)?bo(e):e;o.indexOf("--")===0?s.setProperty(o,c):s[o]=c}catch{}}))}function At(t,n,e){const o=Qt(n);let s=o?"":{};if(t){const c=gt.getComputedStyle(t,e)||t.style;s=o?Le(c,n):Rt(n).reduce(((r,a)=>(r[a]=Le(c,a),r)),s)}return s}const _e=(t,n,e)=>{const o=n?`${n}-`:"",s=e?`-${e}`:"",c=`${o}top${s}`,r=`${o}right${s}`,a=`${o}bottom${s}`,i=`${o}left${s}`,d=At(t,[c,r,a,i]);return{t:xn(d[c]),r:xn(d[r]),b:xn(d[a]),l:xn(d[i])}},Zn=(t,n)=>`translate${En(t)?`(${t.x},${t.y})`:`${n?"X":"Y"}(${t})`}`,Jo=t=>!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length),Go={w:0,h:0},Nn=(t,n)=>n?{w:n[`${t}Width`],h:n[`${t}Height`]}:Go,Qo=t=>Nn("inner",t||gt),qt=k(Nn,"offset"),wo=k(Nn,"client"),kn=k(Nn,"scroll"),Oe=t=>{const n=parseFloat(At(t,zn))||0,e=parseFloat(At(t,Rn))||0;return{w:n-te(n),h:e-te(e)}},Xn=t=>t.getBoundingClientRect(),ts=t=>!!t&&Jo(t),ce=t=>!!(t&&(t[Rn]||t[zn])),So=(t,n)=>{const e=ce(t);return!ce(n)&&e},ze=(t,n,e,o)=>{G(Bt(n),(s=>{t&&t.removeEventListener(s,e,o)}))},ot=(t,n,e,o)=>{var s;const c=(s=o&&o.D)!=null?s:!0,r=o&&o.I||!1,a=o&&o.A||!1,i={passive:c,capture:r};return k(bt,Bt(n).map((d=>{const u=a?p=>{ze(t,d,u,r),e&&e(p)}:e;return t&&t.addEventListener(d,u,i),k(ze,t,d,u,r)})))},xo=t=>t.stopPropagation(),re=t=>t.preventDefault(),Co=t=>xo(t)||re(t),Et=(t,n)=>{const{x:e,y:o}=_t(n)?{x:n,y:n}:n||{};_t(e)&&(t.scrollLeft=e),_t(o)&&(t.scrollTop=o)},mt=t=>({x:t.scrollLeft,y:t.scrollTop}),Oo=()=>({T:{x:0,y:0},k:{x:0,y:0}}),ns=(t,n)=>{const{T:e,k:o}=t,{w:s,h:c}=n,r=(p,b,T)=>{let f=Pe(p)*T,S=Pe(b)*T;if(f===S){const O=Lt(p),M=Lt(b);S=O>M?0:S,f=O<M?0:f}return f=f===S?0:f,[f+0,S+0]},[a,i]=r(e.x,o.x,s),[d,u]=r(e.y,o.y,c);return{T:{x:a,y:d},k:{x:i,y:u}}},qn=({T:t,k:n}
9)=>{const e=(o,s)=>o===0&&o<=s;return{x:e(t.x,n.x),y:e(t.y,n.y)}},Re=({T:t,k:n},e)=>{const o=(s,c,r)=>ao(0,1,(s-r)/(s-c)||0);return{x:o(t.x,n.x,e.x),y:o(t.y,n.y,e.y)}},ie=t=>{t&&t.focus&&t.focus({preventScroll:!0,focusVisible:!1})},Ve=(t,n)=>{G(ge(n),t)},le=t=>{const n=new Map,e=(c,r)=>{if(c){const a=n.get(c);Ve((i=>{a&&a[i?"delete":"clear"](i)}),r)}else n.forEach((a=>{a.clear()})),n.clear()},o=(c,r)=>{if(Qt(c)){const d=n.get(c)||new Set;return n.set(c,d),Ve((u=>{$t(u)&&d.add(u)}),r),k(e,c,r)}Ln(r)&&r&&e();const a=yt(c),i=[];return G(a,(d=>{const u=c[d];u&&rt(i,o(d,u))})),k(bt,i)},s=(c,r)=>{G(Rt(n.get(c)),(a=>{r&&!Mn(r)?a.apply(0,r):a()}))};return o(t||{}),[o,e,s]},$o={},To={},es=t=>{G(t,(n=>G(n,((e,o)=>{$o[o]=n[o]}))))},Eo=(t,n,e)=>yt(t).map((o=>{const{static:s,instance:c}=t[o],[r,a,i]=e||[],d=e?c:s;if(d){const u=e?d(r,a,n):d(n);return(i||To)[o]=u}})),os=(t,n)=>t[n],tn=t=>os(To,t),ss="__osOptionsValidationPlugin",nn="data-overlayscrollbars",$n="os-environment",Cn=`${$n}-scrollbar-hidden`,Jn=`${nn}-initialize`,Tn="noClipping",Fe=`${nn}-body`,zt=nn,cs="host",Pt=`${nn}-viewport`,rs=he,is=me,ls="arrange",Ao="measuring",as="scrolling",Mo="scrollbarHidden",us="noContent",ae=`${nn}-padding`,Ne=`${nn}-content`,$e="os-size-observer",fs=`${$e}-appear`,ds=`${$e}-listener`,ps="os-trinsic-observer",ys="os-theme-none",wt="os-scrollbar",vs=`${wt}-rtl`,gs=`${wt}-horizontal`,hs=`${wt}-vertical`,Do=`${wt}-track`,Te=`${wt}-handle`,ms=`${wt}-visible`,bs=`${wt}-cornerless`,Be=`${wt}-interaction`,je=`${wt}-unusable`,ue=`${wt}-auto-hide`,ws=`${ue}-hidden`,Ue=`${wt}-wheel`,Ss=`${Do}-interactive`,xs=`${Te}-interactive`,Cs="__osSizeObserverPlugin",Os=(t,n)=>{const{M:e}=n,[o,s]=t("showNativeOverlaidScrollbars");return[o&&e.x&&e.y,s]},Zt=t=>t.indexOf(kt)===0,$s=t=>t.replace(`${kt}-`,""),fe=(t,n)=>{if(t==="auto")return n?Nt:Ot;const e=t||Ot;return[Ot,Nt,kt].includes(e)?e:Ot},Ts=(t,n)=>{const{overflowX:e,overflowY:o}=At(t,[he,me]);return{x:fe(e,n.x),y:fe(o,n.y)}},Ee="__osScrollbarsHidingPlugin",Es="__osClickScrollPlugin",Ke=t=>JSON.stringify(t,((n,e)=>{if($t(e))throw 0;return e})),We=(t,n)=>t?`${n}`.split(".").reduce(((e,o)=>e&&io(e,o)?e[o]:void 0),t):void 0,As=[0,33],Po=[33,99],ko=[222,666,!0],Ms={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:{mutation:As,resize:null,event:Po,env:ko},attributes:null,ignoreMutation:null,flowDirectionStyles:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},Ho=(t,n)=>{const e={},o=Jt(yt(n),yt(t));return G(o,(s=>{const c=t[s],r=n[s];if(En(c)&&En(r))Y(e[s]={},Ho(c,r)),be(e[s])&&delete e[s];else if(io(n,s)&&r!==c){let a=!0;if(Ct(c)||Ct(r))try{Ke(c)===Ke(r)&&(a=!1)}catch{}a&&(e[s]=r)}})),e},Gn=(t,n,e)=>o=>[We(t,o),e||We(n,o)!==void 0];let Io;const Ds=()=>Io,Ps=t=>{Io=t};let Qn;const ks=()=>{const t=(g,E,L)=>{vt(document.body,g),vt(document.body,g);const U=wo(g),_=qt(g),F=Oe(E);return L&&Gt(g),{x:_.h-U.h+F.h,y:_.w-U.w+F.w}},n=g=>{let E=!1;const L=Ce(g,Cn);try{E=At(g,"scrollbar-width")==="none"||At(g,"display","::-webkit-scrollbar")==="none"}catch{}return L(),E},e=`.${$n}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${$n} div{width:200%;height:200%;margin:10px 0}.${Cn}{scrollbar-width:none!important}.${Cn}::-webkit-scrollbar,.${Cn}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`,s=ho(`<div class="${$n}"><div></div><style>${e}</style></div>`)[0],c=s.firstChild,r=s.lastChild,a=Ds();a&&(r.nonce=a);const[i,,d]=le(),[u,p]=ht({o:t(s,c),i:On},k(t,s,c,!0)),[b]=p(),T=n(s),f={x:b.x===0,y:b.y===0},S={elements:{host:null,padding:!T,viewport:g=>T&&vo(g)&&g,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},O=Y({},Ms),M=k(Y,{},O),j=k(Y,{},S),Z={U:b,M:f,P:T,J:!!rn,G:k(i,"r"),K:j,Z:g=>Y(S,g)&&j(),tt:M,nt:g=>Y(O,g)&&M(),ot:Y({},S),st:Y({},O)};if(Tt(s,"style"),Gt(s),ot(gt,"resize",(()=>{d("r",[])})),$t(gt.matchMedia)&&!T&&(!f.x||!f.y)){const g=E=>{const L=gt.matchMedia(`(resolution: ${gt.devicePixelRatio}dppx)`);ot(L,"change",(()=>{E(),g(E)}),{A:!0})};g((()=>{const[E,L]=u();Y(Z.U,E),d("r",[L])}))}return Z},Mt=()=>(Qn||(Qn=ks()),Qn),Hs=(t,n,e)=>{let o=!1;const s=e?new WeakMap:!1,c=()=>{o=!0},r=a=>{if(s&&e){const i=e.map((d=>{const[u,p]=d||[];return[p&&u?(a||yo)(u,t):[],p]}));G(i,(d=>G(d[0],(u=>{const p=d[1],b=s.get(u)||[];if(t.contains(u)&&p){const f=ot(u,p,(S=>{o?(f(),s.delete(u)):n(S)}));s.set(u,rt(b,f))}else bt(b),s.delete(u)}))))}};return r(),[c,r]},Ye=(t,n,e,o)=>{let s=!1;const{et:c,ct:r,rt:a,it:i,lt:d,ut:u}=o||{},[p,b]=Hs(t,(()=>s&&e(!0)),a),T=c||[],f=r||[],S=Jt(T,f),O=(j,Z)=>{if(!Mn(Z)){const g=d||an,E=u||an,L=[],U=[];let _=!1,F=!1;if(G(Z,(z=>{const{attributeName:w,target:x,type:R,oldValue:C,addedNodes:N,removedNodes:X}=z,Q=R==="attributes",nt=R==="childList",K=t===x,st=Q&&w,A=st&&we(x,w||""),D=Qt(A)?A:null,$=st&&C!==D,y=Je(f,w)&&$;if(n&&(nt||!K)){const h=Q&&$,v=h&&i&&ne(x,i),m=(v?!g(x,w,C,D):!Q||h)&&!E(z,!!v,t,o);G(N,(P=>rt(L,P))),G(X,(P=>rt(L,P))),F=F||m}!n&&K&&$&&!g(x,w,C,D)&&(rt(U,w),_=_||y)})),b((z=>Dn(L).reduce(((w,x)=>(rt(w,yo(z,x)),ne(x,z)?rt(w,x):w)),[]))),n)return!j&&F&&e(!1),[!1];if(!Mn(U)||_){const z=[Dn(U),_];return j||e.apply(0,z),z}}},M=new Uo(k(O,!1));return[()=>(M.observe(t,{attributes:!0,attributeOldValue:!0,attributeFilter:S,subtree:n,
9childList:n,characterData:n}),s=!0,()=>{s&&(p(),M.disconnect(),s=!1)}),()=>{if(s)return O(!0,M.takeRecords())}]};let Ft=null;const Lo=(t,n,e)=>{const{ft:o}=e||{},s=tn(Cs),[c]=ht({o:!1,u:!0});return()=>{const r=[],i=ho(`<div class="${$e}"><div class="${ds}"></div></div>`)[0],d=i.firstChild,u=p=>{const b=Ct(p)&&!Mn(p);let T=!1,f=!1;if(b){const S=p[0],[O,,M]=c(S.contentRect),j=ce(O);f=So(O,M),T=!f&&!j}else f=p===!0;T||n({_t:!0,ft:f})};if(Kt){if(!Ln(Ft)){const f=new Kt(an);f.observe(t,{get box(){Ft=!0}}),Ft=Ft||!1,f.disconnect()}const p=ro(u,{p:0,v:0}),b=f=>p(f),T=new Kt(b);if(T.observe(Ft?t:d),rt(r,[()=>{T.disconnect()},!Ft&&vt(t,i)]),Ft){const f=new Kt(b);f.observe(t,{box:"border-box"}),rt(r,(()=>f.disconnect()))}}else if(s){const[p,b]=s(d,u,o);rt(r,Jt([Ce(i,fs),ot(i,"animationstart",p),vt(t,i)],b))}else return an;return k(bt,r)}},Is=(t,n)=>{let e;const o=i=>i.h===0||i.isIntersecting||i.intersectionRatio>0,s=Xt(ps),[c]=ht({o:!1}),r=(i,d)=>{if(i){const u=c(o(i)),[,p]=u;return p&&!d&&n(u)&&[u]}},a=(i,d)=>r(d.pop(),i);return[()=>{const i=[];if(ke)e=new ke(k(a,!1),{root:t}),e.observe(s),rt(i,(()=>{e.disconnect()}));else{const d=()=>{const u=qt(s);r(u)};rt(i,Lo(s,d)()),d()}return k(bt,rt(i,vt(t,s)))},()=>e&&a(!0,e.takeRecords())]},Ls=(t,n,e,o)=>{let s,c,r,a,i,d,u,p;const b=`[${zt}]`,T=`[${Pt}]`,f=["id","class","style","open","wrap","cols","rows"],{dt:S,vt:O,L:M,gt:j,ht:Z,V:g,bt:E,yt:L,wt:U,St:_}=t,F=l=>At(l,"direction")==="rtl",z=()=>{let l,m,P;const H=ro(o,{p:()=>l,v:()=>m,S:()=>P,m(V,q){const[I]=V,[J]=q;return[Jt(yt(I),yt(J)).reduce(((B,it)=>(B[it]=I[it]||J[it],B)),{})]}}),W=(V,q)=>{if(Ct(q)){const[I,J,B]=q;l=I,m=J,P=B}else _t(q)?(l=q,m=!1,P=!1):(l=!1,m=!1,P=!1);H(V)};return W.O=H.O,W},w={Ot:!1,B:F(S)},x=Mt(),R=tn(Ee),[C]=ht({i:co,o:{w:0,h:0}},(()=>{const l=R&&R.R(t,n,w,x,e).Y,P=!(E&&g)&&xe(O,zt,Tn),H=!g&&L(ls),W=H&&mt(j),V=W&&_(),q=U(Ao,P),I=H&&l&&l(),J=kn(M),B=Oe(M);return I&&I(),Et(j,W),V&&V(),P&&q(),{w:J.w+B.w,h:J.h+B.h}})),N=z(),X=l=>{const m=F(S);Y(l,{Ct:p!==m}),Y(w,{B:m}),p=m},Q=(l,m)=>{const[P,H]=l,W={$t:H};return Y(w,{Ot:P}),m||o(W),W},nt=({_t:l,ft:m})=>{const P=m?o:N,H={_t:l||m,ft:m};X(H),P(H,c)},K=(l,m)=>{const[,P]=C(),H={xt:P};return X(H),P&&!m&&N(H,l?r:s),H},st=(l,m,P)=>{const H={Ht:m};return X(H),m&&!P&&N(H,s),H},[A,D]=Z?Is(O,Q):[],$=!g&&Lo(O,nt,{ft:!0}),[y,h]=Ye(O,!1,st,{ct:f,et:f}),v=g&&Kt&&new Kt((l=>{const m=l[l.length-1].contentRect;nt({_t:!0,ft:So(m,u)}),u=m}));return[()=>{v&&v.observe(O);const l=$&&$(),m=A&&A(),P=y(),H=x.G((W=>{const[,V]=C();N({Et:W,xt:V,_t:E},a)}));return()=>{v&&v.disconnect(),l&&l(),m&&m(),d&&d(),P(),H()}},({Dt:l,zt:m,It:P})=>{const H={},[W]=l("update.ignoreMutation"),[V,q]=l("update.attributes"),[I,J]=l("update.elementEvents"),[B,it]=l("update.debounce"),ut=J||q,ct=m||P,lt=et=>$t(W)&&W(et);if(ut){i&&i(),d&&d();const[et,pt]=Ye(Z||M,!0,K,{et:Jt(f,V||[]),rt:I,it:b,ut:(at,St)=>{const{target:tt,attributeName:dt}=at;return(!St&&dt&&!g?Zo(tt,b,T):!1)||!!Yt(tt,`.${wt}`)||!!lt(at)}});d=et(),i=pt}if(it&&(N.O(),Ct(B)||_t(B)?(s=B,c=!1,r=Po,a=ko):ln(B)?(s=B.mutation,c=B.resize,r=B.event,a=B.env):(s=!1,c=!1,r=!1,a=!1)),ct){const et=h(),pt=D&&D(),at=i&&i();et&&Y(H,st(et[0],et[1],ct)),pt&&Y(H,Q(pt[0],ct)),at&&Y(H,K(at[0],ct))}return X(H),H},w]},_o=(t,n)=>$t(n)?n.apply(0,t):n,_s=(t,n,e,o)=>{const s=ye(o)?e:o;return _o(t,s)||n.apply(0,t)},zo=(t,n,e,o)=>{const s=ye(o)?e:o,c=_o(t,s);return!!c&&(An(c)?c:n.apply(0,t))},zs=(t,n)=>{const{nativeScrollbarsOverlaid:e,body:o}=n||{},{M:s,P:c,K:r}=Mt(),{nativeScrollbarsOverlaid:a,body:i}=r().cancel,d=e??a,u=ye(o)?i:o,p=(s.x||s.y)&&d,b=t&&(In(u)?!c:u);return!!p||!!b},Rs=(t,n,e,o)=>{const s="--os-viewport-percent",c="--os-scroll-percent",r="--os-scroll-direction",{K:a}=Mt(),{scrollbars:i}=a(),{slot:d}=i,{dt:u,vt:p,L:b,At:T,gt:f,bt:S,V:O}=n,{scrollbars:M}=T?{}:t,{slot:j}=M||{},Z=[],g=[],E=[],L=zo([u,p,b],(()=>O&&S?u:p),d,j),U=A=>{if(rn){let D=null,$=[];const y=new rn({source:f,axis:A}),h=()=>{D&&D.cancel(),D=null};return{Mt:l=>{const{Tt:m}=e,P=qn(m)[A],H=A==="x",W=[Zn(0,H),Zn(`calc(-100% + 100cq${H?"w":"h"})`,H)],V=P?W:W.reverse();return $[0]===V[0]&&$[1]===V[1]||($=V,h(),D=l.kt.animate({clear:["left"],transform:V},{timeline:y})),h}}}},_={x:U("x"),y:U("y")},F=()=>{const{Rt:A,Vt:D}=e,$=(y,h)=>ao(0,1,y/(y+h)||0);return{x:$(D.x,A.x),y:$(D.y,A.y)}},z=(A,D,$)=>{const y=$?Ce:po;G(A,(h=>{y(h.Lt,D)}))},w=(A,D)=>{G(A,($=>{const[y,h]=D($);fn(y,h)}))},x=(A,D,$)=>{const y=Ln($),h=y?$:!0,v=y?!$:!0;h&&z(g,A,D),v&&z(E,A,D)},R=()=>{const A=F(),D=$=>y=>[y.Lt,{[s]:se($)+""}];w(g,D(A.x)),w(E,D(A.y))},C=()=>
9{if(!rn){const{Tt:A}=e,D=Re(A,mt(f)),$=y=>h=>[h.Lt,{[c]:se(y)+""}];w(g,$(D.x)),w(E,$(D.y))}},N=()=>{const{Tt:A}=e,D=qn(A),$=y=>h=>[h.Lt,{[r]:y?"0":"1"}];w(g,$(D.x)),w(E,$(D.y)),rn&&(g.forEach(_.x.Mt),E.forEach(_.y.Mt))},X=()=>{if(O&&!S){const{Rt:A,Tt:D}=e,$=qn(D),y=Re(D,mt(f)),h=v=>{const{Lt:l}=v,m=un(l)===b&&l,P=(H,W,V)=>{const q=W*H;return bo(V?q:-q)};return[m,m&&{transform:Zn({x:P(y.x,A.x,$.x),y:P(y.y,A.y,$.y)})}]};w(g,h),w(E,h)}},Q=A=>{const D=A?"x":"y",y=Xt(`${wt} ${A?gs:hs}`),h=Xt(Do),v=Xt(Te),l={Lt:y,Pt:h,kt:v},m=_[D];return rt(A?g:E,l),rt(Z,[vt(y,h),vt(h,v),k(Gt,y),m&&m.Mt(l),o(l,x,A)]),l},nt=k(Q,!0),K=k(Q,!1),st=()=>(vt(L,g[0].Lt),vt(L,E[0].Lt),k(bt,Z));return nt(),K(),[{Ut:R,Nt:C,qt:N,Bt:X,Ft:x,jt:{Xt:g,Yt:nt,Wt:k(w,g)},Jt:{Xt:E,Yt:K,Wt:k(w,E)}},st]},Vs=(t,n,e,o,s)=>(c,r,a)=>{const{vt:i,L:d,V:u,gt:p,Gt:b,St:T}=n,{Lt:f,Pt:S,kt:O}=c,[M,j]=Wt(333),[Z,g]=Wt(444),E=_=>{$t(p.scrollBy)&&p.scrollBy({behavior:"smooth",left:_.x,top:_.y})},L=()=>{const _="pointerup pointercancel lostpointercapture",F=`client${a?"X":"Y"}`,z=a?zn:Rn,w=a?"left":"top",x=a?"w":"h",R=a?"x":"y",C=[];return ot(S,"pointerdown",o((N=>{const X=Yt(N.target,`.${Te}`)===O,Q=X?O:S,nt=t.scrollbars,K=nt[X?"dragScroll":"clickScroll"],{button:st,isPrimary:A,pointerType:D}=N,{pointers:$}=nt;if(st===0&&A&&K&&($||[]).includes(D)){bt(C),g();const h=!X&&(N.shiftKey||K==="instant"),v=k(Xn,O),l=k(Xn,S),m=(tt,dt)=>(tt||v())[w]-(dt||l())[w],P=te(Xn(p)[z])/qt(p)[x]||1,H=mt(p)[R],W=tt=>{Et(p,{[R]:H+tt})},V=tt=>{const{Rt:dt}=e,ft=qt(S)[x]-qt(O)[x],Ht=1/P*tt/ft;W(Ht*dt[R])},q=N[F],I=v(),J=l(),B=I[z],it=m(I,J)+B/2,ct=q-J[w]-it,lt=X?0:ct,et=tt=>{bt(St),Q.releasePointerCapture(tt.pointerId)},pt=X||h,at=T(),St=[ot(b,_,et),ot(b,"selectstart",(tt=>re(tt)),{D:!1}),ot(S,_,et),pt&&ot(S,"pointermove",(tt=>V(lt+tt[F]-q))),pt&&(()=>{const tt=mt(p);at();const dt=mt(p),ft={x:dt.x-tt.x,y:dt.y-tt.y};(Lt(ft.x)>3||Lt(ft.y)>3)&&(T(),Et(p,tt),E(ft),Z(at))})];if(Q.setPointerCapture(N.pointerId),h)V(ct);else if(!X){const tt=tn(Es);if(tt){const{Vt:dt}=e,ft=tt(W,V,k(m),ct,dt[R],K,!!a,(Ht=>{Ht?at():rt(St,at)}));rt(St,ft),rt(C,k(ft,!0))}}}})))};let U=!0;return k(bt,[ot(O,"pointermove pointerleave",o(s)),ot(f,"pointerenter",o((()=>{r(Be,!0)}))),ot(f,"pointerleave pointercancel",o((()=>{r(Be,!1)}))),ot(f,"wheel",o((_=>{const{deltaX:F,deltaY:z,deltaMode:w}=_;U&&w===0&&un(f)===i&&E({x:F,y:z}),U=!1,r(Ue,!0),M((()=>{U=!0,r(Ue)})),re(_)})),{D:!1,I:!0}),!u&&ot(f,"mousedown",o((()=>{const _=oe();(Ie(_,Pt)||Ie(_,zt)||_===document.body)&&pe(k(ie,d),25)}))),ot(f,"pointerdown",(()=>{const _=ot(b,"click",(z=>{F(),Co(z)}),{A:!0,I:!0,D:!1}),F=ot(b,"pointerup pointercancel",(()=>{F(),setTimeout(_,150)}),{I:!0,D:!0})}),{I:!0,D:!0}),L(),j,g])},Fs=(t,n,e,o,s,c,r)=>{let a,i,d,u,p,b=an,T=0;const f=["mouse","pen"],S=v=>l=>{e.Kt||v(l)},O=v=>f.includes(v.pointerType),[M,j]=Wt(),[Z,g]=Wt(100),[E,L]=Wt(50),[U,_]=Wt((()=>T)),[F,z]=Rs(t,c,s,Vs(n,c,s,S,(v=>O(v)&&st()))),{vt:w,Qt:x,bt:R}=c,{Ft:C,Ut:N,Nt:X,qt:Q,Bt:nt}=F,K=(v,l)=>{_();const m=P=>{e.Kt||C(ws,P)};if(v)m();else{const P=d?!a:!0;T>0&&!l?U(k(m,P)):m(P)}},st=()=>{(d?!a:!u)&&(K(!0),Z((()=>{K(!1)})))},A=v=>{O(v)&&(a=!0,!e.Kt&&d&&K(!0))},D=v=>{O(v)&&(a=!1,!e.Kt&&d&&K(!1))},$=v=>{C(ue,v,!0),C(ue,v,!1)},y=[_,g,L,j,()=>b(),ot(w,"pointerover",A,{A:!0}),ot(w,"pointerenter",A),ot(w,"pointerleave",D),ot(w,"pointermove",S((v=>{O(v)&&i&&st()}))),ot(x,"scroll",S((v=>{M((()=>{X(),st()})),r(v),nt()})))],h=tn(Ee);return[()=>k(bt,rt(y,z())),({Dt:v,It:l,Zt:m,tn:P})=>{const{nn:H,sn:W,en:V,cn:q}=P||{},{Ct:I,ft:J}=m||{},{B}=o,{M:it,P:ut}=Mt(),{rn:ct,j:lt}=s,[et,pt]=v("showNativeOverlaidScrollbars"),[at,St]=v("scrollbars.theme"),[tt,dt]=v("scrollbars.visibility"),[ft,Ht]=v("scrollbars.autoHide"),[en,dn]=v("scrollbars.autoHideSuspend"),[pn]=v("scrollbars.autoHideDelay"),[Vt,on]=v("scrollbars.dragScroll"),[Bn,jn]=v("scrollbars.clickScroll"),[yn,Un]=v("overflow"),xt=J&&!l,Kn=H||W||q||I||l,vn=V||dt||Un,Wn=et&&it.x&&it.y,Ut=!ut&&!h,Yn=Wn||Ut,gn=(sn,cn,hn)=>{const It=sn.includes(Nt)&&(tt===kt||tt==="auto"&&cn===Nt);return C(ms,It,hn),It};if(T=pn,(pt||Ut)&&C(ys,Yn),St&&(C(p),C(at,!0),p=at),(dn||xt)&&($(!en),xt&&en&&(lt.x||lt.y?(b(),E((()=>{b=ot(x,Nt,S(k($,!0)),{A:!0})}
vendor: 5,285 bytes, line 9
9))):$(!0))),Ht&&(i=ft==="move",d=ft==="leave",u=ft==="never",K(u,!0)),on&&C(xs,Vt),jn&&C(Ss,!!Bn),vn){const sn=gn(yn.x,ct.x,!0),cn=gn(yn.y,ct.y,!1);C(bs,!(sn&&cn))}Kn&&(X(),N(),nt(),q&&Q(),C(je,!lt.x,!0),C(je,!lt.y,!1),C(vs,B&&!R))},{},F]},Ns=t=>{const n=Mt(),{K:e,P:o}=n,{elements:s}=e(),{padding:c,viewport:r,content:a}=s,i=An(t),d=i?{}:t,{elements:u}=d,{padding:p,viewport:b,content:T}=u||{},f=i?t:d.target,S=vo(f),O=f.ownerDocument,M=O.documentElement,j=()=>O.defaultView||gt,Z=k(_s,[f]),g=k(zo,[f]),E=k(Xt,""),L=k(Z,E,r),U=k(g,E,a),_=I=>{const J=qt(I),B=kn(I),it=At(I,he),ut=At(I,me);return B.w-J.w>0&&!Zt(it)||B.h-J.h>0&&!Zt(ut)},F=L(b),z=F===f,w=z&&S,x=!z&&U(T),R=!z&&F===x,C=w?M:F,N=w?C:f,X=!z&&g(E,c,p),Q=!R&&x,nt=[Q,C,X,N].map((I=>An(I)&&!un(I)&&I)),K=I=>I&&Je(nt,I),st=!K(C)&&_(C)?C:f,A=w?M:C,$={dt:f,vt:N,L:C,ln:X,ht:Q,gt:A,Qt:w?O:C,an:S?M:st,Gt:O,bt:S,At:i,V:z,un:j,yt:I=>xe(C,Pt,I),wt:(I,J)=>Pn(C,Pt,I,J),St:()=>Pn(A,Pt,as,!0)},{dt:y,vt:h,ln:v,L:l,ht:m}=$,P=[()=>{Tt(h,[zt,Jn]),Tt(y,Jn),S&&Tt(M,[Jn,zt])}];let H=ee([m,l,v,h,y].find((I=>I&&!K(I))));const W=w?y:m||l,V=k(bt,P);return[$,()=>{const I=j(),J=oe(),B=et=>{vt(un(et),ee(et)),Gt(et)},it=et=>ot(et,"focusin focusout focus blur",Co,{I:!0,D:!1}),ut="tabindex",ct=we(l,ut),lt=it(J);return Dt(h,zt,z?"":cs),Dt(v,ae,""),Dt(l,Pt,""),Dt(m,Ne,""),z||(Dt(l,ut,ct||"-1"),S&&Dt(M,Fe,"")),vt(W,H),vt(h,v),vt(v||h,!z&&l),vt(l,m),rt(P,[lt,()=>{const et=oe(),pt=K(l),at=pt&&et===l?y:et,St=it(at);Tt(v,ae),Tt(m,Ne),Tt(l,Pt),S&&Tt(M,Fe),ct?Dt(l,ut,ct):Tt(l,ut),K(m)&&B(m),pt&&B(l),K(v)&&B(v),ie(at),St()}]),o&&!z&&(Se(l,Pt,Mo),rt(P,k(Tt,l,Pt))),ie(!z&&S&&J===y&&I.top===I?l:J),lt(),H=0,V},V]},Bs=({ht:t})=>({Zt:n,fn:e,It:o})=>{const{$t:s}=n||{},{Ot:c}=e;t&&(s||o)&&fn(t,{[Rn]:c&&"100%"})},js=({vt:t,ln:n,L:e,V:o},s)=>{const[c,r]=ht({i:Wo,o:_e()},k(_e,t,"padding",""));return({Dt:a,Zt:i,fn:d,It:u})=>{let[p,b]=r(u);const{P:T}=Mt(),{_t:f,xt:S,Ct:O}=i||{},{B:M}=d,[j,Z]=a("paddingAbsolute");(f||b||(u||S))&&([p,b]=c(u));const E=!o&&(Z||O||b);if(E){const L=!j||!n&&!T,U=p.r+p.l,_=p.t+p.b,F={[oo]:L&&!M?-U:0,[so]:L?-_:0,[eo]:L&&M?-U:0,top:L?-p.t:0,right:L?M?-p.r:"auto":0,left:L?M?"auto":-p.l:0,[zn]:L&&`calc(100% + ${U}px)`},z={[Ge]:L?p.t:0,[Qe]:L?p.r:0,[no]:L?p.b:0,[to]:L?p.l:0};fn(n||e,F),fn(e,z),Y(s,{ln:p,_n:!L,F:n?z:Y({},F,z)})}return{dn:E}}},Us=(t,n)=>{const e=Mt(),{vt:o,ln:s,L:c,V:r,Qt:a,gt:i,bt:d,wt:u,un:p}=t,{P:b}=e,T=d&&r,f=k(Ze,0),S={display:()=>!1,direction:y=>y!=="ltr",flexDirection:y=>y.endsWith("-reverse"),writingMode:y=>y!=="horizontal-tb"},O=yt(S),M={i:co,o:{w:0,h:0}},j={i:On,o:{}},Z=y=>{u(Ao,!T&&y)},g=()=>At(c,O),E=(y,h)=>{const v=!yt(y).length,l=!h&&O.some((ct=>{const lt=y[ct];return Qt(lt)&&S[ct](lt)}));if(v&&!l||!ts(c))return{T:{x:0,y:0},k:{x:1,y:1}};Z(!0);const P=mt(i),H=ot(a,Nt,(ct=>{const lt=mt(i);ct.isTrusted&<.x===P.x&<.y===P.y&&xo(ct)}),{I:!0,A:!0}),W=u(us,!0);Et(i,{x:0,y:0}),W();const V=mt(i),q=kn(i);Et(i,{x:q.w,y:q.h});const I=mt(i),J={x:I.x-V.x,y:I.y-V.y};Et(i,{x:-q.w,y:-q.h});const B=mt(i),it={x:B.x-V.x,y:B.y-V.y},ut={x:Lt(J.x)>=Lt(it.x)?I.x:B.x,y:Lt(J.y)>=Lt(it.y)?I.y:B.y};return Et(i,P),de((()=>H())),{T:V,k:ut}},L=(y,h)=>{const v=gt.devicePixelRatio%1!==0?1:0,l={w:f(y.w-h.w),h:f(y.h-h.h)};return{w:l.w>v?l.w:0,h:l.h>v?l.h:0}},U=(y,h)=>{const v=(l,m,P,H)=>{const W=l===kt?Ot:$s(l),V=Zt(l),q=Zt(P);return!m&&!H?Ot:V&&q?kt:V?m&&H?W:m?kt:Ot:m?W:q&&H?kt:Ot};return{x:v(h.x,y.x,h.y,y.y),y:v(h.y,y.y,h.x,y.x)}},_=y=>{const h=l=>[kt,Ot,Nt].map((m=>$(fe(m),l))),v=h(!0).concat(h()).join(" ");u(v),u(yt(y).map((l=>$(y[l],l==="x"))).join(" "),!0)},[F,z]=ht(M,k(Oe,c)),[w,x]=ht(M,k(kn,c)),[R,C]=ht(M),[N]=ht(j),[X,Q]=ht(M),[nt]=ht(j),[K]=ht({i:(y,h)=>Vn(y,h,Dn(Jt(yt(y),yt(h)))),o:{}}),[st,A]=ht({i:(y,h)=>On(y.T,h.T)&&On(y.k,h.k),o:Oo()}),D=tn(Ee),$=(y,h)=>`${h?rs:is}${Ko(y)}`;return({Dt:y,Zt:h,fn:v,It:l},{dn:m})=>{const{_t:P,Ht:H,xt:W,Ct:V,ft:q,Et:I}=h||{},J=D&&D.R(t,n,v,e,y),{X:B,Y:it,W:ut}=J||{},[ct,lt]=Os(y,e),[et,pt]=y("overflow"),at=Zt(et.x),St=Zt(et.y),tt=P||m||W||V||I||lt;let dt=z(l),ft=x(l),Ht=C(l),en=Q(l);if(lt&&b&&u(Mo,!ct),tt){xe(o,zt,Tn)&&Z(!0);const Me=it&&it(),[mn]=dt=F(l),[bn]=ft=w(l),wn=wo(c),Sn=T&&Qo(p()),No={w:f(bn.w+mn.w),h:f(bn.h+mn.h)},De={w:f((Sn?Sn.w:wn.w+f(wn.w-bn.w))+mn.w),h:f((Sn?Sn.h:wn.h+f(wn.h-bn.h))+mn.h)};Me&&Me(),en=X(De),Ht=R(L(No,De),l)}const[dn,pn]=en,[Vt,on]=Ht,[Bn,jn]=ft,[yn,Un]=dt,[xt,Kn]=N({x:Vt.w>0,y:Vt.h>0}),vn=at&&St&&(xt.x||xt.y)||at&&xt.x&&!xt.y||St&&xt.y&&!xt.x,Wn=m||V||I||Un||jn||pn||on||pt||lt||tt||H&&T,[Ut]=y("update.flowDirectionStyles"),[Yn,gn]=K(Ut?Ut(c):g(),l),sn=V||q||gn||Kn||l,[cn,hn]=sn?st(E(Yn,!!Ut),l):A();let It=U(xt,et);Z(!1),Wn&&(_(It),It=Ts(c,xt),ut&&B&&(B(It,Bn,yn),fn(c,ut(It))));const[Vo,Fo]=nt(It);return Pn(o,zt,Tn,vn),Pn(s,ae,Tn,vn),Y(n,{rn:Vo,Vt:{x:dn.w,y:dn.h},Rt:{x:Vt.w,y:Vt.h},j:xt,Tt:ns(cn,Vt)}),{en:Fo,nn:pn,sn:on,cn:hn||on}}},Ks=t=>{const[n,e,o]=Ns(t),s={ln:{t:0,r:0,b:0,l:0},_n:!1,F:{[oo]:0,[so]:0,[eo]:0,[Ge]:0,[Qe]:0,[no]:0,[to]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},rn:{x:Ot,y:Ot},j:{x:!1,y:!1},Tt:Oo()},{dt:c,gt:r,V:a,St:i}=n,{P:d,M:u}=Mt(),p=!d&&(u.x||u.y),b=[Bs(n),js(n,s),Us(n,s)];return[e,T=>{const f={},O=p&&mt(r),M=O&&i();return G(b,(j=>{Y(f,j(T,f)||{})})),Et(r,O),M&&M(),a||Et(c,0),f},s,n,o]},Ws=(t,n,e,o)=>{let s=!1;const c={Kt:!1,pn:!1},r=Gn(n,{}),[a,i,d,u,p]=Ks(t),[b,T,f]=Ls(u,d,r,(g=>{Z({},g)}
9)),[S,O,,M]=Fs(t,n,c,f,d,u,o),j=g=>yt(g).some((E=>!!g[E])),Z=(g,E)=>{const{Kt:L,pn:U}=c;if(U||L&&s)return!1;const{vn:_,It:F,zt:z}=g,w=_||{},x=!!F||!s,R={Dt:Gn(n,w,x),vn:w,It:x},C=E||T(Y({},R,{zt:z})),N=i(Y({},R,{fn:f,Zt:C}));O(Y({},R,{Zt:C,tn:N}));const X=j(C),Q=j(N),nt=X||Q||!be(w)||x;return s=!0,nt&&e(g,{Zt:C,tn:N}),nt};return[()=>{const{an:g,gt:E,St:L}=u,U=mt(g),_=[b(),a(),S(),()=>{c.pn=!0}],F=L();return Et(E,U),F(),k(bt,_)},Z,g=>{const E=c.Kt;c.Kt=g,!g&&E!==g&&Z({It:!0,zt:!0})},()=>{O({Dt:Gn(n,{},!1),vn:{},It:!1})},()=>({gn:c,hn:f,bn:d}),{yn:u,wn:M},p]},Ae=new WeakMap,Ys=(t,n)=>{Ae.set(t,n)},Zs=t=>{Ae.delete(t)},Ro=t=>Ae.get(t),jt=(t,n,e)=>{const{tt:o}=Mt(),s=An(t),c=s?t:t.target,r=Ro(c);if(n&&!r){const a=[],i={},d=x=>{const R=lo(x),C=tn(ss);return C?C(R,!0):R},u=Y({},o(),d(n)),[p,b,T]=le(),[f,S,O]=le(e),M=(x,R)=>{O(x,R),T(x,R)},[j,Z,g,E,L,U,_]=Ws(t,u,(({vn:x,It:R},{Zt:C,tn:N})=>{const{_t:X,Ct:Q,$t:nt,xt:K,Ht:st,ft:A}=C,{nn:D,sn:$,en:y,cn:h}=N;M("updated",[w,{updateHints:{sizeChanged:!!X,directionChanged:!!Q,heightIntrinsicChanged:!!nt,overflowEdgeChanged:!!D,overflowAmountChanged:!!$,overflowStyleChanged:!!y,scrollCoordinatesChanged:!!h,contentMutation:!!K,hostMutation:!!st,appear:!!A},changedOptions:x||{},force:!!R}])}),(x=>M("scroll",[w,x]))),F=x=>{const{gn:R}=L(),{pn:C}=R;C||(Zs(c),bt(a),M("destroyed",[w,x]),b(),S())},w={options(x,R){if(x){const C=R?o():{},N=Ho(u,Y(C,d(x)));be(N)||(Y(u,N),Z({vn:N}))}return Y({},u)},on:f,off:(x,R)=>{x&&R&&S(x,R)},state(){const{gn:x,hn:R,bn:C}=L(),{pn:N,Kt:X}=x,{B:Q}=R,{Vt:nt,Rt:K,rn:st,j:A,ln:D,_n:$,Tt:y}=C;return Y({},{overflowEdge:nt,overflowAmount:K,overflowStyle:st,hasOverflow:A,scrollCoordinates:{start:y.T,end:y.k},padding:D,paddingAbsolute:$,directionRTL:Q,sleeping:X,destroyed:N})},elements(){const{dt:x,vt:R,ln:C,L:N,ht:X,gt:Q,Qt:nt}=U.yn,{jt:K,Jt:st}=U.wn,A=$=>{const{kt:y,Pt:h,Lt:v}=$;return{scrollbar:v,track:h,handle:y}},D=$=>{const{Xt:y,Yt:h}=$,v=A(y[0]);return Y({},v,{clone:()=>{const l=A(h());return E(),l}})};return Y({},{target:x,host:R,padding:C||N,viewport:N,content:X||N,scrollOffsetElement:Q,scrollEventElement:nt,scrollbarHorizontal:D(K),scrollbarVertical:D(st)})},update:x=>Z({It:x,zt:!0}),destroy:k(F,!1),sleep:g,plugin:x=>i[yt(x)[0]]};return rt(a,[_]),Ys(c,w),Eo($o,jt,[w,p,i]),zs(U.yn.bt,!s&&t.cancel)?(F(!0),w):(rt(a,j()),M("initialized",[w]),w.update(),w)}return r};jt.plugin=t=>{const n=Ct(t),e=n?t:[t],o=e.map((s=>Eo(s,jt)[0]));return es(e),n?o:o[0]};jt.valid=t=>{const n=t&&t.elements,e=$t(n)&&n();return ln(e)&&!!Ro(e.target)};jt.env=()=>{const{U:t,M:n,P:e,J:o,ot:s,st:c,K:r,Z:a,tt:i,nt:d}=Mt();return Y({},{scrollbarsSize:t,scrollbarsOverlaid:n,scrollbarsHiding:e,scrollTimeline:o,staticDefaultInitialization:s,staticDefaultOptions:c,getDefaultInitialization:r,setDefaultInitialization:a,getDefaultOptions:i,setDefaultOptions:d})};jt.nonce=Ps;jt.trustedTypePolicy=qo;export{jt as OverlayScrollbars};
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.