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4J,KAAKJ,EAClC,EAOaD,EAAQ,Y,IACnBM,EAAAA,EAAAA,aAAAA,EAAAA,EACAC,iB,YAAAA,IAAmB,EAAAR,EAAAA,GACUO,E,yICvB/B,C,QAAA,EAAe,Y,IACbE,EAAAA,EAAAA,sBACAC,EAAAA,EAAAA,iBACAC,EAAAA,EAAAA,eAEA,SAAUF,IAA0BC,IAAoBC,EAC1D,C,wICNA,C,IANA,IAMA,EAN8B,SAACC,GACzBA,GAAOA,EAAIhH,SACbxC,OAAOyJ,SAASrJ,KAAOoJ,EAE3B,C,wICDA,C,QAAA,EAAe,SAACE,EAA0CC,G,IAKNA,EAJlD,QAAKD,KAGFA,EAAoBE,6BACpBF,EAAoBG,0BAA2BF,SAAc,QAAdA,EAAAA,EAAMG,gBAANH,IAAAA,OAAAA,EAAAA,EAAgBI,UAC/DL,EAAoBM,iCAAkCL,aAAAA,EAAAA,EAAMM,YAGjE,C","sources":["webpack://webstaurantstore/./ProductDetails/Pricing/AddToCart/AccessoryPopover.tsx","webpack://webstaurantstore/./__alias__/error-tracking/error-boundary.tsx","webpack://webstaurantstore/./common/AddToCartModal/AccessoriesModal.tsx","webpack://webstaurantstore/./common/SaleBadgeAndPricing/index.tsx","webpack://webstaurantstore/./productListing/ProductBox/SuccessMessage.tsx","webpack://webstaurantstore/./ProductDetails/Carousel/fetchAccessories.ts","webpack://webstaurantstore/./ProductDetails/Pricing/AddToCart/getMinBuyForQuantityDropdown.ts","webpack://webstaurantstore/./analytics/AddToCart/carouselAddToCartAnalytics.ts","webpack://webstaurantstore/./common/AddToCart/Constants.ts","webpack://webstaurantstore/./common/AddToCartModal/index.ts","webpack://webstaurantstore/./common/AddToCartModal/useAddToCartModals.ts","webpack://webstaurantstore/./common/Email/EmailValidator.ts","webpack://webstaurantstore/./common/Product/shouldDisplayRequiredCustomization.ts","webpack://webstaurantstore/./common/navigation/setWindowLocationHref.ts","webpack://webstaurantstore/./productListing/ProductBox/isNonExclusivePlatinumPlusProduct.ts"],"sourcesContent":["import { Icon, Popover, PopoverBody, PopoverContent, PopoverClose, PopoverTrigger } from \"@clarkinc/zest-design-system/ui\";\nimport React, { FocusEventHandler, MouseEventHandler, MutableRefObject, useCallback, useRef, useState } from \"react\";\ninterface Props {\n accessoryName: string;\n extendedInfo: string;\n placement?: \"left\" | \"right\" | \"bottom\" | \"top\";\n portalContainer?: HTMLElement;\n}\nconst AccessoryPopover = ({\n accessoryName,\n extendedInfo,\n placement,\n portalContainer\n}: Props) => {\n const [open, setOpen] = useState(false);\n const [wasAutoFocusedOnClose, setWasAutoFocusedOnClose] = useState(false);\n const mouseOverRef: MutableRefObject = useRef(null);\n const contentRef = useRef(null);\n const triggerRef = useRef(null);\n const handleMouseEnter: MouseEventHandler = useCallback((e): void => {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n mouseOverRef.current = e.target as HTMLElement;\n setOpen(true);\n }, []);\n const handleMouseTriggerLeave = useCallback((): void => {\n if (contentRef.current?.contains(mouseOverRef.current)) {\n return;\n }\n setOpen(false);\n }, [contentRef]);\n const handleMouseContentLeave = useCallback((): void => {\n if (triggerRef.current?.contains(mouseOverRef.current)) {\n return;\n }\n setOpen(false);\n }, [triggerRef]);\n const handleFocus: FocusEventHandler = useCallback(() => {\n if (wasAutoFocusedOnClose) {\n setWasAutoFocusedOnClose(false);\n setOpen(false);\n return;\n }\n setOpen(true);\n }, [wasAutoFocusedOnClose]);\n const handleCloseAutoFocus = (event: Event) => {\n event.preventDefault();\n setOpen(false);\n setWasAutoFocusedOnClose(true);\n setTimeout(() => {\n triggerRef.current?.focus();\n }, 0);\n };\n return \n \n \n \n {\n handleCloseAutoFocus(e);\n }} ref={contentRef} placement={placement} portalContainer={portalContainer} data-sentry-element=\"PopoverContent\" data-sentry-source-file=\"AccessoryPopover.tsx\">\n \n \n {/* eslint-disable-next-line react/no-danger */}\n \n \n \n ;\n};\nexport default AccessoryPopover;","import { cls } from \"@wss/cls\";\nimport React, { ErrorInfo, HTMLAttributes, HtmlHTMLAttributes, KeyboardEvent, MouseEvent, SVGAttributes, SVGProps } from \"react\";\nimport { logException } from \".\";\nexport * from \"react-error-boundary\";\nexport function FallbackContainer({\n children,\n className,\n ...rest\n}: HTMLAttributes): JSX.Element {\n return
\n {children}\n
;\n}\nexport function SadComputerSVG({\n className,\n ...rest\n}: SVGProps): JSX.Element {\n return \n \n \n \n \n \n \n \n \n ;\n}\nexport function FallbackHeading({\n className,\n ...rest\n}: HTMLAttributes): JSX.Element {\n return

\n Sorry about that.\n

;\n}\nexport function FallbackMessage({\n className,\n ...rest\n}: HTMLAttributes): JSX.Element {\n return

\n You have encountered a technical error on our site. Our engineers have\n been notified and will be looking into it shortly. We apologize for the\n inconvenience.\n

;\n}\nexport function FallbackButtonContainer({\n children,\n className,\n ...rest\n}: HTMLAttributes): JSX.Element {\n return
\n {children}\n
;\n}\nexport function FallbackGoBackButton({\n className,\n ...rest\n}: HTMLAttributes): JSX.Element {\n function handleGoBack(event: MouseEvent): void {\n event.preventDefault();\n window.history.back();\n }\n function handleDisableSpace(e: KeyboardEvent): void {\n if (e.code === \"Space\") e.preventDefault();\n }\n return ;\n}\nexport function FallbackChatNowButton({\n className,\n onClick,\n ...rest\n}: HTMLAttributes): JSX.Element {\n function handleOpenChat(e: MouseEvent): boolean {\n if (onClick) {\n onClick(e);\n } else {\n window.open(\"/chat/\", \"\", \"width=650,height=700,resizable=1,scrollbars=1\");\n }\n return false;\n }\n return \n Chat Now\n ;\n}\nexport type PageFallbackProps = {\n containerProps?: HTMLAttributes;\n svgProps?: SVGAttributes;\n headingProps?: HTMLAttributes;\n messageProps?: HTMLAttributes;\n buttonContainerProps?: HtmlHTMLAttributes;\n goBackProps?: HTMLAttributes;\n chatNowProps?: HTMLAttributes;\n};\nexport function PageFallback({\n containerProps,\n svgProps,\n headingProps,\n messageProps,\n buttonContainerProps,\n goBackProps,\n chatNowProps\n}: PageFallbackProps): JSX.Element {\n return \n \n \n \n \n \n \n \n ;\n}\nexport function logErrorBoundaryToSentry(error: Error, info: ErrorInfo): void {\n let message = \"There was an error rendering a component.\";\n if (info.componentStack) {\n message += `\\nComponent Stack:\\n${info.componentStack}`;\n } else {\n message += `\\nMissing Component Stack`;\n }\n logException(new Error(message, {\n cause: error\n }));\n}","import React, { useCallback, useState } from \"react\";\nimport formatAsCurrency from \"@wss/utilities/formatAsCurrency\";\nimport Modal, { Header, Footer, Body } from \"~/common/ModalReact\";\nimport Button from \"~/common/Buttons\";\nimport { AddToCartModal } from \".\";\nimport { Accessory } from \"../Store/models/ProductListing\";\nimport AccessoryPopover from \"~/ProductDetails/Pricing/AddToCart/AccessoryPopover\";\ninterface Props extends AddToCartModal<\"accessories\"> {\n accessories: Readonly;\n itemNumber: string;\n previouslyPurchased?: boolean;\n}\nexport default ({\n isOpen,\n accessories,\n itemNumber,\n closeModal,\n submitModal,\n previouslyPurchased = false\n}: Props) => {\n interface Values {\n [index: string]: string;\n }\n const [values, setValues] = useState({});\n const [errors, setErrors] = useState([]);\n const [portalContainer, setPortalContainer] = useState(null);\n const setModalRef = useCallback((node: HTMLDivElement | null) => {\n if (node) {\n setPortalContainer(node); // Store in state to trigger re-render for Modal content\n }\n }, []);\n const valid = () => {\n const newErrors: string[] = [];\n accessories.forEach(accessory => {\n if (!accessory.isRequired || values[accessory.name]) return;\n newErrors.push(accessory.name);\n });\n setErrors(newErrors);\n return !newErrors.length;\n };\n const handleAddToCart = async (event: React.SyntheticEvent) => {\n event.preventDefault();\n if (valid()) {\n submitModal({\n accessories: Object.values(values)\n });\n setValues({});\n }\n };\n const validateSingle = (accessoryName: string) => {\n setErrors([...errors].filter(error => error !== accessoryName));\n };\n return \n
\n

\n {`Product Accessories for ${itemNumber.toUpperCase()}`}\n

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

\n This item has further options/accessories available.\n

\n {accessories.map(accessory =>
\n
\n {accessory.extendedInfo && \n \n }\n \n \n \n
\n
)}\n {errors[0] &&

\n \n {`Please select a ${errors[0]} for this product.`}\n \n

}\n
\n
\n \n
\n \n \n
\n
;\n};","import React from \"react\";\nimport { cls } from \"@wss/cls\";\nimport formatAsCurrency from \"@wss/utilities/formatAsCurrency\";\ninterface SaleBadgeAndPricingProps {\n price: number;\n displayPriceLabel?: boolean;\n priceLabel?: string;\n dataTestId?: string;\n salePricingClassNames?: string;\n saleBadgeExtraClassNames?: string;\n salePrice?: number;\n unitOfMeasure?: string;\n enableSalePriceScreenReaderText?: boolean;\n hideRegularPrice?: boolean;\n hideRegularLabel?: boolean;\n labelClassnames?: string;\n}\nconst SaleBadgeAndPricing = ({\n price,\n displayPriceLabel = false,\n priceLabel = \"\",\n dataTestId = \"\",\n salePricingClassNames = \"\",\n saleBadgeExtraClassNames = \"\",\n salePrice = 0,\n unitOfMeasure = \"\",\n enableSalePriceScreenReaderText = false,\n hideRegularPrice = false,\n hideRegularLabel = false,\n labelClassnames = \"\"\n}: SaleBadgeAndPricingProps) => {\n return

\n \n Sale\n \n {hideRegularPrice ? null : \n {hideRegularLabel ? null : <>\n regular price\n reg \n }\n {displayPriceLabel ? priceLabel : formatAsCurrency.formatIfUndefined(price)}\n {enableSalePriceScreenReaderText ? \n now {formatAsCurrency.formatIfUndefined(salePrice)} /{\" \"}\n {unitOfMeasure}\n : null}\n }\n

;\n};\nexport default SaleBadgeAndPricing;","import React from \"react\";\ninterface Props {\n quantity: number;\n}\nexport default ({\n quantity\n}: Props) => <>\n \n {`${quantity} item${quantity > 1 ? \"s\" : \"\"} `}\n \n added to your cart\n ;","import { logException } from \"@wss/error-tracking\";\nimport { toError } from \"@wss/error-tracking/utils\";\nimport { Accessory } from \"~/common/Store/models/ProductListing\";\n\nconst fetchAccessories = async (itemNumber: string): Promise => {\n const endpointUrl = \"/api/productlisting/productaccessories\";\n try {\n const result = await fetch(\n `${endpointUrl}?itemNumber=${encodeURIComponent(itemNumber)}`\n );\n\n return result.json();\n } catch (e) {\n const error = new Error(\"Error in fetchAccessories\", {\n cause: toError(e),\n });\n\n await logException(error);\n\n return [];\n }\n};\nexport default fetchAccessories;\n","interface Props {\n minBuy: number;\n mustBuy: number;\n}\n\nexport default ({ minBuy, mustBuy }: Props): number => {\n let startQuantity = Math.max(minBuy, mustBuy);\n\n // handle the case when the start quantity is not divisible by must buy\n if (mustBuy > 1 && minBuy > mustBuy && startQuantity % mustBuy !== 0) {\n let counter = 1;\n while (mustBuy * counter < minBuy) {\n counter += 1;\n startQuantity = mustBuy * counter;\n }\n }\n\n return startQuantity;\n};\n","/* eslint-disable import/prefer-default-export */\nimport { checkIfCarouselIsRecAi } from \"~/userAnalytics\";\n\nexport const getCarouselProps = (\n addToCartButtonOnCarousel: HTMLElement | null\n) => {\n // type checking since we are using refs to pass the element\n if (!addToCartButtonOnCarousel) {\n return { carouselName: \"\", carouselModel: \"\", position: 0 };\n }\n const carouselElement = addToCartButtonOnCarousel?.closest(\n \"[gtm-carousel-name]\"\n );\n const carouselName = carouselElement?.getAttribute(\"gtm-carousel-name\");\n const addToCartButtons = carouselElement?.querySelectorAll(\n \"[name=addToCartButton]\"\n );\n if (!carouselName || !addToCartButtons) {\n return { carouselName: \"\", carouselModel: \"\", position: 0 };\n }\n const position =\n Array.from(addToCartButtons).indexOf(addToCartButtonOnCarousel) + 1;\n\n return {\n carouselName,\n carouselModel: checkIfCarouselIsRecAi(carouselName),\n position,\n };\n};\n","export const AddToCartErrorNames = {\n cartItemCountLimit: \"cartItemCountLimit\",\n};\n\nexport const AddToCartErrorMessages = {\n cartItemCountLimitMessage:\n \"You have reached the maximum amount of items for a single order. Please place your order, so you can continue to purchase items on a second separate order.\",\n};\n","type AddToCartModalWithUserInput = {\n name: ModalName;\n result: ResultType;\n};\n\ntype AddToCartModalWithoutUserInput = {\n name: ModalName;\n};\n\n/*\n * Add To Cart Modal Types.\n * Add To Cart Modals with user input will map there result type to\n * their submit modal callbacks.\n */\ntype Accessories = AddToCartModalWithUserInput<\"accessories\", string[]>;\ntype VirtualGrouping = AddToCartModalWithUserInput<\n \"virtualGrouping\",\n VirtualGroupingInput\n>;\ntype Outlet = AddToCartModalWithoutUserInput<\"outlet\">;\ntype Warning = AddToCartModalWithoutUserInput<\"warning\">;\ntype CommercialUse = AddToCartModalWithUserInput<\"commercialUse\", boolean>;\ntype Warranty = AddToCartModalWithUserInput<\"warranty\", WarrantyOption>;\n\nexport type VirtualGroupingInput = {\n groupMemberItemNumber: string;\n hasAccessories: boolean;\n};\n\nexport type WarrantyOption = {\n warrantyId: number;\n skipCommercialModal?: boolean;\n noThanksSelected?: boolean;\n};\n\n/*\n * Add all of the Modals from above to one of these unions.\n */\ntype AddToCartModalsWithUserInput =\n | Accessories\n | VirtualGrouping\n | Warranty\n | CommercialUse;\ntype AddToCartModalsWithoutUserInput = Warning | Outlet;\n\ntype AddToCartModals =\n | AddToCartModalsWithUserInput\n | AddToCartModalsWithoutUserInput;\n\nexport type AddToCartModalNames = AddToCartModals[\"name\"];\ntype AddToCartModalWithUserInputName = AddToCartModalsWithUserInput[\"name\"];\n\ntype UnboxProductModalUserInput<\n ModalName extends AddToCartModalWithUserInputName,\n BoxedProductResult extends AddToCartModalsWithUserInput\n> = BoxedProductResult extends AddToCartModalWithUserInput<\n ModalName,\n infer ModalResult\n>\n ? ModalResult\n : never;\n\n/*\n * Takes the name of the modal and determines its result type\n */\ntype AddToCartModalUserInput<\n ModalName extends AddToCartModalWithUserInputName\n> = UnboxProductModalUserInput;\n\nexport type AddToCartModal = {\n isOpen: boolean;\n closeModal: () => void;\n submitModal: ModalName extends AddToCartModalWithUserInputName\n ? (result: { [K in ModalName]: AddToCartModalUserInput }) => void\n : () => void;\n};\n\n/*\n * Maps the modal name to a key with the correct type\n * EX:\n * ProductModalWithResult<\"isTrue\", boolean> -> isTrue?: boolean | undefined;\n * ProductModalWithResult<\"testArray\", string[]> -> testArray?: string[] | undefined;\n */\nexport type AddToCartModalUserInputs = {\n [Key in AddToCartModalWithUserInputName]?: AddToCartModalUserInput;\n};\n\nexport type State = {\n modalsToOpen: AddToCartModalNames[];\n modalResults: AddToCartModalUserInputs;\n activeModal: AddToCartModalNames | \"\";\n};\n\nexport type Action =\n | {\n type: \"openModal\";\n firstModal: AddToCartModalNames;\n otherModals: AddToCartModalNames[];\n }\n | {\n type: \"submitModal\";\n result?: AddToCartModalUserInputs;\n nextModal: AddToCartModalNames;\n otherModals: AddToCartModalNames[];\n }\n | {\n type: \"reset\";\n };\n\nexport const initialState: State = {\n modalsToOpen: [],\n modalResults: {},\n activeModal: \"\",\n};\n\nexport const reducer = (state: State, action: Action): State => {\n switch (action.type) {\n case \"openModal\":\n return {\n modalResults: {},\n activeModal: action.firstModal,\n modalsToOpen: action.otherModals,\n };\n case \"submitModal\":\n return {\n activeModal: action.nextModal,\n modalsToOpen: action.otherModals,\n modalResults: {\n ...state.modalResults,\n ...action.result,\n },\n };\n case \"reset\":\n return initialState;\n default:\n return state;\n }\n};\n","import { useCallback, useReducer } from \"react\";\nimport {\n AddToCartModalNames,\n AddToCartModalUserInputs,\n initialState,\n reducer,\n} from \".\";\n\ninterface Props {\n onComplete: (\n results: AddToCartModalUserInputs,\n openModals: (modals: AddToCartModalNames[]) => void\n ) => void;\n}\n\nconst useAddToCartModals = ({ onComplete }: Props) => {\n const [state, dispatch] = useReducer(reducer, initialState);\n const { modalsToOpen, modalResults, activeModal } = state;\n\n const openModals = (modals: AddToCartModalNames[]) => {\n if (modals[0]) {\n const [firstModal, ...otherModals] = modals;\n dispatch({ type: \"openModal\", firstModal, otherModals });\n }\n };\n\n const closeModal = useCallback(() => {\n // Workaround for react-modal issue: https://github.com/reactjs/react-modal/issues/888\n document.body.classList.remove(\"overflow-hidden\");\n document.body.removeAttribute(\"aria-hidden\");\n\n dispatch({ type: \"reset\" });\n }, []);\n\n const submitModal = (result?: AddToCartModalUserInputs) => {\n const [nextModal, ...otherModals] = modalsToOpen;\n\n if (\n nextModal &&\n (nextModal !== \"commercialUse\" ||\n !result?.warranty?.skipCommercialModal) &&\n (nextModal !== \"accessories\" ||\n !result?.virtualGrouping?.groupMemberItemNumber ||\n result?.virtualGrouping?.hasAccessories)\n ) {\n dispatch({ type: \"submitModal\", nextModal, otherModals, result });\n } else {\n const allResults = { ...modalResults, ...result };\n onComplete(allResults, openModals);\n dispatch({ type: \"reset\" });\n }\n\n // Workaround for react-modal issue: https://github.com/reactjs/react-modal/issues/888\n document.body.classList.remove(\"overflow-hidden\");\n document.body.removeAttribute(\"aria-hidden\");\n };\n\n return {\n openModals,\n activeModal,\n closeModal,\n submitModal,\n };\n};\n\nexport default useAddToCartModals;\n","export const validateEmail = (emailaddress: string) => {\n const r = String.raw;\n const emailAddressPattern = new RegExp(\n // beginning of string\n r`^` +\n // username portion: one or more characters that are not whitespace or @\n r`[^@\\s]+` +\n // an @ symbol\n r`@` +\n // domain components: one or more groups of one or more characters\n // other than @, \\, ., or whitespace, each followed by a . separator\n r`(?:[^@\\s\\\\.]+\\.)+` +\n // TLD: one additional domain component but without a . after it\n r`[^@\\s\\\\.]+` +\n // end of string\n r`$`\n );\n\n return emailAddressPattern.test(emailaddress);\n};\n\ninterface Params {\n emailAddress: string;\n validationsToRun?: typeof validateEmail;\n}\n\nexport const valid = ({\n emailAddress,\n validationsToRun = validateEmail,\n}: Params) => validationsToRun(emailAddress);\n","interface Product {\n customizationRequired: boolean;\n customizationUrl: string;\n isCustomizable: boolean;\n}\n\nexport default ({\n customizationRequired,\n customizationUrl,\n isCustomizable,\n}: Product): boolean => {\n return !!(customizationRequired && (customizationUrl || isCustomizable));\n};\n","const setWindowLocationHref = (url?: string) => {\n if (url && url.length) {\n window.location.href = url;\n }\n};\n\nexport default setWindowLocationHref;\n","import { CustomerExclusivity } from \"~/common/Store/models/ProductListing\";\nimport { User } from \"~/common/Store/models/User\";\n\nexport default (customerExclusivity: CustomerExclusivity, user: User) => {\n if (!customerExclusivity) return false;\n\n const isNonExclusiveProduct =\n !customerExclusivity.disallowNonMemberToPurchase ||\n (customerExclusivity.allowPlatinumToPurchase && user?.platinum?.enabled) ||\n (customerExclusivity.allowWebstaurantPlusToPurchase && user?.hasWebPlus);\n\n return isNonExclusiveProduct;\n};\n"],"names":["accessoryName","extendedInfo","placement","portalContainer","useState","open","setOpen","wasAutoFocusedOnClose","setWasAutoFocusedOnClose","mouseOverRef","useRef","contentRef","triggerRef","handleMouseEnter","useCallback","e","current","target","handleMouseTriggerLeave","contains","handleMouseContentLeave","handleFocus","Popover","onOpenChange","data-sentry-element","data-sentry-component","data-sentry-source-file","PopoverTrigger","aria-label","className","onMouseEnter","onMouseLeave","onFocus","ref","Icon","theme","data-testid","name","size","PopoverContent","onCloseAutoFocus","preventDefault","setTimeout","focus","PopoverClose","PopoverBody","span","dangerouslySetInnerHTML","__html","FallbackContainer","SadComputerSVG","FallbackHeading","FallbackMessage","FallbackButtonContainer","FallbackGoBackButton","FallbackChatNowButton","PageFallback","logErrorBoundaryToSentry","children","rest","div","cls","svg","xmlns","width","height","viewBox","g","fill","fillRule","path","d","circle","cx","cy","r","h1","p","button","type","role","onKeyDown","code","onClick","event","window","history","back","a","href","color","title","containerProps","svgProps","headingProps","messageProps","buttonContainerProps","goBackProps","chatNowProps","error","info","message","componentStack","logException","Error","cause","values","isOpen","accessories","itemNumber","closeModal","submitModal","previouslyPurchased","setValues","errors","setErrors","setPortalContainer","setModalRef","node","handleAddToCart","newErrors","forEach","accessory","isRequired","push","length","Object","Modal","onRequestClose","Header","h4","toUpperCase","Body","id","map","includes","AccessoryPopover","undefined","select","value","onChange","filter","option","disabled","options","available","formatAsCurrency","description","formatIfUndefined","Number","price","label","i","Footer","Button","gtm-id","displayPriceLabel","priceLabel","dataTestId","salePricingClassNames","saleBadgeExtraClassNames","salePrice","unitOfMeasure","enableSalePriceScreenReaderText","hideRegularPrice","hideRegularLabel","labelClassnames","aria-hidden","quantity","endpointUrl","fetch","encodeURIComponent","json","toError","minBuy","mustBuy","startQuantity","Math","max","counter","getCarouselProps","addToCartButtonOnCarousel","carouselName","carouselModel","position","carouselElement","closest","getAttribute","addToCartButtons","querySelectorAll","Array","from","indexOf","checkIfCarouselIsRecAi","AddToCartErrorNames","AddToCartErrorMessages","cartItemCountLimit","cartItemCountLimitMessage","initialState","reducer","modalsToOpen","modalResults","activeModal","state","action","firstModal","otherModals","nextModal","result","onComplete","useReducer","dispatch","openModals","modals","document","body","classList","remove","removeAttribute","warranty","skipCommercialModal","virtualGrouping","groupMemberItemNumber","hasAccessories","allResults","validateEmail","valid","emailaddress","String","raw","RegExp","test","emailAddress","validationsToRun","customizationRequired","customizationUrl","isCustomizable","url","location","customerExclusivity","user","disallowNonMemberToPurchase","allowPlatinumToPurchase","platinum","enabled","allowWebstaurantPlusToPurchase","hasWebPlus"],"sourceRoot":""}