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