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wB,GAAAnI,EAAAC,GAAA,EAACwI,EAAAA,CAAAA,QAKlC,GAAAzI,EAAAC,GAAA,EAAC2I,EAAAA,CAAIA,CAAAA,CAACC,GAAI,CAAC,GAAM,GAAM,GAAM,UACzB,GAAA7I,EAAAI,IAAA,EAACyH,GAAAA,WACG,GAAA7H,EAAAC,GAAA,EAAC0I,EAAAA,CAAAA,GACD,GAAA3I,EAAAC,GAAA,EAACwI,EAAAA,CAAAA,UAKrB,mFErEA,IAAAM,EAAAC,CAAAC,MAAAA,WAAA,OAAAA,WAAAC,QAAA,EAA6ItH,EAAAuH,eAAsB,QCJnKC,EAAyCC,CAAY,SAAAC,QAAA,UAAArG,KAAAA,CAAA,EAErDsG,EAAA,EACA,SAAAC,EAAAC,CAAA,EACA,IAAAC,EAAAC,EAAA,CAAwB/H,EAAAyG,QAAqB,CAAAe,KAO7C,OANIL,EAAsB,KAC1BU,GAAAE,EAAA,GAAAC,MAAAA,EAAAA,EAAAC,OAAAN,KAEA,EAAK,CACLE,EACA,EACAA,GAAAC,CAAAA,EAAA,SAA6CA,EAAG,KAChD","sources":["webpack://_N_E/./components/PriceBoxes/PriceBox/PriceBox.tsx","webpack://_N_E/./components/PriceBoxes/PriceBox/index.tsx","webpack://_N_E/./node_modules/@radix-ui/react-toggle-group/node_modules/@babel/runtime/helpers/esm/extends.js","webpack://_N_E/./node_modules/@radix-ui/react-toggle/node_modules/@babel/runtime/helpers/esm/extends.js","webpack://_N_E/./node_modules/@radix-ui/react-toggle/dist/index.mjs","webpack://_N_E/./node_modules/@radix-ui/react-toggle-group/dist/index.mjs","webpack://_N_E/./components/PriceBoxes/PriceToggle.tsx","webpack://_N_E/./components/PriceBoxes/PriceBoxes.tsx","webpack://_N_E/./components/PriceBoxes/index.tsx","webpack://_N_E/./node_modules/@radix-ui/react-id/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs","webpack://_N_E/./node_modules/@radix-ui/react-id/dist/index.mjs","webpack://_N_E/"],"sourcesContent":["import styled from 'styled-components'\n\nimport HighlightText from 'components/HighlightText'\nimport Box from 'components/Primitives/Box'\nimport Set from 'components/Set'\nimport createPriceString, { getDiscountText } from 'lib/createPriceString'\nimport type { Price } from 'lib/pricing/types'\nimport { trispace, zIndex } from 'theme/index'\nimport type { StripeInterval } from 'types/stripeConsts'\n\ntype Props = {\n variant: StripeInterval\n price: Price\n isSelected: boolean\n onClick?: (price: StripeInterval) => void // If undefined, the box is not clickable\n}\n\nconst PriceBox = ({ variant, price, onClick, isSelected }: Props) => {\n const handleClick = () => {\n !!onClick && onClick(price.interval)\n }\n\n const isAnnual = variant === 'year'\n const isClickable = !!onClick\n\n const priceProps = {\n amount: price.amount,\n currency: price.currency,\n currencySymbol: price.currencySymbol,\n hideCurrencyInfo: true,\n stripeDiscountPct: price.promotionApplied?.discountPct || 0,\n stripeDiscountAmount: price.promotionApplied?.discountAmount || 0,\n }\n const discount = price.promotionApplied\n const discountText = getDiscountText(discount, price.currencySymbol)\n\n const pricePerMonthText = isAnnual\n ? createPriceString({\n ...priceProps,\n convertToMonth: true,\n })\n : createPriceString({\n ...priceProps,\n })\n\n const planText = isAnnual ? 'Annual' : 'Monthly'\n const featureText = isAnnual ? 'Most Popular' : 'Flexible'\n\n const subText = isAnnual ? (\n <>\n {!!price.trialDays && (\n <>\n {`${price.trialDays} day free trial,`}\n
\n {/* This is the full annual price (with discount applied if any) */}\n {`then ${createPriceString({ ...priceProps })}/year`}\n \n )}\n \n ) : (\n <>\n {`Cancel anytime`}\n
\n {'Billed monthly'}\n \n )\n\n return (\n \n {discountText && (\n \n {discountText}\n \n )}\n {planText}\n {featureText}\n\n \n \n {pricePerMonthText}\n \n /month\n \n\n \n {subText}\n \n \n )\n}\n\nconst Container = styled(Set)<{ $isSelected: boolean; $isClickable: boolean }>`\n width: 100%;\n position: relative;\n min-width: 40%;\n min-height: 200px;\n padding: 2rem;\n margin: 0rem;\n margin-top: 1rem;\n\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n color: ${({ theme }) => theme.palette.neutral[999]};\n cursor: ${({ $isClickable }) => ($isClickable ? 'pointer' : 'default')};\n border: ${({ $isSelected, $isClickable, theme }) => {\n if (!$isClickable) {\n return `2px solid ${theme.palette.primary[600]}`\n }\n return $isSelected ? `2px solid ${theme.palette.primary[600]}` : 'none'\n }};\n background-color: ${({ $isSelected, $isClickable, theme }) => {\n if (!$isClickable) {\n return theme.palette.neutral[0]\n }\n return $isSelected ? theme.palette.primary[100] : theme.palette.neutral[0]\n }};\n box-shadow: ${({ $isClickable, theme }) => ($isClickable ? theme.elevation[3] : 'none')};\n`\n\nconst DiscountBadgeContainer = styled.div`\n position: absolute;\n top: -1.5rem;\n left: 0;\n right: 0;\n display: flex;\n justify-content: center;\n pointer-events: none;\n`\n\nconst DiscountBadge = styled.div`\n position: absolute;\n top: -0.75rem;\n left: 50%;\n transform: translateX(-50%);\n\n clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);\n background-color: ${({ theme }) => theme.palette.accent[500]};\n color: ${({ theme }) => theme.palette.neutral[0]};\n padding: 0.5rem 1.5rem;\n\n font-size: ${({ theme }) => theme.fontSize.XS};\n font-family: ${trispace.style.fontFamily};\n\n white-space: nowrap;\n z-index: ${zIndex.layer01};\n`\n\nconst PlanText = styled(HighlightText)`\n font-size: ${({ theme }) => theme.fontSize.XXL};\n font-weight: ${({ theme }) => theme.fontWeights.extraBold};\n text-transform: uppercase;\n font-style: italic;\n margin-bottom: 0.5rem;\n`\n\nconst FeatureText = styled.p`\n font-family: ${trispace.style.fontFamily};\n font-size: ${({ theme }) => theme.fontSize.XS};\n color: ${({ theme }) => theme.palette.primary[500]};\n`\n\nconst PriceText = styled.p`\n font-size: ${({ theme }) => theme.fontSize.XXXXL};\n font-weight: ${({ theme }) => theme.fontWeights.extraBold};\n padding-right: 0.5rem;\n`\n\nconst MonthlyText = styled.p`\n font-size: ${({ theme }) => theme.fontSize.S};\n font-weight: ${({ theme }) => theme.fontWeights.bold};\n`\n\nconst FooterSection = styled.div`\n display: flex;\n flex: 1;\n justify-content: flex-end;\n`\n\nconst SubText = styled.p`\n font-size: ${({ theme }) => theme.fontSize.XS};\n text-align: center;\n`\n\nexport default PriceBox\n","import PriceBox from 'components/PriceBoxes/PriceBox/PriceBox'\n\nexport default PriceBox\n","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","import $5AXX7$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport {forwardRef as $5AXX7$forwardRef, createElement as $5AXX7$createElement} from \"react\";\nimport {composeEventHandlers as $5AXX7$composeEventHandlers} from \"@radix-ui/primitive\";\nimport {useControllableState as $5AXX7$useControllableState} from \"@radix-ui/react-use-controllable-state\";\nimport {Primitive as $5AXX7$Primitive} from \"@radix-ui/react-primitive\";\n\n\n\n\n\n\n/* -------------------------------------------------------------------------------------------------\n * Toggle\n * -----------------------------------------------------------------------------------------------*/ const $b3bbe2732c13b576$var$NAME = 'Toggle';\nconst $b3bbe2732c13b576$export$bea8ebba691c5813 = /*#__PURE__*/ $5AXX7$forwardRef((props, forwardedRef)=>{\n const { pressed: pressedProp , defaultPressed: defaultPressed = false , onPressedChange: onPressedChange , ...buttonProps } = props;\n const [pressed = false, setPressed] = $5AXX7$useControllableState({\n prop: pressedProp,\n onChange: onPressedChange,\n defaultProp: defaultPressed\n });\n return /*#__PURE__*/ $5AXX7$createElement($5AXX7$Primitive.button, $5AXX7$babelruntimehelpersesmextends({\n type: \"button\",\n \"aria-pressed\": pressed,\n \"data-state\": pressed ? 'on' : 'off',\n \"data-disabled\": props.disabled ? '' : undefined\n }, buttonProps, {\n ref: forwardedRef,\n onClick: $5AXX7$composeEventHandlers(props.onClick, ()=>{\n if (!props.disabled) setPressed(!pressed);\n })\n }));\n});\n/*#__PURE__*/ Object.assign($b3bbe2732c13b576$export$bea8ebba691c5813, {\n displayName: $b3bbe2732c13b576$var$NAME\n});\n/* ---------------------------------------------------------------------------------------------- */ const $b3bbe2732c13b576$export$be92b6f5f03c0fe9 = $b3bbe2732c13b576$export$bea8ebba691c5813;\n\n\n\n\nexport {$b3bbe2732c13b576$export$bea8ebba691c5813 as Toggle, $b3bbe2732c13b576$export$be92b6f5f03c0fe9 as Root};\n//# sourceMappingURL=index.mjs.map\n","import $jFibJ$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport $jFibJ$react from \"react\";\nimport {createContextScope as $jFibJ$createContextScope} from \"@radix-ui/react-context\";\nimport {Primitive as $jFibJ$Primitive} from \"@radix-ui/react-primitive\";\nimport {createRovingFocusGroupScope as $jFibJ$createRovingFocusGroupScope, Root as $jFibJ$Root, Item as $jFibJ$Item} from \"@radix-ui/react-roving-focus\";\nimport {Toggle as $jFibJ$Toggle} from \"@radix-ui/react-toggle\";\nimport {useControllableState as $jFibJ$useControllableState} from \"@radix-ui/react-use-controllable-state\";\nimport {useDirection as $jFibJ$useDirection} from \"@radix-ui/react-direction\";\n\n\n\n\n\n\n\n\n\n\n/* -------------------------------------------------------------------------------------------------\n * ToggleGroup\n * -----------------------------------------------------------------------------------------------*/ const $6c1fd9e6a8969628$var$TOGGLE_GROUP_NAME = 'ToggleGroup';\nconst [$6c1fd9e6a8969628$var$createToggleGroupContext, $6c1fd9e6a8969628$export$d1c7c4bcd9f26dd4] = $jFibJ$createContextScope($6c1fd9e6a8969628$var$TOGGLE_GROUP_NAME, [\n $jFibJ$createRovingFocusGroupScope\n]);\nconst $6c1fd9e6a8969628$var$useRovingFocusGroupScope = $jFibJ$createRovingFocusGroupScope();\nconst $6c1fd9e6a8969628$export$af3ec21f6cfb5e30 = /*#__PURE__*/ $jFibJ$react.forwardRef((props, forwardedRef)=>{\n const { type: type , ...toggleGroupProps } = props;\n if (type === 'single') {\n const singleProps = toggleGroupProps;\n return /*#__PURE__*/ $jFibJ$react.createElement($6c1fd9e6a8969628$var$ToggleGroupImplSingle, $jFibJ$babelruntimehelpersesmextends({}, singleProps, {\n ref: forwardedRef\n }));\n }\n if (type === 'multiple') {\n const multipleProps = toggleGroupProps;\n return /*#__PURE__*/ $jFibJ$react.createElement($6c1fd9e6a8969628$var$ToggleGroupImplMultiple, $jFibJ$babelruntimehelpersesmextends({}, multipleProps, {\n ref: forwardedRef\n }));\n }\n throw new Error(`Missing prop \\`type\\` expected on \\`${$6c1fd9e6a8969628$var$TOGGLE_GROUP_NAME}\\``);\n});\n/*#__PURE__*/ Object.assign($6c1fd9e6a8969628$export$af3ec21f6cfb5e30, {\n displayName: $6c1fd9e6a8969628$var$TOGGLE_GROUP_NAME\n});\n/* -----------------------------------------------------------------------------------------------*/ const [$6c1fd9e6a8969628$var$ToggleGroupValueProvider, $6c1fd9e6a8969628$var$useToggleGroupValueContext] = $6c1fd9e6a8969628$var$createToggleGroupContext($6c1fd9e6a8969628$var$TOGGLE_GROUP_NAME);\nconst $6c1fd9e6a8969628$var$ToggleGroupImplSingle = /*#__PURE__*/ $jFibJ$react.forwardRef((props, forwardedRef)=>{\n const { value: valueProp , defaultValue: defaultValue , onValueChange: onValueChange = ()=>{} , ...toggleGroupSingleProps } = props;\n const [value, setValue] = $jFibJ$useControllableState({\n prop: valueProp,\n defaultProp: defaultValue,\n onChange: onValueChange\n });\n return /*#__PURE__*/ $jFibJ$react.createElement($6c1fd9e6a8969628$var$ToggleGroupValueProvider, {\n scope: props.__scopeToggleGroup,\n type: \"single\",\n value: value ? [\n value\n ] : [],\n onItemActivate: setValue,\n onItemDeactivate: $jFibJ$react.useCallback(()=>setValue('')\n , [\n setValue\n ])\n }, /*#__PURE__*/ $jFibJ$react.createElement($6c1fd9e6a8969628$var$ToggleGroupImpl, $jFibJ$babelruntimehelpersesmextends({}, toggleGroupSingleProps, {\n ref: forwardedRef\n })));\n});\nconst $6c1fd9e6a8969628$var$ToggleGroupImplMultiple = /*#__PURE__*/ $jFibJ$react.forwardRef((props, forwardedRef)=>{\n const { value: valueProp , defaultValue: defaultValue , onValueChange: onValueChange = ()=>{} , ...toggleGroupMultipleProps } = props;\n const [value1 = [], setValue] = $jFibJ$useControllableState({\n prop: valueProp,\n defaultProp: defaultValue,\n onChange: onValueChange\n });\n const handleButtonActivate = $jFibJ$react.useCallback((itemValue)=>setValue((prevValue = [])=>[\n ...prevValue,\n itemValue\n ]\n )\n , [\n setValue\n ]);\n const handleButtonDeactivate = $jFibJ$react.useCallback((itemValue)=>setValue((prevValue = [])=>prevValue.filter((value)=>value !== itemValue\n )\n )\n , [\n setValue\n ]);\n return /*#__PURE__*/ $jFibJ$react.createElement($6c1fd9e6a8969628$var$ToggleGroupValueProvider, {\n scope: props.__scopeToggleGroup,\n type: \"multiple\",\n value: value1,\n onItemActivate: handleButtonActivate,\n onItemDeactivate: handleButtonDeactivate\n }, /*#__PURE__*/ $jFibJ$react.createElement($6c1fd9e6a8969628$var$ToggleGroupImpl, $jFibJ$babelruntimehelpersesmextends({}, toggleGroupMultipleProps, {\n ref: forwardedRef\n })));\n});\n/*#__PURE__*/ Object.assign($6c1fd9e6a8969628$export$af3ec21f6cfb5e30, {\n displayName: $6c1fd9e6a8969628$var$TOGGLE_GROUP_NAME\n});\n/* -----------------------------------------------------------------------------------------------*/ const [$6c1fd9e6a8969628$var$ToggleGroupContext, $6c1fd9e6a8969628$var$useToggleGroupContext] = $6c1fd9e6a8969628$var$createToggleGroupContext($6c1fd9e6a8969628$var$TOGGLE_GROUP_NAME);\nconst $6c1fd9e6a8969628$var$ToggleGroupImpl = /*#__PURE__*/ $jFibJ$react.forwardRef((props, forwardedRef)=>{\n const { __scopeToggleGroup: __scopeToggleGroup , disabled: disabled = false , rovingFocus: rovingFocus = true , orientation: orientation , dir: dir , loop: loop = true , ...toggleGroupProps } = props;\n const rovingFocusGroupScope = $6c1fd9e6a8969628$var$useRovingFocusGroupScope(__scopeToggleGroup);\n const direction = $jFibJ$useDirection(dir);\n const commonProps = {\n role: 'group',\n dir: direction,\n ...toggleGroupProps\n };\n return /*#__PURE__*/ $jFibJ$react.createElement($6c1fd9e6a8969628$var$ToggleGroupContext, {\n scope: __scopeToggleGroup,\n rovingFocus: rovingFocus,\n disabled: disabled\n }, rovingFocus ? /*#__PURE__*/ $jFibJ$react.createElement($jFibJ$Root, $jFibJ$babelruntimehelpersesmextends({\n asChild: true\n }, rovingFocusGroupScope, {\n orientation: orientation,\n dir: direction,\n loop: loop\n }), /*#__PURE__*/ $jFibJ$react.createElement($jFibJ$Primitive.div, $jFibJ$babelruntimehelpersesmextends({}, commonProps, {\n ref: forwardedRef\n }))) : /*#__PURE__*/ $jFibJ$react.createElement($jFibJ$Primitive.div, $jFibJ$babelruntimehelpersesmextends({}, commonProps, {\n ref: forwardedRef\n })));\n});\n/* -------------------------------------------------------------------------------------------------\n * ToggleGroupItem\n * -----------------------------------------------------------------------------------------------*/ const $6c1fd9e6a8969628$var$ITEM_NAME = 'ToggleGroupItem';\nconst $6c1fd9e6a8969628$export$b453109e13abe10b = /*#__PURE__*/ $jFibJ$react.forwardRef((props, forwardedRef)=>{\n const valueContext = $6c1fd9e6a8969628$var$useToggleGroupValueContext($6c1fd9e6a8969628$var$ITEM_NAME, props.__scopeToggleGroup);\n const context = $6c1fd9e6a8969628$var$useToggleGroupContext($6c1fd9e6a8969628$var$ITEM_NAME, props.__scopeToggleGroup);\n const rovingFocusGroupScope = $6c1fd9e6a8969628$var$useRovingFocusGroupScope(props.__scopeToggleGroup);\n const pressed = valueContext.value.includes(props.value);\n const disabled = context.disabled || props.disabled;\n const commonProps = {\n ...props,\n pressed: pressed,\n disabled: disabled\n };\n const ref = $jFibJ$react.useRef(null);\n return context.rovingFocus ? /*#__PURE__*/ $jFibJ$react.createElement($jFibJ$Item, $jFibJ$babelruntimehelpersesmextends({\n asChild: true\n }, rovingFocusGroupScope, {\n focusable: !disabled,\n active: pressed,\n ref: ref\n }), /*#__PURE__*/ $jFibJ$react.createElement($6c1fd9e6a8969628$var$ToggleGroupItemImpl, $jFibJ$babelruntimehelpersesmextends({}, commonProps, {\n ref: forwardedRef\n }))) : /*#__PURE__*/ $jFibJ$react.createElement($6c1fd9e6a8969628$var$ToggleGroupItemImpl, $jFibJ$babelruntimehelpersesmextends({}, commonProps, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($6c1fd9e6a8969628$export$b453109e13abe10b, {\n displayName: $6c1fd9e6a8969628$var$ITEM_NAME\n});\n/* -----------------------------------------------------------------------------------------------*/ const $6c1fd9e6a8969628$var$ToggleGroupItemImpl = /*#__PURE__*/ $jFibJ$react.forwardRef((props, forwardedRef)=>{\n const { __scopeToggleGroup: __scopeToggleGroup , value: value , ...itemProps } = props;\n const valueContext = $6c1fd9e6a8969628$var$useToggleGroupValueContext($6c1fd9e6a8969628$var$ITEM_NAME, __scopeToggleGroup);\n const singleProps = {\n role: 'radio',\n 'aria-checked': props.pressed,\n 'aria-pressed': undefined\n };\n const typeProps = valueContext.type === 'single' ? singleProps : undefined;\n return /*#__PURE__*/ $jFibJ$react.createElement($jFibJ$Toggle, $jFibJ$babelruntimehelpersesmextends({}, typeProps, itemProps, {\n ref: forwardedRef,\n onPressedChange: (pressed)=>{\n if (pressed) valueContext.onItemActivate(value);\n else valueContext.onItemDeactivate(value);\n }\n }));\n});\n/* -----------------------------------------------------------------------------------------------*/ const $6c1fd9e6a8969628$export$be92b6f5f03c0fe9 = $6c1fd9e6a8969628$export$af3ec21f6cfb5e30;\nconst $6c1fd9e6a8969628$export$6d08773d2e66f8f2 = $6c1fd9e6a8969628$export$b453109e13abe10b;\n\n\n\n\nexport {$6c1fd9e6a8969628$export$d1c7c4bcd9f26dd4 as createToggleGroupScope, $6c1fd9e6a8969628$export$af3ec21f6cfb5e30 as ToggleGroup, $6c1fd9e6a8969628$export$b453109e13abe10b as ToggleGroupItem, $6c1fd9e6a8969628$export$be92b6f5f03c0fe9 as Root, $6c1fd9e6a8969628$export$6d08773d2e66f8f2 as Item};\n//# sourceMappingURL=index.mjs.map\n","import { Root, Item } from '@radix-ui/react-toggle-group'\nimport styled from 'styled-components'\n\nimport { fonts, trispace } from 'theme/index'\nimport type { StripeInterval } from 'types/stripeConsts'\n\nconst PriceToggle = ({\n setPrice,\n selectedPrice,\n}: {\n setPrice: (price: StripeInterval) => void\n selectedPrice: StripeInterval\n}) => {\n const handleValueChange = (value: StripeInterval) => {\n // Make sure we can't \"unselect\" the price, so only set if there is a value\n if (!!value) {\n setPrice(value)\n }\n }\n\n return (\n \n \n Annual\n \n \n Monthly\n \n \n )\n}\n\nconst Toggle = styled(Root)`\n display: flex;\n align-items: center;\n`\n\nconst PriceItem = styled(Item)`\n flex: 1;\n padding: 0.5rem 0;\n border: none;\n background-color: ${({ theme }) => theme.palette.neutral[100]};\n color: ${({ theme }) => theme.palette.neutral[700]};\n &[data-state='on'] {\n background-color: ${({ theme }) => theme.palette.neutral[0]};\n border-top: 2px solid ${({ theme }) => theme.palette.primary[600]};\n color: ${({ theme }) => theme.palette.primary[600]};\n }\n`\n\nconst PriceItemText = styled.p`\n font-family: ${trispace.style.fontFamily};\n font-size: ${fonts.size.S};\n`\n\nexport default PriceToggle\n","import { useEffect, useState } from 'react'\n\nimport styled from 'styled-components'\n\nimport Hide from 'components/Hide'\nimport PriceBox from 'components/PriceBoxes/PriceBox'\nimport PriceToggle from 'components/PriceBoxes/PriceToggle'\nimport type { Price } from 'lib/pricing/types'\nimport type { StripeInterval } from 'types/stripeConsts'\n\nexport type PriceBoxesProps = {\n yearly: Price\n monthly: Price\n setSelectedPrice: ((price: Price) => void) | null\n selectedPriceInterval?: StripeInterval\n}\n\nconst PriceBoxes = ({\n yearly,\n monthly,\n setSelectedPrice,\n selectedPriceInterval = 'year',\n}: PriceBoxesProps) => {\n const [selected, setSelected] = useState(selectedPriceInterval)\n\n useEffect(() => {\n setSelectedPrice &&\n (selected === 'year' ? setSelectedPrice(yearly) : setSelectedPrice(monthly))\n }, [selected, setSelectedPrice, yearly, monthly])\n\n const setMonthly = () => {\n setSelected('month')\n setSelectedPrice && setSelectedPrice(monthly)\n }\n\n const setYearly = () => {\n setSelected('year')\n setSelectedPrice && setSelectedPrice(yearly)\n }\n\n const MonthlyBox = () => (\n \n )\n\n const YearlyBox = () => (\n \n )\n\n return (\n \n {/* Small screens - show toggle*/}\n \n \n \n {selected === 'year' && }\n {selected === 'month' && }\n \n \n\n {/* Large screens */}\n \n \n \n \n \n \n \n )\n}\n\nconst Container = styled.div`\n width: 100%;\n`\n\nconst SmallScreenContainer = styled.div`\n padding-bottom: 1rem;\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 1rem;\n flex-grow: 1;\n`\n\nconst LargeScreenContainer = styled.div`\n display: flex;\n flex-direction: row;\n gap: 1rem;\n padding-bottom: 2rem;\n width: 100%;\n`\n\nexport default PriceBoxes\n","import PriceBoxes from 'components/PriceBoxes/PriceBoxes'\n\nexport default PriceBoxes\n","import {useLayoutEffect as $dxlwH$useLayoutEffect} from \"react\";\n\n\n/**\n * On the server, React emits a warning when calling `useLayoutEffect`.\n * This is because neither `useLayoutEffect` nor `useEffect` run on the server.\n * We use this safe version which suppresses the warning by replacing it with a noop on the server.\n *\n * See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect\n */ const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? $dxlwH$useLayoutEffect : ()=>{};\n\n\n\n\nexport {$9f79659886946c16$export$e5c5a5f917a5871c as useLayoutEffect};\n//# sourceMappingURL=index.mjs.map\n","import * as $2AODx$react from \"react\";\nimport {useLayoutEffect as $2AODx$useLayoutEffect} from \"@radix-ui/react-use-layout-effect\";\n\n\n\nconst $1746a345f3d73bb7$var$useReactId = $2AODx$react['useId'.toString()] || (()=>undefined\n);\nlet $1746a345f3d73bb7$var$count = 0;\nfunction $1746a345f3d73bb7$export$f680877a34711e37(deterministicId) {\n const [id, setId] = $2AODx$react.useState($1746a345f3d73bb7$var$useReactId()); // React versions older than 18 will have client-side ids only.\n $2AODx$useLayoutEffect(()=>{\n if (!deterministicId) setId((reactId)=>reactId !== null && reactId !== void 0 ? reactId : String($1746a345f3d73bb7$var$count++)\n );\n }, [\n deterministicId\n ]);\n return deterministicId || (id ? `radix-${id}` : '');\n}\n\n\n\n\nexport {$1746a345f3d73bb7$export$f680877a34711e37 as useId};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Container","styled","Set","theme","param","palette","neutral","$isClickable","$isSelected","concat","primary","elevation","DiscountBadgeContainer","div","withConfig","DiscountBadge","accent","fontSize","XS","trispace","style","fontFamily","zIndex","layer01","PlanText","HighlightText","XXL","fontWeights","extraBold","FeatureText","p","PriceText","XXXXL","MonthlyText","S","bold","FooterSection","SubText","PriceBoxes_PriceBox","price","variant","onClick","isSelected","isAnnual","priceProps","amount","currency","currencySymbol","hideCurrencyInfo","stripeDiscountPct","promotionApplied","discountPct","stripeDiscountAmount","discountAmount","discount","discountText","getDiscountText","pricePerMonthText","createPriceString","convertToMonth","subText","jsx_runtime","jsx","Fragment","trialDays","jsxs","br","interval","data-cy","Box","display","flexDirection","alignItems","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","extends_extends","$b3bbe2732c13b576$export$bea8ebba691c5813","react","forwardRef","props","forwardedRef","pressed","pressedProp","defaultPressed","onPressedChange","buttonProps","setPressed","react_use_controllable_state_dist","T","prop","onChange","defaultProp","createElement","react_primitive_dist","WV","button","type","disabled","undefined","ref","primitive_dist","M","$6c1fd9e6a8969628$var$TOGGLE_GROUP_NAME","$6c1fd9e6a8969628$var$createToggleGroupContext","$6c1fd9e6a8969628$export$d1c7c4bcd9f26dd4","dist","b","react_roving_focus_dist","Pc","$6c1fd9e6a8969628$var$useRovingFocusGroupScope","$6c1fd9e6a8969628$export$af3ec21f6cfb5e30","toggleGroupProps","$6c1fd9e6a8969628$var$ToggleGroupImplSingle","$6c1fd9e6a8969628$var$ToggleGroupImplMultiple","$6c1fd9e6a8969628$var$ToggleGroupValueProvider","$6c1fd9e6a8969628$var$useToggleGroupValueContext","value","valueProp","defaultValue","onValueChange","toggleGroupSingleProps","setValue","scope","__scopeToggleGroup","onItemActivate","onItemDeactivate","useCallback","$6c1fd9e6a8969628$var$ToggleGroupImpl","toggleGroupMultipleProps","value1","handleButtonActivate","prevValue","itemValue","handleButtonDeactivate","filter","$6c1fd9e6a8969628$var$ToggleGroupContext","$6c1fd9e6a8969628$var$useToggleGroupContext","rovingFocus","orientation","dir","loop","rovingFocusGroupScope","direction","react_direction_dist","gm","commonProps","role","fC","asChild","$6c1fd9e6a8969628$var$ITEM_NAME","$6c1fd9e6a8969628$export$b453109e13abe10b","valueContext","context","includes","useRef","ck","focusable","active","$6c1fd9e6a8969628$var$ToggleGroupItemImpl","itemProps","singleProps","typeProps","Toggle","Root","PriceItem","Item","PriceItemText","fonts","size","PriceBoxes_PriceToggle","setPrice","selectedPrice","aria-label","SmallScreenContainer","LargeScreenContainer","components_PriceBoxes","yearly","monthly","setSelectedPrice","selectedPriceInterval","selected","setSelected","useState","useEffect","setMonthly","setYearly","MonthlyBox","PriceBox","YearlyBox","Hide","on","PriceToggle","$9f79659886946c16$export$e5c5a5f917a5871c","Boolean","globalThis","document","useLayoutEffect","$1746a345f3d73bb7$var$useReactId","react_namespaceObject","toString","$1746a345f3d73bb7$var$count","$1746a345f3d73bb7$export$f680877a34711e37","deterministicId","id","setId","reactId","String"],"sourceRoot":""}