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.3 to 1.4.4

4

js/jquery.overlayScrollbars.min.js

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

*
* Version: 1.4.3
* Version: 1.4.4
*

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

* Released under the MIT license.
* Date: 17.04.2018
* Date: 06.05.2018
*/
!function(t,e){"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 o="OverlayScrollbars",i={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=r,l=r,c=function(r,l,c){var u,f,h,d,v,p,y,x,w,m,b,g,S,z=(h=[i.b,i.n,i.s,i.a,i.o,i.f,i.z],d=" ",v=":",p=[i.z,i.s],y=i.b,x=i.n,w=[i.z,y],m=[i.z,i.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,w],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,m],onInitializationWithdrawn:[null,m],onDestroyed:[null,m],onScrollStart:[null,m],onScroll:[null,m],onScrollStop:[null,m],onOverflowChanged:[null,m],onOverflowAmountChanged:[null,m],onDirectionChanged:[null,m],onContentSizeChanged:[null,m],onHostSizeChanged:[null,m],onUpdated:[null,m]}},{d:(S=function(t){var e=function(n){var r,o,a;for(r in n)n.hasOwnProperty(r)&&(o=n[r],(a=c.type(o))===i.a?n[r]=o[t?1:0]:a===i.o&&(n[r]=e(o)));return n};return e(c.extend(!0,{},g))})(),t:S(!0),v:function(t,e,n,r,o){var a={},s=c.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,w,m,b,g=!1,S=e[s],z=c.type(S),O=c.type(S)!==i.a?[S]:S,C=t[s],M=c.type(C),H=a?a+".":"",W='The option "'+H+s+"\" wasn't set, because",k=[],A=[];if(z===i.o)o[s]={},l(C,S,o[s],H+s),c.isEmptyObject(C)&&delete t[s];else{for(w=0;w<O.length;w++)if(x=O[w],p=(z=c.type(x))===i.s&&-1===c.inArray(x,h))for(k.push(i.s),u=x.split(d),A=A.concat(u),m=0;m<u.length;m++){for(y=(f=u[m].split(v))[0],b=0;b<f.length;b++)if(C===f[b]){g=!0;break}if(g)break}else if(k.push(x),M===x){g=!0;break}g?o[s]=p&&r?y:C:n&&console.warn(W+" it doesn't accept the type [ "+M.toUpperCase()+' ] with the value of "'+C+'".\r\nAccepted types are: [ '+k.join(", ").toUpperCase()+" ]."+(A.length>0?"\r\nValid strings are: [ "+A.join(", ").split(v).join(", ")+" ].":"")),delete t[s]}}};return l(s,e,a),o?c.extend(!0,a,s):!c.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 C(z.d)),f||(f=new M(u))}function C(o){var i=this,s="overflow",u="hidden",f="scroll",h=c("body"),d=c('<div id="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>'),v=d[0],p=c(d.children("div").first()),y=v[a.oH];h.append(d),0===y&&d.hide().show();var x,w,m,b,g,S,z,O,C,M=k(v),H={x:0===M.x,y:0===M.y};function W(t){var r=!1,o="Webkit Moz ms O".split(" "),i=e.createElement("div"),a=null,s=0;if(t=t.toLowerCase(),i.style[t]!==n&&(r=!0),!r)for(a=t.charAt(0).toUpperCase()+t.substr(1);s<o.length;s++)if(i.style[o[s]+a]!==n){r=!0;break}return r}function k(t){return{x:t[a.oH]-t[a.cH],y:t[a.oW]-t[a.cW]}}c.extend(i,{defaultOptions:o,autoUpdateLoop:!1,autoUpdateRecommended:!r.mO(),nativeScrollbarSize:M,nativeScrollbarIsOverlaid:H,nativeScrollbarStyling:(d.addClass("os-viewport-native-scrollbars-invisible"),d.css(s,u).hide().css(s,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",m="substring",b=x[w]("MSIE "),g=x[w]("Trident/"),S=x[w]("Edge/"),z=x[w]("rv:"),O=!1,C=t.parseInt,b>0?O=C(x[m](b+5,x[w](".",b)),10):g>0?O=C(x[m](z+3,x[w](".",z)),10):S>0&&(O=C(x[m](S+5,x[w](".",S)),10)),O),cssCalc:function(){var t,n,r=e.createElement("div"),o=["calc","-webkit-calc","-moz-calc","-o-calc"];for(t=0;t<o.length;++t)if(n=o[t],r.style.cssText="width:"+n+"(1px);",r.style.length)return n;return null}(),restrictedMeasuring:function(){d.css(s,u);var t={w:v[a.sW],h:v[a.sH]};d.css(s,"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:W("transform"),supportTransition:W("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(),o=s();c(t).on("resize",function(){if(l.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)),x=Math.abs(f),w=Math.abs(v),m=Math.abs(p),b=Math.abs(y),g=s(),S=x>2&&w>2,z=!a(m,b);!(S&&z&&(g!==o&&o>0))||(h.append(d),i.nativeScrollbarSize=k(d[0]),d.remove(),c.each(l.all(),function(){l.has(this)&&l.get(this).update("zoom")})),e=t,n=u,o=g}})}function a(t,e){var n=Math.abs(t),r=Math.abs(e);return!(n===r||n+1===r||n-1===r)}function s(){var e=t.screen.deviceXDPI||0,n=t.screen.logicalXDPI||1;return t.devicePixelRatio||e/n}}()}function M(t){var e,o=this,i="autoUpdate",a=i+"Interval",s=[],l=[],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(),o=t-d;if(o>h){d=t-o%h;for(var c=f,p=0;p<s.length;p++){var y=s[p];if(y!==n){var x=y.options(),w=x[i],m=Math.max(1,x[a]),b=r.now();(!0===w||null===w)&&b-l[p]>m&&(y.update("auto"),l[p]=new Date(b+=m)),c=Math.max(1,Math.min(c,m))}}h=c}}else h=f};o.add=function(e){-1===c.inArray(e,s)&&(s.push(e),l.push(r.now()),s.length>0&&!u&&(u=!0,t.autoUpdateLoop=u,v()))},o.remove=function(o){var i=c.inArray(o,s);i>-1&&(l.splice(i,1),s.splice(i,1),0===s.length&&u&&(u=!1,t.autoUpdateLoop=u,e!==n&&(r.cAF()(e),e=-1)))}}function H(e,u,f,h){if(ro(e)){if(l.has(e)){var d=l.get(e);return d.options(u),d}var v,p,y,x,w,m,b,g,S,O,C,M,H,W,k,A,T,E,L,R,D,P,N,_,F,I,j,U,B,V,q,X,Y,K,J,Q,G,Z,$,tt,et,nt,rt,ot,it,at,st,lt,ct,ut,ft,ht,dt,vt,pt,yt,xt,wt,mt,bt,gt,St,zt,Ot,Ct,Mt,Ht,Wt,kt,At,Tt,Et,Lt,Rt,Dt,Pt,Nt,_t,Ft,It,jt,Ut,Bt,Vt,qt,Xt,Yt,Kt,Jt,Qt,Gt,Zt,$t,te,ee,ne,re,oe,ie,ae,se,le,ce,ue,fe,he,de,ve,pe,ye,xe,we,me,be,ge,Se,ze,Oe,Ce=new t[o],Me={},He={},We={},ke={},Ae={},Te=175,Ee="-hidden",Le="margin-",Re="padding-",De="border-",Pe="top",Ne="right",_e="bottom",Fe="left",Ie="min-",je="max-",Ue="width",Be="height",Ve="float",qe="",Xe="auto",Ye="scroll",Ke="100%",Je="x",Qe="y",Ge=".",Ze=" ",$e="scrollbar",tn="-horizontal",en="-vertical",nn=Ye+"Left",rn=Ye+"Top",on="mousedown touchstart",an="mouseup touchend",sn="mousemove touchmove",ln="mouseenter",cn="mouseleave",un="keydown",fn="keyup",hn="selectstart",dn="transitionend webkitTransitionEnd oTransitionEnd",vn="__overlayScrollbarsRO__",pn="os-",yn=pn+"html",xn=pn+"host",wn=xn+"-textarea",mn=xn+"-"+$e+tn+Ee,bn=xn+"-"+$e+en+Ee,gn=xn+"-transition",Sn=xn+"-rtl",zn=xn+"-resize-disabled",On=xn+"-scrolling",Cn=xn+"-overflow",Mn=Cn+"-x",Hn=Cn+"-y",Wn=pn+"textarea",kn=Wn+"-cover",An=pn+"padding",Tn=pn+"viewport",En=Tn+"-native-scrollbars-invisible",Ln=Tn+"-native-scrollbars-overlaid",Rn=pn+"content",Dn=pn+"content-arrange",Pn=pn+"content-glue",Nn=pn+"size-auto-observer",_n=pn+"resize-observer",Fn=pn+"resize-observer-item",In=Fn+"-final",jn=pn+"text-inherit",Un=pn+$e,Bn=Un+"-track",Vn=Bn+"-off",qn=Un+"-handle",Xn=qn+"-off",Yn=Un+"-unusable",Kn=Un+"-"+Xe+Ee,Jn=Un+"-corner",Qn=Jn+"-resize",Gn=Qn+"-both",Zn=Qn+tn,$n=Qn+en,tr=Un+tn,er=Un+en,nr=pn+"dragging",rr=pn+"theme-none",or={},ir=33,ar=[],sr=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],cr=[],ur={},fr={};if(Ce.sleep=function(){j=!0},Ce.update=function(t){var e,n,r="zoom"===t,o="img",i="load";t===Xe?(e=Ur(),n=jr(),(e||n)&&qr(!1,n)):r?qr(!0,!0):(t=j||t,j=!1,qr(!1,!1,t)),A||r||at.find(o).each(function(t,e){-1===c.inArray(e,ar)&&(e=c(e)).off(i,Nr).on(i,Nr)})},Ce.options=function(t,e){if(c.isEmptyObject(t)||!c.isPlainObject(t)){if(wo(t)===i.s){if(arguments.length>=2){var n={};return vo(n,t,e),Xr(n),void qr()}return ho(V,t)}return V}Xr(t);var r=j||!1;j=!1,qr(),j=r},Ce.destroy=function(){k=!0,h.remove(Ce),mr(),pr(et),L&&pr(tt),So(et),nt!==n&&So(nt),it!==n&&So(it),L&&So(tt),C?(dr($,sn,zr),dr($,ln,gr),dr($,cn,Sr)):$.off(sn,zr).off(ln,gr).off(cn,Sr),So(ct),So(ht),lt&&So(lt),ge||Dr(),at.contents().unwrap().unwrap().unwrap(),T&&go(Q,yn),A?(Z.off(Ye,Er).off("drop",kr).off("focus",Ar).off("focusout",Tr),w>9||!x?Z.off("input",Mr):Z.off(un,Hr).off(fn,Wr),So(st),go(Z,Wn+Ze+jn).unwrap().removeAttr(a.s),So($)):(go(Z,xn),go($,[xn,zn,Sn,mn,bn,gn,On,Cn,Mn,Hn,rr,te].join(Ze)));for(var t=0;t<ar.length;t++)c(ar[t]).off("load",Nr);for(var r in ar=n,l.rem(e),eo(q.callbacks.onDestroyed),Ce)delete Ce[r];Ce=n},Ce.scroll=function(e,r,o,l){if(0===arguments.length||e===n){var u=He,f=We,h=$t&&I&&y.i,d=$t&&I&&y.n,v=u.cs,p=u.csr,x=u.ms;return v=h?x-v:v,{x:{position:v*=d?-1:1,ratio:p=h?1-p:p,max:x*=d?-1:1,handleOffset:u.ho,handleLength:u.hl,handleLengthRatio:u.hlr,trackLength:u.tl,isRTL:I,isRTLNormalized:$t},y:{position:f.cs,ratio:f.csr,max:f.ms,handleOffset:f.ho,handleLength:f.hl,handleLengthRatio:f.hlr,trackLength:f.tl}}}var w,m=[Je,Fe,"l"],b=[Qe,Pe,"t"],g=["+=","-=","*=","/="],S={},z=wo(r)===i.o,C="end",M="begin",H="center",W="nearest",k={axis:"xy",block:[M,M],margin:[0,0,0,0]},A=[Je,Qe,"xy","yx"],T=[M,C,H,W],E=e.hasOwnProperty("el"),L=E?e.el:e,R=!!(L instanceof c||s)&&L instanceof s,D=!R&&ro(L),P=function(t,e){for(w=0;w<e.length;w++)if(t===e[w])return!0;return!1},N=function(t){var e={};if(wo(t)===i.a&&t.length>0)e.x=t[0],e.y=t[1];else if(wo(t)===i.s||wo(t)===i.n)e.x=t,e.y=t;else if(wo(t)===i.o){for(var n in t=mo({},t),w=0,t)t.hasOwnProperty(n)&&(w>2&&delete t[n],w++);var r=function(e){var n=e?m:b;for(w=0;w<n.length;w++)if(n[w]in t)return t[n[w]]};e.x=r(!0),e.y=r(!1)}return e},_=function(e,r){var o,a,s,l=e?He:We,c=l.cs,u=l.ms,f=" * ",h=I&&e,d=h&&y.n&&!$t,v="replace";if(wo(r)===i.s){if(r.length>2){var p=r.substr(0,2);for(w=0;w<g.length;w++)if(p===g[w]){o=g[w];break}}r=(r=(r=(r=(r=(r=(r=(r=(r=o!==n?r.substr(2):r)[v](/min/g,0))[v](/</g,0))[v](/max/g,(d?"-":qe)+Ke))[v](/>/g,(d?"-":qe)+Ke))[v](/px/g,qe))[v](/%/g,f+u*(h&&y.n?-1:1)/100))[v](/vw/g,f+ke.w))[v](/vh/g,f+ke.h),a=io(t.parseFloat(t.eval(r)).toFixed())}else wo(r)===i.n&&(a=r);if(!isNaN(a)&&a!==n&&wo(a)===i.n){var x=$t&&h,m=c*(x&&y.n?-1:1),b=x&&y.i,S=x&&y.n;switch(m=b?u-m:m,o){case"+=":s=m+a;break;case"-=":s=m-a;break;case"*=":s=m*a;break;case"/=":s=m/a;break;default:s=a}b&&(s=u-s),S&&(s*=-1),h&&y.n?(s=Math.max(u,s),s=Math.min(0,s)):(s=Math.min(u,s),s=Math.max(0,s)),s===c&&(s=n)}return s};if(R||D){var F=R?L:c(L);if(0===F.length)return;if(E){var j,U,B,V=e.axis,q=e.block,X=wo(q),Y=e.margin,K=wo(Y);if(X===i.s)q=[q,q];else if(X===i.a)if((U=q.length)>2||U<1)q=n;else{for(j=!0,1===U&&(q[1]=M),w=0;w<U;w++){var J=q[w];if(wo(J)!==i.s||!P(J,T)){j=!1;break}}j||(q=n)}else q=n;if(K===i.n)Y=[Y,Y,Y,Y];else if(K===i.b)Y=Y?[io(F.css(Le+Pe)),io(F.css(Le+Ne)),io(F.css(Le+_e)),io(F.css(Le+Fe))]:[0,0,0,0];else if(K===i.a)if(2!==(B=Y.length)&&4!==B)Y=n;else{for(j=!0,w=0;w<B;w++)if(wo(Y[w])!==i.n){j=!1;break}j?2===B&&(Y=[Y[0],Y[1],Y[0],Y[1]]):Y=n}else Y=n;k.axis=P(V,A)?V:k.axis,k.block=q||k.block,k.margin=Y||k.margin}var Q=F.offset(),G=rt.offset(),Z={l:He.cs,t:We.cs},$=k.axis,tt=k.block,et=k.margin,nt={x:tt[0]===(I?M:C),y:tt[1]===C},it={x:tt[0]===H,y:tt[1]===H},at={x:tt[0]===W,y:tt[1]===W},st={},lt=nt.x||nt.y||it.x||it.y||at.x||at.y;Q.top-=et[0],Q.left-=et[3];var ct={x:Math.round(Q.left-G.left+Z.l),y:Math.round(Q.top-G.top+Z.t)};if(I&&(y.n||y.i||(ct.x=Math.round(G.left-Q.left+Z.l)),y.n&&$t&&(ct.x*=-1),y.i&&$t&&(ct.x=Math.round(G.left-Q.left+(He.ms-Z.l)))),lt){var ut,ft={},ht={w:(ft=O?{w:(ut=F[0].getBoundingClientRect())[Ue],h:ut[Be]}:{w:F[0][a.oW],h:F[0][a.oH]}).w+et[3]+et[1],h:ft.h+et[0]+et[2]},dt=function(t){var e=to(t),n=it[e.xy]?2:1,r=Q[e.lt]+ht[e._wh]/2,o=G[e.lt]+ke[e._wh]/2;at[e.xy]&&(st[e.xy]=ht[e._wh]<=ke[e._wh]&&Q[e.lt]>=G[e.lt]&&Q[e.lt]+ht[e._wh]<=G[e.lt]+ke[e._wh],nt[e.xy]=ht[e._wh]<ke[e._wh]?r>o:r<o),(nt[e.xy]||it[e.xy])&&(ct[e.xy]-=(ke[e._wh]/n-ht[e._wh]/n)*(t&&I&&$t?-1:1))};dt(!0),dt(!1)}($===Je||st.y)&&delete ct.y,($===Qe||st.x)&&delete ct.x,e=ct}S.x=_(!0,N(e).x),S.y=_(!1,N(e).y);var vt=S.x!==n,pt=S.y!==n;if(r>0||z){var yt={};if(vt&&(yt[nn]=S.x),pt&&(yt[rn]=S.y),z)ot.animate(yt,r);else{var xt={duration:r,complete:l};if(wo(o)===i.a){var wt={};wt[nn]=o[0],wt[rn]=o[1],xt.specialEasing=wt}else xt.easing=o;ot.animate(yt,xt)}}else vt&&ot[nn](S.x),pt&&ot[rn](S.y)},Ce.scrollStop=function(t,e,n){ot.stop(t,e,n)},Ce.getElements=function(){return{target:Z[0],host:$[0],padding:rt[0],viewport:ot[0],content:at[0],scrollbarHorizontal:{scrollbar:ct[0],track:ut[0],handle:ft[0]},scrollbarVertical:{scrollbar:ht[0],track:dt[0],handle:vt[0]},scrollbarCorner:lt}},Ce.getState=function(t){var e=function(t){if(!c.isPlainObject(t))return t;var e=mo(!0,{},t),n=function(t,n){e.hasOwnProperty(t)&&(e[n]=e[t],delete e[t])};return n("w",Ue),n("h",Be),delete e.c,e},n={sleeping:e(j)||!1,autoUpdate:e(!se),widthAuto:e(bt),heightAuto:e(gt),padding:e(Ot),overflowAmount:e(Lt),hideOverflow:e(mt),hasOverflow:e(wt),contentScrollSize:e(yt),viewportSize:e(ke),hostSize:e(pt)};return wo(t)===i.s?ho(n,t):n},zo(e,u))return l.add(e,Ce),Ce;Ce=n}function hr(t,e,n){for(var r=e.split(Ze),o=0;o<r.length;o++)t[0].addEventListener(r[o],n,{passive:!0})}function dr(t,e,n){for(var r=e.split(Ze),o=0;o<r.length;o++)t[0].removeEventListener(r[o],n)}function vr(t,e){var n=3333333,o=r.rO(),s="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart",l="childNodes",u=function(){t[rn](n)[nn](I?y.n?-n:y.i?0:n:n),e()};if(M){var h=t.append(fo(_n+" observed")).contents()[0];(h[vn]=new o(u)).observe(h)}else if(w>9||!x){t.prepend(fo(_n,fo({className:Fn,dir:"ltr"},fo(Fn,fo(In))+fo(Fn,fo({className:In,style:"width: 200%; height: 200%"})))));var d,v,p,m,b=t[0][l][0][l][0],g=c(b[l][1]),S=c(b[l][0]),z=c(S[0][l][0]),O=b[a.oW],C=b[a.oH],H=2,W=f.nativeScrollbarSize,k=function(){S[nn](n)[rn](n),g[nn](n)[rn](n)},A=function(){v=0,d&&(O=p,C=m,u())},T=function(t){return p=b[a.oW],m=b[a.oH],d=p!=O||m!=C,t&&d&&!v?(r.cAF()(v),v=r.rAF()(A)):t||A(),k(),t&&(r.prvD(t),r.stpP(t)),!1},E={},L={};L[Pe]=-(W.y+1)*H,L[Ne]=W.x*-H,L[_e]=W.y*-H,L[Fe]=-(W.x+1)*H,c(b).css(L),S.on(Ye,T),g.on(Ye,T),t.on(s,function(){T(!1)}),E[Ue]=n,E[Be]=n,z.css(E),k()}else{var R=J[0],D=R.attachEvent,P=!1!==w;if(D)t.prepend(fo(_n)),uo(t,Ge+_n)[0].attachEvent("onresize",u);else{var N=R.createElement(i.o);N.setAttribute("tabindex","-1"),N.setAttribute(a.c,_n),N.onload=function(){var t=this.contentDocument.defaultView;t.addEventListener("resize",u),t.document.documentElement.style.display="none"},N.type="text/html",P&&t.prepend(N),N.data="about:blank",P||t.prepend(N),t.on(s,u)}}if(t[0]===et[0]){var _=function(){var e=$.css("direction"),r={},o=0,i=!1;return e!==Wt&&("ltr"===e?(r[Fe]=0,r[Ne]=Xe,o=n):(r[Fe]=Xe,r[Ne]=0,o=y.n?-n:y.i?0:n),et.children().first().css(r),t[nn](o)[rn](n),Wt=e,i=!0),i};_(),t.on(Ye,function(t){return _()&&qr(),r.prvD(t),r.stpP(t),!1})}}function pr(t){if(M){var e=t.contents()[0];e[vn].disconnect(),delete e[vn]}else So(t.children(Ge+_n).first())}function yr(t){if(t!==n&&M){var e=t.contents()[0];e[vn].unobserve(e)}}function xr(t){if(t!==n&&M){var e=t.contents()[0];e[vn].observe(e)}}function wr(){le&&!se&&(ie.observe($[0],{attributes:!0,attributeOldValue:!0,attributeFilter:[a.i,a.c,a.s]}),ae.observe(A?Z[0]:at[0],{attributes:!0,attributeOldValue:!0,subtree:!A,childList:!A,characterData:!A,attributeFilter:A?["wrap","cols","rows"]:[a.i,a.c,a.s]}),se=!0)}function mr(){le&&se&&(ie.disconnect(),ae.disconnect(),se=!1)}function br(){if(!j){var t=et[0],e={w:t[a.sW],h:t[a.sH]};if(W){var n=yo(e,Yt);Yt=e,n&&qr(!0,!1)}else Yt=e}}function gr(){xe&&Qr(!0)}function Sr(){xe&&!G.hasClass(nr)&&Qr(!1)}function zr(){ye&&(Qr(!0),clearTimeout(he),he=setTimeout(function(){ye&&Qr(!1)},100))}function Or(t){var e=q.callbacks;j||(U!==n?clearTimeout(U):((pe||ye)&&Qr(!0),lo()||$.addClass(On),eo(e.onScrollStart,t)),Zr(!0,ot[nn]()),Zr(!1,ot[rn]()),eo(e.onScroll,t),U=setTimeout(function(){Cr(),eo(e.onScrollStop,t)},Te))}function Cr(){clearTimeout(U),U=n,(pe||ye)&&Qr(!1),lo()||$.removeClass(On)}function Mr(){Vr(),Ce.update(Xe)}function Hr(t){var e=t.keyCode;if(!so(e)){if(0===cr.length){var n=function(){Vr(),Ce.update(Xe)};n(),ce=setInterval(n,1e3/60)}-1===c.inArray(e,cr)&&cr.push(e)}}function Wr(t){var e=t.keyCode;if(!so(e)){var n=c.inArray(e,cr);n>-1&&cr.splice(n,1),0===cr.length&&(Vr(),Ce.update(Xe),clearInterval(ce))}}function kr(){setTimeout(function(){Vr(),Ce.update(Xe)},50)}function Ar(){ue=!0}function Tr(){ue=!1,clearInterval(ce),cr=[],Vr(),Ce.update(Xe)}function Er(t){return Z[nn](y.i&&$t?9999999:0),Z[rn](0),r.prvD(t),r.stpP(t),!1}function Lr(t){if(!j){var e=(t.originalEvent||t).touches!==n;(1===r.mBtn(t)||e)&&(se&&(be=!0,mr()),ur=r.page(t),fr.w=$[0][a.oW]-(E?0:R),fr.h=$[0][a.oH]-(E?0:D),J.on(hn,Pr).on(sn,Rr).on(an,Dr),G.addClass(nr),lt.setCapture&&lt.setCapture(),r.prvD(t),r.stpP(t))}}function Rr(t){var e=r.page(t),n={};(ze||Se)&&(n[Ue]=fr.w+e.x-ur.x),(Oe||Se)&&(n[Be]=fr.h+e.y-ur.y),$.css(n),r.stpP(t)}function Dr(t){var e=t!==n;J.off(hn,Pr).off(sn,Rr).off(an,Dr),G.removeClass(nr),lt.releaseCapture&&lt.releaseCapture(),e&&(be&&wr(),Ce.update(Xe)),be=!1}function Pr(t){return r.prvD(t),!1}function Nr(){qr()}function _r(){var t={};return T&&it&&(t.w=io(it.css(Ie+Ue)),t.h=io(it.css(Ie+Be)),t.c=yo(t,oe),t.f=!0),oe=t,t.c}function Fr(t,e){var r=e!==n&&null!==e?e.split(Ze):qe,o=t!==n&&null!==t?t.split(Ze):qe;if(r===qe&&o===qe)return!1;var i,a,s,l,u=oo(o,r),f=!1,h=ee!==n&&null!==ee?ee.split(Ze):[qe],d=te!==n&&null!==te?te.split(Ze):[qe],v=c.inArray(rr,u),p=u[i];for(v>-1&&u.splice(v,1),i=0;i<u.length;i++)if(0!==(p=u[i]).indexOf(xn)){for(s=!0,l=!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]){l=!1;break}if(s&&l){f=!0;break}}return f}function Ir(t){var e=t.attributeName,n=t.target,r=t.type,o="closest";if(n===at[0])return null===e;if("attributes"===r&&(e===a.c||e===a.s)&&!A){if(typeof n[o]!==i.f)return!0;if(null!==n[o](Ge+_n)||null!==n[o](Ge+Un)||null!==n[o](Ge+Jn))return!1}return!0}function jr(){if(j)return!1;var t,e=A&&bt&&!Nt?Z.val().length:0,n=!se&&bt&&!A,r={};n&&(t=at.css(Ve),r[Ve]=I?Ne:Fe,r[Ue]=Xe,at.css(r));var o={w:co()[a.sW]+e,h:co()[a.sH]+e};n&&(r[Ve]=t,r[Ue]=Ke,at.css(r));var i=_r(),s=yo(o,Xt)||i;return Xt=o,s}function Ur(){if(j||se)return!1;var t=$.attr(a.i)||qe,e=po(t,Ft),n=$.attr(a.c)||qe,r=po(n,It),o=$.attr(a.s)||qe,i=po(o,jt),s=$.is(":visible")||qe,l=po(s,Ut),c=A&&Z.attr("rows")||qe,u=po(c,Bt),f=A&&Z.attr("cols")||qe,h=po(f,Vt),d=A&&Z.attr("wrap")||qe,v=po(d,qt);return Ft=t,r&&(r=Fr(It,n)),It=n,jt=o,Ut=s,Bt=c,Vt=f,qt=d,e||r||i||l||u||h||v}function Br(t){if(!W)return!0;var e=[Ue,Ie+Ue,je+Ue,Le+Fe,Le+Ne,Fe,Ne,"font-weight","word-spacing"],n=[Re+Fe,Re+Ne,De+Fe+Ue,De+Ne+Ue],r=[Be,Ie+Be,je+Be,Le+Pe,Le+_e,Pe,_e,"line-height"],o=[Re+Pe,Re+_e,De+Pe+Ue,De+_e+Ue],i="s",a="v-s",s=Et.x===i||Et.x===a,l=!1,c=function(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1};return(Et.y===i||Et.y===a)&&((l=c(r,t))||E||(l=c(o,t))),s&&!l&&((l=c(e,t))||E||(l=c(n,t))),l}function Vr(){if(!j){var t,e,n,r,o=!Nt,i=ke.w-(E||kt||!bt?0:D+N),s=ke.h-(E||kt||!gt?0:D+N),l={},c=bt||o,u=Z[0];return l[Ie+Ue]=qe,l[Ie+Be]=qe,l[Ue]=Xe,Z.css(l),t=u[a.oW],e=c?Math.max(t,u[a.sW]-1):1,e+=bt?_+(E?0:o?0:R+P):0,l[Ue]=bt?e:Ke,l[Be]=Xe,Z.css(l),n=u[a.oH],r=Math.max(n,u[a.sH]-1),l[Ue]=e,l[Be]=r,st.css(l),l[Ie+Ue]=i+(!E&&bt?R+P:0),l[Ie+Be]=s+(!E&&gt?D+N:0),Z.css(l),{ow:t,oh:n,dw:e,dh:r}}}function qr(t,e,o){var i=r.now(),s=ir>0&&W&&i-X<ir&&!gt&&!bt;if(clearTimeout(Y),s&&(or.h=t,or.c=e,or.f=o,Y=setTimeout(qr,ir)),!(s||j||W&&!o&&$.is(":hidden")||"inline"===$.css("display"))){X=i,t=t||or.h,e=e||or.c,o=o||or.f,or={},t=t!==n&&t,e=e!==n&&e,o=o!==n&&o,!m||v.x&&v.y?g=mo(!0,{},f.nativeScrollbarSize):(g.x=0,g.y=0),Ae={x:3*(g.x+(v.x?0:3)),y:3*(g.y+(v.y?0:3))},yr(et),yr(tt);var l={l:ot[nn](),t:ot[rn]()},u=q.callbacks,d=q.scrollbars,w=q.textarea,S=u.onUpdated,z=u.onOverflowChanged,O=u.onOverflowAmountChanged,M=u.onDirectionChanged,k=u.onContentSizeChanged,U=u.onHostSizeChanged,B=d.visibility,V=po(B,Kt,o),K=d.autoHide,J=po(K,Jt,o),Q=d.clickScrolling,G=po(Q,Qt,o),ct=d.dragScrolling,ut=po(ct,Gt,o),ft=q.className,ht=po(ft,te,o),dt=q.resize,vt=po(dt,Zt,o)&&!T,Wt=!!A&&"off"!==Z.attr("wrap"),Ft=po(Wt,Nt,o),It=q.paddingAbsolute,jt=po(It,kt,o),Ut=q.clipAlways,Bt=po(Ut,At,o),Vt=q.sizeAutoCapable&&!T,qt=po(Vt,Pt,o),Xt=q.nativeScrollbarsOverlaid.showNativeScrollbars,Yt=po(Xt,Rt),ie=q.autoUpdate,ae=po(ie,Dt),le=q.overflowBehavior,ce=yo(le,Et,Je,Qe,o),fe=w.dynWidth,he=po(re,me),me=w.dynHeight,be=po(ne,me);if(ve="n"===K,pe="s"===K,ye="m"===K,xe="l"===K,de=d.autoHideDelay,we=d.touchSupport,ee=te,ge="n"===dt,Se="b"===dt,ze="h"===dt,Oe="v"===dt,$t=q.normalizeRTL,Xt=Xt&&v.x&&v.y,Kt=B,Jt=K,Qt=Q,Gt=ct,te=ft,Zt=dt,Nt=Wt,kt=It,At=Ut,Pt=Vt,Rt=Xt,Dt=ie,Et=mo(!0,{},le),re=fe,ne=me,ht&&(go($,ee+Ze+rr),bo($,ft!==n&&null!==ft&&ft.length>0?ft:rr)),ae&&(!0===ie?(mr(),h.add(Ce)):null===ie&&x?(mr(),h.add(Ce)):(h.remove(Ce),wr())),qt)if(Vt)if(nt===n&&(nt=c(fo(Pn)),rt.before(nt)),L)tt.show();else{tt=c(fo(Nn)),nt.before(tt);var He={w:-1,h:-1};vr(tt,function(){var t={w:tt[0][a.oW],h:tt[0][a.oH]};yo(t,He)&&(W&&gt&&t.h>0||bt&&t.w>0?qr():(W&&!gt&&0===t.h||!bt&&0===t.w)&&qr()),He=t}),L=!0,null!==b&&tt.css(Be,b+"(100% + 1px)")}else L&&tt.hide();o&&(et.find("*").trigger(Ye),L&&tt.find("*").trigger(Ye));var We,Te=$.css("direction"),Ee=po(Te,Ht,o),Ge=$.css("box-sizing"),$e=po(Ge,zt,o),tn={c:o,t:io($.css(Re+Pe)),r:io($.css(Re+Ne)),b:io($.css(Re+_e)),l:io($.css(Re+Fe))};try{We=L?tt[0].getBoundingClientRect():null}catch(jo){return}E="border-box"===Ge;var en=(I="rtl"===Te)?Fe:Ne,an=I?Ne:Fe,un=$[0],fn=rt[0],hn=!1,dn=!(!L||"none"===$.css(Ve))&&(0===Math.round(We.right-We.left)&&(!!It||un[a.cW]-R>0));if(Vt&&!dn){var vn=un[a.oW],pn=nt.css(Ue);nt.css(Ue,Xe);var yn=un[a.oW];nt.css(Ue,pn),(hn=vn!==yn)||(nt.css(Ue,vn+1),yn=un[a.oW],nt.css(Ue,pn),hn=vn!==yn)}var xn=(dn||hn)&&Vt,wn=po(xn,bt,o),mn=!xn&&bt,bn=!!L&&0===Math.round(We.bottom-We.top),gn=po(bn,gt,o),Wn=!bn&&gt,kn="-"+Ue,An=xn&&E||!E,Tn=bn&&E||!E,En={c:o,t:Tn?io($.css(De+Pe+kn)):0,r:An?io($.css(De+Ne+kn)):0,b:Tn?io($.css(De+_e+kn)):0,l:An?io($.css(De+Fe+kn)):0},Ln={c:o,t:io($.css(Le+Pe)),r:io($.css(Le+Ne)),b:io($.css(Le+_e)),l:io($.css(Le+Fe))},Rn={h:String($.css(je+Be)),w:String($.css(je+Ue))},_n={},Fn={};if(R=tn.l+tn.r,D=tn.t+tn.b,tn.c=xo(tn,Ot),P=En.l+En.r,N=En.t+En.b,En.c=xo(En,Ct),_=Ln.l+Ln.r,F=Ln.t+Ln.b,Ln.c=xo(Ln,Mt),Rn.ih=io(Rn.h),Rn.iw=io(Rn.w),Rn.ch=Rn.h.indexOf("px")>-1,Rn.cw=Rn.w.indexOf("px")>-1,Rn.c=yo(Rn,St,o),Ht=Te,zt=Ge,bt=xn,gt=bn,Ot=tn,Ct=En,Mt=Ln,St=Rn,Ee&&L&&tt.css(Ve,an),tn.c||Ee||jt||wn||gn||$e||qt){var In={},jn={};no(Fn,Le,[-tn.t,-tn.r,-tn.b,-tn.l]),It?(no(In,qe,[tn.t,tn.r,tn.b,tn.l]),no(A?jn:_n,Re)):(no(In,qe),no(A?jn:_n,Re,[tn.t,tn.r,tn.b,tn.l])),rt.css(In),Z.css(jn)}ke={w:fn[a.oW],h:fn[a.oH]};var Un=!!A&&Vr();if(bn&&(gn||jt||$e||Rn.c||tn.c||En.c)?(Rn.cw&&(_n[je+Be]=Rn.ch?Rn.ih-(It?D:0)+(E?-N:D):qe),_n[Be]=Xe):(gn||jt)&&(_n[je+Be]=qe,_n[Be]=Ke),xn&&(wn||jt||$e||Rn.c||tn.c||En.c||Ee)?(Rn.cw&&(_n[je+Ue]=Rn.cw?Rn.iw-(It?R:0)+(E?-P:R)+(v.y?p.y:0):qe),_n[Ue]=Xe,Fn[je+Ue]=Ke):(wn||jt)&&(_n[je+Ue]=qe,_n[Ue]=Ke,_n[Ve]=qe,Fn[je+Ue]=qe),xn&&(Rn.cw||(_n[je+Ue]=qe),Fn[Ue]=A&&fe?Un.dw:Xe,_n[Ue]=Xe,_n[Ve]=an),bn&&(Rn.ch||(_n[je+Be]=qe),Fn[Be]=A?me?Un.dh:Xe:at[0][a.cH]),Vt&&nt.css(Fn),at.css(_n),_n={},Fn={},wt=wt||{x:!1,y:!1},t||e||Ee||$e||jt||wn||xn||gn||bn||Rn.c||Yt||ce||Bt||vt||V||he||be||Ft||jt||he||be||o){var Bn="overflow",Vn=Bn+"-x",qn=Bn+"-y",Xn="hidden",Yn="visible",Kn=H&&(v.x||v.y||ke.w<Ae.y||ke.h<Ae.x)||bn,Jn={},tr=wt.y&&mt.ys&&!Xt?v.y?ot.css(en):-g.y:0,er=wt.x&&mt.xs&&!Xt?v.x?ot.css(_e):-g.x:0;no(Jn,qe),ot.css(Jn),Kn&&at.css(Bn,Xn);var nr=co(),ar=H&&!Kn?ot[0]:nr,sr={w:nr[a.cW],h:nr[a.cH]},lr={w:Math.max(nr[a.sW],ar[a.sW]),h:Math.max(nr[a.sH],ar[a.sH])},cr={w:A&&Un&&!fe?Un.ow:xn?sr.w:lr.w,h:A&&Un&&!me?Un.oh:bn?sr.h:lr.h};Jn[_e]=Wn?qe:er,Jn[en]=mn?qe:tr,ot.css(Jn);var ur={w:un[a.cW],h:un[a.cH]},fr={w:Math.max(cr.w+(It?R:0),ur.w-R)-(fe&&A&&xn?_+(E?0:R+P):0),h:Math.max(cr.h+(It?D:0),ur.h-D)};if(fr.c=yo(fr,Tt,o),Tt=fr,Vt){(fr.c||bn||xn)&&(Fn[Ue]=fr.w,Fn[Be]=fr.h);var pr=Fn[Ue]+(E?P:-R),br=Fn[Be]+(E?N:-R),Or={};(!xn||!xn&&En.c)&&(Fn[Ue]=ur.w-(E?0:R+P)-1-_),(!bn||!bn&&En.c)&&(Fn[Be]=ur.h-(E?0:D+N)-1-F),Rn.cw&&Rn.iw===pr&&(Fn[Ue]=pr+(E?0:R)+1),Rn.ch&&Rn.ih===br&&(Fn[Be]=br+(E?0:D)+1),xn&&(sr.w<ke.w||A&&!Wt)&&0===R&&(A&&(Or[Ue]=io(st.css(Ue))-1),Fn[Ue]-=1),bn&&(sr.h<ke.h||A)&&0===D&&(A&&(Or[Be]=io(st.css(Be))-1),Fn[Be]-=1),cr.h>0&&(Fn[Ue]=Math.max(1,Fn[Ue]),Fn[Be]=Math.max(1,Fn[Be])),A&&st.css(Or),nt.css(Fn)}xn&&(_n[Ue]=Ke),!xn||E||se||(_n[Ve]="none"),at.css(_n),_n={};var Cr=nr.getBoundingClientRect(),Mr={w:Math.max(nr[a.sW],ar[a.sW]),h:Math.max(nr[a.sH],ar[a.sH])};if(Kn&&at.css(Bn,qe),Cr.width){var Hr=Cr.width,Wr=Cr.height,kr=.001;Mr.w+=io(Hr+kr)-Hr,Mr.h+=io(Wr+kr)-Wr}Mr.c=e=yo(Mr,yt,o),yt=Mr,t=yo(ur={w:un[a.cW],h:un[a.cH]},pt),pt=ur,ke={w:fn[a.oW],h:fn[a.oH]};var Ar={x:"v-s"===le.x,y:"v-s"===le.y},Tr={x:"v-h"===le.x,y:"v-h"===le.y},Er={x:"s"===le.x,y:"s"===le.y},Rr={x:Math.max(0,Math.round(100*(Mr.w-ur.w+(It?R:0)))/100),y:Math.max(0,Math.round(100*(Mr.h-ur.h+(It?D:0)))/100)},Dr=A&&(0===ke.w||0===ke.h);Dr&&(Rr.x=0,Rr.y=0);var Pr={x:Rr.x>0,y:Rr.y>0},Nr={x:Pr.x,y:Pr.y};(Ar.x||Tr.x)&&(Nr.x=Pr.y&&!Ar.y&&!Tr.y),(Ar.y||Tr.y)&&(Nr.y=Pr.x&&!Ar.x&&!Tr.x),Nr.xs=!!Nr.x&&(Er.x||Ar.x),Nr.ys=!!Nr.y&&(Er.y||Ar.y);var Fr={x:Pr.x&&Nr.xs,y:Pr.y&&Nr.ys},Ir=Lt;if(Rr.c=yo(Rr,Lt,Je,Qe,o),Lt=Rr,Pr.c=yo(Pr,wt,Je,Qe,o),wt=Pr,Nr.c=yo(Nr,mt,Je,Qe,o),mt=Nr,v.x||v.y){var jr=o,Ur={};if((Pr.x||Pr.y)&&(Ur.w=v.y&&Pr.y?Mr.w+p.y:qe,Ur.h=v.x&&Pr.x?Mr.h+p.x:qe,jr=po(Ur,xt,o),xt=Ur),Pr.c||Nr.c||Mr.c||Ee||wn||gn||xn||bn||Yt){var Br="px solid transparent";_n[De+an]=qe,_n[Le+an]=qe,v.x&&Pr.x&&Nr.xs?(bn&&(_n[Le+_e]=Xt?qe:p.x),_n[De+_e]=bn||Xt?qe:p.x+Br):(Ur.h=qe,jr=!0,_n[De+_e]=qe,_n[Le+_e]=qe),v.y&&Pr.y&&Nr.ys?(xn&&(_n[Le+en]=Xt?qe:p.y),_n[De+en]=Xt?qe:p.y+Br):(Ur.w=qe,jr=!0,_n[De+en]=qe,_n[Le+en]=qe)}if(Xt&&(Ur.w=qe,Ur.h=qe,jr=!0),jr){var Xr={};Xr[Ue]=Nr.y?Ur.w:qe,Xr[Be]=Nr.x?Ur.h:qe,it===n&&(it=c(fo(Dn)),ot.prepend(it)),it.css(Xr)}at.css(_n)}var Yr={};In={};if(t||Pr.c||Nr.c||Mr.c||ce||$e||Yt||Ee||Bt||gn){Yr[an]=qe;var Kr=function(){Yr[_e]=qe,Me.h=0},to=function(){Yr[en]=qe,Me.w=0};if(Pr.x&&Nr.xs?(Yr[Vn]=Ye,Xt?Kr():(Yr[_e]=-(v.x?p.x:g.x),Me.h=v.x?p.y:0)):(Yr[Vn]=qe,Kr()),Pr.y&&Nr.ys?(Yr[qn]=Ye,Xt?to():(Yr[en]=-(v.y?p.y:g.y),Me.w=v.y?p.x:0)):(Yr[qn]=qe,to()),(ke.h<Ae.x||ke.w<Ae.y)&&(Pr.x&&Nr.x&&!v.x||Pr.y&&Nr.y&&!v.y)?(Yr[Re+Pe]=Ae.x,Yr[Le+Pe]=-Ae.x,Yr[Re+an]=Ae.y,Yr[Le+an]=-Ae.y):(Yr[Re+Pe]=qe,Yr[Le+Pe]=qe,Yr[Re+an]=qe,Yr[Le+an]=qe),Yr[Re+en]=qe,Yr[Le+en]=qe,Pr.x&&Nr.x||Pr.y&&Nr.y||Dr?A&&Dr&&(In[Vn]=Xn,In[qn]=Xn):(!Ut||Tr.x||Ar.x||Tr.y||Ar.y)&&(A&&(In[Vn]=qe,In[qn]=qe),Yr[Vn]=Yn,Yr[qn]=Yn),rt.css(In),ot.css(Yr),Yr={},(Pr.c||$e||wn||gn)&&(!v.x||!v.y)){var ro=at[0],oo=ro.style;oo.webkitTransform="scale(1)",oo.display="run-in";ro[a.oH];oo.display=qe,oo.webkitTransform=qe}if(Yt&&Xt){$.hide();un[a.oH];$.show()}}if(_n={},Ee||wn||gn)if(I&&xn){var so=at.css(Ve),lo=Math.round(at.css(Ve,qe).css(Fe,qe).position().left);at.css(Ve,so),lo!==Math.round(at.position().left)&&(_n[Fe]=lo)}else _n[Fe]=qe;at.css(_n);var uo="v"===B,ho="h"===B,vo="a"===B,wo=r.bind(Jr,0,!0,!0,Fr.x),So=r.bind(Jr,0,!1,!0,Fr.y),zo=r.bind(Jr,0,!0,!1,Fr.x),Oo=r.bind(Jr,0,!1,!1,Fr.y);if(Nr.x||Nr.y?bo($,Cn):go($,Cn),Nr.x?bo($,Mn):go($,Mn),Nr.y?bo($,Hn):go($,Hn),Ee&&(I?bo($,Sn):go($,Sn)),T&&bo($,zn),vt){var Co=function(){lt.on(on,Lr)},Mo=function(){lt.off(on,Lr)};ge?(bo($,zn),go(lt,[Qn,Gn,Zn,$n].join(Ze)),Mo()):(go($,zn),bo(lt,Qn),Se?bo(lt,Gn):ze?bo(lt,Zn):Oe&&bo(lt,$n),Mo(),Co())}if((V||ce||Nr.c||Pr.c||Yt)&&(Xt?Yt&&(go($,On),Xt&&(zo(),Oo())):vo?(Fr.x?wo():zo(),Fr.y?So():Oo()):uo?(wo(),So()):ho&&(zo(),Oo())),J||Yt){var Ho=function(t){C?t?hr($,sn,zr):(hr($,ln,gr),hr($,cn,Sr)):t?$.on(sn,zr):$.on(ln,gr).on(cn,Sr)},Wo=function(){C?(dr($,sn,zr),dr($,ln,gr),dr($,cn,Sr)):$.off(sn,zr).off(ln,gr).off(cn,Sr)};xe||ye?(Wo(),Ho(ye)):Wo(),ve?Qr(!0):Qr(!1,!0)}if((t||Rr.c||gn||wn||vt||$e||jt||Yt||Ee)&&(Gr(!0),Zr(!0,l.l),Gr(!1),Zr(!1,l.t)),G&&$r(!0,Q),ut&&$r(!1,ct),A&&e){var ko=ao();if(ko!==n){var Ao=_t===n||ko.rows!==_t.rows,To=ko.wRow,Eo=ko.cursorRow,Lo=ko.cursorCol,Ro=ko.rows,Do=ko.cols,Po=ko.pos,No=ko.max===Po&&ue,_o={x:Wt||Lo!==Do||Eo!==To?-1:Lt.x,y:(Wt?No||Ao&&Ir!==n&&l.t===Ir.y:(No||Ao)&&Eo===Ro)?Lt.y:-1},Fo=_o.x>-1,Io=_o.y>-1;(Fo||Io)&&(Io&&ot[rn](_o.y),Fo&&(I&&$t&&y.i?ot[nn](0):ot[nn](_o.x)))}_t=ko}else A||(I&&y.i&&v.y&&Pr.x&&$t&&(l.l+=Me.w||0),ot[nn](l.l),ot[rn](l.t));Ee&&eo(M,{isRTL:I,dir:Te}),t&&eo(U,{width:pt.w,height:pt.h}),e&&eo(k,{width:yt.w,height:yt.h}),(Pr.c||Nr.c)&&eo(z,{x:Pr.x,y:Pr.y,xScrollable:Nr.xs,yScrollable:Nr.ys,clipped:Nr.x||Nr.y}),Rr.c&&eo(O,{x:Rr.x,y:Rr.y})}T&&(Pr.c||oe.c)&&(oe.f||_r(),v.y&&Pr.x&&at.css(Ie+Ue,oe.w+p.y),v.x&&Pr.y&&at.css(Ie+Be,oe.h+p.x),oe.c=!1),xr(et),xr(tt),eo(S,{forced:o})}}function Xr(t){V=mo(!0,{},V,z.v(t,z.t,!0)),q=mo(!0,{},q,z.v(t,z.t,!1,!0))}function Yr(){ct=c(fo(Un+Ze+tr)),ut=c(fo(Bn)),ft=c(fo(qn)),ht=c(fo(Un+Ze+er)),dt=c(fo(Bn)),vt=c(fo(qn)),ct.append(ut),ut.append(ft),ht.append(dt),dt.append(vt),rt.after(ht),rt.after(ct),S&&(ct.on(dn,function(t){t.target===ct[0]&&(Gr(!0),Zr(!0,ot[nn]()))}),ht.on(dn,function(t){t.target===ht[0]&&(Gr(!1),Zr(!1,ot[rn]()))})),Kr(!0),Kr(!1),lt=c(fo(Jn)),$.append(lt)}function Kr(t){var e,o,i,a=to(t),s=a.xy,l=Ye+a.LT,c="active",u=1,f=function(){u=.5},h=function(){u=1},d=function(n){var i=a.i.tl,c=a.i.hl,u=a.i.ms*((c/2+r.page(n)[s]-o-c/2)/(i-c));u=isFinite(u)?u:0,I&&t&&(y.n||!y.n&&!y.i)&&(u*=-1),ot[l](e+u),C||r.prvD(n)},v=function(t){t=t||t.originalEvent,go(G,nr),go(a.h,c),go(a.t,c),go(a.s,c),C?(dr(J,sn,d),dr(J,an,v),dr(J,un,p),dr(J,fn,x)):J.off(sn,d).off(an,v).off(un,p).off(fn,x),J.off(hn,Pr),h(),e=n,o=n,i!==n&&(Ce.scrollStop(),clearTimeout(i),i=n);var r=$[0].getBoundingClientRect();t.clientX>=r.left&&t.clientX<=r.right&&t.clientY>=r.top&&t.clientY<=r.bottom||Sr(),(pe||ye)&&Qr(!1)},p=function(t){16==t.keyCode&&f()},x=function(t){16==t.keyCode&&h()};a.h.on(on,function(i){if(!j){var u=(i.originalEvent||i).touches!==n;lo()||!Gt||u&&!we||(1===r.mBtn(i)||u)&&(e=(e=ot[l]())===n?0:e,(I&&t&&!y.n||!I)&&(e=e<0?0:e),o=r.page(i)[s],bo(G,nr),bo(a.h,c),bo(a.s,c),C?(hr(J,sn,d),hr(J,an,v)):J.on(sn,d).on(an,v),J.on(hn,Pr),r.prvD(i))}}),a.t.on(on,function(e){if(!j){var l=(e.originalEvent||e).touches!==n;if(!lo()&&Qt&&(!l||we)&&(1===r.mBtn(e)||l)){var h,d=ke[a._wh],w=a.t.offset()[a.lt],m=!0;e.shiftKey&&f();var b=function(){var e=a.i.ho,r=a.i.hl,s=o-w,l=200*u,c=m?Math.max(333,l):l,f={},v=I&&t&&(!y.i&&!y.n||$t),p=e>s;v&&(p=e<s),p?(h===n&&(h=!0),f[a.xy]="-="+d):(h===n&&(h=!1),f[a.xy]="+="+d),Ce.scrollStop(),Ce.scroll(f,l,"linear");var x=h?e<=s:e+r>=s;v&&(x=h?e+r>=s:e<=s),x?(clearTimeout(i),Ce.scrollStop(),i=n):i=setTimeout(b,c),m=!1};o=r.page(e)[s],bo(G,nr),bo(a.t,c),bo(a.s,c),C?(hr(J,an,v),hr(J,un,p),hr(J,fn,x)):J.on(an,v).on(un,p).on(fn,x),J.on(hn,Pr),b(),r.prvD(e)}}}).hover(function(){(pe||ye)&&(me=!0,Qr(!0))},function(){(pe||ye)&&(me=!1,Qr(!1))}),a.s.on(on,function(t){r.stpP(t)})}function Jr(t,e,n){var r=t?mn:bn,o=t?ct:ht;e?$.removeClass(r):$.addClass(r),n?o.removeClass(Yn):o.addClass(Yn)}function Qr(t,e){if(clearTimeout(fe),t)ct.removeClass(Kn),ht.removeClass(Kn);else{var n="active",r=function(){if(!me){var t=ft.hasClass(n)||vt.hasClass(n);!t&&(pe||ye||xe)&&ct.addClass(Kn),!t&&(pe||ye||xe)&&ht.addClass(Kn)}};de>0&&!0!==e?fe=setTimeout(r,de):r()}}function Gr(t){var e={},n=to(t),r=Math.min(1,(pt[n._wh]-(kt?t?R:D:0))/yt[n._wh]);e[n.wh]=Math.floor(100*r*1e5)/1e5+"%",lo()||n.h.css(e),n.i.hl=n.h[0]["offset"+n.WH],n.i.hlr=r}function Zr(t,e){var n,r,o=I&&t,i={},a=to(t),s="translate(",l="transform",c=ot[0][Ye+a.WH]-ot[0]["client"+a.WH],u=a.i.hl,f=a.t[0]["offset"+a.WH],h=f-u;y.n&&o&&(c*=-1),r=e/c,r=isNaN(r)?0:Math.min(1,r),a.i.ms=c,a.i.cs=e,a.i.csr=r,h*=r,h=isNaN(h)?0:h,o&&(y.n||!y.n&&!y.i)&&(h=f-u-h),h=Math.max(0,h),O?(o&&(h=-(f-u-h)),n=t?s+h+"px, 0px)":s+"0px, "+h+"px)",i["-webkit-"+l]=n,i["-moz-"+l]=n,i["-ms-"+l]=n,i["-o-"+l]=n,i[l]=n):i[a.lt]=h,lo()||a.h.css(i),a.i.ho=h,a.i.tl=f}function $r(t,e){var n=e?"removeClass":"addClass",r=t?dt:vt,o=t?Vn:Xn;(t?ut:ft)[n](o),r[n](o)}function to(t){return{wh:t?Ue:Be,WH:t?"Width":"Height",lt:t?Fe:Pe,LT:t?"Left":"Top",xy:t?Je:Qe,XY:t?"X":"Y",_wh:t?"w":"h",_lt:t?"l":"t",t:t?ut:dt,h:t?ft:vt,s:t?ct:ht,i:t?He:We}}function eo(t,e){W&&c.isFunction(t)&&t.call(Ce,e)}function no(t,e,r){r===n&&(r=[qe,qe,qe,qe]),t[e+Pe]=r[0],t[e+Ne]=r[1],t[e+_e]=r[2],t[e+Fe]=r[3]}function ro(e){return typeof t.HTMLElement===i.o?e instanceof t.HTMLElement:e&&typeof e===i.o&&null!==e&&1===e.nodeType&&typeof e.nodeName===i.s}function oo(t,e){var n,r=[],o=[];for(n=0;n<t.length;n++)r[t[n]]=!0;for(n=0;n<e.length;n++)r[e[n]]?delete r[e[n]]:r[e[n]]=!0;for(var i in r)o.push(i);return o}function io(e){var n=t.parseInt(e);return isNaN(n)?0:n}function ao(){var t=Z.prop("selectionStart");if(t!==n){var e,r,o=Z.val(),i=o.length,a=o.split("\n"),s=a.length,l=o.substr(0,t).split("\n"),c=0,u=0,f=l.length,h=l[l.length-1].length;for(r=0;r<a.length;r++)(e=a[r].length)>u&&(c=r+1,u=e);return{cursorRow:f,cursorCol:h,rows:s,cols:u,wRow:c,pos:t,max:i}}}function so(t){for(var e=0;e<lr.length;e++)if(t===lr[e])return!0;return!1}function lo(){return Rt&&v.x&&v.y}function co(){return A?st[0]:at[0]}function uo(t,e){return c.prototype.find.call(t,e).first()}function fo(t,e){return"<div "+(t?wo(t)===i.s?'class="'+t+'"':function(){var e,n="";if(c.isPlainObject(t))for(e in t)n+=("className"===e?"class":e)+'="'+t[e]+'" ';return n}():qe)+">"+(e||qe)+"</div>"}function ho(t,e){for(var n,r=e.split(Ge),o=0;o<r.length;o++){if(!t.hasOwnProperty(r[o]))return;n=t[r[o]],o<r.length&&wo(n)===i.o&&(t=n)}return n}function vo(t,e,n){for(var r=e.split(Ge),o=r.length,i=0,a={},s=a;i<o;i++)a=a[r[i]]=i+1<o?{}:n;c.extend(t,s,!0)}function po(t,e,r){return!0===r?r:e===n||t!==e}function yo(t,e,r,o,i){if(!0===i)return i;if(o===n&&i===n){if(!0===r)return r;r=n}return r=r===n?"w":r,o=o===n?"h":o,e===n||(t[r]!==e[r]||t[o]!==e[o])}function xo(t,e){return e===n||(t.t!==e.t||t.r!==e.r||t.b!==e.b||t.l!==e.l)}function wo(t){return c.type(t)}function mo(){return c.extend.apply(this,arguments)}function bo(t,e){return c.prototype.addClass.call(t,e)}function go(t,e){return c.prototype.removeClass.call(t,e)}function So(t){return c.prototype.remove.call(t)}function zo(t,e){B=f.defaultOptions,m=f.nativeScrollbarStyling,g=mo(!0,{},f.nativeScrollbarSize),v=mo(!0,{},f.nativeScrollbarIsOverlaid),p=mo(!0,{},f.overlayScrollbarDummySize),y=mo(!0,{},f.rtlScrollBehavior),Xr(mo(!0,{},B,e));var n,o=q.callbacks;if(v.x&&v.x&&!q.nativeScrollbarsOverlaid.initialize)return eo(o.onInitializationWithdrawn),!1;if(b=f.cssCalc,w=f.msie,x=f.autoUpdateRecommended,S=f.supportTransition,O=f.supportTransform,C=f.supportPassiveEvents,M=f.supportResizeObserver,le=f.supportMutationObserver,H=f.restrictedMeasuring,J=c(t.ownerDocument),K=c(J[0].defaultView||J[0].parentWindow),Q=uo(J,"html"),G=uo(Q,"body"),Z=c(t),A=Z.is("textarea"),(T=Z.is("body"))&&((n={}).l=Math.max(Z[nn](),Q[nn](),K[nn]()),n.t=Math.max(Z[rn](),Q[rn](),K[rn]())),A){Z.wrap(fo(wn)),bo(Z,Wn+Ze+jn),$=Z.parent();var i={};q.sizeAutoCapable||(i[Ue]=Z.css(Ue),i[Be]=Z.css(Be)),$.css(i).wrapInner(fo(Rn+Ze+jn)).wrapInner(fo(Tn+Ze+jn)).wrapInner(fo(An+Ze+jn)),at=uo($,Ge+Rn),ot=uo($,Ge+Tn),rt=uo($,Ge+An),st=c(fo(kn)),at.prepend(st),Z.on(Ye,Er).on("drop",kr).on("focus",Ar).on("focusout",Tr),w>9||!x?Z.on("input",Mr):Z.on(un,Hr).on(fn,Wr)}else bo(Z,xn),($=Z).wrapInner(fo(Rn)).wrapInner(fo(Tn)).wrapInner(fo(An)),at=uo($,Ge+Rn),ot=uo($,Ge+Tn),rt=uo($,Ge+An),at.on(dn,function(t){!0!==Dt&&Br((t=t.originalEvent||t).propertyName)&&qr(Xe)});if(Yr(),C?hr(ot,Ye,Or):ot.on(Ye,Or),m&&bo(ot,v.x&&v.y?Ln:En),le){var s,l,u,h,d,z,E=r.mO(),L=r.now();ie=new E(function(t){if(W&&!j){var e,n=!1;c.each(t,function(){if(s=(e=this).target,l=e.attributeName,n=l===a.c?Fr(e.oldValue,s.className):l!==a.s||e.oldValue!==s.style.cssText)return!1}),n&&Ce.update(Xe)}}),ae=new E(function(t){if(W&&!j){var e=!1;c.each(t,function(){return!(e=Ir(this))}),e&&(h=r.now(),d=gt||bt,z=function(){L=h,A&&Vr(),d?Ce.update():Ce.update(Xe)},clearTimeout(u),sr<=0||h-L>sr||!d?z():u=setTimeout(z,sr))}})}return T&&(bo(Q,yn),ot[nn](n.l),ot[rn](n.t)),et=c(fo("os-resize-observer-host")),$.prepend(et),vr(et,br),br(),Ce.update(Xe),setTimeout(function(){S&&!k&&bo($,gn)},333),W=!0,eo(o.onInitialized),W}}return t[o]=function(e,r){if(0===arguments.length)return this;O();var i,a,s=[];return c.isPlainObject(r)?e&&e.length?(c.each(e,function(){i=this,console.log(i),i!==n&&s.push(H(i,r,u,f))}),a=s.length>1?s:s[0]):a=H(e,r,u,f):e&&(e.length&&e.length>0?(c.each(e,function(){i=l.get(this),"!"===r?i instanceof t[o]&&s.push(i):s.push(i)}),a=s.length>1?s:s[0]):a=l.get(e)),a},t[o].globals=function(){O();var t=c.extend(!0,{},u);return delete t.msie,t},t[o].defaultOptions=function(t){O();var e=u.defaultOptions;if(t===n)return c.extend(!0,{},e);u.defaultOptions=c.extend(!0,{},e,z.v(t,z.t,!0))},t[o]}({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.preventDefault():t.returnValue=!1},page:function(t){var r="page",o="client",i="X",a="Y",s=((t=t.originalEvent||t).target||t.srcElement||e).ownerDocument||e,l=s.documentElement,c=s.body;if(t.touches!==n){var u=t.touches[0];return{x:u[r+i],y:u[r+a]}}return!t[r+i]&&t[o+i]&&null!=t[o+i]?{x:t[o+i]+(l&&l.scrollLeft||c&&c.scrollLeft||0)-(l&&l.clientLeft||c&&c.clientLeft||0),y:t[o+a]+(l&&l.scrollTop||c&&c.scrollTop||0)-(l&&l.clientTop||c&&c.clientTop||0)}:{x:t[r+i],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!==i.f)throw"Can't bind function!";var n=Array.prototype.slice.call(arguments,2),r=function(){},o=function(){return t.apply(this instanceof r?this:e,n.concat(Array.prototype.slice.call(arguments)))};return t.prototype&&(r.prototype=t.prototype),o.prototype=new r,o}},function(t){var e=[],r="__overlayScrollbars__";function o(t,n){t[r]=n,e.push(t)}function i(n){var o=t.inArray(n,e);o>-1&&(delete n[r],e.splice(o,1))}function a(t){return s(t)!==n}function s(t){for(var n=0;n<e.length;n++)if(t===e[n])return t[r]}return{all:function(){return e},add:o,rem:i,has:a,get:s}}(l),l);return s&&s.fn&&(s.fn.overlayScrollbars=function(t){var e=this;return s.isPlainObject(t)?(s.each(e,function(){c(this,t)}),e):c(e,t)}),c});

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

*
* Version: 1.4.3
* Version: 1.4.4
*

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

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc