{"version":3,"sources":["components/HorizontalSeparator.tsx","containers/MorePaymentOptionsButton.tsx","styles/BillingFormStripe.module.scss","containers/CheckoutStripe.tsx","selectors/currentSaleContext.ts","selectors/selectCart.ts","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","styles/Loader.module.scss","../node_modules/@fortawesome/free-solid-svg-icons/faSpinner.js","containers/Loader.tsx","components/AdBlock.js","styles/AdBlock.module.scss","containers/helpers/useModal.js","containers/helpers/GenericLoader.js","styles/GenericLoader.module.scss","styles/HorizontalSeparator.module.scss","styles/MorePaymentOptionsButton.module.scss","styles/CheckoutForm.module.scss"],"names":["HorizontalSeparator","_ref","text","React","createElement","className","styles","separatorContainer","leftLine","rightLine","MARK_URL_BASE","MARK_METADATA","id","url","concat","title","renderImg","key","src","alt","MorePaymentOptionsButton","_ref2","handleToXsollaCheckout","Fragment","morePaymentsContainer","separatorDiv","morePaymentsText","morePaymentOptions","onClick","marks","map","plusMore","module","exports","_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","delegateYield","GenericInput","lazy","OrderSummary","CheckoutForm","GenericModal","PriceConfirmation","PRODUCT_NAME_MAP","_defineProperty","ProductType","BB4","BB3","BB2","BBBundle","Soundbox","BillingFormStripe","props","dispatch","useDispatch","couponData","useSelector","currentSaleData","saleContext","currentSaleContext","currentUser","currentUserInfo","googleClientId","selectGAClientId","location","useLocation","queryParameters","URLSearchParams","search","totalDiscountedCost","getDiscountedTotal","selectedCartItems","getItems","_useModal","useModal","isShowing","toggle","user","uuid","email","isNewUser","item","undefined","cartId","itemDiscountInfo","getPlanDiscountInfo","activeSale","discountsAllowed","_useState","useState","_useState2","_slicedToArray","planInfo","setPlanInfo","_useState3","_useState4","quantity","updateQuantity","_useState5","_useState6","purchaseCost","updatePurchaseCost","_useState7","_useState8","saleCode","setSaleCode","_useState9","_useState10","renew","setRenew","_useState11","_useState12","xsollaAllowed","stripe","useStripe","elements","useElements","processingRef","useRef","_useState13","_useState14","openEmailPrompt","setEmailPrompt","_useState15","_useState16","errorText","updateErrorMessage","_useState17","_useState18","inputEmail","updateEmail","_onLoad","_asyncToGenerator","_callee","promoCode","message","_promoCode","_context","redirectToPlans","setAccountlessPurchaseEmail","planType","PlanType","Free","sessionStorage","getItem","seatQuantity","trialDays","_objectSpread","setItem","t0","Log","error","apply","arguments","_handleSubmitClick","_callee2","paymentMethod","result","paymentLog","_context2","preventDefault","trace","current","renewPlan","purchasePlan","warn","redirectToThankYouRenewalPage","hasUpsell","redirectToUpsellPage","productType","PaymentPlatforms","Stripe","successRedirect","redirectToThankYouPage","useEffect","tempRenew","get","useLayoutEffect","fetchSale","onLoad","setTotalDiscountedCost","saleJustEnded","window","history","replaceState","pathname","modalStyle","maxWidth","padding","backgroundColor","inputStyles","container","checkStylesForm","paymentInputWrapper","label","paymentInputLabel","input","paymentInput","errorMessage","paymentErrorText","icon","inputIcon","showSalesLoader","discountInfoLoadingContainer","GenericLoader","productName","AdblockDetector","Suspense","fallback","Loader","hide","hideClose","darkMode","modalHeaderStyle","price","payment","emailPrompt","style","paddingBottom","placeholder","inputName","inputValue","changeCallback","faEnvelope","buttonsSubmit","darkCheckoutButton","disabled","validateEmail","checkoutButton","href","saleBackground","PromotionalBanner","placement","router","header","planName","additionalSteps","licenseText","numValue","parseInt","updateSeatQuantity","focusOutCallback","faKey","licenseWrapper","licenseIcon","licenseInput","wrapper","formStyles","buttonCTA","alignItems","border","paymentFormBackground","height","width","handleSubmitCallback","_x","_x2","_x3","_x4","loadingMessage","successHeaderMessage","successMessage","purchaseData","routerProps","state","sale","getTermCost","term","monthlyCost","annualCost","weeklyCost","PlanInterval","Monthly","msg","Yearly","Weekly","cart","items","getPreDiscountTotal","createSelector","cartItems","showSaleUI","discountedCost","planInterval","toFixed","_cartItems$","saleData","_cartItems$2","itemSubtotal","planDiscountInfo","totalDayCost","calculateStripeTotal","_createForOfIteratorHelper","Array","isArray","F","_e","it","err","normalCompletion","didErr","step","_e2","aliases","svgPathData","definition","prefix","iconName","faSpinner","ligatures","unicode","textColor","loader","loadingMessageContainer","logo","color","AdblockUI","adBlockPage","adBlockContainer","fakeAdBanner","children","usingAdblock","setUsingAdblock","hasAdBlock","offsetHeight","ref","visibility","pointerEvents","setIsShowing","FontAwesomeIcon","loadingIcon","spin"],"mappings":";yJAqBeA,EAd0D,SAAHC,GAAgB,IAAXC,EAAID,EAAJC,KACvE,OACIC,IAAAC,cAAA,OAAKC,UAAWC,IAAOC,oBACvBJ,IAAAC,cAAA,OAAKC,UAAWC,IAAOE,WAEvBL,IAAAC,cAAA,WACED,IAAAC,cAAA,KAAGC,UAAWC,IAAOJ,MAAOA,IAG9BC,IAAAC,cAAA,OAAKC,UAAWC,IAAOG,c,kBChB/B,kCAYA,IAAMC,EAAgB,uCAChBC,EAAkC,CACtC,CACEC,GAAI,YACJC,IAAI,GAADC,OAAKJ,EAAa,uBACrBK,MAAO,aAET,CACEH,GAAI,aACJC,IAAI,GAADC,OAAKJ,EAAa,wBACrBK,MAAO,cAET,CACEH,GAAI,SACJC,IAAI,GAADC,OAAKJ,EAAa,oBACrBK,MAAO,WASJ,SAASC,EAASf,GAAiD,IAA/CW,EAAEX,EAAFW,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AAgB,oCAAoC,QAAU,8BAA8B,aAAe,mCAAmC,YAAc,kCAAkC,kBAAoB,wCAAwC,OAAS,6BAA6B,iBAAmB,uCAAuC,qBAAuB,2CAA2C,oBAAsB,0CAA0C,aAAe,mCAAmC,SAAW,+BAA+B,iBAAmB,uCAAuC,UAAY,gCAAgC,eAAiB,qCAAqC,cAAgB,oCAAoC,gBAAkB,sCAAsC,qBAAuB,2CAA2C,KAAO,2BAA2B,aAAe,mCAAmC,qBAAuB,2CAA2C,YAAc,kCAAkC,UAAY,gCAAgC,WAAa,iCAAiC,aAAe,mCAAmC,UAAY,gCAAgC,kBAAoB,wCAAwC,GAAK,yBAAyB,YAAc,kCAAkC,WAAa","file":"static/js/21.2b01c7a7.chunk.js","sourcesContent":["import React, { FunctionComponent } from \"react\";\nimport styles from \"../styles/HorizontalSeparator.module.scss\"\n\ninterface HorizontalSeparatorProps {\n text: string\n}\n \nconst HorizontalSeparator: FunctionComponent = ({text}) => {\n return (\n
\n
\n\n
\n

{text}

\n
\n\n
\n
\n );\n}\n \nexport default HorizontalSeparator;","import React, {ReactElement} from \"react\"\nimport HorizontalSeparator from \"../components/HorizontalSeparator\"\n\nimport styles from \"../styles/MorePaymentOptionsButton.module.scss\"\n\n\ntype PayMarkId = \"apple_pay\"|\"google_pay\"|\"paypal\"|\"visa\"\ninterface PayMarkMetadata {\n id: PayMarkId\n url: string\n title: string\n}\nconst MARK_URL_BASE = \"https://frontend-assets.buildbox.com\"\nconst MARK_METADATA:PayMarkMetadata[] = [\n {\n id: \"apple_pay\",\n url: `${MARK_URL_BASE}/apple_pay_mark.svg`,\n title: \"apple_pay\"\n },\n {\n id: \"google_pay\",\n url: `${MARK_URL_BASE}/google_pay_mark.png`,\n title: \"Google Pay\"\n },\n {\n id: \"paypal\",\n url: `${MARK_URL_BASE}/paypal_mark.jpg`,\n title: \"Paypal\"\n },\n // {\n // id: \"visa\",\n // url: `${MARK_URL_BASE}/visa_mark.png`,\n // title: \"Visa\"\n // }\n]\n\nexport function renderImg({id, url, title}:PayMarkMetadata):ReactElement {\n return (\n \n )\n}\n\ntype Props = {\n handleToXsollaCheckout: ()=> void\n}\n\nexport function MorePaymentOptionsButton({ handleToXsollaCheckout }: Props): ReactElement {\n return (\n <>\n
\n
\n \n
\n

We support 100+ payment methods!

\n
\n
\n {MARK_METADATA.map(renderImg)}\n

+ more

\n
\n
MORE PAYMENT OPTIONS
\n
\n
\n \n );\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"buttonShared\":\"BillingFormStripe_buttonShared__2o2YC\",\"buttonVerticalGradientOrangeYellow\":\"BillingFormStripe_buttonVerticalGradientOrangeYellow__23l-A\",\"buttonVerticalGradientOrange\":\"BillingFormStripe_buttonVerticalGradientOrange__1YNFT\",\"buttonReglarDarkGrey\":\"BillingFormStripe_buttonReglarDarkGrey__7EOPe\",\"buttonReglarGrey\":\"BillingFormStripe_buttonReglarGrey__ky1Nx\",\"darkCheckoutButton\":\"BillingFormStripe_darkCheckoutButton__2Ztj0\",\"buttonGradientOrange\":\"BillingFormStripe_buttonGradientOrange__17Kt_\",\"buttonRegularYellow\":\"BillingFormStripe_buttonRegularYellow__oIj3n\",\"buttonRegularOrange\":\"BillingFormStripe_buttonRegularOrange__IF2UB\",\"checkoutButton\":\"BillingFormStripe_checkoutButton__-CgvB\",\"buttonGhost\":\"BillingFormStripe_buttonGhost__174Gt\",\"buttonGhostDisabled\":\"BillingFormStripe_buttonGhostDisabled__1jJIW\",\"buttonGhostGreen\":\"BillingFormStripe_buttonGhostGreen__24fly\",\"buttonGhostGradientOrange\":\"BillingFormStripe_buttonGhostGradientOrange__25XkN\",\"buttonGhostOrange\":\"BillingFormStripe_buttonGhostOrange__1g_ix\",\"buttonGhostDarkBlue\":\"BillingFormStripe_buttonGhostDarkBlue__3Zlri\",\"buttonGhostBlue\":\"BillingFormStripe_buttonGhostBlue__3a3Uo\",\"payment\":\"BillingFormStripe_payment__VGTo2\",\"buttonGhostGrey\":\"BillingFormStripe_buttonGhostGrey__1_JxF\",\"buttonDisabled\":\"BillingFormStripe_buttonDisabled__2MW1z\",\"clientLoginText\":\"BillingFormStripe_clientLoginText__2UZII\",\"returnToSignIn\":\"BillingFormStripe_returnToSignIn__1C7ug\",\"error\":\"BillingFormStripe_error__inCmv\",\"link\":\"BillingFormStripe_link__Y74t2\",\"arrow\":\"BillingFormStripe_arrow__2S3V6\",\"signOut\":\"BillingFormStripe_signOut__1BX7T\",\"signOutText\":\"BillingFormStripe_signOutText__4gKQn\",\"inputContainer\":\"BillingFormStripe_inputContainer__ndpWO\",\"genericInput\":\"BillingFormStripe_genericInput__3JmG3\",\"animatedInput\":\"BillingFormStripe_animatedInput__3pxv7\",\"paymentInputWrapper\":\"BillingFormStripe_paymentInputWrapper__21zCs\",\"paymentInput\":\"BillingFormStripe_paymentInput__1D1UG\",\"additionalSteps\":\"BillingFormStripe_additionalSteps__iuQT5\",\"licenseInput\":\"BillingFormStripe_licenseInput__3u3Ys\",\"regular\":\"BillingFormStripe_regular__cj8eC\",\"regularWhite\":\"BillingFormStripe_regularWhite__3PFtV\",\"billingForm\":\"BillingFormStripe_billingForm__3B4TS\",\"linkRegular\":\"BillingFormStripe_linkRegular__34_Cg\",\"clientDefaultText\":\"BillingFormStripe_clientDefaultText__XZ1cg\",\"discountInfoLoadingContainer\":\"BillingFormStripe_discountInfoLoadingContainer__1DSai\",\"saleBackground\":\"BillingFormStripe_saleBackground__2cF14\",\"icon\":\"BillingFormStripe_icon__1EVSv\",\"header\":\"BillingFormStripe_header__2YmM0\",\"title\":\"BillingFormStripe_title__1w7Fe\",\"licenseText\":\"BillingFormStripe_licenseText__2Wrtf\",\"licenseWrapper\":\"BillingFormStripe_licenseWrapper__2xDSu\",\"licenseIcon\":\"BillingFormStripe_licenseIcon__1Ziox\",\"wrapper\":\"BillingFormStripe_wrapper__fpTXF\",\"paymentErrorText\":\"BillingFormStripe_paymentErrorText__1JIlx\",\"inputIcon\":\"BillingFormStripe_inputIcon__15978\",\"checkoutSummary\":\"BillingFormStripe_checkoutSummary__Mi0g6\",\"orderSummary\":\"BillingFormStripe_orderSummary__Izi0d\",\"summaryHeader\":\"BillingFormStripe_summaryHeader__2p7p3\",\"shoppingCart\":\"BillingFormStripe_shoppingCart__1akeh\",\"planFeatureList\":\"BillingFormStripe_planFeatureList__1lqAk\",\"planFeature\":\"BillingFormStripe_planFeature__2sJ8_\",\"featureItem\":\"BillingFormStripe_featureItem__21l5y\",\"checkIcon\":\"BillingFormStripe_checkIcon__1PkUo\",\"border\":\"BillingFormStripe_border__2MX5a\",\"itemListContainer\":\"BillingFormStripe_itemListContainer__2cV0t\",\"priceRow\":\"BillingFormStripe_priceRow__2DbS7\",\"highlighted\":\"BillingFormStripe_highlighted__1R-fl\",\"annualCostRow\":\"BillingFormStripe_annualCostRow__1yD9M\",\"sale\":\"BillingFormStripe_sale__3KyiW\",\"itemListSegment\":\"BillingFormStripe_itemListSegment__3W9nL\",\"itemListRow\":\"BillingFormStripe_itemListRow__vWLOW\",\"seatCostRow\":\"BillingFormStripe_seatCostRow__NnI_g\",\"supportRow\":\"BillingFormStripe_supportRow__-KW5K\",\"elementContainer\":\"BillingFormStripe_elementContainer__XRnLA\",\"elementFocused\":\"BillingFormStripe_elementFocused__nj5lz\",\"generalErrors\":\"BillingFormStripe_generalErrors__2nVYO\",\"splitRow\":\"BillingFormStripe_splitRow__1aalP\",\"dropdownWrapper\":\"BillingFormStripe_dropdownWrapper__yIfK1\",\"dropdownErrorMessage\":\"BillingFormStripe_dropdownErrorMessage__26XKe\",\"loadingIconContainer\":\"BillingFormStripe_loadingIconContainer__1nhdh\",\"loadingIcon\":\"BillingFormStripe_loadingIcon__22cuD\",\"loadingIconContainerP\":\"BillingFormStripe_loadingIconContainerP__1Gl1J\",\"legalText\":\"BillingFormStripe_legalText__2n2gV\",\"checkoutBtnContainer\":\"BillingFormStripe_checkoutBtnContainer__2SstX\",\"xsollaModalContainer\":\"BillingFormStripe_xsollaModalContainer__cMlKk\",\"xsollaModal\":\"BillingFormStripe_xsollaModal__1Hm3S\",\"buttonsSubmit\":\"BillingFormStripe_buttonsSubmit__3n2UH\",\"xsollaBeforePrompt\":\"BillingFormStripe_xsollaBeforePrompt__37fFr\"};","import React, {\n useState,\n useEffect,\n useLayoutEffect,\n Suspense,\n lazy,\n FormEvent,\n useRef,\n} from \"react\";\nimport Log from \"../utils/Log\";\nimport {\n redirectToPlans,\n redirectToThankYouPage,\n redirectToThankYouRenewalPage,\n redirectToUpsellPage\n} from \"../utils/routes\";\nimport { faKey } from \"@fortawesome/free-solid-svg-icons\";\nimport useModal from \"./helpers/useModal\";\nimport AdblockDetector from \"../components/AdBlock\";\nimport Loader from \"./Loader\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport currentUserInfo from \"../selectors/currentUserInfo\";\nimport currentSaleData from \"../selectors/currentSaleData\";\nimport currentSaleContext from \"../selectors/currentSaleContext\";\nimport {\n PaymentPlatforms,\n PlanType,\n ProductType,\n} from \"../reducers/models\";\nimport { fetchSale, setTotalDiscountedCost } from \"../actions/sale\";\nimport { updateSeatQuantity } from \"../actions/cart\";\nimport selectGAClientId from \"../selectors/selectGAClientId\";\nimport { getItems, getDiscountedTotal } from \"../selectors/selectCart\";\nimport { getPlanDiscountInfo } from \"../utils/saleUtils\";\nimport GenericLoader from \"./helpers/GenericLoader\";\nimport { MorePaymentOptionsButton } from \"./MorePaymentOptionsButton\";\nimport { useLocation } from \"react-router-dom\";\nimport { useElements, useStripe } from \"@stripe/react-stripe-js\";\nimport { TokenResult } from \"@stripe/stripe-js\";\nimport { purchasePlan, renewPlan } from \"../actions/account\";\nimport { faEnvelope } from \"@fortawesome/free-solid-svg-icons\";\nimport { validateEmail } from \"../utils/validationForm\";\nimport { setAccountlessPurchaseEmail } from \"../actions/auth\";\n\nimport PromotionalBanner from \"../components/PromotionalBanner\";\nimport checkStylesForm from \"../styles/CheckoutForm.module.scss\";\nimport styles from \"../styles/BillingFormStripe.module.scss\";\n//import { downloadBuildboxClient } from \"../utils/downloadsUtils\";\n//import { toast } from \"react-toastify\";\n\nconst GenericInput = lazy(() => import(\"./helpers/genericInput\"));\nconst OrderSummary = lazy(() => import(\"./helpers/orderSummary\"));\nconst CheckoutForm = lazy(() => import(\"../components/CheckoutForm\"));\nconst GenericModal = lazy(() => import(\"./helpers/GenericModal\"));\nconst PriceConfirmation = lazy(() => import(\"../components/PriceConfirmation\"));\n\nexport const PRODUCT_NAME_MAP = {\n [ProductType.BB4]: \"Buildbox 4\",\n [ProductType.BB3]: \"Buildbox 3\",\n [ProductType.BB2]: \"Buildbox Classic\",\n [ProductType.BBBundle]: \"The Buildbox\",\n [ProductType.Soundbox]: \"Soundbox\",\n};\n\nexport type Props = {\n history: string[];\n};\n\nexport type PlanInfo = bb.model.ISubscription & {\n cartId: string;\n};\n\nexport default function BillingFormStripe(props: Props) {\n const dispatch = useDispatch();\n const couponData = useSelector(currentSaleData);\n const saleContext = useSelector(currentSaleContext);\n const currentUser = useSelector(currentUserInfo);\n const googleClientId = useSelector(selectGAClientId);\n const location = useLocation()\n const queryParameters = new URLSearchParams(location.search)\n const totalDiscountedCost = useSelector(getDiscountedTotal);\n\n //TODO: support multiple product cart purchases\n const selectedCartItems = useSelector(getItems)[0];\n\n const { isShowing, toggle } = useModal();\n\n const user = currentUser === null ? { uuid: \"\", email: \"\", isNewUser: true } : currentUser;\n\n const { uuid, email, isNewUser } = user;\n //const { item, cartId } = selectedCartItems;\n const item = selectedCartItems ? selectedCartItems.item : undefined;\n const cartId = selectedCartItems ? selectedCartItems.cartId : undefined;\n const itemDiscountInfo = item ? getPlanDiscountInfo(item, couponData) : null;\n const activeSale = (item && itemDiscountInfo !== null && item.discountsAllowed);\n\n const [planInfo, setPlanInfo] = useState(null);\n\n const [quantity, updateQuantity] = useState(1);\n\n const [purchaseCost, updatePurchaseCost] = useState(null);\n const [saleCode, setSaleCode] = useState(null);\n const [renew, setRenew] = useState(\"\")\n const [xsollaAllowed, setXsollaAllowed] = useState(true)\n const stripe = useStripe();\n const elements = useElements();\n const processingRef = useRef(false)\n const [openEmailPrompt, setEmailPrompt] = useState(false)\n const [errorText, updateErrorMessage] = useState(\"\");\n const [ inputEmail, updateEmail] = useState(\"\");\n\n async function onLoad() {\n\n try {\n if(!item || !cartId) {\n redirectToPlans(props, \"\", \"\", \"\");\n return\n }\n\n dispatch(setAccountlessPurchaseEmail(undefined))\n\n if (item.planType === PlanType.Free) {\n const promoCode = sessionStorage.getItem(\"promoCode\");\n redirectToPlans(props, \"\", \"\", promoCode);\n }\n\n if (selectedCartItems.seatQuantity) {\n updateQuantity(selectedCartItems.seatQuantity);\n }\n\n // xsolla has a bug \"error 3035\" that prevents us from using it for subs with trials since change_plan fails\n if(item.trialDays > 0 && process.env.REACT_APP_DISABLE_XSOLLA_FOR_PLANS_WITH_TRIAL_PERIODS === \"true\") {\n setXsollaAllowed(false)\n }\n\n setPlanInfo({ cartId, ...item });\n sessionStorage.setItem(\"lastPaymentProvider\", \"stripe\");\n\n //downloadOnLoad(); // disabled due to user feedback\n } catch (error:any) {\n let message = error.message\n Log.error(\"Checkout Component: error caught on onLoad \" + message);\n const promoCode = sessionStorage.getItem(\"promoCode\");\n redirectToPlans(props, \"\", \"\", promoCode);\n }\n }\n\n /*\n async function downloadOnLoad() {\n const noDownload = queryParameters.get(\"nodl\");\n if(noDownload) {\n return;\n }\n\n async function attemptToDownload() {\n try {\n if (item.productType) {\n const response = await downloadBuildboxClient(null, item.productType);\n Log.info(\n \"response from auto download on load after getting gcid\",\n response\n );\n return response;\n } \n else {\n console.log(\"not sure what to download; skipping\")\n return null;\n }\n } \n catch (e) {\n Log.error(\"attempt to download failed:\", e);\n }\n }\n\n let result = await attemptToDownload();\n if(result) {\n toast.success(\"Downloading now!\", {\n autoClose: 5000,\n });\n }\n }\n */\n\n useEffect(() => {\n const tempRenew = queryParameters.get(\"renew\");\n if(tempRenew){\n setRenew(tempRenew)\n }\n }, [queryParameters])\n\n useLayoutEffect(() => {\n dispatch(fetchSale()); //eslint-disable-next-line\n }, []);\n\n useEffect(() => {\n onLoad(); //eslint-disable-next-line\n }, [currentUser]);\n\n useEffect(() => {\n if (activeSale) {\n //calculate the discounted cost if there is couponData\n //should recalculate when quantity is updated or if the sale has changed/ended\n\n const { saleCode } = couponData;\n if (typeof totalDiscountedCost !== \"number\") {\n throw new Error(\"\");\n }\n\n Log.trace(`got coupon data: ${couponData} with sale code: ${saleCode}`);\n setSaleCode(saleCode);\n dispatch(setTotalDiscountedCost(totalDiscountedCost));\n updatePurchaseCost(totalDiscountedCost);\n } else {\n Log.trace(\"no coupon data right now\");\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [couponData, totalDiscountedCost, quantity]);\n\n useEffect(() => {\n if (saleContext.saleJustEnded) {\n handleModalToggle();\n } //eslint-disable-next-line\n }, [saleContext.saleJustEnded]);\n\n //hook this up to the trigger when price changes to toggle modal\n function handleModalToggle() {\n toggle();\n window.history.replaceState(null, \"plans\", window.location.pathname);\n }\n\n async function handleSubmitClick(\n e: FormEvent,\n paymentMethod: { id: string },\n result: TokenResult,\n name: string\n ) {\n e.preventDefault()\n\n // Pass token & seat quantity to backend and wait for purchase confirmation\n const { id } = paymentMethod;\n\n const paymentLog = {\n // \"got token: \": result.token,\n // \"got payment method: \": result.token,\n // \"got payment id: \": id,\n // \"got accessToken: \": accessToken,\n \"got uuid: \": uuid,\n \"got email: \": email,\n \"got clientId: \": googleClientId,\n // \"plan info: \": planInfo,\n // \"number of seats: \": quantity,\n // \"arg mail\": mail,\n // \"arg name\": name,\n // \"arg stripe\": stripe\n };\n Log.trace(\n paymentLog,\n \"Checkout component: handlePayment (handleSubmitClick)\"\n );\n\n //purchaseCost and saleCode are optional and used when calculating cost manually for sales\n try {\n if(processingRef.current){\n return\n }\n processingRef.current = true\n\n if ( renew.length > 1 ) {\n await dispatch(renewPlan(id, quantity, purchaseCost, saleCode, name));\n } \n else {\n await dispatch(purchasePlan(id, quantity, purchaseCost, saleCode, name));\n }\n\n if (!stripe || !item || !elements) {\n Log.warn(\"Stripe load error!\", \"Checkout\");\n\n // throw an error so the user can see \n throw new Error(\"Payment processor is unavailable, your card has not been charged. Please contact support, try again, or try another payment platform.\")\n }\n\n if( renew.length > 1) {\n // setTimeout(() => {\n // redirectToThankYouRenewalPage(props);\n // }, 3000);\n redirectToThankYouRenewalPage(props);\n }\n else if(item.hasUpsell) {\n // this is the old stripe elements checkout container; it doesn't have a Checkout Session\n redirectToUpsellPage(props, item.productType, PaymentPlatforms.Stripe, item.planType, undefined, undefined);\n }\n else {\n // setTimeout(() => {\n // successRedirect();\n // }, 3000);\n successRedirect();\n }\n } \n catch (error:any) {\n Log.error(error, \"Checkout Component: error caught /updateSubscription\");\n throw new Error(error);\n }\n }\n\n function successRedirect() {\n redirectToThankYouPage(props, \"purchase\");\n }\n\n // Assume empty input resets to 1 license\n function handleEmptyLicenseBlur() {\n updateQuantity(1);\n\n dispatch(updateSeatQuantity(planInfo?.cartId as string, 1));\n }\n\n function handleLicenseInputFieldChange(\n inputName: string | undefined,\n value: string\n ) {\n if (inputName === \"licenseCount\") {\n let numValue = parseInt(value, 10);\n if (numValue < 1) {\n numValue = 1;\n }\n\n updateQuantity(numValue);\n\n if (!isNaN(numValue)) {\n dispatch(updateSeatQuantity(planInfo?.cartId as string, numValue));\n } else {\n Log.error(`Bad license input change! \"${value}\"`);\n }\n }\n }\n\n const modalStyle = {\n maxWidth: \"500px\",\n padding: \"3rem\",\n backgroundColor: \"#fff\",\n };\n\n const formStyles = {\n title: \"Checkout\",\n buttonCTA: \"Subscribe\",\n alignItems: \"center\",\n backgroundColor: \"#fff\",\n border: true,\n darkMode: false,\n paymentFormBackground: \"white\",\n height: \"100%\",\n width: \"100%\",\n padding: \"20px\",\n };\n\n const inputStyles = {\n container: checkStylesForm.paymentInputWrapper,\n label: checkStylesForm.paymentInputLabel,\n input: checkStylesForm.paymentInput,\n errorMessage: checkStylesForm.paymentErrorText,\n icon: checkStylesForm.inputIcon,\n };\n\n\n // if loading sale info\n if (saleContext.showSalesLoader) {\n return (\n
\n \n
\n );\n }\n\n const handleToXsollaCheckout = () => {\n\n if (currentUser?.email){\n window.location.href = `/purchaseThroughXsolla?nodl=1`\n } else {\n setEmailPrompt(true)\n }\n }\n\n const handleEmailPromptModalClose = () => {\n setEmailPrompt(false)\n }\n\n function handleEmailChange(inputName:string, value:string) {\n updateEmail(value);\n }\n\n\n const proceedToXsollaCheckout = () => {\n if(validateEmail(inputEmail)){\n dispatch(setAccountlessPurchaseEmail(inputEmail))\n window.location.href = `/purchaseThroughXsolla?nodl=1`\n } else {\n updateErrorMessage(\"Please enter a valid email.\")\n }\n }\n\nif (item && planInfo) {\n const productName = PRODUCT_NAME_MAP[planInfo.productType]\n\n return (\n \n }>\n \n \n \n\n
\n
\n

Please enter an email so we can setup your Buildbox account.

\n
\n

Welcome to the family!

\n
\n

If you currently have a Buildbox account, you should enter that email here. Thank you!

\n
\n \n
\n
\n { setEmailPrompt(false) }}\n className={ styles.darkCheckoutButton }\n >\n Close\n \n proceedToXsollaCheckout()}\n >\n Go To Checkout\n \n
\n
\n \n\n \n \n \n
\n

\n { renew.length > 1 ?\n <>\n Renew {renew}\n \n :\n <>\n Get {productName}{\" \"}\n {planInfo.planName}\n \n }\n\n

\n

Get started

\n
\n
\n

License Seats

\n
\n Choose the number of license seats you need for your payment\n plan. Each license seat is for one user and lets each user\n install Buildbox on 2 computers:\n
\n \n
\n
\n
\n\n \n { (renew.length < 1 && xsollaAllowed) && }\n \n
\n \n
\n
\n
\n \n \n );\n } else {\n return (\n \n
Error, no plan info!
\n
\n );\n }\n}\n","export default (state: { sale: { saleContext: bb.model.sale.ISaleContext } }) =>\n state.sale.saleContext;\n","import { createSelector } from \"reselect\";\nimport Log from \"../utils/Log\";\nimport { calculateStripeTotal, getPlanDiscountInfo } from \"../utils/saleUtils\";\nimport currentSaleContext from \"./currentSaleContext\";\nimport currentSaleData from \"./currentSaleData\";\nimport { PlanInterval } from \"../reducers/models\";\n\nfunction getTermCost(term:PlanInterval, monthlyCost:number|undefined, annualCost:number|undefined, weeklyCost: number | undefined):number {\n if (term === PlanInterval.Monthly) {\n if (monthlyCost === undefined) {\n const msg = `term is specified as ${term}, but no monthly option is associated with this plan (annual: ${annualCost} monthly: ${monthlyCost})`\n Log.error(msg)\n throw new Error(msg)\n }\n return monthlyCost\n }\n else if (term === PlanInterval.Yearly){\n if (annualCost === undefined) {\n const msg = `term is specified as ${term}, but no annual option is associated with this plan (annual: ${annualCost} monthly: ${monthlyCost})`\n Log.error(msg)\n throw new Error(msg)\n }\n return annualCost\n } \n else if (term === PlanInterval.Weekly){\n if (weeklyCost === undefined) {\n const msg = `term is specified as ${term}, but no annual option is associated with this plan (annual: ${annualCost} monthly: ${monthlyCost}, weekly: ${weeklyCost})`\n Log.error(msg)\n throw new Error(msg)\n }\n return weeklyCost\n }\n else {\n const msg = `Unknown subscription billing term ${term}!`\n Log.error(msg)\n throw new Error(msg)\n }\n}\n\nexport const getItems = (state: { cart: bb.state.ICart }) => state.cart.items;\n\nexport const getCostPerUser = createSelector(\n [currentSaleContext, getItems],\n (saleContext, cartItems):string|null => {\n if (!cartItems[0]) {\n return null;\n }\n let { item } = cartItems[0];\n\n if (!item) {\n return null;\n }\n\n if (saleContext.showSaleUI && saleContext.discountedCost) {\n item = saleContext.discountedCost[item.id];\n }\n\n let monthlyCost = item.monthlyCost;\n let annualCost = item.annualCost;\n let weeklyCost = item.weeklyCost;\n\n return getTermCost(item.planInterval, monthlyCost, annualCost, weeklyCost).toFixed(2)\n }\n);\n\n//get regular day total\nexport const getPreDiscountTotal = createSelector([getItems], (cartItems):number|null => {\n if (!cartItems[0]) {\n return null;\n }\n let { seatQuantity, item } = cartItems[0];\n\n if (!seatQuantity || seatQuantity < 1) {\n seatQuantity = 1;\n }\n\n if (!item) {\n return null;\n }\n\n const itemSubtotal = getTermCost(item.planInterval, item.monthlyCost, item.annualCost, item.weeklyCost)\n\n return (itemSubtotal * seatQuantity);\n});\n\n//get discounted day total\nexport const getDiscountedTotal = createSelector(\n [currentSaleData, getItems],\n (saleData, cartItems):number|null => {\n if (!cartItems[0]) {\n return null;\n }\n\n let { seatQuantity, item } = cartItems[0];\n\n if (!seatQuantity || seatQuantity < 1) {\n seatQuantity = 1;\n }\n\n if (!saleData || !item) {\n //TODO: account for non-plan purchases\n return null;\n }\n\n if(!item.discountsAllowed) {\n return null;\n }\n\n const itemSubtotal = getTermCost(item.planInterval, item.monthlyCost, item.annualCost, item.weeklyCost)\n\n const planDiscountInfo = getPlanDiscountInfo(item, saleData)\n if (planDiscountInfo === null) {\n return null\n }\n\n const totalDayCost = calculateStripeTotal(\n itemSubtotal,\n seatQuantity,\n planDiscountInfo\n );\n\n if (totalDayCost === undefined) {\n return null\n }\n\n return totalDayCost;\n }\n);\n","import unsupportedIterableToArray from \"./unsupportedIterableToArray\";\nexport default function _createForOfIteratorHelper(o) {\n if (typeof Symbol === \"undefined\" || o[Symbol.iterator] == null) {\n if (Array.isArray(o) || (o = unsupportedIterableToArray(o))) {\n var i = 0;\n\n var F = function F() {};\n\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n var it,\n normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = o[Symbol.iterator]();\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"buttonShared\":\"Loader_buttonShared__3aC4-\",\"buttonVerticalGradientOrangeYellow\":\"Loader_buttonVerticalGradientOrangeYellow__3DMyi\",\"buttonVerticalGradientOrange\":\"Loader_buttonVerticalGradientOrange__1XL51\",\"buttonReglarDarkGrey\":\"Loader_buttonReglarDarkGrey__3KWqm\",\"buttonReglarGrey\":\"Loader_buttonReglarGrey__1QtwT\",\"buttonGradientOrange\":\"Loader_buttonGradientOrange__3SXD9\",\"buttonRegularYellow\":\"Loader_buttonRegularYellow__1hYOj\",\"buttonRegularOrange\":\"Loader_buttonRegularOrange__1fmWL\",\"buttonGhost\":\"Loader_buttonGhost__1lE28\",\"buttonGhostDisabled\":\"Loader_buttonGhostDisabled__2mHDZ\",\"buttonGhostGreen\":\"Loader_buttonGhostGreen__2sZcx\",\"buttonGhostGradientOrange\":\"Loader_buttonGhostGradientOrange__3zwKo\",\"buttonGhostOrange\":\"Loader_buttonGhostOrange__3EZGL\",\"buttonGhostDarkBlue\":\"Loader_buttonGhostDarkBlue__2U7C-\",\"buttonGhostBlue\":\"Loader_buttonGhostBlue__2O3m1\",\"buttonGhostGrey\":\"Loader_buttonGhostGrey__3sGuj\",\"buttonDisabled\":\"Loader_buttonDisabled__qt-oB\",\"clientLoginText\":\"Loader_clientLoginText__24ICb\",\"returnToSignIn\":\"Loader_returnToSignIn__1WS3F\",\"error\":\"Loader_error__1ljkU\",\"link\":\"Loader_link__1y2pE\",\"arrow\":\"Loader_arrow__1y-Jn\",\"signOut\":\"Loader_signOut__1aBgn\",\"signOutText\":\"Loader_signOutText__3ziZC\",\"loader\":\"Loader_loader__ubxS4\",\"message\":\"Loader_message__3iIK2\",\"logo\":\"Loader_logo__3i4oT\",\"loadingMessageContainer\":\"Loader_loadingMessageContainer__1iZUd\",\"loadingIcon\":\"Loader_loadingIcon__1JGUh\"};","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar prefix = 'fas';\nvar iconName = 'spinner';\nvar width = 512;\nvar height = 512;\nvar aliases = [];\nvar unicode = 'f110';\nvar svgPathData = 'M304 48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm0 416a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM48 304a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm464-48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM142.9 437A48 48 0 1 0 75 369.1 48 48 0 1 0 142.9 437zm0-294.2A48 48 0 1 0 75 75a48 48 0 1 0 67.9 67.9zM369.1 437A48 48 0 1 0 437 369.1 48 48 0 1 0 369.1 437z';\n\nexports.definition = {\n prefix: prefix,\n iconName: iconName,\n icon: [\n width,\n height,\n aliases,\n unicode,\n svgPathData\n ]};\n\nexports.faSpinner = exports.definition;\nexports.prefix = prefix;\nexports.iconName = iconName;\nexports.width = width;\nexports.height = height;\nexports.ligatures = aliases;\nexports.unicode = unicode;\nexports.svgPathData = svgPathData;\nexports.aliases = aliases;","import React from \"react\";\nimport styles from \"../styles/Loader.module.scss\";\n\ntype LoaderProps = {\n backgroundColor?: string;\n textColor?: string;\n};\n\nexport default function Loader({ backgroundColor, textColor }: LoaderProps) {\n return (\n \n
\n \n \n Loading...\n

\n
\n
\n );\n}\n","import React, { useState, useEffect } from \"react\";\nimport styles from \"../styles/AdBlock.module.scss\";\n\n//Used on pages where we rely on Analytics(GTM) like on /purchase\n\nexport const AdblockUI = (props) => {\n return (\n
\n
\n \n

\n Please turn off your ad blocker and refresh this page\n

\n
\n
\n );\n};\nconst AdblockDetector = ({ children }) => {\n const [usingAdblock, setUsingAdblock] = useState(false);\n\n let fakeAdBanner;\n\n useEffect(() => {\n if (fakeAdBanner) {\n const hasAdBlock = fakeAdBanner.offsetHeight === 0;\n setUsingAdblock(hasAdBlock);\n sessionStorage.setItem(\"adBlockEnabled\", hasAdBlock);\n }\n }, [fakeAdBanner]);\n\n //Borrowed this from here: https://stackoverflow.com/a/60710181/8805046\n return (\n <>\n
\n (fakeAdBanner = r)}\n style={{\n height: \"1px\",\n width: \"1px\",\n visibility: \"hidden\",\n pointerEvents: \"none\",\n backgroundColor: \"#1f1f1f\",\n }}\n className=\"adsbox ad-banner\"\n />\n
\n {usingAdblock ? : children}\n \n );\n};\n\nexport default AdblockDetector;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"buttonShared\":\"AdBlock_buttonShared__1ATfD\",\"buttonVerticalGradientOrangeYellow\":\"AdBlock_buttonVerticalGradientOrangeYellow__1Donr\",\"buttonVerticalGradientOrange\":\"AdBlock_buttonVerticalGradientOrange__2b6GP\",\"buttonReglarDarkGrey\":\"AdBlock_buttonReglarDarkGrey__1H5RN\",\"buttonReglarGrey\":\"AdBlock_buttonReglarGrey__3FW4t\",\"buttonGradientOrange\":\"AdBlock_buttonGradientOrange__3tSVw\",\"buttonRegularYellow\":\"AdBlock_buttonRegularYellow__3fb9y\",\"buttonRegularOrange\":\"AdBlock_buttonRegularOrange__3HrBK\",\"buttonGhost\":\"AdBlock_buttonGhost__31AJU\",\"buttonGhostDisabled\":\"AdBlock_buttonGhostDisabled__3V2_x\",\"buttonGhostGreen\":\"AdBlock_buttonGhostGreen__201lD\",\"buttonGhostGradientOrange\":\"AdBlock_buttonGhostGradientOrange__3K57A\",\"buttonGhostOrange\":\"AdBlock_buttonGhostOrange__2rw4Z\",\"buttonGhostDarkBlue\":\"AdBlock_buttonGhostDarkBlue__LthOy\",\"buttonGhostBlue\":\"AdBlock_buttonGhostBlue__237Fo\",\"buttonGhostGrey\":\"AdBlock_buttonGhostGrey__Q_r7P\",\"buttonDisabled\":\"AdBlock_buttonDisabled__2D4RI\",\"clientLoginText\":\"AdBlock_clientLoginText__33np2\",\"returnToSignIn\":\"AdBlock_returnToSignIn__9YyD-\",\"error\":\"AdBlock_error__34b-j\",\"link\":\"AdBlock_link__1zkta\",\"arrow\":\"AdBlock_arrow__2hRZf\",\"signOut\":\"AdBlock_signOut__1bdCA\",\"signOutText\":\"AdBlock_signOutText__reNHH\",\"adBlockPage\":\"AdBlock_adBlockPage__33xa9\",\"message\":\"AdBlock_message__2T1Kp\",\"logo\":\"AdBlock_logo__2hnFd\",\"adBlockContainer\":\"AdBlock_adBlockContainer__34Gy0\"};","import { useState } from \"react\";\n\nconst useModal = () => {\n const [isShowing, setIsShowing] = useState(false);\n\n const toggle = () => {\n setIsShowing(!isShowing);\n };\n\n return {\n toggle,\n isShowing,\n };\n};\n\nexport default useModal;\n","import React from \"react\";\nimport { faSpinner } from \"@fortawesome/free-solid-svg-icons/faSpinner\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styles from \"../../styles/GenericLoader.module.scss\";\n\nexport default function GenericLoader() {\n return (\n
\n \n
\n );\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loader\":\"GenericLoader_loader__1Kk5q\",\"loadingIcon\":\"GenericLoader_loadingIcon__1C_Fg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"separatorContainer\":\"HorizontalSeparator_separatorContainer__2BZlZ\",\"leftLine\":\"HorizontalSeparator_leftLine__CFBet\",\"rightLine\":\"HorizontalSeparator_rightLine__3HIw7\",\"text\":\"HorizontalSeparator_text__37Hnj\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"buttonShared\":\"MorePaymentOptionsButton_buttonShared__Ht8aT\",\"buttonVerticalGradientOrangeYellow\":\"MorePaymentOptionsButton_buttonVerticalGradientOrangeYellow__3VEW7\",\"buttonVerticalGradientOrange\":\"MorePaymentOptionsButton_buttonVerticalGradientOrange__2-cuM\",\"buttonReglarDarkGrey\":\"MorePaymentOptionsButton_buttonReglarDarkGrey__2h6zz\",\"buttonReglarGrey\":\"MorePaymentOptionsButton_buttonReglarGrey__1LA4J\",\"buttonGradientOrange\":\"MorePaymentOptionsButton_buttonGradientOrange__3_1mQ\",\"buttonRegularYellow\":\"MorePaymentOptionsButton_buttonRegularYellow__22PJp\",\"buttonRegularOrange\":\"MorePaymentOptionsButton_buttonRegularOrange__Cezmo\",\"morePaymentOptions\":\"MorePaymentOptionsButton_morePaymentOptions__1h67o\",\"text\":\"MorePaymentOptionsButton_text__3WaA_\",\"buttonGhost\":\"MorePaymentOptionsButton_buttonGhost__3QDxz\",\"buttonGhostDisabled\":\"MorePaymentOptionsButton_buttonGhostDisabled__2nwXn\",\"buttonGhostGreen\":\"MorePaymentOptionsButton_buttonGhostGreen__3rbon\",\"buttonGhostGradientOrange\":\"MorePaymentOptionsButton_buttonGhostGradientOrange__1S4MR\",\"buttonGhostOrange\":\"MorePaymentOptionsButton_buttonGhostOrange__3RtIM\",\"buttonGhostDarkBlue\":\"MorePaymentOptionsButton_buttonGhostDarkBlue__K8YRA\",\"buttonGhostBlue\":\"MorePaymentOptionsButton_buttonGhostBlue__1gCHj\",\"buttonGhostGrey\":\"MorePaymentOptionsButton_buttonGhostGrey__2Z-hY\",\"buttonDisabled\":\"MorePaymentOptionsButton_buttonDisabled__-wdx5\",\"clientLoginText\":\"MorePaymentOptionsButton_clientLoginText__MSIQr\",\"returnToSignIn\":\"MorePaymentOptionsButton_returnToSignIn__39Cgp\",\"error\":\"MorePaymentOptionsButton_error__2aCQj\",\"link\":\"MorePaymentOptionsButton_link__1mQKZ\",\"arrow\":\"MorePaymentOptionsButton_arrow__3JVdp\",\"signOut\":\"MorePaymentOptionsButton_signOut__2fidq\",\"signOutText\":\"MorePaymentOptionsButton_signOutText__3ylhB\",\"morePaymentsContainer\":\"MorePaymentOptionsButton_morePaymentsContainer__FFQJh\",\"separatorDiv\":\"MorePaymentOptionsButton_separatorDiv__GWqFh\",\"marks\":\"MorePaymentOptionsButton_marks__2rRj5\",\"visa\":\"MorePaymentOptionsButton_visa__iaQcJ\",\"plusMore\":\"MorePaymentOptionsButton_plusMore__2Jlq3\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"buttonShared\":\"CheckoutForm_buttonShared__b1GvG\",\"buttonVerticalGradientOrangeYellow\":\"CheckoutForm_buttonVerticalGradientOrangeYellow__2_Mk-\",\"buttonVerticalGradientOrange\":\"CheckoutForm_buttonVerticalGradientOrange__3B8Hz\",\"buttonReglarDarkGrey\":\"CheckoutForm_buttonReglarDarkGrey__2ncWc\",\"buttonReglarGrey\":\"CheckoutForm_buttonReglarGrey__1VkRn\",\"payment\":\"CheckoutForm_payment__nqE1-\",\"darkCheckoutButton\":\"CheckoutForm_darkCheckoutButton__BcDz6\",\"buttonGradientOrange\":\"CheckoutForm_buttonGradientOrange__jghCt\",\"buttonRegularYellow\":\"CheckoutForm_buttonRegularYellow__2CCmh\",\"buttonRegularOrange\":\"CheckoutForm_buttonRegularOrange__1TJNB\",\"checkoutButton\":\"CheckoutForm_checkoutButton__2HjY_\",\"buttonGhost\":\"CheckoutForm_buttonGhost__1xXww\",\"buttonGhostDisabled\":\"CheckoutForm_buttonGhostDisabled__3t_bK\",\"buttonGhostGreen\":\"CheckoutForm_buttonGhostGreen__2_Oue\",\"buttonGhostGradientOrange\":\"CheckoutForm_buttonGhostGradientOrange__3gYuI\",\"buttonGhostOrange\":\"CheckoutForm_buttonGhostOrange__1qWK7\",\"buttonGhostDarkBlue\":\"CheckoutForm_buttonGhostDarkBlue__gXDi9\",\"buttonGhostBlue\":\"CheckoutForm_buttonGhostBlue__2qzBv\",\"buttonGhostGrey\":\"CheckoutForm_buttonGhostGrey__3cK6n\",\"buttonDisabled\":\"CheckoutForm_buttonDisabled__1ZysD\",\"clientLoginText\":\"CheckoutForm_clientLoginText__3-efO\",\"returnToSignIn\":\"CheckoutForm_returnToSignIn__1LYXo\",\"error\":\"CheckoutForm_error__Y_wQ5\",\"link\":\"CheckoutForm_link__RkPlL\",\"arrow\":\"CheckoutForm_arrow__1aJHW\",\"signOut\":\"CheckoutForm_signOut__1ZSAL\",\"signOutText\":\"CheckoutForm_signOutText__2kDQl\",\"inputContainer\":\"CheckoutForm_inputContainer__35qSN\",\"genericInput\":\"CheckoutForm_genericInput__VUQ-S\",\"animatedInput\":\"CheckoutForm_animatedInput__1TurP\",\"regular\":\"CheckoutForm_regular__nqTG2\",\"regularWhite\":\"CheckoutForm_regularWhite__3ieMh\",\"linkRegular\":\"CheckoutForm_linkRegular__2_jd4\",\"clientDefaultText\":\"CheckoutForm_clientDefaultText__3W3Wh\",\"border\":\"CheckoutForm_border__20rOv\",\"elementContainer\":\"CheckoutForm_elementContainer__1N3g5\",\"darkElementContainer\":\"CheckoutForm_darkElementContainer__2AoCl\",\"paymentInputWrapper\":\"CheckoutForm_paymentInputWrapper__3qOQZ\",\"paymentInput\":\"CheckoutForm_paymentInput__L1j0Y\",\"darkMode\":\"CheckoutForm_darkMode__Jz-yg\",\"paymentErrorText\":\"CheckoutForm_paymentErrorText__2tXv0\",\"inputIcon\":\"CheckoutForm_inputIcon__15C5u\",\"elementFocused\":\"CheckoutForm_elementFocused__35uTT\",\"generalErrors\":\"CheckoutForm_generalErrors__ebcQA\",\"dropdownWrapper\":\"CheckoutForm_dropdownWrapper__lBAP4\",\"dropdownErrorMessage\":\"CheckoutForm_dropdownErrorMessage__1_DD_\",\"icon\":\"CheckoutForm_icon__30NXq\",\"checkoutForm\":\"CheckoutForm_checkoutForm__IxLeY\",\"loadingIconContainer\":\"CheckoutForm_loadingIconContainer__1s1OL\",\"loadingIcon\":\"CheckoutForm_loadingIcon__tjbbB\",\"checkIcon\":\"CheckoutForm_checkIcon__2qd7d\",\"failedIcon\":\"CheckoutForm_failedIcon__R_A25\",\"failedHeader\":\"CheckoutForm_failedHeader__3owM5\",\"legalText\":\"CheckoutForm_legalText__3dQni\",\"darkModeLegalText\":\"CheckoutForm_darkModeLegalText__J5DTr\",\"mB\":\"CheckoutForm_mB__3j_w-\",\"headerStyle\":\"CheckoutForm_headerStyle__a9VAE\",\"termsError\":\"CheckoutForm_termsError__1MCDQ\"};"],"sourceRoot":""}