simplebar-react
Advanced tools
Comparing version 2.3.3 to 2.3.4
/** | ||
* simplebar-react - v2.3.3 | ||
* simplebar-react - v2.3.4 | ||
* React component for SimpleBar | ||
@@ -4,0 +4,0 @@ * https://grsmto.github.io/simplebar/ |
/** | ||
* simplebar-react - v2.3.3 | ||
* simplebar-react - v2.3.4 | ||
* React component for SimpleBar | ||
@@ -10,2 +10,2 @@ * https://grsmto.github.io/simplebar/ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("react"),require("prop-types")):"function"==typeof define&&define.amd?define(["react","prop-types"],e):(t=t||self).SimpleBar=e(t.React,t.PropTypes)}(this,(function(t,e){"use strict";var r="default"in t?t.default:t;function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}e=e&&e.hasOwnProperty("default")?e.default:e;var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function c(t,e){return t(e={exports:{}},e.exports),e.exports}var l,u,f,h="object",p=function(t){return t&&t.Math==Math&&t},d=p(typeof globalThis==h&&globalThis)||p(typeof window==h&&window)||p(typeof self==h&&self)||p(typeof a==h&&a)||Function("return this")(),v=function(t){try{return!!t()}catch(t){return!0}},g=!v((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),b={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,m={f:y&&!b.call({1:2},1)?function(t){var e=y(this,t);return!!e&&e.enumerable}:b},x=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},E={}.toString,w=function(t){return E.call(t).slice(8,-1)},O="".split,_=v((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==w(t)?O.call(t,""):Object(t)}:Object,S=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},k=function(t){return _(S(t))},A=function(t){return"object"==typeof t?null!==t:"function"==typeof t},j=function(t,e){if(!A(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!A(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!A(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!A(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},L={}.hasOwnProperty,T=function(t,e){return L.call(t,e)},M=d.document,R=A(M)&&A(M.createElement),N=function(t){return R?M.createElement(t):{}},W=!g&&!v((function(){return 7!=Object.defineProperty(N("div"),"a",{get:function(){return 7}}).a})),z=Object.getOwnPropertyDescriptor,C={f:g?z:function(t,e){if(t=k(t),e=j(e,!0),W)try{return z(t,e)}catch(t){}if(T(t,e))return x(!m.f.call(t,e),t[e])}},P=function(t){if(!A(t))throw TypeError(String(t)+" is not an object");return t},I=Object.defineProperty,D={f:g?I:function(t,e,r){if(P(t),e=j(e,!0),P(r),W)try{return I(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},V=g?function(t,e,r){return D.f(t,e,x(1,r))}:function(t,e,r){return t[e]=r,t},F=function(t,e){try{V(d,t,e)}catch(r){d[t]=e}return e},B=c((function(t){var e=d["__core-js_shared__"]||F("__core-js_shared__",{});(t.exports=function(t,r){return e[t]||(e[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.2.1",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),H=B("native-function-to-string",Function.toString),q=d.WeakMap,$="function"==typeof q&&/native code/.test(H.call(q)),X=0,Y=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++X+Y).toString(36)},U=B("keys"),Q=function(t){return U[t]||(U[t]=G(t))},K={},J=d.WeakMap;if($){var Z=new J,tt=Z.get,et=Z.has,rt=Z.set;l=function(t,e){return rt.call(Z,t,e),e},u=function(t){return tt.call(Z,t)||{}},f=function(t){return et.call(Z,t)}}else{var nt=Q("state");K[nt]=!0,l=function(t,e){return V(t,nt,e),e},u=function(t){return T(t,nt)?t[nt]:{}},f=function(t){return T(t,nt)}}var it={set:l,get:u,has:f,enforce:function(t){return f(t)?u(t):l(t,{})},getterFor:function(t){return function(e){var r;if(!A(e)||(r=u(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},ot=c((function(t){var e=it.get,r=it.enforce,n=String(H).split("toString");B("inspectSource",(function(t){return H.call(t)})),(t.exports=function(t,e,i,o){var s=!!o&&!!o.unsafe,a=!!o&&!!o.enumerable,c=!!o&&!!o.noTargetGet;"function"==typeof i&&("string"!=typeof e||T(i,"name")||V(i,"name",e),r(i).source=n.join("string"==typeof e?e:"")),t!==d?(s?!c&&t[e]&&(a=!0):delete t[e],a?t[e]=i:V(t,e,i)):a?t[e]=i:F(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||H.call(this)}))})),st=d,at=function(t){return"function"==typeof t?t:void 0},ct=function(t,e){return arguments.length<2?at(st[t])||at(d[t]):st[t]&&st[t][e]||d[t]&&d[t][e]},lt=Math.ceil,ut=Math.floor,ft=function(t){return isNaN(t=+t)?0:(t>0?ut:lt)(t)},ht=Math.min,pt=function(t){return t>0?ht(ft(t),9007199254740991):0},dt=Math.max,vt=Math.min,gt=function(t){return function(e,r,n){var i,o=k(e),s=pt(o.length),a=function(t,e){var r=ft(t);return r<0?dt(r+e,0):vt(r,e)}(n,s);if(t&&r!=r){for(;s>a;)if((i=o[a++])!=i)return!0}else for(;s>a;a++)if((t||a in o)&&o[a]===r)return t||a||0;return!t&&-1}},bt={includes:gt(!0),indexOf:gt(!1)}.indexOf,yt=function(t,e){var r,n=k(t),i=0,o=[];for(r in n)!T(K,r)&&T(n,r)&&o.push(r);for(;e.length>i;)T(n,r=e[i++])&&(~bt(o,r)||o.push(r));return o},mt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],xt=mt.concat("length","prototype"),Et={f:Object.getOwnPropertyNames||function(t){return yt(t,xt)}},wt={f:Object.getOwnPropertySymbols},Ot=ct("Reflect","ownKeys")||function(t){var e=Et.f(P(t)),r=wt.f;return r?e.concat(r(t)):e},_t=function(t,e){for(var r=Ot(e),n=D.f,i=C.f,o=0;o<r.length;o++){var s=r[o];T(t,s)||n(t,s,i(e,s))}},St=/#|\.prototype\./,kt=function(t,e){var r=jt[At(t)];return r==Tt||r!=Lt&&("function"==typeof e?v(e):!!e)},At=kt.normalize=function(t){return String(t).replace(St,".").toLowerCase()},jt=kt.data={},Lt=kt.NATIVE="N",Tt=kt.POLYFILL="P",Mt=kt,Rt=C.f,Nt=function(t,e){var r,n,i,o,s,a=t.target,c=t.global,l=t.stat;if(r=c?d:l?d[a]||F(a,{}):(d[a]||{}).prototype)for(n in e){if(o=e[n],i=t.noTargetGet?(s=Rt(r,n))&&s.value:r[n],!Mt(c?n:a+(l?".":"#")+n,t.forced)&&void 0!==i){if(typeof o==typeof i)continue;_t(o,i)}(t.sham||i&&i.sham)&&V(o,"sham",!0),ot(r,n,o,t)}},Wt=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},zt=function(t,e,r){if(Wt(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}},Ct=function(t){return Object(S(t))},Pt=Array.isArray||function(t){return"Array"==w(t)},It=!!Object.getOwnPropertySymbols&&!v((function(){return!String(Symbol())})),Dt=d.Symbol,Vt=B("wks"),Ft=function(t){return Vt[t]||(Vt[t]=It&&Dt[t]||(It?Dt:G)("Symbol."+t))},Bt=Ft("species"),Ht=function(t,e){var r;return Pt(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!Pt(r.prototype)?A(r)&&null===(r=r[Bt])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)},qt=[].push,$t=function(t){var e=1==t,r=2==t,n=3==t,i=4==t,o=6==t,s=5==t||o;return function(a,c,l,u){for(var f,h,p=Ct(a),d=_(p),v=zt(c,l,3),g=pt(d.length),b=0,y=u||Ht,m=e?y(a,g):r?y(a,0):void 0;g>b;b++)if((s||b in d)&&(h=v(f=d[b],b,p),t))if(e)m[b]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return b;case 2:qt.call(m,f)}else if(i)return!1;return o?-1:n||i?i:m}},Xt={forEach:$t(0),map:$t(1),filter:$t(2),some:$t(3),every:$t(4),find:$t(5),findIndex:$t(6)},Yt=Ft("species"),Gt=Xt.filter;Nt({target:"Array",proto:!0,forced:!function(t){return!v((function(){var e=[];return(e.constructor={})[Yt]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}("filter")},{filter:function(t){return Gt(this,t,arguments.length>1?arguments[1]:void 0)}});var Ut=function(t,e){var r=[][t];return!r||!v((function(){r.call(null,e||function(){throw 1},1)}))},Qt=Xt.forEach,Kt=Ut("forEach")?function(t){return Qt(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach;Nt({target:"Array",proto:!0,forced:[].forEach!=Kt},{forEach:Kt});var Jt=Object.keys||function(t){return yt(t,mt)},Zt=g?Object.defineProperties:function(t,e){P(t);for(var r,n=Jt(e),i=n.length,o=0;i>o;)D.f(t,r=n[o++],e[r]);return t},te=ct("document","documentElement"),ee=Q("IE_PROTO"),re=function(){},ne=function(){var t,e=N("iframe"),r=mt.length;for(e.style.display="none",te.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),ne=t.F;r--;)delete ne.prototype[mt[r]];return ne()},ie=Object.create||function(t,e){var r;return null!==t?(re.prototype=P(t),r=new re,re.prototype=null,r[ee]=t):r=ne(),void 0===e?r:Zt(r,e)};K[ee]=!0;var oe=Ft("unscopables"),se=Array.prototype;null==se[oe]&&V(se,oe,ie(null));var ae,ce,le,ue=function(t){se[oe][t]=!0},fe={},he=!v((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),pe=Q("IE_PROTO"),de=Object.prototype,ve=he?Object.getPrototypeOf:function(t){return t=Ct(t),T(t,pe)?t[pe]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?de:null},ge=Ft("iterator"),be=!1;[].keys&&("next"in(le=[].keys())?(ce=ve(ve(le)))!==Object.prototype&&(ae=ce):be=!0),null==ae&&(ae={}),T(ae,ge)||V(ae,ge,(function(){return this}));var ye={IteratorPrototype:ae,BUGGY_SAFARI_ITERATORS:be},me=D.f,xe=Ft("toStringTag"),Ee=function(t,e,r){t&&!T(t=r?t:t.prototype,xe)&&me(t,xe,{configurable:!0,value:e})},we=ye.IteratorPrototype,Oe=function(){return this},_e=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return P(r),function(t){if(!A(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(n),e?t.call(r,n):r.__proto__=n,r}}():void 0),Se=ye.IteratorPrototype,ke=ye.BUGGY_SAFARI_ITERATORS,Ae=Ft("iterator"),je=function(){return this},Le=function(t,e,r,n,i,o,s){!function(t,e,r){var n=e+" Iterator";t.prototype=ie(we,{next:x(1,r)}),Ee(t,n,!1),fe[n]=Oe}(r,e,n);var a,c,l,u=function(t){if(t===i&&v)return v;if(!ke&&t in p)return p[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},f=e+" Iterator",h=!1,p=t.prototype,d=p[Ae]||p["@@iterator"]||i&&p[i],v=!ke&&d||u(i),g="Array"==e&&p.entries||d;if(g&&(a=ve(g.call(new t)),Se!==Object.prototype&&a.next&&(ve(a)!==Se&&(_e?_e(a,Se):"function"!=typeof a[Ae]&&V(a,Ae,je)),Ee(a,f,!0))),"values"==i&&d&&"values"!==d.name&&(h=!0,v=function(){return d.call(this)}),p[Ae]!==v&&V(p,Ae,v),fe[e]=v,i)if(c={values:u("values"),keys:o?v:u("keys"),entries:u("entries")},s)for(l in c)!ke&&!h&&l in p||ot(p,l,c[l]);else Nt({target:e,proto:!0,forced:ke||h},c);return c},Te=it.set,Me=it.getterFor("Array Iterator"),Re=Le(Array,"Array",(function(t,e){Te(this,{type:"Array Iterator",target:k(t),index:0,kind:e})}),(function(){var t=Me(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values");fe.Arguments=fe.Array,ue("keys"),ue("values"),ue("entries");var Ne=Object.assign,We=!Ne||v((function(){var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=Ne({},t)[r]||"abcdefghijklmnopqrst"!=Jt(Ne({},e)).join("")}))?function(t,e){for(var r=Ct(t),n=arguments.length,i=1,o=wt.f,s=m.f;n>i;)for(var a,c=_(arguments[i++]),l=o?Jt(c).concat(o(c)):Jt(c),u=l.length,f=0;u>f;)a=l[f++],g&&!s.call(c,a)||(r[a]=c[a]);return r}:Ne;Nt({target:"Object",stat:!0,forced:Object.assign!==We},{assign:We});var ze=Ft("toStringTag"),Ce="Arguments"==w(function(){return arguments}()),Pe=function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),ze))?r:Ce?w(e):"Object"==(n=w(e))&&"function"==typeof e.callee?"Arguments":n},Ie={};Ie[Ft("toStringTag")]="z";var De="[object z]"!==String(Ie)?function(){return"[object "+Pe(this)+"]"}:Ie.toString,Ve=Object.prototype;De!==Ve.toString&&ot(Ve,"toString",De,{unsafe:!0});var Fe="\t\n\v\f\r \u2028\u2029\ufeff",Be="["+Fe+"]",He=RegExp("^"+Be+Be+"*"),qe=RegExp(Be+Be+"*$"),$e=function(t){return function(e){var r=String(S(e));return 1&t&&(r=r.replace(He,"")),2&t&&(r=r.replace(qe,"")),r}},Xe={start:$e(1),end:$e(2),trim:$e(3)}.trim,Ye=d.parseInt,Ge=/^[+-]?0[Xx]/,Ue=8!==Ye(Fe+"08")||22!==Ye(Fe+"0x16")?function(t,e){var r=Xe(String(t));return Ye(r,e>>>0||(Ge.test(r)?16:10))}:Ye;Nt({global:!0,forced:parseInt!=Ue},{parseInt:Ue});var Qe=function(t){return function(e,r){var n,i,o=String(S(e)),s=ft(r),a=o.length;return s<0||s>=a?t?"":void 0:(n=o.charCodeAt(s))<55296||n>56319||s+1===a||(i=o.charCodeAt(s+1))<56320||i>57343?t?o.charAt(s):n:t?o.slice(s,s+2):i-56320+(n-55296<<10)+65536}},Ke={codeAt:Qe(!1),charAt:Qe(!0)},Je=Ke.charAt,Ze=it.set,tr=it.getterFor("String Iterator");Le(String,"String",(function(t){Ze(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=tr(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=Je(r,n),e.index+=t.length,{value:t,done:!1})}));var er=function(t,e,r){for(var n in e)ot(t,n,e[n],r);return t},rr=!v((function(){return Object.isExtensible(Object.preventExtensions({}))})),nr=c((function(t){var e=D.f,r=G("meta"),n=0,i=Object.isExtensible||function(){return!0},o=function(t){e(t,r,{value:{objectID:"O"+ ++n,weakData:{}}})},s=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!A(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!T(t,r)){if(!i(t))return"F";if(!e)return"E";o(t)}return t[r].objectID},getWeakData:function(t,e){if(!T(t,r)){if(!i(t))return!0;if(!e)return!1;o(t)}return t[r].weakData},onFreeze:function(t){return rr&&s.REQUIRED&&i(t)&&!T(t,r)&&o(t),t}};K[r]=!0})),ir=(nr.REQUIRED,nr.fastKey,nr.getWeakData,nr.onFreeze,Ft("iterator")),or=Array.prototype,sr=Ft("iterator"),ar=function(t,e,r,n){try{return n?e(P(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&P(i.call(t)),e}},cr=c((function(t){var e=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,r,n,i,o){var s,a,c,l,u,f,h,p=zt(r,n,i?2:1);if(o)s=t;else{if("function"!=typeof(a=function(t){if(null!=t)return t[sr]||t["@@iterator"]||fe[Pe(t)]}(t)))throw TypeError("Target is not iterable");if(void 0!==(h=a)&&(fe.Array===h||or[ir]===h)){for(c=0,l=pt(t.length);l>c;c++)if((u=i?p(P(f=t[c])[0],f[1]):p(t[c]))&&u instanceof e)return u;return new e(!1)}s=a.call(t)}for(;!(f=s.next()).done;)if((u=ar(s,p,f.value,i))&&u instanceof e)return u;return new e(!1)}).stop=function(t){return new e(!0,t)}})),lr=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},ur=Ft("iterator"),fr=!1;try{var hr=0,pr={next:function(){return{done:!!hr++}},return:function(){fr=!0}};pr[ur]=function(){return this},Array.from(pr,(function(){throw 2}))}catch(t){}var dr=function(t,e,r,n,i){var o=d[t],s=o&&o.prototype,a=o,c=n?"set":"add",l={},u=function(t){var e=s[t];ot(s,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(i&&!A(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return i&&!A(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(i&&!A(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(Mt(t,"function"!=typeof o||!(i||s.forEach&&!v((function(){(new o).entries().next()})))))a=r.getConstructor(e,t,n,c),nr.REQUIRED=!0;else if(Mt(t,!0)){var f=new a,h=f[c](i?{}:-0,1)!=f,p=v((function(){f.has(1)})),g=function(t,e){if(!e&&!fr)return!1;var r=!1;try{var n={};n[ur]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r}((function(t){new o(t)})),b=!i&&v((function(){for(var t=new o,e=5;e--;)t[c](e,e);return!t.has(-0)}));g||((a=e((function(e,r){lr(e,a,t);var i=function(t,e,r){var n,i;return _e&&"function"==typeof(n=e.constructor)&&n!==r&&A(i=n.prototype)&&i!==r.prototype&&_e(t,i),t}(new o,e,a);return null!=r&&cr(r,i[c],i,n),i}))).prototype=s,s.constructor=a),(p||b)&&(u("delete"),u("has"),n&&u("get")),(b||h)&&u(c),i&&s.clear&&delete s.clear}return l[t]=a,Nt({global:!0,forced:a!=o},l),Ee(a,t),i||r.setStrong(a,t,n),a},vr=nr.getWeakData,gr=it.set,br=it.getterFor,yr=Xt.find,mr=Xt.findIndex,xr=0,Er=function(t){return t.frozen||(t.frozen=new wr)},wr=function(){this.entries=[]},Or=function(t,e){return yr(t.entries,(function(t){return t[0]===e}))};wr.prototype={get:function(t){var e=Or(this,t);if(e)return e[1]},has:function(t){return!!Or(this,t)},set:function(t,e){var r=Or(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=mr(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}};var _r={getConstructor:function(t,e,r,n){var i=t((function(t,o){lr(t,i,e),gr(t,{type:e,id:xr++,frozen:void 0}),null!=o&&cr(o,t[n],t,r)})),o=br(e),s=function(t,e,r){var n=o(t),i=vr(P(e),!0);return!0===i?Er(n).set(e,r):i[n.id]=r,t};return er(i.prototype,{delete:function(t){var e=o(this);if(!A(t))return!1;var r=vr(t);return!0===r?Er(e).delete(t):r&&T(r,e.id)&&delete r[e.id]},has:function(t){var e=o(this);if(!A(t))return!1;var r=vr(t);return!0===r?Er(e).has(t):r&&T(r,e.id)}}),er(i.prototype,r?{get:function(t){var e=o(this);if(A(t)){var r=vr(t);return!0===r?Er(e).get(t):r?r[e.id]:void 0}},set:function(t,e){return s(this,t,e)}}:{add:function(t){return s(this,t,!0)}}),i}},Sr=(c((function(t){var e,r=it.enforce,n=!d.ActiveXObject&&"ActiveXObject"in d,i=Object.isExtensible,o=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},s=t.exports=dr("WeakMap",o,_r,!0,!0);if($&&n){e=_r.getConstructor(o,"WeakMap",!0),nr.REQUIRED=!0;var a=s.prototype,c=a.delete,l=a.has,u=a.get,f=a.set;er(a,{delete:function(t){if(A(t)&&!i(t)){var n=r(this);return n.frozen||(n.frozen=new e),c.call(this,t)||n.frozen.delete(t)}return c.call(this,t)},has:function(t){if(A(t)&&!i(t)){var n=r(this);return n.frozen||(n.frozen=new e),l.call(this,t)||n.frozen.has(t)}return l.call(this,t)},get:function(t){if(A(t)&&!i(t)){var n=r(this);return n.frozen||(n.frozen=new e),l.call(this,t)?u.call(this,t):n.frozen.get(t)}return u.call(this,t)},set:function(t,n){if(A(t)&&!i(t)){var o=r(this);o.frozen||(o.frozen=new e),l.call(this,t)?f.call(this,t,n):o.frozen.set(t,n)}else f.call(this,t,n);return this}})}})),{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}),kr=Ft("iterator"),Ar=Ft("toStringTag"),jr=Re.values;for(var Lr in Sr){var Tr=d[Lr],Mr=Tr&&Tr.prototype;if(Mr){if(Mr[kr]!==jr)try{V(Mr,kr,jr)}catch(t){Mr[kr]=jr}if(Mr[Ar]||V(Mr,Ar,Lr),Sr[Lr])for(var Rr in Re)if(Mr[Rr]!==Re[Rr])try{V(Mr,Rr,Re[Rr])}catch(t){Mr[Rr]=Re[Rr]}}}var Nr="Expected a function",Wr=NaN,zr="[object Symbol]",Cr=/^\s+|\s+$/g,Pr=/^[-+]0x[0-9a-f]+$/i,Ir=/^0b[01]+$/i,Dr=/^0o[0-7]+$/i,Vr=parseInt,Fr="object"==typeof a&&a&&a.Object===Object&&a,Br="object"==typeof self&&self&&self.Object===Object&&self,Hr=Fr||Br||Function("return this")(),qr=Object.prototype.toString,$r=Math.max,Xr=Math.min,Yr=function(){return Hr.Date.now()};function Gr(t,e,r){var n,i,o,s,a,c,l=0,u=!1,f=!1,h=!0;if("function"!=typeof t)throw new TypeError(Nr);function p(e){var r=n,o=i;return n=i=void 0,l=e,s=t.apply(o,r)}function d(t){var r=t-c;return void 0===c||r>=e||r<0||f&&t-l>=o}function v(){var t=Yr();if(d(t))return g(t);a=setTimeout(v,function(t){var r=e-(t-c);return f?Xr(r,o-(t-l)):r}(t))}function g(t){return a=void 0,h&&n?p(t):(n=i=void 0,s)}function b(){var t=Yr(),r=d(t);if(n=arguments,i=this,c=t,r){if(void 0===a)return function(t){return l=t,a=setTimeout(v,e),u?p(t):s}(c);if(f)return a=setTimeout(v,e),p(c)}return void 0===a&&(a=setTimeout(v,e)),s}return e=Qr(e)||0,Ur(r)&&(u=!!r.leading,o=(f="maxWait"in r)?$r(Qr(r.maxWait)||0,e):o,h="trailing"in r?!!r.trailing:h),b.cancel=function(){void 0!==a&&clearTimeout(a),l=0,n=c=i=a=void 0},b.flush=function(){return void 0===a?s:g(Yr())},b}function Ur(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Qr(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&qr.call(t)==zr}(t))return Wr;if(Ur(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ur(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Cr,"");var r=Ir.test(t);return r||Dr.test(t)?Vr(t.slice(2),r?2:8):Pr.test(t)?Wr:+t}var Kr=function(t,e,r){var n=!0,i=!0;if("function"!=typeof t)throw new TypeError(Nr);return Ur(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),Gr(t,e,{leading:n,maxWait:e,trailing:i})},Jr="Expected a function",Zr=NaN,tn="[object Symbol]",en=/^\s+|\s+$/g,rn=/^[-+]0x[0-9a-f]+$/i,nn=/^0b[01]+$/i,on=/^0o[0-7]+$/i,sn=parseInt,an="object"==typeof a&&a&&a.Object===Object&&a,cn="object"==typeof self&&self&&self.Object===Object&&self,ln=an||cn||Function("return this")(),un=Object.prototype.toString,fn=Math.max,hn=Math.min,pn=function(){return ln.Date.now()};function dn(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function vn(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&un.call(t)==tn}(t))return Zr;if(dn(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=dn(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(en,"");var r=nn.test(t);return r||on.test(t)?sn(t.slice(2),r?2:8):rn.test(t)?Zr:+t}var gn=function(t,e,r){var n,i,o,s,a,c,l=0,u=!1,f=!1,h=!0;if("function"!=typeof t)throw new TypeError(Jr);function p(e){var r=n,o=i;return n=i=void 0,l=e,s=t.apply(o,r)}function d(t){var r=t-c;return void 0===c||r>=e||r<0||f&&t-l>=o}function v(){var t=pn();if(d(t))return g(t);a=setTimeout(v,function(t){var r=e-(t-c);return f?hn(r,o-(t-l)):r}(t))}function g(t){return a=void 0,h&&n?p(t):(n=i=void 0,s)}function b(){var t=pn(),r=d(t);if(n=arguments,i=this,c=t,r){if(void 0===a)return function(t){return l=t,a=setTimeout(v,e),u?p(t):s}(c);if(f)return a=setTimeout(v,e),p(c)}return void 0===a&&(a=setTimeout(v,e)),s}return e=vn(e)||0,dn(r)&&(u=!!r.leading,o=(f="maxWait"in r)?fn(vn(r.maxWait)||0,e):o,h="trailing"in r?!!r.trailing:h),b.cancel=function(){void 0!==a&&clearTimeout(a),l=0,n=c=i=a=void 0},b.flush=function(){return void 0===a?s:g(pn())},b},bn="Expected a function",yn="__lodash_hash_undefined__",mn="[object Function]",xn="[object GeneratorFunction]",En=/^\[object .+?Constructor\]$/,wn="object"==typeof a&&a&&a.Object===Object&&a,On="object"==typeof self&&self&&self.Object===Object&&self,_n=wn||On||Function("return this")();var Sn=Array.prototype,kn=Function.prototype,An=Object.prototype,jn=_n["__core-js_shared__"],Ln=function(){var t=/[^.]+$/.exec(jn&&jn.keys&&jn.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Tn=kn.toString,Mn=An.hasOwnProperty,Rn=An.toString,Nn=RegExp("^"+Tn.call(Mn).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Wn=Sn.splice,zn=Hn(_n,"Map"),Cn=Hn(Object,"create");function Pn(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function In(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Dn(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Vn(t,e){for(var r,n,i=t.length;i--;)if((r=t[i][0])===(n=e)||r!=r&&n!=n)return i;return-1}function Fn(t){return!(!$n(t)||(e=t,Ln&&Ln in e))&&(function(t){var e=$n(t)?Rn.call(t):"";return e==mn||e==xn}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?Nn:En).test(function(t){if(null!=t){try{return Tn.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}function Bn(t,e){var r,n,i=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof e?"string":"hash"]:i.map}function Hn(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return Fn(r)?r:void 0}function qn(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(bn);var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var s=t.apply(this,n);return r.cache=o.set(i,s),s};return r.cache=new(qn.Cache||Dn),r}function $n(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}Pn.prototype.clear=function(){this.__data__=Cn?Cn(null):{}},Pn.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},Pn.prototype.get=function(t){var e=this.__data__;if(Cn){var r=e[t];return r===yn?void 0:r}return Mn.call(e,t)?e[t]:void 0},Pn.prototype.has=function(t){var e=this.__data__;return Cn?void 0!==e[t]:Mn.call(e,t)},Pn.prototype.set=function(t,e){return this.__data__[t]=Cn&&void 0===e?yn:e,this},In.prototype.clear=function(){this.__data__=[]},In.prototype.delete=function(t){var e=this.__data__,r=Vn(e,t);return!(r<0)&&(r==e.length-1?e.pop():Wn.call(e,r,1),!0)},In.prototype.get=function(t){var e=this.__data__,r=Vn(e,t);return r<0?void 0:e[r][1]},In.prototype.has=function(t){return Vn(this.__data__,t)>-1},In.prototype.set=function(t,e){var r=this.__data__,n=Vn(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},Dn.prototype.clear=function(){this.__data__={hash:new Pn,map:new(zn||In),string:new Pn}},Dn.prototype.delete=function(t){return Bn(this,t).delete(t)},Dn.prototype.get=function(t){return Bn(this,t).get(t)},Dn.prototype.has=function(t){return Bn(this,t).has(t)},Dn.prototype.set=function(t,e){return Bn(this,t).set(t,e),this},qn.Cache=Dn;var Xn=qn,Yn=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var r=-1;return t.some((function(t,n){return t[0]===e&&(r=n,!0)})),r}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var r=t(this.__entries__,e),n=this.__entries__[r];return n&&n[1]},e.prototype.set=function(e,r){var n=t(this.__entries__,e);~n?this.__entries__[n][1]=r:this.__entries__.push([e,r])},e.prototype.delete=function(e){var r=this.__entries__,n=t(r,e);~n&&r.splice(n,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var r=0,n=this.__entries__;r<n.length;r++){var i=n[r];t.call(e,i[1],i[0])}},e}()}(),Gn="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,Un="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),Qn="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(Un):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)},Kn=2;var Jn=20,Zn=["top","right","bottom","left","width","height","size","weight"],ti="undefined"!=typeof MutationObserver,ei=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var r=!1,n=!1,i=0;function o(){r&&(r=!1,t()),n&&a()}function s(){Qn(o)}function a(){var t=Date.now();if(r){if(t-i<Kn)return;n=!0}else r=!0,n=!1,setTimeout(s,e);i=t}return a}(this.refresh.bind(this),Jn)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,r=e.indexOf(t);~r&&e.splice(r,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){Gn&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),ti?(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)},t.prototype.disconnect_=function(){Gn&&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)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,r=void 0===e?"":e;Zn.some((function(t){return!!~r.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),ri=function(t,e){for(var r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},ni=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||Un},ii=ui(0,0,0,0);function oi(t){return parseFloat(t)||0}function si(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return e.reduce((function(e,r){return e+oi(t["border-"+r+"-width"])}),0)}function ai(t){var e=t.clientWidth,r=t.clientHeight;if(!e&&!r)return ii;var n=ni(t).getComputedStyle(t),i=function(t){for(var e={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var i=n[r],o=t["padding-"+i];e[i]=oi(o)}return e}(n),o=i.left+i.right,s=i.top+i.bottom,a=oi(n.width),c=oi(n.height);if("border-box"===n.boxSizing&&(Math.round(a+o)!==e&&(a-=si(n,"left","right")+o),Math.round(c+s)!==r&&(c-=si(n,"top","bottom")+s)),!function(t){return t===ni(t).document.documentElement}(t)){var l=Math.round(a+o)-e,u=Math.round(c+s)-r;1!==Math.abs(l)&&(a-=l),1!==Math.abs(u)&&(c-=u)}return ui(i.left,i.top,a,c)}var ci="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof ni(t).SVGGraphicsElement}:function(t){return t instanceof ni(t).SVGElement&&"function"==typeof t.getBBox};function li(t){return Gn?ci(t)?function(t){var e=t.getBBox();return ui(0,0,e.width,e.height)}(t):ai(t):ii}function ui(t,e,r,n){return{x:t,y:e,width:r,height:n}}var fi=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=ui(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=li(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),hi=function(t,e){var r,n,i,o,s,a,c,l=(n=(r=e).x,i=r.y,o=r.width,s=r.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(a.prototype),ri(c,{x:n,y:i,width:o,height:s,top:i,right:n+o,bottom:s+i,left:n}),c);ri(this,{target:t,contentRect:l})},pi=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new Yn,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r}return t.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 ni(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new fi(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.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 ni(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))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new hi(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),di="undefined"!=typeof WeakMap?new WeakMap:new Yn,vi=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 r=ei.getInstance(),n=new pi(e,r,this);di.set(this,n)};["observe","unobserve","disconnect"].forEach((function(t){vi.prototype[t]=function(){var e;return(e=di.get(this))[t].apply(e,arguments)}}));var gi=void 0!==Un.ResizeObserver?Un.ResizeObserver:vi,bi=!("undefined"==typeof window||!window.document||!window.document.createElement),yi=function(t){return function(e,r,n,i){Wt(r);var o=Ct(e),s=_(o),a=pt(o.length),c=t?a-1:0,l=t?-1:1;if(n<2)for(;;){if(c in s){i=s[c],c+=l;break}if(c+=l,t?c<0:a<=c)throw TypeError("Reduce of empty array with no initial value")}for(;t?c>=0:a>c;c+=l)c in s&&(i=r(i,s[c],c,o));return i}},mi={left:yi(!1),right:yi(!0)}.left;Nt({target:"Array",proto:!0,forced:Ut("reduce")},{reduce:function(t){return mi(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});var xi=D.f,Ei=Function.prototype,wi=Ei.toString,Oi=/^\s*function ([^ (]*)/;!g||"name"in Ei||xi(Ei,"name",{configurable:!0,get:function(){try{return wi.call(this).match(Oi)[1]}catch(t){return""}}});var _i,Si,ki=function(){var t=P(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},Ai=RegExp.prototype.exec,ji=String.prototype.replace,Li=Ai,Ti=(_i=/a/,Si=/b*/g,Ai.call(_i,"a"),Ai.call(Si,"a"),0!==_i.lastIndex||0!==Si.lastIndex),Mi=void 0!==/()??/.exec("")[1];(Ti||Mi)&&(Li=function(t){var e,r,n,i,o=this;return Mi&&(r=new RegExp("^"+o.source+"$(?!\\s)",ki.call(o))),Ti&&(e=o.lastIndex),n=Ai.call(o,t),Ti&&n&&(o.lastIndex=o.global?n.index+n[0].length:e),Mi&&n&&n.length>1&&ji.call(n[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(n[i]=void 0)})),n});var Ri=Li;Nt({target:"RegExp",proto:!0,forced:/./.exec!==Ri},{exec:Ri});var Ni=Ft("species"),Wi=!v((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),zi=!v((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),Ci=function(t,e,r,n){var i=Ft(t),o=!v((function(){var e={};return e[i]=function(){return 7},7!=""[t](e)})),s=o&&!v((function(){var e=!1,r=/a/;return r.exec=function(){return e=!0,null},"split"===t&&(r.constructor={},r.constructor[Ni]=function(){return r}),r[i](""),!e}));if(!o||!s||"replace"===t&&!Wi||"split"===t&&!zi){var a=/./[i],c=r(i,""[t],(function(t,e,r,n,i){return e.exec===Ri?o&&!i?{done:!0,value:a.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}})),l=c[0],u=c[1];ot(String.prototype,t,l),ot(RegExp.prototype,i,2==e?function(t,e){return u.call(t,this,e)}:function(t){return u.call(t,this)}),n&&V(RegExp.prototype[i],"sham",!0)}},Pi=Ke.charAt,Ii=function(t,e,r){return e+(r?Pi(t,e).length:1)},Di=function(t,e){var r=t.exec;if("function"==typeof r){var n=r.call(t,e);if("object"!=typeof n)throw TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==w(t))throw TypeError("RegExp#exec called on incompatible receiver");return Ri.call(t,e)};Ci("match",1,(function(t,e,r){return[function(e){var r=S(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var i=P(t),o=String(this);if(!i.global)return Di(i,o);var s=i.unicode;i.lastIndex=0;for(var a,c=[],l=0;null!==(a=Di(i,o));){var u=String(a[0]);c[l]=u,""===u&&(i.lastIndex=Ii(o,pt(i.lastIndex),s)),l++}return 0===l?null:c}]}));var Vi=Math.max,Fi=Math.min,Bi=Math.floor,Hi=/\$([$&'`]|\d\d?|<[^>]*>)/g,qi=/\$([$&'`]|\d\d?)/g;function $i(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}function Xi(t){return t&&t.ownerDocument?t.ownerDocument:document}Ci("replace",2,(function(t,e,r){return[function(r,n){var i=S(this),o=null==r?void 0:r[t];return void 0!==o?o.call(r,i,n):e.call(String(i),r,n)},function(t,i){var o=r(e,t,this,i);if(o.done)return o.value;var s=P(t),a=String(this),c="function"==typeof i;c||(i=String(i));var l=s.global;if(l){var u=s.unicode;s.lastIndex=0}for(var f=[];;){var h=Di(s,a);if(null===h)break;if(f.push(h),!l)break;""===String(h[0])&&(s.lastIndex=Ii(a,pt(s.lastIndex),u))}for(var p,d="",v=0,g=0;g<f.length;g++){h=f[g];for(var b=String(h[0]),y=Vi(Fi(ft(h.index),a.length),0),m=[],x=1;x<h.length;x++)m.push(void 0===(p=h[x])?p:String(p));var E=h.groups;if(c){var w=[b].concat(m,y,a);void 0!==E&&w.push(E);var O=String(i.apply(void 0,w))}else O=n(b,a,y,m,E,i);y>=v&&(d+=a.slice(v,y)+O,v=y+b.length)}return d+a.slice(v)}];function n(t,r,n,i,o,s){var a=n+t.length,c=i.length,l=qi;return void 0!==o&&(o=Ct(o),l=Hi),e.call(s,l,(function(e,s){var l;switch(s.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,n);case"'":return r.slice(a);case"<":l=o[s.slice(1,-1)];break;default:var u=+s;if(0===u)return e;if(u>c){var f=Bi(u/10);return 0===f?e:f<=c?void 0===i[f-1]?s.charAt(1):i[f-1]+s.charAt(1):e}l=i[u-1]}return void 0===l?"":l}))}}));var Yi=null,Gi=null;function Ui(t){if(null===Yi){var e=Xi(t);if(void 0===e)return Yi=0;var r=e.body,n=e.createElement("div");n.classList.add("simplebar-hide-scrollbar"),r.appendChild(n);var i=n.getBoundingClientRect().right;r.removeChild(n),Yi=i}return Yi}bi&&window.addEventListener("resize",(function(){Gi!==window.devicePixelRatio&&(Gi=window.devicePixelRatio,Yi=null)}));var Qi=function(){function t(e,r){var n=this;this.onScroll=function(){var t=$i(n.el);n.scrollXTicking||(t.requestAnimationFrame(n.scrollX),n.scrollXTicking=!0),n.scrollYTicking||(t.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=n.getScrollbarWidth(),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,r;n.axis.x.track.rect=n.axis.x.track.el.getBoundingClientRect(),n.axis.y.track.rect=n.axis.y.track.el.getBoundingClientRect(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&(e=n.isWithinBounds(n.axis.x.track.rect)),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&(r=n.isWithinBounds(n.axis.y.track.rect)),(e||r)&&(t.preventDefault(),t.stopPropagation(),"mousedown"===t.type&&(e&&(n.axis.x.scrollbar.rect=n.axis.x.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.x.scrollbar.rect)?n.onDragStart(t,"x"):n.onTrackClick(t,"x")),r&&(n.axis.y.scrollbar.rect=n.axis.y.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.y.scrollbar.rect)?n.onDragStart(t,"y"):n.onTrackClick(t,"y"))))},this.drag=function(e){var r=n.axis[n.draggedAxis].track,i=r.rect[n.axis[n.draggedAxis].sizeAttr],o=n.axis[n.draggedAxis].scrollbar,s=n.contentWrapperEl[n.axis[n.draggedAxis].scrollSizeAttr],a=parseInt(n.elStyles[n.axis[n.draggedAxis].sizeAttr],10);e.preventDefault(),e.stopPropagation();var c=(("y"===n.draggedAxis?e.pageY:e.pageX)-r.rect[n.axis[n.draggedAxis].offsetAttr]-n.axis[n.draggedAxis].dragOffset)/(i-o.size)*(s-a);"x"===n.draggedAxis&&(c=n.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c-(i+o.size):c,c=n.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-c:c),n.contentWrapperEl[n.axis[n.draggedAxis].scrollOffsetAttr]=c},this.onEndDrag=function(t){var e=Xi(n.el),r=$i(n.el);t.preventDefault(),t.stopPropagation(),n.el.classList.remove(n.classNames.dragging),e.removeEventListener("mousemove",n.drag,!0),e.removeEventListener("mouseup",n.onEndDrag,!0),n.removePreventClickId=r.setTimeout((function(){e.removeEventListener("click",n.preventClick,!0),e.removeEventListener("dblclick",n.preventClick,!0),n.removePreventClickId=null}))},this.preventClick=function(t){t.preventDefault(),t.stopPropagation()},this.el=e,this.minScrollbarWidth=20,this.options=Object.assign({},t.defaultOptions,{},r),this.classNames=Object.assign({},t.defaultOptions.classNames,{},this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,t.instances.has(this.el)||(this.recalculate=Kr(this.recalculate.bind(this),64),this.onMouseMove=Kr(this.onMouseMove.bind(this),64),this.hideScrollbars=gn(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=gn(this.onWindowResize.bind(this),64,{leading:!0}),t.getRtlHelpers=Xn(t.getRtlHelpers),this.init())}t.getRtlHelpers=function(){var e=document.createElement("div");e.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var r=e.firstElementChild;document.body.appendChild(r);var n=r.firstElementChild;r.scrollLeft=0;var i=t.getOffset(r),o=t.getOffset(n);r.scrollLeft=999;var s=t.getOffset(n);return{isRtlScrollingInverted:i.left!==o.left&&o.left-s.left!=0,isRtlScrollbarInverted:i.left!==o.left}},t.getOffset=function(t){var e=t.getBoundingClientRect(),r=Xi(t),n=$i(t);return{top:e.top+(n.pageYOffset||r.documentElement.scrollTop),left:e.left+(n.pageXOffset||r.documentElement.scrollLeft)}};var e=t.prototype;return e.init=function(){t.instances.set(this.el,this),bi&&(this.initDOM(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.initDOM=function(){var t=this;if(Array.prototype.filter.call(this.el.children,(function(e){return e.classList.contains(t.classNames.wrapper)})).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+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.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+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)}if(!this.axis.x.track.el||!this.axis.y.track.el){var e=document.createElement("div"),r=document.createElement("div");e.classList.add(this.classNames.track),r.classList.add(this.classNames.scrollbar),e.appendChild(r),this.axis.x.track.el=e.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=e.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")},e.initListeners=function(){var t=this,e=$i(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(e){t.el.addEventListener(e,t.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(e){t.el.addEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})})),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),e.addEventListener("resize",this.onWindowResize);var r=!1,n=e.ResizeObserver||gi;this.resizeObserver=new n((function(){r&&t.recalculate()})),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),e.requestAnimationFrame((function(){r=!0})),this.mutationObserver=new e.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},e.recalculate=function(){var t=$i(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var e=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1,n=this.contentEl.offsetWidth,i=this.contentWrapperEl.offsetWidth,o=this.elStyles.overflowX,s=this.elStyles.overflowY;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;var a=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=e?"auto":"100%",this.placeholderEl.style.width=r?n+"px":"auto",this.placeholderEl.style.height=a+"px";var l=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=c>n,this.axis.y.isOverflowing=a>l,this.axis.x.isOverflowing="hidden"!==o&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==s&&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();var u=this.axis.x.isOverflowing?this.scrollbarWidth:0,f=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>i-f,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&a>l-u,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")},e.getScrollbarSize=function(t){if(void 0===t&&(t="y"),!this.axis[t].isOverflowing)return 0;var e,r=this.contentEl[this.axis[t].scrollSizeAttr],n=this.axis[t].track.el[this.axis[t].offsetSizeAttr],i=n/r;return e=Math.max(~~(i*n),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(e=Math.min(e,this.options.scrollbarMaxSize)),e},e.positionScrollbar=function(e){if(void 0===e&&(e="y"),this.axis[e].isOverflowing){var r=this.contentWrapperEl[this.axis[e].scrollSizeAttr],n=this.axis[e].track.el[this.axis[e].offsetSizeAttr],i=parseInt(this.elStyles[this.axis[e].sizeAttr],10),o=this.axis[e].scrollbar,s=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],a=(s="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-s:s)/(r-i),c=~~((n-o.size)*a);c="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c+(n-o.size):c,o.el.style.transform="x"===e?"translate3d("+c+"px, 0, 0)":"translate3d(0, "+c+"px, 0)"}},e.toggleTrackVisibility=function(t){void 0===t&&(t="y");var e=this.axis[t].track.el,r=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?r.style.display="block":r.style.display="none"},e.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},e.onMouseMoveForAxis=function(t){void 0===t&&(t="y"),this.axis[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)},e.onMouseLeaveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.el.classList.remove(this.classNames.hover),this.axis[t].scrollbar.el.classList.remove(this.classNames.hover)},e.showScrollbar=function(t){void 0===t&&(t="y");var e=this.axis[t].scrollbar.el;this.axis[t].isVisible||(e.classList.add(this.classNames.visible),this.axis[t].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},e.onDragStart=function(t,e){void 0===e&&(e="y");var r=Xi(this.el),n=$i(this.el),i=this.axis[e].scrollbar,o="y"===e?t.pageY:t.pageX;this.axis[e].dragOffset=o-i.rect[this.axis[e].offsetAttr],this.draggedAxis=e,this.el.classList.add(this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(n.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.onTrackClick=function(t,e){var r=this;if(void 0===e&&(e="y"),this.options.clickOnTrack){var n=$i(this.el);this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect();var i=this.axis[e].scrollbar.rect[this.axis[e].offsetAttr],o=parseInt(this.elStyles[this.axis[e].sizeAttr],10),s=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],a=("y"===e?this.mouseY-i:this.mouseX-i)<0?-1:1,c=-1===a?s-o:s+o;!function t(){var i,o;-1===a?s>c&&(s-=r.options.clickOnTrackSpeed,r.contentWrapperEl.scrollTo(((i={})[r.axis[e].offsetAttr]=s,i)),n.requestAnimationFrame(t)):s<c&&(s+=r.options.clickOnTrackSpeed,r.contentWrapperEl.scrollTo(((o={})[r.axis[e].offsetAttr]=s,o)),n.requestAnimationFrame(t))}()}},e.getContentElement=function(){return this.contentEl},e.getScrollElement=function(){return this.contentWrapperEl},e.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Ui(this.el)}catch(t){return Ui(this.el)}},e.removeListeners=function(){var t=this,e=$i(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(e){t.el.removeEventListener(e,t.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(e){t.el.removeEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})})),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},e.unMount=function(){this.removeListeners(),t.instances.delete(this.el)},e.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.findChild=function(t,e){var r=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,(function(t){return r.call(t,e)}))[0]},t}();Qi.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,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},Qi.instances=new WeakMap;var Ki=r.forwardRef((function(e,a){var c,l=e.children,u=e.scrollableNodeProps,f=void 0===u?{}:u,h=s(e,["children","scrollableNodeProps"]),p=t.useRef(),d=t.useRef(),v=t.useRef(),g={},b={},y=[];return Object.keys(h).forEach((function(t){Object.prototype.hasOwnProperty.call(Qi.defaultOptions,t)?g[t]=h[t]:t.match(/data-simplebar-(.+)/)&&"data-simplebar-direction"!==t?y.push({name:t,value:h[t]}):b[t]=h[t]})),y.length&&console.warn("simplebar-react: this way of passing options is deprecated. Pass it like normal props instead:\n 'data-simplebar-auto-hide=\"false\"' —> 'autoHide=\"false\"'\n "),t.useEffect((function(){var t;return p=f.ref||p,d.current&&(c=new Qi(d.current,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(r,!0).forEach((function(e){n(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(r).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},(t=y,Array.prototype.reduce.call(t,(function(t,e){var r=e.name.match(/data-simplebar-(.+)/);if(r){var n=r[1].replace(/\W+(.)/g,(function(t,e){return e.toUpperCase()}));switch(e.value){case"true":t[n]=!0;break;case"false":t[n]=!1;break;case void 0:t[n]=!0;break;default:t[n]=e.value}}return t}),{})),{},g,{},p&&{scrollableNode:p.current},{},v.current&&{contentNode:v.current})),a&&(a.current=c)),function(){c.unMount(),c=null}}),[]),r.createElement("div",i({ref:d,"data-simplebar":!0},b),r.createElement("div",{className:"simplebar-wrapper"},r.createElement("div",{className:"simplebar-height-auto-observer-wrapper"},r.createElement("div",{className:"simplebar-height-auto-observer"})),r.createElement("div",{className:"simplebar-mask"},r.createElement("div",{className:"simplebar-offset"},"function"==typeof l?l({scrollableNodeRef:p,contentNodeRef:v}):r.createElement("div",i({},f,{className:"simplebar-content-wrapper".concat(f.className?" ".concat(f.className):"")}),r.createElement("div",{className:"simplebar-content"},l)))),r.createElement("div",{className:"simplebar-placeholder"})),r.createElement("div",{className:"simplebar-track simplebar-horizontal"},r.createElement("div",{className:"simplebar-scrollbar"})),r.createElement("div",{className:"simplebar-track simplebar-vertical"},r.createElement("div",{className:"simplebar-scrollbar"})))}));return Ki.displayName="SimpleBar",Ki.propTypes={children:e.oneOfType([e.node,e.func]),scrollableNodeProps:e.object},Ki})); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("react"),require("prop-types")):"function"==typeof define&&define.amd?define(["react","prop-types"],e):(t=t||self).SimpleBar=e(t.React,t.PropTypes)}(this,(function(t,e){"use strict";var r="default"in t?t.default:t;function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function n(){return(n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t}).apply(this,arguments)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function s(t,e){if(null==t)return{};var r,i,n=function(t,e){if(null==t)return{};var r,i,n={},o=Object.keys(t);for(i=0;i<o.length;i++)r=o[i],e.indexOf(r)>=0||(n[r]=t[r]);return n}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)r=o[i],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}e=e&&e.hasOwnProperty("default")?e.default:e;var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function c(t,e){return t(e={exports:{}},e.exports),e.exports}var l,u,f,h="object",p=function(t){return t&&t.Math==Math&&t},d=p(typeof globalThis==h&&globalThis)||p(typeof window==h&&window)||p(typeof self==h&&self)||p(typeof a==h&&a)||Function("return this")(),v=function(t){try{return!!t()}catch(t){return!0}},g=!v((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),b={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,m={f:y&&!b.call({1:2},1)?function(t){var e=y(this,t);return!!e&&e.enumerable}:b},x=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},E={}.toString,w=function(t){return E.call(t).slice(8,-1)},O="".split,S=v((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==w(t)?O.call(t,""):Object(t)}:Object,k=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},T=function(t){return S(k(t))},A=function(t){return"object"==typeof t?null!==t:"function"==typeof t},z=function(t,e){if(!A(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!A(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!A(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!A(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")},R={}.hasOwnProperty,j=function(t,e){return R.call(t,e)},L=d.document,_=A(L)&&A(L.createElement),N=function(t){return _?L.createElement(t):{}},C=!g&&!v((function(){return 7!=Object.defineProperty(N("div"),"a",{get:function(){return 7}}).a})),W=Object.getOwnPropertyDescriptor,M={f:g?W:function(t,e){if(t=T(t),e=z(e,!0),C)try{return W(t,e)}catch(t){}if(j(t,e))return x(!m.f.call(t,e),t[e])}},P=function(t){if(!A(t))throw TypeError(String(t)+" is not an object");return t},I=Object.defineProperty,B={f:g?I:function(t,e,r){if(P(t),e=z(e,!0),P(r),C)try{return I(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},D=g?function(t,e,r){return B.f(t,e,x(1,r))}:function(t,e,r){return t[e]=r,t},F=function(t,e){try{D(d,t,e)}catch(r){d[t]=e}return e},V=c((function(t){var e=d["__core-js_shared__"]||F("__core-js_shared__",{});(t.exports=function(t,r){return e[t]||(e[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.2.1",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),X=V("native-function-to-string",Function.toString),H=d.WeakMap,q="function"==typeof H&&/native code/.test(X.call(H)),$=0,Y=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++$+Y).toString(36)},U=V("keys"),Q=function(t){return U[t]||(U[t]=G(t))},K={},J=d.WeakMap;if(q){var Z=new J,tt=Z.get,et=Z.has,rt=Z.set;l=function(t,e){return rt.call(Z,t,e),e},u=function(t){return tt.call(Z,t)||{}},f=function(t){return et.call(Z,t)}}else{var it=Q("state");K[it]=!0,l=function(t,e){return D(t,it,e),e},u=function(t){return j(t,it)?t[it]:{}},f=function(t){return j(t,it)}}var nt={set:l,get:u,has:f,enforce:function(t){return f(t)?u(t):l(t,{})},getterFor:function(t){return function(e){var r;if(!A(e)||(r=u(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},ot=c((function(t){var e=nt.get,r=nt.enforce,i=String(X).split("toString");V("inspectSource",(function(t){return X.call(t)})),(t.exports=function(t,e,n,o){var s=!!o&&!!o.unsafe,a=!!o&&!!o.enumerable,c=!!o&&!!o.noTargetGet;"function"==typeof n&&("string"!=typeof e||j(n,"name")||D(n,"name",e),r(n).source=i.join("string"==typeof e?e:"")),t!==d?(s?!c&&t[e]&&(a=!0):delete t[e],a?t[e]=n:D(t,e,n)):a?t[e]=n:F(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||X.call(this)}))})),st=d,at=function(t){return"function"==typeof t?t:void 0},ct=function(t,e){return arguments.length<2?at(st[t])||at(d[t]):st[t]&&st[t][e]||d[t]&&d[t][e]},lt=Math.ceil,ut=Math.floor,ft=function(t){return isNaN(t=+t)?0:(t>0?ut:lt)(t)},ht=Math.min,pt=function(t){return t>0?ht(ft(t),9007199254740991):0},dt=Math.max,vt=Math.min,gt=function(t){return function(e,r,i){var n,o=T(e),s=pt(o.length),a=function(t,e){var r=ft(t);return r<0?dt(r+e,0):vt(r,e)}(i,s);if(t&&r!=r){for(;s>a;)if((n=o[a++])!=n)return!0}else for(;s>a;a++)if((t||a in o)&&o[a]===r)return t||a||0;return!t&&-1}},bt={includes:gt(!0),indexOf:gt(!1)}.indexOf,yt=function(t,e){var r,i=T(t),n=0,o=[];for(r in i)!j(K,r)&&j(i,r)&&o.push(r);for(;e.length>n;)j(i,r=e[n++])&&(~bt(o,r)||o.push(r));return o},mt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],xt=mt.concat("length","prototype"),Et={f:Object.getOwnPropertyNames||function(t){return yt(t,xt)}},wt={f:Object.getOwnPropertySymbols},Ot=ct("Reflect","ownKeys")||function(t){var e=Et.f(P(t)),r=wt.f;return r?e.concat(r(t)):e},St=function(t,e){for(var r=Ot(e),i=B.f,n=M.f,o=0;o<r.length;o++){var s=r[o];j(t,s)||i(t,s,n(e,s))}},kt=/#|\.prototype\./,Tt=function(t,e){var r=zt[At(t)];return r==jt||r!=Rt&&("function"==typeof e?v(e):!!e)},At=Tt.normalize=function(t){return String(t).replace(kt,".").toLowerCase()},zt=Tt.data={},Rt=Tt.NATIVE="N",jt=Tt.POLYFILL="P",Lt=Tt,_t=M.f,Nt=function(t,e){var r,i,n,o,s,a=t.target,c=t.global,l=t.stat;if(r=c?d:l?d[a]||F(a,{}):(d[a]||{}).prototype)for(i in e){if(o=e[i],n=t.noTargetGet?(s=_t(r,i))&&s.value:r[i],!Lt(c?i:a+(l?".":"#")+i,t.forced)&&void 0!==n){if(typeof o==typeof n)continue;St(o,n)}(t.sham||n&&n.sham)&&D(o,"sham",!0),ot(r,i,o,t)}},Ct=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Wt=function(t,e,r){if(Ct(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,i){return t.call(e,r,i)};case 3:return function(r,i,n){return t.call(e,r,i,n)}}return function(){return t.apply(e,arguments)}},Mt=function(t){return Object(k(t))},Pt=Array.isArray||function(t){return"Array"==w(t)},It=!!Object.getOwnPropertySymbols&&!v((function(){return!String(Symbol())})),Bt=d.Symbol,Dt=V("wks"),Ft=function(t){return Dt[t]||(Dt[t]=It&&Bt[t]||(It?Bt:G)("Symbol."+t))},Vt=Ft("species"),Xt=function(t,e){var r;return Pt(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!Pt(r.prototype)?A(r)&&null===(r=r[Vt])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)},Ht=[].push,qt=function(t){var e=1==t,r=2==t,i=3==t,n=4==t,o=6==t,s=5==t||o;return function(a,c,l,u){for(var f,h,p=Mt(a),d=S(p),v=Wt(c,l,3),g=pt(d.length),b=0,y=u||Xt,m=e?y(a,g):r?y(a,0):void 0;g>b;b++)if((s||b in d)&&(h=v(f=d[b],b,p),t))if(e)m[b]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return b;case 2:Ht.call(m,f)}else if(n)return!1;return o?-1:i||n?n:m}},$t={forEach:qt(0),map:qt(1),filter:qt(2),some:qt(3),every:qt(4),find:qt(5),findIndex:qt(6)},Yt=Ft("species"),Gt=$t.filter;Nt({target:"Array",proto:!0,forced:!function(t){return!v((function(){var e=[];return(e.constructor={})[Yt]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}("filter")},{filter:function(t){return Gt(this,t,arguments.length>1?arguments[1]:void 0)}});var Ut=function(t,e){var r=[][t];return!r||!v((function(){r.call(null,e||function(){throw 1},1)}))},Qt=$t.forEach,Kt=Ut("forEach")?function(t){return Qt(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach;Nt({target:"Array",proto:!0,forced:[].forEach!=Kt},{forEach:Kt});var Jt=Object.keys||function(t){return yt(t,mt)},Zt=g?Object.defineProperties:function(t,e){P(t);for(var r,i=Jt(e),n=i.length,o=0;n>o;)B.f(t,r=i[o++],e[r]);return t},te=ct("document","documentElement"),ee=Q("IE_PROTO"),re=function(){},ie=function(){var t,e=N("iframe"),r=mt.length;for(e.style.display="none",te.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),ie=t.F;r--;)delete ie.prototype[mt[r]];return ie()},ne=Object.create||function(t,e){var r;return null!==t?(re.prototype=P(t),r=new re,re.prototype=null,r[ee]=t):r=ie(),void 0===e?r:Zt(r,e)};K[ee]=!0;var oe=Ft("unscopables"),se=Array.prototype;null==se[oe]&&D(se,oe,ne(null));var ae,ce,le,ue=function(t){se[oe][t]=!0},fe={},he=!v((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),pe=Q("IE_PROTO"),de=Object.prototype,ve=he?Object.getPrototypeOf:function(t){return t=Mt(t),j(t,pe)?t[pe]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?de:null},ge=Ft("iterator"),be=!1;[].keys&&("next"in(le=[].keys())?(ce=ve(ve(le)))!==Object.prototype&&(ae=ce):be=!0),null==ae&&(ae={}),j(ae,ge)||D(ae,ge,(function(){return this}));var ye={IteratorPrototype:ae,BUGGY_SAFARI_ITERATORS:be},me=B.f,xe=Ft("toStringTag"),Ee=function(t,e,r){t&&!j(t=r?t:t.prototype,xe)&&me(t,xe,{configurable:!0,value:e})},we=ye.IteratorPrototype,Oe=function(){return this},Se=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,i){return P(r),function(t){if(!A(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(i),e?t.call(r,i):r.__proto__=i,r}}():void 0),ke=ye.IteratorPrototype,Te=ye.BUGGY_SAFARI_ITERATORS,Ae=Ft("iterator"),ze=function(){return this},Re=function(t,e,r,i,n,o,s){!function(t,e,r){var i=e+" Iterator";t.prototype=ne(we,{next:x(1,r)}),Ee(t,i,!1),fe[i]=Oe}(r,e,i);var a,c,l,u=function(t){if(t===n&&v)return v;if(!Te&&t in p)return p[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},f=e+" Iterator",h=!1,p=t.prototype,d=p[Ae]||p["@@iterator"]||n&&p[n],v=!Te&&d||u(n),g="Array"==e&&p.entries||d;if(g&&(a=ve(g.call(new t)),ke!==Object.prototype&&a.next&&(ve(a)!==ke&&(Se?Se(a,ke):"function"!=typeof a[Ae]&&D(a,Ae,ze)),Ee(a,f,!0))),"values"==n&&d&&"values"!==d.name&&(h=!0,v=function(){return d.call(this)}),p[Ae]!==v&&D(p,Ae,v),fe[e]=v,n)if(c={values:u("values"),keys:o?v:u("keys"),entries:u("entries")},s)for(l in c)!Te&&!h&&l in p||ot(p,l,c[l]);else Nt({target:e,proto:!0,forced:Te||h},c);return c},je=nt.set,Le=nt.getterFor("Array Iterator"),_e=Re(Array,"Array",(function(t,e){je(this,{type:"Array Iterator",target:T(t),index:0,kind:e})}),(function(){var t=Le(this),e=t.target,r=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:i,done:!1}:"values"==r?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}}),"values");fe.Arguments=fe.Array,ue("keys"),ue("values"),ue("entries");var Ne=Object.assign,Ce=!Ne||v((function(){var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=Ne({},t)[r]||"abcdefghijklmnopqrst"!=Jt(Ne({},e)).join("")}))?function(t,e){for(var r=Mt(t),i=arguments.length,n=1,o=wt.f,s=m.f;i>n;)for(var a,c=S(arguments[n++]),l=o?Jt(c).concat(o(c)):Jt(c),u=l.length,f=0;u>f;)a=l[f++],g&&!s.call(c,a)||(r[a]=c[a]);return r}:Ne;Nt({target:"Object",stat:!0,forced:Object.assign!==Ce},{assign:Ce});var We=Ft("toStringTag"),Me="Arguments"==w(function(){return arguments}()),Pe=function(t){var e,r,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),We))?r:Me?w(e):"Object"==(i=w(e))&&"function"==typeof e.callee?"Arguments":i},Ie={};Ie[Ft("toStringTag")]="z";var Be="[object z]"!==String(Ie)?function(){return"[object "+Pe(this)+"]"}:Ie.toString,De=Object.prototype;Be!==De.toString&&ot(De,"toString",Be,{unsafe:!0});var Fe="\t\n\v\f\r \u2028\u2029\ufeff",Ve="["+Fe+"]",Xe=RegExp("^"+Ve+Ve+"*"),He=RegExp(Ve+Ve+"*$"),qe=function(t){return function(e){var r=String(k(e));return 1&t&&(r=r.replace(Xe,"")),2&t&&(r=r.replace(He,"")),r}},$e={start:qe(1),end:qe(2),trim:qe(3)}.trim,Ye=d.parseInt,Ge=/^[+-]?0[Xx]/,Ue=8!==Ye(Fe+"08")||22!==Ye(Fe+"0x16")?function(t,e){var r=$e(String(t));return Ye(r,e>>>0||(Ge.test(r)?16:10))}:Ye;Nt({global:!0,forced:parseInt!=Ue},{parseInt:Ue});var Qe=function(t){return function(e,r){var i,n,o=String(k(e)),s=ft(r),a=o.length;return s<0||s>=a?t?"":void 0:(i=o.charCodeAt(s))<55296||i>56319||s+1===a||(n=o.charCodeAt(s+1))<56320||n>57343?t?o.charAt(s):i:t?o.slice(s,s+2):n-56320+(i-55296<<10)+65536}},Ke={codeAt:Qe(!1),charAt:Qe(!0)},Je=Ke.charAt,Ze=nt.set,tr=nt.getterFor("String Iterator");Re(String,"String",(function(t){Ze(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=tr(this),r=e.string,i=e.index;return i>=r.length?{value:void 0,done:!0}:(t=Je(r,i),e.index+=t.length,{value:t,done:!1})}));var er=function(t,e,r){for(var i in e)ot(t,i,e[i],r);return t},rr=!v((function(){return Object.isExtensible(Object.preventExtensions({}))})),ir=c((function(t){var e=B.f,r=G("meta"),i=0,n=Object.isExtensible||function(){return!0},o=function(t){e(t,r,{value:{objectID:"O"+ ++i,weakData:{}}})},s=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!A(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!j(t,r)){if(!n(t))return"F";if(!e)return"E";o(t)}return t[r].objectID},getWeakData:function(t,e){if(!j(t,r)){if(!n(t))return!0;if(!e)return!1;o(t)}return t[r].weakData},onFreeze:function(t){return rr&&s.REQUIRED&&n(t)&&!j(t,r)&&o(t),t}};K[r]=!0})),nr=(ir.REQUIRED,ir.fastKey,ir.getWeakData,ir.onFreeze,Ft("iterator")),or=Array.prototype,sr=Ft("iterator"),ar=function(t,e,r,i){try{return i?e(P(r)[0],r[1]):e(r)}catch(e){var n=t.return;throw void 0!==n&&P(n.call(t)),e}},cr=c((function(t){var e=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,r,i,n,o){var s,a,c,l,u,f,h,p=Wt(r,i,n?2:1);if(o)s=t;else{if("function"!=typeof(a=function(t){if(null!=t)return t[sr]||t["@@iterator"]||fe[Pe(t)]}(t)))throw TypeError("Target is not iterable");if(void 0!==(h=a)&&(fe.Array===h||or[nr]===h)){for(c=0,l=pt(t.length);l>c;c++)if((u=n?p(P(f=t[c])[0],f[1]):p(t[c]))&&u instanceof e)return u;return new e(!1)}s=a.call(t)}for(;!(f=s.next()).done;)if((u=ar(s,p,f.value,n))&&u instanceof e)return u;return new e(!1)}).stop=function(t){return new e(!0,t)}})),lr=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},ur=Ft("iterator"),fr=!1;try{var hr=0,pr={next:function(){return{done:!!hr++}},return:function(){fr=!0}};pr[ur]=function(){return this},Array.from(pr,(function(){throw 2}))}catch(t){}var dr=function(t,e,r,i,n){var o=d[t],s=o&&o.prototype,a=o,c=i?"set":"add",l={},u=function(t){var e=s[t];ot(s,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(n&&!A(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return n&&!A(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(n&&!A(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(Lt(t,"function"!=typeof o||!(n||s.forEach&&!v((function(){(new o).entries().next()})))))a=r.getConstructor(e,t,i,c),ir.REQUIRED=!0;else if(Lt(t,!0)){var f=new a,h=f[c](n?{}:-0,1)!=f,p=v((function(){f.has(1)})),g=function(t,e){if(!e&&!fr)return!1;var r=!1;try{var i={};i[ur]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}((function(t){new o(t)})),b=!n&&v((function(){for(var t=new o,e=5;e--;)t[c](e,e);return!t.has(-0)}));g||((a=e((function(e,r){lr(e,a,t);var n=function(t,e,r){var i,n;return Se&&"function"==typeof(i=e.constructor)&&i!==r&&A(n=i.prototype)&&n!==r.prototype&&Se(t,n),t}(new o,e,a);return null!=r&&cr(r,n[c],n,i),n}))).prototype=s,s.constructor=a),(p||b)&&(u("delete"),u("has"),i&&u("get")),(b||h)&&u(c),n&&s.clear&&delete s.clear}return l[t]=a,Nt({global:!0,forced:a!=o},l),Ee(a,t),n||r.setStrong(a,t,i),a},vr=ir.getWeakData,gr=nt.set,br=nt.getterFor,yr=$t.find,mr=$t.findIndex,xr=0,Er=function(t){return t.frozen||(t.frozen=new wr)},wr=function(){this.entries=[]},Or=function(t,e){return yr(t.entries,(function(t){return t[0]===e}))};wr.prototype={get:function(t){var e=Or(this,t);if(e)return e[1]},has:function(t){return!!Or(this,t)},set:function(t,e){var r=Or(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=mr(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}};var Sr={getConstructor:function(t,e,r,i){var n=t((function(t,o){lr(t,n,e),gr(t,{type:e,id:xr++,frozen:void 0}),null!=o&&cr(o,t[i],t,r)})),o=br(e),s=function(t,e,r){var i=o(t),n=vr(P(e),!0);return!0===n?Er(i).set(e,r):n[i.id]=r,t};return er(n.prototype,{delete:function(t){var e=o(this);if(!A(t))return!1;var r=vr(t);return!0===r?Er(e).delete(t):r&&j(r,e.id)&&delete r[e.id]},has:function(t){var e=o(this);if(!A(t))return!1;var r=vr(t);return!0===r?Er(e).has(t):r&&j(r,e.id)}}),er(n.prototype,r?{get:function(t){var e=o(this);if(A(t)){var r=vr(t);return!0===r?Er(e).get(t):r?r[e.id]:void 0}},set:function(t,e){return s(this,t,e)}}:{add:function(t){return s(this,t,!0)}}),n}},kr=(c((function(t){var e,r=nt.enforce,i=!d.ActiveXObject&&"ActiveXObject"in d,n=Object.isExtensible,o=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},s=t.exports=dr("WeakMap",o,Sr,!0,!0);if(q&&i){e=Sr.getConstructor(o,"WeakMap",!0),ir.REQUIRED=!0;var a=s.prototype,c=a.delete,l=a.has,u=a.get,f=a.set;er(a,{delete:function(t){if(A(t)&&!n(t)){var i=r(this);return i.frozen||(i.frozen=new e),c.call(this,t)||i.frozen.delete(t)}return c.call(this,t)},has:function(t){if(A(t)&&!n(t)){var i=r(this);return i.frozen||(i.frozen=new e),l.call(this,t)||i.frozen.has(t)}return l.call(this,t)},get:function(t){if(A(t)&&!n(t)){var i=r(this);return i.frozen||(i.frozen=new e),l.call(this,t)?u.call(this,t):i.frozen.get(t)}return u.call(this,t)},set:function(t,i){if(A(t)&&!n(t)){var o=r(this);o.frozen||(o.frozen=new e),l.call(this,t)?f.call(this,t,i):o.frozen.set(t,i)}else f.call(this,t,i);return this}})}})),{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}),Tr=Ft("iterator"),Ar=Ft("toStringTag"),zr=_e.values;for(var Rr in kr){var jr=d[Rr],Lr=jr&&jr.prototype;if(Lr){if(Lr[Tr]!==zr)try{D(Lr,Tr,zr)}catch(t){Lr[Tr]=zr}if(Lr[Ar]||D(Lr,Ar,Rr),kr[Rr])for(var _r in _e)if(Lr[_r]!==_e[_r])try{D(Lr,_r,_e[_r])}catch(t){Lr[_r]=_e[_r]}}}var Nr="Expected a function",Cr=NaN,Wr="[object Symbol]",Mr=/^\s+|\s+$/g,Pr=/^[-+]0x[0-9a-f]+$/i,Ir=/^0b[01]+$/i,Br=/^0o[0-7]+$/i,Dr=parseInt,Fr="object"==typeof a&&a&&a.Object===Object&&a,Vr="object"==typeof self&&self&&self.Object===Object&&self,Xr=Fr||Vr||Function("return this")(),Hr=Object.prototype.toString,qr=Math.max,$r=Math.min,Yr=function(){return Xr.Date.now()};function Gr(t,e,r){var i,n,o,s,a,c,l=0,u=!1,f=!1,h=!0;if("function"!=typeof t)throw new TypeError(Nr);function p(e){var r=i,o=n;return i=n=void 0,l=e,s=t.apply(o,r)}function d(t){var r=t-c;return void 0===c||r>=e||r<0||f&&t-l>=o}function v(){var t=Yr();if(d(t))return g(t);a=setTimeout(v,function(t){var r=e-(t-c);return f?$r(r,o-(t-l)):r}(t))}function g(t){return a=void 0,h&&i?p(t):(i=n=void 0,s)}function b(){var t=Yr(),r=d(t);if(i=arguments,n=this,c=t,r){if(void 0===a)return function(t){return l=t,a=setTimeout(v,e),u?p(t):s}(c);if(f)return a=setTimeout(v,e),p(c)}return void 0===a&&(a=setTimeout(v,e)),s}return e=Qr(e)||0,Ur(r)&&(u=!!r.leading,o=(f="maxWait"in r)?qr(Qr(r.maxWait)||0,e):o,h="trailing"in r?!!r.trailing:h),b.cancel=function(){void 0!==a&&clearTimeout(a),l=0,i=c=n=a=void 0},b.flush=function(){return void 0===a?s:g(Yr())},b}function Ur(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Qr(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&Hr.call(t)==Wr}(t))return Cr;if(Ur(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ur(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Mr,"");var r=Ir.test(t);return r||Br.test(t)?Dr(t.slice(2),r?2:8):Pr.test(t)?Cr:+t}var Kr=function(t,e,r){var i=!0,n=!0;if("function"!=typeof t)throw new TypeError(Nr);return Ur(r)&&(i="leading"in r?!!r.leading:i,n="trailing"in r?!!r.trailing:n),Gr(t,e,{leading:i,maxWait:e,trailing:n})},Jr="Expected a function",Zr=NaN,ti="[object Symbol]",ei=/^\s+|\s+$/g,ri=/^[-+]0x[0-9a-f]+$/i,ii=/^0b[01]+$/i,ni=/^0o[0-7]+$/i,oi=parseInt,si="object"==typeof a&&a&&a.Object===Object&&a,ai="object"==typeof self&&self&&self.Object===Object&&self,ci=si||ai||Function("return this")(),li=Object.prototype.toString,ui=Math.max,fi=Math.min,hi=function(){return ci.Date.now()};function pi(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function di(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&li.call(t)==ti}(t))return Zr;if(pi(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=pi(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(ei,"");var r=ii.test(t);return r||ni.test(t)?oi(t.slice(2),r?2:8):ri.test(t)?Zr:+t}var vi=function(t,e,r){var i,n,o,s,a,c,l=0,u=!1,f=!1,h=!0;if("function"!=typeof t)throw new TypeError(Jr);function p(e){var r=i,o=n;return i=n=void 0,l=e,s=t.apply(o,r)}function d(t){var r=t-c;return void 0===c||r>=e||r<0||f&&t-l>=o}function v(){var t=hi();if(d(t))return g(t);a=setTimeout(v,function(t){var r=e-(t-c);return f?fi(r,o-(t-l)):r}(t))}function g(t){return a=void 0,h&&i?p(t):(i=n=void 0,s)}function b(){var t=hi(),r=d(t);if(i=arguments,n=this,c=t,r){if(void 0===a)return function(t){return l=t,a=setTimeout(v,e),u?p(t):s}(c);if(f)return a=setTimeout(v,e),p(c)}return void 0===a&&(a=setTimeout(v,e)),s}return e=di(e)||0,pi(r)&&(u=!!r.leading,o=(f="maxWait"in r)?ui(di(r.maxWait)||0,e):o,h="trailing"in r?!!r.trailing:h),b.cancel=function(){void 0!==a&&clearTimeout(a),l=0,i=c=n=a=void 0},b.flush=function(){return void 0===a?s:g(hi())},b},gi="Expected a function",bi="__lodash_hash_undefined__",yi="[object Function]",mi="[object GeneratorFunction]",xi=/^\[object .+?Constructor\]$/,Ei="object"==typeof a&&a&&a.Object===Object&&a,wi="object"==typeof self&&self&&self.Object===Object&&self,Oi=Ei||wi||Function("return this")();var Si=Array.prototype,ki=Function.prototype,Ti=Object.prototype,Ai=Oi["__core-js_shared__"],zi=function(){var t=/[^.]+$/.exec(Ai&&Ai.keys&&Ai.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Ri=ki.toString,ji=Ti.hasOwnProperty,Li=Ti.toString,_i=RegExp("^"+Ri.call(ji).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ni=Si.splice,Ci=Vi(Oi,"Map"),Wi=Vi(Object,"create");function Mi(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Pi(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Ii(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Bi(t,e){for(var r,i,n=t.length;n--;)if((r=t[n][0])===(i=e)||r!=r&&i!=i)return n;return-1}function Di(t){return!(!Hi(t)||(e=t,zi&&zi in e))&&(function(t){var e=Hi(t)?Li.call(t):"";return e==yi||e==mi}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?_i:xi).test(function(t){if(null!=t){try{return Ri.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}function Fi(t,e){var r,i,n=t.__data__;return("string"==(i=typeof(r=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==r:null===r)?n["string"==typeof e?"string":"hash"]:n.map}function Vi(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return Di(r)?r:void 0}function Xi(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(gi);var r=function(){var i=arguments,n=e?e.apply(this,i):i[0],o=r.cache;if(o.has(n))return o.get(n);var s=t.apply(this,i);return r.cache=o.set(n,s),s};return r.cache=new(Xi.Cache||Ii),r}function Hi(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}Mi.prototype.clear=function(){this.__data__=Wi?Wi(null):{}},Mi.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},Mi.prototype.get=function(t){var e=this.__data__;if(Wi){var r=e[t];return r===bi?void 0:r}return ji.call(e,t)?e[t]:void 0},Mi.prototype.has=function(t){var e=this.__data__;return Wi?void 0!==e[t]:ji.call(e,t)},Mi.prototype.set=function(t,e){return this.__data__[t]=Wi&&void 0===e?bi:e,this},Pi.prototype.clear=function(){this.__data__=[]},Pi.prototype.delete=function(t){var e=this.__data__,r=Bi(e,t);return!(r<0)&&(r==e.length-1?e.pop():Ni.call(e,r,1),!0)},Pi.prototype.get=function(t){var e=this.__data__,r=Bi(e,t);return r<0?void 0:e[r][1]},Pi.prototype.has=function(t){return Bi(this.__data__,t)>-1},Pi.prototype.set=function(t,e){var r=this.__data__,i=Bi(r,t);return i<0?r.push([t,e]):r[i][1]=e,this},Ii.prototype.clear=function(){this.__data__={hash:new Mi,map:new(Ci||Pi),string:new Mi}},Ii.prototype.delete=function(t){return Fi(this,t).delete(t)},Ii.prototype.get=function(t){return Fi(this,t).get(t)},Ii.prototype.has=function(t){return Fi(this,t).has(t)},Ii.prototype.set=function(t,e){return Fi(this,t).set(t,e),this},Xi.Cache=Ii;var qi,$i=Xi,Yi=[],Gi="ResizeObserver loop completed with undelivered notifications.";!function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(qi||(qi={}));var Ui,Qi=function(t){return Object.freeze(t)},Ki=function(t,e){this.inlineSize=t,this.blockSize=e,Qi(this)},Ji=function(){function t(t,e,r,i){return this.x=t,this.y=e,this.width=r,this.height=i,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Qi(this)}return t.prototype.toJSON=function(){var t=this;return{x:t.x,y:t.y,top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),Zi=function(t){return t instanceof SVGElement&&"getBBox"in t},tn=function(t){if(Zi(t)){var e=t.getBBox(),r=e.width,i=e.height;return!r&&!i}var n=t,o=n.offsetWidth,s=n.offsetHeight;return!(o||s||t.getClientRects().length)},en=function(t){var e,r;if(t instanceof Element)return!0;var i=null===(r=null===(e=t)||void 0===e?void 0:e.ownerDocument)||void 0===r?void 0:r.defaultView;return!!(i&&t instanceof i.Element)},rn="undefined"!=typeof window?window:{},nn=new WeakMap,on=/auto|scroll/,sn=/^tb|vertical/,an=/msie|trident/i.test(rn.navigator&&rn.navigator.userAgent),cn=function(t){return parseFloat(t||"0")},ln=function(t,e,r){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===r&&(r=!1),new Ki((r?e:t)||0,(r?t:e)||0)},un=Qi({devicePixelContentBoxSize:ln(),borderBoxSize:ln(),contentBoxSize:ln(),contentRect:new Ji(0,0,0,0)}),fn=function(t,e){if(void 0===e&&(e=!1),nn.has(t)&&!e)return nn.get(t);if(tn(t))return nn.set(t,un),un;var r=getComputedStyle(t),i=Zi(t)&&t.ownerSVGElement&&t.getBBox(),n=!an&&"border-box"===r.boxSizing,o=sn.test(r.writingMode||""),s=!i&&on.test(r.overflowY||""),a=!i&&on.test(r.overflowX||""),c=i?0:cn(r.paddingTop),l=i?0:cn(r.paddingRight),u=i?0:cn(r.paddingBottom),f=i?0:cn(r.paddingLeft),h=i?0:cn(r.borderTopWidth),p=i?0:cn(r.borderRightWidth),d=i?0:cn(r.borderBottomWidth),v=f+l,g=c+u,b=(i?0:cn(r.borderLeftWidth))+p,y=h+d,m=a?t.offsetHeight-y-t.clientHeight:0,x=s?t.offsetWidth-b-t.clientWidth:0,E=n?v+b:0,w=n?g+y:0,O=i?i.width:cn(r.width)-E-x,S=i?i.height:cn(r.height)-w-m,k=O+v+x+b,T=S+g+m+y,A=Qi({devicePixelContentBoxSize:ln(Math.round(O*devicePixelRatio),Math.round(S*devicePixelRatio),o),borderBoxSize:ln(k,T,o),contentBoxSize:ln(O,S,o),contentRect:new Ji(f,c,O,S)});return nn.set(t,A),A},hn=function(t,e,r){var i=fn(t,r),n=i.borderBoxSize,o=i.contentBoxSize,s=i.devicePixelContentBoxSize;switch(e){case qi.DEVICE_PIXEL_CONTENT_BOX:return s;case qi.BORDER_BOX:return n;default:return o}},pn=function(t){var e=fn(t);this.target=t,this.contentRect=e.contentRect,this.borderBoxSize=Qi([e.borderBoxSize]),this.contentBoxSize=Qi([e.contentBoxSize]),this.devicePixelContentBoxSize=Qi([e.devicePixelContentBoxSize])},dn=function(t){if(tn(t))return 1/0;for(var e=0,r=t.parentNode;r;)e+=1,r=r.parentNode;return e},vn=function(){var t=1/0,e=[];Yi.forEach((function(r){if(0!==r.activeTargets.length){var i=[];r.activeTargets.forEach((function(e){var r=new pn(e.target),n=dn(e.target);i.push(r),e.lastReportedSize=hn(e.target,e.observedBox),n<t&&(t=n)})),e.push((function(){r.callback.call(r.observer,i,r.observer)})),r.activeTargets.splice(0,r.activeTargets.length)}}));for(var r=0,i=e;r<i.length;r++){(0,i[r])()}return t},gn=function(t){Yi.forEach((function(e){e.activeTargets.splice(0,e.activeTargets.length),e.skippedTargets.splice(0,e.skippedTargets.length),e.observationTargets.forEach((function(r){r.isActive()&&(dn(r.target)>t?e.activeTargets.push(r):e.skippedTargets.push(r))}))}))},bn=function(){var t,e=0;for(gn(e);Yi.some((function(t){return t.activeTargets.length>0}));)e=vn(),gn(e);return Yi.some((function(t){return t.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?t=new ErrorEvent("error",{message:Gi}):((t=document.createEvent("Event")).initEvent("error",!1,!1),t.message=Gi),window.dispatchEvent(t)),e>0},yn=[],mn=function(t){if(!Ui){var e=0,r=document.createTextNode("");new MutationObserver((function(){return yn.splice(0).forEach((function(t){return t()}))})).observe(r,{characterData:!0}),Ui=function(){r.textContent=""+(e?e--:e++)}}yn.push(t),Ui()},xn=0,En={attributes:!0,characterData:!0,childList:!0,subtree:!0},wn=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],On=function(t){return void 0===t&&(t=0),Date.now()+t},Sn=!1,kn=new(function(){function t(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return t.prototype.run=function(t){var e=this;if(void 0===t&&(t=250),!Sn){Sn=!0;var r,i=On(t);r=function(){var r=!1;try{r=bn()}finally{if(Sn=!1,t=i-On(),!xn)return;r?e.run(1e3):t>0?e.run(t):e.start()}},mn((function(){requestAnimationFrame(r)}))}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var t=this,e=function(){return t.observer&&t.observer.observe(document.body,En)};document.body?e():rn.addEventListener("DOMContentLoaded",e)},t.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),wn.forEach((function(e){return rn.addEventListener(e,t.listener,!0)})))},t.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),wn.forEach((function(e){return rn.removeEventListener(e,t.listener,!0)})),this.stopped=!0)},t}()),Tn=function(t){!xn&&t>0&&kn.start(),!(xn+=t)&&kn.stop()},An=function(){function t(t,e){this.target=t,this.observedBox=e||qi.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var t,e=hn(this.target,this.observedBox,!0);return t=this.target,Zi(t)||function(t){switch(t.tagName){case"INPUT":if("image"!==t.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(t)||"inline"!==getComputedStyle(t).display||(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),zn=function(t,e){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=e},Rn=new WeakMap,jn=function(t,e){for(var r=0;r<t.length;r+=1)if(t[r].target===e)return r;return-1},Ln=function(){function t(){}return t.connect=function(t,e){var r=new zn(t,e);Rn.set(t,r)},t.observe=function(t,e,r){var i=Rn.get(t),n=0===i.observationTargets.length;jn(i.observationTargets,e)<0&&(n&&Yi.push(i),i.observationTargets.push(new An(e,r&&r.box)),Tn(1),kn.schedule())},t.unobserve=function(t,e){var r=Rn.get(t),i=jn(r.observationTargets,e),n=1===r.observationTargets.length;i>=0&&(n&&Yi.splice(Yi.indexOf(r),1),r.observationTargets.splice(i,1),Tn(-1))},t.disconnect=function(t){var e=this,r=Rn.get(t);r.observationTargets.slice().forEach((function(r){return e.unobserve(t,r.target)})),r.activeTargets.splice(0,r.activeTargets.length)},t}(),_n=function(){function t(t){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof t)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Ln.connect(this,t)}return t.prototype.observe=function(t,e){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!en(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ln.observe(this,t,e)},t.prototype.unobserve=function(t){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!en(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ln.unobserve(this,t)},t.prototype.disconnect=function(){Ln.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}(),Nn=!("undefined"==typeof window||!window.document||!window.document.createElement),Cn=function(t){return function(e,r,i,n){Ct(r);var o=Mt(e),s=S(o),a=pt(o.length),c=t?a-1:0,l=t?-1:1;if(i<2)for(;;){if(c in s){n=s[c],c+=l;break}if(c+=l,t?c<0:a<=c)throw TypeError("Reduce of empty array with no initial value")}for(;t?c>=0:a>c;c+=l)c in s&&(n=r(n,s[c],c,o));return n}},Wn={left:Cn(!1),right:Cn(!0)}.left;Nt({target:"Array",proto:!0,forced:Ut("reduce")},{reduce:function(t){return Wn(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});var Mn=B.f,Pn=Function.prototype,In=Pn.toString,Bn=/^\s*function ([^ (]*)/;!g||"name"in Pn||Mn(Pn,"name",{configurable:!0,get:function(){try{return In.call(this).match(Bn)[1]}catch(t){return""}}});var Dn,Fn,Vn=function(){var t=P(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},Xn=RegExp.prototype.exec,Hn=String.prototype.replace,qn=Xn,$n=(Dn=/a/,Fn=/b*/g,Xn.call(Dn,"a"),Xn.call(Fn,"a"),0!==Dn.lastIndex||0!==Fn.lastIndex),Yn=void 0!==/()??/.exec("")[1];($n||Yn)&&(qn=function(t){var e,r,i,n,o=this;return Yn&&(r=new RegExp("^"+o.source+"$(?!\\s)",Vn.call(o))),$n&&(e=o.lastIndex),i=Xn.call(o,t),$n&&i&&(o.lastIndex=o.global?i.index+i[0].length:e),Yn&&i&&i.length>1&&Hn.call(i[0],r,(function(){for(n=1;n<arguments.length-2;n++)void 0===arguments[n]&&(i[n]=void 0)})),i});var Gn=qn;Nt({target:"RegExp",proto:!0,forced:/./.exec!==Gn},{exec:Gn});var Un=Ft("species"),Qn=!v((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),Kn=!v((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),Jn=function(t,e,r,i){var n=Ft(t),o=!v((function(){var e={};return e[n]=function(){return 7},7!=""[t](e)})),s=o&&!v((function(){var e=!1,r=/a/;return r.exec=function(){return e=!0,null},"split"===t&&(r.constructor={},r.constructor[Un]=function(){return r}),r[n](""),!e}));if(!o||!s||"replace"===t&&!Qn||"split"===t&&!Kn){var a=/./[n],c=r(n,""[t],(function(t,e,r,i,n){return e.exec===Gn?o&&!n?{done:!0,value:a.call(e,r,i)}:{done:!0,value:t.call(r,e,i)}:{done:!1}})),l=c[0],u=c[1];ot(String.prototype,t,l),ot(RegExp.prototype,n,2==e?function(t,e){return u.call(t,this,e)}:function(t){return u.call(t,this)}),i&&D(RegExp.prototype[n],"sham",!0)}},Zn=Ke.charAt,to=function(t,e,r){return e+(r?Zn(t,e).length:1)},eo=function(t,e){var r=t.exec;if("function"==typeof r){var i=r.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==w(t))throw TypeError("RegExp#exec called on incompatible receiver");return Gn.call(t,e)};Jn("match",1,(function(t,e,r){return[function(e){var r=k(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,r):new RegExp(e)[t](String(r))},function(t){var i=r(e,t,this);if(i.done)return i.value;var n=P(t),o=String(this);if(!n.global)return eo(n,o);var s=n.unicode;n.lastIndex=0;for(var a,c=[],l=0;null!==(a=eo(n,o));){var u=String(a[0]);c[l]=u,""===u&&(n.lastIndex=to(o,pt(n.lastIndex),s)),l++}return 0===l?null:c}]}));var ro=Math.max,io=Math.min,no=Math.floor,oo=/\$([$&'`]|\d\d?|<[^>]*>)/g,so=/\$([$&'`]|\d\d?)/g;function ao(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}function co(t){return t&&t.ownerDocument?t.ownerDocument:document}Jn("replace",2,(function(t,e,r){return[function(r,i){var n=k(this),o=null==r?void 0:r[t];return void 0!==o?o.call(r,n,i):e.call(String(n),r,i)},function(t,n){var o=r(e,t,this,n);if(o.done)return o.value;var s=P(t),a=String(this),c="function"==typeof n;c||(n=String(n));var l=s.global;if(l){var u=s.unicode;s.lastIndex=0}for(var f=[];;){var h=eo(s,a);if(null===h)break;if(f.push(h),!l)break;""===String(h[0])&&(s.lastIndex=to(a,pt(s.lastIndex),u))}for(var p,d="",v=0,g=0;g<f.length;g++){h=f[g];for(var b=String(h[0]),y=ro(io(ft(h.index),a.length),0),m=[],x=1;x<h.length;x++)m.push(void 0===(p=h[x])?p:String(p));var E=h.groups;if(c){var w=[b].concat(m,y,a);void 0!==E&&w.push(E);var O=String(n.apply(void 0,w))}else O=i(b,a,y,m,E,n);y>=v&&(d+=a.slice(v,y)+O,v=y+b.length)}return d+a.slice(v)}];function i(t,r,i,n,o,s){var a=i+t.length,c=n.length,l=so;return void 0!==o&&(o=Mt(o),l=oo),e.call(s,l,(function(e,s){var l;switch(s.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,i);case"'":return r.slice(a);case"<":l=o[s.slice(1,-1)];break;default:var u=+s;if(0===u)return e;if(u>c){var f=no(u/10);return 0===f?e:f<=c?void 0===n[f-1]?s.charAt(1):n[f-1]+s.charAt(1):e}l=n[u-1]}return void 0===l?"":l}))}}));var lo=null,uo=null;function fo(t){if(null===lo){var e=co(t);if(void 0===e)return lo=0;var r=e.body,i=e.createElement("div");i.classList.add("simplebar-hide-scrollbar"),r.appendChild(i);var n=i.getBoundingClientRect().right;r.removeChild(i),lo=n}return lo}Nn&&window.addEventListener("resize",(function(){uo!==window.devicePixelRatio&&(uo=window.devicePixelRatio,lo=null)}));var ho=function(){function t(e,r){var i=this;this.onScroll=function(){var t=ao(i.el);i.scrollXTicking||(t.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(t.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0)},this.scrollX=function(){i.axis.x.isOverflowing&&(i.showScrollbar("x"),i.positionScrollbar("x")),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&(i.showScrollbar("y"),i.positionScrollbar("y")),i.scrollYTicking=!1},this.onMouseEnter=function(){i.showScrollbar("x"),i.showScrollbar("y")},this.onMouseMove=function(t){i.mouseX=t.clientX,i.mouseY=t.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this.onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.hideScrollbars=function(){i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.track.rect)||(i.axis.y.scrollbar.el.classList.remove(i.classNames.visible),i.axis.y.isVisible=!1),i.isWithinBounds(i.axis.x.track.rect)||(i.axis.x.scrollbar.el.classList.remove(i.classNames.visible),i.axis.x.isVisible=!1)},this.onPointerEvent=function(t){var e,r;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(e=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(r=i.isWithinBounds(i.axis.y.track.rect)),(e||r)&&(t.preventDefault(),t.stopPropagation(),"mousedown"===t.type&&(e&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(t,"x"):i.onTrackClick(t,"x")),r&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(t,"y"):i.onTrackClick(t,"y"))))},this.drag=function(e){var r=i.axis[i.draggedAxis].track,n=r.rect[i.axis[i.draggedAxis].sizeAttr],o=i.axis[i.draggedAxis].scrollbar,s=i.contentWrapperEl[i.axis[i.draggedAxis].scrollSizeAttr],a=parseInt(i.elStyles[i.axis[i.draggedAxis].sizeAttr],10);e.preventDefault(),e.stopPropagation();var c=(("y"===i.draggedAxis?e.pageY:e.pageX)-r.rect[i.axis[i.draggedAxis].offsetAttr]-i.axis[i.draggedAxis].dragOffset)/(n-o.size)*(s-a);"x"===i.draggedAxis&&(c=i.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c-(n+o.size):c,c=i.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-c:c),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=c},this.onEndDrag=function(t){var e=co(i.el),r=ao(i.el);t.preventDefault(),t.stopPropagation(),i.el.classList.remove(i.classNames.dragging),e.removeEventListener("mousemove",i.drag,!0),e.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=r.setTimeout((function(){e.removeEventListener("click",i.preventClick,!0),e.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null}))},this.preventClick=function(t){t.preventDefault(),t.stopPropagation()},this.el=e,this.minScrollbarWidth=20,this.options=Object.assign({},t.defaultOptions,{},r),this.classNames=Object.assign({},t.defaultOptions.classNames,{},this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,t.instances.has(this.el)||(this.recalculate=Kr(this.recalculate.bind(this),64),this.onMouseMove=Kr(this.onMouseMove.bind(this),64),this.hideScrollbars=vi(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=vi(this.onWindowResize.bind(this),64,{leading:!0}),t.getRtlHelpers=$i(t.getRtlHelpers),this.init())}t.getRtlHelpers=function(){var e=document.createElement("div");e.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var r=e.firstElementChild;document.body.appendChild(r);var i=r.firstElementChild;r.scrollLeft=0;var n=t.getOffset(r),o=t.getOffset(i);r.scrollLeft=999;var s=t.getOffset(i);return{isRtlScrollingInverted:n.left!==o.left&&o.left-s.left!=0,isRtlScrollbarInverted:n.left!==o.left}},t.getOffset=function(t){var e=t.getBoundingClientRect(),r=co(t),i=ao(t);return{top:e.top+(i.pageYOffset||r.documentElement.scrollTop),left:e.left+(i.pageXOffset||r.documentElement.scrollLeft)}};var e=t.prototype;return e.init=function(){t.instances.set(this.el,this),Nn&&(this.initDOM(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.initDOM=function(){var t=this;if(Array.prototype.filter.call(this.el.children,(function(e){return e.classList.contains(t.classNames.wrapper)})).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+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.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+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)}if(!this.axis.x.track.el||!this.axis.y.track.el){var e=document.createElement("div"),r=document.createElement("div");e.classList.add(this.classNames.track),r.classList.add(this.classNames.scrollbar),e.appendChild(r),this.axis.x.track.el=e.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=e.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")},e.initListeners=function(){var t=this,e=ao(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(e){t.el.addEventListener(e,t.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(e){t.el.addEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})})),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),e.addEventListener("resize",this.onWindowResize);var r=!1,i=e.ResizeObserver||_n;this.resizeObserver=new i((function(){r&&t.recalculate()})),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),e.requestAnimationFrame((function(){r=!0})),this.mutationObserver=new e.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},e.recalculate=function(){var t=ao(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var e=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1,i=this.contentEl.offsetWidth,n=this.contentWrapperEl.offsetWidth,o=this.elStyles.overflowX,s=this.elStyles.overflowY;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;var a=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=e?"auto":"100%",this.placeholderEl.style.width=r?i+"px":"auto",this.placeholderEl.style.height=a+"px";var l=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=c>i,this.axis.y.isOverflowing=a>l,this.axis.x.isOverflowing="hidden"!==o&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==s&&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();var u=this.axis.x.isOverflowing?this.scrollbarWidth:0,f=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>n-f,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&a>l-u,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")},e.getScrollbarSize=function(t){if(void 0===t&&(t="y"),!this.axis[t].isOverflowing)return 0;var e,r=this.contentEl[this.axis[t].scrollSizeAttr],i=this.axis[t].track.el[this.axis[t].offsetSizeAttr],n=i/r;return e=Math.max(~~(n*i),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(e=Math.min(e,this.options.scrollbarMaxSize)),e},e.positionScrollbar=function(e){if(void 0===e&&(e="y"),this.axis[e].isOverflowing){var r=this.contentWrapperEl[this.axis[e].scrollSizeAttr],i=this.axis[e].track.el[this.axis[e].offsetSizeAttr],n=parseInt(this.elStyles[this.axis[e].sizeAttr],10),o=this.axis[e].scrollbar,s=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],a=(s="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-s:s)/(r-n),c=~~((i-o.size)*a);c="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c+(i-o.size):c,o.el.style.transform="x"===e?"translate3d("+c+"px, 0, 0)":"translate3d(0, "+c+"px, 0)"}},e.toggleTrackVisibility=function(t){void 0===t&&(t="y");var e=this.axis[t].track.el,r=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?r.style.display="block":r.style.display="none"},e.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},e.onMouseMoveForAxis=function(t){void 0===t&&(t="y"),this.axis[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)},e.onMouseLeaveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.el.classList.remove(this.classNames.hover),this.axis[t].scrollbar.el.classList.remove(this.classNames.hover)},e.showScrollbar=function(t){void 0===t&&(t="y");var e=this.axis[t].scrollbar.el;this.axis[t].isVisible||(e.classList.add(this.classNames.visible),this.axis[t].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},e.onDragStart=function(t,e){void 0===e&&(e="y");var r=co(this.el),i=ao(this.el),n=this.axis[e].scrollbar,o="y"===e?t.pageY:t.pageX;this.axis[e].dragOffset=o-n.rect[this.axis[e].offsetAttr],this.draggedAxis=e,this.el.classList.add(this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(i.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.onTrackClick=function(t,e){var r=this;if(void 0===e&&(e="y"),this.options.clickOnTrack){var i=ao(this.el);this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect();var n=this.axis[e].scrollbar.rect[this.axis[e].offsetAttr],o=parseInt(this.elStyles[this.axis[e].sizeAttr],10),s=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],a=("y"===e?this.mouseY-n:this.mouseX-n)<0?-1:1,c=-1===a?s-o:s+o;!function t(){var n,o;-1===a?s>c&&(s-=r.options.clickOnTrackSpeed,r.contentWrapperEl.scrollTo(((n={})[r.axis[e].offsetAttr]=s,n)),i.requestAnimationFrame(t)):s<c&&(s+=r.options.clickOnTrackSpeed,r.contentWrapperEl.scrollTo(((o={})[r.axis[e].offsetAttr]=s,o)),i.requestAnimationFrame(t))}()}},e.getContentElement=function(){return this.contentEl},e.getScrollElement=function(){return this.contentWrapperEl},e.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:fo(this.el)}catch(t){return fo(this.el)}},e.removeListeners=function(){var t=this,e=ao(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(e){t.el.removeEventListener(e,t.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(e){t.el.removeEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})})),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},e.unMount=function(){this.removeListeners(),t.instances.delete(this.el)},e.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.findChild=function(t,e){var r=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,(function(t){return r.call(t,e)}))[0]},t}();ho.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,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},ho.instances=new WeakMap;var po=r.forwardRef((function(e,a){var c,l=e.children,u=e.scrollableNodeProps,f=void 0===u?{}:u,h=s(e,["children","scrollableNodeProps"]),p=t.useRef(),d=t.useRef(),v=t.useRef(),g={},b={},y=[];return Object.keys(h).forEach((function(t){Object.prototype.hasOwnProperty.call(ho.defaultOptions,t)?g[t]=h[t]:t.match(/data-simplebar-(.+)/)&&"data-simplebar-direction"!==t?y.push({name:t,value:h[t]}):b[t]=h[t]})),y.length&&console.warn("simplebar-react: this way of passing options is deprecated. Pass it like normal props instead:\n 'data-simplebar-auto-hide=\"false\"' —> 'autoHide=\"false\"'\n "),t.useEffect((function(){var t;return p=f.ref||p,d.current&&(c=new ho(d.current,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(r,!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(r).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},(t=y,Array.prototype.reduce.call(t,(function(t,e){var r=e.name.match(/data-simplebar-(.+)/);if(r){var i=r[1].replace(/\W+(.)/g,(function(t,e){return e.toUpperCase()}));switch(e.value){case"true":t[i]=!0;break;case"false":t[i]=!1;break;case void 0:t[i]=!0;break;default:t[i]=e.value}}return t}),{})),{},g,{},p&&{scrollableNode:p.current},{},v.current&&{contentNode:v.current})),a&&(a.current=c)),function(){c.unMount(),c=null}}),[]),r.createElement("div",n({ref:d,"data-simplebar":!0},b),r.createElement("div",{className:"simplebar-wrapper"},r.createElement("div",{className:"simplebar-height-auto-observer-wrapper"},r.createElement("div",{className:"simplebar-height-auto-observer"})),r.createElement("div",{className:"simplebar-mask"},r.createElement("div",{className:"simplebar-offset"},"function"==typeof l?l({scrollableNodeRef:p,contentNodeRef:v}):r.createElement("div",n({},f,{className:"simplebar-content-wrapper".concat(f.className?" ".concat(f.className):"")}),r.createElement("div",{className:"simplebar-content"},l)))),r.createElement("div",{className:"simplebar-placeholder"})),r.createElement("div",{className:"simplebar-track simplebar-horizontal"},r.createElement("div",{className:"simplebar-scrollbar"})),r.createElement("div",{className:"simplebar-track simplebar-vertical"},r.createElement("div",{className:"simplebar-scrollbar"})))}));return po.displayName="SimpleBar",po.propTypes={children:e.oneOfType([e.node,e.func]),scrollableNodeProps:e.object},po})); |
{ | ||
"name": "simplebar-react", | ||
"version": "2.3.3", | ||
"version": "2.3.4", | ||
"description": "React component for SimpleBar", | ||
@@ -30,3 +30,3 @@ "files": [ | ||
"prop-types": "^15.6.1", | ||
"simplebar": "^5.3.3" | ||
"simplebar": "^5.3.4" | ||
}, | ||
@@ -47,3 +47,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "3a2b2b4a534957211f81bcf6821a2afefd7dc579" | ||
"gitHead": "fcdf86d2d2a91d4e0ecd420ee10a1d25a6bb8207" | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
77387
476
Updatedsimplebar@^5.3.4