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,EAAAA,cAAA,OAAKC,UAAU,iCACbD,EAAAA,cAAA,UACEuB,KAAK,SAELtB,UAAU,kPACVC,MAAO,CAAE3E,gBAAiBM,EAAiCuG,MAAOtG,IAEjEC,MAKTiE,EAAAA,cAAA,OAAKC,UAAU,0CAA0CC,MAAO,CAAE/D,YAAa,aAC9Ea,GACCgD,EAAAA,cAAA,OAAKC,UAAU,8BACbD,EAAAA,cAAA,OAAKC,UAAU,mCACbD,EAAAA,cAAA,OAAKC,UAAU,YACbD,EAAAA,cAAC+D,EAAAA,EAAQ,CACP9D,UAAU,+CACV+D,IAAKlH,EACL2D,IAAK5D,aAAwB,EAAxBA,EAA0BoH,WAInCjE,EAAAA,cAAA,OAAKC,UAAU,mDACbD,EAAAA,cAAA,KAAGC,UAAS,6BAAgCiE,wBAAyB,CAAEC,OAAQpH,OAGnFiD,EAAAA,cAAA,WACEA,EAAAA,cAAC+D,EAAAA,EAAQ,CACP9D,UAAU,gDACV+D,IAAKpH,EACL6D,IAAK9D,aAAsB,EAAtBA,EAAwBsH,QAE7BG,MAAO,CAAC,IAAK,SAuBrBpE,EAAAA,cAAA,OAAKC,UAAU,OAAOiE,wBAAyB,CAAEC,OAAQlH,KAEzD+C,EAAAA,cAACqE,EAAAA,EAAU,CACTtG,UAAWH,EACX0G,IAAK,mCACLC,mBArXoB,SAACC,GAC3B3G,EAAc2G,EAChB,EAoXQC,cAAe,WAAO,IAExBzE,EAAAA,cAAC0E,EAAAA,EAAK,CAAC3G,UAAWA,EAAWuG,IAAK,4BAA6BC,mBApX1C,SAACC,GAC1BxG,EAAawG,EACf,KAsXF,EAEA,W","sources":["webpack://www-differentdog-com/./src/components/ui-builder/footer-alternate/index.tsx"],"sourcesContent":["import ErrorToast from 'components/ui/toast/ErrorToast'\nimport Toast from 'components/ui/toast/Toast'\nimport CdnImage from 'components/util/CdnImage'\n// import CloudinaryImage from 'components/util/CloudinaryImage'\nimport { getCognitoId } from 'components/util/UserId'\nimport { internationalPhoneNumber, localPhoneNumberReadable } from 'constants/phone'\nimport { Link } from 'gatsby'\nimport { StaticImage } from 'gatsby-plugin-image'\nimport React, { useEffect, useState } from 'react'\nimport Api from 'state/apis/api'\n\nenum SocialPlatform {\n Facebook = 'Facebook',\n Instagram = 'Instagram',\n TikTok = 'TikTok'\n}\n\ninterface Item {\n itemText: string\n itemUrl: string\n itemColor: string\n}\n\ninterface Section {\n sectionHeading: string\n sectionHeadingColor: string\n items: Item[]\n}\n\ninterface SocialItem {\n type: SocialPlatform\n href: string\n}\n\ninterface Props {\n backgroundColor: string\n backgroundImage: any\n backgroundImageMobile: any\n logo: any\n sections: Section[]\n newsLetterButtonBackgroundColor: string\n newsLetterButtonTextColor: string\n newsLetterButtonText: string\n socials: SocialItem[]\n socialIconColor: string\n borderColor: string\n isLastName: boolean\n isFirstName: boolean\n newsletterHeading: string\n newsletterDescription: string\n newsletterDescriptionColor: string\n newsletterHeadingColor: string\n formFieldbg: string\n formFieldTextColor: string\n cloudinaryCertifyImage: any\n builderCertifyImage: any\n cloudinaryEuFundingImage: any\n builderEuFundingImage: any\n contentText: string\n isEUFunding: boolean\n euFundingImage: { desktopSrc: any; mobileSrc: any; alt: string }\n footerText: string\n addressText: string\n}\n\nexport const Footer = ({\n backgroundColor,\n backgroundImage = '',\n backgroundImageMobile,\n logo,\n sections,\n newsLetterButtonBackgroundColor,\n newsLetterButtonTextColor,\n newsLetterButtonText,\n socials,\n socialIconColor,\n borderColor,\n isFirstName,\n isLastName,\n newsletterHeading,\n newsletterDescription,\n newsletterDescriptionColor,\n newsletterHeadingColor,\n formFieldbg,\n formFieldTextColor,\n cloudinaryCertifyImage,\n builderCertifyImage,\n cloudinaryEuFundingImage,\n builderEuFundingImage,\n contentText,\n isEUFunding,\n euFundingImage,\n footerText,\n addressText\n}: Props) => {\n const [formData, setFormData] = useState({\n email: '',\n firstName: '',\n lastName: ''\n })\n const [errorToast, setErrorToast] = useState(false)\n const [showToast, setShowToast] = useState(false)\n const [cognitoId, setCognitoId] = useState('')\n const [isMobile, setIsMobile] = useState(false)\n\n useEffect(() => {\n const callIdsForGtag = async () => {\n setCognitoId(await getCognitoId())\n }\n callIdsForGtag()\n }, [])\n\n const handleWindowSizeChange = () => {\n if (window.innerWidth <= 768) {\n setIsMobile(true)\n } else {\n setIsMobile(false)\n }\n }\n\n useEffect(() => {\n handleWindowSizeChange()\n window.addEventListener('resize', handleWindowSizeChange)\n\n return () => {\n window.removeEventListener('resize', handleWindowSizeChange)\n }\n }, [])\n\n const handleSetErrorToast = (show: boolean) => {\n setErrorToast(show)\n }\n\n const handleSetShowToast = (show: boolean) => {\n setShowToast(show)\n }\n\n const handleSubmit = (e: any) => {\n e.preventDefault()\n const { email, firstName: name, lastName: surname } = formData\n Api.post('wwwREST', '/v1/public/email/signup', {\n body: {\n email,\n name,\n surname\n }\n })\n .then(() => {\n setFormData({\n email: '',\n firstName: '',\n lastName: ''\n })\n setShowToast(true)\n })\n .catch(() => {\n setErrorToast(true)\n })\n }\n console.log('== footer basic info', sections, socials)\n const mapColOne = sections[0]\n const mapColTwo = sections[1]\n const mapColThree = sections[2]\n const mapColFour = sections[3]\n\n const getSocialIcon = (item: SocialItem) => {\n if (item.type === SocialPlatform.Facebook) {\n return (\n \n \n \n )\n }\n\n if (item.type === SocialPlatform.Instagram) {\n return (\n \n \n \n )\n }\n\n if (item.type === SocialPlatform.TikTok) {\n return (\n \n \n \n )\n }\n }\n\n const FirstNameComp = () => {\n if (!isFirstName) return null\n return (\n <>\n \n {\n setFormData({ ...formData, firstName: e.target.value })\n }}\n />\n \n )\n }\n\n const LastNameComp = () => {\n if (!isLastName) return null\n return (\n <>\n \n {\n setFormData({ ...formData, lastName: e.target.value })\n }}\n />\n \n )\n }\n\n return (\n \n

\n Footer\n

\n
\n
\n
\n \n
\n
\n\n
\n
\n
\n

Talk to us:

\n \n {localPhoneNumberReadable}\n \n \n feedme@differentdog.com\n \n {addressText && (\n
\n

{addressText}

\n
\n )}\n
\n
\n {socials?.map((item, i) => (\n \n {item.type}\n {getSocialIcon(item)}\n \n ))}\n
\n
\n
\n
\n \n {mapColOne?.sectionHeading}\n

\n
    \n {mapColOne?.items?.map((item, i) => (\n
  • \n \n {item.itemText}\n \n
  • \n ))}\n
\n
\n
\n \n {mapColTwo?.sectionHeading}\n

\n
    \n {mapColTwo?.items?.map((item, i) => (\n
  • \n \n {item.itemText}\n \n
  • \n ))}\n
\n
\n
\n \n {mapColThree?.sectionHeading}\n

\n
    \n {mapColThree?.items?.map((item, i) => (\n
  • \n \n {item.itemText}\n \n
  • \n ))}\n
\n
\n {/* className=\"mt-12 md:mt-0\" */}\n
\n \n {mapColFour?.sectionHeading}\n

\n
    \n {mapColFour?.items?.map((item, i) => (\n
  • \n \n {item.itemText}\n \n
  • \n ))}\n
\n
\n
\n
\n\n {/* { newsletter row } */}\n \n
\n

\n {newsletterHeading}\n

\n

\n {newsletterDescription}\n

\n
\n
\n\n
\n
\n
\n {FirstNameComp()}\n {LastNameComp()}\n
\n \n {\n setFormData({ ...formData, email: e.target.value })\n }}\n />\n
\n \n {newsLetterButtonText}\n \n
\n
\n
\n
\n {isEUFunding && (\n
\n
\n
\n \n
\n
\n

\n
\n
\n
\n \n\n {/* {builderCertifyImage ? (\n \n ) : (\n \n )} */}\n
\n
\n )}\n
\n\n {}}\n />\n \n
\n \n )\n}\n\nexport default Footer\n"],"names":["SocialPlatform","Footer","_ref","_mapColOne$items","_mapColTwo$items","_mapColThree$items","_mapColFour$items","backgroundColor","_ref$backgroundImage","backgroundImage","backgroundImageMobile","sections","logo","newsLetterButtonBackgroundColor","newsLetterButtonTextColor","newsLetterButtonText","socials","isFirstName","socialIconColor","borderColor","isLastName","newsletterHeading","newsletterDescription","newsletterDescriptionColor","newsletterHeadingColor","formFieldTextColor","formFieldbg","cloudinaryCertifyImage","builderCertifyImage","cloudinaryEuFundingImage","builderEuFundingImage","contentText","isEUFunding","footerText","euFundingImage","addressText","_useState","useState","email","firstName","lastName","formData","setFormData","_useState2","errorToast","setErrorToast","_useState3","showToast","setShowToast","_useState4","cognitoId","setCognitoId","_useState5","isMobile","setIsMobile","useEffect","callIdsForGtag","_ref2","_asyncToGenerator","_regeneratorRuntime","_callee","_context","prev","next","t0","getCognitoId","t1","sent","stop","apply","arguments","handleWindowSizeChange","window","innerWidth","addEventListener","removeEventListener","mapColOne","mapColTwo","mapColThree","mapColFour","React","className","style","backgroundRepeat","backgroundSize","backgroundPosition","id","StaticImage","src","alt","maxWidth","placeholder","__imageData","require","href","internationalPhoneNumber","localPhoneNumberReadable","map","item","i","Link","key","to","type","Facebook","xmlns","width","height","viewBox","fill","fillRule","clipRule","d","Instagram","TikTok","getSocialIcon","color","sectionHeadingColor","sectionHeading","role","items","itemUrl","itemColor","itemText","includes","onSubmit","e","preventDefault","name","surname","Api","post","body","then","catch","htmlFor","required","value","onChange","Object","assign","target","autoComplete","CdnImage","url","altText","dangerouslySetInnerHTML","__html","steps","ErrorToast","msg","handleSetShowToast","show","handleOnClick","Toast"],"sourceRoot":""}