@yahoo/uds 0.1.20 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. package/cli/utils/purgeCSS.ts +0 -2
  2. package/dist/Image.native-jCNIrPZD.d.cts +38 -0
  3. package/dist/Image.native-tkOXN29I.d.ts +38 -0
  4. package/dist/Pressable-2kgXQNVs.d.cts +55 -0
  5. package/dist/Pressable-LIDkIIAF.d.ts +55 -0
  6. package/dist/experimental/index.cjs +1 -0
  7. package/dist/experimental/index.d.cts +228 -0
  8. package/dist/experimental/index.d.ts +228 -0
  9. package/dist/experimental/index.js +1 -0
  10. package/dist/experimental/index.native.cjs +1 -0
  11. package/dist/experimental/index.native.d.cts +51 -0
  12. package/dist/experimental/index.native.d.ts +51 -0
  13. package/dist/experimental/index.native.js +1 -0
  14. package/dist/index.cjs +1 -1
  15. package/dist/index.d.cts +12 -283
  16. package/dist/index.d.ts +12 -283
  17. package/dist/index.js +1 -1
  18. package/dist/{index.native-DqJv5EjY.d.ts → index.native--Dm3KDDS.d.cts} +1 -1
  19. package/dist/{index.native-C5-xv9Na.d.cts → index.native-xVHqKK0u.d.ts} +1 -1
  20. package/dist/index.native.cjs +1 -1
  21. package/dist/index.native.d.cts +11 -83
  22. package/dist/index.native.d.ts +11 -83
  23. package/dist/index.native.js +1 -1
  24. package/dist/tailwindPlugin.d.cts +1 -1
  25. package/dist/tailwindPlugin.d.ts +1 -1
  26. package/dist/tailwindPurge.cjs +1 -1
  27. package/dist/tailwindPurge.js +1 -1
  28. package/dist/tokens/index.d.cts +2 -2
  29. package/dist/tokens/index.d.ts +2 -2
  30. package/dist/tokens/index.native.d.cts +2 -2
  31. package/dist/tokens/index.native.d.ts +2 -2
  32. package/dist/tokens/parseTokens.d.cts +1 -1
  33. package/dist/tokens/parseTokens.d.ts +1 -1
  34. package/dist/tokens/parseTokens.native.d.cts +1 -1
  35. package/dist/tokens/parseTokens.native.d.ts +1 -1
  36. package/dist/{types-ZrxnB4cM.d.cts → types-7oEBWtMQ.d.cts} +1 -1
  37. package/dist/{types-ZrxnB4cM.d.ts → types-7oEBWtMQ.d.ts} +1 -1
  38. package/dist/{types-BO2kLynl.d.cts → types-J4DLS6Xj.d.cts} +1 -1
  39. package/dist/{types-BO2kLynl.d.ts → types-J4DLS6Xj.d.ts} +1 -1
  40. package/package.json +16 -1
@@ -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 { i as UniversalBoxProps, o 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-7oEBWtMQ.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, k as UniversalAvatarProps, l as UniversalButtonProps, m as UniversalIconButtonProps, n as UniversalImageProps, j as UniversalPressableProps, b0 as UniversalTextInputProps, b1 as Width, b2 as ZIndex, r as alwaysPalette } from './types-7oEBWtMQ.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-tkOXN29I.js';
7
+ import * as react_jsx_runtime from 'react/jsx-runtime';
8
+ import { S as SetState, a as CVA } from './types-J4DLS6Xj.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-xVHqKK0u.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 Kr}from"react";var Me={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},Ae={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var We={none:0,thin:1,medium:2,thick:2},ze={none:0,thin:1,medium:2,thick:4};var Be={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 He={auto:"auto",square:"1 / 1",video:"16 / 9"},Oe={auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"};var _e={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"}}},Ve={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 de={s:16,m:24,l:32},De=de,se={s:16,m:24,l:32},Ie=se;var Le={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},Ne={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 Ge={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"}},$e={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 Uo=["Helvetica Neue","Helvetica","Arial","sans-serif"],Ue=["Georgia","Times","Times New Roman","serif"],pe={icons:{fallbacks:Uo,name:"yahoo-icons"},sans:{fallbacks:Uo,name:"yahoo-sans"},"sans-beta":{fallbacks:Uo,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:Uo,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:Ue,name:"yahoo-serif-text"},"serif-display":{fallbacks:Ue,name:"yahoo-serif-display"}},ce={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"},me={display1:"black",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},ge={display1:"uppercase",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},fe={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}},ue={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:{...fe.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},Xo={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:{...ue.lineHeight,title2:36,title3:32}},be={fontSize:{...Xo.fontSize,display1:48,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...Xo.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},he={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:{...be.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},ye={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:{...he.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},Xe={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:{...ye.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var Ce={fontFamily:ce,fontWeight:me,textTransform:ge,avatarSizes:de,iconSizes:se,borderRadius:Me,borderWidth:We,spacing:Le},Yo={fontFamily:ce,fontWeight:me,textTransform:ge,avatarSizes:De,iconSizes:Ie,borderRadius:Ae,borderWidth:ze,spacing:Ne},jo={colorMode:{light:{palette:_e,spectrum:Ge},dark:{palette:Ve,spectrum:$e}},scaleMode:{xSmall:{...Ce,...fe},small:{...Ce,...ue},medium:{...Ce,...Xo},large:{...Yo,...be},xLarge:{...Yo,...he},xxLarge:{...Yo,...ye},xxxLarge:{...Yo,...Xe}},aspectRatio:He,elevation:Be,fontFamily:pe,zIndex:Oe};var R="uds",wn=`${R}-spectrum-color`,Pn=`${R}-font`,Tn=`${R}-icon-size`,kn=`${R}-avatar-size`,Rn=`${R}-border-radius`,Fn=`${R}-border-width`,En=`${R}-spacing`,Mn=`${R}-font-size`,An=`${R}-line-height`,Wn=`${R}-font-weight`,zn=`${R}-text-transform`,Bn=`${R}-color-mode-dark`,Hr=`${R}-color-mode-light`,Hn=`${R}-scale-mode-xsmall`,On=`${R}-scale-mode-small`,_n=`${R}-scale-mode-medium`,Or=`${R}-scale-mode-large`,Vn=`${R}-scale-mode-xlarge`,Dn=`${R}-scale-mode-xxlarge`,In=`${R}-scale-mode-xxxlarge`,Ln=Hr,Nn=Or,Gn=`--${R}-font-icons`,$n=`--${R}-font-sans`,Un=`--${R}-font-sans-beta`,Xn=`--${R}-font-sans-condensed`,Yn=`--${R}-font-serif-display`,jn=`--${R}-font-serif-text`;var Vo="system",Do="system",Mo="light",Ao="large",Kn=!1,qn="\u{1F1FA}\u{1F1F8} US";function Ye(e){return Object.entries(e)}import{createContext as Ur,memo as Xr,useContext as or,useMemo as Yr}from"react";import{textVariants as Vr}from"@yahoo/uds/fixtures";function Zo(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=Zo(e,i=>Zo(i,a=>`rgb(${a.replaceAll(" ",",")})`)),n=Zo(r,i=>Object.entries(i).reduce((a,[c,{hue:o,step:d,opacity:f}])=>{let l=e[o][d],s=f?`rgb(${l.replaceAll(" ",",")} / ${f})`:`rgb(${l.replaceAll(" ",",")})`;return{...a,[c]:s}},{}));return{spectrum:t,palette:n}}function _r(e){let r={};for(let[t,[{color:n,offsetX:i,offsetY:a,blurRadius:c}]]of Ye(e)){let o={shadowColor:n,shadowOffset:{width:i,height:a},shadowOpacity:1,shadowRadius:c};r[t]=o}return r}function Ze({colorMode:e,elevation:r,...t}){return{...t,colorMode:{light:je(e.light),dark:je(e.dark)},elevation:_r(r)}}function Se(e){return typeof e=="boolean"?`${e}`:e===0?"0":e}var _={};function xe({colorMode:e,scaleMode:r},t){let{colorMode:n,scaleMode:i,fontFamily:a,...c}=Ze(t),o={fontFamilyGlobal:a,...c,...n[e],...i[r]},d=Object.assign,f=function(L){return function(m){let ro={};if(!L?.variants)return d(ro,L?.base);let{base:Lo,variants:te,defaultVariants:ne,compoundVariants:_o}=L;Lo&&d(ro,Lo);function ae(Ho){if(Ho){let{style:zo,...No}=Ho;for(let Go in No){let $o=te[Go],ie=m?.[Go],Ee=ne?.[Go],le=Se(ie)||Se(Ee);if(le&&le in $o){let Br=$o[le];d(ro,Br)}}zo&&d(ro,zo)}}if(ae(m),_o&&_o?.length>0)for(let Ho of _o){let{style:zo,...No}=Ho;Object.entries(No).every(([$o,ie])=>m?.[$o]===ie)&&zo&&d(ro,zo)}return m?.style&&d(ro,m.style),ro}},l=o.spacing.none,s=o.spacing[1],p=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],w=o.spacing[12],P=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,Y=o.palette.backgroundWash["accent-wash"],j=o.palette.backgroundWash["alert-wash"],Z=o.palette.backgroundWash["brand-wash"],K=o.palette.backgroundWash["positive-wash"],q=o.palette.backgroundWash["warning-wash"],G=o.palette.elevation["elevation-1"],$=o.palette.elevation["elevation-2"],U=o.palette.elevation["elevation-3"],J=o.palette.elevation["elevation-3-inverse"],Q=o.palette.elevation.overlay,oo=o.palette.background.primary,eo=o.palette.background.secondary,O=o.palette.line.primary,V=o.palette.line.secondary,D=o.palette.line.tertiary,I=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,wo=k[o.fontFamily.label1].name,Po=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(X){return!!(typeof X=="string"&&Vr.includes(X))}function Eo({style:X,...L}){let so={},m;Fo(L.fontWeight)?m=o.fontWeight[L.fontWeight]:m="regular";let ro=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:`${wo}-${m}`},label2:{fontFamily:`${Po}-${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:Y},"alert-wash":{backgroundColor:j},"brand-wash":{backgroundColor:Z},"elevation-1":{backgroundColor:G},"elevation-2":{backgroundColor:$},"elevation-3":{backgroundColor:U},"elevation-3-inverse":{backgroundColor:J},overlay:{backgroundColor:Q},"positive-wash":{backgroundColor:K},primary:{backgroundColor:oo},secondary:{backgroundColor:eo},transparent:{backgroundColor:H},"warning-wash":{backgroundColor:q}},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:Y},"alert-wash":{backgroundColor:j},"brand-wash":{backgroundColor:Z},"elevation-1":{backgroundColor:G},"elevation-2":{backgroundColor:$},"elevation-3":{backgroundColor:U},"elevation-3-inverse":{backgroundColor:J},overlay:{backgroundColor:Q},"positive-wash":{backgroundColor:K},primary:{backgroundColor:oo},secondary:{backgroundColor:eo},transparent:{backgroundColor:H},"warning-wash":{backgroundColor:q}},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:Y},"alert-wash":{backgroundColor:j},"brand-wash":{backgroundColor:Z},"elevation-1":{backgroundColor:G},"elevation-2":{backgroundColor:$},"elevation-3":{backgroundColor:U},"elevation-3-inverse":{backgroundColor:J},overlay:{backgroundColor:Q},"positive-wash":{backgroundColor:K},primary:{backgroundColor:oo},secondary:{backgroundColor:eo},transparent:{backgroundColor:H},"warning-wash":{backgroundColor:q}},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:Y},"alert-wash":{backgroundColor:j},"brand-wash":{backgroundColor:Z},"elevation-1":{backgroundColor:G},"elevation-2":{backgroundColor:$},"elevation-3":{backgroundColor:U},"elevation-3-inverse":{backgroundColor:J},overlay:{backgroundColor:Q},"positive-wash":{backgroundColor:K},primary:{backgroundColor:oo},secondary:{backgroundColor:eo},transparent:{backgroundColor:H},"warning-wash":{backgroundColor:q}},elevation:{1:{backgroundColor:G,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:U,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: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:w},13:{padding:P},14:{padding:T}},spacingHorizontal:{none:{paddingHorizontal:l},1:{paddingHorizontal:s},2:{paddingHorizontal:p},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:w},13:{paddingHorizontal:P},14:{paddingHorizontal:T}},spacingVertical:{none:{paddingVertical:l},1:{paddingVertical:s},2:{paddingVertical:p},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:w},13:{paddingVertical:P},14:{paddingVertical:T}},spacingBottom:{none:{paddingBottom:l},1:{paddingBottom:s},2:{paddingBottom:p},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:w},13:{paddingBottom:P},14:{paddingBottom:T}},spacingEnd:{none:{paddingEnd:l},1:{paddingEnd:s},2:{paddingEnd:p},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:w},13:{paddingEnd:P},14:{paddingEnd:T}},spacingStart:{none:{paddingStart:l},1:{paddingStart:s},2:{paddingStart:p},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:w},13:{paddingStart:P},14:{paddingStart:T}},spacingTop:{none:{paddingTop:l},1:{paddingTop:s},2:{paddingTop:p},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:w},13:{paddingTop:P},14:{paddingTop:T}},offset:{none:{margin:-l},1:{margin:-s},2:{margin:-p},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:-w},13:{margin:-P},14:{margin:-T}},offsetVertical:{none:{marginVertical:-l},1:{marginVertical:-s},2:{marginVertical:-p},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:-w},13:{marginVertical:-P},14:{marginVertical:-T}},offsetHorizontal:{none:{marginHorizontal:-l},1:{marginHorizontal:-s},2:{marginHorizontal:-p},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:-w},13:{marginHorizontal:-P},14:{marginHorizontal:-T}},offsetBottom:{none:{marginBottom:-l},1:{marginBottom:-s},2:{marginBottom:-p},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:-w},13:{marginBottom:-P},14:{marginBottom:-T}},offsetEnd:{none:{marginEnd:-l},1:{marginEnd:-s},2:{marginEnd:-p},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:-w},13:{marginEnd:-P},14:{marginEnd:-T}},offsetStart:{none:{marginStart:-l},1:{marginStart:-s},2:{marginStart:-p},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:-w},13:{marginStart:-P},14:{marginStart:-T}},offsetTop:{none:{marginTop:-l},1:{marginTop:-s},2:{marginTop:-p},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:-w},13:{marginTop:-P},14:{marginTop:-T}},columnGap:{none:{columnGap:l},1:{columnGap:s},2:{columnGap:p},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:w},13:{columnGap:P},14:{columnGap:T}},rowGap:{none:{rowGap:l},1:{rowGap:s},2:{rowGap:p},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:w},13:{rowGap:P},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:I},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:D}},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:I},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:D}},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:I},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:D}},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:I},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:D}},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:I},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:D}},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:I},primary:{borderStartColor:O},secondary:{borderStartColor:V},tertiary:{borderStartColor:D}},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:I},primary:{borderEndColor:O},secondary:{borderEndColor:V},tertiary:{borderEndColor:D}},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:I},primary:{borderBottomColor:O},secondary:{borderBottomColor:V},tertiary:{borderBottomColor:D}},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: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},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 d(so,ro,X)}return{cva:f,getStyles:Eo,tokens:o}}var ve=xe({colorMode:Mo,scaleMode:Ao},jo);import{createContext as Dr,useContext as Ir}from"react";import{jsx as Lr}from"react/jsx-runtime";var Ke=Dr(Mo);function Ko(){return Ir(Ke)}function qe({value:e=Mo,children:r}){return Lr(Ke.Provider,{value:e,children:r})}import{createContext as Nr,useContext as Gr}from"react";import{jsx as $r}from"react/jsx-runtime";var Je=Nr(Ao);function we(){let e=Gr(Je);return e||Ao}function Qe({value:e,children:r}){let t=we();return $r(Je.Provider,{value:e??t,children:r})}import{jsx as jr}from"react/jsx-runtime";var Pe=Ur(ve),er=Xr(function({children:r,value:t=jo}){let n=Ko(),i=we(),a=Yr(()=>t===void 0&&n===Mo&&i===Ao?ve:xe({colorMode:n,scaleMode:i},t),[n,i,t]);return jr(Pe.Provider,{value:a,children:r})});function to(e){let{getStyles:r}=or(Pe);return r(e)}function rr(){return or(Pe).tokens}import{Children as Io,cloneElement as nr,forwardRef as ar,isValidElement as qo}from"react";function Zr(e,r){typeof e=="function"?e(r):e!=null&&(e.current=r)}function tr(...e){return r=>e.forEach(t=>Zr(t,r))}import{jsx as ir}from"react/jsx-runtime";function Jo(){let e=ar((a,c)=>{let{children:o,...d}=a,f=Io.toArray(o),l=f.find(n);if(l){let s=l.props.children,p=f.map(g=>g===l?Io.count(s)>1?Io.only(null):qo(s)?s.props.children:null:g);return ir(r,{...d,ref:c,children:qo(s)?nr(s,void 0,p):null})}return ir(r,{...d,ref:c,children:o})});e.displayName="Slot";let r=ar((a,c)=>{let{children:o,...d}=a;return qo(o)?nr(o,{...i(d,o.props),ref:c?tr(c,o.ref):o.ref}):Io.count(o)>1?Io.only(null):null});r.displayName="SlotClone";let t=({children:a})=>a;function n(a){return qo(a)&&a.type===t}function i(a,c){let o={...c};for(let d in c){let f=a[d],l=c[d];/^on[A-Z]/.test(d)?f&&l?o[d]=(...p)=>{l(...p),f(...p)}:f&&(o[d]=f):d==="style"&&(o[d]={...f,...l})}return{...a,...o}}return e}var lr="RCTView",Qo="RCTText",dr=Jo(),oe=Jo(),sr=Jo();import{jsx as qr}from"react/jsx-runtime";var ee=Kr(function({asChild:r=!1,style:t,backgroundColor:n,backgroundColorOnActive:i,backgroundColorOnHover:a,backgroundColorOnChecked:c,elevation:o,bordered:d,borderedTop:f,borderedBottom:l,borderedStart:s,borderedEnd:p,borderedHorizontal:g,borderedVertical:u,borderRadius:b,borderTopStartRadius:h,borderTopEndRadius:y,borderBottomStartRadius:C,borderBottomEndRadius:S,borderColor:x,borderColorOnActive:v,borderColorOnFocus:w,borderColorOnChecked:P,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:Y,flex:j,flexBasis:Z,flexDirection:K="column",flexGrow:q,flexShrink:G,flexWrap:$="nowrap",justifyContent:U="flex-start",display:J,zIndex:Q,overflow:oo,overflowX:eo,overflowY:O,position:V,spacing:D,spacingHorizontal:I,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:wo,height:Po,minHeight:To,maxHeight:ko,width:Ro,minWidth:Fo,maxWidth:Eo,...X},L){let so=to({backgroundColor:n,backgroundColorOnActive:i,backgroundColorOnHover:a,backgroundColorOnChecked:c,elevation:o,bordered:d,borderedTop:f,borderedBottom:l,borderedStart:s,borderedEnd:p,borderedHorizontal:g,borderedVertical:u,borderRadius:b,borderTopStartRadius:h,borderTopEndRadius:y,borderBottomStartRadius:C,borderBottomEndRadius:S,borderColor:x,borderColorOnActive:v,borderColorOnFocus:w,borderColorOnChecked:P,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:Y,flex:j,flexDirection:K,flexGrow:q,flexShrink:G,flexWrap:$,justifyContent:U,flexBasis:Z,display:J,zIndex:Q,overflow:oo,overflowX:eo,overflowY:O,position:V,spacing:D,spacingHorizontal:I,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:wo,height:Po,minHeight:To,maxHeight:ko,width:Ro,minWidth:Fo,maxWidth:Eo,style:t});return qr(r?dr:lr,{ref:L,style:so,...X})});import{forwardRef as Jr}from"react";import{jsx as Qr}from"react/jsx-runtime";var Qa=Jr(function({gap:r,...t},n){return Qr(ee,{ref:n,flexDirection:"row",rowGap:r,columnGap:r,...t})});import{forwardRef as ot}from"react";import{jsx as et}from"react/jsx-runtime";var pr=ot(function({style:r,asChild:t=!1,size:n="l",color:i="primary",name:a,colorChecked:c,opacity:o,textAlign:d,spacing:f,spacingBottom:l,spacingEnd:s,spacingHorizontal:p,spacingStart:g,spacingTop:u,spacingVertical:b,offset:h,offsetBottom:y,offsetEnd:C,offsetHorizontal:S,offsetStart:x,offsetTop:v,offsetVertical:w,...P},T){let F=to({color:i,colorChecked:c,opacity:o,fontFamily:"icons",textAlign:d,spacing:f,spacingBottom:l,spacingEnd:s,spacingHorizontal:p,spacingStart:g,spacingTop:u,spacingVertical:b,offset:h,offsetBottom:y,offsetEnd:C,offsetHorizontal:S,offsetStart:x,offsetTop:v,offsetVertical:w,iconSize:n,style:r});return et(t?oe:Qo,{ref:T,maxFontSizeMultiplier:1,allowFontScaling:!1,style:F,...P,children:a})});import{forwardRef as at}from"react";var Te={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 cr({variant:e="accent",size:r="s"}){let{color:t,...n}=Te.variant[e],{variant:i,...a}=Te.size[r];return{pressable:{...Te.base,...n,...a},text:{color:t,variant:i,textAlign:"center"},icon:{color:t,size:"s"}}}import{forwardRef as rt}from"react";import{Pressable as tt}from"react-native";import{jsx as nt}from"react/jsx-runtime";var mr=rt(function({style:r,asChild:t=!1,backgroundColor:n,backgroundColorOnActive:i,backgroundColorOnHover:a,backgroundColorOnChecked:c,elevation:o,opacity:d,bordered:f,borderedTop:l,borderedBottom:s,borderedStart:p,borderedEnd:g,borderedHorizontal:u,borderedVertical:b,borderRadius:h,borderTopStartRadius:y,borderTopEndRadius:C,borderBottomStartRadius:S,borderBottomEndRadius:x,borderColor:v,borderColorOnActive:w,borderColorOnFocus:P,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:Y,alignSelf:j,flex:Z,flexBasis:K,flexDirection:q,flexGrow:G,flexShrink:$,flexWrap:U,justifyContent:J,display:Q,zIndex:oo,overflow:eo,overflowX:O,overflowY:V,position:D,spacing:I,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:wo,rowGap:Po,height:To,minHeight:ko,maxHeight:Ro,width:Fo,minWidth:Eo,maxWidth:X,...L},so){let m=to({backgroundColor:n,backgroundColorOnActive:i,backgroundColorOnHover:a,backgroundColorOnChecked:c,elevation:o,opacity:d,bordered:f,borderedTop:l,borderedBottom:s,borderedStart:p,borderedEnd:g,borderedHorizontal:u,borderedVertical:b,borderRadius:h,borderTopStartRadius:y,borderTopEndRadius:C,borderBottomStartRadius:S,borderBottomEndRadius:x,borderColor:v,borderColorOnActive:w,borderColorOnFocus:P,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:Y,alignSelf:j,flex:Z,flexDirection:q,flexGrow:G,flexShrink:$,flexWrap:U,justifyContent:J,flexBasis:K,display:Q,zIndex:oo,overflow:eo,overflowX:O,overflowY:V,position:D,spacing:I,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:wo,rowGap:Po,height:To,minHeight:ko,maxHeight:Ro,width:Fo,minWidth:Eo,maxWidth:X,style:r});return nt(t?sr:tt,{style:m,ref:so,...L})});import{jsx as fr}from"react/jsx-runtime";var gr={s:36,m:48,l:64},it={},yi=at(function({variant:r="accent",size:t="s",name:n,style:i=it,...a},c){let o=cr({variant:r,size:t});return fr(mr,{ref:c,...o.pressable,flexShrink:"0",style:{...i,width:gr[t],height:gr[t]},...a,children:fr(pr,{name:n,...o.icon})})});import{Image as lt}from"expo-image";import{jsx as dt}from"react/jsx-runtime";function wi({width:e,height:r,src:t,alt:n,contentFit:i="cover",elevation:a,backgroundColor:c=a?`elevation-${a}`:"primary",backgroundColorOnActive:o,backgroundColorOnHover:d,backgroundColorOnChecked:f,opacity:l,bordered:s,borderedTop:p,borderedBottom:g,borderedStart:u,borderedEnd:b,borderedHorizontal:h,borderedVertical:y,borderRadius:C,borderTopStartRadius:S,borderTopEndRadius:x,borderBottomStartRadius:v,borderBottomEndRadius:w,borderColor:P,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:Y,alignContent:j,alignItems:Z,alignSelf:K,flex:q,flexDirection:G,flexGrow:$,flexShrink:U="0",flexWrap:J,justifyContent:Q,flexBasis:oo,display:eo="flex",zIndex:O,overflow:V,overflowX:D,overflowY:I,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:wo,offsetTop:Po,columnGap:To,rowGap:ko,minHeight:Ro,maxHeight:Fo,minWidth:Eo,maxWidth:X,...L}){let so=to({contentFit:i,elevation:a,backgroundColor:c,backgroundColorOnActive:o,backgroundColorOnHover:d,backgroundColorOnChecked:f,opacity:l,bordered:s,borderedTop:p,borderedBottom:g,borderedStart:u,borderedEnd:b,borderedHorizontal:h,borderedVertical:y,borderRadius:C,borderTopStartRadius:S,borderTopEndRadius:x,borderBottomStartRadius:v,borderBottomEndRadius:w,borderColor:P,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:Y,alignContent:j,alignItems:Z,alignSelf:K,flex:q,flexDirection:G,flexGrow:$,flexShrink:U,flexWrap:J,justifyContent:Q,flexBasis:oo,display:eo,zIndex:O,overflow:V,overflowX:D,overflowY:I,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:wo,offsetTop:Po,columnGap:To,rowGap:ko,minHeight:Ro,maxHeight:Fo,minWidth:Eo,maxWidth:X,style:{width:e,height:r,justifyContent:"flex-start"}});return dt(lt,{source:t,alt:n,style:so,contentFit:i,contentPosition:"left",...L})}import{forwardRef as st}from"react";import{jsx as pt}from"react/jsx-runtime";var Ei=st(function({style:r,asChild:t,color:n="primary",colorChecked:i,variant:a="body1",fontSize:c=a,fontFamily:o=a,fontWeight:d=a,lineHeight:f=a,textTransform:l=a,textAlign:s,backgroundColor:p,backgroundColorOnActive:g,backgroundColorOnHover:u,backgroundColorOnChecked:b,opacity:h,bordered:y,borderedTop:C,borderedBottom:S,borderedStart:x,borderedEnd:v,borderedHorizontal:w,borderedVertical:P,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:Y,borderVerticalWidth:j,borderHorizontalWidth:Z,borderStartWidth:K,borderEndWidth:q,borderTopWidth:G,borderBottomWidth:$,alignContent:U,alignItems:J,alignSelf:Q,flex:oo,flexDirection:eo,flexGrow:O,flexShrink:V,flexWrap:D,justifyContent:I,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:wo,offset:Po,offsetVertical:To,offsetHorizontal:ko,offsetBottom:Ro,offsetEnd:Fo,offsetStart:Eo,offsetTop:X,columnGap:L,rowGap:so,height:m,minHeight:ro,maxHeight:Lo,width:te,minWidth:ne,maxWidth:_o,...ae},Ho){let zo=to({style:r,color:n,colorChecked:i,fontFamily:o,fontSize:c,fontWeight:d,lineHeight:f,textTransform:l,textAlign:s,backgroundColor:p,backgroundColorOnActive:g,backgroundColorOnHover:u,backgroundColorOnChecked:b,opacity:h,bordered:y,borderedTop:C,borderedBottom:S,borderedStart:x,borderedEnd:v,borderedHorizontal:w,borderedVertical:P,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:Y,borderVerticalWidth:j,borderHorizontalWidth:Z,borderStartWidth:K,borderEndWidth:q,borderTopWidth:G,borderBottomWidth:$,alignContent:U,alignItems:J,alignSelf:Q,flex:oo,flexDirection:eo,flexGrow:O,flexShrink:V,flexWrap:D,justifyContent:I,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:wo,offset:Po,offsetVertical:To,offsetHorizontal:ko,offsetBottom:Ro,offsetEnd:Fo,offsetStart:Eo,offsetTop:X,columnGap:L,rowGap:so,height:m,minHeight:ro,maxHeight:Lo,width:te,minWidth:ne,maxWidth:_o});return pt(t?oe:Qo,{style:zo,ref:Ho,maxFontSizeMultiplier:1,allowFontScaling:!1,...ae})});import{forwardRef as ct}from"react";import{jsx as mt}from"react/jsx-runtime";var Bi=ct(function({gap:r,...t},n){return mt(ee,{ref:n,flexDirection:"column",columnGap:r,rowGap:r,...t})});import{useScrollToTop as St}from"@react-navigation/native";import{forwardRef as xt,useMemo as vt,useRef as wt}from"react";import{ScrollView as Pt}from"react-native";import{useMemo as gt}from"react";var ft=(e,r)=>{typeof e=="function"?e(r):e&&(e.current=r)},ur=(...e)=>gt(()=>e.every(r=>r==null)?null:r=>{e.forEach(t=>{ft(t,r)})},[e]);import br from"expo-constants";import{createContext as ut,useContext as bt,useMemo as ht}from"react";import{useSafeAreaInsets as yt}from"react-native-safe-area-context";import{jsx as Ct}from"react/jsx-runtime";var hr=ut({tabBarHeight:0,statusBarHeight:br.statusBarHeight,safeAreaInsets:{top:0,right:0,bottom:0,left:0}});function yr(){return bt(hr)}function Cr({children:e}){let r=yt(),t=rr(),n=ht(()=>({tabBarHeight:t.spacing[5]+t.iconSizes.m+t.spacing[3]+t.lineHeight.caption1+t.spacing[5]+r.bottom,statusBarHeight:br.statusBarHeight,safeAreaInsets:r}),[t.spacing,t.iconSizes,t.lineHeight,r]);return Ct(hr.Provider,{value:n,children:e})}import{jsx as Tt}from"react/jsx-runtime";var Ji=xt(function({children:r,...t},n){let i=Ko(),a=wt(null),c=ur(a,n);St(a);let{tabBarHeight:o,safeAreaInsets:d}=yr(),f=to({backgroundColor:"primary",flexGrow:"1",spacingHorizontal:"6"}),l=vt(()=>({paddingTop:d.top,paddingBottom:o}),[d.top,o]);return Tt(Pt,{ref:c,style:f,contentInsetAdjustmentBehavior:"never",automaticallyAdjustContentInsets:!1,contentContainerStyle:l,indicatorStyle:i==="dark"?"black":"white",...t,children:r})});import{useCallback as kt,useEffect as Rt,useState as Ft}from"react";import{AppState as Sr}from"react-native";function re(){let[e,r]=Ft(Sr.currentState),t=kt(n=>{r(n)},[]);return Rt(()=>{let n=Sr.addEventListener("change",t);return()=>{n.remove()}},[t]),e}import{useEffect as Et,useRef as Mt,useState as At}from"react";import{PixelRatio as ke}from"react-native";var xr=()=>{let[e,r]=At(ke.getFontScale()),t=Mt(ke.getFontScale()),n=re();return Et(()=>{if(n==="active"){let i=ke.getFontScale();t.current!==i&&(r(i),t.current=i)}},[n]),e};import{setStatusBarStyle as Lt}from"expo-status-bar";import{createContext as kr,useContext as Nt,useEffect as Tr,useState as Gt}from"react";import{createContext as Wt,useContext as zt,useEffect as Bt,useState as Ht}from"react";import{Appearance as Ot,Platform as _t,useColorScheme as Vt}from"react-native";import{jsx as It}from"react/jsx-runtime";var vr=Wt(Mo);function wr(){return zt(vr)}function Dt(){let e=re(),r=Vt(),[t,n]=Ht(r),i=_t.OS==="android";return Bt(()=>{if(e==="active"){if(i){let a=Ot.getColorScheme();n(a);return}n(r)}},[r,e,i]),t??"light"}function Pr({children:e}){let r=Dt();return It(vr.Provider,{value:r,children:e})}import{jsx as Re}from"react/jsx-runtime";var $t=()=>{},Rr=kr(Vo),Ut=kr($t);function Cl(){return Nt(Rr)}function Fr({children:e,value:r=Vo}){let[t,n]=Gt(r),i=wr(),a=t==="system"?i:t;return Tr(()=>{Lt(a==="light"?"dark":"light")},[a]),Tr(()=>{n(r)},[r]),Re(Rr.Provider,{value:t,children:Re(Ut.Provider,{value:n,children:Re(qe,{value:a,children:e})})})}import{createContext as Wr,useState as qt}from"react";import{createContext as Xt,useContext as Yt,useMemo as jt}from"react";import{jsx as Kt}from"react/jsx-runtime";var Er=Xt(Ao),Bo={xSmall:.823,small:.882,medium:.941,large:1,xLarge:1.118,xxLarge:1.235,xxxLarge:1.353};function Mr(){return Yt(Er)}function Zt(){let e=xr();return jt(()=>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 Ar({children:e}){let r=Zt();return Kt(Er.Provider,{value:r,children:e})}import{jsx as Fe}from"react/jsx-runtime";var Jt=()=>{},Qt=Wr(Do),on=Wr(Jt);function zr({children:e,value:r=Do}){let[t,n]=qt(r),i=Mr(),a=t==="system"?i:t;return Fe(Qt.Provider,{value:t,children:Fe(on.Provider,{value:n,children:Fe(Qe,{value:a,children:e})})})}import{BottomSheetModalProvider as en}from"@gorhom/bottom-sheet";import{SafeAreaProvider as rn}from"react-native-safe-area-context";import{jsx as Wo}from"react/jsx-runtime";function Nl({children:e,colorModeForApp:r=Vo,scaleModeForApp:t=Do,config:n}){return Wo(rn,{children:Wo(Pr,{children:Wo(Fr,{value:r,children:Wo(Ar,{children:Wo(zr,{value:t,children:Wo(er,{value:n,children:Wo(Cr,{children:Wo(en,{children:e})})})})})})})})}export{kn as AVATAR_SIZE_PREFIX,Rn as BORDER_RADIUS_PREFIX,Fn as BORDER_WIDTH_PREFIX,ee as Box,Ke as ColorModeContext,Rr as ColorModeForAppContext,Ut as ColorModeForAppContextUpdater,Fr as ColorModeForAppProvider,vr as ColorModeForDeviceContext,Pr as ColorModeForDeviceProvider,qe as ColorModeProvider,hr as ComputedTokensContext,Cr as ComputedTokensProvider,Bn as DARK_COLOR_MODE_CLASSNAME,Mo as DEFAULT_COLOR_MODE,Ln as DEFAULT_COLOR_MODE_CLASSNAME,Vo as DEFAULT_COLOR_MODE_FOR_APP,Kn as DEFAULT_HIGH_CONTRAST_MODE,qn as DEFAULT_REGION_MODE,Ao as DEFAULT_SCALE_MODE,Nn as DEFAULT_SCALE_MODE_CLASSNAME,Do as DEFAULT_SCALE_MODE_FOR_APP,ve as DEFAULT_STYLER,Pn as FONT_FAMILY_PREFIX,Gn as FONT_ICONS_CSS_VAR,Un as FONT_SANS_BETA_CSS_VAR,Xn as FONT_SANS_CONDENSED_CSS_VAR,$n as FONT_SANS_CSS_VAR,Yn as FONT_SERIF_DISPLAY_CSS_VAR,jn as FONT_SERIF_TEXT_CSS_VAR,Mn as FONT_SIZE_PREFIX,Wn as FONT_WEIGHT_PREFIX,Qa as HStack,Tn as ICON_SIZE_PREFIX,pr as Icon,yi as IconButton,wi as Image,Or as LARGE_SCALE_MODE_CLASSNAME,Hr as LIGHT_COLOR_MODE_CLASSNAME,An as LINE_HEIGHT_PREFIX,_n as MEDIUM_SCALE_MODE_CLASSNAME,mr as Pressable,On as SMALL_SCALE_MODE_CLASSNAME,En as SPACING_PREFIX,wn as SPECTRUM_COLOR_PREFIX,Je as ScaleModeContext,Qt as ScaleModeForAppContext,zr as ScaleModeForAppProvider,on as ScaleModeForAppUpdaterContext,Er as ScaleModeForDeviceContext,Ar as ScaleModeForDeviceProvider,Qe as ScaleModeProvider,Ji as Screen,er as StyleProvider,zn as TEXT_TRANSFORM_PREFIX,Ei as Text,Nl as ThemeProvider,R as UDS_PREFIX,Bi as VStack,Vn as XLARGE_SCALE_MODE_CLASSNAME,Hn as XSMALL_SCALE_MODE_CLASSNAME,Dn as XXLARGE_SCALE_MODE_CLASSNAME,In as XXXLARGE_SCALE_MODE_CLASSNAME,Oo as alwaysPalette,xe as createStyler,jo as defaultTokensConfig,Ye as entries,pe as fontFamilyGlobal,N as fontWeightMap,re as useAppState,Ko as useColorMode,Cl as useColorModeForApp,wr as useColorModeForDevice,yr as useComputedTokens,xr as useDeviceFontScale,we as useScaleMode,Mr as useScaleModeForDevice,to as useStyles,rr as useTokens};
@@ -1,5 +1,5 @@
1
1
  import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
- import { U as UniversalTokensConfig } from './types-ZrxnB4cM.cjs';
2
+ import { U as UniversalTokensConfig } from './types-7oEBWtMQ.cjs';
3
3
  import 'react';
4
4
 
5
5
  interface TailwindPluginOptions {
@@ -1,5 +1,5 @@
1
1
  import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
- import { U as UniversalTokensConfig } from './types-ZrxnB4cM.js';
2
+ import { U as UniversalTokensConfig } from './types-7oEBWtMQ.js';
3
3
  import 'react';
4
4
 
5
5
  interface TailwindPluginOptions {