{"version":3,"sources":["webpack:///./app/javascript/ui/bend/themes/scales/fonts.js","webpack:///./app/javascript/ui/bend/themes/scales/fontSizes.js","webpack:///./app/javascript/ui/bend/themes/scales/fontWeights.js","webpack:///./app/javascript/ui/bend/themes/scales/letterSpacings.js","webpack:///./app/javascript/ui/bend/themes/scales/mediaQueries.js","webpack:///./app/javascript/ui/bend/themes/scales/spacing.js","webpack:///./app/javascript/ui/bend/elements/Box.js","webpack:///./app/javascript/ui/bend/blocks/Accordion/Accordion.js","webpack:///./app/javascript/ui/bend/blocks/Accordion/AccordionItem.js","webpack:///./app/javascript/ui/bend/blocks/Accordion/index.js","webpack:///./app/javascript/ui/bend/blocks/Carousel/ArrowButton.js","webpack:///./app/javascript/ui/bend/blocks/Carousel/PaginationBullets.js","webpack:///./app/javascript/ui/bend/blocks/FAQ/FAQItem.js","webpack:///./app/javascript/ui/bend/blocks/FAQ/FAQ.js","webpack:///./app/javascript/ui/bend/blocks/FAQ/index.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/Input.js","webpack:///./app/javascript/ui/bend/blocks/Dropdown.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/Select.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/FormikSelect.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/Combobox.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/FastInputText.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/FormStep.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/InputText.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/RadioButton.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/RangeSlider.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/Sections/MembershipForm/PromoCodeInput.js","webpack:///./app/javascript/ui/bend/blocks/MembershipPlanPicker/MembershipPlan.js","webpack:///./app/javascript/ui/bend/blocks/MembershipPlanPicker/MembershipPlanPicker.js","webpack:///./app/javascript/ui/bend/blocks/MembershipPlanPicker/index.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/SubscriptionDisclaimer.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/Sections/MembershipForm/MembershipForm.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/Sections/MembershipForm/index.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/Sections/SignUpForm/FullSection.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/Sections/SignUpForm/SignUpForm.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/Sections/SignUpForm/index.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/Switch.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/DateTimePicker.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/DropDown.js","webpack:///./app/javascript/ui/bend/blocks/Loading.js","webpack:///./app/javascript/ui/bend/blocks/Marquee.js","webpack:///./app/javascript/ui/bend/blocks/PlayButton.js","webpack:///./app/javascript/ui/bend/themes/GlobalStyle.js","webpack:///./app/javascript/ui/bend/themes/constants/index.js","webpack:///./app/javascript/ui/bend/themes/constants/grid.js","webpack:///./app/javascript/ui/bend/themes/baseTheme.js","webpack:///./app/javascript/ui/bend/themes/LightTheme.js","webpack:///./app/javascript/ui/bend/themes/NewLightTheme.js","webpack:///./app/javascript/ui/bend/themes/DarkTheme.js","webpack:///./app/javascript/ui/bend/blocks/SplitView.js","webpack:///./app/javascript/ui/bend/blocks/Tabs/TabHeader.js","webpack:///./app/javascript/ui/bend/blocks/Tabs/Tabs.js","webpack:///./app/javascript/ui/bend/blocks/Tabs/Tab.js","webpack:///./app/javascript/ui/bend/animations/Spinner.js","webpack:///./app/javascript/ui/bend/themes/scales/breakpoints.js","webpack:///./app/javascript/ui/bend/typography/P.js","webpack:///./app/javascript/ui/bend/animations/Collapse.js","webpack:///./app/javascript/ui/bend/typography/CTA.js","webpack:///./app/javascript/ui/bend/elements/forms/Feedback.js","webpack:///./app/javascript/ui/bend/elements/HR.js","webpack:///./app/javascript/ui/bend/typography/H1.js","webpack:///./app/javascript/ui/bend/elements/Avatar.js","webpack:///./app/javascript/ui/bend/elements/Badge.js","webpack:///./app/javascript/ui/bend/elements/Button.js","webpack:///./app/javascript/ui/bend/elements/CheckCircle.js","webpack:///./app/javascript/ui/bend/elements/SVGImage.js","webpack:///./app/javascript/ui/bend/elements/StyledButtonBase.js","webpack:///./app/javascript/ui/bend/elements/CloseButton.js","webpack:///./app/javascript/ui/bend/elements/Flex.js","webpack:///./app/javascript/ui/bend/elements/Grid.js","webpack:///./app/javascript/ui/bend/elements/GridContainer.js","webpack:///./app/javascript/ui/bend/elements/GridItem.js","webpack:///./app/javascript/ui/bend/elements/Image.js","webpack:///./app/javascript/ui/bend/elements/Link.js","webpack:///./app/javascript/ui/bend/elements/MainContainer.js","webpack:///./app/javascript/ui/bend/elements/PillButton.js","webpack:///./app/javascript/ui/bend/elements/ProgressBar.js","webpack:///./app/javascript/ui/bend/elements/CircularProgressBar.js","webpack:///./app/javascript/ui/bend/themes/scales/componentHeights.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/MultiStepForm.js","webpack:///./app/javascript/ui/bend/themes/scales/colors.js","webpack:///./app/javascript/ui/bend/typography/Tag.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/Checkbox.js","webpack:///./app/javascript/ui/bend/blocks/FormElements/FormikCheckbox.js","webpack:///./app/javascript/ui/bend/blocks/ToastContainer.js","webpack:///./app/javascript/ui/bend/typography/Blockquote.js","webpack:///./app/javascript/ui/bend/typography/Display.js","webpack:///./app/javascript/ui/bend/typography/H2.js","webpack:///./app/javascript/ui/bend/typography/H3.js","webpack:///./app/javascript/ui/bend/typography/H4.js","webpack:///./app/javascript/ui/bend/typography/H5.js","webpack:///./app/javascript/ui/bend/typography/H6.js","webpack:///./app/javascript/ui/bend/typography/Caption.js","webpack:///./app/javascript/ui/bend/typography/Subtitle.js","webpack:///./app/javascript/ui/bend/typography/Text.js","webpack:///./app/javascript/ui/bend/animations/Chevron.js","webpack:///./app/javascript/ui/bend/animations/DownloadFile.js"],"names":["Arquitecta","Proxima","regular","bold","semibold","heavy","black","tiny","small","concat","breakpoints","medium","large","spacing","huge","condensed","Box","styled","withConfig","displayName","componentId","compose","background","border","color","layout","position","space","system","cursor","AccordionContext","React","createContext","Accordion","_ref","defaultSelected","children","props","_objectWithoutProperties","_excluded","_useState2","_slicedToArray","useState","selected","setSelected","createElement","Provider","value","handleSelect","id","prevSelected","HR","my","AccordionItem","title","rest","_useAccordionContext","useContext","isSelected","Fragment","Flex","Object","assign","flexDirection","justifyContent","alignItems","onClick","onKeyPress","tabIndex","role","P","variant","margin","pr","maxWidth","Chevron","direction","active","Collapse","isOpened","style","paddingTop","SafeAccordionItem","ErrorBoundary","Container","theme","colors","base","show","fill","css","ArrowButton","_ref2","_ref2$show","_ref2$direction","_ref2$fill","_ref2$condensed","Arrow","Bullet","isActive","primary","grey3","PaginationBullets","activeIndex","goToSlide","_ref$maxBullets","maxBullets","slides","justifySelf","map","slide","index","key","FAQItem","body","width","height","className","py","dangerouslySetInnerHTML","FAQ","faqItems","item","Label","_objectSpread","pStyles","left","top","px","grey5","transition","opacity","disabled","grey6","fontSize","BaseInput","textAlign","borderWidth","borderStyle","borderColor","grey4","borderRadius","outline","errorDefault","grey2","Input","forwardRef","ref","label","onFocus","onBlur","noFocus","feedback","containerProps","labelProps","error","customError","focused","useRef","length","Boolean","placeholder","floating","setFloating","useEffect","current","htmlFor","name","e","Feedback","DropdownMenu","rgb","transitionSpeed","state","DropdownItem","grey1","white","DropdownButton","visible","undefined","DropdownInlineContext","pointerEvents","showError","divider","DropdownSpinner","Spinner","Dropdown","open","Transition","in","timeout","appear","as","VOID_SELECTED","Select","items","setValue","onMenuBlur","loading","controlProps","selectedItem","find","onSelectedItemChange","changes","_useSelect","useSelect","initialSelectedItem","itemToString","onStateChange","type","isOpen","stateChangeTypes","MenuBlur","MenuKeyDownEscape","ToggleButtonClick","getToggleButtonProps","getLabelProps","getMenuProps","highlightedIndex","getItemProps","flex","FormikSelect","_useField2","useField","_useField2$","touched","_useField2$2","setTouched","handleSetValue","_regeneratorRuntime","mark","_callee","wrap","_context","prev","next","stop","_x","apply","arguments","Combobox","controlledInputValue","inputValue","setInputValue","canCreateNewItem","setFocused","onInputValueChange","requery","useCombobox","InputChange","_useCombobox","getInputProps","getComboboxProps","FastInputText","FastField","field","meta","FormStep","goBack","_useMultiStepForm","useMultiStepForm","stepNumber","goToStep","_useFormikContext","useFormikContext","values","formikObject","_excluded2","completed","H6","CheckCircle","mr","mx","InputText","helper","hasError","includes","RadioButtonContainer","mb","RadioButtonInput","backgroundColor","RadioButtonLabel","pl","content","display","RadioButton","SliderContainer","Slider","SliderIndicator","SliderKnob","RangeSlider","_ref$min","min","_ref$max","max","onChange","preventDefault","onTouchStart","PillButton","UnstyledPillButton","zIndex","PromoCode","_useSubscribeContext","useSubscribeContext","actions","setFieldTouched","setFieldValue","submitted","setSubmitted","_useState4","appliedPromotion","setAppliedPromotion","membership","promoCode","promoPlan","plans","plan","couponApplies","comparisonDiscount","handlePromoCodeCheck","_asyncToGenerator","res","promotionalPlan","setPromoCode","sent","t0","finish","handleRemovePromoCode","_callee2","promoCodeInput","_context2","document","getElementById","focus","_x2","_ref4","readOnly","promoCodeSet","SVGImage","right","SVG","Checkmark","onRest","_ref3","isFullyClosed","Caption","pt","Details","Price","Text","fontFamily","lineHeight","fontWeight","MembershipPlan","isAnOffer","inputProps","isMwe","planTitle","frequency","checked","selectPlan","target","textTransform","Badge","featured","ml","description","recurringPrice","regularPrice","equivalentMonthlyPrice","MembershipPlanPicker","fieldName","selectedPlan","selectedPlanError","mt","pb","SubscriptionDisclaimer","_ref$cta","cta","disclaimer","_ref$hideTerms","hideTerms","_ref$isSignupScreen","isSignupScreen","_ref$hideSignInDiscli","hideSignInDisclimer","Disclaimer","reactivate","actionText","Wrapper","SafeSubscriptionDisclaimer","MembershipForm","showPromoCode","showRedemptionCode","code","isSubmitting","labelText","showPlans","PromoCodeInput","autoComplete","Button","processing","NameSection","marginRight","FullSection","_ref$redirectBack","redirectBack","setShowSignInModal","_ref$showTerms","showTerms","hasInteracted","setHasInteracted","handleInputFocus","sign_up_initiated_event","signInPath","encodeURIComponent","window","location","pathname","href","MarketingDislaimer","consent_marketing_email","SignUpForm","user","useUserContext","firstName","lastName","SwitchContainer","Switch","getNumDays","year","month","Date","getDate","reducer","action","formattedDate","time","getFullYear","getMonth","payload","getHours","getMinutes","getTime","input","toLocaleTimeString","hour","minute","hour12","split","match","_wrapRegExp","hours","minutes","exec","_match$groups","groups","Number","setHours","setMinutes","console","log","DateTimePicker","_useReducer2","useReducer","now","_useReducer2$","dispatch","toUTCString","yearOptions","useMemo","Array","from","_","i","date","setMonth","String","Grid","gridTemplateColumns","gridGap","toLocaleDateString","minWidth","DropdownContainer","div","DropdownHeader","DropdownText","DropdownIcon","DropdownOptions","ul","DropdownOption","li","_ref3$width","_ref3$height","setIsOpen","selectedOption","setSelectedOption","initialOption","uuid","option","Loading","ErrorComponent","LoadingComponent","renderPropComponent","defaultProps","MarqueeWrapper","marqueeAnimation","offset","containerWidth","keyframes","MarqueeIpse","scrolledOnce","playing","duration","Marquee","_ref$animationSpeed","animationSpeed","callback","_ref$callbackTimeout","callbackTimeout","_ref$width","timeoutRef","childWidth","setChildWidth","setDuration","_useState6","shouldPlay","setShouldPlay","_useState8","setPlaying","_useState10","setScrolledOnce","handleMouseOver","handleAnimationEnd","offsetWidth","addEventListener","removeEventListener","setTimeout","clearTimeout","onMouseEnter","onMouseLeave","PlayButton","bg","padding","Play","GlobalStyle","createGlobalStyle","VideoCSS","grid","templateColumns","columnGap","baseTheme","componentHeights","constants","fonts","fontSizes","fontWeights","letterSpacings","mediaQueries","baseColors","smoke","mercury","alto","dawn","chicago","mine","grey7","charcoal","errorBase","errorLight","success","LightTheme","SplitView","invertMobile","_useTheme","useTheme","MainContainer","GridItem","gridColumn","gridRow","overflowY","heights","navbar","desktop","SafeSplitView","TabTitle","CTA","TabHeader","handleKeyDown","last","setActiveTab","onKeyDown","Store","TabHeaderContainer","underlineStyle","Tabs","_ref$duration","delegated","bodyDuration","Math","floor","_useState","startingTab","_step","_iterator","_createForOfIteratorHelper","Children","toArray","s","n","done","child","err","f","findFirstActiveTab","activeTab","setUnderlineStyle","headerRef","tabsRef","arr","_step2","seenValues","_iterator2","isUnique","Error","getNextAvailableTab","currentTab","nodes","node","push","indexOf","nextNode","element","event","nextActiveChild","selectActiveTab","container","_i2","_Object$keys","keys","getBoundingClientRect","handleResize","_child$props","headerColor","count","SafeTabs","TabContent","transitionState","Tab","mountOnEnter","unmountOnExit","_useTabContext","onEnter","SpinnerKeyframes","attrs","formattedBreakpoints","point","defaultValues","variants","default","CollapseContainer","_ref$Container","onWork","UnmountClosed","letterSpacing","responsive","wordBreak","H1","thin","Avatar","Tag","solid","solidBlack","solidWhite","dim","featuredSolid","variantPropTypes","PropTypes","oneOf","propTypes","oneOfType","arrayOf","StyledButton","flexbox","minHeight","ctaValues","whiteSpace","ghost","alert","ouline","_ref$variant","Check","SVGContainer","property","scale","stroke","_ref$display","inline","SafeSVGImage","StyledButtonBase","CloseButton","X","GridContainer","gridColumnGap","Image","objectFit","StyledLink","Link","RightChevron","bodyValues","transform","_defineProperty","ProgressBar","CircularProgressBar","progress","_ref$strokeWidth","strokeWidth","_ref$size","size","center","radius","circumference","PI","cx","cy","r","strokeDasharray","strokeDashoffset","x","y","viewBox","xmlns","d","mobile","progressBar","mobileMenuMax","modalMax","MultiStepForm","_ref$firstStep","firstStep","onComplete","onFailComponent","initialValues","validators","setStepNumber","showFailComponent","setShowFailComponent","steps","currentStep","isLastStep","handleSubmit","onSubmit","handleError","currentValidation","resolveValidators","path","reduce","curr","isArray","Formik","validationSchema","Yup","shape","status","Form","SafeMultiStepForm","light","dark","highlight","accent","CheckboxInput","CheckboxContainer","Checkbox","FormikCheckbox","ToastContainer","UnstyledToastContainer","closeButton","autoClose","hideProgressBar","Slide","closeOnClick","draggablePercent","Blockquote","Display","H2","H3","H4","H5","Subtitle","alternative","typography","ChevronBase","shouldFor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E,WAAC,CAADC,YAAA,OAAAC,YAAA,eAAXH,CACXI,YAAQspB,IAAS2G,KACjB1vB,YAAO,CACL8U,eAAe,EACfoU,YAAY,EACZpB,WAAW,KAIf7T,EAAK2J,aAAe,CAClBxT,GAAI,QAGS6J,K,0MCnBT0b,EAActwB,YAAO0D,KAASzD,WAAW,CAC7CswB,kBAAmB,SAACC,GAAI,OAAM,CAAC,UAAUrgB,SAASqgB,EAAK,IACvDvwB,WAAA,CAAAC,YAAA,uBAAAC,YAAA,eAFkBH,CAElB,gGAEa,SAACoB,GACZ,OAAQA,EAAMuC,WACZ,IAAK,KACH,OAAOvC,EAAMwC,OAAS,GAAK,iBAC7B,IAAK,OACH,OAAOxC,EAAMwC,OAAS,iBAAmB,GAC3C,IAAK,OACH,OAAOxC,EAAMwC,OAAS,iBAAmB,gBAC3C,IAAK,QACH,OAAOxC,EAAMwC,OAAS,gBAAkB,iBAE9C,IACQ,SAACxC,GAAK,OACZA,EAAMoD,KACFpD,EAAMoD,KACNpD,EAAMwC,OACNxC,EAAMqvB,YACJrvB,EAAMgD,MAAMC,OAAOC,KACnBlD,EAAMgD,MAAMC,OAAOc,QACrB/D,EAAMqvB,YACNrvB,EAAMgD,MAAMC,OAAOC,KACnBlD,EAAMgD,MAAMC,OAAO2C,KAAK,GAC5BxG,IACAE,KAGJ4vB,EAAY/R,aAAe,CACzBpY,OAAQ,OACRD,MAAO,QAGMoqB,QCrCUtwB,YAAO0wB,KAAazwB,WAAC,CAADC,YAAA,iCAAAC,YAAA,eAApBH,EAAqB,SAACoB,GAAK,MAAM,CACxDoD,KAAMpD,EAAMgD,MAAMC,OAAOc,QAC1B,G","file":"js/ui-bend-3ee40a3338386f22083c.chunk.js","sourcesContent":["export default {\n Arquitecta: 'Arquitecta, Helvetica, Arial, sans-serif',\n Proxima: 'Proxima-Nova, Helvetica, Arial, sans-serif'\n}\n","export default [\n '13px',\n '14px',\n '16px',\n '17px',\n '18px',\n '19px',\n '21px',\n '24px',\n '29px',\n '37px',\n '50px',\n '71px'\n]\n","// These align with the @font-family settings in app/assets/stylesheets/application.css.scss\n\nexport default {\n regular: 300,\n bold: 500,\n semibold: 600,\n heavy: 600,\n black: 700\n}\n","export default ['normal', '0.05em', '0.07em', '0.08em']\n","import { formattedBreakpoints as breakpoints } from './breakpoints'\n\nexport default {\n tiny: '@media only screen and (max-width: 360px)',\n small: `@media screen and (min-width: ${breakpoints[0]})`,\n medium: `@media screen and (min-width: ${breakpoints[1]})`,\n large: `@media screen and (min-width: ${breakpoints[2]})`\n}\n","const spacing = {\n huge: ['128px', null, '152px', '192px'],\n large: ['80px', null, '96px', '128px'],\n medium: ['64px', null, '72px', '96px'],\n small: ['40px', null, '48px', '64px'],\n condensed: ['32px', null, '40px', '48px'],\n tiny: ['16px', null, '20px', '24px']\n}\n\nexport default spacing\n","import styled from 'styled-components'\nimport {\n background,\n border,\n color,\n compose,\n layout,\n position,\n space,\n system\n} from 'styled-system'\n\nconst Box = styled('div')(\n compose(background, border, color, layout, position, space),\n system({\n cursor: true\n })\n)\n\nexport default Box\n","import React, { useState, useContext } from 'react'\n\nimport { HR, Box } from 'ui/bend/elements'\n\nconst AccordionContext = React.createContext(null)\n\nexport const useAccordionContext = () => useContext(AccordionContext)\n\nconst Accordion = ({ defaultSelected, children, ...props }) => {\n const [selected, setSelected] = useState(defaultSelected)\n\n const handleSelect = (id) => {\n setSelected((prevSelected) => (prevSelected !== id ? id : null))\n }\n\n return (\n \n \n
\n {children}\n
\n
\n )\n}\n\nexport default Accordion\n","import React, { Fragment } from 'react'\nimport PropTypes from 'prop-types'\n\nimport { Collapse } from 'ui/bend/animations'\nimport { Flex } from 'ui/bend/elements'\nimport { P } from 'ui/bend/typography'\n\nimport { Chevron } from 'ui/bend/animations'\nimport { HR } from 'ui/bend/elements'\nimport { useAccordionContext } from './Accordion'\nimport { ErrorBoundary } from 'helpers'\n\nconst AccordionItem = ({ title, id, children, ...rest }) => {\n const { selected, handleSelect } = useAccordionContext()\n\n const isSelected = selected === id\n\n return (\n \n handleSelect(id)}\n onKeyPress={() => handleSelect(id)}\n cursor='pointer'\n aria-expanded={isSelected}\n tabIndex='0'\n role='button'\n {...rest}\n >\n

\n {title}\n

\n \n \n \n
\n {children}\n
\n {/* We use padding here because the margin on HR makes the AccordionItem jump on close */}\n
\n
\n
\n
\n )\n}\n\nconst SafeAccordionItem = (props) => {\n return (\n \n \n \n )\n}\n\nSafeAccordionItem.propTypes = {\n title: PropTypes.string.isRequired,\n id: PropTypes.string.isRequired\n}\n\nexport default SafeAccordionItem\n","import Accordion from './Accordion'\n\nexport { default as AccordionItem } from './AccordionItem'\n\nexport default Accordion\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\nimport { css } from '@styled-system/css'\n\nimport { Arrow } from 'images/bend'\n\nconst Container = styled('button')`\n justify-content: center;\n align-items: center;\n background-color: ${(props) => props.theme.colors.base};\n cursor: pointer;\n border-width: 0px;\n border-radius: 100%;\n padding: ${(props) => (props.condensed ? '10px' : '14px')};\n visibility: ${(props) => (props.show ? 'visible' : 'hidden')};\n opacity: ${(props) => (props.show ? '1' : '0')};\n transition: opacity 0.3s, visibility 0.3s ease-in-out;\n box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.06),\n 0px 8px 16px rgba(35, 41, 54, 0.08);\n\n & svg {\n transform: ${(props) => {\n switch (props.direction) {\n case 'up': {\n return 'rotate(-90deg)'\n }\n case 'down': {\n return 'rotate(90deg)'\n }\n case 'left': {\n return 'rotate(180deg)'\n }\n case 'right':\n default: {\n // default case for arrow.svg\n return ''\n }\n }\n }};\n /* Pass fill prop down to svg and utilize styled system scale */\n ${({ fill }) =>\n css({\n fill\n })}\n }\n`\n\nconst ArrowButton = ({\n onClick,\n show = true,\n direction = 'right',\n fill = 'primary',\n condensed = false,\n ...rest\n}) => {\n return (\n \n \n \n )\n}\n\nArrowButton.propTypes = {\n direction: PropTypes.string,\n condensed: PropTypes.bool,\n fill: PropTypes.string,\n onClick: PropTypes.func,\n show: PropTypes.bool\n}\n\nexport default ArrowButton\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\n\nimport { Flex } from 'ui/bend/elements'\n\nconst Bullet = styled(Flex)`\n height: 16px;\n width: 16px;\n padding: 4px;\n cursor: pointer;\n &:after {\n content: '';\n background-color: ${(props) =>\n props.isActive ? props.theme.colors.primary : props.theme.colors.grey3};\n height: 100%;\n width: 100%;\n border-radius: 100px;\n transition: background-color 0.3s ease-in-out;\n }\n`\n\nconst PaginationBullets = ({\n activeIndex,\n goToSlide,\n maxBullets = 5,\n slides,\n ...rest\n}) => {\n return (\n \n {slides.map((slide, index) => {\n if (index < maxBullets) {\n return (\n goToSlide(index)}\n isActive={activeIndex === index}\n />\n )\n }\n })}\n \n )\n}\n\nPaginationBullets.propTypes = {\n activeIndex: PropTypes.number.isRequired,\n goToSlide: PropTypes.func.isRequired,\n maxBullets: PropTypes.number,\n slides: PropTypes.array.isRequired\n}\n\nexport default PaginationBullets\n","import React, { Fragment } from 'react'\nimport PropTypes from 'prop-types'\n\nimport { Collapse } from 'ui/bend/animations'\nimport { Flex } from 'ui/bend/elements'\nimport { P } from 'ui/bend/typography'\n\nimport { Chevron } from 'ui/acro/animations'\nimport { HR } from 'ui/acro/elements'\n\nconst FAQItem = ({ title, body, selected, handleSelect, index }) => (\n \n handleSelect(index)}\n onKeyPress={() => handleSelect(index)}\n cursor='pointer'\n aria-controls={`faq-item-${index}`}\n aria-expanded={selected}\n tabIndex='0'\n >\n

\n {title}\n

\n \n \n \n \n \n
\n
\n)\n\nFAQItem.propTypes = {\n title: PropTypes.string.isRequired,\n body: PropTypes.object.isRequired,\n selected: PropTypes.bool.isRequired,\n handleSelect: PropTypes.func.isRequired,\n index: PropTypes.number.isRequired\n}\n\nexport default FAQItem\n","import React, { Fragment, useState } from 'react'\nimport PropTypes from 'prop-types'\n\nimport FAQItem from './FAQItem'\n\nimport { HR } from 'ui/acro/elements'\n\nconst FAQ = ({ faqItems }) => {\n const [selected, setSelected] = useState(null)\n\n const handleSelect = (index) => {\n if (selected !== index) {\n setSelected(index)\n } else {\n setSelected(null)\n }\n }\n\n return (\n \n
\n {faqItems.map((item, index) => (\n \n ))}\n
\n )\n}\n\nFAQ.propTypes = {\n faqItems: PropTypes.array\n}\n\nexport default FAQ\n","import FAQ from './FAQ'\n\nexport default FAQ\n","import React, { useEffect, useRef, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\nimport { system } from 'styled-system'\nimport { css } from '@styled-system/css'\n\nimport { Box, Feedback } from 'ui/bend/elements'\nimport { Collapse } from 'ui/bend/animations'\nimport { defaultValues as pStyles } from 'ui/bend/typography/P'\n\nexport const Container = styled(Box)`\n position: relative;\n margin-top: 16px;\n flex-grow: 1;\n`\n\nexport const Label = styled('label')((props) =>\n css({\n ...pStyles,\n position: 'absolute',\n left: '9px',\n top: '15px',\n px: '8px',\n cursor: 'text',\n color: props.theme.colors.grey5,\n transition: 'all .15s ease',\n\n '&.floating': {\n opacity: props.disabled ? '0' : '',\n background: props.theme.colors.base,\n color: props.theme.colors.grey6,\n fontSize: 1,\n top: '-9px'\n }\n })\n)\n\nexport const BaseInput = styled('input')`\n ${system({\n textAlign: true\n })}\n ${(props) =>\n css({\n ...pStyles,\n width: '100%',\n color: props.theme.colors.primary,\n background: props.theme.colors.base,\n borderWidth: '1px',\n borderStyle: 'solid',\n borderColor: props.theme.colors.grey4,\n borderRadius: 0, // needed to override native iOS styling\n py: '13px',\n px: '16px',\n '-webkit-appearance': 'none', // needed to override native iOS styling\n\n '&:focus': {\n borderColor: props.theme.colors.primary,\n outline: '0'\n },\n\n '&.error': {\n borderColor: props.theme.colors.errorDefault\n },\n\n '&:disabled': {\n borderColor: props.theme.colors.grey4,\n background: props.theme.colors.grey2\n }\n })}\n`\n\nconst Input = React.forwardRef(\n (\n {\n label,\n value,\n onFocus,\n onBlur,\n noFocus,\n feedback,\n children,\n containerProps,\n labelProps,\n error,\n customError,\n ...props\n },\n ref\n ) => {\n // Track whether input currently has focus.\n const focused = useRef(false)\n const [floating, setFloating] = useState(\n (value && value.length > 0) ||\n typeof value === 'number' ||\n Boolean(props.placeholder)\n ) // if there are prefilled values, then set floating to true.\n\n // Used in case the value is set outside of the current component, so neither the onBlur nor\n // the onFocus events would be fired.\n useEffect(() => {\n // A user can delete the current value but remain focused on the field.\n setFloating(\n (value && value.length > 0) ||\n typeof value === 'number' ||\n focused.current\n )\n }, [value])\n\n const handleFocus = (e) => {\n if (!noFocus) {\n if (onFocus && typeof onFocus === 'function') onFocus(e)\n focused.current = true\n setFloating(true)\n }\n }\n\n const handleBlur = (e) => {\n if (!noFocus) {\n if (onBlur && typeof onBlur === 'function') onBlur(e)\n if (typeof value !== 'number' && !value && !props.placeholder) {\n setFloating(false)\n }\n focused.current = false\n }\n }\n\n return (\n \n \n {label}\n \n \n \n {!!error && (\n \n {customError && typeof customError === 'function'\n ? customError(error)\n : error}\n \n )}\n \n \n {!error && feedback && {feedback}}\n \n {children}\n \n )\n }\n)\n\nInput.displayName = 'Input'\n\nInput.propTypes = {\n label: PropTypes.string,\n feedback: PropTypes.string,\n error: PropTypes.string,\n noFocus: PropTypes.bool,\n children: PropTypes.node\n}\n\nexport default Input\n","import React, { forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\nimport { system } from 'styled-system'\nimport { Transition } from 'react-transition-group'\n\nimport { Box } from 'ui/bend/elements'\nimport { Spinner } from 'ui/bend/animations'\nimport { P } from '../typography'\n\nexport const DropdownMenu = styled(Box)`\n background: ${(props) => props.theme.colors.base};\n border-radius: 4px;\n border-left: 1px solid ${(props) => props.theme.colors.grey4};\n border-right: 1px solid ${(props) => props.theme.colors.grey4};\n border-bottom: 1px solid ${(props) => props.theme.colors.grey4};\n box-shadow: 0px 2px rgba(${(props) => props.theme.colors.rgb.primary}, 0.24),\n 0px 0px 2px rgba(${(props) => props.theme.colors.rgb.primary}, 0.12);\n max-height: 275px;\n width: 100%;\n position: absolute;\n top: 75px;\n z-index: 10;\n transition: opacity ${(props) => props.transitionSpeed}ms ease-in-out;\n opacity: ${(props) =>\n props.state === 'entering' || props.state === 'entered' ? 1 : 0};\n visibility: ${(props) => (props.state === 'exited' ? 'hidden' : 'visible')};\n overflow-y: auto;\n`\n\nexport const DropdownItem = styled(P)`\n height: 50px;\n padding-top: 13px;\n padding-left: 16px;\n padding-right: 16px;\n width: 100%;\n cursor: pointer;\n background-color: ${(props) =>\n props.selected ? props.theme.colors.grey1 : props.theme.colors.white};\n`\n\nexport const DropdownButton = styled(Box)`\n padding-left: 8px;\n display: ${(props) => (props.visible ? undefined : 'none')};\n`\n\nexport const DropdownInlineContext = styled(Box)`\n ${system({\n pointerEvents: true\n })}\n position: absolute;\n top: ${(props) => (props.showError ? '17%' : '28%')};\n right: 13px;\n box-shadow: ${(props) =>\n props.divider\n ? `-1px 0px 0px 0px ${\n props.focused ? props.theme.colors.primary : props.theme.colors.grey4\n }`\n : ``};\n width: 1.5em;\n`\n\nexport const DropdownSpinner = styled(Spinner)`\n height: 24px;\n margin-left: 8px;\n`\n\n// Handles the animation necessary for the dropdown\n// menu and items within the Select and Combobox components\nconst Dropdown = forwardRef(({ open, children, ...props }, ref) => {\n return (\n \n \n {(state) => (\n \n {children}\n \n )}\n \n \n )\n})\n\nDropdown.displayName = 'Dropdown'\n\nDropdown.propTypes = {\n open: PropTypes.bool.isRequired,\n children: PropTypes.node\n}\n\nexport default Dropdown\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport { useSelect } from 'downshift'\n\nimport { Flex } from 'ui/bend/elements'\nimport { Chevron } from 'ui/bend/animations'\n\nimport Input from './Input'\nimport Dropdown, {\n DropdownItem,\n DropdownInlineContext,\n DropdownSpinner\n} from '../Dropdown'\n\nconst VOID_SELECTED = { value: '', label: '' }\n/**\n * The `` component, you just need to supply it with an array of objects that have a `value`\n * property.\n *\n * Example usage:\n * `'s input.\n *\n * @param {array} items The list of items to render as options for the dropdown menu\n * @param {object} [value] The controlled value for the input (omitting it will default to \"uncontrolled\" behavior). Must be an existing object within items (or null)\n * @param {function} [setValue] The function that's used to control the value of the input (only required when providing `value`).\n * @param {boolean} [showError] Used to render the error message if one is present.\n * @param {string} [error] The error message to display.\n * @param {boolean} [disabled] Disable and style Select component.\n * @param {boolean} [loading] Displays a loading indicator when things are still loading.\n */\nconst Select = ({\n items,\n value,\n setValue,\n onMenuBlur,\n showError,\n error,\n disabled,\n loading,\n ...props\n}) => {\n // Handles the switch to controlled behavior, for when\n // the caller wants to control the input's value (which is useful for Formik integration)\n const controlProps = {}\n if (setValue) {\n controlProps.selectedItem =\n items.find((item) => item.value === value) || VOID_SELECTED\n controlProps.onSelectedItemChange = (changes) =>\n setValue(changes.selectedItem.value)\n }\n\n const {\n isOpen,\n selectedItem,\n getToggleButtonProps,\n getLabelProps,\n getMenuProps,\n highlightedIndex,\n getItemProps\n } = useSelect({\n items,\n initialSelectedItem: VOID_SELECTED,\n itemToString: (item) => item.label,\n onStateChange: ({ type, isOpen }) => {\n if (onMenuBlur && typeof onMenuBlur === 'function') {\n // We need to defer formik validation until the menu is closed, rather than when the itself is selected.\n // Therefore, we let any consumer know when the menu blurs.\n if (\n type === useSelect.stateChangeTypes.MenuBlur ||\n type === useSelect.stateChangeTypes.MenuKeyDownEscape ||\n (type === useSelect.stateChangeTypes.ToggleButtonClick && !isOpen)\n ) {\n onMenuBlur()\n }\n }\n },\n ...controlProps\n })\n\n return (\n \n \n \n {loading ? (\n \n ) : (\n \n )}\n \n \n 0} {...getMenuProps()}>\n {items.map((item, index) => (\n \n {item.label || item.value}\n \n ))}\n \n \n )\n}\n\nSelect.propTypes = {\n items: PropTypes.arrayOf(\n PropTypes.shape({\n value: PropTypes.any.isRequired,\n label: PropTypes.string.isRequired\n })\n ).isRequired,\n value: PropTypes.any,\n setValue: PropTypes.func,\n onMenuBlur: PropTypes.func,\n showError: PropTypes.bool,\n error: PropTypes.node,\n label: PropTypes.node,\n disabled: PropTypes.bool,\n loading: PropTypes.bool\n}\n\nexport default Select\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport { useField } from 'formik'\n\nimport Select from './Select'\n\nconst FormikSelect = ({ name, items, label, disabled }) => {\n const [{ value }, { error, touched }, { setValue, setTouched }] = useField(\n name\n )\n\n const showError = Boolean(touched && error)\n\n const handleSetValue = async (value) => {\n // When a user sets an item, we need to manually setTouched, in order to show any potential errors.\n await setValue(value)\n setTouched(true)\n }\n\n const onMenuBlur = () => {\n // This is for when a user opens the dropdown but doesn't select an item.\n setTouched(true)\n }\n\n return (\n \n )\n}\n\nFormikSelect.propTypes = {\n name: PropTypes.string.isRequired,\n items: PropTypes.array.isRequired,\n label: PropTypes.string.isRequired,\n disabled: PropTypes.bool\n}\n\nexport default FormikSelect\n","import React, { useState } from 'react'\nimport PropTypes from 'prop-types'\nimport { useCombobox } from 'downshift'\n\nimport { Flex } from 'ui/bend/elements'\nimport { Chevron } from 'ui/bend/animations'\n\nimport Input from './Input'\nimport Dropdown, {\n DropdownItem,\n DropdownButton,\n DropdownInlineContext,\n DropdownSpinner\n} from '../Dropdown'\n\n/**\n * The `` component (also known as a type-ahead select)\n * is used to provide an interface for end-users to type into an input and be given a dropdown selection\n * of options to choose from.\n *\n * To use the `` component, you just need to supply it with an array of objects that have a `value`\n * and `label` property. You'll also need to implement the search functionality of the Combobox on your own\n * (this is because this component has been primarily used in combination with an api that has fuzzy search\n * implemented).\n *\n *\n * Example usage:\n * \n *\n * Since it is very common to use this Combobox with a backend API and Formik, we've also created a hook\n * that can handle a lot of the business logic associated with this feature (please see `useComboboxSearchWithFormik`\n * for more details).\n *\n * Notes about usage:\n * - The default behavior for this component is \"uncontrolled\", but you can pass in a `value` and `setValue`\n * if you'd like to control the ``'s input.\n *\n * @param {array} items The list of items to render as options for the dropdown menu\n * @param {string} [value] The controlled value for the input (omitting it will default to \"uncontrolled\" behavior). Note: the value that gets set here will be the label, rather than the actual value. This is because the label is what gets displayed to the user inside of the input element itself, since the value can sometimes be something that is non-human readable (such as a uuid).\n * @param {function} [setValue] The function that's used to control the value of the input (only required when providing `value`).\n * @param {boolean} [showError] Used to render the error message if one is present.\n * @param {string} [error] The error message to display.\n * @param {boolean} [loading] Displays the loading indicator for the dropdown button\n * @param {function} [onBlur] a callback function that fires after the user has unfocused from the input\n * @param {boolean} [canCreateNewItem] allows the caller to specify that the end-user can create a new item within the form field.\n */\nconst Combobox = ({\n items,\n value,\n inputValue: controlledInputValue,\n setInputValue,\n setValue,\n showError,\n error,\n loading,\n onBlur,\n canCreateNewItem,\n ...props\n}) => {\n const [focused, setFocused] = useState(false)\n\n // Handles the switch to controlled behavior, for when\n // the caller wants to control the input's value (which is useful for Formik integration)\n const controlProps = {}\n if (setValue) {\n controlProps.inputValue = controlledInputValue || ''\n controlProps.onInputValueChange = (changes) => {\n // Only requery if we are changing the input itself.\n const requery = changes.type === useCombobox.stateChangeTypes.InputChange\n setInputValue(changes.inputValue, requery)\n // Always sets the value in formik if the canCreateNewItem prop is passed in,\n // since whatever value they're now passing is valid\n if (canCreateNewItem) setValue(changes.inputValue)\n }\n controlProps.onSelectedItemChange = (changes) =>\n setValue(changes.selectedItem.value)\n }\n\n const {\n isOpen,\n inputValue,\n getToggleButtonProps,\n getLabelProps,\n getMenuProps,\n getInputProps,\n getComboboxProps,\n highlightedIndex,\n getItemProps\n } = useCombobox({\n items,\n itemToString: (item) => (item ? item.label : ''),\n ...controlProps\n })\n\n return (\n \n {\n setFocused(true)\n },\n onBlur: (e) => {\n if (onBlur) onBlur(e)\n setFocused(false)\n }\n })}\n value={inputValue}\n labelProps={getLabelProps()}\n >\n \n {loading ? (\n \n ) : (\n 0}\n >\n \n \n )}\n \n \n 0}\n {...getMenuProps()}\n >\n {items.map((item, index) => (\n \n {item.label}\n \n ))}\n \n \n )\n}\n\nCombobox.propTypes = {\n items: PropTypes.arrayOf(\n PropTypes.shape({\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number])\n .isRequired,\n label: PropTypes.string.isRequired\n })\n ).isRequired,\n value: PropTypes.string,\n setValue: PropTypes.func,\n showError: PropTypes.bool,\n error: PropTypes.node,\n loading: PropTypes.bool,\n onBlur: PropTypes.func,\n canCreateNewItem: PropTypes.bool\n}\n\nexport default Combobox\n","import React from 'react'\nimport { FastField } from 'formik'\n\nimport Input from './Input'\n\n/**\n * This component leverages Formik's ``, which reduces rerenders.\n * Only use this component when a form begins to slow down.\n * See all relevant caveats in Formik's docs: https://formik.org/docs/api/fastfield\n */\nconst FastInputText = (props) => (\n \n {({ field, meta }) => }\n \n)\n\nexport default FastInputText\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\n\nimport { Collapse } from 'ui/bend/animations'\nimport { CheckCircle, Box } from 'ui/bend/elements'\nimport { H6 } from 'ui/bend/typography'\nimport { useMultiStepForm } from './MultiStepForm'\nimport { useFormikContext } from 'formik'\n\nconst Container = styled(Box)({\n position: 'relative',\n height: 'auto'\n // transition: 'height 0.25s ease-in-out'\n})\n\nconst FormStep = ({ title, children, goBack, index, ...rest }) => {\n const { stepNumber, goToStep } = useMultiStepForm()\n const { values, ...formikObject } = useFormikContext()\n const completed = stepNumber > index\n const active = stepNumber === index\n const clickable = completed && goBack\n\n const onClick = () => {\n if (completed && goBack) {\n if (typeof goBack === 'function') {\n goBack(values, formikObject)\n }\n goToStep(index)\n }\n }\n\n const cursor = clickable ? 'pointer' : 'inherit'\n\n return (\n \n \n \n {title}\n \n \n {children}\n \n \n )\n}\n\nFormStep.propTypes = {\n children: PropTypes.node,\n completed: PropTypes.bool,\n handleClick: PropTypes.oneOfType([PropTypes.func, PropTypes.bool]),\n submitOnce: PropTypes.bool,\n title: PropTypes.string.isRequired,\n index: PropTypes.number.isRequired\n}\n\nexport default FormStep\n","import React, { useRef, useState, useEffect } from 'react'\nimport PropTypes from 'prop-types'\nimport { useField, useFormikContext } from 'formik'\n\nimport { Feedback } from 'ui/bend/elements'\nimport { Collapse } from 'ui/bend/animations'\nimport { Container, Label, BaseInput as Input } from './Input'\n\n// TODO: Refactor this to use the Input component directly\nconst InputText = React.forwardRef(\n (\n {\n label,\n feedback,\n children,\n containerProps,\n labelProps,\n customError,\n placeholder,\n noFocus,\n ...props\n },\n ref\n ) => {\n // Track whether input currently has focus.\n const focused = useRef(false)\n\n const [field, meta, helper] = useField(props)\n const formikObject = useFormikContext()\n // if there are prefilled values (or a placeholder present), then set floating to true.\n const [floating, setFloating] = useState(\n (field.value && field.value.length > 0) ||\n typeof field.value === 'number' ||\n Boolean(props.placeholder)\n )\n\n // Used in case the value is set outside of the current component, so neither the onBlur nor\n // the onFocus events would be fired.\n useEffect(() => {\n // A user can delete the current value but remain focused on the field.\n setFloating(\n (field.value && field.value.length > 0) ||\n typeof field.value === 'number' ||\n focused.current\n )\n }, [field.value])\n\n const hasError = meta.touched && meta.error\n\n const handleFocus = (e) => {\n if (!noFocus) {\n if (props.onFocus && typeof props.onFocus === 'function')\n props.onFocus(e, helper, formikObject)\n focused.current = true\n setFloating(true)\n }\n }\n\n const handleBlur = (e) => {\n if (!noFocus) {\n if (props.onBlur && typeof props.onBlur === 'function') {\n props.onBlur(e, helper, formikObject)\n } else {\n field.onBlur(e)\n }\n\n if (\n typeof field.value !== 'number' &&\n !field.value &&\n !props.placeholder\n ) {\n setFloating(false)\n }\n focused.current = false\n }\n }\n\n return (\n \n \n {label}\n \n \n \n {hasError && (\n \n {customError && typeof customError === 'function'\n ? customError(meta.error)\n : meta.error}\n \n )}\n \n \n {!hasError && feedback && {feedback}}\n \n\n {children}\n \n )\n }\n)\n\nInputText.displayName = 'InputText'\n\nInputText.propTypes = {\n label: PropTypes.string,\n feedback: PropTypes.string,\n children: PropTypes.node,\n noFocus: PropTypes.bool\n}\n\nexport default InputText\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\nimport { css } from '@styled-system/css'\n\nimport { Flex } from 'ui/bend/elements'\n\nexport const RadioButtonContainer = styled(Flex)(\n css({\n mb: '16px'\n })\n)\n\nexport const RadioButtonInput = styled('input')(\n css({\n cursor: 'pointer',\n position: 'absolute',\n opacity: 0,\n\n '&:hover + label::before': {\n borderColor: 'primary'\n },\n\n '&:checked + label::before': {\n borderWidth: '2px',\n borderColor: 'primary'\n },\n\n '&:checked + label::after': {\n backgroundColor: 'primary'\n },\n '&:disabled + label': {\n cursor: 'default'\n },\n\n '&:disabled + label::before': {\n backgroundColor: 'grey2',\n borderColor: 'grey2'\n },\n\n '&:disabled + label::after': {\n backgroundColor: 'grey2'\n }\n })\n)\n\nexport const RadioButtonLabel = styled('label')(\n css({\n cursor: 'pointer',\n pl: '32px',\n position: 'relative',\n width: '100%',\n\n '&::before': {\n content: \"''\",\n position: 'absolute',\n display: 'inline-block',\n left: '0px',\n width: '20px',\n height: '20px',\n borderRadius: '50%',\n borderWidth: '1px',\n borderStyle: 'solid',\n borderColor: 'grey5'\n },\n\n '&::after': {\n content: \"''\",\n position: 'absolute',\n display: 'inline-block',\n left: '4px',\n top: '4px',\n width: '12px',\n height: '12px',\n borderRadius: '50%'\n }\n })\n)\n\nconst RadioButton = ({ children, containerProps, ...props }) => {\n return (\n \n \n\n {children}\n \n )\n}\n\nRadioButton.propTypes = {\n id: PropTypes.string.isRequired,\n children: PropTypes.node.isRequired\n}\n\nexport default RadioButton\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\n\n/**\n * RangeSlider creates an component.\n * Because each browser creates sliders in a unique way, and because Chrome doesn't allow direct styling of the progress portion, we have to create two sliders and bind their values together.\n * For additional information, see: https://stackoverflow.com/questions/43771735/style-input-range-background-before-thumb\n */\n\nconst SliderContainer = styled('div')`\n position: relative;\n width: 100%;\n height: 16px; /* tied to the height of our SliderKnob */\n display: ${(props) => props.display || 'inline-flex'};\n`\n\n// The base Slider component removes all browser formatting.\n\nconst Slider = styled('input')`\n -webkit-appearance: none;\n width: 100%;\n background: transparent;\n position: absolute;\n top: 0;\n left: 0;\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n }\n\n &::-webkit-slider-runnable-track {\n width: 100%;\n }\n\n &::-moz-range-thumb {\n appearance: none;\n }\n`\n\n// SliderIndicator component colors both the background track and the amount already selected (via a box-shadow trick for Chrome & Safari, and direct targeting for Mozilla)\nconst SliderIndicator = styled(Slider)`\n pointer-events: none;\n\n &::-webkit-slider-runnable-track {\n background: ${(props) => props.theme.colors.grey2};\n overflow: hidden;\n height: 2px;\n margin-top: 4px;\n }\n\n &::-webkit-slider-thumb {\n background: transparent;\n height: 1px;\n width: 1px;\n box-shadow: -7680px 0 0 7680px ${(props) => props.theme.colors.primary}; /* This supports range slider widths up to 8k monitor */\n }\n\n &::-moz-range-progress {\n background-color: ${(props) => props.theme.colors.primary};\n height: 2px;\n }\n\n &::-moz-range-track {\n background-color: ${(props) => props.theme.colors.grey2};\n height: 2px;\n }\n`\nconst SliderKnob = styled(Slider)`\n cursor: pointer;\n\n &::-webkit-slider-runnable-track {\n background: transparent;\n }\n\n &::-webkit-slider-thumb {\n height: 16px;\n width: 16px;\n border-radius: 50%;\n background: ${(props) => props.theme.colors.primary};\n margin-top: -2px; /* bump the slider knob up to center it accurately. */\n }\n\n &::-moz-range-thumb {\n height: 16px;\n width: 16px;\n border-radius: 50%;\n border: 0px;\n background: ${(props) => props.theme.colors.primary};\n margin-top: -2px; /* bump the slider knob up to center it accurately. */\n }\n`\n\nconst RangeSlider = ({\n label,\n id,\n min = 0,\n max = 100,\n onChange,\n value,\n ...rest\n}) => (\n \n e.preventDefault()}\n onTouchStart={(e) => e.preventDefault()}\n tabIndex={-1}\n aria-label={label}\n />\n \n \n)\n\nRangeSlider.propTypes = {\n label: PropTypes.string.isRequired,\n min: PropTypes.number,\n max: PropTypes.number,\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,\n id: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired\n}\n\nexport default RangeSlider\n","import React, { Fragment, useEffect, useState } from 'react'\nimport styled from 'styled-components'\nimport { useFormikContext, useField } from 'formik'\n\nimport { useSubscribeContext } from 'context'\n\nimport { Collapse } from 'ui/bend/animations'\nimport {\n Box,\n PillButton as UnstyledPillButton,\n SVGImage\n} from 'ui/bend/elements'\nimport { Caption } from 'ui/bend/typography'\nimport { Checkmark } from 'images/bend'\nimport InputText from '../../InputText'\n\nconst PillButton = styled(UnstyledPillButton)((props) => ({\n opacity: props.active ? '1' : '0',\n zIndex: props.active ? 10 : -10, // hide behind input until we want it displayed. Remember, display: can't animate!\n transition: 'opacity 0.25s ease-in-out'\n}))\n\nconst PromoCode = () => {\n const { actions, state } = useSubscribeContext()\n const { values, setFieldTouched, setFieldValue } = useFormikContext()\n const [{ value }, meta, { setValue }] = useField('promoCode')\n\n // TODO: remove-candy-check fix submitted/error wobbly display for promo codes.\n const [submitted, setSubmitted] = useState(false)\n const [appliedPromotion, setAppliedPromotion] = useState(null)\n\n useEffect(() => {\n // If the user has a promoCode already set, update appliedPromotion accordingly.\n // This is necessary to display promoCode copy if the user moves on from the MembershipForm and then comes back to it.\n if (state.membership.promoCode) {\n const promoPlan = state.membership.plans.find(\n (plan) => plan.couponApplies\n )\n if (promoPlan) {\n setAppliedPromotion(promoPlan.comparisonDiscount)\n }\n }\n }, [])\n\n const handlePromoCodeCheck = async (e) => {\n e.preventDefault()\n if (value !== state.membership.promoCode) {\n try {\n const res = await actions.membership.setPromoCode(value)\n if (res) {\n // Set the promoCodeSet field value if promoCode exists.\n setFieldValue('promoCodeSet', true)\n // get the applied promotion and display it.\n // We do not want to use the comparison discount in state.membership.selectedPlan because state updates asynchronously and is not tied to values.promoCode set.\n const promotionalPlan = res.find((plan) => plan.couponApplies)\n if (promotionalPlan && promotionalPlan.comparisonDiscount) {\n setAppliedPromotion(promotionalPlan.comparisonDiscount)\n }\n }\n } catch (error) {\n // Clear out promoCodeSet if call to actions.membership.setPromoCode() errors out (e.g. invalid promo code requested)\n setFieldValue('promoCodeSet', false)\n // we only touch the promoCode field if we need to display an error.\n setFieldTouched('promoCode')\n setAppliedPromotion(false)\n } finally {\n setSubmitted(true)\n }\n }\n }\n\n const handleRemovePromoCode = async (e) => {\n e.preventDefault()\n await actions.membership.setPromoCode()\n setFieldValue('promoCodeSet', false)\n setFieldTouched('promoCode', false)\n const promoCodeInput = document.getElementById('promoCode')\n if (promoCodeInput) promoCodeInput.focus()\n }\n\n const handleFinishRemovePromoCode = ({ isFullyClosed }) => {\n // We run this callback when Collapse finishes, so that the appliedPromotion stays visible throughout the collapse transition.\n if (isFullyClosed) {\n setAppliedPromotion(null)\n setSubmitted(false)\n setValue('')\n }\n }\n\n return (\n \n \n {\n if (!submitted) return\n setTouched({ promoCode: true })\n }}\n readOnly={values.promoCodeSet}\n />\n {state.membership.promoCode ? (\n \n ) : (\n \n Apply\n \n )}\n \n\n \n \n Success! You're saving {appliedPromotion}\n \n  Clear\n \n \n \n \n )\n}\n\nexport default PromoCode\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\nimport { css } from '@styled-system/css'\nimport { useField } from 'formik'\n\nimport { useSubscribeContext } from 'context'\n\nimport { Badge } from 'ui/bend/elements'\nimport { Caption, P } from 'ui/bend/typography'\nimport Text from 'ui/bend/typography/Text'\n\nimport RadioButton, {\n RadioButtonContainer,\n RadioButtonLabel,\n RadioButtonInput\n} from '../FormElements/RadioButton'\n\nconst Details = styled(P)`\n color: ${(props) => props.theme.colors.grey6};\n\n ${RadioButtonContainer}:hover & {\n color: ${(props) => props.theme.colors.primary};\n }\n\n ${RadioButtonInput}:checked + ${RadioButtonLabel} & {\n color: ${(props) => props.theme.colors.primary};\n font-weight: 600;\n }\n\n ${RadioButtonInput}:disabled + ${RadioButtonLabel} & {\n color: ${(props) => props.theme.colors.grey4};\n }\n`\n\nconst Price = styled(Text)(\n css({\n fontSize: 5,\n fontFamily: 'Proxima',\n lineHeight: '135%',\n fontWeight: '600'\n })\n)\n\nconst MembershipPlan = ({ plan, ...props }) => {\n const { isAnOffer } = props\n const { state, actions } = useSubscribeContext()\n\n const id = `membership_plan_${plan.id}`\n const inputProps = {\n id: id,\n value: plan.id,\n ...props\n }\n const [field] = useField({ ...inputProps, type: 'radio' })\n const { isMwe } = state?.membership\n\n const planTitle = () => {\n switch (plan.frequency) {\n case 'yearly':\n return 'annually'\n default:\n return plan.frequency\n }\n }\n\n const handleSelect = (e) => {\n if (!field.checked) {\n actions.membership.selectPlan(e.target.value)\n field.onChange(e)\n }\n }\n\n return (\n \n
\n {planTitle()}\n {!isAnOffer && plan.comparisonDiscount && (\n \n Save {plan.comparisonDiscount}\n \n )}\n
\n\n \n {plan.description}\n \n\n
\n {isMwe ? (\n <>\n ${plan.recurringPrice} /{' '}\n {plan.frequency === 'monthly' ? 'month' : 'year'}{' '}\n \n reg ${plan.regularPrice} /{' '}\n {plan.frequency === 'monthly' ? 'month' : 'year'}\n \n \n ) : (\n <>\n ${plan.equivalentMonthlyPrice} / month\n {plan.frequency !== 'monthly' && ` billed ${planTitle()}`}\n \n )}\n
\n \n )\n}\n\nMembershipPlan.propTypes = {\n plan: PropTypes.shape({\n id: PropTypes.string.isRequired,\n frequency: PropTypes.string.isRequired,\n comparisonMonthlyPrice: PropTypes.string,\n comparisonDiscount: PropTypes.string,\n equivalentMonthlyPrice: PropTypes.string.isRequired,\n featured: PropTypes.bool.isRequired,\n trialEndDate: PropTypes.string,\n rolloverEndDate: PropTypes.string,\n couponApplies: PropTypes.bool,\n description: PropTypes.string.isRequired\n }).isRequired\n}\n\nexport default MembershipPlan\n","import React, { useEffect, Fragment } from 'react'\nimport { useFormikContext } from 'formik'\n\nimport { useSubscribeContext } from 'context'\nimport { ErrorBoundary } from 'helpers'\n\nimport HR from 'ui/bend/elements/HR'\nimport Feedback from 'ui/bend/elements/forms/Feedback'\nimport Collapse from 'ui/bend/animations/Collapse'\n\nimport MembershipPlan from './MembershipPlan'\n\nconst MembershipPlanPicker = () => {\n const fieldName = 'selectedPlan'\n const { state } = useSubscribeContext()\n const { values, setFieldValue } = useFormikContext()\n\n useEffect(() => {\n // Keep formik state and Subscribe state synced.\n if (\n state.membership.selectedPlan &&\n values.selectedPlan !== state.membership.selectedPlan.id\n ) {\n setFieldValue(fieldName, state.membership.selectedPlan.id)\n }\n }, [state.membership.selectedPlan, values.selectedPlan])\n\n return (\n \n
\n {state.membership.plans &&\n state.membership.plans.map((plan, index) => (\n \n \n {index < state.membership.plans.length - 1 && (\n
\n )}\n
\n ))}\n \n \n {state.membership.selectedPlanError}\n \n \n
\n
\n )\n}\n\nconst SafeMembershipPlanPicker = () => (\n \n \n \n)\n\nexport default SafeMembershipPlanPicker\n","import MembershipPlanPicker from './MembershipPlanPicker'\n\nexport default MembershipPlanPicker\n","import React, { Fragment } from 'react'\n\nimport { ErrorBoundary } from 'helpers'\nimport { Caption } from 'ui/bend/typography'\nimport Disclaimer from 'ui/acro/blocks/Disclaimers/Disclaimer'\n\nconst SubscriptionDisclaimer = ({\n cta = 'Start Trial',\n disclaimer,\n hideTerms=false,\n isSignupScreen=true,\n hideSignInDisclimer=false,\n ...rest\n}) => {\n return (\n \n \n {disclaimer && {disclaimer} }\n {!hideTerms && }\n \n \n )\n}\n\nconst SafeSubscriptionDisclaimer = (props) => (\n \n \n \n)\n\nexport default SafeSubscriptionDisclaimer\n","import React, { Fragment } from 'react'\nimport PropTypes from 'prop-types'\nimport { useFormikContext } from 'formik'\nimport { useSubscribeContext } from 'context'\nimport { ErrorBoundary } from 'helpers'\n\nimport { Button } from 'ui/bend/elements'\n\nimport PromoCodeInput from './PromoCodeInput'\nimport MembershipPlanPicker from '../../../MembershipPlanPicker'\nimport SubscriptionDisclaimer from '../../SubscriptionDisclaimer'\nimport InputText from '../../InputText'\n\nconst MembershipForm = ({\n cta,\n disclaimer,\n showPromoCode,\n showRedemptionCode,\n code,\n hideTerms=false\n}) => {\n const { state } = useSubscribeContext()\n const { isSubmitting } = useFormikContext()\n\n const labelText = code ? '' : 'Redemption Code'\n const showPlans = state.membership && state.membership.plans.length > 1\n\n return (\n \n {showPromoCode && }\n {showRedemptionCode && (\n \n )}\n {showPlans && }\n \n \n {cta}\n \n \n )\n}\n\nMembershipForm.propTypes = {\n cta: PropTypes.string.isRequired\n}\n\nconst SafeMembershipForm = (props) => (\n \n \n \n)\n\nexport default SafeMembershipForm\n","import MembershipForm from './MembershipForm'\n\nexport default MembershipForm\n","import React, { Fragment, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\nimport { useFormikContext } from 'formik'\n\nimport { sign_up_initiated_event } from 'gtm/pushEvents'\n\nimport { Button, Flex } from 'ui/bend/elements'\nimport SubscriptionDisclaimer from 'ui/bend/blocks/FormElements/SubscriptionDisclaimer'\n\nimport { Caption } from 'ui/bend/typography'\nimport InputText from '../../InputText'\nimport MarketingDislaimer from 'ui/chandra/blocks/disclaimers/marketingDislaimer'\nimport { values } from 'regenerator-runtime'\n\nconst NameSection = styled(Flex)({\n '& >:first-child': {\n marginRight: '16px'\n }\n})\n\nconst CheckBoxWrapper = styled(Flex)`\n display: flex;\n align-items: center;\n text-align: unset;\n margin-bottom: ${(props) => props.mb || 0};\n margin-top: ${(props) => props.mt || 0};\n`\n\nconst FullSection = ({\n cta = 'Create Account',\n redirectBack = false,\n setShowSignInModal,\n showTerms=false,\n hideSignInDisclimer=false\n}) => {\n const [hasInteracted, setHasInteracted] = useState(false)\n\n const handleInputFocus = () => {\n if (!hasInteracted) {\n // User has interacted for the first time\n sign_up_initiated_event('email')\n setHasInteracted(true)\n }\n }\n\n function handleClickSignInError(event, href) {\n event.preventDefault()\n if (typeof setShowSignInModal === 'function') {\n setShowSignInModal(true) // if showSignInModal is present call it\n } else {\n window.location.href = href // if not follow href\n }\n }\n const { isSubmitting } = useFormikContext()\n let signInPath = '/signin'\n\n if (redirectBack) {\n signInPath += '?redirect=' + encodeURIComponent(window.location.pathname)\n }\n\n return (\n \n \n handleInputFocus()}\n />\n handleInputFocus()}\n />\n \n handleInputFocus()}\n customError={(error) => {\n if (error.includes('has already been taken')) {\n return (\n \n It looks like you already signed up. \n handleClickSignInError(e, signInPath)}\n href={signInPath}\n color='primary'\n id='sign_in_1'\n >\n Sign in\n \n  to your account.\n \n )\n } else {\n return error\n }\n }}\n />\n handleInputFocus()}\n customError={(error) => {\n if (error.includes('length_error')) {\n return (\n \n Your password must be at least 6 characters long.\n \n )\n } else {\n return error\n }\n }}\n />\n \n \n \n {cta}\n \n \n )\n}\n\nFullSection.propTypes = {\n cta: PropTypes.string,\n redirectBack: PropTypes.bool\n}\n\nexport default FullSection\n","import React, { Fragment } from 'react'\nimport PropTypes from 'prop-types'\n\nimport { useUserContext } from 'context'\nimport { ErrorBoundary } from 'helpers'\n\nimport { P } from 'ui/bend/typography'\nimport FullSection from './FullSection'\n\n// TODO: refactor so SignUpForm can dynamically render Full or Partial sections.\n\nconst SignUpForm = ({ cta, redirectBack, setShowSignInModal, showTerms=false, hideSignInDisclimer=false }) => {\n const { user } = useUserContext()\n\n return (\n \n {user ? (\n

\n Connected with {user.firstName} {user.lastName}\n

\n ) : (\n \n )}\n
\n )\n}\n\nSignUpForm.propTypes = {\n cta: PropTypes.string.isRequired,\n redirectBack: PropTypes.bool\n}\n\nconst SafeSignUpForm = (props) => (\n \n \n \n)\n\nexport default SafeSignUpForm\n","import SignUpForm from './SignUpForm'\n\nexport default SignUpForm\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\n\nconst Slider = styled('span')`\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n transition: 0.4s;\n background: ${(props) => props.theme.colors.grey4};\n border-radius: 24px !important; // TODO: React refactor - important here for legacy pages.\n\n &:before {\n position: absolute;\n content: '';\n height: 20px;\n width: 20px;\n border-radius: 50%;\n left: 2px;\n top: 2px;\n background-color: ${(props) => props.theme.colors.base};\n transition: 0.4s;\n }\n`\n\nconst SwitchContainer = styled('label')`\n position: relative;\n display: inline-block;\n height: 24px;\n width: 40px;\n\n /* hide default input */\n input {\n opacity: 0;\n width: 0;\n height: 0;\n }\n\n input:checked + ${Slider} {\n background-color: ${(props) => props.theme.colors.primary};\n }\n\n input:checked + ${Slider}:before {\n transform: translateX(16px);\n }\n`\n\nconst Switch = ({ label, ...props }) => {\n return (\n \n \n \n \n )\n}\n\nSwitch.propTypes = {\n label: PropTypes.string.isRequired\n}\n\nexport default Switch\n","import React, { useEffect, useMemo, useReducer } from 'react'\n\nimport { Box, Grid, Flex } from 'ui/bend/elements'\nimport { P } from 'ui/bend/typography'\n\nimport Select from './Select'\nimport Input from './Input'\n\nconst getNumDays = (year, month) => new Date(year, month + 1, 0).getDate()\n\nconst reducer = (state, action) => {\n const formattedDate = new Date(state.time)\n\n switch (action.type) {\n case 'changeDay': {\n return {\n ...state,\n time: new Date(\n formattedDate.getFullYear(),\n formattedDate.getMonth(),\n action.payload,\n formattedDate.getHours(),\n formattedDate.getMinutes()\n ).getTime()\n }\n }\n case 'changeMonth': {\n return {\n ...state,\n time: new Date(\n formattedDate.getFullYear(),\n action.payload,\n formattedDate.getDate() <=\n getNumDays(formattedDate.getFullYear(), action.payload)\n ? formattedDate.getDate()\n : 1,\n formattedDate.getHours(),\n formattedDate.getMinutes()\n ).getTime()\n }\n }\n case 'changeYear': {\n return {\n ...state,\n time: new Date(\n action.payload,\n formattedDate.getMonth(),\n // Used to handle leap year reset\n formattedDate.getDate() <=\n getNumDays(action.payload, formattedDate.getMonth())\n ? formattedDate.getDate()\n : 1,\n formattedDate.getHours(),\n formattedDate.getMinutes()\n ).getTime()\n }\n }\n case 'focus': {\n return {\n ...state,\n focused: true,\n input: formattedDate\n .toLocaleTimeString('en-US', {\n hour: '2-digit',\n minute: '2-digit',\n hour12: true\n })\n .split(' ')[0]\n }\n }\n case 'blur': {\n const match = /((?1[0-2]|0?[1-9]):(?[0-5][0-9]))/.exec(\n state.input\n )\n\n if (match) {\n const { hours, minutes } = match.groups\n // Handle the case of the previous time being > 12 hours and not flip the meridian\n if (formattedDate.getHours() >= 12 && Number(hours) < 12) {\n formattedDate.setHours(Number(hours) + 12)\n } else {\n formattedDate.setHours(hours)\n }\n formattedDate.setMinutes(minutes)\n return {\n ...state,\n focused: false,\n time: formattedDate.getTime(),\n error: null\n }\n } else {\n return {\n ...state,\n focused: false,\n time: null,\n error:\n 'invalid date: make sure to specify a date within the following format: HH:MM, and make sure hours is less than (or equal to) 12 and minutes is less than 60.'\n }\n }\n }\n case 'changeTime': {\n console.log('changeTime')\n return { ...state, input: action.payload }\n }\n case 'changePeriod': {\n const hours = formattedDate.getHours()\n\n if (action.payload === 'AM') {\n formattedDate.setHours(hours >= 12 ? hours - 12 : hours)\n } else {\n formattedDate.setHours(hours < 12 ? hours + 12 : hours)\n }\n return { ...state, time: formattedDate.getTime() }\n }\n default:\n return state\n }\n}\n\nconst DateTimePicker = ({ value, setValue, error, children }) => {\n const [{ time, focused, input }, dispatch] = useReducer(reducer, {\n time: value ? new Date(value).getTime() : Date.now(),\n focused: false,\n input: (value ? new Date(value) : new Date())\n .toLocaleTimeString('en-US', {\n hour: '2-digit',\n minute: '2-digit',\n hour12: true\n })\n .split(' ')[0]\n })\n\n useEffect(() => {\n if (setValue && typeof setValue === 'function')\n setValue(new Date(time).toUTCString())\n // Don't add setValue to the deps array, as its reference isn't stable\n // and will trigger an infinite re-render here.\n }, [time])\n\n const formattedDate = new Date(time)\n\n const yearOptions = useMemo(() => {\n return Array.from({ length: 15 }, (_, i) => {\n var date = new Date()\n date.setMonth(date.getMonth() + 12 * (i - 3))\n\n return {\n value: date.getFullYear(),\n label: String(date.getFullYear())\n }\n })\n }, [])\n\n return (\n \n {/* \n using grid here because gap is really nice, and gaps with flexbox is \n still not widely supported :/ \n */}\n \n ({\n value: i,\n label: new Date(formattedDate.getFullYear(), i).toLocaleDateString(\n 'en-US',\n {\n month: 'long'\n }\n )\n }))}\n value={formattedDate.getMonth()}\n setValue={(value) =>\n dispatch({ type: 'changeMonth', payload: value })\n }\n />\n ({\n value: i + 1, // needs to be incremented by 1 since getDate is not zero-indexed\n label: String(i + 1)\n })\n )}\n value={formattedDate.getDate()}\n setValue={(value) => dispatch({ type: 'changeDay', payload: value })}\n />\n dispatch({ type: 'changeYear', payload: value })}\n />\n \n \n dispatch({ type: 'focus' })}\n onBlur={() => dispatch({ type: 'blur' })}\n onChange={(e) => {\n dispatch({ type: 'changeTime', payload: e.target.value })\n }}\n />\n \n \n dispatch({ type: 'changePeriod', payload: value })\n }\n items={[\n { value: 'AM', label: 'AM' },\n { value: 'PM', label: 'PM' }\n ]}\n />\n \n \n {error && (\n

\n {error}\n

\n )}\n
\n )\n}\n\nexport default DateTimePicker\n","import React, { useState, useEffect } from 'react'\nimport styled from 'styled-components'\n\nconst DropdownContainer = styled.div`\n position: relative;\n width: ${(props) => props.width};\n font-size: 16px;\n color: #000;\n`\n\nconst DropdownHeader = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 10px;\n border: 1px solid #ccc;\n cursor: pointer;\n color: #a3a3a3;\n height: ${(props) => props.height};\n gap: 6px;\n\n @media (max-width: 768px) {\n padding: 2px 16px;\n height: auto;\n border-radius: 360px;\n }\n`\n\nconst DropdownText = styled.div`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`\n\nconst DropdownIcon = styled.div`\n transition: transform 0.3s ease;\n\n @media (max-width: 768px) {\n font-size: 14px;\n }\n`\n\nconst DropdownOptions = styled.ul`\n position: absolute;\n top: 100%;\n left: 0;\n width: 100%;\n min-width: 170px;\n background-color: #fff;\n border: 1px solid #ccc;\n list-style-type: none;\n padding: 0;\n margin: 0;\n z-index: 1;\n display: ${({ isOpen }) => (isOpen ? 'block' : 'none')};\n max-height: 200px;\n overflow-y: auto;\n\n @media (max-width: 768px) {\n max-height: 150px;\n border: none;\n }\n`\n\nconst DropdownOption = styled.li`\n padding: 10px;\n cursor: pointer;\n font-weight: ${({ isActive }) => (isActive ? 'bold' : 'normal')};\n\n &:hover {\n background-color: #e6e6e6;\n font-weight: bold;\n }\n\n @media (max-width: 768px) {\n padding: 8px;\n font-size: 14px;\n }\n`\n\nconst Dropdown = ({\n items,\n value,\n onChange,\n width = '225px',\n height = '48px'\n}) => {\n const [isOpen, setIsOpen] = useState(false)\n const [selectedOption, setSelectedOption] = useState(null)\n\n // Set initial selected option based on the `value` prop\n useEffect(() => {\n const initialOption = items.find((item) => item.value === value)\n if (initialOption) {\n setSelectedOption(initialOption)\n }\n }, [value, items])\n\n const toggleDropdown = () => {\n setIsOpen(!isOpen)\n }\n\n const handleOptionClick = (option) => {\n setSelectedOption(option)\n setIsOpen(false)\n if (onChange) {\n onChange(option)\n }\n }\n\n return (\n \n \n \n {selectedOption ? selectedOption.label : 'Select an option'}\n \n \n \n \n {items.map((item) => (\n handleOptionClick(item)}\n isActive={selectedOption && selectedOption.uuid === item.uuid}\n >\n {item.label}\n \n ))}\n \n \n )\n}\n\nexport default Dropdown\n","import React, { Fragment } from 'react'\nimport PropTypes from 'prop-types'\n\nimport { P } from 'ui/bend/typography'\nimport renderPropComponent from 'helpers/renderPropComponent'\n\nconst Loading = ({\n children,\n loading,\n error,\n ErrorComponent,\n LoadingComponent\n}) => {\n return (\n \n {error && renderPropComponent(ErrorComponent)}\n {loading && renderPropComponent(LoadingComponent)}\n\n {!loading && !error && children}\n \n )\n}\n\nLoading.defaultProps = {\n LoadingComponent: <>,\n ErrorComponent: (\n

We apologize, but there has been an error getting this information

\n )\n}\n\nLoading.propTypes = {\n children: PropTypes.node,\n loading: PropTypes.bool,\n error: PropTypes.bool\n}\n\nexport default Loading\n","import React, { useEffect, useRef, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport styled, { keyframes } from 'styled-components'\n\nconst MarqueeWrapper = styled('div')`\n width: 100%;\n height: auto;\n overflow: hidden;\n`\n\nconst marqueeAnimation = (offset, containerWidth) => keyframes`\n 0% {\n transform: translateX(${containerWidth}px);\n visibility: visible;\n }\n 100% {\n transform: translateX(-${offset}px);\n }\n`\n\nconst MarqueeIpse = styled('div')`\n display: inline-block;\n animation-iteration-count: ${(props) =>\n props.scrolledOnce ? 'infinite' : '1'};\n animation-timing-function: linear;\n animation-play-state: ${(props) => (props.playing ? 'running' : 'paused')};\n /* The first animation begins with the marquee left-aligned with the wrapper container */\n animation-name: ${(props) =>\n props.scrolledOnce\n ? marqueeAnimation(props.offset, props.containerWidth)\n : marqueeAnimation(props.offset, 0)};\n animation-duration: ${(props) =>\n props.duration\n ? props.scrolledOnce\n ? `${props.duration + 3}s`\n : `${props.duration}s`\n : ''};\n animation-delay: ${(props) => (props.scrolledOnce ? '' : '1s')};\n\n &:hover {\n animation-play-state: paused;\n }\n`\n/**\n * Creates a marquee effect to scroll text left to right within an auto-sized container.\n * When a child is updated, it will reset the marquee animation.\n * Completion of the first marquee (i.e. first text disappearing animation) will fire an optionally provided callback\n *\n * @param {number} animationSpeed - The speed at which a pixel will move from right to left across the width of the marquee. Note this is NOT the total animation length, but rather the visible animation length.\n * @param {function} callback - Optional functional callback for when the first marquee child disappears.\n * @param {number} callbackTimeout - The delay for the marquee callback, used when we want to fire callbacks consistently regardless of marquee flowing or not.\n * @param {number} width - The width of the containing Marquee element\n * @param {node} children - child component\n */\nconst Marquee = ({\n animationSpeed = 3,\n callback,\n callbackTimeout = 4000,\n width = 0,\n children\n}) => {\n const ref = useRef()\n const timeoutRef = useRef()\n const [childWidth, setChildWidth] = useState()\n const [duration, setDuration] = useState()\n\n const [shouldPlay, setShouldPlay] = useState(false)\n const [playing, setPlaying] = useState(false)\n const [scrolledOnce, setScrolledOnce] = useState(false)\n\n const handleMouseOver = () => {\n if (shouldPlay) {\n // We only need to toggle playing if the marquee should scroll.\n // Otherwise, we can accidentally trigger a scroll when we don't intend to (e.g. child is too small to bother)\n setPlaying(!playing)\n }\n }\n\n /* Reset scroll state when a new child is rendered. */\n useEffect(() => {\n setScrolledOnce(false)\n }, [children])\n\n /* Determine width of child content and attach event listeners */\n useEffect(() => {\n const handleAnimationEnd = () => {\n if (callback && typeof callback === 'function') {\n callback()\n }\n setScrolledOnce(true)\n }\n\n if (ref.current && children) {\n setChildWidth(ref.current.offsetWidth)\n\n /* After the first animation is run trigger any callbacks and switch animation over to infinite scroll. */\n ref.current.addEventListener('animationend', handleAnimationEnd)\n }\n\n return () => {\n if (ref.current && children) {\n ref.current.removeEventListener('animationend', handleAnimationEnd)\n }\n }\n }, [ref, children])\n\n /* Once we know how large our container and scrolling child are, calculate how long it will take to scroll and begin animation */\n useEffect(() => {\n if (childWidth && width) {\n if (childWidth <= width) {\n setShouldPlay(false)\n if (callback && typeof callback === 'function') {\n // This will allow us to run a timed callback even if the marquee doesn't animate (e.g. song title is too short in MusicPlayerMarquee)\n // We might have to adjust this code to prevent an initial callback firing if we use in a different setting with a different purpose.\n timeoutRef.current = setTimeout(callback, callbackTimeout)\n }\n } else {\n setShouldPlay(true)\n // The logic behind this formula is that we want any child to take animationSpeed seconds to pass through one wrapperWidth.\n // Therefore, we take the length of our child element and subdivide it into n wrapperWidths. These wrapperWidths will each take animationSpeed time.\n const animationDuration = (childWidth / width) * animationSpeed\n setDuration(animationDuration)\n }\n }\n\n return () => {\n if (timeoutRef.current) {\n // Dispose of our timeout if it isn't needed anymore.\n // This is to prevent a bug where a stale timeout could dismiss a new child from the marquee if a user skips around on a video.\n clearTimeout(timeoutRef.current)\n }\n }\n }, [childWidth, width])\n\n /* Playing should always reflect shouldPlay state, unless handleMouseOver is called */\n useEffect(() => {\n setPlaying(shouldPlay)\n }, [shouldPlay])\n\n return (\n \n \n {children}\n \n \n )\n}\n\nMarquee.propTypes = {\n animationSpeed: PropTypes.number,\n callback: PropTypes.func,\n callbackTimeout: PropTypes.number,\n children: PropTypes.node.isRequired\n}\n\nexport default Marquee\n","import React from 'react'\n\nimport { Play } from 'images/bend'\nimport { Flex, SVGImage } from 'ui/bend/elements'\n\nconst PlayButton = (props) => {\n // TODO: Redeem-v2 : Get tablet sizing from Isaac.\n return (\n \n \n \n )\n}\n\nexport default PlayButton\n","import { createGlobalStyle } from 'styled-components'\nimport VideoCSS from 'video.js/dist/video-js.css'\n\n// -moz-osx-font-smoothing\n// Fixes Firefox bug where higher font-weights are rendered in bold.\n\n// #react-body\n// We expand the height of the react-rails react_component div to be at least 100vh so that the footer will be placed appropriately.\n// If we didn't do this then the react-rails container will only take up as much space as it 'needs', pulling the footer up.\n\nconst GlobalStyle = createGlobalStyle`\n *, *:before, *:after {\n box-sizing: border-box;\n }\n\n html {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-smoothing: antialiased;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n scroll-behavior: smooth; \n -webkit-scroll-behavior: smooth;\n -moz-scroll-behavior: smooth;\n -ms-scroll-behavior: smooth;\n }\n\n body {\n background-color: ${(props) => props.theme.colors.base};\n color: ${(props) => props.theme.colors.primary};\n transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;\n margin: 0;\n padding: 0;\n font-size: 16px;\n line-height: 16px;\n\n #react-body {\n position: relative;\n min-height: 100vh;\n }\n\n &.prevent-scroll {\n height: 100vh;\n overflow: hidden;\n touch-action: none;\n }\n\n &.using-mouse {\n *:focus {\n outline: none;\n }\n }\n }\n\n a, .as-link {\n &.underline {\n text-decoration: underline;\n }\n text-decoration: none;\n cursor: pointer;\n transition: color 0.25s ease-in-out;\n color: ${(props) => props.theme.colors.primary};\n \n &:focus {\n color: inherit;\n }\n }\n\n\n h1, h2, h3, h4, h5, h6, p {\n margin: 0;\n /* Chrome adds in margin-block-start and -end to h elements. */\n margin-block-start: unset;\n margin-block-end: unset;\n margin-inline-start: unset;\n margin-inline-end: unset;\n }\n\n label {\n margin-bottom: 0;\n }\n\n form {\n padding: 0;\n }\n\n input {\n padding: 0;\n }\n\n ::placeholder {\n color: ${(props) => props.theme.colors.grey4};\n opacity: 1;\n }\n\n img {\n vertical-align: middle;\n }\n\n ul {\n margin-block-end: 0px;\n\n &:not(.as-list) {\n margin-block-start: 0px;\n padding-inline-start: 0px;\n list-style-type: none;\n }\n }\n\n button,\n html input[type=\"button\"],\n input[type=\"reset\"],\n input[type=\"submit\"] {\n cursor: pointer;\n -webkit-appearance: button;\n }\n\n button[disabled],\n html input[disabled] {\n cursor: default;\n }\n\n .ReactCollapse--collapse {\n transition: height 500ms;\n }\n\n ${VideoCSS}\n`\nexport default GlobalStyle\n","import grid from './grid'\n\nexport default {\n grid\n}\n","const grid = {\n templateColumns: 'repeat(12, [col-start] minmax(0, 1fr) [col-end])',\n columnGap: ['16px', '24px']\n}\n\nexport default grid\n","import constants from './constants'\n\nimport {\n componentHeights,\n fonts,\n fontSizes,\n fontWeights,\n formattedBreakpoints as breakpoints,\n letterSpacings,\n mediaQueries,\n spacing\n} from './scales'\n\nconst baseTheme = {\n breakpoints,\n componentHeights,\n constants,\n fonts,\n fontSizes, // only used in new styles\n fontWeights,\n letterSpacings,\n mediaQueries,\n spacing\n}\n\nexport default baseTheme\n","import baseTheme from './baseTheme'\nimport baseColors, { rgb } from './scales/colors'\n\nconst colors = {\n ...baseColors, // to support deprecated color references\n base: baseColors.white,\n primary: baseColors.black,\n grey1: baseColors.smoke,\n grey2: baseColors.mercury,\n grey3: baseColors.alto,\n grey4: baseColors.dawn,\n grey5: baseColors.chicago,\n grey6: baseColors.mine,\n grey7: baseColors.charcoal,\n featured: baseColors.featured,\n errorDefault: baseColors.error,\n errorBase: baseColors.errorLight, // This is in flux right now.\n success: baseColors.success,\n rgb: {\n base: rgb.white,\n primary: rgb.black\n }\n}\n\nconst LightTheme = {\n ...baseTheme,\n colors\n}\n\nexport default LightTheme\n","import baseTheme from './baseTheme'\nimport baseColors, { rgb } from './scales/colors'\n\nconst colors = {\n ...baseColors, // to support deprecated color references\n base: baseColors.white,\n primary: baseColors.black,\n grey1: baseColors.smoke,\n grey2: baseColors.mercury,\n grey3: baseColors.alto,\n grey4: baseColors.dawn,\n grey5: baseColors.chicago,\n grey6: baseColors.mine,\n grey7: baseColors.charcoal,\n featured: baseColors.featured,\n errorDefault: baseColors.error,\n errorBase: baseColors.errorLight,\n success: baseColors.success,\n rgb: {\n base: rgb.white,\n primary: rgb.black\n }\n}\n\nconst LightTheme = {\n ...baseTheme,\n colors\n}\n\nexport default LightTheme\n","import baseTheme from './baseTheme'\nimport baseColors, { rgb } from './scales/colors'\n\nconst colors = {\n ...baseColors, // to support deprecated color references\n base: baseColors.black,\n primary: baseColors.white,\n grey1: baseColors.charcoal,\n grey2: baseColors.mine,\n grey3: baseColors.chicago,\n grey4: baseColors.dawn,\n grey5: baseColors.alto,\n grey6: baseColors.mercury,\n grey7: baseColors.smoke,\n featured: baseColors.featured,\n errorDefault: baseColors.error,\n errorBase: baseColors.errorLight, // This is in flux right now.\n success: baseColors.success,\n rgb: {\n base: rgb.black,\n primary: rgb.white\n }\n}\n\nconst DarkTheme = {\n ...baseTheme,\n colors\n}\n\nexport default DarkTheme\n","/****************************\n * SplitView is a layout container.\n * On VP1-2 the {right} component is on top with {left} below it.\n * On VP3+ it is bisected 50/50 between {left} and {right}\n *\n * Props:\n * left: React Node\n * Right: React Node\n ******************************/\n\nimport React from 'react'\nimport PropTypes from 'prop-types'\nimport { useTheme } from 'styled-components'\n\nimport { ErrorBoundary } from 'helpers'\nimport { MainContainer, GridItem } from 'ui/bend/elements'\nimport { componentHeights as heights } from 'ui/bend/themes'\n\nconst SplitView = ({ left, right, invertMobile }) => {\n const { spacing, constants } = useTheme()\n\n return (\n \n \n {right}\n \n \n \n {left}\n \n \n \n )\n}\n\nSplitView.propTypes = {\n left: PropTypes.node.isRequired,\n right: PropTypes.node.isRequired\n}\n\nconst SafeSplitView = (props) => (\n \n \n \n)\n\nexport default SafeSplitView\n","import React, { forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\nimport { css } from '@styled-system/css'\n\nimport { CTA } from 'ui/bend/typography'\n\nexport const TabTitle = styled(CTA)`\n position: relative;\n cursor: ${(props) => (props.disabled ? 'default' : 'pointer')};\n ${(props) =>\n css({\n color: props.color\n ? props.color\n : props.active\n ? 'primary'\n : props.disabled\n ? 'grey2'\n : 'grey5'\n })}\n transition: color ${(props) => props.duration}ms ease-in-out;\n padding-top: 16px;\n padding-bottom: 16px;\n`\n\n/**\n * A private Component used to render out the Tab Header area of the Tab component.\n *\n * @param {number} duration The duration required to complete the change tab animation.\n * @param {string} id The unique id of the tab\n * @param {function} setActiveTab a setter function to indicate that this tab should be active\n * @param {string} title The text to display for this Tab Header. This also operates as the unique identifying key for the Tab and its Header.\n * @param {boolean} [active] Whether this tab is the active tab\n * @param {string} [color] Desired color of tab. This overwrites any style coloring.\n * @param {boolean} [disabled] Whether this tab should be able to be set as active.\n * @param {boolean} [last] If this is the last Header in the Tab list\n */\n\nconst TabHeader = forwardRef(\n (\n {\n active,\n color,\n disabled,\n duration,\n handleKeyDown,\n id,\n last,\n setActiveTab,\n title\n },\n ref\n ) => {\n const handleSelect = () => {\n if (!disabled) {\n setActiveTab(title)\n }\n }\n\n return (\n \n {title}\n \n )\n }\n)\n\nTabHeader.propTypes = {\n active: PropTypes.bool,\n color: PropTypes.string,\n disabled: PropTypes.bool,\n duration: PropTypes.number.isRequired,\n id: PropTypes.string.isRequired,\n last: PropTypes.bool,\n setActiveTab: PropTypes.func.isRequired,\n title: PropTypes.string.isRequired\n}\n\nTabHeader.displayName = 'TabHeader'\n\nexport default TabHeader\n","import React, { createContext, useEffect, useRef, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\n\nimport { Flex } from 'ui/bend/elements'\nimport { ErrorBoundary } from 'helpers'\n\nimport TabHeader from './TabHeader'\n\nconst Store = createContext()\nexport const useTabContext = () => React.useContext(Store)\n\nexport const TabHeaderContainer = styled(Flex)`\n position: relative;\n height: 32px;\n align-items: center;\n\n &:before {\n content: '';\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 1px;\n background: ${(props) => props.theme.colors.grey2};\n }\n\n &:after {\n content: '';\n position: absolute;\n bottom: 0;\n left: ${(props) => props.underlineStyle.left};\n width: ${(props) => props.underlineStyle.width};\n transition: width ${(props) => props.duration}ms ease-in-out,\n left ${(props) => props.duration}ms ease-in-out;\n height: 1px;\n background: ${(props) => props.theme.colors.primary};\n }\n`\n\n/**\n * Locates the first tab that can be active.\n * A tab can be active IFF it is not disabled AND it has a title.\n */\nconst findFirstActiveTab = (children) => {\n let startingTab\n const childArray = React.Children.toArray(children)\n\n for (const child of childArray) {\n if (!child.props.disabled && child.props.title) {\n startingTab = startingTab || child.props.title\n\n if (startingTab && child.props.active) {\n startingTab = child.props.title\n // We have found the first element that isn't disabled and has a title.\n // and have the active prop\n // Set that as our starting index and bail out.\n break\n }\n }\n }\n\n return startingTab\n}\n\n/**\n * The `` component is used to render out a tab header that, when clicked, renders out a tab body.\n *\n * To use the `` component, you must supply it with `` children each with a required, unique `title={string}` prop and an optional `disabled={boolean}`.\n * This `title` prop is used to populate the Tab header row.\n * Failure to provide a `title` prop will result in the tab not being displayed.\n * Providing non-unique `title`s will throw an error.\n *\n * Example usage:\n * \n * This tab is enabled and will remain mounted\n * This tab is disabled. The title will mount, but the body will not.\n * This div has no title, therefore it will not mount in either headers or body\n * This div is enabled and it will mount and unmount depending on its tab header's active state\n * \n *\n * @param {string} id A unique identifier for the Tab component. Used to tie tab headers with tab bodies.\n * @param {number} duration The amount of time animations should take, in ms. Defaults to 300.\n */\nconst Tabs = ({ id, duration = 300, children, ...delegated }) => {\n /**\n * Tab body animation includes two waterfall animations - fade-out of old components and fade-in of new components.\n * Conversely, Tab header animation includes only one animation timer - moving the line.\n * Therefore, body animations should each take 1/2 the time of the header animation.\n * This will ensure that the body animations and header animation complete at the same time.\n */\n const bodyDuration = Math.floor(duration / 2)\n const [activeTab, setActiveTab] = useState(() => findFirstActiveTab(children))\n const [underlineStyle, setUnderlineStyle] = useState({\n width: 100,\n left: 0\n })\n const headerRef = useRef()\n const tabsRef = useRef({})\n\n /* Error Checking -- Ensure that every child has a unique title that we can use as a key */\n useEffect(() => {\n const childTitles = React.Children.toArray(children).map(\n (child) => child.props.title\n )\n\n const isUnique = (arr) => {\n let seenValues = {}\n for (let value of arr) {\n if (value) {\n if (seenValues[value]) {\n return false\n } else {\n seenValues[value] = true\n }\n }\n }\n return true\n }\n\n if (!isUnique(childTitles)) {\n throw new Error('TabBody Components must have unique titles')\n }\n }, [children])\n\n const getNextAvailableTab = (offset) => {\n if (headerRef.current && tabsRef.current) {\n let nodes = []\n let currentTab\n\n // iterate our tabs and remove any disabled ones (we don't want to land on them) and set our currently active one.\n for (let i in tabsRef.current) {\n const node = tabsRef.current[i]\n if (!node.disabled) nodes.push(node)\n if (node.active) currentTab = node\n }\n\n // Perform index wrapping if necessary.\n let index = nodes.indexOf(currentTab) + offset\n if (index >= nodes.length) index = 0\n if (index < 0) index = nodes.length - 1\n\n // Once we know where we should end up, pluck that element from our nodes array so we can set our activeTab and focus on it.\n const nextNode = nodes[index]\n if (nextNode) {\n setActiveTab(nextNode.title)\n nextNode.element.focus()\n }\n }\n }\n\n /* Make a weak keyboard trap on tab headers, such that arrow keys navigate and tab key can get us out of there */\n const handleKeyDown = (event) => {\n let nextActiveChild\n\n switch (event.key) {\n case 'ArrowLeft':\n case 'ArrowUp':\n nextActiveChild = getNextAvailableTab(-1)\n break\n case 'ArrowRight':\n case 'ArrowDown':\n nextActiveChild = getNextAvailableTab(1)\n break\n default:\n return\n }\n\n if (!nextActiveChild) return\n event.preventDefault()\n }\n\n const selectActiveTab = () => {\n if (headerRef.current && tabsRef.current) {\n let activeTab\n const container = headerRef.current\n\n // Find the currently active tab header.\n for (let key of Object.keys(tabsRef.current)) {\n if (tabsRef.current[key].active) {\n activeTab = tabsRef.current[key].element\n break\n }\n }\n\n if (activeTab) {\n // Adjust the underline's width and left location accordingly.\n const width = `${activeTab.getBoundingClientRect().width}px`\n const left = `${\n activeTab.getBoundingClientRect().left -\n container.getBoundingClientRect().left\n }px`\n setUnderlineStyle({\n width,\n left\n })\n }\n }\n }\n\n /* Keep the tab underline bar width/position updated as we switch active tabs */\n useEffect(() => {\n selectActiveTab()\n }, [activeTab])\n\n /* Keep the underline in the right position on resize */\n useEffect(() => {\n const handleResize = () => {\n selectActiveTab()\n }\n window.addEventListener('resize', handleResize)\n return () => window.removeEventListener('resize', handleResize)\n }, [])\n\n return (\n \n \n {React.Children.map(children, (child, index) => {\n const { disabled, title, headerColor } = child.props\n\n // Don't bother rendering as there will be nothing to click within the header to activate a tab.\n if (!title) return null\n\n const last = index >= React.Children.count(children) - 1\n const active = activeTab === title\n\n return (\n \n (tabsRef.current[title] = { element, active, disabled, title })\n }\n />\n )\n })}\n \n {children}\n \n )\n}\n\nTabs.propTypes = {\n id: PropTypes.string.isRequired\n}\n\nconst SafeTabs = (props) => (\n \n \n \n)\n\nexport default SafeTabs\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\nimport { Transition } from 'react-transition-group'\n\nimport { useTabContext } from './Tabs'\n\nexport const TabContent = styled('div')`\n // modify left & top to shoot the element far off screen, this causes it to not take up room needlessly while still allowing us to animate the transition in.\n left: ${(props) =>\n props.transitionState === 'entering' || props.transitionState === 'exited'\n ? '-99999px'\n : ''};\n top: ${(props) =>\n props.transitionState === 'entering' || props.transitionState === 'exited'\n ? '-99999px'\n : ''};\n position: ${(props) =>\n props.transitionState === 'entering' || props.transitionState === 'exited'\n ? 'absolute'\n : 'relative'};\n opacity: ${(props) => (props.transitionState === 'entered' ? 1 : 0)};\n visibility: ${(props) =>\n props.transitionState === 'entered' ? 'visible' : 'hidden'};\n transition: opacity ${(props) => props.duration}ms ease-in-out,\n visibility ${(props) => props.duration}ms ease-in-out;\n`\n\n/**\n * @param {string} title The title of the tab (will display in Tab Header). This also operates as the unique identifying key for the Tab and its Header.\n * @param {boolean} [disabled] Whether the tab is disabled\n * @param {string} [headerColor] An optional color for Tab header. Overrides all other color styles. -- Note that this prop is used in TabHeader, not in Tab.js itself\n * @param {boolean} [mountOnEnter] Will mount the Tab Body only after it is set as an active tab\n * @param {boolean} [unmountOnExit] Will unmount the Tab Body if it is no longer the active tab\n */\n\nconst Tab = ({\n disabled,\n title,\n mountOnEnter,\n unmountOnExit,\n children,\n onClick,\n ...delegated\n}) => {\n const { id, bodyDuration, activeTab } = useTabContext()\n // This will be an unreachable tab. Do not render it.\n if (!title || disabled) return null\n\n const active = activeTab === title\n\n const onEnter = () => {\n return onClick ? onClick() : null\n }\n\n return (\n onEnter()}\n >\n {(transitionState) => (\n \n {children}\n \n )}\n \n )\n}\nTab.propTypes = {\n active: PropTypes.bool,\n title: PropTypes.string,\n headerColor: PropTypes.string,\n mountOnEnter: PropTypes.bool,\n unmountOnExit: PropTypes.bool,\n onClick: PropTypes.func\n}\n\nexport default Tab\n","import styled, { keyframes } from 'styled-components'\nimport { space, layout } from 'styled-system'\n\nconst SpinnerKeyframes = keyframes`\n 0% {\n transform: translate3d(-50%, -50%, 0) rotate(0deg);\n }\n 100% {\n transform: translate3d(-50%, -50%, 0) rotate(360deg);\n }\n`\n\nconst Spinner = styled.div.attrs({\n 'data-testid': 'fa-spinner'\n})`\n position: relative;\n opacity: 1;\n transition: opacity linear 0.1s;\n ${space}\n\n &::before {\n ${layout}\n animation: 1s ease-in-out infinite ${SpinnerKeyframes};\n border: solid 3px ${(props) => props.theme.colors.grey4};\n border-top-color: currentColor;\n border-radius: 50%;\n content: '';\n left: 50%;\n opacity: inherit;\n position: absolute;\n top: 50%;\n transform: translate3d(-50%, -50%, 0);\n transform-origin: center;\n will-change: transform;\n }\n`\nSpinner.defaultProps = {\n height: '24px',\n width: '24px'\n}\n\nexport default Spinner\n","// Current breakpoints are related to tablet size. Will discuss further w/ Mari and Trista about our ideal breakpoints.\n\n// Styled-System requires that breakpoints array be strings indicating their type (px, em, etc.)\n// However, carousel objects (e.g. react-id-swipe) use raw numbers to define breakpoints.\n// So we can have consistency across all media, we export a breakpoints array with the raw numbers.\n// We also format them into '#px' array format for our styled-system theme\nconst breakpoints = [640, 1024, 1200]\n\nconst formattedBreakpoints = breakpoints.map((point) => point + 'px')\n\nexport { breakpoints, formattedBreakpoints }\n","import styled from 'styled-components'\nimport { variant } from 'styled-system'\n\nimport Text from './Text'\n\nexport const defaultValues = {\n fontFamily: 'Proxima',\n fontSize: 2,\n fontWeight: 'regular',\n lineHeight: '140%'\n}\n\nconst P = styled(Text)(\n variant({\n variants: {\n default: {\n ...defaultValues\n },\n bold: {\n ...defaultValues,\n fontWeight: 'semibold'\n }\n }\n })\n)\n\nP.defaultProps = {\n as: 'p',\n variant: 'default'\n}\n\nexport default P\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport { UnmountClosed } from 'react-collapse'\nimport styled from 'styled-components'\nimport { layout, space } from 'styled-system'\n\n// TODO: rework-animations\nexport const CollapseContainer = styled('div')(layout, space, {\n '& >.ReactCollapse--collapse': {\n transition: 'height 250ms cubic-bezier(0.4, 0, 0.2, 1)'\n }\n})\n\nconst Collapse = ({\n Container = CollapseContainer,\n isOpened,\n children,\n onWork,\n onRest,\n ...rest\n}) => (\n \n \n {children}\n \n \n)\n\nCollapse.propTypes = {\n Container: PropTypes.node,\n isOpened: PropTypes.bool,\n children: PropTypes.node\n}\n\nexport default Collapse\n","import styled from 'styled-components'\nimport { variant } from 'styled-system'\n\nimport Text from './Text'\n\n// We also use CTA values within the Button.js config.\n// We define their defaultValues in an object and destructure it where needed.\n\nexport const defaultValues = {\n fontFamily: 'Arquitecta',\n fontWeight: 'bold',\n fontSize: '15px',\n letterSpacing: 3,\n lineHeight: '140%',\n textTransform: 'uppercase'\n}\n\nconst CTA = styled(Text)(\n variant({\n variants: {\n default: {\n ...defaultValues\n },\n small: {\n ...defaultValues,\n fontWeight: 'bold',\n fontSize: 2\n },\n responsive: {\n ...defaultValues,\n fontWeight: 'bold',\n fontSize: ['14px', '15px', '15px']\n }\n }\n })\n)\n\nCTA.defaultProps = {\n variant: 'default'\n}\n\nexport default CTA\n","import styled from 'styled-components'\nimport { space } from 'styled-system'\nimport { css } from '@styled-system/css'\n\nimport { Caption } from 'ui/bend/typography'\n\nconst Feedback = styled(Caption)(\n (props) =>\n css({\n display: 'block',\n ml: '16px',\n mt: '4px',\n\n '&.error': {\n color: props.theme.colors.errorDefault\n }\n }),\n space\n)\n\nexport default Feedback\n","import styled from 'styled-components'\nimport { color, layout, space } from 'styled-system'\nimport { css } from '@styled-system/css'\n\nconst HR = styled('div')(\n space,\n color,\n layout,\n css({\n height: '1px'\n })\n)\n\nHR.defaultProps = {\n bg: 'grey3'\n}\n\nexport default HR\n","import styled from 'styled-components'\nimport { variant } from 'styled-system'\n\nimport Text from './Text'\n\nconst defaultValues = {\n fontSize: [8, 9, 10],\n fontFamily: 'Arquitecta',\n letterSpacing: 2,\n lineHeight: '108%',\n fontWeight: 'black',\n textTransform: 'uppercase',\n wordBreak: 'break-word'\n}\n\nconst H1 = styled(Text)(\n variant({\n variants: {\n default: {\n ...defaultValues\n },\n thin: {\n ...defaultValues,\n textTransform: 'none',\n lineHeight: '112%',\n fontWeight: 'normal'\n }\n }\n })\n)\n\nH1.defaultProps = {\n as: 'h1',\n variant: 'default'\n}\n\nexport default H1\n","import styled from 'styled-components'\n\nconst Avatar = styled('img')`\n height: 48px;\n width: 48px;\n border-radius: 50%;\n`\n\nexport default Avatar\n","import PropTypes from 'prop-types'\nimport styled from 'styled-components'\nimport { css } from '@styled-system/css'\nimport { space, position, variant } from 'styled-system'\n\nimport Tag from 'ui/bend/typography/Tag'\n\nconst Badge = styled(Tag)(\n space,\n position,\n\n css({\n py: '2px',\n px: '8px',\n borderWidth: '1px',\n borderStyle: 'solid',\n cursor: 'default'\n }),\n\n variant({\n variants: {\n solid: {\n color: 'base',\n bg: 'primary',\n borderColor: 'primary'\n },\n solidBlack: {\n color: 'white',\n bg: 'black',\n borderColor: 'black'\n },\n solidWhite: {\n color: 'black',\n bg: 'white',\n borderColor: 'white'\n },\n dim: {\n color: 'primary',\n bg: 'grey1',\n borderColor: 'grey1'\n },\n featured: {\n color: 'alert.medium',\n bg: 'base',\n borderColor: 'alert.medium'\n },\n featuredSolid: {\n color: 'white',\n bg: 'alert.medium',\n borderColor: 'alert.medium'\n }\n }\n })\n)\n\nBadge.defaultProps = {\n variant: 'solid'\n}\n\nconst variantPropTypes = PropTypes.oneOf([\n 'solid',\n 'solidBlack',\n 'solidWhite',\n 'dim',\n 'featured',\n 'featuredSolid'\n])\n\nBadge.propTypes = {\n variant: PropTypes.oneOfType([\n variantPropTypes,\n PropTypes.arrayOf(variantPropTypes)\n ])\n}\n\nexport default Badge\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\nimport { css } from '@styled-system/css'\nimport { layout, flexbox, space, variant, system } from 'styled-system'\n\nimport Spinner from 'ui/bend/animations/Spinner'\nimport { defaultValues as ctaValues } from 'ui/bend/typography/CTA'\nimport colors from 'ui/bend/themes/scales/colors'\n\n//\n// TODO:\n// - Processing state\n//\n\nconst StyledButton = styled('button')(\n layout,\n flexbox,\n space,\n {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n textAlign: 'center',\n minHeight: '48px',\n minWidth: '100px',\n transition: '.15s ease-in-out'\n },\n css({\n ...ctaValues,\n px: '32px',\n py: '14px'\n }),\n system({\n whiteSpace: true\n }),\n variant({\n variants: {\n solid: {\n bg: 'primary',\n color: 'base',\n border: 'none',\n borderWidth: '1px',\n borderStyle: 'solid',\n borderColor: 'primary',\n '&:hover:not(.processing)': {\n bg: ['primary', 'grey6'],\n borderColor: ['primary', 'grey6'],\n color: 'base'\n },\n '&:focus': {\n color: 'base'\n },\n '&:active': {\n color: 'base'\n },\n '&:disabled:not(.processing)': {\n bg: 'grey3',\n borderColor: 'grey3'\n }\n },\n ghost: {\n bg: 'transparent',\n color: 'primary',\n borderWidth: '1px',\n borderStyle: 'solid',\n borderColor: 'grey3',\n '&:hover:not(.processing)': {\n bg: ['transparent', 'grey2'],\n borderColor: ['grey4', 'grey2'],\n color: 'primary'\n },\n '&:focus': {\n color: 'primary'\n },\n '&:active': {\n color: 'primary'\n },\n '&:disabled:not(.processing)': {\n bg: 'transparent',\n borderColor: 'grey3',\n color: 'grey3'\n }\n },\n dim: {\n bg: 'grey1',\n color: 'primary',\n borderWidth: '1px',\n borderStyle: 'solid',\n borderColor: 'grey1',\n '&:hover:not(.processing)': {\n bg: ['grey1', 'grey2'],\n borderColor: ['grey1', 'grey2'],\n color: 'primary'\n },\n '&:focus': {\n color: 'primary'\n },\n '&:active': {\n color: 'primary'\n },\n '&:disabled:not(.processing)': {\n bg: 'grey1',\n borderColor: 'grey1',\n color: 'grey4'\n }\n },\n alert: {\n bg: 'alert.medium',\n color: 'white',\n borderWidth: '1px',\n borderStyle: 'solid',\n borderColor: 'alert.medium',\n '&:hover:not(.processing)': {\n bg: ['alert.medium', `${colors.alert.medium}A6`], // 65% opacity.\n borderColor: ['alert.medium', `${colors.alert.medium}A6`], // 65% opacity.\n color: 'white'\n },\n '&:focus': {\n color: 'white'\n },\n '&:active': {\n color: 'white'\n },\n '&:disabled:not(.processing)': {\n bg: `${colors.alert.medium}59`, // 35% opacity.\n borderColor: `${colors.alert.medium}59`, // 35% opacity.\n color: 'grey4'\n }\n },\n ouline: {\n bg: 'transparent',\n color: 'primary',\n borderWidth: '1px',\n borderStyle: 'solid',\n borderColor: 'primary',\n fontSize: '1.125rem',\n fontWeight: '950',\n lineHeight: '1.5rem',\n '&:hover:not(.processing)': {\n bg: ['transparent', 'primary'],\n borderColor: 'primary',\n color: 'base'\n },\n '&:focus': {\n color: 'primary'\n },\n '&:active': {\n color: 'primary'\n },\n '&:disabled:not(.processing)': {\n bg: 'transparent',\n borderColor: 'grey3',\n color: 'grey3'\n }\n }\n }\n })\n)\n\nconst Button = ({\n children,\n disabled,\n processing,\n variant = 'solid',\n ...rest\n}) => {\n return (\n \n {processing ? : children}\n \n )\n}\n\nButton.propTypes = {\n children: PropTypes.any,\n disabled: PropTypes.bool,\n processing: PropTypes.bool,\n variant: PropTypes.oneOfType([PropTypes.string, PropTypes.array])\n}\n\nexport default Button\n","import React from 'react'\nimport styled from 'styled-components'\nimport { variant } from 'styled-system'\n\nimport Box from './Box'\nimport { Check } from 'images/bend'\n\n// I can't get object notation to work well with both css({}) and variant({}), especially when interpreted props are involved.\nconst Container = styled(Box)`\n border-width: 1px;\n border-style: solid;\n border-radius: 100px;\n height: 20px;\n width: 20px;\n padding: 3px;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n transition: all 0.25s ease-in-out;\n ${({ active, completed }) =>\n variant({\n variants: {\n solid: {\n borderColor: active || completed ? 'primary' : 'grey3',\n bg: completed ? 'primary' : 'base',\n '& > svg': {\n fill: active ? 'primary' : 'base'\n }\n },\n dim: {\n borderColor: 'grey1',\n bg: 'grey1',\n '& > svg': {\n fill: 'primary'\n }\n }\n }\n })}\n`\n\nconst CheckCircle = ({ active, completed, ...rest }) => {\n return (\n \n \n \n )\n}\n\nCheckCircle.defaultProps = {\n variant: 'solid'\n}\n\nexport default CheckCircle\n","/*\n| This component is used to create responsive SVG icons/images that resize according to media queries.\n| It accepts the following props:\n| height: An array of strings outlining the height at different breakpoints, according to Styled-System specifications.\n| width: An array of strings outlining the width at different breakpoints, according to Styled-System specifications.\n| display: CSS value for display (defaults to inline-block)\n| inline: will set element as span and automatically set height & width to 1em and display to inline-flex. This allows the icon to be used inline with text.\n| SVG: The imported SVG node.\n|\n| Example Usage:\n| import { SVGImage } from 'ui/bend'\n| import { Icon } from 'images'\n|\n| // React Code here...\n| const sizeArray = {['20px', '24px', '32px']}\n| \n*/\n\nimport React from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\nimport { system } from 'styled-system'\n\nimport { ErrorBoundary } from 'helpers'\nimport Box from './Box'\n\nconst SVGContainer = styled(Box)(\n system({\n fill: {\n property: 'fill',\n scale: 'colors'\n },\n stroke: {\n property: 'stroke',\n scale: 'colors'\n }\n }),\n {\n transition: 'fill 0.25s ease-in-out'\n }\n)\n\nconst SVGImage = ({\n SVG,\n width,\n height,\n display = 'inline-block',\n inline,\n backgroundColor,\n ...rest\n}) => {\n return (\n \n {SVG && (\n \n )}\n \n )\n}\n\nSVGImage.propTypes = {\n SVG: PropTypes.any.isRequired,\n width: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),\n height: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),\n inline: PropTypes.bool,\n display: PropTypes.string\n}\n\nconst SafeSVGImage = (props) => (\n \n \n \n)\n\nexport default SafeSVGImage\n","import styled from 'styled-components'\nimport { layout, flexbox, space, variant, system } from 'styled-system'\n\n// TODO: Move all new buttons to using this StyledButtonBase\n\nconst StyledButtonBase = styled('button')(\n layout,\n flexbox,\n space,\n {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n textAlign: 'center',\n transition: '.15s ease-in-out'\n },\n system({\n whiteSpace: true\n }),\n variant({\n variants: {\n solid: {\n bg: 'primary',\n color: 'base',\n border: 'none',\n borderWidth: '1px',\n borderStyle: 'solid',\n borderColor: 'primary',\n '&:hover:not(.processing)': {\n bg: ['primary', 'grey6'],\n borderColor: ['primary', 'grey6'],\n color: 'base'\n },\n '&:focus': {\n color: 'base'\n },\n '&:active': {\n color: 'base'\n },\n '&:disabled:not(.processing)': {\n bg: 'grey3',\n borderColor: 'grey3'\n }\n },\n ghost: {\n bg: 'transparent',\n color: 'primary',\n borderWidth: '1px',\n borderStyle: 'solid',\n borderColor: 'grey4',\n '&:hover:not(.processing)': {\n bg: ['transparent', 'grey2'],\n borderColor: ['grey4', 'grey2'],\n color: 'primary'\n },\n '&:focus': {\n color: 'primary'\n },\n '&:active': {\n color: 'primary'\n },\n '&:disabled:not(.processing)': {\n bg: 'transparent',\n borderColor: 'grey3',\n color: 'grey3'\n }\n },\n dim: {\n bg: 'grey1',\n color: 'primary',\n borderWidth: '1px',\n borderStyle: 'solid',\n borderColor: 'grey1',\n '&:hover:not(.processing)': {\n bg: ['grey1', 'grey2'],\n borderColor: ['grey1', 'grey2'],\n color: 'primary'\n },\n '&:focus': {\n color: 'primary'\n },\n '&:active': {\n color: 'primary'\n },\n '&:disabled:not(.processing)': {\n bg: 'grey1',\n borderColor: 'grey1',\n color: 'grey3'\n }\n }\n }\n })\n)\n\nexport default StyledButtonBase\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport styled, { useTheme } from 'styled-components'\n\nimport SVGImage from './SVGImage'\nimport { X } from 'images/bend'\n\nimport Spinner from 'ui/bend/animations/Spinner'\nimport StyledButtonBase from './StyledButtonBase'\n\n// TODO: Might make this a subset of Button... they're SOOOooo close.\n\n// TODO:\n// - Processing state\n//\n\nconst StyledButton = styled(StyledButtonBase)`\n border-radius: 100px;\n padding: 6px;\n border: none;\n`\n\nconst CloseButton = ({\n children,\n disabled,\n processing,\n variant = 'solid',\n ...rest\n}) => {\n const { colors } = useTheme()\n\n return (\n \n {processing ? (\n \n ) : (\n \n )}\n \n )\n}\n\nCloseButton.propTypes = {\n children: PropTypes.node,\n disabled: PropTypes.bool,\n processing: PropTypes.bool,\n variant: PropTypes.oneOfType([PropTypes.string, PropTypes.array])\n}\n\nexport default CloseButton\n","import styled from 'styled-components'\nimport { flexbox } from 'styled-system'\n\nimport Box from './Box'\n\nconst Flex = styled(Box)(flexbox)\n\nFlex.defaultProps = {\n display: 'flex'\n}\n\nexport default Flex\n","import styled from 'styled-components'\nimport { grid } from 'styled-system'\n\nimport Box from './Box'\n\nconst Grid = styled(Box)(grid)\n\nGrid.defaultProps = {\n display: 'grid'\n}\n\nexport default Grid\n","import styled from 'styled-components'\nimport { css } from '@styled-system/css'\n\nimport Grid from './Grid'\n\nconst GridContainer = styled(Grid)((props) =>\n css({\n gridTemplateColumns: props.theme.constants.grid.templateColumns,\n gridColumnGap: props.theme.constants.grid.columnGap\n })\n)\n\nexport default GridContainer\n","import styled from 'styled-components'\nimport { flexbox } from 'styled-system'\n\nimport Grid from './Grid'\n\n// Add flex elements to a Grid item.\nconst GridItem = styled(Grid)(flexbox)\n\nGridItem.defaultProps = {\n display: 'flex'\n}\n\nexport default GridItem\n","import styled from 'styled-components'\nimport { border, compose, layout, space, system } from 'styled-system'\n\nconst Image = styled('img')(\n compose(\n border,\n layout,\n space,\n system({\n objectFit: true\n })\n )\n)\n\nImage.defaultProps = {\n maxWidth: '100%'\n}\n\nexport default Image\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\nimport { css } from '@styled-system/css'\nimport { flexbox, layout, space, system } from 'styled-system'\n\nimport { RightChevron } from 'images'\nimport { defaultValues as ctaValues } from 'ui/bend/typography/CTA'\nimport SVGImage from './SVGImage'\n\nconst StyledLink = styled('a')(\n flexbox,\n layout,\n space,\n css({\n ...ctaValues,\n display: 'flex',\n alignItems: 'center',\n py: '8px',\n\n '&:hover': {\n color: 'grey6'\n }\n }),\n system({\n whiteSpace: true\n })\n)\n\nconst Link = ({ disabled, children, ...rest }) => {\n return (\n \n {children}\n \n \n )\n}\n\nLink.propTypes = {\n disabled: PropTypes.bool,\n children: PropTypes.any\n}\n\nexport default Link\n","import styled from 'styled-components'\nimport { css } from '@styled-system/css'\n\nimport Grid from './Grid'\n\nconst MainContainer = styled(Grid)((props) =>\n css({\n gridTemplateColumns: [\n `\n [full-start]\n 0px\n [main-start]\n ${props.theme.constants.grid.templateColumns}\n [main-end]\n 0px\n [full-end]\n `,\n `\n [full-start]\n calc(64px - ${props.theme.constants.grid.columnGap[1]})\n [main-start]\n ${props.theme.constants.grid.templateColumns}\n [main-end]\n calc(64px - ${props.theme.constants.grid.columnGap[1]})\n [full-end]\n `,\n `\n [full-start]\n calc(96px - ${props.theme.constants.grid.columnGap[1]})\n [main-start]\n ${props.theme.constants.grid.templateColumns}\n [main-end]\n calc(96px - ${props.theme.constants.grid.columnGap[1]})\n [full-end]\n `,\n `\n [full-start]\n minmax(calc(128px - ${props.theme.constants.grid.columnGap[1]}), calc((100% - 1392px) / 2))\n [main-start]\n ${props.theme.constants.grid.templateColumns}\n [main-end]\n minmax(calc(128px - ${props.theme.constants.grid.columnGap[1]}), calc((100% - 1392px) / 2))\n [full-end]\n `\n ],\n gridColumnGap: props.theme.constants.grid.columnGap\n })\n)\n\nexport default MainContainer\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\nimport { css } from '@styled-system/css'\nimport {\n layout,\n flexbox,\n position,\n space,\n variant,\n system\n} from 'styled-system'\n\nimport Spinner from 'ui/bend/animations/Spinner'\nimport { defaultValues as bodyValues } from 'ui/bend/typography/P'\n\n// TODO: Might make this a subset of Button... they're SOOOooo close.\n\n// TODO:\n// - Processing state\n//\nconst StyledButton = styled('button')(\n layout,\n flexbox,\n space,\n position,\n {\n alignItems: 'center',\n display: 'flex',\n borderRadius: '100px !important', // we use !important to override legacy css.\n justifyContent: 'center',\n textAlign: 'center',\n transition: '.15s ease-in-out'\n },\n css({\n ...bodyValues,\n px: '16px',\n py: '6px'\n }),\n system({\n whiteSpace: true,\n transform: true\n }),\n variant({\n variants: {\n solid: {\n bg: 'primary',\n color: 'base',\n border: 'none',\n fill: 'base',\n '&:hover:not(.processing)': {\n bg: 'grey6',\n color: 'base'\n },\n '&:focus': {\n color: 'base'\n },\n '&:active': {\n color: 'base'\n },\n '&:disabled:not(.processing)': {\n bg: 'grey3'\n },\n '&.processing': {\n bg: 'grey6'\n }\n },\n ghost: {\n bg: 'transparent',\n color: 'primary',\n borderWidth: '1px',\n borderStyle: 'solid',\n borderColor: 'grey3',\n fill: 'primary',\n '&:hover:not(.processing)': {\n bg: 'grey2',\n borderColor: 'grey2'\n },\n '&:focus': {\n color: 'primary'\n },\n '&:active': {\n color: 'primary'\n },\n '&:disabled:not(.processing)': {\n bg: 'transparent',\n borderColor: 'grey3',\n color: 'grey3',\n fill: 'grey3'\n }\n },\n dim: {\n bg: 'grey1',\n color: 'primary',\n fill: 'primary',\n borderWidth: '1px',\n borderStyle: 'solid',\n borderColor: 'grey1',\n '&:hover:not(.processing)': {\n bg: 'grey2',\n borderColor: 'grey2',\n color: 'primary'\n },\n '&:focus': {\n color: 'primary'\n },\n '&:active': {\n color: 'primary'\n },\n '&:disabled:not(.processing)': {\n bg: 'grey1',\n borderColor: 'grey1',\n color: 'grey3',\n fill: 'grey3'\n }\n },\n dim: {\n bg: 'white',\n color: 'black',\n fill: 'black',\n borderWidth: '1px',\n borderStyle: 'solid',\n borderColor: 'white',\n '&:hover:not(.processing)': {\n bg: 'grey2',\n borderColor: 'grey2',\n color: 'primary'\n },\n '&:focus': {\n color: 'primary'\n },\n '&:active': {\n color: 'primary'\n },\n '&:disabled:not(.processing)': {\n bg: 'grey1',\n borderColor: 'grey1',\n color: 'grey3',\n fill: 'grey3'\n }\n }\n }\n })\n)\n\nconst PillButton = ({\n children,\n disabled,\n processing,\n variant = 'solid',\n ...rest\n}) => {\n return (\n \n {processing ? : children}\n \n )\n}\n\nPillButton.propTypes = {\n children: PropTypes.any,\n disabled: PropTypes.bool,\n processing: PropTypes.bool,\n variant: PropTypes.oneOfType([PropTypes.string, PropTypes.array])\n}\n\nexport default PillButton\n","import styled from 'styled-components'\n\nconst ProgressBar = styled('progress')`\n &[value] {\n appearance: none;\n border: none;\n width: 100%;\n height: 2px;\n\n ::-moz-progress-bar {\n background-color: ${(props) => props.theme.colors.primary};\n }\n\n ::-webkit-progress-bar {\n background-color: ${(props) => props.theme.colors.grey2};\n }\n\n ::-webkit-progress-value {\n transition: width 0.25s ease-in-out;\n background-color: ${(props) => props.theme.colors.primary};\n }\n }\n`\n\nexport default ProgressBar\n","import React from 'react'\nimport { useTheme } from 'styled-components'\n\nconst CircularProgressBar = ({\n progress,\n strokeWidth = 4, // 15px\n size = 48 // 48px\n}) => {\n const center = size / 2\n const radius = center - strokeWidth / 2\n const circumference = 2 * Math.PI * radius\n const offset = ((100 - progress) / 100) * circumference\n\n const { colors } = useTheme()\n\n return (\n \n \n \n \n \n \n \n )\n}\n\nexport default CircularProgressBar\n","export default {\n navbar: {\n mobile: '60px',\n desktop: '80px'\n },\n progressBar: '6px',\n mobileMenuMax: '700px',\n modalMax: {\n mobile: '80vh',\n desktop: '65vh'\n }\n}\n\n// Footer heights are defined in v2/Footer/_footerHeight.js\n","import React, { createContext, useContext, useMemo, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport { Formik, Form } from 'formik'\nimport * as Yup from 'yup'\n\nimport { useSubscribeContext } from 'context'\nimport { ErrorBoundary } from 'helpers'\nimport Feedback from 'ui/bend/elements/forms/Feedback'\n\nconst Store = createContext(null)\nexport const useMultiStepForm = () => useContext(Store)\n\nconst MultiStepForm = ({\n children,\n firstStep = 0,\n onComplete,\n onFailComponent\n}) => {\n const { actions, initialValues, validators } = useSubscribeContext()\n\n const [stepNumber, setStepNumber] = useState(firstStep)\n const [showFailComponent, setShowFailComponent] = useState(null)\n\n // We clone the child elements and inject stepNumber and that elements index (i.e. where it is along the form).\n // We could provide stepNumber via context to be more explicit in our composition, but that would not give access to the step's index.\n const steps = React.Children.toArray(children)\n\n const currentStep = steps[stepNumber]\n const isLastStep = stepNumber === steps.length - 1\n\n const nextStep = () => {\n setStepNumber(stepNumber + 1)\n }\n\n const goToStep = (id) => {\n if (id >= 0 && id < steps.length - 1) {\n setStepNumber(id)\n }\n }\n\n const handleSubmit = async (values, formikObject) => {\n try {\n if (\n currentStep.props.onSubmit &&\n typeof currentStep.props.onSubmit === 'function'\n ) {\n const res = await currentStep.props.onSubmit(values, formikObject)\n if (res) {\n if (!isLastStep) {\n formikObject.setTouched({})\n nextStep()\n } else {\n if (onComplete && typeof onComplete === 'function')\n await onComplete(values, formikObject)\n }\n }\n } else {\n throw Error(\n 'No submission handler. Please add an onSubmit function to each form section.'\n )\n }\n } catch (error) {\n actions.handleError(error, { ...formikObject })\n if (isLastStep && onFailComponent) {\n setShowFailComponent(true)\n }\n }\n }\n\n /* Update validationSchema when the currentStep's type changes */\n const currentValidation = useMemo(() => {\n const resolveValidators = (path) => {\n // We recursively search down an object based on dot-separated values.\n // This might be useful to factor out into a helper.\n return path\n .split('.')\n .reduce((prev, curr) => (prev ? prev[curr] : null), validators)\n }\n\n const parseValidators = (type) => {\n if (Array.isArray(type)) {\n // If type is an array, we want to collect all the validators that correspond to the types in the array into a single object.\n return type.reduce(\n (prev, curr) => ({ ...prev, ...resolveValidators(curr) }),\n {}\n )\n } else {\n return resolveValidators(type)\n }\n }\n\n if (currentStep && currentStep.props && currentStep.props.type)\n return parseValidators(currentStep.props.type)\n }, [currentStep, validators])\n\n return (\n \n {({ values, status, isSubmitting }) => (\n
\n \n {steps}\n \n {status && (\n \n {status}\n \n )}\n {showFailComponent && onFailComponent({ isSubmitting })}\n
\n )}\n \n )\n}\n\nMultiStepForm.propTypes = {\n firstStep: PropTypes.number,\n onComplete: PropTypes.func,\n shouldRetry: PropTypes.bool,\n children: PropTypes.node.isRequired\n}\n\nconst SafeMultiStepForm = (props) => (\n \n \n \n)\n\nexport default SafeMultiStepForm\n","const colors = {\n white: '#FFFFFF',\n black: '#000000',\n alto: '#CCCCCC',\n dawn: '#A3A3A3',\n charcoal: '#242424',\n chicago: '#636363',\n error: '#C62828',\n featured: '#B00020',\n mercury: '#E1E1E1',\n mine: '#3b3b3b',\n smoke: '#F2F2F2 ',\n errorLight: '#FFF6F6',\n alert: {\n light: '#E7CCCF',\n medium: '#B00020',\n dark: '#740031'\n },\n highlight: {\n light: '#F1E8DD',\n medium: '#CEB18F',\n dark: '#826646'\n },\n success: {\n light: '#D8E1D5',\n medium: '#758E6D',\n dark: '#3C4B37'\n },\n accent: {\n light: '#D7DDEB',\n medium: '#7183B0',\n dark: '#384669'\n }\n}\n\nexport const rgb = {\n white: '255, 255, 255',\n black: '0, 0, 0'\n}\n\nexport default colors\n","import styled from 'styled-components'\nimport { css } from '@styled-system/css'\n\nimport Text from './Text'\n\nconst Tag = styled(Text)(\n css({\n fontFamily: 'Arquitecta',\n fontSize: 1,\n fontWeight: 'bold',\n letterSpacing: '.04em',\n lineHeight: '140%',\n textTransform: 'uppercase'\n })\n)\n\nexport default Tag\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\n\nimport { P } from 'ui/bend/typography'\nimport { Check } from 'images/bend'\n\nconst CheckboxInput = styled('span')`\n position: absolute;\n display: flex;\n justify-content: center;\n top: 0;\n left: 0;\n width: 20px;\n height: 20px;\n padding: 4px;\n border-width: 1px;\n border-style: solid;\n border-color: ${(props) => props.theme.colors.grey5};\n border-radius: 2px !important; /* Need important to override legacy components.css */\n transition: all 0.3s ease-in-out;\n`\n\nconst Label = styled(P)`\n display: inline;\n transition: all 0.3s ease-in-out;\n`\n\nconst CheckboxContainer = styled('label')`\n cursor: ${(props) => (props.disabled ? '' : 'pointer')};\n position: relative;\n display: inline-block;\n height: 24px;\n width: 40px;\n white-space: nowrap;\n padding-left: 32px;\n color: ${(props) => props.theme.colors.grey5};\n\n /* hide default input */\n input {\n display: contents;\n opacity: 0;\n width: 0;\n height: 0;\n }\n\n &:hover {\n ${P} {\n color: ${(props) => props.theme.colors.primary};\n }\n\n ${CheckboxInput} {\n border-color: ${(props) => props.theme.colors.primary};\n }\n }\n\n input:checked {\n ~ ${P} {\n color: ${(props) => props.theme.colors.primary};\n }\n\n ~ ${CheckboxInput} {\n background-color: ${(props) => props.theme.colors.primary};\n border-color: ${(props) => props.theme.colors.primary};\n svg {\n fill: ${(props) => props.theme.colors.base};\n }\n }\n }\n\n input:disabled {\n ~ ${P} {\n color: ${(props) => props.theme.colors.grey2};\n }\n\n ~ ${CheckboxInput} {\n background-color: ${(props) => props.theme.colors.grey2};\n border-color: ${(props) => props.theme.colors.grey2};\n svg {\n fill: ${(props) => props.theme.colors.grey2};\n }\n }\n }\n`\n\nCheckboxContainer.defaultProps = {\n as: 'label'\n}\n\nconst Checkbox = ({ label, ...props }) => {\n return (\n \n \n \n \n \n \n \n )\n}\n\nCheckbox.propTypes = {\n label: PropTypes.string.isRequired\n}\n\nexport default Checkbox\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport { useField } from 'formik'\n\nimport Checkbox from './Checkbox'\n\nconst FormikCheckbox = ({ name, ...props }) => {\n const [field, meta, helper] = useField(name)\n\n return \n}\n\nFormikCheckbox.propTypes = {\n name: PropTypes.string.isRequired\n}\n\nexport default FormikCheckbox\n","import { ToastContainer as UnstyledToastContainer, Slide } from 'react-toastify'\nimport styled from 'styled-components'\nimport { css } from '@styled-system/css'\n\nimport 'react-toastify/dist/ReactToastify.css'\n\nconst ToastContainer = styled(UnstyledToastContainer)`\n ${css({\n maxWidth: ['100%', '500px'],\n width: '100%'\n })}\n display: flex;\n flex-direction: column;\n align-items: center;\n\n .Toastify__toast {\n background: ${(props) => props.theme.colors.primary};\n padding: 12px;\n ${css({ width: ['100%', 'fit-content'] })}\n }\n`\n\nToastContainer.defaultProps = {\n closeButton: false,\n position: 'bottom-center',\n autoClose: false,\n hideProgressBar: true,\n transition: Slide,\n closeOnClick: false,\n draggablePercent: 40\n}\n\nexport default ToastContainer\n","import styled from 'styled-components'\nimport { css } from '@styled-system/css'\n\nimport Text from './Text'\n\nconst Blockquote = styled(Text)(\n css({\n fontFamily: 'Arquitecta',\n fontWeight: 'regular',\n fontSize: [8, 9, 10],\n lineHeight: '112%',\n textAlign: 'center'\n })\n)\n\nBlockquote.defaultProps = {\n as: 'div'\n}\n\nexport default Blockquote\n","import styled from 'styled-components'\nimport { css } from '@styled-system/css'\n\nimport Text from './Text'\n\nconst Display = styled(Text)(\n css({\n fontFamily: 'Arquitecta',\n fontWeight: 'black',\n fontSize: [9, 10, 11],\n letterSpacing: 2,\n lineHeight: '108%',\n textTransform: 'uppercase'\n })\n)\n\nDisplay.defaultProps = {\n as: 'h1'\n}\n\nexport default Display\n","import styled from 'styled-components'\nimport { css } from '@styled-system/css'\n\nimport Text from './Text'\n\nconst H2 = styled(Text)(\n css({\n fontSize: [7, 8, 9],\n fontFamily: 'Arquitecta',\n letterSpacing: 2,\n lineHeight: '108%',\n fontWeight: 'black',\n textTransform: 'uppercase'\n })\n)\n\nH2.defaultProps = {\n as: 'h2'\n}\n\nexport default H2\n","import styled from 'styled-components'\nimport { css } from '@styled-system/css'\n\nimport Text from './Text'\n\nconst H3 = styled(Text)(\n css({\n fontSize: [6, 7, 8],\n fontFamily: 'Proxima',\n letterSpacing: 0,\n lineHeight: '108%',\n fontWeight: 'semibold'\n })\n)\n\nH3.defaultProps = {\n as: 'h3'\n}\n\nexport default H3\n","import styled from 'styled-components'\nimport { css } from '@styled-system/css'\n\nimport Text from './Text'\n\nconst H4 = styled(Text)(\n css({\n fontSize: [5, 6, 7],\n fontFamily: 'Proxima',\n lineHeight: '135%',\n fontWeight: '600'\n })\n)\n\nH4.defaultProps = {\n as: 'h4'\n}\n\nexport default H4\n","import styled from 'styled-components'\nimport { css } from '@styled-system/css'\n\nimport Text from './Text'\n\nconst H5 = styled(Text)(\n css({\n fontSize: [4, 5, 6],\n fontFamily: 'Proxima',\n lineHeight: '135%',\n fontWeight: '600'\n })\n)\n\nH5.defaultProps = {\n as: 'h5'\n}\n\nexport default H5\n","import styled from 'styled-components'\nimport { css } from '@styled-system/css'\n\nimport Text from './Text'\n\nconst H6 = styled(Text)(\n css({\n fontSize: [3, 4, 5],\n fontFamily: 'Proxima',\n lineHeight: '135%',\n fontWeight: '600'\n })\n)\n\nH6.defaultProps = {\n as: 'h6'\n}\n\nexport default H6\n","import styled from 'styled-components'\nimport { variant } from 'styled-system'\nimport { css } from '@styled-system/css'\n\nimport Text from './Text'\n\nconst defaultValues = {\n fontFamily: 'Proxima',\n fontWeight: 'regular',\n fontSize: 1,\n lineHeight: '115%'\n}\n\nconst Caption = styled(Text)(\n variant({\n variants: {\n default: defaultValues,\n bold: {\n ...defaultValues,\n fontWeight: 'semibold'\n }\n }\n })\n)\n\nCaption.defaultProps = {\n variant: 'default'\n}\n\nexport default Caption\n","import styled from 'styled-components'\nimport { variant } from 'styled-system'\n\nimport Text from './Text'\n\nexport const defaultValues = {\n fontFamily: 'Proxima',\n fontWeight: 'regular',\n fontSize: 1,\n lineHeight: '130%'\n}\n\nconst Subtitle = styled(Text)(\n variant({\n variants: {\n default: {\n ...defaultValues\n },\n alternative: {\n ...defaultValues,\n fontWeight: 'bold',\n lineHeight: '105%',\n textTransform: 'uppercase'\n }\n }\n })\n)\n\nSubtitle.defaultProps = {\n variant: 'default'\n}\n\nexport default Subtitle\n","import styled from 'styled-components'\nimport { compose, flexbox, typography, system } from 'styled-system'\n\n// Import directly to avoid error:\n// \"Cannot create styled-component for component: undefined\"\nimport Box from 'ui/bend/elements/Box'\n\n// We set a defaultValues object to contain all of the defaultProps for our various Typographic Elements.\n// This allows us to import these values and destructure them into other styled-components that need accesss to the Typography, but are not using Text as a base.\n// For example, a styled.input might use the defaultValues from P.js in order to style the text inside of an input box the same as our existing

elements.\n\nconst Text = styled(Box)(\n compose(flexbox, typography),\n system({\n textTransform: true,\n whiteSpace: true,\n wordBreak: true\n })\n)\n\nText.defaultProps = {\n as: 'span'\n}\n\nexport default Text\n","import styled from 'styled-components'\nimport { layout, space } from 'styled-system'\n\nimport { Chevron } from 'images/bend'\n\nconst ChevronBase = styled(Chevron).withConfig({\n shouldForwardProp: (prop) => !['active'].includes(prop)\n})`\n transition: transform 0.3s ease-in-out, fill 0.3s ease-in-out;\n transform: ${(props) => {\n switch (props.direction) {\n case 'up':\n return props.active ? '' : 'rotate(180deg)'\n case 'down':\n return props.active ? 'rotate(180deg)' : ''\n case 'left':\n return props.active ? 'rotate(-90deg)' : 'rotate(90deg)'\n case 'right':\n return props.active ? 'rotate(90deg)' : 'rotate(-90deg)'\n }\n }};\n fill: ${(props) =>\n props.fill\n ? props.fill\n : props.active\n ? props.invertColor\n ? props.theme.colors.base\n : props.theme.colors.primary\n : props.invertColor\n ? props.theme.colors.base\n : props.theme.colors.grey5};\n ${layout}\n ${space}\n`\n\nChevronBase.defaultProps = {\n height: '20px',\n width: '20px'\n}\n\nexport default ChevronBase\n","import styled from 'styled-components'\nimport { DownloadFile } from 'images/bend'\n\nconst DownloadFileBase = styled(DownloadFile)((props) => ({\n fill: props.theme.colors.primary\n}))\n\nexport default DownloadFileBase\n"],"sourceRoot":""}