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AK,GAAAL,OAA+C,oBAAAA,GAAA,GAAAgF,MAAAC,OAAA,CAAAjF,GAAA,CAAgD,IAAAjB,EAAAiB,EAAA7B,MAAA,CAAe,IAAAa,EAAA,EAAQA,EAAAD,EAAIC,IAAAgB,CAAA,CAAAhB,EAAA,EAAA+C,CAAAA,EAAAS,EAAAxC,CAAA,CAAAhB,EAAA,IAAAqB,CAAAA,GAAAA,CAAAA,GAAA,KAAAA,GAAA0B,CAAAA,CAAA,MAA0C,IAAAA,KAAA/B,EAAAA,CAAA,CAAA+B,EAAA,EAAA1B,CAAAA,GAAAA,CAAAA,GAAA,KAAAA,GAAA0B,CAAAA,EAAyC,OAAA1B,CAAA,EAA4EL,EAAA,GAAAK,CAAAA,GAAAA,CAAAA,GAAA,KAAAA,GAAArB,CAAAA,EAAmD,OAAAqB,CAAA,oCAAS7J,EAAAC,CAAA,CAAeqC","sources":["webpack://_N_E/./core--client--components/src/components/molecules/ButtonWithIcon/ButtonWithIcon.tsx","webpack://_N_E/./core--client--components/src/components/organisms/VideoPlayer/VideoPlayer.tsx","webpack://_N_E/./src/components/atoms/Avatar/Avatar.tsx","webpack://_N_E/./src/lib/loaders/cdnSquareImageLoader.ts","webpack://_N_E/./src/components/atoms/CdnSquareImage/CdnSquareImage.tsx","webpack://_N_E/./src/components/molecules/ContactOrganization/ContactOrganization.tsx","webpack://_N_E/./src/components/organisms/PageWrapper/PageWrapper.tsx","webpack://_N_E/./src/components/organisms/ShelterContactInformation/ShelterContactInformation.tsx","webpack://_N_E/./src/components/molecules/AccordionContent/AccordionContent.tsx","webpack://_N_E/./src/components/organisms/AccordionFaq/AccordionFaq.tsx","webpack://_N_E/./src/components/organisms/HeaderSetup/HeaderSetup.tsx","webpack://_N_E/./src/components/templates/ActivateAccountTemplate/ActivateAccountTemplate.tsx","webpack://_N_E/./src/lib/constants/constants/storage.ts","webpack://_N_E/./src/lib/storageClasses/analyticsEventStorage.ts","webpack://_N_E/./src/lib/hooks/analytics/useEventContext.tsx","webpack://_N_E/./src/lib/utils/formatters/formatPhoneNumber.ts","webpack://_N_E/./src/lib/utils/helpers/legacy/stringToSlug.ts","webpack://_N_E/./node_modules/@headlessui/react/dist/utils/start-transition.js","webpack://_N_E/./node_modules/@headlessui/react/dist/components/disclosure/disclosure.js","webpack://_N_E/./node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js","webpack://_N_E/./node_modules/clsx/dist/clsx.mjs","webpack://_N_E/<anon>"],"sourcesContent":["import { ColorShade } from '@/component-library/atoms/Colors/Colors';\nimport Icon, { IIcon } from '@/component-library/atoms/Icon/Icon';\nimport { MouseEventHandler, useState } from 'react';\n\n/**\n * IButtonWithIcon Interface for the ButtonWithIcon Component\n *\n * @interface\n */\nexport interface IButtonWithIcon {\n /** The text to display. */\n children: string;\n /** The icon to display. */\n icon: IIcon;\n /** The onClick event handler. */\n onClick?: MouseEventHandler<HTMLButtonElement>;\n /** If the button is disabled. */\n disabled?: boolean;\n /**\n * The optional classes to apply to the button.\n *\n * @default ''\n */\n classes?: string;\n}\n\n/**\n * Icon State Styles This is the styles for the icon\n *\n * @constant\n */\nexport const iconStateStyles: {\n /** Color Map of the icon states */\n color: {\n [key: string]: string;\n };\n /** Shade Map of the icon states */\n shade: { [key: string]: ColorShade };\n} = {\n color: {\n hovered: 'base',\n normal: 'neutral',\n disabled: 'neutral',\n },\n shade: {\n hovered: 300,\n normal: 800,\n disabled: 500,\n },\n};\n\n/**\n * Button With Icon Button with Icon is used to display a button with an icon\n *\n * @param {IButtonWithIcon} props - The props for the Button With Icon component\n * @returns {React.FC<IButtonWithIcon>} Button With Icon Component\n */\nconst ButtonWithIcon: React.FC<IButtonWithIcon> = ({\n children,\n icon,\n onClick,\n disabled,\n classes = '',\n}) => {\n const [hovered, setHovered] = useState(false);\n // Set the icon color default to normal\n let iconColor = iconStateStyles.color.normal;\n let iconShade = iconStateStyles.shade.normal;\n // Determine if the button is hovered or disabled since a disabled button can not also be hovered\n if (disabled) {\n iconColor = iconStateStyles.color.disabled;\n iconShade = iconStateStyles.shade.disabled;\n } else if (hovered) {\n iconColor = iconStateStyles.color.hovered;\n iconShade = iconStateStyles.shade.hovered;\n }\n\n const disabledClass = disabled\n ? 'text-neutral-500 cursor-not-allowed group-hover:text-neutral-500'\n : 'text-neutral-800 ';\n\n const testId = `button-with-icon-${hovered}-${disabled}`;\n return (\n <button\n data-testid={testId}\n onClick={onClick}\n type=\"button\"\n onMouseEnter={() => setHovered(true)}\n onMouseLeave={() => setHovered(false)}\n disabled={disabled}\n className={`inline-flex items-center rounded-sm focus:ring-focus-400 ring-0 focus:outline-0 focus:ring-2 focus-visible:outline-0 focus-visible:outline group ${classes}`}\n >\n <Icon\n {...icon}\n colorType={iconColor}\n colorShade={iconShade}\n classes={disabledClass}\n />\n <span\n className={`pl-[6px] text-body5 group-hover:text-base-300 ${disabledClass}`}\n >\n {children}\n </span>\n </button>\n );\n};\n\nexport default ButtonWithIcon;\n","import Icon from '@/component-library/atoms/Icon/Icon';\nimport ButtonWithIcon from '@/component-library/molecules/ButtonWithIcon/ButtonWithIcon';\nimport { Dialog, Transition } from '@headlessui/react';\nimport Image, { ImageLoader } from 'next/legacy/image';\nimport { Fragment, useRef, useState } from 'react';\nimport ReactPlayer from 'react-player';\n\n/**\n * IVideoPlayer Interface for the Video Player\n *\n * @interface\n */\nexport interface IVideoPlayer {\n /** The title to Display */\n title: string;\n /** Image URL */\n image: string;\n /** Alt Text for the Image placeholder on the video */\n alt: string;\n /** Video URL to Youtube */\n video: string;\n /**\n * The optional classes\n *\n * @default ''\n */\n classes?: string;\n /**\n * Whether to start the video muted or unmuted\n *\n * @default true\n */\n muted?: boolean;\n /** The loader function for the image */\n loader?: ImageLoader;\n}\n\n/**\n * Video Player The Video Player component that displays a video with a title\n * and image.\n *\n * @param {IVideoPlayer} props - The props of the Video Player component.\n * @returns {React.FC<IVideoPlayer>} Video Player Component\n */\nconst VideoPlayer: React.FC<IVideoPlayer> = ({\n title,\n image,\n alt,\n video,\n classes = '',\n muted = true,\n loader,\n}) => {\n const [isOpen, setIsOpen] = useState(false);\n const playerWrapperRef = useRef(null);\n\n /** Close Modal */\n const closeModal = () => {\n setIsOpen(false);\n };\n\n /** Open Modal */\n const openModal = () => {\n setIsOpen(true);\n };\n\n return (\n <div data-testid=\"video-player\" className={classes}>\n <div\n className=\"flex justify-center items-center h-full relative aspect-video\"\n id=\"video-player-image\"\n >\n {!isOpen && (\n <button\n onClick={openModal}\n className=\"flex items-center justify-center cursor-pointer z-[1] rounded-[4px] focus-visible:outline-focus-400 focus-visible:outline-2 focus-visible:outline\"\n data-testid=\"video-player-modal-open\"\n >\n <Icon\n size={40}\n icon=\"playCircle\"\n colorType=\"neutral\"\n colorShade={100}\n classes=\"mr-[8px]\"\n />\n <span className=\"text-neutral-100 text-h5 font-petco\">{title}</span>\n </button>\n )}\n <div className=\"absolute w-full h-full rounded-[20px] sm:rounded-[24px] md:rounded-[32px] overflow-hidden\">\n <Image\n src={image}\n alt={alt}\n layout=\"fill\"\n className=\"object-fit aspect-video -z-10 rounded-[20px] sm:rounded-[24px] md:rounded-[32px]\"\n loader={loader}\n />\n <div className=\"absolute top-0 left-0 right-0 bottom-0 opacity-30 bg-black\"></div>\n </div>\n </div>\n <Transition appear show={isOpen} as={Fragment}>\n <Dialog\n as=\"div\"\n className=\"z-[30] bg-neutral-100 h-screen w-screen flex justify-center items-center fixed inset-0 overflow-hidden\"\n onClose={closeModal}\n initialFocus={playerWrapperRef}\n >\n <Transition.Child\n as={Fragment}\n enter=\"ease-out duration-300\"\n enterFrom=\"opacity-0\"\n enterTo=\"opacity-100\"\n leave=\"ease-in duration-200\"\n leaveFrom=\"opacity-100\"\n leaveTo=\"opacity-0\"\n >\n <div className=\"fixed inset-0 bg-neutral-100 \" />\n </Transition.Child>\n\n <div className=\"absolute inset-0 overflow-y-auto w-full z-50\">\n <div className=\"flex min-h-full\">\n <Transition.Child\n as={Fragment}\n enter=\"ease-out duration-300\"\n enterFrom=\"opacity-0 scale-95\"\n enterTo=\"opacity-100 scale-100\"\n leave=\"ease-in duration-200\"\n leaveFrom=\"opacity-100 scale-100\"\n leaveTo=\"opacity-0 scale-95\"\n >\n <Dialog.Panel className=\"w-full h-full transform overflow-hidden transition-all z-100\">\n <div className=\"flex justify-center items-center aspect-video flex-col bg-neutral-100 p-[24px] w-screen h-screen\">\n <div className=\"flex flex-col max-w-full w-[327px] sm:w-[680px] md:w-[1128px] px-[24px] sm:px-[32px] md:px-[40px] aspect-video relative mt-[-40px]\">\n <div className=\"flex justify-end w-full \">\n <ButtonWithIcon\n icon={{\n icon: 'close',\n colorShade: 800,\n colorType: 'neutral',\n size: 24,\n }}\n onClick={closeModal}\n classes=\"mb-[20px]\"\n >\n Close\n </ButtonWithIcon>\n </div>\n <div ref={playerWrapperRef}>\n <ReactPlayer\n playing={true}\n playsInline={true}\n url={video}\n controls={true}\n muted={muted}\n stopOnUnmount={true}\n volume={1}\n width=\"100%\"\n height=\"100%\"\n className=\"aspect-video\"\n data-testid=\"video-player-react-player\"\n />\n </div>\n </div>\n </div>\n </Dialog.Panel>\n </Transition.Child>\n </div>\n </div>\n </Dialog>\n </Transition>\n </div>\n );\n};\n\nexport default VideoPlayer;\n","import CdnSquareImage from '@/components/atoms/CdnSquareImage/CdnSquareImage';\n\n/**\n * IAvatar Interface for Avatar component\n *\n * @interface IAvatar\n */\nexport interface IAvatar {\n /**\n * The url of the image.\n *\n * @memberof IAvatar\n * @member {string} imageUrl\n */\n imageUrl: string;\n /**\n * The size of the image.\n *\n * @memberof IAvatar\n * @member {number} size\n */\n size: number;\n /**\n * The optional classes for the component.\n *\n * @memberof IAvatar\n * @default ''\n * @member {string} [classes]\n */\n classes?: string;\n /**\n * Alt text for the image.\n *\n * @memberof IAvatar\n * @member {string} alt\n */\n alt: string;\n}\n\n/**\n * Avatar - Component for showing a circular image\n *\n * @param {IAvatar} props - The props for the Avatar component\n * @returns {React.FC<IAvatar>} Avatar Component\n */\nconst Avatar: React.FC<IAvatar> = ({\n imageUrl,\n size,\n alt,\n classes = '',\n}: IAvatar) => {\n return (\n <CdnSquareImage\n src={imageUrl}\n alt={alt}\n height={size}\n width={size}\n data-testid=\"avatar\"\n className={`${classes} rounded-full`}\n />\n );\n};\n\nexport default Avatar;\n","import { getImagePath } from '@/component-library-lib/utils/helpers/photoHelpers/getImagePath';\nimport { ImageLoaderProps } from 'next/legacy/image';\n\n/**\n * Loads images from the CDN in squared format\n *\n * @param {ImageLoaderProps} params- Image loader props\n * @returns {string} - Image URL\n */\nfunction cdnSquareImageLoader({\n src,\n width,\n quality,\n}: ImageLoaderProps): string {\n /**\n * The CDN base URL\n *\n * @constant {string} cdnBaseUrl - The CDN base URL\n */\n const cdnBaseUrl =\n process.env.NEXT_PUBLIC_CDN_BASE_URL ?? process.env.STORYBOOK_CDN_BASE_URL;\n\n /** We need the CDN base URL to load images from the CDN */\n if (cdnBaseUrl === undefined) return '';\n\n /**\n * Image path without cdn base path\n *\n * @constant {string} imageSrcPath - The image src path\n */\n const imagePath = getImagePath({ src, cdnBaseUrl });\n\n if (quality) {\n return `${cdnBaseUrl}${imagePath}?quality=${quality}&width=${width}&height=${width}&format=webp`;\n } else {\n return `${cdnBaseUrl}${imagePath}?width=${width}&height=${width}&format=webp`;\n }\n}\n\nexport default cdnSquareImageLoader;\n","import cdnSquareImageLoader from '@/lib/loaders/cdnSquareImageLoader';\nimport Image, { ImageProps } from \"next/legacy/image\";\n\n/**\n * CdnImage An image from the CDN\n *\n * @param {ImageProps} props - The props for the CdnImage component\n * @returns {React.FC<ImageProps>} Component\n */\nconst CdnSquareImage: React.FC<ImageProps> = (props: ImageProps) => {\n return (\n <Image\n data-testid={'cdn-square-image'}\n loader={cdnSquareImageLoader}\n {...props}\n alt={props.alt}\n />\n );\n};\n\nexport default CdnSquareImage;\n","import Icon, { IconType } from '@/components/atoms/Icon/Icon';\nimport formatPhoneNumber from '@/lib/utils/formatters/formatPhoneNumber';\n\n/**\n * IContactOrganization Interface for the ContactOrganization Component\n *\n * @interface IContactOrganization\n */\nexport interface IContactOrganization {\n /**\n * The full address of the organization\n *\n * @memberof IContactOrganization\n * @member {string} [address]\n */\n address?: string;\n /**\n * The email address of the organization\n *\n * @memberof IContactOrganization\n * @member {string} [email]\n */\n email?: string;\n /**\n * The phone number of the organization\n *\n * @memberof IContactOrganization\n * @member {string} [phone]\n */\n phone?: string;\n /**\n * The website of the organization\n *\n * @memberof IContactOrganization\n * @member {string} [website]\n */\n website?: string;\n /**\n * The type of organization ie Shelter / Rescue\n *\n * @memberof IContactOrganization\n * @default 'Shelter'\n * @member {string} [organizationType]\n */\n organizationType?: string;\n /**\n * The subject of the email\n *\n * @memberof IContactOrganization\n * @default 'Petco Love Lost Inquiry'\n * @member {string} [emailSubject]\n */\n emailSubject?: string;\n /**\n * The optional classes for the component.\n *\n * @memberof IContactOrganization\n * @default ''\n * @member {string} [classes]\n */\n classes?: string;\n}\n\n/**\n * ContactOrganization A component to display out the contact options for an\n * organization\n *\n * @param {IContactOrganization} props - The props for the ContactOrganization\n * @returns {React.FC<IContactOrganization>} ContactOrganization Component\n */\nconst ContactOrganization: React.FC<IContactOrganization> = ({\n address,\n email,\n phone,\n emailSubject = 'Petco Love Lost Inquiry',\n website,\n classes = '',\n}: IContactOrganization) => {\n const formattedPhone = (() => {\n if (!phone) {\n return '';\n }\n\n if (/[()-]/.test(phone)) {\n return phone;\n }\n\n return formatPhoneNumber(phone);\n })();\n\n return (\n <div\n className={`h-auto space-y-4 ${classes}`}\n data-testid=\"contact-organization\"\n >\n {website && (\n <div className=\"flex items-center\">\n <IconButton\n testid=\"contact-organization-website\"\n label={website}\n icon=\"globeLarge\"\n onClick={() => {\n window.open(website);\n }}\n />\n </div>\n )}\n\n {formattedPhone && (\n <div className=\"flex items-center\">\n <IconButton\n testid=\"contact-organization-phone\"\n label={formattedPhone}\n icon=\"phone\"\n onClick={() => {\n window.open(`tel:${formattedPhone}`);\n }}\n />\n </div>\n )}\n\n {email && (\n <div className=\"flex items-center\">\n <IconButton\n testid=\"contact-organization-email\"\n label={email}\n icon=\"envelopeLight\"\n onClick={() => {\n window.open(`mailto:${email}?subject=${emailSubject}`);\n }}\n />\n </div>\n )}\n\n {address && (\n <div className=\"flex items-center\">\n <IconButton\n testid=\"contact-organization-address\"\n label={address}\n icon=\"pin\"\n onClick={() => {\n window.open(\n `https://www.google.com/maps/search/?api=1&query=${address}`\n );\n }}\n />\n </div>\n )}\n </div>\n );\n};\n\nexport default ContactOrganization;\n\n/**\n * IIconButtonProps Interface for the IconButton Component\n *\n * @interface IIconButton\n */\ninterface IIconButton {\n /**\n * Button label\n *\n * @memberof IIconButton\n * @member {string} label\n */\n label: string;\n /**\n * Button icon\n *\n * @memberof IIconButton\n * @member {IconType} icon\n */\n icon: IconType;\n /**\n * Button onClick event handler\n *\n * @memberof IIconButton\n * @member {() => void} onClick\n */\n onClick: () => void;\n /**\n * Button testid\n *\n * @memberof IIconButton\n * @member {string} testid\n */\n testid: string;\n}\n\n/**\n * IconButton\n *\n * @param {IIconButton} props - The props for the IconButton\n * @returns {React.ReactComponentElement.Node} IconButton Component\n */\nfunction IconButton({ label, icon, onClick, testid }: IIconButton) {\n return (\n <button\n className=\"text-neutral-800 hover:text-base-300 hover:[&>span]:text-base-300 flex items-center gap-1.5 text-left\"\n onClick={onClick}\n data-testid={testid}\n >\n <Icon icon={icon} size={24} />\n\n <span className=\"underline\">{label}</span>\n </button>\n );\n}\n","import { ReactNode } from 'react';\n\n/**\n * IPageWrapper\n *\n * @interface IPageWrapper\n */\nexport interface IPageWrapper {\n /**\n * The content of the page.\n *\n * @memberof IPageWrapper\n * @member {ReactNode} children\n */\n children: ReactNode;\n /**\n * The classes to apply to the component.\n *\n * @memberof IPageWrapper\n * @default ''\n * @member {string} [classes]\n */\n classes?: string;\n}\n\n/**\n * Page Wrapper Used to wrap the entire page in a fixed size container.\n *\n * @param {IPageWrapper} props - The props for the PageWrapper component\n * @returns {React.FC<IPageWrapper>} PageWrapper Component\n */\nconst PageWrapper: React.FC<IPageWrapper> = ({\n children,\n classes = '',\n}: IPageWrapper) => {\n return <div className={`max-w-[1440px] mx-auto ${classes}`}>{children}</div>;\n};\n\nexport default PageWrapper;\n","import Paragraph from '@/components/atoms/Paragraph/Paragraph';\nimport ContactOrganization from '@/components/molecules/ContactOrganization/ContactOrganization';\n\n/**\n * IShelterContactInformation\n *\n * @interface IShelterContactInformation\n */\nexport interface IShelterContactInformation {\n /**\n * The overline text to display.\n *\n * @memberof IShelterContactInformation\n * @member {string} [overline]\n */\n overline?: string;\n /**\n * The name of the shelter.\n *\n * @memberof IShelterContactInformation\n * @member {string} name\n */\n name: string;\n /**\n * The phone number of the shelter.\n *\n * @memberof IShelterContactInformation\n * @member {string} [phone]\n */\n phone?: string;\n /**\n * The email of the shelter.\n *\n * @memberof IShelterContactInformation\n * @member {string} [email]\n */\n email?: string;\n /**\n * The address of the shelter.\n *\n * @memberof IShelterContactInformation\n * @member {string} [address]\n */\n address?: string;\n /**\n * The website of the shelter\n *\n * @memberof IShelterContactInformation\n * @member {string} [website]\n */\n website?: string;\n /**\n * The optional classes to apply to the component.\n *\n * @memberof IShelterContactInformation\n * @default ''\n * @member {string} [classes]\n */\n classes?: string;\n}\n\n/**\n * ShelterContactInformation An organism used to display out all of the\n * Shelter's Contact Information\n *\n * @param {IShelterContactInformation} props - The props for the\n * ShelterContactInformation component\n * @returns {React.FC<IShelterContactInformation>} ShelterContactInformation\n * Component\n */\nconst ShelterContactInformation: React.FC<IShelterContactInformation> = ({\n overline,\n name,\n phone,\n email,\n website,\n address,\n classes = '',\n}: IShelterContactInformation) => {\n return (\n <div\n data-testid=\"shelter-contact-information\"\n className={`py-10 sm:py-12 md:py-16 border-y-[1px] border-y-neutral-300 border-y-solid ${classes}`}\n >\n <div className=\"text-center mx-auto sm:max-w-2/3\">\n {overline && (\n <Paragraph size=\"overline\" font=\"petco\" className=\"mb-1\">\n {overline}\n </Paragraph>\n )}\n <Paragraph\n size=\"body1\"\n styling=\"bold\"\n font=\"petco\"\n className=\"mb-6 md:mb-8\"\n >\n {name}\n </Paragraph>\n </div>\n <ContactOrganization\n phone={phone}\n email={email}\n address={address}\n website={website}\n classes=\"flex flex-col justify-center items-center\"\n />\n </div>\n );\n};\n\nexport default ShelterContactInformation;\n","import Icon from '@/components/atoms/Icon/Icon';\nimport Paragraph from '@/components/atoms/Paragraph/Paragraph';\nimport stringToSlug from '@/lib/utils/helpers/legacy/stringToSlug';\nimport { Disclosure } from '@headlessui/react';\nimport clsx from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\n/**\n * IAccordionContent Interface for the Accordion Content Item\n *\n * @interface IAccordionContentItem\n */\nexport interface IAccordionContentItem {\n /**\n * The header of the Accordion Content Item\n *\n * @memberof IAccordionContentItem\n * @member {string} header\n */\n header: string | React.ReactNode;\n /**\n * The content of the Accordion Content Item\n *\n * @memberof IAccordionContentItem\n * @member {string | React.ReactNode} [content]\n */\n content?: string | React.ReactNode;\n /**\n * Component is rendered open initially\n *\n * @memberof IAccordionContentItem\n * @member {boolean} [startOpen]\n */\n startOpen?: boolean;\n}\n\n/**\n * IAccordionContent Interface for the Accordion Content Component\n *\n * @interface IAccordionContent\n */\nexport interface IAccordionContent {\n /**\n * An array of AccordionContent objects containing a header and content\n *\n * @memberof IAccordionContent\n * @member {IAccordionContentItem[]} content\n */\n content: IAccordionContentItem[];\n /**\n * The classNames\n *\n * @memberof IAccordionContent\n * @member {string} [className]\n */\n className?: string;\n /**\n * Function to set the collapse state\n *\n * @memberof IAccordionContent\n * @member {(id: string, close: () => void) => void} [setCollapse]\n */\n setCollapse?: (id: string, close: () => void) => void;\n}\n\n/**\n * Accordion Content Accordion molecule for displaying Accordion Content\n *\n * @param {IAccordionContent} props - The props for the Accordion Content\n * @returns {React.FC<IAccordionContent>} AccordionContent Component\n */\nconst AccordionContent: React.FC<IAccordionContent> = ({\n content,\n className = '',\n setCollapse,\n}: IAccordionContent) => {\n // Base Button Classes to apply to accordion buttons\n const baseButtonClass =\n 'text-body4 w-full h-full font-petco inline-flex justify-between text-left font-bold focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-400 items-center';\n\n return (\n <div\n data-testid=\"accordion-content\"\n className={twMerge(\n clsx(\n 'border-b-solid border-b border-b-neutral-300 border-t-solid border-t border-t-neutral-300 accordion-item',\n className\n )\n )}\n >\n {content.map((contentItem, index) => (\n <Disclosure defaultOpen={contentItem.startOpen} as=\"div\" key={index}>\n {({ open, close }) => {\n const headerValue =\n typeof contentItem.header === 'string'\n ? contentItem.header\n : index.toString();\n\n setCollapse?.(stringToSlug(headerValue), close);\n\n return (\n <>\n <Disclosure.Button\n data-testid={`accordion-content-disclosure-btn-${index}`}\n className={`${baseButtonClass} ${\n open ? 'pt-4 pb-1' : 'py-4'\n } `}\n >\n {contentItem.header}\n <Icon\n icon={open ? 'arrowUp' : 'arrowDown'}\n size={24}\n colorType=\"base\"\n colorShade={400}\n />\n </Disclosure.Button>\n <Disclosure.Panel\n data-testid={`accordion-content-disclosure-panel-${index}`}\n className=\"whitespace-pre-line\"\n >\n {/* If the content is a React Node, render it as is */}\n {typeof contentItem.content === 'object' &&\n contentItem.content}\n {/* If the content is a string, render it as a Paragraph */}\n {typeof contentItem.content === 'string' && (\n <Paragraph size=\"body4\" className=\"pr-8 pb-4\">\n {contentItem.content}\n </Paragraph>\n )}\n </Disclosure.Panel>\n </>\n );\n }}\n </Disclosure>\n ))}\n </div>\n );\n};\n\nexport default AccordionContent;\n","import AnimateItem from '@/component-library/atoms/AnimateItem/AnimateItem';\nimport Heading from '@/components/atoms/Heading/Heading';\nimport Paragraph from '@/components/atoms/Paragraph/Paragraph';\nimport AccordionContent, {\n IAccordionContentItem,\n} from '@/components/molecules/AccordionContent/AccordionContent';\n\n/**\n * IAccordionFaq Interface for Accordion FAQ component\n *\n * @interface IAccordionFaq\n */\nexport interface IAccordionFaq {\n /**\n * The title of the FAQ Accordion.\n *\n * @memberof IAccordionFaq\n * @member {string} title\n */\n title: string;\n /**\n * The subtitle of the FAQ Accordion.\n *\n * @memberof IAccordionFaq\n * @member {string} subTitle\n */\n subTitle: string;\n /**\n * The content array of the FAQ accordion.\n *\n * @memberof IAccordionFaq\n * @member {IAccordionContentItem[]} content\n */\n content: IAccordionContentItem[];\n /**\n * The classes to apply to the FAQ Accordion.\n *\n * @memberof IAccordionFaq\n * @default ''\n * @member {string} [classes]\n */\n classes?: string;\n}\n\n/**\n * Accordion FAQ The Accordion FAQ displays a title, subtitle and the accordion\n * content\n *\n * @param {IAccordionFaq} props - The props for the Accordion FAQ component\n * @returns {React.FC<IAccordionFaq>} Accordion FAQ Component\n */\nconst AccordionFaq: React.FC<IAccordionFaq> = ({\n title,\n subTitle,\n content,\n classes = '',\n}: IAccordionFaq) => {\n return (\n <div data-testid=\"accordion-faq\" className={classes}>\n <AnimateItem from={{ translateY: 20 }}>\n <div className=\"sm:grid sm:grid-cols-6 md:block\">\n <Heading\n size=\"h2\"\n font=\"amasis\"\n className=\"col-start-2 col-span-4 text-center mb-2 md:mb-4\"\n >\n {title}\n </Heading>\n <Paragraph\n size=\"body3\"\n className=\"col-start-2 col-span-4 text-center mb-6 md:mb-9\"\n >\n {subTitle}\n </Paragraph>\n </div>\n <AccordionContent content={content} />\n </AnimateItem>\n </div>\n );\n};\n\nexport default AccordionFaq;\n","import useWindowSize from '@/component-library-lib/hooks/windowSize/WindowSize';\nimport Avatar from '@/components/atoms/Avatar/Avatar';\nimport Button, { IButton } from '@/components/atoms/Button/Button';\nimport Heading from '@/components/atoms/Heading/Heading';\nimport Paragraph, { IParagraph } from '@/components/atoms/Paragraph/Paragraph';\nimport generateImageUrl from '@/lib/utils/helpers/photoHelpers/generateImageUrl';\nimport { useEffect, useState } from 'react';\n\n/**\n * IHeaderSetup\n *\n * @interface IHeaderSetup\n */\nexport interface IHeaderSetup {\n /**\n * The button to display\n *\n * @memberof IHeaderSetup\n * @member {IButton} button\n */\n button: IButton;\n /**\n * Text to be displayed under the heading text\n *\n * @memberof IHeaderSetup\n * @member {IParagraph} content\n */\n content: IParagraph;\n /**\n * Text to display over the heading text\n *\n * @memberof IHeaderSetup\n * @member {IParagraph} overline\n */\n overline: IParagraph;\n /**\n * Heading text\n *\n * @memberof IHeaderSetup\n * @member {string | React.ReactNode} title\n */\n title: string | React.ReactNode;\n /**\n * The optional classes to apply to the component.\n *\n * @memberof IHeaderSetup\n * @default ''\n * @member {string} [classes]\n */\n classes?: string;\n /**\n * The optional pet photo that could be displayed\n *\n * @memberof IHeaderSetup\n * @member {string} [photo]\n */\n photo?: string;\n}\n\n/**\n * HeaderSetup A hero type component for creating an account\n *\n * @param {IHeaderSetup} props - The props for the HeaderSetup component\n * @returns {React.FC<IHeaderSetup>} Component\n */\nconst HeaderSetup: React.FC<IHeaderSetup> = ({\n button,\n content,\n overline,\n title,\n classes = '',\n photo,\n}: IHeaderSetup) => {\n /** State for the size of the avatar image */\n const [imageSize, setImageSize] = useState<number>(0);\n\n /** Capture the size of the window */\n const size = useWindowSize();\n\n /** Update the size of the avatar according to the window size */\n useEffect(() => {\n if (size.breakpoint === 'xs') {\n setImageSize(112);\n } else {\n setImageSize(180);\n }\n }, [size.breakpoint]);\n\n /**\n * Determine the padding that should be used when a photo is present\n *\n * @constant {string} topPaddingMobile - The top padding for mobile\n */\n const topPaddingMobile: string = !photo ? 'pt-[86px]' : 'pt-9';\n\n /**\n * Determine the padding that should be used when a photo is present\n *\n * @constant {string} topPaddingTablet - The top padding for tablet\n */\n const topPaddingTablet: string = !photo ? 'sm:pt-[304px]' : 'sm:pt-[120px]';\n\n /**\n * The base classes for the background of the component\n *\n * @constant {string}\n */\n const background =\n 'bg-base-100 bg-no-repeat bg-auto bg-right-bottom bg-hero-setup-mobile sm:bg-hero-setup-tablet md:bg-hero-setup-desktop';\n\n return (\n <div\n data-testid=\"header-setup\"\n className={`flex flex-col items-center ${topPaddingMobile} ${topPaddingTablet} px-6 sm:px-8 md:px-10 md:py-0 md:justify-center h-[650px] sm:h-[1073px] md:h-[calc(100vh-64px)] ${background} ${classes}`}\n >\n {photo && (\n <div className=\"rounded-full border-2 border-neutral-100 h-[116px] sm:h-[184px] mb-4 sm:mb-6 md:mb-4\">\n <Avatar\n size={imageSize}\n imageUrl={generateImageUrl(photo)}\n alt=\"Pet Image\"\n />\n </div>\n )}\n <Paragraph {...overline} />\n <div className=\"grid grid-cols-4 sm:grid-cols-6 md:grid-cols-12 gap-4 sm:gap-x-6 md:gap-x-8 text-center pt-1\">\n <Heading\n size=\"h1\"\n font=\"petco\"\n className=\"col-span-4 sm:col-start-2 md:col-start-4 md:col-span-6\"\n >\n {title}\n </Heading>\n <div className=\"col-span-4 sm:col-start-2 md:col-start-4 md:col-span-6\">\n <Paragraph {...content} />\n </div>\n <div className=\"col-span-4 sm:col-span-6 md:col-span-12 text-center pt-4\">\n <Button {...button} />\n </div>\n </div>\n </div>\n );\n};\n\nexport default HeaderSetup;\n","import VideoPlayer, {\n IVideoPlayer,\n} from '@/component-library/organisms/VideoPlayer/VideoPlayer';\nimport { IButton } from '@/components/atoms/Button/Button';\nimport { IParagraph } from '@/components/atoms/Paragraph/Paragraph';\nimport AccordionFaq, {\n IAccordionFaq,\n} from '@/components/organisms/AccordionFaq/AccordionFaq';\nimport HeaderSetup, {\n IHeaderSetup,\n} from '@/components/organisms/HeaderSetup/HeaderSetup';\nimport PageWrapper from '@/components/organisms/PageWrapper/PageWrapper';\nimport ShelterContactInformation, {\n IShelterContactInformation,\n} from '@/components/organisms/ShelterContactInformation/ShelterContactInformation';\nimport { useEventContext } from '@/lib/hooks/analytics/useEventContext';\n\n/**\n * IActivateAccountTemplate\n *\n * @interface\n */\nexport interface IActivateAccountTemplate {\n /** The shelter contact information */\n shelterContactInformation: IShelterContactInformation;\n /**\n * The optional pet adoption image\n *\n * @default ''\n */\n adoptionImage?: string;\n}\n\n/**\n * Header Overline\n *\n * @constant {IParagraph} headerOverline - The overline of the Header Setup\n * Component\n */\nconst headerOverline: IParagraph = {\n children: 'Congratulations on Adopting a Pet',\n styling: 'regular',\n size: 'body5',\n};\n\n/**\n * Header Content\n *\n * @constant {IParagraph} headerContent - The content of the Header Setup\n * Component\n */\nconst headerContent: IParagraph = {\n children:\n 'Our free national lost and found pet database can help bring your pet home faster if they ever lose their way.',\n styling: 'regular',\n size: 'body3',\n};\n\n/**\n * Header Title\n *\n * @constant {React.ReactNode} headerTitle - The title of the Header Setup\n * Component\n */\nconst headerTitle: React.ReactNode = (\n <span>\n Sign up <span className=\"italic\">now </span> — in case they go missing{' '}\n <span className=\"italic\">later.</span>\n </span>\n);\n\n/**\n * Video Player Props\n *\n * @constant {IVideoPlayer} videoPlayerProps - The props for Video Player\n * Component\n */\nconst videoPlayerProps: IVideoPlayer = {\n image:\n process.env.NEXT_PUBLIC_CDN_BASE_URL + '/assets/lost/beast-with-kids.jpg',\n title: 'Watch pet reunion',\n alt: 'Kids with dog',\n video: 'https://www.youtube.com/watch?v=0-XfpCba6Lk',\n};\n\n/**\n * Accordion FAQ Props\n *\n * @constant {IAccordionFaq} accordionFaqProps - The props for Accordion FAQ\n * Component\n */\nconst accordionFaqProps: IAccordionFaq = {\n title: 'Frequently Asked Questions',\n subTitle:\n \"We're here to help lost and found pets reunite with their families.\",\n content: [\n {\n header: 'I lost my pet - what do I do?',\n content:\n 'First, upload a picture of your pet to begin your search on Petco Love Lost. We use facial recognition technology to help match lost pets nationwide. Next, call your local animal shelter or animal control agency. Give them your contact information, with a backup contact to ensure that you can respond to any sightings promptly. Also conduct a search of your nearby area. Most pets are found within a few blocks of where they went missing.',\n },\n {\n header: 'Can I report a lost or found pet?',\n content:\n 'Yes. With Petco Love Lost, you can post a picture of a lost or found cat or dog on our database. Share the pet listing you created to a social network like Nextdoor or Facebook. Call your local animal shelter, non-emergency police number or animal control office. Alerting these channels can let them know to be on the lookout for a lost pet.',\n },\n ],\n};\n\n/**\n * Shelter Contact Information Overline\n *\n * @constant {string} shelterContactInformationOverline - The overline of the\n * Shelter Contact Information Component\n */\nconst shelterContactInformationOverline = 'Your pet was adopted from';\n\n/**\n * ActivateAccountTemplate - A template for the Activate Account Page\n *\n * @param {IActivateAccountTemplate} props - The props for the\n * ActivateAccountTemplate component\n * @returns {React.FC<IActivateAccountTemplate>} Component\n */\nconst ActivateAccountTemplate: React.FC<IActivateAccountTemplate> = ({\n shelterContactInformation,\n adoptionImage = '',\n}) => {\n const { setInitiatingComponent } = useEventContext();\n\n /**\n * Header Button\n *\n * @constant {IButton} headerButton - The button of the Header Setup Component\n */\n const headerButton: IButton = {\n children: 'Set Up Account',\n size: 'md',\n type: 'button',\n variant: 'light',\n color: 'primary',\n href: `/activate-account/signup/`,\n /** Sets the component name for tracking */\n onClick: () => {\n setInitiatingComponent('Sign Up Button / All Pages');\n },\n };\n\n /**\n * Header Setup Props\n *\n * @constant {IHeaderSetup} headerSetupProps - The props for Header Setup\n * Component\n */\n const headerSetupProps: IHeaderSetup = {\n button: headerButton,\n content: headerContent,\n overline: headerOverline,\n title: headerTitle,\n };\n\n return (\n <div data-testid=\"activate-account-template\">\n <HeaderSetup\n {...headerSetupProps}\n photo={adoptionImage}\n classes=\"h-[calc(100vh-60px)] sm:h-[calc(100vh-60px)]\"\n />\n <PageWrapper classes=\"grid grid-cols-4 sm:grid-cols-6 md:grid-cols-12 gap-x-4 sm:gap-x-6 md:gap-x-8 gap-y-12 sm:gap-y-12 md:gap-y-20 pb-7 md:pb-[60px] pt-12 sm:pt-12 md:pt-20 px-6 sm:px-8 md:px-10\">\n {shelterContactInformation.name && (\n <ShelterContactInformation\n overline={shelterContactInformationOverline}\n {...shelterContactInformation}\n classes=\"border-y-0 col-span-4 sm:col-span-6 md:col-span-12 py-0 sm:py-0 md:py-0\"\n />\n )}\n <VideoPlayer\n {...videoPlayerProps}\n classes=\"col-span-4 sm:col-span-6 md:col-span-12\"\n />\n <AccordionFaq\n {...accordionFaqProps}\n classes=\"col-span-4 sm:col-span-6 md:col-start-4\"\n />\n </PageWrapper>\n </div>\n );\n};\n\nexport default ActivateAccountTemplate;\n","import { tomorrow } from '@/lib/utils/helpers/dateHelpers/dates';\n\n/**\n * The default expiration date\n *\n * @constant {Date}\n */\nexport const defaultExpirationDate: Date = tomorrow;\n","import { notApplicableString } from '@/lib/constants/constants/analytics';\nimport { defaultExpirationDate } from '@/lib/constants/constants/storage';\nimport { EventData } from '@/lib/hooks/analytics/useEventContext';\nimport { tomorrow } from '@/lib/utils/helpers/dateHelpers/dates';\nimport LocalStorage from '@/lib/utils/storage/local-storage';\n\n/**\n * The valid type for the initiating component param\n *\n * @type {AnalyticsInitiatingComponent}\n */\nexport type AnalyticsInitiatingComponent =\n | 'I Lost A Pet Button / Homepage'\n | 'I Found A Pet Button / Homepage'\n | 'I Lost A Pet Footer Link / All Pages'\n | 'I Found A Pet Footer Link / All Pages'\n | 'Search All Pets Link / Homepage'\n | 'Search All Pets Link / How To Help Page'\n | 'Search All Pets Button / How To Help Page'\n | 'Sign Up Button / All Pages'\n | 'Search Persistent Banner / All Pages'\n | 'I Found A Pet Button / Shelter Dashboard'\n | 'I Found A Pet Button / Shelter Homepage'\n | 'Search Button / User Dashboard'\n | 'Photo Search Chip / Search Results Page'\n | 'Microchip Search Chip / Search Results Page'\n | 'Distance Search Chip / Search Results Page'\n | 'Photo Search Button / Search Results Page'\n | 'Microchip Search Button / Search Results Page'\n | 'Distance Search Button / Search Results Page'\n | 'Photo Search Link / Search Results Page'\n | 'Microchip Search Link / Search Results Page'\n | 'Distance Search Link / Search Results Page'\n | 'Search By Microchip Link / Lost and Found Tips Page'\n | 'Contact Pet Finder Button'\n | 'Contact Pet Parent Button'\n | 'View Reported Pets Near Me / Alert Matches Page'\n | 'View Matches Button / Shelter Pets Page'\n | 'View Matches Button / Shelter Pet Profile'\n | 'Card Header Link / Photo Search Results Page / Lost'\n | 'Card Header Link / Photo Search Results Page / Found'\n | 'Card Header Link / Distance Search Results Page / Lost'\n | 'Card Header Link / Distance Search Results Page / Found'\n | 'Card Header Link / Microchip Search Results Page / Lost'\n | 'Card Header Link / Microchip Search Results Page / Found'\n | 'Card Header Link / Distance Search Results Page / All'\n | 'Card Header Link / Distance Search Results Map / Lost'\n | 'Card Header Link / Distance Search Results Map / Found'\n | 'Card Header Link / Distance Search Results Map / All'\n | 'Add Pet Button / User Dashboard / Lost'\n | 'Add Pet Button / User Dashboard / Found'\n | 'Report as Lost Button / User Dashboard / Lost'\n | 'Map View Icon'\n | 'List View Icon'\n | typeof notApplicableString;\n\n/**\n * The initiating component data\n *\n * @interface IAnalyticsInitiatingComponentData\n */\ninterface IAnalyticsInitiatingComponentData {\n /** The initiating component */\n component: AnalyticsInitiatingComponent;\n /** The data expiration date */\n expiration: Date;\n}\n\n/**\n * AnalyticsEventStorage class, this is used to store the analytics event\n * information that is not present in the context of certain pages\n *\n * @class AnalyticsEventStorage\n */\nexport class AnalyticsEventStorage {\n /** The session storage instance */\n private readonly analyticsEventStorage = new LocalStorage();\n\n /** The key to store the analytics event data under */\n private readonly analyticsEventStorageKey = 'analyticsEvent';\n\n private readonly initiatingComponentKey = 'initiatingAnalyticsComponent';\n\n /**\n * Set data in session storage\n *\n * @param {EventData} analyticsEvent - The analytics event object to store\n */\n public set = (analyticsEvent: EventData) => {\n this.analyticsEventStorage.set(\n this.analyticsEventStorageKey,\n analyticsEvent,\n { expires: tomorrow }\n );\n };\n\n /**\n * Get data from session storage\n *\n * @returns {EventData | null} The analytics event object\n */\n public get = (): EventData | null => {\n return this.analyticsEventStorage.get(\n this.analyticsEventStorageKey\n ) as EventData;\n };\n\n /** Delete data from session storage */\n public delete = () => {\n this.analyticsEventStorage.delete(this.analyticsEventStorageKey);\n };\n\n /**\n * Set the initiating component\n *\n * @param {string} component - The initiating component\n */\n public setInitiatingComponent = (component: AnalyticsInitiatingComponent) => {\n this.analyticsEventStorage.set(\n this.initiatingComponentKey,\n { component },\n { expires: defaultExpirationDate }\n );\n };\n\n /**\n * Retrieve the initiating component\n *\n * @constant {AnalyticsInitiatingComponent} initiatingComponent\n * @returns {AnalyticsInitiatingComponent} The initiating component\n */\n public getInitiatingComponent = (): AnalyticsInitiatingComponent => {\n /**\n * The analytics initiating component data\n *\n * @constant {IAnalyticsInitiatingComponentData} data\n */\n const data = this.analyticsEventStorage.get(\n this.initiatingComponentKey\n ) as IAnalyticsInitiatingComponentData;\n /**\n * The initiating component\n *\n * @constant {AnalyticsInitiatingComponent} component\n */\n const component = data?.component;\n\n if (component) {\n return component;\n }\n\n return 'NA';\n };\n}\n","import { notApplicableString } from '@/lib/constants/constants/analytics';\nimport { PetStatus } from '@/lib/constants/types/analytics';\nimport {\n AnalyticsEventStorage,\n AnalyticsInitiatingComponent,\n} from '@/lib/storageClasses/analyticsEventStorage';\nimport { PetFlowType } from '@/lib/utils/analytics/petSearch';\nimport {\n ReactNode,\n createContext,\n useCallback,\n useContext,\n useMemo,\n} from 'react';\n\n/**\n * The data structure for the event data, we can add more properties as needed\n *\n * @interface EventData\n */\nexport interface EventData {\n /** The method behind the operation */\n method?: string;\n /** The status of the pet (Lost, Found, Safe at Home) */\n petStatus?: PetStatus;\n /** The text on the button that was clicked to get to this event */\n clickText?: string;\n /** The id of the pet entity */\n petId?: number;\n /** The name of the pet */\n petName?: string;\n /** The zip code associated with the pet */\n locationId?: string;\n /** The species of the pet */\n species?: string;\n /** The start date of the search */\n start?: string | null;\n /** The flow type */\n flowType?: PetFlowType;\n}\n\n/** This is the data structure that can be returned from the provider */\nexport interface IEventContext {\n /** This is the method for updating the data */\n updateData: (newData: EventData) => void;\n /** This is the method for clearing the data */\n clearData: () => void;\n /** Get data */\n getData: () => EventData | undefined;\n /** Set the initiating component state */\n setInitiatingComponent: (component: AnalyticsInitiatingComponent) => void;\n /** The initiating component */\n getInitiatingComponent: () => AnalyticsInitiatingComponent;\n /** Get the pet id */\n getPetId: () => number | undefined;\n}\n\n/**\n * The default event context\n *\n * @constant {IEventContext} defaultEventContext\n */\nexport const defaultEventContext: IEventContext = {\n /** This method is used to update the data */\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n updateData: () => {},\n /**\n * This method is used to get the data\n *\n * @returns {undefined} - The data\n */\n getData: () => undefined,\n /** This method is used to clear the data */\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n clearData: () => {},\n /** Set the initiating component state */\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n setInitiatingComponent: () => {},\n /**\n * The default initiating component\n *\n * @returns {string} - The initiating component\n */\n getInitiatingComponent: (): AnalyticsInitiatingComponent =>\n notApplicableString,\n /**\n * The default pet id\n *\n * @returns {number | undefined} - The pet id\n */\n getPetId: () => undefined,\n};\n\n/** This is the context */\nconst EventContext = createContext<IEventContext>(defaultEventContext);\n\n/**\n * The interface for the EventContextProvider props\n *\n * @interface\n */\ninterface IEventContextProvider {\n /** The children wrapped by the provider */\n children: ReactNode;\n}\n\n/**\n * The EventContextProvider component.\n *\n * @param {IEventContextProvider} props - The props for the\n * EventContextProvider.\n * @returns {Element} - The EventContextProvider.\n */\nexport function EventContextProvider({\n children,\n}: IEventContextProvider): JSX.Element {\n // Make instance of AnalyticsEventStorage referentially stable so context methods can be passed to the dependency array\n const analyticsEventStorage = useMemo(() => new AnalyticsEventStorage(), []);\n\n /**\n * Update the state of data\n *\n * @param {EventData} newData - The new data\n * @returns {void}\n */\n const updateData = useCallback(\n (newData: EventData) => {\n const storedData = analyticsEventStorage.get();\n const currentData = storedData || {};\n if (currentData && newData) {\n newData = { ...currentData, ...newData };\n }\n analyticsEventStorage.set(newData);\n },\n [analyticsEventStorage]\n );\n\n /**\n * Clear the state of data\n *\n * @returns {void}\n */\n const clearData = useCallback(() => {\n analyticsEventStorage.delete();\n }, [analyticsEventStorage]);\n\n /**\n * Return the state of data, if it is not there then check the storage\n *\n * @returns {EventData | undefined} - The data\n */\n const getData = useCallback(() => {\n return analyticsEventStorage.get() || undefined;\n }, [analyticsEventStorage]);\n\n /**\n * Return the pet id from the storage if available\n *\n * @returns {number | undefined} - The pet id\n */\n const getPetId = useCallback(() => {\n const data = analyticsEventStorage.get();\n return data?.petId;\n }, [analyticsEventStorage]);\n\n /**\n * Set the initiating component\n *\n * @param {AnalyticsInitiatingComponent} component - The initiating component\n */\n const setInitiatingComponent = useCallback(\n (component: AnalyticsInitiatingComponent) => {\n analyticsEventStorage.setInitiatingComponent(component);\n },\n [analyticsEventStorage]\n );\n\n /**\n * Retrieve the initiating component\n *\n * @returns {AnalyticsInitiatingComponent} - The initiating component\n */\n const getInitiatingComponent = useCallback(() => {\n return analyticsEventStorage.getInitiatingComponent();\n }, [analyticsEventStorage]);\n\n return (\n <EventContext.Provider\n value={{\n clearData,\n getPetId,\n getData,\n getInitiatingComponent,\n setInitiatingComponent,\n updateData,\n }}\n >\n {children}\n </EventContext.Provider>\n );\n}\n\n/**\n * This is the hook for the event context\n *\n * @returns {IEventContext} - The context\n */\nexport const useEventContext = (): IEventContext => useContext(EventContext);\n","/**\n * Format Value Format the input value based on the pattern passed in\n *\n * @param {string} value - The input value\n * @param {number[]} [pattern=[3, 3, 4]] - The pattern to use for formatting.\n * Default is `[3, 3, 4]`\n * @returns {void}\n */\nconst formatPhoneNumber = (\n value: string,\n pattern: [number, number, number] = [3, 3, 4]\n): string => {\n /** Replace all non-numeric values from value */\n const numericValue = value.replace(/\\D/g, '');\n\n let formattedValue = numericValue;\n\n if (\n numericValue.length > pattern[0] &&\n numericValue.length < pattern[0] + pattern[1] + 1\n ) {\n formattedValue =\n '(' +\n numericValue.substring(0, pattern[0]) +\n ') ' +\n numericValue.substring(pattern[0], numericValue.length);\n } else if (\n numericValue.length >= pattern[0] + pattern[1] + 1 &&\n numericValue.length <= 10\n ) {\n formattedValue =\n '(' +\n numericValue.substring(0, pattern[0]) +\n ') ' +\n numericValue.substring(pattern[0], pattern[0] + pattern[1]) +\n '-' +\n numericValue.substring(pattern[0] + pattern[1], numericValue.length);\n }\n\n return formattedValue;\n};\n\nexport default formatPhoneNumber;\n","/**\n * The special characters that need to be replaced\n *\n * @constant {string}\n */\nexport const specialChars = 'à áäâèéëêìÃïîòóöôùúüûñçßÿœæŕśńṕẃǵǹḿǘáºÅºá¸§Â·/_,:;';\n\n/**\n * The string to replace the special characters with\n *\n * @constant {string}\n */\nconst specialCharsReplace = 'aaaaeeeeiiiioooouuuuncsyoarsnpwgnmuxzh------';\n\n/**\n * Slugify a string\n *\n * @param {string} str - The string to slugify\n * @returns {string} The string as a slug\n */\nexport default function stringToSlug(str: string): string {\n /**\n * Regex to match special characters\n *\n * @constant {RegExp}\n */\n const specialCharactersRegex = new RegExp(\n specialChars.split('').join('|'),\n 'g'\n );\n /**\n * Replace special characters with their replacements\n *\n * @param {string} character - The character to replace\n * @returns {string} The replacement character\n */\n const specialCharsReplacer = (character: string) =>\n specialCharsReplace.charAt(specialChars.indexOf(character));\n\n return str\n .toString()\n .toLowerCase()\n /** Replace spaces with - */\n .replace(/\\s+/g, '-')\n /** Replace special characters matching regex */\n .replace(specialCharactersRegex, specialCharsReplacer)\n /** Replace & with 'and' */\n .replace(/&/g, '-and-')\n /** Remove all non-word chars */\n .replace(/[^\\w-]+/g, '')\n /** Replace multiple - with single - */\n .replace(/--+/g, '-')\n /** Trim - from start of text */\n .replace(/^-+/, '')\n /** Trim - from end of text */\n .replace(/-+$/, '');\n}\n","var t;import r from\"react\";let a=(t=r.startTransition)!=null?t:function(i){i()};export{a as startTransition};\n","import E,{Fragment as F,createContext as C,useContext as I,useEffect as h,useMemo as S,useReducer as N,useRef as g}from\"react\";import{match as x}from'../../utils/match.js';import{forwardRefWithAs as L,render as O,Features as U}from'../../utils/render.js';import{optionalRef as K,useSyncRefs as B}from'../../hooks/use-sync-refs.js';import{useId as _}from'../../hooks/use-id.js';import{Keys as m}from'../keyboard.js';import{isDisabledReactIssue7711 as G}from'../../utils/bugs.js';import{OpenClosedProvider as j,State as R,useOpenClosed as W}from'../../internal/open-closed.js';import{useResolveButtonType as $}from'../../hooks/use-resolve-button-type.js';import{getOwnerDocument as J}from'../../utils/owner.js';import{useEvent as A}from'../../hooks/use-event.js';import{startTransition as X}from'../../utils/start-transition.js';var q=(o=>(o[o.Open=0]=\"Open\",o[o.Closed=1]=\"Closed\",o))(q||{}),z=(t=>(t[t.ToggleDisclosure=0]=\"ToggleDisclosure\",t[t.CloseDisclosure=1]=\"CloseDisclosure\",t[t.SetButtonId=2]=\"SetButtonId\",t[t.SetPanelId=3]=\"SetPanelId\",t[t.LinkPanel=4]=\"LinkPanel\",t[t.UnlinkPanel=5]=\"UnlinkPanel\",t))(z||{});let Q={[0]:e=>({...e,disclosureState:x(e.disclosureState,{[0]:1,[1]:0})}),[1]:e=>e.disclosureState===1?e:{...e,disclosureState:1},[4](e){return e.linkedPanel===!0?e:{...e,linkedPanel:!0}},[5](e){return e.linkedPanel===!1?e:{...e,linkedPanel:!1}},[2](e,n){return e.buttonId===n.buttonId?e:{...e,buttonId:n.buttonId}},[3](e,n){return e.panelId===n.panelId?e:{...e,panelId:n.panelId}}},k=C(null);k.displayName=\"DisclosureContext\";function M(e){let n=I(k);if(n===null){let o=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,M),o}return n}let v=C(null);v.displayName=\"DisclosureAPIContext\";function w(e){let n=I(v);if(n===null){let o=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,w),o}return n}let H=C(null);H.displayName=\"DisclosurePanelContext\";function V(){return I(H)}function Y(e,n){return x(n.type,Q,e,n)}let Z=F;function ee(e,n){let{defaultOpen:o=!1,...u}=e,T=g(null),l=B(n,K(a=>{T.current=a},e.as===void 0||e.as===F)),t=g(null),f=g(null),s=N(Y,{disclosureState:o?0:1,linkedPanel:!1,buttonRef:f,panelRef:t,buttonId:null,panelId:null}),[{disclosureState:i,buttonId:c},D]=s,d=A(a=>{D({type:1});let r=J(T);if(!r||!c)return;let p=(()=>a?a instanceof HTMLElement?a:a.current instanceof HTMLElement?a.current:r.getElementById(c):r.getElementById(c))();p==null||p.focus()}),P=S(()=>({close:d}),[d]),b=S(()=>({open:i===0,close:d}),[i,d]),y={ref:l};return E.createElement(k.Provider,{value:s},E.createElement(v.Provider,{value:P},E.createElement(j,{value:x(i,{[0]:R.Open,[1]:R.Closed})},O({ourProps:y,theirProps:u,slot:b,defaultTag:Z,name:\"Disclosure\"}))))}let te=\"button\";function ne(e,n){let o=_(),{id:u=`headlessui-disclosure-button-${o}`,...T}=e,[l,t]=M(\"Disclosure.Button\"),f=V(),s=f===null?!1:f===l.panelId,i=g(null),c=B(i,n,s?null:l.buttonRef);h(()=>{if(!s)return t({type:2,buttonId:u}),()=>{t({type:2,buttonId:null})}},[u,t,s]);let D=A(r=>{var p;if(s){if(l.disclosureState===1)return;switch(r.key){case m.Space:case m.Enter:r.preventDefault(),r.stopPropagation(),t({type:0}),(p=l.buttonRef.current)==null||p.focus();break}}else switch(r.key){case m.Space:case m.Enter:r.preventDefault(),r.stopPropagation(),t({type:0});break}}),d=A(r=>{switch(r.key){case m.Space:r.preventDefault();break}}),P=A(r=>{var p;G(r.currentTarget)||e.disabled||(s?(t({type:0}),(p=l.buttonRef.current)==null||p.focus()):t({type:0}))}),b=S(()=>({open:l.disclosureState===0}),[l]),y=$(e,i),a=s?{ref:c,type:y,onKeyDown:D,onClick:P}:{ref:c,id:u,type:y,\"aria-expanded\":l.disclosureState===0,\"aria-controls\":l.linkedPanel?l.panelId:void 0,onKeyDown:D,onKeyUp:d,onClick:P};return O({ourProps:a,theirProps:T,slot:b,defaultTag:te,name:\"Disclosure.Button\"})}let le=\"div\",oe=U.RenderStrategy|U.Static;function re(e,n){let o=_(),{id:u=`headlessui-disclosure-panel-${o}`,...T}=e,[l,t]=M(\"Disclosure.Panel\"),{close:f}=w(\"Disclosure.Panel\"),s=B(n,l.panelRef,P=>{X(()=>t({type:P?4:5}))});h(()=>(t({type:3,panelId:u}),()=>{t({type:3,panelId:null})}),[u,t]);let i=W(),c=(()=>i!==null?(i&R.Open)===R.Open:l.disclosureState===0)(),D=S(()=>({open:l.disclosureState===0,close:f}),[l,f]),d={ref:s,id:u};return E.createElement(H.Provider,{value:l.panelId},O({ourProps:d,theirProps:T,slot:D,defaultTag:le,features:oe,visible:c,name:\"Disclosure.Panel\"}))}let se=L(ee),ue=L(ne),ie=L(re),ve=Object.assign(se,{Button:ue,Panel:ie});export{ve as Disclosure};\n","import{useState as o}from\"react\";import{useIsoMorphicEffect as r}from'./use-iso-morphic-effect.js';function i(t){var n;if(t.type)return t.type;let e=(n=t.as)!=null?n:\"button\";if(typeof e==\"string\"&&e.toLowerCase()===\"button\")return\"button\"}function s(t,e){let[n,u]=o(()=>i(t));return r(()=>{u(i(t))},[t.type,t.as]),r(()=>{n||e.current&&e.current instanceof HTMLButtonElement&&!e.current.hasAttribute(\"type\")&&u(\"button\")},[n,e]),n}export{s as useResolveButtonType};\n","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;"],"names":["iconStateStyles","color","hovered","normal","disabled","shade","ButtonWithIcon_ButtonWithIcon","children","icon","onClick","classes","param","setHovered","useState","iconColor","iconShade","disabledClass","concat","jsx_runtime","jsxs","button","type","onMouseEnter","onMouseLeave","className","jsx","Icon","colorType","colorShade","span","VideoPlayer_VideoPlayer","title","image","alt","video","muted","loader","isOpen","setIsOpen","playerWrapperRef","useRef","closeModal","div","id","size","Image","src","layout","Transition","appear","show","as","Fragment","Dialog","onClose","initialFocus","Child","enter","enterFrom","enterTo","leave","leaveFrom","leaveTo","Panel","ButtonWithIcon","ref","ReactPlayer","playing","playsInline","url","controls","stopOnUnmount","volume","width","height","__webpack_exports__","Z","imageUrl","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","CdnSquareImage","loaders_cdnSquareImageLoader","quality","cdnBaseUrl","process","undefined","imagePath","getImagePath","CdnSquareImage_CdnSquareImage","cdnSquareImageLoader","props","IconButton","label","testid","address","email","phone","emailSubject","website","formattedPhone","test","formatPhoneNumber","window","open","overline","name","Paragraph","font","styling","ContactOrganization","AccordionContent_AccordionContent","content","setCollapse","twMerge","clsx","map","contentItem","index","Disclosure","defaultOpen","startOpen","close","headerValue","header","toString","stringToSlug","Button","AccordionFaq_AccordionFaq","subTitle","AnimateItem","from","translateY","Heading","AccordionContent","HeaderSetup_HeaderSetup","photo","imageSize","setImageSize","useWindowSize","useEffect","breakpoint","topPaddingMobile","topPaddingTablet","background","Avatar","generateImageUrl","headerOverline","headerContent","headerTitle","videoPlayerProps","accordionFaqProps","ActivateAccountTemplate_ActivateAccountTemplate","shelterContactInformation","adoptionImage","setInitiatingComponent","useEventContext","HeaderSetup","variant","href","PageWrapper","ShelterContactInformation","VideoPlayer","AccordionFaq","defaultExpirationDate","tomorrow","AnalyticsEventStorage","analyticsEventStorage","LocalStorage","analyticsEventStorageKey","initiatingComponentKey","set","analyticsEvent","expires","get","delete","component","getInitiatingComponent","data","EventContext","createContext","updateData","getData","clearData","notApplicableString","getPetId","EventContextProvider","useMemo","useCallback","storedData","currentData","newData","petId","Provider","value","useContext","pattern","numericValue","replace","formattedValue","length","substring","specialChars","str","specialCharactersRegex","split","join","toLowerCase","specialCharsReplace","charAt","indexOf","character","o","t","a","react","startTransition","i","q","Open","Closed","z","ToggleDisclosure","CloseDisclosure","SetButtonId","SetPanelId","LinkPanel","UnlinkPanel","Q","e","disclosureState","match","E","linkedPanel","n","buttonId","panelId","k","M","Error","captureStackTrace","displayName","v","H","Y","oe","render","AN","RenderStrategy","Static","ve","Object","assign","yV","u","T","l","use_sync_refs","h","current","f","s","useReducer","buttonRef","panelRef","c","D","d","use_event","r","owner","p","HTMLElement","getElementById","focus","P","b","createElement","open_closed","up","ZM","sY","ourProps","theirProps","slot","defaultTag","use_id","key","keyboard","R","Space","Enter","preventDefault","stopPropagation","bugs","currentTarget","y","use_resolve_button_type","onKeyDown","onKeyUp","w","oJ","features","visible","react__WEBPACK_IMPORTED_MODULE_0__","_use_iso_morphic_effect_js__WEBPACK_IMPORTED_MODULE_1__","HTMLButtonElement","hasAttribute","arguments","Array","isArray"],"sourceRoot":""}