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.4.5 to 1.5.0

6

js/jquery.overlayScrollbars.min.js

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

*
* Version: 1.4.5
* Version: 1.5.0
*

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

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

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

*
* Version: 1.4.5
* Version: 1.5.0
*

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

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

@@ -23,2 +23,3 @@ ![OverlayScrollbars](https://kingsora.github.io/OverlayScrollbars/img/logo.png)

- Simple and effective scrollbar-styling.
- Sophisticated extension system.

@@ -41,2 +42,5 @@ ## Demo & Documentation

#### cdn
You can also use OverlayScrollbars via a [cdn](https://cdnjs.com/libraries/overlayscrollbars).
#### npm

@@ -81,6 +85,6 @@ OverlayScrollbars can be also downloaded from [npm](https://www.npmjs.com/package/overlayscrollbars).

```js
$(function() {
//The first argument are the elements to which the plugin shall be initialized
//The second argument has to be at least a empty object or a object with your desired options
OverlayScrollbars(document.querySelectorAll('body'), { });
document.addEventListener("DOMContentLoaded", function() {
//The first argument are the elements to which the plugin shall be initialized
//The second argument has to be at least a empty object or a object with your desired options
OverlayScrollbars(document.querySelectorAll('body'), { });
});

@@ -494,2 +498,41 @@ ```

</tr>
<tr>
<td><b><a href="https://kingsora.github.io/OverlayScrollbars/#!documentation/method-ext" target="_blank">.ext()</a></b></td>
<td>Returns the instance of a certain extension of the current plugin instance.</td>
</tr>
<tr>
<td colspan="2">
example(s):<br>
<pre lang="js">
//get the instance of the extension "myExtension"
var extensionInstance = instance.ext("myExtension");</pre>
</td>
</tr>
<tr>
<td><b><a href="https://kingsora.github.io/OverlayScrollbars/#!documentation/method-addext" target="_blank">.addExt()</a></b></td>
<td>Adds a extension to the current instance.</td>
</tr>
<tr>
<td colspan="2">
example(s):<br>
<pre lang="js">
//add the registered extension "myExtension" to the plugin instance
var extensionInstance = instance.addExt("myExtension");</pre>
</td>
</tr>
<tr>
<td><b><a href="https://kingsora.github.io/OverlayScrollbars/#!documentation/method-removeext" target="_blank">.removeExt()</a></b></td>
<td>Removes a extension from the current instance.</td>
</tr>
<tr>
<td colspan="2">
example(s):<br>
<pre lang="js">
//add the registered extension "myExtension" to the plugin instance
instance.addExt("myExtension");
//remove the added extension "myExtension" from the plugin instance
instance.removeExt("myExtension");</pre>
</td>
</tr>
</table>

@@ -535,2 +578,20 @@

</tr>
<tr>
<td><b><a href="https://kingsora.github.io/OverlayScrollbars/#!documentation/gmethod-extension" target="_blank">OverlayScrollbars.extension()</a></b></td>
<td>Registers, Unregisters or returns extensions.</td>
</tr>
<tr>
<td colspan="2">
example(s):<br>
<pre lang="js">
//register a dummy extension with the name "myExtension"
OverlayScrollbars.extension("myExtension", function() { return { }; });
//unregister the extension with the name "myExtension"
OverlayScrollbars.extension("myExtension", null);
//get the extension-object with the name "myExtension"
var registeredExtension = OverlayScrollbars.extension("myExtension");
//get all registered extension-objects
var extensionObjects = OverlayScrollbars.extension();</pre>
</td>
</tr>
</table>

@@ -537,0 +598,0 @@

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