react-responsive-tabs
Advanced tools
Comparing version 1.1.3 to 1.3.0
@@ -11,3 +11,3 @@ !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.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=16)}([function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,u){if(o(t),!e){var l;if(t===undefined)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],f=0;l=Error(t.replace(/%s/g,function(){return c[f++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}var o=function(e){};e.exports=r},function(e,t,n){"use strict";e.exports=n(17)},function(e,t,n){"use strict";function r(e){return e.ref!==undefined}function o(e){return e.key!==undefined}var i=n(7),a=n(12),s=(n(5),n(10),Object.prototype.hasOwnProperty),u=n(13),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={},f=null,p=null;if(null!=t){r(t)&&(p=t.ref),o(t)&&(f=""+t.key),t.__self===undefined?null:t.__self,t.__source===undefined?null:t.__source;for(i in t)s.call(t,i)&&!l.hasOwnProperty(i)&&(u[i]=t[i])}var d=arguments.length-2;if(1===d)u.children=n;else if(d>1){for(var h=Array(d),y=0;d>y;y++)h[y]=arguments[y+2];u.children=h}if(e&&e.defaultProps){var b=e.defaultProps;for(i in b)u[i]===undefined&&(u[i]=b[i])}return c(e,f,p,0,0,a.current,u)},c.createFactory=function(e){var t=c.createElement.bind(null,e);return t.type=e,t},c.cloneAndReplaceKey=function(e,t){return c(e.type,t,e.ref,0,0,e._owner,e.props)},c.cloneElement=function(e,t,n){var u,f=i({},e.props),p=e.key,d=e.ref,h=e._owner;if(null!=t){r(t)&&(d=t.ref,h=a.current),o(t)&&(p=""+t.key);var y;e.type&&e.type.defaultProps&&(y=e.type.defaultProps);for(u in t)s.call(t,u)&&!l.hasOwnProperty(u)&&(f[u]=t[u]===undefined&&y!==undefined?y[u]:t[u])}var b=arguments.length-2;if(1===b)f.children=n;else if(b>1){for(var m=Array(b),v=0;b>v;v++)m[v]=arguments[v+2];f.children=m}return c(e.type,p,d,0,0,h,f)},c.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===u},e.exports=c},function(e,t,n){e.exports=n(36)()},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";var r=n(6),o=r;e.exports=o},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";function r(e){if(null===e||e===undefined)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}/* | ||
*/ | ||
!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))!==undefined&&(e.exports=o))}()},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),f=n(34),p=r(f),d=n(15),h=r(d),y=n(38),b=r(y),m=n(3),v=r(m),g=n(40),w=r(g),_=n(41),E=r(_),x=n(42),T=r(x),O=n(43),P=r(O),j="tab-",k="panel-",C=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.tabsWrapper&&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(j,"")]={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,f=a.showMoreWidth,p=n.getSelectedTabKey(),d=u&&r&&o>u,h=0,y=u-(l>u?f:0);return i.reduce(function(e,n,r){var o=n.key,i=o===undefined?r:o,a=n.title,f=n.content,b=n.getContent,m=n.disabled,v=n.tabClassName,g=n.panelClassName,w=p===i,_={tabIndex:h,collapsed:d,selected:w,disabled:m,key:i},E=s({},_,{title:a,className:v}),x=s({},_,{content:f,getContent:b,className:g}),T=c[i]?c[i].width:0;return h+=1,!t||!u||d||u>l||y-T>0?e.tabsVisible.push(E):e.tabsHidden.push(E),e.panels[i]=x,y-=T,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:j+r,id:j+r,ref:function(e){return n.tabRefs[j+r]=e},originalKey:r,onClick:n.onChangeTab,onFocus:n.onFocusTab,onBlur:n.onBlurTab,panelId:k+r,classNames:n.getClassNamesFor("tab",{selected:o,collapsed:i,tabIndex:a,disabled:s,className:u})}},n.getPanelProps=function(e){var t=e.key;return{getContent:e.getContent,children:e.content,key:k+t,id:k+t,tabId:j+t,classNames:n.getClassNamesFor("panel",{className:e.className})}},n.getClassNamesFor=function(e,t){var r=t.selected,o=t.collapsed,i=t.tabIndex,a=t.disabled,s=t.className,u=s===undefined?"":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;return void 0===t?e[0]?e[0].key||0:undefined: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,f=u.blockWidth,d=this.getTabs(),y=d.tabsVisible,b=d.tabsHidden,m=d.panels,v=f&&a&&s>f,g=this.getSelectedTabKey(),_=l[g]||{},x=(0,h["default"])("RRT__container",r),O=(0,h["default"])("RRT__tabs",o,{RRT__accordion:v});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(E["default"],e.getTabProps(n))),v&&g===n.key&&t.push(c["default"].createElement(T["default"],e.getPanelProps(m[n.key]))),t},[]),!v&&c["default"].createElement(w["default"],{onShowMoreChanged:this.showMoreChanged,isShown:i},b.map(function(t){return c["default"].createElement(E["default"],e.getTabProps(t))}))),n&&!v&&c["default"].createElement(P["default"],{left:_.offset||0,width:_.width||0}),!v&&m[g]&&c["default"].createElement(T["default"],this.getPanelProps(m[g])),(i||a)&&c["default"].createElement(p["default"],{handleWidth:!0,onResize:this.onResizeThrottled}))}}]),t}(l.PureComponent);t["default"]=C,C.propTypes={items:v["default"].oneOfType([v["default"].array,v["default"].object]),selectedTabKey:v["default"].oneOfType([v["default"].number,v["default"].string]),showMore:v["default"].bool,showInkBar:v["default"].bool,transform:v["default"].bool,transformWidth:v["default"].number,onChange:v["default"].func,resizeThrottle:v["default"].number,containerClass:v["default"].string,tabsWrapperClass:v["default"].string,tabClass:v["default"].string,panelClass:v["default"].string},C.defaultProps={items:[],selectedTabKey:undefined,showMore:!0,showInkBar:!1,transform:!0,transformWidth:800,resizeThrottle:100,containerClass:undefined,tabsWrapperClass:undefined,tabClass:undefined,panelClass:undefined,onChange:function(){return null}}},function(e,t,n){"use strict";var r=n(7),o=n(8),i=n(19),a=n(24),s=n(2),u=n(25),l=n(29),c=n(30),f=n(33),p=s.createElement,d=s.createFactory,h=s.cloneElement,y=r,b=function(e){return e},m={Children:{map:i.map,forEach:i.forEach,count:i.count,toArray:i.toArray,only:f},Component:o.Component,PureComponent:o.PureComponent,createElement:p,cloneElement:h,isValidElement:s.isValidElement,PropTypes:u,createClass:c,createFactory:d,createMixin:b,DOM:a,version:l,__spread:y};e.exports=m},function(e,t,n){"use strict";var r=function(){};e.exports=r},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){e.func.call(e.context,t,e.count++)}function a(e,t,n){if(null==e)return e;var r=o.getPooled(t,n);m(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);m(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 f(e,t,n){return null}function p(e,t){return m(e,f,null)}function d(e){var t=[];return l(e,t,null,b.thatReturnsArgument),t}var h=n(20),y=n(2),b=n(6),m=n(21),v=h.twoArgumentPooler,g=h.fourArgumentPooler,w=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(o,v),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(s,g),e.exports={forEach:a,map:c,mapIntoWithKeyPrefixInternal:l,count:p,toArray:d}},function(e,t,n){"use strict";var r=n(4),o=(n(0),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||r("25"),e.destructor(),t.poolSize>t.instancePool.length&&t.instancePool.push(e)},l=o;e.exports={addPoolingTo:function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||l,n.poolSize||(n.poolSize=10),n.release=u,n},oneArgumentPooler:o,twoArgumentPooler:i,threeArgumentPooler:a,fourArgumentPooler:s}},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 p=typeof e;if("undefined"!==p&&"boolean"!==p||(e=null),null===e||"string"===p||"number"===p||"object"===p&&e.$$typeof===s)return n(i,e,""===t?c+r(e,0):t),1;var d,h,y=0,b=""===t?c:t+f;if(Array.isArray(e))for(var m=0;e.length>m;m++)d=e[m],h=b+r(d,m),y+=o(d,h,n,i);else{var v=u(e);if(v){var g,w=v.call(e);if(v!==e.entries)for(var _=0;!(g=w.next()).done;)d=g.value,h=b+r(d,_++),y+=o(d,h,n,i);else for(;!(g=w.next()).done;){var E=g.value;E&&(d=E[1],h=b+l.escape(E[0])+f+r(d,0),y+=o(d,h,n,i))}}else if("object"===p){var x="",T=e+"";a("31","[object Object]"===T?"object with keys {"+Object.keys(e).join(", ")+"}":T,x)}}return y}function i(e,t,n){return null==e?0:o(e,"",t,n)}var a=n(4),s=(n(12),n(13)),u=n(22),l=(n(0),n(23)),c=(n(5),"."),f=":";e.exports=i},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){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function o(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"};return(""+e.substring("."===e[0]&&"$"===e[1]?2:1)).replace(t,function(e){return n[e]})}e.exports={escape:r,unescape:o}},function(e,t,n){"use strict";var r=n(2),o=r.createFactory;e.exports={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")}},function(e,t,n){"use strict";var r=n(2),o=r.isValidElement;e.exports=n(26)(o)},function(e,t,n){"use strict";var r=n(27);e.exports=function(e){return r(e,!1)}},function(e,t,n){"use strict";var r=n(6),o=n(0),i=n(5),a=n(14),s=n(28);e.exports=function(e,t){function n(e){var t=e&&(T&&e[T]||e[O]);if("function"==typeof t)return t}function u(e,t){return e===t?0!==e||1/e==1/t:e!==e&&t!==t}function l(e){this.message=e,this.stack=""}function c(e){function n(n,r,i,s,u,c,f){if(s=s||P,c=c||i,f!==a)if(t)o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else;return null==r[i]?n?new l(null===r[i]?"The "+u+" `"+c+"` is marked as required in `"+s+"`, but its value is `null`.":"The "+u+" `"+c+"` is marked as required in `"+s+"`, but its value is `undefined`."):null:e(r,i,s,u,c)}var r=n.bind(null,!1);return r.isRequired=n.bind(null,!0),r}function f(e){function t(t,n,r,o,i,a){var s=t[n];if(w(s)!==e)return new l("Invalid "+o+" `"+i+"` of type `"+_(s)+"` supplied to `"+r+"`, expected `"+e+"`.");return null}return c(t)}function p(e){function t(t,n,r,o,i){if("function"!=typeof e)return new l("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){return new l("Invalid "+o+" `"+i+"` of type `"+w(s)+"` supplied to `"+r+"`, expected an array.")}for(var u=0;s.length>u;u++){var c=e(s,u,r,o,i+"["+u+"]",a);if(c instanceof Error)return c}return null}return c(t)}function d(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||P;return new l("Invalid "+o+" `"+i+"` of type `"+x(t[n])+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}return null}return c(t)}function h(e){function t(t,n,r,o,i){for(var a=t[n],s=0;e.length>s;s++)if(u(a,e[s]))return null;return new l("Invalid "+o+" `"+i+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+JSON.stringify(e)+".")}return Array.isArray(e)?c(t):r.thatReturnsNull}function y(e){function t(t,n,r,o,i){if("function"!=typeof e)return new l("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],u=w(s);if("object"!==u)return new l("Invalid "+o+" `"+i+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var c in s)if(s.hasOwnProperty(c)){var f=e(s,c,r,o,i+"."+c,a);if(f instanceof Error)return f}return null}return c(t)}function b(e){function t(t,n,r,o,i){for(var s=0;e.length>s;s++){if(null==(0,e[s])(t,n,r,o,i,a))return null}return new l("Invalid "+o+" `"+i+"` supplied to `"+r+"`.")}if(!Array.isArray(e))return r.thatReturnsNull;for(var n=0;e.length>n;n++){var o=e[n];if("function"!=typeof o)return i(!1,"Invalid argument supplid to oneOfType. Expected an array of check functions, but received %s at index %s.",E(o),n),r.thatReturnsNull}return c(t)}function m(e){function t(t,n,r,o,i){var s=t[n],u=w(s);if("object"!==u)return new l("Invalid "+o+" `"+i+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var f=e[c];if(f){var p=f(s,c,r,o,i+"."+c,a);if(p)return p}}return null}return c(t)}function v(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(v);if(null===t||e(t))return!0;var r=n(t);if(!r)return!1;var o,i=r.call(t);if(r!==t.entries){for(;!(o=i.next()).done;)if(!v(o.value))return!1}else for(;!(o=i.next()).done;){var a=o.value;if(a&&!v(a[1]))return!1}return!0;default:return!1}}function g(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function w(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":g(t,e)?"symbol":t}function _(e){if(void 0===e||null===e)return""+e;var t=w(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function E(e){var t=_(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function x(e){return e.constructor&&e.constructor.name?e.constructor.name:P}var T="function"==typeof Symbol&&Symbol.iterator,O="@@iterator",P="<<anonymous>>",j={array:f("array"),bool:f("boolean"),func:f("function"),number:f("number"),object:f("object"),string:f("string"),symbol:f("symbol"),any:function(){return c(r.thatReturnsNull)}(),arrayOf:p,element:function(){function t(t,n,r,o,i){var a=t[n];if(!e(a)){return new l("Invalid "+o+" `"+i+"` of type `"+w(a)+"` supplied to `"+r+"`, expected a single ReactElement.")}return null}return c(t)}(),instanceOf:d,node:function(){function e(e,t,n,r,o){return v(e[t])?null:new l("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}return c(e)}(),objectOf:y,oneOf:h,oneOfType:b,shape:m};return l.prototype=Error.prototype,j.checkPropTypes=s,j.PropTypes=j,j}},function(e,t,n){"use strict";function r(e,t,n,r,o){}e.exports=r},function(e,t,n){"use strict";e.exports="15.6.1"},function(e,t,n){"use strict";var r=n(8),o=r.Component,i=n(2),a=i.isValidElement,s=n(9);e.exports=n(31)(o,a,s)},function(e,t,n){"use strict";function r(e){return e}function o(e,t,n){function o(e,t){var n=v.hasOwnProperty(t)?v[t]:null;E.hasOwnProperty(t)&&s("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&s("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function l(e,n){if(n){s("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),s(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,i=r.__reactAutoBindPairs;n.hasOwnProperty(u)&&g.mixins(e,n.mixins);for(var a in n)if(n.hasOwnProperty(a)&&a!==u){var l=n[a],c=r.hasOwnProperty(a);if(o(c,a),g.hasOwnProperty(a))g[a](e,l);else{var f=v.hasOwnProperty(a),h="function"==typeof l,y=h&&!f&&!c&&!1!==n.autobind;if(y)i.push(a,l),r[a]=l;else if(c){var b=v[a];s(f&&("DEFINE_MANY_MERGED"===b||"DEFINE_MANY"===b),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",b,a),"DEFINE_MANY_MERGED"===b?r[a]=p(r[a],l):"DEFINE_MANY"===b&&(r[a]=d(r[a],l))}else r[a]=l}}}else;}function c(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in g;s(!o,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var i=n in e;s(!i,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),e[n]=r}}}function f(e,t){s(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in t)t.hasOwnProperty(n)&&(s(e[n]===undefined,"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function p(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 f(o,n),f(o,r),o}}function d(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function h(e,t){var n=t.bind(e);return n}function y(e){for(var t=e.__reactAutoBindPairs,n=0;t.length>n;n+=2){e[t[n]]=h(e,t[n+1])}}function b(e){var t=r(function(e,r,o){this.__reactAutoBindPairs.length&&y(this),this.props=e,this.context=r,this.refs=a,this.updater=o||n,this.state=null;var i=this.getInitialState?this.getInitialState():null;s("object"==typeof i&&!Array.isArray(i),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=i});t.prototype=new x,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],m.forEach(l.bind(null,t)),l(t,w),l(t,e),l(t,_),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),s(t.prototype.render,"createClass(...): Class specification must implement a `render` method.");for(var o in v)t.prototype[o]||(t.prototype[o]=null);return t}var m=[],v={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"},g={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;t.length>n;n++)l(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=i({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=i({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps=e.getDefaultProps?p(e.getDefaultProps,t):t},propTypes:function(e,t){e.propTypes=i({},e.propTypes,t)},statics:function(e,t){c(e,t)},autobind:function(){}},w={componentDidMount:function(){this.__isMounted=!0}},_={componentWillUnmount:function(){this.__isMounted=!1}},E={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},x=function(){};return i(x.prototype,e.prototype,E),b}var i=n(32),a=n(11),s=n(0),u="mixins";e.exports=o},function(e,t,n){"use strict";function r(e){if(null===e||e===undefined)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}/* | ||
!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))!==undefined&&(e.exports=o))}()},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),f=n(34),p=r(f),d=n(15),h=r(d),y=n(38),b=r(y),m=n(3),v=r(m),g=n(40),w=r(g),_=n(41),E=r(_),x=n(42),T=r(x),O=n(43),P=r(O),j="tab-",k="panel-",C=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.tabsWrapper&&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(j,"")]={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,f=a.showMoreWidth,p=n.getSelectedTabKey(),d=u&&r&&o>u,h=0,y=u-(l>u?f:0);return i.reduce(function(e,n,r){var o=n.key,i=o===undefined?r:o,a=n.title,f=n.content,b=n.getContent,m=n.disabled,v=n.tabClassName,g=n.panelClassName,w=p===i,_={tabIndex:h,collapsed:d,selected:w,disabled:m,key:i},E=s({},_,{title:a,className:v}),x=s({},_,{content:f,getContent:b,className:g}),T=c[i]?c[i].width:0;return h+=1,!t||!u||d||u>l||y-T>0?e.tabsVisible.push(E):e.tabsHidden.push(E),e.panels[i]=x,y-=T,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:j+r,id:j+r,ref:function(e){return n.tabRefs[j+r]=e},originalKey:r,onClick:n.onChangeTab,onFocus:n.onFocusTab,onBlur:n.onBlurTab,panelId:k+r,classNames:n.getClassNamesFor("tab",{selected:o,collapsed:i,tabIndex:a,disabled:s,className:u})}},n.getPanelProps=function(e){var t=e.key;return{getContent:e.getContent,children:e.content,key:k+t,id:k+t,tabId:j+t,classNames:n.getClassNamesFor("panel",{className:e.className})}},n.getClassNamesFor=function(e,t){var r=t.selected,o=t.collapsed,i=t.tabIndex,a=t.disabled,s=t.className,u=s===undefined?"":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;return void 0===t?e[0]?e[0].key||0:undefined: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,f=u.blockWidth,d=this.getTabs(),y=d.tabsVisible,b=d.tabsHidden,m=d.panels,v=f&&a&&s>f,g=this.getSelectedTabKey(),_=l[g]||{},x=(0,h["default"])("RRT__container",r),O=(0,h["default"])("RRT__tabs",o,{RRT__accordion:v});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(E["default"],e.getTabProps(n))),v&&g===n.key&&t.push(c["default"].createElement(T["default"],e.getPanelProps(m[n.key]))),t},[]),!v&&c["default"].createElement(w["default"],{onShowMoreChanged:this.showMoreChanged,isShown:i},b.map(function(t){return c["default"].createElement(E["default"],e.getTabProps(t))}))),n&&!v&&c["default"].createElement(P["default"],{left:_.offset||0,width:_.width||0}),!v&&m[g]&&c["default"].createElement(T["default"],this.getPanelProps(m[g])),(i||a)&&c["default"].createElement(p["default"],{handleWidth:!0,onResize:this.onResizeThrottled}))}}]),t}(l.Component);t["default"]=C,C.propTypes={items:v["default"].oneOfType([v["default"].array,v["default"].object]),selectedTabKey:v["default"].oneOfType([v["default"].number,v["default"].string]),showMore:v["default"].bool,showInkBar:v["default"].bool,transform:v["default"].bool,transformWidth:v["default"].number,onChange:v["default"].func,resizeThrottle:v["default"].number,containerClass:v["default"].string,tabsWrapperClass:v["default"].string,tabClass:v["default"].string,panelClass:v["default"].string},C.defaultProps={items:[],selectedTabKey:undefined,showMore:!0,showInkBar:!1,transform:!0,transformWidth:800,resizeThrottle:100,containerClass:undefined,tabsWrapperClass:undefined,tabClass:undefined,panelClass:undefined,onChange:function(){return null}}},function(e,t,n){"use strict";var r=n(7),o=n(8),i=n(19),a=n(24),s=n(2),u=n(25),l=n(29),c=n(30),f=n(33),p=s.createElement,d=s.createFactory,h=s.cloneElement,y=r,b=function(e){return e},m={Children:{map:i.map,forEach:i.forEach,count:i.count,toArray:i.toArray,only:f},Component:o.Component,PureComponent:o.PureComponent,createElement:p,cloneElement:h,isValidElement:s.isValidElement,PropTypes:u,createClass:c,createFactory:d,createMixin:b,DOM:a,version:l,__spread:y};e.exports=m},function(e,t,n){"use strict";var r=function(){};e.exports=r},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){e.func.call(e.context,t,e.count++)}function a(e,t,n){if(null==e)return e;var r=o.getPooled(t,n);m(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);m(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 f(e,t,n){return null}function p(e,t){return m(e,f,null)}function d(e){var t=[];return l(e,t,null,b.thatReturnsArgument),t}var h=n(20),y=n(2),b=n(6),m=n(21),v=h.twoArgumentPooler,g=h.fourArgumentPooler,w=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(o,v),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(s,g),e.exports={forEach:a,map:c,mapIntoWithKeyPrefixInternal:l,count:p,toArray:d}},function(e,t,n){"use strict";var r=n(4),o=(n(0),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||r("25"),e.destructor(),t.poolSize>t.instancePool.length&&t.instancePool.push(e)},l=o;e.exports={addPoolingTo:function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||l,n.poolSize||(n.poolSize=10),n.release=u,n},oneArgumentPooler:o,twoArgumentPooler:i,threeArgumentPooler:a,fourArgumentPooler:s}},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 p=typeof e;if("undefined"!==p&&"boolean"!==p||(e=null),null===e||"string"===p||"number"===p||"object"===p&&e.$$typeof===s)return n(i,e,""===t?c+r(e,0):t),1;var d,h,y=0,b=""===t?c:t+f;if(Array.isArray(e))for(var m=0;e.length>m;m++)d=e[m],h=b+r(d,m),y+=o(d,h,n,i);else{var v=u(e);if(v){var g,w=v.call(e);if(v!==e.entries)for(var _=0;!(g=w.next()).done;)d=g.value,h=b+r(d,_++),y+=o(d,h,n,i);else for(;!(g=w.next()).done;){var E=g.value;E&&(d=E[1],h=b+l.escape(E[0])+f+r(d,0),y+=o(d,h,n,i))}}else if("object"===p){var x="",T=e+"";a("31","[object Object]"===T?"object with keys {"+Object.keys(e).join(", ")+"}":T,x)}}return y}function i(e,t,n){return null==e?0:o(e,"",t,n)}var a=n(4),s=(n(12),n(13)),u=n(22),l=(n(0),n(23)),c=(n(5),"."),f=":";e.exports=i},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){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function o(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"};return(""+e.substring("."===e[0]&&"$"===e[1]?2:1)).replace(t,function(e){return n[e]})}e.exports={escape:r,unescape:o}},function(e,t,n){"use strict";var r=n(2),o=r.createFactory;e.exports={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")}},function(e,t,n){"use strict";var r=n(2),o=r.isValidElement;e.exports=n(26)(o)},function(e,t,n){"use strict";var r=n(27);e.exports=function(e){return r(e,!1)}},function(e,t,n){"use strict";var r=n(6),o=n(0),i=n(5),a=n(14),s=n(28);e.exports=function(e,t){function n(e){var t=e&&(T&&e[T]||e[O]);if("function"==typeof t)return t}function u(e,t){return e===t?0!==e||1/e==1/t:e!==e&&t!==t}function l(e){this.message=e,this.stack=""}function c(e){function n(n,r,i,s,u,c,f){if(s=s||P,c=c||i,f!==a)if(t)o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else;return null==r[i]?n?new l(null===r[i]?"The "+u+" `"+c+"` is marked as required in `"+s+"`, but its value is `null`.":"The "+u+" `"+c+"` is marked as required in `"+s+"`, but its value is `undefined`."):null:e(r,i,s,u,c)}var r=n.bind(null,!1);return r.isRequired=n.bind(null,!0),r}function f(e){function t(t,n,r,o,i,a){var s=t[n];if(w(s)!==e)return new l("Invalid "+o+" `"+i+"` of type `"+_(s)+"` supplied to `"+r+"`, expected `"+e+"`.");return null}return c(t)}function p(e){function t(t,n,r,o,i){if("function"!=typeof e)return new l("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){return new l("Invalid "+o+" `"+i+"` of type `"+w(s)+"` supplied to `"+r+"`, expected an array.")}for(var u=0;s.length>u;u++){var c=e(s,u,r,o,i+"["+u+"]",a);if(c instanceof Error)return c}return null}return c(t)}function d(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||P;return new l("Invalid "+o+" `"+i+"` of type `"+x(t[n])+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}return null}return c(t)}function h(e){function t(t,n,r,o,i){for(var a=t[n],s=0;e.length>s;s++)if(u(a,e[s]))return null;return new l("Invalid "+o+" `"+i+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+JSON.stringify(e)+".")}return Array.isArray(e)?c(t):r.thatReturnsNull}function y(e){function t(t,n,r,o,i){if("function"!=typeof e)return new l("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],u=w(s);if("object"!==u)return new l("Invalid "+o+" `"+i+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var c in s)if(s.hasOwnProperty(c)){var f=e(s,c,r,o,i+"."+c,a);if(f instanceof Error)return f}return null}return c(t)}function b(e){function t(t,n,r,o,i){for(var s=0;e.length>s;s++){if(null==(0,e[s])(t,n,r,o,i,a))return null}return new l("Invalid "+o+" `"+i+"` supplied to `"+r+"`.")}if(!Array.isArray(e))return r.thatReturnsNull;for(var n=0;e.length>n;n++){var o=e[n];if("function"!=typeof o)return i(!1,"Invalid argument supplid to oneOfType. Expected an array of check functions, but received %s at index %s.",E(o),n),r.thatReturnsNull}return c(t)}function m(e){function t(t,n,r,o,i){var s=t[n],u=w(s);if("object"!==u)return new l("Invalid "+o+" `"+i+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var f=e[c];if(f){var p=f(s,c,r,o,i+"."+c,a);if(p)return p}}return null}return c(t)}function v(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(v);if(null===t||e(t))return!0;var r=n(t);if(!r)return!1;var o,i=r.call(t);if(r!==t.entries){for(;!(o=i.next()).done;)if(!v(o.value))return!1}else for(;!(o=i.next()).done;){var a=o.value;if(a&&!v(a[1]))return!1}return!0;default:return!1}}function g(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function w(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":g(t,e)?"symbol":t}function _(e){if(void 0===e||null===e)return""+e;var t=w(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function E(e){var t=_(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function x(e){return e.constructor&&e.constructor.name?e.constructor.name:P}var T="function"==typeof Symbol&&Symbol.iterator,O="@@iterator",P="<<anonymous>>",j={array:f("array"),bool:f("boolean"),func:f("function"),number:f("number"),object:f("object"),string:f("string"),symbol:f("symbol"),any:function(){return c(r.thatReturnsNull)}(),arrayOf:p,element:function(){function t(t,n,r,o,i){var a=t[n];if(!e(a)){return new l("Invalid "+o+" `"+i+"` of type `"+w(a)+"` supplied to `"+r+"`, expected a single ReactElement.")}return null}return c(t)}(),instanceOf:d,node:function(){function e(e,t,n,r,o){return v(e[t])?null:new l("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}return c(e)}(),objectOf:y,oneOf:h,oneOfType:b,shape:m};return l.prototype=Error.prototype,j.checkPropTypes=s,j.PropTypes=j,j}},function(e,t,n){"use strict";function r(e,t,n,r,o){}e.exports=r},function(e,t,n){"use strict";e.exports="15.6.1"},function(e,t,n){"use strict";var r=n(8),o=r.Component,i=n(2),a=i.isValidElement,s=n(9);e.exports=n(31)(o,a,s)},function(e,t,n){"use strict";function r(e){return e}function o(e,t,n){function o(e,t){var n=v.hasOwnProperty(t)?v[t]:null;E.hasOwnProperty(t)&&s("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&s("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function l(e,n){if(n){s("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),s(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,i=r.__reactAutoBindPairs;n.hasOwnProperty(u)&&g.mixins(e,n.mixins);for(var a in n)if(n.hasOwnProperty(a)&&a!==u){var l=n[a],c=r.hasOwnProperty(a);if(o(c,a),g.hasOwnProperty(a))g[a](e,l);else{var f=v.hasOwnProperty(a),h="function"==typeof l,y=h&&!f&&!c&&!1!==n.autobind;if(y)i.push(a,l),r[a]=l;else if(c){var b=v[a];s(f&&("DEFINE_MANY_MERGED"===b||"DEFINE_MANY"===b),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",b,a),"DEFINE_MANY_MERGED"===b?r[a]=p(r[a],l):"DEFINE_MANY"===b&&(r[a]=d(r[a],l))}else r[a]=l}}}else;}function c(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in g;s(!o,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var i=n in e;s(!i,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),e[n]=r}}}function f(e,t){s(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in t)t.hasOwnProperty(n)&&(s(e[n]===undefined,"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function p(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 f(o,n),f(o,r),o}}function d(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function h(e,t){var n=t.bind(e);return n}function y(e){for(var t=e.__reactAutoBindPairs,n=0;t.length>n;n+=2){e[t[n]]=h(e,t[n+1])}}function b(e){var t=r(function(e,r,o){this.__reactAutoBindPairs.length&&y(this),this.props=e,this.context=r,this.refs=a,this.updater=o||n,this.state=null;var i=this.getInitialState?this.getInitialState():null;s("object"==typeof i&&!Array.isArray(i),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=i});t.prototype=new x,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],m.forEach(l.bind(null,t)),l(t,w),l(t,e),l(t,_),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),s(t.prototype.render,"createClass(...): Class specification must implement a `render` method.");for(var o in v)t.prototype[o]||(t.prototype[o]=null);return t}var m=[],v={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"},g={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;t.length>n;n++)l(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=i({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=i({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps=e.getDefaultProps?p(e.getDefaultProps,t):t},propTypes:function(e,t){e.propTypes=i({},e.propTypes,t)},statics:function(e,t){c(e,t)},autobind:function(){}},w={componentDidMount:function(){this.__isMounted=!0}},_={componentWillUnmount:function(){this.__isMounted=!1}},E={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},x=function(){};return i(x.prototype,e.prototype,E),b}var i=n(32),a=n(11),s=n(0),u="mixins";e.exports=o},function(e,t,n){"use strict";function r(e){if(null===e||e===undefined)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}/* | ||
object-assign | ||
@@ -17,2 +17,2 @@ (c) Sindre Sorhus | ||
*/ | ||
var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){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;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,s,u=r(e),l=1;arguments.length>l;l++){n=Object(arguments[l]);for(var c in n)i.call(n,c)&&(u[c]=n[c]);if(o){s=o(n);for(var f=0;s.length>f;f++)a.call(n,s[f])&&(u[s[f]]=n[s[f]])}}return u}},function(e,t,n){"use strict";function r(e){return i.isValidElement(e)||o("143"),e}var o=n(4),i=n(2);n(0);e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(35);t["default"]=function(e){return e&&e.__esModule?e:{"default":e}}(r)["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=undefined;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),f=r(c),p=n(3),d=r(p),h=n(37),y=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),this.props.onResize(n,r)}},{key:"shouldComponentUpdate",value:function(e,t){return this.props!==e||this.state!==t}},{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(e){if("undefined"!=typeof window){e.preventDefault(),e.stopPropagation();var t=this.state,n=this.containerSize(),r=u(n,2),o=r[0],i=r[1];o===t.lastWidth&&i===t.lastHeight||this.props.onResize(o,i),this.reset(o,i)}}},{key:"render",value:function(){var e=this,t=this.state,n=s({},h.expandChildStyle,{width:t.expandChildWidth,height:t.expandChildHeight});return f["default"].createElement("div",{style:h.parentStyle,ref:function(t){e.container=t}},f["default"].createElement("div",{style:h.parentStyle,onScroll:this.handleScroll,ref:function(t){e.expand=t}},f["default"].createElement("div",{style:n})),f["default"].createElement("div",{style:h.parentStyle,onScroll:this.handleScroll,ref:function(t){e.shrink=t}},f["default"].createElement("div",{style:h.shrinkChildStyle})))}}]),t}(c.Component);t["default"]=y,y.propTypes={handleWidth:d["default"].bool,handleHeight:d["default"].bool,onResize:d["default"].func},y.defaultProps={handleWidth:!1,handleHeight:!1,onResize:function(e){return e}}},function(e,t,n){"use strict";var r=n(6),o=n(0),i=n(14);e.exports=function(){function e(e,t,n,r,a,s){s!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},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:"hidden",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){(function(t){function n(e,t,n){function r(t){var n=y,r=b;return y=b=undefined,T=t,v=e.apply(r,n)}function i(e){return T=e,g=setTimeout(c,t),O?r(e):v}function a(e){var n=e-w,r=e-T,o=t-n;return P?E(o,m-r):o}function l(e){var n=e-w,r=e-T;return w===undefined||n>=t||0>n||P&&r>=m}function c(){var e=x();if(l(e))return f(e);g=setTimeout(c,a(e))}function f(e){return g=undefined,j&&y?r(e):(y=b=undefined,v)}function p(){g!==undefined&&clearTimeout(g),T=0,y=w=b=g=undefined}function d(){return g===undefined?v:f(x())}function h(){var e=x(),n=l(e);if(y=arguments,b=this,w=e,n){if(g===undefined)return i(w);if(P)return g=setTimeout(c,t),r(w)}return g===undefined&&(g=setTimeout(c,t)),v}var y,b,m,v,g,w,T=0,O=!1,P=!1,j=!0;if("function"!=typeof e)throw new TypeError(u);return t=s(t)||0,o(n)&&(O=!!n.leading,P="maxWait"in n,m=P?_(s(n.maxWait)||0,t):m,j="trailing"in n?!!n.trailing:j),h.cancel=p,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(f,"");var n=d.test(e);return n||h.test(e)?y(e.slice(2),n?2:8):p.test(e)?l:+e}var u="Expected a function",l=NaN,c="[object Symbol]",f=/^\s+|\s+$/g,p=/^[-+]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,m="object"==typeof self&&self&&self.Object===Object&&self,v=b||m||Function("return this")(),g=Object.prototype,w=g.toString,_=Math.max,E=Math.min,x=function(){return v.Date.now()};e.exports=r}).call(t,n(39))},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=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(15),f=r(c),p=n(3),d=r(p),h=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,f["default"])({"RRT__showmore-list":!0,"RRT__showmore-list--opened":!o}),a=(0,f["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"]=h,h.propTypes={children:d["default"].oneOfType([d["default"].array,d["default"].object,d["default"].string]),isShown:d["default"].bool.isRequired,onShowMoreChanged:d["default"].func},h.defaultProps={children:undefined,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),f=n(3),p=r(f),d=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,f=t.onBlur,p=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,p),onFocus:l(p),onBlur:f},d)}}]),t}(l.PureComponent);t["default"]=d,d.propTypes={children:p["default"].oneOfType([p["default"].array,p["default"].object,p["default"].string]),disabled:p["default"].bool,panelId:p["default"].string.isRequired,selected:p["default"].bool.isRequired,onClick:p["default"].func.isRequired,onFocus:p["default"].func.isRequired,onBlur:p["default"].func.isRequired,id:p["default"].string.isRequired,originalKey:p["default"].oneOfType([p["default"].number,p["default"].string]).isRequired,classNames:p["default"].string.isRequired},d.defaultProps={children:undefined,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=n(3),f=r(c),p=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"]=p,p.propTypes={getContent:f["default"].func,children:f["default"].oneOfType([f["default"].array,f["default"].object,f["default"].string]),id:f["default"].string.isRequired,classNames:f["default"].string.isRequired,tabId:f["default"].string.isRequired},p.defaultProps={getContent:undefined,children:undefined}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.InkBar=undefined;var o=n(1),i=r(o),a=n(3),s=r(a),u=t.InkBar=function(e){return i["default"].createElement("div",{className:"RRT__inkbar-wrapper"},i["default"].createElement("div",{className:"RRT__inkbar",style:{left:e.left,width:e.width}}))};t["default"]=u,u.propTypes={left:s["default"].number,width:s["default"].number},u.defaultProps={left:0,width:0}}])}); | ||
var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){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;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,s,u=r(e),l=1;arguments.length>l;l++){n=Object(arguments[l]);for(var c in n)i.call(n,c)&&(u[c]=n[c]);if(o){s=o(n);for(var f=0;s.length>f;f++)a.call(n,s[f])&&(u[s[f]]=n[s[f]])}}return u}},function(e,t,n){"use strict";function r(e){return i.isValidElement(e)||o("143"),e}var o=n(4),i=n(2);n(0);e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(35);t["default"]=function(e){return e&&e.__esModule?e:{"default":e}}(r)["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=undefined;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),f=r(c),p=n(3),d=r(p),h=n(37),y=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),this.props.onResize(n,r)}},{key:"shouldComponentUpdate",value:function(e,t){return this.props!==e||this.state!==t}},{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(e){if("undefined"!=typeof window){e.preventDefault(),e.stopPropagation();var t=this.state,n=this.containerSize(),r=u(n,2),o=r[0],i=r[1];o===t.lastWidth&&i===t.lastHeight||this.props.onResize(o,i),this.reset(o,i)}}},{key:"render",value:function(){var e=this,t=this.state,n=s({},h.expandChildStyle,{width:t.expandChildWidth,height:t.expandChildHeight});return f["default"].createElement("div",{style:h.parentStyle,ref:function(t){e.container=t}},f["default"].createElement("div",{style:h.parentStyle,onScroll:this.handleScroll,ref:function(t){e.expand=t}},f["default"].createElement("div",{style:n})),f["default"].createElement("div",{style:h.parentStyle,onScroll:this.handleScroll,ref:function(t){e.shrink=t}},f["default"].createElement("div",{style:h.shrinkChildStyle})))}}]),t}(c.Component);t["default"]=y,y.propTypes={handleWidth:d["default"].bool,handleHeight:d["default"].bool,onResize:d["default"].func},y.defaultProps={handleWidth:!1,handleHeight:!1,onResize:function(e){return e}}},function(e,t,n){"use strict";var r=n(6),o=n(0),i=n(14);e.exports=function(){function e(e,t,n,r,a,s){s!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},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:"hidden",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){(function(t){function n(e,t,n){function r(t){var n=y,r=b;return y=b=undefined,T=t,v=e.apply(r,n)}function i(e){return T=e,g=setTimeout(c,t),O?r(e):v}function a(e){var n=e-w,r=e-T,o=t-n;return P?E(o,m-r):o}function l(e){var n=e-w,r=e-T;return w===undefined||n>=t||0>n||P&&r>=m}function c(){var e=x();if(l(e))return f(e);g=setTimeout(c,a(e))}function f(e){return g=undefined,j&&y?r(e):(y=b=undefined,v)}function p(){g!==undefined&&clearTimeout(g),T=0,y=w=b=g=undefined}function d(){return g===undefined?v:f(x())}function h(){var e=x(),n=l(e);if(y=arguments,b=this,w=e,n){if(g===undefined)return i(w);if(P)return g=setTimeout(c,t),r(w)}return g===undefined&&(g=setTimeout(c,t)),v}var y,b,m,v,g,w,T=0,O=!1,P=!1,j=!0;if("function"!=typeof e)throw new TypeError(u);return t=s(t)||0,o(n)&&(O=!!n.leading,P="maxWait"in n,m=P?_(s(n.maxWait)||0,t):m,j="trailing"in n?!!n.trailing:j),h.cancel=p,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(f,"");var n=d.test(e);return n||h.test(e)?y(e.slice(2),n?2:8):p.test(e)?l:+e}var u="Expected a function",l=NaN,c="[object Symbol]",f=/^\s+|\s+$/g,p=/^[-+]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,m="object"==typeof self&&self&&self.Object===Object&&self,v=b||m||Function("return this")(),g=Object.prototype,w=g.toString,_=Math.max,E=Math.min,x=function(){return v.Date.now()};e.exports=r}).call(t,n(39))},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=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(15),f=r(c),p=n(3),d=r(p),h=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,f["default"])({"RRT__showmore-list":!0,"RRT__showmore-list--opened":!o}),a=(0,f["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.Component);t["default"]=h,h.propTypes={children:d["default"].oneOfType([d["default"].array,d["default"].object,d["default"].string]),isShown:d["default"].bool.isRequired,onShowMoreChanged:d["default"].func},h.defaultProps={children:undefined,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),f=n(3),p=r(f),d=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,f=t.onBlur,p=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,p),onFocus:l(p),onBlur:f},d)}}]),t}(l.Component);t["default"]=d,d.propTypes={children:p["default"].oneOfType([p["default"].array,p["default"].object,p["default"].string]),disabled:p["default"].bool,panelId:p["default"].string.isRequired,selected:p["default"].bool.isRequired,onClick:p["default"].func.isRequired,onFocus:p["default"].func.isRequired,onBlur:p["default"].func.isRequired,id:p["default"].string.isRequired,originalKey:p["default"].oneOfType([p["default"].number,p["default"].string]).isRequired,classNames:p["default"].string.isRequired},d.defaultProps={children:undefined,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=n(3),f=r(c),p=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.Component);t["default"]=p,p.propTypes={getContent:f["default"].func,children:f["default"].oneOfType([f["default"].array,f["default"].object,f["default"].string]),id:f["default"].string.isRequired,classNames:f["default"].string.isRequired,tabId:f["default"].string.isRequired},p.defaultProps={getContent:undefined,children:undefined}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.InkBar=undefined;var o=n(1),i=r(o),a=n(3),s=r(a),u=t.InkBar=function(e){return i["default"].createElement("div",{className:"RRT__inkbar-wrapper"},i["default"].createElement("div",{className:"RRT__inkbar",style:{left:e.left,width:e.width}}))};t["default"]=u,u.propTypes={left:s["default"].number,width:s["default"].number},u.defaultProps={left:0,width:0}}])}); |
@@ -27,4 +27,4 @@ 'use strict'; | ||
var ShowMore = function (_PureComponent) { | ||
_inherits(ShowMore, _PureComponent); | ||
var ShowMore = function (_Component) { | ||
_inherits(ShowMore, _Component); | ||
@@ -146,3 +146,3 @@ function ShowMore() { | ||
return ShowMore; | ||
}(_react.PureComponent); | ||
}(_react.Component); | ||
@@ -149,0 +149,0 @@ exports.default = ShowMore; |
@@ -29,4 +29,4 @@ 'use strict'; | ||
var Tab = function (_PureComponent) { | ||
_inherits(Tab, _PureComponent); | ||
var Tab = function (_Component) { | ||
_inherits(Tab, _Component); | ||
@@ -86,3 +86,3 @@ function Tab() { | ||
return Tab; | ||
}(_react.PureComponent); | ||
}(_react.Component); | ||
@@ -89,0 +89,0 @@ exports.default = Tab; |
@@ -23,4 +23,4 @@ 'use strict'; | ||
var TabPanel = function (_PureComponent) { | ||
_inherits(TabPanel, _PureComponent); | ||
var TabPanel = function (_Component) { | ||
_inherits(TabPanel, _Component); | ||
@@ -59,3 +59,3 @@ function TabPanel() { | ||
return TabPanel; | ||
}(_react.PureComponent); | ||
}(_react.Component); | ||
@@ -62,0 +62,0 @@ exports.default = TabPanel; |
@@ -56,4 +56,4 @@ 'use strict'; | ||
var Tabs = function (_PureComponent) { | ||
_inherits(Tabs, _PureComponent); | ||
var Tabs = function (_Component) { | ||
_inherits(Tabs, _Component); | ||
@@ -406,3 +406,3 @@ function Tabs(props) { | ||
return Tabs; | ||
}(_react.PureComponent); | ||
}(_react.Component); | ||
@@ -409,0 +409,0 @@ exports.default = Tabs; |
{ | ||
"author": "Vitalii Maslianok <maslianok@gmail.com> (https://github.com/maslianok)", | ||
"version": "1.1.3", | ||
"version": "1.3.0", | ||
"name": "react-responsive-tabs", | ||
@@ -5,0 +5,0 @@ "description": "React responsive tabs", |
Sorry, the diff of this file is too big to display
579664
18