/**handles:um_scrollbar**/
!function(t,e){"object"==typeof exports&amp;&amp;"undefined"!=typeof module?module.exports=e():"function"==typeof define&amp;&amp;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&lt;t?H(_(t),9007199254740991):0}var V=function(t){if(&quot;function&quot;!=typeof t)throw TypeError(String(t)+&quot; is not a function&quot;);return t},D={}.toString,B=&quot;&quot;.split,y=c(function(){return!Object(&quot;z&quot;).propertyIsEnumerable(0)})?function(t){return&quot;String&quot;==C(t)?B.call(t,&quot;&quot;):Object(t)}:Object,s=function(t){if(null==t)throw TypeError(&quot;Can&#039;t call method on &quot;+t);return t},I=Math.ceil,P=Math.floor,_=function(t){return isNaN(t=+t)?0:(0&lt;t?P:I)(t)},H=Math.min,n=function(t){return&quot;object&quot;==typeof t?null!==t:&quot;function&quot;==typeof t},F=Array.isArray||function(t){return&quot;Array&quot;==C(t)},t=&quot;undefined&quot;!=typeof globalThis?globalThis:&quot;undefined&quot;!=typeof window?window:&quot;undefined&quot;!=typeof global?global:&quot;undefined&quot;!=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&amp;&amp;&quot;function&quot;==typeof(i=t.toString)&amp;&amp;!n(r=i.call(t))||&quot;function&quot;==typeof(i=t.valueOf)&amp;&amp;!n(r=i.call(t))||!e&amp;&amp;&quot;function&quot;==typeof(i=t.toString)&amp;&amp;!n(r=i.call(t)))return r;throw TypeError(&quot;Can&#039;t convert object to primitive value&quot;)}function X(t,e){return{enumerable:!(1&amp;t),configurable:!(2&amp;t),writable:!(4&amp;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&amp;&amp;ft[t]||(ht?ft:ct)(&quot;Symbol.&quot;+t))}function G(t,e){var i;return new(void 0===(i=F(t)&amp;&amp;(&quot;function&quot;==typeof(i=t.constructor)&amp;&amp;(i===Array||F(i.prototype))||n(i)&amp;&amp;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;cn;)!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&amp;&amp;("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))&amp;&amp;n.value:l[i],!Ct(o?i:s+(a?".":"#")+i,t.forced)&amp;&amp;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&lt;u.length;p++){var v=u[p];m(c,v)||f(c,v,d(h,v))}}(t.sham||n&amp;&amp;n.sham)&amp;&amp;b(r,&quot;sham&quot;,!0),wt(l,i,r,t)}}var r,Q,Z,tt,o,a,et,l,u,g=&quot;object&quot;==typeof window&amp;&amp;window&amp;&amp;window.Math==Math?window:&quot;object&quot;==typeof self&amp;&amp;self&amp;&amp;self.Math==Math?self:Function(&quot;return this&quot;)(),f=!c(function(){return 7!=Object.defineProperty({},&quot;a&quot;,{get:function(){return 7}}).a}),it=g.document,rt=n(it)&amp;&amp;n(it.createElement),nt=!f&amp;&amp;!c(function(){return 7!=Object.defineProperty(rt?it.createElement(&quot;div&quot;):{},&quot;a&quot;,{get:function(){return 7}}).a}),S=function(t){if(n(t))return t;throw TypeError(String(t)+&quot; is not an object&quot;)},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(&quot;get&quot;in i||&quot;set&quot;in i)throw TypeError(&quot;Accessors not supported&quot;);return&quot;value&quot;in i&amp;&amp;(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=&quot;__core-js_shared__&quot;,i=g[e]||Y(e,{});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})(&quot;versions&quot;,[]).push({version:&quot;3.0.1&quot;,mode:&quot;global&quot;,copyright:&quot;© 2019 Denis Pushkarev (zloirock.ru)&quot;})}),at=0,lt=Math.random(),ct=function(t){return&quot;Symbol(&quot;.concat(void 0===t?&quot;&quot;:t,&quot;)_&quot;,(++at+lt).toString(36))},ht=!c(function(){return!String(Symbol())}),ut=d(&quot;wks&quot;),ft=g.Symbol,dt=h(&quot;species&quot;),pt=h(&quot;species&quot;),p={}.propertyIsEnumerable,vt=Object.getOwnPropertyDescriptor,gt={f:vt&amp;&amp;!p.call({1:2},1)?function(t){t=vt(this,t);return!!t&amp;&amp;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(&quot;native-function-to-string&quot;,Function.toString),p=g.WeakMap,p=&quot;function&quot;==typeof p&amp;&amp;/native code/.test(v.call(p)),x=d(&quot;keys&quot;),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=&quot;state&quot;]||(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)&amp;&amp;(t=a(t)).type===e)return t;throw TypeError(&quot;Incompatible receiver, &quot;+e+&quot; required&quot;)}}}),wt=q(function(t){var e=Et.get,o=Et.enforce,a=String(v).split(&quot;toString&quot;);d(&quot;inspectSource&quot;,function(t){return v.call(t)}),(t.exports=function(t,e,i,r){var n=!!r&amp;&amp;!!r.unsafe,s=!!r&amp;&amp;!!r.enumerable,r=!!r&amp;&amp;!!r.noTargetGet;&quot;function&quot;==typeof i&amp;&amp;(&quot;string&quot;!=typeof e||m(i,&quot;name&quot;)||b(i,&quot;name&quot;,e),o(i).source=a.join(&quot;string&quot;==typeof e?e:&quot;&quot;)),t===g?s?t[e]=i:Y(e,i):(n?!r&amp;&amp;t[e]&amp;&amp;(s=!0):delete t[e],s?t[e]=i:b(t,e,i))})(Function.prototype,&quot;toString&quot;,function(){return&quot;function&quot;==typeof this&amp;&amp;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&lt;0?Ot(t+e,0):_t(t,e)}(i,s);if(u&amp;&amp;e!=e){for(;o&lt;s;)if((r=n[o++])!=r)return!0}else for(;o&lt;s;o++)if((u||o in n)&amp;&amp;n[o]===e)return u||o||0;return!u&amp;&amp;-1}),At=[&quot;constructor&quot;,&quot;hasOwnProperty&quot;,&quot;isPrototypeOf&quot;,&quot;propertyIsEnumerable&quot;,&quot;toLocaleString&quot;,&quot;toString&quot;,&quot;valueOf&quot;],Lt=At.concat(&quot;length&quot;,&quot;prototype&quot;),Mt={f:Object.getOwnPropertyNames||function(t){return J(t,Lt)}},kt={f:Object.getOwnPropertySymbols},E=g.Reflect,Wt=E&amp;&amp;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,&quot;.&quot;).toLowerCase()},jt=e.data={},Nt=e.NATIVE=&quot;N&quot;,zt=e.POLYFILL=&quot;P&quot;,Ct=e,Vt=yt.f,Dt=K(2);Ft=&quot;filter&quot;;function Bt(t,e){var i=[][t];return!i||!c(function(){i.call(null,e||function(){throw 1},1)})}i({target:&quot;Array&quot;,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&lt;0||n&lt;=t?e?&quot;&quot;:void 0:(r=i.charCodeAt(t))&lt;55296||56319&lt;r||t+1===n||(n=i.charCodeAt(t+1))&lt;56320||57343&lt;n?e?i.charAt(t):r:e?i.slice(t,t+2):n-56320+(r-55296&lt;&lt;10)+65536).length):1);var r,n}function Pt(t,e){var i=t.exec;if(&quot;function&quot;==typeof i){i=i.call(t,e);if(&quot;object&quot;!=typeof i)throw TypeError(&quot;RegExp exec method returned something other than an Object or null&quot;);return i}if(&quot;RegExp&quot;!==C(t))throw TypeError(&quot;RegExp#exec called on incompatible receiver&quot;);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!=&quot;&quot;[i](t)}),l=a&amp;&amp;!c(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},&quot;split&quot;===i&amp;&amp;(e.constructor={},e.constructor[se]=function(){return e}),e[o](&quot;&quot;),!t});a&amp;&amp;l&amp;&amp;(&quot;replace&quot;!==i||oe)&amp;&amp;(&quot;split&quot;!==i||ae)||(s=/./[o],e=(l=e(o,&quot;&quot;[i],function(t,e,i,r,n){return e.exec===ne?a&amp;&amp;!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&amp;&amp;b(RegExp.prototype[o],&quot;sham&quot;,!0))}var Ft,qt,x=[].forEach,$t=K(0),A=Bt(&quot;forEach&quot;)?function(t){return $t(this,t,arguments[1])}:x,p=(i({target:&quot;Array&quot;,proto:!0,forced:[].forEach!=A},{forEach:A}),i({target:&quot;Array&quot;,proto:!0,forced:Bt(&quot;reduce&quot;)},{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&lt;2)for(;;){if(l in o){r=o[l],l+=c;break}if(l+=c,n?l&lt;0:a&lt;=l)throw TypeError(&quot;Reduce of empty array with no initial value&quot;)}for(;n?0&lt;=l:l&lt;a;l+=c)l in o&amp;&amp;(r=i(r,o[l],l,s));return r}}),ot.f),E=Function.prototype,Xt=E.toString,Yt=/^\s*function ([^ (]*)/,Gt=(!f||&quot;name&quot;in E||p(E,&quot;name&quot;,{configurable:!0,get:function(){try{return Xt.call(this).match(Yt)[1]}catch(t){return&quot;&quot;}}}),Object.keys||function(t){return J(t,At)}),Kt=Object.assign,x=!Kt||c(function(){var t={},e={},i=Symbol(),r=&quot;abcdefghijklmnopqrst&quot;;return t[i]=7,r.split(&quot;&quot;).forEach(function(t){e[t]=t}),7!=Kt({},t)[i]||Gt(Kt({},e)).join(&quot;&quot;)!=r})?function(t,e){for(var i=w(t),r=arguments.length,n=1,s=kt.f,o=gt.f;n&lt;r;)for(var a,l=y(arguments[n++]),c=s?Gt(l).concat(s(l)):Gt(l),h=c.length,u=0;u&gt;&gt;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&amp;&amp;(i=new RegExp("^"+s.source+"$(?!\\s)",function(){var t=S(this),e="";return t.global&amp;&amp;(e+="g"),t.ignoreCase&amp;&amp;(e+="i"),t.multiline&amp;&amp;(e+="m"),t.unicode&amp;&amp;(e+="u"),t.sticky&amp;&amp;(e+="y"),e}.call(s))),ie&amp;&amp;(e=s.lastIndex),r=te.call(s,t),ie&amp;&amp;r&amp;&amp;(s.lastIndex=s.global?r.index+r[0].length:e),re&amp;&amp;r&amp;&amp;1&lt;r.length&amp;&amp;ee.call(r[0],i,function(){for(n=1;n&lt;arguments.length-2;n++)void 0===arguments[n]&amp;&amp;(r[n]=void 0)}),r}:x,se=(i({target:&quot;RegExp&quot;,proto:!0,forced:/./.exec!==ne},{exec:ne}),h(&quot;species&quot;)),oe=!c(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:&quot;7&quot;},t},&quot;7&quot;!==&quot;&quot;.replace(t,&quot;$<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)&amp;&amp;(i.lastIndex=It(r,O(i.lastIndex),n)),o++}return 0===o?null:s}]}),Math.max),ce=Math.min,he=Math.floor,ue=/\$([$&amp;`']|\d\d?|]*&gt;)/g,fe=/\$([$&amp;`']|\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&amp;&amp;(r=n.unicode,n.lastIndex=0),[]);null!==(d=Pt(n,s))&amp;&amp;(l.push(d),a);)""===String(d[0])&amp;&amp;(n.lastIndex=It(s,O(n.lastIndex),r));for(var c,h="",u=0,f=0;f&lt;l.length;f++){for(var d=l[f],p=String(d[0]),v=le(ce(_(d.index),s.length),0),g=[],b=1;b&lt;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&amp;&amp;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&amp;&amp;(c=w(c),e=ue);return x.call(t,e,function(t,e){var i;switch(e.charAt(0)){case&quot;$&quot;:return&quot;$&quot;;case&quot;&amp;&quot;:return s;case&quot;`&quot;:return o.slice(0,a);case&quot;&#039;&quot;:return o.slice(h);case&quot;&lt;&quot;:i=c[e.slice(1,-1)];break;default:var r,n=+e;if(0==n)return t;if(u&lt;n)return 0!==(r=he(n/10))&amp;&amp;r&lt;=u?void 0===l[r-1]?e.charAt(1):l[r-1]+e.charAt(1):t;i=l[n-1]}return void 0===i?&quot;&quot;:i})}(p,s,v,g,m,e);u&lt;=v&amp;&amp;(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&amp;&amp;L.prototype;if(L&amp;&amp;L.forEach!==A)try{b(L,&quot;forEach&quot;,A)}catch(t){L.forEach=A}}var de=q(function(t,e){t.exports=function(){if(&quot;undefined&quot;==typeof document)return 0;var t=document.body,e=document.createElement(&quot;div&quot;),i=e.style;return i.position=&quot;absolute&quot;,i.top=i.left=&quot;-9999px&quot;,i.width=i.height=&quot;100px&quot;,i.overflow=&quot;scroll&quot;,t.appendChild(e),i=e.offsetWidth-e.clientWidth,t.removeChild(e),i}}),pe=&quot;Expected a function&quot;,ve=NaN,ge=/^\s+|\s+$/g,be=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,ye=/^0o[0-7]+$/i,xe=parseInt,E=&quot;object&quot;==typeof t&amp;&amp;t&amp;&amp;t.Object===Object&amp;&amp;t,p=&quot;object&quot;==typeof self&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,Ee=E||p||Function(&quot;return this&quot;)(),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(&quot;function&quot;!=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&lt;=e||e&lt;0||f&amp;&amp;o&lt;=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&amp;&amp;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&amp;&amp;(l=setTimeout(v,i)),a}return i=Me(i)||0,Le(t)&amp;&amp;(u=!!t.leading,f=&quot;maxWait&quot;in t,o=f?Oe(Me(t.maxWait)||0,i):o,e=&quot;trailing&quot;in t?!!t.trailing:e),b.cancel=function(){void 0!==l&amp;&amp;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&amp;&amp;(&quot;object&quot;==e||&quot;function&quot;==e)}function Me(t){if(&quot;number&quot;==typeof t)return t;if(&quot;symbol&quot;==typeof(i=t)||!!(e=i)&amp;&amp;&quot;object&quot;==typeof e&amp;&amp;&quot;[object Symbol]&quot;==we.call(i))return ve;var e;if(&quot;string&quot;!=typeof(t=Le(t)?Le(e=&quot;function&quot;==typeof t.valueOf?t.valueOf():t)?e+&quot;&quot;:e:t))return 0===t?t:+t;t=t.replace(ge,&quot;&quot;);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(&quot;function&quot;!=typeof t)throw new TypeError(pe);return Le(i)&amp;&amp;(r=&quot;leading&quot;in i?!!i.leading:r,n=&quot;trailing&quot;in i?!!i.trailing:n),Ae(t,e,{leading:r,maxWait:e,trailing:n})},Te=NaN,Re=&quot;[object Symbol]&quot;,je=/^\s+|\s+$/g,Ne=/^[-+]0x[0-9a-f]+$/i,ze=/^0b[01]+$/i,Ce=/^0o[0-7]+$/i,Ve=parseInt,f=&quot;object&quot;==typeof t&amp;&amp;t&amp;&amp;t.Object===Object&amp;&amp;t,x=&quot;object&quot;==typeof self&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,De=f||x||Function(&quot;return this&quot;)(),Be=Object.prototype.toString,Ie=Math.max,Pe=Math.min;function He(t){var e=typeof t;return t&amp;&amp;(&quot;object&quot;==e||&quot;function&quot;==e)}function Fe(t){if(&quot;number&quot;==typeof t)return t;if(&quot;symbol&quot;==typeof(i=t)||!!(e=i)&amp;&amp;&quot;object&quot;==typeof e&amp;&amp;Be.call(i)==Re)return Te;var e;if(&quot;string&quot;!=typeof(t=He(t)?He(e=&quot;function&quot;==typeof t.valueOf?t.valueOf():t)?e+&quot;&quot;:e:t))return 0===t?t:+t;t=t.replace(je,&quot;&quot;);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(&quot;function&quot;!=typeof r)throw new TypeError(&quot;Expected a function&quot;);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&lt;=e||e&lt;0||f&amp;&amp;o&lt;=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&amp;&amp;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&amp;&amp;(l=setTimeout(v,i)),a}return i=Fe(i)||0,He(t)&amp;&amp;(u=!!t.leading,f=&quot;maxWait&quot;in t,o=f?Ie(Fe(t.maxWait)||0,i):o,e=&quot;trailing&quot;in t?!!t.trailing:e),b.cancel=function(){void 0!==l&amp;&amp;clearTimeout(l),n=c=s=l=void(h=0)},b.flush=function(){return void 0===l?a:g(ke())},b},$e=&quot;__lodash_hash_undefined__&quot;,Xe=&quot;[object Function]&quot;,Ye=&quot;[object GeneratorFunction]&quot;,Ge=/^\[object .+?Constructor\]$/,E=&quot;object&quot;==typeof t&amp;&amp;t&amp;&amp;t.Object===Object&amp;&amp;t,p=&quot;object&quot;==typeof self&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,f=E||p||Function(&quot;return this&quot;)();var x=Array.prototype,t=Function.prototype,E=Object.prototype,p=f[&quot;__core-js_shared__&quot;],Ke=(p=/[^.]+$/.exec(p&amp;&amp;p.keys&amp;&amp;p.keys.IE_PROTO||&quot;&quot;))?&quot;Symbol(src)_1.&quot;+p:&quot;&quot;,Ue=t.toString,Je=E.hasOwnProperty,Qe=E.toString,Ze=RegExp(&quot;^&quot;+Ue.call(Je).replace(/[\\^$.*+?()[\]{}|]/g,&quot;\\$&amp;&quot;).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,&quot;$1.*?&quot;)+&quot;$&quot;),ti=x.splice,ei=si(f,&quot;Map&quot;),M=si(Object,&quot;create&quot;);function k(t){var e=-1,i=t?t.length:0;for(this.clear();++e&lt;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&lt;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&lt;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&amp;&amp;r!=r)return n;return-1}function ri(t){var e;return ai(t)&amp;&amp;(e=t,!(Ke&amp;&amp;Ke in e))&amp;&amp;(function(t){t=ai(t)?Qe.call(t):&quot;&quot;;return t==Xe||t==Ye}(t)||function(t){var e=!1;if(null!=t&amp;&amp;&quot;function&quot;!=typeof t.toString)try{e=!!(t+&quot;&quot;)}catch(t){}return e}(t)?Ze:Ge).test(function(t){if(null!=t){try{return Ue.call(t)}catch(t){}try{return t+&quot;&quot;}catch(t){}}return&quot;&quot;}(t))}function ni(t,e){var i,r,t=t.__data__;return(&quot;string&quot;==(r=typeof(i=e))||&quot;number&quot;==r||&quot;symbol&quot;==r||&quot;boolean&quot;==r?&quot;__proto__&quot;!==i:null===i)?t[&quot;string&quot;==typeof e?&quot;string&quot;:&quot;hash&quot;]: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(&quot;function&quot;!=typeof r||n&amp;&amp;&quot;function&quot;!=typeof n)throw new TypeError(&quot;Expected a function&quot;);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&amp;&amp;(&quot;object&quot;==e||&quot;function&quot;==e)}k.prototype.clear=function(){this.__data__=M?M(null):{}},k.prototype.delete=function(t){return this.has(t)&amp;&amp;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&amp;&amp;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))&lt;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))&lt;0?void 0:e[t][1]},W.prototype.has=function(t){return-1&lt;ii(this.__data__,t)},W.prototype.set=function(t,e){var i=this.__data__,r=ii(i,t);return r&lt;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=&quot;undefined&quot;!=typeof Map?Map:(Object.defineProperty(R.prototype,&quot;size&quot;,{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&amp;&amp;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&amp;&amp;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&amp;&amp;(e=null);for(var i=0,r=this.__entries__;i&lt;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&amp;&amp;(r=e,!0)}),r}var ui=&quot;undefined&quot;!=typeof window&amp;&amp;&quot;undefined&quot;!=typeof document&amp;&amp;window.document===document,fi=&quot;undefined&quot;!=typeof global&amp;&amp;global.Math===Math?global:&quot;undefined&quot;!=typeof self&amp;&amp;self.Math===Math?self:&quot;undefined&quot;!=typeof window&amp;&amp;window.Math===Math?window:Function(&quot;return this&quot;)(),di=&quot;function&quot;==typeof requestAnimationFrame?requestAnimationFrame.bind(fi):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)},pi=2;var vi=[&quot;top&quot;,&quot;right&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;width&quot;,&quot;height&quot;,&quot;size&quot;,&quot;weight&quot;],gi=&quot;undefined&quot;!=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&amp;&amp;e.splice(t,1),!e.length&amp;&amp;this.connected_&amp;&amp;this.disconnect_()},j.prototype.refresh=function(){this.updateObservers_()&amp;&amp;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&lt;t.length},j.prototype.connect_=function(){ui&amp;&amp;!this.connected_&amp;&amp;(document.addEventListener(&quot;transitionend&quot;,this.onTransitionEnd_),window.addEventListener(&quot;resize&quot;,this.refresh),gi?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener(&quot;DOMSubtreeModified&quot;,this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},j.prototype.disconnect_=function(){ui&amp;&amp;this.connected_&amp;&amp;(document.removeEventListener(&quot;transitionend&quot;,this.onTransitionEnd_),window.removeEventListener(&quot;resize&quot;,this.refresh),this.mutationsObserver_&amp;&amp;this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&amp;&amp;document.removeEventListener(&quot;DOMSubtreeModified&quot;,this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},j.prototype.onTransitionEnd_=function(t){var t=t.propertyName,e=void 0===t?&quot;&quot;:t;vi.some(function(t){return!!~e.indexOf(t)})&amp;&amp;this.refresh()},j.getInstance=function(){return this.instance_||(this.instance_=new j),this.instance_},j.instance_=null,j);function j(){function t(){s&amp;&amp;(s=!1,r()),o&amp;&amp;i()}function e(){di(t)}function i(){var t=Date.now();if(s){if(t-a&lt;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&lt;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&amp;&amp;t.ownerDocument&amp;&amp;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&lt;arguments.length;e++)t[e-1]=arguments[e];return t.reduce(function(t,e){return t+xi(i[&quot;border-&quot;+e+&quot;-width&quot;])},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=[&quot;top&quot;,&quot;right&quot;,&quot;bottom&quot;,&quot;left&quot;];i&lt;r.length;i++){var n=r[i],s=t[&quot;padding-&quot;+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),&quot;border-box&quot;===o.boxSizing&amp;&amp;(Math.round(n+i)!==a&amp;&amp;(n-=Ei(o,&quot;left&quot;,&quot;right&quot;)+i),Math.round(s+r)!==l)&amp;&amp;(s-=Ei(o,&quot;top&quot;,&quot;bottom&quot;)+r),t!==N(t).document.documentElement&amp;&amp;(o=Math.round(n+i)-a,t=Math.round(s+r)-l,1!==Math.abs(o)&amp;&amp;(n-=o),1!==Math.abs(t))&amp;&amp;(s-=t),Si(e.left,e.top,n,s)):yi}var Oi=&quot;undefined&quot;!=typeof SVGGraphicsElement?function(t){return t instanceof N(t).SVGGraphicsElement}:function(t){return t instanceof N(t).SVGElement&amp;&amp;&quot;function&quot;==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=&quot;undefined&quot;!=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(&quot;1 argument required, but only 0 present.&quot;);if(&quot;undefined&quot;!=typeof Element&amp;&amp;Element instanceof Object){if(!(t instanceof N(t).Element))throw new TypeError(&#039;parameter 1 is not of type &quot;Element&quot;.&#039;);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(&quot;1 argument required, but only 0 present.&quot;);if(&quot;undefined&quot;!=typeof Element&amp;&amp;Element instanceof Object){if(!(t instanceof N(t).Element))throw new TypeError(&#039;parameter 1 is not of type &quot;Element&quot;.&#039;);var e=this.observations_;e.has(t)&amp;&amp;(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()&amp;&amp;e.activeObservations_.push(t)})},z.prototype.broadcastActive=function(){var t,e;this.hasActive()&amp;&amp;(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&lt;this.activeObservations_.length},z);function z(t,e,i){if(this.activeObservations_=[],this.observations_=new ci,&quot;function&quot;!=typeof t)throw new TypeError(&quot;The callback provided as parameter 1 is not a function.&quot;);this.callback_=t,this.controller_=e,this.callbackCtx_=i}var Wi=new(&quot;undefined&quot;!=typeof WeakMap?WeakMap:ci),Ti=function t(e){if(!(this instanceof t))throw new TypeError(&quot;Cannot call a class as a function.&quot;);if(!arguments.length)throw new TypeError(&quot;1 argument required, but only 0 present.&quot;);var i=bi.getInstance(),e=new ki(e,i,this);Wi.set(this,e)},Ri=([&quot;observe&quot;,&quot;unobserve&quot;,&quot;disconnect&quot;].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=!(&quot;undefined&quot;==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&amp;&amp;(n.showScrollbar(&quot;x&quot;),n.positionScrollbar(&quot;x&quot;)),n.scrollXTicking=!1},this.scrollY=function(){n.axis.y.isOverflowing&amp;&amp;(n.showScrollbar(&quot;y&quot;),n.positionScrollbar(&quot;y&quot;)),n.scrollYTicking=!1},this.onMouseEnter=function(){n.showScrollbar(&quot;x&quot;),n.showScrollbar(&quot;y&quot;)},this.onMouseMove=function(t){n.mouseX=t.clientX,n.mouseY=t.clientY,(n.axis.x.isOverflowing||n.axis.x.forceVisible)&amp;&amp;n.onMouseMoveForAxis(&quot;x&quot;),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&amp;&amp;n.onMouseMoveForAxis(&quot;y&quot;)},this.onMouseLeave=function(){n.onMouseMove.cancel(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&amp;&amp;n.onMouseLeaveForAxis(&quot;x&quot;),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&amp;&amp;n.onMouseLeaveForAxis(&quot;y&quot;),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)&amp;&amp;(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)&amp;&amp;(t.preventDefault(),t.stopPropagation(),&quot;mousedown&quot;===t.type)&amp;&amp;(e&amp;&amp;n.onDragStart(t,&quot;y&quot;),i)&amp;&amp;n.onDragStart(t,&quot;x&quot;)},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=((&quot;y&quot;===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];&quot;x&quot;===n.draggedAxis&amp;&amp;(t=n.isRtl&amp;&amp;o.getRtlHelpers().isRtlScrollbarInverted?t-(i+r.size):t,t=n.isRtl&amp;&amp;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(&quot;mousemove&quot;,n.drag),document.removeEventListener(&quot;mouseup&quot;,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:&quot;scrollLeft&quot;,sizeAttr:&quot;width&quot;,scrollSizeAttr:&quot;scrollWidth&quot;,offsetAttr:&quot;left&quot;,overflowAttr:&quot;overflowX&quot;,dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:&quot;scrollTop&quot;,sizeAttr:&quot;height&quot;,scrollSizeAttr:&quot;scrollHeight&quot;,offsetAttr:&quot;top&quot;,overflowAttr:&quot;overflowY&quot;,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(&quot;div&quot;),t=(t.innerHTML=&#039;<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&amp;&amp;r.left-t.left!=0,isRtlScrollbarInverted:i.left!==r.left}},o.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&amp;&amp;(this.globalObserver=new MutationObserver(function(t){t.forEach(function(t){Array.prototype.forEach.call(t.addedNodes,function(t){1===t.nodeType&amp;&amp;(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&amp;&amp;(t.hasAttribute("data-simplebar")?t.SimpleBar&amp;&amp;t.SimpleBar.unMount():Array.prototype.forEach.call(t.querySelectorAll("[data-simplebar]"),function(t){t.SimpleBar&amp;&amp;t.SimpleBar.unMount()}))})})}),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&amp;&amp;!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&amp;&amp;(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&amp;&amp;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&amp;&amp;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&lt;=1,e=this.heightAutoObserverEl.offsetWidththis.contentWrapperEl.offsetWidth,this.axis.y.isOverflowing=this.contentWrapperEl.scrollHeight&gt;this.contentWrapperEl.offsetHeight,this.axis.x.isOverflowing="hidden"!==this.elStyles.overflowX&amp;&amp;this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==this.elStyles.overflowY&amp;&amp;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&amp;&amp;(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&amp;&amp;this.isRtl&amp;&amp;o.getRtlHelpers().isRtlScrollingInverted?-s:s,s=~~((i-n.size)*(s/(e-r))),s="x"===t&amp;&amp;this.isRtl&amp;&amp;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&amp;&amp;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&amp;&amp;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&amp;&amp;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&amp;&amp;(t===this.el||this.isChildNode(t.parentNode))},t.isWithinBounds=function(t){return this.mouseX&gt;=t.left&amp;&amp;this.mouseX=t.top&amp;&amp;this.mouseY&lt;=t.top+t.height},o}();return p.defaultOptions={autoHide:!0,forceVisible:!1,classNames:{contentEl:&quot;simplebar-content&quot;,contentWrapper:&quot;simplebar-content-wrapper&quot;,offset:&quot;simplebar-offset&quot;,mask:&quot;simplebar-mask&quot;,wrapper:&quot;simplebar-wrapper&quot;,placeholder:&quot;simplebar-placeholder&quot;,scrollbar:&quot;simplebar-scrollbar&quot;,track:&quot;simplebar-track&quot;,heightAutoObserverWrapperEl:&quot;simplebar-height-auto-observer-wrapper&quot;,heightAutoObserverEl:&quot;simplebar-height-auto-observer&quot;,visible:&quot;simplebar-visible&quot;,horizontal:&quot;simplebar-horizontal&quot;,vertical:&quot;simplebar-vertical&quot;,hover:&quot;simplebar-hover&quot;,dragging:&quot;simplebar-dragging&quot;},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},ji&amp;&amp;p.initHtmlApi(),p});