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CAAC,GACjD,EAAWyM,IAAI,CAACpF,WAAW,CAClB,CACL,GAAG3I,EAAO+N,IAAI,CACdpF,YAAa+e,CAAAA,EAAAA,EAAAA,CAAAA,EACXO,IAAKjoB,EAAO+N,IAAI,CAACpF,WAAW,CAAE,CAAC,eAAgB,kBAAkB,EACjEuf,EAAAA,CAASA,CAEb,EAEKloB,EAAO+N,IAAI,EAGdoa,EAA8BT,CAAAA,EAAAA,EAAAA,CAAAA,EAAW9S,IAAOgP,CAAAA,EAAAA,EAAAA,EAAAA,EAAcjhB,GAAQpG,KAAQga,KAE9E6R,EAAcJ,EAA0B3nB,IAAI,CAAC,GACjD6K,IAAQmd,EAAiBF,IAG3B,MAAO,CAAC5rB,IAAM6rB,EAChB,EAEarW,EAAsC,CACjDxC,EACA5M,EACA4N,KAEA,IAAMyX,EAA4BzY,EAAajO,GAAG,CAAC,GAC1ComB,CAAAA,EAAAA,EAAAA,CAAAA,EAAWO,IAAKjoB,EAAO+N,IAAI,CAAE,gBAAiBwI,MAGjD4R,EAA8BT,CAAAA,EAAAA,EAAAA,CAAAA,EAClC9S,IAAOnC,CAAAA,EAAAA,EAAAA,EAAAA,EAAe9P,EAAO4N,GAAO3B,OAAO,CAAE,CAACzT,EAAOsY,IAC5ClX,IAAMpB,IAAUsY,iBAAAA,GAEzB8C,KAGI6R,EAAcJ,EAA0B3nB,IAAI,CAAC,GAC1C6K,IAAQmd,EAAiBF,IAGlC,MAAO,CAAC5rB,IAAM6rB,EAChB,qBC1DAE,EAAAC,OAAA,EAAkB,uQCAlBD,EAAAC,OAAA,EAAkB,8GCAlBD,EAAAC,OAAA,EAAkB,ytBCAlBD,EAAAC,OAAA,EAAkB,sPCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/?27a3","webpack://_N_E/./components/Alert/Alert.constants.tsx","webpack://_N_E/./components/Alert/Alert.tsx","webpack://_N_E/./components/Alert/index.tsx","webpack://_N_E/./components/Box/Box.tsx","webpack://_N_E/./components/Box/index.tsx","webpack://_N_E/./components/FilterChip/FilterChip.tsx","webpack://_N_E/./components/FilterChip/index.tsx","webpack://_N_E/./components/HelperText/HelperText.tsx","webpack://_N_E/./components/HelperText/index.tsx","webpack://_N_E/./components/Paginate/Paginate.tsx","webpack://_N_E/./components/Paginate/index.tsx","webpack://_N_E/./components/RangeSlider/RangeSlider.tsx","webpack://_N_E/./components/RangeSlider/index.tsx","webpack://_N_E/./components/SearchTextInput/SearchTextInput.tsx","webpack://_N_E/./components/SearchTextInput/index.tsx","webpack://_N_E/./components/SelectButton/SelectButtonOption/SelectButtonOption.tsx","webpack://_N_E/./components/SelectButton/SelectButtonOption/index.tsx","webpack://_N_E/./components/SelectButton/SelectButton.tsx","webpack://_N_E/./components/SelectButton/index.tsx","webpack://_N_E/./components/TextField/TextField.tsx","webpack://_N_E/./components/TextField/index.tsx","webpack://_N_E/./features/SearchEducatorsFilter/SavedFilters/SavedFiltersAlert.tsx","webpack://_N_E/./features/SearchEducatorsFilter/tabs/SavedFiltersTab/SavedFilterChip.tsx","webpack://_N_E/./hooks/redux/useFeatureFlag.tsx","webpack://_N_E/./hooks/useCurrentUserProfile.tsx","webpack://_N_E/./hooks/useTrackedEvents.ts","webpack://_N_E/./icons/complex/AppleIcon.tsx","webpack://_N_E/./icons/complex/ClapIcon.tsx","webpack://_N_E/./icons/complex/HiringHeroIcon.tsx","webpack://_N_E/./icons/complex/MapPinIcon.tsx","webpack://_N_E/./icons/complex/NoNotesIcon.tsx","webpack://_N_E/./icons/complex/SearchIcon.tsx","webpack://_N_E/./icons/complex/StarIcon.tsx","webpack://_N_E/./icons/complex/index.tsx","webpack://_N_E/./components/locations/jobMap.js","webpack://_N_E/./features/SearchJobsFilter/SearchJobsFilterContext.ts","webpack://_N_E/./features/SearchJobsFilter/FilterChips/FilterChips.tsx","webpack://_N_E/./components/jobs/JobPageContext.tsx","webpack://_N_E/./features/SearchJobsFilter/AppliedFiltersSection.tsx","webpack://_N_E/./features/SearchJobsFilter/tabs/SaveFiltersButton.tsx","webpack://_N_E/./features/SearchJobsFilter/tabs/SearchJobsFiltersTab.tsx","webpack://_N_E/./features/SearchJobsFilter/tabs/SavedFiltersTab/SavedFilterTitle.tsx","webpack://_N_E/./features/SearchJobsFilter/tabs/SavedFiltersTab/SavedFilterChipGroup.tsx","webpack://_N_E/./features/SearchJobsFilter/tabs/SavedFiltersTab/DeleteSavedFilterDialog.tsx","webpack://_N_E/./features/SearchJobsFilter/tabs/SavedFiltersTab.tsx","webpack://_N_E/./features/SearchJobsFilter/SearchJobsFilter.tsx","webpack://_N_E/./features/SearchJobsFilter/index.tsx","webpack://_N_E/./features/RecommendedSummarizedJobsModal/JobSummaryCard/JobSummaryCard.utils.ts","webpack://_N_E/./features/RecommendedSummarizedJobsModal/JobSummaryCard/JobSummaryCard.tsx","webpack://_N_E/./features/RecommendedSummarizedJobsModal/JobSummaryCard/index.tsx","webpack://_N_E/./features/RecommendedSummarizedJobsModal/JobSummariesCarousel/JobSummariesNavigation/JobSummariesNavigation.tsx","webpack://_N_E/./features/RecommendedSummarizedJobsModal/JobSummariesCarousel/JobSummariesNavigation/index.tsx","webpack://_N_E/./features/RecommendedSummarizedJobsModal/JobSummariesCarousel/JobSummariesCarousel.tsx","webpack://_N_E/./features/RecommendedSummarizedJobsModal/JobSummariesCarousel/index.tsx","webpack://_N_E/./features/RecommendedSummarizedJobsModal/RecommendedSummarizedJobsModal.tsx","webpack://_N_E/./features/RecommendedSummarizedJobsModal/index.tsx","webpack://_N_E/./components/jobs/search/OptionsLabel.tsx","webpack://_N_E/./components/jobs/search/SortJobsButton.tsx","webpack://_N_E/./components/jobs/search/ShowJobsButton.tsx","webpack://_N_E/./components/jobs/search/ViewTabButton.tsx","webpack://_N_E/./components/jobs/search/TabAndFilterHeader.tsx","webpack://_N_E/./components/jobs/search/FoundJobsCount.tsx","webpack://_N_E/./components/jobs/search/JobsFoundLabel.tsx","webpack://_N_E/./components/jobs/search/ListContent.tsx","webpack://_N_E/./pages/jobs.js","webpack://_N_E/./redux/candidates/actions.js","webpack://_N_E/./redux/geographies/actions.js","webpack://_N_E/./util/analyticsEvents.ts","webpack://_N_E/./util/helpers/keys-to-case.ts","webpack://_N_E/./util/savedFilters/utils.ts","webpack://_N_E/./components/Box/Box.module.css","webpack://_N_E/./components/FilterChip/FilterChip.module.css","webpack://_N_E/./components/RangeSlider/RangeSlider.module.css","webpack://_N_E/./components/SearchTextInput/SearchTextInput.module.css","webpack://_N_E/./features/SearchJobsFilter/SearchJobsFilter.module.css"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/jobs\",\n function () {\n return require(\"private-next-pages/jobs.js\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/jobs\"])\n });\n }\n ","import { AlertVariant } from './Alert.types';\nimport { ElementType } from 'react';\nimport { AlertIcon, CheckCircleIcon, ClapIcon, InformationIcon } from 'icons/outline';\n\nexport const AlertVariantToIconMap = new Map([\n ['success', ClapIcon],\n ['error', AlertIcon],\n ['warning', AlertIcon],\n ['info', null],\n]);\n\nexport const AlertHighlightedVariantToIconMap = new Map([\n ['success', CheckCircleIcon],\n ['error', AlertIcon],\n ['warning', AlertIcon],\n ['info', InformationIcon],\n]);\n","import type { AlertProps } from './Alert.types';\nimport { Fragment, PropsWithChildren } from 'react';\nimport clsx from 'clsx';\nimport {\n AlertHighlightedVariantToIconMap,\n AlertVariantToIconMap,\n} from 'components/Alert/Alert.constants';\nimport { Transition } from '@headlessui/react';\n\n/**\n * The Alert component is also known as Notification or Toast in other design systems.\n * It's a non-blocking component that displays a message to the user.\n */\nexport const Alert = (props: PropsWithChildren) => {\n const { open = false, debug = false, highlighted = false, variant, children, className } = props;\n\n const FeedbackIcon = highlighted\n ? AlertHighlightedVariantToIconMap.get(variant)\n : AlertVariantToIconMap.get(variant);\n\n return (\n \n \n \n {FeedbackIcon && (\n \n \n \n )}\n {children}\n \n \n \n );\n};\n\nAlert.displayName = 'Alert';\n","export { Alert } from './Alert';\nexport type { AlertProps } from './Alert.types';\n","import classes from './Box.module.css';\nimport type { BoxProps } from './Box.types';\nimport { PropsWithChildren } from 'react';\nimport clsx from 'clsx';\n\nexport const Box = (props: PropsWithChildren) => {\n const { children, hoverable, debug, className, ...rootProps } = props;\n return (\n \n {children}\n \n );\n};\n\nBox.displayName = 'Box';\n","export { Box } from './Box';\nexport type { BoxProps } from './Box.types';\n","import { CloseIcon } from 'icons/outline';\nimport { FilterChipProps } from './FilterChip.types';\nimport classes from './FilterChip.module.css';\nimport clsx from 'clsx';\n\nexport const FilterChip = (props: FilterChipProps) => {\n const { onRemove, children } = props;\n\n return (\n
\n \n {children}\n {onRemove && (\n \n )}\n \n
\n );\n};\n\nFilterChip.displayName = 'FilterChip';\n","export { FilterChip } from './FilterChip';\nexport type { FilterChipProps } from './FilterChip.types';\n","import type { HelperTextProps } from './HelperText.types';\nimport type { PropsWithChildren } from 'react';\nimport clsx from 'clsx';\n\n/**\n * The HelperText component is used to display helper text for a form field. It\n * can be used to display validation errors with the boolean `error` prop.\n */\nexport const HelperText = (props: PropsWithChildren) => {\n const { children, disabled = false, error = false, ...rootProps } = props;\n\n if (!children) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nHelperText.displayName = 'HelperText';\n","export { HelperText } from './HelperText';\nexport type { HelperTextProps } from './HelperText.types';\n","import { useRouter } from 'next/router';\nimport type { PaginateProps } from './Paginate.types';\nimport { ArrowLeftIcon, ArrowRightIcon } from 'icons/outline';\nimport ReactPagination from 'rc-pagination';\nimport clsx from 'clsx';\n\nconst NUM_PAGES_DISPLAYED = 7;\n\nexport const Paginate = (props: PaginateProps) => {\n const { currentPage = 1, pageSize = 10, onPageChange, total, disabled = false } = props;\n const router = useRouter();\n\n const onChangeHandler = (selected: number) => {\n void router.push({\n pathname: router.pathname,\n query: {\n ...router.query,\n page: selected,\n },\n });\n onPageChange?.(selected);\n };\n\n return (\n <>\n {\n switch (type) {\n case 'prev':\n return (\n \n \n \n );\n case 'next':\n return (\n \n \n \n );\n case 'jump-next':\n case 'jump-prev':\n return (\n \n …\n \n );\n case 'page':\n default:\n return (\n \n {page}\n \n );\n }\n }}\n />\n {/*}*/}\n {/* nextLabel={}*/}\n {/* breakLabel={null}*/}\n {/* pageCount={totalPages}*/}\n {/* pageRangeDisplayed={NUM_PAGES_DISPLAYED}*/}\n {/* marginPagesDisplayed={0}*/}\n {/* onPageChange={onChangeHandler}*/}\n {/* forcePage={currentPage > 0 ? currentPage - 1 : 0}*/}\n {/* containerClassName=\"inline-flex items-center text-sm list-none gap-1.5 flex-wrap\"*/}\n {/* pageClassName=\"text-neutral-dark min-w-[24px] inline-flex justify-center relative items-center box-border\"*/}\n {/* previousClassName=\"text-primary-pure-blue\"*/}\n {/* nextClassName=\"text-primary-pure-blue\"*/}\n {/* activeClassName=\"font-bold text-neutral-ink-blue border border-neutral rounded-full px-0.5 isActive\"*/}\n {/* disabledClassName=\"text-neutral cursor-not-allowed\"*/}\n {/* // eslint-disable-next-line no-unused-vars*/}\n {/* hrefBuilder={(page, pageCount, selected) =>*/}\n {/* page >= 1 && page <= pageCount ? `/page/${page}` : '#'*/}\n {/* }*/}\n {/* hrefAllControls*/}\n {/*/>*/}\n \n );\n};\n\nPaginate.displayName = 'Paginate';\n","export { Paginate } from './Paginate';\nexport type { PaginateProps } from './Paginate.types';\n","import clsx from 'clsx';\nimport { ChangeEvent, useEffect, useState } from 'react';\nimport classes from './RangeSlider.module.css';\nimport type { RangeSliderProps } from './RangeSlider.types';\nimport { XMarkIcon } from '@heroicons/react/24/solid';\nimport { isNil } from 'lodash';\n\nexport const RangeSlider = (props: RangeSliderProps) => {\n const {\n min,\n max,\n defaultValue,\n value: providedValue,\n step = 1,\n onChange,\n disabled,\n prefix,\n suffix,\n className,\n noInput = false,\n } = props;\n const [value, setValue] = useState(defaultValue?.toString() || min?.toString());\n\n useEffect(() => {\n !isNil(providedValue) && setValue(providedValue?.toString());\n }, [providedValue]);\n\n const handleChange = (event: ChangeEvent) => {\n const parsedValue = parseInt(event.currentTarget.value);\n setValue(event.currentTarget.value);\n onChange?.(parsedValue);\n };\n\n const handleTextChange = (event: ChangeEvent) => {\n const parsedValue = parseInt(event.currentTarget.value);\n\n const safeValue = Math.min(Math.max(parsedValue, min), max);\n\n setValue(safeValue.toString());\n onChange?.(safeValue);\n };\n\n const handleClear = () => {\n setValue(min.toString());\n onChange?.(min);\n };\n\n return (\n
\n {noInput ? null : (\n
\n {prefix && (\n
\n {prefix}\n
\n )}\n \n \n
\n )}\n\n
\n
\n
\n \n
\n \n
\n
\n

\n {prefix}\n {min}\n {suffix?.min}\n

\n

\n {prefix}\n {max}\n {suffix?.max}\n

\n
\n
\n
\n );\n};\n\nRangeSlider.displayName = 'RangeSlider';\n","export { RangeSlider } from './RangeSlider';\nexport type { RangeSliderProps } from './RangeSlider.types';\n","import { forwardRef } from 'react';\nimport clsx from 'clsx';\nimport classes from './SearchTextInput.module.css';\nimport type { SearchTextInputProps } from './SearchTextInput.types';\nimport { SearchIcon } from 'icons/outline';\n\nexport const SearchTextInput = forwardRef((props, ref) => {\n const { className, fullWidth, size = 'md', disabled = false, ...rootProps } = props;\n\n return (\n \n \n \n \n );\n});\n\nSearchTextInput.displayName = 'SearchTextInput';\n","export { SearchTextInput } from './SearchTextInput';\nexport type { SearchTextInputProps } from './SearchTextInput.types';\n","import type { SelectButtonOptionProps } from 'components/SelectButton/SelectButtonOption/SelectButtonOption.types';\nimport clsx from 'clsx';\nimport { Combobox, Listbox } from '@headlessui/react';\nimport { CheckIcon } from 'icons/outline';\n\nexport const SelectButtonOption = (props: SelectButtonOptionProps) => {\n const { option, selected = false, searchable = false } = props;\n const { label, disabled, description } = option;\n\n const Option = searchable ? Combobox.Option : Listbox.Option;\n\n return (\n \n clsx('px-4 py-2 select-none text-base', {\n 'cursor-pointer text-neutral-dark true-hover:bg-neutral-no-gray': !disabled,\n 'cursor-not-allowed !text-neutral': disabled,\n 'bg-neutral-no-gray': active,\n 'text-neutral-ink-blue': selected,\n })\n }\n >\n \n {label}\n {selected ? (\n \n \n \n ) : null}\n

\n {description && (\n \n {description}\n

\n )}\n \n );\n};\n\nSelectButtonOption.displayName = 'SelectButtonOption';\n","export { SelectButtonOption } from 'components/SelectButton/SelectButtonOption/SelectButtonOption';\nexport type { SelectButtonOptionProps } from 'components/SelectButton/SelectButtonOption/SelectButtonOption.types';\n","import { Combobox, Listbox, Transition } from '@headlessui/react';\nimport clsx from 'clsx';\nimport { Button } from 'components/Button';\nimport { IconButton } from 'components/IconButton';\nimport type { SelectButtonProps } from 'components/SelectButton/SelectButton.types';\nimport { SelectButtonOption } from 'components/SelectButton/SelectButtonOption';\nimport { TextField } from 'components/TextField';\nimport { ArrowDownIcon } from 'icons/outline';\nimport filter from 'lodash/filter';\nimport type { ChangeEvent, ElementType } from 'react';\nimport { useEffect, useMemo, useRef, useState } from 'react';\nimport type { SelectOptionProps } from './SelectButtonOption/SelectButtonOption.types';\nimport isString from 'lodash/isString';\nimport isUndefined from 'lodash/isUndefined';\nimport isNull from 'lodash/isNull';\nimport take from 'lodash/take';\n\n/**\n * The SelectButton component is a wrapper around the Listbox component from Headless UI.\n * It uses the Button component with the \"outline\" variant as the trigger.\n *\n * Its behavior is to show a possible label and the selected value on its content.\n */\nexport const SelectButton = (props: SelectButtonProps) => {\n const {\n buttonLabel = null,\n optionsLabel = null,\n options = [],\n size = 'md',\n fullWidth = false,\n buttonProps: providedButtonProps,\n iconButton = false,\n debug = false,\n searchable = false,\n searchDisplayValue = (option: SelectOptionProps) => option.selectedLabel || option.label,\n withCaret = false,\n showLabel = true,\n error = false,\n placeholder,\n allowCustomValue = false,\n defaultValue,\n value,\n buttonPadding = true,\n maxOptionsCount,\n ...listboxProps\n } = props || {};\n\n const buttonWrapperRef = useRef(null);\n const buttonProps = {\n ...providedButtonProps,\n fullWidth: fullWidth,\n variant: 'outline',\n };\n\n const rightAlign =\n typeof window !== 'undefined'\n ? buttonWrapperRef?.current?.getBoundingClientRect?.()?.left > document.body.offsetWidth / 2\n : false;\n\n const WrapperBox: ElementType = searchable ? Combobox : Listbox;\n const Options: ElementType = searchable ? Combobox.Options : Listbox.Options;\n\n const [query, setQuery] = useState('');\n\n const handleChange = (event: ChangeEvent) => {\n setQuery(event.target.value);\n };\n\n useEffect(() => {\n if (allowCustomValue && isString(value) && Boolean(value)) {\n setQuery(value);\n }\n }, [allowCustomValue, value]);\n\n const optionsWithCustomValue = useMemo(() => {\n if (allowCustomValue && Boolean(query)) {\n return [\n ...options,\n { id: 'custom', label: `Add ${query}`, value: query, selectedLabel: query },\n ];\n }\n return options;\n }, [options, query]);\n\n const filteredOptions = useMemo(\n () =>\n take(\n !query\n ? optionsWithCustomValue\n : filter(\n optionsWithCustomValue,\n (option) =>\n option.label.toLowerCase().includes(query.toLowerCase()) ||\n option.description?.toLowerCase().includes(query.toLowerCase()) ||\n option.id.toLowerCase().includes(query.toLowerCase()) ||\n searchDisplayValue(option)?.toLowerCase().includes(query.toLowerCase()),\n ),\n maxOptionsCount || optionsWithCustomValue.length,\n ),\n [searchDisplayValue, query, options],\n );\n\n const wrapperValue = useMemo(() => {\n if (allowCustomValue && isString(value) && Boolean(value)) {\n return optionsWithCustomValue.find((item) => item.value === value) || '';\n }\n\n return isNull(value) ? '' : value;\n }, [value, optionsWithCustomValue]);\n\n return (\n \n {({ value: selectedOption, open }: { value: SelectOptionProps; open: boolean }) => (\n \n {searchable ? (\n <>\n \n ) : undefined\n }\n error={error}\n />\n \n ) : (\n \n
\n {buttonLabel}\n {showLabel && selectedOption && (\n <>\n \n {selectedOption.selectedLabel || selectedOption.label}\n \n \n )}\n {(withCaret || null) && (\n \n )}\n
\n \n )}\n \n \n {filteredOptions?.length === 0 ? (\n <>\n \n \n ) : (\n <>\n {optionsLabel &&
  • {optionsLabel}
  • }\n {filteredOptions.map((option) => (\n \n ))}\n \n )}\n \n \n \n )}\n \n );\n};\n\nSelectButton.displayName = 'SelectButton';\n","export { SelectButton } from './SelectButton';\nexport type { SelectButtonProps } from 'components/SelectButton/SelectButton.types';\n","import type { TextFieldProps } from './TextField.types';\nimport clsx from 'clsx';\nimport { HelperText } from 'components/HelperText';\nimport { forwardRef, useEffect, useRef, useState } from 'react';\n\nconst APPENDIX_RIGHT_POSITION = 16;\nconst PADDING_TO_APPENDIX = 12;\n\nexport const TextField = forwardRef(\n (props: TextFieldProps, ref) => {\n const {\n Icon,\n appendix,\n disabled = false,\n error = false,\n helperText = '',\n className,\n fullWidth = false,\n id,\n ...rootProps\n } = props;\n\n const appendixRef = useRef(null);\n const [rightPadding, setRightPadding] = useState(null);\n\n useEffect(() => {\n if (appendixRef.current && rightPadding === null) {\n setRightPadding(\n appendixRef.current.clientWidth + APPENDIX_RIGHT_POSITION + PADDING_TO_APPENDIX,\n );\n }\n });\n\n return (\n \n \n {!Icon ? null : (\n \n )}\n\n \n\n {!appendix ? null : (\n \n {appendix}\n \n )}\n \n\n {!helperText ? null : (\n \n {helperText}\n \n )}\n \n );\n },\n);\n\nTextField.displayName = 'TextField';\n","export { TextField } from './TextField';\nexport type { TextFieldProps } from './TextField.types';\n","import { Alert } from 'components/Alert';\nimport { useEffect } from 'react';\n\ntype SavedFiltersAlertProps = {\n open: boolean;\n setShowSavedFiltersAlert: (value: boolean) => void;\n};\nexport const SavedFiltersAlert = ({ open, setShowSavedFiltersAlert }: SavedFiltersAlertProps) => {\n useEffect(() => {\n let timeout: NodeJS.Timeout;\n if (open) {\n timeout = setTimeout(() => setShowSavedFiltersAlert(false), 2000);\n }\n\n return () => timeout && clearTimeout(timeout);\n }, [open, setShowSavedFiltersAlert]);\n\n return (\n \n Filters selection successfully saved!\n \n );\n};\n\nSavedFiltersAlert.displayName = 'SavedFiltersAlert';\n","import type { ReactNode } from 'react';\n\nexport const SavedFiltersChip = ({ label }: { label: ReactNode }) => {\n return (\n \n {label}\n \n );\n};\n\nSavedFiltersChip.displayName = 'SavedFiltersChip';\n","import { RootStateOrAny, useSelector } from 'react-redux';\n\nexport const useFeatureFlag = (flag: string): boolean => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n const flags = useSelector((state: RootStateOrAny) => state.flipper.features) as Record<\n string,\n { enabled: boolean }\n >;\n\n return flags?.[flag]?.enabled;\n};\n","import { useEffect, useState } from 'react';\nimport { UserProfileResource } from 'util/resources/UserProfile';\nimport { Account } from 'util/resources';\n\ntype UseUserProfileProps = {\n initiallyFetch?: boolean;\n};\n\ntype UseUserProfileReturn = {\n userProfile: UserProfileResource;\n loading: boolean;\n error: Error;\n refreshUserProfile: () => Promise;\n};\n\nexport const useCurrentUserProfile = (props?: UseUserProfileProps): UseUserProfileReturn => {\n const { initiallyFetch = true } = props || {};\n\n const [userProfile, setUserProfile] = useState(null);\n const [loading, setLoading] = useState(true);\n const [error, setError] = useState(null);\n\n const fetchCurrentUserProfile = async () => {\n setLoading(true);\n await Account.includes('userProfile')\n .find('')\n .then((response) => {\n setLoading(false);\n setUserProfile(response.userProfile());\n })\n .catch((error: Error) => {\n setLoading(false);\n setError(error);\n });\n };\n\n const refreshUserProfile = fetchCurrentUserProfile;\n\n useEffect(() => {\n if (initiallyFetch) {\n void fetchCurrentUserProfile();\n }\n }, []);\n\n return {\n userProfile,\n loading,\n error,\n refreshUserProfile,\n };\n};\n","import isFunction from 'lodash/isFunction';\nimport reduce from 'lodash/reduce';\nimport { posthogCapture } from 'lib/posthog';\nimport { AnalyticsEventNames, AnalyticsEvents } from 'util/analyticsEvents';\nimport { useAhoy } from 'hooks/useAhoy';\nimport { useCallback } from 'react';\n\nexport interface EventData {\n eventKey: AnalyticsEvents;\n payload?: Record | ((...args: unknown[]) => Record);\n}\n\nexport interface Callback {\n event: EventData;\n handler?: (...args: unknown[]) => void;\n}\n\nexport type UseTrackedEventsProps = {\n [key: string]: Callback;\n};\n\nconst postHogCapture = posthogCapture();\n\nexport const useTrackedEvents = (\n props: UseTrackedEventsProps,\n): {\n [key: string]: Callback['handler'];\n} => {\n const callbacks = { ...props };\n\n const { trackEvent: ahoyTrackEvent } = useAhoy();\n\n // Generic function that uses whatever analytics provider we want to use\n const captureEvent = useCallback(\n (name: string, payload?: Record) => {\n postHogCapture(name, payload);\n ahoyTrackEvent(name, payload);\n },\n [ahoyTrackEvent],\n );\n\n if (!Object.keys(callbacks).length) {\n return {};\n }\n\n return reduce(\n Object.entries(callbacks),\n (acc, [callbackName, { handler, event }]) => {\n acc[callbackName] = (...args: unknown[]) => {\n if (isFunction(handler)) {\n handler(...args);\n }\n\n const { eventKey, payload } = event;\n\n const name = AnalyticsEventNames[eventKey];\n\n if (name) {\n if (isFunction(payload)) {\n captureEvent(name, payload(...args));\n } else {\n captureEvent(name, payload);\n }\n }\n };\n return acc;\n },\n {},\n );\n};\n","import { SVGAttributes } from 'react';\n\nexport const AppleIcon = ({ className }: SVGAttributes) => (\n \n \n \n \n \n \n \n \n \n \n \n);\n\nAppleIcon.displayName = 'Complex__AppleIcon';\n","import { SVGAttributes } from 'react';\n\nexport const ClapIcon = ({ className }: SVGAttributes) => (\n \n \n \n \n \n \n \n \n);\n\nClapIcon.displayName = 'Complex__ClapIcon';\n","import { SVGAttributes } from 'react';\n\nexport const HiringHeroIcon = ({ className }: SVGAttributes) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nHiringHeroIcon.displayName = 'Complex__HiringHeroIcon';\n","import { SVGAttributes } from 'react';\n\ntype MapPinIconProps = SVGAttributes & {\n /**\n * Whether the job has been viewed or not\n * @default false\n */\n viewed?: boolean;\n};\n\nexport const MapPinIcon = ({ className, viewed = false }: MapPinIconProps) => (\n \n \n \n \n);\n\nMapPinIcon.displayName = 'Complex__MapPinIcon';\n","import { SVGAttributes } from 'react';\n\nexport const NoNotesIcon = ({ className }: SVGAttributes) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nNoNotesIcon.displayName = 'Solid__NoNotesIcon';\n","import { SVGAttributes } from 'react';\n\nexport const SearchIcon = ({ className }: SVGAttributes) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nSearchIcon.displayName = 'Complex__SearchIcon';\n","import { SVGAttributes } from 'react';\n\ntype StarIconProps = SVGAttributes & {\n /**\n * Whether the star is filled or not\n * @default false\n */\n filled?: boolean;\n};\n\nexport const StarIcon = ({ className, filled = false }: StarIconProps) => (\n \n \n \n);\n\nStarIcon.displayName = 'Complex__StarIcon';\n","export * from './AppleIcon';\nexport * from './ClapIcon';\nexport * from './HiringHeroIcon';\nexport * from './MapPinIcon';\nexport * from './NoNotesIcon';\nexport * from './SearchIcon';\nexport * from './StarIcon';\n","import { useEffect, useRef, useState } from 'react';\nimport GoogleMap from 'google-maps-react-markers';\nimport intersectionBy from 'lodash/intersectionBy';\nimport uniqBy from 'lodash/uniqBy';\nimport isEqual from 'lodash/isEqual';\nimport isEmpty from 'lodash/isEmpty';\nimport cloneDeep from 'lodash/cloneDeep';\nimport PostHog from '../analytics/PostHog';\nimport { useUser } from 'hooks/redux/useUser';\nimport { LocationDialog } from 'features/LocationDialog';\nimport { formattedAddress } from 'util/formatting/address';\nimport { compact } from 'lodash';\nimport { MapMarker } from 'features/JobMap/MapMarker';\nimport noop from 'lodash/noop';\nimport { DEFAULT_MAP_OPTIONS } from 'features/JobMap/map.constants';\nimport { useCurrentUserProfile } from 'hooks/useCurrentUserProfile';\n\nconst usPolygon = [\n {\n lat: 49.44, //NW\n lng: -128.14,\n },\n {\n lat: 49.44, //NE\n lng: -66.5,\n },\n {\n lat: 25, //SE\n lng: -66.5,\n },\n {\n lat: 25, //SW\n lng: -97,\n },\n];\n\nconst renderMarkers = (jobs, selectedLocation, onClick, hoveredJob, jobRecommendations) => {\n return uniqBy(jobs, 'location.id').map(({ id, location, viewed, ...rest }) => {\n if (location?.lat && location?.lng) {\n const isRecommended =\n intersectionBy(\n jobRecommendations?.list,\n jobs.filter((job) => job.location.id === location.id),\n 'id',\n ).length > 0;\n return (\n \n \n \n );\n } else {\n return null;\n }\n });\n};\n\nconst AnyReactComponent = ({\n location,\n selectedLocation,\n onClick,\n isHovered,\n recommended,\n viewed,\n}) => {\n const isActive = location.id === selectedLocation?.id || isHovered;\n\n return (\n onClick(location)}\n recommended={recommended}\n viewed={viewed}\n active={isActive}\n />\n );\n};\n\n// Return map bounds based on list of places\nconst getMapBounds = (map, maps, places) => {\n const bounds = new maps.LatLngBounds();\n\n places.forEach((place) => {\n bounds.extend(new maps.LatLng(parseFloat(place.lat), parseFloat(place.lng)));\n });\n return bounds;\n};\n\nconst JobMap = ({\n jobs,\n mapJobs,\n setMapJobs,\n setLoadNavigate,\n hoveredJob,\n processing,\n setShowMapJobs,\n}) => {\n const mapInterface = useRef(null);\n const usPolygonRef = useRef();\n const [selectedJobs, setSelectedJobs] = useState([]);\n const [selectedLocation, setSelectedLocation] = useState(null);\n const [locationOpen, setLocationOpen] = useState(false);\n const [firstLoad, setFirstLoad] = useState(true);\n const { userProfile } = useCurrentUserProfile();\n\n const [usBoundJobs, setUsBoundJobs] = useState([]);\n const { jobRecommendations, geography } = useUser();\n\n const assignMapJobs = (timeout) => {\n if (!mapInterface.current) return noop;\n const { map, maps } = mapInterface.current;\n\n const bounds = map.getBounds();\n const newArr = usBoundJobs.filter(({ location }) => {\n const x = parseFloat(location.lat);\n const y = parseFloat(location.lng);\n\n return bounds.contains(new maps.LatLng(x, y));\n });\n if (!isEqual(newArr, mapJobs)) {\n if (timeout) {\n setLoadNavigate(true);\n setTimeout(() => {\n setMapJobs(newArr);\n setLoadNavigate(false);\n }, 400);\n } else {\n setMapJobs(newArr);\n }\n }\n };\n\n useEffect(() => {\n if (!mapInterface.current) return noop;\n\n const { map, maps } = mapInterface.current;\n\n const usJobs = jobs.flatMap((job) => {\n const locations = job.locations().target().all();\n const arrLoc = locations.filter((location) => {\n const x = parseFloat(location.lat);\n const y = parseFloat(location.lng);\n\n const latLng = new maps.LatLng(x, y);\n return maps.geometry.poly.containsLocation(latLng, usPolygonRef.current);\n });\n return arrLoc.map((loc) => {\n const clonedJob = cloneDeep(job);\n clonedJob.location = loc;\n return clonedJob;\n });\n });\n\n const coords = usJobs.map(({ location }) => ({ lat: location.lat, lng: location.lng }));\n\n setUsBoundJobs(usJobs);\n\n // If we have a geography, center the map on it if empty results or first load\n if (!isEmpty(geography) && (coords.length === 0 || firstLoad)) {\n map.setCenter({\n lat: parseFloat(userProfile.lat),\n lng: parseFloat(userProfile.lng),\n });\n map.setZoom(geography.zoomLevel);\n setShowMapJobs(() => () => {\n map.setCenter(new maps.LatLng(geography.latitude, geography.longitude));\n map.setZoom(10);\n });\n setFirstLoad(false);\n } else {\n map.fitBounds(getMapBounds(map, maps, coords));\n }\n\n const zoom = map.getZoom();\n if (zoom > 15) {\n map.setZoom(15);\n }\n }, [jobs]);\n\n useEffect(assignMapJobs, [usBoundJobs]);\n\n const onClick = (location) => {\n const selected = jobs.filter((job) => job.locationIds?.includes(location?.id));\n setLocationOpen(true);\n setSelectedLocation(location);\n setSelectedJobs(selected);\n };\n\n const mapOptions = {\n ...DEFAULT_MAP_OPTIONS,\n fullscreenControl: false,\n gestureHandling: 'greedy',\n };\n\n return (\n
    \n {processing &&
    }\n {\n usPolygonRef.current = new maps.Polygon({ paths: usPolygon });\n mapInterface.current = { map, maps };\n }}\n onChange={() => assignMapJobs(true)}\n options={mapOptions}\n >\n {renderMarkers(usBoundJobs, selectedLocation, onClick, hoveredJob, jobRecommendations)}\n \n\n {\n setLocationOpen(false);\n setTimeout(() => {\n setSelectedLocation(null);\n }, 300);\n }}\n location={{\n id: selectedLocation?.id,\n name: selectedLocation?.name,\n address: formattedAddress(selectedLocation),\n img: selectedJobs[0]?.employer()?.profileImage?.downloadUrl,\n jobs: selectedJobs.map((job) => {\n const data = job.getCompensationText();\n return {\n id: job.id,\n title: job.title,\n href: `/jobs/${job.slug}`,\n hours: job.employmentType.join(', '),\n label: job.getLabel(jobRecommendations),\n salary: data.salaryRange,\n bonus: compact([data.hiringBonus, data.bonus]),\n };\n }),\n }}\n />\n
    \n );\n};\n\nexport default JobMap;\n","import { createContext, type MutableRefObject } from 'react';\nimport noop from 'lodash/noop';\nimport type {\n SavedFilterSelectionData,\n TeacherSavedFilterSelectionResource,\n} from 'util/resources/TeacherSavedFilterSelection';\nimport type { SearchJobFilterType } from 'features/SearchJobsFilter/SearchJobFilterType';\nimport type { TeacherAppliedFilter } from 'redux/shared/filters';\n\ntype SearchJobsFilterContextValues = {\n filters: SearchJobFilterType[];\n appliedFilters: TeacherAppliedFilter[];\n onSelectFilter: () => void;\n onClearFilters: () => void;\n onApplyFilter: () => void;\n onResetFilters: () => void;\n searchInputRef: MutableRefObject;\n saveFilters: boolean;\n createSavedFilters: (filters: SavedFilterSelectionData) => Promise;\n savedFilters: TeacherSavedFilterSelectionResource[];\n};\nconst defaultValue: SearchJobsFilterContextValues = {\n filters: [],\n appliedFilters: [],\n onSelectFilter: noop,\n onClearFilters: noop,\n onApplyFilter: noop,\n onResetFilters: noop,\n searchInputRef: null,\n saveFilters: false,\n createSavedFilters: async (..._args) => new Promise(() => noop),\n savedFilters: [],\n};\nexport const SearchJobsFilterContext = createContext(defaultValue);\n","import { FilterChip } from 'components/FilterChip';\nimport type {\n SearchJobFilterOptionType,\n SearchJobFilterType,\n} from 'features/SearchJobsFilter/SearchJobFilterType';\nimport type { TeacherAppliedFilter } from 'redux/shared/filters';\nimport clsx from 'clsx';\n\nexport type FilterChipsProps = {\n appliedFilters: TeacherAppliedFilter[];\n onRemoveFilter: (section: SearchJobFilterType, option: SearchJobFilterOptionType) => void;\n className?: string;\n};\n\nexport const FilterChips = ({ appliedFilters, onRemoveFilter, className }: FilterChipsProps) => {\n const chips = appliedFilters.filter(({ section }) => section.type === 'checkbox');\n\n if (!chips.length) {\n return null;\n }\n\n return (\n \n {chips.map(({ section, option }, index) => (\n {\n onRemoveFilter(section, option);\n }}\n >\n {option.label}\n \n ))}\n \n );\n};\n","import { createContext } from 'react';\nimport type { ElementType } from 'react';\nimport noop from 'lodash/noop';\nimport { BulletedListIcon } from 'icons/outline';\nimport type { GeographyResource } from 'util/resources/Geography';\nimport type { JobListingResource } from 'util/resources/JobListing';\nimport type { SelectOptionProps } from 'components/SelectButton/SelectButtonOption/SelectButtonOption.types';\nimport type { AccountResource } from 'util/resources/Account';\n\ntype JobPageTab = {\n name: 'Map' | 'List';\n href: '#';\n current: boolean;\n icon: ElementType;\n};\n\ntype JobPageContextProps = {\n account: AccountResource;\n loggedIn: boolean;\n suggestedGeography?: GeographyResource;\n geographyOptions: SelectOptionProps[];\n selectedGeographyOption: SelectOptionProps;\n currentUser: { jobRecommendations: { list: [] }; loaded: false };\n appliedFilters: [];\n isMap: boolean;\n getPage: (page: number | string) => number;\n page: number;\n totalPages: number;\n processing: boolean;\n jobs: JobListingResource[];\n mapJobs: JobListingResource[];\n resetSearchFilters: () => void;\n setHoveredJob: (job: JobListingResource) => void;\n onFilterOpen: () => void;\n jobId: string;\n postHogLoc: 'Map View' | 'List View';\n tabs: JobPageTab[];\n currentTab: JobPageTab;\n resetPage: (pageNumberOnly: boolean, tab: JobPageTab) => void;\n setCurrentTab: (tab: JobPageTab) => void;\n show: string;\n setShow: (show: string) => void;\n sort: string;\n setSort: (sort: string) => void;\n saveFilters: boolean;\n setSaveFilters: (saveFilters: boolean) => void;\n setShowSavedFiltersAlert: (show: boolean) => void;\n};\n\nconst defaultValues: JobPageContextProps = {\n account: null,\n loggedIn: false,\n suggestedGeography: null,\n geographyOptions: [],\n selectedGeographyOption: null,\n currentUser: { jobRecommendations: { list: [] }, loaded: false },\n appliedFilters: [],\n isMap: false,\n getPage: (page) => Number(page),\n page: 1,\n totalPages: 1,\n processing: false,\n jobs: [],\n mapJobs: [],\n resetSearchFilters: noop,\n setHoveredJob: noop,\n onFilterOpen: noop,\n jobId: '',\n postHogLoc: 'List View',\n tabs: [],\n currentTab: { name: 'List', href: '#', current: false, icon: BulletedListIcon },\n resetPage: noop,\n setCurrentTab: noop,\n show: 'all',\n setShow: noop,\n sort: '',\n setSort: noop,\n saveFilters: false,\n setSaveFilters: noop,\n setShowSavedFiltersAlert: noop,\n};\nexport const JobPageContext = createContext(defaultValues);\n","import type { TeacherAppliedFilter } from 'redux/shared/filters';\nimport { FilterChips } from 'features/SearchJobsFilter/FilterChips/FilterChips';\nimport type { RootStateOrAny } from 'react-redux';\nimport { useSelector } from 'react-redux';\nimport { useFeatureFlag } from 'hooks/redux/useFeatureFlag';\nimport { useContext } from 'react';\nimport { JobPageContext } from 'components/jobs/JobPageContext';\nimport type { TeacherSavedFilterSelectionResource } from 'util/resources/TeacherSavedFilterSelection';\nimport type {\n SearchJobFilterOptionType,\n SearchJobFilterType,\n} from 'features/SearchJobsFilter/SearchJobFilterType';\nimport { teacherSavedFilterCurrentlySelected } from 'util/savedFilters/utils';\n\ntype AppliedFiltersSectionProps = {\n appliedFilters: TeacherAppliedFilter[];\n handleRemoveFilter: (section: SearchJobFilterType, option: SearchJobFilterOptionType) => void;\n savedFilters: TeacherSavedFilterSelectionResource[];\n};\n\nexport const AppliedFiltersSection = ({\n appliedFilters,\n handleRemoveFilter,\n savedFilters,\n}: AppliedFiltersSectionProps) => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment,@typescript-eslint/no-unsafe-return\n const state = useSelector((state: RootStateOrAny) => state);\n const hasSavedFilters = useFeatureFlag('saved_filter_selection_jobs');\n const { isMap } = useContext(JobPageContext);\n\n if (!appliedFilters?.length || !hasSavedFilters) {\n return null;\n }\n\n const filtersAlreadySaved = teacherSavedFilterCurrentlySelected(savedFilters, state, isMap);\n\n if (!filtersAlreadySaved) {\n return (\n
    \n \n
    \n );\n }\n\n return (\n
    \n Saved filters selection:\n \n
    \n );\n};\n\nAppliedFiltersSection.displayName = 'AppliedFiltersSection';\n","import { useContext } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { Button } from 'components/Button';\nimport clsx from 'clsx';\nimport { fetchTeacherSavedFilterSelections } from 'redux/saved_filter_selections/actions';\nimport { teacherSavedFilterCurrentlySelected } from 'util/savedFilters/utils';\nimport { SearchJobsFilterContext } from 'features/SearchJobsFilter/SearchJobsFilterContext';\nimport { JobPageContext } from 'components/jobs/JobPageContext';\nimport type { SavedFilterSelectionData } from 'util/resources/TeacherSavedFilterSelection';\nimport { processFilters } from 'redux/job_search/actions';\nimport { useCurrentUserProfile } from 'hooks/useCurrentUserProfile';\nimport { TrackedCallback } from 'components/TrackedCallback';\nimport { AnalyticsEvents } from 'util/analyticsEvents';\n\nexport const SaveFiltersButton = () => {\n const { savedFilters, createSavedFilters } = useContext(SearchJobsFilterContext);\n const { isMap } = useContext(JobPageContext);\n const dispatch = useDispatch();\n\n const state = useSelector((state) => state);\n const { loading, filtersSearched } = useSelector(\n (state: { jobSearches: { filtersSearched: boolean; loading: boolean } }) => state.jobSearches,\n );\n\n const { userProfile: currentUserProfile } = useCurrentUserProfile();\n\n const loadingSavedFilters = useSelector(\n (state: { savedFilterSelections: { loading: boolean } }) => state.savedFilterSelections.loading,\n );\n\n const handleCreateSavedFilter = async () => {\n if (loading || loadingSavedFilters) {\n return;\n }\n\n const { filters } = processFilters(state, isMap) as {\n filters: SavedFilterSelectionData;\n };\n void (await createSavedFilters(filters));\n dispatch(fetchTeacherSavedFilterSelections(currentUserProfile.id));\n };\n\n const filtersAlreadySaved = teacherSavedFilterCurrentlySelected(savedFilters, state, isMap);\n\n if (!filtersSearched || filtersAlreadySaved) {\n return null;\n }\n\n return (\n \n Save these filters for future searches\n \n );\n};\n\nSaveFiltersButton.displayName = 'SaveFiltersButton';\n","import classes from 'features/SearchJobsFilter/SearchJobsFilter.module.css';\nimport { SearchTextInput } from 'components/SearchTextInput';\nimport { cleanUpInputValue, removeExtraSpaces } from 'util/formatting/string';\nimport { RangeSlider } from 'components/RangeSlider';\nimport { Disclosure } from '@headlessui/react';\nimport { Button } from 'components/Button';\nimport { updateFilter } from 'redux/job_search/actions';\nimport { useCallback, useContext } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { SearchJobsFilterContext } from 'features/SearchJobsFilter/SearchJobsFilterContext';\nimport { AppliedFiltersSection } from 'features/SearchJobsFilter/AppliedFiltersSection';\nimport type { TeacherSavedFilterSelectionResource } from 'util/resources/TeacherSavedFilterSelection';\nimport type {\n SearchJobFilterOptionType,\n SearchJobFilterType,\n} from 'features/SearchJobsFilter/SearchJobFilterType';\nimport { SaveFiltersButton } from 'features/SearchJobsFilter/tabs/SaveFiltersButton';\nimport { JobPageContext } from 'components/jobs/JobPageContext';\nimport clsx from 'clsx';\nimport debounce from 'lodash/debounce';\nimport { ChevronDownIcon, ChevronUpIcon } from '@heroicons/react/24/solid';\n\nexport const SearchJobsFiltersTab = () => {\n const dispatch = useDispatch();\n\n const { searchInputRef, appliedFilters, filters, onApplyFilter } =\n useContext(SearchJobsFilterContext);\n const { isMap } = useContext(JobPageContext);\n\n const onFilterSelect = (\n section: SearchJobFilterType,\n option: string | number | SearchJobFilterOptionType,\n ) => {\n dispatch(updateFilter(section, option));\n };\n\n const { savedFilterSelections: savedFilters } = useSelector(\n (state: {\n savedFilterSelections: {\n savedFilterSelections: TeacherSavedFilterSelectionResource[];\n };\n }) => state.savedFilterSelections,\n );\n\n const loading = useSelector(\n (state: { jobSearches: { loading: boolean } }) => state.jobSearches.loading,\n );\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const debOnFilterSelect = useCallback(debounce(onFilterSelect, 500), [filters]);\n\n const renderSection = (section: SearchJobFilterType) =>\n section.options.map((option, i) => {\n const id = `filter-${section.id}-${i}`;\n return (\n
    \n onFilterSelect(section, option)}\n />\n \n
    \n );\n });\n\n return (\n <>\n
    \n {filters.map((section) => {\n if (section.isGeography) {\n return null;\n } // Always hide the location filter for now\n if (section.type === 'checkbox' && !section.options?.length) {\n return null;\n }\n\n const key = `filter-${section.id}`;\n\n switch (section.type) {\n case 'text':\n return (\n
    \n {['mobile-only', 'desktop-only'].map((className) => (\n {\n debOnFilterSelect(section, removeExtraSpaces(e.currentTarget.value));\n }}\n onBlur={cleanUpInputValue()}\n ref={searchInputRef}\n defaultValue={section.value}\n />\n ))}\n\n onFilterSelect(section, option)}\n savedFilters={savedFilters}\n />\n
    \n );\n case 'range':\n return (\n
    \n \n {\n debOnFilterSelect(section, newValue === 0 ? undefined : newValue);\n }}\n />\n
    \n );\n case 'checkbox':\n default:\n const activeFilters = section.options.filter((option) => option.checked);\n\n return (\n \n {({ open }) => (\n <>\n \n
    \n {section.name}\n {Boolean(activeFilters?.length) && (\n \n ({activeFilters?.length})\n \n )}\n
    \n \n {open ? (\n \n ) : (\n \n )}\n \n
    \n\n \n {renderSection(section)}\n \n \n )}\n
    \n );\n }\n })}\n
    \n\n
    \n {\n onApplyFilter?.();\n }}\n >\n Apply Filters\n \n \n
    \n \n );\n};\n","import { useMemo } from 'react';\nimport type { TeacherSavedFilterSelectionResource } from 'util/resources/TeacherSavedFilterSelection';\n\ntype SavedFilterTitleProps = {\n filter: TeacherSavedFilterSelectionResource;\n};\nexport const SavedFilterTitle = ({ filter }: SavedFilterTitleProps) => {\n const text: string = useMemo(\n () => (filter.data.roleType ? filter.data.roleType.join(' / ') : 'All jobs'),\n [filter.data.roleType],\n );\n\n return (\n
    \n {text}\n {filter.diff.length > 0 && (\n \n {filter.diff.length} new\n \n )}\n
    \n );\n};\n\nSavedFilterTitle.displayName = 'SavedFilterTitle';\n","import { SavedFilterTitle } from 'features/SearchJobsFilter/tabs/SavedFiltersTab/SavedFilterTitle';\nimport { isArray, omitBy } from 'lodash';\nimport { SavedFiltersChip } from 'features/SearchEducatorsFilter/tabs/SavedFiltersTab/SavedFilterChip';\nimport type {\n LabelHashFilterData,\n LabelHashType,\n} from 'features/SearchJobsFilter/tabs/SavedFiltersTab';\nimport type { TeacherSavedFilterSelectionResource } from 'util/resources/TeacherSavedFilterSelection';\n\ntype SavedFilterChipGroupProps = {\n filter: TeacherSavedFilterSelectionResource;\n labelHash: LabelHashType;\n};\nexport const SavedFilterChipGroup = ({ filter, labelHash }: SavedFilterChipGroupProps) => {\n const filterData = omitBy(\n filter.data,\n (value, key) => (key === 'minimumWage' && value == 0) || key === 'noPagination',\n );\n\n return (\n
    \n \n
    \n
    \n {Object.entries(filterData).map(([key, value]) => {\n if (key === 'geographyId') {\n return null;\n }\n\n if (isArray(value)) {\n return value.map((item) => {\n const labelHashKey = labelHash[key] as LabelHashFilterData;\n let label = labelHashKey[item];\n if (label?.toLowerCase() === 'other') {\n label = `${labelHashKey.filterName}: ${label}`;\n }\n return ;\n });\n } else if (key === 'query' || key === 'minimumWage') {\n let label = '';\n\n if (key === 'query') {\n label = `Text: ${value as string}`;\n }\n\n if (key === 'minimumWage') {\n label = `Minimum Compensation ($/hour): $ ${value}`;\n }\n\n return ;\n }\n\n const labelHashKey = labelHash[key] as LabelHashFilterData;\n\n let label = labelHashKey[value as string];\n if (label?.toLowerCase() === 'other') {\n label = `${labelHashKey.filterName}: ${label}`;\n }\n return ;\n })}\n
    \n
    \n
    \n );\n};\n","import { Dialog } from 'components/Dialog';\nimport { ExclamationTriangleIcon } from '@heroicons/react/24/outline';\nimport { ModalIconColor } from 'components/Modal/Modal.types';\nimport { ModalBody } from 'components/Modal/ModalBody';\nimport { ModalActions } from 'components/Modal/ModalActions';\nimport { Button } from 'components/Button';\nimport { useState } from 'react';\nimport { useDispatch } from 'react-redux';\nimport type { TeacherSavedFilterSelectionResource } from 'util/resources/TeacherSavedFilterSelection';\nimport { useCurrentUserProfile } from 'hooks/useCurrentUserProfile';\nimport { fetchTeacherSavedFilterSelections } from 'redux/saved_filter_selections/actions';\nimport type { LabelHashType } from 'features/SearchJobsFilter/tabs/SavedFiltersTab';\nimport { SavedFilterChipGroup } from 'features/SearchJobsFilter/tabs/SavedFiltersTab/SavedFilterChipGroup';\n\ntype DeleteSavedFilterDialogProps = {\n open: boolean;\n onClose: () => void;\n filter: TeacherSavedFilterSelectionResource;\n labelHash: LabelHashType;\n};\nexport const DeleteSavedFilterDialog = ({\n open,\n onClose,\n filter,\n labelHash,\n}: DeleteSavedFilterDialogProps) => {\n const { userProfile } = useCurrentUserProfile();\n const dispatch = useDispatch();\n const [dialogButtonsDisabled, setDialogButtonsDisabled] = useState(false);\n\n return (\n Are you sure you want to delete this filter?\n }\n IconElement={ExclamationTriangleIcon}\n iconColor={ModalIconColor.ERROR}\n size=\"sm\"\n >\n \n
    \n \n
    \n
    \n \n {\n setDialogButtonsDisabled(true);\n try {\n await filter.destroy();\n dispatch(fetchTeacherSavedFilterSelections(userProfile.id));\n setDialogButtonsDisabled(false);\n } catch (e) {\n setDialogButtonsDisabled(false);\n }\n onClose();\n }}\n >\n Delete\n \n \n Cancel\n \n \n \n );\n};\n\nDeleteSavedFilterDialog.displayName = 'DeleteSavedFilterDialog';\n","import { useContext, useEffect, useMemo, useState } from 'react';\nimport { camelCase, maxBy } from 'lodash';\nimport { DeleteSavedFilterDialog } from 'features/SearchJobsFilter/tabs/SavedFiltersTab/DeleteSavedFilterDialog';\nimport { SavedFilterChipGroup } from 'features/SearchJobsFilter/tabs/SavedFiltersTab/SavedFilterChipGroup';\nimport { LoadingSpinner } from 'components/LoadingSpinner';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { CloseButton } from 'components/CloseButton';\nimport type { SavedFilterSelectionsState } from 'redux/saved_filter_selections/reducers';\nimport {\n applySavedFilterChange,\n storeSavedFilterId,\n updateFilterWithSavedFilter,\n} from 'redux/job_search/actions';\nimport clsx from 'clsx';\nimport { SearchJobsFilterContext } from 'features/SearchJobsFilter/SearchJobsFilterContext';\nimport { filters } from 'redux/job_search/reducers';\nimport { JobPageContext } from 'components/jobs/JobPageContext';\nimport { TeacherSavedFilterSelectionResource } from 'util/resources/TeacherSavedFilterSelection';\n\nexport type LabelHashFilterData = {\n filterName: string;\n [key: string]: string;\n};\n\nexport type LabelHashType = {\n ageGroup?: LabelHashFilterData;\n educationPhilosophy?: LabelHashFilterData;\n educationRequirement?: LabelHashFilterData;\n employmentType?: LabelHashFilterData;\n minimumWage?: string;\n requiredAdditionalBenefits?: LabelHashFilterData;\n roleType?: LabelHashFilterData;\n};\n\nexport const SavedFiltersTab = () => {\n const { savedFilters } = useContext(SearchJobsFilterContext);\n const dispatch = useDispatch();\n const [appliedFilterId, setAppliedFilterId] = useState(null);\n\n const { isMap, resetPage } = useContext(JobPageContext);\n\n const { loading } = useSelector(\n (state: { savedFilterSelections: SavedFilterSelectionsState }) => state.savedFilterSelections,\n );\n\n const [deleteDialogOpen, setDeleteDialogOpen] = useState(false);\n const [deletableFilter, setDeletableFilter] = useState(new TeacherSavedFilterSelectionResource());\n\n const labelHash: LabelHashType = useMemo(\n () =>\n filters.reduce((acc, curr) => {\n if (curr.id === 'minimumWage') {\n acc[camelCase(curr.id)] = curr.id;\n return acc;\n }\n\n if (!curr.options) {\n return acc;\n }\n\n acc[camelCase(curr.id)] = curr.options.reduce(\n (a, c) => {\n a[c.value] = c.label;\n return a;\n },\n { filterName: curr.name },\n );\n return acc;\n }, {}),\n [],\n );\n\n useEffect(() => {\n const newestSavedFilterSelection = maxBy(savedFilters, (filter) =>\n Date.parse(filter.updatedAt),\n );\n\n if (newestSavedFilterSelection) {\n localStorage.setItem(\n 'viewed_saved_filters_tab',\n Date.parse(newestSavedFilterSelection.updatedAt).toString(),\n );\n }\n\n return () => {\n dispatch(storeSavedFilterId(null));\n };\n }, [dispatch, savedFilters]);\n\n if (loading) {\n return ;\n }\n\n const setFilter = (id: string) => {\n const filter = savedFilters.find((filter) => filter.id === id);\n dispatch(applySavedFilterChange(isMap, 1, filter));\n dispatch(updateFilterWithSavedFilter(filter));\n setAppliedFilterId(id);\n\n resetPage(null, null);\n };\n\n if (savedFilters.length === 0) {\n return (\n
    \n

    You have not saved any filters yet.

    \n
    \n );\n }\n\n return (\n
    \n setDeleteDialogOpen(false)}\n />\n\n
    \n {savedFilters.map((filter) => {\n return (\n setFilter(filter.id)}\n >\n \n {\n e.stopPropagation();\n setDeletableFilter(filter);\n setDeleteDialogOpen(true);\n }}\n >\n \n \n
    \n );\n })}\n
    \n \n );\n};\n","import clsx from 'clsx';\nimport { CircledCloseIcon } from 'icons/outline';\nimport { DotIcon } from 'icons/solid';\nimport { type MutableRefObject, useContext, useRef, useState } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { resetFilters } from 'redux/job_search/actions';\nimport { getAppliedFilters } from 'util/job/filters';\nimport classes from './SearchJobsFilter.module.css';\nimport type { SearchJobsFilterProps } from './SearchJobsFilter.types';\nimport { useFeatureFlag } from 'hooks/redux/useFeatureFlag';\nimport { SearchJobsFiltersTab } from 'features/SearchJobsFilter/tabs/SearchJobsFiltersTab';\nimport { SearchJobsFilterContext } from 'features/SearchJobsFilter/SearchJobsFilterContext';\nimport { TeacherSavedFilterSelection } from 'util/resources/TeacherSavedFilterSelection';\nimport type {\n SavedFilterSelectionData,\n TeacherSavedFilterSelectionResource,\n} from 'util/resources/TeacherSavedFilterSelection';\nimport { SavedFiltersTab } from 'features/SearchJobsFilter/tabs/SavedFiltersTab';\nimport { JobPageContext } from 'components/jobs/JobPageContext';\nimport type { SearchJobFilterType } from 'features/SearchJobsFilter/SearchJobFilterType';\n\nexport const SearchJobsFilter = (props: SearchJobsFilterProps) => {\n const dispatch = useDispatch();\n const { className, onApplyFilter, onSelectFilter, onClearFilters } = props;\n const { filters } = useSelector(\n (state: { jobSearches: { filters: SearchJobFilterType[] } }) => state.jobSearches,\n );\n const appliedFilters = getAppliedFilters(filters);\n\n const searchInputRef = useRef();\n\n const [activeTab, setActiveTab] = useState('filters');\n\n const hasSavedFilters = useFeatureFlag('saved_filter_selection_jobs');\n\n const savedTabActive = activeTab === 'saved';\n const filtersTabActive = activeTab === 'filters';\n\n const { savedFilterSelections: savedFilters, hasDiff } = useSelector(\n (state: {\n savedFilterSelections: {\n savedFilterSelections: TeacherSavedFilterSelectionResource[];\n hasDiff: boolean;\n };\n }) => state.savedFilterSelections,\n );\n\n const onChangeTab = (tab: string) => {\n setActiveTab(tab);\n };\n\n const onResetFilters = () => {\n dispatch(resetFilters());\n (searchInputRef as MutableRefObject).current.value = '';\n onClearFilters?.();\n };\n\n const { saveFilters, setSaveFilters, setShowSavedFiltersAlert } = useContext(JobPageContext);\n\n const createSavedFilters = async (filters: SavedFilterSelectionData) => {\n await TeacherSavedFilterSelection.create({ data: filters });\n setSaveFilters(false);\n setShowSavedFiltersAlert(true);\n };\n\n return (\n \n
    \n
    \n
    \n
    \n
    \n onChangeTab('filters')}\n >\n Filters\n \n {!!appliedFilters.length && (\n {appliedFilters.length}\n )}\n
    \n\n {hasSavedFilters && (\n onChangeTab('saved')}\n >\n \n Saved\n \n {hasDiff && }\n \n )}\n
    \n
    \n\n 0,\n })}\n onClick={onResetFilters}\n data-testid=\"job-search-clear\"\n >\n \n Clear\n \n
    \n\n {filtersTabActive && }\n {savedTabActive && hasSavedFilters && }\n
    \n \n );\n};\n\nSearchJobsFilter.displayName = 'SearchJobsFilter';\n","export { SearchJobsFilter } from './SearchJobsFilter';\nexport type { SearchJobsFilterProps } from './SearchJobsFilter.types';\n","import { formattedAddress } from 'util/formatting/address';\nimport { JobListingResource } from 'util/resources/JobListing';\n\nexport const getLocationText = (job: JobListingResource) => {\n const locations = job.locations().toArray();\n if (!locations.length) return '';\n\n const address = formattedAddress(locations[0]);\n const numLocations = job.locationIds.length;\n return `${address} ${numLocations > 1 ? `(+${numLocations - 1} more locations)` : ''}`;\n};\n","import { MouseEvent } from 'react';\nimport { SchoolGraphic } from 'graphics';\nimport { Box } from 'components/Box';\nimport { BriefcaseIcon, CalendarIcon, CoinIcon, DollarCircleIcon, LocationIcon } from 'icons/solid';\nimport { Button } from 'components/Button';\nimport { jobUrl } from 'util/urlFactory';\nimport { Tag } from 'components/Tag';\nimport { getLocationText } from './JobSummaryCard.utils';\nimport { Avatar } from 'components/Avatar';\n\nimport type { JobSummaryCardProps } from './JobSummaryCard.types';\n\nexport const JobSummaryCard = (props: JobSummaryCardProps) => {\n const { job } = props;\n const employer = job.employer();\n const employerName = employer?.name;\n const employerLogo = employer?.profileImage?.downloadUrl;\n const employmentType = job.employmentType.join(' / ');\n const { salaryRange, hiringBonus } = job.getCompensationText();\n const locationVal = getLocationText(job);\n const additionalBenefits = job.additionalBenefits?.slice(0, 5);\n const numMoreBenefits = additionalBenefits?.slice(5);\n const schedule = job.jobSchedule;\n\n const onClick = (e: MouseEvent) => {\n e.stopPropagation();\n window.open(jobUrl(job), '_blank');\n };\n\n return (\n \n
    \n \n \n \n\n
    \n
    {job.title}
    \n
    {employerName}
    \n
    \n
    \n
    \n
    \n {locationVal && (\n
    \n \n {locationVal}\n
    \n )}\n {salaryRange && (\n
    \n \n {salaryRange}\n
    \n )}\n
    \n \n {employmentType}\n
    \n {hiringBonus && (\n
    \n \n {hiringBonus}\n
    \n )}\n {!!schedule?.length && (\n
    \n \n Schedule: \n {schedule.join(', ')}\n
    \n )}\n
    \n\n {!!additionalBenefits?.length && (\n
    \n {additionalBenefits.slice(0, 5).map((benefit) => (\n {benefit}\n ))}\n {!!numMoreBenefits.length && +{numMoreBenefits.length}}\n
    \n )}\n
    \n \n \n );\n};\n\nJobSummaryCard.displayName = 'JobSummaryCard';\n","export { JobSummaryCard } from './JobSummaryCard';\nexport type { JobSummaryCardProps } from './JobSummaryCard.types';\n","import clsx from 'clsx';\nimport { forwardRef, ForwardedRef } from 'react';\nimport { ArrowLeftIcon, ArrowRightIcon } from 'icons/outline';\nimport type { JobSummariesNavigationProps } from './JobSummariesNavigation.types';\n\nexport const JobSummariesNavigation = forwardRef(\n (props: JobSummariesNavigationProps, ref: ForwardedRef) => {\n const { onClick, previous, className, disabled } = props;\n\n const ArrowIcon = previous ? ArrowLeftIcon : ArrowRightIcon;\n const label = previous ? 'Previous' : 'Next';\n return (\n \n \n {label}\n \n );\n },\n);\n\nJobSummariesNavigation.displayName = 'JobSummariesNavigation';\n","export { JobSummariesNavigation } from './JobSummariesNavigation';\nexport type { JobSummariesNavigationProps } from './JobSummariesNavigation.types';\n","import { useRef, useEffect } from 'react';\nimport { register, SwiperContainer } from 'swiper/element/bundle';\nimport { JobSummaryCard } from '../JobSummaryCard';\nimport { JobSummariesNavigation } from './JobSummariesNavigation';\n\nimport type { JobSummariesCarouselProps } from './JobSummariesCarousel.types';\n\nexport const JobSummariesCarousel = (props: JobSummariesCarouselProps) => {\n const { jobs } = props;\n const swiperRef = useRef(null);\n const paginationRef = useRef(null);\n const navigationPrevElRef = useRef(null);\n const navigationNextElRef = useRef(null);\n\n useEffect(() => {\n if (swiperRef.current) {\n register();\n\n // Swiper params\n const params = {\n loop: true,\n spaceBetween: 12,\n slidesPerView: 1,\n breakpoints: {\n 600: {\n slidesPerView: 2,\n },\n },\n pagination: {\n el: paginationRef.current,\n bulletClass:\n 'w-2.5 h-2.5 inline-block transition-colors mx-1 rounded-full bg-neutral true-hover:bg-neutral-dark cursor-pointer',\n bulletActiveClass: '!bg-primary-pure-blue !text-primary-blue !opacity-1',\n clickable: true,\n },\n navigation: {\n nextEl: navigationNextElRef.current,\n prevEl: navigationPrevElRef.current,\n },\n };\n\n // Assign it to swiper element\n Object.assign(swiperRef.current, params);\n\n // initialize swiper\n swiperRef.current?.initialize();\n }\n }, []);\n\n if (!jobs.length) return null;\n\n return (\n
    \n
    \n \n \n {jobs.map((job) => (\n \n \n \n ))}\n \n \n
    \n
    \n
    \n );\n};\n\nJobSummariesCarousel.displayName = 'JobSummariesCarousel';\n","export { JobSummariesCarousel } from './JobSummariesCarousel';\nexport type { JobSummariesCarouselProps } from './JobSummariesCarousel.types';\n","import { useState, useEffect } from 'react';\nimport isNil from 'lodash/isNil';\nimport { useSelector } from 'react-redux';\nimport { Dialog } from 'components/Dialog';\nimport { JobSummariesCarousel } from './JobSummariesCarousel';\nimport { useUser } from 'hooks/redux/useUser';\nimport { JobListingResource } from 'util/resources/JobListing';\nimport { useFeatureFlag } from 'hooks/redux/useFeatureFlag';\n\nexport const RecommendedSummarizedJobsModal = () => {\n const [open, setOpen] = useState(false);\n const { jobRecommendations } = useUser();\n\n const hasRecommendedJobSummariesFeature = useFeatureFlag('recommended_job_summaries_modal');\n const jobRecommendationsList: JobListingResource[] | null = jobRecommendations?.list?.slice(0, 6);\n const hasApplications = useSelector(\n (state: { currentUserProfile: { hasApplications: boolean } }) =>\n state.currentUserProfile.hasApplications,\n );\n\n useEffect(() => {\n if (jobRecommendationsList?.length && hasRecommendedJobSummariesFeature) {\n if (!isNil(hasApplications) && !hasApplications) {\n setTimeout(() => setOpen(true), 2000);\n }\n }\n }, [jobRecommendationsList?.length, hasRecommendedJobSummariesFeature, hasApplications]);\n\n return (\n setOpen(false)}\n heading={Welcome to EarlyDay!}\n size=\"lg\"\n panelWrapperProps={{ className: 'max-sm:px-4' }}\n panelProps={{\n className: '!gap-0 !p-5 sm:!px-11 !max-w-[685px] max-sm:self-center !rounded-xl',\n }}\n >\n
    \n
    \n

    \n EarlyDay is the only dedicated job site for preschool, daycare, and childcare jobs.\n

    \n

    \n The next step is to apply to roles that interest you.\n

    \n
    \n \n
    \n \n );\n};\n\nRecommendedSummarizedJobsModal.displayName = 'RecommendedSummarizedJobsModal';\n","export { RecommendedSummarizedJobsModal } from './RecommendedSummarizedJobsModal';\n","import { ElementType } from 'react';\n\ntype OptionsLabelProps = {\n IconComponent: ElementType;\n labelText: string;\n};\nexport const OptionsLabel = ({ IconComponent, labelText }: OptionsLabelProps) => {\n return (\n
    \n
    \n \n {labelText}\n
    \n
    \n );\n};\n\nOptionsLabel.displayName = 'OptionsLabel';\n","import { SelectButton } from 'components/SelectButton';\nimport { SortIcon } from 'icons/outline';\nimport { useContext } from 'react';\nimport { JobPageContext } from 'components/jobs/JobPageContext';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { fetchJobs, setSortJobs } from 'redux/job_search/actions';\nimport { OptionsLabel } from 'components/jobs/search/OptionsLabel';\nimport clsx from 'clsx';\n\ntype SortJobsButtonProps = {\n mobile?: boolean;\n className?: string;\n};\n\nexport const SortJobsButton = ({ mobile = false, className = '' }: SortJobsButtonProps) => {\n const { isMap, getPage, page } = useContext(JobPageContext);\n\n const sort = useSelector(\n (state: { jobSearches: { sortJob: string } }) => state.jobSearches.sortJob,\n );\n\n const dispatch = useDispatch();\n const setSort = (sort: string) => {\n dispatch(setSortJobs(sort));\n dispatch(fetchJobs(isMap, getPage(page)));\n };\n\n const sortJobsButtonProps = {\n defaultValue: {\n id: 'default',\n label: 'Default',\n value: '',\n },\n options: [\n {\n id: 'default',\n label: 'Default',\n value: '',\n },\n {\n id: 'closest',\n label: 'Closer to me',\n value: 'distance',\n },\n {\n id: 'newest',\n label: 'Newest Publication Date',\n value: '-published_at',\n },\n {\n id: 'most_benefits',\n label: 'Most Benefits',\n value: '-benefits',\n },\n {\n id: 'highest_compensation',\n label: 'Highest Compensation',\n value: '-compensation',\n },\n ],\n onChange: (option: { id: string; label: string; value: string }) => {\n setSort(option.value);\n },\n };\n\n return (\n
    \n {\n return option.value === sort;\n })}\n buttonLabel={\n
    \n \n Sort:\n
    \n }\n optionsLabel={}\n />\n
    \n );\n};\n\nSortJobsButton.displayName = 'SortJobsButton';\n","import { SelectButton } from 'components/SelectButton';\nimport { EyeIcon } from '@heroicons/react/24/outline';\nimport { useContext, useMemo } from 'react';\nimport { JobPageContext } from 'components/jobs/JobPageContext';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { fetchJobs, setShowJobsFilter } from 'redux/job_search/actions';\nimport { OptionsLabel } from 'components/jobs/search/OptionsLabel';\nimport clsx from 'clsx';\nimport { useFeatureFlag } from 'hooks/redux/useFeatureFlag';\n\ntype ShowJobsButtonProps = {\n mobile?: boolean;\n className?: string;\n};\n\nconst SHOW_JOBS_FILTERS = [\n {\n id: 'all',\n label: 'All Jobs',\n value: 'all',\n },\n {\n id: 'recommended',\n label: 'Recommended for me',\n value: 'recommended_for_user_profile',\n },\n {\n id: 'unviewed',\n label: 'Unviewed Jobs',\n value: 'not_viewed_by_user_profile',\n },\n {\n id: 'liked',\n label: 'Liked Jobs',\n value: 'liked_by_user_profile',\n },\n // TODO: Uncomment when responsive employer is actually implemented\n {\n id: 'responsive_employer',\n label: 'Responsive Employer',\n value: 'responsive_employer',\n },\n // {\n // id: 'hiring_hero',\n // label: 'Hiring Hero',\n // value: 'hiring_hero',\n // },\n {\n id: 'new_jobs',\n label: 'New Jobs',\n value: 'new_job_listing_for_user_profile',\n },\n {\n id: 'unapplied_jobs',\n label: 'Unapplied Jobs',\n value: 'not_applied_to_by_user_profile',\n },\n];\n\nexport const ShowJobsButton = ({ mobile = false, className }: ShowJobsButtonProps) => {\n const { isMap, page, getPage } = useContext(JobPageContext);\n const show = useSelector(\n (state: { jobSearches: { showJobFilter: string } }) => state.jobSearches.showJobFilter,\n );\n const dispatch = useDispatch();\n const setShow = (showJobsFilter: string) => {\n dispatch(setShowJobsFilter(showJobsFilter));\n dispatch(fetchJobs(isMap, getPage(page)));\n };\n\n const useJobViewedUnviewedFilter = useFeatureFlag('job_viewed_unviewed_filters');\n const hasLikeButton = useFeatureFlag('like_job_listing_button');\n\n const filters = useMemo(\n () =>\n SHOW_JOBS_FILTERS.filter((filter) => {\n if (filter.id === 'liked') {\n return hasLikeButton;\n }\n if (filter.id === 'unviewed') {\n return useJobViewedUnviewedFilter;\n }\n return true;\n }),\n [hasLikeButton, useJobViewedUnviewedFilter],\n );\n\n const showJobsButtonProps = {\n defaultValue: {\n id: 'all',\n label: 'All Jobs',\n value: 'all',\n },\n options: filters,\n onChange: (option: { id: string; label: string; value: string }) => {\n setShow(option.value);\n },\n };\n\n return (\n
    \n {\n return option.value === show;\n })}\n buttonLabel={\n
    \n \n Show:\n
    \n }\n optionsLabel={}\n />\n
    \n );\n};\n\nShowJobsButton.displayName = 'SortJobsButton';\n","import PostHog from 'components/analytics/PostHog';\nimport { IconButton } from 'components/IconButton';\nimport { useContext } from 'react';\nimport { JobPageContext } from 'components/jobs/JobPageContext';\nimport clsx from 'clsx';\n\nexport const ViewTabButton = () => {\n const { isMap, tabs, currentTab, resetPage, setCurrentTab, processing } =\n useContext(JobPageContext);\n return (\n
    \n {tabs.map((tab) => (\n \n {\n if (currentTab.name !== tab.name) {\n resetPage(true, tab);\n setCurrentTab(tab);\n }\n }}\n disabled={processing}\n >\n {tab.name} view\n \n \n ))}\n
    \n );\n};\n\nViewTabButton.displayName = 'ViewTabButton';\n","import clsx from 'clsx';\nimport { Button } from 'components/Button';\nimport { FilterIcon, MapPinIcon } from 'icons/outline';\nimport { SelectButton } from 'components/SelectButton';\nimport { updateFilter } from 'redux/job_search/actions';\nimport { IconButton } from 'components/IconButton';\nimport { useContext } from 'react';\nimport { JobPageContext } from 'components/jobs/JobPageContext';\nimport { useDispatch } from 'react-redux';\nimport { SortJobsButton } from 'components/jobs/search/SortJobsButton';\nimport { ShowJobsButton } from 'components/jobs/search/ShowJobsButton';\nimport { ViewTabButton } from 'components/jobs/search/ViewTabButton';\n\ntype TabAndFilterHeaderProps = {\n className?: string;\n};\n\nexport const TabAndFilterHeader = ({ className }: TabAndFilterHeaderProps) => {\n const {\n isMap,\n loggedIn,\n processing,\n onFilterOpen,\n appliedFilters,\n suggestedGeography,\n geographyOptions,\n selectedGeographyOption,\n } = useContext(JobPageContext);\n\n const dispatch = useDispatch();\n const disabled = processing;\n\n return (\n \n \n \n \n Filters\n {!!appliedFilters.length && (\n \n {appliedFilters.length}\n \n )}\n \n\n {loggedIn && (\n
    \n \n \n
    \n )}\n\n {loggedIn && isMap && (\n
    \n \n \n
    \n )}\n\n {suggestedGeography && (\n \n \n \n Location:\n \n }\n fullWidth={true}\n options={geographyOptions}\n value={selectedGeographyOption}\n onChange={(option) => {\n dispatch(updateFilter({ type: 'hidden', id: 'geography_id' }, option.id));\n }}\n disabled={disabled}\n />\n
    \n )}\n\n \n Filters\n \n \n\n
    \n \n
    \n \n );\n};\n","import { SearchIcon } from 'icons/complex';\nimport pluralize from 'util/formatting/pluralize';\nimport { useContext } from 'react';\nimport { JobPageContext } from 'components/jobs/JobPageContext';\n\ntype FoundJobsCountProps = {\n className?: string;\n};\nexport const FoundJobsCount = ({ className }: FoundJobsCountProps) => {\n const { isMap, mapJobs, jobs, page, totalPages } = useContext(JobPageContext);\n const jobsForCounter = isMap ? mapJobs : jobs;\n const numJobs = isMap || totalPages === 1 ? jobsForCounter.length : `${25 * (totalPages - 1)}+`;\n const label = isMap ? 'found in this zone' : 'found';\n\n if (isNaN(jobsForCounter?.length) || isNaN(25 + totalPages - 1)) {\n return null;\n }\n\n return (\n \n \n \n {numJobs} \n {pluralize(mapJobs.length, 'job', 'jobs')} {label}\n \n\n {!isMap && (\n \n (Showing {page} of {totalPages} pages)\n \n )}\n \n );\n};\n\nFoundJobsCount.displayName = 'FoundJobsCount';\n","import clsx from 'clsx';\nimport { JobPageContext } from 'components/jobs/JobPageContext';\nimport { useContext } from 'react';\nimport { TabAndFilterHeader } from 'components/jobs/search/TabAndFilterHeader';\nimport { FoundJobsCount } from 'components/jobs/search/FoundJobsCount';\n\nexport const JobsFoundLabel = () => {\n const { isMap, resetSearchFilters, appliedFilters } = useContext(JobPageContext);\n\n return (\n \n \n \n\n {!isMap && (\n \n )}\n \n {!!appliedFilters.length && isMap && (\n \n Clear Filters\n \n )}\n \n );\n};\n","import { SelectButton } from 'components/SelectButton';\nimport { MapPinIcon } from 'icons/outline';\nimport { fetchJobs, updateFilter } from 'redux/job_search/actions';\nimport { LoadingImage } from 'components/LoadingImage';\nimport { JobsSearchEmptyStateGraphic } from 'graphics';\nimport { Button } from 'components/Button';\nimport JobList from 'components/jobs/search/list';\nimport clsx from 'clsx';\nimport { useContext } from 'react';\nimport { JobPageContext } from 'components/jobs/JobPageContext';\nimport { useDispatch } from 'react-redux';\nimport { JobsFoundLabel } from 'components/jobs/search/JobsFoundLabel';\nimport { JobListingResource } from 'util/resources/JobListing';\n\nexport const ListContent = ({ showMapJobs }: { showMapJobs: () => null }) => {\n const dispatch = useDispatch();\n const {\n suggestedGeography,\n geographyOptions,\n selectedGeographyOption,\n isMap,\n getPage,\n page,\n processing,\n jobs,\n mapJobs,\n resetSearchFilters,\n setHoveredJob,\n jobId,\n postHogLoc,\n } = useContext(JobPageContext);\n\n const commonClass = 'flex items-center justify-center flex-1 mb-20 text-neutral-dark';\n const geoSelector = (\n <>\n {suggestedGeography && (\n
    \n \n \n Location:\n \n }\n options={geographyOptions}\n value={selectedGeographyOption}\n onChange={(option) => {\n dispatch(updateFilter({ type: 'hidden', id: 'geography_id' }, option.id));\n dispatch(fetchJobs(isMap, getPage(page)));\n }}\n />\n
    \n )}\n \n );\n\n if (processing) {\n return (\n
    \n \n
    \n );\n }\n\n if (isMap && jobs.length && !mapJobs.length) {\n return (\n
    \n
    \n

    There are currently no jobs located in this zone

    \n

    There are {jobs.length} jobs outside of this zone

    \n \n
    \n
    \n );\n }\n\n if (!jobs.length) {\n return (\n
    \n
    {geoSelector}
    \n\n

    \n No results found!\n

    \n \n

    \n You can try adjusting your search terms.\n

    \n \n
    \n );\n }\n\n return (\n
    \n \n {geoSelector}\n\n setHoveredJob(job.location?.id),\n onMouseLeave: !isMap ? undefined : () => setHoveredJob(null),\n postHogEventLocation: isMap ? 'Map View' : 'List View',\n defaultOpenJobId: jobId,\n }}\n />\n
    \n );\n};\n\nListContent.displayName = 'ListContent';\n","import { Dialog, Transition } from '@headlessui/react';\nimport clsx from 'clsx';\nimport { Banner } from 'components/Banner';\nimport { Button } from 'components/Button';\nimport { LoadingImage } from 'components/LoadingImage';\nimport { postHogCapture } from 'components/analytics/PostHog';\nimport Authenticated from 'components/auth/Authenticated';\nimport TeacherLayout from 'components/layouts/teacher';\nimport JobSearchMap from 'components/locations/jobMap';\nimport { AuthModal } from 'features/AuthModal';\nimport { SearchJobsFilter } from 'features/SearchJobsFilter';\nimport { BulletedListIcon, CloseIcon, MapIcon } from 'icons/outline';\nimport map from 'lodash/map';\nimport Head from 'next/head';\nimport { useRouter } from 'next/router';\nimport { Fragment, useEffect, useState } from 'react';\nimport { connect } from 'react-redux';\nimport { fetchJobRecommendations } from 'redux/current_user_profile/actions';\nimport { fetchGeographies } from 'redux/geographies/actions';\nimport {\n fetchJobs,\n filterFromUrl,\n markFiltersAsSearched,\n resetFilters,\n setShowJobsFilter,\n updateFilter,\n} from 'redux/job_search/actions';\nimport { tokensExist } from 'util/api/auth';\nimport { getAppliedFilters } from 'util/job/filters';\nimport { RecommendedSummarizedJobsModal } from '/features/RecommendedSummarizedJobsModal';\nimport { JobPageContext } from 'components/jobs/JobPageContext';\nimport { SortJobsButton } from 'components/jobs/search/SortJobsButton';\nimport { ShowJobsButton } from 'components/jobs/search/ShowJobsButton';\nimport { ListContent } from 'components/jobs/search/ListContent';\nimport { TabAndFilterHeader } from 'components/jobs/search/TabAndFilterHeader';\nimport { FoundJobsCount } from 'components/jobs/search/FoundJobsCount';\nimport { ViewTabButton } from 'components/jobs/search/ViewTabButton';\nimport { Paginate } from 'components/Paginate';\nimport { SavedFiltersAlert } from 'features/SearchEducatorsFilter/SavedFilters/SavedFiltersAlert';\n\nconst eventCapture = postHogCapture();\nconst tabs = [\n { name: 'Map', href: '#', current: true, icon: MapIcon },\n { name: 'List', href: '#', current: false, icon: BulletedListIcon },\n];\n\nconst getPage = (page) => {\n const pageNum = parseInt(page);\n if (pageNum < 1 || isNaN(pageNum)) {\n return 1;\n }\n\n return pageNum;\n};\n\nconst Jobs = (props) => {\n const router = useRouter();\n const [filterOpen, setFilterOpen] = useState(false);\n const [currentTab, setCurrentTab] = useState(null);\n const [currentPage, setCurrentPage] = useState(props.currentPage || 1);\n const [hasLoadedFiltersFromUrl, setHasLoadedFiltersFromUrl] = useState(false);\n\n //map related states\n const [mapJobs, setMapJobs] = useState([]);\n const [loadNavigate, setLoadNavigate] = useState(false);\n const [hoveredJob, setHoveredJob] = useState(null);\n\n const {\n jobSearch,\n account,\n totalPages,\n currentUser,\n dispatch,\n employer,\n geographies,\n suggestedGeography,\n } = props;\n const { jobs, loading, filters, initialized } = jobSearch;\n\n const numGeoFilters = filters.find((filter) => filter.isGeography).options?.length;\n\n const { jobId, ...urlJobFilters } = router.query;\n const { page, view } = urlJobFilters;\n\n const isMap = currentTab?.name === 'Map';\n const postHogLoc = isMap ? 'Map View' : 'List View';\n const processing = loading || loadNavigate || !initialized;\n\n const [authModalOpen, setAuthModalOpen] = useState(false);\n const [initiallyHasRecommendations, setInitiallyHasRecommendations] = useState(undefined);\n\n const [showMapJobs, setShowMapJobs] = useState(() => null);\n\n const geographiesOptionsApi = map(geographies, (geography) => {\n if (!geography.userProfileRegisterable || geography.userProfileOnboardingOnly) return null;\n return {\n id: geography.id,\n value: geography.id,\n label: geography.longName,\n };\n }).filter(Boolean);\n\n const geographyOptions = [\n {\n id: 'all',\n value: 'all',\n label: 'All',\n },\n ...geographiesOptionsApi,\n ];\n\n const selectedGeographyOption = geographyOptions.find(\n (option) => option.id === filters.find((filter) => filter.id === 'geography_id')?.value,\n );\n\n useEffect(() => {\n if (router.isReady && typeof initiallyHasRecommendations === 'undefined') {\n setInitiallyHasRecommendations(router.query?.recommendations === 'true');\n }\n }, [router.isReady]);\n\n useEffect(() => {\n if (\n router.isReady &&\n router.query?.recommendations === 'true' &&\n currentUser.loaded &&\n account.authenticated\n ) {\n dispatch(setShowJobsFilter('recommended_for_user_profile'));\n const { pathname, query } = router;\n delete query.recommendations;\n router.replace({ pathname, query }, undefined, { shallow: true });\n }\n }, [router.isReady, router.query?.recommendations, currentUser.loaded, account.authenticated]);\n\n useEffect(() => {\n if (hasLoadedFiltersFromUrl && selectedGeographyOption?.id === geographyOptions[0]?.id) {\n const suggestedGeographyOption =\n geographyOptions.find((option) => option.id === suggestedGeography?.id) ||\n geographyOptions[0];\n dispatch(updateFilter({ type: 'hidden', id: 'geography_id' }, suggestedGeographyOption.id));\n }\n }, [suggestedGeography]);\n\n useEffect(() => {\n if (account?.loaded && !account?.authenticated && initiallyHasRecommendations) {\n setAuthModalOpen(true);\n }\n }, [initiallyHasRecommendations, account?.loaded, account?.authenticated]);\n\n const handleCloseAuthModal = () => {\n setAuthModalOpen(false);\n };\n\n const handleCancelAuthModal = async () => {\n const { recommendations, ...queryWithoutRecommendations } = router.query;\n await router.replace({\n pathname: router.pathname,\n query: queryWithoutRecommendations,\n });\n };\n\n const handleSuccessAuthModal = async () => {\n if (initiallyHasRecommendations) {\n window.location = '/jobs?recommendations=true';\n } else {\n window.location.reload();\n }\n };\n\n const appliedFilters = getAppliedFilters(filters);\n\n useEffect(() => {\n account.loaded && dispatch(fetchGeographies());\n }, [account.loaded]);\n\n useEffect(() => {\n if (numGeoFilters && !hasLoadedFiltersFromUrl) {\n if (Object.entries(urlJobFilters)?.length) {\n dispatch(filterFromUrl(urlJobFilters));\n const { geography } = urlJobFilters;\n if (geography && selectedGeographyOption?.label !== geography) {\n const geoFromUrl = geographyOptions.find(\n (option) => option.label.toLowerCase() === geography.toLowerCase(),\n );\n if (!geoFromUrl) return;\n dispatch(updateFilter({ type: 'hidden', id: 'geography_id' }, geoFromUrl.id));\n }\n } else if (appliedFilters.length) {\n updateQueryFilters();\n }\n setCurrentPage(getPage(page));\n setCurrentTab(tabs.find((tab) => view === tab.name) || tabs.find((tab) => tab.current));\n setHasLoadedFiltersFromUrl(true);\n }\n }, [urlJobFilters, numGeoFilters]);\n\n useEffect(() => {\n if (!currentUser.jobRecommendations?.list && currentUser.loaded && account.authenticated) {\n dispatch(fetchJobRecommendations());\n } else if (!currentUser.jobRecommendations?.list?.length && router.isReady && !tokensExist()) {\n handleCancelAuthModal();\n }\n }, [\n currentUser.jobRecommendations?.list,\n currentUser.loaded,\n account.authenticated,\n router.isReady,\n ]);\n\n useEffect(() => {\n if (\n hasLoadedFiltersFromUrl &&\n !loading &&\n ((tokensExist() && (currentUser.loaded || employer.fetchCompleted)) || !tokensExist())\n ) {\n dispatch(fetchJobs(isMap, getPage(page)));\n }\n }, [\n JSON.stringify(urlJobFilters),\n hasLoadedFiltersFromUrl,\n currentUser.loaded,\n employer.fetchCompleted,\n selectedGeographyOption.value,\n ]);\n\n const resetPage = (pageNumberOnly, tab) => {\n const query = pageNumberOnly ? { ...router.query, page: 1 } : {};\n const pageView = tab?.name || view;\n\n pageView && (query.view = pageView);\n\n router.replace(\n {\n pathname: router.pathname,\n query,\n },\n undefined,\n { shallow: true },\n );\n\n setCurrentPage(1);\n };\n\n const updateQueryFilters = () => {\n //needed to get the latest udpated filters\n const updatedAppliedFilters = getAppliedFilters(filters);\n const query = {\n ...updatedAppliedFilters.reduce((acc, filter) => {\n if (acc[filter.section.id]) {\n return {\n ...acc,\n [filter.section.id]: `${acc[filter.section.id]},${filter.value}`,\n };\n }\n\n return { ...acc, [filter.section.id]: filter.value };\n }, {}),\n };\n\n if (page && !isMap) query.page = 1;\n if (view) query.view = view;\n\n router.replace(\n {\n pathname: router.pathname,\n query: {\n ...query,\n },\n },\n undefined,\n { shallow: true },\n );\n\n setCurrentPage(1);\n };\n\n const resetSearchFilters = () => {\n dispatch(resetFilters());\n resetPage();\n };\n\n const onFilterOpen = () => {\n eventCapture('Click on Filters [Jobs Page]');\n setFilterOpen(true);\n };\n\n const onApplyFilter = () => {\n updateQueryFilters();\n dispatch(markFiltersAsSearched());\n dispatch(fetchJobs(isMap, getPage(page)));\n };\n\n const renderFilter = () => (\n \n \n \n \n \n\n \n
    \n setFilterOpen(false)}\n />\n \n
    \n \n
    \n
    \n );\n\n const loggedIn = account.authenticated && currentUser.loaded;\n const [saveFilters, setSaveFilters] = useState(false);\n const [showSavedFiltersAlert, setShowSavedFiltersAlert] = useState(false);\n\n return (\n \n \n \n Jobs - EarlyDay.com\n \n \n \n \n {currentTab ? (\n
    \n {renderFilter()}\n {!isMap && (\n \n )}\n \n
    \n ) : (\n
    \n \n
    \n )}\n \n
    \n \n
    \n );\n};\n\nfunction mapStateToProps(state) {\n return {\n jobSearch: state.jobSearches,\n currentUser: state.currentUserProfile,\n currentPage: state.jobSearches.currentPage,\n totalPages: state.jobSearches.totalPages,\n nextPage: state.jobSearches.nextPage,\n geographies: state.geographies.geographies,\n suggestedGeography: state.geographies.suggestedGeography,\n loaded: state.geographies.loaded,\n account: state.account,\n employer: state.employer,\n };\n}\n\nexport default connect(mapStateToProps)(Jobs);\n","import { UserProfile, UserProfileMetadata } from 'util/resources';\nimport { createAsyncThunk } from '@reduxjs/toolkit';\nimport compact from 'lodash/compact';\nimport uniqBy from 'lodash/uniqBy';\nimport * as types from './types';\nimport isFunction from 'lodash/isFunction';\nimport { fetchEmployerSavedFilterSelections } from 'redux/saved_filter_selections/actions';\nimport cloneDeep from 'lodash/cloneDeep';\nimport omit from 'lodash/omit';\n\nconst PAGE_SIZE = 25;\n\nexport function changeFilter(section, option, currentPage = 1, order = '', geographyId) {\n return (dispatch) => {\n dispatch(changeFilterStart(section, option));\n };\n}\n\nexport function applyFilterChange(currentPage, order, geographyId) {\n return (dispatch) => {\n dispatch(markFiltersAsSearched());\n dispatch(fetchSearch({ currentPage, order, geographyId }));\n };\n}\n\nfunction markFiltersAsSearched() {\n return { type: types.MARK_FILTERS_AS_SEARCHED };\n}\n\nexport function storeSavedFilterId(id) {\n return { type: types.APPLY_SAVED_FILTER_ID, payload: id };\n}\n\nexport function applySavedFilterChange(currentPage, order, geographyId, savedFilter) {\n return (dispatch) => {\n dispatch(storeSavedFilterId(savedFilter.id));\n dispatch(fetchSearch({ currentPage, order, geographyId, savedFilter }));\n };\n}\n\nexport function resetFilters(currentPage = 1, geographyId, order = '') {\n return (dispatch) => {\n dispatch({ type: types.CANDIDATE_SEARCH_RESET_FILTER });\n dispatch(fetchSearch(currentPage, order, geographyId));\n };\n}\n\nfunction changeFilterStart(section, option) {\n return { type: types.CANDIDATE_SEARCH_CHANGE_FILTER, payload: { section, option } };\n}\n\nexport function candidateMessaged(id) {\n return { type: types.CANDIDATE_MESSAGED, payload: id };\n}\n\nexport function updateFilterWithSavedFilter(savedFilter) {\n return { type: types.CANDIDATE_APPLY_SAVED_FILTER, payload: savedFilter };\n}\n\nexport function loadCandidate(slug) {\n return async (dispatch) => {\n dispatch(loadCandidateStart());\n\n try {\n const candidate = await UserProfile.includes(\n 'account',\n 'education_histories',\n 'education_histories.education_level',\n 'work_histories',\n 'certifications',\n 'geography',\n 'profile_question_answers',\n 'certifications.certification_option',\n 'certifications.certification_option.certification_category',\n 'video_ask_answers',\n { profile_question_answers: ['profile_question'] },\n ).find(slug);\n dispatch(loadCandidateSuccess(candidate));\n } catch (e) {\n console.error(e);\n dispatch(loadCandidateFailure());\n }\n };\n}\n\nfunction loadCandidateSuccess(data) {\n return { type: types.CANDIDATE_LOAD_SUCCESS, payload: data };\n}\n\nfunction loadCandidateStart() {\n return { type: types.CANDIDATE_LOAD_START };\n}\n\nfunction loadCandidateFailure() {\n return { type: types.CANDIDATE_LOAD_FAILURE };\n}\n\nexport function paramsFilters(state, dispatch = null) {\n const geographyId = state.employer.employer?.geographyId;\n const filters = { geography_id: geographyId };\n\n const selectedFilters = state.candidates.filters.flatMap((filter) => {\n if (filter.type === 'complex') {\n if (isFunction(filter.getValue)) {\n filters[filter.id] = filter.getValue(filter.value);\n return;\n }\n filters[filter.id] = filter.value;\n return;\n }\n\n if (filter.type === 'text') {\n if (filter.value !== '') {\n filters[filter.id] = filter.value;\n }\n return;\n }\n\n const selectedOptions = filter.options.filter((option) => option.checked);\n const selected = selectedOptions.map((option) => option.value);\n if (selected.length > 0) {\n filters[filter.id] = selected;\n }\n });\n\n if (!geographyId) {\n const geoIdArr = selectedFilters.map((option) => option?.geographyId);\n const filteredGeoIdArr = uniqBy(compact(geoIdArr, 'geographyId'));\n\n if (filteredGeoIdArr.length) filters.geography_id = filteredGeoIdArr;\n }\n\n return addDropdownAndRecommendationFilter(filters, state, dispatch);\n}\n\nconst addDropdownAndRecommendationFilter = (filters, state, dispatch) => {\n const appliedDropdownFilter = state.candidates.dropdownFilters.find((filter) => filter.selected);\n\n const {\n recommendations: { jobId, locationId },\n showRecommendations,\n } = state.candidates;\n\n const recommendationFilterSelected = showRecommendations && jobId && locationId;\n\n if (recommendationFilterSelected) {\n filters['recommended'] = {\n job_listing_id: jobId,\n location_id: locationId,\n };\n }\n\n if (appliedDropdownFilter?.id === 'recommended') {\n if (recommendationFilterSelected) {\n filters['recommended'] = {\n ...filters['recommended'],\n only_recommended: true,\n };\n } else {\n dispatch && dispatch(updateShowRecommendations(true));\n }\n } else if (Boolean(appliedDropdownFilter?.value)) {\n filters[appliedDropdownFilter.value] = 'current_employer';\n }\n\n return filters;\n};\n\nconst initiateFetchSearch = () => {\n let searchPromise;\n\n return ({ currentPage = 1, order = '' }) =>\n (dispatch) => {\n const thunkSearch = createAsyncThunk(\n types.CANDIDATES_FETCH,\n async ({ currentPage = 1, order = '' }, { getState }) => {\n searchPromise && searchPromise.abort();\n\n const state = getState();\n const geographyId = state.employer.employer?.geographyId;\n\n const savedFilterId = state.candidates.appliedSavedFilterId;\n const savedFilters = state.savedFilterSelections.savedFilterSelections;\n const savedFilter = savedFilters.find((filter) => filter.id === savedFilterId);\n\n const filters = savedFilter\n ? addDropdownAndRecommendationFilter(cloneDeep(savedFilter.data), state, dispatch)\n : paramsFilters(state, dispatch);\n\n const candidateSearch = await UserProfile.includes(\n 'education_histories',\n 'education_histories.education_level',\n 'certifications',\n 'certifications.certification_option',\n 'video_ask_answers',\n { profile_question_answers: ['profile_question'] },\n )\n .where(filters)\n .limit(PAGE_SIZE)\n .offset(PAGE_SIZE * Math.max(0, currentPage - 1))\n .order({ [order]: 'desc' })\n .all();\n\n const candidates = candidateSearch.all();\n const pagination = candidateSearch.links();\n\n if (Boolean(savedFilter?.diff?.length)) {\n await savedFilter.update();\n dispatch(fetchEmployerSavedFilterSelections(state.employer.currentEmployerProfile.id));\n }\n\n if (geographyId) {\n const ids = candidates.map(({ id }) => id);\n const metadataSearch = await UserProfileMetadata.where({ user_profile_ids: ids }).all();\n const metadata = metadataSearch.all();\n\n candidates.forEach((candidate) => {\n const candidateMetadata = metadata.find((data) => data.id === candidate.id);\n candidate.metadata = candidateMetadata;\n });\n }\n\n return { pagination, candidates };\n },\n );\n\n searchPromise = dispatch(thunkSearch({ currentPage, order }));\n return searchPromise;\n };\n};\n\nexport const fetchSearchFromSavedFilters = () => {};\n\nexport const fetchSearch = initiateFetchSearch();\n\nfunction recommendationsParametersUpdated(data) {\n return { type: types.RECOMMENDATIONS_PARAMETERS_UPDATED, payload: data };\n}\n\nexport const updateRecommendations = ({ jobId, locationId }) => {\n return async (dispatch, getState) => {\n dispatch(recommendationsParametersUpdated({ jobId, locationId }));\n dispatch(fetchSearch({ currentPage: 1 }));\n };\n};\n\nexport const resetRecommendations = () => {\n return (dispatch) => {\n dispatch(recommendationsParametersUpdated({ jobId: null, locationId: null }));\n };\n};\n\nfunction metadataFulfilled(data) {\n return { type: types.METADA_FULFILLED, payload: data };\n}\n\nexport const fetchMetadata = (userProfileIds) => {\n return async (dispatch) => {\n try {\n const metadataSearch = await UserProfileMetadata.where({\n user_profile_ids: userProfileIds,\n }).all();\n const metadata = metadataSearch.all();\n\n dispatch(metadataFulfilled(metadata));\n } catch (e) {\n console.error(e);\n }\n };\n};\n\nexport const startUpdateDropdownFilter = (filter) => {\n return { type: types.UPDATE_DROPDOWN_FILTER, payload: filter };\n};\n\nexport const updateDropdownFilter = (filter, order) => {\n return (dispatch) => {\n dispatch(startUpdateDropdownFilter(filter));\n dispatch(fetchSearch({ currentPage: 1, order }));\n };\n};\n\nexport const activateRecommendedDropdownFilter = () => {\n return (dispatch) => {\n dispatch(startUpdateDropdownFilter({ id: 'recommended' }));\n };\n};\n\nexport const resetDropdownFilter = () => {\n return (dispatch) => {\n dispatch(startUpdateDropdownFilter({ id: 'all-educators' }));\n };\n};\n\nexport const updateShowRecommendations = (showRecommendations) => {\n return { type: types.UPDATE_SHOW_RECOMMENDATIONS, payload: showRecommendations };\n};\n","import { Geography, GeographyOption } from 'util/resources';\nimport { hiringHeroConfigsLoadSuccesss } from 'redux/hiring_hero_configs';\nimport * as types from './types';\n\nfunction startLoadGeographies() {\n return { type: types.GEOGRAPHIES_LOAD_START };\n}\n\nfunction startLoadCurrentGeography() {\n return { type: types.CURRENT_GEOGRAPHY_LOAD_START };\n}\n\nfunction successLoadCurrentGeography(payload) {\n return { type: types.CURRENT_GEOGRAPHY_LOAD_SUCCESS, payload };\n}\n\nfunction failureLoadCurrentGeography(payload) {\n return { type: types.CURRENT_GEOGRAPHY_LOAD_FAILURE, payload };\n}\n\nfunction successLoadGeographies(payload) {\n return { type: types.GEOGRAPHIES_LOAD_SUCCESS, payload };\n}\nfunction successLoadSuggestedGeography(payload) {\n return { type: types.GEOGRAPHY_SUGGESTED_LOAD_SUCCESS, payload };\n}\nfunction successLoadGeographyLocations(payload) {\n return { type: types.GEOGRAPHIES_LOCATIONS_LOAD_SUCCESS, payload };\n}\nfunction failureLoadGeographyLocations(payload) {\n return { type: types.GEOGRAPHIES_LOCATIONS_LOAD_FAILURE, payload };\n}\nfunction failureLoadGeographies(payload) {\n return { type: types.GEOGRAPHIES_LOAD_FAILURE, payload };\n}\n\nfunction startLoadGeographyOptions() {\n return { type: types.GEOGRAPHY_OPTIONS_LOAD_START };\n}\nfunction successLoadGeographyOptions(payload) {\n return { type: types.GEOGRAPHY_OPTIONS_LOAD_SUCCESS, payload };\n}\n\nfunction failureLoadGeographyOptions(payload) {\n return { type: types.GEOGRAPHY_OPTION_LOAD_FAILURE, payload };\n}\n\nexport function fetchGeographies() {\n return async (dispatch) => {\n dispatch(startLoadGeographies());\n\n try {\n const geographiesCollection = await Geography.includes('hiring_hero_configs').all();\n const geographies = geographiesCollection.all();\n dispatch(successLoadGeographies(geographies));\n const { closestGeography } = geographiesCollection.meta();\n\n if (closestGeography) {\n const geography = geographies.find((geography) => closestGeography.id === geography.id);\n const hiringHeroConfigs = geography.hiringHeroConfigs().toArray();\n dispatch(successLoadSuggestedGeography(closestGeography));\n dispatch(hiringHeroConfigsLoadSuccesss(hiringHeroConfigs));\n }\n } catch (e) {\n console.error(e);\n dispatch(failureLoadGeographies());\n }\n };\n}\n\nexport function fetchGeographyOptions(category) {\n return async (dispatch, getState) => {\n const { employer, currentUserProfile } = getState();\n dispatch(startLoadGeographyOptions());\n\n const geographyId = employer.employer.geographyId || currentUserProfile.geography.id;\n try {\n const options = await GeographyOption.where({\n category,\n geography_id: geographyId,\n })\n .includes('geography')\n .all();\n\n const userProfileRegisterableGeos = options\n .all()\n .filter((opt) => opt.geography()?.userProfileRegisterable);\n\n dispatch(successLoadGeographyOptions(userProfileRegisterableGeos));\n } catch (e) {\n console.error(e);\n dispatch(failureLoadGeographyOptions());\n }\n };\n}\n\nexport function fetchCurrentGeography() {\n return async (dispatch, getState) => {\n const { employer, currentUserProfile } = getState();\n dispatch(startLoadCurrentGeography());\n\n const geographyId = employer.employer.geographyId || currentUserProfile.geography.id;\n try {\n const geo = await Geography.includes('profile_questions').find(geographyId);\n\n dispatch(successLoadCurrentGeography(geo));\n } catch (e) {\n console.error(e);\n dispatch(failureLoadCurrentGeography());\n }\n };\n}\n\nexport function fetchGeographyOptionLocations(geography_id = '') {\n return async (dispatch) => {\n try {\n let options;\n if (geography_id) {\n options = await GeographyOption.where({\n category: 'location',\n geography_id: geography_id,\n }).all();\n } else {\n options = await GeographyOption.includes('geography')\n .where({\n category: 'location',\n })\n .all();\n }\n\n dispatch(successLoadGeographyLocations(options.all()));\n } catch (e) {\n console.error(e);\n dispatch(failureLoadGeographyLocations());\n }\n };\n}\n","export enum AnalyticsEvents {\n ATS_CLICK_INVITE_TO_INTERVIEW = 'ATS_CLICK_INVITE_TO_INTERVIEW',\n ATS_CLICK_SEND_MESSAGE = 'ATS_CLICK_SEND_MESSAGE',\n ATS_CLICK_DOWNLOAD_RESUME = 'ATS_CLICK_DOWNLOAD_RESUME',\n ATS_CLICK_CONTACT_INFO = 'ATS_CLICK_CONTACT_INFO',\n ATS_CLICK_NOTES = 'ATS_CLICK_NOTES',\n ATS_CLICK_APPLICANT = 'ATS_CLICK_APPLICANT',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_FEEDBACK = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_FEEDBACK',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_FEEDBACK_ADD_MORE = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_FEEDBACK_ADD_MORE',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_FEEDBACK_HIRE_DENIED = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_FEEDBACK_HIRE_DENIED',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_ADDITIONAL_FOR_ROLES = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_ADDITIONAL_FOR_ROLES',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_FOR_ROLES = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_FOR_ROLES',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_SOMEONE_LATELY = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_SOMEONE_LATELY',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_WHO = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_WHO',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_WHO_ELSE = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_WHO_ELSE',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_REASON_NOT_EARLYDAY = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_REASON_NOT_EARLYDAY',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_TEACHER_HIRED_SOMEONE = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_TEACHER_HIRED_SOMEONE',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_TEACHER_HIRE_CONFIRMATION = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_TEACHER_HIRE_CONFIRMATION',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_WHICH_PLATFORM = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_WHICH_PLATFORM',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_WHICH_THIRD_PARTY_PLATFORMS = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_WHICH_THIRD_PARTY_PLATFORMS',\n EMPLOYER_HIRING_UPDATE_FLOW_START = 'EMPLOYER_HIRING_UPDATE_FLOW_START',\n EMPLOYER_JOB_LISTING_STATUS_CHANGED = 'EMPLOYER_JOB_LISTING_STATUS_CHANGED',\n JOB_SEARCH_STATUS_FLOW_ABORT = 'JOB_SEARCH_STATUS_FLOW_ABORT',\n JOB_SEARCH_STATUS_FLOW_COMPLETE_APPLICATION_WITHDRAW_STEP = 'JOB_SEARCH_STATUS_FLOW_COMPLETE_APPLICATION_WITHDRAW_STEP',\n JOB_SEARCH_STATUS_FLOW_COMPLETE_EMPLOYER_STEP = 'JOB_SEARCH_STATUS_FLOW_COMPLETE_EMPLOYER_STEP',\n JOB_SEARCH_STATUS_FLOW_COMPLETE_FEEDBACK_STEP = 'JOB_SEARCH_STATUS_FLOW_COMPLETE_FEEDBACK_STEP',\n JOB_SEARCH_STATUS_FLOW_COMPLETE_FIND_JOB_STEP = 'JOB_SEARCH_STATUS_FLOW_COMPLETE_FIND_JOB_STEP',\n JOB_SEARCH_STATUS_FLOW_COMPLETE_PLATFORM_STEP = 'JOB_SEARCH_STATUS_FLOW_COMPLETE_PLATFORM_STEP',\n JOB_SEARCH_STATUS_FLOW_COMPLETE_STATUS_STEP = 'JOB_SEARCH_STATUS_FLOW_COMPLETE_STATUS_STEP',\n JOB_SEARCH_STATUS_FLOW_START = 'JOB_SEARCH_STATUS_FLOW_START',\n JOB_CARD_LIKE_BUTTON_CLICKED = 'JOB_CARD_LIKE_BUTTON_CLICKED',\n USER_PROFILE_CARD_LIKE_BUTTON_CLICKED = 'USER_PROFILE_CARD_LIKE_BUTTON_CLICKED',\n OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT = 'OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT',\n OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_APPLIED = 'OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_APPLIED',\n OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_DISMISSED = 'OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_DISMISSED',\n OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_GENERATE_NEW_VERSION = 'OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_GENERATE_NEW_VERSION',\n OPEN_AI_CLICK_DISMISS_CHAT_SUGGESTIONS = 'OPEN_AI_CLICK_DISMISS_CHAT_SUGGESTIONS',\n OPEN_AI_CLICK_INTERVIEW_MESSAGE_BUTTON = 'OPEN_AI_CLICK_INTERVIEW_MESSAGE_BUTTON',\n OPEN_AI_CLICK_INTERVIEW_MESSAGE_DISMISS_BUTTON = 'OPEN_AI_CLICK_INTERVIEW_MESSAGE_DISMISS_BUTTON',\n OPEN_AI_CLICK_JOB_DESCRIPTION_DIFFERENT_VERSION = 'OPEN_AI_CLICK_JOB_DESCRIPTION_DIFFERENT_VERSION',\n OPEN_AI_CLICK_JOB_DESCRIPTION_DISMISS_BUTTON = 'OPEN_AI_CLICK_JOB_DESCRIPTION_DISMISS_BUTTON',\n OPEN_AI_CLICK_JOB_DESCRIPTION_IMPROVEMENT = 'OPEN_AI_CLICK_JOB_DESCRIPTION_IMPROVEMENT',\n OPEN_AI_CLICK_JOB_DESCRIPTION_USE_THIS_VERSION = 'OPEN_AI_CLICK_JOB_DESCRIPTION_USE_THIS_VERSION',\n PROFILE_PAGE_CLICK_EDIT_PROFILE = 'PROFILE_PAGE_CLICK_EDIT_PROFILE',\n PROFILE_PAGE_CLICK_PREVIEW_PROFILE = 'PROFILE_PAGE_CLICK_PREVIEW_PROFILE',\n CLICK_TEACHER_CARD = 'CLICK_TEACHER_CARD',\n CLICK_ON_APPLY_VIDEO_ASK_LINK = 'CLICK_ON_APPLY_VIDEO_ASK',\n EDUCATOR_CLICK_ON_SAVE_FILTERS_BUTTON = 'EDUCATOR_CLICK_ON_SAVE_FILTERS_BUTTON',\n EMPLOYER_CLICK_ON_SAVE_FILTERS_BUTTON = 'EMPLOYER_CLICK_ON_SAVE_FILTERS_BUTTON',\n}\n\nexport const AnalyticsEventNames: Record = {\n [AnalyticsEvents.ATS_CLICK_INVITE_TO_INTERVIEW]: 'Click interview on applicants table',\n [AnalyticsEvents.ATS_CLICK_SEND_MESSAGE]: 'Click message on applicants table',\n [AnalyticsEvents.ATS_CLICK_CONTACT_INFO]: 'Click Contact Info [ATS]',\n [AnalyticsEvents.ATS_CLICK_NOTES]: 'Click Notes [ATS]',\n [AnalyticsEvents.ATS_CLICK_DOWNLOAD_RESUME]: 'Click Download Resume [ATS]',\n [AnalyticsEvents.ATS_CLICK_APPLICANT]: 'Click on View Applicant [ATS]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_FEEDBACK]:\n 'Complete feedback step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_FEEDBACK_ADD_MORE]:\n 'Complete feedback add more step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_FEEDBACK_HIRE_DENIED]:\n 'Complete feedback hire denied step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_ADDITIONAL_FOR_ROLES]:\n 'Complete hired additional for roles step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_FOR_ROLES]:\n 'Complete hired for roles step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_SOMEONE_LATELY]:\n 'Complete hired someone lately step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_WHO]:\n 'Complete hired who step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_WHO_ELSE]:\n 'Complete hired who else step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_REASON_NOT_EARLYDAY]:\n 'Complete reason not EarlyDay step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_TEACHER_HIRED_SOMEONE]:\n 'Complete teacher hired someone step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_TEACHER_HIRE_CONFIRMATION]:\n 'Complete teacher hire confirmation step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_WHICH_PLATFORM]:\n 'Complete which platform step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_WHICH_THIRD_PARTY_PLATFORMS]:\n 'Complete which third party platforms step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_START]: 'Started flow [Hiring Update Flow]',\n [AnalyticsEvents.JOB_CARD_LIKE_BUTTON_CLICKED]: 'Job Card Like Button Clicked',\n [AnalyticsEvents.USER_PROFILE_CARD_LIKE_BUTTON_CLICKED]: 'User Profile Card Like Button Clicked',\n [AnalyticsEvents.EMPLOYER_JOB_LISTING_STATUS_CHANGED]: 'Changed Job Status',\n [AnalyticsEvents.JOB_SEARCH_STATUS_FLOW_ABORT]: 'Aborted flow [Job Search Status Update Flow]',\n [AnalyticsEvents.JOB_SEARCH_STATUS_FLOW_COMPLETE_APPLICATION_WITHDRAW_STEP]:\n 'Complete application withdraw step [Job Search Status Update Flow]',\n [AnalyticsEvents.JOB_SEARCH_STATUS_FLOW_COMPLETE_EMPLOYER_STEP]:\n 'Complete employer step [Job Search Status Update Flow]',\n [AnalyticsEvents.JOB_SEARCH_STATUS_FLOW_COMPLETE_FEEDBACK_STEP]:\n 'Complete feedback step [Job Search Status Update Flow]',\n [AnalyticsEvents.JOB_SEARCH_STATUS_FLOW_COMPLETE_FIND_JOB_STEP]:\n 'Complete find job step [Job Search Status Update Flow]',\n [AnalyticsEvents.JOB_SEARCH_STATUS_FLOW_COMPLETE_PLATFORM_STEP]:\n 'Complete platform step [Job Search Status Update Flow]',\n [AnalyticsEvents.JOB_SEARCH_STATUS_FLOW_COMPLETE_STATUS_STEP]:\n 'Complete status selection step [Job Search Status Update Flow]',\n [AnalyticsEvents.JOB_SEARCH_STATUS_FLOW_START]: 'Started flow [Job Search Status Update Flow]',\n [AnalyticsEvents.OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT]: 'About Me Improvement Clicked [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_APPLIED]:\n 'About Me Improvement Use this version Clicked [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_DISMISSED]:\n 'About Me Improvement Dismiss this version Clicked [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_GENERATE_NEW_VERSION]:\n 'About Me Improvement Generate New Version Clicked [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_DISMISS_CHAT_SUGGESTIONS]: 'Dismiss chat suggestions [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_INTERVIEW_MESSAGE_BUTTON]:\n 'Click on interview message button [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_INTERVIEW_MESSAGE_DISMISS_BUTTON]:\n 'Dismiss interview message [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_JOB_DESCRIPTION_DIFFERENT_VERSION]:\n 'Job Description Improvement Generate a different version Clicked [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_JOB_DESCRIPTION_DISMISS_BUTTON]:\n 'Job Description Improvement Dismiss and use my original version Clicked [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_JOB_DESCRIPTION_IMPROVEMENT]:\n 'Job Description Improvement Clicked [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_JOB_DESCRIPTION_USE_THIS_VERSION]:\n 'Job Description Improvement Use this version Clicked [OpenAI]',\n [AnalyticsEvents.PROFILE_PAGE_CLICK_EDIT_PROFILE]: 'Click Edit My Profile [Profile Page]',\n [AnalyticsEvents.PROFILE_PAGE_CLICK_PREVIEW_PROFILE]: 'Click Preview My Profile [Profile Page]',\n [AnalyticsEvents.CLICK_TEACHER_CARD]: 'Click on a teacher card',\n [AnalyticsEvents.CLICK_ON_APPLY_VIDEO_ASK_LINK]: 'Click on video ask link on first application',\n [AnalyticsEvents.EDUCATOR_CLICK_ON_SAVE_FILTERS_BUTTON]:\n 'Click on the Save filters for future serches button (Educator)',\n [AnalyticsEvents.EMPLOYER_CLICK_ON_SAVE_FILTERS_BUTTON]:\n 'Click on the Save filters for future searches button (Employer)',\n};\n","export const keysToCase = (object: Record, caseFn: (key: string) => string) => {\n return Object.entries(object).reduce((acc, [k, v]) => {\n acc[caseFn(k)] = v;\n return acc;\n }, {});\n};\n","import { EmployerSavedFilterSelectionResource } from 'util/resources/EmployerSavedFilterSelection';\nimport { RootStateOrAny } from 'react-redux';\nimport { keysToCase } from 'util/helpers/keys-to-case';\nimport omit from 'lodash/omit';\nimport { snakeCase } from 'snake-case';\nimport { camelCase, omitBy } from 'lodash';\nimport { paramsFilters } from 'redux/candidates/actions';\nimport isNil from 'lodash/isNil';\nimport isEqual from 'lodash/isEqual';\nimport type { TeacherSavedFilterSelectionResource } from 'util/resources/TeacherSavedFilterSelection';\nimport { processFilters } from 'redux/job_search/actions';\n\nexport const savedFilterCurrentlySelected = (\n savedFilters: EmployerSavedFilterSelectionResource[],\n state: RootStateOrAny,\n) => {\n const savedFiltersForComparison = savedFilters.map((filter) => {\n if (filter.data.recommended) {\n return {\n ...filter.data,\n recommended: keysToCase(\n omit(filter.data.recommended, ['locationName', 'jobListingTitle']),\n snakeCase,\n ),\n };\n }\n return filter.data;\n });\n\n const currentFiltersForComparison = keysToCase(omitBy(paramsFilters(state), isNil), camelCase);\n\n const foundFilter = savedFiltersForComparison.find((savedFilterData) =>\n isEqual(savedFilterData, currentFiltersForComparison),\n );\n\n return !isNil(foundFilter);\n};\n\nexport const teacherSavedFilterCurrentlySelected = (\n savedFilters: TeacherSavedFilterSelectionResource[],\n state: RootStateOrAny,\n isMap: boolean,\n) => {\n const savedFiltersForComparison = savedFilters.map((filter) => {\n return keysToCase(omit(filter.data, 'noPagination'), camelCase);\n });\n\n const currentFiltersForComparison = keysToCase(\n omitBy(processFilters(state, isMap).filters, (value, key) => {\n return isNil(value) || key === 'noPagination';\n }),\n camelCase,\n );\n\n const foundFilter = savedFiltersForComparison.find((savedFilterData) => {\n return isEqual(savedFilterData, currentFiltersForComparison);\n });\n\n return !isNil(foundFilter);\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"Box_container__dncNm\",\"prose\":\"Box_prose__XfUPo\",\"prose-sm\":\"Box_prose-sm__wXJ0Y\",\"prose-view\":\"Box_prose-view__yTSQ_\",\"root\":\"Box_root__Bju99\",\"hoverable\":\"Box_hoverable__tddu8\",\"hover\":\"Box_hover__UrS6h\",\"sm:prose\":\"Box_sm__prose__lxf1V\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"FilterChip_root__QQ1bS\",\"text\":\"FilterChip_text__9gYl_\",\"icon\":\"FilterChip_icon__JXkj_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"RangeSlider_root__2w7cm\",\"sliderWithLimits\":\"RangeSlider_sliderWithLimits__Y0xYp\",\"sliderWrapper\":\"RangeSlider_sliderWrapper__7k4vx\",\"limits\":\"RangeSlider_limits__G82Eo\",\"limit\":\"RangeSlider_limit__kM4fS\",\"slider\":\"RangeSlider_slider__pCbw3\",\"sliderTrack\":\"RangeSlider_sliderTrack__2sKjb\",\"sliderFilled\":\"RangeSlider_sliderFilled__S7nLl\",\"enabled\":\"RangeSlider_enabled__W2_Sp\",\"emptyState\":\"RangeSlider_emptyState__lDTVt\",\"disabled\":\"RangeSlider_disabled__SRlER\",\"textFieldWrapper\":\"RangeSlider_textFieldWrapper__eU2jP\",\"prefix\":\"RangeSlider_prefix__Mjjjw\",\"textField\":\"RangeSlider_textField__XOgu3\",\"withPrefix\":\"RangeSlider_withPrefix__tTom5\",\"clearButton\":\"RangeSlider_clearButton__9EUZq\",\"clearIcon\":\"RangeSlider_clearIcon__pMT_9\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"SearchTextInput_root__1oNeM\",\"medium\":\"SearchTextInput_medium__7wV_N\",\"large\":\"SearchTextInput_large__S6_Oa\",\"disabled\":\"SearchTextInput_disabled__tjtuI\",\"icon\":\"SearchTextInput_icon__ju3z2\",\"input\":\"SearchTextInput_input__TtS9p\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"SearchJobsFilter_root__VX2Ya\",\"header\":\"SearchJobsFilter_header__2jJtR\",\"headingWrapper\":\"SearchJobsFilter_headingWrapper__uhVbi\",\"filterCounter\":\"SearchJobsFilter_filterCounter__ZNpU4\",\"heading\":\"SearchJobsFilter_heading___HvvK\",\"filterChips\":\"SearchJobsFilter_filterChips__ef5se\",\"searchWrapper\":\"SearchJobsFilter_searchWrapper__jLhSG\",\"sliderWrapper\":\"SearchJobsFilter_sliderWrapper__ov8tS\",\"sliderLabel\":\"SearchJobsFilter_sliderLabel___hPMZ\",\"disclosureButton\":\"SearchJobsFilter_disclosureButton__saxKi\",\"disclosurePanel\":\"SearchJobsFilter_disclosurePanel__Nzjl_\",\"disclosureLabelWrapper\":\"SearchJobsFilter_disclosureLabelWrapper__BPMXB\",\"disclosureLabel\":\"SearchJobsFilter_disclosureLabel__LA7WN\",\"disclosureFilters\":\"SearchJobsFilter_disclosureFilters__H0mIP\",\"disclosureIconWrapper\":\"SearchJobsFilter_disclosureIconWrapper__oJNfy\",\"disclosureIcon\":\"SearchJobsFilter_disclosureIcon__zyZUc\",\"checkboxWrapper\":\"SearchJobsFilter_checkboxWrapper__0AoJ2\",\"checkbox\":\"SearchJobsFilter_checkbox__5I9rk\",\"checkboxLabel\":\"SearchJobsFilter_checkboxLabel__xmBaR\",\"actionsWrapper\":\"SearchJobsFilter_actionsWrapper__7rPi_\",\"clear\":\"SearchJobsFilter_clear__K5Rdi\",\"disabled\":\"SearchJobsFilter_disabled__dohNz\",\"mobileOnly\":\"SearchJobsFilter_mobileOnly__48jGS\",\"clearIcon\":\"SearchJobsFilter_clearIcon__T8frn\",\"filters\":\"SearchJobsFilter_filters__7IvRy\"};"],"names":["window","__NEXT_P","push","__webpack_require__","AlertVariantToIconMap","Map","ClapIcon","AlertIcon","AlertHighlightedVariantToIconMap","CheckCircleIcon","InformationIcon","Alert","open","debug","highlighted","variant","children","className","props","FeedbackIcon","get","jsx_runtime","jsx","Transition","as","Fragment","show","enter","enterFrom","enterTo","leave","leaveFrom","leaveTo","div","clsx","jsxs","span","displayName","Box","hoverable","rootProps","classes","hover","FilterChip","onRemove","button","type","onClick","CloseIcon","aria-hidden","HelperText","disabled","error","Paginate","currentPage","pageSize","onPageChange","total","router","useRouter","ReactPagination","locale","prev_page","next_page","prev_5","next_5","prev_3","next_3","jump_to","jump_to_confirm","items_per_page","page_size","current","onChange","pathname","query","page","selected","itemRender","ArrowLeftIcon","ArrowRightIcon","RangeSlider","min","max","defaultValue","value","providedValue","step","prefix","suffix","noInput","setValue","useState","toString","useEffect","input","Boolean","safeValue","Math","parseInt","event","currentTarget","XMarkIcon","style","width","isNil","concat","parsedValue","p","SearchTextInput","forwardRef","ref","fullWidth","size","SearchIcon","SelectButtonOption","option","searchable","label","description","Option","Combobox","Listbox","active","param","CheckIcon","role","SelectButton","buttonWrapperRef","buttonLabel","optionsLabel","options","buttonProps","providedButtonProps","iconButton","searchDisplayValue","selectedLabel","withCaret","showLabel","placeholder","allowCustomValue","buttonPadding","maxOptionsCount","listboxProps","useRef","rightAlign","getBoundingClientRect","left","document","body","offsetWidth","WrapperBox","Options","setQuery","handleChange","target","isString","optionsWithCustomValue","useMemo","id","filteredOptions","take","filter","toLowerCase","includes","length","wrapperValue","find","item","isNull","isUndefined","undefined","selectedOption","title","Input","TextField","displayValue","appendix","ArrowDownIcon","Button","IconButton","static","absolute","li","map","Array","isArray","Icon","helperText","appendixRef","rightPadding","setRightPadding","clientWidth","htmlFor","paddingRight","SavedFiltersAlert","setShowSavedFiltersAlert","timeout","setTimeout","clearTimeout","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","SavedFiltersChip","useFeatureFlag","flags","useSelector","state","flipper","features","flag","enabled","useCurrentUserProfile","initiallyFetch","userProfile","setUserProfile","loading","setLoading","setError","fetchCurrentUserProfile","Account","then","response","catch","refreshUserProfile","postHogCapture","posthogCapture","useTrackedEvents","callbacks","trackEvent","ahoyTrackEvent","useAhoy","captureEvent","useCallback","name","payload","keys","reduce","Object","entries","acc","callbackName","handler","args","isFunction","eventKey","AnalyticsEventNames","svg","height","viewBox","fill","xmlns","path","d","HiringHeroIcon","fillRule","clipRule","defs","radialGradient","cx","cy","r","gradientUnits","gradientTransform","stop","offset","stopColor","MapPinIcon","viewed","NoNotesIcon","g","stroke","strokeWidth","linearGradient","x1","y1","x2","y2","StarIcon","filled","usPolygon","lat","lng","renderMarkers","jobs","selectedLocation","hoveredJob","jobRecommendations","uniqBy","location","rest","isRecommended","intersectionBy","list","job","PostHog","eventName","properties","Address","address","hasRecommendation","AnyReactComponent","isHovered","recommended","isActive","MapMarker","getMapBounds","maps","places","bounds","LatLngBounds","forEach","extend","LatLng","parseFloat","place","jobMap","selectedJobs","mapJobs","setMapJobs","setLoadNavigate","processing","setShowMapJobs","mapInterface","usPolygonRef","setSelectedJobs","setSelectedLocation","locationOpen","setLocationOpen","firstLoad","setFirstLoad","usBoundJobs","setUsBoundJobs","geography","useUser","assignMapJobs","noop","getBounds","newArr","x","y","contains","isEqual","usJobs","flatMap","arrLoc","locations","all","latLng","geometry","poly","containsLocation","clonedJob","cloneDeep","loc","coords","isEmpty","setCenter","setZoom","zoomLevel","latitude","longitude","fitBounds","getZoom","mapOptions","DEFAULT_MAP_OPTIONS","fullscreenControl","gestureHandling","GoogleMap","apiKey","process","libraries","defaultCenter","defaultZoom","onGoogleApiLoaded","Polygon","paths","locationIds","LocationDialog","data-testid","contained","onClose","formattedAddress","img","employer","profileImage","downloadUrl","data","getCompensationText","href","slug","hours","employmentType","join","getLabel","salary","salaryRange","bonus","compact","hiringBonus","filters","appliedFilters","onSelectFilter","onClearFilters","onApplyFilter","onResetFilters","searchInputRef","saveFilters","createSavedFilters","_args","Promise","savedFilters","SearchJobsFilterContext","createContext","FilterChips","onRemoveFilter","chips","section","index","defaultValues","account","loggedIn","suggestedGeography","geographyOptions","selectedGeographyOption","currentUser","loaded","isMap","getPage","Number","totalPages","resetSearchFilters","setHoveredJob","onFilterOpen","jobId","postHogLoc","tabs","currentTab","icon","BulletedListIcon","resetPage","setCurrentTab","setShow","sort","setSort","setSaveFilters","JobPageContext","AppliedFiltersSection","handleRemoveFilter","hasSavedFilters","useContext","teacherSavedFilterCurrentlySelected","SaveFiltersButton","dispatch","useDispatch","filtersSearched","jobSearches","currentUserProfile","loadingSavedFilters","savedFilterSelections","handleCreateSavedFilter","processFilters","fetchTeacherSavedFilterSelections","filtersAlreadySaved","TrackedCallback","AnalyticsEvents","EDUCATOR_CLICK_ON_SAVE_FILTERS_BUTTON","Component","SearchJobsFiltersTab","onFilterSelect","updateFilter","debOnFilterSelect","debounce","renderSection","i","checked","isGeography","key","removeExtraSpaces","e","onBlur","cleanUpInputValue","newValue","activeFilters","Disclosure","defaultOpen","ChevronUpIcon","ChevronDownIcon","Panel","SavedFilterTitle","text","roleType","diff","SavedFilterChipGroup","labelHash","filterData","omitBy","labelHashKey","filterName","DeleteSavedFilterDialog","dialogButtonsDisabled","setDialogButtonsDisabled","Dialog","heading","IconElement","ExclamationTriangleIcon","iconColor","ModalIconColor","ERROR","ModalBody","ModalActions","tabIndex","color","destroy","SavedFiltersTab","appliedFilterId","setAppliedFilterId","deleteDialogOpen","setDeleteDialogOpen","deletableFilter","setDeletableFilter","TeacherSavedFilterSelectionResource","curr","camelCase","a","c","newestSavedFilterSelection","maxBy","Date","parse","updatedAt","localStorage","setItem","storeSavedFilterId","LoadingSpinner","setFilter","applySavedFilterChange","updateFilterWithSavedFilter","h1","stopPropagation","CloseButton","SearchJobsFilter","getAppliedFilters","activeTab","setActiveTab","savedTabActive","filtersTabActive","hasDiff","onChangeTab","tab","resetFilters","TeacherSavedFilterSelection","create","Provider","header","DotIcon","CircledCloseIcon","getLocationText","toArray","numLocations","JobSummaryCard","employerName","employerLogo","locationVal","additionalBenefits","slice","numMoreBenefits","schedule","jobSchedule","jobUrl","Avatar","imageProps","src","backgroundClass","SchoolGraphic","LocationIcon","DollarCircleIcon","BriefcaseIcon","CoinIcon","CalendarIcon","Tag","benefit","JobSummariesNavigation","previous","ArrowIcon","JobSummariesCarousel","swiperRef","paginationRef","navigationPrevElRef","navigationNextElRef","register","params","loop","spaceBetween","slidesPerView","breakpoints","pagination","el","bulletClass","bulletActiveClass","clickable","navigation","nextEl","prevEl","assign","initialize","swiper-container","init","swiper-slide","RecommendedSummarizedJobsModal","setOpen","hasRecommendedJobSummariesFeature","jobRecommendationsList","hasApplications","panelWrapperProps","panelProps","OptionsLabel","IconComponent","labelText","SortJobsButton","mobile","sortJob","setSortJobs","fetchJobs","sortJobsButtonProps","SortIcon","SHOW_JOBS_FILTERS","ShowJobsButton","showJobFilter","setShowJobsFilter","showJobsFilter","useJobViewedUnviewedFilter","hasLikeButton","showJobsButtonProps","EyeIcon","ViewTabButton","TabAndFilterHeader","FilterIcon","FoundJobsCount","jobsForCounter","numJobs","isNaN","pluralize","JobsFoundLabel","ListContent","showMapJobs","commonClass","geoSelector","LoadingImage","JobList","condensed","onMouseEnter","onMouseLeave","postHogEventLocation","defaultOpenJobId","h3","JobsSearchEmptyStateGraphic","eventCapture","MapIcon","pageNum","connect","jobSearch","nextPage","geographies","filterOpen","setFilterOpen","setCurrentPage","hasLoadedFiltersFromUrl","setHasLoadedFiltersFromUrl","loadNavigate","initialized","numGeoFilters","urlJobFilters","view","authModalOpen","setAuthModalOpen","initiallyHasRecommendations","setInitiallyHasRecommendations","userProfileRegisterable","userProfileOnboardingOnly","longName","isReady","recommendations","authenticated","replace","shallow","suggestedGeographyOption","handleCancelAuthModal","queryWithoutRecommendations","handleSuccessAuthModal","reload","fetchGeographies","filterFromUrl","geoFromUrl","updateQueryFilters","fetchJobRecommendations","tokensExist","auth","QE","fetchCompleted","JSON","stringify","pageNumberOnly","pageView","updatedAppliedFilters","markFiltersAsSearched","showSavedFiltersAlert","Authenticated","redirectLoggedOut","TeacherLayout","Head","Root","Child","Overlay","Banner","h2","scrollTo","top","behavior","JobSearchMap","AuthModal","onCancel","onSuccess","searchPromise","changeFilter","order","geographyId","types","applyFilterChange","fetchSearch","savedFilter","loadCandidate","candidate","UserProfile","profile_question_answers","console","paramsFilters","geography_id","selectedFilters","candidates","getValue","selectedOptions","geoIdArr","filteredGeoIdArr","addDropdownAndRecommendationFilter","appliedDropdownFilter","dropdownFilters","locationId","showRecommendations","recommendationFilterSelected","job_listing_id","location_id","only_recommended","updateShowRecommendations","thunkSearch","createAsyncThunk","param1","getState","abort","savedFilterId","appliedSavedFilterId","candidateSearch","where","limit","PAGE_SIZE","links","update","fetchEmployerSavedFilterSelections","currentEmployerProfile","ids","metadata","metadataSearch","UserProfileMetadata","user_profile_ids","candidateMetadata","recommendationsParametersUpdated","updateRecommendations","resetRecommendations","fetchMetadata","userProfileIds","startUpdateDropdownFilter","updateDropdownFilter","activateRecommendedDropdownFilter","resetDropdownFilter","geographiesCollection","Geography","closestGeography","meta","hiringHeroConfigs","hiringHeroConfigsLoadSuccesss","fetchGeographyOptions","category","userProfileRegisterableGeos","GeographyOption","opt","fetchCurrentGeography","geo","fetchGeographyOptionLocations","keysToCase","object","caseFn","k","v","savedFilterCurrentlySelected","savedFiltersForComparison","omit","snakeCase","currentFiltersForComparison","foundFilter","savedFilterData","module","exports"],"sourceRoot":""}