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