!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).SimpleBar=e()}(this,function(){"use strict";function c(t){try{return!!t()}catch(t){return!0}}function C(t){return D.call(t).slice(8,-1)}function w(t){return Object(s(t))}function O(t){return 0<t?H(_(t),9007199254740991):0}var V=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},D={}.toString,B="".split,y=c(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==C(t)?B.call(t,""):Object(t)}:Object,s=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},I=Math.ceil,P=Math.floor,_=function(t){return isNaN(t=+t)?0:(0<t?P:I)(t)},H=Math.min,n=function(t){return"object"==typeof t?null!==t:"function"==typeof t},F=Array.isArray||function(t){return"Array"==C(t)},t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function q(t,e){return t(e={exports:{}},e.exports),e.exports}function $(t,e){if(!n(t))return t;var i,r;if(e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t))||"function"==typeof(i=t.valueOf)&&!n(r=i.call(t))||!e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")}function X(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}function Y(e,i){try{b(g,e,i)}catch(t){g[e]=i}return i}function h(t){return ut[t]||(ut[t]=ht&&ft[t]||(ht?ft:ct)("Symbol."+t))}function G(t,e){var i;return new(void 0===(i=F(t)&&("function"==typeof(i=t.constructor)&&(i===Array||F(i.prototype))||n(i)&&null===(i=i[dt]))?void 0:i)?Array:i)(0===e?0:e)}function K(u,t){var f=1==u,d=2==u,p=3==u,v=4==u,g=6==u,b=5==u||g,m=t||G;return function(t,e,i){for(var r,n,s=w(t),o=y(s),a=function(r,n,t){if(V(r),void 0===n)return r;switch(t){case 0:return function(){return r.call(n)};case 1:return function(t){return r.call(n,t)};case 2:return function(t,e){return r.call(n,t,e)};case 3:return function(t,e,i){return r.call(n,t,e,i)}}return function(){return r.apply(n,arguments)}}(e,i,3),l=O(o.length),c=0,h=f?m(t,l):d?m(t,0):void 0;c<l;c++)if((b||c in o)&&(n=a(r=o[c],c,s),u))if(f)h[c]=n;else if(n)switch(u){case 3:return!0;case 5:return r;case 6:return c;case 2:h.push(r)}else if(v)return!1;return g?-1:p||v?v:h}}function U(t){return y(s(t))}function J(t,e){var i,r=U(t),n=0,s=[];for(i in r)!m(xt,i)&&m(r,i)&&s.push(i);for(;e.length>n;)!m(r,i=e[n++])||~St(s,i)||s.push(i);return s}function e(t,e){return(t=jt[Rt(t)])==zt||t!=Nt&&("function"==typeof e?c(e):!!e)}function i(t,e){var i,r,n,s=t.target,o=t.global,a=t.stat,l=o?g:a?g[s]||Y(s,{}):(g[s]||{}).prototype;if(l)for(i in e){if(r=e[i],n=t.noTargetGet?(n=Vt(l,i))&&n.value:l[i],!Ct(o?i:s+(a?".":"#")+i,t.forced)&&void 0!==n){if(typeof r==typeof n)continue;v=p=d=f=u=void 0;for(var c=r,h=n,u=Wt(h),f=ot.f,d=yt.f,p=0;p<u.length;p++){var v=u[p];m(c,v)||f(c,v,d(h,v))}}(t.sham||n&&n.sham)&&b(r,"sham",!0),wt(l,i,r,t)}}var r,Q,Z,tt,o,a,et,l,u,g="object"==typeof window&&window&&window.Math==Math?window:"object"==typeof self&&self&&self.Math==Math?self:Function("return this")(),f=!c(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),it=g.document,rt=n(it)&&n(it.createElement),nt=!f&&!c(function(){return 7!=Object.defineProperty(rt?it.createElement("div"):{},"a",{get:function(){return 7}}).a}),S=function(t){if(n(t))return t;throw TypeError(String(t)+" is not an object")},st=Object.defineProperty,ot={f:f?st:function(t,e,i){if(S(t),e=$(e,!0),S(i),nt)try{return st(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},b=f?function(t,e,i){return ot.f(t,e,X(1,i))}:function(t,e,i){return t[e]=i,t},d=q(function(t){var e="__core-js_shared__",i=g[e]||Y(e,{});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.0.1",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),at=0,lt=Math.random(),ct=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++at+lt).toString(36))},ht=!c(function(){return!String(Symbol())}),ut=d("wks"),ft=g.Symbol,dt=h("species"),pt=h("species"),p={}.propertyIsEnumerable,vt=Object.getOwnPropertyDescriptor,gt={f:vt&&!p.call({1:2},1)?function(t){t=vt(this,t);return!!t&&t.enumerable}:p},bt={}.hasOwnProperty,m=function(t,e){return bt.call(t,e)},mt=Object.getOwnPropertyDescriptor,yt={f:f?mt:function(t,e){if(t=U(t),e=$(e,!0),nt)try{return mt(t,e)}catch(t){}if(m(t,e))return X(!gt.f.call(t,e),t[e])}},v=d("native-function-to-string",Function.toString),p=g.WeakMap,p="function"==typeof p&&/native code/.test(v.call(p)),x=d("keys"),xt={},E=g.WeakMap,Et=(et=p?(r=new E,Q=r.get,Z=r.has,tt=r.set,o=function(t,e){return tt.call(r,t,e),e},a=function(t){return Q.call(r,t)||{}},function(t){return Z.call(r,t)}):(l=x[p="state"]||(x[p]=ct(p)),xt[l]=!0,o=function(t,e){return b(t,l,e),e},a=function(t){return m(t,l)?t[l]:{}},function(t){return m(t,l)}),{set:o,get:a,has:et,enforce:function(t){return et(t)?a(t):o(t,{})},getterFor:function(e){return function(t){if(n(t)&&(t=a(t)).type===e)return t;throw TypeError("Incompatible receiver, "+e+" required")}}}),wt=q(function(t){var e=Et.get,o=Et.enforce,a=String(v).split("toString");d("inspectSource",function(t){return v.call(t)}),(t.exports=function(t,e,i,r){var n=!!r&&!!r.unsafe,s=!!r&&!!r.enumerable,r=!!r&&!!r.noTargetGet;"function"==typeof i&&("string"!=typeof e||m(i,"name")||b(i,"name",e),o(i).source=a.join("string"==typeof e?e:"")),t===g?s?t[e]=i:Y(e,i):(n?!r&&t[e]&&(s=!0):delete t[e],s?t[e]=i:b(t,e,i))})(Function.prototype,"toString",function(){return"function"==typeof this&&e(this).source||v.call(this)})}),Ot=Math.max,_t=Math.min,St=(u=!1,function(t,e,i){var r,n=U(t),s=O(n.length),o=function(t,e){t=_(t);return t<0?Ot(t+e,0):_t(t,e)}(i,s);if(u&&e!=e){for(;o<s;)if((r=n[o++])!=r)return!0}else for(;o<s;o++)if((u||o in n)&&n[o]===e)return u||o||0;return!u&&-1}),At=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Lt=At.concat("length","prototype"),Mt={f:Object.getOwnPropertyNames||function(t){return J(t,Lt)}},kt={f:Object.getOwnPropertySymbols},E=g.Reflect,Wt=E&&E.ownKeys||function(t){var e=Mt.f(S(t)),i=kt.f;return i?e.concat(i(t)):e},Tt=/#|\.prototype\./,Rt=e.normalize=function(t){return String(t).replace(Tt,".").toLowerCase()},jt=e.data={},Nt=e.NATIVE="N",zt=e.POLYFILL="P",Ct=e,Vt=yt.f,Dt=K(2);Ft="filter";function Bt(t,e){var i=[][t];return!i||!c(function(){i.call(null,e||function(){throw 1},1)})}i({target:"Array",proto:!0,forced:!!c(function(){var t=[];return(t.constructor={})[pt]=function(){return{foo:1}},1!==t[Ft](Boolean).foo})},{filter:function(t){return Dt(this,t,arguments[1])}});function It(t,e,i){return e+(i?(i=t,t=e,e=!0,i=String(s(i)),t=_(t),n=i.length,(t<0||n<=t?e?"":void 0:(r=i.charCodeAt(t))<55296||56319<r||t+1===n||(n=i.charCodeAt(t+1))<56320||57343<n?e?i.charAt(t):r:e?i.slice(t,t+2):n-56320+(r-55296<<10)+65536).length):1);var r,n}function Pt(t,e){var i=t.exec;if("function"==typeof i){i=i.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==C(t))throw TypeError("RegExp#exec called on incompatible receiver");return ne.call(t,e)}function Ht(i,t,e,r){var s,n,o=h(i),a=!c(function(){var t={};return t[o]=function(){return 7},7!=""[i](t)}),l=a&&!c(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},"split"===i&&(e.constructor={},e.constructor[se]=function(){return e}),e[o](""),!t});a&&l&&("replace"!==i||oe)&&("split"!==i||ae)||(s=/./[o],e=(l=e(o,""[i],function(t,e,i,r,n){return e.exec===ne?a&&!n?{done:!0,value:s.call(e,i,r)}:{done:!0,value:t.call(i,e,r)}:{done:!1}}))[0],n=l[1],wt(String.prototype,i,e),wt(RegExp.prototype,o,2==t?function(t,e){return n.call(t,this,e)}:function(t){return n.call(t,this)}),r&&b(RegExp.prototype[o],"sham",!0))}var Ft,qt,x=[].forEach,$t=K(0),A=Bt("forEach")?function(t){return $t(this,t,arguments[1])}:x,p=(i({target:"Array",proto:!0,forced:[].forEach!=A},{forEach:A}),i({target:"Array",proto:!0,forced:Bt("reduce")},{reduce:function(t){var e=this,i=t,t=arguments.length,r=arguments[1],n=!1,s=(V(i),w(e)),o=y(s),a=O(s.length),l=n?a-1:0,c=n?-1:1;if(t<2)for(;;){if(l in o){r=o[l],l+=c;break}if(l+=c,n?l<0:a<=l)throw TypeError("Reduce of empty array with no initial value")}for(;n?0<=l:l<a;l+=c)l in o&&(r=i(r,o[l],l,s));return r}}),ot.f),E=Function.prototype,Xt=E.toString,Yt=/^\s*function ([^ (]*)/,Gt=(!f||"name"in E||p(E,"name",{configurable:!0,get:function(){try{return Xt.call(this).match(Yt)[1]}catch(t){return""}}}),Object.keys||function(t){return J(t,At)}),Kt=Object.assign,x=!Kt||c(function(){var t={},e={},i=Symbol(),r="abcdefghijklmnopqrst";return t[i]=7,r.split("").forEach(function(t){e[t]=t}),7!=Kt({},t)[i]||Gt(Kt({},e)).join("")!=r})?function(t,e){for(var i=w(t),r=arguments.length,n=1,s=kt.f,o=gt.f;n<r;)for(var a,l=y(arguments[n++]),c=s?Gt(l).concat(s(l)):Gt(l),h=c.length,u=0;u<h;)o.call(l,a=c[u++])&&(i[a]=l[a]);return i}:Kt,f=(i({target:"Object",stat:!0,forced:Object.assign!==x},{assign:x}),"\t\n\v\f\r                　\u2028\u2029\ufeff"),p="["+f+"]",Ut=RegExp("^"+p+p+"*"),Jt=RegExp(p+p+"*$"),Qt=g.parseInt,Zt=/^[-+]?0[xX]/,E=8!==Qt(f+"08")||22!==Qt(f+"0x16")?function(t,e){t=String(t),i=3,t=String(s(t)),1&i&&(t=t.replace(Ut,""));var i=t=2&i?t.replace(Jt,""):t;return Qt(i,e>>>0||(Zt.test(i)?16:10))}:Qt,te=(i({global:!0,forced:parseInt!=E},{parseInt:E}),RegExp.prototype.exec),ee=String.prototype.replace,x=te,ie=(p=/a/,f=/b*/g,te.call(p,"a"),te.call(f,"a"),0!==p.lastIndex||0!==f.lastIndex),re=void 0!==/()??/.exec("")[1],ne=x=ie||re?function(t){var e,i,r,n,s=this;return re&&(i=new RegExp("^"+s.source+"$(?!\\s)",function(){var t=S(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}.call(s))),ie&&(e=s.lastIndex),r=te.call(s,t),ie&&r&&(s.lastIndex=s.global?r.index+r[0].length:e),re&&r&&1<r.length&&ee.call(r[0],i,function(){for(n=1;n<arguments.length-2;n++)void 0===arguments[n]&&(r[n]=void 0)}),r}:x,se=(i({target:"RegExp",proto:!0,forced:/./.exec!==ne},{exec:ne}),h("species")),oe=!c(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),ae=!c(function(){var t=/(?:)/,e=t.exec,t=(t.exec=function(){return e.apply(this,arguments)},"ab".split(t));return 2!==t.length||"a"!==t[0]||"b"!==t[1]}),le=(Ht("match",1,function(r,l,c){return[function(t){var e=s(this),i=null==t?void 0:t[r];return void 0!==i?i.call(t,e):new RegExp(t)[r](String(e))},function(t){var e=c(l,t,this);if(e.done)return e.value;var i=S(t),r=String(this);if(!i.global)return Pt(i,r);for(var n=i.unicode,s=[],o=i.lastIndex=0;null!==(a=Pt(i,r));){var a=String(a[0]);""===(s[o]=a)&&(i.lastIndex=It(r,O(i.lastIndex),n)),o++}return 0===o?null:s}]}),Math.max),ce=Math.min,he=Math.floor,ue=/\$([$&`']|\d\d?|<[^>]*>)/g,fe=/\$([$&`']|\d\d?)/g;Ht("replace",2,function(n,x,E){return[function(t,e){var i=s(this),r=null==t?void 0:t[n];return void 0!==r?r.call(t,i,e):x.call(String(i),t,e)},function(t,e){var i=E(x,t,this,e);if(i.done)return i.value;for(var r,n=S(t),s=String(this),o="function"==typeof e,a=(o||(e=String(e)),n.global),l=(a&&(r=n.unicode,n.lastIndex=0),[]);null!==(d=Pt(n,s))&&(l.push(d),a);)""===String(d[0])&&(n.lastIndex=It(s,O(n.lastIndex),r));for(var c,h="",u=0,f=0;f<l.length;f++){for(var d=l[f],p=String(d[0]),v=le(ce(_(d.index),s.length),0),g=[],b=1;b<d.length;b++)g.push(void 0===(c=d[b])?c:String(c));var m=d.groups,y=o?(y=[p].concat(g,v,s),void 0!==m&&y.push(m),String(e.apply(void 0,y))):function(s,o,a,l,c,t){var h=a+s.length,u=l.length,e=fe;void 0!==c&&(c=w(c),e=ue);return x.call(t,e,function(t,e){var i;switch(e.charAt(0)){case"$":return"$";case"&":return s;case"`":return o.slice(0,a);case"'":return o.slice(h);case"<":i=c[e.slice(1,-1)];break;default:var r,n=+e;if(0==n)return t;if(u<n)return 0!==(r=he(n/10))&&r<=u?void 0===l[r-1]?e.charAt(1):l[r-1]+e.charAt(1):t;i=l[n-1]}return void 0===i?"":i})}(p,s,v,g,m,e);u<=v&&(h+=s.slice(u,v)+y,u=v+p.length)}return h+s.slice(u)}]});for(qt in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var L=g[qt],L=L&&L.prototype;if(L&&L.forEach!==A)try{b(L,"forEach",A)}catch(t){L.forEach=A}}var de=q(function(t,e){t.exports=function(){if("undefined"==typeof document)return 0;var t=document.body,e=document.createElement("div"),i=e.style;return i.position="absolute",i.top=i.left="-9999px",i.width=i.height="100px",i.overflow="scroll",t.appendChild(e),i=e.offsetWidth-e.clientWidth,t.removeChild(e),i}}),pe="Expected a function",ve=NaN,ge=/^\s+|\s+$/g,be=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,ye=/^0o[0-7]+$/i,xe=parseInt,E="object"==typeof t&&t&&t.Object===Object&&t,p="object"==typeof self&&self&&self.Object===Object&&self,Ee=E||p||Function("return this")(),we=Object.prototype.toString,Oe=Math.max,_e=Math.min,Se=function(){return Ee.Date.now()};function Ae(r,i,t){var n,s,o,a,l,c,h=0,u=!1,f=!1,e=!0;if("function"!=typeof r)throw new TypeError(pe);function d(t){var e=n,i=s;return n=s=void 0,h=t,a=r.apply(i,e)}function p(t){var e=t-c;return void 0===c||i<=e||e<0||f&&o<=t-h}function v(){var t,e=Se();if(p(e))return g(e);l=setTimeout(v,(t=i-((e=e)-c),f?_e(t,o-(e-h)):t))}function g(t){return l=void 0,e&&n?d(t):(n=s=void 0,a)}function b(){var t=Se(),e=p(t);if(n=arguments,s=this,c=t,e){if(void 0===l)return h=t=c,l=setTimeout(v,i),u?d(t):a;if(f)return l=setTimeout(v,i),d(c)}return void 0===l&&(l=setTimeout(v,i)),a}return i=Me(i)||0,Le(t)&&(u=!!t.leading,f="maxWait"in t,o=f?Oe(Me(t.maxWait)||0,i):o,e="trailing"in t?!!t.trailing:e),b.cancel=function(){void 0!==l&&clearTimeout(l),n=c=s=l=void(h=0)},b.flush=function(){return void 0===l?a:g(Se())},b}function Le(t){var e=typeof t;return t&&("object"==e||"function"==e)}function Me(t){if("number"==typeof t)return t;if("symbol"==typeof(i=t)||!!(e=i)&&"object"==typeof e&&"[object Symbol]"==we.call(i))return ve;var e;if("string"!=typeof(t=Le(t)?Le(e="function"==typeof t.valueOf?t.valueOf():t)?e+"":e:t))return 0===t?t:+t;t=t.replace(ge,"");var i=me.test(t);return i||ye.test(t)?xe(t.slice(2),i?2:8):be.test(t)?ve:+t}function ke(){return De.Date.now()}var We=function(t,e,i){var r=!0,n=!0;if("function"!=typeof t)throw new TypeError(pe);return Le(i)&&(r="leading"in i?!!i.leading:r,n="trailing"in i?!!i.trailing:n),Ae(t,e,{leading:r,maxWait:e,trailing:n})},Te=NaN,Re="[object Symbol]",je=/^\s+|\s+$/g,Ne=/^[-+]0x[0-9a-f]+$/i,ze=/^0b[01]+$/i,Ce=/^0o[0-7]+$/i,Ve=parseInt,f="object"==typeof t&&t&&t.Object===Object&&t,x="object"==typeof self&&self&&self.Object===Object&&self,De=f||x||Function("return this")(),Be=Object.prototype.toString,Ie=Math.max,Pe=Math.min;function He(t){var e=typeof t;return t&&("object"==e||"function"==e)}function Fe(t){if("number"==typeof t)return t;if("symbol"==typeof(i=t)||!!(e=i)&&"object"==typeof e&&Be.call(i)==Re)return Te;var e;if("string"!=typeof(t=He(t)?He(e="function"==typeof t.valueOf?t.valueOf():t)?e+"":e:t))return 0===t?t:+t;t=t.replace(je,"");var i=ze.test(t);return i||Ce.test(t)?Ve(t.slice(2),i?2:8):Ne.test(t)?Te:+t}var qe=function(r,i,t){var n,s,o,a,l,c,h=0,u=!1,f=!1,e=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function d(t){var e=n,i=s;return n=s=void 0,h=t,a=r.apply(i,e)}function p(t){var e=t-c;return void 0===c||i<=e||e<0||f&&o<=t-h}function v(){var t,e=ke();if(p(e))return g(e);l=setTimeout(v,(t=i-((e=e)-c),f?Pe(t,o-(e-h)):t))}function g(t){return l=void 0,e&&n?d(t):(n=s=void 0,a)}function b(){var t=ke(),e=p(t);if(n=arguments,s=this,c=t,e){if(void 0===l)return h=t=c,l=setTimeout(v,i),u?d(t):a;if(f)return l=setTimeout(v,i),d(c)}return void 0===l&&(l=setTimeout(v,i)),a}return i=Fe(i)||0,He(t)&&(u=!!t.leading,f="maxWait"in t,o=f?Ie(Fe(t.maxWait)||0,i):o,e="trailing"in t?!!t.trailing:e),b.cancel=function(){void 0!==l&&clearTimeout(l),n=c=s=l=void(h=0)},b.flush=function(){return void 0===l?a:g(ke())},b},$e="__lodash_hash_undefined__",Xe="[object Function]",Ye="[object GeneratorFunction]",Ge=/^\[object .+?Constructor\]$/,E="object"==typeof t&&t&&t.Object===Object&&t,p="object"==typeof self&&self&&self.Object===Object&&self,f=E||p||Function("return this")();var x=Array.prototype,t=Function.prototype,E=Object.prototype,p=f["__core-js_shared__"],Ke=(p=/[^.]+$/.exec(p&&p.keys&&p.keys.IE_PROTO||""))?"Symbol(src)_1."+p:"",Ue=t.toString,Je=E.hasOwnProperty,Qe=E.toString,Ze=RegExp("^"+Ue.call(Je).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ti=x.splice,ei=si(f,"Map"),M=si(Object,"create");function k(t){var e=-1,i=t?t.length:0;for(this.clear();++e<i;){var r=t[e];this.set(r[0],r[1])}}function W(t){var e=-1,i=t?t.length:0;for(this.clear();++e<i;){var r=t[e];this.set(r[0],r[1])}}function T(t){var e=-1,i=t?t.length:0;for(this.clear();++e<i;){var r=t[e];this.set(r[0],r[1])}}function ii(t,e){for(var i,r,n=t.length;n--;)if((i=t[n][0])===(r=e)||i!=i&&r!=r)return n;return-1}function ri(t){var e;return ai(t)&&(e=t,!(Ke&&Ke in e))&&(function(t){t=ai(t)?Qe.call(t):"";return t==Xe||t==Ye}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?Ze:Ge).test(function(t){if(null!=t){try{return Ue.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t))}function ni(t,e){var i,r,t=t.__data__;return("string"==(r=typeof(i=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==i:null===i)?t["string"==typeof e?"string":"hash"]:t.map}function si(t,e){e=e;t=null==(t=t)?void 0:t[e];return ri(t)?t:void 0}function oi(r,n){if("function"!=typeof r||n&&"function"!=typeof n)throw new TypeError("Expected a function");function s(){var t=arguments,e=n?n.apply(this,t):t[0],i=s.cache;return i.has(e)?i.get(e):(t=r.apply(this,t),s.cache=i.set(e,t),t)}return s.cache=new(oi.Cache||T),s}function ai(t){var e=typeof t;return t&&("object"==e||"function"==e)}k.prototype.clear=function(){this.__data__=M?M(null):{}},k.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},k.prototype.get=function(t){var e,i=this.__data__;return M?(e=i[t])===$e?void 0:e:Je.call(i,t)?i[t]:void 0},k.prototype.has=function(t){var e=this.__data__;return M?void 0!==e[t]:Je.call(e,t)},k.prototype.set=function(t,e){return this.__data__[t]=M&&void 0===e?$e:e,this},W.prototype.clear=function(){this.__data__=[]},W.prototype.delete=function(t){var e=this.__data__;return!((t=ii(e,t))<0||(t==e.length-1?e.pop():ti.call(e,t,1),0))},W.prototype.get=function(t){var e=this.__data__;return(t=ii(e,t))<0?void 0:e[t][1]},W.prototype.has=function(t){return-1<ii(this.__data__,t)},W.prototype.set=function(t,e){var i=this.__data__,r=ii(i,t);return r<0?i.push([t,e]):i[r][1]=e,this},T.prototype.clear=function(){this.__data__={hash:new k,map:new(ei||W),string:new k}},T.prototype.delete=function(t){return ni(this,t).delete(t)},T.prototype.get=function(t){return ni(this,t).get(t)},T.prototype.has=function(t){return ni(this,t).has(t)},T.prototype.set=function(t,e){return ni(this,t).set(t,e),this},oi.Cache=T;var li=oi,ci="undefined"!=typeof Map?Map:(Object.defineProperty(R.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),R.prototype.get=function(t){t=hi(this.__entries__,t),t=this.__entries__[t];return t&&t[1]},R.prototype.set=function(t,e){var i=hi(this.__entries__,t);~i?this.__entries__[i][1]=e:this.__entries__.push([t,e])},R.prototype.delete=function(t){var e=this.__entries__,t=hi(e,t);~t&&e.splice(t,1)},R.prototype.has=function(t){return!!~hi(this.__entries__,t)},R.prototype.clear=function(){this.__entries__.splice(0)},R.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var i=0,r=this.__entries__;i<r.length;i++){var n=r[i];t.call(e,n[1],n[0])}},R);function R(){this.__entries__=[]}function hi(t,i){var r=-1;return t.some(function(t,e){return t[0]===i&&(r=e,!0)}),r}var ui="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,fi="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),di="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(fi):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)},pi=2;var vi=["top","right","bottom","left","width","height","size","weight"],gi="undefined"!=typeof MutationObserver,bi=(j.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},j.prototype.removeObserver=function(t){var e=this.observers_,t=e.indexOf(t);~t&&e.splice(t,1),!e.length&&this.connected_&&this.disconnect_()},j.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},j.prototype.updateObservers_=function(){var t=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return t.forEach(function(t){return t.broadcastActive()}),0<t.length},j.prototype.connect_=function(){ui&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),gi?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},j.prototype.disconnect_=function(){ui&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},j.prototype.onTransitionEnd_=function(t){var t=t.propertyName,e=void 0===t?"":t;vi.some(function(t){return!!~e.indexOf(t)})&&this.refresh()},j.getInstance=function(){return this.instance_||(this.instance_=new j),this.instance_},j.instance_=null,j);function j(){function t(){s&&(s=!1,r()),o&&i()}function e(){di(t)}function i(){var t=Date.now();if(s){if(t-a<pi)return;o=!0}else o=!(s=!0),setTimeout(e,n);a=t}var r,n,s,o,a;this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=(r=this.refresh.bind(this),o=s=!(n=20),a=0,i)}var mi=function(t,e){for(var i=0,r=Object.keys(e);i<r.length;i++){var n=r[i];Object.defineProperty(t,n,{value:e[n],enumerable:!1,writable:!1,configurable:!0})}return t},N=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||fi},yi=Si(0,0,0,0);function xi(t){return parseFloat(t)||0}function Ei(i){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return t.reduce(function(t,e){return t+xi(i["border-"+e+"-width"])},0)}function wi(t){var e,i,r,n,s,o,a=t.clientWidth,l=t.clientHeight;return a||l?(i=(e=function(t){for(var e={},i=0,r=["top","right","bottom","left"];i<r.length;i++){var n=r[i],s=t["padding-"+n];e[n]=xi(s)}return e}(o=N(t).getComputedStyle(t))).left+e.right,r=e.top+e.bottom,n=xi(o.width),s=xi(o.height),"border-box"===o.boxSizing&&(Math.round(n+i)!==a&&(n-=Ei(o,"left","right")+i),Math.round(s+r)!==l)&&(s-=Ei(o,"top","bottom")+r),t!==N(t).document.documentElement&&(o=Math.round(n+i)-a,t=Math.round(s+r)-l,1!==Math.abs(o)&&(n-=o),1!==Math.abs(t))&&(s-=t),Si(e.left,e.top,n,s)):yi}var Oi="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof N(t).SVGGraphicsElement}:function(t){return t instanceof N(t).SVGElement&&"function"==typeof t.getBBox};function _i(t){var e;return ui?Oi(t)?Si(0,0,(e=(e=t).getBBox()).width,e.height):wi(t):yi}function Si(t,e,i,r){return{x:t,y:e,width:i,height:r}}Li.prototype.isActive=function(){var t=_i(this.target);return(this.contentRect_=t).width!==this.broadcastWidth||t.height!==this.broadcastHeight},Li.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t};var Ai=Li;function Li(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Si(0,0,0,0),this.target=t}var Mi=function(t,e){i=(e=e).x,r=e.y,s=e.width,e=e.height,n="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,n=Object.create(n.prototype),mi(n,{x:i,y:r,width:s,height:e,top:r,right:i+s,bottom:e+r,left:i});var i,r,n,s=n;mi(this,{target:t,contentRect:s})},ki=(z.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof N(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new Ai(t)),this.controller_.addObserver(this),this.controller_.refresh())}},z.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof N(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},z.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},z.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},z.prototype.broadcastActive=function(){var t,e;this.hasActive()&&(t=this.callbackCtx_,e=this.activeObservations_.map(function(t){return new Mi(t.target,t.broadcastRect())}),this.callback_.call(t,e,t),this.clearActive())},z.prototype.clearActive=function(){this.activeObservations_.splice(0)},z.prototype.hasActive=function(){return 0<this.activeObservations_.length},z);function z(t,e,i){if(this.activeObservations_=[],this.observations_=new ci,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=i}var Wi=new("undefined"!=typeof WeakMap?WeakMap:ci),Ti=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var i=bi.getInstance(),e=new ki(e,i,this);Wi.set(this,e)},Ri=(["observe","unobserve","disconnect"].forEach(function(e){Ti.prototype[e]=function(){var t;return(t=Wi.get(this))[e].apply(t,arguments)}}),void 0!==fi.ResizeObserver?fi.ResizeObserver:Ti),ji=!("undefined"==typeof window||!window.document||!window.document.createElement),p=function(){function o(t,e){var n=this;this.onScroll=function(){n.scrollXTicking||(window.requestAnimationFrame(n.scrollX),n.scrollXTicking=!0),n.scrollYTicking||(window.requestAnimationFrame(n.scrollY),n.scrollYTicking=!0)},this.scrollX=function(){n.axis.x.isOverflowing&&(n.showScrollbar("x"),n.positionScrollbar("x")),n.scrollXTicking=!1},this.scrollY=function(){n.axis.y.isOverflowing&&(n.showScrollbar("y"),n.positionScrollbar("y")),n.scrollYTicking=!1},this.onMouseEnter=function(){n.showScrollbar("x"),n.showScrollbar("y")},this.onMouseMove=function(t){n.mouseX=t.clientX,n.mouseY=t.clientY,(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseMoveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseMoveForAxis("y")},this.onMouseLeave=function(){n.onMouseMove.cancel(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseLeaveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseLeaveForAxis("y"),n.mouseX=-1,n.mouseY=-1},this.onWindowResize=function(){n.scrollbarWidth=de(),n.hideNativeScrollbar()},this.hideScrollbars=function(){n.axis.x.track.rect=n.axis.x.track.el.getBoundingClientRect(),n.axis.y.track.rect=n.axis.y.track.el.getBoundingClientRect(),n.isWithinBounds(n.axis.y.track.rect)||(n.axis.y.scrollbar.el.classList.remove(n.classNames.visible),n.axis.y.isVisible=!1),n.isWithinBounds(n.axis.x.track.rect)||(n.axis.x.scrollbar.el.classList.remove(n.classNames.visible),n.axis.x.isVisible=!1)},this.onPointerEvent=function(t){var e,i;n.axis.x.scrollbar.rect=n.axis.x.scrollbar.el.getBoundingClientRect(),n.axis.y.scrollbar.rect=n.axis.y.scrollbar.el.getBoundingClientRect(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&(i=n.isWithinBounds(n.axis.x.scrollbar.rect)),((e=n.axis.y.isOverflowing||n.axis.y.forceVisible?n.isWithinBounds(n.axis.y.scrollbar.rect):e)||i)&&(t.preventDefault(),t.stopPropagation(),"mousedown"===t.type)&&(e&&n.onDragStart(t,"y"),i)&&n.onDragStart(t,"x")},this.drag=function(t){var e=n.axis[n.draggedAxis].track,i=e.rect[n.axis[n.draggedAxis].sizeAttr],r=n.axis[n.draggedAxis].scrollbar;t.preventDefault(),t.stopPropagation();t=(("y"===n.draggedAxis?t.pageY:t.pageX)-e.rect[n.axis[n.draggedAxis].offsetAttr]-n.axis[n.draggedAxis].dragOffset)/e.rect[n.axis[n.draggedAxis].sizeAttr]*n.contentWrapperEl[n.axis[n.draggedAxis].scrollSizeAttr];"x"===n.draggedAxis&&(t=n.isRtl&&o.getRtlHelpers().isRtlScrollbarInverted?t-(i+r.size):t,t=n.isRtl&&o.getRtlHelpers().isRtlScrollingInverted?-t:t),n.contentWrapperEl[n.axis[n.draggedAxis].scrollOffsetAttr]=t},this.onEndDrag=function(t){t.preventDefault(),t.stopPropagation(),n.el.classList.remove(n.classNames.dragging),document.removeEventListener("mousemove",n.drag),document.removeEventListener("mouseup",n.onEndDrag)},this.el=t,this.flashTimeout,this.contentEl,this.contentWrapperEl,this.offsetEl,this.maskEl,this.globalObserver,this.mutationObserver,this.resizeObserver,this.scrollbarWidth,this.minScrollbarWidth=20,this.options=Object.assign({},o.defaultOptions,e),this.classNames=Object.assign({},o.defaultOptions.classNames,this.options.classNames),this.isRtl,this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.el.SimpleBar||(this.recalculate=We(this.recalculate.bind(this),64),this.onMouseMove=We(this.onMouseMove.bind(this),64),this.hideScrollbars=qe(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=qe(this.onWindowResize.bind(this),64,{leading:!0}),o.getRtlHelpers=li(o.getRtlHelpers),this.init())}o.getRtlHelpers=function(){var t=document.createElement("div"),t=(t.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>',t.firstElementChild),e=(document.body.appendChild(t),t.firstElementChild),i=(t.scrollLeft=0,o.getOffset(t)),r=o.getOffset(e),t=(t.scrollLeft=999,o.getOffset(e));return{isRtlScrollingInverted:i.left!==r.left&&r.left-t.left!=0,isRtlScrollbarInverted:i.left!==r.left}},o.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(function(t){t.forEach(function(t){Array.prototype.forEach.call(t.addedNodes,function(t){1===t.nodeType&&(t.hasAttribute("data-simplebar")?t.SimpleBar||new o(t,o.getElOptions(t)):Array.prototype.forEach.call(t.querySelectorAll("[data-simplebar]"),function(t){t.SimpleBar||new o(t,o.getElOptions(t))}))}),Array.prototype.forEach.call(t.removedNodes,function(t){1===t.nodeType&&(t.hasAttribute("data-simplebar")?t.SimpleBar&&t.SimpleBar.unMount():Array.prototype.forEach.call(t.querySelectorAll("[data-simplebar]"),function(t){t.SimpleBar&&t.SimpleBar.unMount()}))})})}),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},o.getElOptions=function(t){return Array.prototype.reduce.call(t.attributes,function(t,e){var i=e.name.match(/data-simplebar-(.+)/);if(i){var r=i[1].replace(/\W+(.)/g,function(t,e){return e.toUpperCase()});switch(e.value){case"true":t[r]=!0;break;case"false":t[r]=!1;break;case void 0:t[r]=!0;break;default:t[r]=e.value}}return t},{})},o.removeObserver=function(){this.globalObserver.disconnect()},o.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(t){t.SimpleBar||new o(t,o.getElOptions(t))})},o.getOffset=function(t){t=t.getBoundingClientRect();return{top:t.top+(window.pageYOffset||document.documentElement.scrollTop),left:t.left+(window.pageXOffset||document.documentElement.scrollLeft)}};var t=o.prototype;return t.init=function(){this.el.SimpleBar=this,ji&&(this.initDOM(),this.scrollbarWidth=de(),this.recalculate(),this.initListeners())},t.initDOM=function(){var t,e,i=this;if(Array.prototype.filter.call(this.el.children,function(t){return t.classList.contains(i.classNames.wrapper)}).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.el.querySelector("."+this.classNames.contentWrapper),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.contentEl=this.el.querySelector("."+this.classNames.contentEl),this.placeholderEl=this.el.querySelector("."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.el.querySelector("."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.el.querySelector("."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}this.axis.x.track.el&&this.axis.y.track.el||(t=document.createElement("div"),e=document.createElement("div"),t.classList.add(this.classNames.track),e.classList.add(this.classNames.scrollbar),t.appendChild(e),this.axis.x.track.el=t.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=t.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)),this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},t.initListeners=function(){var e=this;this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick","touchstart","touchend","touchmove"].forEach(function(t){e.el.addEventListener(t,e.onPointerEvent,!0)}),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),window.addEventListener("resize",this.onWindowResize),this.resizeObserver=new Ri(this.recalculate),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl)},t.recalculate=function(){var t=this.heightAutoObserverEl.offsetHeight<=1,e=this.heightAutoObserverEl.offsetWidth<=1;this.elStyles=window.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction,this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft,this.contentWrapperEl.style.height=t?"auto":"100%",this.placeholderEl.style.width=e?this.contentEl.offsetWidth+"px":"auto",this.placeholderEl.style.height=this.contentEl.scrollHeight+"px",this.axis.x.isOverflowing=this.contentWrapperEl.scrollWidth>this.contentWrapperEl.offsetWidth,this.axis.y.isOverflowing=this.contentWrapperEl.scrollHeight>this.contentWrapperEl.offsetHeight,this.axis.x.isOverflowing="hidden"!==this.elStyles.overflowX&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==this.elStyles.overflowY&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar(),this.axis.x.track.rect=this.axis.x.track.el.getBoundingClientRect(),this.axis.y.track.rect=this.axis.y.track.el.getBoundingClientRect(),this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},t.getScrollbarSize=function(t){void 0===t&&(t="y");var e=this.scrollbarWidth?this.contentWrapperEl[this.axis[t].scrollSizeAttr]:this.contentWrapperEl[this.axis[t].scrollSizeAttr]-this.minScrollbarWidth,i=this.axis[t].track.rect[this.axis[t].sizeAttr];if(this.axis[t].isOverflowing)return t=Math.max(~~(i/e*i),this.options.scrollbarMinSize),this.options.scrollbarMaxSize?Math.min(t,this.options.scrollbarMaxSize):t},t.positionScrollbar=function(t){var e=this.contentWrapperEl[this.axis[t=void 0===t?"y":t].scrollSizeAttr],i=this.axis[t].track.rect[this.axis[t].sizeAttr],r=parseInt(this.elStyles[this.axis[t].sizeAttr],10),n=this.axis[t].scrollbar,s=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],s="x"===t&&this.isRtl&&o.getRtlHelpers().isRtlScrollingInverted?-s:s,s=~~((i-n.size)*(s/(e-r))),s="x"===t&&this.isRtl&&o.getRtlHelpers().isRtlScrollbarInverted?s+(i-n.size):s;n.el.style.transform="x"===t?"translate3d("+s+"px, 0, 0)":"translate3d(0, "+s+"px, 0)"},t.toggleTrackVisibility=function(t){var e=this.axis[t=void 0===t?"y":t].track.el,i=this.axis[t].scrollbar.el;this.axis[t].isOverflowing||this.axis[t].forceVisible?(e.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll"):(e.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden"),this.axis[t].isOverflowing?i.style.display="block":i.style.display="none"},t.hideNativeScrollbar=function(){var t;this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+(this.scrollbarWidth||this.minScrollbarWidth)+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+(this.scrollbarWidth||this.minScrollbarWidth)+"px":0,this.scrollbarWidth||(t=[this.isRtl?"paddingLeft":"paddingRight"],this.contentWrapperEl.style[t]=this.axis.y.isOverflowing||this.axis.y.forceVisible?this.minScrollbarWidth+"px":0,this.contentWrapperEl.style.paddingBottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?this.minScrollbarWidth+"px":0)},t.onMouseMoveForAxis=function(t){this.axis[t=void 0===t?"y":t].track.rect=this.axis[t].track.el.getBoundingClientRect(),this.axis[t].scrollbar.rect=this.axis[t].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[t].scrollbar.rect)?this.axis[t].scrollbar.el.classList.add(this.classNames.hover):this.axis[t].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[t].track.rect)?(this.showScrollbar(t),this.axis[t].track.el.classList.add(this.classNames.hover)):this.axis[t].track.el.classList.remove(this.classNames.hover)},t.onMouseLeaveForAxis=function(t){this.axis[t=void 0===t?"y":t].track.el.classList.remove(this.classNames.hover),this.axis[t].scrollbar.el.classList.remove(this.classNames.hover)},t.showScrollbar=function(t){var e=this.axis[t=void 0===t?"y":t].scrollbar.el;this.axis[t].isVisible||(e.classList.add(this.classNames.visible),this.axis[t].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},t.onDragStart=function(t,e){var i=this.axis[e=void 0===e?"y":e].scrollbar.el,t="y"===e?t.pageY:t.pageX;this.axis[e].dragOffset=t-i.getBoundingClientRect()[this.axis[e].offsetAttr],this.draggedAxis=e,this.el.classList.add(this.classNames.dragging),document.addEventListener("mousemove",this.drag),document.addEventListener("mouseup",this.onEndDrag)},t.getContentElement=function(){return this.contentEl},t.getScrollElement=function(){return this.contentWrapperEl},t.removeListeners=function(){var e=this;this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick","touchstart","touchend","touchmove"].forEach(function(t){e.el.removeEventListener(t,e.onPointerEvent)}),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.removeEventListener("scroll",this.onScroll),window.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},t.unMount=function(){this.removeListeners(),this.el.SimpleBar=null},t.isChildNode=function(t){return null!==t&&(t===this.el||this.isChildNode(t.parentNode))},t.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},o}();return p.defaultOptions={autoHide:!0,forceVisible:!1,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},ji&&p.initHtmlApi(),p})
;