{"version":3,"file":"header-ItyqXdXL.js","sources":["../../src/common/layout/header/profile-menu/profile-menu.tsx","../../src/assets/svg/pengguin-logo-mobile.svg","../../src/assets/svg/ispeak-mobile-dark.svg","../../src/features/notifications/components/notifications/notifications.tsx","../../src/common/layout/header/header.tsx"],"sourcesContent":["import React from 'react'\nimport {\n Divider,\n MenuItem,\n Typography,\n Stack,\n ListItemIcon,\n Box,\n IconButton,\n Avatar,\n Menu,\n Link,\n Button,\n} from '@common/components'\nimport { UserOverviewContainer, ExpandableMenuItem } from './profile-menu.styles'\nimport {\n useAppDispatch,\n useAppSelector,\n useMediaQuery,\n useToggle,\n useTranslation,\n} from '@common/hooks'\nimport {\n DarkModeIcon,\n LogoutIcon,\n MenuIcon,\n PersonIcon,\n WbSunnyIcon,\n LanguageIcon,\n} from '@common/icons'\nimport personIcon from '@assets/svg/person-uno.svg'\nimport duoPersonIcon from '@assets/svg/duo-person-icon.svg'\nimport feedbackIcon from '@assets/svg/feedback-icon.svg'\nimport rulerIcon from '@assets/svg/ruler-icon.svg'\nimport { handleGravatar } from '@common/utils/gravatar'\nimport {\n BIO_ROUTE,\n DASHBOARD_ROUTE,\n FEEDBACK_ROUTE,\n LOGIN_ROUTE,\n MAIN_ROUTE,\n MY_CLASSROOMS_ROUTE,\n NOTES_ROUTE,\n PERSONAL_ROUTE,\n PRICING_ROUTE,\n QUIZ_VOCAB_ROUTE,\n} from '@common/constants/routes'\nimport { AnimatePresence, motion, useAnimation } from 'motion/react'\nimport { RouterLink, useLocation, useNavigate } from '@lib/router'\nimport { useTheme } from '@features/theme/theme.hooks'\nimport { NavLinkButton, navlinks } from '../header'\nimport useToggleMenu from '@common/hooks/use-toggle-menu'\nimport { logout } from '@features/auth/auth-actions'\nimport { useToast } from '@features/toast/hooks'\nimport { useUser } from '@features/auth/hooks'\nimport { modeType, setThemeMode } from '@features/theme/theme.slice'\nimport { usePaymentGetCreditsQuery } from '@app/services/auto-generated/payment'\nimport { languages } from '@common/constants/languages'\nimport { isUNSW } from '../../../../utils/unswUtils'\nimport { creditsSystem } from '@config/features-flags'\n\nconst ProfileMenu = (props) => {\n const { t, i18n } = useTranslation('common')\n const navigate = useNavigate()\n const dispatch = useAppDispatch()\n const matches = useMediaQuery(990)\n const { user, isStudent } = useUser()\n const { mode, isDark } = useTheme()\n const { pathname } = useLocation()\n const selectedTheme = useAppSelector((state) => state.theme)\n const { anchorEl, open, handleClick, handleClose: handleCloseMenu } = useToggleMenu()\n const [selectedLanguage, setSelectedLanguage] = React.useState(languages[0])\n const {\n open: openLanguageMenu,\n handleToggle: handleToggleLanguageMenu,\n handleClose: handleCloseLanguageMenu,\n } = useToggle(false)\n const {\n open: openThemeMenu,\n handleToggle: handleToggleThemeMenu,\n handleClose: handleCloseThemeMenu,\n } = useToggle(false)\n const handleClose = () => {\n handleCloseMenu()\n handleCloseLanguageMenu()\n handleCloseThemeMenu()\n }\n const { data } = usePaymentGetCreditsQuery(undefined, { skip: !creditsSystem })\n\n const hanldeChangeLanguage = (code: string) => {\n i18n.changeLanguage(code)\n setSelectedLanguage(languages.find((lang) => lang.code === code))\n }\n\n const handleChangeThemeMode = (mode: modeType) => {\n dispatch(setThemeMode(mode))\n }\n\n const handleLogoutClick = () => {\n dispatch(logout())\n handleClose()\n navigate(isUNSW() ? LOGIN_ROUTE : MAIN_ROUTE)\n }\n\n const toast = useToast()\n const handleToast = () => {\n toast('This feature is not available at the moment', 'warning')\n }\n\n const themeOptions = [\n {\n value: 'light',\n label: t('header.menu.lightTheme', 'Light theme'),\n },\n {\n value: 'dark',\n label: t('header.menu.darkTheme', 'Dark theme'),\n },\n {\n value: 'browser',\n label: t('header.menu.deviceTheme', 'Device theme'),\n },\n ]\n\n return (\n <>\n \n {matches ? (\n \n ) : (\n \n )}\n \n \n \n \n {matches && (\n \n {creditsSystem && (\n \n {data ? data.credits : '-'} {t('header.credits', 'Credits')}\n \n )}\n \n \n Live Workshop\n \n \n AI Interview\n \n \n AI Feedback\n \n \n Exercises\n \n \n {/* \n My dashboard\n \n {!isUNSW() && (\n \n {t('header.classrooms.explore_events', 'Explore Events')}\n \n )} */}\n {navlinks.map((link, k) => (\n {\n handleClose()\n link.to === '#' ? handleToast() : undefined\n }}\n key={k}\n >\n {link.label}\n \n ))}\n \n \n )}\n {!isUNSW() && (\n \n \n \n {isDark ? (\n \n ) : (\n \n )}\n \n \n {t('header.menu.language.Theme', 'Theme')}\n \n )}\n mode.value}\n getOptionLabel={(mode) => mode.label}\n onOptionClick={handleChangeThemeMode}\n />\n \n \n \n \n {t('header.menu.language.label', 'Language')}\n \n lng.code}\n getOptionLabel={(lng) => lng.label}\n onOptionClick={hanldeChangeLanguage}\n />\n \n \n \n \n {t('header.menu.logout.label', 'Logout')}\n \n \n \n )\n}\n\ninterface UserOverviewProps {\n username: string\n avatarUrl: string\n handleClose: () => void\n}\n\nconst UserOverview = (props: UserOverviewProps) => {\n const { username, avatarUrl, handleClose } = props\n const { pathname } = useLocation()\n const { t } = useTranslation()\n const { isTeacher } = useUser()\n return (\n \n \n \n \n \n {username}\n \n {pathname.startsWith('/classroom/') ? (\n \n {t('header.menu.manageAccount', 'Manage your account')}\n \n ) : (\n \n {t('header.menu.manageAccount', 'Manage your account')}\n \n )}\n \n \n \n )\n}\n\ninterface ExpandableMenuProps {\n open: boolean\n options: any[]\n selectedValue: any\n getOptionLabel: (option: any) => string\n getOptionValue: (option: any) => string | number\n onOptionClick: (option: any) => void\n}\n\nconst ExpandableMenu = (props: ExpandableMenuProps) => {\n const {\n open,\n options,\n selectedValue,\n getOptionLabel = (option) => option,\n getOptionValue = (option) => option,\n onOptionClick,\n } = props\n const controls = useAnimation()\n\n React.useEffect(() => {\n if (open) {\n controls.start('animate')\n } else {\n controls.start('hidden')\n }\n }, [open])\n\n return (\n 4 ? 'auto' : 'hidden',\n }}\n >\n {options.map((option, k) => {\n const selected = getOptionValue(option) === selectedValue\n return (\n onOptionClick(getOptionValue(option))}\n >\n {getOptionLabel(option)}\n {option.flag_img && flag}\n \n )\n })}\n \n )\n}\n\nexport default ProfileMenu\n","export default \"__VITE_ASSET__CHgAnJh5__\"","export default \"__VITE_ASSET__uIxCsz8M__\"","import {\n Badge,\n Box,\n ClickAwayListener,\n Divider,\n Grow,\n Popper,\n Typography,\n IconButton,\n Skeleton,\n List,\n ListItem,\n ListItemButton,\n ListItemText,\n Stack,\n} from '@common/components'\nimport { Paper } from './notifications.styles'\nimport { useTogglePopover, useTranslation } from '@common/hooks'\nimport { LinkIcon, NotificationsIcon } from '@common/icons'\nimport {\n useNotificationGetNotificationsQuery,\n useNotificationGetUnreadNotificationsNumberQuery,\n} from '@app/services/auto-generated/notification'\nimport { RouterLink } from '@lib/router'\nimport React from 'react'\n\nconst Notifications = () => {\n const { open, anchorEl, handleClose, handleOpen } = useTogglePopover()\n const { data: unreadNotif } = useNotificationGetUnreadNotificationsNumberQuery({}, { skip: open })\n\n return (\n <>\n {\n handleOpen(event)\n }}\n >\n \n \n \n \n {open ? (\n \n ) : null}\n \n )\n}\n\nconst PopperNotification = (props) => {\n const { open, anchorEl, handleClose } = props\n const {\n data: notifications,\n isSuccess,\n isLoading,\n } = useNotificationGetNotificationsQuery({ limit: 100 })\n const { t } = useTranslation()\n return (\n \n {({ TransitionProps, placement }) => (\n \n \n \n \n \n {t('notifications.notifications', 'Notifications')}\n \n \n \n {isLoading ? (\n \n \n \n \n \n \n ) : isSuccess ? (\n notifications.length === 0 ? (\n \n \n {t('notifications.noNotifications', 'No notifications yet')}\n \n \n ) : (\n \n {[...notifications]\n ?.sort((a, b) => new Date(a.is_read_at) - new Date(b.is_read_at))\n .map((notif, index) => (\n \n ))}\n \n )\n ) : null}\n \n \n \n \n \n )}\n \n )\n}\nconst Notification = (props) => {\n const { title, text, link } = props\n return (\n \n \n \n \n {text}\n \n {link && }\n \n }\n />\n \n \n )\n}\n\nconst ControlledNotif = (props) => {\n const { link, children, ...restProps } = props\n if (!link) return {children}\n else\n return (\n \n {children}\n \n )\n}\nexport default Notifications\n","import React from 'react'\nimport {\n AppBar,\n Box,\n Button,\n ButtonProps,\n Container,\n Stack,\n ToggleButton,\n ToggleButtonGroup,\n Toolbar,\n Typography,\n Link,\n} from '@common/components'\nimport personIcon from '@assets/svg/person-uno.svg'\nimport homeIcon from '@assets/svg/home-icon.svg'\nimport duoPersonIcon from '@assets/svg/duo-person-icon.svg'\nimport feedbackIcon from '@assets/svg/feedback-icon.svg'\nimport rulerIcon from '@assets/svg/ruler-icon.svg'\nimport { useAppSelector, useMediaQuery, useTranslation } from '@common/hooks'\nimport {\n COMMUNITY_ROUTE,\n DASHBOARD_ROUTE,\n EVENT_ROUTE,\n FEEDBACK_ROUTE,\n HOME_ROUTE,\n LANDING_ROUTE,\n LOGIN_ROUTE,\n MAIN_ROUTE,\n MY_CLASSROOMS_ROUTE,\n NOTES_ROUTE,\n PRICING_ROUTE,\n QUIZ_VOCAB_ROUTE,\n RECORDINGS_ROUTE,\n SIGNIN_ROUTE,\n SIMPLE_LOGIN_ROUTE,\n} from '@common/constants/routes'\nimport { NavLink as NavLinkRouter, RouterLink, useLocation } from '@lib/router'\nimport { useToast } from '@features/toast/hooks'\nimport ProfileMenu from './profile-menu'\nimport unswLogo from '@assets/images/mentorai_white.svg'\nimport pengguinLogo from '@assets/svg/pengguin-logo.svg'\nimport ispekLogoMobile from '@assets/svg/pengguin-logo-mobile.svg'\nimport ispekLogoDarkMobile from '@assets/svg/ispeak-mobile-dark.svg'\nimport isepakLogoDark from '@assets/svg/logo-speakduo-dark.svg'\nimport { Notifications } from '@features/notifications/components'\nimport { usePaymentGetCreditsQuery } from '@app/services/auto-generated/payment'\nimport { useUser } from '@features/auth/hooks'\nimport { isUNSW } from '@utils'\nimport { useTheme } from '@features/theme/theme.hooks'\nimport { creditsSystem } from '@config/features-flags'\nimport { FlotingButton } from './header.styles'\nimport { ArrowOutwardIcon } from '@common/icons'\nimport { ThemeProvider } from '@common/utils/styles'\nimport darkTheme from '@styles/themes/dark-theme'\nimport {\n AttendanceLimitsResponse,\n useNeopaymentGetAttendanceLimitsQuery,\n} from '@app/services/auto-generated/neopayment'\nimport { useAuthWhoamiQuery } from '@app/services/auto-generated/auth'\nimport { selectUser } from '@features/auth/auth-slice'\n\nexport const navlinks = [\n // { label: 'Businesses', to: 'https://www.ispeakto.com/corporate' },\n // { label: 'Institutions', to: 'https://ispeakto.com/institutions' },\n]\n\nconst Header = () => {\n const matches = useMediaQuery(990)\n const { t, i18n } = useTranslation('homepage')\n const { pathname } = useLocation()\n const { data: limits } = useNeopaymentGetAttendanceLimitsQuery()\n const { data } = usePaymentGetCreditsQuery(undefined, { skip: !creditsSystem })\n const toast = useToast()\n const user = useAppSelector(selectUser)\n const { isStudent } = useUser()\n const handleClick = () => {\n toast('This feature is not available at the moment', 'warning')\n }\n const [alignment, setAlignment] = React.useState('en')\n\n const handleChange = (event: React.MouseEvent, newAlignment: string) => {\n setAlignment(newAlignment)\n i18n.changeLanguage(newAlignment)\n }\n\n return (\n <>\n \n {user?.plan === 'free' && user?.status === 'STUDENT' && }\n \n \n \n {!matches && (\n \n {navlinks.map((navlink, k) => (\n \n ))}\n \n )}\n \n \n {!user ? (\n <>\n {pathname !== MAIN_ROUTE ? (\n \n \n \n \n \n \n \n \n \n \n \n ) : null}\n \n {t('header.signIn', 'Sign In')}\n \n \n ) : (\n <>\n {!matches && (\n <>\n {creditsSystem && (\n \n )}\n {!pathname.startsWith(HOME_ROUTE) && (\n \n \n Live Workshop\n \n \n AI Interview\n \n \n Community\n \n \n AI Feedback\n \n \n Exercises\n \n \n )}\n {/* \n \n {t('header.my_dashboard', 'My Dashboard')}\n \n \n \n {t('header.classrooms.explore_events', 'Explore Events')}\n \n */}\n \n )}\n \n \n \n )}\n \n \n \n \n )\n}\n\nconst UpgradeBanner = (props: { limits: AttendanceLimitsResponse | undefined }) => {\n const { limits } = props\n const isSmDown = useMediaQuery(600)\n if (!limits) return null\n // if (limits.current_count < 3) return null\n return (\n \n {isSmDown ? (\n \n {limits.remaining_count} events left.\n
Upgrade for unlimited access!\n
\n ) : (\n \n You have {limits.remaining_count}{' '}\n {limits.remaining_count === 1 ? ' event ' : ' events '} left this month. Upgrade to{' '}\n SpeakDuo Premium for unlimited live events{' '}\n \n )}\n \n Upgrade\n \n \n )\n}\n\nexport const Logo = (props: { style?: React.CSSProperties }) => {\n const { isDark } = useTheme()\n const { user } = useUser()\n const { pathname } = useLocation()\n const isMatch = useMediaQuery(1250)\n const isSMDown = useMediaQuery(600)\n const getLogo = () => {\n if (isUNSW()) return unswLogo\n const isClassroomPath = pathname.startsWith('/classroom/')\n const isHomeOrEvents = pathname === '/' || pathname.startsWith('/events')\n if (!isHomeOrEvents && isDark) {\n return isClassroomPath && isSMDown ? ispekLogoDarkMobile : isepakLogoDark\n }\n return isClassroomPath && isSMDown ? ispekLogoMobile : pengguinLogo\n }\n\n const LogoImage = () => (\n \n )\n\n const isEventsPage = pathname.startsWith('/events')\n\n return (\n \n \n \n \n {!pathname.startsWith(PRICING_ROUTE) && !pathname.startsWith(EVENT_ROUTE) && (\n {\n if (isEventsPage || pathname === MAIN_ROUTE) return 'black'\n return isDark ? theme.palette.text.primary : 'text.secondary'\n },\n textDecoration: 'none',\n fontSize: { xs: '13px', md: '14px' },\n fontWeight: 500,\n '&:hover': {\n color: (theme) => {\n if (isEventsPage) return theme.palette.primary.main\n return isDark ? theme.palette.primary.main : theme.palette.primary.main\n },\n },\n display: 'flex',\n alignItems: 'center',\n gap: 0.5,\n }}\n >\n Pricing\n \n )}\n \n )\n}\n\nexport const NavLink = (\n props: ButtonProps & { label: string },\n) => {\n const { label } = props\n return (\n (isActive ? { backgroundColor: 'rgba(0, 0, 0, 0.08)' } : undefined)}\n {...props}\n >\n {label}\n \n )\n}\n\nexport const NavLinkButton: React.FC<\n {\n isActive?: boolean\n icon: string\n width?: string | number\n bgColor: string\n link: string\n } & Omit\n> = (props) => {\n const { icon, isActive, link, bgColor, width, children, ...buttonProps } = props\n const { isDark } = useTheme()\n const { pathname } = useLocation()\n const inEvents = pathname.startsWith(MY_CLASSROOMS_ROUTE)\n const isMatch = useMediaQuery(1250)\n return (\n theme.palette.background.paper : 'initial',\n ':hover': {\n bgcolor: isActive\n ? bgColor\n : inEvents\n ? (theme) => theme.palette.background.paper\n : 'initial',\n },\n backdropFilter: 'blur(10px)',\n ...(isActive && {\n color: isDark ? 'black' : 'initial',\n bgcolor: bgColor,\n }),\n ...buttonProps.sx,\n }}\n >\n \n \n {children}\n \n \n )\n}\n\nexport default Header\n"],"names":["ProfileMenu","props","i18n","useTranslation","navigate","useNavigate","dispatch","useAppDispatch","matches","useMediaQuery","user","useUser","isDark","useTheme","pathname","useLocation","selectedTheme","useAppSelector","state","anchorEl","open","handleClick","handleCloseMenu","useToggleMenu","selectedLanguage","setSelectedLanguage","React","languages","openLanguageMenu","handleToggleLanguageMenu","handleCloseLanguageMenu","useToggle","openThemeMenu","handleToggleThemeMenu","handleCloseThemeMenu","handleClose","data","usePaymentGetCreditsQuery","hanldeChangeLanguage","code","lang","handleChangeThemeMode","mode","setThemeMode","handleLogoutClick","logout","MAIN_ROUTE","toast","useToast","handleToast","themeOptions","jsxs","Fragment","jsx","IconButton","MenuIcon","PersonIcon","Menu","UserOverview","handleGravatar","Divider","Box","creditsSystem","Stack","NavLinkButton","MY_CLASSROOMS_ROUTE","duoPersonIcon","DASHBOARD_ROUTE","FEEDBACK_ROUTE","QUIZ_VOCAB_ROUTE","personIcon","feedbackIcon","rulerIcon","navlinks","link","k","MenuItem","RouterLink","ListItemIcon","AnimatePresence","DarkModeIcon","motion","WbSunnyIcon","ExpandableMenu","LanguageIcon","lng","LogoutIcon","username","avatarUrl","t","isTeacher","UserOverviewContainer","Avatar","Typography","Link","BIO_ROUTE","PERSONAL_ROUTE","options","selectedValue","getOptionLabel","option","getOptionValue","onOptionClick","controls","useAnimation","selected","ExpandableMenuItem","ispekLogoMobile","ispekLogoDarkMobile","Notifications","handleOpen","useTogglePopover","unreadNotif","useNotificationGetUnreadNotificationsNumberQuery","event","Badge","NotificationsIcon","PopperNotification","notifications","isSuccess","isLoading","useNotificationGetNotificationsQuery","Popper","TransitionProps","placement","Grow","Paper","ClickAwayListener","Skeleton","List","a","b","notif","index","Notification","title","text","ListItem","ControlledNotif","ListItemText","LinkIcon","children","restProps","ListItemButton","Header","limits","useNeopaymentGetAttendanceLimitsQuery","selectUser","isStudent","alignment","setAlignment","handleChange","newAlignment","AppBar","UpgradeBanner","Toolbar","Container","Logo","navlink","NavLink","HOME_ROUTE","RECORDINGS_ROUTE","NOTES_ROUTE","COMMUNITY_ROUTE","homeIcon","ToggleButtonGroup","ToggleButton","FlotingButton","SIMPLE_LOGIN_ROUTE","isSmDown","Button","PRICING_ROUTE","isMatch","isSMDown","getLogo","isClassroomPath","isepakLogoDark","pengguinLogo","LogoImage","isEventsPage","LANDING_ROUTE","EVENT_ROUTE","theme","label","NavLinkRouter","isActive","icon","bgColor","width","buttonProps","inEvents"],"mappings":"o5DA6DM,MAAAA,GAAeC,GAAU,CAC7B,KAAM,CAAE,EAAG,KAAAC,GAASC,EAAe,QAAQ,EACrCC,EAAWC,GAAY,EACvBC,EAAWC,GAAe,EAC1BC,EAAUC,EAAc,GAAG,EAC3B,CAAE,KAAAC,CAAgB,EAAIC,EAAQ,EAC9B,CAAQ,OAAAC,CAAO,EAAIC,EAAS,EAC5B,CAAE,SAAAC,CAAS,EAAIC,EAAY,EAC3BC,EAAgBC,EAAgBC,GAAUA,EAAM,KAAK,EACrD,CAAE,SAAAC,EAAU,KAAAC,EAAM,YAAAC,EAAa,YAAaC,GAAoBC,GAAc,EAC9E,CAACC,EAAkBC,EAAmB,EAAIC,EAAM,SAASC,EAAU,CAAC,CAAC,EACrE,CACJ,KAAMC,GACN,aAAcC,GACd,YAAaC,EAAA,EACXC,EAAU,EAAK,EACb,CACJ,KAAMC,GACN,aAAcC,GACd,YAAaC,EAAA,EACXH,EAAU,EAAK,EACbI,EAAc,IAAM,CACRb,EAAA,EACQQ,GAAA,EACHI,GAAA,CACvB,EACM,C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