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IAAG,KAA8BmU,MAAAA,CAAxBA,EAASnU,KAAK,CAAC,EAAG,GAAG,KAAyBY,MAAA,CAAtBuT,EAASnU,KAAK,CAAC,EAAG,IACrF,SACE,MAAO,EACX,CACF,+KChBO,SAASgH,0BAA0BH,CAAa,EACrD,GAAI,CAACuN,EAAAA,EAAWA,CAACC,IAAI,CAACxN,GACpB,MAAO,GAAA9S,EAAAG,GAAA,EAAC4T,EAAAA,CAAKA,CAAAA,CAAC7S,MAAM,+DAExB,qBCZAqf,EAAAC,OAAA,EAAkB,mhBCAlBD,EAAAC,OAAA,EAAkB,mECAlBD,EAAAC,OAAA,EAAkB,imBCAlBD,EAAAC,OAAA,EAAkB,2DCAlBD,EAAAC,OAAA,EAAkB,weCAlBD,EAAAC,OAAA,EAAkB,+gBCAlBD,EAAAC,OAAA,EAAkB,ogBCAlBD,EAAAC,OAAA,EAAkB,siBCAlBD,EAAAC,OAAA,EAAkB,8qBCAlBD,EAAAC,OAAA,EAAkB,2jBCAlBD,EAAAC,OAAA,EAAkB,ipBCAlBD,EAAAC,OAAA,EAAkB,6oBCAlBD,EAAAC,OAAA,EAAkB,kkBCAlBD,EAAAC,OAAA,EAAkB,glBCAlBD,EAAAC,OAAA,EAAkB,ihBCAlBD,EAAAC,OAAA,EAAkB,+qBCAlBD,EAAAC,OAAA,EAAkB,ogBCAlBD,EAAAC,OAAA,EAAkB,4fCAlBD,EAAAC,OAAA,EAAkB,kgBCAlBD,EAAAC,OAAA,EAAkB,wCCAlBD,EAAAC,OAAA,EAAkB,ynBCAlBD,EAAAC,OAAA,EAAkB,yeCAlBD,EAAAC,OAAA,EAAkB,0nBCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./src/components/AZCustomComponent/WarrantyBadge/index.tsx","webpack://_N_E/./src/components/SignInModal/index.tsx","webpack://_N_E/./src/constants/rewards.ts","webpack://_N_E/./src/features/common/utils/getFAQSchema.ts","webpack://_N_E/./src/features/contentstack/components/CMSBannerCTA/CMSBannerCTA.tsx","webpack://_N_E/./src/features/contentstack/components/CMSButtonGrid/CMSButtonGrid.tsx","webpack://_N_E/./src/features/contentstack/components/CMSCategoryGrid/CategoryGridItem/CategoryGridItem.tsx","webpack://_N_E/./src/features/contentstack/components/CMSCategoryGrid/CMSCategoryGrid.tsx","webpack://_N_E/./src/features/contentstack/components/CMSFaq/FaqItem/FaqItem.tsx","webpack://_N_E/./src/features/contentstack/components/CMSFaq/CMSFaq.tsx","webpack://_N_E/./src/features/contentstack/components/CMSFeaturedContent/components/CMSFeaturedContentItem.tsx","webpack://_N_E/./src/features/contentstack/components/CMSFeaturedContent/CMSFeaturedContent.tsx","webpack://_N_E/./src/features/contentstack/components/CMSImageCategory/CMSImageCategory.tsx","webpack://_N_E/./src/features/contentstack/components/CMSImageContent/CMSImageContent.tsx","webpack://_N_E/./src/features/contentstack/components/CMSImageContentBackground/CMSImageContentBackground.tsx","webpack://_N_E/./src/features/contentstack/components/CMSImageVideoContent/CMSImageVideoContent.tsx","webpack://_N_E/./src/features/contentstack/components/CMSImageVideoSplit/CMSImageVideoSplit.tsx","webpack://_N_E/./src/features/contentstack/utils/isCMSButtonDefined.ts","webpack://_N_E/./src/features/contentstack/components/CMSLogoDescription/CMSLogoDescription.tsx","webpack://_N_E/./src/features/contentstack/components/CMSMediaContent/CMSMediaContent.tsx","webpack://_N_E/./src/features/contentstack/components/CMSMenuList/CMSMenuList.tsx","webpack://_N_E/./src/features/contentstack/components/CMSProductChart/ProductTable/HeaderCell/HeaderCell.tsx","webpack://_N_E/./src/features/contentstack/components/CMSProductChart/ProductTable/CTACell/CTACell.tsx","webpack://_N_E/./src/features/contentstack/components/CMSProductChart/ProductTable/ProductTable.tsx","webpack://_N_E/./src/features/contentstack/utils/typeGuards/isProductChartTable.ts","webpack://_N_E/./src/features/contentstack/components/CMSProductChart/CMSProductChart.tsx","webpack://_N_E/./src/features/contentstack/components/CMSProductTypeGrid/components/CMSProductCard.tsx","webpack://_N_E/./src/features/contentstack/components/CMSProductTypeGrid/CMSProductTypeGrid.tsx","webpack://_N_E/./src/features/contentstack/components/CMSRichText/CMSRichText.tsx","webpack://_N_E/./src/features/contentstack/components/CMSVideoContent/CMSVideoContent.tsx","webpack://_N_E/./src/features/contentstack/utils/isValidCMSImageContent.ts","webpack://_N_E/./src/features/sms-optin/api/postSMSOptin.ts","webpack://_N_E/./src/hooks/useIsOverflow.tsx","webpack://_N_E/./src/utils/analytics/legacyUtils/getPageName.ts","webpack://_N_E/./src/utils/analytics/legacyUtils/getSeoPageType.ts","webpack://_N_E/./src/utils/getWarrantyBadge.ts","webpack://_N_E/./src/utils/validator/normalizePhone.tsx","webpack://_N_E/./src/utils/validator/validateMobilePhoneNumber.tsx","webpack://_N_E/./src/components/AZCustomComponent/WarrantyBadge/styles.module.scss","webpack://_N_E/./src/components/SignInModal/styles.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSBannerCTA/CMSBannerCTA.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSButtonGrid/CMSButtonGrid.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSCategoryGrid/CMSCategoryGrid.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSCategoryGrid/CategoryGridItem/CategoryGridItem.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSFaq/CMSFaq.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSFaq/FaqItem/FaqItem.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSFeaturedContent/CMSFeaturedContent.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSFeaturedContent/components/CMSFeaturedContentItem.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSImageCategory/CMSImageCategory.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSImageContentBackground/CMSImageContentBackground.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSImageVideoContent/CMSImageVideoContent.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSImageVideoSplit/CMSImageVideoSplit.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSLogoDescription/CMSLogoDescription.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSMediaContent/CMSMediaContent.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSMenuList/CMSMenuList.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSProductChart/CMSProductChart.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSProductChart/ProductTable/CTACell/CTACell.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSProductChart/ProductTable/HeaderCell/HeaderCell.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSProductChart/ProductTable/ProductTable.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSProductTypeGrid/CMSProductTypeGrid.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSProductTypeGrid/components/CMSProductCard.module.scss","webpack://_N_E/./src/features/contentstack/components/CMSRichText/CMSRichText.module.scss","webpack://_N_E/"],"sourcesContent":["/**\n * Copyright 2019 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nimport cx from 'classnames';\nimport azCommonStyles from '../../../theme/globals.module.scss';\nimport NextImage from '@/components/NextImage';\nimport styles from './styles.module.scss';\nimport { getWarrantyBadge } from '../../../utils/getWarrantyBadge';\nimport { Button } from '@/components/Button';\nimport { useMediaQuery } from '@/hooks/useMediaQuery';\n\ntype WarrantyBadgeClasses = {\n root?: string;\n button?: string;\n icon?: string;\n label?: string;\n};\n\ntype Props = {\n warranty?: string;\n onClick?: () => void;\n classes?: WarrantyBadgeClasses;\n};\n\nconst WarrantyBadge = ({ warranty, onClick, classes = {} }: Props) => {\n const isMobile = useMediaQuery((theme) => theme.breakpoints.down('sm'));\n\n if (!warranty || warranty === '0 ano') {\n return null;\n }\n\n const maybeWarrantyNumber = warranty.split(' ')[0];\n const isWarrantyNumber = !isNaN(Number(maybeWarrantyNumber));\n const warrantyBadgeImgMetada = getWarrantyBadge(warranty);\n const warrantyMsg = isWarrantyNumber ? warranty.replace(maybeWarrantyNumber, '') : warranty;\n const badgeContents = (\n <>\n \n \n {warrantyMsg}\n \n \n );\n\n return (\n \n {onClick ? (\n \n {badgeContents}\n \n ) : (\n badgeContents\n )}\n \n );\n};\n\nexport default WarrantyBadge;\n","/**\n * Copyright 2021 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nimport { useCallback } from 'react';\nimport { useEffect, useState } from 'react';\nimport { useSelector } from 'react-redux';\nimport Modal from '@/components/Modal';\nimport { type ReduxState } from '../../types';\nimport { localStorage } from '@/utils/localStorage';\nimport dynamic from 'next/dynamic';\nimport { View } from '@az/starc-ui';\nimport { LoadingIndicator } from '@/components/AZCustomComponent/LoadingIndicator';\nimport styles from './styles.module.scss';\nimport type { TabIndexes } from './interface';\n\nconst LazyModalBody = dynamic(\n () => import('./components/ModalBody/ModalBody').then((mod) => mod.ModalBody),\n {\n ssr: false,\n loading: () => (\n \n \n \n ),\n }\n);\n\ntype Props = {\n isOpen: boolean;\n onClose(): void;\n activeTab: TabIndexes;\n setActiveTab: (a: TabIndexes) => void;\n id?: string;\n};\n\nexport default function SignInModal({ isOpen, onClose, activeTab, setActiveTab, id }: Props) {\n const [disableEscapeKeyDown, setDisableEscapeKeyDown] = useState(false);\n const { userAuthenticated } = useSelector(({ appData }) => appData) as any;\n const [showModalBody, setShowModalBody] = useState(isOpen);\n\n useEffect(() => {\n if (userAuthenticated) {\n onClose();\n }\n }, [userAuthenticated, onClose]);\n\n useEffect(() => {\n let timeout: NodeJS.Timeout | undefined;\n if (isOpen) {\n localStorage.setItem('signInModalSelectedTab', ['signIn', 'createAccount'][activeTab]);\n setShowModalBody(true);\n } else {\n timeout = setTimeout(() => setShowModalBody(false), 300);\n }\n\n return () => {\n clearTimeout(timeout);\n };\n }, [isOpen, activeTab]);\n\n const handleChangeTab = (event: any, activeTabIndex: TabIndexes) => {\n setActiveTab(activeTabIndex);\n };\n\n const setDisableEscapeKey = useCallback(\n () => setDisableEscapeKeyDown(true),\n [setDisableEscapeKeyDown]\n );\n\n const setEnableEscapeKey = useCallback(\n () => setDisableEscapeKeyDown(false),\n [setDisableEscapeKeyDown]\n );\n\n const handleCloseModal = () => {\n setEnableEscapeKey();\n onClose();\n };\n\n return !userAuthenticated ? (\n \n ) : null\n }\n />\n ) : null;\n}\n","/**\n * Copyright 2019 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nexport const rewardsConstants = {\n confirmation: 'confirmation',\n signin: 'signin',\n successMsg: 'successMsg',\n rewardsActivity: {\n Activity: 'Activity',\n Return: 'Return',\n },\n FAQ: 'FAQ',\n PROGRAM: 'PROGRAM',\n CREDIT: 'CREDIT',\n SUPPORT: 'SUPPORT',\n Back: 'Back',\n Submit: 'Submit',\n ORDERHISTORY: 'ORDERHISTORY',\n CITY: 'CITY',\n PHONE_NUMBER: 'PHONE_NUMBER',\n ZIP_CODE: 'ZIP_CODE',\n LAST_NAME: 'LAST_NAME',\n FIRST_NAME: 'FIRST_NAME',\n iconNotes: 'icon-notes.svg',\n iconNotesV2: 'notes_icon.svg',\n iconReward: 'group.svg',\n shoppingCartCreateAccount: 'shopping-cart-create-account.svg',\n profileIconCreateAccount: 'profile-icon-create-account.svg',\n carIconCreateAccount: 'car-icon-create-account.png',\n questionLabel: 'Choose a Security Question',\n adjustment: 'Adjustment',\n};\n","/**\n * Copyright 2024 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\ntype FAQPageSchema = {\n '@context': 'https://schema.org';\n '@type': 'FAQPage';\n mainEntity: Array<{\n '@type': 'Question';\n name: string;\n acceptedAnswer: {\n '@type': 'Answer';\n text: string;\n };\n }>;\n};\n\ntype Question = {\n question: string;\n answer: string;\n};\n\nexport const getFAQSchema = (questions: Question[]): FAQPageSchema => {\n return {\n '@context': 'https://schema.org',\n '@type': 'FAQPage',\n mainEntity: questions.map((item) => ({\n '@type': 'Question',\n name: item.question,\n acceptedAnswer: {\n '@type': 'Answer',\n text: item.answer,\n },\n })),\n };\n};\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nimport { useContext, useState } from 'react';\nimport type { ContentStackBannerCta, ContentStackButton, SizePerDevice } from '../../interface';\nimport { Grid } from '@/components/Grid';\nimport { CMSImage } from '../CMSImage/CMSImage';\nimport styles from './CMSBannerCTA.module.scss';\nimport { Legal } from '@/components/AZCustomComponent/Legal';\nimport { useStreamLineSignIn } from '@/hooks/useStreamLineSignIn';\nimport { mapContentstackLegalValues } from '@/utils/mapContentstackLegalValues';\nimport SignInModal from '@/components/SignInModal';\nimport type { TabIndexes } from '@/components/SignInModal/interface';\nimport SignInModalV2 from '@/components/SignInModalV2';\nimport { Button } from '@az/starc-ui';\nimport { SignInFlowTypeContext } from '@/components/SignInFlowTypeContext';\nimport { SearchStoreModal } from '@/components/Store/StoreModal/SearchStoreModal';\nimport { LinkRewardsContext } from '@/components/LinkRewardsContext';\nimport actionConstants from '@/types/action';\nimport { useMyProfile } from '@/features/myProfile/api/getMyProfile';\n\ntype Props = {\n content: ContentStackBannerCta;\n priority?: boolean;\n};\n\nconst sizePerDevice: SizePerDevice = {\n mobile: {\n width: 576,\n height: 1432,\n },\n tablet: {\n width: 1376,\n height: 510,\n },\n desktop: {\n width: 2200,\n height: 574,\n },\n};\n\nexport function CMSBannerCTA({ content, priority }: Props) {\n const { setModalReadyStatus, showRewardSigninView } = useContext(LinkRewardsContext);\n const { image, legal, button, main_image_position } = content;\n const [storeModalOpen, setStoreModalOpen] = useState(false);\n const toggleStoreModal = () => {\n setStoreModalOpen((s) => !s);\n };\n const { data: userData } = useMyProfile();\n\n const isSignInV2Enabled = useStreamLineSignIn();\n\n const [open, setOpen] = useState(false);\n const [activeTab, setActiveTab] = useState(0);\n const { setFlowTypeFn, setIsSignInModalOpened } = useContext(SignInFlowTypeContext);\n\n const handleStandaloneRewards = (id: string) => {\n if (id.includes('Join')) {\n showRewardSigninView(true);\n setModalReadyStatus(actionConstants.SIGN_ME_UP_FORM);\n return;\n }\n\n showRewardSigninView(true);\n setModalReadyStatus(actionConstants.LINK_REWARDS_ACC);\n };\n\n const handleModalOpen = (id: string) => {\n if (userData?.userType === 4) {\n return handleStandaloneRewards(id);\n }\n if (id === '##search-store-modal') {\n toggleStoreModal();\n return;\n }\n if (isSignInV2Enabled) {\n setFlowTypeFn('login');\n }\n setIsSignInModalOpened(true);\n setActiveTab(id === '##sign_in' ? 0 : 1);\n setOpen(true);\n };\n\n const handleModalClose = () => {\n setOpen(false);\n setIsSignInModalOpened(false);\n };\n\n return (\n <>\n \n {image && (\n
\n \n
\n )}\n \n \n {/* for some reason button has ContentStackButton type instead of ContentStackButton[] */}\n {(button as unknown as ContentStackButton[]).map(({ theme, link }, i) => (\n \n {link && (\n >)\n : undefined\n }\n onClick={() => handleModalOpen(link.href)}\n >\n {link.title}\n \n )}\n \n ))}\n \n {legal && }\n \n {isSignInV2Enabled ? (\n \n ) : (\n \n )}\n \n {storeModalOpen ? : null}\n \n );\n}\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nimport React from 'react';\nimport cx from 'classnames';\nimport { type ContentStackButton, type ContentStackButtonGrid } from '../../interface';\nimport { CMSButton } from '../CMSButton/CMSButton';\nimport { Grid } from '@/components/Grid';\nimport styles from './CMSButtonGrid.module.scss';\n\ntype Props = {\n content: ContentStackButtonGrid;\n};\n\nexport const CMSButtonGrid = ({ content }: Props) => {\n return (\n \n {(content.button as unknown as ContentStackButton[] | undefined)?.map(\n (button: ContentStackButton, i) => (\n \n \n \n )\n )}\n \n );\n};\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nimport React, { Fragment } from 'react';\nimport { Grid } from '@/components/Grid';\nimport { Text, type TextProps } from '@az/starc-ui';\nimport { type ContentStackImage, type ContentStackLink } from '../../../interface/content-types';\nimport { CMSLink } from '../../CMSLink/CMSLink';\nimport styles from './CategoryGridItem.module.scss';\nimport { useResponsiveImageData } from '../../../hooks/useResponsiveImageData';\nimport { Picture } from '@/components/Picture/Picture';\nimport { useMediaQuery } from '@/hooks/useMediaQuery';\n\ntype Props = {\n image?: ContentStackImage;\n links?: ContentStackLink[];\n};\n\nconst sizePerDevice = {\n desktop: {\n width: 'auto',\n height: 200,\n },\n tablet: {\n width: 'auto',\n height: 140,\n },\n mobile: {\n width: 'auto',\n height: 200,\n },\n};\n\ntype GetLinkFontSizeOptions = {\n isMobile: boolean;\n i: number;\n};\n\nconst getLinkFontSize = ({ isMobile, i }: GetLinkFontSizeOptions): TextProps['size'] => {\n if (i === 0) {\n return '175';\n }\n\n return isMobile ? '087' : '100';\n};\n\nexport function CategoryGridItem({ image, links }: Props) {\n const imageData = useResponsiveImageData({ image, sizePerDevice });\n const isMobile = useMediaQuery((theme) => theme.breakpoints.down('sm'));\n\n return (\n \n \n {links?.map(({ href, title }, i) => {\n const variant: TextProps['variant'] = i === 0 ? 'display-3' : 'text-link';\n const decoration: TextProps['decoration'] = i === 0 ? undefined : 'underline';\n const textCase: TextProps['textCase'] = i === 0 ? 'uppercase' : 'capitalize';\n const linkFontSize = getLinkFontSize({ isMobile, i });\n return (\n \n \n \n {title}\n \n \n \n );\n })}\n \n );\n}\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nimport React from 'react';\nimport { type ContentStackCategoryGrid } from '../../interface';\nimport { Grid } from '@/components/Grid';\nimport { CategoryGridItem } from './CategoryGridItem/CategoryGridItem';\nimport styles from './CMSCategoryGrid.module.scss';\nimport { CMSHeadline } from '../CMSHeadline/CMSHeadline';\n\ntype Props = {\n content: ContentStackCategoryGrid;\n};\n\nfunction chunk(arr: T[] | undefined, size: number): T[][] | undefined {\n if (!arr) return;\n\n const result: T[][] = [];\n for (let i = 0; i < arr.length; i += size) {\n result.push(arr.slice(i, i + size));\n }\n\n return result;\n}\n\nexport function CMSCategoryGrid({ content }: Props) {\n const { headline, tool_content: toolContent } = content;\n\n const rows = chunk(toolContent, 4) ?? [];\n\n return (\n \n {headline}\n \n {rows.map((row, i) => (\n \n {row.map(({ image, link: links }, i) => (\n \n ))}\n \n ))}\n \n \n );\n}\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nimport { Accordion, Text } from '@az/starc-ui';\nimport { Grid } from '@/components/Grid';\nimport cx from 'classnames';\nimport styles from './FaqItem.module.scss';\n\ntype Props = {\n question: string;\n answer: string;\n isGridTheme: boolean;\n};\n\nexport const FaqItem = ({ isGridTheme, question, answer }: Props) => {\n if (isGridTheme) {\n return (\n \n \n {question}\n \n \n {null}\n \n \n );\n }\n\n return (\n \n \n {null}\n \n \n );\n};\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nimport { AccordionGroup, View } from '@az/starc-ui';\nimport { useLabels } from '@/hooks/useLabels';\nimport type { ContentStackFaq } from '../../interface';\nimport { Grid } from '@/components/Grid';\nimport { FaqItem } from './FaqItem/FaqItem';\nimport styles from './CMSFaq.module.scss';\nimport { CMSHeadline } from '../CMSHeadline/CMSHeadline';\nimport Head from 'next/head';\nimport { useMemo } from 'react';\nimport { getFAQSchema } from '@/features/common/utils/getFAQSchema';\n\nconst labelMap = {\n frequentlyAskedQuestions: 'label_Rewards_FAQ_FrequentlyAskedQuestions',\n};\n\ntype Props = {\n content: ContentStackFaq;\n};\n\ntype WrapperProps = {\n children: React.ReactNode[];\n isGridTheme: boolean;\n};\n\nconst Wrapper = ({ children, isGridTheme }: WrapperProps) => {\n if (isGridTheme) {\n return (\n \n {children}\n \n );\n }\n\n return {children};\n};\n\nexport const CMSFaq = ({ content }: Props) => {\n const { faq, theme, heading } = content;\n const { frequentlyAskedQuestions } = useLabels(labelMap);\n const faqHeading = heading || frequentlyAskedQuestions;\n const isGridTheme = theme === 'Grid View';\n\n const schema = useMemo(() => {\n if (!faq) return null;\n return JSON.stringify(getFAQSchema(faq));\n }, [faq]);\n\n if (!faq?.length) return null;\n\n return (\n \n {schema && (\n \n \n \n )}\n {faqHeading}\n \n {faq.map(({ question, answer }) => (\n \n ))}\n \n \n );\n};\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nimport React from 'react';\nimport { Text, type TextProps, View } from '@az/starc-ui';\nimport { type ContentStackFeaturedContent } from '../../../interface';\nimport { CMSImage } from '../../CMSImage/CMSImage';\nimport styles from './CMSFeaturedContentItem.module.scss';\nimport { CMSLink } from '../../CMSLink/CMSLink';\n\ntype Props = NonNullable[number] & {\n textColor: TextProps['color'];\n direction: TextProps['align'];\n};\n\nexport function CMSFeaturedContentItem({\n heading,\n description,\n image,\n textColor,\n direction,\n link,\n}: Props) {\n const content = (\n <>\n {image?.image_url && (\n \n \n \n )}\n {heading && (\n \n {heading}\n \n )}\n {description && (\n \n {description}\n \n )}\n \n );\n\n return link ? (\n \n {content}\n \n ) : (\n {content}\n );\n}\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nimport React from 'react';\nimport { type TextProps, View } from '@az/starc-ui';\nimport { type ContentStackFeaturedContent } from '../../interface';\nimport { CMSFeaturedContentItem } from './components/CMSFeaturedContentItem';\nimport { Legal } from '@/components/AZCustomComponent/Legal';\nimport { mapContentstackLegalValues } from '@/utils/mapContentstackLegalValues';\nimport { CMSHeadline } from '../CMSHeadline/CMSHeadline';\nimport styles from './CMSFeaturedContent.module.scss';\nimport cx from 'classnames';\nimport { useMediaQuery } from '@/hooks/useMediaQuery';\n\ntype Props = {\n content: ContentStackFeaturedContent;\n};\n\nexport function CMSFeaturedContent({ content }: Props) {\n const {\n headline,\n headline_underline = false,\n background_color,\n feature_content,\n legal,\n headline_position,\n layout,\n } = content;\n const isMobile = useMediaQuery((theme) => theme.breakpoints.down('sm'));\n const hasBackgroundColor = !!background_color?.hex && background_color?.hex !== '#ffffff';\n const textColor: TextProps['color'] = hasBackgroundColor ? 'secondary' : 'primary';\n\n if (!feature_content) {\n return null;\n }\n\n return (\n \n {headline && (\n \n {headline}\n \n )}\n \n {feature_content?.length && feature_content?.length > 1 ? (\n feature_content?.map((item, i) => (\n
\n \n
\n ))\n ) : (\n \n )}\n \n {legal && (\n \n \n \n )}\n \n );\n}\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nimport { Grid } from '@/components/Grid';\nimport styles from './CMSImageCategory.module.scss';\nimport azCommonStyles from '@/theme/globals.module.scss';\nimport { CMSLink } from '../CMSLink/CMSLink';\nimport { CMSImage } from '../CMSImage/CMSImage';\nimport type { ContentStackImageCategoryGrid, SizePerDevice } from '../../interface';\nimport { CMSHeadline } from '../CMSHeadline/CMSHeadline';\n\ntype Props = {\n content: ContentStackImageCategoryGrid;\n};\n\nconst sizePerDevice: SizePerDevice = {\n desktop: {\n width: 150,\n height: 145,\n },\n tablet: {\n width: 106,\n height: 103,\n },\n mobile: {\n width: 200,\n height: 160,\n },\n};\n\nexport function CMSImageCategory({ content }: Props) {\n const { headline, image_direction, image, tool_content } = content;\n\n return (\n \n {headline}\n \n
\n {image && }\n
\n
\n \n {tool_content?.map((tool, i) => {\n return (\n \n \n {tool.image && (\n
\n \n
\n )}\n
\n \n {tool.link?.map((link, index) => (\n \n \n {link.title}\n \n \n ))}\n \n \n );\n })}\n \n
\n
\n \n );\n}\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nimport React from 'react';\nimport { type ContentStackImageContent } from '../../interface';\nimport { CMSImage } from '../CMSImage/CMSImage';\nimport { CMSMediaContent } from '../CMSMediaContent/CMSMediaContent';\n\ntype Props = {\n content: ContentStackImageContent;\n};\n\nexport function CMSImageContent({ content }: Props) {\n const options = {\n button: content.button,\n description: content.description,\n direction: content.image_direction,\n heading: content.heading,\n heading_underline: content.heading_underline,\n mobile_number: content.mobile_number,\n button_text: content.button_text,\n };\n return (\n }\n />\n );\n}\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nimport { View } from '@az/starc-ui';\nimport cx from 'classnames';\nimport { type ContentStackImageContentBackground } from '../../interface';\nimport styles from './CMSImageContentBackground.module.scss';\nimport { CMSImage } from '../CMSImage/CMSImage';\nimport { CMSButton } from '../CMSButton/CMSButton';\nimport { CMSHeadline } from '../CMSHeadline/CMSHeadline';\n\ntype Props = {\n content: ContentStackImageContentBackground;\n};\n\nexport const CMSImageContentBackground = ({ content }: Props) => {\n const {\n background_color: backgroundColor,\n image,\n heading,\n description,\n button,\n image_direction: direction,\n } = content;\n const customStyles: React.CSSProperties = {\n '--background-color': backgroundColor?.hex,\n } as React.CSSProperties;\n\n return (\n \n {image && (\n \n \n \n \n )}\n \n \n {heading}\n \n \n {button?.link?.title && (\n \n \n \n )}\n \n \n );\n};\n","/**\n * Copyright 2024 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nimport { Text, View, Stack, ArrowRight, Link } from '@az/starc-ui';\nimport type { ContentStackImageVideoSplit } from '../../interface';\nimport styles from './CMSImageVideoContent.module.scss';\nimport { CMSImage } from '../CMSImage/CMSImage';\nimport { CMSLink } from '../CMSLink/CMSLink';\n\ntype Props = {\n content: NonNullable[number];\n};\n\nexport const CMSImageVideoContent = ({ content }: Props) => {\n const { video, image, heading, description, ...optionalProps } = content;\n const ctaLink = 'link_cta' in optionalProps ? optionalProps.link_cta : undefined;\n const imageTargetLink =\n 'image_target_link' in optionalProps ? optionalProps.image_target_link : undefined;\n const posterImg = video?.poster_image\n ? video.poster_image\n : '/images/video-default-poster-gray.svg';\n\n return (\n \n {image?.image_url ? (\n imageTargetLink ? (\n \n \n \n ) : (\n \n )\n ) : video?.video_url ? (\n \n ) : null}\n \n {heading && (\n \n {heading}\n \n )}\n {description && (\n \n {description}\n \n )}\n \n {ctaLink?.href && ctaLink.title && (\n \n {ctaLink.title}\n \n )}\n \n );\n};\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nimport { View, Stack } from '@az/starc-ui';\nimport { type ContentStackImageVideoSplit } from '../../interface';\nimport styles from './CMSImageVideoSplit.module.scss';\nimport { CMSHeadline } from '../CMSHeadline/CMSHeadline';\nimport { CMSImageVideoContent } from '../CMSImageVideoContent/CMSImageVideoContent';\nimport React from 'react';\n\ntype Props = {\n content: ContentStackImageVideoSplit;\n};\n\nexport const CMSImageVideoSplit = ({ content }: Props) => {\n const { headline, split_content } = content;\n return (\n \n {headline}\n \n {split_content?.map((imageContent, index) => (\n \n {}\n \n ))}\n \n \n );\n};\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nconst REQUIRED_PROPS = ['theme', 'link'];\n\nconst isCMSButtonDefined = (button: unknown) =>\n !!button &&\n typeof button === 'object' &&\n REQUIRED_PROPS.every((property) => property in button && button[property as keyof typeof button]);\n\nexport { isCMSButtonDefined };\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nimport React from 'react';\nimport { Stack } from '@az/starc-ui';\nimport { type ContentStackLogoDescription } from '../../interface';\nimport { CMSImage } from '../CMSImage/CMSImage';\nimport styles from './CMSLogoDescription.module.scss';\nimport { CMSButton } from '../CMSButton/CMSButton';\nimport { isCMSButtonDefined } from '../../utils/isCMSButtonDefined';\n\ntype Props = {\n content: ContentStackLogoDescription;\n};\n\nexport function CMSLogoDescription({ content }: Props) {\n const { headline, image, description, button, alignment = 'Center' } = content;\n\n return (\n \n \n {headline ?

{headline}

: null}\n {image ? : null}\n
\n\n {description ? (\n
\n ) : null}\n {button && isCMSButtonDefined(button) && }\n \n );\n}\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nimport React, { useCallback, useState } from 'react';\nimport { Grid } from '@/components/Grid';\nimport { CMSButton } from '../CMSButton/CMSButton';\nimport { type ContentStackButton, type ContentStackImageContent } from '../../interface';\nimport styles from './CMSMediaContent.module.scss';\nimport { CMSHeadline } from '../CMSHeadline/CMSHeadline';\nimport cx from 'classnames';\nimport { Button, FormControl, TextField } from '@az/starc-ui';\nimport { useSMSOptinMutation } from '@/features/sms-optin/api/postSMSOptin';\nimport { validateMobilePhoneNumber } from '@/utils/validator/validateMobilePhoneNumber';\nimport { validateRequired } from '@/utils/validator/validateRequired/validateRequired';\nimport { normalizePhone } from '@/utils/validator/normalizePhone';\nimport { useLabels } from '@/hooks/useLabels';\nimport { Label } from '@/features/i18n';\n\ntype Options = {\n button: ContentStackImageContent['button'];\n heading: ContentStackImageContent['heading'];\n heading_underline: ContentStackImageContent['heading_underline'];\n direction: ContentStackImageContent['image_direction'];\n description: ContentStackImageContent['description'];\n mobile_number?: ContentStackImageContent['mobile_number'];\n button_text?: ContentStackImageContent['button_text'];\n};\n\ntype Props = {\n options: Options;\n mediaElement: React.ReactNode;\n};\n\nconst inputMobile = {\n lblInputMobileNumber: 'optin_input_mobileNumber',\n};\n\nexport function CMSMediaContent({ options, mediaElement }: Props) {\n const {\n heading,\n heading_underline,\n description,\n button,\n direction: csDirection,\n mobile_number,\n button_text,\n } = options;\n\n const { mutate: submitSMSOptin, isLoading, isError, isSuccess, reset } = useSMSOptinMutation();\n const direction = csDirection === 'Left' ? 'row-reverse' : 'row';\n const labels = useLabels(inputMobile);\n\n const [errorElement, setErrorElement] = useState();\n const [inputValue, setInputValue] = useState('');\n\n const onInputValueChange = useCallback(\n (value: string) => {\n reset();\n setErrorElement(null);\n setInputValue(normalizePhone(value));\n },\n [reset]\n );\n\n const onSubmit = useCallback(() => {\n const errorElement =\n validateRequired(inputValue, 'error_Common_Validation_MobileNumberRequired') ||\n validateMobilePhoneNumber(inputValue);\n\n if (!errorElement) {\n const data = {\n email: '',\n firstName: '',\n lastName: '',\n zip: '',\n phoneNumber: inputValue,\n };\n submitSMSOptin({ values: data });\n }\n setErrorElement(errorElement);\n }, [inputValue, submitSMSOptin]);\n\n return (\n \n \n \n {heading && (\n \n {heading}\n \n )}\n \n
\n \n {mobile_number && (\n \n
\n \n \n {errorElement || \n \n \n
\n \n {button_text}\n \n
\n )}\n \n {(button as unknown as ContentStackButton[] | undefined)?.map(\n (button: ContentStackButton, i) => (\n \n \n \n )\n )}\n \n \n \n \n {mediaElement}\n \n \n );\n}\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nimport { View, Link } from '@az/starc-ui';\nimport type { ContentStackMenuList } from '../../interface';\nimport styles from './CMSMenuList.module.scss';\n\ntype Props = {\n content: ContentStackMenuList;\n};\n\nexport const CMSMenuList = ({ content }: Props) => (\n \n {content.menu_link.map((item, index) => (\n \n {item.title}\n \n ))}\n \n);\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nimport { Table } from '@az/starc-ui';\nimport { CMSImage } from '../../../CMSImage/CMSImage';\nimport { type ContentStackProductChart } from '../../../../interface';\nimport { CMSLink } from '../../../CMSLink/CMSLink';\nimport styles from './HeaderCell.module.scss';\n\ntype Props = {\n product: NonNullable[number];\n readonly id: string;\n};\n\nconst sizePerDevice = {\n mobile: {\n width: 130,\n height: 130,\n },\n tablet: {\n width: 160,\n height: 160,\n },\n desktop: {\n width: 180,\n height: 180,\n },\n};\n\nexport const HeaderCell = ({ product, id }: Props) => (\n \n {product.image && product.link ? (\n \n \n \n ) : product.image ? (\n \n ) : null}\n \n);\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nimport { Legal } from '@/components/AZCustomComponent/Legal';\nimport { mapContentstackLegalValues } from '@/utils/mapContentstackLegalValues';\nimport { View, Table } from '@az/starc-ui';\nimport { type ContentStackProductChart } from '../../../../interface';\nimport { CMSButton } from '../../../CMSButton/CMSButton';\nimport styles from './CTACell.module.scss';\n\ntype Props = {\n className: string;\n product: NonNullable[number];\n};\n\nexport const CTACell = ({ className, product: { image, button, legal } }: Props) => (\n \n {legal && (\n \n \n \n )}\n {button?.link?.title && (\n \n )}\n \n);\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nimport { View, Table, Text } from '@az/starc-ui';\nimport {\n type ContentStackProductChart,\n type ContentStackProductChartTable,\n} from '../../../interface';\nimport styles from './ProductTable.module.scss';\nimport { HeaderCell } from './HeaderCell/HeaderCell';\nimport { CTACell } from './CTACell/CTACell';\nimport { useRef } from 'react';\nimport useIsOverflow from '@/hooks/useIsOverflow';\n\ntype Props = {\n tableData: ContentStackProductChartTable;\n productsToCompare: ContentStackProductChart['product'];\n accentColor: ContentStackProductChart['table_color'];\n tableId: string;\n};\n\nconst decodeHtmlChar = (str: string) => {\n if (typeof str !== 'string') return str;\n return str.replace(/&/g, '&');\n};\n\nexport const ProductTable = ({ tableData, productsToCompare, accentColor, tableId }: Props) => {\n const {\n tableState: { data },\n } = tableData;\n const tableContainerRef = useRef(null);\n const isTableContainerOverflown = useIsOverflow(tableContainerRef, false);\n const customStyles = {\n '--table-background-accent': accentColor === 'Blue' ? '#dfe5ee' : '#E6E6E6',\n };\n\n return (\n \n \n \n \n \n {productsToCompare?.map((_, index) => (\n \n ))}\n \n \n \n \n {productsToCompare?.map((product, index) => (\n \n ))}\n \n \n \n {data.map((row, index) => (\n \n {Object.values(row).map((cell, cellIndex) => (\n \n \n {typeof cell === 'string' ? decodeHtmlChar(cell) : cell}\n \n \n ))}\n \n ))}\n \n \n {productsToCompare?.map((product, index) => (\n \n ))}\n \n \n
\n
\n {isTableContainerOverflown && }\n \n );\n};\n","/**\n * Copyright 2024 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nimport type { ContentStackProductChartTable } from '../../interface/models';\n\nexport const isProductChartTable = (obj: unknown): obj is ContentStackProductChartTable =>\n !!obj &&\n typeof obj === 'object' &&\n 'tableState' in obj &&\n typeof obj.tableState === 'object' &&\n !!obj.tableState &&\n 'data' in obj.tableState;\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nimport { View } from '@az/starc-ui';\nimport { CMSHeadline } from '../CMSHeadline/CMSHeadline';\nimport { ProductTable } from './ProductTable/ProductTable';\nimport { Legal } from '@/components/AZCustomComponent/Legal';\nimport { mapContentstackLegalValues } from '@/utils/mapContentstackLegalValues';\nimport styles from './CMSProductChart.module.scss';\nimport type { ContentStackProductChart } from '../../interface';\nimport { isProductChartTable } from '../../utils/typeGuards/isProductChartTable';\n\ntype Props = {\n content: ContentStackProductChart;\n};\n\nexport const CMSProductChart = ({ content }: Props) => {\n const { heading, sub_heading, product_table, product, legal, table_color, title } = content;\n\n return (\n \n {heading && (\n \n \n {heading}\n \n \n )}\n {isProductChartTable(product_table) && (\n \n )}\n {legal && (\n \n \n \n )}\n \n );\n};\n","/**\n * Copyright 2020 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nimport { CMSButton } from '../../CMSButton/CMSButton';\nimport type { ContentStackProductGrid } from '../../../interface/content-types';\nimport styles from './CMSProductCard.module.scss';\nimport WarrantyBadge from '@/components/AZCustomComponent/WarrantyBadge';\nimport { CMSLink } from '../../CMSLink/CMSLink';\nimport { useLabel } from '@/hooks/useLabels';\nimport { CMSImage } from '../../CMSImage/CMSImage';\nimport { type ViewProps } from '@az/starc-ui';\n\ntype CSProduct = Exclude[0];\ntype Props = {\n product: CSProduct;\n detailsAlignment: ContentStackProductGrid['product_details_alignment'];\n};\n\nconst warrantyText: Record, string> = {\n One: '1',\n Two: '2',\n Three: '3',\n Four: '4',\n Five: '5',\n};\n\nconst classNameForDetailAlignment: Record<\n Exclude,\n string\n> = {\n Left: styles.contentLeftAligned,\n Center: styles.contentCenterAligned,\n};\n\nexport const CMSProductCard = (props: Props) => {\n const { product, detailsAlignment = 'Center' } = props;\n const yearWarrantyLabel = useLabel('label_MyWarrantiesDetails_YearWarranty');\n const buttonAlignment: ViewProps<'div'>['justify'] =\n detailsAlignment === 'Center' ? 'center' : 'start';\n const maybeLinkChildren = (\n <>\n {product.image && }\n

{product.product_name}

\n

{product.product_description}

\n {product.warranty ? (\n \n ) : null}\n \n );\n const commonProps = {\n className: styles.productCardLink,\n };\n\n return (\n \n {product.link ? (\n \n {maybeLinkChildren}\n \n ) : (\n
{maybeLinkChildren}
\n )}\n {product.button?.theme ? (\n \n ) : null}\n
\n );\n};\n","/**\n * Copyright 2020 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nimport type { ContentStackProductGrid } from '../../interface/content-types';\nimport { CMSHeadline } from '../CMSHeadline/CMSHeadline';\nimport { Grid } from '@/components/Grid';\nimport { CMSProductCard } from './components/CMSProductCard';\nimport styles from './CMSProductTypeGrid.module.scss';\n\ntype Props = {\n content: ContentStackProductGrid;\n gridIndex: number;\n};\n\nconst gridSpacingForLayout: Record = {\n Two: 6,\n Three: 4,\n Four: 3,\n};\n\nexport const CMSProductTypeGrid = (props: Props) => {\n const { content, gridIndex } = props;\n return (\n
\n {content.headline ? (\n \n {content.headline}\n \n ) : null}\n \n {content.product_card?.map((singleProduct) => (\n \n \n \n ))}\n \n
\n );\n};\n","/**\n * Copyright 2020 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nimport cx from 'classnames';\nimport type { ContentStackRichTextEditor } from '../../interface/content-types';\nimport styles from './CMSRichText.module.scss';\nimport { Text, View, classNames } from '@az/starc-ui';\nimport { useRouter } from 'next/router';\nimport { CMSHeadline } from '../CMSHeadline/CMSHeadline';\n\ntype Props = {\n content: ContentStackRichTextEditor;\n};\n\nexport const CMSRichText = ({ content }: Props) => {\n const { query } = useRouter();\n const isMXorBRCircularPage = query.pageName === 'folleto' || query.pageName === 'folheto';\n const description_background = content.description_background ?? 'None';\n\n const sectionClassName = classNames(\n description_background.match(/Padding/) && styles.padding,\n description_background.match(/Background[ ]?Color/) && styles.background,\n isMXorBRCircularPage && styles.circularPage\n );\n\n const headlineClassName = cx(styles.headline, {\n [styles.headlineMedium]: content.heading_font === 'Medium',\n [styles.headlineHeavy]: content.heading_font === 'Heavy',\n [styles.headlineCenterAligned]: content.heading_alignment === 'Center',\n });\n\n return (\n \n \n {content.headline}\n \n \n {null}\n \n \n );\n};\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nimport React from 'react';\nimport { type ContentStackVideoContent } from '../../interface';\nimport { CMSMediaContent } from '../CMSMediaContent/CMSMediaContent';\n\ntype Props = {\n content: ContentStackVideoContent;\n preload?: 'none' | 'metadata' | 'auto';\n};\n\nexport function CMSVideoContent({ content, preload = 'auto' }: Props) {\n const videoUri = content.video_url?.video_url;\n const posterImg = content.video_url?.poster_image\n ? content.video_url.poster_image\n : '/images/video-default-poster-gray.svg';\n\n if (!videoUri) {\n return null;\n }\n\n const options = {\n button: content.button,\n description: content.description,\n direction: content.video_direction,\n heading: content.heading,\n heading_underline: content.heading_underline,\n };\n return (\n \n }\n />\n );\n}\n","/**\n * Copyright 2025 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nimport type { ContentStackImageContent } from '../interface/content-types';\n\nexport const isValidCMSImageContent = (content: ContentStackImageContent) => {\n return Boolean(content?.image?.image_url || content.description || content.heading);\n};\n","/**\n * Copyright 2022 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nimport { requestBaseURL } from '@/config/serviceAPI';\nimport { clickTrack } from '@/utils/analytics/clickTrack';\nimport { getPageName } from '@/utils/analytics/legacyUtils/getPageName';\nimport { pageTypes } from '@/utils/analytics/legacyUtils/pageTypes';\nimport { getAxiosForClient } from '@/lib/axios';\nimport { type ErrorDetails } from '@/types';\nimport { type FormikHelpers } from 'formik';\nimport { useMutation } from '@tanstack/react-query';\nimport { siteSections } from '@/utils/siteSections';\n\ntype SmsOptInResponse = {\n links: unknown[];\n message: string;\n};\n\nconst getKey = () => ['smsOptIn'];\n\nconst SMS_OPT_IN_URL = `${requestBaseURL}/ecomm/b2c/v1/utility/sms/optIn`;\n\ntype Values = {\n email: string;\n firstName: string;\n lastName: string;\n phoneNumber: string;\n zip: string;\n};\n\ntype MutationVariables = {\n values: Values;\n actions?: FormikHelpers;\n};\n\nconst formatErrors = (errorDetails: ErrorDetails[]) => {\n const errors: {\n email?: string;\n lastName?: string;\n firstName?: string;\n phoneNumber?: string;\n zip?: string;\n } = {};\n errorDetails.forEach(({ errorMessageDefault, errorMessageKey }) => {\n if (errorMessageKey.includes('email')) {\n errors.email = errorMessageDefault;\n }\n\n if (errorMessageKey.includes('firstName')) {\n errors.firstName = errorMessageDefault;\n }\n\n if (errorMessageKey.includes('lastName')) {\n errors.lastName = errorMessageDefault;\n }\n\n if (errorMessageKey.includes('phoneNumber')) {\n errors.phoneNumber = errorMessageDefault;\n }\n\n if (errorMessageKey.includes('zip')) {\n errors.zip = errorMessageDefault;\n }\n });\n return errors;\n};\n\nconst handleSubmit = async ({ values, actions }: MutationVariables) => {\n const formattedPhoneNumber = values.phoneNumber.replace(/[^0-9.]/g, '');\n const payload = { ...values, phoneNumber: formattedPhoneNumber };\n let topLevelError = false;\n\n try {\n const { data } = await getAxiosForClient().post(SMS_OPT_IN_URL, payload);\n const isSuccess = data.message === 'success';\n\n if (!isSuccess) {\n topLevelError = true;\n throw new Error(data.message);\n }\n\n clickTrack({\n pageName: getPageName(pageTypes.sms, ''),\n siteSection: siteSections.siteSectionSms,\n pageType: pageTypes.sms,\n eventType: 'smsRegistration',\n customLinkName: 'smsSuccessfulRegistration',\n });\n } catch (err: unknown) {\n if (topLevelError) {\n throw err;\n }\n\n // @ts-expect-error we're checking if it's an object\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access,@typescript-eslint/no-unsafe-assignment\n const errorDetails = err?.response?.data?.errorDetails;\n if (errorDetails && typeof errorDetails === 'object') {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n actions?.setErrors(formatErrors(errorDetails));\n }\n }\n};\n\nexport const useSMSOptinMutation = () => {\n return useMutation({\n mutationFn: ({ values, actions }: MutationVariables) => handleSubmit({ values, actions }),\n mutationKey: getKey(),\n });\n};\n","/**\n * Copyright 2022 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nimport { useState, type MutableRefObject } from 'react';\nimport { useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect';\n\nconst useIsOverflow = (ref: MutableRefObject, isVerticalOverflow: boolean) => {\n const [isOverflow, setIsOverflow] = useState(false);\n\n useIsomorphicLayoutEffect(() => {\n const handleResize = () => {\n if (ref && ref.current) {\n const { current } = ref;\n const { clientWidth, scrollWidth, clientHeight, scrollHeight } = current;\n\n const checkIfHasOverflow = () => {\n const hasOverflow = isVerticalOverflow\n ? scrollHeight > clientHeight\n : scrollWidth > clientWidth;\n\n setIsOverflow(hasOverflow);\n };\n\n checkIfHasOverflow();\n }\n };\n\n handleResize();\n window.addEventListener('resize', handleResize);\n\n return () => {\n window.removeEventListener('resize', handleResize);\n };\n }, [ref, isVerticalOverflow]);\n\n return isOverflow;\n};\n\nexport default useIsOverflow;\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nimport { siteSections } from '@/utils/siteSections';\nimport { pageTypes } from './pageTypes';\n\nconst {\n siteSectionMyzone,\n siteSectionGiftCard,\n siteSectionTrackOrder,\n siteSectionPageUnavailable,\n} = siteSections;\n\nexport const getPageName = (pageType: string, appendedPageName: string): string => {\n switch (pageType) {\n case pageTypes.brandShelfPremium:\n return `az:catalog:${appendedPageName}:Premium-Brand-Profile`;\n case pageTypes.brandShelf:\n return `az:catalog:${appendedPageName}:Basic-Brand-Profile`;\n case pageTypes.home:\n return `az:${pageTypes.home}`;\n case pageTypes.landingPage:\n return `az:${pageTypes.landingPage}:${appendedPageName}`;\n case pageTypes.shopByMake:\n return 'az:catalog:shopbymake';\n case pageTypes.shopByModel:\n return 'az:catalog:shopbymodel';\n case pageTypes.pdp:\n case pageTypes.productDetails:\n return `az:${appendedPageName}`;\n case pageTypes.catalog:\n return `az:${pageTypes.catalog}:${appendedPageName}`;\n case pageTypes.catalogSearchResults:\n return 'az:catalog:search-results';\n case pageTypes.catalogNewSearchResults:\n return 'az:catalog:Search Results Shelf';\n case pageTypes.productShelf:\n return `az:catalog:${appendedPageName}`;\n case pageTypes.contactUs:\n return appendedPageName.length\n ? `az:customer-service:contact-us:${appendedPageName}`\n : `az:customer-service:contact-us`;\n case pageTypes.createAccount:\n return 'az:myzone:create';\n case pageTypes.myAccount:\n return `az:${siteSectionMyzone}:${appendedPageName}`;\n case pageTypes.giftCard:\n return `az:${siteSectionGiftCard}:${appendedPageName}`;\n case pageTypes.trackOrder:\n return `az:${siteSectionTrackOrder}:${appendedPageName}`;\n case pageTypes.cart:\n return 'az:cart:full-cart';\n case pageTypes.orderConfirmation:\n return `az:${pageTypes.orderConfirmation}`;\n case pageTypes.orderHistory:\n return `az:${siteSectionMyzone}:order-history`;\n case pageTypes.orderHistoryDetails:\n return `az:${siteSectionMyzone}:order-details`;\n case siteSectionPageUnavailable:\n return `az:${siteSectionPageUnavailable}:${appendedPageName}`;\n case pageTypes.sms:\n return `az:${pageTypes.sms}`;\n case pageTypes.resetPassword:\n return `az:${siteSectionMyzone}:${pageTypes.resetPassword}`;\n case pageTypes.signIn:\n return `az:${pageTypes.signIn}`;\n case pageTypes.requestCredit:\n return `az:${siteSectionMyzone}:${appendedPageName}`;\n case pageTypes.myOrders:\n return `az:${siteSectionMyzone}:order-history:orders`;\n case pageTypes.brandsMain:\n return `az:${pageTypes.brandsMain}`;\n case pageTypes.reviews:\n return `az:reviews:${appendedPageName}`;\n default: {\n if (\n appendedPageName in siteSections &&\n siteSections[appendedPageName as keyof typeof siteSections] !== undefined\n ) {\n return `az:${\n siteSections[appendedPageName as keyof typeof siteSections]\n }:${appendedPageName}`;\n }\n\n return '';\n }\n }\n};\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nimport { pageTypes } from './pageTypes';\n\nexport const getSeoPageType = (pageType: string, appendedPageType: string): string => {\n switch (pageType) {\n case pageTypes.brandShelfPremium:\n return `PBP:${appendedPageType}`;\n case pageTypes.brandShelf:\n return `BBP:${appendedPageType}`;\n case pageTypes.facetedNav:\n return `FN:${appendedPageType}`;\n case pageTypes.home:\n return 'HOME';\n case pageTypes.landingPage:\n return `LP:/${appendedPageType}`;\n case pageTypes.shopByMake:\n return 'MLP:/shopbymake';\n case pageTypes.shopByModel:\n return 'MMLP:/shopbymodel';\n case pageTypes.pdp:\n return `PD:${appendedPageType}`;\n case pageTypes.catalog:\n return `CAT:${appendedPageType}`;\n case pageTypes.subcategory:\n return `SCAT:${appendedPageType}`;\n case pageTypes.navigation:\n return `NAV:${appendedPageType}`;\n case pageTypes.catalogSearchResults:\n return `ISR:${appendedPageType}`;\n case pageTypes.catalogNewSearchResults:\n return `ISR:${appendedPageType}`;\n case pageTypes.shopByMakeCategory:\n return `M:${appendedPageType}`;\n case pageTypes.shopByModelCategory:\n return `MM:${appendedPageType}`;\n case pageTypes.giftCard:\n return `LP:/landingPage${appendedPageType}`;\n case pageTypes.makeNav:\n return `MNAV:${appendedPageType}`;\n case pageTypes.makeCategory:\n return `MCAT:${appendedPageType}`;\n case pageTypes.makeSubCategory:\n return `MSCAT:${appendedPageType}`;\n case pageTypes.makePartType:\n return `MPT:${appendedPageType}`;\n case pageTypes.modelNav:\n return `MMNAV:${appendedPageType}`;\n case pageTypes.modelCategory:\n return `MMCAT:${appendedPageType}`;\n case pageTypes.modelSubCategory:\n return `MMSCAT:${appendedPageType}`;\n case pageTypes.modelPartType:\n return `MMPT:${appendedPageType}`;\n case pageTypes.yearMakeModelNav:\n return `YMMNAV:${appendedPageType}`;\n case pageTypes.yearMakeModelCategory:\n return `YMMCAT:${appendedPageType}`;\n case pageTypes.yearMakeModelSubCategory:\n return `YMMSCAT:${appendedPageType}`;\n case pageTypes.yearMakeModelPartType:\n return `YMMPT:${appendedPageType}`;\n case pageTypes.productShelf:\n return `PT:${appendedPageType}`;\n case pageTypes.reviews:\n return `PRP:${appendedPageType}`;\n default:\n return 'other';\n }\n};\n","/**\n * Copyright 2021 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nexport type WarrantyIcon = {\n alt: string;\n src: string;\n};\n\nexport const getWarrantyBadge = (warranty: string): WarrantyIcon => {\n let iconNumber = '';\n\n if (warranty.match(/limited\\Wlifetime/i) || warranty.match(/limitada de por vida/i)) {\n iconNumber = warranty.match(/limitada de por vida/i)\n ? 'limitada-de-por-vida'\n : 'Limited-Lifetime';\n } else {\n const iconWarrantyNumber = warranty.split('-')?.[0];\n iconNumber = isNaN(Number(iconWarrantyNumber)) ? warranty.split(' ')?.[0] : iconWarrantyNumber;\n }\n\n return {\n src: `/images/warranty/${iconNumber}.svg`,\n alt: warranty?.replace(/-/g, ' ').toLowerCase(),\n };\n};\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nexport function normalizePhone(value: string | undefined): string {\n if (!value) {\n return '';\n }\n\n const onlyNums = value.replace(/[^\\d]/g, '');\n\n switch (true) {\n case onlyNums.length >= 1 && onlyNums.length <= 3:\n return `(${onlyNums}`;\n case onlyNums.length >= 4 && onlyNums.length <= 6:\n return `(${onlyNums.slice(0, 3)})${' '}${onlyNums.slice(3)}`;\n case onlyNums.length >= 7 && onlyNums.length <= 10:\n return `(${onlyNums.slice(0, 3)})${' '}${onlyNums.slice(3, 6)}-${onlyNums.slice(6)}`;\n case onlyNums.length > 10:\n return `(${onlyNums.slice(0, 3)})${' '}${onlyNums.slice(3, 6)}-${onlyNums.slice(6, 10)}`;\n default:\n return '';\n }\n}\n","/**\n * Copyright 2023 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nimport { Label } from '@/features/i18n';\nimport { PHONENUMBER } from '../validatorRegex';\n\nexport function validateMobilePhoneNumber(value: string) {\n if (!PHONENUMBER.test(value)) {\n return