{:uriI"file:///Users/joel/src/revelreact_rails/app/assets/javascripts/revelry/ui/tabs/Tabs.js.cjsx?type=application/javascript&pipeline=self&id=0c1b4635c39310e26546bad662b650a70cd0c6254c35f62c67a3ccad2a0de084:ET:load_pathI" 0) { activeTabKey || (activeTabKey = children[0].key); } return state = { activeTabKey: activeTabKey }; }, renderTab: function(child) { var className, key; key = child.key; className = this.classSet({ active: key === this.state.activeTabKey }); return React.createElement("dd", { "key": key, "className": className, "onClick": this.handleTabClick(child) }, child.props.tab); }, renderContent: function(child) { var newProps; newProps = { key: child.key }; if (child.key === this.state.activeTabKey) { newProps.active = true; } return React.addons.cloneWithProps(child, newProps); }, render: function() { var children, dlClassName; children = this.getNormalizedChildren(); dlClassName = this.classSet({ tabs: true, vertical: this.props.vertical }); return React.createElement("div", null, React.createElement("dl", { "className": dlClassName }, children.map(this.renderTab)), React.createElement("div", { "className": "RevTabsContent tabs-content" }, children.map(this.renderContent))); }, handleTabClick: function(activeTab) { return (function(_this) { return function(e) { e.preventDefault(); e.stopPropagation(); _this.setState({ activeTabKey: activeTab.key }); e.activeTab = activeTab; return _this.props.onChange(e); }; })(this); } }); }).call(this); ;T: metadata{ :dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"hprocessors:type=application/javascript&file_type=application/javascript&engines=.cjsx&pipeline=self;TTI"gfile-digest:///Users/joel/src/revelreact_rails/app/assets/javascripts/revelry/ui/tabs/Tabs.js.cjsx;TT: requiredo;;{: stubbedo;;{: linkso;;{: charsetI" utf-8;F: digest"%/ՠ៚ľü?f W.: lengthi:integrityI"Xni:///sha-256;L7Gyj4j51aDhn5rsbMyMl_Lbw7ywhe8_ZiCt_Fe82C4?ct=application/javascript;T:dependencies_digest"%~RKR EvHMnU&)!:idI"E0c1b4635c39310e26546bad662b650a70cd0c6254c35f62c67a3ccad2a0de084;F: mtimel+1U