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.2.0 to 2.2.1

4

browser/overlayscrollbars.browser.es5.min.js
/*!
* OverlayScrollbars
* Version: 2.2.0
* Version: 2.2.1
*

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

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

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

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

@@ -4,0 +13,0 @@

{
"name": "overlayscrollbars",
"version": "2.2.0",
"version": "2.2.1",
"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",

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