From 4f1e42198c332d83ff6207ebd2db6024a701322e Mon Sep 17 00:00:00 2001 From: lamai93 Date: Mon, 3 Dec 2018 12:06:10 +0100 Subject: [PATCH 01/21] Added License Key secret support. --- dashboard/assets.go | 132 +++++++++--------- .../deployment/v1alpha/deployment_spec.go | 24 ++++ .../v1alpha/zz_generated.deepcopy.go | 5 + pkg/deployment/context_impl.go | 4 +- pkg/deployment/deployment_inspector.go | 6 + pkg/deployment/images.go | 10 +- .../reconcile/action_cleanout_member.go | 2 +- pkg/deployment/reconcile/context.go | 2 +- pkg/deployment/reconcile/plan_builder.go | 11 +- .../reconcile/plan_builder_context.go | 3 +- pkg/deployment/resources/license.go | 51 +++++++ pkg/deployment/resources/pod_creator.go | 18 ++- pkg/deployment/resources/pod_inspector.go | 5 +- pkg/operator/crd.go | 2 + pkg/util/constants/constants.go | 1 + 15 files changed, 197 insertions(+), 79 deletions(-) create mode 100644 pkg/deployment/resources/license.go diff --git a/dashboard/assets.go b/dashboard/assets.go index 5cbf8f208..dd6ad9839 100644 --- a/dashboard/assets.go +++ b/dashboard/assets.go @@ -6,106 +6,106 @@ import ( "github.com/jessevdk/go-assets" ) -var _Assets2786bf064f4ce6ff10309a18e79a80821ac8e61b = "{\"version\":3,\"sources\":[\"util/Storage.js\",\"api/api.js\",\"util/Loading.js\",\"auth/Login.js\",\"auth/LogoutContext.js\",\"auth/Auth.js\",\"style/style.js\",\"util/CommandInstruction.js\",\"deployment/MemberList.js\",\"deployment/DeploymentDetails.js\",\"deployment/DeploymentList.js\",\"deployment/DeploymentOperator.js\",\"replication/DeploymentReplicationDetails.js\",\"replication/DeploymentReplicationList.js\",\"replication/DeploymentReplicationOperator.js\",\"NoOperator.js\",\"storage/VolumeList.js\",\"storage/StorageRow.js\",\"storage/StorageList.js\",\"storage/StorageOperator.js\",\"App.js\",\"registerServiceWorker.js\",\"index.js\"],\"names\":[\"PREFIX\",\"getSessionItem\",\"key\",\"item\",\"sessionStorage\",\"getItem\",\"concat\",\"JSON\",\"parse\",\"e\",\"setSessionItem\",\"value\",\"setItem\",\"stringify\",\"isUnauthorized\",\"status\",\"api\",\"token\",\"decodeResults\",\"_decodeResults\",\"Object\",\"asyncToGenerator\",\"regenerator_default\",\"a\",\"mark\",\"_callee\",\"result\",\"decoded\",\"message\",\"wrap\",\"_context\",\"prev\",\"next\",\"json\",\"sent\",\"error\",\"assign\",\"Error\",\"abrupt\",\"stop\",\"this\",\"_x\",\"apply\",\"arguments\",\"get\",\"_get\",\"_callee2\",\"localURL\",\"headers\",\"_context2\",\"Accept\",\"fetch\",\"_x2\",\"post\",\"_post\",\"_callee3\",\"body\",\"_context3\",\"Content-Type\",\"method\",\"_x3\",\"_x4\",\"Loading\",\"_ref\",\"react_default\",\"createElement\",\"Segment\",\"Dimmer\",\"inverted\",\"active\",\"Loader\",\"style\",\"minHeight\",\"LoginView\",\"username\",\"password\",\"onUsernameChanged\",\"onPasswordChanged\",\"doLogin\",\"Container\",\"Form\",\"onSubmit\",\"Field\",\"focus\",\"onChange\",\"target\",\"type\",\"Button\",\"className\",\"css\",\"_templateObject\",\"Message\",\"content\",\"Login\",\"state\",\"handleLogin\",\"_this\",\"props\",\"_this2\",\"Modal\",\"open\",\"Header\",\"Content\",\"Login_LoginView\",\"v\",\"setState\",\"Actions\",\"color\",\"disabled\",\"onClick\",\"Icon\",\"name\",\"Component\",\"LogoutContext\",\"React\",\"createContext\",\"undefined\",\"tokenSessionKey\",\"withAuth\",\"WrappedComponent\",\"auth_LogoutContext\",\"Consumer\",\"doLogout\",\"Auth\",\"authenticated\",\"showLoading\",\"res\",\"t0\",\"handleLogout\",\"Provider\",\"util_Loading\",\"children\",\"auth_Login\",\"styled\",\"style_templateObject\",\"FieldLabel\",\"_templateObject2\",\"FieldContent\",\"_templateObject3\",\"FieldIcons\",\"_templateObject4\",\"LoaderBox\",\"_templateObject5\",\"LoaderBoxForTable\",\"_templateObject6\",\"StyledMenu\",\"Menu\",\"_templateObject7\",\"StyledContentBox\",\"_templateObject8\",\"CommandInstruction\",\"close\",\"trigger\",\"onClose\",\"onOpen\",\"title\",\"Description\",\"description\",\"clearing\",\"command\",\"lib\",\"text\",\"onCopy\",\"positive\",\"icon\",\"labelPosition\",\"MemberListView\",\"group\",\"activeMemberID\",\"members\",\"namespace\",\"List\",\"divided\",\"map\",\"MemberList_MemberView\",\"id\",\"memberInfo\",\"MemberView\",\"_ref2\",\"pvName\",\"memberOfCluster\",\"Item\",\"Accordion\",\"Title\",\"ready\",\"member_of_cluster\",\"pod_name\",\"util_CommandInstruction\",\"link\",\"createLogPodCommand\",\"createDescribePodCommand\",\"pvc_name\",\"createDescribePvcCommand\",\"pv_name\",\"podName\",\"pvcName\",\"MemberList\",\"MemberList_MemberListView\",\"MemberGroupsView\",\"memberGroups\",\"deployment_MemberList\",\"DeploymentDetails\",\"loading\",\"reloadDeployment\",\"deployment\",\"setTimeout\",\"d\",\"size\",\"inline\",\"DeploymentDetails_MemberGroupsView\",\"member_groups\",\"ReactTimeout\",\"HeaderView\",\"Table\",\"Row\",\"HeaderCell\",\"Popup\",\"DatabaseLinkView\",\"url\",\"href\",\"NoDatabaseLinkView\",\"RowView\",\"_ref3\",\"mode\",\"environment\",\"stateColor\",\"version\",\"license\",\"readyPodCount\",\"podCount\",\"readyVolumeCount\",\"volumeCount\",\"storageClasses\",\"databaseURL\",\"deleteCommand\",\"describeCommand\",\"Cell\",\"getStateColorDescription\",\"Link\",\"to\",\"float\",\"DeploymentList_DatabaseLinkView\",\"DeploymentList_NoDatabaseLinkView\",\"ListView\",\"_ref4\",\"items\",\"striped\",\"celled\",\"DeploymentList_HeaderView\",\"Body\",\"DeploymentList_RowView\",\"state_color\",\"database_version\",\"database_license\",\"ready_pod_count\",\"pod_count\",\"ready_volume_count\",\"volume_count\",\"storage_classes\",\"database_url\",\"createDescribeCommand\",\"EmptyView\",\"DeploymentList\",\"reloadDeployments\",\"deployments\",\"length\",\"DeploymentList_EmptyView\",\"DeploymentList_ListView\",\"dividing\",\"deployment_DeploymentList\",\"DetailView\",\"match\",\"params\",\"deployment_DeploymentDetails\",\"DeploymentOperator\",\"BrowserRouter\",\"fixed\",\"vertical\",\"position\",\"commonMenuItems\",\"basic\",\"Route\",\"exact\",\"path\",\"component\",\"podInfoView\",\"EndpointView\",\"deploymentName\",\"masterEndpoint\",\"authKeyfileSecretName\",\"authUserSecretName\",\"tlsCACert\",\"tlsCACertSecretName\",\"sub\",\"DetailsView\",\"replication\",\"DeploymentReplicationDetails_EndpointView\",\"source\",\"deployment_name\",\"master_endpoint\",\"auth_keyfile_secret_name\",\"auth_user_secret_name\",\"tls_ca_cert\",\"tls_ca_cert_secret_name\",\"destination\",\"DeploymentReplicationDetails\",\"reloadDeploymentReplications\",\"dr\",\"DeploymentReplicationDetails_DetailsView\",\"DeploymentReplicationList_HeaderView\",\"DeploymentReplicationList_RowView\",\"DeploymentReplicationList\",\"replications\",\"DeploymentReplicationList_EmptyView\",\"DeploymentReplicationList_ListView\",\"replication_DeploymentReplicationList\",\"replication_DeploymentReplicationDetails\",\"DeploymentReplicationOperator\",\"NoOperator\",\"nodeName\",\"capacity\",\"VolumeList_HeaderView\",\"VolumeList_RowView\",\"node_name\",\"VolumeList\",\"reloadVolumes\",\"storageName\",\"volumes\",\"VolumeList_EmptyView\",\"VolumeList_ListView\",\"localPaths\",\"storageClass\",\"storageClassIsDefault\",\"expanded\",\"toggleExpand\",\"index\",\"VolumesRowView\",\"colSpan\",\"storage_VolumeList\",\"StorageRow\",\"onToggleExpand\",\"StorageRow_RowView\",\"StorageRow_VolumesRowView\",\"StorageList_HeaderView\",\"storage_StorageRow\",\"local_paths\",\"storage_class\",\"storage_class_is_default\",\"StorageList\",\"reloadStorages\",\"storages\",\"StorageList_EmptyView\",\"StorageList_ListView\",\"storage_StorageList\",\"StorageOperator\",\"StorageOperator_ListView\",\"PodInfoView\",\"pod\",\"OperatorsView\",\"deploymentReplication\",\"storage\",\"otherOperators\",\"operatorType2Name\",\"Operator\",\"App_PodInfoView\",\"oType\",\"LoadingView\",\"App\",\"operators\",\"reloadOperators\",\"App_OperatorsView\",\"deployment_replication\",\"other\",\"App_LoadingView\",\"isLocalhost\",\"Boolean\",\"window\",\"location\",\"hostname\",\"registerValidSW\",\"swUrl\",\"navigator\",\"serviceWorker\",\"register\",\"then\",\"registration\",\"onupdatefound\",\"installingWorker\",\"installing\",\"onstatechange\",\"controller\",\"console\",\"log\",\"catch\",\"ReactDOM\",\"render\",\"auth_Auth\",\"src_App\",\"document\",\"getElementById\",\"URL\",\"process\",\"origin\",\"addEventListener\",\"response\",\"indexOf\",\"unregister\",\"reload\",\"checkValidServiceWorker\",\"registerServiceWorker\"],\"mappings\":\"iUAAMA,EAAS,oBAER,SAASC,EAAeC,GAC7B,IAAMC,EAAOC,eAAeC,QAAf,GAAAC,OAA0BN,GAA1BM,OAAmCJ,IAChD,GAAIC,EACF,IACE,OAAOI,KAAKC,MAAML,GAClB,MAAOM,KAKN,SAASC,EAAeR,EAAKS,GAElC,OADAP,eAAeQ,QAAf,GAAAN,OAA0BN,GAA1BM,OAAmCJ,GAAOK,KAAKM,UAAUF,IAClDA,ECdF,SAASG,EAAeL,GAC3B,OAAqB,MAAbA,EAAEM,OAGC,IAAAC,EAAA,CACXC,MAAO,GAEDC,cAHK,eAAAC,EAAAC,OAAAC,EAAA,EAAAD,CAAAE,EAAAC,EAAAC,KAAA,SAAAC,EAGSC,GAHT,IAAAC,EAAAC,EAAA,OAAAN,EAAAC,EAAAM,KAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,cAAAF,EAAAE,KAAA,EAIeN,EAAOO,OAJtB,UAIDN,EAJCG,EAAAI,KAKe,MAAlBR,EAAOX,OALJ,CAAAe,EAAAE,KAAA,cAMCJ,EAAUD,EAAQQ,SAGdP,EADkB,MAAlBF,EAAOX,OACG,eAEH,qBAAAT,OAAwBoB,EAAOX,SAGxCK,OAAOgB,OAAO,IAAIC,MAAMT,GAAU,CAAEb,OAAQW,EAAOX,S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,QACf+R,UAAUC,cAAcQ,WAK1BC,QAAQC,IAAI,6CAKZD,QAAQC,IAAI,2CAMrBC,MAAM,SAAAtW,GACLoW,QAAQpW,MAAM,4CAA6CA,KCxEjEuW,IAASC,OAAO3U,EAAAzC,EAAA0C,cAAC2U,EAAD,KAAM5U,EAAAzC,EAAA0C,cAAC4U,GAAD,OAAgBC,SAASC,eAAe,SDa/C,WACb,GAA6C,kBAAmBlB,UAAW,CAGzE,GADkB,IAAImB,IAAIC,GAAwBzB,OAAOC,UAC3CyB,SAAW1B,OAAOC,SAASyB,OAIvC,OAGF1B,OAAO2B,iBAAiB,OAAQ,WAC9B,IAAMvB,EAAK,GAAAtX,OAAM2Y,GAAN,sBAEP3B,IAiDV,SAAiCM,GAE/BzU,MAAMyU,GACHI,KAAK,SAAAoB,GAGkB,MAApBA,EAASrY,SACuD,IAAhEqY,EAASpW,QAAQJ,IAAI,gBAAgByW,QAAQ,cAG7CxB,UAAUC,cAActM,MAAMwM,KAAK,SAAAC,GACjCA,EAAaqB,aAAatB,KAAK,WAC7BR,OAAOC,SAAS8B,aAKpB5B,GAAgBC,KAGnBa,MAAM,WACLF,QAAQC,IACN,mEArEAgB,CAAwB5B,GAIxBC,UAAUC,cAActM,MAAMwM,KAAK,WACjCO,QAAQC,IACN,+GAMJb,GAAgBC,MCxCxB6B\",\"file\":\"static/js/main.cba50044.chunk.js\",\"sourcesContent\":[\"const PREFIX = \\\"kube-arangodb:v1:\\\";\\n\\nexport function getSessionItem(key) {\\n const item = sessionStorage.getItem(`${PREFIX}${key}`);\\n if (item) {\\n try {\\n return JSON.parse(item);\\n } catch (e) {}\\n }\\n return undefined;\\n}\\n\\nexport function setSessionItem(key, value) {\\n sessionStorage.setItem(`${PREFIX}${key}`, JSON.stringify(value));\\n return value;\\n}\\n\",\"export function isUnauthorized(e) { \\n return (e.status === 401);\\n}\\n\\nexport default {\\n token: '',\\n\\n async decodeResults(result) {\\n const decoded = await result.json();\\n if (result.status !== 200) {\\n let message = decoded.error;\\n if (!message) {\\n if (result.status === 401) {\\n message = \\\"Unauthorized\\\";\\n } else {\\n message = `Unexpected status ${result.status}`;\\n }\\n }\\n throw Object.assign(new Error(message), { status: result.status });\\n }\\n return decoded;\\n },\\n \\n // apiGet performs a GET request on the API with given local URL.\\n // The result is decoded from JSON and returned.\\n async get(localURL) {\\n let headers = {\\n 'Accept': 'application/json'\\n };\\n if (this.token) {\\n headers['Authorization'] = `bearer ${this.token}`; \\n }\\n const result = await fetch(localURL, {headers});\\n return this.decodeResults(result);\\n },\\n \\n // apiPost performs a POST request on the API with given local URL and given data.\\n // The result is decoded from JSON and returned.\\n async post(localURL, body) {\\n let headers = {\\n 'Accept': 'application/json',\\n 'Content-Type': 'application/json'\\n };\\n if (this.token) {\\n headers['Authorization'] = `bearer ${this.token}`; \\n }\\n const result = await fetch(localURL, {\\n method: 'POST',\\n headers,\\n body: JSON.stringify(body)\\n });\\n return this.decodeResults(result);\\n }\\n};\\n\",\"import { Dimmer, Loader, Segment } from 'semantic-ui-react';\\nimport React from 'react';\\n\\nconst Loading = ({message}) => (\\n \\n \\n {message || \\\"Loading...\\\"}\\n \\n
\\n \\n );\\n\\nexport default Loading;\\n\",\"import { Button, Container, Form, Icon, Message, Modal } from 'semantic-ui-react';\\nimport { css } from 'react-emotion';\\nimport React, { Component } from 'react';\\n\\nconst LoginView = ({username, password, onUsernameChanged, onPasswordChanged, doLogin, error}) => (\\n \\n
\\n \\n \\n onUsernameChanged(e.target.value)}/>\\n \\n \\n \\n onPasswordChanged(e.target.value)}/>\\n \\n \\n \\n {(error) ? : null}\\n
\\n);\\n\\nclass Login extends Component {\\n state = {\\n username: '',\\n password: ''\\n };\\n\\n handleLogin = () => {\\n this.props.doLogin(this.state.username, this.state.password);\\n }\\n\\n render() {\\n return (\\n \\n Login\\n \\n this.setState({username:v})}\\n onPasswordChanged={(v) => this.setState({password:v})}\\n doLogin={this.handleLogin}\\n />\\n \\n \\n \\n \\n \\n );\\n }\\n}\\n\\nexport default Login;\\n\",\"import React from 'react';\\n\\nconst LogoutContext = React.createContext(undefined);\\n\\nexport default LogoutContext;\\n\\n\",\"import React, { Component } from 'react';\\n\\nimport { getSessionItem, setSessionItem } from '../util/Storage';\\nimport api from '../api/api';\\nimport Loading from '../util/Loading';\\nimport Login from './Login';\\nimport LogoutContext from './LogoutContext';\\n\\nconst tokenSessionKey = \\\"auth-token\\\";\\n\\n// withAuth adds a doLogout property to the given component.\\nexport function withAuth(WrappedComponent) {\\n return function AuthAwareComponent(props) {\\n return (\\n \\n {doLogout => }\\n \\n );\\n }\\n}\\n\\nclass Auth extends Component {\\n state = {\\n authenticated: false,\\n showLoading: true,\\n token: getSessionItem(tokenSessionKey) || \\\"\\\"\\n };\\n\\n async componentDidMount() {\\n try {\\n api.token = this.state.token;\\n await api.get('/api/operators');\\n this.setState({\\n authenticated: true,\\n showLoading: false,\\n token: api.token\\n });\\n } catch (e) {\\n this.setState({\\n authenticated: false,\\n showLoading: false,\\n token: ''\\n });\\n }\\n }\\n\\n handleLogin = async (username, password) => {\\n try {\\n this.setState({error:undefined});\\n const res = await api.post('/login', { username, password });\\n api.token = res.token;\\n setSessionItem(tokenSessionKey, res.token);\\n this.setState({\\n authenticated: true,\\n token: res.token\\n });\\n return true;\\n } catch (e) {\\n this.setState({\\n authenticated: false,\\n token: '',\\n error: e.message\\n });\\n return false;\\n }\\n };\\n\\n handleLogout = () => {\\n api.token = '';\\n setSessionItem(tokenSessionKey, '');\\n this.setState({\\n authenticated: false,\\n token: '',\\n error: undefined\\n });\\n };\\n\\n componentWillUnmount() {\\n }\\n\\n render() {\\n return (\\n \\n {(this.state.showLoading) ? : \\n (!this.state.authenticated) ? \\n :\\n this.props.children\\n }\\n \\n );\\n }\\n}\\n\\nexport default Auth;\\n\",\"import styled from 'react-emotion';\\nimport { Menu } from 'semantic-ui-react';\\n\\nexport const Field = styled('div')`\\n padding-top: 0.3em;\\n padding-bottom: 0.3em;\\n clear: both;\\n`;\\n\\nexport const FieldLabel = styled('span')`\\n width: 9rem;\\n display: inline-block;\\n float: left;\\n`;\\n\\nexport const FieldContent = styled('div')`\\n display: inline-block;\\n`;\\n\\nexport const FieldIcons = styled('div')`\\n float: right;\\n`;\\n\\nexport const LoaderBox = styled('span')`\\n float: right;\\n width: 0;\\n padding-right: 1em;\\n margin-right: 1em;\\n margin-top: 1em;\\n max-width: 0;\\n display: inline-block;\\n`;\\n\\nexport const LoaderBoxForTable = styled('span')`\\n float: right;\\n width: 0;\\n padding-right: 1em;\\n max-width: 0;\\n display: inline-block;\\n`;\\n\\nexport const StyledMenu = styled(Menu)`\\n width: 15rem !important;\\n @media (max-width: 768px) {\\n width: 10rem !important;\\n }\\n`;\\n\\nexport const StyledContentBox = styled('div')`\\n margin-left: 15rem;\\n @media (max-width: 768px) {\\n margin-left: 10rem;\\n }\\n`;\\n\",\"import { Button, Modal, Segment } from 'semantic-ui-react';\\nimport { CopyToClipboard } from 'react-copy-to-clipboard';\\nimport React, { Component } from 'react';\\n\\nclass CommandInstruction extends Component {\\n state = {open:false};\\n\\n close = () => { this.setState({open:false}); }\\n open = () => { this.setState({open:true}); }\\n\\n render() {\\n return (\\n \\n {this.props.title}\\n \\n \\n

\\n {this.props.description}\\n

\\n \\n {this.props.command}\\n \\n
\\n
\\n \\n \\n \\n \\n \\n
\\n );\\n }\\n}\\n\\nexport default CommandInstruction;\\n\",\"import { Accordion, Header, Icon, List, Segment } from 'semantic-ui-react';\\nimport React, { Component } from 'react';\\n\\nimport { Field, FieldLabel, FieldIcons } from '../style/style';\\nimport CommandInstruction from '../util/CommandInstruction';\\n\\nconst MemberListView = ({group, activeMemberID, onClick, members, namespace}) => (\\n \\n
{group}
\\n \\n {members.map((item) => )}\\n \\n
\\n);\\n\\nconst MemberOfClusterView = (memberOfCluster) => {\\n if (memberOfCluster === 'never') {\\n return null;\\n }\\n return (\\n \\n Cluster member: \\n {(memberOfCluster ==='true') ? \\\"Yes\\\" : \\\"No\\\"}\\n \\n );\\n}\\n\\nconst MemberView = ({memberInfo, namespace, active, onClick}) => (\\n \\n \\n onClick(memberInfo.id)}>\\n {memberInfo.id} \\n \\n \\n {MemberOfClusterView(memberInfo.member_of_cluster)}\\n \\n Pod: \\n {memberInfo.pod_name || \\\"-\\\"}\\n {(memberInfo.pod_name) ?\\n \\n }\\n command={createLogPodCommand(memberInfo.pod_name, namespace)}\\n title=\\\"Get Pod Logs\\\"\\n description=\\\"To get the log output of this pod, run:\\\"\\n />\\n }\\n command={createDescribePodCommand(memberInfo.pod_name, namespace)}\\n title=\\\"Describe Pod Information\\\"\\n description=\\\"To get more information on the state of this pod, run:\\\"\\n />\\n \\n : null}\\n \\n \\n PVC: \\n {memberInfo.pvc_name || \\\"-\\\"}\\n \\n {(memberInfo.pvc_name) ?\\n }\\n command={createDescribePvcCommand(memberInfo.pvc_name, namespace)}\\n title=\\\"Describe PersistentVolumeClaim Information\\\"\\n description=\\\"To get more information on the state of this PVC, run:\\\"\\n />\\n : null}\\n \\n \\n \\n PV:\\n {memberInfo.pv_name || \\\"-\\\"}\\n \\n {(memberInfo.pv_name) ?\\n }\\n command={createDescribePvCommand(memberInfo.pv_name)}\\n title=\\\"Describe PersistentVolume Information\\\"\\n description=\\\"To get more information on the state of this PV, run:\\\"\\n />\\n : null}\\n \\n \\n \\n \\n \\n);\\n\\nfunction createDescribePodCommand(podName, namespace) {\\n return `kubectl describe pod -n ${namespace} ${podName}`;\\n}\\n\\nfunction createLogPodCommand(podName, namespace) {\\n return `kubectl logs -n ${namespace} ${podName}`;\\n}\\n\\nfunction createDescribePvcCommand(pvcName, namespace) {\\n return `kubectl describe pvc -n ${namespace} ${pvcName}`;\\n}\\n\\nfunction createDescribePvCommand(pvName) {\\n return `kubectl describe pv ${pvName}`;\\n}\\n\\nclass MemberList extends Component {\\n state = {};\\n\\n onClick = (id) => { \\n this.setState({activeMemberID:(this.state.activeMemberID === id) ? null : id}); \\n }\\n\\n render() {\\n return ();\\n }\\n}\\n\\nexport default MemberList;\\n\",\"import { Loader } from 'semantic-ui-react';\\nimport React, { Component } from 'react';\\nimport ReactTimeout from 'react-timeout';\\n\\nimport { LoaderBox } from '../style/style';\\nimport { withAuth } from '../auth/Auth.js';\\nimport api, { isUnauthorized } from '../api/api';\\nimport Loading from '../util/Loading';\\nimport MemberList from './MemberList';\\n\\nconst MemberGroupsView = ({memberGroups, namespace}) => (\\n
\\n {memberGroups.map((item) => )}\\n
\\n);\\n\\nclass DeploymentDetails extends Component {\\n state = {\\n loading: true,\\n error: undefined\\n };\\n\\n componentDidMount() {\\n this.reloadDeployment();\\n }\\n\\n reloadDeployment = async() => {\\n try {\\n this.setState({\\n loading: true\\n });\\n const result = await api.get(`/api/deployment/${this.props.name}`);\\n this.setState({\\n deployment: result,\\n loading: false,\\n error: undefined\\n });\\n } catch (e) {\\n this.setState({\\n loading: false,\\n error: e.message\\n });\\n if (isUnauthorized(e)) {\\n this.props.doLogout();\\n return;\\n }\\n }\\n this.props.setTimeout(this.reloadDeployment, 5000);\\n }\\n\\n render() {\\n const d = this.state.deployment;\\n if (!d) {\\n return ();\\n }\\n return (\\n
\\n \\n \\n
\\n );\\n }\\n}\\n\\nexport default ReactTimeout(withAuth(DeploymentDetails));\\n\",\"import { Icon, Loader, Popup, Table } from 'semantic-ui-react';\\nimport { Link } from \\\"react-router-dom\\\";\\nimport React, { Component } from 'react';\\nimport ReactTimeout from 'react-timeout';\\n\\nimport { LoaderBoxForTable as LoaderBox } from '../style/style';\\nimport { withAuth } from '../auth/Auth';\\nimport api, { isUnauthorized } from '../api/api';\\nimport CommandInstruction from '../util/CommandInstruction';\\nimport Loading from '../util/Loading';\\n\\nconst HeaderView = ({loading}) => (\\n \\n \\n State\\n Name\\n Mode\\n Version\\n Pods}>Ready / Total\\n Volumes}>Bound / Total\\n StorageClass\\n \\n Actions\\n \\n \\n \\n \\n);\\n\\nconst DatabaseLinkView = ({name, url}) => (\\n \\n }>\\n Go the the web-UI of the database.\\n \\n \\n);\\n\\nconst NoDatabaseLinkView = () => (\\n }>\\n This deployment is not reachable outside the Kubernetes cluster.\\n \\n);\\n\\nconst RowView = ({name, mode, environment, stateColor, version, license, readyPodCount, podCount, readyVolumeCount, volumeCount, storageClasses, databaseURL, deleteCommand, describeCommand}) => (\\n \\n \\n }>\\n {getStateColorDescription(stateColor)}\\n \\n \\n \\n \\n {name}\\n \\n \\n \\n {mode}\\n \\n {(environment===\\\"Development\\\") ? } content=\\\"Development environment\\\"/>: null}\\n {(environment===\\\"Production\\\") ? } content=\\\"Production environment\\\"/>: null}\\n \\n \\n \\n {version}\\n \\n {(license===\\\"community\\\") ? } content=\\\"Community edition\\\"/>: null}\\n {(license===\\\"enterprise\\\") ? } content=\\\"Enterprise edition\\\"/>: null}\\n \\n \\n {readyPodCount} / {podCount}\\n {readyVolumeCount} / {volumeCount}\\n {storageClasses.map((item) => (item === \\\"\\\") ? \\\"\\\" : item)}\\n \\n { databaseURL ? : }\\n }\\n command={describeCommand}\\n title=\\\"Describe deployment\\\"\\n description=\\\"To get more information on the state of this deployment, run:\\\"\\n />\\n \\n }\\n command={deleteCommand}\\n title=\\\"Delete deployment\\\"\\n description=\\\"To delete this deployment, run:\\\"\\n />\\n \\n \\n \\n);\\n\\nconst ListView = ({items, loading}) => (\\n \\n \\n \\n {\\n (items) ? items.map((item) => \\n ) :

No items

\\n }\\n
\\n
\\n);\\n\\nconst EmptyView = () => (
No deployments
);\\n\\nfunction createDeleteCommand(name, namespace) {\\n return `kubectl delete ArangoDeployment -n ${namespace} ${name}`;\\n}\\n\\nfunction createDescribeCommand(name, namespace) {\\n return `kubectl describe ArangoDeployment -n ${namespace} ${name}`;\\n}\\n\\nfunction getStateColorDescription(stateColor) {\\n switch (stateColor) {\\n case \\\"green\\\":\\n return \\\"Everything is running smooth.\\\";\\n case \\\"yellow\\\":\\n return \\\"There is some activity going on, but deployment is available.\\\";\\n case \\\"orange\\\":\\n return \\\"There is some activity going on, deployment may be/become unavailable. You should pay attention now!\\\";\\n case \\\"red\\\":\\n return \\\"The deployment is in a bad state and manual intervention is likely needed.\\\";\\n default:\\n return \\\"State is not known.\\\";\\n }\\n}\\n\\nclass DeploymentList extends Component {\\n state = {\\n items: null,\\n error: null,\\n loading: true\\n };\\n\\n componentDidMount() {\\n this.reloadDeployments();\\n }\\n\\n reloadDeployments = async() => {\\n try {\\n this.setState({loading: true});\\n const result = await api.get('/api/deployment');\\n this.setState({\\n items: result.deployments,\\n loading: false,\\n error: null\\n });\\n } catch (e) {\\n this.setState({error: e.message, loading: false});\\n if (isUnauthorized(e)) {\\n this.props.doLogout();\\n return;\\n }\\n }\\n this.props.setTimeout(this.reloadDeployments, 5000);\\n }\\n\\n render() {\\n const items = this.state.items;\\n if (!items) {\\n return ();\\n }\\n if (items.length === 0) {\\n return ();\\n }\\n return ();\\n }\\n}\\n\\nexport default ReactTimeout(withAuth(DeploymentList));\\n\",\"import { BrowserRouter as Router, Route, Link } from \\\"react-router-dom\\\";\\nimport { Header, Menu, Message, Segment } from 'semantic-ui-react';\\nimport React, { Component } from 'react';\\n\\nimport { StyledMenu, StyledContentBox } from '../style/style';\\nimport DeploymentDetails from './DeploymentDetails';\\nimport DeploymentList from './DeploymentList';\\nimport LogoutContext from '../auth/LogoutContext';\\n\\nconst ListView = () => (\\n
\\n
\\n ArangoDeployment resources\\n
\\n \\n
\\n);\\n\\nconst DetailView = ({match}) => (\\n
\\n
\\n ArangoDeployment {match.params.name}\\n
\\n \\n
\\n);\\n\\nclass DeploymentOperator extends Component {\\n render() {\\n return (\\n \\n
\\n \\n {doLogout => \\n \\n \\n Deployment Operator\\n \\n \\n Deployments\\n \\n doLogout()}>\\n Logout\\n \\n \\n {this.props.commonMenuItems}\\n \\n \\n }\\n \\n \\n \\n
\\n \\n \\n
\\n
\\n {this.props.podInfoView}\\n {(this.props.error) ? : null}\\n
\\n
\\n
\\n );\\n }\\n}\\n\\nexport default DeploymentOperator;\\n\",\"import { Header, Loader, Segment } from 'semantic-ui-react';\\nimport React, { Component } from 'react';\\nimport ReactTimeout from 'react-timeout';\\n\\nimport { Field, FieldContent as FC, FieldLabel as FL } from '../style/style';\\nimport { LoaderBox } from '../style/style';\\nimport { withAuth } from '../auth/Auth';\\nimport api, { isUnauthorized } from '../api/api';\\nimport Loading from '../util/Loading';\\n\\nconst EndpointView = ({title, deploymentName, masterEndpoint, authKeyfileSecretName, authUserSecretName, tlsCACert, tlsCACertSecretName}) => (\\n \\n
{title}
\\n \\n Deployment\\n {deploymentName || \\\"-\\\"}\\n \\n \\n Master endpoint\\n {masterEndpoint || \\\"-\\\"}\\n \\n \\n TLS CA Certificate\\n {tlsCACert}\\n \\n
Secret names
\\n \\n Authentication keyfile\\n {authKeyfileSecretName || \\\"-\\\"}\\n \\n \\n Authentication user\\n {authUserSecretName || \\\"-\\\"}\\n \\n \\n TLS CA Certificate\\n {tlsCACertSecretName || \\\"-\\\"}\\n \\n
\\n);\\n\\nconst DetailsView = ({replication, loading}) => (\\n
\\n \\n \\n \\n
\\n);\\n\\nclass DeploymentReplicationDetails extends Component {\\n state = {\\n loading: true,\\n error: undefined\\n };\\n\\n componentDidMount() {\\n this.reloadDeploymentReplications();\\n }\\n\\n reloadDeploymentReplications = async() => {\\n try {\\n this.setState({\\n loading: true\\n });\\n const result = await api.get(`/api/deployment-replication/${this.props.name}`);\\n this.setState({\\n replication: result,\\n loading: false,\\n error: undefined\\n });\\n } catch (e) {\\n this.setState({\\n loading: false,\\n error: e.message\\n });\\n if (isUnauthorized(e)) {\\n this.props.doLogout();\\n return;\\n }\\n }\\n this.props.setTimeout(this.reloadDeploymentReplications, 5000);\\n }\\n\\n render() {\\n const dr = this.state.replication;\\n if (!dr) {\\n return ();\\n }\\n return ();\\n }\\n}\\n\\nexport default ReactTimeout(withAuth(DeploymentReplicationDetails));\\n\",\"import { Icon, Loader, Popup, Table } from 'semantic-ui-react';\\nimport { Link } from \\\"react-router-dom\\\";\\nimport React, { Component } from 'react';\\nimport ReactTimeout from 'react-timeout';\\n\\nimport { LoaderBoxForTable as LoaderBox } from '../style/style';\\nimport { withAuth } from '../auth/Auth';\\nimport api, { isUnauthorized } from '../api/api';\\nimport CommandInstruction from '../util/CommandInstruction';\\nimport Loading from '../util/Loading';\\n\\nconst HeaderView = ({loading}) => (\\n \\n \\n State\\n Name\\n Source\\n Destination\\n \\n Actions\\n \\n \\n \\n \\n);\\n\\nconst RowView = ({name, mode, stateColor, source, destination, deleteCommand, describeCommand}) => (\\n \\n \\n }>\\n {getStateColorDescription(stateColor)}\\n \\n \\n \\n \\n {name}\\n \\n \\n \\n {source}\\n \\n \\n {destination}\\n \\n \\n }\\n command={describeCommand}\\n title=\\\"Describe deployment replication\\\"\\n description=\\\"To get more information on the state of this deployment replication, run:\\\"\\n />\\n \\n }\\n command={deleteCommand}\\n title=\\\"Delete deployment replication\\\"\\n description=\\\"To delete this deployment replication, run:\\\"\\n />\\n \\n \\n \\n);\\n\\nconst ListView = ({items, loading}) => (\\n \\n \\n \\n {\\n (items) ? items.map((item) => \\n ) :

No items

\\n }\\n
\\n
\\n);\\n\\nconst EmptyView = () => (
No deployment replications
);\\n\\nfunction createDeleteCommand(name, namespace) {\\n return `kubectl delete ArangoDeploymentReplication -n ${namespace} ${name}`;\\n}\\n\\nfunction createDescribeCommand(name, namespace) {\\n return `kubectl describe ArangoDeploymentReplication -n ${namespace} ${name}`;\\n}\\n\\nfunction getStateColorDescription(stateColor) {\\n switch (stateColor) {\\n case \\\"green\\\":\\n return \\\"Replication has been configured.\\\";\\n case \\\"yellow\\\":\\n return \\\"Replication is being configured.\\\";\\n case \\\"red\\\":\\n return \\\"The replication is in a bad state and manual intervention is likely needed.\\\";\\n default:\\n return \\\"State is not known.\\\";\\n }\\n}\\n\\nclass DeploymentReplicationList extends Component {\\n state = {\\n items: null,\\n error: null,\\n loading: true\\n };\\n\\n componentDidMount() {\\n this.reloadDeploymentReplications();\\n }\\n\\n reloadDeploymentReplications = async() => {\\n try {\\n this.setState({loading: true});\\n const result = await api.get('/api/deployment-replication');\\n this.setState({\\n items: result.replications,\\n loading: false,\\n error: null\\n });\\n } catch (e) {\\n this.setState({error: e.message, loading: false});\\n if (isUnauthorized(e)) {\\n this.props.doLogout();\\n return;\\n }\\n }\\n this.props.setTimeout(this.reloadDeploymentReplications, 5000);\\n }\\n\\n render() {\\n const items = this.state.items;\\n if (!items) {\\n return ();\\n }\\n if (items.length === 0) {\\n return ();\\n }\\n return ();\\n }\\n}\\n\\nexport default ReactTimeout(withAuth(DeploymentReplicationList));\\n\",\"import { BrowserRouter as Router, Route, Link } from \\\"react-router-dom\\\";\\nimport { Header, Menu, Message, Segment } from 'semantic-ui-react';\\nimport React, { Component } from 'react';\\n\\nimport { StyledMenu, StyledContentBox } from '../style/style';\\nimport DeploymentReplicationDetails from './DeploymentReplicationDetails';\\nimport DeploymentReplicationList from './DeploymentReplicationList';\\nimport LogoutContext from '../auth/LogoutContext';\\n\\nconst ListView = () => (\\n
\\n
\\n ArangoDeploymentReplication resources\\n
\\n \\n
\\n);\\n\\nconst DetailView = ({match}) => (\\n
\\n
\\n ArangoDeploymentReplication {match.params.name}\\n
\\n \\n
\\n);\\n\\nclass DeploymentReplicationOperator extends Component {\\n render() {\\n return (\\n \\n
\\n \\n {doLogout => \\n \\n \\n Deployment Replication Operator\\n \\n \\n Deployment replications\\n \\n doLogout()}>\\n Logout\\n \\n \\n \\n {this.props.commonMenuItems}\\n \\n }\\n \\n \\n \\n
\\n \\n \\n
\\n
\\n {this.props.podInfoView}\\n {(this.props.error) ? : null}\\n
\\n
\\n
\\n );\\n }\\n}\\n\\nexport default DeploymentReplicationOperator;\\n\",\"import { Container, Message, Modal, Segment } from 'semantic-ui-react';\\nimport React from 'react';\\n\\nconst NoOperator = () => (\\n \\n \\n Welcome to Kube-ArangoDB\\n \\n \\n \\n There are no operators available yet.\\n \\n \\n {this.props.podInfoView}\\n {(this.props.error) ? : null}\\n \\n \\n \\n);\\n\\nexport default NoOperator;\\n\",\"import { Icon, Loader, Popup, Table } from 'semantic-ui-react';\\nimport React, { Component } from 'react';\\nimport ReactTimeout from 'react-timeout';\\n\\nimport { LoaderBoxForTable as LoaderBox } from '../style/style';\\nimport { withAuth } from '../auth/Auth';\\nimport api, { isUnauthorized } from '../api/api';\\nimport CommandInstruction from '../util/CommandInstruction';\\nimport Loading from '../util/Loading';\\n\\nconst HeaderView = ({loading}) => (\\n \\n \\n State\\n Name\\n Capacity\\n Node\\n \\n Actions\\n \\n \\n \\n \\n);\\n\\nconst RowView = ({name, stateColor, nodeName, capacity, describeCommand, deleteCommand}) => (\\n \\n \\n }>\\n {getStateColorDescription(stateColor)}\\n \\n \\n \\n {name}\\n \\n \\n {capacity}\\n \\n \\n {nodeName}\\n \\n \\n }\\n command={describeCommand}\\n title=\\\"Describe PersistentVolume\\\"\\n description=\\\"To get more information on the state of this PersistentVolume, run:\\\"\\n />\\n \\n }\\n command={deleteCommand}\\n title=\\\"Delete PersistentVolume\\\"\\n description=\\\"To delete this PersistentVolume, run:\\\"\\n />\\n \\n \\n \\n);\\n\\nconst ListView = ({items, loading}) => (\\n \\n \\n \\n {\\n (items) ? items.map((item) => \\n \\n ) :

No items

\\n }\\n
\\n
\\n);\\n\\nconst EmptyView = () => (
No PersistentVolumes
);\\n\\nfunction createDeleteCommand(name) {\\n return `kubectl delete PersistentVolume ${name}`;\\n}\\n\\nfunction createDescribeCommand(name) {\\n return `kubectl describe PersistentVolume ${name}`;\\n}\\n\\nfunction getStateColorDescription(stateColor) {\\n switch (stateColor) {\\n case \\\"green\\\":\\n return \\\"Everything is running smooth.\\\";\\n case \\\"yellow\\\":\\n return \\\"There is some activity going on, but PersistentVolume is available.\\\";\\n case \\\"orange\\\":\\n return \\\"There is some activity going on, PersistentVolume may be/become unavailable. You should pay attention now!\\\";\\n case \\\"red\\\":\\n return \\\"The PersistentVolume is in a bad state and manual intervention is likely needed.\\\";\\n default:\\n return \\\"State is not known.\\\";\\n }\\n}\\n\\nclass VolumeList extends Component {\\n state = {\\n items: undefined,\\n error: undefined,\\n loading: true\\n };\\n\\n componentDidMount() {\\n this.reloadVolumes();\\n }\\n\\n reloadVolumes = async() => {\\n try {\\n this.setState({\\n loading: true\\n });\\n const result = await api.get(`/api/storage/${this.props.storageName}`);\\n this.setState({\\n items: result.volumes,\\n loading: false,\\n error: undefined\\n });\\n } catch (e) {\\n this.setState({\\n error: e.message,\\n loading: false\\n });\\n if (isUnauthorized(e)) {\\n this.props.doLogout();\\n return;\\n }\\n }\\n this.props.setTimeout(this.reloadVolumes, 5000);\\n }\\n\\n render() {\\n const items = this.state.items;\\n if (!items) {\\n return ();\\n }\\n if (items.length === 0) {\\n return ();\\n }\\n return ();\\n }\\n}\\n\\nexport default ReactTimeout(withAuth(VolumeList));\\n\",\"import { Accordion, Header, Icon, Popup, Table } from 'semantic-ui-react';\\nimport React, { Component } from 'react';\\n\\nimport CommandInstruction from '../util/CommandInstruction';\\nimport VolumeList from './VolumeList';\\n\\nconst RowView = ({name, stateColor,localPaths, storageClass, storageClassIsDefault, deleteCommand, describeCommand, expanded, toggleExpand}) => (\\n \\n \\n }>\\n {getStateColorDescription(stateColor)}\\n \\n \\n \\n \\n \\n \\n {name}\\n \\n \\n \\n \\n {localPaths.map((item, index) => {item})}\\n \\n \\n {storageClass}\\n \\n {storageClassIsDefault && } content=\\\"Default storage class\\\"/>}\\n \\n \\n \\n }\\n command={describeCommand}\\n title=\\\"Describe local storage\\\"\\n description=\\\"To get more information on the state of this local storage, run:\\\"\\n />\\n \\n }\\n command={deleteCommand}\\n title=\\\"Delete local storage\\\"\\n description=\\\"To delete this local storage, run:\\\"\\n />\\n \\n \\n \\n);\\n\\nconst VolumesRowView = ({name}) => (\\n \\n \\n
Volumes
\\n \\n
\\n
\\n);\\n\\nclass StorageRow extends Component {\\n state = {expanded: true};\\n\\n onToggleExpand = () => { this.setState({expanded: !this.state.expanded});}\\n\\n render() {\\n return [,\\n this.state.expanded && \\n ];\\n }\\n}\\n\\nfunction getStateColorDescription(stateColor) {\\n switch (stateColor) {\\n case \\\"green\\\":\\n return \\\"Everything is running smooth.\\\";\\n case \\\"yellow\\\":\\n return \\\"There is some activity going on, but local storage is available.\\\";\\n case \\\"orange\\\":\\n return \\\"There is some activity going on, local storage may be/become unavailable. You should pay attention now!\\\";\\n case \\\"red\\\":\\n return \\\"The local storage is in a bad state and manual intervention is likely needed.\\\";\\n default:\\n return \\\"State is not known.\\\";\\n }\\n}\\n\\nexport default StorageRow;\\n\",\"import { Loader, Table } from 'semantic-ui-react';\\nimport React, { Component } from 'react';\\nimport ReactTimeout from 'react-timeout';\\n\\nimport { LoaderBoxForTable as LoaderBox } from '../style/style';\\nimport { withAuth } from '../auth/Auth';\\nimport api, { isUnauthorized } from '../api/api';\\nimport Loading from '../util/Loading';\\nimport StorageRow from './StorageRow';\\n\\nconst HeaderView = ({loading}) => (\\n \\n \\n State\\n Name\\n Local path(s)\\n StorageClass\\n \\n Actions\\n \\n \\n \\n \\n);\\n\\nconst ListView = ({items, loading}) => (\\n \\n \\n \\n {\\n (items) ? items.map((item) => \\n \\n ) :

No items

\\n }\\n
\\n
\\n);\\n\\nconst EmptyView = () => (
No local storage resources
);\\n\\nfunction createDeleteCommand(name) {\\n return `kubectl delete ArangoLocalStorage ${name}`;\\n}\\n\\nfunction createDescribeCommand(name) {\\n return `kubectl describe ArangoLocalStorage ${name}`;\\n}\\n\\nclass StorageList extends Component {\\n state = {\\n items: undefined,\\n error: undefined,\\n loading: true\\n };\\n\\n componentDidMount() {\\n this.reloadStorages();\\n }\\n\\n reloadStorages = async() => {\\n try {\\n this.setState({\\n loading: true\\n });\\n const result = await api.get('/api/storage');\\n this.setState({\\n items: result.storages,\\n loading: false,\\n error: undefined\\n });\\n } catch (e) {\\n this.setState({\\n error: e.message,\\n loading: false\\n });\\n if (isUnauthorized(e)) {\\n this.props.doLogout();\\n return;\\n }\\n }\\n this.props.setTimeout(this.reloadStorages, 5000);\\n }\\n\\n render() {\\n const items = this.state.items;\\n if (!items) {\\n return ();\\n }\\n if (items.length === 0) {\\n return ();\\n }\\n return ();\\n }\\n}\\n\\nexport default ReactTimeout(withAuth(StorageList));\\n\",\"import { Header, Menu, Message, Segment } from 'semantic-ui-react';\\nimport React, { Component } from 'react';\\n\\nimport { StyledMenu, StyledContentBox } from '../style/style';\\nimport LogoutContext from '../auth/LogoutContext';\\nimport StorageList from './StorageList';\\n\\nconst ListView = () => (\\n
\\n
\\n ArangoLocalStorage resources\\n
\\n \\n
\\n);\\n\\nclass StorageOperator extends Component {\\n render() {\\n return (\\n
\\n \\n {doLogout => \\n \\n \\n Deployment Operator\\n \\n \\n Local storages\\n \\n doLogout()}>\\n Logout\\n \\n \\n {this.props.commonMenuItems}\\n \\n \\n }\\n \\n \\n \\n \\n \\n {this.props.podInfoView}\\n {(this.props.error) ? : null}\\n \\n
\\n );\\n }\\n}\\n\\nexport default StorageOperator;\\n\",\"import { Container, Segment, Menu, Message } from 'semantic-ui-react';\\nimport React, { Component } from 'react';\\nimport ReactTimeout from 'react-timeout';\\n\\nimport { withAuth } from './auth/Auth';\\nimport api, { isUnauthorized } from './api/api';\\nimport DeploymentOperator from './deployment/DeploymentOperator';\\nimport DeploymentReplicationOperator from './replication/DeploymentReplicationOperator';\\nimport Loading from './util/Loading';\\nimport NoOperator from './NoOperator';\\nimport StorageOperator from './storage/StorageOperator';\\n\\nconst PodInfoView = ({pod, namespace}) => (\\n \\n \\n Kube-ArangoDB\\n

Running in Pod {pod} in namespace {namespace}.

\\n
\\n
\\n);\\n\\nconst OperatorsView = ({error, deployment, deploymentReplication, storage, pod, namespace, otherOperators}) => {\\n let commonMenuItems = otherOperators.map((item) => {operatorType2Name(item.type)});\\n if (commonMenuItems.length > 0) {\\n commonMenuItems = (\\n Other operators\\n {commonMenuItems}\\n );\\n }\\n let Operator = NoOperator;\\n if (deployment)\\n Operator = DeploymentOperator;\\n else if (deploymentReplication) \\n Operator = DeploymentReplicationOperator;\\n else if (storage)\\n Operator = StorageOperator;\\n return (\\n }\\n commonMenuItems={commonMenuItems}\\n error={error}\\n />\\n );\\n}\\n\\nconst operatorType2Name = (oType) => {\\n switch (oType) {\\n case \\\"deployment\\\":\\n return \\\"Deployments\\\";\\n case \\\"deployment_replication\\\":\\n return \\\"Deployment replications\\\";\\n case \\\"storage\\\":\\n return \\\"Storage\\\";\\n default:\\n return \\\"\\\";\\n }\\n};\\n\\nconst LoadingView = () => (\\n \\n \\n \\n);\\n\\nclass App extends Component {\\n state = {\\n operators: undefined,\\n error: undefined\\n };\\n\\n componentDidMount() {\\n this.reloadOperators();\\n }\\n\\n reloadOperators = async() => {\\n try {\\n const operators = await api.get('/api/operators');\\n this.setState({\\n operators,\\n error: undefined\\n });\\n } catch (e) {\\n this.setState({\\n error: e.message\\n });\\n if (isUnauthorized(e)) {\\n this.props.doLogout();\\n }\\n }\\n this.props.setTimeout(this.reloadOperators, 10000);\\n }\\n\\n render() {\\n if (this.state.operators) {\\n return ;\\n }\\n return ();\\n }\\n}\\n\\nexport default ReactTimeout(withAuth(App));\\n\",\"// In production, we register a service worker to serve assets from local cache.\\n\\n// This lets the app load faster on subsequent visits in production, and gives\\n// it offline capabilities. However, it also means that developers (and users)\\n// will only see deployed updates on the \\\"N+1\\\" visit to a page, since previously\\n// cached resources are updated in the background.\\n\\n// To learn more about the benefits of this model, read https://goo.gl/KwvDNy.\\n// This link also includes instructions on opting out of this behavior.\\n\\nconst isLocalhost = Boolean(\\n window.location.hostname === 'localhost' ||\\n // [::1] is the IPv6 localhost address.\\n window.location.hostname === '[::1]' ||\\n // 127.0.0.1/8 is considered localhost for IPv4.\\n window.location.hostname.match(\\n /^127(?:\\\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\\n )\\n);\\n\\nexport default function register() {\\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\\n // The URL constructor is available in all browsers that support SW.\\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location);\\n if (publicUrl.origin !== window.location.origin) {\\n // Our service worker won't work if PUBLIC_URL is on a different origin\\n // from what our page is served on. This might happen if a CDN is used to\\n // serve assets; see https://github.com/facebookincubator/create-react-app/issues/2374\\n return;\\n }\\n\\n window.addEventListener('load', () => {\\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\\n\\n if (isLocalhost) {\\n // This is running on localhost. Lets check if a service worker still exists or not.\\n checkValidServiceWorker(swUrl);\\n\\n // Add some additional logging to localhost, pointing developers to the\\n // service worker/PWA documentation.\\n navigator.serviceWorker.ready.then(() => {\\n console.log(\\n 'This web app is being served cache-first by a service ' +\\n 'worker. To learn more, visit https://goo.gl/SC7cgQ'\\n );\\n });\\n } else {\\n // Is not local host. Just register service worker\\n registerValidSW(swUrl);\\n }\\n });\\n }\\n}\\n\\nfunction registerValidSW(swUrl) {\\n navigator.serviceWorker\\n .register(swUrl)\\n .then(registration => {\\n registration.onupdatefound = () => {\\n const installingWorker = registration.installing;\\n installingWorker.onstatechange = () => {\\n if (installingWorker.state === 'installed') {\\n if (navigator.serviceWorker.controller) {\\n // At this point, the old content will have been purged and\\n // the fresh content will have been added to the cache.\\n // It's the perfect time to display a \\\"New content is\\n // available; please refresh.\\\" message in your web app.\\n console.log('New content is available; please refresh.');\\n } else {\\n // At this point, everything has been precached.\\n // It's the perfect time to display a\\n // \\\"Content is cached for offline use.\\\" message.\\n console.log('Content is cached for offline use.');\\n }\\n }\\n };\\n };\\n })\\n .catch(error => {\\n console.error('Error during service worker registration:', error);\\n });\\n}\\n\\nfunction checkValidServiceWorker(swUrl) {\\n // Check if the service worker can be found. If it can't reload the page.\\n fetch(swUrl)\\n .then(response => {\\n // Ensure service worker exists, and that we really are getting a JS file.\\n if (\\n response.status === 404 ||\\n response.headers.get('content-type').indexOf('javascript') === -1\\n ) {\\n // No service worker found. Probably a different app. Reload the page.\\n navigator.serviceWorker.ready.then(registration => {\\n registration.unregister().then(() => {\\n window.location.reload();\\n });\\n });\\n } else {\\n // Service worker found. Proceed as normal.\\n registerValidSW(swUrl);\\n }\\n })\\n .catch(() => {\\n console.log(\\n 'No internet connection found. App is running in offline mode.'\\n );\\n });\\n}\\n\\nexport function unregister() {\\n if ('serviceWorker' in navigator) {\\n navigator.serviceWorker.ready.then(registration => {\\n registration.unregister();\\n });\\n }\\n}\\n\",\"import React from 'react';\\nimport ReactDOM from 'react-dom';\\nimport './index.css';\\nimport App from './App';\\nimport Auth from './auth/Auth.js';\\nimport registerServiceWorker from './registerServiceWorker';\\n\\nReactDOM.render(, document.getElementById('root'));\\nregisterServiceWorker();\\n\"],\"sourceRoot\":\"\"}" +var _Assetsf10cd8a71c2d6ff325578cc980909b6396f6534b = "/**\n * Welcome to your Workbox-powered service worker!\n *\n * You'll need to register this file in your web app and you should\n * disable HTTP caching for this file too.\n * See https://goo.gl/nhQhGp\n *\n * The rest of the code is auto-generated. Please don't update this file\n * directly; instead, make changes to your Workbox build configuration\n * and re-run your build process.\n * See https://goo.gl/2aRDsh\n */\n\nimportScripts(\"https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js\");\n\nimportScripts(\n \"/precache-manifest.1f83aa65d345f061cdb3e78d56097bf6.js\"\n);\n\nworkbox.clientsClaim();\n\n/**\n * The workboxSW.precacheAndRoute() method efficiently caches and responds to\n * requests for URLs in the manifest.\n * See https://goo.gl/S9QRab\n */\nself.__precacheManifest = [].concat(self.__precacheManifest || []);\nworkbox.precaching.suppressWarnings();\nworkbox.precaching.precacheAndRoute(self.__precacheManifest, {});\n\nworkbox.routing.registerNavigationRoute(\"/index.html\", {\n \n blacklist: [/^\\/_/,/\\/[^\\/]+\\.[^\\/]+$/],\n});\n" var _Assetsfa5fcf0e6a0d1a03969045751bca208c4245463d = "!function(e){function r(r){for(var n,f,i=r[0],l=r[1],a=r[2],c=0,s=[];cKube-ArangoDB
" var _Assetsc1364270c9796c4b4e5bac0c1af57c3be9a8c337 = "{\"version\":3,\"sources\":[\"/usr/code/src/index.css\"],\"names\":[],\"mappings\":\"AAAA,KACE,SAAU,AACV,UAAW,AACX,sBAAwB,CACzB\",\"file\":\"main.9d5ba2a4.chunk.css\",\"sourcesContent\":[\"body {\\n margin: 0;\\n padding: 0;\\n font-family: sans-serif;\\n}\\n\"]}" +var _Assets40f82f96319f22690bf8476a966b8490afc2dc4e = "(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{246:function(e,t,a){e.exports=a(422)},251:function(e,t,a){},422:function(e,t,a){\"use strict\";a.r(t);var n=a(0),r=a.n(n),l=a(55),o=a.n(l),c=(a(251),a(15)),i=a.n(c),s=a(24),m=a(16),u=a(17),d=a(19),p=a(18),E=a(20),h=a(448),g=a(439),f=a(440),v=a(433),b=a(31),y=a.n(b),C=\"kube-arangodb:v1:\";function k(e){var t=sessionStorage.getItem(\"\".concat(C).concat(e));if(t)try{return JSON.parse(t)}catch(a){}}function w(e,t){return sessionStorage.setItem(\"\".concat(C).concat(e),JSON.stringify(t)),t}function O(e){return 401===e.status}var j={token:\"\",decodeResults:function(){var e=Object(s.a)(i.a.mark(function e(t){var a,n;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.json();case 2:if(a=e.sent,200===t.status){e.next=7;break}throw(n=a.error)||(n=401===t.status?\"Unauthorized\":\"Unexpected status \".concat(t.status)),Object.assign(new Error(n),{status:t.status});case 7:return e.abrupt(\"return\",a);case 8:case\"end\":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),get:function(){var e=Object(s.a)(i.a.mark(function e(t){var a,n;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a={Accept:\"application/json\"},this.token&&(a.Authorization=\"bearer \".concat(this.token)),e.next=4,fetch(t,{headers:a});case 4:return n=e.sent,e.abrupt(\"return\",this.decodeResults(n));case 6:case\"end\":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),post:function(){var e=Object(s.a)(i.a.mark(function e(t,a){var n,r;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n={Accept:\"application/json\",\"Content-Type\":\"application/json\"},this.token&&(n.Authorization=\"bearer \".concat(this.token)),e.next=4,fetch(t,{method:\"POST\",headers:n,body:JSON.stringify(a)});case 4:return r=e.sent,e.abrupt(\"return\",this.decodeResults(r));case 6:case\"end\":return e.stop()}},e,this)}));return function(t,a){return e.apply(this,arguments)}}()},S=a(446),x=a(432),_=function(e){var t=e.message;return r.a.createElement(h.a,null,r.a.createElement(S.a,{inverted:!0,active:!0},r.a.createElement(x.a,{inverted:!0},t||\"Loading...\")),r.a.createElement(\"div\",{style:{minHeight:\"3em\"}}))},D=a(131),A=a(435),T=a(436),L=a(441),I=a(129),N=a(132);function H(){var e=Object(D.a)([\"display:none\"]);return H=function(){return e},e}var P=function(e){var t=e.username,a=e.password,n=e.onUsernameChanged,l=e.onPasswordChanged,o=e.doLogin,c=e.error;return r.a.createElement(v.a,null,r.a.createElement(A.a,{onSubmit:o},r.a.createElement(A.a.Field,null,r.a.createElement(\"label\",null,\"Name\"),r.a.createElement(\"input\",{focus:\"true\",value:t,onChange:function(e){return n(e.target.value)}})),r.a.createElement(A.a.Field,null,r.a.createElement(\"label\",null,\"Password\"),r.a.createElement(\"input\",{type:\"password\",value:a,onChange:function(e){return l(e.target.value)}})),r.a.createElement(A.a.Button,{className:Object(N.a)(H()),type:\"submit\"})),c?r.a.createElement(g.a,{error:!0,content:c}):null)},R=function(e){function t(){var e,a;Object(m.a)(this,t);for(var n=arguments.length,r=new Array(n),l=0;l\":e})),r.a.createElement(Ce.a.Cell,null,p?r.a.createElement(Oe,{name:t,url:p}):r.a.createElement(je,null),r.a.createElement(ue,{trigger:r.a.createElement(I.a,{link:!0,name:\"zoom\"}),command:h,title:\"Describe deployment\",description:\"To get more information on the state of this deployment, run:\"}),r.a.createElement(\"span\",{style:{float:\"right\"}},r.a.createElement(ue,{trigger:r.a.createElement(I.a,{link:!0,name:\"trash\"}),command:E,title:\"Delete deployment\",description:\"To delete this deployment, run:\"}))))},xe=function(e){var t=e.items,a=e.loading;return r.a.createElement(Ce.a,{striped:!0,celled:!0},r.a.createElement(we,{loading:a}),r.a.createElement(Ce.a.Body,null,t?t.map(function(e){return r.a.createElement(Se,{key:e.name,name:e.name,namespace:e.namespace,mode:e.mode,environment:e.environment,stateColor:e.state_color,version:e.database_version,license:e.database_license,readyPodCount:e.ready_pod_count,podCount:e.pod_count,readyVolumeCount:e.ready_volume_count,volumeCount:e.volume_count,storageClasses:e.storage_classes,databaseURL:e.database_url,deleteCommand:(t=e.name,a=e.namespace,\"kubectl delete ArangoDeployment -n \".concat(a,\" \").concat(t)),describeCommand:De(e.name,e.namespace)});var t,a}):r.a.createElement(\"p\",null,\"No items\")))},_e=function(){return r.a.createElement(\"div\",null,\"No deployments\")};function De(e,t){return\"kubectl describe ArangoDeployment -n \".concat(t,\" \").concat(e)}var Ae=function(e){function t(){var e,a;Object(m.a)(this,t);for(var n=arguments.length,r=new Array(n),l=0;l0&&(i=r.a.createElement(f.a.Item,null,r.a.createElement(f.a.Header,null,\"Other operators\"),r.a.createElement(f.a.Menu,null,i)));var s=Qe;return a?s=Ne:n?s=Fe:l&&(s=pt),r.a.createElement(s,{podInfoView:r.a.createElement(Et,{pod:o,namespace:c}),commonMenuItems:i,error:t})},gt=function(e){switch(e){case\"deployment\":return\"Deployments\";case\"deployment_replication\":return\"Deployment replications\";case\"storage\":return\"Storage\";default:return\"\"}},ft=function(){return r.a.createElement(v.a,null,r.a.createElement(_,null))},vt=function(e){function t(){var e,a;Object(m.a)(this,t);for(var n=arguments.length,r=new Array(n),l=0;l-1:!!s&&r(e,t,n)>-1}},function(e,t,n){var r=n(52),o=n(38),a=n(344),i=n(21);e.exports=function(e,t){return(i(e)?r:a)(e,o(t,3))}},function(e,t,n){\"use strict\";function r(e,t,n,r,o,a,i){try{var c=e[a](i),l=c.value}catch(u){return void n(u)}c.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise(function(o,a){var i=e.apply(t,n);function c(e){r(i,o,a,c,l,\"next\",e)}function l(e){r(i,o,a,c,l,\"throw\",e)}c(void 0)})}}n.d(t,\"a\",function(){return o})},function(e,t,n){\"use strict\";e.exports=function(){}},function(e,t,n){var r=n(155),o=n(58),a=n(85),i=o(function(e,t){return a(e)?r(e,t):[]});e.exports=i},,function(e,t){e.exports=function(e){return null!=e&&\"object\"==typeof e}},function(e,t,n){var r=n(91);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},function(e,t,n){var r=n(156),o=\"object\"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function(\"return this\")();e.exports=a},function(e,t,n){var r=n(0),o=n(255);e.exports=o(r)},function(e,t,n){var r=n(47),o=n(106);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){var r=n(51),o=n(265),a=n(266),i=\"[object Null]\",c=\"[object Undefined]\",l=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?c:i:l&&l in Object(e)?o(e):a(e)}},function(e,t,n){\"use strict\";e.exports=function(e,t,n,r,o,a,i,c){if(!e){var l;if(void 0===t)l=new Error(\"Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.\");else{var u=[n,r,o,a,i,c],s=0;(l=new Error(t.replace(/%s/g,function(){return u[s++]}))).name=\"Invariant Violation\"}throw l.framesToPop=1,l}}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&(\"object\"==t||\"function\"==t)}},function(e,t,n){\"use strict\";var r=function(){};e.exports=r},,function(e,t,n){var r=n(293),o=n(311),a=n(53),i=n(21),c=n(315);e.exports=function(e){return\"function\"==typeof e?e:null==e?a:\"object\"==typeof e?i(e)?o(e[0],e[1]):r(e):c(e)}},function(e,t,n){var r=n(173),o=n(90),a=n(32);e.exports=function(e){return a(e)?r(e):o(e)}},function(e,t){e.exports={}},function(e,t,n){\"use strict\";n.d(t,\"a\",function(){return i}),n.d(t,\"d\",function(){return c}),n.d(t,\"b\",function(){return l}),n.d(t,\"c\",function(){return u}),n.d(t,\"e\",function(){return s}),n.d(t,\"f\",function(){return f});var r=n(42),o=n.n(r),a=n(61),i=function(e,t){return e&&t},c=function(e,t){return e&&!0!==e&&\"\".concat(e,\" \").concat(t)},l=function(e,t){return e&&(!0===e?t:\"\".concat(e,\" \").concat(t))},u=function(e){return\"justified\"===e?\"justified\":c(e,\"aligned\")},s=function(e){return c(e,\"aligned\")},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\";if(arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&\"equal\"===e)return\"equal width\";var n=o()(e);return\"string\"!==n&&\"number\"!==n||!t?Object(a.a)(e):\"\".concat(Object(a.a)(e),\" \").concat(t)}},function(e,t){function n(e){return(n=\"function\"===typeof Symbol&&\"symbol\"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function r(t){return\"function\"===typeof Symbol&&\"symbol\"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&\"function\"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":n(e)},r(t)}e.exports=r},function(e,t,n){var r=n(340),o=n(341),a=n(342);e.exports=function(e,t){return r(e)||o(e,t)||a()}},function(e,t,n){var r=n(308),o=n(103),a=n(309),i=n(175),c=n(176),l=n(33),u=n(157),s=u(r),f=u(o),p=u(a),d=u(i),h=u(c),v=l;(r&&\"[object DataView]\"!=v(new r(new ArrayBuffer(1)))||o&&\"[object Map]\"!=v(new o)||a&&\"[object Promise]\"!=v(a.resolve())||i&&\"[object Set]\"!=v(new i)||c&&\"[object WeakMap]\"!=v(new c))&&(v=function(e){var t=l(e),n=\"[object Object]\"==t?e.constructor:void 0,r=n?u(n):\"\";if(r)switch(r){case s:return\"[object DataView]\";case f:return\"[object Map]\";case p:return\"[object Promise]\";case d:return\"[object Set]\";case h:return\"[object WeakMap]\"}return t}),e.exports=v},function(e,t,n){var r=n(114);e.exports=function(e){return null==e?\"\":r(e)}},function(e,t,n){var r=n(359),o=n(361);e.exports=function(e,t,n){return r(o,e,t,n)}},function(e,t,n){var r=n(33),o=n(35),a=\"[object AsyncFunction]\",i=\"[object Function]\",c=\"[object GeneratorFunction]\",l=\"[object Proxy]\";e.exports=function(e){if(!o(e))return!1;var t=r(e);return t==i||t==c||t==a||t==l}},function(e,t,n){var r=n(166),o=n(38),a=n(317),i=n(21),c=n(92);e.exports=function(e,t,n){var l=i(e)?r:a;return n&&c(e,t,n)&&(t=void 0),l(e,o(t,3))}},function(e,t,n){var r=n(90),o=n(44),a=n(87),i=n(21),c=n(32),l=n(88),u=n(66),s=n(112),f=\"[object Map]\",p=\"[object Set]\",d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(c(e)&&(i(e)||\"string\"==typeof e||\"function\"==typeof e.splice||l(e)||s(e)||a(e)))return!e.length;var t=o(e);if(t==f||t==p)return!e.size;if(u(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},function(e,t,n){var r=n(264),o=n(269);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(30).Symbol;e.exports=r},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n-1&&e%1==0&&e1&&void 0!==arguments[1]?arguments[1]:{},n=t.htmlProps,r=void 0===n?l:n,a=t.includeAria,c=void 0===a||a,u={},s={};return i()(e,function(e,t){var n=c&&(/^aria-.*$/.test(t)||\"role\"===t);(o()(r,t)||n?u:s)[t]=e}),[u,s]}},function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n-1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},function(e,t,n){var r=n(32),o=n(28);e.exports=function(e){return o(e)&&r(e)}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},function(e,t,n){var r=n(304),o=n(28),a=Object.prototype,i=a.hasOwnProperty,c=a.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,\"callee\")&&!c.call(e,\"callee\")};e.exports=l},function(e,t,n){(function(e){var r=n(30),o=n(305),a=\"object\"==typeof t&&t&&!t.nodeType&&t,i=a&&\"object\"==typeof e&&e&&!e.nodeType&&e,c=i&&i.exports===a?r.Buffer:void 0,l=(c?c.isBuffer:void 0)||o;e.exports=l}).call(this,n(111)(e))},function(e,t,n){(function(e){var r=n(156),o=\"object\"==typeof t&&t&&!t.nodeType&&t,a=o&&\"object\"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,c=function(){try{var e=a&&a.require&&a.require(\"util\").types;return e||i&&i.binding&&i.binding(\"util\")}catch(t){}}();e.exports=c}).call(this,n(111)(e))},function(e,t,n){var r=n(66),o=n(307),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&\"constructor\"!=n&&t.push(n);return t}},function(e,t,n){var r=n(67),o=n(54);e.exports=function(e,t){for(var n=0,a=(t=r(t,e)).length;null!=e&&n0&&a(s)?n>1?e(s,n-1,a,i,c):r(c,s):i||(c[c.length]=s)}return c}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n-1&&e%1==0&&e<=n}},function(e,t,n){var r=n(78),o=n(295),a=n(296),i=n(297),c=n(298),l=n(299);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=c,u.prototype.set=l,e.exports=u},function(e,t,n){var r=n(300),o=n(28);e.exports=function e(t,n,a,i,c){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,a,i,e,c))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++no?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r\"],191:[\"/\",\"?\"],192:[\"`\",\"~\"],219:[\"[\",\"{\"],220:[\"\\\\\",\"|\"],221:[\"]\",\"}\"],222:[\"'\",'\"'],224:\"Meta\",225:\"AltGraph\",246:\"Attn\",247:\"CrSel\",248:\"ExSel\",249:\"EraseEof\",250:\"Play\",251:\"ZoomOut\"},a=0;a<24;a+=1)o[112+a]=\"F\"+(a+1);for(var i=0;i<26;i+=1){var c=i+65;o[c]=[String.fromCharCode(c+32),String.fromCharCode(c)]}var l={codes:o,getCode:function(e){return r(e)?e.keyCode||e.which||this[e.key]:this[e]},getKey:function(e){var t=r(e),n=o[t?e.keyCode||e.which:e];return Array.isArray(n)&&(n=t?n[e.shiftKey?1:0]:n[0]),n},Cancel:3,Help:6,Backspace:8,Tab:9,Clear:12,Enter:13,Shift:16,Control:17,Alt:18,Pause:19,CapsLock:20,Escape:27,Convert:28,NonConvert:29,Accept:30,ModeChange:31,\" \":32,PageUp:33,PageDown:34,End:35,Home:36,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Select:41,Print:42,Execute:43,PrintScreen:44,Insert:45,Delete:46,0:48,\")\":48,1:49,\"!\":49,2:50,\"@\":50,3:51,\"#\":51,4:52,$:52,5:53,\"%\":53,6:54,\"^\":54,7:55,\"&\":55,8:56,\"*\":56,9:57,\"(\":57,a:65,A:65,b:66,B:66,c:67,C:67,d:68,D:68,e:69,E:69,f:70,F:70,g:71,G:71,h:72,H:72,i:73,I:73,j:74,J:74,k:75,K:75,l:76,L:76,m:77,M:77,n:78,N:78,o:79,O:79,p:80,P:80,q:81,Q:81,r:82,R:82,s:83,S:83,t:84,T:84,u:85,U:85,v:86,V:86,w:87,W:87,x:88,X:88,y:89,Y:89,z:90,Z:90,OS:91,ContextMenu:93,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,F16:127,F17:128,F18:129,F19:130,F20:131,F21:132,F22:133,F23:134,F24:135,NumLock:144,ScrollLock:145,VolumeMute:181,VolumeDown:182,VolumeUp:183,\";\":186,\":\":186,\"=\":187,\"+\":187,\",\":188,\"<\":188,\"-\":189,_:189,\".\":190,\">\":190,\"/\":191,\"?\":191,\"`\":192,\"~\":192,\"[\":219,\"{\":219,\"\\\\\":220,\"|\":220,\"]\":221,\"}\":221,\"'\":222,'\"':222,Meta:224,AltGraph:225,Attn:246,CrSel:247,ExSel:248,EraseEof:249,Play:250,ZoomOut:251};l.Spacebar=l[\" \"],l.Digit0=l[0],l.Digit1=l[1],l.Digit2=l[2],l.Digit3=l[3],l.Digit4=l[4],l.Digit5=l[5],l.Digit6=l[6],l.Digit7=l[7],l.Digit8=l[8],l.Digit9=l[9],l.Tilde=l[\"~\"],l.GraveAccent=l[\"`\"],l.ExclamationPoint=l[\"!\"],l.AtSign=l[\"@\"],l.PoundSign=l[\"#\"],l.PercentSign=l[\"%\"],l.Caret=l[\"^\"],l.Ampersand=l[\"&\"],l.PlusSign=l[\"+\"],l.MinusSign=l[\"-\"],l.EqualsSign=l[\"=\"],l.DivisionSign=l[\"/\"],l.MultiplicationSign=l[\"*\"],l.Comma=l[\",\"],l.Decimal=l[\".\"],l.Colon=l[\":\"],l.Semicolon=l[\";\"],l.Pipe=l[\"|\"],l.BackSlash=l[\"\\\\\"],l.QuestionMark=l[\"?\"],l.SingleQuote=l[\"'\"],l.DoubleQuote=l['\"'],l.LeftCurlyBrace=l[\"{\"],l.RightCurlyBrace=l[\"}\"],l.LeftParenthesis=l[\"(\"],l.RightParenthesis=l[\")\"],l.LeftAngleBracket=l[\"<\"],l.RightAngleBracket=l[\">\"],l.LeftSquareBracket=l[\"[\"],l.RightSquareBracket=l[\"]\"],e.exports=l},function(e,t,n){\"use strict\";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,\"a\",function(){return r})},function(e,t,n){\"use strict\";var r=n(0),o=n.n(r),a=n(99),i=n(6),c=n.n(i),l=n(136),u=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class)|(on[A-Z].*)|((data|aria|x)-.*))$/i,s=Object(l.a)(u.test.bind(u));var f,p=\"__EMOTION_THEMING__\",d=((f={})[p]=c.a.object,f);var h=s,v=function(e){return\"theme\"!==e&&\"innerRef\"!==e},m=function(){return!0},y=function(e,t){for(var n=2,r=arguments.length;n1&&void 0!==arguments[1]?arguments[1]:\"\",n=e&&e.split(\"/\")||[],r=t&&t.split(\"/\")||[],o=e&&c(e),a=t&&c(t),i=o||a;if(e&&c(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return\"/\";var u=void 0;if(r.length){var s=r[r.length-1];u=\".\"===s||\"..\"===s||\"\"===s}else u=!1;for(var f=0,p=r.length;p>=0;p--){var d=r[p];\".\"===d?l(r,p):\"..\"===d?(l(r,p),f++):f&&(l(r,p),f--)}if(!i)for(;f--;f)r.unshift(\"..\");!i||\"\"===r[0]||r[0]&&c(r[0])||r.unshift(\"\");var h=r.join(\"/\");return u&&\"/\"!==h.substr(-1)&&(h+=\"/\"),h};\"function\"===typeof Symbol&&Symbol.iterator;var s=function(e){return\"/\"===e.charAt(0)?e:\"/\"+e},f=function(e,t){return new RegExp(\"^\"+t+\"(\\\\/|\\\\?|#|$)\",\"i\").test(e)},p=function(e,t){return f(e,t)?e.substr(t.length):e},d=function(e){return\"/\"===e.charAt(e.length-1)?e.slice(0,-1):e},h=function(e){var t=e.pathname,n=e.search,r=e.hash,o=t||\"/\";return n&&\"?\"!==n&&(o+=\"?\"===n.charAt(0)?n:\"?\"+n),r&&\"#\"!==r&&(o+=\"#\"===r.charAt(0)?r:\"#\"+r),o},v=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};i()(b,\"Browser history needs a DOM\");var t=window.history,n=function(){var e=window.navigator.userAgent;return(-1===e.indexOf(\"Android 2.\")&&-1===e.indexOf(\"Android 4.0\")||-1===e.indexOf(\"Mobile Safari\")||-1!==e.indexOf(\"Chrome\")||-1!==e.indexOf(\"Windows Phone\"))&&window.history&&\"pushState\"in window.history}(),r=!(-1===window.navigator.userAgent.indexOf(\"Trident\")),a=e.forceRefresh,c=void 0!==a&&a,l=e.getUserConfirmation,u=void 0===l?O:l,v=e.keyLength,C=void 0===v?6:v,E=e.basename?d(s(e.basename)):\"\",T=function(e){var t=e||{},n=t.key,r=t.state,a=window.location,i=a.pathname+a.search+a.hash;return o()(!E||f(i,E),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path \"'+i+'\" to begin with \"'+E+'\".'),E&&(i=p(i,E)),m(i,r,n)},_=function(){return Math.random().toString(36).substr(2,C)},P=y(),S=function(e){k(H,e),H.length=t.length,P.notifyListeners(H.location,H.action)},N=function(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf(\"CriOS\")})(e)||R(T(e.state))},A=function(){R(T(j()))},I=!1,R=function(e){I?(I=!1,S()):P.confirmTransitionTo(e,\"POP\",u,function(t){t?S({action:\"POP\",location:e}):M(e)})},M=function(e){var t=H.location,n=F.indexOf(t.key);-1===n&&(n=0);var r=F.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(I=!0,z(o))},D=T(j()),F=[D.key],L=function(e){return E+h(e)},z=function(e){t.go(e)},U=0,W=function(e){1===(U+=e)?(g(window,\"popstate\",N),r&&g(window,\"hashchange\",A)):0===U&&(x(window,\"popstate\",N),r&&x(window,\"hashchange\",A))},B=!1,H={length:t.length,action:\"POP\",location:D,createHref:L,push:function(e,r){o()(!(\"object\"===(\"undefined\"===typeof e?\"undefined\":w(e))&&void 0!==e.state&&void 0!==r),\"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored\");var a=m(e,r,_(),H.location);P.confirmTransitionTo(a,\"PUSH\",u,function(e){if(e){var r=L(a),i=a.key,l=a.state;if(n)if(t.pushState({key:i,state:l},null,r),c)window.location.href=r;else{var u=F.indexOf(H.location.key),s=F.slice(0,-1===u?0:u+1);s.push(a.key),F=s,S({action:\"PUSH\",location:a})}else o()(void 0===l,\"Browser history cannot push state in browsers that do not support HTML5 history\"),window.location.href=r}})},replace:function(e,r){o()(!(\"object\"===(\"undefined\"===typeof e?\"undefined\":w(e))&&void 0!==e.state&&void 0!==r),\"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored\");var a=m(e,r,_(),H.location);P.confirmTransitionTo(a,\"REPLACE\",u,function(e){if(e){var r=L(a),i=a.key,l=a.state;if(n)if(t.replaceState({key:i,state:l},null,r),c)window.location.replace(r);else{var u=F.indexOf(H.location.key);-1!==u&&(F[u]=a.key),S({action:\"REPLACE\",location:a})}else o()(void 0===l,\"Browser history cannot replace state in browsers that do not support HTML5 history\"),window.location.replace(r)}})},go:z,goBack:function(){return z(-1)},goForward:function(){return z(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=P.setPrompt(e);return B||(W(1),B=!0),function(){return B&&(B=!1,W(-1)),t()}},listen:function(e){var t=P.appendListener(e);return W(1),function(){W(-1),t()}}};return H};Object.assign,\"function\"===typeof Symbol&&Symbol.iterator,Object.assign;n.d(t,\"a\",function(){return C}),n.d(t,\"b\",function(){return m})},function(e,t,n){var r=n(159),o=n(38),a=n(59),i=Math.max;e.exports=function(e,t,n){var c=null==e?0:e.length;if(!c)return-1;var l=null==n?0:a(n);return l<0&&(l=i(c+l,0)),r(e,o(t,3),l)}},function(e,t,n){e.exports=n(63)},function(e,t,n){var r=n(190);e.exports=function(e){return e&&e.length?r(e):[]}},function(e,t,n){var r=n(325),o=n(183),a=n(184);e.exports=function(e,t,n){return t=o(t),void 0===n?(n=t,t=0):n=o(n),e=a(e),r(e,t,n)}},function(e,t,n){var r=n(90),o=n(44),a=n(32),i=n(72),c=n(351),l=\"[object Map]\",u=\"[object Set]\";e.exports=function(e){if(null==e)return 0;if(a(e))return i(e)?c(e):e.length;var t=o(e);return t==l||t==u?e.size:r(e).length}},function(e,t,n){var r=n(93),o=n(58),a=n(190),i=n(85),c=o(function(e){return a(r(e,1,i,!0))});e.exports=c},,,,,,,,,,function(e,t,n){var r=n(76),o=n(82),a=n(104),i=n(52),c=n(57),l=n(83),u=200;e.exports=function(e,t,n,s){var f=-1,p=o,d=!0,h=e.length,v=[],m=t.length;if(!h)return v;n&&(t=i(t,c(n))),s?(p=a,d=!1):t.length>=u&&(p=l,d=!1,t=new r(t));e:for(;++f0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){\"use strict\";t.a=function(e,t){var n=e.handledProps,r=void 0===n?[]:n;return Object.keys(t).reduce(function(e,n){return\"childKey\"===n?e:(-1===r.indexOf(n)&&(e[n]=t[n]),e)},{})}},function(e,t,n){\"use strict\";t.a=function(e,t,n){var r=e.defaultProps,o=void 0===r?{}:r;if(t.as&&t.as!==o.as)return t.as;if(n){var a=n();if(a)return a}return t.href?\"a\":o.as||\"div\"}},function(e,t,n){var r=n(76),o=n(166),a=n(83),i=1,c=2;e.exports=function(e,t,n,l,u,s){var f=n&i,p=e.length,d=t.length;if(p!=d&&!(f&&d>p))return!1;var h=s.get(e);if(h&&s.get(t))return h==t;var v=-1,m=!0,y=n&c?new r:void 0;for(s.set(e,t),s.set(t,e);++v3&&void 0!==arguments[3]&&arguments[3],a=t[e];if(void 0!==a)return a;if(o){var i=t[(r=e,\"default\".concat(r[0].toUpperCase()+r.slice(1)))];if(void 0!==i)return i;if(n){var c=n[e];if(void 0!==c)return c}}return\"checked\"!==e&&(\"value\"===e?t.multiple?[]:\"\":void 0)},C=function(e){function t(){var e,n;i()(this,t);for(var r=arguments.length,a=new Array(r),c=0;c0&&n.setState(a)});var l=n.constructor.autoControlledProps,u=w()(m()(m()(n)),\"getInitialAutoControlledState\",n.props)||{},f=l.reduce(function(e,t){return e[t]=j(t,n.props,u,!0),e},{});return n.state=o()({},u,f),n}return h()(t,e),l()(t,[{key:\"componentWillReceiveProps\",value:function(e){var t=this,n=this.constructor.autoControlledProps.reduce(function(n,r){var o=x()(e[r]),a=!x()(t.props[r])&&o;return o?a&&(n[r]=j(r,e)):n[r]=e[r],n},{});Object.keys(n).length>0&&this.setState(n)}}]),t}(k.Component)},function(e,t,n){var r=n(337),o=n(181);e.exports=function(e,t){return null!=e&&o(e,t,r)}},function(e,t,n){\"use strict\";n.d(t,\"d\",function(){return C}),n.d(t,\"e\",function(){return E}),n.d(t,\"a\",function(){return T}),n.d(t,\"b\",function(){return _}),n.d(t,\"c\",function(){return P});var r=n(14),o=n.n(r),a=(n(42),n(142)),i=n.n(a),c=n(21),l=n.n(c),u=n(74),s=n.n(u),f=n(47),p=n.n(f),d=n(133),h=n.n(d),v=n(72),m=n.n(v),y=n(214),b=n.n(y),g=n(13),x=n.n(g),O=n(4),w=n.n(O),k=n(0),j=n.n(k);function C(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(\"function\"!==typeof e&&\"string\"!==typeof e)throw new Error(\"createShorthand() Component must be a string or function.\");if(x()(n)||b()(n))return null;var a=m()(n),c=h()(n),u=p()(n),f=Object(k.isValidElement)(n),d=s()(n),v=a||c||l()(n);if(!u&&!f&&!d&&!v)return null;var y=r.defaultProps,g=void 0===y?{}:y,O=f&&n.props||d&&n||v&&t(n),C=r.overrideProps,E=void 0===C?{}:C;E=p()(E)?E(o()({},g,O)):E;var T=o()({},g,O,E);if(g.className||E.className||O.className){var _=w()(g.className,E.className,O.className);T.className=i()(_.split(\" \")).join(\" \")}if((g.style||E.style||O.style)&&(T.style=o()({},g.style,O.style,E.style)),x()(T.key)){var P=T.childKey,S=r.autoGenerateKey,N=void 0===S||S;x()(P)?N&&(a||c)&&(T.key=n):(T.key=\"function\"===typeof P?P(T):P,delete T.childKey)}return f?Object(k.cloneElement)(n,T):v||d?j.a.createElement(e,T):u?n(e,T,T.children):void 0}function E(e,t){if(\"function\"!==typeof e&&\"string\"!==typeof e)throw new Error(\"createShorthandFactory() Component must be a string or function.\");return function(n,r){return C(e,t,n,r)}}C.handledProps=[];E(\"div\",function(e){return{children:e}}),E(\"iframe\",function(e){return{src:e}}),E(\"img\",function(e){return{src:e}});var T=E(\"input\",function(e){return{type:e}}),_=E(\"label\",function(e){return{children:e}}),P=E(\"p\",function(e){return{children:e}})},function(e,t,n){var r=n(76),o=n(82),a=n(104),i=n(83),c=n(339),l=n(86),u=200;e.exports=function(e,t,n){var s=-1,f=o,p=e.length,d=!0,h=[],v=h;if(n)d=!1,f=a;else if(p>=u){var m=t?null:c(e);if(m)return l(m);d=!1,f=i,v=new r}else v=t?[]:h;e:for(;++s1&&h.reverse(),E&&j=o?e:r(e,t,n)}},function(e,t,n){\"use strict\";var r=n(9),o=n.n(r),a=n(10),i=n.n(a),c=n(2),l=n.n(c),u=n(115),s=n(62),f=n.n(s),p=function(){function e(t){o()(this,e),this.handlers=new Set(t)}return i()(e,[{key:\"addHandlers\",value:function(t){var n=new Set(this.handlers);return t.forEach(function(e){n.delete(e),n.add(e)}),new e(n)}},{key:\"dispatchEvent\",value:function(e,t){t?this.handlers.forEach(function(t){t(e)}):f()(this.handlers).pop()(e)}},{key:\"hasHandlers\",value:function(){return this.handlers.size>0}},{key:\"removeHandlers\",value:function(t){var n=new Set(this.handlers);return t.forEach(function(e){n.delete(e)}),new e(n)}}]),e}(),d=function(){function e(t,n){o()(this,e),this.handlerSets=n,this.poolName=t}return i()(e,[{key:\"addHandlers\",value:function(t,n){var r=new Map(this.handlerSets);return r.has(t)?r.set(t,r.get(t).addHandlers(n)):r.set(t,new p(n)),new e(this.poolName,r)}},{key:\"dispatchEvent\",value:function(e,t){var n=this.handlerSets.get(e);n&&n.dispatchEvent(t,\"default\"===this.poolName)}},{key:\"hasHandlers\",value:function(e){var t=this.handlerSets.get(e);return!!t&&t.hasHandlers()}},{key:\"removeHandlers\",value:function(t,n){var r=new Map(this.handlerSets);if(!r.has(t))return new e(this.poolName,r);var o=r.get(t).removeHandlers(n);return o.hasHandlers()?r.set(t,o):r.delete(t),new e(this.poolName,r)}}]),e}();l()(d,\"createByType\",function(e,t,n){var r=new Map;return r.set(t,new p(n)),new d(e,r)});var h=function(){function e(t){o()(this,e),l()(this,\"handlers\",new Map),l()(this,\"pools\",new Map),l()(this,\"createEmitter\",function(e,t){return function(n){t.forEach(function(t){t.dispatchEvent(e,n)})}}),this.target=t}return i()(e,[{key:\"addHandlers\",value:function(e,t,n){this.removeTargetHandler(t),this.pools.has(e)?this.pools.set(e,this.pools.get(e).addHandlers(t,n)):this.pools.set(e,d.createByType(e,t,n)),this.addTargetHandler(t)}},{key:\"hasHandlers\",value:function(){return this.handlers.size>0}},{key:\"removeHandlers\",value:function(e,t,n){var r=this.pools.get(e);if(r){var o=r.removeHandlers(t,n);o.hasHandlers(t)?(this.removeTargetHandler(t),this.pools.set(e,o)):(this.removeTargetHandler(t),this.pools.delete(e)),this.pools.size>0&&this.addTargetHandler(t)}}},{key:\"addTargetHandler\",value:function(e){var t=this.createEmitter(e,this.pools);this.handlers.set(e,t),this.target.addEventListener(e,t)}},{key:\"removeTargetHandler\",value:function(e){this.handlers.has(e)&&(this.target.removeEventListener(e,this.handlers.get(e)),this.handlers.delete(e))}}]),e}(),v=n(21),m=n.n(v),y=function(e){return m()(e)?e:[e]},b=function(e){return\"document\"===e?document:\"window\"===e?window:e||document},g=new(function(){function e(){var t=this;o()(this,e),l()(this,\"targets\",new Map),l()(this,\"getTarget\",function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=b(e);if(t.targets.has(r))return t.targets.get(r);if(!n)return null;var o=new h(r);return t.targets.set(r,o),o}),l()(this,\"removeTarget\",function(e){t.targets.delete(b(e))})}return i()(e,[{key:\"sub\",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Object(u.a)()){var r=n.target,o=void 0===r?document:r,a=n.pool,i=void 0===a?\"default\":a;this.getTarget(o).addHandlers(i,e,y(t))}}},{key:\"unsub\",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Object(u.a)()){var r=n.target,o=void 0===r?document:r,a=n.pool,i=void 0===a?\"default\":a,c=this.getTarget(o,!1);c&&(c.removeHandlers(i,e,y(t)),c.hasHandlers()||this.removeTarget(o))}}}]),e}());t.a=g},function(e,t,n){\"use strict\";var r=n(3),o=n.n(r),a=n(9),i=n.n(a),c=n(10),l=n.n(c),u=n(8),s=n.n(u),f=n(11),p=n.n(f),d=n(12),h=n.n(d),v=n(1),m=n.n(v),y=n(2),b=n.n(y),g=n(56),x=n.n(g),O=n(7),w=n.n(O),k=n(4),j=n.n(k),C=(n(6),n(0)),E=n.n(C),T=n(41),_=n(163),P=n(164),S=n(5),N=n(189),A=n(129),I=n(423);function R(e){var t=e.children,n=e.className,r=e.content,a=j()(\"detail\",n),i=Object(_.a)(R,e),c=Object(P.a)(R,e);return E.a.createElement(c,o()({},i,{className:a}),S.a.isNil(t)?r:t)}R.handledProps=[\"as\",\"children\",\"className\",\"content\"],R.propTypes={},R.create=Object(N.e)(R,function(e){return{content:e}});var M=R;function D(e){var t=e.children,n=e.circular,r=e.className,a=e.color,i=e.content,c=e.size,l=e.tag,u=j()(\"ui\",a,c,Object(T.a)(n,\"circular\"),Object(T.a)(l,\"tag\"),\"labels\",r),s=Object(_.a)(D,e),f=Object(P.a)(D,e);return E.a.createElement(f,o()({},s,{className:u}),S.a.isNil(t)?i:t)}D.handledProps=[\"as\",\"children\",\"circular\",\"className\",\"color\",\"content\",\"size\",\"tag\"],D.propTypes={};var F=D;n.d(t,\"a\",function(){return L});var L=function(e){function t(){var e,n,r;i()(this,t);for(var o=arguments.length,a=new Array(o),c=0;c=4;)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++o;switch(n){case 3:r^=(255&e.charCodeAt(o+2))<<16;case 2:r^=(255&e.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(o)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),((r^=r>>>15)>>>0).toString(36)};var i=function(e){function t(e,t,r){var o=t.trim().split(h);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var c=0;for(e=0===i?\"\":e[0]+\" \";cr&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(v,\"$1\"+e.trim());case 58:return e.trim()+t.replace(v,\"$1\"+e.trim());default:if(0<1*n&&0l.charCodeAt(8))break;case 115:i=i.replace(l,\"-webkit-\"+l)+\";\"+i;break;case 207:case 102:i=i.replace(l,\"-webkit-\"+(102c.charCodeAt(0)&&(c=c.trim()),c=[c],0d)&&(z=(B=B.replace(\" \",\":\")).length),01?o-1:0),c=1;cN.length&&N.push(e)}function R(e,t,n){return null==e?0:function e(t,n,r,o){var c=typeof t;\"undefined\"!==c&&\"boolean\"!==c||(t=null);var l=!1;if(null===t)l=!0;else switch(c){case\"string\":case\"number\":l=!0;break;case\"object\":switch(t.$$typeof){case a:case i:l=!0}}if(l)return r(o,t,\"\"===n?\".\"+M(t,0):n),1;if(l=0,n=\"\"===n?\".\":n+\":\",Array.isArray(t))for(var u=0;uthis.eventPool.length&&this.eventPool.push(e)}function de(e){e.eventPool=[],e.getPooled=fe,e.release=pe}o(se.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():\"unknown\"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=le)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():\"unknown\"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=le)},persist:function(){this.isPersistent=le},isPersistent:ue,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=ue,this._dispatchInstances=this._dispatchListeners=null}}),se.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},se.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var a=new t;return o(a,n.prototype),n.prototype=a,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,de(n),n},de(se);var he=se.extend({data:null}),ve=se.extend({data:null}),me=[9,13,27,32],ye=G&&\"CompositionEvent\"in window,be=null;G&&\"documentMode\"in document&&(be=document.documentMode);var ge=G&&\"TextEvent\"in window&&!be,xe=G&&(!ye||be&&8=be),Oe=String.fromCharCode(32),we={beforeInput:{phasedRegistrationNames:{bubbled:\"onBeforeInput\",captured:\"onBeforeInputCapture\"},dependencies:[\"compositionend\",\"keypress\",\"textInput\",\"paste\"]},compositionEnd:{phasedRegistrationNames:{bubbled:\"onCompositionEnd\",captured:\"onCompositionEndCapture\"},dependencies:\"blur compositionend keydown keypress keyup mousedown\".split(\" \")},compositionStart:{phasedRegistrationNames:{bubbled:\"onCompositionStart\",captured:\"onCompositionStartCapture\"},dependencies:\"blur compositionstart keydown keypress keyup mousedown\".split(\" \")},compositionUpdate:{phasedRegistrationNames:{bubbled:\"onCompositionUpdate\",captured:\"onCompositionUpdateCapture\"},dependencies:\"blur compositionupdate keydown keypress keyup mousedown\".split(\" \")}},ke=!1;function je(e,t){switch(e){case\"keyup\":return-1!==me.indexOf(t.keyCode);case\"keydown\":return 229!==t.keyCode;case\"keypress\":case\"mousedown\":case\"blur\":return!0;default:return!1}}function Ce(e){return\"object\"===typeof(e=e.detail)&&\"data\"in e?e.data:null}var Ee=!1;var Te={eventTypes:we,extractEvents:function(e,t,n,r){var o=void 0,a=void 0;if(ye)e:{switch(e){case\"compositionstart\":o=we.compositionStart;break e;case\"compositionend\":o=we.compositionEnd;break e;case\"compositionupdate\":o=we.compositionUpdate;break e}o=void 0}else Ee?je(e,n)&&(o=we.compositionEnd):\"keydown\"===e&&229===n.keyCode&&(o=we.compositionStart);return o?(xe&&\"ko\"!==n.locale&&(Ee||o!==we.compositionStart?o===we.compositionEnd&&Ee&&(a=ce()):(ae=\"value\"in(oe=r)?oe.value:oe.textContent,Ee=!0)),o=he.getPooled(o,t,n,r),a?o.data=a:null!==(a=Ce(n))&&(o.data=a),$(o),a=o):a=null,(e=ge?function(e,t){switch(e){case\"compositionend\":return Ce(t);case\"keypress\":return 32!==t.which?null:(ke=!0,Oe);case\"textInput\":return(e=t.data)===Oe&&ke?null:e;default:return null}}(e,n):function(e,t){if(Ee)return\"compositionend\"===e||!ye&&je(e,t)?(e=ce(),ie=ae=oe=null,Ee=!1,e):null;switch(e){case\"paste\":return null;case\"keypress\":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1