react-responsive-tabs
Advanced tools
Comparing version 0.9.0 to 1.0.1
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["react-responsive-tabs"]=t():e["react-responsive-tabs"]=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=35)}([function(e,t,n){"use strict";var r=n(6),o=r;e.exports=o},function(e,t,n){"use strict";e.exports=n(25)},function(e,t,n){"use strict";function r(e){return void 0!==e.ref}function o(e){return void 0!==e.key}var i=n(5),a=n(11),s=(n(0),n(14),Object.prototype.hasOwnProperty),u=n(12),l={key:!0,ref:!0,__self:!0,__source:!0},c=function(e,t,n,r,o,i,a){var s={$$typeof:u,type:e,key:t,ref:n,props:a,_owner:i};return s};c.createElement=function(e,t,n){var i,u={},p=null,f=null,d=null,h=null;if(null!=t){r(t)&&(f=t.ref),o(t)&&(p=""+t.key),d=void 0===t.__self?null:t.__self,h=void 0===t.__source?null:t.__source;for(i in t)s.call(t,i)&&!l.hasOwnProperty(i)&&(u[i]=t[i])}var y=arguments.length-2;if(1===y)u.children=n;else if(y>1){for(var b=Array(y),v=0;y>v;v++)b[v]=arguments[v+2];u.children=b}if(e&&e.defaultProps){var m=e.defaultProps;for(i in m)void 0===u[i]&&(u[i]=m[i])}return c(e,p,f,d,h,a.current,u)},c.createFactory=function(e){var t=c.createElement.bind(null,e);return t.type=e,t},c.cloneAndReplaceKey=function(e,t){var n=c(e.type,t,e.ref,e._self,e._source,e._owner,e.props);return n},c.cloneElement=function(e,t,n){var u,p=i({},e.props),f=e.key,d=e.ref,h=e._self,y=e._source,b=e._owner;if(null!=t){r(t)&&(d=t.ref,b=a.current),o(t)&&(f=""+t.key);var v;e.type&&e.type.defaultProps&&(v=e.type.defaultProps);for(u in t)s.call(t,u)&&!l.hasOwnProperty(u)&&(p[u]=void 0===t[u]&&void 0!==v?v[u]:t[u])}var m=arguments.length-2;if(1===m)p.children=n;else if(m>1){for(var g=Array(m),w=0;m>w;w++)g[w]=arguments[w+2];p.children=g}return c(e.type,f,d,h,y,b,p)},c.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===u},e.exports=c},function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,u){if(o(t),!e){var l;if(void 0===t)l=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,a,s,u],p=0;l=Error(t.replace(/%s/g,function(){return c[p++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}var o=function(e){};e.exports=r},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;t>r;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}e.exports=r},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function o(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;10>n;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(i){return!1}}var i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=o()?Object.assign:function(e,t){for(var n,o,s=r(e),u=1;arguments.length>u;u++){n=Object(arguments[u]);for(var l in n)i.call(n,l)&&(s[l]=n[l]);if(Object.getOwnPropertySymbols){o=Object.getOwnPropertySymbols(n);for(var c=0;o.length>c;c++)a.call(n,o[c])&&(s[o[c]]=n[o[c]])}}return s}},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=a,this.updater=n||i}var o=n(4),i=n(9),a=(n(14),n(7));n(3),n(0);r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e?o("85"):void 0,this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e,"forceUpdate")};e.exports=r},function(e,t,n){"use strict";function r(e,t){}var o=(n(0),{isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){r(e,"forceUpdate")},enqueueReplaceState:function(e,t){r(e,"replaceState")},enqueueSetState:function(e,t){r(e,"setState")}});e.exports=o},function(e,t,n){var r,o;/*! | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["react-responsive-tabs"]=t():e["react-responsive-tabs"]=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=37)}([function(e,t,n){"use strict";var r=n(6),o=r;e.exports=o},function(e,t,n){"use strict";e.exports=n(26)},function(e,t,n){"use strict";function r(e){return void 0!==e.ref}function o(e){return void 0!==e.key}var i=n(5),a=n(11),s=(n(0),n(14),Object.prototype.hasOwnProperty),u=n(12),l={key:!0,ref:!0,__self:!0,__source:!0},c=function(e,t,n,r,o,i,a){var s={$$typeof:u,type:e,key:t,ref:n,props:a,_owner:i};return s};c.createElement=function(e,t,n){var i,u={},p=null,f=null,d=null,h=null;if(null!=t){r(t)&&(f=t.ref),o(t)&&(p=""+t.key),d=void 0===t.__self?null:t.__self,h=void 0===t.__source?null:t.__source;for(i in t)s.call(t,i)&&!l.hasOwnProperty(i)&&(u[i]=t[i])}var y=arguments.length-2;if(1===y)u.children=n;else if(y>1){for(var b=Array(y),v=0;y>v;v++)b[v]=arguments[v+2];u.children=b}if(e&&e.defaultProps){var m=e.defaultProps;for(i in m)void 0===u[i]&&(u[i]=m[i])}return c(e,p,f,d,h,a.current,u)},c.createFactory=function(e){var t=c.createElement.bind(null,e);return t.type=e,t},c.cloneAndReplaceKey=function(e,t){var n=c(e.type,t,e.ref,e._self,e._source,e._owner,e.props);return n},c.cloneElement=function(e,t,n){var u,p=i({},e.props),f=e.key,d=e.ref,h=e._self,y=e._source,b=e._owner;if(null!=t){r(t)&&(d=t.ref,b=a.current),o(t)&&(f=""+t.key);var v;e.type&&e.type.defaultProps&&(v=e.type.defaultProps);for(u in t)s.call(t,u)&&!l.hasOwnProperty(u)&&(p[u]=void 0===t[u]&&void 0!==v?v[u]:t[u])}var m=arguments.length-2;if(1===m)p.children=n;else if(m>1){for(var g=Array(m),w=0;m>w;w++)g[w]=arguments[w+2];p.children=g}return c(e.type,f,d,h,y,b,p)},c.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===u},e.exports=c},function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,u){if(o(t),!e){var l;if(void 0===t)l=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,a,s,u],p=0;l=Error(t.replace(/%s/g,function(){return c[p++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}var o=function(e){};e.exports=r},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;t>r;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}e.exports=r},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function o(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;10>n;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(i){return!1}}var i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=o()?Object.assign:function(e,t){for(var n,o,s=r(e),u=1;arguments.length>u;u++){n=Object(arguments[u]);for(var l in n)i.call(n,l)&&(s[l]=n[l]);if(Object.getOwnPropertySymbols){o=Object.getOwnPropertySymbols(n);for(var c=0;o.length>c;c++)a.call(n,o[c])&&(s[o[c]]=n[o[c]])}}return s}},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=a,this.updater=n||i}var o=n(4),i=n(9),a=(n(14),n(7));n(3),n(0);r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e?o("85"):void 0,this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e,"forceUpdate")};e.exports=r},function(e,t,n){"use strict";function r(e,t){}var o=(n(0),{isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){r(e,"forceUpdate")},enqueueReplaceState:function(e,t){r(e,"replaceState")},enqueueSetState:function(e,t){r(e,"setState")}});e.exports=o},function(e,t,n){var r,o;/*! | ||
Copyright (c) 2016 Jed Watson. | ||
@@ -6,3 +6,3 @@ Licensed under the MIT License (MIT), see | ||
*/ | ||
!function(){"use strict";function n(){for(var e=[],t=0;arguments.length>t;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===o)for(var a in r)i.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?e.exports=n:(r=[],o=function(){return n}.apply(t,r),!(void 0!==o&&(e.exports=o)))}()},function(e,t,n){"use strict";var r={current:null};e.exports=r},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103;e.exports=r},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";var r=!1;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e&&(o&&e[o]||e[i]);if("function"==typeof t)return t}var o="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.InkBar=void 0;var o=n(1),i=r(o),a=t.InkBar=function(e){var t=e.left,n=e.width;return i["default"].createElement("div",{className:"Tabs__inkbar-wrapper"},i["default"].createElement("div",{className:"Tabs__inkbar",style:{left:t,width:n}}))};t["default"]=a,a.propTypes={left:o.PropTypes.number,width:o.PropTypes.number},a.defaultProps={left:0,width:0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),c=n(10),p=r(c),f=function(e){function t(){o(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.onFocus=function(){return e.setState({isFocused:!0})},e.onBlur=function(){return e.setState({isFocused:!1})},e.onKeyDown=function(t){var n=e.state,r=n.isFocused,o=n.isHidden;13===t.keyCode&&(r?e.setState({isHidden:!e.state.isHidden}):o||e.setState({isHidden:!0}))},e.close=function(){e.state.isHidden||e.setState({isHidden:!0})},e.toggleVisibility=function(t){t.stopPropagation(),e.setState({isHidden:!e.state.isHidden})},e.state={isFocused:!1,isHidden:!0},e}return a(t,e),s(t,[{key:"componentWillMount",value:function(){"undefined"!=typeof window&&(window.addEventListener("click",this.close),window.addEventListener("keydown",this.onKeyDown))}},{key:"shouldComponentUpdate",value:function(e,t){return this.props.children.length!==e.children.length||this.props.isShown!==e.isShown||this.state!==t}},{key:"componentWillUnmount",value:function(){"undefined"!=typeof window&&(window.removeEventListener("click",this.close),window.removeEventListener("keydown",this.onKeyDown))}},{key:"render",value:function(){var e=this.props,t=e.isShown,n=e.children,r=e.onShowMoreChanged;if(!t||!n||!n.length)return null;var o=this.state.isHidden,i=(0,p["default"])({"Tabs__show-more-list":!0,"Tabs__show-more-list--opened":!o}),a=(0,p["default"])({"Tabs__show-more-label":!0,"Tabs__show-more-label--selected":!o});return l["default"].createElement("div",{ref:r,className:"Tabs__show-more",role:"navigation",tabIndex:"0",onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.toggleVisibility},l["default"].createElement("div",{className:a},"..."),l["default"].createElement("div",{className:i,"aria-hidden":o,role:"menu"},n))}}]),t}(u.PureComponent);t["default"]=f,f.propTypes={children:u.PropTypes.oneOfType([u.PropTypes.array,u.PropTypes.object,u.PropTypes.string]),isShown:u.PropTypes.bool.isRequired,onShowMoreChanged:u.PropTypes.func},f.defaultProps={children:void 0,onShowMoreChanged:function(){return null}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t,n){return function(){return!e&&t(n)}}t.__esModule=!0;var u=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),c=r(l),p=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),u(t,[{key:"shouldComponentUpdate",value:function(e){return this.props.children!==e.children||this.props.selected!==e.selected||this.props.classNames!==e.classNames}},{key:"render",value:function(){var e=this,t=this.props,n=t.id,r=t.classNames,o=t.selected,i=t.disabled,a=t.panelId,u=t.onClick,l=t.onFocus,p=t.onBlur,f=t.originalKey,d=t.children;return c["default"].createElement("div",{ref:function(t){return e.tab=t},role:"tab",className:r,id:n,"aria-selected":o?"true":"false","aria-expanded":o?"true":"false","aria-disabled":i?"true":"false","aria-controls":a,tabIndex:"0",onClick:s(o,u,f),onFocus:l(f),onBlur:p},d)}}]),t}(l.PureComponent);t["default"]=p,p.propTypes={children:l.PropTypes.oneOfType([l.PropTypes.array,l.PropTypes.object,l.PropTypes.string]),disabled:l.PropTypes.bool,panelId:l.PropTypes.string.isRequired,selected:l.PropTypes.bool.isRequired,onClick:l.PropTypes.func.isRequired,onFocus:l.PropTypes.func.isRequired,onBlur:l.PropTypes.func.isRequired,id:l.PropTypes.string.isRequired,originalKey:l.PropTypes.oneOfType([l.PropTypes.number,l.PropTypes.string]).isRequired,classNames:l.PropTypes.string.isRequired},p.defaultProps={children:void 0,disabled:!1}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),c=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),s(t,[{key:"shouldComponentUpdate",value:function(e){return this.props.getContent!==e.getContent||this.props.children!==e.children||this.props.classNames!==e.classNames||this.props.selected!==e.selected}},{key:"render",value:function(){var e=this.props,t=e.classNames,n=e.id,r=e.tabId,o=e.selected,i=e.children,a=e.getContent;return l["default"].createElement("div",{className:t,role:"tabpanel",id:n,"aria-labelledby":r,"aria-hidden":o?"false":"true"},o&&a&&a(),!a&&i)}}]),t}(u.PureComponent);t["default"]=c,c.propTypes={getContent:u.PropTypes.func,children:u.PropTypes.oneOfType([u.PropTypes.array,u.PropTypes.object,u.PropTypes.string]),id:u.PropTypes.string.isRequired,classNames:u.PropTypes.string.isRequired,selected:u.PropTypes.bool.isRequired,tabId:u.PropTypes.string.isRequired},c.defaultProps={getContent:void 0,children:void 0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(21),i=r(o);t["default"]=i["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&s["return"]&&s["return"]()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(1),p=r(c),f=n(22),d=function(e){function t(){o(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.state={expandChildHeight:0,expandChildWidth:0,expandScrollLeft:0,expandScrollTop:0,shrinkScrollTop:0,shrinkScrollLeft:0,lastWidth:0,lastHeight:0},e.reset=e.reset.bind(e),e.handleScroll=e.handleScroll.bind(e),e}return a(t,e),l(t,[{key:"componentWillMount",value:function(){this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.containerSize(),t=u(e,2),n=t[0],r=t[1];this.reset(n,r)}},{key:"shouldComponentUpdate",value:function(e){return this.props!==e}},{key:"componentDidUpdate",value:function(){this.expand.scrollLeft=this.expand.scrollWidth,this.expand.scrollTop=this.expand.scrollHeight,this.shrink.scrollLeft=this.shrink.scrollWidth,this.shrink.scrollTop=this.shrink.scrollHeight}},{key:"containerSize",value:function(){return[this.props.handleWidth&&this.container.parentElement.offsetWidth,this.props.handleHeight&&this.container.parentElement.offsetHeight]}},{key:"reset",value:function(e,t){if("undefined"!=typeof window){var n=this.container.parentElement,r="static";n.currentStyle?r=n.currentStyle.position:window.getComputedStyle&&(r=window.getComputedStyle(n).position),"static"===r&&(n.style.position="relative"),this.setState({expandChildHeight:this.expand.offsetHeight+10,expandChildWidth:this.expand.offsetWidth+10,lastWidth:e,lastHeight:t})}}},{key:"handleScroll",value:function(){if("undefined"!=typeof window){var e=this.state,t=this.containerSize(),n=u(t,2),r=n[0],o=n[1];r===e.lastWidth&&o===e.lastHeight||this.props.onResize(r,o),this.reset(r,o)}}},{key:"render",value:function(){var e=this,t=this.state,n=s({},f.expandChildStyle,{width:t.expandChildWidth,height:t.expandChildHeight});return p["default"].createElement("div",{style:f.parentStyle,ref:function(t){e.container=t}},p["default"].createElement("div",{style:f.parentStyle,onScroll:this.handleScroll,ref:function(t){e.expand=t}},p["default"].createElement("div",{style:n})),p["default"].createElement("div",{style:f.parentStyle,onScroll:this.handleScroll,ref:function(t){e.shrink=t}},p["default"].createElement("div",{style:f.shrinkChildStyle})))}}]),t}(c.Component);t["default"]=d,d.propTypes={handleWidth:c.PropTypes.bool,handleHeight:c.PropTypes.bool,onResize:c.PropTypes.func},d.defaultProps={handleWidth:!1,handleHeight:!1,onResize:function(e){return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.parentStyle={position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"scroll",zIndex:-1,visibility:"hidden"},t.shrinkChildStyle={position:"absolute",left:0,top:0,width:"200%",height:"200%"},t.expandChildStyle={position:"absolute",left:0,top:0,width:"100%",height:"100%"}},function(e,t,n){"use strict";function r(e){var t=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+e).replace(t,function(e){return n[e]});return"$"+r}function o(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"},r=e.substring("."===e[0]&&"$"===e[1]?2:1);return(""+r).replace(t,function(e){return n[e]})}var i={escape:r,unescape:o};e.exports=i},function(e,t,n){"use strict";var r=n(4),o=(n(3),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),i=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},a=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},s=function(e,t,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,e,t,n,r),i}return new o(e,t,n,r)},u=function(e){var t=this;e instanceof t?void 0:r("25"),e.destructor(),t.poolSize>t.instancePool.length&&t.instancePool.push(e)},l=10,c=o,p=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||c,n.poolSize||(n.poolSize=l),n.release=u,n},f={addPoolingTo:p,oneArgumentPooler:o,twoArgumentPooler:i,threeArgumentPooler:a,fourArgumentPooler:s};e.exports=f},function(e,t,n){"use strict";var r=n(5),o=n(26),i=n(8),a=n(31),s=n(27),u=n(28),l=n(2),c=n(29),p=n(32),f=n(33),d=(n(0),l.createElement),h=l.createFactory,y=l.cloneElement,b=r,v={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:f},Component:i,PureComponent:a,createElement:d,cloneElement:y,isValidElement:l.isValidElement,PropTypes:c,createClass:s.createClass,createFactory:h,createMixin:function(e){return e},DOM:u,version:p,__spread:b};e.exports=v},function(e,t,n){"use strict";function r(e){return(""+e).replace(w,"$&/")}function o(e,t){this.func=e,this.context=t,this.count=0}function i(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function a(e,t,n){if(null==e)return e;var r=o.getPooled(t,n);v(e,i,r),o.release(r)}function s(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function u(e,t,n){var o=e.result,i=e.keyPrefix,a=e.func,s=e.context,u=a.call(s,t,e.count++);Array.isArray(u)?l(u,o,n,b.thatReturnsArgument):null!=u&&(y.isValidElement(u)&&(u=y.cloneAndReplaceKey(u,i+(!u.key||t&&t.key===u.key?"":r(u.key)+"/")+n)),o.push(u))}function l(e,t,n,o,i){var a="";null!=n&&(a=r(n)+"/");var l=s.getPooled(t,a,o,i);v(e,u,l),s.release(l)}function c(e,t,n){if(null==e)return e;var r=[];return l(e,r,null,t,n),r}function p(e,t,n){return null}function f(e,t){return v(e,p,null)}function d(e){var t=[];return l(e,t,null,b.thatReturnsArgument),t}var h=n(24),y=n(2),b=n(6),v=n(34),m=h.twoArgumentPooler,g=h.fourArgumentPooler,w=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(o,m),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(s,g);var P={forEach:a,map:c,mapIntoWithKeyPrefixInternal:l,count:f,toArray:d};e.exports=P},function(e,t,n){"use strict";function r(e){return e}function o(e,t){var n=w.hasOwnProperty(t)?w[t]:null;_.hasOwnProperty(t)&&("OVERRIDE_BASE"!==n?f("73",t):void 0),e&&("DEFINE_MANY"!==n&&"DEFINE_MANY_MERGED"!==n?f("74",t):void 0)}function i(e,t){if(t){"function"==typeof t?f("75"):void 0,y.isValidElement(t)?f("76"):void 0;var n=e.prototype,r=n.__reactAutoBindPairs;t.hasOwnProperty(m)&&P.mixins(e,t.mixins);for(var i in t)if(t.hasOwnProperty(i)&&i!==m){var a=t[i],s=n.hasOwnProperty(i);if(o(s,i),P.hasOwnProperty(i))P[i](e,a);else{var c=w.hasOwnProperty(i),p="function"==typeof a,d=p&&!c&&!s&&t.autobind!==!1;if(d)r.push(i,a),n[i]=a;else if(s){var h=w[i];!c||"DEFINE_MANY_MERGED"!==h&&"DEFINE_MANY"!==h?f("77",h,i):void 0,"DEFINE_MANY_MERGED"===h?n[i]=u(n[i],a):"DEFINE_MANY"===h&&(n[i]=l(n[i],a))}else n[i]=a}}}else;}function a(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in P;o?f("78",n):void 0;var i=n in e;i?f("79",n):void 0,e[n]=r}}}function s(e,t){e&&t&&"object"==typeof e&&"object"==typeof t?void 0:f("80");for(var n in t)t.hasOwnProperty(n)&&(void 0!==e[n]?f("81",n):void 0,e[n]=t[n]);return e}function u(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return s(o,n),s(o,r),o}}function l(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function c(e,t){var n=t.bind(e);return n}function p(e){for(var t=e.__reactAutoBindPairs,n=0;t.length>n;n+=2){var r=t[n],o=t[n+1];e[r]=c(e,o)}}var f=n(4),d=n(5),h=n(8),y=n(2),b=(n(13),n(9)),v=n(7),m=(n(3),n(0),"mixins"),g=[],w={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},P={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;t.length>n;n++)i(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=d({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=d({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps=e.getDefaultProps?u(e.getDefaultProps,t):t},propTypes:function(e,t){e.propTypes=d({},e.propTypes,t)},statics:function(e,t){a(e,t)},autobind:function(){}},_={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e),t&&this.updater.enqueueCallback(this,t,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},T=function(){};d(T.prototype,h.prototype,_);var E={createClass:function(e){var t=r(function(e,n,r){this.__reactAutoBindPairs.length&&p(this),this.props=e,this.context=n,this.refs=v,this.updater=r||b,this.state=null;var o=this.getInitialState?this.getInitialState():null;"object"!=typeof o||Array.isArray(o)?f("82",t.displayName||"ReactCompositeComponent"):void 0,this.state=o});t.prototype=new T,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],g.forEach(i.bind(null,t)),i(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),t.prototype.render?void 0:f("83");for(var n in w)t.prototype[n]||(t.prototype[n]=null);return t},injection:{injectMixin:function(e){g.push(e)}}};e.exports=E},function(e,t,n){"use strict";var r=n(2),o=r.createFactory,i={a:o("a"),abbr:o("abbr"),address:o("address"),area:o("area"),article:o("article"),aside:o("aside"),audio:o("audio"),b:o("b"),base:o("base"),bdi:o("bdi"),bdo:o("bdo"),big:o("big"),blockquote:o("blockquote"),body:o("body"),br:o("br"),button:o("button"),canvas:o("canvas"),caption:o("caption"),cite:o("cite"),code:o("code"),col:o("col"),colgroup:o("colgroup"),data:o("data"),datalist:o("datalist"),dd:o("dd"),del:o("del"),details:o("details"),dfn:o("dfn"),dialog:o("dialog"),div:o("div"),dl:o("dl"),dt:o("dt"),em:o("em"),embed:o("embed"),fieldset:o("fieldset"),figcaption:o("figcaption"),figure:o("figure"),footer:o("footer"),form:o("form"),h1:o("h1"),h2:o("h2"),h3:o("h3"),h4:o("h4"),h5:o("h5"),h6:o("h6"),head:o("head"),header:o("header"),hgroup:o("hgroup"),hr:o("hr"),html:o("html"),i:o("i"),iframe:o("iframe"),img:o("img"),input:o("input"),ins:o("ins"),kbd:o("kbd"),keygen:o("keygen"),label:o("label"),legend:o("legend"),li:o("li"),link:o("link"),main:o("main"),map:o("map"),mark:o("mark"),menu:o("menu"),menuitem:o("menuitem"),meta:o("meta"),meter:o("meter"),nav:o("nav"),noscript:o("noscript"),object:o("object"),ol:o("ol"),optgroup:o("optgroup"),option:o("option"),output:o("output"),p:o("p"),param:o("param"),picture:o("picture"),pre:o("pre"),progress:o("progress"),q:o("q"),rp:o("rp"),rt:o("rt"),ruby:o("ruby"),s:o("s"),samp:o("samp"),script:o("script"),section:o("section"),select:o("select"),small:o("small"),source:o("source"),span:o("span"),strong:o("strong"),style:o("style"),sub:o("sub"),summary:o("summary"),sup:o("sup"),table:o("table"),tbody:o("tbody"),td:o("td"),textarea:o("textarea"),tfoot:o("tfoot"),th:o("th"),thead:o("thead"),time:o("time"),title:o("title"),tr:o("tr"),track:o("track"),u:o("u"),ul:o("ul"),"var":o("var"),video:o("video"),wbr:o("wbr"),circle:o("circle"),clipPath:o("clipPath"),defs:o("defs"),ellipse:o("ellipse"),g:o("g"),image:o("image"),line:o("line"),linearGradient:o("linearGradient"),mask:o("mask"),path:o("path"),pattern:o("pattern"),polygon:o("polygon"),polyline:o("polyline"),radialGradient:o("radialGradient"),rect:o("rect"),stop:o("stop"),svg:o("svg"),text:o("text"),tspan:o("tspan")};e.exports=i},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function o(e){this.message=e,this.stack=""}function i(e){function t(t,n,r,i,a,s,u){i=i||O,s=s||r;if(null==n[r]){var l=_[a];return t?new o(null===n[r]?"The "+l+" `"+s+"` is marked as required "+("in `"+i+"`, but its value is `null`."):"The "+l+" `"+s+"` is marked as required in "+("`"+i+"`, but its value is `undefined`.")):null}return e(n,r,i,a,s)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function a(e){function t(t,n,r,i,a,s){var u=t[n],l=m(u);if(l!==e){var c=_[i],p=g(u);return new o("Invalid "+c+" `"+a+"` of type "+("`"+p+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return i(t)}function s(){return i(E.thatReturns(null))}function u(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){var u=_[i],l=m(s);return new o("Invalid "+u+" `"+a+"` of type "+("`"+l+"` supplied to `"+r+"`, expected an array."))}for(var c=0;s.length>c;c++){var p=e(s,c,r,i,a+"["+c+"]",T);if(p instanceof Error)return p}return null}return i(t)}function l(){function e(e,t,n,r,i){var a=e[t];if(!P.isValidElement(a)){var s=_[r],u=m(a);return new o("Invalid "+s+" `"+i+"` of type "+("`"+u+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return i(e)}function c(e){function t(t,n,r,i,a){if(!(t[n]instanceof e)){var s=_[i],u=e.name||O,l=w(t[n]);return new o("Invalid "+s+" `"+a+"` of type "+("`"+l+"` supplied to `"+r+"`, expected ")+("instance of `"+u+"`."))}return null}return i(t)}function p(e){function t(t,n,i,a,s){for(var u=t[n],l=0;e.length>l;l++)if(r(u,e[l]))return null;var c=_[a],p=JSON.stringify(e);return new o("Invalid "+c+" `"+s+"` of value `"+u+"` "+("supplied to `"+i+"`, expected one of "+p+"."))}return Array.isArray(e)?i(t):E.thatReturnsNull}function f(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],u=m(s);if("object"!==u){var l=_[i];return new o("Invalid "+l+" `"+a+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an object."))}for(var c in s)if(s.hasOwnProperty(c)){var p=e(s,c,r,i,a+"."+c,T);if(p instanceof Error)return p}return null}return i(t)}function d(e){function t(t,n,r,i,a){for(var s=0;e.length>s;s++){var u=e[s];if(null==u(t,n,r,i,a,T))return null}var l=_[i];return new o("Invalid "+l+" `"+a+"` supplied to "+("`"+r+"`."))}return Array.isArray(e)?i(t):E.thatReturnsNull}function h(){function e(e,t,n,r,i){if(!b(e[t])){var a=_[r];return new o("Invalid "+a+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return i(e)}function y(e){function t(t,n,r,i,a){var s=t[n],u=m(s);if("object"!==u){var l=_[i];return new o("Invalid "+l+" `"+a+"` of type `"+u+"` "+("supplied to `"+r+"`, expected `object`."))}for(var c in e){var p=e[c];if(p){var f=p(s,c,r,i,a+"."+c,T);if(f)return f}}return null}return i(t)}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||P.isValidElement(e))return!0;var t=x(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!b(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!b(o[1]))return!1}return!0;default:return!1}}function v(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function m(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":v(t,e)?"symbol":t}function g(e){var t=m(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function w(e){return e.constructor&&e.constructor.name?e.constructor.name:O}var P=n(2),_=n(13),T=n(30),E=n(6),x=n(15),O=(n(0),"<<anonymous>>"),k={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:s(),arrayOf:u,element:l(),instanceOf:c,node:h(),objectOf:f,oneOf:p,oneOfType:d,shape:y};o.prototype=Error.prototype,e.exports=k},function(e,t,n){"use strict";var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=r},function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=u,this.updater=n||s}function o(){}var i=n(5),a=n(8),s=n(9),u=n(7);o.prototype=a.prototype,r.prototype=new o,r.prototype.constructor=r,i(r.prototype,a.prototype),r.prototype.isPureReactComponent=!0,e.exports=r},function(e,t,n){"use strict";e.exports="15.4.2"},function(e,t,n){"use strict";function r(e){return i.isValidElement(e)?void 0:o("143"),e}var o=n(4),i=n(2);n(3);e.exports=r},function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?l.escape(e.key):t.toString(36)}function o(e,t,n,i){var f=typeof e;if("undefined"!==f&&"boolean"!==f||(e=null),null===e||"string"===f||"number"===f||"object"===f&&e.$$typeof===s)return n(i,e,""===t?c+r(e,0):t),1;var d,h,y=0,b=""===t?c:t+p;if(Array.isArray(e))for(var v=0;e.length>v;v++)d=e[v],h=b+r(d,v),y+=o(d,h,n,i);else{var m=u(e);if(m){var g,w=m.call(e);if(m!==e.entries)for(var P=0;!(g=w.next()).done;)d=g.value,h=b+r(d,P++),y+=o(d,h,n,i);else for(;!(g=w.next()).done;){var _=g.value;_&&(d=_[1],h=b+l.escape(_[0])+p+r(d,0),y+=o(d,h,n,i))}}else if("object"===f){var T="",E=e+"";a("31","[object Object]"===E?"object with keys {"+Object.keys(e).join(", ")+"}":E,T)}}return y}function i(e,t,n){return null==e?0:o(e,"",t,n)}var a=n(4),s=(n(11),n(12)),u=n(15),l=(n(3),n(23)),c=(n(0),"."),p=":";e.exports=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),c=r(l),p=n(20),f=r(p),d=n(10),h=r(d),y=n(17),b=r(y),v=n(18),m=r(v),g=n(19),w=r(g),P=n(16),_=r(P),T="tab-",E="panel-",x=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onResize=function(){return n.setState({blockWidth:n.tabsWrapper.offsetWidth})},n.onChangeTab=function(e){n.setState({selectedTabKey:e}),n.props.onChange&&n.props.onChange(e)},n.onFocusTab=function(e){return function(){return n.setState({focusedTabKey:e})}},n.onBlurTab=function(){return n.setState({focusedTabKey:null})},n.onKeyDown=function(e){13===e.keyCode&&null!==n.state.focusedTabKey&&n.setState({selectedTabKey:n.state.focusedTabKey})},n.setTabsWidth=function(){if(n.tabsWrapper){var e=n.tabsWrapper.offsetWidth,t=0,r={},o={};Object.keys(n.tabRefs).forEach(function(e){var i=n.tabRefs[e].tab.offsetWidth;r[e.replace(T,"")]=i,o[e.replace(T,"")]=t,t+=i}),n.setState({tabsWidth:r,tabsOffset:o,tabsTotalWidth:t,blockWidth:e})}},n.getTabs=function(){var e=n.props,t=e.showMore,r=e.transform,o=e.transformWidth,i=e.items,a=n.state,u=a.blockWidth,l=a.tabsTotalWidth,c=a.tabsWidth,p=a.showMoreWidth,f=a.selectedTabKey,d=u&&r&&o>u,h=0,y=u-(l>u?p:0);return i.reduce(function(e,n,r){var o=n.key,i=void 0===o?r:o,a=n.title,p=n.content,b=n.getContent,v=n.disabled,m=n.tabClassName,g=n.panelClassName,w=!f&&!h||f===i,P={tabIndex:h,collapsed:d,selected:w,disabled:v,key:i},_=s({},P,{title:a,className:m}),T=s({},P,{content:p,getContent:b,className:g}),E=c[i]||0;return h+=1,!t||!u||!l||d||u>l||y-E>0?e.tabsVisible[i]=_:e.tabsHidden.push(_),e.panels.push(T),y-=E,e},{tabsVisible:{},tabsHidden:[],panels:[]})},n.getTabProps=function(e){var t=e.title,r=e.key,o=e.selected,i=e.collapsed,a=e.tabIndex,s=e.disabled,u=e.className;return{selected:o,children:t,key:T+r,id:T+r,ref:function(e){return n.tabRefs[T+r]=e},originalKey:r,onClick:n.onChangeTab,onFocus:n.onFocusTab,onBlur:n.onBlurTab,panelId:E+r,classNames:n.getClassNamesFor("tab",{selected:o,collapsed:i,tabIndex:a,disabled:s,className:u})}},n.getPanelProps=function(e){var t=e.key,r=e.content,o=e.getContent,i=e.selected,a=e.collapsed,s=e.className;return{selected:i,getContent:o,children:r,key:E+t,id:E+t,tabId:T+t,classNames:n.getClassNamesFor("panel",{selected:i,collapsed:a,className:s})}},n.getClassNamesFor=function(e,t){var r=t.selected,o=t.collapsed,i=t.tabIndex,a=t.disabled,s=t.className,u=void 0===s?"":s;switch(e){case"tab":return(0,h["default"])("Tab",u,n.props.tabClass,{"Tab--first":!i,"Tab--selected":r,"Tab--disabled":a,"Tab--collapsed":o});case"panel":return(0,h["default"])("Tab-panel",u,n.props.panelClass,{"Tab-panel--selected":r,"Tab-panel--collapsed":o});default:return""}},n.showMoreChanged=function(e){if(e&&e){var t=e.offsetWidth;n.state.showMoreWidth!==t&&n.setState({showMoreWidth:t})}},n.tabRefs={},n.state={tabsWidth:{},tabsOffset:{},blockWidth:0,tabsTotalWidth:0,showMoreWidth:40,selectedTabKey:e.selectedTabKey,focusedTabKey:null},n}return a(t,e),u(t,[{key:"componentDidMount",value:function(){setTimeout(this.setTabsWidth,0)}},{key:"componentWillReceiveProps",value:function(e){this.props.items!==e.items&&this.setState({blockWidth:0})}},{key:"shouldComponentUpdate",value:function(e,t){return this.props.items!==e.items||t.blockWidth!==this.state.blockWidth||t.showMoreWidth!==this.state.showMoreWidth||t.selectedTabKey!==this.state.selectedTabKey}},{key:"componentDidUpdate",value:function(){this.state.blockWidth||this.setTabsWidth()}},{key:"render",value:function(){var e=this,t=this.props,n=t.showInkBar,r=t.wrapperClass,o=t.showMore,i=t.transform,a=t.transformWidth,s=this.state,u=s.tabsOffset,l=s.tabsWidth,p=s.selectedTabKey,d=s.blockWidth,y=this.getTabs(),v=y.tabsVisible,g=y.tabsHidden,P=y.panels,T=(0, | ||
h["default"])("Tabs__wrapper",r),E=d&&i&&a>d;return c["default"].createElement("div",{className:T,ref:function(t){return e.tabsWrapper=t},onKeyDown:this.onKeyDown},P.reduce(function(t,n){return v[n.key]&&t.push(c["default"].createElement(m["default"],e.getTabProps(v[n.key]))),t.push(c["default"].createElement(w["default"],e.getPanelProps(n))),t},[]),c["default"].createElement(b["default"],{onShowMoreChanged:this.showMoreChanged,isShown:o},g.map(function(t){return c["default"].createElement(m["default"],e.getTabProps(t))})),n&&!E&&c["default"].createElement(_["default"],{left:u[p]||0,width:l[p]||0}),(o||i)&&c["default"].createElement(f["default"],{handleWidth:!0,onResize:this.onResize}))}}]),t}(l.PureComponent);t["default"]=x,x.propTypes={items:l.PropTypes.oneOfType([l.PropTypes.array,l.PropTypes.object]),selectedTabKey:l.PropTypes.oneOfType([l.PropTypes.number,l.PropTypes.string]),showMore:l.PropTypes.bool,showInkBar:l.PropTypes.bool,transform:l.PropTypes.bool,transformWidth:l.PropTypes.number,wrapperClass:l.PropTypes.string,tabClass:l.PropTypes.string,panelClass:l.PropTypes.string,onChange:l.PropTypes.func},x.defaultProps={items:[],selectedTabKey:void 0,showMore:!0,showInkBar:!1,transform:!0,transformWidth:800,wrapperClass:"",tabClass:"",panelClass:"",onChange:function(){return null}}}])}); | ||
!function(){"use strict";function n(){for(var e=[],t=0;arguments.length>t;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===o)for(var a in r)i.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?e.exports=n:(r=[],o=function(){return n}.apply(t,r),!(void 0!==o&&(e.exports=o)))}()},function(e,t,n){"use strict";var r={current:null};e.exports=r},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103;e.exports=r},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";var r=!1;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e&&(o&&e[o]||e[i]);if("function"==typeof t)return t}var o="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.InkBar=void 0;var o=n(1),i=r(o),a=t.InkBar=function(e){var t=e.left,n=e.width;return i["default"].createElement("div",{className:"RRT__inkbar-wrapper"},i["default"].createElement("div",{className:"RRT__inkbar",style:{left:t,width:n}}))};t["default"]=a,a.propTypes={left:o.PropTypes.number,width:o.PropTypes.number},a.defaultProps={left:0,width:0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),c=n(10),p=r(c),f=function(e){function t(){o(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.onFocus=function(){return e.setState({isFocused:!0})},e.onBlur=function(){return e.setState({isFocused:!1})},e.onKeyDown=function(t){var n=e.state,r=n.isFocused,o=n.isHidden;13===t.keyCode&&(r?e.setState({isHidden:!e.state.isHidden}):o||e.setState({isHidden:!0}))},e.close=function(){e.state.isHidden||e.setState({isHidden:!0})},e.toggleVisibility=function(t){t.stopPropagation(),e.setState({isHidden:!e.state.isHidden})},e.state={isFocused:!1,isHidden:!0},e}return a(t,e),s(t,[{key:"componentWillMount",value:function(){"undefined"!=typeof window&&(window.addEventListener("click",this.close),window.addEventListener("keydown",this.onKeyDown))}},{key:"shouldComponentUpdate",value:function(e,t){return this.props.children.length!==e.children.length||this.props.isShown!==e.isShown||this.state!==t}},{key:"componentWillUnmount",value:function(){"undefined"!=typeof window&&(window.removeEventListener("click",this.close),window.removeEventListener("keydown",this.onKeyDown))}},{key:"render",value:function(){var e=this.props,t=e.isShown,n=e.children,r=e.onShowMoreChanged;if(!t||!n||!n.length)return null;var o=this.state.isHidden,i=(0,p["default"])({"RRT__showmore-list":!0,"RRT__showmore-list--opened":!o}),a=(0,p["default"])({"RRT__showmore-label":!0,"RRT__showmore-label--selected":!o});return l["default"].createElement("div",{ref:r,className:"RRT__showmore",role:"navigation",tabIndex:"0",onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.toggleVisibility},l["default"].createElement("div",{className:a},"..."),l["default"].createElement("div",{className:i,"aria-hidden":o,role:"menu"},n))}}]),t}(u.PureComponent);t["default"]=f,f.propTypes={children:u.PropTypes.oneOfType([u.PropTypes.array,u.PropTypes.object,u.PropTypes.string]),isShown:u.PropTypes.bool.isRequired,onShowMoreChanged:u.PropTypes.func},f.defaultProps={children:void 0,onShowMoreChanged:function(){return null}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t,n){return function(){return!e&&t(n)}}t.__esModule=!0;var u=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),c=r(l),p=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),u(t,[{key:"shouldComponentUpdate",value:function(e){return this.props.children!==e.children||this.props.selected!==e.selected||this.props.classNames!==e.classNames}},{key:"render",value:function(){var e=this,t=this.props,n=t.id,r=t.classNames,o=t.selected,i=t.disabled,a=t.panelId,u=t.onClick,l=t.onFocus,p=t.onBlur,f=t.originalKey,d=t.children;return c["default"].createElement("div",{ref:function(t){return e.tab=t},role:"tab",className:r,id:n,"aria-selected":o?"true":"false","aria-expanded":o?"true":"false","aria-disabled":i?"true":"false","aria-controls":a,tabIndex:"0",onClick:s(o,u,f),onFocus:l(f),onBlur:p},d)}}]),t}(l.PureComponent);t["default"]=p,p.propTypes={children:l.PropTypes.oneOfType([l.PropTypes.array,l.PropTypes.object,l.PropTypes.string]),disabled:l.PropTypes.bool,panelId:l.PropTypes.string.isRequired,selected:l.PropTypes.bool.isRequired,onClick:l.PropTypes.func.isRequired,onFocus:l.PropTypes.func.isRequired,onBlur:l.PropTypes.func.isRequired,id:l.PropTypes.string.isRequired,originalKey:l.PropTypes.oneOfType([l.PropTypes.number,l.PropTypes.string]).isRequired,classNames:l.PropTypes.string.isRequired},p.defaultProps={children:void 0,disabled:!1}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),c=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),s(t,[{key:"shouldComponentUpdate",value:function(e){return this.props.getContent!==e.getContent||this.props.children!==e.children||this.props.classNames!==e.classNames}},{key:"render",value:function(){var e=this.props,t=e.classNames,n=e.id,r=e.tabId,o=e.children,i=e.getContent;return l["default"].createElement("div",{className:t,role:"tabpanel",id:n,"aria-labelledby":r,"aria-hidden":"false"},i&&i(),!i&&o)}}]),t}(u.PureComponent);t["default"]=c,c.propTypes={getContent:u.PropTypes.func,children:u.PropTypes.oneOfType([u.PropTypes.array,u.PropTypes.object,u.PropTypes.string]),id:u.PropTypes.string.isRequired,classNames:u.PropTypes.string.isRequired,tabId:u.PropTypes.string.isRequired},c.defaultProps={getContent:void 0,children:void 0}},function(e,t,n){(function(t){function n(e,t,n){function r(t){var n=y,r=b;return y=b=void 0,E=t,m=e.apply(r,n)}function i(e){return E=e,g=setTimeout(c,t),x?r(e):m}function a(e){var n=e-w,r=e-E,o=t-n;return O?P(o,v-r):o}function l(e){var n=e-w,r=e-E;return void 0===w||n>=t||0>n||O&&r>=v}function c(){var e=_();return l(e)?p(e):void(g=setTimeout(c,a(e)))}function p(e){return g=void 0,k&&y?r(e):(y=b=void 0,m)}function f(){void 0!==g&&clearTimeout(g),E=0,y=w=b=g=void 0}function d(){return void 0===g?m:p(_())}function h(){var e=_(),n=l(e);if(y=arguments,b=this,w=e,n){if(void 0===g)return i(w);if(O)return g=setTimeout(c,t),r(w)}return void 0===g&&(g=setTimeout(c,t)),m}var y,b,v,m,g,w,E=0,x=!1,O=!1,k=!0;if("function"!=typeof e)throw new TypeError(u);return t=s(t)||0,o(n)&&(x=!!n.leading,O="maxWait"in n,v=O?T(s(n.maxWait)||0,t):v,k="trailing"in n?!!n.trailing:k),h.cancel=f,h.flush=d,h}function r(e,t,r){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError(u);return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:i,maxWait:t,trailing:a})}function o(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function i(e){return!!e&&"object"==typeof e}function a(e){return"symbol"==typeof e||i(e)&&w.call(e)==c}function s(e){if("number"==typeof e)return e;if(a(e))return l;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(p,"");var n=d.test(e);return n||h.test(e)?y(e.slice(2),n?2:8):f.test(e)?l:+e}var u="Expected a function",l=NaN,c="[object Symbol]",p=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,h=/^0o[0-7]+$/i,y=parseInt,b="object"==typeof t&&t&&t.Object===Object&&t,v="object"==typeof self&&self&&self.Object===Object&&self,m=b||v||Function("return this")(),g=Object.prototype,w=g.toString,T=Math.max,P=Math.min,_=function(){return m.Date.now()};e.exports=r}).call(t,n(36))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(22),i=r(o);t["default"]=i["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&s["return"]&&s["return"]()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(1),p=r(c),f=n(23),d=function(e){function t(){o(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.state={expandChildHeight:0,expandChildWidth:0,expandScrollLeft:0,expandScrollTop:0,shrinkScrollTop:0,shrinkScrollLeft:0,lastWidth:0,lastHeight:0},e.reset=e.reset.bind(e),e.handleScroll=e.handleScroll.bind(e),e}return a(t,e),l(t,[{key:"componentWillMount",value:function(){this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.containerSize(),t=u(e,2),n=t[0],r=t[1];this.reset(n,r)}},{key:"shouldComponentUpdate",value:function(e){return this.props!==e}},{key:"componentDidUpdate",value:function(){this.expand.scrollLeft=this.expand.scrollWidth,this.expand.scrollTop=this.expand.scrollHeight,this.shrink.scrollLeft=this.shrink.scrollWidth,this.shrink.scrollTop=this.shrink.scrollHeight}},{key:"containerSize",value:function(){return[this.props.handleWidth&&this.container.parentElement.offsetWidth,this.props.handleHeight&&this.container.parentElement.offsetHeight]}},{key:"reset",value:function(e,t){if("undefined"!=typeof window){var n=this.container.parentElement,r="static";n.currentStyle?r=n.currentStyle.position:window.getComputedStyle&&(r=window.getComputedStyle(n).position),"static"===r&&(n.style.position="relative"),this.setState({expandChildHeight:this.expand.offsetHeight+10,expandChildWidth:this.expand.offsetWidth+10,lastWidth:e,lastHeight:t})}}},{key:"handleScroll",value:function(){if("undefined"!=typeof window){var e=this.state,t=this.containerSize(),n=u(t,2),r=n[0],o=n[1];r===e.lastWidth&&o===e.lastHeight||this.props.onResize(r,o),this.reset(r,o)}}},{key:"render",value:function(){var e=this,t=this.state,n=s({},f.expandChildStyle,{width:t.expandChildWidth,height:t.expandChildHeight});return p["default"].createElement("div",{style:f.parentStyle,ref:function(t){e.container=t}},p["default"].createElement("div",{style:f.parentStyle,onScroll:this.handleScroll,ref:function(t){e.expand=t}},p["default"].createElement("div",{style:n})),p["default"].createElement("div",{style:f.parentStyle,onScroll:this.handleScroll,ref:function(t){e.shrink=t}},p["default"].createElement("div",{style:f.shrinkChildStyle})))}}]),t}(c.Component);t["default"]=d,d.propTypes={handleWidth:c.PropTypes.bool,handleHeight:c.PropTypes.bool,onResize:c.PropTypes.func},d.defaultProps={handleWidth:!1,handleHeight:!1,onResize:function(e){return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.parentStyle={position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"scroll",zIndex:-1,visibility:"hidden"},t.shrinkChildStyle={position:"absolute",left:0,top:0,width:"200%",height:"200%"},t.expandChildStyle={position:"absolute",left:0,top:0,width:"100%",height:"100%"}},function(e,t,n){"use strict";function r(e){var t=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+e).replace(t,function(e){return n[e]});return"$"+r}function o(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"},r=e.substring("."===e[0]&&"$"===e[1]?2:1);return(""+r).replace(t,function(e){return n[e]})}var i={escape:r,unescape:o};e.exports=i},function(e,t,n){"use strict";var r=n(4),o=(n(3),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),i=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},a=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},s=function(e,t,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,e,t,n,r),i}return new o(e,t,n,r)},u=function(e){var t=this;e instanceof t?void 0:r("25"),e.destructor(),t.poolSize>t.instancePool.length&&t.instancePool.push(e)},l=10,c=o,p=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||c,n.poolSize||(n.poolSize=l),n.release=u,n},f={addPoolingTo:p,oneArgumentPooler:o,twoArgumentPooler:i,threeArgumentPooler:a,fourArgumentPooler:s};e.exports=f},function(e,t,n){"use strict";var r=n(5),o=n(27),i=n(8),a=n(32),s=n(28),u=n(29),l=n(2),c=n(30),p=n(33),f=n(34),d=(n(0),l.createElement),h=l.createFactory,y=l.cloneElement,b=r,v={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:f},Component:i,PureComponent:a,createElement:d,cloneElement:y,isValidElement:l.isValidElement,PropTypes:c,createClass:s.createClass,createFactory:h,createMixin:function(e){return e},DOM:u,version:p,__spread:b};e.exports=v},function(e,t,n){"use strict";function r(e){return(""+e).replace(w,"$&/")}function o(e,t){this.func=e,this.context=t,this.count=0}function i(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function a(e,t,n){if(null==e)return e;var r=o.getPooled(t,n);v(e,i,r),o.release(r)}function s(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function u(e,t,n){var o=e.result,i=e.keyPrefix,a=e.func,s=e.context,u=a.call(s,t,e.count++);Array.isArray(u)?l(u,o,n,b.thatReturnsArgument):null!=u&&(y.isValidElement(u)&&(u=y.cloneAndReplaceKey(u,i+(!u.key||t&&t.key===u.key?"":r(u.key)+"/")+n)),o.push(u))}function l(e,t,n,o,i){var a="";null!=n&&(a=r(n)+"/");var l=s.getPooled(t,a,o,i);v(e,u,l),s.release(l)}function c(e,t,n){if(null==e)return e;var r=[];return l(e,r,null,t,n),r}function p(e,t,n){return null}function f(e,t){return v(e,p,null)}function d(e){var t=[];return l(e,t,null,b.thatReturnsArgument),t}var h=n(25),y=n(2),b=n(6),v=n(35),m=h.twoArgumentPooler,g=h.fourArgumentPooler,w=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(o,m),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(s,g);var T={forEach:a,map:c,mapIntoWithKeyPrefixInternal:l,count:f,toArray:d};e.exports=T},function(e,t,n){"use strict";function r(e){return e}function o(e,t){var n=w.hasOwnProperty(t)?w[t]:null;P.hasOwnProperty(t)&&("OVERRIDE_BASE"!==n?f("73",t):void 0),e&&("DEFINE_MANY"!==n&&"DEFINE_MANY_MERGED"!==n?f("74",t):void 0)}function i(e,t){if(t){"function"==typeof t?f("75"):void 0,y.isValidElement(t)?f("76"):void 0;var n=e.prototype,r=n.__reactAutoBindPairs;t.hasOwnProperty(m)&&T.mixins(e,t.mixins);for(var i in t)if(t.hasOwnProperty(i)&&i!==m){var a=t[i],s=n.hasOwnProperty(i);if(o(s,i),T.hasOwnProperty(i))T[i](e,a);else{var c=w.hasOwnProperty(i),p="function"==typeof a,d=p&&!c&&!s&&t.autobind!==!1;if(d)r.push(i,a),n[i]=a;else if(s){var h=w[i];!c||"DEFINE_MANY_MERGED"!==h&&"DEFINE_MANY"!==h?f("77",h,i):void 0,"DEFINE_MANY_MERGED"===h?n[i]=u(n[i],a):"DEFINE_MANY"===h&&(n[i]=l(n[i],a))}else n[i]=a}}}else;}function a(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in T;o?f("78",n):void 0;var i=n in e;i?f("79",n):void 0,e[n]=r}}}function s(e,t){e&&t&&"object"==typeof e&&"object"==typeof t?void 0:f("80");for(var n in t)t.hasOwnProperty(n)&&(void 0!==e[n]?f("81",n):void 0,e[n]=t[n]);return e}function u(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return s(o,n),s(o,r),o}}function l(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function c(e,t){var n=t.bind(e);return n}function p(e){for(var t=e.__reactAutoBindPairs,n=0;t.length>n;n+=2){var r=t[n],o=t[n+1];e[r]=c(e,o)}}var f=n(4),d=n(5),h=n(8),y=n(2),b=(n(13),n(9)),v=n(7),m=(n(3),n(0),"mixins"),g=[],w={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},T={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;t.length>n;n++)i(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=d({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=d({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps=e.getDefaultProps?u(e.getDefaultProps,t):t},propTypes:function(e,t){e.propTypes=d({},e.propTypes,t)},statics:function(e,t){a(e,t)},autobind:function(){}},P={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e),t&&this.updater.enqueueCallback(this,t,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},_=function(){};d(_.prototype,h.prototype,P);var E={createClass:function(e){var t=r(function(e,n,r){this.__reactAutoBindPairs.length&&p(this),this.props=e,this.context=n,this.refs=v,this.updater=r||b,this.state=null;var o=this.getInitialState?this.getInitialState():null;"object"!=typeof o||Array.isArray(o)?f("82",t.displayName||"ReactCompositeComponent"):void 0,this.state=o});t.prototype=new _,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],g.forEach(i.bind(null,t)),i(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),t.prototype.render?void 0:f("83");for(var n in w)t.prototype[n]||(t.prototype[n]=null);return t},injection:{injectMixin:function(e){g.push(e)}}};e.exports=E},function(e,t,n){"use strict";var r=n(2),o=r.createFactory,i={a:o("a"),abbr:o("abbr"),address:o("address"),area:o("area"),article:o("article"),aside:o("aside"),audio:o("audio"),b:o("b"),base:o("base"),bdi:o("bdi"),bdo:o("bdo"),big:o("big"),blockquote:o("blockquote"),body:o("body"),br:o("br"),button:o("button"),canvas:o("canvas"),caption:o("caption"),cite:o("cite"),code:o("code"),col:o("col"),colgroup:o("colgroup"),data:o("data"),datalist:o("datalist"),dd:o("dd"),del:o("del"),details:o("details"),dfn:o("dfn"),dialog:o("dialog"),div:o("div"),dl:o("dl"),dt:o("dt"),em:o("em"),embed:o("embed"),fieldset:o("fieldset"),figcaption:o("figcaption"),figure:o("figure"),footer:o("footer"),form:o("form"),h1:o("h1"),h2:o("h2"),h3:o("h3"),h4:o("h4"),h5:o("h5"),h6:o("h6"),head:o("head"),header:o("header"),hgroup:o("hgroup"),hr:o("hr"),html:o("html"),i:o("i"),iframe:o("iframe"),img:o("img"),input:o("input"),ins:o("ins"),kbd:o("kbd"),keygen:o("keygen"),label:o("label"),legend:o("legend"),li:o("li"),link:o("link"),main:o("main"),map:o("map"),mark:o("mark"),menu:o("menu"),menuitem:o("menuitem"),meta:o("meta"),meter:o("meter"),nav:o("nav"),noscript:o("noscript"),object:o("object"),ol:o("ol"),optgroup:o("optgroup"),option:o("option"),output:o("output"),p:o("p"),param:o("param"),picture:o("picture"),pre:o("pre"),progress:o("progress"),q:o("q"),rp:o("rp"),rt:o("rt"),ruby:o("ruby"),s:o("s"),samp:o("samp"),script:o("script"),section:o("section"),select:o("select"),small:o("small"),source:o("source"),span:o("span"),strong:o("strong"),style:o("style"),sub:o("sub"),summary:o("summary"),sup:o("sup"),table:o("table"),tbody:o("tbody"),td:o("td"),textarea:o("textarea"),tfoot:o("tfoot"),th:o("th"),thead:o("thead"),time:o("time"),title:o("title"),tr:o("tr"),track:o("track"),u:o("u"),ul:o("ul"),"var":o("var"),video:o("video"),wbr:o("wbr"),circle:o("circle"),clipPath:o("clipPath"),defs:o("defs"),ellipse:o("ellipse"),g:o("g"),image:o("image"),line:o("line"),linearGradient:o("linearGradient"),mask:o("mask"),path:o("path"),pattern:o("pattern"),polygon:o("polygon"),polyline:o("polyline"),radialGradient:o("radialGradient"),rect:o("rect"),stop:o("stop"),svg:o("svg"),text:o("text"),tspan:o("tspan")};e.exports=i},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function o(e){this.message=e,this.stack=""}function i(e){function t(t,n,r,i,a,s,u){i=i||O,s=s||r;if(null==n[r]){var l=P[a];return t?new o(null===n[r]?"The "+l+" `"+s+"` is marked as required "+("in `"+i+"`, but its value is `null`."):"The "+l+" `"+s+"` is marked as required in "+("`"+i+"`, but its value is `undefined`.")):null}return e(n,r,i,a,s)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function a(e){function t(t,n,r,i,a,s){var u=t[n],l=m(u);if(l!==e){var c=P[i],p=g(u);return new o("Invalid "+c+" `"+a+"` of type "+("`"+p+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return i(t)}function s(){return i(E.thatReturns(null))}function u(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){var u=P[i],l=m(s);return new o("Invalid "+u+" `"+a+"` of type "+("`"+l+"` supplied to `"+r+"`, expected an array."))}for(var c=0;s.length>c;c++){var p=e(s,c,r,i,a+"["+c+"]",_);if(p instanceof Error)return p}return null}return i(t)}function l(){function e(e,t,n,r,i){var a=e[t];if(!T.isValidElement(a)){var s=P[r],u=m(a);return new o("Invalid "+s+" `"+i+"` of type "+("`"+u+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return i(e)}function c(e){function t(t,n,r,i,a){if(!(t[n]instanceof e)){var s=P[i],u=e.name||O,l=w(t[n]);return new o("Invalid "+s+" `"+a+"` of type "+("`"+l+"` supplied to `"+r+"`, expected ")+("instance of `"+u+"`."))}return null}return i(t)}function p(e){function t(t,n,i,a,s){for(var u=t[n],l=0;e.length>l;l++)if(r(u,e[l]))return null;var c=P[a],p=JSON.stringify(e);return new o("Invalid "+c+" `"+s+"` of value `"+u+"` "+("supplied to `"+i+"`, expected one of "+p+"."))}return Array.isArray(e)?i(t):E.thatReturnsNull}function f(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],u=m(s);if("object"!==u){var l=P[i];return new o("Invalid "+l+" `"+a+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an object."))}for(var c in s)if(s.hasOwnProperty(c)){var p=e(s,c,r,i,a+"."+c,_);if(p instanceof Error)return p}return null}return i(t)}function d(e){function t(t,n,r,i,a){for(var s=0;e.length>s;s++){var u=e[s];if(null==u(t,n,r,i,a,_))return null}var l=P[i];return new o("Invalid "+l+" `"+a+"` supplied to "+("`"+r+"`."))}return Array.isArray(e)?i(t):E.thatReturnsNull}function h(){function e(e,t,n,r,i){if(!b(e[t])){var a=P[r];return new o("Invalid "+a+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return i(e)}function y(e){function t(t,n,r,i,a){var s=t[n],u=m(s);if("object"!==u){var l=P[i];return new o("Invalid "+l+" `"+a+"` of type `"+u+"` "+("supplied to `"+r+"`, expected `object`."))}for(var c in e){var p=e[c];if(p){var f=p(s,c,r,i,a+"."+c,_);if(f)return f}}return null}return i(t)}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||T.isValidElement(e))return!0;var t=x(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!b(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!b(o[1]))return!1}return!0;default:return!1}}function v(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function m(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":v(t,e)?"symbol":t}function g(e){var t=m(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function w(e){return e.constructor&&e.constructor.name?e.constructor.name:O}var T=n(2),P=n(13),_=n(31),E=n(6),x=n(15),O=(n(0),"<<anonymous>>"),k={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:s(),arrayOf:u,element:l(),instanceOf:c,node:h(),objectOf:f,oneOf:p,oneOfType:d,shape:y};o.prototype=Error.prototype,e.exports=k},function(e,t,n){"use strict";var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=r},function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=u,this.updater=n||s}function o(){}var i=n(5),a=n(8),s=n(9),u=n(7);o.prototype=a.prototype,r.prototype=new o,r.prototype.constructor=r,i(r.prototype,a.prototype),r.prototype.isPureReactComponent=!0,e.exports=r},function(e,t,n){"use strict";e.exports="15.4.2"},function(e,t,n){"use strict";function r(e){return i.isValidElement(e)?void 0:o("143"),e}var o=n(4),i=n(2);n(3);e.exports=r},function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?l.escape(e.key):t.toString(36)}function o(e,t,n,i){var f=typeof e;if("undefined"!==f&&"boolean"!==f||(e=null),null===e||"string"===f||"number"===f||"object"===f&&e.$$typeof===s)return n(i,e,""===t?c+r(e,0):t),1;var d,h,y=0,b=""===t?c:t+p;if(Array.isArray(e))for(var v=0;e.length>v;v++)d=e[v],h=b+r(d,v),y+=o(d,h,n,i);else{var m=u(e);if(m){var g,w=m.call(e);if(m!==e.entries)for(var T=0;!(g=w.next()).done;)d=g.value,h=b+r(d,T++),y+=o(d,h,n,i);else for(;!(g=w.next()).done;){var P=g.value;P&&(d=P[1],h=b+l.escape(P[0])+p+r(d,0),y+=o(d,h,n,i))}}else if("object"===f){var _="",E=e+"";a("31","[object Object]"===E?"object with keys {"+Object.keys(e).join(", ")+"}":E,_)}}return y}function i(e,t,n){return null==e?0:o(e,"",t,n)}var a=n(4),s=(n(11),n(12)),u=n(15),l=(n(3),n(24)),c=(n(0),"."),p=":";e.exports=i},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(r){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),c=r(l),p=n(21),f=r(p),d=n(10),h=r(d),y=n(20),b=r(y),v=n(17),m=r(v),g=n(18),w=r(g),T=n(19),P=r(T),_=n(16),E=r(_),x="tab-",O="panel-",k=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onResize=function(){n.setState({blockWidth:n.tabsWrapper.offsetWidth})},n.onChangeTab=function(e){n.setState({selectedTabKey:e}),n.props.onChange&&n.props.onChange(e)},n.onFocusTab=function(e){return function(){return n.setState({focusedTabKey:e})}},n.onBlurTab=function(){return n.setState({focusedTabKey:null})},n.onKeyDown=function(e){13===e.keyCode&&null!==n.state.focusedTabKey&&n.setState({selectedTabKey:n.state.focusedTabKey})},n.setTabsDimensions=function(){if(n.tabsWrapper){var e=n.tabsWrapper.offsetWidth,t=0,r={};Object.keys(n.tabRefs).forEach(function(e){if(n.tabRefs[e]){var o=n.tabRefs[e].tab.offsetWidth;r[e.replace(x,"")]={width:o,offset:t},t+=o}}),n.setState({tabDimensions:r,tabsTotalWidth:t,blockWidth:e})}},n.getTabs=function(){var e=n.props,t=e.showMore,r=e.transform,o=e.transformWidth,i=e.items,a=n.state,u=a.blockWidth,l=a.tabsTotalWidth,c=a.tabDimensions,p=a.showMoreWidth,f=n.getSelectedTabKey(),d=u&&r&&o>u,h=0,y=u-(l>u?p:0);return i.reduce(function(e,n,r){var o=n.key,i=void 0===o?r:o,a=n.title,p=n.content,b=n.getContent,v=n.disabled,m=n.tabClassName,g=n.panelClassName,w=f===i,T={tabIndex:h,collapsed:d,selected:w,disabled:v,key:i},P=s({},T,{title:a,className:m}),_=s({},T,{content:p,getContent:b,className:g}),E=c[i]?c[i].width:0;return h+=1,!t||!u||d||u>l||y-E>0?e.tabsVisible.push(P):e.tabsHidden.push(P),e.panels[i]=_,y-=E,e},{tabsVisible:[], | ||
tabsHidden:[],panels:{}})},n.getTabProps=function(e){var t=e.title,r=e.key,o=e.selected,i=e.collapsed,a=e.tabIndex,s=e.disabled,u=e.className;return{selected:o,children:t,key:x+r,id:x+r,ref:function(e){return n.tabRefs[x+r]=e},originalKey:r,onClick:n.onChangeTab,onFocus:n.onFocusTab,onBlur:n.onBlurTab,panelId:O+r,classNames:n.getClassNamesFor("tab",{selected:o,collapsed:i,tabIndex:a,disabled:s,className:u})}},n.getPanelProps=function(e){var t=e.key,r=e.content,o=e.getContent,i=e.className;return{getContent:o,children:r,key:O+t,id:O+t,tabId:x+t,classNames:n.getClassNamesFor("panel",{className:i})}},n.getClassNamesFor=function(e,t){var r=t.selected,o=t.collapsed,i=t.tabIndex,a=t.disabled,s=t.className,u=void 0===s?"":s;switch(e){case"tab":return(0,h["default"])("RRT__tab",u,n.props.tabClass,{"RRT__tab--first":!i,"RRT__tab--selected":r,"RRT__tab--disabled":a,"RRT__tab--collapsed":o});case"panel":return(0,h["default"])("RRT__panel",u,n.props.panelClass);default:return""}},n.getSelectedTabKey=function(){var e=n.props.items,t=n.state.selectedTabKey;if(void 0===t){if(!e[0])return;return e[0].key||0}return t},n.showMoreChanged=function(e){if(e){var t=e.offsetWidth;n.state.showMoreWidth!==t&&n.setState({showMoreWidth:t})}},n.tabRefs={},n.state={tabDimensions:{},blockWidth:0,tabsTotalWidth:0,showMoreWidth:40,selectedTabKey:e.selectedTabKey,focusedTabKey:null},n.onResizeThrottled=(0,b["default"])(n.onResize,e.resizeThrottle,{trailing:!0}),n}return a(t,e),u(t,[{key:"componentDidMount",value:function(){setTimeout(this.setTabsDimensions,0)}},{key:"componentWillReceiveProps",value:function(e){var t=this.props,n=t.items,r=t.selectedTabKey,o={};n!==e.items&&(o.blockWidth=0),r!==e.selectedTabKey&&(o.selectedTabKey=e.selectedTabKey),Object.keys(o).length&&this.setState(o)}},{key:"shouldComponentUpdate",value:function(e,t){var n=this.state,r=n.selectedTabKey,o=n.blockWidth,i=n.showMoreWidth;return this.props.items!==e.items||e.transform!==this.props.transform||e.showMore!==this.props.showMore||e.showInkBar!==this.props.showInkBar||t.blockWidth!==o||t.showMoreWidth!==i||t.selectedTabKey!==r}},{key:"componentDidUpdate",value:function(){this.state.blockWidth||this.setTabsDimensions()}},{key:"render",value:function(){var e=this,t=this.props,n=t.showInkBar,r=t.containerClass,o=t.tabsWrapperClass,i=t.showMore,a=t.transform,s=t.transformWidth,u=this.state,l=u.tabDimensions,p=u.blockWidth,d=this.getTabs(),y=d.tabsVisible,b=d.tabsHidden,v=d.panels,g=p&&a&&s>p,T=this.getSelectedTabKey(),_=l[T]||{},x=(0,h["default"])("RRT__container",r),O=(0,h["default"])("RRT__tabs",o,{RRT__accordion:g});return c["default"].createElement("div",{className:x,ref:function(t){return e.tabsWrapper=t},onKeyDown:this.onKeyDown},c["default"].createElement("div",{className:O},y.reduce(function(t,n){return t.push(c["default"].createElement(w["default"],e.getTabProps(n))),g&&T===n.key&&t.push(c["default"].createElement(P["default"],e.getPanelProps(v[n.key]))),t},[]),!g&&c["default"].createElement(m["default"],{onShowMoreChanged:this.showMoreChanged,isShown:i},b.map(function(t){return c["default"].createElement(w["default"],e.getTabProps(t))}))),n&&!g&&c["default"].createElement(E["default"],{left:_.offset||0,width:_.width||0}),!g&&v[T]&&c["default"].createElement(P["default"],this.getPanelProps(v[T])),(i||a)&&c["default"].createElement(f["default"],{handleWidth:!0,onResize:this.onResizeThrottled}))}}]),t}(l.PureComponent);t["default"]=k,k.propTypes={items:l.PropTypes.oneOfType([l.PropTypes.array,l.PropTypes.object]),selectedTabKey:l.PropTypes.oneOfType([l.PropTypes.number,l.PropTypes.string]),showMore:l.PropTypes.bool,showInkBar:l.PropTypes.bool,transform:l.PropTypes.bool,transformWidth:l.PropTypes.number,onChange:l.PropTypes.func,resizeThrottle:l.PropTypes.number,containerClass:l.PropTypes.string,tabsWrapperClass:l.PropTypes.string,tabClass:l.PropTypes.string,panelClass:l.PropTypes.string},k.defaultProps={items:[],selectedTabKey:void 0,showMore:!0,showInkBar:!1,transform:!0,transformWidth:800,resizeThrottle:100,containerClass:void 0,tabsWrapperClass:void 0,tabClass:void 0,panelClass:void 0,onChange:function(){return null}}}])}); |
@@ -17,4 +17,4 @@ "use strict"; | ||
"div", | ||
{ className: "Tabs__inkbar-wrapper" }, | ||
_react2.default.createElement("div", { className: "Tabs__inkbar", style: { left: left, width: width } }) | ||
{ className: "RRT__inkbar-wrapper" }, | ||
_react2.default.createElement("div", { className: "RRT__inkbar", style: { left: left, width: width } }) | ||
); | ||
@@ -21,0 +21,0 @@ }; |
@@ -106,9 +106,9 @@ 'use strict'; | ||
var listStyles = (0, _classnames2.default)({ | ||
'Tabs__show-more-list': true, | ||
'Tabs__show-more-list--opened': !isListHidden | ||
'RRT__showmore-list': true, | ||
'RRT__showmore-list--opened': !isListHidden | ||
}); | ||
var showMoreLabelStyles = (0, _classnames2.default)({ | ||
'Tabs__show-more-label': true, | ||
'Tabs__show-more-label--selected': !isListHidden | ||
'RRT__showmore-label': true, | ||
'RRT__showmore-label--selected': !isListHidden | ||
}); | ||
@@ -120,3 +120,3 @@ | ||
ref: onShowMoreChanged, | ||
className: 'Tabs__show-more', | ||
className: 'RRT__showmore', | ||
role: 'navigation', | ||
@@ -123,0 +123,0 @@ tabIndex: '0', |
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
"use strict"; | ||
@@ -7,3 +7,3 @@ exports.__esModule = true; | ||
var _react = require('react'); | ||
var _react = require("react"); | ||
@@ -30,8 +30,8 @@ var _react2 = _interopRequireDefault(_react); | ||
_createClass(TabPanel, [{ | ||
key: 'shouldComponentUpdate', | ||
key: "shouldComponentUpdate", | ||
value: function shouldComponentUpdate(nextProps) { | ||
return this.props.getContent !== nextProps.getContent || this.props.children !== nextProps.children || this.props.classNames !== nextProps.classNames || this.props.selected !== nextProps.selected; | ||
return this.props.getContent !== nextProps.getContent || this.props.children !== nextProps.children || this.props.classNames !== nextProps.classNames; | ||
} | ||
}, { | ||
key: 'render', | ||
key: "render", | ||
value: function render() { | ||
@@ -42,3 +42,2 @@ var _props = this.props, | ||
tabId = _props.tabId, | ||
selected = _props.selected, | ||
children = _props.children, | ||
@@ -49,11 +48,5 @@ getContent = _props.getContent; | ||
return _react2.default.createElement( | ||
'div', | ||
{ | ||
className: classNames, | ||
role: 'tabpanel', | ||
id: id, | ||
'aria-labelledby': tabId, | ||
'aria-hidden': selected ? 'false' : 'true' | ||
}, | ||
selected && getContent && getContent(), | ||
"div", | ||
{ className: classNames, role: "tabpanel", id: id, "aria-labelledby": tabId, "aria-hidden": "false" }, | ||
getContent && getContent(), | ||
!getContent && children | ||
@@ -77,3 +70,2 @@ ); | ||
classNames: _react.PropTypes.string.isRequired, | ||
selected: _react.PropTypes.bool.isRequired, | ||
tabId: _react.PropTypes.string.isRequired | ||
@@ -80,0 +72,0 @@ }; |
208
lib/index.js
@@ -21,2 +21,6 @@ 'use strict'; | ||
var _lodash = require('lodash.throttle'); | ||
var _lodash2 = _interopRequireDefault(_lodash); | ||
var _ShowMore = require('./components/ShowMore'); | ||
@@ -58,3 +62,3 @@ | ||
_this.onResize = function () { | ||
return _this.setState({ blockWidth: _this.tabsWrapper.offsetWidth }); | ||
_this.setState({ blockWidth: _this.tabsWrapper.offsetWidth }); | ||
}; | ||
@@ -85,19 +89,23 @@ | ||
_this.setTabsWidth = function () { | ||
_this.setTabsDimensions = function () { | ||
if (!_this.tabsWrapper) { | ||
// it shouldn't happens evern. Just paranoic check | ||
return; | ||
} | ||
// initial wrapper width calculation | ||
var blockWidth = _this.tabsWrapper.offsetWidth; | ||
// calculate width and offset for each tab | ||
var tabsTotalWidth = 0; | ||
var tabsWidth = {}; | ||
var tabsOffset = {}; | ||
var tabDimensions = {}; | ||
Object.keys(_this.tabRefs).forEach(function (key) { | ||
var width = _this.tabRefs[key].tab.offsetWidth; | ||
tabsWidth[key.replace(tabPrefix, '')] = width; | ||
tabsOffset[key.replace(tabPrefix, '')] = tabsTotalWidth; | ||
tabsTotalWidth += width; | ||
if (_this.tabRefs[key]) { | ||
var width = _this.tabRefs[key].tab.offsetWidth; | ||
tabDimensions[key.replace(tabPrefix, '')] = { width: width, offset: tabsTotalWidth }; | ||
tabsTotalWidth += width; | ||
} | ||
}); | ||
_this.setState({ tabsWidth: tabsWidth, tabsOffset: tabsOffset, tabsTotalWidth: tabsTotalWidth, blockWidth: blockWidth }); | ||
_this.setState({ tabDimensions: tabDimensions, tabsTotalWidth: tabsTotalWidth, blockWidth: blockWidth }); | ||
}; | ||
@@ -114,6 +122,6 @@ | ||
tabsTotalWidth = _this$state.tabsTotalWidth, | ||
tabsWidth = _this$state.tabsWidth, | ||
showMoreWidth = _this$state.showMoreWidth, | ||
selectedTabKey = _this$state.selectedTabKey; | ||
tabDimensions = _this$state.tabDimensions, | ||
showMoreWidth = _this$state.showMoreWidth; | ||
var selectedTabKey = _this.getSelectedTabKey(); | ||
var collapsed = blockWidth && transform && blockWidth < transformWidth; | ||
@@ -135,3 +143,3 @@ | ||
var selected = !selectedTabKey && !tabIndex || selectedTabKey === key; | ||
var selected = selectedTabKey === key; | ||
var payload = { tabIndex: tabIndex, collapsed: collapsed, selected: selected, disabled: disabled, key: key }; | ||
@@ -149,3 +157,3 @@ var tabPayload = _extends({}, payload, { | ||
var tabWidth = tabsWidth[key] || 0; | ||
var tabWidth = tabDimensions[key] ? tabDimensions[key].width : 0; | ||
@@ -159,3 +167,3 @@ tabIndex += 1; | ||
// initial call | ||
!blockWidth || !tabsTotalWidth || | ||
!blockWidth || | ||
// collapsed mode | ||
@@ -167,3 +175,3 @@ collapsed || | ||
availableWidth - tabWidth > 0) { | ||
result.tabsVisible[key] = tabPayload; | ||
result.tabsVisible.push(tabPayload); | ||
} else { | ||
@@ -174,7 +182,7 @@ result.tabsHidden.push(tabPayload); | ||
result.panels.push(panelPayload); | ||
result.panels[key] = panelPayload; // eslint-disable-line no-param-reassign | ||
availableWidth -= tabWidth; | ||
return result; | ||
}, { tabsVisible: {}, tabsHidden: [], panels: [] }); | ||
}, { tabsVisible: [], tabsHidden: [], panels: {} }); | ||
}; | ||
@@ -217,7 +225,4 @@ | ||
getContent = _ref2.getContent, | ||
selected = _ref2.selected, | ||
collapsed = _ref2.collapsed, | ||
className = _ref2.className; | ||
return { | ||
selected: selected, | ||
getContent: getContent, | ||
@@ -228,7 +233,3 @@ children: content, | ||
tabId: tabPrefix + key, | ||
classNames: _this.getClassNamesFor('panel', { | ||
selected: selected, | ||
collapsed: collapsed, | ||
className: className | ||
}) | ||
classNames: _this.getClassNamesFor('panel', { className: className }) | ||
}; | ||
@@ -247,13 +248,10 @@ }; | ||
case 'tab': | ||
return (0, _classnames2.default)('Tab', className, _this.props.tabClass, { | ||
'Tab--first': !tabIndex, | ||
'Tab--selected': selected, | ||
'Tab--disabled': disabled, | ||
'Tab--collapsed': collapsed | ||
return (0, _classnames2.default)('RRT__tab', className, _this.props.tabClass, { | ||
'RRT__tab--first': !tabIndex, | ||
'RRT__tab--selected': selected, | ||
'RRT__tab--disabled': disabled, | ||
'RRT__tab--collapsed': collapsed | ||
}); | ||
case 'panel': | ||
return (0, _classnames2.default)('Tab-panel', className, _this.props.panelClass, { | ||
'Tab-panel--selected': selected, | ||
'Tab-panel--collapsed': collapsed | ||
}); | ||
return (0, _classnames2.default)('RRT__panel', className, _this.props.panelClass); | ||
default: | ||
@@ -264,4 +262,20 @@ return ''; | ||
_this.getSelectedTabKey = function () { | ||
var items = _this.props.items; | ||
var selectedTabKey = _this.state.selectedTabKey; | ||
if (typeof selectedTabKey === 'undefined') { | ||
if (!items[0]) { | ||
return undefined; | ||
} | ||
return items[0].key || 0; | ||
} | ||
return selectedTabKey; | ||
}; | ||
_this.showMoreChanged = function (element) { | ||
if (!element || !element) { | ||
if (!element) { | ||
return; | ||
@@ -283,4 +297,3 @@ } | ||
_this.state = { | ||
tabsWidth: {}, | ||
tabsOffset: {}, | ||
tabDimensions: {}, | ||
blockWidth: 0, | ||
@@ -292,2 +305,4 @@ tabsTotalWidth: 0, | ||
}; | ||
_this.onResizeThrottled = (0, _lodash2.default)(_this.onResize, props.resizeThrottle, { trailing: true }); | ||
return _this; | ||
@@ -299,3 +314,3 @@ } | ||
value: function componentDidMount() { | ||
setTimeout(this.setTabsWidth, 0); | ||
setTimeout(this.setTabsDimensions, 0); | ||
} | ||
@@ -305,5 +320,18 @@ }, { | ||
value: function componentWillReceiveProps(nextProps) { | ||
if (this.props.items !== nextProps.items) { | ||
this.setState({ blockWidth: 0 }); | ||
var _props = this.props, | ||
items = _props.items, | ||
selectedTabKey = _props.selectedTabKey; | ||
var newState = {}; | ||
if (items !== nextProps.items) { | ||
newState.blockWidth = 0; | ||
} | ||
if (selectedTabKey !== nextProps.selectedTabKey) { | ||
newState.selectedTabKey = nextProps.selectedTabKey; | ||
} | ||
if (Object.keys(newState).length) { | ||
this.setState(newState); | ||
} | ||
} | ||
@@ -313,3 +341,9 @@ }, { | ||
value: function shouldComponentUpdate(nextProps, nextState) { | ||
return this.props.items !== nextProps.items || nextState.blockWidth !== this.state.blockWidth || nextState.showMoreWidth !== this.state.showMoreWidth || nextState.selectedTabKey !== this.state.selectedTabKey; | ||
var _state = this.state, | ||
selectedTabKey = _state.selectedTabKey, | ||
blockWidth = _state.blockWidth, | ||
showMoreWidth = _state.showMoreWidth; | ||
return this.props.items !== nextProps.items || nextProps.transform !== this.props.transform || nextProps.showMore !== this.props.showMore || nextProps.showInkBar !== this.props.showInkBar || nextState.blockWidth !== blockWidth || nextState.showMoreWidth !== showMoreWidth || nextState.selectedTabKey !== selectedTabKey; | ||
} | ||
@@ -320,3 +354,3 @@ }, { | ||
if (!this.state.blockWidth) { | ||
this.setTabsWidth(); | ||
this.setTabsDimensions(); | ||
} | ||
@@ -329,13 +363,12 @@ } | ||
var _props = this.props, | ||
showInkBar = _props.showInkBar, | ||
wrapperClass = _props.wrapperClass, | ||
showMore = _props.showMore, | ||
transform = _props.transform, | ||
transformWidth = _props.transformWidth; | ||
var _state = this.state, | ||
tabsOffset = _state.tabsOffset, | ||
tabsWidth = _state.tabsWidth, | ||
selectedTabKey = _state.selectedTabKey, | ||
blockWidth = _state.blockWidth; | ||
var _props2 = this.props, | ||
showInkBar = _props2.showInkBar, | ||
containerClass = _props2.containerClass, | ||
tabsWrapperClass = _props2.tabsWrapperClass, | ||
showMore = _props2.showMore, | ||
transform = _props2.transform, | ||
transformWidth = _props2.transformWidth; | ||
var _state2 = this.state, | ||
tabDimensions = _state2.tabDimensions, | ||
blockWidth = _state2.blockWidth; | ||
@@ -347,26 +380,36 @@ var _getTabs = this.getTabs(), | ||
var wrapperClasses = (0, _classnames2.default)('Tabs__wrapper', wrapperClass); | ||
var collapsed = blockWidth && transform && blockWidth < transformWidth; | ||
var selectedTabKey = this.getSelectedTabKey(); | ||
var selectedTabDimensions = tabDimensions[selectedTabKey] || {}; | ||
var containerClasses = (0, _classnames2.default)('RRT__container', containerClass); | ||
var tabsClasses = (0, _classnames2.default)('RRT__tabs', tabsWrapperClass, { RRT__accordion: collapsed }); | ||
return _react2.default.createElement( | ||
'div', | ||
{ className: wrapperClasses, ref: function ref(e) { | ||
{ className: containerClasses, ref: function ref(e) { | ||
return _this2.tabsWrapper = e; | ||
}, onKeyDown: this.onKeyDown }, | ||
panels.reduce(function (result, panel) { | ||
if (tabsVisible[panel.key]) { | ||
result.push(_react2.default.createElement(_Tab2.default, _this2.getTabProps(tabsVisible[panel.key]))); | ||
} | ||
result.push(_react2.default.createElement(_TabPanel2.default, _this2.getPanelProps(panel))); | ||
return result; | ||
}, []), | ||
_react2.default.createElement( | ||
_ShowMore2.default, | ||
{ onShowMoreChanged: this.showMoreChanged, isShown: showMore }, | ||
tabsHidden.map(function (tab) { | ||
return _react2.default.createElement(_Tab2.default, _this2.getTabProps(tab)); | ||
}) | ||
'div', | ||
{ className: tabsClasses }, | ||
tabsVisible.reduce(function (result, tab) { | ||
result.push(_react2.default.createElement(_Tab2.default, _this2.getTabProps(tab))); | ||
if (collapsed && selectedTabKey === tab.key) { | ||
result.push(_react2.default.createElement(_TabPanel2.default, _this2.getPanelProps(panels[tab.key]))); | ||
} | ||
return result; | ||
}, []), | ||
!collapsed && _react2.default.createElement( | ||
_ShowMore2.default, | ||
{ onShowMoreChanged: this.showMoreChanged, isShown: showMore }, | ||
tabsHidden.map(function (tab) { | ||
return _react2.default.createElement(_Tab2.default, _this2.getTabProps(tab)); | ||
}) | ||
) | ||
), | ||
showInkBar && !collapsed && _react2.default.createElement(_InkBar2.default, { left: tabsOffset[selectedTabKey] || 0, width: tabsWidth[selectedTabKey] || 0 }), | ||
(showMore || transform) && _react2.default.createElement(_reactResizeDetector2.default, { handleWidth: true, onResize: this.onResize }) | ||
showInkBar && !collapsed && _react2.default.createElement(_InkBar2.default, { left: selectedTabDimensions.offset || 0, width: selectedTabDimensions.width || 0 }), | ||
!collapsed && panels[selectedTabKey] && _react2.default.createElement(_TabPanel2.default, this.getPanelProps(panels[selectedTabKey])), | ||
(showMore || transform) && _react2.default.createElement(_reactResizeDetector2.default, { handleWidth: true, onResize: this.onResizeThrottled }) | ||
); | ||
@@ -384,13 +427,24 @@ } | ||
/* eslint-disable react/no-unused-prop-types */ | ||
// list of tabs | ||
items: _react.PropTypes.oneOfType([_react.PropTypes.array, _react.PropTypes.object]), | ||
/* eslint-enable react/no-unused-prop-types */ | ||
// selected tab key | ||
selectedTabKey: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.string]), | ||
// move tabs to the special `Show more` tab if they don't fit into a screen | ||
showMore: _react.PropTypes.bool, | ||
// materialUI-like rail under the selected tab | ||
showInkBar: _react.PropTypes.bool, | ||
// transform to the accordion on small screens | ||
transform: _react.PropTypes.bool, | ||
// tabs will be transformed to accodrion for screen sizes below `transformWidth`px | ||
transformWidth: _react.PropTypes.number, | ||
wrapperClass: _react.PropTypes.string, | ||
// onChange active tab callback | ||
onChange: _react.PropTypes.func, | ||
// frequency of onResize recalculation fires | ||
resizeThrottle: _react.PropTypes.number, | ||
// classnames | ||
containerClass: _react.PropTypes.string, | ||
tabsWrapperClass: _react.PropTypes.string, | ||
tabClass: _react.PropTypes.string, | ||
panelClass: _react.PropTypes.string, | ||
onChange: _react.PropTypes.func | ||
panelClass: _react.PropTypes.string | ||
}; | ||
@@ -405,5 +459,7 @@ | ||
transformWidth: 800, | ||
wrapperClass: '', | ||
tabClass: '', | ||
panelClass: '', | ||
resizeThrottle: 100, | ||
containerClass: undefined, | ||
tabsWrapperClass: undefined, | ||
tabClass: undefined, | ||
panelClass: undefined, | ||
onChange: function onChange() { | ||
@@ -410,0 +466,0 @@ return null; |
{ | ||
"author": "Vitalii Maslianok <maslianok@gmail.com> (https://github.com/maslianok)", | ||
"version": "0.9.0", | ||
"version": "1.0.1", | ||
"name": "react-responsive-tabs", | ||
@@ -11,40 +11,2 @@ "description": "React responsive tabs", | ||
}, | ||
"eslintConfig": { | ||
"parser": "babel-eslint", | ||
"extends": "eslint-config-airbnb", | ||
"env": { | ||
"browser": true, | ||
"jest": true | ||
}, | ||
"plugins": [ | ||
"react" | ||
], | ||
"rules": { | ||
"no-underscore-dangle": 0, | ||
"react/jsx-filename-extension": 0, | ||
"import/no-named-default": 0, | ||
"jsx-a11y/no-static-element-interactions": 0, | ||
"no-return-assign": 0, | ||
"comma-dangle": 0, | ||
"import/no-named-as-default": 0, | ||
"max-len": [ | ||
"error", | ||
120 | ||
], | ||
"arrow-parens": [ | ||
"error", | ||
"as-needed", | ||
{ | ||
"requireForBlockBody": false | ||
} | ||
] | ||
}, | ||
"settings": { | ||
"import/resolve": { | ||
"moduleDirectory": [ | ||
"node_modules" | ||
] | ||
} | ||
} | ||
}, | ||
"directories": { | ||
@@ -72,3 +34,3 @@ "example": "examples" | ||
"classnames": "^2.2.3", | ||
"eslint-plugin-import": "^2.2.0", | ||
"lodash.throttle": "^4.1.1", | ||
"react": "^15.4.2", | ||
@@ -79,3 +41,3 @@ "react-resize-detector": "^0.3.0" | ||
"babel-cli": "^6.24.0", | ||
"babel-eslint": "^7.1.1", | ||
"babel-eslint": "^7.2.0", | ||
"babel-jest": "^19.0.0", | ||
@@ -91,4 +53,5 @@ "babel-loader": "^6.4.1", | ||
"eslint-config-airbnb": "^14.1.0", | ||
"eslint-plugin-import": "^2.2.0", | ||
"eslint-plugin-jsx-a11y": "^4.0.0", | ||
"eslint-plugin-react": "^6.10.0", | ||
"eslint-plugin-react": "^6.10.3", | ||
"jest": "^19.0.2", | ||
@@ -95,0 +58,0 @@ "react-scripts": "^0.9.5", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
515131
19
5893
0
19
+ Addedlodash.throttle@^4.1.1
+ Addedlodash.throttle@4.1.1(transitive)
- Removedeslint-plugin-import@^2.2.0
- Removed@eslint-community/eslint-utils@4.4.1(transitive)
- Removed@eslint-community/regexpp@4.12.1(transitive)
- Removed@eslint/config-array@0.19.1(transitive)
- Removed@eslint/core@0.10.0(transitive)
- Removed@eslint/eslintrc@3.2.0(transitive)
- Removed@eslint/js@9.18.0(transitive)
- Removed@eslint/object-schema@2.1.5(transitive)
- Removed@eslint/plugin-kit@0.2.5(transitive)
- Removed@humanfs/core@0.19.1(transitive)
- Removed@humanfs/node@0.16.6(transitive)
- Removed@humanwhocodes/module-importer@1.0.1(transitive)
- Removed@humanwhocodes/retry@0.3.10.4.1(transitive)
- Removed@rtsao/scc@1.1.0(transitive)
- Removed@types/estree@1.0.6(transitive)
- Removed@types/json-schema@7.0.15(transitive)
- Removed@types/json5@0.0.29(transitive)
- Removedacorn@8.14.0(transitive)
- Removedacorn-jsx@5.3.2(transitive)
- Removedajv@6.12.6(transitive)
- Removedansi-styles@4.3.0(transitive)
- Removedargparse@2.0.1(transitive)
- Removedarray-buffer-byte-length@1.0.2(transitive)
- Removedarray-includes@3.1.8(transitive)
- Removedarray.prototype.findlastindex@1.2.5(transitive)
- Removedarray.prototype.flat@1.3.3(transitive)
- Removedarray.prototype.flatmap@1.3.3(transitive)
- Removedarraybuffer.prototype.slice@1.0.4(transitive)
- Removedasync-function@1.0.0(transitive)
- Removedavailable-typed-arrays@1.0.7(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedcall-bind@1.0.8(transitive)
- Removedcall-bind-apply-helpers@1.0.1(transitive)
- Removedcall-bound@1.0.3(transitive)
- Removedcallsites@3.1.0(transitive)
- Removedchalk@4.1.2(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedcross-spawn@7.0.6(transitive)
- Removeddata-view-buffer@1.0.2(transitive)
- Removeddata-view-byte-length@1.0.2(transitive)
- Removeddata-view-byte-offset@1.0.1(transitive)
- Removeddebug@3.2.74.4.0(transitive)
- Removeddeep-is@0.1.4(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removeddefine-properties@1.2.1(transitive)
- Removeddoctrine@2.1.0(transitive)
- Removeddunder-proto@1.0.1(transitive)
- Removedes-abstract@1.23.9(transitive)
- Removedes-define-property@1.0.1(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedes-object-atoms@1.1.1(transitive)
- Removedes-set-tostringtag@2.1.0(transitive)
- Removedes-shim-unscopables@1.0.2(transitive)
- Removedes-to-primitive@1.3.0(transitive)
- Removedescape-string-regexp@4.0.0(transitive)
- Removedeslint@9.18.0(transitive)
- Removedeslint-import-resolver-node@0.3.9(transitive)
- Removedeslint-module-utils@2.12.0(transitive)
- Removedeslint-plugin-import@2.31.0(transitive)
- Removedeslint-scope@8.2.0(transitive)
- Removedeslint-visitor-keys@3.4.34.2.0(transitive)
- Removedespree@10.3.0(transitive)
- Removedesquery@1.6.0(transitive)
- Removedesrecurse@4.3.0(transitive)
- Removedestraverse@5.3.0(transitive)
- Removedesutils@2.0.3(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedfast-levenshtein@2.0.6(transitive)
- Removedfile-entry-cache@8.0.0(transitive)
- Removedfind-up@5.0.0(transitive)
- Removedflat-cache@4.0.1(transitive)
- Removedflatted@3.3.2(transitive)
- Removedfor-each@0.3.3(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedfunction.prototype.name@1.1.8(transitive)
- Removedfunctions-have-names@1.2.3(transitive)
- Removedget-intrinsic@1.2.7(transitive)
- Removedget-proto@1.0.1(transitive)
- Removedget-symbol-description@1.1.0(transitive)
- Removedglob-parent@6.0.2(transitive)
- Removedglobals@14.0.0(transitive)
- Removedglobalthis@1.0.4(transitive)
- Removedgopd@1.2.0(transitive)
- Removedhas-bigints@1.1.0(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.2.0(transitive)
- Removedhas-symbols@1.1.0(transitive)
- Removedhas-tostringtag@1.0.2(transitive)
- Removedhasown@2.0.2(transitive)
- Removedignore@5.3.2(transitive)
- Removedimport-fresh@3.3.0(transitive)
- Removedimurmurhash@0.1.4(transitive)
- Removedinternal-slot@1.1.0(transitive)
- Removedis-array-buffer@3.0.5(transitive)
- Removedis-async-function@2.1.1(transitive)
- Removedis-bigint@1.1.0(transitive)
- Removedis-boolean-object@1.2.1(transitive)
- Removedis-callable@1.2.7(transitive)
- Removedis-core-module@2.16.1(transitive)
- Removedis-data-view@1.0.2(transitive)
- Removedis-date-object@1.1.0(transitive)
- Removedis-extglob@2.1.1(transitive)
- Removedis-finalizationregistry@1.1.1(transitive)
- Removedis-generator-function@1.1.0(transitive)
- Removedis-glob@4.0.3(transitive)
- Removedis-map@2.0.3(transitive)
- Removedis-number-object@1.1.1(transitive)
- Removedis-regex@1.2.1(transitive)
- Removedis-set@2.0.3(transitive)
- Removedis-shared-array-buffer@1.0.4(transitive)
- Removedis-string@1.1.1(transitive)
- Removedis-symbol@1.1.1(transitive)
- Removedis-typed-array@1.1.15(transitive)
- Removedis-weakmap@2.0.2(transitive)
- Removedis-weakref@1.1.0(transitive)
- Removedis-weakset@2.0.4(transitive)
- Removedisarray@2.0.5(transitive)
- Removedisexe@2.0.0(transitive)
- Removedjs-yaml@4.1.0(transitive)
- Removedjson-buffer@3.0.1(transitive)
- Removedjson-schema-traverse@0.4.1(transitive)
- Removedjson-stable-stringify-without-jsonify@1.0.1(transitive)
- Removedjson5@1.0.2(transitive)
- Removedkeyv@4.5.4(transitive)
- Removedlevn@0.4.1(transitive)
- Removedlocate-path@6.0.0(transitive)
- Removedlodash.merge@4.6.2(transitive)
- Removedmath-intrinsics@1.1.0(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedminimist@1.2.8(transitive)
- Removedms@2.1.3(transitive)
- Removednatural-compare@1.4.0(transitive)
- Removedobject-inspect@1.13.3(transitive)
- Removedobject-keys@1.1.1(transitive)
- Removedobject.assign@4.1.7(transitive)
- Removedobject.fromentries@2.0.8(transitive)
- Removedobject.groupby@1.0.3(transitive)
- Removedobject.values@1.2.1(transitive)
- Removedoptionator@0.9.4(transitive)
- Removedown-keys@1.0.1(transitive)
- Removedp-limit@3.1.0(transitive)
- Removedp-locate@5.0.0(transitive)
- Removedparent-module@1.0.1(transitive)
- Removedpath-exists@4.0.0(transitive)
- Removedpath-key@3.1.1(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedpossible-typed-array-names@1.0.0(transitive)
- Removedprelude-ls@1.2.1(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedreflect.getprototypeof@1.0.10(transitive)
- Removedregexp.prototype.flags@1.5.4(transitive)
- Removedresolve@1.22.10(transitive)
- Removedresolve-from@4.0.0(transitive)
- Removedsafe-array-concat@1.1.3(transitive)
- Removedsafe-push-apply@1.0.0(transitive)
- Removedsafe-regex-test@1.1.0(transitive)
- Removedsemver@6.3.1(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedset-function-name@2.0.2(transitive)
- Removedset-proto@1.0.0(transitive)
- Removedshebang-command@2.0.0(transitive)
- Removedshebang-regex@3.0.0(transitive)
- Removedside-channel@1.1.0(transitive)
- Removedside-channel-list@1.0.0(transitive)
- Removedside-channel-map@1.0.1(transitive)
- Removedside-channel-weakmap@1.0.2(transitive)
- Removedstring.prototype.trim@1.2.10(transitive)
- Removedstring.prototype.trimend@1.0.9(transitive)
- Removedstring.prototype.trimstart@1.0.8(transitive)
- Removedstrip-bom@3.0.0(transitive)
- Removedstrip-json-comments@3.1.1(transitive)
- Removedsupports-color@7.2.0(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedtsconfig-paths@3.15.0(transitive)
- Removedtype-check@0.4.0(transitive)
- Removedtyped-array-buffer@1.0.3(transitive)
- Removedtyped-array-byte-length@1.0.3(transitive)
- Removedtyped-array-byte-offset@1.0.4(transitive)
- Removedtyped-array-length@1.0.7(transitive)
- Removedunbox-primitive@1.1.0(transitive)
- Removeduri-js@4.4.1(transitive)
- Removedwhich@2.0.2(transitive)
- Removedwhich-boxed-primitive@1.1.1(transitive)
- Removedwhich-builtin-type@1.2.1(transitive)
- Removedwhich-collection@1.0.2(transitive)
- Removedwhich-typed-array@1.1.18(transitive)
- Removedword-wrap@1.2.5(transitive)
- Removedyocto-queue@0.1.0(transitive)