(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{2260:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=f(a(281)),l=f(a(280)),i=f(a(284)),u=f(a(282)),s=f(a(283)),r=f(a(768)),d=f(a(1)),o=f(a(3)),c=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}(a(291));function f(e){return e&&e.__esModule?e:{default:e}}var p=function(e){function t(e){(0,l.default)(this,t);var a=(0,u.default)(this,(t.__proto__||(0,n.default)(t)).call(this,e));return a.handleClick=a.handleClick.bind(a),a}return(0,s.default)(t,e),(0,i.default)(t,[{key:"handleClick",value:function(e,t){t.preventDefault(),this.props.updateTab(e.name),(0,r.default)(t.target).closest(".settings-modal").addClass("display--content")}},{key:"componentDidMount",value:function(){c.isFirefox()&&(0,r.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"),o.default.createElement("li",{id:t.name+"Li",key:a,className:n},o.default.createElement("button",{id:t.name+"Button",className:"cursor--pointer style--none",onClick:e.handleClick.bind(null,t)},o.default.createElement("i",{className:t.icon,title:t.iconTitle}),t.uiName))});return o.default.createElement("div",null,o.default.createElement("ul",{id:"tabList",className:"nav nav-pills nav-stacked"},t))}}]),t}(o.default.Component);t.default=p,p.propTypes={tabs:d.default.arrayOf(d.default.shape({name:d.default.string.isRequired,uiName:d.default.string.isRequired,icon:d.default.string.isRequired})).isRequired,activeTab:d.default.string,updateTab:d.default.func.isRequired}}}]);
//# sourceMappingURL=11.75455fba60698998a7cc.js.map