webpackJsonp([21],{777:function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var a=n(0),i=n.n(a),s=n(7),o=n.n(s),c=n(737),u=n(741),p=n(123),l=n(185),m=n(184),f=n(11),b=n(996),d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h={itemNameGetter:function(e){return e.identity.name},itemStatusGetter:function(e){return m.a.hubOnlineStatusToColor(e.connect_state.id)},itemDescriptionGetter:function(e){return i.a.createElement(c.a,{text:e.identity.description,emojify:!0})},itemIconGetter:function(e){return i.a.createElement(b.a,{size:"large",hub:e})}},v=function(e){return e?parseInt(e.id):null},y=i.a.createClass({displayName:"Hubs",mixins:[o.a.connect(p.a,"hubSessions")],render:function(){var e=this.props,t=e.params,n=r(e,["params"]);return i.a.createElement(u.a,d({activeId:v(t),baseUrl:"hubs",itemUrl:"hubs/session",items:this.state.hubSessions,newButtonCaption:"Connect",editAccess:f.a.HUBS_EDIT,actions:l.a,actionIds:["reconnect","favorite","clear"],unreadInfoStore:p.a},h,n),this.props.children)}});t["default"]=y},996:function(e,t,n){"use strict";var r=n(0),a=n.n(r),i=n(6),s=n.n(i),o=n(184),c=function(e){var t=e.hub,n=e.size;return a.a.createElement("i",{className:s()(n,"icons")},a.a.createElement("i",{className:o.a.hubOnlineStatusToColor(t.connect_state.id)+" sitemap icon"}))};c.propTypes={size:a.a.PropTypes.string,hub:a.a.PropTypes.object.isRequired},t.a=c}});
//# sourceMappingURL=hubs.chunk.js.map