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