New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

simplebar-react

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simplebar-react - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3-corejs2

9

dist/simplebar-react.esm.js
/**
* simplebar-react - v2.0.2
* simplebar-react - v2.0.3
* React component for SimpleBar

@@ -10,2 +10,9 @@ * https://grsmto.github.io/simplebar/

import 'core-js/modules/web.dom.iterable';
import 'core-js/modules/es6.array.iterator';
import 'core-js/modules/es6.object.to-string';
import 'core-js/modules/es6.object.keys';
import 'core-js/modules/es6.regexp.replace';
import 'core-js/modules/es6.function.name';
import 'core-js/modules/es6.regexp.match';
import React, { useRef, useEffect } from 'react';

@@ -12,0 +19,0 @@ import PropTypes from 'prop-types';

4

dist/simplebar-react.js
/**
* simplebar-react - v2.0.2
* simplebar-react - v2.0.3
* 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 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}},b=!v((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),y={}.propertyIsEnumerable,g=Object.getOwnPropertyDescriptor,m={f:g&&!y.call({1:2},1)?function(t){var e=g(this,t);return!!e&&e.enumerable}:y},x=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},w={}.toString,E=function(t){return w.call(t).slice(8,-1)},O="".split,_=v((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==E(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,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")},L={}.hasOwnProperty,M=function(t,e){return L.call(t,e)},T=d.document,N=A(T)&&A(T.createElement),R=function(t){return N?T.createElement(t):{}},W=!b&&!v((function(){return 7!=Object.defineProperty(R("div"),"a",{get:function(){return 7}}).a})),z=Object.getOwnPropertyDescriptor,C={f:b?z:function(t,e){if(t=k(t),e=j(e,!0),W)try{return z(t,e)}catch(t){}if(M(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:b?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=b?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,X="function"==typeof q&&/native code/.test(H.call(q)),Y=0,G=Math.random(),$=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++Y+G).toString(36)},U=B("keys"),Q=function(t){return U[t]||(U[t]=$(t))},K={},J=d.WeakMap;if(X){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 V(t,it,e),e},u=function(t){return M(t,it)?t[it]:{}},f=function(t){return M(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(H).split("toString");B("inspectSource",(function(t){return H.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||M(n,"name")||V(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:V(t,e,n)):a?t[e]=n:F(e,n)})(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,bt=function(t){return function(e,r,i){var n,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)}(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}},yt={includes:bt(!0),indexOf:bt(!1)}.indexOf,gt=function(t,e){var r,i=k(t),n=0,o=[];for(r in i)!M(K,r)&&M(i,r)&&o.push(r);for(;e.length>n;)M(i,r=e[n++])&&(~yt(o,r)||o.push(r));return o},mt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],xt=mt.concat("length","prototype"),wt={f:Object.getOwnPropertyNames||function(t){return gt(t,xt)}},Et={f:Object.getOwnPropertySymbols},Ot=ct("Reflect","ownKeys")||function(t){var e=wt.f(P(t)),r=Et.f;return r?e.concat(r(t)):e},_t=function(t,e){for(var r=Ot(e),i=D.f,n=C.f,o=0;o<r.length;o++){var s=r[o];M(t,s)||i(t,s,n(e,s))}},St=/#|\.prototype\./,kt=function(t,e){var r=jt[At(t)];return r==Mt||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",Mt=kt.POLYFILL="P",Tt=kt,Nt=C.f,Rt=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=Nt(r,i))&&s.value:r[i],!Tt(c?i:a+(l?".":"#")+i,t.forced)&&void 0!==n){if(typeof o==typeof n)continue;_t(o,n)}(t.sham||n&&n.sham)&&V(o,"sham",!0),ot(r,i,o,t)}},Wt=function(t,e,r){if(function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function")}(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)}},zt=function(t){return Object(S(t))},Ct=Array.isArray||function(t){return"Array"==E(t)},Pt=!!Object.getOwnPropertySymbols&&!v((function(){return!String(Symbol())})),It=d.Symbol,Dt=B("wks"),Vt=function(t){return Dt[t]||(Dt[t]=Pt&&It[t]||(Pt?It:$)("Symbol."+t))},Ft=Vt("species"),Bt=function(t,e){var r;return Ct(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!Ct(r.prototype)?A(r)&&null===(r=r[Ft])&&(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=zt(a),d=_(p),v=Wt(c,l,3),b=pt(d.length),y=0,g=u||Bt,m=e?g(a,b):r?g(a,0):void 0;b>y;y++)if((s||y in d)&&(h=v(f=d[y],y,p),t))if(e)m[y]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return y;case 2:Ht.call(m,f)}else if(n)return!1;return o?-1:i||n?n:m}},Xt={forEach:qt(0),map:qt(1),filter:qt(2),some:qt(3),every:qt(4),find:qt(5),findIndex:qt(6)},Yt=Vt("species"),Gt=Xt.filter;Rt({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 $t=Xt.forEach,Ut=function(t,e){var r=[][t];return!r||!v((function(){r.call(null,e||function(){throw 1},1)}))}("forEach")?function(t){return $t(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach;Rt({target:"Array",proto:!0,forced:[].forEach!=Ut},{forEach:Ut});var Qt=Object.keys||function(t){return gt(t,mt)},Kt=b?Object.defineProperties:function(t,e){P(t);for(var r,i=Qt(e),n=i.length,o=0;n>o;)D.f(t,r=i[o++],e[r]);return t},Jt=ct("document","documentElement"),Zt=Q("IE_PROTO"),te=function(){},ee=function(){var t,e=R("iframe"),r=mt.length;for(e.style.display="none",Jt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),ee=t.F;r--;)delete ee.prototype[mt[r]];return ee()},re=Object.create||function(t,e){var r;return null!==t?(te.prototype=P(t),r=new te,te.prototype=null,r[Zt]=t):r=ee(),void 0===e?r:Kt(r,e)};K[Zt]=!0;var ie=Vt("unscopables"),ne=Array.prototype;null==ne[ie]&&V(ne,ie,re(null));var oe,se,ae,ce=function(t){ne[ie][t]=!0},le={},ue=!v((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),fe=Q("IE_PROTO"),he=Object.prototype,pe=ue?Object.getPrototypeOf:function(t){return t=zt(t),M(t,fe)?t[fe]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?he:null},de=Vt("iterator"),ve=!1;[].keys&&("next"in(ae=[].keys())?(se=pe(pe(ae)))!==Object.prototype&&(oe=se):ve=!0),null==oe&&(oe={}),M(oe,de)||V(oe,de,(function(){return this}));var be={IteratorPrototype:oe,BUGGY_SAFARI_ITERATORS:ve},ye=D.f,ge=Vt("toStringTag"),me=function(t,e,r){t&&!M(t=r?t:t.prototype,ge)&&ye(t,ge,{configurable:!0,value:e})},xe=be.IteratorPrototype,we=function(){return this},Ee=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),Oe=be.IteratorPrototype,_e=be.BUGGY_SAFARI_ITERATORS,Se=Vt("iterator"),ke=function(){return this},Ae=function(t,e,r,i,n,o,s){!function(t,e,r){var i=e+" Iterator";t.prototype=re(xe,{next:x(1,r)}),me(t,i,!1),le[i]=we}(r,e,i);var a,c,l,u=function(t){if(t===n&&v)return v;if(!_e&&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[Se]||p["@@iterator"]||n&&p[n],v=!_e&&d||u(n),b="Array"==e&&p.entries||d;if(b&&(a=pe(b.call(new t)),Oe!==Object.prototype&&a.next&&(pe(a)!==Oe&&(Ee?Ee(a,Oe):"function"!=typeof a[Se]&&V(a,Se,ke)),me(a,f,!0))),"values"==n&&d&&"values"!==d.name&&(h=!0,v=function(){return d.call(this)}),p[Se]!==v&&V(p,Se,v),le[e]=v,n)if(c={values:u("values"),keys:o?v:u("keys"),entries:u("entries")},s)for(l in c)!_e&&!h&&l in p||ot(p,l,c[l]);else Rt({target:e,proto:!0,forced:_e||h},c);return c},je=nt.set,Le=nt.getterFor("Array Iterator"),Me=Ae(Array,"Array",(function(t,e){je(this,{type:"Array Iterator",target:k(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");le.Arguments=le.Array,ce("keys"),ce("values"),ce("entries");var Te=Object.assign,Ne=!Te||v((function(){var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=Te({},t)[r]||"abcdefghijklmnopqrst"!=Qt(Te({},e)).join("")}))?function(t,e){for(var r=zt(t),i=arguments.length,n=1,o=Et.f,s=m.f;i>n;)for(var a,c=_(arguments[n++]),l=o?Qt(c).concat(o(c)):Qt(c),u=l.length,f=0;u>f;)a=l[f++],b&&!s.call(c,a)||(r[a]=c[a]);return r}:Te;Rt({target:"Object",stat:!0,forced:Object.assign!==Ne},{assign:Ne});var Re=Vt("toStringTag"),We="Arguments"==E(function(){return arguments}()),ze=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),Re))?r:We?E(e):"Object"==(i=E(e))&&"function"==typeof e.callee?"Arguments":i},Ce={};Ce[Vt("toStringTag")]="z";var Pe="[object z]"!==String(Ce)?function(){return"[object "+ze(this)+"]"}:Ce.toString,Ie=Object.prototype;Pe!==Ie.toString&&ot(Ie,"toString",Pe,{unsafe:!0});var De="\t\n\v\f\r                 \u2028\u2029\ufeff",Ve="["+De+"]",Fe=RegExp("^"+Ve+Ve+"*"),Be=RegExp(Ve+Ve+"*$"),He=function(t){return function(e){var r=String(S(e));return 1&t&&(r=r.replace(Fe,"")),2&t&&(r=r.replace(Be,"")),r}},qe={start:He(1),end:He(2),trim:He(3)}.trim,Xe=d.parseInt,Ye=/^[+-]?0[Xx]/,Ge=8!==Xe(De+"08")||22!==Xe(De+"0x16")?function(t,e){var r=qe(String(t));return Xe(r,e>>>0||(Ye.test(r)?16:10))}:Xe;Rt({global:!0,forced:parseInt!=Ge},{parseInt:Ge});var $e=function(t){return function(e,r){var i,n,o=String(S(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}},Ue={codeAt:$e(!1),charAt:$e(!0)}.charAt,Qe=nt.set,Ke=nt.getterFor("String Iterator");Ae(String,"String",(function(t){Qe(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=Ke(this),r=e.string,i=e.index;return i>=r.length?{value:void 0,done:!0}:(t=Ue(r,i),e.index+=t.length,{value:t,done:!1})}));var Je=function(t,e,r){for(var i in e)ot(t,i,e[i],r);return t},Ze=!v((function(){return Object.isExtensible(Object.preventExtensions({}))})),tr=c((function(t){var e=D.f,r=$("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(!M(t,r)){if(!n(t))return"F";if(!e)return"E";o(t)}return t[r].objectID},getWeakData:function(t,e){if(!M(t,r)){if(!n(t))return!0;if(!e)return!1;o(t)}return t[r].weakData},onFreeze:function(t){return Ze&&s.REQUIRED&&n(t)&&!M(t,r)&&o(t),t}};K[r]=!0})),er=(tr.REQUIRED,tr.fastKey,tr.getWeakData,tr.onFreeze,Vt("iterator")),rr=Array.prototype,ir=Vt("iterator"),nr=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}},or=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[ir]||t["@@iterator"]||le[ze(t)]}(t)))throw TypeError("Target is not iterable");if(void 0!==(h=a)&&(le.Array===h||rr[er]===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=nr(s,p,f.value,n))&&u instanceof e)return u;return new e(!1)}).stop=function(t){return new e(!0,t)}})),sr=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},ar=Vt("iterator"),cr=!1;try{var lr=0,ur={next:function(){return{done:!!lr++}},return:function(){cr=!0}};ur[ar]=function(){return this},Array.from(ur,(function(){throw 2}))}catch(t){}var fr=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(Tt(t,"function"!=typeof o||!(n||s.forEach&&!v((function(){(new o).entries().next()})))))a=r.getConstructor(e,t,i,c),tr.REQUIRED=!0;else if(Tt(t,!0)){var f=new a,h=f[c](n?{}:-0,1)!=f,p=v((function(){f.has(1)})),b=function(t,e){if(!e&&!cr)return!1;var r=!1;try{var i={};i[ar]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}((function(t){new o(t)})),y=!n&&v((function(){for(var t=new o,e=5;e--;)t[c](e,e);return!t.has(-0)}));b||((a=e((function(e,r){sr(e,a,t);var n=function(t,e,r){var i,n;return Ee&&"function"==typeof(i=e.constructor)&&i!==r&&A(n=i.prototype)&&n!==r.prototype&&Ee(t,n),t}(new o,e,a);return null!=r&&or(r,n[c],n,i),n}))).prototype=s,s.constructor=a),(p||y)&&(u("delete"),u("has"),i&&u("get")),(y||h)&&u(c),n&&s.clear&&delete s.clear}return l[t]=a,Rt({global:!0,forced:a!=o},l),me(a,t),n||r.setStrong(a,t,i),a},hr=tr.getWeakData,pr=nt.set,dr=nt.getterFor,vr=Xt.find,br=Xt.findIndex,yr=0,gr=function(t){return t.frozen||(t.frozen=new mr)},mr=function(){this.entries=[]},xr=function(t,e){return vr(t.entries,(function(t){return t[0]===e}))};mr.prototype={get:function(t){var e=xr(this,t);if(e)return e[1]},has:function(t){return!!xr(this,t)},set:function(t,e){var r=xr(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=br(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}};var wr={getConstructor:function(t,e,r,i){var n=t((function(t,o){sr(t,n,e),pr(t,{type:e,id:yr++,frozen:void 0}),null!=o&&or(o,t[i],t,r)})),o=dr(e),s=function(t,e,r){var i=o(t),n=hr(P(e),!0);return!0===n?gr(i).set(e,r):n[i.id]=r,t};return Je(n.prototype,{delete:function(t){var e=o(this);if(!A(t))return!1;var r=hr(t);return!0===r?gr(e).delete(t):r&&M(r,e.id)&&delete r[e.id]},has:function(t){var e=o(this);if(!A(t))return!1;var r=hr(t);return!0===r?gr(e).has(t):r&&M(r,e.id)}}),Je(n.prototype,r?{get:function(t){var e=o(this);if(A(t)){var r=hr(t);return!0===r?gr(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}},Er=(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=fr("WeakMap",o,wr,!0,!0);if(X&&i){e=wr.getConstructor(o,"WeakMap",!0),tr.REQUIRED=!0;var a=s.prototype,c=a.delete,l=a.has,u=a.get,f=a.set;Je(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}),Or=Vt("iterator"),_r=Vt("toStringTag"),Sr=Me.values;for(var kr in Er){var Ar=d[kr],jr=Ar&&Ar.prototype;if(jr){if(jr[Or]!==Sr)try{V(jr,Or,Sr)}catch(t){jr[Or]=Sr}if(jr[_r]||V(jr,_r,kr),Er[kr])for(var Lr in Me)if(jr[Lr]!==Me[Lr])try{V(jr,Lr,Me[Lr])}catch(t){jr[Lr]=Me[Lr]}}}var Mr="Expected a function",Tr=NaN,Nr="[object Symbol]",Rr=/^\s+|\s+$/g,Wr=/^[-+]0x[0-9a-f]+$/i,zr=/^0b[01]+$/i,Cr=/^0o[0-7]+$/i,Pr=parseInt,Ir="object"==typeof a&&a&&a.Object===Object&&a,Dr="object"==typeof self&&self&&self.Object===Object&&self,Vr=Ir||Dr||Function("return this")(),Fr=Object.prototype.toString,Br=Math.max,Hr=Math.min,qr=function(){return Vr.Date.now()};function Xr(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(Mr);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=qr();if(d(t))return b(t);a=setTimeout(v,function(t){var r=e-(t-c);return f?Hr(r,o-(t-l)):r}(t))}function b(t){return a=void 0,h&&i?p(t):(i=n=void 0,s)}function y(){var t=qr(),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=Gr(e)||0,Yr(r)&&(u=!!r.leading,o=(f="maxWait"in r)?Br(Gr(r.maxWait)||0,e):o,h="trailing"in r?!!r.trailing:h),y.cancel=function(){void 0!==a&&clearTimeout(a),l=0,i=c=n=a=void 0},y.flush=function(){return void 0===a?s:b(qr())},y}function Yr(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Gr(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&Fr.call(t)==Nr}(t))return Tr;if(Yr(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Yr(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Rr,"");var r=zr.test(t);return r||Cr.test(t)?Pr(t.slice(2),r?2:8):Wr.test(t)?Tr:+t}var $r=function(t,e,r){var i=!0,n=!0;if("function"!=typeof t)throw new TypeError(Mr);return Yr(r)&&(i="leading"in r?!!r.leading:i,n="trailing"in r?!!r.trailing:n),Xr(t,e,{leading:i,maxWait:e,trailing:n})},Ur="Expected a function",Qr=NaN,Kr="[object Symbol]",Jr=/^\s+|\s+$/g,Zr=/^[-+]0x[0-9a-f]+$/i,ti=/^0b[01]+$/i,ei=/^0o[0-7]+$/i,ri=parseInt,ii="object"==typeof a&&a&&a.Object===Object&&a,ni="object"==typeof self&&self&&self.Object===Object&&self,oi=ii||ni||Function("return this")(),si=Object.prototype.toString,ai=Math.max,ci=Math.min,li=function(){return oi.Date.now()};function ui(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function fi(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&si.call(t)==Kr}(t))return Qr;if(ui(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ui(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Jr,"");var r=ti.test(t);return r||ei.test(t)?ri(t.slice(2),r?2:8):Zr.test(t)?Qr:+t}var hi=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(Ur);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=li();if(d(t))return b(t);a=setTimeout(v,function(t){var r=e-(t-c);return f?ci(r,o-(t-l)):r}(t))}function b(t){return a=void 0,h&&i?p(t):(i=n=void 0,s)}function y(){var t=li(),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=fi(e)||0,ui(r)&&(u=!!r.leading,o=(f="maxWait"in r)?ai(fi(r.maxWait)||0,e):o,h="trailing"in r?!!r.trailing:h),y.cancel=function(){void 0!==a&&clearTimeout(a),l=0,i=c=n=a=void 0},y.flush=function(){return void 0===a?s:b(li())},y},pi="Expected a function",di="__lodash_hash_undefined__",vi="[object Function]",bi="[object GeneratorFunction]",yi=/^\[object .+?Constructor\]$/,gi="object"==typeof a&&a&&a.Object===Object&&a,mi="object"==typeof self&&self&&self.Object===Object&&self,xi=gi||mi||Function("return this")();var wi=Array.prototype,Ei=Function.prototype,Oi=Object.prototype,_i=xi["__core-js_shared__"],Si=function(){var t=/[^.]+$/.exec(_i&&_i.keys&&_i.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ki=Ei.toString,Ai=Oi.hasOwnProperty,ji=Oi.toString,Li=RegExp("^"+ki.call(Ai).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Mi=wi.splice,Ti=Di(xi,"Map"),Ni=Di(Object,"create");function Ri(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 Wi(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 zi(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 Ci(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 Pi(t){return!(!Fi(t)||(e=t,Si&&Si in e))&&(function(t){var e=Fi(t)?ji.call(t):"";return e==vi||e==bi}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?Li:yi).test(function(t){if(null!=t){try{return ki.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}function Ii(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 Di(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return Pi(r)?r:void 0}function Vi(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(pi);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(Vi.Cache||zi),r}function Fi(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}Ri.prototype.clear=function(){this.__data__=Ni?Ni(null):{}},Ri.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},Ri.prototype.get=function(t){var e=this.__data__;if(Ni){var r=e[t];return r===di?void 0:r}return Ai.call(e,t)?e[t]:void 0},Ri.prototype.has=function(t){var e=this.__data__;return Ni?void 0!==e[t]:Ai.call(e,t)},Ri.prototype.set=function(t,e){return this.__data__[t]=Ni&&void 0===e?di:e,this},Wi.prototype.clear=function(){this.__data__=[]},Wi.prototype.delete=function(t){var e=this.__data__,r=Ci(e,t);return!(r<0)&&(r==e.length-1?e.pop():Mi.call(e,r,1),!0)},Wi.prototype.get=function(t){var e=this.__data__,r=Ci(e,t);return r<0?void 0:e[r][1]},Wi.prototype.has=function(t){return Ci(this.__data__,t)>-1},Wi.prototype.set=function(t,e){var r=this.__data__,i=Ci(r,t);return i<0?r.push([t,e]):r[i][1]=e,this},zi.prototype.clear=function(){this.__data__={hash:new Ri,map:new(Ti||Wi),string:new Ri}},zi.prototype.delete=function(t){return Ii(this,t).delete(t)},zi.prototype.get=function(t){return Ii(this,t).get(t)},zi.prototype.has=function(t){return Ii(this,t).has(t)},zi.prototype.set=function(t,e){return Ii(this,t).set(t,e),this},Vi.Cache=zi;var Bi=Vi,Hi=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var r=-1;return t.some((function(t,i){return t[0]===e&&(r=i,!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),i=this.__entries__[r];return i&&i[1]},e.prototype.set=function(e,r){var i=t(this.__entries__,e);~i?this.__entries__[i][1]=r:this.__entries__.push([e,r])},e.prototype.delete=function(e){var r=this.__entries__,i=t(r,e);~i&&r.splice(i,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,i=this.__entries__;r<i.length;r++){var n=i[r];t.call(e,n[1],n[0])}},e}()}(),qi="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,Xi="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),Yi="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(Xi):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)},Gi=2;var $i=20,Ui=["top","right","bottom","left","width","height","size","weight"],Qi="undefined"!=typeof MutationObserver,Ki=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,i=!1,n=0;function o(){r&&(r=!1,t()),i&&a()}function s(){Yi(o)}function a(){var t=Date.now();if(r){if(t-n<Gi)return;i=!0}else r=!0,i=!1,setTimeout(s,e);n=t}return a}(this.refresh.bind(this),$i)}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(){qi&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Qi?(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(){qi&&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;Ui.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}(),Ji=function(t,e){for(var r=0,i=Object.keys(e);r<i.length;r++){var n=i[r];Object.defineProperty(t,n,{value:e[n],enumerable:!1,writable:!1,configurable:!0})}return t},Zi=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||Xi},tn=an(0,0,0,0);function en(t){return parseFloat(t)||0}function rn(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return e.reduce((function(e,r){return e+en(t["border-"+r+"-width"])}),0)}function nn(t){var e=t.clientWidth,r=t.clientHeight;if(!e&&!r)return tn;var i=Zi(t).getComputedStyle(t),n=function(t){for(var e={},r=0,i=["top","right","bottom","left"];r<i.length;r++){var n=i[r],o=t["padding-"+n];e[n]=en(o)}return e}(i),o=n.left+n.right,s=n.top+n.bottom,a=en(i.width),c=en(i.height);if("border-box"===i.boxSizing&&(Math.round(a+o)!==e&&(a-=rn(i,"left","right")+o),Math.round(c+s)!==r&&(c-=rn(i,"top","bottom")+s)),!function(t){return t===Zi(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 an(n.left,n.top,a,c)}var on="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof Zi(t).SVGGraphicsElement}:function(t){return t instanceof Zi(t).SVGElement&&"function"==typeof t.getBBox};function sn(t){return qi?on(t)?function(t){var e=t.getBBox();return an(0,0,e.width,e.height)}(t):nn(t):tn}function an(t,e,r,i){return{x:t,y:e,width:r,height:i}}var cn=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=an(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=sn(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}(),ln=function(t,e){var r,i,n,o,s,a,c,l=(i=(r=e).x,n=r.y,o=r.width,s=r.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(a.prototype),Ji(c,{x:i,y:n,width:o,height:s,top:n,right:i+o,bottom:s+n,left:i}),c);Ji(this,{target:t,contentRect:l})},un=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new Hi,"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 Zi(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new cn(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 Zi(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 ln(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}(),fn="undefined"!=typeof WeakMap?new WeakMap:new Hi,hn=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=Ki.getInstance(),i=new un(e,r,this);fn.set(this,i)};["observe","unobserve","disconnect"].forEach((function(t){hn.prototype[t]=function(){var e;return(e=fn.get(this))[t].apply(e,arguments)}}));var pn=void 0!==Xi.ResizeObserver?Xi.ResizeObserver:hn,dn=!("undefined"==typeof window||!window.document||!window.document.createElement),vn=null,bn=null;window.addEventListener("resize",(function(){bn!==window.devicePixelRatio&&(bn=window.devicePixelRatio,vn=null)}));var yn=function(){function t(e,r){var i=this;this.onScroll=function(){i.scrollXTicking||(window.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(window.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){t.preventDefault(),t.stopPropagation(),i.el.classList.remove(i.classNames.dragging),document.removeEventListener("mousemove",i.drag,!0),document.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=window.setTimeout((function(){document.removeEventListener("click",i.preventClick,!0),document.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=$r(this.recalculate.bind(this),64),this.onMouseMove=$r(this.onMouseMove.bind(this),64),this.hideScrollbars=hi(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=hi(this.onWindowResize.bind(this),64,{leading:!0}),t.getRtlHelpers=Bi(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();return{top:e.top+(window.pageYOffset||document.documentElement.scrollTop),left:e.left+(window.pageXOffset||document.documentElement.scrollLeft)}};var e=t.prototype;return e.init=function(){t.instances.set(this.el,this),dn&&(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.el.querySelector("."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.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;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),window.addEventListener("resize",this.onWindowResize);var e=0;this.resizeObserver=new pn((function(){1!==++e&&t.recalculate()})),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),this.mutationObserver=new MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},e.recalculate=function(){this.elStyles=window.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.heightAutoObserverEl.offsetHeight<=1,e=this.heightAutoObserverEl.offsetWidth<=1,r=this.contentEl.offsetWidth,i=this.contentWrapperEl.offsetWidth,n=this.elStyles.overflowX,o=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 s=this.contentEl.scrollHeight,a=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=t?"auto":"100%",this.placeholderEl.style.width=e?r+"px":"auto",this.placeholderEl.style.height=s+"px";var c=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=a>r,this.axis.y.isOverflowing=s>c,this.axis.x.isOverflowing="hidden"!==n&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==o&&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 l=this.axis.x.isOverflowing?this.scrollbarWidth:0,u=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&a>i-u,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&s>c-l,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=this.axis[e].scrollbar,i="y"===e?t.pageY:t.pageX;this.axis[e].dragOffset=i-r.rect[this.axis[e].offsetAttr],this.draggedAxis=e,this.el.classList.add(this.classNames.dragging),document.addEventListener("mousemove",this.drag,!0),document.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(document.addEventListener("click",this.preventClick,!0),document.addEventListener("dblclick",this.preventClick,!0)):(window.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.onTrackClick=function(t,e){var r=this;void 0===e&&(e="y"),this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect();var i=this.axis[e].scrollbar.rect[this.axis[e].offsetAttr],n=parseInt(this.elStyles[this.axis[e].sizeAttr],10),o=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],s=("y"===e?this.mouseY-i:this.mouseX-i)<0?-1:1,a=-1===s?o-n:o+n;!function t(){var i,n;-1===s?o>a&&(o-=40,r.contentWrapperEl.scrollTo(((i={})[r.axis[e].offsetAttr]=o,i)),window.requestAnimationFrame(t)):o<a&&(o+=40,r.contentWrapperEl.scrollTo(((n={})[r.axis[e].offsetAttr]=o,n)),window.requestAnimationFrame(t))}()},e.getContentElement=function(){return this.contentEl},e.getScrollElement=function(){return this.contentWrapperEl},e.getScrollbarWidth=function(){return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style?0:function(){if(null===vn){if("undefined"==typeof document)return vn=0;var t=document.body,e=document.createElement("div");e.classList.add("simplebar-hide-scrollbar"),t.appendChild(e);var r=e.getBoundingClientRect().right;t.removeChild(e),vn=r}return vn}()},e.removeListeners=function(){var t=this;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.removeEventListener("scroll",this.onScroll),window.removeEventListener("resize",this.onWindowResize),this.mutationObserver.disconnect(),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}();yn.defaultOptions={autoHide:!0,forceVisible:!1,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},yn.instances=new WeakMap;var gn=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(),b={},y={},g=[];return Object.keys(h).forEach((function(t){Object.prototype.hasOwnProperty.call(yn.defaultOptions,t)?b[t]=h[t]:t.match(/data-simplebar-(.+)/)?g.push({name:t,value:h[t]}):y[t]=h[t]})),g.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,e=f.ref||e;return p.current&&(c=new yn(p.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=g,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}),{})),{},b,{},e&&{scrollableNode:e.current},{},v.current&&{contentNode:v.current})),a&&(a.current=c)),function(){c.unMount(),c=null}})),r.createElement("div",n({ref:p},y),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:d,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 gn.displayName="SimpleBar",gn.propTypes={children:e.oneOfType([e.node,e.func]),scrollableNodeProps:e.object},gn}));
!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=c((function(t){var e=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=e)})),u=(l.version,c((function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)}))),h=c((function(t){var e=u["__core-js_shared__"]||(u["__core-js_shared__"]={});(t.exports=function(t,r){return e[t]||(e[t]=void 0!==r?r:{})})("versions",[]).push({version:l.version,mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),f=0,p=Math.random(),d=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++f+p).toString(36))},v=c((function(t){var e=h("wks"),r=u.Symbol,i="function"==typeof r;(t.exports=function(t){return e[t]||(e[t]=i&&r[t]||(i?r:d)("Symbol."+t))}).store=e})),b=function(t){return"object"==typeof t?null!==t:"function"==typeof t},y=function(t){if(!b(t))throw TypeError(t+" is not an object!");return t},g=function(t){try{return!!t()}catch(t){return!0}},m=!g((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),x=u.document,E=b(x)&&b(x.createElement),w=function(t){return E?x.createElement(t):{}},_=!m&&!g((function(){return 7!=Object.defineProperty(w("div"),"a",{get:function(){return 7}}).a})),O=function(t,e){if(!b(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!b(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!b(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!b(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")},S=Object.defineProperty,k={f:m?Object.defineProperty:function(t,e,r){if(y(t),e=O(e,!0),y(r),_)try{return S(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}},A=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},j=m?function(t,e,r){return k.f(t,e,A(1,r))}:function(t,e,r){return t[e]=r,t},L=v("unscopables"),M=Array.prototype;null==M[L]&&j(M,L,{});var N=function(t){M[L][t]=!0},T=function(t,e){return{value:e,done:!!t}},W={},R={}.toString,C=function(t){return R.call(t).slice(8,-1)},P=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==C(t)?t.split(""):Object(t)},z=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},I=function(t){return P(z(t))},D={}.hasOwnProperty,F=function(t,e){return D.call(t,e)},V=h("native-function-to-string",Function.toString),B=c((function(t){var e=d("src"),r=(""+V).split("toString");l.inspectSource=function(t){return V.call(t)},(t.exports=function(t,i,n,o){var s="function"==typeof n;s&&(F(n,"name")||j(n,"name",i)),t[i]!==n&&(s&&(F(n,e)||j(n,e,t[i]?""+t[i]:r.join(String(i)))),t===u?t[i]=n:o?t[i]?t[i]=n:j(t,i,n):(delete t[i],j(t,i,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[e]||V.call(this)}))})),H=function(t,e,r){if(function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!")}(t),void 0===e)return t;switch(r){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)}},q=function(t,e,r){var i,n,o,s,a=t&q.F,c=t&q.G,h=t&q.S,f=t&q.P,p=t&q.B,d=c?u:h?u[e]||(u[e]={}):(u[e]||{}).prototype,v=c?l:l[e]||(l[e]={}),b=v.prototype||(v.prototype={});for(i in c&&(r=e),r)o=((n=!a&&d&&void 0!==d[i])?d:r)[i],s=p&&n?H(o,u):f&&"function"==typeof o?H(Function.call,o):o,d&&B(d,i,o,t&q.U),v[i]!=o&&j(v,i,s),f&&b[i]!=o&&(b[i]=o)};u.core=l,q.F=1,q.G=2,q.S=4,q.P=8,q.B=16,q.W=32,q.U=64,q.R=128;var $,X=q,Y=Math.ceil,G=Math.floor,K=function(t){return isNaN(t=+t)?0:(t>0?G:Y)(t)},U=Math.min,J=function(t){return t>0?U(K(t),9007199254740991):0},Q=Math.max,Z=Math.min,tt=h("keys"),et=function(t){return tt[t]||(tt[t]=d(t))},rt=($=!1,function(t,e,r){var i,n=I(t),o=J(n.length),s=function(t,e){return(t=K(t))<0?Q(t+e,0):Z(t,e)}(r,o);if($&&e!=e){for(;o>s;)if((i=n[s++])!=i)return!0}else for(;o>s;s++)if(($||s in n)&&n[s]===e)return $||s||0;return!$&&-1}),it=et("IE_PROTO"),nt="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),ot=Object.keys||function(t){return function(t,e){var r,i=I(t),n=0,o=[];for(r in i)r!=it&&F(i,r)&&o.push(r);for(;e.length>n;)F(i,r=e[n++])&&(~rt(o,r)||o.push(r));return o}(t,nt)},st=m?Object.defineProperties:function(t,e){y(t);for(var r,i=ot(e),n=i.length,o=0;n>o;)k.f(t,r=i[o++],e[r]);return t},at=u.document,ct=at&&at.documentElement,lt=et("IE_PROTO"),ut=function(){},ht=function(){var t,e=w("iframe"),r=nt.length;for(e.style.display="none",ct.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),ht=t.F;r--;)delete ht.prototype[nt[r]];return ht()},ft=Object.create||function(t,e){var r;return null!==t?(ut.prototype=y(t),r=new ut,ut.prototype=null,r[lt]=t):r=ht(),void 0===e?r:st(r,e)},pt=k.f,dt=v("toStringTag"),vt=function(t,e,r){t&&!F(t=r?t:t.prototype,dt)&&pt(t,dt,{configurable:!0,value:e})},bt={};j(bt,v("iterator"),(function(){return this}));var yt=function(t,e,r){t.prototype=ft(bt,{next:A(1,r)}),vt(t,e+" Iterator")},gt=function(t){return Object(z(t))},mt=et("IE_PROTO"),xt=Object.prototype,Et=Object.getPrototypeOf||function(t){return t=gt(t),F(t,mt)?t[mt]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?xt:null},wt=v("iterator"),_t=!([].keys&&"next"in[].keys()),Ot=function(){return this},St=function(t,e,r,i,n,o,s){yt(r,e,i);var a,c,l,u=function(t){if(!_t&&t in d)return d[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},h=e+" Iterator",f="values"==n,p=!1,d=t.prototype,v=d[wt]||d["@@iterator"]||n&&d[n],b=v||u(n),y=n?f?u("entries"):b:void 0,g="Array"==e&&d.entries||v;if(g&&(l=Et(g.call(new t)))!==Object.prototype&&l.next&&(vt(l,h,!0),"function"!=typeof l[wt]&&j(l,wt,Ot)),f&&v&&"values"!==v.name&&(p=!0,b=function(){return v.call(this)}),(_t||p||!d[wt])&&j(d,wt,b),W[e]=b,W[h]=Ot,n)if(a={values:f?b:u("values"),keys:o?b:u("keys"),entries:y},s)for(c in a)c in d||B(d,c,a[c]);else X(X.P+X.F*(_t||p),e,a);return a},kt=St(Array,"Array",(function(t,e){this._t=I(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,T(1)):T(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])}),"values");W.Arguments=W.Array,N("keys"),N("values"),N("entries");for(var At=v("iterator"),jt=v("toStringTag"),Lt=W.Array,Mt={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},Nt=ot(Mt),Tt=0;Tt<Nt.length;Tt++){var Wt,Rt=Nt[Tt],Ct=Mt[Rt],Pt=u[Rt],zt=Pt&&Pt.prototype;if(zt&&(zt[At]||j(zt,At,Lt),zt[jt]||j(zt,jt,Rt),W[Rt]=Lt,Ct))for(Wt in kt)zt[Wt]||B(zt,Wt,kt[Wt],!0)}var It=v("toStringTag"),Dt="Arguments"==C(function(){return arguments}()),Ft=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),It))?r:Dt?C(e):"Object"==(i=C(e))&&"function"==typeof e.callee?"Arguments":i},Vt={};Vt[v("toStringTag")]="z",Vt+""!="[object z]"&&B(Object.prototype,"toString",(function(){return"[object "+Ft(this)+"]"}),!0);var Bt,Ht,qt,$t;Bt="keys",Ht=function(){return function(t){return ot(gt(t))}},qt=(l.Object||{})[Bt]||Object[Bt],($t={})[Bt]=Ht(qt),X(X.S+X.F*g((function(){qt(1)})),"Object",$t);var Xt,Yt,Gt=function(t){return function(e,r){var i,n,o=String(z(e)),s=K(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}},Kt=Gt(!0),Ut=function(t,e,r){return e+(r?Kt(t,e).length:1)},Jt=RegExp.prototype.exec,Qt=function(t,e){var r=t.exec;if("function"==typeof r){var i=r.call(t,e);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==Ft(t))throw new TypeError("RegExp#exec called on incompatible receiver");return Jt.call(t,e)},Zt=function(){var t=y(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},te=RegExp.prototype.exec,ee=String.prototype.replace,re=te,ie=(Xt=/a/,Yt=/b*/g,te.call(Xt,"a"),te.call(Yt,"a"),0!==Xt.lastIndex||0!==Yt.lastIndex),ne=void 0!==/()??/.exec("")[1];(ie||ne)&&(re=function(t){var e,r,i,n,o=this;return ne&&(r=new RegExp("^"+o.source+"$(?!\\s)",Zt.call(o))),ie&&(e=o.lastIndex),i=te.call(o,t),ie&&i&&(o.lastIndex=o.global?i.index+i[0].length:e),ne&&i&&i.length>1&&ee.call(i[0],r,(function(){for(n=1;n<arguments.length-2;n++)void 0===arguments[n]&&(i[n]=void 0)})),i});var oe=re;X({target:"RegExp",proto:!0,forced:oe!==/./.exec},{exec:oe});var se=v("species"),ae=!g((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),ce=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]}(),le=function(t,e,r){var i=v(t),n=!g((function(){var e={};return e[i]=function(){return 7},7!=""[t](e)})),o=n?!g((function(){var e=!1,r=/a/;return r.exec=function(){return e=!0,null},"split"===t&&(r.constructor={},r.constructor[se]=function(){return r}),r[i](""),!e})):void 0;if(!n||!o||"replace"===t&&!ae||"split"===t&&!ce){var s=/./[i],a=r(z,i,""[t],(function(t,e,r,i,o){return e.exec===oe?n&&!o?{done:!0,value:s.call(e,r,i)}:{done:!0,value:t.call(r,e,i)}:{done:!1}})),c=a[0],l=a[1];B(String.prototype,t,c),j(RegExp.prototype,i,2==e?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)})}},ue=Math.max,he=Math.min,fe=Math.floor,pe=/\$([$&`']|\d\d?|<[^>]*>)/g,de=/\$([$&`']|\d\d?)/g;le("replace",2,(function(t,e,r,i){return[function(i,n){var o=t(this),s=null==i?void 0:i[e];return void 0!==s?s.call(i,o,n):r.call(String(o),i,n)},function(t,e){var o=i(r,t,this,e);if(o.done)return o.value;var s=y(t),a=String(this),c="function"==typeof e;c||(e=String(e));var l=s.global;if(l){var u=s.unicode;s.lastIndex=0}for(var h=[];;){var f=Qt(s,a);if(null===f)break;if(h.push(f),!l)break;""===String(f[0])&&(s.lastIndex=Ut(a,J(s.lastIndex),u))}for(var p,d="",v=0,b=0;b<h.length;b++){f=h[b];for(var g=String(f[0]),m=ue(he(K(f.index),a.length),0),x=[],E=1;E<f.length;E++)x.push(void 0===(p=f[E])?p:String(p));var w=f.groups;if(c){var _=[g].concat(x,m,a);void 0!==w&&_.push(w);var O=String(e.apply(void 0,_))}else O=n(g,a,m,x,w,e);m>=v&&(d+=a.slice(v,m)+O,v=m+g.length)}return d+a.slice(v)}];function n(t,e,i,n,o,s){var a=i+t.length,c=n.length,l=de;return void 0!==o&&(o=gt(o),l=pe),r.call(s,l,(function(r,s){var l;switch(s.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(a);case"<":l=o[s.slice(1,-1)];break;default:var u=+s;if(0===u)return r;if(u>c){var h=fe(u/10);return 0===h?r:h<=c?void 0===n[h-1]?s.charAt(1):n[h-1]+s.charAt(1):r}l=n[u-1]}return void 0===l?"":l}))}}));var ve=k.f,be=Function.prototype,ye=/^\s*function ([^ (]*)/;"name"in be||m&&ve(be,"name",{configurable:!0,get:function(){try{return(""+this).match(ye)[1]}catch(t){return""}}}),le("match",1,(function(t,e,r,i){return[function(r){var i=t(this),n=null==r?void 0:r[e];return void 0!==n?n.call(r,i):new RegExp(r)[e](String(i))},function(t){var e=i(r,t,this);if(e.done)return e.value;var n=y(t),o=String(this);if(!n.global)return Qt(n,o);var s=n.unicode;n.lastIndex=0;for(var a,c=[],l=0;null!==(a=Qt(n,o));){var u=String(a[0]);c[l]=u,""===u&&(n.lastIndex=Ut(o,J(n.lastIndex),s)),l++}return 0===l?null:c}]}));var ge=Gt(!0);St(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=ge(e,r),this._i+=t.length,{value:t,done:!1})}));var me=Array.isArray||function(t){return"Array"==C(t)},xe=v("species"),Ee=function(t,e){return new(function(t){var e;return me(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!me(e.prototype)||(e=void 0),b(e)&&null===(e=e[xe])&&(e=void 0)),void 0===e?Array:e}(t))(e)},we=function(t,e){var r=1==t,i=2==t,n=3==t,o=4==t,s=6==t,a=5==t||s,c=e||Ee;return function(e,l,u){for(var h,f,p=gt(e),d=P(p),v=H(l,u,3),b=J(d.length),y=0,g=r?c(e,b):i?c(e,0):void 0;b>y;y++)if((a||y in d)&&(f=v(h=d[y],y,p),t))if(r)g[y]=f;else if(f)switch(t){case 3:return!0;case 5:return h;case 6:return y;case 2:g.push(h)}else if(o)return!1;return s?-1:n||o?o:g}},_e=c((function(t){var e=d("meta"),r=k.f,i=0,n=Object.isExtensible||function(){return!0},o=!g((function(){return n(Object.preventExtensions({}))})),s=function(t){r(t,e,{value:{i:"O"+ ++i,w:{}}})},a=t.exports={KEY:e,NEED:!1,fastKey:function(t,r){if(!b(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!F(t,e)){if(!n(t))return"F";if(!r)return"E";s(t)}return t[e].i},getWeak:function(t,r){if(!F(t,e)){if(!n(t))return!0;if(!r)return!1;s(t)}return t[e].w},onFreeze:function(t){return o&&a.NEED&&n(t)&&!F(t,e)&&s(t),t}}})),Oe=(_e.KEY,_e.NEED,_e.fastKey,_e.getWeak,_e.onFreeze,{f:Object.getOwnPropertySymbols}),Se={f:{}.propertyIsEnumerable},ke=Object.assign,Ae=!ke||g((function(){var t={},e={},r=Symbol(),i="abcdefghijklmnopqrst";return t[r]=7,i.split("").forEach((function(t){e[t]=t})),7!=ke({},t)[r]||Object.keys(ke({},e)).join("")!=i}))?function(t,e){for(var r=gt(t),i=arguments.length,n=1,o=Oe.f,s=Se.f;i>n;)for(var a,c=P(arguments[n++]),l=o?ot(c).concat(o(c)):ot(c),u=l.length,h=0;u>h;)a=l[h++],m&&!s.call(c,a)||(r[a]=c[a]);return r}:ke,je=function(t,e,r){for(var i in e)B(t,i,e[i],r);return t},Le=function(t,e,r,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(r+": incorrect invocation!");return t},Me=function(t,e,r,i){try{return i?e(y(r)[0],r[1]):e(r)}catch(e){var n=t.return;throw void 0!==n&&y(n.call(t)),e}},Ne=v("iterator"),Te=Array.prototype,We=v("iterator"),Re=l.getIteratorMethod=function(t){if(null!=t)return t[We]||t["@@iterator"]||W[Ft(t)]},Ce=c((function(t){var e={},r={},i=t.exports=function(t,i,n,o,s){var a,c,l,u,h,f=s?function(){return t}:Re(t),p=H(n,o,i?2:1),d=0;if("function"!=typeof f)throw TypeError(t+" is not iterable!");if(void 0===(h=f)||W.Array!==h&&Te[Ne]!==h){for(l=f.call(t);!(c=l.next()).done;)if((u=Me(l,p,c.value,i))===e||u===r)return u}else for(a=J(t.length);a>d;d++)if((u=i?p(y(c=t[d])[0],c[1]):p(t[d]))===e||u===r)return u};i.BREAK=e,i.RETURN=r})),Pe=function(t,e){if(!b(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t},ze=_e.getWeak,Ie=we(5),De=we(6),Fe=0,Ve=function(t){return t._l||(t._l=new Be)},Be=function(){this.a=[]},He=function(t,e){return Ie(t.a,(function(t){return t[0]===e}))};Be.prototype={get:function(t){var e=He(this,t);if(e)return e[1]},has:function(t){return!!He(this,t)},set:function(t,e){var r=He(this,t);r?r[1]=e:this.a.push([t,e])},delete:function(t){var e=De(this.a,(function(e){return e[0]===t}));return~e&&this.a.splice(e,1),!!~e}};var qe={getConstructor:function(t,e,r,i){var n=t((function(t,o){Le(t,n,e,"_i"),t._t=e,t._i=Fe++,t._l=void 0,null!=o&&Ce(o,r,t[i],t)}));return je(n.prototype,{delete:function(t){if(!b(t))return!1;var r=ze(t);return!0===r?Ve(Pe(this,e)).delete(t):r&&F(r,this._i)&&delete r[this._i]},has:function(t){if(!b(t))return!1;var r=ze(t);return!0===r?Ve(Pe(this,e)).has(t):r&&F(r,this._i)}}),n},def:function(t,e,r){var i=ze(y(e),!0);return!0===i?Ve(t).set(e,r):i[t._i]=r,t},ufstore:Ve},$e=v("iterator"),Xe=!1;try{var Ye=[7][$e]();Ye.return=function(){Xe=!0},Array.from(Ye,(function(){throw 2}))}catch(t){}var Ge=Object.getOwnPropertyDescriptor,Ke={f:m?Ge:function(t,e){if(t=I(t),e=O(e,!0),_)try{return Ge(t,e)}catch(t){}if(F(t,e))return A(!Se.f.call(t,e),t[e])}},Ue=function(t,e){if(y(t),!b(e)&&null!==e)throw TypeError(e+": can't set as prototype!")},Je={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=H(Function.call,Ke.f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,i){return Ue(t,i),e?t.__proto__=i:r(t,i),t}}({},!1):void 0),check:Ue}.set,Qe=function(t,e,r,i,n,o){var s=u[t],a=s,c=n?"set":"add",l=a&&a.prototype,h={},f=function(t){var e=l[t];B(l,t,"delete"==t?function(t){return!(o&&!b(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(o&&!b(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return o&&!b(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,r){return e.call(this,0===t?0:t,r),this})};if("function"==typeof a&&(o||l.forEach&&!g((function(){(new a).entries().next()})))){var p=new a,d=p[c](o?{}:-0,1)!=p,v=g((function(){p.has(1)})),y=function(t,e){if(!e&&!Xe)return!1;var r=!1;try{var i=[7],n=i[$e]();n.next=function(){return{done:r=!0}},i[$e]=function(){return n},t(i)}catch(t){}return r}((function(t){new a(t)})),m=!o&&g((function(){for(var t=new a,e=5;e--;)t[c](e,e);return!t.has(-0)}));y||((a=e((function(e,r){Le(e,a,t);var i=function(t,e,r){var i,n=e.constructor;return n!==r&&"function"==typeof n&&(i=n.prototype)!==r.prototype&&b(i)&&Je&&Je(t,i),t}(new s,e,a);return null!=r&&Ce(r,n,i[c],i),i}))).prototype=l,l.constructor=a),(v||m)&&(f("delete"),f("has"),n&&f("get")),(m||d)&&f(c),o&&l.clear&&delete l.clear}else a=i.getConstructor(e,t,n,c),je(a.prototype,r),_e.NEED=!0;return vt(a,t),h[t]=a,X(X.G+X.W+X.F*(a!=s),h),o||i.setStrong(a,t,n),a};c((function(t){var e,r=we(0),i=Pe,n=!u.ActiveXObject&&"ActiveXObject"in u,o=_e.getWeak,s=Object.isExtensible,a=qe.ufstore,c=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},l={get:function(t){if(b(t)){var e=o(t);return!0===e?a(Pe(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return qe.def(Pe(this,"WeakMap"),t,e)}},h=t.exports=Qe("WeakMap",c,l,qe,!0,!0);i&&n&&(e=qe.getConstructor(c,"WeakMap"),Ae(e.prototype,l),_e.NEED=!0,r(["delete","has","get","set"],(function(t){var r=h.prototype,i=r[t];B(r,t,(function(r,n){if(b(r)&&!s(r)){this._f||(this._f=new e);var o=this._f[t](r,n);return"set"==t?this:o}return i.call(this,r,n)}))})))}));X(X.S+X.F,"Object",{assign:Ae});var Ze="Expected a function",tr=NaN,er="[object Symbol]",rr=/^\s+|\s+$/g,ir=/^[-+]0x[0-9a-f]+$/i,nr=/^0b[01]+$/i,or=/^0o[0-7]+$/i,sr=parseInt,ar="object"==typeof a&&a&&a.Object===Object&&a,cr="object"==typeof self&&self&&self.Object===Object&&self,lr=ar||cr||Function("return this")(),ur=Object.prototype.toString,hr=Math.max,fr=Math.min,pr=function(){return lr.Date.now()};function dr(t,e,r){var i,n,o,s,a,c,l=0,u=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError(Ze);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||h&&t-l>=o}function v(){var t=pr();if(d(t))return b(t);a=setTimeout(v,function(t){var r=e-(t-c);return h?fr(r,o-(t-l)):r}(t))}function b(t){return a=void 0,f&&i?p(t):(i=n=void 0,s)}function y(){var t=pr(),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(h)return a=setTimeout(v,e),p(c)}return void 0===a&&(a=setTimeout(v,e)),s}return e=br(e)||0,vr(r)&&(u=!!r.leading,o=(h="maxWait"in r)?hr(br(r.maxWait)||0,e):o,f="trailing"in r?!!r.trailing:f),y.cancel=function(){void 0!==a&&clearTimeout(a),l=0,i=c=n=a=void 0},y.flush=function(){return void 0===a?s:b(pr())},y}function vr(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function br(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&ur.call(t)==er}(t))return tr;if(vr(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=vr(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(rr,"");var r=nr.test(t);return r||or.test(t)?sr(t.slice(2),r?2:8):ir.test(t)?tr:+t}var yr=function(t,e,r){var i=!0,n=!0;if("function"!=typeof t)throw new TypeError(Ze);return vr(r)&&(i="leading"in r?!!r.leading:i,n="trailing"in r?!!r.trailing:n),dr(t,e,{leading:i,maxWait:e,trailing:n})},gr="Expected a function",mr=NaN,xr="[object Symbol]",Er=/^\s+|\s+$/g,wr=/^[-+]0x[0-9a-f]+$/i,_r=/^0b[01]+$/i,Or=/^0o[0-7]+$/i,Sr=parseInt,kr="object"==typeof a&&a&&a.Object===Object&&a,Ar="object"==typeof self&&self&&self.Object===Object&&self,jr=kr||Ar||Function("return this")(),Lr=Object.prototype.toString,Mr=Math.max,Nr=Math.min,Tr=function(){return jr.Date.now()};function Wr(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Rr(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&Lr.call(t)==xr}(t))return mr;if(Wr(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Wr(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Er,"");var r=_r.test(t);return r||Or.test(t)?Sr(t.slice(2),r?2:8):wr.test(t)?mr:+t}var Cr=function(t,e,r){var i,n,o,s,a,c,l=0,u=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError(gr);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||h&&t-l>=o}function v(){var t=Tr();if(d(t))return b(t);a=setTimeout(v,function(t){var r=e-(t-c);return h?Nr(r,o-(t-l)):r}(t))}function b(t){return a=void 0,f&&i?p(t):(i=n=void 0,s)}function y(){var t=Tr(),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(h)return a=setTimeout(v,e),p(c)}return void 0===a&&(a=setTimeout(v,e)),s}return e=Rr(e)||0,Wr(r)&&(u=!!r.leading,o=(h="maxWait"in r)?Mr(Rr(r.maxWait)||0,e):o,f="trailing"in r?!!r.trailing:f),y.cancel=function(){void 0!==a&&clearTimeout(a),l=0,i=c=n=a=void 0},y.flush=function(){return void 0===a?s:b(Tr())},y},Pr="Expected a function",zr="__lodash_hash_undefined__",Ir="[object Function]",Dr="[object GeneratorFunction]",Fr=/^\[object .+?Constructor\]$/,Vr="object"==typeof a&&a&&a.Object===Object&&a,Br="object"==typeof self&&self&&self.Object===Object&&self,Hr=Vr||Br||Function("return this")();var qr,$r=Array.prototype,Xr=Function.prototype,Yr=Object.prototype,Gr=Hr["__core-js_shared__"],Kr=(qr=/[^.]+$/.exec(Gr&&Gr.keys&&Gr.keys.IE_PROTO||""))?"Symbol(src)_1."+qr:"",Ur=Xr.toString,Jr=Yr.hasOwnProperty,Qr=Yr.toString,Zr=RegExp("^"+Ur.call(Jr).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ti=$r.splice,ei=li(Hr,"Map"),ri=li(Object,"create");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 ni(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 oi(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 si(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 ai(t){return!(!hi(t)||(e=t,Kr&&Kr in e))&&(function(t){var e=hi(t)?Qr.call(t):"";return e==Ir||e==Dr}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?Zr:Fr).test(function(t){if(null!=t){try{return Ur.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}function ci(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 li(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return ai(r)?r:void 0}function ui(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(Pr);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(ui.Cache||oi),r}function hi(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}ii.prototype.clear=function(){this.__data__=ri?ri(null):{}},ii.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},ii.prototype.get=function(t){var e=this.__data__;if(ri){var r=e[t];return r===zr?void 0:r}return Jr.call(e,t)?e[t]:void 0},ii.prototype.has=function(t){var e=this.__data__;return ri?void 0!==e[t]:Jr.call(e,t)},ii.prototype.set=function(t,e){return this.__data__[t]=ri&&void 0===e?zr:e,this},ni.prototype.clear=function(){this.__data__=[]},ni.prototype.delete=function(t){var e=this.__data__,r=si(e,t);return!(r<0)&&(r==e.length-1?e.pop():ti.call(e,r,1),!0)},ni.prototype.get=function(t){var e=this.__data__,r=si(e,t);return r<0?void 0:e[r][1]},ni.prototype.has=function(t){return si(this.__data__,t)>-1},ni.prototype.set=function(t,e){var r=this.__data__,i=si(r,t);return i<0?r.push([t,e]):r[i][1]=e,this},oi.prototype.clear=function(){this.__data__={hash:new ii,map:new(ei||ni),string:new ii}},oi.prototype.delete=function(t){return ci(this,t).delete(t)},oi.prototype.get=function(t){return ci(this,t).get(t)},oi.prototype.has=function(t){return ci(this,t).has(t)},oi.prototype.set=function(t,e){return ci(this,t).set(t,e),this},ui.Cache=oi;var fi=ui,pi=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var r=-1;return t.some((function(t,i){return t[0]===e&&(r=i,!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),i=this.__entries__[r];return i&&i[1]},e.prototype.set=function(e,r){var i=t(this.__entries__,e);~i?this.__entries__[i][1]=r:this.__entries__.push([e,r])},e.prototype.delete=function(e){var r=this.__entries__,i=t(r,e);~i&&r.splice(i,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,i=this.__entries__;r<i.length;r++){var n=i[r];t.call(e,n[1],n[0])}},e}()}(),di="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,vi="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),bi="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(vi):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)},yi=2;var gi=20,mi=["top","right","bottom","left","width","height","size","weight"],xi="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,i=!1,n=0;function o(){r&&(r=!1,t()),i&&a()}function s(){bi(o)}function a(){var t=Date.now();if(r){if(t-n<yi)return;i=!0}else r=!0,i=!1,setTimeout(s,e);n=t}return a}(this.refresh.bind(this),gi)}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(){di&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),xi?(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(){di&&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;mi.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}(),wi=function(t,e){for(var r=0,i=Object.keys(e);r<i.length;r++){var n=i[r];Object.defineProperty(t,n,{value:e[n],enumerable:!1,writable:!1,configurable:!0})}return t},_i=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||vi},Oi=Mi(0,0,0,0);function Si(t){return parseFloat(t)||0}function ki(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return e.reduce((function(e,r){return e+Si(t["border-"+r+"-width"])}),0)}function Ai(t){var e=t.clientWidth,r=t.clientHeight;if(!e&&!r)return Oi;var i=_i(t).getComputedStyle(t),n=function(t){for(var e={},r=0,i=["top","right","bottom","left"];r<i.length;r++){var n=i[r],o=t["padding-"+n];e[n]=Si(o)}return e}(i),o=n.left+n.right,s=n.top+n.bottom,a=Si(i.width),c=Si(i.height);if("border-box"===i.boxSizing&&(Math.round(a+o)!==e&&(a-=ki(i,"left","right")+o),Math.round(c+s)!==r&&(c-=ki(i,"top","bottom")+s)),!function(t){return t===_i(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 Mi(n.left,n.top,a,c)}var ji="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof _i(t).SVGGraphicsElement}:function(t){return t instanceof _i(t).SVGElement&&"function"==typeof t.getBBox};function Li(t){return di?ji(t)?function(t){var e=t.getBBox();return Mi(0,0,e.width,e.height)}(t):Ai(t):Oi}function Mi(t,e,r,i){return{x:t,y:e,width:r,height:i}}var Ni=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Mi(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}(),Ti=function(t,e){var r,i,n,o,s,a,c,l=(i=(r=e).x,n=r.y,o=r.width,s=r.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(a.prototype),wi(c,{x:i,y:n,width:o,height:s,top:n,right:i+o,bottom:s+n,left:i}),c);wi(this,{target:t,contentRect:l})},Wi=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new pi,"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 _i(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new Ni(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 _i(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 Ti(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}(),Ri="undefined"!=typeof WeakMap?new WeakMap:new pi,Ci=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(),i=new Wi(e,r,this);Ri.set(this,i)};["observe","unobserve","disconnect"].forEach((function(t){Ci.prototype[t]=function(){var e;return(e=Ri.get(this))[t].apply(e,arguments)}}));var Pi=void 0!==vi.ResizeObserver?vi.ResizeObserver:Ci,zi=!("undefined"==typeof window||!window.document||!window.document.createElement),Ii=null,Di=null;zi&&window.addEventListener("resize",(function(){Di!==window.devicePixelRatio&&(Di=window.devicePixelRatio,Ii=null)}));var Fi=function(){function t(e,r){var i=this;this.onScroll=function(){i.scrollXTicking||(window.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(window.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){t.preventDefault(),t.stopPropagation(),i.el.classList.remove(i.classNames.dragging),document.removeEventListener("mousemove",i.drag,!0),document.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=window.setTimeout((function(){document.removeEventListener("click",i.preventClick,!0),document.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=yr(this.recalculate.bind(this),64),this.onMouseMove=yr(this.onMouseMove.bind(this),64),this.hideScrollbars=Cr(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=Cr(this.onWindowResize.bind(this),64,{leading:!0}),t.getRtlHelpers=fi(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();return{top:e.top+(window.pageYOffset||document.documentElement.scrollTop),left:e.left+(window.pageXOffset||document.documentElement.scrollLeft)}};var e=t.prototype;return e.init=function(){t.instances.set(this.el,this),zi&&(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.el.querySelector("."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.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;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),window.addEventListener("resize",this.onWindowResize);var e=0;this.resizeObserver=new Pi((function(){1!==++e&&t.recalculate()})),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),this.mutationObserver=new MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},e.recalculate=function(){this.elStyles=window.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.heightAutoObserverEl.offsetHeight<=1,e=this.heightAutoObserverEl.offsetWidth<=1,r=this.contentEl.offsetWidth,i=this.contentWrapperEl.offsetWidth,n=this.elStyles.overflowX,o=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 s=this.contentEl.scrollHeight,a=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=t?"auto":"100%",this.placeholderEl.style.width=e?r+"px":"auto",this.placeholderEl.style.height=s+"px";var c=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=a>r,this.axis.y.isOverflowing=s>c,this.axis.x.isOverflowing="hidden"!==n&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==o&&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 l=this.axis.x.isOverflowing?this.scrollbarWidth:0,u=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&a>i-u,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&s>c-l,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=this.axis[e].scrollbar,i="y"===e?t.pageY:t.pageX;this.axis[e].dragOffset=i-r.rect[this.axis[e].offsetAttr],this.draggedAxis=e,this.el.classList.add(this.classNames.dragging),document.addEventListener("mousemove",this.drag,!0),document.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(document.addEventListener("click",this.preventClick,!0),document.addEventListener("dblclick",this.preventClick,!0)):(window.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.onTrackClick=function(t,e){var r=this;void 0===e&&(e="y"),this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect();var i=this.axis[e].scrollbar.rect[this.axis[e].offsetAttr],n=parseInt(this.elStyles[this.axis[e].sizeAttr],10),o=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],s=("y"===e?this.mouseY-i:this.mouseX-i)<0?-1:1,a=-1===s?o-n:o+n;!function t(){var i,n;-1===s?o>a&&(o-=40,r.contentWrapperEl.scrollTo(((i={})[r.axis[e].offsetAttr]=o,i)),window.requestAnimationFrame(t)):o<a&&(o+=40,r.contentWrapperEl.scrollTo(((n={})[r.axis[e].offsetAttr]=o,n)),window.requestAnimationFrame(t))}()},e.getContentElement=function(){return this.contentEl},e.getScrollElement=function(){return this.contentWrapperEl},e.getScrollbarWidth=function(){return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style?0:function(){if(null===Ii){if("undefined"==typeof document)return Ii=0;var t=document.body,e=document.createElement("div");e.classList.add("simplebar-hide-scrollbar"),t.appendChild(e);var r=e.getBoundingClientRect().right;t.removeChild(e),Ii=r}return Ii}()},e.removeListeners=function(){var t=this;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.removeEventListener("scroll",this.onScroll),window.removeEventListener("resize",this.onWindowResize),this.mutationObserver.disconnect(),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}();Fi.defaultOptions={autoHide:!0,forceVisible:!1,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},Fi.instances=new WeakMap;var Vi=r.forwardRef((function(e,a){var c,l=e.children,u=e.scrollableNodeProps,h=void 0===u?{}:u,f=s(e,["children","scrollableNodeProps"]),p=t.useRef({}),d=t.useRef(),v=t.useRef(),b={},y={},g=[];return Object.keys(f).forEach((function(t){Object.prototype.hasOwnProperty.call(Fi.defaultOptions,t)?b[t]=f[t]:t.match(/data-simplebar-(.+)/)?g.push({name:t,value:f[t]}):y[t]=f[t]})),g.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,e=h.ref||e;return p.current&&(c=new Fi(p.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=g,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}),{})),{},b,{},e&&{scrollableNode:e.current},{},v.current&&{contentNode:v.current})),a&&(a.current=c)),function(){c.unMount(),c=null}})),r.createElement("div",n({ref:p},y),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:d,contentNodeRef:v}):r.createElement("div",n({},h,{className:"simplebar-content-wrapper".concat(h.className?" ".concat(h.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 Vi.displayName="SimpleBar",Vi.propTypes={children:e.oneOfType([e.node,e.func]),scrollableNodeProps:e.object},Vi}));
{
"name": "simplebar-react",
"version": "2.0.2",
"version": "2.0.3-corejs2",
"description": "React component for SimpleBar",

@@ -30,3 +30,3 @@ "files": [

"prop-types": "^15.6.1",
"simplebar": "^5.0.2"
"simplebar": "^5.0.3"
},

@@ -46,4 +46,3 @@ "peerDependencies": {

]
},
"gitHead": "9e256f6067dc440b87b8e53fb006e0a942fba1b8"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc