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AA,WAAU,WACT,SAASC,IACRR,EAAaC,IAAAA,eACbI,EAAkBJ,IAAAA,oBACnB,CACA,SAASQ,IACRN,GAA+B,EAChC,CACA,SAASO,IACRP,GAA+B,EAChC,CAKA,OAJAjG,IAAAA,GAAmB,kCAAmCsG,GACtDtG,IAAAA,GAAmB,6BAA8BuG,GACjDvG,IAAAA,GAAmB,+BAAgCwG,GAE5C,WACNxG,IAAAA,IAAoB,kCAAmCsG,GACvDtG,IAAAA,IAAoB,6BAA8BuG,GAClDvG,IAAAA,IAAoB,+BAAgCwG,EACrD,CACD,EAAG,IACH,IAAIC,EAA2B,EAE/B,IAAK,MAAMC,KAAQ7D,EACd6D,EAAKC,wBACRF,IAGF,MAAO,CACN5D,YACA8C,mBACAE,cACAG,8BACAS,2BACAP,iBAEF","sources":["webpack://@logos/commerceweb-frontend/./Scripts/site/cart/services/couponcodeservice.js","webpack://@logos/commerceweb-frontend/./Scripts/site/components/order-totals/index.jsx","webpack://@logos/commerceweb-frontend/./Scripts/site/components/cart-coupon-widget/index.jsx","webpack://@logos/commerceweb-frontend/./Scripts/site/components/cart/payment-plan-options-message/index.tsx","webpack://@logos/commerceweb-frontend/./Scripts/site/components/cart/cart-summary/index.jsx","webpack://@logos/commerceweb-frontend/./Scripts/site/components/cart/group-summary/index.tsx","webpack://@logos/commerceweb-frontend/./Scripts/site/components/checkout-shared/useCartItems.js"],"sourcesContent":["'use strict';\n\nconst $ = require('jquery');\n\nmodule.exports = {\n\tvalidateCouponCode: function (url, couponCode) {\n\t\treturn $.get(url.replace(/placeholder/, encodeURIComponent(couponCode)));\n\t},\n};\n","import React, { useState } from 'react';\nimport { CommandSentence } from '@faithlife/command-sentence-control';\nimport { Typography, InfoIcon } from '@faithlife/commerce-components';\nimport { useCartEffect } from '../checkout-shared/useCartEffect';\nimport { useLocalization } from '../../localization';\nimport Tooltip from '../shared/tooltip';\nimport UtcDateTimeDisplay, { UtcDateTimeDisplayFormatType } from '../shared/utc-date-time-display';\n\nexport default function OrderTotals({\n\tenablePaymentPlanConsentButton,\n\tindicateRequiredFields,\n\tisEmbedded,\n\torderLevelDiscounts: initialOrderLevelDiscounts,\n\t...initialModel\n}) {\n\tconst resources = useLocalization('Logos.CommerceWeb.ShoppingCarts.Resources.OrderTotals');\n\tconst [model, setModel] = useState(initialModel);\n\tconst [orderLevelDiscounts, setOrderLevelDiscounts] = useState(initialOrderLevelDiscounts);\n\n\tuseCartEffect(cart => {\n\t\tsetModel(cart.order);\n\t\tsetOrderLevelDiscounts(cart.order.orderLevelDiscounts);\n\t});\n\n\tfunction foreignCurrency(text, isNegative) {\n\t\treturn (\n\t\t\tmodel.usesForeignCurrency && (\n\t\t\t\t<Typography\n\t\t\t\t\ttag=\"span\"\n\t\t\t\t\tvariant=\"ui4\"\n\t\t\t\t\tclassName={`${isNegative ? 'before:content-[\"(-\"]' : 'before:content-[\"(\"]'} after:content-[')']`}\n\t\t\t\t>\n\t\t\t\t\t{text}\n\t\t\t\t</Typography>\n\t\t\t)\n\t\t);\n\t}\n\n\treturn (\n\t\t<>\n\t\t\t<div className=\"flex w-full flex-col text-[16px] divide-y divide-[#00042F]\">\n\t\t\t\t<div className=\"w-full pt-2 pb-4\">\n\t\t\t\t\t{orderLevelDiscounts.map((discount, index) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<div key={index} className=\"flex w-full flex-row justify-between py-2 text-primary-500\">\n\t\t\t\t\t\t\t\t<div>{discount.description}</div>\n\t\t\t\t\t\t\t\t<div className=\"flex flex-col items-end gap-1 justify-center\">\n\t\t\t\t\t\t\t\t\t<Typography className=\"before:content-['-']\" variant=\"ui2\">\n\t\t\t\t\t\t\t\t\t\t{discount.amountUsdText}\n\t\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t\t{foreignCurrency(discount.amountText, true)}\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t\t<div className=\"flex w-full flex-row justify-between py-2 text-primary-500\">\n\t\t\t\t\t\t<Typography variant=\"bodySmall\">{resources.Subtotal}</Typography>\n\t\t\t\t\t\t<div className=\"flex flex-col items-end gap-1 justify-center\">\n\t\t\t\t\t\t\t<Typography variant=\"ui2\">{model.subtotalUsdCurrencyText}</Typography>\n\t\t\t\t\t\t\t{foreignCurrency(model.subtotalCurrencyText)}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div className=\"flex w-full flex-row justify-between py-2 text-primary-500\">\n\t\t\t\t\t\t<Typography variant=\"bodySmall\">{resources.Tax}</Typography>\n\t\t\t\t\t\t<div className=\"flex flex-col items-end gap-1 justify-center\">\n\t\t\t\t\t\t\t<Typography variant=\"ui2\">{model.taxUsdCurrencyText}</Typography>\n\t\t\t\t\t\t\t{foreignCurrency(model.taxCurrencyText)}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t{model.paymentPlanFeesUsdCurrencyText !== '--' && (\n\t\t\t\t\t\t<div className=\"flex w-full flex-row justify-between py-2 text-primary-500\">\n\t\t\t\t\t\t\t<Typography variant=\"bodySmall\">{resources.Fees}</Typography>\n\t\t\t\t\t\t\t<div className=\"flex flex-col items-end gap-1 justify-center\">\n\t\t\t\t\t\t\t\t<Typography variant=\"ui2\">{model.paymentPlanFeesUsdCurrencyText}</Typography>\n\t\t\t\t\t\t\t\t{foreignCurrency(model.paymentPlanFeesCurrencyText)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t\t{model.appliedCreditUsdCurrencyText !== '--' && (\n\t\t\t\t\t\t<div className=\"flex w-full flex-row justify-between py-2 text-primary-500\">\n\t\t\t\t\t\t\t<Typography variant=\"bodySmall\">{resources.ApplyCredit}</Typography>\n\t\t\t\t\t\t\t<div className=\"flex flex-col items-end gap-1 justify-center\">\n\t\t\t\t\t\t\t\t<Typography className=\"before:content-['-']\" variant=\"ui2\">\n\t\t\t\t\t\t\t\t\t{model.appliedCreditUsdCurrencyText}\n\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t{foreignCurrency(model.appliedCreditCurrencyText, true)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t\t{model.totalSubscriptionAvailableBalanceCurrencyText !== '--' && (\n\t\t\t\t\t\t<div className=\"flex w-full flex-row justify-between py-2 text-primary-500\">\n\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t<Typography variant=\"bodySmall\" className=\"inline\">\n\t\t\t\t\t\t\t\t\t{resources.BalanceApplied}\n\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t<Tooltip\n\t\t\t\t\t\t\t\t\tplacement=\"bottom\"\n\t\t\t\t\t\t\t\t\tariaLabel={resources.BalanceApplied}\n\t\t\t\t\t\t\t\t\tlink={<InfoIcon size={16} className=\"ml-1\" />}\n\t\t\t\t\t\t\t\t\tcontentStyles={{ maxWidth: ['calc(100vw - 24px)', '300px'] }}\n\t\t\t\t\t\t\t\t\tclassName=\"inline-block align-middle\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<Typography variant=\"bodySmall\">{resources.BalanceAppliedDisclaimer}</Typography>\n\t\t\t\t\t\t\t\t</Tooltip>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div className=\"flex flex-col items-end gap-1 justify-center\">\n\t\t\t\t\t\t\t\t<Typography className=\"before:content-['-']\" variant=\"ui2\">\n\t\t\t\t\t\t\t\t\t{model.totalSubscriptionAvailableBalanceUsdCurrencyText}\n\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t{foreignCurrency(model.totalSubscriptionAvailableBalanceCurrencyText, true)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\n\t\t\t\t<div className=\"w-full pt-2 pb-4\">\n\t\t\t\t\t<div className=\"flex w-full flex-row justify-between py-2 text-primary-500\">\n\t\t\t\t\t\t<Typography variant=\"ui2\" className=\"font-bold\">\n\t\t\t\t\t\t\t{resources.TotalDueToday}\n\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t<div className=\"flex flex-col items-end gap-1 font-medium !text-[24px]\">\n\t\t\t\t\t\t\t<Typography tag=\"div\" variant=\"headingH5\" className=\"font-medium\">\n\t\t\t\t\t\t\t\t{model.balanceDueUsdCurrencyText}\n\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t{foreignCurrency(model.balanceDueCurrencyText)}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t{model.totalSavingsUsdCurrencyText && (\n\t\t\t\t\t\t<div className=\"flex w-full flex-row justify-between text-[#CC3333] py-2\">\n\t\t\t\t\t\t\t<Typography variant=\"bodySmall\">{resources.TotalSavings}</Typography>\n\t\t\t\t\t\t\t<div className=\"flex flex-col items-end gap-1 justify-center\">\n\t\t\t\t\t\t\t\t<Typography variant=\"ui2\" className=\"font-semibold\">\n\t\t\t\t\t\t\t\t\t{model.totalSavingsUsdCurrencyText}\n\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t{foreignCurrency(model.totalSavingsCurrencyText)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\n\t\t\t\t{model.subscribableLineItems?.length === 1 && (\n\t\t\t\t\t<div className=\"w-full pt-2 pb-4 text-primary-500\">\n\t\t\t\t\t\t<div className=\"flex flex-row justify-between py-2\">\n\t\t\t\t\t\t\t<div className=\"flex flex-col min-[375px]:flex-row items-start gap-1\">\n\t\t\t\t\t\t\t\t<Typography className=\"font-semibold\" variant=\"ui2\">\n\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\t\t\t{model.subscribableLineItems[0].nextPaymentDate\n\t\t\t\t\t\t\t\t\t\t\t? resources.NextPayment\n\t\t\t\t\t\t\t\t\t\t\t: `${resources.NextPayment}:`}\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t{model.subscribableLineItems[0].nextPaymentDate && (\n\t\t\t\t\t\t\t\t\t<Typography tag=\"div\" variant=\"ui2\">\n\t\t\t\t\t\t\t\t\t\t<CommandSentence template={resources.NextPaymentDate}>\n\t\t\t\t\t\t\t\t\t\t\t<CommandSentence.Field name=\"PAYMENT_DATE\">\n\t\t\t\t\t\t\t\t\t\t\t\t<UtcDateTimeDisplay\n\t\t\t\t\t\t\t\t\t\t\t\t\tformattedDateTime={model.subscribableLineItems[0].nextPaymentDate}\n\t\t\t\t\t\t\t\t\t\t\t\t\tformatType={UtcDateTimeDisplayFormatType.Plain}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t</CommandSentence.Field>\n\t\t\t\t\t\t\t\t\t\t</CommandSentence>\n\t\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div className=\"flex flex-col items-end gap-1\">\n\t\t\t\t\t\t\t\t<Typography className=\"font-semibold\" variant=\"ui2\">\n\t\t\t\t\t\t\t\t\t{model.subscribableLineItems[0].nextRenewalPriceUsdText}\n\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t{foreignCurrency(model.subscribableLineItems[0].nextRenewalPriceCurrencyText)}\n\t\t\t\t\t\t\t\t<Typography variant=\"ui4\">{resources.PlusTax}</Typography>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\n\t\t\t\t{model.totalPreOrderAmountCurrencyText !== '--' && (\n\t\t\t\t\t<div className=\"w-full pt-2 pb-4\">\n\t\t\t\t\t\t<div className=\"flex flex-row justify-between py-2 text-primary-500\">\n\t\t\t\t\t\t\t<div className=\"flex flex-row gap-1\">\n\t\t\t\t\t\t\t\t<Typography className=\"text-primary-500 font-semibold\" variant=\"ui2\">\n\t\t\t\t\t\t\t\t\t{resources.PreOrderAmount}\n\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t<Typography className=\"text-primary-500\" variant=\"ui2\">\n\t\t\t\t\t\t\t\t\t{resources.DueWhenReleased}\n\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div className=\"flex flex-col items-end gap-1 justify-center font-[500]\">\n\t\t\t\t\t\t\t\t{model.totalPreOrderAmountUsdCurrencyText}\n\t\t\t\t\t\t\t\t{foreignCurrency(model.totalPreOrderAmountCurrencyText)}\n\t\t\t\t\t\t\t\t<Typography className=\"text-primary-500\" variant=\"ui4\">\n\t\t\t\t\t\t\t\t\t{resources.PlusTax}\n\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t</>\n\t);\n}\n","import React, { useRef, useState } from 'react';\nimport { CommandSentence } from '@faithlife/command-sentence-control';\nimport {\n\tAccordion,\n\tAccordionContent,\n\tAccordionItem,\n\tAccordionTrigger,\n\tClearIcon,\n\tTypography,\n} from '@faithlife/commerce-components';\nimport { useLocalization } from '../../localization';\nimport eventAggregator from '../../cart/utility/eventaggregator';\nimport checkoutService from '../../cart/services/checkoutservice';\nimport couponCodeService from '../../cart/services/couponcodeservice';\nimport { useCartEffect } from '../checkout-shared/useCartEffect';\n\nconst CouponCodeStatus = {\n\tNone: '',\n\tValid: 'valid-coupon-code',\n\tInvalid: 'invalid-coupon-code',\n\tRetrieving: 'retrieving-validity',\n};\n\nexport default function CartCouponsWidget({ cartCoupons: initialCartCoupons, updateUrl, validateUrl }) {\n\tconst resources = useLocalization('Logos.CommerceWeb.ShoppingCarts.Resources.CouponCodes');\n\tconst [enteredCouponCode, setEnteredCouponCode] = useState('');\n\tconst [enteredCouponCodeValidity, setEnteredCouponCodeValidity] = useState(CouponCodeStatus.None);\n\tconst [cartCoupons, setCartCoupons] = useState(initialCartCoupons);\n\tconst inputRef = useRef(null);\n\n\tuseCartEffect(data => {\n\t\tsetCartCoupons(data.order.cartCoupons);\n\t});\n\n\tfunction isCouponCodeAlreadyInCart(couponCode) {\n\t\treturn cartCoupons.some(\n\t\t\texistingCartCoupon => existingCartCoupon.trim().toLowerCase() === couponCode.trim().toLowerCase()\n\t\t);\n\t}\n\n\tasync function applyCouponCode() {\n\t\tconst trimmedCouponCode = enteredCouponCode.trim();\n\n\t\tif (!trimmedCouponCode) {\n\t\t\tsetEnteredCouponCodeValidity(CouponCodeStatus.None);\n\t\t\treturn;\n\t\t}\n\n\t\tif (isCouponCodeAlreadyInCart(trimmedCouponCode)) {\n\t\t\tsetEnteredCouponCode('');\n\t\t\tsetEnteredCouponCodeValidity(CouponCodeStatus.Valid);\n\t\t\treturn;\n\t\t}\n\n\t\tsetEnteredCouponCodeValidity(CouponCodeStatus.Retrieving);\n\n\t\ttry {\n\t\t\tconst validity = await couponCodeService.validateCouponCode(validateUrl, trimmedCouponCode);\n\n\t\t\tif (!validity.isValid) {\n\t\t\t\tsetEnteredCouponCodeValidity(CouponCodeStatus.Invalid);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tsetEnteredCouponCode('');\n\t\t\tsetEnteredCouponCodeValidity(CouponCodeStatus.Valid);\n\t\t\tsetCartCoupons(prev =>\n\t\t\t\tprev.some(c => c.toLowerCase() === validity.couponCode.toLowerCase()) ? prev : [...prev, validity.couponCode]\n\t\t\t);\n\n\t\t\teventAggregator.trigger('cart:updating');\n\t\t\tcheckoutService\n\t\t\t\t.updateCart(updateUrl, { newCouponCode: validity.couponCode })\n\t\t\t\t.done(function (data) {\n\t\t\t\t\teventAggregator.trigger('cart:updated', data);\n\t\t\t\t})\n\t\t\t\t.fail(function () {\n\t\t\t\t\tsetCartCoupons(prev => prev.filter(c => c.toLowerCase() !== validity.couponCode.toLowerCase()));\n\t\t\t\t\teventAggregator.trigger('cart:error');\n\t\t\t\t});\n\t\t} catch {\n\t\t\tsetEnteredCouponCodeValidity(CouponCodeStatus.Invalid);\n\t\t}\n\t}\n\n\tfunction removeFromCart(couponCode) {\n\t\teventAggregator.trigger('cart:updating');\n\t\tcheckoutService\n\t\t\t.updateCart(updateUrl, { deleteCartCouponCode: couponCode })\n\t\t\t.done(function (data) {\n\t\t\t\teventAggregator.trigger('cart:updated', data);\n\t\t\t})\n\t\t\t.fail(function () {\n\t\t\t\teventAggregator.trigger('cart:error');\n\t\t\t});\n\t}\n\n\tfunction handleInputChange(event) {\n\t\tsetEnteredCouponCode(event.target.value);\n\t\tif (enteredCouponCodeValidity !== CouponCodeStatus.None) {\n\t\t\tsetEnteredCouponCodeValidity(CouponCodeStatus.None);\n\t\t}\n\t}\n\n\tconst isApplying = enteredCouponCodeValidity === CouponCodeStatus.Retrieving;\n\tconst isInvalid = enteredCouponCodeValidity === CouponCodeStatus.Invalid;\n\tconst applyButtonDisabled = enteredCouponCode.trim() === '' || isApplying;\n\n\treturn (\n\t\t<Accordion className=\"w-full\" data-testid=\"coupon-code-accordion\">\n\t\t\t<AccordionItem value=\"coupon-code\">\n\t\t\t\t<AccordionTrigger>\n\t\t\t\t\t<Typography tag=\"span\" className=\"text-[16px] text-primary-500 font-[600]\" variant=\"bodySmall\">\n\t\t\t\t\t\t{resources.ApplyCouponCode}\n\t\t\t\t\t</Typography>\n\t\t\t\t</AccordionTrigger>\n\t\t\t\t<AccordionContent>\n\t\t\t\t\t<div className=\"flex flex-col gap-8\">\n\t\t\t\t\t\t<div className=\"flex gap-3 flex-row items-start px-1\">\n\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\tid=\"coupon-code-entry\"\n\t\t\t\t\t\t\t\tref={inputRef}\n\t\t\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t\t\tvalue={enteredCouponCode}\n\t\t\t\t\t\t\t\tonChange={handleInputChange}\n\t\t\t\t\t\t\t\tclassName={`h-12 w-full rounded-[8px] border-[1px] border-solid border-[#00042F] bg-[#F5FBFF] px-5 text-[18px] text-[#00042F] outline-none transition-colors duration-150 ${\n\t\t\t\t\t\t\t\t\tisInvalid ? 'border-[#E5484D]' : 'border-[#00042F]'\n\t\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t\t\tdata-testid=\"coupon-code-entry\"\n\t\t\t\t\t\t\t\tautoComplete=\"off\"\n\t\t\t\t\t\t\t\taria-label=\"Coupon code entry\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\tclassName={`h-12 border-[1px] border-solid border-[#1E6AFE] bg-white text-[#1E6AFE] px-4 py-1 text-[18px] font-[400] transition-colors duration-150 ${\n\t\t\t\t\t\t\t\t\tapplyButtonDisabled\n\t\t\t\t\t\t\t\t\t\t? 'cursor-not-allowed text-[#A0A0A0] border-[#A0A0A0]'\n\t\t\t\t\t\t\t\t\t\t: 'hover:bg-[#1E6AFE] hover:text-white'\n\t\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t\t\tonClick={applyCouponCode}\n\t\t\t\t\t\t\t\tdisabled={applyButtonDisabled}\n\t\t\t\t\t\t\t\tdata-testid=\"coupon-code-apply-button\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<Typography tag=\"span\" variant=\"bodySmall\">\n\t\t\t\t\t\t\t\t\t{resources.Apply}\n\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t{isInvalid && (\n\t\t\t\t\t\t\t<Typography\n\t\t\t\t\t\t\t\ttag=\"div\"\n\t\t\t\t\t\t\t\tvariant=\"bodySmall\"\n\t\t\t\t\t\t\t\tclassName=\"text-left font-sans text-[16px] leading-6 text-[#E5484D]\"\n\t\t\t\t\t\t\t\tdata-testid=\"coupon-code-invalid-message\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{resources.InvalidCode}\n\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{cartCoupons.length > 0 && (\n\t\t\t\t\t\t\t<ul className=\"m-0 flex list-none flex-col gap-3 p-0\">\n\t\t\t\t\t\t\t\t{cartCoupons.map(couponCode => (\n\t\t\t\t\t\t\t\t\t<li\n\t\t\t\t\t\t\t\t\t\tclassName=\"flex items-center justify-between gap-4 rounded-full bg-[#E9F5FF] px-8 py-5 text-[16px] text-primary-500\"\n\t\t\t\t\t\t\t\t\t\tkey={couponCode}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t<Typography tag=\"span\" variant=\"bodySmall\">\n\t\t\t\t\t\t\t\t\t\t\t<CommandSentence template={resources.CouponCodeApplied}>\n\t\t\t\t\t\t\t\t\t\t\t\t<CommandSentence.Field name=\"CODE_NAME\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Typography tag=\"strong\" variant=\"bodySmall\" className=\"font-bold\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{couponCode}\n\t\t\t\t\t\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t\t\t\t\t</CommandSentence.Field>\n\t\t\t\t\t\t\t\t\t\t\t</CommandSentence>\n\t\t\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\tclassName=\"text-primary-500 h-4 w-4\"\n\t\t\t\t\t\t\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\t\t\t\t\t\t\tremoveFromCart(couponCode);\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\taria-label=\"Dismiss applied coupon code message\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t<ClearIcon className=\"h-4 w-4\" />\n\t\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t</AccordionContent>\n\t\t\t</AccordionItem>\n\t\t</Accordion>\n\t);\n}\n","import React, { Fragment } from 'react';\nimport { Typography } from '@faithlife/commerce-components';\nimport { CommandSentence } from '@faithlife/command-sentence-control';\nimport type { PaymentPlanOption } from '../types';\nimport PaymentPlanOptionsSummary from '../payment-plan-options-summary';\nimport { useLocalization } from '../../../localization';\n\ninterface PaymentPlanOptionsMessageProps {\n\tpaymentPlanOptions: PaymentPlanOption[];\n\tfeaturedMonthlyPaymentUsdAmountText: string;\n\tpaymentPlansFaqUrl: string;\n}\n\nconst PaymentPlanOptionsMessage = ({\n\tpaymentPlanOptions,\n\tfeaturedMonthlyPaymentUsdAmountText,\n\tpaymentPlansFaqUrl,\n}: PaymentPlanOptionsMessageProps) => {\n\tconst paymentPlansResources = useLocalization('CommerceWeb.Resources.PaymentPlans.PaymentPlans');\n\tconst cartResources = useLocalization('CommerceWeb.Resources.Cart.Cart');\n\n\treturn (\n\t\t<div data-testid=\"payment-plan-options-message\" className=\"flex flex-col gap-[12px] text-primary-500 pt-[12px]\">\n\t\t\t<Typography variant=\"ui2\">\n\t\t\t\t<CommandSentence Container={Fragment} template={paymentPlansResources.AsLowAsPaymentPerMonth}>\n\t\t\t\t\t<CommandSentence.Field name=\"PAYMENT_OPTION\">\n\t\t\t\t\t\t<CommandSentence\n\t\t\t\t\t\t\tContainer=\"span\"\n\t\t\t\t\t\t\ttemplate={paymentPlansResources.PaymentAmountPerMonth}\n\t\t\t\t\t\t\tclassName=\"font-semibold\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<CommandSentence.Field name=\"PAYMENT_AMOUNT\">{featuredMonthlyPaymentUsdAmountText}</CommandSentence.Field>\n\t\t\t\t\t\t</CommandSentence>\n\t\t\t\t\t</CommandSentence.Field>\n\t\t\t\t</CommandSentence>{' '}\n\t\t\t\t<PaymentPlanOptionsSummary paymentPlanOptions={paymentPlanOptions} linkText={paymentPlansResources.SeePlans} />\n\t\t\t</Typography>\n\t\t\t<Typography variant=\"ui4\">\n\t\t\t\t{cartResources.proceedToCheckout}{' '}\n\t\t\t\t<CommandSentence Container={Fragment} template={cartResources.learnMoreTemplate}>\n\t\t\t\t\t<CommandSentence.Field name=\"LEARN_MORE\">\n\t\t\t\t\t\t<a href={paymentPlansFaqUrl} target=\"_blank\" rel=\"noopener noreferrer\" className=\"underline\">\n\t\t\t\t\t\t\t{cartResources.learnMore}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</CommandSentence.Field>\n\t\t\t\t</CommandSentence>\n\t\t\t</Typography>\n\t\t</div>\n\t);\n};\n\nexport default PaymentPlanOptionsMessage;\n","import React from 'react';\nimport {\n\tAccordion,\n\tAccordionContent,\n\tAccordionItem,\n\tAccordionTrigger,\n\tTypography,\n\tConfirmationIcon,\n} from '@faithlife/commerce-components';\nimport { CommandSentence } from '@faithlife/command-sentence-control';\nimport { useLocalization } from '../../../localization';\nimport OrderTotals from '../../order-totals';\nimport CartCouponsWidget from '../../cart-coupon-widget';\nimport ShoppingCartItems from '../../shopping-cart-items';\nimport PaymentPlanOptionsMessage from '../payment-plan-options-message';\n\nexport default function CartSummary({\n\torderTotals,\n\torderLevelDiscounts,\n\tshoppingCartItems,\n\tcartCoupons,\n\tpaymentPlansFaqUrl,\n\tpaymentPlanOptionsMessage,\n\tcartUrl,\n\tshowEditCartButton,\n\tshowCancelButton,\n\tcheckoutButton,\n\tisSticky = false,\n\tisModifiable = false,\n\tisInCheckout = false,\n}) {\n\tconst resources = useLocalization('Logos.CommerceWeb.ShoppingCarts.Resources.ShoppingCart');\n\tconst orderTotalsResources = useLocalization('Logos.CommerceWeb.ShoppingCarts.Resources.OrderTotals');\n\n\tconst totalItems =\n\t\t(shoppingCartItems?.cartItems?.length ?? 0) + (shoppingCartItems?.cartSubscribableItems?.length ?? 0);\n\tconst itemsTitle =\n\t\ttotalItems === 1 ? (\n\t\t\tresources.ItemInOrder\n\t\t) : (\n\t\t\t<CommandSentence template={resources.ItemsInOrder}>\n\t\t\t\t<CommandSentence.Field name=\"TOTAL_ITEMS\">{totalItems}</CommandSentence.Field>\n\t\t\t</CommandSentence>\n\t\t);\n\n\tconst isThereAnyPreorderItem = shoppingCartItems?.cartItems?.some(li => !!li.prepubInfo);\n\tconst shouldShowSubscriptionDisclaimer = shoppingCartItems?.cartSubscribableItems?.length > 0;\n\n\tconst cancelButtonElement = (\n\t\t<button\n\t\t\tclassName=\"btn-secondary-inverted btn-xs cancel-btn\"\n\t\t\tonClick={() => {\n\t\t\t\twindow.parent.postMessage(\n\t\t\t\t\tJSON.stringify({\n\t\t\t\t\t\tkind: 'orderCancelButtonClick',\n\t\t\t\t\t}),\n\t\t\t\t\t'*'\n\t\t\t\t);\n\t\t\t\twindow.parent.postMessage(\n\t\t\t\t\tJSON.stringify({\n\t\t\t\t\t\tkind: 'subscriptionCancelButtonClicked',\n\t\t\t\t\t}),\n\t\t\t\t\t'*'\n\t\t\t\t);\n\t\t\t}}\n\t\t>\n\t\t\t<Typography tag=\"span\" variant=\"bodySmall\">\n\t\t\t\t{resources.Cancel}\n\t\t\t</Typography>\n\t\t</button>\n\t);\n\n\t// Tailwind emits `@media (width >= 375px)` for `min-[375px]`, matching the wider layout breakpoint.\n\treturn (\n\t\t<div className={`tw-preflight ${isSticky ? 'sticky top-8 self-start' : ''} flex flex-col gap-2`}>\n\t\t\t<div className=\"flex flex-col gap-1 w-full lg:w-[480px] border border-solid border-primary-500 p-[24px]\">\n\t\t\t\t<div className=\"flex flex-col justify-center items-start gap-1 min-[375px]:flex-row min-[375px]:justify-between min-[375px]:items-center min-[375px]:gap-0\">\n\t\t\t\t\t<Typography className=\"font-medium text-primary-500 text-[24px] mb-2\" variant=\"headingH5\">\n\t\t\t\t\t\t{resources.CartSummary}\n\t\t\t\t\t</Typography>\n\t\t\t\t\t{showEditCartButton && (\n\t\t\t\t\t\t<a className=\"underline text-primary-500\" href={cartUrl}>\n\t\t\t\t\t\t\t<Typography tag=\"span\" variant=\"bodySmall\">\n\t\t\t\t\t\t\t\t{orderTotalsResources.EditCart}\n\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t)}\n\t\t\t\t\t{showCancelButton && cancelButtonElement}\n\t\t\t\t</div>\n\t\t\t\t{shoppingCartItems && (\n\t\t\t\t\t<Accordion className=\"w-full\" defaultValue={['items']}>\n\t\t\t\t\t\t<AccordionItem value=\"items\">\n\t\t\t\t\t\t\t<AccordionTrigger>\n\t\t\t\t\t\t\t\t<Typography tag=\"span\" className=\"text-primary-500 text-[16px]\" variant=\"bodySmall\">\n\t\t\t\t\t\t\t\t\t{itemsTitle}\n\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t</AccordionTrigger>\n\t\t\t\t\t\t\t<AccordionContent>\n\t\t\t\t\t\t\t\t<ShoppingCartItems\n\t\t\t\t\t\t\t\t\t{...shoppingCartItems}\n\t\t\t\t\t\t\t\t\tisMiniCart={true}\n\t\t\t\t\t\t\t\t\tisModifiable={isModifiable}\n\t\t\t\t\t\t\t\t\tisInCheckout={isInCheckout}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</AccordionContent>\n\t\t\t\t\t\t</AccordionItem>\n\t\t\t\t\t</Accordion>\n\t\t\t\t)}\n\t\t\t\t<OrderTotals {...orderTotals} orderLevelDiscounts={orderLevelDiscounts.orderLevelDiscounts} />\n\t\t\t\t<CartCouponsWidget {...cartCoupons} />\n\t\t\t\t<div className=\"[&_button]:w-full\">{checkoutButton}</div>\n\t\t\t\t{(shouldShowSubscriptionDisclaimer || isThereAnyPreorderItem) && !isModifiable && (\n\t\t\t\t\t<div className=\"flex flex-col gap-6 font-secondary font-normal text-fs13 leading-[125%] tracking-[0%] text-primary-500 mt-6\">\n\t\t\t\t\t\t{shouldShowSubscriptionDisclaimer && (\n\t\t\t\t\t\t\t<Typography tag=\"p\" variant=\"ui4\">\n\t\t\t\t\t\t\t\t<CommandSentence template={orderTotalsResources.SubscriptionDisclaimer}>\n\t\t\t\t\t\t\t\t\t<CommandSentence.Field name=\"POLICY_LINK\">\n\t\t\t\t\t\t\t\t\t\t<a href={orderTotalsResources.SubscriptionDisclaimerLinkUrl} className=\"underline\">\n\t\t\t\t\t\t\t\t\t\t\t<Typography tag=\"span\" variant=\"ui4\">\n\t\t\t\t\t\t\t\t\t\t\t\t{orderTotalsResources.SubscriptionDisclaimerLinkText}\n\t\t\t\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t</CommandSentence.Field>\n\t\t\t\t\t\t\t\t</CommandSentence>\n\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t{isThereAnyPreorderItem && (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t<Typography variant=\"finePrint\">{orderTotalsResources.PreOrderShipDateChargeDisclaimer}</Typography>\n\t\t\t\t\t\t\t\t<Typography variant=\"finePrint\">\n\t\t\t\t\t\t\t\t\t{orderTotalsResources.PreOrderFutureChargeConsentDisclaimer}\n\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t</>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t\t{paymentPlanOptionsMessage && (\n\t\t\t\t\t<PaymentPlanOptionsMessage {...paymentPlanOptionsMessage} paymentPlansFaqUrl={paymentPlansFaqUrl} />\n\t\t\t\t)}\n\t\t\t</div>\n\t\t\t<div className=\"flex flex-row items-center gap-3 w-full lg:w-[480px] border border-solid border-primary-500 p-6\">\n\t\t\t\t<ConfirmationIcon className=\"text-primary-500\" />\n\t\t\t\t<Typography className=\"text-primary-500\" variant=\"bodySmall\">\n\t\t\t\t\t<CommandSentence template={resources.MoneyBackGuarantee}>\n\t\t\t\t\t\t<CommandSentence.Field name=\"RETURN_POLICY\">\n\t\t\t\t\t\t\t<a href={resources.ReturnPolicyLink} className=\"underline text-primary-500\">\n\t\t\t\t\t\t\t\t<Typography tag=\"span\" variant=\"bodySmall\">\n\t\t\t\t\t\t\t\t\t{resources.ReturnPolicy}\n\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</CommandSentence.Field>\n\t\t\t\t\t</CommandSentence>\n\t\t\t\t</Typography>\n\t\t\t</div>\n\t\t</div>\n\t);\n}\n","import React, { Fragment } from 'react';\nimport { Typography } from '@faithlife/commerce-components';\nimport { CommandSentence } from '@faithlife/command-sentence-control';\nimport { useLocalization } from '../../../localization';\n\ninterface GroupSummaryProps {\n\tgroupName: string;\n\tisChangeGroupAllowed: boolean;\n\ttotalCartItemCount: number;\n\tconfigureGroupUrl?: string;\n\tclassName?: string;\n}\n\nconst GroupSummary = ({\n\tgroupName,\n\tisChangeGroupAllowed,\n\ttotalCartItemCount,\n\tconfigureGroupUrl,\n\tclassName,\n}: GroupSummaryProps) => {\n\tconst shoppingCartResources = useLocalization('Logos.CommerceWeb.ShoppingCarts.Resources.ShoppingCart');\n\n\treturn (\n\t\t<div className={`flex flex-row gap-4 justify-between text-primary-500 ${className ?? ''}`}>\n\t\t\t<Typography variant=\"ui2\" className=\"min-w-0 leading-[135%] tracking-[0%]\">\n\t\t\t\t<CommandSentence\n\t\t\t\t\tContainer={Fragment}\n\t\t\t\t\ttemplate={\n\t\t\t\t\t\ttotalCartItemCount === 1\n\t\t\t\t\t\t\t? shoppingCartResources.PurchasingThisProductForGroup\n\t\t\t\t\t\t\t: shoppingCartResources.PurchasingTheseProductsForGroup\n\t\t\t\t\t}\n\t\t\t\t>\n\t\t\t\t\t<CommandSentence.Field name=\"GROUP_NAME\">\n\t\t\t\t\t\t<span className=\"font-semibold\">{groupName}</span>\n\t\t\t\t\t</CommandSentence.Field>\n\t\t\t\t</CommandSentence>\n\t\t\t</Typography>\n\t\t\t{isChangeGroupAllowed && configureGroupUrl && (\n\t\t\t\t<Typography tag=\"a\" variant=\"ui2\" className=\"underline shrink-0 whitespace-nowrap\" href={configureGroupUrl}>\n\t\t\t\t\t{shoppingCartResources.ChangeGroupHere}\n\t\t\t\t</Typography>\n\t\t\t)}\n\t\t</div>\n\t);\n};\n\nexport default GroupSummary;\n","import { useEffect, useState } from 'react';\nimport eventAggregator from '../../cart/utility/eventaggregator';\nimport formUtility from '../../cart/utility/formutility';\nimport { useCartEffect } from './useCartEffect';\n\nexport function useCartItems(initialCartItems, initialConcurrencyToken, initialCartValid = undefined) {\n\tconst [cartItems, setCartItems] = useState(initialCartItems);\n\tconst [concurrencyToken, setConcurrencyToken] = useState(initialConcurrencyToken);\n\tconst [isCartValid, setCartValid] = useState(initialCartValid ?? formUtility.isCartValid());\n\tconst [shouldBlockPlaceOrderButton, setShouldBlockPlaceOrderButton] = useState(false);\n\tconst [invalidModules, setInvalidModules] = useState(() =>\n\t\tformUtility.getInvalidModules ? formUtility.getInvalidModules() : []\n\t);\n\tuseCartEffect(cart => {\n\t\tsetConcurrencyToken(cart.order.concurrencyToken);\n\t\tsetCartItems(cart.order.lineItems);\n\t});\n\tuseEffect(function setUpHandlers() {\n\t\tfunction updateCartValid() {\n\t\t\tsetCartValid(formUtility.isCartValid());\n\t\t\tsetInvalidModules(formUtility.getInvalidModules());\n\t\t}\n\t\tfunction blockPlaceOrderButton() {\n\t\t\tsetShouldBlockPlaceOrderButton(true);\n\t\t}\n\t\tfunction unblockPlaceOrderButton() {\n\t\t\tsetShouldBlockPlaceOrderButton(false);\n\t\t}\n\t\teventAggregator.on('cart:invalidated cart:validated', updateCartValid);\n\t\teventAggregator.on('cart:blockPlaceOrderButton', blockPlaceOrderButton);\n\t\teventAggregator.on('cart:unblockPlaceOrderButton', unblockPlaceOrderButton);\n\n\t\treturn function cleanUpHandlers() {\n\t\t\teventAggregator.off('cart:invalidated cart:validated', updateCartValid);\n\t\t\teventAggregator.off('cart:blockPlaceOrderButton', blockPlaceOrderButton);\n\t\t\teventAggregator.off('cart:unblockPlaceOrderButton', unblockPlaceOrderButton);\n\t\t};\n\t}, []);\n\tlet numberOfItemsToBeRemoved = 0;\n\n\tfor (const item of cartItems) {\n\t\tif (item.restrictionMessageHtml) {\n\t\t\tnumberOfItemsToBeRemoved++;\n\t\t}\n\t}\n\treturn {\n\t\tcartItems,\n\t\tconcurrencyToken,\n\t\tisCartValid,\n\t\tshouldBlockPlaceOrderButton,\n\t\tnumberOfItemsToBeRemoved,\n\t\tinvalidModules,\n\t};\n}\n"],"names":["$","require","module","exports","validateCouponCode","url","couponCode","get","replace","encodeURIComponent","OrderTotals","enablePaymentPlanConsentButton","indicateRequiredFields","isEmbedded","orderLevelDiscounts","initialOrderLevelDiscounts","initialModel","resources","useLocalization","model","setModel","useState","setOrderLevelDiscounts","foreignCurrency","text","isNegative","usesForeignCurrency","React","Typography","tag","variant","className","useCartEffect","cart","order","map","discount","index","key","description","amountUsdText","amountText","Subtotal","subtotalUsdCurrencyText","subtotalCurrencyText","Tax","taxUsdCurrencyText","taxCurrencyText","paymentPlanFeesUsdCurrencyText","Fees","paymentPlanFeesCurrencyText","appliedCreditUsdCurrencyText","ApplyCredit","appliedCreditCurrencyText","totalSubscriptionAvailableBalanceCurrencyText","BalanceApplied","Tooltip","placement","ariaLabel","link","InfoIcon","size","contentStyles","maxWidth","BalanceAppliedDisclaimer","totalSubscriptionAvailableBalanceUsdCurrencyText","TotalDueToday","balanceDueUsdCurrencyText","balanceDueCurrencyText","totalSavingsUsdCurrencyText","TotalSavings","totalSavingsCurrencyText","subscribableLineItems","length","nextPaymentDate","NextPayment","CommandSentence","template","NextPaymentDate","Field","name","UtcDateTimeDisplay","formattedDateTime","formatType","UtcDateTimeDisplayFormatType","Plain","nextRenewalPriceUsdText","nextRenewalPriceCurrencyText","PlusTax","totalPreOrderAmountCurrencyText","PreOrderAmount","DueWhenReleased","totalPreOrderAmountUsdCurrencyText","CouponCodeStatus","CartCouponsWidget","cartCoupons","initialCartCoupons","updateUrl","validateUrl","enteredCouponCode","setEnteredCouponCode","enteredCouponCodeValidity","setEnteredCouponCodeValidity","setCartCoupons","inputRef","useRef","data","isApplying","isInvalid","applyButtonDisabled","trim","Accordion","AccordionItem","value","AccordionTrigger","ApplyCouponCode","AccordionContent","id","ref","type","onChange","event","target","autoComplete","onClick","async","trimmedCouponCode","some","existingCartCoupon","toLowerCase","validity","couponCodeService","isValid","prev","c","eventAggregator","checkoutService","newCouponCode","done","fail","filter","disabled","Apply","InvalidCode","CouponCodeApplied","deleteCartCouponCode","removeFromCart","ClearIcon","payment_plan_options_message","PaymentPlanOptionsMessage","paymentPlanOptions","featuredMonthlyPaymentUsdAmountText","paymentPlansFaqUrl","paymentPlansResources","cartResources","Container","Fragment","AsLowAsPaymentPerMonth","PaymentAmountPerMonth","PaymentPlanOptionsSummary","linkText","SeePlans","proceedToCheckout","learnMoreTemplate","href","rel","learnMore","CartSummary","orderTotals","shoppingCartItems","paymentPlanOptionsMessage","cartUrl","showEditCartButton","showCancelButton","checkoutButton","isSticky","isModifiable","isInCheckout","orderTotalsResources","totalItems","cartItems","cartSubscribableItems","itemsTitle","ItemInOrder","ItemsInOrder","isThereAnyPreorderItem","li","prepubInfo","shouldShowSubscriptionDisclaimer","cancelButtonElement","window","parent","postMessage","JSON","stringify","kind","Cancel","EditCart","defaultValue","ShoppingCartItems","_extends","isMiniCart","SubscriptionDisclaimer","SubscriptionDisclaimerLinkUrl","SubscriptionDisclaimerLinkText","PreOrderShipDateChargeDisclaimer","PreOrderFutureChargeConsentDisclaimer","ConfirmationIcon","MoneyBackGuarantee","ReturnPolicyLink","ReturnPolicy","GroupSummary","groupName","isChangeGroupAllowed","totalCartItemCount","configureGroupUrl","shoppingCartResources","PurchasingThisProductForGroup","PurchasingTheseProductsForGroup","ChangeGroupHere","useCartItems","initialCartItems","initialConcurrencyToken","initialCartValid","undefined","setCartItems","concurrencyToken","setConcurrencyToken","isCartValid","setCartValid","formUtility","shouldBlockPlaceOrderButton","setShouldBlockPlaceOrderButton","invalidModules","setInvalidModules","lineItems","useEffect","updateCartValid","blockPlaceOrderButton","unblockPlaceOrderButton","numberOfItemsToBeRemoved","item","restrictionMessageHtml"],"sourceRoot":""}