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UAAQ,GAC/E,wBAAMC,SAAUL,GACf,gBAAC,KAAW,CAAC5L,OAAQ,kBAAM8C,GAAgBD,EAAY,GACrDqH,SAAAA,EAAiBuB,YAAc,iBAAmB,iBAEpD,gBAAC,KAAS,KACT,gBAACS,EAAA,EAAW,CAACC,WAAYhC,EAAqBL,WAAYA,KAE3D,gBAAC,KAAW,KACVzH,GAAa,gBAAC0D,EAAA,EAAgB,MAC/B,gBAAC,KAAM,CAACnH,MAAM,WAAS,oBAA2B,IAClD,gBAAC,KAAM,CAACA,MAAM,YAAYH,QAAS,kBAAMqE,GAAgBD,EAAY,GAAC,YAO3E,EAEAE,EAAqB7E,UAAYA,EACjC,O","sources":["webpack://rpthreadtrackerv3.frontend/./src/display/shared/header/components/HeaderAsideToggle.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/header/components/HeaderDropdownItem.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/header/components/HeaderProfileDropdown.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/header/components/HeaderAddMenuDropdown.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/header/components/HeaderLogoBlock.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/header/_styles.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/header/HeaderContainer.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/sidebar/_nav.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/sidebar/_styles.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/sidebar/Sidebar.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/styled/Breadcrumb.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/styled/BreadcrumbItem.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/breadcrumb/_routes.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/breadcrumb/BreadcrumbsItem.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/breadcrumb/Breadcrumbs.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/breadcrumb/_styles.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/breadcrumb/BreadcrumbWrapper.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/aside/AsideNewsRow.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/aside/_styles.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/aside/AsideContainer.js","webpack://rpthreadtrackerv3.frontend/./src/display/containers/Layout.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/footer/_styles.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/footer/Footer.js","webpack://rpthreadtrackerv3.frontend/./src/display/forms/upsert-character/_formData.js","webpack://rpthreadtrackerv3.frontend/./src/display/forms/upsert-character/UpsertCharacterForm.js","webpack://rpthreadtrackerv3.frontend/./src/display/forms/upsert-character/_validator.js","webpack://rpthreadtrackerv3.frontend/./src/display/shared/modals/UpsertCharacterModal.js"],"sourcesContent":["// #region imports\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { NavItem, NavLink, Badge } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n// #endregion imports\n\nconst propTypes = {\n\ttoggleNewsAside: PropTypes.func.isRequired,\n\tunreadNewsCount: PropTypes.number.isRequired\n};\n\nconst HeaderAsideToggle = (props) => {\n\tconst { toggleNewsAside, unreadNewsCount } = props;\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t{unreadNewsCount > 0 && (\n\t\t\t\t\t\n\t\t\t\t\t\t{unreadNewsCount}\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t\n\t\t\n\t);\n};\nHeaderAsideToggle.propTypes = propTypes;\nexport default HeaderAsideToggle;\n","// #region imports\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { DropdownItem } from 'reactstrap';\n// #endregion imports\n\nconst propTypes = {\n\tonClick: PropTypes.func.isRequired,\n\tlabel: PropTypes.string.isRequired\n};\n\nconst HeaderDropdownItem = (props) => {\n\tconst { onClick, label } = props;\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t{label}\n\t\t\t\n\t\t\n\t);\n};\nHeaderDropdownItem.propTypes = propTypes;\nexport default HeaderDropdownItem;\n","// #region imports\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { NavItem, Dropdown, DropdownToggle, DropdownMenu, DropdownItem } from 'reactstrap';\nimport { useHistory } from 'react-router-dom';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport HeaderDropdownItem from './HeaderDropdownItem';\n// #endregion imports\n\nconst propTypes = {\n\tsetIsHeaderProfileDropdownVisible: PropTypes.func.isRequired,\n\tisHeaderProfileDropdownVisible: PropTypes.bool.isRequired,\n\tuser: PropTypes.shape({\n\t\tid: PropTypes.string,\n\t\tuserName: PropTypes.string\n\t}).isRequired\n};\n\nconst HeaderProfileDropdown = (props) => {\n\tconst { setIsHeaderProfileDropdownVisible, isHeaderProfileDropdownVisible, user } = props;\n\tconst history = useHistory();\n\tconst navigate = (path) => {\n\t\thistory.push(path);\n\t\tsetIsHeaderProfileDropdownVisible(false);\n\t};\n\n\treturn (\n\t\t\n\t\t\t setIsHeaderProfileDropdownVisible(!isHeaderProfileDropdownVisible)}\n\t\t\t>\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tLogged in as:\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{user.userName}\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t navigate('/settings')}\n\t\t\t\t\t\tlabel=\"Account Settings\"\n\t\t\t\t\t/>\n\t\t\t\t\t navigate('/tools')} label=\"Tracker Tools\" />\n\t\t\t\t\t navigate('/help')} label=\"Help\" />\n\t\t\t\t\t navigate('/logout')} label=\"Logout\" />\n\t\t\t\t
\n\t\t\t\n\t\t
\n\t);\n};\nHeaderProfileDropdown.propTypes = propTypes;\nexport default HeaderProfileDropdown;\n","// #region imports\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { NavItem, Dropdown, DropdownToggle, DropdownMenu } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport HeaderDropdownItem from './HeaderDropdownItem';\n// #endregion imports\n\nconst propTypes = {\n\tisHeaderAddMenuDropdownVisible: PropTypes.bool.isRequired,\n\tsetIsHeaderAddMenuDropdownVisible: PropTypes.func.isRequired,\n\tsetIsUpsertCharacterModalOpen: PropTypes.func.isRequired,\n\tsetIsUpsertThreadModalOpen: PropTypes.func.isRequired\n};\n\nconst HeaderAddMenuDropdown = (props) => {\n\tconst {\n\t\tisHeaderAddMenuDropdownVisible,\n\t\tsetIsHeaderAddMenuDropdownVisible,\n\t\tsetIsUpsertCharacterModalOpen,\n\t\tsetIsUpsertThreadModalOpen\n\t} = props;\n\treturn (\n\t\t\n\t\t\t setIsHeaderAddMenuDropdownVisible(!isHeaderAddMenuDropdownVisible)}\n\t\t\t>\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t setIsUpsertThreadModalOpen(true)}\n\t\t\t\t\t\tlabel=\"Track New Thread\"\n\t\t\t\t\t/>\n\t\t\t\t\t setIsUpsertCharacterModalOpen(true)}\n\t\t\t\t\t\tlabel=\"Add Character\"\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n};\nHeaderAddMenuDropdown.propTypes = propTypes;\nexport default HeaderAddMenuDropdown;\n","// #region imports\nimport React from 'react';\nimport { Link } from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport { NavbarToggler } from 'reactstrap';\n// #endregion imports\n\nconst propTypes = {\n\tisMobileSidebarOpen: PropTypes.bool.isRequired,\n\tsetIsMobileSidebarOpen: PropTypes.func.isRequired,\n\tisSidebarOpen: PropTypes.bool,\n\tsetIsSidebarOpen: PropTypes.func.isRequired\n};\nconst defaultProps = {\n\tisSidebarOpen: true\n};\n\nconst HeaderLogoBlock = (props) => {\n\tconst { isMobileSidebarOpen, setIsMobileSidebarOpen, isSidebarOpen, setIsSidebarOpen } = props;\n\n\treturn (\n\t\t\n\t\t\t setIsMobileSidebarOpen(!isMobileSidebarOpen)}\n\t\t\t>\n\t\t\t\t☰\n\t\t\t\n\t\t\t\n\t\t\t\tRPTHREADTRACKER\n\t\t\t\n\t\t\t setIsSidebarOpen(!isSidebarOpen)}\n\t\t\t>\n\t\t\t\t☰\n\t\t\t\n\t\t\n\t);\n};\nHeaderLogoBlock.propTypes = propTypes;\nHeaderLogoBlock.defaultProps = defaultProps;\nexport default HeaderLogoBlock;\n","import styled from 'styled-components';\nimport colors from '../../../infrastructure/constants/colors';\n\nexport default styled.header`\n&.app-header.navbar {\n\tbackground-color: ${colors.BASE_BLUE};\n\tborder-bottom: 1px solid ${colors.DARK_BLUE};\n\tpadding-right: 30px;\n\t.navbar-brand {\n\t\tcolor: ${colors.WHITE};\n\t\tbackground-color: ${colors.BASE_BLUE};\n\t\tborder: none;\n\t\tbackground-image: none;\n\t\tfont-size: 16px;\n\t\tline-height: 38px;\n\t\theight: 53px;\n\t}\n\t.navbar-toggler {\n\t\tcolor: ${colors.WHITE}\n\t}\n\t.navbar-nav {\n\t\tbutton {\t\t\t\n\t\t\tborder: 1px solid ${colors.WHITE};\n\t\t\tborder-radius: 5px;\n\t\t\tmargin-right: 10px;\n\t\t\tmargin: 0;\n\t\t\tpadding: 10px 20px;\n\t\t\tdisplay: block;\n\t\t}\n\t\t.btn-secondary:focus {\n\t\t\tbox-shadow:none;\n\t\t}\n\t\t.nav-link {\n\t\t\tcolor: ${colors.WHITE}\n\t\t\tborder: 0;\n\t\t\t&:hover {\n\t\t\t\tcolor: ${colors.GRAY_100}\n\t\t\t}\n\t\t}\n\t}\n}\n\t\n@media (max-width: 991px) {\n &.app-header {\n\t\t.navbar-brand {\n\t\t\tposition: relative;\n\t\t\tleft: auto;\n\t\t\tmargin: 0;\n\t\t}\n\t}\n}\n`;\n","import React, { useEffect, useState } from 'react';\nimport { Nav } from 'reactstrap';\nimport { toast } from 'react-toastify';\nimport { useCacheValue } from '~/infrastructure/hooks';\nimport {\n\tuseUpdateUserSettingsMutation,\n\tuseCreateCharacterMutation\n} from '~/infrastructure/hooks/mutations';\nimport cacheKeys from '~/infrastructure/constants/cacheKeys';\nimport { useNewsQuery, useUserProfileQuery } from '~/infrastructure/hooks/queries';\nimport { useCharactersContext } from '~/infrastructure/hooks/contexts';\nimport {\n\tHeaderLogoBlock,\n\tHeaderAsideToggle,\n\tHeaderProfileDropdown,\n\tHeaderAddMenuDropdown\n} from './components';\nimport Style from './_styles';\nimport UpsertThreadModal from '../modals/UpsertThreadModal';\nimport UpsertCharacterModal from '../modals/UpsertCharacterModal';\n\nconst HeaderContainer = () => {\n\tconst [isSidebarOpen, setIsSidebarOpen] = useCacheValue(cacheKeys.IS_SIDEBAR_OPEN);\n\tconst [isNewsAsideOpen, setIsNewsAsideOpen] = useState(false);\n\tconst [isMobileSidebarOpen, setIsMobileSidebarOpen] = useState(false);\n\tconst [isHeaderProfileDropdownVisible, setIsHeaderProfileDropdownVisible] = useState(false);\n\tconst [isHeaderAddMenuDropdownVisible, setIsHeaderAddMenuDropdownVisible] = useState(false);\n\tconst [isUpsertThreadModalOpen, setIsUpsertThreadModalOpen] = useState(false);\n\tconst [isUpsertCharacterModalOpen, setIsUpsertCharacterModalOpen] = useState(false);\n\tconst { characters } = useCharactersContext();\n\tconst { unreadNewsCount, userSettings, setUnreadNewsCount } = useNewsQuery();\n\tconst { data: user } = useUserProfileQuery();\n\tconst { updateUserSettings } = useUpdateUserSettingsMutation();\n\tconst { createCharacter, isLoading: isCreateCharacterLoading } = useCreateCharacterMutation();\n\n\tuseEffect(() => {\n\t\tdocument.body.classList.toggle('sidebar-hidden', isSidebarOpen);\n\t\tdocument.body.classList.toggle('aside-menu-hidden', !isNewsAsideOpen);\n\t\tdocument.body.classList.toggle('sidebar-mobile-show', isMobileSidebarOpen);\n\t}, [isSidebarOpen, isNewsAsideOpen, isMobileSidebarOpen]);\n\n\tconst toggleNewsAside = () => {\n\t\tif (isNewsAsideOpen) {\n\t\t\tupdateUserSettings({\n\t\t\t\t...userSettings,\n\t\t\t\tlastNewsReadDate: new Date(Date.now())\n\t\t\t});\n\t\t\tsetUnreadNewsCount(0);\n\t\t}\n\t\tsetIsNewsAsideOpen(!isNewsAsideOpen);\n\t};\n\n\tconst submitCreateCharacter = (character) => {\n\t\tcreateCharacter(character)\n\t\t\t.then(() => {\n\t\t\t\tsetIsUpsertCharacterModalOpen(false);\n\t\t\t\ttoast.success(\n\t\t\t\t\t`Added ${\n\t\t\t\t\t\tcharacter.characterName ? character.characterName : character.urlIdentifier\n\t\t\t\t\t} to the character list!`\n\t\t\t\t);\n\t\t\t})\n\t\t\t.catch(() => {\n\t\t\t\ttoast.error(`There was an error adding this character.`);\n\t\t\t});\n\t};\n\n\treturn (\n\t\t\n\t);\n};\n\nexport default HeaderContainer;\n","export default {\n\titems: [\n\t\t{\n\t\t\tname: 'Dashboard',\n\t\t\turl: '/dashboard',\n\t\t\ticon: 'icon-speedometer'\n\t\t},\n\t\t{\n\t\t\ttitle: true,\n\t\t\tname: 'Threads',\n\t\t\twrapper: {\n\t\t\t\telement: 'span',\n\t\t\t\tattributes: {}\n\t\t\t},\n\t\t\tclass: ''\n\t\t},\n\t\t{\n\t\t\tname: 'All Threads',\n\t\t\turl: '/threads/all',\n\t\t\ticon: 'icon-list'\n\t\t},\n\t\t{\n\t\t\tname: 'Your Turn',\n\t\t\turl: '/threads/your-turn',\n\t\t\ticon: 'icon-pencil'\n\t\t},\n\t\t{\n\t\t\tname: 'Their Turn',\n\t\t\turl: '/threads/their-turn',\n\t\t\ticon: 'icon-check'\n\t\t},\n\t\t{\n\t\t\tname: 'Archived',\n\t\t\turl: '/threads/archived',\n\t\t\ticon: 'icon-drawer'\n\t\t},\n\t\t{\n\t\t\tname: 'Queued',\n\t\t\turl: '/threads/queued',\n\t\t\ticon: 'icon-calendar'\n\t\t},\n\t\t{\n\t\t\ttitle: true,\n\t\t\tname: 'Manage',\n\t\t\twrapper: {\n\t\t\t\telement: 'span',\n\t\t\t\tattributes: {}\n\t\t\t},\n\t\t\tclass: ''\n\t\t},\n\t\t{\n\t\t\tname: 'Characters',\n\t\t\turl: '/manage-characters',\n\t\t\ticon: 'icon-people'\n\t\t},\n\t\t{\n\t\t\tname: 'Tools',\n\t\t\turl: '/tools',\n\t\t\ticon: 'icon-wrench'\n\t\t},\n\t\t{\n\t\t\tname: 'Settings',\n\t\t\turl: '/settings',\n\t\t\ticon: 'icon-settings'\n\t\t},\n\t\t{\n\t\t\tname: 'Help',\n\t\t\turl: '/help',\n\t\t\ticon: 'icon-info'\n\t\t}\n\t]\n};\n","import styled from 'styled-components';\nimport colors from '../../../infrastructure/constants/colors';\n\nexport default styled.div`\n\tcolor: ${colors.GRAY_400};\n\tbackground: ${colors.WHITE};\n\tborder-right: 1px solid ${colors.GRAY_200};\n\t.nav {\n\t\t.nav-title {\n\t\t\tcolor: ${colors.GRAY_600}\n\t\t}\n\t\t.nav-item {\n\t\t\t.nav-link {\n\t\t\t\tcolor: ${colors.GRAY_600}\n\t\t\t\ti {\n\t\t\t\t\tcolor: ${colors.GRAY_600}\n\t\t\t\t}\n\t\t\t\t&.active {\n\t\t\t\t\tbackground: ${colors.GRAY_050};\n\t\t\t\t\tcolor: ${colors.GRAY_600};\n\t\t\t\t\ti {\n\t\t\t\t\t\tcolor: ${colors.LIGHT_BLUE};\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t&:hover {\n\t\t\t\t\tcolor: ${colors.WHITE}\n\t\t\t\t\tbackground: ${colors.DARK_BLUE}\n\t\t\t\t\ti {\n\t\t\t\t\t\tcolor: ${colors.WHITE}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n`;\n","import React from 'react';\nimport { NavLink } from 'react-router-dom';\nimport { Nav, NavItem } from 'reactstrap';\nimport nav from './_nav';\nimport Style from './_styles';\n\nconst Sidebar = () => {\n\tconst { items } = nav;\n\tconst navList = items.map((item) => {\n\t\tif (item.title) {\n\t\t\treturn (\n\t\t\t\t
  • \n\t\t\t\t\t{item.name}\n\t\t\t\t
  • \n\t\t\t);\n\t\t}\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t{item.name}\n\t\t\t\t\n\t\t\t\n\t\t);\n\t});\n\n\treturn (\n\t\t\n\t);\n};\n\nexport default Sidebar;\n","import styled from 'styled-components';\nimport { Breadcrumb } from 'reactstrap';\nimport colors from '../../../infrastructure/constants/colors';\n\nexport default styled(Breadcrumb)`\n\t.breadcrumb {\n\t\tborder-bottom: none;\n\t\tmargin-bottom: 0;\n\t\tbackground-color: ${colors.GRAY_900} a {\n\t\t\tcolor: ${colors.LIGHT_BLUE};\n\t\t}\n\t\t.breadcrumb-item::before {\n\t\t\tcolor: ${colors.GRAY_100};\n\t\t}\n\t\t.light-theme & {\n\t\t\tbackground-color: ${colors.GRAY_100} a {\n\t\t\t\tcolor: ${colors.DARK_BLUE};\n\t\t\t}\n\t\t}\n\t}\n`;\n","import styled from 'styled-components';\nimport { BreadcrumbItem } from 'reactstrap';\nimport colors from '../../../infrastructure/constants/colors';\n\nexport default styled(BreadcrumbItem)`\n\t&::before {\n\t\tcolor: ${colors.GRAY_100};\n\t}\n\t&.active {\n\t\tcolor: ${colors.GRAY_100};\n\t}\n\t.light-theme &::before,\n\t.light-theme &.active {\n\t\tcolor: ${colors.GRAY_800};\n\t}\n`;\n","const routes = {\n\t'/': 'Home',\n\t'/dashboard': 'Dashboard',\n\t'/threads': 'Threads',\n\t'/threads/all': 'All Threads',\n\t'/threads/your-turn': 'Your Turn',\n\t'/threads/their-turn': 'Their Turn',\n\t'/threads/archived': 'Archived',\n\t'/threads/queued': 'Queued',\n\t'/manage-characters': 'Manage Characters',\n\t'/tools': 'Tools',\n\t'/settings': 'Account Settings',\n\t'/help': 'Help'\n};\nexport default routes;\n","// #region imports\nimport React from 'react';\nimport { Link } from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport BreadcrumbItem from '../styled/BreadcrumbItem';\nimport routes from './_routes';\n// #endregion imports\n\nconst propTypes = {\n\tmatch: PropTypes.shape({\n\t\turl: PropTypes.string,\n\t\tisExact: PropTypes.bool\n\t}).isRequired\n};\n\nconst BreadcrumbsItem = (props) => {\n\tconst { match } = props;\n\tconst routeName = routes[match.url];\n\tif (routeName) {\n\t\treturn match.isExact ? (\n\t\t\t{routeName}\n\t\t) : (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{routeName}\n\t\t\t\t\n\t\t\t\n\t\t);\n\t}\n\treturn null;\n};\nBreadcrumbsItem.propTypes = propTypes;\nexport default BreadcrumbsItem;\n","// #region imports\nimport React from 'react';\nimport { Route } from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport Breadcrumb from '../styled/Breadcrumb';\nimport BreadcrumbsItem from './BreadcrumbsItem';\n// #endregion imports\n\nconst propTypes = {\n\tlocation: PropTypes.shape({\n\t\tpathname: PropTypes.string\n\t}).isRequired\n};\n\nconst Breadcrumbs = (props) => {\n\tconst {\n\t\tlocation: { pathname }\n\t} = props;\n\tconst getPaths = (path) => {\n\t\tconst paths = ['/'];\n\t\tif (path === '/') {\n\t\t\treturn paths;\n\t\t}\n\t\tpath.split('/').reduce((prev, curr) => {\n\t\t\tconst currPath = `${prev}/${curr}`;\n\t\t\tpaths.push(currPath);\n\t\t\treturn currPath;\n\t\t});\n\t\treturn paths;\n\t};\n\tconst paths = getPaths(pathname);\n\tconst items = paths.map((path) => );\n\treturn {items};\n};\n\nBreadcrumbs.propTypes = propTypes;\nexport default Breadcrumbs;\n","import styled from 'styled-components';\nimport colors from '../../../infrastructure/constants/colors';\n\nexport default styled.div`\n\tbackground-color: ${colors.GRAY_900};\n\tborder-bottom: 1px solid ${colors.GRAY_600};\n\tmargin-bottom: 1.5rem;\n\t.breadcrumb {\n\t\tbackground-color: ${colors.GRAY_900};\n\t}\n\t.light-theme & {\n\t\t.breadcrumb {\n\t\t\tbackground-color: ${colors.GRAY_100};\n\t\t\t.breadcrumb-item::before {\n\t\t\t\tcolor: ${colors.GRAY_900};\n\t\t\t}\n\t\t}\n\t\tbackground-color: ${colors.GRAY_100};\n\t\tborder-bottom: none;\n\t}\n`;\n","// #region imports\nimport React from 'react';\nimport { Route } from 'react-router-dom';\nimport { useIsFetching } from 'react-query';\nimport { useIsMutating } from '~/infrastructure/hooks/mutations';\nimport Breadcrumbs from './Breadcrumbs';\nimport LoadingIndicator from '../loading/LoadingIndicator';\nimport Style from './_styles';\n// #endregion imports\n\nconst BreadcrumbWrapper = (props) => {\n\tconst isFetching = useIsFetching();\n\tconst isMutating = useIsMutating();\n\tconst isLoading = isFetching !== 0 || isMutating !== 0;\n\treturn (\n\t\t\n\t);\n};\n\nexport default BreadcrumbWrapper;\n","// #region imports\nimport React from 'react';\nimport { Badge } from 'reactstrap';\nimport PropTypes from 'prop-types';\nimport { DateTime } from 'luxon';\n// #endregion imports\n\nconst propTypes = {\n\titem: PropTypes.shape({\n\t\tisUnread: PropTypes.bool,\n\t\tpostUrl: PropTypes.string,\n\t\tpostTitle: PropTypes.string,\n\t\tpostDate: PropTypes.string\n\t}).isRequired\n};\n\nconst AsideNewsRow = (props) => {\n\tconst { item } = props;\n\tconst date = DateTime.fromISO(item.postDate).toFormat('DDD');\n\treturn (\n\t\t
    \n\t\t\t\n\t\t\t\t\n\t\t\t\t{date}\n\t\t\t\t\n\t\t\t\t\t{' '}\n\t\t\t\t\tNew\n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\n\t);\n};\n\nAsideNewsRow.propTypes = propTypes;\nexport default AsideNewsRow;\n","import styled from 'styled-components';\nimport colors from '../../../infrastructure/constants/colors';\n\nexport default styled.aside`\n\tcolor: ${colors.GRAY_100};\n\tbackground: ${colors.GRAY_900};\n\ta {\n\t\tcolor: ${colors.LIGHT_BLUE};\n\t}\n\thr {\n\t\tborder-top: 1px solid ${colors.GRAY_600};\n\t}\n\t.callout .badge {\n\t\tposition: absolute;\n\t\tright: 30px;\n\t\tbottom: 15px;\n\t}\n\t.light-theme & {\n\t\tcolor: ${colors.GRAY_800};\n\t\tbackground: ${colors.GRAY_050};\n\t\ta {\n\t\t\tcolor: ${colors.BASE_BLUE};\n\t\t}\n\t\thr {\n\t\t\tborder-top: 1px solid ${colors.GRAY_200};\n\t\t}\n\t}\n`;\n","// #region imports\nimport React from 'react';\nimport { useNewsQuery } from '~/infrastructure/hooks/queries';\nimport AsideNewsRow from './AsideNewsRow';\nimport Style from './_styles';\n// #endregion imports\n\nconst AsideContainer = () => {\n\tconst { markedNews } = useNewsQuery();\n\tconst items = markedNews.map((item) => );\n\treturn (\n\t\t\n\t);\n};\nexport default AsideContainer;\n","// #region imports\nimport React, { lazy, Suspense } from 'react';\nimport { Switch, Route, Redirect } from 'react-router-dom';\nimport { Container } from 'reactstrap';\n\nimport {\n\tuseActiveThreadsQuery,\n\tuseCharactersQuery,\n\tuseUserProfileQuery,\n\tuseUserSettingsQuery\n} from '~/infrastructure/hooks/queries';\nimport { CharactersContext, ActiveThreadsContext } from '~/infrastructure/hooks/contexts';\nimport HeaderContainer from '../shared/header/HeaderContainer';\nimport Sidebar from '../shared/sidebar/Sidebar';\nimport BreadcrumbWrapper from '../shared/breadcrumb/BreadcrumbWrapper';\nimport AsideContainer from '../shared/aside/AsideContainer';\nimport LoadingIndicator from '../shared/loading/LoadingIndicator';\nimport Footer from '../shared/footer/Footer';\n\nconst Dashboard = lazy(() => import('../views/dashboard/Dashboard'));\nconst AllThreads = lazy(() => import('../views/threads/AllThreads'));\nconst ArchivedThreads = lazy(() => import('../views/threads/ArchivedThreads'));\nconst MyTurnThreads = lazy(() => import('../views/threads/MyTurnThreads'));\nconst QueuedThreads = lazy(() => import('../views/threads/QueuedThreads'));\nconst TheirTurnThreads = lazy(() => import('../views/threads/TheirTurnThreads'));\nconst ManageCharacters = lazy(() => import('../views/characters/ManageCharacters'));\nconst Tools = lazy(() => import('../views/tools/Tools'));\nconst Settings = lazy(() => import('../views/settings/Settings'));\nconst Help = lazy(() => import('../views/help/Help'));\n// #endregion imports\n\nconst Layout = () => {\n\tconst { isLoading: isUserProfileLoading } = useUserProfileQuery();\n\tconst { isLoading: isUserSettingsLoading } = useUserSettingsQuery();\n\tconst {\n\t\tthreadData: activeThreads,\n\t\tthreadsStatus: activeThreadsStatus,\n\t\tisThreadsLoading: isActiveThreadsLoading,\n\t\tisThreadsStatusLoading: isActiveThreadsStatusLoading,\n\t\trefreshThreads\n\t} = useActiveThreadsQuery();\n\tconst {\n\t\tdata: characters,\n\t\tisLoading: isCharactersLoading,\n\t\tisError: isCharactersFetchError\n\t} = useCharactersQuery();\n\n\tconst isGlobalLoading = isUserProfileLoading || isUserSettingsLoading;\n\tconst renderLoadingIndicator = () => {\n\t\treturn (\n\t\t\t\n\t\t);\n\t};\n\n\tconst renderLayout = () => {\n\t\treturn (\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tLoading...
    }>\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t