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chat_menu/ChatMenu.tsx","webpack://_N_E/./src/iqfu/components/public/dialog/leaseback_cautions/LeaseBackCautionsDialog.tsx","webpack://_N_E/./src/iqfu/components/public/header/Header.tsx","webpack://_N_E/./src/iqfu/components/public/public_page_container/PublicPageContainer.tsx","webpack://_N_E/./src/iqfu/hooks/chat/useChatRoom.ts","webpack://_N_E/./src/iqfu/recoil/atoms/chat/chatMobileMenuHeight.ts","webpack://_N_E/./src/iqfu/recoil/atoms/chat/talk/isInMobileTalkRoomFlag.ts","webpack://_N_E/./src/iqfu/recoil/atoms/public/leaseback_cautions_dialog_open.ts","webpack://_N_E/./src/iqfu/components/chat/seller/chat_menu/ChatMenu.module.scss","webpack://_N_E/./src/iqfu/components/public/dialog/leaseback_cautions/LeaseBackCautionsDialog.module.scss","webpack://_N_E/./src/iqfu/components/public/header/Header.module.scss","webpack://_N_E/./src/iqfu/components/public/public_page_container/PublicPageContainer.module.scss","webpack://_N_E/"],"sourcesContent":["import { FC, useCallback } from 'react';\n\nimport Link from 'next/link';\nimport { useRouter } from 'next/router';\n\nimport { useQuery } from 'react-query';\nimport { useRecoilState } from 'recoil';\n\nimport { useWindowSize } from '@hooks_common/useWindowSize';\n\nimport { useChatRooms } from '@hooks_iqfu/chat/useChatRoom';\n\nimport chatMobileMenuHeight from '@recoil_iqfu/atoms/chat/chatMobileMenuHeight';\n\nimport { useAuth } from '@contexts_common/authContext';\n\nimport styles from './ChatMenu.module.scss';\n\nconst ChatMenu: FC = () => {\n const router = useRouter();\n const { sellerServices } = useAuth();\n\n const { getSellerNotificationCounts } = useChatRooms();\n const { width: windowWidth } = useWindowSize();\n\n const [menuHeight, setMenuHeight] = useRecoilState(chatMobileMenuHeight);\n\n const isInPublicPage = !router.pathname.includes('chat');\n\n const { data: sellerNotificationCounts } = useQuery(['sellerNotificationCounts'], () =>\n getSellerNotificationCounts(),\n );\n\n const setChatMobileMenuHeight = useCallback(\n (node: HTMLDivElement | null) => {\n if (node) {\n setMenuHeight(node.getBoundingClientRect().height);\n }\n },\n [windowWidth],\n );\n\n return (\n
\n \n
\n );\n};\n\nexport default ChatMenu;\n","import { FC } from 'react';\n\nimport Link from 'next/link';\n\nimport styles from './LeaseBackCautionsDialog.module.scss';\n\nconst LeaseBackCautionsDialog: FC = () => {\n return (\n
\n
\n お客様のアカウントはリースバック相談のアカウントになります。\n
\n 不動産会社との売却相談をご希望でしたら、\n \n 運営までご相談\n \n お願いします。\n
\n
\n );\n};\n\nexport default LeaseBackCautionsDialog;\n","import { FC, useEffect, useState, useRef } from 'react';\n\nimport Link from 'next/link';\nimport { useRouter } from 'next/router';\n\nimport Collapse from '@mui/material/Collapse';\n\nimport { useQueryClient } from 'react-query';\nimport { useRecoilState, useRecoilValue, useResetRecoilState, useSetRecoilState } from 'recoil';\n\nimport { usePagePathParams } from '@hooks_common/usePagePathParams';\nimport { useWindowSize } from '@hooks_common/useWindowSize';\n\nimport { useLikedCompanies } from '@hooks_iqfu/public/useLikedCompanies';\n\nimport { useResetSellerCreateChatProperty } from '@utils_iqfu/chat/resetChatPropertyRecoilState';\n\nimport { sellerIsLoggedIn } from '@recoil_iqfu/atoms/public/login_state';\nimport publicHeaderHeight from '@recoil_iqfu/atoms/public/publicHeaderHeight';\nimport userUuidValue from '@recoil_iqfu/atoms/public/user_uuid';\n\nimport { likedCompanyData } from '@type-def_iqfu/public/likedCompaniesData';\n\nimport { NAVIGATION_COMPANIES, NAVIGATION_MEDIA, companyDetailPagePathRegex } from '@constants_iqfu';\nimport { companyIDRegex } from '@constants_iqfu';\nimport { useAuth } from '@contexts_common/authContext';\n\nimport styles from './Header.module.scss';\nimport ExternalLink from '../external_link/ExternalLink';\n\ntype Props = {\n isMobileMenuOpen: boolean;\n toggleMobileMenuHandler: () => void;\n spRecord?: boolean;\n};\n\nconst Header: FC = ({ isMobileMenuOpen, toggleMobileMenuHandler, spRecord = false }) => {\n const router = useRouter();\n const headerRef = useRef(null);\n const [isDropNavContainerOpen, setIsDropNavContainerOpen] = useState(false);\n type DropNavOptions = 'none' | 'top' | 'company' | 'price' | 'media' | 'likes';\n const [isDropNavOpen, setIsDropNavOpen] = useState('none');\n\n const [hasPageLoaded, setHasPageLoaded] = useState(false);\n const [mobileMenuCompanyOpen, setMobileMenuCompanyOpen] = useState(false);\n const [mobileMenuPriceOpen, setMobileMenuPriceOpen] = useState(false);\n const [mobileMenuMediaOpen, setMobileMenuMediaOpen] = useState(false);\n const setHeaderHeight = useSetRecoilState(publicHeaderHeight);\n\n const [isLoggedIn, setIsLoggedIn] = useRecoilState(sellerIsLoggedIn);\n const userUuid = useRecoilValue(userUuidValue);\n\n const { logout } = useAuth();\n const resetUuidValue = useResetRecoilState(userUuidValue);\n\n const { width: windowWidth } = useWindowSize();\n\n const isInCompanyDetailPage = companyDetailPagePathRegex.test(router.asPath);\n\n const queryClient = useQueryClient();\n\n const { dispatchAddLikedCompaniesAction, useGetLikedCompanies } = useLikedCompanies();\n\n const { data: fetchedLikedCompaniesData } = useGetLikedCompanies({\n isLoggedIn,\n userUuid,\n });\n const likedCompanies: likedCompanyData[] = fetchedLikedCompaniesData?.favorite_companies;\n\n const { resetAllCreatePropertiesState } = useResetSellerCreateChatProperty();\n\n const startChatWithCompany = async () => {\n const companyId = Number(companyIDRegex.exec(router.asPath)?.[1]);\n\n const checkIsLiked = () => {\n return likedCompanies?.filter((company) => company.company_id === companyId).length > 0;\n };\n\n if (companyId && !checkIsLiked()) {\n const pageLabel = 'companies_detail';\n await dispatchAddLikedCompaniesAction({\n isLoggedIn,\n userUuid,\n companyId: companyId,\n component: 'Header',\n pageLabel,\n });\n const getLikedCompaniesQuery = ['getFavoriteCompanies', isLoggedIn];\n await queryClient.invalidateQueries(getLikedCompaniesQuery);\n }\n };\n\n useEffect(() => {\n if (headerRef?.current) {\n // @ts-ignore\n const { height } = headerRef.current.getBoundingClientRect();\n setHeaderHeight(height);\n }\n }, [headerRef, windowWidth]);\n\n const dropNavOpenHandler = (option: DropNavOptions) => {\n setIsDropNavContainerOpen(true);\n setIsDropNavOpen(option);\n };\n\n const deactiveDropdown = () => {\n setIsDropNavContainerOpen(false);\n setIsDropNavOpen('none');\n };\n\n const logoutHandler = async () => {\n await logout('seller');\n resetAllCreatePropertiesState();\n resetUuidValue();\n\n if (isMobileMenuOpen) toggleMobileMenuHandler();\n setIsLoggedIn(false);\n };\n\n const mobileLinkClick = () => {\n toggleMobileMenuHandler();\n };\n\n //isLoggedInのrecoilのstateがssr時の初期値とstorageの値で変わりhydration errorになるので、マウント後にisLoggedInの値を確認する\n const [isMounted, setIsMounted] = useState(false);\n useEffect(() => {\n setIsMounted(true);\n (async () => {\n setHasPageLoaded(true);\n })();\n }, []);\n\n const pathParam = usePagePathParams();\n const mediaLinkQueryParam = `?utm_source=iqfu&utm_medium=referral&utm_campaign=header&utm_content=${pathParam}`;\n\n return (\n
deactiveDropdown()} ref={headerRef}>\n
\n
\n
\n \n \"イクラ不動産\"\n \n
\n {/* mobile用ナビ*/}\n
\n {isMounted && isLoggedIn ? (\n \n 売却相談チャット\n \n ) : (\n {\n if (isInCompanyDetailPage) {\n await startChatWithCompany();\n }\n router.push('/signup');\n }}\n >\n 売却相談スタート\n \n )}\n
\n\n {/* mobile用ナビ*/}\n \n \n \n \n \n \n
\n {isMounted && !isLoggedIn && (\n <>\n mobileLinkClick()}\n >\n ログイン\n \n mobileLinkClick()}\n prefetch={false}\n href={`/signup`}\n >\n 売却相談スタート\n \n \n )}\n {isMounted && isLoggedIn && (\n <>\n mobileLinkClick()}\n prefetch={false}\n href={`/chat/talk`}\n >\n 売却相談チャット\n \n \n \n )}\n
\n
\n
\n setMobileMenuCompanyOpen(!mobileMenuCompanyOpen)}\n >\n 不動産会社を探す\n
\n \n
    \n {NAVIGATION_COMPANIES.flat().map((item, index) => (\n
  • \n mobileLinkClick()}>\n {item.text}\n \n
  • \n ))}\n
\n
\n
\n
\n setMobileMenuPriceOpen(!mobileMenuPriceOpen)}\n >\n 物件の価格を知る\n
\n \n
    \n
  • \n mobileLinkClick()}>\n 土地・戸建価格\n \n
  • \n
  • \n mobileLinkClick()} prefetch={false} href=\"/mansions\">\n マンション価格\n \n
  • \n
  • \n mobileLinkClick()}>\n 価格シミュレーター\n \n
  • \n
\n
\n
\n
\n setMobileMenuMediaOpen(!mobileMenuMediaOpen)}\n >\n お家の売却を学ぶ\n
\n \n
お家の売却 まずはここから
\n
    \n
  • \n mobileLinkClick()}>\n お家を高く売るための不動産屋選びのコツ\n \n
  • \n
  • \n mobileLinkClick()}\n >\n 高く売れる一戸建て・土地の特徴&査定方法の基礎知識\n \n
  • \n
  • \n mobileLinkClick()}\n >\n 高く売れるマンションの特徴&査定方法の基礎知識\n \n
  • \n
\n
お家の売却 こんなときどうするの?
\n
    \n {Object.entries(NAVIGATION_MEDIA.outi).map(([key, value]) => (\n
  • \n mobileLinkClick()}>\n {value.text}\n \n
  • \n ))}\n
\n
不動産売却基礎知識
\n
    \n {Object.entries(NAVIGATION_MEDIA.kiso).map(([key, value]) => (\n
  • \n mobileLinkClick()}>\n {value.text}\n \n
  • \n ))}\n
\n
\n
\n
\n
\n \n 不動産会社向け情報\n \n
\n
\n \n \n\n {/* desktop用ナビ*/}\n \n \n {isMounted && !isLoggedIn && (\n
\n \n ログイン\n \n {\n if (isInCompanyDetailPage) {\n await startChatWithCompany();\n }\n router.push('/signup');\n }}\n >\n 売却相談スタート\n \n
\n )}\n {isMounted && isLoggedIn && (\n
\n \n 売却相談チャット\n \n \n
\n )}\n \n\n
\n \n {NAVIGATION_COMPANIES.map((list, index) => (\n
    \n {list.map((item, index) => (\n
  • \n {item.text}\n
  • \n ))}\n
\n ))}\n
\n
\n
    \n
  • \n \n 土地・戸建価格\n \n
  • \n
  • \n \n マンション価格\n \n
  • \n
  • \n \n 価格シミュレーター\n \n
  • \n
\n
\n
\n
\n
お家の売却 まずはここから
\n
\n
    \n
  • \n \n お家を高く売るための不動産屋選びのコツ\n \n
  • \n
  • \n \n 高く売れる一戸建て・土地の特徴&査定方法の基礎知識\n \n
  • \n
  • \n \n 高く売れるマンションの特徴&査定方法の基礎知識\n \n
  • \n
\n
\n
お家の売却 こんなときどうするの?
\n
\n
    \n {Object.entries(NAVIGATION_MEDIA.outi).map(([key, value]) => (\n
  • \n \n {value.text}\n \n
  • \n ))}\n
\n
\n
不動産売却基礎知識
\n
\n
    \n {Object.entries(NAVIGATION_MEDIA.kiso).map(([key, value]) => (\n
  • \n \n {value.text}\n \n
  • \n ))}\n
\n
\n
\n
\n \n \n );\n};\n\nexport default Header;\n","import { FC, useEffect, useState } from 'react';\n\nimport { useRouter } from 'next/router';\n\nimport { useMediaQuery } from '@mui/material';\n\nimport { useQuery } from 'react-query';\nimport { useRecoilState } from 'recoil';\nimport { v4 as uuid } from 'uuid';\n\nimport { useDebounce } from '@hooks_common/useDebounce';\nimport { usePagePathParams } from '@hooks_common/usePagePathParams';\nimport { usePageViewLogs } from '@hooks_common/usePageViewLogs';\n\nimport ChatMenu from '@components_iqfu/chat/seller/chat_menu/ChatMenu';\nimport DialogWrapper from '@components_iqfu/public/dialog/DialogWrapper';\nimport LeaseBackCautionsDialog from '@components_iqfu/public/dialog/leaseback_cautions/LeaseBackCautionsDialog';\nimport Header from '@components_iqfu/public/header/Header';\n\nimport { isInMobileTalkRoomFlag } from '@recoil_iqfu/atoms/chat/talk/isInMobileTalkRoomFlag';\nimport { leaseBackCautionDialogOpenAtom } from '@recoil_iqfu/atoms/public/leaseback_cautions_dialog_open';\nimport { sellerIsLoggedIn } from '@recoil_iqfu/atoms/public/login_state';\nimport userUuidValue from '@recoil_iqfu/atoms/public/user_uuid';\n\nimport { MediaQuery } from '@constants_common';\nimport { useAuth } from '@contexts_common/authContext';\n\nimport styles from './PublicPageContainer.module.scss';\n\ntype Props = {\n spRecord?: boolean;\n children: React.ReactNode;\n};\n\nconst PublicPageContainer: FC = ({ children, spRecord = false }) => {\n const router = useRouter();\n const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false);\n\n const [windowScrollPosition, setWindowScrollPosition] = useState(0);\n const [isLoggedIn, setIsLoggedIn] = useRecoilState(sellerIsLoggedIn);\n\n const [leasebackCautionDialogOpen, setLeasebackCautionDialogOpen] = useRecoilState(leaseBackCautionDialogOpenAtom);\n\n const [userUuid, setUserUuid] = useRecoilState(userUuidValue);\n const [isInMobileTalkRoom, setIsInMobileTalkRoom] = useRecoilState(isInMobileTalkRoomFlag);\n\n const isMobile = useMediaQuery(MediaQuery.lg);\n\n useEffect(() => {\n if (isMobile && router.query.roomId) {\n setIsInMobileTalkRoom(true);\n } else {\n setIsInMobileTalkRoom(false);\n }\n }, [router, isMobile]);\n\n const { tokenValidity, validateToken } = useAuth();\n\n const pathParam = usePagePathParams();\n const debouncedPath = useDebounce(router.asPath, 200);\n\n //validate token\n //publicページはランディング時のみ\n //要ログインページではすべてのページ遷移でおこなう\n const { data: _validateTokenRequestResponse } = useQuery(\n ['isAuthenticated', userUuid, debouncedPath],\n () =>\n tokenValidity === 'unvalidated' || tokenValidity === 'valid'\n ? validateToken({\n page_path: pathParam,\n sid: userUuid,\n })\n : false,\n {\n staleTime: 100,\n enabled: !!userUuid && (tokenValidity === 'unvalidated' || tokenValidity === 'valid'),\n },\n );\n\n const authChecked = tokenValidity !== 'unvalidated';\n\n useEffect(() => {\n if (authChecked) {\n setIsLoggedIn(tokenValidity === 'valid');\n }\n\n if (authChecked && tokenValidity !== 'valid') {\n //chatのパスでログインしていなかったならloginページにリダイレクト\n const isInChatRoutes = router.pathname.indexOf('/chat') !== -1;\n const isBrowser = () => typeof window !== 'undefined';\n if (isBrowser() && isInChatRoutes) {\n const redirectUrl = encodeURIComponent(router.asPath);\n router.replace(`/login?redirect=${redirectUrl}`);\n }\n }\n }, [tokenValidity, authChecked]);\n\n useEffect(() => {\n if (router.isReady) {\n if (!userUuid) {\n setUserUuid(uuid());\n }\n\n if (leasebackCautionDialogOpen) {\n setLeasebackCautionDialogOpen(false);\n }\n }\n }, [router]);\n\n const toggleMobileMenuHandler = () => {\n if (isMobileMenuOpen) {\n setIsMobileMenuOpen(false);\n document.body.style.position = '';\n document.body.style.top = '';\n document.body.style.width = '';\n window.scroll({\n top: windowScrollPosition,\n });\n } else {\n const { scrollY } = window;\n setIsMobileMenuOpen(true);\n setWindowScrollPosition(scrollY);\n document.body.style.top = `-${scrollY}px`;\n document.body.style.position = 'fixed';\n document.body.style.width = '100%';\n }\n };\n\n const { createPageViewLog } = usePageViewLogs();\n\n const { data: _createPageViewLogSuccess } = useQuery(\n ['createPageViewLog', userUuid, debouncedPath],\n () =>\n createPageViewLog({\n sid: userUuid,\n path_with_query: router.asPath,\n }),\n {\n staleTime: 200,\n enabled: !!userUuid,\n refetchOnWindowFocus: false,\n },\n );\n\n //isLoggedInのrecoilのstateがssr時の初期値とstorageの値で変わりhydration errorになるので、マウント後にisLoggedInの値を確認する\n const [isMounted, setIsMounted] = useState(false);\n useEffect(() => setIsMounted(true), []);\n\n return (\n \n {/* モバイルの売主不動産会社トーク画面ではヘッダーとチャットメニュー表示しない */}\n {isInMobileTalkRoom ? (\n <>\n ) : (\n <>\n \n {isMounted && isLoggedIn && }\n \n )}\n setLeasebackCautionDialogOpen(false)}>\n \n \n {children}\n \n );\n};\n\nexport default PublicPageContainer;\n","import * as Sentry from '@sentry/browser';\nimport { useCookies } from 'react-cookie';\n\nimport { ChatRoomListResponse } from '@type-def_iqfu/chat/ChatRoomItem';\nimport { SellerCompanyRoomInfo } from '@type-def_iqfu/chat/SellerCompanyRoomInfo';\nimport { SellerFinancialAgencyRoomInfo } from '@type-def_iqfu/chat/SellerFinancialAgencyRoomInfo';\nimport { SellerNotificationCounts } from '@type-def_iqfu/chat/SellerNotificationCounts';\n\nconst queryString = require('query-string');\n\nconst backendBasePath = process.env.NEXT_PUBLIC_DEV_BACKEND_URL;\n\nconst hasValidLimitOffsetParams = (limit?: unknown, offset?: unknown) => {\n const hasValidLimit = typeof limit === 'number' && limit >= 0;\n const hasValidOffset = typeof offset === 'number' && offset >= 0;\n if ((limit && !hasValidLimit) || (offset && !hasValidOffset) || Number.isNaN(limit) || Number.isNaN(offset)) {\n return false;\n } else {\n return true;\n }\n};\n\nexport const useChatRooms = () => {\n const [cookies] = useCookies(['expiry', 'access-token', 'client', 'uid', 'user-type']);\n\n const getChatRoomList = async (queryParams: {\n chat_property_id?: number;\n limit?: number;\n offset?: number;\n }): Promise => {\n if (!hasValidLimitOffsetParams(queryParams.limit, queryParams.offset)) return;\n\n const query = queryString.stringify(queryParams);\n const url = `${backendBasePath}/seller/chat_rooms?${query}`;\n\n const result = await fetch(url, {\n method: 'GET',\n mode: 'cors',\n headers: {\n uid: cookies['uid'],\n client: cookies['client'],\n 'access-token': cookies['access-token'],\n },\n })\n .then((response) => {\n return response.json();\n })\n .catch((error) => {\n Sentry.captureException(error);\n console.error('通信に失敗しました', error);\n });\n return result;\n };\n\n const getChatItems = async (roomId: number, queryParams: { limit?: number; offset?: number }) => {\n if (!hasValidLimitOffsetParams(queryParams.limit, queryParams.offset)) return;\n\n const query = queryString.stringify(queryParams);\n const url = `${backendBasePath}/seller/chat_rooms/${roomId}/chat_items?${query}`;\n\n const result = await fetch(url, {\n method: 'GET',\n mode: 'cors',\n headers: {\n uid: cookies['uid'],\n client: cookies['client'],\n 'access-token': cookies['access-token'],\n },\n })\n .then((response) => {\n return response.json();\n })\n .catch((error) => {\n Sentry.captureException(error);\n console.error('通信に失敗しました', error);\n });\n return result;\n };\n\n const getChatFile = async (chatItemId: number, fileName: string) => {\n if (!chatItemId) return;\n const url = `${backendBasePath}/seller/chat_items/${chatItemId}/file_download`;\n\n const result = await fetch(url, {\n method: 'GET',\n mode: 'cors',\n headers: {\n uid: cookies['uid'],\n client: cookies['client'],\n 'access-token': cookies['access-token'],\n },\n })\n .then((response) => response.blob())\n .then((blob) => {\n const url = URL.createObjectURL(blob);\n\n let link = document.createElement('a');\n link.href = url;\n link.download = fileName;\n link.click();\n URL.revokeObjectURL(url);\n })\n .catch((error) => {\n Sentry.captureException(error);\n console.error('通信に失敗しました', error);\n });\n return result;\n };\n\n const createChatItem = async ({ roomId, submitData }: { roomId: number | undefined; submitData: FormData }) => {\n const url = `${backendBasePath}/seller/chat_rooms/${roomId}/chat_items`;\n if (!roomId) return;\n\n const result = await fetch(url, {\n method: 'POST',\n mode: 'cors',\n headers: {\n uid: cookies['uid'],\n client: cookies['client'],\n 'access-token': cookies['access-token'],\n },\n body: submitData,\n })\n .then((response) => {\n return response.json();\n })\n .catch((error) => {\n Sentry.captureException(error);\n console.error('通信に失敗しました', error);\n });\n return result;\n };\n\n const deleteChatItem = async (chatItemId: number) => {\n const url = `${backendBasePath}/seller/chat_items/${chatItemId}`;\n\n const result = await fetch(url, {\n method: 'DELETE',\n mode: 'cors',\n headers: {\n uid: cookies['uid'],\n client: cookies['client'],\n 'access-token': cookies['access-token'],\n },\n })\n .then((response) => {\n return response.json();\n })\n .catch((error) => {\n Sentry.captureException(error);\n console.error('通信に失敗しました', error);\n });\n return result;\n };\n\n const getSellerCompanyRoomInfo = async (roomId: number): Promise => {\n if (!roomId) return;\n\n const url = `${backendBasePath}/seller/chat_rooms/${roomId}`;\n const result = await fetch(url, {\n method: 'GET',\n mode: 'cors',\n headers: {\n uid: cookies['uid'],\n client: cookies['client'],\n 'access-token': cookies['access-token'],\n },\n })\n .then((response) => {\n return response.json();\n })\n .catch((error) => {\n Sentry.captureException(error);\n console.error('通信に失敗しました', error);\n });\n return result;\n };\n\n type SellerCompanyContactRoomInfo = {\n id: number;\n seller_user_id: number;\n company_id: number;\n company_display_name: string;\n company_image: string;\n };\n\n const getSellerCompanyContactRoomInfo = async (roomId: number): Promise => {\n if (!roomId) return;\n\n const url = `${backendBasePath}/seller/chat_seller_company_rooms/${roomId}`;\n const result = await fetch(url, {\n method: 'GET',\n mode: 'cors',\n headers: {\n uid: cookies['uid'],\n client: cookies['client'],\n 'access-token': cookies['access-token'],\n },\n })\n .then((response) => {\n return response.json();\n })\n .catch((error) => {\n Sentry.captureException(error);\n console.error('通信に失敗しました', error);\n });\n return result;\n };\n\n const getSellerFinancialAgencyRoomInfo = async (\n roomId: number,\n ): Promise => {\n if (!roomId) return;\n\n const url = `${backendBasePath}/seller/chat_seller_financial_agency_division_rooms/${roomId}`;\n const result = await fetch(url, {\n method: 'GET',\n mode: 'cors',\n headers: {\n uid: cookies['uid'],\n client: cookies['client'],\n 'access-token': cookies['access-token'],\n },\n })\n .then((response) => {\n return response.json();\n })\n .catch((error) => {\n Sentry.captureException(error);\n console.error('通信に失敗しました', error);\n });\n return result;\n };\n\n const getSellerNotificationCounts = async (): Promise => {\n const url = `${backendBasePath}/seller/dashboards/notification_counts`;\n\n const result = await fetch(url, {\n method: 'GET',\n mode: 'cors',\n headers: {\n uid: cookies['uid'],\n client: cookies['client'],\n 'access-token': cookies['access-token'],\n },\n })\n .then((response) => {\n return response.json();\n })\n .catch((error) => {\n Sentry.captureException(error);\n console.error('通信に失敗しました', error);\n });\n return result;\n };\n\n const requestSearchRecommendCompany = async () => {\n const url = `${backendBasePath}/seller/inquiry_chat_items/request_search_company`;\n\n const result = await fetch(url, {\n method: 'POST',\n mode: 'cors',\n headers: {\n uid: cookies['uid'],\n client: cookies['client'],\n 'access-token': cookies['access-token'],\n },\n })\n .then((response) => {\n return response.json();\n })\n .catch((error) => {\n Sentry.captureException(error);\n console.error('通信に失敗しました', error);\n });\n return result;\n };\n\n return {\n getChatRoomList,\n getChatItems,\n getChatFile,\n createChatItem,\n deleteChatItem,\n getSellerCompanyRoomInfo,\n getSellerCompanyContactRoomInfo,\n getSellerFinancialAgencyRoomInfo,\n getSellerNotificationCounts,\n requestSearchRecommendCompany,\n };\n};\n","import { atom } from 'recoil';\n\nconst chatMobileMenuHeight = atom({\n key: 'chatMobileMenuHeight',\n default: 0,\n});\n\nexport default chatMobileMenuHeight;\n","import { atom } from 'recoil';\n\n/**\n * 売主×不動産会社 不動産会社×売主 のチャットのモバイルのtalk roomにいるかのstate\n * ヘッダーとメニューが非表示になる\n * avatarのサイズが小さくなる\n */\nexport const isInMobileTalkRoomFlag = atom({\n key: 'isInMobileTalkRoomFlag',\n default: false,\n});\n","import { atom } from 'recoil';\n\nexport const leaseBackCautionDialogOpenAtom = atom({\n key: 'leaseBackCautionDialogOpenAtom',\n default: false,\n});\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"ChatMenu_container__mPJyX\",\"isInPublicPage\":\"ChatMenu_isInPublicPage__EDVFb\",\"nav_list\":\"ChatMenu_nav_list__TePVP\",\"nav_item\":\"ChatMenu_nav_item__7sV3p\",\"nav_item_text\":\"ChatMenu_nav_item_text__NG3fD\",\"icon_wrapper\":\"ChatMenu_icon_wrapper__jiGtj\",\"active_icon\":\"ChatMenu_active_icon__7_WDK\",\"chat_menu_link\":\"ChatMenu_chat_menu_link__U9cjs\",\"is_active\":\"ChatMenu_is_active__JONDe\",\"unread_icon\":\"ChatMenu_unread_icon__SGZ5N\",\"pc_only\":\"ChatMenu_pc_only__ctVUw\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dialog\":\"LeaseBackCautionsDialog_dialog__LkOnZ\",\"scroll\":\"LeaseBackCautionsDialog_scroll__vch5b\",\"dialog_inner\":\"LeaseBackCautionsDialog_dialog_inner__PT_aN\",\"close_dialog_button\":\"LeaseBackCautionsDialog_close_dialog_button__eNeub\",\"content\":\"LeaseBackCautionsDialog_content__jwsWy\",\"contact_link\":\"LeaseBackCautionsDialog_contact_link__GyzYt\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"Header_container__WOWck\",\"header\":\"Header_header__6ABaD\",\"sp_record\":\"Header_sp_record__P7AXZ\",\"header_inner\":\"Header_header_inner__yHomb\",\"desktop_nav\":\"Header_desktop_nav__BEFQs\",\"header_logo\":\"Header_header_logo__t6_t4\",\"nav_list\":\"Header_nav_list__52uC_\",\"nav_item\":\"Header_nav_item__zcX7O\",\"nav_item_with_dropdown\":\"Header_nav_item_with_dropdown__riH4y\",\"is_active\":\"Header_is_active__F4XL6\",\"nav_item_without_dropdown\":\"Header_nav_item_without_dropdown__OeQV4\",\"mobile_only_auth_content_link\":\"Header_mobile_only_auth_content_link__KaIVn\",\"auth_gray_button_mobile\":\"Header_auth_gray_button_mobile__VWSpi\",\"auth_green_button_mobile\":\"Header_auth_green_button_mobile___FP_k\",\"media_link_container\":\"Header_media_link_container__QVnT_\",\"media_nav_top\":\"Header_media_nav_top__sQ5i7\",\"signup_button_desktop\":\"Header_signup_button_desktop__HrvTm\",\"chat_button_desktop\":\"Header_chat_button_desktop__d_45K\",\"login_button_desktop\":\"Header_login_button_desktop__PzXvj\",\"logout_button_desktop\":\"Header_logout_button_desktop___pFMV\",\"auth_content\":\"Header_auth_content__75z1l\",\"drop_down_container\":\"Header_drop_down_container__ioKyy\",\"drop_down_menu\":\"Header_drop_down_menu__gZ_U2\",\"drop_down_menu_companies\":\"Header_drop_down_menu_companies__2VMZC\",\"nav_link_list\":\"Header_nav_link_list__mCnvK\",\"nav_link_item\":\"Header_nav_link_item__TD15v\",\"dropDownLinkFadeIn\":\"Header_dropDownLinkFadeIn__NVCWj\",\"mobile_menu_toggle\":\"Header_mobile_menu_toggle__KsrOw\",\"mobile_menu_toggle_line\":\"Header_mobile_menu_toggle_line__vONSl\",\"mobile_menu\":\"Header_mobile_menu__1Xy2h\",\"has_initialized\":\"Header_has_initialized__g7NxZ\",\"mobile_auth_button_container\":\"Header_mobile_auth_button_container__EKvvO\",\"mobile_nav_container\":\"Header_mobile_nav_container__CO2pg\",\"mobile_nav_toggle\":\"Header_mobile_nav_toggle__fL503\",\"mobile_nav_single\":\"Header_mobile_nav_single__34lTZ\",\"mobile_nav_block\":\"Header_mobile_nav_block__VJDqv\",\"mobile_nav_list\":\"Header_mobile_nav_list__8dWeR\",\"mobile_nav_item\":\"Header_mobile_nav_item__kaRVO\",\"mobile_media_nav_top\":\"Header_mobile_media_nav_top__29bdb\",\"liked_count\":\"Header_liked_count__RlPGF\",\"mobileMenuFadeIn\":\"Header_mobileMenuFadeIn__m2eVb\",\"mobileMenuFadeOut\":\"Header_mobileMenuFadeOut__iAJJP\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"PublicPageContainer_container__yyNZl\",\"is_in_mobile_talk_room\":\"PublicPageContainer_is_in_mobile_talk_room__B_CNl\",\"sp_record\":\"PublicPageContainer_sp_record__Gzw6R\"};"],"names":["ChatMenu","router","useRouter","sellerServices","useAuth","getSellerNotificationCounts","useChatRooms","width","windowWidth","useWindowSize","menuHeight","setMenuHeight","useRecoilState","chatMobileMenuHeight","isInPublicPage","pathname","includes","data","sellerNotificationCounts","useQuery","setChatMobileMenuHeight","useCallback","node","getBoundingClientRect","height","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","div","className","styles","concat","ref","nav","jsxs","ul","li","Link","href","img","src","alt","unread_chat_count","unread_seller_financial_agency_division_room_count","unread_inquiry_count","p","__webpack_exports__","LeaseBackCautionsDialog","jsx_runtime","br","Header","isMobileMenuOpen","toggleMobileMenuHandler","spRecord","param","headerRef","useRef","isDropNavContainerOpen","setIsDropNavContainerOpen","useState","isDropNavOpen","setIsDropNavOpen","hasPageLoaded","setHasPageLoaded","mobileMenuCompanyOpen","setMobileMenuCompanyOpen","mobileMenuPriceOpen","setMobileMenuPriceOpen","mobileMenuMediaOpen","setMobileMenuMediaOpen","setHeaderHeight","useSetRecoilState","publicHeaderHeight","isLoggedIn","setIsLoggedIn","sellerIsLoggedIn","userUuid","useRecoilValue","userUuidValue","logout","resetUuidValue","useResetRecoilState","isInCompanyDetailPage","companyDetailPagePathRegex","asPath","queryClient","useQueryClient","dispatchAddLikedCompaniesAction","useGetLikedCompanies","useLikedCompanies","fetchedLikedCompaniesData","likedCompanies","favorite_companies","resetAllCreatePropertiesState","useResetSellerCreateChatProperty","startChatWithCompany","companyIDRegex","companyId","Number","filter","company","company_id","length","component","pageLabel","invalidateQueries","useEffect","current","dropNavOpenHandler","option","deactiveDropdown","logoutHandler","mobileLinkClick","isMounted","setIsMounted","pathParam","usePagePathParams","mediaLinkQueryParam","onMouseLeave","header","prefetch","style","display","button","onClick","push","span","Fragment","Collapse","in","NAVIGATION_COMPANIES","map","item","index","link","text","Object","entries","NAVIGATION_MEDIA","key","value","ExternalLink","url","target","onMouseEnter","list","PublicPageContainer","children","setIsMobileMenuOpen","windowScrollPosition","setWindowScrollPosition","leasebackCautionDialogOpen","setLeasebackCautionDialogOpen","leaseBackCautionDialogOpenAtom","setUserUuid","isInMobileTalkRoom","setIsInMobileTalkRoom","isInMobileTalkRoomFlag","isMobile","useMediaQuery","MediaQuery","query","roomId","tokenValidity","validateToken","debouncedPath","useDebounce","_validateTokenRequestResponse","page_path","sid","staleTime","enabled","authChecked","isInChatRoutes","indexOf","redirectUrl","encodeURIComponent","replace","isReady","uuid","document","body","position","top","window","scroll","scrollY","createPageViewLog","usePageViewLogs","_createPageViewLogSuccess","path_with_query","refetchOnWindowFocus","DialogWrapper","open","onClose","public_page_container_PublicPageContainer","queryString","require","backendBasePath","process","hasValidLimitOffsetParams","limit","offset","isNaN","cookies","useCookies","getChatRoomList","queryParams","stringify","result","fetch","method","mode","headers","uid","client","then","response","json","catch","Sentry","error","getChatItems","getChatFile","chatItemId","fileName","blob","URL","createObjectURL","createElement","download","click","revokeObjectURL","createChatItem","submitData","deleteChatItem","getSellerCompanyRoomInfo","getSellerCompanyContactRoomInfo","getSellerFinancialAgencyRoomInfo","requestSearchRecommendCompany","atom","default","module","exports"],"sourceRoot":""}