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EAAA,GAAOpD,GAAI,IAAEoC,UAAAA,EAAWZ,YAAAA,IAAiB6B,UAAQ,IAC9E5I,EAAAA,cAAA,OAAKF,UAAU,SACfE,EAAAA,cAAC2D,EAAc,CAAOhE,KAAM4F,EAAM1B,YAAAA,EAAavC,QAAAA,EAASC,UAAAA,EAAAA,UAAWE,OAAAA,EAAAA,OAAQD,SAAAA,EAAAA,iBAS/G,E,SC7QAsH,EAAAA,EAAuB,GAAAlH,OAAMmH,EAAAA,EAAqB,WAYlD,QATI,SADSrJ,EAAAe,GAAA,IACNd,EAAID,EAAJC,KAAUqJ,EAAQvI,EAARuI,SAAQ,OACrB,WAKI,OAJAzH,EAAAA,EAAAA,YAAU,YACN0H,EAAAA,EAAAA,IACJ,GAAG,IAEIjJ,EAAAA,cAACkJ,EAAoB,CAAO3D,KAAM5F,EAAMqJ,SAAAA,EAAUhK,oBAAAA,EAAAA,GAC7D,CAAE,ECjBNmK,IAAAA,SAAsB,CAACC,eAAAA,G","sources":["webpack://sniffspot/./frontend/src/rails/bundles/hooks/useMutateHostSignup.js","webpack://sniffspot/./frontend/src/pages/seo/city-sub-test-ssr-client.jsx","webpack://sniffspot/./frontend/src/rails/bundles/SeoCitySubType/components/SeoCitySubType.client.jsx","webpack://sniffspot/./frontend/src/rails/packs/generated/SeoCitySubType.js"],"sourcesContent":["import { gql, useMutation } from '@apollo/client';\n\nconst SIGNUP_HOST = gql`\n    mutation signUp(\n        $email: String!\n        $firstname: String!\n        $lastname: String!\n        $password: String!\n        $phoneNumber: String\n        $uuid: String\n        $invitedAs: InvitedAs\n        $invitedByUuid: String\n        $utmSource: String\n        $utmMedium: String\n        $utmCampaign: String\n        $createdFrom: CreatedFrom\n        $createdPlatform: CreatedPlatform\n    ) {\n        signUp(\n            email: $email\n            firstname: $firstname\n            lastname: $lastname\n            password: $password\n            phoneNumber: $phoneNumber\n            uuid: $uuid\n            invitedAs: $invitedAs\n            invitedByUuid: $invitedByUuid\n            utmSource: $utmSource\n            utmMedium: $utmMedium\n            utmCampaign: $utmCampaign\n            createdFrom: $createdFrom\n            createdPlatform: $createdPlatform\n        ) {\n            id\n            testGroups\n        }\n    }\n`;\n\nexport default function useMutateHostSignup() {\n    const [mutateHostSignup, { error }] = useMutation(SIGNUP_HOST);\n    return { mutateHostSignup, signUpError: error };\n}\n","import React, { useEffect, useRef, useState } from 'react';\nimport { BrowserRouter, Route, Switch } from 'react-router-dom';\nimport { ApolloProvider } from '@apollo/client';\nimport { Provider } from 'react-redux';\nimport { store } from '../../store';\nimport bemCn from 'bem-cn';\nimport {\n    seoListBread,\n    seoSubListBread,\n    seoSubsAgilityFaqs,\n    seoSubsBeachFaqs,\n    seoSubsFencedFaqs,\n    seoSubsFieldFaqs,\n    seoSubsHikingFaqs,\n    seoSubsIndoorFaqs,\n    seoSubsPoolFaqs,\n    seoSubsSmallFaqs,\n    seoSubsWaterFaqs,\n} from '../../consts/seo.consts';\nimport { RenderAppDownloadCity, RenderHowWorks, RenderTopCities, RenderTopState, RenderWhyRentSubCity } from './city-content';\nimport { SUB_TYPE_PARK, SUB_TYPE_PARK_LISTINGS } from '../../consts/type-park.consts';\nimport NavigationCityTest from '../../components/navigation/navigation-city-test';\nimport { RouteFormatter } from '../../routes';\nimport { apolloClient } from '../../services/graphql.service';\nimport RenderOtherTypes from '../listings/render-other-types';\nimport useMobileScreen from '../../services/hooks/useMobileScreen';\nimport SvgChevronRight from 'src/assets/svg/SvgChevronRight.svg';\nimport ListingsRouter from '../listings-router';\nimport SniffButton from '../../components/sniff-button';\nimport SniffAsSeen from '../../components/sniif-as-seen';\nimport FooterNew from '../../components/footer-new';\nimport Reviews from '../../components/reviews';\nimport SvgPin from 'src/assets/svg/SvgPin.svg';\nimport '../../../styles.scss';\nimport './city-content.scss';\nimport './city.scss';\n\nconst b = bemCn('seo-new');\n\nconst CTAButton = ({ city, stateShort, className = 'mt-4', exploreLink }) => (\n    <a href={exploreLink} rel=\"nofollow\">\n        <SniffButton size=\"lg\" block=\"mobile\" className={className}>\n            Explore spots in {city.name}, {stateShort.toUpperCase()}\n        </SniffButton>\n    </a>\n);\n\nconst NearbyCity = ({ isMobile, city }) => {\n    return (\n        <a href={RouteFormatter.listings({ first: city.url })} className=\"nearby-city\">\n            <SvgPin className=\"me-2\" />\n            <span className=\"snif-p snif-medium\">{city.name}</span>\n            {isMobile && <SvgChevronRight className=\"chev-r\" />}\n        </a>\n    );\n};\n\nconst SeoReviews = ({ city, subObj, cityReviews, subType, useEffect, useState, useRef, exploreLink }) => {\n    if (city?.reviews?.length == 0) {\n        return '';\n    }\n\n    return (\n        <div className=\"sniff-reviews\">\n            <div className=\"seo-container\">\n                <h2 className=\"snif-m2 snif-l2-pc snif-semibold mb-2 mb-md-4\">\n                    {`What people say about ${subType.title.toLowerCase()} around ${city.name}, ${city.state}`}\n                </h2>\n                <Reviews items={cityReviews} seoTest {...{ useEffect, useState, useRef }} />\n                <div className=\"text-center\">\n                    <CTAButton city={city} stateShort={city.stateShort} subObj={subObj} exploreLink={exploreLink} className=\"mt-1\" />\n                </div>\n            </div>\n        </div>\n    );\n};\n\nconst SeoFaqs = ({ myFaqs, city, subType }) => {\n    const faqs =\n        city?.faqs?.length > 0\n            ? city.faqs.map((c) => ({\n                  que: c.question,\n                  ans: () => <p dangerouslySetInnerHTML={{ __html: c.answer }} />,\n              }))\n            : myFaqs;\n\n    return (\n        <div className=\"sniff-faq\">\n            <div className=\"seo-container\">\n                <h2 className=\"snif-m2 snif-l2-pc snif-semibold mt-md-3 mb-3\">\n                    FAQ About {city.name} {subType.title}\n                </h2>\n                <div className=\"faqs-table\" itemScope itemType=\"https://schema.org/FAQPage\">\n                    {faqs.map((F, i) => (\n                        <div key={i} itemScope itemProp=\"mainEntity\" itemType=\"https://schema.org/Question\">\n                            <div className=\"snif-p snif-semibold mb-1\" itemProp=\"name\">\n                                {F.que}\n                            </div>\n                            <div className=\"snif-p snif-regular\" itemScope itemProp=\"acceptedAnswer\" itemType=\"https://schema.org/Answer\">\n                                <div itemProp=\"text\">\n                                    <F.ans />\n                                </div>\n                            </div>\n                        </div>\n                    ))}\n                </div>\n            </div>\n        </div>\n    );\n};\n\nconst SeoNearby = ({ city, subType }) => {\n    if (city.otherCities.length == 0) {\n        return '';\n    }\n\n    return (\n        <div className=\"sniff-nearby\">\n            <div className=\"seo-container\">\n                <h2 className=\"snif-m2 snif-l2-pc snif-semibold mb-2 mb-md-3\">Check out Sniffspot {subType.title.toLowerCase()} in nearby cities</h2>\n                <div className=\"d-md-flex\">\n                    {city.otherCities.map((c, i) => (\n                        <NearbyCity key={i} city={c} />\n                    ))}\n                </div>\n            </div>\n        </div>\n    );\n};\n\nconst SeoAction = ({ city, subObj, exploreLink }) => (\n    <div className=\"card-city action pt-4 pb-4\">\n        <h2 className=\"snif-m1 snif-l2-pc snif-semibold text-center mb-4 mt-md-3 mb-md-5\">Rent safe and private dog parks</h2>\n        <div className=\"text-center mb-md-3\">\n            <CTAButton city={city} stateShort={city.stateShort} subObj={subObj} exploreLink={exploreLink} />\n        </div>\n    </div>\n);\n\nconst CitySubPageSSR = ({ city, isMobileSSR: isMobile, subType, useEffect, useState, useRef }) => {\n    const cityReviews = city.reviews;\n    const subObj = SUB_TYPE_PARK_LISTINGS[subType?.id];\n\n    let myFaqs;\n\n    switch (subType.slug) {\n        case 'dog-water-parks':\n            myFaqs = seoSubsWaterFaqs(city);\n            break;\n        case 'fully-fenced-dog-parks':\n            myFaqs = seoSubsFencedFaqs(city);\n            break;\n        case 'dog-agility-parks':\n            myFaqs = seoSubsAgilityFaqs(city);\n            break;\n        case 'dog-fields':\n            myFaqs = seoSubsFieldFaqs(city);\n            break;\n        case 'dog-hiking-trails':\n            myFaqs = seoSubsHikingFaqs(city);\n            break;\n        case 'small-dog-parks':\n            myFaqs = seoSubsSmallFaqs(city);\n            break;\n        case 'indoor-dog-parks':\n            myFaqs = seoSubsIndoorFaqs(city);\n            break;\n        case 'dog-beaches':\n            myFaqs = seoSubsBeachFaqs(city);\n            break;\n        case 'dog-swimming-pools':\n            myFaqs = seoSubsPoolFaqs(city);\n            break;\n        default:\n            break;\n    }\n\n    const exploreLink = encodeURI(\n        RouteFormatter.listings(\n            { first: subObj.route },\n            {\n                query: {\n                    loc: `${city.name}, ${city.stateShort.toUpperCase() || city.stateUrl}`,\n                    lat: city.latitude || undefined,\n                    lng: city.longitude || undefined,\n                },\n            }\n        )\n    );\n\n    const getSpecificSpots = (item) => {\n        window.scrollTo({ top: 0, behavior: 'smooth' });\n        if (city.subpages.length) {\n            const subPage = city.subpages.find((s) => s.pageType === item.slug);\n            if (subPage) {\n                window.location = encodeURI(RouteFormatter.listings({ first: subPage.url }));\n                return;\n            }\n        }\n        window.location = item.link;\n    };\n\n    return (\n        <div className={b.mix('seo-cities')}>\n            <div className=\"l-container\">\n                <SniffAsSeen isMobileSSR={isMobile} useState={useState} />\n            </div>\n            <RenderWhyRentSubCity {...{ data: city, subType }} />\n            <RenderOtherTypes\n                {...{\n                    city,\n                    subObj,\n                    getSpecificSpots,\n                    seoSubCityType: true,\n                    isMobileSSR: isMobile,\n                    SSR: true,\n                    useState,\n                    useEffect,\n                }}\n            />\n            <SeoReviews\n                {...{\n                    city,\n                    cityReviews,\n                    subObj,\n                    subType,\n                    useEffect,\n                    useState,\n                    useRef,\n                    exploreLink,\n                }}\n            />\n            <RenderHowWorks {...{ isMobile, name: city?.name, subType }} />\n            <SeoFaqs {...{ myFaqs, city, subType }} />\n            <RenderAppDownloadCity />\n            <SeoNearby {...{ isMobile, city, subType }} />\n            <SeoAction {...{ city, subObj, exploreLink }} />\n            <RenderTopCities SSR {...{ isMobile }} />\n            <RenderTopState SSR {...{ isMobile }} />\n            <FooterNew {...{ isShowCities: false, isHome: true }} />\n        </div>\n    );\n};\n\nconst contentTest = { details: true, content: false };\n\nconst CitySubTestSsrClient = ({ data }) => {\n    const isMobileSSR = useMobileScreen();\n    const subType = SUB_TYPE_PARK.find((s) => s.type == data.pageType);\n    const idx = data.url.indexOf(subType?.slug);\n    const cityUrl = data.url.substring(0, idx - 1);\n    const listBread = subType ? seoSubListBread(data, subType?.title || '', cityUrl) : seoListBread(data);\n    const searchText = data ? `${data.name}, ${data.stateShort?.toUpperCase() || data.state}` : 'Search location';\n\n    return (\n        <Provider store={store}>\n            <ApolloProvider client={apolloClient}>\n                <React.Fragment>\n                    <BrowserRouter>\n                        <div className=\"wrapper\">\n                            <NavigationCityTest {...{ searchText }} />\n                            <Switch>\n                                <Route path={RouteFormatter.listings()}>\n                                    <ListingsRouter {...{ dataSSR: { ...data, listBread, contentTest } }} cityTest />\n                                    <div className=\"pt-5\" />\n                                    <CitySubPageSSR {...{ city: data, isMobileSSR, subType, useEffect, useRef, useState }} />\n                                </Route>\n                                <Route path={RouteFormatter.listings2()}>\n                                    <ListingsRouter {...{ dataSSR: { ...data, listBread, contentTest } }} cityTest />\n                                    <div className=\"pt-5\" />\n                                    <CitySubPageSSR {...{ city: data, isMobileSSR, subType, useEffect, useRef, useState }} />\n                                </Route>\n                            </Switch>\n                        </div>\n                    </BrowserRouter>\n                </React.Fragment>\n            </ApolloProvider>\n        </Provider>\n    );\n};\n\nexport default CitySubTestSsrClient;\n","import '../../../../../styles.scss';\nimport React, { useEffect } from 'react';\n\nimport { setFirstClick } from '../../../../helpers/firstClick';\nimport { AWS_STATIC_ASSET_HOST } from '../../../../consts/env.consts';\nimport useMutateHostSignup from '../../hooks/useMutateHostSignup';\nimport CitySubTestSsrClient from '../../../../pages/seo/city-sub-test-ssr-client';\nimport '../../../../helpers/firebase';\n\n// eslint-disable-next-line no-undef\n__webpack_public_path__ = `${AWS_STATIC_ASSET_HOST}/packs/`;\n\nconst SeoCity =\n    ({ city }, { pathname }) =>\n    () => {\n        useEffect(() => {\n            setFirstClick();\n        }, []);\n\n        return <CitySubTestSsrClient {...{ data: city, pathname, useMutateHostSignup }} />;\n    };\n\nexport default SeoCity;\n","import ReactOnRails from 'react-on-rails';\nimport SeoCitySubType from '../../bundles/SeoCitySubType/components/SeoCitySubType.client.jsx';\n\nReactOnRails.register({SeoCitySubType});\n"],"names":["SIGNUP_HOST","gql","_templateObject","useMutateHostSignup","_useMutation2","_slicedToArray","useMutation","mutateHostSignup","signUpError","error","b","bemCn","CTAButton","_ref","city","stateShort","_ref$className","className","exploreLink","React","href","rel","SniffButton","size","block","name","toUpperCase","NearbyCity","_ref2","isMobile","RouteFormatter","listings","first","url","SvgPin","SvgChevronRight","SeoReviews","_ref3","_city$reviews","subObj","cityReviews","subType","useEffect","useState","useRef","reviews","length","concat","title","toLowerCase","state","Reviews","items","seoTest","SeoFaqs","_ref4","_city$faqs","myFaqs","faqs","map","c","que","question","ans","dangerouslySetInnerHTML","__html","answer","itemScope","itemType","F","i","key","itemProp","SeoNearby","_ref5","otherCities","SeoAction","_ref6","CitySubPageSSR","_ref7","isMobileSSR","SUB_TYPE_PARK_LISTINGS","id","slug","seoSubsWaterFaqs","seoSubsFencedFaqs","seoSubsAgilityFaqs","seoSubsFieldFaqs","seoSubsHikingFaqs","seoSubsSmallFaqs","seoSubsIndoorFaqs","seoSubsBeachFaqs","seoSubsPoolFaqs","encodeURI","route","query","loc","stateUrl","lat","latitude","undefined","lng","longitude","mix","SniffAsSeen","RenderWhyRentSubCity","data","RenderOtherTypes","getSpecificSpots","item","window","scrollTo","top","behavior","subpages","subPage","find","s","pageType","location","link","seoSubCityType","SSR","RenderHowWorks","RenderAppDownloadCity","RenderTopCities","RenderTopState","FooterNew","isShowCities","isHome","contentTest","details","content","_ref8","_data$stateShort","useMobileScreen","SUB_TYPE_PARK","type","idx","indexOf","cityUrl","substring","listBread","seoSubListBread","seoListBread","searchText","Provider","store","ApolloProvider","client","apolloClient","BrowserRouter","NavigationCityTest","Switch","Route","path","ListingsRouter","dataSSR","_objectSpread","cityTest","listings2","__webpack_public_path__","AWS_STATIC_ASSET_HOST","pathname","setFirstClick","CitySubTestSsrClient","ReactOnRails","SeoCitySubType"],"sourceRoot":""}