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

overlayscrollbars

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

overlayscrollbars - npm Package Compare versions

Comparing version 1.5.2 to 1.5.3

6

js/jquery.overlayScrollbars.min.js

@@ -5,3 +5,3 @@ /*!

*
* Version: 1.5.2
* Version: 1.5.3
*

@@ -12,4 +12,4 @@ * Copyright KingSora.

* Released under the MIT license.
* Date: 09.09.2018
* Date: 07.11.2018
*/
!function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(e,e.document,undefined,n)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(e,e.document,undefined,require("jquery")):t(e,e.document,undefined,e.jQuery)}("undefined"!=typeof window?window:this,function(e,t,n,r){"use strict";var i,o,a,s="OverlayScrollbars",c={o:"object",f:"function",a:"array",s:"string",b:"boolean",n:"number",u:"undefined",z:"null"},l={c:"class",s:"style",i:"id",l:"length",p:"prototype",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth"},u={wW:function(){return e.innerWidth||t.documentElement[l.cW]||t.body[l.cW]},wH:function(){return e.innerHeight||t.documentElement[l.cH]||t.body[l.cH]},mO:function(){return e.MutationObserver||e.WebKitMutationObserver||e.WebkitMutationObserver||e.MozMutationObserver||n},rO:function(){return e.ResizeObserver||e.WebKitResizeObserver||e.WebkitResizeObserver||e.MozResizeObserver||n},rAF:function(){return e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)}},cAF:function(){return e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||e.msCancelAnimationFrame||function(t){return e.clearTimeout(t)}},now:function(){return Date.now()||(new Date).getTime()},stpP:function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},prvD:function(e){e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1},page:function(e){var r="page",i="client",o="X",a="Y",s=((e=e.originalEvent||e).target||e.srcElement||t).ownerDocument||t,c=s.documentElement,l=s.body;if(e.touches!==n){var u=e.touches[0];return{x:u[r+o],y:u[r+a]}}return!e[r+o]&&e[i+o]&&null!=e[i+o]?{x:e[i+o]+(c&&c.scrollLeft||l&&l.scrollLeft||0)-(c&&c.clientLeft||l&&l.clientLeft||0),y:e[i+a]+(c&&c.scrollTop||l&&l.scrollTop||0)-(c&&c.clientTop||l&&l.clientTop||0)}:{x:e[r+o],y:e[r+a]}},mBtn:function(e){return e.which||e.button===n?e.which:1&e.button?1:2&e.button?3:4&e.button?2:0},inA:function(e,t){for(var n=0;n<t[l.l];n++)try{if(t[n]===e)return n}catch(r){}return-1},bind:function(e,t){if(typeof e!=c.f)throw"Can't bind function!";var n=l.p,r=Array[n].slice.call(arguments,2),i=function(){},o=function(){return e.apply(this instanceof i?this:t,r.concat(Array[n].slice.call(arguments)))};return e[n]&&(i[n]=e[n]),o[n]=new i,o}},f=r,h=function(r,i,o){var a,u,h,d,v,p,y,x,m,w,b,g,S,O,z=[],W=(h=[c.b,c.n,c.s,c.a,c.o,c.f,c.z],d=" ",v=":",p=[c.z,c.s],y=c.n,x=[c.z,c.b],m=[!0,c.b],w=[!1,c.b],b=[null,[c.z,c.f]],S={className:["os-theme-dark",p],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:m,clipAlways:m,normalizeRTL:m,paddingAbsolute:w,autoUpdate:[null,x],autoUpdateInterval:[33,y],nativeScrollbarsOverlaid:{showNativeScrollbars:w,initialize:m},overflowBehavior:{x:["scroll",g="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll",g]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,y],dragScrolling:m,clickScrolling:w,touchSupport:m},textarea:{dynWidth:w,dynHeight:w},callbacks:{onInitialized:b,onInitializationWithdrawn:b,onDestroyed:b,onScrollStart:b,onScroll:b,onScrollStop:b,onOverflowChanged:b,onOverflowAmountChanged:b,onDirectionChanged:b,onContentSizeChanged:b,onHostSizeChanged:b,onUpdated:b}},{d:(O=function(e){var t=function(n){var i,o,a;for(i in n)n.hasOwnProperty(i)&&(o=n[i],(a=r.type(o))==c.a?n[i]=o[e?1:0]:a==c.o&&(n[i]=t(o)));return n};return t(r.extend(!0,{},S))})(),t:O(!0),v:function(e,t,n,i,o){var a={},s=r.extend(!0,{},e),l=function(e,t,o,a){for(var s in t)if(t.hasOwnProperty(s)&&e.hasOwnProperty(s)){var u,f,p,y,x,m,w,b,g=!1,S=t[s],O=r.type(S),z=r.type(S)!=c.a?[S]:S,W=e[s],H=r.type(W),M=a?a+".":"",A='The option "'+M+s+"\" wasn't set, because",C=[],T=[];if(O==c.o)o[s]={},l(W,S,o[s],M+s),r.isEmptyObject(W)&&delete e[s];else{for(m=0;m<z.length;m++)if(x=z[m],p=(O=r.type(x))==c.s&&-1===r.inArray(x,h))for(C.push(c.s),u=x.split(d),T=T.concat(u),w=0;w<u.length;w++){for(y=(f=u[w].split(v))[0],b=0;b<f.length;b++)if(W===f[b]){g=!0;break}if(g)break}else if(C.push(x),H===x){g=!0;break}g?o[s]=p&&i?y:W:n&&console.warn(A+" it doesn't accept the type [ "+H.toUpperCase()+' ] with the value of "'+W+'".\r\nAccepted types are: [ '+C.join(", ").toUpperCase()+" ]."+(T.length>0?"\r\nValid strings are: [ "+T.join(", ").split(v).join(", ")+" ].":"")),delete e[s]}}};return l(s,t,a),o?r.extend(!0,a,s):!r.isEmptyObject(s)&&n&&console.warn("The following options are discarded due to invalidity:\r\n"+JSON.stringify(s,null,2)),a}});function H(){a||(a=new M(W.d)),u||(u=new A(a))}function M(a){var s=this,c="overflow",u="hidden",f="scroll",h=r("body"),d=r('<div id="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>'),v=d[0],p=r(d.children("div").eq(0));h.append(d);var y,x,m,w,b,g,S,O,z,W=A(v),H={x:0===W.x,y:0===W.y};function M(e){var r=!1,i="Webkit Moz ms O".split(" "),o=t.createElement("div"),a=null,s=0;if(e=e.toLowerCase(),o[l.s][e]!==n&&(r=!0),!r)for(a=e.charAt(0).toUpperCase()+e.substr(1);s<i.length;s++)if(o[l.s][i[s]+a]!==n){r=!0;break}return r}function A(e){return{x:e[l.oH]-e[l.cH],y:e[l.oW]-e[l.cW]}}r.extend(s,{defaultOptions:a,autoUpdateLoop:!1,autoUpdateRecommended:!i.mO(),nativeScrollbarSize:W,nativeScrollbarIsOverlaid:H,nativeScrollbarStyling:(d.addClass("os-viewport-native-scrollbars-invisible"),d.css(c,u).hide().css(c,f).show(),v[l.oH]-v[l.cH]==0&&v[l.oW]-v[l.cW]==0),overlayScrollbarDummySize:{x:30,y:30},msie:(x=e.navigator.userAgent,m="indexOf",w="substring",b=x[m]("MSIE "),g=x[m]("Trident/"),S=x[m]("Edge/"),O=x[m]("rv:"),z=e.parseInt,b>0?y=z(x[w](b+5,x[m](".",b)),10):g>0?y=z(x[w](O+3,x[m](".",O)),10):S>0&&(y=z(x[w](S+5,x[m](".",S)),10)),y),cssCalc:function(){var e,n,r=t.createElement("div"),i=["calc","-webkit-calc","-moz-calc","-o-calc"];for(e=0;e<i.length;++e)if(n=i[e],r[l.s].cssText="width:"+n+"(1px);",r[l.s].length)return n;return null}(),restrictedMeasuring:function(){d.css(c,u);var e={w:v[l.sW],h:v[l.sH]};d.css(c,"visible");var t={w:v[l.sW],h:v[l.sH]};return e.w-t.w!=0||e.h-t.h!=0}(),rtlScrollBehavior:function(){d.css({"overflow-y":u,"overflow-x":f,direction:"rtl"}).scrollLeft(0);var e=d.offset(),t=p.offset();d.scrollLeft(999);var n=p.offset();return{i:e.left===t.left,n:t.left-n.left==0}}(),supportTransform:M("transform"),supportTransition:M("transition"),supportPassiveEvents:function(){var t=!1;try{e.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){t=!0}}))}catch(n){}return t}(),supportResizeObserver:!!i.rO(),supportMutationObserver:!!i.mO()}),d.removeAttr(l.s).remove(),function(){if(!H.x||!H.y){var t=Math.abs,n=i.wW(),a=i.wH(),c=f(),l=function(){if(o().length>0){var e=i.wW(),l=i.wH(),v=e-n,p=l-a;if(0===v&&0===p)return;var y,x=Math.round(e/(n/100)),m=Math.round(l/(a/100)),w=t(v),b=t(p),g=t(x),S=t(m),O=f(),z=w>2&&b>2,W=!u(g,S),H=z&&W&&(O!==c&&c>0),M=s.nativeScrollbarSize;H&&(h.append(d),y=s.nativeScrollbarSize=A(d[0]),d.remove(),M.x===y.x&&M.y===y.y||r.each(o(),function(){o(this)&&o(this).update("zoom")})),n=e,a=l,c=O}};r(e).on("resize",l)}function u(e,n){var r=t(e),i=t(n);return!(r===i||r+1===i||r-1===i)}function f(){var t=e.screen.deviceXDPI||0,n=e.screen.logicalXDPI||1;return e.devicePixelRatio||t/n}}()}function A(e){var t,o=this,a="autoUpdate",s=a+"Interval",c=l.l,u=[],f=[],h=!1,d=33,v=d,p=i.now(),y=function(){if(u[c]>0&&h){t=i.rAF()(function(){y()});var e=i.now(),r=e-p;if(r>v){p=e-r%v;for(var o=d,l=0;l<u[c];l++){var x=u[l];if(x!==n){var m=x.options(),w=m[a],b=Math.max(1,m[s]),g=i.now();(!0===w||null===w)&&g-f[l]>b&&(x.update("auto"),f[l]=new Date(g+=b)),o=Math.max(1,Math.min(o,b))}}v=o}}else v=d};o.add=function(t){-1===r.inArray(t,u)&&(u.push(t),f.push(i.now()),u[c]>0&&!h&&(h=!0,e.autoUpdateLoop=h,y()))},o.remove=function(o){var a=r.inArray(o,u);a>-1&&(f.splice(a,1),u.splice(a,1),0===u[c]&&h&&(h=!1,e.autoUpdateLoop=h,t!==n&&(i.cAF()(t),t=-1)))}}function C(a,u,h,d,v){if(fi(a)){if(o(a)){var p=o(a);return p.options(u),p}var y,x,m,w,b,g,S,O,z,H,M,A,C,T,k,E,L,P,D,R,N,F,I,j,U,_,q,B,V,X,Y,K,J,Q,G,Z,$,ee,te,ne,re,ie,oe,ae,se,ce,le,ue,fe,he,de,ve,pe,ye,xe,me,we,be,ge,Se,Oe,ze,We,He,Me,Ae,Ce,Te,ke,Ee,Le,Pe,De,Re,Ne,Fe,Ie,je,Ue,_e,qe,Be,Ve,Xe,Ye,Ke,Je,Qe,Ge,Ze,$e,et,tt,nt,rt,it,ot,at,st,ct,lt,ut,ft,ht,dt,vt,pt,yt,xt,mt,wt,bt,gt,St,Ot,zt,Wt,Ht,Mt,At,Ct,Tt=new e[s],kt=r[l.p],Et={},Lt={},Pt={},Dt={},Rt={},Nt=175,Ft="-hidden",It="margin-",jt="padding-",Ut="border-",_t="top",qt="right",Bt="bottom",Vt="left",Xt="min-",Yt="max-",Kt="width",Jt="height",Qt="float",Gt="",Zt="auto",$t="scroll",en="100%",tn="x",nn="y",rn=".",on=" ",an="scrollbar",sn="-horizontal",cn="-vertical",ln=$t+"Left",un=$t+"Top",fn="mousedown touchstart",hn="mouseup touchend touchcancel",dn="mousemove touchmove",vn="mouseenter",pn="mouseleave",yn="keydown",xn="keyup",mn="selectstart",wn="transitionend webkitTransitionEnd oTransitionEnd",bn="__overlayScrollbarsRO__",gn="os-",Sn=gn+"html",On=gn+"host",zn=On+"-textarea",Wn=On+"-"+an+sn+Ft,Hn=On+"-"+an+cn+Ft,Mn=On+"-transition",An=On+"-rtl",Cn=On+"-resize-disabled",Tn=On+"-scrolling",kn=On+"-overflow",En=kn+"-x",Ln=kn+"-y",Pn=gn+"textarea",Dn=Pn+"-cover",Rn=gn+"padding",Nn=gn+"viewport",Fn=Nn+"-native-scrollbars-invisible",In=Nn+"-native-scrollbars-overlaid",jn=gn+"content",Un=gn+"content-arrange",_n=gn+"content-glue",qn=gn+"size-auto-observer",Bn=gn+"resize-observer",Vn=gn+"resize-observer-item",Xn=Vn+"-final",Yn=gn+"text-inherit",Kn=gn+an,Jn=Kn+"-track",Qn=Jn+"-off",Gn=Kn+"-handle",Zn=Gn+"-off",$n=Kn+"-unusable",er=Kn+"-"+Zt+Ft,tr=Kn+"-corner",nr=tr+"-resize",rr=nr+"-both",ir=nr+sn,or=nr+cn,ar=Kn+sn,sr=Kn+cn,cr=gn+"dragging",lr=gn+"theme-none",ur={},fr="added removed on contract",hr={},dr=42,vr=[],pr=11,yr=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],xr=[],mr={},wr={};if(Tt.sleep=function(){B=!0},Tt.update=function(e){var t,n,o=zi(e)==c.s,a="img",s="load";o?0===e.indexOf(Zt)?(t=Qr(),n=Jr(),(t||n)&&$r(!1,n,!1,"+"==e.slice(-1))):"zoom"===e&&$r(!0,!0):(e=B||e,B=!1,$r(!1,!1,e,!0)),E||le.find(a).each(function(e,t){-1===i.inA(t,vr)&&r(t).off(s,Vr).on(s,Vr)})},Tt.options=function(e,t){if(r.isEmptyObject(e)||!r.isPlainObject(e)){if(zi(e)==c.s){if(arguments.length>=2){var n={};return bi(n,e,t),ei(n),void $r()}return wi(Y,e)}return Y}ei(e);var i=B||!1;B=!1,$r(),B=i},Tt.destroy=function(){for(var e in k=!0,v.remove(Tt),Mr(),Or(ie),R&&Or(re),ur)Tt.removeExt(e);Ai(ie),oe!==n&&Ai(oe),ce!==n&&Ai(ce),R&&Ai(re),M?(gr(ne,dn,kr),gr(ne,vn,Cr),gr(ne,pn,Tr)):ne.off(dn,kr).off(vn,Cr).off(pn,Tr),Ai(he),Ai(pe),fe&&Ai(fe),Ht||qr(),le.contents().unwrap().unwrap().unwrap(),L&&Mi($,Sn),E?(te.off($t,jr).off("drop",Nr).off("focus",Fr).off("focusout",Ir),b>9||!w?te.off("input",Pr):te.off(yn,Dr).off(xn,Rr),Ai(ue),Mi(te,Pn+on+Yn).unwrap().removeAttr(l.s),Ai(ne)):(Mi(te,On),Mi(ne,[On,Cn,An,Wn,Hn,Mn,Tn,kn,En,Ln,lr,rt].join(on)));for(var t=0;t<vr.length;t++)r(vr[t]).off("load",Vr);for(var i in vr=n,o(a,0),li("onDestroyed"),Tt)delete Tt[i];Tt=n},Tt.scroll=function(t,i,o,a){if(0===arguments.length||t===n){var s=Lt,u=Pt,h=nt&&q&&m.i,d=nt&&q&&m.n,v=s.cs,p=s.csr,y=s.ms;return v=h?y-v:v,{x:{position:v*=d?-1:1,ratio:p=h?1-p:p,max:y*=d?-1:1,handleOffset:s.ho,handleLength:s.hl,handleLengthRatio:s.hlr,trackLength:s.tl,isRTL:q,isRTLNormalized:nt},y:{position:u.cs,ratio:u.csr,max:u.ms,handleOffset:u.ho,handleLength:u.hl,handleLengthRatio:u.hlr,trackLength:u.tl}}}var x,w,b,g,S,O,z,W,M,A=nt,C=[tn,Vt,"l"],T=[nn,_t,"t"],k=["+=","-=","*=","/="],E={},L=zi(i)==c.o,P="end",D="begin",R="center",N="nearest",F="always",I="never",j="ifneeded",U=l.l,_=[tn,nn,"xy","yx"],B=[D,P,R,N],V=[F,I,j],X=t.hasOwnProperty("el"),Y=X?t.el:t,K=!!(Y instanceof r||f)&&Y instanceof f,J=!K&&fi(Y),Q=function(e,t){for(x=0;x<t[U];x++)if(e===t[x])return!0;return!1},G=function(e){var t={};if(zi(e)==c.a&&e[U]>0)t.x=e[0],t.y=e[1];else if(zi(e)==c.s||zi(e)==c.n)t.x=e,t.y=e;else if(zi(e)==c.o){for(var n in A=zi(e.n)==c.b?e.n:A,e=Wi({},e),x=0,e)e.hasOwnProperty(n)&&(x>2&&delete e[n],x++);var r=function(t){var n=t?C:T;for(x=0;x<n[U];x++)if(n[x]in e)return e[n[x]]};t.x=r(!0),t.y=r(!1)}return t},Z=function(t,r){var i,o,a=zi(r)==c.s;a&&Tt.update(Zt+"+");var s,l=t?Lt:Pt,u=l.cs,f=l.ms,h=" * ",d=q&&t,v=d&&m.n&&!A,p="replace";if(a){if(r[U]>2){var y=r.substr(0,2);for(x=0;x<k[U];x++)if(y===k[x]){i=k[x];break}}r=(r=(r=(r=(r=(r=(r=(r=(r=i!==n?r.substr(2):r)[p](/min/g,0))[p](/</g,0))[p](/max/g,(v?"-":Gt)+en))[p](/>/g,(v?"-":Gt)+en))[p](/px/g,Gt))[p](/%/g,h+f*(d&&m.n?-1:1)/100))[p](/vw/g,h+Dt.w))[p](/vh/g,h+Dt.h),o=di(e.parseFloat(e.eval(r)).toFixed())}else o=r;if(o!==n&&!isNaN(o)&&zi(o)==c.n){var w=A&&d,b=u*(w&&m.n?-1:1),g=w&&m.i,S=w&&m.n;switch(b=g?f-b:b,i){case"+=":s=b+o;break;case"-=":s=b-o;break;case"*=":s=b*o;break;case"/=":s=b/o;break;default:s=o}s=g?f-s:s,s*=S?-1:1,s=d&&m.n?Math.min(0,Math.max(f,s)):Math.max(0,Math.min(f,s))}return s===u?n:s},$=function(e,t,n,r){var i,o,a=[n,n],s=zi(e);if(s==t)e=[e,e];else if(s==c.a){if((i=e[U])>2||i<1)e=a;else for(1===i&&(e[1]=n),x=0;x<i;x++)if(zi(o=e[x])!=t||!Q(o,r)){e=a;break}}else e=s==c.o?[e[tn]||n,e[nn]||n]:a;return{x:e[0],y:e[1]}},ee=function(e){var t,n,r=[],i=[_t,qt,Bt,Vt];for(x=0;x<e[U]&&x!==i[U];x++)(n=zi(t=e[x]))==c.b?r.push(t?di(M.css(It+i[x])):0):r.push(n==c.n?t:0);return r};if(K||J){var te,ne=X?t.margin:0,re=X?t.axis:0,ie=X?t.scroll:0,oe=X?t.block:0,ce=[0,0,0,0],le=zi(ne);if(0===(M=K?Y:r(Y))[U])return;Tt.update(Zt+"+"),ne=le==c.n||le==c.b?ee([ne,ne,ne,ne]):le==c.a?2===(te=ne[U])?ee([ne[0],ne[1],ne[0],ne[1]]):te>=4?ee(ne):ce:le==c.o?ee([ne[_t],ne[qt],ne[Bt],ne[Vt]]):ce,S=Q(re,_)?re:"xy",O=$(ie,c.s,F,V),z=$(oe,c.s,D,B),W=ne;var ue={l:Lt.cs,t:Pt.cs},fe=ae.offset(),he=M.offset(),de={x:O.x==I||S==nn,y:O.y==I||S==tn};he[_t]-=W[0],he[Vt]-=W[3];var ve={x:Math.round(he[Vt]-fe[Vt]+ue.l),y:Math.round(he[_t]-fe[_t]+ue.t)};if(q&&(m.n||m.i||(ve.x=Math.round(fe[Vt]-he[Vt]+ue.l)),m.n&&A&&(ve.x*=-1),m.i&&A&&(ve.x=Math.round(fe[Vt]-he[Vt]+(Lt.ms-ue.l)))),z.x!=D||z.y!=D||O.x==j||O.y==j||q){var pe=M[0],ye=H?pe.getBoundingClientRect():{width:pe[l.oW],height:pe[l.oH]},xe={w:ye[Kt]+W[3]+W[1],h:ye[Jt]+W[0]+W[2]},me=function(e){var t=ci(e),n=t._wh,r=t.lt,i=t.xy,o=z[i]==(e&&q?D:P),a=z[i]==R,s=z[i]==N,c=O[i]==I,l=O[i]==j,u=Dt[n],f=fe[r],h=xe[n],d=he[r],v=a?2:1,p=d+h/2,y=f+u/2,x=h<=u&&d>=f&&d+h<=f+u;c?de[i]=!0:de[i]||((s||l)&&(de[i]=!!l&&x,o=h<u?p>y:p<y),ve[i]-=o||a?(u/v-h/v)*(e&&q&&A?-1:1):0)};me(!0),me(!1)}de.y&&delete ve.y,de.x&&delete ve.x,t=ve}if(E[ln]=Z(!0,G(t).x),E[un]=Z(!1,G(t).y),w=E[ln]!==n,b=E[un]!==n,(w||b)&&(i>0||L))if(L)se.animate(E,i);else{if(g={duration:i,complete:a},zi(o)==c.a){var we={};we[ln]=o[0],we[un]=o[1],g.specialEasing=we}else g.easing=o;se.animate(E,g)}else w&&se[ln](E[ln]),b&&se[un](E[un])},Tt.scrollStop=function(e,t,n){return se.stop(e,t,n),Tt},Tt.getElements=function(e){var t={target:te[0],host:ne[0],padding:ae[0],viewport:se[0],content:le[0],scrollbarHorizontal:{scrollbar:he[0],track:de[0],handle:ve[0]},scrollbarVertical:{scrollbar:pe[0],track:ye[0],handle:xe[0]},scrollbarCorner:fe[0]};return zi(e)==c.s?wi(t,e):t},Tt.getState=function(e){var t=function(e){if(!r.isPlainObject(e))return e;var t=Wi(!0,{},e),n=function(e,n){t.hasOwnProperty(e)&&(t[n]=t[e],delete t[e])};return n("w",Kt),n("h",Jt),delete t.c,t},n={sleeping:t(B)||!1,autoUpdate:t(!ht),widthAuto:t(Oe),heightAuto:t(ze),padding:t(Me),overflowAmount:t(Re),hideOverflow:t(Se),hasOverflow:t(ge),contentScrollSize:t(we),viewportSize:t(Dt),hostSize:t(me),documentMixed:t(P)};return zi(e)==c.s?wi(n,e):n},Tt.ext=function(e){var t,n=fr.split(" "),r=0;if(zi(e)==c.s){if(ur.hasOwnProperty(e))for(t=Wi(!0,{},ur[e]);r<n.length;r++)delete t[n[r]]}else for(r in t={},ur)t[r]=Wi(!0,{},Tt.ext(r));return t},Tt.addExt=function(t,n){var o,a,l,u,f=e[s].extension(t),h=!0;if(f){if(ur.hasOwnProperty(t))return Tt.ext(t);if((o=f.extension.call(Tt,Wi(!0,{},f.defaultOptions),r,i))&&(zi(l=o.contract)==c.f&&(h=zi(u=l(e))==c.b?u:h),h))return ur[t]=o,zi(a=o.added)==c.f&&a(n),Tt.ext(t)}else console.warn('A extension with the name "'+t+"\" isn't registered.")},Tt.removeExt=function(e){var t,n=ur[e];return!!n&&(delete ur[e],zi(t=n.removed)==c.f&&t(),!0)},Ti(a,u,h))return o(a,Tt),Tt;Tt=n}function br(e,t,n){for(var r=t.split(on),i=0;i<r.length;i++)e[0].addEventListener(r[i],n,{passive:!0})}function gr(e,t,n){for(var r=t.split(on),i=0;i<r.length;i++)e[0].removeEventListener(r[i],n,{passive:!0})}function Sr(e,t){var o=3333333,a=i.rO(),s="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart",u="childNodes",f=function(){e[un](o)[ln](q?m.n?-o:m.i?0:o:o),t()};if(A){var h=e.append(mi(Bn+" observed")).contents()[0];(h[bn]=new a(f)).observe(h)}else if(b>9||!w){e.prepend(mi(Bn,mi({className:Vn,dir:"ltr"},mi(Vn,mi(Xn))+mi(Vn,mi({className:Xn,style:"width: 200%; height: 200%"})))));var v,p,y,x,g=e[0][u][0][u][0],S=r(g[u][1]),O=r(g[u][0]),z=r(O[0][u][0]),W=g[l.oW],H=g[l.oH],M=2,C=d.nativeScrollbarSize,T=function(){O[ln](o)[un](o),S[ln](o)[un](o)},k=function(){p=0,v&&(W=y,H=x,f())},E=function(e){return y=g[l.oW],x=g[l.oH],v=y!=W||x!=H,e&&v&&!p?(i.cAF()(p),p=i.rAF()(k)):e||k(),T(),e&&(i.prvD(e),i.stpP(e)),!1},L={},P={};P[_t]=-(C.y+1)*M,P[qt]=C.x*-M,P[Bt]=C.y*-M,P[Vt]=-(C.x+1)*M,r(g).css(P),O.on($t,E),S.on($t,E),e.on(s,function(){E(!1)}),L[Kt]=o,L[Jt]=o,z.css(L),T()}else{var D=Z[0],R=D.attachEvent,N=b!==n;if(R)e.prepend(mi(Bn)),Ci(e,rn+Bn)[0].attachEvent("onresize",f);else{var F=D.createElement(c.o);F.setAttribute("tabindex","-1"),F.setAttribute(l.c,Bn),F.onload=function(){var e=this.contentDocument.defaultView;e.addEventListener("resize",f),e.document.documentElement.style.display="none"},F.type="text/html",N&&e.prepend(F),F.data="about:blank",N||e.prepend(F),e.on(s,f)}}if(e[0]===ie[0]){var I=function(){var t=ne.css("direction"),n={},r=0,i=!1;return t!==ke&&("ltr"===t?(n[Vt]=0,n[qt]=Zt,r=o):(n[Vt]=Zt,n[qt]=0,r=m.n?-o:m.i?0:o),ie.children().eq(0).css(n),e[ln](r)[un](o),ke=t,i=!0),i};I(),e.on($t,function(e){return I()&&$r(),i.prvD(e),i.stpP(e),!1})}}function Or(e){if(A){var t=e.contents()[0];t[bn].disconnect(),delete t[bn]}else Ai(e.children(rn+Bn).eq(0))}function zr(e){}function Wr(e){}function Hr(){dt&&!ht&&(ut.observe(ne[0],{attributes:!0,attributeOldValue:!0,attributeFilter:[l.i,l.c,l.s]}),ft.observe(E?te[0]:le[0],{attributes:!0,attributeOldValue:!0,subtree:!E,childList:!E,characterData:!E,attributeFilter:E?["wrap","cols","rows"]:[l.i,l.c,l.s]}),ht=!0)}function Mr(){dt&&ht&&(ut.disconnect(),ft.disconnect(),ht=!1)}function Ar(){if(!B){var e=ie[0],t={w:e[l.sW],h:e[l.sH]};if(T){var n=Si(t,Qe);Qe=t,n&&$r(!0,!1)}else Qe=t}}function Cr(){St&&ii(!0)}function Tr(){St&&!ee.hasClass(cr)&&ii(!1)}function kr(){gt&&(ii(!0),clearTimeout(xt),xt=setTimeout(function(){gt&&!k&&ii(!1)},100))}function Er(e){B||(V!==n?clearTimeout(V):((bt||gt)&&ii(!0),yi()||Hi(ne,Tn),li("onScrollStart",e)),ai(!0,se[ln]()),ai(!1,se[un]()),li("onScroll",e),V=setTimeout(function(){k||(Lr(),li("onScrollStop",e))},Nt))}function Lr(){clearTimeout(V),V=n,(bt||gt)&&ii(!1),yi()||Mi(ne,Tn)}function Pr(){Zr(),Tt.update(Zt)}function Dr(e){var t=e.keyCode;if(!pi(t)){if(0===xr.length){var n=function(){Zr(),Tt.update(Zt)};n(),vt=setInterval(n,1e3/60)}-1===r.inArray(t,xr)&&xr.push(t)}}function Rr(e){var t=e.keyCode;if(!pi(t)){var n=r.inArray(t,xr);n>-1&&xr.splice(n,1),0===xr.length&&(Zr(),Tt.update(Zt),clearInterval(vt))}}function Nr(){setTimeout(function(){k||(Zr(),Tt.update(Zt))},50)}function Fr(){pt=!0}function Ir(){pt=!1,clearInterval(vt),xr=[],Zr(),Tt.update(Zt)}function jr(e){return te[ln](m.i&&nt?9999999:0),te[un](0),i.prvD(e),i.stpP(e),!1}function Ur(e){if(!B){var t=(e.originalEvent||e).touches!==n;(1===i.mBtn(e)||t)&&(ht&&(Wt=!0,Mr()),mr=i.page(e),wr.w=ne[0][l.oW]-(D?0:N),wr.h=ne[0][l.oH]-(D?0:F),Z.on(mn,Br).on(dn,_r).on(hn,qr),Hi(ee,cr),fe.setCapture&&fe.setCapture(),i.prvD(e),i.stpP(e))}}function _r(e){var t=i.page(e),n={};(At||Mt)&&(n[Kt]=wr.w+t.x-mr.x),(Ct||Mt)&&(n[Jt]=wr.h+t.y-mr.y),ne.css(n),i.stpP(e)}function qr(e){var t=e!==n;Z.off(mn,Br).off(dn,_r).off(hn,qr),Mi(ee,cr),fe.releaseCapture&&fe.releaseCapture(),t&&(Wt&&Hr(),Tt.update(Zt)),Wt=!1}function Br(e){return i.prvD(e),!1}function Vr(){$r()}function Xr(){var e={};return L&&ce&&(e.w=di(ce.css(Xt+Kt)),e.h=di(ce.css(Xt+Jt)),e.c=Si(e,st),e.f=!0),st=e,e.c||!1}function Yr(e,t){var i=t!==n&&null!==t?t.split(on):Gt,o=e!==n&&null!==e?e.split(on):Gt;if(i===Gt&&o===Gt)return!1;var a,s,c,l,u=hi(o,i),f=!1,h=it!==n&&null!==it?it.split(on):[Gt],d=rt!==n&&null!==rt?rt.split(on):[Gt],v=r.inArray(lr,u),p=u[a];for(v>-1&&u.splice(v,1),a=0;a<u.length;a++)if(0!==(p=u[a]).indexOf(On)){for(c=!0,l=!0,s=0;s<h.length;s++)if(p===h[s]){c=!1;break}for(s=0;s<d.length;s++)if(p===d[s]){l=!1;break}if(c&&l){f=!0;break}}return f}function Kr(e){var t=e.attributeName,n=e.target,r=e.type,i="closest";if(n===le[0])return null===t;if("attributes"===r&&(t===l.c||t===l.s)&&!E){if(typeof n[i]!=c.f)return!0;if(null!==n[i](rn+Bn)||null!==n[i](rn+Kn)||null!==n[i](rn+tr))return!1}return!0}function Jr(){if(B)return!1;var e,t=E&&Oe&&!je?te.val().length:0,n=!ht&&Oe&&!E,r={},i={};C&&(r={x:se[0][l.sW],y:se[0][l.sH]}),n&&(e=le.css(Qt),i[Qt]=q?qt:Vt,i[Kt]=Zt,le.css(i));var o={w:xi()[l.sW]+t,h:xi()[l.sH]+t};n&&(i[Qt]=e,i[Kt]=en,le.css(i));var a=Xr(),s=Si(o,Je),c=Si(r,ct,tn,nn);return Je=o,ct=r,s||a||c}function Qr(){if(B||ht)return!1;var e=ne.attr(l.i)||Gt,t=gi(e,_e),n=ne.attr(l.c)||Gt,r=gi(n,qe),i=ne.attr(l.s)||Gt,o=gi(i,Be),a=ne.is(":visible")||Gt,s=gi(a,Ve),c=E&&te.attr("rows")||Gt,u=gi(c,Xe),f=E&&te.attr("cols")||Gt,h=gi(f,Ye),d=E&&te.attr("wrap")||Gt,v=gi(d,Ke);return _e=e,r&&(r=Yr(qe,n)),qe=n,Be=i,Ve=a,Xe=c,Ye=f,Ke=d,t||r||o||s||u||h||v}function Gr(e){if(!T)return!0;var t="flex-grow",n="flex-shrink",r="flex-basis",i=[Kt,Xt+Kt,Yt+Kt,It+Vt,It+qt,Vt,qt,"font-weight","word-spacing",t,n,r],o=[jt+Vt,jt+qt,Ut+Vt+Kt,Ut+qt+Kt],a=[Jt,Xt+Jt,Yt+Jt,It+_t,It+Bt,_t,Bt,"line-height",t,n,r],s=[jt+_t,jt+Bt,Ut+_t+Kt,Ut+Bt+Kt],c="s",l="v-s",u=De.x===c||De.x===l,f=!1,h=function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1};return(De.y===c||De.y===l)&&((f=h(a,e))||D||(f=h(s,e))),u&&!f&&((f=h(i,e))||D||(f=h(o,e))),f}function Zr(){if(!B){var e,t,n,r,i=!je,o=Dt.w-(D||Ee||!Oe?0:F+j),a=Dt.h-(D||Ee||!ze?0:F+j),s={},c=Oe||i,u=te[0];return s[Xt+Kt]=Gt,s[Xt+Jt]=Gt,s[Kt]=Zt,te.css(s),e=u[l.oW],t=c?Math.max(e,u[l.sW]-1):1,t+=Oe?U+(D?0:i?0:N+I):0,s[Kt]=Oe?t:en,s[Jt]=Zt,te.css(s),n=u[l.oH],r=Math.max(n,u[l.sH]-1),s[Kt]=t,s[Jt]=r,ue.css(s),s[Xt+Kt]=o+(!D&&Oe?N+I:0),s[Xt+Jt]=a+(!D&&ze?F+j:0),te.css(s),{ow:e,oh:n,dw:t,dh:r}}}function $r(e,t,o,a){var s=i.now(),c=dr>0&&T&&s-J<dr&&!ze&&!Oe&&!a,u=ne.is(":hidden"),f=gi(u,lt,o);if(lt=u,clearTimeout(Q),c&&(hr.h=e,hr.c=t,hr.f=o,Q=setTimeout($r,dr)),!(k||c||B||T&&!o&&u||"inline"===ne.css("display"))){J=s,e=e||hr.h,t=t||hr.c,o=o||hr.f,hr={},e=e!==n&&e,t=t!==n&&t,o=o!==n&&o,!g||y.x&&y.y?O=Wi(!0,{},d.nativeScrollbarSize):(O.x=0,O.y=0),Rt={x:3*(O.x+(y.x?0:3)),y:3*(O.y+(y.y?0:3))},zr(ie),zr(re);var h={l:se[ln](),t:se[un]()},p=K.scrollbars,b=K.textarea,z=p.visibility,W=gi(z,Ge,o),H=p.autoHide,A=gi(H,Ze,o),P=p.clickScrolling,V=gi(P,$e,o),X=p.dragScrolling,Y=gi(X,et,o),G=K.className,Z=gi(G,rt,o),$=K.resize,ee=gi($,tt,o)&&!L,he=!!E&&"off"!==te.attr("wrap"),de=gi(he,je,o),ve=K.paddingAbsolute,pe=gi(ve,Ee,o),ye=K.clipAlways,xe=gi(ye,Le,o),ke=K.sizeAutoCapable&&!L,_e=gi(ke,Ie,o),qe=K.nativeScrollbarsOverlaid.showNativeScrollbars,Be=gi(qe,Ne),Ve=K.autoUpdate,Xe=gi(Ve,Fe),Ye=K.overflowBehavior,Ke=Si(Ye,De,tn,nn,o),Je=b.dynWidth,Qe=gi(at,Je),ct=b.dynHeight,ut=gi(ot,ct);if(wt="n"===H,bt="s"===H,gt="m"===H,St="l"===H,mt=p.autoHideDelay,Ot=p.touchSupport,it=rt,Ht="n"===$,Mt="b"===$,At="h"===$,Ct="v"===$,nt=K.normalizeRTL,qe=qe&&y.x&&y.y,Ge=z,Ze=H,$e=P,et=X,rt=G,tt=$,je=he,Ee=ve,Le=ye,Ie=ke,Ne=qe,Fe=Ve,De=Wi(!0,{},Ye),at=Je,ot=ct,ge=ge||{x:!1,y:!1},Z&&(Mi(ne,it+on+lr),Hi(ne,G!==n&&null!==G&&G.length>0?G:lr)),Xe&&(!0===Ve?(Mr(),v.add(Tt)):null===Ve&&w?(Mr(),v.add(Tt)):(v.remove(Tt),Hr())),_e)if(ke)if(oe===n&&(oe=r(mi(_n)),ae.before(oe)),R)re.show();else{re=r(mi(qn)),oe.before(re);var ft={w:-1,h:-1};Sr(re,function(){var e={w:re[0][l.oW],h:re[0][l.oH]};Si(e,ft)&&(T&&ze&&e.h>0||Oe&&e.w>0?$r():(T&&!ze&&0===e.h||!Oe&&0===e.w)&&$r()),ft=e}),R=!0,null!==S&&re.css(Jt,S+"(100% + 1px)")}else R&&re.hide();o&&(ie.find("*").trigger($t),R&&re.find("*").trigger($t));var dt,vt=ne.css("direction"),yt=gi(vt,Te,o),xt=ne.css("box-sizing"),zt=gi(xt,He,o),Wt={c:o,t:di(ne.css(jt+_t)),r:di(ne.css(jt+qt)),b:di(ne.css(jt+Bt)),l:di(ne.css(jt+Vt))};try{dt=R?re[0].getBoundingClientRect():null}catch(Fi){return}D="border-box"===xt;var kt=(q="rtl"===vt)?Vt:qt,Lt=q?qt:Vt,Pt=ne[0],Nt=ae[0],Ft=!1,rn=!(!R||"none"===ne.css(Qt))&&(0===Math.round(dt.right-dt.left)&&(!!ve||Pt[l.cW]-N>0));if(ke&&!rn){var an=Pt[l.oW],sn=oe.css(Kt);oe.css(Kt,Zt);var cn=Pt[l.oW];oe.css(Kt,sn),(Ft=an!==cn)||(oe.css(Kt,an+1),cn=Pt[l.oW],oe.css(Kt,sn),Ft=an!==cn)}var hn=(rn||Ft)&&ke&&!u,yn=gi(hn,Oe,o),xn=!hn&&Oe,mn=!(!R||u)&&0===Math.round(dt.bottom-dt.top),wn=gi(mn,ze,o),bn=!mn&&ze,gn="-"+Kt,Sn=hn&&D||!D,On=mn&&D||!D,zn={c:o,t:On?di(ne.css(Ut+_t+gn)):0,r:Sn?di(ne.css(Ut+qt+gn)):0,b:On?di(ne.css(Ut+Bt+gn)):0,l:Sn?di(ne.css(Ut+Vt+gn)):0},Wn={c:o,t:di(ne.css(It+_t)),r:di(ne.css(It+qt)),b:di(ne.css(It+Bt)),l:di(ne.css(It+Vt))},Hn={h:String(ne.css(Yt+Jt)),w:String(ne.css(Yt+Kt))},Mn={},Pn={};if(N=Wt.l+Wt.r,F=Wt.t+Wt.b,Wt.ax=ve?N:0,Wt.ay=ve?F:0,Wt.c=Oi(Wt,Me),I=zn.l+zn.r,j=zn.t+zn.b,zn.c=Oi(zn,Ae),U=Wn.l+Wn.r,_=Wn.t+Wn.b,Wn.c=Oi(Wn,Ce),Hn.ih=di(Hn.h),Hn.iw=di(Hn.w),Hn.ch=Hn.h.indexOf("px")>-1,Hn.cw=Hn.w.indexOf("px")>-1,Hn.c=Si(Hn,We,o),Te=vt,He=xt,Oe=hn,ze=mn,Me=Wt,Ae=zn,Ce=Wn,We=Hn,yt&&R&&re.css(Qt,Lt),Wt.c||yt||pe||yn||wn||zt||_e){var Dn={},Rn={};ui(Pn,It,[-Wt.t,-Wt.r,-Wt.b,-Wt.l]),ve?(ui(Dn,Gt,[Wt.t,Wt.r,Wt.b,Wt.l]),ui(E?Rn:Mn,jt)):(ui(Dn,Gt),ui(E?Rn:Mn,jt,[Wt.t,Wt.r,Wt.b,Wt.l])),ae.css(Dn),te.css(Rn)}Dt={w:Nt[l.oW],h:Nt[l.oH]};var Nn=!!E&&Zr();if(mn&&(wn||pe||zt||Hn.c||Wt.c||zn.c)?(Hn.cw&&(Mn[Yt+Jt]=Hn.ch?Hn.ih-Wt.ay+(D?-j:F):Gt),Mn[Jt]=Zt):(wn||pe)&&(Mn[Yt+Jt]=Gt,Mn[Jt]=en),hn&&(yn||pe||zt||Hn.c||Wt.c||zn.c||yt)?(Hn.cw&&(Mn[Yt+Kt]=Hn.cw?Hn.iw-Wt.ax+(D?-I:N)+(y.y?x.y:0):Gt),Mn[Kt]=Zt,Pn[Yt+Kt]=en):(yn||pe)&&(Mn[Yt+Kt]=Gt,Mn[Kt]=en,Mn[Qt]=Gt,Pn[Yt+Kt]=Gt),hn&&(Hn.cw||(Mn[Yt+Kt]=Gt),Pn[Kt]=E&&Je?Nn.dw:Zt,Mn[Kt]=Zt,Mn[Qt]=Lt),mn&&(Hn.ch||(Mn[Yt+Jt]=Gt),Pn[Jt]=E?ct?Nn.dh:Zt:le[0][l.cH]),ke&&oe.css(Pn),le.css(Mn),Mn={},Pn={},e||t||yt||zt||pe||yn||hn||wn||mn||Hn.c||Be||Ke||xe||ee||W||Qe||ut||de||o){var Fn="overflow",In=Fn+"-x",jn=Fn+"-y",Bn="hidden",Vn="visible",Xn=C?y.x||y.y||Dt.w<Rt.y||Dt.h<Rt.x||mn||f:mn,Yn={},Kn=ge.y&&Se.ys&&!qe?y.y?se.css(kt):-O.y:0,Jn=ge.x&&Se.xs&&!qe?y.x?se.css(Bt):-O.x:0;ui(Yn,Gt),se.css(Yn),Xn&&le.css(Fn,Bn);var Qn=xi(),Gn=C&&!Xn?se[0]:Qn,Zn={w:Qn[l.cW],h:Qn[l.cH]},$n={w:Math.max(Qn[l.sW],Gn[l.sW]),h:Math.max(Qn[l.sH],Gn[l.sH])},er={w:E&&Nn&&!Je?Nn.ow:hn?Zn.w:$n.w,h:E&&Nn&&!ct?Nn.oh:mn?Zn.h:$n.h};Yn[Bt]=bn?Gt:Jn,Yn[kt]=xn?Gt:Kn,se.css(Yn),Dt={w:Nt[l.oW],h:Nt[l.oH]};var tr={w:Pt[l.cW],h:Pt[l.cH]},ar={w:Math.max(er.w+Wt.ax,tr.w-N)-(Je&&E&&hn?U+(D?0:N+I):0),h:Math.max(er.h+Wt.ay,tr.h-F)};if(ar.c=Si(ar,Pe,o),Pe=ar,ke){(ar.c||mn||hn)&&(Pn[Kt]=ar.w,Pn[Jt]=ar.h);var sr=Pn[Kt]+(D?I:-N),cr=Pn[Jt]+(D?j:-N),ur={};(!hn||!hn&&zn.c)&&(Pn[Kt]=tr.w-(D?0:N+I)-1-U),(!mn||!mn&&zn.c)&&(Pn[Jt]=tr.h-(D?0:F+j)-1-_),Hn.cw&&Hn.iw===sr&&(Pn[Kt]=sr+(D?0:N)+1),Hn.ch&&Hn.ih===cr&&(Pn[Jt]=cr+(D?0:F)+1),hn&&(Zn.w<Dt.w||E&&!he)&&0===N&&(E&&(ur[Kt]=di(ue.css(Kt))-1),Pn[Kt]-=1),mn&&(Zn.h<Dt.h||E)&&0===F&&(E&&(ur[Jt]=di(ue.css(Jt))-1),Pn[Jt]-=1),er.h>0&&(Pn[Kt]=Math.max(1,Pn[Kt]),Pn[Jt]=Math.max(1,Pn[Jt])),E&&ue.css(ur),oe.css(Pn)}hn&&(Mn[Kt]=en),!hn||D||ht||(Mn[Qt]="none"),le.css(Mn),Mn={};var fr=Qn.getBoundingClientRect(),vr={w:Math.max(Qn[l.sW],Gn[l.sW]),h:Math.max(Qn[l.sH],Gn[l.sH])};if(Xn&&le.css(Fn,Gt),fr.width){var pr=fr.width,yr=fr.height,xr=.001;vr.w+=di(pr+xr)-pr,vr.h+=di(yr+xr)-yr}vr.c=t=Si(vr,we,o),we=vr,e=Si(tr={w:Pt[l.cW],h:Pt[l.cH]},me),me=tr;var mr={x:"v-s"===Ye.x,y:"v-s"===Ye.y},wr={x:"v-h"===Ye.x,y:"v-h"===Ye.y},Or={x:"s"===Ye.x,y:"s"===Ye.y},Ar={x:Math.max(0,Math.round(100*(vr.w-tr.w+Wt.ax))/100),y:Math.max(0,Math.round(100*(vr.h-tr.h+Wt.ay))/100)},Er=E&&(0===Dt.w||0===Dt.h);Er&&(Ar.x=0,Ar.y=0);var Lr={x:Ar.x>0,y:Ar.y>0},Pr={x:Lr.x,y:Lr.y};(mr.x||wr.x)&&(Pr.x=Lr.y&&!mr.y&&!wr.y),(mr.y||wr.y)&&(Pr.y=Lr.x&&!mr.x&&!wr.x),Pr.xs=!!Pr.x&&(Or.x||mr.x),Pr.ys=!!Pr.y&&(Or.y||mr.y);var Dr={x:Lr.x&&Pr.xs,y:Lr.y&&Pr.ys},Rr=Re;if(Ar.c=Si(Ar,Re,tn,nn,o),Re=Ar,Lr.c=Si(Lr,ge,tn,nn,o),ge=Lr,Pr.c=Si(Pr,Se,tn,nn,o),Se=Pr,y.x||y.y){var Nr="px solid transparent",Fr={},Ir={},jr=o;(Lr.x||Lr.y)&&(Ir.w=y.y&&Lr.y?vr.w+x.y:Gt,Ir.h=y.x&&Lr.x?vr.h+x.x:Gt,jr=gi(Ir,be,o),be=Ir),(Lr.c||Pr.c||vr.c||yt||yn||wn||hn||mn||Be)&&(Mn[It+Lt]=Mn[Ut+Lt]=Gt,y.x&&Lr.x&&Pr.xs?(Mn[It+Bt]=mn?qe?Gt:x.x:Gt,Mn[Ut+Bt]=mn||qe?Gt:x.x+Nr):(Ir.h=Mn[It+Bt]=Mn[Ut+Bt]=Gt,jr=!0),y.y&&Lr.y&&Pr.ys?(Mn[It+kt]=hn?qe?Gt:x.y:Gt,Mn[Ut+kt]=qe?Gt:x.y+Nr):(Ir.w=Mn[It+kt]=Mn[Ut+kt]=Gt,jr=!0)),qe&&(Ir.w=Ir.h=Gt,jr=!0),jr&&(Fr[Kt]=Pr.y?Ir.w:Gt,Fr[Jt]=Pr.x?Ir.h:Gt,ce||(ce=r(mi(Un)),se.prepend(ce)),ce.css(Fr)),le.css(Mn)}var _r={};Dn={};if(e||Lr.c||Pr.c||vr.c||Ke||zt||Be||yt||xe||wn){_r[Lt]=Gt;var qr=function(){_r[Bt]=Gt,Et.h=0},Br=function(){_r[kt]=Gt,Et.w=0};if(Lr.x&&Pr.xs?(_r[In]=$t,qe?qr():(_r[Bt]=-(y.x?x.x:O.x),Et.h=y.x?x.y:0)):(_r[In]=Gt,qr()),Lr.y&&Pr.ys?(_r[jn]=$t,qe?Br():(_r[kt]=-(y.y?x.y:O.y),Et.w=y.y?x.x:0)):(_r[jn]=Gt,Br()),(Dt.h<Rt.x||Dt.w<Rt.y)&&(Lr.x&&Pr.x&&!y.x||Lr.y&&Pr.y&&!y.y)?(_r[jt+_t]=Rt.x,_r[It+_t]=-Rt.x,_r[jt+Lt]=Rt.y,_r[It+Lt]=-Rt.y):_r[jt+_t]=_r[It+_t]=_r[jt+Lt]=_r[It+Lt]=Gt,_r[jt+kt]=_r[It+kt]=Gt,Lr.x&&Pr.x||Lr.y&&Pr.y||Er?E&&Er&&(Dn[In]=Dn[jn]=Bn):(!ye||wr.x||mr.x||wr.y||mr.y)&&(E&&(Dn[In]=Dn[jn]=Gt),_r[In]=_r[jn]=Vn),ae.css(Dn),se.css(_r),_r={},(Lr.c||zt||yn||wn)&&(!y.x||!y.y)){var Vr=le[0],Yr=Vr[l.s];Yr.webkitTransform="scale(1)",Yr.display="run-in",Vr[l.oH],Yr.display=Gt,Yr.webkitTransform=Gt}}if(Mn={},yt||yn||wn)if(q&&hn){var Kr=le.css(Qt),Jr=Math.round(le.css(Qt,Gt).css(Vt,Gt).position().left);le.css(Qt,Kr),Jr!==Math.round(le.position().left)&&(Mn[Vt]=Jr)}else Mn[Vt]=Gt;le.css(Mn);var Qr="v"===z,Gr="h"===z,ei="a"===z,ti=i.bind(ri,0,!0,!0,Dr.x),ni=i.bind(ri,0,!1,!0,Dr.y),ci=i.bind(ri,0,!0,!1,Dr.x),fi=i.bind(ri,0,!1,!1,Dr.y);if(Pr.x||Pr.y?Hi(ne,kn):Mi(ne,kn),Pr.x?Hi(ne,En):Mi(ne,En),Pr.y?Hi(ne,Ln):Mi(ne,Ln),yt&&(q?Hi(ne,An):Mi(ne,An)),L&&Hi(ne,Cn),ee){var hi=function(){fe.on(fn,Ur)},pi=function(){fe.off(fn,Ur)};Ht?(Hi(ne,Cn),Mi(fe,[nr,rr,ir,or].join(on)),pi()):(Mi(ne,Cn),Hi(fe,nr),Mt?Hi(fe,rr):At?Hi(fe,ir):Ct&&Hi(fe,or),pi(),hi())}if((W||Ke||Pr.c||Lr.c||Be)&&(qe?Be&&(Mi(ne,Tn),qe&&(ci(),fi())):ei?(Dr.x?ti():ci(),Dr.y?ni():fi()):Qr?(ti(),ni()):Gr&&(ci(),fi())),A||Be){var yi=function(e){M?e?br(ne,dn,kr):(br(ne,vn,Cr),br(ne,pn,Tr)):e?ne.on(dn,kr):ne.on(vn,Cr).on(pn,Tr),T||ne.one("mouseover",Cr)},wi=function(){M?(gr(ne,dn,kr),gr(ne,vn,Cr),gr(ne,pn,Tr)):ne.off(dn,kr).off(vn,Cr).off(pn,Tr)};St||gt?(wi(),yi(gt)):wi(),wt?ii(!0):ii(!1,!0)}if((e||Ar.c||wn||yn||ee||zt||pe||Be||yt)&&(oi(!0),ai(!0,h.l),oi(!1),ai(!1,h.t)),V&&si(!0,P),Y&&si(!1,X),E&&t){var bi=vi();if(bi){var zi=Ue===n||bi.rows!==Ue.rows,Ai=bi.cR,Ci=bi.cC,Ti=bi.w,ki=bi.r,Ei=bi.c,Li=bi.p,Pi=bi.m===Li&&pt,Di={x:he||Ci!==Ei||Ai!==Ti?-1:Re.x,y:(he?Pi||zi&&Rr!==n&&h.t===Rr.y:(Pi||zi)&&Ai===ki)?Re.y:-1},Ri=Di.x>-1,Ni=Di.y>-1;(Ri||Ni)&&(Ni&&se[un](Di.y),Ri&&(q&&nt&&m.i?se[ln](0):se[ln](Di.x)))}Ue=bi}else E||(q&&m.i&&y.y&&Lr.x&&nt&&(h.l+=Et.w||0),se[ln](h.l),se[un](h.t));yt&&li("onDirectionChanged",{isRTL:q,dir:vt}),e&&li("onHostSizeChanged",{width:me.w,height:me.h}),t&&li("onContentSizeChanged",{width:we.w,height:we.h}),(Lr.c||Pr.c)&&li("onOverflowChanged",{x:Lr.x,y:Lr.y,xScrollable:Pr.xs,yScrollable:Pr.ys,clipped:Pr.x||Pr.y}),Ar.c&&li("onOverflowAmountChanged",{x:Ar.x,y:Ar.y})}L&&(ge.c||st.c)&&(st.f||Xr(),y.y&&ge.x&&le.css(Xt+Kt,st.w+x.y),y.x&&ge.y&&le.css(Xt+Jt,st.h+x.x),st.c=!1),Wr(ie),Wr(re),li("onUpdated",{forced:o})}}function ei(e){Y=Wi(!0,{},Y,W.v(e,W.t,!0)),K=Wi(!0,{},K,W.v(e,W.t,!1,!0))}function ti(){he=r(mi(Kn+on+ar)),de=r(mi(Jn)),ve=r(mi(Gn)),pe=r(mi(Kn+on+sr)),ye=r(mi(Jn)),xe=r(mi(Gn)),he.append(de),de.append(ve),pe.append(ye),ye.append(xe),ae.after(pe),ae.after(he),z&&(he.on(wn,function(e){e.target===he[0]&&(oi(!0),ai(!0,se[ln]()))}),pe.on(wn,function(e){e.target===pe[0]&&(oi(!1),ai(!1,se[un]()))})),ni(!0),ni(!1),fe=r(mi(tr)),ne.append(fe)}function ni(e){var t,o,a,s=ci(e),c=G.top!==G,l=s.xy,u=s.XY,f=$t+s.LT,h="active",d=1,v=[16,17];function p(){d=.5}function y(){d=1}function x(e){r.inArray(e.keyCode,v)>-1&&p()}function w(e){r.inArray(e.keyCode,v)>-1&&y()}function g(e){var t=(e.originalEvent||e).touches!==n;return!(B||yi()||!et||t&&!Ot)&&(1===i.mBtn(e)||t)}function S(n){if(g(n)){var r=s.i.tl,a=s.i.hl,h=s.i.ms*(((b&&c?n["screen"+u]:i.page(n)[l])-o)/(r-a));h=isFinite(h)?h:0,q&&e&&!m.i&&(h*=-1),se[f](t+h),M||i.prvD(n)}else O(n)}function O(e){e=e||e.originalEvent,Mi(ee,cr),Mi(s.h,h),Mi(s.t,h),Mi(s.s,h),Z.off(dn,S).off(hn,O).off(yn,x).off(xn,w).off(mn,Br),y(),t=n,o=n,a!==n&&(Tt.scrollStop(),clearTimeout(a),a=n);var r=ne[0].getBoundingClientRect();e.clientX>=r.left&&e.clientX<=r.right&&e.clientY>=r.top&&e.clientY<=r.bottom||Tr(),(bt||gt)&&ii(!1)}function z(r){t=(t=se[f]())===n?0:t,(q&&e&&!m.n||!q)&&(t=t<0?0:t),o=b&&c?r["screen"+u]:i.page(r)[l],Hi(ee,cr),Hi(s.h,h),Hi(s.s,h),Z.on(dn,S).on(hn,O).on(mn,Br),!b&&P||i.prvD(r),i.stpP(r)}s.h.on(fn,function(e){g(e)&&z(e)}),s.t.on(fn,function(t){if(g(t)){var r,c,u=Dt[s._wh],v=s.t.offset()[s.lt],y=t.ctrlKey,b=t.shiftKey,S=b&&y,W=!0,H="linear",M=function(){if(!k){var i=o-v,h=s.i.tl,p=s.i.ho,y=s.i.hl,x=s.i.ms,w=270*d,g=W?Math.max(400,w):w,O=x*((i-y/2)/(h-y)),A=q&&e&&(!m.i&&!m.n||nt),C=A?p<i:p>i,T={};b?(O=isFinite(O)?O:0,q&&e&&!m.i&&(O=x-O),S?(T.n=!1,T[l]=O,Tt.scroll(T,130,H,function(){z(t)})):(se[f](O),z(t))):(r=W?C:r,c=A?r?p+y>=i:p<=i:r?p<=i:p+y>=i,T[l]=r?"-="+u:"+="+u,Tt.scrollStop(),Tt.scroll(T,w,H),c?(clearTimeout(a),Tt.scrollStop(),a=n):a=setTimeout(M,g),W=!1)}};y&&p(),o=i.page(t)[l],Hi(ee,cr),Hi(s.t,h),Hi(s.s,h),Z.on(hn,O).on(yn,x).on(xn,w).on(mn,Br),M(),i.prvD(t),i.stpP(t)}}).hover(function(){(bt||gt)&&(zt=!0,ii(!0))},function(){(bt||gt)&&(zt=!1,ii(!1))}),s.s.on(fn,function(e){i.stpP(e)})}function ri(e,t,n){var r=e?Wn:Hn,i=e?he:pe;t?Mi(ne,r):Hi(ne,r),n?Mi(i,$n):Hi(i,$n)}function ii(e,t){if(clearTimeout(yt),e)Mi(he,er),Mi(pe,er);else{var n="active",r=function(){if(!zt&&!k){var e=ve.hasClass(n)||xe.hasClass(n);!e&&(bt||gt||St)&&Hi(he,er),!e&&(bt||gt||St)&&Hi(pe,er)}};mt>0&&!0!==t?yt=setTimeout(r,mt):r()}}function oi(e){var t={},n=ci(e),r=1e6,i=Math.min(1,(me[n._wh]-(Ee?e?N:F:0))/we[n._wh]);t[n.wh]=Math.floor(100*i*r)/r+"%",yi()||n.h.css(t),n.i.hl=n.h[0]["offset"+n.WH],n.i.hlr=i}function ai(e,t){var n,r,i,o=q&&e,a={},s=ci(e),c="translate(",l="transform",u=se[0][$t+s.WH]-se[0]["client"+s.WH],f=s.i.hl,h=s.t[0]["offset"+s.WH],d=h-f;m.n&&o&&(u*=-1),i=t/u,i=isNaN(i)?0:Math.min(1,i),s.i.ms=u,s.i.cs=t,s.i.csr=i,d*=i,d=isNaN(d)?0:d,o&&!m.i&&(d=h-f-d),d=Math.max(0,d),H?(r=(r=o?-(h-f-d):d)/h*100*(h/f),n=e?c+r+"%, 0)":c+"0, "+r+"%)",a["-webkit-"+l]=n,a["-moz-"+l]=n,a["-ms-"+l]=n,a["-o-"+l]=n,a[l]=n):a[s.lt]=d,yi()||s.h.css(a),s.i.ho=d,s.i.tl=h}function si(e,t){var n=t?"removeClass":"addClass",r=e?ye:xe,i=e?Qn:Zn;(e?de:ve)[n](i),r[n](i)}function ci(e){return{wh:e?Kt:Jt,WH:e?"Width":"Height",lt:e?Vt:_t,LT:e?"Left":"Top",xy:e?tn:nn,XY:e?"X":"Y",_wh:e?"w":"h",_lt:e?"l":"t",t:e?de:ye,h:e?ve:xe,s:e?he:pe,i:e?Lt:Pt}}function li(e,t){if(T){var n,i=K.callbacks[e],o=e;"on"===o.substr(0,2)&&(o=o.substr(2,1).toLowerCase()+o.substr(3)),zi(i)==c.f&&i.call(Tt,t),r.each(ur,function(){zi((n=this).on)==c.f&&n.on(o,t)})}}function ui(e,t,r){r===n&&(r=[Gt,Gt,Gt,Gt]),e[t+_t]=r[0],e[t+qt]=r[1],e[t+Bt]=r[2],e[t+Vt]=r[3]}function fi(t){var n="ownerDocument",r="HTMLElement",i=t&&t[n]&&t[n].parentWindow||e;return typeof i[r]==c.o?t instanceof i[r]:t&&typeof t==c.o&&null!==t&&1===t.nodeType&&typeof t.nodeName==c.s}function hi(e,t){var n,r,i=[],o=[];for(n=0;n<e.length;n++)i[e[n]]=!0;for(n=0;n<t.length;n++)i[t[n]]?delete i[t[n]]:i[t[n]]=!0;for(r in i)o.push(r);return o}function di(t){var n=e.parseInt(t);return isNaN(n)?0:n}function vi(){var e=te[0].selectionStart;if(e!==n){var t,r,i="length",o=te.val(),a=o[i],s=o.split("\n"),c=s[i],l=o.substr(0,e).split("\n"),u=0,f=0,h=l[i],d=l[l[i]-1][i];for(r=0;r<s[i];r++)(t=s[r][i])>f&&(u=r+1,f=t);return{cR:h,cC:d,r:c,c:f,w:u,p:e,m:a}}}function pi(e){for(var t=0;t<yr.length;t++)if(e===yr[t])return!0;return!1}function yi(){return Ne&&y.x&&y.y}function xi(){return E?ue[0]:le[0]}function mi(e,t){return"<div "+(e?zi(e)==c.s?'class="'+e+'"':function(){var t,n="";if(r.isPlainObject(e))for(t in e)n+=("className"===t?"class":t)+'="'+e[t]+'" ';return n}():Gt)+">"+(t||Gt)+"</div>"}function wi(e,t){for(var n,r=t.split(rn),i=0;i<r.length;i++){if(!e.hasOwnProperty(r[i]))return;n=e[r[i]],i<r.length&&zi(n)==c.o&&(e=n)}return n}function bi(e,t,n){for(var i=t.split(rn),o=i.length,a=0,s={},c=s;a<o;a++)s=s[i[a]]=a+1<o?{}:n;r.extend(e,c,!0)}function gi(e,t,r){return!0===r?r:t===n||e!==t}function Si(e,t,r,i,o){if(!0===o)return o;if(i===n&&o===n){if(!0===r)return r;r=n}return r=r===n?"w":r,i=i===n?"h":i,t===n||(e[r]!==t[r]||e[i]!==t[i])}function Oi(e,t){return t===n||(e.t!==t.t||e.r!==t.r||e.b!==t.b||e.l!==t.l)}function zi(e){return r.type(e)}function Wi(){return r.extend.apply(this,arguments)}function Hi(e,t){return kt.addClass.call(e,t)}function Mi(e,t){return kt.removeClass.call(e,t)}function Ai(e){return kt.remove.call(e)}function Ci(e,t){return kt.find.call(e,t).eq(0)}function Ti(e,n,o){if(X=d.defaultOptions,g=d.nativeScrollbarStyling,O=Wi(!0,{},d.nativeScrollbarSize),y=Wi(!0,{},d.nativeScrollbarIsOverlaid),x=Wi(!0,{},d.overlayScrollbarDummySize),m=Wi(!0,{},d.rtlScrollBehavior),ei(Wi(!0,{},X,n)),y.x&&y.x&&!K.nativeScrollbarsOverlaid.initialize)return li("onInitializationWithdrawn"),!1;var a;if(S=d.cssCalc,b=d.msie,w=d.autoUpdateRecommended,z=d.supportTransition,H=d.supportTransform,M=d.supportPassiveEvents,A=d.supportResizeObserver,dt=d.supportMutationObserver,C=d.restrictedMeasuring,Z=r(e.ownerDocument),G=r(Z[0].defaultView||Z[0].parentWindow),$=Ci(Z,"html"),ee=Ci($,"body"),te=r(e),E=te.is("textarea"),L=te.is("body"),P=Z[0]!==t,L&&((a={}).l=Math.max(te[ln](),$[ln](),G[ln]()),a.t=Math.max(te[un](),$[un](),G[un]())),E){te.wrap(mi(zn)),Hi(te,Pn+on+Yn),ne=te.parent();var s={};K.sizeAutoCapable||(s[Kt]=te.css(Kt),s[Jt]=te.css(Jt)),ne.css(s).wrapInner(mi(jn+on+Yn)).wrapInner(mi(Nn+on+Yn)).wrapInner(mi(Rn+on+Yn)),le=Ci(ne,rn+jn),se=Ci(ne,rn+Nn),ae=Ci(ne,rn+Rn),ue=r(mi(Dn)),le.prepend(ue),te.on($t,jr).on("drop",Nr).on("focus",Fr).on("focusout",Ir),b>9||!w?te.on("input",Pr):te.on(yn,Dr).on(xn,Rr)}else Hi(te,On),(ne=te).wrapInner(mi(jn)).wrapInner(mi(Nn)).wrapInner(mi(Rn)),le=Ci(ne,rn+jn),se=Ci(ne,rn+Nn),ae=Ci(ne,rn+Rn),le.on(wn,function(e){!0!==Fe&&Gr((e=e.originalEvent||e).propertyName)&&$r(Zt)});if(ti(),M?br(se,$t,Er):se.on($t,Er),g&&Hi(se,y.x&&y.y?In:Fn),dt){var u,f,h,v,p,W,D=i.mO(),R=i.now();ut=new D(function(e){if(T&&!B){var t,n=!1;r.each(e,function(){if(u=(t=this).target,f=t.attributeName,n=f===l.c?Yr(t.oldValue,u.className):f!==l.s||t.oldValue!==u[l.s].cssText)return!1}),n&&Tt.update(Zt)}}),ft=new D(function(e){if(T&&!B){var t=!1;r.each(e,function(){return!(t=Kr(this))}),t&&(v=i.now(),p=ze||Oe,W=function(){k||(R=v,E&&Zr(),p?$r():Tt.update(Zt))},clearTimeout(h),pr<=0||v-R>pr||!p?W():h=setTimeout(W,pr))}})}return L&&(Hi($,Sn),se[ln](a.l),se[un](a.t)),ie=r(mi("os-resize-observer-host")),ne.prepend(ie),Sr(ie,Ar),Ar(),Tt.update(Zt),setTimeout(function(){z&&!k&&Hi(ne,Mn)},333),T=!0,li("onInitialized"),zi(o)==c.s&&(o=[o]),r.isArray(o)?r.each(o,function(){Tt.addExt(this)}):r.isPlainObject(o)&&r.each(o,function(e,t){Tt.addExt(e,t)}),T}}return e[s]=function(t,i,c){if(0===arguments.length)return this;H();var l,f,h=[];return r.isPlainObject(i)?t&&t.length?(r.each(t,function(){(l=this)!==n&&h.push(C(l,i,c,a,u))}),f=h.length>1?h:h[0]):f=C(t,i,c,a,u):t&&(t.length&&t.length>0?(r.each(t,function(){l=o(this),"!"===i?l instanceof e[s]&&h.push(l):h.push(l)}),f=h.length>1?h:h[0]):f=o(t)),f},e[s].globals=function(){H();var e=r.extend(!0,{},a);return delete e.msie,e},e[s].defaultOptions=function(e){H();var t=a.defaultOptions;if(e===n)return r.extend(!0,{},t);a.defaultOptions=r.extend(!0,{},t,W.v(e,W.t,!0))},e[s].extension=function(e,t,n){var i=r.type(e)==c.s,o=arguments[l.l],a=0;if(o<1||!i)return r.extend(!0,{length:z[l.l]},z);if(i)if(r.type(t)==c.f)z.push({name:e,extension:t,defaultOptions:n});else for(;a<z[l.l];a++)if(z[a].name===e){if(!(o>1))return r.extend(!0,{},z[a]);z.splice(a,1)}},e[s]}(r,u,(i=u,o=[],a="__overlayScrollbars__",function(e,t){var n=arguments[l.l];if(n<1)return o;if(t)e[a]=t,o.push(e);else{var r=i.inA(e,o);if(r>-1){if(!(n>1))return o[r][a];delete e[a],o.splice(r,1)}}}));return f&&f.fn&&(f.fn.overlayScrollbars=function(e,t){var n=this;return f.isPlainObject(e)?(f.each(n,function(){h(this,e,t)}),n):h(n,e)}),h});
!function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(e,e.document,undefined,n)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(e,e.document,undefined,require("jquery")):t(e,e.document,undefined,e.jQuery)}("undefined"!=typeof window?window:this,function(e,t,n,r){"use strict";var i,o,a="OverlayScrollbars",s={o:"object",f:"function",a:"array",s:"string",b:"boolean",n:"number",u:"undefined",z:"null"},c={c:"class",s:"style",i:"id",l:"length",p:"prototype",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth"},l={wW:function(){return e.innerWidth||t.documentElement[c.cW]||t.body[c.cW]},wH:function(){return e.innerHeight||t.documentElement[c.cH]||t.body[c.cH]},mO:function(){return e.MutationObserver||e.WebKitMutationObserver||e.WebkitMutationObserver||e.MozMutationObserver||n},rO:function(){return e.ResizeObserver||e.WebKitResizeObserver||e.WebkitResizeObserver||e.MozResizeObserver||n},rAF:function(){return e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)}},cAF:function(){return e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||e.msCancelAnimationFrame||function(t){return e.clearTimeout(t)}},now:function(){return Date.now()||(new Date).getTime()},stpP:function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},prvD:function(e){e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1},page:function(e){var r="page",i="client",o="X",a="Y",s=((e=e.originalEvent||e).target||e.srcElement||t).ownerDocument||t,c=s.documentElement,l=s.body;if(e.touches!==n){var u=e.touches[0];return{x:u[r+o],y:u[r+a]}}return!e[r+o]&&e[i+o]&&null!=e[i+o]?{x:e[i+o]+(c&&c.scrollLeft||l&&l.scrollLeft||0)-(c&&c.clientLeft||l&&l.clientLeft||0),y:e[i+a]+(c&&c.scrollTop||l&&l.scrollTop||0)-(c&&c.clientTop||l&&l.clientTop||0)}:{x:e[r+o],y:e[r+a]}},mBtn:function(e){return e.which||e.button===n?e.which:1&e.button?1:2&e.button?3:4&e.button?2:0},inA:function(e,t){for(var n=0;n<t[c.l];n++)try{if(t[n]===e)return n}catch(r){}return-1},isA:function(e){var t=Array.isArray;return t?t(e):this.type(e)==s.a},type:function(e){return e===n?e+"":null===e?e+"":Object[c.p].toString.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},bind:function(e,t){if(typeof e!=s.f)throw"Can't bind function!";var n=c.p,r=Array[n].slice.call(arguments,2),i=function(){},o=function(){return e.apply(this instanceof i?this:t,r.concat(Array[n].slice.call(arguments)))};return e[n]&&(i[n]=e[n]),o[n]=new i,o}},u=r,f=(r.easing,r),h=(i=[],o="__overlayScrollbars__",function(e,t){var n=arguments[c.l];if(n<1)return i;if(t)e[o]=t,i.push(e);else{var r=l.inA(e,i);if(r>-1){if(!(n>1))return i[r][o];delete e[o],i.splice(r,1)}}}),d=function(){var r,i,o,d,v,p,y,x,m,w,b,g,S,O,z=[],A=(o=[s.b,s.n,s.s,s.a,s.o,s.f,s.z],d=" ",v=":",p=[s.z,s.s],y=s.n,x=[s.z,s.b],m=[!0,s.b],w=[!1,s.b],b=[null,[s.z,s.f]],S={className:["os-theme-dark",p],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:m,clipAlways:m,normalizeRTL:m,paddingAbsolute:w,autoUpdate:[null,x],autoUpdateInterval:[33,y],nativeScrollbarsOverlaid:{showNativeScrollbars:w,initialize:m},overflowBehavior:{x:["scroll",g="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll",g]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,y],dragScrolling:m,clickScrolling:w,touchSupport:m},textarea:{dynWidth:w,dynHeight:w},callbacks:{onInitialized:b,onInitializationWithdrawn:b,onDestroyed:b,onScrollStart:b,onScroll:b,onScrollStop:b,onOverflowChanged:b,onOverflowAmountChanged:b,onDirectionChanged:b,onContentSizeChanged:b,onHostSizeChanged:b,onUpdated:b}},{d:(O=function(e){var t=function(n){var r,i,o;for(r in n)n.hasOwnProperty(r)&&(i=n[r],(o=l.type(i))==s.a?n[r]=i[e?1:0]:o==s.o&&(n[r]=t(i)));return n};return t(f.extend(!0,{},S))})(),t:O(!0),v:function(e,t,n,r,i){var a={},c=f.extend(!0,{},e),u=function(e,t,i,a){for(var c in t)if(t.hasOwnProperty(c)&&e.hasOwnProperty(c)){var h,p,y,x,m,w,b,g,S=!1,O=t[c],z=l.type(O),A=l.type(O)!=s.a?[O]:O,M=e[c],W=l.type(M),H=a?a+".":"",C='The option "'+H+c+"\" wasn't set, because",T=[],k=[];if(z==s.o)i[c]={},u(M,O,i[c],H+c),f.isEmptyObject(M)&&delete e[c];else{for(w=0;w<A.length;w++)if(m=A[w],y=(z=l.type(m))==s.s&&-1===f.inArray(m,o))for(T.push(s.s),h=m.split(d),k=k.concat(h),b=0;b<h.length;b++){for(x=(p=h[b].split(v))[0],g=0;g<p.length;g++)if(M===p[g]){S=!0;break}if(S)break}else if(T.push(m),W===m){S=!0;break}S?i[c]=y&&r?x:M:n&&console.warn(C+" it doesn't accept the type [ "+W.toUpperCase()+' ] with the value of "'+M+'".\r\nAccepted types are: [ '+T.join(", ").toUpperCase()+" ]."+(k.length>0?"\r\nValid strings are: [ "+k.join(", ").split(v).join(", ")+" ].":"")),delete e[c]}}};return u(c,t,a),i?f.extend(!0,a,c):!f.isEmptyObject(c)&&n&&console.warn("The following options are discarded due to invalidity:\r\n"+JSON.stringify(c,null,2)),a}});function M(){r||(r=new W(A.d)),i||(i=new H(r))}function W(r){var i=this,o="overflow",a="hidden",s="scroll",u=f("body"),d=f('<div id="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>'),v=d[0],p=f(d.children("div").eq(0));u.append(d),d.hide().show();var y,x,m,w,b,g,S,O,z,A=H(v),M={x:0===A.x,y:0===A.y};function W(e){var r=!1,i="Webkit Moz ms O".split(" "),o=t.createElement("div"),a=null,s=0;if(e=e.toLowerCase(),o[c.s][e]!==n&&(r=!0),!r)for(a=e.charAt(0).toUpperCase()+e.substr(1);s<i.length;s++)if(o[c.s][i[s]+a]!==n){r=!0;break}return r}function H(e){return{x:e[c.oH]-e[c.cH],y:e[c.oW]-e[c.cW]}}f.extend(i,{defaultOptions:r,autoUpdateLoop:!1,autoUpdateRecommended:!l.mO(),nativeScrollbarSize:A,nativeScrollbarIsOverlaid:M,nativeScrollbarStyling:(d.addClass("os-viewport-native-scrollbars-invisible"),d.css(o,a).hide().css(o,s).show(),v[c.oH]-v[c.cH]==0&&v[c.oW]-v[c.cW]==0),overlayScrollbarDummySize:{x:30,y:30},msie:(x=e.navigator.userAgent,m="indexOf",w="substring",b=x[m]("MSIE "),g=x[m]("Trident/"),S=x[m]("Edge/"),O=x[m]("rv:"),z=e.parseInt,b>0?y=z(x[w](b+5,x[m](".",b)),10):g>0?y=z(x[w](O+3,x[m](".",O)),10):S>0&&(y=z(x[w](S+5,x[m](".",S)),10)),y),cssCalc:function(){var e,n,r=t.createElement("div"),i=["calc","-webkit-calc","-moz-calc","-o-calc"];for(e=0;e<i.length;++e)if(n=i[e],r[c.s].cssText="width:"+n+"(1px);",r[c.s].length)return n;return null}(),restrictedMeasuring:function(){d.css(o,a);var e={w:v[c.sW],h:v[c.sH]};d.css(o,"visible");var t={w:v[c.sW],h:v[c.sH]};return e.w-t.w!=0||e.h-t.h!=0}(),rtlScrollBehavior:function(){d.css({"overflow-y":a,"overflow-x":s,direction:"rtl"}).scrollLeft(0);var e=d.offset(),t=p.offset();d.scrollLeft(999);var n=p.offset();return{i:e.left===t.left,n:t.left-n.left==0}}(),supportTransform:W("transform"),supportTransition:W("transition"),supportPassiveEvents:function(){var t=!1;try{e.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){t=!0}}))}catch(n){}return t}(),supportResizeObserver:!!l.rO(),supportMutationObserver:!!l.mO()}),d.removeAttr(c.s).remove(),function(){if(!M.x||!M.y){var t=Math.abs,n=l.wW(),r=l.wH(),o=c(),a=function(){if(h().length>0){var e=l.wW(),a=l.wH(),v=e-n,p=a-r;if(0===v&&0===p)return;var y,x=Math.round(e/(n/100)),m=Math.round(a/(r/100)),w=t(v),b=t(p),g=t(x),S=t(m),O=c(),z=w>2&&b>2,A=!s(g,S),M=z&&A&&(O!==o&&o>0),W=i.nativeScrollbarSize;M&&(u.append(d),y=i.nativeScrollbarSize=H(d[0]),d.remove(),W.x===y.x&&W.y===y.y||f.each(h(),function(){h(this)&&h(this).update("zoom")})),n=e,r=a,o=O}};f(e).on("resize",a)}function s(e,n){var r=t(e),i=t(n);return!(r===i||r+1===i||r-1===i)}function c(){var t=e.screen.deviceXDPI||0,n=e.screen.logicalXDPI||1;return e.devicePixelRatio||t/n}}()}function H(e){var t,r=this,i="autoUpdate",o=i+"Interval",a=c.l,s=[],u=[],h=!1,d=33,v=d,p=l.now(),y=function(){if(s[a]>0&&h){t=l.rAF()(function(){y()});var e=l.now(),r=e-p;if(r>v){p=e-r%v;for(var c=d,f=0;f<s[a];f++){var x=s[f];if(x!==n){var m=x.options(),w=m[i],b=Math.max(1,m[o]),g=l.now();(!0===w||null===w)&&g-u[f]>b&&(x.update("auto"),u[f]=new Date(g+=b)),c=Math.max(1,Math.min(c,b))}}v=c}}else v=d};r.add=function(t){-1===f.inArray(t,s)&&(s.push(t),u.push(l.now()),s[a]>0&&!h&&(h=!0,e.autoUpdateLoop=h,y()))},r.remove=function(r){var i=f.inArray(r,s);i>-1&&(u.splice(i,1),s.splice(i,1),0===s[a]&&h&&(h=!1,e.autoUpdateLoop=h,t!==n&&(l.cAF()(t),t=-1)))}}function C(r,i,o,d,v){if(fi(r)){if(h(r)){var p=h(r);return p.options(i),p}var y,x,m,w,b,g,S,O,z,M,W,H,C,T,k,E,L,P,D,R,j,N,F,I,U,_,B,q,V,X,Y,K,$,J,Q,G,Z,ee,te,ne,re,ie,oe,ae,se,ce,le,ue,fe,he,de,ve,pe,ye,xe,me,we,be,ge,Se,Oe,ze,Ae,Me,We,He,Ce,Te,ke,Ee,Le,Pe,De,Re,je,Ne,Fe,Ie,Ue,_e,Be,qe,Ve,Xe,Ye,Ke,$e,Je,Qe,Ge,Ze,et,tt,nt,rt,it,ot,at,st,ct,lt,ut,ft,ht,dt,vt,pt,yt,xt,mt,wt,bt,gt,St,Ot,zt,At,Mt,Wt,Ht,Ct,Tt=new e[a],kt=f[c.p],Et={},Lt={},Pt={},Dt={},Rt={},jt=175,Nt="-hidden",Ft="margin-",It="padding-",Ut="border-",_t="top",Bt="right",qt="bottom",Vt="left",Xt="min-",Yt="max-",Kt="width",$t="height",Jt="float",Qt="",Gt="auto",Zt="scroll",en="100%",tn="x",nn="y",rn=".",on=" ",an="scrollbar",sn="-horizontal",cn="-vertical",ln=Zt+"Left",un=Zt+"Top",fn="mousedown touchstart",hn="mouseup touchend touchcancel",dn="mousemove touchmove",vn="mouseenter",pn="mouseleave",yn="keydown",xn="keyup",mn="selectstart",wn="transitionend webkitTransitionEnd oTransitionEnd",bn="__overlayScrollbarsRO__",gn="os-",Sn=gn+"html",On=gn+"host",zn=On+"-textarea",An=On+"-"+an+sn+Nt,Mn=On+"-"+an+cn+Nt,Wn=On+"-transition",Hn=On+"-rtl",Cn=On+"-resize-disabled",Tn=On+"-scrolling",kn=On+"-overflow",En=kn+"-x",Ln=kn+"-y",Pn=gn+"textarea",Dn=Pn+"-cover",Rn=gn+"padding",jn=gn+"viewport",Nn=jn+"-native-scrollbars-invisible",Fn=jn+"-native-scrollbars-overlaid",In=gn+"content",Un=gn+"content-arrange",_n=gn+"content-glue",Bn=gn+"size-auto-observer",qn=gn+"resize-observer",Vn=gn+"resize-observer-item",Xn=Vn+"-final",Yn=gn+"text-inherit",Kn=gn+an,$n=Kn+"-track",Jn=$n+"-off",Qn=Kn+"-handle",Gn=Qn+"-off",Zn=Kn+"-unusable",er=Kn+"-"+Gt+Nt,tr=Kn+"-corner",nr=tr+"-resize",rr=nr+"-both",ir=nr+sn,or=nr+cn,ar=Kn+sn,sr=Kn+cn,cr=gn+"dragging",lr=gn+"theme-none",ur={},fr="added removed on contract",hr={},dr=42,vr=[],pr=11,yr=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],xr=[],mr={},wr={};if(Tt.sleep=function(){q=!0},Tt.update=function(e){var t,n,r=zi(e)==s.s,i="img",o="load";r?0===e.indexOf(Gt)?(t=Jr(),n=$r(),(t||n)&&Zr(!1,n,!1,"+"==e.slice(-1))):"zoom"===e&&Zr(!0,!0):(e=q||e,q=!1,Zr(!1,!1,e,!0)),E||le.find(i).each(function(e,t){-1===l.inA(t,vr)&&f(t).off(o,Vr).on(o,Vr)})},Tt.options=function(e,t){if(f.isEmptyObject(e)||!f.isPlainObject(e)){if(zi(e)==s.s){if(arguments.length>=2){var n={};return bi(n,e,t),ei(n),void Zr()}return wi(Y,e)}return Y}ei(e);var r=q||!1;q=!1,Zr(),q=r},Tt.destroy=function(){for(var e in k=!0,v.remove(Tt),Wr(),Or(ie),R&&Or(re),ur)Tt.removeExt(e);Hi(ie),oe!==n&&Hi(oe),ce!==n&&Hi(ce),R&&Hi(re),W?(gr(ne,dn,kr),gr(ne,vn,Cr),gr(ne,pn,Tr)):ne.off(dn,kr).off(vn,Cr).off(pn,Tr),Hi(he),Hi(pe),fe&&Hi(fe),Mt||Br(),le.contents().unwrap().unwrap().unwrap(),L&&Wi(Z,Sn),E?(te.off(Zt,Ir).off("drop",jr).off("focus",Nr).off("focusout",Fr),b>9||!w?te.off("input",Pr):te.off(yn,Dr).off(xn,Rr),Hi(ue),Wi(te,Pn+on+Yn).unwrap().removeAttr(c.s),Hi(ne)):(Wi(te,On),Wi(ne,[On,Cn,Hn,An,Mn,Wn,Tn,kn,En,Ln,lr,rt].join(on)));for(var t=0;t<vr.length;t++)f(vr[t]).off("load",Vr);for(var i in vr=n,h(r,0),li("onDestroyed"),Tt)delete Tt[i];Tt=n},Tt.scroll=function(t,r,i,o){if(0===arguments.length||t===n){var a=Lt,l=Pt,h=nt&&B&&m.i,d=nt&&B&&m.n,v=a.cs,p=a.csr,y=a.ms;return v=h?y-v:v,{x:{position:v*=d?-1:1,ratio:p=h?1-p:p,max:y*=d?-1:1,handleOffset:a.ho,handleLength:a.hl,handleLengthRatio:a.hlr,trackLength:a.tl,isRTL:B,isRTLNormalized:nt},y:{position:l.cs,ratio:l.csr,max:l.ms,handleOffset:l.ho,handleLength:l.hl,handleLengthRatio:l.hlr,trackLength:l.tl}}}var x,w,b,g,S,O,z,A,W,H=nt,C=[tn,Vt,"l"],T=[nn,_t,"t"],k=["+=","-=","*=","/="],E={},L=zi(r)==s.o,P="end",D="begin",R="center",j="nearest",N="always",F="never",I="ifneeded",U=c.l,_=[tn,nn,"xy","yx"],q=[D,P,R,j],V=[N,F,I],X=t.hasOwnProperty("el"),Y=X?t.el:t,K=!!(Y instanceof f||u)&&Y instanceof u,$=!K&&fi(Y),J=function(e,t){for(x=0;x<t[U];x++)if(e===t[x])return!0;return!1},Q=function(e){var t={};if(zi(e)==s.a&&e[U]>0)t.x=e[0],t.y=e[1];else if(zi(e)==s.s||zi(e)==s.n)t.x=e,t.y=e;else if(zi(e)==s.o){for(var n in H=zi(e.n)==s.b?e.n:H,e=Ai({},e),x=0,e)e.hasOwnProperty(n)&&(x>2&&delete e[n],x++);var r=function(t){var n=t?C:T;for(x=0;x<n[U];x++)if(n[x]in e)return e[n[x]]};t.x=r(!0),t.y=r(!1)}return t},G=function(t,r){var i,o,a=zi(r)==s.s;a&&Tt.update(Gt+"+");var c,l=t?Lt:Pt,u=l.cs,f=l.ms,h=" * ",d=B&&t,v=d&&m.n&&!H,p="replace";if(a){if(r[U]>2){var y=r.substr(0,2);for(x=0;x<k[U];x++)if(y===k[x]){i=k[x];break}}r=(r=(r=(r=(r=(r=(r=(r=(r=i!==n?r.substr(2):r)[p](/min/g,0))[p](/</g,0))[p](/max/g,(v?"-":Qt)+en))[p](/>/g,(v?"-":Qt)+en))[p](/px/g,Qt))[p](/%/g,h+f*(d&&m.n?-1:1)/100))[p](/vw/g,h+Dt.w))[p](/vh/g,h+Dt.h),o=di(di(e.eval(r),!0).toFixed())}else o=r;if(o!==n&&!isNaN(o)&&zi(o)==s.n){var w=H&&d,b=u*(w&&m.n?-1:1),g=w&&m.i,S=w&&m.n;switch(b=g?f-b:b,i){case"+=":c=b+o;break;case"-=":c=b-o;break;case"*=":c=b*o;break;case"/=":c=b/o;break;default:c=o}c=g?f-c:c,c*=S?-1:1,c=d&&m.n?Math.min(0,Math.max(f,c)):Math.max(0,Math.min(f,c))}return c===u?n:c},Z=function(e,t,n,r){var i,o,a=[n,n],c=zi(e);if(c==t)e=[e,e];else if(c==s.a){if((i=e[U])>2||i<1)e=a;else for(1===i&&(e[1]=n),x=0;x<i;x++)if(zi(o=e[x])!=t||!J(o,r)){e=a;break}}else e=c==s.o?[e[tn]||n,e[nn]||n]:a;return{x:e[0],y:e[1]}},ee=function(e){var t,n,r=[],i=[_t,Bt,qt,Vt];for(x=0;x<e[U]&&x!==i[U];x++)(n=zi(t=e[x]))==s.b?r.push(t?di(W.css(Ft+i[x])):0):r.push(n==s.n?t:0);return r};if(K||$){var te,ne=X?t.margin:0,re=X?t.axis:0,ie=X?t.scroll:0,oe=X?t.block:0,ce=[0,0,0,0],le=zi(ne);if(0===(W=K?Y:f(Y))[U])return;Tt.update(Gt+"+"),ne=le==s.n||le==s.b?ee([ne,ne,ne,ne]):le==s.a?2===(te=ne[U])?ee([ne[0],ne[1],ne[0],ne[1]]):te>=4?ee(ne):ce:le==s.o?ee([ne[_t],ne[Bt],ne[qt],ne[Vt]]):ce,S=J(re,_)?re:"xy",O=Z(ie,s.s,N,V),z=Z(oe,s.s,D,q),A=ne;var ue={l:Lt.cs,t:Pt.cs},fe=ae.offset(),he=W.offset(),de={x:O.x==F||S==nn,y:O.y==F||S==tn};he[_t]-=A[0],he[Vt]-=A[3];var ve={x:Math.round(he[Vt]-fe[Vt]+ue.l),y:Math.round(he[_t]-fe[_t]+ue.t)};if(B&&(m.n||m.i||(ve.x=Math.round(fe[Vt]-he[Vt]+ue.l)),m.n&&H&&(ve.x*=-1),m.i&&H&&(ve.x=Math.round(fe[Vt]-he[Vt]+(Lt.ms-ue.l)))),z.x!=D||z.y!=D||O.x==I||O.y==I||B){var pe=W[0],ye=M?pe.getBoundingClientRect():{width:pe[c.oW],height:pe[c.oH]},xe={w:ye[Kt]+A[3]+A[1],h:ye[$t]+A[0]+A[2]},me=function(e){var t=ci(e),n=t._wh,r=t.lt,i=t.xy,o=z[i]==(e&&B?D:P),a=z[i]==R,s=z[i]==j,c=O[i]==F,l=O[i]==I,u=Dt[n],f=fe[r],h=xe[n],d=he[r],v=a?2:1,p=d+h/2,y=f+u/2,x=h<=u&&d>=f&&d+h<=f+u;c?de[i]=!0:de[i]||((s||l)&&(de[i]=!!l&&x,o=h<u?p>y:p<y),ve[i]-=o||a?(u/v-h/v)*(e&&B&&H?-1:1):0)};me(!0),me(!1)}de.y&&delete ve.y,de.x&&delete ve.x,t=ve}if(E[ln]=G(!0,Q(t).x),E[un]=G(!1,Q(t).y),w=E[ln]!==n,b=E[un]!==n,(w||b)&&(r>0||L))if(L)se.animate(E,r);else{if(g={duration:r,complete:o},zi(i)==s.a){var we={};we[ln]=i[0],we[un]=i[1],g.specialEasing=we}else g.easing=i;se.animate(E,g)}else w&&se[ln](E[ln]),b&&se[un](E[un])},Tt.scrollStop=function(e,t,n){return se.stop(e,t,n),Tt},Tt.getElements=function(e){var t={target:te[0],host:ne[0],padding:ae[0],viewport:se[0],content:le[0],scrollbarHorizontal:{scrollbar:he[0],track:de[0],handle:ve[0]},scrollbarVertical:{scrollbar:pe[0],track:ye[0],handle:xe[0]},scrollbarCorner:fe[0]};return zi(e)==s.s?wi(t,e):t},Tt.getState=function(e){var t=function(e){if(!f.isPlainObject(e))return e;var t=Ai(!0,{},e),n=function(e,n){t.hasOwnProperty(e)&&(t[n]=t[e],delete t[e])};return n("w",Kt),n("h",$t),delete t.c,t},n={sleeping:t(q)||!1,autoUpdate:t(!ht),widthAuto:t(Oe),heightAuto:t(ze),padding:t(We),overflowAmount:t(Re),hideOverflow:t(Se),hasOverflow:t(ge),contentScrollSize:t(we),viewportSize:t(Dt),hostSize:t(me),documentMixed:t(P)};return zi(e)==s.s?wi(n,e):n},Tt.ext=function(e){var t,n=fr.split(" "),r=0;if(zi(e)==s.s){if(ur.hasOwnProperty(e))for(t=Ai(!0,{},ur[e]);r<n.length;r++)delete t[n[r]]}else for(r in t={},ur)t[r]=Ai(!0,{},Tt.ext(r));return t},Tt.addExt=function(t,n){var r,i,o,c,u=e[a].extension(t),h=!0;if(u){if(ur.hasOwnProperty(t))return Tt.ext(t);if((r=u.extension.call(Tt,Ai(!0,{},u.defaultOptions),f,l))&&(zi(o=r.contract)==s.f&&(h=zi(c=o(e))==s.b?c:h),h))return ur[t]=r,zi(i=r.added)==s.f&&i(n),Tt.ext(t)}else console.warn('A extension with the name "'+t+"\" isn't registered.")},Tt.removeExt=function(e){var t,n=ur[e];return!!n&&(delete ur[e],zi(t=n.removed)==s.f&&t(),!0)},Ti(r,i,o))return h(r,Tt),Tt;Tt=n}function br(e,t,n){for(var r=t.split(on),i=0;i<r.length;i++)e[0].addEventListener(r[i],n,{passive:!0})}function gr(e,t,n){for(var r=t.split(on),i=0;i<r.length;i++)e[0].removeEventListener(r[i],n,{passive:!0})}function Sr(e,t){var r=3333333,i=l.rO(),o="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart",a="childNodes",u=function(){e[un](r)[ln](B?m.n?-r:m.i?0:r:r),t()};if(H){var h=e.append(mi(qn+" observed")).contents()[0];(h[bn]=new i(u)).observe(h)}else if(b>9||!w){e.prepend(mi(qn,mi({className:Vn,dir:"ltr"},mi(Vn,mi(Xn))+mi(Vn,mi({className:Xn,style:"width: 200%; height: 200%"})))));var v,p,y,x,g=e[0][a][0][a][0],S=f(g[a][1]),O=f(g[a][0]),z=f(O[0][a][0]),A=g[c.oW],M=g[c.oH],W=2,C=d.nativeScrollbarSize,T=function(){O[ln](r)[un](r),S[ln](r)[un](r)},k=function(){p=0,v&&(A=y,M=x,u())},E=function(e){return y=g[c.oW],x=g[c.oH],v=y!=A||x!=M,e&&v&&!p?(l.cAF()(p),p=l.rAF()(k)):e||k(),T(),e&&(l.prvD(e),l.stpP(e)),!1},L={},P={};P[_t]=-(C.y+1)*W,P[Bt]=C.x*-W,P[qt]=C.y*-W,P[Vt]=-(C.x+1)*W,f(g).css(P),O.on(Zt,E),S.on(Zt,E),e.on(o,function(){E(!1)}),L[Kt]=r,L[$t]=r,z.css(L),T()}else{var D=G[0],R=D.attachEvent,j=b!==n;if(R)e.prepend(mi(qn)),Ci(e,rn+qn)[0].attachEvent("onresize",u);else{var N=D.createElement(s.o);N.setAttribute("tabindex","-1"),N.setAttribute(c.c,qn),N.onload=function(){var e=this.contentDocument.defaultView;e.addEventListener("resize",u),e.document.documentElement.style.display="none"},N.type="text/html",j&&e.prepend(N),N.data="about:blank",j||e.prepend(N),e.on(o,u)}}if(e[0]===ie[0]){var F=function(){var t=ne.css("direction"),n={},i=0,o=!1;return t!==ke&&("ltr"===t?(n[Vt]=0,n[Bt]=Gt,i=r):(n[Vt]=Gt,n[Bt]=0,i=m.n?-r:m.i?0:r),ie.children().eq(0).css(n),e[ln](i)[un](r),ke=t,o=!0),o};F(),e.on(Zt,function(e){return F()&&Zr(),l.prvD(e),l.stpP(e),!1})}}function Or(e){if(H){var t=e.contents()[0];t[bn].disconnect(),delete t[bn]}else Hi(e.children(rn+qn).eq(0))}function zr(e){}function Ar(e){}function Mr(){dt&&!ht&&(ut.observe(ne[0],{attributes:!0,attributeOldValue:!0,attributeFilter:[c.i,c.c,c.s]}),ft.observe(E?te[0]:le[0],{attributes:!0,attributeOldValue:!0,subtree:!E,childList:!E,characterData:!E,attributeFilter:E?["wrap","cols","rows"]:[c.i,c.c,c.s]}),ht=!0)}function Wr(){dt&&ht&&(ut.disconnect(),ft.disconnect(),ht=!1)}function Hr(){if(!q){var e=ie[0],t={w:e[c.sW],h:e[c.sH]};if(T){var n=Si(t,Je);Je=t,n&&Zr(!0,!1)}else Je=t}}function Cr(){St&&ii(!0)}function Tr(){St&&!ee.hasClass(cr)&&ii(!1)}function kr(){gt&&(ii(!0),clearTimeout(xt),xt=setTimeout(function(){gt&&!k&&ii(!1)},100))}function Er(e){q||(V!==n?clearTimeout(V):((bt||gt)&&ii(!0),yi()||Mi(ne,Tn),li("onScrollStart",e)),ai(!0,se[ln]()),ai(!1,se[un]()),li("onScroll",e),V=setTimeout(function(){k||(Lr(),li("onScrollStop",e))},jt))}function Lr(){clearTimeout(V),V=n,(bt||gt)&&ii(!1),yi()||Wi(ne,Tn)}function Pr(){Gr(),Tt.update(Gt)}function Dr(e){var t=e.keyCode;if(!pi(t)){if(0===xr.length){var n=function(){Gr(),Tt.update(Gt)};n(),vt=setInterval(n,1e3/60)}-1===f.inArray(t,xr)&&xr.push(t)}}function Rr(e){var t=e.keyCode;if(!pi(t)){var n=f.inArray(t,xr);n>-1&&xr.splice(n,1),0===xr.length&&(Gr(),Tt.update(Gt),clearInterval(vt))}}function jr(){setTimeout(function(){k||(Gr(),Tt.update(Gt))},50)}function Nr(){pt=!0}function Fr(){pt=!1,clearInterval(vt),xr=[],Gr(),Tt.update(Gt)}function Ir(e){return te[ln](m.i&&nt?9999999:0),te[un](0),l.prvD(e),l.stpP(e),!1}function Ur(e){if(!q){var t=(e.originalEvent||e).touches!==n;(1===l.mBtn(e)||t)&&(ht&&(At=!0,Wr()),mr=l.page(e),wr.w=ne[0][c.oW]-(D?0:j),wr.h=ne[0][c.oH]-(D?0:N),G.on(mn,qr).on(dn,_r).on(hn,Br),Mi(ee,cr),fe.setCapture&&fe.setCapture(),l.prvD(e),l.stpP(e))}}function _r(e){var t=l.page(e),n={};(Ht||Wt)&&(n[Kt]=wr.w+t.x-mr.x),(Ct||Wt)&&(n[$t]=wr.h+t.y-mr.y),ne.css(n),l.stpP(e)}function Br(e){var t=e!==n;G.off(mn,qr).off(dn,_r).off(hn,Br),Wi(ee,cr),fe.releaseCapture&&fe.releaseCapture(),t&&(At&&Mr(),Tt.update(Gt)),At=!1}function qr(e){return l.prvD(e),!1}function Vr(){Zr()}function Xr(){var e={};return L&&ce&&(e.w=di(ce.css(Xt+Kt)),e.h=di(ce.css(Xt+$t)),e.c=Si(e,st),e.f=!0),st=e,e.c||!1}function Yr(e,t){var r=t!==n&&null!==t?t.split(on):Qt,i=e!==n&&null!==e?e.split(on):Qt;if(r===Qt&&i===Qt)return!1;var o,a,s,c,l=hi(i,r),u=!1,h=it!==n&&null!==it?it.split(on):[Qt],d=rt!==n&&null!==rt?rt.split(on):[Qt],v=f.inArray(lr,l),p=l[o];for(v>-1&&l.splice(v,1),o=0;o<l.length;o++)if(0!==(p=l[o]).indexOf(On)){for(s=!0,c=!0,a=0;a<h.length;a++)if(p===h[a]){s=!1;break}for(a=0;a<d.length;a++)if(p===d[a]){c=!1;break}if(s&&c){u=!0;break}}return u}function Kr(e){var t=e.attributeName,n=e.target,r=e.type,i="closest";if(n===le[0])return null===t;if("attributes"===r&&(t===c.c||t===c.s)&&!E){if(typeof n[i]!=s.f)return!0;if(null!==n[i](rn+qn)||null!==n[i](rn+Kn)||null!==n[i](rn+tr))return!1}return!0}function $r(){if(q)return!1;var e,t=E&&Oe&&!Ie?te.val().length:0,n=!ht&&Oe&&!E,r={},i={};C&&(r={x:se[0][c.sW],y:se[0][c.sH]}),n&&(e=le.css(Jt),i[Jt]=B?Bt:Vt,i[Kt]=Gt,le.css(i));var o={w:xi()[c.sW]+t,h:xi()[c.sH]+t};n&&(i[Jt]=e,i[Kt]=en,le.css(i));var a=Xr(),s=Si(o,$e),l=Si(r,ct,tn,nn);return $e=o,ct=r,s||a||l}function Jr(){if(q||ht)return!1;var e=ne.attr(c.i)||Qt,t=gi(e,_e),n=ne.attr(c.c)||Qt,r=gi(n,Be),i=ne.attr(c.s)||Qt,o=gi(i,qe),a=ne.is(":visible")||Qt,s=gi(a,Ve),l=E&&te.attr("rows")||Qt,u=gi(l,Xe),f=E&&te.attr("cols")||Qt,h=gi(f,Ye),d=E&&te.attr("wrap")||Qt,v=gi(d,Ke);return _e=e,r&&(r=Yr(Be,n)),Be=n,qe=i,Ve=a,Xe=l,Ye=f,Ke=d,t||r||o||s||u||h||v}function Qr(e){if(!T)return!0;var t="flex-grow",n="flex-shrink",r="flex-basis",i=[Kt,Xt+Kt,Yt+Kt,Ft+Vt,Ft+Bt,Vt,Bt,"font-weight","word-spacing",t,n,r],o=[It+Vt,It+Bt,Ut+Vt+Kt,Ut+Bt+Kt],a=[$t,Xt+$t,Yt+$t,Ft+_t,Ft+qt,_t,qt,"line-height",t,n,r],s=[It+_t,It+qt,Ut+_t+Kt,Ut+qt+Kt],c="s",l="v-s",u=De.x===c||De.x===l,f=!1,h=function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1};return(De.y===c||De.y===l)&&((f=h(a,e))||D||(f=h(s,e))),u&&!f&&((f=h(i,e))||D||(f=h(o,e))),f}function Gr(){if(!q){var e,t,n,r,i=!Ie,o=Dt.w-(D||Ee||!Oe?0:N+I),a=Dt.h-(D||Ee||!ze?0:N+I),s={},l=Oe||i,u=te[0];return s[Xt+Kt]=Qt,s[Xt+$t]=Qt,s[Kt]=Gt,te.css(s),e=u[c.oW],t=l?Math.max(e,u[c.sW]-1):1,t+=Oe?U+(D?0:i?0:j+F):0,s[Kt]=Oe?t:en,s[$t]=Gt,te.css(s),n=u[c.oH],r=Math.max(n,u[c.sH]-1),s[Kt]=t,s[$t]=r,ue.css(s),s[Xt+Kt]=o+(!D&&Oe?j+F:0),s[Xt+$t]=a+(!D&&ze?N+I:0),te.css(s),{ow:e,oh:n,dw:t,dh:r}}}function Zr(e,t,r,i){var o=l.now(),a=dr>0&&T&&o-$<dr&&!ze&&!Oe&&!i,s=ne.is(":hidden"),u=gi(s,lt,r);if(lt=s,clearTimeout(J),a&&(hr.h=e,hr.c=t,hr.f=r,J=setTimeout(Zr,dr)),!(k||a||q||T&&!r&&s||"inline"===ne.css("display"))){$=o,e=e||hr.h,t=t||hr.c,r=r||hr.f,hr={},e=e!==n&&e,t=t!==n&&t,r=r!==n&&r,!g||y.x&&y.y?O=Ai(!0,{},d.nativeScrollbarSize):(O.x=0,O.y=0),Rt={x:3*(O.x+(y.x?0:3)),y:3*(O.y+(y.y?0:3))},zr(ie),zr(re);var h={l:se[ln](),t:se[un]()},p=K.scrollbars,b=K.textarea,z=p.visibility,A=gi(z,Qe,r),M=p.autoHide,H=gi(M,Ge,r),P=p.clickScrolling,V=gi(P,Ze,r),X=p.dragScrolling,Y=gi(X,et,r),Q=K.className,G=gi(Q,rt,r),Z=K.resize,ee=gi(Z,tt,r)&&!L,he=!!E&&"off"!==te.attr("wrap"),de=gi(he,Ie,r),ve=K.paddingAbsolute,pe=gi(ve,Ee,r),ye=K.clipAlways,xe=gi(ye,Le,r),ke=K.sizeAutoCapable&&!L,_e=gi(ke,Fe,r),Be=K.nativeScrollbarsOverlaid.showNativeScrollbars,qe=gi(Be,je),Ve=K.autoUpdate,Xe=gi(Ve,Ne),Ye=K.overflowBehavior,Ke=Si(Ye,De,tn,nn,r),$e=b.dynWidth,Je=gi(at,$e),ct=b.dynHeight,ut=gi(ot,ct);if(wt="n"===M,bt="s"===M,gt="m"===M,St="l"===M,mt=p.autoHideDelay,Ot=p.touchSupport,it=rt,Mt="n"===Z,Wt="b"===Z,Ht="h"===Z,Ct="v"===Z,nt=K.normalizeRTL,Be=Be&&y.x&&y.y,Qe=z,Ge=M,Ze=P,et=X,rt=Q,tt=Z,Ie=he,Ee=ve,Le=ye,Fe=ke,je=Be,Ne=Ve,De=Ai(!0,{},Ye),at=$e,ot=ct,ge=ge||{x:!1,y:!1},G&&(Wi(ne,it+on+lr),Mi(ne,Q!==n&&null!==Q&&Q.length>0?Q:lr)),Xe&&(!0===Ve?(Wr(),v.add(Tt)):null===Ve&&w?(Wr(),v.add(Tt)):(v.remove(Tt),Mr())),_e)if(ke)if(oe===n&&(oe=f(mi(_n)),ae.before(oe)),R)re.show();else{re=f(mi(Bn)),oe.before(re);var ft={w:-1,h:-1};Sr(re,function(){var e={w:re[0][c.oW],h:re[0][c.oH]};Si(e,ft)&&(T&&ze&&e.h>0||Oe&&e.w>0?Zr():(T&&!ze&&0===e.h||!Oe&&0===e.w)&&Zr()),ft=e}),R=!0,null!==S&&re.css($t,S+"(100% + 1px)")}else R&&re.hide();r&&(ie.find("*").trigger(Zt),R&&re.find("*").trigger(Zt));var dt,vt=ne.css("direction"),yt=gi(vt,Te,r),xt=ne.css("box-sizing"),zt=gi(xt,Me,r),At={c:r,t:di(ne.css(It+_t)),r:di(ne.css(It+Bt)),b:di(ne.css(It+qt)),l:di(ne.css(It+Vt))};try{dt=R?re[0].getBoundingClientRect():null}catch(Ii){return}D="border-box"===xt;var kt=(B="rtl"===vt)?Vt:Bt,Lt=B?Bt:Vt,Pt=ne[0],jt=ae[0],Nt=!1,rn=!(!R||"none"===ne.css(Jt))&&(0===Math.round(dt.right-dt.left)&&(!!ve||Pt[c.cW]-j>0));if(ke&&!rn){var an=Pt[c.oW],sn=oe.css(Kt);oe.css(Kt,Gt);var cn=Pt[c.oW];oe.css(Kt,sn),(Nt=an!==cn)||(oe.css(Kt,an+1),cn=Pt[c.oW],oe.css(Kt,sn),Nt=an!==cn)}var hn=(rn||Nt)&&ke&&!s,yn=gi(hn,Oe,r),xn=!hn&&Oe,mn=!(!R||s)&&0===Math.round(dt.bottom-dt.top),wn=gi(mn,ze,r),bn=!mn&&ze,gn="-"+Kt,Sn=hn&&D||!D,On=mn&&D||!D,zn={c:r,t:On?di(ne.css(Ut+_t+gn),!0):0,r:Sn?di(ne.css(Ut+Bt+gn),!0):0,b:On?di(ne.css(Ut+qt+gn),!0):0,l:Sn?di(ne.css(Ut+Vt+gn),!0):0},An={c:r,t:di(ne.css(Ft+_t)),r:di(ne.css(Ft+Bt)),b:di(ne.css(Ft+qt)),l:di(ne.css(Ft+Vt))},Mn={h:String(ne.css(Yt+$t)),w:String(ne.css(Yt+Kt))},Wn={},Pn={},Dn=function(){return{w:Pt[c.cW],h:Pt[c.cH]}},Rn=function(){var e=jt.getBoundingClientRect();return e[Kt]?{w:e[Kt],h:e[$t]}:{w:jt[c.oW],h:jt[c.oH]}};if(j=At.l+At.r,N=At.t+At.b,At.ax=ve?j:0,At.ay=ve?N:0,At.c=Oi(At,We),F=zn.l+zn.r,I=zn.t+zn.b,zn.c=Oi(zn,He),U=An.l+An.r,_=An.t+An.b,An.c=Oi(An,Ce),Mn.ih=di(Mn.h),Mn.iw=di(Mn.w),Mn.ch=Mn.h.indexOf("px")>-1,Mn.cw=Mn.w.indexOf("px")>-1,Mn.c=Si(Mn,Ae,r),Te=vt,Me=xt,Oe=hn,ze=mn,We=At,He=zn,Ce=An,Ae=Mn,yt&&R&&re.css(Jt,Lt),At.c||yt||pe||yn||wn||zt||_e){var jn={},Nn={};ui(Pn,Ft,[-At.t,-At.r,-At.b,-At.l]),ve?(ui(jn,Qt,[At.t,At.r,At.b,At.l]),ui(E?Nn:Wn,It)):(ui(jn,Qt),ui(E?Nn:Wn,It,[At.t,At.r,At.b,At.l])),ae.css(jn),te.css(Nn)}Dt=Rn();var Fn=!!E&&Gr();if(mn&&(wn||pe||zt||Mn.c||At.c||zn.c)?(Mn.cw&&(Wn[Yt+$t]=Mn.ch?Mn.ih-At.ay+(D?-I:N):Qt),Wn[$t]=Gt):(wn||pe)&&(Wn[Yt+$t]=Qt,Wn[$t]=en),hn&&(yn||pe||zt||Mn.c||At.c||zn.c||yt)?(Mn.cw&&(Wn[Yt+Kt]=Mn.cw?Mn.iw-At.ax+(D?-F:j)+(y.y?x.y:0):Qt),Wn[Kt]=Gt,Pn[Yt+Kt]=en):(yn||pe)&&(Wn[Yt+Kt]=Qt,Wn[Kt]=en,Wn[Jt]=Qt,Pn[Yt+Kt]=Qt),hn&&(Mn.cw||(Wn[Yt+Kt]=Qt),Pn[Kt]=E&&$e?Fn.dw:Gt,Wn[Kt]=Gt,Wn[Jt]=Lt),mn&&(Mn.ch||(Wn[Yt+$t]=Qt),Pn[$t]=E?ct?Fn.dh:Gt:le[0][c.cH]),ke&&oe.css(Pn),le.css(Wn),Wn={},Pn={},e||t||yt||zt||pe||yn||hn||wn||mn||Mn.c||qe||Ke||xe||ee||A||Je||ut||de||r){var In="overflow",qn=In+"-x",Vn=In+"-y",Xn="hidden",Yn="visible",Kn=C?y.x||y.y||Dt.w<Rt.y||Dt.h<Rt.x||mn||u:mn,$n={},Jn=ge.y&&Se.ys&&!Be?y.y?se.css(kt):-O.y:0,Qn=ge.x&&Se.xs&&!Be?y.x?se.css(qt):-O.x:0;ui($n,Qt),se.css($n),Kn&&le.css(In,Xn);var Gn=xi(),Zn=C&&!Kn?se[0]:Gn,er={w:Gn[c.cW],h:Gn[c.cH]},tr={w:Math.max(Gn[c.sW],Zn[c.sW]),h:Math.max(Gn[c.sH],Zn[c.sH])},ar={w:E&&Fn&&!$e?Fn.ow:hn?er.w:tr.w,h:E&&Fn&&!ct?Fn.oh:mn?er.h:tr.h};$n[qt]=bn?Qt:Qn,$n[kt]=xn?Qt:Jn,se.css($n),Dt=Rn();var sr=Dn(),cr={w:Math.max(ar.w+At.ax,sr.w-j)-($e&&E&&hn?U+(D?0:j+F):0),h:Math.max(ar.h+At.ay,sr.h-N)};if(cr.c=Si(cr,Pe,r),Pe=cr,ke){(cr.c||mn||hn)&&(Pn[Kt]=cr.w,Pn[$t]=cr.h);var ur=Pn[Kt]+(D?F:-j),fr=Pn[$t]+(D?I:-j),vr={};(!hn||!hn&&zn.c)&&(Pn[Kt]=sr.w-(D?0:j+F)-1-U),(!mn||!mn&&zn.c)&&(Pn[$t]=sr.h-(D?0:N+I)-1-_),Mn.cw&&Mn.iw===ur&&(Pn[Kt]=ur+(D?0:j)+1),Mn.ch&&Mn.ih===fr&&(Pn[$t]=fr+(D?0:N)+1),hn&&(er.w<Dt.w||E&&!he)&&0===j&&(E&&(vr[Kt]=di(ue.css(Kt))-1),Pn[Kt]-=1),mn&&(er.h<Dt.h||E)&&0===N&&(E&&(vr[$t]=di(ue.css($t))-1),Pn[$t]-=1),ar.h>0&&(Pn[Kt]=Math.max(1,Pn[Kt]),Pn[$t]=Math.max(1,Pn[$t])),E&&ue.css(vr),oe.css(Pn)}hn&&(Wn[Kt]=en),!hn||D||ht||(Wn[Jt]="none"),le.css(Wn),Wn={};var pr=Gn.getBoundingClientRect(),yr=pr[Kt]||0,xr=pr[$t]||0,mr={w:Math.max(Gn[c.sW],Zn[c.sW])+di(yr)-yr,h:Math.max(Gn[c.sH],Zn[c.sH])+di(xr)-xr};mr.c=t=Si(mr,we,r),we=mr,Kn&&le.css(In,Qt),Dt=Rn(),e=Si(sr=Dn(),me),me=sr;var wr={x:"v-s"===Ye.x,y:"v-s"===Ye.y},Or={x:"v-h"===Ye.x,y:"v-h"===Ye.y},Hr={x:"s"===Ye.x,y:"s"===Ye.y},Er={x:Math.max(0,Math.round(100*(mr.w-Dt.w))/100),y:Math.max(0,Math.round(100*(mr.h-Dt.h))/100)},Lr=E&&(0===Dt.w||0===Dt.h),Pr=0===se[0].scrollLeftMax&&Er.x>0&&Er.x<1||0===se[0].scrollTopMax&&Er.y>0&&Er.y<1;(Lr||Pr)&&(Er.x=Er.y=0);var Dr={x:Er.x>0,y:Er.y>0},Rr={x:Dr.x,y:Dr.y};(wr.x||Or.x)&&(Rr.x=Dr.y&&!wr.y&&!Or.y),(wr.y||Or.y)&&(Rr.y=Dr.x&&!wr.x&&!Or.x),Rr.xs=!!Rr.x&&(Hr.x||wr.x),Rr.ys=!!Rr.y&&(Hr.y||wr.y);var jr={x:Dr.x&&Rr.xs,y:Dr.y&&Rr.ys},Nr=Re;if(Er.c=Si(Er,Re,tn,nn,r),Re=Er,Dr.c=Si(Dr,ge,tn,nn,r),ge=Dr,Rr.c=Si(Rr,Se,tn,nn,r),Se=Rr,y.x||y.y){var Fr="px solid transparent",Ir={},_r={},Br=r;(Dr.x||Dr.y)&&(_r.w=y.y&&Dr.y?mr.w+x.y:Qt,_r.h=y.x&&Dr.x?mr.h+x.x:Qt,Br=gi(_r,be,r),be=_r),(Dr.c||Rr.c||mr.c||yt||yn||wn||hn||mn||qe)&&(Wn[Ft+Lt]=Wn[Ut+Lt]=Qt,y.x&&Dr.x&&Rr.xs?(Wn[Ft+qt]=mn?Be?Qt:x.x:Qt,Wn[Ut+qt]=mn||Be?Qt:x.x+Fr):(_r.h=Wn[Ft+qt]=Wn[Ut+qt]=Qt,Br=!0),y.y&&Dr.y&&Rr.ys?(Wn[Ft+kt]=hn?Be?Qt:x.y:Qt,Wn[Ut+kt]=Be?Qt:x.y+Fr):(_r.w=Wn[Ft+kt]=Wn[Ut+kt]=Qt,Br=!0)),Be&&(_r.w=_r.h=Qt,Br=!0),Br&&(Ir[Kt]=Rr.y?_r.w:Qt,Ir[$t]=Rr.x?_r.h:Qt,ce||(ce=f(mi(Un)),se.prepend(ce)),ce.css(Ir)),le.css(Wn)}var qr={};jn={};if(e||Dr.c||Rr.c||mr.c||Ke||zt||qe||yt||xe||wn){qr[Lt]=Qt;var Vr=function(){qr[qt]=Qt,Et.h=0},Yr=function(){qr[kt]=Qt,Et.w=0};if(Dr.x&&Rr.xs?(qr[qn]=Zt,Be?Vr():(qr[qt]=-(y.x?x.x:O.x),Et.h=y.x?x.y:0)):(qr[qn]=Qt,Vr()),Dr.y&&Rr.ys?(qr[Vn]=Zt,Be?Yr():(qr[kt]=-(y.y?x.y:O.y),Et.w=y.y?x.x:0)):(qr[Vn]=Qt,Yr()),(Dt.h<Rt.x||Dt.w<Rt.y)&&(Dr.x&&Rr.x&&!y.x||Dr.y&&Rr.y&&!y.y)?(qr[It+_t]=Rt.x,qr[Ft+_t]=-Rt.x,qr[It+Lt]=Rt.y,qr[Ft+Lt]=-Rt.y):qr[It+_t]=qr[Ft+_t]=qr[It+Lt]=qr[Ft+Lt]=Qt,qr[It+kt]=qr[Ft+kt]=Qt,Dr.x&&Rr.x||Dr.y&&Rr.y||Lr?E&&Lr&&(jn[qn]=jn[Vn]=Xn):(!ye||Or.x||wr.x||Or.y||wr.y)&&(E&&(jn[qn]=jn[Vn]=Qt),qr[qn]=qr[Vn]=Yn),ae.css(jn),se.css(qr),qr={},(Dr.c||zt||yn||wn)&&(!y.x||!y.y)){var Kr=le[0],$r=Kr[c.s];$r.webkitTransform="scale(1)",$r.display="run-in",Kr[c.oH],$r.display=Qt,$r.webkitTransform=Qt}}if(Wn={},yt||yn||wn)if(B&&hn){var Jr=le.css(Jt),Qr=Math.round(le.css(Jt,Qt).css(Vt,Qt).position().left);le.css(Jt,Jr),Qr!==Math.round(le.position().left)&&(Wn[Vt]=Qr)}else Wn[Vt]=Qt;le.css(Wn);var ei="v"===z,ti="h"===z,ni="a"===z,ci=l.bind(ri,0,!0,!0,jr.x),fi=l.bind(ri,0,!1,!0,jr.y),hi=l.bind(ri,0,!0,!1,jr.x),pi=l.bind(ri,0,!1,!1,jr.y);if(Rr.x||Rr.y?Mi(ne,kn):Wi(ne,kn),Rr.x?Mi(ne,En):Wi(ne,En),Rr.y?Mi(ne,Ln):Wi(ne,Ln),yt&&(B?Mi(ne,Hn):Wi(ne,Hn)),L&&Mi(ne,Cn),ee){var yi=function(){fe.on(fn,Ur)},wi=function(){fe.off(fn,Ur)};Mt?(Mi(ne,Cn),Wi(fe,[nr,rr,ir,or].join(on)),wi()):(Wi(ne,Cn),Mi(fe,nr),Wt?Mi(fe,rr):Ht?Mi(fe,ir):Ct&&Mi(fe,or),wi(),yi())}if((A||Ke||Rr.c||Dr.c||qe)&&(Be?qe&&(Wi(ne,Tn),Be&&(hi(),pi())):ni?(jr.x?ci():hi(),jr.y?fi():pi()):ei?(ci(),fi()):ti&&(hi(),pi())),H||qe){var bi=function(e){W?e?br(ne,dn,kr):(br(ne,vn,Cr),br(ne,pn,Tr)):e?ne.on(dn,kr):ne.on(vn,Cr).on(pn,Tr),T||ne.one("mouseover",Cr)},zi=function(){W?(gr(ne,dn,kr),gr(ne,vn,Cr),gr(ne,pn,Tr)):ne.off(dn,kr).off(vn,Cr).off(pn,Tr)};St||gt?(zi(),bi(gt)):zi(),wt?ii(!0):ii(!1,!0)}if((e||Er.c||wn||yn||ee||zt||pe||qe||yt)&&(oi(!0),ai(!0,h.l),oi(!1),ai(!1,h.t)),V&&si(!0,P),Y&&si(!1,X),E&&t){var Hi=vi();if(Hi){var Ci=Ue===n||Hi.rows!==Ue.rows,Ti=Hi.cR,ki=Hi.cC,Ei=Hi.w,Li=Hi.r,Pi=Hi.c,Di=Hi.p,Ri=Hi.m===Di&&pt,ji={x:he||ki!==Pi||Ti!==Ei?-1:Re.x,y:(he?Ri||Ci&&Nr!==n&&h.t===Nr.y:(Ri||Ci)&&Ti===Li)?Re.y:-1},Ni=ji.x>-1,Fi=ji.y>-1;(Ni||Fi)&&(Fi&&se[un](ji.y),Ni&&(B&&nt&&m.i?se[ln](0):se[ln](ji.x)))}Ue=Hi}else E||(B&&m.i&&y.y&&Dr.x&&nt&&(h.l+=Et.w||0),se[ln](h.l),se[un](h.t));yt&&li("onDirectionChanged",{isRTL:B,dir:vt}),e&&li("onHostSizeChanged",{width:me.w,height:me.h}),t&&li("onContentSizeChanged",{width:we.w,height:we.h}),(Dr.c||Rr.c)&&li("onOverflowChanged",{x:Dr.x,y:Dr.y,xScrollable:Rr.xs,yScrollable:Rr.ys,clipped:Rr.x||Rr.y}),Er.c&&li("onOverflowAmountChanged",{x:Er.x,y:Er.y})}L&&(ge.c||st.c)&&(st.f||Xr(),y.y&&ge.x&&le.css(Xt+Kt,st.w+x.y),y.x&&ge.y&&le.css(Xt+$t,st.h+x.x),st.c=!1),Ar(ie),Ar(re),li("onUpdated",{forced:r})}}function ei(e){Y=Ai(!0,{},Y,A.v(e,A.t,!0)),K=Ai(!0,{},K,A.v(e,A.t,!1,!0))}function ti(){he=f(mi(Kn+on+ar)),de=f(mi($n)),ve=f(mi(Qn)),pe=f(mi(Kn+on+sr)),ye=f(mi($n)),xe=f(mi(Qn)),he.append(de),de.append(ve),pe.append(ye),ye.append(xe),ae.after(pe),ae.after(he),z&&(he.on(wn,function(e){e.target===he[0]&&(oi(!0),ai(!0,se[ln]()))}),pe.on(wn,function(e){e.target===pe[0]&&(oi(!1),ai(!1,se[un]()))})),ni(!0),ni(!1),fe=f(mi(tr)),ne.append(fe)}function ni(e){var t,r,i,o=ci(e),a=Q.top!==Q,s=o.xy,c=o.XY,u=Zt+o.LT,h="active",d=1,v=[16,17];function p(){d=.5}function y(){d=1}function x(e){f.inArray(e.keyCode,v)>-1&&p()}function w(e){f.inArray(e.keyCode,v)>-1&&y()}function g(e){var t=(e.originalEvent||e).touches!==n;return!(q||yi()||!et||t&&!Ot)&&(1===l.mBtn(e)||t)}function S(n){if(g(n)){var i=o.i.tl,f=o.i.hl,h=o.i.ms*(((b&&a?n["screen"+c]:l.page(n)[s])-r)/(i-f));h=isFinite(h)?h:0,B&&e&&!m.i&&(h*=-1),se[u](t+h),W||l.prvD(n)}else O(n)}function O(e){e=e||e.originalEvent,Wi(ee,cr),Wi(o.h,h),Wi(o.t,h),Wi(o.s,h),G.off(dn,S).off(hn,O).off(yn,x).off(xn,w).off(mn,qr),y(),t=n,r=n,i!==n&&(Tt.scrollStop(),clearTimeout(i),i=n);var a=ne[0].getBoundingClientRect();e.clientX>=a.left&&e.clientX<=a.right&&e.clientY>=a.top&&e.clientY<=a.bottom||Tr(),(bt||gt)&&ii(!1)}function z(i){t=(t=se[u]())===n?0:t,(B&&e&&!m.n||!B)&&(t=t<0?0:t),r=b&&a?i["screen"+c]:l.page(i)[s],Mi(ee,cr),Mi(o.h,h),Mi(o.s,h),G.on(dn,S).on(hn,O).on(mn,qr),!b&&P||l.prvD(i),l.stpP(i)}o.h.on(fn,function(e){g(e)&&z(e)}),o.t.on(fn,function(t){if(g(t)){var a,c,f=Dt[o._wh],v=o.t.offset()[o.lt],y=t.ctrlKey,b=t.shiftKey,S=b&&y,A=!0,M="linear",W=function(){if(!k){var l=r-v,h=o.i.tl,p=o.i.ho,y=o.i.hl,x=o.i.ms,w=270*d,g=A?Math.max(400,w):w,O=x*((l-y/2)/(h-y)),H=B&&e&&(!m.i&&!m.n||nt),C=H?p<l:p>l,T={};b?(O=isFinite(O)?O:0,B&&e&&!m.i&&(O=x-O),S?(T.n=!1,T[s]=O,Tt.scroll(T,130,M,function(){z(t)})):(se[u](O),z(t))):(a=A?C:a,c=H?a?p+y>=l:p<=l:a?p<=l:p+y>=l,T[s]=a?"-="+f:"+="+f,Tt.scrollStop(),Tt.scroll(T,w,M),c?(clearTimeout(i),Tt.scrollStop(),i=n):i=setTimeout(W,g),A=!1)}};y&&p(),r=l.page(t)[s],Mi(ee,cr),Mi(o.t,h),Mi(o.s,h),G.on(hn,O).on(yn,x).on(xn,w).on(mn,qr),W(),l.prvD(t),l.stpP(t)}}).on(vn,function(){(bt||gt)&&(zt=!0,ii(!0))}).on(pn,function(){(bt||gt)&&(zt=!1,ii(!1))}),o.s.on(fn,function(e){l.stpP(e)})}function ri(e,t,n){var r=e?An:Mn,i=e?he:pe;t?Wi(ne,r):Mi(ne,r),n?Wi(i,Zn):Mi(i,Zn)}function ii(e,t){if(clearTimeout(yt),e)Wi(he,er),Wi(pe,er);else{var n="active",r=function(){if(!zt&&!k){var e=ve.hasClass(n)||xe.hasClass(n);!e&&(bt||gt||St)&&Mi(he,er),!e&&(bt||gt||St)&&Mi(pe,er)}};mt>0&&!0!==t?yt=setTimeout(r,mt):r()}}function oi(e){var t={},n=ci(e),r=1e6,i=Math.min(1,(me[n._wh]-(Ee?e?j:N:0))/we[n._wh]);t[n.wh]=Math.floor(100*i*r)/r+"%",yi()||n.h.css(t),n.i.hl=n.h[0]["offset"+n.WH],n.i.hlr=i}function ai(e,t){var n,r,i,o=B&&e,a={},s=ci(e),c="translate(",l="transform",u=se[0][Zt+s.WH]-se[0]["client"+s.WH],f=s.i.hl,h=s.t[0]["offset"+s.WH],d=h-f;m.n&&o&&(u*=-1),i=t/u,i=isNaN(i)?0:Math.min(1,i),s.i.ms=u,s.i.cs=t,s.i.csr=i,d*=i,d=isNaN(d)?0:d,o&&!m.i&&(d=h-f-d),d=Math.max(0,d),M?(r=o?-(h-f-d):d,n=e?c+r+"px, 0)":c+"0, "+r+"px)",a["-webkit-"+l]=n,a["-moz-"+l]=n,a["-ms-"+l]=n,a["-o-"+l]=n,a[l]=n):a[s.lt]=d,yi()||s.h.css(a),s.i.ho=d,s.i.tl=h}function si(e,t){var n=t?"removeClass":"addClass",r=e?ye:xe,i=e?Jn:Gn;(e?de:ve)[n](i),r[n](i)}function ci(e){return{wh:e?Kt:$t,WH:e?"Width":"Height",lt:e?Vt:_t,LT:e?"Left":"Top",xy:e?tn:nn,XY:e?"X":"Y",_wh:e?"w":"h",_lt:e?"l":"t",t:e?de:ye,h:e?ve:xe,s:e?he:pe,i:e?Lt:Pt}}function li(e,t){if(T){var n,r=K.callbacks[e],i=e;"on"===i.substr(0,2)&&(i=i.substr(2,1).toLowerCase()+i.substr(3)),zi(r)==s.f&&r.call(Tt,t),f.each(ur,function(){zi((n=this).on)==s.f&&n.on(i,t)})}}function ui(e,t,r){r===n&&(r=[Qt,Qt,Qt,Qt]),e[t+_t]=r[0],e[t+Bt]=r[1],e[t+qt]=r[2],e[t+Vt]=r[3]}function fi(t){var n="ownerDocument",r="HTMLElement",i=t&&t[n]&&t[n].parentWindow||e;return typeof i[r]==s.o?t instanceof i[r]:t&&typeof t==s.o&&null!==t&&1===t.nodeType&&typeof t.nodeName==s.s}function hi(e,t){var n,r,i=[],o=[];for(n=0;n<e.length;n++)i[e[n]]=!0;for(n=0;n<t.length;n++)i[t[n]]?delete i[t[n]]:i[t[n]]=!0;for(r in i)o.push(r);return o}function di(t,n){var r=n?e.parseFloat(t):e.parseInt(t);return isNaN(r)?0:r}function vi(){var e=te[0].selectionStart;if(e!==n){var t,r,i="length",o=te.val(),a=o[i],s=o.split("\n"),c=s[i],l=o.substr(0,e).split("\n"),u=0,f=0,h=l[i],d=l[l[i]-1][i];for(r=0;r<s[i];r++)(t=s[r][i])>f&&(u=r+1,f=t);return{cR:h,cC:d,r:c,c:f,w:u,p:e,m:a}}}function pi(e){for(var t=0;t<yr.length;t++)if(e===yr[t])return!0;return!1}function yi(){return je&&y.x&&y.y}function xi(){return E?ue[0]:le[0]}function mi(e,t){return"<div "+(e?zi(e)==s.s?'class="'+e+'"':function(){var t,n="";if(f.isPlainObject(e))for(t in e)n+=("className"===t?"class":t)+'="'+e[t]+'" ';return n}():Qt)+">"+(t||Qt)+"</div>"}function wi(e,t){for(var n,r=t.split(rn),i=0;i<r.length;i++){if(!e.hasOwnProperty(r[i]))return;n=e[r[i]],i<r.length&&zi(n)==s.o&&(e=n)}return n}function bi(e,t,n){for(var r=t.split(rn),i=r.length,o=0,a={},s=a;o<i;o++)a=a[r[o]]=o+1<i?{}:n;f.extend(e,s,!0)}function gi(e,t,r){return!0===r?r:t===n||e!==t}function Si(e,t,r,i,o){if(!0===o)return o;if(i===n&&o===n){if(!0===r)return r;r=n}return r=r===n?"w":r,i=i===n?"h":i,t===n||(e[r]!==t[r]||e[i]!==t[i])}function Oi(e,t){return t===n||(e.t!==t.t||e.r!==t.r||e.b!==t.b||e.l!==t.l)}function zi(e){return l.type(e)}function Ai(){return f.extend.apply(this,arguments)}function Mi(e,t){return kt.addClass.call(e,t)}function Wi(e,t){return kt.removeClass.call(e,t)}function Hi(e){return kt.remove.call(e)}function Ci(e,t){return kt.find.call(e,t).eq(0)}function Ti(e,n,r){if(X=d.defaultOptions,g=d.nativeScrollbarStyling,O=Ai(!0,{},d.nativeScrollbarSize),y=Ai(!0,{},d.nativeScrollbarIsOverlaid),x=Ai(!0,{},d.overlayScrollbarDummySize),m=Ai(!0,{},d.rtlScrollBehavior),ei(Ai(!0,{},X,n)),y.x&&y.x&&!K.nativeScrollbarsOverlaid.initialize)return li("onInitializationWithdrawn"),!1;var i;if(S=d.cssCalc,b=d.msie,w=d.autoUpdateRecommended,z=d.supportTransition,M=d.supportTransform,W=d.supportPassiveEvents,H=d.supportResizeObserver,dt=d.supportMutationObserver,C=d.restrictedMeasuring,G=f(e.ownerDocument),Q=f(G[0].defaultView||G[0].parentWindow),Z=Ci(G,"html"),ee=Ci(Z,"body"),te=f(e),E=te.is("textarea"),L=te.is("body"),P=G[0]!==t,L&&((i={}).l=Math.max(te[ln](),Z[ln](),Q[ln]()),i.t=Math.max(te[un](),Z[un](),Q[un]())),E){te.wrap(mi(zn)),Mi(te,Pn+on+Yn),ne=te.parent();var o={};K.sizeAutoCapable||(o[Kt]=te.css(Kt),o[$t]=te.css($t)),ne.css(o).wrapInner(mi(In+on+Yn)).wrapInner(mi(jn+on+Yn)).wrapInner(mi(Rn+on+Yn)),le=Ci(ne,rn+In),se=Ci(ne,rn+jn),ae=Ci(ne,rn+Rn),ue=f(mi(Dn)),le.prepend(ue),te.on(Zt,Ir).on("drop",jr).on("focus",Nr).on("focusout",Fr),b>9||!w?te.on("input",Pr):te.on(yn,Dr).on(xn,Rr)}else Mi(te,On),(ne=te).wrapInner(mi(In)).wrapInner(mi(jn)).wrapInner(mi(Rn)),le=Ci(ne,rn+In),se=Ci(ne,rn+jn),ae=Ci(ne,rn+Rn),le.on(wn,function(e){!0!==Ne&&Qr((e=e.originalEvent||e).propertyName)&&Zr(Gt)});if(ti(),W?br(se,Zt,Er):se.on(Zt,Er),g&&Mi(se,y.x&&y.y?Fn:Nn),dt){var a,u,h,v,p,A,D=l.mO(),R=l.now();ut=new D(function(e){if(T&&!q){var t,n=!1;f.each(e,function(){if(a=(t=this).target,u=t.attributeName,n=u===c.c?Yr(t.oldValue,a.className):u!==c.s||t.oldValue!==a[c.s].cssText)return!1}),n&&Tt.update(Gt)}}),ft=new D(function(e){if(T&&!q){var t=!1;f.each(e,function(){return!(t=Kr(this))}),t&&(v=l.now(),p=ze||Oe,A=function(){k||(R=v,E&&Gr(),p?Zr():Tt.update(Gt))},clearTimeout(h),pr<=0||v-R>pr||!p?A():h=setTimeout(A,pr))}})}return L&&(Mi(Z,Sn),se[ln](i.l),se[un](i.t)),ie=f(mi("os-resize-observer-host")),ne.prepend(ie),Sr(ie,Hr),Hr(),Tt.update(Gt),setTimeout(function(){z&&!k&&Mi(ne,Wn)},333),T=!0,li("onInitialized"),zi(r)==s.s&&(r=[r]),l.isA(r)?f.each(r,function(){Tt.addExt(this)}):f.isPlainObject(r)&&f.each(r,function(e,t){Tt.addExt(e,t)}),T}}return e[a]=function(t,o,s){if(0===arguments.length)return this;M();var c,l,u=[];return f.isPlainObject(o)?t&&t.length?(f.each(t,function(){(c=this)!==n&&u.push(C(c,o,s,r,i))}),l=u.length>1?u:u[0]):l=C(t,o,s,r,i):t&&(t.length&&t.length>0?(f.each(t,function(){c=h(this),"!"===o?c instanceof e[a]&&u.push(c):u.push(c)}),l=u.length>1?u:u[0]):l=h(t)),l},e[a].globals=function(){M();var e=f.extend(!0,{},r);return delete e.msie,e},e[a].defaultOptions=function(e){M();var t=r.defaultOptions;if(e===n)return f.extend(!0,{},t);r.defaultOptions=f.extend(!0,{},t,A.v(e,A.t,!0))},e[a].extension=function(e,t,n){var r=l.type(e)==s.s,i=arguments[c.l],o=0;if(i<1||!r)return f.extend(!0,{length:z[c.l]},z);if(r)if(l.type(t)==s.f)z.push({name:e,extension:t,defaultOptions:n});else for(;o<z[c.l];o++)if(z[o].name===e){if(!(i>1))return f.extend(!0,{},z[o]);z.splice(o,1)}},e[a]}();return u&&u.fn&&(u.fn.overlayScrollbars=function(e,t){var n=this;return u.isPlainObject(e)?(u.each(n,function(){d(this,e,t)}),n):d(n,e)}),d});

@@ -5,3 +5,3 @@ /*!

*
* Version: 1.5.2
* Version: 1.5.3
*

@@ -12,4 +12,4 @@ * Copyright KingSora.

* Released under the MIT license.
* Date: 09.09.2018
* Date: 07.11.2018
*/
!function(t,e){"function"==typeof define&&define.amd?define(function(){return e(t,t.document,undefined)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=e(t,t.document,undefined):e(t,t.document,undefined)}("undefined"!=typeof window?window:this,function(t,e,n){"use strict";var r,i,o,a="OverlayScrollbars",s={o:"object",f:"function",a:"array",s:"string",b:"boolean",n:"number",u:"undefined",z:"null"},c={c:"class",s:"style",i:"id",l:"length",p:"prototype",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth"},u={wW:function(){return t.innerWidth||e.documentElement[c.cW]||e.body[c.cW]},wH:function(){return t.innerHeight||e.documentElement[c.cH]||e.body[c.cH]},mO:function(){return t.MutationObserver||t.WebKitMutationObserver||t.WebkitMutationObserver||t.MozMutationObserver||n},rO:function(){return t.ResizeObserver||t.WebKitResizeObserver||t.WebkitResizeObserver||t.MozResizeObserver||n},rAF:function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}},cAF:function(){return t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||t.msCancelAnimationFrame||function(e){return t.clearTimeout(e)}},now:function(){return Date.now()||(new Date).getTime()},stpP:function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},prvD:function(t){t.preventDefault&&t.cancelable?t.preventDefault():t.returnValue=!1},page:function(t){var r="page",i="client",o="X",a="Y",s=((t=t.originalEvent||t).target||t.srcElement||e).ownerDocument||e,c=s.documentElement,u=s.body;if(t.touches!==n){var l=t.touches[0];return{x:l[r+o],y:l[r+a]}}return!t[r+o]&&t[i+o]&&null!=t[i+o]?{x:t[i+o]+(c&&c.scrollLeft||u&&u.scrollLeft||0)-(c&&c.clientLeft||u&&u.clientLeft||0),y:t[i+a]+(c&&c.scrollTop||u&&u.scrollTop||0)-(c&&c.clientTop||u&&u.clientTop||0)}:{x:t[r+o],y:t[r+a]}},mBtn:function(t){return t.which||t.button===n?t.which:1&t.button?1:2&t.button?3:4&t.button?2:0},inA:function(t,e){for(var n=0;n<e[c.l];n++)try{if(e[n]===t)return n}catch(r){}return-1},bind:function(t,e){if(typeof t!=s.f)throw"Can't bind function!";var n=c.p,r=Array[n].slice.call(arguments,2),i=function(){},o=function(){return t.apply(this instanceof i?this:e,r.concat(Array[n].slice.call(arguments)))};return t[n]&&(i[n]=t[n]),o[n]=new i,o}},l=t.jQuery,f=function(r,i,o){var u,f,h,d,v,p,y,m,x,w,b,g,O,M,S=[],C=(h=[s.b,s.n,s.s,s.a,s.o,s.f,s.z],d=" ",v=":",p=[s.z,s.s],y=s.n,m=[s.z,s.b],x=[!0,s.b],w=[!1,s.b],b=[null,[s.z,s.f]],O={className:["os-theme-dark",p],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:x,clipAlways:x,normalizeRTL:x,paddingAbsolute:w,autoUpdate:[null,m],autoUpdateInterval:[33,y],nativeScrollbarsOverlaid:{showNativeScrollbars:w,initialize:x},overflowBehavior:{x:["scroll",g="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll",g]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,y],dragScrolling:x,clickScrolling:w,touchSupport:x},textarea:{dynWidth:w,dynHeight:w},callbacks:{onInitialized:b,onInitializationWithdrawn:b,onDestroyed:b,onScrollStart:b,onScroll:b,onScrollStop:b,onOverflowChanged:b,onOverflowAmountChanged:b,onDirectionChanged:b,onContentSizeChanged:b,onHostSizeChanged:b,onUpdated:b}},{d:(M=function(t){var e=function(n){var i,o,a;for(i in n)n.hasOwnProperty(i)&&(o=n[i],(a=r.type(o))==s.a?n[i]=o[t?1:0]:a==s.o&&(n[i]=e(o)));return n};return e(r.extend(!0,{},O))})(),t:M(!0),v:function(t,e,n,i,o){var a={},c=r.extend(!0,{},t),u=function(t,e,o,a){for(var c in e)if(e.hasOwnProperty(c)&&t.hasOwnProperty(c)){var l,f,p,y,m,x,w,b,g=!1,O=e[c],M=r.type(O),S=r.type(O)!=s.a?[O]:O,C=t[c],A=r.type(C),z=a?a+".":"",E='The option "'+z+c+"\" wasn't set, because",H=[],W=[];if(M==s.o)o[c]={},u(C,O,o[c],z+c),r.isEmptyObject(C)&&delete t[c];else{for(x=0;x<S.length;x++)if(m=S[x],p=(M=r.type(m))==s.s&&-1===r.inArray(m,h))for(H.push(s.s),l=m.split(d),W=W.concat(l),w=0;w<l.length;w++){for(y=(f=l[w].split(v))[0],b=0;b<f.length;b++)if(C===f[b]){g=!0;break}if(g)break}else if(H.push(m),A===m){g=!0;break}g?o[c]=p&&i?y:C:n&&console.warn(E+" it doesn't accept the type [ "+A.toUpperCase()+' ] with the value of "'+C+'".\r\nAccepted types are: [ '+H.join(", ").toUpperCase()+" ]."+(W.length>0?"\r\nValid strings are: [ "+W.join(", ").split(v).join(", ")+" ].":"")),delete t[c]}}};return u(c,e,a),o?r.extend(!0,a,c):!r.isEmptyObject(c)&&n&&console.warn("The following options are discarded due to invalidity:\r\n"+JSON.stringify(c,null,2)),a}});function A(){u||(u=new z(C.d)),f||(f=new E(u))}function z(a){var s=this,u="overflow",l="hidden",f="scroll",h=r("body"),d=r('<div id="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>'),v=d[0],p=r(d.children("div").eq(0));h.append(d);var y,m,x,w,b,g,O,M,S,C=E(v),A={x:0===C.x,y:0===C.y};function z(t){var r=!1,i="Webkit Moz ms O".split(" "),o=e.createElement("div"),a=null,s=0;if(t=t.toLowerCase(),o[c.s][t]!==n&&(r=!0),!r)for(a=t.charAt(0).toUpperCase()+t.substr(1);s<i.length;s++)if(o[c.s][i[s]+a]!==n){r=!0;break}return r}function E(t){return{x:t[c.oH]-t[c.cH],y:t[c.oW]-t[c.cW]}}r.extend(s,{defaultOptions:a,autoUpdateLoop:!1,autoUpdateRecommended:!i.mO(),nativeScrollbarSize:C,nativeScrollbarIsOverlaid:A,nativeScrollbarStyling:(d.addClass("os-viewport-native-scrollbars-invisible"),d.css(u,l).hide().css(u,f).show(),v[c.oH]-v[c.cH]==0&&v[c.oW]-v[c.cW]==0),overlayScrollbarDummySize:{x:30,y:30},msie:(m=t.navigator.userAgent,x="indexOf",w="substring",b=m[x]("MSIE "),g=m[x]("Trident/"),O=m[x]("Edge/"),M=m[x]("rv:"),S=t.parseInt,b>0?y=S(m[w](b+5,m[x](".",b)),10):g>0?y=S(m[w](M+3,m[x](".",M)),10):O>0&&(y=S(m[w](O+5,m[x](".",O)),10)),y),cssCalc:function(){var t,n,r=e.createElement("div"),i=["calc","-webkit-calc","-moz-calc","-o-calc"];for(t=0;t<i.length;++t)if(n=i[t],r[c.s].cssText="width:"+n+"(1px);",r[c.s].length)return n;return null}(),restrictedMeasuring:function(){d.css(u,l);var t={w:v[c.sW],h:v[c.sH]};d.css(u,"visible");var e={w:v[c.sW],h:v[c.sH]};return t.w-e.w!=0||t.h-e.h!=0}(),rtlScrollBehavior:function(){d.css({"overflow-y":l,"overflow-x":f,direction:"rtl"}).scrollLeft(0);var t=d.offset(),e=p.offset();d.scrollLeft(999);var n=p.offset();return{i:t.left===e.left,n:e.left-n.left==0}}(),supportTransform:z("transform"),supportTransition:z("transition"),supportPassiveEvents:function(){var e=!1;try{t.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){e=!0}}))}catch(n){}return e}(),supportResizeObserver:!!i.rO(),supportMutationObserver:!!i.mO()}),d.removeAttr(c.s).remove(),function(){if(!A.x||!A.y){var e=Math.abs,n=i.wW(),a=i.wH(),c=f(),u=function(){if(o().length>0){var t=i.wW(),u=i.wH(),v=t-n,p=u-a;if(0===v&&0===p)return;var y,m=Math.round(t/(n/100)),x=Math.round(u/(a/100)),w=e(v),b=e(p),g=e(m),O=e(x),M=f(),S=w>2&&b>2,C=!l(g,O),A=S&&C&&(M!==c&&c>0),z=s.nativeScrollbarSize;A&&(h.append(d),y=s.nativeScrollbarSize=E(d[0]),d.remove(),z.x===y.x&&z.y===y.y||r.each(o(),function(){o(this)&&o(this).update("zoom")})),n=t,a=u,c=M}};r(t).on("resize",u)}function l(t,n){var r=e(t),i=e(n);return!(r===i||r+1===i||r-1===i)}function f(){var e=t.screen.deviceXDPI||0,n=t.screen.logicalXDPI||1;return t.devicePixelRatio||e/n}}()}function E(t){var e,o=this,a="autoUpdate",s=a+"Interval",u=c.l,l=[],f=[],h=!1,d=33,v=d,p=i.now(),y=function(){if(l[u]>0&&h){e=i.rAF()(function(){y()});var t=i.now(),r=t-p;if(r>v){p=t-r%v;for(var o=d,c=0;c<l[u];c++){var m=l[c];if(m!==n){var x=m.options(),w=x[a],b=Math.max(1,x[s]),g=i.now();(!0===w||null===w)&&g-f[c]>b&&(m.update("auto"),f[c]=new Date(g+=b)),o=Math.max(1,Math.min(o,b))}}v=o}}else v=d};o.add=function(e){-1===r.inArray(e,l)&&(l.push(e),f.push(i.now()),l[u]>0&&!h&&(h=!0,t.autoUpdateLoop=h,y()))},o.remove=function(o){var a=r.inArray(o,l);a>-1&&(f.splice(a,1),l.splice(a,1),0===l[u]&&h&&(h=!1,t.autoUpdateLoop=h,e!==n&&(i.cAF()(e),e=-1)))}}function H(u,f,h,d,v){if(fi(u)){if(o(u)){var p=o(u);return p.options(f),p}var y,m,x,w,b,g,O,M,S,A,z,E,H,W,T,I,k,L,P,N,q,R,D,j,F,B,U,_,Q,V,X,Y,K,$,G,J,Z,tt,et,nt,rt,it,ot,at,st,ct,ut,lt,ft,ht,dt,vt,pt,yt,mt,xt,wt,bt,gt,Ot,Mt,St,Ct,At,zt,Et,Ht,Wt,Tt,It,kt,Lt,Pt,Nt,qt,Rt,Dt,jt,Ft,Bt,Ut,_t,Qt,Vt,Xt,Yt,Kt,$t,Gt,Jt,Zt,te,ee,ne,re,ie,oe,ae,se,ce,ue,le,fe,he,de,ve,pe,ye,me,xe,we,be,ge,Oe,Me,Se,Ce,Ae,ze,Ee,He,We=new t[a],Te=r[c.p],Ie={},ke={},Le={},Pe={},Ne={},qe=175,Re="-hidden",De="margin-",je="padding-",Fe="border-",Be="top",Ue="right",_e="bottom",Qe="left",Ve="min-",Xe="max-",Ye="width",Ke="height",$e="float",Ge="",Je="auto",Ze="scroll",tn="100%",en="x",nn="y",rn=".",on=" ",an="scrollbar",sn="-horizontal",cn="-vertical",un=Ze+"Left",ln=Ze+"Top",fn="mousedown touchstart",hn="mouseup touchend touchcancel",dn="mousemove touchmove",vn="mouseenter",pn="mouseleave",yn="keydown",mn="keyup",xn="selectstart",wn="transitionend webkitTransitionEnd oTransitionEnd",bn="__overlayScrollbarsRO__",gn="os-",On=gn+"html",Mn=gn+"host",Sn=Mn+"-textarea",Cn=Mn+"-"+an+sn+Re,An=Mn+"-"+an+cn+Re,zn=Mn+"-transition",En=Mn+"-rtl",Hn=Mn+"-resize-disabled",Wn=Mn+"-scrolling",Tn=Mn+"-overflow",In=Tn+"-x",kn=Tn+"-y",Ln=gn+"textarea",Pn=Ln+"-cover",Nn=gn+"padding",qn=gn+"viewport",Rn=qn+"-native-scrollbars-invisible",Dn=qn+"-native-scrollbars-overlaid",jn=gn+"content",Fn=gn+"content-arrange",Bn=gn+"content-glue",Un=gn+"size-auto-observer",_n=gn+"resize-observer",Qn=gn+"resize-observer-item",Vn=Qn+"-final",Xn=gn+"text-inherit",Yn=gn+an,Kn=Yn+"-track",$n=Kn+"-off",Gn=Yn+"-handle",Jn=Gn+"-off",Zn=Yn+"-unusable",tr=Yn+"-"+Je+Re,er=Yn+"-corner",nr=er+"-resize",rr=nr+"-both",ir=nr+sn,or=nr+cn,ar=Yn+sn,sr=Yn+cn,cr=gn+"dragging",ur=gn+"theme-none",lr={},fr="added removed on contract",hr={},dr=42,vr=[],pr=11,yr=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],mr=[],xr={},wr={};if(We.sleep=function(){_=!0},We.update=function(t){var e,n,o=Si(t)==s.s,a="img",c="load";o?0===t.indexOf(Je)?(e=$r(),n=Kr(),(e||n)&&Zr(!1,n,!1,"+"==t.slice(-1))):"zoom"===t&&Zr(!0,!0):(t=_||t,_=!1,Zr(!1,!1,t,!0)),I||ut.find(a).each(function(t,e){-1===i.inA(e,vr)&&r(e).off(c,Qr).on(c,Qr)})},We.options=function(t,e){if(r.isEmptyObject(t)||!r.isPlainObject(t)){if(Si(t)==s.s){if(arguments.length>=2){var n={};return bi(n,t,e),ti(n),void Zr()}return wi(X,t)}return X}ti(t);var i=_||!1;_=!1,Zr(),_=i},We.destroy=function(){for(var t in T=!0,v.remove(We),zr(),Mr(it),N&&Mr(rt),lr)We.removeExt(t);Ei(it),ot!==n&&Ei(ot),ct!==n&&Ei(ct),N&&Ei(rt),z?(gr(nt,dn,Tr),gr(nt,vn,Hr),gr(nt,pn,Wr)):nt.off(dn,Tr).off(vn,Hr).off(pn,Wr),Ei(ht),Ei(pt),ft&&Ei(ft),Ae||Ur(),ut.contents().unwrap().unwrap().unwrap(),k&&zi(Z,On),I?(et.off(Ze,jr).off("drop",qr).off("focus",Rr).off("focusout",Dr),b>9||!w?et.off("input",Lr):et.off(yn,Pr).off(mn,Nr),Ei(lt),zi(et,Ln+on+Xn).unwrap().removeAttr(c.s),Ei(nt)):(zi(et,Mn),zi(nt,[Mn,Hn,En,Cn,An,zn,Wn,Tn,In,kn,ur,re].join(on)));for(var e=0;e<vr.length;e++)r(vr[e]).off("load",Qr);for(var i in vr=n,o(u,0),ui("onDestroyed"),We)delete We[i];We=n},We.scroll=function(e,i,o,a){if(0===arguments.length||e===n){var u=ke,f=Le,h=ne&&U&&x.i,d=ne&&U&&x.n,v=u.cs,p=u.csr,y=u.ms;return v=h?y-v:v,{x:{position:v*=d?-1:1,ratio:p=h?1-p:p,max:y*=d?-1:1,handleOffset:u.ho,handleLength:u.hl,handleLengthRatio:u.hlr,trackLength:u.tl,isRTL:U,isRTLNormalized:ne},y:{position:f.cs,ratio:f.csr,max:f.ms,handleOffset:f.ho,handleLength:f.hl,handleLengthRatio:f.hlr,trackLength:f.tl}}}var m,w,b,g,O,M,S,C,z,E=ne,H=[en,Qe,"l"],W=[nn,Be,"t"],T=["+=","-=","*=","/="],I={},k=Si(i)==s.o,L="end",P="begin",N="center",q="nearest",R="always",D="never",j="ifneeded",F=c.l,B=[en,nn,"xy","yx"],_=[P,L,N,q],Q=[R,D,j],V=e.hasOwnProperty("el"),X=V?e.el:e,Y=!!(X instanceof r||l)&&X instanceof l,K=!Y&&fi(X),$=function(t,e){for(m=0;m<e[F];m++)if(t===e[m])return!0;return!1},G=function(t){var e={};if(Si(t)==s.a&&t[F]>0)e.x=t[0],e.y=t[1];else if(Si(t)==s.s||Si(t)==s.n)e.x=t,e.y=t;else if(Si(t)==s.o){for(var n in E=Si(t.n)==s.b?t.n:E,t=Ci({},t),m=0,t)t.hasOwnProperty(n)&&(m>2&&delete t[n],m++);var r=function(e){var n=e?H:W;for(m=0;m<n[F];m++)if(n[m]in t)return t[n[m]]};e.x=r(!0),e.y=r(!1)}return e},J=function(e,r){var i,o,a=Si(r)==s.s;a&&We.update(Je+"+");var c,u=e?ke:Le,l=u.cs,f=u.ms,h=" * ",d=U&&e,v=d&&x.n&&!E,p="replace";if(a){if(r[F]>2){var y=r.substr(0,2);for(m=0;m<T[F];m++)if(y===T[m]){i=T[m];break}}r=(r=(r=(r=(r=(r=(r=(r=(r=i!==n?r.substr(2):r)[p](/min/g,0))[p](/</g,0))[p](/max/g,(v?"-":Ge)+tn))[p](/>/g,(v?"-":Ge)+tn))[p](/px/g,Ge))[p](/%/g,h+f*(d&&x.n?-1:1)/100))[p](/vw/g,h+Pe.w))[p](/vh/g,h+Pe.h),o=di(t.parseFloat(t.eval(r)).toFixed())}else o=r;if(o!==n&&!isNaN(o)&&Si(o)==s.n){var w=E&&d,b=l*(w&&x.n?-1:1),g=w&&x.i,O=w&&x.n;switch(b=g?f-b:b,i){case"+=":c=b+o;break;case"-=":c=b-o;break;case"*=":c=b*o;break;case"/=":c=b/o;break;default:c=o}c=g?f-c:c,c*=O?-1:1,c=d&&x.n?Math.min(0,Math.max(f,c)):Math.max(0,Math.min(f,c))}return c===l?n:c},Z=function(t,e,n,r){var i,o,a=[n,n],c=Si(t);if(c==e)t=[t,t];else if(c==s.a){if((i=t[F])>2||i<1)t=a;else for(1===i&&(t[1]=n),m=0;m<i;m++)if(Si(o=t[m])!=e||!$(o,r)){t=a;break}}else t=c==s.o?[t[en]||n,t[nn]||n]:a;return{x:t[0],y:t[1]}},tt=function(t){var e,n,r=[],i=[Be,Ue,_e,Qe];for(m=0;m<t[F]&&m!==i[F];m++)(n=Si(e=t[m]))==s.b?r.push(e?di(z.css(De+i[m])):0):r.push(n==s.n?e:0);return r};if(Y||K){var et,nt=V?e.margin:0,rt=V?e.axis:0,it=V?e.scroll:0,ot=V?e.block:0,ct=[0,0,0,0],ut=Si(nt);if(0===(z=Y?X:r(X))[F])return;We.update(Je+"+"),nt=ut==s.n||ut==s.b?tt([nt,nt,nt,nt]):ut==s.a?2===(et=nt[F])?tt([nt[0],nt[1],nt[0],nt[1]]):et>=4?tt(nt):ct:ut==s.o?tt([nt[Be],nt[Ue],nt[_e],nt[Qe]]):ct,O=$(rt,B)?rt:"xy",M=Z(it,s.s,R,Q),S=Z(ot,s.s,P,_),C=nt;var lt={l:ke.cs,t:Le.cs},ft=at.offset(),ht=z.offset(),dt={x:M.x==D||O==nn,y:M.y==D||O==en};ht[Be]-=C[0],ht[Qe]-=C[3];var vt={x:Math.round(ht[Qe]-ft[Qe]+lt.l),y:Math.round(ht[Be]-ft[Be]+lt.t)};if(U&&(x.n||x.i||(vt.x=Math.round(ft[Qe]-ht[Qe]+lt.l)),x.n&&E&&(vt.x*=-1),x.i&&E&&(vt.x=Math.round(ft[Qe]-ht[Qe]+(ke.ms-lt.l)))),S.x!=P||S.y!=P||M.x==j||M.y==j||U){var pt=z[0],yt=A?pt.getBoundingClientRect():{width:pt[c.oW],height:pt[c.oH]},mt={w:yt[Ye]+C[3]+C[1],h:yt[Ke]+C[0]+C[2]},xt=function(t){var e=ci(t),n=e._wh,r=e.lt,i=e.xy,o=S[i]==(t&&U?P:L),a=S[i]==N,s=S[i]==q,c=M[i]==D,u=M[i]==j,l=Pe[n],f=ft[r],h=mt[n],d=ht[r],v=a?2:1,p=d+h/2,y=f+l/2,m=h<=l&&d>=f&&d+h<=f+l;c?dt[i]=!0:dt[i]||((s||u)&&(dt[i]=!!u&&m,o=h<l?p>y:p<y),vt[i]-=o||a?(l/v-h/v)*(t&&U&&E?-1:1):0)};xt(!0),xt(!1)}dt.y&&delete vt.y,dt.x&&delete vt.x,e=vt}if(I[un]=J(!0,G(e).x),I[ln]=J(!1,G(e).y),w=I[un]!==n,b=I[ln]!==n,(w||b)&&(i>0||k))if(k)st.animate(I,i);else{if(g={duration:i,complete:a},Si(o)==s.a){var wt={};wt[un]=o[0],wt[ln]=o[1],g.specialEasing=wt}else g.easing=o;st.animate(I,g)}else w&&st[un](I[un]),b&&st[ln](I[ln])},We.scrollStop=function(t,e,n){return st.stop(t,e,n),We},We.getElements=function(t){var e={target:et[0],host:nt[0],padding:at[0],viewport:st[0],content:ut[0],scrollbarHorizontal:{scrollbar:ht[0],track:dt[0],handle:vt[0]},scrollbarVertical:{scrollbar:pt[0],track:yt[0],handle:mt[0]},scrollbarCorner:ft[0]};return Si(t)==s.s?wi(e,t):e},We.getState=function(t){var e=function(t){if(!r.isPlainObject(t))return t;var e=Ci(!0,{},t),n=function(t,n){e.hasOwnProperty(t)&&(e[n]=e[t],delete e[t])};return n("w",Ye),n("h",Ke),delete e.c,e},n={sleeping:e(_)||!1,autoUpdate:e(!he),widthAuto:e(Mt),heightAuto:e(St),padding:e(zt),overflowAmount:e(Nt),hideOverflow:e(Ot),hasOverflow:e(gt),contentScrollSize:e(wt),viewportSize:e(Pe),hostSize:e(xt),documentMixed:e(L)};return Si(t)==s.s?wi(n,t):n},We.ext=function(t){var e,n=fr.split(" "),r=0;if(Si(t)==s.s){if(lr.hasOwnProperty(t))for(e=Ci(!0,{},lr[t]);r<n.length;r++)delete e[n[r]]}else for(r in e={},lr)e[r]=Ci(!0,{},We.ext(r));return e},We.addExt=function(e,n){var o,c,u,l,f=t[a].extension(e),h=!0;if(f){if(lr.hasOwnProperty(e))return We.ext(e);if((o=f.extension.call(We,Ci(!0,{},f.defaultOptions),r,i))&&(Si(u=o.contract)==s.f&&(h=Si(l=u(t))==s.b?l:h),h))return lr[e]=o,Si(c=o.added)==s.f&&c(n),We.ext(e)}else console.warn('A extension with the name "'+e+"\" isn't registered.")},We.removeExt=function(t){var e,n=lr[t];return!!n&&(delete lr[t],Si(e=n.removed)==s.f&&e(),!0)},Wi(u,f,h))return o(u,We),We;We=n}function br(t,e,n){for(var r=e.split(on),i=0;i<r.length;i++)t[0].addEventListener(r[i],n,{passive:!0})}function gr(t,e,n){for(var r=e.split(on),i=0;i<r.length;i++)t[0].removeEventListener(r[i],n,{passive:!0})}function Or(t,e){var o=3333333,a=i.rO(),u="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart",l="childNodes",f=function(){t[ln](o)[un](U?x.n?-o:x.i?0:o:o),e()};if(E){var h=t.append(xi(_n+" observed")).contents()[0];(h[bn]=new a(f)).observe(h)}else if(b>9||!w){t.prepend(xi(_n,xi({className:Qn,dir:"ltr"},xi(Qn,xi(Vn))+xi(Qn,xi({className:Vn,style:"width: 200%; height: 200%"})))));var v,p,y,m,g=t[0][l][0][l][0],O=r(g[l][1]),M=r(g[l][0]),S=r(M[0][l][0]),C=g[c.oW],A=g[c.oH],z=2,H=d.nativeScrollbarSize,W=function(){M[un](o)[ln](o),O[un](o)[ln](o)},T=function(){p=0,v&&(C=y,A=m,f())},I=function(t){return y=g[c.oW],m=g[c.oH],v=y!=C||m!=A,t&&v&&!p?(i.cAF()(p),p=i.rAF()(T)):t||T(),W(),t&&(i.prvD(t),i.stpP(t)),!1},k={},L={};L[Be]=-(H.y+1)*z,L[Ue]=H.x*-z,L[_e]=H.y*-z,L[Qe]=-(H.x+1)*z,r(g).css(L),M.on(Ze,I),O.on(Ze,I),t.on(u,function(){I(!1)}),k[Ye]=o,k[Ke]=o,S.css(k),W()}else{var P=J[0],N=P.attachEvent,q=b!==n;if(N)t.prepend(xi(_n)),Hi(t,rn+_n)[0].attachEvent("onresize",f);else{var R=P.createElement(s.o);R.setAttribute("tabindex","-1"),R.setAttribute(c.c,_n),R.onload=function(){var t=this.contentDocument.defaultView;t.addEventListener("resize",f),t.document.documentElement.style.display="none"},R.type="text/html",q&&t.prepend(R),R.data="about:blank",q||t.prepend(R),t.on(u,f)}}if(t[0]===it[0]){var D=function(){var e=nt.css("direction"),n={},r=0,i=!1;return e!==Tt&&("ltr"===e?(n[Qe]=0,n[Ue]=Je,r=o):(n[Qe]=Je,n[Ue]=0,r=x.n?-o:x.i?0:o),it.children().eq(0).css(n),t[un](r)[ln](o),Tt=e,i=!0),i};D(),t.on(Ze,function(t){return D()&&Zr(),i.prvD(t),i.stpP(t),!1})}}function Mr(t){if(E){var e=t.contents()[0];e[bn].disconnect(),delete e[bn]}else Ei(t.children(rn+_n).eq(0))}function Sr(t){}function Cr(t){}function Ar(){de&&!he&&(le.observe(nt[0],{attributes:!0,attributeOldValue:!0,attributeFilter:[c.i,c.c,c.s]}),fe.observe(I?et[0]:ut[0],{attributes:!0,attributeOldValue:!0,subtree:!I,childList:!I,characterData:!I,attributeFilter:I?["wrap","cols","rows"]:[c.i,c.c,c.s]}),he=!0)}function zr(){de&&he&&(le.disconnect(),fe.disconnect(),he=!1)}function Er(){if(!_){var t=it[0],e={w:t[c.sW],h:t[c.sH]};if(W){var n=Oi(e,$t);$t=e,n&&Zr(!0,!1)}else $t=e}}function Hr(){Oe&&ii(!0)}function Wr(){Oe&&!tt.hasClass(cr)&&ii(!1)}function Tr(){ge&&(ii(!0),clearTimeout(me),me=setTimeout(function(){ge&&!T&&ii(!1)},100))}function Ir(t){_||(Q!==n?clearTimeout(Q):((be||ge)&&ii(!0),yi()||Ai(nt,Wn),ui("onScrollStart",t)),ai(!0,st[un]()),ai(!1,st[ln]()),ui("onScroll",t),Q=setTimeout(function(){T||(kr(),ui("onScrollStop",t))},qe))}function kr(){clearTimeout(Q),Q=n,(be||ge)&&ii(!1),yi()||zi(nt,Wn)}function Lr(){Jr(),We.update(Je)}function Pr(t){var e=t.keyCode;if(!pi(e)){if(0===mr.length){var n=function(){Jr(),We.update(Je)};n(),ve=setInterval(n,1e3/60)}-1===r.inArray(e,mr)&&mr.push(e)}}function Nr(t){var e=t.keyCode;if(!pi(e)){var n=r.inArray(e,mr);n>-1&&mr.splice(n,1),0===mr.length&&(Jr(),We.update(Je),clearInterval(ve))}}function qr(){setTimeout(function(){T||(Jr(),We.update(Je))},50)}function Rr(){pe=!0}function Dr(){pe=!1,clearInterval(ve),mr=[],Jr(),We.update(Je)}function jr(t){return et[un](x.i&&ne?9999999:0),et[ln](0),i.prvD(t),i.stpP(t),!1}function Fr(t){if(!_){var e=(t.originalEvent||t).touches!==n;(1===i.mBtn(t)||e)&&(he&&(Ce=!0,zr()),xr=i.page(t),wr.w=nt[0][c.oW]-(P?0:q),wr.h=nt[0][c.oH]-(P?0:R),J.on(xn,_r).on(dn,Br).on(hn,Ur),Ai(tt,cr),ft.setCapture&&ft.setCapture(),i.prvD(t),i.stpP(t))}}function Br(t){var e=i.page(t),n={};(Ee||ze)&&(n[Ye]=wr.w+e.x-xr.x),(He||ze)&&(n[Ke]=wr.h+e.y-xr.y),nt.css(n),i.stpP(t)}function Ur(t){var e=t!==n;J.off(xn,_r).off(dn,Br).off(hn,Ur),zi(tt,cr),ft.releaseCapture&&ft.releaseCapture(),e&&(Ce&&Ar(),We.update(Je)),Ce=!1}function _r(t){return i.prvD(t),!1}function Qr(){Zr()}function Vr(){var t={};return k&&ct&&(t.w=di(ct.css(Ve+Ye)),t.h=di(ct.css(Ve+Ke)),t.c=Oi(t,se),t.f=!0),se=t,t.c||!1}function Xr(t,e){var i=e!==n&&null!==e?e.split(on):Ge,o=t!==n&&null!==t?t.split(on):Ge;if(i===Ge&&o===Ge)return!1;var a,s,c,u,l=hi(o,i),f=!1,h=ie!==n&&null!==ie?ie.split(on):[Ge],d=re!==n&&null!==re?re.split(on):[Ge],v=r.inArray(ur,l),p=l[a];for(v>-1&&l.splice(v,1),a=0;a<l.length;a++)if(0!==(p=l[a]).indexOf(Mn)){for(c=!0,u=!0,s=0;s<h.length;s++)if(p===h[s]){c=!1;break}for(s=0;s<d.length;s++)if(p===d[s]){u=!1;break}if(c&&u){f=!0;break}}return f}function Yr(t){var e=t.attributeName,n=t.target,r=t.type,i="closest";if(n===ut[0])return null===e;if("attributes"===r&&(e===c.c||e===c.s)&&!I){if(typeof n[i]!=s.f)return!0;if(null!==n[i](rn+_n)||null!==n[i](rn+Yn)||null!==n[i](rn+er))return!1}return!0}function Kr(){if(_)return!1;var t,e=I&&Mt&&!jt?et.val().length:0,n=!he&&Mt&&!I,r={},i={};H&&(r={x:st[0][c.sW],y:st[0][c.sH]}),n&&(t=ut.css($e),i[$e]=U?Ue:Qe,i[Ye]=Je,ut.css(i));var o={w:mi()[c.sW]+e,h:mi()[c.sH]+e};n&&(i[$e]=t,i[Ye]=tn,ut.css(i));var a=Vr(),s=Oi(o,Kt),u=Oi(r,ce,en,nn);return Kt=o,ce=r,s||a||u}function $r(){if(_||he)return!1;var t=nt.attr(c.i)||Ge,e=gi(t,Bt),n=nt.attr(c.c)||Ge,r=gi(n,Ut),i=nt.attr(c.s)||Ge,o=gi(i,_t),a=nt.is(":visible")||Ge,s=gi(a,Qt),u=I&&et.attr("rows")||Ge,l=gi(u,Vt),f=I&&et.attr("cols")||Ge,h=gi(f,Xt),d=I&&et.attr("wrap")||Ge,v=gi(d,Yt);return Bt=t,r&&(r=Xr(Ut,n)),Ut=n,_t=i,Qt=a,Vt=u,Xt=f,Yt=d,e||r||o||s||l||h||v}function Gr(t){if(!W)return!0;var e="flex-grow",n="flex-shrink",r="flex-basis",i=[Ye,Ve+Ye,Xe+Ye,De+Qe,De+Ue,Qe,Ue,"font-weight","word-spacing",e,n,r],o=[je+Qe,je+Ue,Fe+Qe+Ye,Fe+Ue+Ye],a=[Ke,Ve+Ke,Xe+Ke,De+Be,De+_e,Be,_e,"line-height",e,n,r],s=[je+Be,je+_e,Fe+Be+Ye,Fe+_e+Ye],c="s",u="v-s",l=Pt.x===c||Pt.x===u,f=!1,h=function(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1};return(Pt.y===c||Pt.y===u)&&((f=h(a,t))||P||(f=h(s,t))),l&&!f&&((f=h(i,t))||P||(f=h(o,t))),f}function Jr(){if(!_){var t,e,n,r,i=!jt,o=Pe.w-(P||It||!Mt?0:R+j),a=Pe.h-(P||It||!St?0:R+j),s={},u=Mt||i,l=et[0];return s[Ve+Ye]=Ge,s[Ve+Ke]=Ge,s[Ye]=Je,et.css(s),t=l[c.oW],e=u?Math.max(t,l[c.sW]-1):1,e+=Mt?F+(P?0:i?0:q+D):0,s[Ye]=Mt?e:tn,s[Ke]=Je,et.css(s),n=l[c.oH],r=Math.max(n,l[c.sH]-1),s[Ye]=e,s[Ke]=r,lt.css(s),s[Ve+Ye]=o+(!P&&Mt?q+D:0),s[Ve+Ke]=a+(!P&&St?R+j:0),et.css(s),{ow:t,oh:n,dw:e,dh:r}}}function Zr(t,e,o,a){var s=i.now(),u=dr>0&&W&&s-K<dr&&!St&&!Mt&&!a,l=nt.is(":hidden"),f=gi(l,ue,o);if(ue=l,clearTimeout($),u&&(hr.h=t,hr.c=e,hr.f=o,$=setTimeout(Zr,dr)),!(T||u||_||W&&!o&&l||"inline"===nt.css("display"))){K=s,t=t||hr.h,e=e||hr.c,o=o||hr.f,hr={},t=t!==n&&t,e=e!==n&&e,o=o!==n&&o,!g||y.x&&y.y?M=Ci(!0,{},d.nativeScrollbarSize):(M.x=0,M.y=0),Ne={x:3*(M.x+(y.x?0:3)),y:3*(M.y+(y.y?0:3))},Sr(it),Sr(rt);var h={l:st[un](),t:st[ln]()},p=Y.scrollbars,b=Y.textarea,S=p.visibility,C=gi(S,Gt,o),A=p.autoHide,E=gi(A,Jt,o),L=p.clickScrolling,Q=gi(L,Zt,o),V=p.dragScrolling,X=gi(V,te,o),G=Y.className,J=gi(G,re,o),Z=Y.resize,tt=gi(Z,ee,o)&&!k,ht=!!I&&"off"!==et.attr("wrap"),dt=gi(ht,jt,o),vt=Y.paddingAbsolute,pt=gi(vt,It,o),yt=Y.clipAlways,mt=gi(yt,kt,o),Tt=Y.sizeAutoCapable&&!k,Bt=gi(Tt,Dt,o),Ut=Y.nativeScrollbarsOverlaid.showNativeScrollbars,_t=gi(Ut,qt),Qt=Y.autoUpdate,Vt=gi(Qt,Rt),Xt=Y.overflowBehavior,Yt=Oi(Xt,Pt,en,nn,o),Kt=b.dynWidth,$t=gi(ae,Kt),ce=b.dynHeight,le=gi(oe,ce);if(we="n"===A,be="s"===A,ge="m"===A,Oe="l"===A,xe=p.autoHideDelay,Me=p.touchSupport,ie=re,Ae="n"===Z,ze="b"===Z,Ee="h"===Z,He="v"===Z,ne=Y.normalizeRTL,Ut=Ut&&y.x&&y.y,Gt=S,Jt=A,Zt=L,te=V,re=G,ee=Z,jt=ht,It=vt,kt=yt,Dt=Tt,qt=Ut,Rt=Qt,Pt=Ci(!0,{},Xt),ae=Kt,oe=ce,gt=gt||{x:!1,y:!1},J&&(zi(nt,ie+on+ur),Ai(nt,G!==n&&null!==G&&G.length>0?G:ur)),Vt&&(!0===Qt?(zr(),v.add(We)):null===Qt&&w?(zr(),v.add(We)):(v.remove(We),Ar())),Bt)if(Tt)if(ot===n&&(ot=r(xi(Bn)),at.before(ot)),N)rt.show();else{rt=r(xi(Un)),ot.before(rt);var fe={w:-1,h:-1};Or(rt,function(){var t={w:rt[0][c.oW],h:rt[0][c.oH]};Oi(t,fe)&&(W&&St&&t.h>0||Mt&&t.w>0?Zr():(W&&!St&&0===t.h||!Mt&&0===t.w)&&Zr()),fe=t}),N=!0,null!==O&&rt.css(Ke,O+"(100% + 1px)")}else N&&rt.hide();o&&(it.find("*").trigger(Ze),N&&rt.find("*").trigger(Ze));var de,ve=nt.css("direction"),ye=gi(ve,Wt,o),me=nt.css("box-sizing"),Se=gi(me,At,o),Ce={c:o,t:di(nt.css(je+Be)),r:di(nt.css(je+Ue)),b:di(nt.css(je+_e)),l:di(nt.css(je+Qe))};try{de=N?rt[0].getBoundingClientRect():null}catch(Ri){return}P="border-box"===me;var Te=(U="rtl"===ve)?Qe:Ue,ke=U?Ue:Qe,Le=nt[0],qe=at[0],Re=!1,rn=!(!N||"none"===nt.css($e))&&(0===Math.round(de.right-de.left)&&(!!vt||Le[c.cW]-q>0));if(Tt&&!rn){var an=Le[c.oW],sn=ot.css(Ye);ot.css(Ye,Je);var cn=Le[c.oW];ot.css(Ye,sn),(Re=an!==cn)||(ot.css(Ye,an+1),cn=Le[c.oW],ot.css(Ye,sn),Re=an!==cn)}var hn=(rn||Re)&&Tt&&!l,yn=gi(hn,Mt,o),mn=!hn&&Mt,xn=!(!N||l)&&0===Math.round(de.bottom-de.top),wn=gi(xn,St,o),bn=!xn&&St,gn="-"+Ye,On=hn&&P||!P,Mn=xn&&P||!P,Sn={c:o,t:Mn?di(nt.css(Fe+Be+gn)):0,r:On?di(nt.css(Fe+Ue+gn)):0,b:Mn?di(nt.css(Fe+_e+gn)):0,l:On?di(nt.css(Fe+Qe+gn)):0},Cn={c:o,t:di(nt.css(De+Be)),r:di(nt.css(De+Ue)),b:di(nt.css(De+_e)),l:di(nt.css(De+Qe))},An={h:String(nt.css(Xe+Ke)),w:String(nt.css(Xe+Ye))},zn={},Ln={};if(q=Ce.l+Ce.r,R=Ce.t+Ce.b,Ce.ax=vt?q:0,Ce.ay=vt?R:0,Ce.c=Mi(Ce,zt),D=Sn.l+Sn.r,j=Sn.t+Sn.b,Sn.c=Mi(Sn,Et),F=Cn.l+Cn.r,B=Cn.t+Cn.b,Cn.c=Mi(Cn,Ht),An.ih=di(An.h),An.iw=di(An.w),An.ch=An.h.indexOf("px")>-1,An.cw=An.w.indexOf("px")>-1,An.c=Oi(An,Ct,o),Wt=ve,At=me,Mt=hn,St=xn,zt=Ce,Et=Sn,Ht=Cn,Ct=An,ye&&N&&rt.css($e,ke),Ce.c||ye||pt||yn||wn||Se||Bt){var Pn={},Nn={};li(Ln,De,[-Ce.t,-Ce.r,-Ce.b,-Ce.l]),vt?(li(Pn,Ge,[Ce.t,Ce.r,Ce.b,Ce.l]),li(I?Nn:zn,je)):(li(Pn,Ge),li(I?Nn:zn,je,[Ce.t,Ce.r,Ce.b,Ce.l])),at.css(Pn),et.css(Nn)}Pe={w:qe[c.oW],h:qe[c.oH]};var qn=!!I&&Jr();if(xn&&(wn||pt||Se||An.c||Ce.c||Sn.c)?(An.cw&&(zn[Xe+Ke]=An.ch?An.ih-Ce.ay+(P?-j:R):Ge),zn[Ke]=Je):(wn||pt)&&(zn[Xe+Ke]=Ge,zn[Ke]=tn),hn&&(yn||pt||Se||An.c||Ce.c||Sn.c||ye)?(An.cw&&(zn[Xe+Ye]=An.cw?An.iw-Ce.ax+(P?-D:q)+(y.y?m.y:0):Ge),zn[Ye]=Je,Ln[Xe+Ye]=tn):(yn||pt)&&(zn[Xe+Ye]=Ge,zn[Ye]=tn,zn[$e]=Ge,Ln[Xe+Ye]=Ge),hn&&(An.cw||(zn[Xe+Ye]=Ge),Ln[Ye]=I&&Kt?qn.dw:Je,zn[Ye]=Je,zn[$e]=ke),xn&&(An.ch||(zn[Xe+Ke]=Ge),Ln[Ke]=I?ce?qn.dh:Je:ut[0][c.cH]),Tt&&ot.css(Ln),ut.css(zn),zn={},Ln={},t||e||ye||Se||pt||yn||hn||wn||xn||An.c||_t||Yt||mt||tt||C||$t||le||dt||o){var Rn="overflow",Dn=Rn+"-x",jn=Rn+"-y",_n="hidden",Qn="visible",Vn=H?y.x||y.y||Pe.w<Ne.y||Pe.h<Ne.x||xn||f:xn,Xn={},Yn=gt.y&&Ot.ys&&!Ut?y.y?st.css(Te):-M.y:0,Kn=gt.x&&Ot.xs&&!Ut?y.x?st.css(_e):-M.x:0;li(Xn,Ge),st.css(Xn),Vn&&ut.css(Rn,_n);var $n=mi(),Gn=H&&!Vn?st[0]:$n,Jn={w:$n[c.cW],h:$n[c.cH]},Zn={w:Math.max($n[c.sW],Gn[c.sW]),h:Math.max($n[c.sH],Gn[c.sH])},tr={w:I&&qn&&!Kt?qn.ow:hn?Jn.w:Zn.w,h:I&&qn&&!ce?qn.oh:xn?Jn.h:Zn.h};Xn[_e]=bn?Ge:Kn,Xn[Te]=mn?Ge:Yn,st.css(Xn),Pe={w:qe[c.oW],h:qe[c.oH]};var er={w:Le[c.cW],h:Le[c.cH]},ar={w:Math.max(tr.w+Ce.ax,er.w-q)-(Kt&&I&&hn?F+(P?0:q+D):0),h:Math.max(tr.h+Ce.ay,er.h-R)};if(ar.c=Oi(ar,Lt,o),Lt=ar,Tt){(ar.c||xn||hn)&&(Ln[Ye]=ar.w,Ln[Ke]=ar.h);var sr=Ln[Ye]+(P?D:-q),cr=Ln[Ke]+(P?j:-q),lr={};(!hn||!hn&&Sn.c)&&(Ln[Ye]=er.w-(P?0:q+D)-1-F),(!xn||!xn&&Sn.c)&&(Ln[Ke]=er.h-(P?0:R+j)-1-B),An.cw&&An.iw===sr&&(Ln[Ye]=sr+(P?0:q)+1),An.ch&&An.ih===cr&&(Ln[Ke]=cr+(P?0:R)+1),hn&&(Jn.w<Pe.w||I&&!ht)&&0===q&&(I&&(lr[Ye]=di(lt.css(Ye))-1),Ln[Ye]-=1),xn&&(Jn.h<Pe.h||I)&&0===R&&(I&&(lr[Ke]=di(lt.css(Ke))-1),Ln[Ke]-=1),tr.h>0&&(Ln[Ye]=Math.max(1,Ln[Ye]),Ln[Ke]=Math.max(1,Ln[Ke])),I&&lt.css(lr),ot.css(Ln)}hn&&(zn[Ye]=tn),!hn||P||he||(zn[$e]="none"),ut.css(zn),zn={};var fr=$n.getBoundingClientRect(),vr={w:Math.max($n[c.sW],Gn[c.sW]),h:Math.max($n[c.sH],Gn[c.sH])};if(Vn&&ut.css(Rn,Ge),fr.width){var pr=fr.width,yr=fr.height,mr=.001;vr.w+=di(pr+mr)-pr,vr.h+=di(yr+mr)-yr}vr.c=e=Oi(vr,wt,o),wt=vr,t=Oi(er={w:Le[c.cW],h:Le[c.cH]},xt),xt=er;var xr={x:"v-s"===Xt.x,y:"v-s"===Xt.y},wr={x:"v-h"===Xt.x,y:"v-h"===Xt.y},Mr={x:"s"===Xt.x,y:"s"===Xt.y},Er={x:Math.max(0,Math.round(100*(vr.w-er.w+Ce.ax))/100),y:Math.max(0,Math.round(100*(vr.h-er.h+Ce.ay))/100)},Ir=I&&(0===Pe.w||0===Pe.h);Ir&&(Er.x=0,Er.y=0);var kr={x:Er.x>0,y:Er.y>0},Lr={x:kr.x,y:kr.y};(xr.x||wr.x)&&(Lr.x=kr.y&&!xr.y&&!wr.y),(xr.y||wr.y)&&(Lr.y=kr.x&&!xr.x&&!wr.x),Lr.xs=!!Lr.x&&(Mr.x||xr.x),Lr.ys=!!Lr.y&&(Mr.y||xr.y);var Pr={x:kr.x&&Lr.xs,y:kr.y&&Lr.ys},Nr=Nt;if(Er.c=Oi(Er,Nt,en,nn,o),Nt=Er,kr.c=Oi(kr,gt,en,nn,o),gt=kr,Lr.c=Oi(Lr,Ot,en,nn,o),Ot=Lr,y.x||y.y){var qr="px solid transparent",Rr={},Dr={},jr=o;(kr.x||kr.y)&&(Dr.w=y.y&&kr.y?vr.w+m.y:Ge,Dr.h=y.x&&kr.x?vr.h+m.x:Ge,jr=gi(Dr,bt,o),bt=Dr),(kr.c||Lr.c||vr.c||ye||yn||wn||hn||xn||_t)&&(zn[De+ke]=zn[Fe+ke]=Ge,y.x&&kr.x&&Lr.xs?(zn[De+_e]=xn?Ut?Ge:m.x:Ge,zn[Fe+_e]=xn||Ut?Ge:m.x+qr):(Dr.h=zn[De+_e]=zn[Fe+_e]=Ge,jr=!0),y.y&&kr.y&&Lr.ys?(zn[De+Te]=hn?Ut?Ge:m.y:Ge,zn[Fe+Te]=Ut?Ge:m.y+qr):(Dr.w=zn[De+Te]=zn[Fe+Te]=Ge,jr=!0)),Ut&&(Dr.w=Dr.h=Ge,jr=!0),jr&&(Rr[Ye]=Lr.y?Dr.w:Ge,Rr[Ke]=Lr.x?Dr.h:Ge,ct||(ct=r(xi(Fn)),st.prepend(ct)),ct.css(Rr)),ut.css(zn)}var Br={};Pn={};if(t||kr.c||Lr.c||vr.c||Yt||Se||_t||ye||mt||wn){Br[ke]=Ge;var Ur=function(){Br[_e]=Ge,Ie.h=0},_r=function(){Br[Te]=Ge,Ie.w=0};if(kr.x&&Lr.xs?(Br[Dn]=Ze,Ut?Ur():(Br[_e]=-(y.x?m.x:M.x),Ie.h=y.x?m.y:0)):(Br[Dn]=Ge,Ur()),kr.y&&Lr.ys?(Br[jn]=Ze,Ut?_r():(Br[Te]=-(y.y?m.y:M.y),Ie.w=y.y?m.x:0)):(Br[jn]=Ge,_r()),(Pe.h<Ne.x||Pe.w<Ne.y)&&(kr.x&&Lr.x&&!y.x||kr.y&&Lr.y&&!y.y)?(Br[je+Be]=Ne.x,Br[De+Be]=-Ne.x,Br[je+ke]=Ne.y,Br[De+ke]=-Ne.y):Br[je+Be]=Br[De+Be]=Br[je+ke]=Br[De+ke]=Ge,Br[je+Te]=Br[De+Te]=Ge,kr.x&&Lr.x||kr.y&&Lr.y||Ir?I&&Ir&&(Pn[Dn]=Pn[jn]=_n):(!yt||wr.x||xr.x||wr.y||xr.y)&&(I&&(Pn[Dn]=Pn[jn]=Ge),Br[Dn]=Br[jn]=Qn),at.css(Pn),st.css(Br),Br={},(kr.c||Se||yn||wn)&&(!y.x||!y.y)){var Qr=ut[0],Xr=Qr[c.s];Xr.webkitTransform="scale(1)",Xr.display="run-in",Qr[c.oH],Xr.display=Ge,Xr.webkitTransform=Ge}}if(zn={},ye||yn||wn)if(U&&hn){var Yr=ut.css($e),Kr=Math.round(ut.css($e,Ge).css(Qe,Ge).position().left);ut.css($e,Yr),Kr!==Math.round(ut.position().left)&&(zn[Qe]=Kr)}else zn[Qe]=Ge;ut.css(zn);var $r="v"===S,Gr="h"===S,ti="a"===S,ei=i.bind(ri,0,!0,!0,Pr.x),ni=i.bind(ri,0,!1,!0,Pr.y),ci=i.bind(ri,0,!0,!1,Pr.x),fi=i.bind(ri,0,!1,!1,Pr.y);if(Lr.x||Lr.y?Ai(nt,Tn):zi(nt,Tn),Lr.x?Ai(nt,In):zi(nt,In),Lr.y?Ai(nt,kn):zi(nt,kn),ye&&(U?Ai(nt,En):zi(nt,En)),k&&Ai(nt,Hn),tt){var hi=function(){ft.on(fn,Fr)},pi=function(){ft.off(fn,Fr)};Ae?(Ai(nt,Hn),zi(ft,[nr,rr,ir,or].join(on)),pi()):(zi(nt,Hn),Ai(ft,nr),ze?Ai(ft,rr):Ee?Ai(ft,ir):He&&Ai(ft,or),pi(),hi())}if((C||Yt||Lr.c||kr.c||_t)&&(Ut?_t&&(zi(nt,Wn),Ut&&(ci(),fi())):ti?(Pr.x?ei():ci(),Pr.y?ni():fi()):$r?(ei(),ni()):Gr&&(ci(),fi())),E||_t){var yi=function(t){z?t?br(nt,dn,Tr):(br(nt,vn,Hr),br(nt,pn,Wr)):t?nt.on(dn,Tr):nt.on(vn,Hr).on(pn,Wr),W||nt.one("mouseover",Hr)},wi=function(){z?(gr(nt,dn,Tr),gr(nt,vn,Hr),gr(nt,pn,Wr)):nt.off(dn,Tr).off(vn,Hr).off(pn,Wr)};Oe||ge?(wi(),yi(ge)):wi(),we?ii(!0):ii(!1,!0)}if((t||Er.c||wn||yn||tt||Se||pt||_t||ye)&&(oi(!0),ai(!0,h.l),oi(!1),ai(!1,h.t)),Q&&si(!0,L),X&&si(!1,V),I&&e){var bi=vi();if(bi){var Si=Ft===n||bi.rows!==Ft.rows,Ei=bi.cR,Hi=bi.cC,Wi=bi.w,Ti=bi.r,Ii=bi.c,ki=bi.p,Li=bi.m===ki&&pe,Pi={x:ht||Hi!==Ii||Ei!==Wi?-1:Nt.x,y:(ht?Li||Si&&Nr!==n&&h.t===Nr.y:(Li||Si)&&Ei===Ti)?Nt.y:-1},Ni=Pi.x>-1,qi=Pi.y>-1;(Ni||qi)&&(qi&&st[ln](Pi.y),Ni&&(U&&ne&&x.i?st[un](0):st[un](Pi.x)))}Ft=bi}else I||(U&&x.i&&y.y&&kr.x&&ne&&(h.l+=Ie.w||0),st[un](h.l),st[ln](h.t));ye&&ui("onDirectionChanged",{isRTL:U,dir:ve}),t&&ui("onHostSizeChanged",{width:xt.w,height:xt.h}),e&&ui("onContentSizeChanged",{width:wt.w,height:wt.h}),(kr.c||Lr.c)&&ui("onOverflowChanged",{x:kr.x,y:kr.y,xScrollable:Lr.xs,yScrollable:Lr.ys,clipped:Lr.x||Lr.y}),Er.c&&ui("onOverflowAmountChanged",{x:Er.x,y:Er.y})}k&&(gt.c||se.c)&&(se.f||Vr(),y.y&&gt.x&&ut.css(Ve+Ye,se.w+m.y),y.x&&gt.y&&ut.css(Ve+Ke,se.h+m.x),se.c=!1),Cr(it),Cr(rt),ui("onUpdated",{forced:o})}}function ti(t){X=Ci(!0,{},X,C.v(t,C.t,!0)),Y=Ci(!0,{},Y,C.v(t,C.t,!1,!0))}function ei(){ht=r(xi(Yn+on+ar)),dt=r(xi(Kn)),vt=r(xi(Gn)),pt=r(xi(Yn+on+sr)),yt=r(xi(Kn)),mt=r(xi(Gn)),ht.append(dt),dt.append(vt),pt.append(yt),yt.append(mt),at.after(pt),at.after(ht),S&&(ht.on(wn,function(t){t.target===ht[0]&&(oi(!0),ai(!0,st[un]()))}),pt.on(wn,function(t){t.target===pt[0]&&(oi(!1),ai(!1,st[ln]()))})),ni(!0),ni(!1),ft=r(xi(er)),nt.append(ft)}function ni(t){var e,o,a,s=ci(t),c=G.top!==G,u=s.xy,l=s.XY,f=Ze+s.LT,h="active",d=1,v=[16,17];function p(){d=.5}function y(){d=1}function m(t){r.inArray(t.keyCode,v)>-1&&p()}function w(t){r.inArray(t.keyCode,v)>-1&&y()}function g(t){var e=(t.originalEvent||t).touches!==n;return!(_||yi()||!te||e&&!Me)&&(1===i.mBtn(t)||e)}function O(n){if(g(n)){var r=s.i.tl,a=s.i.hl,h=s.i.ms*(((b&&c?n["screen"+l]:i.page(n)[u])-o)/(r-a));h=isFinite(h)?h:0,U&&t&&!x.i&&(h*=-1),st[f](e+h),z||i.prvD(n)}else M(n)}function M(t){t=t||t.originalEvent,zi(tt,cr),zi(s.h,h),zi(s.t,h),zi(s.s,h),J.off(dn,O).off(hn,M).off(yn,m).off(mn,w).off(xn,_r),y(),e=n,o=n,a!==n&&(We.scrollStop(),clearTimeout(a),a=n);var r=nt[0].getBoundingClientRect();t.clientX>=r.left&&t.clientX<=r.right&&t.clientY>=r.top&&t.clientY<=r.bottom||Wr(),(be||ge)&&ii(!1)}function S(r){e=(e=st[f]())===n?0:e,(U&&t&&!x.n||!U)&&(e=e<0?0:e),o=b&&c?r["screen"+l]:i.page(r)[u],Ai(tt,cr),Ai(s.h,h),Ai(s.s,h),J.on(dn,O).on(hn,M).on(xn,_r),!b&&L||i.prvD(r),i.stpP(r)}s.h.on(fn,function(t){g(t)&&S(t)}),s.t.on(fn,function(e){if(g(e)){var r,c,l=Pe[s._wh],v=s.t.offset()[s.lt],y=e.ctrlKey,b=e.shiftKey,O=b&&y,C=!0,A="linear",z=function(){if(!T){var i=o-v,h=s.i.tl,p=s.i.ho,y=s.i.hl,m=s.i.ms,w=270*d,g=C?Math.max(400,w):w,M=m*((i-y/2)/(h-y)),E=U&&t&&(!x.i&&!x.n||ne),H=E?p<i:p>i,W={};b?(M=isFinite(M)?M:0,U&&t&&!x.i&&(M=m-M),O?(W.n=!1,W[u]=M,We.scroll(W,130,A,function(){S(e)})):(st[f](M),S(e))):(r=C?H:r,c=E?r?p+y>=i:p<=i:r?p<=i:p+y>=i,W[u]=r?"-="+l:"+="+l,We.scrollStop(),We.scroll(W,w,A),c?(clearTimeout(a),We.scrollStop(),a=n):a=setTimeout(z,g),C=!1)}};y&&p(),o=i.page(e)[u],Ai(tt,cr),Ai(s.t,h),Ai(s.s,h),J.on(hn,M).on(yn,m).on(mn,w).on(xn,_r),z(),i.prvD(e),i.stpP(e)}}).hover(function(){(be||ge)&&(Se=!0,ii(!0))},function(){(be||ge)&&(Se=!1,ii(!1))}),s.s.on(fn,function(t){i.stpP(t)})}function ri(t,e,n){var r=t?Cn:An,i=t?ht:pt;e?zi(nt,r):Ai(nt,r),n?zi(i,Zn):Ai(i,Zn)}function ii(t,e){if(clearTimeout(ye),t)zi(ht,tr),zi(pt,tr);else{var n="active",r=function(){if(!Se&&!T){var t=vt.hasClass(n)||mt.hasClass(n);!t&&(be||ge||Oe)&&Ai(ht,tr),!t&&(be||ge||Oe)&&Ai(pt,tr)}};xe>0&&!0!==e?ye=setTimeout(r,xe):r()}}function oi(t){var e={},n=ci(t),r=1e6,i=Math.min(1,(xt[n._wh]-(It?t?q:R:0))/wt[n._wh]);e[n.wh]=Math.floor(100*i*r)/r+"%",yi()||n.h.css(e),n.i.hl=n.h[0]["offset"+n.WH],n.i.hlr=i}function ai(t,e){var n,r,i,o=U&&t,a={},s=ci(t),c="translate(",u="transform",l=st[0][Ze+s.WH]-st[0]["client"+s.WH],f=s.i.hl,h=s.t[0]["offset"+s.WH],d=h-f;x.n&&o&&(l*=-1),i=e/l,i=isNaN(i)?0:Math.min(1,i),s.i.ms=l,s.i.cs=e,s.i.csr=i,d*=i,d=isNaN(d)?0:d,o&&!x.i&&(d=h-f-d),d=Math.max(0,d),A?(r=(r=o?-(h-f-d):d)/h*100*(h/f),n=t?c+r+"%, 0)":c+"0, "+r+"%)",a["-webkit-"+u]=n,a["-moz-"+u]=n,a["-ms-"+u]=n,a["-o-"+u]=n,a[u]=n):a[s.lt]=d,yi()||s.h.css(a),s.i.ho=d,s.i.tl=h}function si(t,e){var n=e?"removeClass":"addClass",r=t?yt:mt,i=t?$n:Jn;(t?dt:vt)[n](i),r[n](i)}function ci(t){return{wh:t?Ye:Ke,WH:t?"Width":"Height",lt:t?Qe:Be,LT:t?"Left":"Top",xy:t?en:nn,XY:t?"X":"Y",_wh:t?"w":"h",_lt:t?"l":"t",t:t?dt:yt,h:t?vt:mt,s:t?ht:pt,i:t?ke:Le}}function ui(t,e){if(W){var n,i=Y.callbacks[t],o=t;"on"===o.substr(0,2)&&(o=o.substr(2,1).toLowerCase()+o.substr(3)),Si(i)==s.f&&i.call(We,e),r.each(lr,function(){Si((n=this).on)==s.f&&n.on(o,e)})}}function li(t,e,r){r===n&&(r=[Ge,Ge,Ge,Ge]),t[e+Be]=r[0],t[e+Ue]=r[1],t[e+_e]=r[2],t[e+Qe]=r[3]}function fi(e){var n="ownerDocument",r="HTMLElement",i=e&&e[n]&&e[n].parentWindow||t;return typeof i[r]==s.o?e instanceof i[r]:e&&typeof e==s.o&&null!==e&&1===e.nodeType&&typeof e.nodeName==s.s}function hi(t,e){var n,r,i=[],o=[];for(n=0;n<t.length;n++)i[t[n]]=!0;for(n=0;n<e.length;n++)i[e[n]]?delete i[e[n]]:i[e[n]]=!0;for(r in i)o.push(r);return o}function di(e){var n=t.parseInt(e);return isNaN(n)?0:n}function vi(){var t=et[0].selectionStart;if(t!==n){var e,r,i="length",o=et.val(),a=o[i],s=o.split("\n"),c=s[i],u=o.substr(0,t).split("\n"),l=0,f=0,h=u[i],d=u[u[i]-1][i];for(r=0;r<s[i];r++)(e=s[r][i])>f&&(l=r+1,f=e);return{cR:h,cC:d,r:c,c:f,w:l,p:t,m:a}}}function pi(t){for(var e=0;e<yr.length;e++)if(t===yr[e])return!0;return!1}function yi(){return qt&&y.x&&y.y}function mi(){return I?lt[0]:ut[0]}function xi(t,e){return"<div "+(t?Si(t)==s.s?'class="'+t+'"':function(){var e,n="";if(r.isPlainObject(t))for(e in t)n+=("className"===e?"class":e)+'="'+t[e]+'" ';return n}():Ge)+">"+(e||Ge)+"</div>"}function wi(t,e){for(var n,r=e.split(rn),i=0;i<r.length;i++){if(!t.hasOwnProperty(r[i]))return;n=t[r[i]],i<r.length&&Si(n)==s.o&&(t=n)}return n}function bi(t,e,n){for(var i=e.split(rn),o=i.length,a=0,s={},c=s;a<o;a++)s=s[i[a]]=a+1<o?{}:n;r.extend(t,c,!0)}function gi(t,e,r){return!0===r?r:e===n||t!==e}function Oi(t,e,r,i,o){if(!0===o)return o;if(i===n&&o===n){if(!0===r)return r;r=n}return r=r===n?"w":r,i=i===n?"h":i,e===n||(t[r]!==e[r]||t[i]!==e[i])}function Mi(t,e){return e===n||(t.t!==e.t||t.r!==e.r||t.b!==e.b||t.l!==e.l)}function Si(t){return r.type(t)}function Ci(){return r.extend.apply(this,arguments)}function Ai(t,e){return Te.addClass.call(t,e)}function zi(t,e){return Te.removeClass.call(t,e)}function Ei(t){return Te.remove.call(t)}function Hi(t,e){return Te.find.call(t,e).eq(0)}function Wi(t,n,o){if(V=d.defaultOptions,g=d.nativeScrollbarStyling,M=Ci(!0,{},d.nativeScrollbarSize),y=Ci(!0,{},d.nativeScrollbarIsOverlaid),m=Ci(!0,{},d.overlayScrollbarDummySize),x=Ci(!0,{},d.rtlScrollBehavior),ti(Ci(!0,{},V,n)),y.x&&y.x&&!Y.nativeScrollbarsOverlaid.initialize)return ui("onInitializationWithdrawn"),!1;var a;if(O=d.cssCalc,b=d.msie,w=d.autoUpdateRecommended,S=d.supportTransition,A=d.supportTransform,z=d.supportPassiveEvents,E=d.supportResizeObserver,de=d.supportMutationObserver,H=d.restrictedMeasuring,J=r(t.ownerDocument),G=r(J[0].defaultView||J[0].parentWindow),Z=Hi(J,"html"),tt=Hi(Z,"body"),et=r(t),I=et.is("textarea"),k=et.is("body"),L=J[0]!==e,k&&((a={}).l=Math.max(et[un](),Z[un](),G[un]()),a.t=Math.max(et[ln](),Z[ln](),G[ln]())),I){et.wrap(xi(Sn)),Ai(et,Ln+on+Xn),nt=et.parent();var u={};Y.sizeAutoCapable||(u[Ye]=et.css(Ye),u[Ke]=et.css(Ke)),nt.css(u).wrapInner(xi(jn+on+Xn)).wrapInner(xi(qn+on+Xn)).wrapInner(xi(Nn+on+Xn)),ut=Hi(nt,rn+jn),st=Hi(nt,rn+qn),at=Hi(nt,rn+Nn),lt=r(xi(Pn)),ut.prepend(lt),et.on(Ze,jr).on("drop",qr).on("focus",Rr).on("focusout",Dr),b>9||!w?et.on("input",Lr):et.on(yn,Pr).on(mn,Nr)}else Ai(et,Mn),(nt=et).wrapInner(xi(jn)).wrapInner(xi(qn)).wrapInner(xi(Nn)),ut=Hi(nt,rn+jn),st=Hi(nt,rn+qn),at=Hi(nt,rn+Nn),ut.on(wn,function(t){!0!==Rt&&Gr((t=t.originalEvent||t).propertyName)&&Zr(Je)});if(ei(),z?br(st,Ze,Ir):st.on(Ze,Ir),g&&Ai(st,y.x&&y.y?Dn:Rn),de){var l,f,h,v,p,C,P=i.mO(),N=i.now();le=new P(function(t){if(W&&!_){var e,n=!1;r.each(t,function(){if(l=(e=this).target,f=e.attributeName,n=f===c.c?Xr(e.oldValue,l.className):f!==c.s||e.oldValue!==l[c.s].cssText)return!1}),n&&We.update(Je)}}),fe=new P(function(t){if(W&&!_){var e=!1;r.each(t,function(){return!(e=Yr(this))}),e&&(v=i.now(),p=St||Mt,C=function(){T||(N=v,I&&Jr(),p?Zr():We.update(Je))},clearTimeout(h),pr<=0||v-N>pr||!p?C():h=setTimeout(C,pr))}})}return k&&(Ai(Z,On),st[un](a.l),st[ln](a.t)),it=r(xi("os-resize-observer-host")),nt.prepend(it),Or(it,Er),Er(),We.update(Je),setTimeout(function(){S&&!T&&Ai(nt,zn)},333),W=!0,ui("onInitialized"),Si(o)==s.s&&(o=[o]),r.isArray(o)?r.each(o,function(){We.addExt(this)}):r.isPlainObject(o)&&r.each(o,function(t,e){We.addExt(t,e)}),W}}return t[a]=function(e,i,s){if(0===arguments.length)return this;A();var c,l,h=[];return r.isPlainObject(i)?e&&e.length?(r.each(e,function(){(c=this)!==n&&h.push(H(c,i,s,u,f))}),l=h.length>1?h:h[0]):l=H(e,i,s,u,f):e&&(e.length&&e.length>0?(r.each(e,function(){c=o(this),"!"===i?c instanceof t[a]&&h.push(c):h.push(c)}),l=h.length>1?h:h[0]):l=o(e)),l},t[a].globals=function(){A();var t=r.extend(!0,{},u);return delete t.msie,t},t[a].defaultOptions=function(t){A();var e=u.defaultOptions;if(t===n)return r.extend(!0,{},e);u.defaultOptions=r.extend(!0,{},e,C.v(t,C.t,!0))},t[a].extension=function(t,e,n){var i=r.type(t)==s.s,o=arguments[c.l],a=0;if(o<1||!i)return r.extend(!0,{length:S[c.l]},S);if(i)if(r.type(e)==s.f)S.push({name:t,extension:e,defaultOptions:n});else for(;a<S[c.l];a++)if(S[a].name===t){if(!(o>1))return r.extend(!0,{},S[a]);S.splice(a,1)}},t[a]}(function(r){var i=/[^\x20\t\r\n\f]+/g,o=Object[c.p].toString,a=" ",u="",l="scrollLeft",f="scrollTop",h=[],d={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},v={swing:function(t,e,n,r,i){return.5-Math.cos(t*Math.PI)/2},linear:function(t,e,n,r,i){return t},easeInQuad:function(t,e,n,r,i){return r*(e/=i)*e+n},easeOutQuad:function(t,e,n,r,i){return-r*(e/=i)*(e-2)+n},easeInOutQuad:function(t,e,n,r,i){return(e/=i/2)<1?r/2*e*e+n:-r/2*(--e*(e-2)-1)+n},easeInCubic:function(t,e,n,r,i){return r*(e/=i)*e*e+n},easeOutCubic:function(t,e,n,r,i){return r*((e=e/i-1)*e*e+1)+n},easeInOutCubic:function(t,e,n,r,i){return(e/=i/2)<1?r/2*e*e*e+n:r/2*((e-=2)*e*e+2)+n},easeInQuart:function(t,e,n,r,i){return r*(e/=i)*e*e*e+n},easeOutQuart:function(t,e,n,r,i){return-r*((e=e/i-1)*e*e*e-1)+n},easeInOutQuart:function(t,e,n,r,i){return(e/=i/2)<1?r/2*e*e*e*e+n:-r/2*((e-=2)*e*e*e-2)+n},easeInQuint:function(t,e,n,r,i){return r*(e/=i)*e*e*e*e+n},easeOutQuint:function(t,e,n,r,i){return r*((e=e/i-1)*e*e*e*e+1)+n},easeInOutQuint:function(t,e,n,r,i){return(e/=i/2)<1?r/2*e*e*e*e*e+n:r/2*((e-=2)*e*e*e*e+2)+n},easeInSine:function(t,e,n,r,i){return-r*Math.cos(e/i*(Math.PI/2))+r+n},easeOutSine:function(t,e,n,r,i){return r*Math.sin(e/i*(Math.PI/2))+n},easeInOutSine:function(t,e,n,r,i){return-r/2*(Math.cos(Math.PI*e/i)-1)+n},easeInExpo:function(t,e,n,r,i){return 0==e?n:r*Math.pow(2,10*(e/i-1))+n},easeOutExpo:function(t,e,n,r,i){return e==i?n+r:r*(1-Math.pow(2,-10*e/i))+n},easeInOutExpo:function(t,e,n,r,i){return 0==e?n:e==i?n+r:(e/=i/2)<1?r/2*Math.pow(2,10*(e-1))+n:r/2*(2-Math.pow(2,-10*--e))+n},easeInCirc:function(t,e,n,r,i){return-r*(Math.sqrt(1-(e/=i)*e)-1)+n},easeOutCirc:function(t,e,n,r,i){return r*Math.sqrt(1-(e=e/i-1)*e)+n},easeInOutCirc:function(t,e,n,r,i){return(e/=i/2)<1?-r/2*(Math.sqrt(1-e*e)-1)+n:r/2*(Math.sqrt(1-(e-=2)*e)+1)+n},easeInElastic:function(t,e,n,r,i){var o=1.70158,a=0,s=r;if(0==e)return n;if(1==(e/=i))return n+r;if(a||(a=.3*i),s<Math.abs(r)){s=r;o=a/4}else o=a/(2*Math.PI)*Math.asin(r/s);return-s*Math.pow(2,10*(e-=1))*Math.sin((e*i-o)*(2*Math.PI)/a)+n},easeOutElastic:function(t,e,n,r,i){var o=1.70158,a=0,s=r;if(0==e)return n;if(1==(e/=i))return n+r;if(a||(a=.3*i),s<Math.abs(r)){s=r;o=a/4}else o=a/(2*Math.PI)*Math.asin(r/s);return s*Math.pow(2,-10*e)*Math.sin((e*i-o)*(2*Math.PI)/a)+r+n},easeInOutElastic:function(t,e,n,r,i){var o=1.70158,a=0,s=r;if(0==e)return n;if(2==(e/=i/2))return n+r;if(a||(a=i*(.3*1.5)),s<Math.abs(r)){s=r;o=a/4}else o=a/(2*Math.PI)*Math.asin(r/s);return e<1?s*Math.pow(2,10*(e-=1))*Math.sin((e*i-o)*(2*Math.PI)/a)*-.5+n:s*Math.pow(2,-10*(e-=1))*Math.sin((e*i-o)*(2*Math.PI)/a)*.5+r+n},easeInBack:function(t,e,r,i,o,a){return a==n&&(a=1.70158),i*(e/=o)*e*((a+1)*e-a)+r},easeOutBack:function(t,e,r,i,o,a){return a==n&&(a=1.70158),i*((e=e/o-1)*e*((a+1)*e+a)+1)+r},easeInOutBack:function(t,e,r,i,o,a){return a==n&&(a=1.70158),(e/=o/2)<1?i/2*(e*e*((1+(a*=1.525))*e-a))+r:i/2*((e-=2)*e*((1+(a*=1.525))*e+a)+2)+r},easeInBounce:function(t,e,n,r,i){return r-this.easeOutBounce(t,i-e,0,r,i)+n},easeOutBounce:function(t,e,n,r,i){return(e/=i)<1/2.75?r*(7.5625*e*e)+n:e<2/2.75?r*(7.5625*(e-=1.5/2.75)*e+.75)+n:e<2.5/2.75?r*(7.5625*(e-=2.25/2.75)*e+.9375)+n:r*(7.5625*(e-=2.625/2.75)*e+.984375)+n},easeInOutBounce:function(t,e,n,r,i){return e<i/2?.5*this.easeInBounce(t,2*e,0,r,i)+n:.5*this.easeOutBounce(t,2*e-i,0,r,i)+.5*r+n}},p=function(){var t,e,r,i,o,a,u=arguments[0]||{},l=1,f=arguments[c.l],h=!1;for("boolean"==typeof u&&(h=u,u=arguments[1]||{},l=2),typeof u!=s.o&&!y(u)==s.f&&(u={}),f===l&&(u=M,--l);l<f;l++)if(null!=(o=arguments[l]))for(i in o)t=u[i],u!==(r=o[i])&&(h&&r&&(b(r)||(e=x(r)))?(e?(e=!1,a=t&&x(t)?t:[]):a=t&&b(t)?t:{},u[i]=p(h,a,r)):r!==n&&(u[i]=r));return u},y=function(t){return t===n?t+u:null===t?t+u:o.call(t).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},m=function(t){return y(t)==s.f},x=function(t){return y(t)==s.a},w=function(t){for(var e in t)return!1;return!0},b=function(t){if(!t||y(t)!=s.o)return!1;var e,n=c.p,r=Object[n].hasOwnProperty,i=r.call(t,"constructor"),o=t.constructor&&t.constructor[n]&&r.call(t.constructor[n],"isPrototypeOf");if(t.constructor&&!i&&!o)return!1;for(e in t);return typeof e==s.u||r.call(t,e)},g=function(t,e,n){for(var r=n||0;r<e[c.l];r++)if(e[r]===t)return r;return-1},O=function(t,e){var n=0;if(S(t))for(;n<t[c.l]&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},M=function(t){if(0===arguments[c.l])return this;var n,r,i=new M,o=t,a=0;if(y(t)==s.s)for(o=[],"<"===t.charAt(0)?((r=e.createElement("div")).innerHTML=t,n=r.children):n=e.querySelectorAll(t);a<n[c.l];a++)o.push(n[a]);if(o){for(y(o)==s.s||S(o)||(o=[o]),a=0;a<o[c.l];a++)i[a]=o[a];i[c.l]=o[c.l]}return i};function S(e){var n=!!e&&[c.l]in e&&e[c.l],r=y(e);return!m(r)&&e!==t&&(r==s.a||0===n||typeof n==s.n&&n>0&&n-1 in e)}function C(t){return(t.match(i)||[]).join(a)}function A(t,n){for(var r=(t.parentNode||e).querySelectorAll(n)||[],i=r[c.l];i--;)if(r[i]==t)return!0;return!1}function z(t,e,n){if(y(n)==s.a)for(var r=0;r<n[c.l];r++)z(t,e,n[r]);else y(n)==s.s?t.insertAdjacentHTML(e,n):n.nodeType?t.insertAdjacentElement(e,n):t.insertAdjacentElement(e,n[0])}function E(t,e,r){try{t[c.s][e]!==n&&(t[c.s][e]=H(e,r))}catch(i){}}function H(t,e){return d[t.toLowerCase()]||y(e)!=s.n||(e+="px"),e}function W(t,e){var n,r;!1!==e&&t.q.splice(0,1),t.q[c.l]>0?(r=t.q[0],I(t.el,r.props,r.duration,r.easing,r.complete,!0)):(n=g(t,h))>-1&&h.splice(n,1)}function T(t,e,n){e===l?t[e]=n:e===f?t[e]=n:E(t,e,n)}function I(t,e,i,o,a,s){var u,d,p,y,x,O,S=b(i),C={},A={},z=0;for(S?(o=i.easing,i.start,p=i.progress,y=i.step,x=i.specialEasing,a=i.complete,O=i.duration):O=i,x=x||{},O=O||400,o=o||"swing",s=s||!1;z<h[c.l];z++)if(h[z].el===t){d=h[z];break}for(u in d||(d={el:t,q:[]},h.push(d)),e)C[u]=u===l||u===f?t[u]:M(t).css(u);for(u in C)C[u]!==e[u]&&e[u]!==n&&(A[u]=e[u]);if(w(A))s&&W(d);else{var E,H,I,k,L,P,N,q,R,D=s?0:g(j,d.q),j={props:A,duration:S?i:O,easing:o,complete:a};if(-1===D&&(D=d.q[c.l],d.q.push(j)),0===D)if(O>0)N=r.now(),q=function(){for(u in E=r.now(),R=E-N,H=j.stop||R>=O,I=1-(Math.max(0,N+O-E)/O||0),A)k=parseFloat(C[u]),L=parseFloat(A[u]),P=(L-k)*v[x[u]||o](I,I*O,0,1,O)+k,T(t,u,P),m(y)&&y(P,{elem:t,prop:u,start:k,now:P,end:L,pos:I,options:{easing:o,speacialEasing:x,duration:O,complete:a,step:y},startTime:N});m(p)&&p({},I,Math.max(0,O-R)),H?(W(d),m(a)&&a()):j.frame=r.rAF()(q)},j.frame=r.rAF()(q);else{for(u in A)T(t,u,A[u]);W(d)}}}function k(t,e,n){for(var i,o,a,s=0;s<h[c.l];s++)if((i=h[s]).el===t){if(i.q[c.l]>0){if((o=i.q[0]).stop=!0,r.cAF()(o.frame),i.q.splice(0,1),n)for(a in o.props)T(t,a,o.props[a]);e?i.q=[]:W(i,!1)}break}}return M[c.p]={on:function(t,e){var n,r=(t=(t||u).match(i)||[u])[c.l],o=0;return this.each(function(){n=this;try{if(n.addEventListener)for(;o<r;o++)n.addEventListener(t[o],e);else if(n.detachEvent)for(;o<r;o++)n.attachEvent("on"+t[o],e)}catch(i){}})},off:function(t,e){var n,r=(t=(t||u).match(i)||[u])[c.l],o=0;return this.each(function(){n=this;try{if(n.removeEventListener)for(;o<r;o++)n.removeEventListener(t[o],e);else if(n.detachEvent)for(;o<r;o++)n.detachEvent("on"+t[o],e)}catch(i){}})},one:function(t,e){return t=(t||u).match(i)||[u],this.each(function(){var n=M(this);M.each(t,function(t,r){var i=function(t){e.call(this,t),n.off(r,i)};n.on(r,i)})})},trigger:function(t){var n,r;return this.each(function(){n=this,e.createEvent?((r=e.createEvent("HTMLEvents")).initEvent(t,!0,!1),n.dispatchEvent(r)):n.fireEvent("on"+t)})},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)},append:function(t){return this.each(function(){z(this,"beforeend",t)})},prepend:function(t){return this.each(function(){z(this,"afterbegin",t)})},before:function(t){return this.each(function(){z(this,"beforebegin",t)})},after:function(t){return this.each(function(){z(this,"afterend",t)})},remove:function(){return this.each(function(){var t=this,e=t.parentNode;null!=e&&e.removeChild(t)})},unwrap:function(){var t,e,n,r=[];for(this.each(function(){n=this.parentNode,-1===g(n,r)&&r.push(n)}),t=0;t<r[c.l];t++){for(e=r[t],n=e.parentNode;e.firstChild;)n.insertBefore(e.firstChild,e);n.removeChild(e)}return this},wrapAll:function(t){for(var e,n=this,r=M(t)[0],i=r,o=n[0].parentNode,a=n[0].previousSibling;i.childNodes[c.l]>0;)i=i.childNodes[0];for(e=0;n[c.l]-e;i.firstChild===n[0]&&e++)i.appendChild(n[e]);var s=a?a.nextSibling:o.firstChild;return o.insertBefore(r,s),this},wrapInner:function(t){return this.each(function(){var e=M(this),n=e.contents();n[c.l]?n.wrapAll(t):e.append(t)})},wrap:function(t){return this.each(function(){M(this).wrapAll(t)})},css:function(e,r){var i,o,a,u=t.getComputedStyle;return y(e)==s.s?r===n?(i=this[0],a=u?u(i,null):i.currentStyle[e],u&&null!=a?a.getPropertyValue(e):i[c.s][e]):this.each(function(){E(this,e,r)}):this.each(function(){for(o in e)E(this,o,e[o])})},hasClass:function(t){for(var e,n,r=0,i=a+t+a;e=this[r++];)if(n=e.classList){if(n.contains(t))return!0}else if(1===e.nodeType&&(a+C(e.className+u)+a).indexOf(i)>-1)return!0;return!1},addClass:function(t){var e,r,o,s,c,l,f,h,d=0,v=0;if(t)for(e=t.match(i)||[];r=this[d++];)if(h=r.classList,f===n&&(f=h!==n),f)for(;c=e[v++];)h.add(c);else if(s=r.className+u,o=1===r.nodeType&&a+C(s)+a){for(;c=e[v++];)o.indexOf(a+c+a)<0&&(o+=c+a);s!==(l=C(o))&&(r.className=l)}return this},removeClass:function(t){var e,r,o,s,c,l,f,h,d=0,v=0;if(t)for(e=t.match(i)||[];r=this[d++];)if(h=r.classList,f===n&&(f=h!==n),f)for(;c=e[v++];)h.remove(c);else if(s=r.className+u,o=1===r.nodeType&&a+C(s)+a){for(;c=e[v++];)for(;o.indexOf(a+c+a)>-1;)o=o.replace(a+c+a,a);s!==(l=C(o))&&(r.className=l)}return this},hide:function(){return this.each(function(){this[c.s].display="none"})},show:function(){return this.each(function(){this[c.s].display="block"})},attr:function(t,e){for(var r=0;r<this[c.l];r++){var i=this[r];if(e===n)return i.getAttribute(t);i.setAttribute(t,e)}return this},removeAttr:function(t){return this.each(function(){this.removeAttribute(t)})},offset:function(){var n=this[0].getBoundingClientRect(),r=t.pageXOffset||e.documentElement[l],i=t.pageYOffset||e.documentElement[f];return{top:n.top+i,left:n.left+r}},position:function(){var t=this[0];return{top:t.offsetTop,left:t.offsetLeft}},scrollLeft:function(t){for(var e=0;e<this[c.l];e++){var r=this[e];if(t===n)return r[l];r[l]=t}return this},scrollTop:function(t){for(var e=0;e<this[c.l];e++){var r=this[e];if(t===n)return r[f];r[f]=t}return this},val:function(t){var e=this[0];return t?(e.value=t,this):e.value},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){return M(this[t>=0?t:this[c.l]+t])},find:function(t){var e,n=[];return this.each(function(){var r=this.querySelectorAll(t);for(e=0;e<r[c.l];e++)n.push(r[e])}),M(n)},children:function(t){var e,n,r,i=[];return this.each(function(){for(n=this.children,r=0;r<n[c.l];r++)e=n[r],t?(e.matches&&e.matches(t)||A(e,t))&&i.push(e):i.push(e)}),M(i)},parent:function(t){var e,n=[];return this.each(function(){e=this.parentNode,t&&!M(e).is(t)||n.push(e)}),M(n)},is:function(t){var e,n;for(n=0;n<this[c.l];n++){if(e=this[n],":visible"===t)return!!(e[c.oW]||e[c.oH]||e.getClientRects()[c.l]);if(":hidden"===t)return!(e[c.oW]||e[c.oH]||e.getClientRects()[c.l]);if(e.matches&&e.matches(t)||A(e,t))return!0}return!1},contents:function(){var t,e,n=[];return this.each(function(){for(t=this.childNodes,e=0;e<t[c.l];e++)n.push(t[e])}),M(n)},each:function(t){return O(this,t)},animate:function(t,e,n,r){return this.each(function(){I(this,t,e,n,r)})},stop:function(t,e){return this.each(function(){k(this,t,e)})}},p(M,{extend:p,type:y,isArray:x,isEmptyObject:w,isPlainObject:b,inArray:g,each:O}),M}(u),u,(r=u,i=[],o="__overlayScrollbars__",function(t,e){var n=arguments[c.l];if(n<1)return i;if(e)t[o]=e,i.push(t);else{var a=r.inA(t,i);if(a>-1){if(!(n>1))return i[a][o];delete t[o],i.splice(a,1)}}}));return l&&l.fn&&(l.fn.overlayScrollbars=function(t,e){var n=this;return l.isPlainObject(t)?(l.each(n,function(){f(this,t,e)}),n):f(n,t)}),f});
!function(t,n){"function"==typeof define&&define.amd?define(function(){return n(t,t.document,undefined)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=n(t,t.document,undefined):n(t,t.document,undefined)}("undefined"!=typeof window?window:this,function(t,n,e){"use strict";var r,i,o,a,s="OverlayScrollbars",c={o:"object",f:"function",a:"array",s:"string",b:"boolean",n:"number",u:"undefined",z:"null"},u={c:"class",s:"style",i:"id",l:"length",p:"prototype",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth"},l={wW:function(){return t.innerWidth||n.documentElement[u.cW]||n.body[u.cW]},wH:function(){return t.innerHeight||n.documentElement[u.cH]||n.body[u.cH]},mO:function(){return t.MutationObserver||t.WebKitMutationObserver||t.WebkitMutationObserver||t.MozMutationObserver||e},rO:function(){return t.ResizeObserver||t.WebKitResizeObserver||t.WebkitResizeObserver||t.MozResizeObserver||e},rAF:function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(n){return t.setTimeout(n,1e3/60)}},cAF:function(){return t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||t.msCancelAnimationFrame||function(n){return t.clearTimeout(n)}},now:function(){return Date.now()||(new Date).getTime()},stpP:function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},prvD:function(t){t.preventDefault&&t.cancelable?t.preventDefault():t.returnValue=!1},page:function(t){var r="page",i="client",o="X",a="Y",s=((t=t.originalEvent||t).target||t.srcElement||n).ownerDocument||n,c=s.documentElement,u=s.body;if(t.touches!==e){var l=t.touches[0];return{x:l[r+o],y:l[r+a]}}return!t[r+o]&&t[i+o]&&null!=t[i+o]?{x:t[i+o]+(c&&c.scrollLeft||u&&u.scrollLeft||0)-(c&&c.clientLeft||u&&u.clientLeft||0),y:t[i+a]+(c&&c.scrollTop||u&&u.scrollTop||0)-(c&&c.clientTop||u&&u.clientTop||0)}:{x:t[r+o],y:t[r+a]}},mBtn:function(t){return t.which||t.button===e?t.which:1&t.button?1:2&t.button?3:4&t.button?2:0},inA:function(t,n){for(var e=0;e<n[u.l];e++)try{if(n[e]===t)return e}catch(r){}return-1},isA:function(t){var n=Array.isArray;return n?n(t):this.type(t)==c.a},type:function(t){return t===e?t+"":null===t?t+"":Object[u.p].toString.call(t).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},bind:function(t,n){if(typeof t!=c.f)throw"Can't bind function!";var e=u.p,r=Array[e].slice.call(arguments,2),i=function(){},o=function(){return t.apply(this instanceof i?this:n,r.concat(Array[e].slice.call(arguments)))};return t[e]&&(i[e]=t[e]),o[e]=new i,o}},f=t.jQuery,h=(r=t.Math,i={p:r.PI,c:r.cos,s:r.sin,w:r.pow,t:r.sqrt,n:r.asin,a:r.abs,o:1.70158},{swing:function(t,n,e,r,o){return.5-i.c(t*i.p)/2},linear:function(t,n,e,r,i){return t},easeInQuad:function(t,n,e,r,i){return r*(n/=i)*n+e},easeOutQuad:function(t,n,e,r,i){return-r*(n/=i)*(n-2)+e},easeInOutQuad:function(t,n,e,r,i){return(n/=i/2)<1?r/2*n*n+e:-r/2*(--n*(n-2)-1)+e},easeInCubic:function(t,n,e,r,i){return r*(n/=i)*n*n+e},easeOutCubic:function(t,n,e,r,i){return r*((n=n/i-1)*n*n+1)+e},easeInOutCubic:function(t,n,e,r,i){return(n/=i/2)<1?r/2*n*n*n+e:r/2*((n-=2)*n*n+2)+e},easeInQuart:function(t,n,e,r,i){return r*(n/=i)*n*n*n+e},easeOutQuart:function(t,n,e,r,i){return-r*((n=n/i-1)*n*n*n-1)+e},easeInOutQuart:function(t,n,e,r,i){return(n/=i/2)<1?r/2*n*n*n*n+e:-r/2*((n-=2)*n*n*n-2)+e},easeInQuint:function(t,n,e,r,i){return r*(n/=i)*n*n*n*n+e},easeOutQuint:function(t,n,e,r,i){return r*((n=n/i-1)*n*n*n*n+1)+e},easeInOutQuint:function(t,n,e,r,i){return(n/=i/2)<1?r/2*n*n*n*n*n+e:r/2*((n-=2)*n*n*n*n+2)+e},easeInSine:function(t,n,e,r,o){return-r*i.c(n/o*(i.p/2))+r+e},easeOutSine:function(t,n,e,r,o){return r*i.s(n/o*(i.p/2))+e},easeInOutSine:function(t,n,e,r,o){return-r/2*(i.c(i.p*n/o)-1)+e},easeInExpo:function(t,n,e,r,o){return 0==n?e:r*i.w(2,10*(n/o-1))+e},easeOutExpo:function(t,n,e,r,o){return n==o?e+r:r*(1-i.w(2,-10*n/o))+e},easeInOutExpo:function(t,n,e,r,o){return 0==n?e:n==o?e+r:(n/=o/2)<1?r/2*i.w(2,10*(n-1))+e:r/2*(2-i.w(2,-10*--n))+e},easeInCirc:function(t,n,e,r,o){return-r*(i.t(1-(n/=o)*n)-1)+e},easeOutCirc:function(t,n,e,r,o){return r*i.t(1-(n=n/o-1)*n)+e},easeInOutCirc:function(t,n,e,r,o){return(n/=o/2)<1?-r/2*(i.t(1-n*n)-1)+e:r/2*(i.t(1-(n-=2)*n)+1)+e},easeInElastic:function(t,n,e,r,o){var a=i.o,s=0,c=r;return 0==n?e:1==(n/=o)?e+r:(s||(s=.3*o),c<i.a(r)?(c=r,a=s/4):a=s/(2*i.p)*i.n(r/c),-c*i.w(2,10*(n-=1))*i.s((n*o-a)*(2*i.p)/s)+e)},easeOutElastic:function(t,n,e,r,o){var a=i.o,s=0,c=r;return 0==n?e:1==(n/=o)?e+r:(s||(s=.3*o),c<i.a(r)?(c=r,a=s/4):a=s/(2*i.p)*i.n(r/c),c*i.w(2,-10*n)*i.s((n*o-a)*(2*i.p)/s)+r+e)},easeInOutElastic:function(t,n,e,r,o){var a=i.o,s=0,c=r;return 0==n?e:2==(n/=o/2)?e+r:(s||(s=o*(.3*1.5)),c<i.a(r)?(c=r,a=s/4):a=s/(2*i.p)*i.n(r/c),n<1?c*i.w(2,10*(n-=1))*i.s((n*o-a)*(2*i.p)/s)*-.5+e:c*i.w(2,-10*(n-=1))*i.s((n*o-a)*(2*i.p)/s)*.5+r+e)},easeInBack:function(t,n,e,r,o,a){return r*(n/=o)*n*(((a=a||i.o)+1)*n-a)+e},easeOutBack:function(t,n,e,r,o,a){return r*((n=n/o-1)*n*(((a=a||i.o)+1)*n+a)+1)+e},easeInOutBack:function(t,n,e,r,o,a){return a=a||i.o,(n/=o/2)<1?r/2*(n*n*((1+(a*=1.525))*n-a))+e:r/2*((n-=2)*n*((1+(a*=1.525))*n+a)+2)+e},easeInBounce:function(t,n,e,r,i){return r-this.easeOutBounce(t,i-n,0,r,i)+e},easeOutBounce:function(t,n,e,r,i){var o=7.5625;return(n/=i)<1/2.75?r*(o*n*n)+e:n<2/2.75?r*(o*(n-=1.5/2.75)*n+.75)+e:n<2.5/2.75?r*(o*(n-=2.25/2.75)*n+.9375)+e:r*(o*(n-=2.625/2.75)*n+.984375)+e},easeInOutBounce:function(t,n,e,r,i){return n<i/2?.5*this.easeInBounce(t,2*n,0,r,i)+e:.5*this.easeOutBounce(t,2*n-i,0,r,i)+.5*r+e}}),d=function(){var r=/[^\x20\t\r\n\f]+/g,i=" ",o="",a="scrollLeft",s="scrollTop",f=[],d=l.type,p={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},v=function(){var t,n,r,i,o,a,s=arguments[0]||{},f=1,h=arguments[u.l],p=!1;for(d(s)==c.b&&(p=s,s=arguments[1]||{},f=2),d(s)!=c.o&&!d(s)==c.f&&(s={}),h===f&&(s=g,--f);f<h;f++)if(null!=(o=arguments[f]))for(i in o)t=s[i],s!==(r=o[i])&&(p&&r&&(w(r)||(n=l.isA(r)))?(n?(n=!1,a=t&&l.isA(t)?t:[]):a=t&&w(t)?t:{},s[i]=v(p,a,r)):r!==e&&(s[i]=r));return s},y=function(t,n,e){for(var r=e||0;r<n[u.l];r++)if(n[r]===t)return r;return-1},m=function(t){return d(t)==c.f},x=function(t){for(var n in t)return!1;return!0},w=function(t){if(!t||d(t)!=c.o)return!1;var n,e=u.p,r=Object[e].hasOwnProperty,i=r.call(t,"constructor"),o=t.constructor&&t.constructor[e]&&r.call(t.constructor[e],"isPrototypeOf");if(t.constructor&&!i&&!o)return!1;for(n in t);return d(n)==c.u||r.call(t,n)},b=function(t,n){var e=0;if(O(t))for(;e<t[u.l]&&!1!==n.call(t[e],e,t[e]);e++);else for(e in t)if(!1===n.call(t[e],e,t[e]))break;return t},g=function(t){if(0===arguments[u.l])return this;var e,r,i=new g,o=t,a=0;if(d(t)==c.s)for(o=[],"<"===t.charAt(0)?((r=n.createElement("div")).innerHTML=t,e=r.children):e=n.querySelectorAll(t);a<e[u.l];a++)o.push(e[a]);if(o){for(d(o)==c.s||O(o)||(o=[o]),a=0;a<o[u.l];a++)i[a]=o[a];i[u.l]=o[u.l]}return i};function O(n){var e=!!n&&[u.l]in n&&n[u.l],r=d(n);return!m(r)&&n!==t&&(r==c.a||0===e||d(e)==c.n&&e>0&&e-1 in n)}function S(t){return(t.match(r)||[]).join(i)}function A(t,e){for(var r=(t.parentNode||n).querySelectorAll(e)||[],i=r[u.l];i--;)if(r[i]==t)return!0;return!1}function C(t,n,e){if(d(e)==c.a)for(var r=0;r<e[u.l];r++)C(t,n,e[r]);else d(e)==c.s?t.insertAdjacentHTML(n,e):t.insertAdjacentElement(n,e.nodeType?e:e[0])}function z(t,n,r){try{t[u.s][n]!==e&&(t[u.s][n]=E(n,r))}catch(i){}}function E(t,n){return p[t.toLowerCase()]||d(n)!=c.n||(n+="px"),n}function M(t,n){var e,r;!1!==n&&t.q.splice(0,1),t.q[u.l]>0?(r=t.q[0],T(t.el,r.props,r.duration,r.easing,r.complete,!0)):(e=y(t,f))>-1&&f.splice(e,1)}function H(t,n,e){n===a||n===s?t[n]=e:z(t,n,e)}function T(t,n,r,i,o,c){var d,p,v,b,O,S,A=w(r),C={},z={},E=0;for(A?(i=r.easing,r.start,v=r.progress,b=r.step,O=r.specialEasing,o=r.complete,S=r.duration):S=r,O=O||{},S=S||400,i=i||"swing",c=c||!1;E<f[u.l];E++)if(f[E].el===t){p=f[E];break}for(d in p||(p={el:t,q:[]},f.push(p)),n)C[d]=d===a||d===s?t[d]:g(t).css(d);for(d in C)C[d]!==n[d]&&n[d]!==e&&(z[d]=n[d]);if(x(z))c&&M(p);else{var T,W,k,L,I,N,P,R,D,j=c?0:y(q,p.q),q={props:z,duration:A?r:S,easing:i,complete:o};if(-1===j&&(j=p.q[u.l],p.q.push(q)),0===j)if(S>0)P=l.now(),R=function(){for(d in T=l.now(),D=T-P,W=q.stop||D>=S,k=1-(Math.max(0,P+S-T)/S||0),z)L=parseFloat(C[d]),I=parseFloat(z[d]),N=(I-L)*h[O[d]||i](k,k*S,0,1,S)+L,H(t,d,N),m(b)&&b(N,{elem:t,prop:d,start:L,now:N,end:I,pos:k,options:{easing:i,speacialEasing:O,duration:S,complete:o,step:b},startTime:P});m(v)&&v({},k,Math.max(0,S-D)),W?(M(p),m(o)&&o()):q.frame=l.rAF()(R)},q.frame=l.rAF()(R);else{for(d in z)H(t,d,z[d]);M(p)}}}function W(t,n,e){for(var r,i,o,a=0;a<f[u.l];a++)if((r=f[a]).el===t){if(r.q[u.l]>0){if((i=r.q[0]).stop=!0,l.cAF()(i.frame),r.q.splice(0,1),e)for(o in i.props)H(t,o,i.props[o]);n?r.q=[]:M(r,!1)}break}}return g[u.p]={on:function(t,n){var e,i=(t=(t||o).match(r)||[o])[u.l],a=0;return this.each(function(){e=this;try{if(e.addEventListener)for(;a<i;a++)e.addEventListener(t[a],n);else if(e.detachEvent)for(;a<i;a++)e.attachEvent("on"+t[a],n)}catch(r){}})},off:function(t,n){var e,i=(t=(t||o).match(r)||[o])[u.l],a=0;return this.each(function(){e=this;try{if(e.removeEventListener)for(;a<i;a++)e.removeEventListener(t[a],n);else if(e.detachEvent)for(;a<i;a++)e.detachEvent("on"+t[a],n)}catch(r){}})},one:function(t,n){return t=(t||o).match(r)||[o],this.each(function(){var e=g(this);g.each(t,function(t,r){var i=function(t){n.call(this,t),e.off(r,i)};e.on(r,i)})})},trigger:function(t){var e,r;return this.each(function(){e=this,n.createEvent?((r=n.createEvent("HTMLEvents")).initEvent(t,!0,!1),e.dispatchEvent(r)):e.fireEvent("on"+t)})},append:function(t){return this.each(function(){C(this,"beforeend",t)})},prepend:function(t){return this.each(function(){C(this,"afterbegin",t)})},before:function(t){return this.each(function(){C(this,"beforebegin",t)})},after:function(t){return this.each(function(){C(this,"afterend",t)})},remove:function(){return this.each(function(){var t=this,n=t.parentNode;null!=n&&n.removeChild(t)})},unwrap:function(){var t,n,e,r=[];for(this.each(function(){e=this.parentNode,-1===y(e,r)&&r.push(e)}),t=0;t<r[u.l];t++){for(n=r[t],e=n.parentNode;n.firstChild;)e.insertBefore(n.firstChild,n);e.removeChild(n)}return this},wrapAll:function(t){for(var n,e=this,r=g(t)[0],i=r,o=e[0].parentNode,a=e[0].previousSibling;i.childNodes[u.l]>0;)i=i.childNodes[0];for(n=0;e[u.l]-n;i.firstChild===e[0]&&n++)i.appendChild(e[n]);var s=a?a.nextSibling:o.firstChild;return o.insertBefore(r,s),this},wrapInner:function(t){return this.each(function(){var n=g(this),e=n.contents();e[u.l]?e.wrapAll(t):n.append(t)})},wrap:function(t){return this.each(function(){g(this).wrapAll(t)})},css:function(n,r){var i,o,a,s=t.getComputedStyle;return d(n)==c.s?r===e?(i=this[0],a=s?s(i,null):i.currentStyle[n],s?null!=a?a.getPropertyValue(n):i[u.s][n]:a):this.each(function(){z(this,n,r)}):this.each(function(){for(o in n)z(this,o,n[o])})},hasClass:function(t){for(var n,e,r=0,a=i+t+i;n=this[r++];){if((e=n.classList)&&e.contains(t))return!0;if(1===n.nodeType&&(i+S(n.className+o)+i).indexOf(a)>-1)return!0}return!1},addClass:function(t){var n,a,s,c,u,l,f,h,d=0,p=0;if(t)for(n=t.match(r)||[];a=this[d++];)if(h=a.classList,f===e&&(f=h!==e),f)for(;u=n[p++];)h.add(u);else if(c=a.className+o,s=1===a.nodeType&&i+S(c)+i){for(;u=n[p++];)s.indexOf(i+u+i)<0&&(s+=u+i);c!==(l=S(s))&&(a.className=l)}return this},removeClass:function(t){var n,a,s,c,u,l,f,h,d=0,p=0;if(t)for(n=t.match(r)||[];a=this[d++];)if(h=a.classList,f===e&&(f=h!==e),f)for(;u=n[p++];)h.remove(u);else if(c=a.className+o,s=1===a.nodeType&&i+S(c)+i){for(;u=n[p++];)for(;s.indexOf(i+u+i)>-1;)s=s.replace(i+u+i,i);c!==(l=S(s))&&(a.className=l)}return this},hide:function(){return this.each(function(){this[u.s].display="none"})},show:function(){return this.each(function(){this[u.s].display="block"})},attr:function(t,n){for(var r,i=0;r=this[i++];){if(n===e)return r.getAttribute(t);r.setAttribute(t,n)}return this},removeAttr:function(t){return this.each(function(){this.removeAttribute(t)})},offset:function(){var e=this[0].getBoundingClientRect(),r=t.pageXOffset||n.documentElement[a],i=t.pageYOffset||n.documentElement[s];return{top:e.top+i,left:e.left+r}},position:function(){var t=this[0];return{top:t.offsetTop,left:t.offsetLeft}},scrollLeft:function(t){for(var n,r=0;n=this[r++];){if(t===e)return n[a];n[a]=t}return this},scrollTop:function(t){for(var n,r=0;n=this[r++];){if(t===e)return n[s];n[s]=t}return this},val:function(t){var n=this[0];return t?(n.value=t,this):n.value},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){return g(this[t>=0?t:this[u.l]+t])},find:function(t){var n,e=[];return this.each(function(){var r=this.querySelectorAll(t);for(n=0;n<r[u.l];n++)e.push(r[n])}),g(e)},children:function(t){var n,e,r,i=[];return this.each(function(){for(e=this.children,r=0;r<e[u.l];r++)n=e[r],t?(n.matches&&n.matches(t)||A(n,t))&&i.push(n):i.push(n)}),g(i)},parent:function(t){var n,e=[];return this.each(function(){n=this.parentNode,t&&!g(n).is(t)||e.push(n)}),g(e)},is:function(t){var n,e;for(e=0;e<this[u.l];e++){if(n=this[e],":visible"===t)return!!(n[u.oW]||n[u.oH]||n.getClientRects()[u.l]);if(":hidden"===t)return!(n[u.oW]||n[u.oH]||n.getClientRects()[u.l]);if(n.matches&&n.matches(t)||A(n,t))return!0}return!1},contents:function(){var t,n,e=[];return this.each(function(){for(t=this.childNodes,n=0;n<t[u.l];n++)e.push(t[n])}),g(e)},each:function(t){return b(this,t)},animate:function(t,n,e,r){return this.each(function(){T(this,t,n,e,r)})},stop:function(t,n){return this.each(function(){W(this,t,n)})}},v(g,{extend:v,inArray:y,isEmptyObject:x,isPlainObject:w,each:b}),g}(),p=(o=[],a="__overlayScrollbars__",function(t,n){var e=arguments[u.l];if(e<1)return o;if(n)t[a]=n,o.push(t);else{var r=l.inA(t,o);if(r>-1){if(!(e>1))return o[r][a];delete t[a],o.splice(r,1)}}}),v=function(){var r,i,o,a,h,v,y,m,x,w,b,g,O,S,A=[],C=(o=[c.b,c.n,c.s,c.a,c.o,c.f,c.z],a=" ",h=":",v=[c.z,c.s],y=c.n,m=[c.z,c.b],x=[!0,c.b],w=[!1,c.b],b=[null,[c.z,c.f]],O={className:["os-theme-dark",v],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:x,clipAlways:x,normalizeRTL:x,paddingAbsolute:w,autoUpdate:[null,m],autoUpdateInterval:[33,y],nativeScrollbarsOverlaid:{showNativeScrollbars:w,initialize:x},overflowBehavior:{x:["scroll",g="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll",g]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,y],dragScrolling:x,clickScrolling:w,touchSupport:x},textarea:{dynWidth:w,dynHeight:w},callbacks:{onInitialized:b,onInitializationWithdrawn:b,onDestroyed:b,onScrollStart:b,onScroll:b,onScrollStop:b,onOverflowChanged:b,onOverflowAmountChanged:b,onDirectionChanged:b,onContentSizeChanged:b,onHostSizeChanged:b,onUpdated:b}},{d:(S=function(t){var n=function(e){var r,i,o;for(r in e)e.hasOwnProperty(r)&&(i=e[r],(o=l.type(i))==c.a?e[r]=i[t?1:0]:o==c.o&&(e[r]=n(i)));return e};return n(d.extend(!0,{},O))})(),t:S(!0),v:function(t,n,e,r,i){var s={},u=d.extend(!0,{},t),f=function(t,n,i,s){for(var u in n)if(n.hasOwnProperty(u)&&t.hasOwnProperty(u)){var p,v,y,m,x,w,b,g,O=!1,S=n[u],A=l.type(S),C=l.type(S)!=c.a?[S]:S,z=t[u],E=l.type(z),M=s?s+".":"",H='The option "'+M+u+"\" wasn't set, because",T=[],W=[];if(A==c.o)i[u]={},f(z,S,i[u],M+u),d.isEmptyObject(z)&&delete t[u];else{for(w=0;w<C.length;w++)if(x=C[w],y=(A=l.type(x))==c.s&&-1===d.inArray(x,o))for(T.push(c.s),p=x.split(a),W=W.concat(p),b=0;b<p.length;b++){for(m=(v=p[b].split(h))[0],g=0;g<v.length;g++)if(z===v[g]){O=!0;break}if(O)break}else if(T.push(x),E===x){O=!0;break}O?i[u]=y&&r?m:z:e&&console.warn(H+" it doesn't accept the type [ "+E.toUpperCase()+' ] with the value of "'+z+'".\r\nAccepted types are: [ '+T.join(", ").toUpperCase()+" ]."+(W.length>0?"\r\nValid strings are: [ "+W.join(", ").split(h).join(", ")+" ].":"")),delete t[u]}}};return f(u,n,s),i?d.extend(!0,s,u):!d.isEmptyObject(u)&&e&&console.warn("The following options are discarded due to invalidity:\r\n"+JSON.stringify(u,null,2)),s}});function z(){r||(r=new E(C.d)),i||(i=new M(r))}function E(r){var i=this,o="overflow",a="hidden",s="scroll",c=d("body"),f=d('<div id="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>'),h=f[0],v=d(f.children("div").eq(0));c.append(f),f.hide().show();var y,m,x,w,b,g,O,S,A,C=M(h),z={x:0===C.x,y:0===C.y};function E(t){var r=!1,i="Webkit Moz ms O".split(" "),o=n.createElement("div"),a=null,s=0;if(t=t.toLowerCase(),o[u.s][t]!==e&&(r=!0),!r)for(a=t.charAt(0).toUpperCase()+t.substr(1);s<i.length;s++)if(o[u.s][i[s]+a]!==e){r=!0;break}return r}function M(t){return{x:t[u.oH]-t[u.cH],y:t[u.oW]-t[u.cW]}}d.extend(i,{defaultOptions:r,autoUpdateLoop:!1,autoUpdateRecommended:!l.mO(),nativeScrollbarSize:C,nativeScrollbarIsOverlaid:z,nativeScrollbarStyling:(f.addClass("os-viewport-native-scrollbars-invisible"),f.css(o,a).hide().css(o,s).show(),h[u.oH]-h[u.cH]==0&&h[u.oW]-h[u.cW]==0),overlayScrollbarDummySize:{x:30,y:30},msie:(m=t.navigator.userAgent,x="indexOf",w="substring",b=m[x]("MSIE "),g=m[x]("Trident/"),O=m[x]("Edge/"),S=m[x]("rv:"),A=t.parseInt,b>0?y=A(m[w](b+5,m[x](".",b)),10):g>0?y=A(m[w](S+3,m[x](".",S)),10):O>0&&(y=A(m[w](O+5,m[x](".",O)),10)),y),cssCalc:function(){var t,e,r=n.createElement("div"),i=["calc","-webkit-calc","-moz-calc","-o-calc"];for(t=0;t<i.length;++t)if(e=i[t],r[u.s].cssText="width:"+e+"(1px);",r[u.s].length)return e;return null}(),restrictedMeasuring:function(){f.css(o,a);var t={w:h[u.sW],h:h[u.sH]};f.css(o,"visible");var n={w:h[u.sW],h:h[u.sH]};return t.w-n.w!=0||t.h-n.h!=0}(),rtlScrollBehavior:function(){f.css({"overflow-y":a,"overflow-x":s,direction:"rtl"}).scrollLeft(0);var t=f.offset(),n=v.offset();f.scrollLeft(999);var e=v.offset();return{i:t.left===n.left,n:n.left-e.left==0}}(),supportTransform:E("transform"),supportTransition:E("transition"),supportPassiveEvents:function(){var n=!1;try{t.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){n=!0}}))}catch(e){}return n}(),supportResizeObserver:!!l.rO(),supportMutationObserver:!!l.mO()}),f.removeAttr(u.s).remove(),function(){if(!z.x||!z.y){var n=Math.abs,e=l.wW(),r=l.wH(),o=u(),a=function(){if(p().length>0){var t=l.wW(),a=l.wH(),h=t-e,v=a-r;if(0===h&&0===v)return;var y,m=Math.round(t/(e/100)),x=Math.round(a/(r/100)),w=n(h),b=n(v),g=n(m),O=n(x),S=u(),A=w>2&&b>2,C=!s(g,O),z=A&&C&&(S!==o&&o>0),E=i.nativeScrollbarSize;z&&(c.append(f),y=i.nativeScrollbarSize=M(f[0]),f.remove(),E.x===y.x&&E.y===y.y||d.each(p(),function(){p(this)&&p(this).update("zoom")})),e=t,r=a,o=S}};d(t).on("resize",a)}function s(t,e){var r=n(t),i=n(e);return!(r===i||r+1===i||r-1===i)}function u(){var n=t.screen.deviceXDPI||0,e=t.screen.logicalXDPI||1;return t.devicePixelRatio||n/e}}()}function M(t){var n,r=this,i="autoUpdate",o=i+"Interval",a=u.l,s=[],c=[],f=!1,h=33,p=h,v=l.now(),y=function(){if(s[a]>0&&f){n=l.rAF()(function(){y()});var t=l.now(),r=t-v;if(r>p){v=t-r%p;for(var u=h,d=0;d<s[a];d++){var m=s[d];if(m!==e){var x=m.options(),w=x[i],b=Math.max(1,x[o]),g=l.now();(!0===w||null===w)&&g-c[d]>b&&(m.update("auto"),c[d]=new Date(g+=b)),u=Math.max(1,Math.min(u,b))}}p=u}}else p=h};r.add=function(n){-1===d.inArray(n,s)&&(s.push(n),c.push(l.now()),s[a]>0&&!f&&(f=!0,t.autoUpdateLoop=f,y()))},r.remove=function(r){var i=d.inArray(r,s);i>-1&&(c.splice(i,1),s.splice(i,1),0===s[a]&&f&&(f=!1,t.autoUpdateLoop=f,n!==e&&(l.cAF()(n),n=-1)))}}function H(r,i,o,a,h){if(fi(r)){if(p(r)){var v=p(r);return v.options(i),v}var y,m,x,w,b,g,O,S,A,z,E,M,H,T,W,k,L,I,N,P,R,D,j,q,F,B,U,_,Q,V,X,Y,K,$,G,J,Z,tt,nt,et,rt,it,ot,at,st,ct,ut,lt,ft,ht,dt,pt,vt,yt,mt,xt,wt,bt,gt,Ot,St,At,Ct,zt,Et,Mt,Ht,Tt,Wt,kt,Lt,It,Nt,Pt,Rt,Dt,jt,qt,Ft,Bt,Ut,_t,Qt,Vt,Xt,Yt,Kt,$t,Gt,Jt,Zt,tn,nn,en,rn,on,an,sn,cn,un,ln,fn,hn,dn,pn,vn,yn,mn,xn,wn,bn,gn,On,Sn,An,Cn,zn,En,Mn,Hn,Tn,Wn=new t[s],kn=d[u.p],Ln={},In={},Nn={},Pn={},Rn={},Dn=175,jn="-hidden",qn="margin-",Fn="padding-",Bn="border-",Un="top",_n="right",Qn="bottom",Vn="left",Xn="min-",Yn="max-",Kn="width",$n="height",Gn="float",Jn="",Zn="auto",te="scroll",ne="100%",ee="x",re="y",ie=".",oe=" ",ae="scrollbar",se="-horizontal",ce="-vertical",ue=te+"Left",le=te+"Top",fe="mousedown touchstart",he="mouseup touchend touchcancel",de="mousemove touchmove",pe="mouseenter",ve="mouseleave",ye="keydown",me="keyup",xe="selectstart",we="transitionend webkitTransitionEnd oTransitionEnd",be="__overlayScrollbarsRO__",ge="os-",Oe=ge+"html",Se=ge+"host",Ae=Se+"-textarea",Ce=Se+"-"+ae+se+jn,ze=Se+"-"+ae+ce+jn,Ee=Se+"-transition",Me=Se+"-rtl",He=Se+"-resize-disabled",Te=Se+"-scrolling",We=Se+"-overflow",ke=We+"-x",Le=We+"-y",Ie=ge+"textarea",Ne=Ie+"-cover",Pe=ge+"padding",Re=ge+"viewport",De=Re+"-native-scrollbars-invisible",je=Re+"-native-scrollbars-overlaid",qe=ge+"content",Fe=ge+"content-arrange",Be=ge+"content-glue",Ue=ge+"size-auto-observer",_e=ge+"resize-observer",Qe=ge+"resize-observer-item",Ve=Qe+"-final",Xe=ge+"text-inherit",Ye=ge+ae,Ke=Ye+"-track",$e=Ke+"-off",Ge=Ye+"-handle",Je=Ge+"-off",Ze=Ye+"-unusable",tr=Ye+"-"+Zn+jn,nr=Ye+"-corner",er=nr+"-resize",rr=er+"-both",ir=er+se,or=er+ce,ar=Ye+se,sr=Ye+ce,cr=ge+"dragging",ur=ge+"theme-none",lr={},fr="added removed on contract",hr={},dr=42,pr=[],vr=11,yr=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],mr=[],xr={},wr={};if(Wn.sleep=function(){_=!0},Wn.update=function(t){var n,e,r=Ai(t)==c.s,i="img",o="load";r?0===t.indexOf(Zn)?(n=$r(),e=Kr(),(n||e)&&Zr(!1,e,!1,"+"==t.slice(-1))):"zoom"===t&&Zr(!0,!0):(t=_||t,_=!1,Zr(!1,!1,t,!0)),k||ut.find(i).each(function(t,n){-1===l.inA(n,pr)&&d(n).off(o,Qr).on(o,Qr)})},Wn.options=function(t,n){if(d.isEmptyObject(t)||!d.isPlainObject(t)){if(Ai(t)==c.s){if(arguments.length>=2){var e={};return bi(e,t,n),ti(e),void Zr()}return wi(X,t)}return X}ti(t);var r=_||!1;_=!1,Zr(),_=r},Wn.destroy=function(){for(var t in W=!0,h.remove(Wn),Er(),Sr(it),P&&Sr(rt),lr)Wn.removeExt(t);Mi(it),ot!==e&&Mi(ot),ct!==e&&Mi(ct),P&&Mi(rt),E?(gr(et,de,Wr),gr(et,pe,Hr),gr(et,ve,Tr)):et.off(de,Wr).off(pe,Hr).off(ve,Tr),Mi(ht),Mi(vt),ft&&Mi(ft),En||Ur(),ut.contents().unwrap().unwrap().unwrap(),L&&Ei(Z,Oe),k?(nt.off(te,qr).off("drop",Rr).off("focus",Dr).off("focusout",jr),b>9||!w?nt.off("input",Ir):nt.off(ye,Nr).off(me,Pr),Mi(lt),Ei(nt,Ie+oe+Xe).unwrap().removeAttr(u.s),Mi(et)):(Ei(nt,Se),Ei(et,[Se,He,Me,Ce,ze,Ee,Te,We,ke,Le,ur,rn].join(oe)));for(var n=0;n<pr.length;n++)d(pr[n]).off("load",Qr);for(var i in pr=e,p(r,0),ui("onDestroyed"),Wn)delete Wn[i];Wn=e},Wn.scroll=function(n,r,i,o){if(0===arguments.length||n===e){var a=In,s=Nn,l=en&&U&&x.i,h=en&&U&&x.n,p=a.cs,v=a.csr,y=a.ms;return p=l?y-p:p,{x:{position:p*=h?-1:1,ratio:v=l?1-v:v,max:y*=h?-1:1,handleOffset:a.ho,handleLength:a.hl,handleLengthRatio:a.hlr,trackLength:a.tl,isRTL:U,isRTLNormalized:en},y:{position:s.cs,ratio:s.csr,max:s.ms,handleOffset:s.ho,handleLength:s.hl,handleLengthRatio:s.hlr,trackLength:s.tl}}}var m,w,b,g,O,S,A,C,E,M=en,H=[ee,Vn,"l"],T=[re,Un,"t"],W=["+=","-=","*=","/="],k={},L=Ai(r)==c.o,I="end",N="begin",P="center",R="nearest",D="always",j="never",q="ifneeded",F=u.l,B=[ee,re,"xy","yx"],_=[N,I,P,R],Q=[D,j,q],V=n.hasOwnProperty("el"),X=V?n.el:n,Y=!!(X instanceof d||f)&&X instanceof f,K=!Y&&fi(X),$=function(t,n){for(m=0;m<n[F];m++)if(t===n[m])return!0;return!1},G=function(t){var n={};if(Ai(t)==c.a&&t[F]>0)n.x=t[0],n.y=t[1];else if(Ai(t)==c.s||Ai(t)==c.n)n.x=t,n.y=t;else if(Ai(t)==c.o){for(var e in M=Ai(t.n)==c.b?t.n:M,t=Ci({},t),m=0,t)t.hasOwnProperty(e)&&(m>2&&delete t[e],m++);var r=function(n){var e=n?H:T;for(m=0;m<e[F];m++)if(e[m]in t)return t[e[m]]};n.x=r(!0),n.y=r(!1)}return n},J=function(n,r){var i,o,a=Ai(r)==c.s;a&&Wn.update(Zn+"+");var s,u=n?In:Nn,l=u.cs,f=u.ms,h=" * ",d=U&&n,p=d&&x.n&&!M,v="replace";if(a){if(r[F]>2){var y=r.substr(0,2);for(m=0;m<W[F];m++)if(y===W[m]){i=W[m];break}}r=(r=(r=(r=(r=(r=(r=(r=(r=i!==e?r.substr(2):r)[v](/min/g,0))[v](/</g,0))[v](/max/g,(p?"-":Jn)+ne))[v](/>/g,(p?"-":Jn)+ne))[v](/px/g,Jn))[v](/%/g,h+f*(d&&x.n?-1:1)/100))[v](/vw/g,h+Pn.w))[v](/vh/g,h+Pn.h),o=di(di(t.eval(r),!0).toFixed())}else o=r;if(o!==e&&!isNaN(o)&&Ai(o)==c.n){var w=M&&d,b=l*(w&&x.n?-1:1),g=w&&x.i,O=w&&x.n;switch(b=g?f-b:b,i){case"+=":s=b+o;break;case"-=":s=b-o;break;case"*=":s=b*o;break;case"/=":s=b/o;break;default:s=o}s=g?f-s:s,s*=O?-1:1,s=d&&x.n?Math.min(0,Math.max(f,s)):Math.max(0,Math.min(f,s))}return s===l?e:s},Z=function(t,n,e,r){var i,o,a=[e,e],s=Ai(t);if(s==n)t=[t,t];else if(s==c.a){if((i=t[F])>2||i<1)t=a;else for(1===i&&(t[1]=e),m=0;m<i;m++)if(Ai(o=t[m])!=n||!$(o,r)){t=a;break}}else t=s==c.o?[t[ee]||e,t[re]||e]:a;return{x:t[0],y:t[1]}},tt=function(t){var n,e,r=[],i=[Un,_n,Qn,Vn];for(m=0;m<t[F]&&m!==i[F];m++)(e=Ai(n=t[m]))==c.b?r.push(n?di(E.css(qn+i[m])):0):r.push(e==c.n?n:0);return r};if(Y||K){var nt,et=V?n.margin:0,rt=V?n.axis:0,it=V?n.scroll:0,ot=V?n.block:0,ct=[0,0,0,0],ut=Ai(et);if(0===(E=Y?X:d(X))[F])return;Wn.update(Zn+"+"),et=ut==c.n||ut==c.b?tt([et,et,et,et]):ut==c.a?2===(nt=et[F])?tt([et[0],et[1],et[0],et[1]]):nt>=4?tt(et):ct:ut==c.o?tt([et[Un],et[_n],et[Qn],et[Vn]]):ct,O=$(rt,B)?rt:"xy",S=Z(it,c.s,D,Q),A=Z(ot,c.s,N,_),C=et;var lt={l:In.cs,t:Nn.cs},ft=at.offset(),ht=E.offset(),dt={x:S.x==j||O==re,y:S.y==j||O==ee};ht[Un]-=C[0],ht[Vn]-=C[3];var pt={x:Math.round(ht[Vn]-ft[Vn]+lt.l),y:Math.round(ht[Un]-ft[Un]+lt.t)};if(U&&(x.n||x.i||(pt.x=Math.round(ft[Vn]-ht[Vn]+lt.l)),x.n&&M&&(pt.x*=-1),x.i&&M&&(pt.x=Math.round(ft[Vn]-ht[Vn]+(In.ms-lt.l)))),A.x!=N||A.y!=N||S.x==q||S.y==q||U){var vt=E[0],yt=z?vt.getBoundingClientRect():{width:vt[u.oW],height:vt[u.oH]},mt={w:yt[Kn]+C[3]+C[1],h:yt[$n]+C[0]+C[2]},xt=function(t){var n=ci(t),e=n._wh,r=n.lt,i=n.xy,o=A[i]==(t&&U?N:I),a=A[i]==P,s=A[i]==R,c=S[i]==j,u=S[i]==q,l=Pn[e],f=ft[r],h=mt[e],d=ht[r],p=a?2:1,v=d+h/2,y=f+l/2,m=h<=l&&d>=f&&d+h<=f+l;c?dt[i]=!0:dt[i]||((s||u)&&(dt[i]=!!u&&m,o=h<l?v>y:v<y),pt[i]-=o||a?(l/p-h/p)*(t&&U&&M?-1:1):0)};xt(!0),xt(!1)}dt.y&&delete pt.y,dt.x&&delete pt.x,n=pt}if(k[ue]=J(!0,G(n).x),k[le]=J(!1,G(n).y),w=k[ue]!==e,b=k[le]!==e,(w||b)&&(r>0||L))if(L)st.animate(k,r);else{if(g={duration:r,complete:o},Ai(i)==c.a){var wt={};wt[ue]=i[0],wt[le]=i[1],g.specialEasing=wt}else g.easing=i;st.animate(k,g)}else w&&st[ue](k[ue]),b&&st[le](k[le])},Wn.scrollStop=function(t,n,e){return st.stop(t,n,e),Wn},Wn.getElements=function(t){var n={target:nt[0],host:et[0],padding:at[0],viewport:st[0],content:ut[0],scrollbarHorizontal:{scrollbar:ht[0],track:dt[0],handle:pt[0]},scrollbarVertical:{scrollbar:vt[0],track:yt[0],handle:mt[0]},scrollbarCorner:ft[0]};return Ai(t)==c.s?wi(n,t):n},Wn.getState=function(t){var n=function(t){if(!d.isPlainObject(t))return t;var n=Ci(!0,{},t),e=function(t,e){n.hasOwnProperty(t)&&(n[e]=n[t],delete n[t])};return e("w",Kn),e("h",$n),delete n.c,n},e={sleeping:n(_)||!1,autoUpdate:n(!dn),widthAuto:n(St),heightAuto:n(At),padding:n(Et),overflowAmount:n(Pt),hideOverflow:n(Ot),hasOverflow:n(gt),contentScrollSize:n(wt),viewportSize:n(Pn),hostSize:n(xt),documentMixed:n(I)};return Ai(t)==c.s?wi(e,t):e},Wn.ext=function(t){var n,e=fr.split(" "),r=0;if(Ai(t)==c.s){if(lr.hasOwnProperty(t))for(n=Ci(!0,{},lr[t]);r<e.length;r++)delete n[e[r]]}else for(r in n={},lr)n[r]=Ci(!0,{},Wn.ext(r));return n},Wn.addExt=function(n,e){var r,i,o,a,u=t[s].extension(n),f=!0;if(u){if(lr.hasOwnProperty(n))return Wn.ext(n);if((r=u.extension.call(Wn,Ci(!0,{},u.defaultOptions),d,l))&&(Ai(o=r.contract)==c.f&&(f=Ai(a=o(t))==c.b?a:f),f))return lr[n]=r,Ai(i=r.added)==c.f&&i(e),Wn.ext(n)}else console.warn('A extension with the name "'+n+"\" isn't registered.")},Wn.removeExt=function(t){var n,e=lr[t];return!!e&&(delete lr[t],Ai(n=e.removed)==c.f&&n(),!0)},Ti(r,i,o))return p(r,Wn),Wn;Wn=e}function br(t,n,e){for(var r=n.split(oe),i=0;i<r.length;i++)t[0].addEventListener(r[i],e,{passive:!0})}function gr(t,n,e){for(var r=n.split(oe),i=0;i<r.length;i++)t[0].removeEventListener(r[i],e,{passive:!0})}function Or(t,n){var r=3333333,i=l.rO(),o="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart",s="childNodes",f=function(){t[le](r)[ue](U?x.n?-r:x.i?0:r:r),n()};if(M){var h=t.append(xi(_e+" observed")).contents()[0];(h[be]=new i(f)).observe(h)}else if(b>9||!w){t.prepend(xi(_e,xi({className:Qe,dir:"ltr"},xi(Qe,xi(Ve))+xi(Qe,xi({className:Ve,style:"width: 200%; height: 200%"})))));var p,v,y,m,g=t[0][s][0][s][0],O=d(g[s][1]),S=d(g[s][0]),A=d(S[0][s][0]),C=g[u.oW],z=g[u.oH],E=2,H=a.nativeScrollbarSize,T=function(){S[ue](r)[le](r),O[ue](r)[le](r)},W=function(){v=0,p&&(C=y,z=m,f())},k=function(t){return y=g[u.oW],m=g[u.oH],p=y!=C||m!=z,t&&p&&!v?(l.cAF()(v),v=l.rAF()(W)):t||W(),T(),t&&(l.prvD(t),l.stpP(t)),!1},L={},I={};I[Un]=-(H.y+1)*E,I[_n]=H.x*-E,I[Qn]=H.y*-E,I[Vn]=-(H.x+1)*E,d(g).css(I),S.on(te,k),O.on(te,k),t.on(o,function(){k(!1)}),L[Kn]=r,L[$n]=r,A.css(L),T()}else{var N=J[0],P=N.attachEvent,R=b!==e;if(P)t.prepend(xi(_e)),Hi(t,ie+_e)[0].attachEvent("onresize",f);else{var D=N.createElement(c.o);D.setAttribute("tabindex","-1"),D.setAttribute(u.c,_e),D.onload=function(){var t=this.contentDocument.defaultView;t.addEventListener("resize",f),t.document.documentElement.style.display="none"},D.type="text/html",R&&t.prepend(D),D.data="about:blank",R||t.prepend(D),t.on(o,f)}}if(t[0]===it[0]){var j=function(){var n=et.css("direction"),e={},i=0,o=!1;return n!==Wt&&("ltr"===n?(e[Vn]=0,e[_n]=Zn,i=r):(e[Vn]=Zn,e[_n]=0,i=x.n?-r:x.i?0:r),it.children().eq(0).css(e),t[ue](i)[le](r),Wt=n,o=!0),o};j(),t.on(te,function(t){return j()&&Zr(),l.prvD(t),l.stpP(t),!1})}}function Sr(t){if(M){var n=t.contents()[0];n[be].disconnect(),delete n[be]}else Mi(t.children(ie+_e).eq(0))}function Ar(t){}function Cr(t){}function zr(){pn&&!dn&&(fn.observe(et[0],{attributes:!0,attributeOldValue:!0,attributeFilter:[u.i,u.c,u.s]}),hn.observe(k?nt[0]:ut[0],{attributes:!0,attributeOldValue:!0,subtree:!k,childList:!k,characterData:!k,attributeFilter:k?["wrap","cols","rows"]:[u.i,u.c,u.s]}),dn=!0)}function Er(){pn&&dn&&(fn.disconnect(),hn.disconnect(),dn=!1)}function Mr(){if(!_){var t=it[0],n={w:t[u.sW],h:t[u.sH]};if(T){var e=Oi(n,$t);$t=n,e&&Zr(!0,!1)}else $t=n}}function Hr(){Sn&&ii(!0)}function Tr(){Sn&&!tt.hasClass(cr)&&ii(!1)}function Wr(){On&&(ii(!0),clearTimeout(xn),xn=setTimeout(function(){On&&!W&&ii(!1)},100))}function kr(t){_||(Q!==e?clearTimeout(Q):((gn||On)&&ii(!0),yi()||zi(et,Te),ui("onScrollStart",t)),ai(!0,st[ue]()),ai(!1,st[le]()),ui("onScroll",t),Q=setTimeout(function(){W||(Lr(),ui("onScrollStop",t))},Dn))}function Lr(){clearTimeout(Q),Q=e,(gn||On)&&ii(!1),yi()||Ei(et,Te)}function Ir(){Jr(),Wn.update(Zn)}function Nr(t){var n=t.keyCode;if(!vi(n)){if(0===mr.length){var e=function(){Jr(),Wn.update(Zn)};e(),vn=setInterval(e,1e3/60)}-1===d.inArray(n,mr)&&mr.push(n)}}function Pr(t){var n=t.keyCode;if(!vi(n)){var e=d.inArray(n,mr);e>-1&&mr.splice(e,1),0===mr.length&&(Jr(),Wn.update(Zn),clearInterval(vn))}}function Rr(){setTimeout(function(){W||(Jr(),Wn.update(Zn))},50)}function Dr(){yn=!0}function jr(){yn=!1,clearInterval(vn),mr=[],Jr(),Wn.update(Zn)}function qr(t){return nt[ue](x.i&&en?9999999:0),nt[le](0),l.prvD(t),l.stpP(t),!1}function Fr(t){if(!_){var n=(t.originalEvent||t).touches!==e;(1===l.mBtn(t)||n)&&(dn&&(zn=!0,Er()),xr=l.page(t),wr.w=et[0][u.oW]-(N?0:R),wr.h=et[0][u.oH]-(N?0:D),J.on(xe,_r).on(de,Br).on(he,Ur),zi(tt,cr),ft.setCapture&&ft.setCapture(),l.prvD(t),l.stpP(t))}}function Br(t){var n=l.page(t),e={};(Hn||Mn)&&(e[Kn]=wr.w+n.x-xr.x),(Tn||Mn)&&(e[$n]=wr.h+n.y-xr.y),et.css(e),l.stpP(t)}function Ur(t){var n=t!==e;J.off(xe,_r).off(de,Br).off(he,Ur),Ei(tt,cr),ft.releaseCapture&&ft.releaseCapture(),n&&(zn&&zr(),Wn.update(Zn)),zn=!1}function _r(t){return l.prvD(t),!1}function Qr(){Zr()}function Vr(){var t={};return L&&ct&&(t.w=di(ct.css(Xn+Kn)),t.h=di(ct.css(Xn+$n)),t.c=Oi(t,cn),t.f=!0),cn=t,t.c||!1}function Xr(t,n){var r=n!==e&&null!==n?n.split(oe):Jn,i=t!==e&&null!==t?t.split(oe):Jn;if(r===Jn&&i===Jn)return!1;var o,a,s,c,u=hi(i,r),l=!1,f=on!==e&&null!==on?on.split(oe):[Jn],h=rn!==e&&null!==rn?rn.split(oe):[Jn],p=d.inArray(ur,u),v=u[o];for(p>-1&&u.splice(p,1),o=0;o<u.length;o++)if(0!==(v=u[o]).indexOf(Se)){for(s=!0,c=!0,a=0;a<f.length;a++)if(v===f[a]){s=!1;break}for(a=0;a<h.length;a++)if(v===h[a]){c=!1;break}if(s&&c){l=!0;break}}return l}function Yr(t){var n=t.attributeName,e=t.target,r=t.type,i="closest";if(e===ut[0])return null===n;if("attributes"===r&&(n===u.c||n===u.s)&&!k){if(typeof e[i]!=c.f)return!0;if(null!==e[i](ie+_e)||null!==e[i](ie+Ye)||null!==e[i](ie+nr))return!1}return!0}function Kr(){if(_)return!1;var t,n=k&&St&&!qt?nt.val().length:0,e=!dn&&St&&!k,r={},i={};H&&(r={x:st[0][u.sW],y:st[0][u.sH]}),e&&(t=ut.css(Gn),i[Gn]=U?_n:Vn,i[Kn]=Zn,ut.css(i));var o={w:mi()[u.sW]+n,h:mi()[u.sH]+n};e&&(i[Gn]=t,i[Kn]=ne,ut.css(i));var a=Vr(),s=Oi(o,Kt),c=Oi(r,un,ee,re);return Kt=o,un=r,s||a||c}function $r(){if(_||dn)return!1;var t=et.attr(u.i)||Jn,n=gi(t,Bt),e=et.attr(u.c)||Jn,r=gi(e,Ut),i=et.attr(u.s)||Jn,o=gi(i,_t),a=et.is(":visible")||Jn,s=gi(a,Qt),c=k&&nt.attr("rows")||Jn,l=gi(c,Vt),f=k&&nt.attr("cols")||Jn,h=gi(f,Xt),d=k&&nt.attr("wrap")||Jn,p=gi(d,Yt);return Bt=t,r&&(r=Xr(Ut,e)),Ut=e,_t=i,Qt=a,Vt=c,Xt=f,Yt=d,n||r||o||s||l||h||p}function Gr(t){if(!T)return!0;var n="flex-grow",e="flex-shrink",r="flex-basis",i=[Kn,Xn+Kn,Yn+Kn,qn+Vn,qn+_n,Vn,_n,"font-weight","word-spacing",n,e,r],o=[Fn+Vn,Fn+_n,Bn+Vn+Kn,Bn+_n+Kn],a=[$n,Xn+$n,Yn+$n,qn+Un,qn+Qn,Un,Qn,"line-height",n,e,r],s=[Fn+Un,Fn+Qn,Bn+Un+Kn,Bn+Qn+Kn],c="s",u="v-s",l=Nt.x===c||Nt.x===u,f=!1,h=function(t,n){for(var e=0;e<t.length;e++)if(t[e]===n)return!0;return!1};return(Nt.y===c||Nt.y===u)&&((f=h(a,t))||N||(f=h(s,t))),l&&!f&&((f=h(i,t))||N||(f=h(o,t))),f}function Jr(){if(!_){var t,n,e,r,i=!qt,o=Pn.w-(N||kt||!St?0:D+q),a=Pn.h-(N||kt||!At?0:D+q),s={},c=St||i,l=nt[0];return s[Xn+Kn]=Jn,s[Xn+$n]=Jn,s[Kn]=Zn,nt.css(s),t=l[u.oW],n=c?Math.max(t,l[u.sW]-1):1,n+=St?F+(N?0:i?0:R+j):0,s[Kn]=St?n:ne,s[$n]=Zn,nt.css(s),e=l[u.oH],r=Math.max(e,l[u.sH]-1),s[Kn]=n,s[$n]=r,lt.css(s),s[Xn+Kn]=o+(!N&&St?R+j:0),s[Xn+$n]=a+(!N&&At?D+q:0),nt.css(s),{ow:t,oh:e,dw:n,dh:r}}}function Zr(t,n,r,i){var o=l.now(),s=dr>0&&T&&o-K<dr&&!At&&!St&&!i,c=et.is(":hidden"),f=gi(c,ln,r);if(ln=c,clearTimeout($),s&&(hr.h=t,hr.c=n,hr.f=r,$=setTimeout(Zr,dr)),!(W||s||_||T&&!r&&c||"inline"===et.css("display"))){K=o,t=t||hr.h,n=n||hr.c,r=r||hr.f,hr={},t=t!==e&&t,n=n!==e&&n,r=r!==e&&r,!g||y.x&&y.y?S=Ci(!0,{},a.nativeScrollbarSize):(S.x=0,S.y=0),Rn={x:3*(S.x+(y.x?0:3)),y:3*(S.y+(y.y?0:3))},Ar(it),Ar(rt);var p={l:st[ue](),t:st[le]()},v=Y.scrollbars,b=Y.textarea,A=v.visibility,C=gi(A,Gt,r),z=v.autoHide,M=gi(z,Jt,r),I=v.clickScrolling,Q=gi(I,Zt,r),V=v.dragScrolling,X=gi(V,tn,r),G=Y.className,J=gi(G,rn,r),Z=Y.resize,tt=gi(Z,nn,r)&&!L,ht=!!k&&"off"!==nt.attr("wrap"),dt=gi(ht,qt,r),pt=Y.paddingAbsolute,vt=gi(pt,kt,r),yt=Y.clipAlways,mt=gi(yt,Lt,r),Wt=Y.sizeAutoCapable&&!L,Bt=gi(Wt,jt,r),Ut=Y.nativeScrollbarsOverlaid.showNativeScrollbars,_t=gi(Ut,Rt),Qt=Y.autoUpdate,Vt=gi(Qt,Dt),Xt=Y.overflowBehavior,Yt=Oi(Xt,Nt,ee,re,r),Kt=b.dynWidth,$t=gi(sn,Kt),un=b.dynHeight,fn=gi(an,un);if(bn="n"===z,gn="s"===z,On="m"===z,Sn="l"===z,wn=v.autoHideDelay,An=v.touchSupport,on=rn,En="n"===Z,Mn="b"===Z,Hn="h"===Z,Tn="v"===Z,en=Y.normalizeRTL,Ut=Ut&&y.x&&y.y,Gt=A,Jt=z,Zt=I,tn=V,rn=G,nn=Z,qt=ht,kt=pt,Lt=yt,jt=Wt,Rt=Ut,Dt=Qt,Nt=Ci(!0,{},Xt),sn=Kt,an=un,gt=gt||{x:!1,y:!1},J&&(Ei(et,on+oe+ur),zi(et,G!==e&&null!==G&&G.length>0?G:ur)),Vt&&(!0===Qt?(Er(),h.add(Wn)):null===Qt&&w?(Er(),h.add(Wn)):(h.remove(Wn),zr())),Bt)if(Wt)if(ot===e&&(ot=d(xi(Be)),at.before(ot)),P)rt.show();else{rt=d(xi(Ue)),ot.before(rt);var hn={w:-1,h:-1};Or(rt,function(){var t={w:rt[0][u.oW],h:rt[0][u.oH]};Oi(t,hn)&&(T&&At&&t.h>0||St&&t.w>0?Zr():(T&&!At&&0===t.h||!St&&0===t.w)&&Zr()),hn=t}),P=!0,null!==O&&rt.css($n,O+"(100% + 1px)")}else P&&rt.hide();r&&(it.find("*").trigger(te),P&&rt.find("*").trigger(te));var pn,vn=et.css("direction"),mn=gi(vn,Tt,r),xn=et.css("box-sizing"),Cn=gi(xn,zt,r),zn={c:r,t:di(et.css(Fn+Un)),r:di(et.css(Fn+_n)),b:di(et.css(Fn+Qn)),l:di(et.css(Fn+Vn))};try{pn=P?rt[0].getBoundingClientRect():null}catch(qi){return}N="border-box"===xn;var kn=(U="rtl"===vn)?Vn:_n,In=U?_n:Vn,Nn=et[0],Dn=at[0],jn=!1,ie=!(!P||"none"===et.css(Gn))&&(0===Math.round(pn.right-pn.left)&&(!!pt||Nn[u.cW]-R>0));if(Wt&&!ie){var ae=Nn[u.oW],se=ot.css(Kn);ot.css(Kn,Zn);var ce=Nn[u.oW];ot.css(Kn,se),(jn=ae!==ce)||(ot.css(Kn,ae+1),ce=Nn[u.oW],ot.css(Kn,se),jn=ae!==ce)}var he=(ie||jn)&&Wt&&!c,ye=gi(he,St,r),me=!he&&St,xe=!(!P||c)&&0===Math.round(pn.bottom-pn.top),we=gi(xe,At,r),be=!xe&&At,ge="-"+Kn,Oe=he&&N||!N,Se=xe&&N||!N,Ae={c:r,t:Se?di(et.css(Bn+Un+ge),!0):0,r:Oe?di(et.css(Bn+_n+ge),!0):0,b:Se?di(et.css(Bn+Qn+ge),!0):0,l:Oe?di(et.css(Bn+Vn+ge),!0):0},Ce={c:r,t:di(et.css(qn+Un)),r:di(et.css(qn+_n)),b:di(et.css(qn+Qn)),l:di(et.css(qn+Vn))},ze={h:String(et.css(Yn+$n)),w:String(et.css(Yn+Kn))},Ee={},Ie={},Ne=function(){return{w:Nn[u.cW],h:Nn[u.cH]}},Pe=function(){var t=Dn.getBoundingClientRect();return t[Kn]?{w:t[Kn],h:t[$n]}:{w:Dn[u.oW],h:Dn[u.oH]}};if(R=zn.l+zn.r,D=zn.t+zn.b,zn.ax=pt?R:0,zn.ay=pt?D:0,zn.c=Si(zn,Et),j=Ae.l+Ae.r,q=Ae.t+Ae.b,Ae.c=Si(Ae,Mt),F=Ce.l+Ce.r,B=Ce.t+Ce.b,Ce.c=Si(Ce,Ht),ze.ih=di(ze.h),ze.iw=di(ze.w),ze.ch=ze.h.indexOf("px")>-1,ze.cw=ze.w.indexOf("px")>-1,ze.c=Oi(ze,Ct,r),Tt=vn,zt=xn,St=he,At=xe,Et=zn,Mt=Ae,Ht=Ce,Ct=ze,mn&&P&&rt.css(Gn,In),zn.c||mn||vt||ye||we||Cn||Bt){var Re={},De={};li(Ie,qn,[-zn.t,-zn.r,-zn.b,-zn.l]),pt?(li(Re,Jn,[zn.t,zn.r,zn.b,zn.l]),li(k?De:Ee,Fn)):(li(Re,Jn),li(k?De:Ee,Fn,[zn.t,zn.r,zn.b,zn.l])),at.css(Re),nt.css(De)}Pn=Pe();var je=!!k&&Jr();if(xe&&(we||vt||Cn||ze.c||zn.c||Ae.c)?(ze.cw&&(Ee[Yn+$n]=ze.ch?ze.ih-zn.ay+(N?-q:D):Jn),Ee[$n]=Zn):(we||vt)&&(Ee[Yn+$n]=Jn,Ee[$n]=ne),he&&(ye||vt||Cn||ze.c||zn.c||Ae.c||mn)?(ze.cw&&(Ee[Yn+Kn]=ze.cw?ze.iw-zn.ax+(N?-j:R)+(y.y?m.y:0):Jn),Ee[Kn]=Zn,Ie[Yn+Kn]=ne):(ye||vt)&&(Ee[Yn+Kn]=Jn,Ee[Kn]=ne,Ee[Gn]=Jn,Ie[Yn+Kn]=Jn),he&&(ze.cw||(Ee[Yn+Kn]=Jn),Ie[Kn]=k&&Kt?je.dw:Zn,Ee[Kn]=Zn,Ee[Gn]=In),xe&&(ze.ch||(Ee[Yn+$n]=Jn),Ie[$n]=k?un?je.dh:Zn:ut[0][u.cH]),Wt&&ot.css(Ie),ut.css(Ee),Ee={},Ie={},t||n||mn||Cn||vt||ye||he||we||xe||ze.c||_t||Yt||mt||tt||C||$t||fn||dt||r){var qe="overflow",_e=qe+"-x",Qe=qe+"-y",Ve="hidden",Xe="visible",Ye=H?y.x||y.y||Pn.w<Rn.y||Pn.h<Rn.x||xe||f:xe,Ke={},$e=gt.y&&Ot.ys&&!Ut?y.y?st.css(kn):-S.y:0,Ge=gt.x&&Ot.xs&&!Ut?y.x?st.css(Qn):-S.x:0;li(Ke,Jn),st.css(Ke),Ye&&ut.css(qe,Ve);var Je=mi(),Ze=H&&!Ye?st[0]:Je,tr={w:Je[u.cW],h:Je[u.cH]},nr={w:Math.max(Je[u.sW],Ze[u.sW]),h:Math.max(Je[u.sH],Ze[u.sH])},ar={w:k&&je&&!Kt?je.ow:he?tr.w:nr.w,h:k&&je&&!un?je.oh:xe?tr.h:nr.h};Ke[Qn]=be?Jn:Ge,Ke[kn]=me?Jn:$e,st.css(Ke),Pn=Pe();var sr=Ne(),cr={w:Math.max(ar.w+zn.ax,sr.w-R)-(Kt&&k&&he?F+(N?0:R+j):0),h:Math.max(ar.h+zn.ay,sr.h-D)};if(cr.c=Oi(cr,It,r),It=cr,Wt){(cr.c||xe||he)&&(Ie[Kn]=cr.w,Ie[$n]=cr.h);var lr=Ie[Kn]+(N?j:-R),fr=Ie[$n]+(N?q:-R),pr={};(!he||!he&&Ae.c)&&(Ie[Kn]=sr.w-(N?0:R+j)-1-F),(!xe||!xe&&Ae.c)&&(Ie[$n]=sr.h-(N?0:D+q)-1-B),ze.cw&&ze.iw===lr&&(Ie[Kn]=lr+(N?0:R)+1),ze.ch&&ze.ih===fr&&(Ie[$n]=fr+(N?0:D)+1),he&&(tr.w<Pn.w||k&&!ht)&&0===R&&(k&&(pr[Kn]=di(lt.css(Kn))-1),Ie[Kn]-=1),xe&&(tr.h<Pn.h||k)&&0===D&&(k&&(pr[$n]=di(lt.css($n))-1),Ie[$n]-=1),ar.h>0&&(Ie[Kn]=Math.max(1,Ie[Kn]),Ie[$n]=Math.max(1,Ie[$n])),k&&lt.css(pr),ot.css(Ie)}he&&(Ee[Kn]=ne),!he||N||dn||(Ee[Gn]="none"),ut.css(Ee),Ee={};var vr=Je.getBoundingClientRect(),yr=vr[Kn]||0,mr=vr[$n]||0,xr={w:Math.max(Je[u.sW],Ze[u.sW])+di(yr)-yr,h:Math.max(Je[u.sH],Ze[u.sH])+di(mr)-mr};xr.c=n=Oi(xr,wt,r),wt=xr,Ye&&ut.css(qe,Jn),Pn=Pe(),t=Oi(sr=Ne(),xt),xt=sr;var wr={x:"v-s"===Xt.x,y:"v-s"===Xt.y},Sr={x:"v-h"===Xt.x,y:"v-h"===Xt.y},Mr={x:"s"===Xt.x,y:"s"===Xt.y},kr={x:Math.max(0,Math.round(100*(xr.w-Pn.w))/100),y:Math.max(0,Math.round(100*(xr.h-Pn.h))/100)},Lr=k&&(0===Pn.w||0===Pn.h),Ir=0===st[0].scrollLeftMax&&kr.x>0&&kr.x<1||0===st[0].scrollTopMax&&kr.y>0&&kr.y<1;(Lr||Ir)&&(kr.x=kr.y=0);var Nr={x:kr.x>0,y:kr.y>0},Pr={x:Nr.x,y:Nr.y};(wr.x||Sr.x)&&(Pr.x=Nr.y&&!wr.y&&!Sr.y),(wr.y||Sr.y)&&(Pr.y=Nr.x&&!wr.x&&!Sr.x),Pr.xs=!!Pr.x&&(Mr.x||wr.x),Pr.ys=!!Pr.y&&(Mr.y||wr.y);var Rr={x:Nr.x&&Pr.xs,y:Nr.y&&Pr.ys},Dr=Pt;if(kr.c=Oi(kr,Pt,ee,re,r),Pt=kr,Nr.c=Oi(Nr,gt,ee,re,r),gt=Nr,Pr.c=Oi(Pr,Ot,ee,re,r),Ot=Pr,y.x||y.y){var jr="px solid transparent",qr={},Br={},Ur=r;(Nr.x||Nr.y)&&(Br.w=y.y&&Nr.y?xr.w+m.y:Jn,Br.h=y.x&&Nr.x?xr.h+m.x:Jn,Ur=gi(Br,bt,r),bt=Br),(Nr.c||Pr.c||xr.c||mn||ye||we||he||xe||_t)&&(Ee[qn+In]=Ee[Bn+In]=Jn,y.x&&Nr.x&&Pr.xs?(Ee[qn+Qn]=xe?Ut?Jn:m.x:Jn,Ee[Bn+Qn]=xe||Ut?Jn:m.x+jr):(Br.h=Ee[qn+Qn]=Ee[Bn+Qn]=Jn,Ur=!0),y.y&&Nr.y&&Pr.ys?(Ee[qn+kn]=he?Ut?Jn:m.y:Jn,Ee[Bn+kn]=Ut?Jn:m.y+jr):(Br.w=Ee[qn+kn]=Ee[Bn+kn]=Jn,Ur=!0)),Ut&&(Br.w=Br.h=Jn,Ur=!0),Ur&&(qr[Kn]=Pr.y?Br.w:Jn,qr[$n]=Pr.x?Br.h:Jn,ct||(ct=d(xi(Fe)),st.prepend(ct)),ct.css(qr)),ut.css(Ee)}var _r={};Re={};if(t||Nr.c||Pr.c||xr.c||Yt||Cn||_t||mn||mt||we){_r[In]=Jn;var Qr=function(){_r[Qn]=Jn,Ln.h=0},Xr=function(){_r[kn]=Jn,Ln.w=0};if(Nr.x&&Pr.xs?(_r[_e]=te,Ut?Qr():(_r[Qn]=-(y.x?m.x:S.x),Ln.h=y.x?m.y:0)):(_r[_e]=Jn,Qr()),Nr.y&&Pr.ys?(_r[Qe]=te,Ut?Xr():(_r[kn]=-(y.y?m.y:S.y),Ln.w=y.y?m.x:0)):(_r[Qe]=Jn,Xr()),(Pn.h<Rn.x||Pn.w<Rn.y)&&(Nr.x&&Pr.x&&!y.x||Nr.y&&Pr.y&&!y.y)?(_r[Fn+Un]=Rn.x,_r[qn+Un]=-Rn.x,_r[Fn+In]=Rn.y,_r[qn+In]=-Rn.y):_r[Fn+Un]=_r[qn+Un]=_r[Fn+In]=_r[qn+In]=Jn,_r[Fn+kn]=_r[qn+kn]=Jn,Nr.x&&Pr.x||Nr.y&&Pr.y||Lr?k&&Lr&&(Re[_e]=Re[Qe]=Ve):(!yt||Sr.x||wr.x||Sr.y||wr.y)&&(k&&(Re[_e]=Re[Qe]=Jn),_r[_e]=_r[Qe]=Xe),at.css(Re),st.css(_r),_r={},(Nr.c||Cn||ye||we)&&(!y.x||!y.y)){var Yr=ut[0],Kr=Yr[u.s];Kr.webkitTransform="scale(1)",Kr.display="run-in",Yr[u.oH],Kr.display=Jn,Kr.webkitTransform=Jn}}if(Ee={},mn||ye||we)if(U&&he){var $r=ut.css(Gn),Gr=Math.round(ut.css(Gn,Jn).css(Vn,Jn).position().left);ut.css(Gn,$r),Gr!==Math.round(ut.position().left)&&(Ee[Vn]=Gr)}else Ee[Vn]=Jn;ut.css(Ee);var ti="v"===A,ni="h"===A,ei="a"===A,ci=l.bind(ri,0,!0,!0,Rr.x),fi=l.bind(ri,0,!1,!0,Rr.y),hi=l.bind(ri,0,!0,!1,Rr.x),vi=l.bind(ri,0,!1,!1,Rr.y);if(Pr.x||Pr.y?zi(et,We):Ei(et,We),Pr.x?zi(et,ke):Ei(et,ke),Pr.y?zi(et,Le):Ei(et,Le),mn&&(U?zi(et,Me):Ei(et,Me)),L&&zi(et,He),tt){var yi=function(){ft.on(fe,Fr)},wi=function(){ft.off(fe,Fr)};En?(zi(et,He),Ei(ft,[er,rr,ir,or].join(oe)),wi()):(Ei(et,He),zi(ft,er),Mn?zi(ft,rr):Hn?zi(ft,ir):Tn&&zi(ft,or),wi(),yi())}if((C||Yt||Pr.c||Nr.c||_t)&&(Ut?_t&&(Ei(et,Te),Ut&&(hi(),vi())):ei?(Rr.x?ci():hi(),Rr.y?fi():vi()):ti?(ci(),fi()):ni&&(hi(),vi())),M||_t){var bi=function(t){E?t?br(et,de,Wr):(br(et,pe,Hr),br(et,ve,Tr)):t?et.on(de,Wr):et.on(pe,Hr).on(ve,Tr),T||et.one("mouseover",Hr)},Ai=function(){E?(gr(et,de,Wr),gr(et,pe,Hr),gr(et,ve,Tr)):et.off(de,Wr).off(pe,Hr).off(ve,Tr)};Sn||On?(Ai(),bi(On)):Ai(),bn?ii(!0):ii(!1,!0)}if((t||kr.c||we||ye||tt||Cn||vt||_t||mn)&&(oi(!0),ai(!0,p.l),oi(!1),ai(!1,p.t)),Q&&si(!0,I),X&&si(!1,V),k&&n){var Mi=pi();if(Mi){var Hi=Ft===e||Mi.rows!==Ft.rows,Ti=Mi.cR,Wi=Mi.cC,ki=Mi.w,Li=Mi.r,Ii=Mi.c,Ni=Mi.p,Pi=Mi.m===Ni&&yn,Ri={x:ht||Wi!==Ii||Ti!==ki?-1:Pt.x,y:(ht?Pi||Hi&&Dr!==e&&p.t===Dr.y:(Pi||Hi)&&Ti===Li)?Pt.y:-1},Di=Ri.x>-1,ji=Ri.y>-1;(Di||ji)&&(ji&&st[le](Ri.y),Di&&(U&&en&&x.i?st[ue](0):st[ue](Ri.x)))}Ft=Mi}else k||(U&&x.i&&y.y&&Nr.x&&en&&(p.l+=Ln.w||0),st[ue](p.l),st[le](p.t));mn&&ui("onDirectionChanged",{isRTL:U,dir:vn}),t&&ui("onHostSizeChanged",{width:xt.w,height:xt.h}),n&&ui("onContentSizeChanged",{width:wt.w,height:wt.h}),(Nr.c||Pr.c)&&ui("onOverflowChanged",{x:Nr.x,y:Nr.y,xScrollable:Pr.xs,yScrollable:Pr.ys,clipped:Pr.x||Pr.y}),kr.c&&ui("onOverflowAmountChanged",{x:kr.x,y:kr.y})}L&&(gt.c||cn.c)&&(cn.f||Vr(),y.y&&gt.x&&ut.css(Xn+Kn,cn.w+m.y),y.x&&gt.y&&ut.css(Xn+$n,cn.h+m.x),cn.c=!1),Cr(it),Cr(rt),ui("onUpdated",{forced:r})}}function ti(t){X=Ci(!0,{},X,C.v(t,C.t,!0)),Y=Ci(!0,{},Y,C.v(t,C.t,!1,!0))}function ni(){ht=d(xi(Ye+oe+ar)),dt=d(xi(Ke)),pt=d(xi(Ge)),vt=d(xi(Ye+oe+sr)),yt=d(xi(Ke)),mt=d(xi(Ge)),ht.append(dt),dt.append(pt),vt.append(yt),yt.append(mt),at.after(vt),at.after(ht),A&&(ht.on(we,function(t){t.target===ht[0]&&(oi(!0),ai(!0,st[ue]()))}),vt.on(we,function(t){t.target===vt[0]&&(oi(!1),ai(!1,st[le]()))})),ei(!0),ei(!1),ft=d(xi(nr)),et.append(ft)}function ei(t){var n,r,i,o=ci(t),a=G.top!==G,s=o.xy,c=o.XY,u=te+o.LT,f="active",h=1,p=[16,17];function v(){h=.5}function y(){h=1}function m(t){d.inArray(t.keyCode,p)>-1&&v()}function w(t){d.inArray(t.keyCode,p)>-1&&y()}function g(t){var n=(t.originalEvent||t).touches!==e;return!(_||yi()||!tn||n&&!An)&&(1===l.mBtn(t)||n)}function O(e){if(g(e)){var i=o.i.tl,f=o.i.hl,h=o.i.ms*(((b&&a?e["screen"+c]:l.page(e)[s])-r)/(i-f));h=isFinite(h)?h:0,U&&t&&!x.i&&(h*=-1),st[u](n+h),E||l.prvD(e)}else S(e)}function S(t){t=t||t.originalEvent,Ei(tt,cr),Ei(o.h,f),Ei(o.t,f),Ei(o.s,f),J.off(de,O).off(he,S).off(ye,m).off(me,w).off(xe,_r),y(),n=e,r=e,i!==e&&(Wn.scrollStop(),clearTimeout(i),i=e);var a=et[0].getBoundingClientRect();t.clientX>=a.left&&t.clientX<=a.right&&t.clientY>=a.top&&t.clientY<=a.bottom||Tr(),(gn||On)&&ii(!1)}function A(i){n=(n=st[u]())===e?0:n,(U&&t&&!x.n||!U)&&(n=n<0?0:n),r=b&&a?i["screen"+c]:l.page(i)[s],zi(tt,cr),zi(o.h,f),zi(o.s,f),J.on(de,O).on(he,S).on(xe,_r),!b&&I||l.prvD(i),l.stpP(i)}o.h.on(fe,function(t){g(t)&&A(t)}),o.t.on(fe,function(n){if(g(n)){var a,c,d=Pn[o._wh],p=o.t.offset()[o.lt],y=n.ctrlKey,b=n.shiftKey,O=b&&y,C=!0,z="linear",E=function(){if(!W){var l=r-p,f=o.i.tl,v=o.i.ho,y=o.i.hl,m=o.i.ms,w=270*h,g=C?Math.max(400,w):w,S=m*((l-y/2)/(f-y)),M=U&&t&&(!x.i&&!x.n||en),H=M?v<l:v>l,T={};b?(S=isFinite(S)?S:0,U&&t&&!x.i&&(S=m-S),O?(T.n=!1,T[s]=S,Wn.scroll(T,130,z,function(){A(n)})):(st[u](S),A(n))):(a=C?H:a,c=M?a?v+y>=l:v<=l:a?v<=l:v+y>=l,T[s]=a?"-="+d:"+="+d,Wn.scrollStop(),Wn.scroll(T,w,z),c?(clearTimeout(i),Wn.scrollStop(),i=e):i=setTimeout(E,g),C=!1)}};y&&v(),r=l.page(n)[s],zi(tt,cr),zi(o.t,f),zi(o.s,f),J.on(he,S).on(ye,m).on(me,w).on(xe,_r),E(),l.prvD(n),l.stpP(n)}}).on(pe,function(){(gn||On)&&(Cn=!0,ii(!0))}).on(ve,function(){(gn||On)&&(Cn=!1,ii(!1))}),o.s.on(fe,function(t){l.stpP(t)})}function ri(t,n,e){var r=t?Ce:ze,i=t?ht:vt;n?Ei(et,r):zi(et,r),e?Ei(i,Ze):zi(i,Ze)}function ii(t,n){if(clearTimeout(mn),t)Ei(ht,tr),Ei(vt,tr);else{var e="active",r=function(){if(!Cn&&!W){var t=pt.hasClass(e)||mt.hasClass(e);!t&&(gn||On||Sn)&&zi(ht,tr),!t&&(gn||On||Sn)&&zi(vt,tr)}};wn>0&&!0!==n?mn=setTimeout(r,wn):r()}}function oi(t){var n={},e=ci(t),r=1e6,i=Math.min(1,(xt[e._wh]-(kt?t?R:D:0))/wt[e._wh]);n[e.wh]=Math.floor(100*i*r)/r+"%",yi()||e.h.css(n),e.i.hl=e.h[0]["offset"+e.WH],e.i.hlr=i}function ai(t,n){var e,r,i,o=U&&t,a={},s=ci(t),c="translate(",u="transform",l=st[0][te+s.WH]-st[0]["client"+s.WH],f=s.i.hl,h=s.t[0]["offset"+s.WH],d=h-f;x.n&&o&&(l*=-1),i=n/l,i=isNaN(i)?0:Math.min(1,i),s.i.ms=l,s.i.cs=n,s.i.csr=i,d*=i,d=isNaN(d)?0:d,o&&!x.i&&(d=h-f-d),d=Math.max(0,d),z?(r=o?-(h-f-d):d,e=t?c+r+"px, 0)":c+"0, "+r+"px)",a["-webkit-"+u]=e,a["-moz-"+u]=e,a["-ms-"+u]=e,a["-o-"+u]=e,a[u]=e):a[s.lt]=d,yi()||s.h.css(a),s.i.ho=d,s.i.tl=h}function si(t,n){var e=n?"removeClass":"addClass",r=t?yt:mt,i=t?$e:Je;(t?dt:pt)[e](i),r[e](i)}function ci(t){return{wh:t?Kn:$n,WH:t?"Width":"Height",lt:t?Vn:Un,LT:t?"Left":"Top",xy:t?ee:re,XY:t?"X":"Y",_wh:t?"w":"h",_lt:t?"l":"t",t:t?dt:yt,h:t?pt:mt,s:t?ht:vt,i:t?In:Nn}}function ui(t,n){if(T){var e,r=Y.callbacks[t],i=t;"on"===i.substr(0,2)&&(i=i.substr(2,1).toLowerCase()+i.substr(3)),Ai(r)==c.f&&r.call(Wn,n),d.each(lr,function(){Ai((e=this).on)==c.f&&e.on(i,n)})}}function li(t,n,r){r===e&&(r=[Jn,Jn,Jn,Jn]),t[n+Un]=r[0],t[n+_n]=r[1],t[n+Qn]=r[2],t[n+Vn]=r[3]}function fi(n){var e="ownerDocument",r="HTMLElement",i=n&&n[e]&&n[e].parentWindow||t;return typeof i[r]==c.o?n instanceof i[r]:n&&typeof n==c.o&&null!==n&&1===n.nodeType&&typeof n.nodeName==c.s}function hi(t,n){var e,r,i=[],o=[];for(e=0;e<t.length;e++)i[t[e]]=!0;for(e=0;e<n.length;e++)i[n[e]]?delete i[n[e]]:i[n[e]]=!0;for(r in i)o.push(r);return o}function di(n,e){var r=e?t.parseFloat(n):t.parseInt(n);return isNaN(r)?0:r}function pi(){var t=nt[0].selectionStart;if(t!==e){var n,r,i="length",o=nt.val(),a=o[i],s=o.split("\n"),c=s[i],u=o.substr(0,t).split("\n"),l=0,f=0,h=u[i],d=u[u[i]-1][i];for(r=0;r<s[i];r++)(n=s[r][i])>f&&(l=r+1,f=n);return{cR:h,cC:d,r:c,c:f,w:l,p:t,m:a}}}function vi(t){for(var n=0;n<yr.length;n++)if(t===yr[n])return!0;return!1}function yi(){return Rt&&y.x&&y.y}function mi(){return k?lt[0]:ut[0]}function xi(t,n){return"<div "+(t?Ai(t)==c.s?'class="'+t+'"':function(){var n,e="";if(d.isPlainObject(t))for(n in t)e+=("className"===n?"class":n)+'="'+t[n]+'" ';return e}():Jn)+">"+(n||Jn)+"</div>"}function wi(t,n){for(var e,r=n.split(ie),i=0;i<r.length;i++){if(!t.hasOwnProperty(r[i]))return;e=t[r[i]],i<r.length&&Ai(e)==c.o&&(t=e)}return e}function bi(t,n,e){for(var r=n.split(ie),i=r.length,o=0,a={},s=a;o<i;o++)a=a[r[o]]=o+1<i?{}:e;d.extend(t,s,!0)}function gi(t,n,r){return!0===r?r:n===e||t!==n}function Oi(t,n,r,i,o){if(!0===o)return o;if(i===e&&o===e){if(!0===r)return r;r=e}return r=r===e?"w":r,i=i===e?"h":i,n===e||(t[r]!==n[r]||t[i]!==n[i])}function Si(t,n){return n===e||(t.t!==n.t||t.r!==n.r||t.b!==n.b||t.l!==n.l)}function Ai(t){return l.type(t)}function Ci(){return d.extend.apply(this,arguments)}function zi(t,n){return kn.addClass.call(t,n)}function Ei(t,n){return kn.removeClass.call(t,n)}function Mi(t){return kn.remove.call(t)}function Hi(t,n){return kn.find.call(t,n).eq(0)}function Ti(t,e,r){if(V=a.defaultOptions,g=a.nativeScrollbarStyling,S=Ci(!0,{},a.nativeScrollbarSize),y=Ci(!0,{},a.nativeScrollbarIsOverlaid),m=Ci(!0,{},a.overlayScrollbarDummySize),x=Ci(!0,{},a.rtlScrollBehavior),ti(Ci(!0,{},V,e)),y.x&&y.x&&!Y.nativeScrollbarsOverlaid.initialize)return ui("onInitializationWithdrawn"),!1;var i;if(O=a.cssCalc,b=a.msie,w=a.autoUpdateRecommended,A=a.supportTransition,z=a.supportTransform,E=a.supportPassiveEvents,M=a.supportResizeObserver,pn=a.supportMutationObserver,H=a.restrictedMeasuring,J=d(t.ownerDocument),G=d(J[0].defaultView||J[0].parentWindow),Z=Hi(J,"html"),tt=Hi(Z,"body"),nt=d(t),k=nt.is("textarea"),L=nt.is("body"),I=J[0]!==n,L&&((i={}).l=Math.max(nt[ue](),Z[ue](),G[ue]()),i.t=Math.max(nt[le](),Z[le](),G[le]())),k){nt.wrap(xi(Ae)),zi(nt,Ie+oe+Xe),et=nt.parent();var o={};Y.sizeAutoCapable||(o[Kn]=nt.css(Kn),o[$n]=nt.css($n)),et.css(o).wrapInner(xi(qe+oe+Xe)).wrapInner(xi(Re+oe+Xe)).wrapInner(xi(Pe+oe+Xe)),ut=Hi(et,ie+qe),st=Hi(et,ie+Re),at=Hi(et,ie+Pe),lt=d(xi(Ne)),ut.prepend(lt),nt.on(te,qr).on("drop",Rr).on("focus",Dr).on("focusout",jr),b>9||!w?nt.on("input",Ir):nt.on(ye,Nr).on(me,Pr)}else zi(nt,Se),(et=nt).wrapInner(xi(qe)).wrapInner(xi(Re)).wrapInner(xi(Pe)),ut=Hi(et,ie+qe),st=Hi(et,ie+Re),at=Hi(et,ie+Pe),ut.on(we,function(t){!0!==Dt&&Gr((t=t.originalEvent||t).propertyName)&&Zr(Zn)});if(ni(),E?br(st,te,kr):st.on(te,kr),g&&zi(st,y.x&&y.y?je:De),pn){var s,f,h,p,v,C,N=l.mO(),P=l.now();fn=new N(function(t){if(T&&!_){var n,e=!1;d.each(t,function(){if(s=(n=this).target,f=n.attributeName,e=f===u.c?Xr(n.oldValue,s.className):f!==u.s||n.oldValue!==s[u.s].cssText)return!1}),e&&Wn.update(Zn)}}),hn=new N(function(t){if(T&&!_){var n=!1;d.each(t,function(){return!(n=Yr(this))}),n&&(p=l.now(),v=At||St,C=function(){W||(P=p,k&&Jr(),v?Zr():Wn.update(Zn))},clearTimeout(h),vr<=0||p-P>vr||!v?C():h=setTimeout(C,vr))}})}return L&&(zi(Z,Oe),st[ue](i.l),st[le](i.t)),it=d(xi("os-resize-observer-host")),et.prepend(it),Or(it,Mr),Mr(),Wn.update(Zn),setTimeout(function(){A&&!W&&zi(et,Ee)},333),T=!0,ui("onInitialized"),Ai(r)==c.s&&(r=[r]),l.isA(r)?d.each(r,function(){Wn.addExt(this)}):d.isPlainObject(r)&&d.each(r,function(t,n){Wn.addExt(t,n)}),T}}return t[s]=function(n,o,a){if(0===arguments.length)return this;z();var c,u,l=[];return d.isPlainObject(o)?n&&n.length?(d.each(n,function(){(c=this)!==e&&l.push(H(c,o,a,r,i))}),u=l.length>1?l:l[0]):u=H(n,o,a,r,i):n&&(n.length&&n.length>0?(d.each(n,function(){c=p(this),"!"===o?c instanceof t[s]&&l.push(c):l.push(c)}),u=l.length>1?l:l[0]):u=p(n)),u},t[s].globals=function(){z();var t=d.extend(!0,{},r);return delete t.msie,t},t[s].defaultOptions=function(t){z();var n=r.defaultOptions;if(t===e)return d.extend(!0,{},n);r.defaultOptions=d.extend(!0,{},n,C.v(t,C.t,!0))},t[s].extension=function(t,n,e){var r=l.type(t)==c.s,i=arguments[u.l],o=0;if(i<1||!r)return d.extend(!0,{length:A[u.l]},A);if(r)if(l.type(n)==c.f)A.push({name:t,extension:n,defaultOptions:e});else for(;o<A[u.l];o++)if(A[o].name===t){if(!(i>1))return d.extend(!0,{},A[o]);A.splice(o,1)}},t[s]}();return f&&f.fn&&(f.fn.overlayScrollbars=function(t,n){var e=this;return f.isPlainObject(t)?(f.each(e,function(){v(this,t,n)}),e):v(e,t)}),v});
{
"name": "overlayscrollbars",
"version": "1.5.2",
"version": "1.5.3",
"description": "A javascript scrollbar plugin which hides the native scrollbars and provides custom styleable overlay scrollbars, but keeps the native functionality and feeling.",

@@ -5,0 +5,0 @@ "keywords" : [

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 too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc