overlayscrollbars
Advanced tools
Comparing version 2.3.0 to 2.3.1
/*! | ||
* OverlayScrollbars | ||
* Version: 2.3.0 | ||
* Version: 2.3.1 | ||
* | ||
@@ -11,2 +11,2 @@ * Copyright (c) Rene Haas | KingSora. | ||
var OverlayScrollbarsGlobal=function(n){"use strict";function r(n,t){if(y(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?Hn(n,o,t):t.reduce((function(r,t){return r[t]=Hn(n,o,t),r}),i)}return i}n&&r(H(t),(function(r){return zn(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)},m=function(n){return"object"==typeof n&&!g(n)&&!v(n)},y=function(n){var r=!!n&&n.length,t=h(r)&&r>-1&&r%1==0;return!(!(g(n)||!b(n)&&t)||r>0&&m(n)&&!(r-1 in n))},x=function(n){if(!n||!m(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)},S=function(n){var r=HTMLElement;return!!n&&(r?n instanceof r:n.nodeType===c)},O=function(n){var r=Element;return!!n&&(r?n instanceof r:n.nodeType===c)},E=function(n,r,t){return n.indexOf(r,t)},M=function(n,r,t){return t||p(r)||!y(r)?n.push(r):Array.prototype.push.apply(n,r),n},P=function(n){var t=Array.from,e=[];return t&&n?t(n):(n instanceof Set?n.forEach((function(n){M(e,n)})):r(n,(function(n){M(e,n)})),e)},R=function(n){return!!n&&0===n.length},L=function(n,t,e){r(n,(function(n){return n&&n.apply(void 0,t||[])})),!e&&(n.length=0)},C=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)},H=function(n){return n?Object.keys(n):[]},z=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(H(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},T=function(n){for(var r in n)return!1;return!0},A=function(n,r,t,e){if(d(e))return t?t[n]:r;t&&(p(e)||h(e))&&(t[n]=e)},k=function(n,r,t){if(d(t))return n?n.getAttribute(r):null;n&&n.setAttribute(r,t)},X=function(n,r){n&&n.removeAttribute(r)},D=function(n,r,t,e){if(t){var i=k(n,r)||"",o=new Set(i.split(" "));o[e?"add":"delete"](t);var u=P(o).join(" ").trim();k(n,r,u)}},B=function(n,r){return A("scrollLeft",0,n,r)},N=function(n,r){return A("scrollTop",0,n,r)},I=u()&&Element.prototype,j=function(n,r){var t=[],e=r?O(r)?r:null:document;return e?M(t,e.querySelectorAll(n)):t},F=function(n,r){return!!O(n)&&(I.matches||I.msMatchesSelector).call(n,r)},Y=function(n){return n?P(n.childNodes):[]},W=function(n){return n?n.parentElement:null},_=function(n,r){if(O(n)){var t=I.closest;if(t)return t.call(n,r);do{if(F(n,r))return n;n=W(n)}while(n)}return null},V=function(n,r,t){var e=n&&_(n,r),i=n&&function(n,r){var t=r?O(r)?r:null:document;return t?t.querySelector(n):null}(t,e),o=_(i,r)===e;return!(!e||!i)&&(e===n||i===n||o&&_(_(n,t),r)!==e)},$=function(n,t,e){if(e&&n){var i,o=t;y(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)}},J=function(n,r){$(n,null,r)},K=function(n,r){$(W(n),n,r)},G=function(n,r){$(W(n),n&&n.nextSibling,r)},q=function n(t){if(y(t))r(P(t),(function(r){return n(r)}));else if(t){var e=W(t);e&&e.removeChild(t)}},U=function(n){var r=document.createElement("div");return n&&k(r,"class",n),r},Z=function(n){var t=U();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 C(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=on("ScrollTimeline"),vn=u()&&window.setTimeout,sn=u()&&window.clearTimeout,hn=/[^\x20\t\r\n\f]+/g,pn=function(n,r,t){var e,i=n&&n.classList,o=0,u=!1;if(i&&r&&p(r)){var c=r.match(hn)||[];for(u=c.length>0;e=c[o++];)u=!!t(i,e)&&u}return u},wn=function(n,r){pn(n,r,(function(n,r){return n.remove(r)}))},bn=function(n,r){return pn(n,r,(function(n,r){return n.add(r)})),wn.bind(0,n,r)},gn=Math.max,mn=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},xn=function(n,r){return yn(n,r,["w","h"])},Sn=function(n,r){return yn(n,r,["x","y"])},On=function(n,r){return yn(n,r,["t","r","b","l"])},En=function(n,r,t){return yn(n,r,["width","height"],t&&function(n){return Math.round(n)})},Mn=function(){},Pn=function(n){var r,t=n?vn:ln,e=n?sn:fn;return[function(i){e(r),r=t(i,b(n)?n():n)},function(){return e(r)}]},Rn=function(n,r){var t,e,i,o=Mn,u=r||{},c=u.p,a=u.g,f=u._,l=function(r){o(),sn(t),t=e=void 0,o=Mn,n.apply(this,r)},d=function(n){return f&&e?f(e,n):n},v=function(){o!==Mn&&l(d(i)||i)},s=function(){var n=P(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?vn:ln,w=r>0?sn:fn,g=d(n),m=g||n,y=l.bind(0,m);o();var x=p(y,r);o=function(){return w(x)},s&&!t&&(t=vn(v,f)),e=i=m}else l(n)};return s.m=v,s},Ln={opacity:1,zIndex:1},Cn=function(n,r){var t=n||"",e=r?parseFloat(t):parseInt(t,10);return e==e?e:0},Hn=function(n,r,t){return String((null!=r?r[t]||r.getPropertyValue(t):n.style[t])||"")},zn=function(n,r,t){try{var e=n.style;d(e[r])?e.setProperty(r,t):e[r]=function(n,r){return!Ln[n]&&h(r)?r+"px":r}(r,t)}catch(a){}},Tn=function(n){return"rtl"===t(n,"direction")},An=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:Cn(l[u],!0),r:Cn(l[c],!0),b:Cn(l[a],!0),l:Cn(l[f],!0)}},kn=function(n,r){return"translate"+(g(n)?"("+n[0]+","+n[1]+")":(r?"X":"Y")+"("+n+")")},Xn=Math.round,Dn={w:0,h:0},Bn=function(n){return n?{w:n.offsetWidth,h:n.offsetHeight}:Dn},Nn=function(n){return n?{w:n.clientWidth,h:n.clientHeight}:Dn},In=function(n){return n?{w:n.scrollWidth,h:n.scrollHeight}:Dn},jn=function(n){var r=parseFloat(t(n,"height"))||0,e=parseFloat(t(n,"width"))||0;return{w:e-Xn(e),h:r-Xn(r)}},Fn=function(n){return n.getBoundingClientRect()},Yn=function(n){return!(!n||!n.height&&!n.width)},Wn=function(){if(d(e)){e=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){e=!0}}))}catch(n){}}return e},_n=function(n){return n.split(" ")},Vn=function(n,t,e,i){r(_n(t),(function(r){n.removeEventListener(r,e,i)}))},$n=function(n,t,e,i){var o,u=Wn(),c=null!=(o=u&&i&&i.S)?o:u,a=i&&i.O||!1,f=i&&i.C||!1,l=[],d=u?{passive:c,capture:a}:a;return r(_n(t),(function(r){var t=f?function(i){n.removeEventListener(r,t,a),e&&e(i)}:e;M(l,Vn.bind(null,n,r,t,a)),n.addEventListener(r,t,d)})),L.bind(0,l)},Jn=function(n){return n.stopPropagation()},Kn=function(n){return n.preventDefault()},Gn={x:0,y:0},qn=function(n){var r=n?Fn(n):0;return r?{x:r.left+window.pageYOffset,y:r.top+window.pageXOffset}:Gn},Un=function(n,t){r(g(t)?t:[t],n)},Zn=function(n){var t=new Map,e=function(n,r){if(n){var e=t.get(n);Un((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),Un((function(n){b(n)&&u.add(n)}),o),e.bind(0,i,o)}w(o)&&o&&e();var c=H(i),a=[];return r(c,(function(r){var t=i[r];t&&M(a,n(r,t))})),L.bind(0,a)};return i(n||{}),[i,e,function(n,e){var i=t.get(n);r(P(i),(function(n){e&&!R(e)?n.apply(0,e):n()}))}]},Qn=function(n){return JSON.stringify(n,(function(n,r){if(b(r))throw new Error;return r}))},nr={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},rr=function n(t,e){var i={};return r(H(e).concat(H(t)),(function(r){var o=t[r],u=e[r];if(m(o)&&m(u))z(i[r]={},n(o,u)),T(i[r])&&delete i[r];else if(C(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},tr="data-overlayscrollbars",er="os-environment",ir=er+"-flexbox-glue",or=ir+"-max",ur="os-scrollbar-hidden",cr=tr+"-initialize",ar=tr,fr=ar+"-overflow-x",lr=ar+"-overflow-y",dr="overflowVisible",vr="scrollbarHidden",sr="scrollbarPressed",hr="updating",pr=tr+"-viewport",wr="arrange",br="scrollbarHidden",gr=dr,mr=tr+"-padding",yr=gr,xr=tr+"-content",Sr="os-size-observer",Or=Sr+"-appear",Er=Sr+"-listener",Mr=Er+"-scroll",Pr=Er+"-item",Rr=Pr+"-final",Lr="os-trinsic-observer",Cr="os-no-css-vars",Hr="os-theme-none",zr="os-scrollbar",Tr=zr+"-rtl",Ar=zr+"-horizontal",kr=zr+"-vertical",Xr=zr+"-track",Dr=zr+"-handle",Br=zr+"-visible",Nr=zr+"-cornerless",Ir=zr+"-transitionless",jr=zr+"-interaction",Fr=zr+"-unusable",Yr=zr+"-auto-hide",Wr=Yr+"-hidden",_r=zr+"-wheel",Vr=Xr+"-interactive",$r=Dr+"-interactive",Jr={},Kr=function(){return Jr},Gr="__osOptionsValidationPlugin",qr=3333333,Ur="scroll",Zr="__osSizeObserverPlugin",Qr=function(n){return(n={})[Zr]={T:function(n,r,e){var i=Z('<div class="'+Pr+'" dir="ltr"><div class="'+Pr+'"><div class="'+Rr+'"></div></div><div class="'+Pr+'"><div class="'+Rr+'" style="width: 200%; height: 200%"></div></div></div>');J(n,i),bn(n,Mr);var o,u=i[0],c=u.lastChild,a=u.firstChild,f=null==a?void 0:a.firstChild,l=Bn(u),d=l,v=!1,s=function(){B(a,qr),N(a,qr),B(c,qr),N(c,qr)},h=function(n){o=0,v&&(l=d,r(!0===n))},p=function(n){d=Bn(u),v=!n||!xn(d,l),n?(Jn(n),v&&!o&&(fn(o),o=ln(h))):h(!1===n),s()},w=M([],[$n(a,Ur,p),$n(c,Ur,p)]);return t(f,{width:qr,height:qr}),ln(s),[e?p.bind(0,!1):s,w]}},n}(),nt=0,rt=Math.round,tt=Math.abs,et="__osScrollbarsHidingPlugin",it=function(n){return(n={})[et]={P:function(n){var r=n.A,t=n.H,e=!(n.L||r||!t.x&&!t.y)&&document.createElement("style");return e&&(k(e,"id",pr+"-"+wr+"-"+nt),nt++),e},M:function(n,e,i,o,u,c,a){return[function(r,e,c,a){if(n){var f=u().R,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,m=e.h+c.h,y={w:p&&s?p+g-w+"px":"",h:h&&v?h+m-b+"px":""};if(o){var x=o.sheet;if(x){var S=x.cssRules;if(S){S.length||x.insertRule("#"+k(o,"id")+" + ["+pr+"~='"+wr+"']::before {}",0);var O=S[0].style;O.width=y.w,O.height=y.h}}}else t(i,{"--os-vaw":y.w,"--os-vah":y.h})}return n},function(o,f,l){if(n){var d=l||c(o),v=u().R,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,H(w));return D(i,pr,wr),e||(w.height=""),t(i,w),[function(){a(d,f,n,g),t(i,g),D(i,pr,wr,!0)},d]}return[Mn]}]},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=tt(u.w),a=tt(u.h),f={w:tt(rt(o.w/(n.w/100))),h:tt(rt(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=tt(n),e=tt(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];z(t.V,h),p&&i()}n=o,r=l}}}},n}(),ot="__osClickScrollPlugin",ut=function(n){return(n={})[ot]={T:function(n,r,t,e,i){var o=0,u=Mn;return function c(a){u=function(n,r,t,e,i){var o=0,u=mn(),c=gn(0,133),a=function t(a){var f=mn(),l=f-u>=c,d=a?1:1-(gn(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}(),ct=function(n,r,t,e){J(n,r);var i=Nn(r),o=Bn(r),u=jn(t);return e&&q(r),{x:o.h-i.h+u.h,y:o.w-i.w+u.w}},at=function(n,r){var e="hidden";t(n,{overflowX:e,overflowY:e,direction:"rtl"}),B(n,0);var i=qn(n),o=qn(r);B(n,-999);var u=qn(r);return{i:i.x===o.x,n:o.x!==u.x}},ft=function(n,r){var t=bn(n,ir),e=Fn(n),i=Fn(r),o=En(i,e,!0),u=bn(n,or),c=Fn(n),a=Fn(r),f=En(a,c,!0);return t(),u(),o&&f},lt=function(){return i||(i=function(){var n,e=document.body,i=Z('<div class="'+er+'"><div></div></div>')[0],u=i.firstChild,a=Zn(),f=a[0],l=a[2],d=o({v:ct(e,i,u),o:Sn},ct.bind(0,e,i,u,!0)),v=d[0],s=(0,d[1])()[0],h=function(n){var e=!1,i=bn(n,ur);try{e="none"===t(n,function(n){var t=en[n];if(C(en,n))return t;var e=Q(n),i=U().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=z({},nr),g=z.bind(0,{},b),m=z.bind(0,{},w),y={V:s,H:p,A:h,L:"-1"===t(i,"zIndex"),B:!!dn,j:at(i,u),F:ft(i,u),U:f.bind(0,"z"),q:f.bind(0,"r"),N:m,Y:function(n){return z(w,n)&&m()},W:g,G:function(n){return z(b,n)&&g()},X:z({},w),Z:z({},b)},x=window.addEventListener,S=Rn((function(n){return l(n?"z":"r")}),{p:33,g:99});return X(i,"style"),q(i),x("resize",S.bind(0,!1)),h||p.x&&p.y||x("resize",(function(){var r=Kr()[et];(n=n||r&&r.k())&&n(y,v,S.bind(0,!0))})),y}()),i},dt=function(n,r){return b(r)?r.apply(0,n):r},vt=function(n,r,t,e){var i=d(e)?t:e;return dt(n,i)||r.apply(0,n)},st=function(n,r,t,e){var i=d(e)?t:e,o=dt(n,i);return!!o&&(S(o)?o:r.apply(0,n))},ht=function(n,r,t){var e=t||{},i=e.nativeScrollbarsOverlaid,o=e.body,u=lt(),c=u.H,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},pt=new WeakMap,wt=function(n){return pt.get(n)},bt=function(n,r){return n?r.split(".").reduce((function(n,r){return n&&C(n,r)?n[r]:void 0}),n):void 0},gt=function(n,r,t){return function(e){return[bt(n,e),t||void 0!==bt(r,e)]}},mt=function(n){var r=n;return[function(){return r},function(n){r=z({},r,n)}]},yt="tabindex",xt=U.bind(0,""),St=function(n){J(W(n),Y(n)),q(n)},Ot=function(n){var r=lt(),t=r.N,e=r.A,i=Kr()[et],o=i&&i.P,u=t().elements,c=u.host,a=u.padding,f=u.viewport,l=u.content,d=S(n),v=d?{}:n,s=v.elements||{},h=s.host,p=s.padding,w=s.viewport,b=s.content,g=d?n:v.target,m=F(g,"textarea"),y=g.ownerDocument,x=y.documentElement,O=g===y.body,P=y.defaultView,R=vt.bind(0,[g]),C=st.bind(0,[g]),z=dt.bind(0,[g]),T=R.bind(0,xt,f),A=C.bind(0,xt,l),B=T(w),N=B===g,I=N&&O,j=!N&&A(b),_=!N&&S(B)&&B===j,V=_&&!!z(l),$=V?T():B,U=V?j:A(),Z=I?x:_?$:B,Q=m?R(xt,c,h):g,nn=I?Z:Q,rn=_?U:j,tn=y.activeElement,en=!N&&P.top===P&&tn===g,on={K:g,$:nn,J:Z,rr:!N&&C(xt,a,p),ar:rn,er:!N&&!e&&o&&o(r),nr:I?x:Z,tr:I?y:Z,ir:P,vr:y,ur:m,lr:O,cr:d,sr:N,dr:_,hr:function(n,r){return function(n,r,t){var e=k(n,r)||"";return new Set(e.split(" ")).has(t)}(Z,N?ar:pr,N?r:n)},pr:function(n,r,t){return D(Z,N?ar:pr,N?r:n,t)}},un=H(on).reduce((function(n,r){var t=on[r];return M(n,!(!t||!S(t)||W(t))&&t)}),[]),cn=function(n){return n?E(un,n)>-1:null},an=on.K,fn=on.$,ln=on.rr,dn=on.J,vn=on.ar,sn=on.er,hn=[function(){X(fn,ar),X(fn,cr),X(an,cr),O&&(X(x,ar),X(x,cr))}],pn=m&&cn(fn),wn=m?an:Y([vn,dn,ln,fn,an].find((function(n){return!1===cn(n)}))),gn=I?an:vn||dn;return[on,function(){k(fn,ar,N?"viewport":"host"),k(ln,mr,""),k(vn,xr,""),N||k(dn,pr,"");var n=O&&!N?bn(W(g),ur):Mn;if(pn&&(G(an,fn),M(hn,(function(){G(fn,an),q(fn)}))),J(gn,wn),J(fn,ln),J(ln||fn,!N&&dn),J(dn,vn),M(hn,(function(){n(),X(ln,mr),X(vn,xr),X(dn,fr),X(dn,lr),X(dn,pr),cn(vn)&&St(vn),cn(dn)&&St(dn),cn(ln)&&St(ln)})),e&&!N&&(D(dn,pr,br,!0),M(hn,X.bind(0,dn,pr))),sn&&(K(dn,sn),M(hn,q.bind(0,sn))),en){var r=k(dn,yt);k(dn,yt,"-1"),dn.focus();var t=function(){return r?k(dn,yt,r):X(dn,yt)},i=$n(y,"pointerdown keydown",(function(){t(),i()}));M(hn,[t,i])}else tn&&tn.focus&&tn.focus();wn=0},L.bind(0,hn)]},Et=function(n,r){var e=n.ar,i=r[0];return function(n){var r=lt().F,o=i().gr,u=n._r,c=(e||!r)&&u;return c&&t(e,{height:o?"":"100%"}),{mr:c,br:c}}},Mt=function(n,r){var e=r[0],i=r[1],u=n.$,c=n.rr,a=n.J,f=n.sr,l=o({o:On,v:An()},An.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=lt(),p=h.A,w=h.F,b=e().wr,g=n.mr,m=n.br,y=n.Sr,x=r("paddingAbsolute"),S=x[0],O=x[1];if(g||s||!w&&m){var E=d(o);l=E[0],s=E[1]}var M=!f&&(O||y||s);if(M){var P=!S||!c&&!p,R=l.r+l.l,L=l.t+l.b,C={marginRight:P&&!b?-R:0,marginBottom:P?-L:0,marginLeft:P&&b?-R:0,top:P?-l.t:0,right:P?b?-l.r:"auto":0,left:P?b?"auto":-l.l:0,width:P?"calc(100% + "+R+"px)":""},H={paddingTop:P?l.t:0,paddingRight:P?l.r:0,paddingBottom:P?l.b:0,paddingLeft:P?l.l:0};t(c||a,C),t(a,H),i({rr:l,yr:!P,R:c?H:z({},C,H)})}return{Or:M}}},Pt=Math.max,Rt=Pt.bind(0,0),Lt="visible",Ct="hidden",Ht=42,zt={o:xn,v:{w:0,h:0}},Tt={o:Sn,v:{x:Ct,y:Ct}},At=function(n){return 0===n.indexOf(Lt)},kt=function(n,r){var e=r[0],i=r[1],u=n.$,c=n.rr,a=n.J,f=n.er,l=n.sr,d=n.pr,v=n.lr,s=n.ir,h=lt(),p=h.V,w=h.F,b=h.A,g=h.H,m=Kr()[et],y=!l&&!b&&(g.x||g.y),x=v&&l,S=o(zt,jn.bind(0,a)),O=S[0],E=S[1],M=o(zt,In.bind(0,a)),P=M[0],R=M[1],L=o(zt),C=L[0],H=L[1],z=o(zt),T=z[0],A=z[1],X=o(Tt)[0],B=function(n,r){if(t(a,{height:""}),r){var i=e(),o=i.yr,c=i.rr,f=n.Cr,l=n.I,d=jn(u),v=Nn(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:Ht,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{Er:{x:u,y:d[0]},Cr:{x:c,y:d[1]},I:{x:f,y:d[2]},D:{x:l,y:d[3]}}},I=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().R,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))},j=m?m.M(y,w,a,f,e,N,I):[function(){return y},function(){return[Mn]}],F=j[0],Y=j[1];return function(n,r,o){var f,v=n.mr,h=n.Tr,p=n.br,m=n.Or,y=n._r,S=n.Sr,M=e(),L=M.gr,z=M.wr,j=r("showNativeOverlaidScrollbars"),W=j[0],_=j[1],V=r("overflow"),$=V[0],J=V[1],K=W&&g.x&&g.y,G=!l&&!w&&(v||p||h||_||y),q=At($.x),U=At($.y),Z=q||U,Q=E(o),nn=R(o),rn=H(o),tn=A(o);if(_&&b&&d(br,vr,!K),G&&(f=N(K),B(f,L)),v||m||p||S||_){Z&&d(gr,dr,!1);var en=Y(K,z,f),on=en[0],un=en[1],cn=Q=O(o),an=cn[0],fn=cn[1],ln=nn=P(o),dn=ln[0],vn=ln[1],sn=Nn(a),hn=dn,pn=sn;on(),(vn||fn||_)&&un&&!K&&F(un,dn,an,z)&&(pn=Nn(a),hn=In(a));var wn={w:Rt(Pt(dn.w,hn.w)+an.w),h:Rt(Pt(dn.h,hn.h)+an.h)},bn={w:Rt((x?s.innerWidth:pn.w+Rt(sn.w-dn.w))+an.w),h:Rt((x?s.innerHeight+an.h:pn.h+Rt(sn.h-dn.h))+an.h)};tn=T(bn),rn=C(function(n,r){var t=window.devicePixelRatio%1!=0?1:0,e={w:Rt(n.w-r.w),h:Rt(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,mn=gn[0],yn=gn[1],xn=rn,Sn=xn[0],On=xn[1],En=nn,Mn=En[0],Pn=En[1],Rn=Q,Ln=Rn[0],Cn=Rn[1],Hn={x:Sn.w>0,y:Sn.h>0},zn=q&&U&&(Hn.x||Hn.y)||q&&Hn.x&&!Hn.y||U&&Hn.y&&!Hn.x;if(m||S||Cn||Pn||yn||On||J||_||G){var Tn={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},An=function(n,r,t,e){var i=function(n,r){var t=At(n),e=r&&t&&n.replace(Lt+"-","")||"";return[r&&!t?n:"",At(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)}(K,Hn,$,Tn),kn=F(An,Mn,Ln,z);l||I(An,z,kn,Tn),G&&B(An,L),l?(k(u,fr,Tn.overflowX),k(u,lr,Tn.overflowY)):t(a,Tn)}D(u,ar,dr,zn),D(c,mr,yr,zn),l||D(a,pr,gr,Z);var Xn=X(N(K).Er),Dn=Xn[0],Bn=Xn[1];return i({Er:Dn,zr:{x:mn.w,y:mn.h},Pr:{x:Sn.w,y:Sn.h},Ar:Hn}),{Hr:Bn,Lr:yn,Mr:On}}},Xt=function(n,t,e){var i={},o=t||{};return r(H(n).concat(H(o)),(function(r){var t=n[r],u=o[r];i[r]=!!(e||t||u)})),i},Dt=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):j(e,n));o&&o.length&&i&&p(i)&&M(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=$n(r,u,(function(n){o?(a(),i.delete(r)):t(n)}));i.set(r,M(c,a))}else L(c),i.delete(r)}))}))}};return e&&(i=new WeakMap,u()),[function(){o=!0},u]},Bt=function(n,t,e,i){var o=!1,u=i||{},c=u.Ir,a=u.Dr,f=u.kr,l=u.Vr,d=u.Br,v=u.jr,s=Rn((function(){o&&e(!0)}),{p:33,g:99}),h=Dt(n,s,f),w=h[0],b=h[1],g=a||[],m=(c||[]).concat(g),y=function(o,u){var c=d||Mn,a=v||Mn,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,m=e.removedNodes,y="attributes"===d,x="childList"===d,S=n===u,O=y&&p(o)?k(u,o):0,M=0!==O&&v!==O,P=E(g,o)>-1&&M;if(t&&(x||!S)){var R=!y,L=y&&M,C=L&&l&&F(u,l),H=(C?!c(u,o,v,O):R||L)&&!a(e,!!C,n,i);r(b,(function(n){return f.add(n)})),r(m,(function(n){return f.add(n)})),w=w||H}!t&&S&&M&&!c(u,o,v,O)&&(s.add(o),h=h||P)})),f.size>0&&b((function(n){return P(f).reduce((function(r,t){return M(r,j(n,t)),F(t,n)?M(r,t):r}),[])})),t)return!u&&w&&e(!1),[!1];if(s.size>0||h){var m=[P(s),h];return!u&&e.apply(0,m),m}},x=new un((function(n){return y(n)}));return x.observe(n,{attributes:!0,attributeOldValue:!0,attributeFilter:m,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!R(n)&&y(n,!0)}}]},Nt=3333333,It=function(n,r,t){var e=t||{},i=e.Fr,u=void 0!==i&&i,c=e.Rr,a=void 0!==c&&c,f=Kr()[Zr],l=lt().j,d=Z('<div class="'+Sr+'"><div class="'+Er+'"></div></div>')[0],v=d.firstChild,s=Tn.bind(0,n),h=o({v:void 0,u:!0,o:function(n,r){return!(!n||!Yn(n)&&Yn(r))}}),p=h[0],b=function(n){var t=g(n)&&n.length>0&&m(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=Yn(f),h=Yn(v);o=!h&&s,c=!(i=!v&&!!h||!s)}else e?c=n[1]:o=!0===n;if(u&&c){var b=e?n[0]:Tn(d);B(d,b?l.n?-Nt:l.i?0:Nt:Nt),N(d,Nt)}i||r({mr:!e,Ur:e?n:void 0,Rr:!!o})},y=[],x=!!a&&b;return[function(){L(y),q(d)},function(){if(an){var r=new an(b);r.observe(v),M(y,(function(){r.disconnect()}))}else if(f){var t=f.T(v,b,a),e=t[0],i=t[1];x=e,M(y,i)}if(u){var c=o({v:void 0},s)[0];M(y,$n(d,"scroll",(function(n){var r=c(),t=r[0],e=r[1],i=r[2];e&&(wn(v,"ltr rtl"),bn(v,t?"rtl":"ltr"),b([!!t,e,i])),Jn(n)})))}x&&(bn(d,Or),M(y,$n(d,"animationstart",x,{C:!!an}))),(an||f)&&J(n,d)}]},jt=function(n,r){var t,e=U(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(){L(i),q(e)},function(){if(cn)(t=new cn((function(n){return a(n)}),{root:n})).observe(e),M(i,(function(){t.disconnect()}));else{var r=function(){var n=Bn(e);c(n)},o=It(e,r),u=o[0],f=o[1];M(i,u),f(),r()}J(n,e)},function(){if(t)return a(t.takeRecords(),!0)}]},Ft="["+ar+"]",Yt="["+pr+"]",Wt=["tabindex"],_t=["wrap","cols","rows"],Vt=["id","class","style","open"],$t=function(n,t,e){var i,u,c,a,f=n.$,l=n.J,d=n.ar,v=n.ur,s=n.sr,w=n.hr,m=n.pr,y=lt().F,x=o({o:xn,v:{w:0,h:0}},(function(){var n=w(gr,dr),r=w(wr,""),t=r&&B(l),e=r&&N(l);m(gr,dr),m(wr,""),m("",hr,!0);var i=In(d),o=In(l),u=jn(l);return m(gr,dr,n),m(wr,"",r),m("",hr),B(l,t),N(l,e),{w:o.w+i.w+u.w,h:o.h+i.h+u.h}})),S=x[0],O=v?_t:Vt.concat(_t),P=Rn(e,{p:function(){return i},g:function(){return u},_:function(n,r){var t=n[0],e=r[0];return[H(t).concat(H(e)).reduce((function(n,r){return n[r]=t[r]||e[r],n}),{})]}}),R=function(n){r(n||Wt,(function(n){if(E(Wt,n)>-1){var r=k(f,n);p(r)?k(l,n,r):X(l,n)}}))},L=function(n,r){var i=n[0],o={_r:n[1]};return t({gr:i}),!r&&e(o),o},C=function(n){var r=n.mr,i=n.Ur,o=n.Rr,u=!r||o?e:P,c=!1;if(i){var a=i[0];c=i[1],t({wr:a})}u({mr:r,Rr:o,Sr:c})},T=function(n,r){var t=S()[1],i={br:t};return t&&!r&&(n?e:P)(i),i},A=function(n,r,t){var e={Tr:r};return r?!t&&P(e):s||R(n),e},D=d||!y?jt(f,L):[Mn,Mn,Mn],I=D[0],j=D[1],F=D[2],Y=s?[Mn,Mn]:It(f,C,{Rr:!0,Fr:!0}),W=Y[0],$=Y[1],J=Bt(f,!1,A,{Dr:Vt,Ir:Vt.concat(Wt)}),K=J[0],G=J[1],q=s&&an&&new an((function(n){var r=n[n.length-1].contentRect,t=Yn(r),e=Yn(a);C({mr:!0,Rr:!e&&t}),a=r}));return[function(){I(),W(),c&&c[0](),q&&q.disconnect(),K()},function(){q&&q.observe(f),R(),$(),j()},function(){var n={},r=G(),t=F(),e=c&&c[1]();return r&&z(n,A.apply(0,M(r,!0))),t&&z(n,L.apply(0,M(t,!0))),e&&z(n,T.apply(0,M(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"),f=a[0],v=a[1],p=n("update.debounce"),w=p[0],m=p[1],y=function(n){return b(r)&&r(n)};if((v||o)&&(c&&(c[1](),c[0]()),c=Bt(d||l,!0,T,{Ir:O.concat(e||[]),kr:f,Vr:Ft,jr:function(n,r){var t=n.target,e=n.attributeName;return!(r||!e||s)&&V(t,Ft,Yt)||!!_(t,"."+zr)||!!y(n)}})),m)if(P.m(),g(w)){var x=w[0],S=w[1];i=h(x)&&x,u=h(S)&&S}else h(w)?(i=w,u=!1):(i=!1,u=!1)}]},Jt={x:0,y:0},Kt=function(n,t){var e=gt(t,{}),i=Zn(),o=i[0],u=i[1],c=i[2],a=Ot(n),f=a[0],l=a[1],d=a[2],v=mt(function(n){return{rr:{t:0,r:0,b:0,l:0},yr:!1,R:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zr:Jt,Pr:Jt,Er:{x:"hidden",y:"hidden"},Ar:{x:!1,y:!1},gr:!1,wr:Tn(n.$)}}(f)),s=v[0],h=v[1],p=function(n,t){var e=n.K,i=n.J,o=n.pr,u=n.sr,c=lt(),a=c.A,f=c.H,l=c.F,d=!a&&(f.x||f.y),v=[Et(n,t),Mt(n,t),kt(n,t)];return function(n,t,c){var a=Xt(z({mr:!1,Or:!1,Sr:!1,_r:!1,Lr:!1,Mr:!1,Hr:!1,Tr:!1,br:!1,Rr:!1},t),{},c),f=d||!l,s=f&&B(i),h=f&&N(i);o("",hr,!0);var p=a;return r(v,(function(r){p=Xt(p,r(p,n,!!c)||{},c)})),B(i,s),N(i,h),o("",hr),u||(B(e,0),N(e,0)),p}}(f,v),w=function(n,r,t){var e=H(n).some((function(r){return!!n[r]})),i=e||!T(r)||t;return i&&c("u",[n,r,t]),i},b=$t(f,h,(function(n){return w(p(e,n),{},!1)})),g=b[0],m=b[1],y=b[2],x=b[3],S=s.bind(0);return S.qr=function(n){return o("u",n)},S.Nr=function(){var n=f.K,r=f.J,t=f.vr,e=f.lr?t.documentElement:n,i=B(e),o=N(e);m(),l(),B(r,i),N(r,o)},S.Yr=f,[function(n,r){var e=gt(t,n,r);return x(e),w(p(e,y(),r),n,!!r)},S,function(){u(),g(),d()}]},Gt=Math.round,qt="pointerup pointerleave pointercancel lostpointercapture",Ut=function(n,r){return $n(n,"mousedown",$n.bind(0,r,"click",Jn,{C:!0,O:!0}),{O:!0})},Zt=function(n,r,t,e,i,o,u){var c=lt().j,a=e.Wr,f=e.Gr,l=e.Xr,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=Bn(f)[p]-Bn(a)[p],s=r*t/v*e[w],h=Tn(l)&&u?c.n||c.i?1:-1:1;i[d]=n+s*h}};return $n(f,"pointerdown",(function(e){var o=_(e.target,"."+Dr)===a,u=o?a:f;if(D(r,ar,sr,!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 Fn(a)},p=function(){return Fn(f)},g=function(n,r){return(n||l())[h]-(r||p())[h]},m=b(i[d]||0,1/function(n){var r=Fn(n),t=r.width,e=r.height,i=Bn(n),o=i.w,u=i.h;return{x:Gt(t)/o||1,y:Gt(e)/u||1}}(i)[w]),y=e[v],x=l(),S=p(),O=x[s],E=g(x,S)+O/2,P=y-S[h],R=o?0:P-E,C=function(n){L(H),u.releasePointerCapture(n.pointerId)},H=[D.bind(0,r,ar,sr),$n(t,qt,C),$n(t,"selectstart",(function(n){return Kn(n)}),{S:!1}),$n(f,qt,C),$n(f,"pointermove",(function(n){var r=n[v]-y;(o||c)&&m(R+r)}))];if(c)m(R);else if(!o){var z=Kr()[ot];z&&M(H,z.T(m,g,R,O,P))}u.setPointerCapture(e.pointerId)}}))},Qt=function(n,r,t){var e=n.Wr;if(!r)return Mn;var i=e.animate(function(n){var r;return(r={transform:[kn("0%",n),kn("-100%",n)]})[n?"left":"top"]=["0%","100%"],r}(t),{timeline:r});return function(){i.cancel()}},ne=function(n,r){return function(t,e,i,o,u,c,a){var f=t.Xr,l=Pn(333),d=l[0],v=l[1],s=!!u.scrollBy,h=!0;return L.bind(0,[$n(f,"pointerenter",(function(){e(jr,!0)})),$n(f,"pointerleave pointercancel",(function(){e(jr)})),$n(f,"wheel",(function(n){var r=n.deltaX,t=n.deltaY,i=n.deltaMode;s&&h&&0===i&&W(f)===o&&u.scrollBy({left:r,top:t,behavior:"smooth"}),h=!1,e(_r,!0),d((function(){h=!0,e(_r)})),Kn(n)}),{S:!1,O:!0}),Ut(f,i),Zt(n,o,i,t,u,r,a),Qt(t,c,a),v])}},re=Math.min,te=Math.max,ee=Math.abs,ie=Math.round,oe=function(n,r,t,e){if(e){var i=t?"x":"y",o=e.Pr,u=e.zr[i],c=o[i];return te(0,re(1,u/(u+c)))}var a=t?"width":"height",f=Fn(n)[a],l=Fn(r)[a];return te(0,re(1,f/l))},ue=function(n){return Math.max(0,n-.5)+"px"},ce=function(n,r,t,e){return n.animate({transform:[kn("0px",e),kn(ue(t),e)]},{timeline:r,composite:"add"})},ae=function(n,r){return dn?new dn({source:n,axis:r}):null},fe=function(n,e,i){var o=lt(),u=o.N,c=o.L,a=u().scrollbars.slot,f=e.vr,l=e.K,d=e.$,v=e.J,s=e.cr,h=e.nr,p=e.lr,b=e.sr,g=((s?{}:n).scrollbars||{}).slot,m=new Map,y=ae(h,"x"),x=ae(h,"y"),S=st([l,d,v],(function(){return b&&p?l:d}),a,g),O=function(n){return b&&!p&&W(n)===v},E=function(){m.forEach((function(n){(n||[]).forEach((function(n){n.cancel()}))}))},P=function(n,t,e){var i=e?bn:wn;r(n,(function(n){i(n.Xr,t)}))},C=function(n,e){r(n,(function(n){var r=e(n);t(r[0],r[1])}))},H=function(n,r,t){C(n,(function(n){var e,i=n.Wr,o=n.Gr;return[i,(e={},e[t?"width":"height"]=(100*oe(i,o,t,r)).toFixed(3)+"%",e)]}))},z=function(n,r,t){x||x||C(n,(function(n){var e=n.Wr,i=n.Gr,o=n.Xr,u=function(n,r,t,e,i,o){var u=lt().j,c=o?"x":"y",a=o?"Left":"Top",f=e.Pr,l=ie(f[c]),d=ee(t["scroll"+a]),v=o&&i,s=u.i?d:l-d,h=re(1,(v?s:d)/l),p=oe(n,r,o);return 1/p*(1-p)*h}(e,i,h,r,Tn(o),t);return[e,{transform:u==u?kn((100*u).toFixed(3)+"%",t):""}]}))},T=function(n){var r=n.Xr,t=O(r)&&r;return[t,{transform:t?kn([B(h)+"px",N(h)+"px"]):""}]},A=[],k=[],X=[],D=function(n,r,t){var e=w(t),i=!e||!t;(!e||t)&&P(k,n,r),i&&P(X,n,r)},I=function(n){var r=n?Ar:kr,t=n?k:X,e=R(t)?Ir:"",o=U(zr+" "+r+" "+e),u=U(Xr),a=U(Dr),l={Xr:o,Gr:u,Wr:a};return c||bn(o,Cr),J(o,u),J(u,a),M(t,l),M(A,[function(){E(),m.clear()},q.bind(0,o),i(l,D,f,d,h,n?y:x,n)]),l},j=I.bind(0,!0),F=I.bind(0,!1);return j(),F(),[{Zr:function(n){H(k,n,!0),H(X,n)},Kr:function(n){z(k,n,!0),z(X,n)},$r:function(n){var r=n.Pr;E(),X.concat(k).forEach((function(n){var t=n.Xr;O(t)&&m.set(t,[ce(t,y,r.x,!0),ce(t,x,r.y)])}))},Jr:function(){x||x||(b&&C(k,T),b&&C(X,T))},Qr:D,ra:{B:y,aa:k,ea:j,na:C.bind(0,k)},ta:{B:x,aa:X,ea:F,na:C.bind(0,X)}},function(){J(S,k[0].Xr),J(S,X[0].Xr),vn((function(){D(Ir)}),300)},L.bind(0,A)]},le=function(n,r,t,e){var i,o,u,c,a,f=0,l=mt({})[0],d=Pn(),v=d[0],s=d[1],h=Pn(),p=h[0],w=h[1],b=Pn(100),g=b[0],m=b[1],y=Pn(100),x=y[0],S=y[1],O=Pn(100),E=O[0],M=O[1],P=Pn((function(){return f})),R=P[0],C=P[1],H=fe(n,t.Yr,ne(r,t)),z=H[0],T=H[1],A=H[2],k=t.Yr,X=k.$,D=k.tr,B=k.lr,N=z.Qr,I=z.Zr,j=z.Kr,F=z.$r,Y=z.Jr,W=function(n){N(Yr,n,!0),N(Yr,n,!1)},_=function(n,r){if(C(),n)N(Wr);else{var t=function(){return N(Wr,!0)};f>0&&!r?R(t):t()}},V=function(){(c=o)&&_(!0)},$=[m,C,S,M,w,s,A,$n(X,"pointerover",V,{C:!0}),$n(X,"pointerenter",V),$n(X,"pointerleave",(function(){c=!1,o&&_(!1)})),$n(X,"pointermove",(function(){i&&v((function(){m(),_(!0),x((function(){i&&_(!1)}))}))})),$n(D,"scroll",(function(n){p((function(){j(t()),u&&_(!0),g((function(){u&&!c&&_(!1)}))})),e(n),Y()}))],J=l.bind(0);return J.Yr=z,J.Nr=T,[function(n,e,c){var l=c.Lr,d=c.Mr,v=c.Hr,s=c.Sr,h=c.Rr,p=lt().H,w=gt(r,n,e),b=t(),g=b.Pr,m=b.Er,y=b.wr,x=b.Ar,S=w("showNativeOverlaidScrollbars"),O=S[0],M=S[1],P=w("scrollbars.theme"),R=P[0],L=P[1],C=w("scrollbars.visibility"),H=C[0],z=C[1],T=w("scrollbars.autoHide"),A=T[0],k=T[1],X=w("scrollbars.autoHideSuspend"),V=X[0],J=X[1],K=w("scrollbars.autoHideDelay")[0],G=w("scrollbars.dragScroll"),q=G[0],U=G[1],Z=w("scrollbars.clickScroll"),Q=Z[0],nn=Z[1],rn=h&&!e,tn=l||d||s,en=v||z,on=O&&p.x&&p.y,un=function(n,r){var t="visible"===H||"auto"===H&&"scroll"===n;return N(Br,t,r),t};if(f=K,M&&N(Hr,on),L&&(N(a),N(R,!0),a=R),(J||rn)&&(V&&rn&&(x.x||x.y)?(W(!1),E((function(){return $.push($n(D,"scroll",W.bind(0,!0),{C:!0}))}))):W(!0)),k&&(i="move"===A,o="leave"===A,_(!(u="never"!==A),!0)),U&&N($r,q),nn&&N(Vr,Q),en){var cn=un(m.x,!0),an=un(m.y,!1);N(Nr,!(cn&&an))}tn&&(I(b),j(b),F(b),Y(),N(Fr,!g.x,!0),N(Fr,!g.y,!1),N(Tr,y&&!B))},J,L.bind(0,$)]},de=function(n,r,t){b(n)&&n(r||void 0,t||void 0)},ve=function(n,t,e){var i=lt(),o=i.W,u=i.N,c=i.U,a=i.q,f=Kr(),l=S(n),d=l?n:n.target,v=wt(d);if(t&&!v){var s=!1,h=function(n){var r=Kr()[Gr],t=r&&r.T;return t?t(n,!0):n},p=z({},o(),h(t)),w=Zn(e),b=w[0],g=w[1],m=w[2],y=Kt(n,p),x=y[0],O=y[1],E=y[2],M=le(n,p,O,(function(n){return m("scroll",[B,n])})),P=M[0],R=M[1],L=M[2],C=function(n,r){return x(n,!!r)},A=C.bind(0,{},!0),k=c(A),X=a(A),D=function(n){!function(n){pt.delete(n)}(d),k(),X(),L(),E(),s=!0,m("destroyed",[B,!!n]),g()},B={options:function(n,r){if(n){var t=r?o():{},e=rr(p,z(t,h(n)));T(e)||(z(p,e),C(e))}return z({},p)},on:b,off:function(n,r){n&&r&&g(n,r)},state:function(){var n=O(),r=n.zr,t=n.Pr,e=n.Er,i=n.Ar,o=n.rr,u=n.yr,c=n.wr;return z({},{overflowEdge:r,overflowAmount:t,overflowStyle:e,hasOverflow:i,padding:o,paddingAbsolute:u,directionRTL:c,destroyed:s})},elements:function(){var n=O.Yr,r=n.K,t=n.$,e=n.rr,i=n.J,o=n.ar,u=n.nr,c=n.tr,a=R.Yr,f=a.ra,l=a.ta,d=function(n){var r=n.Wr,t=n.Gr;return{scrollbar:n.Xr,track:t,handle:r}},v=function(n){var r=n.aa,t=n.ea,e=d(r[0]);return z({},e,{clone:function(){var n=d(t());return P({},!0,{}),n}})};return z({},{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 C({},n)},destroy:D.bind(0)};return O.qr((function(n,r,t){P(r,t,n)})),function(n,r){pt.set(n,r)}(d,B),r(H(f),(function(n){return de(f[n],0,B)})),ht(O.Yr.lr,u().cancel,!l&&n.cancel)?(D(!0),B):(O.Nr(),R.Nr(),m("initialized",[B]),O.qr((function(n,r,t){var e=n.mr,i=n.Sr,o=n._r,u=n.Lr,c=n.Mr,a=n.Hr,f=n.br,l=n.Tr;m("updated",[B,{updateHints:{sizeChanged:e,directionChanged:i,heightIntrinsicChanged:o,overflowEdgeChanged:u,overflowAmountChanged:c,overflowStyleChanged:a,contentMutation:f,hostMutation:l},changedOptions:r,force:t}])})),B.update(!0),B)}return v};return ve.plugin=function(n){r(function(n){var t=[];return r(g(n)?n:[n],(function(n){r(H(n),(function(r){M(t,Jr[r]=n[r])}))})),t}(n),(function(n){return de(n,ve)}))},ve.valid=function(n){var r=n&&n.elements,t=b(r)&&r();return x(t)&&!!wt(t.target)},ve.env=function(){var n=lt(),r=n.V,t=n.H,e=n.A,i=n.j,o=n.F,u=n.L,c=n.B,a=n.X,f=n.Z,l=n.N,d=n.Y,v=n.W,s=n.G;return z({},{scrollbarsSize:r,scrollbarsOverlaid:t,scrollbarsHiding:e,rtlScrollBehavior:i,flexboxGlue:o,cssCustomProperties:u,scrollTimeline:c,staticDefaultInitialization:a,staticDefaultOptions:f,getDefaultInitialization:l,setDefaultInitialization:d,getDefaultOptions:v,setDefaultOptions:s})},n.ClickScrollPlugin=ut,n.OverlayScrollbars=ve,n.ScrollbarsHidingPlugin=it,n.SizeObserverPlugin=Qr,Object.defineProperty(n,"ia",{value:!0}),n}({}); | ||
var OverlayScrollbarsGlobal=function(n){"use strict";function r(n,t){if(y(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=h(t);if(b(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(C(t),(function(r){return Hn(n,r,t[r])}))}var e,i=function(n,r){var t,e=n.o,i=n.u,o=n.p,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]}]},o=function(){return"undefined"!=typeof window},u=o()&&Node.ELEMENT_NODE,c=Object.prototype,a=c.toString,f=c.hasOwnProperty,l=function(n){return void 0===n},d=function(n){return null===n},s=function(n){return l(n)||d(n)?""+n:a.call(n).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},v=function(n){return"number"==typeof n},h=function(n){return"string"==typeof n},p=function(n){return"boolean"==typeof n},w=function(n){return"function"==typeof n},b=function(n){return Array.isArray(n)},g=function(n){return"object"==typeof n&&!b(n)&&!d(n)},y=function(n){var r=!!n&&n.length,t=v(r)&&r>-1&&r%1==0;return!(!(b(n)||!w(n)&&t)||r>0&&g(n)&&!(r-1 in n))},m=function(n){if(!n||!g(n)||"object"!==s(n))return!1;var r,t="constructor",e=n[t],i=e&&e.prototype,o=f.call(n,t),u=i&&f.call(i,"isPrototypeOf");if(e&&!o&&!u)return!1;for(r in n);return l(r)||f.call(n,r)},x=function(n){var r=HTMLElement;return!!n&&(r?n instanceof r:n.nodeType===u)},S=function(n){var r=Element;return!!n&&(r?n instanceof r:n.nodeType===u)},O=function(n,r,t){return n.indexOf(r,t)},L=function(n,r,t){return t||h(r)||!y(r)?n.push(r):Array.prototype.push.apply(n,r),n},P=function(n){var t=Array.from,e=[];return t&&n?t(n):(n instanceof Set?n.forEach((function(n){L(e,n)})):r(n,(function(n){L(e,n)})),e)},E=function(n){return!!n&&0===n.length},M=function(n,t,e){r(n,(function(n){return n&&n.apply(void 0,t||[])})),!e&&(n.length=0)},T=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)},C=function(n){return n?Object.keys(n):[]},R=function n(t,e,i,o,u,c,a){var f=[e,i,o,u,c,a];return"object"==typeof t&&!d(t)||w(t)||(t={}),r(f,(function(e){r(C(e),(function(r){var i=e[r];if(t===i)return!0;var o=b(i);if(i&&m(i)){var u=t[r],c=u;o&&!b(u)?c=[]:o||m(u)||(c={}),t[r]=n(c,i)}else t[r]=o?i.slice():i}))})),t},z=function(n){for(var r in n)return!1;return!0},H=function(n,r,t,e){if(l(e))return t?t[n]:r;t&&(h(e)||v(e))&&(t[n]=e)},A=function(n,r,t){if(l(t))return n?n.getAttribute(r):null;n&&n.setAttribute(r,t)},I=function(n,r){return new Set((A(n,r)||"").split(" "))},k=function(n,r){n&&n.removeAttribute(r)},D=function(n,r,t,e){if(t){var i=I(n,r);i[e?"add":"delete"](t);var o=P(i).join(" ").trim();A(n,r,o)}},B=function(n,r,t){return I(n,r).has(t)},j=function(n,r){return H("scrollLeft",0,n,r)},X=function(n,r){return H("scrollTop",0,n,r)},Y=o()&&Element.prototype,N=function(n,r){var t=[],e=r?S(r)&&r:document;return e?L(t,e.querySelectorAll(n)):t},W=function(n,r){return!!S(n)&&(Y.matches||Y.msMatchesSelector).call(n,r)},_=function(n){return n?P(n.childNodes):[]},F=function(n){return n&&n.parentElement},Z=function(n,r){if(S(n)){var t=Y.closest;if(t)return t.call(n,r);do{if(W(n,r))return n;n=F(n)}while(n)}},J=function(n,r,t){var e=Z(n,r),i=n&&function(n,r){var t=r?S(r)&&r:document;return t?t.querySelector(n):null}(t,e),o=Z(i,r)===e;return!(!e||!i)&&(e===n||i===n||o&&Z(Z(n,t),r)!==e)},V=function(n,t,e){if(e&&n){var i,o=t;y(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)}},G=function(n,r){V(n,null,r)},U=function(n,r){V(F(n),n,r)},$=function(n,r){V(F(n),n&&n.nextSibling,r)},q=function n(t){if(y(t))r(P(t),(function(r){return n(r)}));else if(t){var e=F(t);e&&e.removeChild(t)}},K=function(n){var r=document.createElement("div");return n&&A(r,"class",n),r},Q=function(n){var t=K();return t.innerHTML=n.trim(),r(_(t),(function(n){return q(n)}))},nn=function(n){return n.charAt(0).toUpperCase()+n.slice(1)},rn=["-webkit-","-moz-","-o-","-ms-"],tn=["WebKit","Moz","O","MS","webkit","moz","o","ms"],en={},on={},un=function(n){if(o()){var t=en[n]||window[n];return T(en,n)||(r(tn,(function(r){return!(t=t||window[r+nn(n)])})),en[n]=t),t}},cn=un("MutationObserver"),an=un("IntersectionObserver"),fn=un("ResizeObserver"),ln=un("cancelAnimationFrame"),dn=un("requestAnimationFrame"),sn=un("ScrollTimeline"),vn=o()&&window.setTimeout,hn=o()&&window.clearTimeout,pn=/[^\x20\t\r\n\f]+/g,wn=function(n,r,t){var e,i=n&&n.classList,o=0,u=!1;if(i&&r&&h(r)){var c=r.match(pn)||[];for(u=c.length>0;e=c[o++];)u=!!t(i,e)&&u}return u},bn=function(n,r){wn(n,r,(function(n,r){return n.remove(r)}))},gn=function(n,r){return wn(n,r,(function(n,r){return n.add(r)})),bn.bind(0,n,r)},yn=Math.max,mn=function(){return performance.now()},xn=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},Sn=function(n,r){return xn(n,r,["w","h"])},On=function(n,r){return xn(n,r,["x","y"])},Ln=function(n,r){return xn(n,r,["t","r","b","l"])},Pn=function(n,r,t){return xn(n,r,["width","height"],t&&function(n){return Math.round(n)})},En=function(){},Mn=function(n){var r,t=n?vn:dn,e=n?hn:ln;return[function(i){e(r),r=t(i,w(n)?n():n)},function(){return e(r)}]},Tn=function(n,r){var t,e,i,o=En,u=r||{},c=u.g,a=u._,f=u.m,l=function(r){o(),hn(t),t=e=void 0,o=En,n.apply(this,r)},d=function(n){return f&&e?f(e,n):n},s=function(){o!==En&&l(d(i)||i)},h=function(){var n=P(arguments),r=w(c)?c():c;if(v(r)&&r>=0){var u=w(a)?a():a,f=v(u)&&u>=0,h=r>0?vn:dn,p=r>0?hn:ln,b=d(n)||n,g=l.bind(0,b);o();var y=h(g,r);o=function(){return p(y)},f&&!t&&(t=vn(s,u)),e=i=b}else l(n)};return h.S=s,h},Cn={opacity:1,zIndex:1},Rn=function(n,r){var t=n||"",e=r?parseFloat(t):parseInt(t,10);return e==e?e:0},zn=function(n,r,t){return String((null!=r?r[t]||r.getPropertyValue(t):n.style[t])||"")},Hn=function(n,r,t){try{var e=n.style;l(e[r])?e.setProperty(r,t):e[r]=function(n,r){return!Cn[n]&&v(r)?r+"px":r}(r,t)}catch(c){}},An=function(n){return"rtl"===t(n,"direction")},In=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:Rn(l[u],!0),r:Rn(l[c],!0),b:Rn(l[a],!0),l:Rn(l[f],!0)}},kn=function(n,r){return"translate"+(b(n)?"("+n[0]+","+n[1]+")":(r?"X":"Y")+"("+n+")")},Dn=Math.round,Bn={w:0,h:0},jn=function(n){return n?{w:n.offsetWidth,h:n.offsetHeight}:Bn},Xn=function(n){return n?{w:n.clientWidth,h:n.clientHeight}:Bn},Yn=function(n){return n?{w:n.scrollWidth,h:n.scrollHeight}:Bn},Nn=function(n){var r=parseFloat(t(n,"height"))||0,e=parseFloat(t(n,"width"))||0;return{w:e-Dn(e),h:r-Dn(r)}},Wn=function(n){return n.getBoundingClientRect()},_n=function(n){return!(!n||!n.height&&!n.width)},Fn=function(){if(l(e)){e=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){e=!0}}))}catch(n){}}return e},Zn=function(n){return n.split(" ")},Jn=function(n,t,e,i){r(Zn(t),(function(r){n.removeEventListener(r,e,i)}))},Vn=function(n,t,e,i){var o,u=Fn(),c=null!=(o=u&&i&&i.O)?o:u,a=i&&i.C||!1,f=i&&i.T||!1,l=[],d=u?{passive:c,capture:a}:a;return r(Zn(t),(function(r){var t=f?function(i){n.removeEventListener(r,t,a),e&&e(i)}:e;L(l,Jn.bind(null,n,r,t,a)),n.addEventListener(r,t,d)})),M.bind(0,l)},Gn=function(n){return n.stopPropagation()},Un=function(n){return n.preventDefault()},$n={x:0,y:0},qn=function(n){var r=n?Wn(n):0;return r?{x:r.left+window.pageYOffset,y:r.top+window.pageXOffset}:$n},Kn=function(n,t){r(b(t)?t:[t],n)},Qn=function(n){var t=new Map,e=function(n,r){if(n){var e=t.get(n);Kn((function(n){e&&e[n?"delete":"clear"](n)}),r)}else t.forEach((function(n){n.clear()})),t.clear()},i=function n(i,o){if(h(i)){var u=t.get(i)||new Set;return t.set(i,u),Kn((function(n){w(n)&&u.add(n)}),o),e.bind(0,i,o)}p(o)&&o&&e();var c=C(i),a=[];return r(c,(function(r){var t=i[r];t&&L(a,n(r,t))})),M.bind(0,a)};return i(n||{}),[i,e,function(n,e){var i=t.get(n);r(P(i),(function(n){e&&!E(e)?n.apply(0,e):n()}))}]},nr=function(n){return JSON.stringify(n,(function(n,r){if(w(r))throw new Error;return r}))},rr={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},tr=function n(t,e){var i={};return r(C(e).concat(C(t)),(function(r){var o=t[r],u=e[r];if(g(o)&&g(u))R(i[r]={},n(o,u)),z(i[r])&&delete i[r];else if(T(e,r)&&u!==o){var c=!0;if(b(o)||b(u))try{nr(o)===nr(u)&&(c=!1)}catch(l){}c&&(i[r]=u)}})),i},er="data-overlayscrollbars",ir="os-environment",or=ir+"-flexbox-glue",ur=or+"-max",cr="os-scrollbar-hidden",ar=er+"-initialize",fr=er,lr=fr+"-overflow-x",dr=fr+"-overflow-y",sr="overflowVisible",vr="scrollbarHidden",hr="scrollbarPressed",pr="updating",wr=er+"-viewport",br="arrange",gr="scrollbarHidden",yr=sr,mr=er+"-padding",xr=yr,Sr=er+"-content",Or="os-size-observer",Lr=Or+"-appear",Pr=Or+"-listener",Er=Pr+"-scroll",Mr=Pr+"-item",Tr=Mr+"-final",Cr="os-trinsic-observer",Rr="os-no-css-vars",zr="os-theme-none",Hr="os-scrollbar",Ar=Hr+"-rtl",Ir=Hr+"-horizontal",kr=Hr+"-vertical",Dr=Hr+"-track",Br=Hr+"-handle",jr=Hr+"-visible",Xr=Hr+"-cornerless",Yr=Hr+"-transitionless",Nr=Hr+"-interaction",Wr=Hr+"-unusable",_r=Hr+"-auto-hide",Fr=_r+"-hidden",Zr=Hr+"-wheel",Jr=Dr+"-interactive",Vr=Br+"-interactive",Gr={},Ur=function(){return Gr},$r={},qr={get exports(){return $r},set exports(n){$r=n}};!function(n){function r(){return n.exports=r=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}return n},n.exports.v=!0,n.exports["default"]=n.exports,r.apply(this,arguments)}n.exports=r,n.exports.v=!0,n.exports["default"]=n.exports}(qr);var Kr,Qr="__osOptionsValidationPlugin",nt=3333333,rt="scroll",tt="__osSizeObserverPlugin",et=function(n){return(n={})[tt]={H:function(n,r,e){var i=Q('<div class="'+Mr+'" dir="ltr"><div class="'+Mr+'"><div class="'+Tr+'"></div></div><div class="'+Mr+'"><div class="'+Tr+'" style="width: 200%; height: 200%"></div></div></div>');G(n,i),gn(n,Er);var o,u=i[0],c=u.lastChild,a=u.firstChild,f=null==a?void 0:a.firstChild,l=jn(u),d=l,s=!1,v=function(){j(a,nt),X(a,nt),j(c,nt),X(c,nt)},h=function(n){o=0,s&&(l=d,r(!0===n))},p=function(n){d=jn(u),s=!n||!Sn(d,l),n?(Gn(n),s&&!o&&(ln(o),o=dn(h))):h(!1===n),v()},w=L([],[Vn(a,rt,p),Vn(c,rt,p)]);return t(f,{width:nt,height:nt}),dn(v),[e?p.bind(0,!1):v,w]}},n}(),it=0,ot=Math.round,ut=Math.abs,ct="__osScrollbarsHidingPlugin",at=function(n){return(n={})[ct]={P:function(n){var r=n.A,t=n.L,e=!(n.R||r||!t.x&&!t.y)&&document.createElement("style");return e&&(A(e,"id",wr+"-"+br+"-"+it),it++),e},M:function(n,e,i,o,u,c,a){return[function(r,e,c,a){if(n){var f=u().I,l=r.D,d=r.k,s=d.x,v=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&&v?p+g-w+"px":"",h:h&&s?h+y-b+"px":""};if(o){var x=o.sheet;if(x){var S=x.cssRules;if(S){S.length||x.insertRule("#"+A(o,"id")+" + ["+wr+"~='"+br+"']::before {}",0);var O=S[0].style;O.width=m.w,O.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),s=u().I,v=d.k,h=v.x,p=v.y,w={},b=function(n){return r(n.split(" "),(function(n){w[n]=s[n]}))};h&&b("marginBottom paddingTop paddingBottom"),p&&b("marginLeft marginRight paddingLeft paddingRight");var g=t(i,C(w));return D(i,wr,br),e||(w.height=""),t(i,w),[function(){a(d,f,n,g),t(i,g),D(i,wr,br,!0)},d]}return[En]}]},V: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=ut(u.w),a=ut(u.h),f={w:ut(ot(o.w/(n.w/100))),h:ut(ot(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,s=!function(n,r){var t=ut(n),e=ut(r);return!(t===e||t+1===e||t-1===e)}(f.w,f.h);if(d&&s&&l!==r&&l>0){var v=e(),h=v[0],p=v[1];R(t.j,h),p&&i()}n=o,r=l}}}},n}(),ft="__osClickScrollPlugin",lt=function(n){return(n={})[ft]={H:function(n,r,t,e,i){var o=0,u=En;return function c(a){u=function(n,r,t,e,i){var o=0,u=mn(),c=yn(0,133),a=function t(a){var f=mn(),l=f-u>=c,d=a?1:1-(yn(0,u+c-f)/c||0),s=(r-n)*(w(i)?i(d,d*c,0,1,c):d)+n,v=l||1===d;e&&e(s,0,v),o=v?0:dn((function(){return t()}))};return a(),function(n){ln(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}(),dt=function(n,r,t,e){G(n,r);var i=Xn(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}},st=function(n,r){var e="hidden";t(n,{overflowX:e,overflowY:e,direction:"rtl"}),j(n,0);var i=qn(n),o=qn(r);j(n,-999);var u=qn(r);return{i:i.x===o.x,n:o.x!==u.x}},vt=function(n,r){var t=gn(n,or),e=Wn(n),i=Wn(r),o=Pn(i,e,!0),u=gn(n,ur),c=Wn(n),a=Wn(r),f=Pn(a,c,!0);return t(),u(),o&&f},ht=function(){return Kr||(Kr=function(){var n,e=document.body,o=Q('<div class="'+ir+'"><div></div></div>')[0],c=o.firstChild,a=Qn(),f=a[0],l=a[2],d=i({o:dt(e,o,c),u:On},dt.bind(0,e,o,c,!0)),s=d[0],v=(0,d[1])()[0],h=function(n){var e=!1,i=gn(n,cr);try{e="none"===t(n,function(n){var t=on[n];if(T(on,n))return t;var e=nn(n),i=K().style;return r(rn,(function(r){var o=r.replace(/-/g,""),u=[n,r+n,o+e,nn(o)+e];return!(t=u.find((function(n){return void 0!==i[n]})))})),on[n]=t||""}("scrollbar-width"))||"none"===window.getComputedStyle(n,"::-webkit-scrollbar").getPropertyValue("display")}catch(u){}return i(),e}(o),p={x:0===v.x,y:0===v.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=R({},rr),g=R.bind(0,{},b),y=R.bind(0,{},w),m={j:v,L:p,A:h,R:"-1"===t(o,"zIndex"),B:!!sn,F:st(o,c),U:vt(o,c),q:f.bind(0,"z"),N:f.bind(0,"r"),Y:y,W:function(n){return R(w,n)&&y()},G:g,X:function(n){return R(b,n)&&g()},Z:R({},w),K:R({},b)},x=window.addEventListener,S=Tn((function(n){return l(n?"z":"r")}),{g:33,_:99});return k(o,"style"),q(o),x("resize",S.bind(0,!1)),h||p.x&&p.y||x("resize",(function(){var r=Ur()[ct];(n=n||r&&r.V())&&n(m,s,S.bind(0,!0))})),m}()),Kr},pt=function(n,r){return w(r)?r.apply(0,n):r},wt=function(n,r,t,e){var i=l(e)?t:e;return pt(n,i)||r.apply(0,n)},bt=function(n,r,t,e){var i=l(e)?t:e,o=pt(n,i);return!!o&&(x(o)?o:r.apply(0,n))},gt=function(n,r,t){var e=t||{},i=e.nativeScrollbarsOverlaid,o=e.body,u=ht(),c=u.L,a=u.A,f=r.nativeScrollbarsOverlaid,s=r.body,v=null!=i?i:f,h=l(o)?s:o,p=(c.x||c.y)&&v,w=n&&(d(h)?!a:h);return!!p||!!w},yt=new WeakMap,mt=function(n){return yt.get(n)},xt=function(n,r){return n?r.split(".").reduce((function(n,r){return n&&T(n,r)?n[r]:void 0}),n):void 0},St=function(n,r,t){return function(e){return[xt(n,e),t||void 0!==xt(r,e)]}},Ot=function(n){var r=n;return[function(){return r},function(n){r=R({},r,n)}]},Lt="tabindex",Pt=K.bind(0,""),Et=function(n){G(F(n),_(n)),q(n)},Mt=function(n){var r=ht(),t=r.Y,e=r.A,i=Ur()[ct],o=i&&i.P,u=t().elements,c=u.host,a=u.padding,f=u.viewport,l=u.content,d=x(n),s=d?{}:n,v=s.elements||{},h=v.host,p=v.padding,w=v.viewport,b=v.content,g=d?n:s.target,y=W(g,"textarea"),m=g.ownerDocument,S=m.documentElement,P=g===m.body,E=m.defaultView,T=wt.bind(0,[g]),R=bt.bind(0,[g]),z=pt.bind(0,[g]),H=T.bind(0,Pt,f),I=R.bind(0,Pt,l),j=H(w),X=j===g,Y=X&&P,N=!X&&I(b),Z=!X&&x(j)&&j===N,J=Z&&!!z(l),V=J?H():j,K=J?N:I(),Q=Y?S:Z?V:j,nn=y?T(Pt,c,h):g,rn=Y?Q:nn,tn=Z?K:N,en=m.activeElement,on=!X&&E.top===E&&en===g,un={$:g,J:rn,rr:Q,ar:!X&&R(Pt,a,p),er:tn,nr:!X&&!e&&o&&o(r),tr:Y?S:Q,ir:Y?m:Q,vr:E,ur:m,lr:y,cr:P,sr:d,dr:X,hr:Z,pr:function(n,r){return B(Q,X?fr:wr,X?r:n)},gr:function(n,r,t){return D(Q,X?fr:wr,X?r:n,t)}},cn=C(un).reduce((function(n,r){var t=un[r];return L(n,!(!t||!x(t)||F(t))&&t)}),[]),an=function(n){return n?O(cn,n)>-1:null},fn=un.$,ln=un.J,dn=un.ar,sn=un.rr,vn=un.er,hn=un.nr,pn=[function(){k(ln,fr),k(ln,ar),k(fn,ar),P&&(k(S,fr),k(S,ar))}],wn=y&&an(ln),bn=y?fn:_([vn,sn,dn,ln,fn].find((function(n){return!1===an(n)}))),yn=Y?fn:vn||sn;return[un,function(){A(ln,fr,X?"viewport":"host"),A(dn,mr,""),A(vn,Sr,""),X||A(sn,wr,"");var n=P&&!X?gn(F(g),cr):En;if(wn&&($(fn,ln),L(pn,(function(){$(ln,fn),q(ln)}))),G(yn,bn),G(ln,dn),G(dn||ln,!X&&sn),G(sn,vn),L(pn,(function(){n(),k(dn,mr),k(vn,Sr),k(sn,lr),k(sn,dr),k(sn,wr),an(vn)&&Et(vn),an(sn)&&Et(sn),an(dn)&&Et(dn)})),e&&!X&&(D(sn,wr,gr,!0),L(pn,k.bind(0,sn,wr))),hn&&(U(sn,hn),L(pn,q.bind(0,hn))),on){var r=A(sn,Lt);A(sn,Lt,"-1"),sn.focus();var t=function(){return r?A(sn,Lt,r):k(sn,Lt)},i=Vn(m,"pointerdown keydown",(function(){t(),i()}));L(pn,[t,i])}else en&&en.focus&&en.focus();bn=0},M.bind(0,pn)]},Tt=function(n,r){var e=n.er,i=r[0];return function(n){var r=ht().U,o=i()._r,u=n.mr,c=(e||!r)&&u;return c&&t(e,{height:o?"":"100%"}),{br:c,wr:c}}},Ct=function(n,r){var e=r[0],o=r[1],u=n.J,c=n.ar,a=n.rr,f=n.dr,l=i({u:Ln,o:In()},In.bind(0,u,"padding","")),d=l[0],s=l[1];return function(n,r,i){var u=s(i),l=u[0],v=u[1],h=ht(),p=h.A,w=h.U,b=e().Sr,g=n.br,y=n.wr,m=n.yr,x=r("paddingAbsolute"),S=x[0],O=x[1];if(g||v||!w&&y){var L=d(i);l=L[0],v=L[1]}var P=!f&&(O||m||v);if(P){var E=!S||!c&&!p,M=l.r+l.l,T=l.t+l.b,C={marginRight:E&&!b?-M:0,marginBottom:E?-T:0,marginLeft:E&&b?-M:0,top:E?-l.t:0,right:E?b?-l.r:"auto":0,left:E?b?"auto":-l.l:0,width:E?"calc(100% + "+M+"px)":""},z={paddingTop:E?l.t:0,paddingRight:E?l.r:0,paddingBottom:E?l.b:0,paddingLeft:E?l.l:0};t(c||a,C),t(a,z),o({ar:l,Or:!E,I:c?z:R({},C,z)})}return{Cr:P}}},Rt=Math.max,zt=Rt.bind(0,0),Ht="visible",At="hidden",It=42,kt={u:Sn,o:{w:0,h:0}},Dt={u:On,o:{x:At,y:At}},Bt=function(n){return 0===n.indexOf(Ht)},jt=function(n,r){var e=r[0],o=r[1],u=n.J,c=n.ar,a=n.rr,f=n.nr,l=n.dr,d=n.gr,s=n.cr,v=n.vr,h=ht(),p=h.j,w=h.U,b=h.A,g=h.L,y=Ur()[ct],m=!l&&!b&&(g.x||g.y),x=s&&l,S=i(kt,Nn.bind(0,a)),O=S[0],L=S[1],P=i(kt,Yn.bind(0,a)),E=P[0],M=P[1],T=i(kt),C=T[0],R=T[1],z=i(kt),H=z[0],I=z[1],k=i(Dt)[0],B=function(n,r){if(t(a,{height:""}),r){var i=e(),o=i.Or,c=i.ar,f=n.Er,l=n.D,d=Nn(u),s=Xn(u),v="content-box"===t(a,"boxSizing"),h=o||v?c.b+c.t:0,p=!(g.x&&v);t(a,{height:s.h+d.h+(f.x&&p?l.x:0)-h})}},j=function(n,r){var e=b||n?0:It,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{Tr:{x:u,y:d[0]},Er:{x:c,y:d[1]},D:{x:f,y:d[2]},k:{x:l,y:d[3]}}},X=function(n,r,t,i){var o=n.D,u=n.k,c=u.x,a=u.y,f=o.x,l=o.y,d=e().I,s=r?"marginLeft":"marginRight",v=r?"paddingLeft":"paddingRight",h=d[s],p=d.marginBottom,w=d[v],b=d.paddingBottom;i.width="calc(100% + "+(l+-1*h)+"px)",i[s]=-l+h,i.marginBottom=-f+p,t&&(i[v]=w+(a?l:0),i.paddingBottom=b+(c?f:0))},Y=y?y.M(m,w,a,f,e,j,X):[function(){return m},function(){return[En]}],N=Y[0],W=Y[1];return function(n,r,i){var f,s=n.br,h=n.zr,p=n.wr,y=n.Cr,m=n.mr,S=n.yr,P=e(),T=P._r,z=P.Sr,Y=r("showNativeOverlaidScrollbars"),_=Y[0],F=Y[1],Z=r("overflow"),J=Z[0],V=Z[1],G=_&&g.x&&g.y,U=!l&&!w&&(s||p||h||F||m),$=Bt(J.x),q=Bt(J.y),K=$||q,Q=L(i),nn=M(i),rn=R(i),tn=I(i);if(F&&b&&d(gr,vr,!G),U&&(f=j(G),B(f,T)),s||y||p||S||F){K&&d(yr,sr,!1);var en=W(G,z,f),on=en[0],un=en[1],cn=Q=O(i),an=cn[0],fn=cn[1],ln=nn=E(i),dn=ln[0],sn=ln[1],vn=Xn(a),hn=dn,pn=vn;on(),(sn||fn||F)&&un&&!G&&N(un,dn,an,z)&&(pn=Xn(a),hn=Yn(a));var wn={w:zt(Rt(dn.w,hn.w)+an.w),h:zt(Rt(dn.h,hn.h)+an.h)},bn={w:zt((x?v.innerWidth:pn.w+zt(vn.w-dn.w))+an.w),h:zt((x?v.innerHeight+an.h:pn.h+zt(vn.h-dn.h))+an.h)};tn=H(bn),rn=C(function(n,r){var t=window.devicePixelRatio%1!=0?1:0,e={w:zt(n.w-r.w),h:zt(n.h-r.h)};return{w:e.w>t?e.w:0,h:e.h>t?e.h:0}}(wn,bn),i)}var gn=tn,yn=gn[0],mn=gn[1],xn=rn,Sn=xn[0],On=xn[1],Ln=nn,Pn=Ln[0],En=Ln[1],Mn=Q,Tn=Mn[0],Cn=Mn[1],Rn={x:Sn.w>0,y:Sn.h>0},zn=$&&q&&(Rn.x||Rn.y)||$&&Rn.x&&!Rn.y||q&&Rn.y&&!Rn.x;if(y||S||Cn||En||mn||On||V||F||U){var Hn={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},An=function(n,r,t,e){var i=function(n,r){var t=Bt(n),e=r&&t&&n.replace(Ht+"-","")||"";return[r&&!t?n:"",Bt(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,j(n,e)}(G,Rn,J,Hn),In=N(An,Pn,Tn,z);l||X(An,z,In,Hn),U&&B(An,T),l?(A(u,lr,Hn.overflowX),A(u,dr,Hn.overflowY)):t(a,Hn)}D(u,fr,sr,zn),D(c,mr,xr,zn),l||D(a,wr,yr,K);var kn=k(j(G).Tr),Dn=kn[0],Bn=kn[1];return o({Tr:Dn,Hr:{x:yn.w,y:yn.h},Pr:{x:Sn.w,y:Sn.h},Ar:Rn}),{Lr:Bn,Rr:mn,Mr:On}}},Xt=function(n,t,e){var i={},o=t||{};return r(C(n).concat(C(o)),(function(r){var t=n[r],u=o[r];i[r]=!!(e||t||u)})),i},Yt=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):N(e,n));o&&o.length&&i&&h(i)&&L(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=Vn(r,u,(function(n){o?(a(),i.delete(r)):t(n)}));i.set(r,L(c,a))}else M(c),i.delete(r)}))}))}};return e&&(i=new WeakMap,u()),[function(){o=!0},u]},Nt=function(n,t,e,i){var o=!1,u=i||{},c=u.Dr,a=u.kr,f=u.Vr,l=u.jr,d=u.Br,s=u.Fr,v=Tn((function(){return o&&e(!0)}),{g:33,_:99}),p=Yt(n,v,f),w=p[0],b=p[1],g=a||[],y=(c||[]).concat(g),m=function(o,u){var c=d||En,a=s||En,f=new Set,v=new Set,p=!1,w=!1;if(r(o,(function(e){var o=e.attributeName,u=e.target,d=e.type,s=e.oldValue,b=e.addedNodes,y=e.removedNodes,m="attributes"===d,x="childList"===d,S=n===u,L=m&&h(o)?A(u,o):0,P=0!==L&&s!==L,E=O(g,o)>-1&&P;if(t&&(x||!S)){var M=!m,T=m&&P,C=T&&l&&W(u,l),R=(C?!c(u,o,s,L):M||T)&&!a(e,!!C,n,i);r(b,(function(n){return f.add(n)})),r(y,(function(n){return f.add(n)})),w=w||R}!t&&S&&P&&!c(u,o,s,L)&&(v.add(o),p=p||E)})),f.size>0&&b((function(n){return P(f).reduce((function(r,t){return L(r,N(n,t)),W(t,n)?L(r,t):r}),[])})),t)return!u&&w&&e(!1),[!1];if(v.size>0||p){var y=[P(v),p];return!u&&e.apply(0,y),y}},x=new cn((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){v.S();var n=x.takeRecords();return!E(n)&&m(n,!0)}}]},Wt=3333333,_t=function(n,r,t){var e=t||{},o=e.Ur,u=e.Ir,c=Ur()[tt],a=ht().F,f=Q('<div class="'+Or+'"><div class="'+Pr+'"></div></div>')[0],l=f.firstChild,d=An.bind(0,n),s=i({o:!1,p:!0,u:function(n,r){return!(!n||!_n(n)&&_n(r))}}),v=s[0],h=function(n){var t=b(n)&&n.length>0&&g(n[0]),e=!t&&p(n[0]),i=!1,u=!1,c=!0;if(t){var l=v(n.pop().contentRect),d=l[0],s=l[2],h=_n(d),w=_n(s);u=!w&&h,c=!(i=!s&&!!w||!h)}else e?c=n[1]:u=!0===n;if(o&&c){var y=e?n[0]:An(f);j(f,y?a.n?-Wt:a.i?0:Wt:Wt),X(f,Wt)}i||r({br:!e,qr:e?n:void 0,Ir:!!u})},w=[];return[function(){M(w),q(f)},function(){var r=u&&h;if(fn){var t=new fn(h);t.observe(l),L(w,(function(){t.disconnect()}))}else if(c){var e=c.H(l,h,u),a=e[0],s=e[1];r=a,L(w,s)}if(o){var v=i({o:void 0},d)[0];L(w,Vn(f,"scroll",(function(n){var r=v(),t=r[0],e=r[1],i=r[2];e&&(bn(l,"ltr rtl"),gn(l,t?"rtl":"ltr"),h([!!t,e,i])),Gn(n)})))}r&&(gn(f,Lr),L(w,Vn(f,"animationstart",r,{T:!!fn}))),(fn||c)&&G(n,f)}]},Ft=function(n,r){var t,e=K(Cr),o=[],u=i({o:!1})[0],c=function(n,t){if(n){var e=u(function(n){return 0===n.h||n.isIntersecting||n.intersectionRatio>0}(n));return e[1]&&!t&&r(e)&&[e]}},a=function(n,r){return n&&n.length>0&&c(n.pop(),r)};return[function(){M(o),q(e)},function(){if(an)(t=new an((function(n){return a(n)}),{root:n})).observe(e),L(o,(function(){t.disconnect()}));else{var r=function(){var n=jn(e);c(n)},i=_t(e,r),u=i[0],f=i[1];L(o,u),f(),r()}G(n,e)},function(){return t&&a(t.takeRecords(),!0)}]},Zt="["+fr+"]",Jt="["+wr+"]",Vt=["tabindex"],Gt=["wrap","cols","rows"],Ut=["id","class","style","open"],$t=function(n,t,e){var o,u,c,a,f=n.J,l=n.rr,d=n.er,s=n.lr,p=n.dr,g=n.pr,y=n.gr,m=ht().U,x=i({u:Sn,o:{w:0,h:0}},(function(){var n=g(yr,sr),r=g(br,""),t=r&&j(l),e=r&&X(l);y(yr,sr),y(br,""),y("",pr,!0);var i=Yn(d),o=Yn(l),u=Nn(l);return y(yr,sr,n),y(br,"",r),y("",pr),j(l,t),X(l,e),{w:o.w+i.w+u.w,h:o.h+i.h+u.h}})),S=x[0],P=s?Gt:Ut.concat(Gt),E=Tn(e,{g:function(){return o},_:function(){return u},m:function(n,r){var t=n[0],e=r[0];return[C(t).concat(C(e)).reduce((function(n,r){return n[r]=t[r]||e[r],n}),{})]}}),M=function(n){r(n||Vt,(function(n){if(O(Vt,n)>-1){var r=A(f,n);h(r)?A(l,n,r):k(l,n)}}))},T=function(n,r){var i=n[0],o={mr:n[1]};return t({_r:i}),!r&&e(o),o},z=function(n){var r=n.br,i=n.qr,o=n.Ir,u=!r||o?e:E,c=!1;if(i){var a=i[0];c=i[1],t({Sr:a})}u({br:r,Ir:o,yr:c})},H=function(n,r){var t=S()[1],i={wr:t};return t&&!r&&(n?e:E)(i),i},I=function(n,r,t){var e={zr:r};return r?!t&&E(e):p||M(n),e},D=d||!m?Ft(f,T):[En,En,En],B=D[0],Y=D[1],N=D[2],W=p?[En,En]:_t(f,z,{Ir:!0,Ur:!0}),_=W[0],F=W[1],V=Nt(f,!1,I,{kr:Ut,Dr:Ut.concat(Vt)}),G=V[0],U=V[1],$=p&&fn&&new fn((function(n){var r=n[n.length-1].contentRect,t=_n(r),e=_n(a);z({br:!0,Ir:!e&&t}),a=r}));return[function(){B(),_(),c&&c[0](),$&&$.disconnect(),G()},function(){$&&$.observe(f),M(),F(),Y()},function(){var n={},r=U(),t=N(),e=c&&c[1]();return r&&R(n,I.apply(0,L(r,!0))),t&&R(n,T.apply(0,L(t,!0))),e&&R(n,H.apply(0,L(e,!0))),n},function(n){var r=n("update.ignoreMutation")[0],t=n("update.attributes"),e=t[0],i=t[1],a=n("update.elementEvents"),f=a[0],s=a[1],h=n("update.debounce"),g=h[0],y=h[1],m=function(n){return w(r)&&r(n)};if((s||i)&&(c&&(c[1](),c[0]()),c=Nt(d||l,!0,H,{Dr:P.concat(e||[]),Vr:f,jr:Zt,Fr:function(n,r){var t=n.target,e=n.attributeName;return!(r||!e||p)&&J(t,Zt,Jt)||!!Z(t,"."+Hr)||!!m(n)}})),y)if(E.S(),b(g)){var x=g[0],S=g[1];o=v(x)&&x,u=v(S)&&S}else v(g)?(o=g,u=!1):(o=!1,u=!1)}]},qt={x:0,y:0},Kt=function(n,t){var e=St(t,{}),i=Qn(),o=i[0],u=i[1],c=i[2],a=Mt(n),f=a[0],l=a[1],d=a[2],s=Ot(function(n){return{ar:{t:0,r:0,b:0,l:0},Or:!1,I:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},Hr:qt,Pr:qt,Tr:{x:"hidden",y:"hidden"},Ar:{x:!1,y:!1},_r:!1,Sr:An(n.J)}}(f)),v=s[0],h=s[1],p=function(n,t){var e=n.$,i=n.rr,o=n.gr,u=n.dr,c=ht(),a=c.A,f=c.L,l=c.U,d=!a&&(f.x||f.y),s=[Tt(n,t),Ct(n,t),jt(n,t)];return function(n,t,c){var a=Xt(R({br:!1,Cr:!1,yr:!1,mr:!1,Rr:!1,Mr:!1,Lr:!1,zr:!1,wr:!1,Ir:!1},t),{},c),f=d||!l,v=f&&j(i),h=f&&X(i);o("",pr,!0);var p=a;return r(s,(function(r){p=Xt(p,r(p,n,!!c)||{},c)})),j(i,v),X(i,h),o("",pr),u||(j(e,0),X(e,0)),p}}(f,s),w=function(n,r,t){var e=C(n).some((function(r){return!!n[r]})),i=e||!z(r)||t;return i&&c("u",[n,r,t]),i},b=$t(f,h,(function(n){return w(p(e,n),{},!1)})),g=b[0],y=b[1],m=b[2],x=b[3],S=v.bind(0);return S.Nr=function(n){return o("u",n)},S.Yr=function(){var n=f.$,r=f.rr,t=f.ur,e=f.cr?t.documentElement:n,i=j(e),o=X(e);y(),l(),j(r,i),X(r,o)},S.Wr=f,[function(n,r){var e=St(t,n,r);return x(e),w(p(e,m(),r),n,!!r)},S,function(){u(),g(),d()}]},Qt=Math.round,ne="pointerup pointerleave pointercancel lostpointercapture",re=function(n,r){return Vn(n,"mousedown",Vn.bind(0,r,"click",Gn,{T:!0,C:!0}),{C:!0})},te=function(n,r,t,e,i,o,u){var c=ht().F,a=e.Gr,f=e.Xr,l=e.Zr,d="scroll"+(u?"Left":"Top"),s="client"+(u?"X":"Y"),v=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,s=jn(f)[p]-jn(a)[p],v=r*t/s*e[w],h=An(l)&&u?c.n||c.i?1:-1:1;i[d]=n+v*h}};return Vn(f,"pointerdown",(function(e){var o=Z(e.target,"."+Br)===a,u=o?a:f;if(D(r,fr,hr,!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 Wn(a)},p=function(){return Wn(f)},g=function(n,r){return(n||l())[h]-(r||p())[h]},y=b(i[d]||0,1/function(n){var r=Wn(n),t=r.width,e=r.height,i=jn(n),o=i.w,u=i.h;return{x:Qt(t)/o||1,y:Qt(e)/u||1}}(i)[w]),m=e[s],x=l(),S=p(),O=x[v],P=g(x,S)+O/2,E=m-S[h],T=o?0:E-P,C=function(n){M(R),u.releasePointerCapture(n.pointerId)},R=[D.bind(0,r,fr,hr),Vn(t,ne,C),Vn(t,"selectstart",(function(n){return Un(n)}),{O:!1}),Vn(f,ne,C),Vn(f,"pointermove",(function(n){var r=n[s]-m;(o||c)&&y(T+r)}))];if(c)y(T);else if(!o){var z=Ur()[ft];z&&L(R,z.H(y,g,T,O,E))}u.setPointerCapture(e.pointerId)}}))},ee=function(n,r){return function(t,e,i,o,u,c,a){var f=t.Zr,l=Mn(333),d=l[0],s=l[1],v=!!u.scrollBy,h=!0;return M.bind(0,[Vn(f,"pointerenter",(function(){e(Nr,!0)})),Vn(f,"pointerleave pointercancel",(function(){e(Nr)})),Vn(f,"wheel",(function(n){var r=n.deltaX,t=n.deltaY,i=n.deltaMode;v&&h&&0===i&&F(f)===o&&u.scrollBy({left:r,top:t,behavior:"smooth"}),h=!1,e(Zr,!0),d((function(){h=!0,e(Zr)})),Un(n)}),{O:!1,C:!0}),re(f,i),te(n,o,i,t,u,r,a),s])}},ie=Math.min,oe=Math.max,ue=Math.round,ce=function(n,r,t,e){if(e){var i=t?"x":"y",o=e.Pr,u=e.Hr[i],c=o[i];return oe(0,ie(1,u/(u+c)))}var a=t?"width":"height",f=Wn(n)[a],l=Wn(r)[a];return oe(0,ie(1,f/l))},ae=function(n,r,t,e){return n.animate(t,{timeline:r,composite:e})},fe=function(n,r){var t;return(t={transform:[kn("0%",r),kn(r&&n?"100%":"-100%",r)]})[r?n?"right":"left":"top"]=["0%","100%"],t},le=function(n){return Math.max(0,n-.5)+"px"},de=function(n,r,t,e){return ae(n,r,{transform:[kn("0px",e),kn(le(t),e)]},"add")},se=function(n,r){return sn?new sn({source:n,axis:r}):null},ve=function(n,e,i){var o=ht(),u=o.Y,c=o.R,a=u().scrollbars.slot,f=e.ur,l=e.$,d=e.J,s=e.rr,v=e.sr,h=e.tr,w=e.cr,g=e.dr,y=((v?{}:n).scrollbars||{}).slot,m=new Map,x=se(h,"x"),S=se(h,"y"),P=bt([l,d,s],(function(){return g&&w?l:d}),a,y),T=function(n){return g&&!w&&F(n)===s},C=function(n){m.forEach((function(r,t){(!n||O(b(n)?n:[n],t)>-1)&&((r||[]).forEach((function(n){n.cancel()})),m.delete(t))}))},R=function(n,t,e){var i=e?gn:bn;r(n,(function(n){i(n.Zr,t)}))},z=function(n,e){r(n,(function(n){var r=e(n);t(r[0],r[1])}))},H=function(n,r,t){z(n,(function(n){var e,i=n.Gr,o=n.Xr;return[i,(e={},e[t?"width":"height"]=(100*ce(i,o,t,r)).toFixed(3)+"%",e)]}))},A=function(n,r,t){S||S||z(n,(function(n){var e=n.Gr,i=n.Xr,o=n.Zr,u=function(n,r,t,e,i,o){var u=ht().F,c=o?"x":"y",a=o?"Left":"Top",f=e.Pr,l=ue(f[c]),d=ie(l,oe(0,t["scroll"+a])),s=o&&i,v=u.i?d:l-d,h=ie(1,(s?v:d)/l),p=ce(n,r,o);return 1/p*(1-p)*h}(e,i,h,r,An(o),t);return[e,{transform:u==u?kn((100*u).toFixed(3)+"%",t):""}]}))},I=function(n){var r=n.Zr,t=T(r)&&r;return[t,{transform:t?kn([j(h)+"px",X(h)+"px"]):""}]},k=[],D=[],B=[],Y=function(n,r,t){var e=p(t),i=!e||!t;(!e||t)&&R(D,n,r),i&&R(B,n,r)},N=function(n){var r=n?Ir:kr,t=n?D:B,e=E(t)?Yr:"",o=K(Hr+" "+r+" "+e),u=K(Dr),a=K(Br),l={Zr:o,Xr:u,Gr:a};return c||gn(o,Rr),G(o,u),G(u,a),L(t,l),L(k,[q.bind(0,o),C,i(l,Y,f,d,h,n?x:S,n)]),l},W=N.bind(0,!0),_=N.bind(0,!1);return W(),_(),[{Kr:function(n){H(D,n,!0),H(B,n)},$r:function(n){A(D,n,!0),A(B,n)},Jr:function(){var n=function(n,r){var t=r.Zr,e=r.Gr;C(e),m.set(e,[ae(e,n?x:S,fe(n&&An(t),n))])};D.forEach(n.bind(0,!0)),B.forEach(n.bind(0,!1))},Qr:function(n){var r=n.Pr;B.concat(D).forEach((function(n){var t=n.Zr;C(t),T(t)&&m.set(t,[de(t,x,r.x,!0),de(t,S,r.y)])}))},ra:function(){S||S||(g&&z(D,I),g&&z(B,I))},aa:Y,ea:{B:x,na:D,ta:W,ia:z.bind(0,D)},va:{B:S,na:B,ta:_,ia:z.bind(0,B)}},function(){G(P,D[0].Zr),G(P,B[0].Zr),vn((function(){Y(Yr)}),300)},M.bind(0,k)]},he=function(n){return"mouse"===n.pointerType},pe=function(n,r,t,e){var i,o,u,c,a,f=En,l=0,d=Ot({})[0],s=Mn(),v=s[0],h=s[1],p=Mn(),w=p[0],b=p[1],g=Mn(100),y=g[0],m=g[1],x=Mn(100),S=x[0],O=x[1],L=Mn(100),P=L[0],E=L[1],T=Mn((function(){return l})),C=T[0],R=T[1],z=ve(n,t.Wr,ee(r,t)),H=z[0],A=z[1],I=z[2],k=t.Wr,D=k.J,B=k.ir,j=k.cr,X=H.aa,Y=H.Kr,N=H.$r,W=H.Jr,_=H.Qr,F=H.ra,Z=function(n){X(_r,n,!0),X(_r,n,!1)},J=function(n,r){if(R(),n)X(Fr);else{var t=function(){return X(Fr,!0)};l>0&&!r?C(t):t()}},V=function(n){he(n)&&(c=o)&&J(!0)},G=[m,R,O,E,b,h,I,Vn(D,"pointerover",V,{T:!0}),Vn(D,"pointerenter",V),Vn(D,"pointerleave",(function(n){he(n)&&(c=!1,o&&J(!1))})),Vn(D,"pointermove",(function(n){he(n)&&i&&v((function(){m(),J(!0),S((function(){i&&J(!1)}))}))})),Vn(B,"scroll",(function(n){w((function(){N(t()),u&&J(!0),y((function(){u&&!c&&J(!1)}))})),e(n),F()}))],U=d.bind(0);return U.Wr=H,U.Yr=A,[function(n,e,c){var d=c.Rr,s=c.Mr,v=c.Lr,h=c.yr,p=c.Ir,w=ht().L,b=St(r,n,e),g=t(),y=g.Pr,m=g.Tr,x=g.Sr,S=g.Ar,O=b("showNativeOverlaidScrollbars"),L=O[0],E=O[1],M=b("scrollbars.theme"),T=M[0],C=M[1],R=b("scrollbars.visibility"),z=R[0],H=R[1],A=b("scrollbars.autoHide"),I=A[0],k=A[1],D=b("scrollbars.autoHideSuspend"),V=D[0],G=D[1],U=b("scrollbars.autoHideDelay")[0],$=b("scrollbars.dragScroll"),q=$[0],K=$[1],Q=b("scrollbars.clickScroll"),nn=Q[0],rn=Q[1],tn=p&&!e,en=S.x||S.y,on=d||s||h,un=v||H,cn=L&&w.x&&w.y,an=function(n,r){var t="visible"===z||"auto"===z&&"scroll"===n;return X(jr,t,r),t};if(l=U,tn&&(V&&en?(Z(!1),f(),P((function(){f=Vn(B,"scroll",Z.bind(0,!0),{T:!0})}))):Z(!0)),E&&X(zr,cn),C&&(X(a),X(T,!0),a=T),G&&!V&&Z(!0),k&&(i="move"===I,o="leave"===I,J(!(u="never"!==I),!0)),K&&X(Vr,q),rn&&X(Jr,nn),un){var fn=an(m.x,!0),ln=an(m.y,!1);X(Xr,!(fn&&ln))}on&&(Y(g),N(g),W(g),_(g),F(),X(Wr,!y.x,!0),X(Wr,!y.y,!1),X(Ar,x&&!j))},U,function(){M(G),f()}]},we=function(n,r,t){w(n)&&n(r||void 0,t||void 0)},be=function(n,t,e){var i=ht(),o=i.G,u=i.Y,c=i.q,a=i.N,f=Ur(),l=x(n),d=l?n:n.target,s=mt(d);if(t&&!s){var v=!1,h=function(n){var r=Ur()[Qr],t=r&&r.H;return t?t(n,!0):n},p=R({},o(),h(t)),w=Qn(e),b=w[0],g=w[1],y=w[2],m=Kt(n,p),S=m[0],O=m[1],L=m[2],P=pe(n,p,O,(function(n){return y("scroll",[B,n])})),E=P[0],M=P[1],T=P[2],H=function(n,r){return S(n,!!r)},A=H.bind(0,{},!0),I=c(A),k=a(A),D=function(n){!function(n){yt.delete(n)}(d),I(),k(),T(),L(),v=!0,y("destroyed",[B,!!n]),g()},B={options:function(n,r){if(n){var t=r?o():{},e=tr(p,R(t,h(n)));z(e)||(R(p,e),H(e))}return R({},p)},on:b,off:function(n,r){n&&r&&g(n,r)},state:function(){var n=O(),r=n.Hr,t=n.Pr,e=n.Tr,i=n.Ar,o=n.ar,u=n.Or,c=n.Sr;return R({},{overflowEdge:r,overflowAmount:t,overflowStyle:e,hasOverflow:i,padding:o,paddingAbsolute:u,directionRTL:c,destroyed:v})},elements:function(){var n=O.Wr,r=n.$,t=n.J,e=n.ar,i=n.rr,o=n.er,u=n.tr,c=n.ir,a=M.Wr,f=a.ea,l=a.va,d=function(n){var r=n.Gr,t=n.Xr;return{scrollbar:n.Zr,track:t,handle:r}},s=function(n){var r=n.na,t=n.ta,e=d(r[0]);return R({},e,{clone:function(){var n=d(t());return E({},!0,{}),n}})};return R({},{target:r,host:t,padding:e||i,viewport:i,content:o||i,scrollOffsetElement:u,scrollEventElement:c,scrollbarHorizontal:s(f),scrollbarVertical:s(l)})},update:function(n){return H({},n)},destroy:D.bind(0)};return O.Nr((function(n,r,t){E(r,t,n)})),function(n,r){yt.set(n,r)}(d,B),r(C(f),(function(n){return we(f[n],0,B)})),gt(O.Wr.cr,u().cancel,!l&&n.cancel)?(D(!0),B):(O.Yr(),M.Yr(),y("initialized",[B]),O.Nr((function(n,r,t){var e=n.br,i=n.yr,o=n.mr,u=n.Rr,c=n.Mr,a=n.Lr,f=n.wr,l=n.zr;y("updated",[B,{updateHints:{sizeChanged:e,directionChanged:i,heightIntrinsicChanged:o,overflowEdgeChanged:u,overflowAmountChanged:c,overflowStyleChanged:a,contentMutation:f,hostMutation:l},changedOptions:r,force:t}])})),B.update(!0),B)}return s};return be.plugin=function(n){r(function(n){var t=[];return r(b(n)?n:[n],(function(n){r(C(n),(function(r){L(t,Gr[r]=n[r])}))})),t}(n),(function(n){return we(n,be)}))},be.valid=function(n){var r=n&&n.elements,t=w(r)&&r();return m(t)&&!!mt(t.target)},be.env=function(){var n=ht(),r=n.j,t=n.L,e=n.A,i=n.F,o=n.U,u=n.R,c=n.B,a=n.Z,f=n.K,l=n.Y,d=n.W,s=n.G,v=n.X;return R({},{scrollbarsSize:r,scrollbarsOverlaid:t,scrollbarsHiding:e,rtlScrollBehavior:i,flexboxGlue:o,cssCustomProperties:u,scrollTimeline:c,staticDefaultInitialization:a,staticDefaultOptions:f,getDefaultInitialization:l,setDefaultInitialization:d,getDefaultOptions:s,setDefaultOptions:v})},n.ClickScrollPlugin=lt,n.OverlayScrollbars=be,n.ScrollbarsHidingPlugin=at,n.SizeObserverPlugin=et,Object.defineProperty(n,"v",{value:!0}),n}({}); |
/*! | ||
* OverlayScrollbars | ||
* Version: 2.3.0 | ||
* Version: 2.3.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?Et(t,o,n):n.reduce(((e,n)=>(e[n]=Et(t,o,n),e)),e)}return e}t&&e(L(n),(e=>Mt(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,E=(t,n,r)=>{e(t,(t=>t&&t.apply(void 0,n||[]))),!r&&(t.length=0)},M=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),L=t=>t?Object.keys(t):[],P=(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(L(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]=P(i,r)}else t[e]=r}))})),t},C=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)},A=(t,e,n)=>{if(c(n))return t?t.getAttribute(e):null;t&&t.setAttribute(e,n)},H=(t,e)=>{t&&t.removeAttribute(e)},T=(t,e,n,r)=>{if(n){const o=A(t,e)||"",i=new Set(o.split(" "));i[r?"add":"delete"](n);const s=S(i).join(" ").trim();A(t,e,s)}},R=(t,e)=>z("scrollLeft",0,t,e),k=(t,e)=>z("scrollTop",0,t,e),I=o()&&Element.prototype,D=(t,e)=>{const n=[],r=e?m(e)?e:null:document;return r?$(n,r.querySelectorAll(t)):n},B=(t,e)=>!!m(t)&&(I.matches||I.msMatchesSelector).call(t,e),F=t=>t?S(t.childNodes):[],X=t=>t?t.parentElement:null,Y=(t,e)=>{if(m(t)){const n=I.closest;if(n)return n.call(t,e);do{if(B(t,e))return t;t=X(t)}while(t)}return null},N=(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)}},j=(t,e)=>{N(t,null,e)},V=(t,e)=>{N(X(t),t&&t.nextSibling,e)},K=t=>{if(g(t))e(S(t),(t=>K(t)));else if(t){const e=X(t);e&&e.removeChild(t)}},U=t=>{const e=document.createElement("div");return t&&A(e,"class",t),e},_=t=>{const n=U();return n.innerHTML=t.trim(),e(F(n),(t=>K(t)))},q=t=>t.charAt(0).toUpperCase()+t.slice(1),J=["-webkit-","-moz-","-o-","-ms-"],W=["WebKit","Moz","O","MS","webkit","moz","o","ms"],G={},Z={},Q=t=>{let n=Z[t];if(M(Z,t))return n;const r=q(t),o=U().style;return e(J,(e=>{const i=e.replace(/-/g,""),s=[t,e+t,i+r,q(i)+r];return!(n=s.find((t=>void 0!==o[t])))})),Z[t]=n||""},tt=t=>{if(o()){let n=G[t]||window[t];return M(G,t)||(e(W,(e=>(n=n||window[e+q(t)],!n))),G[t]=n),n}},et=tt("MutationObserver"),nt=tt("IntersectionObserver"),rt=tt("ResizeObserver"),ot=tt("cancelAnimationFrame"),it=tt("requestAnimationFrame"),st=tt("ScrollTimeline"),lt=o()&&window.setTimeout,ct=o()&&window.clearTimeout,at=/[^\x20\t\r\n\f]+/g,dt=(t,e,n)=>{const r=t&&t.classList;let o,i=0,s=!1;if(r&&e&&h(e)){const t=e.match(at)||[];for(s=t.length>0;o=t[i++];)s=!!n(r,o)&&s}return s},ut=(t,e)=>{dt(t,e,((t,e)=>t.remove(e)))},ht=(t,e)=>(dt(t,e,((t,e)=>t.add(e))),ut.bind(0,t,e)),{max:pt}=Math,ft=()=>performance.now(),wt=(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},bt=(t,e)=>wt(t,e,["w","h"]),gt=(t,e)=>wt(t,e,["x","y"]),vt=(t,e)=>wt(t,e,["t","r","b","l"]),yt=(t,e,n)=>wt(t,e,["width","height"],n&&(t=>Math.round(t))),mt=()=>{},xt=t=>{let e;const n=t?lt:it,r=t?ct:ot;return[o=>{r(e),e=n(o,f(t)?t():t)},()=>r(e)]},$t=(t,e)=>{let n,r,o,i=mt;const{g:s,v:l,p:c}=e||{},a=function(e){i(),ct(n),n=r=void 0,i=mt,t.apply(this,e)},d=t=>c&&r?c(r,t):t,h=()=>{i!==mt&&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?lt:it,w=e>0?ct:ot,b=d(t)||t,g=a.bind(0,b);i();const v=p(g,e);i=()=>w(v),c&&!n&&(n=lt(h,s)),r=o=b}else a(t)};return p.m=h,p},St={opacity:1,zIndex:1},Ot=(t,e)=>{const n=t||"",r=e?parseFloat(n):parseInt(n,10);return r==r?r:0},Et=(t,e,n)=>String((null!=e?e[n]||e.getPropertyValue(n):t.style[n])||""),Mt=(t,e,n)=>{try{const{style:r}=t;c(r[e])?r.setProperty(e,n):r[e]=((t,e)=>!St[t]&&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:Ot(d[s],!0),r:Ot(d[l],!0),b:Ot(d[c],!0),l:Ot(d[a],!0)}},Ct=(t,e)=>`translate${w(t)?`(${t[0]},${t[1]})`:`${e?"X":"Y"}(${t})`}`,{round:zt}=Math,At={w:0,h:0},Ht=t=>t?{w:t.offsetWidth,h:t.offsetHeight}:At,Tt=t=>t?{w:t.clientWidth,h:t.clientHeight}:At,Rt=t=>t?{w:t.scrollWidth,h:t.scrollHeight}:At,kt=t=>{const e=parseFloat(n(t,"height"))||0,r=parseFloat(n(t,"width"))||0;return{w:r-zt(r),h:e-zt(e)}},It=t=>t.getBoundingClientRect(),Dt=t=>!(!t||!t.height&&!t.width);let Bt;const Ft=t=>t.split(" "),Xt=(t,n,r,o)=>{e(Ft(n),(e=>{t.removeEventListener(e,r,o)}))},Yt=(t,n,r,o)=>{var i;const s=(()=>{if(c(Bt)){Bt=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get(){Bt=!0}}))}catch(t){}}return Bt})(),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(Ft(n),(e=>{const n=d?o=>{t.removeEventListener(e,n,a),r&&r(o)}:r;$(u,Xt.bind(null,t,e,n,a)),t.addEventListener(e,n,h)})),E.bind(0,u)},Nt=t=>t.stopPropagation(),jt=t=>t.preventDefault(),Vt={x:0,y:0},Kt=t=>{const e=t?It(t):0;return e?{x:e.left+window.pageYOffset,y:e.top+window.pageXOffset}:Vt},Ut=(t,n)=>{e(w(n)?n:[n],t)},_t=t=>{const n=new Map,r=(t,e)=>{if(t){const r=n.get(t);Ut((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),Ut((t=>{f(t)&&e.add(t)}),i),r.bind(0,t,i)}p(i)&&i&&r();const s=L(t),l=[];return e(s,(e=>{const n=t[e];n&&$(l,o(e,n))})),E.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()}))}]},qt=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,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},Wt=(t,n)=>{const r={};return e(L(n).concat(L(t)),(e=>{const o=t[e],i=n[e];if(b(o)&&b(i))P(r[e]={},Wt(o,i)),C(r[e])&&delete r[e];else if(M(n,e)&&i!==o){let t=!0;if(w(o)||w(i))try{qt(o)===qt(i)&&(t=!1)}catch(W){}t&&(r[e]=i)}})),r},Gt=`data-overlayscrollbars`,Zt="os-environment",Qt=`${Zt}-flexbox-glue`,te=`${Qt}-max`,ee=`os-scrollbar-hidden`,ne=`${Gt}-initialize`,re=Gt,oe=`${re}-overflow-x`,ie=`${re}-overflow-y`,se="overflowVisible",le="scrollbarHidden",ce="scrollbarPressed",ae="updating",de=`${Gt}-viewport`,ue="arrange",he="scrollbarHidden",pe=se,fe=`${Gt}-padding`,we=pe,be=`${Gt}-content`,ge="os-size-observer",ve=`${ge}-appear`,ye=`${ge}-listener`,me=`${ye}-scroll`,xe=`${ye}-item`,$e=`${xe}-final`,Se="os-trinsic-observer",Oe="os-no-css-vars",Ee="os-theme-none",Me="os-scrollbar",Le=`${Me}-rtl`,Pe=`${Me}-horizontal`,Ce=`${Me}-vertical`,ze=`${Me}-track`,Ae=`${Me}-handle`,He=`${Me}-visible`,Te=`${Me}-cornerless`,Re=`${Me}-transitionless`,ke=`${Me}-interaction`,Ie=`${Me}-unusable`,De=`${Me}-auto-hide`,Be=`${De}-hidden`,Fe=`${Me}-wheel`,Xe=`${ze}-interactive`,Ye=`${Ae}-interactive`,Ne={},je=()=>Ne,Ve="__osOptionsValidationPlugin",Ke=3333333,Ue="scroll",_e="__osSizeObserverPlugin",qe=(()=>({[_e]:{O:(t,e,r)=>{const o=_(`<div class="${xe}" dir="ltr"><div class="${xe}"><div class="${$e}"></div></div><div class="${xe}"><div class="${$e}" style="width: 200%; height: 200%"></div></div></div>`);j(t,o),ht(t,me);const i=o[0],s=i.lastChild,l=i.firstChild,c=null==l?void 0:l.firstChild;let a,d=Ht(i),u=d,h=!1;const p=()=>{R(l,Ke),k(l,Ke),R(s,Ke),k(s,Ke)},f=t=>{a=0,h&&(d=u,e(!0===t))},w=t=>{u=Ht(i),h=!t||!bt(u,d),t?(Nt(t),h&&!a&&(ot(a),a=it(f))):f(!1===t),p()},b=$([],[Yt(l,Ue,w),Yt(s,Ue,w)]);return n(c,{width:Ke,height:Ke}),it(p),[r?w.bind(0,!1):p,b]}}}))();let Je=0;const{round:We,abs:Ge}=Math,Ze="__osScrollbarsHidingPlugin",Qe=(()=>({[Ze]:{T:t=>{const{A:e,I:n,H:r}=t,o=!(r||e||!n.x&&!n.y)&&document.createElement("style");return o&&(A(o,"id",`${de}-${ue}-${Je}`),Je++),o},L:(t,r,o,i,s,l,c)=>[(e,r,l,c)=>{if(t){const{M:t}=s(),{P: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(`#${A(i,"id")} + [${de}~='${ue}']::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),{M: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,L(b));return T(o,de,ue),r||(b.height=""),n(o,b),[()=>{c(u,a,t,v),n(o,v),T(o,de,ue,!0)},u]}return[mt]}],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=Ge(s.w),c=Ge(s.h),a={w:Ge(We(i.w/(t.w/100))),h:Ge(We(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=Ge(t),r=Ge(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();P(n.k,t),e&&o()}t=i,e=d}}}}))(),tn="__osClickScrollPlugin",en=(()=>({[tn]:{O:(t,e,n,r,o)=>{let i=0,s=mt;const l=c=>{s=((t,e,n,r,o)=>{let i=0;const s=ft(),l=pt(0,133),c=n=>{const a=ft(),d=a-s>=l,u=n?1:1-(pt(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 nn;const rn=(t,e,n,r)=>{j(t,e);const o=Tt(e),i=Ht(e),s=kt(n);return r&&K(e),{x:i.h-o.h+s.h,y:i.w-o.w+s.w}},on=(t,e)=>{const r="hidden";n(t,{overflowX:r,overflowY:r,direction:"rtl"}),R(t,0);const o=Kt(t),i=Kt(e);R(t,-999);const s=Kt(e);return{i:o.x===i.x,n:i.x!==s.x}},sn=(t,e)=>{const n=ht(t,Qt),r=It(t),o=It(e),i=yt(o,r,!0),s=ht(t,te),l=It(t),c=It(e),a=yt(c,l,!0);return n(),s(),i&&a},ln=()=>(nn||(nn=(()=>{const{body:t}=document,e=_(`<div class="${Zt}"><div></div></div>`)[0],o=e.firstChild,[i,,s]=_t(),[l,c]=r({o:rn(t,e,o),u:gt},rn.bind(0,t,e,o,!0)),[a]=c(),d=(t=>{let e=!1;const r=ht(t,ee);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=P({},Jt),f=P.bind(0,{},p),w=P.bind(0,{},h),b={k:a,I:u,A:d,H:"-1"===n(e,"zIndex"),B:!!st,V:on(e,o),Y:sn(e,o),j:i.bind(0,"z"),N:i.bind(0,"r"),q:w,G:t=>P(h,t)&&w(),F:f,X:t=>P(p,t)&&f(),U:P({},h),W:P({},p)},g=window.addEventListener,v=$t((t=>s(t?"z":"r")),{g:33,v:99});if(H(e,"style"),K(e),g("resize",v.bind(0,!1)),!(d||u.x&&u.y)){let t;g("resize",(()=>{const e=je()[Ze];t=t||e&&e.R(),t&&t(b,l,v.bind(0,!0))}))}return b})()),nn),cn=(t,e)=>f(e)?e.apply(0,t):e,an=(t,e,n,r)=>{const o=c(r)?n:r;return cn(t,o)||e.apply(0,t)},dn=(t,e,n,r)=>{const o=c(r)?n:r,i=cn(t,o);return!!i&&(y(i)?i:e.apply(0,t))},un=new WeakMap,hn=t=>un.get(t),pn=(t,e)=>t?e.split(".").reduce(((t,e)=>t&&M(t,e)?t[e]:void 0),t):void 0,fn=(t,e,n)=>r=>[pn(t,r),n||void 0!==pn(e,r)],wn=t=>{let e=t;return[()=>e,t=>{e=P({},e,t)}]},bn="tabindex",gn=U.bind(0,""),vn=t=>{j(X(t),F(t)),K(t)},yn=t=>{const e=ln(),{q:n,A:r}=e,o=je()[Ze],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=B(v,"textarea"),S=v.ownerDocument,O=S.documentElement,M=v===S.body,P=S.defaultView,C=an.bind(0,[v]),z=dn.bind(0,[v]),R=cn.bind(0,[v]),k=C.bind(0,gn,a),I=z.bind(0,gn,d),D=k(b),Y=D===v,U=Y&&M,_=!Y&&I(g),q=!Y&&y(D)&&D===_,J=q&&!!R(d),W=J?k():D,G=J?_:I(),Z=U?O:q?W:D,Q=m?C(gn,l,f):v,tt=U?Z:Q,et=q?G:_,nt=S.activeElement,rt=!Y&&P.top===P&&nt===v,ot={Z:v,J:tt,K:Z,tt:!Y&&z(gn,c,w),nt:et,ot:!Y&&!r&&i&&i(e),st:U?O:Z,et:U?S:Z,ct:P,rt:S,lt:m,it:M,ut:u,ft:Y,dt:q,_t:(t,e)=>((t,e,n)=>{const r=A(t,e)||"";return new Set(r.split(" ")).has(n)})(Z,Y?re:de,Y?e:t),ht:(t,e,n)=>T(Z,Y?re:de,Y?e:t,n)},it=L(ot).reduce(((t,e)=>{const n=ot[e];return $(t,!(!n||!y(n)||X(n))&&n)}),[]),st=t=>t?x(it,t)>-1:null,{Z:lt,J:ct,tt:at,K:dt,nt:ut,ot:pt}=ot,ft=[()=>{H(ct,re),H(ct,ne),H(lt,ne),M&&(H(O,re),H(O,ne))}],wt=m&&st(ct);let bt=m?lt:F([ut,dt,at,ct,lt].find((t=>!1===st(t))));const gt=U?lt:ut||dt;return[ot,()=>{A(ct,re,Y?"viewport":"host"),A(at,fe,""),A(ut,be,""),Y||A(dt,de,"");const t=M&&!Y?ht(X(v),ee):mt;if(wt&&(V(lt,ct),$(ft,(()=>{V(ct,lt),K(ct)}))),j(gt,bt),j(ct,at),j(at||ct,!Y&&dt),j(dt,ut),$(ft,(()=>{t(),H(at,fe),H(ut,be),H(dt,oe),H(dt,ie),H(dt,de),st(ut)&&vn(ut),st(dt)&&vn(dt),st(at)&&vn(at)})),r&&!Y&&(T(dt,de,he,!0),$(ft,H.bind(0,dt,de))),pt&&(((t,e)=>{N(X(t),t,e)})(dt,pt),$(ft,K.bind(0,pt))),rt){const t=A(dt,bn);A(dt,bn,"-1"),dt.focus();const e=()=>t?A(dt,bn,t):H(dt,bn),n=Yt(S,"pointerdown keydown",(()=>{e(),n()}));$(ft,[e,n])}else nt&&nt.focus&&nt.focus();bt=0},E.bind(0,ft)]},mn=(t,e)=>{const{nt:r}=t,[o]=e;return t=>{const{Y:e}=ln(),{gt:i}=o(),{vt:s}=t,l=(r||!e)&&s;return l&&n(r,{height:i?"":"100%"}),{wt:l,bt:l}}},xn=(t,e)=>{const[o,i]=e,{J:s,tt:l,K:c,ft:a}=t,[d,u]=r({u:vt,o:Pt()},Pt.bind(0,s,"padding",""));return(t,e,r)=>{let[s,h]=u(r);const{A:p,Y:f}=ln(),{yt:w}=o(),{wt:b,bt:g,St: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({tt:s,$t:!t,M:l?a:P({},o,a)})}return{xt:x}}},{max:$n}=Math,Sn=$n.bind(0,0),On="visible",En="hidden",Mn=42,Ln={u:bt,o:{w:0,h:0}},Pn={u:gt,o:{x:En,y:En}},Cn=t=>0===t.indexOf(On),zn=(t,e)=>{const[o,i]=e,{J:s,tt:l,K:c,ot:a,ft:d,ht:u,it:h,ct:p}=t,{k:f,Y:w,A:b,I:g}=ln(),v=je()[Ze],y=!d&&!b&&(g.x||g.y),m=h&&d,[x,$]=r(Ln,kt.bind(0,c)),[S,O]=r(Ln,Rt.bind(0,c)),[E,M]=r(Ln),[L,P]=r(Ln),[C]=r(Pn),z=(t,e)=>{if(n(c,{height:""}),e){const{$t:e,tt:r}=o(),{Ct:i,P: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})}},H=(t,e)=>{const r=b||t?0:Mn,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{Ot:{x:i,y:d},Ct:{x:s,y:u},P:{x:l,y:h},D:{x:a,y:p}}},R=(t,e,n,r)=>{const{P:i,D:s}=t,{x:l,y:c}=s,{x:a,y:d}=i,{M: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))},[k,I]=v?v.L(y,w,c,a,o,H,R):[()=>y,()=>[mt]];return(t,e,r)=>{const{wt:a,Tt:h,bt:f,xt:v,vt:y,St:D}=t,{gt:B,yt:F}=o(),[X,Y]=e("showNativeOverlaidScrollbars"),[N,j]=e("overflow"),V=X&&g.x&&g.y,K=!d&&!w&&(a||f||h||Y||y),U=Cn(N.x),_=Cn(N.y),q=U||_;let J,W=$(r),G=O(r),Z=M(r),Q=P(r);if(Y&&b&&u(he,le,!V),K&&(J=H(V),z(J,B)),a||v||f||D||Y){q&&u(pe,se,!1);const[t,e]=I(V,F,J),[n,o]=W=x(r),[i,s]=G=S(r),l=Tt(c);let a=i,d=l;t(),(s||o||Y)&&e&&!V&&k(e,i,n,F)&&(d=Tt(c),a=Rt(c));const h={w:Sn($n(i.w,a.w)+n.w),h:Sn($n(i.h,a.h)+n.h)},f={w:Sn((m?p.innerWidth:d.w+Sn(l.w-i.w))+n.w),h:Sn((m?p.innerHeight+n.h:d.h+Sn(l.h-i.h))+n.h)};Q=L(f),Z=E(((t,e)=>{const n=window.devicePixelRatio%1!=0?1:0,r={w:Sn(t.w-e.w),h:Sn(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]=Z,[ot,it]=G,[st,lt]=W,ct={x:nt.w>0,y:nt.h>0},at=U&&_&&(ct.x||ct.y)||U&&ct.x&&!ct.y||_&&ct.y&&!ct.x;if(v||D||lt||it||et||rt||j||Y||K){const t={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},e=((t,e,n,r)=>{const o=(t,e)=>{const n=Cn(t),r=e&&n&&t.replace(`${On}-`,"")||"";return[e&&!n?t:"",Cn(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,H(t,r)})(V,ct,N,t),r=k(e,ot,st,F);d||R(e,F,r,t),K&&z(e,B),d?(A(s,oe,t.overflowX),A(s,ie,t.overflowY)):n(c,t)}T(s,re,se,at),T(l,fe,we,at),d||T(c,de,pe,q);const[dt,ut]=C(H(V).Ot);return i({Ot:dt,zt:{x:tt.w,y:tt.h},Et:{x:nt.w,y:nt.h},At:ct}),{It:ut,Ht:et,Lt:rt}}},An=(t,n,r)=>{const o={},i=n||{};return e(L(t).concat(L(i)),(e=>{const n=t[e],s=i[e];o[e]=!!(r||n||s)})),o},Hn=(t,n,r,o)=>{let i=!1;const{Pt:s,Dt:l,Rt:c,kt:a,Bt:d,Vt:u}=o||{},p=$t((()=>{i&&r(!0)}),{g:33,v: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):D(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=Yt(e,s,(r=>{i?(t(),o.delete(e)):n(r)}));o.set(e,$(l,t))}else E(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||mt,c=u||mt,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)?A(s,i):0,E=0!==O&&u!==O,M=x(b,i)>-1&&E;if(n&&($||!S)){const n=!m,d=m&&E,h=d&&a&&B(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&&E&&!l(s,i,u,O)&&(f.add(i),g=g||M)})),p.size>0&&w((t=>S(p).reduce(((e,n)=>($(e,D(t,n)),B(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)}}]},Tn=3333333,Rn=(t,e,n)=>{const{Yt:o=!1,Mt:i=!1}=n||{},s=je()[_e],{V:l}=ln(),c=_(`<div class="${ge}"><div class="${ye}"></div></div>`)[0],a=c.firstChild,d=Lt.bind(0,t),[u]=r({o:void 0,_:!0,u:(t,e)=>!(!t||!Dt(t)&&Dt(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=Dt(e),o=Dt(n);i=!n&&!!o||!r,s=!o&&r,a=!i}else r?[,a]=t:s=!0===t;if(o&&a){const e=r?t[0]:Lt(c);R(c,e?l.n?-Tn:l.i?0:Tn:Tn),k(c,Tn)}i||e({wt:!r,jt:r?t:void 0,Mt:!!s})},f=[];let g=!!i&&h;return[()=>{E(f),K(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,Yt(c,"scroll",(e=>{const n=t(),[r,o,i]=n;o&&(ut(a,"ltr rtl"),ht(a,r?"rtl":"ltr"),h([!!r,o,i])),Nt(e)})))}g&&(ht(c,ve),$(f,Yt(c,"animationstart",g,{C:!!rt}))),(rt||s)&&j(t,c)}]},kn=(t,e)=>{let n;const o=U(Se),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[()=>{E(i),K(o)},()=>{if(nt)n=new nt((t=>c(t)),{root:t}),n.observe(o),$(i,(()=>{n.disconnect()}));else{const t=()=>{const t=Ht(o);l(t)},[e,n]=Rn(o,t);$(i,e),n(),t()}j(t,o)},()=>{if(n)return c(n.takeRecords(),!0)}]},In=`[${re}]`,Dn=`[${de}]`,Bn=["tabindex"],Fn=["wrap","cols","rows"],Xn=["id","class","style","open"],Yn=(t,n,o)=>{let i,s,l;const{J:c,K:a,nt:d,lt:p,ft:b,_t:g,ht:v}=t,{Y:y}=ln(),[S]=r({u:bt,o:{w:0,h:0}},(()=>{const t=g(pe,se),e=g(ue,""),n=e&&R(a),r=e&&k(a);v(pe,se),v(ue,""),v("",ae,!0);const o=Rt(d),i=Rt(a),s=kt(a);return v(pe,se,t),v(ue,"",e),v("",ae),R(a,n),k(a,r),{w:i.w+o.w+s.w,h:i.h+o.h+s.h}})),O=p?Fn:Xn.concat(Fn),E=$t(o,{g:()=>i,v:()=>s,p(t,e){const[n]=t,[r]=e;return[L(n).concat(L(r)).reduce(((t,e)=>(t[e]=n[e]||r[e],t)),{})]}}),M=t=>{e(t||Bn,(t=>{if(x(Bn,t)>-1){const e=A(c,t);h(e)?A(a,t,e):H(a,t)}}))},C=(t,e)=>{const[r,i]=t,s={vt:i};return n({gt:r}),!e&&o(s),s},z=({wt:t,jt:e,Mt:r})=>{const i=!t||r?o:E;let s=!1;if(e){const[t,r]=e;s=r,n({yt:t})}i({wt:t,Mt:r,St:s})},T=(t,e)=>{const[,n]=S(),r={bt:n};return n&&!e&&(t?o:E)(r),r},I=(t,e,n)=>{const r={Tt:e};return e?!n&&E(r):b||M(t),r},[D,B,F]=d||!y?kn(c,C):[mt,mt,mt],[X,N]=b?[mt,mt]:Rn(c,z,{Mt:!0,Yt:!0}),[j,V]=Hn(c,!1,I,{Dt:Xn,Pt:Xn.concat(Bn)});let K;const U=b&&rt&&new rt((t=>{const e=t[t.length-1].contentRect,n=Dt(e),r=Dt(K);z({wt:!0,Mt:!r&&n}),K=e}));return[()=>{D(),X(),l&&l[0](),U&&U.disconnect(),j()},()=>{U&&U.observe(c),M(),N(),B()},()=>{const t={},e=V(),n=F(),r=l&&l[1]();return e&&P(t,I.apply(0,$(e,!0))),n&&P(t,C.apply(0,$(n,!0))),r&&P(t,T.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=Hn(d||a,!0,T,{Pt:O.concat(n||[]),Rt:o,kt:In,Vt:(t,e)=>{const{target:n,attributeName:r}=t;return!(e||!r||b)&&((t,e,n)=>{const r=t&&Y(t,e),o=t&&((t,e)=>{const n=e?m(e)?e:null:document;return n?n.querySelector(t):null})(n,r),i=Y(o,e)===r;return!(!r||!o)&&(r===t||o===t||i&&Y(Y(t,n),e)!==r)})(n,In,Dn)||!!Y(n,`.${Me}`)||!!g(t)}})),p)if(E.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)}]},Nn={x:0,y:0},{round:jn}=Math,Vn="pointerup pointerleave pointercancel lostpointercapture",Kn=(t,e)=>Yt(t,"mousedown",Yt.bind(0,e,"click",Nt,{C:!0,$:!0}),{$:!0}),Un=(t,e,n,r,o,i,s)=>{const{V:l}=ln(),{Ft:c,Xt:a,Ut: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{Et:r}=i(),h=Ht(a)[w]-Ht(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 Yt(a,"pointerdown",(r=>{const i=Y(r.target,`.${Ae}`)===c,s=i?c:a;if(T(e,re,ce,!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}=Ht(t);return{x:jn(e)/r||1,y:jn(n)/o||1}})(o)[b]),y=r[h],m=l(),x=d(),S=m[p],O=w(m,x)+S/2,M=y-x[f],L=i?0:M-O,P=t=>{E(C),s.releasePointerCapture(t.pointerId)},C=[T.bind(0,e,re,ce),Yt(n,Vn,P),Yt(n,"selectstart",(t=>jt(t)),{S:!1}),Yt(a,Vn,P),Yt(a,"pointermove",(e=>{const n=e[h]-y;(i||t)&&v(L+n)}))];if(t)v(L);else if(!i){const t=je()[tn];t&&$(C,t.O(v,w,L,S,M))}s.setPointerCapture(r.pointerId)}}))},_n=({Ft:t},e,n)=>{if(!e)return mt;const r=t.animate((t=>({transform:[Ct(`0%`,t),Ct("-100%",t)],[t?"left":"top"]:["0%","100%"]}))(n),{timeline:e});return()=>{r.cancel()}},{min:qn,max:Jn,abs:Wn,round:Gn}=Math,Zn=(t,e,n,r)=>{if(r){const t=n?"x":"y",{Et:e,zt:o}=r,i=o[t],s=e[t];return Jn(0,qn(1,i/(i+s)))}const o=n?"width":"height",i=It(t)[o],s=It(e)[o];return Jn(0,qn(1,i/s))},Qn=t=>`${Math.max(0,t-.5)}px`,tr=(t,e,n,r)=>t.animate({transform:[Ct(`0px`,r),Ct(Qn(n),r)]},{timeline:e,composite:"add"}),er=(t,e)=>st?new st({source:t,axis:e}):null,nr=(t,r,o)=>{const{q:i,H:s}=ln(),{scrollbars:l}=i(),{slot:c}=l,{rt:a,Z:d,J:u,K:h,ut:f,st:w,it:b,ft:g}=r,{scrollbars:v}=f?{}:t,{slot:y}=v||{},m=new Map,x=er(w,"x"),S=er(w,"y"),M=dn([d,u,h],(()=>g&&b?d:u),c,y),L=t=>g&&!b&&X(t)===h,P=()=>{m.forEach((t=>{(t||[]).forEach((t=>{t.cancel()}))}))},C=(t,n,r)=>{const o=r?ht:ut;e(t,(t=>{o(t.Ut,n)}))},z=(t,r)=>{e(t,(t=>{const[e,o]=r(t);n(e,o)}))},A=(t,e,n)=>{z(t,(t=>{const{Ft:r,Xt:o}=t;return[r,{[n?"width":"height"]:`${(100*Zn(r,o,n,e)).toFixed(3)}%`}]}))},H=(t,e,n)=>{S||S||z(t,(t=>{const{Ft:r,Xt:o,Ut:i}=t,s=((t,e,n,r,o,i)=>{const{V:s}=ln(),l=i?"x":"y",c=i?"Left":"Top",{Et:a}=r,d=Gn(a[l]),u=Wn(n[`scroll${c}`]),h=i&&o,p=s.i?u:d-u,f=qn(1,(h?p:u)/d),w=Zn(t,e,i);return 1/w*(1-w)*f})(r,o,w,e,Lt(i),n);return[r,{transform:s==s?Ct(`${(100*s).toFixed(3)}%`,n):""}]}))},T=t=>{const{Ut:e}=t,n=L(e)&&e;return[n,{transform:n?Ct([`${R(w)}px`,`${k(w)}px`]):""}]},I=[],D=[],B=[],F=(t,e,n)=>{const r=p(n),o=!r||!n;(!r||n)&&C(D,t,e),o&&C(B,t,e)},Y=t=>{const e=t?Pe:Ce,n=t?D:B,r=O(n)?Re:"",i=U(`${Me} ${e} ${r}`),l=U(ze),c=U(Ae),d={Ut:i,Xt:l,Ft:c};return s||ht(i,Oe),j(i,l),j(l,c),$(n,d),$(I,[()=>{P(),m.clear()},K.bind(0,i),o(d,F,a,u,w,t?x:S,t)]),d},N=Y.bind(0,!0),V=Y.bind(0,!1);return N(),V(),[{Wt:t=>{A(D,t,!0),A(B,t)},Zt:t=>{H(D,t,!0),H(B,t)},Jt:({Et:t})=>{P(),B.concat(D).forEach((({Ut:e})=>{L(e)&&m.set(e,[tr(e,x,t.x,!0),tr(e,S,t.y)])}))},Kt:()=>{S||S||(g&&z(D,T),g&&z(B,T))},Qt:F,tn:{B:x,nn:D,sn:N,en:z.bind(0,D)},cn:{B:S,nn:B,sn:V,en:z.bind(0,B)}},()=>{j(M,D[0].Ut),j(M,B[0].Ut),lt((()=>{F(Re)}),300)},E.bind(0,I)]},rr=(t,e,n)=>{f(t)&&t(e||void 0,n||void 0)},or=(t,n,r)=>{const{F:o,q:i,j:s,N:l}=ln(),d=je(),u=y(t),h=u?t:t.target,p=hn(h);if(n&&!p){let p=!1;const f=t=>{const e=je()[Ve],n=e&&e.O;return n?n(t,!0):t},w=P({},o(),f(n)),[b,g,v]=_t(r),[y,m,x]=((t,n)=>{const r=fn(n,{}),[o,i,s]=_t(),[l,c,a]=yn(t),d=wn((t=>({tt:{t:0,r:0,b:0,l:0},$t:!1,M:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zt:Nn,Et:Nn,Ot:{x:"hidden",y:"hidden"},At:{x:!1,y:!1},gt:!1,yt:Lt(t.J)}))(l)),[u,h]=d,p=((t,n)=>{const{Z:r,K:o,ht:i,ft:s}=t,{A:l,I:c,Y:a}=ln(),d=!l&&(c.x||c.y),u=[mn(t,n),xn(t,n),zn(t,n)];return(t,n,l)=>{const c=An(P({wt:!1,xt:!1,St:!1,vt:!1,Ht:!1,Lt:!1,It:!1,Tt:!1,bt:!1,Mt:!1},n),{},l),h=d||!a,p=h&&R(o),f=h&&k(o);i("",ae,!0);let w=c;return e(u,(e=>{w=An(w,e(w,t,!!l)||{},l)})),R(o,p),k(o,f),i("",ae),s||(R(r,0),k(r,0)),w}})(l,d),f=(t,e,n)=>{const r=L(t).some((e=>!!t[e])),o=r||!C(e)||n;return o&&s("u",[t,e,n]),o},[w,b,g,v]=Yn(l,h,(t=>f(p(r,t),{},!1))),y=u.bind(0);return y.Nt=t=>o("u",t),y.qt=()=>{const{Z:t,K:e,rt:n,it:r}=l,o=r?n.documentElement:t,i=R(o),s=k(o);b(),c(),R(e,i),k(e,s)},y.Gt=l,[(t,e)=>{const r=fn(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=wn({}),[u]=d,[h,p]=xt(),[f,w]=xt(),[b,g]=xt(100),[v,y]=xt(100),[m,x]=xt(100),[$,S]=xt((()=>a)),[O,M,L]=nr(t,n.Gt,((t,e)=>(n,r,o,i,s,l,c)=>{const{Ut:a}=n,[d,u]=xt(333),h=!!s.scrollBy;let p=!0;return E.bind(0,[Yt(a,"pointerenter",(()=>{r(ke,!0)})),Yt(a,"pointerleave pointercancel",(()=>{r(ke)})),Yt(a,"wheel",(t=>{const{deltaX:e,deltaY:n,deltaMode:o}=t;h&&p&&0===o&&X(a)===i&&s.scrollBy({left:e,top:n,behavior:"smooth"}),p=!1,r(Fe,!0),d((()=>{p=!0,r(Fe)})),jt(t)}),{S:!1,$:!0}),Kn(a,o),Un(t,i,o,n,s,e,c),_n(n,l,c),u])})(e,n)),{J:P,et:C,it:z}=n.Gt,{Qt:A,Wt:H,Zt:T,Jt:R,Kt:k}=O,I=t=>{A(De,t,!0),A(De,t,!1)},D=(t,e)=>{if(S(),t)A(Be);else{const t=()=>A(Be,!0);a>0&&!e?$(t):t()}},B=()=>{l=i,l&&D(!0)},F=[g,S,y,x,w,p,L,Yt(P,"pointerover",B,{C:!0}),Yt(P,"pointerenter",B),Yt(P,"pointerleave",(()=>{l=!1,i&&D(!1)})),Yt(P,"pointermove",(()=>{o&&h((()=>{g(),D(!0),v((()=>{o&&D(!1)}))}))})),Yt(C,"scroll",(t=>{f((()=>{T(n()),s&&D(!0),b((()=>{s&&!l&&D(!1)}))})),r(t),k()}))],Y=u.bind(0);return Y.Gt=O,Y.qt=M,[(t,r,l)=>{const{Ht:d,Lt:u,It:h,St:p,Mt:f}=l,{I:w}=ln(),b=fn(e,t,r),g=n(),{Et:v,Ot:y,yt:x,At:$}=g,[S,O]=b("showNativeOverlaidScrollbars"),[E,M]=b("scrollbars.theme"),[L,P]=b("scrollbars.visibility"),[B,X]=b("scrollbars.autoHide"),[Y,N]=b("scrollbars.autoHideSuspend"),[j]=b("scrollbars.autoHideDelay"),[V,K]=b("scrollbars.dragScroll"),[U,_]=b("scrollbars.clickScroll"),q=f&&!r,J=d||u||p,W=h||P,G=S&&w.x&&w.y,Z=(t,e)=>{const n="visible"===L||"auto"===L&&"scroll"===t;return A(He,n,e),n};if(a=j,O&&A(Ee,G),M&&(A(c),A(E,!0),c=E),(N||q)&&(Y&&q&&($.x||$.y)?(I(!1),m((()=>F.push(Yt(C,"scroll",I.bind(0,!0),{C:!0}))))):I(!0)),X&&(o="move"===B,i="leave"===B,s="never"!==B,D(!s,!0)),K&&A(Ye,V),_&&A(Xe,U),W){const t=Z(y.x,!0),e=Z(y.y,!1);A(Te,!(t&&e))}J&&(H(g),T(g),R(g),k(),A(Ie,!v.x,!0),A(Ie,!v.y,!1),A(Le,x&&!z))},Y,E.bind(0,F)]})(t,w,m,(t=>v("scroll",[I,t]))),M=(t,e)=>y(t,!!e),z=M.bind(0,{},!0),A=s(z),H=l(z),T=t=>{(t=>{un.delete(t)})(h),A(),H(),O(),x(),p=!0,v("destroyed",[I,!!t]),g()},I={options(t,e){if(t){const n=e?o():{},r=Wt(w,P(n,f(t)));C(r)||(P(w,r),M(r))}return P({},w)},on:b,off:(t,e)=>{t&&e&&g(t,e)},state(){const{zt:t,Et:e,Ot:n,At:r,tt:o,$t:i,yt:s}=m();return P({},{overflowEdge:t,overflowAmount:e,overflowStyle:n,hasOverflow:r,padding:o,paddingAbsolute:i,directionRTL:s,destroyed:p})},elements(){const{Z:t,J:e,tt:n,K:r,nt:o,st:i,et:s}=m.Gt,{tn:l,cn:c}=S.Gt,a=t=>{const{Ft:e,Xt:n,Ut:r}=t;return{scrollbar:r,track:n,handle:e}},d=t=>{const{nn:e,sn:n}=t,r=a(e[0]);return P({},r,{clone:()=>{const t=a(n());return $({},!0,{}),t}})};return P({},{target:t,host:e,padding:n||r,viewport:r,content:o||r,scrollOffsetElement:i,scrollEventElement:s,scrollbarHorizontal:d(l),scrollbarVertical:d(c)})},update:t=>M({},t),destroy:T.bind(0)};return m.Nt(((t,e,n)=>{$(e,n,t)})),((t,e)=>{un.set(t,e)})(h,I),e(L(d),(t=>rr(d[t],0,I))),((t,e,n)=>{const{nativeScrollbarsOverlaid:r,body:o}=n||{},{I:i,A:s}=ln(),{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.Gt.it,i().cancel,!u&&t.cancel)?(T(!0),I):(m.qt(),S.qt(),v("initialized",[I]),m.Nt(((t,e,n)=>{const{wt:r,St:o,vt:i,Ht:s,Lt:l,It:c,bt:a,Tt:d}=t;v("updated",[I,{updateHints:{sizeChanged:r,directionChanged:o,heightIntrinsicChanged:i,overflowEdgeChanged:s,overflowAmountChanged:l,overflowStyleChanged:c,contentMutation:a,hostMutation:d},changedOptions:e,force:n}])})),I.update(!0),I)}return p};return or.plugin=t=>{e((t=>{const n=[];return e(w(t)?t:[t],(t=>{e(L(t),(e=>{$(n,Ne[e]=t[e])}))})),n})(t),(t=>rr(t,or)))},or.valid=t=>{const e=t&&t.elements,n=f(e)&&e();return v(n)&&!!hn(n.target)},or.env=()=>{const{k:t,I:e,A:n,V:r,Y:o,H:i,B:s,U:l,W:c,q:a,G:d,F:u,X:h}=ln();return P({},{scrollbarsSize:t,scrollbarsOverlaid:e,scrollbarsHiding:n,rtlScrollBehavior:r,flexboxGlue:o,cssCustomProperties:i,scrollTimeline:s,staticDefaultInitialization:l,staticDefaultOptions:c,getDefaultInitialization:a,setDefaultInitialization:d,getDefaultOptions:u,setDefaultOptions:h})},t.ClickScrollPlugin=en,t.OverlayScrollbars=or,t.ScrollbarsHidingPlugin=Qe,t.SizeObserverPlugin=qe,Object.defineProperties(t,{rn:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),t}({}); | ||
var OverlayScrollbarsGlobal=function(t){"use strict";function e(t,n){if(b(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 o=h(n);if(w(n)||o){let e=o?"":{};if(t){const r=window.getComputedStyle(t,null);e=o?Mt(t,r,n):n.reduce(((e,n)=>(e[n]=Mt(t,r,n),e)),e)}return e}t&&e(L(n),(e=>Lt(t,e,n[e])))}const o=(t,e)=>{const{o:n,u:o,_:r}=t;let i,s=n;const l=(t,e)=>{const n=s,l=t,c=e||(o?!o(n,l):n!==l);return(c||r)&&(s=l,i=n),[s,c,i]};return[e?t=>l(e(s,i),t):l,t=>[s,!!t,i]]},r=()=>"undefined"!=typeof window,i=r()&&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),g=t=>"object"==typeof t&&!w(t)&&!a(t),b=t=>{const e=!!t&&t.length,n=u(e)&&e>-1&&e%1==0;return!(!(w(t)||!f(t)&&n)||e>0&&g(t)&&!(e-1 in t))},v=t=>{if(!t||!g(t)||"object"!==d(t))return!1;let e;const n="constructor",o=t[n],r=o&&o.prototype,i=l.call(t,n),s=r&&l.call(r,"isPrototypeOf");if(o&&!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)||!b(e)?t.push(e):Array.prototype.push.apply(t,e),t),S=t=>{const n=Array.from,o=[];return n&&t?n(t):(t instanceof Set?t.forEach((t=>{$(o,t)})):e(t,(t=>{$(o,t)})),o)},O=t=>!!t&&0===t.length,E=(t,n,o)=>{e(t,(t=>t&&t.apply(void 0,n||[]))),!o&&(t.length=0)},M=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),L=t=>t?Object.keys(t):[],P=(t,n,o,r,i,s,l)=>{const c=[n,o,r,i,s,l];return"object"==typeof t&&!a(t)||f(t)||(t={}),e(c,(n=>{e(L(n),(e=>{const o=n[e];if(t===o)return!0;const r=w(o);if(o&&v(o)){const n=t[e];let i=n;r&&!w(n)?i=[]:r||v(n)||(i={}),t[e]=P(i,o)}else t[e]=r?o.slice():o}))})),t},C=t=>{for(const e in t)return!1;return!0},z=(t,e,n,o)=>{if(c(o))return n?n[t]:e;n&&(h(o)||u(o))&&(n[t]=o)},A=(t,e,n)=>{if(c(n))return t?t.getAttribute(e):null;t&&t.setAttribute(e,n)},H=(t,e)=>new Set((A(t,e)||"").split(" ")),T=(t,e)=>{t&&t.removeAttribute(e)},R=(t,e,n,o)=>{if(n){const r=H(t,e);r[o?"add":"delete"](n);const i=S(r).join(" ").trim();A(t,e,i)}},k=(t,e)=>z("scrollLeft",0,t,e),I=(t,e)=>z("scrollTop",0,t,e),D=r()&&Element.prototype,B=(t,e)=>{const n=[],o=e?m(e)&&e:document;return o?$(n,o.querySelectorAll(t)):n},F=(t,e)=>!!m(t)&&(D.matches||D.msMatchesSelector).call(t,e),X=t=>t?S(t.childNodes):[],Y=t=>t&&t.parentElement,N=(t,e)=>{if(m(t)){const n=D.closest;if(n)return n.call(t,e);do{if(F(t,e))return t;t=Y(t)}while(t)}},j=(t,n,o)=>{if(o&&t){let r,i=n;b(o)?(r=document.createDocumentFragment(),e(o,(t=>{t===i&&(i=t.previousSibling),r.appendChild(t)}))):r=o,n&&(i?i!==n&&(i=i.nextSibling):i=t.firstChild),t.insertBefore(r,i||null)}},V=(t,e)=>{j(t,null,e)},U=(t,e)=>{j(Y(t),t&&t.nextSibling,e)},K=t=>{if(b(t))e(S(t),(t=>K(t)));else if(t){const e=Y(t);e&&e.removeChild(t)}},_=t=>{const e=document.createElement("div");return t&&A(e,"class",t),e},q=t=>{const n=_();return n.innerHTML=t.trim(),e(X(n),(t=>K(t)))},J=t=>t.charAt(0).toUpperCase()+t.slice(1),W=["-webkit-","-moz-","-o-","-ms-"],G=["WebKit","Moz","O","MS","webkit","moz","o","ms"],Z={},Q={},tt=t=>{let n=Q[t];if(M(Q,t))return n;const o=J(t),r=_().style;return e(W,(e=>{const i=e.replace(/-/g,""),s=[t,e+t,i+o,J(i)+o];return!(n=s.find((t=>void 0!==r[t])))})),Q[t]=n||""},et=t=>{if(r()){let n=Z[t]||window[t];return M(Z,t)||(e(G,(e=>(n=n||window[e+J(t)],!n))),Z[t]=n),n}},nt=et("MutationObserver"),ot=et("IntersectionObserver"),rt=et("ResizeObserver"),it=et("cancelAnimationFrame"),st=et("requestAnimationFrame"),lt=et("ScrollTimeline"),ct=r()&&window.setTimeout,at=r()&&window.clearTimeout,dt=/[^\x20\t\r\n\f]+/g,ut=(t,e,n)=>{const o=t&&t.classList;let r,i=0,s=!1;if(o&&e&&h(e)){const t=e.match(dt)||[];for(s=t.length>0;r=t[i++];)s=!!n(o,r)&&s}return s},ht=(t,e)=>{ut(t,e,((t,e)=>t.remove(e)))},pt=(t,e)=>(ut(t,e,((t,e)=>t.add(e))),ht.bind(0,t,e)),{max:ft}=Math,wt=()=>performance.now(),gt=(t,n,o,r)=>{if(t&&n){let i=!0;return e(o,(e=>{(r?r(t[e]):t[e])!==(r?r(n[e]):n[e])&&(i=!1)})),i}return!1},bt=(t,e)=>gt(t,e,["w","h"]),vt=(t,e)=>gt(t,e,["x","y"]),yt=(t,e)=>gt(t,e,["t","r","b","l"]),mt=(t,e,n)=>gt(t,e,["width","height"],n&&(t=>Math.round(t))),xt=()=>{},$t=t=>{let e;const n=t?ct:st,o=t?at:it;return[r=>{o(e),e=n(r,f(t)?t():t)},()=>o(e)]},St=(t,e)=>{let n,o,r,i=xt;const{g:s,v:l,p:c}=e||{},a=function(e){i(),at(n),n=o=void 0,i=xt,t.apply(this,e)},d=t=>c&&o?c(o,t):t,h=()=>{i!==xt&&a(d(r)||r)},p=function(){const t=S(arguments),e=f(s)?s():s;if(u(e)&&e>=0){const s=f(l)?l():l,c=u(s)&&s>=0,p=e>0?ct:st,w=e>0?at:it,g=d(t)||t,b=a.bind(0,g);i();const v=p(b,e);i=()=>w(v),c&&!n&&(n=ct(h,s)),o=r=g}else a(t)};return p.m=h,p},Ot={opacity:1,zIndex:1},Et=(t,e)=>{const n=t||"",o=e?parseFloat(n):parseInt(n,10);return o==o?o:0},Mt=(t,e,n)=>String((null!=e?e[n]||e.getPropertyValue(n):t.style[n])||""),Lt=(t,e,n)=>{try{const{style:o}=t;c(o[e])?o.setProperty(e,n):o[e]=((t,e)=>!Ot[t]&&u(e)?`${e}px`:e)(e,n)}catch(l){}},Pt=t=>"rtl"===n(t,"direction"),Ct=(t,e,o)=>{const r=e?`${e}-`:"",i=o?`-${o}`:"",s=`${r}top${i}`,l=`${r}right${i}`,c=`${r}bottom${i}`,a=`${r}left${i}`,d=n(t,[s,l,c,a]);return{t:Et(d[s],!0),r:Et(d[l],!0),b:Et(d[c],!0),l:Et(d[a],!0)}},zt=(t,e)=>`translate${w(t)?`(${t[0]},${t[1]})`:`${e?"X":"Y"}(${t})`}`,{round:At}=Math,Ht={w:0,h:0},Tt=t=>t?{w:t.offsetWidth,h:t.offsetHeight}:Ht,Rt=t=>t?{w:t.clientWidth,h:t.clientHeight}:Ht,kt=t=>t?{w:t.scrollWidth,h:t.scrollHeight}:Ht,It=t=>{const e=parseFloat(n(t,"height"))||0,o=parseFloat(n(t,"width"))||0;return{w:o-At(o),h:e-At(e)}},Dt=t=>t.getBoundingClientRect(),Bt=t=>!(!t||!t.height&&!t.width);let Ft;const Xt=t=>t.split(" "),Yt=(t,n,o,r)=>{e(Xt(n),(e=>{t.removeEventListener(e,o,r)}))},Nt=(t,n,o,r)=>{var i;const s=(()=>{if(c(Ft)){Ft=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get(){Ft=!0}}))}catch(t){}}return Ft})(),l=null!=(i=s&&r&&r.S)?i:s,a=r&&r.$||!1,d=r&&r.C||!1,u=[],h=s?{passive:l,capture:a}:a;return e(Xt(n),(e=>{const n=d?r=>{t.removeEventListener(e,n,a),o&&o(r)}:o;$(u,Yt.bind(null,t,e,n,a)),t.addEventListener(e,n,h)})),E.bind(0,u)},jt=t=>t.stopPropagation(),Vt=t=>t.preventDefault(),Ut={x:0,y:0},Kt=t=>{const e=t?Dt(t):0;return e?{x:e.left+window.pageYOffset,y:e.top+window.pageXOffset}:Ut},_t=(t,n)=>{e(w(n)?n:[n],t)},qt=t=>{const n=new Map,o=(t,e)=>{if(t){const o=n.get(t);_t((t=>{o&&o[t?"delete":"clear"](t)}),e)}else n.forEach((t=>{t.clear()})),n.clear()},r=(t,i)=>{if(h(t)){const e=n.get(t)||new Set;return n.set(t,e),_t((t=>{f(t)&&e.add(t)}),i),o.bind(0,t,i)}p(i)&&i&&o();const s=L(t),l=[];return e(s,(e=>{const n=t[e];n&&$(l,r(e,n))})),E.bind(0,l)};return r(t||{}),[r,o,(t,o)=>{const r=n.get(t);e(S(r),(t=>{o&&!O(o)?t.apply(0,o):t()}))}]},Jt=t=>JSON.stringify(t,((t,e)=>{if(f(e))throw new Error;return e})),Wt={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},Gt=(t,n)=>{const o={};return e(L(n).concat(L(t)),(e=>{const r=t[e],i=n[e];if(g(r)&&g(i))P(o[e]={},Gt(r,i)),C(o[e])&&delete o[e];else if(M(n,e)&&i!==r){let t=!0;if(w(r)||w(i))try{Jt(r)===Jt(i)&&(t=!1)}catch(G){}t&&(o[e]=i)}})),o},Zt=`data-overlayscrollbars`,Qt="os-environment",te=`${Qt}-flexbox-glue`,ee=`${te}-max`,ne=`os-scrollbar-hidden`,oe=`${Zt}-initialize`,re=Zt,ie=`${re}-overflow-x`,se=`${re}-overflow-y`,le="overflowVisible",ce="scrollbarHidden",ae="scrollbarPressed",de="updating",ue=`${Zt}-viewport`,he="arrange",pe="scrollbarHidden",fe=le,we=`${Zt}-padding`,ge=fe,be=`${Zt}-content`,ve="os-size-observer",ye=`${ve}-appear`,me=`${ve}-listener`,xe=`${me}-scroll`,$e=`${me}-item`,Se=`${$e}-final`,Oe="os-trinsic-observer",Ee="os-no-css-vars",Me="os-theme-none",Le="os-scrollbar",Pe=`${Le}-rtl`,Ce=`${Le}-horizontal`,ze=`${Le}-vertical`,Ae=`${Le}-track`,He=`${Le}-handle`,Te=`${Le}-visible`,Re=`${Le}-cornerless`,ke=`${Le}-transitionless`,Ie=`${Le}-interaction`,De=`${Le}-unusable`,Be=`${Le}-auto-hide`,Fe=`${Be}-hidden`,Xe=`${Le}-wheel`,Ye=`${Ae}-interactive`,Ne=`${He}-interactive`,je={},Ve=()=>je,Ue="__osOptionsValidationPlugin",Ke=3333333,_e="scroll",qe="__osSizeObserverPlugin",Je=(()=>({[qe]:{O:(t,e,o)=>{const r=q(`<div class="${$e}" dir="ltr"><div class="${$e}"><div class="${Se}"></div></div><div class="${$e}"><div class="${Se}" style="width: 200%; height: 200%"></div></div></div>`);V(t,r),pt(t,xe);const i=r[0],s=i.lastChild,l=i.firstChild,c=null==l?void 0:l.firstChild;let a,d=Tt(i),u=d,h=!1;const p=()=>{k(l,Ke),I(l,Ke),k(s,Ke),I(s,Ke)},f=t=>{a=0,h&&(d=u,e(!0===t))},w=t=>{u=Tt(i),h=!t||!bt(u,d),t?(jt(t),h&&!a&&(it(a),a=st(f))):f(!1===t),p()},g=$([],[Nt(l,_e,w),Nt(s,_e,w)]);return n(c,{width:Ke,height:Ke}),st(p),[o?w.bind(0,!1):p,g]}}}))();let We=0;const{round:Ge,abs:Ze}=Math,Qe="__osScrollbarsHidingPlugin",tn=(()=>({[Qe]:{T:t=>{const{A:e,I:n,H:o}=t,r=!(o||e||!n.x&&!n.y)&&document.createElement("style");return r&&(A(r,"id",`${ue}-${he}-${We}`),We++),r},L:(t,o,r,i,s,l,c)=>[(e,o,l,c)=>{if(t){const{M:t}=s(),{P:a,D:d}=e,{x:u,y:h}=d,{x:p,y:f}=a,w=t[c?"paddingRight":"paddingLeft"],g=t.paddingTop,b=o.w+l.w,v=o.h+l.h,y={w:f&&h?`${f+b-w}px`:"",h:p&&u?`${p+v-g}px`:""};if(i){const{sheet:t}=i;if(t){const{cssRules:e}=t;if(e){e.length||t.insertRule(`#${A(i,"id")} + [${ue}~='${he}']::before {}`,0);const n=e[0].style;n.width=y.w,n.height=y.h}}}else n(r,{"--os-vaw":y.w,"--os-vah":y.h})}return t},(i,a,d)=>{if(t){const u=d||l(i),{M:h}=s(),{D:p}=u,{x:f,y:w}=p,g={},b=t=>e(t.split(" "),(t=>{g[t]=h[t]}));f&&b("marginBottom paddingTop paddingBottom"),w&&b("marginLeft marginRight paddingLeft paddingRight");const v=n(r,L(g));return R(r,ue,he),o||(g.height=""),n(r,g),[()=>{c(u,a,t,v),n(r,v),R(r,ue,he,!0)},u]}return[xt]}],R:()=>{let t={w:0,h:0},e=0;return(n,o,r)=>{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=Ze(s.w),c=Ze(s.h),a={w:Ze(Ge(i.w/(t.w/100))),h:Ze(Ge(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=Ze(t),o=Ze(e);return!(n===o||n+1===o||n-1===o)})(a.w,a.h);if(u&&h&&d!==e&&d>0){const[t,e]=o();P(n.k,t),e&&r()}t=i,e=d}}}}))(),en="__osClickScrollPlugin",nn=(()=>({[en]:{O:(t,e,n,o,r)=>{let i=0,s=xt;const l=c=>{s=((t,e,n,o,r)=>{let i=0;const s=wt(),l=ft(0,133),c=n=>{const a=wt(),d=a-s>=l,u=n?1:1-(ft(0,s+l-a)/l||0),h=(e-t)*(f(r)?r(u,u*l,0,1,l):u)+t,p=d||1===u;o&&o(h,0,p),i=p?0:st((()=>c()))};return c(),t=>{it(i),t&&c(t)}})(c,c+o*Math.sign(n),0,((n,c,a)=>{t(n);const d=e();if(a&&!(r>=d&&r<=d+o)){if(i)l(n);else{const t=setTimeout((()=>{l(n)}),222);s=()=>{clearTimeout(t)}}i++}}))};return l(0),()=>s()}}}))();let on;const rn=(t,e,n,o)=>{V(t,e);const r=Rt(e),i=Tt(e),s=It(n);return o&&K(e),{x:i.h-r.h+s.h,y:i.w-r.w+s.w}},sn=(t,e)=>{const o="hidden";n(t,{overflowX:o,overflowY:o,direction:"rtl"}),k(t,0);const r=Kt(t),i=Kt(e);k(t,-999);const s=Kt(e);return{i:r.x===i.x,n:i.x!==s.x}},ln=(t,e)=>{const n=pt(t,te),o=Dt(t),r=Dt(e),i=mt(r,o,!0),s=pt(t,ee),l=Dt(t),c=Dt(e),a=mt(c,l,!0);return n(),s(),i&&a},cn=()=>(on||(on=(()=>{const{body:t}=document,e=q(`<div class="${Qt}"><div></div></div>`)[0],r=e.firstChild,[i,,s]=qt(),[l,c]=o({o:rn(t,e,r),u:vt},rn.bind(0,t,e,r,!0)),[a]=c(),d=(t=>{let e=!1;const o=pt(t,ne);try{e="none"===n(t,tt("scrollbar-width"))||"none"===window.getComputedStyle(t,"::-webkit-scrollbar").getPropertyValue("display")}catch(r){}return o(),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=P({},Wt),f=P.bind(0,{},p),w=P.bind(0,{},h),g={k:a,I:u,A:d,H:"-1"===n(e,"zIndex"),B:!!lt,V:sn(e,r),Y:ln(e,r),j:i.bind(0,"z"),N:i.bind(0,"r"),q:w,G:t=>P(h,t)&&w(),F:f,X:t=>P(p,t)&&f(),U:P({},h),W:P({},p)},b=window.addEventListener,v=St((t=>s(t?"z":"r")),{g:33,v:99});if(T(e,"style"),K(e),b("resize",v.bind(0,!1)),!(d||u.x&&u.y)){let t;b("resize",(()=>{const e=Ve()[Qe];t=t||e&&e.R(),t&&t(g,l,v.bind(0,!0))}))}return g})()),on),an=(t,e)=>f(e)?e.apply(0,t):e,dn=(t,e,n,o)=>{const r=c(o)?n:o;return an(t,r)||e.apply(0,t)},un=(t,e,n,o)=>{const r=c(o)?n:o,i=an(t,r);return!!i&&(y(i)?i:e.apply(0,t))},hn=new WeakMap,pn=t=>hn.get(t),fn=(t,e)=>t?e.split(".").reduce(((t,e)=>t&&M(t,e)?t[e]:void 0),t):void 0,wn=(t,e,n)=>o=>[fn(t,o),n||void 0!==fn(e,o)],gn=t=>{let e=t;return[()=>e,t=>{e=P({},e,t)}]},bn="tabindex",vn=_.bind(0,""),yn=t=>{V(Y(t),X(t)),K(t)},mn=t=>{const e=cn(),{q:n,A:o}=e,r=Ve()[Qe],i=r&&r.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:g,content:b}=p||{},v=u?t:h.target,m=F(v,"textarea"),S=v.ownerDocument,O=S.documentElement,M=v===S.body,P=S.defaultView,C=dn.bind(0,[v]),z=un.bind(0,[v]),k=an.bind(0,[v]),I=C.bind(0,vn,a),D=z.bind(0,vn,d),B=I(g),N=B===v,_=N&&M,q=!N&&D(b),J=!N&&y(B)&&B===q,W=J&&!!k(d),G=W?I():B,Z=W?q:D(),Q=_?O:J?G:B,tt=m?C(vn,l,f):v,et=_?Q:tt,nt=J?Z:q,ot=S.activeElement,rt=!N&&P.top===P&&ot===v,it={Z:v,J:et,K:Q,tt:!N&&z(vn,c,w),nt,ot:!N&&!o&&i&&i(e),st:_?O:Q,et:_?S:Q,ct:P,rt:S,lt:m,it:M,ut:u,ft:N,dt:J,_t:(t,e)=>((t,e,n)=>H(t,e).has(n))(Q,N?re:ue,N?e:t),ht:(t,e,n)=>R(Q,N?re:ue,N?e:t,n)},st=L(it).reduce(((t,e)=>{const n=it[e];return $(t,!(!n||!y(n)||Y(n))&&n)}),[]),lt=t=>t?x(st,t)>-1:null,{Z:ct,J:at,tt:dt,K:ut,nt:ht,ot:ft}=it,wt=[()=>{T(at,re),T(at,oe),T(ct,oe),M&&(T(O,re),T(O,oe))}],gt=m&<(at);let bt=m?ct:X([ht,ut,dt,at,ct].find((t=>!1===lt(t))));const vt=_?ct:ht||ut;return[it,()=>{A(at,re,N?"viewport":"host"),A(dt,we,""),A(ht,be,""),N||A(ut,ue,"");const t=M&&!N?pt(Y(v),ne):xt;if(gt&&(U(ct,at),$(wt,(()=>{U(at,ct),K(at)}))),V(vt,bt),V(at,dt),V(dt||at,!N&&ut),V(ut,ht),$(wt,(()=>{t(),T(dt,we),T(ht,be),T(ut,ie),T(ut,se),T(ut,ue),lt(ht)&&yn(ht),lt(ut)&&yn(ut),lt(dt)&&yn(dt)})),o&&!N&&(R(ut,ue,pe,!0),$(wt,T.bind(0,ut,ue))),ft&&(((t,e)=>{j(Y(t),t,e)})(ut,ft),$(wt,K.bind(0,ft))),rt){const t=A(ut,bn);A(ut,bn,"-1"),ut.focus();const e=()=>t?A(ut,bn,t):T(ut,bn),n=Nt(S,"pointerdown keydown",(()=>{e(),n()}));$(wt,[e,n])}else ot&&ot.focus&&ot.focus();bt=0},E.bind(0,wt)]},xn=(t,e)=>{const{nt:o}=t,[r]=e;return t=>{const{Y:e}=cn(),{gt:i}=r(),{vt:s}=t,l=(o||!e)&&s;return l&&n(o,{height:i?"":"100%"}),{wt:l,bt:l}}},$n=(t,e)=>{const[r,i]=e,{J:s,tt:l,K:c,ft:a}=t,[d,u]=o({u:yt,o:Ct()},Ct.bind(0,s,"padding",""));return(t,e,o)=>{let[s,h]=u(o);const{A:p,Y:f}=cn(),{yt:w}=r(),{wt:g,bt:b,St:v}=t,[y,m]=e("paddingAbsolute");(g||h||!f&&b)&&([s,h]=d(o));const x=!a&&(m||v||h);if(x){const t=!y||!l&&!p,e=s.r+s.l,o=s.t+s.b,r={marginRight:t&&!w?-e:0,marginBottom:t?-o: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,r),n(c,a),i({tt:s,$t:!t,M:l?a:P({},r,a)})}return{xt:x}}},{max:Sn}=Math,On=Sn.bind(0,0),En="visible",Mn="hidden",Ln=42,Pn={u:bt,o:{w:0,h:0}},Cn={u:vt,o:{x:Mn,y:Mn}},zn=t=>0===t.indexOf(En),An=(t,e)=>{const[r,i]=e,{J:s,tt:l,K:c,ot:a,ft:d,ht:u,it:h,ct:p}=t,{k:f,Y:w,A:g,I:b}=cn(),v=Ve()[Qe],y=!d&&!g&&(b.x||b.y),m=h&&d,[x,$]=o(Pn,It.bind(0,c)),[S,O]=o(Pn,kt.bind(0,c)),[E,M]=o(Pn),[L,P]=o(Pn),[C]=o(Cn),z=(t,e)=>{if(n(c,{height:""}),e){const{$t:e,tt:o}=r(),{Ct:i,P:l}=t,a=It(s),d=Rt(s),u="content-box"===n(c,"boxSizing"),h=e||u?o.b+o.t:0,p=!(b.x&&u);n(c,{height:d.h+a.h+(i.x&&p?l.x:0)-h})}},H=(t,e)=>{const o=g||t?0:Ln,r=(t,r,i)=>{const s=n(c,t),l="scroll"===(e?e[t]:s);return[s,l,l&&!g?r?o:i:0,r&&!!o]},[i,s,l,a]=r("overflowX",b.x,f.x),[d,u,h,p]=r("overflowY",b.y,f.y);return{Ot:{x:i,y:d},Ct:{x:s,y:u},P:{x:l,y:h},D:{x:a,y:p}}},T=(t,e,n,o)=>{const{P:i,D:s}=t,{x:l,y:c}=s,{x:a,y:d}=i,{M:u}=r(),h=e?"marginLeft":"marginRight",p=e?"paddingLeft":"paddingRight",f=u[h],w=u.marginBottom,g=u[p],b=u.paddingBottom;o.width=`calc(100% + ${d+-1*f}px)`,o[h]=-d+f,o.marginBottom=-a+w,n&&(o[p]=g+(c?d:0),o.paddingBottom=b+(l?a:0))},[k,I]=v?v.L(y,w,c,a,r,H,T):[()=>y,()=>[xt]];return(t,e,o)=>{const{wt:a,Tt:h,bt:f,xt:v,vt:y,St:D}=t,{gt:B,yt:F}=r(),[X,Y]=e("showNativeOverlaidScrollbars"),[N,j]=e("overflow"),V=X&&b.x&&b.y,U=!d&&!w&&(a||f||h||Y||y),K=zn(N.x),_=zn(N.y),q=K||_;let J,W=$(o),G=O(o),Z=M(o),Q=P(o);if(Y&&g&&u(pe,ce,!V),U&&(J=H(V),z(J,B)),a||v||f||D||Y){q&&u(fe,le,!1);const[t,e]=I(V,F,J),[n,r]=W=x(o),[i,s]=G=S(o),l=Rt(c);let a=i,d=l;t(),(s||r||Y)&&e&&!V&&k(e,i,n,F)&&(d=Rt(c),a=kt(c));const h={w:On(Sn(i.w,a.w)+n.w),h:On(Sn(i.h,a.h)+n.h)},f={w:On((m?p.innerWidth:d.w+On(l.w-i.w))+n.w),h:On((m?p.innerHeight+n.h:d.h+On(l.h-i.h))+n.h)};Q=L(f),Z=E(((t,e)=>{const n=window.devicePixelRatio%1!=0?1:0,o={w:On(t.w-e.w),h:On(t.h-e.h)};return{w:o.w>n?o.w:0,h:o.h>n?o.h:0}})(h,f),o)}const[tt,et]=Q,[nt,ot]=Z,[rt,it]=G,[st,lt]=W,ct={x:nt.w>0,y:nt.h>0},at=K&&_&&(ct.x||ct.y)||K&&ct.x&&!ct.y||_&&ct.y&&!ct.x;if(v||D||lt||it||et||ot||j||Y||U){const t={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},e=((t,e,n,o)=>{const r=(t,e)=>{const n=zn(t),o=e&&n&&t.replace(`${En}-`,"")||"";return[e&&!n?t:"",zn(o)?"hidden":o]},[i,s]=r(n.x,e.x),[l,c]=r(n.y,e.y);return o.overflowX=s&&l?s:i,o.overflowY=c&&i?c:l,H(t,o)})(V,ct,N,t),o=k(e,rt,st,F);d||T(e,F,o,t),U&&z(e,B),d?(A(s,ie,t.overflowX),A(s,se,t.overflowY)):n(c,t)}R(s,re,le,at),R(l,we,ge,at),d||R(c,ue,fe,q);const[dt,ut]=C(H(V).Ot);return i({Ot:dt,zt:{x:tt.w,y:tt.h},Et:{x:nt.w,y:nt.h},At:ct}),{It:ut,Ht:et,Lt:ot}}},Hn=(t,n,o)=>{const r={},i=n||{};return e(L(t).concat(L(i)),(e=>{const n=t[e],s=i[e];r[e]=!!(o||n||s)})),r},Tn=(t,n,o,r)=>{let i=!1;const{Pt:s,Dt:l,Rt:c,kt:a,Bt:d,Vt:u}=r||{},p=St((()=>i&&o(!0)),{g:33,v:99}),[f,w]=((t,n,o)=>{let r,i=!1;const s=s=>{if(o){const l=o.reduce(((e,n)=>{if(n){const[o,r]=n,i=r&&o&&(s?s(o):B(o,t));i&&i.length&&r&&h(r)&&$(e,[i,r.trim()],!0)}return e}),[]);e(l,(o=>e(o[0],(e=>{const s=o[1],l=r.get(e)||[];if(t.contains(e)){const t=Nt(e,s,(o=>{i?(t(),r.delete(e)):n(o)}));r.set(e,$(l,t))}else E(l),r.delete(e)}))))}};return o&&(r=new WeakMap,s()),[()=>{i=!0},s]})(t,p,c),g=l||[],b=(s||[]).concat(g),v=(i,s)=>{const l=d||xt,c=u||xt,p=new Set,f=new Set;let b=!1,v=!1;if(e(i,(o=>{const{attributeName:i,target:s,type:d,oldValue:u,addedNodes:w,removedNodes:y}=o,m="attributes"===d,$="childList"===d,S=t===s,O=m&&h(i)?A(s,i):0,E=0!==O&&u!==O,M=x(g,i)>-1&&E;if(n&&($||!S)){const n=!m,d=m&&E,h=d&&a&&F(s,a),f=(h?!l(s,i,u,O):n||d)&&!c(o,!!h,t,r);e(w,(t=>p.add(t))),e(y,(t=>p.add(t))),v=v||f}!n&&S&&E&&!l(s,i,u,O)&&(f.add(i),b=b||M)})),p.size>0&&w((t=>S(p).reduce(((e,n)=>($(e,B(t,n)),F(n,t)?$(e,n):e)),[]))),n)return!s&&v&&o(!1),[!1];if(f.size>0||b){const t=[S(f),b];return!s&&o.apply(0,t),t}},y=new nt((t=>v(t)));return y.observe(t,{attributes:!0,attributeOldValue:!0,attributeFilter:b,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)}}]},Rn=3333333,kn=(t,e,n)=>{const{Yt:r,Mt:i}=n||{},s=Ve()[qe],{V:l}=cn(),c=q(`<div class="${ve}"><div class="${me}"></div></div>`)[0],a=c.firstChild,d=Pt.bind(0,t),[u]=o({o:!1,_:!0,u:(t,e)=>!(!t||!Bt(t)&&Bt(e))}),h=t=>{const n=w(t)&&t.length>0&&g(t[0]),o=!n&&p(t[0]);let i=!1,s=!1,a=!0;if(n){const[e,,n]=u(t.pop().contentRect),o=Bt(e),r=Bt(n);i=!n&&!!r||!o,s=!r&&o,a=!i}else o?[,a]=t:s=!0===t;if(r&&a){const e=o?t[0]:Pt(c);k(c,e?l.n?-Rn:l.i?0:Rn:Rn),I(c,Rn)}i||e({wt:!o,jt:o?t:void 0,Mt:!!s})},f=[];return[()=>{E(f),K(c)},()=>{let e=i&&h;if(rt){const t=new rt(h);t.observe(a),$(f,(()=>{t.disconnect()}))}else if(s){const[t,n]=s.O(a,h,i);e=t,$(f,n)}if(r){const[t]=o({o:void 0},d);$(f,Nt(c,"scroll",(e=>{const n=t(),[o,r,i]=n;r&&(ht(a,"ltr rtl"),pt(a,o?"rtl":"ltr"),h([!!o,r,i])),jt(e)})))}e&&(pt(c,ye),$(f,Nt(c,"animationstart",e,{C:!!rt}))),(rt||s)&&V(t,c)}]},In=(t,e)=>{let n;const r=_(Oe),i=[],[s]=o({o:!1}),l=(t,n)=>{if(t){const o=s((t=>0===t.h||t.isIntersecting||t.intersectionRatio>0)(t)),[,r]=o;return r&&!n&&e(o)&&[o]}},c=(t,e)=>t&&t.length>0&&l(t.pop(),e);return[()=>{E(i),K(r)},()=>{if(ot)n=new ot((t=>c(t)),{root:t}),n.observe(r),$(i,(()=>{n.disconnect()}));else{const t=()=>{const t=Tt(r);l(t)},[e,n]=kn(r,t);$(i,e),n(),t()}V(t,r)},()=>n&&c(n.takeRecords(),!0)]},Dn=`[${re}]`,Bn=`[${ue}]`,Fn=["tabindex"],Xn=["wrap","cols","rows"],Yn=["id","class","style","open"],Nn=(t,n,r)=>{let i,s,l;const{J:c,K:a,nt:d,lt:p,ft:g,_t:b,ht:v}=t,{Y:y}=cn(),[S]=o({u:bt,o:{w:0,h:0}},(()=>{const t=b(fe,le),e=b(he,""),n=e&&k(a),o=e&&I(a);v(fe,le),v(he,""),v("",de,!0);const r=kt(d),i=kt(a),s=It(a);return v(fe,le,t),v(he,"",e),v("",de),k(a,n),I(a,o),{w:i.w+r.w+s.w,h:i.h+r.h+s.h}})),O=p?Xn:Yn.concat(Xn),E=St(r,{g:()=>i,v:()=>s,p(t,e){const[n]=t,[o]=e;return[L(n).concat(L(o)).reduce(((t,e)=>(t[e]=n[e]||o[e],t)),{})]}}),M=t=>{e(t||Fn,(t=>{if(x(Fn,t)>-1){const e=A(c,t);h(e)?A(a,t,e):T(a,t)}}))},C=(t,e)=>{const[o,i]=t,s={vt:i};return n({gt:o}),!e&&r(s),s},z=({wt:t,jt:e,Mt:o})=>{const i=!t||o?r:E;let s=!1;if(e){const[t,o]=e;s=o,n({yt:t})}i({wt:t,Mt:o,St:s})},H=(t,e)=>{const[,n]=S(),o={bt:n};return n&&!e&&(t?r:E)(o),o},R=(t,e,n)=>{const o={Tt:e};return e?!n&&E(o):g||M(t),o},[D,B,F]=d||!y?In(c,C):[xt,xt,xt],[X,Y]=g?[xt,xt]:kn(c,z,{Mt:!0,Yt:!0}),[j,V]=Tn(c,!1,R,{Dt:Yn,Pt:Yn.concat(Fn)});let U;const K=g&&rt&&new rt((t=>{const e=t[t.length-1].contentRect,n=Bt(e),o=Bt(U);z({wt:!0,Mt:!o&&n}),U=e}));return[()=>{D(),X(),l&&l[0](),K&&K.disconnect(),j()},()=>{K&&K.observe(c),M(),Y(),B()},()=>{const t={},e=V(),n=F(),o=l&&l[1]();return e&&P(t,R.apply(0,$(e,!0))),n&&P(t,C.apply(0,$(n,!0))),o&&P(t,H.apply(0,$(o,!0))),t},t=>{const[e]=t("update.ignoreMutation"),[n,o]=t("update.attributes"),[r,c]=t("update.elementEvents"),[h,p]=t("update.debounce"),b=t=>f(e)&&e(t);if((c||o)&&(l&&(l[1](),l[0]()),l=Tn(d||a,!0,H,{Pt:O.concat(n||[]),Rt:r,kt:Dn,Vt:(t,e)=>{const{target:n,attributeName:o}=t;return!(e||!o||g)&&((t,e,n)=>{const o=N(t,e),r=t&&((t,e)=>{const n=e?m(e)&&e:document;return n?n.querySelector(t):null})(n,o),i=N(r,e)===o;return!(!o||!r)&&(o===t||r===t||i&&N(N(t,n),e)!==o)})(n,Dn,Bn)||!!N(n,`.${Le}`)||!!b(t)}})),p)if(E.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)}]},jn={x:0,y:0},{round:Vn}=Math,Un="pointerup pointerleave pointercancel lostpointercapture",Kn=(t,e)=>Nt(t,"mousedown",Nt.bind(0,e,"click",jt,{C:!0,$:!0}),{$:!0}),_n=(t,e,n,o,r,i,s)=>{const{V:l}=cn(),{Ft:c,Xt:a,Ut:d}=o,u=`scroll${s?"Left":"Top"}`,h=`client${s?"X":"Y"}`,p=s?"width":"height",f=s?"left":"top",w=s?"w":"h",g=s?"x":"y",b=(t,e)=>n=>{const{Et:o}=i(),h=Tt(a)[w]-Tt(c)[w],p=e*n/h*o[g],f=Pt(d)&&s?l.n||l.i?1:-1:1;r[u]=t+p*f};return Nt(a,"pointerdown",(o=>{const i=N(o.target,`.${He}`)===c,s=i?c:a;if(R(e,re,ae,!0),((t,e,n)=>{const o=e.scrollbars,{button:r,isPrimary:i,pointerType:s}=t,{pointers:l}=o;return 0===r&&i&&o[n?"dragScroll":"clickScroll"]&&(l||[]).includes(s)})(o,t,i)){const t=!i&&o.shiftKey,l=()=>Dt(c),d=()=>Dt(a),w=(t,e)=>(t||l())[f]-(e||d())[f],v=b(r[u]||0,1/(t=>{const{width:e,height:n}=Dt(t),{w:o,h:r}=Tt(t);return{x:Vn(e)/o||1,y:Vn(n)/r||1}})(r)[g]),y=o[h],m=l(),x=d(),S=m[p],O=w(m,x)+S/2,M=y-x[f],L=i?0:M-O,P=t=>{E(C),s.releasePointerCapture(t.pointerId)},C=[R.bind(0,e,re,ae),Nt(n,Un,P),Nt(n,"selectstart",(t=>Vt(t)),{S:!1}),Nt(a,Un,P),Nt(a,"pointermove",(e=>{const n=e[h]-y;(i||t)&&v(L+n)}))];if(t)v(L);else if(!i){const t=Ve()[en];t&&$(C,t.O(v,w,L,S,M))}s.setPointerCapture(o.pointerId)}}))},{min:qn,max:Jn,round:Wn}=Math,Gn=(t,e,n,o)=>{if(o){const t=n?"x":"y",{Et:e,zt:r}=o,i=r[t],s=e[t];return Jn(0,qn(1,i/(i+s)))}const r=n?"width":"height",i=Dt(t)[r],s=Dt(e)[r];return Jn(0,qn(1,i/s))},Zn=(t,e,n,o)=>t.animate(n,{timeline:e,composite:o}),Qn=(t,e)=>({transform:[zt(`0%`,e),zt(e&&t?"100%":"-100%",e)],[e?t?"right":"left":"top"]:["0%","100%"]}),to=t=>`${Math.max(0,t-.5)}px`,eo=(t,e,n,o)=>Zn(t,e,{transform:[zt(`0px`,o),zt(to(n),o)]},"add"),no=(t,e)=>lt?new lt({source:t,axis:e}):null,oo=(t,o,r)=>{const{q:i,H:s}=cn(),{scrollbars:l}=i(),{slot:c}=l,{rt:a,Z:d,J:u,K:h,ut:f,st:g,it:b,ft:v}=o,{scrollbars:y}=f?{}:t,{slot:m}=y||{},S=new Map,M=no(g,"x"),L=no(g,"y"),P=un([d,u,h],(()=>v&&b?d:u),c,m),C=t=>v&&!b&&Y(t)===h,z=t=>{S.forEach(((e,n)=>{(!t||x(w(t)?t:[t],n)>-1)&&((e||[]).forEach((t=>{t.cancel()})),S.delete(n))}))},A=(t,n,o)=>{const r=o?pt:ht;e(t,(t=>{r(t.Ut,n)}))},H=(t,o)=>{e(t,(t=>{const[e,r]=o(t);n(e,r)}))},T=(t,e,n)=>{H(t,(t=>{const{Ft:o,Xt:r}=t;return[o,{[n?"width":"height"]:`${(100*Gn(o,r,n,e)).toFixed(3)}%`}]}))},R=(t,e,n)=>{L||L||H(t,(t=>{const{Ft:o,Xt:r,Ut:i}=t,s=((t,e,n,o,r,i)=>{const{V:s}=cn(),l=i?"x":"y",c=i?"Left":"Top",{Et:a}=o,d=Wn(a[l]),u=qn(d,Jn(0,n[`scroll${c}`])),h=i&&r,p=s.i?u:d-u,f=qn(1,(h?p:u)/d),w=Gn(t,e,i);return 1/w*(1-w)*f})(o,r,g,e,Pt(i),n);return[o,{transform:s==s?zt(`${(100*s).toFixed(3)}%`,n):""}]}))},D=t=>{const{Ut:e}=t,n=C(e)&&e;return[n,{transform:n?zt([`${k(g)}px`,`${I(g)}px`]):""}]},B=[],F=[],X=[],N=(t,e,n)=>{const o=p(n),r=!o||!n;(!o||n)&&A(F,t,e),r&&A(X,t,e)},j=t=>{const e=t?Ce:ze,n=t?F:X,o=O(n)?ke:"",i=_(`${Le} ${e} ${o}`),l=_(Ae),c=_(He),d={Ut:i,Xt:l,Ft:c};return s||pt(i,Ee),V(i,l),V(l,c),$(n,d),$(B,[K.bind(0,i),z,r(d,N,a,u,g,t?M:L,t)]),d},U=j.bind(0,!0),q=j.bind(0,!1);return U(),q(),[{Wt:t=>{T(F,t,!0),T(X,t)},Zt:t=>{R(F,t,!0),R(X,t)},Jt:()=>{const t=(t,{Ut:e,Ft:n})=>{z(n),S.set(n,[Zn(n,t?M:L,Qn(t&&Pt(e),t))])};F.forEach(t.bind(0,!0)),X.forEach(t.bind(0,!1))},Kt:({Et:t})=>{X.concat(F).forEach((({Ut:e})=>{z(e),C(e)&&S.set(e,[eo(e,M,t.x,!0),eo(e,L,t.y)])}))},Qt:()=>{L||L||(v&&H(F,D),v&&H(X,D))},tn:N,nn:{B:M,sn:F,en:U,cn:H.bind(0,F)},rn:{B:L,sn:X,en:q,cn:H.bind(0,X)}},()=>{V(P,F[0].Ut),V(P,X[0].Ut),ct((()=>{N(ke)}),300)},E.bind(0,B)]},ro=t=>"mouse"===t.pointerType,io=(t,e,n)=>{f(t)&&t(e||void 0,n||void 0)},so=(t,n,o)=>{const{F:r,q:i,j:s,N:l}=cn(),d=Ve(),u=y(t),h=u?t:t.target,p=pn(h);if(n&&!p){let p=!1;const f=t=>{const e=Ve()[Ue],n=e&&e.O;return n?n(t,!0):t},w=P({},r(),f(n)),[g,b,v]=qt(o),[y,m,x]=((t,n)=>{const o=wn(n,{}),[r,i,s]=qt(),[l,c,a]=mn(t),d=gn((t=>({tt:{t:0,r:0,b:0,l:0},$t:!1,M:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zt:jn,Et:jn,Ot:{x:"hidden",y:"hidden"},At:{x:!1,y:!1},gt:!1,yt:Pt(t.J)}))(l)),[u,h]=d,p=((t,n)=>{const{Z:o,K:r,ht:i,ft:s}=t,{A:l,I:c,Y:a}=cn(),d=!l&&(c.x||c.y),u=[xn(t,n),$n(t,n),An(t,n)];return(t,n,l)=>{const c=Hn(P({wt:!1,xt:!1,St:!1,vt:!1,Ht:!1,Lt:!1,It:!1,Tt:!1,bt:!1,Mt:!1},n),{},l),h=d||!a,p=h&&k(r),f=h&&I(r);i("",de,!0);let w=c;return e(u,(e=>{w=Hn(w,e(w,t,!!l)||{},l)})),k(r,p),I(r,f),i("",de),s||(k(o,0),I(o,0)),w}})(l,d),f=(t,e,n)=>{const o=L(t).some((e=>!!t[e])),r=o||!C(e)||n;return r&&s("u",[t,e,n]),r},[w,g,b,v]=Nn(l,h,(t=>f(p(o,t),{},!1))),y=u.bind(0);return y.Nt=t=>r("u",t),y.qt=()=>{const{Z:t,K:e,rt:n,it:o}=l,r=o?n.documentElement:t,i=k(r),s=I(r);g(),c(),k(e,i),I(e,s)},y.Gt=l,[(t,e)=>{const o=wn(n,t,e);return v(o),f(p(o,b(),e),t,!!e)},y,()=>{i(),w(),a()}]})(t,w),[$,S,O]=((t,e,n,o)=>{let r,i,s,l,c,a=xt,d=0;const u=gn({}),[h]=u,[p,f]=$t(),[w,g]=$t(),[b,v]=$t(100),[y,m]=$t(100),[x,$]=$t(100),[S,O]=$t((()=>d)),[M,L,P]=oo(t,n.Gt,((t,e)=>(n,o,r,i,s,l,c)=>{const{Ut:a}=n,[d,u]=$t(333),h=!!s.scrollBy;let p=!0;return E.bind(0,[Nt(a,"pointerenter",(()=>{o(Ie,!0)})),Nt(a,"pointerleave pointercancel",(()=>{o(Ie)})),Nt(a,"wheel",(t=>{const{deltaX:e,deltaY:n,deltaMode:r}=t;h&&p&&0===r&&Y(a)===i&&s.scrollBy({left:e,top:n,behavior:"smooth"}),p=!1,o(Xe,!0),d((()=>{p=!0,o(Xe)})),Vt(t)}),{S:!1,$:!0}),Kn(a,r),_n(t,i,r,n,s,e,c),u])})(e,n)),{J:C,et:z,it:A}=n.Gt,{tn:H,Wt:T,Zt:R,Jt:k,Kt:I,Qt:D}=M,B=t=>{H(Be,t,!0),H(Be,t,!1)},F=(t,e)=>{if(O(),t)H(Fe);else{const t=()=>H(Fe,!0);d>0&&!e?S(t):t()}},X=t=>{ro(t)&&(l=i,l&&F(!0))},N=[v,O,m,$,g,f,P,Nt(C,"pointerover",X,{C:!0}),Nt(C,"pointerenter",X),Nt(C,"pointerleave",(t=>{ro(t)&&(l=!1,i&&F(!1))})),Nt(C,"pointermove",(t=>{ro(t)&&r&&p((()=>{v(),F(!0),y((()=>{r&&F(!1)}))}))})),Nt(z,"scroll",(t=>{w((()=>{R(n()),s&&F(!0),b((()=>{s&&!l&&F(!1)}))})),o(t),D()}))],j=h.bind(0);return j.Gt=M,j.qt=L,[(t,o,l)=>{const{Ht:u,Lt:h,It:p,St:f,Mt:w}=l,{I:g}=cn(),b=wn(e,t,o),v=n(),{Et:y,Ot:m,yt:$,At:S}=v,[O,E]=b("showNativeOverlaidScrollbars"),[M,L]=b("scrollbars.theme"),[P,C]=b("scrollbars.visibility"),[X,Y]=b("scrollbars.autoHide"),[N,j]=b("scrollbars.autoHideSuspend"),[V]=b("scrollbars.autoHideDelay"),[U,K]=b("scrollbars.dragScroll"),[_,q]=b("scrollbars.clickScroll"),J=w&&!o,W=S.x||S.y,G=u||h||f,Z=p||C,Q=O&&g.x&&g.y,tt=(t,e)=>{const n="visible"===P||"auto"===P&&"scroll"===t;return H(Te,n,e),n};if(d=V,J&&(N&&W?(B(!1),a(),x((()=>{a=Nt(z,"scroll",B.bind(0,!0),{C:!0})}))):B(!0)),E&&H(Me,Q),L&&(H(c),H(M,!0),c=M),j&&!N&&B(!0),Y&&(r="move"===X,i="leave"===X,s="never"!==X,F(!s,!0)),K&&H(Ne,U),q&&H(Ye,_),Z){const t=tt(m.x,!0),e=tt(m.y,!1);H(Re,!(t&&e))}G&&(T(v),R(v),k(v),I(v),D(),H(De,!y.x,!0),H(De,!y.y,!1),H(Pe,$&&!A))},j,()=>{E(N),a()}]})(t,w,m,(t=>v("scroll",[R,t]))),M=(t,e)=>y(t,!!e),z=M.bind(0,{},!0),A=s(z),H=l(z),T=t=>{(t=>{hn.delete(t)})(h),A(),H(),O(),x(),p=!0,v("destroyed",[R,!!t]),b()},R={options(t,e){if(t){const n=e?r():{},o=Gt(w,P(n,f(t)));C(o)||(P(w,o),M(o))}return P({},w)},on:g,off:(t,e)=>{t&&e&&b(t,e)},state(){const{zt:t,Et:e,Ot:n,At:o,tt:r,$t:i,yt:s}=m();return P({},{overflowEdge:t,overflowAmount:e,overflowStyle:n,hasOverflow:o,padding:r,paddingAbsolute:i,directionRTL:s,destroyed:p})},elements(){const{Z:t,J:e,tt:n,K:o,nt:r,st:i,et:s}=m.Gt,{nn:l,rn:c}=S.Gt,a=t=>{const{Ft:e,Xt:n,Ut:o}=t;return{scrollbar:o,track:n,handle:e}},d=t=>{const{sn:e,en:n}=t,o=a(e[0]);return P({},o,{clone:()=>{const t=a(n());return $({},!0,{}),t}})};return P({},{target:t,host:e,padding:n||o,viewport:o,content:r||o,scrollOffsetElement:i,scrollEventElement:s,scrollbarHorizontal:d(l),scrollbarVertical:d(c)})},update:t=>M({},t),destroy:T.bind(0)};return m.Nt(((t,e,n)=>{$(e,n,t)})),((t,e)=>{hn.set(t,e)})(h,R),e(L(d),(t=>io(d[t],0,R))),((t,e,n)=>{const{nativeScrollbarsOverlaid:o,body:r}=n||{},{I:i,A:s}=cn(),{nativeScrollbarsOverlaid:l,body:d}=e,u=null!=o?o:l,h=c(r)?d:r,p=(i.x||i.y)&&u,f=t&&(a(h)?!s:h);return!!p||!!f})(m.Gt.it,i().cancel,!u&&t.cancel)?(T(!0),R):(m.qt(),S.qt(),v("initialized",[R]),m.Nt(((t,e,n)=>{const{wt:o,St:r,vt:i,Ht:s,Lt:l,It:c,bt:a,Tt:d}=t;v("updated",[R,{updateHints:{sizeChanged:o,directionChanged:r,heightIntrinsicChanged:i,overflowEdgeChanged:s,overflowAmountChanged:l,overflowStyleChanged:c,contentMutation:a,hostMutation:d},changedOptions:e,force:n}])})),R.update(!0),R)}return p};return so.plugin=t=>{e((t=>{const n=[];return e(w(t)?t:[t],(t=>{e(L(t),(e=>{$(n,je[e]=t[e])}))})),n})(t),(t=>io(t,so)))},so.valid=t=>{const e=t&&t.elements,n=f(e)&&e();return v(n)&&!!pn(n.target)},so.env=()=>{const{k:t,I:e,A:n,V:o,Y:r,H:i,B:s,U:l,W:c,q:a,G:d,F:u,X:h}=cn();return P({},{scrollbarsSize:t,scrollbarsOverlaid:e,scrollbarsHiding:n,rtlScrollBehavior:o,flexboxGlue:r,cssCustomProperties:i,scrollTimeline:s,staticDefaultInitialization:l,staticDefaultOptions:c,getDefaultInitialization:a,setDefaultInitialization:d,getDefaultOptions:u,setDefaultOptions:h})},t.ClickScrollPlugin=nn,t.OverlayScrollbars=so,t.ScrollbarsHidingPlugin=tn,t.SizeObserverPlugin=Je,Object.defineProperties(t,{ln:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),t}({}); |
# Changelog | ||
## 2.3.1 | ||
### Bug Fixes | ||
- Fix direction `rtl` visual scrollbar handle behavior in browser which support the [ScrollTimeline API](https://developer.mozilla.org/en-US/docs/Web/API/ScrollTimeline). | ||
- Fix double tap behavior for interactive elements on `iOS` devices if `autoHide` is `leave` or `move`. [#560](https://github.com/KingSora/OverlayScrollbars/discussions/560) [#285](https://github.com/KingSora/OverlayScrollbars/discussions/285) | ||
- Fix incorrect scrollbar handle calculation when overscroll on safari occurred. [#559](https://github.com/KingSora/OverlayScrollbars/discussions/559) | ||
## 2.3.0 | ||
@@ -4,0 +12,0 @@ |
{ | ||
"name": "overlayscrollbars", | ||
"version": "2.3.0", | ||
"version": "2.3.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", |
@@ -322,3 +322,3 @@ type CacheValues<T> = [value: T, changed: boolean, previous?: T]; | ||
type SizeObserverPluginInstance = { | ||
_: (listenerElement: HTMLElement, onSizeChangedCallback: (appear: boolean) => any, observeAppearChange: boolean) => [appearCallback: () => any, offFns: (() => any)[]]; | ||
_: (listenerElement: HTMLElement, onSizeChangedCallback: (appear: boolean) => any, observeAppearChange: boolean | null | undefined) => [appearCallback: () => any, offFns: (() => any)[]]; | ||
}; | ||
@@ -325,0 +325,0 @@ declare const SizeObserverPlugin: Plugin<SizeObserverPluginInstance>; |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4472826
18399