_ = require 'underscore-plus' React = require "react" moment = require 'moment-timezone' InternalAdminStore = require "./internal-admin-store" AccountStates = "developer_program": "Developer Program" "trial-expired": "Trial Expired" "paid": "Paid" "cancelled": "Cancelled" AccountKeys = "deleted_at": "Deleted At" "healthy": "Healthy" "initial_sync": "Initial Sync" "is_enabled": "Enabled" "namespace_id": "Namespace Id" "provider": "Provider" "remote_count": "Remote Count" "state": "State" "status": "Status" "sync_disabled_reason": "Sync Disabled Reason" "sync_end_time": "Sync End Time" "sync_error": "Sync Error" "sync_host": "Sync Host" "sync_restart_time": "Sync Restart Time" "sync_start_time": "Sync Start Time" "sync_type": "Sync Type" module.exports = SidebarInternal = React.createClass getInitialState: -> data: {} componentDidMount: -> @unsubscribe = InternalAdminStore.listen @_onChange componentWillUnmount: -> @unsubscribe() render: ->