@nuskin/react-loyalty-elements
Version:
A React based component library for reusable Nextgen Loyalty component
1 lines • 712 kB
Source Map (JSON)
{"version":3,"sources":["/gitlab-runner-data/builds/nextgen-development/loyalty/npm/react-loyalty-elements/dist/CircularProgressBar/index.mjs","../../src/CircularProgressBar/SubscriptionReward.tsx","../../src/CircularProgressBar/RewardProgressBar.tsx","../../src/CircularProgressBar/CircularProgressBar.styled.tsx","../../src/CircularProgressBar/RadialSeparator.tsx","../../src/Icons/SubscriptionVoucherIcon.tsx","../../src/Icons/SubscriptionVoucherIconGrey.tsx","../../src/CircularProgressBar/RewardSubscriptionMonthDescription.tsx","../../src/Utils/helper.ts","../../src/CircularProgressBar/RewardSubscriptionTotal.tsx","../../src/Icons/Info.tsx","../../node_modules/@mui/material/colors/common.js","../../node_modules/@mui/material/colors/red.js","../../node_modules/@mui/material/colors/purple.js","../../node_modules/@mui/material/colors/blue.js","../../node_modules/@mui/material/colors/lightBlue.js","../../node_modules/@mui/material/colors/green.js","../../node_modules/@mui/material/colors/orange.js","../../node_modules/@mui/material/colors/grey.js","../../node_modules/@mui/utils/esm/deepmerge.js","../../node_modules/@mui/utils/esm/formatMuiErrorMessage.js","../../node_modules/@mui/utils/esm/capitalize/capitalize.js","../../node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js","../../node_modules/@mui/utils/esm/setRef.js","../../node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js","../../node_modules/@mui/utils/esm/useId/useId.js","../../node_modules/@mui/utils/esm/useControlled/useControlled.js","../../node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js","../../node_modules/@mui/utils/esm/useForkRef/useForkRef.js","../../node_modules/@mui/utils/esm/useIsFocusVisible.js","../../node_modules/@mui/utils/esm/composeClasses/composeClasses.js","../../node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js","../../node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js","../../node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js","../../node_modules/@mui/material/styles/identifier.js","../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../../node_modules/@mui/system/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js","../../node_modules/@mui/styled-engine/index.js","../../node_modules/@mui/system/node_modules/@mui/utils/esm/deepmerge/deepmerge.js","../../node_modules/@mui/system/esm/createTheme/createBreakpoints.js","../../node_modules/@mui/system/esm/createTheme/shape.js","../../node_modules/@mui/system/esm/merge.js","../../node_modules/@mui/system/esm/breakpoints.js","../../node_modules/@mui/system/node_modules/@mui/utils/esm/capitalize/capitalize.js","../../node_modules/@mui/system/esm/style.js","../../node_modules/@mui/system/esm/memoize.js","../../node_modules/@mui/system/esm/spacing.js","../../node_modules/@mui/system/esm/createTheme/createSpacing.js","../../node_modules/@mui/system/esm/compose.js","../../node_modules/@mui/system/esm/borders.js","../../node_modules/@mui/system/esm/cssGrid.js","../../node_modules/@mui/system/esm/palette.js","../../node_modules/@mui/system/esm/sizing.js","../../node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js","../../node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js","../../node_modules/@mui/system/esm/createTheme/applyStyles.js","../../node_modules/@mui/system/esm/createTheme/createTheme.js","../../node_modules/@mui/system/esm/useThemeWithoutDefault.js","../../node_modules/@mui/system/esm/useTheme.js","../../node_modules/clsx/dist/clsx.mjs","../../node_modules/@mui/system/esm/createStyled.js","../../node_modules/@mui/system/node_modules/@mui/utils/esm/resolveProps/resolveProps.js","../../node_modules/@mui/system/esm/useThemeProps/getThemeProps.js","../../node_modules/@mui/system/esm/useThemeProps/useThemeProps.js","../../node_modules/@mui/system/node_modules/@mui/utils/esm/clamp/clamp.js","../../node_modules/@mui/system/esm/colorManipulator.js","../../node_modules/@mui/material/styles/createMixins.js","../../node_modules/@mui/material/styles/createPalette.js","../../node_modules/@mui/material/styles/createTypography.js","../../node_modules/@mui/material/styles/shadows.js","../../node_modules/@mui/material/styles/createTransitions.js","../../node_modules/@mui/material/styles/zIndex.js","../../node_modules/@mui/material/styles/createTheme.js","../../node_modules/@mui/material/styles/useTheme.js","../../node_modules/@mui/material/styles/defaultTheme.js","../../node_modules/@mui/material/styles/useThemeProps.js","../../node_modules/@mui/material/styles/styled.js","../../node_modules/@mui/material/utils/capitalize.js","../../node_modules/@mui/material/utils/useId.js","../../node_modules/@mui/material/utils/useControlled.js","../../node_modules/@mui/material/utils/useEventCallback.js","../../node_modules/@mui/material/utils/useForkRef.js","../../node_modules/@mui/material/utils/useIsFocusVisible.js","../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","../../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","../../node_modules/react-transition-group/esm/Transition.js","../../node_modules/react-transition-group/esm/config.js","../../node_modules/react-transition-group/esm/TransitionGroupContext.js","../../node_modules/react-transition-group/esm/utils/reflow.js","../../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","../../node_modules/react-transition-group/esm/TransitionGroup.js","../../node_modules/react-transition-group/esm/utils/ChildMapping.js","../../node_modules/@mui/material/transitions/utils.js","../../node_modules/@mui/material/ButtonBase/ButtonBase.js","../../node_modules/@mui/material/ButtonBase/TouchRipple.js","../../node_modules/@mui/material/ButtonBase/Ripple.js","../../node_modules/@mui/material/ButtonBase/touchRippleClasses.js","../../node_modules/@mui/material/ButtonBase/buttonBaseClasses.js","../../node_modules/@mui/material/IconButton/IconButton.js","../../node_modules/@mui/material/IconButton/iconButtonClasses.js","../../node_modules/@mui/base/utils/isHostComponent.js","../../node_modules/@mui/base/utils/appendOwnerState.js","../../node_modules/@mui/base/utils/ClassNameConfigurator.js","../../node_modules/@mui/base/utils/extractEventHandlers.js","../../node_modules/@mui/base/utils/resolveComponentProps.js","../../node_modules/@mui/base/utils/omitEventHandlers.js","../../node_modules/@mui/base/utils/mergeSlotProps.js","../../node_modules/@mui/base/utils/useSlotProps.js","../../node_modules/@mui/base/Popper/Popper.js","../../node_modules/@popperjs/core/lib/enums.js","../../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../../node_modules/@popperjs/core/lib/dom-utils/getWindow.js","../../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","../../node_modules/@popperjs/core/lib/modifiers/applyStyles.js","../../node_modules/@popperjs/core/lib/utils/getBasePlacement.js","../../node_modules/@popperjs/core/lib/utils/math.js","../../node_modules/@popperjs/core/lib/utils/userAgent.js","../../node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js","../../node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","../../node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","../../node_modules/@popperjs/core/lib/dom-utils/contains.js","../../node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","../../node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","../../node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","../../node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","../../node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","../../node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","../../node_modules/@popperjs/core/lib/utils/within.js","../../node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","../../node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","../../node_modules/@popperjs/core/lib/utils/expandToHashMap.js","../../node_modules/@popperjs/core/lib/modifiers/arrow.js","../../node_modules/@popperjs/core/lib/utils/getVariation.js","../../node_modules/@popperjs/core/lib/modifiers/computeStyles.js","../../node_modules/@popperjs/core/lib/modifiers/eventListeners.js","../../node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","../../node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","../../node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","../../node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","../../node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","../../node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","../../node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js","../../node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","../../node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","../../node_modules/@popperjs/core/lib/utils/rectToClientRect.js","../../node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","../../node_modules/@popperjs/core/lib/utils/computeOffsets.js","../../node_modules/@popperjs/core/lib/utils/detectOverflow.js","../../node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","../../node_modules/@popperjs/core/lib/modifiers/flip.js","../../node_modules/@popperjs/core/lib/modifiers/hide.js","../../node_modules/@popperjs/core/lib/modifiers/offset.js","../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","../../node_modules/@popperjs/core/lib/utils/getAltAxis.js","../../node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","../../node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","../../node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","../../node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","../../node_modules/@popperjs/core/lib/utils/orderModifiers.js","../../node_modules/@popperjs/core/lib/utils/debounce.js","../../node_modules/@popperjs/core/lib/utils/mergeByName.js","../../node_modules/@popperjs/core/lib/createPopper.js","../../node_modules/@popperjs/core/lib/popper.js","../../node_modules/@mui/base/Portal/Portal.js","../../node_modules/@mui/base/Popper/popperClasses.js","../../node_modules/@mui/material/Popper/Popper.js","../../node_modules/@mui/material/Grow/Grow.js","../../node_modules/@mui/material/Tooltip/Tooltip.js","../../node_modules/@mui/material/Tooltip/tooltipClasses.js","../../src/CircularProgressBar/SubscriptionRewardMobile.tsx","../../src/Utils/application/application.ts","../../src/CircularProgressBar/logic/calculateMonthCompletionValues.ts"],"names":["a","d","b","on","c","to","Te","e","Ca","useState","React","CircularProgressbarWithChildren","buildStyles","RewardProgressBarContainer","newStyled","div","LoyaltyProgressSubContainer","StyledCard","Learn3XLink","ProgressBarCenter","RewardProgressTotalContainer","RewardProgressTotalButtonWithIcon","IconContainer","span","SeparatorCard","SeparatorInnerCard","TooltipStyles","tooltip","sx","color","backgroundColor","fontFamily","fontWeight","fontSize","lineHeight","jsx","Separator","props","style","transform","turns","children","RadialSeparators","count","separatorNumber","Array","from","length","_","index","map","turn","RadialSeparator_default","FaExclamationTriangle","jsxs","SubscriptionVoucherIcon","width","height","viewBox","fill","xmlns","SubscriptionVoucherIcon_default","SubscriptionVoucherIconGrey","SubscriptionVoucherIconGrey_default","replacePlaceholders","template","values","Object","keys","reduce","result","key","value","replace","RegExp","String","RewardSubscriptionMonthDescription","render","voucherValue","maxMonths","handleOpenSubscriptionRewardPopup","notQualifyForRewardThisMonth","translationConfig","voucherTargetAmount","monthsComplete","voucherEarned","learnMore","learn3xMore","callToAction","notQualify","approximateMonthly","approximateTotal","currentlyTrack","loyaltyLogoBlack","learnMoreConfig","tagLine","cardOneDescription","cardOneVoucherAmount","cardTwoDescription","cardTwoVoucherAmount","header","loyaltyLogoWhite","loyaltyBanner","currencyAbbreviate","currencyFormat","popupText","monthsCompleteText","completed_months","total_months","voucherEarnedText","className","src","alt","id","onClick","Component","RewardSubscriptionMonthDescription_default","NsTypography","RewardProgressBar","currency_symbol","voucher_amount","strokeWidth","background","styles","rotation","strokeLinecap","pathColor","trailColor","component","variant","weight","RewardProgressBar_default","Info","fillRule","clipRule","x1","y1","x2","y2","stroke","Info_default","common","black","white","common_default","red","A100","A200","A400","A700","red_default","purple","purple_default","blue","blue_default","lightBlue","lightBlue_default","green","green_default","orange","orange_default","grey","grey_default","isPlainObject","item","constructor","deepClone","source","output","forEach","deepmerge","target","options","clone","_extends","formatMuiErrorMessage","code","url","i","arguments","encodeURIComponent","capitalize","string","Error","charAt","toUpperCase","slice","ownerDocument","node","document","setRef","ref","current","useEnhancedEffect","window","dr","useLayoutEffect","useEffect","useEnhancedEffect_default","globalId","useGlobalId","idOverride","uo","defaultId","setDefaultId","maybeReactUseId","useId","reactId","useControlled","controlled","default","defaultProp","name","state","_t","useRef","isControlled","valueState","setValue","setValueIfUncontrolled","useCallback","newValue","useEventCallback","fn","ln","args","useEventCallback_default","useForkRef","refs","La","useMemo","every","instance","hadKeyboardEvent","hadFocusVisibleRecently","hadFocusVisibleRecentlyTimeout","inputTypesWhitelist","text","search","tel","email","password","number","date","month","week","time","datetime","focusTriggersKeyboardModality","type","tagName","readOnly","isContentEditable","handleKeyDown","event","metaKey","altKey","ctrlKey","handlePointerDown","handleVisibilityChange","visibilityState","prepare","doc","addEventListener","isFocusVisible","matches","useIsFocusVisible","yr","isFocusVisibleRef","handleBlurVisible","clearTimeout","setTimeout","handleFocusVisible","onFocus","onBlur","composeClasses","slots","getUtilityClass","classes","slot","acc","utilityClass","push","join","defaultGenerator","componentName","createClassNameGenerator","generate","configure","generator","reset","ClassNameGenerator","ClassNameGenerator_default","globalStateClassesMapping","active","checked","completed","disabled","error","expanded","focused","focusVisible","open","required","selected","generateUtilityClass","globalStatePrefix","globalStateClass","generateUtilityClasses","identifier_default","_objectWithoutPropertiesLoose","r","t","n","hasOwnProperty","call","indexOf","styled","tag","internal_processStyles","processor","isArray","__emotion_styles","prototype","getPrototypeOf","Symbol","toStringTag","iterator","dn","isValidElement","_excluded","sortBreakpointsValues","breakpointsAsArray","val","sort","breakpoint1","breakpoint2","obj","createBreakpoints","breakpoints","xs","sm","md","lg","xl","unit","step","other","sortedValues","up","down","between","start","end","endIndex","only","not","keyIndex","shape","borderRadius","shape_default","merge","merge_default","defaultBreakpoints","handleBreakpoints","propValue","styleFromPropValue","theme","themeBreakpoints","breakpoint","mediaKey","cssKey","createEmptyBreakpointObject","breakpointsInput","_breakpointsInput$key","breakpointStyleKey","removeUnusedBreakpoints","breakpointKeys","breakpointOutput","getPath","path","checkVars","vars","split","getStyleValue","themeMapping","propValueFinal","userValue","prop","cssProperty","themeKey","propTypes","filterProps","style_default","memoize","cache","arg","properties","m","p","directions","l","x","y","aliases","marginX","marginY","paddingX","paddingY","getCssProperties","property","direction","dir","marginKeys","paddingKeys","spacingKeys","createUnaryUnit","defaultValue","propName","_getPath","themeSpacing","abs","createUnarySpacing","getValue","transformer","Math","transformed","getStyleFromPropValue","cssProperties","resolveCssProperty","margin","padding","spacing","createSpacing","spacingInput","mui","argsInput","argument","compose","handlers","concat","compose_default","borderTransform","createBorderStyle","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outline","outlineColor","borders","gap","columnGap","rowGap","gridColumn","gridRow","gridAutoFlow","gridAutoColumns","gridAutoRows","gridTemplateColumns","gridTemplateRows","gridTemplateAreas","gridArea","grid","paletteTransform","bgcolor","palette","sizingTransform","maxWidth","_props$theme","_props$theme2","minWidth","maxHeight","minHeight","sizeWidth","sizeHeight","boxSizing","sizing","defaultSxConfig","pt","pr","pb","pl","px","py","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd","mt","mr","mb","ml","mx","my","marginTop","marginRight","marginBottom","marginLeft","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd","displayPrint","display","overflow","textOverflow","visibility","whiteSpace","flexBasis","flexDirection","flexWrap","justifyContent","alignItems","alignContent","order","flex","flexGrow","flexShrink","alignSelf","justifyItems","justifySelf","position","zIndex","top","right","bottom","left","boxShadow","fontStyle","letterSpacing","textTransform","textAlign","typography","defaultSxConfig_default","objectsHaveSameKeys","objects","allKeys","object","union","Set","size","callIfFn","maybeFn","unstable_createStyleFunctionSx","getThemeValue","config","styleFunctionSx","_theme$unstable_sxCon","unstable_sxConfig","traverse","sxInput","sxObject","emptyBreakpoints","breakpointsKeys","css","styleKey","breakpointsValues","styleFunctionSx_default","applyStyles","getColorSchemeSelector","mode","createTheme","paletteInput","shapeInput","muiTheme","components","unstable_sx","createTheme_default","isObjectEmpty","useTheme","defaultTheme","contextTheme","Ya","useContext","ThemeContext","useThemeWithoutDefault_default","systemDefaultTheme","useTheme_default","f","o","clsx","clsx_default","_excluded2","_excluded3","isEmpty","isStringTag","charCodeAt","shouldForwardProp","lowercaseFirstLetter","toLowerCase","resolveTheme","themeId","defaultOverridesResolver","processStyleArg","callableStyle","_ref","ownerState","resolvedStylesArg","flatMap","resolvedStyle","variants","isMatch","createStyled","input","rootShouldForwardProp","slotShouldForwardProp","systemSx","__mui_systemSx","inputOptions","filter","componentSlot","skipVariantsResolver","inputSkipVariantsResolver","skipSx","inputSkipSx","overridesResolver","label","shouldForwardPropOption","defaultStyledResolver","transformStyleArg","stylesArg","__emotion_real","muiStyledResolver","styleArg","expressions","transformedStyleArg","expressionsWithDefaultTheme","styleOverrides","resolvedStyleOverrides","entries","slotKey","slotStyle","_theme$components","themeVariants","numOfCustomFnsApplied","placeholders","raw","muiName","withConfig","resolveProps","defaultProps","toString","match","defaultSlotProps","slotProps","slotPropName","getThemeProps","params","useThemeProps","clamp","min","Number","MIN_SAFE_INTEGER","max","MAX_SAFE_INTEGER","clamp_default","clampWrapper","hexToRgb","re","colors","parseInt","round","decomposeColor","marker","substring","colorSpace","shift","parseFloat","recomposeColor","hslToRgb","h","s","k","rgb","getLuminance","toFixed","getContrastRatio","foreground","lumA","lumB","alpha","darken","coefficient","lighten","createMixins","mixins","toolbar","light","primary","secondary","divider","paper","action","hover","hoverOpacity","selectedOpacity","disabledBackground","disabledOpacity","focus","focusOpacity","activatedOpacity","dark","icon","addLightOrDark","intent","shade","tonalOffset","tonalOffsetLight","tonalOffsetDark","main","getDefaultPrimary","getDefaultSecondary","getDefaultError","getDefaultInfo","getDefaultSuccess","getDefaultWarning","createPalette","contrastThreshold","info","success","warning","getContrastText","augmentColor","mainShade","lightShade","darkShade","JSON","stringify","contrastText","modes","caseAllCaps","defaultFontFamily","createTypography","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem","pxToRem2","coef","buildVariant","casing","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","button","caption","overline","inherit","createShadow","shadows","shadows_default","easing","easeInOut","easeOut","easeIn","sharp","duration","shortest","shorter","short","standard","complex","enteringScreen","leavingScreen","formatMs","milliseconds","getAutoHeightDuration","constant","createTransitions","inputTransitions","mergedEasing","mergedDuration","create","durationOption","easingOption","delay","animatedProp","mobileStepper","fab","speedDial","appBar","drawer","modal","snackbar","zIndex_default","mixinsInput","transitionsInput","transitions","typographyInput","systemTheme","defaultTheme_default","styled_default","capitalize_default","useId_default","useControlled_default","useForkRef_default","useIsFocusVisible_default","_setPrototypeOf","setPrototypeOf","bind","__proto__","_inheritsLoose","ReactDOM","config_default","TransitionGroupContext_default","createContext","forceReflow","scrollTop","UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","Transition","_React$Component","context","_this","parentGroup","appear","isMounting","enter","initialStatus","appearStatus","in","unmountOnExit","mountOnEnter","status","nextCallback","getDerivedStateFromProps","prevState","nextIn","_proto","componentDidMount","updateStatus","componentDidUpdate","prevProps","nextStatus","componentWillUnmount","cancelNextCallback","getTimeouts","timeout","exit","mounting","nodeRef","findDOMNode","performEnter","performExit","setState","_this2","appearing","_ref2","maybeNode","maybeAppearing","timeouts","enterTimeout","safeSetState","onEntered","onEnter","onEntering","onTransitionEnd","_this3","onExited","onExit","onExiting","cancel","nextState","callback","setNextCallback","_this4","handler","doesNotHaveTimeoutOrListener","addEndListener","_ref3","maybeNextCallback","_this$props","_in","_mountOnEnter","_unmountOnExit","_appear","_enter","_exit","_timeout","_addEndListener","_onEnter","_onEntering","_onEntered","_onExit","_onExiting","_onExited","_nodeRef","childProps","createElement","Provider","cloneElement","Children","contextType","noop","Transition_default","_assertThisInitialized","ReferenceError","getChildMapping","mapFn","mapper","child","mergeChildMappings","prev","next","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","getProp","getInitialChildMapping","getNextChildMapping","nextProps","prevChildMapping","nextChildMapping","hasPrev","hasNext","prevChild","isLeaving","childFactory","TransitionGroup","handleExited","contextValue","firstRender","mounted","currentChildMapping","TransitionGroup_default","reflow","getTransitionProps","_style$transitionDura","_style$transitionTimi","transitionDuration","transitionTimingFunction","transitionDelay","_jsx","Ripple","pulsate","rippleX","rippleY","rippleSize","inProp","Lr","leaving","setLeaving","rippleClassName","ripple","rippleVisible","ripplePulsate","rippleStyles","childClassName","childLeaving","childPulsate","timeoutId","Ripple_default","touchRippleClasses","touchRippleClasses_default","_t2","_t3","_t4","DURATION","DELAY_RIPPLE","enterKeyframe","keyframes","exitKeyframe","pulsateKeyframe","TouchRippleRoot","pointerEvents","TouchRippleRipple","TouchRipple","q","forwardRef","inProps","centerProp","center","ripples","setRipples","rippleCallback","ignoringMouseDown","startTimer","startTimerCommit","container","startCommit","cb","oldRipples","fakeElement","element","rect","getBoundingClientRect","clientX","clientY","touches","sqrt","sizeX","clientWidth","sizeY","clientHeight","stop","useImperativeHandle","root","TouchRipple_default","getButtonBaseUtilityClass","buttonBaseClasses","buttonBaseClasses_default","_jsxs","useUtilityClasses","focusVisibleClassName","composedClasses","ButtonBaseRoot","WebkitTapHighlightColor","cursor","userSelect","verticalAlign","MozAppearance","WebkitAppearance","textDecoration","borderStyle","colorAdjust","ButtonBase","ye","centerRipple","disableRipple","disableTouchRipple","focusRipple","LinkComponent","onContextMenu","onDragLeave","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","buttonRef","rippleRef","handleRippleRef","focusVisibleRef","setFocusVisible","mountedState","setMountedState","enableTouchRipple","useRippleHandler","rippleAction","eventCallback","skipRippleAction","handleMouseDown","handleContextMenu","handleDragLeave","handleMouseUp","handleMouseLeave","preventDefault","handleTouchStart","handleTouchEnd","handleTouchMove","handleBlur","handleFocus","currentTarget","isNonNativeButton","href","keydownRef","handleKeyUp","defaultPrevented","ComponentProp","buttonProps","role","handleRef","as","ButtonBase_default","getIconButtonUtilityClass","iconButtonClasses","iconButtonClasses_default","edge","IconButtonRoot","transition","activeChannel","_palette","mainChannel","IconButton","Ir","disableFocusRipple","IconButton_default","isHostComponent","appendOwnerState","elementType","otherProps","defaultContextValue","disableDefaultClasses","ClassNameConfiguratorContext","qo","useClassNamesOverride","extractEventHandlers","excludeKeys","includes","resolveComponentProps","componentProps","slotState","omitEventHandlers","mergeSlotProps","parameters","getSlotProps","additionalProps","externalSlotProps","externalForwardedProps","joinedClasses","mergedStyle","internalRef","eventHandlers","componentsPropsWithoutEventHandlers","otherPropsWithoutEventHandlers","internalSlotProps","useSlotProps","_parameters$additiona","skipResolvingSlotProps","rest","resolvedComponentsProps","mergedProps","auto","basePlacements","clippingParents","viewport","popper","reference","variationPlacements","placement","placements","beforeRead","read","afterRead","beforeMain","afterMain","beforeWrite","write","afterWrite","modifierPhases","getNodeName","nodeName","getWindow","defaultView","isElement","OwnElement","Element","isHTMLElement","HTMLElement","isShadowRoot","ShadowRoot","elements","attributes","assign","removeAttribute","setAttribute","effect","initialStyles","strategy","arrow","styleProperties","attribute","applyStyles_default","enabled","phase","requires","getBasePlacement","getUAString","uaData","navigator","userAgentData","brands","brand","version","userAgent","isLayoutViewport","test","includeScale","isFixedStrategy","clientRect","scaleX","scaleY","offsetWidth","offsetHeight","visualViewport","addVisualOffsets","offsetLeft","offsetTop","getLayoutRect","contains","parent","rootNode","getRootNode","isSameNode","parentNode","host","getComputedStyle","isTableElement","getDocumentElement","documentElement","getParentNode","assignedSlot","getTrueOffsetParent","offsetParent","getContainingBlock","isFirefox","isIE","elementCss","currentNode","perspective","contain","willChange","getOffsetParent","getMainAxisFromPlacement","within","withinMaxClamp","v","getFreshSideObject","mergePaddingObject","paddingObject","expandToHashMap","hashMap","toPaddingObject","rects","_state$modifiersData$","arrowElement","popperOffsets","modifiersData","basePlacement","axis","isVertical","len","arrowRect","minProp","maxProp","endDiff","startDiff","arrowOffsetParent","clientSize","centerToReference","offset","axisProp","centerOffset","_options$element","querySelector","arrow_default","requiresIfExists","getVariation","unsetSides","roundOffsetsByDPR","win","dpr","devicePixelRatio","mapToStyles","_Object$assign2","popperRect","variation","offsets","gpuAcceleration","adaptive","roundOffsets","isFixed","_offsets$x","_offsets$y","hasX","hasY","sideX","sideY","heightProp","widthProp","offsetY","offsetX","commonStyles","_ref4","_Object$assign","computeStyles","_ref5","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","computeStyles_default","data","passive","_options$scroll","scroll","_options$resize","resize","scrollParents","scrollParent","update","removeEventListener","eventListeners_default","hash","getOppositePlacement","matched","getOppositeVariationPlacement","getWindowScroll","scrollLeft","pageXOffset","pageYOffset","getWindowScrollBarX","getViewportRect","html","layoutViewport","getDocumentRect","_element$ownerDocumen","winScroll","body","scrollWidth","scrollHeight","isScrollParent","_getComputedStyle","overflowX","overflowY","getScrollParent","listScrollParents","list","isBody","updatedList","rectToClientRect","getInnerBoundingClientRect","clientTop","clientLeft","getClientRectFromMixedType","clippingParent","getClippingParents","canEscapeClipping","clipperElement","getClippingRect","boundary","rootBoundary","mainClippingParents","firstClippingParent","clippingRect","accRect","computeOffsets","commonX","commonY","mainAxis","detectOverflow","_options","_options$placement","_options$strategy","_options$boundary","_options$rootBoundary","_options$elementConte","elementContext","_options$altBoundary","altBoundary","_options$padding","altContext","clippingClientRect","contextElement","referenceClientRect","popperClientRect","elementClientRect","overflowOffsets","offsetData","multiply","computeAutoPlacement","flipVariations","_options$allowedAutoP","allowedAutoPlacements","allowedPlacements","overflows","getExpandedFallbackPlacements","oppositePlacement","flip","_skip","_options$mainAxis","checkMainAxis","_options$altAxis","altAxis","checkAltAxis","specifiedFallbackPlacements","fallbackPlacements","_options$flipVariatio","preferredPlacement","isBasePlacement","referenceRect","checksMap","Map","makeFallbackChecks","firstFittingPlacement","_basePlacement","isStartVariation","mainVariationSide","altVariationSide","checks","check","set","numberOfChecks","_loop","_i","fittingPlacement","find","get","_ret","flip_default","getSideOffsets","preventedOffsets","isAnySideFullyClipped","some","side","hide","preventOverflow","referenceOverflow","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","hide_default","distanceAndSkiddingToXY","invertDistance","skidding","distance","_options$offset","_data$state$placement","offset_default","popperOffsets_default","getAltAxis","_options$tether","tether","_options$tetherOffset","tetherOffset","tetherOffsetValue","normalizedTetherOffsetValue","offsetModifierState","_offsetModifierState$","mainSide","altSide","additive","minLen","maxLen","arrowPaddingObject","arrowPaddingMin","arrowPaddingMax","arrowLen","minOffset","maxOffset","clientOffset","offsetModifierValue","tetherMin","tetherMax","preventedOffset","_offsetModifierState$2","_mainSide","_altSide","_offset","_len","_min","_max","isOriginSide","_offsetModifierValue","_tetherMin","_tetherMax","_preventedOffset","preventOverflow_default","getHTMLElementScroll","getNodeScroll","isElementScaled","getCompositeRect","elementOrVirtualElement","isOffsetParentAnElement","offsetParentIsScaled","modifiers","visited","modifier","add","dep","has","depModifier","orderModifiers","orderedModifiers","debounce","pending","Promise","resolve","then","mergeByName","merged","existing","DEFAULT_OPTIONS","areValidElements","_key","popperGenerator","generatorOptions","_generatorOptions","_generatorOptions$def","defaultModifiers","_generatorOptions$def2","defaultOptions","effectCleanupFns","isDestroyed","setOptions","setOptionsAction","cleanupModifierEffects","runModifierEffects","forceUpdate","_state$elements","_state$orderedModifie","_state$orderedModifie2","destroy","onFirstUpdate","_ref$options","cleanupFn","noopFn","createPopper","getContainer","Portal","Ie","forwardedRef","disablePortal","mountNode","setMountNode","Fragment","ei","createPortal","getPopperUtilityClass","popperClasses","flipPlacement","resolveAnchorEl","anchorEl","nodeType","defaultPopperOptions","PopperTooltip","pe","_slots$root","initialPlacement","popperOptions","popperRef","popperRefProp","TransitionProps","tooltipRef","ownRef","handlePopperRef","handlePopperRefRef","rtlPlacement","setPlacement","resolvedAnchorElement","setResolvedAnchorElement","handlePopperUpdate","popperModifiers","Root","rootProps","Popper","containerProp","keepMounted","exited","setExited","handleEnter","resolvedAnchorEl","transitionProps","PopperRoot","oi","componentsProps","RootComponent","Popper_default","getScale","entering","opacity","entered","isWebKit154","Grow","Ze","TransitionComponent","timer","autoTimeout","normalizedTransitionCallback","maybeIsAppearing","handleEntering","isAppearing","handleEntered","handleExiting","handleExit","handleAddEndListener","muiSupportAuto","Grow_default","getTooltipUtilityClass","tooltipClasses","tooltipClasses_default","disableInteractive","touch","TooltipPopper","popperInteractive","popperArrow","popperClose","transformOrigin","isRtl","TooltipTooltip","tooltipArrow","Tooltip","bg","wordWrap","TooltipArrow","content","hystersisOpen","hystersisTimer","cursorPosition","composeEventHandler","eventHandler","$","_slots$popper","_slots$transition","_slots$tooltip","_slots$arrow","_slotProps$popper","_ref6","_slotProps$popper2","_slotProps$transition","_slotProps$tooltip","_ref7","_slotProps$tooltip2","_slotProps$arrow","_ref8","_slotProps$arrow2","childrenProp","describeChild","disableFocusListener","disableHoverListener","disableInteractiveProp","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","idProp","leaveDelay","leaveTouchDelay","onClose","onOpen","openProp","PopperComponent","PopperComponentProp","PopperProps","title","TransitionComponentProp","childNode","setChildNode","arrowRef","setArrowRef","ignoreNonTouchEvents","closeTimer","enterTimer","leaveTimer","touchTimer","openState","setOpenState","prevUserSelect","stopTouchInteraction","WebkitUserSelect","handleOpen","handleClose","handleLeave","setChildIsFocusVisible","detectTouchStart","childrenProps","handleMouseOver","nativeEvent","handleMouseMove","onMouseMove","nameOrDescProps","titleIsString","interactiveWrapperListeners","onMouseOver","_PopperProps$popperOp","tooltipModifiers","TooltipComponent","ArrowComponent","Arrow","popperProps","tooltipProps","tooltipArrowProps","TransitionPropsInner","Tooltip_default","RewardSubscriptionTotal","storeConfig","amountShow","estimateDisclaimer","tiers","consecutive_months","min_spend","max_spend","promo_code","currentlyTrackText","approximateTotalText","projected_month_spend","minAmount","minAmountShow","callToActionText","approximateMonthlyText","estimated_running_subscription_spend","amountShowText","colorOverride","noSpacing","RewardSubscriptionTotal_default","resolvePopupText","minVoucher","maxVoucher","learnMoreText","translationLearnMore","renderCenterContent","isComplete","hasVoucherValue","renderInfoItem","renderTotalSummary","renderTotalButton","translationNotQualify","handleTooltipToggle","handleTooltipClose","SubscriptionRewardMobile","setOpen","formatCurrency","price","withoutDecimal","abbreviate","centerContent","infoItem","totalSummary","totalButton","SubscriptionRewardMobile_default","IS_BROWSER","ApplicationStore","innerWidth","vertical","scrollY","horizontal","scrollX","isMobile","isPhone","applicationContainer","findTierForAmount","amount","tier","extractVoucherFromPromoCode","promoCode","cleaned","sortRecordsByDateDesc","records","year","isSameMonthYear","record","getMonth","getFullYear","getCurrentMonthRecords","today","getCurrentMonthTotal","totalAmount","getApproxMonthTotal","approximateMonthlyTotalResponse","currentMonthTotal","getCurrentMonthEligibleAmount","approxMonthTotal","isMonthEligible","eligibleAmount","getWindowStartDate","includeCurrentMonth","Date","filterRecentRecords","windowStart","filterPromoFreeRecords","promocode","dropCurrentMonthIfIneligible","isCurrentMonthEligible","sliceRecentMonths","areAllPromoCodesSameWhenInvalid","promoCodes","expectedMonthForIndex","todayMonth","hasPromoValue","isPromoBlank","shouldStopForMonthMismatch","expectedMonth","shouldInvalidateForSamePromo","allSamePromoCode","applyEligibleRecordUpdate","recordTotal","monthCompletionValue","currentVoucherValue","newVoucherValue","evaluateRecentRecords","meetsAmount","noPromo","calculateMonthCompletionValues","initialVoucherValue","initialMonthCompletionValue","sortedRecords","csmMonthlySubsOrderTotal","currentMonthRecords","hasCurrentMonthData","currentMonthTotalAmount","currentMonthEligibleAmount","recentRecords","promoFreeRecords","eligibleRecords","lastMonths","projectedVoucher","SubscriptionReward","rewardData","currentTier","subscriptionData","show","setShow","currentVoucher","SubscriptionRewardModal","close","SubscriptionReward_default"],"mappings":"s/PAAA,OAAOA,KAAKC,CAAC,CAACC,KAAKC,CAAE,CAACC,KAAKC,CAAE,CAACJ,KAAKK,CAAE,CAACC,KAAKC,CAAE,KAAK,uBCAlD,QAAgBC,YAAAA,CAAAA,KAAgB,OCAhC,QAAOC,MAAW,OAClB,QAASC,mCAAAA,CAAAA,CAAiCC,eAAAA,CAAAA,KAAmB,4BCCtD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