webpackJsonp([23],{1938:function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var l=a(259),i=n(l),u=a(258),s=n(u),r=a(262),d=n(r),o=a(260),c=n(o),f=a(261),p=n(f),m=a(761),v=n(m),b=a(22),h=n(b),k=a(14),y=n(k),_=a(774),g=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t.default=e,t}(_),C=function(e){function t(e){(0,s.default)(this,t);var a=(0,c.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return a.handleClick=a.handleClick.bind(a),a}return(0,p.default)(t,e),(0,d.default)(t,[{key:"handleClick",value:function(e,t){t.preventDefault(),this.props.updateTab(e.name),(0,v.default)(t.target).closest(".settings-modal").addClass("display--content")}},{key:"componentDidMount",value:function(){g.isFirefox()&&(0,v.default)(".settings-modal .settings-table .nav").addClass("position--top")}},{key:"render",value:function(){var e=this,t=this.props.tabs.map(function(t){var a=t.name+"_li",n="";return e.props.activeTab===t.name&&(n="active"),y.default.createElement("li",{id:t.name+"Li",key:a,className:n},y.default.createElement("button",{id:t.name+"Button",className:"cursor--pointer style--none",onClick:e.handleClick.bind(null,t)},y.default.createElement("i",{className:t.icon}),t.uiName))});return y.default.createElement("div",null,y.default.createElement("ul",{id:"tabList",className:"nav nav-pills nav-stacked"},t))}}]),t}(y.default.Component);t.default=C,C.propTypes={tabs:h.default.arrayOf(h.default.shape({name:h.default.string.isRequired,uiName:h.default.string.isRequired,icon:h.default.string.isRequired})).isRequired,activeTab:h.default.string,updateTab:h.default.func.isRequired}}});
//# sourceMappingURL=23.1c81abbd044118d9bcf9.js.map