simplebar-react
Version:
React component for SimpleBar
10 lines (9 loc) • 60.3 kB
JavaScript
/**
* simplebar-react - v2.3.6
* React component for SimpleBar
* https://grsmto.github.io/simplebar/
*
* Made by Adrien Denat
* Under MIT License
*/
!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},A=function(t){return S(k(t))},T=function(t){return"object"==typeof t?null!==t:"function"==typeof t},z=function(t,e){if(!T(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!T(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!T(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!T(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,_=T(L)&&T(L.createElement),N=function(t){return _?L.createElement(t):{}},W=!g&&!v((function(){return 7!=Object.defineProperty(N("div"),"a",{get:function(){return 7}}).a})),C=Object.getOwnPropertyDescriptor,M={f:g?C:function(t,e){if(t=A(t),e=z(e,!0),W)try{return C(t,e)}catch(t){}if(j(t,e))return x(!m.f.call(t,e),t[e])}},P=function(t){if(!T(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),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}},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(!T(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=A(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=A(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\./,At=function(t,e){var r=zt[Tt(t)];return r==jt||r!=Rt&&("function"==typeof e?v(e):!!e)},Tt=At.normalize=function(t){return String(t).replace(kt,".").toLowerCase()},zt=At.data={},Rt=At.NATIVE="N",jt=At.POLYFILL="P",Lt=At,_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)}},Wt=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Ct=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,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)?T(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=Ct(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(!T(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,Ae=ye.BUGGY_SAFARI_ITERATORS,Te=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(!Ae&&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[Te]||p["@@iterator"]||n&&p[n],v=!Ae&&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[Te]&&D(a,Te,ze)),Ee(a,f,!0))),"values"==n&&d&&"values"!==d.name&&(h=!0,v=function(){return d.call(this)}),p[Te]!==v&&D(p,Te,v),fe[e]=v,n)if(c={values:u("values"),keys:o?v:u("keys"),entries:u("entries")},s)for(l in c)!Ae&&!h&&l in p||ot(p,l,c[l]);else Nt({target:e,proto:!0,forced:Ae||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:A(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,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=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!==We},{assign:We});var Ce=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),Ce))?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(!T(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=Ct(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&&!T(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return n&&!T(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(n&&!T(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&&T(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(!T(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(!T(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(T(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(T(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(T(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(T(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(T(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}),Ar=Ft("iterator"),Tr=Ft("toStringTag"),zr=_e.values;for(var Rr in kr){var jr=d[Rr],Lr=jr&&jr.prototype;if(Lr){if(Lr[Ar]!==zr)try{D(Lr,Ar,zr)}catch(t){Lr[Ar]=zr}if(Lr[Tr]||D(Lr,Tr,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",Wr=NaN,Cr="[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)==Cr}(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(Mr,"");var r=Ir.test(t);return r||Br.test(t)?Dr(t.slice(2),r?2:8):Pr.test(t)?Wr:+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,Ai=Object.prototype,Ti=Oi["__core-js_shared__"],zi=function(){var t=/[^.]+$/.exec(Ti&&Ti.keys&&Ti.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Ri=ki.toString,ji=Ai.hasOwnProperty,Li=Ai.toString,_i=RegExp("^"+Ri.call(ji).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ni=Si.splice,Wi=Vi(Oi,"Map"),Ci=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__=Ci?Ci(null):{}},Mi.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},Mi.prototype.get=function(t){var e=this.__data__;if(Ci){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 Ci?void 0!==e[t]:ji.call(e,t)},Mi.prototype.set=function(t,e){return this.__data__[t]=Ci&&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(Wi||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,A=S+g+m+y,T=Qi({devicePixelContentBoxSize:ln(Math.round(O*devicePixelRatio),Math.round(S*devicePixelRatio),o),borderBoxSize:ln(k,A,o),contentBoxSize:ln(O,S,o),contentRect:new Ji(f,c,O,S)});return nn.set(t,T),T},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}()),An=function(t){!xn&&t>0&&kn.start(),!(xn+=t)&&kn.stop()},Tn=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 Tn(e,r&&r.box)),An(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),An(-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),Wn=function(t){return function(e,r,i,n){Wt(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}},Cn={left:Wn(!1),right:Wn(!0)}.left;Nt({target:"Array",proto:!0,forced:Ut("reduce")},{reduce:function(t){return Cn(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.setAccessibilityAttributes(),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.setAccessibilityAttributes=function(){var t=this.options.ariaLabel||"scrollable content";this.contentWrapperEl.setAttribute("tabindex","0"),this.contentWrapperEl.setAttribute("role","region"),this.contentWrapperEl.setAttribute("aria-label",t)},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