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,GAAA,EAACyI,EAAAA,CAAQA,CAAAA,CAAAA,EAAMD,IADPA,IAKb,IAAIF,MAAM,EAAIhH,GAAQ,CAACe,GAAG,CAAC,CAACkG,EAAGC,IAE5B,GAAAzI,EAAAC,GAAA,EAACG,MAAAA,CAAgBC,UAAW,GAA4BC,MAAAA,CAAzBA,IAAAA,cAAAA,CAAsB,KAA8BqE,MAAA,CAA3BrE,IAAAA,mBAAAA,WACtD,GAAAN,EAAAC,GAAA,EAACyI,EAAAA,CAAQA,CAAAA,CAAAA,EAAMD,IADPA,MAOpB,CAEAvJ,CAAAA,EAAA,EAAeoC,4GCpCf,IAAMqH,EAAkBC,iCAElBC,EAAcC,EAAQ,OAGfC,EAAmB,MAAO1C,GAAsB,CAC3D,IAAM4B,EAAM,GAA+B5B,MAAAA,CAA5BsC,EAAgB,cAAsBhE,MAAA,CAAV0B,GAErCvC,EAAS,MAAMkF,MAAMf,EAAK,CAC9BgB,OAAQ,MACRC,KAAM,MACR,GACGC,IAAI,CAAC,GACGC,EAASC,IAAI,IAErBC,KAAK,CAAC,GAAW,CAChBC,EAAAA,EAAuB,CAACC,EAE1B,GACF,OAAO1F,CACT,EAiBasD,EAAoB,MAAOqC,GAA0E,CAChH,IAAMC,EAAQb,EAAYc,SAAS,CAACF,GAC9BxB,EAAM,GAAuCyB,MAAAA,CAApCf,EAAgB,sBAA0BhE,MAAA,CAAN+E,GAE7C5F,EAAS,MAAMkF,MAAMf,EAAK,CAC9BgB,OAAQ,MACRC,KAAM,MACR,GACGC,IAAI,CAAC,GACGC,EAASC,IAAI,IAErBC,KAAK,CAAC,GAAW,CAChBC,EAAAA,EAAuB,CAACC,EAE1B,GACF,OAAO1F,CACT,qBCtDA8F,EAAAC,OAAA,EAAkB,giDCAlBD,EAAAC,OAAA,EAAkB,4NCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./public/images/iqfu/public/star.svg","webpack://_N_E/./src/iqfu/components/public/check_price/CheckPrice.tsx","webpack://_N_E/./src/iqfu/components/public/check_price/landhouse_card/LandHouseCard.tsx","webpack://_N_E/./src/iqfu/components/public/check_price/mansion_card/MansionCard.tsx","webpack://_N_E/./src/iqfu/components/public/check_price/simulator_card/SimulatorCard.tsx","webpack://_N_E/./src/iqfu/components/public/star_counts/StarCounts.tsx","webpack://_N_E/./src/iqfu/hooks/public/useMansionData.ts","webpack://_N_E/./src/iqfu/components/public/check_price/CardCommon.module.scss","webpack://_N_E/./src/iqfu/components/public/check_price/CheckPrice.module.scss","webpack://_N_E/./src/iqfu/components/public/star_counts/StarCounts.module.scss","webpack://_N_E/<anon>"],"sourcesContent":["var _path;\n\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport * as React from \"react\";\n\nvar SvgStar = function SvgStar(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n viewBox: \"0 0 20 18\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"m10.997.343 2.448 4.894a.66.66 0 0 0 .495.372l5.507.772a.646.646 0 0 1 .526.435.619.619 0 0 1-.177.653l-3.962 3.806a.658.658 0 0 0-.204.572l.932 5.38a.62.62 0 0 1-.242.637.648.648 0 0 1-.69.05l-4.924-2.547a.77.77 0 0 0-.612 0L5.2 17.914a.68.68 0 0 1-.693-.057.661.661 0 0 1-.268-.63l.932-5.38a.703.703 0 0 0-.175-.572L1.004 7.469a.627.627 0 0 1-.17-.664.63.63 0 0 1 .211-.292.647.647 0 0 1 .338-.132L6.86 5.61a.676.676 0 0 0 .495-.372L9.803.343a.693.693 0 0 1 .597-.33.71.71 0 0 1 .597.33Z\",\n fill: \"#FBCD29\"\n })));\n};\n\nexport default SvgStar;","import { FC } from 'react';\n\nimport LandHouseCard from '@components_iqfu/public/check_price/landhouse_card/LandHouseCard';\nimport MansionCard from '@components_iqfu/public/check_price/mansion_card/MansionCard';\nimport SimulatorCard from '@components_iqfu/public/check_price/simulator_card/SimulatorCard';\nimport SectionLeadLeftAlign from '@components_iqfu/public/section_lead_left_align/SectionLeadLeftAlign';\n\nimport { MansionSearchOptions } from '@type-def_iqfu/public/MansionSearchOptions';\n\nimport styles from './CheckPrice.module.scss';\n\ntype Props = {\n pageLabel: string;\n searchOption: MansionSearchOptions;\n prefectureCode?: string;\n cityCode?: string;\n};\n\nconst CheckPrice: FC<Props> = ({ pageLabel, searchOption, prefectureCode, cityCode }) => {\n return (\n <>\n <div className={styles.checkPrice_container}>\n <div className={styles.title}>\n <SectionLeadLeftAlign>\n 自分ã§ç°¡å˜ã«åŒ¿åã§\n <br className=\"sp_only\" />\n 「物件ã®å£²å´ä¾¡æ ¼ã‚’調ã¹ã‚‹ã€\n </SectionLeadLeftAlign>\n </div>\n\n <div className={styles.stacks_wrapper}>\n <div className={styles.card_container}>\n <SimulatorCard pageLabel={pageLabel} prefectureCode={prefectureCode} cityCode={cityCode} />\n </div>\n <div className={styles.card_container}>\n <LandHouseCard pageLabel={pageLabel} />\n </div>\n <div className={styles.card_container}>\n <MansionCard pageLabel={pageLabel} searchOption={searchOption} />\n </div>\n </div>\n </div>\n\n {/* <div className={styles.contact_container}>\n <div className={styles.title}>\n {isMobile ? (\n <SectionLeadLeftAlign>ãŠæ‚©ã¿ã®ã”相談を承りã¾ã™</SectionLeadLeftAlign>\n ) : (\n <SectionLead>ãŠæ‚©ã¿ã®ã”相談を承りã¾ã™</SectionLead>\n )}\n </div>\n <ContactCard pageLabel={pageLabel} />\n </div> */}\n </>\n );\n};\n\nexport default CheckPrice;\n","import { FC, SyntheticEvent, memo, useEffect, useState } from 'react';\n\nimport { useRouter } from 'next/router';\n\nimport { Autocomplete, TextField, useMediaQuery } from '@mui/material';\n\nimport { useQuery } from 'react-query';\n\nimport { useAddress } from '@hooks_common/useAddress';\n\nimport StarCounts from '@components_iqfu/public/star_counts/StarCounts';\n\nimport { AutoCompleteInput } from '@type-def_common/AutoCompleteInput';\n\nimport { MediaQuery } from '@constants_common';\nimport { Prefectures } from '@constants_iqfu';\n\nimport styles from '../CardCommon.module.scss';\n\ntype Props = {\n pageLabel: string;\n};\n\nconst LandHouseCard: FC<Props> = memo(({ pageLabel }) => {\n return (\n <div className={styles.card}>\n <div className={styles.card_header}>\n <div className={styles.card_header_icon}>\n <img src=\"/images/iqfu/public/check_price/landhouses_icon.svg\" alt=\"\" loading=\"lazy\" />\n </div>\n <h3 className={styles.card_header_lead}>\n <span className={styles.card_header_lead_first}>3秒ã§ã‚ã‹ã‚‹ï¼å…¨å›½å¯¾å¿œï¼</span>\n <br />\n <span className={styles.card_header_lead_second}>å„地域ã®åœŸåœ°ãƒ»ä¸€æˆ¸å»ºã¦ã®</span>\n <br />\n <span className={styles.card_header_lead_third}>売å´ä¾¡æ ¼ãƒ»æŸ»å®šé¡ãƒ»ç›¸å ´ã‚’調ã¹ã‚‹</span>\n </h3>\n </div>\n <div className={styles.time_info_wrap}>\n <dl className={styles.time_info}>\n <dt className={styles.time_info_title}>所è¦æ™‚é–“</dt>\n <dd className={styles.time_info_content}>最çŸ3秒</dd>\n </dl>\n <dl className={styles.time_info}>\n <dt className={styles.time_info_title}>査定精度</dt>\n <dd className={styles.time_info_content}>\n <StarCounts rating={3} parentComponent={'CheckPriceCard'} />\n </dd>\n </dl>\n </div>\n <div>\n <div className={styles.searchInput_container}>\n <SearchLandHousesByArea pageLabel={pageLabel} />\n </div>\n </div>\n </div>\n );\n});\n\nLandHouseCard.displayName = 'LandHouseCard';\n\nconst SearchLandHousesByArea: FC<Props> = memo(({}) => {\n const router = useRouter();\n const isMobile = useMediaQuery(MediaQuery.lg);\n const { getCities, getTowns } = useAddress();\n const prefectureOptions = Object.entries(Prefectures).map(([id, label]) => ({\n id: id,\n label,\n }));\n\n const [citiesOptions, setCitiesOptions] = useState<{ label: string; id: string }[]>([]);\n const [townsOptions, setTownsOptions] = useState<{ label: string; id: string }[]>([]);\n\n const [prefecture, setPrefecture] = useState<AutoCompleteInput>(null);\n const [city, setCity] = useState<AutoCompleteInput>(null);\n const [town, setTown] = useState<AutoCompleteInput>(null);\n const [prefectureInputVal, setPrefectureInputVal] = useState<string>('');\n const [cityInputVal, setCityInputVal] = useState<string>('');\n const [townInputVal, setTownInputVal] = useState<string>('');\n\n const { data: fetechedCitiesOptions } = useQuery(\n ['fetechedCitiesOptions', prefecture?.id],\n async () => {\n if (!prefecture?.id) return;\n const { cities } = await getCities(prefecture.id);\n let result: { label: string; id: string }[] = [];\n cities.map((city: { code: string; name: string }) => {\n result.push({ label: city.name, id: String(city.code) });\n });\n return result;\n },\n {\n enabled: !!prefecture?.id,\n staleTime: 1000 * 60 * 30,\n },\n );\n\n useEffect(() => {\n if (fetechedCitiesOptions) setCitiesOptions(fetechedCitiesOptions);\n }, [fetechedCitiesOptions]);\n\n const { data: fetechedTownsOptions } = useQuery(\n ['fetechedTownsOptions', city?.id],\n async () => {\n if (!city?.id) return;\n const { towns } = await getTowns(city.id);\n let result: { label: string; id: string }[] = [];\n towns.map((city: { code: string; name: string }) => {\n result.push({ label: city.name, id: String(city.code) });\n });\n return result;\n },\n {\n enabled: !!city?.id,\n staleTime: 1000 * 60 * 30,\n },\n );\n\n useEffect(() => {\n if (fetechedTownsOptions) setTownsOptions(fetechedTownsOptions);\n }, [fetechedTownsOptions]);\n\n const handlePrefectureChange = async (value: AutoCompleteInput): Promise<void> => {\n if (!value) return;\n setCitiesOptions([]);\n setCity(null);\n setCityInputVal('');\n setTownsOptions([]);\n setTown(null);\n setTownInputVal('');\n\n setPrefecture(value);\n router.prefetch(`/landhouses/prefectures/${value.id}`);\n };\n\n const handleCityChange = async (value: AutoCompleteInput): Promise<void> => {\n if (!value) return;\n setTownsOptions([]);\n setTown(null);\n setTownInputVal('');\n setCity(value);\n router.prefetch(`/landhouses/cities/${value.id}`);\n };\n\n const handleTownChange = async (value: AutoCompleteInput): Promise<void> => {\n if (!value) return;\n setTown(value);\n router.prefetch(`/landhouses/${value.id}`);\n };\n\n const dispatchSearchHandler = () => {\n if (prefecture && city && town) {\n router.push(`/landhouses/${town.id}`);\n } else if (prefecture && city) {\n router.push(`/landhouses/cities/${city.id}`);\n } else if (prefecture) {\n router.push(`/landhouses/prefectures/${prefecture.id}`);\n }\n };\n\n return (\n <div className={`${styles.search_landhouses_by_area}`}>\n <div className={`${styles.search_landhouses_by_area_input_area}`}>\n <div className={styles.input_item_stack}>\n <label className={styles.input_item_label}>都é“府県</label>\n <Autocomplete\n value={prefecture}\n inputValue={prefectureInputVal}\n onChange={(event: SyntheticEvent<Element, Event>, newValue: AutoCompleteInput) => {\n handlePrefectureChange(newValue);\n }}\n onInputChange={(e, newInputValue) => setPrefectureInputVal(newInputValue)}\n renderInput={({ inputProps, ...otherParams }) => (\n <TextField\n {...otherParams}\n autoComplete=\"off\"\n //pleceholder=\"都é“府県 or 市区町æ‘\"ãªã©ã«ã™ã‚‹ã¨chromeã®è‡ªå‹•è£œå®ŒãŒç™ºå‹•ã—ã¦ã—ã¾ã„ã€ä¸ä¾¿ã«ãªã‚‹\n placeholder=\"é¸æŠž\"\n inputProps={{ ...inputProps, readOnly: isMobile }}\n />\n )}\n options={prefectureOptions}\n noOptionsText={'該当ãªã—'}\n />\n </div>\n <div className={styles.input_item_stack}>\n <label className={styles.input_item_label}>市区町æ‘</label>\n <Autocomplete\n value={city}\n inputValue={cityInputVal}\n onChange={(event: SyntheticEvent<Element, Event>, newValue: AutoCompleteInput) => {\n handleCityChange(newValue);\n }}\n onInputChange={(e, newInputValue) => setCityInputVal(newInputValue)}\n renderInput={({ inputProps, ...otherParams }) => (\n <TextField\n {...otherParams}\n autoComplete=\"off\"\n //pleceholder=\"都é“府県 or 市区町æ‘\"ãªã©ã«ã™ã‚‹ã¨chromeã®è‡ªå‹•è£œå®ŒãŒç™ºå‹•ã—ã¦ã—ã¾ã„ã€ä¸ä¾¿ã«ãªã‚‹\n placeholder=\"é¸æŠž\"\n inputProps={{ ...inputProps, readOnly: isMobile }}\n />\n )}\n options={citiesOptions}\n noOptionsText={'該当ãªã—'}\n />\n </div>\n\n <div className={`${styles.input_item_stack}`}>\n <label className={styles.input_item_label} htmlFor=\"town-select\">\n 町域\n </label>\n <Autocomplete\n className={'no_icon'}\n value={town}\n inputValue={townInputVal}\n onChange={(event: SyntheticEvent<Element, Event>, newValue: AutoCompleteInput) => {\n handleTownChange(newValue);\n }}\n onInputChange={(e, newInputValue) => {\n setTownInputVal(newInputValue);\n }}\n renderInput={({ inputProps, ...otherParams }) => (\n <TextField\n {...otherParams}\n autoComplete=\"off\"\n //pleceholder=\"都é“府県 or 市区町æ‘\"ãªã©ã«ã™ã‚‹ã¨chromeã®è‡ªå‹•è£œå®ŒãŒç™ºå‹•ã—ã¦ã—ã¾ã„ã€ä¸ä¾¿ã«ãªã‚‹\n placeholder=\"例)日本橋一ä¸ç›®\"\n inputProps={{ ...inputProps }}\n />\n )}\n options={townsOptions}\n noOptionsText={'該当ãªã—'}\n id=\"town-select\"\n />\n </div>\n </div>\n <button\n onClick={() => {\n dispatchSearchHandler();\n }}\n className={`${styles.search_landhouses_button} ${prefecture ? '' : styles.button_disabled}`}\n >\n 実際ã«å£²ã‚ŒãŸé‡‘é¡ã‚’調ã¹ã‚‹\n </button>\n </div>\n );\n});\n\nexport default LandHouseCard;\n\nSearchLandHousesByArea.displayName = 'SearchLandHousesByArea';\n","import { FC, SyntheticEvent, memo, useEffect, useState } from 'react';\n\nimport { useRouter } from 'next/router';\n\nimport { Autocomplete, TextField } from '@mui/material';\n\nimport { useDebounce } from '@hooks_common/useDebounce';\n\nimport { getMansionOptions } from '@hooks_iqfu/public/useMansionData';\n\nimport StarCounts from '@components_iqfu/public/star_counts/StarCounts';\n\nimport { MansionSearchOptions } from '@type-def_iqfu/public/MansionSearchOptions';\n\nimport styles from '../CardCommon.module.scss';\n\ntype Props = {\n pageLabel: string;\n searchOption: MansionSearchOptions;\n};\n\nconst MansionCard: FC<Props> = memo(({ pageLabel, searchOption }) => {\n return (\n <>\n <div className={`${styles.card}`}>\n <div className={styles.card_header}>\n <div className={styles.card_header_icon}>\n <img src=\"/images/iqfu/public/check_price/mansion_icon.svg\" alt=\"\" loading=\"lazy\" />\n </div>\n <h3 className={styles.card_header_lead}>\n <span className={styles.card_header_lead_first}>3秒ã§ã‚ã‹ã‚‹ï¼</span>\n <br />\n <span className={styles.card_header_lead_second}>\n {searchOption.area === 'prefecture' ? `${searchOption.prefecture?.name}ã®` : ''}\n ã€ãƒžãƒ³ã‚·ãƒ§ãƒ³å】ã‹ã‚‰\n </span>\n <br />\n <span className={styles.card_header_lead_third}>売å´ä¾¡æ ¼ãƒ»æŸ»å®šé¡ãƒ»ç›¸å ´ã‚’調ã¹ã‚‹</span>\n </h3>\n </div>\n <div className={styles.time_info_wrap}>\n <dl className={styles.time_info}>\n <dt className={styles.time_info_title}>所è¦æ™‚é–“</dt>\n <dd className={styles.time_info_content}>最çŸ3秒</dd>\n </dl>\n <dl className={styles.time_info}>\n <dt className={styles.time_info_title}>査定精度</dt>\n <dd className={styles.time_info_content}>\n <StarCounts rating={3} parentComponent={'CheckPriceCard'} />\n </dd>\n </dl>\n </div>\n <div>\n <div className={styles.searchInput_container}>\n <SearchByMansionNameInput pageLabel={pageLabel} searchOption={searchOption} />\n </div>\n </div>\n </div>\n </>\n );\n});\n\nMansionCard.displayName = 'MansionCard';\n\nconst SearchByMansionNameInput: FC<Props> = memo(({ pageLabel, searchOption }) => {\n const router = useRouter();\n //mansion autoComplete\n const [mansionId, setMansionId] = useState(0);\n const [mansionNameInputVal, setMansionNameInputVal] = useState('');\n\n const [mansionOptions, setMansionOptions] = useState<{ label: string; id: string }[]>();\n const debouncedMansionNameInput = useDebounce(mansionNameInputVal, 500);\n const handleMansionSelect = (newValue: { label: string; id: string } | null) => {\n setMansionId(Number(newValue?.id));\n router.prefetch(`/mansions/${newValue?.id}`);\n };\n\n const handleMansionIncrementalSearch = (inputVal: string) => {\n setMansionNameInputVal(inputVal);\n };\n\n const fetchMansionOptions = async () => {\n if (mansionNameInputVal.length) {\n const mansionNameQuery = mansionNameInputVal;\n\n //関数内利用\n const fetchAutoComplete = (async (mansionNameQuery: string) => {\n const { mansions } = await getMansionOptions({\n q: mansionNameQuery,\n prefecture: searchOption.area === 'prefecture' ? searchOption.prefecture?.code : undefined,\n });\n const tempMansionOptions: { label: string; id: string }[] = [];\n mansions.map((mansion: { id: number; name: string; address_summary: string }) => {\n tempMansionOptions.push({ label: mansion.name, id: String(mansion.id) });\n });\n setMansionOptions(tempMansionOptions);\n })(mansionNameQuery);\n }\n };\n\n useEffect(() => {\n if (debouncedMansionNameInput.length) fetchMansionOptions();\n }, [debouncedMansionNameInput]);\n\n const searchMansionHandler = () => {\n router.push(`/mansions/${mansionId}`);\n };\n\n return (\n <div className={styles.search_by_mansion_name}>\n <label className={`${styles.input_item_label}`}>マンションå</label>\n <div>\n <Autocomplete\n className=\"autoComplete_input\"\n inputValue={mansionNameInputVal}\n onChange={(event: SyntheticEvent<Element, Event>, newValue: { label: string; id: string } | null) => {\n handleMansionSelect(newValue);\n }}\n onInputChange={(e, newInputValue) => handleMansionIncrementalSearch(newInputValue)}\n renderInput={(params) => <TextField {...params} placeholder=\"マンションåã§æ¤œç´¢\" />}\n options={mansionOptions || []}\n noOptionsText={mansionNameInputVal.length < 1 ? '入力ã—ã¦ä¸‹ã•ã„' : '該当ãªã—'}\n />\n <button\n onClick={() => {\n searchMansionHandler();\n }}\n className={`${styles.search_mansion_button} ${mansionId ? '' : styles.button_disabled}`}\n >\n 実際ã«å£²ã‚ŒãŸé‡‘é¡ã‚’調ã¹ã‚‹\n </button>\n </div>\n </div>\n );\n});\n\nexport default MansionCard;\n\nSearchByMansionNameInput.displayName = 'SearchByMansionNameInput';\n","import { FC, memo } from 'react';\n\nimport Link from 'next/link';\n\nimport StarCounts from '@components_iqfu/public/star_counts/StarCounts';\n\nimport styles from '../CardCommon.module.scss';\n\ntype Props = {\n pageLabel: string;\n hasMansionLink?: boolean;\n hasHouseLink?: boolean;\n hasLandLink?: boolean;\n locationPropertyText?: string;\n prefectureCode?: string;\n cityCode?: string;\n townCode?: string;\n mansionId?: string;\n};\n\nconst SimulatorCard: FC<Props> = memo(\n ({\n hasMansionLink = true,\n hasHouseLink = true,\n hasLandLink = true,\n pageLabel,\n locationPropertyText = '全国ã®åœŸåœ°ãƒ»ä¸å¤æˆ¸å»ºãƒ»<br />マンションã®',\n prefectureCode,\n cityCode,\n townCode,\n mansionId,\n }) => {\n const simulatorUrl = (propertyType: string): string => {\n let url: string = `/simulator?property_type=${propertyType}`;\n if (townCode) {\n url = url + `&town_code=${townCode}`;\n } else if (cityCode) {\n url = url + `&city_code=${cityCode}`;\n } else if (prefectureCode) {\n url = url + `&prefecture_code=${prefectureCode}`;\n } else if (mansionId) {\n url = url + `&mansion_id=${mansionId}`;\n }\n return url;\n };\n\n return (\n <div className={styles.card}>\n <div className={styles.card_header}>\n <div className={styles.card_header_icon_simulator}>\n <img src=\"/images/iqfu/public/check_price/simulator_icon.svg\" alt=\"\" loading=\"lazy\" />\n </div>\n <h3 className={styles.card_header_lead}>\n <span className={styles.card_header_lead_first}>å€‹äººæƒ…å ±å…¥åŠ›ãªã—ï¼</span>\n <br />\n <span\n className={`${styles.card_header_lead_second}`}\n dangerouslySetInnerHTML={{\n __html: locationPropertyText,\n }}\n ></span>\n <span className={styles.card_header_lead_third}>åŠå¹´ä»¥å†…ã«å£²ã‚Œã‚‹ä¾¡æ ¼ã‚’試算</span>\n </h3>\n </div>\n <div className={styles.card_body}>\n <div className={styles.time_info_wrap}>\n <dl className={styles.time_info}>\n <dt className={styles.time_info_title}>所è¦æ™‚é–“</dt>\n <dd className={styles.time_info_content}>最çŸ30秒</dd>\n </dl>\n <dl className={styles.time_info}>\n <dt className={styles.time_info_title}>査定精度</dt>\n <dd className={styles.time_info_content}>\n <StarCounts rating={4} parentComponent={'CheckPriceCard'} />\n </dd>\n </dl>\n </div>\n <div className={`${styles.simulator_buttons_container}`}>\n {hasLandLink && (\n <Link href={simulatorUrl('land')} prefetch={false} className={`${styles.search_simulator_button}`}>\n 土地ã®ä¾¡æ ¼ã‚’試算\n </Link>\n )}\n {hasHouseLink && (\n <Link href={simulatorUrl('house')} prefetch={false} className={`${styles.search_simulator_button}`}>\n 戸建ã¦ã®ä¾¡æ ¼ã‚’試算\n </Link>\n )}\n {hasMansionLink && (\n <Link href={simulatorUrl('mansion')} prefetch={false} className={`${styles.search_simulator_button}`}>\n マンションã®ä¾¡æ ¼ã‚’試算\n </Link>\n )}\n </div>\n </div>\n </div>\n );\n },\n);\n\nSimulatorCard.displayName = 'SimulatorCard';\n\nexport default SimulatorCard;\n","import { FC } from 'react';\n\nimport StarIcon from '/public/images/iqfu/public/star.svg';\n\nimport styles from './StarCounts.module.scss';\n\ntype ParentComponent = 'CheckPriceCard' | 'UsersVoice';\n\ntype StarCountsProps = {\n rating: number;\n parentComponent: ParentComponent;\n};\n\nconst StarCounts: FC<StarCountsProps> = ({ rating, parentComponent }) => {\n return (\n <div\n className={`${styles.star_counts_container} ${\n parentComponent === 'CheckPriceCard' ? styles.check_price_card : ''\n }`}\n >\n {[...Array(rating)].map((_, index) => {\n return (\n <div key={index} className={styles.star_icon_wrap}>\n <StarIcon key={index} />\n </div>\n );\n })}\n {[...Array(5 - rating)].map((_, index) => {\n return (\n <div key={index} className={`${styles.star_icon_wrap} ${styles.star_icon_wrap_gray}`}>\n <StarIcon key={index} />\n </div>\n );\n })}\n </div>\n );\n};\n\nexport default StarCounts;\n","import * as Sentry from '@sentry/browser';\n\nconst backendBasePath = process.env.NEXT_PUBLIC_DEV_BACKEND_URL;\n\nconst queryString = require('query-string');\n\n//getStaticProps内ã§ä½¿ã†ã®ã§hooksã«ã—ãªã„\nexport const getMansionDetail = async (mansionId: number) => {\n const url = `${backendBasePath}/mansions/${mansionId}`;\n\n const result = await fetch(url, {\n method: 'GET',\n mode: 'cors',\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\ntype MansionOptionsQuery = {\n q?: string;\n prefecture?: number;\n city_code?: number;\n};\n\ntype MansionOptionsData = {\n mansions: {\n id: number;\n name: string;\n address_summary: string;\n }[];\n};\n\n//getStaticProps内ã§ä½¿ã†ã®ã§hooksã«ã—ãªã„\nexport const getMansionOptions = async (mansionOptionsQuery: MansionOptionsQuery): Promise<MansionOptionsData> => {\n const query = queryString.stringify(mansionOptionsQuery);\n const url = `${backendBasePath}/mansions/options?${query}`;\n\n const result = await fetch(url, {\n method: 'GET',\n mode: 'cors',\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","// extracted by mini-css-extract-plugin\nmodule.exports = {\"card\":\"CardCommon_card__2V30R\",\"card_header_lead\":\"CardCommon_card_header_lead___c83T\",\"card_header_lead_first\":\"CardCommon_card_header_lead_first__Z1Vdv\",\"card_header_lead_second\":\"CardCommon_card_header_lead_second__H3JrB\",\"card_header_lead_third\":\"CardCommon_card_header_lead_third__vibBh\",\"card_header_lead_emphasis\":\"CardCommon_card_header_lead_emphasis__DaLVK\",\"card_header_icon\":\"CardCommon_card_header_icon__BbKy2\",\"card_header_icon_simulator\":\"CardCommon_card_header_icon_simulator__c6jV_\",\"search_mansion_button\":\"CardCommon_search_mansion_button____DMg\",\"search_landhouses_button\":\"CardCommon_search_landhouses_button__EEYOB\",\"search_simulator_button\":\"CardCommon_search_simulator_button__hlbz4\",\"button_disabled\":\"CardCommon_button_disabled__Dh8Vy\",\"search_landhouses_by_area_input_area\":\"CardCommon_search_landhouses_by_area_input_area__ZsBKD\",\"input_item_label\":\"CardCommon_input_item_label__u6R7p\",\"time_info_wrap\":\"CardCommon_time_info_wrap__1mEgV\",\"time_info\":\"CardCommon_time_info__dTldq\",\"time_info_title\":\"CardCommon_time_info_title__XSIhS\",\"time_info_content\":\"CardCommon_time_info_content__UvFjR\",\"search_by_mansion_name\":\"CardCommon_search_by_mansion_name__PCqIE\",\"card_header\":\"CardCommon_card_header__ak47G\",\"input_item\":\"CardCommon_input_item__N2TEX\",\"input_item_stack\":\"CardCommon_input_item_stack__9SKST\",\"with_label\":\"CardCommon_with_label__7fB5B\",\"card_body\":\"CardCommon_card_body__wMfYP\",\"simulator_buttons_container\":\"CardCommon_simulator_buttons_container__cEIaM\",\"block_sp\":\"CardCommon_block_sp__ZVQAe\",\"disabled_town_select\":\"CardCommon_disabled_town_select__qeaAM\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"simulaor_card_container\":\"CheckPrice_simulaor_card_container__05V_D\",\"title\":\"CheckPrice_title__ML6eY\",\"stacks_wrapper\":\"CheckPrice_stacks_wrapper__qD0z9\",\"card_container\":\"CheckPrice_card_container__Cd1Im\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"star_counts_container\":\"StarCounts_star_counts_container__l7VY9\",\"star_icon_wrap\":\"StarCounts_star_icon_wrap__vyGKW\",\"star_icon_wrap_gray\":\"StarCounts_star_icon_wrap_gray__iH7mU\",\"check_price_card\":\"StarCounts_check_price_card__a25Cy\"};"],"names":["_path","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","__webpack_exports__","props","react__WEBPACK_IMPORTED_MODULE_0__","createElement","viewBox","fill","xmlns","d","CheckPrice","pageLabel","searchOption","prefectureCode","cityCode","param","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","Fragment","jsxs","div","className","styles","SectionLeadLeftAlign","br","SimulatorCard","LandHouseCard","MansionCard","memo","img","src","alt","loading","h3","span","dl","dt","dd","StarCounts","rating","parentComponent","SearchLandHousesByArea","displayName","router","useRouter","isMobile","useMediaQuery","MediaQuery","getCities","getTowns","useAddress","prefectureOptions","entries","Prefectures","map","id","label","citiesOptions","setCitiesOptions","useState","townsOptions","setTownsOptions","prefecture","setPrefecture","city","setCity","town","setTown","prefectureInputVal","setPrefectureInputVal","cityInputVal","setCityInputVal","townInputVal","setTownInputVal","data","fetechedCitiesOptions","useQuery","cities","result","push","name","String","code","enabled","staleTime","useEffect","fetechedTownsOptions","towns","handlePrefectureChange","value","prefetch","concat","handleCityChange","handleTownChange","dispatchSearchHandler","Autocomplete","inputValue","onChange","event","newValue","onInputChange","e","newInputValue","renderInput","inputProps","otherParams","TextField","autoComplete","placeholder","readOnly","options","noOptionsText","htmlFor","button","onClick","area","SearchByMansionNameInput","mansionId","setMansionId","mansionNameInputVal","setMansionNameInputVal","mansionOptions","setMansionOptions","debouncedMansionNameInput","useDebounce","handleMansionSelect","Number","handleMansionIncrementalSearch","inputVal","fetchMansionOptions","mansionNameQuery","mansions","getMansionOptions","q","undefined","tempMansionOptions","mansion","searchMansionHandler","params","hasMansionLink","hasHouseLink","hasLandLink","locationPropertyText","townCode","simulatorUrl","url","propertyType","dangerouslySetInnerHTML","__html","Link","href","Array","_","index","StarIcon","backendBasePath","process","queryString","require","getMansionDetail","fetch","method","mode","then","response","json","catch","Sentry","error","mansionOptionsQuery","query","stringify","module","exports"],"sourceRoot":""}