@yahoo/uds 0.1.20 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. package/cli/README.md +2 -8
  2. package/cli/bunfig.toml +3 -0
  3. package/cli/commands/expo/_setup.ts +1 -0
  4. package/cli/commands/expo/build.ts +1 -1
  5. package/cli/commands/expo/launch.ts +1 -1
  6. package/cli/commands/purge.ts +1 -1
  7. package/cli/commands/sync.ts +16 -4
  8. package/cli/commands/uds.ts +4 -1
  9. package/cli/commands/version.ts +1 -1
  10. package/cli/preload.ts +32 -0
  11. package/cli/utils/configWorker.ts +30 -11
  12. package/cli/utils/getCommandHelp.ts +22 -13
  13. package/cli/utils/purgeCSS.test.ts +99 -0
  14. package/cli/utils/purgeCSS.ts +5 -7
  15. package/cli/utils/setupConfigWorker.ts +8 -38
  16. package/cli/utils/types.ts +5 -2
  17. package/dist/Image.native-C6kOWgnf.d.ts +38 -0
  18. package/dist/Image.native-VeXt5aeI.d.cts +38 -0
  19. package/dist/VStack-BSD9TbBd.d.cts +114 -0
  20. package/dist/VStack-Dk3-8IyU.d.ts +114 -0
  21. package/dist/experimental/index.cjs +1 -0
  22. package/dist/experimental/index.d.cts +229 -0
  23. package/dist/experimental/index.d.ts +229 -0
  24. package/dist/experimental/index.js +1 -0
  25. package/dist/experimental/index.native.cjs +1 -0
  26. package/dist/experimental/index.native.d.cts +51 -0
  27. package/dist/experimental/index.native.d.ts +51 -0
  28. package/dist/experimental/index.native.js +1 -0
  29. package/dist/fixtures/index.cjs +1 -1
  30. package/dist/fixtures/index.d.cts +15 -1
  31. package/dist/fixtures/index.d.ts +15 -1
  32. package/dist/fixtures/index.js +1 -1
  33. package/dist/index.cjs +1 -1
  34. package/dist/index.d.cts +134 -456
  35. package/dist/index.d.ts +134 -456
  36. package/dist/index.js +1 -1
  37. package/dist/{index.native-C5-xv9Na.d.cts → index.native-CisPq4BI.d.ts} +1 -1
  38. package/dist/{index.native-DqJv5EjY.d.ts → index.native-DJlx-bfM.d.cts} +1 -1
  39. package/dist/index.native.cjs +1 -1
  40. package/dist/index.native.d.cts +11 -83
  41. package/dist/index.native.d.ts +11 -83
  42. package/dist/index.native.js +1 -1
  43. package/dist/tailwindPlugin.cjs +1 -1
  44. package/dist/tailwindPlugin.d.cts +1 -1
  45. package/dist/tailwindPlugin.d.ts +1 -1
  46. package/dist/tailwindPlugin.js +1 -1
  47. package/dist/tailwindPurge.cjs +1 -1
  48. package/dist/tailwindPurge.js +1 -1
  49. package/dist/tokens/index.cjs +1 -1
  50. package/dist/tokens/index.d.cts +2 -2
  51. package/dist/tokens/index.d.ts +2 -2
  52. package/dist/tokens/index.js +1 -1
  53. package/dist/tokens/index.native.cjs +1 -1
  54. package/dist/tokens/index.native.d.cts +2 -2
  55. package/dist/tokens/index.native.d.ts +2 -2
  56. package/dist/tokens/index.native.js +1 -1
  57. package/dist/tokens/parseTokens.cjs +1 -1
  58. package/dist/tokens/parseTokens.d.cts +1 -1
  59. package/dist/tokens/parseTokens.d.ts +1 -1
  60. package/dist/tokens/parseTokens.js +1 -1
  61. package/dist/tokens/parseTokens.native.d.cts +1 -1
  62. package/dist/tokens/parseTokens.native.d.ts +1 -1
  63. package/dist/{types-ZrxnB4cM.d.cts → types-CzJpH_Oi.d.cts} +2 -2
  64. package/dist/{types-ZrxnB4cM.d.ts → types-CzJpH_Oi.d.ts} +2 -2
  65. package/dist/{types-BO2kLynl.d.cts → types-FO65RM-W.d.cts} +1 -1
  66. package/dist/{types-BO2kLynl.d.ts → types-FO65RM-W.d.ts} +1 -1
  67. package/package.json +19 -2
@@ -1,44 +1,16 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { i as UniversalImageProps, j as UniversalAvatarProps, k as UniversalBoxProps, l as UniversalPressableProps, m as UniversalButtonProps, n as UniversalStackProps, o as UniversalTextProps, p as UniversalIconProps, q as UniversalIconButtonProps, r as ColorModeForApp, a as ColorsConfig, C as ColorMode, s as ScaleModeForApp, t as ScaleModeConfig, S as ScaleMode, M as Modes, U as UniversalTokensConfig, u as BackgroundStyleProps, v as BorderStyleProps, w as LayoutStyleProps, x as FlexStyleProps, y as SpacingStyleProps, T as TextStyleProps, O as OpacityStyleProps, z as SizingStyleProps, I as ImageStyleProps, A as CustomSizingStyleProps, D as AvatarSizeConfig, G as IconSizeConfig, J as SpacingConfig, K as BorderRadiusConfig, N as BorderWidthConfig, Q as FontFamilyConfig, R as FontSizeConfig, e as FontWeightConfig, V as LineHeightConfig, W as TextTransformConfig, Z as ZIndexConfig, g as Elevation, h as FontFamilyGlobalConfig, X as StyleProps } from './types-ZrxnB4cM.js';
3
- export { _ as AlwaysPalette, $ as AlwaysPaletteAlias, a0 as Animation, a1 as AriaAttribute, a2 as AspectRatio, a3 as AspectRatioConfig, a4 as AvatarShape, a5 as AvatarSize, a6 as BackgroundColor, B as BackgroundPalette, a7 as BackgroundPaletteAlias, d as BackgroundWashPalette, a8 as BackgroundWashPaletteAlias, a9 as BorderRadius, aa as BorderWidth, ab as BoxShadowConfig, ac as ButtonSize, ad as ButtonVariant, ae as ConfigurableTextProperty, c as CorePalette, af as CorePaletteAlias, ag as DataAttribute, ah as Display, E as ElevationConfig, ai as ElevationPaletteAlias, aj as Flex, ak as FlexAlignContent, al as FlexAlignItems, am as FlexAlignSelf, an as FlexBasis, ao as FlexDirection, ap as FlexGrow, aq as FlexJustifyContent, ar as FlexShrink, as as FlexWrap, at as FontFamilyGlobalAlias, au as FontSize, av as FontWeightDescriptive, f as FontWeightNumeric, aw as ForegroundColor, F as ForegroundPalette, ax as ForegroundPaletteAlias, ay as Height, az as HighContrastMode, H as Hue, b as HueStep, aA as IconName, aB as IconSize, aC as LetterSpacing, aD as LineClampAlias, aE as LineColor, aF as LineHeight, L as LinePalette, aG as LinePaletteAlias, aH as MaxHeight, aI as MaxWidth, aJ as MinHeight, aK as MinWidth, aL as Opacity, aM as Overflow, aN as Palette, aO as PaletteConfig, aP as PaletteType, P as PaletteValue, aQ as PlatformMode, aR as Position, aS as RegionMode, aT as ScaleConfig, aU as SpacingAlias, aV as SpectrumColor, aW as SpectrumConfig, aX as StateStyleProps, aY as TextTransform, aZ as TextVariant, a_ as TransitionDelay, a$ as TransitionDuration, b0 as TransitionTiming, b1 as UniversalTextInputProps, b2 as Width, b3 as ZIndex, Y as alwaysPalette } from './types-ZrxnB4cM.js';
4
- import { ImageProps as ImageProps$1, ImageStyle } from 'expo-image';
5
1
  import * as react from 'react';
2
+ import { k as UniversalBoxProps, m as UniversalStackProps, q as UniversalTextProps, p as UniversalIconProps, W as ColorModeForApp, a as ColorsConfig, C as ColorMode, aM as ScaleModeForApp, aL as ScaleModeConfig, S as ScaleMode, aA as Modes, U as UniversalTokensConfig, I as BackgroundStyleProps, N as BorderStyleProps, ap as LayoutStyleProps, aa as FlexStyleProps, aQ as SpacingStyleProps, aV as TextStyleProps, aC as OpacityStyleProps, aN as SizingStyleProps, ao as ImageStyleProps, Z as CustomSizingStyleProps, z as AvatarSizeConfig, an as IconSizeConfig, aP as SpacingConfig, M as BorderRadiusConfig, Q as BorderWidthConfig, ac as FontFamilyConfig, af as FontSizeConfig, e as FontWeightConfig, au as LineHeightConfig, aX as TextTransformConfig, b3 as ZIndexConfig, g as Elevation, h as FontFamilyGlobalConfig, aU as StyleProps } from './types-CzJpH_Oi.js';
3
+ export { A as AlwaysPalette, s as AlwaysPaletteAlias, t as Animation, u as AriaAttribute, v as AspectRatio, w as AspectRatioConfig, x as AvatarShape, y as AvatarSize, D as BackgroundColor, B as BackgroundPalette, G as BackgroundPaletteAlias, d as BackgroundWashPalette, J as BackgroundWashPaletteAlias, K as BorderRadius, O as BorderWidth, R as BoxShadowConfig, T as ButtonSize, V as ButtonVariant, X as ConfigurableTextProperty, c as CorePalette, Y as CorePaletteAlias, _ as DataAttribute, $ as Display, E as ElevationConfig, a0 as ElevationPaletteAlias, a1 as Flex, a2 as FlexAlignContent, a3 as FlexAlignItems, a4 as FlexAlignSelf, a5 as FlexBasis, a6 as FlexDirection, a7 as FlexGrow, a8 as FlexJustifyContent, a9 as FlexShrink, ab as FlexWrap, ad as FontFamilyGlobalAlias, ae as FontSize, ag as FontWeightDescriptive, f as FontWeightNumeric, ah as ForegroundColor, F as ForegroundPalette, ai as ForegroundPaletteAlias, aj as Height, ak as HighContrastMode, H as Hue, b as HueStep, al as IconName, am as IconSize, aq as LetterSpacing, ar as LineClampAlias, as as LineColor, at as LineHeight, L as LinePalette, av as LinePaletteAlias, aw as MaxHeight, ax as MaxWidth, ay as MinHeight, az as MinWidth, aB as Opacity, aD as Overflow, aE as Palette, aF as PaletteConfig, aG as PaletteType, P as PaletteValue, aH as PlatformMode, aI as Position, aJ as RegionMode, aK as ScaleConfig, aO as SpacingAlias, aR as SpectrumColor, aS as SpectrumConfig, aT as StateStyleProps, aW as TextTransform, aY as TextVariant, aZ as TransitionDelay, a_ as TransitionDuration, a$ as TransitionTiming, i as UniversalAvatarProps, j as UniversalButtonProps, n as UniversalIconButtonProps, o as UniversalImageProps, l as UniversalPressableProps, b0 as UniversalTextInputProps, b1 as Width, b2 as ZIndex, r as alwaysPalette } from './types-CzJpH_Oi.js';
6
4
  import * as react_native from 'react-native';
7
- import { ViewProps, View, PressableProps as PressableProps$1, StyleProp, ViewStyle, TextProps as TextProps$1, Text as Text$1, ScrollViewProps, ScrollView, TextStyle } from 'react-native';
8
- import { S as SetState, C as CVA } from './types-BO2kLynl.js';
5
+ import { ViewProps, View, TextProps as TextProps$1, Text as Text$1, ScrollViewProps, ScrollView, StyleProp, ViewStyle, TextStyle } from 'react-native';
6
+ export { a as IconButton, b as IconButtonProps, c as Image, I as ImageProps, d as Pressable, P as PressableProps } from './Image.native-C6kOWgnf.js';
7
+ import * as react_jsx_runtime from 'react/jsx-runtime';
8
+ import { S as SetState, a as CVA } from './types-FO65RM-W.js';
9
9
  import { EdgeInsets } from 'react-native-safe-area-context';
10
- export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from './index.native-DqJv5EjY.js';
10
+ import { ImageStyle } from 'expo-image';
11
+ export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from './index.native-CisPq4BI.js';
11
12
  export { AVATAR_SIZE_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, FONT_FAMILY_PREFIX, FONT_ICONS_CSS_VAR, FONT_SANS_BETA_CSS_VAR, FONT_SANS_CONDENSED_CSS_VAR, FONT_SANS_CSS_VAR, FONT_SERIF_DISPLAY_CSS_VAR, FONT_SERIF_TEXT_CSS_VAR, FONT_SIZE_PREFIX, FONT_WEIGHT_PREFIX, ICON_SIZE_PREFIX, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, SMALL_SCALE_MODE_CLASSNAME, SPACING_PREFIX, SPECTRUM_COLOR_PREFIX, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, entries } from './tokens/index.js';
12
13
 
13
- interface ImageProps extends Omit<ImageProps$1, 'alt' | 'source'>, UniversalImageProps {
14
- }
15
- /**
16
- * An image element
17
- */
18
- declare function Image({ width: imageWidth, height: imageHeight, src, alt, contentFit, elevation, backgroundColor, backgroundColorOnActive, backgroundColorOnHover, backgroundColorOnChecked, opacity, bordered, borderedTop, borderedBottom, borderedStart, borderedEnd, borderedHorizontal, borderedVertical, borderRadius, borderTopStartRadius, borderTopEndRadius, borderBottomStartRadius, borderBottomEndRadius, borderColor, borderColorOnActive, borderColorOnFocus, borderColorOnChecked, borderColorOnHover, borderStartColor, borderEndColor, borderTopColor, borderBottomColor, borderWidth, borderVerticalWidth, borderHorizontalWidth, borderStartWidth, borderEndWidth, borderTopWidth, borderBottomWidth, alignContent, alignItems, alignSelf, flex, flexDirection, flexGrow, flexShrink, flexWrap, justifyContent, flexBasis, display, zIndex, overflow, overflowX, overflowY, position, spacing, spacingHorizontal, spacingVertical, spacingBottom, spacingEnd, spacingStart, spacingTop, offset, offsetVertical, offsetHorizontal, offsetBottom, offsetEnd, offsetStart, offsetTop, columnGap, rowGap, minHeight, maxHeight, minWidth, maxWidth, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
19
-
20
- interface AvatarProps extends ImageProps, UniversalAvatarProps {
21
- }
22
- /**
23
- * An image element with a fallback for representing the user.
24
- * @example
25
- ```tsx
26
- import { Avatar } from "@yahoo/uds"
27
-
28
- export function AvatarDemo() {
29
- return (
30
- <Avatar
31
- alt="Colm Tuite"
32
- src="https://images.unsplash.com/photo-1492633423870-43d1cd2775eb?&w=128&h=128&dpr=2&q=80"
33
- size="l"
34
- shape="full"
35
- />
36
- )
37
- }
38
- ```
39
- */
40
- declare function Avatar({ size: avatarSize, shape: borderRadius, contentFit, ...props }: AvatarProps): react_jsx_runtime.JSX.Element;
41
-
42
14
  interface BoxProps extends UniversalBoxProps, ViewProps {
43
15
  }
44
16
  /**
@@ -63,33 +35,6 @@ interface BoxProps extends UniversalBoxProps, ViewProps {
63
35
  */
64
36
  declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<View>>;
65
37
 
66
- type NativePressableProps = Omit<PressableProps$1, 'children' | 'style' | 'onPress'> & {
67
- style?: StyleProp<ViewStyle>;
68
- };
69
- interface PressableProps extends UniversalPressableProps, NativePressableProps {
70
- }
71
- declare const Pressable: react.ForwardRefExoticComponent<PressableProps & react.RefAttributes<View>>;
72
-
73
- interface ButtonProps extends PressableProps, UniversalButtonProps {
74
- }
75
- /**
76
- * A button element that can be used to trigger an action.
77
- * @example
78
- ```tsx
79
- import { Button } from "@yahoo/uds"
80
-
81
- export function ButtonDemo() {
82
- return (
83
- <HStack gap="2">
84
- <Button variant="accent" onPress={console.log}>Save</Button>
85
- <Button variant="accent-outline" onPress={console.log}>Cancel</Button>
86
- </HStack>
87
- )
88
- }
89
- ```
90
- */
91
- declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<View>>;
92
-
93
38
  type HStackProps = UniversalStackProps & ViewProps;
94
39
  declare const HStack: react.ForwardRefExoticComponent<UniversalStackProps & ViewProps & react.RefAttributes<View>>;
95
40
 
@@ -102,30 +47,13 @@ interface IconProps extends UniversalIconProps, TextPropsOriginal {
102
47
  }
103
48
  declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<Text$1>>;
104
49
 
105
- interface IconButtonProps extends PressableProps, UniversalIconButtonProps {
106
- }
107
- /**
108
- * An icon button element that can be used to trigger an action.
109
- * @example
110
- ```tsx
111
- import { IconButton } from "@yahoo/uds"
112
-
113
- export function IconButtonDemo() {
114
- return (
115
- <IconButton variant="accent-outline" name="close" onPress={console.log} />
116
- )
117
- }
118
- ```
119
- */
120
- declare const IconButton: react.ForwardRefExoticComponent<IconButtonProps & react.RefAttributes<View>>;
50
+ type VStackProps = UniversalStackProps & ViewProps;
51
+ declare const VStack: react.ForwardRefExoticComponent<UniversalStackProps & ViewProps & react.RefAttributes<View>>;
121
52
 
122
53
  interface ScreenProps extends ScrollViewProps, React.PropsWithChildren {
123
54
  }
124
55
  declare const Screen: react.ForwardRefExoticComponent<ScreenProps & react.RefAttributes<ScrollView>>;
125
56
 
126
- type VStackProps = UniversalStackProps & ViewProps;
127
- declare const VStack: react.ForwardRefExoticComponent<UniversalStackProps & ViewProps & react.RefAttributes<View>>;
128
-
129
57
  declare function useAppState(): "background" | "active" | "inactive" | "unknown" | "extension";
130
58
 
131
59
  /** Update font scale on app change. RN does not offer a hook for tapping into this like useColorScheme so we have to manually handle based on app state. */
@@ -1476,4 +1404,4 @@ interface ThemeProviderProps extends React.PropsWithChildren {
1476
1404
  }
1477
1405
  declare function ThemeProvider({ children, colorModeForApp, scaleModeForApp, config, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
1478
1406
 
1479
- export { Avatar, type AvatarProps, AvatarSizeConfig, BackgroundStyleProps, BorderRadiusConfig, BorderStyleProps, BorderWidthConfig, Box, type BoxProps, Button, type ButtonProps, ColorMode, ColorModeContext, ColorModeForApp, ColorModeForAppContext, ColorModeForAppContextUpdater, ColorModeForAppProvider, type ColorModeForAppProviderProps, ColorModeForDeviceContext, ColorModeForDeviceProvider, type ColorModeForDeviceProviderProps, ColorModeProvider, type ColorModeProviderProps, ColorsConfig, ComputedTokensContext, ComputedTokensProvider, type ComputedTokensProviderProps, CustomSizingStyleProps, DEFAULT_STYLER, Elevation, FlexStyleProps, FontFamilyConfig, FontFamilyGlobalConfig, FontSizeConfig, FontWeightConfig, HStack, type HStackProps, Icon, IconButton, type IconButtonProps, type IconProps, IconSizeConfig, Image, type ImageProps, ImageStyleProps, LayoutStyleProps, LineHeightConfig, Modes, OpacityStyleProps, Pressable, type PressableProps, type ReactNativeStyle, ScaleMode, ScaleModeConfig, ScaleModeContext, ScaleModeForApp, ScaleModeForAppContext, ScaleModeForAppProvider, type ScaleModeForAppProviderProps, ScaleModeForAppUpdaterContext, ScaleModeForDeviceContext, ScaleModeForDeviceProvider, type ScaleModeForDeviceProviderProps, ScaleModeProvider, type ScaleModeProviderProps, Screen, type ScreenProps, SetState, SizingStyleProps, SpacingConfig, SpacingStyleProps, StyleProps, StyleProvider, Text, type TextProps, type TextPropsOriginal, TextStyleProps, TextTransformConfig, ThemeProvider, type ThemeProviderProps, UniversalAvatarProps, UniversalBoxProps, UniversalButtonProps, UniversalIconButtonProps, UniversalIconProps, UniversalImageProps, UniversalPressableProps, UniversalStackProps, UniversalTextProps, UniversalTokensConfig, VStack, type VStackProps, ZIndexConfig, createStyler, useAppState, useColorMode, useColorModeForApp, useColorModeForDevice, useComputedTokens, useDeviceFontScale, useScaleMode, useScaleModeForDevice, useStyles, useTokens };
1407
+ export { AvatarSizeConfig, BackgroundStyleProps, BorderRadiusConfig, BorderStyleProps, BorderWidthConfig, Box, type BoxProps, ColorMode, ColorModeContext, ColorModeForApp, ColorModeForAppContext, ColorModeForAppContextUpdater, ColorModeForAppProvider, type ColorModeForAppProviderProps, ColorModeForDeviceContext, ColorModeForDeviceProvider, type ColorModeForDeviceProviderProps, ColorModeProvider, type ColorModeProviderProps, ColorsConfig, ComputedTokensContext, ComputedTokensProvider, type ComputedTokensProviderProps, CustomSizingStyleProps, DEFAULT_STYLER, Elevation, FlexStyleProps, FontFamilyConfig, FontFamilyGlobalConfig, FontSizeConfig, FontWeightConfig, HStack, type HStackProps, Icon, type IconProps, IconSizeConfig, ImageStyleProps, LayoutStyleProps, LineHeightConfig, Modes, OpacityStyleProps, type ReactNativeStyle, ScaleMode, ScaleModeConfig, ScaleModeContext, ScaleModeForApp, ScaleModeForAppContext, ScaleModeForAppProvider, type ScaleModeForAppProviderProps, ScaleModeForAppUpdaterContext, ScaleModeForDeviceContext, ScaleModeForDeviceProvider, type ScaleModeForDeviceProviderProps, ScaleModeProvider, type ScaleModeProviderProps, Screen, type ScreenProps, SetState, SizingStyleProps, SpacingConfig, SpacingStyleProps, StyleProps, StyleProvider, Text, type TextProps, type TextPropsOriginal, TextStyleProps, TextTransformConfig, ThemeProvider, type ThemeProviderProps, UniversalBoxProps, UniversalIconProps, UniversalStackProps, UniversalTextProps, UniversalTokensConfig, VStack, type VStackProps, ZIndexConfig, createStyler, useAppState, useColorMode, useColorModeForApp, useColorModeForDevice, useComputedTokens, useDeviceFontScale, useScaleMode, useScaleModeForDevice, useStyles, useTokens };
@@ -1 +1 @@
1
- var Be={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},He={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var Oe={none:0,thin:1,medium:2,thick:2},_e={none:0,thin:1,medium:2,thick:4};var Ve={1:[{color:"rgba(0, 0, 0, 0.08)",offsetX:0,offsetY:2,blurRadius:4,spreadRadius:0},{color:"rgba(0, 0, 0, 0.10)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],2:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:8,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],3:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:16,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:2,spreadRadius:0}]};var Ie={auto:"auto",square:"1 / 1",video:"16 / 9"},De={auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"};var Le={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},backgroundWash:{"alert-wash":{hue:"red",step:"1"},"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"0"},"elevation-2":{hue:"gray",step:"0"},"elevation-3":{hue:"gray",step:"0"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},Ne={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},backgroundWash:{"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"alert-wash":{hue:"red",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"2"},"elevation-2":{hue:"gray",step:"3"},"elevation-3":{hue:"gray",step:"4"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},Oo={white:"#ffffff",black:"#000000",transparent:"transparent"};var ce={s:16,m:24,l:32},Ge=ce,me={s:16,m:24,l:32},$e=me;var Ue={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},Xe={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var Ye={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"126 31 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"122 122 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"75 133 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"109 110 255",7:"93 94 255",8:"64 64 227",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},je={blue:{0:"0 10 38",1:"0 14 57",2:"0 19 75",3:"0 29 102",4:"0 44 129",5:"0 63 156",6:"0 87 183",7:"0 116 210",8:"17 148 236",9:"18 169 255",10:"99 192 255",11:"125 203 255",12:"150 210 250",13:"182 224 252",14:"213 237 252",15:"240 247 252"},purple:{0:"25 0 38",1:"34 0 57",2:"42 0 75",3:"51 0 102",4:"57 0 125",5:"80 21 176",6:"96 1 210",7:"108 36 242",8:"119 89 255",9:"144 124 255",10:"165 149 248",11:"187 174 249",12:"209 201 251",13:"225 219 252",14:"235 232 254",15:"248 244 255"},pink:{0:"38 0 19",1:"48 0 23",2:"58 0 27",3:"75 0 34",4:"96 0 43",5:"123 0 54",6:"157 0 67",7:"194 0 81",8:"233 0 107",9:"255 0 128",10:"255 54 161",11:"255 101 186",12:"255 150 211",13:"255 186 228",14:"255 212 240",15:"255 229 247"},red:{0:"38 3 0",1:"57 3 0",2:"75 3 0",3:"102 1 0",4:"129 5 0",5:"156 15 12",6:"183 28 27",7:"210 46 47",8:"232 58 62",9:"255 77 82",10:"255 105 109",11:"255 135 141",12:"255 155 161",13:"255 183 188",14:"254 210 214",15:"255 240 241"},yellow:{0:"38 35 0",1:"48 42 0",2:"58 49 0",4:"96 73 0",3:"75 60 0",5:"123 91 0",6:"157 112 0",7:"194 136 0",8:"233 171 0",9:"255 204 0",10:"255 220 79",11:"255 232 102",12:"255 243 138",13:"255 249 163",14:"255 251 197",15:"255 253 238"},green:{0:"7 33 23",1:"7 43 29",2:"8 48 32",3:"8 55 36",4:"11 70 44",5:"14 91 55",6:"18 118 68",7:"23 149 83",8:"29 181 97",9:"26 197 103",10:"55 219 115",11:"91 235 126",12:"128 242 143",13:"169 251 169",14:"213 255 208",15:"247 255 245"},teal:{0:"0 35 38",1:"0 40 43",2:"0 45 49",3:"0 56 60",4:"0 73 76",5:"0 97 99",6:"0 126 127",7:"1 160 159",8:"15 194 190",9:"17 211 205",10:"52 227 222",11:"99 237 231",12:"145 249 243",13:"185 255 251",14:"216 255 252",15:"242 255 254"},gray:{0:"0 0 0",1:"16 21 24",2:"29 34 40",3:"35 42 49",4:"44 54 63",5:"70 78 86",6:"91 99 106",7:"110 119 128",8:"130 138 147",9:"151 158 168",10:"176 185 193",11:"199 205 210",12:"224 228 233",13:"240 243 245",14:"245 248 250",15:"255 255 255"},carbon:{0:"0 0 0",1:"10 10 10",2:"20 20 20",3:"31 31 31",4:"41 41 41",5:"50 50 50",6:"68 68 68",7:"90 90 90",8:"117 117 117",9:"142 142 142",10:"176 176 176",11:"205 205 205",12:"227 227 227",13:"245 245 245",14:"252 251 251",15:"255 255 255"},orange:{0:"38 15 0",1:"46 17 0",2:"54 19 0",3:"67 23 0",4:"86 28 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77",12:"255 161 102",13:"255 192 153",14:"255 224 204",15:"255 246 240"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var Xo=["Helvetica Neue","Helvetica","Arial","sans-serif"],Ze=["Georgia","Times","Times New Roman","serif"],ge={icons:{fallbacks:Xo,name:"yahoo-icons"},sans:{fallbacks:Xo,name:"yahoo-sans"},"sans-beta":{fallbacks:Xo,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:Xo,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:Ze,name:"yahoo-serif-text"},"serif-display":{fallbacks:Ze,name:"yahoo-serif-display"}},fe={display1:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},N={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},ue={display1:"black",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},be={display1:"uppercase",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},he={fontSize:{display1:46,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},ye={fontSize:{display1:46,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...he.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},Yo={fontSize:{display1:47,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...ye.lineHeight,title2:36,title3:32}},Ce={fontSize:{...Yo.fontSize,display1:48,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...Yo.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},Se={fontSize:{display1:50,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...Ce.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},xe={fontSize:{display1:52,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...Se.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},Ke={fontSize:{display1:54,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...xe.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var ve={fontFamily:fe,fontWeight:ue,textTransform:be,avatarSizes:ce,iconSizes:me,borderRadius:Be,borderWidth:Oe,spacing:Ue},jo={fontFamily:fe,fontWeight:ue,textTransform:be,avatarSizes:Ge,iconSizes:$e,borderRadius:He,borderWidth:_e,spacing:Xe},Zo={colorMode:{light:{palette:Le,spectrum:Ye},dark:{palette:Ne,spectrum:je}},scaleMode:{xSmall:{...ve,...he},small:{...ve,...ye},medium:{...ve,...Yo},large:{...jo,...Ce},xLarge:{...jo,...Se},xxLarge:{...jo,...xe},xxxLarge:{...jo,...Ke}},aspectRatio:Ie,elevation:Ve,fontFamily:ge,zIndex:De};var R="uds",Mn=`${R}-spectrum-color`,An=`${R}-font`,Wn=`${R}-icon-size`,zn=`${R}-avatar-size`,Bn=`${R}-border-radius`,Hn=`${R}-border-width`,On=`${R}-spacing`,_n=`${R}-font-size`,Vn=`${R}-line-height`,In=`${R}-font-weight`,Dn=`${R}-text-transform`,Ln=`${R}-color-mode-dark`,Ir=`${R}-color-mode-light`,Nn=`${R}-scale-mode-xsmall`,Gn=`${R}-scale-mode-small`,$n=`${R}-scale-mode-medium`,Dr=`${R}-scale-mode-large`,Un=`${R}-scale-mode-xlarge`,Xn=`${R}-scale-mode-xxlarge`,Yn=`${R}-scale-mode-xxxlarge`,jn=Ir,Zn=Dr,Kn=`--${R}-font-icons`,qn=`--${R}-font-sans`,Jn=`--${R}-font-sans-beta`,Qn=`--${R}-font-sans-condensed`,oa=`--${R}-font-serif-display`,ea=`--${R}-font-serif-text`;var Vo="system",Io="system",Mo="light",Ao="large",ta=!1,na="\u{1F1FA}\u{1F1F8} US";function qe(e){return Object.entries(e)}import{createContext as Zr,memo as Kr,useContext as nr,useMemo as qr}from"react";import{textVariants as Nr}from"@yahoo/uds/fixtures";function Ko(e,r){return Object.keys(e).reduce((t,n,i)=>(t[n]=r(e[n],n,i),t),{})}function Je({spectrum:e,palette:r}){let t=Ko(e,i=>Ko(i,a=>`rgb(${a.replaceAll(" ",",")})`)),n=Ko(r,i=>Object.entries(i).reduce((a,[p,{hue:o,step:s,opacity:f}])=>{let l=e[o][s],d=f?`rgb(${l.replaceAll(" ",",")} / ${f})`:`rgb(${l.replaceAll(" ",",")})`;return{...a,[p]:d}},{}));return{spectrum:t,palette:n}}function Lr(e){let r={};for(let[t,[{color:n,offsetX:i,offsetY:a,blurRadius:p}]]of qe(e)){let o={shadowColor:n,shadowOffset:{width:i,height:a},shadowOpacity:1,shadowRadius:p};r[t]=o}return r}function Qe({colorMode:e,elevation:r,...t}){return{...t,colorMode:{light:Je(e.light),dark:Je(e.dark)},elevation:Lr(r)}}function Pe(e){return typeof e=="boolean"?`${e}`:e===0?"0":e}var _={};function we({colorMode:e,scaleMode:r},t){let{colorMode:n,scaleMode:i,fontFamily:a,...p}=Qe(t),o={fontFamilyGlobal:a,...p,...n[e],...i[r]},s=Object.assign,f=function(L){return function(m){let to={};if(!L?.variants)return s(to,L?.base);let{base:No,variants:ie,defaultVariants:le,compoundVariants:_o}=L;No&&s(to,No);function se(Ho){if(Ho){let{style:zo,...Go}=Ho;for(let $o in Go){let Uo=ie[$o],de=m?.[$o],ze=le?.[$o],pe=Pe(de)||Pe(ze);if(pe&&pe in Uo){let Vr=Uo[pe];s(to,Vr)}}zo&&s(to,zo)}}if(se(m),_o&&_o?.length>0)for(let Ho of _o){let{style:zo,...Go}=Ho;Object.entries(Go).every(([Uo,de])=>m?.[Uo]===de)&&zo&&s(to,zo)}return m?.style&&s(to,m.style),to}},l=o.spacing.none,d=o.spacing[1],c=o.spacing[2],g=o.spacing[3],u=o.spacing[4],b=o.spacing[5],h=o.spacing[6],y=o.spacing[7],C=o.spacing[8],S=o.spacing[9],x=o.spacing[10],v=o.spacing[11],P=o.spacing[12],w=o.spacing[13],T=o.spacing[14],F=o.palette.core.accent,E=o.palette.core.alert,M=o.palette.core.brand,A=o.palette.core.positive,W=o.palette.core.warning,z=Oo.white,B=Oo.black,H=Oo.transparent,ao=o.palette.foreground.muted,io=o.palette.foreground["on-color"],lo=o.palette.foreground.primary,no=o.palette.foreground.secondary,po=o.palette.foreground.tertiary,j=o.palette.backgroundWash["accent-wash"],Z=o.palette.backgroundWash["alert-wash"],K=o.palette.backgroundWash["brand-wash"],q=o.palette.backgroundWash["positive-wash"],J=o.palette.backgroundWash["warning-wash"],$=o.palette.elevation["elevation-1"],U=o.palette.elevation["elevation-2"],X=o.palette.elevation["elevation-3"],Q=o.palette.elevation["elevation-3-inverse"],oo=o.palette.elevation.overlay,eo=o.palette.background.primary,ro=o.palette.background.secondary,O=o.palette.line.primary,V=o.palette.line.secondary,I=o.palette.line.tertiary,D=o.palette.line.muted,k=o.fontFamilyGlobal,co=k.sans.name,mo=k["sans-beta"].name,go=k["sans-condensed"].name,fo=k["serif-text"].name,uo=k["serif-display"].name,bo=k[o.fontFamily.title1].name,ho=k[o.fontFamily.title1].name,yo=k[o.fontFamily.title2].name,Co=k[o.fontFamily.title3].name,So=k[o.fontFamily.title4].name,xo=k[o.fontFamily.headline1].name,vo=k[o.fontFamily.body1].name,Po=k[o.fontFamily.label1].name,wo=k[o.fontFamily.label2].name,To=k[o.fontFamily.caption1].name,ko=k[o.fontFamily.caption2].name,Ro=k[o.fontFamily.legal1].name;function Fo(Y){return!!(typeof Y=="string"&&Nr.includes(Y))}function Eo({style:Y,...L}){let so={},m;Fo(L.fontWeight)?m=o.fontWeight[L.fontWeight]:m="regular";let to=f({variants:{color:{accent:{color:F},alert:{color:E},black:{color:B},brand:{color:M},positive:{color:A},warning:{color:W},white:{color:z},transparent:{color:H},muted:{color:ao},"on-color":{color:io},primary:{color:lo},secondary:{color:no},tertiary:{color:po}},colorChecked:{accent:{color:F},alert:{color:E},black:{color:B},brand:{color:M},positive:{color:A},warning:{color:W},white:{color:z},transparent:{color:H},muted:{color:ao},"on-color":{color:io},primary:{color:lo},secondary:{color:no},tertiary:{color:no}},fontFamily:{icons:{fontFamily:k.icons.name},sans:{fontFamily:`${co}-${m}`},"sans-beta":{fontFamily:`${mo}-${m}`},"sans-condensed":{fontFamily:`${go}-${m}`},"serif-text":{fontFamily:`${fo}-${m}`},"serif-display":{fontFamily:`${uo}-${m}`},display1:{fontFamily:`${bo}-${m}`},title1:{fontFamily:`${ho}-${m}`},title2:{fontFamily:`${yo}-${m}`},title3:{fontFamily:`${Co}-${m}`},title4:{fontFamily:`${So}-${m}`},headline1:{fontFamily:`${xo}-${m}`},body1:{fontFamily:`${vo}-${m}`},label1:{fontFamily:`${Po}-${m}`},label2:{fontFamily:`${wo}-${m}`},caption1:{fontFamily:`${To}-${m}`},caption2:{fontFamily:`${ko}-${m}`},legal1:{fontFamily:`${Ro}-${m}`}},fontSize:{display1:{fontSize:o.fontSize.display1},title1:{fontSize:o.fontSize.title1},title2:{fontSize:o.fontSize.title2},title3:{fontSize:o.fontSize.title3},title4:{fontSize:o.fontSize.title4},headline1:{fontSize:o.fontSize.headline1},body1:{fontSize:o.fontSize.body1},label1:{fontSize:o.fontSize.label1},label2:{fontSize:o.fontSize.label2},caption1:{fontSize:o.fontSize.caption1},caption2:{fontSize:o.fontSize.caption2},legal1:{fontSize:o.fontSize.legal1}},fontWeight:{display1:{fontWeight:N[o.fontWeight.display1]},title1:{fontWeight:N[o.fontWeight.title1]},title2:{fontWeight:N[o.fontWeight.title2]},title3:{fontWeight:N[o.fontWeight.title3]},title4:{fontWeight:N[o.fontWeight.title4]},headline1:{fontWeight:N[o.fontWeight.headline1]},body1:{fontWeight:N[o.fontWeight.body1]},label1:{fontWeight:N[o.fontWeight.label1]},label2:{fontWeight:N[o.fontWeight.label2]},caption1:{fontWeight:N[o.fontWeight.caption1]},caption2:{fontWeight:N[o.fontWeight.caption2]},legal1:{fontWeight:N[o.fontWeight.legal1]},thin:{},extralight:{},light:{},regular:{},medium:{},semibold:{},bold:{},extrabold:{},black:{}},lineHeight:{display1:{lineHeight:o.lineHeight.display1},title1:{lineHeight:o.lineHeight.title1},title2:{lineHeight:o.lineHeight.title2},title3:{lineHeight:o.lineHeight.title3},title4:{lineHeight:o.lineHeight.title4},headline1:{lineHeight:o.lineHeight.headline1},body1:{lineHeight:o.lineHeight.body1},label1:{lineHeight:o.lineHeight.label1},label2:{lineHeight:o.lineHeight.label2},caption1:{lineHeight:o.lineHeight.caption1},caption2:{lineHeight:o.lineHeight.caption2},legal1:{lineHeight:o.lineHeight.legal1}},textAlign:{center:{textAlign:"center"},justify:{textAlign:"justify"},start:{textAlign:"left"},end:{textAlign:"right"}},backgroundColor:{accent:{backgroundColor:F},alert:{backgroundColor:E},black:{backgroundColor:B},brand:{backgroundColor:M},positive:{backgroundColor:A},warning:{backgroundColor:W},white:{backgroundColor:z},"accent-wash":{backgroundColor:j},"alert-wash":{backgroundColor:Z},"brand-wash":{backgroundColor:K},"elevation-1":{backgroundColor:$},"elevation-2":{backgroundColor:U},"elevation-3":{backgroundColor:X},"elevation-3-inverse":{backgroundColor:Q},overlay:{backgroundColor:oo},"positive-wash":{backgroundColor:q},primary:{backgroundColor:eo},secondary:{backgroundColor:ro},transparent:{backgroundColor:H},"warning-wash":{backgroundColor:J}},backgroundColorOnActive:{accent:{backgroundColor:F},alert:{backgroundColor:E},black:{backgroundColor:B},brand:{backgroundColor:M},positive:{backgroundColor:A},warning:{backgroundColor:W},white:{backgroundColor:z},"accent-wash":{backgroundColor:j},"alert-wash":{backgroundColor:Z},"brand-wash":{backgroundColor:K},"elevation-1":{backgroundColor:$},"elevation-2":{backgroundColor:U},"elevation-3":{backgroundColor:X},"elevation-3-inverse":{backgroundColor:Q},overlay:{backgroundColor:oo},"positive-wash":{backgroundColor:q},primary:{backgroundColor:eo},secondary:{backgroundColor:ro},transparent:{backgroundColor:H},"warning-wash":{backgroundColor:J}},backgroundColorOnHover:{accent:{backgroundColor:F},alert:{backgroundColor:E},black:{backgroundColor:B},brand:{backgroundColor:M},positive:{backgroundColor:A},warning:{backgroundColor:W},white:{backgroundColor:z},"accent-wash":{backgroundColor:j},"alert-wash":{backgroundColor:Z},"brand-wash":{backgroundColor:K},"elevation-1":{backgroundColor:$},"elevation-2":{backgroundColor:U},"elevation-3":{backgroundColor:X},"elevation-3-inverse":{backgroundColor:Q},overlay:{backgroundColor:oo},"positive-wash":{backgroundColor:q},primary:{backgroundColor:eo},secondary:{backgroundColor:ro},transparent:{backgroundColor:H},"warning-wash":{backgroundColor:J}},backgroundColorOnChecked:{accent:{backgroundColor:F},alert:{backgroundColor:E},black:{backgroundColor:B},brand:{backgroundColor:M},positive:{backgroundColor:A},warning:{backgroundColor:W},white:{backgroundColor:z},"accent-wash":{backgroundColor:j},"alert-wash":{backgroundColor:Z},"brand-wash":{backgroundColor:K},"elevation-1":{backgroundColor:$},"elevation-2":{backgroundColor:U},"elevation-3":{backgroundColor:X},"elevation-3-inverse":{backgroundColor:Q},overlay:{backgroundColor:oo},"positive-wash":{backgroundColor:q},primary:{backgroundColor:eo},secondary:{backgroundColor:ro},transparent:{backgroundColor:H},"warning-wash":{backgroundColor:J}},elevation:{1:{backgroundColor:$,shadowColor:"rgba(0, 0, 0, 0.08)",shadowOffset:{width:0,height:2},shadowRadius:4,shadowOpacity:1,overflow:"visible"},2:{backgroundColor:U,shadowColor:"rgba(0, 0, 0, 0.1)",shadowOffset:{width:0,height:4},shadowRadius:8,shadowOpacity:1,overflow:"visible"},3:{backgroundColor:X,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffset:{width:0,height:4},shadowRadius:16,shadowOpacity:1,overflow:"visible"}},opacity:{0:{opacity:0},5:{opacity:.05},10:{opacity:.1},20:{opacity:.2},25:{opacity:.25},30:{opacity:.3},40:{opacity:.4},50:{opacity:.5},60:{opacity:.6},70:{opacity:.7},75:{opacity:.75},80:{opacity:.8},90:{opacity:.9},95:{opacity:.95},100:{opacity:1}},spacing:{none:{padding:l},1:{padding:d},2:{padding:c},3:{padding:g},4:{padding:u},5:{padding:b},6:{padding:h},7:{padding:y},8:{padding:C},9:{padding:S},10:{padding:x},11:{padding:v},12:{padding:P},13:{padding:w},14:{padding:T}},spacingHorizontal:{none:{paddingHorizontal:l},1:{paddingHorizontal:d},2:{paddingHorizontal:c},3:{paddingHorizontal:g},4:{paddingHorizontal:u},5:{paddingHorizontal:b},6:{paddingHorizontal:h},7:{paddingHorizontal:y},8:{paddingHorizontal:C},9:{paddingHorizontal:S},10:{paddingHorizontal:x},11:{paddingHorizontal:v},12:{paddingHorizontal:P},13:{paddingHorizontal:w},14:{paddingHorizontal:T}},spacingVertical:{none:{paddingVertical:l},1:{paddingVertical:d},2:{paddingVertical:c},3:{paddingVertical:g},4:{paddingVertical:u},5:{paddingVertical:b},6:{paddingVertical:h},7:{paddingVertical:y},8:{paddingVertical:C},9:{paddingVertical:S},10:{paddingVertical:x},11:{paddingVertical:v},12:{paddingVertical:P},13:{paddingVertical:w},14:{paddingVertical:T}},spacingBottom:{none:{paddingBottom:l},1:{paddingBottom:d},2:{paddingBottom:c},3:{paddingBottom:g},4:{paddingBottom:u},5:{paddingBottom:b},6:{paddingBottom:h},7:{paddingBottom:y},8:{paddingBottom:C},9:{paddingBottom:S},10:{paddingBottom:x},11:{paddingBottom:v},12:{paddingBottom:P},13:{paddingBottom:w},14:{paddingBottom:T}},spacingEnd:{none:{paddingEnd:l},1:{paddingEnd:d},2:{paddingEnd:c},3:{paddingEnd:g},4:{paddingEnd:u},5:{paddingEnd:b},6:{paddingEnd:h},7:{paddingEnd:y},8:{paddingEnd:C},9:{paddingEnd:S},10:{paddingEnd:x},11:{paddingEnd:v},12:{paddingEnd:P},13:{paddingEnd:w},14:{paddingEnd:T}},spacingStart:{none:{paddingStart:l},1:{paddingStart:d},2:{paddingStart:c},3:{paddingStart:g},4:{paddingStart:u},5:{paddingStart:b},6:{paddingStart:h},7:{paddingStart:y},8:{paddingStart:C},9:{paddingStart:S},10:{paddingStart:x},11:{paddingStart:v},12:{paddingStart:P},13:{paddingStart:w},14:{paddingStart:T}},spacingTop:{none:{paddingTop:l},1:{paddingTop:d},2:{paddingTop:c},3:{paddingTop:g},4:{paddingTop:u},5:{paddingTop:b},6:{paddingTop:h},7:{paddingTop:y},8:{paddingTop:C},9:{paddingTop:S},10:{paddingTop:x},11:{paddingTop:v},12:{paddingTop:P},13:{paddingTop:w},14:{paddingTop:T}},offset:{none:{margin:-l},1:{margin:-d},2:{margin:-c},3:{margin:-g},4:{margin:-u},5:{margin:-b},6:{margin:-h},7:{margin:-y},8:{margin:-C},9:{margin:-S},10:{margin:-x},11:{margin:-v},12:{margin:-P},13:{margin:-w},14:{margin:-T}},offsetVertical:{none:{marginVertical:-l},1:{marginVertical:-d},2:{marginVertical:-c},3:{marginVertical:-g},4:{marginVertical:-u},5:{marginVertical:-b},6:{marginVertical:-h},7:{marginVertical:-y},8:{marginVertical:-C},9:{marginVertical:-S},10:{marginVertical:-x},11:{marginVertical:-v},12:{marginVertical:-P},13:{marginVertical:-w},14:{marginVertical:-T}},offsetHorizontal:{none:{marginHorizontal:-l},1:{marginHorizontal:-d},2:{marginHorizontal:-c},3:{marginHorizontal:-g},4:{marginHorizontal:-u},5:{marginHorizontal:-b},6:{marginHorizontal:-h},7:{marginHorizontal:-y},8:{marginHorizontal:-C},9:{marginHorizontal:-S},10:{marginHorizontal:-x},11:{marginHorizontal:-v},12:{marginHorizontal:-P},13:{marginHorizontal:-w},14:{marginHorizontal:-T}},offsetBottom:{none:{marginBottom:-l},1:{marginBottom:-d},2:{marginBottom:-c},3:{marginBottom:-g},4:{marginBottom:-u},5:{marginBottom:-b},6:{marginBottom:-h},7:{marginBottom:-y},8:{marginBottom:-C},9:{marginBottom:-S},10:{marginBottom:-x},11:{marginBottom:-v},12:{marginBottom:-P},13:{marginBottom:-w},14:{marginBottom:-T}},offsetEnd:{none:{marginEnd:-l},1:{marginEnd:-d},2:{marginEnd:-c},3:{marginEnd:-g},4:{marginEnd:-u},5:{marginEnd:-b},6:{marginEnd:-h},7:{marginEnd:-y},8:{marginEnd:-C},9:{marginEnd:-S},10:{marginEnd:-x},11:{marginEnd:-v},12:{marginEnd:-P},13:{marginEnd:-w},14:{marginEnd:-T}},offsetStart:{none:{marginStart:-l},1:{marginStart:-d},2:{marginStart:-c},3:{marginStart:-g},4:{marginStart:-u},5:{marginStart:-b},6:{marginStart:-h},7:{marginStart:-y},8:{marginStart:-C},9:{marginStart:-S},10:{marginStart:-x},11:{marginStart:-v},12:{marginStart:-P},13:{marginStart:-w},14:{marginStart:-T}},offsetTop:{none:{marginTop:-l},1:{marginTop:-d},2:{marginTop:-c},3:{marginTop:-g},4:{marginTop:-u},5:{marginTop:-b},6:{marginTop:-h},7:{marginTop:-y},8:{marginTop:-C},9:{marginTop:-S},10:{marginTop:-x},11:{marginTop:-v},12:{marginTop:-P},13:{marginTop:-w},14:{marginTop:-T}},columnGap:{none:{columnGap:l},1:{columnGap:d},2:{columnGap:c},3:{columnGap:g},4:{columnGap:u},5:{columnGap:b},6:{columnGap:h},7:{columnGap:y},8:{columnGap:C},9:{columnGap:S},10:{columnGap:x},11:{columnGap:v},12:{columnGap:P},13:{columnGap:w},14:{columnGap:T}},rowGap:{none:{rowGap:l},1:{rowGap:d},2:{rowGap:c},3:{rowGap:g},4:{rowGap:u},5:{rowGap:b},6:{rowGap:h},7:{rowGap:y},8:{rowGap:C},9:{rowGap:S},10:{rowGap:x},11:{rowGap:v},12:{rowGap:P},13:{rowGap:w},14:{rowGap:T}},alignContent:{"flex-start":{alignContent:"flex-start"},"flex-end":{alignContent:"flex-end"},center:{alignContent:"center"},stretch:{alignContent:"stretch"},"space-between":{alignContent:"space-between"},"space-around":{alignContent:"space-around"}},alignItems:{"flex-start":{alignItems:"flex-start"},"flex-end":{alignItems:"flex-end"},center:{alignItems:"center"},stretch:{alignItems:"stretch"},baseline:{alignItems:"baseline"}},alignSelf:{auto:{alignSelf:"auto"},"flex-start":{alignSelf:"flex-start"},"flex-end":{alignSelf:"flex-end"},center:{alignSelf:"center"},stretch:{alignSelf:"stretch"},baseline:{alignSelf:"baseline"}},flex:{1:{flex:1},auto:{flexGrow:1,flexShrink:1,flexBasis:"auto"},initial:{flexGrow:1,flexShrink:1},none:{}},flexDirection:{row:{flexDirection:"row"},column:{flexDirection:"column"},"row-reverse":{flexDirection:"row-reverse"},"column-reverse":{flexDirection:"column-reverse"}},flexGrow:{0:{flexGrow:0},1:{flexGrow:1},2:{flexGrow:2},3:{flexGrow:3}},flexShrink:{0:{flexShrink:0},1:{flexShrink:1}},flexWrap:{wrap:{flexWrap:"wrap"},"wrap-reverse":{flexWrap:"wrap-reverse"},nowrap:{flexWrap:"nowrap"}},justifyContent:{"flex-start":{justifyContent:"flex-start"},"flex-end":{justifyContent:"flex-end"},center:{justifyContent:"center"},"space-between":{justifyContent:"space-between"},"space-around":{justifyContent:"space-around"},"space-evenly":{justifyContent:"space-evenly"}},flexBasis:{"min-content":{flexBasis:"auto"}},display:{block:{display:"flex"},"inline-block":{display:"flex",flexDirection:"row"},inline:{display:"flex",flexDirection:"row"},flex:{display:"flex"},"inline-flex":{display:"flex",flexDirection:"row",flexGrow:0},table:{display:"flex",flexDirection:"column"},"inline-table":{display:"flex",flexDirection:"row"},"table-caption":_,"table-cell":_,"table-column":_,"table-column-group":_,"table-footer-group":_,"table-header-group":_,"table-row-group":_,"table-row":_,"flow-root":_,grid:_,contents:_},overflow:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"hidden"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowX:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowY:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},position:{static:_,fixed:_,absolute:{position:"absolute"},relative:{position:"relative"},sticky:_},zIndex:{0:{zIndex:0},10:{zIndex:10},20:{zIndex:20},30:{zIndex:40},40:{zIndex:30},50:{zIndex:50},auto:_},height:{auto:{height:"auto"},full:{height:"100%"},screen:{height:"100%"},min:{height:"auto"},max:{height:"auto"},fit:{},"1/2":{height:"50%"},"1/3":{height:"33.33%"},"2/3":{height:"66.67%"},"1/4":{height:"25%"},"2/4":{height:"50%"},"3/4":{height:"75%"},"1/5":{height:"20%"},"2/5":{height:"40%"},"3/5":{height:"60%"},"4/5":{height:"80%"},"1/6":{height:"16.67%"},"2/6":{height:"33.33%"},"3/6":{height:"50%"},"4/6":{height:"66.67%"},"5/6":{height:"83.33%"}},minHeight:{full:{minHeight:"100%"},min:{minHeight:"auto"},max:{minHeight:"auto"},fit:{},screen:{minHeight:"auto"}},maxHeight:{full:{maxHeight:"100%"},min:{maxHeight:"auto"},max:{maxHeight:"auto"},fit:{},screen:{maxHeight:"auto"},none:_},width:{auto:{width:"auto"},full:{width:"100%"},screen:{width:"auto"},min:{width:"auto"},max:{width:"auto"},fit:{},"1/2":{width:"50%"},"1/3":{width:"33.33%"},"2/3":{width:"66.67%"},"1/4":{width:"25%"},"2/4":{width:"50%"},"3/4":{width:"75%"},"1/5":{width:"20%"},"2/5":{width:"40%"},"3/5":{width:"60%"},"4/5":{width:"80%"},"1/6":{width:"16.67%"},"2/6":{width:"33.33%"},"3/6":{width:"50%"},"4/6":{width:"66.67%"},"5/6":{width:"83.33%"},"1/12":{width:"8.33%"},"2/12":{width:"16.67%"},"3/12":{width:"25%"},"4/12":{width:"33.33%"},"5/12":{width:"41.67%"},"6/12":{width:"50%"},"7/12":{width:"58.33%"},"8/12":{width:"66.67%"},"9/12":{width:"75%"},"10/12":{width:"83.33%"},"11/12":{width:"91.67%"}},minWidth:{full:{minWidth:"100%"},min:{minWidth:"auto"},max:{minWidth:"auto"},fit:{},screen:{minWidth:"100%"}},maxWidth:{none:_,full:{maxWidth:"100%"},min:{maxWidth:"auto"},max:{maxWidth:"auto"},fit:{}},avatarSize:{s:{width:o.avatarSizes.s,height:o.avatarSizes.s,lineHeight:o.avatarSizes.s,fontSize:o.avatarSizes.s},m:{width:o.avatarSizes.m,height:o.avatarSizes.m,lineHeight:o.avatarSizes.m,fontSize:o.avatarSizes.m},l:{width:o.avatarSizes.l,height:o.avatarSizes.l,lineHeight:o.avatarSizes.l,fontSize:o.avatarSizes.l}},iconSize:{s:{width:o.iconSizes.s,height:o.iconSizes.s,lineHeight:o.iconSizes.s,fontSize:o.iconSizes.s},m:{width:o.iconSizes.m,height:o.iconSizes.m,lineHeight:o.iconSizes.m,fontSize:o.iconSizes.m},l:{width:o.iconSizes.l,height:o.iconSizes.l,lineHeight:o.iconSizes.l,fontSize:o.iconSizes.l}},bordered:{true:{borderWidth:1}},borderColor:{accent:{borderColor:F},alert:{borderColor:E},black:{borderColor:B},brand:{borderColor:M},positive:{borderColor:A},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:H},muted:{borderColor:D},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:I}},borderColorOnActive:{accent:{borderColor:F},alert:{borderColor:E},black:{borderColor:B},brand:{borderColor:M},positive:{borderColor:A},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:H},muted:{borderColor:D},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:I}},borderColorOnFocus:{accent:{borderColor:F},alert:{borderColor:E},black:{borderColor:B},brand:{borderColor:M},positive:{borderColor:A},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:H},muted:{borderColor:D},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:I}},borderColorOnHover:{accent:{borderColor:F},alert:{borderColor:E},black:{borderColor:B},brand:{borderColor:M},positive:{borderColor:A},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:H},muted:{borderColor:D},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:I}},borderColorOnChecked:{accent:{borderColor:F},alert:{borderColor:E},black:{borderColor:B},brand:{borderColor:M},positive:{borderColor:A},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:H},muted:{borderColor:D},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:I}},borderStartColor:{accent:{borderStartColor:F},alert:{borderStartColor:E},black:{borderStartColor:B},brand:{borderStartColor:M},positive:{borderStartColor:A},warning:{borderStartColor:W},white:{borderStartColor:z},transparent:{borderStartColor:H},muted:{borderStartColor:D},primary:{borderStartColor:O},secondary:{borderStartColor:V},tertiary:{borderStartColor:I}},borderEndColor:{accent:{borderEndColor:F},alert:{borderEndColor:E},black:{borderEndColor:B},brand:{borderEndColor:M},positive:{borderEndColor:A},warning:{borderEndColor:W},white:{borderEndColor:z},transparent:{borderEndColor:H},muted:{borderEndColor:D},primary:{borderEndColor:O},secondary:{borderEndColor:V},tertiary:{borderEndColor:I}},borderBottomColor:{accent:{borderBottomColor:F},alert:{borderBottomColor:E},black:{borderBottomColor:B},brand:{borderBottomColor:M},positive:{borderBottomColor:A},warning:{borderBottomColor:W},white:{borderBottomColor:z},transparent:{borderBottomColor:H},muted:{borderBottomColor:D},primary:{borderBottomColor:O},secondary:{borderBottomColor:V},tertiary:{borderBottomColor:I}},borderTopColor:{accent:{borderTopColor:F},alert:{borderTopColor:E},black:{borderTopColor:B},brand:{borderTopColor:M},positive:{borderTopColor:A},warning:{borderTopColor:W},white:{borderTopColor:z},transparent:{borderTopColor:H},muted:{borderTopColor:D},primary:{borderTopColor:O},secondary:{borderTopColor:V},tertiary:{borderTopColor:I}},borderRadius:{none:{borderRadius:o.borderRadius.none},xs:{borderRadius:o.borderRadius.xs},sm:{borderRadius:o.borderRadius.sm},md:{borderRadius:o.borderRadius.md},lg:{borderRadius:o.borderRadius.lg},xl:{borderRadius:o.borderRadius.xl},full:{borderRadius:o.borderRadius.full}},borderTopStartRadius:{none:{borderTopStartRadius:o.borderRadius.none},xs:{borderTopStartRadius:o.borderRadius.xs},sm:{borderTopStartRadius:o.borderRadius.sm},md:{borderTopStartRadius:o.borderRadius.md},lg:{borderTopStartRadius:o.borderRadius.lg},xl:{borderTopStartRadius:o.borderRadius.xl},full:{borderTopStartRadius:o.borderRadius.full}},borderTopEndRadius:{none:{borderTopEndRadius:o.borderRadius.none},xs:{borderTopEndRadius:o.borderRadius.xs},sm:{borderTopEndRadius:o.borderRadius.sm},md:{borderTopEndRadius:o.borderRadius.md},lg:{borderTopEndRadius:o.borderRadius.lg},xl:{borderTopEndRadius:o.borderRadius.xl},full:{borderTopEndRadius:o.borderRadius.full}},borderBottomStartRadius:{none:{borderBottomStartRadius:o.borderRadius.none},xs:{borderBottomStartRadius:o.borderRadius.xs},sm:{borderBottomStartRadius:o.borderRadius.sm},md:{borderBottomStartRadius:o.borderRadius.md},lg:{borderBottomStartRadius:o.borderRadius.lg},xl:{borderBottomStartRadius:o.borderRadius.xl},full:{borderBottomStartRadius:o.borderRadius.full}},borderBottomEndRadius:{none:{borderBottomEndRadius:o.borderRadius.none},xs:{borderBottomEndRadius:o.borderRadius.xs},sm:{borderBottomEndRadius:o.borderRadius.sm},md:{borderBottomEndRadius:o.borderRadius.md},lg:{borderBottomEndRadius:o.borderRadius.lg},xl:{borderBottomEndRadius:o.borderRadius.xl},full:{borderBottomEndRadius:o.borderRadius.full}},borderWidth:{none:{borderWidth:o.borderWidth.none},thin:{borderWidth:o.borderWidth.thin},medium:{borderWidth:o.borderWidth.medium},thick:{borderWidth:o.borderWidth.thick}},borderVerticalWidth:{none:{borderTopWidth:o.borderWidth.none,borderBottomWidth:o.borderWidth.none},thin:{borderTopWidth:o.borderWidth.thin,borderBottomWidth:o.borderWidth.thin},medium:{borderTopWidth:o.borderWidth.medium,borderBottomWidth:o.borderWidth.medium},thick:{borderTopWidth:o.borderWidth.thick,borderBottomWidth:o.borderWidth.thick}},borderHorizontalWidth:{none:{borderStartWidth:o.borderWidth.none,borderEndWidth:o.borderWidth.none},thin:{borderStartWidth:o.borderWidth.thin,borderEndWidth:o.borderWidth.thin},medium:{borderStartWidth:o.borderWidth.medium,borderEndWidth:o.borderWidth.medium},thick:{borderStartWidth:o.borderWidth.thick,borderEndWidth:o.borderWidth.thick}},borderStartWidth:{none:{borderStartWidth:o.borderWidth.none},thin:{borderStartWidth:o.borderWidth.thin},medium:{borderStartWidth:o.borderWidth.medium},thick:{borderStartWidth:o.borderWidth.thick}},borderEndWidth:{none:{borderEndWidth:o.borderWidth.none},thin:{borderEndWidth:o.borderWidth.thin},medium:{borderEndWidth:o.borderWidth.medium},thick:{borderEndWidth:o.borderWidth.thick}},borderTopWidth:{none:{borderTopWidth:o.borderWidth.none},thin:{borderTopWidth:o.borderWidth.thin},medium:{borderTopWidth:o.borderWidth.medium},thick:{borderTopWidth:o.borderWidth.thick}},borderBottomWidth:{none:{borderBottomWidth:o.borderWidth.none},thin:{borderBottomWidth:o.borderWidth.thin},medium:{borderBottomWidth:o.borderWidth.medium},thick:{borderBottomWidth:o.borderWidth.thick}},borderedVertical:{true:{borderTopWidth:1,borderBottomWidth:1,borderColor:O}},borderedTop:{true:{borderTopWidth:1,borderColor:O}},borderedBottom:{true:{borderBottomWidth:1,borderColor:O}},borderedHorizontal:{true:{borderStartWidth:1,borderEndWidth:1,borderColor:O}},borderedEnd:{true:{borderEndWidth:1,borderColor:O}},borderedStart:{true:{borderStartWidth:1,borderColor:O}},contentFit:{contain:_,cover:_,fill:_,none:_,"scale-down":_},textTransform:{display1:{textTransform:o.textTransform.display1},title1:{textTransform:o.textTransform.title1},title2:{textTransform:o.textTransform.title2},title3:{textTransform:o.textTransform.title3},title4:{textTransform:o.textTransform.title4},headline1:{textTransform:o.textTransform.headline1},body1:{textTransform:o.textTransform.body1},label1:{textTransform:o.textTransform.label1},label2:{textTransform:o.textTransform.label2},caption1:{textTransform:o.textTransform.caption1},caption2:{textTransform:o.textTransform.caption2},legal1:{textTransform:o.textTransform.legal1},none:{textTransform:"none"},uppercase:{textTransform:"uppercase"},lowercase:{textTransform:"lowercase"},capitalize:{textTransform:"capitalize"}}}})(L);return s(so,to,Y)}return{cva:f,getStyles:Eo,tokens:o}}var Te=we({colorMode:Mo,scaleMode:Ao},Zo);import{createContext as Gr,useContext as $r}from"react";import{jsx as Ur}from"react/jsx-runtime";var or=Gr(Mo);function qo(){return $r(or)}function er({value:e=Mo,children:r}){return Ur(or.Provider,{value:e,children:r})}import{createContext as Xr,useContext as Yr}from"react";import{jsx as jr}from"react/jsx-runtime";var rr=Xr(Ao);function ke(){let e=Yr(rr);return e||Ao}function tr({value:e,children:r}){let t=ke();return jr(rr.Provider,{value:e??t,children:r})}import{jsx as Jr}from"react/jsx-runtime";var Re=Zr(Te),ar=Kr(function({children:r,value:t=Zo}){let n=qo(),i=ke(),a=qr(()=>t===void 0&&n===Mo&&i===Ao?Te:we({colorMode:n,scaleMode:i},t),[n,i,t]);return Jr(Re.Provider,{value:a,children:r})});function G(e){let{getStyles:r}=nr(Re);return r(e)}function ir(){return nr(Re).tokens}var lr={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},Fe={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",minWidth:"fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",bordered:!0},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",bordered:!0},"accent-ghost":{color:"accent"},"accent-wash":{color:"accent",backgroundColor:"accent-wash",borderColor:"accent",bordered:!0},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",bordered:!0},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",bordered:!0},"brand-ghost":{color:"brand"},"brand-wash":{color:"brand",backgroundColor:"brand-wash",borderColor:"brand",bordered:!0},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",bordered:!0},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",bordered:!0},"positive-ghost":{color:"positive"},"positive-wash":{color:"positive",backgroundColor:"positive-wash",borderColor:"positive",bordered:!0},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",bordered:!0},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",bordered:!0},"alert-ghost":{color:"alert"},"alert-wash":{color:"alert",backgroundColor:"alert-wash",borderColor:"alert",bordered:!0},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",bordered:!0},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",bordered:!0},"warning-ghost":{color:"warning"},"warning-wash":{color:"warning",backgroundColor:"warning-wash",borderColor:"warning",bordered:!0},"primary-outline":{color:"primary",borderColor:"muted",bordered:!0},"primary-ghost":{color:"primary"},secondary:{backgroundColor:"secondary",color:"primary"}},size:{s:{variant:"label1",spacingHorizontal:"6",spacingVertical:"4",columnGap:"4"},m:{variant:"headline1",spacingHorizontal:"7",spacingVertical:"5",columnGap:"4"},l:{variant:"headline1",spacingHorizontal:"8",spacingVertical:"6",columnGap:"4"}}};function Jo({variant:e="accent",size:r="s"}){let{color:t,...n}=Fe.variant[e],{variant:i,...a}=Fe.size[r];return{pressable:{...Fe.base,...n,...a},text:{color:t,variant:i,textAlign:"center"},icon:{color:t,size:"s"}}}import{Image as Qr}from"expo-image";import{jsx as ot}from"react/jsx-runtime";function sr({width:e,height:r,src:t,alt:n,contentFit:i="cover",elevation:a,backgroundColor:p=a?`elevation-${a}`:"primary",backgroundColorOnActive:o,backgroundColorOnHover:s,backgroundColorOnChecked:f,opacity:l,bordered:d,borderedTop:c,borderedBottom:g,borderedStart:u,borderedEnd:b,borderedHorizontal:h,borderedVertical:y,borderRadius:C,borderTopStartRadius:S,borderTopEndRadius:x,borderBottomStartRadius:v,borderBottomEndRadius:P,borderColor:w,borderColorOnActive:T,borderColorOnFocus:F,borderColorOnChecked:E,borderColorOnHover:M,borderStartColor:A,borderEndColor:W,borderTopColor:z,borderBottomColor:B,borderWidth:H,borderVerticalWidth:ao,borderHorizontalWidth:io,borderStartWidth:lo,borderEndWidth:no,borderTopWidth:po,borderBottomWidth:j,alignContent:Z,alignItems:K,alignSelf:q,flex:J,flexDirection:$,flexGrow:U,flexShrink:X="0",flexWrap:Q,justifyContent:oo,flexBasis:eo,display:ro="flex",zIndex:O,overflow:V,overflowX:I,overflowY:D,position:k,spacing:co,spacingHorizontal:mo,spacingVertical:go,spacingBottom:fo,spacingEnd:uo,spacingStart:bo,spacingTop:ho,offset:yo,offsetVertical:Co,offsetHorizontal:So,offsetBottom:xo,offsetEnd:vo,offsetStart:Po,offsetTop:wo,columnGap:To,rowGap:ko,minHeight:Ro,maxHeight:Fo,minWidth:Eo,maxWidth:Y,...L}){let so=G({contentFit:i,elevation:a,backgroundColor:p,backgroundColorOnActive:o,backgroundColorOnHover:s,backgroundColorOnChecked:f,opacity:l,bordered:d,borderedTop:c,borderedBottom:g,borderedStart:u,borderedEnd:b,borderedHorizontal:h,borderedVertical:y,borderRadius:C,borderTopStartRadius:S,borderTopEndRadius:x,borderBottomStartRadius:v,borderBottomEndRadius:P,borderColor:w,borderColorOnActive:T,borderColorOnFocus:F,borderColorOnChecked:E,borderColorOnHover:M,borderStartColor:A,borderEndColor:W,borderTopColor:z,borderBottomColor:B,borderWidth:H,borderVerticalWidth:ao,borderHorizontalWidth:io,borderStartWidth:lo,borderEndWidth:no,borderTopWidth:po,borderBottomWidth:j,alignContent:Z,alignItems:K,alignSelf:q,flex:J,flexDirection:$,flexGrow:U,flexShrink:X,flexWrap:Q,justifyContent:oo,flexBasis:eo,display:ro,zIndex:O,overflow:V,overflowX:I,overflowY:D,position:k,spacing:co,spacingHorizontal:mo,spacingVertical:go,spacingBottom:fo,spacingEnd:uo,spacingStart:bo,spacingTop:ho,offset:yo,offsetVertical:Co,offsetHorizontal:So,offsetBottom:xo,offsetEnd:vo,offsetStart:Po,offsetTop:wo,columnGap:To,rowGap:ko,minHeight:Ro,maxHeight:Fo,minWidth:Eo,maxWidth:Y,style:{width:e,height:r,justifyContent:"flex-start"}});return ot(Qr,{source:t,alt:n,style:so,contentFit:i,contentPosition:"left",...L})}import{jsx as et}from"react/jsx-runtime";function oi({size:e,shape:r,contentFit:t="cover",...n}){let i=G({...lr,avatarSize:e,borderRadius:r});return et(sr,{style:i,contentFit:t,...n})}import{forwardRef as tt}from"react";import{Children as Do,cloneElement as pr,forwardRef as cr,isValidElement as Qo}from"react";function rt(e,r){typeof e=="function"?e(r):e!=null&&(e.current=r)}function dr(...e){return r=>e.forEach(t=>rt(t,r))}import{jsx as mr}from"react/jsx-runtime";function oe(){let e=cr((a,p)=>{let{children:o,...s}=a,f=Do.toArray(o),l=f.find(n);if(l){let d=l.props.children,c=f.map(g=>g===l?Do.count(d)>1?Do.only(null):Qo(d)?d.props.children:null:g);return mr(r,{...s,ref:p,children:Qo(d)?pr(d,void 0,c):null})}return mr(r,{...s,ref:p,children:o})});e.displayName="Slot";let r=cr((a,p)=>{let{children:o,...s}=a;return Qo(o)?pr(o,{...i(s,o.props),ref:p?dr(p,o.ref):o.ref}):Do.count(o)>1?Do.only(null):null});r.displayName="SlotClone";let t=({children:a})=>a;function n(a){return Qo(a)&&a.type===t}function i(a,p){let o={...p};for(let s in p){let f=a[s],l=p[s];/^on[A-Z]/.test(s)?f&&l?o[s]=(...c)=>{l(...c),f(...c)}:f&&(o[s]=f):s==="style"&&(o[s]={...f,...l})}return{...a,...o}}return e}var gr="RCTView",ee="RCTText",fr=oe(),re=oe(),ur=oe();import{jsx as nt}from"react/jsx-runtime";var te=tt(function({asChild:r=!1,style:t,backgroundColor:n,backgroundColorOnActive:i,backgroundColorOnHover:a,backgroundColorOnChecked:p,elevation:o,bordered:s,borderedTop:f,borderedBottom:l,borderedStart:d,borderedEnd:c,borderedHorizontal:g,borderedVertical:u,borderRadius:b,borderTopStartRadius:h,borderTopEndRadius:y,borderBottomStartRadius:C,borderBottomEndRadius:S,borderColor:x,borderColorOnActive:v,borderColorOnFocus:P,borderColorOnChecked:w,borderColorOnHover:T,borderStartColor:F,borderEndColor:E,borderTopColor:M,borderBottomColor:A,borderWidth:W,borderVerticalWidth:z,borderHorizontalWidth:B,borderStartWidth:H,borderEndWidth:ao,borderTopWidth:io,borderBottomWidth:lo,alignContent:no,alignItems:po="stretch",alignSelf:j,flex:Z,flexBasis:K,flexDirection:q="column",flexGrow:J,flexShrink:$,flexWrap:U="nowrap",justifyContent:X="flex-start",display:Q,zIndex:oo,overflow:eo,overflowX:ro,overflowY:O,position:V,spacing:I,spacingHorizontal:D,spacingVertical:k,spacingBottom:co,spacingEnd:mo,spacingStart:go,spacingTop:fo,offset:uo,offsetVertical:bo,offsetHorizontal:ho,offsetBottom:yo,offsetEnd:Co,offsetStart:So,offsetTop:xo,columnGap:vo,rowGap:Po,height:wo,minHeight:To,maxHeight:ko,width:Ro,minWidth:Fo,maxWidth:Eo,...Y},L){let so=G({backgroundColor:n,backgroundColorOnActive:i,backgroundColorOnHover:a,backgroundColorOnChecked:p,elevation:o,bordered:s,borderedTop:f,borderedBottom:l,borderedStart:d,borderedEnd:c,borderedHorizontal:g,borderedVertical:u,borderRadius:b,borderTopStartRadius:h,borderTopEndRadius:y,borderBottomStartRadius:C,borderBottomEndRadius:S,borderColor:x,borderColorOnActive:v,borderColorOnFocus:P,borderColorOnChecked:w,borderColorOnHover:T,borderStartColor:F,borderEndColor:E,borderTopColor:M,borderBottomColor:A,borderWidth:W,borderVerticalWidth:z,borderHorizontalWidth:B,borderStartWidth:H,borderEndWidth:ao,borderTopWidth:io,borderBottomWidth:lo,alignContent:no,alignItems:po,alignSelf:j,flex:Z,flexDirection:q,flexGrow:J,flexShrink:$,flexWrap:U,justifyContent:X,flexBasis:K,display:Q,zIndex:oo,overflow:eo,overflowX:ro,overflowY:O,position:V,spacing:I,spacingHorizontal:D,spacingVertical:k,spacingBottom:co,spacingEnd:mo,spacingStart:go,spacingTop:fo,offset:uo,offsetVertical:bo,offsetHorizontal:ho,offsetBottom:yo,offsetEnd:Co,offsetStart:So,offsetTop:xo,columnGap:vo,rowGap:Po,height:wo,minHeight:To,maxHeight:ko,width:Ro,minWidth:Fo,maxWidth:Eo,style:t});return nt(r?fr:gr,{ref:L,style:so,...Y})});import{forwardRef as mt}from"react";import{forwardRef as at}from"react";import{jsx as it}from"react/jsx-runtime";var Lo=at(function({style:r,asChild:t=!1,size:n="l",color:i="primary",name:a,colorChecked:p,opacity:o,textAlign:s,spacing:f,spacingBottom:l,spacingEnd:d,spacingHorizontal:c,spacingStart:g,spacingTop:u,spacingVertical:b,offset:h,offsetBottom:y,offsetEnd:C,offsetHorizontal:S,offsetStart:x,offsetTop:v,offsetVertical:P,...w},T){let F=G({color:i,colorChecked:p,opacity:o,fontFamily:"icons",textAlign:s,spacing:f,spacingBottom:l,spacingEnd:d,spacingHorizontal:c,spacingStart:g,spacingTop:u,spacingVertical:b,offset:h,offsetBottom:y,offsetEnd:C,offsetHorizontal:S,offsetStart:x,offsetTop:v,offsetVertical:P,iconSize:n,style:r});return it(t?re:ee,{ref:T,maxFontSizeMultiplier:1,allowFontScaling:!1,style:F,...w,children:a})});import{forwardRef as lt}from"react";import{Pressable as st}from"react-native";import{jsx as dt}from"react/jsx-runtime";var ne=lt(function({style:r,asChild:t=!1,backgroundColor:n,backgroundColorOnActive:i,backgroundColorOnHover:a,backgroundColorOnChecked:p,elevation:o,opacity:s,bordered:f,borderedTop:l,borderedBottom:d,borderedStart:c,borderedEnd:g,borderedHorizontal:u,borderedVertical:b,borderRadius:h,borderTopStartRadius:y,borderTopEndRadius:C,borderBottomStartRadius:S,borderBottomEndRadius:x,borderColor:v,borderColorOnActive:P,borderColorOnFocus:w,borderColorOnChecked:T,borderColorOnHover:F,borderStartColor:E,borderEndColor:M,borderTopColor:A,borderBottomColor:W,borderWidth:z,borderVerticalWidth:B,borderHorizontalWidth:H,borderStartWidth:ao,borderEndWidth:io,borderTopWidth:lo,borderBottomWidth:no,alignContent:po,alignItems:j,alignSelf:Z,flex:K,flexBasis:q,flexDirection:J,flexGrow:$,flexShrink:U,flexWrap:X,justifyContent:Q,display:oo,zIndex:eo,overflow:ro,overflowX:O,overflowY:V,position:I,spacing:D,spacingHorizontal:k,spacingVertical:co,spacingBottom:mo,spacingEnd:go,spacingStart:fo,spacingTop:uo,offset:bo,offsetVertical:ho,offsetHorizontal:yo,offsetBottom:Co,offsetEnd:So,offsetStart:xo,offsetTop:vo,columnGap:Po,rowGap:wo,height:To,minHeight:ko,maxHeight:Ro,width:Fo,minWidth:Eo,maxWidth:Y,...L},so){let m=G({backgroundColor:n,backgroundColorOnActive:i,backgroundColorOnHover:a,backgroundColorOnChecked:p,elevation:o,opacity:s,bordered:f,borderedTop:l,borderedBottom:d,borderedStart:c,borderedEnd:g,borderedHorizontal:u,borderedVertical:b,borderRadius:h,borderTopStartRadius:y,borderTopEndRadius:C,borderBottomStartRadius:S,borderBottomEndRadius:x,borderColor:v,borderColorOnActive:P,borderColorOnFocus:w,borderColorOnChecked:T,borderColorOnHover:F,borderStartColor:E,borderEndColor:M,borderTopColor:A,borderBottomColor:W,borderWidth:z,borderVerticalWidth:B,borderHorizontalWidth:H,borderStartWidth:ao,borderEndWidth:io,borderTopWidth:lo,borderBottomWidth:no,alignContent:po,alignItems:j,alignSelf:Z,flex:K,flexDirection:J,flexGrow:$,flexShrink:U,flexWrap:X,justifyContent:Q,flexBasis:q,display:oo,zIndex:eo,overflow:ro,overflowX:O,overflowY:V,position:I,spacing:D,spacingHorizontal:k,spacingVertical:co,spacingBottom:mo,spacingEnd:go,spacingStart:fo,spacingTop:uo,offset:bo,offsetVertical:ho,offsetHorizontal:yo,offsetBottom:Co,offsetEnd:So,offsetStart:xo,offsetTop:vo,columnGap:Po,rowGap:wo,height:To,minHeight:ko,maxHeight:Ro,width:Fo,minWidth:Eo,maxWidth:Y,style:r});return dt(t?ur:st,{style:m,ref:so,...L})});import{forwardRef as pt}from"react";import{jsx as ct}from"react/jsx-runtime";var br=pt(function({style:r,asChild:t,color:n="primary",colorChecked:i,variant:a="body1",fontSize:p=a,fontFamily:o=a,fontWeight:s=a,lineHeight:f=a,textTransform:l=a,textAlign:d,backgroundColor:c,backgroundColorOnActive:g,backgroundColorOnHover:u,backgroundColorOnChecked:b,opacity:h,bordered:y,borderedTop:C,borderedBottom:S,borderedStart:x,borderedEnd:v,borderedHorizontal:P,borderedVertical:w,borderRadius:T,borderTopStartRadius:F,borderTopEndRadius:E,borderBottomStartRadius:M,borderBottomEndRadius:A,borderColor:W,borderColorOnActive:z,borderColorOnFocus:B,borderColorOnChecked:H,borderColorOnHover:ao,borderStartColor:io,borderEndColor:lo,borderTopColor:no,borderBottomColor:po,borderWidth:j,borderVerticalWidth:Z,borderHorizontalWidth:K,borderStartWidth:q,borderEndWidth:J,borderTopWidth:$,borderBottomWidth:U,alignContent:X,alignItems:Q,alignSelf:oo,flex:eo,flexDirection:ro,flexGrow:O,flexShrink:V,flexWrap:I,justifyContent:D,flexBasis:k,display:co,zIndex:mo,overflow:go,overflowX:fo,overflowY:uo,position:bo,spacing:ho,spacingHorizontal:yo,spacingVertical:Co,spacingBottom:So,spacingEnd:xo,spacingStart:vo,spacingTop:Po,offset:wo,offsetVertical:To,offsetHorizontal:ko,offsetBottom:Ro,offsetEnd:Fo,offsetStart:Eo,offsetTop:Y,columnGap:L,rowGap:so,height:m,minHeight:to,maxHeight:No,width:ie,minWidth:le,maxWidth:_o,...se},Ho){let zo=G({style:r,color:n,colorChecked:i,fontFamily:o,fontSize:p,fontWeight:s,lineHeight:f,textTransform:l,textAlign:d,backgroundColor:c,backgroundColorOnActive:g,backgroundColorOnHover:u,backgroundColorOnChecked:b,opacity:h,bordered:y,borderedTop:C,borderedBottom:S,borderedStart:x,borderedEnd:v,borderedHorizontal:P,borderedVertical:w,borderRadius:T,borderTopStartRadius:F,borderTopEndRadius:E,borderBottomStartRadius:M,borderBottomEndRadius:A,borderColor:W,borderColorOnActive:z,borderColorOnFocus:B,borderColorOnChecked:H,borderColorOnHover:ao,borderStartColor:io,borderEndColor:lo,borderTopColor:no,borderBottomColor:po,borderWidth:j,borderVerticalWidth:Z,borderHorizontalWidth:K,borderStartWidth:q,borderEndWidth:J,borderTopWidth:$,borderBottomWidth:U,alignContent:X,alignItems:Q,alignSelf:oo,flex:eo,flexDirection:ro,flexGrow:O,flexShrink:V,flexWrap:I,justifyContent:D,flexBasis:k,display:co,zIndex:mo,overflow:go,overflowX:fo,overflowY:uo,position:bo,spacing:ho,spacingHorizontal:yo,spacingVertical:Co,spacingBottom:So,spacingEnd:xo,spacingStart:vo,spacingTop:Po,offset:wo,offsetVertical:To,offsetHorizontal:ko,offsetBottom:Ro,offsetEnd:Fo,offsetStart:Eo,offsetTop:Y,columnGap:L,rowGap:so,height:m,minHeight:to,maxHeight:No,width:ie,minWidth:le,maxWidth:_o});return ct(t?re:ee,{style:zo,ref:Ho,maxFontSizeMultiplier:1,allowFontScaling:!1,...se})});import{jsx as Ee,jsxs as gt}from"react/jsx-runtime";var Oi=mt(function({variant:r="accent",size:t,startIcon:n,endIcon:i,children:a,...p},o){let s=Jo({variant:r,size:t}),f=n?Ee(Lo,{name:n,...s.icon}):null,l=i?Ee(Lo,{name:i,...s.icon}):null;return gt(ne,{ref:o,...s.pressable,...p,children:[f,Ee(br,{...s.text,children:a}),l]})});import{forwardRef as ft}from"react";import{jsx as ut}from"react/jsx-runtime";var Li=ft(function({gap:r,...t},n){return ut(te,{ref:n,flexDirection:"row",rowGap:r,columnGap:r,...t})});import{forwardRef as bt}from"react";import{jsx as yr}from"react/jsx-runtime";var hr={s:36,m:48,l:64},ht={},ji=bt(function({variant:r="accent",size:t="s",name:n,style:i=ht,...a},p){let o=Jo({variant:r,size:t});return yr(ne,{ref:p,...o.pressable,flexShrink:"0",style:{...i,width:hr[t],height:hr[t]},...a,children:yr(Lo,{name:n,...o.icon})})});import{useScrollToTop as Tt}from"@react-navigation/native";import{forwardRef as kt,useMemo as Rt,useRef as Ft}from"react";import{ScrollView as Et}from"react-native";import{useMemo as yt}from"react";var Ct=(e,r)=>{typeof e=="function"?e(r):e&&(e.current=r)},Cr=(...e)=>yt(()=>e.every(r=>r==null)?null:r=>{e.forEach(t=>{Ct(t,r)})},[e]);import Sr from"expo-constants";import{createContext as St,useContext as xt,useMemo as vt}from"react";import{useSafeAreaInsets as Pt}from"react-native-safe-area-context";import{jsx as wt}from"react/jsx-runtime";var xr=St({tabBarHeight:0,statusBarHeight:Sr.statusBarHeight,safeAreaInsets:{top:0,right:0,bottom:0,left:0}});function vr(){return xt(xr)}function Pr({children:e}){let r=Pt(),t=ir(),n=vt(()=>({tabBarHeight:t.spacing[5]+t.iconSizes.m+t.spacing[3]+t.lineHeight.caption1+t.spacing[5]+r.bottom,statusBarHeight:Sr.statusBarHeight,safeAreaInsets:r}),[t.spacing,t.iconSizes,t.lineHeight,r]);return wt(xr.Provider,{value:n,children:e})}import{jsx as Mt}from"react/jsx-runtime";var ml=kt(function({children:r,...t},n){let i=qo(),a=Ft(null),p=Cr(a,n);Tt(a);let{tabBarHeight:o,safeAreaInsets:s}=vr(),f=G({backgroundColor:"primary",flexGrow:"1",spacingHorizontal:"6"}),l=Rt(()=>({paddingTop:s.top,paddingBottom:o}),[s.top,o]);return Mt(Et,{ref:p,style:f,contentInsetAdjustmentBehavior:"never",automaticallyAdjustContentInsets:!1,contentContainerStyle:l,indicatorStyle:i==="dark"?"black":"white",...t,children:r})});import{forwardRef as At}from"react";import{jsx as Wt}from"react/jsx-runtime";var hl=At(function({gap:r,...t},n){return Wt(te,{ref:n,flexDirection:"column",columnGap:r,rowGap:r,...t})});import{useCallback as zt,useEffect as Bt,useState as Ht}from"react";import{AppState as wr}from"react-native";function ae(){let[e,r]=Ht(wr.currentState),t=zt(n=>{r(n)},[]);return Bt(()=>{let n=wr.addEventListener("change",t);return()=>{n.remove()}},[t]),e}import{useEffect as Ot,useRef as _t,useState as Vt}from"react";import{PixelRatio as Me}from"react-native";var Tr=()=>{let[e,r]=Vt(Me.getFontScale()),t=_t(Me.getFontScale()),n=ae();return Ot(()=>{if(n==="active"){let i=Me.getFontScale();t.current!==i&&(r(i),t.current=i)}},[n]),e};import{setStatusBarStyle as jt}from"expo-status-bar";import{createContext as Mr,useContext as Zt,useEffect as Er,useState as Kt}from"react";import{createContext as It,useContext as Dt,useEffect as Lt,useState as Nt}from"react";import{Appearance as Gt,Platform as $t,useColorScheme as Ut}from"react-native";import{jsx as Yt}from"react/jsx-runtime";var kr=It(Mo);function Rr(){return Dt(kr)}function Xt(){let e=ae(),r=Ut(),[t,n]=Nt(r),i=$t.OS==="android";return Lt(()=>{if(e==="active"){if(i){let a=Gt.getColorScheme();n(a);return}n(r)}},[r,e,i]),t??"light"}function Fr({children:e}){let r=Xt();return Yt(kr.Provider,{value:r,children:e})}import{jsx as Ae}from"react/jsx-runtime";var qt=()=>{},Ar=Mr(Vo),Jt=Mr(qt);function Vl(){return Zt(Ar)}function Wr({children:e,value:r=Vo}){let[t,n]=Kt(r),i=Rr(),a=t==="system"?i:t;return Er(()=>{jt(a==="light"?"dark":"light")},[a]),Er(()=>{n(r)},[r]),Ae(Ar.Provider,{value:t,children:Ae(Jt.Provider,{value:n,children:Ae(er,{value:a,children:e})})})}import{createContext as Or,useState as nn}from"react";import{createContext as Qt,useContext as on,useMemo as en}from"react";import{jsx as tn}from"react/jsx-runtime";var zr=Qt(Ao),Bo={xSmall:.823,small:.882,medium:.941,large:1,xLarge:1.118,xxLarge:1.235,xxxLarge:1.353};function Br(){return on(zr)}function rn(){let e=Tr();return en(()=>e<=Bo.xSmall?"xSmall":e<=Bo.small?"small":e<=Bo.medium?"medium":e<=Bo.large?"large":e<=Bo.xLarge?"xLarge":e<=Bo.xxLarge?"xxLarge":e>=Bo.xxxLarge?"xxxLarge":"large",[e])}function Hr({children:e}){let r=rn();return tn(zr.Provider,{value:r,children:e})}import{jsx as We}from"react/jsx-runtime";var an=()=>{},ln=Or(Io),sn=Or(an);function _r({children:e,value:r=Io}){let[t,n]=nn(r),i=Br(),a=t==="system"?i:t;return We(ln.Provider,{value:t,children:We(sn.Provider,{value:n,children:We(tr,{value:a,children:e})})})}import{BottomSheetModalProvider as dn}from"@gorhom/bottom-sheet";import{SafeAreaProvider as pn}from"react-native-safe-area-context";import{jsx as Wo}from"react/jsx-runtime";function ls({children:e,colorModeForApp:r=Vo,scaleModeForApp:t=Io,config:n}){return Wo(pn,{children:Wo(Fr,{children:Wo(Wr,{value:r,children:Wo(Hr,{children:Wo(_r,{value:t,children:Wo(ar,{value:n,children:Wo(Pr,{children:Wo(dn,{children:e})})})})})})})})}export{zn as AVATAR_SIZE_PREFIX,oi as Avatar,Bn as BORDER_RADIUS_PREFIX,Hn as BORDER_WIDTH_PREFIX,te as Box,Oi as Button,or as ColorModeContext,Ar as ColorModeForAppContext,Jt as ColorModeForAppContextUpdater,Wr as ColorModeForAppProvider,kr as ColorModeForDeviceContext,Fr as ColorModeForDeviceProvider,er as ColorModeProvider,xr as ComputedTokensContext,Pr as ComputedTokensProvider,Ln as DARK_COLOR_MODE_CLASSNAME,Mo as DEFAULT_COLOR_MODE,jn as DEFAULT_COLOR_MODE_CLASSNAME,Vo as DEFAULT_COLOR_MODE_FOR_APP,ta as DEFAULT_HIGH_CONTRAST_MODE,na as DEFAULT_REGION_MODE,Ao as DEFAULT_SCALE_MODE,Zn as DEFAULT_SCALE_MODE_CLASSNAME,Io as DEFAULT_SCALE_MODE_FOR_APP,Te as DEFAULT_STYLER,An as FONT_FAMILY_PREFIX,Kn as FONT_ICONS_CSS_VAR,Jn as FONT_SANS_BETA_CSS_VAR,Qn as FONT_SANS_CONDENSED_CSS_VAR,qn as FONT_SANS_CSS_VAR,oa as FONT_SERIF_DISPLAY_CSS_VAR,ea as FONT_SERIF_TEXT_CSS_VAR,_n as FONT_SIZE_PREFIX,In as FONT_WEIGHT_PREFIX,Li as HStack,Wn as ICON_SIZE_PREFIX,Lo as Icon,ji as IconButton,sr as Image,Dr as LARGE_SCALE_MODE_CLASSNAME,Ir as LIGHT_COLOR_MODE_CLASSNAME,Vn as LINE_HEIGHT_PREFIX,$n as MEDIUM_SCALE_MODE_CLASSNAME,ne as Pressable,Gn as SMALL_SCALE_MODE_CLASSNAME,On as SPACING_PREFIX,Mn as SPECTRUM_COLOR_PREFIX,rr as ScaleModeContext,ln as ScaleModeForAppContext,_r as ScaleModeForAppProvider,sn as ScaleModeForAppUpdaterContext,zr as ScaleModeForDeviceContext,Hr as ScaleModeForDeviceProvider,tr as ScaleModeProvider,ml as Screen,ar as StyleProvider,Dn as TEXT_TRANSFORM_PREFIX,br as Text,ls as ThemeProvider,R as UDS_PREFIX,hl as VStack,Un as XLARGE_SCALE_MODE_CLASSNAME,Nn as XSMALL_SCALE_MODE_CLASSNAME,Xn as XXLARGE_SCALE_MODE_CLASSNAME,Yn as XXXLARGE_SCALE_MODE_CLASSNAME,Oo as alwaysPalette,we as createStyler,Zo as defaultTokensConfig,qe as entries,ge as fontFamilyGlobal,N as fontWeightMap,ae as useAppState,qo as useColorMode,Vl as useColorModeForApp,Rr as useColorModeForDevice,vr as useComputedTokens,Tr as useDeviceFontScale,ke as useScaleMode,Br as useScaleModeForDevice,G as useStyles,ir as useTokens};
1
+ import{forwardRef as Jr}from"react";var We={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},ze={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var He={none:0,thin:1,medium:2,thick:2},Be={none:0,thin:1,medium:2,thick:4};var Oe={1:[{color:"rgba(0, 0, 0, 0.08)",offsetX:0,offsetY:2,blurRadius:4,spreadRadius:0},{color:"rgba(0, 0, 0, 0.10)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],2:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:8,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],3:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:16,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:2,spreadRadius:0}]};var _e={auto:"auto",square:"1 / 1",video:"16 / 9"},Ve={auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"};var De={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},backgroundWash:{"alert-wash":{hue:"red",step:"1"},"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"0"},"elevation-2":{hue:"gray",step:"0"},"elevation-3":{hue:"gray",step:"0"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},Ie={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},backgroundWash:{"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"alert-wash":{hue:"red",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"2"},"elevation-2":{hue:"gray",step:"3"},"elevation-3":{hue:"gray",step:"4"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},Bo={white:"#ffffff",black:"#000000",transparent:"transparent"};var pe={s:16,m:24,l:32},Le=pe,ce={s:16,m:24,l:32},Ne=ce;var $e={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},Ge={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var Ue={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"126 31 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"122 122 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"75 133 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"109 110 255",7:"93 94 255",8:"64 64 227",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},Xe={blue:{0:"0 10 38",1:"0 14 57",2:"0 19 75",3:"0 29 102",4:"0 44 129",5:"0 63 156",6:"0 87 183",7:"0 116 210",8:"17 148 236",9:"18 169 255",10:"99 192 255",11:"125 203 255",12:"150 210 250",13:"182 224 252",14:"213 237 252",15:"240 247 252"},purple:{0:"25 0 38",1:"34 0 57",2:"42 0 75",3:"51 0 102",4:"57 0 125",5:"80 21 176",6:"96 1 210",7:"108 36 242",8:"119 89 255",9:"144 124 255",10:"165 149 248",11:"187 174 249",12:"209 201 251",13:"225 219 252",14:"235 232 254",15:"248 244 255"},pink:{0:"38 0 19",1:"48 0 23",2:"58 0 27",3:"75 0 34",4:"96 0 43",5:"123 0 54",6:"157 0 67",7:"194 0 81",8:"233 0 107",9:"255 0 128",10:"255 54 161",11:"255 101 186",12:"255 150 211",13:"255 186 228",14:"255 212 240",15:"255 229 247"},red:{0:"38 3 0",1:"57 3 0",2:"75 3 0",3:"102 1 0",4:"129 5 0",5:"156 15 12",6:"183 28 27",7:"210 46 47",8:"232 58 62",9:"255 77 82",10:"255 105 109",11:"255 135 141",12:"255 155 161",13:"255 183 188",14:"254 210 214",15:"255 240 241"},yellow:{0:"38 35 0",1:"48 42 0",2:"58 49 0",4:"96 73 0",3:"75 60 0",5:"123 91 0",6:"157 112 0",7:"194 136 0",8:"233 171 0",9:"255 204 0",10:"255 220 79",11:"255 232 102",12:"255 243 138",13:"255 249 163",14:"255 251 197",15:"255 253 238"},green:{0:"7 33 23",1:"7 43 29",2:"8 48 32",3:"8 55 36",4:"11 70 44",5:"14 91 55",6:"18 118 68",7:"23 149 83",8:"29 181 97",9:"26 197 103",10:"55 219 115",11:"91 235 126",12:"128 242 143",13:"169 251 169",14:"213 255 208",15:"247 255 245"},teal:{0:"0 35 38",1:"0 40 43",2:"0 45 49",3:"0 56 60",4:"0 73 76",5:"0 97 99",6:"0 126 127",7:"1 160 159",8:"15 194 190",9:"17 211 205",10:"52 227 222",11:"99 237 231",12:"145 249 243",13:"185 255 251",14:"216 255 252",15:"242 255 254"},gray:{0:"0 0 0",1:"16 21 24",2:"29 34 40",3:"35 42 49",4:"44 54 63",5:"70 78 86",6:"91 99 106",7:"110 119 128",8:"130 138 147",9:"151 158 168",10:"176 185 193",11:"199 205 210",12:"224 228 233",13:"240 243 245",14:"245 248 250",15:"255 255 255"},carbon:{0:"0 0 0",1:"10 10 10",2:"20 20 20",3:"31 31 31",4:"41 41 41",5:"50 50 50",6:"68 68 68",7:"90 90 90",8:"117 117 117",9:"142 142 142",10:"176 176 176",11:"205 205 205",12:"227 227 227",13:"245 245 245",14:"252 251 251",15:"255 255 255"},orange:{0:"38 15 0",1:"46 17 0",2:"54 19 0",3:"67 23 0",4:"86 28 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77",12:"255 161 102",13:"255 192 153",14:"255 224 204",15:"255 246 240"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var Xo=["Helvetica Neue","Helvetica","Arial","sans-serif"],Ye=["Georgia","Times","Times New Roman","serif"],me={icons:{fallbacks:Xo,name:"yahoo-icons"},sans:{fallbacks:Xo,name:"yahoo-sans"},"sans-beta":{fallbacks:Xo,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:Xo,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:Ye,name:"yahoo-serif-text"},"serif-display":{fallbacks:Ye,name:"yahoo-serif-display"}},ge={display1:"sans",display2:"sans",display3:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},L={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},fe={display1:"black",display2:"extrabold",display3:"extrabold",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},ue={display1:"uppercase",display2:"none",display3:"none",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},be={fontSize:{display1:46,display2:37,display3:33,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,display2:44,display3:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},he={fontSize:{display1:46,display2:38,display3:34,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...be.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},Yo={fontSize:{display1:47,display2:39,display3:35,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...he.lineHeight,title2:36,title3:32}},ye={fontSize:{...Yo.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...Yo.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},Ce={fontSize:{display1:50,display2:42,display3:38,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...ye.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},Se={fontSize:{display1:52,display2:44,display3:40,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...Ce.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},je={fontSize:{display1:54,display2:46,display3:42,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...Se.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var xe={fontFamily:ge,fontWeight:fe,textTransform:ue,avatarSizes:pe,iconSizes:ce,borderRadius:We,borderWidth:He,spacing:$e},jo={fontFamily:ge,fontWeight:fe,textTransform:ue,avatarSizes:Le,iconSizes:Ne,borderRadius:ze,borderWidth:Be,spacing:Ge},Zo={colorMode:{light:{palette:De,spectrum:Ue},dark:{palette:Ie,spectrum:Xe}},scaleMode:{xSmall:{...xe,...be},small:{...xe,...he},medium:{...xe,...Yo},large:{...jo,...ye},xLarge:{...jo,...Ce},xxLarge:{...jo,...Se},xxxLarge:{...jo,...je}},aspectRatio:_e,elevation:Oe,fontFamily:me,zIndex:Ve};var R="uds",Tn=`${R}-spectrum-color`,kn=`${R}-font`,Rn=`${R}-icon-size`,Fn=`${R}-avatar-size`,En=`${R}-border-radius`,Mn=`${R}-border-width`,An=`${R}-spacing`,Wn=`${R}-font-size`,zn=`${R}-line-height`,Hn=`${R}-font-weight`,Bn=`${R}-text-transform`,On=`${R}-color-mode-dark`,_r=`${R}-color-mode-light`,_n=`${R}-scale-mode-xsmall`,Vn=`${R}-scale-mode-small`,Dn=`${R}-scale-mode-medium`,Vr=`${R}-scale-mode-large`,In=`${R}-scale-mode-xlarge`,Ln=`${R}-scale-mode-xxlarge`,Nn=`${R}-scale-mode-xxxlarge`,$n=_r,Gn=Vr,Un=`--${R}-font-icons`,Xn=`--${R}-font-sans`,Yn=`--${R}-font-sans-beta`,jn=`--${R}-font-sans-condensed`,Zn=`--${R}-font-serif-display`,Kn=`--${R}-font-serif-text`;var Io="system",Lo="system",Ao="light",Wo="large",Jn=!1,Qn="\u{1F1FA}\u{1F1F8} US";function Ze(e){return Object.entries(e)}import{createContext as Yr,memo as jr,useContext as rr,useMemo as Zr}from"react";import{textVariants as Ir}from"@yahoo/uds/fixtures";function Ko(e,r){return Object.keys(e).reduce((t,n,a)=>(t[n]=r(e[n],n,a),t),{})}function Ke({spectrum:e,palette:r}){let t=Ko(e,a=>Ko(a,i=>`rgb(${i.replaceAll(" ",",")})`)),n=Ko(r,a=>Object.entries(a).reduce((i,[c,{hue:o,step:d,opacity:u}])=>{let l=e[o][d],s=u?`rgb(${l.replaceAll(" ",",")} / ${u})`:`rgb(${l.replaceAll(" ",",")})`;return{...i,[c]:s}},{}));return{spectrum:t,palette:n}}function Dr(e){let r={};for(let[t,[{color:n,offsetX:a,offsetY:i,blurRadius:c}]]of Ze(e)){let o={shadowColor:n,shadowOffset:{width:a,height:i},shadowOpacity:1,shadowRadius:c};r[t]=o}return r}function qe({colorMode:e,elevation:r,...t}){return{...t,colorMode:{light:Ke(e.light),dark:Ke(e.dark)},elevation:Dr(r)}}function ve(e){return typeof e=="boolean"?`${e}`:e===0?"0":e}var _={};function we({colorMode:e,scaleMode:r},t){let{colorMode:n,scaleMode:a,fontFamily:i,...c}=qe(t),o={fontFamilyGlobal:i,...c,...n[e],...a[r]},d=Object.assign,u=function(eo){return function(g){let no={};if(!eo?.variants)return d(no,eo?.base);let{base:$o,variants:ne,defaultVariants:ie,compoundVariants:_o}=eo;$o&&d(no,$o);function ae(Vo){if(Vo){let{style:Do,...le}=Vo;for(let Go in le){let Uo=ne[Go],de=g?.[Go],Ae=ie?.[Go],se=ve(de)||ve(Ae);if(se&&se in Uo){let Or=Uo[se];d(no,Or)}}Do&&d(no,Do)}}if(ae(g),_o&&_o?.length>0)for(let Vo of _o){let{style:Do,...le}=Vo;Object.entries(le).every(([Uo,de])=>g?.[Uo]===de)&&Do&&d(no,Do)}return g?.style&&d(no,g.style),no}},l=o.spacing.none,s=o.spacing[1],p=o.spacing[2],m=o.spacing[3],b=o.spacing[4],h=o.spacing[5],y=o.spacing[6],C=o.spacing[7],S=o.spacing[8],x=o.spacing[9],v=o.spacing[10],w=o.spacing[11],P=o.spacing[12],T=o.spacing[13],k=o.spacing[14],F=o.palette.core.accent,E=o.palette.core.alert,M=o.palette.core.brand,A=o.palette.core.positive,W=o.palette.core.warning,z=Bo.white,H=Bo.black,B=Bo.transparent,io=o.palette.foreground.muted,ao=o.palette.foreground["on-color"],lo=o.palette.foreground.primary,to=o.palette.foreground.secondary,so=o.palette.foreground.tertiary,X=o.palette.backgroundWash["accent-wash"],Y=o.palette.backgroundWash["alert-wash"],j=o.palette.backgroundWash["brand-wash"],Z=o.palette.backgroundWash["positive-wash"],K=o.palette.backgroundWash["warning-wash"],N=o.palette.elevation["elevation-1"],$=o.palette.elevation["elevation-2"],G=o.palette.elevation["elevation-3"],q=o.palette.elevation["elevation-3-inverse"],J=o.palette.elevation.overlay,Q=o.palette.background.primary,oo=o.palette.background.secondary,O=o.palette.line.primary,V=o.palette.line.secondary,D=o.palette.line.tertiary,I=o.palette.line.muted,f=o.fontFamilyGlobal,po=f.sans.name,co=f["sans-beta"].name,mo=f["sans-condensed"].name,go=f["serif-text"].name,fo=f["serif-display"].name,uo=f[o.fontFamily.display1].name,bo=f[o.fontFamily.display2].name,ho=f[o.fontFamily.display3].name,yo=f[o.fontFamily.title1].name,Co=f[o.fontFamily.title2].name,So=f[o.fontFamily.title3].name,xo=f[o.fontFamily.title4].name,vo=f[o.fontFamily.headline1].name,wo=f[o.fontFamily.body1].name,Po=f[o.fontFamily.label1].name,To=f[o.fontFamily.label2].name,ko=f[o.fontFamily.caption1].name,Ro=f[o.fontFamily.caption2].name,Fo=f[o.fontFamily.legal1].name;function Eo(U){return!!(typeof U=="string"&&Ir.includes(U))}function Mo({style:U,...eo}){let Oo={},g;Eo(eo.fontWeight)?g=o.fontWeight[eo.fontWeight]:g="regular";let no=u({variants:{color:{accent:{color:F},alert:{color:E},black:{color:H},brand:{color:M},positive:{color:A},warning:{color:W},white:{color:z},transparent:{color:B},muted:{color:io},"on-color":{color:ao},primary:{color:lo},secondary:{color:to},tertiary:{color:so}},colorChecked:{accent:{color:F},alert:{color:E},black:{color:H},brand:{color:M},positive:{color:A},warning:{color:W},white:{color:z},transparent:{color:B},muted:{color:io},"on-color":{color:ao},primary:{color:lo},secondary:{color:to},tertiary:{color:to}},fontFamily:{icons:{fontFamily:f.icons.name},sans:{fontFamily:`${po}-${g}`},"sans-beta":{fontFamily:`${co}-${g}`},"sans-condensed":{fontFamily:`${mo}-${g}`},"serif-text":{fontFamily:`${go}-${g}`},"serif-display":{fontFamily:`${fo}-${g}`},display1:{fontFamily:`${uo}-${g}`},display2:{fontFamily:`${bo}-${g}`},display3:{fontFamily:`${ho}-${g}`},title1:{fontFamily:`${yo}-${g}`},title2:{fontFamily:`${Co}-${g}`},title3:{fontFamily:`${So}-${g}`},title4:{fontFamily:`${xo}-${g}`},headline1:{fontFamily:`${vo}-${g}`},body1:{fontFamily:`${wo}-${g}`},label1:{fontFamily:`${Po}-${g}`},label2:{fontFamily:`${To}-${g}`},caption1:{fontFamily:`${ko}-${g}`},caption2:{fontFamily:`${Ro}-${g}`},legal1:{fontFamily:`${Fo}-${g}`}},fontSize:{display1:{fontSize:o.fontSize.display1},display2:{fontSize:o.fontSize.display2},display3:{fontSize:o.fontSize.display3},title1:{fontSize:o.fontSize.title1},title2:{fontSize:o.fontSize.title2},title3:{fontSize:o.fontSize.title3},title4:{fontSize:o.fontSize.title4},headline1:{fontSize:o.fontSize.headline1},body1:{fontSize:o.fontSize.body1},label1:{fontSize:o.fontSize.label1},label2:{fontSize:o.fontSize.label2},caption1:{fontSize:o.fontSize.caption1},caption2:{fontSize:o.fontSize.caption2},legal1:{fontSize:o.fontSize.legal1}},fontWeight:{display1:{fontWeight:L[o.fontWeight.display1]},display2:{fontWeight:L[o.fontWeight.display2]},display3:{fontWeight:L[o.fontWeight.display3]},title1:{fontWeight:L[o.fontWeight.title1]},title2:{fontWeight:L[o.fontWeight.title2]},title3:{fontWeight:L[o.fontWeight.title3]},title4:{fontWeight:L[o.fontWeight.title4]},headline1:{fontWeight:L[o.fontWeight.headline1]},body1:{fontWeight:L[o.fontWeight.body1]},label1:{fontWeight:L[o.fontWeight.label1]},label2:{fontWeight:L[o.fontWeight.label2]},caption1:{fontWeight:L[o.fontWeight.caption1]},caption2:{fontWeight:L[o.fontWeight.caption2]},legal1:{fontWeight:L[o.fontWeight.legal1]},thin:{},extralight:{},light:{},regular:{},medium:{},semibold:{},bold:{},extrabold:{},black:{}},lineHeight:{display1:{lineHeight:o.lineHeight.display1},display2:{lineHeight:o.lineHeight.display2},display3:{lineHeight:o.lineHeight.display3},title1:{lineHeight:o.lineHeight.title1},title2:{lineHeight:o.lineHeight.title2},title3:{lineHeight:o.lineHeight.title3},title4:{lineHeight:o.lineHeight.title4},headline1:{lineHeight:o.lineHeight.headline1},body1:{lineHeight:o.lineHeight.body1},label1:{lineHeight:o.lineHeight.label1},label2:{lineHeight:o.lineHeight.label2},caption1:{lineHeight:o.lineHeight.caption1},caption2:{lineHeight:o.lineHeight.caption2},legal1:{lineHeight:o.lineHeight.legal1}},textAlign:{center:{textAlign:"center"},justify:{textAlign:"justify"},start:{textAlign:"left"},end:{textAlign:"right"}},backgroundColor:{accent:{backgroundColor:F},alert:{backgroundColor:E},black:{backgroundColor:H},brand:{backgroundColor:M},positive:{backgroundColor:A},warning:{backgroundColor:W},white:{backgroundColor:z},"accent-wash":{backgroundColor:X},"alert-wash":{backgroundColor:Y},"brand-wash":{backgroundColor:j},"elevation-1":{backgroundColor:N},"elevation-2":{backgroundColor:$},"elevation-3":{backgroundColor:G},"elevation-3-inverse":{backgroundColor:q},overlay:{backgroundColor:J},"positive-wash":{backgroundColor:Z},primary:{backgroundColor:Q},secondary:{backgroundColor:oo},transparent:{backgroundColor:B},"warning-wash":{backgroundColor:K}},backgroundColorOnActive:{accent:{backgroundColor:F},alert:{backgroundColor:E},black:{backgroundColor:H},brand:{backgroundColor:M},positive:{backgroundColor:A},warning:{backgroundColor:W},white:{backgroundColor:z},"accent-wash":{backgroundColor:X},"alert-wash":{backgroundColor:Y},"brand-wash":{backgroundColor:j},"elevation-1":{backgroundColor:N},"elevation-2":{backgroundColor:$},"elevation-3":{backgroundColor:G},"elevation-3-inverse":{backgroundColor:q},overlay:{backgroundColor:J},"positive-wash":{backgroundColor:Z},primary:{backgroundColor:Q},secondary:{backgroundColor:oo},transparent:{backgroundColor:B},"warning-wash":{backgroundColor:K}},backgroundColorOnHover:{accent:{backgroundColor:F},alert:{backgroundColor:E},black:{backgroundColor:H},brand:{backgroundColor:M},positive:{backgroundColor:A},warning:{backgroundColor:W},white:{backgroundColor:z},"accent-wash":{backgroundColor:X},"alert-wash":{backgroundColor:Y},"brand-wash":{backgroundColor:j},"elevation-1":{backgroundColor:N},"elevation-2":{backgroundColor:$},"elevation-3":{backgroundColor:G},"elevation-3-inverse":{backgroundColor:q},overlay:{backgroundColor:J},"positive-wash":{backgroundColor:Z},primary:{backgroundColor:Q},secondary:{backgroundColor:oo},transparent:{backgroundColor:B},"warning-wash":{backgroundColor:K}},backgroundColorOnChecked:{accent:{backgroundColor:F},alert:{backgroundColor:E},black:{backgroundColor:H},brand:{backgroundColor:M},positive:{backgroundColor:A},warning:{backgroundColor:W},white:{backgroundColor:z},"accent-wash":{backgroundColor:X},"alert-wash":{backgroundColor:Y},"brand-wash":{backgroundColor:j},"elevation-1":{backgroundColor:N},"elevation-2":{backgroundColor:$},"elevation-3":{backgroundColor:G},"elevation-3-inverse":{backgroundColor:q},overlay:{backgroundColor:J},"positive-wash":{backgroundColor:Z},primary:{backgroundColor:Q},secondary:{backgroundColor:oo},transparent:{backgroundColor:B},"warning-wash":{backgroundColor:K}},elevation:{1:{backgroundColor:N,shadowColor:"rgba(0, 0, 0, 0.08)",shadowOffset:{width:0,height:2},shadowRadius:4,shadowOpacity:1,overflow:"visible"},2:{backgroundColor:$,shadowColor:"rgba(0, 0, 0, 0.1)",shadowOffset:{width:0,height:4},shadowRadius:8,shadowOpacity:1,overflow:"visible"},3:{backgroundColor:G,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffset:{width:0,height:4},shadowRadius:16,shadowOpacity:1,overflow:"visible"}},opacity:{0:{opacity:0},5:{opacity:.05},10:{opacity:.1},20:{opacity:.2},25:{opacity:.25},30:{opacity:.3},40:{opacity:.4},50:{opacity:.5},60:{opacity:.6},70:{opacity:.7},75:{opacity:.75},80:{opacity:.8},90:{opacity:.9},95:{opacity:.95},100:{opacity:1}},spacing:{none:{padding:l},1:{padding:s},2:{padding:p},3:{padding:m},4:{padding:b},5:{padding:h},6:{padding:y},7:{padding:C},8:{padding:S},9:{padding:x},10:{padding:v},11:{padding:w},12:{padding:P},13:{padding:T},14:{padding:k}},spacingHorizontal:{none:{paddingHorizontal:l},1:{paddingHorizontal:s},2:{paddingHorizontal:p},3:{paddingHorizontal:m},4:{paddingHorizontal:b},5:{paddingHorizontal:h},6:{paddingHorizontal:y},7:{paddingHorizontal:C},8:{paddingHorizontal:S},9:{paddingHorizontal:x},10:{paddingHorizontal:v},11:{paddingHorizontal:w},12:{paddingHorizontal:P},13:{paddingHorizontal:T},14:{paddingHorizontal:k}},spacingVertical:{none:{paddingVertical:l},1:{paddingVertical:s},2:{paddingVertical:p},3:{paddingVertical:m},4:{paddingVertical:b},5:{paddingVertical:h},6:{paddingVertical:y},7:{paddingVertical:C},8:{paddingVertical:S},9:{paddingVertical:x},10:{paddingVertical:v},11:{paddingVertical:w},12:{paddingVertical:P},13:{paddingVertical:T},14:{paddingVertical:k}},spacingBottom:{none:{paddingBottom:l},1:{paddingBottom:s},2:{paddingBottom:p},3:{paddingBottom:m},4:{paddingBottom:b},5:{paddingBottom:h},6:{paddingBottom:y},7:{paddingBottom:C},8:{paddingBottom:S},9:{paddingBottom:x},10:{paddingBottom:v},11:{paddingBottom:w},12:{paddingBottom:P},13:{paddingBottom:T},14:{paddingBottom:k}},spacingEnd:{none:{paddingEnd:l},1:{paddingEnd:s},2:{paddingEnd:p},3:{paddingEnd:m},4:{paddingEnd:b},5:{paddingEnd:h},6:{paddingEnd:y},7:{paddingEnd:C},8:{paddingEnd:S},9:{paddingEnd:x},10:{paddingEnd:v},11:{paddingEnd:w},12:{paddingEnd:P},13:{paddingEnd:T},14:{paddingEnd:k}},spacingStart:{none:{paddingStart:l},1:{paddingStart:s},2:{paddingStart:p},3:{paddingStart:m},4:{paddingStart:b},5:{paddingStart:h},6:{paddingStart:y},7:{paddingStart:C},8:{paddingStart:S},9:{paddingStart:x},10:{paddingStart:v},11:{paddingStart:w},12:{paddingStart:P},13:{paddingStart:T},14:{paddingStart:k}},spacingTop:{none:{paddingTop:l},1:{paddingTop:s},2:{paddingTop:p},3:{paddingTop:m},4:{paddingTop:b},5:{paddingTop:h},6:{paddingTop:y},7:{paddingTop:C},8:{paddingTop:S},9:{paddingTop:x},10:{paddingTop:v},11:{paddingTop:w},12:{paddingTop:P},13:{paddingTop:T},14:{paddingTop:k}},offset:{none:{margin:-l},1:{margin:-s},2:{margin:-p},3:{margin:-m},4:{margin:-b},5:{margin:-h},6:{margin:-y},7:{margin:-C},8:{margin:-S},9:{margin:-x},10:{margin:-v},11:{margin:-w},12:{margin:-P},13:{margin:-T},14:{margin:-k}},offsetVertical:{none:{marginVertical:-l},1:{marginVertical:-s},2:{marginVertical:-p},3:{marginVertical:-m},4:{marginVertical:-b},5:{marginVertical:-h},6:{marginVertical:-y},7:{marginVertical:-C},8:{marginVertical:-S},9:{marginVertical:-x},10:{marginVertical:-v},11:{marginVertical:-w},12:{marginVertical:-P},13:{marginVertical:-T},14:{marginVertical:-k}},offsetHorizontal:{none:{marginHorizontal:-l},1:{marginHorizontal:-s},2:{marginHorizontal:-p},3:{marginHorizontal:-m},4:{marginHorizontal:-b},5:{marginHorizontal:-h},6:{marginHorizontal:-y},7:{marginHorizontal:-C},8:{marginHorizontal:-S},9:{marginHorizontal:-x},10:{marginHorizontal:-v},11:{marginHorizontal:-w},12:{marginHorizontal:-P},13:{marginHorizontal:-T},14:{marginHorizontal:-k}},offsetBottom:{none:{marginBottom:-l},1:{marginBottom:-s},2:{marginBottom:-p},3:{marginBottom:-m},4:{marginBottom:-b},5:{marginBottom:-h},6:{marginBottom:-y},7:{marginBottom:-C},8:{marginBottom:-S},9:{marginBottom:-x},10:{marginBottom:-v},11:{marginBottom:-w},12:{marginBottom:-P},13:{marginBottom:-T},14:{marginBottom:-k}},offsetEnd:{none:{marginEnd:-l},1:{marginEnd:-s},2:{marginEnd:-p},3:{marginEnd:-m},4:{marginEnd:-b},5:{marginEnd:-h},6:{marginEnd:-y},7:{marginEnd:-C},8:{marginEnd:-S},9:{marginEnd:-x},10:{marginEnd:-v},11:{marginEnd:-w},12:{marginEnd:-P},13:{marginEnd:-T},14:{marginEnd:-k}},offsetStart:{none:{marginStart:-l},1:{marginStart:-s},2:{marginStart:-p},3:{marginStart:-m},4:{marginStart:-b},5:{marginStart:-h},6:{marginStart:-y},7:{marginStart:-C},8:{marginStart:-S},9:{marginStart:-x},10:{marginStart:-v},11:{marginStart:-w},12:{marginStart:-P},13:{marginStart:-T},14:{marginStart:-k}},offsetTop:{none:{marginTop:-l},1:{marginTop:-s},2:{marginTop:-p},3:{marginTop:-m},4:{marginTop:-b},5:{marginTop:-h},6:{marginTop:-y},7:{marginTop:-C},8:{marginTop:-S},9:{marginTop:-x},10:{marginTop:-v},11:{marginTop:-w},12:{marginTop:-P},13:{marginTop:-T},14:{marginTop:-k}},columnGap:{none:{columnGap:l},1:{columnGap:s},2:{columnGap:p},3:{columnGap:m},4:{columnGap:b},5:{columnGap:h},6:{columnGap:y},7:{columnGap:C},8:{columnGap:S},9:{columnGap:x},10:{columnGap:v},11:{columnGap:w},12:{columnGap:P},13:{columnGap:T},14:{columnGap:k}},rowGap:{none:{rowGap:l},1:{rowGap:s},2:{rowGap:p},3:{rowGap:m},4:{rowGap:b},5:{rowGap:h},6:{rowGap:y},7:{rowGap:C},8:{rowGap:S},9:{rowGap:x},10:{rowGap:v},11:{rowGap:w},12:{rowGap:P},13:{rowGap:T},14:{rowGap:k}},alignContent:{"flex-start":{alignContent:"flex-start"},"flex-end":{alignContent:"flex-end"},center:{alignContent:"center"},stretch:{alignContent:"stretch"},"space-between":{alignContent:"space-between"},"space-around":{alignContent:"space-around"}},alignItems:{"flex-start":{alignItems:"flex-start"},"flex-end":{alignItems:"flex-end"},center:{alignItems:"center"},stretch:{alignItems:"stretch"},baseline:{alignItems:"baseline"}},alignSelf:{auto:{alignSelf:"auto"},"flex-start":{alignSelf:"flex-start"},"flex-end":{alignSelf:"flex-end"},center:{alignSelf:"center"},stretch:{alignSelf:"stretch"},baseline:{alignSelf:"baseline"}},flex:{1:{flex:1},auto:{flexGrow:1,flexShrink:1,flexBasis:"auto"},initial:{flexGrow:1,flexShrink:1},none:{}},flexDirection:{row:{flexDirection:"row"},column:{flexDirection:"column"},"row-reverse":{flexDirection:"row-reverse"},"column-reverse":{flexDirection:"column-reverse"}},flexGrow:{0:{flexGrow:0},1:{flexGrow:1},2:{flexGrow:2},3:{flexGrow:3}},flexShrink:{0:{flexShrink:0},1:{flexShrink:1}},flexWrap:{wrap:{flexWrap:"wrap"},"wrap-reverse":{flexWrap:"wrap-reverse"},nowrap:{flexWrap:"nowrap"}},justifyContent:{"flex-start":{justifyContent:"flex-start"},"flex-end":{justifyContent:"flex-end"},center:{justifyContent:"center"},"space-between":{justifyContent:"space-between"},"space-around":{justifyContent:"space-around"},"space-evenly":{justifyContent:"space-evenly"}},flexBasis:{"min-content":{flexBasis:"auto"}},display:{block:{display:"flex"},"inline-block":{display:"flex",flexDirection:"row"},inline:{display:"flex",flexDirection:"row"},flex:{display:"flex"},"inline-flex":{display:"flex",flexDirection:"row",flexGrow:0},table:{display:"flex",flexDirection:"column"},"inline-table":{display:"flex",flexDirection:"row"},"table-caption":_,"table-cell":_,"table-column":_,"table-column-group":_,"table-footer-group":_,"table-header-group":_,"table-row-group":_,"table-row":_,"flow-root":_,grid:_,contents:_},overflow:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"hidden"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowX:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowY:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},position:{static:_,fixed:_,absolute:{position:"absolute"},relative:{position:"relative"},sticky:_},zIndex:{0:{zIndex:0},10:{zIndex:10},20:{zIndex:20},30:{zIndex:40},40:{zIndex:30},50:{zIndex:50},auto:_},height:{auto:{height:"auto"},full:{height:"100%"},screen:{height:"100%"},min:{height:"auto"},max:{height:"auto"},fit:{},"1/2":{height:"50%"},"1/3":{height:"33.33%"},"2/3":{height:"66.67%"},"1/4":{height:"25%"},"2/4":{height:"50%"},"3/4":{height:"75%"},"1/5":{height:"20%"},"2/5":{height:"40%"},"3/5":{height:"60%"},"4/5":{height:"80%"},"1/6":{height:"16.67%"},"2/6":{height:"33.33%"},"3/6":{height:"50%"},"4/6":{height:"66.67%"},"5/6":{height:"83.33%"}},minHeight:{full:{minHeight:"100%"},min:{minHeight:"auto"},max:{minHeight:"auto"},fit:{},screen:{minHeight:"auto"}},maxHeight:{full:{maxHeight:"100%"},min:{maxHeight:"auto"},max:{maxHeight:"auto"},fit:{},screen:{maxHeight:"auto"},none:_},width:{auto:{width:"auto"},full:{width:"100%"},screen:{width:"auto"},min:{width:"auto"},max:{width:"auto"},fit:{},"1/2":{width:"50%"},"1/3":{width:"33.33%"},"2/3":{width:"66.67%"},"1/4":{width:"25%"},"2/4":{width:"50%"},"3/4":{width:"75%"},"1/5":{width:"20%"},"2/5":{width:"40%"},"3/5":{width:"60%"},"4/5":{width:"80%"},"1/6":{width:"16.67%"},"2/6":{width:"33.33%"},"3/6":{width:"50%"},"4/6":{width:"66.67%"},"5/6":{width:"83.33%"},"1/12":{width:"8.33%"},"2/12":{width:"16.67%"},"3/12":{width:"25%"},"4/12":{width:"33.33%"},"5/12":{width:"41.67%"},"6/12":{width:"50%"},"7/12":{width:"58.33%"},"8/12":{width:"66.67%"},"9/12":{width:"75%"},"10/12":{width:"83.33%"},"11/12":{width:"91.67%"}},minWidth:{full:{minWidth:"100%"},min:{minWidth:"auto"},max:{minWidth:"auto"},fit:{},screen:{minWidth:"100%"}},maxWidth:{none:_,full:{maxWidth:"100%"},min:{maxWidth:"auto"},max:{maxWidth:"auto"},fit:{}},avatarSize:{s:{width:o.avatarSizes.s,height:o.avatarSizes.s,lineHeight:o.avatarSizes.s,fontSize:o.avatarSizes.s},m:{width:o.avatarSizes.m,height:o.avatarSizes.m,lineHeight:o.avatarSizes.m,fontSize:o.avatarSizes.m},l:{width:o.avatarSizes.l,height:o.avatarSizes.l,lineHeight:o.avatarSizes.l,fontSize:o.avatarSizes.l}},iconSize:{s:{width:o.iconSizes.s,height:o.iconSizes.s,lineHeight:o.iconSizes.s,fontSize:o.iconSizes.s},m:{width:o.iconSizes.m,height:o.iconSizes.m,lineHeight:o.iconSizes.m,fontSize:o.iconSizes.m},l:{width:o.iconSizes.l,height:o.iconSizes.l,lineHeight:o.iconSizes.l,fontSize:o.iconSizes.l}},bordered:{true:{borderWidth:1}},borderColor:{accent:{borderColor:F},alert:{borderColor:E},black:{borderColor:H},brand:{borderColor:M},positive:{borderColor:A},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:B},muted:{borderColor:I},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:D}},borderColorOnActive:{accent:{borderColor:F},alert:{borderColor:E},black:{borderColor:H},brand:{borderColor:M},positive:{borderColor:A},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:B},muted:{borderColor:I},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:D}},borderColorOnFocus:{accent:{borderColor:F},alert:{borderColor:E},black:{borderColor:H},brand:{borderColor:M},positive:{borderColor:A},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:B},muted:{borderColor:I},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:D}},borderColorOnHover:{accent:{borderColor:F},alert:{borderColor:E},black:{borderColor:H},brand:{borderColor:M},positive:{borderColor:A},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:B},muted:{borderColor:I},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:D}},borderColorOnChecked:{accent:{borderColor:F},alert:{borderColor:E},black:{borderColor:H},brand:{borderColor:M},positive:{borderColor:A},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:B},muted:{borderColor:I},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:D}},borderStartColor:{accent:{borderStartColor:F},alert:{borderStartColor:E},black:{borderStartColor:H},brand:{borderStartColor:M},positive:{borderStartColor:A},warning:{borderStartColor:W},white:{borderStartColor:z},transparent:{borderStartColor:B},muted:{borderStartColor:I},primary:{borderStartColor:O},secondary:{borderStartColor:V},tertiary:{borderStartColor:D}},borderEndColor:{accent:{borderEndColor:F},alert:{borderEndColor:E},black:{borderEndColor:H},brand:{borderEndColor:M},positive:{borderEndColor:A},warning:{borderEndColor:W},white:{borderEndColor:z},transparent:{borderEndColor:B},muted:{borderEndColor:I},primary:{borderEndColor:O},secondary:{borderEndColor:V},tertiary:{borderEndColor:D}},borderBottomColor:{accent:{borderBottomColor:F},alert:{borderBottomColor:E},black:{borderBottomColor:H},brand:{borderBottomColor:M},positive:{borderBottomColor:A},warning:{borderBottomColor:W},white:{borderBottomColor:z},transparent:{borderBottomColor:B},muted:{borderBottomColor:I},primary:{borderBottomColor:O},secondary:{borderBottomColor:V},tertiary:{borderBottomColor:D}},borderTopColor:{accent:{borderTopColor:F},alert:{borderTopColor:E},black:{borderTopColor:H},brand:{borderTopColor:M},positive:{borderTopColor:A},warning:{borderTopColor:W},white:{borderTopColor:z},transparent:{borderTopColor:B},muted:{borderTopColor:I},primary:{borderTopColor:O},secondary:{borderTopColor:V},tertiary:{borderTopColor:D}},borderRadius:{none:{borderRadius:o.borderRadius.none},xs:{borderRadius:o.borderRadius.xs},sm:{borderRadius:o.borderRadius.sm},md:{borderRadius:o.borderRadius.md},lg:{borderRadius:o.borderRadius.lg},xl:{borderRadius:o.borderRadius.xl},full:{borderRadius:o.borderRadius.full}},borderTopStartRadius:{none:{borderTopStartRadius:o.borderRadius.none},xs:{borderTopStartRadius:o.borderRadius.xs},sm:{borderTopStartRadius:o.borderRadius.sm},md:{borderTopStartRadius:o.borderRadius.md},lg:{borderTopStartRadius:o.borderRadius.lg},xl:{borderTopStartRadius:o.borderRadius.xl},full:{borderTopStartRadius:o.borderRadius.full}},borderTopEndRadius:{none:{borderTopEndRadius:o.borderRadius.none},xs:{borderTopEndRadius:o.borderRadius.xs},sm:{borderTopEndRadius:o.borderRadius.sm},md:{borderTopEndRadius:o.borderRadius.md},lg:{borderTopEndRadius:o.borderRadius.lg},xl:{borderTopEndRadius:o.borderRadius.xl},full:{borderTopEndRadius:o.borderRadius.full}},borderBottomStartRadius:{none:{borderBottomStartRadius:o.borderRadius.none},xs:{borderBottomStartRadius:o.borderRadius.xs},sm:{borderBottomStartRadius:o.borderRadius.sm},md:{borderBottomStartRadius:o.borderRadius.md},lg:{borderBottomStartRadius:o.borderRadius.lg},xl:{borderBottomStartRadius:o.borderRadius.xl},full:{borderBottomStartRadius:o.borderRadius.full}},borderBottomEndRadius:{none:{borderBottomEndRadius:o.borderRadius.none},xs:{borderBottomEndRadius:o.borderRadius.xs},sm:{borderBottomEndRadius:o.borderRadius.sm},md:{borderBottomEndRadius:o.borderRadius.md},lg:{borderBottomEndRadius:o.borderRadius.lg},xl:{borderBottomEndRadius:o.borderRadius.xl},full:{borderBottomEndRadius:o.borderRadius.full}},borderWidth:{none:{borderWidth:o.borderWidth.none},thin:{borderWidth:o.borderWidth.thin},medium:{borderWidth:o.borderWidth.medium},thick:{borderWidth:o.borderWidth.thick}},borderVerticalWidth:{none:{borderTopWidth:o.borderWidth.none,borderBottomWidth:o.borderWidth.none},thin:{borderTopWidth:o.borderWidth.thin,borderBottomWidth:o.borderWidth.thin},medium:{borderTopWidth:o.borderWidth.medium,borderBottomWidth:o.borderWidth.medium},thick:{borderTopWidth:o.borderWidth.thick,borderBottomWidth:o.borderWidth.thick}},borderHorizontalWidth:{none:{borderStartWidth:o.borderWidth.none,borderEndWidth:o.borderWidth.none},thin:{borderStartWidth:o.borderWidth.thin,borderEndWidth:o.borderWidth.thin},medium:{borderStartWidth:o.borderWidth.medium,borderEndWidth:o.borderWidth.medium},thick:{borderStartWidth:o.borderWidth.thick,borderEndWidth:o.borderWidth.thick}},borderStartWidth:{none:{borderStartWidth:o.borderWidth.none},thin:{borderStartWidth:o.borderWidth.thin},medium:{borderStartWidth:o.borderWidth.medium},thick:{borderStartWidth:o.borderWidth.thick}},borderEndWidth:{none:{borderEndWidth:o.borderWidth.none},thin:{borderEndWidth:o.borderWidth.thin},medium:{borderEndWidth:o.borderWidth.medium},thick:{borderEndWidth:o.borderWidth.thick}},borderTopWidth:{none:{borderTopWidth:o.borderWidth.none},thin:{borderTopWidth:o.borderWidth.thin},medium:{borderTopWidth:o.borderWidth.medium},thick:{borderTopWidth:o.borderWidth.thick}},borderBottomWidth:{none:{borderBottomWidth:o.borderWidth.none},thin:{borderBottomWidth:o.borderWidth.thin},medium:{borderBottomWidth:o.borderWidth.medium},thick:{borderBottomWidth:o.borderWidth.thick}},borderedVertical:{true:{borderTopWidth:1,borderBottomWidth:1,borderColor:O}},borderedTop:{true:{borderTopWidth:1,borderColor:O}},borderedBottom:{true:{borderBottomWidth:1,borderColor:O}},borderedHorizontal:{true:{borderStartWidth:1,borderEndWidth:1,borderColor:O}},borderedEnd:{true:{borderEndWidth:1,borderColor:O}},borderedStart:{true:{borderStartWidth:1,borderColor:O}},contentFit:{contain:_,cover:_,fill:_,none:_,"scale-down":_},textTransform:{display1:{textTransform:o.textTransform.display1},display2:{textTransform:o.textTransform.display2},display3:{textTransform:o.textTransform.display3},title1:{textTransform:o.textTransform.title1},title2:{textTransform:o.textTransform.title2},title3:{textTransform:o.textTransform.title3},title4:{textTransform:o.textTransform.title4},headline1:{textTransform:o.textTransform.headline1},body1:{textTransform:o.textTransform.body1},label1:{textTransform:o.textTransform.label1},label2:{textTransform:o.textTransform.label2},caption1:{textTransform:o.textTransform.caption1},caption2:{textTransform:o.textTransform.caption2},legal1:{textTransform:o.textTransform.legal1},none:{textTransform:"none"},uppercase:{textTransform:"uppercase"},lowercase:{textTransform:"lowercase"},capitalize:{textTransform:"capitalize"}}}})(eo);return d(Oo,no,U)}return{cva:u,getStyles:Mo,tokens:o}}var Pe=we({colorMode:Ao,scaleMode:Wo},Zo);import{createContext as Lr,useContext as Nr}from"react";import{jsx as $r}from"react/jsx-runtime";var Je=Lr(Ao);function qo(){return Nr(Je)}function Qe({value:e=Ao,children:r}){return $r(Je.Provider,{value:e,children:r})}import{createContext as Gr,useContext as Ur}from"react";import{jsx as Xr}from"react/jsx-runtime";var or=Gr(Wo);function Te(){let e=Ur(or);return e||Wo}function er({value:e,children:r}){let t=Te();return Xr(or.Provider,{value:e??t,children:r})}import{jsx as Kr}from"react/jsx-runtime";var ke=Yr(Pe),tr=jr(function({children:r,value:t=Zo}){let n=qo(),a=Te(),i=Zr(()=>t===void 0&&n===Ao&&a===Wo?Pe:we({colorMode:n,scaleMode:a},t),[n,a,t]);return Kr(ke.Provider,{value:i,children:r})});function ro(e){let{getStyles:r}=rr(ke);return r(e)}function nr(){return rr(ke).tokens}import{Children as No,cloneElement as ar,forwardRef as lr,isValidElement as Jo}from"react";function qr(e,r){typeof e=="function"?e(r):e!=null&&(e.current=r)}function ir(...e){return r=>e.forEach(t=>qr(t,r))}import{jsx as dr}from"react/jsx-runtime";function Qo(){let e=lr((i,c)=>{let{children:o,...d}=i,u=No.toArray(o),l=u.find(n);if(l){let s=l.props.children,p=u.map(m=>m===l?No.count(s)>1?No.only(null):Jo(s)?s.props.children:null:m);return dr(r,{...d,ref:c,children:Jo(s)?ar(s,void 0,p):null})}return dr(r,{...d,ref:c,children:o})});e.displayName="Slot";let r=lr((i,c)=>{let{children:o,...d}=i;return Jo(o)?ar(o,{...a(d,o.props),ref:c?ir(c,o.ref):o.ref}):No.count(o)>1?No.only(null):null});r.displayName="SlotClone";let t=({children:i})=>i;function n(i){return Jo(i)&&i.type===t}function a(i,c){let o={...c};for(let d in c){let u=i[d],l=c[d];/^on[A-Z]/.test(d)?u&&l?o[d]=(...p)=>{l(...p),u(...p)}:u&&(o[d]=u):d==="style"&&(o[d]={...u,...l})}return{...i,...o}}return e}var sr="RCTView",oe="RCTText",pr=Qo(),ee=Qo(),cr=Qo();import{jsx as Qr}from"react/jsx-runtime";var re=Jr(function({asChild:r=!1,style:t,backgroundColor:n,backgroundColorOnActive:a,backgroundColorOnHover:i,backgroundColorOnChecked:c,elevation:o,bordered:d,borderedTop:u,borderedBottom:l,borderedStart:s,borderedEnd:p,borderedHorizontal:m,borderedVertical:b,borderRadius:h,borderTopStartRadius:y,borderTopEndRadius:C,borderBottomStartRadius:S,borderBottomEndRadius:x,borderColor:v,borderColorOnActive:w,borderColorOnFocus:P,borderColorOnChecked:T,borderColorOnHover:k,borderStartColor:F,borderEndColor:E,borderTopColor:M,borderBottomColor:A,borderWidth:W,borderVerticalWidth:z,borderHorizontalWidth:H,borderStartWidth:B,borderEndWidth:io,borderTopWidth:ao,borderBottomWidth:lo,alignContent:to,alignItems:so="stretch",alignSelf:X,flex:Y,flexBasis:j,flexDirection:Z="column",flexGrow:K,flexShrink:N,flexWrap:$="nowrap",justifyContent:G="flex-start",display:q,zIndex:J,overflow:Q,overflowX:oo,overflowY:O,position:V,spacing:D,spacingHorizontal:I,spacingVertical:f,spacingBottom:po,spacingEnd:co,spacingStart:mo,spacingTop:go,offset:fo,offsetVertical:uo,offsetHorizontal:bo,offsetBottom:ho,offsetEnd:yo,offsetStart:Co,offsetTop:So,columnGap:xo,rowGap:vo,height:wo,minHeight:Po,maxHeight:To,width:ko,minWidth:Ro,maxWidth:Fo,...Eo},Mo){let U=ro({backgroundColor:n,backgroundColorOnActive:a,backgroundColorOnHover:i,backgroundColorOnChecked:c,elevation:o,bordered:d,borderedTop:u,borderedBottom:l,borderedStart:s,borderedEnd:p,borderedHorizontal:m,borderedVertical:b,borderRadius:h,borderTopStartRadius:y,borderTopEndRadius:C,borderBottomStartRadius:S,borderBottomEndRadius:x,borderColor:v,borderColorOnActive:w,borderColorOnFocus:P,borderColorOnChecked:T,borderColorOnHover:k,borderStartColor:F,borderEndColor:E,borderTopColor:M,borderBottomColor:A,borderWidth:W,borderVerticalWidth:z,borderHorizontalWidth:H,borderStartWidth:B,borderEndWidth:io,borderTopWidth:ao,borderBottomWidth:lo,alignContent:to,alignItems:so,alignSelf:X,flex:Y,flexDirection:Z,flexGrow:K,flexShrink:N,flexWrap:$,justifyContent:G,flexBasis:j,display:q,zIndex:J,overflow:Q,overflowX:oo,overflowY:O,position:V,spacing:D,spacingHorizontal:I,spacingVertical:f,spacingBottom:po,spacingEnd:co,spacingStart:mo,spacingTop:go,offset:fo,offsetVertical:uo,offsetHorizontal:bo,offsetBottom:ho,offsetEnd:yo,offsetStart:Co,offsetTop:So,columnGap:xo,rowGap:vo,height:wo,minHeight:Po,maxHeight:To,width:ko,minWidth:Ro,maxWidth:Fo,style:t});return Qr(r?pr:sr,{ref:Mo,style:U,...Eo})});import{forwardRef as ot}from"react";import{jsx as et}from"react/jsx-runtime";var ea=ot(function({gap:r,...t},n){return et(re,{ref:n,flexDirection:"row",rowGap:r,columnGap:r,...t})});import{forwardRef as rt}from"react";import{jsx as tt}from"react/jsx-runtime";var mr=rt(function({style:r,asChild:t=!1,size:n="l",color:a="primary",name:i,colorChecked:c,opacity:o,textAlign:d,spacing:u,spacingBottom:l,spacingEnd:s,spacingHorizontal:p,spacingStart:m,spacingTop:b,spacingVertical:h,offset:y,offsetBottom:C,offsetEnd:S,offsetHorizontal:x,offsetStart:v,offsetTop:w,offsetVertical:P,...T},k){let F=ro({color:a,colorChecked:c,opacity:o,fontFamily:"icons",textAlign:d,spacing:u,spacingBottom:l,spacingEnd:s,spacingHorizontal:p,spacingStart:m,spacingTop:b,spacingVertical:h,offset:y,offsetBottom:C,offsetEnd:S,offsetHorizontal:x,offsetStart:v,offsetTop:w,offsetVertical:P,iconSize:n,style:r});return tt(t?ee:oe,{ref:k,maxFontSizeMultiplier:1,allowFontScaling:!1,style:F,...T,children:i})});import{forwardRef as lt}from"react";var Re={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",minWidth:"fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",bordered:!0},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",bordered:!0},"accent-ghost":{color:"accent"},"accent-wash":{color:"accent",backgroundColor:"accent-wash",borderColor:"accent",bordered:!0},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",bordered:!0},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",bordered:!0},"brand-ghost":{color:"brand"},"brand-wash":{color:"brand",backgroundColor:"brand-wash",borderColor:"brand",bordered:!0},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",bordered:!0},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",bordered:!0},"positive-ghost":{color:"positive"},"positive-wash":{color:"positive",backgroundColor:"positive-wash",borderColor:"positive",bordered:!0},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",bordered:!0},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",bordered:!0},"alert-ghost":{color:"alert"},"alert-wash":{color:"alert",backgroundColor:"alert-wash",borderColor:"alert",bordered:!0},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",bordered:!0},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",bordered:!0},"warning-ghost":{color:"warning"},"warning-wash":{color:"warning",backgroundColor:"warning-wash",borderColor:"warning",bordered:!0},"primary-outline":{color:"primary",borderColor:"muted",bordered:!0},"primary-ghost":{color:"primary"},secondary:{backgroundColor:"secondary",color:"primary"}},size:{s:{variant:"label1",spacingHorizontal:"6",spacingVertical:"4",columnGap:"4"},m:{variant:"headline1",spacingHorizontal:"7",spacingVertical:"5",columnGap:"4"},l:{variant:"headline1",spacingHorizontal:"8",spacingVertical:"6",columnGap:"4"}}};function gr({variant:e="accent",size:r="s"}){let{color:t,...n}=Re.variant[e],{variant:a,...i}=Re.size[r];return{pressable:{...Re.base,...n,...i},text:{color:t,variant:a,textAlign:"center"},icon:{color:t,size:"s"}}}import{forwardRef as nt}from"react";import{Pressable as it}from"react-native";import{jsx as at}from"react/jsx-runtime";var fr=nt(function({style:r,asChild:t=!1,backgroundColor:n,backgroundColorOnActive:a,backgroundColorOnHover:i,backgroundColorOnChecked:c,elevation:o,opacity:d,bordered:u,borderedTop:l,borderedBottom:s,borderedStart:p,borderedEnd:m,borderedHorizontal:b,borderedVertical:h,borderRadius:y,borderTopStartRadius:C,borderTopEndRadius:S,borderBottomStartRadius:x,borderBottomEndRadius:v,borderColor:w,borderColorOnActive:P,borderColorOnFocus:T,borderColorOnChecked:k,borderColorOnHover:F,borderStartColor:E,borderEndColor:M,borderTopColor:A,borderBottomColor:W,borderWidth:z,borderVerticalWidth:H,borderHorizontalWidth:B,borderStartWidth:io,borderEndWidth:ao,borderTopWidth:lo,borderBottomWidth:to,alignContent:so,alignItems:X,alignSelf:Y,flex:j,flexBasis:Z,flexDirection:K,flexGrow:N,flexShrink:$,flexWrap:G,justifyContent:q,display:J,zIndex:Q,overflow:oo,overflowX:O,overflowY:V,position:D,spacing:I,spacingHorizontal:f,spacingVertical:po,spacingBottom:co,spacingEnd:mo,spacingStart:go,spacingTop:fo,offset:uo,offsetVertical:bo,offsetHorizontal:ho,offsetBottom:yo,offsetEnd:Co,offsetStart:So,offsetTop:xo,columnGap:vo,rowGap:wo,height:Po,minHeight:To,maxHeight:ko,width:Ro,minWidth:Fo,maxWidth:Eo,...Mo},U){let eo=ro({backgroundColor:n,backgroundColorOnActive:a,backgroundColorOnHover:i,backgroundColorOnChecked:c,elevation:o,opacity:d,bordered:u,borderedTop:l,borderedBottom:s,borderedStart:p,borderedEnd:m,borderedHorizontal:b,borderedVertical:h,borderRadius:y,borderTopStartRadius:C,borderTopEndRadius:S,borderBottomStartRadius:x,borderBottomEndRadius:v,borderColor:w,borderColorOnActive:P,borderColorOnFocus:T,borderColorOnChecked:k,borderColorOnHover:F,borderStartColor:E,borderEndColor:M,borderTopColor:A,borderBottomColor:W,borderWidth:z,borderVerticalWidth:H,borderHorizontalWidth:B,borderStartWidth:io,borderEndWidth:ao,borderTopWidth:lo,borderBottomWidth:to,alignContent:so,alignItems:X,alignSelf:Y,flex:j,flexDirection:K,flexGrow:N,flexShrink:$,flexWrap:G,justifyContent:q,flexBasis:Z,display:J,zIndex:Q,overflow:oo,overflowX:O,overflowY:V,position:D,spacing:I,spacingHorizontal:f,spacingVertical:po,spacingBottom:co,spacingEnd:mo,spacingStart:go,spacingTop:fo,offset:uo,offsetVertical:bo,offsetHorizontal:ho,offsetBottom:yo,offsetEnd:Co,offsetStart:So,offsetTop:xo,columnGap:vo,rowGap:wo,height:Po,minHeight:To,maxHeight:ko,width:Ro,minWidth:Fo,maxWidth:Eo,style:r});return at(t?cr:it,{style:eo,ref:U,...Mo})});import{jsx as br}from"react/jsx-runtime";var ur={s:36,m:48,l:64},dt={},Sa=lt(function({variant:r="accent",size:t="s",name:n,style:a=dt,...i},c){let o=gr({variant:r,size:t});return br(fr,{ref:c,...o.pressable,flexShrink:"0",style:{...a,width:ur[t],height:ur[t]},...i,children:br(mr,{name:n,...o.icon})})});import{Image as st}from"expo-image";import{jsx as pt}from"react/jsx-runtime";function Ta({width:e,height:r,src:t,alt:n,contentFit:a="cover",elevation:i,backgroundColor:c=i?`elevation-${i}`:"primary",backgroundColorOnActive:o,backgroundColorOnHover:d,backgroundColorOnChecked:u,opacity:l,bordered:s,borderedTop:p,borderedBottom:m,borderedStart:b,borderedEnd:h,borderedHorizontal:y,borderedVertical:C,borderRadius:S,borderTopStartRadius:x,borderTopEndRadius:v,borderBottomStartRadius:w,borderBottomEndRadius:P,borderColor:T,borderColorOnActive:k,borderColorOnFocus:F,borderColorOnChecked:E,borderColorOnHover:M,borderStartColor:A,borderEndColor:W,borderTopColor:z,borderBottomColor:H,borderWidth:B,borderVerticalWidth:io,borderHorizontalWidth:ao,borderStartWidth:lo,borderEndWidth:to,borderTopWidth:so,borderBottomWidth:X,alignContent:Y,alignItems:j,alignSelf:Z,flex:K,flexDirection:N,flexGrow:$,flexShrink:G="0",flexWrap:q,justifyContent:J,flexBasis:Q,display:oo="flex",zIndex:O,overflow:V,overflowX:D,overflowY:I,position:f,spacing:po,spacingHorizontal:co,spacingVertical:mo,spacingBottom:go,spacingEnd:fo,spacingStart:uo,spacingTop:bo,offset:ho,offsetVertical:yo,offsetHorizontal:Co,offsetBottom:So,offsetEnd:xo,offsetStart:vo,offsetTop:wo,columnGap:Po,rowGap:To,minHeight:ko,maxHeight:Ro,minWidth:Fo,maxWidth:Eo,...Mo}){let U=ro({contentFit:a,elevation:i,backgroundColor:c,backgroundColorOnActive:o,backgroundColorOnHover:d,backgroundColorOnChecked:u,opacity:l,bordered:s,borderedTop:p,borderedBottom:m,borderedStart:b,borderedEnd:h,borderedHorizontal:y,borderedVertical:C,borderRadius:S,borderTopStartRadius:x,borderTopEndRadius:v,borderBottomStartRadius:w,borderBottomEndRadius:P,borderColor:T,borderColorOnActive:k,borderColorOnFocus:F,borderColorOnChecked:E,borderColorOnHover:M,borderStartColor:A,borderEndColor:W,borderTopColor:z,borderBottomColor:H,borderWidth:B,borderVerticalWidth:io,borderHorizontalWidth:ao,borderStartWidth:lo,borderEndWidth:to,borderTopWidth:so,borderBottomWidth:X,alignContent:Y,alignItems:j,alignSelf:Z,flex:K,flexDirection:N,flexGrow:$,flexShrink:G,flexWrap:q,justifyContent:J,flexBasis:Q,display:oo,zIndex:O,overflow:V,overflowX:D,overflowY:I,position:f,spacing:po,spacingHorizontal:co,spacingVertical:mo,spacingBottom:go,spacingEnd:fo,spacingStart:uo,spacingTop:bo,offset:ho,offsetVertical:yo,offsetHorizontal:Co,offsetBottom:So,offsetEnd:xo,offsetStart:vo,offsetTop:wo,columnGap:Po,rowGap:To,minHeight:ko,maxHeight:Ro,minWidth:Fo,maxWidth:Eo,style:{width:e,height:r,justifyContent:"flex-start"}});return pt(st,{source:t,alt:n,style:U,contentFit:a,contentPosition:"left",...Mo})}import{forwardRef as ct}from"react";import{jsx as mt}from"react/jsx-runtime";var Aa=ct(function({style:r,asChild:t,color:n="primary",colorChecked:a,variant:i="body1",fontSize:c=i,fontFamily:o=i,fontWeight:d=i,lineHeight:u=i,textTransform:l=i,textAlign:s,backgroundColor:p,backgroundColorOnActive:m,backgroundColorOnHover:b,backgroundColorOnChecked:h,opacity:y,bordered:C,borderedTop:S,borderedBottom:x,borderedStart:v,borderedEnd:w,borderedHorizontal:P,borderedVertical:T,borderRadius:k,borderTopStartRadius:F,borderTopEndRadius:E,borderBottomStartRadius:M,borderBottomEndRadius:A,borderColor:W,borderColorOnActive:z,borderColorOnFocus:H,borderColorOnChecked:B,borderColorOnHover:io,borderStartColor:ao,borderEndColor:lo,borderTopColor:to,borderBottomColor:so,borderWidth:X,borderVerticalWidth:Y,borderHorizontalWidth:j,borderStartWidth:Z,borderEndWidth:K,borderTopWidth:N,borderBottomWidth:$,alignContent:G,alignItems:q,alignSelf:J,flex:Q,flexDirection:oo,flexGrow:O,flexShrink:V,flexWrap:D,justifyContent:I,flexBasis:f,display:po,zIndex:co,overflow:mo,overflowX:go,overflowY:fo,position:uo,spacing:bo,spacingHorizontal:ho,spacingVertical:yo,spacingBottom:Co,spacingEnd:So,spacingStart:xo,spacingTop:vo,offset:wo,offsetVertical:Po,offsetHorizontal:To,offsetBottom:ko,offsetEnd:Ro,offsetStart:Fo,offsetTop:Eo,columnGap:Mo,rowGap:U,height:eo,minHeight:Oo,maxHeight:g,width:no,minWidth:$o,maxWidth:ne,...ie},_o){let ae=ro({style:r,color:n,colorChecked:a,fontFamily:o,fontSize:c,fontWeight:d,lineHeight:u,textTransform:l,textAlign:s,backgroundColor:p,backgroundColorOnActive:m,backgroundColorOnHover:b,backgroundColorOnChecked:h,opacity:y,bordered:C,borderedTop:S,borderedBottom:x,borderedStart:v,borderedEnd:w,borderedHorizontal:P,borderedVertical:T,borderRadius:k,borderTopStartRadius:F,borderTopEndRadius:E,borderBottomStartRadius:M,borderBottomEndRadius:A,borderColor:W,borderColorOnActive:z,borderColorOnFocus:H,borderColorOnChecked:B,borderColorOnHover:io,borderStartColor:ao,borderEndColor:lo,borderTopColor:to,borderBottomColor:so,borderWidth:X,borderVerticalWidth:Y,borderHorizontalWidth:j,borderStartWidth:Z,borderEndWidth:K,borderTopWidth:N,borderBottomWidth:$,alignContent:G,alignItems:q,alignSelf:J,flex:Q,flexDirection:oo,flexGrow:O,flexShrink:V,flexWrap:D,justifyContent:I,flexBasis:f,display:po,zIndex:co,overflow:mo,overflowX:go,overflowY:fo,position:uo,spacing:bo,spacingHorizontal:ho,spacingVertical:yo,spacingBottom:Co,spacingEnd:So,spacingStart:xo,spacingTop:vo,offset:wo,offsetVertical:Po,offsetHorizontal:To,offsetBottom:ko,offsetEnd:Ro,offsetStart:Fo,offsetTop:Eo,columnGap:Mo,rowGap:U,height:eo,minHeight:Oo,maxHeight:g,width:no,minWidth:$o,maxWidth:ne});return mt(t?ee:oe,{style:ae,ref:_o,maxFontSizeMultiplier:1,allowFontScaling:!1,...ie})});import{forwardRef as gt}from"react";import{jsx as ft}from"react/jsx-runtime";var Oa=gt(function({gap:r,...t},n){return ft(re,{ref:n,flexDirection:"column",columnGap:r,rowGap:r,...t})});import{useScrollToTop as vt}from"@react-navigation/native";import{forwardRef as wt,useMemo as Pt,useRef as Tt}from"react";import{ScrollView as kt}from"react-native";import{useMemo as ut}from"react";var bt=(e,r)=>{typeof e=="function"?e(r):e&&(e.current=r)},hr=(...e)=>ut(()=>e.every(r=>r==null)?null:r=>{e.forEach(t=>{bt(t,r)})},[e]);import yr from"expo-constants";import{createContext as ht,useContext as yt,useMemo as Ct}from"react";import{useSafeAreaInsets as St}from"react-native-safe-area-context";import{jsx as xt}from"react/jsx-runtime";var Cr=ht({tabBarHeight:0,statusBarHeight:yr.statusBarHeight,safeAreaInsets:{top:0,right:0,bottom:0,left:0}});function Sr(){return yt(Cr)}function xr({children:e}){let r=St(),t=nr(),n=Ct(()=>({tabBarHeight:t.spacing[5]+t.iconSizes.m+t.spacing[3]+t.lineHeight.caption1+t.spacing[5]+r.bottom,statusBarHeight:yr.statusBarHeight,safeAreaInsets:r}),[t.spacing,t.iconSizes,t.lineHeight,r]);return xt(Cr.Provider,{value:n,children:e})}import{jsx as Rt}from"react/jsx-runtime";var ol=wt(function({children:r,...t},n){let a=qo(),i=Tt(null),c=hr(i,n);vt(i);let{tabBarHeight:o,safeAreaInsets:d}=Sr(),u=ro({backgroundColor:"primary",flexGrow:"1",spacingHorizontal:"6"}),l=Pt(()=>({paddingTop:d.top,paddingBottom:o}),[d.top,o]);return Rt(kt,{ref:c,style:u,contentInsetAdjustmentBehavior:"never",automaticallyAdjustContentInsets:!1,contentContainerStyle:l,indicatorStyle:a==="dark"?"black":"white",...t,children:r})});import{useCallback as Ft,useEffect as Et,useState as Mt}from"react";import{AppState as vr}from"react-native";function te(){let[e,r]=Mt(vr.currentState),t=Ft(n=>{r(n)},[]);return Et(()=>{let n=vr.addEventListener("change",t);return()=>{n.remove()}},[t]),e}import{useEffect as At,useRef as Wt,useState as zt}from"react";import{PixelRatio as Fe}from"react-native";var wr=()=>{let[e,r]=zt(Fe.getFontScale()),t=Wt(Fe.getFontScale()),n=te();return At(()=>{if(n==="active"){let a=Fe.getFontScale();t.current!==a&&(r(a),t.current=a)}},[n]),e};import{setStatusBarStyle as $t}from"expo-status-bar";import{createContext as Fr,useContext as Gt,useEffect as Rr,useState as Ut}from"react";import{createContext as Ht,useContext as Bt,useEffect as Ot,useState as _t}from"react";import{Appearance as Vt,Platform as Dt,useColorScheme as It}from"react-native";import{jsx as Nt}from"react/jsx-runtime";var Pr=Ht(Ao);function Tr(){return Bt(Pr)}function Lt(){let e=te(),r=It(),[t,n]=_t(r),a=Dt.OS==="android";return Ot(()=>{if(e==="active"){if(a){let i=Vt.getColorScheme();n(i);return}n(r)}},[r,e,a]),t??"light"}function kr({children:e}){let r=Lt();return Nt(Pr.Provider,{value:r,children:e})}import{jsx as Ee}from"react/jsx-runtime";var Xt=()=>{},Er=Fr(Io),Yt=Fr(Xt);function xl(){return Gt(Er)}function Mr({children:e,value:r=Io}){let[t,n]=Ut(r),a=Tr(),i=t==="system"?a:t;return Rr(()=>{$t(i==="light"?"dark":"light")},[i]),Rr(()=>{n(r)},[r]),Ee(Er.Provider,{value:t,children:Ee(Yt.Provider,{value:n,children:Ee(Qe,{value:i,children:e})})})}import{createContext as Hr,useState as Qt}from"react";import{createContext as jt,useContext as Zt,useMemo as Kt}from"react";import{jsx as Jt}from"react/jsx-runtime";var Ar=jt(Wo),Ho={xSmall:.823,small:.882,medium:.941,large:1,xLarge:1.118,xxLarge:1.235,xxxLarge:1.353};function Wr(){return Zt(Ar)}function qt(){let e=wr();return Kt(()=>e<=Ho.xSmall?"xSmall":e<=Ho.small?"small":e<=Ho.medium?"medium":e<=Ho.large?"large":e<=Ho.xLarge?"xLarge":e<=Ho.xxLarge?"xxLarge":e>=Ho.xxxLarge?"xxxLarge":"large",[e])}function zr({children:e}){let r=qt();return Jt(Ar.Provider,{value:r,children:e})}import{jsx as Me}from"react/jsx-runtime";var on=()=>{},en=Hr(Lo),rn=Hr(on);function Br({children:e,value:r=Lo}){let[t,n]=Qt(r),a=Wr(),i=t==="system"?a:t;return Me(en.Provider,{value:t,children:Me(rn.Provider,{value:n,children:Me(er,{value:i,children:e})})})}import{BottomSheetModalProvider as tn}from"@gorhom/bottom-sheet";import{SafeAreaProvider as nn}from"react-native-safe-area-context";import{jsx as zo}from"react/jsx-runtime";function Gl({children:e,colorModeForApp:r=Io,scaleModeForApp:t=Lo,config:n}){return zo(nn,{children:zo(kr,{children:zo(Mr,{value:r,children:zo(zr,{children:zo(Br,{value:t,children:zo(tr,{value:n,children:zo(xr,{children:zo(tn,{children:e})})})})})})})})}export{Fn as AVATAR_SIZE_PREFIX,En as BORDER_RADIUS_PREFIX,Mn as BORDER_WIDTH_PREFIX,re as Box,Je as ColorModeContext,Er as ColorModeForAppContext,Yt as ColorModeForAppContextUpdater,Mr as ColorModeForAppProvider,Pr as ColorModeForDeviceContext,kr as ColorModeForDeviceProvider,Qe as ColorModeProvider,Cr as ComputedTokensContext,xr as ComputedTokensProvider,On as DARK_COLOR_MODE_CLASSNAME,Ao as DEFAULT_COLOR_MODE,$n as DEFAULT_COLOR_MODE_CLASSNAME,Io as DEFAULT_COLOR_MODE_FOR_APP,Jn as DEFAULT_HIGH_CONTRAST_MODE,Qn as DEFAULT_REGION_MODE,Wo as DEFAULT_SCALE_MODE,Gn as DEFAULT_SCALE_MODE_CLASSNAME,Lo as DEFAULT_SCALE_MODE_FOR_APP,Pe as DEFAULT_STYLER,kn as FONT_FAMILY_PREFIX,Un as FONT_ICONS_CSS_VAR,Yn as FONT_SANS_BETA_CSS_VAR,jn as FONT_SANS_CONDENSED_CSS_VAR,Xn as FONT_SANS_CSS_VAR,Zn as FONT_SERIF_DISPLAY_CSS_VAR,Kn as FONT_SERIF_TEXT_CSS_VAR,Wn as FONT_SIZE_PREFIX,Hn as FONT_WEIGHT_PREFIX,ea as HStack,Rn as ICON_SIZE_PREFIX,mr as Icon,Sa as IconButton,Ta as Image,Vr as LARGE_SCALE_MODE_CLASSNAME,_r as LIGHT_COLOR_MODE_CLASSNAME,zn as LINE_HEIGHT_PREFIX,Dn as MEDIUM_SCALE_MODE_CLASSNAME,fr as Pressable,Vn as SMALL_SCALE_MODE_CLASSNAME,An as SPACING_PREFIX,Tn as SPECTRUM_COLOR_PREFIX,or as ScaleModeContext,en as ScaleModeForAppContext,Br as ScaleModeForAppProvider,rn as ScaleModeForAppUpdaterContext,Ar as ScaleModeForDeviceContext,zr as ScaleModeForDeviceProvider,er as ScaleModeProvider,ol as Screen,tr as StyleProvider,Bn as TEXT_TRANSFORM_PREFIX,Aa as Text,Gl as ThemeProvider,R as UDS_PREFIX,Oa as VStack,In as XLARGE_SCALE_MODE_CLASSNAME,_n as XSMALL_SCALE_MODE_CLASSNAME,Ln as XXLARGE_SCALE_MODE_CLASSNAME,Nn as XXXLARGE_SCALE_MODE_CLASSNAME,Bo as alwaysPalette,we as createStyler,Zo as defaultTokensConfig,Ze as entries,me as fontFamilyGlobal,L as fontWeightMap,te as useAppState,qo as useColorMode,xl as useColorModeForApp,Tr as useColorModeForDevice,Sr as useComputedTokens,wr as useDeviceFontScale,Te as useScaleMode,Wr as useScaleModeForDevice,ro as useStyles,nr as useTokens};