overlayscrollbars
Advanced tools
Comparing version 1.6.2 to 1.6.3
@@ -5,3 +5,3 @@ /*! | ||
* | ||
* Version: 1.6.2 | ||
* Version: 1.6.3 | ||
* | ||
@@ -12,4 +12,4 @@ * Copyright KingSora. | ||
* Released under the MIT license. | ||
* Date: 16.01.2019 | ||
* Date: 31.01.2019 | ||
*/ | ||
!function(t,r){"function"==typeof define&&define.amd?define(["jquery"],function(n){return r(t,t.document,undefined,n)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=r(t,t.document,undefined,require("jquery")):r(t,t.document,undefined,t.jQuery)}("undefined"!=typeof window?window:this,function(lt,st,Ti,n){"use strict";var i,o,vt="OverlayScrollbars",dt="object",ht="function",bt="array",pt="string",mt="boolean",wt="number",d="null",yt="class",ki="style",gt="id",xt="length",St="prototype",Oi="offsetHeight",Ai="clientHeight",Li="scrollHeight",Ci="offsetWidth",Ni="clientWidth",Di="scrollWidth",Hi={wW:function(){return lt.innerWidth||st.documentElement[Ni]||st.body[Ni]},wH:function(){return lt.innerHeight||st.documentElement[Ai]||st.body[Ai]},mO:function(){return lt.MutationObserver||lt.WebKitMutationObserver||lt.WebkitMutationObserver||lt.MozMutationObserver||Ti},rO:function(){return lt.ResizeObserver||lt.WebKitResizeObserver||lt.WebkitResizeObserver||lt.MozResizeObserver||Ti},rAF:function(){return lt.requestAnimationFrame||lt.webkitRequestAnimationFrame||lt.mozRequestAnimationFrame||lt.oRequestAnimationFrame||lt.msRequestAnimationFrame||function(n){return lt.setTimeout(n,1e3/60)}},cAF:function(){return lt.cancelAnimationFrame||lt.webkitCancelAnimationFrame||lt.mozCancelAnimationFrame||lt.oCancelAnimationFrame||lt.msCancelAnimationFrame||function(n){return lt.clearTimeout(n)}},now:function(){return Date.now&&Date.now()||(new Date).getTime()},stpP:function(n){n.stopPropagation?n.stopPropagation():n.cancelBubble=!0},prvD:function(n){n.preventDefault&&n.cancelable?n.preventDefault():n.returnValue=!1},page:function(n){var t="page",r="client",e="X",i=((n=n.originalEvent||n).target||n.srcElement||st).ownerDocument||st,o=i.documentElement,a=i.body;if(n.touches===Ti)return!n[t+e]&&n[r+e]&&null!=n[r+e]?{x:n[r+e]+(o&&o.scrollLeft||a&&a.scrollLeft||0)-(o&&o.clientLeft||a&&a.clientLeft||0),y:n[r+"Y"]+(o&&o.scrollTop||a&&a.scrollTop||0)-(o&&o.clientTop||a&&a.clientTop||0)}:{x:n[t+e],y:n.pageY};var u=n.touches[0];return{x:u[t+e],y:u.pageY}},mBtn:function(n){var t=n.button;return n.which||t===Ti?n.which:1&t?1:2&t?3:4&t?2:0},inA:function(n,t){for(var r=0;r<t[xt];r++)try{if(t[r]===n)return r}catch(e){}return-1},isA:function(n){var t=Array.isArray;return t?t(n):this.type(n)==bt},type:function(n){return n===Ti?n+"":null===n?n+"":Object[St].toString.call(n).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},bind:function(n,t){if(typeof n!=ht)throw"Can't bind function!";var r=St,e=Array[r].slice.call(arguments,2),i=function(){},o=function(){return n.apply(this instanceof i?this:t,e.concat(Array[r].slice.call(arguments)))};return n[r]&&(i[r]=n[r]),o[r]=new i,o}},Ri=Math,zt=n,Ii=(n.easing,n),Tt=(i=[],o="__overlayScrollbars__",function(n,t){var r=arguments[xt];if(r<1)return i;if(t)n[o]=t,i.push(n);else{var e=Hi.inA(n,i);if(-1<e){if(!(1<r))return i[e][o];delete n[o],i.splice(e,1)}}}),r=function(){var u,f,A,n,t,r,e,a,i,c=[],ct=(a={className:["os-theme-dark",[d,pt]],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:n=[!0,mt],clipAlways:n,normalizeRTL:n,paddingAbsolute:t=[!(A=[mt,wt,pt,bt,dt,ht,d]),mt],autoUpdate:[null,[d,mt]],autoUpdateInterval:[33,wt],nativeScrollbarsOverlaid:{showNativeScrollbars:t,initialize:n},overflowBehavior:{x:["scroll",e="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll",e]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,wt],dragScrolling:n,clickScrolling:t,touchSupport:n},textarea:{dynWidth:t,dynHeight:t,inheritedAttrs:[["style","class"],[pt,bt,d]]},callbacks:{onInitialized:r=[null,[d,ht]],onInitializationWithdrawn:r,onDestroyed:r,onScrollStart:r,onScroll:r,onScrollStop:r,onOverflowChanged:r,onOverflowAmountChanged:r,onDirectionChanged:r,onContentSizeChanged:r,onHostSizeChanged:r,onUpdated:r}},{d:(i=function(i){var o=function(n){var t,r,e;for(t in n)n.hasOwnProperty(t)&&(r=n[t],(e=Hi.type(r))==bt?n[t]=r[i?1:0]:e==dt&&(n[t]=o(r)));return n};return o(Ii.extend(!0,{},a))})(),t:i(!0),v:function(n,t,T,k,r){var e={},i=Ii.extend(!0,{},n),O=function(n,t,r,e){for(var i in t)if(t.hasOwnProperty(i)&&n.hasOwnProperty(i)){var o,a,u,f,c,l,s,v,d=!1,h=t[i],b=Hi.type(h),p=b==dt,m=Hi.type(h)!=bt?[h]:h,w=n[i],y=Hi.type(w),g=e?e+".":"",x='The option "'+g+i+"\" wasn't set, because",S=[],z=[];if(p&&y==dt)r[i]={},O(w,h,r[i],g+i),Ii.isEmptyObject(w)&&delete n[i];else if(!p){for(l=0;l<m.length;l++)if(c=m[l],u=(b=Hi.type(c))==pt&&-1===Ii.inArray(c,A))for(S.push(pt),o=c.split(" "),z=z.concat(o),s=0;s<o.length;s++){for(f=(a=o[s].split(":"))[0],v=0;v<a.length;v++)if(w===a[v]){d=!0;break}if(d)break}else if(S.push(c),y===c){d=!0;break}d?r[i]=u&&k?f:w:T&&console.warn(x+" it doesn't accept the type [ "+y.toUpperCase()+' ] with the value of "'+w+'".\r\nAccepted types are: [ '+S.join(", ").toUpperCase()+" ]."+(0<z.length?"\r\nValid strings are: [ "+z.join(", ").split(":").join(", ")+" ].":"")),delete n[i]}}};return O(i,t,e),r?Ii.extend(!0,e,i):!Ii.isEmptyObject(i)&&T&&console.warn("The following options are discarded due to invalidity:\r\n"+lt.JSON.stringify(i,null,2)),e}});function l(){u||(u=new o(ct.d)),f||(f=new s(u))}function o(n){var S=this,i="overflow",o="hidden",z=Ii("body"),T=Ii('<div id="os-dummy-scrollbar-size"><div></div></div>'),a=T[0],e=Ii(T.children("div").eq(0));z.append(T),T.hide().show();var t,r,u,f,c,l,s,v,d,h=k(a),b={x:0===h.x,y:0===h.y};function p(n){var t=!1,r="Webkit Moz ms O".split(" "),e=st.createElement("div"),i=null,o=0;if(n=n.toLowerCase(),e[ki][n]!==Ti&&(t=!0),!t)for(i=n.charAt(0).toUpperCase()+n.substr(1);o<r.length;o++)if(e[ki][r[o]+i]!==Ti){t=!0;break}return t}function k(n){return{x:n[Oi]-n[Ai],y:n[Ci]-n[Ni]}}Ii.extend(S,{defaultOptions:n,autoUpdateLoop:!1,autoUpdateRecommended:!Hi.mO(),nativeScrollbarSize:h,nativeScrollbarIsOverlaid:b,nativeScrollbarStyling:(T.addClass("os-viewport-native-scrollbars-invisible"),T.css(i,o).hide().css(i,"scroll").show(),a[Oi]-a[Ai]==0&&a[Ci]-a[Ni]==0),overlayScrollbarDummySize:{x:30,y:30},msie:(r=lt.navigator.userAgent,u="indexOf",f="substring",c=r[u]("MSIE "),l=r[u]("Trident/"),s=r[u]("Edge/"),v=r[u]("rv:"),d=parseInt,0<c?t=d(r[f](c+5,r[u](".",c)),10):0<l?t=d(r[f](v+3,r[u](".",v)),10):0<s&&(t=d(r[f](s+5,r[u](".",s)),10)),t),cssCalc:function(){var n,t,r=st.createElement("div"),e=["calc","-webkit-calc","-moz-calc","-o-calc"];for(n=0;n<e.length;++n)if(t=e[n],r[ki].cssText="width:"+t+"(1px);",r[ki].length)return t;return null}(),restrictedMeasuring:function(){T.css(i,o);var n=a[Di],t=a[Li];T.css(i,"visible");var r=a[Di],e=a[Li];return n-r!=0||t-e!=0}(),rtlScrollBehavior:function(){T.css({"overflow-y":o,"overflow-x":"scroll",direction:"rtl"}).scrollLeft(0);var n=T.offset(),t=e.offset();T.scrollLeft(999);var r=e.offset();return{i:n.left===t.left,n:t.left-r.left==0}}(),supportTransform:p("transform"),supportTransition:p("transition"),supportPassiveEvents:function(){var n=!1;try{lt.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){n=!0}}))}catch(t){}return n}(),supportResizeObserver:!!Hi.rO(),supportMutationObserver:!!Hi.mO()}),T.removeAttr(ki).remove(),function(){if(!b.x||!b.y){var m=Ri.abs,w=Hi.wW(),y=Hi.wH(),g=x();Ii(lt).on("resize",function(){if(0<Tt().length){var n=Hi.wW(),t=Hi.wH(),r=n-w,e=t-y;if(0===r&&0===e)return;var i,o=Ri.round(n/(w/100)),a=Ri.round(t/(y/100)),u=m(r),f=m(e),c=m(o),l=m(a),s=x(),v=2<u&&2<f,d=!function p(n,t){var r=m(n),e=m(t);return!(r===e||r+1===e||r-1===e)}(c,l),h=v&&d&&s!==g&&0<g,b=S.nativeScrollbarSize;h&&(z.append(T),i=S.nativeScrollbarSize=k(T[0]),T.remove(),b.x===i.x&&b.y===i.y||Ii.each(Tt(),function(){Tt(this)&&Tt(this).update("zoom")})),w=n,y=t,g=s}})}function x(){var n=lt.screen.deviceXDPI||0,t=lt.screen.logicalXDPI||1;return lt.devicePixelRatio||n/t}}()}function s(r){var c,l="autoUpdate",s=xt,v=[],d=[],h=!1,b=33,p=Hi.now(),m=function(){if(0<v[s]&&h){c=Hi.rAF()(function(){m()});var n=Hi.now(),t=n-p;if(b<t){p=n-t%b;for(var r=33,e=0;e<v[s];e++){var i=v[e];if(i!==Ti){var o=i.options(),a=o[l],u=Ri.max(1,o.autoUpdateInterval),f=Hi.now();(!0===a||null===a)&&f-d[e]>u&&(i.update("auto"),d[e]=new Date(f+=u)),r=Ri.max(1,Ri.min(r,u))}}b=r}}else b=33};this.add=function(n){-1===Ii.inArray(n,v)&&(v.push(n),d.push(Hi.now()),0<v[s]&&!h&&(h=!0,r.autoUpdateLoop=h,m()))},this.remove=function(n){var t=Ii.inArray(n,v);-1<t&&(d.splice(t,1),v.splice(t,1),0===v[s]&&h&&(h=!1,r.autoUpdateLoop=h,c!==Ti&&(Hi.cAF()(c),c=-1)))}}function v(e,n,t,Wt,_t){if(rt(e)){if(Tt(e)){var r=Tt(e);return r.options(n),r}var jt,Ft,Mt,Ut,C,Et,Vt,qt,v,ln,d,N,c,Bt,Xt,Yt,Pt,$t,h,u,Gt,Jt,Kt,Qt,Zt,nr,tr,rr,er,ir,i,o,or,ar,ur,b,D,l,H,fr,cr,lr,sr,vr,dr,hr,br,pr,mr,wr,a,f,s,p,m,w,yr,gr,xr,Sr,zr,Tr,kr,Or,Ar,Lr,Cr,Nr,Dr,R,Hr,Rr,Ir,Wr,_r,jr,Fr,Mr,Ur,Er,y,g,x,S,z,T,k,O,A,Vr,qr,Br,Xr,Yr,Pr,$r,Gr,Jr,Kr,Qr,L,Zr,I,W,ne,_,te,j,F,re,ee,ie,oe,ae,ue,M,U,fe,ce,le,se,ve,de=new lt[vt],E=Ii[St],he={},sn={},vn={},be={},pe={},V="-hidden",me="margin-",we="padding-",ye="border-",ge="top",xe="right",Se="bottom",ze="left",Te="min-",ke="max-",Oe="width",Ae="height",Le="float",Ce="",Ne="auto",De="scroll",He="100%",Re="x",Ie="y",q=".",We=" ",B="scrollbar",X="-horizontal",Y="-vertical",_e=De+"Left",je=De+"Top",Fe="mousedown touchstart",P="mouseup touchend touchcancel",$="mousemove touchmove",G="mouseenter",J="mouseleave",K="keydown",Q="keyup",Z="selectstart",nn="transitionend webkitTransitionEnd oTransitionEnd",tn="__overlayScrollbarsRO__",rn="os-",en="os-html",on="os-host",an=on+"-textarea",un=on+"-"+B+X+V,fn=on+"-"+B+Y+V,cn=on+"-transition",Me=on+"-rtl",Ue=on+"-resize-disabled",Ee=on+"-scrolling",Ve=on+"-overflow",qe=Ve+"-x",Be=Ve+"-y",dn="os-textarea",hn=dn+"-cover",bn="os-padding",pn="os-viewport",mn=pn+"-native-scrollbars-invisible",wn=pn+"-native-scrollbars-overlaid",yn="os-content",Xe="os-content-arrange",Ye="os-content-glue",Pe="os-size-auto-observer",gn="os-resize-observer",xn="os-resize-observer-item",Sn=xn+"-final",zn="os-text-inherit",Tn=rn+B,kn=Tn+"-track",On=kn+"-off",An=Tn+"-handle",Ln=An+"-off",Cn=Tn+"-unusable",Nn=Tn+"-"+Ne+V,Dn=Tn+"-corner",$e=Dn+"-resize",Ge=$e+"-both",Je=$e+X,Ke=$e+Y,Hn=Tn+X,Rn=Tn+Y,In="os-dragging",Qe="os-theme-none",Wn=[],_n={},Ze={},ni=42,jn=[];if(de.sleep=function(){ir=!0},de.update=function(n){var t,r,e=ot(n)==pt;e?0===n.indexOf(Ne)?(t=function h(){if(ir||ne)return!1;var n=cr.attr(gt)||Ce,t=wi(n,y),r=cr.attr(yt)||Ce,e=wi(r,g),i=cr.attr(ki)||Ce,o=wi(i,x),a=cr.is(":visible")||Ce,u=wi(a,S),f=Pt&&fr.attr("rows")||Ce,c=wi(f,z),l=Pt&&fr.attr("cols")||Ce,s=wi(l,T),v=Pt&&fr.attr("wrap")||Ce,d=wi(v,k);return y=n,e&&(e=$n(g,r)),g=r,x=i,S=a,z=f,T=l,k=v,t||e||o||u||c||s||d}(),r=function c(){if(ir)return!1;var n,t=Pt&&Tr&&!Ur?fr.val().length:0,r=!ne&&Tr&&!Pt,e={},i={};Bt&&(e={x:hr[0][Di],y:hr[0][Li]}),r&&(n=pr.css(Le),i[Le]=er?xe:ze,i[Oe]=Ne,pr.css(i));var o={w:pi()[Di]+t,h:pi()[Li]+t};r&&(i[Le]=n,i[Oe]=He,pr.css(i));var a=oi(),u=yi(o,O),f=yi(e,L,Re,Ie);return O=o,L=e,u||a||f}(),(t||r)&&ui(!1,r,!1,"+"==n.slice(-1))):"zoom"===n&&ui(!0,!0):(n=ir||n,ui(ir=!1,!1,n,!0)),Pt||pr.find("img").each(function(n,t){-1===Hi.inA(t,jn)&&Ii(t).off("load",Pn).on("load",Pn)})},de.options=function(n,t){if(Ii.isEmptyObject(n)||!Ii.isPlainObject(n)){if(ot(n)!=pt)return o;if(1<arguments.length){var r={};return function f(n,t,r){for(var e=t.split(q),i=e.length,o=0,a={},u=a;o<i;o++)a=a[e[o]]=o+1<i?{}:r;Ii.extend(n,u,!0)}(r,n,t),Gn(r),void ui()}return it(o,n)}Gn(n);var e=ir||!1;ir=!1,ui(),ir=e},de.destroy=function(){for(var n in Yt=!0,_t.remove(de),ei(),Un(sr),Jt&&Un(lr),_n)de.removeExt(n);ii(!0),Kn(!0),vr&&at(vr),br&&at(br),Jt&&at(lr),Qn(!0),tt(!0),Jn(!0);for(var t=0;t<jn[xt];t++)Ii(jn[t]).off("load",Pn);for(var r in jn=Ti,Tt(e,0),di("onDestroyed"),de)delete de[r];de=Ti},de.scroll=function(n,t,r,e){if(0===arguments.length||n===Ti){var i=sn,o=vn,a=Pr&&er&&Mt.i,u=Pr&&er&&Mt.n,f=i.cs,c=i.csr,l=i.ms;return f=a?l-f:f,{x:{position:f*=u?-1:1,ratio:c=a?1-c:c,max:l*=u?-1:1,handleOffset:i.ho,handleLength:i.hl,handleLengthRatio:i.hlr,trackLength:i.tl,isRTL:er,isRTLNormalized:Pr},y:{position:o.cs,ratio:o.csr,max:o.ms,handleOffset:o.ho,handleLength:o.hl,handleLengthRatio:o.hlr,trackLength:o.tl},position:{x:f,y:o.cs},ratio:{x:c,y:o.csr},max:{x:l,y:o.ms},handleOffset:{x:i.ho,y:o.ho},handleLength:{x:i.hl,y:o.hl},handleLengthRatio:{x:i.hlr,y:o.hlr},trackLength:{x:i.tl,y:o.tl},isRTL:er,isRTLNormalized:Pr}}var w,s,v,d,h,y,g,b,p,x=Pr,m=[Re,ze,"l"],S=[Ie,ge,"t"],z=["+=","-=","*=","/="],T=ot(t)==dt,k=T?t.complete:e,O={},A={},L="begin",C="nearest",N="never",D="ifneeded",H=xt,R=[Re,Ie,"xy","yx"],I=[L,"end","center",C],W=["always",N,D],_=n.hasOwnProperty("el"),j=_?n.el:n,F=!!(j instanceof Ii||zt)&&j instanceof zt,M=!F&&rt(j),U=ot(k)!=ht?Ti:function(){s&&si(!0),v&&si(!1),k()},E=function(n,t){for(w=0;w<t[H];w++)if(n===t[w])return!0;return!1},V=function(n,t){var r=n?m:S;if(ot(t=ot(t)==pt||ot(t)==wt?[t,t]:t)==bt)return n?t[0]:t[1];if(ot(t)==dt)for(x=ot(t.n)==mt?t.n:x,w=0;w<r[H];w++)if(r[w]in t)return t[r[w]]},q=function(n,t){var r,e,i=ot(t)==pt;i&&de.update(Ne+"+");var o,a=n?sn:vn,u=a.cs,f=a.ms,c=er&&n,l=c&&Mt.n&&!x,s="replace",v=eval;if(i){if(2<t[H]){var d=t.substr(0,2);for(w=0;w<z[H];w++)if(d===z[w]){r=z[w];break}}e=bi(bi(v(t=(t=(t=(t=(t=(t=(t=(t=(t=r!==Ti?t.substr(2):t)[s](/min/g,0))[s](/</g,0))[s](/max/g,(l?"-":Ce)+He))[s](/>/g,(l?"-":Ce)+He))[s](/px/g,Ce))[s](/%/g," * "+f*(c&&Mt.n?-1:1)/100))[s](/vw/g," * "+be.w))[s](/vh/g," * "+be.h)),!0).toFixed())}else e=t;if(e!==Ti&&!isNaN(e)&&ot(e)==wt){var h=x&&c,b=u*(h&&Mt.n?-1:1),p=h&&Mt.i,m=h&&Mt.n;switch(b=p?f-b:b,r){case"+=":o=b+e;break;case"-=":o=b-e;break;case"*=":o=b*e;break;case"/=":o=b/e;break;default:o=e}o=p?f-o:o,o*=m?-1:1,o=c&&Mt.n?Ri.min(0,Ri.max(f,o)):Ri.max(0,Ri.min(f,o))}return o===u?Ti:o},B=function(n,t,r,e){var i,o,a=[r,r],u=ot(n);if(u==t)n=[n,n];else if(u==bt){if(2<(i=n[H])||i<1)n=a;else for(1===i&&(n[1]=r),w=0;w<i;w++)if(ot(o=n[w])!=t||!E(o,e)){n=a;break}}else n=u==dt?[n[Re]||r,n[Ie]||r]:a;return{x:n[0],y:n[1]}},X=function(n){var t,r,e=[],i=[ge,xe,Se,ze];for(w=0;w<n[H]&&w!==i[H];w++)(r=ot(t=n[w]))==mt?e.push(t?bi(p.css(me+i[w])):0):e.push(r==wt?t:0);return e};if(F||M){var Y,P=_?n.margin:0,$=_?n.axis:0,G=_?n.scroll:0,J=_?n.block:0,K=[0,0,0,0],Q=ot(P);if(0===(p=F?j:Ii(j))[H])return;de.update(Ne+"+"),P=Q==wt||Q==mt?X([P,P,P,P]):Q==bt?2===(Y=P[H])?X([P[0],P[1],P[0],P[1]]):4<=Y?X(P):K:Q==dt?X([P[ge],P[xe],P[Se],P[ze]]):K,h=E($,R)?$:"xy",y=B(G,pt,"always",W),g=B(J,pt,L,I),b=P;var Z=sn.cs,nn=vn.cs,tn=dr.offset(),rn=p.offset(),en={x:y.x==N||h==Ie,y:y.y==N||h==Re};rn[ge]-=b[0],rn[ze]-=b[3];var on={x:Ri.round(rn[ze]-tn[ze]+Z),y:Ri.round(rn[ge]-tn[ge]+nn)};if(er&&(Mt.n||Mt.i||(on.x=Ri.round(tn[ze]-rn[ze]+Z)),Mt.n&&x&&(on.x*=-1),Mt.i&&x&&(on.x=Ri.round(tn[ze]-rn[ze]+(sn.ms-Z)))),g.x!=L||g.y!=L||y.x==D||y.y==D||er){var an=p[0],un=ln?an.getBoundingClientRect():{width:an[Ci],height:an[Oi]},fn={w:un[Oe]+b[3]+b[1],h:un[Ae]+b[0]+b[2]},cn=function(n){var t=nt(n),r=t.o,e=t.lt,i=t.xy,o=g[i]==(n&&er?L:"end"),a="center"==g[i],u=g[i]==C,f=y[i]==N,c=y[i]==D,l=be[r],s=tn[e],v=fn[r],d=rn[e],h=a?2:1,b=d+v/2,p=s+l/2,m=v<=l&&s<=d&&d+v<=s+l;f?en[i]=!0:en[i]||((u||c)&&(en[i]=!!c&&m,o=v<l?p<b:b<p),on[i]-=o||a?(l/h-v/h)*(n&&er&&x?-1:1):0)};cn(!0),cn(!1)}en.y&&delete on.y,en.x&&delete on.x,n=on}O[_e]=q(!0,V(!0,n)),O[je]=q(!1,V(!1,n)),s=O[_e]!==Ti,v=O[je]!==Ti,(s||v)&&(0<t||T)?T?(t.complete=U,hr.animate(O,t)):(d={duration:t,complete:U},ot(r)==bt||Ii.isPlainObject(r)?(A[_e]=r[0]||r.x,A[je]=r[1]||r.y,d.specialEasing=A):d.easing=r,hr.animate(O,d)):(s&&hr[_e](O[_e]),v&&hr[je](O[je]))},de.scrollStop=function(n,t,r){return hr.stop(n,t,r),de},de.getElements=function(n){var t={target:fr[0],host:cr[0],padding:dr[0],viewport:hr[0],content:pr[0],scrollbarHorizontal:{scrollbar:a[0],track:f[0],handle:s[0]},scrollbarVertical:{scrollbar:p[0],track:m[0],handle:w[0]},scrollbarCorner:wr[0]};return ot(n)==pt?it(t,n):t},de.getState=function(n){var t=function(n){if(!Ii.isPlainObject(n))return n;var r=xi(!0,{},n),t=function(n,t){r.hasOwnProperty(n)&&(r[t]=r[n],delete r[n])};return t("w",Oe),t("h",Ae),delete r.c,r},r={sleeping:t(ir)||!1,autoUpdate:t(!ne),widthAuto:t(Tr),heightAuto:t(kr),padding:t(Lr),overflowAmount:t(_r),hideOverflow:t(zr),hasOverflow:t(Sr),contentScrollSize:t(gr),viewportSize:t(be),hostSize:t(yr),documentMixed:t(h)};return ot(n)==pt?it(r,n):r},de.ext=function(n){var t,r="added removed on contract".split(" "),e=0;if(ot(n)==pt){if(_n.hasOwnProperty(n))for(t=xi(!0,{},_n[n]);e<r.length;e++)delete t[r[e]]}else for(e in t={},_n)t[e]=xi(!0,{},de.ext(e));return t},de.addExt=function(n,t){var r,e,i,o,a=lt[vt].extension(n),u=!0;if(a){if(_n.hasOwnProperty(n))return de.ext(n);if((r=a.extensionFactory.call(de,xi(!0,{},a.defaultOptions),Ii,Hi))&&(ot(i=r.contract)==ht&&(u=ot(o=i(lt))==mt?o:u),u))return ot(e=(_n[n]=r).added)==ht&&e(t),de.ext(n)}else console.warn('A extension with the name "'+n+"\" isn't registered.")},de.removeExt=function(n){var t,r=_n[n];return!!r&&(delete _n[n],ot(t=r.removed)==ht&&t(),!0)},function ft(n,t,r){return i=Wt.defaultOptions,Et=Wt.nativeScrollbarStyling,qt=xi(!0,{},Wt.nativeScrollbarSize),jt=xi(!0,{},Wt.nativeScrollbarIsOverlaid),Ft=xi(!0,{},Wt.overlayScrollbarDummySize),Mt=xi(!0,{},Wt.rtlScrollBehavior),Gn(xi(!0,{},i,ct.v(t,ct.t,!0))),jt.x&&jt.x&&!or.nativeScrollbarsOverlaid.initialize?(di("onInitializationWithdrawn"),!1):(Vt=Wt.cssCalc,C=Wt.msie,Ut=Wt.autoUpdateRecommended,v=Wt.supportTransition,ln=Wt.supportTransform,d=Wt.supportPassiveEvents,N=Wt.supportResizeObserver,c=Wt.supportMutationObserver,Bt=Wt.restrictedMeasuring,D=Ii(n.ownerDocument),b=Ii(D[0].defaultView||D[0].parentWindow),l=ut(D,"html"),H=ut(l,"body"),fr=Ii(n),Pt=fr.is("textarea"),$t=fr.is("body"),h=D[0]!==st,$t&&((e={}).l=Ri.max(fr[_e](),l[_e](),b[_e]()),e.t=Ri.max(fr[je](),l[je](),b[je]())),Jn(),Kn(),Qn(),Zn(!0),Zn(!1),tt(),function f(){var t=b.top!==b,e={},i={};function r(n){if(a(n)){var t=u(n),r={};(le||ce)&&(r[Oe]=i.w+t.x-e.x),(se||ce)&&(r[Ae]=i.h+t.y-e.y),cr.css(r),Hi.stpP(n)}else o(n)}function o(n){var t=n!==Ti;D.off(Z,Yn).off($,r).off(P,o),zi(H,In),wr.releaseCapture&&wr.releaseCapture(),t&&(U&&ri(),de.update(Ne)),U=!1}function a(n){var t=(n.originalEvent||n).touches!==Ti;return!ir&&!Yt&&(1===Hi.mBtn(n)||t)}function u(n){return C&&t?{x:n.screenX,y:n.screenY}:Hi.page(n)}ve=function(n){a(n)&&(ne&&(U=!0,ei()),e=u(n),i.w=cr[0][Ci]-(Gt?0:Kt),i.h=cr[0][Oi]-(Gt?0:Qt),D.on(Z,Yn).on($,r).on(P,o),Si(H,In),wr.setCapture&&wr.setCapture(),Hi.prvD(n),Hi.stpP(n))}}(),En(),$t&&(hr[_e](e.l)[je](e.t),st.activeElement==n&&hr[0].focus&&(hr.attr("tabindex","-1"),hr[0].focus(),hr.one(Fe,function(){hr.removeAttr("tabindex")}))),ti(sr,Vn),Vn(),de.update(Ne),Xt=!0,di("onInitialized"),Ii.each(Wn,function(n,t){di(t.n,t.a)}),Wn=[],ot(r)==pt&&(r=[r]),Hi.isA(r)?Ii.each(r,function(n,t){de.addExt(t)}):Ii.isPlainObject(r)&&Ii.each(r,function(n,t){de.addExt(n,t)}),setTimeout(function(){v&&!Yt&&Si(cr,cn)},333),Xt);var e}(e,n,t))return Tt(e,de),de;de=Ti}function Fn(n,t,r){for(var e=t.split(We),i=0;i<e.length;i++)n[0].addEventListener(e[i],r,{passive:!0})}function Mn(n,t,r){for(var e=t.split(We),i=0;i<e.length;i++)n[0].removeEventListener(e[i],r,{passive:!0})}function ti(i,n){var o=3333333,t=Hi.rO(),r="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart",e="childNodes",a=function(){i[je](o)[_e](er?Mt.n?-o:Mt.i?0:o:o),n()};if(N){var u=i.append(mi(gn+" observed")).contents()[0];(u[tn]=new t(a)).observe(u)}else if(9<C||!Ut){i.prepend(mi(gn,mi({className:xn,dir:"ltr"},mi(xn,mi(Sn))+mi(xn,mi({className:Sn,style:"width: 200%; height: 200%"})))));var f,c,l,s,v=i[0][e][0][e][0],d=Ii(v[e][1]),h=Ii(v[e][0]),b=Ii(h[0][e][0]),p=v[Ci],m=v[Oi],w=Wt.nativeScrollbarSize,y=function(){h[_e](o)[je](o),d[_e](o)[je](o)},g=function(){c=0,f&&(p=l,m=s,a())},x=function(n){return l=v[Ci],s=v[Oi],f=l!=p||s!=m,n&&f&&!c?(Hi.cAF()(c),c=Hi.rAF()(g)):n||g(),y(),n&&(Hi.prvD(n),Hi.stpP(n)),!1},S={},z={};z[ge]=-2*(w.y+1),z[xe]=-2*w.x,z[Se]=-2*w.y,z[ze]=-2*(w.x+1),Ii(v).css(z),h.on(De,x),d.on(De,x),i.on(r,function(){x(!1)}),S[Oe]=o,S[Ae]=o,b.css(S),y()}else{var T=D[0],k=T.attachEvent,O=C!==Ti;if(k)i.prepend(mi(gn)),ut(i,q+gn)[0].attachEvent("onresize",a);else{var A=T.createElement(dt);A.setAttribute("tabindex","-1"),A.setAttribute(yt,gn),A.onload=function(){var n=this.contentDocument.defaultView;n.addEventListener("resize",a),n.document.documentElement.style.display="none"},A.type="text/html",O&&i.prepend(A),A.data="about:blank",O||i.prepend(A),i.on(r,a)}}if(i[0]===sr[0]){var L=function(){var n=cr.css("direction"),t={},r=0,e=!1;return n!==R&&(r="ltr"===n?(t[ze]=0,t[xe]=Ne,o):(t[ze]=Ne,t[xe]=0,Mt.n?-o:Mt.i?0:o),sr.children().eq(0).css(t),i[_e](r)[je](o),R=n,e=!0),e};L(),i.on(De,function(n){return L()&&ui(),Hi.prvD(n),Hi.stpP(n),!1})}}function Un(n){if(N){var t=n.contents()[0];t[tn].disconnect(),delete t[tn]}else at(n.children(q+gn).eq(0))}function En(){if(c){var e,i,r,o,a,u,n=Hi.mO(),f=Hi.now();I=new n(function(n){if(Xt&&!ir){var t,r=!1;Ii.each(n,function(){if(e=(t=this).target,i=t.attributeName,r=i===yt?$n(t.oldValue,e.className):i!==ki||t.oldValue!==e[ki].cssText)return!1}),r&&de.update(Ne)}}),W=new n(function(n){if(Xt&&!ir){var t=!1;Ii.each(n,function(){return!(t=function o(n){var t=n.attributeName,r=n.target,e=n.type,i="closest";if(r===pr[0])return null===t;if("attributes"===e&&(t===yt||t===ki)&&!Pt){if(t===yt&&Ii(r).hasClass(on))return $n(n.oldValue,r.getAttribute(yt));if(typeof r[i]!=ht)return!0;if(null!==r[i](q+gn)||null!==r[i](q+Tn)||null!==r[i](q+Dn))return!1}return!0}(this))}),t&&(o=Hi.now(),a=kr||Tr,u=function(){Yt||(f=o,Pt&&ai(),a?ui():de.update(Ne))},clearTimeout(r),11<o-f||!a?u():r=setTimeout(u,11))}})}}function ri(){c&&!ne&&(I.observe(cr[0],{attributes:!0,attributeOldValue:!0,attributeFilter:[gt,yt,ki]}),W.observe(Pt?fr[0]:pr[0],{attributes:!0,attributeOldValue:!0,subtree:!Pt,childList:!Pt,characterData:!Pt,attributeFilter:Pt?["wrap","cols","rows"]:[gt,yt,ki]}),ne=!0)}function ei(){c&&ne&&(I.disconnect(),W.disconnect(),ne=!1)}function Vn(){if(!ir){var n=sr[0],t={w:n[Di],h:n[Li]};if(Xt){var r=yi(t,A);A=t,r&&ui(!0,!1)}else A=t}}function qn(){ae&&ci(!0)}function Bn(){ae&&!H.hasClass(In)&&ci(!1)}function Xn(){oe&&(ci(!0),clearTimeout(F),F=setTimeout(function(){oe&&!Yt&&ci(!1)},100))}function ii(n){var e=n?Mn:Fn,i=n?"off":"on",t=function(n,t,r){d?e(n,t,r):n[i](t,r)};oe&&!n?t(cr,$,Xn):(n&&t(cr,$,Xn),t(cr,G,qn),t(cr,J,Bn)),Xt||n||cr.one("mouseover",qn)}function Yn(n){return Hi.prvD(n),!1}function Pn(){ui(!1,!0)}function oi(){var n={};return $t&&br&&(n.w=bi(br.css(Te+Oe)),n.h=bi(br.css(Te+Ae)),n.c=yi(n,Qr),n.f=!0),(Qr=n).c||!1}function $n(n,t){var r=t!==Ti&&null!==t?t.split(We):Ce,e=n!==Ti&&null!==n?n.split(We):Ce;if(r===Ce&&e===Ce)return!1;var i,o,a,u,f,c=function h(n,t){var r,e,i=[],o=[];for(r=0;r<n.length;r++)i[n[r]]=!0;for(r=0;r<t.length;r++)i[t[r]]?delete i[t[r]]:i[t[r]]=!0;for(e in i)o.push(e);return o}(e,r),l=!1,s=Gr!==Ti&&null!==Gr?Gr.split(We):[Ce],v=$r!==Ti&&null!==$r?$r.split(We):[Ce],d=Ii.inArray(Qe,c);for(-1<d&&c.splice(d,1),o=0;o<c.length;o++)if(0!==(i=c[o]).indexOf(on)){for(f=u=!0,a=0;a<s.length;a++)if(i===s[a]){u=!1;break}for(a=0;a<v.length;a++)if(i===v[a]){f=!1;break}if(u&&f){l=!0;break}}return l}function ai(){if(!ir){var n,t,r,e,i=!Ur,o=be.w,a=be.h,u={},f=Tr||i,c=fr[0];return u[Te+Oe]=Ce,u[Te+Ae]=Ce,u[Oe]=Ne,fr.css(u),n=c[Ci],t=f?Ri.max(n,c[Di]-1):1,u[Oe]=Tr?Ne:He,u[Te+Oe]=He,u[Ae]=Ne,fr.css(u),r=c[Oi],e=Ri.max(r,c[Li]-1),u[Oe]=t,u[Ae]=e,mr.css(u),u[Te+Oe]=o,u[Te+Ae]=a,fr.css(u),{ow:n,oh:r,dw:t,dh:e}}}function ui(n,t,r,e){var i=Hi.now(),o=0<ni&&Xt&&i-ar<ni&&!kr&&!Tr&&!e,a=cr.is(":hidden"),u=wi(a,Zr,r);if(Zr=a,clearTimeout(ur),o&&(Ze.h=Ze.h||n,Ze.c=Ze.c||t,Ze.f=Ze.f||r,ur=setTimeout(ui,ni)),!(Yt||o||ir||Xt&&!r&&a||"inline"===cr.css("display"))){ar=i,n=n||Ze.h,t=t||Ze.c,r=r||Ze.f,Ze={},n=n!==Ti&&n,t=t!==Ti&&t,r=r!==Ti&&r,!Et||jt.x&&jt.y?qt=xi(!0,{},Wt.nativeScrollbarSize):(qt.x=0,qt.y=0),pe={x:3*(qt.x+(jt.x?0:3)),y:3*(qt.y+(jt.y?0:3))};var f={l:hr[_e](),t:hr[je]()},c=or.scrollbars,l=or.textarea,s=c.visibility,v=wi(s,Vr,r),d=c.autoHide,h=wi(d,qr,r),b=c.clickScrolling,p=wi(b,Br,r),m=c.dragScrolling,w=wi(m,Xr,r),y=or.className,g=wi(y,$r,r),x=or.resize,S=wi(x,Yr,r)&&!$t,z=!!Pt&&"off"!==fr.attr("wrap"),T=wi(z,Ur,r),k=or.paddingAbsolute,O=wi(k,Hr,r),A=or.clipAlways,L=wi(A,Rr,r),C=or.sizeAutoCapable&&!$t,N=wi(C,Mr,r),D=or.nativeScrollbarsOverlaid.showNativeScrollbars,H=wi(D,jr),R=or.autoUpdate,I=wi(R,Fr),W=or.overflowBehavior,_=yi(W,Wr,Re,Ie,r),j=l.dynWidth,F=wi(Kr,j),M=l.dynHeight,U=wi(Jr,M);if(ee="n"===d,ie="s"===d,oe="m"===d,ae="l"===d,re=c.autoHideDelay,ue=c.touchSupport,Gr=$r,fe="n"===x,ce="b"===x,le="h"===x,se="v"===x,Pr=or.normalizeRTL,D=D&&jt.x&&jt.y,Vr=s,qr=d,Br=b,Xr=m,$r=y,Yr=x,Ur=z,Hr=k,Rr=A,Mr=C,jr=D,Fr=R,Wr=xi(!0,{},W),Kr=j,Jr=M,Sr=Sr||{x:!1,y:!1},g&&(zi(cr,Gr+We+Qe),Si(cr,y!==Ti&&null!==y&&0<y.length?y:Qe)),I&&(!0===R?(ei(),_t.add(de)):null===R&&Ut?(ei(),_t.add(de)):(_t.remove(de),ri())),N)if(C)if(vr===Ti&&(vr=Ii(mi(Ye)),dr.before(vr)),Jt)lr.show();else{lr=Ii(mi(Pe)),vr.before(lr);var E={w:-1,h:-1};ti(lr,function(){var n={w:lr[0][Ci],h:lr[0][Oi]};yi(n,E)&&(Xt&&kr&&0<n.h||Tr&&0<n.w?ui():(Xt&&!kr&&0===n.h||!Tr&&0===n.w)&&ui()),E=n}),Jt=!0,null!==Vt&&lr.css(Ae,Vt+"(100% + 1px)")}else Jt&&lr.hide();r&&(sr.find("*").trigger(De),Jt&&lr.find("*").trigger(De));var V,q=cr.css("direction"),B=wi(q,Dr,r),X=cr.css("box-sizing"),Y=wi(X,Ar,r),P={c:r,t:bi(cr.css(we+ge)),r:bi(cr.css(we+xe)),b:bi(cr.css(we+Se)),l:bi(cr.css(we+ze))};try{V=Jt?lr[0].getBoundingClientRect():null}catch(Rt){return}Gt="border-box"===X;var $=(er="rtl"===q)?ze:xe,G=er?xe:ze,J=cr[0],K=dr[0],Q=!1,Z=!(!Jt||"none"===cr.css(Le))&&(0===Ri.round(V.right-V.left)&&(!!k||0<J[Ni]-Kt));if(C&&!Z){var nn=J[Ci],tn=vr.css(Oe);vr.css(Oe,Ne);var rn=J[Ci];vr.css(Oe,tn),(Q=nn!==rn)||(vr.css(Oe,nn+1),rn=J[Ci],vr.css(Oe,tn),Q=nn!==rn)}var en=(Z||Q)&&C&&!a,on=wi(en,Tr,r),an=!en&&Tr,un=!(!Jt||a)&&0===Ri.round(V.bottom-V.top),fn=wi(un,kr,r),cn=!un&&kr,ln="-"+Oe,sn=en&&Gt||!Gt,vn=un&&Gt||!Gt,dn={c:r,t:vn?bi(cr.css(ye+ge+ln),!0):0,r:sn?bi(cr.css(ye+xe+ln),!0):0,b:vn?bi(cr.css(ye+Se+ln),!0):0,l:sn?bi(cr.css(ye+ze+ln),!0):0},hn={c:r,t:bi(cr.css(me+ge)),r:bi(cr.css(me+xe)),b:bi(cr.css(me+Se)),l:bi(cr.css(me+ze))},bn={h:String(cr.css(ke+Ae)),w:String(cr.css(ke+Oe))},pn={},mn={},wn=function(){return{w:J[Ni],h:J[Ai]}},yn=function(){var n=K.getBoundingClientRect();return n[Oe]?{w:n[Oe],h:n[Ae]}:{w:K[Ci],h:K[Oi]}};if(Kt=P.l+P.r,Qt=P.t+P.b,P.ax=k?Kt:0,P.ay=k?Qt:0,P.c=gi(P,Lr),Zt=dn.l+dn.r,nr=dn.t+dn.b,dn.c=gi(dn,Cr),tr=hn.l+hn.r,rr=hn.t+hn.b,hn.c=gi(hn,Nr),bn.ih=bi(bn.h),bn.iw=bi(bn.w),bn.ch=-1<bn.h.indexOf("px"),bn.cw=-1<bn.w.indexOf("px"),bn.c=yi(bn,Or,r),Dr=q,Ar=X,Tr=en,kr=un,Lr=P,Cr=dn,Nr=hn,Or=bn,B&&Jt&&lr.css(Le,G),P.c||B||O||on||fn||Y||N){var gn={},xn={};hi(mn,me,[-P.t,-P.r,-P.b,-P.l]),k?(hi(gn,Ce,[P.t,P.r,P.b,P.l]),hi(Pt?xn:pn,we)):(hi(gn,Ce),hi(Pt?xn:pn,we,[P.t,P.r,P.b,P.l])),dr.css(gn),fr.css(xn)}be=yn();var Sn=!!Pt&&ai();if(un&&(fn||O||Y||bn.c||P.c||dn.c)?(bn.cw&&(pn[ke+Ae]=bn.ch?bn.ih-P.ay+(Gt?-nr:Qt):Ce),pn[Ae]=Ne):(fn||O)&&(pn[ke+Ae]=Ce,pn[Ae]=He),en&&(on||O||Y||bn.c||P.c||dn.c||B)?(bn.cw&&(pn[ke+Oe]=bn.cw?bn.iw-P.ax+(Gt?-Zt:Kt)+(jt.y?Ft.y:0):Ce),pn[Oe]=Ne,mn[ke+Oe]=He):(on||O)&&(pn[ke+Oe]=Ce,pn[Oe]=He,pn[Le]=Ce,mn[ke+Oe]=Ce),en&&(bn.cw||(pn[ke+Oe]=Ce),mn[Oe]=Pt&&j?Sn.dw:Ne,pn[Oe]=Ne,pn[Le]=G),un&&(bn.ch||(pn[ke+Ae]=Ce),mn[Ae]=Pt?M?Sn.dh:Ne:pr[0][Ai]),C&&vr.css(mn),pr.css(pn),pn={},mn={},n||t||B||Y||O||on||en||fn||un||bn.c||H||_||L||S||v||F||U||T||r){var zn="overflow",Tn=zn+"-x",kn=zn+"-y",On=Bt?jt.x||jt.y||be.w<pe.y||be.h<pe.x||un||u:un,An={},Ln=Sr.y&&zr.ys&&!D?jt.y?hr.css($):-qt.y:0,Cn=Sr.x&&zr.xs&&!D?jt.x?hr.css(Se):-qt.x:0;hi(An,Ce),hr.css(An),On&&pr.css(zn,"hidden");var Nn=pi(),Dn=Bt&&!On?hr[0]:Nn,Hn={w:Nn[Ni],h:Nn[Ai]},Rn={w:Ri.max(Nn[Di],Dn[Di]),h:Ri.max(Nn[Li],Dn[Li])},In=Pt&&Sn&&!j?Sn.ow:en?Hn.w:Rn.w,Wn=Pt&&Sn&&!M?Sn.oh:un?Hn.h:Rn.h;An[Se]=cn?Ce:Cn,An[$]=an?Ce:Ln,hr.css(An),be=yn();var _n=wn(),jn={w:Ri.max(In+P.ax,_n.w-Kt),h:Ri.max(Wn+P.ay,_n.h-Qt)};if(jn.c=yi(jn,Ir,r),Ir=jn,C){(jn.c||un||en)&&(mn[Oe]=jn.w,mn[Ae]=jn.h);var Fn=mn[Oe]+(Gt?Zt:-Kt),Mn=mn[Ae]+(Gt?nr:-Qt),Un={};(!en||!en&&dn.c)&&(mn[Oe]=_n.w-(Gt?0:Kt+Zt)-1-tr),(!un||!un&&dn.c)&&(mn[Ae]=_n.h-(Gt?0:Qt+nr)-1-rr),en&&bn.cw&&bn.iw===Fn&&(mn[Oe]=Fn+(Gt?0:Kt)+1),un&&bn.ch&&bn.ih===Mn&&(mn[Ae]=Mn+(Gt?0:Qt)+1),en&&(Hn.w<be.w||Pt&&!z)&&0===Kt&&(Pt&&(Un[Oe]=bi(mr.css(Oe))-1),mn[Oe]-=1),un&&(Hn.h<be.h||Pt)&&0===Qt&&(Pt&&(Un[Ae]=bi(mr.css(Ae))-1),mn[Ae]-=1),0<Wn&&(mn[Oe]=Ri.max(1,mn[Oe]),mn[Ae]=Ri.max(1,mn[Ae])),Pt&&mr.css(Un),vr.css(mn)}en&&(pn[Oe]=He),!en||Gt||ne||(pn[Le]="none"),pr.css(pn),pn={};var En=Nn.getBoundingClientRect(),Vn=En[Oe]||0,qn=En[Ae]||0,Bn={w:Ri.max(Nn[Di],Dn[Di])+bi(Vn)-Vn,h:Ri.max(Nn[Li],Dn[Li])+bi(qn)-qn};Bn.c=t=yi(Bn,gr,r),gr=Bn,On&&pr.css(zn,Ce),be=yn(),n=yi(_n=wn(),yr),yr=_n;var Xn={x:"v-s"===W.x,y:"v-s"===W.y},Yn="v-h"===W.x,Pn="v-h"===W.y,$n={x:"s"===W.x,y:"s"===W.y},Gn={x:Ri.max(0,Ri.round(100*(Bn.w-be.w))/100),y:Ri.max(0,Ri.round(100*(Bn.h-be.h))/100)},Jn=Pt&&(0===be.w||0===be.h),Kn=0===hr[0].scrollLeftMax&&0<Gn.x&&Gn.x<1||0===hr[0].scrollTopMax&&0<Gn.y&&Gn.y<1;(Jn||Kn)&&(Gn.x=Gn.y=0);var Qn={x:0<Gn.x,y:0<Gn.y},Zn={x:Qn.x,y:Qn.y};(Xn.x||Yn)&&(Zn.x=Qn.y&&!Xn.y&&!Pn),(Xn.y||Pn)&&(Zn.y=Qn.x&&!Xn.x&&!Yn),Zn.xs=!!Zn.x&&($n.x||Xn.x),Zn.ys=!!Zn.y&&($n.y||Xn.y);var nt={x:Qn.x&&Zn.xs,y:Qn.y&&Zn.ys},tt=_r;if(Gn.c=yi(Gn,_r,Re,Ie,r),_r=Gn,Qn.c=yi(Qn,Sr,Re,Ie,r),Sr=Qn,Zn.c=yi(Zn,zr,Re,Ie,r),zr=Zn,jt.x||jt.y){var rt="px solid transparent",et={},it={},ot=r;(Qn.x||Qn.y)&&(it.w=jt.y&&Qn.y?Bn.w+Ft.y:Ce,it.h=jt.x&&Qn.x?Bn.h+Ft.x:Ce,ot=wi(it,xr,r),xr=it),(Qn.c||Zn.c||Bn.c||B||on||fn||en||un||H)&&(pn[me+G]=pn[ye+G]=Ce,jt.x&&Qn.x&&Zn.xs?(pn[me+Se]=un?D?Ce:Ft.x:Ce,pn[ye+Se]=un||D?Ce:Ft.x+rt):(it.h=pn[me+Se]=pn[ye+Se]=Ce,ot=!0),jt.y&&Qn.y&&Zn.ys?(pn[me+$]=en?D?Ce:Ft.y:Ce,pn[ye+$]=D?Ce:Ft.y+rt):(it.w=pn[me+$]=pn[ye+$]=Ce,ot=!0)),D&&(it.w=it.h=Ce,ot=!0),ot&&(et[Oe]=Zn.y?it.w:Ce,et[Ae]=Zn.x?it.h:Ce,br||(br=Ii(mi(Xe)),hr.prepend(br)),br.css(et)),pr.css(pn)}var at={};gn={};if(n||Qn.c||Zn.c||Bn.c||_||Y||H||B||L||fn){at[G]=Ce;var ut=function(){at[Se]=Ce,he.h=0},ft=function(){at[$]=Ce,he.w=0};if(Qn.x&&Zn.xs?(at[Tn]=De,D?ut():(at[Se]=-(jt.x?Ft.x:qt.x),he.h=jt.x?Ft.y:0)):(at[Tn]=Ce,ut()),Qn.y&&Zn.ys?(at[kn]=De,D?ft():(at[$]=-(jt.y?Ft.y:qt.y),he.w=jt.y?Ft.x:0)):(at[kn]=Ce,ft()),(be.h<pe.x||be.w<pe.y)&&(Qn.x&&Zn.x&&!jt.x||Qn.y&&Zn.y&&!jt.y)?(at[we+ge]=pe.x,at[me+ge]=-pe.x,at[we+G]=pe.y,at[me+G]=-pe.y):at[we+ge]=at[me+ge]=at[we+G]=at[me+G]=Ce,at[we+$]=at[me+$]=Ce,Qn.x&&Zn.x||Qn.y&&Zn.y||Jn?Pt&&Jn&&(gn[Tn]=gn[kn]="hidden"):(!A||Yn||Xn.x||Pn||Xn.y)&&(Pt&&(gn[Tn]=gn[kn]=Ce),at[Tn]=at[kn]="visible"),dr.css(gn),hr.css(at),at={},(Qn.c||Y||on||fn)&&(!jt.x||!jt.y)){var ct=pr[0],lt=ct[ki];lt.webkitTransform="scale(1)",lt.display="run-in",ct[Oi],lt.display=Ce,lt.webkitTransform=Ce}}if(pn={},B||on||fn)if(er&&en){var st=pr.css(Le),vt=Ri.round(pr.css(Le,Ce).css(ze,Ce).position().left);pr.css(Le,st),vt!==Ri.round(pr.position().left)&&(pn[ze]=vt)}else pn[ze]=Ce;pr.css(pn);var dt,ht,bt="v"===s,pt="h"===s,mt="a"===s,wt=Hi.bind(fi,0,!0,!0,nt.x),yt=Hi.bind(fi,0,!1,!0,nt.y),gt=Hi.bind(fi,0,!0,!1,nt.x),xt=Hi.bind(fi,0,!1,!1,nt.y);if(Zn.x||Zn.y?Si(cr,Ve):zi(cr,Ve),Zn.x?Si(cr,qe):zi(cr,qe),Zn.y?Si(cr,Be):zi(cr,Be),B&&(er?Si(cr,Me):zi(cr,Me)),$t&&Si(cr,Ue),S){var St=function(){wr.off(Fe,ve)};fe?(Si(cr,Ue),zi(wr,[$e,Ge,Je,Ke].join(We)),St()):(zi(cr,Ue),Si(wr,$e),ce?Si(wr,Ge):le?Si(wr,Je):se&&Si(wr,Ke),St(),wr.on(Fe,ve))}if((v||_||Zn.c||Qn.c||H)&&(D?H&&(zi(cr,Ee),D&&(gt(),xt())):mt?(nt.x?wt():gt(),nt.y?yt():xt()):bt?(wt(),yt()):pt&&(gt(),xt())),(h||H)&&(ae||oe?(ii(!0),ii()):ii(!0),ee?ci(!0):ci(!1,!0)),(n||Gn.c||fn||on||S||Y||O||H||B)&&(li(!0),si(!0,f.l),li(!1),si(!1,f.t)),p&&vi(!0,b),w&&vi(!1,m),Pt&&t){var zt=function It(){var n=fr[0].selectionStart;if(n===Ti)return;var t,r,e="length",i=fr.val(),o=i[e],a=i.split("\n"),u=a[e],f=i.substr(0,n).split("\n"),c=0,l=0,s=f[e],v=f[f[e]-1][e];for(r=0;r<a[e];r++)t=a[r][e],l<t&&(c=r+1,l=t);return{cR:s,cC:v,r:u,c:l,w:c,p:n,m:o}}();if(zt){var Tt=Er===Ti||zt.rows!==Er.rows,kt=zt.cR,Ot=zt.cC,At=zt.w,Lt=zt.r,Ct=zt.c,Nt=zt.p,Dt=zt.m<=Nt&&te,Ht={x:z||Ot!==Ct||kt!==At?-1:_r.x,y:(z?Dt||Tt&&tt!==Ti&&f.t===tt.y:(Dt||Tt)&&kt===Lt)?_r.y:-1};dt=-1<Ht.x,(ht=-1<Ht.y)&&hr[je](Ht.y),dt&&(er&&Pr&&Mt.i?hr[_e](0):hr[_e](Ht.x))}Er=zt}er&&Mt.i&&jt.y&&Qn.x&&Pr&&(f.l+=he.w||0),dt||hr[_e](f.l),ht||hr[je](f.t),en&&cr[_e](0),un&&cr[je](0),B&&di("onDirectionChanged",{isRTL:er,dir:q}),n&&di("onHostSizeChanged",{width:yr.w,height:yr.h}),t&&di("onContentSizeChanged",{width:gr.w,height:gr.h}),(Qn.c||Zn.c)&&di("onOverflowChanged",{x:Qn.x,y:Qn.y,xScrollable:Zn.xs,yScrollable:Zn.ys,clipped:Zn.x||Zn.y}),Gn.c&&di("onOverflowAmountChanged",{x:Gn.x,y:Gn.y})}$t&&(Sr.c||Qr.c)&&(Qr.f||oi(),jt.y&&Sr.x&&pr.css(Te+Oe,Qr.w+Ft.y),jt.x&&Sr.y&&pr.css(Te+Ae,Qr.h+Ft.x),Qr.c=!1),di("onUpdated",{forced:r})}}function Gn(n){o=xi(!0,{},o,ct.v(n,ct.t,!0)),or=xi(!0,{},or,ct.v(n,ct.t,!1,!0))}function Jn(e){var n=or.textarea.inheritedAttrs,i={},t=function(){var r=e?fr:cr;Ii.each(i,function(n,t){ot(t)==pt&&(n==yt?r.addClass(t):r.attr(n,t))})},r=[on,an,Ue,Me,un,fn,cn,Ee,Ve,qe,Be,Qe,dn,zn,$r].join(We);if(ot(n=ot(n)==pt?n.split(" "):n)==bt&&Ii.each(n,function(n,t){ot(t)==pt&&(i[t]=e?cr.attr(t):fr.attr(t))}),e)pr.contents().unwrap().unwrap().unwrap(),zi(cr,r),Pt?(fr.removeAttr(ki),u&&t(),zi(fr,r),at(mr),u?(fr.unwrap(),at(cr)):Si(cr,an)):zi(fr,on),$t&&zi(l,en),at(sr);else{if(Pt){var o={},a=fr.parent();u=!(a.hasClass(an)&&1===a.children()[xt]),or.sizeAutoCapable||(o[Oe]=fr.css(Oe),o[Ae]=fr.css(Ae)),u&&fr.wrap(mi(an)),(cr=fr.parent()).css(o).wrapInner(mi(yn+We+zn)).wrapInner(mi(pn+We+zn)).wrapInner(mi(bn+We+zn)),pr=ut(cr,q+yn),hr=ut(cr,q+pn),dr=ut(cr,q+bn),mr=Ii(mi(hn)),pr.prepend(mr),Si(fr,dn+We+zn),u&&t()}else(cr=fr).wrapInner(mi(yn)).wrapInner(mi(pn)).wrapInner(mi(bn)),pr=ut(cr,q+yn),hr=ut(cr,q+pn),dr=ut(cr,q+bn),Si(fr,on);Et&&Si(hr,jt.x&&jt.y?wn:mn),$t&&Si(l,en),sr=Ii(mi("os-resize-observer-host")),cr.prepend(sr)}}function Kn(n){var r,t,e,i,o=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],a=[],u=n?"off":"on";!n&&Pt&&(e=function(n){ai(),de.update(Ne),n&&clearInterval(r)},(_={})[De]=function(n){return fr[_e](Mt.i&&Pr?9999999:0),fr[je](0),Hi.prvD(n),Hi.stpP(n),!1},_.drop=function(){setTimeout(function(){Yt||e()},50)},_.focus=function(){te=!0},_.focusout=function(){e(!(te=!(a=[])))},9<C||!Ut?_.input=function(){e()}:(_[K]=function(n){var t=n.keyCode;-1<Ii.inArray(t,o)||(a.length||(e(),r=setInterval(e,1e3/60)),-1===Ii.inArray(t,a)&&a.push(t))},_[Q]=function(n){var t=n.keyCode,r=Ii.inArray(t,a);-1<Ii.inArray(t,o)||(-1<r&&a.splice(r,1),a.length||e(!0))})),Pt?Ii.each(_,function(n,t){fr[u](n,t)}):pr[u](nn,function(n){!0!==Fr&&function s(n){if(!Xt)return!0;var t="flex-grow",r="flex-shrink",e="flex-basis",i=[Oe,Te+Oe,ke+Oe,me+ze,me+xe,ze,xe,"font-weight","word-spacing",t,r,e],o=[we+ze,we+xe,ye+ze+Oe,ye+xe+Oe],a=[Ae,Te+Ae,ke+Ae,me+ge,me+Se,ge,Se,"line-height",t,r,e],u=[we+ge,we+Se,ye+ge+Oe,ye+Se+Oe],f="s"===Wr.x||"v-s"===Wr.x,c=!1,l=function(n,t){for(var r=0;r<n.length;r++)if(n[r]===t)return!0;return!1};return("s"===Wr.y||"v-s"===Wr.y)&&((c=l(a,n))||Gt||(c=l(u,n))),f&&!c&&((c=l(i,n))||Gt||(c=l(o,n))),c}((n=n.originalEvent||n).propertyName)&&ui(Ne)}),n||(i=function(n){ir||(t!==Ti?clearTimeout(t):((ie||oe)&&ci(!0),et()||Si(cr,Ee),di("onScrollStart",n)),si(!0),si(!1),di("onScroll",n),t=setTimeout(function(){Yt||(clearTimeout(t),t=Ti,(ie||oe)&&ci(!1),et()||zi(cr,Ee),di("onScrollStop",n))},175))},d?Fn(hr,De,i):hr.on(De,i))}function Qn(n){n?(at(a),at(p)):(a=Ii(mi(Tn+We+Hn)),f=Ii(mi(kn)),s=Ii(mi(An)),p=Ii(mi(Tn+We+Rn)),m=Ii(mi(kn)),w=Ii(mi(An)),a.append(f),f.append(s),p.append(m),m.append(w),dr.after(p),dr.after(a))}function Zn(g){var i,x,S,z=nt(g),o=b.top!==b,T=z.xy,a=z.XY,k=De+z.LT,r="active",O=1,t=[16,17];function e(){O=.5}function u(){O=1}function f(n){-1<Ii.inArray(n.keyCode,t)&&e()}function c(n){-1<Ii.inArray(n.keyCode,t)&&u()}function l(n){var t=(n.originalEvent||n).touches!==Ti;return!(ir||Yt||et()||!Xr||t&&!ue)&&(1===Hi.mBtn(n)||t)}function s(n){if(l(n)){var t=z.i.tl,r=z.i.hl,e=z.i.ms*(((C&&o?n["screen"+a]:Hi.page(n)[T])-x)/(t-r));e=isFinite(e)?e:0,er&&g&&!Mt.i&&(e*=-1),hr[k](i+e),d||Hi.prvD(n)}else A(n)}function A(n){if(n=n||n.originalEvent,zi(H,In),zi(z.h,r),zi(z.t,r),zi(z.s,r),D.off($,s).off(P,A).off(K,f).off(Q,c).off(Z,Yn),u(),S!==(x=i=Ti)&&(de.scrollStop(),clearTimeout(S),S=Ti),n){var t=cr[0].getBoundingClientRect();n.clientX>=t.left&&n.clientX<=t.right&&n.clientY>=t.top&&n.clientY<=t.bottom||Bn(),(ie||oe)&&ci(!1)}}function L(n){i=(i=hr[k]())===Ti?0:i,(er&&g&&!Mt.n||!er)&&(i=i<0?0:i),x=C&&o?n["screen"+a]:Hi.page(n)[T],Si(H,In),Si(z.h,r),Si(z.s,r),D.on($,s).on(P,A).on(Z,Yn),!C&&h||Hi.prvD(n),Hi.stpP(n)}z.h.on(Fe,function(n){l(n)&&L(n)}),z.t.on(Fe,function(s){if(l(s)){var v,d,h=be[z.o],b=z.t.offset()[z.lt],n=s.ctrlKey,p=s.shiftKey,m=p&&n,w=!0,y=function(){if(!Yt){var n=x-b,t=z.i.tl,r=z.i.ho,e=z.i.hl,i=z.i.ms,o=270*O,a=w?Ri.max(400,o):o,u=i*((n-e/2)/(t-e)),f=er&&g&&(!Mt.i&&!Mt.n||Pr),c=f?r<n:n<r,l={};p?(u=isFinite(u)?u:0,er&&g&&!Mt.i&&(u=i-u),m?(l.n=!1,l[T]=u,de.scroll(l,130,"linear",function(){L(s)})):(hr[k](u),L(s))):(v=w?c:v,d=f?v?n<=r+e:r<=n:v?r<=n:n<=r+e,l[T]=v?"-="+h:"+="+h,de.scrollStop(),de.scroll(l,o,"linear"),S=d?(clearTimeout(S),de.scrollStop(),Ti):setTimeout(y,a),w=!1)}};n&&e(),x=Hi.page(s)[T],Si(H,In),Si(z.t,r),Si(z.s,r),D.on(P,A).on(K,f).on(Q,c).on(Z,Yn),y(),Hi.prvD(s),Hi.stpP(s)}}).on(G,function(){(ie||oe)&&ci(M=!0)}).on(J,function(){(ie||oe)&&ci(M=!1)}),z.s.on(Fe,function(n){Hi.stpP(n)}),v&&z.s.on(nn,function(n){n.target===z.s[0]&&(li(g),si(g))})}function fi(n,t,r){var e=n?un:fn,i=n?a:p;t?zi(cr,e):Si(cr,e),r?zi(i,Cn):Si(i,Cn)}function ci(n,t){if(clearTimeout(j),n)zi(a,Nn),zi(p,Nn);else{var r=function(){if(!M&&!Yt){var n=s.hasClass("active")||w.hasClass("active");!n&&(ie||oe||ae)&&Si(a,Nn),!n&&(ie||oe||ae)&&Si(p,Nn)}};0<re&&!0!==t?j=setTimeout(r,re):r()}}function li(n){var t={},r=nt(n),e=Ri.min(1,(yr[r.o]-(Hr?n?Kt:Qt:0))/gr[r.o]);t[r.wh]=Ri.floor(100*e*1e6)/1e6+"%",et()||r.h.css(t),r.i.hl=r.h[0]["offset"+r.WH],r.i.hlr=e}function si(n,t){t=t===Ti?n?hr[_e]():hr[je]():t;var r,e,i,o=er&&n,a={},u=nt(n),f="translate(",c="transform",l=hr[0][De+u.WH]-hr[0]["client"+u.WH],s=u.i.hl,v=u.t[0]["offset"+u.WH],d=v-s;Mt.n&&o&&(l*=-1),i=t/l,i=isNaN(i)?0:Ri.min(1,i),u.i.ms=l,u.i.cs=t,d*=u.i.csr=i,d=isNaN(d)?0:d,o&&!Mt.i&&(d=v-s-d),d=Ri.max(0,d),ln?(e=o?-(v-s-d):d,r=n?f+e+"px, 0)":f+"0, "+e+"px)",a["-webkit-"+c]=r,a["-moz-"+c]=r,a["-ms-"+c]=r,a["-o-"+c]=r,a[c]=r):a[u.lt]=d,et()||u.h.css(a),u.i.ho=d,u.i.tl=v}function vi(n,t){var r=t?"removeClass":"addClass",e=n?m:w,i=n?On:Ln;(n?f:s)[r](i),e[r](i)}function nt(n){return{wh:n?Oe:Ae,WH:n?"Width":"Height",lt:n?ze:ge,LT:n?"Left":"Top",xy:n?Re:Ie,XY:n?"X":"Y",o:n?"w":"h",u:n?"l":"t",t:n?f:m,h:n?s:w,s:n?a:p,i:n?sn:vn}}function tt(n){n?at(wr):(wr=Ii(mi(Dn)),cr.append(wr))}function di(n,t){if(Xt){var r,e=or.callbacks[n],i=n;"on"===i.substr(0,2)&&(i=i.substr(2,1).toLowerCase()+i.substr(3)),ot(e)==ht&&e.call(de,t),Ii.each(_n,function(){ot((r=this).on)==ht&&r.on(i,t)})}else Yt||Wn.push({n:n,a:t})}function hi(n,t,r){r===Ti&&(r=[Ce,Ce,Ce,Ce]),n[t+ge]=r[0],n[t+xe]=r[1],n[t+Se]=r[2],n[t+ze]=r[3]}function rt(n){var t="ownerDocument",r="HTMLElement",e=n&&n[t]&&n[t].parentWindow||lt;return typeof e[r]==dt?n instanceof e[r]:n&&typeof n==dt&&null!==n&&1===n.nodeType&&typeof n.nodeName==pt}function bi(n,t){var r=t?parseFloat(n):parseInt(n);return isNaN(r)?0:r}function et(){return jr&&jt.x&&jt.y}function pi(){return Pt?mr[0]:pr[0]}function mi(r,n){return"<div "+(r?ot(r)==pt?'class="'+r+'"':function(){var n,t="";if(Ii.isPlainObject(r))for(n in r)t+=("className"===n?"class":n)+'="'+r[n]+'" ';return t}():Ce)+">"+(n||Ce)+"</div>"}function it(n,t){for(var r,e=t.split(q),i=0;i<e.length;i++){if(!n.hasOwnProperty(e[i]))return;r=n[e[i]],i<e.length&&ot(r)==dt&&(n=r)}return r}function wi(n,t,r){return!0===r?r:t===Ti||n!==t}function yi(n,t,r,e,i){if(!0===i)return i;if(e===Ti&&i===Ti){if(!0===r)return r;r=Ti}return r=r===Ti?"w":r,e=e===Ti?"h":e,t===Ti||(n[r]!==t[r]||n[e]!==t[e])}function gi(n,t){return t===Ti||(n.t!==t.t||n.r!==t.r||n.b!==t.b||n.l!==t.l)}function ot(n){return Hi.type(n)}function xi(){return Ii.extend.apply(this,arguments)}function Si(n,t){return E.addClass.call(n,t)}function zi(n,t){return E.removeClass.call(n,t)}function at(n){return E.remove.call(n)}function ut(n,t){return E.find.call(n,t).eq(0)}}return lt[vt]=function(n,r,e){if(0===arguments.length)return this;var i,t,o=[],a=Ii.isPlainObject(r);return n?(n=n.length!=Ti?n:[n[0]||n],l(),0<n.length&&(a?Ii.each(n,function(n,t){(i=t)!==Ti&&o.push(v(i,r,e,u,f))}):Ii.each(n,function(n,t){i=Tt(t),"!"===r&&i instanceof lt[vt]||Hi.type(r)==ht&&r(t,i)?o.push(i):r===Ti&&o.push(i)}),t=1===o.length?o[0]:o),t):a||!r?t:o},lt[vt].globals=function(){l();var n=Ii.extend(!0,{},u);return delete n.msie,n},lt[vt].defaultOptions=function(n){l();var t=u.defaultOptions;if(n===Ti)return Ii.extend(!0,{},t);u.defaultOptions=Ii.extend(!0,{},t,ct.v(n,ct.t,!0))},lt[vt].extension=function(n,t,r){var e=Hi.type(n)==pt,i=arguments[xt],o=0;if(i<1||!e)return Ii.extend(!0,{length:c[xt]},c);if(e)if(Hi.type(t)==ht)c.push({name:n,extensionFactory:t,defaultOptions:r});else for(;o<c[xt];o++)if(c[o].name===n){if(!(1<i))return Ii.extend(!0,{},c[o]);c.splice(o,1)}},lt[vt]}();return zt&&zt.fn&&(zt.fn.overlayScrollbars=function(n,t){return zt.isPlainObject(n)?(zt.each(this,function(){r(this,n,t)}),this):r(this,n)}),r}); | ||
!function(t,r){"function"==typeof define&&define.amd?define(["jquery"],function(n){return r(t,t.document,undefined,n)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=r(t,t.document,undefined,require("jquery")):r(t,t.document,undefined,t.jQuery)}("undefined"!=typeof window?window:this,function(lt,st,Ti,n){"use strict";var i,o,vt="OverlayScrollbars",dt="object",ht="function",bt="array",pt="string",mt="boolean",wt="number",d="null",yt="class",ki="style",gt="id",xt="length",St="prototype",Oi="offsetHeight",Ai="clientHeight",Li="scrollHeight",Ci="offsetWidth",Ni="clientWidth",Di="scrollWidth",Hi={wW:function(){return lt.innerWidth||st.documentElement[Ni]||st.body[Ni]},wH:function(){return lt.innerHeight||st.documentElement[Ai]||st.body[Ai]},mO:function(){return lt.MutationObserver||lt.WebKitMutationObserver||lt.WebkitMutationObserver||lt.MozMutationObserver||Ti},rO:function(){return lt.ResizeObserver||lt.WebKitResizeObserver||lt.WebkitResizeObserver||lt.MozResizeObserver||Ti},rAF:function(){return lt.requestAnimationFrame||lt.webkitRequestAnimationFrame||lt.mozRequestAnimationFrame||lt.oRequestAnimationFrame||lt.msRequestAnimationFrame||function(n){return lt.setTimeout(n,1e3/60)}},cAF:function(){return lt.cancelAnimationFrame||lt.webkitCancelAnimationFrame||lt.mozCancelAnimationFrame||lt.oCancelAnimationFrame||lt.msCancelAnimationFrame||function(n){return lt.clearTimeout(n)}},now:function(){return Date.now&&Date.now()||(new Date).getTime()},stpP:function(n){n.stopPropagation?n.stopPropagation():n.cancelBubble=!0},prvD:function(n){n.preventDefault&&n.cancelable?n.preventDefault():n.returnValue=!1},page:function(n){var t="page",r="client",e="X",i=((n=n.originalEvent||n).target||n.srcElement||st).ownerDocument||st,o=i.documentElement,a=i.body;if(n.touches===Ti)return!n[t+e]&&n[r+e]&&null!=n[r+e]?{x:n[r+e]+(o&&o.scrollLeft||a&&a.scrollLeft||0)-(o&&o.clientLeft||a&&a.clientLeft||0),y:n[r+"Y"]+(o&&o.scrollTop||a&&a.scrollTop||0)-(o&&o.clientTop||a&&a.clientTop||0)}:{x:n[t+e],y:n.pageY};var u=n.touches[0];return{x:u[t+e],y:u.pageY}},mBtn:function(n){var t=n.button;return n.which||t===Ti?n.which:1&t?1:2&t?3:4&t?2:0},inA:function(n,t){for(var r=0;r<t[xt];r++)try{if(t[r]===n)return r}catch(e){}return-1},isA:function(n){var t=Array.isArray;return t?t(n):this.type(n)==bt},type:function(n){return n===Ti?n+"":null===n?n+"":Object[St].toString.call(n).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},bind:function(n,t){if(typeof n!=ht)throw"Can't bind function!";var r=St,e=Array[r].slice.call(arguments,2),i=function(){},o=function(){return n.apply(this instanceof i?this:t,e.concat(Array[r].slice.call(arguments)))};return n[r]&&(i[r]=n[r]),o[r]=new i,o}},Ri=Math,zt=n,Ii=(n.easing,n),Tt=(i=[],o="__overlayScrollbars__",function(n,t){var r=arguments[xt];if(r<1)return i;if(t)n[o]=t,i.push(n);else{var e=Hi.inA(n,i);if(-1<e){if(!(1<r))return i[e][o];delete n[o],i.splice(e,1)}}}),r=function(){var u,f,A,n,t,r,e,a,i,c=[],ct=(a={className:["os-theme-dark",[d,pt]],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:n=[!0,mt],clipAlways:n,normalizeRTL:n,paddingAbsolute:t=[!(A=[mt,wt,pt,bt,dt,ht,d]),mt],autoUpdate:[null,[d,mt]],autoUpdateInterval:[33,wt],nativeScrollbarsOverlaid:{showNativeScrollbars:t,initialize:n},overflowBehavior:{x:["scroll",e="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll",e]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,wt],dragScrolling:n,clickScrolling:t,touchSupport:n},textarea:{dynWidth:t,dynHeight:t,inheritedAttrs:[["style","class"],[pt,bt,d]]},callbacks:{onInitialized:r=[null,[d,ht]],onInitializationWithdrawn:r,onDestroyed:r,onScrollStart:r,onScroll:r,onScrollStop:r,onOverflowChanged:r,onOverflowAmountChanged:r,onDirectionChanged:r,onContentSizeChanged:r,onHostSizeChanged:r,onUpdated:r}},{d:(i=function(i){var o=function(n){var t,r,e;for(t in n)n.hasOwnProperty(t)&&(r=n[t],(e=Hi.type(r))==bt?n[t]=r[i?1:0]:e==dt&&(n[t]=o(r)));return n};return o(Ii.extend(!0,{},a))})(),t:i(!0),v:function(n,t,T,k,r){var e={},i=Ii.extend(!0,{},n),O=function(n,t,r,e){for(var i in t)if(t.hasOwnProperty(i)&&n.hasOwnProperty(i)){var o,a,u,f,c,l,s,v,d=!1,h=t[i],b=Hi.type(h),p=b==dt,m=Hi.type(h)!=bt?[h]:h,w=n[i],y=Hi.type(w),g=e?e+".":"",x='The option "'+g+i+"\" wasn't set, because",S=[],z=[];if(p&&y==dt)r[i]={},O(w,h,r[i],g+i),Ii.isEmptyObject(w)&&delete n[i];else if(!p){for(l=0;l<m.length;l++)if(c=m[l],u=(b=Hi.type(c))==pt&&-1===Ii.inArray(c,A))for(S.push(pt),o=c.split(" "),z=z.concat(o),s=0;s<o.length;s++){for(f=(a=o[s].split(":"))[0],v=0;v<a.length;v++)if(w===a[v]){d=!0;break}if(d)break}else if(S.push(c),y===c){d=!0;break}d?r[i]=u&&k?f:w:T&&console.warn(x+" it doesn't accept the type [ "+y.toUpperCase()+' ] with the value of "'+w+'".\r\nAccepted types are: [ '+S.join(", ").toUpperCase()+" ]."+(0<z.length?"\r\nValid strings are: [ "+z.join(", ").split(":").join(", ")+" ].":"")),delete n[i]}}};return O(i,t,e),r?Ii.extend(!0,e,i):!Ii.isEmptyObject(i)&&T&&console.warn("The following options are discarded due to invalidity:\r\n"+lt.JSON.stringify(i,null,2)),e}});function l(){u||(u=new o(ct.d)),f||(f=new s(u))}function o(n){var S=this,i="overflow",o="hidden",z=Ii("body"),T=Ii('<div id="os-dummy-scrollbar-size"><div></div></div>'),a=T[0],e=Ii(T.children("div").eq(0));z.append(T),T.hide().show();var t,r,u,f,c,l,s,v,d,h=k(a),b={x:0===h.x,y:0===h.y};function p(n){var t=!1,r="Webkit Moz ms O".split(" "),e=st.createElement("div"),i=null,o=0;if(n=n.toLowerCase(),e[ki][n]!==Ti&&(t=!0),!t)for(i=n.charAt(0).toUpperCase()+n.substr(1);o<r.length;o++)if(e[ki][r[o]+i]!==Ti){t=!0;break}return t}function k(n){return{x:n[Oi]-n[Ai],y:n[Ci]-n[Ni]}}Ii.extend(S,{defaultOptions:n,autoUpdateLoop:!1,autoUpdateRecommended:!Hi.mO(),nativeScrollbarSize:h,nativeScrollbarIsOverlaid:b,nativeScrollbarStyling:(T.addClass("os-viewport-native-scrollbars-invisible"),T.css(i,o).hide().css(i,"scroll").show(),a[Oi]-a[Ai]==0&&a[Ci]-a[Ni]==0),overlayScrollbarDummySize:{x:30,y:30},msie:(r=lt.navigator.userAgent,u="indexOf",f="substring",c=r[u]("MSIE "),l=r[u]("Trident/"),s=r[u]("Edge/"),v=r[u]("rv:"),d=parseInt,0<c?t=d(r[f](c+5,r[u](".",c)),10):0<l?t=d(r[f](v+3,r[u](".",v)),10):0<s&&(t=d(r[f](s+5,r[u](".",s)),10)),t),cssCalc:function(){var n,t,r=st.createElement("div"),e=["calc","-webkit-calc","-moz-calc","-o-calc"];for(n=0;n<e.length;++n)if(t=e[n],r[ki].cssText="width:"+t+"(1px);",r[ki].length)return t;return null}(),restrictedMeasuring:function(){T.css(i,o);var n=a[Di],t=a[Li];T.css(i,"visible");var r=a[Di],e=a[Li];return n-r!=0||t-e!=0}(),rtlScrollBehavior:function(){T.css({"overflow-y":o,"overflow-x":"scroll",direction:"rtl"}).scrollLeft(0);var n=T.offset(),t=e.offset();T.scrollLeft(999);var r=e.offset();return{i:n.left===t.left,n:t.left-r.left==0}}(),supportTransform:p("transform"),supportTransition:p("transition"),supportPassiveEvents:function(){var n=!1;try{lt.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){n=!0}}))}catch(t){}return n}(),supportResizeObserver:!!Hi.rO(),supportMutationObserver:!!Hi.mO()}),T.removeAttr(ki).remove(),function(){if(!b.x||!b.y){var m=Ri.abs,w=Hi.wW(),y=Hi.wH(),g=x();Ii(lt).on("resize",function(){if(0<Tt().length){var n=Hi.wW(),t=Hi.wH(),r=n-w,e=t-y;if(0===r&&0===e)return;var i,o=Ri.round(n/(w/100)),a=Ri.round(t/(y/100)),u=m(r),f=m(e),c=m(o),l=m(a),s=x(),v=2<u&&2<f,d=!function p(n,t){var r=m(n),e=m(t);return!(r===e||r+1===e||r-1===e)}(c,l),h=v&&d&&s!==g&&0<g,b=S.nativeScrollbarSize;h&&(z.append(T),i=S.nativeScrollbarSize=k(T[0]),T.remove(),b.x===i.x&&b.y===i.y||Ii.each(Tt(),function(){Tt(this)&&Tt(this).update("zoom")})),w=n,y=t,g=s}})}function x(){var n=lt.screen.deviceXDPI||0,t=lt.screen.logicalXDPI||1;return lt.devicePixelRatio||n/t}}()}function s(r){var c,l="autoUpdate",s=xt,v=[],d=[],h=!1,b=33,p=Hi.now(),m=function(){if(0<v[s]&&h){c=Hi.rAF()(function(){m()});var n=Hi.now(),t=n-p;if(b<t){p=n-t%b;for(var r=33,e=0;e<v[s];e++){var i=v[e];if(i!==Ti){var o=i.options(),a=o[l],u=Ri.max(1,o.autoUpdateInterval),f=Hi.now();(!0===a||null===a)&&f-d[e]>u&&(i.update("auto"),d[e]=new Date(f+=u)),r=Ri.max(1,Ri.min(r,u))}}b=r}}else b=33};this.add=function(n){-1===Ii.inArray(n,v)&&(v.push(n),d.push(Hi.now()),0<v[s]&&!h&&(h=!0,r.autoUpdateLoop=h,m()))},this.remove=function(n){var t=Ii.inArray(n,v);-1<t&&(d.splice(t,1),v.splice(t,1),0===v[s]&&h&&(h=!1,r.autoUpdateLoop=h,c!==Ti&&(Hi.cAF()(c),c=-1)))}}function v(e,n,t,Wt,_t){if(rt(e)){if(Tt(e)){var r=Tt(e);return r.options(n),r}var jt,Ft,Mt,Ut,C,Et,Vt,qt,v,ln,d,N,c,Bt,Xt,Yt,Pt,$t,h,u,Gt,Jt,Kt,Qt,Zt,nr,tr,rr,er,ir,i,o,or,ar,ur,b,D,l,H,fr,cr,lr,sr,vr,dr,hr,br,pr,mr,wr,a,f,s,p,m,w,yr,gr,xr,Sr,zr,Tr,kr,Or,Ar,Lr,Cr,Nr,Dr,R,Hr,Rr,Ir,Wr,_r,jr,Fr,Mr,Ur,Er,y,g,x,S,z,T,k,O,A,Vr,qr,Br,Xr,Yr,Pr,$r,Gr,Jr,Kr,Qr,L,Zr,I,W,ne,_,te,j,F,re,ee,ie,oe,ae,ue,M,U,fe,ce,le,se,ve,de=new lt[vt],E=Ii[St],he={},sn={},vn={},be={},pe={},V="-hidden",me="margin-",we="padding-",ye="border-",ge="top",xe="right",Se="bottom",ze="left",Te="min-",ke="max-",Oe="width",Ae="height",Le="float",Ce="",Ne="auto",De="scroll",He="100%",Re="x",Ie="y",q=".",We=" ",B="scrollbar",X="-horizontal",Y="-vertical",_e=De+"Left",je=De+"Top",Fe="mousedown touchstart",P="mouseup touchend touchcancel",$="mousemove touchmove",G="mouseenter",J="mouseleave",K="keydown",Q="keyup",Z="selectstart",nn="transitionend webkitTransitionEnd oTransitionEnd",tn="__overlayScrollbarsRO__",rn="os-",en="os-html",on="os-host",an=on+"-textarea",un=on+"-"+B+X+V,fn=on+"-"+B+Y+V,cn=on+"-transition",Me=on+"-rtl",Ue=on+"-resize-disabled",Ee=on+"-scrolling",Ve=on+"-overflow",qe=Ve+"-x",Be=Ve+"-y",dn="os-textarea",hn=dn+"-cover",bn="os-padding",pn="os-viewport",mn=pn+"-native-scrollbars-invisible",wn=pn+"-native-scrollbars-overlaid",yn="os-content",Xe="os-content-arrange",Ye="os-content-glue",Pe="os-size-auto-observer",gn="os-resize-observer",xn="os-resize-observer-item",Sn=xn+"-final",zn="os-text-inherit",Tn=rn+B,kn=Tn+"-track",On=kn+"-off",An=Tn+"-handle",Ln=An+"-off",Cn=Tn+"-unusable",Nn=Tn+"-"+Ne+V,Dn=Tn+"-corner",$e=Dn+"-resize",Ge=$e+"-both",Je=$e+X,Ke=$e+Y,Hn=Tn+X,Rn=Tn+Y,In="os-dragging",Qe="os-theme-none",Wn=[],_n={},Ze={},ni=42,jn=[];if(de.sleep=function(){ir=!0},de.update=function(n){var t,r,e=ot(n)==pt,i=e&&"+"==n.slice(-1);e?0===n.indexOf(Ne)?(t=function h(){if(ir||ne)return!1;var n=cr.attr(gt)||Ce,t=wi(n,y),r=cr.attr(yt)||Ce,e=wi(r,g),i=cr.attr(ki)||Ce,o=wi(i,x),a=cr.is(":visible")||Ce,u=wi(a,S),f=Pt&&fr.attr("rows")||Ce,c=wi(f,z),l=Pt&&fr.attr("cols")||Ce,s=wi(l,T),v=Pt&&fr.attr("wrap")||Ce,d=wi(v,k);return y=n,e&&(e=$n(g,r)),g=r,x=i,S=a,z=f,T=l,k=v,t||e||o||u||c||s||d}(),r=function c(){if(ir)return!1;var n,t=Pt&&Tr&&!Ur?fr.val().length:0,r=!ne&&Tr&&!Pt,e={},i={};Bt&&(e={x:hr[0][Di],y:hr[0][Li]}),r&&(n=pr.css(Le),i[Le]=er?xe:ze,i[Oe]=Ne,pr.css(i));var o={w:pi()[Di]+t,h:pi()[Li]+t};r&&(i[Le]=n,i[Oe]=He,pr.css(i));var a=oi(),u=yi(o,O),f=yi(e,L,Re,Ie);return O=o,L=e,u||a||f}(),(t||r||i)&&ui(!1,r,!1,i)):"zoom"===n&&ui(!0,!0):(n=ir||n,ui(ir=!1,!1,n,!0)),Pt||pr.find("img").each(function(n,t){-1===Hi.inA(t,jn)&&Ii(t).off("load",Pn).on("load",Pn)})},de.options=function(n,t){if(Ii.isEmptyObject(n)||!Ii.isPlainObject(n)){if(ot(n)!=pt)return o;if(1<arguments.length){var r={};return function f(n,t,r){for(var e=t.split(q),i=e.length,o=0,a={},u=a;o<i;o++)a=a[e[o]]=o+1<i?{}:r;Ii.extend(n,u,!0)}(r,n,t),Gn(r),void ui()}return it(o,n)}Gn(n);var e=ir||!1;ir=!1,ui(),ir=e},de.destroy=function(){for(var n in Yt=!0,_t.remove(de),ei(),Un(sr),Jt&&Un(lr),_n)de.removeExt(n);ii(!0),Kn(!0),vr&&at(vr),br&&at(br),Jt&&at(lr),Qn(!0),tt(!0),Jn(!0);for(var t=0;t<jn[xt];t++)Ii(jn[t]).off("load",Pn);for(var r in jn=Ti,Tt(e,0),di("onDestroyed"),de)delete de[r];de=Ti},de.scroll=function(n,t,r,e){if(0===arguments.length||n===Ti){var i=sn,o=vn,a=Pr&&er&&Mt.i,u=Pr&&er&&Mt.n,f=i.cs,c=i.csr,l=i.ms;return f=a?l-f:f,{x:{position:f*=u?-1:1,ratio:c=a?1-c:c,max:l*=u?-1:1,handleOffset:i.ho,handleLength:i.hl,handleLengthRatio:i.hlr,trackLength:i.tl,isRTL:er,isRTLNormalized:Pr},y:{position:o.cs,ratio:o.csr,max:o.ms,handleOffset:o.ho,handleLength:o.hl,handleLengthRatio:o.hlr,trackLength:o.tl},position:{x:f,y:o.cs},ratio:{x:c,y:o.csr},max:{x:l,y:o.ms},handleOffset:{x:i.ho,y:o.ho},handleLength:{x:i.hl,y:o.hl},handleLengthRatio:{x:i.hlr,y:o.hlr},trackLength:{x:i.tl,y:o.tl},isRTL:er,isRTLNormalized:Pr}}var w,s,v,d,h,y,g,b,p,x=Pr,m=[Re,ze,"l"],S=[Ie,ge,"t"],z=["+=","-=","*=","/="],T=ot(t)==dt,k=T?t.complete:e,O={},A={},L="begin",C="nearest",N="never",D="ifneeded",H=xt,R=[Re,Ie,"xy","yx"],I=[L,"end","center",C],W=["always",N,D],_=n.hasOwnProperty("el"),j=_?n.el:n,F=!!(j instanceof Ii||zt)&&j instanceof zt,M=!F&&rt(j),U=ot(k)!=ht?Ti:function(){s&&si(!0),v&&si(!1),k()},E=function(n,t){for(w=0;w<t[H];w++)if(n===t[w])return!0;return!1},V=function(n,t){var r=n?m:S;if(ot(t=ot(t)==pt||ot(t)==wt?[t,t]:t)==bt)return n?t[0]:t[1];if(ot(t)==dt)for(x=ot(t.n)==mt?t.n:x,w=0;w<r[H];w++)if(r[w]in t)return t[r[w]]},q=function(n,t){var r,e,i=ot(t)==pt;i&&de.update(Ne+"+");var o,a=n?sn:vn,u=a.cs,f=a.ms,c=er&&n,l=c&&Mt.n&&!x,s="replace",v=eval;if(i){if(2<t[H]){var d=t.substr(0,2);for(w=0;w<z[H];w++)if(d===z[w]){r=z[w];break}}e=bi(bi(v(t=(t=(t=(t=(t=(t=(t=(t=(t=r!==Ti?t.substr(2):t)[s](/min/g,0))[s](/</g,0))[s](/max/g,(l?"-":Ce)+He))[s](/>/g,(l?"-":Ce)+He))[s](/px/g,Ce))[s](/%/g," * "+f*(c&&Mt.n?-1:1)/100))[s](/vw/g," * "+be.w))[s](/vh/g," * "+be.h)),!0).toFixed())}else e=t;if(e!==Ti&&!isNaN(e)&&ot(e)==wt){var h=x&&c,b=u*(h&&Mt.n?-1:1),p=h&&Mt.i,m=h&&Mt.n;switch(b=p?f-b:b,r){case"+=":o=b+e;break;case"-=":o=b-e;break;case"*=":o=b*e;break;case"/=":o=b/e;break;default:o=e}o=p?f-o:o,o*=m?-1:1,o=c&&Mt.n?Ri.min(0,Ri.max(f,o)):Ri.max(0,Ri.min(f,o))}return o===u?Ti:o},B=function(n,t,r,e){var i,o,a=[r,r],u=ot(n);if(u==t)n=[n,n];else if(u==bt){if(2<(i=n[H])||i<1)n=a;else for(1===i&&(n[1]=r),w=0;w<i;w++)if(ot(o=n[w])!=t||!E(o,e)){n=a;break}}else n=u==dt?[n[Re]||r,n[Ie]||r]:a;return{x:n[0],y:n[1]}},X=function(n){var t,r,e=[],i=[ge,xe,Se,ze];for(w=0;w<n[H]&&w!==i[H];w++)(r=ot(t=n[w]))==mt?e.push(t?bi(p.css(me+i[w])):0):e.push(r==wt?t:0);return e};if(F||M){var Y,P=_?n.margin:0,$=_?n.axis:0,G=_?n.scroll:0,J=_?n.block:0,K=[0,0,0,0],Q=ot(P);if(0===(p=F?j:Ii(j))[H])return;de.update(Ne+"+"),P=Q==wt||Q==mt?X([P,P,P,P]):Q==bt?2===(Y=P[H])?X([P[0],P[1],P[0],P[1]]):4<=Y?X(P):K:Q==dt?X([P[ge],P[xe],P[Se],P[ze]]):K,h=E($,R)?$:"xy",y=B(G,pt,"always",W),g=B(J,pt,L,I),b=P;var Z=sn.cs,nn=vn.cs,tn=dr.offset(),rn=p.offset(),en={x:y.x==N||h==Ie,y:y.y==N||h==Re};rn[ge]-=b[0],rn[ze]-=b[3];var on={x:Ri.round(rn[ze]-tn[ze]+Z),y:Ri.round(rn[ge]-tn[ge]+nn)};if(er&&(Mt.n||Mt.i||(on.x=Ri.round(tn[ze]-rn[ze]+Z)),Mt.n&&x&&(on.x*=-1),Mt.i&&x&&(on.x=Ri.round(tn[ze]-rn[ze]+(sn.ms-Z)))),g.x!=L||g.y!=L||y.x==D||y.y==D||er){var an=p[0],un=ln?an.getBoundingClientRect():{width:an[Ci],height:an[Oi]},fn={w:un[Oe]+b[3]+b[1],h:un[Ae]+b[0]+b[2]},cn=function(n){var t=nt(n),r=t.o,e=t.lt,i=t.xy,o=g[i]==(n&&er?L:"end"),a="center"==g[i],u=g[i]==C,f=y[i]==N,c=y[i]==D,l=be[r],s=tn[e],v=fn[r],d=rn[e],h=a?2:1,b=d+v/2,p=s+l/2,m=v<=l&&s<=d&&d+v<=s+l;f?en[i]=!0:en[i]||((u||c)&&(en[i]=!!c&&m,o=v<l?p<b:b<p),on[i]-=o||a?(l/h-v/h)*(n&&er&&x?-1:1):0)};cn(!0),cn(!1)}en.y&&delete on.y,en.x&&delete on.x,n=on}O[_e]=q(!0,V(!0,n)),O[je]=q(!1,V(!1,n)),s=O[_e]!==Ti,v=O[je]!==Ti,(s||v)&&(0<t||T)?T?(t.complete=U,hr.animate(O,t)):(d={duration:t,complete:U},ot(r)==bt||Ii.isPlainObject(r)?(A[_e]=r[0]||r.x,A[je]=r[1]||r.y,d.specialEasing=A):d.easing=r,hr.animate(O,d)):(s&&hr[_e](O[_e]),v&&hr[je](O[je]))},de.scrollStop=function(n,t,r){return hr.stop(n,t,r),de},de.getElements=function(n){var t={target:fr[0],host:cr[0],padding:dr[0],viewport:hr[0],content:pr[0],scrollbarHorizontal:{scrollbar:a[0],track:f[0],handle:s[0]},scrollbarVertical:{scrollbar:p[0],track:m[0],handle:w[0]},scrollbarCorner:wr[0]};return ot(n)==pt?it(t,n):t},de.getState=function(n){var t=function(n){if(!Ii.isPlainObject(n))return n;var r=xi(!0,{},n),t=function(n,t){r.hasOwnProperty(n)&&(r[t]=r[n],delete r[n])};return t("w",Oe),t("h",Ae),delete r.c,r},r={sleeping:t(ir)||!1,autoUpdate:t(!ne),widthAuto:t(Tr),heightAuto:t(kr),padding:t(Lr),overflowAmount:t(_r),hideOverflow:t(zr),hasOverflow:t(Sr),contentScrollSize:t(gr),viewportSize:t(be),hostSize:t(yr),documentMixed:t(h)};return ot(n)==pt?it(r,n):r},de.ext=function(n){var t,r="added removed on contract".split(" "),e=0;if(ot(n)==pt){if(_n.hasOwnProperty(n))for(t=xi(!0,{},_n[n]);e<r.length;e++)delete t[r[e]]}else for(e in t={},_n)t[e]=xi(!0,{},de.ext(e));return t},de.addExt=function(n,t){var r,e,i,o,a=lt[vt].extension(n),u=!0;if(a){if(_n.hasOwnProperty(n))return de.ext(n);if((r=a.extensionFactory.call(de,xi(!0,{},a.defaultOptions),Ii,Hi))&&(ot(i=r.contract)==ht&&(u=ot(o=i(lt))==mt?o:u),u))return ot(e=(_n[n]=r).added)==ht&&e(t),de.ext(n)}else console.warn('A extension with the name "'+n+"\" isn't registered.")},de.removeExt=function(n){var t,r=_n[n];return!!r&&(delete _n[n],ot(t=r.removed)==ht&&t(),!0)},function ft(n,t,r){return i=Wt.defaultOptions,Et=Wt.nativeScrollbarStyling,qt=xi(!0,{},Wt.nativeScrollbarSize),jt=xi(!0,{},Wt.nativeScrollbarIsOverlaid),Ft=xi(!0,{},Wt.overlayScrollbarDummySize),Mt=xi(!0,{},Wt.rtlScrollBehavior),Gn(xi(!0,{},i,ct.v(t,ct.t,!0))),jt.x&&jt.x&&!or.nativeScrollbarsOverlaid.initialize?(di("onInitializationWithdrawn"),!1):(Vt=Wt.cssCalc,C=Wt.msie,Ut=Wt.autoUpdateRecommended,v=Wt.supportTransition,ln=Wt.supportTransform,d=Wt.supportPassiveEvents,N=Wt.supportResizeObserver,c=Wt.supportMutationObserver,Bt=Wt.restrictedMeasuring,D=Ii(n.ownerDocument),b=Ii(D[0].defaultView||D[0].parentWindow),l=ut(D,"html"),H=ut(l,"body"),fr=Ii(n),Pt=fr.is("textarea"),$t=fr.is("body"),h=D[0]!==st,$t&&((e={}).l=Ri.max(fr[_e](),l[_e](),b[_e]()),e.t=Ri.max(fr[je](),l[je](),b[je]())),Jn(),Kn(),Qn(),Zn(!0),Zn(!1),tt(),function f(){var t=b.top!==b,e={},i={};function r(n){if(a(n)){var t=u(n),r={};(le||ce)&&(r[Oe]=i.w+t.x-e.x),(se||ce)&&(r[Ae]=i.h+t.y-e.y),cr.css(r),Hi.stpP(n)}else o(n)}function o(n){var t=n!==Ti;D.off(Z,Yn).off($,r).off(P,o),zi(H,In),wr.releaseCapture&&wr.releaseCapture(),t&&(U&&ri(),de.update(Ne)),U=!1}function a(n){var t=(n.originalEvent||n).touches!==Ti;return!ir&&!Yt&&(1===Hi.mBtn(n)||t)}function u(n){return C&&t?{x:n.screenX,y:n.screenY}:Hi.page(n)}ve=function(n){a(n)&&(ne&&(U=!0,ei()),e=u(n),i.w=cr[0][Ci]-(Gt?0:Kt),i.h=cr[0][Oi]-(Gt?0:Qt),D.on(Z,Yn).on($,r).on(P,o),Si(H,In),wr.setCapture&&wr.setCapture(),Hi.prvD(n),Hi.stpP(n))}}(),En(),$t&&(hr[_e](e.l)[je](e.t),st.activeElement==n&&hr[0].focus&&(hr.attr("tabindex","-1"),hr[0].focus(),hr.one(Fe,function(){hr.removeAttr("tabindex")}))),ti(sr,Vn),Vn(),de.update(Ne),Xt=!0,di("onInitialized"),Ii.each(Wn,function(n,t){di(t.n,t.a)}),Wn=[],ot(r)==pt&&(r=[r]),Hi.isA(r)?Ii.each(r,function(n,t){de.addExt(t)}):Ii.isPlainObject(r)&&Ii.each(r,function(n,t){de.addExt(n,t)}),setTimeout(function(){v&&!Yt&&Si(cr,cn)},333),Xt);var e}(e,n,t))return Tt(e,de),de;de=Ti}function Fn(n,t,r){for(var e=t.split(We),i=0;i<e.length;i++)n[0].addEventListener(e[i],r,{passive:!0})}function Mn(n,t,r){for(var e=t.split(We),i=0;i<e.length;i++)n[0].removeEventListener(e[i],r,{passive:!0})}function ti(i,n){var o=3333333,t=Hi.rO(),r="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart",e="childNodes",a=function(){i[je](o)[_e](er?Mt.n?-o:Mt.i?0:o:o),n()};if(N){var u=i.append(mi(gn+" observed")).contents()[0];(u[tn]=new t(a)).observe(u)}else if(9<C||!Ut){i.prepend(mi(gn,mi({className:xn,dir:"ltr"},mi(xn,mi(Sn))+mi(xn,mi({className:Sn,style:"width: 200%; height: 200%"})))));var f,c,l,s,v=i[0][e][0][e][0],d=Ii(v[e][1]),h=Ii(v[e][0]),b=Ii(h[0][e][0]),p=v[Ci],m=v[Oi],w=Wt.nativeScrollbarSize,y=function(){h[_e](o)[je](o),d[_e](o)[je](o)},g=function(){c=0,f&&(p=l,m=s,a())},x=function(n){return l=v[Ci],s=v[Oi],f=l!=p||s!=m,n&&f&&!c?(Hi.cAF()(c),c=Hi.rAF()(g)):n||g(),y(),n&&(Hi.prvD(n),Hi.stpP(n)),!1},S={},z={};z[ge]=-2*(w.y+1),z[xe]=-2*w.x,z[Se]=-2*w.y,z[ze]=-2*(w.x+1),Ii(v).css(z),h.on(De,x),d.on(De,x),i.on(r,function(){x(!1)}),S[Oe]=o,S[Ae]=o,b.css(S),y()}else{var T=D[0],k=T.attachEvent,O=C!==Ti;if(k)i.prepend(mi(gn)),ut(i,q+gn)[0].attachEvent("onresize",a);else{var A=T.createElement(dt);A.setAttribute("tabindex","-1"),A.setAttribute(yt,gn),A.onload=function(){var n=this.contentDocument.defaultView;n.addEventListener("resize",a),n.document.documentElement.style.display="none"},A.type="text/html",O&&i.prepend(A),A.data="about:blank",O||i.prepend(A),i.on(r,a)}}if(i[0]===sr[0]){var L=function(){var n=cr.css("direction"),t={},r=0,e=!1;return n!==R&&(r="ltr"===n?(t[ze]=0,t[xe]=Ne,o):(t[ze]=Ne,t[xe]=0,Mt.n?-o:Mt.i?0:o),sr.children().eq(0).css(t),i[_e](r)[je](o),R=n,e=!0),e};L(),i.on(De,function(n){return L()&&ui(),Hi.prvD(n),Hi.stpP(n),!1})}}function Un(n){if(N){var t=n.contents()[0];t[tn].disconnect(),delete t[tn]}else at(n.children(q+gn).eq(0))}function En(){if(c){var e,i,r,o,a,u,n=Hi.mO(),f=Hi.now();I=new n(function(n){if(Xt&&!ir){var t,r=!1;Ii.each(n,function(){if(e=(t=this).target,i=t.attributeName,r=i===yt?$n(t.oldValue,e.className):i!==ki||t.oldValue!==e[ki].cssText)return!1}),r&&de.update(Ne)}}),W=new n(function(n){if(Xt&&!ir){var t=!1;Ii.each(n,function(){return!(t=function o(n){var t=n.attributeName,r=n.target,e=n.type,i="closest";if(r===pr[0])return null===t;if("attributes"===e&&(t===yt||t===ki)&&!Pt){if(t===yt&&Ii(r).hasClass(on))return $n(n.oldValue,r.getAttribute(yt));if(typeof r[i]!=ht)return!0;if(null!==r[i](q+gn)||null!==r[i](q+Tn)||null!==r[i](q+Dn))return!1}return!0}(this))}),t&&(o=Hi.now(),a=kr||Tr,u=function(){Yt||(f=o,Pt&&ai(),a?ui():de.update(Ne))},clearTimeout(r),11<o-f||!a?u():r=setTimeout(u,11))}})}}function ri(){c&&!ne&&(I.observe(cr[0],{attributes:!0,attributeOldValue:!0,attributeFilter:[gt,yt,ki]}),W.observe(Pt?fr[0]:pr[0],{attributes:!0,attributeOldValue:!0,subtree:!Pt,childList:!Pt,characterData:!Pt,attributeFilter:Pt?["wrap","cols","rows"]:[gt,yt,ki]}),ne=!0)}function ei(){c&&ne&&(I.disconnect(),W.disconnect(),ne=!1)}function Vn(){if(!ir){var n=sr[0],t={w:n[Di],h:n[Li]};if(Xt){var r=yi(t,A);A=t,r&&ui(!0,!1)}else A=t}}function qn(){ae&&ci(!0)}function Bn(){ae&&!H.hasClass(In)&&ci(!1)}function Xn(){oe&&(ci(!0),clearTimeout(F),F=setTimeout(function(){oe&&!Yt&&ci(!1)},100))}function ii(n){var e=n?Mn:Fn,i=n?"off":"on",t=function(n,t,r){d?e(n,t,r):n[i](t,r)};oe&&!n?t(cr,$,Xn):(n&&t(cr,$,Xn),t(cr,G,qn),t(cr,J,Bn)),Xt||n||cr.one("mouseover",qn)}function Yn(n){return Hi.prvD(n),!1}function Pn(){ui(!1,!0)}function oi(){var n={};return $t&&br&&(n.w=bi(br.css(Te+Oe)),n.h=bi(br.css(Te+Ae)),n.c=yi(n,Qr),n.f=!0),(Qr=n).c||!1}function $n(n,t){var r=t!==Ti&&null!==t?t.split(We):Ce,e=n!==Ti&&null!==n?n.split(We):Ce;if(r===Ce&&e===Ce)return!1;var i,o,a,u,f,c=function h(n,t){var r,e,i=[],o=[];for(r=0;r<n.length;r++)i[n[r]]=!0;for(r=0;r<t.length;r++)i[t[r]]?delete i[t[r]]:i[t[r]]=!0;for(e in i)o.push(e);return o}(e,r),l=!1,s=Gr!==Ti&&null!==Gr?Gr.split(We):[Ce],v=$r!==Ti&&null!==$r?$r.split(We):[Ce],d=Ii.inArray(Qe,c);for(-1<d&&c.splice(d,1),o=0;o<c.length;o++)if(0!==(i=c[o]).indexOf(on)){for(f=u=!0,a=0;a<s.length;a++)if(i===s[a]){u=!1;break}for(a=0;a<v.length;a++)if(i===v[a]){f=!1;break}if(u&&f){l=!0;break}}return l}function ai(){if(!ir){var n,t,r,e,i=!Ur,o=be.w,a=be.h,u={},f=Tr||i,c=fr[0];return u[Te+Oe]=Ce,u[Te+Ae]=Ce,u[Oe]=Ne,fr.css(u),n=c[Ci],t=f?Ri.max(n,c[Di]-1):1,u[Oe]=Tr?Ne:He,u[Te+Oe]=He,u[Ae]=Ne,fr.css(u),r=c[Oi],e=Ri.max(r,c[Li]-1),u[Oe]=t,u[Ae]=e,mr.css(u),u[Te+Oe]=o,u[Te+Ae]=a,fr.css(u),{ow:n,oh:r,dw:t,dh:e}}}function ui(n,t,r,e){var i=Hi.now(),o=0<ni&&Xt&&i-ar<ni&&!kr&&!Tr&&!e,a=cr.is(":hidden"),u=wi(a,Zr,r);if(Zr=a,clearTimeout(ur),o&&(Ze.h=Ze.h||n,Ze.c=Ze.c||t,Ze.f=Ze.f||r,ur=setTimeout(ui,ni)),!(Yt||o||ir||Xt&&!r&&a||"inline"===cr.css("display"))){ar=i,n=n||Ze.h,t=t||Ze.c,r=r||Ze.f,Ze={},n=n!==Ti&&n,t=t!==Ti&&t,r=r!==Ti&&r,!Et||jt.x&&jt.y?qt=xi(!0,{},Wt.nativeScrollbarSize):(qt.x=0,qt.y=0),pe={x:3*(qt.x+(jt.x?0:3)),y:3*(qt.y+(jt.y?0:3))};var f={l:hr[_e](),t:hr[je]()},c=or.scrollbars,l=or.textarea,s=c.visibility,v=wi(s,Vr,r),d=c.autoHide,h=wi(d,qr,r),b=c.clickScrolling,p=wi(b,Br,r),m=c.dragScrolling,w=wi(m,Xr,r),y=or.className,g=wi(y,$r,r),x=or.resize,S=wi(x,Yr,r)&&!$t,z=!!Pt&&"off"!==fr.attr("wrap"),T=wi(z,Ur,r),k=or.paddingAbsolute,O=wi(k,Hr,r),A=or.clipAlways,L=wi(A,Rr,r),C=or.sizeAutoCapable&&!$t,N=wi(C,Mr,r),D=or.nativeScrollbarsOverlaid.showNativeScrollbars,H=wi(D,jr),R=or.autoUpdate,I=wi(R,Fr),W=or.overflowBehavior,_=yi(W,Wr,Re,Ie,r),j=l.dynWidth,F=wi(Kr,j),M=l.dynHeight,U=wi(Jr,M);if(ee="n"===d,ie="s"===d,oe="m"===d,ae="l"===d,re=c.autoHideDelay,ue=c.touchSupport,Gr=$r,fe="n"===x,ce="b"===x,le="h"===x,se="v"===x,Pr=or.normalizeRTL,D=D&&jt.x&&jt.y,Vr=s,qr=d,Br=b,Xr=m,$r=y,Yr=x,Ur=z,Hr=k,Rr=A,Mr=C,jr=D,Fr=R,Wr=xi(!0,{},W),Kr=j,Jr=M,Sr=Sr||{x:!1,y:!1},g&&(zi(cr,Gr+We+Qe),Si(cr,y!==Ti&&null!==y&&0<y.length?y:Qe)),I&&(!0===R?(ei(),_t.add(de)):null===R&&Ut?(ei(),_t.add(de)):(_t.remove(de),ri())),N)if(C)if(vr?vr.show():(vr=Ii(mi(Ye)),dr.before(vr)),Jt)lr.show();else{lr=Ii(mi(Pe)),vr.before(lr);var E={w:-1,h:-1};ti(lr,function(){var n={w:lr[0][Ci],h:lr[0][Oi]};yi(n,E)&&(Xt&&kr&&0<n.h||Tr&&0<n.w?ui():(Xt&&!kr&&0===n.h||!Tr&&0===n.w)&&ui()),E=n}),Jt=!0,null!==Vt&&lr.css(Ae,Vt+"(100% + 1px)")}else Jt&&lr.hide(),vr&&vr.hide();r&&(sr.find("*").trigger(De),Jt&&lr.find("*").trigger(De));var V,q=cr.css("direction"),B=wi(q,Dr,r),X=cr.css("box-sizing"),Y=wi(X,Ar,r),P={c:r,t:bi(cr.css(we+ge)),r:bi(cr.css(we+xe)),b:bi(cr.css(we+Se)),l:bi(cr.css(we+ze))};try{V=Jt?lr[0].getBoundingClientRect():null}catch(Rt){return}Gt="border-box"===X;var $=(er="rtl"===q)?ze:xe,G=er?xe:ze,J=cr[0],K=dr[0],Q=!1,Z=!(!Jt||"none"===cr.css(Le))&&(0===Ri.round(V.right-V.left)&&(!!k||0<J[Ni]-Kt));if(C&&!Z){var nn=J[Ci],tn=vr.css(Oe);vr.css(Oe,Ne);var rn=J[Ci];vr.css(Oe,tn),(Q=nn!==rn)||(vr.css(Oe,nn+1),rn=J[Ci],vr.css(Oe,tn),Q=nn!==rn)}var en=(Z||Q)&&C&&!a,on=wi(en,Tr,r),an=!en&&Tr,un=!(!Jt||!C||a)&&0===Ri.round(V.bottom-V.top),fn=wi(un,kr,r),cn=!un&&kr,ln="-"+Oe,sn=en&&Gt||!Gt,vn=un&&Gt||!Gt,dn={c:r,t:vn?bi(cr.css(ye+ge+ln),!0):0,r:sn?bi(cr.css(ye+xe+ln),!0):0,b:vn?bi(cr.css(ye+Se+ln),!0):0,l:sn?bi(cr.css(ye+ze+ln),!0):0},hn={c:r,t:bi(cr.css(me+ge)),r:bi(cr.css(me+xe)),b:bi(cr.css(me+Se)),l:bi(cr.css(me+ze))},bn={h:String(cr.css(ke+Ae)),w:String(cr.css(ke+Oe))},pn={},mn={},wn=function(){return{w:J[Ni],h:J[Ai]}},yn=function(){var n=K.getBoundingClientRect();return n[Oe]?{w:n[Oe],h:n[Ae]}:{w:K[Ci],h:K[Oi]}};if(Kt=P.l+P.r,Qt=P.t+P.b,P.ax=k?Kt:0,P.ay=k?Qt:0,P.c=gi(P,Lr),Zt=dn.l+dn.r,nr=dn.t+dn.b,dn.c=gi(dn,Cr),tr=hn.l+hn.r,rr=hn.t+hn.b,hn.c=gi(hn,Nr),bn.ih=bi(bn.h),bn.iw=bi(bn.w),bn.ch=-1<bn.h.indexOf("px"),bn.cw=-1<bn.w.indexOf("px"),bn.c=yi(bn,Or,r),Dr=q,Ar=X,Tr=en,kr=un,Lr=P,Cr=dn,Nr=hn,Or=bn,B&&Jt&&lr.css(Le,G),P.c||B||O||on||fn||Y||N){var gn={},xn={};hi(mn,me,[-P.t,-P.r,-P.b,-P.l]),k?(hi(gn,Ce,[P.t,P.r,P.b,P.l]),hi(Pt?xn:pn,we)):(hi(gn,Ce),hi(Pt?xn:pn,we,[P.t,P.r,P.b,P.l])),dr.css(gn),fr.css(xn)}be=yn();var Sn=!!Pt&&ai();if(un&&(fn||O||Y||bn.c||P.c||dn.c)?(bn.cw&&(pn[ke+Ae]=bn.ch?bn.ih-P.ay+(Gt?-nr:Qt):Ce),pn[Ae]=Ne):(fn||O)&&(pn[ke+Ae]=Ce,pn[Ae]=He),en&&(on||O||Y||bn.c||P.c||dn.c||B)?(bn.cw&&(pn[ke+Oe]=bn.cw?bn.iw-P.ax+(Gt?-Zt:Kt)+(jt.y?Ft.y:0):Ce),pn[Oe]=Ne,mn[ke+Oe]=He):(on||O)&&(pn[ke+Oe]=Ce,pn[Oe]=He,pn[Le]=Ce,mn[ke+Oe]=Ce),en?(bn.cw||(pn[ke+Oe]=Ce),mn[Oe]=Pt&&j?Sn.dw:Ne,pn[Oe]=Ne,pn[Le]=G):mn[Oe]=Ce,mn[Ae]=un?(bn.ch||(pn[ke+Ae]=Ce),Pt?M?Sn.dh:Ne:pr[0][Ai]):Ce,C&&vr.css(mn),pr.css(pn),pn={},mn={},n||t||B||Y||O||on||en||fn||un||bn.c||H||_||L||S||v||h||w||p||F||U||T||r){var zn="overflow",Tn=zn+"-x",kn=zn+"-y",On=Bt?jt.x||jt.y||be.w<pe.y||be.h<pe.x||un||u:un,An={},Ln=Sr.y&&zr.ys&&!D?jt.y?hr.css($):-qt.y:0,Cn=Sr.x&&zr.xs&&!D?jt.x?hr.css(Se):-qt.x:0;hi(An,Ce),hr.css(An),On&&pr.css(zn,"hidden");var Nn=pi(),Dn=Bt&&!On?hr[0]:Nn,Hn={w:Nn[Ni],h:Nn[Ai]},Rn={w:Ri.max(Nn[Di],Dn[Di]),h:Ri.max(Nn[Li],Dn[Li])},In=Pt&&Sn&&!j?Sn.ow:en?Hn.w:Rn.w,Wn=Pt&&Sn&&!M?Sn.oh:un?Hn.h:Rn.h;An[Se]=cn?Ce:Cn,An[$]=an?Ce:Ln,hr.css(An),be=yn();var _n=wn(),jn={w:Ri.max(In+P.ax,_n.w-Kt),h:Ri.max(Wn+P.ay,_n.h-Qt)};if(jn.c=yi(jn,Ir,r),Ir=jn,C){(jn.c||un||en)&&(mn[Oe]=jn.w,mn[Ae]=jn.h);var Fn=mn[Oe]+(Gt?Zt:-Kt),Mn=mn[Ae]+(Gt?nr:-Qt),Un={};(!en||!en&&dn.c)&&(mn[Oe]=_n.w-(Gt?0:Kt+Zt)-1-tr),(!un||!un&&dn.c)&&(mn[Ae]=_n.h-(Gt?0:Qt+nr)-1-rr),en&&bn.cw&&bn.iw===Fn&&(mn[Oe]=Fn+(Gt?0:Kt)+1),un&&bn.ch&&bn.ih===Mn&&(mn[Ae]=Mn+(Gt?0:Qt)+1),en&&(Hn.w<be.w||Pt&&!z)&&0===Kt&&(Pt&&(Un[Oe]=bi(mr.css(Oe))-1),mn[Oe]-=1),un&&(Hn.h<be.h||Pt)&&0===Qt&&(Pt&&(Un[Ae]=bi(mr.css(Ae))-1),mn[Ae]-=1),0<Wn&&(mn[Oe]=Ri.max(1,mn[Oe]),mn[Ae]=Ri.max(1,mn[Ae])),Pt&&mr.css(Un),vr.css(mn)}en&&(pn[Oe]=He),!en||Gt||ne||(pn[Le]="none"),pr.css(pn),pn={};var En=Nn.getBoundingClientRect(),Vn=En[Oe]||0,qn=En[Ae]||0,Bn={w:Ri.max(Nn[Di],Dn[Di])+bi(Vn)-Vn,h:Ri.max(Nn[Li],Dn[Li])+bi(qn)-qn};Bn.c=t=yi(Bn,gr,r),gr=Bn,On&&pr.css(zn,Ce),be=yn(),n=yi(_n=wn(),yr),yr=_n;var Xn={x:"v-s"===W.x,y:"v-s"===W.y},Yn="v-h"===W.x,Pn="v-h"===W.y,$n={x:"s"===W.x,y:"s"===W.y},Gn={x:Ri.max(0,Ri.round(100*(Bn.w-be.w))/100),y:Ri.max(0,Ri.round(100*(Bn.h-be.h))/100)},Jn=Pt&&(0===be.w||0===be.h),Kn=0===hr[0].scrollLeftMax&&0<Gn.x&&Gn.x<1||0===hr[0].scrollTopMax&&0<Gn.y&&Gn.y<1;(Jn||Kn)&&(Gn.x=Gn.y=0);var Qn={x:0<Gn.x,y:0<Gn.y},Zn={x:Qn.x,y:Qn.y};(Xn.x||Yn)&&(Zn.x=Qn.y&&!Xn.y&&!Pn),(Xn.y||Pn)&&(Zn.y=Qn.x&&!Xn.x&&!Yn),Zn.xs=!!Zn.x&&($n.x||Xn.x),Zn.ys=!!Zn.y&&($n.y||Xn.y);var nt={x:Qn.x&&Zn.xs,y:Qn.y&&Zn.ys},tt=_r;if(Gn.c=yi(Gn,_r,Re,Ie,r),_r=Gn,Qn.c=yi(Qn,Sr,Re,Ie,r),Sr=Qn,Zn.c=yi(Zn,zr,Re,Ie,r),zr=Zn,jt.x||jt.y){var rt="px solid transparent",et={},it={},ot=r;(Qn.x||Qn.y)&&(it.w=jt.y&&Qn.y?Bn.w+Ft.y:Ce,it.h=jt.x&&Qn.x?Bn.h+Ft.x:Ce,ot=wi(it,xr,r),xr=it),(Qn.c||Zn.c||Bn.c||B||on||fn||en||un||H)&&(pn[me+G]=pn[ye+G]=Ce,jt.x&&Qn.x&&Zn.xs?(pn[me+Se]=un?D?Ce:Ft.x:Ce,pn[ye+Se]=un||D?Ce:Ft.x+rt):(it.h=pn[me+Se]=pn[ye+Se]=Ce,ot=!0),jt.y&&Qn.y&&Zn.ys?(pn[me+$]=en?D?Ce:Ft.y:Ce,pn[ye+$]=D?Ce:Ft.y+rt):(it.w=pn[me+$]=pn[ye+$]=Ce,ot=!0)),D&&(it.w=it.h=Ce,ot=!0),ot&&(et[Oe]=Zn.y?it.w:Ce,et[Ae]=Zn.x?it.h:Ce,br||(br=Ii(mi(Xe)),hr.prepend(br)),br.css(et)),pr.css(pn)}var at={};gn={};if(n||Qn.c||Zn.c||Bn.c||_||Y||H||B||L||fn){at[G]=Ce;var ut=function(){at[Se]=Ce,he.h=0},ft=function(){at[$]=Ce,he.w=0};if(Qn.x&&Zn.xs?(at[Tn]=De,D?ut():(at[Se]=-(jt.x?Ft.x:qt.x),he.h=jt.x?Ft.y:0)):(at[Tn]=Ce,ut()),Qn.y&&Zn.ys?(at[kn]=De,D?ft():(at[$]=-(jt.y?Ft.y:qt.y),he.w=jt.y?Ft.x:0)):(at[kn]=Ce,ft()),(be.h<pe.x||be.w<pe.y)&&(Qn.x&&Zn.x&&!jt.x||Qn.y&&Zn.y&&!jt.y)?(at[we+ge]=pe.x,at[me+ge]=-pe.x,at[we+G]=pe.y,at[me+G]=-pe.y):at[we+ge]=at[me+ge]=at[we+G]=at[me+G]=Ce,at[we+$]=at[me+$]=Ce,Qn.x&&Zn.x||Qn.y&&Zn.y||Jn?Pt&&Jn&&(gn[Tn]=gn[kn]="hidden"):(!A||Yn||Xn.x||Pn||Xn.y)&&(Pt&&(gn[Tn]=gn[kn]=Ce),at[Tn]=at[kn]="visible"),dr.css(gn),hr.css(at),at={},(Qn.c||Y||on||fn)&&(!jt.x||!jt.y)){var ct=pr[0],lt=ct[ki];lt.webkitTransform="scale(1)",lt.display="run-in",ct[Oi],lt.display=Ce,lt.webkitTransform=Ce}}if(pn={},B||on||fn)if(er&&en){var st=pr.css(Le),vt=Ri.round(pr.css(Le,Ce).css(ze,Ce).position().left);pr.css(Le,st),vt!==Ri.round(pr.position().left)&&(pn[ze]=vt)}else pn[ze]=Ce;pr.css(pn);var dt,ht,bt="v"===s,pt="h"===s,mt="a"===s,wt=Hi.bind(fi,0,!0,!0,nt.x),yt=Hi.bind(fi,0,!1,!0,nt.y),gt=Hi.bind(fi,0,!0,!1,nt.x),xt=Hi.bind(fi,0,!1,!1,nt.y);if(Zn.x||Zn.y?Si(cr,Ve):zi(cr,Ve),Zn.x?Si(cr,qe):zi(cr,qe),Zn.y?Si(cr,Be):zi(cr,Be),B&&(er?Si(cr,Me):zi(cr,Me)),$t&&Si(cr,Ue),S){var St=function(){wr.off(Fe,ve)};fe?(Si(cr,Ue),zi(wr,[$e,Ge,Je,Ke].join(We)),St()):(zi(cr,Ue),Si(wr,$e),ce?Si(wr,Ge):le?Si(wr,Je):se&&Si(wr,Ke),St(),wr.on(Fe,ve))}if((v||_||Zn.c||Qn.c||H)&&(D?H&&(zi(cr,Ee),D&&(gt(),xt())):mt?(nt.x?wt():gt(),nt.y?yt():xt()):bt?(wt(),yt()):pt&&(gt(),xt())),(h||H)&&(ae||oe?(ii(!0),ii()):ii(!0),ee?ci(!0):ci(!1,!0)),(n||Gn.c||fn||on||S||Y||O||H||B)&&(li(!0),si(!0,f.l),li(!1),si(!1,f.t)),p&&vi(!0,b),w&&vi(!1,m),Pt&&t){var zt=function It(){var n=fr[0].selectionStart;if(n===Ti)return;var t,r,e="length",i=fr.val(),o=i[e],a=i.split("\n"),u=a[e],f=i.substr(0,n).split("\n"),c=0,l=0,s=f[e],v=f[f[e]-1][e];for(r=0;r<a[e];r++)t=a[r][e],l<t&&(c=r+1,l=t);return{cR:s,cC:v,r:u,c:l,w:c,p:n,m:o}}();if(zt){var Tt=Er===Ti||zt.rows!==Er.rows,kt=zt.cR,Ot=zt.cC,At=zt.w,Lt=zt.r,Ct=zt.c,Nt=zt.p,Dt=zt.m<=Nt&&te,Ht={x:z||Ot!==Ct||kt!==At?-1:_r.x,y:(z?Dt||Tt&&tt!==Ti&&f.t===tt.y:(Dt||Tt)&&kt===Lt)?_r.y:-1};dt=-1<Ht.x,(ht=-1<Ht.y)&&hr[je](Ht.y),dt&&(er&&Pr&&Mt.i?hr[_e](0):hr[_e](Ht.x))}Er=zt}er&&Mt.i&&jt.y&&Qn.x&&Pr&&(f.l+=he.w||0),dt||hr[_e](f.l),ht||hr[je](f.t),en&&cr[_e](0),un&&cr[je](0),B&&di("onDirectionChanged",{isRTL:er,dir:q}),n&&di("onHostSizeChanged",{width:yr.w,height:yr.h}),t&&di("onContentSizeChanged",{width:gr.w,height:gr.h}),(Qn.c||Zn.c)&&di("onOverflowChanged",{x:Qn.x,y:Qn.y,xScrollable:Zn.xs,yScrollable:Zn.ys,clipped:Zn.x||Zn.y}),Gn.c&&di("onOverflowAmountChanged",{x:Gn.x,y:Gn.y})}$t&&(Sr.c||Qr.c)&&(Qr.f||oi(),jt.y&&Sr.x&&pr.css(Te+Oe,Qr.w+Ft.y),jt.x&&Sr.y&&pr.css(Te+Ae,Qr.h+Ft.x),Qr.c=!1),di("onUpdated",{forced:r})}}function Gn(n){o=xi(!0,{},o,ct.v(n,ct.t,!0)),or=xi(!0,{},or,ct.v(n,ct.t,!1,!0))}function Jn(e){var n=or.textarea.inheritedAttrs,i={},t=function(){var r=e?fr:cr;Ii.each(i,function(n,t){ot(t)==pt&&(n==yt?r.addClass(t):r.attr(n,t))})},r=[on,an,Ue,Me,un,fn,cn,Ee,Ve,qe,Be,Qe,dn,zn,$r].join(We);if(ot(n=ot(n)==pt?n.split(" "):n)==bt&&Ii.each(n,function(n,t){ot(t)==pt&&(i[t]=e?cr.attr(t):fr.attr(t))}),e)pr.contents().unwrap().unwrap().unwrap(),zi(cr,r),Pt?(fr.removeAttr(ki),u&&t(),zi(fr,r),at(mr),u?(fr.unwrap(),at(cr)):Si(cr,an)):zi(fr,on),$t&&zi(l,en),at(sr);else{if(Pt){var o={},a=fr.parent();u=!(a.hasClass(an)&&1===a.children()[xt]),or.sizeAutoCapable||(o[Oe]=fr.css(Oe),o[Ae]=fr.css(Ae)),u&&fr.wrap(mi(an)),(cr=fr.parent()).css(o).wrapInner(mi(yn+We+zn)).wrapInner(mi(pn+We+zn)).wrapInner(mi(bn+We+zn)),pr=ut(cr,q+yn),hr=ut(cr,q+pn),dr=ut(cr,q+bn),mr=Ii(mi(hn)),pr.prepend(mr),Si(fr,dn+We+zn),u&&t()}else(cr=fr).wrapInner(mi(yn)).wrapInner(mi(pn)).wrapInner(mi(bn)),pr=ut(cr,q+yn),hr=ut(cr,q+pn),dr=ut(cr,q+bn),Si(fr,on);Et&&Si(hr,jt.x&&jt.y?wn:mn),$t&&Si(l,en),sr=Ii(mi("os-resize-observer-host")),cr.prepend(sr)}}function Kn(n){var r,t,e,i,o=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],a=[],u=n?"off":"on";!n&&Pt&&(e=function(n){ai(),de.update(Ne),n&&clearInterval(r)},(_={})[De]=function(n){return fr[_e](Mt.i&&Pr?9999999:0),fr[je](0),Hi.prvD(n),Hi.stpP(n),!1},_.drop=function(){setTimeout(function(){Yt||e()},50)},_.focus=function(){te=!0},_.focusout=function(){e(!(te=!(a=[])))},9<C||!Ut?_.input=function(){e()}:(_[K]=function(n){var t=n.keyCode;-1<Ii.inArray(t,o)||(a.length||(e(),r=setInterval(e,1e3/60)),-1===Ii.inArray(t,a)&&a.push(t))},_[Q]=function(n){var t=n.keyCode,r=Ii.inArray(t,a);-1<Ii.inArray(t,o)||(-1<r&&a.splice(r,1),a.length||e(!0))})),Pt?Ii.each(_,function(n,t){fr[u](n,t)}):pr[u](nn,function(n){!0!==Fr&&function s(n){if(!Xt)return!0;var t="flex-grow",r="flex-shrink",e="flex-basis",i=[Oe,Te+Oe,ke+Oe,me+ze,me+xe,ze,xe,"font-weight","word-spacing",t,r,e],o=[we+ze,we+xe,ye+ze+Oe,ye+xe+Oe],a=[Ae,Te+Ae,ke+Ae,me+ge,me+Se,ge,Se,"line-height",t,r,e],u=[we+ge,we+Se,ye+ge+Oe,ye+Se+Oe],f="s"===Wr.x||"v-s"===Wr.x,c=!1,l=function(n,t){for(var r=0;r<n.length;r++)if(n[r]===t)return!0;return!1};return("s"===Wr.y||"v-s"===Wr.y)&&((c=l(a,n))||Gt||(c=l(u,n))),f&&!c&&((c=l(i,n))||Gt||(c=l(o,n))),c}((n=n.originalEvent||n).propertyName)&&ui(Ne)}),n||(i=function(n){ir||(t!==Ti?clearTimeout(t):((ie||oe)&&ci(!0),et()||Si(cr,Ee),di("onScrollStart",n)),si(!0),si(!1),di("onScroll",n),t=setTimeout(function(){Yt||(clearTimeout(t),t=Ti,(ie||oe)&&ci(!1),et()||zi(cr,Ee),di("onScrollStop",n))},175))},d?Fn(hr,De,i):hr.on(De,i))}function Qn(n){n?(at(a),at(p)):(a=Ii(mi(Tn+We+Hn)),f=Ii(mi(kn)),s=Ii(mi(An)),p=Ii(mi(Tn+We+Rn)),m=Ii(mi(kn)),w=Ii(mi(An)),a.append(f),f.append(s),p.append(m),m.append(w),dr.after(p),dr.after(a))}function Zn(g){var i,x,S,z=nt(g),o=b.top!==b,T=z.xy,a=z.XY,k=De+z.LT,r="active",O=1,t=[16,17];function e(){O=.5}function u(){O=1}function f(n){-1<Ii.inArray(n.keyCode,t)&&e()}function c(n){-1<Ii.inArray(n.keyCode,t)&&u()}function l(n){var t=(n.originalEvent||n).touches!==Ti;return!(ir||Yt||et()||!Xr||t&&!ue)&&(1===Hi.mBtn(n)||t)}function s(n){if(l(n)){var t=z.i.tl,r=z.i.hl,e=z.i.ms*(((C&&o?n["screen"+a]:Hi.page(n)[T])-x)/(t-r));e=isFinite(e)?e:0,er&&g&&!Mt.i&&(e*=-1),hr[k](i+e),d||Hi.prvD(n)}else A(n)}function A(n){if(n=n||n.originalEvent,zi(H,In),zi(z.h,r),zi(z.t,r),zi(z.s,r),D.off($,s).off(P,A).off(K,f).off(Q,c).off(Z,Yn),u(),S!==(x=i=Ti)&&(de.scrollStop(),clearTimeout(S),S=Ti),n){var t=cr[0].getBoundingClientRect();n.clientX>=t.left&&n.clientX<=t.right&&n.clientY>=t.top&&n.clientY<=t.bottom||Bn(),(ie||oe)&&ci(!1)}}function L(n){i=(i=hr[k]())===Ti?0:i,(er&&g&&!Mt.n||!er)&&(i=i<0?0:i),x=C&&o?n["screen"+a]:Hi.page(n)[T],Si(H,In),Si(z.h,r),Si(z.s,r),D.on($,s).on(P,A).on(Z,Yn),!C&&h||Hi.prvD(n),Hi.stpP(n)}z.h.on(Fe,function(n){l(n)&&L(n)}),z.t.on(Fe,function(s){if(l(s)){var v,d,h=be[z.o],b=z.t.offset()[z.lt],n=s.ctrlKey,p=s.shiftKey,m=p&&n,w=!0,y=function(){if(!Yt){var n=x-b,t=z.i.tl,r=z.i.ho,e=z.i.hl,i=z.i.ms,o=270*O,a=w?Ri.max(400,o):o,u=i*((n-e/2)/(t-e)),f=er&&g&&(!Mt.i&&!Mt.n||Pr),c=f?r<n:n<r,l={};p?(u=isFinite(u)?u:0,er&&g&&!Mt.i&&(u=i-u),m?(l.n=!1,l[T]=u,de.scroll(l,130,"linear",function(){L(s)})):(hr[k](u),L(s))):(v=w?c:v,d=f?v?n<=r+e:r<=n:v?r<=n:n<=r+e,l[T]=v?"-="+h:"+="+h,de.scrollStop(),de.scroll(l,o,"linear"),S=d?(clearTimeout(S),de.scrollStop(),Ti):setTimeout(y,a),w=!1)}};n&&e(),x=Hi.page(s)[T],Si(H,In),Si(z.t,r),Si(z.s,r),D.on(P,A).on(K,f).on(Q,c).on(Z,Yn),y(),Hi.prvD(s),Hi.stpP(s)}}).on(G,function(){(ie||oe)&&ci(M=!0)}).on(J,function(){(ie||oe)&&ci(M=!1)}),z.s.on(Fe,function(n){Hi.stpP(n)}),v&&z.s.on(nn,function(n){n.target===z.s[0]&&(li(g),si(g))})}function fi(n,t,r){var e=n?un:fn,i=n?a:p;t?zi(cr,e):Si(cr,e),r?zi(i,Cn):Si(i,Cn)}function ci(n,t){if(clearTimeout(j),n)zi(a,Nn),zi(p,Nn);else{var r=function(){if(!M&&!Yt){var n=s.hasClass("active")||w.hasClass("active");!n&&(ie||oe||ae)&&Si(a,Nn),!n&&(ie||oe||ae)&&Si(p,Nn)}};0<re&&!0!==t?j=setTimeout(r,re):r()}}function li(n){var t={},r=nt(n),e=Ri.min(1,(yr[r.o]-(Hr?n?Kt:Qt:0))/gr[r.o]);t[r.wh]=Ri.floor(100*e*1e6)/1e6+"%",et()||r.h.css(t),r.i.hl=r.h[0]["offset"+r.WH],r.i.hlr=e}function si(n,t){t=t===Ti?n?hr[_e]():hr[je]():t;var r,e,i,o=er&&n,a={},u=nt(n),f="translate(",c="transform",l=hr[0][De+u.WH]-hr[0]["client"+u.WH],s=u.i.hl,v=u.t[0]["offset"+u.WH],d=v-s;Mt.n&&o&&(l*=-1),i=t/l,i=isNaN(i)?0:Ri.min(1,i),u.i.ms=l,u.i.cs=t,d*=u.i.csr=i,d=isNaN(d)?0:d,o&&!Mt.i&&(d=v-s-d),d=Ri.max(0,d),ln?(e=o?-(v-s-d):d,r=n?f+e+"px, 0)":f+"0, "+e+"px)",a["-webkit-"+c]=r,a["-moz-"+c]=r,a["-ms-"+c]=r,a["-o-"+c]=r,a[c]=r):a[u.lt]=d,et()||u.h.css(a),u.i.ho=d,u.i.tl=v}function vi(n,t){var r=t?"removeClass":"addClass",e=n?m:w,i=n?On:Ln;(n?f:s)[r](i),e[r](i)}function nt(n){return{wh:n?Oe:Ae,WH:n?"Width":"Height",lt:n?ze:ge,LT:n?"Left":"Top",xy:n?Re:Ie,XY:n?"X":"Y",o:n?"w":"h",u:n?"l":"t",t:n?f:m,h:n?s:w,s:n?a:p,i:n?sn:vn}}function tt(n){n?at(wr):(wr=Ii(mi(Dn)),cr.append(wr))}function di(n,t){if(Xt){var r,e=or.callbacks[n],i=n;"on"===i.substr(0,2)&&(i=i.substr(2,1).toLowerCase()+i.substr(3)),ot(e)==ht&&e.call(de,t),Ii.each(_n,function(){ot((r=this).on)==ht&&r.on(i,t)})}else Yt||Wn.push({n:n,a:t})}function hi(n,t,r){r===Ti&&(r=[Ce,Ce,Ce,Ce]),n[t+ge]=r[0],n[t+xe]=r[1],n[t+Se]=r[2],n[t+ze]=r[3]}function rt(n){var t="ownerDocument",r="HTMLElement",e=n&&n[t]&&n[t].parentWindow||lt;return typeof e[r]==dt?n instanceof e[r]:n&&typeof n==dt&&null!==n&&1===n.nodeType&&typeof n.nodeName==pt}function bi(n,t){var r=t?parseFloat(n):parseInt(n);return isNaN(r)?0:r}function et(){return jr&&jt.x&&jt.y}function pi(){return Pt?mr[0]:pr[0]}function mi(r,n){return"<div "+(r?ot(r)==pt?'class="'+r+'"':function(){var n,t="";if(Ii.isPlainObject(r))for(n in r)t+=("className"===n?"class":n)+'="'+r[n]+'" ';return t}():Ce)+">"+(n||Ce)+"</div>"}function it(n,t){for(var r,e=t.split(q),i=0;i<e.length;i++){if(!n.hasOwnProperty(e[i]))return;r=n[e[i]],i<e.length&&ot(r)==dt&&(n=r)}return r}function wi(n,t,r){return!0===r?r:t===Ti||n!==t}function yi(n,t,r,e,i){if(!0===i)return i;if(e===Ti&&i===Ti){if(!0===r)return r;r=Ti}return r=r===Ti?"w":r,e=e===Ti?"h":e,t===Ti||(n[r]!==t[r]||n[e]!==t[e])}function gi(n,t){return t===Ti||(n.t!==t.t||n.r!==t.r||n.b!==t.b||n.l!==t.l)}function ot(n){return Hi.type(n)}function xi(){return Ii.extend.apply(this,arguments)}function Si(n,t){return E.addClass.call(n,t)}function zi(n,t){return E.removeClass.call(n,t)}function at(n){return E.remove.call(n)}function ut(n,t){return E.find.call(n,t).eq(0)}}return lt[vt]=function(n,r,e){if(0===arguments.length)return this;var i,t,o=[],a=Ii.isPlainObject(r);return n?(n=n.length!=Ti?n:[n[0]||n],l(),0<n.length&&(a?Ii.each(n,function(n,t){(i=t)!==Ti&&o.push(v(i,r,e,u,f))}):Ii.each(n,function(n,t){i=Tt(t),"!"===r&&i instanceof lt[vt]||Hi.type(r)==ht&&r(t,i)?o.push(i):r===Ti&&o.push(i)}),t=1===o.length?o[0]:o),t):a||!r?t:o},lt[vt].globals=function(){l();var n=Ii.extend(!0,{},u);return delete n.msie,n},lt[vt].defaultOptions=function(n){l();var t=u.defaultOptions;if(n===Ti)return Ii.extend(!0,{},t);u.defaultOptions=Ii.extend(!0,{},t,ct.v(n,ct.t,!0))},lt[vt].extension=function(n,t,r){var e=Hi.type(n)==pt,i=arguments[xt],o=0;if(i<1||!e)return Ii.extend(!0,{length:c[xt]},c);if(e)if(Hi.type(t)==ht)c.push({name:n,extensionFactory:t,defaultOptions:r});else for(;o<c[xt];o++)if(c[o].name===n){if(!(1<i))return Ii.extend(!0,{},c[o]);c.splice(o,1)}},lt[vt]}();return zt&&zt.fn&&(zt.fn.overlayScrollbars=function(n,t){return zt.isPlainObject(n)?(zt.each(this,function(){r(this,n,t)}),this):r(this,n)}),r}); |
@@ -5,3 +5,3 @@ /*! | ||
* | ||
* Version: 1.6.2 | ||
* Version: 1.6.3 | ||
* | ||
@@ -12,4 +12,4 @@ * Copyright KingSora. | ||
* Released under the MIT license. | ||
* Date: 16.01.2019 | ||
* Date: 31.01.2019 | ||
*/ | ||
!function(n,t){"function"==typeof define&&define.amd?define(function(){return t(n,n.document,undefined)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(n,n.document,undefined):t(n,n.document,undefined)}("undefined"!=typeof window?window:this,function(st,lt,ze){"use strict";var a,e,o,vt="OverlayScrollbars",ht="object",dt="function",pt="array",bt="string",wt="boolean",mt="number",p="undefined",h="null",yt="class",ke="style",gt="id",xt="length",Ot="prototype",Te="offsetHeight",Ie="clientHeight",Ce="scrollHeight",Ae="offsetWidth",Le="clientWidth",Ne="scrollWidth",Ee={wW:function(){return st.innerWidth||lt.documentElement[Le]||lt.body[Le]},wH:function(){return st.innerHeight||lt.documentElement[Ie]||lt.body[Ie]},mO:function(){return st.MutationObserver||st.WebKitMutationObserver||st.WebkitMutationObserver||st.MozMutationObserver||ze},rO:function(){return st.ResizeObserver||st.WebKitResizeObserver||st.WebkitResizeObserver||st.MozResizeObserver||ze},rAF:function(){return st.requestAnimationFrame||st.webkitRequestAnimationFrame||st.mozRequestAnimationFrame||st.oRequestAnimationFrame||st.msRequestAnimationFrame||function(n){return st.setTimeout(n,1e3/60)}},cAF:function(){return st.cancelAnimationFrame||st.webkitCancelAnimationFrame||st.mozCancelAnimationFrame||st.oCancelAnimationFrame||st.msCancelAnimationFrame||function(n){return st.clearTimeout(n)}},now:function(){return Date.now&&Date.now()||(new Date).getTime()},stpP:function(n){n.stopPropagation?n.stopPropagation():n.cancelBubble=!0},prvD:function(n){n.preventDefault&&n.cancelable?n.preventDefault():n.returnValue=!1},page:function(n){var t="page",r="client",i="X",e=((n=n.originalEvent||n).target||n.srcElement||lt).ownerDocument||lt,o=e.documentElement,u=e.body;if(n.touches===ze)return!n[t+i]&&n[r+i]&&null!=n[r+i]?{x:n[r+i]+(o&&o.scrollLeft||u&&u.scrollLeft||0)-(o&&o.clientLeft||u&&u.clientLeft||0),y:n[r+"Y"]+(o&&o.scrollTop||u&&u.scrollTop||0)-(o&&o.clientTop||u&&u.clientTop||0)}:{x:n[t+i],y:n.pageY};var f=n.touches[0];return{x:f[t+i],y:f.pageY}},mBtn:function(n){var t=n.button;return n.which||t===ze?n.which:1&t?1:2&t?3:4&t?2:0},inA:function(n,t){for(var r=0;r<t[xt];r++)try{if(t[r]===n)return r}catch(i){}return-1},isA:function(n){var t=Array.isArray;return t?t(n):this.type(n)==pt},type:function(n){return n===ze?n+"":null===n?n+"":Object[Ot].toString.call(n).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},bind:function(n,t){if(typeof n!=dt)throw"Can't bind function!";var r=Ot,i=Array[r].slice.call(arguments,2),e=function(){},o=function(){return n.apply(this instanceof e?this:t,i.concat(Array[r].slice.call(arguments)))};return n[r]&&(e[r]=n[r]),o[r]=new e,o}},He=Math,St=st.jQuery,F=(a={p:He.PI,c:He.cos,s:He.sin,w:He.pow,t:He.sqrt,n:He.asin,a:He.abs,o:1.70158},{swing:function(n,t,r,i,e){return.5-a.c(n*a.p)/2},linear:function(n,t,r,i,e){return n},easeInQuad:function(n,t,r,i,e){return i*(t/=e)*t+r},easeOutQuad:function(n,t,r,i,e){return-i*(t/=e)*(t-2)+r},easeInOutQuad:function(n,t,r,i,e){return(t/=e/2)<1?i/2*t*t+r:-i/2*(--t*(t-2)-1)+r},easeInCubic:function(n,t,r,i,e){return i*(t/=e)*t*t+r},easeOutCubic:function(n,t,r,i,e){return i*((t=t/e-1)*t*t+1)+r},easeInOutCubic:function(n,t,r,i,e){return(t/=e/2)<1?i/2*t*t*t+r:i/2*((t-=2)*t*t+2)+r},easeInQuart:function(n,t,r,i,e){return i*(t/=e)*t*t*t+r},easeOutQuart:function(n,t,r,i,e){return-i*((t=t/e-1)*t*t*t-1)+r},easeInOutQuart:function(n,t,r,i,e){return(t/=e/2)<1?i/2*t*t*t*t+r:-i/2*((t-=2)*t*t*t-2)+r},easeInQuint:function(n,t,r,i,e){return i*(t/=e)*t*t*t*t+r},easeOutQuint:function(n,t,r,i,e){return i*((t=t/e-1)*t*t*t*t+1)+r},easeInOutQuint:function(n,t,r,i,e){return(t/=e/2)<1?i/2*t*t*t*t*t+r:i/2*((t-=2)*t*t*t*t+2)+r},easeInSine:function(n,t,r,i,e){return-i*a.c(t/e*(a.p/2))+i+r},easeOutSine:function(n,t,r,i,e){return i*a.s(t/e*(a.p/2))+r},easeInOutSine:function(n,t,r,i,e){return-i/2*(a.c(a.p*t/e)-1)+r},easeInExpo:function(n,t,r,i,e){return 0==t?r:i*a.w(2,10*(t/e-1))+r},easeOutExpo:function(n,t,r,i,e){return t==e?r+i:i*(1-a.w(2,-10*t/e))+r},easeInOutExpo:function(n,t,r,i,e){return 0==t?r:t==e?r+i:(t/=e/2)<1?i/2*a.w(2,10*(t-1))+r:i/2*(2-a.w(2,-10*--t))+r},easeInCirc:function(n,t,r,i,e){return-i*(a.t(1-(t/=e)*t)-1)+r},easeOutCirc:function(n,t,r,i,e){return i*a.t(1-(t=t/e-1)*t)+r},easeInOutCirc:function(n,t,r,i,e){return(t/=e/2)<1?-i/2*(a.t(1-t*t)-1)+r:i/2*(a.t(1-(t-=2)*t)+1)+r},easeInElastic:function(n,t,r,i,e){var o=a.o,u=0,f=i;return 0==t?r:1==(t/=e)?r+i:(u||(u=.3*e),o=f<a.a(i)?(f=i,u/4):u/(2*a.p)*a.n(i/f),-f*a.w(2,10*(t-=1))*a.s((t*e-o)*(2*a.p)/u)+r)},easeOutElastic:function(n,t,r,i,e){var o=a.o,u=0,f=i;return 0==t?r:1==(t/=e)?r+i:(u||(u=.3*e),o=f<a.a(i)?(f=i,u/4):u/(2*a.p)*a.n(i/f),f*a.w(2,-10*t)*a.s((t*e-o)*(2*a.p)/u)+i+r)},easeInOutElastic:function(n,t,r,i,e){var o=a.o,u=0,f=i;return 0==t?r:2==(t/=e/2)?r+i:(u||(u=e*(.3*1.5)),o=f<a.a(i)?(f=i,u/4):u/(2*a.p)*a.n(i/f),t<1?f*a.w(2,10*(t-=1))*a.s((t*e-o)*(2*a.p)/u)*-.5+r:f*a.w(2,-10*(t-=1))*a.s((t*e-o)*(2*a.p)/u)*.5+i+r)},easeInBack:function(n,t,r,i,e,o){return i*(t/=e)*t*(((o=o||a.o)+1)*t-o)+r},easeOutBack:function(n,t,r,i,e,o){return i*((t=t/e-1)*t*(((o=o||a.o)+1)*t+o)+1)+r},easeInOutBack:function(n,t,r,i,e,o){return o=o||a.o,(t/=e/2)<1?i/2*(t*t*((1+(o*=1.525))*t-o))+r:i/2*((t-=2)*t*((1+(o*=1.525))*t+o)+2)+r},easeInBounce:function(n,t,r,i,e){return i-this.easeOutBounce(n,e-t,0,i,e)+r},easeOutBounce:function(n,t,r,i,e){var o=7.5625;return(t/=e)<1/2.75?i*(o*t*t)+r:t<2/2.75?i*(o*(t-=1.5/2.75)*t+.75)+r:t<2.5/2.75?i*(o*(t-=2.25/2.75)*t+.9375)+r:i*(o*(t-=2.625/2.75)*t+.984375)+r},easeInOutBounce:function(n,t,r,i,e){return t<e/2?.5*this.easeInBounce(n,2*t,0,i,e)+r:.5*this.easeOutBounce(n,2*t-e,0,i,e)+.5*i+r}}),De=function(){var l=/[^\x20\t\r\n\f]+/g,v=" ",I="scrollLeft",C="scrollTop",A=[],s=Ee.type,o={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},h=function(){var n,t,r,i,e,o,u=arguments[0]||{},f=1,a=arguments[xt],c=!1;for(s(u)==wt&&(c=u,u=arguments[1]||{},f=2),s(u)!=ht&&!s(u)==dt&&(u={}),a===f&&(u=D,--f);f<a;f++)if(null!=(e=arguments[f]))for(i in e)n=u[i],u!==(r=e[i])&&(c&&r&&(H(r)||(t=Ee.isA(r)))?(o=t?(t=!1,n&&Ee.isA(n)?n:[]):n&&H(n)?n:{},u[i]=h(c,o,r)):r!==ze&&(u[i]=r));return u},L=function(n,t,r){for(var i=r||0;i<t[xt];i++)if(t[i]===n)return i;return-1},N=function(n){return s(n)==dt},E=function(n){for(var t in n)return!1;return!0},H=function(n){if(!n||s(n)!=ht)return!1;var t,r=Ot,i=Object[r].hasOwnProperty,e=i.call(n,"constructor"),o=n.constructor&&n.constructor[r]&&i.call(n.constructor[r],"isPrototypeOf");if(n.constructor&&!e&&!o)return!1;for(t in n);return s(t)==p||i.call(n,t)},t=function(n,t){var r=0;if(u(n))for(;r<n[xt]&&!1!==t.call(n[r],r,n[r]);r++);else for(r in n)if(!1===t.call(n[r],r,n[r]))break;return n},D=function(n){if(0===arguments[xt])return this;var t,r,i=new D,e=n,o=0;if(s(n)==bt)for(e=[],t="<"===n.charAt(0)?((r=lt.createElement("div")).innerHTML=n,r.children):lt.querySelectorAll(n);o<t[xt];o++)e.push(t[o]);if(e){for(s(e)==bt||u(e)||(e=[e]),o=0;o<e[xt];o++)i[o]=e[o];i[xt]=e[xt]}return i};function u(n){var t=!!n&&[xt]in n&&n[xt],r=s(n);return!N(r)&&n!==st&&(r==pt||0===t||s(t)==mt&&0<t&&t-1 in n)}function d(n){return(n.match(l)||[]).join(v)}function f(n,t){for(var r=(n.parentNode||lt).querySelectorAll(t)||[],i=r[xt];i--;)if(r[i]==n)return!0;return!1}function e(n,t,r){if(s(r)==pt)for(var i=0;i<r[xt];i++)e(n,t,r[i]);else s(r)==bt?n.insertAdjacentHTML(t,r):n.insertAdjacentElement(t,r.nodeType?r:r[0])}function a(n,t,r){try{n[ke][t]!==ze&&(n[ke][t]=function i(n,t){o[n.toLowerCase()]||s(t)!=mt||(t+="px");return t}(t,r))}catch(e){}}function R(n,t){var r,i;!1!==t&&n.q.splice(0,1),0<n.q[xt]?(i=n.q[0],c(n.el,i.props,i.duration,i.easing,i.complete,!0)):-1<(r=L(n,A))&&A.splice(r,1)}function W(n,t,r){t===I||t===C?n[t]=r:a(n,t,r)}function c(n,t,r,i,e,o){var u,f,a,c,s,l,v=H(r),h={},d={},p=0;for(l=v?(i=r.easing,r.start,a=r.progress,c=r.step,s=r.specialEasing,e=r.complete,r.duration):r,s=s||{},l=l||400,i=i||"swing",o=o||!1;p<A[xt];p++)if(A[p].el===n){f=A[p];break}for(u in f||(f={el:n,q:[]},A.push(f)),t)h[u]=u===I||u===C?n[u]:D(n).css(u);for(u in h)h[u]!==t[u]&&t[u]!==ze&&(d[u]=t[u]);if(E(d))o&&R(f);else{var b,w,m,y,g,x,O,S,z,k=o?0:L(T,f.q),T={props:d,duration:v?r:l,easing:i,complete:e};if(-1===k&&(k=f.q[xt],f.q.push(T)),0===k)if(0<l)O=Ee.now(),S=function(){for(u in b=Ee.now(),z=b-O,w=T.stop||l<=z,m=1-(He.max(0,O+l-b)/l||0),d)y=parseFloat(h[u]),g=parseFloat(d[u]),x=(g-y)*F[s[u]||i](m,m*l,0,1,l)+y,W(n,u,x),N(c)&&c(x,{elem:n,prop:u,start:y,now:x,end:g,pos:m,options:{easing:i,speacialEasing:s,duration:l,complete:e,step:c},startTime:O});N(a)&&a({},m,He.max(0,l-z)),w?(R(f),N(e)&&e()):T.frame=Ee.rAF()(S)},T.frame=Ee.rAF()(S);else{for(u in d)W(n,u,d[u]);R(f)}}}return D[Ot]={on:function(t,r){var i,e=(t=(t||"").match(l)||[""])[xt],o=0;return this.each(function(){i=this;try{if(i.addEventListener)for(;o<e;o++)i.addEventListener(t[o],r);else if(i.detachEvent)for(;o<e;o++)i.attachEvent("on"+t[o],r)}catch(n){}})},off:function(t,r){var i,e=(t=(t||"").match(l)||[""])[xt],o=0;return this.each(function(){i=this;try{if(i.removeEventListener)for(;o<e;o++)i.removeEventListener(t[o],r);else if(i.detachEvent)for(;o<e;o++)i.detachEvent("on"+t[o],r)}catch(n){}})},one:function(n,e){return n=(n||"").match(l)||[""],this.each(function(){var i=D(this);D.each(n,function(n,t){var r=function(n){e.call(this,n),i.off(t,r)};i.on(t,r)})})},trigger:function(n){var t,r;return this.each(function(){t=this,lt.createEvent?((r=lt.createEvent("HTMLEvents")).initEvent(n,!0,!1),t.dispatchEvent(r)):t.fireEvent("on"+n)})},append:function(n){return this.each(function(){e(this,"beforeend",n)})},prepend:function(n){return this.each(function(){e(this,"afterbegin",n)})},before:function(n){return this.each(function(){e(this,"beforebegin",n)})},after:function(n){return this.each(function(){e(this,"afterend",n)})},remove:function(){return this.each(function(){var n=this.parentNode;null!=n&&n.removeChild(this)})},unwrap:function(){var n,t,r,i=[];for(this.each(function(){r=this.parentNode,-1===L(r,i)&&i.push(r)}),n=0;n<i[xt];n++){for(t=i[n],r=t.parentNode;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}return this},wrapAll:function(n){for(var t,r=this,i=D(n)[0],e=i,o=r[0].parentNode,u=r[0].previousSibling;0<e.childNodes[xt];)e=e.childNodes[0];for(t=0;r[xt]-t;e.firstChild===r[0]&&t++)e.appendChild(r[t]);var f=u?u.nextSibling:o.firstChild;return o.insertBefore(i,f),this},wrapInner:function(r){return this.each(function(){var n=D(this),t=n.contents();t[xt]?t.wrapAll(r):n.append(r)})},wrap:function(n){return this.each(function(){D(this).wrapAll(n)})},css:function(n,t){var r,i,e,o=st.getComputedStyle;return s(n)==bt?t===ze?(r=this[0],e=o?o(r,null):r.currentStyle[n],o?null!=e?e.getPropertyValue(n):r[ke][n]:e):this.each(function(){a(this,n,t)}):this.each(function(){for(i in n)a(this,i,n[i])})},hasClass:function(n){for(var t,r,i=0,e=v+n+v;t=this[i++];){if((r=t.classList)&&r.contains(n))return!0;if(1===t.nodeType&&-1<(v+d(t.className+"")+v).indexOf(e))return!0}return!1},addClass:function(n){var t,r,i,e,o,u,f,a,c=0,s=0;if(n)for(t=n.match(l)||[];r=this[c++];)if(a=r.classList,f===ze&&(f=a!==ze),f)for(;o=t[s++];)a.add(o);else if(e=r.className+"",i=1===r.nodeType&&v+d(e)+v){for(;o=t[s++];)i.indexOf(v+o+v)<0&&(i+=o+v);e!==(u=d(i))&&(r.className=u)}return this},removeClass:function(n){var t,r,i,e,o,u,f,a,c=0,s=0;if(n)for(t=n.match(l)||[];r=this[c++];)if(a=r.classList,f===ze&&(f=a!==ze),f)for(;o=t[s++];)a.remove(o);else if(e=r.className+"",i=1===r.nodeType&&v+d(e)+v){for(;o=t[s++];)for(;-1<i.indexOf(v+o+v);)i=i.replace(v+o+v,v);e!==(u=d(i))&&(r.className=u)}return this},hide:function(){return this.each(function(){this[ke].display="none"})},show:function(){return this.each(function(){this[ke].display="block"})},attr:function(n,t){for(var r,i=0;r=this[i++];){if(t===ze)return r.getAttribute(n);r.setAttribute(n,t)}return this},removeAttr:function(n){return this.each(function(){this.removeAttribute(n)})},offset:function(){var n=this[0].getBoundingClientRect(),t=st.pageXOffset||lt.documentElement[I],r=st.pageYOffset||lt.documentElement[C];return{top:n.top+r,left:n.left+t}},position:function(){var n=this[0];return{top:n.offsetTop,left:n.offsetLeft}},scrollLeft:function(n){for(var t,r=0;t=this[r++];){if(n===ze)return t[I];t[I]=n}return this},scrollTop:function(n){for(var t,r=0;t=this[r++];){if(n===ze)return t[C];t[C]=n}return this},val:function(n){var t=this[0];return n?(t.value=n,this):t.value},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){return D(this[0<=n?n:this[xt]+n])},find:function(t){var r,i=[];return this.each(function(){var n=this.querySelectorAll(t);for(r=0;r<n[xt];r++)i.push(n[r])}),D(i)},children:function(n){var t,r,i,e=[];return this.each(function(){for(r=this.children,i=0;i<r[xt];i++)t=r[i],n?(t.matches&&t.matches(n)||f(t,n))&&e.push(t):e.push(t)}),D(e)},parent:function(n){var t,r=[];return this.each(function(){t=this.parentNode,n&&!D(t).is(n)||r.push(t)}),D(r)},is:function(n){var t,r;for(r=0;r<this[xt];r++){if(t=this[r],":visible"===n)return!!(t[Ae]||t[Te]||t.getClientRects()[xt]);if(":hidden"===n)return!(t[Ae]||t[Te]||t.getClientRects()[xt]);if(t.matches&&t.matches(n)||f(t,n))return!0}return!1},contents:function(){var n,t,r=[];return this.each(function(){for(n=this.childNodes,t=0;t<n[xt];t++)r.push(n[t])}),D(r)},each:function(n){return t(this,n)},animate:function(n,t,r,i){return this.each(function(){c(this,n,t,r,i)})},stop:function(n,t){return this.each(function(){!function f(n,t,r){for(var i,e,o,u=0;u<A[xt];u++)if((i=A[u]).el===n){if(0<i.q[xt]){if((e=i.q[0]).stop=!0,Ee.cAF()(e.frame),i.q.splice(0,1),r)for(o in e.props)W(n,o,e.props[o]);t?i.q=[]:R(i,!1)}break}}(this,n,t)})}},h(D,{extend:h,inArray:L,isEmptyObject:E,isPlainObject:H,each:t}),D}(),zt=(e=[],o="__overlayScrollbars__",function(n,t){var r=arguments[xt];if(r<1)return e;if(t)n[o]=t,e.push(n);else{var i=Ee.inA(n,e);if(-1<i){if(!(1<r))return e[i][o];delete n[o],e.splice(i,1)}}}),r=function(){var f,a,I,n,t,r,i,u,e,c=[],ct=(u={className:["os-theme-dark",[h,bt]],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:n=[!0,wt],clipAlways:n,normalizeRTL:n,paddingAbsolute:t=[!(I=[wt,mt,bt,pt,ht,dt,h]),wt],autoUpdate:[null,[h,wt]],autoUpdateInterval:[33,mt],nativeScrollbarsOverlaid:{showNativeScrollbars:t,initialize:n},overflowBehavior:{x:["scroll",i="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll",i]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,mt],dragScrolling:n,clickScrolling:t,touchSupport:n},textarea:{dynWidth:t,dynHeight:t,inheritedAttrs:[["style","class"],[bt,pt,h]]},callbacks:{onInitialized:r=[null,[h,dt]],onInitializationWithdrawn:r,onDestroyed:r,onScrollStart:r,onScroll:r,onScrollStop:r,onOverflowChanged:r,onOverflowAmountChanged:r,onDirectionChanged:r,onContentSizeChanged:r,onHostSizeChanged:r,onUpdated:r}},{d:(e=function(e){var o=function(n){var t,r,i;for(t in n)n.hasOwnProperty(t)&&(r=n[t],(i=Ee.type(r))==pt?n[t]=r[e?1:0]:i==ht&&(n[t]=o(r)));return n};return o(De.extend(!0,{},u))})(),t:e(!0),v:function(n,t,z,k,r){var i={},e=De.extend(!0,{},n),T=function(n,t,r,i){for(var e in t)if(t.hasOwnProperty(e)&&n.hasOwnProperty(e)){var o,u,f,a,c,s,l,v,h=!1,d=t[e],p=Ee.type(d),b=p==ht,w=Ee.type(d)!=pt?[d]:d,m=n[e],y=Ee.type(m),g=i?i+".":"",x='The option "'+g+e+"\" wasn't set, because",O=[],S=[];if(b&&y==ht)r[e]={},T(m,d,r[e],g+e),De.isEmptyObject(m)&&delete n[e];else if(!b){for(s=0;s<w.length;s++)if(c=w[s],f=(p=Ee.type(c))==bt&&-1===De.inArray(c,I))for(O.push(bt),o=c.split(" "),S=S.concat(o),l=0;l<o.length;l++){for(a=(u=o[l].split(":"))[0],v=0;v<u.length;v++)if(m===u[v]){h=!0;break}if(h)break}else if(O.push(c),y===c){h=!0;break}h?r[e]=f&&k?a:m:z&&console.warn(x+" it doesn't accept the type [ "+y.toUpperCase()+' ] with the value of "'+m+'".\r\nAccepted types are: [ '+O.join(", ").toUpperCase()+" ]."+(0<S.length?"\r\nValid strings are: [ "+S.join(", ").split(":").join(", ")+" ].":"")),delete n[e]}}};return T(e,t,i),r?De.extend(!0,i,e):!De.isEmptyObject(e)&&z&&console.warn("The following options are discarded due to invalidity:\r\n"+st.JSON.stringify(e,null,2)),i}});function s(){f||(f=new o(ct.d)),a||(a=new l(f))}function o(n){var O=this,e="overflow",o="hidden",S=De("body"),z=De('<div id="os-dummy-scrollbar-size"><div></div></div>'),u=z[0],i=De(z.children("div").eq(0));S.append(z),z.hide().show();var t,r,f,a,c,s,l,v,h,d=k(u),p={x:0===d.x,y:0===d.y};function b(n){var t=!1,r="Webkit Moz ms O".split(" "),i=lt.createElement("div"),e=null,o=0;if(n=n.toLowerCase(),i[ke][n]!==ze&&(t=!0),!t)for(e=n.charAt(0).toUpperCase()+n.substr(1);o<r.length;o++)if(i[ke][r[o]+e]!==ze){t=!0;break}return t}function k(n){return{x:n[Te]-n[Ie],y:n[Ae]-n[Le]}}De.extend(O,{defaultOptions:n,autoUpdateLoop:!1,autoUpdateRecommended:!Ee.mO(),nativeScrollbarSize:d,nativeScrollbarIsOverlaid:p,nativeScrollbarStyling:(z.addClass("os-viewport-native-scrollbars-invisible"),z.css(e,o).hide().css(e,"scroll").show(),u[Te]-u[Ie]==0&&u[Ae]-u[Le]==0),overlayScrollbarDummySize:{x:30,y:30},msie:(r=st.navigator.userAgent,f="indexOf",a="substring",c=r[f]("MSIE "),s=r[f]("Trident/"),l=r[f]("Edge/"),v=r[f]("rv:"),h=parseInt,0<c?t=h(r[a](c+5,r[f](".",c)),10):0<s?t=h(r[a](v+3,r[f](".",v)),10):0<l&&(t=h(r[a](l+5,r[f](".",l)),10)),t),cssCalc:function(){var n,t,r=lt.createElement("div"),i=["calc","-webkit-calc","-moz-calc","-o-calc"];for(n=0;n<i.length;++n)if(t=i[n],r[ke].cssText="width:"+t+"(1px);",r[ke].length)return t;return null}(),restrictedMeasuring:function(){z.css(e,o);var n=u[Ne],t=u[Ce];z.css(e,"visible");var r=u[Ne],i=u[Ce];return n-r!=0||t-i!=0}(),rtlScrollBehavior:function(){z.css({"overflow-y":o,"overflow-x":"scroll",direction:"rtl"}).scrollLeft(0);var n=z.offset(),t=i.offset();z.scrollLeft(999);var r=i.offset();return{i:n.left===t.left,n:t.left-r.left==0}}(),supportTransform:b("transform"),supportTransition:b("transition"),supportPassiveEvents:function(){var n=!1;try{st.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){n=!0}}))}catch(t){}return n}(),supportResizeObserver:!!Ee.rO(),supportMutationObserver:!!Ee.mO()}),z.removeAttr(ke).remove(),function(){if(!p.x||!p.y){var w=He.abs,m=Ee.wW(),y=Ee.wH(),g=x();De(st).on("resize",function(){if(0<zt().length){var n=Ee.wW(),t=Ee.wH(),r=n-m,i=t-y;if(0===r&&0===i)return;var e,o=He.round(n/(m/100)),u=He.round(t/(y/100)),f=w(r),a=w(i),c=w(o),s=w(u),l=x(),v=2<f&&2<a,h=!function b(n,t){var r=w(n),i=w(t);return!(r===i||r+1===i||r-1===i)}(c,s),d=v&&h&&l!==g&&0<g,p=O.nativeScrollbarSize;d&&(S.append(z),e=O.nativeScrollbarSize=k(z[0]),z.remove(),p.x===e.x&&p.y===e.y||De.each(zt(),function(){zt(this)&&zt(this).update("zoom")})),m=n,y=t,g=l}})}function x(){var n=st.screen.deviceXDPI||0,t=st.screen.logicalXDPI||1;return st.devicePixelRatio||n/t}}()}function l(r){var c,s="autoUpdate",l=xt,v=[],h=[],d=!1,p=33,b=Ee.now(),w=function(){if(0<v[l]&&d){c=Ee.rAF()(function(){w()});var n=Ee.now(),t=n-b;if(p<t){b=n-t%p;for(var r=33,i=0;i<v[l];i++){var e=v[i];if(e!==ze){var o=e.options(),u=o[s],f=He.max(1,o.autoUpdateInterval),a=Ee.now();(!0===u||null===u)&&a-h[i]>f&&(e.update("auto"),h[i]=new Date(a+=f)),r=He.max(1,He.min(r,f))}}p=r}}else p=33};this.add=function(n){-1===De.inArray(n,v)&&(v.push(n),h.push(Ee.now()),0<v[l]&&!d&&(d=!0,r.autoUpdateLoop=d,w()))},this.remove=function(n){var t=De.inArray(n,v);-1<t&&(h.splice(t,1),v.splice(t,1),0===v[l]&&d&&(d=!1,r.autoUpdateLoop=d,c!==ze&&(Ee.cAF()(c),c=-1)))}}function v(i,n,t,Rt,Wt){if(rt(i)){if(zt(i)){var r=zt(i);return r.options(n),r}var Ft,_t,jt,Bt,A,Mt,Qt,Ut,v,sn,h,L,c,Pt,Vt,Xt,Yt,qt,d,f,$t,Gt,Jt,Kt,Zt,nr,tr,rr,ir,er,e,o,or,ur,fr,p,N,s,E,ar,cr,sr,lr,vr,hr,dr,pr,br,wr,mr,u,a,l,b,w,m,yr,gr,xr,Or,Sr,zr,kr,Tr,Ir,Cr,Ar,Lr,Nr,H,Er,Hr,Dr,Rr,Wr,Fr,_r,jr,Br,Mr,y,g,x,O,S,z,k,T,I,Qr,Ur,Pr,Vr,Xr,Yr,qr,$r,Gr,Jr,Kr,C,Zr,D,R,ni,W,ti,F,_,ri,ii,ei,oi,ui,fi,j,B,ai,ci,si,li,vi,hi=new st[vt],M=De[Ot],di={},ln={},vn={},pi={},bi={},Q="-hidden",wi="margin-",mi="padding-",yi="border-",gi="top",xi="right",Oi="bottom",Si="left",zi="min-",ki="max-",Ti="width",Ii="height",Ci="float",Ai="",Li="auto",Ni="scroll",Ei="100%",Hi="x",Di="y",U=".",Ri=" ",P="scrollbar",V="-horizontal",X="-vertical",Wi=Ni+"Left",Fi=Ni+"Top",_i="mousedown touchstart",Y="mouseup touchend touchcancel",q="mousemove touchmove",$="mouseenter",G="mouseleave",J="keydown",K="keyup",Z="selectstart",nn="transitionend webkitTransitionEnd oTransitionEnd",tn="__overlayScrollbarsRO__",rn="os-",en="os-html",on="os-host",un=on+"-textarea",fn=on+"-"+P+V+Q,an=on+"-"+P+X+Q,cn=on+"-transition",ji=on+"-rtl",Bi=on+"-resize-disabled",Mi=on+"-scrolling",Qi=on+"-overflow",Ui=Qi+"-x",Pi=Qi+"-y",hn="os-textarea",dn=hn+"-cover",pn="os-padding",bn="os-viewport",wn=bn+"-native-scrollbars-invisible",mn=bn+"-native-scrollbars-overlaid",yn="os-content",Vi="os-content-arrange",Xi="os-content-glue",Yi="os-size-auto-observer",gn="os-resize-observer",xn="os-resize-observer-item",On=xn+"-final",Sn="os-text-inherit",zn=rn+P,kn=zn+"-track",Tn=kn+"-off",In=zn+"-handle",Cn=In+"-off",An=zn+"-unusable",Ln=zn+"-"+Li+Q,Nn=zn+"-corner",qi=Nn+"-resize",$i=qi+"-both",Gi=qi+V,Ji=qi+X,En=zn+V,Hn=zn+X,Dn="os-dragging",Ki="os-theme-none",Rn=[],Wn={},Zi={},ne=42,Fn=[];if(hi.sleep=function(){er=!0},hi.update=function(n){var t,r,i=ot(n)==bt;i?0===n.indexOf(Li)?(t=function d(){if(er||ni)return!1;var n=cr.attr(gt)||Ai,t=me(n,y),r=cr.attr(yt)||Ai,i=me(r,g),e=cr.attr(ke)||Ai,o=me(e,x),u=cr.is(":visible")||Ai,f=me(u,O),a=Yt&&ar.attr("rows")||Ai,c=me(a,S),s=Yt&&ar.attr("cols")||Ai,l=me(s,z),v=Yt&&ar.attr("wrap")||Ai,h=me(v,k);return y=n,i&&(i=qn(g,r)),g=r,x=e,O=u,S=a,z=s,k=v,t||i||o||f||c||l||h}(),r=function c(){if(er)return!1;var n,t=Yt&&zr&&!Br?ar.val().length:0,r=!ni&&zr&&!Yt,i={},e={};Pt&&(i={x:dr[0][Ne],y:dr[0][Ce]}),r&&(n=br.css(Ci),e[Ci]=ir?xi:Si,e[Ti]=Li,br.css(e));var o={w:be()[Ne]+t,h:be()[Ce]+t};r&&(e[Ci]=n,e[Ti]=Ei,br.css(e));var u=oe(),f=ye(o,T),a=ye(i,C,Hi,Di);return T=o,C=i,f||u||a}(),(t||r)&&fe(!1,r,!1,"+"==n.slice(-1))):"zoom"===n&&fe(!0,!0):(n=er||n,fe(er=!1,!1,n,!0)),Yt||br.find("img").each(function(n,t){-1===Ee.inA(t,Fn)&&De(t).off("load",Yn).on("load",Yn)})},hi.options=function(n,t){if(De.isEmptyObject(n)||!De.isPlainObject(n)){if(ot(n)!=bt)return o;if(1<arguments.length){var r={};return function a(n,t,r){for(var i=t.split(U),e=i.length,o=0,u={},f=u;o<e;o++)u=u[i[o]]=o+1<e?{}:r;De.extend(n,f,!0)}(r,n,t),$n(r),void fe()}return et(o,n)}$n(n);var i=er||!1;er=!1,fe(),er=i},hi.destroy=function(){for(var n in Xt=!0,Wt.remove(hi),ie(),Bn(lr),Gt&&Bn(sr),Wn)hi.removeExt(n);ee(!0),Jn(!0),vr&&ut(vr),pr&&ut(pr),Gt&&ut(sr),Kn(!0),tt(!0),Gn(!0);for(var t=0;t<Fn[xt];t++)De(Fn[t]).off("load",Yn);for(var r in Fn=ze,zt(i,0),he("onDestroyed"),hi)delete hi[r];hi=ze},hi.scroll=function(n,t,r,i){if(0===arguments.length||n===ze){var e=ln,o=vn,u=Yr&&ir&&jt.i,f=Yr&&ir&&jt.n,a=e.cs,c=e.csr,s=e.ms;return a=u?s-a:a,{x:{position:a*=f?-1:1,ratio:c=u?1-c:c,max:s*=f?-1:1,handleOffset:e.ho,handleLength:e.hl,handleLengthRatio:e.hlr,trackLength:e.tl,isRTL:ir,isRTLNormalized:Yr},y:{position:o.cs,ratio:o.csr,max:o.ms,handleOffset:o.ho,handleLength:o.hl,handleLengthRatio:o.hlr,trackLength:o.tl},position:{x:a,y:o.cs},ratio:{x:c,y:o.csr},max:{x:s,y:o.ms},handleOffset:{x:e.ho,y:o.ho},handleLength:{x:e.hl,y:o.hl},handleLengthRatio:{x:e.hlr,y:o.hlr},trackLength:{x:e.tl,y:o.tl},isRTL:ir,isRTLNormalized:Yr}}var m,l,v,h,d,y,g,p,b,x=Yr,w=[Hi,Si,"l"],O=[Di,gi,"t"],S=["+=","-=","*=","/="],z=ot(t)==ht,k=z?t.complete:i,T={},I={},C="begin",A="nearest",L="never",N="ifneeded",E=xt,H=[Hi,Di,"xy","yx"],D=[C,"end","center",A],R=["always",L,N],W=n.hasOwnProperty("el"),F=W?n.el:n,_=!!(F instanceof De||St)&&F instanceof St,j=!_&&rt(F),B=ot(k)!=dt?ze:function(){l&&le(!0),v&&le(!1),k()},M=function(n,t){for(m=0;m<t[E];m++)if(n===t[m])return!0;return!1},Q=function(n,t){var r=n?w:O;if(ot(t=ot(t)==bt||ot(t)==mt?[t,t]:t)==pt)return n?t[0]:t[1];if(ot(t)==ht)for(x=ot(t.n)==wt?t.n:x,m=0;m<r[E];m++)if(r[m]in t)return t[r[m]]},U=function(n,t){var r,i,e=ot(t)==bt;e&&hi.update(Li+"+");var o,u=n?ln:vn,f=u.cs,a=u.ms,c=ir&&n,s=c&&jt.n&&!x,l="replace",v=eval;if(e){if(2<t[E]){var h=t.substr(0,2);for(m=0;m<S[E];m++)if(h===S[m]){r=S[m];break}}i=pe(pe(v(t=(t=(t=(t=(t=(t=(t=(t=(t=r!==ze?t.substr(2):t)[l](/min/g,0))[l](/</g,0))[l](/max/g,(s?"-":Ai)+Ei))[l](/>/g,(s?"-":Ai)+Ei))[l](/px/g,Ai))[l](/%/g," * "+a*(c&&jt.n?-1:1)/100))[l](/vw/g," * "+pi.w))[l](/vh/g," * "+pi.h)),!0).toFixed())}else i=t;if(i!==ze&&!isNaN(i)&&ot(i)==mt){var d=x&&c,p=f*(d&&jt.n?-1:1),b=d&&jt.i,w=d&&jt.n;switch(p=b?a-p:p,r){case"+=":o=p+i;break;case"-=":o=p-i;break;case"*=":o=p*i;break;case"/=":o=p/i;break;default:o=i}o=b?a-o:o,o*=w?-1:1,o=c&&jt.n?He.min(0,He.max(a,o)):He.max(0,He.min(a,o))}return o===f?ze:o},P=function(n,t,r,i){var e,o,u=[r,r],f=ot(n);if(f==t)n=[n,n];else if(f==pt){if(2<(e=n[E])||e<1)n=u;else for(1===e&&(n[1]=r),m=0;m<e;m++)if(ot(o=n[m])!=t||!M(o,i)){n=u;break}}else n=f==ht?[n[Hi]||r,n[Di]||r]:u;return{x:n[0],y:n[1]}},V=function(n){var t,r,i=[],e=[gi,xi,Oi,Si];for(m=0;m<n[E]&&m!==e[E];m++)(r=ot(t=n[m]))==wt?i.push(t?pe(b.css(wi+e[m])):0):i.push(r==mt?t:0);return i};if(_||j){var X,Y=W?n.margin:0,q=W?n.axis:0,$=W?n.scroll:0,G=W?n.block:0,J=[0,0,0,0],K=ot(Y);if(0===(b=_?F:De(F))[E])return;hi.update(Li+"+"),Y=K==mt||K==wt?V([Y,Y,Y,Y]):K==pt?2===(X=Y[E])?V([Y[0],Y[1],Y[0],Y[1]]):4<=X?V(Y):J:K==ht?V([Y[gi],Y[xi],Y[Oi],Y[Si]]):J,d=M(q,H)?q:"xy",y=P($,bt,"always",R),g=P(G,bt,C,D),p=Y;var Z=ln.cs,nn=vn.cs,tn=hr.offset(),rn=b.offset(),en={x:y.x==L||d==Di,y:y.y==L||d==Hi};rn[gi]-=p[0],rn[Si]-=p[3];var on={x:He.round(rn[Si]-tn[Si]+Z),y:He.round(rn[gi]-tn[gi]+nn)};if(ir&&(jt.n||jt.i||(on.x=He.round(tn[Si]-rn[Si]+Z)),jt.n&&x&&(on.x*=-1),jt.i&&x&&(on.x=He.round(tn[Si]-rn[Si]+(ln.ms-Z)))),g.x!=C||g.y!=C||y.x==N||y.y==N||ir){var un=b[0],fn=sn?un.getBoundingClientRect():{width:un[Ae],height:un[Te]},an={w:fn[Ti]+p[3]+p[1],h:fn[Ii]+p[0]+p[2]},cn=function(n){var t=nt(n),r=t.u,i=t.lt,e=t.xy,o=g[e]==(n&&ir?C:"end"),u="center"==g[e],f=g[e]==A,a=y[e]==L,c=y[e]==N,s=pi[r],l=tn[i],v=an[r],h=rn[i],d=u?2:1,p=h+v/2,b=l+s/2,w=v<=s&&l<=h&&h+v<=l+s;a?en[e]=!0:en[e]||((f||c)&&(en[e]=!!c&&w,o=v<s?b<p:p<b),on[e]-=o||u?(s/d-v/d)*(n&&ir&&x?-1:1):0)};cn(!0),cn(!1)}en.y&&delete on.y,en.x&&delete on.x,n=on}T[Wi]=U(!0,Q(!0,n)),T[Fi]=U(!1,Q(!1,n)),l=T[Wi]!==ze,v=T[Fi]!==ze,(l||v)&&(0<t||z)?z?(t.complete=B,dr.animate(T,t)):(h={duration:t,complete:B},ot(r)==pt||De.isPlainObject(r)?(I[Wi]=r[0]||r.x,I[Fi]=r[1]||r.y,h.specialEasing=I):h.easing=r,dr.animate(T,h)):(l&&dr[Wi](T[Wi]),v&&dr[Fi](T[Fi]))},hi.scrollStop=function(n,t,r){return dr.stop(n,t,r),hi},hi.getElements=function(n){var t={target:ar[0],host:cr[0],padding:hr[0],viewport:dr[0],content:br[0],scrollbarHorizontal:{scrollbar:u[0],track:a[0],handle:l[0]},scrollbarVertical:{scrollbar:b[0],track:w[0],handle:m[0]},scrollbarCorner:mr[0]};return ot(n)==bt?et(t,n):t},hi.getState=function(n){var t=function(n){if(!De.isPlainObject(n))return n;var r=xe(!0,{},n),t=function(n,t){r.hasOwnProperty(n)&&(r[t]=r[n],delete r[n])};return t("w",Ti),t("h",Ii),delete r.c,r},r={sleeping:t(er)||!1,autoUpdate:t(!ni),widthAuto:t(zr),heightAuto:t(kr),padding:t(Cr),overflowAmount:t(Wr),hideOverflow:t(Sr),hasOverflow:t(Or),contentScrollSize:t(gr),viewportSize:t(pi),hostSize:t(yr),documentMixed:t(d)};return ot(n)==bt?et(r,n):r},hi.ext=function(n){var t,r="added removed on contract".split(" "),i=0;if(ot(n)==bt){if(Wn.hasOwnProperty(n))for(t=xe(!0,{},Wn[n]);i<r.length;i++)delete t[r[i]]}else for(i in t={},Wn)t[i]=xe(!0,{},hi.ext(i));return t},hi.addExt=function(n,t){var r,i,e,o,u=st[vt].extension(n),f=!0;if(u){if(Wn.hasOwnProperty(n))return hi.ext(n);if((r=u.extensionFactory.call(hi,xe(!0,{},u.defaultOptions),De,Ee))&&(ot(e=r.contract)==dt&&(f=ot(o=e(st))==wt?o:f),f))return ot(i=(Wn[n]=r).added)==dt&&i(t),hi.ext(n)}else console.warn('A extension with the name "'+n+"\" isn't registered.")},hi.removeExt=function(n){var t,r=Wn[n];return!!r&&(delete Wn[n],ot(t=r.removed)==dt&&t(),!0)},function at(n,t,r){return e=Rt.defaultOptions,Mt=Rt.nativeScrollbarStyling,Ut=xe(!0,{},Rt.nativeScrollbarSize),Ft=xe(!0,{},Rt.nativeScrollbarIsOverlaid),_t=xe(!0,{},Rt.overlayScrollbarDummySize),jt=xe(!0,{},Rt.rtlScrollBehavior),$n(xe(!0,{},e,ct.v(t,ct.t,!0))),Ft.x&&Ft.x&&!or.nativeScrollbarsOverlaid.initialize?(he("onInitializationWithdrawn"),!1):(Qt=Rt.cssCalc,A=Rt.msie,Bt=Rt.autoUpdateRecommended,v=Rt.supportTransition,sn=Rt.supportTransform,h=Rt.supportPassiveEvents,L=Rt.supportResizeObserver,c=Rt.supportMutationObserver,Pt=Rt.restrictedMeasuring,N=De(n.ownerDocument),p=De(N[0].defaultView||N[0].parentWindow),s=ft(N,"html"),E=ft(s,"body"),ar=De(n),Yt=ar.is("textarea"),qt=ar.is("body"),d=N[0]!==lt,qt&&((i={}).l=He.max(ar[Wi](),s[Wi](),p[Wi]()),i.t=He.max(ar[Fi](),s[Fi](),p[Fi]())),Gn(),Jn(),Kn(),Zn(!0),Zn(!1),tt(),function a(){var t=p.top!==p,i={},e={};function r(n){if(u(n)){var t=f(n),r={};(si||ci)&&(r[Ti]=e.w+t.x-i.x),(li||ci)&&(r[Ii]=e.h+t.y-i.y),cr.css(r),Ee.stpP(n)}else o(n)}function o(n){var t=n!==ze;N.off(Z,Xn).off(q,r).off(Y,o),Se(E,Dn),mr.releaseCapture&&mr.releaseCapture(),t&&(B&&re(),hi.update(Li)),B=!1}function u(n){var t=(n.originalEvent||n).touches!==ze;return!er&&!Xt&&(1===Ee.mBtn(n)||t)}function f(n){return A&&t?{x:n.screenX,y:n.screenY}:Ee.page(n)}vi=function(n){u(n)&&(ni&&(B=!0,ie()),i=f(n),e.w=cr[0][Ae]-($t?0:Jt),e.h=cr[0][Te]-($t?0:Kt),N.on(Z,Xn).on(q,r).on(Y,o),Oe(E,Dn),mr.setCapture&&mr.setCapture(),Ee.prvD(n),Ee.stpP(n))}}(),Mn(),qt&&(dr[Wi](i.l)[Fi](i.t),lt.activeElement==n&&dr[0].focus&&(dr.attr("tabindex","-1"),dr[0].focus(),dr.one(_i,function(){dr.removeAttr("tabindex")}))),te(lr,Qn),Qn(),hi.update(Li),Vt=!0,he("onInitialized"),De.each(Rn,function(n,t){he(t.n,t.a)}),Rn=[],ot(r)==bt&&(r=[r]),Ee.isA(r)?De.each(r,function(n,t){hi.addExt(t)}):De.isPlainObject(r)&&De.each(r,function(n,t){hi.addExt(n,t)}),setTimeout(function(){v&&!Xt&&Oe(cr,cn)},333),Vt);var i}(i,n,t))return zt(i,hi),hi;hi=ze}function _n(n,t,r){for(var i=t.split(Ri),e=0;e<i.length;e++)n[0].addEventListener(i[e],r,{passive:!0})}function jn(n,t,r){for(var i=t.split(Ri),e=0;e<i.length;e++)n[0].removeEventListener(i[e],r,{passive:!0})}function te(e,n){var o=3333333,t=Ee.rO(),r="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart",i="childNodes",u=function(){e[Fi](o)[Wi](ir?jt.n?-o:jt.i?0:o:o),n()};if(L){var f=e.append(we(gn+" observed")).contents()[0];(f[tn]=new t(u)).observe(f)}else if(9<A||!Bt){e.prepend(we(gn,we({className:xn,dir:"ltr"},we(xn,we(On))+we(xn,we({className:On,style:"width: 200%; height: 200%"})))));var a,c,s,l,v=e[0][i][0][i][0],h=De(v[i][1]),d=De(v[i][0]),p=De(d[0][i][0]),b=v[Ae],w=v[Te],m=Rt.nativeScrollbarSize,y=function(){d[Wi](o)[Fi](o),h[Wi](o)[Fi](o)},g=function(){c=0,a&&(b=s,w=l,u())},x=function(n){return s=v[Ae],l=v[Te],a=s!=b||l!=w,n&&a&&!c?(Ee.cAF()(c),c=Ee.rAF()(g)):n||g(),y(),n&&(Ee.prvD(n),Ee.stpP(n)),!1},O={},S={};S[gi]=-2*(m.y+1),S[xi]=-2*m.x,S[Oi]=-2*m.y,S[Si]=-2*(m.x+1),De(v).css(S),d.on(Ni,x),h.on(Ni,x),e.on(r,function(){x(!1)}),O[Ti]=o,O[Ii]=o,p.css(O),y()}else{var z=N[0],k=z.attachEvent,T=A!==ze;if(k)e.prepend(we(gn)),ft(e,U+gn)[0].attachEvent("onresize",u);else{var I=z.createElement(ht);I.setAttribute("tabindex","-1"),I.setAttribute(yt,gn),I.onload=function(){var n=this.contentDocument.defaultView;n.addEventListener("resize",u),n.document.documentElement.style.display="none"},I.type="text/html",T&&e.prepend(I),I.data="about:blank",T||e.prepend(I),e.on(r,u)}}if(e[0]===lr[0]){var C=function(){var n=cr.css("direction"),t={},r=0,i=!1;return n!==H&&(r="ltr"===n?(t[Si]=0,t[xi]=Li,o):(t[Si]=Li,t[xi]=0,jt.n?-o:jt.i?0:o),lr.children().eq(0).css(t),e[Wi](r)[Fi](o),H=n,i=!0),i};C(),e.on(Ni,function(n){return C()&&fe(),Ee.prvD(n),Ee.stpP(n),!1})}}function Bn(n){if(L){var t=n.contents()[0];t[tn].disconnect(),delete t[tn]}else ut(n.children(U+gn).eq(0))}function Mn(){if(c){var i,e,r,o,u,f,n=Ee.mO(),a=Ee.now();D=new n(function(n){if(Vt&&!er){var t,r=!1;De.each(n,function(){if(i=(t=this).target,e=t.attributeName,r=e===yt?qn(t.oldValue,i.className):e!==ke||t.oldValue!==i[ke].cssText)return!1}),r&&hi.update(Li)}}),R=new n(function(n){if(Vt&&!er){var t=!1;De.each(n,function(){return!(t=function o(n){var t=n.attributeName,r=n.target,i=n.type,e="closest";if(r===br[0])return null===t;if("attributes"===i&&(t===yt||t===ke)&&!Yt){if(t===yt&&De(r).hasClass(on))return qn(n.oldValue,r.getAttribute(yt));if(typeof r[e]!=dt)return!0;if(null!==r[e](U+gn)||null!==r[e](U+zn)||null!==r[e](U+Nn))return!1}return!0}(this))}),t&&(o=Ee.now(),u=kr||zr,f=function(){Xt||(a=o,Yt&&ue(),u?fe():hi.update(Li))},clearTimeout(r),11<o-a||!u?f():r=setTimeout(f,11))}})}}function re(){c&&!ni&&(D.observe(cr[0],{attributes:!0,attributeOldValue:!0,attributeFilter:[gt,yt,ke]}),R.observe(Yt?ar[0]:br[0],{attributes:!0,attributeOldValue:!0,subtree:!Yt,childList:!Yt,characterData:!Yt,attributeFilter:Yt?["wrap","cols","rows"]:[gt,yt,ke]}),ni=!0)}function ie(){c&&ni&&(D.disconnect(),R.disconnect(),ni=!1)}function Qn(){if(!er){var n=lr[0],t={w:n[Ne],h:n[Ce]};if(Vt){var r=ye(t,I);I=t,r&&fe(!0,!1)}else I=t}}function Un(){ui&&ce(!0)}function Pn(){ui&&!E.hasClass(Dn)&&ce(!1)}function Vn(){oi&&(ce(!0),clearTimeout(_),_=setTimeout(function(){oi&&!Xt&&ce(!1)},100))}function ee(n){var i=n?jn:_n,e=n?"off":"on",t=function(n,t,r){h?i(n,t,r):n[e](t,r)};oi&&!n?t(cr,q,Vn):(n&&t(cr,q,Vn),t(cr,$,Un),t(cr,G,Pn)),Vt||n||cr.one("mouseover",Un)}function Xn(n){return Ee.prvD(n),!1}function Yn(){fe(!1,!0)}function oe(){var n={};return qt&&pr&&(n.w=pe(pr.css(zi+Ti)),n.h=pe(pr.css(zi+Ii)),n.c=ye(n,Kr),n.f=!0),(Kr=n).c||!1}function qn(n,t){var r=t!==ze&&null!==t?t.split(Ri):Ai,i=n!==ze&&null!==n?n.split(Ri):Ai;if(r===Ai&&i===Ai)return!1;var e,o,u,f,a,c=function d(n,t){var r,i,e=[],o=[];for(r=0;r<n.length;r++)e[n[r]]=!0;for(r=0;r<t.length;r++)e[t[r]]?delete e[t[r]]:e[t[r]]=!0;for(i in e)o.push(i);return o}(i,r),s=!1,l=$r!==ze&&null!==$r?$r.split(Ri):[Ai],v=qr!==ze&&null!==qr?qr.split(Ri):[Ai],h=De.inArray(Ki,c);for(-1<h&&c.splice(h,1),o=0;o<c.length;o++)if(0!==(e=c[o]).indexOf(on)){for(a=f=!0,u=0;u<l.length;u++)if(e===l[u]){f=!1;break}for(u=0;u<v.length;u++)if(e===v[u]){a=!1;break}if(f&&a){s=!0;break}}return s}function ue(){if(!er){var n,t,r,i,e=!Br,o=pi.w,u=pi.h,f={},a=zr||e,c=ar[0];return f[zi+Ti]=Ai,f[zi+Ii]=Ai,f[Ti]=Li,ar.css(f),n=c[Ae],t=a?He.max(n,c[Ne]-1):1,f[Ti]=zr?Li:Ei,f[zi+Ti]=Ei,f[Ii]=Li,ar.css(f),r=c[Te],i=He.max(r,c[Ce]-1),f[Ti]=t,f[Ii]=i,wr.css(f),f[zi+Ti]=o,f[zi+Ii]=u,ar.css(f),{ow:n,oh:r,dw:t,dh:i}}}function fe(n,t,r,i){var e=Ee.now(),o=0<ne&&Vt&&e-ur<ne&&!kr&&!zr&&!i,u=cr.is(":hidden"),f=me(u,Zr,r);if(Zr=u,clearTimeout(fr),o&&(Zi.h=Zi.h||n,Zi.c=Zi.c||t,Zi.f=Zi.f||r,fr=setTimeout(fe,ne)),!(Xt||o||er||Vt&&!r&&u||"inline"===cr.css("display"))){ur=e,n=n||Zi.h,t=t||Zi.c,r=r||Zi.f,Zi={},n=n!==ze&&n,t=t!==ze&&t,r=r!==ze&&r,!Mt||Ft.x&&Ft.y?Ut=xe(!0,{},Rt.nativeScrollbarSize):(Ut.x=0,Ut.y=0),bi={x:3*(Ut.x+(Ft.x?0:3)),y:3*(Ut.y+(Ft.y?0:3))};var a={l:dr[Wi](),t:dr[Fi]()},c=or.scrollbars,s=or.textarea,l=c.visibility,v=me(l,Qr,r),h=c.autoHide,d=me(h,Ur,r),p=c.clickScrolling,b=me(p,Pr,r),w=c.dragScrolling,m=me(w,Vr,r),y=or.className,g=me(y,qr,r),x=or.resize,O=me(x,Xr,r)&&!qt,S=!!Yt&&"off"!==ar.attr("wrap"),z=me(S,Br,r),k=or.paddingAbsolute,T=me(k,Er,r),I=or.clipAlways,C=me(I,Hr,r),A=or.sizeAutoCapable&&!qt,L=me(A,jr,r),N=or.nativeScrollbarsOverlaid.showNativeScrollbars,E=me(N,Fr),H=or.autoUpdate,D=me(H,_r),R=or.overflowBehavior,W=ye(R,Rr,Hi,Di,r),F=s.dynWidth,_=me(Jr,F),j=s.dynHeight,B=me(Gr,j);if(ii="n"===h,ei="s"===h,oi="m"===h,ui="l"===h,ri=c.autoHideDelay,fi=c.touchSupport,$r=qr,ai="n"===x,ci="b"===x,si="h"===x,li="v"===x,Yr=or.normalizeRTL,N=N&&Ft.x&&Ft.y,Qr=l,Ur=h,Pr=p,Vr=w,qr=y,Xr=x,Br=S,Er=k,Hr=I,jr=A,Fr=N,_r=H,Rr=xe(!0,{},R),Jr=F,Gr=j,Or=Or||{x:!1,y:!1},g&&(Se(cr,$r+Ri+Ki),Oe(cr,y!==ze&&null!==y&&0<y.length?y:Ki)),D&&(!0===H?(ie(),Wt.add(hi)):null===H&&Bt?(ie(),Wt.add(hi)):(Wt.remove(hi),re())),L)if(A)if(vr===ze&&(vr=De(we(Xi)),hr.before(vr)),Gt)sr.show();else{sr=De(we(Yi)),vr.before(sr);var M={w:-1,h:-1};te(sr,function(){var n={w:sr[0][Ae],h:sr[0][Te]};ye(n,M)&&(Vt&&kr&&0<n.h||zr&&0<n.w?fe():(Vt&&!kr&&0===n.h||!zr&&0===n.w)&&fe()),M=n}),Gt=!0,null!==Qt&&sr.css(Ii,Qt+"(100% + 1px)")}else Gt&&sr.hide();r&&(lr.find("*").trigger(Ni),Gt&&sr.find("*").trigger(Ni));var Q,U=cr.css("direction"),P=me(U,Nr,r),V=cr.css("box-sizing"),X=me(V,Ir,r),Y={c:r,t:pe(cr.css(mi+gi)),r:pe(cr.css(mi+xi)),b:pe(cr.css(mi+Oi)),l:pe(cr.css(mi+Si))};try{Q=Gt?sr[0].getBoundingClientRect():null}catch(Ht){return}$t="border-box"===V;var q=(ir="rtl"===U)?Si:xi,$=ir?xi:Si,G=cr[0],J=hr[0],K=!1,Z=!(!Gt||"none"===cr.css(Ci))&&(0===He.round(Q.right-Q.left)&&(!!k||0<G[Le]-Jt));if(A&&!Z){var nn=G[Ae],tn=vr.css(Ti);vr.css(Ti,Li);var rn=G[Ae];vr.css(Ti,tn),(K=nn!==rn)||(vr.css(Ti,nn+1),rn=G[Ae],vr.css(Ti,tn),K=nn!==rn)}var en=(Z||K)&&A&&!u,on=me(en,zr,r),un=!en&&zr,fn=!(!Gt||u)&&0===He.round(Q.bottom-Q.top),an=me(fn,kr,r),cn=!fn&&kr,sn="-"+Ti,ln=en&&$t||!$t,vn=fn&&$t||!$t,hn={c:r,t:vn?pe(cr.css(yi+gi+sn),!0):0,r:ln?pe(cr.css(yi+xi+sn),!0):0,b:vn?pe(cr.css(yi+Oi+sn),!0):0,l:ln?pe(cr.css(yi+Si+sn),!0):0},dn={c:r,t:pe(cr.css(wi+gi)),r:pe(cr.css(wi+xi)),b:pe(cr.css(wi+Oi)),l:pe(cr.css(wi+Si))},pn={h:String(cr.css(ki+Ii)),w:String(cr.css(ki+Ti))},bn={},wn={},mn=function(){return{w:G[Le],h:G[Ie]}},yn=function(){var n=J.getBoundingClientRect();return n[Ti]?{w:n[Ti],h:n[Ii]}:{w:J[Ae],h:J[Te]}};if(Jt=Y.l+Y.r,Kt=Y.t+Y.b,Y.ax=k?Jt:0,Y.ay=k?Kt:0,Y.c=ge(Y,Cr),Zt=hn.l+hn.r,nr=hn.t+hn.b,hn.c=ge(hn,Ar),tr=dn.l+dn.r,rr=dn.t+dn.b,dn.c=ge(dn,Lr),pn.ih=pe(pn.h),pn.iw=pe(pn.w),pn.ch=-1<pn.h.indexOf("px"),pn.cw=-1<pn.w.indexOf("px"),pn.c=ye(pn,Tr,r),Nr=U,Ir=V,zr=en,kr=fn,Cr=Y,Ar=hn,Lr=dn,Tr=pn,P&&Gt&&sr.css(Ci,$),Y.c||P||T||on||an||X||L){var gn={},xn={};de(wn,wi,[-Y.t,-Y.r,-Y.b,-Y.l]),k?(de(gn,Ai,[Y.t,Y.r,Y.b,Y.l]),de(Yt?xn:bn,mi)):(de(gn,Ai),de(Yt?xn:bn,mi,[Y.t,Y.r,Y.b,Y.l])),hr.css(gn),ar.css(xn)}pi=yn();var On=!!Yt&&ue();if(fn&&(an||T||X||pn.c||Y.c||hn.c)?(pn.cw&&(bn[ki+Ii]=pn.ch?pn.ih-Y.ay+($t?-nr:Kt):Ai),bn[Ii]=Li):(an||T)&&(bn[ki+Ii]=Ai,bn[Ii]=Ei),en&&(on||T||X||pn.c||Y.c||hn.c||P)?(pn.cw&&(bn[ki+Ti]=pn.cw?pn.iw-Y.ax+($t?-Zt:Jt)+(Ft.y?_t.y:0):Ai),bn[Ti]=Li,wn[ki+Ti]=Ei):(on||T)&&(bn[ki+Ti]=Ai,bn[Ti]=Ei,bn[Ci]=Ai,wn[ki+Ti]=Ai),en&&(pn.cw||(bn[ki+Ti]=Ai),wn[Ti]=Yt&&F?On.dw:Li,bn[Ti]=Li,bn[Ci]=$),fn&&(pn.ch||(bn[ki+Ii]=Ai),wn[Ii]=Yt?j?On.dh:Li:br[0][Ie]),A&&vr.css(wn),br.css(bn),bn={},wn={},n||t||P||X||T||on||en||an||fn||pn.c||E||W||C||O||v||_||B||z||r){var Sn="overflow",zn=Sn+"-x",kn=Sn+"-y",Tn=Pt?Ft.x||Ft.y||pi.w<bi.y||pi.h<bi.x||fn||f:fn,In={},Cn=Or.y&&Sr.ys&&!N?Ft.y?dr.css(q):-Ut.y:0,An=Or.x&&Sr.xs&&!N?Ft.x?dr.css(Oi):-Ut.x:0;de(In,Ai),dr.css(In),Tn&&br.css(Sn,"hidden");var Ln=be(),Nn=Pt&&!Tn?dr[0]:Ln,En={w:Ln[Le],h:Ln[Ie]},Hn={w:He.max(Ln[Ne],Nn[Ne]),h:He.max(Ln[Ce],Nn[Ce])},Dn=Yt&&On&&!F?On.ow:en?En.w:Hn.w,Rn=Yt&&On&&!j?On.oh:fn?En.h:Hn.h;In[Oi]=cn?Ai:An,In[q]=un?Ai:Cn,dr.css(In),pi=yn();var Wn=mn(),Fn={w:He.max(Dn+Y.ax,Wn.w-Jt),h:He.max(Rn+Y.ay,Wn.h-Kt)};if(Fn.c=ye(Fn,Dr,r),Dr=Fn,A){(Fn.c||fn||en)&&(wn[Ti]=Fn.w,wn[Ii]=Fn.h);var _n=wn[Ti]+($t?Zt:-Jt),jn=wn[Ii]+($t?nr:-Kt),Bn={};(!en||!en&&hn.c)&&(wn[Ti]=Wn.w-($t?0:Jt+Zt)-1-tr),(!fn||!fn&&hn.c)&&(wn[Ii]=Wn.h-($t?0:Kt+nr)-1-rr),en&&pn.cw&&pn.iw===_n&&(wn[Ti]=_n+($t?0:Jt)+1),fn&&pn.ch&&pn.ih===jn&&(wn[Ii]=jn+($t?0:Kt)+1),en&&(En.w<pi.w||Yt&&!S)&&0===Jt&&(Yt&&(Bn[Ti]=pe(wr.css(Ti))-1),wn[Ti]-=1),fn&&(En.h<pi.h||Yt)&&0===Kt&&(Yt&&(Bn[Ii]=pe(wr.css(Ii))-1),wn[Ii]-=1),0<Rn&&(wn[Ti]=He.max(1,wn[Ti]),wn[Ii]=He.max(1,wn[Ii])),Yt&&wr.css(Bn),vr.css(wn)}en&&(bn[Ti]=Ei),!en||$t||ni||(bn[Ci]="none"),br.css(bn),bn={};var Mn=Ln.getBoundingClientRect(),Qn=Mn[Ti]||0,Un=Mn[Ii]||0,Pn={w:He.max(Ln[Ne],Nn[Ne])+pe(Qn)-Qn,h:He.max(Ln[Ce],Nn[Ce])+pe(Un)-Un};Pn.c=t=ye(Pn,gr,r),gr=Pn,Tn&&br.css(Sn,Ai),pi=yn(),n=ye(Wn=mn(),yr),yr=Wn;var Vn={x:"v-s"===R.x,y:"v-s"===R.y},Xn="v-h"===R.x,Yn="v-h"===R.y,qn={x:"s"===R.x,y:"s"===R.y},$n={x:He.max(0,He.round(100*(Pn.w-pi.w))/100),y:He.max(0,He.round(100*(Pn.h-pi.h))/100)},Gn=Yt&&(0===pi.w||0===pi.h),Jn=0===dr[0].scrollLeftMax&&0<$n.x&&$n.x<1||0===dr[0].scrollTopMax&&0<$n.y&&$n.y<1;(Gn||Jn)&&($n.x=$n.y=0);var Kn={x:0<$n.x,y:0<$n.y},Zn={x:Kn.x,y:Kn.y};(Vn.x||Xn)&&(Zn.x=Kn.y&&!Vn.y&&!Yn),(Vn.y||Yn)&&(Zn.y=Kn.x&&!Vn.x&&!Xn),Zn.xs=!!Zn.x&&(qn.x||Vn.x),Zn.ys=!!Zn.y&&(qn.y||Vn.y);var nt={x:Kn.x&&Zn.xs,y:Kn.y&&Zn.ys},tt=Wr;if($n.c=ye($n,Wr,Hi,Di,r),Wr=$n,Kn.c=ye(Kn,Or,Hi,Di,r),Or=Kn,Zn.c=ye(Zn,Sr,Hi,Di,r),Sr=Zn,Ft.x||Ft.y){var rt="px solid transparent",it={},et={},ot=r;(Kn.x||Kn.y)&&(et.w=Ft.y&&Kn.y?Pn.w+_t.y:Ai,et.h=Ft.x&&Kn.x?Pn.h+_t.x:Ai,ot=me(et,xr,r),xr=et),(Kn.c||Zn.c||Pn.c||P||on||an||en||fn||E)&&(bn[wi+$]=bn[yi+$]=Ai,Ft.x&&Kn.x&&Zn.xs?(bn[wi+Oi]=fn?N?Ai:_t.x:Ai,bn[yi+Oi]=fn||N?Ai:_t.x+rt):(et.h=bn[wi+Oi]=bn[yi+Oi]=Ai,ot=!0),Ft.y&&Kn.y&&Zn.ys?(bn[wi+q]=en?N?Ai:_t.y:Ai,bn[yi+q]=N?Ai:_t.y+rt):(et.w=bn[wi+q]=bn[yi+q]=Ai,ot=!0)),N&&(et.w=et.h=Ai,ot=!0),ot&&(it[Ti]=Zn.y?et.w:Ai,it[Ii]=Zn.x?et.h:Ai,pr||(pr=De(we(Vi)),dr.prepend(pr)),pr.css(it)),br.css(bn)}var ut={};gn={};if(n||Kn.c||Zn.c||Pn.c||W||X||E||P||C||an){ut[$]=Ai;var ft=function(){ut[Oi]=Ai,di.h=0},at=function(){ut[q]=Ai,di.w=0};if(Kn.x&&Zn.xs?(ut[zn]=Ni,N?ft():(ut[Oi]=-(Ft.x?_t.x:Ut.x),di.h=Ft.x?_t.y:0)):(ut[zn]=Ai,ft()),Kn.y&&Zn.ys?(ut[kn]=Ni,N?at():(ut[q]=-(Ft.y?_t.y:Ut.y),di.w=Ft.y?_t.x:0)):(ut[kn]=Ai,at()),(pi.h<bi.x||pi.w<bi.y)&&(Kn.x&&Zn.x&&!Ft.x||Kn.y&&Zn.y&&!Ft.y)?(ut[mi+gi]=bi.x,ut[wi+gi]=-bi.x,ut[mi+$]=bi.y,ut[wi+$]=-bi.y):ut[mi+gi]=ut[wi+gi]=ut[mi+$]=ut[wi+$]=Ai,ut[mi+q]=ut[wi+q]=Ai,Kn.x&&Zn.x||Kn.y&&Zn.y||Gn?Yt&&Gn&&(gn[zn]=gn[kn]="hidden"):(!I||Xn||Vn.x||Yn||Vn.y)&&(Yt&&(gn[zn]=gn[kn]=Ai),ut[zn]=ut[kn]="visible"),hr.css(gn),dr.css(ut),ut={},(Kn.c||X||on||an)&&(!Ft.x||!Ft.y)){var ct=br[0],st=ct[ke];st.webkitTransform="scale(1)",st.display="run-in",ct[Te],st.display=Ai,st.webkitTransform=Ai}}if(bn={},P||on||an)if(ir&&en){var lt=br.css(Ci),vt=He.round(br.css(Ci,Ai).css(Si,Ai).position().left);br.css(Ci,lt),vt!==He.round(br.position().left)&&(bn[Si]=vt)}else bn[Si]=Ai;br.css(bn);var ht,dt,pt="v"===l,bt="h"===l,wt="a"===l,mt=Ee.bind(ae,0,!0,!0,nt.x),yt=Ee.bind(ae,0,!1,!0,nt.y),gt=Ee.bind(ae,0,!0,!1,nt.x),xt=Ee.bind(ae,0,!1,!1,nt.y);if(Zn.x||Zn.y?Oe(cr,Qi):Se(cr,Qi),Zn.x?Oe(cr,Ui):Se(cr,Ui),Zn.y?Oe(cr,Pi):Se(cr,Pi),P&&(ir?Oe(cr,ji):Se(cr,ji)),qt&&Oe(cr,Bi),O){var Ot=function(){mr.off(_i,vi)};ai?(Oe(cr,Bi),Se(mr,[qi,$i,Gi,Ji].join(Ri)),Ot()):(Se(cr,Bi),Oe(mr,qi),ci?Oe(mr,$i):si?Oe(mr,Gi):li&&Oe(mr,Ji),Ot(),mr.on(_i,vi))}if((v||W||Zn.c||Kn.c||E)&&(N?E&&(Se(cr,Mi),N&&(gt(),xt())):wt?(nt.x?mt():gt(),nt.y?yt():xt()):pt?(mt(),yt()):bt&&(gt(),xt())),(d||E)&&(ui||oi?(ee(!0),ee()):ee(!0),ii?ce(!0):ce(!1,!0)),(n||$n.c||an||on||O||X||T||E||P)&&(se(!0),le(!0,a.l),se(!1),le(!1,a.t)),b&&ve(!0,p),m&&ve(!1,w),Yt&&t){var St=function Dt(){var n=ar[0].selectionStart;if(n===ze)return;var t,r,i="length",e=ar.val(),o=e[i],u=e.split("\n"),f=u[i],a=e.substr(0,n).split("\n"),c=0,s=0,l=a[i],v=a[a[i]-1][i];for(r=0;r<u[i];r++)t=u[r][i],s<t&&(c=r+1,s=t);return{cR:l,cC:v,r:f,c:s,w:c,p:n,m:o}}();if(St){var zt=Mr===ze||St.rows!==Mr.rows,kt=St.cR,Tt=St.cC,It=St.w,Ct=St.r,At=St.c,Lt=St.p,Nt=St.m<=Lt&&ti,Et={x:S||Tt!==At||kt!==It?-1:Wr.x,y:(S?Nt||zt&&tt!==ze&&a.t===tt.y:(Nt||zt)&&kt===Ct)?Wr.y:-1};ht=-1<Et.x,(dt=-1<Et.y)&&dr[Fi](Et.y),ht&&(ir&&Yr&&jt.i?dr[Wi](0):dr[Wi](Et.x))}Mr=St}ir&&jt.i&&Ft.y&&Kn.x&&Yr&&(a.l+=di.w||0),ht||dr[Wi](a.l),dt||dr[Fi](a.t),en&&cr[Wi](0),fn&&cr[Fi](0),P&&he("onDirectionChanged",{isRTL:ir,dir:U}),n&&he("onHostSizeChanged",{width:yr.w,height:yr.h}),t&&he("onContentSizeChanged",{width:gr.w,height:gr.h}),(Kn.c||Zn.c)&&he("onOverflowChanged",{x:Kn.x,y:Kn.y,xScrollable:Zn.xs,yScrollable:Zn.ys,clipped:Zn.x||Zn.y}),$n.c&&he("onOverflowAmountChanged",{x:$n.x,y:$n.y})}qt&&(Or.c||Kr.c)&&(Kr.f||oe(),Ft.y&&Or.x&&br.css(zi+Ti,Kr.w+_t.y),Ft.x&&Or.y&&br.css(zi+Ii,Kr.h+_t.x),Kr.c=!1),he("onUpdated",{forced:r})}}function $n(n){o=xe(!0,{},o,ct.v(n,ct.t,!0)),or=xe(!0,{},or,ct.v(n,ct.t,!1,!0))}function Gn(i){var n=or.textarea.inheritedAttrs,e={},t=function(){var r=i?ar:cr;De.each(e,function(n,t){ot(t)==bt&&(n==yt?r.addClass(t):r.attr(n,t))})},r=[on,un,Bi,ji,fn,an,cn,Mi,Qi,Ui,Pi,Ki,hn,Sn,qr].join(Ri);if(ot(n=ot(n)==bt?n.split(" "):n)==pt&&De.each(n,function(n,t){ot(t)==bt&&(e[t]=i?cr.attr(t):ar.attr(t))}),i)br.contents().unwrap().unwrap().unwrap(),Se(cr,r),Yt?(ar.removeAttr(ke),f&&t(),Se(ar,r),ut(wr),f?(ar.unwrap(),ut(cr)):Oe(cr,un)):Se(ar,on),qt&&Se(s,en),ut(lr);else{if(Yt){var o={},u=ar.parent();f=!(u.hasClass(un)&&1===u.children()[xt]),or.sizeAutoCapable||(o[Ti]=ar.css(Ti),o[Ii]=ar.css(Ii)),f&&ar.wrap(we(un)),(cr=ar.parent()).css(o).wrapInner(we(yn+Ri+Sn)).wrapInner(we(bn+Ri+Sn)).wrapInner(we(pn+Ri+Sn)),br=ft(cr,U+yn),dr=ft(cr,U+bn),hr=ft(cr,U+pn),wr=De(we(dn)),br.prepend(wr),Oe(ar,hn+Ri+Sn),f&&t()}else(cr=ar).wrapInner(we(yn)).wrapInner(we(bn)).wrapInner(we(pn)),br=ft(cr,U+yn),dr=ft(cr,U+bn),hr=ft(cr,U+pn),Oe(ar,on);Mt&&Oe(dr,Ft.x&&Ft.y?mn:wn),qt&&Oe(s,en),lr=De(we("os-resize-observer-host")),cr.prepend(lr)}}function Jn(n){var r,t,i,e,o=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],u=[],f=n?"off":"on";!n&&Yt&&(i=function(n){ue(),hi.update(Li),n&&clearInterval(r)},(W={})[Ni]=function(n){return ar[Wi](jt.i&&Yr?9999999:0),ar[Fi](0),Ee.prvD(n),Ee.stpP(n),!1},W.drop=function(){setTimeout(function(){Xt||i()},50)},W.focus=function(){ti=!0},W.focusout=function(){i(!(ti=!(u=[])))},9<A||!Bt?W.input=function(){i()}:(W[J]=function(n){var t=n.keyCode;-1<De.inArray(t,o)||(u.length||(i(),r=setInterval(i,1e3/60)),-1===De.inArray(t,u)&&u.push(t))},W[K]=function(n){var t=n.keyCode,r=De.inArray(t,u);-1<De.inArray(t,o)||(-1<r&&u.splice(r,1),u.length||i(!0))})),Yt?De.each(W,function(n,t){ar[f](n,t)}):br[f](nn,function(n){!0!==_r&&function l(n){if(!Vt)return!0;var t="flex-grow",r="flex-shrink",i="flex-basis",e=[Ti,zi+Ti,ki+Ti,wi+Si,wi+xi,Si,xi,"font-weight","word-spacing",t,r,i],o=[mi+Si,mi+xi,yi+Si+Ti,yi+xi+Ti],u=[Ii,zi+Ii,ki+Ii,wi+gi,wi+Oi,gi,Oi,"line-height",t,r,i],f=[mi+gi,mi+Oi,yi+gi+Ti,yi+Oi+Ti],a="s"===Rr.x||"v-s"===Rr.x,c=!1,s=function(n,t){for(var r=0;r<n.length;r++)if(n[r]===t)return!0;return!1};return("s"===Rr.y||"v-s"===Rr.y)&&((c=s(u,n))||$t||(c=s(f,n))),a&&!c&&((c=s(e,n))||$t||(c=s(o,n))),c}((n=n.originalEvent||n).propertyName)&&fe(Li)}),n||(e=function(n){er||(t!==ze?clearTimeout(t):((ei||oi)&&ce(!0),it()||Oe(cr,Mi),he("onScrollStart",n)),le(!0),le(!1),he("onScroll",n),t=setTimeout(function(){Xt||(clearTimeout(t),t=ze,(ei||oi)&&ce(!1),it()||Se(cr,Mi),he("onScrollStop",n))},175))},h?_n(dr,Ni,e):dr.on(Ni,e))}function Kn(n){n?(ut(u),ut(b)):(u=De(we(zn+Ri+En)),a=De(we(kn)),l=De(we(In)),b=De(we(zn+Ri+Hn)),w=De(we(kn)),m=De(we(In)),u.append(a),a.append(l),b.append(w),w.append(m),hr.after(b),hr.after(u))}function Zn(g){var e,x,O,S=nt(g),o=p.top!==p,z=S.xy,u=S.XY,k=Ni+S.LT,r="active",T=1,t=[16,17];function i(){T=.5}function f(){T=1}function a(n){-1<De.inArray(n.keyCode,t)&&i()}function c(n){-1<De.inArray(n.keyCode,t)&&f()}function s(n){var t=(n.originalEvent||n).touches!==ze;return!(er||Xt||it()||!Vr||t&&!fi)&&(1===Ee.mBtn(n)||t)}function l(n){if(s(n)){var t=S.i.tl,r=S.i.hl,i=S.i.ms*(((A&&o?n["screen"+u]:Ee.page(n)[z])-x)/(t-r));i=isFinite(i)?i:0,ir&&g&&!jt.i&&(i*=-1),dr[k](e+i),h||Ee.prvD(n)}else I(n)}function I(n){if(n=n||n.originalEvent,Se(E,Dn),Se(S.h,r),Se(S.t,r),Se(S.s,r),N.off(q,l).off(Y,I).off(J,a).off(K,c).off(Z,Xn),f(),O!==(x=e=ze)&&(hi.scrollStop(),clearTimeout(O),O=ze),n){var t=cr[0].getBoundingClientRect();n.clientX>=t.left&&n.clientX<=t.right&&n.clientY>=t.top&&n.clientY<=t.bottom||Pn(),(ei||oi)&&ce(!1)}}function C(n){e=(e=dr[k]())===ze?0:e,(ir&&g&&!jt.n||!ir)&&(e=e<0?0:e),x=A&&o?n["screen"+u]:Ee.page(n)[z],Oe(E,Dn),Oe(S.h,r),Oe(S.s,r),N.on(q,l).on(Y,I).on(Z,Xn),!A&&d||Ee.prvD(n),Ee.stpP(n)}S.h.on(_i,function(n){s(n)&&C(n)}),S.t.on(_i,function(l){if(s(l)){var v,h,d=pi[S.u],p=S.t.offset()[S.lt],n=l.ctrlKey,b=l.shiftKey,w=b&&n,m=!0,y=function(){if(!Xt){var n=x-p,t=S.i.tl,r=S.i.ho,i=S.i.hl,e=S.i.ms,o=270*T,u=m?He.max(400,o):o,f=e*((n-i/2)/(t-i)),a=ir&&g&&(!jt.i&&!jt.n||Yr),c=a?r<n:n<r,s={};b?(f=isFinite(f)?f:0,ir&&g&&!jt.i&&(f=e-f),w?(s.n=!1,s[z]=f,hi.scroll(s,130,"linear",function(){C(l)})):(dr[k](f),C(l))):(v=m?c:v,h=a?v?n<=r+i:r<=n:v?r<=n:n<=r+i,s[z]=v?"-="+d:"+="+d,hi.scrollStop(),hi.scroll(s,o,"linear"),O=h?(clearTimeout(O),hi.scrollStop(),ze):setTimeout(y,u),m=!1)}};n&&i(),x=Ee.page(l)[z],Oe(E,Dn),Oe(S.t,r),Oe(S.s,r),N.on(Y,I).on(J,a).on(K,c).on(Z,Xn),y(),Ee.prvD(l),Ee.stpP(l)}}).on($,function(){(ei||oi)&&ce(j=!0)}).on(G,function(){(ei||oi)&&ce(j=!1)}),S.s.on(_i,function(n){Ee.stpP(n)}),v&&S.s.on(nn,function(n){n.target===S.s[0]&&(se(g),le(g))})}function ae(n,t,r){var i=n?fn:an,e=n?u:b;t?Se(cr,i):Oe(cr,i),r?Se(e,An):Oe(e,An)}function ce(n,t){if(clearTimeout(F),n)Se(u,Ln),Se(b,Ln);else{var r=function(){if(!j&&!Xt){var n=l.hasClass("active")||m.hasClass("active");!n&&(ei||oi||ui)&&Oe(u,Ln),!n&&(ei||oi||ui)&&Oe(b,Ln)}};0<ri&&!0!==t?F=setTimeout(r,ri):r()}}function se(n){var t={},r=nt(n),i=He.min(1,(yr[r.u]-(Er?n?Jt:Kt:0))/gr[r.u]);t[r.wh]=He.floor(100*i*1e6)/1e6+"%",it()||r.h.css(t),r.i.hl=r.h[0]["offset"+r.WH],r.i.hlr=i}function le(n,t){t=t===ze?n?dr[Wi]():dr[Fi]():t;var r,i,e,o=ir&&n,u={},f=nt(n),a="translate(",c="transform",s=dr[0][Ni+f.WH]-dr[0]["client"+f.WH],l=f.i.hl,v=f.t[0]["offset"+f.WH],h=v-l;jt.n&&o&&(s*=-1),e=t/s,e=isNaN(e)?0:He.min(1,e),f.i.ms=s,f.i.cs=t,h*=f.i.csr=e,h=isNaN(h)?0:h,o&&!jt.i&&(h=v-l-h),h=He.max(0,h),sn?(i=o?-(v-l-h):h,r=n?a+i+"px, 0)":a+"0, "+i+"px)",u["-webkit-"+c]=r,u["-moz-"+c]=r,u["-ms-"+c]=r,u["-o-"+c]=r,u[c]=r):u[f.lt]=h,it()||f.h.css(u),f.i.ho=h,f.i.tl=v}function ve(n,t){var r=t?"removeClass":"addClass",i=n?w:m,e=n?Tn:Cn;(n?a:l)[r](e),i[r](e)}function nt(n){return{wh:n?Ti:Ii,WH:n?"Width":"Height",lt:n?Si:gi,LT:n?"Left":"Top",xy:n?Hi:Di,XY:n?"X":"Y",u:n?"w":"h",g:n?"l":"t",t:n?a:w,h:n?l:m,s:n?u:b,i:n?ln:vn}}function tt(n){n?ut(mr):(mr=De(we(Nn)),cr.append(mr))}function he(n,t){if(Vt){var r,i=or.callbacks[n],e=n;"on"===e.substr(0,2)&&(e=e.substr(2,1).toLowerCase()+e.substr(3)),ot(i)==dt&&i.call(hi,t),De.each(Wn,function(){ot((r=this).on)==dt&&r.on(e,t)})}else Xt||Rn.push({n:n,a:t})}function de(n,t,r){r===ze&&(r=[Ai,Ai,Ai,Ai]),n[t+gi]=r[0],n[t+xi]=r[1],n[t+Oi]=r[2],n[t+Si]=r[3]}function rt(n){var t="ownerDocument",r="HTMLElement",i=n&&n[t]&&n[t].parentWindow||st;return typeof i[r]==ht?n instanceof i[r]:n&&typeof n==ht&&null!==n&&1===n.nodeType&&typeof n.nodeName==bt}function pe(n,t){var r=t?parseFloat(n):parseInt(n);return isNaN(r)?0:r}function it(){return Fr&&Ft.x&&Ft.y}function be(){return Yt?wr[0]:br[0]}function we(r,n){return"<div "+(r?ot(r)==bt?'class="'+r+'"':function(){var n,t="";if(De.isPlainObject(r))for(n in r)t+=("className"===n?"class":n)+'="'+r[n]+'" ';return t}():Ai)+">"+(n||Ai)+"</div>"}function et(n,t){for(var r,i=t.split(U),e=0;e<i.length;e++){if(!n.hasOwnProperty(i[e]))return;r=n[i[e]],e<i.length&&ot(r)==ht&&(n=r)}return r}function me(n,t,r){return!0===r?r:t===ze||n!==t}function ye(n,t,r,i,e){if(!0===e)return e;if(i===ze&&e===ze){if(!0===r)return r;r=ze}return r=r===ze?"w":r,i=i===ze?"h":i,t===ze||(n[r]!==t[r]||n[i]!==t[i])}function ge(n,t){return t===ze||(n.t!==t.t||n.r!==t.r||n.b!==t.b||n.l!==t.l)}function ot(n){return Ee.type(n)}function xe(){return De.extend.apply(this,arguments)}function Oe(n,t){return M.addClass.call(n,t)}function Se(n,t){return M.removeClass.call(n,t)}function ut(n){return M.remove.call(n)}function ft(n,t){return M.find.call(n,t).eq(0)}}return st[vt]=function(n,r,i){if(0===arguments.length)return this;var e,t,o=[],u=De.isPlainObject(r);return n?(n=n.length!=ze?n:[n[0]||n],s(),0<n.length&&(u?De.each(n,function(n,t){(e=t)!==ze&&o.push(v(e,r,i,f,a))}):De.each(n,function(n,t){e=zt(t),"!"===r&&e instanceof st[vt]||Ee.type(r)==dt&&r(t,e)?o.push(e):r===ze&&o.push(e)}),t=1===o.length?o[0]:o),t):u||!r?t:o},st[vt].globals=function(){s();var n=De.extend(!0,{},f);return delete n.msie,n},st[vt].defaultOptions=function(n){s();var t=f.defaultOptions;if(n===ze)return De.extend(!0,{},t);f.defaultOptions=De.extend(!0,{},t,ct.v(n,ct.t,!0))},st[vt].extension=function(n,t,r){var i=Ee.type(n)==bt,e=arguments[xt],o=0;if(e<1||!i)return De.extend(!0,{length:c[xt]},c);if(i)if(Ee.type(t)==dt)c.push({name:n,extensionFactory:t,defaultOptions:r});else for(;o<c[xt];o++)if(c[o].name===n){if(!(1<e))return De.extend(!0,{},c[o]);c.splice(o,1)}},st[vt]}();return St&&St.fn&&(St.fn.overlayScrollbars=function(n,t){return St.isPlainObject(n)?(St.each(this,function(){r(this,n,t)}),this):r(this,n)}),r}); | ||
!function(n,t){"function"==typeof define&&define.amd?define(function(){return t(n,n.document,undefined)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(n,n.document,undefined):t(n,n.document,undefined)}("undefined"!=typeof window?window:this,function(st,lt,ze){"use strict";var a,e,o,vt="OverlayScrollbars",ht="object",dt="function",pt="array",bt="string",wt="boolean",mt="number",p="undefined",h="null",yt="class",ke="style",gt="id",xt="length",Ot="prototype",Te="offsetHeight",Ie="clientHeight",Ce="scrollHeight",Ae="offsetWidth",Le="clientWidth",Ne="scrollWidth",Ee={wW:function(){return st.innerWidth||lt.documentElement[Le]||lt.body[Le]},wH:function(){return st.innerHeight||lt.documentElement[Ie]||lt.body[Ie]},mO:function(){return st.MutationObserver||st.WebKitMutationObserver||st.WebkitMutationObserver||st.MozMutationObserver||ze},rO:function(){return st.ResizeObserver||st.WebKitResizeObserver||st.WebkitResizeObserver||st.MozResizeObserver||ze},rAF:function(){return st.requestAnimationFrame||st.webkitRequestAnimationFrame||st.mozRequestAnimationFrame||st.oRequestAnimationFrame||st.msRequestAnimationFrame||function(n){return st.setTimeout(n,1e3/60)}},cAF:function(){return st.cancelAnimationFrame||st.webkitCancelAnimationFrame||st.mozCancelAnimationFrame||st.oCancelAnimationFrame||st.msCancelAnimationFrame||function(n){return st.clearTimeout(n)}},now:function(){return Date.now&&Date.now()||(new Date).getTime()},stpP:function(n){n.stopPropagation?n.stopPropagation():n.cancelBubble=!0},prvD:function(n){n.preventDefault&&n.cancelable?n.preventDefault():n.returnValue=!1},page:function(n){var t="page",r="client",i="X",e=((n=n.originalEvent||n).target||n.srcElement||lt).ownerDocument||lt,o=e.documentElement,u=e.body;if(n.touches===ze)return!n[t+i]&&n[r+i]&&null!=n[r+i]?{x:n[r+i]+(o&&o.scrollLeft||u&&u.scrollLeft||0)-(o&&o.clientLeft||u&&u.clientLeft||0),y:n[r+"Y"]+(o&&o.scrollTop||u&&u.scrollTop||0)-(o&&o.clientTop||u&&u.clientTop||0)}:{x:n[t+i],y:n.pageY};var f=n.touches[0];return{x:f[t+i],y:f.pageY}},mBtn:function(n){var t=n.button;return n.which||t===ze?n.which:1&t?1:2&t?3:4&t?2:0},inA:function(n,t){for(var r=0;r<t[xt];r++)try{if(t[r]===n)return r}catch(i){}return-1},isA:function(n){var t=Array.isArray;return t?t(n):this.type(n)==pt},type:function(n){return n===ze?n+"":null===n?n+"":Object[Ot].toString.call(n).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},bind:function(n,t){if(typeof n!=dt)throw"Can't bind function!";var r=Ot,i=Array[r].slice.call(arguments,2),e=function(){},o=function(){return n.apply(this instanceof e?this:t,i.concat(Array[r].slice.call(arguments)))};return n[r]&&(e[r]=n[r]),o[r]=new e,o}},He=Math,St=st.jQuery,F=(a={p:He.PI,c:He.cos,s:He.sin,w:He.pow,t:He.sqrt,n:He.asin,a:He.abs,o:1.70158},{swing:function(n,t,r,i,e){return.5-a.c(n*a.p)/2},linear:function(n,t,r,i,e){return n},easeInQuad:function(n,t,r,i,e){return i*(t/=e)*t+r},easeOutQuad:function(n,t,r,i,e){return-i*(t/=e)*(t-2)+r},easeInOutQuad:function(n,t,r,i,e){return(t/=e/2)<1?i/2*t*t+r:-i/2*(--t*(t-2)-1)+r},easeInCubic:function(n,t,r,i,e){return i*(t/=e)*t*t+r},easeOutCubic:function(n,t,r,i,e){return i*((t=t/e-1)*t*t+1)+r},easeInOutCubic:function(n,t,r,i,e){return(t/=e/2)<1?i/2*t*t*t+r:i/2*((t-=2)*t*t+2)+r},easeInQuart:function(n,t,r,i,e){return i*(t/=e)*t*t*t+r},easeOutQuart:function(n,t,r,i,e){return-i*((t=t/e-1)*t*t*t-1)+r},easeInOutQuart:function(n,t,r,i,e){return(t/=e/2)<1?i/2*t*t*t*t+r:-i/2*((t-=2)*t*t*t-2)+r},easeInQuint:function(n,t,r,i,e){return i*(t/=e)*t*t*t*t+r},easeOutQuint:function(n,t,r,i,e){return i*((t=t/e-1)*t*t*t*t+1)+r},easeInOutQuint:function(n,t,r,i,e){return(t/=e/2)<1?i/2*t*t*t*t*t+r:i/2*((t-=2)*t*t*t*t+2)+r},easeInSine:function(n,t,r,i,e){return-i*a.c(t/e*(a.p/2))+i+r},easeOutSine:function(n,t,r,i,e){return i*a.s(t/e*(a.p/2))+r},easeInOutSine:function(n,t,r,i,e){return-i/2*(a.c(a.p*t/e)-1)+r},easeInExpo:function(n,t,r,i,e){return 0==t?r:i*a.w(2,10*(t/e-1))+r},easeOutExpo:function(n,t,r,i,e){return t==e?r+i:i*(1-a.w(2,-10*t/e))+r},easeInOutExpo:function(n,t,r,i,e){return 0==t?r:t==e?r+i:(t/=e/2)<1?i/2*a.w(2,10*(t-1))+r:i/2*(2-a.w(2,-10*--t))+r},easeInCirc:function(n,t,r,i,e){return-i*(a.t(1-(t/=e)*t)-1)+r},easeOutCirc:function(n,t,r,i,e){return i*a.t(1-(t=t/e-1)*t)+r},easeInOutCirc:function(n,t,r,i,e){return(t/=e/2)<1?-i/2*(a.t(1-t*t)-1)+r:i/2*(a.t(1-(t-=2)*t)+1)+r},easeInElastic:function(n,t,r,i,e){var o=a.o,u=0,f=i;return 0==t?r:1==(t/=e)?r+i:(u||(u=.3*e),o=f<a.a(i)?(f=i,u/4):u/(2*a.p)*a.n(i/f),-f*a.w(2,10*(t-=1))*a.s((t*e-o)*(2*a.p)/u)+r)},easeOutElastic:function(n,t,r,i,e){var o=a.o,u=0,f=i;return 0==t?r:1==(t/=e)?r+i:(u||(u=.3*e),o=f<a.a(i)?(f=i,u/4):u/(2*a.p)*a.n(i/f),f*a.w(2,-10*t)*a.s((t*e-o)*(2*a.p)/u)+i+r)},easeInOutElastic:function(n,t,r,i,e){var o=a.o,u=0,f=i;return 0==t?r:2==(t/=e/2)?r+i:(u||(u=e*(.3*1.5)),o=f<a.a(i)?(f=i,u/4):u/(2*a.p)*a.n(i/f),t<1?f*a.w(2,10*(t-=1))*a.s((t*e-o)*(2*a.p)/u)*-.5+r:f*a.w(2,-10*(t-=1))*a.s((t*e-o)*(2*a.p)/u)*.5+i+r)},easeInBack:function(n,t,r,i,e,o){return i*(t/=e)*t*(((o=o||a.o)+1)*t-o)+r},easeOutBack:function(n,t,r,i,e,o){return i*((t=t/e-1)*t*(((o=o||a.o)+1)*t+o)+1)+r},easeInOutBack:function(n,t,r,i,e,o){return o=o||a.o,(t/=e/2)<1?i/2*(t*t*((1+(o*=1.525))*t-o))+r:i/2*((t-=2)*t*((1+(o*=1.525))*t+o)+2)+r},easeInBounce:function(n,t,r,i,e){return i-this.easeOutBounce(n,e-t,0,i,e)+r},easeOutBounce:function(n,t,r,i,e){var o=7.5625;return(t/=e)<1/2.75?i*(o*t*t)+r:t<2/2.75?i*(o*(t-=1.5/2.75)*t+.75)+r:t<2.5/2.75?i*(o*(t-=2.25/2.75)*t+.9375)+r:i*(o*(t-=2.625/2.75)*t+.984375)+r},easeInOutBounce:function(n,t,r,i,e){return t<e/2?.5*this.easeInBounce(n,2*t,0,i,e)+r:.5*this.easeOutBounce(n,2*t-e,0,i,e)+.5*i+r}}),De=function(){var l=/[^\x20\t\r\n\f]+/g,v=" ",I="scrollLeft",C="scrollTop",A=[],s=Ee.type,o={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},h=function(){var n,t,r,i,e,o,u=arguments[0]||{},f=1,a=arguments[xt],c=!1;for(s(u)==wt&&(c=u,u=arguments[1]||{},f=2),s(u)!=ht&&!s(u)==dt&&(u={}),a===f&&(u=D,--f);f<a;f++)if(null!=(e=arguments[f]))for(i in e)n=u[i],u!==(r=e[i])&&(c&&r&&(H(r)||(t=Ee.isA(r)))?(o=t?(t=!1,n&&Ee.isA(n)?n:[]):n&&H(n)?n:{},u[i]=h(c,o,r)):r!==ze&&(u[i]=r));return u},L=function(n,t,r){for(var i=r||0;i<t[xt];i++)if(t[i]===n)return i;return-1},N=function(n){return s(n)==dt},E=function(n){for(var t in n)return!1;return!0},H=function(n){if(!n||s(n)!=ht)return!1;var t,r=Ot,i=Object[r].hasOwnProperty,e=i.call(n,"constructor"),o=n.constructor&&n.constructor[r]&&i.call(n.constructor[r],"isPrototypeOf");if(n.constructor&&!e&&!o)return!1;for(t in n);return s(t)==p||i.call(n,t)},t=function(n,t){var r=0;if(u(n))for(;r<n[xt]&&!1!==t.call(n[r],r,n[r]);r++);else for(r in n)if(!1===t.call(n[r],r,n[r]))break;return n},D=function(n){if(0===arguments[xt])return this;var t,r,i=new D,e=n,o=0;if(s(n)==bt)for(e=[],t="<"===n.charAt(0)?((r=lt.createElement("div")).innerHTML=n,r.children):lt.querySelectorAll(n);o<t[xt];o++)e.push(t[o]);if(e){for(s(e)==bt||u(e)||(e=[e]),o=0;o<e[xt];o++)i[o]=e[o];i[xt]=e[xt]}return i};function u(n){var t=!!n&&[xt]in n&&n[xt],r=s(n);return!N(r)&&n!==st&&(r==pt||0===t||s(t)==mt&&0<t&&t-1 in n)}function d(n){return(n.match(l)||[]).join(v)}function f(n,t){for(var r=(n.parentNode||lt).querySelectorAll(t)||[],i=r[xt];i--;)if(r[i]==n)return!0;return!1}function e(n,t,r){if(s(r)==pt)for(var i=0;i<r[xt];i++)e(n,t,r[i]);else s(r)==bt?n.insertAdjacentHTML(t,r):n.insertAdjacentElement(t,r.nodeType?r:r[0])}function a(n,t,r){try{n[ke][t]!==ze&&(n[ke][t]=function i(n,t){o[n.toLowerCase()]||s(t)!=mt||(t+="px");return t}(t,r))}catch(e){}}function R(n,t){var r,i;!1!==t&&n.q.splice(0,1),0<n.q[xt]?(i=n.q[0],c(n.el,i.props,i.duration,i.easing,i.complete,!0)):-1<(r=L(n,A))&&A.splice(r,1)}function W(n,t,r){t===I||t===C?n[t]=r:a(n,t,r)}function c(n,t,r,i,e,o){var u,f,a,c,s,l,v=H(r),h={},d={},p=0;for(l=v?(i=r.easing,r.start,a=r.progress,c=r.step,s=r.specialEasing,e=r.complete,r.duration):r,s=s||{},l=l||400,i=i||"swing",o=o||!1;p<A[xt];p++)if(A[p].el===n){f=A[p];break}for(u in f||(f={el:n,q:[]},A.push(f)),t)h[u]=u===I||u===C?n[u]:D(n).css(u);for(u in h)h[u]!==t[u]&&t[u]!==ze&&(d[u]=t[u]);if(E(d))o&&R(f);else{var b,w,m,y,g,x,O,S,z,k=o?0:L(T,f.q),T={props:d,duration:v?r:l,easing:i,complete:e};if(-1===k&&(k=f.q[xt],f.q.push(T)),0===k)if(0<l)O=Ee.now(),S=function(){for(u in b=Ee.now(),z=b-O,w=T.stop||l<=z,m=1-(He.max(0,O+l-b)/l||0),d)y=parseFloat(h[u]),g=parseFloat(d[u]),x=(g-y)*F[s[u]||i](m,m*l,0,1,l)+y,W(n,u,x),N(c)&&c(x,{elem:n,prop:u,start:y,now:x,end:g,pos:m,options:{easing:i,speacialEasing:s,duration:l,complete:e,step:c},startTime:O});N(a)&&a({},m,He.max(0,l-z)),w?(R(f),N(e)&&e()):T.frame=Ee.rAF()(S)},T.frame=Ee.rAF()(S);else{for(u in d)W(n,u,d[u]);R(f)}}}return D[Ot]={on:function(t,r){var i,e=(t=(t||"").match(l)||[""])[xt],o=0;return this.each(function(){i=this;try{if(i.addEventListener)for(;o<e;o++)i.addEventListener(t[o],r);else if(i.detachEvent)for(;o<e;o++)i.attachEvent("on"+t[o],r)}catch(n){}})},off:function(t,r){var i,e=(t=(t||"").match(l)||[""])[xt],o=0;return this.each(function(){i=this;try{if(i.removeEventListener)for(;o<e;o++)i.removeEventListener(t[o],r);else if(i.detachEvent)for(;o<e;o++)i.detachEvent("on"+t[o],r)}catch(n){}})},one:function(n,e){return n=(n||"").match(l)||[""],this.each(function(){var i=D(this);D.each(n,function(n,t){var r=function(n){e.call(this,n),i.off(t,r)};i.on(t,r)})})},trigger:function(n){var t,r;return this.each(function(){t=this,lt.createEvent?((r=lt.createEvent("HTMLEvents")).initEvent(n,!0,!1),t.dispatchEvent(r)):t.fireEvent("on"+n)})},append:function(n){return this.each(function(){e(this,"beforeend",n)})},prepend:function(n){return this.each(function(){e(this,"afterbegin",n)})},before:function(n){return this.each(function(){e(this,"beforebegin",n)})},after:function(n){return this.each(function(){e(this,"afterend",n)})},remove:function(){return this.each(function(){var n=this.parentNode;null!=n&&n.removeChild(this)})},unwrap:function(){var n,t,r,i=[];for(this.each(function(){r=this.parentNode,-1===L(r,i)&&i.push(r)}),n=0;n<i[xt];n++){for(t=i[n],r=t.parentNode;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}return this},wrapAll:function(n){for(var t,r=this,i=D(n)[0],e=i,o=r[0].parentNode,u=r[0].previousSibling;0<e.childNodes[xt];)e=e.childNodes[0];for(t=0;r[xt]-t;e.firstChild===r[0]&&t++)e.appendChild(r[t]);var f=u?u.nextSibling:o.firstChild;return o.insertBefore(i,f),this},wrapInner:function(r){return this.each(function(){var n=D(this),t=n.contents();t[xt]?t.wrapAll(r):n.append(r)})},wrap:function(n){return this.each(function(){D(this).wrapAll(n)})},css:function(n,t){var r,i,e,o=st.getComputedStyle;return s(n)==bt?t===ze?(r=this[0],e=o?o(r,null):r.currentStyle[n],o?null!=e?e.getPropertyValue(n):r[ke][n]:e):this.each(function(){a(this,n,t)}):this.each(function(){for(i in n)a(this,i,n[i])})},hasClass:function(n){for(var t,r,i=0,e=v+n+v;t=this[i++];){if((r=t.classList)&&r.contains(n))return!0;if(1===t.nodeType&&-1<(v+d(t.className+"")+v).indexOf(e))return!0}return!1},addClass:function(n){var t,r,i,e,o,u,f,a,c=0,s=0;if(n)for(t=n.match(l)||[];r=this[c++];)if(a=r.classList,f===ze&&(f=a!==ze),f)for(;o=t[s++];)a.add(o);else if(e=r.className+"",i=1===r.nodeType&&v+d(e)+v){for(;o=t[s++];)i.indexOf(v+o+v)<0&&(i+=o+v);e!==(u=d(i))&&(r.className=u)}return this},removeClass:function(n){var t,r,i,e,o,u,f,a,c=0,s=0;if(n)for(t=n.match(l)||[];r=this[c++];)if(a=r.classList,f===ze&&(f=a!==ze),f)for(;o=t[s++];)a.remove(o);else if(e=r.className+"",i=1===r.nodeType&&v+d(e)+v){for(;o=t[s++];)for(;-1<i.indexOf(v+o+v);)i=i.replace(v+o+v,v);e!==(u=d(i))&&(r.className=u)}return this},hide:function(){return this.each(function(){this[ke].display="none"})},show:function(){return this.each(function(){this[ke].display="block"})},attr:function(n,t){for(var r,i=0;r=this[i++];){if(t===ze)return r.getAttribute(n);r.setAttribute(n,t)}return this},removeAttr:function(n){return this.each(function(){this.removeAttribute(n)})},offset:function(){var n=this[0].getBoundingClientRect(),t=st.pageXOffset||lt.documentElement[I],r=st.pageYOffset||lt.documentElement[C];return{top:n.top+r,left:n.left+t}},position:function(){var n=this[0];return{top:n.offsetTop,left:n.offsetLeft}},scrollLeft:function(n){for(var t,r=0;t=this[r++];){if(n===ze)return t[I];t[I]=n}return this},scrollTop:function(n){for(var t,r=0;t=this[r++];){if(n===ze)return t[C];t[C]=n}return this},val:function(n){var t=this[0];return n?(t.value=n,this):t.value},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){return D(this[0<=n?n:this[xt]+n])},find:function(t){var r,i=[];return this.each(function(){var n=this.querySelectorAll(t);for(r=0;r<n[xt];r++)i.push(n[r])}),D(i)},children:function(n){var t,r,i,e=[];return this.each(function(){for(r=this.children,i=0;i<r[xt];i++)t=r[i],n?(t.matches&&t.matches(n)||f(t,n))&&e.push(t):e.push(t)}),D(e)},parent:function(n){var t,r=[];return this.each(function(){t=this.parentNode,n&&!D(t).is(n)||r.push(t)}),D(r)},is:function(n){var t,r;for(r=0;r<this[xt];r++){if(t=this[r],":visible"===n)return!!(t[Ae]||t[Te]||t.getClientRects()[xt]);if(":hidden"===n)return!(t[Ae]||t[Te]||t.getClientRects()[xt]);if(t.matches&&t.matches(n)||f(t,n))return!0}return!1},contents:function(){var n,t,r=[];return this.each(function(){for(n=this.childNodes,t=0;t<n[xt];t++)r.push(n[t])}),D(r)},each:function(n){return t(this,n)},animate:function(n,t,r,i){return this.each(function(){c(this,n,t,r,i)})},stop:function(n,t){return this.each(function(){!function f(n,t,r){for(var i,e,o,u=0;u<A[xt];u++)if((i=A[u]).el===n){if(0<i.q[xt]){if((e=i.q[0]).stop=!0,Ee.cAF()(e.frame),i.q.splice(0,1),r)for(o in e.props)W(n,o,e.props[o]);t?i.q=[]:R(i,!1)}break}}(this,n,t)})}},h(D,{extend:h,inArray:L,isEmptyObject:E,isPlainObject:H,each:t}),D}(),zt=(e=[],o="__overlayScrollbars__",function(n,t){var r=arguments[xt];if(r<1)return e;if(t)n[o]=t,e.push(n);else{var i=Ee.inA(n,e);if(-1<i){if(!(1<r))return e[i][o];delete n[o],e.splice(i,1)}}}),r=function(){var f,a,I,n,t,r,i,u,e,c=[],ct=(u={className:["os-theme-dark",[h,bt]],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:n=[!0,wt],clipAlways:n,normalizeRTL:n,paddingAbsolute:t=[!(I=[wt,mt,bt,pt,ht,dt,h]),wt],autoUpdate:[null,[h,wt]],autoUpdateInterval:[33,mt],nativeScrollbarsOverlaid:{showNativeScrollbars:t,initialize:n},overflowBehavior:{x:["scroll",i="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll",i]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,mt],dragScrolling:n,clickScrolling:t,touchSupport:n},textarea:{dynWidth:t,dynHeight:t,inheritedAttrs:[["style","class"],[bt,pt,h]]},callbacks:{onInitialized:r=[null,[h,dt]],onInitializationWithdrawn:r,onDestroyed:r,onScrollStart:r,onScroll:r,onScrollStop:r,onOverflowChanged:r,onOverflowAmountChanged:r,onDirectionChanged:r,onContentSizeChanged:r,onHostSizeChanged:r,onUpdated:r}},{d:(e=function(e){var o=function(n){var t,r,i;for(t in n)n.hasOwnProperty(t)&&(r=n[t],(i=Ee.type(r))==pt?n[t]=r[e?1:0]:i==ht&&(n[t]=o(r)));return n};return o(De.extend(!0,{},u))})(),t:e(!0),v:function(n,t,z,k,r){var i={},e=De.extend(!0,{},n),T=function(n,t,r,i){for(var e in t)if(t.hasOwnProperty(e)&&n.hasOwnProperty(e)){var o,u,f,a,c,s,l,v,h=!1,d=t[e],p=Ee.type(d),b=p==ht,w=Ee.type(d)!=pt?[d]:d,m=n[e],y=Ee.type(m),g=i?i+".":"",x='The option "'+g+e+"\" wasn't set, because",O=[],S=[];if(b&&y==ht)r[e]={},T(m,d,r[e],g+e),De.isEmptyObject(m)&&delete n[e];else if(!b){for(s=0;s<w.length;s++)if(c=w[s],f=(p=Ee.type(c))==bt&&-1===De.inArray(c,I))for(O.push(bt),o=c.split(" "),S=S.concat(o),l=0;l<o.length;l++){for(a=(u=o[l].split(":"))[0],v=0;v<u.length;v++)if(m===u[v]){h=!0;break}if(h)break}else if(O.push(c),y===c){h=!0;break}h?r[e]=f&&k?a:m:z&&console.warn(x+" it doesn't accept the type [ "+y.toUpperCase()+' ] with the value of "'+m+'".\r\nAccepted types are: [ '+O.join(", ").toUpperCase()+" ]."+(0<S.length?"\r\nValid strings are: [ "+S.join(", ").split(":").join(", ")+" ].":"")),delete n[e]}}};return T(e,t,i),r?De.extend(!0,i,e):!De.isEmptyObject(e)&&z&&console.warn("The following options are discarded due to invalidity:\r\n"+st.JSON.stringify(e,null,2)),i}});function s(){f||(f=new o(ct.d)),a||(a=new l(f))}function o(n){var O=this,e="overflow",o="hidden",S=De("body"),z=De('<div id="os-dummy-scrollbar-size"><div></div></div>'),u=z[0],i=De(z.children("div").eq(0));S.append(z),z.hide().show();var t,r,f,a,c,s,l,v,h,d=k(u),p={x:0===d.x,y:0===d.y};function b(n){var t=!1,r="Webkit Moz ms O".split(" "),i=lt.createElement("div"),e=null,o=0;if(n=n.toLowerCase(),i[ke][n]!==ze&&(t=!0),!t)for(e=n.charAt(0).toUpperCase()+n.substr(1);o<r.length;o++)if(i[ke][r[o]+e]!==ze){t=!0;break}return t}function k(n){return{x:n[Te]-n[Ie],y:n[Ae]-n[Le]}}De.extend(O,{defaultOptions:n,autoUpdateLoop:!1,autoUpdateRecommended:!Ee.mO(),nativeScrollbarSize:d,nativeScrollbarIsOverlaid:p,nativeScrollbarStyling:(z.addClass("os-viewport-native-scrollbars-invisible"),z.css(e,o).hide().css(e,"scroll").show(),u[Te]-u[Ie]==0&&u[Ae]-u[Le]==0),overlayScrollbarDummySize:{x:30,y:30},msie:(r=st.navigator.userAgent,f="indexOf",a="substring",c=r[f]("MSIE "),s=r[f]("Trident/"),l=r[f]("Edge/"),v=r[f]("rv:"),h=parseInt,0<c?t=h(r[a](c+5,r[f](".",c)),10):0<s?t=h(r[a](v+3,r[f](".",v)),10):0<l&&(t=h(r[a](l+5,r[f](".",l)),10)),t),cssCalc:function(){var n,t,r=lt.createElement("div"),i=["calc","-webkit-calc","-moz-calc","-o-calc"];for(n=0;n<i.length;++n)if(t=i[n],r[ke].cssText="width:"+t+"(1px);",r[ke].length)return t;return null}(),restrictedMeasuring:function(){z.css(e,o);var n=u[Ne],t=u[Ce];z.css(e,"visible");var r=u[Ne],i=u[Ce];return n-r!=0||t-i!=0}(),rtlScrollBehavior:function(){z.css({"overflow-y":o,"overflow-x":"scroll",direction:"rtl"}).scrollLeft(0);var n=z.offset(),t=i.offset();z.scrollLeft(999);var r=i.offset();return{i:n.left===t.left,n:t.left-r.left==0}}(),supportTransform:b("transform"),supportTransition:b("transition"),supportPassiveEvents:function(){var n=!1;try{st.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){n=!0}}))}catch(t){}return n}(),supportResizeObserver:!!Ee.rO(),supportMutationObserver:!!Ee.mO()}),z.removeAttr(ke).remove(),function(){if(!p.x||!p.y){var w=He.abs,m=Ee.wW(),y=Ee.wH(),g=x();De(st).on("resize",function(){if(0<zt().length){var n=Ee.wW(),t=Ee.wH(),r=n-m,i=t-y;if(0===r&&0===i)return;var e,o=He.round(n/(m/100)),u=He.round(t/(y/100)),f=w(r),a=w(i),c=w(o),s=w(u),l=x(),v=2<f&&2<a,h=!function b(n,t){var r=w(n),i=w(t);return!(r===i||r+1===i||r-1===i)}(c,s),d=v&&h&&l!==g&&0<g,p=O.nativeScrollbarSize;d&&(S.append(z),e=O.nativeScrollbarSize=k(z[0]),z.remove(),p.x===e.x&&p.y===e.y||De.each(zt(),function(){zt(this)&&zt(this).update("zoom")})),m=n,y=t,g=l}})}function x(){var n=st.screen.deviceXDPI||0,t=st.screen.logicalXDPI||1;return st.devicePixelRatio||n/t}}()}function l(r){var c,s="autoUpdate",l=xt,v=[],h=[],d=!1,p=33,b=Ee.now(),w=function(){if(0<v[l]&&d){c=Ee.rAF()(function(){w()});var n=Ee.now(),t=n-b;if(p<t){b=n-t%p;for(var r=33,i=0;i<v[l];i++){var e=v[i];if(e!==ze){var o=e.options(),u=o[s],f=He.max(1,o.autoUpdateInterval),a=Ee.now();(!0===u||null===u)&&a-h[i]>f&&(e.update("auto"),h[i]=new Date(a+=f)),r=He.max(1,He.min(r,f))}}p=r}}else p=33};this.add=function(n){-1===De.inArray(n,v)&&(v.push(n),h.push(Ee.now()),0<v[l]&&!d&&(d=!0,r.autoUpdateLoop=d,w()))},this.remove=function(n){var t=De.inArray(n,v);-1<t&&(h.splice(t,1),v.splice(t,1),0===v[l]&&d&&(d=!1,r.autoUpdateLoop=d,c!==ze&&(Ee.cAF()(c),c=-1)))}}function v(i,n,t,Rt,Wt){if(rt(i)){if(zt(i)){var r=zt(i);return r.options(n),r}var Ft,_t,jt,Bt,A,Mt,Qt,Ut,v,sn,h,L,c,Pt,Vt,Xt,Yt,qt,d,f,$t,Gt,Jt,Kt,Zt,nr,tr,rr,ir,er,e,o,or,ur,fr,p,N,s,E,ar,cr,sr,lr,vr,hr,dr,pr,br,wr,mr,u,a,l,b,w,m,yr,gr,xr,Or,Sr,zr,kr,Tr,Ir,Cr,Ar,Lr,Nr,H,Er,Hr,Dr,Rr,Wr,Fr,_r,jr,Br,Mr,y,g,x,O,S,z,k,T,I,Qr,Ur,Pr,Vr,Xr,Yr,qr,$r,Gr,Jr,Kr,C,Zr,D,R,ni,W,ti,F,_,ri,ii,ei,oi,ui,fi,j,B,ai,ci,si,li,vi,hi=new st[vt],M=De[Ot],di={},ln={},vn={},pi={},bi={},Q="-hidden",wi="margin-",mi="padding-",yi="border-",gi="top",xi="right",Oi="bottom",Si="left",zi="min-",ki="max-",Ti="width",Ii="height",Ci="float",Ai="",Li="auto",Ni="scroll",Ei="100%",Hi="x",Di="y",U=".",Ri=" ",P="scrollbar",V="-horizontal",X="-vertical",Wi=Ni+"Left",Fi=Ni+"Top",_i="mousedown touchstart",Y="mouseup touchend touchcancel",q="mousemove touchmove",$="mouseenter",G="mouseleave",J="keydown",K="keyup",Z="selectstart",nn="transitionend webkitTransitionEnd oTransitionEnd",tn="__overlayScrollbarsRO__",rn="os-",en="os-html",on="os-host",un=on+"-textarea",fn=on+"-"+P+V+Q,an=on+"-"+P+X+Q,cn=on+"-transition",ji=on+"-rtl",Bi=on+"-resize-disabled",Mi=on+"-scrolling",Qi=on+"-overflow",Ui=Qi+"-x",Pi=Qi+"-y",hn="os-textarea",dn=hn+"-cover",pn="os-padding",bn="os-viewport",wn=bn+"-native-scrollbars-invisible",mn=bn+"-native-scrollbars-overlaid",yn="os-content",Vi="os-content-arrange",Xi="os-content-glue",Yi="os-size-auto-observer",gn="os-resize-observer",xn="os-resize-observer-item",On=xn+"-final",Sn="os-text-inherit",zn=rn+P,kn=zn+"-track",Tn=kn+"-off",In=zn+"-handle",Cn=In+"-off",An=zn+"-unusable",Ln=zn+"-"+Li+Q,Nn=zn+"-corner",qi=Nn+"-resize",$i=qi+"-both",Gi=qi+V,Ji=qi+X,En=zn+V,Hn=zn+X,Dn="os-dragging",Ki="os-theme-none",Rn=[],Wn={},Zi={},ne=42,Fn=[];if(hi.sleep=function(){er=!0},hi.update=function(n){var t,r,i=ot(n)==bt,e=i&&"+"==n.slice(-1);i?0===n.indexOf(Li)?(t=function d(){if(er||ni)return!1;var n=cr.attr(gt)||Ai,t=me(n,y),r=cr.attr(yt)||Ai,i=me(r,g),e=cr.attr(ke)||Ai,o=me(e,x),u=cr.is(":visible")||Ai,f=me(u,O),a=Yt&&ar.attr("rows")||Ai,c=me(a,S),s=Yt&&ar.attr("cols")||Ai,l=me(s,z),v=Yt&&ar.attr("wrap")||Ai,h=me(v,k);return y=n,i&&(i=qn(g,r)),g=r,x=e,O=u,S=a,z=s,k=v,t||i||o||f||c||l||h}(),r=function c(){if(er)return!1;var n,t=Yt&&zr&&!Br?ar.val().length:0,r=!ni&&zr&&!Yt,i={},e={};Pt&&(i={x:dr[0][Ne],y:dr[0][Ce]}),r&&(n=br.css(Ci),e[Ci]=ir?xi:Si,e[Ti]=Li,br.css(e));var o={w:be()[Ne]+t,h:be()[Ce]+t};r&&(e[Ci]=n,e[Ti]=Ei,br.css(e));var u=oe(),f=ye(o,T),a=ye(i,C,Hi,Di);return T=o,C=i,f||u||a}(),(t||r||e)&&fe(!1,r,!1,e)):"zoom"===n&&fe(!0,!0):(n=er||n,fe(er=!1,!1,n,!0)),Yt||br.find("img").each(function(n,t){-1===Ee.inA(t,Fn)&&De(t).off("load",Yn).on("load",Yn)})},hi.options=function(n,t){if(De.isEmptyObject(n)||!De.isPlainObject(n)){if(ot(n)!=bt)return o;if(1<arguments.length){var r={};return function a(n,t,r){for(var i=t.split(U),e=i.length,o=0,u={},f=u;o<e;o++)u=u[i[o]]=o+1<e?{}:r;De.extend(n,f,!0)}(r,n,t),$n(r),void fe()}return et(o,n)}$n(n);var i=er||!1;er=!1,fe(),er=i},hi.destroy=function(){for(var n in Xt=!0,Wt.remove(hi),ie(),Bn(lr),Gt&&Bn(sr),Wn)hi.removeExt(n);ee(!0),Jn(!0),vr&&ut(vr),pr&&ut(pr),Gt&&ut(sr),Kn(!0),tt(!0),Gn(!0);for(var t=0;t<Fn[xt];t++)De(Fn[t]).off("load",Yn);for(var r in Fn=ze,zt(i,0),he("onDestroyed"),hi)delete hi[r];hi=ze},hi.scroll=function(n,t,r,i){if(0===arguments.length||n===ze){var e=ln,o=vn,u=Yr&&ir&&jt.i,f=Yr&&ir&&jt.n,a=e.cs,c=e.csr,s=e.ms;return a=u?s-a:a,{x:{position:a*=f?-1:1,ratio:c=u?1-c:c,max:s*=f?-1:1,handleOffset:e.ho,handleLength:e.hl,handleLengthRatio:e.hlr,trackLength:e.tl,isRTL:ir,isRTLNormalized:Yr},y:{position:o.cs,ratio:o.csr,max:o.ms,handleOffset:o.ho,handleLength:o.hl,handleLengthRatio:o.hlr,trackLength:o.tl},position:{x:a,y:o.cs},ratio:{x:c,y:o.csr},max:{x:s,y:o.ms},handleOffset:{x:e.ho,y:o.ho},handleLength:{x:e.hl,y:o.hl},handleLengthRatio:{x:e.hlr,y:o.hlr},trackLength:{x:e.tl,y:o.tl},isRTL:ir,isRTLNormalized:Yr}}var m,l,v,h,d,y,g,p,b,x=Yr,w=[Hi,Si,"l"],O=[Di,gi,"t"],S=["+=","-=","*=","/="],z=ot(t)==ht,k=z?t.complete:i,T={},I={},C="begin",A="nearest",L="never",N="ifneeded",E=xt,H=[Hi,Di,"xy","yx"],D=[C,"end","center",A],R=["always",L,N],W=n.hasOwnProperty("el"),F=W?n.el:n,_=!!(F instanceof De||St)&&F instanceof St,j=!_&&rt(F),B=ot(k)!=dt?ze:function(){l&&le(!0),v&&le(!1),k()},M=function(n,t){for(m=0;m<t[E];m++)if(n===t[m])return!0;return!1},Q=function(n,t){var r=n?w:O;if(ot(t=ot(t)==bt||ot(t)==mt?[t,t]:t)==pt)return n?t[0]:t[1];if(ot(t)==ht)for(x=ot(t.n)==wt?t.n:x,m=0;m<r[E];m++)if(r[m]in t)return t[r[m]]},U=function(n,t){var r,i,e=ot(t)==bt;e&&hi.update(Li+"+");var o,u=n?ln:vn,f=u.cs,a=u.ms,c=ir&&n,s=c&&jt.n&&!x,l="replace",v=eval;if(e){if(2<t[E]){var h=t.substr(0,2);for(m=0;m<S[E];m++)if(h===S[m]){r=S[m];break}}i=pe(pe(v(t=(t=(t=(t=(t=(t=(t=(t=(t=r!==ze?t.substr(2):t)[l](/min/g,0))[l](/</g,0))[l](/max/g,(s?"-":Ai)+Ei))[l](/>/g,(s?"-":Ai)+Ei))[l](/px/g,Ai))[l](/%/g," * "+a*(c&&jt.n?-1:1)/100))[l](/vw/g," * "+pi.w))[l](/vh/g," * "+pi.h)),!0).toFixed())}else i=t;if(i!==ze&&!isNaN(i)&&ot(i)==mt){var d=x&&c,p=f*(d&&jt.n?-1:1),b=d&&jt.i,w=d&&jt.n;switch(p=b?a-p:p,r){case"+=":o=p+i;break;case"-=":o=p-i;break;case"*=":o=p*i;break;case"/=":o=p/i;break;default:o=i}o=b?a-o:o,o*=w?-1:1,o=c&&jt.n?He.min(0,He.max(a,o)):He.max(0,He.min(a,o))}return o===f?ze:o},P=function(n,t,r,i){var e,o,u=[r,r],f=ot(n);if(f==t)n=[n,n];else if(f==pt){if(2<(e=n[E])||e<1)n=u;else for(1===e&&(n[1]=r),m=0;m<e;m++)if(ot(o=n[m])!=t||!M(o,i)){n=u;break}}else n=f==ht?[n[Hi]||r,n[Di]||r]:u;return{x:n[0],y:n[1]}},V=function(n){var t,r,i=[],e=[gi,xi,Oi,Si];for(m=0;m<n[E]&&m!==e[E];m++)(r=ot(t=n[m]))==wt?i.push(t?pe(b.css(wi+e[m])):0):i.push(r==mt?t:0);return i};if(_||j){var X,Y=W?n.margin:0,q=W?n.axis:0,$=W?n.scroll:0,G=W?n.block:0,J=[0,0,0,0],K=ot(Y);if(0===(b=_?F:De(F))[E])return;hi.update(Li+"+"),Y=K==mt||K==wt?V([Y,Y,Y,Y]):K==pt?2===(X=Y[E])?V([Y[0],Y[1],Y[0],Y[1]]):4<=X?V(Y):J:K==ht?V([Y[gi],Y[xi],Y[Oi],Y[Si]]):J,d=M(q,H)?q:"xy",y=P($,bt,"always",R),g=P(G,bt,C,D),p=Y;var Z=ln.cs,nn=vn.cs,tn=hr.offset(),rn=b.offset(),en={x:y.x==L||d==Di,y:y.y==L||d==Hi};rn[gi]-=p[0],rn[Si]-=p[3];var on={x:He.round(rn[Si]-tn[Si]+Z),y:He.round(rn[gi]-tn[gi]+nn)};if(ir&&(jt.n||jt.i||(on.x=He.round(tn[Si]-rn[Si]+Z)),jt.n&&x&&(on.x*=-1),jt.i&&x&&(on.x=He.round(tn[Si]-rn[Si]+(ln.ms-Z)))),g.x!=C||g.y!=C||y.x==N||y.y==N||ir){var un=b[0],fn=sn?un.getBoundingClientRect():{width:un[Ae],height:un[Te]},an={w:fn[Ti]+p[3]+p[1],h:fn[Ii]+p[0]+p[2]},cn=function(n){var t=nt(n),r=t.u,i=t.lt,e=t.xy,o=g[e]==(n&&ir?C:"end"),u="center"==g[e],f=g[e]==A,a=y[e]==L,c=y[e]==N,s=pi[r],l=tn[i],v=an[r],h=rn[i],d=u?2:1,p=h+v/2,b=l+s/2,w=v<=s&&l<=h&&h+v<=l+s;a?en[e]=!0:en[e]||((f||c)&&(en[e]=!!c&&w,o=v<s?b<p:p<b),on[e]-=o||u?(s/d-v/d)*(n&&ir&&x?-1:1):0)};cn(!0),cn(!1)}en.y&&delete on.y,en.x&&delete on.x,n=on}T[Wi]=U(!0,Q(!0,n)),T[Fi]=U(!1,Q(!1,n)),l=T[Wi]!==ze,v=T[Fi]!==ze,(l||v)&&(0<t||z)?z?(t.complete=B,dr.animate(T,t)):(h={duration:t,complete:B},ot(r)==pt||De.isPlainObject(r)?(I[Wi]=r[0]||r.x,I[Fi]=r[1]||r.y,h.specialEasing=I):h.easing=r,dr.animate(T,h)):(l&&dr[Wi](T[Wi]),v&&dr[Fi](T[Fi]))},hi.scrollStop=function(n,t,r){return dr.stop(n,t,r),hi},hi.getElements=function(n){var t={target:ar[0],host:cr[0],padding:hr[0],viewport:dr[0],content:br[0],scrollbarHorizontal:{scrollbar:u[0],track:a[0],handle:l[0]},scrollbarVertical:{scrollbar:b[0],track:w[0],handle:m[0]},scrollbarCorner:mr[0]};return ot(n)==bt?et(t,n):t},hi.getState=function(n){var t=function(n){if(!De.isPlainObject(n))return n;var r=xe(!0,{},n),t=function(n,t){r.hasOwnProperty(n)&&(r[t]=r[n],delete r[n])};return t("w",Ti),t("h",Ii),delete r.c,r},r={sleeping:t(er)||!1,autoUpdate:t(!ni),widthAuto:t(zr),heightAuto:t(kr),padding:t(Cr),overflowAmount:t(Wr),hideOverflow:t(Sr),hasOverflow:t(Or),contentScrollSize:t(gr),viewportSize:t(pi),hostSize:t(yr),documentMixed:t(d)};return ot(n)==bt?et(r,n):r},hi.ext=function(n){var t,r="added removed on contract".split(" "),i=0;if(ot(n)==bt){if(Wn.hasOwnProperty(n))for(t=xe(!0,{},Wn[n]);i<r.length;i++)delete t[r[i]]}else for(i in t={},Wn)t[i]=xe(!0,{},hi.ext(i));return t},hi.addExt=function(n,t){var r,i,e,o,u=st[vt].extension(n),f=!0;if(u){if(Wn.hasOwnProperty(n))return hi.ext(n);if((r=u.extensionFactory.call(hi,xe(!0,{},u.defaultOptions),De,Ee))&&(ot(e=r.contract)==dt&&(f=ot(o=e(st))==wt?o:f),f))return ot(i=(Wn[n]=r).added)==dt&&i(t),hi.ext(n)}else console.warn('A extension with the name "'+n+"\" isn't registered.")},hi.removeExt=function(n){var t,r=Wn[n];return!!r&&(delete Wn[n],ot(t=r.removed)==dt&&t(),!0)},function at(n,t,r){return e=Rt.defaultOptions,Mt=Rt.nativeScrollbarStyling,Ut=xe(!0,{},Rt.nativeScrollbarSize),Ft=xe(!0,{},Rt.nativeScrollbarIsOverlaid),_t=xe(!0,{},Rt.overlayScrollbarDummySize),jt=xe(!0,{},Rt.rtlScrollBehavior),$n(xe(!0,{},e,ct.v(t,ct.t,!0))),Ft.x&&Ft.x&&!or.nativeScrollbarsOverlaid.initialize?(he("onInitializationWithdrawn"),!1):(Qt=Rt.cssCalc,A=Rt.msie,Bt=Rt.autoUpdateRecommended,v=Rt.supportTransition,sn=Rt.supportTransform,h=Rt.supportPassiveEvents,L=Rt.supportResizeObserver,c=Rt.supportMutationObserver,Pt=Rt.restrictedMeasuring,N=De(n.ownerDocument),p=De(N[0].defaultView||N[0].parentWindow),s=ft(N,"html"),E=ft(s,"body"),ar=De(n),Yt=ar.is("textarea"),qt=ar.is("body"),d=N[0]!==lt,qt&&((i={}).l=He.max(ar[Wi](),s[Wi](),p[Wi]()),i.t=He.max(ar[Fi](),s[Fi](),p[Fi]())),Gn(),Jn(),Kn(),Zn(!0),Zn(!1),tt(),function a(){var t=p.top!==p,i={},e={};function r(n){if(u(n)){var t=f(n),r={};(si||ci)&&(r[Ti]=e.w+t.x-i.x),(li||ci)&&(r[Ii]=e.h+t.y-i.y),cr.css(r),Ee.stpP(n)}else o(n)}function o(n){var t=n!==ze;N.off(Z,Xn).off(q,r).off(Y,o),Se(E,Dn),mr.releaseCapture&&mr.releaseCapture(),t&&(B&&re(),hi.update(Li)),B=!1}function u(n){var t=(n.originalEvent||n).touches!==ze;return!er&&!Xt&&(1===Ee.mBtn(n)||t)}function f(n){return A&&t?{x:n.screenX,y:n.screenY}:Ee.page(n)}vi=function(n){u(n)&&(ni&&(B=!0,ie()),i=f(n),e.w=cr[0][Ae]-($t?0:Jt),e.h=cr[0][Te]-($t?0:Kt),N.on(Z,Xn).on(q,r).on(Y,o),Oe(E,Dn),mr.setCapture&&mr.setCapture(),Ee.prvD(n),Ee.stpP(n))}}(),Mn(),qt&&(dr[Wi](i.l)[Fi](i.t),lt.activeElement==n&&dr[0].focus&&(dr.attr("tabindex","-1"),dr[0].focus(),dr.one(_i,function(){dr.removeAttr("tabindex")}))),te(lr,Qn),Qn(),hi.update(Li),Vt=!0,he("onInitialized"),De.each(Rn,function(n,t){he(t.n,t.a)}),Rn=[],ot(r)==bt&&(r=[r]),Ee.isA(r)?De.each(r,function(n,t){hi.addExt(t)}):De.isPlainObject(r)&&De.each(r,function(n,t){hi.addExt(n,t)}),setTimeout(function(){v&&!Xt&&Oe(cr,cn)},333),Vt);var i}(i,n,t))return zt(i,hi),hi;hi=ze}function _n(n,t,r){for(var i=t.split(Ri),e=0;e<i.length;e++)n[0].addEventListener(i[e],r,{passive:!0})}function jn(n,t,r){for(var i=t.split(Ri),e=0;e<i.length;e++)n[0].removeEventListener(i[e],r,{passive:!0})}function te(e,n){var o=3333333,t=Ee.rO(),r="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart",i="childNodes",u=function(){e[Fi](o)[Wi](ir?jt.n?-o:jt.i?0:o:o),n()};if(L){var f=e.append(we(gn+" observed")).contents()[0];(f[tn]=new t(u)).observe(f)}else if(9<A||!Bt){e.prepend(we(gn,we({className:xn,dir:"ltr"},we(xn,we(On))+we(xn,we({className:On,style:"width: 200%; height: 200%"})))));var a,c,s,l,v=e[0][i][0][i][0],h=De(v[i][1]),d=De(v[i][0]),p=De(d[0][i][0]),b=v[Ae],w=v[Te],m=Rt.nativeScrollbarSize,y=function(){d[Wi](o)[Fi](o),h[Wi](o)[Fi](o)},g=function(){c=0,a&&(b=s,w=l,u())},x=function(n){return s=v[Ae],l=v[Te],a=s!=b||l!=w,n&&a&&!c?(Ee.cAF()(c),c=Ee.rAF()(g)):n||g(),y(),n&&(Ee.prvD(n),Ee.stpP(n)),!1},O={},S={};S[gi]=-2*(m.y+1),S[xi]=-2*m.x,S[Oi]=-2*m.y,S[Si]=-2*(m.x+1),De(v).css(S),d.on(Ni,x),h.on(Ni,x),e.on(r,function(){x(!1)}),O[Ti]=o,O[Ii]=o,p.css(O),y()}else{var z=N[0],k=z.attachEvent,T=A!==ze;if(k)e.prepend(we(gn)),ft(e,U+gn)[0].attachEvent("onresize",u);else{var I=z.createElement(ht);I.setAttribute("tabindex","-1"),I.setAttribute(yt,gn),I.onload=function(){var n=this.contentDocument.defaultView;n.addEventListener("resize",u),n.document.documentElement.style.display="none"},I.type="text/html",T&&e.prepend(I),I.data="about:blank",T||e.prepend(I),e.on(r,u)}}if(e[0]===lr[0]){var C=function(){var n=cr.css("direction"),t={},r=0,i=!1;return n!==H&&(r="ltr"===n?(t[Si]=0,t[xi]=Li,o):(t[Si]=Li,t[xi]=0,jt.n?-o:jt.i?0:o),lr.children().eq(0).css(t),e[Wi](r)[Fi](o),H=n,i=!0),i};C(),e.on(Ni,function(n){return C()&&fe(),Ee.prvD(n),Ee.stpP(n),!1})}}function Bn(n){if(L){var t=n.contents()[0];t[tn].disconnect(),delete t[tn]}else ut(n.children(U+gn).eq(0))}function Mn(){if(c){var i,e,r,o,u,f,n=Ee.mO(),a=Ee.now();D=new n(function(n){if(Vt&&!er){var t,r=!1;De.each(n,function(){if(i=(t=this).target,e=t.attributeName,r=e===yt?qn(t.oldValue,i.className):e!==ke||t.oldValue!==i[ke].cssText)return!1}),r&&hi.update(Li)}}),R=new n(function(n){if(Vt&&!er){var t=!1;De.each(n,function(){return!(t=function o(n){var t=n.attributeName,r=n.target,i=n.type,e="closest";if(r===br[0])return null===t;if("attributes"===i&&(t===yt||t===ke)&&!Yt){if(t===yt&&De(r).hasClass(on))return qn(n.oldValue,r.getAttribute(yt));if(typeof r[e]!=dt)return!0;if(null!==r[e](U+gn)||null!==r[e](U+zn)||null!==r[e](U+Nn))return!1}return!0}(this))}),t&&(o=Ee.now(),u=kr||zr,f=function(){Xt||(a=o,Yt&&ue(),u?fe():hi.update(Li))},clearTimeout(r),11<o-a||!u?f():r=setTimeout(f,11))}})}}function re(){c&&!ni&&(D.observe(cr[0],{attributes:!0,attributeOldValue:!0,attributeFilter:[gt,yt,ke]}),R.observe(Yt?ar[0]:br[0],{attributes:!0,attributeOldValue:!0,subtree:!Yt,childList:!Yt,characterData:!Yt,attributeFilter:Yt?["wrap","cols","rows"]:[gt,yt,ke]}),ni=!0)}function ie(){c&&ni&&(D.disconnect(),R.disconnect(),ni=!1)}function Qn(){if(!er){var n=lr[0],t={w:n[Ne],h:n[Ce]};if(Vt){var r=ye(t,I);I=t,r&&fe(!0,!1)}else I=t}}function Un(){ui&&ce(!0)}function Pn(){ui&&!E.hasClass(Dn)&&ce(!1)}function Vn(){oi&&(ce(!0),clearTimeout(_),_=setTimeout(function(){oi&&!Xt&&ce(!1)},100))}function ee(n){var i=n?jn:_n,e=n?"off":"on",t=function(n,t,r){h?i(n,t,r):n[e](t,r)};oi&&!n?t(cr,q,Vn):(n&&t(cr,q,Vn),t(cr,$,Un),t(cr,G,Pn)),Vt||n||cr.one("mouseover",Un)}function Xn(n){return Ee.prvD(n),!1}function Yn(){fe(!1,!0)}function oe(){var n={};return qt&&pr&&(n.w=pe(pr.css(zi+Ti)),n.h=pe(pr.css(zi+Ii)),n.c=ye(n,Kr),n.f=!0),(Kr=n).c||!1}function qn(n,t){var r=t!==ze&&null!==t?t.split(Ri):Ai,i=n!==ze&&null!==n?n.split(Ri):Ai;if(r===Ai&&i===Ai)return!1;var e,o,u,f,a,c=function d(n,t){var r,i,e=[],o=[];for(r=0;r<n.length;r++)e[n[r]]=!0;for(r=0;r<t.length;r++)e[t[r]]?delete e[t[r]]:e[t[r]]=!0;for(i in e)o.push(i);return o}(i,r),s=!1,l=$r!==ze&&null!==$r?$r.split(Ri):[Ai],v=qr!==ze&&null!==qr?qr.split(Ri):[Ai],h=De.inArray(Ki,c);for(-1<h&&c.splice(h,1),o=0;o<c.length;o++)if(0!==(e=c[o]).indexOf(on)){for(a=f=!0,u=0;u<l.length;u++)if(e===l[u]){f=!1;break}for(u=0;u<v.length;u++)if(e===v[u]){a=!1;break}if(f&&a){s=!0;break}}return s}function ue(){if(!er){var n,t,r,i,e=!Br,o=pi.w,u=pi.h,f={},a=zr||e,c=ar[0];return f[zi+Ti]=Ai,f[zi+Ii]=Ai,f[Ti]=Li,ar.css(f),n=c[Ae],t=a?He.max(n,c[Ne]-1):1,f[Ti]=zr?Li:Ei,f[zi+Ti]=Ei,f[Ii]=Li,ar.css(f),r=c[Te],i=He.max(r,c[Ce]-1),f[Ti]=t,f[Ii]=i,wr.css(f),f[zi+Ti]=o,f[zi+Ii]=u,ar.css(f),{ow:n,oh:r,dw:t,dh:i}}}function fe(n,t,r,i){var e=Ee.now(),o=0<ne&&Vt&&e-ur<ne&&!kr&&!zr&&!i,u=cr.is(":hidden"),f=me(u,Zr,r);if(Zr=u,clearTimeout(fr),o&&(Zi.h=Zi.h||n,Zi.c=Zi.c||t,Zi.f=Zi.f||r,fr=setTimeout(fe,ne)),!(Xt||o||er||Vt&&!r&&u||"inline"===cr.css("display"))){ur=e,n=n||Zi.h,t=t||Zi.c,r=r||Zi.f,Zi={},n=n!==ze&&n,t=t!==ze&&t,r=r!==ze&&r,!Mt||Ft.x&&Ft.y?Ut=xe(!0,{},Rt.nativeScrollbarSize):(Ut.x=0,Ut.y=0),bi={x:3*(Ut.x+(Ft.x?0:3)),y:3*(Ut.y+(Ft.y?0:3))};var a={l:dr[Wi](),t:dr[Fi]()},c=or.scrollbars,s=or.textarea,l=c.visibility,v=me(l,Qr,r),h=c.autoHide,d=me(h,Ur,r),p=c.clickScrolling,b=me(p,Pr,r),w=c.dragScrolling,m=me(w,Vr,r),y=or.className,g=me(y,qr,r),x=or.resize,O=me(x,Xr,r)&&!qt,S=!!Yt&&"off"!==ar.attr("wrap"),z=me(S,Br,r),k=or.paddingAbsolute,T=me(k,Er,r),I=or.clipAlways,C=me(I,Hr,r),A=or.sizeAutoCapable&&!qt,L=me(A,jr,r),N=or.nativeScrollbarsOverlaid.showNativeScrollbars,E=me(N,Fr),H=or.autoUpdate,D=me(H,_r),R=or.overflowBehavior,W=ye(R,Rr,Hi,Di,r),F=s.dynWidth,_=me(Jr,F),j=s.dynHeight,B=me(Gr,j);if(ii="n"===h,ei="s"===h,oi="m"===h,ui="l"===h,ri=c.autoHideDelay,fi=c.touchSupport,$r=qr,ai="n"===x,ci="b"===x,si="h"===x,li="v"===x,Yr=or.normalizeRTL,N=N&&Ft.x&&Ft.y,Qr=l,Ur=h,Pr=p,Vr=w,qr=y,Xr=x,Br=S,Er=k,Hr=I,jr=A,Fr=N,_r=H,Rr=xe(!0,{},R),Jr=F,Gr=j,Or=Or||{x:!1,y:!1},g&&(Se(cr,$r+Ri+Ki),Oe(cr,y!==ze&&null!==y&&0<y.length?y:Ki)),D&&(!0===H?(ie(),Wt.add(hi)):null===H&&Bt?(ie(),Wt.add(hi)):(Wt.remove(hi),re())),L)if(A)if(vr?vr.show():(vr=De(we(Xi)),hr.before(vr)),Gt)sr.show();else{sr=De(we(Yi)),vr.before(sr);var M={w:-1,h:-1};te(sr,function(){var n={w:sr[0][Ae],h:sr[0][Te]};ye(n,M)&&(Vt&&kr&&0<n.h||zr&&0<n.w?fe():(Vt&&!kr&&0===n.h||!zr&&0===n.w)&&fe()),M=n}),Gt=!0,null!==Qt&&sr.css(Ii,Qt+"(100% + 1px)")}else Gt&&sr.hide(),vr&&vr.hide();r&&(lr.find("*").trigger(Ni),Gt&&sr.find("*").trigger(Ni));var Q,U=cr.css("direction"),P=me(U,Nr,r),V=cr.css("box-sizing"),X=me(V,Ir,r),Y={c:r,t:pe(cr.css(mi+gi)),r:pe(cr.css(mi+xi)),b:pe(cr.css(mi+Oi)),l:pe(cr.css(mi+Si))};try{Q=Gt?sr[0].getBoundingClientRect():null}catch(Ht){return}$t="border-box"===V;var q=(ir="rtl"===U)?Si:xi,$=ir?xi:Si,G=cr[0],J=hr[0],K=!1,Z=!(!Gt||"none"===cr.css(Ci))&&(0===He.round(Q.right-Q.left)&&(!!k||0<G[Le]-Jt));if(A&&!Z){var nn=G[Ae],tn=vr.css(Ti);vr.css(Ti,Li);var rn=G[Ae];vr.css(Ti,tn),(K=nn!==rn)||(vr.css(Ti,nn+1),rn=G[Ae],vr.css(Ti,tn),K=nn!==rn)}var en=(Z||K)&&A&&!u,on=me(en,zr,r),un=!en&&zr,fn=!(!Gt||!A||u)&&0===He.round(Q.bottom-Q.top),an=me(fn,kr,r),cn=!fn&&kr,sn="-"+Ti,ln=en&&$t||!$t,vn=fn&&$t||!$t,hn={c:r,t:vn?pe(cr.css(yi+gi+sn),!0):0,r:ln?pe(cr.css(yi+xi+sn),!0):0,b:vn?pe(cr.css(yi+Oi+sn),!0):0,l:ln?pe(cr.css(yi+Si+sn),!0):0},dn={c:r,t:pe(cr.css(wi+gi)),r:pe(cr.css(wi+xi)),b:pe(cr.css(wi+Oi)),l:pe(cr.css(wi+Si))},pn={h:String(cr.css(ki+Ii)),w:String(cr.css(ki+Ti))},bn={},wn={},mn=function(){return{w:G[Le],h:G[Ie]}},yn=function(){var n=J.getBoundingClientRect();return n[Ti]?{w:n[Ti],h:n[Ii]}:{w:J[Ae],h:J[Te]}};if(Jt=Y.l+Y.r,Kt=Y.t+Y.b,Y.ax=k?Jt:0,Y.ay=k?Kt:0,Y.c=ge(Y,Cr),Zt=hn.l+hn.r,nr=hn.t+hn.b,hn.c=ge(hn,Ar),tr=dn.l+dn.r,rr=dn.t+dn.b,dn.c=ge(dn,Lr),pn.ih=pe(pn.h),pn.iw=pe(pn.w),pn.ch=-1<pn.h.indexOf("px"),pn.cw=-1<pn.w.indexOf("px"),pn.c=ye(pn,Tr,r),Nr=U,Ir=V,zr=en,kr=fn,Cr=Y,Ar=hn,Lr=dn,Tr=pn,P&&Gt&&sr.css(Ci,$),Y.c||P||T||on||an||X||L){var gn={},xn={};de(wn,wi,[-Y.t,-Y.r,-Y.b,-Y.l]),k?(de(gn,Ai,[Y.t,Y.r,Y.b,Y.l]),de(Yt?xn:bn,mi)):(de(gn,Ai),de(Yt?xn:bn,mi,[Y.t,Y.r,Y.b,Y.l])),hr.css(gn),ar.css(xn)}pi=yn();var On=!!Yt&&ue();if(fn&&(an||T||X||pn.c||Y.c||hn.c)?(pn.cw&&(bn[ki+Ii]=pn.ch?pn.ih-Y.ay+($t?-nr:Kt):Ai),bn[Ii]=Li):(an||T)&&(bn[ki+Ii]=Ai,bn[Ii]=Ei),en&&(on||T||X||pn.c||Y.c||hn.c||P)?(pn.cw&&(bn[ki+Ti]=pn.cw?pn.iw-Y.ax+($t?-Zt:Jt)+(Ft.y?_t.y:0):Ai),bn[Ti]=Li,wn[ki+Ti]=Ei):(on||T)&&(bn[ki+Ti]=Ai,bn[Ti]=Ei,bn[Ci]=Ai,wn[ki+Ti]=Ai),en?(pn.cw||(bn[ki+Ti]=Ai),wn[Ti]=Yt&&F?On.dw:Li,bn[Ti]=Li,bn[Ci]=$):wn[Ti]=Ai,wn[Ii]=fn?(pn.ch||(bn[ki+Ii]=Ai),Yt?j?On.dh:Li:br[0][Ie]):Ai,A&&vr.css(wn),br.css(bn),bn={},wn={},n||t||P||X||T||on||en||an||fn||pn.c||E||W||C||O||v||d||m||b||_||B||z||r){var Sn="overflow",zn=Sn+"-x",kn=Sn+"-y",Tn=Pt?Ft.x||Ft.y||pi.w<bi.y||pi.h<bi.x||fn||f:fn,In={},Cn=Or.y&&Sr.ys&&!N?Ft.y?dr.css(q):-Ut.y:0,An=Or.x&&Sr.xs&&!N?Ft.x?dr.css(Oi):-Ut.x:0;de(In,Ai),dr.css(In),Tn&&br.css(Sn,"hidden");var Ln=be(),Nn=Pt&&!Tn?dr[0]:Ln,En={w:Ln[Le],h:Ln[Ie]},Hn={w:He.max(Ln[Ne],Nn[Ne]),h:He.max(Ln[Ce],Nn[Ce])},Dn=Yt&&On&&!F?On.ow:en?En.w:Hn.w,Rn=Yt&&On&&!j?On.oh:fn?En.h:Hn.h;In[Oi]=cn?Ai:An,In[q]=un?Ai:Cn,dr.css(In),pi=yn();var Wn=mn(),Fn={w:He.max(Dn+Y.ax,Wn.w-Jt),h:He.max(Rn+Y.ay,Wn.h-Kt)};if(Fn.c=ye(Fn,Dr,r),Dr=Fn,A){(Fn.c||fn||en)&&(wn[Ti]=Fn.w,wn[Ii]=Fn.h);var _n=wn[Ti]+($t?Zt:-Jt),jn=wn[Ii]+($t?nr:-Kt),Bn={};(!en||!en&&hn.c)&&(wn[Ti]=Wn.w-($t?0:Jt+Zt)-1-tr),(!fn||!fn&&hn.c)&&(wn[Ii]=Wn.h-($t?0:Kt+nr)-1-rr),en&&pn.cw&&pn.iw===_n&&(wn[Ti]=_n+($t?0:Jt)+1),fn&&pn.ch&&pn.ih===jn&&(wn[Ii]=jn+($t?0:Kt)+1),en&&(En.w<pi.w||Yt&&!S)&&0===Jt&&(Yt&&(Bn[Ti]=pe(wr.css(Ti))-1),wn[Ti]-=1),fn&&(En.h<pi.h||Yt)&&0===Kt&&(Yt&&(Bn[Ii]=pe(wr.css(Ii))-1),wn[Ii]-=1),0<Rn&&(wn[Ti]=He.max(1,wn[Ti]),wn[Ii]=He.max(1,wn[Ii])),Yt&&wr.css(Bn),vr.css(wn)}en&&(bn[Ti]=Ei),!en||$t||ni||(bn[Ci]="none"),br.css(bn),bn={};var Mn=Ln.getBoundingClientRect(),Qn=Mn[Ti]||0,Un=Mn[Ii]||0,Pn={w:He.max(Ln[Ne],Nn[Ne])+pe(Qn)-Qn,h:He.max(Ln[Ce],Nn[Ce])+pe(Un)-Un};Pn.c=t=ye(Pn,gr,r),gr=Pn,Tn&&br.css(Sn,Ai),pi=yn(),n=ye(Wn=mn(),yr),yr=Wn;var Vn={x:"v-s"===R.x,y:"v-s"===R.y},Xn="v-h"===R.x,Yn="v-h"===R.y,qn={x:"s"===R.x,y:"s"===R.y},$n={x:He.max(0,He.round(100*(Pn.w-pi.w))/100),y:He.max(0,He.round(100*(Pn.h-pi.h))/100)},Gn=Yt&&(0===pi.w||0===pi.h),Jn=0===dr[0].scrollLeftMax&&0<$n.x&&$n.x<1||0===dr[0].scrollTopMax&&0<$n.y&&$n.y<1;(Gn||Jn)&&($n.x=$n.y=0);var Kn={x:0<$n.x,y:0<$n.y},Zn={x:Kn.x,y:Kn.y};(Vn.x||Xn)&&(Zn.x=Kn.y&&!Vn.y&&!Yn),(Vn.y||Yn)&&(Zn.y=Kn.x&&!Vn.x&&!Xn),Zn.xs=!!Zn.x&&(qn.x||Vn.x),Zn.ys=!!Zn.y&&(qn.y||Vn.y);var nt={x:Kn.x&&Zn.xs,y:Kn.y&&Zn.ys},tt=Wr;if($n.c=ye($n,Wr,Hi,Di,r),Wr=$n,Kn.c=ye(Kn,Or,Hi,Di,r),Or=Kn,Zn.c=ye(Zn,Sr,Hi,Di,r),Sr=Zn,Ft.x||Ft.y){var rt="px solid transparent",it={},et={},ot=r;(Kn.x||Kn.y)&&(et.w=Ft.y&&Kn.y?Pn.w+_t.y:Ai,et.h=Ft.x&&Kn.x?Pn.h+_t.x:Ai,ot=me(et,xr,r),xr=et),(Kn.c||Zn.c||Pn.c||P||on||an||en||fn||E)&&(bn[wi+$]=bn[yi+$]=Ai,Ft.x&&Kn.x&&Zn.xs?(bn[wi+Oi]=fn?N?Ai:_t.x:Ai,bn[yi+Oi]=fn||N?Ai:_t.x+rt):(et.h=bn[wi+Oi]=bn[yi+Oi]=Ai,ot=!0),Ft.y&&Kn.y&&Zn.ys?(bn[wi+q]=en?N?Ai:_t.y:Ai,bn[yi+q]=N?Ai:_t.y+rt):(et.w=bn[wi+q]=bn[yi+q]=Ai,ot=!0)),N&&(et.w=et.h=Ai,ot=!0),ot&&(it[Ti]=Zn.y?et.w:Ai,it[Ii]=Zn.x?et.h:Ai,pr||(pr=De(we(Vi)),dr.prepend(pr)),pr.css(it)),br.css(bn)}var ut={};gn={};if(n||Kn.c||Zn.c||Pn.c||W||X||E||P||C||an){ut[$]=Ai;var ft=function(){ut[Oi]=Ai,di.h=0},at=function(){ut[q]=Ai,di.w=0};if(Kn.x&&Zn.xs?(ut[zn]=Ni,N?ft():(ut[Oi]=-(Ft.x?_t.x:Ut.x),di.h=Ft.x?_t.y:0)):(ut[zn]=Ai,ft()),Kn.y&&Zn.ys?(ut[kn]=Ni,N?at():(ut[q]=-(Ft.y?_t.y:Ut.y),di.w=Ft.y?_t.x:0)):(ut[kn]=Ai,at()),(pi.h<bi.x||pi.w<bi.y)&&(Kn.x&&Zn.x&&!Ft.x||Kn.y&&Zn.y&&!Ft.y)?(ut[mi+gi]=bi.x,ut[wi+gi]=-bi.x,ut[mi+$]=bi.y,ut[wi+$]=-bi.y):ut[mi+gi]=ut[wi+gi]=ut[mi+$]=ut[wi+$]=Ai,ut[mi+q]=ut[wi+q]=Ai,Kn.x&&Zn.x||Kn.y&&Zn.y||Gn?Yt&&Gn&&(gn[zn]=gn[kn]="hidden"):(!I||Xn||Vn.x||Yn||Vn.y)&&(Yt&&(gn[zn]=gn[kn]=Ai),ut[zn]=ut[kn]="visible"),hr.css(gn),dr.css(ut),ut={},(Kn.c||X||on||an)&&(!Ft.x||!Ft.y)){var ct=br[0],st=ct[ke];st.webkitTransform="scale(1)",st.display="run-in",ct[Te],st.display=Ai,st.webkitTransform=Ai}}if(bn={},P||on||an)if(ir&&en){var lt=br.css(Ci),vt=He.round(br.css(Ci,Ai).css(Si,Ai).position().left);br.css(Ci,lt),vt!==He.round(br.position().left)&&(bn[Si]=vt)}else bn[Si]=Ai;br.css(bn);var ht,dt,pt="v"===l,bt="h"===l,wt="a"===l,mt=Ee.bind(ae,0,!0,!0,nt.x),yt=Ee.bind(ae,0,!1,!0,nt.y),gt=Ee.bind(ae,0,!0,!1,nt.x),xt=Ee.bind(ae,0,!1,!1,nt.y);if(Zn.x||Zn.y?Oe(cr,Qi):Se(cr,Qi),Zn.x?Oe(cr,Ui):Se(cr,Ui),Zn.y?Oe(cr,Pi):Se(cr,Pi),P&&(ir?Oe(cr,ji):Se(cr,ji)),qt&&Oe(cr,Bi),O){var Ot=function(){mr.off(_i,vi)};ai?(Oe(cr,Bi),Se(mr,[qi,$i,Gi,Ji].join(Ri)),Ot()):(Se(cr,Bi),Oe(mr,qi),ci?Oe(mr,$i):si?Oe(mr,Gi):li&&Oe(mr,Ji),Ot(),mr.on(_i,vi))}if((v||W||Zn.c||Kn.c||E)&&(N?E&&(Se(cr,Mi),N&&(gt(),xt())):wt?(nt.x?mt():gt(),nt.y?yt():xt()):pt?(mt(),yt()):bt&&(gt(),xt())),(d||E)&&(ui||oi?(ee(!0),ee()):ee(!0),ii?ce(!0):ce(!1,!0)),(n||$n.c||an||on||O||X||T||E||P)&&(se(!0),le(!0,a.l),se(!1),le(!1,a.t)),b&&ve(!0,p),m&&ve(!1,w),Yt&&t){var St=function Dt(){var n=ar[0].selectionStart;if(n===ze)return;var t,r,i="length",e=ar.val(),o=e[i],u=e.split("\n"),f=u[i],a=e.substr(0,n).split("\n"),c=0,s=0,l=a[i],v=a[a[i]-1][i];for(r=0;r<u[i];r++)t=u[r][i],s<t&&(c=r+1,s=t);return{cR:l,cC:v,r:f,c:s,w:c,p:n,m:o}}();if(St){var zt=Mr===ze||St.rows!==Mr.rows,kt=St.cR,Tt=St.cC,It=St.w,Ct=St.r,At=St.c,Lt=St.p,Nt=St.m<=Lt&&ti,Et={x:S||Tt!==At||kt!==It?-1:Wr.x,y:(S?Nt||zt&&tt!==ze&&a.t===tt.y:(Nt||zt)&&kt===Ct)?Wr.y:-1};ht=-1<Et.x,(dt=-1<Et.y)&&dr[Fi](Et.y),ht&&(ir&&Yr&&jt.i?dr[Wi](0):dr[Wi](Et.x))}Mr=St}ir&&jt.i&&Ft.y&&Kn.x&&Yr&&(a.l+=di.w||0),ht||dr[Wi](a.l),dt||dr[Fi](a.t),en&&cr[Wi](0),fn&&cr[Fi](0),P&&he("onDirectionChanged",{isRTL:ir,dir:U}),n&&he("onHostSizeChanged",{width:yr.w,height:yr.h}),t&&he("onContentSizeChanged",{width:gr.w,height:gr.h}),(Kn.c||Zn.c)&&he("onOverflowChanged",{x:Kn.x,y:Kn.y,xScrollable:Zn.xs,yScrollable:Zn.ys,clipped:Zn.x||Zn.y}),$n.c&&he("onOverflowAmountChanged",{x:$n.x,y:$n.y})}qt&&(Or.c||Kr.c)&&(Kr.f||oe(),Ft.y&&Or.x&&br.css(zi+Ti,Kr.w+_t.y),Ft.x&&Or.y&&br.css(zi+Ii,Kr.h+_t.x),Kr.c=!1),he("onUpdated",{forced:r})}}function $n(n){o=xe(!0,{},o,ct.v(n,ct.t,!0)),or=xe(!0,{},or,ct.v(n,ct.t,!1,!0))}function Gn(i){var n=or.textarea.inheritedAttrs,e={},t=function(){var r=i?ar:cr;De.each(e,function(n,t){ot(t)==bt&&(n==yt?r.addClass(t):r.attr(n,t))})},r=[on,un,Bi,ji,fn,an,cn,Mi,Qi,Ui,Pi,Ki,hn,Sn,qr].join(Ri);if(ot(n=ot(n)==bt?n.split(" "):n)==pt&&De.each(n,function(n,t){ot(t)==bt&&(e[t]=i?cr.attr(t):ar.attr(t))}),i)br.contents().unwrap().unwrap().unwrap(),Se(cr,r),Yt?(ar.removeAttr(ke),f&&t(),Se(ar,r),ut(wr),f?(ar.unwrap(),ut(cr)):Oe(cr,un)):Se(ar,on),qt&&Se(s,en),ut(lr);else{if(Yt){var o={},u=ar.parent();f=!(u.hasClass(un)&&1===u.children()[xt]),or.sizeAutoCapable||(o[Ti]=ar.css(Ti),o[Ii]=ar.css(Ii)),f&&ar.wrap(we(un)),(cr=ar.parent()).css(o).wrapInner(we(yn+Ri+Sn)).wrapInner(we(bn+Ri+Sn)).wrapInner(we(pn+Ri+Sn)),br=ft(cr,U+yn),dr=ft(cr,U+bn),hr=ft(cr,U+pn),wr=De(we(dn)),br.prepend(wr),Oe(ar,hn+Ri+Sn),f&&t()}else(cr=ar).wrapInner(we(yn)).wrapInner(we(bn)).wrapInner(we(pn)),br=ft(cr,U+yn),dr=ft(cr,U+bn),hr=ft(cr,U+pn),Oe(ar,on);Mt&&Oe(dr,Ft.x&&Ft.y?mn:wn),qt&&Oe(s,en),lr=De(we("os-resize-observer-host")),cr.prepend(lr)}}function Jn(n){var r,t,i,e,o=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],u=[],f=n?"off":"on";!n&&Yt&&(i=function(n){ue(),hi.update(Li),n&&clearInterval(r)},(W={})[Ni]=function(n){return ar[Wi](jt.i&&Yr?9999999:0),ar[Fi](0),Ee.prvD(n),Ee.stpP(n),!1},W.drop=function(){setTimeout(function(){Xt||i()},50)},W.focus=function(){ti=!0},W.focusout=function(){i(!(ti=!(u=[])))},9<A||!Bt?W.input=function(){i()}:(W[J]=function(n){var t=n.keyCode;-1<De.inArray(t,o)||(u.length||(i(),r=setInterval(i,1e3/60)),-1===De.inArray(t,u)&&u.push(t))},W[K]=function(n){var t=n.keyCode,r=De.inArray(t,u);-1<De.inArray(t,o)||(-1<r&&u.splice(r,1),u.length||i(!0))})),Yt?De.each(W,function(n,t){ar[f](n,t)}):br[f](nn,function(n){!0!==_r&&function l(n){if(!Vt)return!0;var t="flex-grow",r="flex-shrink",i="flex-basis",e=[Ti,zi+Ti,ki+Ti,wi+Si,wi+xi,Si,xi,"font-weight","word-spacing",t,r,i],o=[mi+Si,mi+xi,yi+Si+Ti,yi+xi+Ti],u=[Ii,zi+Ii,ki+Ii,wi+gi,wi+Oi,gi,Oi,"line-height",t,r,i],f=[mi+gi,mi+Oi,yi+gi+Ti,yi+Oi+Ti],a="s"===Rr.x||"v-s"===Rr.x,c=!1,s=function(n,t){for(var r=0;r<n.length;r++)if(n[r]===t)return!0;return!1};return("s"===Rr.y||"v-s"===Rr.y)&&((c=s(u,n))||$t||(c=s(f,n))),a&&!c&&((c=s(e,n))||$t||(c=s(o,n))),c}((n=n.originalEvent||n).propertyName)&&fe(Li)}),n||(e=function(n){er||(t!==ze?clearTimeout(t):((ei||oi)&&ce(!0),it()||Oe(cr,Mi),he("onScrollStart",n)),le(!0),le(!1),he("onScroll",n),t=setTimeout(function(){Xt||(clearTimeout(t),t=ze,(ei||oi)&&ce(!1),it()||Se(cr,Mi),he("onScrollStop",n))},175))},h?_n(dr,Ni,e):dr.on(Ni,e))}function Kn(n){n?(ut(u),ut(b)):(u=De(we(zn+Ri+En)),a=De(we(kn)),l=De(we(In)),b=De(we(zn+Ri+Hn)),w=De(we(kn)),m=De(we(In)),u.append(a),a.append(l),b.append(w),w.append(m),hr.after(b),hr.after(u))}function Zn(g){var e,x,O,S=nt(g),o=p.top!==p,z=S.xy,u=S.XY,k=Ni+S.LT,r="active",T=1,t=[16,17];function i(){T=.5}function f(){T=1}function a(n){-1<De.inArray(n.keyCode,t)&&i()}function c(n){-1<De.inArray(n.keyCode,t)&&f()}function s(n){var t=(n.originalEvent||n).touches!==ze;return!(er||Xt||it()||!Vr||t&&!fi)&&(1===Ee.mBtn(n)||t)}function l(n){if(s(n)){var t=S.i.tl,r=S.i.hl,i=S.i.ms*(((A&&o?n["screen"+u]:Ee.page(n)[z])-x)/(t-r));i=isFinite(i)?i:0,ir&&g&&!jt.i&&(i*=-1),dr[k](e+i),h||Ee.prvD(n)}else I(n)}function I(n){if(n=n||n.originalEvent,Se(E,Dn),Se(S.h,r),Se(S.t,r),Se(S.s,r),N.off(q,l).off(Y,I).off(J,a).off(K,c).off(Z,Xn),f(),O!==(x=e=ze)&&(hi.scrollStop(),clearTimeout(O),O=ze),n){var t=cr[0].getBoundingClientRect();n.clientX>=t.left&&n.clientX<=t.right&&n.clientY>=t.top&&n.clientY<=t.bottom||Pn(),(ei||oi)&&ce(!1)}}function C(n){e=(e=dr[k]())===ze?0:e,(ir&&g&&!jt.n||!ir)&&(e=e<0?0:e),x=A&&o?n["screen"+u]:Ee.page(n)[z],Oe(E,Dn),Oe(S.h,r),Oe(S.s,r),N.on(q,l).on(Y,I).on(Z,Xn),!A&&d||Ee.prvD(n),Ee.stpP(n)}S.h.on(_i,function(n){s(n)&&C(n)}),S.t.on(_i,function(l){if(s(l)){var v,h,d=pi[S.u],p=S.t.offset()[S.lt],n=l.ctrlKey,b=l.shiftKey,w=b&&n,m=!0,y=function(){if(!Xt){var n=x-p,t=S.i.tl,r=S.i.ho,i=S.i.hl,e=S.i.ms,o=270*T,u=m?He.max(400,o):o,f=e*((n-i/2)/(t-i)),a=ir&&g&&(!jt.i&&!jt.n||Yr),c=a?r<n:n<r,s={};b?(f=isFinite(f)?f:0,ir&&g&&!jt.i&&(f=e-f),w?(s.n=!1,s[z]=f,hi.scroll(s,130,"linear",function(){C(l)})):(dr[k](f),C(l))):(v=m?c:v,h=a?v?n<=r+i:r<=n:v?r<=n:n<=r+i,s[z]=v?"-="+d:"+="+d,hi.scrollStop(),hi.scroll(s,o,"linear"),O=h?(clearTimeout(O),hi.scrollStop(),ze):setTimeout(y,u),m=!1)}};n&&i(),x=Ee.page(l)[z],Oe(E,Dn),Oe(S.t,r),Oe(S.s,r),N.on(Y,I).on(J,a).on(K,c).on(Z,Xn),y(),Ee.prvD(l),Ee.stpP(l)}}).on($,function(){(ei||oi)&&ce(j=!0)}).on(G,function(){(ei||oi)&&ce(j=!1)}),S.s.on(_i,function(n){Ee.stpP(n)}),v&&S.s.on(nn,function(n){n.target===S.s[0]&&(se(g),le(g))})}function ae(n,t,r){var i=n?fn:an,e=n?u:b;t?Se(cr,i):Oe(cr,i),r?Se(e,An):Oe(e,An)}function ce(n,t){if(clearTimeout(F),n)Se(u,Ln),Se(b,Ln);else{var r=function(){if(!j&&!Xt){var n=l.hasClass("active")||m.hasClass("active");!n&&(ei||oi||ui)&&Oe(u,Ln),!n&&(ei||oi||ui)&&Oe(b,Ln)}};0<ri&&!0!==t?F=setTimeout(r,ri):r()}}function se(n){var t={},r=nt(n),i=He.min(1,(yr[r.u]-(Er?n?Jt:Kt:0))/gr[r.u]);t[r.wh]=He.floor(100*i*1e6)/1e6+"%",it()||r.h.css(t),r.i.hl=r.h[0]["offset"+r.WH],r.i.hlr=i}function le(n,t){t=t===ze?n?dr[Wi]():dr[Fi]():t;var r,i,e,o=ir&&n,u={},f=nt(n),a="translate(",c="transform",s=dr[0][Ni+f.WH]-dr[0]["client"+f.WH],l=f.i.hl,v=f.t[0]["offset"+f.WH],h=v-l;jt.n&&o&&(s*=-1),e=t/s,e=isNaN(e)?0:He.min(1,e),f.i.ms=s,f.i.cs=t,h*=f.i.csr=e,h=isNaN(h)?0:h,o&&!jt.i&&(h=v-l-h),h=He.max(0,h),sn?(i=o?-(v-l-h):h,r=n?a+i+"px, 0)":a+"0, "+i+"px)",u["-webkit-"+c]=r,u["-moz-"+c]=r,u["-ms-"+c]=r,u["-o-"+c]=r,u[c]=r):u[f.lt]=h,it()||f.h.css(u),f.i.ho=h,f.i.tl=v}function ve(n,t){var r=t?"removeClass":"addClass",i=n?w:m,e=n?Tn:Cn;(n?a:l)[r](e),i[r](e)}function nt(n){return{wh:n?Ti:Ii,WH:n?"Width":"Height",lt:n?Si:gi,LT:n?"Left":"Top",xy:n?Hi:Di,XY:n?"X":"Y",u:n?"w":"h",g:n?"l":"t",t:n?a:w,h:n?l:m,s:n?u:b,i:n?ln:vn}}function tt(n){n?ut(mr):(mr=De(we(Nn)),cr.append(mr))}function he(n,t){if(Vt){var r,i=or.callbacks[n],e=n;"on"===e.substr(0,2)&&(e=e.substr(2,1).toLowerCase()+e.substr(3)),ot(i)==dt&&i.call(hi,t),De.each(Wn,function(){ot((r=this).on)==dt&&r.on(e,t)})}else Xt||Rn.push({n:n,a:t})}function de(n,t,r){r===ze&&(r=[Ai,Ai,Ai,Ai]),n[t+gi]=r[0],n[t+xi]=r[1],n[t+Oi]=r[2],n[t+Si]=r[3]}function rt(n){var t="ownerDocument",r="HTMLElement",i=n&&n[t]&&n[t].parentWindow||st;return typeof i[r]==ht?n instanceof i[r]:n&&typeof n==ht&&null!==n&&1===n.nodeType&&typeof n.nodeName==bt}function pe(n,t){var r=t?parseFloat(n):parseInt(n);return isNaN(r)?0:r}function it(){return Fr&&Ft.x&&Ft.y}function be(){return Yt?wr[0]:br[0]}function we(r,n){return"<div "+(r?ot(r)==bt?'class="'+r+'"':function(){var n,t="";if(De.isPlainObject(r))for(n in r)t+=("className"===n?"class":n)+'="'+r[n]+'" ';return t}():Ai)+">"+(n||Ai)+"</div>"}function et(n,t){for(var r,i=t.split(U),e=0;e<i.length;e++){if(!n.hasOwnProperty(i[e]))return;r=n[i[e]],e<i.length&&ot(r)==ht&&(n=r)}return r}function me(n,t,r){return!0===r?r:t===ze||n!==t}function ye(n,t,r,i,e){if(!0===e)return e;if(i===ze&&e===ze){if(!0===r)return r;r=ze}return r=r===ze?"w":r,i=i===ze?"h":i,t===ze||(n[r]!==t[r]||n[i]!==t[i])}function ge(n,t){return t===ze||(n.t!==t.t||n.r!==t.r||n.b!==t.b||n.l!==t.l)}function ot(n){return Ee.type(n)}function xe(){return De.extend.apply(this,arguments)}function Oe(n,t){return M.addClass.call(n,t)}function Se(n,t){return M.removeClass.call(n,t)}function ut(n){return M.remove.call(n)}function ft(n,t){return M.find.call(n,t).eq(0)}}return st[vt]=function(n,r,i){if(0===arguments.length)return this;var e,t,o=[],u=De.isPlainObject(r);return n?(n=n.length!=ze?n:[n[0]||n],s(),0<n.length&&(u?De.each(n,function(n,t){(e=t)!==ze&&o.push(v(e,r,i,f,a))}):De.each(n,function(n,t){e=zt(t),"!"===r&&e instanceof st[vt]||Ee.type(r)==dt&&r(t,e)?o.push(e):r===ze&&o.push(e)}),t=1===o.length?o[0]:o),t):u||!r?t:o},st[vt].globals=function(){s();var n=De.extend(!0,{},f);return delete n.msie,n},st[vt].defaultOptions=function(n){s();var t=f.defaultOptions;if(n===ze)return De.extend(!0,{},t);f.defaultOptions=De.extend(!0,{},t,ct.v(n,ct.t,!0))},st[vt].extension=function(n,t,r){var i=Ee.type(n)==bt,e=arguments[xt],o=0;if(e<1||!i)return De.extend(!0,{length:c[xt]},c);if(i)if(Ee.type(t)==dt)c.push({name:n,extensionFactory:t,defaultOptions:r});else for(;o<c[xt];o++)if(c[o].name===n){if(!(1<e))return De.extend(!0,{},c[o]);c.splice(o,1)}},st[vt]}();return St&&St.fn&&(St.fn.overlayScrollbars=function(n,t){return St.isPlainObject(n)?(St.each(this,function(){r(this,n,t)}),this):r(this,n)}),r}); |
{ | ||
"name":"overlayscrollbars", | ||
"version":"1.6.2", | ||
"version":"1.6.3", | ||
"description":"A javascript scrollbar plugin which hides native scrollbars, provides custom styleable overlay scrollbars and 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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
790349
10938