@qasa/qds-ui 0.25.0 → 0.25.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/qds-provider.tsx","../src/theme/foundations/breakpoints.ts","../src/theme/foundations/colors.ts","../src/styles/css-utils.ts","../src/styles/common-styles.ts","../src/theme/foundations/spacing.ts","../src/theme/foundations/z-index.ts","../src/theme/foundations/sizes.ts","../src/theme/foundations/radius.ts","../src/theme/foundations/shadows.ts","../src/theme/foundations/typography.ts","../src/theme/foundations/index.ts","../src/theme/theme.ts","../src/utils/object.ts","../src/theme/theme-tools.ts","../src/i18n/locale-context.tsx","../src/components/toast/toast-provider.tsx","../src/components/toast/toast-store.ts","../src/components/toast/toast.tsx","../src/components/icon/create-icon.tsx","../src/components/icon/create-lucide-icon.tsx","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/shared/src/utils.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/defaultAttributes.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/Icon.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/createLucideIcon.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/arrow-down.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/arrow-left.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/arrow-right.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/arrow-up.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/bell-off.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/bell.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/bookmark.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/calendar.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/camera.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/check.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/chevron-down.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/chevron-left.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/chevron-right.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/chevron-up.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/circle-alert.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/circle-check.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/circle-help.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/circle-x.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/ellipsis-vertical.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/ellipsis.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/globe.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/heart.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/history.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/house.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/image.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/info.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/list-filter.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/list.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/log-out.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/map-pin.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/map.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/menu.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/message-circle.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/minus.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/pen.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/plus.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/search.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/settings-2.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/settings.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/share.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/star.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/trash-2.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/triangle-alert.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/user-round.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/x.ts","../src/components/icon/icons.tsx","../src/components/toast/toast-styles.tsx","../src/components/avatar/avatar.tsx","../src/styles/responsive.ts","../src/components/button/button.tsx","../src/components/loading-dots/loading-dots.tsx","../src/components/button/button-styles.tsx","../src/components/button/button-icon.tsx","../src/components/display-text/display-text.tsx","../src/components/checkbox/checkbox.tsx","../src/hooks/use-breakpoint.ts","../src/hooks/use-breakpoint-value.ts","../src/hooks/use-form-field.ts","../src/hooks/use-stable-id.ts","../src/hooks/use-safe-layout-effect.ts","../src/utils/html-attributes.ts","../src/components/_internal/form-parts.tsx","../src/components/divider/divider.tsx","../src/components/dropdown-menu/dropdown-menu.tsx","../src/components/dropdown-menu/dropdown-menu-content.tsx","../src/components/dropdown-menu/dropdown-menu-divider.tsx","../src/components/dropdown-menu/dropdown-menu-item.tsx","../src/components/dropdown-menu/dropdown-menu-trigger.tsx","../src/components/heading/heading.tsx","../src/components/hint-box/hint-box.tsx","../src/components/icon-button/icon-button.tsx","../src/components/icon-button/icon-button-styles.tsx","../src/components/text-field/text-field.tsx","../src/i18n/locales.ts","../src/i18n/use-translation.tsx","../src/components/label/label.tsx","../src/components/primitives/input-base/input-base.tsx","../src/components/link/link.tsx","../src/components/paragraph/paragraph.tsx","../src/components/primitives/select-base/select-base.tsx","../src/components/primitives/textarea-base/textarea-base.tsx","../src/components/radio-group/radio-group.tsx","../src/components/radio-group/radio-group-context.tsx","../src/components/radio-group/radio-card/radio-card.tsx","../src/components/radio-group/radio-indicator.tsx","../src/components/radio-group/radio-group-label.tsx","../src/utils/merge-refs.ts","../src/components/radio-group/radio-button/radio-button.tsx","../src/components/select/select.tsx","../src/components/select/select-option.tsx","../src/components/spacer/spacer.tsx","../src/components/stack/stack.tsx","../src/components/stack/stack.utils.tsx","../src/components/switch/switch.tsx","../src/components/textarea/textarea.tsx"],"names":["ThemeProvider","CacheProvider","createCache","breakpoints","core","colors","createStyleVariants","styles","theme","createStyle","pxToRem","px","getFormFieldBaseStyles","radii","typography","spacing","__spreadProps","__spreadValues","zIndices","sizes","shadows","fontStacks","foundations","mediaQueries","objectKeys","obj","overrideTypography","overrides","result","group","override","typographyGroup","key","deepMerge","target","source","overrideTheme","createContext","useContext","jsx","LocaleContext","LocaleProvider","language","children","useLocale","context","ToastPrimitive","useSyncExternalStore","styled","AnimatePresence","flushSync","ToastStore","subscriber","index","toast","_a","id","text","options","toastStore","motion","Children","forwardRef","StyledSvg","color","createIcon","viewBox","pathDefinition","displayName","path","Component","props","forwardedRef","size","rest","__objRest","useTheme","createLucideIcon","Icon","ref","_b","resolvedColor","toKebabCase","string","mergeClasses","classes","className","array","defaultAttributes","strokeWidth","absoluteStrokeWidth","iconNode","createElement","tag","attrs","iconName","__iconNode","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","BellOff","Bell","Bookmark","Calendar","Camera","Check","ChevronDown","ChevronLeft","ChevronRight","ChevronUp","CircleAlert","CircleCheck","CircleHelp","CircleX","EllipsisVertical","Ellipsis","Globe","Heart","History","House","Image","Info","ListFilter","List","LogOut","MapPin","Map","Menu","MessageCircle","Minus","Pen","Plus","Search","Settings2","Settings","Share","Star","Trash2","TriangleAlert","UserRound","X","AlertCircleIcon","AlertTriangleIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","ArrowUpIcon","BellIcon","BellOffIcon","BookmarkIcon","CalendarIcon","CameraIcon","CheckCircleIcon","CheckIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronUpIcon","GlobeIcon","HeartFilledIcon","HeartIcon","HelpCircleIcon","HistoryIcon","HomeIcon","ImageIcon","InfoIcon","ListIcon","ListFilterIcon","LogOutIcon","MapIcon","MapPinIcon","MenuIcon","MessageCircleIcon","MinusIcon","MoreHorizontalIcon","MoreVerticalIcon","PenIcon","PlusIcon","SearchIcon","SettingsIcon","ShareIcon","SlidersIcon","StarFilledIcon","StarIcon","TrashIcon","UserIcon","XCircleIcon","XIcon","getVariantStyles","jsxs","Wrapper","variant","Title","IconWrapper","ICON_MAP","Toast","Viewport","ToastProvider","toasts","isOpen","fallbackEmotionCache","QdsProvider","themeOverrides","emotionCache","locale","resolvedTheme","isPropValid","AvatarPrimitive","isResponsiveProp","value","objectEntries","toMediaQueries","prop","styleFn","base","cssObject","breakpoint","mediaQuery","SIZE_MAP","ICON_SIZE_MAP","TEXT_SIZE_MAP","getInitials","name","names","firstName","lastName","AvatarRoot","currentValue","AvatarImage","AvatarFallback","FallbackText","avatarSize","roundToTwoDecimals","num","StyledIcon","Avatar","src","restProps","keyframes","ANIMATION_DURATION","ANIMATION_STAGGER_DELAY","getSizeStyles","scaleAnimation","Dot","LoadingDots","NOT_DISABLED","ICON_GAP","ICON_OFFSET","IconLeftContainer","buttonSize","iconSize","IconRightContainer","ButtonIcon","placement","StyledButton","isFullWidth","ButtonLoadingDots","ContentContainer","isHidden","Button","as","type","sizeProp","isLoading","isDisabled","hasHtmlDisabledProp","iconLeft","iconRight","StyledDisplayText","textAlign","textWrap","DisplayText","CheckboxPrimitive","useEffect","useState","breakpointsArray","MEDIA_QUERIES","nextValue","media","getMatchingBreakpoint","matchingBreakpoint","useBreakpoint","params","ssr","initialBreakpoint","currentBreakpoint","setCurrentBreakpoint","matchMediaArray","handleChange","useBreakpointValue","values","breakpointValue","breakpointNames","currentBreakpointIndex","i","useCallback","React","useLayoutEffect","useSafeLayoutEffect","useReactId","count","useStableId","fixedId","setId","reactId","useFormField","idProp","helperText","errorMessage","isInvalid","isRequired","errorMessageId","helperTextId","getLabelProps","forwardedProps","getHelperTextProps","getErrorMessageProps","getFieldProps","ariaDescribedByIds","dataAttr","condition","ariaAttr","FieldWrapper","FormField","ErrorMessage","HelperText","CheckboxContainer","CheckboxRoot","LabelText","SupportingTextContainer","Checkbox","label","hasHtmlDefaultCheckedAttr","isDefaultCheckedProp","isCheckedProp","hasHtmlCheckedAttr","isDisabledProp","hasHtmlDisabledAttr","isRequiredProp","hasHtmlRequiredAttr","ariaLabelledByProp","ariaDescribedByProp","labelId","isDefaultChecked","isChecked","ariaLabelledBy","helperTextElement","hasError","errorMessageElement","ariaDescribedBy","ev","StyledDivider","orientation","borderCssKey","Divider","DropdownPrimitive","slideUpAndFadeIn","slideRightAndFadeIn","slideDownAndFadeIn","slideLeftAndFadeIn","slideUpAndFadeOut","slideRightAndFadeOut","slideDownAndFadeOut","slideLeftAndFadeOut","StyledContent","DropdownMenuContent","sideOffset","StyledSeparator","DropdownMenuDivider","StyledItem","TextContainer","DropdownMenuItem","disabled","DropdownTriggerPrimitive","DropdownMenuTrigger","DropdownMenuRoot","onOpenChange","defaultOpen","DropdownMenu","StyledHeading","numberOfLines","Heading","HintRoot","HintBox","IconButton","ariaLabel","useRef","en","sv","fi","fr","nb","locales","useTranslation","currentLanguage","StyledLabel","Label","onMouseDown","event","StyledInput","InputBase","InputContainer","isPositionRelative","OptionalText","Suffix","TextField","isOptionalProp","suffix","getInputProps","suffixWidth","setSuffixWidth","suffixRef","t","hasSuffix","isOptional","StyledLink","Link","href","isExternal","StyledParagraph","Paragraph","SelectWrapper","SelectIconWrapper","StyledSelect","SelectBase","placeholder","StyledTextarea","resize","minRows","baseStyles","paddingVertical","minHeight","TextareaBase","RadioGroupPrimitive","RadioGroupContext","RadioGroupProvider","useRadioGroupContext","consumerName","StyledRadioIndicator","RadioIndicator","RadioItem","RadioCard","onMouseEnter","onMouseLeave","isHovered","setIsHovered","assignRef","mergeRefs","refs","node","RadioGroupLabel","labelRefCallback","RadioButtonContainer","RadioButton","isGroupDisabled","StyledRadioGroupRoot","RadioGroupRoot","labelElement","setLabelElement","RadioGroup","SelectOption","SelectRoot","getSelectProps","Select","StyledSpan","axis","resolvedValue","Spacer","Fragment","isValidElement","getValidChildren","child","StyledStack","wrap","gap","justifyContent","alignItems","direction","Stack","divider","resolvedChildren","validChildren","currentDivider","RadixSwitch","Switch","onCheckedChange","hasHelperText","SwitchWrapper","SwitchTexts","SwitchLabel","SwitchHelperText","SwitchRoot","SwitchThumb","Textarea","getTextareaProps"],"mappings":"mmBAAA,OAAS,iBAAAA,GAAe,iBAAAC,OAAwC,iBAEhE,OAAOC,OAAiB,iBCFjB,IAAMC,GAAc,CACzB,KAAM,EACN,GAAI,IACJ,GAAI,IACJ,GAAI,KACJ,GAAI,KACJ,MAAO,IACT,ECPA,IAAMC,EAAO,CACX,MAAO,UACP,MAAO,UAEP,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,KAAM,UACN,OAAQ,UACR,WAAY,UACZ,YAAa,UAEb,MAAO,UACP,UAAW,UACX,WAAY,UAEZ,SAAU,UACV,aAAc,UACd,cAAe,UAEf,SAAU,UAEV,WAAY,UAEZ,WAAY,UAEZ,MAAO,UACP,MAAO,UACP,MAAO,UACP,MAAO,UACP,MAAO,UACP,MAAO,UACP,MAAO,UACP,MAAO,UACP,MAAO,UAEP,QAAS,UACT,QAAS,UACT,QAAS,UACT,QAAS,UACT,QAAS,UACT,QAAS,UACT,QAAS,UACT,QAAS,UACT,QAAS,UAET,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,OAAQ,UAER,SAAU,UACV,SAAU,UACV,SAAU,UACV,SAAU,UACV,SAAU,UACV,SAAU,UACV,SAAU,UACV,SAAU,UACV,SAAU,UAEV,YAAa,sBACb,aAAc,qBACd,aAAc,oBAChB,EAEaC,GAAS,CACpB,KAAAD,EACA,GAAI,CACF,QAASA,EAAK,MACd,aAAcA,EAAK,OACnB,kBAAmBA,EAAK,YACxB,mBAAoBA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EAAA,GAAiB4S,EAAqB,GAAtC,CAA0C,SAAAR,GAAa,EACtD,KAEE0G,EAAa,GAAQ,CAACxG,GAAcgG,GAE1C,OACEzN,GAACsI,GAAA,CACC,UAAAtI,GAAC+M,GAAA7X,EAAAC,EAAA,GAAUyS,EAAc,GAAxB,CACE,UAAAkB,EACAmF,GAAcxX,GAAC6W,GAAA,CAAc,cAAKS,EAAE,UAAU,CAAC,IAAI,IACtD,EACAtX,GAAC0Y,GAAAha,EAAA,CAAa,IAAKuD,GAAkBua,EAAiBjQ,CAAS,EAAG,EACjE+G,GAAuBF,GAC1B,CAEJ,CAAC","sourcesContent":["import { ThemeProvider, CacheProvider, type EmotionCache } from '@emotion/react'\nimport type { ReactNode } from 'react'\nimport createCache from '@emotion/cache'\n\nimport type { ThemeOverrides } from './theme'\nimport { overrideTheme, theme } from './theme'\nimport { LocaleProvider } from './i18n/locale-context'\nimport type { LanguageCode } from './i18n/locales'\nimport { ToastProvider } from './components/toast/toast-provider'\n\nconst fallbackEmotionCache = createCache({ key: 'qds' })\ninterface QdsProviderProps {\n children: ReactNode\n themeOverrides?: ThemeOverrides\n emotionCache?: EmotionCache\n locale: LanguageCode\n}\n\nexport function QdsProvider({ children, themeOverrides, emotionCache, locale }: QdsProviderProps) {\n const resolvedTheme = themeOverrides ? overrideTheme(themeOverrides) : theme\n\n const cache = emotionCache || fallbackEmotionCache\n\n return (\n <LocaleProvider language={locale || 'en'}>\n <CacheProvider value={cache}>\n <ThemeProvider theme={resolvedTheme}>\n <ToastProvider>{children}</ToastProvider>\n </ThemeProvider>\n </CacheProvider>\n </LocaleProvider>\n )\n}\n","export const breakpoints = {\n base: 0,\n sm: 480,\n md: 768,\n lg: 1024,\n xl: 1280,\n '2xl': 1536,\n} as const\n","const core = {\n black: '#000000',\n white: '#ffffff',\n\n gray90: '#26261D',\n gray80: '#424236',\n gray70: '#545448',\n gray60: '#78786C',\n gray50: '#A3A396',\n gray40: '#D6D6CD',\n gray30: '#E5E5DF',\n gray20: '#F0F0EB',\n gray10: '#F9F9F6',\n pink: '#FF84B6',\n uiPink: '#FF99C2',\n uiPinkDark: '#FF84B6',\n uiPinkLight: '#FFA3C8',\n\n brown: '#342620',\n brownDark: '#2A1E1A',\n brownLight: '#3C2F29',\n\n offWhite: '#F0F0EB',\n offWhiteDark: '#E0E0D6',\n offWhiteLight: '#F6F6F3',\n\n softPink: '#FFE8F0',\n\n warmYellow: '#FFD66C',\n\n softYellow: '#FFF8CC',\n\n red90: '#8A1100',\n red80: '#A81400',\n red70: '#C21700',\n red60: '#DE1B00',\n red50: '#EF452E',\n red40: '#F47E6E',\n red30: '#F8B2A8',\n red20: '#FAD8D4',\n red10: '#FEF3F1',\n\n green90: '#00661D',\n green80: '#007D23',\n green70: '#009029',\n green60: '#00A62F',\n green50: '#30B757',\n green40: '#66CA82',\n green30: '#A1DEB2',\n green20: '#D1EFDA',\n green10: '#F5FBF7',\n\n blue90: '#00288E',\n blue80: '#0039CC',\n blue70: '#0045F6',\n blue60: '#3370FF',\n blue50: '#578FFF',\n blue40: '#80AEFF',\n blue30: '#BDD7FF',\n blue20: '#DBEBFF',\n blue10: '#F0F7FF',\n\n yellow90: '#9B6D00',\n yellow80: '#C58B00',\n yellow70: '#E29F00',\n yellow60: '#F3AB00',\n yellow50: '#F5B92B',\n yellow40: '#F7C652',\n yellow30: '#F9D682',\n yellow20: '#FBE6B2',\n yellow10: '#FEF7E5',\n\n blackAlpha5: 'rgba(0, 0, 0, 0.05)',\n blackAlpha10: 'rgba(0, 0, 0, 0.1)',\n blackAlpha20: 'rgba(0, 0, 0, 0.2)',\n}\n\nexport const colors = {\n core,\n bg: {\n default: core.white,\n brandPrimary: core.uiPink,\n brandPrimaryHover: core.uiPinkLight,\n brandPrimaryActive: core.uiPinkDark,\n brandSecondary: core.brown,\n brandSecondaryHover: core.brownLight,\n brandSecondaryActive: core.brownDark,\n brandTertiary: core.offWhite,\n brandTertiaryHover: core.offWhiteLight,\n brandTertiaryActive: core.offWhiteDark,\n negative: core.red60,\n warning: core.yellow60,\n positive: core.green60,\n inset: core.gray10,\n backdrop: core.blackAlpha20,\n },\n text: {\n strong: core.black,\n default: core.brown,\n subtle: core.gray60,\n disabled: core.gray50,\n negative: core.red60,\n warning: core.yellow90,\n positive: core.green70,\n onBrandPrimary: core.brown,\n onBrandSecondary: core.offWhite,\n onBrandTertiary: core.brown,\n },\n icon: {\n default: core.brown,\n strong: core.black,\n subtle: core.gray60,\n disabled: core.gray50,\n negative: core.red60,\n warning: core.yellow70,\n positive: core.green70,\n onBrandPrimary: core.brown,\n onBrandSecondary: core.offWhite,\n onBrandTertiary: core.brown,\n },\n border: {\n default: core.gray30,\n defaultHover: core.gray40,\n defaultSelected: core.brown,\n strong: core.gray40,\n subtle: core.gray20,\n negative: core.red60,\n warning: core.yellow60,\n positive: core.green60,\n },\n}\n","import type { CSSObject } from '@emotion/react'\n\nimport type { Theme } from '../theme'\n\ntype NamedStyles = Record<string, CSSObject>\ntype StyleInterpolation<T> = (theme: Theme) => T\n// TODO: Make `createstyleVariants`and `createStyle` accept a regular object instead of a function.\n// And infer if the return requires a theme or not.\n\n/**\n * Creates a collection of named style rules.\n */\nexport function createStyleVariants<T extends NamedStyles>(styles: StyleInterpolation<T>) {\n return (theme: Theme) => styles(theme)\n}\n\n/**\n * Create a style object. Useful for creating styles that depend on the theme.\n */\nexport function createStyle<T extends CSSObject>(styles: StyleInterpolation<T>) {\n return (theme: Theme) => styles(theme)\n}\n\nexport type VariantProps<T extends ReturnType<typeof createStyle | typeof createStyleVariants>> =\n keyof ReturnType<T>\n\n/**\n * Converts css `px` unit to `rem`.\n * Assumes the root font size is 16px.\n */\nexport const pxToRem = (px: number) => `${px / 16}rem`\n","import { createStyle } from './css-utils'\n\nexport const getFormFieldBaseStyles = createStyle(({ colors, radii, typography, spacing }) => ({\n width: '100%',\n minWidth: 0,\n appearance: 'none',\n paddingLeft: spacing['4x'],\n paddingRight: spacing['4x'],\n border: `1px solid ${colors.border.default}`,\n borderRadius: radii.sm,\n backgroundColor: colors.bg.default,\n color: colors.text.default,\n WebkitTouchCallout: 'none',\n WebkitTapHighlightColor: 'transparent',\n '&::-webkit-date-and-time-value': {\n textAlign: 'left',\n },\n alignItems: 'center',\n ...typography.body.md,\n\n '&::placeholder': {\n color: colors.text.disabled,\n },\n '&:hover': {\n borderColor: colors.border.defaultHover,\n },\n '&:focus': {\n outline: 0,\n borderColor: colors.border.defaultSelected,\n boxShadow: `0 0 0 1px ${colors.border.defaultSelected}`,\n },\n '&[aria-invalid=\"true\"]': {\n borderColor: colors.border.negative,\n\n '&:focus': {\n boxShadow: `0 0 0 1px ${colors.border.negative}`,\n },\n },\n '&[disabled], &:disabled, &[data-disabled]': {\n opacity: 0.4,\n borderColor: colors.border.default,\n },\n\n transitionProperty: 'opacity, border-color, box-shadow',\n transitionDuration: '120ms',\n transitionTimingFunction: 'ease',\n}))\n","import { pxToRem } from '../../styles'\n\nexport const spacing = {\n /** 0rem (0px) */\n '0x': pxToRem(0),\n /** 0.25rem (4px) */\n '1x': pxToRem(4),\n /** 0.5rem (8px) */\n '2x': pxToRem(8),\n /** 0.75rem (12px) */\n '3x': pxToRem(12),\n /** 1rem (16px) */\n '4x': pxToRem(16),\n /** 1.25rem (20px) */\n '5x': pxToRem(20),\n /** 1.5rem (24px) */\n '6x': pxToRem(24),\n /** 2rem (32px) */\n '8x': pxToRem(32),\n /** 2.5rem (40px) */\n '10x': pxToRem(40),\n /** 3rem (48px) */\n '12x': pxToRem(48),\n /** 3.5rem (56px) */\n '14x': pxToRem(56),\n /** 4rem (64px) */\n '16x': pxToRem(64),\n /** 5rem (80px) */\n '20x': pxToRem(80),\n /** 6rem (96px) */\n '24x': pxToRem(96),\n}\n","export const zIndices = {\n /** -1 */\n hide: -1,\n /** auto */\n auto: 'auto',\n /** 0 */\n base: 0,\n /** 10 */\n docked: 10,\n /** 1000 */\n dropdown: 1000,\n /** 1100 */\n sticky: 1100,\n /** 1200 */\n banner: 1200,\n /** 1300 */\n overlay: 1300,\n /** 1400 */\n modal: 1400,\n /** 1500 */\n popover: 1500,\n /** 1600 */\n skipLink: 1600,\n /** 1700 */\n toast: 1700,\n /** 1800 */\n tooltip: 1800,\n}\n","import { pxToRem } from '../../styles'\n\nimport { spacing } from './spacing'\n\nexport const sizes = {\n ...spacing,\n 112: pxToRem(112),\n 128: pxToRem(128),\n 144: pxToRem(144),\n 160: pxToRem(160),\n 176: pxToRem(176),\n 192: pxToRem(192),\n 224: pxToRem(224),\n 256: pxToRem(256),\n 288: pxToRem(288),\n 320: pxToRem(320),\n 384: pxToRem(384),\n 448: pxToRem(448),\n 512: pxToRem(512),\n 576: pxToRem(576),\n 672: pxToRem(672),\n 768: pxToRem(768),\n 896: pxToRem(896),\n 1024: pxToRem(1024),\n}\n","export const radii = {\n /** 0px */\n none: '0px',\n /** 6px */\n '2xs': '6px',\n /** 8px */\n xs: '8px',\n /** 12px */\n sm: '12px',\n /** 16px */\n md: '16px',\n /** 24px */\n lg: '24px',\n /** 32px */\n xl: '32px',\n /** 48px */\n '2xl': '48px',\n /** 9999px */\n full: '9999px',\n}\n","export const shadows = {\n none: 'none',\n sm: '0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035)',\n md: '0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035), 0px 7px 16.8px 0px rgba(0, 0, 0, 0.0417)',\n lg: '0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035), 0px 7px 16.8px 0px rgba(0, 0, 0, 0.0417), 0px 13px 31.3px 0px rgba(0, 0, 0, 0.0503)',\n xl: '0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035), 0px 7px 16.8px 0px rgba(0, 0, 0, 0.0417), 0px 13px 31.3px 0px rgba(0, 0, 0, 0.0503), 0px 31px 75px 0px rgba(0, 0, 0, 0.07)',\n}\n","import { pxToRem } from '../../styles'\n\nconst fontStacks = {\n display: [\n 'var(--font-family-display)',\n 'Helvetica',\n '-apple-system',\n 'BlinkMacSystemFont',\n 'Roboto',\n '\"Helvetica Neue\"',\n 'sans-serif',\n ].join(','),\n sans: [\n 'var(--font-family-sans)',\n 'Helvetica',\n '-apple-system',\n 'BlinkMacSystemFont',\n 'Roboto',\n '\"Helvetica Neue\"',\n 'sans-serif',\n ].join(','),\n}\n\nexport const typography = {\n display: {\n '3xl': {\n fontFamily: fontStacks.display,\n fontWeight: '700',\n fontSize: pxToRem(80),\n lineHeight: pxToRem(80),\n letterSpacing: '-0.06em',\n fontFeatureSettings: \"'ss05' on\",\n },\n '2xl': {\n fontFamily: fontStacks.display,\n fontWeight: '700',\n fontSize: pxToRem(72),\n lineHeight: pxToRem(72),\n letterSpacing: '-0.06em',\n fontFeatureSettings: \"'ss05' on\",\n },\n xl: {\n fontFamily: fontStacks.display,\n fontWeight: '700',\n fontSize: pxToRem(64),\n lineHeight: pxToRem(64),\n letterSpacing: '-0.05em',\n fontFeatureSettings: \"'ss05' on\",\n },\n lg: {\n fontFamily: fontStacks.display,\n fontWeight: '700',\n fontSize: pxToRem(56),\n lineHeight: pxToRem(56),\n letterSpacing: '-0.05em',\n fontFeatureSettings: \"'ss05' on\",\n },\n md: {\n fontFamily: fontStacks.display,\n fontWeight: '700',\n fontSize: pxToRem(48),\n lineHeight: pxToRem(48),\n letterSpacing: '-0.04em',\n fontFeatureSettings: \"'ss05' on\",\n },\n sm: {\n fontFamily: fontStacks.display,\n fontWeight: '700',\n fontSize: pxToRem(40),\n lineHeight: pxToRem(44),\n letterSpacing: '-0.04em',\n fontFeatureSettings: \"'ss05' on\",\n },\n xs: {\n fontFamily: fontStacks.display,\n fontWeight: '700',\n fontSize: pxToRem(32),\n lineHeight: pxToRem(36),\n letterSpacing: '-0.03em',\n fontFeatureSettings: \"'ss05' on\",\n },\n '2xs': {\n fontFamily: fontStacks.display,\n fontWeight: '700',\n fontSize: pxToRem(28),\n lineHeight: pxToRem(32),\n letterSpacing: '-0.03em',\n fontFeatureSettings: \"'ss05' on\",\n },\n },\n title: {\n lg: {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(32),\n lineHeight: pxToRem(36),\n letterSpacing: '-0.02em',\n },\n md: {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(24),\n lineHeight: pxToRem(28),\n letterSpacing: '-0.02em',\n },\n sm: {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(20),\n lineHeight: pxToRem(24),\n letterSpacing: '-0.02em',\n },\n xs: {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(18),\n lineHeight: pxToRem(22),\n letterSpacing: '-0.015em',\n },\n '2xs': {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(16),\n lineHeight: pxToRem(20),\n letterSpacing: '-0.01em',\n },\n '3xs': {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(14),\n lineHeight: pxToRem(18),\n letterSpacing: '-0.005em',\n },\n },\n body: {\n xl: {\n fontFamily: fontStacks.sans,\n fontWeight: '400',\n fontSize: pxToRem(20),\n lineHeight: pxToRem(28),\n letterSpacing: '-0.02em',\n },\n lg: {\n fontFamily: fontStacks.sans,\n fontWeight: '400',\n fontSize: pxToRem(18),\n lineHeight: pxToRem(26),\n letterSpacing: '-0.02em',\n },\n md: {\n fontFamily: fontStacks.sans,\n fontWeight: '400',\n fontSize: pxToRem(16),\n lineHeight: pxToRem(24),\n letterSpacing: '-0.01em',\n },\n sm: {\n fontFamily: fontStacks.sans,\n fontWeight: '400',\n fontSize: pxToRem(14),\n lineHeight: pxToRem(20),\n letterSpacing: '-0.01em',\n },\n xs: {\n fontFamily: fontStacks.sans,\n fontWeight: '400',\n fontSize: pxToRem(12),\n lineHeight: pxToRem(16),\n letterSpacing: '0',\n },\n },\n label: {\n md: {\n fontFamily: fontStacks.sans,\n fontWeight: '500',\n fontSize: pxToRem(16),\n lineHeight: pxToRem(20),\n letterSpacing: '-0.02em',\n },\n sm: {\n fontFamily: fontStacks.sans,\n fontWeight: '500',\n fontSize: pxToRem(14),\n lineHeight: pxToRem(18),\n letterSpacing: '-0.01em',\n },\n },\n button: {\n md: {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(16),\n lineHeight: pxToRem(18),\n letterSpacing: '-0.01em',\n },\n sm: {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(14),\n lineHeight: pxToRem(16),\n letterSpacing: '-0.01em',\n },\n },\n caption: {\n md: {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(12),\n lineHeight: pxToRem(12),\n letterSpacing: '0',\n },\n sm: {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(10),\n lineHeight: pxToRem(10),\n letterSpacing: '0',\n },\n },\n}\n","/**\n * ------ IMPORTANT ------\n * Do not change or add to the contents of this file\n * without consulting with the design team.\n *\n * These are values that make up our brand and even\n * minor changes greatly affects our visual identity.\n *\n * The foundations are losely based on Styled System Theme Specification\n * @see https://styled-system.com/theme-specification/\n * -----------------------\n */\n\nimport { breakpoints } from './breakpoints'\nimport { colors } from './colors'\nimport { spacing } from './spacing'\nimport { zIndices } from './z-index'\nimport { sizes } from './sizes'\nimport { radii } from './radius'\nimport { shadows } from './shadows'\nimport { typography } from './typography'\n\nexport const foundations = {\n spacing,\n breakpoints,\n zIndices,\n colors,\n sizes,\n radii,\n shadows,\n typography,\n}\n","import { foundations } from './foundations'\n\nconst mediaQueries = {\n smUp: `@media(min-width: ${foundations.breakpoints.sm}px)`,\n mdUp: `@media(min-width: ${foundations.breakpoints.md}px)`,\n lgUp: `@media(min-width: ${foundations.breakpoints.lg}px)`,\n xlUp: `@media(min-width: ${foundations.breakpoints.xl}px)`,\n '2xlUp': `@media(min-width: ${foundations.breakpoints['2xl']}px)`,\n} as const\n\nexport const theme = { ...foundations, mediaQueries }\nexport type Theme = typeof theme\n","export const objectKeys = <T extends object>(obj: T): (keyof T)[] => {\n return Object.keys(obj) as (keyof T)[]\n}\n","import type { LegitimateAny, PartialRecord } from '../types'\nimport { objectKeys } from '../utils/object'\n\nimport type { Theme } from './theme'\nimport { theme } from './theme'\n\ntype DeepPartial<T> = { [P in keyof T]?: DeepPartial<T[P]> }\n\ninterface TypographyOverride {\n fontFamily?: string\n fontWeight?: '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'\n}\n\ntype TypographyOverrides = PartialRecord<keyof Theme['typography'], TypographyOverride>\n\nconst overrideTypography = (overrides: TypographyOverrides): Theme['typography'] => {\n const result = Object.assign({}, theme.typography)\n\n objectKeys(result).forEach((group) => {\n const override = overrides[group]\n if (override) {\n const typographyGroup = result[group]\n objectKeys(typographyGroup).forEach((key) => {\n typographyGroup[key].fontFamily = override.fontFamily || typographyGroup[key].fontFamily\n typographyGroup[key].fontWeight = override.fontWeight || typographyGroup[key].fontWeight\n })\n }\n })\n\n return result\n}\n\nconst deepMerge = <T extends Record<string, LegitimateAny>>(\n target: T,\n source: DeepPartial<T>,\n): T => {\n const result = Object.assign({}, target)\n\n objectKeys(source).forEach((key) => {\n if (typeof source[key] === 'object') {\n result[key] = deepMerge(result[key], source[key])\n } else {\n // @ts-expect-error\n result[key] = source[key]\n }\n })\n\n return result\n}\n\nexport interface ThemeOverrides {\n colors?: DeepPartial<Theme['colors']>\n typography?: TypographyOverrides\n}\n\nexport const overrideTheme = (overrides: ThemeOverrides) => {\n let typography = theme.typography\n let colors = theme.colors\n\n if (overrides.typography) {\n typography = overrideTypography(overrides.typography)\n }\n\n if (overrides.colors) {\n colors = deepMerge(theme.colors, overrides.colors)\n }\n\n return { ...theme, typography, colors }\n}\n","import { createContext, useContext } from 'react'\n\nimport type { LanguageCode } from './locales'\n\ninterface LocaleContextValue {\n currentLanguage: LanguageCode\n}\n\nconst LocaleContext = createContext<LocaleContextValue | undefined>(undefined)\n\ninterface LocaleProviderProps {\n language: LanguageCode\n children: React.ReactNode\n}\nexport function LocaleProvider({ language, children }: LocaleProviderProps) {\n return (\n <LocaleContext.Provider value={{ currentLanguage: language }}>\n {children}\n </LocaleContext.Provider>\n )\n}\n\nexport function useLocale() {\n const context = useContext(LocaleContext)\n if (!context) {\n throw new Error('useLocale must be used within a LocaleProvider')\n }\n\n return context\n}\n","import * as ToastPrimitive from '@radix-ui/react-toast'\nimport { useSyncExternalStore } from 'react'\nimport type { ReactNode } from 'react'\nimport styled from '@emotion/styled'\nimport { AnimatePresence } from 'motion/react'\n\nimport { toastStore } from './toast-store'\nimport { Toast } from './toast'\n\n/**\n * We style a separate div as a child for Radix Viewport in order to meet the QDS accessibility requirements\n * Radix uses <ol> and <li> elements for Toast elements in combination with role=\"status\", which is not allowed according to a11y standards\n * @see https://github.com/radix-ui/primitives/issues/1750\n */\nconst Viewport = styled.div(({ theme }) => ({\n position: 'fixed',\n bottom: theme.spacing['12x'],\n left: '50%',\n transform: 'translateX(-50%)',\n zIndex: theme.zIndices.toast,\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing['2x'],\n width: `calc(100vw - ${theme.spacing['8x']})`,\n [theme.mediaQueries.smUp]: {\n width: theme.sizes[320],\n },\n}))\n\nexport function ToastProvider({ children }: { children: ReactNode }) {\n const toasts = useSyncExternalStore(\n toastStore.subscribe,\n toastStore.getSnapshot,\n toastStore.getSnapshot,\n )\n\n return (\n <ToastPrimitive.Provider>\n {children}\n <AnimatePresence>\n {toasts.map(({ id, text, variant }) => (\n <Toast\n key={id}\n text={text}\n variant={variant}\n onOpenChange={(isOpen) => {\n if (!isOpen) {\n toastStore.remove(id)\n }\n }}\n />\n ))}\n </AnimatePresence>\n <ToastPrimitive.Viewport asChild>\n <Viewport />\n </ToastPrimitive.Viewport>\n </ToastPrimitive.Provider>\n )\n}\n","import { flushSync } from 'react-dom'\n\nimport type { ToastVariant } from './toast-styles'\n\ntype Id = number | string\ninterface Toast {\n id: Id\n /**\n * The text for the toast\n */\n text: string\n /**\n * Sets the style variant of the toast, currently supports 'neutral' and 'negative'\n * @default 'neutral'\n */\n variant?: ToastVariant\n}\ninterface ToastOptions {\n /**\n * Unique identifier for the toast (can be used for removing it prematurely). If a toast with this\n * identifier already exists it will be removed before the new toast is added.\n * @default a random unique id will be set and returned\n */\n id?: Id\n}\n\ntype Subscriber = () => void\nclass ToastStore {\n toasts: Toast[]\n subscribers: Subscriber[]\n id: number\n\n constructor() {\n this.subscribers = []\n this.toasts = []\n this.id = 0\n }\n\n subscribe = (subscriber: Subscriber) => {\n this.subscribers.push(subscriber)\n\n return () => {\n const index = this.subscribers.indexOf(subscriber)\n this.subscribers.splice(index, 1)\n }\n }\n\n notify = () => {\n this.subscribers.forEach((subscriber) => subscriber())\n }\n\n add = (toast: Omit<Toast, 'id'> & ToastOptions) => {\n /*\n * Update to use the window.crypto.randomUUIC() method here after some time when we are sure that all the relevant browsers support it.\n */\n this.id = this.id + 1\n const id = toast.id ?? this.id\n if (toast.id) {\n // NOTE: if the toast.id is set we remove any toast with the same identifier\n this.toasts = this.toasts.filter((toast) => toast.id !== id)\n // we use flushSync to prevent batched state updates which would cause React to update the old\n // toast instead of removing it and adding a new one\n flushSync(() => {\n this.notify()\n })\n }\n this.toasts = [...this.toasts, { ...toast, id }]\n this.notify()\n\n return id\n }\n\n addNeutral = (text: string, options?: ToastOptions) => {\n return this.add({ text, variant: 'neutral', ...options })\n }\n\n addError = (text: string, options?: ToastOptions) => {\n return this.add({ text, variant: 'error', ...options })\n }\n\n remove = (id: Id) => {\n this.toasts = [...this.toasts.filter((toast) => toast.id !== id)]\n this.notify()\n }\n\n removeAll = () => {\n this.toasts = []\n this.notify()\n }\n\n getSnapshot = () => {\n return this.toasts\n }\n}\n\nexport const toastStore = new ToastStore()\n\nexport const toast = Object.assign(toastStore.addNeutral, {\n error: toastStore.addError,\n remove: toastStore.remove,\n removeAll: toastStore.removeAll,\n})\n","import * as ToastPrimitive from '@radix-ui/react-toast'\nimport styled from '@emotion/styled'\nimport { motion } from 'motion/react'\n\nimport type { HTMLQdsProps } from '../../types'\nimport { AlertCircleIcon } from '../icon'\n\nimport { getVariantStyles } from './toast-styles'\nimport type { ToastVariant } from './toast-styles'\n\n/**\n * We style a separate div as a child for Radix Toast.Root in order to meet the QDS accessibility requirements & animate it\n * Radix uses <ol> and <li> elements for Toast elements in combination with role=\"status\", which is not allowed according to a11y standards\n * @see https://github.com/radix-ui/primitives/issues/1750\n */\nconst Wrapper = styled(motion.div)<{ variant: ToastVariant }>(({ theme, variant }) => ({\n borderRadius: theme.radii.md,\n paddingInline: theme.spacing['4x'],\n paddingBlock: theme.spacing['3x'],\n display: 'flex',\n flexDirection: 'row',\n gap: theme.spacing['3x'],\n boxShadow: theme.shadows.lg,\n ...getVariantStyles(theme)[variant],\n}))\n\nconst Title = styled(ToastPrimitive.Title)(({ theme }) => ({\n ...theme.typography.label.md,\n}))\n\nconst IconWrapper = styled.div({\n marginTop: 1,\n flexShrink: 0,\n})\n\nconst ICON_MAP = {\n neutral: undefined,\n error: AlertCircleIcon,\n}\n\ninterface ToastOptions {\n text: string\n variant?: ToastVariant\n}\n\ntype OmittedProps = 'children'\ninterface ToastProps extends Omit<HTMLQdsProps<'div'>, OmittedProps>, ToastOptions {}\n\nexport function Toast(props: ToastProps & ToastPrimitive.ToastProps) {\n const { text, variant = 'neutral', ...rest } = props\n\n const Icon = ICON_MAP[variant]\n\n return (\n <ToastPrimitive.Root asChild forceMount {...rest}>\n <Wrapper\n variant={variant}\n layout\n initial={{ opacity: 0, y: 20 }}\n animate={{ opacity: 1, y: 0 }}\n exit={{ opacity: 0 }}\n transition={{ y: { type: 'spring', bounce: 0.1 } }}\n >\n {Icon && (\n <IconWrapper>\n <Icon size={16} color=\"onBrandSecondary\" />\n </IconWrapper>\n )}\n <Title>{text}</Title>\n </Wrapper>\n </ToastPrimitive.Root>\n )\n}\n","/**\n * This function is heavily inspired by the `createIcon` function from\n * Chakra UI (https://chakra-ui.com/).\n */\n\nimport styled from '@emotion/styled'\nimport { Children, forwardRef } from 'react'\n\nimport type { IconOptions, IconProps } from './icon.types'\n\nconst StyledSvg = styled.svg<IconOptions>(({ theme, color = 'default' }) => ({\n color: color === 'currentColor' ? 'currentcolor' : theme.colors.icon[color],\n display: 'inline-block',\n lineHeight: '1em',\n}))\n\nexport interface CreateIconOptions {\n /**\n * The `svg`'s `viewBox` attribute\n */\n viewBox: string\n /**\n * If the `svg` has a single path, simply copy the path's `d` attribute\n */\n d?: string\n /**\n * The `svg` path or group element\n *\n * @example\n * ```jsx\n * createIcon({\n * viewBox: '0 0 512 512',\n * path: [\n * <circle cx=\"50\" cy=\"50\" r=\"50\" />,\n * <path d=\"M10 10\" />,\n * ],\n * displayName: 'ExampleIcon',\n * })\n * ```\n */\n path?: React.ReactElement | React.ReactElement[]\n /**\n * The display name of the icon. Useful for debugging\n * and internal use.\n */\n displayName?: string\n}\n\n/**\n * Helper function to create an icon component.\n */\nexport const createIcon = (options: CreateIconOptions) => {\n const { viewBox, d: pathDefinition, displayName = 'UnnamedIcon' } = options\n const path = Children.toArray(options.path)\n\n const Component = forwardRef<SVGSVGElement, IconProps>((props, forwardedRef) => {\n const { size = 24, ...rest } = props\n return (\n <StyledSvg\n ref={forwardedRef}\n xmlns=\"http://www.w3.org/2000/svg\"\n width={size}\n height={size}\n focusable=\"false\"\n viewBox={viewBox}\n fill=\"currentColor\"\n {...rest}\n >\n {path.length ? path : <path fill=\"currentColor\" d={pathDefinition} />}\n </StyledSvg>\n )\n })\n\n Component.displayName = displayName\n\n return Component\n}\n","import { useTheme } from '@emotion/react'\nimport type { LucideIcon } from 'lucide-react'\nimport { forwardRef } from 'react'\n\nimport type { IconProps } from './icon.types'\n\nexport const createLucideIcon = (Icon: LucideIcon) => {\n const Component = forwardRef<SVGSVGElement, IconProps>(\n ({ size = 24, color = 'default', ...props }, ref) => {\n const theme = useTheme()\n const resolvedColor = color === 'currentColor' ? 'currentcolor' : theme.colors.icon[color]\n\n return (\n <Icon\n ref={ref}\n size={size}\n strokeWidth={2}\n // Always keep a minimum stroke width of 2px\n absoluteStrokeWidth={size < 24}\n color={resolvedColor}\n {...props}\n />\n )\n },\n )\n\n Component.displayName = Icon.displayName\n\n return Component\n}\n","import { CamelToPascal } from './utility-types';\n\n/**\n * Converts string to kebab case\n *\n * @param {string} string\n * @returns {string} A kebabized string\n */\nexport const toKebabCase = (string: string) =>\n string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n\n/**\n * Converts string to camel case\n *\n * @param {string} string\n * @returns {string} A camelized string\n */\nexport const toCamelCase = <T extends string>(string: T) =>\n string.replace(/^([A-Z])|[\\s-_]+(\\w)/g, (match, p1, p2) =>\n p2 ? p2.toUpperCase() : p1.toLowerCase(),\n );\n\n/**\n * Converts string to pascal case\n *\n * @param {string} string\n * @returns {string} A pascalized string\n */\nexport const toPascalCase = <T extends string>(string: T): CamelToPascal<T> => {\n const camelCase = toCamelCase(string);\n\n return (camelCase.charAt(0).toUpperCase() + camelCase.slice(1)) as CamelToPascal<T>;\n};\n\n/**\n * Merges classes into a single string\n *\n * @param {array} classes\n * @returns {string} A string of classes\n */\nexport const mergeClasses = <ClassType = string | undefined | null>(...classes: ClassType[]) =>\n classes\n .filter((className, index, array) => {\n return (\n Boolean(className) &&\n (className as string).trim() !== '' &&\n array.indexOf(className) === index\n );\n })\n .join(' ')\n .trim();\n","export default {\n xmlns: 'http://www.w3.org/2000/svg',\n width: 24,\n height: 24,\n viewBox: '0 0 24 24',\n fill: 'none',\n stroke: 'currentColor',\n strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n};\n","import { createElement, forwardRef } from 'react';\nimport defaultAttributes from './defaultAttributes';\nimport { IconNode, LucideProps } from './types';\nimport { mergeClasses } from '@lucide/shared';\n\ninterface IconComponentProps extends LucideProps {\n iconNode: IconNode;\n}\n\n/**\n * Lucide icon component\n *\n * @component Icon\n * @param {object} props\n * @param {string} props.color - The color of the icon\n * @param {number} props.size - The size of the icon\n * @param {number} props.strokeWidth - The stroke width of the icon\n * @param {boolean} props.absoluteStrokeWidth - Whether to use absolute stroke width\n * @param {string} props.className - The class name of the icon\n * @param {IconNode} props.children - The children of the icon\n * @param {IconNode} props.iconNode - The icon node of the icon\n *\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst Icon = forwardRef<SVGSVGElement, IconComponentProps>(\n (\n {\n color = 'currentColor',\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = '',\n children,\n iconNode,\n ...rest\n },\n ref,\n ) => {\n return createElement(\n 'svg',\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth,\n className: mergeClasses('lucide', className),\n ...rest,\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...(Array.isArray(children) ? children : [children]),\n ],\n );\n },\n);\n\nexport default Icon;\n","import { createElement, forwardRef } from 'react';\nimport { mergeClasses, toKebabCase } from '@lucide/shared';\nimport { IconNode, LucideProps } from './types';\nimport Icon from './Icon';\n\n/**\n * Create a Lucide icon component\n * @param {string} iconName\n * @param {array} iconNode\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst createLucideIcon = (iconName: string, iconNode: IconNode) => {\n const Component = forwardRef<SVGSVGElement, LucideProps>(({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(`lucide-${toKebabCase(iconName)}`, className),\n ...props,\n }),\n );\n\n Component.displayName = `${iconName}`;\n\n return Component;\n};\n\nexport default createLucideIcon;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 5v14', key: 's699le' }],\n ['path', { d: 'm19 12-7 7-7-7', key: '1idqje' }],\n];\n\n/**\n * @component @name ArrowDown\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgNXYxNCIgLz4KICA8cGF0aCBkPSJtMTkgMTItNyA3LTctNyIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/arrow-down\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowDown = createLucideIcon('ArrowDown', __iconNode);\n\nexport default ArrowDown;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm12 19-7-7 7-7', key: '1l729n' }],\n ['path', { d: 'M19 12H5', key: 'x3x0zl' }],\n];\n\n/**\n * @component @name ArrowLeft\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMTIgMTktNy03IDctNyIgLz4KICA8cGF0aCBkPSJNMTkgMTJINSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/arrow-left\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowLeft = createLucideIcon('ArrowLeft', __iconNode);\n\nexport default ArrowLeft;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M5 12h14', key: '1ays0h' }],\n ['path', { d: 'm12 5 7 7-7 7', key: 'xquz4c' }],\n];\n\n/**\n * @component @name ArrowRight\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNSAxMmgxNCIgLz4KICA8cGF0aCBkPSJtMTIgNSA3IDctNyA3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/arrow-right\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowRight = createLucideIcon('ArrowRight', __iconNode);\n\nexport default ArrowRight;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm5 12 7-7 7 7', key: 'hav0vg' }],\n ['path', { d: 'M12 19V5', key: 'x0mq9r' }],\n];\n\n/**\n * @component @name ArrowUp\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtNSAxMiA3LTcgNyA3IiAvPgogIDxwYXRoIGQ9Ik0xMiAxOVY1IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/arrow-up\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowUp = createLucideIcon('ArrowUp', __iconNode);\n\nexport default ArrowUp;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M10.268 21a2 2 0 0 0 3.464 0', key: 'vwvbt9' }],\n [\n 'path',\n {\n d: 'M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742',\n key: '178tsu',\n },\n ],\n ['path', { d: 'm2 2 20 20', key: '1ooewy' }],\n ['path', { d: 'M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05', key: '1hqiys' }],\n];\n\n/**\n * @component @name BellOff\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTAuMjY4IDIxYTIgMiAwIDAgMCAzLjQ2NCAwIiAvPgogIDxwYXRoIGQ9Ik0xNyAxN0g0YTEgMSAwIDAgMS0uNzQtMS42NzNDNC41OSAxMy45NTYgNiAxMi40OTkgNiA4YTYgNiAwIDAgMSAuMjU4LTEuNzQyIiAvPgogIDxwYXRoIGQ9Im0yIDIgMjAgMjAiIC8+CiAgPHBhdGggZD0iTTguNjY4IDMuMDFBNiA2IDAgMCAxIDE4IDhjMCAyLjY4Ny43NyA0LjY1MyAxLjcwNyA2LjA1IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/bell-off\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst BellOff = createLucideIcon('BellOff', __iconNode);\n\nexport default BellOff;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M10.268 21a2 2 0 0 0 3.464 0', key: 'vwvbt9' }],\n [\n 'path',\n {\n d: 'M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326',\n key: '11g9vi',\n },\n ],\n];\n\n/**\n * @component @name Bell\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTAuMjY4IDIxYTIgMiAwIDAgMCAzLjQ2NCAwIiAvPgogIDxwYXRoIGQ9Ik0zLjI2MiAxNS4zMjZBMSAxIDAgMCAwIDQgMTdoMTZhMSAxIDAgMCAwIC43NC0xLjY3M0MxOS40MSAxMy45NTYgMTggMTIuNDk5IDE4IDhBNiA2IDAgMCAwIDYgOGMwIDQuNDk5LTEuNDExIDUuOTU2LTIuNzM4IDcuMzI2IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/bell\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Bell = createLucideIcon('Bell', __iconNode);\n\nexport default Bell;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z', key: '1fy3hk' }],\n];\n\n/**\n * @component @name Bookmark\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMTkgMjEtNy00LTcgNFY1YTIgMiAwIDAgMSAyLTJoMTBhMiAyIDAgMCAxIDIgMnYxNnoiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/bookmark\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Bookmark = createLucideIcon('Bookmark', __iconNode);\n\nexport default Bookmark;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M8 2v4', key: '1cmpym' }],\n ['path', { d: 'M16 2v4', key: '4m81vk' }],\n ['rect', { width: '18', height: '18', x: '3', y: '4', rx: '2', key: '1hopcy' }],\n ['path', { d: 'M3 10h18', key: '8toen8' }],\n];\n\n/**\n * @component @name Calendar\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNOCAydjQiIC8+CiAgPHBhdGggZD0iTTE2IDJ2NCIgLz4KICA8cmVjdCB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHg9IjMiIHk9IjQiIHJ4PSIyIiAvPgogIDxwYXRoIGQ9Ik0zIDEwaDE4IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/calendar\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Calendar = createLucideIcon('Calendar', __iconNode);\n\nexport default Calendar;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z',\n key: '1tc9qg',\n },\n ],\n ['circle', { cx: '12', cy: '13', r: '3', key: '1vg3eu' }],\n];\n\n/**\n * @component @name Camera\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTQuNSA0aC01TDcgN0g0YTIgMiAwIDAgMC0yIDJ2OWEyIDIgMCAwIDAgMiAyaDE2YTIgMiAwIDAgMCAyLTJWOWEyIDIgMCAwIDAtMi0yaC0zbC0yLjUtM3oiIC8+CiAgPGNpcmNsZSBjeD0iMTIiIGN5PSIxMyIgcj0iMyIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/camera\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Camera = createLucideIcon('Camera', __iconNode);\n\nexport default Camera;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'M20 6 9 17l-5-5', key: '1gmf2c' }]];\n\n/**\n * @component @name Check\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjAgNiA5IDE3bC01LTUiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/check\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Check = createLucideIcon('Check', __iconNode);\n\nexport default Check;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm6 9 6 6 6-6', key: 'qrunsl' }]];\n\n/**\n * @component @name ChevronDown\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtNiA5IDYgNiA2LTYiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/chevron-down\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronDown = createLucideIcon('ChevronDown', __iconNode);\n\nexport default ChevronDown;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm15 18-6-6 6-6', key: '1wnfg3' }]];\n\n/**\n * @component @name ChevronLeft\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMTUgMTgtNi02IDYtNiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/chevron-left\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronLeft = createLucideIcon('ChevronLeft', __iconNode);\n\nexport default ChevronLeft;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm9 18 6-6-6-6', key: 'mthhwq' }]];\n\n/**\n * @component @name ChevronRight\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtOSAxOCA2LTYtNi02IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/chevron-right\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronRight = createLucideIcon('ChevronRight', __iconNode);\n\nexport default ChevronRight;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm18 15-6-6-6 6', key: '153udz' }]];\n\n/**\n * @component @name ChevronUp\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMTggMTUtNi02LTYgNiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/chevron-up\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronUp = createLucideIcon('ChevronUp', __iconNode);\n\nexport default ChevronUp;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['line', { x1: '12', x2: '12', y1: '8', y2: '12', key: '1pkeuh' }],\n ['line', { x1: '12', x2: '12.01', y1: '16', y2: '16', key: '4dfq90' }],\n];\n\n/**\n * @component @name CircleAlert\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8bGluZSB4MT0iMTIiIHgyPSIxMiIgeTE9IjgiIHkyPSIxMiIgLz4KICA8bGluZSB4MT0iMTIiIHgyPSIxMi4wMSIgeTE9IjE2IiB5Mj0iMTYiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/circle-alert\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleAlert = createLucideIcon('CircleAlert', __iconNode);\n\nexport default CircleAlert;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'm9 12 2 2 4-4', key: 'dzmm74' }],\n];\n\n/**\n * @component @name CircleCheck\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJtOSAxMiAyIDIgNC00IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/circle-check\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleCheck = createLucideIcon('CircleCheck', __iconNode);\n\nexport default CircleCheck;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3', key: '1u773s' }],\n ['path', { d: 'M12 17h.01', key: 'p32p05' }],\n];\n\n/**\n * @component @name CircleHelp\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJNOS4wOSA5YTMgMyAwIDAgMSA1LjgzIDFjMCAyLTMgMy0zIDMiIC8+CiAgPHBhdGggZD0iTTEyIDE3aC4wMSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/circle-help\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleHelp = createLucideIcon('CircleHelp', __iconNode);\n\nexport default CircleHelp;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'm15 9-6 6', key: '1uzhvr' }],\n ['path', { d: 'm9 9 6 6', key: 'z0biqf' }],\n];\n\n/**\n * @component @name CircleX\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJtMTUgOS02IDYiIC8+CiAgPHBhdGggZD0ibTkgOSA2IDYiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/circle-x\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleX = createLucideIcon('CircleX', __iconNode);\n\nexport default CircleX;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '1', key: '41hilf' }],\n ['circle', { cx: '12', cy: '5', r: '1', key: 'gxeob9' }],\n ['circle', { cx: '12', cy: '19', r: '1', key: 'lyex9k' }],\n];\n\n/**\n * @component @name EllipsisVertical\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxIiAvPgogIDxjaXJjbGUgY3g9IjEyIiBjeT0iNSIgcj0iMSIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjE5IiByPSIxIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/ellipsis-vertical\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst EllipsisVertical = createLucideIcon('EllipsisVertical', __iconNode);\n\nexport default EllipsisVertical;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '1', key: '41hilf' }],\n ['circle', { cx: '19', cy: '12', r: '1', key: '1wjl8i' }],\n ['circle', { cx: '5', cy: '12', r: '1', key: '1pcz8c' }],\n];\n\n/**\n * @component @name Ellipsis\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxIiAvPgogIDxjaXJjbGUgY3g9IjE5IiBjeT0iMTIiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iNSIgY3k9IjEyIiByPSIxIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/ellipsis\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Ellipsis = createLucideIcon('Ellipsis', __iconNode);\n\nexport default Ellipsis;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20', key: '13o1zl' }],\n ['path', { d: 'M2 12h20', key: '9i4pu4' }],\n];\n\n/**\n * @component @name Globe\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJNMTIgMmExNC41IDE0LjUgMCAwIDAgMCAyMCAxNC41IDE0LjUgMCAwIDAgMC0yMCIgLz4KICA8cGF0aCBkPSJNMiAxMmgyMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/globe\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Globe = createLucideIcon('Globe', __iconNode);\n\nexport default Globe;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z',\n key: 'c3ymky',\n },\n ],\n];\n\n/**\n * @component @name Heart\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTkgMTRjMS40OS0xLjQ2IDMtMy4yMSAzLTUuNUE1LjUgNS41IDAgMCAwIDE2LjUgM2MtMS43NiAwLTMgLjUtNC41IDItMS41LTEuNS0yLjc0LTItNC41LTJBNS41IDUuNSAwIDAgMCAyIDguNWMwIDIuMyAxLjUgNC4wNSAzIDUuNWw3IDdaIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/heart\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Heart = createLucideIcon('Heart', __iconNode);\n\nexport default Heart;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8', key: '1357e3' }],\n ['path', { d: 'M3 3v5h5', key: '1xhq8a' }],\n ['path', { d: 'M12 7v5l4 2', key: '1fdv2h' }],\n];\n\n/**\n * @component @name History\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMyAxMmE5IDkgMCAxIDAgOS05IDkuNzUgOS43NSAwIDAgMC02Ljc0IDIuNzRMMyA4IiAvPgogIDxwYXRoIGQ9Ik0zIDN2NWg1IiAvPgogIDxwYXRoIGQ9Ik0xMiA3djVsNCAyIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/history\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst History = createLucideIcon('History', __iconNode);\n\nexport default History;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8', key: '5wwlr5' }],\n [\n 'path',\n {\n d: 'M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z',\n key: '1d0kgt',\n },\n ],\n];\n\n/**\n * @component @name House\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTUgMjF2LThhMSAxIDAgMCAwLTEtMWgtNGExIDEgMCAwIDAtMSAxdjgiIC8+CiAgPHBhdGggZD0iTTMgMTBhMiAyIDAgMCAxIC43MDktMS41MjhsNy01Ljk5OWEyIDIgMCAwIDEgMi41ODIgMGw3IDUuOTk5QTIgMiAwIDAgMSAyMSAxMHY5YTIgMiAwIDAgMS0yIDJINWEyIDIgMCAwIDEtMi0yeiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/house\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst House = createLucideIcon('House', __iconNode);\n\nexport default House;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['rect', { width: '18', height: '18', x: '3', y: '3', rx: '2', ry: '2', key: '1m3agn' }],\n ['circle', { cx: '9', cy: '9', r: '2', key: 'af1f0g' }],\n ['path', { d: 'm21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21', key: '1xmnt7' }],\n];\n\n/**\n * @component @name Image\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cmVjdCB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHg9IjMiIHk9IjMiIHJ4PSIyIiByeT0iMiIgLz4KICA8Y2lyY2xlIGN4PSI5IiBjeT0iOSIgcj0iMiIgLz4KICA8cGF0aCBkPSJtMjEgMTUtMy4wODYtMy4wODZhMiAyIDAgMCAwLTIuODI4IDBMNiAyMSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/image\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Image = createLucideIcon('Image', __iconNode);\n\nexport default Image;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'M12 16v-4', key: '1dtifu' }],\n ['path', { d: 'M12 8h.01', key: 'e9boi3' }],\n];\n\n/**\n * @component @name Info\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJNMTIgMTZ2LTQiIC8+CiAgPHBhdGggZD0iTTEyIDhoLjAxIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/info\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Info = createLucideIcon('Info', __iconNode);\n\nexport default Info;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M3 6h18', key: 'd0wm0j' }],\n ['path', { d: 'M7 12h10', key: 'b7w52i' }],\n ['path', { d: 'M10 18h4', key: '1ulq68' }],\n];\n\n/**\n * @component @name ListFilter\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMyA2aDE4IiAvPgogIDxwYXRoIGQ9Ik03IDEyaDEwIiAvPgogIDxwYXRoIGQ9Ik0xMCAxOGg0IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/list-filter\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ListFilter = createLucideIcon('ListFilter', __iconNode);\n\nexport default ListFilter;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M3 12h.01', key: 'nlz23k' }],\n ['path', { d: 'M3 18h.01', key: '1tta3j' }],\n ['path', { d: 'M3 6h.01', key: '1rqtza' }],\n ['path', { d: 'M8 12h13', key: '1za7za' }],\n ['path', { d: 'M8 18h13', key: '1lx6n3' }],\n ['path', { d: 'M8 6h13', key: 'ik3vkj' }],\n];\n\n/**\n * @component @name List\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMyAxMmguMDEiIC8+CiAgPHBhdGggZD0iTTMgMThoLjAxIiAvPgogIDxwYXRoIGQ9Ik0zIDZoLjAxIiAvPgogIDxwYXRoIGQ9Ik04IDEyaDEzIiAvPgogIDxwYXRoIGQ9Ik04IDE4aDEzIiAvPgogIDxwYXRoIGQ9Ik04IDZoMTMiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/list\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst List = createLucideIcon('List', __iconNode);\n\nexport default List;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4', key: '1uf3rs' }],\n ['polyline', { points: '16 17 21 12 16 7', key: '1gabdz' }],\n ['line', { x1: '21', x2: '9', y1: '12', y2: '12', key: '1uyos4' }],\n];\n\n/**\n * @component @name LogOut\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNOSAyMUg1YTIgMiAwIDAgMS0yLTJWNWEyIDIgMCAwIDEgMi0yaDQiIC8+CiAgPHBvbHlsaW5lIHBvaW50cz0iMTYgMTcgMjEgMTIgMTYgNyIgLz4KICA8bGluZSB4MT0iMjEiIHgyPSI5IiB5MT0iMTIiIHkyPSIxMiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/log-out\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst LogOut = createLucideIcon('LogOut', __iconNode);\n\nexport default LogOut;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0',\n key: '1r0f0z',\n },\n ],\n ['circle', { cx: '12', cy: '10', r: '3', key: 'ilqhr7' }],\n];\n\n/**\n * @component @name MapPin\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjAgMTBjMCA0Ljk5My01LjUzOSAxMC4xOTMtNy4zOTkgMTEuNzk5YTEgMSAwIDAgMS0xLjIwMiAwQzkuNTM5IDIwLjE5MyA0IDE0Ljk5MyA0IDEwYTggOCAwIDAgMSAxNiAwIiAvPgogIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTAiIHI9IjMiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/map-pin\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst MapPin = createLucideIcon('MapPin', __iconNode);\n\nexport default MapPin;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z',\n key: '169xi5',\n },\n ],\n ['path', { d: 'M15 5.764v15', key: '1pn4in' }],\n ['path', { d: 'M9 3.236v15', key: '1uimfh' }],\n];\n\n/**\n * @component @name Map\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTQuMTA2IDUuNTUzYTIgMiAwIDAgMCAxLjc4OCAwbDMuNjU5LTEuODNBMSAxIDAgMCAxIDIxIDQuNjE5djEyLjc2NGExIDEgMCAwIDEtLjU1My44OTRsLTQuNTUzIDIuMjc3YTIgMiAwIDAgMS0xLjc4OCAwbC00LjIxMi0yLjEwNmEyIDIgMCAwIDAtMS43ODggMGwtMy42NTkgMS44M0ExIDEgMCAwIDEgMyAxOS4zODFWNi42MThhMSAxIDAgMCAxIC41NTMtLjg5NGw0LjU1My0yLjI3N2EyIDIgMCAwIDEgMS43ODggMHoiIC8+CiAgPHBhdGggZD0iTTE1IDUuNzY0djE1IiAvPgogIDxwYXRoIGQ9Ik05IDMuMjM2djE1IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/map\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Map = createLucideIcon('Map', __iconNode);\n\nexport default Map;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['line', { x1: '4', x2: '20', y1: '12', y2: '12', key: '1e0a9i' }],\n ['line', { x1: '4', x2: '20', y1: '6', y2: '6', key: '1owob3' }],\n ['line', { x1: '4', x2: '20', y1: '18', y2: '18', key: 'yk5zj1' }],\n];\n\n/**\n * @component @name Menu\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8bGluZSB4MT0iNCIgeDI9IjIwIiB5MT0iMTIiIHkyPSIxMiIgLz4KICA8bGluZSB4MT0iNCIgeDI9IjIwIiB5MT0iNiIgeTI9IjYiIC8+CiAgPGxpbmUgeDE9IjQiIHgyPSIyMCIgeTE9IjE4IiB5Mj0iMTgiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/menu\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Menu = createLucideIcon('Menu', __iconNode);\n\nexport default Menu;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M7.9 20A9 9 0 1 0 4 16.1L2 22Z', key: 'vv11sd' }],\n];\n\n/**\n * @component @name MessageCircle\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNy45IDIwQTkgOSAwIDEgMCA0IDE2LjFMMiAyMloiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/message-circle\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst MessageCircle = createLucideIcon('MessageCircle', __iconNode);\n\nexport default MessageCircle;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'M5 12h14', key: '1ays0h' }]];\n\n/**\n * @component @name Minus\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNSAxMmgxNCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/minus\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Minus = createLucideIcon('Minus', __iconNode);\n\nexport default Minus;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z',\n key: '1a8usu',\n },\n ],\n];\n\n/**\n * @component @name Pen\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEuMTc0IDYuODEyYTEgMSAwIDAgMC0zLjk4Ni0zLjk4N0wzLjg0MiAxNi4xNzRhMiAyIDAgMCAwLS41LjgzbC0xLjMyMSA0LjM1MmEuNS41IDAgMCAwIC42MjMuNjIybDQuMzUzLTEuMzJhMiAyIDAgMCAwIC44My0uNDk3eiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/pen\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Pen = createLucideIcon('Pen', __iconNode);\n\nexport default Pen;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M5 12h14', key: '1ays0h' }],\n ['path', { d: 'M12 5v14', key: 's699le' }],\n];\n\n/**\n * @component @name Plus\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNSAxMmgxNCIgLz4KICA8cGF0aCBkPSJNMTIgNXYxNCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/plus\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Plus = createLucideIcon('Plus', __iconNode);\n\nexport default Plus;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '11', cy: '11', r: '8', key: '4ej97u' }],\n ['path', { d: 'm21 21-4.3-4.3', key: '1qie3q' }],\n];\n\n/**\n * @component @name Search\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMSIgY3k9IjExIiByPSI4IiAvPgogIDxwYXRoIGQ9Im0yMSAyMS00LjMtNC4zIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/search\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Search = createLucideIcon('Search', __iconNode);\n\nexport default Search;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M20 7h-9', key: '3s1dr2' }],\n ['path', { d: 'M14 17H5', key: 'gfn3mx' }],\n ['circle', { cx: '17', cy: '17', r: '3', key: '18b49y' }],\n ['circle', { cx: '7', cy: '7', r: '3', key: 'dfmy0x' }],\n];\n\n/**\n * @component @name Settings2\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjAgN2gtOSIgLz4KICA8cGF0aCBkPSJNMTQgMTdINSIgLz4KICA8Y2lyY2xlIGN4PSIxNyIgY3k9IjE3IiByPSIzIiAvPgogIDxjaXJjbGUgY3g9IjciIGN5PSI3IiByPSIzIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/settings-2\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Settings2 = createLucideIcon('Settings2', __iconNode);\n\nexport default Settings2;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z',\n key: '1qme2f',\n },\n ],\n ['circle', { cx: '12', cy: '12', r: '3', key: '1v7zrd' }],\n];\n\n/**\n * @component @name Settings\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIuMjIgMmgtLjQ0YTIgMiAwIDAgMC0yIDJ2LjE4YTIgMiAwIDAgMS0xIDEuNzNsLS40My4yNWEyIDIgMCAwIDEtMiAwbC0uMTUtLjA4YTIgMiAwIDAgMC0yLjczLjczbC0uMjIuMzhhMiAyIDAgMCAwIC43MyAyLjczbC4xNS4xYTIgMiAwIDAgMSAxIDEuNzJ2LjUxYTIgMiAwIDAgMS0xIDEuNzRsLS4xNS4wOWEyIDIgMCAwIDAtLjczIDIuNzNsLjIyLjM4YTIgMiAwIDAgMCAyLjczLjczbC4xNS0uMDhhMiAyIDAgMCAxIDIgMGwuNDMuMjVhMiAyIDAgMCAxIDEgMS43M1YyMGEyIDIgMCAwIDAgMiAyaC40NGEyIDIgMCAwIDAgMi0ydi0uMThhMiAyIDAgMCAxIDEtMS43M2wuNDMtLjI1YTIgMiAwIDAgMSAyIDBsLjE1LjA4YTIgMiAwIDAgMCAyLjczLS43M2wuMjItLjM5YTIgMiAwIDAgMC0uNzMtMi43M2wtLjE1LS4wOGEyIDIgMCAwIDEtMS0xLjc0di0uNWEyIDIgMCAwIDEgMS0xLjc0bC4xNS0uMDlhMiAyIDAgMCAwIC43My0yLjczbC0uMjItLjM4YTIgMiAwIDAgMC0yLjczLS43M2wtLjE1LjA4YTIgMiAwIDAgMS0yIDBsLS40My0uMjVhMiAyIDAgMCAxLTEtMS43M1Y0YTIgMiAwIDAgMC0yLTJ6IiAvPgogIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjMiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/settings\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Settings = createLucideIcon('Settings', __iconNode);\n\nexport default Settings;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8', key: '1b2hhj' }],\n ['polyline', { points: '16 6 12 2 8 6', key: 'm901s6' }],\n ['line', { x1: '12', x2: '12', y1: '2', y2: '15', key: '1p0rca' }],\n];\n\n/**\n * @component @name Share\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNCAxMnY4YTIgMiAwIDAgMCAyIDJoMTJhMiAyIDAgMCAwIDItMnYtOCIgLz4KICA8cG9seWxpbmUgcG9pbnRzPSIxNiA2IDEyIDIgOCA2IiAvPgogIDxsaW5lIHgxPSIxMiIgeDI9IjEyIiB5MT0iMiIgeTI9IjE1IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/share\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Share = createLucideIcon('Share', __iconNode);\n\nexport default Share;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z',\n key: 'r04s7s',\n },\n ],\n];\n\n/**\n * @component @name Star\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTEuNTI1IDIuMjk1YS41My41MyAwIDAgMSAuOTUgMGwyLjMxIDQuNjc5YTIuMTIzIDIuMTIzIDAgMCAwIDEuNTk1IDEuMTZsNS4xNjYuNzU2YS41My41MyAwIDAgMSAuMjk0LjkwNGwtMy43MzYgMy42MzhhMi4xMjMgMi4xMjMgMCAwIDAtLjYxMSAxLjg3OGwuODgyIDUuMTRhLjUzLjUzIDAgMCAxLS43NzEuNTZsLTQuNjE4LTIuNDI4YTIuMTIyIDIuMTIyIDAgMCAwLTEuOTczIDBMNi4zOTYgMjEuMDFhLjUzLjUzIDAgMCAxLS43Ny0uNTZsLjg4MS01LjEzOWEyLjEyMiAyLjEyMiAwIDAgMC0uNjExLTEuODc5TDIuMTYgOS43OTVhLjUzLjUzIDAgMCAxIC4yOTQtLjkwNmw1LjE2NS0uNzU1YTIuMTIyIDIuMTIyIDAgMCAwIDEuNTk3LTEuMTZ6IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/star\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Star = createLucideIcon('Star', __iconNode);\n\nexport default Star;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M3 6h18', key: 'd0wm0j' }],\n ['path', { d: 'M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6', key: '4alrt4' }],\n ['path', { d: 'M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2', key: 'v07s0e' }],\n ['line', { x1: '10', x2: '10', y1: '11', y2: '17', key: '1uufr5' }],\n ['line', { x1: '14', x2: '14', y1: '11', y2: '17', key: 'xtxkd' }],\n];\n\n/**\n * @component @name Trash2\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMyA2aDE4IiAvPgogIDxwYXRoIGQ9Ik0xOSA2djE0YzAgMS0xIDItMiAySDdjLTEgMC0yLTEtMi0yVjYiIC8+CiAgPHBhdGggZD0iTTggNlY0YzAtMSAxLTIgMi0yaDRjMSAwIDIgMSAyIDJ2MiIgLz4KICA8bGluZSB4MT0iMTAiIHgyPSIxMCIgeTE9IjExIiB5Mj0iMTciIC8+CiAgPGxpbmUgeDE9IjE0IiB4Mj0iMTQiIHkxPSIxMSIgeTI9IjE3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/trash-2\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Trash2 = createLucideIcon('Trash2', __iconNode);\n\nexport default Trash2;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'm21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3',\n key: 'wmoenq',\n },\n ],\n ['path', { d: 'M12 9v4', key: 'juzpu7' }],\n ['path', { d: 'M12 17h.01', key: 'p32p05' }],\n];\n\n/**\n * @component @name TriangleAlert\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMjEuNzMgMTgtOC0xNGEyIDIgMCAwIDAtMy40OCAwbC04IDE0QTIgMiAwIDAgMCA0IDIxaDE2YTIgMiAwIDAgMCAxLjczLTMiIC8+CiAgPHBhdGggZD0iTTEyIDl2NCIgLz4KICA8cGF0aCBkPSJNMTIgMTdoLjAxIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/triangle-alert\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst TriangleAlert = createLucideIcon('TriangleAlert', __iconNode);\n\nexport default TriangleAlert;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '8', r: '5', key: '1hypcn' }],\n ['path', { d: 'M20 21a8 8 0 0 0-16 0', key: 'rfgkzh' }],\n];\n\n/**\n * @component @name UserRound\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjgiIHI9IjUiIC8+CiAgPHBhdGggZD0iTTIwIDIxYTggOCAwIDAgMC0xNiAwIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/user-round\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst UserRound = createLucideIcon('UserRound', __iconNode);\n\nexport default UserRound;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M18 6 6 18', key: '1bl5f8' }],\n ['path', { d: 'm6 6 12 12', key: 'd8bk6v' }],\n];\n\n/**\n * @component @name X\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTggNiA2IDE4IiAvPgogIDxwYXRoIGQ9Im02IDYgMTIgMTIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/x\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst X = createLucideIcon('X', __iconNode);\n\nexport default X;\n","import {\n AlertCircle,\n AlertTriangle,\n ArrowDown,\n ArrowLeft,\n ArrowRight,\n ArrowUp,\n Bell,\n BellOff,\n Bookmark,\n Calendar,\n Camera,\n Check,\n CheckCircle2,\n ChevronDown,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n Globe,\n Heart,\n HelpCircle,\n History,\n Home,\n Image,\n Info,\n List,\n ListFilter,\n LogOut,\n Map,\n MapPin,\n Menu,\n MessageCircle,\n Minus,\n MoreHorizontal,\n MoreVertical,\n Pen,\n Plus,\n Search,\n Settings,\n Settings2,\n Share,\n Star,\n Trash2,\n UserRound,\n X,\n XCircle,\n} from 'lucide-react'\n\nimport { createIcon } from './create-icon'\nimport { createLucideIcon } from './create-lucide-icon'\n\nexport const AlertCircleIcon = createLucideIcon(AlertCircle)\nexport const AlertTriangleIcon = createLucideIcon(AlertTriangle)\nexport const ArrowDownIcon = createLucideIcon(ArrowDown)\nexport const ArrowLeftIcon = createLucideIcon(ArrowLeft)\nexport const ArrowRightIcon = createLucideIcon(ArrowRight)\nexport const ArrowUpIcon = createLucideIcon(ArrowUp)\nexport const BellIcon = createLucideIcon(Bell)\nexport const BellOffIcon = createLucideIcon(BellOff)\nexport const BookmarkIcon = createLucideIcon(Bookmark)\nexport const CalendarIcon = createLucideIcon(Calendar)\nexport const CameraIcon = createLucideIcon(Camera)\nexport const CheckCircleIcon = createLucideIcon(CheckCircle2)\nexport const CheckIcon = createLucideIcon(Check)\nexport const ChevronDownIcon = createLucideIcon(ChevronDown)\nexport const ChevronLeftIcon = createLucideIcon(ChevronLeft)\nexport const ChevronRightIcon = createLucideIcon(ChevronRight)\nexport const ChevronUpIcon = createLucideIcon(ChevronUp)\nexport const GlobeIcon = createLucideIcon(Globe)\n/* Custom icon based on Lucide's heart icon. */\nexport const HeartFilledIcon = createIcon({\n viewBox: '0 0 24 24',\n d: 'M2.90381 3.90381C4.12279 2.68482 5.77609 2 7.5 2C8.48018 2 9.37318 2.14018 10.2468 2.52068C10.8597 2.78762 11.4321 3.15937 12 3.63935C12.5679 3.15937 13.1403 2.78762 13.7532 2.52068C14.6268 2.14018 15.5198 2 16.5 2C18.2239 2 19.8772 2.68482 21.0962 3.90381C22.3152 5.12279 23 6.77609 23 8.5C23 11.2418 21.1906 13.2531 19.7035 14.7107L12.7071 21.7071C12.3166 22.0976 11.6834 22.0976 11.2929 21.7071L4.29885 14.7131C2.79442 13.258 1 11.2494 1 8.5C1 6.77609 1.68482 5.12279 2.90381 3.90381Z',\n displayName: 'HeartFilledIcon',\n})\nexport const HeartIcon = createLucideIcon(Heart)\nexport const HelpCircleIcon = createLucideIcon(HelpCircle)\nexport const HistoryIcon = createLucideIcon(History)\nexport const HomeIcon = createLucideIcon(Home)\nexport const ImageIcon = createLucideIcon(Image)\nexport const InfoIcon = createLucideIcon(Info)\nexport const ListIcon = createLucideIcon(List)\nexport const ListFilterIcon = createLucideIcon(ListFilter)\nexport const LogOutIcon = createLucideIcon(LogOut)\nexport const MapIcon = createLucideIcon(Map)\nexport const MapPinIcon = createLucideIcon(MapPin)\nexport const MenuIcon = createLucideIcon(Menu)\nexport const MessageCircleIcon = createLucideIcon(MessageCircle)\nexport const MinusIcon = createLucideIcon(Minus)\nexport const MoreHorizontalIcon = createLucideIcon(MoreHorizontal)\nexport const MoreVerticalIcon = createLucideIcon(MoreVertical)\nexport const PenIcon = createLucideIcon(Pen)\nexport const PlusIcon = createLucideIcon(Plus)\nexport const SearchIcon = createLucideIcon(Search)\nexport const SettingsIcon = createLucideIcon(Settings)\nexport const ShareIcon = createLucideIcon(Share)\nexport const SlidersIcon = createLucideIcon(Settings2)\n/* Custom icon based on Lucide's star icon. */\nexport const StarFilledIcon = createIcon({\n viewBox: '0 0 24 24',\n d: 'M12 1C12.3806 1 12.7282 1.21607 12.8967 1.55738L15.7543 7.34647L22.1446 8.28051C22.5212 8.33555 22.8339 8.59956 22.9512 8.96157C23.0686 9.32358 22.9703 9.72083 22.6977 9.98636L18.0745 14.4894L19.1656 20.851C19.23 21.2261 19.0757 21.6053 18.7677 21.8291C18.4598 22.0528 18.0515 22.0823 17.7145 21.9051L12 18.8998L6.28545 21.9051C5.94853 22.0823 5.54024 22.0528 5.23226 21.8291C4.92429 21.6053 4.77004 21.2261 4.83439 20.851L5.92548 14.4894L1.30227 9.98636C1.02965 9.72083 0.931375 9.32358 1.04875 8.96157C1.16613 8.59956 1.47881 8.33555 1.85537 8.28051L8.24574 7.34647L11.1033 1.55738C11.2718 1.21607 11.6194 1 12 1Z',\n displayName: 'StarFilledIcon',\n})\n\nexport const StarIcon = createLucideIcon(Star)\nexport const TrashIcon = createLucideIcon(Trash2)\nexport const UserIcon = createLucideIcon(UserRound)\nexport const XCircleIcon = createLucideIcon(XCircle)\nexport const XIcon = createLucideIcon(X)\n","import { createStyleVariants } from '../../styles'\nimport type { VariantProps } from '../../styles'\n\nexport const getVariantStyles = createStyleVariants(({ colors }) => ({\n neutral: {\n background: colors.core.black,\n color: colors.core.white,\n },\n error: {\n background: colors.bg.negative,\n color: colors.core.white,\n },\n}))\nexport type ToastVariant = VariantProps<typeof getVariantStyles>\n","import styled from '@emotion/styled'\nimport isPropValid from '@emotion/is-prop-valid'\nimport { forwardRef } from 'react'\nimport { UserRound } from 'lucide-react'\nimport * as AvatarPrimitive from '@radix-ui/react-avatar'\n\nimport type { HTMLQdsProps } from '../../types'\nimport { toMediaQueries, type ResponsiveProp } from '../../styles/responsive'\n\nconst SIZE_MAP = {\n xs: 32,\n sm: 40,\n md: 48,\n lg: 64,\n xl: 96,\n '2xl': 128,\n}\n\ntype AvatarSize = keyof typeof SIZE_MAP\n\nconst ICON_SIZE_MAP = {\n xs: 14,\n sm: 16,\n md: 20,\n lg: 32,\n xl: 48,\n '2xl': 64,\n}\n\nconst TEXT_SIZE_MAP = {\n xs: 12,\n sm: 16,\n md: 20,\n lg: 28,\n xl: 40,\n '2xl': 56,\n}\n\nconst getInitials = (name: string) => {\n const names = name.trim().split(/\\s+/)\n\n const firstName = names[0]\n const lastName = names.length > 1 ? names[names.length - 1] : ''\n\n // `charAt(0)` returns empty string if name is empty\n return `${firstName.charAt(0)}${lastName.charAt(0)}`.toUpperCase()\n}\n\ninterface WrapperProps {\n size: ResponsiveProp<AvatarSize>\n}\nconst AvatarRoot = styled(AvatarPrimitive.Root)<WrapperProps>(({ theme, size }) => ({\n ...toMediaQueries(size, (currentValue) => ({\n width: SIZE_MAP[currentValue],\n height: SIZE_MAP[currentValue],\n })),\n flexShrink: 0,\n borderRadius: theme.radii.full,\n background: theme.colors.core.gray20,\n overflow: 'hidden',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n boxShadow: `0 0 0 1px ${theme.colors.core.blackAlpha5}`,\n color: theme.colors.text.subtle,\n}))\n\nconst AvatarImage = styled(AvatarPrimitive.Image)({\n width: '100%',\n height: '100%',\n objectFit: 'cover',\n})\n\nconst AvatarFallback = styled(AvatarPrimitive.Fallback)(({ theme }) => ({\n color: theme.colors.text.subtle,\n}))\n\ninterface FallbackTextProps {\n avatarSize: ResponsiveProp<AvatarSize>\n}\nconst FallbackText = styled.span<FallbackTextProps>(({ avatarSize }) => ({\n fontWeight: 'bold',\n ...toMediaQueries(avatarSize, (currentValue) => ({\n fontSize: TEXT_SIZE_MAP[currentValue],\n })),\n // To optically align the text in the center\n paddingTop: '0.08em',\n display: 'block',\n // User should never need to select this text\n // so shouldn't cause any accessibility issues\n userSelect: 'none',\n}))\n\nconst roundToTwoDecimals = (num: number) => Math.round(num * 100) / 100\n\ninterface IconProps {\n avatarSize: ResponsiveProp<AvatarSize>\n}\nconst StyledIcon = styled(UserRound, { shouldForwardProp: isPropValid })<IconProps>(\n ({ avatarSize }) => ({\n ...toMediaQueries(avatarSize, (currentValue) => {\n const size = ICON_SIZE_MAP[currentValue]\n\n return {\n width: size,\n height: size,\n // Always set a minimum stroke width of 2px.\n // If the size is less than 24px, scale the stroke width up\n // to compensate for the scaling down of the icon.\n ...(size < 24 && {\n strokeWidth: roundToTwoDecimals((24 / size) * 2),\n }),\n }\n }),\n }),\n)\n\ninterface AvatarOptions {\n /**\n * Source url of the image to display. If not passed\n * it will display a fallback icon.\n */\n src?: string\n /**\n * Name of the user. Used to generate the initials\n * if no image is provided, but also for accessibility.\n */\n name?: string\n /**\n * Size of the avatar\n * @default 'md'\n */\n size?: ResponsiveProp<AvatarSize>\n}\n\nexport interface AvatarProps extends HTMLQdsProps<'span'>, AvatarOptions {}\nexport const Avatar = forwardRef<HTMLSpanElement, AvatarProps>((props, forwardedRef) => {\n const { src, name, size = 'md', ...restProps } = props\n return (\n <AvatarRoot ref={forwardedRef} size={size} {...restProps}>\n <AvatarImage src={src} alt={name} />\n <AvatarFallback delayMs={src ? 200 : undefined}>\n {name ? (\n <FallbackText avatarSize={size}>{getInitials(name)}</FallbackText>\n ) : (\n <StyledIcon avatarSize={size} role=\"img\" aria-label={name} />\n )}\n </AvatarFallback>\n </AvatarRoot>\n )\n})\n","import type { CSSObject } from '@emotion/react'\n\nimport { theme, type Theme } from '../theme'\nimport type { PartialRecord } from '../types'\n\ntype BreakpointsConfig<T> = PartialRecord<keyof Theme['breakpoints'], T> & { base: T }\nexport type ResponsiveProp<T> = T | BreakpointsConfig<T>\n\nfunction isResponsiveProp<T>(value: ResponsiveProp<T>): value is BreakpointsConfig<T> {\n return value && typeof value === 'object' && 'base' in value\n}\n\n/**\n * More strictly typed version of Object.entries\n */\nconst objectEntries = <T extends object>(obj: T) => Object.entries(obj) as [keyof T, T[keyof T]][]\n\n/**\n *\n * @param prop Responsive prop\n * @param styleFn Function that returns a CSSObject based on the value of the prop\n * for a given breakpoint.\n *\n * Example:\n * ```ts\n * toMediaQueries(variant, (currentValue) => ({\n * background: currentValue === 'primary' ? 'pink' : 'blue',\n * }))\n * ```\n * @returns CSSObject\n */\nexport const toMediaQueries = <T>(prop: ResponsiveProp<T>, styleFn: (value: T) => CSSObject) => {\n if (!isResponsiveProp(prop)) {\n return styleFn(prop)\n }\n\n const { base, ...breakpoints } = prop\n\n /**\n * Due to some very hard to debug issue,\n * we need to use `let` and reassign the value.\n * Else it leads to messed up CSS styles in SSR.\n * I have no clue, but if it works, it works.\n */\n let cssObject = styleFn(base)\n\n objectEntries(breakpoints).forEach(([breakpoint, value]) => {\n const mediaQuery = theme.mediaQueries[`${breakpoint}Up`]\n\n if (value) {\n cssObject = {\n ...cssObject,\n [mediaQuery]: styleFn(value),\n }\n }\n })\n\n return cssObject\n}\n","import styled from '@emotion/styled'\nimport { forwardRef } from 'react'\nimport isPropValid from '@emotion/is-prop-valid'\n\nimport type * as Polymorphic from '../../utils/polymorphic'\nimport { LoadingDots } from '../loading-dots'\nimport { toMediaQueries, type ResponsiveProp } from '../../styles/responsive'\n\nimport type { ButtonSize, ButtonVariant } from './button-styles'\nimport { getSizeStyles, getVariantStyles } from './button-styles'\nimport type { ButtonOptions } from './button-types'\nimport { ButtonIcon } from './button-icon'\n\ninterface StyledButtonProps {\n size: ResponsiveProp<ButtonSize>\n variant: ButtonVariant\n isFullWidth: boolean\n}\nconst StyledButton = styled('button', { shouldForwardProp: isPropValid })<StyledButtonProps>(\n ({ theme, size, variant, isFullWidth }) => ({\n borderRadius: theme.radii.full,\n display: 'inline-flex',\n justifyContent: 'center',\n alignItems: 'center',\n position: 'relative',\n flexShrink: 0,\n WebkitTouchCallout: 'none',\n WebkitTapHighlightColor: 'transparent',\n userSelect: 'none',\n transitionProperty: 'box-shadow, transform, opacity, background-color, color',\n transitionDuration: '150ms',\n transitionTimingFunction: 'ease',\n\n '&[disabled]': {\n opacity: 0.4,\n },\n\n '&:not([disabled]):active': {\n transform: 'scale(0.97)',\n },\n ...toMediaQueries(size, (currentValue) => getSizeStyles(theme)[currentValue]),\n ...getVariantStyles(theme)[variant],\n ...(isFullWidth && { width: '100%' }),\n }),\n)\n\nconst ButtonLoadingDots = styled(LoadingDots)({\n position: 'absolute',\n color: 'currentColor',\n})\n\ninterface ContentContainerProps {\n isHidden: boolean\n}\nconst ContentContainer = styled.span<ContentContainerProps>(({ isHidden }) => ({\n opacity: isHidden ? 0 : 1,\n display: 'flex',\n alignItems: 'center',\n}))\n\ntype PolymorphicButton = Polymorphic.ForwardRefComponent<'button', ButtonOptions>\nexport type ButtonProps = Polymorphic.PropsOf<PolymorphicButton>\n\nexport const Button = forwardRef((props, forwardedRef) => {\n const {\n as,\n children,\n // Only default the `type` if not using the as prop\n type = as ? undefined : 'button',\n size: sizeProp = 'md',\n variant = 'secondary',\n isFullWidth = false,\n isLoading = false,\n isDisabled = false,\n disabled: hasHtmlDisabledProp,\n iconLeft,\n iconRight,\n ...rest\n } = props\n\n const shouldBeDisabled = isDisabled || hasHtmlDisabledProp || isLoading\n\n return (\n <StyledButton\n as={as}\n ref={forwardedRef}\n variant={variant}\n size={sizeProp}\n isFullWidth={isFullWidth}\n disabled={shouldBeDisabled}\n type={type}\n {...rest}\n >\n <ContentContainer isHidden={isLoading}>\n {iconLeft && <ButtonIcon buttonSize={sizeProp} icon={iconLeft} placement=\"left\" />}\n {children}\n {iconRight && <ButtonIcon buttonSize={sizeProp} icon={iconRight} placement=\"right\" />}\n </ContentContainer>\n {isLoading && <ButtonLoadingDots size=\"sm\" data-testid=\"button-spinner\" />}\n </StyledButton>\n )\n}) as PolymorphicButton\n","import { keyframes } from '@emotion/react'\nimport styled from '@emotion/styled'\nimport { forwardRef } from 'react'\n\nimport type { VariantProps } from '../../styles'\nimport { createStyleVariants, pxToRem } from '../../styles'\nimport type { HTMLQdsProps } from '../../types'\nimport type { ResponsiveProp } from '../../styles/responsive'\nimport { toMediaQueries } from '../../styles/responsive'\n\nconst ANIMATION_DURATION = 1200\nconst ANIMATION_STAGGER_DELAY = 160\n\nconst getSizeStyles = createStyleVariants(() => ({\n sm: { fontSize: pxToRem(8) },\n md: { fontSize: pxToRem(16) },\n}))\ntype LoadingDotsSize = VariantProps<typeof getSizeStyles>\n\nconst Wrapper = styled.span<{ size: ResponsiveProp<LoadingDotsSize> }>(({ theme, size }) => ({\n color: theme.colors.core.brown,\n display: 'inline-flex',\n ...toMediaQueries(size, (currentValue) => getSizeStyles(theme)[currentValue]),\n // Odd value but it works better with the animation\n gap: pxToRem(6),\n}))\nconst scaleAnimation = keyframes({\n '0%, 80%, 100%': { transform: 'scale(0)' },\n '40%': { transform: 'scale(1)' },\n})\nconst Dot = styled.span({\n display: 'block',\n width: '1em',\n height: '1em',\n background: 'currentColor',\n borderRadius: 999,\n\n animationDuration: `${ANIMATION_DURATION}ms`,\n animationTimingFunction: 'ease-in-out',\n animationIterationCount: 'infinite',\n animationFillMode: 'both',\n '&:nth-of-type(2)': { animationDelay: `${ANIMATION_STAGGER_DELAY}ms` },\n '&:nth-of-type(3)': { animationDelay: `${ANIMATION_STAGGER_DELAY * 2}ms` },\n animationName: scaleAnimation,\n})\n\ninterface LoadingDotsOptions {\n size?: ResponsiveProp<LoadingDotsSize>\n}\n\nexport interface LoadingDotsProps extends HTMLQdsProps<'span'>, LoadingDotsOptions {}\n\nexport const LoadingDots = forwardRef<HTMLSpanElement, LoadingDotsProps>((props, forwardedRef) => {\n const { size = 'md', ...restProps } = props\n\n return (\n <Wrapper ref={forwardedRef} size={size} {...restProps}>\n <Dot />\n <Dot />\n <Dot />\n </Wrapper>\n )\n})\n","import type { VariantProps } from '../../styles'\nimport { pxToRem, createStyleVariants } from '../../styles'\n\n// Can't use :enabled cause it doesn't work when rendered as a link\nconst NOT_DISABLED = ':not([disabled])'\n\nexport const getSizeStyles = createStyleVariants(({ typography, spacing }) => ({\n xs: {\n height: pxToRem(32),\n paddingLeft: spacing['4x'],\n paddingRight: spacing['4x'],\n ...typography.button.sm,\n },\n sm: {\n height: pxToRem(40),\n paddingLeft: spacing['5x'],\n paddingRight: spacing['5x'],\n ...typography.button.sm,\n },\n md: {\n height: pxToRem(48),\n paddingLeft: spacing['6x'],\n paddingRight: spacing['6x'],\n ...typography.button.md,\n },\n lg: {\n height: pxToRem(56),\n paddingLeft: spacing['8x'],\n paddingRight: spacing['8x'],\n ...typography.button.md,\n },\n xl: {\n height: pxToRem(64),\n paddingLeft: spacing['8x'],\n paddingRight: spacing['8x'],\n ...typography.button.md,\n },\n}))\nexport type ButtonSize = VariantProps<typeof getSizeStyles>\n\nexport const getVariantStyles = createStyleVariants(({ colors }) => ({\n primary: {\n background: colors.bg.brandPrimary,\n color: colors.text.onBrandPrimary,\n [NOT_DISABLED]: {\n '@media(hover: hover)': {\n ':hover': {\n background: colors.bg.brandPrimaryHover,\n },\n },\n ':active': {\n background: colors.bg.brandPrimaryActive,\n },\n },\n },\n secondary: {\n background: colors.bg.brandSecondary,\n color: colors.text.onBrandSecondary,\n [NOT_DISABLED]: {\n '@media(hover: hover)': {\n ':hover': {\n background: colors.bg.brandSecondaryHover,\n },\n },\n ':active': {\n background: colors.bg.brandSecondaryActive,\n },\n },\n },\n tertiary: {\n background: colors.bg.brandTertiary,\n color: colors.text.onBrandTertiary,\n [NOT_DISABLED]: {\n '@media(hover: hover)': {\n ':hover': {\n background: colors.bg.brandTertiaryHover,\n },\n },\n ':active': {\n background: colors.bg.brandTertiaryActive,\n },\n },\n },\n}))\nexport type ButtonVariant = VariantProps<typeof getVariantStyles>\n","import styled from '@emotion/styled'\nimport type { ElementType } from 'react'\n\nimport type { Theme } from '../../theme'\nimport type { IconProps } from '../icon'\nimport { toMediaQueries, type ResponsiveProp } from '../../styles/responsive'\n\nimport type { ButtonSize } from './button-styles'\n\nconst roundToTwoDecimals = (num: number) => Math.round(num * 100) / 100\n\nconst ICON_SIZE_MAP = {\n xs: 16,\n sm: 16,\n md: 20,\n lg: 20,\n xl: 20,\n} as const\n\nconst ICON_GAP: Record<ButtonSize, keyof Theme['spacing']> = {\n xs: '2x',\n sm: '3x',\n md: '3x',\n lg: '4x',\n xl: '4x',\n}\nconst ICON_OFFSET: Record<ButtonSize, keyof Theme['spacing']> = {\n xs: '1x',\n sm: '1x',\n md: '1x',\n lg: '2x',\n xl: '2x',\n}\n\ninterface IconContainerProps {\n buttonSize: ResponsiveProp<ButtonSize>\n}\n\nconst IconLeftContainer = styled.span<IconContainerProps>(({ theme, buttonSize }) => ({\n flexShrink: 0,\n ...toMediaQueries(buttonSize, (currentValue) => {\n const iconSize = ICON_SIZE_MAP[currentValue]\n return {\n marginLeft: `-${theme.spacing[ICON_OFFSET[currentValue]]}`,\n marginRight: theme.spacing[ICON_GAP[currentValue]],\n\n '> svg': {\n width: iconSize,\n height: iconSize,\n // Always set a minimum stroke width of 2px.\n // If the size is less than 24px, scale the stroke width up\n // to compensate for the scaling down of the icon.\n ...(iconSize < 24 && {\n strokeWidth: roundToTwoDecimals((24 / iconSize) * 2),\n }),\n },\n }\n }),\n}))\nconst IconRightContainer = styled.span<IconContainerProps>(({ theme, buttonSize }) => ({\n flexShrink: 0,\n ...toMediaQueries(buttonSize, (currentValue) => {\n const iconSize = ICON_SIZE_MAP[currentValue]\n return {\n marginRight: `-${theme.spacing[ICON_OFFSET[currentValue]]}`,\n marginLeft: theme.spacing[ICON_GAP[currentValue]],\n\n '> svg': {\n width: iconSize,\n height: iconSize,\n // Always set a minimum stroke width of 2px.\n // If the size is less than 24px, scale the stroke width up\n // to compensate for the scaling down of the icon.\n ...(iconSize < 24 && {\n strokeWidth: roundToTwoDecimals((24 / iconSize) * 2),\n }),\n },\n }\n }),\n}))\n\ninterface ButtonIconProps {\n buttonSize: ResponsiveProp<ButtonSize>\n icon: ElementType<IconProps>\n placement: 'left' | 'right'\n}\nexport function ButtonIcon({ buttonSize, icon: Icon, placement }: ButtonIconProps) {\n const Container = placement === 'left' ? IconLeftContainer : IconRightContainer\n return (\n <Container buttonSize={buttonSize}>\n <Icon aria-hidden=\"true\" color=\"currentColor\" />\n </Container>\n )\n}\n","import styled from '@emotion/styled'\nimport isPropValid from '@emotion/is-prop-valid'\nimport { forwardRef } from 'react'\n\nimport type * as Polymorphic from '../../utils/polymorphic'\nimport type { Theme } from '../../theme'\nimport type { ResponsiveProp } from '../../styles/responsive'\nimport { toMediaQueries } from '../../styles/responsive'\n\ntype DisplaySize = keyof Theme['typography']['display']\n\ntype DisplayTextAlign = 'left' | 'center' | 'right'\ntype DisplayTextWrap = 'pretty' | 'balance' | 'wrap' | 'nowrap' | 'stable'\n\ninterface StyledDisplayTextProps {\n size: ResponsiveProp<DisplaySize>\n textAlign: DisplayTextAlign\n textWrap: DisplayTextWrap\n}\n\nconst StyledDisplayText = styled('h2', { shouldForwardProp: isPropValid })<StyledDisplayTextProps>(\n ({ theme, size, textAlign, textWrap }) => ({\n margin: 0,\n ...toMediaQueries(size, (currentValue) => theme.typography.display[currentValue]),\n color: theme.colors.text.default,\n textAlign,\n textWrap,\n overflowWrap: 'break-word',\n wordWrap: 'break-word',\n }),\n)\n\ninterface DisplayTextOptions {\n /**\n * Sets the visual size of the display text.\n * To override the rendered tag, use the `as` prop.\n *\n * @default 'md'\n */\n size?: ResponsiveProp<DisplaySize>\n /**\n * Sets the text alignment\n *\n * @default 'left'\n */\n textAlign?: DisplayTextAlign\n /**\n * Sets the text wrapping\n *\n * See [MDN Docs](https://developer.mozilla.org/en-US/docs/Web/CSS/text-wrap)\n *\n * @default 'pretty'\n */\n textWrap?: DisplayTextWrap\n}\n\ntype DisplayTextComponent = Polymorphic.ForwardRefComponent<'h2', DisplayTextOptions>\nexport type DisplayTextProps = Polymorphic.PropsOf<DisplayTextComponent>\n\nexport const DisplayText = forwardRef((props, forwardedRef) => {\n const { as, children, size = 'md', textAlign = 'left', textWrap = 'pretty', ...rest } = props\n return (\n <StyledDisplayText\n as={as}\n ref={forwardedRef}\n size={size}\n textAlign={textAlign}\n textWrap={textWrap}\n {...rest}\n >\n {children}\n </StyledDisplayText>\n )\n}) as DisplayTextComponent\n","import styled from '@emotion/styled'\nimport type { ReactElement } from 'react'\nimport { forwardRef } from 'react'\nimport * as CheckboxPrimitive from '@radix-ui/react-checkbox'\nimport { Check } from 'lucide-react'\n\nimport { pxToRem } from '../../styles'\nimport { useStableId } from '../../hooks'\nimport { ariaAttr, dataAttr } from '../../utils/html-attributes'\nimport { ErrorMessage, HelperText } from '../_internal'\n\nconst Wrapper = styled.div({\n width: '100%',\n display: 'flex',\n flexDirection: 'column',\n})\n\nconst CheckboxContainer = styled.label(({ theme }) => ({\n width: '100%',\n display: 'grid',\n gridTemplateColumns: 'auto 1fr',\n alignItems: 'start',\n gap: theme.spacing['3x'],\n position: 'relative',\n cursor: 'pointer',\n WebkitTapHighlightColor: 'transparent',\n WebkitTouchCallout: 'none',\n // Right now not all browsers support the `:has` pseudo-class\n // But we also set the cursor to `not-allowed` in the nested elements\n // so this just makes it so the gap between the checkbox and the text\n // doesn't have the cursor. In the future we should be able to rely\n // on this completely\n '&:has([role=\"checkbox\"][data-disabled])': {\n cursor: 'not-allowed',\n },\n}))\n\nconst CheckboxRoot = styled(CheckboxPrimitive.Root)(({ theme }) => ({\n position: 'relative',\n WebkitTapHighlightColor: 'transparent',\n WebkitTouchCallout: 'none',\n // We use margin to align the checkbox with the text\n // since `align-items: center` wouldn't work when the text wraps\n marginTop: pxToRem(1),\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n width: pxToRem(20),\n height: pxToRem(20),\n flexShrink: 0,\n border: '2px solid',\n borderColor: theme.colors.border.strong,\n borderRadius: theme.radii['2xs'],\n color: 'transparent',\n transitionProperty: 'background-color, color',\n transitionDuration: '80ms',\n transitionTimingFunction: 'ease',\n '&[data-state=\"checked\"]': {\n backgroundColor: theme.colors.border.strong,\n color: theme.colors.core.brown,\n '&[aria-invalid=\"true\"]': {\n borderColor: theme.colors.border.negative,\n },\n },\n '&[data-state=\"unchecked\"]': {\n backgroundColor: theme.colors.bg.default,\n '@media(hover: hover)': {\n '&:hover': {\n backgroundColor: theme.colors.bg.inset,\n color: theme.colors.core.gray20,\n },\n },\n '&[aria-invalid=\"true\"]': {\n borderColor: theme.colors.border.negative,\n },\n },\n\n '&[data-disabled], &:disabled, &[disabled]': {\n opacity: 0.4,\n '&[data-state=\"unchecked\"]': {\n backgroundColor: theme.colors.bg.default,\n '&:hover': {\n color: 'transparent',\n },\n },\n '&[data-state=\"checked\"]': {\n backgroundColor: theme.colors.border.strong,\n },\n },\n}))\n\nconst LabelText = styled.span(({ theme }) => ({\n ...theme.typography.body.md,\n '&[data-disabled], &:disabled': {\n opacity: 0.4,\n cursor: 'not-allowed',\n },\n}))\n\nconst SupportingTextContainer = styled.div(({ theme }) => ({\n display: 'flex', // Removes line-height from making it too tall\n marginLeft: theme.spacing['8x'],\n}))\n\ninterface CheckboxOptions {\n /**\n * The label for the checkbox. Accepts a string, or a React component for rendering links within the label.\n *\n * @example\n * ```jsx\n * <Checkbox label=\"I agree to the terms and conditions\" />\n * ```\n *\n * @example\n * ```jsx\n * <Checkbox\n * label={\n * <>\n * I agree to <Link href=\"/terms\">the terms and conditions</Link>\n * </>\n * }\n * />\n * ```\n */\n label: string | ReactElement<unknown>\n /**\n * Text that provides additional guidance to the user\n */\n helperText?: string\n /**\n * The checked state of the checkbox when it is initially rendered. Use when you do not need to control its checked state.\n */\n isDefaultChecked?: boolean\n /**\n * The checked state of the checkbox when it is initially rendered. Use when you do not need to control its checked state.\n */\n defaultChecked?: boolean // NOTE: We redeclare this type from Radix because we don't want to support indeterminate state\n /**\n * The controlled checked state of the checkbox. Must be used in conjunction with `onCheckedChange`.\n */\n isChecked?: boolean\n /**\n * The controlled checked state of the checkbox. Must be used in conjunction with `onCheckedChange`.\n */\n checked?: boolean // NOTE: We redeclare this type from Radix because we don't want to support indeterminate state\n /**\n * Event handler called when the checked state of the checkbox changes.\n */\n onCheckedChange?: (checked: boolean) => void\n /**\n * If `true` the checkbox will render in its invalid state.\n * @default false\n */\n isInvalid?: boolean\n /**\n * The error message to display if `isInvalid` is `true`\n */\n errorMessage?: string\n /**\n * If `true` it prevents the user from interacting with the checkbox.\n * @default false\n */\n isDisabled?: boolean\n /**\n * If `true` the user must check the checkbox before the owning form can be submitted.\n * @default false\n */\n isRequired?: boolean\n /**\n * The name of the checkbox. Submitted with its owning form as part of a name/value pair.\n */\n name?: string\n /**\n * The value given as data when submitted with a `name`.\n */\n value?: string\n}\n\nexport type CheckboxProps = Omit<\n CheckboxPrimitive.CheckboxProps,\n 'asChild' | 'children' | 'checked' | 'defaultChecked' | keyof CheckboxOptions\n> &\n CheckboxOptions\n\nexport const Checkbox = forwardRef<HTMLButtonElement, CheckboxProps>((props, forwardedRef) => {\n const {\n label,\n helperText,\n id: idProp,\n defaultChecked: hasHtmlDefaultCheckedAttr,\n isDefaultChecked: isDefaultCheckedProp,\n isChecked: isCheckedProp,\n checked: hasHtmlCheckedAttr,\n isDisabled: isDisabledProp,\n disabled: hasHtmlDisabledAttr,\n isRequired: isRequiredProp,\n required: hasHtmlRequiredAttr,\n isInvalid,\n errorMessage,\n 'aria-labelledby': ariaLabelledByProp,\n 'aria-describedby': ariaDescribedByProp,\n ...restProps\n } = props\n const id = useStableId(idProp)\n\n const labelId = `${id}-label`\n\n const isDefaultChecked = isDefaultCheckedProp ?? hasHtmlDefaultCheckedAttr\n const isChecked = isCheckedProp ?? hasHtmlCheckedAttr\n const isDisabled = isDisabledProp ?? hasHtmlDisabledAttr\n const isRequired = isRequiredProp ?? hasHtmlRequiredAttr\n\n const ariaLabelledBy = [labelId, ariaLabelledByProp].filter(Boolean).join(' ')\n\n const hasHelperText = Boolean(helperText)\n const helperTextId = hasHelperText ? `${id}-helper` : undefined\n\n const helperTextElement = helperText && (\n <SupportingTextContainer>\n <HelperText id={helperTextId} data-disabled={dataAttr(isDisabled)}>\n {helperText}\n </HelperText>\n </SupportingTextContainer>\n )\n\n const hasError = isInvalid && errorMessage\n const errorMessageId = hasError ? `${id}-error` : undefined\n\n const errorMessageElement = hasError && (\n <SupportingTextContainer>\n <ErrorMessage id={errorMessageId} role=\"alert\" aria-live=\"polite\">\n {errorMessage}\n </ErrorMessage>\n </SupportingTextContainer>\n )\n\n const ariaDescribedBy =\n [errorMessageId, !hasError && helperTextId, ariaDescribedByProp].filter(Boolean).join(' ') ||\n undefined\n\n return (\n <Wrapper>\n <CheckboxContainer>\n <CheckboxRoot\n id={id}\n ref={forwardedRef}\n defaultChecked={isDefaultChecked}\n checked={isChecked}\n disabled={isDisabled}\n required={isRequired}\n aria-invalid={ariaAttr(isInvalid)}\n aria-labelledby={ariaLabelledBy}\n aria-describedby={ariaDescribedBy}\n {...restProps}\n >\n <CheckboxPrimitive.Indicator forceMount>\n <Check\n size={12}\n strokeWidth={3}\n absoluteStrokeWidth\n aria-hidden=\"true\"\n role=\"presentation\"\n />\n </CheckboxPrimitive.Indicator>\n </CheckboxRoot>\n <LabelText\n id={labelId}\n data-disabled={dataAttr(isDisabled)}\n onMouseDown={(ev) => {\n // prevent text selection when double clicking label\n if (ev.detail > 1) {\n ev.preventDefault()\n }\n }}\n >\n {label}\n </LabelText>\n </CheckboxContainer>\n {errorMessageElement || helperTextElement}\n </Wrapper>\n )\n})\n","import { useEffect, useState } from 'react'\n\nimport { theme } from '../theme'\nimport type { Theme } from '../theme'\n\ntype Breakpoints = Theme['breakpoints']\n\nconst breakpointsArray = Object.entries(theme.breakpoints).map(([name, value]) => ({\n name: name as keyof Breakpoints,\n breakpoint: value,\n}))\n\nconst MEDIA_QUERIES = breakpointsArray.map(({ name, breakpoint }, index) => {\n const nextValue = breakpointsArray?.[index + 1]?.breakpoint\n const media = nextValue\n ? `(min-width: ${breakpoint}px) and (max-width: ${nextValue - 1}px)`\n : `(min-width: ${breakpoint}px)`\n\n return {\n name,\n media,\n }\n})\n\nconst getMatchingBreakpoint = () => {\n const matchingBreakpoint = MEDIA_QUERIES.find(({ media }) => {\n return window.matchMedia(media).matches\n })\n // Since the breakpoints cover all screen sizes we should always get a match,\n // but to be safe we return 'base' as a fallback.\n return matchingBreakpoint?.name || 'base'\n}\n\nexport interface UseBreakpointOptions {\n /**\n * If `true` the initial value will be `base` instead of the current breakpoint.\n * This is to support hydration when using server side rendering.\n *\n * @default false\n */\n ssr?: boolean\n}\n\n/**\n * Hook for getting the current breakpoint.\n */\nexport function useBreakpoint(params?: UseBreakpointOptions) {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n const { ssr = false } = params || {}\n const initialBreakpoint = ssr ? 'base' : getMatchingBreakpoint\n const [currentBreakpoint, setCurrentBreakpoint] = useState<keyof Breakpoints>(initialBreakpoint)\n\n useEffect(() => {\n const matchMediaArray = MEDIA_QUERIES.map(({ media }) => window.matchMedia(media))\n\n const handleChange = () => {\n // Instead of checking the value from the matchMedia listeners event we just use it\n // as trigger to know when the current breakpoint should be updated.\n // This is because each separate query has its own event listener which\n // can lead to incorrect intermediate states where no breakpoint is matching.\n setCurrentBreakpoint(getMatchingBreakpoint())\n }\n\n // Update the current breakpoint on the first render.\n // After that the event listeners will take care of updating the state.\n handleChange()\n\n matchMediaArray.forEach((mediaQuery) => {\n if (typeof mediaQuery.addListener === 'function') {\n // Safari < 14 fallback\n mediaQuery.addListener(handleChange)\n } else {\n mediaQuery.addEventListener('change', handleChange)\n }\n })\n\n return () => {\n matchMediaArray.forEach((mediaQuery) => {\n if (typeof mediaQuery.addListener === 'function') {\n mediaQuery.removeListener(handleChange)\n } else {\n mediaQuery.removeEventListener('change', handleChange)\n }\n })\n }\n }, [])\n\n return { currentBreakpoint }\n}\n","import type { Theme } from '../theme'\nimport { breakpoints } from '../theme/foundations/breakpoints'\nimport type { PartialRecord } from '../types'\n\nimport type { UseBreakpointOptions } from './use-breakpoint'\nimport { useBreakpoint } from './use-breakpoint'\n\ntype Breakpoints = Theme['breakpoints']\ntype BreakpointsConfig<T> = PartialRecord<keyof Breakpoints, T> & { base: T }\nexport type UseBreakpointValueProps<T> = BreakpointsConfig<T>\n\n/**\n * Hook for getting a value based on the current breakpoint.\n *\n * @example\n * const width = useBreakpointValue({ base: '150px', md: '250px' })\n */\nexport function useBreakpointValue<T>(\n values: UseBreakpointValueProps<T>,\n options?: UseBreakpointOptions,\n) {\n const { currentBreakpoint } = useBreakpoint(options)\n let breakpointValue\n\n if (currentBreakpoint in values) {\n breakpointValue = values[currentBreakpoint]\n } else {\n const breakpointNames = Object.keys(breakpoints) as (keyof Breakpoints)[]\n const currentBreakpointIndex = breakpointNames.indexOf(currentBreakpoint)\n for (let i = currentBreakpointIndex; i >= 0; i--) {\n const key = breakpointNames[i]\n if (key in values) {\n breakpointValue = values[key]\n break\n }\n }\n }\n /* Assert since a value will always be found in loop */\n return breakpointValue as T\n}\n","import type { ElementType } from 'react'\nimport { useCallback } from 'react'\n\nimport type { HTMLQdsProps, LegitimateAny } from '../types'\n\nimport { useStableId } from './use-stable-id'\n\ntype FormFieldElement = 'input' | 'select' | 'textarea'\n\ntype PropGetter<T extends ElementType = LegitimateAny> = (\n props?: HTMLQdsProps<T>,\n) => Record<string, unknown>\n\ninterface FormFieldOptions {\n /**\n * The label for the form field\n */\n label: string\n /**\n * The error message to display if `isInvalid` is `true`\n */\n errorMessage?: string\n /**\n * Text that provides additional guidance to the user\n */\n helperText?: string\n /**\n * If `true`, the form field will be invalid\n */\n isInvalid?: boolean\n /**\n * If `true`, the form field will be disabled\n */\n isDisabled?: boolean\n /**\n * If `true` the form field will be required\n */\n isRequired?: boolean\n}\n\ntype OmittedProps = 'children' | 'readOnly' | 'size'\nexport type UseFormFieldProps<T extends FormFieldElement> = Omit<HTMLQdsProps<T>, OmittedProps> &\n FormFieldOptions\n\n/**\n * Custom hook that returns props for a form field's label, input, helper text and error message.\n * Meant to be used in conjunction with the `Input`, `Select` or `Textarea` component.\n *\n * Used internally by `TextField`, `Select` and `Textarea`.\n */\nexport const useFormField = <T extends FormFieldElement>(props: UseFormFieldProps<T>) => {\n const { id: idProp, isDisabled, helperText, errorMessage, isInvalid, isRequired } = props\n const id = useStableId(idProp)\n\n const errorMessageId = `${id}-error`\n const helperTextId = `${id}-helper`\n\n const getLabelProps = useCallback<PropGetter<'label'>>(\n (forwardedProps) => ({\n ...forwardedProps,\n htmlFor: id,\n 'data-disabled': isDisabled ? '' : undefined,\n }),\n [id, isDisabled],\n )\n\n const getHelperTextProps = useCallback<PropGetter<'div'>>(\n (forwardedProps) => ({\n ...forwardedProps,\n id: helperTextId,\n 'data-disabled': isDisabled ? '' : undefined,\n }),\n [helperTextId, isDisabled],\n )\n\n const getErrorMessageProps = useCallback<PropGetter<'div'>>(\n (forwardedProps) => ({\n ...forwardedProps,\n id: errorMessageId,\n 'aria-live': 'polite',\n }),\n [errorMessageId],\n )\n\n const getFieldProps = useCallback<PropGetter<T>>(\n (forwardedProps) => {\n const ariaDescribedByIds: string[] = []\n\n // Error message must be described first in all scenarios.\n if (Boolean(errorMessage) && isInvalid) {\n ariaDescribedByIds.push(errorMessageId)\n } else if (helperText) {\n ariaDescribedByIds.push(helperTextId)\n }\n\n if (forwardedProps?.['aria-describedby']) {\n ariaDescribedByIds.push(forwardedProps['aria-describedby'])\n }\n\n return {\n ...forwardedProps,\n 'aria-describedby': ariaDescribedByIds.join(' ') || undefined,\n id: forwardedProps?.id ?? id,\n isDisabled,\n isRequired,\n 'aria-invalid': isInvalid ? true : undefined,\n }\n },\n [errorMessage, errorMessageId, helperText, helperTextId, id, isDisabled, isInvalid, isRequired],\n )\n\n return {\n getLabelProps,\n /**\n * Props to be spread on the input, select or textarea element.\n * Function accepts an optional object of props to be merged with the returned props.\n */\n getFieldProps,\n getHelperTextProps,\n getErrorMessageProps,\n }\n}\n","import React, { useState } from 'react'\n\nimport type { LegitimateAny } from '../types'\n\nimport { useSafeLayoutEffect } from './use-safe-layout-effect'\n\n/**\n * This is basically a copy of Radix UI's `useId` hook.\n */\n\n// We `toString()` to prevent bundlers from trying to `import { useId } from 'react';`\nconst useReactId = (React as LegitimateAny)['useId'.toString()] || (() => undefined)\nlet count = 0\n\n/**\n * Returns a stable ID that is unique to the component instance.\n */\nexport function useStableId(fixedId?: string | null): string {\n const [id, setId] = useState<string | undefined>(useReactId())\n // React versions older than 18 will have client-side ids only.\n useSafeLayoutEffect(() => {\n if (!fixedId) setId((reactId) => reactId ?? String(count++))\n }, [fixedId])\n return fixedId || (id ? `qds-${id}` : '')\n}\n","import { useLayoutEffect } from 'react'\n\n/**\n * On the server, React emits a warning when calling `useLayoutEffect`.\n * This is because neither `useLayoutEffect` nor `useEffect` run on the server.\n * We use this safe version which suppresses the warning by replacing it with a noop on the server.\n *\n * See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect\n */\nexport const useSafeLayoutEffect = globalThis?.document ? useLayoutEffect : () => undefined\n","type Booleanish = boolean | 'true' | 'false'\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const dataAttr = (condition: boolean | undefined) =>\n (condition ? '' : undefined) as Booleanish\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ariaAttr = (condition: boolean | undefined) =>\n (condition ? 'true' : undefined) as Booleanish\n","import styled from '@emotion/styled'\nimport type { PropsWithChildren } from 'react'\n\nconst FieldWrapper = styled.div(({ theme }) => ({\n position: 'relative',\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing['2x'],\n width: '100%',\n}))\n\nexport function FormField({ children }: PropsWithChildren) {\n return <FieldWrapper role=\"group\">{children}</FieldWrapper>\n}\n\nexport const ErrorMessage = styled.div(({ theme }) => ({\n ...theme.typography.body.sm,\n color: theme.colors.text.negative,\n}))\n\n// We use a `<span>` since our radio buttons render as `<button>`\n// through Radix. And only phrasing content is allowed inside a `<button>`.\n// See: https://validator.nu/#textarea\nexport const HelperText = styled.span(({ theme }) => ({\n ...theme.typography.body.sm,\n color: theme.colors.text.subtle,\n '&[data-disabled]': {\n opacity: 0.4,\n },\n}))\n","import styled from '@emotion/styled'\nimport { forwardRef } from 'react'\n\nimport type { HTMLQdsProps } from '../../types'\n\nconst StyledDivider = styled.span<Required<DividerOptions>>(({ theme, orientation }) => {\n const borderCssKey = orientation === 'horizontal' ? 'borderTop' : 'borderLeft'\n const sizeCssKey = orientation === 'horizontal' ? 'width' : 'height'\n return {\n display: 'block',\n [sizeCssKey]: '100%',\n flexShrink: 0,\n [borderCssKey]: `1px solid ${theme.colors.border.default}`,\n }\n})\n\ninterface DividerOptions {\n /**\n * The orientation of the divider.\n *\n * @default 'horizontal'\n */\n orientation?: 'horizontal' | 'vertical'\n}\n\nexport interface DividerProps extends HTMLQdsProps<'span'>, DividerOptions {}\nexport const Divider = forwardRef<HTMLDivElement, DividerProps>((props, forwardedRef) => {\n const { orientation = 'horizontal', ...restProps } = props\n return (\n <StyledDivider ref={forwardedRef} orientation={orientation} role=\"separator\" {...restProps} />\n )\n})\n","import * as DropdownPrimitive from '@radix-ui/react-dropdown-menu'\nimport type { ReactNode } from 'react'\n\nimport { DropdownMenuContent, type DropdownMenuContentProps } from './dropdown-menu-content'\nimport { DropdownMenuDivider, type DropdownMenuDividerProps } from './dropdown-menu-divider'\nimport { DropdownMenuItem, type DropdownMenuItemProps } from './dropdown-menu-item'\nimport type { DropdownMenuTriggerProps } from './dropdown-menu-trigger'\nimport { DropdownMenuTrigger } from './dropdown-menu-trigger'\n\ninterface DropdownMenuRootProps {\n children: ReactNode\n /**\n * If `true` the dropdown menu will be open\n */\n isOpen?: boolean\n /**\n * The open state of the submenu when it is initially rendered.\n * Use when you do not need to control its open state.\n */\n defaultOpen?: boolean\n /**\n * Callback invoked open state changes\n */\n onOpenChange?: (isOpen: boolean) => void\n}\n\nfunction DropdownMenuRoot(props: DropdownMenuRootProps) {\n //eslint-disable-next-line @typescript-eslint/naming-convention\n const { children, isOpen, onOpenChange, defaultOpen = false } = props\n return (\n <DropdownPrimitive.Root\n defaultOpen={defaultOpen}\n open={isOpen}\n onOpenChange={onOpenChange}\n modal\n >\n {children}\n </DropdownPrimitive.Root>\n )\n}\n\nexport const DropdownMenu = Object.assign(DropdownMenuRoot, {\n Trigger: DropdownMenuTrigger,\n Content: DropdownMenuContent,\n Item: DropdownMenuItem,\n Divider: DropdownMenuDivider,\n})\n\nexport type {\n DropdownMenuRootProps,\n DropdownMenuTriggerProps,\n DropdownMenuContentProps,\n DropdownMenuItemProps,\n DropdownMenuDividerProps,\n}\n","import { keyframes } from '@emotion/react'\nimport styled from '@emotion/styled'\nimport * as DropdownPrimitive from '@radix-ui/react-dropdown-menu'\nimport { forwardRef } from 'react'\n\nimport type { HTMLQdsProps } from '../../types'\n\nconst slideUpAndFadeIn = keyframes({\n '0%': { opacity: 0, transform: 'translateY(4px) scale(0.94)' },\n '100%': { opacity: 1, transform: 'translateY(0)' },\n})\n\nconst slideRightAndFadeIn = keyframes({\n '0%': { opacity: 0, transform: 'translateX(-4px) scale(0.94)' },\n '100%': { opacity: 1, transform: 'translateX(0)' },\n})\n\nconst slideDownAndFadeIn = keyframes({\n '0%': { opacity: 0, transform: 'translateY(-4px) scale(0.94)' },\n '100%': { opacity: 1, transform: 'translateY(0)' },\n})\n\nconst slideLeftAndFadeIn = keyframes({\n '0%': { opacity: 0, transform: 'translateX(4px) scale(0.94)' },\n '100%': { opacity: 1, transform: 'translateX(0)' },\n})\nconst slideUpAndFadeOut = keyframes({\n '0%': { opacity: 1, transform: 'translateY(0px)' },\n '100%': { opacity: 0, transform: 'translateY(-4px) scale(0.94)' },\n})\n\nconst slideRightAndFadeOut = keyframes({\n '0%': { opacity: 1, transform: 'translateX(0px)' },\n '100%': { opacity: 0, transform: 'translateX(4px) scale(0.94)' },\n})\n\nconst slideDownAndFadeOut = keyframes({\n '0%': { opacity: 1, transform: 'translateY(0)' },\n '100%': { opacity: 0, transform: 'translateY(4px) scale(0.94)' },\n})\n\nconst slideLeftAndFadeOut = keyframes({\n '0%': { opacity: 1, transform: 'translateX(0)' },\n '100%': { opacity: 0, transform: 'translateX(-4px) scale(0.94)' },\n})\n\nconst StyledContent = styled(DropdownPrimitive.Content)(({ theme }) => ({\n background: theme.colors.bg.default,\n minWidth: theme.sizes[192],\n maxWidth: theme.sizes[288],\n borderRadius: theme.radii.md,\n boxShadow: theme.shadows.md,\n padding: theme.spacing['2x'],\n '@media (prefers-reduced-motion: no-preference)': {\n transformOrigin: 'var(--radix-dropdown-menu-content-transform-origin)',\n animationDuration: '240ms',\n animationTimingFunction: 'cubic-bezier(0.16, 1, 0.3, 1)',\n willChange: 'transform, opacity',\n '&[data-state=\"open\"]': {\n '&[data-side=\"top\"]': { animationName: slideUpAndFadeIn },\n '&[data-side=\"right\"]': { animationName: slideRightAndFadeIn },\n '&[data-side=\"bottom\"]': { animationName: slideDownAndFadeIn },\n '&[data-side=\"left\"]': { animationName: slideLeftAndFadeIn },\n },\n '&[data-state=\"closed\"]': {\n animationDuration: '180ms',\n '&[data-side=\"top\"]': { animationName: slideDownAndFadeOut },\n '&[data-side=\"right\"]': { animationName: slideLeftAndFadeOut },\n '&[data-side=\"bottom\"]': { animationName: slideUpAndFadeOut },\n '&[data-side=\"left\"]': { animationName: slideRightAndFadeOut },\n },\n },\n}))\n\ntype PrimitiveContentProps = DropdownPrimitive.DropdownMenuContentProps\n\ninterface DropdownMenuContentOptions {\n /**\n * Event handler called when focus moves to the trigger after closing.\n * It can be prevented by calling `event.preventDefault`.\n */\n onCloseAutofocus?: PrimitiveContentProps['onCloseAutoFocus']\n /**\n * Event handler called when the escape key is down.\n * It can be prevented by calling `event.preventDefault`.\n */\n onEscapeKeyDown?: PrimitiveContentProps['onEscapeKeyDown']\n /**\n * Event handler called when a pointer event occurs outside the bounds of the component.\n * It can be prevented by calling `event.preventDefault`.\n */\n onPointerDownOutside?: PrimitiveContentProps['onPointerDownOutside']\n /**\n * Event handler called when focus moves outside the bounds of the component.\n * It can be prevented by calling `event.preventDefault`.\n */\n onFocusOutside?: PrimitiveContentProps['onFocusOutside']\n /**\n * Event handler called when an interaction (pointer or focus event) happens outside the bounds of the component.\n * It can be prevented by calling `event.preventDefault`.\n */\n onInteractOutside?: PrimitiveContentProps['onInteractOutside']\n /**\n * The preferred side of the trigger to render against when open.\n * Will be reversed when collisions occur and `avoidCollisions` is enabled.\n *\n * @default \"bottom\"\n */\n side?: PrimitiveContentProps['side']\n /**\n * The distance in pixels from the trigger.\n *\n * @default 8\n */\n sideOffset?: PrimitiveContentProps['sideOffset']\n /**\n * The preferred alignment against the trigger. May change when collisions occur.\n *\n * @default \"center\"\n */\n align?: PrimitiveContentProps['align']\n /**\n * The element used as the collision boundary.\n * By default this is the viewport, though you can provide additional element(s) to be included in this check.\n *\n * @default []\n */\n collisionBoundary?: PrimitiveContentProps['collisionBoundary']\n /**\n * Whether to hide the content when the trigger becomes fully occluded.\n *\n * @default false\n */\n hideWhenDetached?: PrimitiveContentProps['hideWhenDetached']\n}\n\nexport interface DropdownMenuContentProps extends HTMLQdsProps<'div'>, DropdownMenuContentOptions {}\n\nexport const DropdownMenuContent = forwardRef<HTMLDivElement, DropdownMenuContentProps>(\n (props, forwardedRef) => {\n const { children, sideOffset = 8, ...restProps } = props\n\n return (\n <DropdownPrimitive.Portal>\n <StyledContent\n collisionPadding={16}\n ref={forwardedRef}\n sideOffset={sideOffset}\n {...restProps}\n >\n {children}\n </StyledContent>\n </DropdownPrimitive.Portal>\n )\n },\n)\n","import { forwardRef } from 'react'\nimport * as DropdownPrimitive from '@radix-ui/react-dropdown-menu'\nimport styled from '@emotion/styled'\n\nimport type { HTMLQdsProps } from '../../types'\n\nconst StyledSeparator = styled(DropdownPrimitive.Separator)(({ theme }) => ({\n height: 1,\n background: theme.colors.border.subtle,\n marginTop: theme.spacing['1x'],\n marginBottom: theme.spacing['1x'],\n marginLeft: `-${theme.spacing['2x']}`,\n marginRight: `-${theme.spacing['2x']}`,\n}))\n\nexport type DropdownMenuDividerProps = HTMLQdsProps<'div'>\nexport const DropdownMenuDivider = forwardRef<HTMLDivElement, DropdownMenuDividerProps>(\n (props, forwardedRef) => {\n return <StyledSeparator ref={forwardedRef} {...props} />\n },\n)\n","import type { ElementType } from 'react'\nimport { forwardRef } from 'react'\nimport * as DropdownPrimitive from '@radix-ui/react-dropdown-menu'\nimport styled from '@emotion/styled'\n\nimport type { IconProps } from '../icon'\nimport { pxToRem } from '../../styles'\n\nconst StyledItem = styled(DropdownPrimitive.Item)(({ theme }) => ({\n ...theme.typography.label.sm,\n color: theme.colors.text.default,\n height: pxToRem(40),\n borderRadius: theme.radii.xs,\n display: 'flex',\n alignItems: 'center',\n gap: theme.spacing['3x'],\n paddingLeft: theme.spacing['3x'],\n paddingRight: theme.spacing['3x'],\n cursor: 'pointer',\n outline: 'none',\n userSelect: 'none',\n '&[data-highlighted]': {\n background: theme.colors.core.gray10,\n },\n ':not([data-disabled])': {\n ':active': {\n background: theme.colors.core.gray20,\n },\n },\n '&[data-disabled]': {\n opacity: 0.4,\n cursor: 'not-allowed',\n },\n}))\nconst TextContainer = styled.span({\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n})\n\ninterface DropdownMenuItemOptions {\n /**\n * If `true`, the item will be disabled\n */\n isDisabled?: boolean\n /**\n * Event handler called when the user selects an item (via mouse or keyboard).\n * Calling `event.preventDefault` in this handler will prevent the dropdown from closing when selecting that item.\n */\n onSelect?: (event: Event) => void\n /**\n * Optional text used for typeahead purposes.\n * By default the typeahead behavior will use the `.textContent` of the item.\n * Use this when the content is complex, or you have non-textual content inside.\n */\n textValue?: string\n /**\n * Optional icon to display on the left side of the item content.\n */\n icon?: ElementType<IconProps>\n}\nexport interface DropdownMenuItemProps\n extends Omit<DropdownPrimitive.DropdownMenuItemProps, 'asChild' | keyof DropdownMenuItemOptions>,\n DropdownMenuItemOptions {}\n\nexport const DropdownMenuItem = forwardRef<HTMLDivElement, DropdownMenuItemProps>(\n (props, forwardedRef) => {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n const { children, disabled, isDisabled, icon: Icon, ...restProps } = props\n return (\n <StyledItem ref={forwardedRef} disabled={disabled || isDisabled} {...restProps}>\n {Icon && <Icon color=\"default\" size={16} aria-hidden />}\n <TextContainer>{children}</TextContainer>\n </StyledItem>\n )\n },\n)\n","import * as DropdownTriggerPrimitive from '@radix-ui/react-dropdown-menu'\nimport { forwardRef } from 'react'\n\nimport type * as Polymorphic from '../../utils/polymorphic'\n\ntype DropdownTriggerComponent = Polymorphic.ForwardRefComponent<'button'>\n\nexport type DropdownMenuTriggerProps = Polymorphic.PropsOf<DropdownTriggerComponent>\n\nexport const DropdownMenuTrigger = forwardRef((props, forwardedRef) => {\n const { children, as, ...restProps } = props\n const Component = as || 'button'\n\n return (\n <DropdownTriggerPrimitive.Trigger ref={forwardedRef} asChild>\n <Component {...restProps}>{children}</Component>\n </DropdownTriggerPrimitive.Trigger>\n )\n}) as DropdownTriggerComponent\n","import styled from '@emotion/styled'\nimport isPropValid from '@emotion/is-prop-valid'\nimport { forwardRef } from 'react'\n\nimport type * as Polymorphic from '../../utils/polymorphic'\nimport type { Theme } from '../../theme'\nimport type { ResponsiveProp } from '../../styles/responsive'\nimport { toMediaQueries } from '../../styles/responsive'\n\ntype HeadingSize = keyof Theme['typography']['title']\ntype HeadingColor = keyof Theme['colors']['text']\n\ninterface StyledHeadingProps {\n size: ResponsiveProp<HeadingSize>\n color: HeadingColor\n numberOfLines?: number\n textAlign?: 'left' | 'center' | 'right'\n}\nconst StyledHeading = styled('h2', { shouldForwardProp: isPropValid })<StyledHeadingProps>(\n ({ theme, size, color, numberOfLines, textAlign }) => ({\n margin: 0,\n ...toMediaQueries(size, (currentValue) => theme.typography.title[currentValue]),\n color: theme.colors.text[color],\n textAlign,\n overflowWrap: 'break-word',\n wordWrap: 'break-word',\n ...(numberOfLines && {\n display: '-webkit-box',\n WebkitBoxOrient: 'vertical',\n WebkitLineClamp: numberOfLines,\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }),\n }),\n)\n\ninterface HeadingOptions {\n /**\n * Sets the visual size of the heading.\n * To override the rendered tag, use the `as` prop.\n *\n * @default 'md'\n */\n size?: ResponsiveProp<HeadingSize>\n /**\n * Sets the color of the heading\n * @default 'default'\n */\n color?: HeadingColor\n /**\n * Truncates the heading after a specific number of lines\n */\n numberOfLines?: number\n /**\n * Alignment of the heading\n * @default 'left'\n */\n textAlign?: 'left' | 'center' | 'right'\n}\n\ntype HeadingComponent = Polymorphic.ForwardRefComponent<'h2', HeadingOptions>\nexport type HeadingProps = Polymorphic.PropsOf<HeadingComponent>\n\nexport const Heading = forwardRef((props, forwardedRef) => {\n const { as, children, size = 'md', color = 'default', textAlign = 'left', ...rest } = props\n\n return (\n <StyledHeading\n as={as}\n ref={forwardedRef}\n textAlign={textAlign}\n size={size}\n color={color}\n {...rest}\n >\n {children}\n </StyledHeading>\n )\n}) as HeadingComponent\n","import { forwardRef } from 'react'\nimport styled from '@emotion/styled'\n\nimport type { HTMLQdsProps } from '../../types'\n\nconst Wrapper = styled.aside(({ theme }) => ({\n backgroundColor: theme.colors.bg.inset,\n borderRadius: theme.radii.md,\n paddingInline: theme.spacing['5x'],\n paddingBlock: theme.spacing['4x'],\n ...theme.typography.body.sm,\n}))\n\nexport type HintBoxTitleProps = HTMLQdsProps<'span'>\n\nconst Title = styled.p(({ theme }) => ({\n ...theme.typography.title['3xs'],\n marginBottom: theme.spacing['1x'],\n}))\n\nexport type HintBoxProps = HTMLQdsProps<'aside'>\n\nconst HintRoot = forwardRef<HTMLElement, HintBoxProps>((props, forwardedRef) => {\n const { children, ...rest } = props\n return (\n <Wrapper ref={forwardedRef} {...rest}>\n {children}\n </Wrapper>\n )\n})\n\nexport const HintBox = Object.assign(HintRoot, { Title })\n","import type { ElementType } from 'react'\nimport { forwardRef } from 'react'\nimport styled from '@emotion/styled'\nimport isPropValid from '@emotion/is-prop-valid'\n\nimport type { VariantProps } from '../../styles'\nimport type { IconProps } from '../icon'\nimport type * as Polymorphic from '../../utils/polymorphic'\nimport { toMediaQueries, type ResponsiveProp } from '../../styles/responsive'\n\nimport { getSizeStyles, getVariantStyles } from './icon-button-styles'\n\nconst roundToTwoDecimals = (num: number) => Math.round(num * 100) / 100\n\nconst ICON_SIZE_MAP = {\n xs: 16,\n sm: 20,\n md: 20,\n} as const\n\ninterface StyledButtonProps {\n size: ResponsiveProp<IconButtonSize>\n variant: IconButtonVariant\n}\nconst StyledButton = styled('button', { shouldForwardProp: isPropValid })<StyledButtonProps>(\n ({ theme, size: iconSize, variant }) => ({\n borderRadius: theme.radii.full,\n display: 'inline-flex',\n justifyContent: 'center',\n alignItems: 'center',\n position: 'relative',\n flexShrink: 0,\n WebkitTouchCallout: 'none',\n WebkitTapHighlightColor: 'transparent',\n userSelect: 'none',\n transitionProperty: 'box-shadow, transform, opacity, background-color, color',\n transitionDuration: '150ms',\n transitionTimingFunction: 'ease',\n\n '&[disabled]': {\n opacity: 0.4,\n },\n '&:not([disabled]):active': {\n transform: 'scale(0.97)',\n },\n ...toMediaQueries(iconSize, (currentValue) => {\n const iconSize = ICON_SIZE_MAP[currentValue]\n return {\n ...getSizeStyles(theme)[currentValue],\n '> svg': {\n width: iconSize,\n height: iconSize,\n // Always set a minimum stroke width of 2px.\n // If the size is less than 24px, scale the stroke width up\n // to compensate for the scaling down of the icon.\n ...(iconSize < 24 && {\n strokeWidth: roundToTwoDecimals((24 / iconSize) * 2),\n }),\n },\n }\n }),\n ...getVariantStyles(theme)[variant],\n }),\n)\n\ntype IconButtonSize = VariantProps<typeof getSizeStyles>\ntype IconButtonVariant = VariantProps<typeof getVariantStyles>\ninterface IconButtonOptions {\n icon: ElementType<IconProps>\n /**\n * A visually hidden label read by screen readers.\n *\n */\n label: string\n /**\n * Defines the size of the button\n */\n size?: ResponsiveProp<IconButtonSize>\n /**\n * Sets the style variant of the button\n */\n variant?: IconButtonVariant\n /**\n * If `true` the button will be disabled\n */\n isDisabled?: boolean\n}\n\ntype IconButtonComponent = Polymorphic.ForwardRefComponent<'button', IconButtonOptions>\nexport type IconButtonProps = Polymorphic.PropsOf<IconButtonComponent>\n\nexport const IconButton = forwardRef((props, forwardedRef) => {\n const {\n as,\n icon: Icon,\n label,\n 'aria-label': ariaLabel = label,\n variant = 'white',\n size = 'md',\n type = 'button',\n isDisabled = false,\n ...restProps\n } = props\n return (\n <StyledButton\n as={as}\n ref={forwardedRef}\n aria-label={ariaLabel}\n variant={variant}\n size={size}\n disabled={isDisabled}\n type={type}\n {...restProps}\n >\n <Icon aria-hidden=\"true\" color=\"currentColor\" />\n </StyledButton>\n )\n}) as IconButtonComponent\n","import { pxToRem, createStyleVariants } from '../../styles'\n\n// Can't use :enabled cause it doesn't work when rendered as a link\nconst NOT_DISABLED = ':not([disabled])'\n\nexport const getSizeStyles = createStyleVariants(() => ({\n xs: {\n width: pxToRem(32),\n height: pxToRem(32),\n },\n sm: {\n width: pxToRem(40),\n height: pxToRem(40),\n },\n md: {\n width: pxToRem(48),\n height: pxToRem(48),\n },\n}))\n\n// These are the exact same styles as the `Button` variant styles.\n// Maybe we can share them somehow in the future but there isn't any good abstraction yet\n// so I'll keep some duplicated styles here for now. -- Hugo (2022-07-03)\nexport const getVariantStyles = createStyleVariants(({ colors }) => ({\n primary: {\n background: colors.bg.brandPrimary,\n color: colors.text.onBrandPrimary,\n [NOT_DISABLED]: {\n // This prevents hover styles from displaying instead\n // of active styles on touch devices\n '@media(hover: hover)': {\n ':hover': {\n background: colors.bg.brandPrimaryHover,\n },\n },\n ':active': {\n background: colors.bg.brandPrimaryActive,\n },\n },\n },\n secondary: {\n background: colors.bg.brandSecondary,\n color: colors.text.onBrandSecondary,\n [NOT_DISABLED]: {\n '@media(hover: hover)': {\n ':hover': {\n background: colors.bg.brandSecondaryHover,\n },\n },\n ':active': {\n background: colors.bg.brandSecondaryActive,\n },\n },\n },\n tertiary: {\n background: colors.bg.brandTertiary,\n color: colors.text.onBrandTertiary,\n [NOT_DISABLED]: {\n '@media(hover: hover)': {\n ':hover': {\n background: colors.bg.brandTertiaryHover,\n },\n },\n ':active': {\n background: colors.bg.brandTertiaryActive,\n },\n },\n },\n\n ghost: {\n color: colors.text.default,\n [NOT_DISABLED]: {\n '@media(hover: hover)': {\n ':hover': {\n background: colors.core.blackAlpha5,\n },\n },\n ':active': {\n background: colors.core.blackAlpha10,\n },\n },\n },\n white: {\n background: colors.bg.default,\n color: colors.text.default,\n [NOT_DISABLED]: {\n '@media(hover: hover)': {\n ':hover': {\n background: colors.core.gray10,\n },\n },\n ':active': {\n background: colors.core.gray20,\n },\n },\n },\n}))\n","import styled from '@emotion/styled'\nimport { forwardRef, useRef, useState } from 'react'\n\nimport { useFormField, useSafeLayoutEffect } from '../../hooks'\nimport { useTranslation } from '../../i18n/use-translation'\nimport { dataAttr } from '../../utils/html-attributes'\nimport type { HTMLQdsProps } from '../../types'\nimport { Label } from '../label'\nimport type { InputBaseOptions } from '../primitives/input-base'\nimport { InputBase } from '../primitives/input-base'\nimport { ErrorMessage, FormField, HelperText } from '../_internal'\n\ninterface InputContainerProps {\n isPositionRelative: boolean\n}\nconst InputContainer = styled.div<InputContainerProps>(({ isPositionRelative }) => ({\n width: '100%',\n position: isPositionRelative ? 'relative' : undefined,\n}))\n\nconst OptionalText = styled.span(({ theme }) => ({\n ...theme.typography.body.sm,\n color: theme.colors.text.subtle,\n}))\n\nconst Suffix = styled.div(({ theme }) => ({\n ...theme.typography.body.md,\n position: 'absolute',\n height: '100%',\n top: 0,\n right: 0,\n display: 'flex',\n alignItems: 'center',\n paddingLeft: theme.spacing['4x'],\n paddingRight: theme.spacing['4x'],\n pointerEvents: 'none',\n '&[data-disabled]': {\n opacity: 0.4,\n },\n}))\n\ninterface TextFieldOptions extends InputBaseOptions {\n /**\n * The label for the input\n */\n label: string\n /**\n * The error message to display if `isInvalid` is `true`\n */\n errorMessage?: string\n /**\n * If `true`, the input will display an optional indicator.\n * If the `isRequired` prop is also `true`, this prop will be ignored.\n */\n isOptional?: boolean\n /**\n * Text that provides additional guidance to the user\n */\n helperText?: string\n /**\n * Suffixed text to display after the input.\n * This is useful for e.g. displaying units of measurement.\n */\n suffix?: string\n}\n\ntype OmittedProps = 'children' | 'readOnly' | 'size'\n\nexport interface TextFieldProps\n extends Omit<HTMLQdsProps<'input'>, OmittedProps>,\n TextFieldOptions {}\n\nexport const TextField = forwardRef<HTMLInputElement, TextFieldProps>((props, forwardedRef) => {\n const {\n label,\n isInvalid,\n isDisabled,\n isRequired,\n isOptional: isOptionalProp,\n errorMessage,\n helperText,\n suffix,\n ...restProps\n } = props\n const {\n getLabelProps,\n getFieldProps: getInputProps,\n getErrorMessageProps,\n getHelperTextProps,\n } = useFormField<'input'>(props)\n\n const [suffixWidth, setSuffixWidth] = useState<number | undefined>(undefined)\n const suffixRef = useRef<HTMLDivElement>(null)\n const { t } = useTranslation()\n\n useSafeLayoutEffect(() => {\n setSuffixWidth(suffixRef.current?.offsetWidth)\n }, [suffix])\n\n const helperTextElement = helperText ? (\n <HelperText {...getHelperTextProps()}>{helperText}</HelperText>\n ) : null\n\n const shouldShowErrorMessage = isInvalid && errorMessage\n const errorMessageElement = shouldShowErrorMessage ? (\n <ErrorMessage {...getErrorMessageProps()}>{errorMessage}</ErrorMessage>\n ) : null\n\n const hasSuffix = Boolean(suffix)\n\n const isOptional = Boolean(!isRequired && isOptionalProp)\n\n return (\n <FormField>\n <Label {...getLabelProps()}>\n {label}\n {isOptional && <OptionalText>{` (${t('optional')})`}</OptionalText>}\n </Label>\n\n <InputContainer isPositionRelative={hasSuffix}>\n <InputBase\n ref={forwardedRef}\n {...getInputProps({ ...restProps, style: { paddingRight: suffixWidth } })}\n />\n {hasSuffix && (\n <Suffix ref={suffixRef} aria-hidden=\"true\" data-disabled={dataAttr(isDisabled)}>\n {suffix}\n </Suffix>\n )}\n </InputContainer>\n {errorMessageElement || helperTextElement}\n </FormField>\n )\n})\n","const SUPPORTED_LANGUAGE_CODES = ['en', 'sv', 'fi', 'fr', 'nb'] as const\n\nexport type LanguageCode = (typeof SUPPORTED_LANGUAGE_CODES)[number]\n\nexport interface Resource {\n close: string\n optional: string\n}\nconst en: Resource = {\n close: 'Close',\n optional: 'Optional',\n}\n\nconst sv: Resource = {\n close: 'Stäng',\n optional: 'Valfritt',\n}\n\nconst fi: Resource = {\n close: 'Sulje',\n optional: 'Valinnainen',\n}\n\nconst fr: Resource = {\n close: 'Fermer',\n optional: 'Facultatif',\n}\n\nconst nb: Resource = {\n close: 'Steng',\n optional: 'Valgfri',\n}\n\nexport const locales: Record<LanguageCode, Resource> = {\n en,\n sv,\n fi,\n fr,\n nb,\n}\n","import { useLocale } from './locale-context'\nimport type { Resource } from './locales'\nimport { locales } from './locales'\n\ntype I18nKey = keyof Resource\n\nexport function useTranslation() {\n const { currentLanguage } = useLocale()\n\n const t = (key: I18nKey) => locales[currentLanguage][key]\n\n return { t }\n}\n","import styled from '@emotion/styled'\nimport isPropValid from '@emotion/is-prop-valid'\nimport { forwardRef } from 'react'\n\nimport type { VariantProps } from '../../styles'\nimport { createStyleVariants } from '../../styles'\nimport type * as Polymorphic from '../../utils/polymorphic'\nimport type { Theme } from '../../theme'\nimport type { ResponsiveProp } from '../../styles/responsive'\nimport { toMediaQueries } from '../../styles/responsive'\n\nconst getSizeStyles = createStyleVariants(({ typography }) => ({\n sm: {\n ...typography.label.sm,\n },\n md: {\n ...typography.label.md,\n },\n}))\n\ntype LabelSize = VariantProps<typeof getSizeStyles>\ntype LabelColor = keyof Theme['colors']['text']\n\ninterface StyledLabelProps {\n size: ResponsiveProp<LabelSize>\n color: LabelColor\n}\nconst StyledLabel = styled('label', { shouldForwardProp: isPropValid })<StyledLabelProps>(\n ({ theme, color, size }) => ({\n display: 'block',\n color: theme.colors.text[color],\n cursor: 'default',\n WebkitTouchCallout: 'none',\n WebkitTapHighlightColor: 'transparent',\n ...toMediaQueries(size, (currentValue) => getSizeStyles(theme)[currentValue]),\n '&[data-disabled]': {\n opacity: 0.4,\n },\n }),\n)\n\ninterface LabelOptions {\n /**\n * Size of the label\n */\n size?: ResponsiveProp<LabelSize>\n /**\n * Sets the color of the label\n * @default 'default'\n */\n color?: LabelColor\n}\n\ntype LabelComponent = Polymorphic.ForwardRefComponent<'label', LabelOptions>\nexport type LabelProps = Polymorphic.PropsOf<LabelComponent>\n\nexport const Label = forwardRef((props, forwardedRef) => {\n const { as, children, color = 'default', size = 'md', onMouseDown, ...restProps } = props\n return (\n <StyledLabel\n as={as}\n ref={forwardedRef}\n {...restProps}\n size={size}\n color={color}\n onMouseDown={(event) => {\n onMouseDown && onMouseDown(event)\n // prevent text selection when double clicking label\n if (!event.defaultPrevented && event.detail > 1) {\n event.preventDefault()\n }\n }}\n >\n {children}\n </StyledLabel>\n )\n}) as LabelComponent\n","import styled from '@emotion/styled'\nimport { forwardRef } from 'react'\n\nimport { getFormFieldBaseStyles } from '../../../styles'\nimport type { HTMLQdsProps } from '../../../types'\nimport { ariaAttr } from '../../../utils/html-attributes'\n\nconst StyledInput = styled('input')(({ theme }) => ({\n ...getFormFieldBaseStyles(theme),\n height: 48,\n}))\n\nexport interface InputBaseOptions {\n /**\n * If `true`, the input will be invalid\n */\n isInvalid?: boolean\n /**\n * If `true`, the input will be disabled\n */\n isDisabled?: boolean\n /**\n * If `true` the input will be required\n */\n isRequired?: boolean\n}\n\ntype OmittedProps = 'children' | 'readOnly' | 'size' | 'disabled' | 'required'\nexport interface InputBaseProps\n extends Omit<HTMLQdsProps<'input'>, OmittedProps>,\n InputBaseOptions {}\n\nexport const InputBase = forwardRef<HTMLInputElement, InputBaseProps>((props, forwardedRef) => {\n const { isInvalid, isDisabled, isRequired, ...restProps } = props\n\n return (\n <StyledInput\n ref={forwardedRef}\n aria-invalid={ariaAttr(isInvalid)}\n disabled={isDisabled}\n required={isRequired}\n {...restProps}\n />\n )\n})\n","import { forwardRef } from 'react'\nimport styled from '@emotion/styled'\nimport isPropValid from '@emotion/is-prop-valid'\n\nimport type * as Polymorphic from '../../utils/polymorphic'\n\nconst StyledLink = styled('a', { shouldForwardProp: isPropValid })(({ theme }) => ({\n WebkitTouchCallout: 'none',\n WebkitTapHighlightColor: 'transparent',\n ...theme.typography.body.md,\n WebkitAppearance: 'none',\n transitionProperty: 'box-shadow, transform, opacity, background-color, color',\n transitionDuration: '150ms',\n transitionTimingFunction: 'ease',\n flexShrink: 0,\n fontSize: 'inherit',\n color: 'inherit',\n textDecoration: 'underline',\n}))\n\ninterface LinkOptions {\n /**\n * The URL to link to.\n */\n href?: string\n /**\n * If `true`, the link will open in new tab\n */\n isExternal?: boolean\n}\n\ntype LinkComponent = Polymorphic.ForwardRefComponent<'a', LinkOptions>\nexport type LinkProps = Polymorphic.PropsOf<LinkComponent>\n\nexport const Link = forwardRef((props, forwardedRef) => {\n const { children, href, isExternal = false, ...restProps } = props\n const externalProps = isExternal ? { target: '_blank', rel: 'noopener noreferrer' } : {}\n return (\n <StyledLink ref={forwardedRef} href={href} {...externalProps} {...restProps}>\n {children}\n </StyledLink>\n )\n}) as LinkComponent\n","import styled from '@emotion/styled'\nimport isPropValid from '@emotion/is-prop-valid'\nimport { forwardRef } from 'react'\n\nimport type { VariantProps } from '../../styles'\nimport { createStyleVariants } from '../../styles'\nimport type { Theme } from '../../theme'\nimport type * as Polymorphic from '../../utils/polymorphic'\nimport { toMediaQueries, type ResponsiveProp } from '../../styles/responsive'\n\nconst getSizeStyles = createStyleVariants(({ typography }) => ({\n xs: typography.body.xs,\n sm: typography.body.sm,\n md: typography.body.md,\n lg: typography.body.lg,\n xl: typography.body.xl,\n}))\n\ntype ParagraphSize = VariantProps<typeof getSizeStyles>\ntype ParagraphColor = keyof Theme['colors']['text']\n\ninterface StyledParagraphProps {\n size: ResponsiveProp<ParagraphSize>\n color: ParagraphColor\n numberOfLines?: number\n textAlign?: 'left' | 'center' | 'right'\n}\n\nconst StyledParagraph = styled('p', { shouldForwardProp: isPropValid })<StyledParagraphProps>(\n ({ theme, size, color, numberOfLines, textAlign }) => ({\n margin: 0,\n ...toMediaQueries(size, (currentValue) => getSizeStyles(theme)[currentValue]),\n color: theme.colors.text[color],\n textAlign,\n overflowWrap: 'break-word',\n wordWrap: 'break-word',\n\n ...(numberOfLines && {\n display: '-webkit-box',\n WebkitBoxOrient: 'vertical',\n WebkitLineClamp: numberOfLines,\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }),\n }),\n)\n\ninterface ParagraphOptions {\n /**\n * Sets the visual size of the text\n * @default 'md'\n */\n size?: ResponsiveProp<ParagraphSize>\n /**\n * Sets the color of the text\n * @default 'normal'\n */\n color?: ParagraphColor\n /**\n * Truncates the text after a specific number of lines\n */\n numberOfLines?: number\n /**\n * Alignment of the paragraph\n * @default 'left'\n */\n textAlign?: 'left' | 'center' | 'right'\n}\n\ntype ParagraphComponent = Polymorphic.ForwardRefComponent<'p', ParagraphOptions>\nexport type ParagraphProps = Polymorphic.PropsOf<ParagraphComponent>\n\nexport const Paragraph = forwardRef((props, forwardedRef) => {\n const { children, size = 'md', color = 'default', textAlign = 'left', ...rest } = props\n return (\n <StyledParagraph ref={forwardedRef} size={size} color={color} textAlign={textAlign} {...rest}>\n {children}\n </StyledParagraph>\n )\n}) as ParagraphComponent\n","import styled from '@emotion/styled'\nimport { forwardRef } from 'react'\n\nimport { getFormFieldBaseStyles } from '../../../styles'\nimport type { HTMLQdsProps } from '../../../types'\nimport { ChevronDownIcon } from '../../icon'\n\nexport interface SelectBaseOptions {\n /**\n * The placeholder for the select. We render an `<option/>` element that has\n * empty value.\n *\n * ```jsx\n * <option value=\"\">{placeholder}</option>\n * ```\n */\n placeholder?: string\n /**\n * If `true`, the select will be invalid\n */\n isInvalid?: boolean\n /**\n * If `true`, the select will be disabled\n */\n isDisabled?: boolean\n /**\n * If `true` the select will be required\n */\n isRequired?: boolean\n}\n\nconst SelectWrapper = styled.div({\n width: '100%',\n height: 'fit-content',\n position: 'relative',\n})\nconst SelectIconWrapper = styled.div({\n pointerEvents: 'none',\n position: 'absolute',\n height: '100%',\n width: 48,\n right: 0,\n top: 0,\n color: 'currentcolor',\n display: 'inline-flex',\n justifyContent: 'center',\n alignItems: 'center',\n '&[data-disabled]': {\n opacity: 0.4,\n },\n})\n\nconst StyledSelect = styled.select(({ theme }) => ({\n ...getFormFieldBaseStyles(theme),\n height: 48,\n // Ensure the text doesn't end up behind the icon\n paddingRight: 40,\n}))\n\ntype OmittedProps = 'readOnly' | 'size' | 'multiple' | 'disabled' | 'required'\n\ninterface SelectBaseProps extends Omit<HTMLQdsProps<'select'>, OmittedProps>, SelectBaseOptions {}\n\nexport const SelectBase = forwardRef<HTMLSelectElement, SelectBaseProps>((props, forwardedRef) => {\n const { placeholder, children, isInvalid, isDisabled, isRequired, ...restProps } = props\n\n return (\n <SelectWrapper>\n <StyledSelect\n ref={forwardedRef}\n aria-invalid={isInvalid ? true : undefined}\n disabled={isDisabled}\n required={isRequired}\n {...restProps}\n >\n {placeholder && <option value=\"\">{placeholder}</option>}\n {children}\n </StyledSelect>\n <SelectIconWrapper data-disabled={isDisabled ? '' : undefined}>\n <ChevronDownIcon role=\"presentation\" aria-hidden=\"true\" size={16} />\n </SelectIconWrapper>\n </SelectWrapper>\n )\n})\n","import styled from '@emotion/styled'\nimport { forwardRef } from 'react'\n\nimport { getFormFieldBaseStyles } from '../../../styles'\nimport type { HTMLQdsProps } from '../../../types'\nimport { ariaAttr } from '../../../utils/html-attributes'\n\nconst StyledTextarea = styled.textarea<{ resize: ResizeProp; minRows: MinRowsProp }>(\n ({ theme, resize, minRows }) => {\n const baseStyles = getFormFieldBaseStyles(theme)\n const paddingVertical = theme.spacing['3x']\n const minHeight = `calc(${baseStyles.lineHeight} * ${minRows} + ${paddingVertical} * 2 + 2px)` // + 2px for border\n\n return {\n ...baseStyles,\n paddingTop: paddingVertical,\n paddingBottom: paddingVertical,\n scrollPaddingBlockEnd: paddingVertical,\n resize,\n minHeight,\n }\n },\n)\n\ntype ResizeProp = 'none' | 'both' | 'horizontal' | 'vertical'\ntype MinRowsProp = number\nexport interface TextareaBaseOptions {\n /**\n * If `true`, the textarea will be invalid\n */\n isInvalid?: boolean\n /**\n * If `true`, the textarea will be disabled\n */\n isDisabled?: boolean\n /**\n * If `true` the textarea will be required\n */\n isRequired?: boolean\n /**\n * The resize behavior of the textarea\n *\n * @default 'vertical'\n */\n resize?: ResizeProp\n /**\n * The minimum number of rows to display without requiring scrolling or resizing.\n * To disabled resizing use the `resize` prop.\n *\n * @default 3\n */\n minRows?: MinRowsProp\n}\n\ntype OmittedProps = 'children' | 'readOnly' | 'size' | 'disabled' | 'required' | 'rows' | 'cols'\nexport interface TextareaBaseProps\n extends Omit<HTMLQdsProps<'textarea'>, OmittedProps>,\n TextareaBaseOptions {}\n\nexport const TextareaBase = forwardRef<HTMLTextAreaElement, TextareaBaseProps>(\n (props, forwardedRef) => {\n const {\n isInvalid,\n isDisabled,\n isRequired,\n resize = 'vertical',\n minRows = 3,\n ...restProps\n } = props\n\n return (\n <StyledTextarea\n ref={forwardedRef}\n aria-invalid={ariaAttr(isInvalid)}\n disabled={isDisabled}\n required={isRequired}\n resize={resize}\n minRows={minRows}\n {...restProps}\n />\n )\n },\n)\n","import { forwardRef, useCallback, useState } from 'react'\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group'\nimport styled from '@emotion/styled'\n\nimport { ErrorMessage } from '../_internal'\nimport { useStableId } from '../../hooks'\nimport { ariaAttr } from '../../utils/html-attributes'\n\nimport { RadioGroupProvider } from './radio-group-context'\nimport { RadioCard } from './radio-card'\nimport type { RadioCardProps } from './radio-card'\nimport type { RadioButtonProps } from './radio-button'\nimport { RadioGroupLabel } from './radio-group-label'\nimport type { RadioGroupLabelProps } from './radio-group-label'\nimport { RadioButton } from './radio-button'\n\nconst StyledRadioGroupRoot = styled(RadioGroupPrimitive.Root)(({ theme }) => ({\n width: '100%',\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing['3x'],\n}))\n\ninterface RadioGroupOptions {\n /**\n * The value of the radio item that should be checked when initially rendered.\n * Use when you do not need to control the state of the radio items.\n */\n defaultValue?: string\n /**\n * The controlled value of the radio item to check.\n * Should be used in conjunction with `onValueChange`.\n */\n value?: string\n /**\n * Event handler called when the value changes.\n */\n onValueChange?: (value: string) => void\n /**\n * The name of the group. Submitted with its owning form as part of a name/value pair.\n */\n name?: string\n /**\n * If `true` all child radio items will be disabled.\n * @default false\n */\n isDisabled?: boolean\n /**\n * If `true` the user must check a radio item before the owning form can be submitted.\n * @default false\n */\n isRequired?: boolean\n /**\n * If `true` the radio group will be invalid.\n * @default false\n */\n isInvalid?: boolean\n /**\n * The error message to display if `isInvalid` is `true`\n */\n errorMessage?: string\n}\n\nexport interface RadioGroupProps\n // We omit some props and define them ourselves so that we can have\n // JS doc descriptions for them.\n extends Omit<RadioGroupPrimitive.RadioGroupProps, 'asChild' | keyof RadioGroupOptions>,\n RadioGroupOptions {}\n\nconst RadioGroupRoot = forwardRef<HTMLDivElement, RadioGroupProps>((props, forwardedRef) => {\n const {\n children,\n id: idProp,\n disabled: hasHtmlDisabledAttr,\n isDisabled: isDisabledProp,\n required: hasHtmlRequiredAttr,\n isRequired: isRequiredProp,\n 'aria-labelledby': ariaLabelledByProp,\n 'aria-describedby': ariaDescribedByProp,\n isInvalid,\n errorMessage,\n ...restProps\n } = props\n\n const isDisabled = isDisabledProp ?? hasHtmlDisabledAttr\n const isRequired = isRequiredProp ?? hasHtmlRequiredAttr\n\n const id = useStableId(idProp)\n\n const hasError = isInvalid && errorMessage\n const errorMessageId = hasError ? `${id}-error` : undefined\n\n const [labelElement, setLabelElement] = useState<HTMLElement | null>(null)\n\n const labelRefCallback = useCallback((node: HTMLElement | null) => setLabelElement(node), [])\n const labelId = labelElement?.id\n\n const errorMessageElement = hasError ? (\n <ErrorMessage id={errorMessageId} role=\"alert\" aria-live=\"polite\">\n {errorMessage}\n </ErrorMessage>\n ) : null\n\n const ariaLabelledBy = [labelId, ariaLabelledByProp].filter(Boolean).join(' ') || undefined\n // Error message should be described first in all scenarios.\n const ariaDescribedBy =\n [errorMessageId, ariaDescribedByProp].filter(Boolean).join(' ') || undefined\n\n return (\n <RadioGroupProvider\n value={{\n labelRefCallback,\n isDisabled,\n errorMessageId,\n }}\n >\n <StyledRadioGroupRoot\n ref={forwardedRef}\n id={id}\n disabled={isDisabled}\n required={isRequired}\n aria-invalid={ariaAttr(isInvalid)}\n aria-labelledby={ariaLabelledBy}\n aria-describedby={ariaDescribedBy}\n {...restProps}\n >\n {children}\n {errorMessageElement}\n </StyledRadioGroupRoot>\n </RadioGroupProvider>\n )\n})\n\nexport const RadioGroup = Object.assign(RadioGroupRoot, {\n Card: RadioCard,\n Button: RadioButton,\n Label: RadioGroupLabel,\n})\n\nexport type { RadioGroupLabelProps, RadioCardProps, RadioButtonProps }\n","import { createContext, useContext } from 'react'\n\ninterface RadioGroupContextValue {\n labelRefCallback: (node: HTMLElement | null) => void\n isDisabled: boolean | undefined\n errorMessageId?: string\n}\nconst RadioGroupContext = createContext<RadioGroupContextValue | null>(null)\n\ninterface RadioGroupProviderProps {\n value: RadioGroupContextValue\n children: React.ReactNode\n}\nexport function RadioGroupProvider({ value, children }: RadioGroupProviderProps) {\n return <RadioGroupContext.Provider value={value}>{children}</RadioGroupContext.Provider>\n}\n\ninterface UseRadioGroupContextProps {\n consumerName: string\n}\n\nexport const useRadioGroupContext = ({ consumerName }: UseRadioGroupContextProps) => {\n const context = useContext(RadioGroupContext)\n if (!context) {\n throw new Error(`\\`${consumerName}\\` must be used within \\`RadioGroup\\``)\n }\n return context\n}\n","import styled from '@emotion/styled'\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group'\nimport { forwardRef, useState } from 'react'\n\nimport { useStableId } from '../../../hooks'\nimport { pxToRem } from '../../../styles'\nimport { dataAttr } from '../../../utils/html-attributes'\nimport { HelperText } from '../../_internal'\nimport { RadioIndicator } from '../radio-indicator'\nimport { useRadioGroupContext } from '../radio-group-context'\n\nconst RadioItem = styled(RadioGroupPrimitive.Item)(({ theme }) => ({\n width: '100%',\n textAlign: 'left',\n background: theme.colors.bg.default,\n paddingLeft: theme.spacing['5x'],\n paddingRight: theme.spacing['5x'],\n // Odd padding value, but without it the text is not vertically centered.\n // Logic is (height - line height - border top - border bottom) / 2\n // So (56 - 20 - 1 - 1) / 2 = 17\n paddingTop: pxToRem(17),\n paddingBottom: pxToRem(17),\n minHeight: pxToRem(56),\n justifyContent: 'center',\n border: '1px solid',\n borderColor: theme.colors.border.default,\n borderRadius: theme.radii.md,\n display: 'grid',\n gridTemplateColumns: `1fr min-content`,\n alignItems: 'start',\n // Needed to align the content to the top when the cards are\n // places in a grid with varying intrinsic heights\n alignContent: 'start',\n columnGap: theme.spacing['3x'],\n rowGap: theme.spacing['1x'],\n boxShadow: 'none',\n transitionProperty: 'background, border-color, box-shadow, transform, outline',\n transitionDuration: '120ms',\n transitionTimingFunction: 'ease-out',\n '&[data-state=\"checked\"]': {\n borderColor: theme.colors.border.defaultSelected,\n boxShadow: `inset 0 0 0 1px ${theme.colors.border.defaultSelected}`,\n background: theme.colors.bg.inset,\n ':active': {\n transform: 'scale(0.995)',\n },\n },\n '&[data-state=\"unchecked\"]': {\n '@media(hover: hover)': {\n ':hover': {\n borderColor: theme.colors.border.defaultHover,\n background: theme.colors.bg.inset,\n },\n },\n ':active': {\n transform: 'scale(0.98)',\n },\n },\n outlineOffset: 0,\n outline: '0 solid transparent',\n ':focus-visible': {\n outlineColor: theme.colors.border.defaultSelected,\n outlineWidth: 2,\n outlineStyle: 'solid',\n outlineOffset: 3,\n },\n '&[data-disabled], &:disabled, &[disabled]': {\n opacity: 0.4,\n '&[data-state=\"unchecked\"]': {\n ':hover': {\n background: theme.colors.bg.default,\n borderColor: theme.colors.border.default,\n },\n },\n ':active': {\n transform: 'none',\n },\n },\n\n WebkitTouchCallout: 'none',\n WebkitTapHighlightColor: 'transparent',\n}))\n\ninterface RadioCardOptions {\n /**\n * The label for the radio card\n */\n label: string\n /**\n * Text that provides additional guidance to the user\n */\n helperText?: string\n /**\n * If `true` the user must check the radio item before the owning form can be submitted.\n * @default false\n */\n isRequired?: boolean\n /**\n * If `true` it prevents the user from interacting with the radio item.\n * @default false\n */\n isDisabled?: boolean\n}\n\nexport interface RadioCardProps\n extends Omit<RadioGroupPrimitive.RadioGroupItemProps, 'asChild' | keyof RadioCardOptions>,\n RadioCardOptions {}\n\nconst Label = styled.span(({ theme }) => ({\n ...theme.typography.label.md,\n}))\n\nexport const RadioCard = forwardRef<HTMLButtonElement, RadioCardProps>((props, forwardedRef) => {\n const {\n label,\n helperText,\n disabled: hasHtmlDisabledAttr,\n isDisabled: isDisabledProp,\n required: hasHtmlRequiredAttr,\n isRequired: isRequiredProp,\n id: idProp,\n 'aria-describedby': ariaDescribedByProp,\n onMouseEnter,\n onMouseLeave,\n ...rest\n } = props\n const [isHovered, setIsHovered] = useState(false)\n\n const { errorMessageId } = useRadioGroupContext({ consumerName: 'RadioCard' })\n const id = useStableId(idProp)\n const labelId = `${id}-label`\n const hasHelperText = Boolean(helperText)\n const helperTextId = hasHelperText ? `${id}-helper-text` : undefined\n\n const ariaDescribedBy =\n [errorMessageId, helperTextId, ariaDescribedByProp].filter(Boolean).join(' ') || undefined\n\n const helperTextElement = helperText ? (\n <HelperText id={helperTextId}>{helperText}</HelperText>\n ) : null\n\n const isDisabled = isDisabledProp ?? hasHtmlDisabledAttr\n const isRequired = isRequiredProp ?? hasHtmlRequiredAttr\n\n return (\n <RadioItem\n ref={forwardedRef}\n disabled={isDisabled}\n // For some reason if we pass e.g. `required={undefined}` it will override\n // the `required` attribute from the `RadioGroup`. Seems to be something with\n // how Radix handles the state internally.\n {...(isRequired && { required: true })}\n aria-labelledby={labelId}\n aria-describedby={ariaDescribedBy}\n onMouseEnter={(ev) => {\n setIsHovered(true)\n onMouseEnter?.(ev)\n }}\n onMouseLeave={(ev) => {\n setIsHovered(false)\n onMouseLeave?.(ev)\n }}\n {...rest}\n >\n <Label id={labelId}>{label}</Label>\n <RadioIndicator data-hover={dataAttr(isHovered)} />\n {helperTextElement}\n </RadioItem>\n )\n})\n","import styled from '@emotion/styled'\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group'\nimport { forwardRef } from 'react'\n\nimport { pxToRem } from '../../styles'\n\nconst StyledRadioIndicator = styled(RadioGroupPrimitive.Indicator)(({ theme }) => ({\n background: theme.colors.bg.default,\n border: '2px solid',\n borderColor: theme.colors.border.strong,\n width: pxToRem(20),\n height: pxToRem(20),\n flexShrink: 0,\n borderRadius: theme.radii.full,\n transitionProperty: 'background',\n transitionDuration: '120ms',\n transitionTimingFunction: 'ease-out',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n '&::after': {\n content: '\"\"',\n display: 'block',\n width: pxToRem(10),\n height: pxToRem(10),\n borderRadius: theme.radii.full,\n background: theme.colors.border.strong,\n transform: 'scale(0.5)',\n opacity: 0,\n transitionProperty: 'transform, opacity',\n transitionDuration: '120ms',\n transitionTimingFunction: 'ease-out',\n transformOrigin: 'center',\n },\n '&[data-state=\"unchecked\"]': {\n '@media(hover: hover)': {\n '&:not(&[data-disabled])[data-hover]::after': {\n transform: 'scale(0.8)', // Resolves to 8px\n opacity: 1,\n },\n },\n },\n\n '&[data-state=\"checked\"]': {\n background: theme.colors.border.strong,\n '&::after': {\n opacity: 1,\n transform: 'scale(1)',\n background: theme.colors.border.defaultSelected,\n },\n },\n}))\n\ntype RadioIndicatorProps = Omit<\n RadioGroupPrimitive.RadioGroupIndicatorProps,\n 'asChild' | 'forceMount'\n>\n/**\n * Styled Radix `RadioIndicator` component.\n * @see Docs https://www.radix-ui.com/primitives/docs/components/radio-group#indicator\n * @internal Not to be used outside the library.\n */\nexport const RadioIndicator = forwardRef<HTMLSpanElement, RadioIndicatorProps>(\n (props, forwardedRef) => <StyledRadioIndicator ref={forwardedRef} forceMount {...props} />,\n)\n","import styled from '@emotion/styled'\nimport { forwardRef } from 'react'\n\nimport { useStableId } from '../../hooks'\nimport { mergeRefs } from '../../utils/merge-refs'\nimport type { HTMLQdsProps } from '../../types'\nimport { dataAttr } from '../../utils/html-attributes'\n\nimport { useRadioGroupContext } from './radio-group-context'\n\nconst Label = styled.span(({ theme }) => ({\n ...theme.typography.label.md,\n '&[data-disabled]': {\n opacity: 0.4,\n },\n}))\n\nexport type RadioGroupLabelProps = HTMLQdsProps<'span'>\n\nexport const RadioGroupLabel = forwardRef<HTMLSpanElement, RadioGroupLabelProps>(\n (props, forwardedRef) => {\n const { id: idProp, ...restProps } = props\n const id = useStableId(idProp)\n const { labelRefCallback, isDisabled } = useRadioGroupContext({\n consumerName: 'RadioGroupLabel',\n })\n\n return (\n <Label\n ref={mergeRefs(labelRefCallback, forwardedRef)}\n id={id}\n data-disabled={dataAttr(isDisabled)}\n {...restProps}\n />\n )\n },\n)\n","import type { MutableRefObject, RefCallback } from 'react'\n\nimport type { LegitimateAny } from '../types'\n\ntype ReactRef<T> = RefCallback<T> | MutableRefObject<T>\ntype Maybe<T> = T | null | undefined\n\nfunction assignRef<T = LegitimateAny>(ref: Maybe<ReactRef<T>>, value: T) {\n // eslint-disable-next-line eqeqeq\n if (ref == null) return\n\n if (typeof ref === 'function') {\n ref(value)\n return\n }\n\n ref.current = value\n}\n\nexport const mergeRefs = <T>(...refs: Maybe<ReactRef<T>>[]) => {\n return (node: T | null) => {\n refs.forEach((ref) => assignRef(ref, node))\n }\n}\n","import styled from '@emotion/styled'\nimport { forwardRef, useState } from 'react'\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group'\n\nimport { useStableId } from '../../../hooks'\nimport { dataAttr } from '../../../utils/html-attributes'\nimport { useRadioGroupContext } from '../radio-group-context'\nimport { RadioIndicator } from '../radio-indicator'\n\nconst RadioButtonContainer = styled.label(({ theme }) => ({\n display: 'grid',\n gridTemplateColumns: 'auto 1fr',\n alignItems: 'start',\n gap: theme.spacing['3x'],\n cursor: 'pointer',\n WebkitTapHighlightColor: 'transparent',\n WebkitTouchCallout: 'none',\n '&:has([role=\"radio\"][data-disabled])': {\n cursor: 'not-allowed',\n },\n}))\n\nconst RadioItem = styled(RadioGroupPrimitive.Item)(({ theme }) => ({\n borderRadius: theme.radii.full,\n transitionProperty: 'outline',\n transitionDuration: '120ms',\n transitionTimingFunction: 'ease-out',\n outlineOffset: 0,\n outline: '0 solid transparent',\n ':focus-visible': {\n outlineColor: theme.colors.border.defaultSelected,\n outlineWidth: 2,\n outlineStyle: 'solid',\n outlineOffset: 3,\n },\n '&[data-disabled], &:disabled, &[disabled]': {\n opacity: 0.4,\n },\n\n WebkitTouchCallout: 'none',\n WebkitTapHighlightColor: 'transparent',\n}))\n\ninterface RadioButtonOptions {\n /**\n * The label for the radio button\n */\n label: string\n /**\n * If `true` the user must check the radio item before the owning form can be submitted.\n * @default false\n */\n isRequired?: boolean\n /**\n * If `true` it prevents the user from interacting with the radio item.\n * @default false\n */\n isDisabled?: boolean\n}\n\nexport interface RadioButtonProps\n extends Omit<RadioGroupPrimitive.RadioGroupItemProps, 'asChild' | keyof RadioButtonOptions>,\n RadioButtonOptions {}\n\nconst Label = styled.span(({ theme }) => ({\n ...theme.typography.body.md,\n '&[data-disabled]': {\n opacity: 0.4,\n },\n}))\n\nexport const RadioButton = forwardRef<HTMLButtonElement, RadioButtonProps>(\n (props, forwardedRef) => {\n const {\n label,\n disabled: hasHtmlDisabledAttr,\n isDisabled: isDisabledProp,\n required: hasHtmlRequiredAttr,\n isRequired: isRequiredProp,\n id: idProp,\n 'aria-describedby': ariaDescribedByProp,\n onMouseEnter,\n onMouseLeave,\n ...rest\n } = props\n const [isHovered, setIsHovered] = useState(false)\n\n const id = useStableId(idProp)\n const labelId = `${id}-label`\n\n const { errorMessageId, isDisabled: isGroupDisabled } = useRadioGroupContext({\n consumerName: 'RadioButton',\n })\n\n const ariaDescribedBy =\n [errorMessageId, ariaDescribedByProp].filter(Boolean).join(' ') || undefined\n\n const isDisabled = isDisabledProp ?? hasHtmlDisabledAttr ?? isGroupDisabled\n const isRequired = isRequiredProp ?? hasHtmlRequiredAttr\n\n return (\n <RadioButtonContainer>\n <RadioItem\n ref={forwardedRef}\n disabled={isDisabled}\n // For some reason if we pass e.g. `required={undefined}` it will override\n // the `required` attribute from the `RadioGroup`. Seems to be something with\n // how Radix handles the state internally.\n {...(isRequired && { required: true })}\n aria-labelledby={labelId}\n aria-describedby={ariaDescribedBy}\n onMouseEnter={(ev) => {\n setIsHovered(true)\n onMouseEnter?.(ev)\n }}\n onMouseLeave={(ev) => {\n setIsHovered(false)\n onMouseLeave?.(ev)\n }}\n {...rest}\n >\n <RadioIndicator data-hover={dataAttr(isHovered)} />\n </RadioItem>\n <Label\n id={labelId}\n data-disabled={dataAttr(isDisabled)}\n onMouseEnter={() => setIsHovered(true)}\n onMouseLeave={() => setIsHovered(false)}\n onMouseDown={(ev) => {\n // prevent text selection when double clicking label\n if (ev.detail > 1) {\n ev.preventDefault()\n }\n }}\n >\n {label}\n </Label>\n </RadioButtonContainer>\n )\n },\n)\n","import { forwardRef } from 'react'\nimport styled from '@emotion/styled'\n\nimport { useFormField } from '../../hooks'\nimport type { HTMLQdsProps } from '../../types'\nimport { Label } from '../label'\nimport type { SelectBaseOptions } from '../primitives/select-base'\nimport { SelectBase } from '../primitives/select-base'\nimport { ErrorMessage, FormField, HelperText } from '../_internal'\nimport { useTranslation } from '../../i18n/use-translation'\n\nimport type { SelectOptionProps } from './select-option'\nimport { SelectOption } from './select-option'\n\nconst OptionalText = styled.span(({ theme }) => ({\n ...theme.typography.body.sm,\n color: theme.colors.text.subtle,\n}))\n\ninterface SelectOptions extends SelectBaseOptions {\n /**\n * The label for the select field\n */\n label: string\n /**\n * The error message to display if `isInvalid` is `true`\n */\n errorMessage?: string\n /**\n * Text that provides additional guidance to the user\n */\n helperText?: string\n /**\n * If `true`, the select field will display an optional indicator.\n * If the `isRequired` prop is also `true`, this prop will be ignored.\n */\n isOptional?: boolean\n}\n\ntype OmittedProps = 'readOnly' | 'size'\n\nexport interface SelectProps extends Omit<HTMLQdsProps<'select'>, OmittedProps>, SelectOptions {}\n\nconst SelectRoot = forwardRef<HTMLSelectElement, SelectProps>((props, forwardedRef) => {\n const {\n children,\n label,\n isInvalid,\n errorMessage,\n helperText,\n isRequired,\n isOptional: isOptionalProp,\n ...restProps\n } = props\n const {\n getLabelProps,\n getFieldProps: getSelectProps,\n getErrorMessageProps,\n getHelperTextProps,\n } = useFormField(props)\n const { t } = useTranslation()\n\n const helperTextElement = helperText ? (\n <HelperText {...getHelperTextProps()}>{helperText}</HelperText>\n ) : null\n\n const shouldShowErrorMessage = isInvalid && errorMessage\n const errorMessageElement = shouldShowErrorMessage ? (\n <ErrorMessage {...getErrorMessageProps()}>{errorMessage}</ErrorMessage>\n ) : null\n\n const isOptional = Boolean(!isRequired && isOptionalProp)\n\n return (\n <FormField>\n <Label {...getLabelProps()}>\n {label}\n {isOptional && <OptionalText>{` (${t('optional')})`}</OptionalText>}\n </Label>\n <SelectBase ref={forwardedRef} {...getSelectProps(restProps)}>\n {children}\n </SelectBase>\n {errorMessageElement || helperTextElement}\n </FormField>\n )\n})\n\nexport const Select = Object.assign(SelectRoot, { Option: SelectOption })\nexport type { SelectOptionProps }\n","import { forwardRef } from 'react'\n\nimport type { HTMLQdsProps } from '../../types'\n\ninterface SelectOptionOptions {\n isDisabled?: boolean\n}\n\ntype OmittedProps = 'disabled' | 'label'\nexport interface SelectOptionProps\n extends Omit<HTMLQdsProps<'option'>, OmittedProps>,\n SelectOptionOptions {}\n\nexport const SelectOption = forwardRef<HTMLOptionElement, SelectOptionProps>(\n (props, forwardedRef) => {\n const { children, isDisabled, ...restProps } = props\n return (\n <option ref={forwardedRef} disabled={isDisabled} {...restProps}>\n {children}\n </option>\n )\n },\n)\n","import { forwardRef } from 'react'\nimport styled from '@emotion/styled'\n\nimport type { Theme } from '../../theme'\nimport type { HTMLQdsProps } from '../../types'\nimport type { ResponsiveProp } from '../../styles/responsive'\nimport { toMediaQueries } from '../../styles/responsive'\n\ntype Spacing = keyof Theme['spacing']\n\nconst StyledSpan = styled.span<Required<SpacerOptions>>(({ axis, size, theme }) => ({\n display: 'block',\n\n ...toMediaQueries(size, (currentValue) => {\n const resolvedValue = theme.spacing[currentValue]\n return {\n width: axis === 'x' ? resolvedValue : 1,\n minWidth: axis === 'x' ? resolvedValue : 1,\n height: axis === 'y' ? resolvedValue : 1,\n minHeight: axis === 'y' ? resolvedValue : 1,\n }\n }),\n}))\n\ninterface SpacerOptions {\n axis?: 'x' | 'y'\n size: ResponsiveProp<Spacing>\n}\n\nexport interface SpacerProps extends HTMLQdsProps<'span'>, SpacerOptions {}\nexport const Spacer = forwardRef<HTMLSpanElement, SpacerProps>((props, forwardedRef) => {\n const { axis = 'y', size, ...restProps } = props\n\n return <StyledSpan ref={forwardedRef} aria-hidden=\"true\" size={size} axis={axis} {...restProps} />\n})\n","import type { ReactNode } from 'react'\nimport { Fragment, forwardRef } from 'react'\nimport styled from '@emotion/styled'\nimport isPropValid from '@emotion/is-prop-valid'\n\nimport type { Merge } from '../../types'\nimport type { Theme } from '../../theme'\nimport type * as Polymorphic from '../../utils/polymorphic'\nimport type { ResponsiveProp } from '../../styles/responsive'\nimport { toMediaQueries } from '../../styles/responsive'\n\nimport { getValidChildren } from './stack.utils'\nimport type { AlignItems, FlexDirection, JustifyContent, FlexWrap } from './stack.types'\n\ntype StyledStackProps = Merge<\n StackOptions,\n {\n direction: ResponsiveProp<FlexDirection>\n justifyContent: ResponsiveProp<JustifyContent>\n alignItems: ResponsiveProp<AlignItems>\n gap: ResponsiveProp<GapProp>\n }\n>\nconst StyledStack = styled('div', { shouldForwardProp: isPropValid })<StyledStackProps>(\n ({ theme, wrap, gap }) => ({\n display: 'flex',\n flexWrap: wrap,\n ...toMediaQueries(gap, (currentValue) => ({ gap: theme.spacing[currentValue] })),\n }),\n ({ justifyContent }) => ({\n ...toMediaQueries(justifyContent, (currentValue) => ({ justifyContent: currentValue })),\n }),\n ({ alignItems }) => ({\n ...toMediaQueries(alignItems, (currentValue) => ({ alignItems: currentValue })),\n }),\n // Note that this has to be a separate object to avoid\n // the media queries from `expandResponsiveProp` to be overridden\n // when both direction and gap are responsive\n ({ direction }) => ({\n ...toMediaQueries(direction, (currentValue) => ({ flexDirection: currentValue })),\n }),\n)\n\ntype GapProp = keyof Theme['spacing']\ninterface StackOptions {\n /**\n * The direction of the stack.\n * @default 'column'\n */\n direction?: ResponsiveProp<FlexDirection>\n /**\n * The CSS `justify-content` property.\n * Controls the alignment of items on the main axis.\n */\n justifyContent?: ResponsiveProp<JustifyContent>\n /**\n * The CSS `align-items` property.\n * Controls the alignment of items on the cross axis.\n */\n alignItems?: ResponsiveProp<AlignItems>\n /**\n * The CSS `flex-wrap` property.\n * Controls whether children can wrap onto multiple lines.\n * @default 'nowrap'\n */\n wrap?: FlexWrap\n /**\n * The gap between each child element.\n */\n gap?: ResponsiveProp<GapProp>\n /**\n * A divider element to be rendered between each child element.\n *\n * _Note: For the divider to be rendered, the child elements can't be loose strings or numbers.\n * Wrap them in a `div` or other element._\n */\n divider?: ReactNode\n}\n\ntype StackComponent = Polymorphic.ForwardRefComponent<'div', StackOptions>\nexport type StackProps = Polymorphic.PropsOf<StackComponent>\n\nexport const Stack = forwardRef((props, forwardedRef) => {\n const {\n as,\n children,\n direction = 'column',\n justifyContent = 'flex-start',\n alignItems = 'stretch',\n divider,\n gap = '0x',\n ...restProps\n } = props\n\n const hasDivider = Boolean(divider)\n\n const resolvedChildren = !hasDivider\n ? children\n : getValidChildren(children).map((child, index, validChildren) => {\n // Prefer provided child key and fallback to index\n const key = typeof child.key !== 'undefined' ? child.key : index\n const isLast = index + 1 === validChildren.length\n\n const currentDivider = isLast ? null : divider\n\n return (\n <Fragment key={key}>\n {child}\n {currentDivider}\n </Fragment>\n )\n })\n\n return (\n <StyledStack\n as={as}\n ref={forwardedRef}\n direction={direction}\n justifyContent={justifyContent}\n alignItems={alignItems}\n gap={gap}\n {...restProps}\n >\n {resolvedChildren}\n </StyledStack>\n )\n}) as StackComponent\n","import type { ReactElement, ReactNode } from 'react'\nimport { Children, isValidElement } from 'react'\n\n/**\n * Gets only the valid children of a component,\n * and ignores any nullish or falsy child.\n */\nexport function getValidChildren(children: ReactNode) {\n return Children.toArray(children).filter((child) => isValidElement(child)) as ReactElement[]\n}\n","import styled from '@emotion/styled'\nimport * as RadixSwitch from '@radix-ui/react-switch'\nimport { CheckIcon } from 'lucide-react'\nimport { forwardRef } from 'react'\n\nimport { useStableId } from '../../hooks'\nimport { pxToRem } from '../../styles'\nimport { Label } from '../label'\n\ninterface SwitchOptions {\n /**\n * The label for the switch\n */\n label: string\n /**\n * The text that appears below the label\n * to provide additional guidance to the user\n */\n helperText?: string\n /**\n * The checked state of the checkbox when it is initially rendered. Use when you do not need to control its checked state.\n */\n isDefaultChecked?: boolean\n /**\n * If `true`, the switch will be checked\n */\n isChecked?: boolean\n /**\n * If `true`, the switch will be disabled and\n * cannot be interacted with\n */\n isDisabled?: boolean\n /**\n * If `true`, indicates that the switch is required\n */\n isRequired?: boolean\n onCheckedChange?: (isChecked: boolean) => void\n}\n\nexport interface SwitchProps\n extends Omit<RadixSwitch.SwitchProps, 'asChild' | keyof SwitchOptions>,\n SwitchOptions {}\n\nexport const Switch = forwardRef<HTMLButtonElement, SwitchProps>((props, forwardedRef) => {\n const {\n id: idProp,\n label,\n helperText,\n defaultChecked: hasHtmlDefaultCheckedAttr,\n isDefaultChecked: isDefaultCheckedProp,\n isChecked: isCheckedProp,\n checked: hasHtmlCheckedAttr,\n disabled: hasHtmlDisabledAttr,\n isDisabled: isDisabledProp,\n isRequired: isRequiredProp,\n required: hasHtmlRequiredAttr,\n 'aria-labelledby': ariaLabelledByProp,\n 'aria-describedby': ariaDescribedByProp,\n onCheckedChange,\n ...restProps\n } = props\n\n const id = useStableId(idProp)\n\n const isDefaultChecked = isDefaultCheckedProp || hasHtmlDefaultCheckedAttr\n const isChecked = isCheckedProp || hasHtmlCheckedAttr\n const isDisabled = isDisabledProp || hasHtmlDisabledAttr\n const isRequired = isRequiredProp || hasHtmlRequiredAttr\n\n const labelId = `${id}-label`\n const ariaLabelledBy = [labelId, ariaLabelledByProp].filter(Boolean).join(' ')\n\n const hasHelperText = Boolean(helperText)\n const helperTextId = hasHelperText ? `${id}-helper-text` : undefined\n const ariaDescribedBy = [helperTextId, ariaDescribedByProp].filter(Boolean).join(' ') || undefined\n\n return (\n <SwitchWrapper>\n <SwitchTexts>\n <SwitchLabel id={labelId} htmlFor={id} data-disabled={isDisabled ? '' : undefined}>\n {label}\n </SwitchLabel>\n {hasHelperText && (\n <SwitchHelperText id={helperTextId} data-disabled={isDisabled ? '' : undefined}>\n {helperText}\n </SwitchHelperText>\n )}\n </SwitchTexts>\n <SwitchRoot\n id={id}\n ref={forwardedRef}\n defaultChecked={isDefaultChecked}\n checked={isChecked}\n disabled={isDisabled}\n required={isRequired}\n aria-labelledby={ariaLabelledBy}\n aria-describedby={ariaDescribedBy}\n onCheckedChange={(isChecked) => onCheckedChange?.(isChecked)}\n {...restProps}\n >\n <SwitchThumb>\n <CheckIcon data-part=\"switch-icon\" size={12} absoluteStrokeWidth strokeWidth={2} />\n </SwitchThumb>\n </SwitchRoot>\n </SwitchWrapper>\n )\n})\n\nconst SwitchLabel = styled(Label)(() => ({\n marginTop: pxToRem(6),\n}))\n\nconst SwitchHelperText = styled.div(({ theme }) => ({\n flexGrow: 1,\n flexShrink: 1,\n color: theme.colors.text.subtle,\n cursor: 'default',\n ...theme.typography.body.sm,\n '&[data-disabled]': {\n opacity: 0.4,\n },\n}))\n\nconst SwitchWrapper = styled.div(({ theme }) => ({\n display: 'flex',\n gap: theme.spacing['4x'],\n alignItems: 'start',\n}))\n\nconst SwitchTexts = styled.div(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n flexShrink: 1,\n justifyContent: 'space-between',\n gap: theme.sizes['2x'],\n}))\n\nconst SwitchRoot = styled(RadixSwitch.Root)(({ theme }) => ({\n flexGrow: 0,\n flexShrink: 0,\n flexBasis: 'auto',\n width: pxToRem(56),\n height: pxToRem(32),\n backgroundColor: theme.colors.core.gray40,\n transition: 'background-color 200ms',\n borderRadius: theme.radii.full,\n '&:hover:not([data-disabled])': {\n backgroundColor: theme.colors.core.gray30,\n },\n '&[data-disabled]': {\n opacity: 0.4,\n },\n '&[data-state=\"checked\"]': {\n backgroundColor: theme.colors.bg.brandSecondary,\n '[data-part=\"switch-icon\"]': {\n opacity: 1,\n },\n },\n '&:hover[data-state=\"checked\"]': {\n backgroundColor: theme.colors.bg.brandSecondaryHover,\n },\n '[data-part=\"switch-icon\"]': {\n opacity: 0,\n transition: 'opacity 200ms',\n },\n}))\n\nconst SwitchThumb = styled(RadixSwitch.Thumb)(({ theme }) => ({\n display: 'flex',\n flexGrow: 0,\n flexShrink: 0,\n flexBasis: 'auto',\n justifyContent: 'center',\n alignItems: 'center',\n width: theme.sizes['6x'],\n height: theme.sizes['6x'],\n boxShadow: theme.shadows.sm,\n backgroundColor: theme.colors.bg.default,\n borderRadius: theme.radii.full,\n transition: 'transform 300ms',\n transform: `translateX(${pxToRem(4)})`,\n willChange: 'transform',\n '&[data-state=\"checked\"]': {\n transform: `translateX(${pxToRem(28)})`,\n },\n '&[data-disabled]': {\n boxShadow: theme.shadows.none,\n },\n}))\n","import { forwardRef } from 'react'\nimport styled from '@emotion/styled'\n\nimport { useFormField } from '../../hooks'\nimport type { HTMLQdsProps } from '../../types'\nimport { Label } from '../label'\nimport type { TextareaBaseOptions } from '../primitives/textarea-base'\nimport { TextareaBase } from '../primitives/textarea-base'\nimport { ErrorMessage, FormField, HelperText } from '../_internal'\nimport { useTranslation } from '../../i18n/use-translation'\n\nconst OptionalText = styled.span(({ theme }) => ({\n ...theme.typography.body.sm,\n color: theme.colors.text.subtle,\n}))\n\ninterface TextareaOptions extends TextareaBaseOptions {\n /**\n * The label for the textarea field\n */\n label: string\n /**\n * The error message to display if `isInvalid` is `true`\n */\n errorMessage?: string\n /**\n * Text that provides additional guidance to the user\n */\n helperText?: string\n /**\n * If `true`, the input will display an optional indicator.\n * If the `isRequired` prop is also `true`, this prop will be ignored.\n */\n isOptional?: boolean\n}\n\ntype OmittedProps = 'children' | 'readOnly' | 'size'\n\nexport interface TextareaProps\n extends Omit<HTMLQdsProps<'textarea'>, OmittedProps>,\n TextareaOptions {}\n\nexport const Textarea = forwardRef<HTMLTextAreaElement, TextareaProps>((props, forwardedRef) => {\n const {\n label,\n isInvalid,\n errorMessage,\n helperText,\n isRequired,\n isOptional: isOptionalProp,\n ...restProps\n } = props\n const {\n getLabelProps,\n getFieldProps: getTextareaProps,\n getErrorMessageProps,\n getHelperTextProps,\n } = useFormField<'textarea'>(props)\n const { t } = useTranslation()\n\n const helperTextElement = helperText ? (\n <HelperText {...getHelperTextProps()}>{helperText}</HelperText>\n ) : null\n\n const shouldShowErrorMessage = isInvalid && errorMessage\n const errorMessageElement = shouldShowErrorMessage ? (\n <ErrorMessage {...getErrorMessageProps()}>{errorMessage}</ErrorMessage>\n ) : null\n\n const isOptional = Boolean(!isRequired && isOptionalProp)\n\n return (\n <FormField>\n <Label {...getLabelProps()}>\n {label}\n {isOptional && <OptionalText>{` (${t('optional')})`}</OptionalText>}\n </Label>\n <TextareaBase ref={forwardedRef} {...getTextareaProps(restProps)} />\n {errorMessageElement || helperTextElement}\n </FormField>\n )\n})\n"]}
1
+ {"version":3,"sources":["../src/qds-provider.tsx","../src/theme/foundations/breakpoints.ts","../src/theme/foundations/colors.ts","../src/styles/css-utils.ts","../src/styles/common-styles.ts","../src/theme/foundations/spacing.ts","../src/theme/foundations/z-index.ts","../src/theme/foundations/sizes.ts","../src/theme/foundations/radius.ts","../src/theme/foundations/shadows.ts","../src/theme/foundations/typography.ts","../src/theme/foundations/index.ts","../src/theme/theme.ts","../src/utils/object.ts","../src/theme/theme-tools.ts","../src/i18n/locale-context.tsx","../src/components/toast/toast-provider.tsx","../src/components/toast/toast-store.ts","../src/components/toast/toast.tsx","../src/components/icon/create-icon.tsx","../src/components/icon/create-lucide-icon.tsx","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/shared/src/utils.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/defaultAttributes.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/Icon.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/createLucideIcon.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/arrow-down.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/arrow-left.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/arrow-right.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/arrow-up.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/bell-off.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/bell.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/bookmark.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/calendar.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/camera.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/check.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/chevron-down.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/chevron-left.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/chevron-right.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/chevron-up.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/circle-alert.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/circle-check.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/circle-help.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/circle-x.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/ellipsis-vertical.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/ellipsis.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/globe.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/heart.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/history.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/house.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/image.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/info.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/list-filter.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/list.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/log-out.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/map-pin.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/map.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/menu.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/message-circle.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/minus.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/pen.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/plus.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/search.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/settings-2.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/settings.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/share.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/star.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/trash-2.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/triangle-alert.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/user-round.ts","../../../node_modules/.pnpm/lucide-react@0.475.0_react@19.0.0/node_modules/lucide-react/src/icons/x.ts","../src/components/icon/icons.tsx","../src/components/toast/toast-styles.tsx","../src/components/avatar/avatar.tsx","../src/styles/responsive.ts","../src/components/button/button.tsx","../src/components/loading-dots/loading-dots.tsx","../src/components/button/button-styles.tsx","../src/components/button/button-icon.tsx","../src/components/display-text/display-text.tsx","../src/components/checkbox/checkbox.tsx","../src/hooks/use-breakpoint.ts","../src/hooks/use-breakpoint-value.ts","../src/hooks/use-form-field.ts","../src/hooks/use-stable-id.ts","../src/hooks/use-safe-layout-effect.ts","../src/utils/html-attributes.ts","../src/components/_internal/form-parts.tsx","../src/components/divider/divider.tsx","../src/components/dropdown-menu/dropdown-menu.tsx","../src/components/dropdown-menu/dropdown-menu-content.tsx","../src/components/dropdown-menu/dropdown-menu-divider.tsx","../src/components/dropdown-menu/dropdown-menu-item.tsx","../src/components/dropdown-menu/dropdown-menu-trigger.tsx","../src/components/heading/heading.tsx","../src/components/hint-box/hint-box.tsx","../src/components/icon-button/icon-button.tsx","../src/components/icon-button/icon-button-styles.tsx","../src/components/text-field/text-field.tsx","../src/i18n/locales.ts","../src/i18n/use-translation.tsx","../src/components/label/label.tsx","../src/components/primitives/input-base/input-base.tsx","../src/components/link/link.tsx","../src/components/paragraph/paragraph.tsx","../src/components/primitives/select-base/select-base.tsx","../src/components/primitives/textarea-base/textarea-base.tsx","../src/components/radio-group/radio-group.tsx","../src/components/radio-group/radio-group-context.tsx","../src/components/radio-group/radio-card/radio-card.tsx","../src/components/radio-group/radio-indicator.tsx","../src/components/radio-group/radio-group-label.tsx","../src/utils/merge-refs.ts","../src/components/radio-group/radio-button/radio-button.tsx","../src/components/select/select.tsx","../src/components/select/select-option.tsx","../src/components/spacer/spacer.tsx","../src/components/stack/stack.tsx","../src/components/stack/stack.utils.tsx","../src/components/switch/switch.tsx","../src/components/textarea/textarea.tsx"],"names":["ThemeProvider","CacheProvider","createCache","breakpoints","core","colors","createStyleVariants","styles","theme","createStyle","pxToRem","px","getFormFieldBaseStyles","radii","typography","spacing","__spreadProps","__spreadValues","zIndices","sizes","shadows","fontStacks","foundations","mediaQueries","objectKeys","obj","overrideTypography","overrides","result","group","override","typographyGroup","key","deepMerge","target","source","overrideTheme","createContext","useContext","jsx","LocaleContext","LocaleProvider","language","children","useLocale","context","ToastPrimitive","useSyncExternalStore","styled","AnimatePresence","flushSync","ToastStore","subscriber","index","toast","_a","id","text","options","toastStore","motion","Children","forwardRef","StyledSvg","color","createIcon","viewBox","pathDefinition","displayName","path","Component","props","forwardedRef","size","rest","__objRest","useTheme","createLucideIcon","Icon","ref","_b","resolvedColor","toKebabCase","string","mergeClasses","classes","className","array","defaultAttributes","strokeWidth","absoluteStrokeWidth","iconNode","createElement","tag","attrs","iconName","__iconNode","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","BellOff","Bell","Bookmark","Calendar","Camera","Check","ChevronDown","ChevronLeft","ChevronRight","ChevronUp","CircleAlert","CircleCheck","CircleHelp","CircleX","EllipsisVertical","Ellipsis","Globe","Heart","History","House","Image","Info","ListFilter","List","LogOut","MapPin","Map","Menu","MessageCircle","Minus","Pen","Plus","Search","Settings2","Settings","Share","Star","Trash2","TriangleAlert","UserRound","X","AlertCircleIcon","AlertTriangleIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","ArrowUpIcon","BellIcon","BellOffIcon","BookmarkIcon","CalendarIcon","CameraIcon","CheckCircleIcon","CheckIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronUpIcon","GlobeIcon","HeartFilledIcon","HeartIcon","HelpCircleIcon","HistoryIcon","HomeIcon","ImageIcon","InfoIcon","ListIcon","ListFilterIcon","LogOutIcon","MapIcon","MapPinIcon","MenuIcon","MessageCircleIcon","MinusIcon","MoreHorizontalIcon","MoreVerticalIcon","PenIcon","PlusIcon","SearchIcon","SettingsIcon","ShareIcon","SlidersIcon","StarFilledIcon","StarIcon","TrashIcon","UserIcon","XCircleIcon","XIcon","getVariantStyles","jsxs","Wrapper","variant","Title","IconWrapper","ICON_MAP","Toast","Viewport","ToastProvider","toasts","isOpen","fallbackEmotionCache","QdsProvider","themeOverrides","emotionCache","locale","resolvedTheme","isPropValid","AvatarPrimitive","isResponsiveProp","value","objectEntries","toMediaQueries","prop","styleFn","base","cssObject","breakpoint","mediaQuery","SIZE_MAP","ICON_SIZE_MAP","TEXT_SIZE_MAP","getInitials","name","names","firstName","lastName","AvatarRoot","currentValue","AvatarImage","AvatarFallback","FallbackText","avatarSize","roundToTwoDecimals","num","StyledIcon","Avatar","src","restProps","keyframes","ANIMATION_DURATION","ANIMATION_STAGGER_DELAY","getSizeStyles","scaleAnimation","Dot","LoadingDots","NOT_DISABLED","ICON_GAP","ICON_OFFSET","IconLeftContainer","buttonSize","iconSize","IconRightContainer","ButtonIcon","placement","StyledButton","isFullWidth","ButtonLoadingDots","ContentContainer","isHidden","Button","as","type","sizeProp","isLoading","isDisabled","hasHtmlDisabledProp","iconLeft","iconRight","StyledDisplayText","textAlign","textWrap","DisplayText","CheckboxPrimitive","useEffect","useState","breakpointsArray","MEDIA_QUERIES","nextValue","media","getMatchingBreakpoint","matchingBreakpoint","useBreakpoint","params","ssr","initialBreakpoint","currentBreakpoint","setCurrentBreakpoint","matchMediaArray","handleChange","useBreakpointValue","values","breakpointValue","breakpointNames","currentBreakpointIndex","i","useCallback","React","useLayoutEffect","useSafeLayoutEffect","useReactId","count","useStableId","fixedId","setId","reactId","useFormField","idProp","helperText","errorMessage","isInvalid","isRequired","errorMessageId","helperTextId","getLabelProps","forwardedProps","getHelperTextProps","getErrorMessageProps","getFieldProps","ariaDescribedByIds","dataAttr","condition","ariaAttr","FieldWrapper","FormField","ErrorMessage","HelperText","CheckboxContainer","CheckboxRoot","LabelText","SupportingTextContainer","Checkbox","label","hasHtmlDefaultCheckedAttr","isDefaultCheckedProp","isCheckedProp","hasHtmlCheckedAttr","isDisabledProp","hasHtmlDisabledAttr","isRequiredProp","hasHtmlRequiredAttr","ariaLabelledByProp","ariaDescribedByProp","labelId","isDefaultChecked","isChecked","ariaLabelledBy","helperTextElement","hasError","errorMessageElement","ariaDescribedBy","ev","StyledDivider","orientation","borderCssKey","Divider","DropdownPrimitive","slideUpAndFadeIn","slideRightAndFadeIn","slideDownAndFadeIn","slideLeftAndFadeIn","slideUpAndFadeOut","slideRightAndFadeOut","slideDownAndFadeOut","slideLeftAndFadeOut","StyledContent","DropdownMenuContent","sideOffset","StyledSeparator","DropdownMenuDivider","StyledItem","TextContainer","DropdownMenuItem","disabled","DropdownTriggerPrimitive","DropdownMenuTrigger","DropdownMenuRoot","onOpenChange","defaultOpen","DropdownMenu","StyledHeading","numberOfLines","Heading","HintRoot","HintBox","IconButton","ariaLabel","useRef","en","sv","fi","fr","nb","locales","useTranslation","currentLanguage","StyledLabel","Label","onMouseDown","event","StyledInput","InputBase","InputContainer","isPositionRelative","OptionalText","Suffix","TextField","isOptionalProp","suffix","getInputProps","suffixWidth","setSuffixWidth","suffixRef","t","hasSuffix","isOptional","StyledLink","Link","href","isExternal","StyledParagraph","Paragraph","SelectWrapper","SelectIconWrapper","StyledSelect","SelectBase","placeholder","StyledTextarea","resize","minRows","baseStyles","paddingVertical","minHeight","TextareaBase","RadioGroupPrimitive","RadioGroupContext","RadioGroupProvider","useRadioGroupContext","consumerName","StyledRadioIndicator","RadioIndicator","RadioItem","RadioCard","onMouseEnter","onMouseLeave","isHovered","setIsHovered","assignRef","mergeRefs","refs","node","RadioGroupLabel","labelRefCallback","RadioButtonContainer","RadioButton","isGroupDisabled","StyledRadioGroupRoot","RadioGroupRoot","labelElement","setLabelElement","RadioGroup","SelectOption","SelectRoot","getSelectProps","Select","StyledSpan","axis","resolvedValue","Spacer","Fragment","isValidElement","getValidChildren","child","StyledStack","wrap","gap","justifyContent","alignItems","direction","Stack","divider","resolvedChildren","validChildren","currentDivider","RadixSwitch","Switch","onCheckedChange","hasHelperText","SwitchWrapper","SwitchTexts","SwitchLabel","SwitchHelperText","SwitchRoot","SwitchThumb","Textarea","getTextareaProps"],"mappings":"mmBAAA,OAAS,iBAAAA,GAAe,iBAAAC,OAAwC,iBAEhE,OAAOC,OAAiB,iBCFjB,IAAMC,GAAc,CACzB,KAAM,EACN,GAAI,IACJ,GAAI,IACJ,GAAI,KACJ,GAAI,KACJ,MAAO,IACT,ECPA,IAAMC,EAAO,CACX,MAAO,UACP,MAAO,UAEP,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,OAAQ,UACR,KAAM,UACN,OAAQ,U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AYE,QAAAuJ,OAZF,oBAlDJ,IAAMsN,GAAepW,GAAO,KAAK,CAAC,CAAE,MAAAxC,CAAM,IAAOQ,EAAAC,EAAA,GAC5CT,EAAM,WAAW,KAAK,IADsB,CAE/C,MAAOA,EAAM,OAAO,KAAK,MAC3B,EAAE,EA4BWse,GAAWhb,GAA+C,CAACS,EAAOC,IAAiB,CAC9F,IAQIjB,EAAAgB,EAPF,OAAAqQ,EACA,UAAAtB,EACA,aAAAD,EACA,WAAAD,EACA,WAAAG,EACA,WAAYgG,CAjDhB,EAmDMhW,EADCuL,EAAAnK,EACDpB,EADC,CANH,QACA,YACA,eACA,aACA,aACA,eAGI,CACJ,cAAAmQ,EACA,cAAeqL,EACf,qBAAAlL,EACA,mBAAAD,CACF,EAAIV,GAAyB3O,CAAK,EAC5B,CAAE,EAAAsV,CAAE,EAAInB,GAAe,EAEvB/C,EAAoBvC,EACxB7Q,GAAC+R,EAAAtT,EAAAC,EAAA,GAAe2S,EAAmB,GAAlC,CAAsC,SAAAR,GAAW,EAChD,KAGEyC,EADyBvC,GAAaD,EAE1C9Q,GAAC8R,EAAArT,EAAAC,EAAA,GAAiB4S,EAAqB,GAAtC,CAA0C,SAAAR,GAAa,EACtD,KAEE0G,EAAa,GAAQ,CAACxG,GAAcgG,GAE1C,OACEzN,GAACsI,GAAA,CACC,UAAAtI,GAAC+M,GAAA7X,EAAAC,EAAA,GAAUyS,EAAc,GAAxB,CACE,UAAAkB,EACAmF,GAAcxX,GAAC6W,GAAA,CAAc,cAAKS,EAAE,UAAU,CAAC,IAAI,IACtD,EACAtX,GAAC0Y,GAAAha,EAAA,CAAa,IAAKuD,GAAkBua,EAAiBjQ,CAAS,EAAG,EACjE+G,GAAuBF,GAC1B,CAEJ,CAAC","sourcesContent":["import { ThemeProvider, CacheProvider, type EmotionCache } from '@emotion/react'\nimport type { ReactNode } from 'react'\nimport createCache from '@emotion/cache'\n\nimport type { ThemeOverrides } from './theme'\nimport { overrideTheme, theme } from './theme'\nimport { LocaleProvider } from './i18n/locale-context'\nimport type { LanguageCode } from './i18n/locales'\nimport { ToastProvider } from './components/toast/toast-provider'\n\nconst fallbackEmotionCache = createCache({ key: 'qds' })\ninterface QdsProviderProps {\n children: ReactNode\n themeOverrides?: ThemeOverrides\n emotionCache?: EmotionCache\n locale: LanguageCode\n}\n\nexport function QdsProvider({ children, themeOverrides, emotionCache, locale }: QdsProviderProps) {\n const resolvedTheme = themeOverrides ? overrideTheme(themeOverrides) : theme\n\n const cache = emotionCache || fallbackEmotionCache\n\n return (\n <LocaleProvider language={locale || 'en'}>\n <CacheProvider value={cache}>\n <ThemeProvider theme={resolvedTheme}>\n <ToastProvider>{children}</ToastProvider>\n </ThemeProvider>\n </CacheProvider>\n </LocaleProvider>\n )\n}\n","export const breakpoints = {\n base: 0,\n sm: 480,\n md: 768,\n lg: 1024,\n xl: 1280,\n '2xl': 1536,\n} as const\n","const core = {\n black: '#000000',\n white: '#ffffff',\n\n gray90: '#26261D',\n gray80: '#424236',\n gray70: '#545448',\n gray60: '#78786C',\n gray50: '#A3A396',\n gray40: '#D6D6CD',\n gray30: '#E5E5DF',\n gray20: '#F0F0EB',\n gray10: '#F9F9F6',\n pink: '#FF84B6',\n uiPink: '#FF99C2',\n uiPinkDark: '#FF84B6',\n uiPinkLight: '#FFA3C8',\n\n brown: '#342620',\n brownDark: '#2A1E1A',\n brownLight: '#3C2F29',\n\n offWhite: '#F0F0EB',\n offWhiteDark: '#E0E0D6',\n offWhiteLight: '#F6F6F3',\n\n softPink: '#FFE8F0',\n\n warmYellow: '#FFD66C',\n\n softYellow: '#FFF8CC',\n\n red90: '#8A1100',\n red80: '#A81400',\n red70: '#C21700',\n red60: '#DE1B00',\n red50: '#EF452E',\n red40: '#F47E6E',\n red30: '#F8B2A8',\n red20: '#FAD8D4',\n red10: '#FEF3F1',\n\n green90: '#00661D',\n green80: '#007D23',\n green70: '#009029',\n green60: '#00A62F',\n green50: '#30B757',\n green40: '#66CA82',\n green30: '#A1DEB2',\n green20: '#D1EFDA',\n green10: '#F5FBF7',\n\n blue90: '#00288E',\n blue80: '#0039CC',\n blue70: '#0045F6',\n blue60: '#3370FF',\n blue50: '#578FFF',\n blue40: '#80AEFF',\n blue30: '#BDD7FF',\n blue20: '#DBEBFF',\n blue10: '#F0F7FF',\n\n yellow90: '#9B6D00',\n yellow80: '#C58B00',\n yellow70: '#E29F00',\n yellow60: '#F3AB00',\n yellow50: '#F5B92B',\n yellow40: '#F7C652',\n yellow30: '#F9D682',\n yellow20: '#FBE6B2',\n yellow10: '#FEF7E5',\n\n blackAlpha5: 'rgba(0, 0, 0, 0.05)',\n blackAlpha10: 'rgba(0, 0, 0, 0.1)',\n blackAlpha20: 'rgba(0, 0, 0, 0.2)',\n}\n\nexport const colors = {\n core,\n bg: {\n default: core.white,\n brandPrimary: core.uiPink,\n brandPrimaryHover: core.uiPinkLight,\n brandPrimaryActive: core.uiPinkDark,\n brandSecondary: core.brown,\n brandSecondaryHover: core.brownLight,\n brandSecondaryActive: core.brownDark,\n brandTertiary: core.offWhite,\n brandTertiaryHover: core.offWhiteLight,\n brandTertiaryActive: core.offWhiteDark,\n negative: core.red60,\n warning: core.yellow60,\n positive: core.green60,\n inset: core.gray10,\n backdrop: core.blackAlpha20,\n },\n text: {\n strong: core.black,\n default: core.brown,\n subtle: core.gray60,\n disabled: core.gray50,\n negative: core.red60,\n warning: core.yellow90,\n positive: core.green70,\n onBrandPrimary: core.brown,\n onBrandSecondary: core.offWhite,\n onBrandTertiary: core.brown,\n },\n icon: {\n default: core.brown,\n strong: core.black,\n subtle: core.gray60,\n disabled: core.gray50,\n negative: core.red60,\n warning: core.yellow70,\n positive: core.green70,\n onBrandPrimary: core.brown,\n onBrandSecondary: core.offWhite,\n onBrandTertiary: core.brown,\n },\n border: {\n default: core.gray30,\n defaultHover: core.gray40,\n defaultSelected: core.brown,\n strong: core.gray40,\n subtle: core.gray20,\n negative: core.red60,\n warning: core.yellow60,\n positive: core.green60,\n },\n}\n","import type { CSSObject } from '@emotion/react'\n\nimport type { Theme } from '../theme'\n\ntype NamedStyles = Record<string, CSSObject>\ntype StyleInterpolation<T> = (theme: Theme) => T\n// TODO: Make `createstyleVariants`and `createStyle` accept a regular object instead of a function.\n// And infer if the return requires a theme or not.\n\n/**\n * Creates a collection of named style rules.\n */\nexport function createStyleVariants<T extends NamedStyles>(styles: StyleInterpolation<T>) {\n return (theme: Theme) => styles(theme)\n}\n\n/**\n * Create a style object. Useful for creating styles that depend on the theme.\n */\nexport function createStyle<T extends CSSObject>(styles: StyleInterpolation<T>) {\n return (theme: Theme) => styles(theme)\n}\n\nexport type VariantProps<T extends ReturnType<typeof createStyle | typeof createStyleVariants>> =\n keyof ReturnType<T>\n\n/**\n * Converts css `px` unit to `rem`.\n * Assumes the root font size is 16px.\n */\nexport const pxToRem = (px: number) => `${px / 16}rem`\n","import { createStyle } from './css-utils'\n\nexport const getFormFieldBaseStyles = createStyle(({ colors, radii, typography, spacing }) => ({\n width: '100%',\n minWidth: 0,\n appearance: 'none',\n paddingLeft: spacing['4x'],\n paddingRight: spacing['4x'],\n border: `1px solid ${colors.border.default}`,\n borderRadius: radii.sm,\n backgroundColor: colors.bg.default,\n color: colors.text.default,\n WebkitTouchCallout: 'none',\n WebkitTapHighlightColor: 'transparent',\n '&::-webkit-date-and-time-value': {\n textAlign: 'left',\n },\n alignItems: 'center',\n ...typography.body.md,\n\n '&::placeholder': {\n color: colors.text.disabled,\n },\n '&:hover': {\n borderColor: colors.border.defaultHover,\n },\n '&:focus': {\n outline: 0,\n borderColor: colors.border.defaultSelected,\n boxShadow: `0 0 0 1px ${colors.border.defaultSelected}`,\n },\n '&[aria-invalid=\"true\"]': {\n borderColor: colors.border.negative,\n\n '&:focus': {\n boxShadow: `0 0 0 1px ${colors.border.negative}`,\n },\n },\n '&[disabled], &:disabled, &[data-disabled]': {\n opacity: 0.4,\n borderColor: colors.border.default,\n },\n\n transitionProperty: 'opacity, border-color, box-shadow',\n transitionDuration: '120ms',\n transitionTimingFunction: 'ease',\n}))\n","import { pxToRem } from '../../styles'\n\nexport const spacing = {\n /** 0rem (0px) */\n '0x': pxToRem(0),\n /** 0.25rem (4px) */\n '1x': pxToRem(4),\n /** 0.5rem (8px) */\n '2x': pxToRem(8),\n /** 0.75rem (12px) */\n '3x': pxToRem(12),\n /** 1rem (16px) */\n '4x': pxToRem(16),\n /** 1.25rem (20px) */\n '5x': pxToRem(20),\n /** 1.5rem (24px) */\n '6x': pxToRem(24),\n /** 2rem (32px) */\n '8x': pxToRem(32),\n /** 2.5rem (40px) */\n '10x': pxToRem(40),\n /** 3rem (48px) */\n '12x': pxToRem(48),\n /** 3.5rem (56px) */\n '14x': pxToRem(56),\n /** 4rem (64px) */\n '16x': pxToRem(64),\n /** 5rem (80px) */\n '20x': pxToRem(80),\n /** 6rem (96px) */\n '24x': pxToRem(96),\n}\n","export const zIndices = {\n /** -1 */\n hide: -1,\n /** auto */\n auto: 'auto',\n /** 0 */\n base: 0,\n /** 10 */\n docked: 10,\n /** 1000 */\n dropdown: 1000,\n /** 1100 */\n sticky: 1100,\n /** 1200 */\n banner: 1200,\n /** 1300 */\n overlay: 1300,\n /** 1400 */\n modal: 1400,\n /** 1500 */\n popover: 1500,\n /** 1600 */\n skipLink: 1600,\n /** 1700 */\n toast: 1700,\n /** 1800 */\n tooltip: 1800,\n}\n","import { pxToRem } from '../../styles'\n\nimport { spacing } from './spacing'\n\nexport const sizes = {\n ...spacing,\n 112: pxToRem(112),\n 128: pxToRem(128),\n 144: pxToRem(144),\n 160: pxToRem(160),\n 176: pxToRem(176),\n 192: pxToRem(192),\n 224: pxToRem(224),\n 256: pxToRem(256),\n 288: pxToRem(288),\n 320: pxToRem(320),\n 384: pxToRem(384),\n 448: pxToRem(448),\n 512: pxToRem(512),\n 576: pxToRem(576),\n 672: pxToRem(672),\n 768: pxToRem(768),\n 896: pxToRem(896),\n 1024: pxToRem(1024),\n}\n","export const radii = {\n /** 0px */\n none: '0px',\n /** 6px */\n '2xs': '6px',\n /** 8px */\n xs: '8px',\n /** 12px */\n sm: '12px',\n /** 16px */\n md: '16px',\n /** 24px */\n lg: '24px',\n /** 32px */\n xl: '32px',\n /** 48px */\n '2xl': '48px',\n /** 9999px */\n full: '9999px',\n}\n","export const shadows = {\n none: 'none',\n sm: '0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035)',\n md: '0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035), 0px 7px 16.8px 0px rgba(0, 0, 0, 0.0417)',\n lg: '0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035), 0px 7px 16.8px 0px rgba(0, 0, 0, 0.0417), 0px 13px 31.3px 0px rgba(0, 0, 0, 0.0503)',\n xl: '0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035), 0px 7px 16.8px 0px rgba(0, 0, 0, 0.0417), 0px 13px 31.3px 0px rgba(0, 0, 0, 0.0503), 0px 31px 75px 0px rgba(0, 0, 0, 0.07)',\n}\n","import { pxToRem } from '../../styles'\n\nconst fontStacks = {\n display: [\n 'var(--font-family-display)',\n 'Helvetica',\n '-apple-system',\n 'BlinkMacSystemFont',\n 'Roboto',\n '\"Helvetica Neue\"',\n 'sans-serif',\n ].join(','),\n sans: [\n 'var(--font-family-sans)',\n 'Helvetica',\n '-apple-system',\n 'BlinkMacSystemFont',\n 'Roboto',\n '\"Helvetica Neue\"',\n 'sans-serif',\n ].join(','),\n}\n\nexport const typography = {\n display: {\n '3xl': {\n fontFamily: fontStacks.display,\n fontWeight: '700',\n fontSize: pxToRem(80),\n lineHeight: pxToRem(80),\n letterSpacing: '-0.06em',\n fontFeatureSettings: \"'ss05' on\",\n },\n '2xl': {\n fontFamily: fontStacks.display,\n fontWeight: '700',\n fontSize: pxToRem(72),\n lineHeight: pxToRem(72),\n letterSpacing: '-0.06em',\n fontFeatureSettings: \"'ss05' on\",\n },\n xl: {\n fontFamily: fontStacks.display,\n fontWeight: '700',\n fontSize: pxToRem(64),\n lineHeight: pxToRem(64),\n letterSpacing: '-0.05em',\n fontFeatureSettings: \"'ss05' on\",\n },\n lg: {\n fontFamily: fontStacks.display,\n fontWeight: '700',\n fontSize: pxToRem(56),\n lineHeight: pxToRem(56),\n letterSpacing: '-0.05em',\n fontFeatureSettings: \"'ss05' on\",\n },\n md: {\n fontFamily: fontStacks.display,\n fontWeight: '700',\n fontSize: pxToRem(48),\n lineHeight: pxToRem(48),\n letterSpacing: '-0.04em',\n fontFeatureSettings: \"'ss05' on\",\n },\n sm: {\n fontFamily: fontStacks.display,\n fontWeight: '700',\n fontSize: pxToRem(40),\n lineHeight: pxToRem(44),\n letterSpacing: '-0.04em',\n fontFeatureSettings: \"'ss05' on\",\n },\n xs: {\n fontFamily: fontStacks.display,\n fontWeight: '700',\n fontSize: pxToRem(32),\n lineHeight: pxToRem(36),\n letterSpacing: '-0.03em',\n fontFeatureSettings: \"'ss05' on\",\n },\n '2xs': {\n fontFamily: fontStacks.display,\n fontWeight: '700',\n fontSize: pxToRem(28),\n lineHeight: pxToRem(32),\n letterSpacing: '-0.03em',\n fontFeatureSettings: \"'ss05' on\",\n },\n },\n title: {\n lg: {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(32),\n lineHeight: pxToRem(36),\n letterSpacing: '-0.02em',\n },\n md: {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(24),\n lineHeight: pxToRem(28),\n letterSpacing: '-0.02em',\n },\n sm: {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(20),\n lineHeight: pxToRem(24),\n letterSpacing: '-0.02em',\n },\n xs: {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(18),\n lineHeight: pxToRem(22),\n letterSpacing: '-0.015em',\n },\n '2xs': {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(16),\n lineHeight: pxToRem(20),\n letterSpacing: '-0.01em',\n },\n '3xs': {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(14),\n lineHeight: pxToRem(18),\n letterSpacing: '-0.005em',\n },\n },\n body: {\n xl: {\n fontFamily: fontStacks.sans,\n fontWeight: '400',\n fontSize: pxToRem(20),\n lineHeight: pxToRem(28),\n letterSpacing: '-0.02em',\n },\n lg: {\n fontFamily: fontStacks.sans,\n fontWeight: '400',\n fontSize: pxToRem(18),\n lineHeight: pxToRem(26),\n letterSpacing: '-0.02em',\n },\n md: {\n fontFamily: fontStacks.sans,\n fontWeight: '400',\n fontSize: pxToRem(16),\n lineHeight: pxToRem(24),\n letterSpacing: '-0.01em',\n },\n sm: {\n fontFamily: fontStacks.sans,\n fontWeight: '400',\n fontSize: pxToRem(14),\n lineHeight: pxToRem(20),\n letterSpacing: '-0.01em',\n },\n xs: {\n fontFamily: fontStacks.sans,\n fontWeight: '400',\n fontSize: pxToRem(12),\n lineHeight: pxToRem(16),\n letterSpacing: '0',\n },\n },\n label: {\n md: {\n fontFamily: fontStacks.sans,\n fontWeight: '500',\n fontSize: pxToRem(16),\n lineHeight: pxToRem(20),\n letterSpacing: '-0.02em',\n },\n sm: {\n fontFamily: fontStacks.sans,\n fontWeight: '500',\n fontSize: pxToRem(14),\n lineHeight: pxToRem(18),\n letterSpacing: '-0.01em',\n },\n },\n button: {\n md: {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(16),\n lineHeight: pxToRem(18),\n letterSpacing: '-0.01em',\n },\n sm: {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(14),\n lineHeight: pxToRem(16),\n letterSpacing: '-0.01em',\n },\n },\n caption: {\n md: {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(12),\n lineHeight: pxToRem(12),\n letterSpacing: '0',\n },\n sm: {\n fontFamily: fontStacks.sans,\n fontWeight: '700',\n fontSize: pxToRem(10),\n lineHeight: pxToRem(10),\n letterSpacing: '0',\n },\n },\n}\n","/**\n * ------ IMPORTANT ------\n * Do not change or add to the contents of this file\n * without consulting with the design team.\n *\n * These are values that make up our brand and even\n * minor changes greatly affects our visual identity.\n *\n * The foundations are losely based on Styled System Theme Specification\n * @see https://styled-system.com/theme-specification/\n * -----------------------\n */\n\nimport { breakpoints } from './breakpoints'\nimport { colors } from './colors'\nimport { spacing } from './spacing'\nimport { zIndices } from './z-index'\nimport { sizes } from './sizes'\nimport { radii } from './radius'\nimport { shadows } from './shadows'\nimport { typography } from './typography'\n\nexport const foundations = {\n spacing,\n breakpoints,\n zIndices,\n colors,\n sizes,\n radii,\n shadows,\n typography,\n}\n","import { foundations } from './foundations'\n\nconst mediaQueries = {\n smUp: `@media(min-width: ${foundations.breakpoints.sm}px)`,\n mdUp: `@media(min-width: ${foundations.breakpoints.md}px)`,\n lgUp: `@media(min-width: ${foundations.breakpoints.lg}px)`,\n xlUp: `@media(min-width: ${foundations.breakpoints.xl}px)`,\n '2xlUp': `@media(min-width: ${foundations.breakpoints['2xl']}px)`,\n} as const\n\nexport const theme = { ...foundations, mediaQueries }\nexport type Theme = typeof theme\n","export const objectKeys = <T extends object>(obj: T): (keyof T)[] => {\n return Object.keys(obj) as (keyof T)[]\n}\n","import type { LegitimateAny, PartialRecord } from '../types'\nimport { objectKeys } from '../utils/object'\n\nimport type { Theme } from './theme'\nimport { theme } from './theme'\n\ntype DeepPartial<T> = { [P in keyof T]?: DeepPartial<T[P]> }\n\ninterface TypographyOverride {\n fontFamily?: string\n fontWeight?: '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'\n}\n\ntype TypographyOverrides = PartialRecord<keyof Theme['typography'], TypographyOverride>\n\nconst overrideTypography = (overrides: TypographyOverrides): Theme['typography'] => {\n const result = Object.assign({}, theme.typography)\n\n objectKeys(result).forEach((group) => {\n const override = overrides[group]\n if (override) {\n const typographyGroup = result[group]\n objectKeys(typographyGroup).forEach((key) => {\n typographyGroup[key].fontFamily = override.fontFamily || typographyGroup[key].fontFamily\n typographyGroup[key].fontWeight = override.fontWeight || typographyGroup[key].fontWeight\n })\n }\n })\n\n return result\n}\n\nconst deepMerge = <T extends Record<string, LegitimateAny>>(\n target: T,\n source: DeepPartial<T>,\n): T => {\n const result = Object.assign({}, target)\n\n objectKeys(source).forEach((key) => {\n if (typeof source[key] === 'object') {\n result[key] = deepMerge(result[key], source[key])\n } else {\n // @ts-expect-error\n result[key] = source[key]\n }\n })\n\n return result\n}\n\nexport interface ThemeOverrides {\n colors?: DeepPartial<Theme['colors']>\n typography?: TypographyOverrides\n}\n\nexport const overrideTheme = (overrides: ThemeOverrides) => {\n let typography = theme.typography\n let colors = theme.colors\n\n if (overrides.typography) {\n typography = overrideTypography(overrides.typography)\n }\n\n if (overrides.colors) {\n colors = deepMerge(theme.colors, overrides.colors)\n }\n\n return { ...theme, typography, colors }\n}\n","import { createContext, useContext } from 'react'\n\nimport type { LanguageCode } from './locales'\n\ninterface LocaleContextValue {\n currentLanguage: LanguageCode\n}\n\nconst LocaleContext = createContext<LocaleContextValue | undefined>(undefined)\n\ninterface LocaleProviderProps {\n language: LanguageCode\n children: React.ReactNode\n}\nexport function LocaleProvider({ language, children }: LocaleProviderProps) {\n return (\n <LocaleContext.Provider value={{ currentLanguage: language }}>\n {children}\n </LocaleContext.Provider>\n )\n}\n\nexport function useLocale() {\n const context = useContext(LocaleContext)\n if (!context) {\n throw new Error('useLocale must be used within a LocaleProvider')\n }\n\n return context\n}\n","import * as ToastPrimitive from '@radix-ui/react-toast'\nimport { useSyncExternalStore } from 'react'\nimport type { ReactNode } from 'react'\nimport styled from '@emotion/styled'\nimport { AnimatePresence } from 'motion/react'\n\nimport { toastStore } from './toast-store'\nimport { Toast } from './toast'\n\n/**\n * We style a separate div as a child for Radix Viewport in order to meet the QDS accessibility requirements\n * Radix uses <ol> and <li> elements for Toast elements in combination with role=\"status\", which is not allowed according to a11y standards\n * @see https://github.com/radix-ui/primitives/issues/1750\n */\nconst Viewport = styled.div(({ theme }) => ({\n position: 'fixed',\n bottom: theme.spacing['12x'],\n left: '50%',\n transform: 'translateX(-50%)',\n zIndex: theme.zIndices.toast,\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing['2x'],\n width: `calc(100vw - ${theme.spacing['8x']})`,\n [theme.mediaQueries.smUp]: {\n width: theme.sizes[320],\n },\n}))\n\nexport function ToastProvider({ children }: { children: ReactNode }) {\n const toasts = useSyncExternalStore(\n toastStore.subscribe,\n toastStore.getSnapshot,\n toastStore.getSnapshot,\n )\n\n return (\n <ToastPrimitive.Provider>\n {children}\n <AnimatePresence>\n {toasts.map(({ id, text, variant }) => (\n <Toast\n key={id}\n text={text}\n variant={variant}\n onOpenChange={(isOpen) => {\n if (!isOpen) {\n toastStore.remove(id)\n }\n }}\n />\n ))}\n </AnimatePresence>\n <ToastPrimitive.Viewport asChild>\n <Viewport />\n </ToastPrimitive.Viewport>\n </ToastPrimitive.Provider>\n )\n}\n","import { flushSync } from 'react-dom'\n\nimport type { ToastVariant } from './toast-styles'\n\ntype Id = number | string\ninterface Toast {\n id: Id\n /**\n * The text for the toast\n */\n text: string\n /**\n * Sets the style variant of the toast, currently supports 'neutral' and 'negative'\n * @default 'neutral'\n */\n variant?: ToastVariant\n}\ninterface ToastOptions {\n /**\n * Unique identifier for the toast (can be used for removing it prematurely). If a toast with this\n * identifier already exists it will be removed before the new toast is added.\n * @default a random unique id will be set and returned\n */\n id?: Id\n}\n\ntype Subscriber = () => void\nclass ToastStore {\n toasts: Toast[]\n subscribers: Subscriber[]\n id: number\n\n constructor() {\n this.subscribers = []\n this.toasts = []\n this.id = 0\n }\n\n subscribe = (subscriber: Subscriber) => {\n this.subscribers.push(subscriber)\n\n return () => {\n const index = this.subscribers.indexOf(subscriber)\n this.subscribers.splice(index, 1)\n }\n }\n\n notify = () => {\n this.subscribers.forEach((subscriber) => subscriber())\n }\n\n add = (toast: Omit<Toast, 'id'> & ToastOptions) => {\n /*\n * Update to use the window.crypto.randomUUIC() method here after some time when we are sure that all the relevant browsers support it.\n */\n this.id = this.id + 1\n const id = toast.id ?? this.id\n if (toast.id) {\n // NOTE: if the toast.id is set we remove any toast with the same identifier\n this.toasts = this.toasts.filter((toast) => toast.id !== id)\n // we use flushSync to prevent batched state updates which would cause React to update the old\n // toast instead of removing it and adding a new one\n flushSync(() => {\n this.notify()\n })\n }\n this.toasts = [...this.toasts, { ...toast, id }]\n this.notify()\n\n return id\n }\n\n addNeutral = (text: string, options?: ToastOptions) => {\n return this.add({ text, variant: 'neutral', ...options })\n }\n\n addError = (text: string, options?: ToastOptions) => {\n return this.add({ text, variant: 'error', ...options })\n }\n\n remove = (id: Id) => {\n this.toasts = [...this.toasts.filter((toast) => toast.id !== id)]\n this.notify()\n }\n\n removeAll = () => {\n this.toasts = []\n this.notify()\n }\n\n getSnapshot = () => {\n return this.toasts\n }\n}\n\nexport const toastStore = new ToastStore()\n\nexport const toast = Object.assign(toastStore.addNeutral, {\n error: toastStore.addError,\n remove: toastStore.remove,\n removeAll: toastStore.removeAll,\n})\n","import * as ToastPrimitive from '@radix-ui/react-toast'\nimport styled from '@emotion/styled'\nimport { motion } from 'motion/react'\n\nimport type { HTMLQdsProps } from '../../types'\nimport { AlertCircleIcon } from '../icon'\n\nimport { getVariantStyles } from './toast-styles'\nimport type { ToastVariant } from './toast-styles'\n\n/**\n * We style a separate div as a child for Radix Toast.Root in order to meet the QDS accessibility requirements & animate it\n * Radix uses <ol> and <li> elements for Toast elements in combination with role=\"status\", which is not allowed according to a11y standards\n * @see https://github.com/radix-ui/primitives/issues/1750\n */\nconst Wrapper = styled(motion.div)<{ variant: ToastVariant }>(({ theme, variant }) => ({\n borderRadius: theme.radii.md,\n paddingInline: theme.spacing['4x'],\n paddingBlock: theme.spacing['3x'],\n display: 'flex',\n flexDirection: 'row',\n gap: theme.spacing['3x'],\n boxShadow: theme.shadows.lg,\n ...getVariantStyles(theme)[variant],\n}))\n\nconst Title = styled(ToastPrimitive.Title)(({ theme }) => ({\n ...theme.typography.label.md,\n}))\n\nconst IconWrapper = styled.div({\n marginTop: 1,\n flexShrink: 0,\n})\n\nconst ICON_MAP = {\n neutral: undefined,\n error: AlertCircleIcon,\n}\n\ninterface ToastOptions {\n text: string\n variant?: ToastVariant\n}\n\ntype OmittedProps = 'children'\ninterface ToastProps extends Omit<HTMLQdsProps<'div'>, OmittedProps>, ToastOptions {}\n\nexport function Toast(props: ToastProps & ToastPrimitive.ToastProps) {\n const { text, variant = 'neutral', ...rest } = props\n\n const Icon = ICON_MAP[variant]\n\n return (\n <ToastPrimitive.Root asChild forceMount {...rest}>\n <Wrapper\n variant={variant}\n layout\n initial={{ opacity: 0, y: 20 }}\n animate={{ opacity: 1, y: 0 }}\n exit={{ opacity: 0 }}\n transition={{ y: { type: 'spring', bounce: 0.1 } }}\n >\n {Icon && (\n <IconWrapper>\n <Icon size={16} color=\"onBrandSecondary\" />\n </IconWrapper>\n )}\n <Title>{text}</Title>\n </Wrapper>\n </ToastPrimitive.Root>\n )\n}\n","/**\n * This function is heavily inspired by the `createIcon` function from\n * Chakra UI (https://chakra-ui.com/).\n */\n\nimport styled from '@emotion/styled'\nimport { Children, forwardRef } from 'react'\n\nimport type { IconOptions, IconProps } from './icon.types'\n\nconst StyledSvg = styled.svg<IconOptions>(({ theme, color = 'default' }) => ({\n color: color === 'currentColor' ? 'currentcolor' : theme.colors.icon[color],\n display: 'inline-block',\n lineHeight: '1em',\n}))\n\nexport interface CreateIconOptions {\n /**\n * The `svg`'s `viewBox` attribute\n */\n viewBox: string\n /**\n * If the `svg` has a single path, simply copy the path's `d` attribute\n */\n d?: string\n /**\n * The `svg` path or group element\n *\n * @example\n * ```jsx\n * createIcon({\n * viewBox: '0 0 512 512',\n * path: [\n * <circle cx=\"50\" cy=\"50\" r=\"50\" />,\n * <path d=\"M10 10\" />,\n * ],\n * displayName: 'ExampleIcon',\n * })\n * ```\n */\n path?: React.ReactElement | React.ReactElement[]\n /**\n * The display name of the icon. Useful for debugging\n * and internal use.\n */\n displayName?: string\n}\n\n/**\n * Helper function to create an icon component.\n */\nexport const createIcon = (options: CreateIconOptions) => {\n const { viewBox, d: pathDefinition, displayName = 'UnnamedIcon' } = options\n const path = Children.toArray(options.path)\n\n const Component = forwardRef<SVGSVGElement, IconProps>((props, forwardedRef) => {\n const { size = 24, ...rest } = props\n return (\n <StyledSvg\n ref={forwardedRef}\n xmlns=\"http://www.w3.org/2000/svg\"\n width={size}\n height={size}\n focusable=\"false\"\n viewBox={viewBox}\n fill=\"currentColor\"\n {...rest}\n >\n {path.length ? path : <path fill=\"currentColor\" d={pathDefinition} />}\n </StyledSvg>\n )\n })\n\n Component.displayName = displayName\n\n return Component\n}\n","import { useTheme } from '@emotion/react'\nimport type { LucideIcon } from 'lucide-react'\nimport { forwardRef } from 'react'\n\nimport type { IconProps } from './icon.types'\n\nexport const createLucideIcon = (Icon: LucideIcon) => {\n const Component = forwardRef<SVGSVGElement, IconProps>(\n ({ size = 24, color = 'default', ...props }, ref) => {\n const theme = useTheme()\n const resolvedColor = color === 'currentColor' ? 'currentcolor' : theme.colors.icon[color]\n\n return (\n <Icon\n ref={ref}\n size={size}\n strokeWidth={2}\n // Always keep a minimum stroke width of 2px\n absoluteStrokeWidth={size < 24}\n color={resolvedColor}\n {...props}\n />\n )\n },\n )\n\n Component.displayName = Icon.displayName\n\n return Component\n}\n","import { CamelToPascal } from './utility-types';\n\n/**\n * Converts string to kebab case\n *\n * @param {string} string\n * @returns {string} A kebabized string\n */\nexport const toKebabCase = (string: string) =>\n string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n\n/**\n * Converts string to camel case\n *\n * @param {string} string\n * @returns {string} A camelized string\n */\nexport const toCamelCase = <T extends string>(string: T) =>\n string.replace(/^([A-Z])|[\\s-_]+(\\w)/g, (match, p1, p2) =>\n p2 ? p2.toUpperCase() : p1.toLowerCase(),\n );\n\n/**\n * Converts string to pascal case\n *\n * @param {string} string\n * @returns {string} A pascalized string\n */\nexport const toPascalCase = <T extends string>(string: T): CamelToPascal<T> => {\n const camelCase = toCamelCase(string);\n\n return (camelCase.charAt(0).toUpperCase() + camelCase.slice(1)) as CamelToPascal<T>;\n};\n\n/**\n * Merges classes into a single string\n *\n * @param {array} classes\n * @returns {string} A string of classes\n */\nexport const mergeClasses = <ClassType = string | undefined | null>(...classes: ClassType[]) =>\n classes\n .filter((className, index, array) => {\n return (\n Boolean(className) &&\n (className as string).trim() !== '' &&\n array.indexOf(className) === index\n );\n })\n .join(' ')\n .trim();\n","export default {\n xmlns: 'http://www.w3.org/2000/svg',\n width: 24,\n height: 24,\n viewBox: '0 0 24 24',\n fill: 'none',\n stroke: 'currentColor',\n strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n};\n","import { createElement, forwardRef } from 'react';\nimport defaultAttributes from './defaultAttributes';\nimport { IconNode, LucideProps } from './types';\nimport { mergeClasses } from '@lucide/shared';\n\ninterface IconComponentProps extends LucideProps {\n iconNode: IconNode;\n}\n\n/**\n * Lucide icon component\n *\n * @component Icon\n * @param {object} props\n * @param {string} props.color - The color of the icon\n * @param {number} props.size - The size of the icon\n * @param {number} props.strokeWidth - The stroke width of the icon\n * @param {boolean} props.absoluteStrokeWidth - Whether to use absolute stroke width\n * @param {string} props.className - The class name of the icon\n * @param {IconNode} props.children - The children of the icon\n * @param {IconNode} props.iconNode - The icon node of the icon\n *\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst Icon = forwardRef<SVGSVGElement, IconComponentProps>(\n (\n {\n color = 'currentColor',\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = '',\n children,\n iconNode,\n ...rest\n },\n ref,\n ) => {\n return createElement(\n 'svg',\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth,\n className: mergeClasses('lucide', className),\n ...rest,\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...(Array.isArray(children) ? children : [children]),\n ],\n );\n },\n);\n\nexport default Icon;\n","import { createElement, forwardRef } from 'react';\nimport { mergeClasses, toKebabCase } from '@lucide/shared';\nimport { IconNode, LucideProps } from './types';\nimport Icon from './Icon';\n\n/**\n * Create a Lucide icon component\n * @param {string} iconName\n * @param {array} iconNode\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst createLucideIcon = (iconName: string, iconNode: IconNode) => {\n const Component = forwardRef<SVGSVGElement, LucideProps>(({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(`lucide-${toKebabCase(iconName)}`, className),\n ...props,\n }),\n );\n\n Component.displayName = `${iconName}`;\n\n return Component;\n};\n\nexport default createLucideIcon;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 5v14', key: 's699le' }],\n ['path', { d: 'm19 12-7 7-7-7', key: '1idqje' }],\n];\n\n/**\n * @component @name ArrowDown\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgNXYxNCIgLz4KICA8cGF0aCBkPSJtMTkgMTItNyA3LTctNyIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/arrow-down\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowDown = createLucideIcon('ArrowDown', __iconNode);\n\nexport default ArrowDown;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm12 19-7-7 7-7', key: '1l729n' }],\n ['path', { d: 'M19 12H5', key: 'x3x0zl' }],\n];\n\n/**\n * @component @name ArrowLeft\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMTIgMTktNy03IDctNyIgLz4KICA8cGF0aCBkPSJNMTkgMTJINSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/arrow-left\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowLeft = createLucideIcon('ArrowLeft', __iconNode);\n\nexport default ArrowLeft;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M5 12h14', key: '1ays0h' }],\n ['path', { d: 'm12 5 7 7-7 7', key: 'xquz4c' }],\n];\n\n/**\n * @component @name ArrowRight\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNSAxMmgxNCIgLz4KICA8cGF0aCBkPSJtMTIgNSA3IDctNyA3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/arrow-right\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowRight = createLucideIcon('ArrowRight', __iconNode);\n\nexport default ArrowRight;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm5 12 7-7 7 7', key: 'hav0vg' }],\n ['path', { d: 'M12 19V5', key: 'x0mq9r' }],\n];\n\n/**\n * @component @name ArrowUp\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtNSAxMiA3LTcgNyA3IiAvPgogIDxwYXRoIGQ9Ik0xMiAxOVY1IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/arrow-up\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowUp = createLucideIcon('ArrowUp', __iconNode);\n\nexport default ArrowUp;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M10.268 21a2 2 0 0 0 3.464 0', key: 'vwvbt9' }],\n [\n 'path',\n {\n d: 'M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742',\n key: '178tsu',\n },\n ],\n ['path', { d: 'm2 2 20 20', key: '1ooewy' }],\n ['path', { d: 'M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05', key: '1hqiys' }],\n];\n\n/**\n * @component @name BellOff\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTAuMjY4IDIxYTIgMiAwIDAgMCAzLjQ2NCAwIiAvPgogIDxwYXRoIGQ9Ik0xNyAxN0g0YTEgMSAwIDAgMS0uNzQtMS42NzNDNC41OSAxMy45NTYgNiAxMi40OTkgNiA4YTYgNiAwIDAgMSAuMjU4LTEuNzQyIiAvPgogIDxwYXRoIGQ9Im0yIDIgMjAgMjAiIC8+CiAgPHBhdGggZD0iTTguNjY4IDMuMDFBNiA2IDAgMCAxIDE4IDhjMCAyLjY4Ny43NyA0LjY1MyAxLjcwNyA2LjA1IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/bell-off\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst BellOff = createLucideIcon('BellOff', __iconNode);\n\nexport default BellOff;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M10.268 21a2 2 0 0 0 3.464 0', key: 'vwvbt9' }],\n [\n 'path',\n {\n d: 'M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326',\n key: '11g9vi',\n },\n ],\n];\n\n/**\n * @component @name Bell\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTAuMjY4IDIxYTIgMiAwIDAgMCAzLjQ2NCAwIiAvPgogIDxwYXRoIGQ9Ik0zLjI2MiAxNS4zMjZBMSAxIDAgMCAwIDQgMTdoMTZhMSAxIDAgMCAwIC43NC0xLjY3M0MxOS40MSAxMy45NTYgMTggMTIuNDk5IDE4IDhBNiA2IDAgMCAwIDYgOGMwIDQuNDk5LTEuNDExIDUuOTU2LTIuNzM4IDcuMzI2IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/bell\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Bell = createLucideIcon('Bell', __iconNode);\n\nexport default Bell;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z', key: '1fy3hk' }],\n];\n\n/**\n * @component @name Bookmark\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMTkgMjEtNy00LTcgNFY1YTIgMiAwIDAgMSAyLTJoMTBhMiAyIDAgMCAxIDIgMnYxNnoiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/bookmark\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Bookmark = createLucideIcon('Bookmark', __iconNode);\n\nexport default Bookmark;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M8 2v4', key: '1cmpym' }],\n ['path', { d: 'M16 2v4', key: '4m81vk' }],\n ['rect', { width: '18', height: '18', x: '3', y: '4', rx: '2', key: '1hopcy' }],\n ['path', { d: 'M3 10h18', key: '8toen8' }],\n];\n\n/**\n * @component @name Calendar\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNOCAydjQiIC8+CiAgPHBhdGggZD0iTTE2IDJ2NCIgLz4KICA8cmVjdCB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHg9IjMiIHk9IjQiIHJ4PSIyIiAvPgogIDxwYXRoIGQ9Ik0zIDEwaDE4IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/calendar\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Calendar = createLucideIcon('Calendar', __iconNode);\n\nexport default Calendar;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z',\n key: '1tc9qg',\n },\n ],\n ['circle', { cx: '12', cy: '13', r: '3', key: '1vg3eu' }],\n];\n\n/**\n * @component @name Camera\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTQuNSA0aC01TDcgN0g0YTIgMiAwIDAgMC0yIDJ2OWEyIDIgMCAwIDAgMiAyaDE2YTIgMiAwIDAgMCAyLTJWOWEyIDIgMCAwIDAtMi0yaC0zbC0yLjUtM3oiIC8+CiAgPGNpcmNsZSBjeD0iMTIiIGN5PSIxMyIgcj0iMyIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/camera\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Camera = createLucideIcon('Camera', __iconNode);\n\nexport default Camera;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'M20 6 9 17l-5-5', key: '1gmf2c' }]];\n\n/**\n * @component @name Check\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjAgNiA5IDE3bC01LTUiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/check\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Check = createLucideIcon('Check', __iconNode);\n\nexport default Check;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm6 9 6 6 6-6', key: 'qrunsl' }]];\n\n/**\n * @component @name ChevronDown\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtNiA5IDYgNiA2LTYiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/chevron-down\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronDown = createLucideIcon('ChevronDown', __iconNode);\n\nexport default ChevronDown;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm15 18-6-6 6-6', key: '1wnfg3' }]];\n\n/**\n * @component @name ChevronLeft\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMTUgMTgtNi02IDYtNiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/chevron-left\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronLeft = createLucideIcon('ChevronLeft', __iconNode);\n\nexport default ChevronLeft;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm9 18 6-6-6-6', key: 'mthhwq' }]];\n\n/**\n * @component @name ChevronRight\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtOSAxOCA2LTYtNi02IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/chevron-right\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronRight = createLucideIcon('ChevronRight', __iconNode);\n\nexport default ChevronRight;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm18 15-6-6-6 6', key: '153udz' }]];\n\n/**\n * @component @name ChevronUp\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMTggMTUtNi02LTYgNiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/chevron-up\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronUp = createLucideIcon('ChevronUp', __iconNode);\n\nexport default ChevronUp;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['line', { x1: '12', x2: '12', y1: '8', y2: '12', key: '1pkeuh' }],\n ['line', { x1: '12', x2: '12.01', y1: '16', y2: '16', key: '4dfq90' }],\n];\n\n/**\n * @component @name CircleAlert\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8bGluZSB4MT0iMTIiIHgyPSIxMiIgeTE9IjgiIHkyPSIxMiIgLz4KICA8bGluZSB4MT0iMTIiIHgyPSIxMi4wMSIgeTE9IjE2IiB5Mj0iMTYiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/circle-alert\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleAlert = createLucideIcon('CircleAlert', __iconNode);\n\nexport default CircleAlert;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'm9 12 2 2 4-4', key: 'dzmm74' }],\n];\n\n/**\n * @component @name CircleCheck\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJtOSAxMiAyIDIgNC00IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/circle-check\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleCheck = createLucideIcon('CircleCheck', __iconNode);\n\nexport default CircleCheck;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3', key: '1u773s' }],\n ['path', { d: 'M12 17h.01', key: 'p32p05' }],\n];\n\n/**\n * @component @name CircleHelp\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJNOS4wOSA5YTMgMyAwIDAgMSA1LjgzIDFjMCAyLTMgMy0zIDMiIC8+CiAgPHBhdGggZD0iTTEyIDE3aC4wMSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/circle-help\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleHelp = createLucideIcon('CircleHelp', __iconNode);\n\nexport default CircleHelp;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'm15 9-6 6', key: '1uzhvr' }],\n ['path', { d: 'm9 9 6 6', key: 'z0biqf' }],\n];\n\n/**\n * @component @name CircleX\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJtMTUgOS02IDYiIC8+CiAgPHBhdGggZD0ibTkgOSA2IDYiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/circle-x\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleX = createLucideIcon('CircleX', __iconNode);\n\nexport default CircleX;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '1', key: '41hilf' }],\n ['circle', { cx: '12', cy: '5', r: '1', key: 'gxeob9' }],\n ['circle', { cx: '12', cy: '19', r: '1', key: 'lyex9k' }],\n];\n\n/**\n * @component @name EllipsisVertical\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxIiAvPgogIDxjaXJjbGUgY3g9IjEyIiBjeT0iNSIgcj0iMSIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjE5IiByPSIxIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/ellipsis-vertical\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst EllipsisVertical = createLucideIcon('EllipsisVertical', __iconNode);\n\nexport default EllipsisVertical;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '1', key: '41hilf' }],\n ['circle', { cx: '19', cy: '12', r: '1', key: '1wjl8i' }],\n ['circle', { cx: '5', cy: '12', r: '1', key: '1pcz8c' }],\n];\n\n/**\n * @component @name Ellipsis\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxIiAvPgogIDxjaXJjbGUgY3g9IjE5IiBjeT0iMTIiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iNSIgY3k9IjEyIiByPSIxIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/ellipsis\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Ellipsis = createLucideIcon('Ellipsis', __iconNode);\n\nexport default Ellipsis;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20', key: '13o1zl' }],\n ['path', { d: 'M2 12h20', key: '9i4pu4' }],\n];\n\n/**\n * @component @name Globe\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJNMTIgMmExNC41IDE0LjUgMCAwIDAgMCAyMCAxNC41IDE0LjUgMCAwIDAgMC0yMCIgLz4KICA8cGF0aCBkPSJNMiAxMmgyMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/globe\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Globe = createLucideIcon('Globe', __iconNode);\n\nexport default Globe;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z',\n key: 'c3ymky',\n },\n ],\n];\n\n/**\n * @component @name Heart\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTkgMTRjMS40OS0xLjQ2IDMtMy4yMSAzLTUuNUE1LjUgNS41IDAgMCAwIDE2LjUgM2MtMS43NiAwLTMgLjUtNC41IDItMS41LTEuNS0yLjc0LTItNC41LTJBNS41IDUuNSAwIDAgMCAyIDguNWMwIDIuMyAxLjUgNC4wNSAzIDUuNWw3IDdaIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/heart\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Heart = createLucideIcon('Heart', __iconNode);\n\nexport default Heart;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8', key: '1357e3' }],\n ['path', { d: 'M3 3v5h5', key: '1xhq8a' }],\n ['path', { d: 'M12 7v5l4 2', key: '1fdv2h' }],\n];\n\n/**\n * @component @name History\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMyAxMmE5IDkgMCAxIDAgOS05IDkuNzUgOS43NSAwIDAgMC02Ljc0IDIuNzRMMyA4IiAvPgogIDxwYXRoIGQ9Ik0zIDN2NWg1IiAvPgogIDxwYXRoIGQ9Ik0xMiA3djVsNCAyIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/history\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst History = createLucideIcon('History', __iconNode);\n\nexport default History;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8', key: '5wwlr5' }],\n [\n 'path',\n {\n d: 'M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z',\n key: '1d0kgt',\n },\n ],\n];\n\n/**\n * @component @name House\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTUgMjF2LThhMSAxIDAgMCAwLTEtMWgtNGExIDEgMCAwIDAtMSAxdjgiIC8+CiAgPHBhdGggZD0iTTMgMTBhMiAyIDAgMCAxIC43MDktMS41MjhsNy01Ljk5OWEyIDIgMCAwIDEgMi41ODIgMGw3IDUuOTk5QTIgMiAwIDAgMSAyMSAxMHY5YTIgMiAwIDAgMS0yIDJINWEyIDIgMCAwIDEtMi0yeiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/house\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst House = createLucideIcon('House', __iconNode);\n\nexport default House;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['rect', { width: '18', height: '18', x: '3', y: '3', rx: '2', ry: '2', key: '1m3agn' }],\n ['circle', { cx: '9', cy: '9', r: '2', key: 'af1f0g' }],\n ['path', { d: 'm21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21', key: '1xmnt7' }],\n];\n\n/**\n * @component @name Image\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cmVjdCB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHg9IjMiIHk9IjMiIHJ4PSIyIiByeT0iMiIgLz4KICA8Y2lyY2xlIGN4PSI5IiBjeT0iOSIgcj0iMiIgLz4KICA8cGF0aCBkPSJtMjEgMTUtMy4wODYtMy4wODZhMiAyIDAgMCAwLTIuODI4IDBMNiAyMSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/image\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Image = createLucideIcon('Image', __iconNode);\n\nexport default Image;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'M12 16v-4', key: '1dtifu' }],\n ['path', { d: 'M12 8h.01', key: 'e9boi3' }],\n];\n\n/**\n * @component @name Info\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJNMTIgMTZ2LTQiIC8+CiAgPHBhdGggZD0iTTEyIDhoLjAxIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/info\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Info = createLucideIcon('Info', __iconNode);\n\nexport default Info;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M3 6h18', key: 'd0wm0j' }],\n ['path', { d: 'M7 12h10', key: 'b7w52i' }],\n ['path', { d: 'M10 18h4', key: '1ulq68' }],\n];\n\n/**\n * @component @name ListFilter\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMyA2aDE4IiAvPgogIDxwYXRoIGQ9Ik03IDEyaDEwIiAvPgogIDxwYXRoIGQ9Ik0xMCAxOGg0IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/list-filter\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ListFilter = createLucideIcon('ListFilter', __iconNode);\n\nexport default ListFilter;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M3 12h.01', key: 'nlz23k' }],\n ['path', { d: 'M3 18h.01', key: '1tta3j' }],\n ['path', { d: 'M3 6h.01', key: '1rqtza' }],\n ['path', { d: 'M8 12h13', key: '1za7za' }],\n ['path', { d: 'M8 18h13', key: '1lx6n3' }],\n ['path', { d: 'M8 6h13', key: 'ik3vkj' }],\n];\n\n/**\n * @component @name List\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMyAxMmguMDEiIC8+CiAgPHBhdGggZD0iTTMgMThoLjAxIiAvPgogIDxwYXRoIGQ9Ik0zIDZoLjAxIiAvPgogIDxwYXRoIGQ9Ik04IDEyaDEzIiAvPgogIDxwYXRoIGQ9Ik04IDE4aDEzIiAvPgogIDxwYXRoIGQ9Ik04IDZoMTMiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/list\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst List = createLucideIcon('List', __iconNode);\n\nexport default List;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4', key: '1uf3rs' }],\n ['polyline', { points: '16 17 21 12 16 7', key: '1gabdz' }],\n ['line', { x1: '21', x2: '9', y1: '12', y2: '12', key: '1uyos4' }],\n];\n\n/**\n * @component @name LogOut\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNOSAyMUg1YTIgMiAwIDAgMS0yLTJWNWEyIDIgMCAwIDEgMi0yaDQiIC8+CiAgPHBvbHlsaW5lIHBvaW50cz0iMTYgMTcgMjEgMTIgMTYgNyIgLz4KICA8bGluZSB4MT0iMjEiIHgyPSI5IiB5MT0iMTIiIHkyPSIxMiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/log-out\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst LogOut = createLucideIcon('LogOut', __iconNode);\n\nexport default LogOut;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0',\n key: '1r0f0z',\n },\n ],\n ['circle', { cx: '12', cy: '10', r: '3', key: 'ilqhr7' }],\n];\n\n/**\n * @component @name MapPin\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjAgMTBjMCA0Ljk5My01LjUzOSAxMC4xOTMtNy4zOTkgMTEuNzk5YTEgMSAwIDAgMS0xLjIwMiAwQzkuNTM5IDIwLjE5MyA0IDE0Ljk5MyA0IDEwYTggOCAwIDAgMSAxNiAwIiAvPgogIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTAiIHI9IjMiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/map-pin\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst MapPin = createLucideIcon('MapPin', __iconNode);\n\nexport default MapPin;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z',\n key: '169xi5',\n },\n ],\n ['path', { d: 'M15 5.764v15', key: '1pn4in' }],\n ['path', { d: 'M9 3.236v15', key: '1uimfh' }],\n];\n\n/**\n * @component @name Map\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTQuMTA2IDUuNTUzYTIgMiAwIDAgMCAxLjc4OCAwbDMuNjU5LTEuODNBMSAxIDAgMCAxIDIxIDQuNjE5djEyLjc2NGExIDEgMCAwIDEtLjU1My44OTRsLTQuNTUzIDIuMjc3YTIgMiAwIDAgMS0xLjc4OCAwbC00LjIxMi0yLjEwNmEyIDIgMCAwIDAtMS43ODggMGwtMy42NTkgMS44M0ExIDEgMCAwIDEgMyAxOS4zODFWNi42MThhMSAxIDAgMCAxIC41NTMtLjg5NGw0LjU1My0yLjI3N2EyIDIgMCAwIDEgMS43ODggMHoiIC8+CiAgPHBhdGggZD0iTTE1IDUuNzY0djE1IiAvPgogIDxwYXRoIGQ9Ik05IDMuMjM2djE1IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/map\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Map = createLucideIcon('Map', __iconNode);\n\nexport default Map;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['line', { x1: '4', x2: '20', y1: '12', y2: '12', key: '1e0a9i' }],\n ['line', { x1: '4', x2: '20', y1: '6', y2: '6', key: '1owob3' }],\n ['line', { x1: '4', x2: '20', y1: '18', y2: '18', key: 'yk5zj1' }],\n];\n\n/**\n * @component @name Menu\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8bGluZSB4MT0iNCIgeDI9IjIwIiB5MT0iMTIiIHkyPSIxMiIgLz4KICA8bGluZSB4MT0iNCIgeDI9IjIwIiB5MT0iNiIgeTI9IjYiIC8+CiAgPGxpbmUgeDE9IjQiIHgyPSIyMCIgeTE9IjE4IiB5Mj0iMTgiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/menu\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Menu = createLucideIcon('Menu', __iconNode);\n\nexport default Menu;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M7.9 20A9 9 0 1 0 4 16.1L2 22Z', key: 'vv11sd' }],\n];\n\n/**\n * @component @name MessageCircle\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNy45IDIwQTkgOSAwIDEgMCA0IDE2LjFMMiAyMloiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/message-circle\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst MessageCircle = createLucideIcon('MessageCircle', __iconNode);\n\nexport default MessageCircle;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'M5 12h14', key: '1ays0h' }]];\n\n/**\n * @component @name Minus\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNSAxMmgxNCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/minus\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Minus = createLucideIcon('Minus', __iconNode);\n\nexport default Minus;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z',\n key: '1a8usu',\n },\n ],\n];\n\n/**\n * @component @name Pen\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEuMTc0IDYuODEyYTEgMSAwIDAgMC0zLjk4Ni0zLjk4N0wzLjg0MiAxNi4xNzRhMiAyIDAgMCAwLS41LjgzbC0xLjMyMSA0LjM1MmEuNS41IDAgMCAwIC42MjMuNjIybDQuMzUzLTEuMzJhMiAyIDAgMCAwIC44My0uNDk3eiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/pen\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Pen = createLucideIcon('Pen', __iconNode);\n\nexport default Pen;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M5 12h14', key: '1ays0h' }],\n ['path', { d: 'M12 5v14', key: 's699le' }],\n];\n\n/**\n * @component @name Plus\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNSAxMmgxNCIgLz4KICA8cGF0aCBkPSJNMTIgNXYxNCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/plus\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Plus = createLucideIcon('Plus', __iconNode);\n\nexport default Plus;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '11', cy: '11', r: '8', key: '4ej97u' }],\n ['path', { d: 'm21 21-4.3-4.3', key: '1qie3q' }],\n];\n\n/**\n * @component @name Search\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMSIgY3k9IjExIiByPSI4IiAvPgogIDxwYXRoIGQ9Im0yMSAyMS00LjMtNC4zIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/search\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Search = createLucideIcon('Search', __iconNode);\n\nexport default Search;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M20 7h-9', key: '3s1dr2' }],\n ['path', { d: 'M14 17H5', key: 'gfn3mx' }],\n ['circle', { cx: '17', cy: '17', r: '3', key: '18b49y' }],\n ['circle', { cx: '7', cy: '7', r: '3', key: 'dfmy0x' }],\n];\n\n/**\n * @component @name Settings2\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjAgN2gtOSIgLz4KICA8cGF0aCBkPSJNMTQgMTdINSIgLz4KICA8Y2lyY2xlIGN4PSIxNyIgY3k9IjE3IiByPSIzIiAvPgogIDxjaXJjbGUgY3g9IjciIGN5PSI3IiByPSIzIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/settings-2\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Settings2 = createLucideIcon('Settings2', __iconNode);\n\nexport default Settings2;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z',\n key: '1qme2f',\n },\n ],\n ['circle', { cx: '12', cy: '12', r: '3', key: '1v7zrd' }],\n];\n\n/**\n * @component @name Settings\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIuMjIgMmgtLjQ0YTIgMiAwIDAgMC0yIDJ2LjE4YTIgMiAwIDAgMS0xIDEuNzNsLS40My4yNWEyIDIgMCAwIDEtMiAwbC0uMTUtLjA4YTIgMiAwIDAgMC0yLjczLjczbC0uMjIuMzhhMiAyIDAgMCAwIC43MyAyLjczbC4xNS4xYTIgMiAwIDAgMSAxIDEuNzJ2LjUxYTIgMiAwIDAgMS0xIDEuNzRsLS4xNS4wOWEyIDIgMCAwIDAtLjczIDIuNzNsLjIyLjM4YTIgMiAwIDAgMCAyLjczLjczbC4xNS0uMDhhMiAyIDAgMCAxIDIgMGwuNDMuMjVhMiAyIDAgMCAxIDEgMS43M1YyMGEyIDIgMCAwIDAgMiAyaC40NGEyIDIgMCAwIDAgMi0ydi0uMThhMiAyIDAgMCAxIDEtMS43M2wuNDMtLjI1YTIgMiAwIDAgMSAyIDBsLjE1LjA4YTIgMiAwIDAgMCAyLjczLS43M2wuMjItLjM5YTIgMiAwIDAgMC0uNzMtMi43M2wtLjE1LS4wOGEyIDIgMCAwIDEtMS0xLjc0di0uNWEyIDIgMCAwIDEgMS0xLjc0bC4xNS0uMDlhMiAyIDAgMCAwIC43My0yLjczbC0uMjItLjM4YTIgMiAwIDAgMC0yLjczLS43M2wtLjE1LjA4YTIgMiAwIDAgMS0yIDBsLS40My0uMjVhMiAyIDAgMCAxLTEtMS43M1Y0YTIgMiAwIDAgMC0yLTJ6IiAvPgogIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjMiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/settings\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Settings = createLucideIcon('Settings', __iconNode);\n\nexport default Settings;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8', key: '1b2hhj' }],\n ['polyline', { points: '16 6 12 2 8 6', key: 'm901s6' }],\n ['line', { x1: '12', x2: '12', y1: '2', y2: '15', key: '1p0rca' }],\n];\n\n/**\n * @component @name Share\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNCAxMnY4YTIgMiAwIDAgMCAyIDJoMTJhMiAyIDAgMCAwIDItMnYtOCIgLz4KICA8cG9seWxpbmUgcG9pbnRzPSIxNiA2IDEyIDIgOCA2IiAvPgogIDxsaW5lIHgxPSIxMiIgeDI9IjEyIiB5MT0iMiIgeTI9IjE1IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/share\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Share = createLucideIcon('Share', __iconNode);\n\nexport default Share;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z',\n key: 'r04s7s',\n },\n ],\n];\n\n/**\n * @component @name Star\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTEuNTI1IDIuMjk1YS41My41MyAwIDAgMSAuOTUgMGwyLjMxIDQuNjc5YTIuMTIzIDIuMTIzIDAgMCAwIDEuNTk1IDEuMTZsNS4xNjYuNzU2YS41My41MyAwIDAgMSAuMjk0LjkwNGwtMy43MzYgMy42MzhhMi4xMjMgMi4xMjMgMCAwIDAtLjYxMSAxLjg3OGwuODgyIDUuMTRhLjUzLjUzIDAgMCAxLS43NzEuNTZsLTQuNjE4LTIuNDI4YTIuMTIyIDIuMTIyIDAgMCAwLTEuOTczIDBMNi4zOTYgMjEuMDFhLjUzLjUzIDAgMCAxLS43Ny0uNTZsLjg4MS01LjEzOWEyLjEyMiAyLjEyMiAwIDAgMC0uNjExLTEuODc5TDIuMTYgOS43OTVhLjUzLjUzIDAgMCAxIC4yOTQtLjkwNmw1LjE2NS0uNzU1YTIuMTIyIDIuMTIyIDAgMCAwIDEuNTk3LTEuMTZ6IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/star\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Star = createLucideIcon('Star', __iconNode);\n\nexport default Star;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M3 6h18', key: 'd0wm0j' }],\n ['path', { d: 'M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6', key: '4alrt4' }],\n ['path', { d: 'M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2', key: 'v07s0e' }],\n ['line', { x1: '10', x2: '10', y1: '11', y2: '17', key: '1uufr5' }],\n ['line', { x1: '14', x2: '14', y1: '11', y2: '17', key: 'xtxkd' }],\n];\n\n/**\n * @component @name Trash2\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMyA2aDE4IiAvPgogIDxwYXRoIGQ9Ik0xOSA2djE0YzAgMS0xIDItMiAySDdjLTEgMC0yLTEtMi0yVjYiIC8+CiAgPHBhdGggZD0iTTggNlY0YzAtMSAxLTIgMi0yaDRjMSAwIDIgMSAyIDJ2MiIgLz4KICA8bGluZSB4MT0iMTAiIHgyPSIxMCIgeTE9IjExIiB5Mj0iMTciIC8+CiAgPGxpbmUgeDE9IjE0IiB4Mj0iMTQiIHkxPSIxMSIgeTI9IjE3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/trash-2\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Trash2 = createLucideIcon('Trash2', __iconNode);\n\nexport default Trash2;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'm21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3',\n key: 'wmoenq',\n },\n ],\n ['path', { d: 'M12 9v4', key: 'juzpu7' }],\n ['path', { d: 'M12 17h.01', key: 'p32p05' }],\n];\n\n/**\n * @component @name TriangleAlert\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMjEuNzMgMTgtOC0xNGEyIDIgMCAwIDAtMy40OCAwbC04IDE0QTIgMiAwIDAgMCA0IDIxaDE2YTIgMiAwIDAgMCAxLjczLTMiIC8+CiAgPHBhdGggZD0iTTEyIDl2NCIgLz4KICA8cGF0aCBkPSJNMTIgMTdoLjAxIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/triangle-alert\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst TriangleAlert = createLucideIcon('TriangleAlert', __iconNode);\n\nexport default TriangleAlert;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '8', r: '5', key: '1hypcn' }],\n ['path', { d: 'M20 21a8 8 0 0 0-16 0', key: 'rfgkzh' }],\n];\n\n/**\n * @component @name UserRound\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjgiIHI9IjUiIC8+CiAgPHBhdGggZD0iTTIwIDIxYTggOCAwIDAgMC0xNiAwIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/user-round\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst UserRound = createLucideIcon('UserRound', __iconNode);\n\nexport default UserRound;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M18 6 6 18', key: '1bl5f8' }],\n ['path', { d: 'm6 6 12 12', key: 'd8bk6v' }],\n];\n\n/**\n * @component @name X\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTggNiA2IDE4IiAvPgogIDxwYXRoIGQ9Im02IDYgMTIgMTIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/x\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst X = createLucideIcon('X', __iconNode);\n\nexport default X;\n","import {\n AlertCircle,\n AlertTriangle,\n ArrowDown,\n ArrowLeft,\n ArrowRight,\n ArrowUp,\n Bell,\n BellOff,\n Bookmark,\n Calendar,\n Camera,\n Check,\n CheckCircle2,\n ChevronDown,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n Globe,\n Heart,\n HelpCircle,\n History,\n Home,\n Image,\n Info,\n List,\n ListFilter,\n LogOut,\n Map,\n MapPin,\n Menu,\n MessageCircle,\n Minus,\n MoreHorizontal,\n MoreVertical,\n Pen,\n Plus,\n Search,\n Settings,\n Settings2,\n Share,\n Star,\n Trash2,\n UserRound,\n X,\n XCircle,\n} from 'lucide-react'\n\nimport { createIcon } from './create-icon'\nimport { createLucideIcon } from './create-lucide-icon'\n\nexport const AlertCircleIcon = createLucideIcon(AlertCircle)\nexport const AlertTriangleIcon = createLucideIcon(AlertTriangle)\nexport const ArrowDownIcon = createLucideIcon(ArrowDown)\nexport const ArrowLeftIcon = createLucideIcon(ArrowLeft)\nexport const ArrowRightIcon = createLucideIcon(ArrowRight)\nexport const ArrowUpIcon = createLucideIcon(ArrowUp)\nexport const BellIcon = createLucideIcon(Bell)\nexport const BellOffIcon = createLucideIcon(BellOff)\nexport const BookmarkIcon = createLucideIcon(Bookmark)\nexport const CalendarIcon = createLucideIcon(Calendar)\nexport const CameraIcon = createLucideIcon(Camera)\nexport const CheckCircleIcon = createLucideIcon(CheckCircle2)\nexport const CheckIcon = createLucideIcon(Check)\nexport const ChevronDownIcon = createLucideIcon(ChevronDown)\nexport const ChevronLeftIcon = createLucideIcon(ChevronLeft)\nexport const ChevronRightIcon = createLucideIcon(ChevronRight)\nexport const ChevronUpIcon = createLucideIcon(ChevronUp)\nexport const GlobeIcon = createLucideIcon(Globe)\n/* Custom icon based on Lucide's heart icon. */\nexport const HeartFilledIcon = createIcon({\n viewBox: '0 0 24 24',\n d: 'M2.90381 3.90381C4.12279 2.68482 5.77609 2 7.5 2C8.48018 2 9.37318 2.14018 10.2468 2.52068C10.8597 2.78762 11.4321 3.15937 12 3.63935C12.5679 3.15937 13.1403 2.78762 13.7532 2.52068C14.6268 2.14018 15.5198 2 16.5 2C18.2239 2 19.8772 2.68482 21.0962 3.90381C22.3152 5.12279 23 6.77609 23 8.5C23 11.2418 21.1906 13.2531 19.7035 14.7107L12.7071 21.7071C12.3166 22.0976 11.6834 22.0976 11.2929 21.7071L4.29885 14.7131C2.79442 13.258 1 11.2494 1 8.5C1 6.77609 1.68482 5.12279 2.90381 3.90381Z',\n displayName: 'HeartFilledIcon',\n})\nexport const HeartIcon = createLucideIcon(Heart)\nexport const HelpCircleIcon = createLucideIcon(HelpCircle)\nexport const HistoryIcon = createLucideIcon(History)\nexport const HomeIcon = createLucideIcon(Home)\nexport const ImageIcon = createLucideIcon(Image)\nexport const InfoIcon = createLucideIcon(Info)\nexport const ListIcon = createLucideIcon(List)\nexport const ListFilterIcon = createLucideIcon(ListFilter)\nexport const LogOutIcon = createLucideIcon(LogOut)\nexport const MapIcon = createLucideIcon(Map)\nexport const MapPinIcon = createLucideIcon(MapPin)\nexport const MenuIcon = createLucideIcon(Menu)\nexport const MessageCircleIcon = createLucideIcon(MessageCircle)\nexport const MinusIcon = createLucideIcon(Minus)\nexport const MoreHorizontalIcon = createLucideIcon(MoreHorizontal)\nexport const MoreVerticalIcon = createLucideIcon(MoreVertical)\nexport const PenIcon = createLucideIcon(Pen)\nexport const PlusIcon = createLucideIcon(Plus)\nexport const SearchIcon = createLucideIcon(Search)\nexport const SettingsIcon = createLucideIcon(Settings)\nexport const ShareIcon = createLucideIcon(Share)\nexport const SlidersIcon = createLucideIcon(Settings2)\n/* Custom icon based on Lucide's star icon. */\nexport const StarFilledIcon = createIcon({\n viewBox: '0 0 24 24',\n d: 'M12 1C12.3806 1 12.7282 1.21607 12.8967 1.55738L15.7543 7.34647L22.1446 8.28051C22.5212 8.33555 22.8339 8.59956 22.9512 8.96157C23.0686 9.32358 22.9703 9.72083 22.6977 9.98636L18.0745 14.4894L19.1656 20.851C19.23 21.2261 19.0757 21.6053 18.7677 21.8291C18.4598 22.0528 18.0515 22.0823 17.7145 21.9051L12 18.8998L6.28545 21.9051C5.94853 22.0823 5.54024 22.0528 5.23226 21.8291C4.92429 21.6053 4.77004 21.2261 4.83439 20.851L5.92548 14.4894L1.30227 9.98636C1.02965 9.72083 0.931375 9.32358 1.04875 8.96157C1.16613 8.59956 1.47881 8.33555 1.85537 8.28051L8.24574 7.34647L11.1033 1.55738C11.2718 1.21607 11.6194 1 12 1Z',\n displayName: 'StarFilledIcon',\n})\n\nexport const StarIcon = createLucideIcon(Star)\nexport const TrashIcon = createLucideIcon(Trash2)\nexport const UserIcon = createLucideIcon(UserRound)\nexport const XCircleIcon = createLucideIcon(XCircle)\nexport const XIcon = createLucideIcon(X)\n","import { createStyleVariants } from '../../styles'\nimport type { VariantProps } from '../../styles'\n\nexport const getVariantStyles = createStyleVariants(({ colors }) => ({\n neutral: {\n background: colors.core.black,\n color: colors.core.white,\n },\n error: {\n background: colors.bg.negative,\n color: colors.core.white,\n },\n}))\nexport type ToastVariant = VariantProps<typeof getVariantStyles>\n","import styled from '@emotion/styled'\nimport isPropValid from '@emotion/is-prop-valid'\nimport { forwardRef } from 'react'\nimport { UserRound } from 'lucide-react'\nimport * as AvatarPrimitive from '@radix-ui/react-avatar'\n\nimport type { HTMLQdsProps } from '../../types'\nimport { toMediaQueries, type ResponsiveProp } from '../../styles/responsive'\n\nconst SIZE_MAP = {\n xs: 32,\n sm: 40,\n md: 48,\n lg: 64,\n xl: 96,\n '2xl': 128,\n}\n\ntype AvatarSize = keyof typeof SIZE_MAP\n\nconst ICON_SIZE_MAP = {\n xs: 14,\n sm: 16,\n md: 20,\n lg: 32,\n xl: 48,\n '2xl': 64,\n}\n\nconst TEXT_SIZE_MAP = {\n xs: 12,\n sm: 16,\n md: 20,\n lg: 28,\n xl: 40,\n '2xl': 56,\n}\n\nconst getInitials = (name: string) => {\n const names = name.trim().split(/\\s+/)\n\n const firstName = names[0]\n const lastName = names.length > 1 ? names[names.length - 1] : ''\n\n // `charAt(0)` returns empty string if name is empty\n return `${firstName.charAt(0)}${lastName.charAt(0)}`.toUpperCase()\n}\n\ninterface WrapperProps {\n size: ResponsiveProp<AvatarSize>\n}\nconst AvatarRoot = styled(AvatarPrimitive.Root)<WrapperProps>(({ theme, size }) => ({\n ...toMediaQueries(size, (currentValue) => ({\n width: SIZE_MAP[currentValue],\n height: SIZE_MAP[currentValue],\n })),\n flexShrink: 0,\n borderRadius: theme.radii.full,\n background: theme.colors.core.gray20,\n overflow: 'hidden',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n boxShadow: `0 0 0 1px ${theme.colors.core.blackAlpha5}`,\n color: theme.colors.text.subtle,\n}))\n\nconst AvatarImage = styled(AvatarPrimitive.Image)({\n width: '100%',\n height: '100%',\n objectFit: 'cover',\n})\n\nconst AvatarFallback = styled(AvatarPrimitive.Fallback)(({ theme }) => ({\n color: theme.colors.text.subtle,\n}))\n\ninterface FallbackTextProps {\n avatarSize: ResponsiveProp<AvatarSize>\n}\nconst FallbackText = styled.span<FallbackTextProps>(({ avatarSize }) => ({\n fontWeight: 'bold',\n ...toMediaQueries(avatarSize, (currentValue) => ({\n fontSize: TEXT_SIZE_MAP[currentValue],\n })),\n // To optically align the text in the center\n paddingTop: '0.08em',\n display: 'block',\n // User should never need to select this text\n // so shouldn't cause any accessibility issues\n userSelect: 'none',\n}))\n\nconst roundToTwoDecimals = (num: number) => Math.round(num * 100) / 100\n\ninterface IconProps {\n avatarSize: ResponsiveProp<AvatarSize>\n}\nconst StyledIcon = styled(UserRound, { shouldForwardProp: isPropValid })<IconProps>(\n ({ avatarSize }) => ({\n ...toMediaQueries(avatarSize, (currentValue) => {\n const size = ICON_SIZE_MAP[currentValue]\n\n return {\n width: size,\n height: size,\n // Always set a minimum stroke width of 2px.\n // If the size is less than 24px, scale the stroke width up\n // to compensate for the scaling down of the icon.\n ...(size < 24 && {\n strokeWidth: roundToTwoDecimals((24 / size) * 2),\n }),\n }\n }),\n }),\n)\n\ninterface AvatarOptions {\n /**\n * Source url of the image to display. If not passed\n * it will display a fallback icon.\n */\n src?: string\n /**\n * Name of the user. Used to generate the initials\n * if no image is provided, but also for accessibility.\n */\n name?: string\n /**\n * Size of the avatar\n * @default 'md'\n */\n size?: ResponsiveProp<AvatarSize>\n}\n\nexport interface AvatarProps extends HTMLQdsProps<'span'>, AvatarOptions {}\nexport const Avatar = forwardRef<HTMLSpanElement, AvatarProps>((props, forwardedRef) => {\n const { src, name, size = 'md', ...restProps } = props\n return (\n <AvatarRoot ref={forwardedRef} size={size} {...restProps}>\n <AvatarImage src={src} alt={name} />\n <AvatarFallback delayMs={src ? 200 : undefined}>\n {name ? (\n <FallbackText avatarSize={size}>{getInitials(name)}</FallbackText>\n ) : (\n <StyledIcon avatarSize={size} role=\"img\" aria-label={name} />\n )}\n </AvatarFallback>\n </AvatarRoot>\n )\n})\n","import type { CSSObject } from '@emotion/react'\n\nimport { theme, type Theme } from '../theme'\nimport type { PartialRecord } from '../types'\n\ntype BreakpointsConfig<T> = PartialRecord<keyof Theme['breakpoints'], T> & { base: T }\nexport type ResponsiveProp<T> = T | BreakpointsConfig<T>\n\nfunction isResponsiveProp<T>(value: ResponsiveProp<T>): value is BreakpointsConfig<T> {\n return value && typeof value === 'object' && 'base' in value\n}\n\n/**\n * More strictly typed version of Object.entries\n */\nconst objectEntries = <T extends object>(obj: T) => Object.entries(obj) as [keyof T, T[keyof T]][]\n\n/**\n *\n * @param prop Responsive prop\n * @param styleFn Function that returns a CSSObject based on the value of the prop\n * for a given breakpoint.\n *\n * Example:\n * ```ts\n * toMediaQueries(variant, (currentValue) => ({\n * background: currentValue === 'primary' ? 'pink' : 'blue',\n * }))\n * ```\n * @returns CSSObject\n */\nexport const toMediaQueries = <T>(prop: ResponsiveProp<T>, styleFn: (value: T) => CSSObject) => {\n if (!isResponsiveProp(prop)) {\n return styleFn(prop)\n }\n\n const { base, ...breakpoints } = prop\n\n /**\n * Due to some very hard to debug issue,\n * we need to use `let` and reassign the value.\n * Else it leads to messed up CSS styles in SSR.\n * I have no clue, but if it works, it works.\n */\n let cssObject = styleFn(base)\n\n objectEntries(breakpoints).forEach(([breakpoint, value]) => {\n const mediaQuery = theme.mediaQueries[`${breakpoint}Up`]\n\n if (value) {\n cssObject = {\n ...cssObject,\n [mediaQuery]: styleFn(value),\n }\n }\n })\n\n return cssObject\n}\n","import styled from '@emotion/styled'\nimport { forwardRef } from 'react'\nimport isPropValid from '@emotion/is-prop-valid'\n\nimport type * as Polymorphic from '../../utils/polymorphic'\nimport { LoadingDots } from '../loading-dots'\nimport { toMediaQueries, type ResponsiveProp } from '../../styles/responsive'\n\nimport type { ButtonSize, ButtonVariant } from './button-styles'\nimport { getSizeStyles, getVariantStyles } from './button-styles'\nimport type { ButtonOptions } from './button-types'\nimport { ButtonIcon } from './button-icon'\n\ninterface StyledButtonProps {\n size: ResponsiveProp<ButtonSize>\n variant: ButtonVariant\n isFullWidth: boolean\n}\nconst StyledButton = styled('button', { shouldForwardProp: isPropValid })<StyledButtonProps>(\n ({ theme, size, variant, isFullWidth }) => ({\n borderRadius: theme.radii.full,\n display: 'inline-flex',\n justifyContent: 'center',\n alignItems: 'center',\n position: 'relative',\n flexShrink: 0,\n WebkitTouchCallout: 'none',\n WebkitTapHighlightColor: 'transparent',\n userSelect: 'none',\n transitionProperty: 'box-shadow, transform, opacity, background-color, color',\n transitionDuration: '150ms',\n transitionTimingFunction: 'ease',\n\n '&[disabled]': {\n opacity: 0.4,\n },\n\n '&:not([disabled]):active': {\n transform: 'scale(0.97)',\n },\n ...toMediaQueries(size, (currentValue) => getSizeStyles(theme)[currentValue]),\n ...getVariantStyles(theme)[variant],\n ...(isFullWidth && { width: '100%' }),\n }),\n)\n\nconst ButtonLoadingDots = styled(LoadingDots)({\n position: 'absolute',\n color: 'currentColor',\n})\n\ninterface ContentContainerProps {\n isHidden: boolean\n}\nconst ContentContainer = styled.span<ContentContainerProps>(({ isHidden }) => ({\n opacity: isHidden ? 0 : 1,\n display: 'flex',\n alignItems: 'center',\n}))\n\ntype PolymorphicButton = Polymorphic.ForwardRefComponent<'button', ButtonOptions>\nexport type ButtonProps = Polymorphic.PropsOf<PolymorphicButton>\n\nexport const Button = forwardRef((props, forwardedRef) => {\n const {\n as,\n children,\n // Only default the `type` if not using the as prop\n type = as ? undefined : 'button',\n size: sizeProp = 'md',\n variant = 'secondary',\n isFullWidth = false,\n isLoading = false,\n isDisabled = false,\n disabled: hasHtmlDisabledProp,\n iconLeft,\n iconRight,\n ...rest\n } = props\n\n const shouldBeDisabled = isDisabled || hasHtmlDisabledProp || isLoading\n\n return (\n <StyledButton\n as={as}\n ref={forwardedRef}\n variant={variant}\n size={sizeProp}\n isFullWidth={isFullWidth}\n disabled={shouldBeDisabled}\n type={type}\n {...rest}\n >\n <ContentContainer isHidden={isLoading}>\n {iconLeft && <ButtonIcon buttonSize={sizeProp} icon={iconLeft} placement=\"left\" />}\n {children}\n {iconRight && <ButtonIcon buttonSize={sizeProp} icon={iconRight} placement=\"right\" />}\n </ContentContainer>\n {isLoading && <ButtonLoadingDots size=\"sm\" data-testid=\"button-spinner\" />}\n </StyledButton>\n )\n}) as PolymorphicButton\n","import { keyframes } from '@emotion/react'\nimport styled from '@emotion/styled'\nimport { forwardRef } from 'react'\n\nimport type { VariantProps } from '../../styles'\nimport { createStyleVariants, pxToRem } from '../../styles'\nimport type { HTMLQdsProps } from '../../types'\nimport type { ResponsiveProp } from '../../styles/responsive'\nimport { toMediaQueries } from '../../styles/responsive'\n\nconst ANIMATION_DURATION = 1200\nconst ANIMATION_STAGGER_DELAY = 160\n\nconst getSizeStyles = createStyleVariants(() => ({\n sm: { fontSize: pxToRem(8) },\n md: { fontSize: pxToRem(16) },\n}))\ntype LoadingDotsSize = VariantProps<typeof getSizeStyles>\n\nconst Wrapper = styled.span<{ size: ResponsiveProp<LoadingDotsSize> }>(({ theme, size }) => ({\n color: theme.colors.core.brown,\n display: 'inline-flex',\n ...toMediaQueries(size, (currentValue) => getSizeStyles(theme)[currentValue]),\n // Odd value but it works better with the animation\n gap: pxToRem(6),\n}))\nconst scaleAnimation = keyframes({\n '0%, 80%, 100%': { transform: 'scale(0)' },\n '40%': { transform: 'scale(1)' },\n})\nconst Dot = styled.span({\n display: 'block',\n width: '1em',\n height: '1em',\n background: 'currentColor',\n borderRadius: 999,\n\n animationDuration: `${ANIMATION_DURATION}ms`,\n animationTimingFunction: 'ease-in-out',\n animationIterationCount: 'infinite',\n animationFillMode: 'both',\n '&:nth-of-type(2)': { animationDelay: `${ANIMATION_STAGGER_DELAY}ms` },\n '&:nth-of-type(3)': { animationDelay: `${ANIMATION_STAGGER_DELAY * 2}ms` },\n animationName: scaleAnimation,\n})\n\ninterface LoadingDotsOptions {\n size?: ResponsiveProp<LoadingDotsSize>\n}\n\nexport interface LoadingDotsProps extends HTMLQdsProps<'span'>, LoadingDotsOptions {}\n\nexport const LoadingDots = forwardRef<HTMLSpanElement, LoadingDotsProps>((props, forwardedRef) => {\n const { size = 'md', ...restProps } = props\n\n return (\n <Wrapper ref={forwardedRef} size={size} {...restProps}>\n <Dot />\n <Dot />\n <Dot />\n </Wrapper>\n )\n})\n","import type { VariantProps } from '../../styles'\nimport { pxToRem, createStyleVariants } from '../../styles'\n\n// Can't use :enabled cause it doesn't work when rendered as a link\nconst NOT_DISABLED = ':not([disabled])'\n\nexport const getSizeStyles = createStyleVariants(({ typography, spacing }) => ({\n xs: {\n height: pxToRem(32),\n paddingLeft: spacing['4x'],\n paddingRight: spacing['4x'],\n ...typography.button.sm,\n },\n sm: {\n height: pxToRem(40),\n paddingLeft: spacing['5x'],\n paddingRight: spacing['5x'],\n ...typography.button.sm,\n },\n md: {\n height: pxToRem(48),\n paddingLeft: spacing['6x'],\n paddingRight: spacing['6x'],\n ...typography.button.md,\n },\n lg: {\n height: pxToRem(56),\n paddingLeft: spacing['8x'],\n paddingRight: spacing['8x'],\n ...typography.button.md,\n },\n xl: {\n height: pxToRem(64),\n paddingLeft: spacing['8x'],\n paddingRight: spacing['8x'],\n ...typography.button.md,\n },\n}))\nexport type ButtonSize = VariantProps<typeof getSizeStyles>\n\nexport const getVariantStyles = createStyleVariants(({ colors }) => ({\n primary: {\n background: colors.bg.brandPrimary,\n color: colors.text.onBrandPrimary,\n [NOT_DISABLED]: {\n '@media(hover: hover)': {\n ':hover': {\n background: colors.bg.brandPrimaryHover,\n },\n },\n ':active': {\n background: colors.bg.brandPrimaryActive,\n },\n },\n },\n secondary: {\n background: colors.bg.brandSecondary,\n color: colors.text.onBrandSecondary,\n [NOT_DISABLED]: {\n '@media(hover: hover)': {\n ':hover': {\n background: colors.bg.brandSecondaryHover,\n },\n },\n ':active': {\n background: colors.bg.brandSecondaryActive,\n },\n },\n },\n tertiary: {\n background: colors.bg.brandTertiary,\n color: colors.text.onBrandTertiary,\n [NOT_DISABLED]: {\n '@media(hover: hover)': {\n ':hover': {\n background: colors.bg.brandTertiaryHover,\n },\n },\n ':active': {\n background: colors.bg.brandTertiaryActive,\n },\n },\n },\n}))\nexport type ButtonVariant = VariantProps<typeof getVariantStyles>\n","import styled from '@emotion/styled'\nimport type { ElementType } from 'react'\n\nimport type { Theme } from '../../theme'\nimport type { IconProps } from '../icon'\nimport { toMediaQueries, type ResponsiveProp } from '../../styles/responsive'\n\nimport type { ButtonSize } from './button-styles'\n\nconst roundToTwoDecimals = (num: number) => Math.round(num * 100) / 100\n\nconst ICON_SIZE_MAP = {\n xs: 16,\n sm: 16,\n md: 20,\n lg: 20,\n xl: 20,\n} as const\n\nconst ICON_GAP: Record<ButtonSize, keyof Theme['spacing']> = {\n xs: '2x',\n sm: '3x',\n md: '3x',\n lg: '4x',\n xl: '4x',\n}\nconst ICON_OFFSET: Record<ButtonSize, keyof Theme['spacing']> = {\n xs: '1x',\n sm: '1x',\n md: '1x',\n lg: '2x',\n xl: '2x',\n}\n\ninterface IconContainerProps {\n buttonSize: ResponsiveProp<ButtonSize>\n}\n\nconst IconLeftContainer = styled.span<IconContainerProps>(({ theme, buttonSize }) => ({\n flexShrink: 0,\n ...toMediaQueries(buttonSize, (currentValue) => {\n const iconSize = ICON_SIZE_MAP[currentValue]\n return {\n marginLeft: `-${theme.spacing[ICON_OFFSET[currentValue]]}`,\n marginRight: theme.spacing[ICON_GAP[currentValue]],\n\n '> svg': {\n width: iconSize,\n height: iconSize,\n // Always set a minimum stroke width of 2px.\n // If the size is less than 24px, scale the stroke width up\n // to compensate for the scaling down of the icon.\n ...(iconSize < 24 && {\n strokeWidth: roundToTwoDecimals((24 / iconSize) * 2),\n }),\n },\n }\n }),\n}))\nconst IconRightContainer = styled.span<IconContainerProps>(({ theme, buttonSize }) => ({\n flexShrink: 0,\n ...toMediaQueries(buttonSize, (currentValue) => {\n const iconSize = ICON_SIZE_MAP[currentValue]\n return {\n marginRight: `-${theme.spacing[ICON_OFFSET[currentValue]]}`,\n marginLeft: theme.spacing[ICON_GAP[currentValue]],\n\n '> svg': {\n width: iconSize,\n height: iconSize,\n // Always set a minimum stroke width of 2px.\n // If the size is less than 24px, scale the stroke width up\n // to compensate for the scaling down of the icon.\n ...(iconSize < 24 && {\n strokeWidth: roundToTwoDecimals((24 / iconSize) * 2),\n }),\n },\n }\n }),\n}))\n\ninterface ButtonIconProps {\n buttonSize: ResponsiveProp<ButtonSize>\n icon: ElementType<IconProps>\n placement: 'left' | 'right'\n}\nexport function ButtonIcon({ buttonSize, icon: Icon, placement }: ButtonIconProps) {\n const Container = placement === 'left' ? IconLeftContainer : IconRightContainer\n return (\n <Container buttonSize={buttonSize}>\n <Icon aria-hidden=\"true\" color=\"currentColor\" />\n </Container>\n )\n}\n","import styled from '@emotion/styled'\nimport isPropValid from '@emotion/is-prop-valid'\nimport { forwardRef } from 'react'\n\nimport type * as Polymorphic from '../../utils/polymorphic'\nimport type { Theme } from '../../theme'\nimport type { ResponsiveProp } from '../../styles/responsive'\nimport { toMediaQueries } from '../../styles/responsive'\n\ntype DisplaySize = keyof Theme['typography']['display']\n\ntype DisplayTextAlign = 'left' | 'center' | 'right'\ntype DisplayTextWrap = 'pretty' | 'balance' | 'wrap' | 'nowrap' | 'stable'\n\ninterface StyledDisplayTextProps {\n size: ResponsiveProp<DisplaySize>\n textAlign: DisplayTextAlign\n textWrap: DisplayTextWrap\n}\n\nconst StyledDisplayText = styled('h2', { shouldForwardProp: isPropValid })<StyledDisplayTextProps>(\n ({ theme, size, textAlign, textWrap }) => ({\n margin: 0,\n ...toMediaQueries(size, (currentValue) => theme.typography.display[currentValue]),\n color: theme.colors.text.default,\n textAlign,\n textWrap,\n overflowWrap: 'break-word',\n wordWrap: 'break-word',\n }),\n)\n\ninterface DisplayTextOptions {\n /**\n * Sets the visual size of the display text.\n * To override the rendered tag, use the `as` prop.\n *\n * @default 'md'\n */\n size?: ResponsiveProp<DisplaySize>\n /**\n * Sets the text alignment\n *\n * @default 'left'\n */\n textAlign?: DisplayTextAlign\n /**\n * Sets the text wrapping\n *\n * See [MDN Docs](https://developer.mozilla.org/en-US/docs/Web/CSS/text-wrap)\n *\n * @default 'pretty'\n */\n textWrap?: DisplayTextWrap\n}\n\ntype DisplayTextComponent = Polymorphic.ForwardRefComponent<'h2', DisplayTextOptions>\nexport type DisplayTextProps = Polymorphic.PropsOf<DisplayTextComponent>\n\nexport const DisplayText = forwardRef((props, forwardedRef) => {\n const { as, children, size = 'md', textAlign = 'left', textWrap = 'pretty', ...rest } = props\n return (\n <StyledDisplayText\n as={as}\n ref={forwardedRef}\n size={size}\n textAlign={textAlign}\n textWrap={textWrap}\n {...rest}\n >\n {children}\n </StyledDisplayText>\n )\n}) as DisplayTextComponent\n","import styled from '@emotion/styled'\nimport type { ReactElement } from 'react'\nimport { forwardRef } from 'react'\nimport * as CheckboxPrimitive from '@radix-ui/react-checkbox'\nimport { Check } from 'lucide-react'\n\nimport { pxToRem } from '../../styles'\nimport { useStableId } from '../../hooks'\nimport { ariaAttr, dataAttr } from '../../utils/html-attributes'\nimport { ErrorMessage, HelperText } from '../_internal'\n\nconst Wrapper = styled.div({\n width: '100%',\n display: 'flex',\n flexDirection: 'column',\n})\n\nconst CheckboxContainer = styled.label(({ theme }) => ({\n width: '100%',\n display: 'grid',\n gridTemplateColumns: 'auto 1fr',\n alignItems: 'start',\n gap: theme.spacing['3x'],\n position: 'relative',\n cursor: 'pointer',\n WebkitTapHighlightColor: 'transparent',\n WebkitTouchCallout: 'none',\n // Right now not all browsers support the `:has` pseudo-class\n // But we also set the cursor to `not-allowed` in the nested elements\n // so this just makes it so the gap between the checkbox and the text\n // doesn't have the cursor. In the future we should be able to rely\n // on this completely\n '&:has([role=\"checkbox\"][data-disabled])': {\n cursor: 'not-allowed',\n },\n}))\n\nconst CheckboxRoot = styled(CheckboxPrimitive.Root)(({ theme }) => ({\n position: 'relative',\n WebkitTapHighlightColor: 'transparent',\n WebkitTouchCallout: 'none',\n // We use margin to align the checkbox with the text\n // since `align-items: center` wouldn't work when the text wraps\n marginTop: pxToRem(1),\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n width: pxToRem(20),\n height: pxToRem(20),\n flexShrink: 0,\n border: '2px solid',\n borderColor: theme.colors.border.strong,\n borderRadius: theme.radii['2xs'],\n color: 'transparent',\n transitionProperty: 'background-color, color',\n transitionDuration: '80ms',\n transitionTimingFunction: 'ease',\n '&[data-state=\"checked\"]': {\n backgroundColor: theme.colors.border.strong,\n color: theme.colors.core.brown,\n '&[aria-invalid=\"true\"]': {\n borderColor: theme.colors.border.negative,\n },\n },\n '&[data-state=\"unchecked\"]': {\n backgroundColor: theme.colors.bg.default,\n '@media(hover: hover)': {\n '&:hover': {\n backgroundColor: theme.colors.bg.inset,\n color: theme.colors.core.gray20,\n },\n },\n '&[aria-invalid=\"true\"]': {\n borderColor: theme.colors.border.negative,\n },\n },\n\n '&[data-disabled], &:disabled, &[disabled]': {\n opacity: 0.4,\n '&[data-state=\"unchecked\"]': {\n backgroundColor: theme.colors.bg.default,\n '&:hover': {\n color: 'transparent',\n },\n },\n '&[data-state=\"checked\"]': {\n backgroundColor: theme.colors.border.strong,\n },\n },\n}))\n\nconst LabelText = styled.span(({ theme }) => ({\n ...theme.typography.body.md,\n '&[data-disabled], &:disabled': {\n opacity: 0.4,\n cursor: 'not-allowed',\n },\n}))\n\nconst SupportingTextContainer = styled.div(({ theme }) => ({\n display: 'flex', // Removes line-height from making it too tall\n marginLeft: theme.spacing['8x'],\n}))\n\ninterface CheckboxOptions {\n /**\n * The label for the checkbox. Accepts a string, or a React component for rendering links within the label.\n *\n * @example\n * ```jsx\n * <Checkbox label=\"I agree to the terms and conditions\" />\n * ```\n *\n * @example\n * ```jsx\n * <Checkbox\n * label={\n * <>\n * I agree to <Link href=\"/terms\">the terms and conditions</Link>\n * </>\n * }\n * />\n * ```\n */\n label: string | ReactElement<unknown>\n /**\n * Text that provides additional guidance to the user\n */\n helperText?: string\n /**\n * The checked state of the checkbox when it is initially rendered. Use when you do not need to control its checked state.\n */\n isDefaultChecked?: boolean\n /**\n * The checked state of the checkbox when it is initially rendered. Use when you do not need to control its checked state.\n */\n defaultChecked?: boolean // NOTE: We redeclare this type from Radix because we don't want to support indeterminate state\n /**\n * The controlled checked state of the checkbox. Must be used in conjunction with `onCheckedChange`.\n */\n isChecked?: boolean\n /**\n * The controlled checked state of the checkbox. Must be used in conjunction with `onCheckedChange`.\n */\n checked?: boolean // NOTE: We redeclare this type from Radix because we don't want to support indeterminate state\n /**\n * Event handler called when the checked state of the checkbox changes.\n */\n onCheckedChange?: (checked: boolean) => void\n /**\n * If `true` the checkbox will render in its invalid state.\n * @default false\n */\n isInvalid?: boolean\n /**\n * The error message to display if `isInvalid` is `true`\n */\n errorMessage?: string\n /**\n * If `true` it prevents the user from interacting with the checkbox.\n * @default false\n */\n isDisabled?: boolean\n /**\n * If `true` the user must check the checkbox before the owning form can be submitted.\n * @default false\n */\n isRequired?: boolean\n /**\n * The name of the checkbox. Submitted with its owning form as part of a name/value pair.\n */\n name?: string\n /**\n * The value given as data when submitted with a `name`.\n */\n value?: string\n}\n\nexport type CheckboxProps = Omit<\n CheckboxPrimitive.CheckboxProps,\n 'asChild' | 'children' | 'checked' | 'defaultChecked' | keyof CheckboxOptions\n> &\n CheckboxOptions\n\nexport const Checkbox = forwardRef<HTMLButtonElement, CheckboxProps>((props, forwardedRef) => {\n const {\n label,\n helperText,\n id: idProp,\n defaultChecked: hasHtmlDefaultCheckedAttr,\n isDefaultChecked: isDefaultCheckedProp,\n isChecked: isCheckedProp,\n checked: hasHtmlCheckedAttr,\n isDisabled: isDisabledProp,\n disabled: hasHtmlDisabledAttr,\n isRequired: isRequiredProp,\n required: hasHtmlRequiredAttr,\n isInvalid,\n errorMessage,\n 'aria-labelledby': ariaLabelledByProp,\n 'aria-describedby': ariaDescribedByProp,\n ...restProps\n } = props\n const id = useStableId(idProp)\n\n const labelId = `${id}-label`\n\n const isDefaultChecked = isDefaultCheckedProp ?? hasHtmlDefaultCheckedAttr\n const isChecked = isCheckedProp ?? hasHtmlCheckedAttr\n const isDisabled = isDisabledProp ?? hasHtmlDisabledAttr\n const isRequired = isRequiredProp ?? hasHtmlRequiredAttr\n\n const ariaLabelledBy = [labelId, ariaLabelledByProp].filter(Boolean).join(' ')\n\n const hasHelperText = Boolean(helperText)\n const helperTextId = hasHelperText ? `${id}-helper` : undefined\n\n const helperTextElement = helperText && (\n <SupportingTextContainer>\n <HelperText id={helperTextId} data-disabled={dataAttr(isDisabled)}>\n {helperText}\n </HelperText>\n </SupportingTextContainer>\n )\n\n const hasError = isInvalid && errorMessage\n const errorMessageId = hasError ? `${id}-error` : undefined\n\n const errorMessageElement = hasError && (\n <SupportingTextContainer>\n <ErrorMessage id={errorMessageId} role=\"alert\" aria-live=\"polite\">\n {errorMessage}\n </ErrorMessage>\n </SupportingTextContainer>\n )\n\n const ariaDescribedBy =\n [errorMessageId, !hasError && helperTextId, ariaDescribedByProp].filter(Boolean).join(' ') ||\n undefined\n\n return (\n <Wrapper>\n <CheckboxContainer>\n <CheckboxRoot\n id={id}\n ref={forwardedRef}\n defaultChecked={isDefaultChecked}\n checked={isChecked}\n disabled={isDisabled}\n required={isRequired}\n aria-invalid={ariaAttr(isInvalid)}\n aria-labelledby={ariaLabelledBy}\n aria-describedby={ariaDescribedBy}\n {...restProps}\n >\n <CheckboxPrimitive.Indicator forceMount>\n <Check\n size={12}\n strokeWidth={3}\n absoluteStrokeWidth\n aria-hidden=\"true\"\n role=\"presentation\"\n />\n </CheckboxPrimitive.Indicator>\n </CheckboxRoot>\n <LabelText\n id={labelId}\n data-disabled={dataAttr(isDisabled)}\n onMouseDown={(ev) => {\n // prevent text selection when double clicking label\n if (ev.detail > 1) {\n ev.preventDefault()\n }\n }}\n >\n {label}\n </LabelText>\n </CheckboxContainer>\n {errorMessageElement || helperTextElement}\n </Wrapper>\n )\n})\n","import { useEffect, useState } from 'react'\n\nimport { theme } from '../theme'\nimport type { Theme } from '../theme'\n\ntype Breakpoints = Theme['breakpoints']\n\nconst breakpointsArray = Object.entries(theme.breakpoints).map(([name, value]) => ({\n name: name as keyof Breakpoints,\n breakpoint: value,\n}))\n\nconst MEDIA_QUERIES = breakpointsArray.map(({ name, breakpoint }, index) => {\n const nextValue = breakpointsArray?.[index + 1]?.breakpoint\n const media = nextValue\n ? `(min-width: ${breakpoint}px) and (max-width: ${nextValue - 1}px)`\n : `(min-width: ${breakpoint}px)`\n\n return {\n name,\n media,\n }\n})\n\nconst getMatchingBreakpoint = () => {\n const matchingBreakpoint = MEDIA_QUERIES.find(({ media }) => {\n return window.matchMedia(media).matches\n })\n // Since the breakpoints cover all screen sizes we should always get a match,\n // but to be safe we return 'base' as a fallback.\n return matchingBreakpoint?.name || 'base'\n}\n\nexport interface UseBreakpointOptions {\n /**\n * If `true` the initial value will be `base` instead of the current breakpoint.\n * This is to support hydration when using server side rendering.\n *\n * @default false\n */\n ssr?: boolean\n}\n\n/**\n * Hook for getting the current breakpoint.\n */\nexport function useBreakpoint(params?: UseBreakpointOptions) {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n const { ssr = false } = params || {}\n const initialBreakpoint = ssr ? 'base' : getMatchingBreakpoint\n const [currentBreakpoint, setCurrentBreakpoint] = useState<keyof Breakpoints>(initialBreakpoint)\n\n useEffect(() => {\n const matchMediaArray = MEDIA_QUERIES.map(({ media }) => window.matchMedia(media))\n\n const handleChange = () => {\n // Instead of checking the value from the matchMedia listeners event we just use it\n // as trigger to know when the current breakpoint should be updated.\n // This is because each separate query has its own event listener which\n // can lead to incorrect intermediate states where no breakpoint is matching.\n setCurrentBreakpoint(getMatchingBreakpoint())\n }\n\n // Update the current breakpoint on the first render.\n // After that the event listeners will take care of updating the state.\n handleChange()\n\n matchMediaArray.forEach((mediaQuery) => {\n if (typeof mediaQuery.addListener === 'function') {\n // Safari < 14 fallback\n mediaQuery.addListener(handleChange)\n } else {\n mediaQuery.addEventListener('change', handleChange)\n }\n })\n\n return () => {\n matchMediaArray.forEach((mediaQuery) => {\n if (typeof mediaQuery.addListener === 'function') {\n mediaQuery.removeListener(handleChange)\n } else {\n mediaQuery.removeEventListener('change', handleChange)\n }\n })\n }\n }, [])\n\n return { currentBreakpoint }\n}\n","import type { Theme } from '../theme'\nimport { breakpoints } from '../theme/foundations/breakpoints'\nimport type { PartialRecord } from '../types'\n\nimport type { UseBreakpointOptions } from './use-breakpoint'\nimport { useBreakpoint } from './use-breakpoint'\n\ntype Breakpoints = Theme['breakpoints']\ntype BreakpointsConfig<T> = PartialRecord<keyof Breakpoints, T> & { base: T }\nexport type UseBreakpointValueProps<T> = BreakpointsConfig<T>\n\n/**\n * Hook for getting a value based on the current breakpoint.\n *\n * @example\n * const width = useBreakpointValue({ base: '150px', md: '250px' })\n */\nexport function useBreakpointValue<T>(\n values: UseBreakpointValueProps<T>,\n options?: UseBreakpointOptions,\n) {\n const { currentBreakpoint } = useBreakpoint(options)\n let breakpointValue\n\n if (currentBreakpoint in values) {\n breakpointValue = values[currentBreakpoint]\n } else {\n const breakpointNames = Object.keys(breakpoints) as (keyof Breakpoints)[]\n const currentBreakpointIndex = breakpointNames.indexOf(currentBreakpoint)\n for (let i = currentBreakpointIndex; i >= 0; i--) {\n const key = breakpointNames[i]\n if (key in values) {\n breakpointValue = values[key]\n break\n }\n }\n }\n /* Assert since a value will always be found in loop */\n return breakpointValue as T\n}\n","import type { ElementType } from 'react'\nimport { useCallback } from 'react'\n\nimport type { HTMLQdsProps, LegitimateAny } from '../types'\n\nimport { useStableId } from './use-stable-id'\n\ntype FormFieldElement = 'input' | 'select' | 'textarea'\n\ntype PropGetter<T extends ElementType = LegitimateAny> = (\n props?: HTMLQdsProps<T>,\n) => Record<string, unknown>\n\ninterface FormFieldOptions {\n /**\n * The label for the form field\n */\n label: string\n /**\n * The error message to display if `isInvalid` is `true`\n */\n errorMessage?: string\n /**\n * Text that provides additional guidance to the user\n */\n helperText?: string\n /**\n * If `true`, the form field will be invalid\n */\n isInvalid?: boolean\n /**\n * If `true`, the form field will be disabled\n */\n isDisabled?: boolean\n /**\n * If `true` the form field will be required\n */\n isRequired?: boolean\n}\n\ntype OmittedProps = 'children' | 'readOnly' | 'size'\nexport type UseFormFieldProps<T extends FormFieldElement> = Omit<HTMLQdsProps<T>, OmittedProps> &\n FormFieldOptions\n\n/**\n * Custom hook that returns props for a form field's label, input, helper text and error message.\n * Meant to be used in conjunction with the `Input`, `Select` or `Textarea` component.\n *\n * Used internally by `TextField`, `Select` and `Textarea`.\n */\nexport const useFormField = <T extends FormFieldElement>(props: UseFormFieldProps<T>) => {\n const { id: idProp, isDisabled, helperText, errorMessage, isInvalid, isRequired } = props\n const id = useStableId(idProp)\n\n const errorMessageId = `${id}-error`\n const helperTextId = `${id}-helper`\n\n const getLabelProps = useCallback<PropGetter<'label'>>(\n (forwardedProps) => ({\n ...forwardedProps,\n htmlFor: id,\n 'data-disabled': isDisabled ? '' : undefined,\n }),\n [id, isDisabled],\n )\n\n const getHelperTextProps = useCallback<PropGetter<'div'>>(\n (forwardedProps) => ({\n ...forwardedProps,\n id: helperTextId,\n 'data-disabled': isDisabled ? '' : undefined,\n }),\n [helperTextId, isDisabled],\n )\n\n const getErrorMessageProps = useCallback<PropGetter<'div'>>(\n (forwardedProps) => ({\n ...forwardedProps,\n id: errorMessageId,\n 'aria-live': 'polite',\n }),\n [errorMessageId],\n )\n\n const getFieldProps = useCallback<PropGetter<T>>(\n (forwardedProps) => {\n const ariaDescribedByIds: string[] = []\n\n // Error message must be described first in all scenarios.\n if (Boolean(errorMessage) && isInvalid) {\n ariaDescribedByIds.push(errorMessageId)\n } else if (helperText) {\n ariaDescribedByIds.push(helperTextId)\n }\n\n if (forwardedProps?.['aria-describedby']) {\n ariaDescribedByIds.push(forwardedProps['aria-describedby'])\n }\n\n return {\n ...forwardedProps,\n 'aria-describedby': ariaDescribedByIds.join(' ') || undefined,\n id: forwardedProps?.id ?? id,\n isDisabled,\n isRequired,\n 'aria-invalid': isInvalid ? true : undefined,\n }\n },\n [errorMessage, errorMessageId, helperText, helperTextId, id, isDisabled, isInvalid, isRequired],\n )\n\n return {\n getLabelProps,\n /**\n * Props to be spread on the input, select or textarea element.\n * Function accepts an optional object of props to be merged with the returned props.\n */\n getFieldProps,\n getHelperTextProps,\n getErrorMessageProps,\n }\n}\n","import React, { useState } from 'react'\n\nimport type { LegitimateAny } from '../types'\n\nimport { useSafeLayoutEffect } from './use-safe-layout-effect'\n\n/**\n * This is basically a copy of Radix UI's `useId` hook.\n */\n\n// We `toString()` to prevent bundlers from trying to `import { useId } from 'react';`\nconst useReactId = (React as LegitimateAny)['useId'.toString()] || (() => undefined)\nlet count = 0\n\n/**\n * Returns a stable ID that is unique to the component instance.\n */\nexport function useStableId(fixedId?: string | null): string {\n const [id, setId] = useState<string | undefined>(useReactId())\n // React versions older than 18 will have client-side ids only.\n useSafeLayoutEffect(() => {\n if (!fixedId) setId((reactId) => reactId ?? String(count++))\n }, [fixedId])\n return fixedId || (id ? `qds-${id}` : '')\n}\n","import { useLayoutEffect } from 'react'\n\n/**\n * On the server, React emits a warning when calling `useLayoutEffect`.\n * This is because neither `useLayoutEffect` nor `useEffect` run on the server.\n * We use this safe version which suppresses the warning by replacing it with a noop on the server.\n *\n * See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect\n */\nexport const useSafeLayoutEffect = globalThis?.document ? useLayoutEffect : () => undefined\n","type Booleanish = boolean | 'true' | 'false'\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const dataAttr = (condition: boolean | undefined) =>\n (condition ? '' : undefined) as Booleanish\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ariaAttr = (condition: boolean | undefined) =>\n (condition ? 'true' : undefined) as Booleanish\n","import styled from '@emotion/styled'\nimport type { PropsWithChildren } from 'react'\n\nconst FieldWrapper = styled.div(({ theme }) => ({\n position: 'relative',\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing['2x'],\n width: '100%',\n}))\n\nexport function FormField({ children }: PropsWithChildren) {\n return <FieldWrapper role=\"group\">{children}</FieldWrapper>\n}\n\nexport const ErrorMessage = styled.div(({ theme }) => ({\n ...theme.typography.body.sm,\n color: theme.colors.text.negative,\n}))\n\n// We use a `<span>` since our radio buttons render as `<button>`\n// through Radix. And only phrasing content is allowed inside a `<button>`.\n// See: https://validator.nu/#textarea\nexport const HelperText = styled.span(({ theme }) => ({\n ...theme.typography.body.sm,\n color: theme.colors.text.subtle,\n '&[data-disabled]': {\n opacity: 0.4,\n },\n}))\n","import styled from '@emotion/styled'\nimport { forwardRef } from 'react'\n\nimport type { HTMLQdsProps } from '../../types'\n\nconst StyledDivider = styled.span<Required<DividerOptions>>(({ theme, orientation }) => {\n const borderCssKey = orientation === 'horizontal' ? 'borderTop' : 'borderLeft'\n const sizeCssKey = orientation === 'horizontal' ? 'width' : 'height'\n return {\n display: 'block',\n [sizeCssKey]: '100%',\n flexShrink: 0,\n [borderCssKey]: `1px solid ${theme.colors.border.default}`,\n }\n})\n\ninterface DividerOptions {\n /**\n * The orientation of the divider.\n *\n * @default 'horizontal'\n */\n orientation?: 'horizontal' | 'vertical'\n}\n\nexport interface DividerProps extends HTMLQdsProps<'span'>, DividerOptions {}\nexport const Divider = forwardRef<HTMLDivElement, DividerProps>((props, forwardedRef) => {\n const { orientation = 'horizontal', ...restProps } = props\n return (\n <StyledDivider ref={forwardedRef} orientation={orientation} role=\"separator\" {...restProps} />\n )\n})\n","import * as DropdownPrimitive from '@radix-ui/react-dropdown-menu'\nimport type { ReactNode } from 'react'\n\nimport { DropdownMenuContent, type DropdownMenuContentProps } from './dropdown-menu-content'\nimport { DropdownMenuDivider, type DropdownMenuDividerProps } from './dropdown-menu-divider'\nimport { DropdownMenuItem, type DropdownMenuItemProps } from './dropdown-menu-item'\nimport type { DropdownMenuTriggerProps } from './dropdown-menu-trigger'\nimport { DropdownMenuTrigger } from './dropdown-menu-trigger'\n\ninterface DropdownMenuRootProps {\n children: ReactNode\n /**\n * If `true` the dropdown menu will be open\n */\n isOpen?: boolean\n /**\n * The open state of the submenu when it is initially rendered.\n * Use when you do not need to control its open state.\n */\n defaultOpen?: boolean\n /**\n * Callback invoked open state changes\n */\n onOpenChange?: (isOpen: boolean) => void\n}\n\nfunction DropdownMenuRoot(props: DropdownMenuRootProps) {\n //eslint-disable-next-line @typescript-eslint/naming-convention\n const { children, isOpen, onOpenChange, defaultOpen = false } = props\n return (\n <DropdownPrimitive.Root\n defaultOpen={defaultOpen}\n open={isOpen}\n onOpenChange={onOpenChange}\n modal\n >\n {children}\n </DropdownPrimitive.Root>\n )\n}\n\nexport const DropdownMenu = Object.assign(DropdownMenuRoot, {\n Trigger: DropdownMenuTrigger,\n Content: DropdownMenuContent,\n Item: DropdownMenuItem,\n Divider: DropdownMenuDivider,\n})\n\nexport type {\n DropdownMenuRootProps,\n DropdownMenuTriggerProps,\n DropdownMenuContentProps,\n DropdownMenuItemProps,\n DropdownMenuDividerProps,\n}\n","import { keyframes } from '@emotion/react'\nimport styled from '@emotion/styled'\nimport * as DropdownPrimitive from '@radix-ui/react-dropdown-menu'\nimport { forwardRef } from 'react'\n\nimport type { HTMLQdsProps } from '../../types'\n\nconst slideUpAndFadeIn = keyframes({\n '0%': { opacity: 0, transform: 'translateY(4px) scale(0.94)' },\n '100%': { opacity: 1, transform: 'translateY(0)' },\n})\n\nconst slideRightAndFadeIn = keyframes({\n '0%': { opacity: 0, transform: 'translateX(-4px) scale(0.94)' },\n '100%': { opacity: 1, transform: 'translateX(0)' },\n})\n\nconst slideDownAndFadeIn = keyframes({\n '0%': { opacity: 0, transform: 'translateY(-4px) scale(0.94)' },\n '100%': { opacity: 1, transform: 'translateY(0)' },\n})\n\nconst slideLeftAndFadeIn = keyframes({\n '0%': { opacity: 0, transform: 'translateX(4px) scale(0.94)' },\n '100%': { opacity: 1, transform: 'translateX(0)' },\n})\nconst slideUpAndFadeOut = keyframes({\n '0%': { opacity: 1, transform: 'translateY(0px)' },\n '100%': { opacity: 0, transform: 'translateY(-4px) scale(0.94)' },\n})\n\nconst slideRightAndFadeOut = keyframes({\n '0%': { opacity: 1, transform: 'translateX(0px)' },\n '100%': { opacity: 0, transform: 'translateX(4px) scale(0.94)' },\n})\n\nconst slideDownAndFadeOut = keyframes({\n '0%': { opacity: 1, transform: 'translateY(0)' },\n '100%': { opacity: 0, transform: 'translateY(4px) scale(0.94)' },\n})\n\nconst slideLeftAndFadeOut = keyframes({\n '0%': { opacity: 1, transform: 'translateX(0)' },\n '100%': { opacity: 0, transform: 'translateX(-4px) scale(0.94)' },\n})\n\nconst StyledContent = styled(DropdownPrimitive.Content)(({ theme }) => ({\n background: theme.colors.bg.default,\n minWidth: theme.sizes[192],\n maxWidth: theme.sizes[288],\n borderRadius: theme.radii.md,\n boxShadow: theme.shadows.md,\n padding: theme.spacing['2x'],\n '@media (prefers-reduced-motion: no-preference)': {\n transformOrigin: 'var(--radix-dropdown-menu-content-transform-origin)',\n animationDuration: '240ms',\n animationTimingFunction: 'cubic-bezier(0.16, 1, 0.3, 1)',\n willChange: 'transform, opacity',\n '&[data-state=\"open\"]': {\n '&[data-side=\"top\"]': { animationName: slideUpAndFadeIn },\n '&[data-side=\"right\"]': { animationName: slideRightAndFadeIn },\n '&[data-side=\"bottom\"]': { animationName: slideDownAndFadeIn },\n '&[data-side=\"left\"]': { animationName: slideLeftAndFadeIn },\n },\n '&[data-state=\"closed\"]': {\n animationDuration: '180ms',\n '&[data-side=\"top\"]': { animationName: slideDownAndFadeOut },\n '&[data-side=\"right\"]': { animationName: slideLeftAndFadeOut },\n '&[data-side=\"bottom\"]': { animationName: slideUpAndFadeOut },\n '&[data-side=\"left\"]': { animationName: slideRightAndFadeOut },\n },\n },\n}))\n\ntype PrimitiveContentProps = DropdownPrimitive.DropdownMenuContentProps\n\ninterface DropdownMenuContentOptions {\n /**\n * Event handler called when focus moves to the trigger after closing.\n * It can be prevented by calling `event.preventDefault`.\n */\n onCloseAutofocus?: PrimitiveContentProps['onCloseAutoFocus']\n /**\n * Event handler called when the escape key is down.\n * It can be prevented by calling `event.preventDefault`.\n */\n onEscapeKeyDown?: PrimitiveContentProps['onEscapeKeyDown']\n /**\n * Event handler called when a pointer event occurs outside the bounds of the component.\n * It can be prevented by calling `event.preventDefault`.\n */\n onPointerDownOutside?: PrimitiveContentProps['onPointerDownOutside']\n /**\n * Event handler called when focus moves outside the bounds of the component.\n * It can be prevented by calling `event.preventDefault`.\n */\n onFocusOutside?: PrimitiveContentProps['onFocusOutside']\n /**\n * Event handler called when an interaction (pointer or focus event) happens outside the bounds of the component.\n * It can be prevented by calling `event.preventDefault`.\n */\n onInteractOutside?: PrimitiveContentProps['onInteractOutside']\n /**\n * The preferred side of the trigger to render against when open.\n * Will be reversed when collisions occur and `avoidCollisions` is enabled.\n *\n * @default \"bottom\"\n */\n side?: PrimitiveContentProps['side']\n /**\n * The distance in pixels from the trigger.\n *\n * @default 8\n */\n sideOffset?: PrimitiveContentProps['sideOffset']\n /**\n * The preferred alignment against the trigger. May change when collisions occur.\n *\n * @default \"center\"\n */\n align?: PrimitiveContentProps['align']\n /**\n * The element used as the collision boundary.\n * By default this is the viewport, though you can provide additional element(s) to be included in this check.\n *\n * @default []\n */\n collisionBoundary?: PrimitiveContentProps['collisionBoundary']\n /**\n * Whether to hide the content when the trigger becomes fully occluded.\n *\n * @default false\n */\n hideWhenDetached?: PrimitiveContentProps['hideWhenDetached']\n}\n\nexport interface DropdownMenuContentProps extends HTMLQdsProps<'div'>, DropdownMenuContentOptions {}\n\nexport const DropdownMenuContent = forwardRef<HTMLDivElement, DropdownMenuContentProps>(\n (props, forwardedRef) => {\n const { children, sideOffset = 8, ...restProps } = props\n\n return (\n <DropdownPrimitive.Portal>\n <StyledContent\n collisionPadding={16}\n ref={forwardedRef}\n sideOffset={sideOffset}\n {...restProps}\n >\n {children}\n </StyledContent>\n </DropdownPrimitive.Portal>\n )\n },\n)\n","import { forwardRef } from 'react'\nimport * as DropdownPrimitive from '@radix-ui/react-dropdown-menu'\nimport styled from '@emotion/styled'\n\nimport type { HTMLQdsProps } from '../../types'\n\nconst StyledSeparator = styled(DropdownPrimitive.Separator)(({ theme }) => ({\n height: 1,\n background: theme.colors.border.subtle,\n marginTop: theme.spacing['1x'],\n marginBottom: theme.spacing['1x'],\n marginLeft: `-${theme.spacing['2x']}`,\n marginRight: `-${theme.spacing['2x']}`,\n}))\n\nexport type DropdownMenuDividerProps = HTMLQdsProps<'div'>\nexport const DropdownMenuDivider = forwardRef<HTMLDivElement, DropdownMenuDividerProps>(\n (props, forwardedRef) => {\n return <StyledSeparator ref={forwardedRef} {...props} />\n },\n)\n","import type { ElementType } from 'react'\nimport { forwardRef } from 'react'\nimport * as DropdownPrimitive from '@radix-ui/react-dropdown-menu'\nimport styled from '@emotion/styled'\n\nimport type { IconProps } from '../icon'\nimport { pxToRem } from '../../styles'\n\nconst StyledItem = styled(DropdownPrimitive.Item)(({ theme }) => ({\n ...theme.typography.label.sm,\n color: theme.colors.text.default,\n height: pxToRem(40),\n borderRadius: theme.radii.xs,\n display: 'flex',\n alignItems: 'center',\n gap: theme.spacing['3x'],\n paddingLeft: theme.spacing['3x'],\n paddingRight: theme.spacing['3x'],\n cursor: 'pointer',\n outline: 'none',\n userSelect: 'none',\n '&[data-highlighted]': {\n background: theme.colors.core.gray10,\n },\n ':not([data-disabled])': {\n ':active': {\n background: theme.colors.core.gray20,\n },\n },\n '&[data-disabled]': {\n opacity: 0.4,\n cursor: 'not-allowed',\n },\n}))\nconst TextContainer = styled.span({\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n})\n\ninterface DropdownMenuItemOptions {\n /**\n * If `true`, the item will be disabled\n */\n isDisabled?: boolean\n /**\n * Event handler called when the user selects an item (via mouse or keyboard).\n * Calling `event.preventDefault` in this handler will prevent the dropdown from closing when selecting that item.\n */\n onSelect?: (event: Event) => void\n /**\n * Optional text used for typeahead purposes.\n * By default the typeahead behavior will use the `.textContent` of the item.\n * Use this when the content is complex, or you have non-textual content inside.\n */\n textValue?: string\n /**\n * Optional icon to display on the left side of the item content.\n */\n icon?: ElementType<IconProps>\n}\nexport interface DropdownMenuItemProps\n extends Omit<DropdownPrimitive.DropdownMenuItemProps, 'asChild' | keyof DropdownMenuItemOptions>,\n DropdownMenuItemOptions {}\n\nexport const DropdownMenuItem = forwardRef<HTMLDivElement, DropdownMenuItemProps>(\n (props, forwardedRef) => {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n const { children, disabled, isDisabled, icon: Icon, ...restProps } = props\n return (\n <StyledItem ref={forwardedRef} disabled={disabled || isDisabled} {...restProps}>\n {Icon && <Icon color=\"default\" size={16} aria-hidden />}\n <TextContainer>{children}</TextContainer>\n </StyledItem>\n )\n },\n)\n","import * as DropdownTriggerPrimitive from '@radix-ui/react-dropdown-menu'\nimport { forwardRef } from 'react'\n\nimport type * as Polymorphic from '../../utils/polymorphic'\n\ntype DropdownTriggerComponent = Polymorphic.ForwardRefComponent<'button'>\n\nexport type DropdownMenuTriggerProps = Polymorphic.PropsOf<DropdownTriggerComponent>\n\nexport const DropdownMenuTrigger = forwardRef((props, forwardedRef) => {\n const { children, as, ...restProps } = props\n const Component = as || 'button'\n\n return (\n <DropdownTriggerPrimitive.Trigger ref={forwardedRef} asChild>\n <Component {...restProps}>{children}</Component>\n </DropdownTriggerPrimitive.Trigger>\n )\n}) as DropdownTriggerComponent\n","import styled from '@emotion/styled'\nimport isPropValid from '@emotion/is-prop-valid'\nimport { forwardRef } from 'react'\n\nimport type * as Polymorphic from '../../utils/polymorphic'\nimport type { Theme } from '../../theme'\nimport type { ResponsiveProp } from '../../styles/responsive'\nimport { toMediaQueries } from '../../styles/responsive'\n\ntype HeadingSize = keyof Theme['typography']['title']\ntype HeadingColor = keyof Theme['colors']['text']\n\ninterface StyledHeadingProps {\n size: ResponsiveProp<HeadingSize>\n color: HeadingColor\n numberOfLines?: number\n textAlign?: 'left' | 'center' | 'right'\n}\nconst StyledHeading = styled('h2', { shouldForwardProp: isPropValid })<StyledHeadingProps>(\n ({ theme, size, color, numberOfLines, textAlign }) => ({\n margin: 0,\n ...toMediaQueries(size, (currentValue) => theme.typography.title[currentValue]),\n color: theme.colors.text[color],\n textAlign,\n overflowWrap: 'break-word',\n wordWrap: 'break-word',\n ...(numberOfLines && {\n display: '-webkit-box',\n WebkitBoxOrient: 'vertical',\n WebkitLineClamp: numberOfLines,\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }),\n }),\n)\n\ninterface HeadingOptions {\n /**\n * Sets the visual size of the heading.\n * To override the rendered tag, use the `as` prop.\n *\n * @default 'md'\n */\n size?: ResponsiveProp<HeadingSize>\n /**\n * Sets the color of the heading\n * @default 'default'\n */\n color?: HeadingColor\n /**\n * Truncates the heading after a specific number of lines\n */\n numberOfLines?: number\n /**\n * Alignment of the heading\n * @default 'left'\n */\n textAlign?: 'left' | 'center' | 'right'\n}\n\ntype HeadingComponent = Polymorphic.ForwardRefComponent<'h2', HeadingOptions>\nexport type HeadingProps = Polymorphic.PropsOf<HeadingComponent>\n\nexport const Heading = forwardRef((props, forwardedRef) => {\n const { as, children, size = 'md', color = 'default', textAlign = 'left', ...rest } = props\n\n return (\n <StyledHeading\n as={as}\n ref={forwardedRef}\n textAlign={textAlign}\n size={size}\n color={color}\n {...rest}\n >\n {children}\n </StyledHeading>\n )\n}) as HeadingComponent\n","import { forwardRef } from 'react'\nimport styled from '@emotion/styled'\n\nimport type { HTMLQdsProps } from '../../types'\n\nconst Wrapper = styled.aside(({ theme }) => ({\n backgroundColor: theme.colors.bg.inset,\n borderRadius: theme.radii.md,\n paddingInline: theme.spacing['5x'],\n paddingBlock: theme.spacing['4x'],\n ...theme.typography.body.sm,\n}))\n\nexport type HintBoxTitleProps = HTMLQdsProps<'span'>\n\nconst Title = styled.p(({ theme }) => ({\n ...theme.typography.title['3xs'],\n marginBottom: theme.spacing['1x'],\n}))\n\nexport type HintBoxProps = HTMLQdsProps<'aside'>\n\nconst HintRoot = forwardRef<HTMLElement, HintBoxProps>((props, forwardedRef) => {\n const { children, ...rest } = props\n return (\n <Wrapper ref={forwardedRef} {...rest}>\n {children}\n </Wrapper>\n )\n})\n\nexport const HintBox = Object.assign(HintRoot, { Title })\n","import type { ElementType } from 'react'\nimport { forwardRef } from 'react'\nimport styled from '@emotion/styled'\nimport isPropValid from '@emotion/is-prop-valid'\n\nimport type { VariantProps } from '../../styles'\nimport type { IconProps } from '../icon'\nimport type * as Polymorphic from '../../utils/polymorphic'\nimport { toMediaQueries, type ResponsiveProp } from '../../styles/responsive'\n\nimport { getSizeStyles, getVariantStyles } from './icon-button-styles'\n\nconst roundToTwoDecimals = (num: number) => Math.round(num * 100) / 100\n\nconst ICON_SIZE_MAP = {\n xs: 16,\n sm: 20,\n md: 20,\n} as const\n\ninterface StyledButtonProps {\n size: ResponsiveProp<IconButtonSize>\n variant: IconButtonVariant\n}\nconst StyledButton = styled('button', { shouldForwardProp: isPropValid })<StyledButtonProps>(\n ({ theme, size: iconSize, variant }) => ({\n borderRadius: theme.radii.full,\n display: 'inline-flex',\n justifyContent: 'center',\n alignItems: 'center',\n position: 'relative',\n flexShrink: 0,\n WebkitTouchCallout: 'none',\n WebkitTapHighlightColor: 'transparent',\n userSelect: 'none',\n transitionProperty: 'box-shadow, transform, opacity, background-color, color',\n transitionDuration: '150ms',\n transitionTimingFunction: 'ease',\n\n '&[disabled]': {\n opacity: 0.4,\n },\n '&:not([disabled]):active': {\n transform: 'scale(0.97)',\n },\n ...toMediaQueries(iconSize, (currentValue) => {\n const iconSize = ICON_SIZE_MAP[currentValue]\n return {\n ...getSizeStyles(theme)[currentValue],\n '> svg': {\n width: iconSize,\n height: iconSize,\n // Always set a minimum stroke width of 2px.\n // If the size is less than 24px, scale the stroke width up\n // to compensate for the scaling down of the icon.\n ...(iconSize < 24 && {\n strokeWidth: roundToTwoDecimals((24 / iconSize) * 2),\n }),\n },\n }\n }),\n ...getVariantStyles(theme)[variant],\n }),\n)\n\ntype IconButtonSize = VariantProps<typeof getSizeStyles>\ntype IconButtonVariant = VariantProps<typeof getVariantStyles>\ninterface IconButtonOptions {\n icon: ElementType<IconProps>\n /**\n * A visually hidden label read by screen readers.\n *\n */\n label: string\n /**\n * Defines the size of the button\n */\n size?: ResponsiveProp<IconButtonSize>\n /**\n * Sets the style variant of the button\n */\n variant?: IconButtonVariant\n /**\n * If `true` the button will be disabled\n */\n isDisabled?: boolean\n}\n\ntype IconButtonComponent = Polymorphic.ForwardRefComponent<'button', IconButtonOptions>\nexport type IconButtonProps = Polymorphic.PropsOf<IconButtonComponent>\n\nexport const IconButton = forwardRef((props, forwardedRef) => {\n const {\n as,\n icon: Icon,\n label,\n 'aria-label': ariaLabel = label,\n variant = 'white',\n size = 'md',\n // Only default the `type` if not using the as prop\n type = as ? undefined : 'button',\n isDisabled = false,\n ...restProps\n } = props\n return (\n <StyledButton\n as={as}\n ref={forwardedRef}\n aria-label={ariaLabel}\n variant={variant}\n size={size}\n disabled={isDisabled}\n type={type}\n {...restProps}\n >\n <Icon aria-hidden=\"true\" color=\"currentColor\" />\n </StyledButton>\n )\n}) as IconButtonComponent\n","import { pxToRem, createStyleVariants } from '../../styles'\n\n// Can't use :enabled cause it doesn't work when rendered as a link\nconst NOT_DISABLED = ':not([disabled])'\n\nexport const getSizeStyles = createStyleVariants(() => ({\n xs: {\n width: pxToRem(32),\n height: pxToRem(32),\n },\n sm: {\n width: pxToRem(40),\n height: pxToRem(40),\n },\n md: {\n width: pxToRem(48),\n height: pxToRem(48),\n },\n}))\n\n// These are the exact same styles as the `Button` variant styles.\n// Maybe we can share them somehow in the future but there isn't any good abstraction yet\n// so I'll keep some duplicated styles here for now. -- Hugo (2022-07-03)\nexport const getVariantStyles = createStyleVariants(({ colors }) => ({\n primary: {\n background: colors.bg.brandPrimary,\n color: colors.text.onBrandPrimary,\n [NOT_DISABLED]: {\n // This prevents hover styles from displaying instead\n // of active styles on touch devices\n '@media(hover: hover)': {\n ':hover': {\n background: colors.bg.brandPrimaryHover,\n },\n },\n ':active': {\n background: colors.bg.brandPrimaryActive,\n },\n },\n },\n secondary: {\n background: colors.bg.brandSecondary,\n color: colors.text.onBrandSecondary,\n [NOT_DISABLED]: {\n '@media(hover: hover)': {\n ':hover': {\n background: colors.bg.brandSecondaryHover,\n },\n },\n ':active': {\n background: colors.bg.brandSecondaryActive,\n },\n },\n },\n tertiary: {\n background: colors.bg.brandTertiary,\n color: colors.text.onBrandTertiary,\n [NOT_DISABLED]: {\n '@media(hover: hover)': {\n ':hover': {\n background: colors.bg.brandTertiaryHover,\n },\n },\n ':active': {\n background: colors.bg.brandTertiaryActive,\n },\n },\n },\n\n ghost: {\n color: colors.text.default,\n [NOT_DISABLED]: {\n '@media(hover: hover)': {\n ':hover': {\n background: colors.core.blackAlpha5,\n },\n },\n ':active': {\n background: colors.core.blackAlpha10,\n },\n },\n },\n white: {\n background: colors.bg.default,\n color: colors.text.default,\n [NOT_DISABLED]: {\n '@media(hover: hover)': {\n ':hover': {\n background: colors.core.gray10,\n },\n },\n ':active': {\n background: colors.core.gray20,\n },\n },\n },\n}))\n","import styled from '@emotion/styled'\nimport { forwardRef, useRef, useState } from 'react'\n\nimport { useFormField, useSafeLayoutEffect } from '../../hooks'\nimport { useTranslation } from '../../i18n/use-translation'\nimport { dataAttr } from '../../utils/html-attributes'\nimport type { HTMLQdsProps } from '../../types'\nimport { Label } from '../label'\nimport type { InputBaseOptions } from '../primitives/input-base'\nimport { InputBase } from '../primitives/input-base'\nimport { ErrorMessage, FormField, HelperText } from '../_internal'\n\ninterface InputContainerProps {\n isPositionRelative: boolean\n}\nconst InputContainer = styled.div<InputContainerProps>(({ isPositionRelative }) => ({\n width: '100%',\n position: isPositionRelative ? 'relative' : undefined,\n}))\n\nconst OptionalText = styled.span(({ theme }) => ({\n ...theme.typography.body.sm,\n color: theme.colors.text.subtle,\n}))\n\nconst Suffix = styled.div(({ theme }) => ({\n ...theme.typography.body.md,\n position: 'absolute',\n height: '100%',\n top: 0,\n right: 0,\n display: 'flex',\n alignItems: 'center',\n paddingLeft: theme.spacing['4x'],\n paddingRight: theme.spacing['4x'],\n pointerEvents: 'none',\n '&[data-disabled]': {\n opacity: 0.4,\n },\n}))\n\ninterface TextFieldOptions extends InputBaseOptions {\n /**\n * The label for the input\n */\n label: string\n /**\n * The error message to display if `isInvalid` is `true`\n */\n errorMessage?: string\n /**\n * If `true`, the input will display an optional indicator.\n * If the `isRequired` prop is also `true`, this prop will be ignored.\n */\n isOptional?: boolean\n /**\n * Text that provides additional guidance to the user\n */\n helperText?: string\n /**\n * Suffixed text to display after the input.\n * This is useful for e.g. displaying units of measurement.\n */\n suffix?: string\n}\n\ntype OmittedProps = 'children' | 'readOnly' | 'size'\n\nexport interface TextFieldProps\n extends Omit<HTMLQdsProps<'input'>, OmittedProps>,\n TextFieldOptions {}\n\nexport const TextField = forwardRef<HTMLInputElement, TextFieldProps>((props, forwardedRef) => {\n const {\n label,\n isInvalid,\n isDisabled,\n isRequired,\n isOptional: isOptionalProp,\n errorMessage,\n helperText,\n suffix,\n ...restProps\n } = props\n const {\n getLabelProps,\n getFieldProps: getInputProps,\n getErrorMessageProps,\n getHelperTextProps,\n } = useFormField<'input'>(props)\n\n const [suffixWidth, setSuffixWidth] = useState<number | undefined>(undefined)\n const suffixRef = useRef<HTMLDivElement>(null)\n const { t } = useTranslation()\n\n useSafeLayoutEffect(() => {\n setSuffixWidth(suffixRef.current?.offsetWidth)\n }, [suffix])\n\n const helperTextElement = helperText ? (\n <HelperText {...getHelperTextProps()}>{helperText}</HelperText>\n ) : null\n\n const shouldShowErrorMessage = isInvalid && errorMessage\n const errorMessageElement = shouldShowErrorMessage ? (\n <ErrorMessage {...getErrorMessageProps()}>{errorMessage}</ErrorMessage>\n ) : null\n\n const hasSuffix = Boolean(suffix)\n\n const isOptional = Boolean(!isRequired && isOptionalProp)\n\n return (\n <FormField>\n <Label {...getLabelProps()}>\n {label}\n {isOptional && <OptionalText>{` (${t('optional')})`}</OptionalText>}\n </Label>\n\n <InputContainer isPositionRelative={hasSuffix}>\n <InputBase\n ref={forwardedRef}\n {...getInputProps({ ...restProps, style: { paddingRight: suffixWidth } })}\n />\n {hasSuffix && (\n <Suffix ref={suffixRef} aria-hidden=\"true\" data-disabled={dataAttr(isDisabled)}>\n {suffix}\n </Suffix>\n )}\n </InputContainer>\n {errorMessageElement || helperTextElement}\n </FormField>\n )\n})\n","const SUPPORTED_LANGUAGE_CODES = ['en', 'sv', 'fi', 'fr', 'nb'] as const\n\nexport type LanguageCode = (typeof SUPPORTED_LANGUAGE_CODES)[number]\n\nexport interface Resource {\n close: string\n optional: string\n}\nconst en: Resource = {\n close: 'Close',\n optional: 'Optional',\n}\n\nconst sv: Resource = {\n close: 'Stäng',\n optional: 'Valfritt',\n}\n\nconst fi: Resource = {\n close: 'Sulje',\n optional: 'Valinnainen',\n}\n\nconst fr: Resource = {\n close: 'Fermer',\n optional: 'Facultatif',\n}\n\nconst nb: Resource = {\n close: 'Steng',\n optional: 'Valgfri',\n}\n\nexport const locales: Record<LanguageCode, Resource> = {\n en,\n sv,\n fi,\n fr,\n nb,\n}\n","import { useLocale } from './locale-context'\nimport type { Resource } from './locales'\nimport { locales } from './locales'\n\ntype I18nKey = keyof Resource\n\nexport function useTranslation() {\n const { currentLanguage } = useLocale()\n\n const t = (key: I18nKey) => locales[currentLanguage][key]\n\n return { t }\n}\n","import styled from '@emotion/styled'\nimport isPropValid from '@emotion/is-prop-valid'\nimport { forwardRef } from 'react'\n\nimport type { VariantProps } from '../../styles'\nimport { createStyleVariants } from '../../styles'\nimport type * as Polymorphic from '../../utils/polymorphic'\nimport type { Theme } from '../../theme'\nimport type { ResponsiveProp } from '../../styles/responsive'\nimport { toMediaQueries } from '../../styles/responsive'\n\nconst getSizeStyles = createStyleVariants(({ typography }) => ({\n sm: {\n ...typography.label.sm,\n },\n md: {\n ...typography.label.md,\n },\n}))\n\ntype LabelSize = VariantProps<typeof getSizeStyles>\ntype LabelColor = keyof Theme['colors']['text']\n\ninterface StyledLabelProps {\n size: ResponsiveProp<LabelSize>\n color: LabelColor\n}\nconst StyledLabel = styled('label', { shouldForwardProp: isPropValid })<StyledLabelProps>(\n ({ theme, color, size }) => ({\n display: 'block',\n color: theme.colors.text[color],\n cursor: 'default',\n WebkitTouchCallout: 'none',\n WebkitTapHighlightColor: 'transparent',\n ...toMediaQueries(size, (currentValue) => getSizeStyles(theme)[currentValue]),\n '&[data-disabled]': {\n opacity: 0.4,\n },\n }),\n)\n\ninterface LabelOptions {\n /**\n * Size of the label\n */\n size?: ResponsiveProp<LabelSize>\n /**\n * Sets the color of the label\n * @default 'default'\n */\n color?: LabelColor\n}\n\ntype LabelComponent = Polymorphic.ForwardRefComponent<'label', LabelOptions>\nexport type LabelProps = Polymorphic.PropsOf<LabelComponent>\n\nexport const Label = forwardRef((props, forwardedRef) => {\n const { as, children, color = 'default', size = 'md', onMouseDown, ...restProps } = props\n return (\n <StyledLabel\n as={as}\n ref={forwardedRef}\n {...restProps}\n size={size}\n color={color}\n onMouseDown={(event) => {\n onMouseDown && onMouseDown(event)\n // prevent text selection when double clicking label\n if (!event.defaultPrevented && event.detail > 1) {\n event.preventDefault()\n }\n }}\n >\n {children}\n </StyledLabel>\n )\n}) as LabelComponent\n","import styled from '@emotion/styled'\nimport { forwardRef } from 'react'\n\nimport { getFormFieldBaseStyles } from '../../../styles'\nimport type { HTMLQdsProps } from '../../../types'\nimport { ariaAttr } from '../../../utils/html-attributes'\n\nconst StyledInput = styled('input')(({ theme }) => ({\n ...getFormFieldBaseStyles(theme),\n height: 48,\n}))\n\nexport interface InputBaseOptions {\n /**\n * If `true`, the input will be invalid\n */\n isInvalid?: boolean\n /**\n * If `true`, the input will be disabled\n */\n isDisabled?: boolean\n /**\n * If `true` the input will be required\n */\n isRequired?: boolean\n}\n\ntype OmittedProps = 'children' | 'readOnly' | 'size' | 'disabled' | 'required'\nexport interface InputBaseProps\n extends Omit<HTMLQdsProps<'input'>, OmittedProps>,\n InputBaseOptions {}\n\nexport const InputBase = forwardRef<HTMLInputElement, InputBaseProps>((props, forwardedRef) => {\n const { isInvalid, isDisabled, isRequired, ...restProps } = props\n\n return (\n <StyledInput\n ref={forwardedRef}\n aria-invalid={ariaAttr(isInvalid)}\n disabled={isDisabled}\n required={isRequired}\n {...restProps}\n />\n )\n})\n","import { forwardRef } from 'react'\nimport styled from '@emotion/styled'\nimport isPropValid from '@emotion/is-prop-valid'\n\nimport type * as Polymorphic from '../../utils/polymorphic'\n\nconst StyledLink = styled('a', { shouldForwardProp: isPropValid })(({ theme }) => ({\n WebkitTouchCallout: 'none',\n WebkitTapHighlightColor: 'transparent',\n ...theme.typography.body.md,\n WebkitAppearance: 'none',\n transitionProperty: 'box-shadow, transform, opacity, background-color, color',\n transitionDuration: '150ms',\n transitionTimingFunction: 'ease',\n flexShrink: 0,\n fontSize: 'inherit',\n color: 'inherit',\n textDecoration: 'underline',\n}))\n\ninterface LinkOptions {\n /**\n * The URL to link to.\n */\n href?: string\n /**\n * If `true`, the link will open in new tab\n */\n isExternal?: boolean\n}\n\ntype LinkComponent = Polymorphic.ForwardRefComponent<'a', LinkOptions>\nexport type LinkProps = Polymorphic.PropsOf<LinkComponent>\n\nexport const Link = forwardRef((props, forwardedRef) => {\n const { children, href, isExternal = false, ...restProps } = props\n const externalProps = isExternal ? { target: '_blank', rel: 'noopener noreferrer' } : {}\n return (\n <StyledLink ref={forwardedRef} href={href} {...externalProps} {...restProps}>\n {children}\n </StyledLink>\n )\n}) as LinkComponent\n","import styled from '@emotion/styled'\nimport isPropValid from '@emotion/is-prop-valid'\nimport { forwardRef } from 'react'\n\nimport type { VariantProps } from '../../styles'\nimport { createStyleVariants } from '../../styles'\nimport type { Theme } from '../../theme'\nimport type * as Polymorphic from '../../utils/polymorphic'\nimport { toMediaQueries, type ResponsiveProp } from '../../styles/responsive'\n\nconst getSizeStyles = createStyleVariants(({ typography }) => ({\n xs: typography.body.xs,\n sm: typography.body.sm,\n md: typography.body.md,\n lg: typography.body.lg,\n xl: typography.body.xl,\n}))\n\ntype ParagraphSize = VariantProps<typeof getSizeStyles>\ntype ParagraphColor = keyof Theme['colors']['text']\n\ninterface StyledParagraphProps {\n size: ResponsiveProp<ParagraphSize>\n color: ParagraphColor\n numberOfLines?: number\n textAlign?: 'left' | 'center' | 'right'\n}\n\nconst StyledParagraph = styled('p', { shouldForwardProp: isPropValid })<StyledParagraphProps>(\n ({ theme, size, color, numberOfLines, textAlign }) => ({\n margin: 0,\n ...toMediaQueries(size, (currentValue) => getSizeStyles(theme)[currentValue]),\n color: theme.colors.text[color],\n textAlign,\n overflowWrap: 'break-word',\n wordWrap: 'break-word',\n\n ...(numberOfLines && {\n display: '-webkit-box',\n WebkitBoxOrient: 'vertical',\n WebkitLineClamp: numberOfLines,\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }),\n }),\n)\n\ninterface ParagraphOptions {\n /**\n * Sets the visual size of the text\n * @default 'md'\n */\n size?: ResponsiveProp<ParagraphSize>\n /**\n * Sets the color of the text\n * @default 'normal'\n */\n color?: ParagraphColor\n /**\n * Truncates the text after a specific number of lines\n */\n numberOfLines?: number\n /**\n * Alignment of the paragraph\n * @default 'left'\n */\n textAlign?: 'left' | 'center' | 'right'\n}\n\ntype ParagraphComponent = Polymorphic.ForwardRefComponent<'p', ParagraphOptions>\nexport type ParagraphProps = Polymorphic.PropsOf<ParagraphComponent>\n\nexport const Paragraph = forwardRef((props, forwardedRef) => {\n const { children, size = 'md', color = 'default', textAlign = 'left', ...rest } = props\n return (\n <StyledParagraph ref={forwardedRef} size={size} color={color} textAlign={textAlign} {...rest}>\n {children}\n </StyledParagraph>\n )\n}) as ParagraphComponent\n","import styled from '@emotion/styled'\nimport { forwardRef } from 'react'\n\nimport { getFormFieldBaseStyles } from '../../../styles'\nimport type { HTMLQdsProps } from '../../../types'\nimport { ChevronDownIcon } from '../../icon'\n\nexport interface SelectBaseOptions {\n /**\n * The placeholder for the select. We render an `<option/>` element that has\n * empty value.\n *\n * ```jsx\n * <option value=\"\">{placeholder}</option>\n * ```\n */\n placeholder?: string\n /**\n * If `true`, the select will be invalid\n */\n isInvalid?: boolean\n /**\n * If `true`, the select will be disabled\n */\n isDisabled?: boolean\n /**\n * If `true` the select will be required\n */\n isRequired?: boolean\n}\n\nconst SelectWrapper = styled.div({\n width: '100%',\n height: 'fit-content',\n position: 'relative',\n})\nconst SelectIconWrapper = styled.div({\n pointerEvents: 'none',\n position: 'absolute',\n height: '100%',\n width: 48,\n right: 0,\n top: 0,\n color: 'currentcolor',\n display: 'inline-flex',\n justifyContent: 'center',\n alignItems: 'center',\n '&[data-disabled]': {\n opacity: 0.4,\n },\n})\n\nconst StyledSelect = styled.select(({ theme }) => ({\n ...getFormFieldBaseStyles(theme),\n height: 48,\n // Ensure the text doesn't end up behind the icon\n paddingRight: 40,\n}))\n\ntype OmittedProps = 'readOnly' | 'size' | 'multiple' | 'disabled' | 'required'\n\ninterface SelectBaseProps extends Omit<HTMLQdsProps<'select'>, OmittedProps>, SelectBaseOptions {}\n\nexport const SelectBase = forwardRef<HTMLSelectElement, SelectBaseProps>((props, forwardedRef) => {\n const { placeholder, children, isInvalid, isDisabled, isRequired, ...restProps } = props\n\n return (\n <SelectWrapper>\n <StyledSelect\n ref={forwardedRef}\n aria-invalid={isInvalid ? true : undefined}\n disabled={isDisabled}\n required={isRequired}\n {...restProps}\n >\n {placeholder && <option value=\"\">{placeholder}</option>}\n {children}\n </StyledSelect>\n <SelectIconWrapper data-disabled={isDisabled ? '' : undefined}>\n <ChevronDownIcon role=\"presentation\" aria-hidden=\"true\" size={16} />\n </SelectIconWrapper>\n </SelectWrapper>\n )\n})\n","import styled from '@emotion/styled'\nimport { forwardRef } from 'react'\n\nimport { getFormFieldBaseStyles } from '../../../styles'\nimport type { HTMLQdsProps } from '../../../types'\nimport { ariaAttr } from '../../../utils/html-attributes'\n\nconst StyledTextarea = styled.textarea<{ resize: ResizeProp; minRows: MinRowsProp }>(\n ({ theme, resize, minRows }) => {\n const baseStyles = getFormFieldBaseStyles(theme)\n const paddingVertical = theme.spacing['3x']\n const minHeight = `calc(${baseStyles.lineHeight} * ${minRows} + ${paddingVertical} * 2 + 2px)` // + 2px for border\n\n return {\n ...baseStyles,\n paddingTop: paddingVertical,\n paddingBottom: paddingVertical,\n scrollPaddingBlockEnd: paddingVertical,\n resize,\n minHeight,\n }\n },\n)\n\ntype ResizeProp = 'none' | 'both' | 'horizontal' | 'vertical'\ntype MinRowsProp = number\nexport interface TextareaBaseOptions {\n /**\n * If `true`, the textarea will be invalid\n */\n isInvalid?: boolean\n /**\n * If `true`, the textarea will be disabled\n */\n isDisabled?: boolean\n /**\n * If `true` the textarea will be required\n */\n isRequired?: boolean\n /**\n * The resize behavior of the textarea\n *\n * @default 'vertical'\n */\n resize?: ResizeProp\n /**\n * The minimum number of rows to display without requiring scrolling or resizing.\n * To disabled resizing use the `resize` prop.\n *\n * @default 3\n */\n minRows?: MinRowsProp\n}\n\ntype OmittedProps = 'children' | 'readOnly' | 'size' | 'disabled' | 'required' | 'rows' | 'cols'\nexport interface TextareaBaseProps\n extends Omit<HTMLQdsProps<'textarea'>, OmittedProps>,\n TextareaBaseOptions {}\n\nexport const TextareaBase = forwardRef<HTMLTextAreaElement, TextareaBaseProps>(\n (props, forwardedRef) => {\n const {\n isInvalid,\n isDisabled,\n isRequired,\n resize = 'vertical',\n minRows = 3,\n ...restProps\n } = props\n\n return (\n <StyledTextarea\n ref={forwardedRef}\n aria-invalid={ariaAttr(isInvalid)}\n disabled={isDisabled}\n required={isRequired}\n resize={resize}\n minRows={minRows}\n {...restProps}\n />\n )\n },\n)\n","import { forwardRef, useCallback, useState } from 'react'\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group'\nimport styled from '@emotion/styled'\n\nimport { ErrorMessage } from '../_internal'\nimport { useStableId } from '../../hooks'\nimport { ariaAttr } from '../../utils/html-attributes'\n\nimport { RadioGroupProvider } from './radio-group-context'\nimport { RadioCard } from './radio-card'\nimport type { RadioCardProps } from './radio-card'\nimport type { RadioButtonProps } from './radio-button'\nimport { RadioGroupLabel } from './radio-group-label'\nimport type { RadioGroupLabelProps } from './radio-group-label'\nimport { RadioButton } from './radio-button'\n\nconst StyledRadioGroupRoot = styled(RadioGroupPrimitive.Root)(({ theme }) => ({\n width: '100%',\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing['3x'],\n}))\n\ninterface RadioGroupOptions {\n /**\n * The value of the radio item that should be checked when initially rendered.\n * Use when you do not need to control the state of the radio items.\n */\n defaultValue?: string\n /**\n * The controlled value of the radio item to check.\n * Should be used in conjunction with `onValueChange`.\n */\n value?: string\n /**\n * Event handler called when the value changes.\n */\n onValueChange?: (value: string) => void\n /**\n * The name of the group. Submitted with its owning form as part of a name/value pair.\n */\n name?: string\n /**\n * If `true` all child radio items will be disabled.\n * @default false\n */\n isDisabled?: boolean\n /**\n * If `true` the user must check a radio item before the owning form can be submitted.\n * @default false\n */\n isRequired?: boolean\n /**\n * If `true` the radio group will be invalid.\n * @default false\n */\n isInvalid?: boolean\n /**\n * The error message to display if `isInvalid` is `true`\n */\n errorMessage?: string\n}\n\nexport interface RadioGroupProps\n // We omit some props and define them ourselves so that we can have\n // JS doc descriptions for them.\n extends Omit<RadioGroupPrimitive.RadioGroupProps, 'asChild' | keyof RadioGroupOptions>,\n RadioGroupOptions {}\n\nconst RadioGroupRoot = forwardRef<HTMLDivElement, RadioGroupProps>((props, forwardedRef) => {\n const {\n children,\n id: idProp,\n disabled: hasHtmlDisabledAttr,\n isDisabled: isDisabledProp,\n required: hasHtmlRequiredAttr,\n isRequired: isRequiredProp,\n 'aria-labelledby': ariaLabelledByProp,\n 'aria-describedby': ariaDescribedByProp,\n isInvalid,\n errorMessage,\n ...restProps\n } = props\n\n const isDisabled = isDisabledProp ?? hasHtmlDisabledAttr\n const isRequired = isRequiredProp ?? hasHtmlRequiredAttr\n\n const id = useStableId(idProp)\n\n const hasError = isInvalid && errorMessage\n const errorMessageId = hasError ? `${id}-error` : undefined\n\n const [labelElement, setLabelElement] = useState<HTMLElement | null>(null)\n\n const labelRefCallback = useCallback((node: HTMLElement | null) => setLabelElement(node), [])\n const labelId = labelElement?.id\n\n const errorMessageElement = hasError ? (\n <ErrorMessage id={errorMessageId} role=\"alert\" aria-live=\"polite\">\n {errorMessage}\n </ErrorMessage>\n ) : null\n\n const ariaLabelledBy = [labelId, ariaLabelledByProp].filter(Boolean).join(' ') || undefined\n // Error message should be described first in all scenarios.\n const ariaDescribedBy =\n [errorMessageId, ariaDescribedByProp].filter(Boolean).join(' ') || undefined\n\n return (\n <RadioGroupProvider\n value={{\n labelRefCallback,\n isDisabled,\n errorMessageId,\n }}\n >\n <StyledRadioGroupRoot\n ref={forwardedRef}\n id={id}\n disabled={isDisabled}\n required={isRequired}\n aria-invalid={ariaAttr(isInvalid)}\n aria-labelledby={ariaLabelledBy}\n aria-describedby={ariaDescribedBy}\n {...restProps}\n >\n {children}\n {errorMessageElement}\n </StyledRadioGroupRoot>\n </RadioGroupProvider>\n )\n})\n\nexport const RadioGroup = Object.assign(RadioGroupRoot, {\n Card: RadioCard,\n Button: RadioButton,\n Label: RadioGroupLabel,\n})\n\nexport type { RadioGroupLabelProps, RadioCardProps, RadioButtonProps }\n","import { createContext, useContext } from 'react'\n\ninterface RadioGroupContextValue {\n labelRefCallback: (node: HTMLElement | null) => void\n isDisabled: boolean | undefined\n errorMessageId?: string\n}\nconst RadioGroupContext = createContext<RadioGroupContextValue | null>(null)\n\ninterface RadioGroupProviderProps {\n value: RadioGroupContextValue\n children: React.ReactNode\n}\nexport function RadioGroupProvider({ value, children }: RadioGroupProviderProps) {\n return <RadioGroupContext.Provider value={value}>{children}</RadioGroupContext.Provider>\n}\n\ninterface UseRadioGroupContextProps {\n consumerName: string\n}\n\nexport const useRadioGroupContext = ({ consumerName }: UseRadioGroupContextProps) => {\n const context = useContext(RadioGroupContext)\n if (!context) {\n throw new Error(`\\`${consumerName}\\` must be used within \\`RadioGroup\\``)\n }\n return context\n}\n","import styled from '@emotion/styled'\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group'\nimport { forwardRef, useState } from 'react'\n\nimport { useStableId } from '../../../hooks'\nimport { pxToRem } from '../../../styles'\nimport { dataAttr } from '../../../utils/html-attributes'\nimport { HelperText } from '../../_internal'\nimport { RadioIndicator } from '../radio-indicator'\nimport { useRadioGroupContext } from '../radio-group-context'\n\nconst RadioItem = styled(RadioGroupPrimitive.Item)(({ theme }) => ({\n width: '100%',\n textAlign: 'left',\n background: theme.colors.bg.default,\n paddingLeft: theme.spacing['5x'],\n paddingRight: theme.spacing['5x'],\n // Odd padding value, but without it the text is not vertically centered.\n // Logic is (height - line height - border top - border bottom) / 2\n // So (56 - 20 - 1 - 1) / 2 = 17\n paddingTop: pxToRem(17),\n paddingBottom: pxToRem(17),\n minHeight: pxToRem(56),\n justifyContent: 'center',\n border: '1px solid',\n borderColor: theme.colors.border.default,\n borderRadius: theme.radii.md,\n display: 'grid',\n gridTemplateColumns: `1fr min-content`,\n alignItems: 'start',\n // Needed to align the content to the top when the cards are\n // places in a grid with varying intrinsic heights\n alignContent: 'start',\n columnGap: theme.spacing['3x'],\n rowGap: theme.spacing['1x'],\n boxShadow: 'none',\n transitionProperty: 'background, border-color, box-shadow, transform, outline',\n transitionDuration: '120ms',\n transitionTimingFunction: 'ease-out',\n '&[data-state=\"checked\"]': {\n borderColor: theme.colors.border.defaultSelected,\n boxShadow: `inset 0 0 0 1px ${theme.colors.border.defaultSelected}`,\n background: theme.colors.bg.inset,\n ':active': {\n transform: 'scale(0.995)',\n },\n },\n '&[data-state=\"unchecked\"]': {\n '@media(hover: hover)': {\n ':hover': {\n borderColor: theme.colors.border.defaultHover,\n background: theme.colors.bg.inset,\n },\n },\n ':active': {\n transform: 'scale(0.98)',\n },\n },\n outlineOffset: 0,\n outline: '0 solid transparent',\n ':focus-visible': {\n outlineColor: theme.colors.border.defaultSelected,\n outlineWidth: 2,\n outlineStyle: 'solid',\n outlineOffset: 3,\n },\n '&[data-disabled], &:disabled, &[disabled]': {\n opacity: 0.4,\n '&[data-state=\"unchecked\"]': {\n ':hover': {\n background: theme.colors.bg.default,\n borderColor: theme.colors.border.default,\n },\n },\n ':active': {\n transform: 'none',\n },\n },\n\n WebkitTouchCallout: 'none',\n WebkitTapHighlightColor: 'transparent',\n}))\n\ninterface RadioCardOptions {\n /**\n * The label for the radio card\n */\n label: string\n /**\n * Text that provides additional guidance to the user\n */\n helperText?: string\n /**\n * If `true` the user must check the radio item before the owning form can be submitted.\n * @default false\n */\n isRequired?: boolean\n /**\n * If `true` it prevents the user from interacting with the radio item.\n * @default false\n */\n isDisabled?: boolean\n}\n\nexport interface RadioCardProps\n extends Omit<RadioGroupPrimitive.RadioGroupItemProps, 'asChild' | keyof RadioCardOptions>,\n RadioCardOptions {}\n\nconst Label = styled.span(({ theme }) => ({\n ...theme.typography.label.md,\n}))\n\nexport const RadioCard = forwardRef<HTMLButtonElement, RadioCardProps>((props, forwardedRef) => {\n const {\n label,\n helperText,\n disabled: hasHtmlDisabledAttr,\n isDisabled: isDisabledProp,\n required: hasHtmlRequiredAttr,\n isRequired: isRequiredProp,\n id: idProp,\n 'aria-describedby': ariaDescribedByProp,\n onMouseEnter,\n onMouseLeave,\n ...rest\n } = props\n const [isHovered, setIsHovered] = useState(false)\n\n const { errorMessageId } = useRadioGroupContext({ consumerName: 'RadioCard' })\n const id = useStableId(idProp)\n const labelId = `${id}-label`\n const hasHelperText = Boolean(helperText)\n const helperTextId = hasHelperText ? `${id}-helper-text` : undefined\n\n const ariaDescribedBy =\n [errorMessageId, helperTextId, ariaDescribedByProp].filter(Boolean).join(' ') || undefined\n\n const helperTextElement = helperText ? (\n <HelperText id={helperTextId}>{helperText}</HelperText>\n ) : null\n\n const isDisabled = isDisabledProp ?? hasHtmlDisabledAttr\n const isRequired = isRequiredProp ?? hasHtmlRequiredAttr\n\n return (\n <RadioItem\n ref={forwardedRef}\n disabled={isDisabled}\n // For some reason if we pass e.g. `required={undefined}` it will override\n // the `required` attribute from the `RadioGroup`. Seems to be something with\n // how Radix handles the state internally.\n {...(isRequired && { required: true })}\n aria-labelledby={labelId}\n aria-describedby={ariaDescribedBy}\n onMouseEnter={(ev) => {\n setIsHovered(true)\n onMouseEnter?.(ev)\n }}\n onMouseLeave={(ev) => {\n setIsHovered(false)\n onMouseLeave?.(ev)\n }}\n {...rest}\n >\n <Label id={labelId}>{label}</Label>\n <RadioIndicator data-hover={dataAttr(isHovered)} />\n {helperTextElement}\n </RadioItem>\n )\n})\n","import styled from '@emotion/styled'\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group'\nimport { forwardRef } from 'react'\n\nimport { pxToRem } from '../../styles'\n\nconst StyledRadioIndicator = styled(RadioGroupPrimitive.Indicator)(({ theme }) => ({\n background: theme.colors.bg.default,\n border: '2px solid',\n borderColor: theme.colors.border.strong,\n width: pxToRem(20),\n height: pxToRem(20),\n flexShrink: 0,\n borderRadius: theme.radii.full,\n transitionProperty: 'background',\n transitionDuration: '120ms',\n transitionTimingFunction: 'ease-out',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n '&::after': {\n content: '\"\"',\n display: 'block',\n width: pxToRem(10),\n height: pxToRem(10),\n borderRadius: theme.radii.full,\n background: theme.colors.border.strong,\n transform: 'scale(0.5)',\n opacity: 0,\n transitionProperty: 'transform, opacity',\n transitionDuration: '120ms',\n transitionTimingFunction: 'ease-out',\n transformOrigin: 'center',\n },\n '&[data-state=\"unchecked\"]': {\n '@media(hover: hover)': {\n '&:not(&[data-disabled])[data-hover]::after': {\n transform: 'scale(0.8)', // Resolves to 8px\n opacity: 1,\n },\n },\n },\n\n '&[data-state=\"checked\"]': {\n background: theme.colors.border.strong,\n '&::after': {\n opacity: 1,\n transform: 'scale(1)',\n background: theme.colors.border.defaultSelected,\n },\n },\n}))\n\ntype RadioIndicatorProps = Omit<\n RadioGroupPrimitive.RadioGroupIndicatorProps,\n 'asChild' | 'forceMount'\n>\n/**\n * Styled Radix `RadioIndicator` component.\n * @see Docs https://www.radix-ui.com/primitives/docs/components/radio-group#indicator\n * @internal Not to be used outside the library.\n */\nexport const RadioIndicator = forwardRef<HTMLSpanElement, RadioIndicatorProps>(\n (props, forwardedRef) => <StyledRadioIndicator ref={forwardedRef} forceMount {...props} />,\n)\n","import styled from '@emotion/styled'\nimport { forwardRef } from 'react'\n\nimport { useStableId } from '../../hooks'\nimport { mergeRefs } from '../../utils/merge-refs'\nimport type { HTMLQdsProps } from '../../types'\nimport { dataAttr } from '../../utils/html-attributes'\n\nimport { useRadioGroupContext } from './radio-group-context'\n\nconst Label = styled.span(({ theme }) => ({\n ...theme.typography.label.md,\n '&[data-disabled]': {\n opacity: 0.4,\n },\n}))\n\nexport type RadioGroupLabelProps = HTMLQdsProps<'span'>\n\nexport const RadioGroupLabel = forwardRef<HTMLSpanElement, RadioGroupLabelProps>(\n (props, forwardedRef) => {\n const { id: idProp, ...restProps } = props\n const id = useStableId(idProp)\n const { labelRefCallback, isDisabled } = useRadioGroupContext({\n consumerName: 'RadioGroupLabel',\n })\n\n return (\n <Label\n ref={mergeRefs(labelRefCallback, forwardedRef)}\n id={id}\n data-disabled={dataAttr(isDisabled)}\n {...restProps}\n />\n )\n },\n)\n","import type { MutableRefObject, RefCallback } from 'react'\n\nimport type { LegitimateAny } from '../types'\n\ntype ReactRef<T> = RefCallback<T> | MutableRefObject<T>\ntype Maybe<T> = T | null | undefined\n\nfunction assignRef<T = LegitimateAny>(ref: Maybe<ReactRef<T>>, value: T) {\n // eslint-disable-next-line eqeqeq\n if (ref == null) return\n\n if (typeof ref === 'function') {\n ref(value)\n return\n }\n\n ref.current = value\n}\n\nexport const mergeRefs = <T>(...refs: Maybe<ReactRef<T>>[]) => {\n return (node: T | null) => {\n refs.forEach((ref) => assignRef(ref, node))\n }\n}\n","import styled from '@emotion/styled'\nimport { forwardRef, useState } from 'react'\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group'\n\nimport { useStableId } from '../../../hooks'\nimport { dataAttr } from '../../../utils/html-attributes'\nimport { useRadioGroupContext } from '../radio-group-context'\nimport { RadioIndicator } from '../radio-indicator'\n\nconst RadioButtonContainer = styled.label(({ theme }) => ({\n display: 'grid',\n gridTemplateColumns: 'auto 1fr',\n alignItems: 'start',\n gap: theme.spacing['3x'],\n cursor: 'pointer',\n WebkitTapHighlightColor: 'transparent',\n WebkitTouchCallout: 'none',\n '&:has([role=\"radio\"][data-disabled])': {\n cursor: 'not-allowed',\n },\n}))\n\nconst RadioItem = styled(RadioGroupPrimitive.Item)(({ theme }) => ({\n borderRadius: theme.radii.full,\n transitionProperty: 'outline',\n transitionDuration: '120ms',\n transitionTimingFunction: 'ease-out',\n outlineOffset: 0,\n outline: '0 solid transparent',\n ':focus-visible': {\n outlineColor: theme.colors.border.defaultSelected,\n outlineWidth: 2,\n outlineStyle: 'solid',\n outlineOffset: 3,\n },\n '&[data-disabled], &:disabled, &[disabled]': {\n opacity: 0.4,\n },\n\n WebkitTouchCallout: 'none',\n WebkitTapHighlightColor: 'transparent',\n}))\n\ninterface RadioButtonOptions {\n /**\n * The label for the radio button\n */\n label: string\n /**\n * If `true` the user must check the radio item before the owning form can be submitted.\n * @default false\n */\n isRequired?: boolean\n /**\n * If `true` it prevents the user from interacting with the radio item.\n * @default false\n */\n isDisabled?: boolean\n}\n\nexport interface RadioButtonProps\n extends Omit<RadioGroupPrimitive.RadioGroupItemProps, 'asChild' | keyof RadioButtonOptions>,\n RadioButtonOptions {}\n\nconst Label = styled.span(({ theme }) => ({\n ...theme.typography.body.md,\n '&[data-disabled]': {\n opacity: 0.4,\n },\n}))\n\nexport const RadioButton = forwardRef<HTMLButtonElement, RadioButtonProps>(\n (props, forwardedRef) => {\n const {\n label,\n disabled: hasHtmlDisabledAttr,\n isDisabled: isDisabledProp,\n required: hasHtmlRequiredAttr,\n isRequired: isRequiredProp,\n id: idProp,\n 'aria-describedby': ariaDescribedByProp,\n onMouseEnter,\n onMouseLeave,\n ...rest\n } = props\n const [isHovered, setIsHovered] = useState(false)\n\n const id = useStableId(idProp)\n const labelId = `${id}-label`\n\n const { errorMessageId, isDisabled: isGroupDisabled } = useRadioGroupContext({\n consumerName: 'RadioButton',\n })\n\n const ariaDescribedBy =\n [errorMessageId, ariaDescribedByProp].filter(Boolean).join(' ') || undefined\n\n const isDisabled = isDisabledProp ?? hasHtmlDisabledAttr ?? isGroupDisabled\n const isRequired = isRequiredProp ?? hasHtmlRequiredAttr\n\n return (\n <RadioButtonContainer>\n <RadioItem\n ref={forwardedRef}\n disabled={isDisabled}\n // For some reason if we pass e.g. `required={undefined}` it will override\n // the `required` attribute from the `RadioGroup`. Seems to be something with\n // how Radix handles the state internally.\n {...(isRequired && { required: true })}\n aria-labelledby={labelId}\n aria-describedby={ariaDescribedBy}\n onMouseEnter={(ev) => {\n setIsHovered(true)\n onMouseEnter?.(ev)\n }}\n onMouseLeave={(ev) => {\n setIsHovered(false)\n onMouseLeave?.(ev)\n }}\n {...rest}\n >\n <RadioIndicator data-hover={dataAttr(isHovered)} />\n </RadioItem>\n <Label\n id={labelId}\n data-disabled={dataAttr(isDisabled)}\n onMouseEnter={() => setIsHovered(true)}\n onMouseLeave={() => setIsHovered(false)}\n onMouseDown={(ev) => {\n // prevent text selection when double clicking label\n if (ev.detail > 1) {\n ev.preventDefault()\n }\n }}\n >\n {label}\n </Label>\n </RadioButtonContainer>\n )\n },\n)\n","import { forwardRef } from 'react'\nimport styled from '@emotion/styled'\n\nimport { useFormField } from '../../hooks'\nimport type { HTMLQdsProps } from '../../types'\nimport { Label } from '../label'\nimport type { SelectBaseOptions } from '../primitives/select-base'\nimport { SelectBase } from '../primitives/select-base'\nimport { ErrorMessage, FormField, HelperText } from '../_internal'\nimport { useTranslation } from '../../i18n/use-translation'\n\nimport type { SelectOptionProps } from './select-option'\nimport { SelectOption } from './select-option'\n\nconst OptionalText = styled.span(({ theme }) => ({\n ...theme.typography.body.sm,\n color: theme.colors.text.subtle,\n}))\n\ninterface SelectOptions extends SelectBaseOptions {\n /**\n * The label for the select field\n */\n label: string\n /**\n * The error message to display if `isInvalid` is `true`\n */\n errorMessage?: string\n /**\n * Text that provides additional guidance to the user\n */\n helperText?: string\n /**\n * If `true`, the select field will display an optional indicator.\n * If the `isRequired` prop is also `true`, this prop will be ignored.\n */\n isOptional?: boolean\n}\n\ntype OmittedProps = 'readOnly' | 'size'\n\nexport interface SelectProps extends Omit<HTMLQdsProps<'select'>, OmittedProps>, SelectOptions {}\n\nconst SelectRoot = forwardRef<HTMLSelectElement, SelectProps>((props, forwardedRef) => {\n const {\n children,\n label,\n isInvalid,\n errorMessage,\n helperText,\n isRequired,\n isOptional: isOptionalProp,\n ...restProps\n } = props\n const {\n getLabelProps,\n getFieldProps: getSelectProps,\n getErrorMessageProps,\n getHelperTextProps,\n } = useFormField(props)\n const { t } = useTranslation()\n\n const helperTextElement = helperText ? (\n <HelperText {...getHelperTextProps()}>{helperText}</HelperText>\n ) : null\n\n const shouldShowErrorMessage = isInvalid && errorMessage\n const errorMessageElement = shouldShowErrorMessage ? (\n <ErrorMessage {...getErrorMessageProps()}>{errorMessage}</ErrorMessage>\n ) : null\n\n const isOptional = Boolean(!isRequired && isOptionalProp)\n\n return (\n <FormField>\n <Label {...getLabelProps()}>\n {label}\n {isOptional && <OptionalText>{` (${t('optional')})`}</OptionalText>}\n </Label>\n <SelectBase ref={forwardedRef} {...getSelectProps(restProps)}>\n {children}\n </SelectBase>\n {errorMessageElement || helperTextElement}\n </FormField>\n )\n})\n\nexport const Select = Object.assign(SelectRoot, { Option: SelectOption })\nexport type { SelectOptionProps }\n","import { forwardRef } from 'react'\n\nimport type { HTMLQdsProps } from '../../types'\n\ninterface SelectOptionOptions {\n isDisabled?: boolean\n}\n\ntype OmittedProps = 'disabled' | 'label'\nexport interface SelectOptionProps\n extends Omit<HTMLQdsProps<'option'>, OmittedProps>,\n SelectOptionOptions {}\n\nexport const SelectOption = forwardRef<HTMLOptionElement, SelectOptionProps>(\n (props, forwardedRef) => {\n const { children, isDisabled, ...restProps } = props\n return (\n <option ref={forwardedRef} disabled={isDisabled} {...restProps}>\n {children}\n </option>\n )\n },\n)\n","import { forwardRef } from 'react'\nimport styled from '@emotion/styled'\n\nimport type { Theme } from '../../theme'\nimport type { HTMLQdsProps } from '../../types'\nimport type { ResponsiveProp } from '../../styles/responsive'\nimport { toMediaQueries } from '../../styles/responsive'\n\ntype Spacing = keyof Theme['spacing']\n\nconst StyledSpan = styled.span<Required<SpacerOptions>>(({ axis, size, theme }) => ({\n display: 'block',\n\n ...toMediaQueries(size, (currentValue) => {\n const resolvedValue = theme.spacing[currentValue]\n return {\n width: axis === 'x' ? resolvedValue : 1,\n minWidth: axis === 'x' ? resolvedValue : 1,\n height: axis === 'y' ? resolvedValue : 1,\n minHeight: axis === 'y' ? resolvedValue : 1,\n }\n }),\n}))\n\ninterface SpacerOptions {\n axis?: 'x' | 'y'\n size: ResponsiveProp<Spacing>\n}\n\nexport interface SpacerProps extends HTMLQdsProps<'span'>, SpacerOptions {}\nexport const Spacer = forwardRef<HTMLSpanElement, SpacerProps>((props, forwardedRef) => {\n const { axis = 'y', size, ...restProps } = props\n\n return <StyledSpan ref={forwardedRef} aria-hidden=\"true\" size={size} axis={axis} {...restProps} />\n})\n","import type { ReactNode } from 'react'\nimport { Fragment, forwardRef } from 'react'\nimport styled from '@emotion/styled'\nimport isPropValid from '@emotion/is-prop-valid'\n\nimport type { Merge } from '../../types'\nimport type { Theme } from '../../theme'\nimport type * as Polymorphic from '../../utils/polymorphic'\nimport type { ResponsiveProp } from '../../styles/responsive'\nimport { toMediaQueries } from '../../styles/responsive'\n\nimport { getValidChildren } from './stack.utils'\nimport type { AlignItems, FlexDirection, JustifyContent, FlexWrap } from './stack.types'\n\ntype StyledStackProps = Merge<\n StackOptions,\n {\n direction: ResponsiveProp<FlexDirection>\n justifyContent: ResponsiveProp<JustifyContent>\n alignItems: ResponsiveProp<AlignItems>\n gap: ResponsiveProp<GapProp>\n }\n>\nconst StyledStack = styled('div', { shouldForwardProp: isPropValid })<StyledStackProps>(\n ({ theme, wrap, gap }) => ({\n display: 'flex',\n flexWrap: wrap,\n ...toMediaQueries(gap, (currentValue) => ({ gap: theme.spacing[currentValue] })),\n }),\n ({ justifyContent }) => ({\n ...toMediaQueries(justifyContent, (currentValue) => ({ justifyContent: currentValue })),\n }),\n ({ alignItems }) => ({\n ...toMediaQueries(alignItems, (currentValue) => ({ alignItems: currentValue })),\n }),\n // Note that this has to be a separate object to avoid\n // the media queries from `expandResponsiveProp` to be overridden\n // when both direction and gap are responsive\n ({ direction }) => ({\n ...toMediaQueries(direction, (currentValue) => ({ flexDirection: currentValue })),\n }),\n)\n\ntype GapProp = keyof Theme['spacing']\ninterface StackOptions {\n /**\n * The direction of the stack.\n * @default 'column'\n */\n direction?: ResponsiveProp<FlexDirection>\n /**\n * The CSS `justify-content` property.\n * Controls the alignment of items on the main axis.\n */\n justifyContent?: ResponsiveProp<JustifyContent>\n /**\n * The CSS `align-items` property.\n * Controls the alignment of items on the cross axis.\n */\n alignItems?: ResponsiveProp<AlignItems>\n /**\n * The CSS `flex-wrap` property.\n * Controls whether children can wrap onto multiple lines.\n * @default 'nowrap'\n */\n wrap?: FlexWrap\n /**\n * The gap between each child element.\n */\n gap?: ResponsiveProp<GapProp>\n /**\n * A divider element to be rendered between each child element.\n *\n * _Note: For the divider to be rendered, the child elements can't be loose strings or numbers.\n * Wrap them in a `div` or other element._\n */\n divider?: ReactNode\n}\n\ntype StackComponent = Polymorphic.ForwardRefComponent<'div', StackOptions>\nexport type StackProps = Polymorphic.PropsOf<StackComponent>\n\nexport const Stack = forwardRef((props, forwardedRef) => {\n const {\n as,\n children,\n direction = 'column',\n justifyContent = 'flex-start',\n alignItems = 'stretch',\n divider,\n gap = '0x',\n ...restProps\n } = props\n\n const hasDivider = Boolean(divider)\n\n const resolvedChildren = !hasDivider\n ? children\n : getValidChildren(children).map((child, index, validChildren) => {\n // Prefer provided child key and fallback to index\n const key = typeof child.key !== 'undefined' ? child.key : index\n const isLast = index + 1 === validChildren.length\n\n const currentDivider = isLast ? null : divider\n\n return (\n <Fragment key={key}>\n {child}\n {currentDivider}\n </Fragment>\n )\n })\n\n return (\n <StyledStack\n as={as}\n ref={forwardedRef}\n direction={direction}\n justifyContent={justifyContent}\n alignItems={alignItems}\n gap={gap}\n {...restProps}\n >\n {resolvedChildren}\n </StyledStack>\n )\n}) as StackComponent\n","import type { ReactElement, ReactNode } from 'react'\nimport { Children, isValidElement } from 'react'\n\n/**\n * Gets only the valid children of a component,\n * and ignores any nullish or falsy child.\n */\nexport function getValidChildren(children: ReactNode) {\n return Children.toArray(children).filter((child) => isValidElement(child)) as ReactElement[]\n}\n","import styled from '@emotion/styled'\nimport * as RadixSwitch from '@radix-ui/react-switch'\nimport { CheckIcon } from 'lucide-react'\nimport { forwardRef } from 'react'\n\nimport { useStableId } from '../../hooks'\nimport { pxToRem } from '../../styles'\nimport { Label } from '../label'\n\ninterface SwitchOptions {\n /**\n * The label for the switch\n */\n label: string\n /**\n * The text that appears below the label\n * to provide additional guidance to the user\n */\n helperText?: string\n /**\n * The checked state of the checkbox when it is initially rendered. Use when you do not need to control its checked state.\n */\n isDefaultChecked?: boolean\n /**\n * If `true`, the switch will be checked\n */\n isChecked?: boolean\n /**\n * If `true`, the switch will be disabled and\n * cannot be interacted with\n */\n isDisabled?: boolean\n /**\n * If `true`, indicates that the switch is required\n */\n isRequired?: boolean\n onCheckedChange?: (isChecked: boolean) => void\n}\n\nexport interface SwitchProps\n extends Omit<RadixSwitch.SwitchProps, 'asChild' | keyof SwitchOptions>,\n SwitchOptions {}\n\nexport const Switch = forwardRef<HTMLButtonElement, SwitchProps>((props, forwardedRef) => {\n const {\n id: idProp,\n label,\n helperText,\n defaultChecked: hasHtmlDefaultCheckedAttr,\n isDefaultChecked: isDefaultCheckedProp,\n isChecked: isCheckedProp,\n checked: hasHtmlCheckedAttr,\n disabled: hasHtmlDisabledAttr,\n isDisabled: isDisabledProp,\n isRequired: isRequiredProp,\n required: hasHtmlRequiredAttr,\n 'aria-labelledby': ariaLabelledByProp,\n 'aria-describedby': ariaDescribedByProp,\n onCheckedChange,\n ...restProps\n } = props\n\n const id = useStableId(idProp)\n\n const isDefaultChecked = isDefaultCheckedProp || hasHtmlDefaultCheckedAttr\n const isChecked = isCheckedProp || hasHtmlCheckedAttr\n const isDisabled = isDisabledProp || hasHtmlDisabledAttr\n const isRequired = isRequiredProp || hasHtmlRequiredAttr\n\n const labelId = `${id}-label`\n const ariaLabelledBy = [labelId, ariaLabelledByProp].filter(Boolean).join(' ')\n\n const hasHelperText = Boolean(helperText)\n const helperTextId = hasHelperText ? `${id}-helper-text` : undefined\n const ariaDescribedBy = [helperTextId, ariaDescribedByProp].filter(Boolean).join(' ') || undefined\n\n return (\n <SwitchWrapper>\n <SwitchTexts>\n <SwitchLabel id={labelId} htmlFor={id} data-disabled={isDisabled ? '' : undefined}>\n {label}\n </SwitchLabel>\n {hasHelperText && (\n <SwitchHelperText id={helperTextId} data-disabled={isDisabled ? '' : undefined}>\n {helperText}\n </SwitchHelperText>\n )}\n </SwitchTexts>\n <SwitchRoot\n id={id}\n ref={forwardedRef}\n defaultChecked={isDefaultChecked}\n checked={isChecked}\n disabled={isDisabled}\n required={isRequired}\n aria-labelledby={ariaLabelledBy}\n aria-describedby={ariaDescribedBy}\n onCheckedChange={(isChecked) => onCheckedChange?.(isChecked)}\n {...restProps}\n >\n <SwitchThumb>\n <CheckIcon data-part=\"switch-icon\" size={12} absoluteStrokeWidth strokeWidth={2} />\n </SwitchThumb>\n </SwitchRoot>\n </SwitchWrapper>\n )\n})\n\nconst SwitchLabel = styled(Label)(() => ({\n marginTop: pxToRem(6),\n}))\n\nconst SwitchHelperText = styled.div(({ theme }) => ({\n flexGrow: 1,\n flexShrink: 1,\n color: theme.colors.text.subtle,\n cursor: 'default',\n ...theme.typography.body.sm,\n '&[data-disabled]': {\n opacity: 0.4,\n },\n}))\n\nconst SwitchWrapper = styled.div(({ theme }) => ({\n display: 'flex',\n gap: theme.spacing['4x'],\n alignItems: 'start',\n}))\n\nconst SwitchTexts = styled.div(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n flexShrink: 1,\n justifyContent: 'space-between',\n gap: theme.sizes['2x'],\n}))\n\nconst SwitchRoot = styled(RadixSwitch.Root)(({ theme }) => ({\n flexGrow: 0,\n flexShrink: 0,\n flexBasis: 'auto',\n width: pxToRem(56),\n height: pxToRem(32),\n backgroundColor: theme.colors.core.gray40,\n transition: 'background-color 200ms',\n borderRadius: theme.radii.full,\n '&:hover:not([data-disabled])': {\n backgroundColor: theme.colors.core.gray30,\n },\n '&[data-disabled]': {\n opacity: 0.4,\n },\n '&[data-state=\"checked\"]': {\n backgroundColor: theme.colors.bg.brandSecondary,\n '[data-part=\"switch-icon\"]': {\n opacity: 1,\n },\n },\n '&:hover[data-state=\"checked\"]': {\n backgroundColor: theme.colors.bg.brandSecondaryHover,\n },\n '[data-part=\"switch-icon\"]': {\n opacity: 0,\n transition: 'opacity 200ms',\n },\n}))\n\nconst SwitchThumb = styled(RadixSwitch.Thumb)(({ theme }) => ({\n display: 'flex',\n flexGrow: 0,\n flexShrink: 0,\n flexBasis: 'auto',\n justifyContent: 'center',\n alignItems: 'center',\n width: theme.sizes['6x'],\n height: theme.sizes['6x'],\n boxShadow: theme.shadows.sm,\n backgroundColor: theme.colors.bg.default,\n borderRadius: theme.radii.full,\n transition: 'transform 300ms',\n transform: `translateX(${pxToRem(4)})`,\n willChange: 'transform',\n '&[data-state=\"checked\"]': {\n transform: `translateX(${pxToRem(28)})`,\n },\n '&[data-disabled]': {\n boxShadow: theme.shadows.none,\n },\n}))\n","import { forwardRef } from 'react'\nimport styled from '@emotion/styled'\n\nimport { useFormField } from '../../hooks'\nimport type { HTMLQdsProps } from '../../types'\nimport { Label } from '../label'\nimport type { TextareaBaseOptions } from '../primitives/textarea-base'\nimport { TextareaBase } from '../primitives/textarea-base'\nimport { ErrorMessage, FormField, HelperText } from '../_internal'\nimport { useTranslation } from '../../i18n/use-translation'\n\nconst OptionalText = styled.span(({ theme }) => ({\n ...theme.typography.body.sm,\n color: theme.colors.text.subtle,\n}))\n\ninterface TextareaOptions extends TextareaBaseOptions {\n /**\n * The label for the textarea field\n */\n label: string\n /**\n * The error message to display if `isInvalid` is `true`\n */\n errorMessage?: string\n /**\n * Text that provides additional guidance to the user\n */\n helperText?: string\n /**\n * If `true`, the input will display an optional indicator.\n * If the `isRequired` prop is also `true`, this prop will be ignored.\n */\n isOptional?: boolean\n}\n\ntype OmittedProps = 'children' | 'readOnly' | 'size'\n\nexport interface TextareaProps\n extends Omit<HTMLQdsProps<'textarea'>, OmittedProps>,\n TextareaOptions {}\n\nexport const Textarea = forwardRef<HTMLTextAreaElement, TextareaProps>((props, forwardedRef) => {\n const {\n label,\n isInvalid,\n errorMessage,\n helperText,\n isRequired,\n isOptional: isOptionalProp,\n ...restProps\n } = props\n const {\n getLabelProps,\n getFieldProps: getTextareaProps,\n getErrorMessageProps,\n getHelperTextProps,\n } = useFormField<'textarea'>(props)\n const { t } = useTranslation()\n\n const helperTextElement = helperText ? (\n <HelperText {...getHelperTextProps()}>{helperText}</HelperText>\n ) : null\n\n const shouldShowErrorMessage = isInvalid && errorMessage\n const errorMessageElement = shouldShowErrorMessage ? (\n <ErrorMessage {...getErrorMessageProps()}>{errorMessage}</ErrorMessage>\n ) : null\n\n const isOptional = Boolean(!isRequired && isOptionalProp)\n\n return (\n <FormField>\n <Label {...getLabelProps()}>\n {label}\n {isOptional && <OptionalText>{` (${t('optional')})`}</OptionalText>}\n </Label>\n <TextareaBase ref={forwardedRef} {...getTextareaProps(restProps)} />\n {errorMessageElement || helperTextElement}\n </FormField>\n )\n})\n"]}