Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

overlayscrollbars

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

overlayscrollbars - npm Package Compare versions

Comparing version 2.5.0 to 2.6.0

4

browser/overlayscrollbars.browser.es5.min.js
/*!
* OverlayScrollbars
* Version: 2.5.0
* Version: 2.6.0
*

@@ -10,2 +10,2 @@ * Copyright (c) Rene Haas | KingSora.

*/
var OverlayScrollbarsGlobal=function(n){"use strict";var r=function(n,r){var t,e=n.v,i=n.o,o=n.u,u=e,c=function(n,r){var e=u,c=n,a=r||(i?!i(e,c):e!==c);return(a||o)&&(u=c,t=e),[u,a,t]};return[r?function(n){return c(r(u,t),n)}:c,function(n){return[u,!!n,t]}]},t="undefined"!=typeof window,e=t?window:{},i=Math.max,o=Math.min,u=Math.round,c=Math.abs,a=e.cancelAnimationFrame,f=e.requestAnimationFrame,l=e.setTimeout,v=e.clearTimeout,s=function(n){return void 0!==e[n]?e[n]:void 0},d=s("MutationObserver"),p=s("IntersectionObserver"),h=s("ResizeObserver"),y=s("ScrollTimeline"),b=t&&Node.ELEMENT_NODE,w=Object.prototype,g=w.toString,m=w.hasOwnProperty,x=/^\[object (.+)\]$/,S=function(n){return void 0===n},O=function(n){return null===n},M=function(n){return"number"==typeof n},E=function(n){return"string"==typeof n},j=function(n){return"boolean"==typeof n},P=function(n){return"function"==typeof n},C=function(n){return Array.isArray(n)},N=function(n){return"object"==typeof n&&!C(n)&&!O(n)},k=function(n){var r=!!n&&n.length,t=M(r)&&r>-1&&r%1==0;return!(!(C(n)||!P(n)&&t)||r>0&&N(n)&&!(r-1 in n))},z=function(n){if(!n||!N(n)||"object"!==function(n){return S(n)||O(n)?""+n:g.call(n).replace(x,"$1").toLowerCase()}(n))return!1;var r,t="constructor",e=n[t],i=e&&e.prototype,o=m.call(n,t),u=i&&m.call(i,"isPrototypeOf");if(e&&!o&&!u)return!1;for(r in n);return S(r)||m.call(n,r)},A=function(n){var r=HTMLElement;return!!n&&(r?n instanceof r:n.nodeType===b)},R=function(n){var r=Element;return!!n&&(r?n instanceof r:n.nodeType===b)},I=function(){return performance.now()},L=function(n,r,t,e,o){var u=0,c=I(),l=i(0,t),v=function t(a){var v=I(),s=v-c>=l,d=a?1:1-(i(0,c+l-v)/l||0),p=(r-n)*(P(o)?o(d,d*l,0,1,l):d)+n,h=s||1===d;e&&e(p,d,h),u=h?0:f((function(){return t()}))};return v(),function(n){a(u),n&&v(n)}};function D(n,r){if(k(n))for(var t=0;t<n.length&&!1!==r(n[t],t,n);t++);else n&&D(Object.keys(n),(function(t){return r(n[t],t,n)}));return n}var H=function(n,r){return n.indexOf(r)>=0},T=function(n,r){return n.concat(r)},_=function(n,r,t){return t||E(r)||!k(r)?n.push(r):Array.prototype.push.apply(n,r),n},B=function(n){return Array.from(n||[])},F=function(n){return C(n)?n:[n]},V=function(n){return!!n&&!n.length},X=function(n){return B(new Set(n))},Y=function(n,r,t){D(n,(function(n){return n&&n.apply(void 0,r||[])})),!t&&(n.length=0)},Q="paddingTop",$="paddingRight",q="paddingLeft",W="paddingBottom",G="marginLeft",J="marginRight",K="marginBottom",U="overflowX",Z="overflowY",nn="width",rn="height",tn="hidden",en="visible",on=function(n,r,t,e){if(n&&r){var i=!0;return D(t,(function(t){(e?e(n[t]):n[t])!==(e?e(r[t]):r[t])&&(i=!1)})),i}return!1},un=function(n,r){return on(n,r,["w","h"])},cn=function(n,r){return on(n,r,["x","y"])},an=function(n,r){return on(n,r,["t","r","b","l"])},fn=function(){},ln=function(n){for(var r=arguments.length,t=new Array(r>1?r-1:0),e=1;e<r;e++)t[e-1]=arguments[e];return n.bind.apply(n,[0].concat(t))},vn=function(n){var r,t=n?l:f,e=n?v:a;return[function(i){e(r),r=t(i,P(n)?n():n)},function(){return e(r)}]},sn=function(n,r){var t,e,i,o=fn,u=r||{},c=u.p,s=u._,d=u.m,p=function(r){o(),v(t),t=e=void 0,o=fn,n.apply(this,r)},h=function(n){return d&&e?d(e,n):n},y=function(){o!==fn&&p(h(i)||i)},b=function(){var n=B(arguments),r=P(c)?c():c;if(M(r)&&r>=0){var u=P(s)?s():s,d=M(u)&&u>=0,b=r>0?l:f,w=r>0?v:a,g=h(n)||n,m=p.bind(0,g);o();var x=b(m,r);o=function(){return w(x)},d&&!t&&(t=l(y,u)),e=i=g}else p(n)};return b.S=y,b},dn=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)},pn=function(n){return n?Object.keys(n):[]},hn=function n(r,t,e,i,o,u,c){var a=[t,e,i,o,u,c];return"object"==typeof r&&!O(r)||P(r)||(r={}),D(a,(function(t){D(t,(function(e,i){var o=t[i];if(r===o)return!0;var u=C(o);if(o&&z(o)){var c=r[i],a=c;u&&!C(c)?a=[]:u||z(c)||(a={}),r[i]=n(a,o)}else r[i]=u?o.slice():o}))})),r},yn=function n(r,t){return D(hn({},r),(function(r,e,i){void 0===r?delete i[e]:t&&r&&z(r)&&(i[e]=n(r,t))}))},bn=function(n){for(var r in n)return!1;return!0},wn=function(n,r,t){return i(n,o(r,t))},gn=function(n){return B(new Set((C(n)?n:(n||"").split(" ")).filter((function(n){return n}))))},mn=function(n,r){return n&&n.getAttribute(r)},xn=function(n,r,t){D(gn(r),(function(r){n&&n.setAttribute(r,t||"")}))},Sn=function(n,r){D(gn(r),(function(r){return n&&n.removeAttribute(r)}))},On=function(n,r){var t=gn(mn(n,r)),e=ln(xn,n,r),i=function(n,r){var e=new Set(t);return D(gn(n),(function(n){return e[r](n)})),B(e).join(" ")};return{O:function(n){return e(i(n,"delete"))},C:function(n){return e(i(n,"add"))},T:function(n){var r=gn(n);return r.reduce((function(n,r){return n&&t.includes(r)}),r.length>0)}}},Mn=function(n,r,t){On(n,r).O(t)},En=function(n,r,t){return On(n,r).C(t),ln(Mn,n,r,t)},jn=function(n,r,t,e){(e?En:Mn)(n,r,t)},Pn=function(n){return On(n,"class")},Cn=function(n,r){Pn(n).O(r)},Nn=function(n,r){return Pn(n).C(r),ln(Cn,n,r)},kn=t&&Element.prototype,zn=function(n,r){var t=[],e=r?R(r)&&r:document;return e?_(t,e.querySelectorAll(n)):t},An=function(n,r){return!!R(n)&&(kn.matches||kn.msMatchesSelector).call(n,r)},Rn=function(n){return n?B(n.childNodes):[]},In=function(n){return n&&n.parentElement},Ln=function(n,r){return R(n)&&n.closest(r)},Dn=function(n,r,t){var e=Ln(n,r),i=n&&function(n,r){var t=r?R(r)&&r:document;return t?t.querySelector(n):null}(t,e),o=Ln(i,r)===e;return!(!e||!i)&&(e===n||i===n||o&&Ln(Ln(n,t),r)!==e)},Hn=function n(r){if(k(r))D(B(r),(function(r){return n(r)}));else if(r){var t=In(r);t&&t.removeChild(r)}},Tn=function(n,r,t){if(t&&n){var e,i=r;return k(t)?(e=document.createDocumentFragment(),D(t,(function(n){n===i&&(i=n.previousSibling),e.appendChild(n)}))):e=t,r&&(i?i!==r&&(i=i.nextSibling):i=n.firstChild),n.insertBefore(e,i||null),function(){return Hn(t)}}return fn},_n=function(n,r){return Tn(n,null,r)},Bn=function(n,r){return Tn(In(n),n&&n.nextSibling,r)},Fn=function(n){var r=document.createElement("div");return xn(r,"class",n),r},Vn=function(n){var r=Fn();return r.innerHTML=n.trim(),D(Rn(r),(function(n){return Hn(n)}))},Xn=/^--/,Yn=function(n,r){return n.getPropertyValue(r)||n[r]||""},Qn=function(n){var r=n||0;return isFinite(r)?r:0},$n=function(n){return Qn(parseFloat(n||""))},qn=function(n){return(100*Qn(n)).toFixed(3)+"%"},Wn=function(n){return Qn(n)+"px"};function Gn(n,r){n&&D(r,(function(r,t){try{var e=n.style,i=M(r)?Wn(r):(r||"")+"";Xn.test(t)?e.setProperty(t,i):e[t]=i}catch(o){}}))}function Jn(n,r,t){var i=E(r),o=i?"":{};if(n){var u=e.getComputedStyle(n,t)||n.style;o=i?Yn(u,r):r.reduce((function(n,r){return n[r]=Yn(u,r),n}),o)}return o}var Kn=function(n){return"rtl"===Jn(n,"direction")},Un=function(n,r,t){var e=r?r+"-":"",i=t?"-"+t:"",o=e+"top"+i,u=e+"right"+i,c=e+"bottom"+i,a=e+"left"+i,f=Jn(n,[o,u,c,a]);return{t:$n(f[o]),r:$n(f[u]),b:$n(f[c]),l:$n(f[a])}},Zn=function(n,r){return"translate"+(N(n)?"("+n.x+","+n.y+")":(r?"X":"Y")+"("+n+")")},nr={w:0,h:0},rr=function(n,r){return r?{w:r[n+"Width"],h:r[n+"Height"]}:nr},tr=function(n){return rr("inner",n||e)},er=ln(rr,"offset"),ir=ln(rr,"client"),or=ln(rr,"scroll"),ur=function(n){var r=parseFloat(Jn(n,nn))||0,t=parseFloat(Jn(n,rn))||0;return{w:r-u(r),h:t-u(t)}},cr=function(n){return n.getBoundingClientRect()},ar=function(n){return!(!n||!n[rn]&&!n[nn])},fr=function(n,r){var t=ar(n);return!ar(r)&&t},lr=function(n,r,t,e){D(gn(r),(function(r){n.removeEventListener(r,t,e)}))},vr=function(n,r,t,e){var i,o=null==(i=e&&e.A)||i,u=e&&e.H||!1,c=e&&e.P||!1,a={passive:o,capture:u};return ln(Y,gn(r).map((function(r){var e=c?function(i){lr(n,r,e,u),t(i)}:t;return n.addEventListener(r,e,a),ln(lr,n,r,e,u)})))},sr=function(n){return n.stopPropagation()},dr=function(n){return n.preventDefault()},pr={x:0,y:0},hr=function(n){var r=n&&cr(n);return r?{x:r.left+e.scrollX,y:r.top+e.scrollY}:pr},yr=function(n,r,t){return t?t.n?-n+0:t.i?r-n:n:n},br=function(n,r){return[yr(0,n,r),yr(n,n,r)]},wr=function(n,r,t){return wn(0,1,yr(n,r,t)/r||0)},gr=function(n,r){var t=M(r)?{x:r,y:r}:r||{},e=t.x,i=t.y;M(e)&&(n.scrollLeft=e),M(i)&&(n.scrollTop=i)},mr=function(n){return{x:n.scrollLeft,y:n.scrollTop}},xr=function(n,r){D(F(r),n)},Sr=function(n){var r=new Map,t=function(n,t){if(n){var e=r.get(n);xr((function(n){e&&e[n?"delete":"clear"](n)}),t)}else r.forEach((function(n){n.clear()})),r.clear()},e=function n(e,i){if(E(e)){var o=r.get(e)||new Set;return r.set(e,o),xr((function(n){P(n)&&o.add(n)}),i),ln(t,e,i)}j(i)&&i&&t();var u=pn(e),c=[];return D(u,(function(r){var t=e[r];t&&_(c,n(r,t))})),ln(Y,c)};return e(n||{}),[e,t,function(n,t){D(B(r.get(n)),(function(n){t&&!V(t)?n.apply(0,t):n()}))}]},Or=function(n){return JSON.stringify(n,(function(n,r){if(P(r))throw 0;return r}))},Mr=function(n,r){return n?(""+r).split(".").reduce((function(n,r){return n&&dn(n,r)?n[r]:void 0}),n):void 0},Er={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation: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"]}},jr=function n(r,t){var e={};return D(T(pn(t),pn(r)),(function(i){var o=r[i],u=t[i];if(N(o)&&N(u))hn(e[i]={},n(o,u)),bn(e[i])&&delete e[i];else if(dn(t,i)&&u!==o){var a=!0;if(C(o)||C(u))try{Or(o)===Or(u)&&(a=!1)}catch(c){}a&&(e[i]=u)}})),e},Pr=function(n,r,t){return function(e){return[Mr(n,e),t||void 0!==Mr(r,e)]}},Cr="data-overlayscrollbars",Nr="os-environment",kr=Nr+"-scrollbar-hidden",zr=Cr+"-initialize",Ar=Cr,Rr=Ar+"-overflow-x",Ir=Ar+"-overflow-y",Lr="overflowVisible",Dr="scrollbarPressed",Hr="updating",Tr="body",_r=Cr+"-viewport",Br="arrange",Fr="scrollbarHidden",Vr=Lr,Xr=Cr+"-padding",Yr=Vr,Qr=Cr+"-content",$r="os-size-observer",qr=$r+"-appear",Wr=$r+"-listener",Gr=Wr+"-scroll",Jr=Wr+"-item",Kr=Jr+"-final",Ur="os-trinsic-observer",Zr="os-theme-none",nt="os-scrollbar",rt=nt+"-rtl",tt=nt+"-horizontal",et=nt+"-vertical",it=nt+"-track",ot=nt+"-handle",ut=nt+"-visible",ct=nt+"-cornerless",at=nt+"-transitionless",ft=nt+"-interaction",lt=nt+"-unusable",vt=nt+"-auto-hide",st=vt+"-hidden",dt=nt+"-wheel",pt=it+"-interactive",ht=ot+"-interactive",yt={},bt={},wt=function(n,r,t){return pn(n).map((function(e){var i=n[e],o=i.static,u=i.instance,c=t||[],a=c[0],f=c[1],l=c[2],v=t?u:o;if(v){var s=t?v(a,f,r):v(r);return(l||bt)[e]=s}}))},gt=function(n){return bt[n]};!function(n){function r(){return n.exports=r=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}return n},n.exports.D=!0,n.exports["default"]=n.exports,r.apply(this,arguments)}n.exports=r,n.exports.D=!0,n.exports["default"]=n.exports}({exports:{}});var mt,xt="__osOptionsValidationPlugin",St="__osSizeObserverPlugin",Ot=function(n){return(n={})[St]={static:function(){return function(n,r,t){var e,i,o=3333333,u="scroll",c=Vn('<div class="'+Jr+'" dir="ltr"><div class="'+Jr+'"><div class="'+Kr+'"></div></div><div class="'+Jr+'"><div class="'+Kr+'" style="width: 200%; height: 200%"></div></div></div>'),l=c[0],v=l.lastChild,s=l.firstChild,d=null==s?void 0:s.firstChild,p=er(l),h=p,y=!1,b=function(){gr(s,o),gr(v,o)},w=function(n){i=0,y&&(p=h,r(!0===n))},g=function(n){h=er(l),y=!n||!un(h,p),n?(sr(n),y&&!i&&(a(i),i=f(w))):w(!1===n),b()},m=[_n(n,c),vr(s,u,g),vr(v,u,g)];return Nn(n,Gr),Gn(d,((e={})[nn]=o,e[rn]=o,e)),f(b),[t?ln(g,!1):b,m]}}},n}(),Mt=function(n,r){var t=r.R,e=n("showNativeOverlaidScrollbars"),i=e[0],o=e[1];return[i&&t.x&&t.y,o]},Et=function(n){return 0===n.indexOf(en)},jt=function(n,r){var t=n.I,e=function(n){var e=Jn(t,n);return[e,"scroll"===(r?r[n]:e)]},i=e(U),o=i[0],u=i[1],c=e(Z);return{L:{x:o,y:c[0]},k:{x:u,y:c[1]}}},Pt=function(n,r,t,e){var i=r.x||r.y,o=function(n,r){var t=Et(n),e=t&&i?"hidden":"",o=r&&t&&n.replace(en+"-","")||e;return[r&&!t?n:"",Et(o)?"hidden":o]},u=o(t.x,r.x),c=u[0],a=u[1],f=o(t.y,r.y),l=f[0],v=f[1];return e[U]=a&&l?a:c,e[Z]=v&&c?v:l,jt(n,e)},Ct="__osScrollbarsHidingPlugin",Nt=function(n){return(n={})[Ct]={static:function(){return{V:function(n,r,t,e,i){var o=n.M,u=n.I,c=e.j,a=e.R,f=e.F,l=!o&&!c&&(a.x||a.y),v=Mt(i,e)[0],s=function(n){var r=n.k,t=c||v?0:42,e=function(n,r,e){return[r&&!c?n?t:e:0,n&&!!t]},i=e(a.x,r.x,f.x),o=i[0],u=i[1],l=e(a.y,r.y,f.y);return{N:{x:o,y:l[0]},U:{x:u,y:l[1]}}},d=function(n,t,e,i){var u,c=t.B;if(hn(i,((u={})[J]=0,u[K]=0,u[G]=0,u)),!o){var a=s(n),f=a.N,l=a.U,v=l.x,d=l.y,p=f.x,h=f.y,y=r.Y,b=c?G:J,w=c?q:$,g=y[b],m=y[K],x=y[w],S=y[W];i[nn]="calc(100% + "+(h+-1*g)+"px)",i[b]=-h+g,i[K]=-p+m,e&&(i[w]=x+(d?h:0),i[W]=S+(v?p:0))}};return{W:s,q:function(n,e,i){if(l){var o=r.Y,c=s(n),a=c.N,f=c.U,v=f.x,d=f.y,p=a.x,h=a.y,y=o[t.B?$:q],b=o.paddingTop,w=e.w+i.w,g=e.h+i.h,m={w:h&&d?h+w-y+"px":"",h:p&&v?p+g-b+"px":""};Gn(u,{"--os-vaw":m.w,"--os-vah":m.h})}return l},X:function(e){if(l){var i=e||jt(n),o=r.Y,c=s(i).U,a=c.x,f=c.y,v={},p=function(n){return D(n,(function(n){v[n]=o[n]}))};a&&p([K,Q,W]),f&&p([G,J,q,$]);var h=Jn(u,pn(v));return Mn(u,_r,Br),Gn(u,v),[function(){d(i,t,l,h),Gn(u,h),En(u,_r,Br)},i]}return[fn]},G:d}},K:function(){var n={w:0,h:0},r=0,t=function(){var n=e.screen,r=n.deviceXDPI||0,t=n.logicalXDPI||1;return e.devicePixelRatio||r/t};return function(e,i){var o=tr(),a={w:o.w-n.w,h:o.h-n.h};if(0!==a.w||0!==a.h){var f,l,v=c(a.w),s=c(a.h),d={w:c(u(o.w/(n.w/100))),h:c(u(o.h/(n.h/100)))},p=t(),h=v>2&&s>2,y=!function(n,r){var t=c(n),e=c(r);return!(t===e||t+1===e||t-1===e)}(d.w,d.h);if(h&&y&&p!==r&&p>0){var b=i();l=b[0],f=b[1],hn(e.F,l)}return n=o,r=p,f}}}}}},n}(),kt="__osClickScrollPlugin",zt=function(n){return(n={})[kt]={static:function(){return function(n,r,t,e,i){var o=0,u=fn;return function c(a){u=L(a,a+e*Math.sign(t),133,(function(t,a,f){n(t);var v=r();if(f&&!(i>=v&&i<=v+e)){if(o)c(t);else{var s=l((function(){c(t)}),222);u=function(){clearTimeout(s)}}o++}}))}(0),function(){return u()}}}},n}(),At=function(){return mt||(mt=function(){var n=function(n,r,t,e){_n(n,r);var i=ir(r),o=er(r),u=ur(t);return e&&Hn(r),{x:o.h-i.h+u.h,y:o.w-i.w+u.w}},t=document.body,i=Vn('<div class="'+Nr+'"><div></div></div>')[0],o=i.firstChild,u=Sr(),c=u[0],a=u[2],f=r({v:n(t,i,o),o:cn},ln(n,t,i,o,!0)),l=f[0],v=(0,f[1])()[0],s=function(n){var r=!1,t=Nn(n,kr);try{r="none"===Jn(n,"scrollbar-width")||"none"===Jn(n,"display","::-webkit-scrollbar")}catch(e){}return t(),r}(i),d={x:0===v.x,y:0===v.y},p={elements:{host:null,padding:!s,viewport:function(n){return s&&n===n.ownerDocument.body&&n},content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},h=hn({},Er),b=ln(hn,{},h),w=ln(hn,{},p),g={F:v,R:d,j:s,Z:!!y,$:function(n,r){var t;Gn(n,((t={})[U]=tn,t[Z]=tn,t.direction="rtl",t)),gr(n,{x:0});var e=hr(n),i=hr(r);gr(n,{x:-999});var o=hr(r);return{i:e.x===i.x,n:i.x!==o.x}}(i,o),J:ln(c,"r"),rr:w,ar:function(n){return hn(p,n)&&w()},er:b,tr:function(n){return hn(h,n)&&b()},nr:hn({},p),vr:hn({},h)};return Sn(i,"style"),Hn(i),e.addEventListener("resize",(function(){var n;if(!(s||d.x&&d.y)){var r=gt(Ct);n=!!(r?r.K():fn)(g,l)}a("r",[n])})),g}()),mt},Rt=function(n,r){return P(r)?r.apply(0,n):r},It=function(n,r,t,e){var i=S(e)?t:e;return Rt(n,i)||r.apply(0,n)},Lt=function(n,r,t,e){var i=S(e)?t:e,o=Rt(n,i);return!!o&&(A(o)?o:r.apply(0,n))},Dt=function(n,r){var t=r||{},e=t.nativeScrollbarsOverlaid,i=t.body,o=At(),u=o.R,c=o.j,a=(0,o.rr)().cancel,f=a.nativeScrollbarsOverlaid,l=a.body,v=null!=e?e:f,s=S(i)?l:i,d=(u.x||u.y)&&v,p=n&&(O(s)?!c:s);return!!d||!!p},Ht=new WeakMap,Tt=function(n){return Ht.get(n)},_t=function(n,r,t,e){var i=!1,o=e||{},u=o.ir,c=o.ur,a=o.cr,f=o.lr,l=o.sr,v=o.dr,s=sn((function(){return i&&t(!0)}),{p:33,_:99}),p=function(n,r,t){var e=!1,i=!!t&&new WeakMap,o=function(o){if(i&&t){var u=t.map((function(r){var t=r||[],e=t[0],i=t[1];return[i&&e?(o||zn)(e,n):[],i]}));D(u,(function(t){return D(t[0],(function(o){var u=t[1],c=i.get(o)||[];if(n.contains(o)&&u){var a=vr(o,u,(function(n){e?(a(),i.delete(o)):r(n)}));i.set(o,_(c,a))}else Y(c),i.delete(o)}))}))}};return o(),[function(){e=!0},o]}(n,s,a),h=p[0],y=p[1],b=c||[],w=T(u||[],b),g=function(i,o){if(!V(o)){var u=l||fn,c=v||fn,a=[],s=[],d=!1,p=!1;if(D(o,(function(t){var i=t.attributeName,o=t.target,l=t.type,v=t.oldValue,h=t.addedNodes,y=t.removedNodes,w="attributes"===l,g="childList"===l,m=n===o,x=w&&i,S=x&&mn(o,i||"")||null,O=x&&v!==S,M=H(b,i)&&O;if(r&&(g||!m)){var E=w&&O,j=E&&f&&An(o,f),P=(j?!u(o,i,v,S):!w||E)&&!c(t,!!j,n,e);D(h,(function(n){return _(a,n)})),D(y,(function(n){return _(a,n)})),p=p||P}!r&&m&&O&&!u(o,i,v,S)&&(_(s,i),d=d||M)})),y((function(n){return X(a).reduce((function(r,t){return _(r,zn(n,t)),An(t,n)?_(r,t):r}),[])})),r)return!i&&p&&t(!1),[!1];if(!V(s)||d){var h=[X(s),d];return!i&&t.apply(0,h),h}}},m=new d(ln(g,!1));return[function(){return m.observe(n,{attributes:!0,attributeOldValue:!0,attributeFilter:w,subtree:r,childList:r,characterData:r}),i=!0,function(){i&&(h(),m.disconnect(),i=!1)}},function(){if(i)return s.S(),g(!0,m.takeRecords())}]},Bt=function(n,t,e){var i=3333333,o=e||{},u=o.pr,c=o._r,a=gt(St),f=At().$,l=ln(Kn,n),v=r({v:!1,u:!0})[0];return function(){var e=[],o=Vn('<div class="'+$r+'"><div class="'+Wr+'"></div></div>')[0],s=o.firstChild,d=function(n){var r=n instanceof ResizeObserverEntry,e=!r&&C(n),c=!1,a=!1,l=!0;if(r){var s=v(n.contentRect),d=s[0],p=s[2],h=ar(d),y=fr(d,p);l=!(c=!(a=!p||y)&&!h)}else e?l=n[1]:a=!0===n;if(u&&l){var b=e?n[0]:Kn(o);gr(o,{x:yr(i,i,b&&f),y:i})}c||t({hr:e?n:void 0,gr:!e,_r:a})};if(h){var p=new h((function(n){return d(n.pop())}));p.observe(s),_(e,(function(){p.disconnect()}))}else{if(!a)return fn;var y=a(s,d,c),b=y[0],w=y[1];_(e,T([Nn(o,qr),vr(o,"animationstart",b)],w))}if(u){var g=r({v:void 0},l)[0];_(e,vr(o,"scroll",(function(n){var r=g(),t=r[0],e=r[1],i=r[2];e&&(Cn(s,"ltr rtl"),Nn(s,t?"rtl":"ltr"),d([!!t,e,i])),sr(n)})))}return ln(Y,_(e,_n(n,o)))}},Ft=function(n,t){var e,i=Fn(Ur),o=r({v:!1})[0],u=function(n,r){if(n){var e=o(function(n){return 0===n.h||n.isIntersecting||n.intersectionRatio>0}(n));return e[1]&&!r&&t(e)&&[e]}},c=function(n,r){return u(r.pop(),n)};return[function(){var r=[];if(p)(e=new p(ln(c,!1),{root:n})).observe(i),_(r,(function(){e.disconnect()}));else{var t=function(){var n=er(i);u(n)};_(r,Bt(i,t)()),t()}return ln(Y,_(r,_n(n,i)))},function(){return e&&c(!0,e.takeRecords())}]},Vt=function(n,t,e,i){var o,u,c,a,f,l,v=At().j,s="["+Ar+"]",d="["+_r+"]",p=["tabindex"],y=["wrap","cols","rows"],b=["id","class","style","open"],w=n.br,g=n.mr,m=n.I,x=n.Sr,S=n.yr,O=n.M,j=n.wr,N=n.Or,k={Cr:!1,B:Kn(w)},z=At(),A=gt(Ct),R=r({o:un,v:{w:0,h:0}},(function(){var r=A&&A.V(n,t,k,z,e).X,i=j(Vr),o=!O&&j(Br),u=o&&mr(m);N(Vr),O&&N(Hr,!0);var c=o&&r&&r()[0],a=or(x),f=or(m),l=ur(m);return N(Vr,i),O&&N(Hr),c&&c(),gr(m,u),{w:f.w+a.w+l.w,h:f.h+a.h+l.h}})),I=R[0],L=S?y:T(b,y),_=sn(i,{p:function(){return o},_:function(){return u},m:function(n,r){var t=n[0],e=r[0];return[T(pn(t),pn(e)).reduce((function(n,r){return n[r]=t[r]||e[r],n}),{})]}}),B=function(n){if(O){var r=Kn(w);hn(n,{Er:l!==r}),hn(k,{B:r}),l=r}},F=function(n){D(n||p,(function(n){if(H(p,n)){var r=mn(g,n);E(r)?xn(m,n,r):Sn(m,n)}}))},V=function(n,r){var t=n[0],e={Tr:n[1]};return hn(k,{Cr:t}),!r&&i(e),e},X=function(n){var r=n.gr,t=n.hr,e=n._r,o=(!r||e||t)&&v?_:i,u=t||[],c=u[0],a={gr:r||e,_r:e,Er:u[1]};B(a),t&&hn(k,{B:c}),o(a)},Y=function(n,r){var t=I()[1],e={Ar:t};return B(e),t&&!r&&(n?i:_)(e),e},Q=function(n,r,t){var e={Hr:r};return B(e),r&&!t?_(e):O||F(n),e},$=z.J,q=x?Ft(g,V):[],W=q[0],G=q[1],J=!O&&Bt(g,X,{_r:!0,pr:!0}),K=_t(g,!1,Q,{ur:b,ir:T(b,p)}),U=K[0],Z=K[1],nn=O&&h&&new h((function(n){var r=n[n.length-1].contentRect;X({gr:!0,_r:fr(r,f)}),f=r}));return[function(){F(),nn&&nn.observe(g);var n=J&&J(),r=W&&W(),t=U(),e=$((function(n){var r=I()[1];_({Pr:n,Ar:r})}));return function(){nn&&nn.disconnect(),n&&n(),r&&r(),a&&a(),t(),e()}},function(n){var r=n.Dr,t=n.Rr,e=n.zr,i={},f=r("update.ignoreMutation")[0],l=r("update.attributes"),v=l[0],p=l[1],h=r("update.elementEvents"),y=h[0],b=h[1],w=r("update.debounce"),g=w[0],S=w[1],E=t||e;if(b||p){c&&c(),a&&a();var j=_t(x||m,!0,Y,{ir:T(L,v||[]),cr:y,lr:s,dr:function(n,r){var t=n.target,e=n.attributeName;return!(r||!e||O)&&Dn(t,s,d)||!!Ln(t,"."+nt)||!!function(n){return P(f)&&f(n)}(n)}}),N=j[0],k=j[1];a=N(),c=k}if(S)if(_.S(),C(g)){var z=g[0],A=g[1];o=M(z)&&z,u=M(A)&&A}else M(g)?(o=g,u=!1):(o=!1,u=!1);if(E){var R=Z(),I=G&&G(),D=c&&c();R&&hn(i,Q(R[0],R[1],E)),I&&hn(i,V(I[0],E)),D&&hn(i,Y(D[0],E))}return B(i),i},k]},Xt=function(n,r,t,e){var i=At(),o=i.rr,u=i.$,c=o().scrollbars.slot,a=r.br,f=r.mr,v=r.I,s=r.Ir,d=r.Lr,p=r.kr,h=r.M,b=((s?{}:n).scrollbars||{}).slot,w=new Map,g=function(n){return y&&new y({source:d,axis:n})},m=g("x"),x=g("y"),S=Lt([a,f,v],(function(){return h&&p?a:f}),c,b),O=function(n,r){if(r){var e=n?nn:rn,i=r.Vr,o=r.Mr,u=cr(o)[e],c=cr(i)[e];return wn(0,1,u/c||0)}var a=n?"x":"y",f=t.jr,l=t.Fr[a],v=f[a];return wn(0,1,l/(l+v)||0)},M=function(n,r){return hn(n,r?{clear:["left"]}:{})},E=function(n){w.forEach((function(r,t){(!n||H(F(n),t))&&(D(r||[],(function(n){n&&n.cancel()})),w.delete(t))}))},P=function(n,r,t,e){var i=w.get(n)||[],o=i.find((function(n){return n&&n.timeline===r}));o?o.effect=new KeyframeEffect(n,t,{composite:e}):w.set(n,T(i,[n.animate(t,{timeline:r,composite:e})]))},C=function(n,r,t){var e=t?Nn:Cn;D(n,(function(n){e(n.Nr,r)}))},N=function(n,r){D(n,(function(n){var t=r(n);Gn(t[0],t[1])}))},k=function(n,r){N(n,(function(n){var t;return[n.Mr,(t={},t[r?nn:rn]=qn(O(r)),t)]}))},z=function(n,r){var e=t.jr,i=r?e.x:e.y,o=function(n,t,e){return Zn(qn(function(n,r,t,e){var i=O(t,n);return 1/i*(1-i)*(e?1-r:r)||0}(n,wr(t,i,e),r,e)),r)};if(m&&x)D(n,(function(n){var t=n.Nr,e=n.Mr,c=r&&Kn(t)&&u;P(e,r?m:x,M({transform:br(i,c).map((function(r){return o(n,r,c)}))},c))}));else{var c=mr(d);N(n,(function(n){var t=n.Mr,e=n.Nr;return[t,{transform:o(n,r?c.x:c.y,r&&Kn(e)&&u)}]}))}},A=function(n){return h&&!p&&In(n)===v},R=[],I=[],L=[],B=function(n,r,t){var e=j(t),i=!e||!t;(!e||t)&&C(I,n,r),i&&C(L,n,r)},X=function(n){var r=n?tt:et,t=n?I:L,i=V(t)?at:"",o=Fn(nt+" "+r+" "+i),u=Fn(it),c=Fn(ot),a={Nr:o,Vr:u,Mr:c};return _(t,a),_(R,[_n(o,u),_n(u,c),ln(Hn,o),E,e(a,B,z,n)]),a},Q=ln(X,!0),$=ln(X,!1);return Q(),$(),[{Ur:function(){k(I,!0),k(L)},Br:function(){z(I,!0),z(L)},Yr:function(){if(h){var n=t.jr,r=.5;if(m&&x)D(T(L,I),(function(t){var e=t.Nr;if(A(e)){var i=function(n,t,i){var o=i&&Kn(e)&&u;P(e,n,M({transform:br(t-r,o).map((function(n){return Zn(Wn(n),i)}))},o),"add")};i(m,n.x,!0),i(x,n.y)}else E(e)}));else{var e=mr(d),i=function(r){var t=r.Nr,i=A(t)&&t,o=function(n,r,t){var e=r*wr(n,r,t);return Wn(t?-e:e)};return[i,{transform:i?Zn({x:o(e.x,n.x,Kn(t)&&u),y:o(e.y,n.y)}):""}]};N(I,i),N(L,i)}}},Wr:B,qr:{Z:m,Xr:I,Gr:Q,Kr:ln(N,I)},Zr:{Z:x,Xr:L,Gr:$,Kr:ln(N,L)}},function(){return _n(S,I[0].Nr),_n(S,L[0].Nr),l((function(){B(at)}),300),ln(Y,R)}]},Yt=function(n,r,t){var e=r.mr,i=r.Lr,o=r.$r;return function(r,c,a,f){var l=r.Nr,v=r.Vr,s=r.Mr,d=vn(333),p=d[0],h=d[1],y=vn(),b=y[0],w=y[1],g=ln(a,[r],f),m=!!i.scrollBy,x="client"+(f?"X":"Y"),S=f?nn:rn,O=f?"left":"top",M=f?"w":"h",E=f?"x":"y",j=function(n){return n.propertyName.indexOf(S)>-1},P=!0;return ln(Y,[vr(l,"pointerenter",(function(){c(ft,!0)})),vr(l,"pointerleave pointercancel",(function(){c(ft,!1)})),vr(l,"wheel",(function(n){var r=n.deltaX,t=n.deltaY,o=n.deltaMode;m&&P&&0===o&&In(l)===e&&i.scrollBy({left:r,top:t,behavior:"smooth"}),P=!1,c(dt,!0),p((function(){P=!0,c(dt)})),dr(n)}),{A:!1,H:!0}),vr(s,"transitionstart",(function(n){j(n)&&function n(){g(),b(n)}()})),vr(s,"transitionend transitioncancel",(function(n){j(n)&&(w(),g())})),vr(l,"mousedown",ln(vr,o,"click",sr,{P:!0,H:!0}),{H:!0}),function(){var r="pointerup pointerleave pointercancel lostpointercapture",c=function(n,r){return function(e){var o,u=t.jr,c=er(v)[M]-er(s)[M],a=r*e/c*u[E];gr(i,((o={})[E]=n+a,o))}};return vr(v,"pointerdown",(function(t){var a=Ln(t.target,"."+ot)===s,f=a?s:v,l=n.scrollbars,d=t.button,p=t.isPrimary,h=t.pointerType,y=l.pointers;if(0===d&&p&&l[a?"dragScroll":"clickScroll"]&&(y||[]).includes(h)){var b=!a&&t.shiftKey,w=ln(cr,s),g=ln(cr,v),m=function(n,r){return(n||w())[O]-(r||g())[O]},j=u(cr(i)[S])/er(i)[M]||1,P=c(mr(i)[E]||0,1/j),C=t[x],N=w(),k=g(),z=N[S],A=m(N,k)+z/2,R=C-k[O],I=a?0:R-A,L=function(n){Y(D),f.releasePointerCapture(n.pointerId)},D=[En(e,Ar,Dr),vr(o,r,L),vr(o,"selectstart",(function(n){return dr(n)}),{A:!1}),vr(v,r,L),vr(v,"pointermove",(function(n){var r=n[x]-C;(a||b)&&P(I+r)}))];if(f.setPointerCapture(t.pointerId),b)P(I);else if(!a){var H=gt(kt);H&&_(D,H(P,m,I,z,R))}}}))}(),h,w])}},Qt=function(n){var r=n.Sr;return function(n){var t,e=n.Qr,i=n.ca,o=n.zr,u=(e||{}).Tr,c=i.Cr;r&&(u||o)&&Gn(r,((t={})[rn]=c&&"100%",t))}},$t=function(n,t){var e=n.mr,i=n.va,o=n.I,u=n.M,c=r({o:an,v:Un()},ln(Un,e,"padding","")),a=c[0],f=c[1];return function(n){var r=n.Dr,e=n.Qr,c=n.ca,l=n.zr,v=f(l),s=v[0],d=v[1],p=At().j,h=e||{},y=h.gr,b=h.Ar,w=h.Er,g=c.B,m=r("paddingAbsolute"),x=m[0],S=m[1];if(y||d||l||b){var O=a(l);s=O[0],d=O[1]}var M=!u&&(S||w||d);if(M){var E,j,P=!x||!i&&!p,C=s.r+s.l,N=s.t+s.b,k=((E={})[J]=P&&!g?-C:0,E[K]=P?-N:0,E[G]=P&&g?-C:0,E.top=P?-s.t:0,E.right=P?g?-s.r:"auto":0,E.left=P?g?"auto":-s.l:0,E[nn]=P&&"calc(100% + "+C+"px)",E),z=((j={})[Q]=P?s.t:0,j[$]=P?s.r:0,j[W]=P?s.b:0,j[q]=P?s.l:0,j);Gn(i||o,k),Gn(o,z),hn(t,{va:s,fa:!P,Y:i?z:hn({},k,z)})}return{la:M}}},qt=function(n,t){var o=At(),u=n.mr,c=n.va,a=n.I,f=n.M,l=n.Or,v=n.kr,s=n.oa,d=o.j,p=o.R,h=v&&f,y=ln(i,0),b={o:un,v:{w:0,h:0}},w={o:cn,v:{x:tn,y:tn}},g=function(n,r){var t=e.devicePixelRatio%1!=0?1:0,i={w:y(n.w-r.w),h:y(n.h-r.h)};return{w:i.w>t?i.w:0,h:i.h>t?i.h:0}},m=r(b,ln(ur,a)),x=m[0],S=m[1],O=r(b,ln(or,a)),M=O[0],E=O[1],j=r(b),P=j[0],C=j[1],N=r(b),k=N[0],z=N[1],A=r(w)[0],R=gt(Ct);return function(r,e){var v,b=r.Dr,w=r.Qr,m=r.ca,O=r.zr,j=e.la,N=w||{},I=N.gr,L=N.Hr,D=N.Ar,H=N.Tr,T=N.Er,_=N.Pr,B=m.Cr,F=R&&R.V(n,t,m,o,b)||{},V=F.q,X=F.X,Y=F.G,Q=F.W,$=function(n,r){var e;if(Gn(a,((e={})[rn]="",e)),r){var i,o=t.fa,c=t.va,f=n.k,l=ur(u),v=ir(u),s="content-box"===Jn(a,"boxSizing"),d=o||s?c.b+c.t:0,h=!(p.x&&s);Gn(a,((i={})[rn]=v.h+l.h+(f.x&&h&&Q?Q(n).N.x:0)-d,i))}},q=Mt(b,o),W=q[0],G=q[1],J=b("overflow"),K=J[0],nn=J[1],tn=!f&&(I||D||L||G||H),en=I||j||D||T||_||G,on=Et(K.x),un=Et(K.y),cn=on||un,an=S(O),fn=E(O),ln=C(O),vn=z(O);if(G&&d&&l(Fr,!W),tn&&$(v=jt(n),B),en){cn&&l(Vr,!1);var sn=X?X(v):[],dn=sn[0],pn=sn[1],yn=an=x(O),bn=yn[0],wn=yn[1],gn=fn=M(O),mn=gn[0],Sn=gn[1],On=ir(a),Mn=mn,En=On;dn&&dn(),(Sn||wn||G)&&pn&&!W&&V&&V(pn,mn,bn);var Pn=tr(s),Cn={w:y(i(mn.w,Mn.w)+bn.w),h:y(i(mn.h,Mn.h)+bn.h)},Nn={w:y((h?Pn.w:En.w+y(On.w-mn.w))+bn.w),h:y((h?Pn.h:En.h+y(On.h-mn.h))+bn.h)};vn=k(Nn),ln=P(g(Cn,Nn),O)}var kn=vn,zn=kn[0],An=kn[1],Rn=ln,In=Rn[0],Ln=Rn[1],Dn=fn,Hn=Dn[0],Tn=Dn[1],_n=an,Bn=_n[0],Fn=_n[1],Vn={x:In.w>0,y:In.h>0},Xn=on&&un&&(Vn.x||Vn.y)||on&&Vn.x&&!Vn.y||un&&Vn.y&&!Vn.x;if(j||T||_||Fn||Tn||An||Ln||nn||G||tn||en){var Yn={},Qn=Pt(n,Vn,K,Yn);Y&&Y(Qn,m,!!V&&V(Qn,Hn,Bn),Yn),tn&&$(Qn,B),f?(xn(u,Rr,Yn[U]),xn(u,Ir,Yn[Z])):Gn(a,Yn)}jn(u,Ar,Lr,Xn),jn(c,Xr,Yr,Xn),f||jn(a,_r,Vr,cn);var $n=A(jt(n).L),qn=$n[0],Wn=$n[1];return hn(t,{L:qn,Fr:{x:zn.w,y:zn.h},jr:{x:In.w,y:In.h},na:Vn}),{ta:Wn,aa:An,ea:Ln}}},Wt=function n(r,t,e){var i=At().er,o=A(r),u=o?r:r.target,c=Tt(u);if(t&&!c){var a=!1,f=[],l={},v=function(n){var r=yn(n,!0),t=gt(xt);return t?t(r,!0):r},s=hn({},i(),v(t)),d=Sr(),p=d[0],h=d[1],y=d[2],b=Sr(e),w=b[0],g=b[1],m=b[2],x=function(n,r){m(n,r),y(n,r)},S=function(n,r,t,e){var i=Pr(r,{}),o=function(n){var r,t=function(n){var r=At(),t=r.rr,e=r.j,i=t().elements,o=i.host,u=i.padding,c=i.viewport,a=i.content,f=A(n),l=f?{}:n,v=l.elements||{},s=v.host,d=v.padding,p=v.viewport,h=v.content,y=f?n:l.target,b=An(y,"textarea"),w=y.ownerDocument,g=w.documentElement,m=y===w.body,x=w.defaultView,S=function(){return w.activeElement},O=function(n){n&&n.focus&&n.focus()},M=ln(It,[y]),E=ln(Lt,[y]),j=ln(Rt,[y]),P=ln(Fn,""),C=ln(M,P,c),N=ln(E,P,a),k=C(p),z=k===y,R=z&&m,I=!z&&N(h),L=!z&&A(k)&&k===I,D=L&&!!j(a),T=D?C():k,B=D?I:N(),F=R?g:L?T:k,V=b?M(P,o,s):y,X=L?B:I,Q={br:y,mr:R?F:V,I:F,va:!z&&E(P,u,d),Sr:X,Lr:R?g:F,Jr:R?w:F,ia:m?g:y,oa:x,$r:w,yr:b,kr:m,Ir:f,M:z,ua:L,wr:function(n){return function(n,r,t){return On(n,r).T(t)}(F,z?Ar:_r,n)},Or:function(n,r){return jn(F,z?Ar:_r,n,r)}},$=pn(Q).reduce((function(n,r){var t=Q[r];return _(n,!(!t||!A(t)||In(t))&&t)}),[]),q=function(n){return n?H($,n):null},W=Q.br,G=Q.mr,J=Q.va,K=Q.I,U=Q.Sr,Z=[function(){Sn(G,[Ar,zr]),Sn(W,zr),m&&Sn(g,[zr,Ar])}],nn=b&&q(G),rn=b?W:Rn([U,K,J,G,W].find((function(n){return!1===q(n)}))),tn=R?W:U||K,en=ln(Y,Z);return[Q,function(){var n=S(),r=function(n){_n(In(n),Rn(n)),Hn(n)},t=function(n){return n?vr(n,"focus blur",(function(n){sr(n),n.stopImmediatePropagation()}),{H:!0,A:!1}):fn},i=t(n);if(xn(G,Ar,z?"viewport":"host"),xn(J,Xr,""),xn(U,Qr,""),z||(xn(K,_r,""),m&&En(g,Ar,Tr)),nn&&(Bn(W,G),_(Z,(function(){Bn(G,W),Hn(G)}))),_n(tn,rn),_n(G,J),_n(J||G,!z&&K),_n(K,U),_(Z,[i,function(){var n=S(),e=t(n);Sn(J,Xr),Sn(U,Qr),Sn(K,[Rr,Ir,_r]),q(U)&&r(U),q(K)&&r(K),q(J)&&r(J),O(n),e()}]),e&&!z&&(En(K,_r,Fr),_(Z,ln(Sn,K,_r))),z||x.top!==x||n!==y)O(n);else{var o="tabindex",u=mn(K,o);xn(K,o,"-1"),O(K);var c=function(){return u?xn(K,o,u):Sn(K,o)},a=vr(w,"pointerdown keydown",(function(){c(),a()}));_(Z,[c,a])}return i(),rn=0,en},en]}(n),e=t[0],i=t[1],o=t[2],u={va:{t:0,r:0,b:0,l:0},fa:!1,Y:(r={},r[J]=0,r[K]=0,r[G]=0,r[Q]=0,r[$]=0,r[W]=0,r[q]=0,r),Fr:{x:0,y:0},jr:{x:0,y:0},L:{x:tn,y:tn},na:{x:!1,y:!1}},c=e.br,a=e.I,f=e.M,l=At(),v=l.j,s=l.R,d=!v&&(s.x||s.y),p=[Qt(e),$t(e,u),qt(e,u)];return[i,function(n){var r={},t=d&&mr(a),e=f?En(a,Ar,Hr):fn;return D(p,(function(t){hn(r,t(n,r)||{})})),e(),gr(a,t),!f&&gr(c,0),r},u,e,o]}(n),u=o[0],c=o[1],a=o[2],f=o[3],l=o[4],v=Vt(f,a,i,(function(n){m({},n)})),s=v[0],d=v[1],p=v[2],h=function(n,r,t,e,i,o){var u,c,a,f,l,v=fn,s=0,d=vn(),p=d[0],h=d[1],y=vn(),b=y[0],w=y[1],g=vn(100),m=g[0],x=g[1],S=vn(100),O=S[0],M=S[1],E=vn(100),j=E[0],P=E[1],C=vn((function(){return s})),N=C[0],k=C[1],z=Xt(n,i,e,Yt(r,i,e)),A=z[0],R=z[1],I=i.mr,L=i.Jr,D=i.kr,H=A.Wr,T=A.Ur,B=A.Br,F=A.Yr,V=function(n){H(vt,n,!0),H(vt,n,!1)},X=function(n,r){if(k(),n)H(st);else{var t=ln(H,st,!0);s>0&&!r?N(t):t()}},Q=function(n){return"mouse"===n.pointerType},$=function(n){Q(n)&&(f=c)&&X(!0)},q=[x,k,M,P,w,h,function(){return v()},vr(I,"pointerover",$,{P:!0}),vr(I,"pointerenter",$),vr(I,"pointerleave",(function(n){Q(n)&&(f=!1,c&&X(!1))})),vr(I,"pointermove",(function(n){Q(n)&&u&&p((function(){x(),X(!0),O((function(){u&&X(!1)}))}))})),vr(L,"scroll",(function(n){b((function(){B(),a&&X(!0),m((function(){a&&!f&&X(!1)}))})),o(n),F()}))];return[function(){return ln(Y,_(q,R()))},function(n){var r=n.Dr,i=n.zr,o=n.Qr,f=n.ra||{},d=f.aa,p=f.ea,h=f.ta,y=o||{},b=y.Er,w=y._r,g=t.B,m=At().R,x=e.jr,S=e.L,O=e.na,M=r("showNativeOverlaidScrollbars"),E=M[0],P=M[1],C=r("scrollbars.theme"),N=C[0],k=C[1],z=r("scrollbars.visibility"),A=z[0],R=z[1],I=r("scrollbars.autoHide"),_=I[0],Y=I[1],Q=r("scrollbars.autoHideSuspend"),$=Q[0],q=Q[1],W=r("scrollbars.autoHideDelay")[0],G=r("scrollbars.dragScroll"),J=G[0],K=G[1],U=r("scrollbars.clickScroll"),Z=U[0],nn=U[1],rn=w&&!i,tn=O.x||O.y,en=d||p||b||i,on=h||R,un=E&&m.x&&m.y,cn=function(n,r){var t="visible"===A||"auto"===A&&"scroll"===n;return H(ut,t,r),t};if(s=W,rn&&($&&tn?(V(!1),v(),j((function(){v=vr(L,"scroll",ln(V,!0),{P:!0})}))):V(!0)),P&&H(Zr,un),k&&(H(l),H(N,!0),l=N),q&&!$&&V(!0),Y&&(u="move"===_,c="leave"===_,X(!(a="never"!==_),!0)),K&&H(ht,J),nn&&H(pt,Z),on){var an=cn(S.x,!0),fn=cn(S.y,!1);H(ct,!(an&&fn))}en&&(T(),B(),F(),H(lt,!x.x,!0),H(lt,!x.y,!1),H(rt,g&&!D))},{},A]}(n,r,p,a,f,e),y=h[0],b=h[1],w=h[3],g=function(n){return pn(n).some((function(r){return!!n[r]}))},m=function(n,e){var i=n.sa,o=n.zr,u=n.Rr,a=n.da,f=i||{},l=!!o,v={Dr:Pr(r,f,l),sa:f,zr:l};if(a)return b(v),!1;var s=e||d(hn({},v,{Rr:u})),h=c(hn({},v,{ca:p,Qr:s}));b(hn({},v,{Qr:s,ra:h}));var y=g(s),w=g(h),m=y||w||!bn(f)||l;return m&&t(n,{Qr:s,ra:h}),m};return[function(){var n=f.ia,r=f.I,t=mr(n),e=[s(),u(),y()];return gr(r,t),ln(Y,e)},m,function(){return{pa:p,_a:a}},{ha:f,ga:w},l]}(r,s,(function(n,r){var t=n.sa,e=n.zr,i=r.Qr,o=r.ra,u=i.gr,c=i.Er,a=i.Tr,f=i.Ar,l=i.Hr,v=i._r,s=o.aa,d=o.ea,p=o.ta;x("updated",[N,{updateHints:{sizeChanged:!!u,directionChanged:!!c,heightIntrinsicChanged:!!a,overflowEdgeChanged:!!s,overflowAmountChanged:!!d,overflowStyleChanged:!!p,contentMutation:!!f,hostMutation:!!l,appear:!!v},changedOptions:t||{},force:!!e}])}),(function(n){return x("scroll",[N,n])})),O=S[0],M=S[1],E=S[2],j=S[3],P=S[4],C=function(n){!function(n){Ht.delete(n)}(u),Y(f),a=!0,x("destroyed",[N,n]),h(),g()},N={options:function(n,r){if(n){var t=r?i():{},e=jr(s,hn(t,v(n)));bn(e)||(hn(s,e),M({sa:e}))}return hn({},s)},on:w,off:function(n,r){n&&r&&g(n,r)},state:function(){var n=E(),r=n.pa,t=n._a,e=r.B,i=t.Fr,o=t.jr,u=t.L,c=t.na,f=t.va,l=t.fa;return hn({},{overflowEdge:i,overflowAmount:o,overflowStyle:u,hasOverflow:c,padding:f,paddingAbsolute:l,directionRTL:e,destroyed:a})},elements:function(){var n=j.ha,r=n.br,t=n.mr,e=n.va,i=n.I,o=n.Sr,u=n.Lr,c=n.Jr,a=j.ga,f=a.qr,l=a.Zr,v=function(n){var r=n.Mr,t=n.Vr;return{scrollbar:n.Nr,track:t,handle:r}},s=function(n){var r=n.Xr,t=n.Gr,e=v(r[0]);return hn({},e,{clone:function(){var n=v(t());return M({da:!0}),n}})};return hn({},{target:r,host:t,padding:e||i,viewport:i,content:o||i,scrollOffsetElement:u,scrollEventElement:c,scrollbarHorizontal:s(f),scrollbarVertical:s(l)})},update:function(n){return M({zr:n,Rr:!0})},destroy:ln(C,!1),plugin:function(n){return l[pn(n)[0]]}};return _(f,[P]),function(n,r){Ht.set(n,r)}(u,N),wt(yt,n,[N,p,l]),Dt(j.ha.kr,!o&&r.cancel)?(C(!0),N):(_(f,O()),x("initialized",[N]),N.update(!0),N)}return c};return Wt.plugin=function(n){var r=C(n),t=r?n:[n],e=t.map((function(n){return wt(n,Wt)[0]}));return function(n){D(n,(function(n){return D(n,(function(r,t){yt[t]=n[t]}))}))}(t),r?e:e[0]},Wt.valid=function(n){var r=n&&n.elements,t=P(r)&&r();return z(t)&&!!Tt(t.target)},Wt.env=function(){var n=At(),r=n.F,t=n.R,e=n.j,i=n.$,o=n.Z,u=n.nr,c=n.vr,a=n.rr,f=n.ar,l=n.er,v=n.tr;return hn({},{scrollbarsSize:r,scrollbarsOverlaid:t,scrollbarsHiding:e,rtlScrollBehavior:i,scrollTimeline:o,staticDefaultInitialization:u,staticDefaultOptions:c,getDefaultInitialization:a,setDefaultInitialization:f,getDefaultOptions:l,setDefaultOptions:v})},n.ClickScrollPlugin=zt,n.OverlayScrollbars=Wt,n.ScrollbarsHidingPlugin=Nt,n.SizeObserverPlugin=Ot,n}({});
var OverlayScrollbarsGlobal=function(n){"use strict";var r=function(n,r){var t,e=n.v,i=n.o,o=n.u,u=e,c=function(n,r){var e=u,c=n,a=r||(i?!i(e,c):e!==c);return(a||o)&&(u=c,t=e),[u,a,t]};return[r?function(n){return c(r(u,t),n)}:c,function(n){return[u,!!n,t]}]},t="undefined"!=typeof window,e=t?window:{},i=Math.max,o=Math.min,u=Math.round,c=Math.abs,a=e.cancelAnimationFrame,f=e.requestAnimationFrame,l=e.setTimeout,v=e.clearTimeout,s=function(n){return void 0!==e[n]?e[n]:void 0},d=s("MutationObserver"),p=s("IntersectionObserver"),h=s("ResizeObserver"),y=s("ScrollTimeline"),b=t&&Node.ELEMENT_NODE,w=Object.prototype,g=w.toString,m=w.hasOwnProperty,x=/^\[object (.+)\]$/,S=function(n){return void 0===n},O=function(n){return null===n},M=function(n){return"number"==typeof n},E=function(n){return"string"==typeof n},P=function(n){return"boolean"==typeof n},j=function(n){return"function"==typeof n},C=function(n){return Array.isArray(n)},N=function(n){return"object"==typeof n&&!C(n)&&!O(n)},k=function(n){var r=!!n&&n.length,t=M(r)&&r>-1&&r%1==0;return!(!(C(n)||!j(n)&&t)||r>0&&N(n)&&!(r-1 in n))},z=function(n){if(!n||!N(n)||"object"!==function(n){return S(n)||O(n)?""+n:g.call(n).replace(x,"$1").toLowerCase()}(n))return!1;var r,t="constructor",e=n[t],i=e&&e.prototype,o=m.call(n,t),u=i&&m.call(i,"isPrototypeOf");if(e&&!o&&!u)return!1;for(r in n);return S(r)||m.call(n,r)},A=function(n){var r=HTMLElement;return!!n&&(r?n instanceof r:n.nodeType===b)},R=function(n){var r=Element;return!!n&&(r?n instanceof r:n.nodeType===b)},I=function(){return performance.now()},L=function(n,r,t,e,o){var u=0,c=I(),l=i(0,t),v=function t(a){var v=I(),s=v-c>=l,d=a?1:1-(i(0,c+l-v)/l||0),p=(r-n)*(j(o)?o(d,d*l,0,1,l):d)+n,h=s||1===d;e&&e(p,d,h),u=h?0:f((function(){return t()}))};return v(),function(n){a(u),n&&v(n)}};function D(n,r){if(k(n))for(var t=0;t<n.length&&!1!==r(n[t],t,n);t++);else n&&D(Object.keys(n),(function(t){return r(n[t],t,n)}));return n}var H=function(n,r){return n.indexOf(r)>=0},T=function(n,r){return n.concat(r)},_=function(n,r,t){return t||E(r)||!k(r)?n.push(r):Array.prototype.push.apply(n,r),n},B=function(n){return Array.from(n||[])},F=function(n){return C(n)?n:[n]},V=function(n){return!!n&&!n.length},X=function(n){return B(new Set(n))},Y=function(n,r,t){D(n,(function(n){return n&&n.apply(void 0,r||[])})),!t&&(n.length=0)},Q="paddingTop",$="paddingRight",q="paddingLeft",W="paddingBottom",G="marginLeft",J="marginRight",K="marginBottom",U="overflowX",Z="overflowY",nn="width",rn="height",tn="hidden",en="visible",on=function(n,r,t,e){if(n&&r){var i=!0;return D(t,(function(t){(e?e(n[t]):n[t])!==(e?e(r[t]):r[t])&&(i=!1)})),i}return!1},un=function(n,r){return on(n,r,["w","h"])},cn=function(n,r){return on(n,r,["x","y"])},an=function(n,r){return on(n,r,["t","r","b","l"])},fn=function(){},ln=function(n){for(var r=arguments.length,t=new Array(r>1?r-1:0),e=1;e<r;e++)t[e-1]=arguments[e];return n.bind.apply(n,[0].concat(t))},vn=function(n){var r,t=n?l:f,e=n?v:a;return[function(i){e(r),r=t(i,j(n)?n():n)},function(){return e(r)}]},sn=function(n,r){var t,e,i,o=fn,u=r||{},c=u.p,s=u._,d=u.m,p=function(r){o(),v(t),t=e=void 0,o=fn,n.apply(this,r)},h=function(n){return d&&e?d(e,n):n},y=function(){o!==fn&&p(h(i)||i)},b=function(){var n=B(arguments),r=j(c)?c():c;if(M(r)&&r>=0){var u=j(s)?s():s,d=M(u)&&u>=0,b=r>0?l:f,w=r>0?v:a,g=h(n)||n,m=p.bind(0,g);o();var x=b(m,r);o=function(){return w(x)},d&&!t&&(t=l(y,u)),e=i=g}else p(n)};return b.S=y,b},dn=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)},pn=function(n){return n?Object.keys(n):[]},hn=function n(r,t,e,i,o,u,c){var a=[t,e,i,o,u,c];return"object"==typeof r&&!O(r)||j(r)||(r={}),D(a,(function(t){D(t,(function(e,i){var o=t[i];if(r===o)return!0;var u=C(o);if(o&&z(o)){var c=r[i],a=c;u&&!C(c)?a=[]:u||z(c)||(a={}),r[i]=n(a,o)}else r[i]=u?o.slice():o}))})),r},yn=function n(r,t){return D(hn({},r),(function(r,e,i){void 0===r?delete i[e]:t&&r&&z(r)&&(i[e]=n(r,t))}))},bn=function(n){for(var r in n)return!1;return!0},wn=function(n,r,t){return i(n,o(r,t))},gn=function(n){return B(new Set((C(n)?n:(n||"").split(" ")).filter((function(n){return n}))))},mn=function(n,r){return n&&n.getAttribute(r)},xn=function(n,r,t){D(gn(r),(function(r){n&&n.setAttribute(r,t||"")}))},Sn=function(n,r){D(gn(r),(function(r){return n&&n.removeAttribute(r)}))},On=function(n,r){var t=gn(mn(n,r)),e=ln(xn,n,r),i=function(n,r){var e=new Set(t);return D(gn(n),(function(n){return e[r](n)})),B(e).join(" ")};return{O:function(n){return e(i(n,"delete"))},C:function(n){return e(i(n,"add"))},T:function(n){var r=gn(n);return r.reduce((function(n,r){return n&&t.includes(r)}),r.length>0)}}},Mn=function(n,r,t){On(n,r).O(t)},En=function(n,r,t){return On(n,r).C(t),ln(Mn,n,r,t)},Pn=function(n,r,t,e){(e?En:Mn)(n,r,t)},jn=function(n){return On(n,"class")},Cn=function(n,r){jn(n).O(r)},Nn=function(n,r){return jn(n).C(r),ln(Cn,n,r)},kn=t&&Element.prototype,zn=function(n,r){var t=[],e=r?R(r)&&r:document;return e?_(t,e.querySelectorAll(n)):t},An=function(n,r){return!!R(n)&&(kn.matches||kn.msMatchesSelector).call(n,r)},Rn=function(n){return n?B(n.childNodes):[]},In=function(n){return n&&n.parentElement},Ln=function(n,r){return R(n)&&n.closest(r)},Dn=function(n,r,t){var e=Ln(n,r),i=n&&function(n,r){var t=r?R(r)&&r:document;return t?t.querySelector(n):null}(t,e),o=Ln(i,r)===e;return!(!e||!i)&&(e===n||i===n||o&&Ln(Ln(n,t),r)!==e)},Hn=function n(r){if(k(r))D(B(r),(function(r){return n(r)}));else if(r){var t=In(r);t&&t.removeChild(r)}},Tn=function(n,r,t){if(t&&n){var e,i=r;return k(t)?(e=document.createDocumentFragment(),D(t,(function(n){n===i&&(i=n.previousSibling),e.appendChild(n)}))):e=t,r&&(i?i!==r&&(i=i.nextSibling):i=n.firstChild),n.insertBefore(e,i||null),function(){return Hn(t)}}return fn},_n=function(n,r){return Tn(n,null,r)},Bn=function(n,r){return Tn(In(n),n&&n.nextSibling,r)},Fn=function(n){var r=document.createElement("div");return xn(r,"class",n),r},Vn=function(n){var r=Fn();return r.innerHTML=n.trim(),D(Rn(r),(function(n){return Hn(n)}))},Xn=/^--/,Yn=function(n,r){return n.getPropertyValue(r)||n[r]||""},Qn=function(n){var r=n||0;return isFinite(r)?r:0},$n=function(n){return Qn(parseFloat(n||""))},qn=function(n){return(100*Qn(n)).toFixed(3)+"%"},Wn=function(n){return Qn(n)+"px"};function Gn(n,r){n&&D(r,(function(r,t){try{var e=n.style,i=M(r)?Wn(r):(r||"")+"";Xn.test(t)?e.setProperty(t,i):e[t]=i}catch(o){}}))}function Jn(n,r,t){var i=E(r),o=i?"":{};if(n){var u=e.getComputedStyle(n,t)||n.style;o=i?Yn(u,r):r.reduce((function(n,r){return n[r]=Yn(u,r),n}),o)}return o}var Kn=function(n){return"rtl"===Jn(n,"direction")},Un=function(n,r,t){var e=r?r+"-":"",i=t?"-"+t:"",o=e+"top"+i,u=e+"right"+i,c=e+"bottom"+i,a=e+"left"+i,f=Jn(n,[o,u,c,a]);return{t:$n(f[o]),r:$n(f[u]),b:$n(f[c]),l:$n(f[a])}},Zn=function(n,r){return"translate"+(N(n)?"("+n.x+","+n.y+")":(r?"X":"Y")+"("+n+")")},nr={w:0,h:0},rr=function(n,r){return r?{w:r[n+"Width"],h:r[n+"Height"]}:nr},tr=function(n){return rr("inner",n||e)},er=ln(rr,"offset"),ir=ln(rr,"client"),or=ln(rr,"scroll"),ur=function(n){var r=parseFloat(Jn(n,nn))||0,t=parseFloat(Jn(n,rn))||0;return{w:r-u(r),h:t-u(t)}},cr=function(n){return n.getBoundingClientRect()},ar=function(n){return!(!n||!n[rn]&&!n[nn])},fr=function(n,r){var t=ar(n);return!ar(r)&&t},lr=function(n,r,t,e){D(gn(r),(function(r){n.removeEventListener(r,t,e)}))},vr=function(n,r,t,e){var i,o=null==(i=e&&e.A)||i,u=e&&e.H||!1,c=e&&e.P||!1,a={passive:o,capture:u};return ln(Y,gn(r).map((function(r){var e=c?function(i){lr(n,r,e,u),t(i)}:t;return n.addEventListener(r,e,a),ln(lr,n,r,e,u)})))},sr=function(n){return n.stopPropagation()},dr=function(n){return n.preventDefault()},pr={x:0,y:0},hr=function(n){var r=n&&cr(n);return r?{x:r.left+e.scrollX,y:r.top+e.scrollY}:pr},yr=function(n,r,t){return t?t.n?-n+0:t.i?r-n:n:n},br=function(n,r){return[yr(0,n,r),yr(n,n,r)]},wr=function(n,r,t){return wn(0,1,yr(n,r,t)/r||0)},gr=function(n,r){var t=M(r)?{x:r,y:r}:r||{},e=t.x,i=t.y;M(e)&&(n.scrollLeft=e),M(i)&&(n.scrollTop=i)},mr=function(n){return{x:n.scrollLeft,y:n.scrollTop}},xr=function(n,r){D(F(r),n)},Sr=function(n){var r=new Map,t=function(n,t){if(n){var e=r.get(n);xr((function(n){e&&e[n?"delete":"clear"](n)}),t)}else r.forEach((function(n){n.clear()})),r.clear()},e=function n(e,i){if(E(e)){var o=r.get(e)||new Set;return r.set(e,o),xr((function(n){j(n)&&o.add(n)}),i),ln(t,e,i)}P(i)&&i&&t();var u=pn(e),c=[];return D(u,(function(r){var t=e[r];t&&_(c,n(r,t))})),ln(Y,c)};return e(n||{}),[e,t,function(n,t){D(B(r.get(n)),(function(n){t&&!V(t)?n.apply(0,t):n()}))}]},Or=function(n){return JSON.stringify(n,(function(n,r){if(j(r))throw 0;return r}))},Mr=function(n,r){return n?(""+r).split(".").reduce((function(n,r){return n&&dn(n,r)?n[r]:void 0}),n):void 0},Er={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation: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"]}},Pr=function n(r,t){var e={};return D(T(pn(t),pn(r)),(function(i){var o=r[i],u=t[i];if(N(o)&&N(u))hn(e[i]={},n(o,u)),bn(e[i])&&delete e[i];else if(dn(t,i)&&u!==o){var a=!0;if(C(o)||C(u))try{Or(o)===Or(u)&&(a=!1)}catch(c){}a&&(e[i]=u)}})),e},jr=function(n,r,t){return function(e){return[Mr(n,e),t||void 0!==Mr(r,e)]}},Cr="data-overlayscrollbars",Nr="os-environment",kr=Nr+"-scrollbar-hidden",zr=Cr+"-initialize",Ar=Cr,Rr=Ar+"-overflow-x",Ir=Ar+"-overflow-y",Lr="overflowVisible",Dr="scrollbarPressed",Hr="updating",Tr="body",_r=Cr+"-viewport",Br="arrange",Fr="scrollbarHidden",Vr=Lr,Xr=Cr+"-padding",Yr=Vr,Qr=Cr+"-content",$r="os-size-observer",qr=$r+"-appear",Wr=$r+"-listener",Gr=Wr+"-scroll",Jr=Wr+"-item",Kr=Jr+"-final",Ur="os-trinsic-observer",Zr="os-theme-none",nt="os-scrollbar",rt=nt+"-rtl",tt=nt+"-horizontal",et=nt+"-vertical",it=nt+"-track",ot=nt+"-handle",ut=nt+"-visible",ct=nt+"-cornerless",at=nt+"-interaction",ft=nt+"-unusable",lt=nt+"-auto-hide",vt=lt+"-hidden",st=nt+"-wheel",dt=it+"-interactive",pt=ot+"-interactive",ht={},yt={},bt=function(n,r,t){return pn(n).map((function(e){var i=n[e],o=i.static,u=i.instance,c=t||[],a=c[0],f=c[1],l=c[2],v=t?u:o;if(v){var s=t?v(a,f,r):v(r);return(l||yt)[e]=s}}))},wt=function(n){return yt[n]};!function(n){function r(){return n.exports=r=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}return n},n.exports.D=!0,n.exports["default"]=n.exports,r.apply(this,arguments)}n.exports=r,n.exports.D=!0,n.exports["default"]=n.exports}({exports:{}});var gt,mt="__osOptionsValidationPlugin",xt="__osSizeObserverPlugin",St=function(n){return(n={})[xt]={static:function(){return function(n,r,t){var e,i,o=3333333,u="scroll",c=Vn('<div class="'+Jr+'" dir="ltr"><div class="'+Jr+'"><div class="'+Kr+'"></div></div><div class="'+Jr+'"><div class="'+Kr+'" style="width: 200%; height: 200%"></div></div></div>'),l=c[0],v=l.lastChild,s=l.firstChild,d=null==s?void 0:s.firstChild,p=er(l),h=p,y=!1,b=function(){gr(s,o),gr(v,o)},w=function(n){i=0,y&&(p=h,r(!0===n))},g=function(n){h=er(l),y=!n||!un(h,p),n?(sr(n),y&&!i&&(a(i),i=f(w))):w(!1===n),b()},m=[_n(n,c),vr(s,u,g),vr(v,u,g)];return Nn(n,Gr),Gn(d,((e={})[nn]=o,e[rn]=o,e)),f(b),[t?ln(g,!1):b,m]}}},n}(),Ot=function(n,r){var t=r.R,e=n("showNativeOverlaidScrollbars"),i=e[0],o=e[1];return[i&&t.x&&t.y,o]},Mt=function(n){return 0===n.indexOf(en)},Et=function(n,r){var t=n.I,e=function(n){var e=Jn(t,n);return[e,"scroll"===(r?r[n]:e)]},i=e(U),o=i[0],u=i[1],c=e(Z);return{L:{x:o,y:c[0]},k:{x:u,y:c[1]}}},Pt=function(n,r,t,e){var i=r.x||r.y,o=function(n,r){var t=Mt(n),e=t&&i?"hidden":"",o=r&&t&&n.replace(en+"-","")||e;return[r&&!t?n:"",Mt(o)?"hidden":o]},u=o(t.x,r.x),c=u[0],a=u[1],f=o(t.y,r.y),l=f[0],v=f[1];return e[U]=a&&l?a:c,e[Z]=v&&c?v:l,Et(n,e)},jt="__osScrollbarsHidingPlugin",Ct=function(n){return(n={})[jt]={static:function(){return{V:function(n,r,t,e,i){var o=n.M,u=n.I,c=e.j,a=e.R,f=e.F,l=!o&&!c&&(a.x||a.y),v=Ot(i,e)[0],s=function(n){var r=n.k,t=c||v?0:42,e=function(n,r,e){return[r&&!c?n?t:e:0,n&&!!t]},i=e(a.x,r.x,f.x),o=i[0],u=i[1],l=e(a.y,r.y,f.y);return{N:{x:o,y:l[0]},U:{x:u,y:l[1]}}},d=function(n,t,e,i){var u,c=t.B;if(hn(i,((u={})[J]=0,u[K]=0,u[G]=0,u)),!o){var a=s(n),f=a.N,l=a.U,v=l.x,d=l.y,p=f.x,h=f.y,y=r.Y,b=c?G:J,w=c?q:$,g=y[b],m=y[K],x=y[w],S=y[W];i[nn]="calc(100% + "+(h+-1*g)+"px)",i[b]=-h+g,i[K]=-p+m,e&&(i[w]=x+(d?h:0),i[W]=S+(v?p:0))}};return{W:s,q:function(n,e,i){if(l){var o=r.Y,c=s(n),a=c.N,f=c.U,v=f.x,d=f.y,p=a.x,h=a.y,y=o[t.B?$:q],b=o.paddingTop,w=e.w+i.w,g=e.h+i.h,m={w:h&&d?h+w-y+"px":"",h:p&&v?p+g-b+"px":""};Gn(u,{"--os-vaw":m.w,"--os-vah":m.h})}return l},X:function(e){if(l){var i=e||Et(n),o=r.Y,c=s(i).U,a=c.x,f=c.y,v={},p=function(n){return D(n,(function(n){v[n]=o[n]}))};a&&p([K,Q,W]),f&&p([G,J,q,$]);var h=Jn(u,pn(v));return Mn(u,_r,Br),Gn(u,v),[function(){d(i,t,l,h),Gn(u,h),En(u,_r,Br)},i]}return[fn]},G:d}},K:function(){var n={w:0,h:0},r=0,t=function(){var n=e.screen,r=n.deviceXDPI||0,t=n.logicalXDPI||1;return e.devicePixelRatio||r/t};return function(e,i){var o=tr(),a={w:o.w-n.w,h:o.h-n.h};if(0!==a.w||0!==a.h){var f,l,v=c(a.w),s=c(a.h),d={w:c(u(o.w/(n.w/100))),h:c(u(o.h/(n.h/100)))},p=t(),h=v>2&&s>2,y=!function(n,r){var t=c(n),e=c(r);return!(t===e||t+1===e||t-1===e)}(d.w,d.h);if(h&&y&&p!==r&&p>0){var b=i();l=b[0],f=b[1],hn(e.F,l)}return n=o,r=p,f}}}}}},n}(),Nt="__osClickScrollPlugin",kt=function(n){return(n={})[Nt]={static:function(){return function(n,r,t,e,i){var o=0,u=fn;return function c(a){u=L(a,a+e*Math.sign(t),133,(function(t,a,f){n(t);var v=r();if(f&&!(i>=v&&i<=v+e)){if(o)c(t);else{var s=l((function(){c(t)}),222);u=function(){clearTimeout(s)}}o++}}))}(0),function(){return u()}}}},n}(),zt=function(){return gt||(gt=function(){var n=function(n,r,t,e){_n(n,r);var i=ir(r),o=er(r),u=ur(t);return e&&Hn(r),{x:o.h-i.h+u.h,y:o.w-i.w+u.w}},t=document.body,i=Vn('<div class="'+Nr+'"><div></div></div>')[0],o=i.firstChild,u=Sr(),c=u[0],a=u[2],f=r({v:n(t,i,o),o:cn},ln(n,t,i,o,!0)),l=f[0],v=(0,f[1])()[0],s=function(n){var r=!1,t=Nn(n,kr);try{r="none"===Jn(n,"scrollbar-width")||"none"===Jn(n,"display","::-webkit-scrollbar")}catch(e){}return t(),r}(i),d={x:0===v.x,y:0===v.y},p={elements:{host:null,padding:!s,viewport:function(n){return s&&n===n.ownerDocument.body&&n},content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},h=hn({},Er),b=ln(hn,{},h),w=ln(hn,{},p),g={F:v,R:d,j:s,Z:!!y,$:function(n,r){var t;Gn(n,((t={})[U]=tn,t[Z]=tn,t.direction="rtl",t)),gr(n,{x:0});var e=hr(n),i=hr(r);gr(n,{x:-999});var o=hr(r);return{i:e.x===i.x,n:i.x!==o.x}}(i,o),J:ln(c,"r"),rr:w,ar:function(n){return hn(p,n)&&w()},er:b,tr:function(n){return hn(h,n)&&b()},nr:hn({},p),vr:hn({},h)};return Sn(i,"style"),Hn(i),e.addEventListener("resize",(function(){var n;if(!(s||d.x&&d.y)){var r=wt(jt);n=!!(r?r.K():fn)(g,l)}a("r",[n])})),g}()),gt},At=function(n,r){return j(r)?r.apply(0,n):r},Rt=function(n,r,t,e){var i=S(e)?t:e;return At(n,i)||r.apply(0,n)},It=function(n,r,t,e){var i=S(e)?t:e,o=At(n,i);return!!o&&(A(o)?o:r.apply(0,n))},Lt=function(n,r){var t=r||{},e=t.nativeScrollbarsOverlaid,i=t.body,o=zt(),u=o.R,c=o.j,a=(0,o.rr)().cancel,f=a.nativeScrollbarsOverlaid,l=a.body,v=null!=e?e:f,s=S(i)?l:i,d=(u.x||u.y)&&v,p=n&&(O(s)?!c:s);return!!d||!!p},Dt=new WeakMap,Ht=function(n){return Dt.get(n)},Tt=function(n,r,t,e){var i=!1,o=e||{},u=o.ir,c=o.ur,a=o.cr,f=o.lr,l=o.sr,v=o.dr,s=sn((function(){return i&&t(!0)}),{p:33,_:99}),p=function(n,r,t){var e=!1,i=!!t&&new WeakMap,o=function(o){if(i&&t){var u=t.map((function(r){var t=r||[],e=t[0],i=t[1];return[i&&e?(o||zn)(e,n):[],i]}));D(u,(function(t){return D(t[0],(function(o){var u=t[1],c=i.get(o)||[];if(n.contains(o)&&u){var a=vr(o,u,(function(n){e?(a(),i.delete(o)):r(n)}));i.set(o,_(c,a))}else Y(c),i.delete(o)}))}))}};return o(),[function(){e=!0},o]}(n,s,a),h=p[0],y=p[1],b=c||[],w=T(u||[],b),g=function(i,o){if(!V(o)){var u=l||fn,c=v||fn,a=[],s=[],d=!1,p=!1;if(D(o,(function(t){var i=t.attributeName,o=t.target,l=t.type,v=t.oldValue,h=t.addedNodes,y=t.removedNodes,w="attributes"===l,g="childList"===l,m=n===o,x=w&&i,S=x&&mn(o,i||"")||null,O=x&&v!==S,M=H(b,i)&&O;if(r&&(g||!m)){var E=w&&O,P=E&&f&&An(o,f),j=(P?!u(o,i,v,S):!w||E)&&!c(t,!!P,n,e);D(h,(function(n){return _(a,n)})),D(y,(function(n){return _(a,n)})),p=p||j}!r&&m&&O&&!u(o,i,v,S)&&(_(s,i),d=d||M)})),y((function(n){return X(a).reduce((function(r,t){return _(r,zn(n,t)),An(t,n)?_(r,t):r}),[])})),r)return!i&&p&&t(!1),[!1];if(!V(s)||d){var h=[X(s),d];return!i&&t.apply(0,h),h}}},m=new d(ln(g,!1));return[function(){return m.observe(n,{attributes:!0,attributeOldValue:!0,attributeFilter:w,subtree:r,childList:r,characterData:r}),i=!0,function(){i&&(h(),m.disconnect(),i=!1)}},function(){if(i)return s.S(),g(!0,m.takeRecords())}]},_t=function(n,t,e){var i=3333333,o=e||{},u=o.pr,c=o._r,a=wt(xt),f=zt().$,l=ln(Kn,n),v=r({v:!1,u:!0})[0];return function(){var e=[],o=Vn('<div class="'+$r+'"><div class="'+Wr+'"></div></div>')[0],s=o.firstChild,d=function(n){var r=n instanceof ResizeObserverEntry,e=!r&&C(n),c=!1,a=!1,l=!0;if(r){var s=v(n.contentRect),d=s[0],p=s[2],h=ar(d),y=fr(d,p);l=!(c=!(a=!p||y)&&!h)}else e?l=n[1]:a=!0===n;if(u&&l){var b=e?n[0]:Kn(o);gr(o,{x:yr(i,i,b&&f),y:i})}c||t({hr:e?n:void 0,gr:!e,_r:a})};if(h){var p=new h((function(n){return d(n.pop())}));p.observe(s),_(e,(function(){p.disconnect()}))}else{if(!a)return fn;var y=a(s,d,c),b=y[0],w=y[1];_(e,T([Nn(o,qr),vr(o,"animationstart",b)],w))}if(u){var g=r({v:void 0},l)[0];_(e,vr(o,"scroll",(function(n){var r=g(),t=r[0],e=r[1],i=r[2];e&&(Cn(s,"ltr rtl"),Nn(s,t?"rtl":"ltr"),d([!!t,e,i])),sr(n)})))}return ln(Y,_(e,_n(n,o)))}},Bt=function(n,t){var e,i=Fn(Ur),o=r({v:!1})[0],u=function(n,r){if(n){var e=o(function(n){return 0===n.h||n.isIntersecting||n.intersectionRatio>0}(n));return e[1]&&!r&&t(e)&&[e]}},c=function(n,r){return u(r.pop(),n)};return[function(){var r=[];if(p)(e=new p(ln(c,!1),{root:n})).observe(i),_(r,(function(){e.disconnect()}));else{var t=function(){var n=er(i);u(n)};_(r,_t(i,t)()),t()}return ln(Y,_(r,_n(n,i)))},function(){return e&&c(!0,e.takeRecords())}]},Ft=function(n,t,e,i){var o,u,c,a,f,l,v=zt().j,s="["+Ar+"]",d="["+_r+"]",p=["tabindex"],y=["wrap","cols","rows"],b=["id","class","style","open"],w=n.br,g=n.mr,m=n.I,x=n.Sr,S=n.wr,O=n.M,P=n.yr,N=n.Or,k={Cr:!1,B:Kn(w)},z=zt(),A=wt(jt),R=r({o:un,v:{w:0,h:0}},(function(){var r=A&&A.V(n,t,k,z,e).X,i=P(Vr),o=!O&&P(Br),u=o&&mr(m);N(Vr),O&&N(Hr,!0);var c=o&&r&&r()[0],a=or(x),f=or(m),l=ur(m);return N(Vr,i),O&&N(Hr),c&&c(),gr(m,u),{w:f.w+a.w+l.w,h:f.h+a.h+l.h}})),I=R[0],L=S?y:T(b,y),_=sn(i,{p:function(){return o},_:function(){return u},m:function(n,r){var t=n[0],e=r[0];return[T(pn(t),pn(e)).reduce((function(n,r){return n[r]=t[r]||e[r],n}),{})]}}),B=function(n){if(O){var r=Kn(w);hn(n,{Er:l!==r}),hn(k,{B:r}),l=r}},F=function(n){D(n||p,(function(n){if(H(p,n)){var r=mn(g,n);E(r)?xn(m,n,r):Sn(m,n)}}))},V=function(n,r){var t=n[0],e={Tr:n[1]};return hn(k,{Cr:t}),!r&&i(e),e},X=function(n){var r=n.gr,t=n.hr,e=n._r,o=(!r||e||t)&&v?_:i,u=t||[],c=u[0],a={gr:r||e,_r:e,Er:u[1]};B(a),t&&hn(k,{B:c}),o(a)},Y=function(n,r){var t=I()[1],e={Ar:t};return B(e),t&&!r&&(n?i:_)(e),e},Q=function(n,r,t){var e={Hr:r};return B(e),r&&!t?_(e):O||F(n),e},$=z.J,q=x?Bt(g,V):[],W=q[0],G=q[1],J=!O&&_t(g,X,{_r:!0,pr:!0}),K=Tt(g,!1,Q,{ur:b,ir:T(b,p)}),U=K[0],Z=K[1],nn=O&&h&&new h((function(n){var r=n[n.length-1].contentRect;X({gr:!0,_r:fr(r,f)}),f=r}));return[function(){F(),nn&&nn.observe(g);var n=J&&J(),r=W&&W(),t=U(),e=$((function(n){var r=I()[1];_({Pr:n,Ar:r})}));return function(){nn&&nn.disconnect(),n&&n(),r&&r(),a&&a(),t(),e()}},function(n){var r=n.Dr,t=n.Rr,e=n.zr,i={},f=r("update.ignoreMutation")[0],l=r("update.attributes"),v=l[0],p=l[1],h=r("update.elementEvents"),y=h[0],b=h[1],w=r("update.debounce"),g=w[0],S=w[1],E=t||e;if(b||p){c&&c(),a&&a();var P=Tt(x||m,!0,Y,{ir:T(L,v||[]),cr:y,lr:s,dr:function(n,r){var t=n.target,e=n.attributeName;return!(r||!e||O)&&Dn(t,s,d)||!!Ln(t,"."+nt)||!!function(n){return j(f)&&f(n)}(n)}}),N=P[0],k=P[1];a=N(),c=k}if(S)if(_.S(),C(g)){var z=g[0],A=g[1];o=M(z)&&z,u=M(A)&&A}else M(g)?(o=g,u=!1):(o=!1,u=!1);if(E){var R=Z(),I=G&&G(),D=c&&c();R&&hn(i,Q(R[0],R[1],E)),I&&hn(i,V(I[0],E)),D&&hn(i,Y(D[0],E))}return B(i),i},k]},Vt=function(n,r,t,e){var i=zt(),o=i.rr,u=i.$,c=o().scrollbars.slot,a=r.br,f=r.mr,l=r.I,v=r.Ir,s=r.Lr,d=r.kr,p=r.M,h=((v?{}:n).scrollbars||{}).slot,b=new Map,w=function(n){return y&&new y({source:s,axis:n})},g=w("x"),m=w("y"),x=It([a,f,l],(function(){return p&&d?a:f}),c,h),S=function(n,r){if(r){var e=n?nn:rn,i=r.Vr,o=r.Mr,u=cr(o)[e],c=cr(i)[e];return wn(0,1,u/c||0)}var a=n?"x":"y",f=t.jr,l=t.Fr[a],v=f[a];return wn(0,1,l/(l+v)||0)},O=function(n,r){return hn(n,r?{clear:["left"]}:{})},M=function(n){b.forEach((function(r,t){(!n||H(F(n),t))&&(D(r||[],(function(n){n&&n.cancel()})),b.delete(t))}))},E=function(n,r,t,e){var i=b.get(n)||[],o=i.find((function(n){return n&&n.timeline===r}));o?o.effect=new KeyframeEffect(n,t,{composite:e}):b.set(n,T(i,[n.animate(t,{timeline:r,composite:e})]))},j=function(n,r,t){var e=t?Nn:Cn;D(n,(function(n){e(n.Nr,r)}))},C=function(n,r){D(n,(function(n){var t=r(n);Gn(t[0],t[1])}))},N=function(n,r){C(n,(function(n){var t;return[n.Mr,(t={},t[r?nn:rn]=qn(S(r)),t)]}))},k=function(n,r){var e=t.jr,i=r?e.x:e.y,o=function(n,t,e){return Zn(qn(function(n,r,t,e){var i=S(t,n);return 1/i*(1-i)*(e?1-r:r)||0}(n,wr(t,i,e),r,e)),r)};if(g&&m)D(n,(function(n){var t=n.Nr,e=n.Mr,c=r&&Kn(t)&&u;E(e,r?g:m,O({transform:br(i,c).map((function(r){return o(n,r,c)}))},c))}));else{var c=mr(s);C(n,(function(n){var t=n.Mr,e=n.Nr;return[t,{transform:o(n,r?c.x:c.y,r&&Kn(e)&&u)}]}))}},z=function(n){return p&&!d&&In(n)===l},A=[],R=[],I=[],L=function(n,r,t){var e=P(t),i=!e||!t;(!e||t)&&j(R,n,r),i&&j(I,n,r)},B=function(n){var r=Fn(nt+" "+(n?tt:et)),t=Fn(it),i=Fn(ot),o={Nr:r,Vr:t,Mr:i};return _(n?R:I,o),_(A,[_n(r,t),_n(t,i),ln(Hn,r),M,e(o,L,k,n)]),o},V=ln(B,!0),X=ln(B,!1);return V(),X(),[{Ur:function(){N(R,!0),N(I)},Br:function(){k(R,!0),k(I)},Yr:function(){if(p){var n=t.jr,r=.5;if(g&&m)D(T(I,R),(function(t){var e=t.Nr;if(z(e)){var i=function(n,t,i){var o=i&&Kn(e)&&u;E(e,n,O({transform:br(t-r,o).map((function(n){return Zn(Wn(n),i)}))},o),"add")};i(g,n.x,!0),i(m,n.y)}else M(e)}));else{var e=mr(s),i=function(r){var t=r.Nr,i=z(t)&&t,o=function(n,r,t){var e=r*wr(n,r,t);return Wn(t?-e:e)};return[i,{transform:i?Zn({x:o(e.x,n.x,Kn(t)&&u),y:o(e.y,n.y)}):""}]};C(R,i),C(I,i)}}},Wr:L,qr:{Z:g,Xr:R,Gr:V,Kr:ln(C,R)},Zr:{Z:m,Xr:I,Gr:X,Kr:ln(C,I)}},function(){return _n(x,R[0].Nr),_n(x,I[0].Nr),ln(Y,A)}]},Xt=function(n,r,t){var e=r.mr,i=r.Lr,o=r.$r;return function(r,c,a,f){var l=r.Nr,v=r.Vr,s=r.Mr,d=vn(333),p=d[0],h=d[1],y=vn(),b=y[0],w=y[1],g=ln(a,[r],f),m=!!i.scrollBy,x="client"+(f?"X":"Y"),S=f?nn:rn,O=f?"left":"top",M=f?"w":"h",E=f?"x":"y",P=function(n){return n.propertyName.indexOf(S)>-1},j=!0;return ln(Y,[vr(l,"pointerenter",(function(){c(at,!0)})),vr(l,"pointerleave pointercancel",(function(){c(at,!1)})),vr(l,"wheel",(function(n){var r=n.deltaX,t=n.deltaY,o=n.deltaMode;m&&j&&0===o&&In(l)===e&&i.scrollBy({left:r,top:t,behavior:"smooth"}),j=!1,c(st,!0),p((function(){j=!0,c(st)})),dr(n)}),{A:!1,H:!0}),vr(s,"transitionstart",(function(n){P(n)&&function n(){g(),b(n)}()})),vr(s,"transitionend transitioncancel",(function(n){P(n)&&(w(),g())})),vr(l,"mousedown",ln(vr,o,"click",sr,{P:!0,H:!0}),{H:!0}),function(){var r="pointerup pointerleave pointercancel lostpointercapture",c=function(n,r){return function(e){var o,u=t.jr,c=er(v)[M]-er(s)[M],a=r*e/c*u[E];gr(i,((o={})[E]=n+a,o))}};return vr(v,"pointerdown",(function(t){var a=Ln(t.target,"."+ot)===s,f=a?s:v,l=n.scrollbars,d=t.button,p=t.isPrimary,h=t.pointerType,y=l.pointers;if(0===d&&p&&l[a?"dragScroll":"clickScroll"]&&(y||[]).includes(h)){var b=!a&&t.shiftKey,w=ln(cr,s),g=ln(cr,v),m=function(n,r){return(n||w())[O]-(r||g())[O]},P=u(cr(i)[S])/er(i)[M]||1,j=c(mr(i)[E]||0,1/P),C=t[x],N=w(),k=g(),z=N[S],A=m(N,k)+z/2,R=C-k[O],I=a?0:R-A,L=function(n){Y(D),f.releasePointerCapture(n.pointerId)},D=[En(e,Ar,Dr),vr(o,r,L),vr(o,"selectstart",(function(n){return dr(n)}),{A:!1}),vr(v,r,L),vr(v,"pointermove",(function(n){var r=n[x]-C;(a||b)&&j(I+r)}))];if(f.setPointerCapture(t.pointerId),b)j(I);else if(!a){var H=wt(Nt);H&&_(D,H(j,m,I,z,R))}}}))}(),h,w])}},Yt=function(n){var r=n.Sr;return function(n){var t,e=n.Qr,i=n.ca,o=n.zr,u=(e||{}).Tr,c=i.Cr;r&&(u||o)&&Gn(r,((t={})[rn]=c&&"100%",t))}},Qt=function(n,t){var e=n.mr,i=n.va,o=n.I,u=n.M,c=r({o:an,v:Un()},ln(Un,e,"padding","")),a=c[0],f=c[1];return function(n){var r=n.Dr,e=n.Qr,c=n.ca,l=n.zr,v=f(l),s=v[0],d=v[1],p=zt().j,h=e||{},y=h.gr,b=h.Ar,w=h.Er,g=c.B,m=r("paddingAbsolute"),x=m[0],S=m[1];if(y||d||l||b){var O=a(l);s=O[0],d=O[1]}var M=!u&&(S||w||d);if(M){var E,P,j=!x||!i&&!p,C=s.r+s.l,N=s.t+s.b,k=((E={})[J]=j&&!g?-C:0,E[K]=j?-N:0,E[G]=j&&g?-C:0,E.top=j?-s.t:0,E.right=j?g?-s.r:"auto":0,E.left=j?g?"auto":-s.l:0,E[nn]=j&&"calc(100% + "+C+"px)",E),z=((P={})[Q]=j?s.t:0,P[$]=j?s.r:0,P[W]=j?s.b:0,P[q]=j?s.l:0,P);Gn(i||o,k),Gn(o,z),hn(t,{va:s,fa:!j,Y:i?z:hn({},k,z)})}return{la:M}}},$t=function(n,t){var o=zt(),u=n.mr,c=n.va,a=n.I,f=n.M,l=n.Or,v=n.kr,s=n.oa,d=o.j,p=o.R,h=v&&f,y=ln(i,0),b={o:un,v:{w:0,h:0}},w={o:cn,v:{x:tn,y:tn}},g=function(n,r){var t=e.devicePixelRatio%1!=0?1:0,i={w:y(n.w-r.w),h:y(n.h-r.h)};return{w:i.w>t?i.w:0,h:i.h>t?i.h:0}},m=r(b,ln(ur,a)),x=m[0],S=m[1],O=r(b,ln(or,a)),M=O[0],E=O[1],P=r(b),j=P[0],C=P[1],N=r(b),k=N[0],z=N[1],A=r(w)[0],R=wt(jt);return function(r,e){var v,b=r.Dr,w=r.Qr,m=r.ca,O=r.zr,P=e.la,N=w||{},I=N.gr,L=N.Hr,D=N.Ar,H=N.Tr,T=N.Er,_=N.Pr,B=m.Cr,F=R&&R.V(n,t,m,o,b)||{},V=F.q,X=F.X,Y=F.G,Q=F.W,$=function(n,r){var e;if(Gn(a,((e={})[rn]="",e)),r){var i,o=t.fa,c=t.va,f=n.k,l=ur(u),v=ir(u),s="content-box"===Jn(a,"boxSizing"),d=o||s?c.b+c.t:0,h=!(p.x&&s);Gn(a,((i={})[rn]=v.h+l.h+(f.x&&h&&Q?Q(n).N.x:0)-d,i))}},q=Ot(b,o),W=q[0],G=q[1],J=b("overflow"),K=J[0],nn=J[1],tn=!f&&(I||D||L||G||H),en=I||P||D||T||_||G,on=Mt(K.x),un=Mt(K.y),cn=on||un,an=S(O),fn=E(O),ln=C(O),vn=z(O);if(G&&d&&l(Fr,!W),tn&&$(v=Et(n),B),en){cn&&l(Vr,!1);var sn=X?X(v):[],dn=sn[0],pn=sn[1],yn=an=x(O),bn=yn[0],wn=yn[1],gn=fn=M(O),mn=gn[0],Sn=gn[1],On=ir(a),Mn=mn,En=On;dn&&dn(),(Sn||wn||G)&&pn&&!W&&V&&V(pn,mn,bn);var jn=tr(s),Cn={w:y(i(mn.w,Mn.w)+bn.w),h:y(i(mn.h,Mn.h)+bn.h)},Nn={w:y((h?jn.w:En.w+y(On.w-mn.w))+bn.w),h:y((h?jn.h:En.h+y(On.h-mn.h))+bn.h)};vn=k(Nn),ln=j(g(Cn,Nn),O)}var kn=vn,zn=kn[0],An=kn[1],Rn=ln,In=Rn[0],Ln=Rn[1],Dn=fn,Hn=Dn[0],Tn=Dn[1],_n=an,Bn=_n[0],Fn=_n[1],Vn={x:In.w>0,y:In.h>0},Xn=on&&un&&(Vn.x||Vn.y)||on&&Vn.x&&!Vn.y||un&&Vn.y&&!Vn.x;if(P||T||_||Fn||Tn||An||Ln||nn||G||tn||en){var Yn={},Qn=Pt(n,Vn,K,Yn);Y&&Y(Qn,m,!!V&&V(Qn,Hn,Bn),Yn),tn&&$(Qn,B),f?(xn(u,Rr,Yn[U]),xn(u,Ir,Yn[Z])):Gn(a,Yn)}Pn(u,Ar,Lr,Xn),Pn(c,Xr,Yr,Xn),f||Pn(a,_r,Vr,cn);var $n=A(Et(n).L),qn=$n[0],Wn=$n[1];return hn(t,{L:qn,Fr:{x:zn.w,y:zn.h},jr:{x:In.w,y:In.h},na:Vn}),{ta:Wn,aa:An,ea:Ln}}},qt=function n(r,t,e){var i=zt().er,o=A(r),u=o?r:r.target,c=Ht(u);if(t&&!c){var a=!1,f=[],l={},v=function(n){var r=yn(n,!0),t=wt(mt);return t?t(r,!0):r},s=hn({},i(),v(t)),d=Sr(),p=d[0],h=d[1],y=d[2],b=Sr(e),w=b[0],g=b[1],m=b[2],x=function(n,r){m(n,r),y(n,r)},S=function(n,r,t,e){var i=jr(r,{}),o=function(n){var r,t=function(n){var r=zt(),t=r.rr,e=r.j,i=t().elements,o=i.host,u=i.padding,c=i.viewport,a=i.content,f=A(n),l=f?{}:n,v=l.elements||{},s=v.host,d=v.padding,p=v.viewport,h=v.content,y=f?n:l.target,b=An(y,"textarea"),w=y.ownerDocument,g=w.documentElement,m=y===w.body,x=w.defaultView,S=function(){return w.activeElement},O=function(n){n&&n.focus&&n.focus()},M=ln(Rt,[y]),E=ln(It,[y]),P=ln(At,[y]),j=ln(Fn,""),C=ln(M,j,c),N=ln(E,j,a),k=C(p),z=k===y,R=z&&m,I=!z&&N(h),L=!z&&A(k)&&k===I,D=L&&!!P(a),T=D?C():k,B=D?I:N(),F=R?g:L?T:k,V=b?M(j,o,s):y,X=L?B:I,Q={br:y,mr:R?F:V,I:F,va:!z&&E(j,u,d),Sr:X,Lr:R?g:F,Jr:R?w:F,ia:m?g:y,oa:x,$r:w,wr:b,kr:m,Ir:f,M:z,ua:L,yr:function(n){return function(n,r,t){return On(n,r).T(t)}(F,z?Ar:_r,n)},Or:function(n,r){return Pn(F,z?Ar:_r,n,r)}},$=pn(Q).reduce((function(n,r){var t=Q[r];return _(n,!(!t||!A(t)||In(t))&&t)}),[]),q=function(n){return n?H($,n):null},W=Q.br,G=Q.mr,J=Q.va,K=Q.I,U=Q.Sr,Z=[function(){Sn(G,[Ar,zr]),Sn(W,zr),m&&Sn(g,[zr,Ar])}],nn=b&&q(G),rn=b?W:Rn([U,K,J,G,W].find((function(n){return!1===q(n)}))),tn=R?W:U||K,en=ln(Y,Z);return[Q,function(){var n=S(),r=function(n){_n(In(n),Rn(n)),Hn(n)},t=function(n){return n?vr(n,"focusin focusout focus blur",(function(n){sr(n),n.stopImmediatePropagation()}),{H:!0,A:!1}):fn},i=t(n);if(xn(G,Ar,z?"viewport":"host"),xn(J,Xr,""),xn(U,Qr,""),z||(xn(K,_r,""),m&&En(g,Ar,Tr)),nn&&(Bn(W,G),_(Z,(function(){Bn(G,W),Hn(G)}))),_n(tn,rn),_n(G,J),_n(J||G,!z&&K),_n(K,U),_(Z,[i,function(){var n=S(),e=t(n);Sn(J,Xr),Sn(U,Qr),Sn(K,[Rr,Ir,_r]),q(U)&&r(U),q(K)&&r(K),q(J)&&r(J),O(n),e()}]),e&&!z&&(En(K,_r,Fr),_(Z,ln(Sn,K,_r))),z||x.top!==x||n!==y)O(n);else{var o="tabindex",u=mn(K,o);xn(K,o,"-1"),O(K);var c=function(){return u?xn(K,o,u):Sn(K,o)},a=vr(w,"pointerdown keydown",(function(){c(),a()}));_(Z,[c,a])}return i(),rn=0,en},en]}(n),e=t[0],i=t[1],o=t[2],u={va:{t:0,r:0,b:0,l:0},fa:!1,Y:(r={},r[J]=0,r[K]=0,r[G]=0,r[Q]=0,r[$]=0,r[W]=0,r[q]=0,r),Fr:{x:0,y:0},jr:{x:0,y:0},L:{x:tn,y:tn},na:{x:!1,y:!1}},c=e.br,a=e.I,f=e.M,l=zt(),v=l.j,s=l.R,d=!v&&(s.x||s.y),p=[Yt(e),Qt(e,u),$t(e,u)];return[i,function(n){var r={},t=d&&mr(a),e=f?En(a,Ar,Hr):fn;return D(p,(function(t){hn(r,t(n,r)||{})})),e(),gr(a,t),!f&&gr(c,0),r},u,e,o]}(n),u=o[0],c=o[1],a=o[2],f=o[3],l=o[4],v=Ft(f,a,i,(function(n){m({},n)})),s=v[0],d=v[1],p=v[2],h=function(n,r,t,e,i,o){var u,c,a,f,l,v=fn,s=0,d=vn(),p=d[0],h=d[1],y=vn(),b=y[0],w=y[1],g=vn(100),m=g[0],x=g[1],S=vn(100),O=S[0],M=S[1],E=vn(100),P=E[0],j=E[1],C=vn((function(){return s})),N=C[0],k=C[1],z=Vt(n,i,e,Xt(r,i,e)),A=z[0],R=z[1],I=i.mr,L=i.Jr,D=i.kr,H=A.Wr,T=A.Ur,B=A.Br,F=A.Yr,V=function(n){H(lt,n,!0),H(lt,n,!1)},X=function(n,r){if(k(),n)H(vt);else{var t=ln(H,vt,!0);s>0&&!r?N(t):t()}},Q=function(n){return"mouse"===n.pointerType},$=function(n){Q(n)&&(f=c)&&X(!0)},q=[x,k,M,j,w,h,function(){return v()},vr(I,"pointerover",$,{P:!0}),vr(I,"pointerenter",$),vr(I,"pointerleave",(function(n){Q(n)&&(f=!1,c&&X(!1))})),vr(I,"pointermove",(function(n){Q(n)&&u&&p((function(){x(),X(!0),O((function(){u&&X(!1)}))}))})),vr(L,"scroll",(function(n){b((function(){B(),a&&X(!0),m((function(){a&&!f&&X(!1)}))})),o(n),F()}))];return[function(){return ln(Y,_(q,R()))},function(n){var r=n.Dr,i=n.zr,o=n.Qr,f=n.ra||{},d=f.aa,p=f.ea,h=f.ta,y=o||{},b=y.Er,w=y._r,g=t.B,m=zt().R,x=e.L,S=e.na,O=r("showNativeOverlaidScrollbars"),M=O[0],E=O[1],j=r("scrollbars.theme"),C=j[0],N=j[1],k=r("scrollbars.visibility"),z=k[0],A=k[1],R=r("scrollbars.autoHide"),I=R[0],_=R[1],Y=r("scrollbars.autoHideSuspend"),Q=Y[0],$=Y[1],q=r("scrollbars.autoHideDelay")[0],W=r("scrollbars.dragScroll"),G=W[0],J=W[1],K=r("scrollbars.clickScroll"),U=K[0],Z=K[1],nn=r("overflow"),rn=nn[0],tn=nn[1],en=w&&!i,on=S.x||S.y,un=d||p||b||i,cn=h||A||tn,an=M&&m.x&&m.y,fn=function(n,r,t){var e=n.includes("scroll")&&("visible"===z||"auto"===z&&"scroll"===r);return H(ut,e,t),e};if(s=q,en&&(Q&&on?(V(!1),v(),P((function(){v=vr(L,"scroll",ln(V,!0),{P:!0})}))):V(!0)),E&&H(Zr,an),N&&(H(l),H(C,!0),l=C),$&&!Q&&V(!0),_&&(u="move"===I,c="leave"===I,X(!(a="never"!==I),!0)),J&&H(pt,G),Z&&H(dt,U),cn){var vn=fn(rn.x,x.x,!0),sn=fn(rn.y,x.y,!1);H(ct,!(vn&&sn))}un&&(T(),B(),F(),H(ft,!S.x,!0),H(ft,!S.y,!1),H(rt,g&&!D))},{},A]}(n,r,p,a,f,e),y=h[0],b=h[1],w=h[3],g=function(n){return pn(n).some((function(r){return!!n[r]}))},m=function(n,e){var i=n.sa,o=n.zr,u=n.Rr,a=n.da,f=i||{},l=!!o,v={Dr:jr(r,f,l),sa:f,zr:l};if(a)return b(v),!1;var s=e||d(hn({},v,{Rr:u})),h=c(hn({},v,{ca:p,Qr:s}));b(hn({},v,{Qr:s,ra:h}));var y=g(s),w=g(h),m=y||w||!bn(f)||l;return m&&t(n,{Qr:s,ra:h}),m};return[function(){var n=f.ia,r=f.I,t=mr(n),e=[s(),u(),y()];return gr(r,t),ln(Y,e)},m,function(){return{pa:p,_a:a}},{ha:f,ga:w},l]}(r,s,(function(n,r){var t=n.sa,e=n.zr,i=r.Qr,o=r.ra,u=i.gr,c=i.Er,a=i.Tr,f=i.Ar,l=i.Hr,v=i._r,s=o.aa,d=o.ea,p=o.ta;x("updated",[N,{updateHints:{sizeChanged:!!u,directionChanged:!!c,heightIntrinsicChanged:!!a,overflowEdgeChanged:!!s,overflowAmountChanged:!!d,overflowStyleChanged:!!p,contentMutation:!!f,hostMutation:!!l,appear:!!v},changedOptions:t||{},force:!!e}])}),(function(n){return x("scroll",[N,n])})),O=S[0],M=S[1],E=S[2],P=S[3],j=S[4],C=function(n){!function(n){Dt.delete(n)}(u),Y(f),a=!0,x("destroyed",[N,n]),h(),g()},N={options:function(n,r){if(n){var t=r?i():{},e=Pr(s,hn(t,v(n)));bn(e)||(hn(s,e),M({sa:e}))}return hn({},s)},on:w,off:function(n,r){n&&r&&g(n,r)},state:function(){var n=E(),r=n.pa,t=n._a,e=r.B,i=t.Fr,o=t.jr,u=t.L,c=t.na,f=t.va,l=t.fa;return hn({},{overflowEdge:i,overflowAmount:o,overflowStyle:u,hasOverflow:c,padding:f,paddingAbsolute:l,directionRTL:e,destroyed:a})},elements:function(){var n=P.ha,r=n.br,t=n.mr,e=n.va,i=n.I,o=n.Sr,u=n.Lr,c=n.Jr,a=P.ga,f=a.qr,l=a.Zr,v=function(n){var r=n.Mr,t=n.Vr;return{scrollbar:n.Nr,track:t,handle:r}},s=function(n){var r=n.Xr,t=n.Gr,e=v(r[0]);return hn({},e,{clone:function(){var n=v(t());return M({da:!0}),n}})};return hn({},{target:r,host:t,padding:e||i,viewport:i,content:o||i,scrollOffsetElement:u,scrollEventElement:c,scrollbarHorizontal:s(f),scrollbarVertical:s(l)})},update:function(n){return M({zr:n,Rr:!0})},destroy:ln(C,!1),plugin:function(n){return l[pn(n)[0]]}};return _(f,[j]),function(n,r){Dt.set(n,r)}(u,N),bt(ht,n,[N,p,l]),Lt(P.ha.kr,!o&&r.cancel)?(C(!0),N):(_(f,O()),x("initialized",[N]),N.update(!0),N)}return c};return qt.plugin=function(n){var r=C(n),t=r?n:[n],e=t.map((function(n){return bt(n,qt)[0]}));return function(n){D(n,(function(n){return D(n,(function(r,t){ht[t]=n[t]}))}))}(t),r?e:e[0]},qt.valid=function(n){var r=n&&n.elements,t=j(r)&&r();return z(t)&&!!Ht(t.target)},qt.env=function(){var n=zt(),r=n.F,t=n.R,e=n.j,i=n.$,o=n.Z,u=n.nr,c=n.vr,a=n.rr,f=n.ar,l=n.er,v=n.tr;return hn({},{scrollbarsSize:r,scrollbarsOverlaid:t,scrollbarsHiding:e,rtlScrollBehavior:i,scrollTimeline:o,staticDefaultInitialization:u,staticDefaultOptions:c,getDefaultInitialization:a,setDefaultInitialization:f,getDefaultOptions:l,setDefaultOptions:v})},n.ClickScrollPlugin=kt,n.OverlayScrollbars=qt,n.ScrollbarsHidingPlugin=Ct,n.SizeObserverPlugin=St,n}({});
/*!
* OverlayScrollbars
* Version: 2.5.0
* Version: 2.6.0
*

@@ -10,2 +10,2 @@ * Copyright (c) Rene Haas | KingSora.

*/
var OverlayScrollbarsGlobal=function(t){"use strict";const e=(t,e)=>{const{o:n,u:r,_:o}=t;let s,c=n;const l=(t,e)=>{const n=c,l=t,i=e||(r?!r(n,l):n!==l);return(i||o)&&(c=l,s=n),[c,i,s]};return[e?t=>l(e(c,s),t):l,t=>[c,!!t,s]]},n="undefined"!=typeof window,r=n?window:{},o=Math.max,s=Math.min,c=Math.round,l=Math.abs,i=r.cancelAnimationFrame,a=r.requestAnimationFrame,u=r.setTimeout,d=r.clearTimeout,p=t=>void 0!==r[t]?r[t]:void 0,f=p("MutationObserver"),h=p("IntersectionObserver"),y=p("ResizeObserver"),v=p("ScrollTimeline"),b=n&&Node.ELEMENT_NODE,{toString:w,hasOwnProperty:g}=Object.prototype,m=/^\[object (.+)\]$/,x=t=>void 0===t,$=t=>null===t,S=t=>"number"==typeof t,O=t=>"string"==typeof t,T=t=>"boolean"==typeof t,L=t=>"function"==typeof t,P=t=>Array.isArray(t),E=t=>"object"==typeof t&&!P(t)&&!$(t),C=t=>{const e=!!t&&t.length,n=S(e)&&e>-1&&e%1==0;return!(!(P(t)||!L(t)&&n)||e>0&&E(t)&&!(e-1 in t))},D=t=>{if(!t||!E(t)||"object"!==(t=>x(t)||$(t)?`${t}`:w.call(t).replace(m,"$1").toLowerCase())(t))return!1;let e;const n="constructor",r=t[n],o=r&&r.prototype,s=g.call(t,n),c=o&&g.call(o,"isPrototypeOf");if(r&&!s&&!c)return!1;for(e in t);return x(e)||g.call(t,e)},k=t=>{const e=HTMLElement;return!!t&&(e?t instanceof e:t.nodeType===b)},M=t=>{const e=Element;return!!t&&(e?t instanceof e:t.nodeType===b)},H=()=>performance.now(),A=(t,e,n,r,s)=>{let c=0;const l=H(),u=o(0,n),d=n=>{const i=H(),p=i-l>=u,f=n?1:1-(o(0,l+u-i)/u||0),h=(e-t)*(L(s)?s(f,f*u,0,1,u):f)+t,y=p||1===f;r&&r(h,f,y),c=y?0:a((()=>d()))};return d(),t=>{i(c),t&&d(t)}};function N(t,e){if(C(t))for(let n=0;n<t.length&&!1!==e(t[n],n,t);n++);else t&&N(Object.keys(t),(n=>e(t[n],n,t)));return t}const R=(t,e)=>t.indexOf(e)>=0,V=(t,e)=>t.concat(e),I=(t,e,n)=>(n||O(e)||!C(e)?t.push(e):Array.prototype.push.apply(t,e),t),z=t=>Array.from(t||[]),j=t=>P(t)?t:[t],_=t=>!!t&&!t.length,U=t=>z(new Set(t)),B=(t,e,n)=>{N(t,(t=>t&&t.apply(void 0,e||[]))),!n&&(t.length=0)},F="paddingTop",Z="paddingRight",X="paddingLeft",W="paddingBottom",Y="marginLeft",q="marginRight",G="marginBottom",J="overflowX",K="overflowY",Q="width",tt="height",et="hidden",nt="visible",rt=(t,e,n,r)=>{if(t&&e){let o=!0;return N(n,(n=>{(r?r(t[n]):t[n])!==(r?r(e[n]):e[n])&&(o=!1)})),o}return!1},ot=(t,e)=>rt(t,e,["w","h"]),st=(t,e)=>rt(t,e,["x","y"]),ct=(t,e)=>rt(t,e,["t","r","b","l"]),lt=()=>{},it=(t,...e)=>t.bind(0,...e),at=t=>{let e;const n=t?u:a,r=t?d:i;return[o=>{r(e),e=n(o,L(t)?t():t)},()=>r(e)]},ut=(t,e)=>{let n,r,o,s=lt;const{v:c,p:l,S:p}=e||{},f=function(e){s(),d(n),n=r=void 0,s=lt,t.apply(this,e)},h=t=>p&&r?p(r,t):t,y=()=>{s!==lt&&f(h(o)||o)},v=function(){const t=z(arguments),e=L(c)?c():c;if(S(e)&&e>=0){const c=L(l)?l():l,p=S(c)&&c>=0,v=e>0?u:a,b=e>0?d:i,w=h(t)||t,g=f.bind(0,w);s();const m=v(g,e);s=()=>b(m),p&&!n&&(n=u(y,c)),r=o=w}else f(t)};return v.m=y,v},dt=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),pt=t=>t?Object.keys(t):[],ft=(t,e,n,r,o,s,c)=>{const l=[e,n,r,o,s,c];return"object"==typeof t&&!$(t)||L(t)||(t={}),N(l,(e=>{N(e,((n,r)=>{const o=e[r];if(t===o)return!0;const s=P(o);if(o&&D(o)){const e=t[r];let n=e;s&&!P(e)?n=[]:s||D(e)||(n={}),t[r]=ft(n,o)}else t[r]=s?o.slice():o}))})),t},ht=(t,e)=>N(ft({},t),((t,n,r)=>{void 0===t?delete r[n]:e&&t&&D(t)&&(r[n]=ht(t,e))})),yt=t=>{for(const e in t)return!1;return!0},vt=(t,e,n)=>o(t,s(e,n)),bt=t=>z(new Set((P(t)?t:(t||"").split(" ")).filter((t=>t)))),wt=(t,e)=>t&&t.getAttribute(e),gt=(t,e,n)=>{N(bt(e),(e=>{t&&t.setAttribute(e,n||"")}))},mt=(t,e)=>{N(bt(e),(e=>t&&t.removeAttribute(e)))},xt=(t,e)=>{const n=bt(wt(t,e)),r=it(gt,t,e),o=(t,e)=>{const r=new Set(n);return N(bt(t),(t=>r[e](t))),z(r).join(" ")};return{O:t=>r(o(t,"delete")),$:t=>r(o(t,"add")),C:t=>{const e=bt(t);return e.reduce(((t,e)=>t&&n.includes(e)),e.length>0)}}},$t=(t,e,n)=>{xt(t,e).O(n)},St=(t,e,n)=>(xt(t,e).$(n),it($t,t,e,n)),Ot=(t,e,n,r)=>{(r?St:$t)(t,e,n)},Tt=t=>xt(t,"class"),Lt=(t,e)=>{Tt(t).O(e)},Pt=(t,e)=>(Tt(t).$(e),it(Lt,t,e)),Et=n&&Element.prototype,Ct=(t,e)=>{const n=[],r=e?M(e)&&e:document;return r?I(n,r.querySelectorAll(t)):n},Dt=(t,e)=>!!M(t)&&(Et.matches||Et.msMatchesSelector).call(t,e),kt=t=>t?z(t.childNodes):[],Mt=t=>t&&t.parentElement,Ht=(t,e)=>M(t)&&t.closest(e),At=t=>{if(C(t))N(z(t),(t=>At(t)));else if(t){const e=Mt(t);e&&e.removeChild(t)}},Nt=(t,e,n)=>{if(n&&t){let r,o=e;return C(n)?(r=document.createDocumentFragment(),N(n,(t=>{t===o&&(o=t.previousSibling),r.appendChild(t)}))):r=n,e&&(o?o!==e&&(o=o.nextSibling):o=t.firstChild),t.insertBefore(r,o||null),()=>At(n)}return lt},Rt=(t,e)=>Nt(t,null,e),Vt=(t,e)=>Nt(Mt(t),t&&t.nextSibling,e),It=t=>{const e=document.createElement("div");return gt(e,"class",t),e},zt=t=>{const e=It();return e.innerHTML=t.trim(),N(kt(e),(t=>At(t)))},jt=/^--/,_t=(t,e)=>t.getPropertyValue(e)||t[e]||"",Ut=t=>{const e=t||0;return isFinite(e)?e:0},Bt=t=>Ut(parseFloat(t||"")),Ft=t=>`${(100*Ut(t)).toFixed(3)}%`,Zt=t=>`${Ut(t)}px`;function Xt(t,e){t&&N(e,((e,n)=>{try{const r=t.style,o=S(e)?Zt(e):(e||"")+"";jt.test(n)?r.setProperty(n,o):r[n]=o}catch(o){}}))}function Wt(t,e,n){const o=O(e);let s=o?"":{};if(t){const c=r.getComputedStyle(t,n)||t.style;s=o?_t(c,e):e.reduce(((t,e)=>(t[e]=_t(c,e),t)),s)}return s}const Yt=t=>"rtl"===Wt(t,"direction"),qt=(t,e,n)=>{const r=e?`${e}-`:"",o=n?`-${n}`:"",s=`${r}top${o}`,c=`${r}right${o}`,l=`${r}bottom${o}`,i=`${r}left${o}`,a=Wt(t,[s,c,l,i]);return{t:Bt(a[s]),r:Bt(a[c]),b:Bt(a[l]),l:Bt(a[i])}},Gt=(t,e)=>`translate${E(t)?`(${t.x},${t.y})`:`${e?"X":"Y"}(${t})`}`,Jt={w:0,h:0},Kt=(t,e)=>e?{w:e[`${t}Width`],h:e[`${t}Height`]}:Jt,Qt=t=>Kt("inner",t||r),te=it(Kt,"offset"),ee=it(Kt,"client"),ne=it(Kt,"scroll"),re=t=>{const e=parseFloat(Wt(t,Q))||0,n=parseFloat(Wt(t,tt))||0;return{w:e-c(e),h:n-c(n)}},oe=t=>t.getBoundingClientRect(),se=t=>!(!t||!t[tt]&&!t[Q]),ce=(t,e)=>{const n=se(t);return!se(e)&&n},le=(t,e,n,r)=>{N(bt(e),(e=>{t.removeEventListener(e,n,r)}))},ie=(t,e,n,r)=>{var o;const s=null==(o=r&&r.H)||o,c=r&&r.I||!1,l=r&&r.A||!1,i={passive:s,capture:c};return it(B,bt(e).map((e=>{const r=l?o=>{le(t,e,r,c),n(o)}:n;return t.addEventListener(e,r,i),it(le,t,e,r,c)})))},ae=t=>t.stopPropagation(),ue=t=>t.preventDefault(),de={x:0,y:0},pe=t=>{const e=t&&oe(t);return e?{x:e.left+r.scrollX,y:e.top+r.scrollY}:de},fe=(t,e,n)=>n?n.n?-t+0:n.i?e-t:t:t,he=(t,e)=>[fe(0,t,e),fe(t,t,e)],ye=(t,e,n)=>vt(0,1,fe(t,e,n)/e||0),ve=(t,e)=>{const{x:n,y:r}=S(e)?{x:e,y:e}:e||{};S(n)&&(t.scrollLeft=n),S(r)&&(t.scrollTop=r)},be=t=>({x:t.scrollLeft,y:t.scrollTop}),we=(t,e)=>{N(j(e),t)},ge=t=>{const e=new Map,n=(t,n)=>{if(t){const r=e.get(t);we((t=>{r&&r[t?"delete":"clear"](t)}),n)}else e.forEach((t=>{t.clear()})),e.clear()},r=(t,o)=>{if(O(t)){const r=e.get(t)||new Set;return e.set(t,r),we((t=>{L(t)&&r.add(t)}),o),it(n,t,o)}T(o)&&o&&n();const s=pt(t),c=[];return N(s,(e=>{const n=t[e];n&&I(c,r(e,n))})),it(B,c)};return r(t||{}),[r,n,(t,n)=>{N(z(e.get(t)),(t=>{n&&!_(n)?t.apply(0,n):t()}))}]},me=t=>JSON.stringify(t,((t,e)=>{if(L(e))throw 0;return e})),xe=(t,e)=>t?`${e}`.split(".").reduce(((t,e)=>t&&dt(t,e)?t[e]:void 0),t):void 0,$e={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation: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"]}},Se=(t,e)=>{const n={};return N(V(pt(e),pt(t)),(r=>{const o=t[r],s=e[r];if(E(o)&&E(s))ft(n[r]={},Se(o,s)),yt(n[r])&&delete n[r];else if(dt(e,r)&&s!==o){let t=!0;if(P(o)||P(s))try{me(o)===me(s)&&(t=!1)}catch(l){}t&&(n[r]=s)}})),n},Oe=(t,e,n)=>r=>[xe(t,r),n||void 0!==xe(e,r)],Te=`data-overlayscrollbars`,Le="os-environment",Pe=`${Le}-scrollbar-hidden`,Ee=`${Te}-initialize`,Ce=Te,De=`${Ce}-overflow-x`,ke=`${Ce}-overflow-y`,Me="overflowVisible",He="scrollbarPressed",Ae="updating",Ne="body",Re=`${Te}-viewport`,Ve="arrange",Ie="scrollbarHidden",ze=Me,je=`${Te}-padding`,_e=ze,Ue=`${Te}-content`,Be="os-size-observer",Fe=`${Be}-appear`,Ze=`${Be}-listener`,Xe=`${Ze}-scroll`,We=`${Ze}-item`,Ye=`${We}-final`,qe="os-trinsic-observer",Ge="os-theme-none",Je="os-scrollbar",Ke=`${Je}-rtl`,Qe=`${Je}-horizontal`,tn=`${Je}-vertical`,en=`${Je}-track`,nn=`${Je}-handle`,rn=`${Je}-visible`,on=`${Je}-cornerless`,sn=`${Je}-transitionless`,cn=`${Je}-interaction`,ln=`${Je}-unusable`,an=`${Je}-auto-hide`,un=`${an}-hidden`,dn=`${Je}-wheel`,pn=`${en}-interactive`,fn=`${nn}-interactive`,hn={},yn={},vn=(t,e,n)=>pt(t).map((r=>{const{static:o,instance:s}=t[r],[c,l,i]=n||[],a=n?s:o;if(a){const t=n?a(c,l,e):a(e);return(i||yn)[r]=t}})),bn=t=>yn[t],wn="__osOptionsValidationPlugin",gn="__osSizeObserverPlugin",mn=(()=>({[gn]:{static:()=>(t,e,n)=>{const r=3333333,o="scroll",s=zt(`<div class="${We}" dir="ltr"><div class="${We}"><div class="${Ye}"></div></div><div class="${We}"><div class="${Ye}" style="width: 200%; height: 200%"></div></div></div>`),c=s[0],l=c.lastChild,u=c.firstChild,d=null==u?void 0:u.firstChild;let p,f=te(c),h=f,y=!1;const v=()=>{ve(u,r),ve(l,r)},b=t=>{p=0,y&&(f=h,e(!0===t))},w=t=>{h=te(c),y=!t||!ot(h,f),t?(ae(t),y&&!p&&(i(p),p=a(b))):b(!1===t),v()},g=[Rt(t,s),ie(u,o,w),ie(l,o,w)];return Pt(t,Xe),Xt(d,{[Q]:r,[tt]:r}),a(v),[n?it(w,!1):v,g]}}}))(),xn=(t,e)=>{const{T:n}=e,[r,o]=t("showNativeOverlaidScrollbars");return[r&&n.x&&n.y,o]},$n=t=>0===t.indexOf(nt),Sn=(t,e)=>{const{D:n}=t,r=t=>{const r=Wt(n,t);return[r,"scroll"===(e?e[t]:r)]},[o,s]=r(J),[c,l]=r(K);return{k:{x:o,y:c},R:{x:s,y:l}}},On=(t,e,n,r)=>{const o=e.x||e.y,s=(t,e)=>{const n=$n(t),r=n&&o?"hidden":"",s=e&&n&&t.replace(`${nt}-`,"")||r;return[e&&!n?t:"",$n(s)?"hidden":s]},[c,l]=s(n.x,e.x),[i,a]=s(n.y,e.y);return r[J]=l&&i?l:c,r[K]=a&&c?a:i,Sn(t,r)},Tn="__osScrollbarsHidingPlugin",Ln=(()=>({[Tn]:{static:()=>({M:(t,e,n,r,o)=>{const{V:s,D:c}=t,{L:l,T:i,P:a}=r,u=!s&&!l&&(i.x||i.y),[d]=xn(o,r),p=t=>{const{R:e}=t,n=l||d?0:42,r=(t,e,r)=>[e&&!l?t?n:r:0,t&&!!n],[o,s]=r(i.x,e.x,a.x),[c,u]=r(i.y,e.y,a.y);return{U:{x:o,y:c},B:{x:s,y:u}}},f=(t,{N:n},r,o)=>{if(ft(o,{[q]:0,[G]:0,[Y]:0}),!s){const{U:s,B:c}=p(t),{x:l,y:i}=c,{x:a,y:u}=s,{j:d}=e,f=n?Y:q,h=n?X:Z,y=d[f],v=d[G],b=d[h],w=d[W];o[Q]=`calc(100% + ${u+-1*y}px)`,o[f]=-u+y,o[G]=-a+v,r&&(o[h]=b+(i?u:0),o[W]=w+(l?a:0))}};return{F:p,q:(t,r,o)=>{if(u){const{j:s}=e,{U:l,B:i}=p(t),{x:a,y:u}=i,{x:d,y:f}=l,{N:h}=n,y=s[h?Z:X],v=s.paddingTop,b=r.w+o.w,w=r.h+o.h,g={w:f&&u?`${f+b-y}px`:"",h:d&&a?`${d+w-v}px`:""};Xt(c,{"--os-vaw":g.w,"--os-vah":g.h})}return u},W:r=>{if(u){const o=r||Sn(t),{j:s}=e,{B:l}=p(o),{x:i,y:a}=l,d={},h=t=>N(t,(t=>{d[t]=s[t]}));i&&h([G,F,W]),a&&h([Y,q,X,Z]);const y=Wt(c,pt(d));return $t(c,Re,Ve),Xt(c,d),[()=>{f(o,n,u,y),Xt(c,y),St(c,Re,Ve)},o]}return[lt]},X:f}},Y:()=>{let t={w:0,h:0},e=0;const n=()=>{const t=r.screen,e=t.deviceXDPI||0,n=t.logicalXDPI||1;return r.devicePixelRatio||e/n};return(r,o)=>{const s=Qt(),i={w:s.w-t.w,h:s.h-t.h};if(0===i.w&&0===i.h)return;const a=l(i.w),u=l(i.h),d={w:l(c(s.w/(t.w/100))),h:l(c(s.h/(t.h/100)))},p=n(),f=a>2&&u>2,h=!((t,e)=>{const n=l(t),r=l(e);return!(n===r||n+1===r||n-1===r)})(d.w,d.h);let y,v;return f&&h&&p!==e&&p>0&&([v,y]=o(),ft(r.P,v)),t=s,e=p,y}}})}}))(),Pn="__osClickScrollPlugin",En=(()=>({[Pn]:{static:()=>(t,e,n,r,o)=>{let s=0,c=lt;const l=i=>{c=A(i,i+r*Math.sign(n),133,((n,i,a)=>{t(n);const d=e();if(a&&!(o>=d&&o<=d+r)){if(s)l(n);else{const t=u((()=>{l(n)}),222);c=()=>{clearTimeout(t)}}s++}}))};return l(0),()=>c()}}}))();let Cn;const Dn=()=>(Cn||(Cn=(()=>{const t=(t,e,n,r)=>{Rt(t,e);const o=ee(e),s=te(e),c=re(n);return r&&At(e),{x:s.h-o.h+c.h,y:s.w-o.w+c.w}},{body:n}=document,o=zt(`<div class="${Le}"><div></div></div>`)[0],s=o.firstChild,[c,,l]=ge(),[i,a]=e({o:t(n,o,s),u:st},it(t,n,o,s,!0)),[u]=a(),d=(t=>{let e=!1;const n=Pt(t,Pe);try{e="none"===Wt(t,"scrollbar-width")||"none"===Wt(t,"display","::-webkit-scrollbar")}catch(o){}return n(),e})(o),p={x:0===u.x,y:0===u.y},f={elements:{host:null,padding:!d,viewport:t=>d&&t===t.ownerDocument.body&&t,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},h=ft({},$e),y=it(ft,{},h),b=it(ft,{},f),w={P:u,T:p,L:d,G:!!v,J:((t,e)=>{Xt(t,{[J]:et,[K]:et,direction:"rtl"}),ve(t,{x:0});const n=pe(t),r=pe(e);ve(t,{x:-999});const o=pe(e);return{i:n.x===r.x,n:r.x!==o.x}})(o,s),K:it(c,"r"),Z:b,tt:t=>ft(f,t)&&b(),nt:y,ot:t=>ft(h,t)&&y(),st:ft({},f),et:ft({},h)};return mt(o,"style"),At(o),r.addEventListener("resize",(()=>{let t;if(!(d||p.x&&p.y)){const e=bn(Tn);t=!!(e?e.Y():lt)(w,i)}l("r",[t])})),w})()),Cn),kn=(t,e)=>L(e)?e.apply(0,t):e,Mn=(t,e,n,r)=>{const o=x(r)?n:r;return kn(t,o)||e.apply(0,t)},Hn=(t,e,n,r)=>{const o=x(r)?n:r,s=kn(t,o);return!!s&&(k(s)?s:e.apply(0,t))},An=new WeakMap,Nn=t=>An.get(t),Rn=(t,e,n,r)=>{let o=!1;const{ct:s,rt:c,lt:l,it:i,ut:a,ft:u}=r||{},d=ut((()=>o&&n(!0)),{v:33,p:99}),[p,h]=((t,e,n)=>{let r=!1;const o=!!n&&new WeakMap,s=s=>{if(o&&n){const c=n.map((e=>{const[n,r]=e||[];return[r&&n?(s||Ct)(n,t):[],r]}));N(c,(n=>N(n[0],(s=>{const c=n[1],l=o.get(s)||[];if(t.contains(s)&&c){const t=ie(s,c,(n=>{r?(t(),o.delete(s)):e(n)}));o.set(s,I(l,t))}else B(l),o.delete(s)}))))}};return s(),[()=>{r=!0},s]})(t,d,l),y=c||[],v=V(s||[],y),b=(o,s)=>{if(!_(s)){const c=a||lt,l=u||lt,d=[],p=[];let f=!1,v=!1;if(N(s,(n=>{const{attributeName:o,target:s,type:a,oldValue:u,addedNodes:h,removedNodes:b}=n,w="attributes"===a,g="childList"===a,m=t===s,x=w&&o,$=x&&wt(s,o||"")||null,S=x&&u!==$,O=R(y,o)&&S;if(e&&(g||!m)){const e=w&&S,a=e&&i&&Dt(s,i),p=(a?!c(s,o,u,$):!w||e)&&!l(n,!!a,t,r);N(h,(t=>I(d,t))),N(b,(t=>I(d,t))),v=v||p}!e&&m&&S&&!c(s,o,u,$)&&(I(p,o),f=f||O)})),h((t=>U(d).reduce(((e,n)=>(I(e,Ct(t,n)),Dt(n,t)?I(e,n):e)),[]))),e)return!o&&v&&n(!1),[!1];if(!_(p)||f){const t=[U(p),f];return!o&&n.apply(0,t),t}}},w=new f(it(b,!1));return[()=>(w.observe(t,{attributes:!0,attributeOldValue:!0,attributeFilter:v,subtree:e,childList:e,characterData:e}),o=!0,()=>{o&&(p(),w.disconnect(),o=!1)}),()=>{if(o)return d.m(),b(!0,w.takeRecords())}]},Vn=(t,n,r)=>{const o=3333333,{_t:s,dt:c}=r||{},l=bn(gn),{J:i}=Dn(),a=it(Yt,t),[u]=e({o:!1,_:!0});return()=>{const r=[],d=zt(`<div class="${Be}"><div class="${Ze}"></div></div>`)[0],p=d.firstChild,f=t=>{const e=t instanceof ResizeObserverEntry,r=!e&&P(t);let c=!1,l=!1,a=!0;if(e){const[e,,n]=u(t.contentRect),r=se(e),o=ce(e,n);l=!n||o,c=!l&&!r,a=!c}else r?[,a]=t:l=!0===t;if(s&&a){const e=r?t[0]:Yt(d);ve(d,{x:fe(o,o,e&&i),y:o})}c||n({vt:r?t:void 0,ht:!r,dt:l})};if(y){const t=new y((t=>f(t.pop())));t.observe(p),I(r,(()=>{t.disconnect()}))}else{if(!l)return lt;{const[t,e]=l(p,f,c);I(r,V([Pt(d,Fe),ie(d,"animationstart",t)],e))}}if(s){const[t]=e({o:void 0},a);I(r,ie(d,"scroll",(e=>{const n=t(),[r,o,s]=n;o&&(Lt(p,"ltr rtl"),Pt(p,r?"rtl":"ltr"),f([!!r,o,s])),ae(e)})))}return it(B,I(r,Rt(t,d)))}},In=(t,n)=>{let r;const o=It(qe),[s]=e({o:!1}),c=(t,e)=>{if(t){const r=s((t=>0===t.h||t.isIntersecting||t.intersectionRatio>0)(t)),[,o]=r;return o&&!e&&n(r)&&[r]}},l=(t,e)=>c(e.pop(),t);return[()=>{const e=[];if(h)r=new h(it(l,!1),{root:t}),r.observe(o),I(e,(()=>{r.disconnect()}));else{const t=()=>{const t=te(o);c(t)};I(e,Vn(o,t)()),t()}return it(B,I(e,Rt(t,o)))},()=>r&&l(!0,r.takeRecords())]},zn=(t,n,r,o)=>{let s,c,l,i,a,u;const{L:d}=Dn(),p=`[${Ce}]`,f=`[${Re}]`,h=["tabindex"],v=["wrap","cols","rows"],b=["id","class","style","open"],{gt:w,bt:g,D:m,wt:x,St:$,V:T,yt:E,Ot:C}=t,D={$t:!1,N:Yt(w)},k=Dn(),H=bn(Tn),[A]=e({u:ot,o:{w:0,h:0}},(()=>{const e=H&&H.M(t,n,D,k,r).W,o=E(ze),s=!T&&E(Ve),c=s&&be(m);C(ze),T&&C(Ae,!0);const l=s&&e&&e()[0],i=ne(x),a=ne(m),u=re(m);return C(ze,o),T&&C(Ae),l&&l(),ve(m,c),{w:a.w+i.w+u.w,h:a.h+i.h+u.h}})),I=$?v:V(b,v),z=ut(o,{v:()=>s,p:()=>c,S(t,e){const[n]=t,[r]=e;return[V(pt(n),pt(r)).reduce(((t,e)=>(t[e]=n[e]||r[e],t)),{})]}}),j=t=>{if(T){const e=Yt(w);ft(t,{Ct:u!==e}),ft(D,{N:e}),u=e}},_=t=>{N(t||h,(t=>{if(R(h,t)){const e=wt(g,t);O(e)?gt(m,t,e):mt(m,t)}}))},U=(t,e)=>{const[n,r]=t,s={xt:r};return ft(D,{$t:n}),!e&&o(s),s},B=({ht:t,vt:e,dt:n})=>{const r=(!t||n||e)&&d?z:o,[s,c]=e||[],l={ht:t||n,dt:n,Ct:c};j(l),e&&ft(D,{N:s}),r(l)},F=(t,e)=>{const[,n]=A(),r={Ht:n};return j(r),n&&!e&&(t?o:z)(r),r},Z=(t,e,n)=>{const r={It:e};return j(r),e&&!n?z(r):T||_(t),r},{K:X}=k,[W,Y]=x?In(g,U):[],q=!T&&Vn(g,B,{dt:!0,_t:!0}),[G,J]=Rn(g,!1,Z,{rt:b,ct:V(b,h)}),K=T&&y&&new y((t=>{const e=t[t.length-1].contentRect;B({ht:!0,dt:ce(e,a)}),a=e}));return[()=>{_(),K&&K.observe(g);const t=q&&q(),e=W&&W(),n=G(),r=X((t=>{const[,e]=A();z({zt:t,Ht:e})}));return()=>{K&&K.disconnect(),t&&t(),e&&e(),i&&i(),n(),r()}},({Et:t,At:e,Tt:n})=>{const r={},[o]=t("update.ignoreMutation"),[a,u]=t("update.attributes"),[d,h]=t("update.elementEvents"),[y,v]=t("update.debounce"),b=e||n;if(h||u){l&&l(),i&&i();const[t,e]=Rn(x||m,!0,F,{ct:V(I,a||[]),lt:d,it:p,ft:(t,e)=>{const{target:n,attributeName:r}=t;return!(e||!r||T)&&((t,e,n)=>{const r=Ht(t,e),o=t&&((t,e)=>{const n=e?M(e)&&e:document;return n?n.querySelector(t):null})(n,r),s=Ht(o,e)===r;return!(!r||!o)&&(r===t||o===t||s&&Ht(Ht(t,n),e)!==r)})(n,p,f)||!!Ht(n,`.${Je}`)||!!(t=>L(o)&&o(t))(t)}});i=t(),l=e}if(v)if(z.m(),P(y)){const t=y[0],e=y[1];s=S(t)&&t,c=S(e)&&e}else S(y)?(s=y,c=!1):(s=!1,c=!1);if(b){const t=J(),e=Y&&Y(),n=l&&l();t&&ft(r,Z(t[0],t[1],b)),e&&ft(r,U(e[0],b)),n&&ft(r,F(n[0],b))}return j(r),r},D]},jn=(t,e,n,r)=>{const{Z:o,J:s}=Dn(),{scrollbars:c}=o(),{slot:l}=c,{gt:i,bt:a,D:d,Dt:p,kt:f,Rt:h,V:y}=e,{scrollbars:b}=p?{}:t,{slot:w}=b||{},g=new Map,m=t=>v&&new v({source:f,axis:t}),x=m("x"),$=m("y"),S=Hn([i,a,d],(()=>y&&h?i:a),l,w),O=(t,e)=>{if(e){const n=t?Q:tt,{Mt:r,Vt:o}=e,s=oe(o)[n],c=oe(r)[n];return vt(0,1,s/c||0)}const r=t?"x":"y",{Lt:o,Pt:s}=n,c=s[r],l=o[r];return vt(0,1,c/(c+l)||0)},L=(t,e)=>ft(t,e?{clear:["left"]}:{}),P=t=>{g.forEach(((e,n)=>{(!t||R(j(t),n))&&(N(e||[],(t=>{t&&t.cancel()})),g.delete(n))}))},E=(t,e,n,r)=>{const o=g.get(t)||[],s=o.find((t=>t&&t.timeline===e));s?s.effect=new KeyframeEffect(t,n,{composite:r}):g.set(t,V(o,[t.animate(n,{timeline:e,composite:r})]))},C=(t,e,n)=>{const r=n?Pt:Lt;N(t,(t=>{r(t.Ut,e)}))},D=(t,e)=>{N(t,(t=>{const[n,r]=e(t);Xt(n,r)}))},k=(t,e)=>{D(t,(t=>{const{Vt:n}=t;return[n,{[e?Q:tt]:Ft(O(e))}]}))},M=(t,e)=>{const{Lt:r}=n,o=e?r.x:r.y,c=(t,n,r)=>Gt(Ft(((t,e,n,r)=>{const o=O(n,t);return 1/o*(1-o)*(r?1-e:e)||0})(t,ye(n,o,r),e,r)),e);if(x&&$)N(t,(t=>{const{Ut:n,Vt:r}=t,l=e&&Yt(n)&&s;E(r,e?x:$,L({transform:he(o,l).map((e=>c(t,e,l)))},l))}));else{const n=be(f);D(t,(t=>{const{Vt:r,Ut:o}=t;return[r,{transform:c(t,e?n.x:n.y,e&&Yt(o)&&s)}]}))}},H=t=>y&&!h&&Mt(t)===d,A=[],z=[],U=[],F=(t,e,n)=>{const r=T(n),o=!r||!n;(!r||n)&&C(z,t,e),o&&C(U,t,e)},Z=t=>{const e=t?Qe:tn,n=t?z:U,o=_(n)?sn:"",s=It(`${Je} ${e} ${o}`),c=It(en),l=It(nn),i={Ut:s,Mt:c,Vt:l};return I(n,i),I(A,[Rt(s,c),Rt(c,l),it(At,s),P,r(i,F,M,t)]),i},X=it(Z,!0),W=it(Z,!1);return X(),W(),[{Bt:()=>{k(z,!0),k(U)},Nt:()=>{M(z,!0),M(U)},jt:()=>{if(y){const{Lt:t}=n,e=.5;if(x&&$)N(V(U,z),(({Ut:n})=>{if(H(n)){const r=(t,r,o)=>{const c=o&&Yt(n)&&s;E(n,t,L({transform:he(r-e,c).map((t=>Gt(Zt(t),o)))},c),"add")};r(x,t.x,!0),r($,t.y)}else P(n)}));else{const e=be(f),n=n=>{const{Ut:r}=n,o=H(r)&&r,c=(t,e,n)=>{const r=e*ye(t,e,n);return Zt(n?-r:r)};return[o,{transform:o?Gt({x:c(e.x,t.x,Yt(r)&&s),y:c(e.y,t.y)}):""}]};D(z,n),D(U,n)}}},Ft:F,qt:{G:x,Wt:z,Xt:X,Yt:it(D,z)},Gt:{G:$,Wt:U,Xt:W,Yt:it(D,U)}},()=>(Rt(S,z[0].Ut),Rt(S,U[0].Ut),u((()=>{F(sn)}),300),it(B,A))]},_n=(t,e,n)=>{const{bt:r,kt:o,Jt:s}=e;return(e,l,i,a)=>{const{Ut:u,Mt:d,Vt:p}=e,[f,h]=at(333),[y,v]=at(),b=it(i,[e],a),w=!!o.scrollBy,g=`client${a?"X":"Y"}`,m=a?Q:tt,x=a?"left":"top",$=a?"w":"h",S=a?"x":"y",O=t=>t.propertyName.indexOf(m)>-1;let T=!0;return it(B,[ie(u,"pointerenter",(()=>{l(cn,!0)})),ie(u,"pointerleave pointercancel",(()=>{l(cn,!1)})),ie(u,"wheel",(t=>{const{deltaX:e,deltaY:n,deltaMode:s}=t;w&&T&&0===s&&Mt(u)===r&&o.scrollBy({left:e,top:n,behavior:"smooth"}),T=!1,l(dn,!0),f((()=>{T=!0,l(dn)})),ue(t)}),{H:!1,I:!0}),ie(p,"transitionstart",(t=>{if(O(t)){const t=()=>{b(),y(t)};t()}})),ie(p,"transitionend transitioncancel",(t=>{O(t)&&(v(),b())})),ie(u,"mousedown",it(ie,s,"click",ae,{A:!0,I:!0}),{I:!0}),(()=>{const e="pointerup pointerleave pointercancel lostpointercapture",l=(t,e)=>r=>{const{Lt:s}=n,c=te(d)[$]-te(p)[$],l=e*r/c*s[S];ve(o,{[S]:t+l})};return ie(d,"pointerdown",(n=>{const i=Ht(n.target,`.${nn}`)===p,a=i?p:d,u=t.scrollbars,{button:f,isPrimary:h,pointerType:y}=n,{pointers:v}=u;if(0===f&&h&&u[i?"dragScroll":"clickScroll"]&&(v||[]).includes(y)){const t=!i&&n.shiftKey,u=it(oe,p),f=it(oe,d),h=(t,e)=>(t||u())[x]-(e||f())[x],y=c(oe(o)[m])/te(o)[$]||1,v=l(be(o)[S]||0,1/y),b=n[g],w=u(),O=f(),T=w[m],L=h(w,O)+T/2,P=b-O[x],E=i?0:P-L,C=t=>{B(D),a.releasePointerCapture(t.pointerId)},D=[St(r,Ce,He),ie(s,e,C),ie(s,"selectstart",(t=>ue(t)),{H:!1}),ie(d,e,C),ie(d,"pointermove",(e=>{const n=e[g]-b;(i||t)&&v(E+n)}))];if(a.setPointerCapture(n.pointerId),t)v(E);else if(!i){const t=bn(Pn);t&&I(D,t(v,h,E,T,P))}}}))})(),h,v])}},Un=({wt:t})=>({Zt:e,un:n,Tt:r})=>{const{xt:o}=e||{},{$t:s}=n;t&&(o||r)&&Xt(t,{[tt]:s&&"100%"})},Bn=({bt:t,cn:n,D:r,V:o},s)=>{const[c,l]=e({u:ct,o:qt()},it(qt,t,"padding",""));return({Et:t,Zt:e,un:i,Tt:a})=>{let[u,d]=l(a);const{L:p}=Dn(),{ht:f,Ht:h,Ct:y}=e||{},{N:v}=i,[b,w]=t("paddingAbsolute");(f||d||a||h)&&([u,d]=c(a));const g=!o&&(w||y||d);if(g){const t=!b||!n&&!p,e=u.r+u.l,o=u.t+u.b,c={[q]:t&&!v?-e:0,[G]:t?-o:0,[Y]:t&&v?-e:0,top:t?-u.t:0,right:t?v?-u.r:"auto":0,left:t?v?"auto":-u.l:0,[Q]:t&&`calc(100% + ${e}px)`},l={[F]:t?u.t:0,[Z]:t?u.r:0,[W]:t?u.b:0,[X]:t?u.l:0};Xt(n||r,c),Xt(r,l),ft(s,{cn:u,fn:!t,j:n?l:ft({},c,l)})}return{_n:g}}},Fn=(t,n)=>{const s=Dn(),{bt:c,cn:l,D:i,V:a,Ot:u,Rt:d,ln:p}=t,{L:f,T:h}=s,y=d&&a,v=it(o,0),b={u:ot,o:{w:0,h:0}},w={u:st,o:{x:et,y:et}},g=(t,e)=>{const n=r.devicePixelRatio%1!=0?1:0,o={w:v(t.w-e.w),h:v(t.h-e.h)};return{w:o.w>n?o.w:0,h:o.h>n?o.h:0}},[m,x]=e(b,it(re,i)),[$,S]=e(b,it(ne,i)),[O,T]=e(b),[L,P]=e(b),[E]=e(w),C=bn(Tn);return({Et:e,Zt:r,un:d,Tt:b},{_n:w})=>{const{ht:D,It:k,Ht:M,xt:H,Ct:A,zt:N}=r||{},{$t:R}=d,V=C&&C.M(t,n,d,s,e),{q:I,W:z,X:j,F:_}=V||{},U=(t,e)=>{if(Xt(i,{[tt]:""}),e){const{fn:e,cn:r}=n,{R:o}=t,s=re(c),l=ee(c),a="content-box"===Wt(i,"boxSizing"),u=e||a?r.b+r.t:0,d=!(h.x&&a);Xt(i,{[tt]:l.h+s.h+(o.x&&d&&_?_(t).U.x:0)-u})}},[B,F]=xn(e,s),[Z,X]=e("overflow"),W=!a&&(D||M||k||F||H),Y=D||w||M||A||N||F,q=$n(Z.x),G=$n(Z.y),Q=q||G;let et,nt=x(b),rt=S(b),ot=T(b),st=P(b);if(F&&f&&u(Ie,!B),W&&(et=Sn(t),U(et,R)),Y){Q&&u(ze,!1);const[t,e]=z?z(et):[],[n,r]=nt=m(b),[s,c]=rt=$(b),l=ee(i),a=s,d=l;t&&t(),(c||r||F)&&e&&!B&&I&&I(e,s,n);const f=Qt(p),h={w:v(o(s.w,a.w)+n.w),h:v(o(s.h,a.h)+n.h)},w={w:v((y?f.w:d.w+v(l.w-s.w))+n.w),h:v((y?f.h:d.h+v(l.h-s.h))+n.h)};st=L(w),ot=O(g(h,w),b)}const[ct,lt]=st,[it,at]=ot,[ut,dt]=rt,[pt,ht]=nt,yt={x:it.w>0,y:it.h>0},vt=q&&G&&(yt.x||yt.y)||q&&yt.x&&!yt.y||G&&yt.y&&!yt.x;if(w||A||N||ht||dt||lt||at||X||F||W||Y){const e={},n=On(t,yt,Z,e);j&&j(n,d,!!I&&I(n,ut,pt),e),W&&U(n,R),a?(gt(c,De,e[J]),gt(c,ke,e[K])):Xt(i,e)}Ot(c,Ce,Me,vt),Ot(l,je,_e,vt),a||Ot(i,Re,ze,Q);const[bt,wt]=E(Sn(t).k);return ft(n,{k:bt,Pt:{x:ct.w,y:ct.h},Lt:{x:it.w,y:it.h},en:yt}),{sn:wt,tn:lt,nn:at}}},Zn=(t,e,n,r)=>{const o=Oe(e,{}),[s,c,l,i,a]=(t=>{const[e,n,r]=(t=>{const e=Dn(),{Z:n,L:r}=e,{elements:o}=n(),{host:s,padding:c,viewport:l,content:i}=o,a=k(t),u=a?{}:t,{elements:d}=u,{host:p,padding:f,viewport:h,content:y}=d||{},v=a?t:u.target,b=Dt(v,"textarea"),w=v.ownerDocument,g=w.documentElement,m=v===w.body,x=w.defaultView,$=()=>w.activeElement,S=t=>{t&&t.focus&&t.focus()},O=it(Mn,[v]),T=it(Hn,[v]),L=it(kn,[v]),P=it(It,""),E=it(O,P,l),C=it(T,P,i),D=E(h),M=D===v,H=M&&m,A=!M&&C(y),N=!M&&k(D)&&D===A,V=N&&!!L(i),z=V?E():D,j=V?A:C(),_=H?g:N?z:D,U=b?O(P,s,p):v,F=N?j:A,Z={gt:v,bt:H?_:U,D:_,cn:!M&&T(P,c,f),wt:F,kt:H?g:_,Kt:H?w:_,rn:m?g:v,ln:x,Jt:w,St:b,Rt:m,Dt:a,V:M,an:N,yt:t=>((t,e,n)=>xt(t,e).C(n))(_,M?Ce:Re,t),Ot:(t,e)=>Ot(_,M?Ce:Re,t,e)},X=pt(Z).reduce(((t,e)=>{const n=Z[e];return I(t,!(!n||!k(n)||Mt(n))&&n)}),[]),W=t=>t?R(X,t):null,{gt:Y,bt:q,cn:G,D:J,wt:K}=Z,Q=[()=>{mt(q,[Ce,Ee]),mt(Y,Ee),m&&mt(g,[Ee,Ce])}],tt=b&&W(q);let et=b?Y:kt([K,J,G,q,Y].find((t=>!1===W(t))));const nt=H?Y:K||J,rt=it(B,Q);return[Z,()=>{const t=$(),e=t=>{Rt(Mt(t),kt(t)),At(t)},n=t=>t?ie(t,"focus blur",(t=>{ae(t),t.stopImmediatePropagation()}),{I:!0,H:!1}):lt,o=n(t);if(gt(q,Ce,M?"viewport":"host"),gt(G,je,""),gt(K,Ue,""),M||(gt(J,Re,""),m&&St(g,Ce,Ne)),tt&&(Vt(Y,q),I(Q,(()=>{Vt(q,Y),At(q)}))),Rt(nt,et),Rt(q,G),Rt(G||q,!M&&J),Rt(J,K),I(Q,[o,()=>{const t=$(),r=n(t);mt(G,je),mt(K,Ue),mt(J,[De,ke,Re]),W(K)&&e(K),W(J)&&e(J),W(G)&&e(G),S(t),r()}]),r&&!M&&(St(J,Re,Ie),I(Q,it(mt,J,Re))),M||x.top!==x||t!==v)S(t);else{const t="tabindex",e=wt(J,t);gt(J,t,"-1"),S(J);const n=()=>e?gt(J,t,e):mt(J,t),r=ie(w,"pointerdown keydown",(()=>{n(),r()}));I(Q,[n,r])}return o(),et=0,rt},rt]})(t),o={cn:{t:0,r:0,b:0,l:0},fn:!1,j:{[q]:0,[G]:0,[Y]:0,[F]:0,[Z]:0,[W]:0,[X]:0},Pt:{x:0,y:0},Lt:{x:0,y:0},k:{x:et,y:et},en:{x:!1,y:!1}},{gt:s,D:c,V:l}=e,{L:i,T:a}=Dn(),u=!i&&(a.x||a.y),d=[Un(e),Bn(e,o),Fn(e,o)];return[n,t=>{const e={},n=u&&be(c),r=l?St(c,Ce,Ae):lt;return N(d,(n=>{ft(e,n(t,e)||{})})),r(),ve(c,n),!l&&ve(s,0),e},o,e,r]})(t),[u,d,p]=zn(i,l,o,(t=>{b({},t)})),[f,h,,y]=((t,e,n,r,o,s)=>{let c,l,i,a,u,d=lt,p=0;const[f,h]=at(),[y,v]=at(),[b,w]=at(100),[g,m]=at(100),[x,$]=at(100),[S,O]=at((()=>p)),[T,L]=jn(t,o,r,_n(e,o,r)),{bt:P,Kt:E,Rt:C}=o,{Ft:D,Bt:k,Nt:M,jt:H}=T,A=t=>{D(an,t,!0),D(an,t,!1)},N=(t,e)=>{if(O(),t)D(un);else{const t=it(D,un,!0);p>0&&!e?S(t):t()}},R=t=>"mouse"===t.pointerType,V=t=>{R(t)&&(a=l,a&&N(!0))},z=[w,O,m,$,v,h,()=>d(),ie(P,"pointerover",V,{A:!0}),ie(P,"pointerenter",V),ie(P,"pointerleave",(t=>{R(t)&&(a=!1,l&&N(!1))})),ie(P,"pointermove",(t=>{R(t)&&c&&f((()=>{w(),N(!0),g((()=>{c&&N(!1)}))}))})),ie(E,"scroll",(t=>{y((()=>{M(),i&&N(!0),b((()=>{i&&!a&&N(!1)}))})),s(t),H()}))];return[()=>it(B,I(z,L())),({Et:t,Tt:e,Zt:o,Qt:s})=>{const{tn:a,nn:f,sn:h}=s||{},{Ct:y,dt:v}=o||{},{N:b}=n,{T:w}=Dn(),{Lt:g,k:m,en:$}=r,[S,O]=t("showNativeOverlaidScrollbars"),[T,L]=t("scrollbars.theme"),[P,R]=t("scrollbars.visibility"),[V,I]=t("scrollbars.autoHide"),[z,j]=t("scrollbars.autoHideSuspend"),[_]=t("scrollbars.autoHideDelay"),[U,B]=t("scrollbars.dragScroll"),[F,Z]=t("scrollbars.clickScroll"),X=v&&!e,W=$.x||$.y,Y=a||f||y||e,q=h||R,G=S&&w.x&&w.y,J=(t,e)=>{const n="visible"===P||"auto"===P&&"scroll"===t;return D(rn,n,e),n};if(p=_,X&&(z&&W?(A(!1),d(),x((()=>{d=ie(E,"scroll",it(A,!0),{A:!0})}))):A(!0)),O&&D(Ge,G),L&&(D(u),D(T,!0),u=T),j&&!z&&A(!0),I&&(c="move"===V,l="leave"===V,i="never"!==V,N(!i,!0)),B&&D(fn,U),Z&&D(pn,F),q){const t=J(m.x,!0),e=J(m.y,!1);D(on,!(t&&e))}Y&&(k(),M(),H(),D(ln,!g.x,!0),D(ln,!g.y,!1),D(Ke,b&&!C))},{},T]})(t,e,p,l,i,r),v=t=>pt(t).some((e=>!!t[e])),b=(t,r)=>{const{dn:o,Tt:s,At:l,vn:i}=t,a=o||{},u=!!s,f={Et:Oe(e,a,u),dn:a,Tt:u};if(i)return h(f),!1;const y=r||d(ft({},f,{At:l})),b=c(ft({},f,{un:p,Zt:y}));h(ft({},f,{Zt:y,Qt:b}));const w=v(y),g=v(b),m=w||g||!yt(a)||u;return m&&n(t,{Zt:y,Qt:b}),m};return[()=>{const{rn:t,D:e}=i,n=be(t),r=[u(),s(),f()];return ve(e,n),it(B,r)},b,()=>({hn:p,pn:l}),{gn:i,bn:y},a]},Xn=(t,e,n)=>{const{nt:r}=Dn(),o=k(t),s=o?t:t.target,c=Nn(s);if(e&&!c){let c=!1;const l=[],i={},a=t=>{const e=ht(t,!0),n=bn(wn);return n?n(e,!0):e},u=ft({},r(),a(e)),[d,p,f]=ge(),[h,y,v]=ge(n),b=(t,e)=>{v(t,e),f(t,e)},[w,g,m,S,O]=Zn(t,u,(({dn:t,Tt:e},{Zt:n,Qt:r})=>{const{ht:o,Ct:s,xt:c,Ht:l,It:i,dt:a}=n,{tn:u,nn:d,sn:p}=r;b("updated",[L,{updateHints:{sizeChanged:!!o,directionChanged:!!s,heightIntrinsicChanged:!!c,overflowEdgeChanged:!!u,overflowAmountChanged:!!d,overflowStyleChanged:!!p,contentMutation:!!l,hostMutation:!!i,appear:!!a},changedOptions:t||{},force:!!e}])}),(t=>b("scroll",[L,t]))),T=t=>{(t=>{An.delete(t)})(s),B(l),c=!0,b("destroyed",[L,t]),p(),y()},L={options(t,e){if(t){const n=e?r():{},o=Se(u,ft(n,a(t)));yt(o)||(ft(u,o),g({dn:o}))}return ft({},u)},on:h,off:(t,e)=>{t&&e&&y(t,e)},state(){const{hn:t,pn:e}=m(),{N:n}=t,{Pt:r,Lt:o,k:s,en:l,cn:i,fn:a}=e;return ft({},{overflowEdge:r,overflowAmount:o,overflowStyle:s,hasOverflow:l,padding:i,paddingAbsolute:a,directionRTL:n,destroyed:c})},elements(){const{gt:t,bt:e,cn:n,D:r,wt:o,kt:s,Kt:c}=S.gn,{qt:l,Gt:i}=S.bn,a=t=>{const{Vt:e,Mt:n,Ut:r}=t;return{scrollbar:r,track:n,handle:e}},u=t=>{const{Wt:e,Xt:n}=t,r=a(e[0]);return ft({},r,{clone:()=>{const t=a(n());return g({vn:!0}),t}})};return ft({},{target:t,host:e,padding:n||r,viewport:r,content:o||r,scrollOffsetElement:s,scrollEventElement:c,scrollbarHorizontal:u(l),scrollbarVertical:u(i)})},update:t=>g({Tt:t,At:!0}),destroy:it(T,!1),plugin:t=>i[pt(t)[0]]};return I(l,[O]),((t,e)=>{An.set(t,e)})(s,L),vn(hn,Xn,[L,d,i]),((t,e)=>{const{nativeScrollbarsOverlaid:n,body:r}=e||{},{T:o,L:s,Z:c}=Dn(),{nativeScrollbarsOverlaid:l,body:i}=c().cancel,a=null!=n?n:l,u=x(r)?i:r,d=(o.x||o.y)&&a,p=t&&($(u)?!s:u);return!!d||!!p})(S.gn.Rt,!o&&t.cancel)?(T(!0),L):(I(l,w()),b("initialized",[L]),L.update(!0),L)}return c};return Xn.plugin=t=>{const e=P(t),n=e?t:[t],r=n.map((t=>vn(t,Xn)[0]));return(t=>{N(t,(t=>N(t,((e,n)=>{hn[n]=t[n]}))))})(n),e?r:r[0]},Xn.valid=t=>{const e=t&&t.elements,n=L(e)&&e();return D(n)&&!!Nn(n.target)},Xn.env=()=>{const{P:t,T:e,L:n,J:r,G:o,st:s,et:c,Z:l,tt:i,nt:a,ot:u}=Dn();return ft({},{scrollbarsSize:t,scrollbarsOverlaid:e,scrollbarsHiding:n,rtlScrollBehavior:r,scrollTimeline:o,staticDefaultInitialization:s,staticDefaultOptions:c,getDefaultInitialization:l,setDefaultInitialization:i,getDefaultOptions:a,setDefaultOptions:u})},t.ClickScrollPlugin=En,t.OverlayScrollbars=Xn,t.ScrollbarsHidingPlugin=Ln,t.SizeObserverPlugin=mn,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t}({});
var OverlayScrollbarsGlobal=function(t){"use strict";const e=(t,e)=>{const{o:n,u:r,_:o}=t;let s,c=n;const l=(t,e)=>{const n=c,l=t,i=e||(r?!r(n,l):n!==l);return(i||o)&&(c=l,s=n),[c,i,s]};return[e?t=>l(e(c,s),t):l,t=>[c,!!t,s]]},n="undefined"!=typeof window,r=n?window:{},o=Math.max,s=Math.min,c=Math.round,l=Math.abs,i=r.cancelAnimationFrame,a=r.requestAnimationFrame,u=r.setTimeout,d=r.clearTimeout,p=t=>void 0!==r[t]?r[t]:void 0,f=p("MutationObserver"),h=p("IntersectionObserver"),y=p("ResizeObserver"),v=p("ScrollTimeline"),b=n&&Node.ELEMENT_NODE,{toString:w,hasOwnProperty:g}=Object.prototype,m=/^\[object (.+)\]$/,x=t=>void 0===t,$=t=>null===t,S=t=>"number"==typeof t,O=t=>"string"==typeof t,T=t=>"boolean"==typeof t,P=t=>"function"==typeof t,E=t=>Array.isArray(t),L=t=>"object"==typeof t&&!E(t)&&!$(t),C=t=>{const e=!!t&&t.length,n=S(e)&&e>-1&&e%1==0;return!(!(E(t)||!P(t)&&n)||e>0&&L(t)&&!(e-1 in t))},D=t=>{if(!t||!L(t)||"object"!==(t=>x(t)||$(t)?`${t}`:w.call(t).replace(m,"$1").toLowerCase())(t))return!1;let e;const n="constructor",r=t[n],o=r&&r.prototype,s=g.call(t,n),c=o&&g.call(o,"isPrototypeOf");if(r&&!s&&!c)return!1;for(e in t);return x(e)||g.call(t,e)},k=t=>{const e=HTMLElement;return!!t&&(e?t instanceof e:t.nodeType===b)},M=t=>{const e=Element;return!!t&&(e?t instanceof e:t.nodeType===b)},H=()=>performance.now(),A=(t,e,n,r,s)=>{let c=0;const l=H(),u=o(0,n),d=n=>{const i=H(),p=i-l>=u,f=n?1:1-(o(0,l+u-i)/u||0),h=(e-t)*(P(s)?s(f,f*u,0,1,u):f)+t,y=p||1===f;r&&r(h,f,y),c=y?0:a((()=>d()))};return d(),t=>{i(c),t&&d(t)}};function N(t,e){if(C(t))for(let n=0;n<t.length&&!1!==e(t[n],n,t);n++);else t&&N(Object.keys(t),(n=>e(t[n],n,t)));return t}const R=(t,e)=>t.indexOf(e)>=0,V=(t,e)=>t.concat(e),I=(t,e,n)=>(n||O(e)||!C(e)?t.push(e):Array.prototype.push.apply(t,e),t),z=t=>Array.from(t||[]),j=t=>E(t)?t:[t],_=t=>!!t&&!t.length,U=t=>z(new Set(t)),B=(t,e,n)=>{N(t,(t=>t&&t.apply(void 0,e||[]))),!n&&(t.length=0)},F="paddingTop",Z="paddingRight",X="paddingLeft",W="paddingBottom",Y="marginLeft",q="marginRight",G="marginBottom",J="overflowX",K="overflowY",Q="width",tt="height",et="hidden",nt="visible",rt=(t,e,n,r)=>{if(t&&e){let o=!0;return N(n,(n=>{(r?r(t[n]):t[n])!==(r?r(e[n]):e[n])&&(o=!1)})),o}return!1},ot=(t,e)=>rt(t,e,["w","h"]),st=(t,e)=>rt(t,e,["x","y"]),ct=(t,e)=>rt(t,e,["t","r","b","l"]),lt=()=>{},it=(t,...e)=>t.bind(0,...e),at=t=>{let e;const n=t?u:a,r=t?d:i;return[o=>{r(e),e=n(o,P(t)?t():t)},()=>r(e)]},ut=(t,e)=>{let n,r,o,s=lt;const{v:c,p:l,S:p}=e||{},f=function(e){s(),d(n),n=r=void 0,s=lt,t.apply(this,e)},h=t=>p&&r?p(r,t):t,y=()=>{s!==lt&&f(h(o)||o)},v=function(){const t=z(arguments),e=P(c)?c():c;if(S(e)&&e>=0){const c=P(l)?l():l,p=S(c)&&c>=0,v=e>0?u:a,b=e>0?d:i,w=h(t)||t,g=f.bind(0,w);s();const m=v(g,e);s=()=>b(m),p&&!n&&(n=u(y,c)),r=o=w}else f(t)};return v.m=y,v},dt=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),pt=t=>t?Object.keys(t):[],ft=(t,e,n,r,o,s,c)=>{const l=[e,n,r,o,s,c];return"object"==typeof t&&!$(t)||P(t)||(t={}),N(l,(e=>{N(e,((n,r)=>{const o=e[r];if(t===o)return!0;const s=E(o);if(o&&D(o)){const e=t[r];let n=e;s&&!E(e)?n=[]:s||D(e)||(n={}),t[r]=ft(n,o)}else t[r]=s?o.slice():o}))})),t},ht=(t,e)=>N(ft({},t),((t,n,r)=>{void 0===t?delete r[n]:e&&t&&D(t)&&(r[n]=ht(t,e))})),yt=t=>{for(const e in t)return!1;return!0},vt=(t,e,n)=>o(t,s(e,n)),bt=t=>z(new Set((E(t)?t:(t||"").split(" ")).filter((t=>t)))),wt=(t,e)=>t&&t.getAttribute(e),gt=(t,e,n)=>{N(bt(e),(e=>{t&&t.setAttribute(e,n||"")}))},mt=(t,e)=>{N(bt(e),(e=>t&&t.removeAttribute(e)))},xt=(t,e)=>{const n=bt(wt(t,e)),r=it(gt,t,e),o=(t,e)=>{const r=new Set(n);return N(bt(t),(t=>r[e](t))),z(r).join(" ")};return{O:t=>r(o(t,"delete")),$:t=>r(o(t,"add")),C:t=>{const e=bt(t);return e.reduce(((t,e)=>t&&n.includes(e)),e.length>0)}}},$t=(t,e,n)=>{xt(t,e).O(n)},St=(t,e,n)=>(xt(t,e).$(n),it($t,t,e,n)),Ot=(t,e,n,r)=>{(r?St:$t)(t,e,n)},Tt=t=>xt(t,"class"),Pt=(t,e)=>{Tt(t).O(e)},Et=(t,e)=>(Tt(t).$(e),it(Pt,t,e)),Lt=n&&Element.prototype,Ct=(t,e)=>{const n=[],r=e?M(e)&&e:document;return r?I(n,r.querySelectorAll(t)):n},Dt=(t,e)=>!!M(t)&&(Lt.matches||Lt.msMatchesSelector).call(t,e),kt=t=>t?z(t.childNodes):[],Mt=t=>t&&t.parentElement,Ht=(t,e)=>M(t)&&t.closest(e),At=t=>{if(C(t))N(z(t),(t=>At(t)));else if(t){const e=Mt(t);e&&e.removeChild(t)}},Nt=(t,e,n)=>{if(n&&t){let r,o=e;return C(n)?(r=document.createDocumentFragment(),N(n,(t=>{t===o&&(o=t.previousSibling),r.appendChild(t)}))):r=n,e&&(o?o!==e&&(o=o.nextSibling):o=t.firstChild),t.insertBefore(r,o||null),()=>At(n)}return lt},Rt=(t,e)=>Nt(t,null,e),Vt=(t,e)=>Nt(Mt(t),t&&t.nextSibling,e),It=t=>{const e=document.createElement("div");return gt(e,"class",t),e},zt=t=>{const e=It();return e.innerHTML=t.trim(),N(kt(e),(t=>At(t)))},jt=/^--/,_t=(t,e)=>t.getPropertyValue(e)||t[e]||"",Ut=t=>{const e=t||0;return isFinite(e)?e:0},Bt=t=>Ut(parseFloat(t||"")),Ft=t=>`${(100*Ut(t)).toFixed(3)}%`,Zt=t=>`${Ut(t)}px`;function Xt(t,e){t&&N(e,((e,n)=>{try{const r=t.style,o=S(e)?Zt(e):(e||"")+"";jt.test(n)?r.setProperty(n,o):r[n]=o}catch(o){}}))}function Wt(t,e,n){const o=O(e);let s=o?"":{};if(t){const c=r.getComputedStyle(t,n)||t.style;s=o?_t(c,e):e.reduce(((t,e)=>(t[e]=_t(c,e),t)),s)}return s}const Yt=t=>"rtl"===Wt(t,"direction"),qt=(t,e,n)=>{const r=e?`${e}-`:"",o=n?`-${n}`:"",s=`${r}top${o}`,c=`${r}right${o}`,l=`${r}bottom${o}`,i=`${r}left${o}`,a=Wt(t,[s,c,l,i]);return{t:Bt(a[s]),r:Bt(a[c]),b:Bt(a[l]),l:Bt(a[i])}},Gt=(t,e)=>`translate${L(t)?`(${t.x},${t.y})`:`${e?"X":"Y"}(${t})`}`,Jt={w:0,h:0},Kt=(t,e)=>e?{w:e[`${t}Width`],h:e[`${t}Height`]}:Jt,Qt=t=>Kt("inner",t||r),te=it(Kt,"offset"),ee=it(Kt,"client"),ne=it(Kt,"scroll"),re=t=>{const e=parseFloat(Wt(t,Q))||0,n=parseFloat(Wt(t,tt))||0;return{w:e-c(e),h:n-c(n)}},oe=t=>t.getBoundingClientRect(),se=t=>!(!t||!t[tt]&&!t[Q]),ce=(t,e)=>{const n=se(t);return!se(e)&&n},le=(t,e,n,r)=>{N(bt(e),(e=>{t.removeEventListener(e,n,r)}))},ie=(t,e,n,r)=>{var o;const s=null==(o=r&&r.H)||o,c=r&&r.I||!1,l=r&&r.A||!1,i={passive:s,capture:c};return it(B,bt(e).map((e=>{const r=l?o=>{le(t,e,r,c),n(o)}:n;return t.addEventListener(e,r,i),it(le,t,e,r,c)})))},ae=t=>t.stopPropagation(),ue=t=>t.preventDefault(),de={x:0,y:0},pe=t=>{const e=t&&oe(t);return e?{x:e.left+r.scrollX,y:e.top+r.scrollY}:de},fe=(t,e,n)=>n?n.n?-t+0:n.i?e-t:t:t,he=(t,e)=>[fe(0,t,e),fe(t,t,e)],ye=(t,e,n)=>vt(0,1,fe(t,e,n)/e||0),ve=(t,e)=>{const{x:n,y:r}=S(e)?{x:e,y:e}:e||{};S(n)&&(t.scrollLeft=n),S(r)&&(t.scrollTop=r)},be=t=>({x:t.scrollLeft,y:t.scrollTop}),we=(t,e)=>{N(j(e),t)},ge=t=>{const e=new Map,n=(t,n)=>{if(t){const r=e.get(t);we((t=>{r&&r[t?"delete":"clear"](t)}),n)}else e.forEach((t=>{t.clear()})),e.clear()},r=(t,o)=>{if(O(t)){const r=e.get(t)||new Set;return e.set(t,r),we((t=>{P(t)&&r.add(t)}),o),it(n,t,o)}T(o)&&o&&n();const s=pt(t),c=[];return N(s,(e=>{const n=t[e];n&&I(c,r(e,n))})),it(B,c)};return r(t||{}),[r,n,(t,n)=>{N(z(e.get(t)),(t=>{n&&!_(n)?t.apply(0,n):t()}))}]},me=t=>JSON.stringify(t,((t,e)=>{if(P(e))throw 0;return e})),xe=(t,e)=>t?`${e}`.split(".").reduce(((t,e)=>t&&dt(t,e)?t[e]:void 0),t):void 0,$e={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation: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"]}},Se=(t,e)=>{const n={};return N(V(pt(e),pt(t)),(r=>{const o=t[r],s=e[r];if(L(o)&&L(s))ft(n[r]={},Se(o,s)),yt(n[r])&&delete n[r];else if(dt(e,r)&&s!==o){let t=!0;if(E(o)||E(s))try{me(o)===me(s)&&(t=!1)}catch(l){}t&&(n[r]=s)}})),n},Oe=(t,e,n)=>r=>[xe(t,r),n||void 0!==xe(e,r)],Te=`data-overlayscrollbars`,Pe="os-environment",Ee=`${Pe}-scrollbar-hidden`,Le=`${Te}-initialize`,Ce=Te,De=`${Ce}-overflow-x`,ke=`${Ce}-overflow-y`,Me="overflowVisible",He="scrollbarPressed",Ae="updating",Ne="body",Re=`${Te}-viewport`,Ve="arrange",Ie="scrollbarHidden",ze=Me,je=`${Te}-padding`,_e=ze,Ue=`${Te}-content`,Be="os-size-observer",Fe=`${Be}-appear`,Ze=`${Be}-listener`,Xe=`${Ze}-scroll`,We=`${Ze}-item`,Ye=`${We}-final`,qe="os-trinsic-observer",Ge="os-theme-none",Je="os-scrollbar",Ke=`${Je}-rtl`,Qe=`${Je}-horizontal`,tn=`${Je}-vertical`,en=`${Je}-track`,nn=`${Je}-handle`,rn=`${Je}-visible`,on=`${Je}-cornerless`,sn=`${Je}-interaction`,cn=`${Je}-unusable`,ln=`${Je}-auto-hide`,an=`${ln}-hidden`,un=`${Je}-wheel`,dn=`${en}-interactive`,pn=`${nn}-interactive`,fn={},hn={},yn=(t,e,n)=>pt(t).map((r=>{const{static:o,instance:s}=t[r],[c,l,i]=n||[],a=n?s:o;if(a){const t=n?a(c,l,e):a(e);return(i||hn)[r]=t}})),vn=t=>hn[t],bn="__osOptionsValidationPlugin",wn="__osSizeObserverPlugin",gn=(()=>({[wn]:{static:()=>(t,e,n)=>{const r=3333333,o="scroll",s=zt(`<div class="${We}" dir="ltr"><div class="${We}"><div class="${Ye}"></div></div><div class="${We}"><div class="${Ye}" style="width: 200%; height: 200%"></div></div></div>`),c=s[0],l=c.lastChild,u=c.firstChild,d=null==u?void 0:u.firstChild;let p,f=te(c),h=f,y=!1;const v=()=>{ve(u,r),ve(l,r)},b=t=>{p=0,y&&(f=h,e(!0===t))},w=t=>{h=te(c),y=!t||!ot(h,f),t?(ae(t),y&&!p&&(i(p),p=a(b))):b(!1===t),v()},g=[Rt(t,s),ie(u,o,w),ie(l,o,w)];return Et(t,Xe),Xt(d,{[Q]:r,[tt]:r}),a(v),[n?it(w,!1):v,g]}}}))(),mn=(t,e)=>{const{T:n}=e,[r,o]=t("showNativeOverlaidScrollbars");return[r&&n.x&&n.y,o]},xn=t=>0===t.indexOf(nt),$n=(t,e)=>{const{D:n}=t,r=t=>{const r=Wt(n,t);return[r,"scroll"===(e?e[t]:r)]},[o,s]=r(J),[c,l]=r(K);return{k:{x:o,y:c},R:{x:s,y:l}}},Sn=(t,e,n,r)=>{const o=e.x||e.y,s=(t,e)=>{const n=xn(t),r=n&&o?"hidden":"",s=e&&n&&t.replace(`${nt}-`,"")||r;return[e&&!n?t:"",xn(s)?"hidden":s]},[c,l]=s(n.x,e.x),[i,a]=s(n.y,e.y);return r[J]=l&&i?l:c,r[K]=a&&c?a:i,$n(t,r)},On="__osScrollbarsHidingPlugin",Tn=(()=>({[On]:{static:()=>({M:(t,e,n,r,o)=>{const{V:s,D:c}=t,{L:l,T:i,P:a}=r,u=!s&&!l&&(i.x||i.y),[d]=mn(o,r),p=t=>{const{R:e}=t,n=l||d?0:42,r=(t,e,r)=>[e&&!l?t?n:r:0,t&&!!n],[o,s]=r(i.x,e.x,a.x),[c,u]=r(i.y,e.y,a.y);return{U:{x:o,y:c},B:{x:s,y:u}}},f=(t,{N:n},r,o)=>{if(ft(o,{[q]:0,[G]:0,[Y]:0}),!s){const{U:s,B:c}=p(t),{x:l,y:i}=c,{x:a,y:u}=s,{j:d}=e,f=n?Y:q,h=n?X:Z,y=d[f],v=d[G],b=d[h],w=d[W];o[Q]=`calc(100% + ${u+-1*y}px)`,o[f]=-u+y,o[G]=-a+v,r&&(o[h]=b+(i?u:0),o[W]=w+(l?a:0))}};return{F:p,q:(t,r,o)=>{if(u){const{j:s}=e,{U:l,B:i}=p(t),{x:a,y:u}=i,{x:d,y:f}=l,{N:h}=n,y=s[h?Z:X],v=s.paddingTop,b=r.w+o.w,w=r.h+o.h,g={w:f&&u?`${f+b-y}px`:"",h:d&&a?`${d+w-v}px`:""};Xt(c,{"--os-vaw":g.w,"--os-vah":g.h})}return u},W:r=>{if(u){const o=r||$n(t),{j:s}=e,{B:l}=p(o),{x:i,y:a}=l,d={},h=t=>N(t,(t=>{d[t]=s[t]}));i&&h([G,F,W]),a&&h([Y,q,X,Z]);const y=Wt(c,pt(d));return $t(c,Re,Ve),Xt(c,d),[()=>{f(o,n,u,y),Xt(c,y),St(c,Re,Ve)},o]}return[lt]},X:f}},Y:()=>{let t={w:0,h:0},e=0;const n=()=>{const t=r.screen,e=t.deviceXDPI||0,n=t.logicalXDPI||1;return r.devicePixelRatio||e/n};return(r,o)=>{const s=Qt(),i={w:s.w-t.w,h:s.h-t.h};if(0===i.w&&0===i.h)return;const a=l(i.w),u=l(i.h),d={w:l(c(s.w/(t.w/100))),h:l(c(s.h/(t.h/100)))},p=n(),f=a>2&&u>2,h=!((t,e)=>{const n=l(t),r=l(e);return!(n===r||n+1===r||n-1===r)})(d.w,d.h);let y,v;return f&&h&&p!==e&&p>0&&([v,y]=o(),ft(r.P,v)),t=s,e=p,y}}})}}))(),Pn="__osClickScrollPlugin",En=(()=>({[Pn]:{static:()=>(t,e,n,r,o)=>{let s=0,c=lt;const l=i=>{c=A(i,i+r*Math.sign(n),133,((n,i,a)=>{t(n);const d=e();if(a&&!(o>=d&&o<=d+r)){if(s)l(n);else{const t=u((()=>{l(n)}),222);c=()=>{clearTimeout(t)}}s++}}))};return l(0),()=>c()}}}))();let Ln;const Cn=()=>(Ln||(Ln=(()=>{const t=(t,e,n,r)=>{Rt(t,e);const o=ee(e),s=te(e),c=re(n);return r&&At(e),{x:s.h-o.h+c.h,y:s.w-o.w+c.w}},{body:n}=document,o=zt(`<div class="${Pe}"><div></div></div>`)[0],s=o.firstChild,[c,,l]=ge(),[i,a]=e({o:t(n,o,s),u:st},it(t,n,o,s,!0)),[u]=a(),d=(t=>{let e=!1;const n=Et(t,Ee);try{e="none"===Wt(t,"scrollbar-width")||"none"===Wt(t,"display","::-webkit-scrollbar")}catch(o){}return n(),e})(o),p={x:0===u.x,y:0===u.y},f={elements:{host:null,padding:!d,viewport:t=>d&&t===t.ownerDocument.body&&t,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},h=ft({},$e),y=it(ft,{},h),b=it(ft,{},f),w={P:u,T:p,L:d,G:!!v,J:((t,e)=>{Xt(t,{[J]:et,[K]:et,direction:"rtl"}),ve(t,{x:0});const n=pe(t),r=pe(e);ve(t,{x:-999});const o=pe(e);return{i:n.x===r.x,n:r.x!==o.x}})(o,s),K:it(c,"r"),Z:b,tt:t=>ft(f,t)&&b(),nt:y,ot:t=>ft(h,t)&&y(),st:ft({},f),et:ft({},h)};return mt(o,"style"),At(o),r.addEventListener("resize",(()=>{let t;if(!(d||p.x&&p.y)){const e=vn(On);t=!!(e?e.Y():lt)(w,i)}l("r",[t])})),w})()),Ln),Dn=(t,e)=>P(e)?e.apply(0,t):e,kn=(t,e,n,r)=>{const o=x(r)?n:r;return Dn(t,o)||e.apply(0,t)},Mn=(t,e,n,r)=>{const o=x(r)?n:r,s=Dn(t,o);return!!s&&(k(s)?s:e.apply(0,t))},Hn=new WeakMap,An=t=>Hn.get(t),Nn=(t,e,n,r)=>{let o=!1;const{ct:s,rt:c,lt:l,it:i,ut:a,ft:u}=r||{},d=ut((()=>o&&n(!0)),{v:33,p:99}),[p,h]=((t,e,n)=>{let r=!1;const o=!!n&&new WeakMap,s=s=>{if(o&&n){const c=n.map((e=>{const[n,r]=e||[];return[r&&n?(s||Ct)(n,t):[],r]}));N(c,(n=>N(n[0],(s=>{const c=n[1],l=o.get(s)||[];if(t.contains(s)&&c){const t=ie(s,c,(n=>{r?(t(),o.delete(s)):e(n)}));o.set(s,I(l,t))}else B(l),o.delete(s)}))))}};return s(),[()=>{r=!0},s]})(t,d,l),y=c||[],v=V(s||[],y),b=(o,s)=>{if(!_(s)){const c=a||lt,l=u||lt,d=[],p=[];let f=!1,v=!1;if(N(s,(n=>{const{attributeName:o,target:s,type:a,oldValue:u,addedNodes:h,removedNodes:b}=n,w="attributes"===a,g="childList"===a,m=t===s,x=w&&o,$=x&&wt(s,o||"")||null,S=x&&u!==$,O=R(y,o)&&S;if(e&&(g||!m)){const e=w&&S,a=e&&i&&Dt(s,i),p=(a?!c(s,o,u,$):!w||e)&&!l(n,!!a,t,r);N(h,(t=>I(d,t))),N(b,(t=>I(d,t))),v=v||p}!e&&m&&S&&!c(s,o,u,$)&&(I(p,o),f=f||O)})),h((t=>U(d).reduce(((e,n)=>(I(e,Ct(t,n)),Dt(n,t)?I(e,n):e)),[]))),e)return!o&&v&&n(!1),[!1];if(!_(p)||f){const t=[U(p),f];return!o&&n.apply(0,t),t}}},w=new f(it(b,!1));return[()=>(w.observe(t,{attributes:!0,attributeOldValue:!0,attributeFilter:v,subtree:e,childList:e,characterData:e}),o=!0,()=>{o&&(p(),w.disconnect(),o=!1)}),()=>{if(o)return d.m(),b(!0,w.takeRecords())}]},Rn=(t,n,r)=>{const o=3333333,{_t:s,dt:c}=r||{},l=vn(wn),{J:i}=Cn(),a=it(Yt,t),[u]=e({o:!1,_:!0});return()=>{const r=[],d=zt(`<div class="${Be}"><div class="${Ze}"></div></div>`)[0],p=d.firstChild,f=t=>{const e=t instanceof ResizeObserverEntry,r=!e&&E(t);let c=!1,l=!1,a=!0;if(e){const[e,,n]=u(t.contentRect),r=se(e),o=ce(e,n);l=!n||o,c=!l&&!r,a=!c}else r?[,a]=t:l=!0===t;if(s&&a){const e=r?t[0]:Yt(d);ve(d,{x:fe(o,o,e&&i),y:o})}c||n({vt:r?t:void 0,ht:!r,dt:l})};if(y){const t=new y((t=>f(t.pop())));t.observe(p),I(r,(()=>{t.disconnect()}))}else{if(!l)return lt;{const[t,e]=l(p,f,c);I(r,V([Et(d,Fe),ie(d,"animationstart",t)],e))}}if(s){const[t]=e({o:void 0},a);I(r,ie(d,"scroll",(e=>{const n=t(),[r,o,s]=n;o&&(Pt(p,"ltr rtl"),Et(p,r?"rtl":"ltr"),f([!!r,o,s])),ae(e)})))}return it(B,I(r,Rt(t,d)))}},Vn=(t,n)=>{let r;const o=It(qe),[s]=e({o:!1}),c=(t,e)=>{if(t){const r=s((t=>0===t.h||t.isIntersecting||t.intersectionRatio>0)(t)),[,o]=r;return o&&!e&&n(r)&&[r]}},l=(t,e)=>c(e.pop(),t);return[()=>{const e=[];if(h)r=new h(it(l,!1),{root:t}),r.observe(o),I(e,(()=>{r.disconnect()}));else{const t=()=>{const t=te(o);c(t)};I(e,Rn(o,t)()),t()}return it(B,I(e,Rt(t,o)))},()=>r&&l(!0,r.takeRecords())]},In=(t,n,r,o)=>{let s,c,l,i,a,u;const{L:d}=Cn(),p=`[${Ce}]`,f=`[${Re}]`,h=["tabindex"],v=["wrap","cols","rows"],b=["id","class","style","open"],{gt:w,bt:g,D:m,wt:x,St:$,V:T,yt:L,Ot:C}=t,D={$t:!1,N:Yt(w)},k=Cn(),H=vn(On),[A]=e({u:ot,o:{w:0,h:0}},(()=>{const e=H&&H.M(t,n,D,k,r).W,o=L(ze),s=!T&&L(Ve),c=s&&be(m);C(ze),T&&C(Ae,!0);const l=s&&e&&e()[0],i=ne(x),a=ne(m),u=re(m);return C(ze,o),T&&C(Ae),l&&l(),ve(m,c),{w:a.w+i.w+u.w,h:a.h+i.h+u.h}})),I=$?v:V(b,v),z=ut(o,{v:()=>s,p:()=>c,S(t,e){const[n]=t,[r]=e;return[V(pt(n),pt(r)).reduce(((t,e)=>(t[e]=n[e]||r[e],t)),{})]}}),j=t=>{if(T){const e=Yt(w);ft(t,{Ct:u!==e}),ft(D,{N:e}),u=e}},_=t=>{N(t||h,(t=>{if(R(h,t)){const e=wt(g,t);O(e)?gt(m,t,e):mt(m,t)}}))},U=(t,e)=>{const[n,r]=t,s={xt:r};return ft(D,{$t:n}),!e&&o(s),s},B=({ht:t,vt:e,dt:n})=>{const r=(!t||n||e)&&d?z:o,[s,c]=e||[],l={ht:t||n,dt:n,Ct:c};j(l),e&&ft(D,{N:s}),r(l)},F=(t,e)=>{const[,n]=A(),r={Ht:n};return j(r),n&&!e&&(t?o:z)(r),r},Z=(t,e,n)=>{const r={It:e};return j(r),e&&!n?z(r):T||_(t),r},{K:X}=k,[W,Y]=x?Vn(g,U):[],q=!T&&Rn(g,B,{dt:!0,_t:!0}),[G,J]=Nn(g,!1,Z,{rt:b,ct:V(b,h)}),K=T&&y&&new y((t=>{const e=t[t.length-1].contentRect;B({ht:!0,dt:ce(e,a)}),a=e}));return[()=>{_(),K&&K.observe(g);const t=q&&q(),e=W&&W(),n=G(),r=X((t=>{const[,e]=A();z({zt:t,Ht:e})}));return()=>{K&&K.disconnect(),t&&t(),e&&e(),i&&i(),n(),r()}},({Et:t,At:e,Tt:n})=>{const r={},[o]=t("update.ignoreMutation"),[a,u]=t("update.attributes"),[d,h]=t("update.elementEvents"),[y,v]=t("update.debounce"),b=e||n;if(h||u){l&&l(),i&&i();const[t,e]=Nn(x||m,!0,F,{ct:V(I,a||[]),lt:d,it:p,ft:(t,e)=>{const{target:n,attributeName:r}=t;return!(e||!r||T)&&((t,e,n)=>{const r=Ht(t,e),o=t&&((t,e)=>{const n=e?M(e)&&e:document;return n?n.querySelector(t):null})(n,r),s=Ht(o,e)===r;return!(!r||!o)&&(r===t||o===t||s&&Ht(Ht(t,n),e)!==r)})(n,p,f)||!!Ht(n,`.${Je}`)||!!(t=>P(o)&&o(t))(t)}});i=t(),l=e}if(v)if(z.m(),E(y)){const t=y[0],e=y[1];s=S(t)&&t,c=S(e)&&e}else S(y)?(s=y,c=!1):(s=!1,c=!1);if(b){const t=J(),e=Y&&Y(),n=l&&l();t&&ft(r,Z(t[0],t[1],b)),e&&ft(r,U(e[0],b)),n&&ft(r,F(n[0],b))}return j(r),r},D]},zn=(t,e,n,r)=>{const{Z:o,J:s}=Cn(),{scrollbars:c}=o(),{slot:l}=c,{gt:i,bt:a,D:u,Dt:d,kt:p,Rt:f,V:h}=e,{scrollbars:y}=d?{}:t,{slot:b}=y||{},w=new Map,g=t=>v&&new v({source:p,axis:t}),m=g("x"),x=g("y"),$=Mn([i,a,u],(()=>h&&f?i:a),l,b),S=(t,e)=>{if(e){const n=t?Q:tt,{Mt:r,Vt:o}=e,s=oe(o)[n],c=oe(r)[n];return vt(0,1,s/c||0)}const r=t?"x":"y",{Lt:o,Pt:s}=n,c=s[r],l=o[r];return vt(0,1,c/(c+l)||0)},O=(t,e)=>ft(t,e?{clear:["left"]}:{}),P=t=>{w.forEach(((e,n)=>{(!t||R(j(t),n))&&(N(e||[],(t=>{t&&t.cancel()})),w.delete(n))}))},E=(t,e,n,r)=>{const o=w.get(t)||[],s=o.find((t=>t&&t.timeline===e));s?s.effect=new KeyframeEffect(t,n,{composite:r}):w.set(t,V(o,[t.animate(n,{timeline:e,composite:r})]))},L=(t,e,n)=>{const r=n?Et:Pt;N(t,(t=>{r(t.Ut,e)}))},C=(t,e)=>{N(t,(t=>{const[n,r]=e(t);Xt(n,r)}))},D=(t,e)=>{C(t,(t=>{const{Vt:n}=t;return[n,{[e?Q:tt]:Ft(S(e))}]}))},k=(t,e)=>{const{Lt:r}=n,o=e?r.x:r.y,c=(t,n,r)=>Gt(Ft(((t,e,n,r)=>{const o=S(n,t);return 1/o*(1-o)*(r?1-e:e)||0})(t,ye(n,o,r),e,r)),e);if(m&&x)N(t,(t=>{const{Ut:n,Vt:r}=t,l=e&&Yt(n)&&s;E(r,e?m:x,O({transform:he(o,l).map((e=>c(t,e,l)))},l))}));else{const n=be(p);C(t,(t=>{const{Vt:r,Ut:o}=t;return[r,{transform:c(t,e?n.x:n.y,e&&Yt(o)&&s)}]}))}},M=t=>h&&!f&&Mt(t)===u,H=[],A=[],z=[],_=(t,e,n)=>{const r=T(n),o=!r||!n;(!r||n)&&L(A,t,e),o&&L(z,t,e)},U=t=>{const e=It(`${Je} ${t?Qe:tn}`),n=It(en),o=It(nn),s={Ut:e,Mt:n,Vt:o};return I(t?A:z,s),I(H,[Rt(e,n),Rt(n,o),it(At,e),P,r(s,_,k,t)]),s},F=it(U,!0),Z=it(U,!1);return F(),Z(),[{Bt:()=>{D(A,!0),D(z)},Nt:()=>{k(A,!0),k(z)},jt:()=>{if(h){const{Lt:t}=n,e=.5;if(m&&x)N(V(z,A),(({Ut:n})=>{if(M(n)){const r=(t,r,o)=>{const c=o&&Yt(n)&&s;E(n,t,O({transform:he(r-e,c).map((t=>Gt(Zt(t),o)))},c),"add")};r(m,t.x,!0),r(x,t.y)}else P(n)}));else{const e=be(p),n=n=>{const{Ut:r}=n,o=M(r)&&r,c=(t,e,n)=>{const r=e*ye(t,e,n);return Zt(n?-r:r)};return[o,{transform:o?Gt({x:c(e.x,t.x,Yt(r)&&s),y:c(e.y,t.y)}):""}]};C(A,n),C(z,n)}}},Ft:_,qt:{G:m,Wt:A,Xt:F,Yt:it(C,A)},Gt:{G:x,Wt:z,Xt:Z,Yt:it(C,z)}},()=>(Rt($,A[0].Ut),Rt($,z[0].Ut),it(B,H))]},jn=(t,e,n)=>{const{bt:r,kt:o,Jt:s}=e;return(e,l,i,a)=>{const{Ut:u,Mt:d,Vt:p}=e,[f,h]=at(333),[y,v]=at(),b=it(i,[e],a),w=!!o.scrollBy,g=`client${a?"X":"Y"}`,m=a?Q:tt,x=a?"left":"top",$=a?"w":"h",S=a?"x":"y",O=t=>t.propertyName.indexOf(m)>-1;let T=!0;return it(B,[ie(u,"pointerenter",(()=>{l(sn,!0)})),ie(u,"pointerleave pointercancel",(()=>{l(sn,!1)})),ie(u,"wheel",(t=>{const{deltaX:e,deltaY:n,deltaMode:s}=t;w&&T&&0===s&&Mt(u)===r&&o.scrollBy({left:e,top:n,behavior:"smooth"}),T=!1,l(un,!0),f((()=>{T=!0,l(un)})),ue(t)}),{H:!1,I:!0}),ie(p,"transitionstart",(t=>{if(O(t)){const t=()=>{b(),y(t)};t()}})),ie(p,"transitionend transitioncancel",(t=>{O(t)&&(v(),b())})),ie(u,"mousedown",it(ie,s,"click",ae,{A:!0,I:!0}),{I:!0}),(()=>{const e="pointerup pointerleave pointercancel lostpointercapture",l=(t,e)=>r=>{const{Lt:s}=n,c=te(d)[$]-te(p)[$],l=e*r/c*s[S];ve(o,{[S]:t+l})};return ie(d,"pointerdown",(n=>{const i=Ht(n.target,`.${nn}`)===p,a=i?p:d,u=t.scrollbars,{button:f,isPrimary:h,pointerType:y}=n,{pointers:v}=u;if(0===f&&h&&u[i?"dragScroll":"clickScroll"]&&(v||[]).includes(y)){const t=!i&&n.shiftKey,u=it(oe,p),f=it(oe,d),h=(t,e)=>(t||u())[x]-(e||f())[x],y=c(oe(o)[m])/te(o)[$]||1,v=l(be(o)[S]||0,1/y),b=n[g],w=u(),O=f(),T=w[m],P=h(w,O)+T/2,E=b-O[x],L=i?0:E-P,C=t=>{B(D),a.releasePointerCapture(t.pointerId)},D=[St(r,Ce,He),ie(s,e,C),ie(s,"selectstart",(t=>ue(t)),{H:!1}),ie(d,e,C),ie(d,"pointermove",(e=>{const n=e[g]-b;(i||t)&&v(L+n)}))];if(a.setPointerCapture(n.pointerId),t)v(L);else if(!i){const t=vn(Pn);t&&I(D,t(v,h,L,T,E))}}}))})(),h,v])}},_n=({wt:t})=>({Zt:e,un:n,Tt:r})=>{const{xt:o}=e||{},{$t:s}=n;t&&(o||r)&&Xt(t,{[tt]:s&&"100%"})},Un=({bt:t,cn:n,D:r,V:o},s)=>{const[c,l]=e({u:ct,o:qt()},it(qt,t,"padding",""));return({Et:t,Zt:e,un:i,Tt:a})=>{let[u,d]=l(a);const{L:p}=Cn(),{ht:f,Ht:h,Ct:y}=e||{},{N:v}=i,[b,w]=t("paddingAbsolute");(f||d||a||h)&&([u,d]=c(a));const g=!o&&(w||y||d);if(g){const t=!b||!n&&!p,e=u.r+u.l,o=u.t+u.b,c={[q]:t&&!v?-e:0,[G]:t?-o:0,[Y]:t&&v?-e:0,top:t?-u.t:0,right:t?v?-u.r:"auto":0,left:t?v?"auto":-u.l:0,[Q]:t&&`calc(100% + ${e}px)`},l={[F]:t?u.t:0,[Z]:t?u.r:0,[W]:t?u.b:0,[X]:t?u.l:0};Xt(n||r,c),Xt(r,l),ft(s,{cn:u,fn:!t,j:n?l:ft({},c,l)})}return{_n:g}}},Bn=(t,n)=>{const s=Cn(),{bt:c,cn:l,D:i,V:a,Ot:u,Rt:d,ln:p}=t,{L:f,T:h}=s,y=d&&a,v=it(o,0),b={u:ot,o:{w:0,h:0}},w={u:st,o:{x:et,y:et}},g=(t,e)=>{const n=r.devicePixelRatio%1!=0?1:0,o={w:v(t.w-e.w),h:v(t.h-e.h)};return{w:o.w>n?o.w:0,h:o.h>n?o.h:0}},[m,x]=e(b,it(re,i)),[$,S]=e(b,it(ne,i)),[O,T]=e(b),[P,E]=e(b),[L]=e(w),C=vn(On);return({Et:e,Zt:r,un:d,Tt:b},{_n:w})=>{const{ht:D,It:k,Ht:M,xt:H,Ct:A,zt:N}=r||{},{$t:R}=d,V=C&&C.M(t,n,d,s,e),{q:I,W:z,X:j,F:_}=V||{},U=(t,e)=>{if(Xt(i,{[tt]:""}),e){const{fn:e,cn:r}=n,{R:o}=t,s=re(c),l=ee(c),a="content-box"===Wt(i,"boxSizing"),u=e||a?r.b+r.t:0,d=!(h.x&&a);Xt(i,{[tt]:l.h+s.h+(o.x&&d&&_?_(t).U.x:0)-u})}},[B,F]=mn(e,s),[Z,X]=e("overflow"),W=!a&&(D||M||k||F||H),Y=D||w||M||A||N||F,q=xn(Z.x),G=xn(Z.y),Q=q||G;let et,nt=x(b),rt=S(b),ot=T(b),st=E(b);if(F&&f&&u(Ie,!B),W&&(et=$n(t),U(et,R)),Y){Q&&u(ze,!1);const[t,e]=z?z(et):[],[n,r]=nt=m(b),[s,c]=rt=$(b),l=ee(i),a=s,d=l;t&&t(),(c||r||F)&&e&&!B&&I&&I(e,s,n);const f=Qt(p),h={w:v(o(s.w,a.w)+n.w),h:v(o(s.h,a.h)+n.h)},w={w:v((y?f.w:d.w+v(l.w-s.w))+n.w),h:v((y?f.h:d.h+v(l.h-s.h))+n.h)};st=P(w),ot=O(g(h,w),b)}const[ct,lt]=st,[it,at]=ot,[ut,dt]=rt,[pt,ht]=nt,yt={x:it.w>0,y:it.h>0},vt=q&&G&&(yt.x||yt.y)||q&&yt.x&&!yt.y||G&&yt.y&&!yt.x;if(w||A||N||ht||dt||lt||at||X||F||W||Y){const e={},n=Sn(t,yt,Z,e);j&&j(n,d,!!I&&I(n,ut,pt),e),W&&U(n,R),a?(gt(c,De,e[J]),gt(c,ke,e[K])):Xt(i,e)}Ot(c,Ce,Me,vt),Ot(l,je,_e,vt),a||Ot(i,Re,ze,Q);const[bt,wt]=L($n(t).k);return ft(n,{k:bt,Pt:{x:ct.w,y:ct.h},Lt:{x:it.w,y:it.h},en:yt}),{sn:wt,tn:lt,nn:at}}},Fn=(t,e,n,r)=>{const o=Oe(e,{}),[s,c,l,i,a]=(t=>{const[e,n,r]=(t=>{const e=Cn(),{Z:n,L:r}=e,{elements:o}=n(),{host:s,padding:c,viewport:l,content:i}=o,a=k(t),u=a?{}:t,{elements:d}=u,{host:p,padding:f,viewport:h,content:y}=d||{},v=a?t:u.target,b=Dt(v,"textarea"),w=v.ownerDocument,g=w.documentElement,m=v===w.body,x=w.defaultView,$=()=>w.activeElement,S=t=>{t&&t.focus&&t.focus()},O=it(kn,[v]),T=it(Mn,[v]),P=it(Dn,[v]),E=it(It,""),L=it(O,E,l),C=it(T,E,i),D=L(h),M=D===v,H=M&&m,A=!M&&C(y),N=!M&&k(D)&&D===A,V=N&&!!P(i),z=V?L():D,j=V?A:C(),_=H?g:N?z:D,U=b?O(E,s,p):v,F=N?j:A,Z={gt:v,bt:H?_:U,D:_,cn:!M&&T(E,c,f),wt:F,kt:H?g:_,Kt:H?w:_,rn:m?g:v,ln:x,Jt:w,St:b,Rt:m,Dt:a,V:M,an:N,yt:t=>((t,e,n)=>xt(t,e).C(n))(_,M?Ce:Re,t),Ot:(t,e)=>Ot(_,M?Ce:Re,t,e)},X=pt(Z).reduce(((t,e)=>{const n=Z[e];return I(t,!(!n||!k(n)||Mt(n))&&n)}),[]),W=t=>t?R(X,t):null,{gt:Y,bt:q,cn:G,D:J,wt:K}=Z,Q=[()=>{mt(q,[Ce,Le]),mt(Y,Le),m&&mt(g,[Le,Ce])}],tt=b&&W(q);let et=b?Y:kt([K,J,G,q,Y].find((t=>!1===W(t))));const nt=H?Y:K||J,rt=it(B,Q);return[Z,()=>{const t=$(),e=t=>{Rt(Mt(t),kt(t)),At(t)},n=t=>t?ie(t,"focusin focusout focus blur",(t=>{ae(t),t.stopImmediatePropagation()}),{I:!0,H:!1}):lt,o=n(t);if(gt(q,Ce,M?"viewport":"host"),gt(G,je,""),gt(K,Ue,""),M||(gt(J,Re,""),m&&St(g,Ce,Ne)),tt&&(Vt(Y,q),I(Q,(()=>{Vt(q,Y),At(q)}))),Rt(nt,et),Rt(q,G),Rt(G||q,!M&&J),Rt(J,K),I(Q,[o,()=>{const t=$(),r=n(t);mt(G,je),mt(K,Ue),mt(J,[De,ke,Re]),W(K)&&e(K),W(J)&&e(J),W(G)&&e(G),S(t),r()}]),r&&!M&&(St(J,Re,Ie),I(Q,it(mt,J,Re))),M||x.top!==x||t!==v)S(t);else{const t="tabindex",e=wt(J,t);gt(J,t,"-1"),S(J);const n=()=>e?gt(J,t,e):mt(J,t),r=ie(w,"pointerdown keydown",(()=>{n(),r()}));I(Q,[n,r])}return o(),et=0,rt},rt]})(t),o={cn:{t:0,r:0,b:0,l:0},fn:!1,j:{[q]:0,[G]:0,[Y]:0,[F]:0,[Z]:0,[W]:0,[X]:0},Pt:{x:0,y:0},Lt:{x:0,y:0},k:{x:et,y:et},en:{x:!1,y:!1}},{gt:s,D:c,V:l}=e,{L:i,T:a}=Cn(),u=!i&&(a.x||a.y),d=[_n(e),Un(e,o),Bn(e,o)];return[n,t=>{const e={},n=u&&be(c),r=l?St(c,Ce,Ae):lt;return N(d,(n=>{ft(e,n(t,e)||{})})),r(),ve(c,n),!l&&ve(s,0),e},o,e,r]})(t),[u,d,p]=In(i,l,o,(t=>{b({},t)})),[f,h,,y]=((t,e,n,r,o,s)=>{let c,l,i,a,u,d=lt,p=0;const[f,h]=at(),[y,v]=at(),[b,w]=at(100),[g,m]=at(100),[x,$]=at(100),[S,O]=at((()=>p)),[T,P]=zn(t,o,r,jn(e,o,r)),{bt:E,Kt:L,Rt:C}=o,{Ft:D,Bt:k,Nt:M,jt:H}=T,A=t=>{D(ln,t,!0),D(ln,t,!1)},N=(t,e)=>{if(O(),t)D(an);else{const t=it(D,an,!0);p>0&&!e?S(t):t()}},R=t=>"mouse"===t.pointerType,V=t=>{R(t)&&(a=l,a&&N(!0))},z=[w,O,m,$,v,h,()=>d(),ie(E,"pointerover",V,{A:!0}),ie(E,"pointerenter",V),ie(E,"pointerleave",(t=>{R(t)&&(a=!1,l&&N(!1))})),ie(E,"pointermove",(t=>{R(t)&&c&&f((()=>{w(),N(!0),g((()=>{c&&N(!1)}))}))})),ie(L,"scroll",(t=>{y((()=>{M(),i&&N(!0),b((()=>{i&&!a&&N(!1)}))})),s(t),H()}))];return[()=>it(B,I(z,P())),({Et:t,Tt:e,Zt:o,Qt:s})=>{const{tn:a,nn:f,sn:h}=s||{},{Ct:y,dt:v}=o||{},{N:b}=n,{T:w}=Cn(),{k:g,en:m}=r,[$,S]=t("showNativeOverlaidScrollbars"),[O,T]=t("scrollbars.theme"),[P,E]=t("scrollbars.visibility"),[R,V]=t("scrollbars.autoHide"),[I,z]=t("scrollbars.autoHideSuspend"),[j]=t("scrollbars.autoHideDelay"),[_,U]=t("scrollbars.dragScroll"),[B,F]=t("scrollbars.clickScroll"),[Z,X]=t("overflow"),W=v&&!e,Y=m.x||m.y,q=a||f||y||e,G=h||E||X,J=$&&w.x&&w.y,K=(t,e,n)=>{const r=t.includes("scroll")&&("visible"===P||"auto"===P&&"scroll"===e);return D(rn,r,n),r};if(p=j,W&&(I&&Y?(A(!1),d(),x((()=>{d=ie(L,"scroll",it(A,!0),{A:!0})}))):A(!0)),S&&D(Ge,J),T&&(D(u),D(O,!0),u=O),z&&!I&&A(!0),V&&(c="move"===R,l="leave"===R,i="never"!==R,N(!i,!0)),U&&D(pn,_),F&&D(dn,B),G){const t=K(Z.x,g.x,!0),e=K(Z.y,g.y,!1);D(on,!(t&&e))}q&&(k(),M(),H(),D(cn,!m.x,!0),D(cn,!m.y,!1),D(Ke,b&&!C))},{},T]})(t,e,p,l,i,r),v=t=>pt(t).some((e=>!!t[e])),b=(t,r)=>{const{dn:o,Tt:s,At:l,vn:i}=t,a=o||{},u=!!s,f={Et:Oe(e,a,u),dn:a,Tt:u};if(i)return h(f),!1;const y=r||d(ft({},f,{At:l})),b=c(ft({},f,{un:p,Zt:y}));h(ft({},f,{Zt:y,Qt:b}));const w=v(y),g=v(b),m=w||g||!yt(a)||u;return m&&n(t,{Zt:y,Qt:b}),m};return[()=>{const{rn:t,D:e}=i,n=be(t),r=[u(),s(),f()];return ve(e,n),it(B,r)},b,()=>({hn:p,pn:l}),{gn:i,bn:y},a]},Zn=(t,e,n)=>{const{nt:r}=Cn(),o=k(t),s=o?t:t.target,c=An(s);if(e&&!c){let c=!1;const l=[],i={},a=t=>{const e=ht(t,!0),n=vn(bn);return n?n(e,!0):e},u=ft({},r(),a(e)),[d,p,f]=ge(),[h,y,v]=ge(n),b=(t,e)=>{v(t,e),f(t,e)},[w,g,m,S,O]=Fn(t,u,(({dn:t,Tt:e},{Zt:n,Qt:r})=>{const{ht:o,Ct:s,xt:c,Ht:l,It:i,dt:a}=n,{tn:u,nn:d,sn:p}=r;b("updated",[P,{updateHints:{sizeChanged:!!o,directionChanged:!!s,heightIntrinsicChanged:!!c,overflowEdgeChanged:!!u,overflowAmountChanged:!!d,overflowStyleChanged:!!p,contentMutation:!!l,hostMutation:!!i,appear:!!a},changedOptions:t||{},force:!!e}])}),(t=>b("scroll",[P,t]))),T=t=>{(t=>{Hn.delete(t)})(s),B(l),c=!0,b("destroyed",[P,t]),p(),y()},P={options(t,e){if(t){const n=e?r():{},o=Se(u,ft(n,a(t)));yt(o)||(ft(u,o),g({dn:o}))}return ft({},u)},on:h,off:(t,e)=>{t&&e&&y(t,e)},state(){const{hn:t,pn:e}=m(),{N:n}=t,{Pt:r,Lt:o,k:s,en:l,cn:i,fn:a}=e;return ft({},{overflowEdge:r,overflowAmount:o,overflowStyle:s,hasOverflow:l,padding:i,paddingAbsolute:a,directionRTL:n,destroyed:c})},elements(){const{gt:t,bt:e,cn:n,D:r,wt:o,kt:s,Kt:c}=S.gn,{qt:l,Gt:i}=S.bn,a=t=>{const{Vt:e,Mt:n,Ut:r}=t;return{scrollbar:r,track:n,handle:e}},u=t=>{const{Wt:e,Xt:n}=t,r=a(e[0]);return ft({},r,{clone:()=>{const t=a(n());return g({vn:!0}),t}})};return ft({},{target:t,host:e,padding:n||r,viewport:r,content:o||r,scrollOffsetElement:s,scrollEventElement:c,scrollbarHorizontal:u(l),scrollbarVertical:u(i)})},update:t=>g({Tt:t,At:!0}),destroy:it(T,!1),plugin:t=>i[pt(t)[0]]};return I(l,[O]),((t,e)=>{Hn.set(t,e)})(s,P),yn(fn,Zn,[P,d,i]),((t,e)=>{const{nativeScrollbarsOverlaid:n,body:r}=e||{},{T:o,L:s,Z:c}=Cn(),{nativeScrollbarsOverlaid:l,body:i}=c().cancel,a=null!=n?n:l,u=x(r)?i:r,d=(o.x||o.y)&&a,p=t&&($(u)?!s:u);return!!d||!!p})(S.gn.Rt,!o&&t.cancel)?(T(!0),P):(I(l,w()),b("initialized",[P]),P.update(!0),P)}return c};return Zn.plugin=t=>{const e=E(t),n=e?t:[t],r=n.map((t=>yn(t,Zn)[0]));return(t=>{N(t,(t=>N(t,((e,n)=>{fn[n]=t[n]}))))})(n),e?r:r[0]},Zn.valid=t=>{const e=t&&t.elements,n=P(e)&&e();return D(n)&&!!An(n.target)},Zn.env=()=>{const{P:t,T:e,L:n,J:r,G:o,st:s,et:c,Z:l,tt:i,nt:a,ot:u}=Cn();return ft({},{scrollbarsSize:t,scrollbarsOverlaid:e,scrollbarsHiding:n,rtlScrollBehavior:r,scrollTimeline:o,staticDefaultInitialization:s,staticDefaultOptions:c,getDefaultInitialization:l,setDefaultInitialization:i,getDefaultOptions:a,setDefaultOptions:u})},t.ClickScrollPlugin=En,t.OverlayScrollbars=Zn,t.ScrollbarsHidingPlugin=Tn,t.SizeObserverPlugin=gn,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t}({});
# Changelog
## 2.6.0
### Improvements
- Add `focusin` and `focusout` to the focus and blur event management when wrapping and unwrapping elements. [#605](https://github.com/KingSora/OverlayScrollbars/issues/605)
- The `scrollbars.visibility` option was unintuitive to use for adjusting visibility per axis. Its now only applied if the scrollbars scroll axis is able to have a scrollable overflow. [#611](https://github.com/KingSora/OverlayScrollbars/issues/611)
## 2.5.0

@@ -4,0 +11,0 @@

{
"name": "overlayscrollbars",
"version": "2.5.0",
"version": "2.6.0",
"description": "A scrollbar plugin that hides native scrollbars, provides custom styleable overlay scrollbars and keeps the native functionality and feeling.",

@@ -5,0 +5,0 @@ "author": "Rene Haas | KingSora",

@@ -333,3 +333,3 @@ <div align="center">

The base visibility of the scrollbars.
The visibility of a scrollbar if its scroll axis is able to have a scrollable overflow. (Scrollable overflow for an axis is only possible with the overflow behavior `'scroll'` or `'visible-scroll'`).

@@ -336,0 +336,0 @@ ### `scrollbars.autoHide`

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc