@moyeorak/design-system 0.1.3 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -128
- package/dist/index.d.ts +24 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1863 -335
- package/dist/style.css +1 -1
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -1,13 +1,27 @@
|
|
|
1
1
|
# @moyeorak/design-system
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## 프로젝트 소개
|
|
4
|
+
|
|
5
|
+
실 서비스인 모여락을 먼저 개발한 뒤 시작된 프로젝트예요. 함께 작업한 디자이너와 함께 디자인 토큰과 컴포넌트를 체계적으로 문서화해 디자이너-개발자 간 커뮤니케이션 비용을 줄이고 서비스 전반의 디자인 일관성을 보장하고 싶어서 별도 프로젝트로 시작했어요. 아직 모여락 서비스 자체에는 적용하지 못했고, 새로 시작하는 프로젝트에 먼저 도입해 검증할 계획이에요.
|
|
6
|
+
|
|
7
|
+
### 기술적 의사결정
|
|
8
|
+
|
|
9
|
+
- **Panda CSS** — 빌드타임에 정적 CSS를 추출하는 zero-runtime CSS-in-JS로, 토큰을 타입 안전하게 참조할 수 있어요.
|
|
10
|
+
- **Radix UI** — 복잡한 동작이나 합성이 필요한 곳에 선택적으로 헤드리스 프리미티브를 적용해요. 합성엔 `Slot`(Button), 선택 상태엔 `Toggle`(Chip), 일시적 알림에는 `Toast`를 써요. 단순 표시용 컴포넌트는 Panda CSS만으로 구현해요.
|
|
11
|
+
- **Tailwind 동시 지원** — 소비 프로젝트가 반드시 Panda CSS를 쓰지 않아도 동일한 디자인 토큰을 쓸 수 있도록 별도의 `tailwind-plugin` 진입점을 제공해요.
|
|
12
|
+
|
|
13
|
+
### 컴포넌트 / 토큰 문서
|
|
14
|
+
|
|
15
|
+
전체 컴포넌트 목록, 디자인 토큰, 사용 예제는 Storybook에서 확인할 수 있어요.
|
|
16
|
+
|
|
17
|
+
→ [Storybook 바로가기](https://main--69cf7bceba8267c1b5d86ba6.chromatic.com/?path=/docs/foundations-colors--docs)
|
|
4
18
|
|
|
5
19
|
## 기술 스택
|
|
6
20
|
|
|
7
21
|
| 역할 | 기술 |
|
|
8
22
|
|------|------|
|
|
9
23
|
| 프레임워크 | React 19 + TypeScript |
|
|
10
|
-
| 스타일링 | Panda CSS |
|
|
24
|
+
| 스타일링 | Panda CSS (+ Tailwind CSS 플러그인 지원) |
|
|
11
25
|
| 헤드리스 UI | Radix UI |
|
|
12
26
|
| 문서화 | Storybook 8 |
|
|
13
27
|
| 빌드 | Vite 6 |
|
|
@@ -26,20 +40,19 @@ bun install
|
|
|
26
40
|
| `bun run build` | 라이브러리 빌드 (`panda codegen` 포함) |
|
|
27
41
|
| `bun run dev` | watch 모드로 빌드 |
|
|
28
42
|
| `bun run storybook` | Storybook 개발 서버 실행 (포트 6006) |
|
|
29
|
-
| `bun run build-storybook` | Storybook 정적 빌드 |
|
|
30
|
-
| `bun run prepare` | Panda CSS 코드 생성 |
|
|
31
|
-
| `bun run typecheck` | TypeScript 타입 검사 |
|
|
32
43
|
| `bun run test` | 테스트 실행 |
|
|
33
|
-
|
|
44
|
+
|
|
45
|
+
그 외 스크립트(`lint`, `format`, `chromatic` 등)는 `package.json`을 참고하세요.
|
|
34
46
|
|
|
35
47
|
## 프로젝트 구조
|
|
36
48
|
|
|
37
49
|
```
|
|
38
50
|
moyeorakui/
|
|
39
51
|
├── src/
|
|
40
|
-
│ ├── components/ # 컴포넌트 (
|
|
52
|
+
│ ├── components/ # 컴포넌트 (안정화된 것만 src/index.ts에서 export)
|
|
41
53
|
│ ├── lib/
|
|
42
54
|
│ │ └── utils.ts # cx 유틸리티 (styled-system/css에서 re-export)
|
|
55
|
+
│ ├── tailwind-plugin.ts # Tailwind CSS용 토큰 플러그인
|
|
43
56
|
│ ├── styles.css # Panda CSS 레이어 선언
|
|
44
57
|
│ ├── env.d.ts # CSS 파일 타입 선언
|
|
45
58
|
│ ├── styles.css.d.ts # styles.css companion 타입
|
|
@@ -52,129 +65,39 @@ moyeorakui/
|
|
|
52
65
|
|
|
53
66
|
## 디자인 토큰
|
|
54
67
|
|
|
55
|
-
토큰은 `panda.config.ts` 한 곳에서
|
|
56
|
-
|
|
57
|
-
### Atomic 토큰 (원시값)
|
|
58
|
-
|
|
59
|
-
```
|
|
60
|
-
colors.neutral.{0,50,100-900} 중립 색상 팔레트
|
|
61
|
-
colors.neutralOpacity.{100-900} 투명도 기반 중립 색상 (rgba)
|
|
62
|
-
colors.blue.{100-900} 브랜드 블루 팔레트
|
|
63
|
-
colors.red #f0405c
|
|
64
|
-
colors.green #00cf95
|
|
65
|
-
|
|
66
|
-
fontSizes.{xs|sm|md|lg|xl|2xl}
|
|
67
|
-
fontWeights.{regular|medium|semibold|bold}
|
|
68
|
-
letterSpacings.{tight|tighter}
|
|
69
|
-
radii.{2xs|xs|sm|md|lg|xl|full}
|
|
70
|
-
shadows.{subtle|default|strong|stronger}
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
### Semantic 토큰 (의미 기반)
|
|
74
|
-
|
|
75
|
-
토큰 경로는 `요소.의도.강조단계` 구조를 따르며, 상태가 있는 경우 `강조단계-상태` 형식으로 표기해요.
|
|
76
|
-
|
|
77
|
-
```
|
|
78
|
-
fg.neutral.{faintest|subtlest|subtler|subtle|default|strong|default-disabled}
|
|
79
|
-
fg.inverted.{default}
|
|
80
|
-
fg.brand.{subtlest|default}
|
|
81
|
-
fg.positive.{default}
|
|
82
|
-
fg.negative.{default}
|
|
83
|
-
|
|
84
|
-
stroke.neutral.{subtler|subtle|default|strong}
|
|
85
|
-
stroke.brand.{subtle|default}
|
|
86
|
-
stroke.negative.{default}
|
|
68
|
+
토큰은 `panda.config.ts` 한 곳에서 관리하며, 색상과 텍스트 스타일 모두 원시값 → 의미 기반 값 2단계 구조를 따라요.
|
|
87
69
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
fill.brand.{subtlest|subtler|subtle|subtle-pressed|default|default-pressed}
|
|
70
|
+
- **색상** — semantic 토큰은 `요소.의도.강조단계.상태` 구조예요. → [색상 토큰 보기](https://main--69cf7bceba8267c1b5d86ba6.chromatic.com/?path=/docs/foundations-colors--docs)
|
|
71
|
+
- **텍스트 스타일** — Heading / Title / Body / Caption 4개 그룹으로 구성돼요. → [텍스트 스타일 보기](https://main--69cf7bceba8267c1b5d86ba6.chromatic.com/?path=/docs/foundations-typography--docs)
|
|
91
72
|
|
|
92
|
-
|
|
93
|
-
bg.dim.{default}
|
|
73
|
+
## 파일 구조 컨벤션
|
|
94
74
|
|
|
95
|
-
shadow.{subtle|default|strong|stronger}
|
|
96
75
|
```
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
head2 24px bold
|
|
103
|
-
head3 24px semibold
|
|
104
|
-
title1 20px semibold
|
|
105
|
-
title2 20px regular
|
|
106
|
-
title3 16px semibold
|
|
107
|
-
body{1-2} 16px medium / regular
|
|
108
|
-
body{3-5} 14px semibold / medium / regular
|
|
109
|
-
caption{1-3} 12px semibold / medium / regular
|
|
76
|
+
src/components/ComponentName/
|
|
77
|
+
├── index.ts # named export
|
|
78
|
+
├── ComponentName.tsx # 구현
|
|
79
|
+
├── ComponentName.stories.tsx # Storybook 스토리
|
|
80
|
+
└── ComponentName.mdx # Storybook 문서 (anatomy/usage 이미지 포함, 선택)
|
|
110
81
|
```
|
|
111
82
|
|
|
112
|
-
##
|
|
83
|
+
## Tailwind 지원
|
|
113
84
|
|
|
114
|
-
|
|
85
|
+
Panda CSS를 쓰지 않는 소비 프로젝트를 위해 동일한 디자인 토큰을 Tailwind CSS 유틸리티로 노출하는 플러그인을 별도로 제공해요.
|
|
115
86
|
|
|
116
|
-
```
|
|
117
|
-
//
|
|
118
|
-
import
|
|
119
|
-
import { cva, type VariantProps } from "../../../styled-system/css"
|
|
120
|
-
import { cx } from "../../lib/utils"
|
|
121
|
-
|
|
122
|
-
const buttonStyles = cva({
|
|
123
|
-
base: {
|
|
124
|
-
display: "inline-flex",
|
|
125
|
-
alignItems: "center",
|
|
126
|
-
cursor: "pointer",
|
|
127
|
-
borderRadius: "md",
|
|
128
|
-
fontWeight: "semibold",
|
|
129
|
-
_disabled: { opacity: 0.5, pointerEvents: "none" },
|
|
130
|
-
},
|
|
131
|
-
variants: {
|
|
132
|
-
variant: {
|
|
133
|
-
primary: { bg: "fill.brand.default", color: "white" },
|
|
134
|
-
secondary: { bg: "fill.neutral.default", color: "fg.neutral.default" },
|
|
135
|
-
},
|
|
136
|
-
size: {
|
|
137
|
-
sm: { h: "32px", px: "12px", textStyle: "body3" },
|
|
138
|
-
md: { h: "40px", px: "16px", textStyle: "body2" },
|
|
139
|
-
lg: { h: "48px", px: "24px", textStyle: "body1" },
|
|
140
|
-
},
|
|
141
|
-
},
|
|
142
|
-
defaultVariants: { variant: "primary", size: "md" },
|
|
143
|
-
})
|
|
144
|
-
|
|
145
|
-
export interface ButtonProps
|
|
146
|
-
extends React.ButtonHTMLAttributes<HTMLButtonElement>,
|
|
147
|
-
VariantProps<typeof buttonStyles> {
|
|
148
|
-
asChild?: boolean
|
|
149
|
-
}
|
|
87
|
+
```ts
|
|
88
|
+
// tailwind.config.ts
|
|
89
|
+
import moyeorakPlugin from "@moyeorak/design-system/tailwind-plugin"
|
|
150
90
|
|
|
151
|
-
export
|
|
152
|
-
|
|
153
|
-
return <Comp className={cx(buttonStyles({ variant, size }), className)} {...props} />
|
|
91
|
+
export default {
|
|
92
|
+
plugins: [moyeorakPlugin],
|
|
154
93
|
}
|
|
155
94
|
```
|
|
156
95
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
```
|
|
160
|
-
src/components/ComponentName/
|
|
161
|
-
├── index.ts # named export
|
|
162
|
-
├── ComponentName.tsx # 구현
|
|
163
|
-
└── ComponentName.stories.tsx # Storybook 스토리
|
|
164
|
-
```
|
|
96
|
+
플러그인은 semantic 색상 토큰을 `bg-fill-brand-default`, `text-fg-neutral-default`처럼 CSS 변수 기반 Tailwind 컬러로, 텍스트 스타일을 `.textStyle_body1` 같은 유틸리티 클래스로 노출해요. CSS 변수 자체는 `@moyeorak/design-system/dist/style.css`에서 가져오므로, 이 CSS는 Tailwind 사용 여부와 관계없이 항상 import해야 해요.
|
|
165
97
|
|
|
166
98
|
## 다크 모드
|
|
167
99
|
|
|
168
|
-
현재 semantic 토큰에 `_dark` 값이 정의되지 않아 다크 모드를 지원하지 않아요.
|
|
169
|
-
|
|
170
|
-
```ts
|
|
171
|
-
// 다크 모드 추가 시 panda.config.ts 토큰 형태
|
|
172
|
-
fg: {
|
|
173
|
-
neutral: {
|
|
174
|
-
default: { value: { base: "{colors.neutral.800}", _dark: "{colors.neutral.100}" } },
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
```
|
|
100
|
+
현재 semantic 토큰에 `_dark` 값이 정의되지 않아 다크 모드를 지원하지 않아요.
|
|
178
101
|
|
|
179
102
|
## 라이브러리 사용 (소비자)
|
|
180
103
|
|
|
@@ -191,19 +114,7 @@ import { Button } from "@moyeorak/design-system"
|
|
|
191
114
|
|
|
192
115
|
### 폰트 (Pretendard)
|
|
193
116
|
|
|
194
|
-
라이브러리는 폰트 파일을 번들링하지 않고 `font-family: 'Pretendard Variable', Pretendard, sans-serif`로 이름만 참조해요. Pretendard를
|
|
195
|
-
|
|
196
|
-
```tsx
|
|
197
|
-
// Next.js의 경우 next/font/local 사용 권장
|
|
198
|
-
import localFont from "next/font/local"
|
|
199
|
-
|
|
200
|
-
const pretendard = localFont({
|
|
201
|
-
src: "../fonts/PretendardVariable.woff2",
|
|
202
|
-
variable: "--font-pretendard",
|
|
203
|
-
})
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
폰트를 로드하지 않으면 시스템 sans-serif 폰트로 자동 폴백돼요.
|
|
117
|
+
라이브러리는 폰트 파일을 번들링하지 않고 `font-family: 'Pretendard Variable', Pretendard, sans-serif`로 이름만 참조해요. Pretendard를 적용하려면 소비 앱에서 직접 로드해야 하고(예: Next.js는 `next/font/local`), 로드하지 않으면 시스템 sans-serif로 자동 폴백돼요.
|
|
207
118
|
|
|
208
119
|
## Panda CSS 코드 생성
|
|
209
120
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
1
2
|
import { JSX } from 'react/jsx-runtime';
|
|
3
|
+
import * as RadixToast from '@radix-ui/react-toast';
|
|
2
4
|
|
|
3
5
|
declare type AdvancedPseudos =
|
|
4
6
|
| ":-moz-any()"
|
|
@@ -172,9 +174,14 @@ p: "16px";
|
|
|
172
174
|
};
|
|
173
175
|
}>;
|
|
174
176
|
|
|
175
|
-
export declare function Chip({ variant, shape, className, children, ...props }: ChipProps): JSX.Element;
|
|
177
|
+
export declare function Chip({ variant, shape, className, children, pressed, defaultPressed, onPressedChange, ...props }: ChipProps): JSX.Element;
|
|
176
178
|
|
|
177
|
-
export declare type ChipProps = React.ButtonHTMLAttributes<HTMLButtonElement> & RecipeVariantProps<typeof chipStyles
|
|
179
|
+
export declare type ChipProps = React.ButtonHTMLAttributes<HTMLButtonElement> & RecipeVariantProps<typeof chipStyles> & {
|
|
180
|
+
/** 칩의 선택 상태예요. 전달하면 controlled로 동작하며, `aria-pressed`에 반영돼요. */
|
|
181
|
+
pressed?: boolean;
|
|
182
|
+
defaultPressed?: boolean;
|
|
183
|
+
onPressedChange?: (pressed: boolean) => void;
|
|
184
|
+
};
|
|
178
185
|
|
|
179
186
|
declare const chipStyles: RecipeRuntimeFn< {
|
|
180
187
|
variant: {
|
|
@@ -17870,10 +17877,23 @@ export declare type SystemStyleObject = Omit<Nested<SystemProperties & CssVarPro
|
|
|
17870
17877
|
|
|
17871
17878
|
export declare function Toast(props: ToastProps): JSX.Element;
|
|
17872
17879
|
|
|
17873
|
-
export declare type ToastProps = NeutralToastProps | NegativeToastProps | PositiveToastProps
|
|
17880
|
+
export declare type ToastProps = (NeutralToastProps | NegativeToastProps | PositiveToastProps) & {
|
|
17881
|
+
/** 토스트가 열려 있는지 여부예요. 전달하면 controlled로 동작해요. */
|
|
17882
|
+
open?: boolean;
|
|
17883
|
+
defaultOpen?: boolean;
|
|
17884
|
+
onOpenChange?: (open: boolean) => void;
|
|
17885
|
+
/** 자동으로 닫히기까지의 시간(ms)이에요. */
|
|
17886
|
+
duration?: number;
|
|
17887
|
+
};
|
|
17888
|
+
|
|
17889
|
+
export declare const ToastProvider: FC<RadixToast.ToastProviderProps>;
|
|
17874
17890
|
|
|
17875
17891
|
export declare type ToastVariant = "neutral" | "negative" | "positive";
|
|
17876
17892
|
|
|
17893
|
+
export declare function ToastViewport(props: ToastViewportProps): JSX.Element;
|
|
17894
|
+
|
|
17895
|
+
export declare type ToastViewportProps = RadixToast.ToastViewportProps;
|
|
17896
|
+
|
|
17877
17897
|
declare type Token = "colors.gray.0" | "colors.gray.50" | "colors.gray.100" | "colors.gray.200" | "colors.gray.300" | "colors.gray.400" | "colors.gray.500" | "colors.gray.600" | "colors.gray.700" | "colors.gray.800" | "colors.gray.900" | "colors.blue.100" | "colors.blue.200" | "colors.blue.300" | "colors.blue.400" | "colors.blue.500" | "colors.blue.600" | "colors.blue.700" | "colors.blue.800" | "colors.blue.900" | "colors.grayOpacity.100" | "colors.grayOpacity.200" | "colors.grayOpacity.300" | "colors.grayOpacity.400" | "colors.grayOpacity.500" | "colors.grayOpacity.600" | "colors.grayOpacity.700" | "colors.grayOpacity.800" | "colors.grayOpacity.900" | "colors.red" | "colors.green" | "fonts.sans" | "fontSizes.xs" | "fontSizes.sm" | "fontSizes.md" | "fontSizes.lg" | "fontSizes.xl" | "fontSizes.2xl" | "fontWeights.regular" | "fontWeights.medium" | "fontWeights.semibold" | "fontWeights.bold" | "letterSpacings.tight" | "letterSpacings.tighter" | "radii.2xs" | "radii.xs" | "radii.sm" | "radii.md" | "radii.lg" | "radii.xl" | "radii.full" | "shadows.strong" | "breakpoints.sm" | "breakpoints.md" | "breakpoints.lg" | "breakpoints.xl" | "breakpoints.2xl" | "sizes.breakpoint-sm" | "sizes.breakpoint-md" | "sizes.breakpoint-lg" | "sizes.breakpoint-xl" | "sizes.breakpoint-2xl" | "colors.fill.neutral.default" | "colors.fill.neutral.default-pressed" | "colors.fill.neutral.default-disabled" | "colors.fill.neutral.subtle" | "colors.fill.neutral.subtler" | "colors.fill.neutral.subtlest" | "colors.fill.neutral.faintest" | "colors.fill.brand.default" | "colors.fill.brand.default-pressed" | "colors.fill.brand.subtle" | "colors.fill.brand.subtle-pressed" | "colors.fill.brand.subtler" | "colors.fill.brand.subtlest" | "colors.bg.neutral.strongest" | "colors.bg.neutral.strong" | "colors.bg.neutral.default" | "colors.overlay.neutral.stronger" | "colors.overlay.neutral.strong" | "colors.overlay.neutral.default" | "colors.overlay.neutral.subtle" | "colors.overlay.neutral.subtler" | "colors.stroke.neutral.strong" | "colors.stroke.neutral.default" | "colors.stroke.neutral.subtle" | "colors.stroke.neutral.subtler" | "colors.stroke.brand.default" | "colors.stroke.brand.subtle" | "colors.stroke.negative.default" | "colors.shadow.neutral.stronger" | "colors.shadow.neutral.strong" | "colors.shadow.neutral.default" | "colors.shadow.neutral.subtle" | "colors.fg.neutral.stronger" | "colors.fg.neutral.strong" | "colors.fg.neutral.default" | "colors.fg.neutral.subtle" | "colors.fg.neutral.subtler" | "colors.fg.neutral.subtlest" | "colors.fg.neutral.faintest" | "colors.fg.brand.default" | "colors.fg.brand.subtle" | "colors.fg.brand.subtlest" | "colors.fg.positive.default" | "colors.fg.negative.default" | "colors.colorPalette.0" | "colors.colorPalette.50" | "colors.colorPalette.100" | "colors.colorPalette.200" | "colors.colorPalette.300" | "colors.colorPalette.400" | "colors.colorPalette.500" | "colors.colorPalette.600" | "colors.colorPalette.700" | "colors.colorPalette.800" | "colors.colorPalette.900" | "colors.colorPalette" | "colors.colorPalette.neutral.default" | "colors.colorPalette.default" | "colors.colorPalette.neutral.default-pressed" | "colors.colorPalette.default-pressed" | "colors.colorPalette.neutral.default-disabled" | "colors.colorPalette.default-disabled" | "colors.colorPalette.neutral.subtle" | "colors.colorPalette.subtle" | "colors.colorPalette.neutral.subtler" | "colors.colorPalette.subtler" | "colors.colorPalette.neutral.subtlest" | "colors.colorPalette.subtlest" | "colors.colorPalette.neutral.faintest" | "colors.colorPalette.faintest" | "colors.colorPalette.brand.default" | "colors.colorPalette.brand.default-pressed" | "colors.colorPalette.brand.subtle" | "colors.colorPalette.brand.subtle-pressed" | "colors.colorPalette.subtle-pressed" | "colors.colorPalette.brand.subtler" | "colors.colorPalette.brand.subtlest" | "colors.colorPalette.neutral.strongest" | "colors.colorPalette.strongest" | "colors.colorPalette.neutral.strong" | "colors.colorPalette.strong" | "colors.colorPalette.neutral.stronger" | "colors.colorPalette.stronger" | "colors.colorPalette.negative.default" | "colors.colorPalette.positive.default"
|
|
17878
17898
|
|
|
17879
17899
|
declare type Tokens = {
|
|
@@ -19918,6 +19938,6 @@ declare interface VendorShorthandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
19918
19938
|
|
|
19919
19939
|
declare type VendorShorthandPropertiesFallback<TLength = (string & {}) | 0, TTime = string & {}> = Fallback<VendorShorthandProperties<TLength, TTime>>;
|
|
19920
19940
|
|
|
19921
|
-
export declare const version = "0.
|
|
19941
|
+
export declare const version = "0.2.0";
|
|
19922
19942
|
|
|
19923
19943
|
export { }
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),Y=require("react");function q(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const o=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,o.get?o:{enumerable:!0,get:()=>t[e]})}}return r.default=t,Object.freeze(r)}const p=q(Y);function M(t){return typeof t=="object"&&t!=null&&!Array.isArray(t)}var $=t=>typeof t=="object"&&t!==null;function I(t){return Object.fromEntries(Object.entries(t??{}).filter(([r,e])=>e!==void 0))}var G=t=>t==="base";function K(t){return t.slice().filter(r=>!G(r))}function V(t){return String.fromCharCode(t+(t>25?39:97))}function U(t){let r="",e;for(e=Math.abs(t);e>52;e=e/52|0)r=V(e%52)+r;return V(e%52)+r}function J(t,r){let e=r.length;for(;e;)t=t*33^r.charCodeAt(--e);return t}function Q(t){return U(J(5381,t)>>>0)}var P=/\s*!(important)?/i;function t1(t){return typeof t=="string"?P.test(t):!1}function r1(t){return typeof t=="string"?t.replace(P,"").trim():t}function W(t){return typeof t=="string"?t.replaceAll(" ","_"):t}var L=t=>{const r=new Map;return(...o)=>{const n=JSON.stringify(o);if(r.has(n))return r.get(n);const a=t(...o);return r.set(n,a),a}},e1=new Set(["__proto__","constructor","prototype"]);function B(...t){return t.reduce((r,e)=>(e&&Object.keys(e).forEach(o=>{if(e1.has(o))return;const n=r[o],a=e[o];M(n)&&M(a)?r[o]=B(n,a):r[o]=a}),r),{})}var n1=t=>t!=null;function A(t,r,e={}){const{stop:o,getKey:n}=e;function a(s,l=[]){if($(s)){const c={};for(const[d,g]of Object.entries(s)){const f=(n==null?void 0:n(d,g))??d,u=[...l,f];if(o!=null&&o(s,u))return r(s,l);const b=a(g,u);n1(b)&&(c[f]=b)}return c}return r(s,l)}return a(t)}function o1(t,r){return t.reduce((e,o,n)=>{const a=r[n];return o!=null&&(e[a]=o),e},{})}function Z(t,r,e=!0){const{utility:o,conditions:n}=r,{hasShorthand:a,resolveShorthand:s}=o;return A(t,l=>Array.isArray(l)?o1(l,n.breakpoints.keys):l,{stop:l=>Array.isArray(l),getKey:e?l=>a?s(l):l:void 0})}var i1={shift:t=>t,finalize:t=>t,breakpoints:{keys:[]}},a1=t=>typeof t=="string"?t.replaceAll(/[\n\s]+/g," "):t;function s1(t){const{utility:r,hash:e,conditions:o=i1}=t,n=s=>[r.prefix,s].filter(Boolean).join("-"),a=(s,l)=>{let c;if(e){const d=[...o.finalize(s),l];c=n(r.toHash(d,Q))}else c=[...o.finalize(s),n(l)].join(":");return c};return L(({base:s,...l}={})=>{const c=Object.assign(l,s),d=Z(c,t),g=new Set;return A(d,(f,u)=>{if(f==null)return;const b=t1(f),[h,...m]=o.shift(u),_=K(m),w=r.transform(h,r1(a1(f)));let v=a(_,w.className);b&&(v=`${v}!`),g.add(v)}),Array.from(g).join(" ")})}function l1(...t){return t.flat().filter(r=>M(r)&&Object.keys(I(r)).length>0)}function c1(t){function r(n){const a=l1(...n);return a.length===1?a:a.map(s=>Z(s,t))}function e(...n){return B(...r(n))}function o(...n){return Object.assign({},...r(n))}return{mergeCss:L(e),assignCss:o}}var d1=/([A-Z])/g,u1=/^ms-/,p1=L(t=>t.startsWith("--")?t:t.replace(d1,"-$1").replace(u1,"-ms-").toLowerCase()),b1="cm,mm,Q,in,pc,pt,px,em,ex,ch,rem,lh,rlh,vw,vh,vmin,vmax,vb,vi,svw,svh,lvw,lvh,dvw,dvh,cqw,cqh,cqi,cqb,cqmin,cqmax,%";`${b1.split(",").join("|")}`;function f1(t,...r){const e=Object.getOwnPropertyDescriptors(t),o=Object.keys(e),n=s=>{const l={};for(let c=0;c<s.length;c++){const d=s[c];e[d]&&(Object.defineProperty(l,d,e[d]),delete e[d])}return l},a=s=>n(Array.isArray(s)?s:o.filter(s));return r.map(a).concat(n(o))}var g1=(...t)=>{const r=t.reduce((e,o)=>(o&&o.forEach(n=>e.add(n)),e),new Set([]));return Array.from(r)};const C1="_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_complete,_incomplete,_dragging,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_grabbed,_underValue,_overValue,_atValue,_default,_optional,_open,_closed,_fullscreen,_loading,_hidden,_current,_currentPage,_currentStep,_today,_unavailable,_rangeStart,_rangeEnd,_now,_topmost,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_icon,_starting,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,2xlDown,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl,@/xs,@/sm,@/md,@/lg,@/xl,@/2xl,@/3xl,@/4xl,@/5xl,@/6xl,@/7xl,@/8xl,base",z=new Set(C1.split(",")),h1=/^@|&|&$/;function R(t){return z.has(t)||h1.test(t)}const m1=/^_/,x1=/&|@/;function y1(t){return t.map(r=>z.has(r)?r.replace(m1,""):x1.test(r)?`[${W(r.trim())}]`:r)}function v1(t){return t.sort((r,e)=>{const o=R(r),n=R(e);return o&&!n?1:!o&&n?-1:0})}const k1="aspectRatio:asp,boxDecorationBreak:bx-db,zIndex:z,boxSizing:bx-s,objectPosition:obj-p,objectFit:obj-f,overscrollBehavior:ovs-b,overscrollBehaviorX:ovs-bx,overscrollBehaviorY:ovs-by,position:pos/1,top:top,left:left,inset:inset,insetInline:inset-x/insetX,insetBlock:inset-y/insetY,insetBlockEnd:inset-be,insetBlockStart:inset-bs,insetInlineEnd:inset-e/insetEnd/end,insetInlineStart:inset-s/insetStart/start,right:right,bottom:bottom,float:float,visibility:vis,display:d,hideFrom:hide,hideBelow:show,flexBasis:flex-b,flex:flex,flexDirection:flex-d/flexDir,flexGrow:flex-g,flexShrink:flex-sh,gridTemplateColumns:grid-tc,gridTemplateRows:grid-tr,gridColumn:grid-c,gridRow:grid-r,gridColumnStart:grid-cs,gridColumnEnd:grid-ce,gridAutoFlow:grid-af,gridAutoColumns:grid-ac,gridAutoRows:grid-ar,gap:gap,gridGap:grid-g,gridRowGap:grid-rg,gridColumnGap:grid-cg,rowGap:rg,columnGap:cg,justifyContent:jc,alignContent:ac,alignItems:ai,alignSelf:as,padding:p/1,paddingLeft:pl/1,paddingRight:pr/1,paddingTop:pt/1,paddingBottom:pb/1,paddingBlock:py/1/paddingY,paddingBlockEnd:pbe,paddingBlockStart:pbs,paddingInline:px/paddingX/1,paddingInlineEnd:pe/1/paddingEnd,paddingInlineStart:ps/1/paddingStart,marginLeft:ml/1,marginRight:mr/1,marginTop:mt/1,marginBottom:mb/1,margin:m/1,marginBlock:my/1/marginY,marginBlockEnd:mbe,marginBlockStart:mbs,marginInline:mx/1/marginX,marginInlineEnd:me/1/marginEnd,marginInlineStart:ms/1/marginStart,spaceX:sx,spaceY:sy,outlineWidth:ring-w/ringWidth,outlineColor:ring-c/ringColor,outline:ring/1,outlineOffset:ring-o/ringOffset,divideX:dvd-x,divideY:dvd-y,divideColor:dvd-c,divideStyle:dvd-s,width:w/1,inlineSize:w-is,minWidth:min-w/minW,minInlineSize:min-w-is,maxWidth:max-w/maxW,maxInlineSize:max-w-is,height:h/1,blockSize:h-bs,minHeight:min-h/minH,minBlockSize:min-h-bs,maxHeight:max-h/maxH,maxBlockSize:max-b,color:c,fontFamily:ff,fontSize:fs,fontSizeAdjust:fs-a,fontPalette:fp,fontKerning:fk,fontFeatureSettings:ff-s,fontWeight:fw,fontSmoothing:fsmt,fontVariant:fv,fontVariantAlternates:fv-alt,fontVariantCaps:fv-caps,fontVariationSettings:fv-s,fontVariantNumeric:fv-num,letterSpacing:ls,lineHeight:lh,textAlign:ta,textDecoration:td,textDecorationColor:td-c,textEmphasisColor:te-c,textDecorationStyle:td-s,textDecorationThickness:td-t,textUnderlineOffset:tu-o,textTransform:tt,textIndent:ti,textShadow:tsh,textShadowColor:tsh-c/textShadowColor,textOverflow:tov,verticalAlign:va,wordBreak:wb,textWrap:tw,truncate:trunc,lineClamp:lc,listStyleType:li-t,listStylePosition:li-pos,listStyleImage:li-img,listStyle:li-s,backgroundPosition:bg-p/bgPosition,backgroundPositionX:bg-p-x/bgPositionX,backgroundPositionY:bg-p-y/bgPositionY,backgroundAttachment:bg-a/bgAttachment,backgroundClip:bg-cp/bgClip,background:bg/1,backgroundColor:bg-c/bgColor,backgroundOrigin:bg-o/bgOrigin,backgroundImage:bg-i/bgImage,backgroundRepeat:bg-r/bgRepeat,backgroundBlendMode:bg-bm/bgBlendMode,backgroundSize:bg-s/bgSize,backgroundGradient:bg-grad/bgGradient,textGradient:txt-grad,gradientFromPosition:grad-from-pos,gradientToPosition:grad-to-pos,gradientFrom:grad-from,gradientTo:grad-to,gradientVia:grad-via,gradientViaPosition:grad-via-pos,borderRadius:bdr/rounded,borderTopLeftRadius:bdr-tl/roundedTopLeft,borderTopRightRadius:bdr-tr/roundedTopRight,borderBottomRightRadius:bdr-br/roundedBottomRight,borderBottomLeftRadius:bdr-bl/roundedBottomLeft,borderTopRadius:bdr-t/roundedTop,borderRightRadius:bdr-r/roundedRight,borderBottomRadius:bdr-b/roundedBottom,borderLeftRadius:bdr-l/roundedLeft,borderStartStartRadius:bdr-ss/roundedStartStart,borderStartEndRadius:bdr-se/roundedStartEnd,borderStartRadius:bdr-s/roundedStart,borderEndStartRadius:bdr-es/roundedEndStart,borderEndEndRadius:bdr-ee/roundedEndEnd,borderEndRadius:bdr-e/roundedEnd,border:bd,borderWidth:bd-w,borderTopWidth:bd-t-w,borderLeftWidth:bd-l-w,borderRightWidth:bd-r-w,borderBottomWidth:bd-b-w,borderBlockStartWidth:bd-bs-w,borderBlockEndWidth:bd-be-w,borderColor:bd-c,borderInline:bd-x/borderX,borderInlineWidth:bd-x-w/borderXWidth,borderInlineColor:bd-x-c/borderXColor,borderBlock:bd-y/borderY,borderBlockWidth:bd-y-w/borderYWidth,borderBlockColor:bd-y-c/borderYColor,borderLeft:bd-l,borderLeftColor:bd-l-c,borderInlineStart:bd-s/borderStart,borderInlineStartWidth:bd-s-w/borderStartWidth,borderInlineStartColor:bd-s-c/borderStartColor,borderRight:bd-r,borderRightColor:bd-r-c,borderInlineEnd:bd-e/borderEnd,borderInlineEndWidth:bd-e-w/borderEndWidth,borderInlineEndColor:bd-e-c/borderEndColor,borderTop:bd-t,borderTopColor:bd-t-c,borderBottom:bd-b,borderBottomColor:bd-b-c,borderBlockEnd:bd-be,borderBlockEndColor:bd-be-c,borderBlockStart:bd-bs,borderBlockStartColor:bd-bs-c,opacity:op,boxShadow:bx-sh/shadow,boxShadowColor:bx-sh-c/shadowColor,mixBlendMode:mix-bm,filter:filter,brightness:brightness,contrast:contrast,grayscale:grayscale,hueRotate:hue-rotate,invert:invert,saturate:saturate,sepia:sepia,dropShadow:drop-shadow,blur:blur,backdropFilter:bkdp,backdropBlur:bkdp-blur,backdropBrightness:bkdp-brightness,backdropContrast:bkdp-contrast,backdropGrayscale:bkdp-grayscale,backdropHueRotate:bkdp-hue-rotate,backdropInvert:bkdp-invert,backdropOpacity:bkdp-opacity,backdropSaturate:bkdp-saturate,backdropSepia:bkdp-sepia,borderCollapse:bd-cl,borderSpacing:bd-sp,borderSpacingX:bd-sx,borderSpacingY:bd-sy,tableLayout:tbl,transitionTimingFunction:trs-tmf,transitionDelay:trs-dly,transitionDuration:trs-dur,transitionProperty:trs-prop,transition:trs,animation:anim,animationName:anim-n,animationTimingFunction:anim-tmf,animationDuration:anim-dur,animationDelay:anim-dly,animationPlayState:anim-ps,animationComposition:anim-comp,animationFillMode:anim-fm,animationDirection:anim-dir,animationIterationCount:anim-ic,animationRange:anim-r,animationState:anim-s,animationRangeStart:anim-rs,animationRangeEnd:anim-re,animationTimeline:anim-tl,transformOrigin:trf-o,transformBox:trf-b,transformStyle:trf-s,transform:trf,rotate:rotate,rotateX:rotate-x,rotateY:rotate-y,rotateZ:rotate-z,scale:scale,scaleX:scale-x,scaleY:scale-y,translate:translate,translateX:translate-x/x,translateY:translate-y/y,translateZ:translate-z/z,accentColor:ac-c,caretColor:ca-c,scrollBehavior:scr-bhv,scrollbar:scr-bar,scrollbarColor:scr-bar-c,scrollbarGutter:scr-bar-g,scrollbarWidth:scr-bar-w,scrollMargin:scr-m,scrollMarginLeft:scr-ml,scrollMarginRight:scr-mr,scrollMarginTop:scr-mt,scrollMarginBottom:scr-mb,scrollMarginBlock:scr-my/scrollMarginY,scrollMarginBlockEnd:scr-mbe,scrollMarginBlockStart:scr-mbt,scrollMarginInline:scr-mx/scrollMarginX,scrollMarginInlineEnd:scr-me,scrollMarginInlineStart:scr-ms,scrollPadding:scr-p,scrollPaddingBlock:scr-py/scrollPaddingY,scrollPaddingBlockStart:scr-pbs,scrollPaddingBlockEnd:scr-pbe,scrollPaddingInline:scr-px/scrollPaddingX,scrollPaddingInlineEnd:scr-pe,scrollPaddingInlineStart:scr-ps,scrollPaddingLeft:scr-pl,scrollPaddingRight:scr-pr,scrollPaddingTop:scr-pt,scrollPaddingBottom:scr-pb,scrollSnapAlign:scr-sa,scrollSnapStop:scrs-s,scrollSnapType:scrs-t,scrollSnapStrictness:scrs-strt,scrollSnapMargin:scrs-m,scrollSnapMarginTop:scrs-mt,scrollSnapMarginBottom:scrs-mb,scrollSnapMarginLeft:scrs-ml,scrollSnapMarginRight:scrs-mr,scrollSnapCoordinate:scrs-c,scrollSnapDestination:scrs-d,scrollSnapPointsX:scrs-px,scrollSnapPointsY:scrs-py,scrollSnapTypeX:scrs-tx,scrollSnapTypeY:scrs-ty,scrollTimeline:scrtl,scrollTimelineAxis:scrtl-a,scrollTimelineName:scrtl-n,touchAction:tch-a,userSelect:us,overflow:ov,overflowWrap:ov-wrap,overflowX:ov-x,overflowY:ov-y,overflowAnchor:ov-a,overflowBlock:ov-b,overflowInline:ov-i,overflowClipBox:ovcp-bx,overflowClipMargin:ovcp-m,overscrollBehaviorBlock:ovs-bb,overscrollBehaviorInline:ovs-bi,fill:fill,stroke:stk,strokeWidth:stk-w,strokeDasharray:stk-dsh,strokeDashoffset:stk-do,strokeLinecap:stk-lc,strokeLinejoin:stk-lj,strokeMiterlimit:stk-ml,strokeOpacity:stk-op,srOnly:sr,debug:debug,appearance:ap,backfaceVisibility:bfv,clipPath:cp-path,hyphens:hy,mask:msk,maskImage:msk-i,maskSize:msk-s,textSizeAdjust:txt-adj,container:cq,containerName:cq-n,containerType:cq-t,cursor:cursor,textStyle:textStyle",F=new Map,D=new Map;k1.split(",").forEach(t=>{const[r,e]=t.split(":"),[o,...n]=e.split("/");F.set(r,o),n.length&&n.forEach(a=>{D.set(a==="1"?o:a,r)})});const O=t=>D.get(t)||t,N={conditions:{shift:v1,finalize:y1,breakpoints:{keys:["base","sm","md","lg","xl","2xl"]}},utility:{transform:(t,r)=>{const e=O(t);return{className:`${F.get(e)||p1(e)}_${W(r)}`}},hasShorthand:!0,toHash:(t,r)=>r(t.join(":")),resolveShorthand:O}},S1=s1(N),S=(...t)=>S1(x(...t));S.raw=(...t)=>x(...t);const{mergeCss:x}=c1(N);function y(){let t="",r=0,e;for(;r<arguments.length;)(e=arguments[r++])&&typeof e=="string"&&(t&&(t+=" "),t+=e);return t}const E=t=>({base:{},variants:{},defaultVariants:{},compoundVariants:[],...t});function C(t){const{base:r,variants:e,defaultVariants:o,compoundVariants:n}=E(t),a=u=>({...o,...I(u)});function s(u={}){var _;const b=a(u);let h={...r};for(const[w,v]of Object.entries(b))(_=e[w])!=null&&_[v]&&(h=x(h,e[w][v]));const m=_1(n,b);return x(h,m)}function l(u){const b=E(u.config),h=g1(u.variantKeys,Object.keys(e));return C({base:x(r,b.base),variants:Object.fromEntries(h.map(m=>[m,x(e[m],b.variants[m])])),defaultVariants:B(o,b.defaultVariants),compoundVariants:[...n,...b.compoundVariants]})}function c(u){return S(s(u))}const d=Object.keys(e);function g(u){return f1(u,d)}const f=Object.fromEntries(Object.entries(e).map(([u,b])=>[u,Object.keys(b)]));return Object.assign(L(c),{__cva__:!0,variantMap:f,variantKeys:d,raw:s,config:t,merge:l,splitVariantProps:g,getVariantProps:a})}function _1(t,r){let e={};return t.forEach(o=>{Object.entries(o).every(([a,s])=>a==="css"?!0:(Array.isArray(s)?s:[s]).some(c=>r[a]===c))&&(e=x(e,o.css))}),e}const w1=C({base:{display:"inline-flex",alignItems:"center",whiteSpace:"nowrap",borderRadius:"xs",px:"8px",py:"4px"},variants:{variant:{"brand-weak":{bg:"fill.brand.subtler",color:"fg.brand.default"},"neutral-weak":{bg:"fill.neutral.subtler",color:"fg.neutral.subtle"},outline:{bg:"fill.neutral.faintest",color:"fg.neutral.subtle",boxShadow:"inset 0 0 0 1px {colors.stroke.neutral.subtle}"}},size:{sm:{textStyle:"caption3"},md:{textStyle:"body4"}}},defaultVariants:{variant:"neutral-weak",size:"md"}});function j1({variant:t,size:r,className:e,children:o,...n}){return i.jsx("span",{className:y(w1({variant:t,size:r}),e),...n,children:o})}function H(t,r){if(typeof t=="function")return t(r);t!=null&&(t.current=r)}function L1(...t){return r=>{let e=!1;const o=t.map(n=>{const a=H(n,r);return!e&&typeof a=="function"&&(e=!0),a});if(e)return()=>{for(let n=0;n<o.length;n++){const a=o[n];typeof a=="function"?a():H(t[n],null)}}}}var M1=Symbol.for("react.lazy"),j=p[" use ".trim().toString()];function B1(t){return typeof t=="object"&&t!==null&&"then"in t}function X(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===M1&&"_payload"in t&&B1(t._payload)}function V1(t){const r=O1(t),e=p.forwardRef((o,n)=>{let{children:a,...s}=o;X(a)&&typeof j=="function"&&(a=j(a._payload));const l=p.Children.toArray(a),c=l.find(H1);if(c){const d=c.props.children,g=l.map(f=>f===c?p.Children.count(d)>1?p.Children.only(null):p.isValidElement(d)?d.props.children:null:f);return i.jsx(r,{...s,ref:n,children:p.isValidElement(d)?p.cloneElement(d,void 0,g):null})}return i.jsx(r,{...s,ref:n,children:a})});return e.displayName=`${t}.Slot`,e}var R1=V1("Slot");function O1(t){const r=p.forwardRef((e,o)=>{let{children:n,...a}=e;if(X(n)&&typeof j=="function"&&(n=j(n._payload)),p.isValidElement(n)){const s=I1(n),l=T1(a,n.props);return n.type!==p.Fragment&&(l.ref=o?L1(o,s):s),p.cloneElement(n,l)}return p.Children.count(n)>1?p.Children.only(null):null});return r.displayName=`${t}.SlotClone`,r}var E1=Symbol("radix.slottable");function H1(t){return p.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===E1}function T1(t,r){const e={...r};for(const o in r){const n=t[o],a=r[o];/^on[A-Z]/.test(o)?n&&a?e[o]=(...l)=>{const c=a(...l);return n(...l),c}:n&&(e[o]=n):o==="style"?e[o]={...n,...a}:o==="className"&&(e[o]=[n,a].filter(Boolean).join(" "))}return{...t,...e}}function I1(t){var o,n;let r=(o=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:o.get,e=r&&"isReactWarning"in r&&r.isReactWarning;return e?t.ref:(r=(n=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:n.get,e=r&&"isReactWarning"in r&&r.isReactWarning,e?t.props.ref:t.props.ref||t.ref)}const P1=C({base:{alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",cursor:"pointer",gap:"2px",_disabled:{cursor:"not-allowed",bg:"fill.neutral.default-disabled",color:"fg.neutral.subtler",_active:{bg:"fill.neutral.default-disabled"}}},variants:{variant:{default:{bg:"fill.neutral.default",color:"fg.neutral.faintest",_active:{bg:"fill.neutral.default-pressed"}},brand:{bg:"fill.brand.default",color:"fg.neutral.faintest",_active:{bg:"fill.brand.default-pressed"}},"brand-weak":{bg:"fill.brand.subtle",color:"fg.brand.default",_active:{bg:"fill.brand.subtle-pressed"}},outline:{bg:"fill.neutral.faintest",color:"fg.neutral.default",boxShadow:"inset 0 0 0 1px {colors.stroke.neutral.subtle}",_active:{bg:"fill.neutral.subtler"}},ghost:{bg:"transparent",color:"fg.neutral.default",_active:{bg:"fill.neutral.subtler"}},"ghost-brand":{bg:"transparent",color:"fg.brand.default",_active:{bg:"fill.neutral.subtler"}}},display:{inline:{display:"inline-flex"},full:{display:"flex",width:"100%"}},size:{sm:{textStyle:"body5",borderRadius:"xs",px:"10px",py:"4px"},md:{textStyle:"body4",borderRadius:"sm",px:"16px",py:"10px"},lg:{textStyle:"body1",borderRadius:"sm",px:"16px",py:"12px"},xl:{textStyle:"title3",borderRadius:"sm",p:"16px"}}},compoundVariants:[{variant:"outline",css:{_disabled:{boxShadow:"none"}}},{variant:"ghost",css:{_disabled:{bg:"transparent",color:"fg.neutral.subtlest",_active:{bg:"transparent"}}}},{variant:"ghost-brand",css:{_disabled:{bg:"transparent",color:"fg.neutral.subtlest",_active:{bg:"transparent"}}}}],defaultVariants:{variant:"default",size:"md",display:"inline"}});function W1({variant:t,size:r,display:e,leadingIcon:o,trailingIcon:n,asChild:a=!1,className:s,children:l,...c}){const d=a?R1:"button";return i.jsx(d,{type:a?void 0:"button",className:y(P1({variant:t,size:r,display:e}),s),...c,children:a?l:i.jsxs(i.Fragment,{children:[o,l,n]})})}const A1=C({base:{display:"inline-flex",alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",cursor:"pointer",textStyle:"body4",py:"6px",_disabled:{cursor:"not-allowed"}},variants:{variant:{brand:{bg:"fill.brand.default",color:"fg.neutral.faintest"},"outlined-brand":{bg:"fill.brand.subtle",color:"fg.brand.default",boxShadow:"inset 0 0 0 1px {colors.stroke.brand.default}"},neutral:{bg:"fill.neutral.default",color:"fg.neutral.faintest"},"neutral-weak":{bg:"fill.neutral.subtler",color:"fg.neutral.subtler"}},shape:{square:{borderRadius:"xs",px:"12px"},pill:{borderRadius:"full",px:"14px"}}},defaultVariants:{variant:"neutral-weak",shape:"square"}});function Z1({variant:t,shape:r,className:e,children:o,...n}){return i.jsx("button",{type:"button",className:y(A1({variant:t,shape:r}),e),...n,children:o})}const T="var(--colors-fill-brand-default)",z1="var(--colors-fg-negative-default)",F1="var(--colors-fg-positive-default)",D1="var(--colors-fg-neutral-subtler)",N1={check:{viewBox:"0 0 24 24",paths:i.jsx("path",{d:"M4.11426 11.7797L9.41211 17.0769L19.8856 6.9248",stroke:T,strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})},success:{viewBox:"0 0 20 20",paths:i.jsxs(i.Fragment,{children:[i.jsx("circle",{cx:"10",cy:"10",r:"7",fill:F1}),i.jsx("path",{d:"M12.4736 7.54487C12.7437 7.26837 13.1873 7.26305 13.4638 7.53315C13.7403 7.80328 13.7456 8.24685 13.4755 8.52339L9.50871 12.583C9.24203 12.8557 8.80597 12.865 8.52825 12.6035L6.56926 10.7568C6.28828 10.4916 6.27509 10.0488 6.53996 9.76753C6.80514 9.4862 7.24888 9.47306 7.5302 9.73823L8.98821 11.1123L12.4736 7.54487Z",fill:"white"})]})},error:{viewBox:"0 0 20 20",paths:i.jsxs(i.Fragment,{children:[i.jsx("circle",{cx:"10",cy:"10",r:"7",fill:z1}),i.jsx("path",{d:"M9.25244 10.4072V7.09082C9.25244 6.67661 9.58823 6.34082 10.0024 6.34082C10.4167 6.34082 10.7524 6.67661 10.7524 7.09082V10.4072C10.7524 10.8214 10.4167 11.1572 10.0024 11.1572C9.58823 11.1572 9.25244 10.8214 9.25244 10.4072Z",fill:"white"}),i.jsx("path",{d:"M10.7524 12.9072C10.7524 13.3214 10.4167 13.6572 10.0024 13.6572C9.58823 13.6572 9.25244 13.3214 9.25244 12.9072C9.25244 12.493 9.58823 12.1572 10.0024 12.1572C10.4167 12.1572 10.7524 12.493 10.7524 12.9072Z",fill:"white"})]})},delete:{viewBox:"0 0 24 24",paths:i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 12A9 9 0 0 1 21 12A9 9 0 0 1 3 12ZM14.4697 8.46967C14.7626 8.17678 15.2373 8.17678 15.5302 8.46967C15.8231 8.76256 15.8231 9.23732 15.5302 9.53022L13.0605 11.9999L15.5302 14.4697C15.8231 14.7626 15.8231 15.2373 15.5302 15.5302C15.2373 15.8231 14.7626 15.8231 14.4697 15.5302L11.9999 13.0605L9.53022 15.5302C9.23732 15.8231 8.76256 15.8231 8.46967 15.5302C8.17678 15.2373 8.17678 14.7626 8.46967 14.4697L10.9394 11.9999L8.46967 9.53022C8.17678 9.23732 8.17678 8.76256 8.46967 8.46967C8.76256 8.17678 9.23732 8.17678 9.53022 8.46967L11.9999 10.9394L14.4697 8.46967Z",fill:"currentColor"})},invalid:{viewBox:"0 0 16 16",paths:i.jsxs(i.Fragment,{children:[i.jsx("circle",{cx:"7.9999",cy:"8.00039",r:"5.6",fill:D1}),i.jsx("path",{d:"M9.7612 9.75925L8.00122 7.99926M8.00122 7.99926L6.24121 6.23926M8.00122 7.99926L9.76122 6.23926M8.00122 7.99926L6.24121 9.75927",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round"})]})},valid:{viewBox:"0 0 16 16",paths:i.jsxs(i.Fragment,{children:[i.jsx("circle",{cx:"7.9999",cy:"8.00039",r:"5.6",fill:T}),i.jsx("path",{d:"M5.83592 8.44856L7.35454 9.75629L10.0612 6.56152",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round"})]})},arrow_up:{viewBox:"0 0 24 24",paths:i.jsx("path",{d:"M12 19V5M12 5L6 11M12 5L18 11",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})},blank:{viewBox:"0 0 16 16",paths:i.jsx("path",{d:"M4.98291 13.4336C5.20359 13.4772 5.43214 13.5 5.6665 13.5H6.6665C6.94265 13.5 7.1665 13.7239 7.1665 14C7.1665 14.2761 6.94265 14.5 6.6665 14.5H5.6665C5.36661 14.5 5.07284 14.4703 4.78857 14.4141C4.51797 14.3604 4.34168 14.0978 4.39502 13.8271C4.44861 13.5563 4.71202 13.38 4.98291 13.4336ZM10.3501 13.4336C10.621 13.38 10.8844 13.5563 10.938 13.8271C10.9913 14.0978 10.815 14.3604 10.5444 14.4141C10.2602 14.4703 9.9664 14.5 9.6665 14.5H8.6665C8.39036 14.5 8.1665 14.2761 8.1665 14C8.1665 13.7239 8.39036 13.5 8.6665 13.5H9.6665C9.90087 13.5 10.1294 13.4772 10.3501 13.4336ZM2.06201 11.8066C2.29142 11.6531 2.60174 11.715 2.75537 11.9443C3.01104 12.3262 3.34027 12.6555 3.72217 12.9111C3.95148 13.0648 4.01336 13.3751 3.85986 13.6045C3.70624 13.834 3.39499 13.8958 3.16553 13.7422C2.67504 13.4138 2.2527 12.9915 1.92432 12.501C1.77069 12.2715 1.83255 11.9603 2.06201 11.8066ZM12.5776 11.9443C12.7313 11.715 13.0416 11.6531 13.271 11.8066C13.5005 11.9603 13.5623 12.2715 13.4087 12.501C13.0803 12.9915 12.658 13.4138 12.1675 13.7422C11.938 13.8958 11.6268 13.834 11.4731 13.6045C11.3196 13.3751 11.3815 13.0648 11.6108 12.9111C11.9927 12.6555 12.322 12.3262 12.5776 11.9443ZM1.1665 10V9C1.1665 8.72386 1.39036 8.5 1.6665 8.5C1.94265 8.5 2.1665 8.72386 2.1665 9V10C2.1665 10.2344 2.18926 10.4629 2.23291 10.6836C2.2865 10.9545 2.11025 11.2179 1.83936 11.2715C1.56869 11.3248 1.30614 11.1485 1.25244 10.8779C1.1962 10.5937 1.1665 10.2999 1.1665 10ZM13.1665 10V9C13.1665 8.72386 13.3904 8.5 13.6665 8.5C13.9426 8.5 14.1665 8.72386 14.1665 9V10C14.1665 10.2999 14.1368 10.5937 14.0806 10.8779C14.0269 11.1485 13.7643 11.3248 13.4937 11.2715C13.2228 11.2179 13.0465 10.9545 13.1001 10.6836C13.1438 10.4629 13.1665 10.2344 13.1665 10ZM1.1665 7V6C1.1665 5.70011 1.1962 5.40634 1.25244 5.12207C1.30614 4.85147 1.56869 4.67518 1.83936 4.72852C2.11025 4.78211 2.2865 5.04551 2.23291 5.31641C2.18926 5.53708 2.1665 5.76563 2.1665 6V7C2.1665 7.27614 1.94265 7.5 1.6665 7.5C1.39036 7.5 1.1665 7.27614 1.1665 7ZM13.1665 7V6C13.1665 5.76563 13.1438 5.53708 13.1001 5.31641C13.0465 5.04551 13.2228 4.78211 13.4937 4.72852C13.7643 4.67518 14.0269 4.85147 14.0806 5.12207C14.1368 5.40634 14.1665 5.70011 14.1665 6V7C14.1665 7.27614 13.9426 7.5 13.6665 7.5C13.3904 7.5 13.1665 7.27614 13.1665 7ZM3.16553 2.25781C3.39499 2.10419 3.70624 2.16604 3.85986 2.39551C4.01336 2.62492 3.95148 2.93524 3.72217 3.08887C3.34027 3.34454 3.01104 3.67377 2.75537 4.05566C2.60174 4.28498 2.29142 4.34686 2.06201 4.19336C1.83255 4.03974 1.77069 3.72849 1.92432 3.49902C2.2527 3.00854 2.67504 2.58619 3.16553 2.25781ZM11.4731 2.39551C11.6268 2.16604 11.938 2.10419 12.1675 2.25781C12.658 2.58619 13.0803 3.00854 13.4087 3.49902C13.5623 3.72849 13.5005 4.03974 13.271 4.19336C13.0416 4.34686 12.7313 4.28498 12.5776 4.05566C12.322 3.67377 11.9927 3.34454 11.6108 3.08887C11.3815 2.93523 11.3196 2.62492 11.4731 2.39551ZM6.6665 1.5C6.94265 1.5 7.1665 1.72386 7.1665 2C7.1665 2.27614 6.94265 2.5 6.6665 2.5H5.6665C5.43214 2.5 5.20359 2.52275 4.98291 2.56641C4.71202 2.62 4.44861 2.44374 4.39502 2.17285C4.34168 1.90219 4.51797 1.63964 4.78857 1.58594C5.07284 1.5297 5.36661 1.5 5.6665 1.5H6.6665ZM9.6665 1.5C9.9664 1.5 10.2602 1.5297 10.5444 1.58594C10.815 1.63964 10.9913 1.90219 10.938 2.17285C10.8844 2.44374 10.621 2.62 10.3501 2.56641C10.1294 2.52275 9.90087 2.5 9.6665 2.5H8.6665C8.39036 2.5 8.1665 2.27614 8.1665 2C8.1665 1.72386 8.39036 1.5 8.6665 1.5H9.6665Z",fill:"currentColor"})},cafe:{viewBox:"0 0 32 32",paths:i.jsx("path",{d:"M23.6984 7.59375H8.99844C8.81279 7.59375 8.63474 7.6675 8.50346 7.79878C8.37219 7.93005 8.29844 8.1081 8.29844 8.29375V16.6937C8.29971 17.8073 8.74262 18.8748 9.53 19.6622C10.3174 20.4496 11.3849 20.8925 12.4984 20.8938H17.3984C18.512 20.8925 19.5795 20.4496 20.3669 19.6622C21.1543 18.8748 21.5972 17.8073 21.5984 16.6937V13.1937H22.3859C23.1051 13.1929 23.7946 12.9069 24.3031 12.3984C24.8116 11.8899 25.0976 11.2004 25.0984 10.4813V8.99375C25.0984 8.62245 24.9509 8.26635 24.6884 8.0038C24.4258 7.74125 24.0697 7.59375 23.6984 7.59375ZM23.6984 10.4813C23.6984 10.8293 23.5602 11.1632 23.314 11.4093C23.0679 11.6555 22.734 11.7937 22.3859 11.7937H21.5984V8.99375H23.6984V10.4813ZM22.2984 22.2937H7.59844C7.41279 22.2937 7.23474 22.3675 7.10346 22.4988C6.97219 22.63 6.89844 22.8081 6.89844 22.9937C6.89844 23.1794 6.97219 23.3574 7.10346 23.4887C7.23474 23.62 7.41279 23.6938 7.59844 23.6938H22.2984C22.4841 23.6938 22.6621 23.62 22.7934 23.4887C22.9247 23.3574 22.9984 23.1794 22.9984 22.9937C22.9984 22.8081 22.9247 22.63 22.7934 22.4988C22.6621 22.3675 22.4841 22.2937 22.2984 22.2937Z",fill:"currentColor"})},calendar:{viewBox:"0 0 16 16",paths:i.jsx("path",{d:"M3.68018 6.37965H12.3202M3.68018 6.37965V11.1318C3.68018 11.7366 3.68018 12.0389 3.79789 12.2699C3.90143 12.4731 4.06653 12.6385 4.26975 12.7421C4.50054 12.8596 4.80283 12.8596 5.40651 12.8596H10.5938C11.1975 12.8596 11.4994 12.8596 11.7302 12.7421C11.9334 12.6385 12.099 12.4731 12.2026 12.2699C12.3202 12.0391 12.3202 11.7373 12.3202 11.1336V6.37965M3.68018 6.37965V5.94775C3.68018 5.3429 3.68018 5.04024 3.79789 4.80922C3.90143 4.606 4.06653 4.4409 4.26975 4.33736C4.50077 4.21965 4.80342 4.21965 5.40828 4.21965H5.84018M12.3202 6.37965V5.94598C12.3202 5.34231 12.3202 5.04002 12.2026 4.80922C12.099 4.606 11.9334 4.4409 11.7302 4.33736C11.4991 4.21965 11.1971 4.21965 10.5923 4.21965H10.1602M10.1602 3.13965V4.21965M10.1602 4.21965H5.84018M5.84018 3.13965V4.21965",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})},car:{viewBox:"0 0 20 20",paths:i.jsx("path",{d:"M15.1222 8.92635L14.3242 6.53235C14.2084 6.1838 13.9858 5.8806 13.6879 5.66582C13.3899 5.45104 13.0319 5.33561 12.6646 5.33594H7.34579C6.97852 5.33561 6.62048 5.45104 6.32256 5.66582C6.02463 5.8806 5.80197 6.1838 5.68621 6.53235L4.88821 8.92635C4.676 9.01515 4.49479 9.16469 4.36733 9.35618C4.23988 9.54768 4.17187 9.77257 4.17188 10.0026V12.9193C4.17188 13.3498 4.40754 13.7219 4.75521 13.9244V15.2526C4.75521 15.4073 4.81667 15.5557 4.92606 15.6651C5.03546 15.7745 5.18383 15.8359 5.33854 15.8359H5.92188C6.07658 15.8359 6.22496 15.7745 6.33435 15.6651C6.44375 15.5557 6.50521 15.4073 6.50521 15.2526V14.0859H13.5052V15.2526C13.5052 15.4073 13.5667 15.5557 13.6761 15.6651C13.7855 15.7745 13.9338 15.8359 14.0885 15.8359H14.6719C14.8266 15.8359 14.975 15.7745 15.0844 15.6651C15.1938 15.5557 15.2552 15.4073 15.2552 15.2526V13.9244C15.4322 13.8229 15.5793 13.6765 15.6817 13.5001C15.7841 13.3236 15.8382 13.1233 15.8385 12.9193V10.0026C15.8385 9.77257 15.7705 9.54768 15.6431 9.35618C15.5156 9.16469 15.3344 9.01515 15.1222 8.92635ZM7.34579 6.5026H12.664C12.9155 6.5026 13.1383 6.66244 13.2176 6.9016L13.8628 8.83594H6.14763L6.79221 6.9016C6.83091 6.7854 6.90521 6.68433 7.00457 6.61271C7.10393 6.5411 7.22331 6.50258 7.34579 6.5026ZM6.21354 12.3359C6.0986 12.3359 5.98479 12.3132 5.8786 12.2692C5.77242 12.2252 5.67595 12.1607 5.5947 12.0794C5.51345 11.9981 5.44901 11.9015 5.40506 11.7953C5.36111 11.6891 5.3385 11.5753 5.33854 11.4604C5.33858 11.3454 5.36126 11.2316 5.40528 11.1254C5.4493 11.0192 5.51381 10.9228 5.59511 10.8415C5.67642 10.7603 5.77293 10.6958 5.87914 10.6519C5.98535 10.6079 6.09918 10.5853 6.21413 10.5854C6.44627 10.5854 6.66887 10.6777 6.83296 10.8419C6.99706 11.0061 7.0892 11.2288 7.08913 11.4609C7.08905 11.6931 6.99676 11.9157 6.83255 12.0798C6.66835 12.2439 6.44568 12.336 6.21354 12.3359ZM13.7969 12.3359C13.6819 12.3359 13.5681 12.3132 13.4619 12.2692C13.3558 12.2252 13.2593 12.1607 13.178 12.0794C13.0968 11.9981 13.0323 11.9015 12.9884 11.7953C12.9444 11.6891 12.9218 11.5753 12.9219 11.4604C12.9219 11.3454 12.9446 11.2316 12.9886 11.1254C13.0326 11.0192 13.0971 10.9228 13.1784 10.8415C13.2598 10.7603 13.3563 10.6958 13.4625 10.6519C13.5687 10.6079 13.6825 10.5853 13.7975 10.5854C14.0296 10.5854 14.2522 10.6777 14.4163 10.8419C14.5804 11.0061 14.6725 11.2288 14.6725 11.4609C14.6724 11.6931 14.5801 11.9157 14.4159 12.0798C14.2517 12.2439 14.029 12.336 13.7969 12.3359Z",fill:"currentColor"})},chevron_down:{viewBox:"0 0 24 24",paths:i.jsx("path",{d:"M4.36321 9.63679C4.01174 9.28532 4.01174 8.71482 4.36321 8.36335C4.71469 8.01188 5.28518 8.01188 5.63665 8.36335L11.9999 14.7266L18.3632 8.36335C18.7147 8.01188 19.2852 8.01188 19.6367 8.36335C19.9881 8.71482 19.9881 9.28532 19.6367 9.63679L12.6367 16.6368C12.2852 16.9883 11.7147 16.9883 11.3632 16.6368L4.36321 9.63679Z",fill:"currentColor"})},chevron_left:{viewBox:"0 0 24 24",paths:i.jsx("path",{d:"M14.3632 4.36321C14.7147 4.01174 15.2852 4.01174 15.6367 4.36321C15.9881 4.71469 15.9881 5.28518 15.6367 5.63665L9.27337 11.9999L15.6367 18.3632C15.9881 18.7147 15.9881 19.2852 15.6367 19.6367C15.2852 19.9881 14.7147 19.9881 14.3632 19.6367L7.36321 12.6367C7.01174 12.2852 7.01174 11.7147 7.36321 11.3632L14.3632 4.36321Z",fill:"currentColor"})},chevron_right:{viewBox:"0 0 24 24",paths:i.jsx("path",{d:"M8.63679 4.36321C8.28532 4.01174 7.71482 4.01174 7.36335 4.36321C7.01188 4.71469 7.01188 5.28518 7.36335 5.63665L13.7266 11.9999L7.36335 18.3632C7.01188 18.7147 7.01188 19.2852 7.36335 19.6367C7.71482 19.9881 8.28532 19.9881 8.63679 19.6367L15.6368 12.6367C15.9883 12.2852 15.9883 11.7147 15.6368 11.3632L8.63679 4.36321Z",fill:"currentColor"})},chevron_up:{viewBox:"0 0 24 24",paths:i.jsx("path",{d:"M4.2636 15.2636C3.91213 15.6151 3.91213 16.1856 4.2636 16.537C4.61508 16.8885 5.18557 16.8885 5.53704 16.537L11.9003 10.1738L18.2636 16.537C18.6151 16.8885 19.1856 16.8885 19.537 16.537C19.8885 16.1856 19.8885 15.6151 19.537 15.2636L12.537 8.2636C12.1856 7.91213 11.6151 7.91213 11.2636 8.2636L4.2636 15.2636Z",fill:"currentColor"})},clock:{viewBox:"0 0 16 16",paths:i.jsx("path",{d:"M8.00014 5.29965V7.99965H10.7001M8.00014 12.8596C5.31603 12.8596 3.14014 10.6838 3.14014 7.99965C3.14014 5.31554 5.31603 3.13965 8.00014 3.13965C10.6842 3.13965 12.8601 5.31554 12.8601 7.99965C12.8601 10.6838 10.6842 12.8596 8.00014 12.8596Z",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})},dash:{viewBox:"0 0 16 16",paths:i.jsx("rect",{x:"5",y:"7.09961",width:"8",height:"1.8",rx:"0.9",fill:"currentColor"})},location:{viewBox:"0 0 16 16",paths:i.jsxs(i.Fragment,{children:[i.jsx("path",{d:"M11.5137 8H13.622",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"}),i.jsx("path",{d:"M2.37793 8H4.48623",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"}),i.jsx("path",{d:"M8 11.5137L8 13.622",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"}),i.jsx("path",{d:"M8 2.37793L8 4.48623",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"}),i.jsx("circle",{cx:"7.99994",cy:"7.99945",r:"4.31938",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"}),i.jsx("circle",{cx:"7.99991",cy:"8.00088",r:"1.5083",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"})]})},meetingroom:{viewBox:"0 0 32 32",paths:i.jsx("path",{d:"M8.52709 24.3937C8.26264 24.3937 8.04113 24.3041 7.86255 24.125C7.68398 23.9457 7.59438 23.7242 7.59375 23.4604C7.59313 23.1966 7.68273 22.9751 7.86255 22.7959C8.04238 22.6167 8.26389 22.5271 8.52709 22.5271H9.46042V8.52708C9.46042 8.26264 9.55002 8.04113 9.72922 7.86255C9.90842 7.68397 10.1299 7.59437 10.3938 7.59375H16.9271C17.1915 7.59375 17.4134 7.68335 17.5926 7.86255C17.7718 8.04175 17.861 8.26326 17.8604 8.52708H21.5938C21.8582 8.52708 22.08 8.61668 22.2592 8.79588C22.4384 8.97508 22.5277 9.19659 22.5271 9.46042V22.5271H23.4604C23.7249 22.5271 23.9467 22.6167 24.1259 22.7959C24.3051 22.9751 24.3944 23.1966 24.3938 23.4604C24.3931 23.7242 24.3035 23.9461 24.125 24.1259C23.9464 24.3057 23.7249 24.395 23.4604 24.3937H21.5938C21.3293 24.3937 21.1078 24.3041 20.9292 24.125C20.7506 23.9457 20.661 23.7242 20.6604 23.4604V10.3937H17.8604V23.4604C17.8604 23.7249 17.7708 23.9467 17.5916 24.1259C17.4124 24.3051 17.1909 24.3944 16.9271 24.3937H8.52709ZM15.9938 15.9937C15.9938 15.7293 15.9042 15.5078 15.725 15.3292C15.5458 15.1506 15.3242 15.061 15.0604 15.0604C14.7966 15.0598 14.5751 15.1494 14.3959 15.3292C14.2167 15.509 14.1271 15.7305 14.1271 15.9937C14.1271 16.257 14.2167 16.4788 14.3959 16.6592C14.5751 16.8397 14.7966 16.929 15.0604 16.9271C15.3242 16.9252 15.5461 16.8356 15.7259 16.6583C15.9057 16.481 15.995 16.2594 15.9938 15.9937Z",fill:"currentColor"})},member:{viewBox:"0 0 16 16",paths:i.jsxs(i.Fragment,{children:[i.jsx("circle",{cx:"8",cy:"5.33594",r:"2.64453",fill:"currentColor"}),i.jsx("path",{d:"M12.832 13.3086C13.1082 13.3086 13.3359 13.0834 13.2932 12.8106C13.1503 11.898 12.6176 11.043 11.7703 10.3863C10.7704 9.6112 9.41414 9.17578 8 9.17578C6.58586 9.17578 5.22963 9.6112 4.22968 10.3863C3.38238 11.043 2.84969 11.898 2.7068 12.8106C2.66409 13.0834 2.89183 13.3086 3.16797 13.3086L12.832 13.3086Z",fill:"currentColor"})]})},restaurant:{viewBox:"0 0 32 32",paths:i.jsxs(i.Fragment,{children:[i.jsx("path",{d:"M11.3313 6.65625V25.3229M8.53125 7.12292V11.7896C8.53125 14.1229 11.3313 14.1229 11.3313 14.1229C11.3313 14.1229 14.1313 14.1229 14.1313 11.7896V7.12292M20.6646 14.1229V25.3229",stroke:"currentColor",strokeWidth:"1.86667",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M23.4672 10.3896C23.4672 12.4513 22.2137 14.1229 20.6672 14.1229C19.1207 14.1229 17.8672 12.4513 17.8672 10.3896C17.8672 8.32785 19.1207 6.65625 20.6672 6.65625C22.2137 6.65625 23.4672 8.32785 23.4672 10.3896Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"1.86667",strokeLinecap:"round",strokeLinejoin:"round"})]})},search:{viewBox:"0 0 24 24",paths:i.jsxs(i.Fragment,{children:[i.jsx("path",{d:"M15.0722 10.5761C15.0722 7.7948 12.8174 5.54005 10.0361 5.54003C7.25475 5.54003 4.99999 7.79479 4.99999 10.5761C5.00001 13.3575 7.25476 15.6122 10.0361 15.6122V17.1122L9.70016 17.1034C6.35778 16.9342 3.67803 14.2544 3.50879 10.9121L3.5 10.5761C3.5 6.96637 6.42633 4.04004 10.0361 4.04004L10.372 4.04883C13.8257 4.22371 16.5722 7.07905 16.5722 10.5761L16.5634 10.9121C16.3885 14.3657 13.5332 17.1122 10.0361 17.1122V15.6122C12.8174 15.6122 15.0722 13.3574 15.0722 10.5761Z",fill:"currentColor"}),i.jsx("path",{d:"M14.0165 14.4765C14.3094 14.1836 14.7842 14.1836 15.0771 14.4765L20.0302 19.4296C20.3231 19.7225 20.3231 20.1973 20.0302 20.4902C19.7373 20.7831 19.2626 20.7831 18.9697 20.4902L14.0165 15.5371C13.7237 15.2442 13.7237 14.7694 14.0165 14.4765Z",fill:"currentColor"})]})},share:{viewBox:"0 0 24 24",paths:i.jsx("path",{d:"M9 6L12 3M12 3L15 6M12 3V13M7.00023 10C6.06835 10 5.60241 10 5.23486 10.1522C4.74481 10.3552 4.35523 10.7448 4.15224 11.2349C4 11.6024 4 12.0681 4 13V17.8C4 18.9201 4 19.4798 4.21799 19.9076C4.40973 20.2839 4.71547 20.5905 5.0918 20.7822C5.5192 21 6.07899 21 7.19691 21H16.8036C17.9215 21 18.4805 21 18.9079 20.7822C19.2842 20.5905 19.5905 20.2839 19.7822 19.9076C20 19.4802 20 18.921 20 17.8031V13C20 12.0681 19.9999 11.6024 19.8477 11.2349C19.6447 10.7448 19.2554 10.3552 18.7654 10.1522C18.3978 10 17.9319 10 17 10",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})},studyroom:{viewBox:"0 0 32 32",paths:i.jsx("path",{d:"M10.4079 21.5925H24.3967V8.52585C24.3967 8.03078 24.2 7.55598 23.8499 7.20591C23.4999 6.85585 23.0251 6.65918 22.53 6.65918H10.3967C9.27108 6.65918 7.59668 7.40491 7.59668 9.45918V22.5258C7.59668 24.5801 9.27108 25.3258 10.3967 25.3258H24.3967V23.4592H10.4079C9.97668 23.448 9.46335 23.2772 9.46335 22.5258C9.46335 21.7745 9.97668 21.6037 10.4079 21.5925ZM12.2633 10.3925H20.6633V12.2592H12.2633V10.3925Z",fill:"currentColor"})},traffic:{viewBox:"0 0 20 20",paths:i.jsx("path",{d:"M13.4948 9.42188H6.49479V6.50521H13.4948M12.6198 12.9219C12.3877 12.9219 12.1652 12.8297 12.0011 12.6656C11.837 12.5015 11.7448 12.2789 11.7448 12.0469C11.7448 11.8148 11.837 11.5923 12.0011 11.4282C12.1652 11.2641 12.3877 11.1719 12.6198 11.1719C12.8519 11.1719 13.0744 11.2641 13.2385 11.4282C13.4026 11.5923 13.4948 11.8148 13.4948 12.0469C13.4948 12.2789 13.4026 12.5015 13.2385 12.6656C13.0744 12.8297 12.8519 12.9219 12.6198 12.9219ZM7.36979 12.9219C7.13773 12.9219 6.91517 12.8297 6.75107 12.6656C6.58698 12.5015 6.49479 12.2789 6.49479 12.0469C6.49479 11.8148 6.58698 11.5923 6.75107 11.4282C6.91517 11.2641 7.13773 11.1719 7.36979 11.1719C7.60186 11.1719 7.82442 11.2641 7.98851 11.4282C8.1526 11.5923 8.24479 11.8148 8.24479 12.0469C8.24479 12.2789 8.1526 12.5015 7.98851 12.6656C7.82442 12.8297 7.60186 12.9219 7.36979 12.9219ZM5.32812 12.3385C5.32812 12.8519 5.55562 13.3127 5.91146 13.6335V14.6719C5.91146 14.8266 5.97292 14.975 6.08231 15.0844C6.19171 15.1938 6.34008 15.2552 6.49479 15.2552H7.07812C7.23283 15.2552 7.38121 15.1938 7.4906 15.0844C7.6 14.975 7.66146 14.8266 7.66146 14.6719V14.0885H12.3281V14.6719C12.3281 14.8266 12.3896 14.975 12.499 15.0844C12.6084 15.1938 12.7567 15.2552 12.9115 15.2552H13.4948C13.6495 15.2552 13.7979 15.1938 13.9073 15.0844C14.0167 14.975 14.0781 14.8266 14.0781 14.6719V13.6335C14.434 13.3127 14.6615 12.8519 14.6615 12.3385V6.50521C14.6615 4.46354 12.5731 4.17188 9.99479 4.17188C7.41646 4.17188 5.32812 4.46354 5.32812 6.50521V12.3385Z",fill:"currentColor"})}},X1=C({base:{display:"inline-block",flexShrink:0},variants:{iconStyle:{default:{color:"fg.neutral.subtle"},weak:{color:"fg.neutral.subtler"},weakest:{color:"fg.neutral.subtlest"},brand:{color:"fg.brand.default"},inverted:{color:"fg.neutral.faintest"}},iconSize:{xs:{width:"16px",height:"16px"},sm:{width:"20px",height:"20px"},md:{width:"24px",height:"24px"},lg:{width:"32px",height:"32px"}}}});function k({type:t,size:r="md",variant:e,className:o}){const n=N1[t];return i.jsx("svg",{viewBox:n.viewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:y(X1({iconStyle:e,iconSize:r}),o),children:n.paths})}const Y1=C({base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,cursor:"pointer",_disabled:{cursor:"not-allowed"}},variants:{variant:{clear:{bg:"transparent",color:"fg.neutral.subtle",_active:{color:"fg.neutral.subtler"},_disabled:{color:"fg.neutral.subtlest",bg:"transparent",_active:{color:"fg.neutral.subtlest"}}},fill:{bg:"fill.neutral.default",color:"fg.neutral.faintest",_active:{bg:"fill.neutral.default-pressed"},_disabled:{bg:"fill.neutral.default-disabled",color:"fg.neutral.subtler",_active:{bg:"fill.neutral.default-disabled",color:"fg.neutral.subtler"}}}},size:{sm:{width:"36px",height:"36px",borderRadius:"xs"},md:{width:"48px",height:"48px",borderRadius:"sm"},lg:{width:"54px",height:"54px",borderRadius:"sm"}}},defaultVariants:{variant:"clear",size:"md"}});function q1({size:t,variant:r,className:e,children:o,...n}){return i.jsx("button",{type:"button",className:y(Y1({size:t,variant:r}),e),...n,children:o})}function $1(t){const{variant:r,message:e}=t;return i.jsxs("div",{className:S({display:"inline-flex",alignItems:"center",gap:"4px",px:"16px",py:"8px",bg:"overlay.neutral.stronger",borderRadius:"full",whiteSpace:"nowrap"}),children:[r==="neutral"&&t.icon&&i.jsx(k,{type:t.icon,variant:"inverted",size:"sm"}),r==="negative"&&i.jsx(k,{type:"error",size:"sm"}),r==="positive"&&i.jsx(k,{type:"success",size:"sm"}),i.jsx("span",{className:S({textStyle:"body4",color:"fg.neutral.faintest"}),children:e})]})}const G1=C({base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,w:"40px",h:"40px",borderRadius:"full",bg:"fill.neutral.faintest",shadow:"strong",cursor:"pointer",_active:{bg:"fill.neutral.subtler"}}}),K1={up:"arrow_up",back:"chevron_left"};function U1({type:t,className:r,...e}){return i.jsx("button",{type:"button",className:y(G1(),r),...e,children:i.jsx(k,{type:K1[t],size:"md"})})}const J1="0.1.3";exports.Badge=j1;exports.Button=W1;exports.Chip=Z1;exports.FloatingButton=U1;exports.Icon=k;exports.IconButton=q1;exports.Toast=$1;exports.css=S;exports.cva=C;exports.cx=y;exports.version=J1;
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react/jsx-runtime"),ht=require("react"),vt=require("react-dom");function De(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const a=De(ht),pe=De(vt);function ae(e){return typeof e=="object"&&e!=null&&!Array.isArray(e)}var yt=e=>typeof e=="object"&&e!==null;function Ve(e){return Object.fromEntries(Object.entries(e??{}).filter(([t,r])=>r!==void 0))}var xt=e=>e==="base";function wt(e){return e.slice().filter(t=>!xt(t))}function ve(e){return String.fromCharCode(e+(e>25?39:97))}function St(e){let t="",r;for(r=Math.abs(e);r>52;r=r/52|0)t=ve(r%52)+t;return ve(r%52)+t}function Et(e,t){let r=t.length;for(;r;)e=e*33^t.charCodeAt(--r);return e}function _t(e){return St(Et(5381,e)>>>0)}var Be=/\s*!(important)?/i;function Rt(e){return typeof e=="string"?Be.test(e):!1}function Tt(e){return typeof e=="string"?e.replace(Be,"").trim():e}function Fe(e){return typeof e=="string"?e.replaceAll(" ","_"):e}var ne=e=>{const t=new Map;return(...o)=>{const n=JSON.stringify(o);if(t.has(n))return t.get(n);const s=e(...o);return t.set(n,s),s}},Pt=new Set(["__proto__","constructor","prototype"]);function me(...e){return e.reduce((t,r)=>(r&&Object.keys(r).forEach(o=>{if(Pt.has(o))return;const n=t[o],s=r[o];ae(n)&&ae(s)?t[o]=me(n,s):t[o]=s}),t),{})}var kt=e=>e!=null;function We(e,t,r={}){const{stop:o,getKey:n}=r;function s(i,l=[]){if(yt(i)){const c={};for(const[d,p]of Object.entries(i)){const f=(n==null?void 0:n(d,p))??d,b=[...l,f];if(o!=null&&o(i,b))return t(i,l);const g=s(p,b);kt(g)&&(c[f]=g)}return c}return t(i,l)}return s(e)}function Lt(e,t){return e.reduce((r,o,n)=>{const s=t[n];return o!=null&&(r[s]=o),r},{})}function He(e,t,r=!0){const{utility:o,conditions:n}=t,{hasShorthand:s,resolveShorthand:i}=o;return We(e,l=>Array.isArray(l)?Lt(l,n.breakpoints.keys):l,{stop:l=>Array.isArray(l),getKey:r?l=>s?i(l):l:void 0})}var jt={shift:e=>e,finalize:e=>e,breakpoints:{keys:[]}},Ot=e=>typeof e=="string"?e.replaceAll(/[\n\s]+/g," "):e;function Mt(e){const{utility:t,hash:r,conditions:o=jt}=e,n=i=>[t.prefix,i].filter(Boolean).join("-"),s=(i,l)=>{let c;if(r){const d=[...o.finalize(i),l];c=n(t.toHash(d,_t))}else c=[...o.finalize(i),n(l)].join(":");return c};return ne(({base:i,...l}={})=>{const c=Object.assign(l,i),d=He(c,e),p=new Set;return We(d,(f,b)=>{if(f==null)return;const g=Rt(f),[h,...m]=o.shift(b),C=wt(m),w=t.transform(h,Tt(Ot(f)));let v=s(C,w.className);g&&(v=`${v}!`),p.add(v)}),Array.from(p).join(" ")})}function It(...e){return e.flat().filter(t=>ae(t)&&Object.keys(Ve(t)).length>0)}function At(e){function t(n){const s=It(...n);return s.length===1?s:s.map(i=>He(i,e))}function r(...n){return me(...t(n))}function o(...n){return Object.assign({},...t(n))}return{mergeCss:ne(r),assignCss:o}}var Nt=/([A-Z])/g,$t=/^ms-/,Dt=ne(e=>e.startsWith("--")?e:e.replace(Nt,"-$1").replace($t,"-ms-").toLowerCase()),Vt="cm,mm,Q,in,pc,pt,px,em,ex,ch,rem,lh,rlh,vw,vh,vmin,vmax,vb,vi,svw,svh,lvw,lvh,dvw,dvh,cqw,cqh,cqi,cqb,cqmin,cqmax,%";`${Vt.split(",").join("|")}`;function Bt(e,...t){const r=Object.getOwnPropertyDescriptors(e),o=Object.keys(r),n=i=>{const l={};for(let c=0;c<i.length;c++){const d=i[c];r[d]&&(Object.defineProperty(l,d,r[d]),delete r[d])}return l},s=i=>n(Array.isArray(i)?i:o.filter(i));return t.map(s).concat(n(o))}var Ft=(...e)=>{const t=e.reduce((r,o)=>(o&&o.forEach(n=>r.add(n)),r),new Set([]));return Array.from(t)};const Wt="_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_complete,_incomplete,_dragging,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_grabbed,_underValue,_overValue,_atValue,_default,_optional,_open,_closed,_fullscreen,_loading,_hidden,_current,_currentPage,_currentStep,_today,_unavailable,_rangeStart,_rangeEnd,_now,_topmost,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_icon,_starting,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,2xlDown,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl,@/xs,@/sm,@/md,@/lg,@/xl,@/2xl,@/3xl,@/4xl,@/5xl,@/6xl,@/7xl,@/8xl,base",ze=new Set(Wt.split(",")),Ht=/^@|&|&$/;function ye(e){return ze.has(e)||Ht.test(e)}const zt=/^_/,Zt=/&|@/;function Yt(e){return e.map(t=>ze.has(t)?t.replace(zt,""):Zt.test(t)?`[${Fe(t.trim())}]`:t)}function Ut(e){return e.sort((t,r)=>{const o=ye(t),n=ye(r);return o&&!n?1:!o&&n?-1:0})}const Xt="aspectRatio:asp,boxDecorationBreak:bx-db,zIndex:z,boxSizing:bx-s,objectPosition:obj-p,objectFit:obj-f,overscrollBehavior:ovs-b,overscrollBehaviorX:ovs-bx,overscrollBehaviorY:ovs-by,position:pos/1,top:top,left:left,inset:inset,insetInline:inset-x/insetX,insetBlock:inset-y/insetY,insetBlockEnd:inset-be,insetBlockStart:inset-bs,insetInlineEnd:inset-e/insetEnd/end,insetInlineStart:inset-s/insetStart/start,right:right,bottom:bottom,float:float,visibility:vis,display:d,hideFrom:hide,hideBelow:show,flexBasis:flex-b,flex:flex,flexDirection:flex-d/flexDir,flexGrow:flex-g,flexShrink:flex-sh,gridTemplateColumns:grid-tc,gridTemplateRows:grid-tr,gridColumn:grid-c,gridRow:grid-r,gridColumnStart:grid-cs,gridColumnEnd:grid-ce,gridAutoFlow:grid-af,gridAutoColumns:grid-ac,gridAutoRows:grid-ar,gap:gap,gridGap:grid-g,gridRowGap:grid-rg,gridColumnGap:grid-cg,rowGap:rg,columnGap:cg,justifyContent:jc,alignContent:ac,alignItems:ai,alignSelf:as,padding:p/1,paddingLeft:pl/1,paddingRight:pr/1,paddingTop:pt/1,paddingBottom:pb/1,paddingBlock:py/1/paddingY,paddingBlockEnd:pbe,paddingBlockStart:pbs,paddingInline:px/paddingX/1,paddingInlineEnd:pe/1/paddingEnd,paddingInlineStart:ps/1/paddingStart,marginLeft:ml/1,marginRight:mr/1,marginTop:mt/1,marginBottom:mb/1,margin:m/1,marginBlock:my/1/marginY,marginBlockEnd:mbe,marginBlockStart:mbs,marginInline:mx/1/marginX,marginInlineEnd:me/1/marginEnd,marginInlineStart:ms/1/marginStart,spaceX:sx,spaceY:sy,outlineWidth:ring-w/ringWidth,outlineColor:ring-c/ringColor,outline:ring/1,outlineOffset:ring-o/ringOffset,divideX:dvd-x,divideY:dvd-y,divideColor:dvd-c,divideStyle:dvd-s,width:w/1,inlineSize:w-is,minWidth:min-w/minW,minInlineSize:min-w-is,maxWidth:max-w/maxW,maxInlineSize:max-w-is,height:h/1,blockSize:h-bs,minHeight:min-h/minH,minBlockSize:min-h-bs,maxHeight:max-h/maxH,maxBlockSize:max-b,color:c,fontFamily:ff,fontSize:fs,fontSizeAdjust:fs-a,fontPalette:fp,fontKerning:fk,fontFeatureSettings:ff-s,fontWeight:fw,fontSmoothing:fsmt,fontVariant:fv,fontVariantAlternates:fv-alt,fontVariantCaps:fv-caps,fontVariationSettings:fv-s,fontVariantNumeric:fv-num,letterSpacing:ls,lineHeight:lh,textAlign:ta,textDecoration:td,textDecorationColor:td-c,textEmphasisColor:te-c,textDecorationStyle:td-s,textDecorationThickness:td-t,textUnderlineOffset:tu-o,textTransform:tt,textIndent:ti,textShadow:tsh,textShadowColor:tsh-c/textShadowColor,textOverflow:tov,verticalAlign:va,wordBreak:wb,textWrap:tw,truncate:trunc,lineClamp:lc,listStyleType:li-t,listStylePosition:li-pos,listStyleImage:li-img,listStyle:li-s,backgroundPosition:bg-p/bgPosition,backgroundPositionX:bg-p-x/bgPositionX,backgroundPositionY:bg-p-y/bgPositionY,backgroundAttachment:bg-a/bgAttachment,backgroundClip:bg-cp/bgClip,background:bg/1,backgroundColor:bg-c/bgColor,backgroundOrigin:bg-o/bgOrigin,backgroundImage:bg-i/bgImage,backgroundRepeat:bg-r/bgRepeat,backgroundBlendMode:bg-bm/bgBlendMode,backgroundSize:bg-s/bgSize,backgroundGradient:bg-grad/bgGradient,textGradient:txt-grad,gradientFromPosition:grad-from-pos,gradientToPosition:grad-to-pos,gradientFrom:grad-from,gradientTo:grad-to,gradientVia:grad-via,gradientViaPosition:grad-via-pos,borderRadius:bdr/rounded,borderTopLeftRadius:bdr-tl/roundedTopLeft,borderTopRightRadius:bdr-tr/roundedTopRight,borderBottomRightRadius:bdr-br/roundedBottomRight,borderBottomLeftRadius:bdr-bl/roundedBottomLeft,borderTopRadius:bdr-t/roundedTop,borderRightRadius:bdr-r/roundedRight,borderBottomRadius:bdr-b/roundedBottom,borderLeftRadius:bdr-l/roundedLeft,borderStartStartRadius:bdr-ss/roundedStartStart,borderStartEndRadius:bdr-se/roundedStartEnd,borderStartRadius:bdr-s/roundedStart,borderEndStartRadius:bdr-es/roundedEndStart,borderEndEndRadius:bdr-ee/roundedEndEnd,borderEndRadius:bdr-e/roundedEnd,border:bd,borderWidth:bd-w,borderTopWidth:bd-t-w,borderLeftWidth:bd-l-w,borderRightWidth:bd-r-w,borderBottomWidth:bd-b-w,borderBlockStartWidth:bd-bs-w,borderBlockEndWidth:bd-be-w,borderColor:bd-c,borderInline:bd-x/borderX,borderInlineWidth:bd-x-w/borderXWidth,borderInlineColor:bd-x-c/borderXColor,borderBlock:bd-y/borderY,borderBlockWidth:bd-y-w/borderYWidth,borderBlockColor:bd-y-c/borderYColor,borderLeft:bd-l,borderLeftColor:bd-l-c,borderInlineStart:bd-s/borderStart,borderInlineStartWidth:bd-s-w/borderStartWidth,borderInlineStartColor:bd-s-c/borderStartColor,borderRight:bd-r,borderRightColor:bd-r-c,borderInlineEnd:bd-e/borderEnd,borderInlineEndWidth:bd-e-w/borderEndWidth,borderInlineEndColor:bd-e-c/borderEndColor,borderTop:bd-t,borderTopColor:bd-t-c,borderBottom:bd-b,borderBottomColor:bd-b-c,borderBlockEnd:bd-be,borderBlockEndColor:bd-be-c,borderBlockStart:bd-bs,borderBlockStartColor:bd-bs-c,opacity:op,boxShadow:bx-sh/shadow,boxShadowColor:bx-sh-c/shadowColor,mixBlendMode:mix-bm,filter:filter,brightness:brightness,contrast:contrast,grayscale:grayscale,hueRotate:hue-rotate,invert:invert,saturate:saturate,sepia:sepia,dropShadow:drop-shadow,blur:blur,backdropFilter:bkdp,backdropBlur:bkdp-blur,backdropBrightness:bkdp-brightness,backdropContrast:bkdp-contrast,backdropGrayscale:bkdp-grayscale,backdropHueRotate:bkdp-hue-rotate,backdropInvert:bkdp-invert,backdropOpacity:bkdp-opacity,backdropSaturate:bkdp-saturate,backdropSepia:bkdp-sepia,borderCollapse:bd-cl,borderSpacing:bd-sp,borderSpacingX:bd-sx,borderSpacingY:bd-sy,tableLayout:tbl,transitionTimingFunction:trs-tmf,transitionDelay:trs-dly,transitionDuration:trs-dur,transitionProperty:trs-prop,transition:trs,animation:anim,animationName:anim-n,animationTimingFunction:anim-tmf,animationDuration:anim-dur,animationDelay:anim-dly,animationPlayState:anim-ps,animationComposition:anim-comp,animationFillMode:anim-fm,animationDirection:anim-dir,animationIterationCount:anim-ic,animationRange:anim-r,animationState:anim-s,animationRangeStart:anim-rs,animationRangeEnd:anim-re,animationTimeline:anim-tl,transformOrigin:trf-o,transformBox:trf-b,transformStyle:trf-s,transform:trf,rotate:rotate,rotateX:rotate-x,rotateY:rotate-y,rotateZ:rotate-z,scale:scale,scaleX:scale-x,scaleY:scale-y,translate:translate,translateX:translate-x/x,translateY:translate-y/y,translateZ:translate-z/z,accentColor:ac-c,caretColor:ca-c,scrollBehavior:scr-bhv,scrollbar:scr-bar,scrollbarColor:scr-bar-c,scrollbarGutter:scr-bar-g,scrollbarWidth:scr-bar-w,scrollMargin:scr-m,scrollMarginLeft:scr-ml,scrollMarginRight:scr-mr,scrollMarginTop:scr-mt,scrollMarginBottom:scr-mb,scrollMarginBlock:scr-my/scrollMarginY,scrollMarginBlockEnd:scr-mbe,scrollMarginBlockStart:scr-mbt,scrollMarginInline:scr-mx/scrollMarginX,scrollMarginInlineEnd:scr-me,scrollMarginInlineStart:scr-ms,scrollPadding:scr-p,scrollPaddingBlock:scr-py/scrollPaddingY,scrollPaddingBlockStart:scr-pbs,scrollPaddingBlockEnd:scr-pbe,scrollPaddingInline:scr-px/scrollPaddingX,scrollPaddingInlineEnd:scr-pe,scrollPaddingInlineStart:scr-ps,scrollPaddingLeft:scr-pl,scrollPaddingRight:scr-pr,scrollPaddingTop:scr-pt,scrollPaddingBottom:scr-pb,scrollSnapAlign:scr-sa,scrollSnapStop:scrs-s,scrollSnapType:scrs-t,scrollSnapStrictness:scrs-strt,scrollSnapMargin:scrs-m,scrollSnapMarginTop:scrs-mt,scrollSnapMarginBottom:scrs-mb,scrollSnapMarginLeft:scrs-ml,scrollSnapMarginRight:scrs-mr,scrollSnapCoordinate:scrs-c,scrollSnapDestination:scrs-d,scrollSnapPointsX:scrs-px,scrollSnapPointsY:scrs-py,scrollSnapTypeX:scrs-tx,scrollSnapTypeY:scrs-ty,scrollTimeline:scrtl,scrollTimelineAxis:scrtl-a,scrollTimelineName:scrtl-n,touchAction:tch-a,userSelect:us,overflow:ov,overflowWrap:ov-wrap,overflowX:ov-x,overflowY:ov-y,overflowAnchor:ov-a,overflowBlock:ov-b,overflowInline:ov-i,overflowClipBox:ovcp-bx,overflowClipMargin:ovcp-m,overscrollBehaviorBlock:ovs-bb,overscrollBehaviorInline:ovs-bi,fill:fill,stroke:stk,strokeWidth:stk-w,strokeDasharray:stk-dsh,strokeDashoffset:stk-do,strokeLinecap:stk-lc,strokeLinejoin:stk-lj,strokeMiterlimit:stk-ml,strokeOpacity:stk-op,srOnly:sr,debug:debug,appearance:ap,backfaceVisibility:bfv,clipPath:cp-path,hyphens:hy,mask:msk,maskImage:msk-i,maskSize:msk-s,textSizeAdjust:txt-adj,container:cq,containerName:cq-n,containerType:cq-t,cursor:cursor,textStyle:textStyle",Ze=new Map,Ye=new Map;Xt.split(",").forEach(e=>{const[t,r]=e.split(":"),[o,...n]=r.split("/");Ze.set(t,o),n.length&&n.forEach(s=>{Ye.set(s==="1"?o:s,t)})});const xe=e=>Ye.get(e)||e,Ue={conditions:{shift:Ut,finalize:Yt,breakpoints:{keys:["base","sm","md","lg","xl","2xl"]}},utility:{transform:(e,t)=>{const r=xe(e);return{className:`${Ze.get(r)||Dt(r)}_${Fe(t)}`}},hasShorthand:!0,toHash:(e,t)=>t(e.join(":")),resolveShorthand:xe}},Kt=Mt(Ue),B=(...e)=>Kt($(...e));B.raw=(...e)=>$(...e);const{mergeCss:$}=At(Ue);function V(){let e="",t=0,r;for(;t<arguments.length;)(r=arguments[t++])&&typeof r=="string"&&(e&&(e+=" "),e+=r);return e}const we=e=>({base:{},variants:{},defaultVariants:{},compoundVariants:[],...e});function N(e){const{base:t,variants:r,defaultVariants:o,compoundVariants:n}=we(e),s=b=>({...o,...Ve(b)});function i(b={}){var C;const g=s(b);let h={...t};for(const[w,v]of Object.entries(g))(C=r[w])!=null&&C[v]&&(h=$(h,r[w][v]));const m=qt(n,g);return $(h,m)}function l(b){const g=we(b.config),h=Ft(b.variantKeys,Object.keys(r));return N({base:$(t,g.base),variants:Object.fromEntries(h.map(m=>[m,$(r[m],g.variants[m])])),defaultVariants:me(o,g.defaultVariants),compoundVariants:[...n,...g.compoundVariants]})}function c(b){return B(i(b))}const d=Object.keys(r);function p(b){return Bt(b,d)}const f=Object.fromEntries(Object.entries(r).map(([b,g])=>[b,Object.keys(g)]));return Object.assign(ne(c),{__cva__:!0,variantMap:f,variantKeys:d,raw:i,config:e,merge:l,splitVariantProps:p,getVariantProps:s})}function qt(e,t){let r={};return e.forEach(o=>{Object.entries(o).every(([s,i])=>s==="css"?!0:(Array.isArray(i)?i:[i]).some(c=>t[s]===c))&&(r=$(r,o.css))}),r}const Gt=N({base:{display:"inline-flex",alignItems:"center",whiteSpace:"nowrap",borderRadius:"xs",px:"8px",py:"4px",boxSizing:"border-box"},variants:{variant:{"brand-weak":{bg:"fill.brand.subtler",color:"fg.brand.default"},"neutral-weak":{bg:"fill.neutral.subtler",color:"fg.neutral.subtle"},outline:{bg:"fill.neutral.faintest",color:"fg.neutral.subtle",boxShadow:"inset 0 0 0 1px {colors.stroke.neutral.subtle}"}},size:{sm:{textStyle:"caption3"},md:{textStyle:"body4"}}},defaultVariants:{variant:"neutral-weak",size:"md"}});function Jt({variant:e,size:t,className:r,children:o,...n}){return u.jsx("span",{className:V(Gt({variant:e,size:t}),r),...n,children:o})}function Se(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Qt(...e){return t=>{let r=!1;const o=e.map(n=>{const s=Se(n,t);return!r&&typeof s=="function"&&(r=!0),s});if(r)return()=>{for(let n=0;n<o.length;n++){const s=o[n];typeof s=="function"?s():Se(e[n],null)}}}}var er=Symbol.for("react.lazy"),re=a[" use ".trim().toString()];function tr(e){return typeof e=="object"&&e!==null&&"then"in e}function Xe(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===er&&"_payload"in e&&tr(e._payload)}function rr(e){const t=or(e),r=a.forwardRef((o,n)=>{let{children:s,...i}=o;Xe(s)&&typeof re=="function"&&(s=re(s._payload));const l=a.Children.toArray(s),c=l.find(ir);if(c){const d=c.props.children,p=l.map(f=>f===c?a.Children.count(d)>1?a.Children.only(null):a.isValidElement(d)?d.props.children:null:f);return u.jsx(t,{...i,ref:n,children:a.isValidElement(d)?a.cloneElement(d,void 0,p):null})}return u.jsx(t,{...i,ref:n,children:s})});return r.displayName=`${e}.Slot`,r}var nr=rr("Slot");function or(e){const t=a.forwardRef((r,o)=>{let{children:n,...s}=r;if(Xe(n)&&typeof re=="function"&&(n=re(n._payload)),a.isValidElement(n)){const i=lr(n),l=ar(s,n.props);return n.type!==a.Fragment&&(l.ref=o?Qt(o,i):i),a.cloneElement(n,l)}return a.Children.count(n)>1?a.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var sr=Symbol("radix.slottable");function ir(e){return a.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===sr}function ar(e,t){const r={...t};for(const o in t){const n=e[o],s=t[o];/^on[A-Z]/.test(o)?n&&s?r[o]=(...l)=>{const c=s(...l);return n(...l),c}:n&&(r[o]=n):o==="style"?r[o]={...n,...s}:o==="className"&&(r[o]=[n,s].filter(Boolean).join(" "))}return{...e,...r}}function lr(e){var o,n;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}const cr=N({base:{alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",cursor:"pointer",gap:"2px",border:"none",boxSizing:"border-box",fontFamily:"inherit",_disabled:{cursor:"not-allowed",bg:"fill.neutral.default-disabled",color:"fg.neutral.subtler",_active:{bg:"fill.neutral.default-disabled"}}},variants:{variant:{default:{bg:"fill.neutral.default",color:"fg.neutral.faintest",_active:{bg:"fill.neutral.default-pressed"}},brand:{bg:"fill.brand.default",color:"fg.neutral.faintest",_active:{bg:"fill.brand.default-pressed"}},"brand-weak":{bg:"fill.brand.subtle",color:"fg.brand.default",_active:{bg:"fill.brand.subtle-pressed"}},outline:{bg:"fill.neutral.faintest",color:"fg.neutral.default",boxShadow:"inset 0 0 0 1px {colors.stroke.neutral.subtle}",_active:{bg:"fill.neutral.subtler"}},ghost:{bg:"transparent",color:"fg.neutral.default",_active:{bg:"fill.neutral.subtler"}},"ghost-brand":{bg:"transparent",color:"fg.brand.default",_active:{bg:"fill.neutral.subtler"}}},display:{inline:{display:"inline-flex"},full:{display:"flex",width:"100%"}},size:{sm:{textStyle:"body5",borderRadius:"xs",px:"10px",py:"4px"},md:{textStyle:"body4",borderRadius:"sm",px:"16px",py:"10px"},lg:{textStyle:"body1",borderRadius:"sm",px:"16px",py:"12px"},xl:{textStyle:"title3",borderRadius:"sm",p:"16px"}}},compoundVariants:[{variant:"outline",css:{_disabled:{boxShadow:"none"}}},{variant:"ghost",css:{_disabled:{bg:"transparent",color:"fg.neutral.subtlest",_active:{bg:"transparent"}}}},{variant:"ghost-brand",css:{_disabled:{bg:"transparent",color:"fg.neutral.subtlest",_active:{bg:"transparent"}}}}],defaultVariants:{variant:"default",size:"md",display:"inline"}});function ur({variant:e,size:t,display:r,leadingIcon:o,trailingIcon:n,asChild:s=!1,className:i,children:l,...c}){const d=s?nr:"button";return u.jsx(d,{type:s?void 0:"button",className:V(cr({variant:e,size:t,display:r}),i),...c,children:s?l:u.jsxs(u.Fragment,{children:[o,l,n]})})}function dr(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)}}var F=globalThis!=null&&globalThis.document?a.useLayoutEffect:()=>{},fr=a[" useInsertionEffect ".trim().toString()]||F;function pr({prop:e,defaultProp:t,onChange:r=()=>{},caller:o}){const[n,s,i]=mr({defaultProp:t,onChange:r}),l=e!==void 0,c=l?e:n;{const p=a.useRef(e!==void 0);a.useEffect(()=>{const f=p.current;f!==l&&console.warn(`${o} is changing from ${f?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),p.current=l},[l,o])}const d=a.useCallback(p=>{var f;if(l){const b=br(p)?p(e):p;b!==e&&((f=i.current)==null||f.call(i,b))}else s(p)},[l,e,s,i]);return[c,d]}function mr({defaultProp:e,onChange:t}){const[r,o]=a.useState(e),n=a.useRef(r),s=a.useRef(t);return fr(()=>{s.current=t},[t]),a.useEffect(()=>{var i;n.current!==r&&((i=s.current)==null||i.call(s,r),n.current=r)},[r,n]),[r,o,s]}function br(e){return typeof e=="function"}function Ee(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function gr(...e){return t=>{let r=!1;const o=e.map(n=>{const s=Ee(n,t);return!r&&typeof s=="function"&&(r=!0),s});if(r)return()=>{for(let n=0;n<o.length;n++){const s=o[n];typeof s=="function"?s():Ee(e[n],null)}}}}function Cr(...e){return a.useCallback(gr(...e),e)}function hr(e){const t=a.forwardRef((r,o)=>{let{children:n,...s}=r,i=null,l=!1;const c=[];_e(n)&&typeof q=="function"&&(n=q(n._payload)),a.Children.forEach(n,b=>{var g;if(Sr(b)){l=!0;const h=b;let m="child"in h.props?h.props.child:h.props.children;_e(m)&&typeof q=="function"&&(m=q(m._payload)),i=yr(h,m),c.push((g=i==null?void 0:i.props)==null?void 0:g.children)}else c.push(b)}),i?i=a.cloneElement(i,void 0,c):!l&&a.Children.count(n)===1&&a.isValidElement(n)&&(i=n);const d=i?wr(i):void 0,p=Cr(o,d);if(!i){if(n||n===0)throw new Error(l?Tr(e):Rr(e));return n}const f=xr(s,i.props??{});return i.type!==a.Fragment&&(f.ref=o?p:d),a.cloneElement(i,f)});return t.displayName=`${e}.Slot`,t}var vr=Symbol.for("radix.slottable"),yr=(e,t)=>{if("child"in e.props){const r=e.props.child;return a.isValidElement(r)?a.cloneElement(r,void 0,e.props.children(r.props.children)):null}return a.isValidElement(t)?t:null};function xr(e,t){const r={...t};for(const o in t){const n=e[o],s=t[o];/^on[A-Z]/.test(o)?n&&s?r[o]=(...l)=>{const c=s(...l);return n(...l),c}:n&&(r[o]=n):o==="style"?r[o]={...n,...s}:o==="className"&&(r[o]=[n,s].filter(Boolean).join(" "))}return{...e,...r}}function wr(e){var o,n;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function Sr(e){return a.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===vr}var Er=Symbol.for("react.lazy");function _e(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Er&&"_payload"in e&&_r(e._payload)}function _r(e){return typeof e=="object"&&e!==null&&"then"in e}var Rr=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,Tr=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,q=a[" use ".trim().toString()],Pr=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],kr=Pr.reduce((e,t)=>{const r=hr(`Primitive.${t}`),o=a.forwardRef((n,s)=>{const{asChild:i,...l}=n,c=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),u.jsx(c,{...l,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),Ke="Toggle",qe=a.forwardRef((e,t)=>{const{pressed:r,defaultPressed:o,onPressedChange:n,...s}=e,[i,l]=pr({prop:r,onChange:n,defaultProp:o??!1,caller:Ke});return u.jsx(kr.button,{type:"button","aria-pressed":i,"data-state":i?"on":"off","data-disabled":e.disabled?"":void 0,...s,ref:t,onClick:dr(e.onClick,()=>{e.disabled||l(!i)})})});qe.displayName=Ke;var Lr=qe;const jr=N({base:{display:"inline-flex",alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",cursor:"pointer",textStyle:"body4",py:"6px",border:"none",boxSizing:"border-box",fontFamily:"inherit",_disabled:{cursor:"not-allowed"}},variants:{variant:{brand:{bg:"fill.brand.default",color:"fg.neutral.faintest"},"outlined-brand":{bg:"fill.brand.subtle",color:"fg.brand.default",boxShadow:"inset 0 0 0 1px {colors.stroke.brand.default}"},neutral:{bg:"fill.neutral.default",color:"fg.neutral.faintest"},"neutral-weak":{bg:"fill.neutral.subtler",color:"fg.neutral.subtler"}},shape:{square:{borderRadius:"xs",px:"12px"},pill:{borderRadius:"full",px:"14px"}}},defaultVariants:{variant:"neutral-weak",shape:"square"}});function Or({variant:e,shape:t,className:r,children:o,pressed:n,defaultPressed:s,onPressedChange:i,...l}){return u.jsx(Lr,{pressed:n,defaultPressed:s,onPressedChange:i,className:V(jr({variant:e,shape:t}),r),...l,children:o})}const Re="var(--colors-fill-brand-default)",Mr="var(--colors-fg-negative-default)",Ir="var(--colors-fg-positive-default)",Ar="var(--colors-fg-neutral-subtler)",Nr={check:{viewBox:"0 0 24 24",paths:u.jsx("path",{d:"M4.11426 11.7797L9.41211 17.0769L19.8856 6.9248",stroke:Re,strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})},success:{viewBox:"0 0 20 20",paths:u.jsxs(u.Fragment,{children:[u.jsx("circle",{cx:"10",cy:"10",r:"7",fill:Ir}),u.jsx("path",{d:"M12.4736 7.54487C12.7437 7.26837 13.1873 7.26305 13.4638 7.53315C13.7403 7.80328 13.7456 8.24685 13.4755 8.52339L9.50871 12.583C9.24203 12.8557 8.80597 12.865 8.52825 12.6035L6.56926 10.7568C6.28828 10.4916 6.27509 10.0488 6.53996 9.76753C6.80514 9.4862 7.24888 9.47306 7.5302 9.73823L8.98821 11.1123L12.4736 7.54487Z",fill:"white"})]})},error:{viewBox:"0 0 20 20",paths:u.jsxs(u.Fragment,{children:[u.jsx("circle",{cx:"10",cy:"10",r:"7",fill:Mr}),u.jsx("path",{d:"M9.25244 10.4072V7.09082C9.25244 6.67661 9.58823 6.34082 10.0024 6.34082C10.4167 6.34082 10.7524 6.67661 10.7524 7.09082V10.4072C10.7524 10.8214 10.4167 11.1572 10.0024 11.1572C9.58823 11.1572 9.25244 10.8214 9.25244 10.4072Z",fill:"white"}),u.jsx("path",{d:"M10.7524 12.9072C10.7524 13.3214 10.4167 13.6572 10.0024 13.6572C9.58823 13.6572 9.25244 13.3214 9.25244 12.9072C9.25244 12.493 9.58823 12.1572 10.0024 12.1572C10.4167 12.1572 10.7524 12.493 10.7524 12.9072Z",fill:"white"})]})},delete:{viewBox:"0 0 24 24",paths:u.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 12A9 9 0 0 1 21 12A9 9 0 0 1 3 12ZM14.4697 8.46967C14.7626 8.17678 15.2373 8.17678 15.5302 8.46967C15.8231 8.76256 15.8231 9.23732 15.5302 9.53022L13.0605 11.9999L15.5302 14.4697C15.8231 14.7626 15.8231 15.2373 15.5302 15.5302C15.2373 15.8231 14.7626 15.8231 14.4697 15.5302L11.9999 13.0605L9.53022 15.5302C9.23732 15.8231 8.76256 15.8231 8.46967 15.5302C8.17678 15.2373 8.17678 14.7626 8.46967 14.4697L10.9394 11.9999L8.46967 9.53022C8.17678 9.23732 8.17678 8.76256 8.46967 8.46967C8.76256 8.17678 9.23732 8.17678 9.53022 8.46967L11.9999 10.9394L14.4697 8.46967Z",fill:"currentColor"})},invalid:{viewBox:"0 0 16 16",paths:u.jsxs(u.Fragment,{children:[u.jsx("circle",{cx:"7.9999",cy:"8.00039",r:"5.6",fill:Ar}),u.jsx("path",{d:"M9.7612 9.75925L8.00122 7.99926M8.00122 7.99926L6.24121 6.23926M8.00122 7.99926L9.76122 6.23926M8.00122 7.99926L6.24121 9.75927",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round"})]})},valid:{viewBox:"0 0 16 16",paths:u.jsxs(u.Fragment,{children:[u.jsx("circle",{cx:"7.9999",cy:"8.00039",r:"5.6",fill:Re}),u.jsx("path",{d:"M5.83592 8.44856L7.35454 9.75629L10.0612 6.56152",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round"})]})},arrow_up:{viewBox:"0 0 24 24",paths:u.jsx("path",{d:"M12 19V5M12 5L6 11M12 5L18 11",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})},blank:{viewBox:"0 0 16 16",paths:u.jsx("path",{d:"M4.98291 13.4336C5.20359 13.4772 5.43214 13.5 5.6665 13.5H6.6665C6.94265 13.5 7.1665 13.7239 7.1665 14C7.1665 14.2761 6.94265 14.5 6.6665 14.5H5.6665C5.36661 14.5 5.07284 14.4703 4.78857 14.4141C4.51797 14.3604 4.34168 14.0978 4.39502 13.8271C4.44861 13.5563 4.71202 13.38 4.98291 13.4336ZM10.3501 13.4336C10.621 13.38 10.8844 13.5563 10.938 13.8271C10.9913 14.0978 10.815 14.3604 10.5444 14.4141C10.2602 14.4703 9.9664 14.5 9.6665 14.5H8.6665C8.39036 14.5 8.1665 14.2761 8.1665 14C8.1665 13.7239 8.39036 13.5 8.6665 13.5H9.6665C9.90087 13.5 10.1294 13.4772 10.3501 13.4336ZM2.06201 11.8066C2.29142 11.6531 2.60174 11.715 2.75537 11.9443C3.01104 12.3262 3.34027 12.6555 3.72217 12.9111C3.95148 13.0648 4.01336 13.3751 3.85986 13.6045C3.70624 13.834 3.39499 13.8958 3.16553 13.7422C2.67504 13.4138 2.2527 12.9915 1.92432 12.501C1.77069 12.2715 1.83255 11.9603 2.06201 11.8066ZM12.5776 11.9443C12.7313 11.715 13.0416 11.6531 13.271 11.8066C13.5005 11.9603 13.5623 12.2715 13.4087 12.501C13.0803 12.9915 12.658 13.4138 12.1675 13.7422C11.938 13.8958 11.6268 13.834 11.4731 13.6045C11.3196 13.3751 11.3815 13.0648 11.6108 12.9111C11.9927 12.6555 12.322 12.3262 12.5776 11.9443ZM1.1665 10V9C1.1665 8.72386 1.39036 8.5 1.6665 8.5C1.94265 8.5 2.1665 8.72386 2.1665 9V10C2.1665 10.2344 2.18926 10.4629 2.23291 10.6836C2.2865 10.9545 2.11025 11.2179 1.83936 11.2715C1.56869 11.3248 1.30614 11.1485 1.25244 10.8779C1.1962 10.5937 1.1665 10.2999 1.1665 10ZM13.1665 10V9C13.1665 8.72386 13.3904 8.5 13.6665 8.5C13.9426 8.5 14.1665 8.72386 14.1665 9V10C14.1665 10.2999 14.1368 10.5937 14.0806 10.8779C14.0269 11.1485 13.7643 11.3248 13.4937 11.2715C13.2228 11.2179 13.0465 10.9545 13.1001 10.6836C13.1438 10.4629 13.1665 10.2344 13.1665 10ZM1.1665 7V6C1.1665 5.70011 1.1962 5.40634 1.25244 5.12207C1.30614 4.85147 1.56869 4.67518 1.83936 4.72852C2.11025 4.78211 2.2865 5.04551 2.23291 5.31641C2.18926 5.53708 2.1665 5.76563 2.1665 6V7C2.1665 7.27614 1.94265 7.5 1.6665 7.5C1.39036 7.5 1.1665 7.27614 1.1665 7ZM13.1665 7V6C13.1665 5.76563 13.1438 5.53708 13.1001 5.31641C13.0465 5.04551 13.2228 4.78211 13.4937 4.72852C13.7643 4.67518 14.0269 4.85147 14.0806 5.12207C14.1368 5.40634 14.1665 5.70011 14.1665 6V7C14.1665 7.27614 13.9426 7.5 13.6665 7.5C13.3904 7.5 13.1665 7.27614 13.1665 7ZM3.16553 2.25781C3.39499 2.10419 3.70624 2.16604 3.85986 2.39551C4.01336 2.62492 3.95148 2.93524 3.72217 3.08887C3.34027 3.34454 3.01104 3.67377 2.75537 4.05566C2.60174 4.28498 2.29142 4.34686 2.06201 4.19336C1.83255 4.03974 1.77069 3.72849 1.92432 3.49902C2.2527 3.00854 2.67504 2.58619 3.16553 2.25781ZM11.4731 2.39551C11.6268 2.16604 11.938 2.10419 12.1675 2.25781C12.658 2.58619 13.0803 3.00854 13.4087 3.49902C13.5623 3.72849 13.5005 4.03974 13.271 4.19336C13.0416 4.34686 12.7313 4.28498 12.5776 4.05566C12.322 3.67377 11.9927 3.34454 11.6108 3.08887C11.3815 2.93523 11.3196 2.62492 11.4731 2.39551ZM6.6665 1.5C6.94265 1.5 7.1665 1.72386 7.1665 2C7.1665 2.27614 6.94265 2.5 6.6665 2.5H5.6665C5.43214 2.5 5.20359 2.52275 4.98291 2.56641C4.71202 2.62 4.44861 2.44374 4.39502 2.17285C4.34168 1.90219 4.51797 1.63964 4.78857 1.58594C5.07284 1.5297 5.36661 1.5 5.6665 1.5H6.6665ZM9.6665 1.5C9.9664 1.5 10.2602 1.5297 10.5444 1.58594C10.815 1.63964 10.9913 1.90219 10.938 2.17285C10.8844 2.44374 10.621 2.62 10.3501 2.56641C10.1294 2.52275 9.90087 2.5 9.6665 2.5H8.6665C8.39036 2.5 8.1665 2.27614 8.1665 2C8.1665 1.72386 8.39036 1.5 8.6665 1.5H9.6665Z",fill:"currentColor"})},cafe:{viewBox:"0 0 32 32",paths:u.jsx("path",{d:"M23.6984 7.59375H8.99844C8.81279 7.59375 8.63474 7.6675 8.50346 7.79878C8.37219 7.93005 8.29844 8.1081 8.29844 8.29375V16.6937C8.29971 17.8073 8.74262 18.8748 9.53 19.6622C10.3174 20.4496 11.3849 20.8925 12.4984 20.8938H17.3984C18.512 20.8925 19.5795 20.4496 20.3669 19.6622C21.1543 18.8748 21.5972 17.8073 21.5984 16.6937V13.1937H22.3859C23.1051 13.1929 23.7946 12.9069 24.3031 12.3984C24.8116 11.8899 25.0976 11.2004 25.0984 10.4813V8.99375C25.0984 8.62245 24.9509 8.26635 24.6884 8.0038C24.4258 7.74125 24.0697 7.59375 23.6984 7.59375ZM23.6984 10.4813C23.6984 10.8293 23.5602 11.1632 23.314 11.4093C23.0679 11.6555 22.734 11.7937 22.3859 11.7937H21.5984V8.99375H23.6984V10.4813ZM22.2984 22.2937H7.59844C7.41279 22.2937 7.23474 22.3675 7.10346 22.4988C6.97219 22.63 6.89844 22.8081 6.89844 22.9937C6.89844 23.1794 6.97219 23.3574 7.10346 23.4887C7.23474 23.62 7.41279 23.6938 7.59844 23.6938H22.2984C22.4841 23.6938 22.6621 23.62 22.7934 23.4887C22.9247 23.3574 22.9984 23.1794 22.9984 22.9937C22.9984 22.8081 22.9247 22.63 22.7934 22.4988C22.6621 22.3675 22.4841 22.2937 22.2984 22.2937Z",fill:"currentColor"})},calendar:{viewBox:"0 0 16 16",paths:u.jsx("path",{d:"M3.68018 6.37965H12.3202M3.68018 6.37965V11.1318C3.68018 11.7366 3.68018 12.0389 3.79789 12.2699C3.90143 12.4731 4.06653 12.6385 4.26975 12.7421C4.50054 12.8596 4.80283 12.8596 5.40651 12.8596H10.5938C11.1975 12.8596 11.4994 12.8596 11.7302 12.7421C11.9334 12.6385 12.099 12.4731 12.2026 12.2699C12.3202 12.0391 12.3202 11.7373 12.3202 11.1336V6.37965M3.68018 6.37965V5.94775C3.68018 5.3429 3.68018 5.04024 3.79789 4.80922C3.90143 4.606 4.06653 4.4409 4.26975 4.33736C4.50077 4.21965 4.80342 4.21965 5.40828 4.21965H5.84018M12.3202 6.37965V5.94598C12.3202 5.34231 12.3202 5.04002 12.2026 4.80922C12.099 4.606 11.9334 4.4409 11.7302 4.33736C11.4991 4.21965 11.1971 4.21965 10.5923 4.21965H10.1602M10.1602 3.13965V4.21965M10.1602 4.21965H5.84018M5.84018 3.13965V4.21965",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})},car:{viewBox:"0 0 20 20",paths:u.jsx("path",{d:"M15.1222 8.92635L14.3242 6.53235C14.2084 6.1838 13.9858 5.8806 13.6879 5.66582C13.3899 5.45104 13.0319 5.33561 12.6646 5.33594H7.34579C6.97852 5.33561 6.62048 5.45104 6.32256 5.66582C6.02463 5.8806 5.80197 6.1838 5.68621 6.53235L4.88821 8.92635C4.676 9.01515 4.49479 9.16469 4.36733 9.35618C4.23988 9.54768 4.17187 9.77257 4.17188 10.0026V12.9193C4.17188 13.3498 4.40754 13.7219 4.75521 13.9244V15.2526C4.75521 15.4073 4.81667 15.5557 4.92606 15.6651C5.03546 15.7745 5.18383 15.8359 5.33854 15.8359H5.92188C6.07658 15.8359 6.22496 15.7745 6.33435 15.6651C6.44375 15.5557 6.50521 15.4073 6.50521 15.2526V14.0859H13.5052V15.2526C13.5052 15.4073 13.5667 15.5557 13.6761 15.6651C13.7855 15.7745 13.9338 15.8359 14.0885 15.8359H14.6719C14.8266 15.8359 14.975 15.7745 15.0844 15.6651C15.1938 15.5557 15.2552 15.4073 15.2552 15.2526V13.9244C15.4322 13.8229 15.5793 13.6765 15.6817 13.5001C15.7841 13.3236 15.8382 13.1233 15.8385 12.9193V10.0026C15.8385 9.77257 15.7705 9.54768 15.6431 9.35618C15.5156 9.16469 15.3344 9.01515 15.1222 8.92635ZM7.34579 6.5026H12.664C12.9155 6.5026 13.1383 6.66244 13.2176 6.9016L13.8628 8.83594H6.14763L6.79221 6.9016C6.83091 6.7854 6.90521 6.68433 7.00457 6.61271C7.10393 6.5411 7.22331 6.50258 7.34579 6.5026ZM6.21354 12.3359C6.0986 12.3359 5.98479 12.3132 5.8786 12.2692C5.77242 12.2252 5.67595 12.1607 5.5947 12.0794C5.51345 11.9981 5.44901 11.9015 5.40506 11.7953C5.36111 11.6891 5.3385 11.5753 5.33854 11.4604C5.33858 11.3454 5.36126 11.2316 5.40528 11.1254C5.4493 11.0192 5.51381 10.9228 5.59511 10.8415C5.67642 10.7603 5.77293 10.6958 5.87914 10.6519C5.98535 10.6079 6.09918 10.5853 6.21413 10.5854C6.44627 10.5854 6.66887 10.6777 6.83296 10.8419C6.99706 11.0061 7.0892 11.2288 7.08913 11.4609C7.08905 11.6931 6.99676 11.9157 6.83255 12.0798C6.66835 12.2439 6.44568 12.336 6.21354 12.3359ZM13.7969 12.3359C13.6819 12.3359 13.5681 12.3132 13.4619 12.2692C13.3558 12.2252 13.2593 12.1607 13.178 12.0794C13.0968 11.9981 13.0323 11.9015 12.9884 11.7953C12.9444 11.6891 12.9218 11.5753 12.9219 11.4604C12.9219 11.3454 12.9446 11.2316 12.9886 11.1254C13.0326 11.0192 13.0971 10.9228 13.1784 10.8415C13.2598 10.7603 13.3563 10.6958 13.4625 10.6519C13.5687 10.6079 13.6825 10.5853 13.7975 10.5854C14.0296 10.5854 14.2522 10.6777 14.4163 10.8419C14.5804 11.0061 14.6725 11.2288 14.6725 11.4609C14.6724 11.6931 14.5801 11.9157 14.4159 12.0798C14.2517 12.2439 14.029 12.336 13.7969 12.3359Z",fill:"currentColor"})},chevron_down:{viewBox:"0 0 24 24",paths:u.jsx("path",{d:"M4.36321 9.63679C4.01174 9.28532 4.01174 8.71482 4.36321 8.36335C4.71469 8.01188 5.28518 8.01188 5.63665 8.36335L11.9999 14.7266L18.3632 8.36335C18.7147 8.01188 19.2852 8.01188 19.6367 8.36335C19.9881 8.71482 19.9881 9.28532 19.6367 9.63679L12.6367 16.6368C12.2852 16.9883 11.7147 16.9883 11.3632 16.6368L4.36321 9.63679Z",fill:"currentColor"})},chevron_left:{viewBox:"0 0 24 24",paths:u.jsx("path",{d:"M14.3632 4.36321C14.7147 4.01174 15.2852 4.01174 15.6367 4.36321C15.9881 4.71469 15.9881 5.28518 15.6367 5.63665L9.27337 11.9999L15.6367 18.3632C15.9881 18.7147 15.9881 19.2852 15.6367 19.6367C15.2852 19.9881 14.7147 19.9881 14.3632 19.6367L7.36321 12.6367C7.01174 12.2852 7.01174 11.7147 7.36321 11.3632L14.3632 4.36321Z",fill:"currentColor"})},chevron_right:{viewBox:"0 0 24 24",paths:u.jsx("path",{d:"M8.63679 4.36321C8.28532 4.01174 7.71482 4.01174 7.36335 4.36321C7.01188 4.71469 7.01188 5.28518 7.36335 5.63665L13.7266 11.9999L7.36335 18.3632C7.01188 18.7147 7.01188 19.2852 7.36335 19.6367C7.71482 19.9881 8.28532 19.9881 8.63679 19.6367L15.6368 12.6367C15.9883 12.2852 15.9883 11.7147 15.6368 11.3632L8.63679 4.36321Z",fill:"currentColor"})},chevron_up:{viewBox:"0 0 24 24",paths:u.jsx("path",{d:"M4.2636 15.2636C3.91213 15.6151 3.91213 16.1856 4.2636 16.537C4.61508 16.8885 5.18557 16.8885 5.53704 16.537L11.9003 10.1738L18.2636 16.537C18.6151 16.8885 19.1856 16.8885 19.537 16.537C19.8885 16.1856 19.8885 15.6151 19.537 15.2636L12.537 8.2636C12.1856 7.91213 11.6151 7.91213 11.2636 8.2636L4.2636 15.2636Z",fill:"currentColor"})},clock:{viewBox:"0 0 16 16",paths:u.jsx("path",{d:"M8.00014 5.29965V7.99965H10.7001M8.00014 12.8596C5.31603 12.8596 3.14014 10.6838 3.14014 7.99965C3.14014 5.31554 5.31603 3.13965 8.00014 3.13965C10.6842 3.13965 12.8601 5.31554 12.8601 7.99965C12.8601 10.6838 10.6842 12.8596 8.00014 12.8596Z",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})},dash:{viewBox:"0 0 16 16",paths:u.jsx("rect",{x:"5",y:"7.09961",width:"8",height:"1.8",rx:"0.9",fill:"currentColor"})},location:{viewBox:"0 0 16 16",paths:u.jsxs(u.Fragment,{children:[u.jsx("path",{d:"M11.5137 8H13.622",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"}),u.jsx("path",{d:"M2.37793 8H4.48623",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"}),u.jsx("path",{d:"M8 11.5137L8 13.622",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"}),u.jsx("path",{d:"M8 2.37793L8 4.48623",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"}),u.jsx("circle",{cx:"7.99994",cy:"7.99945",r:"4.31938",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"}),u.jsx("circle",{cx:"7.99991",cy:"8.00088",r:"1.5083",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"})]})},meetingroom:{viewBox:"0 0 32 32",paths:u.jsx("path",{d:"M8.52709 24.3937C8.26264 24.3937 8.04113 24.3041 7.86255 24.125C7.68398 23.9457 7.59438 23.7242 7.59375 23.4604C7.59313 23.1966 7.68273 22.9751 7.86255 22.7959C8.04238 22.6167 8.26389 22.5271 8.52709 22.5271H9.46042V8.52708C9.46042 8.26264 9.55002 8.04113 9.72922 7.86255C9.90842 7.68397 10.1299 7.59437 10.3938 7.59375H16.9271C17.1915 7.59375 17.4134 7.68335 17.5926 7.86255C17.7718 8.04175 17.861 8.26326 17.8604 8.52708H21.5938C21.8582 8.52708 22.08 8.61668 22.2592 8.79588C22.4384 8.97508 22.5277 9.19659 22.5271 9.46042V22.5271H23.4604C23.7249 22.5271 23.9467 22.6167 24.1259 22.7959C24.3051 22.9751 24.3944 23.1966 24.3938 23.4604C24.3931 23.7242 24.3035 23.9461 24.125 24.1259C23.9464 24.3057 23.7249 24.395 23.4604 24.3937H21.5938C21.3293 24.3937 21.1078 24.3041 20.9292 24.125C20.7506 23.9457 20.661 23.7242 20.6604 23.4604V10.3937H17.8604V23.4604C17.8604 23.7249 17.7708 23.9467 17.5916 24.1259C17.4124 24.3051 17.1909 24.3944 16.9271 24.3937H8.52709ZM15.9938 15.9937C15.9938 15.7293 15.9042 15.5078 15.725 15.3292C15.5458 15.1506 15.3242 15.061 15.0604 15.0604C14.7966 15.0598 14.5751 15.1494 14.3959 15.3292C14.2167 15.509 14.1271 15.7305 14.1271 15.9937C14.1271 16.257 14.2167 16.4788 14.3959 16.6592C14.5751 16.8397 14.7966 16.929 15.0604 16.9271C15.3242 16.9252 15.5461 16.8356 15.7259 16.6583C15.9057 16.481 15.995 16.2594 15.9938 15.9937Z",fill:"currentColor"})},member:{viewBox:"0 0 16 16",paths:u.jsxs(u.Fragment,{children:[u.jsx("circle",{cx:"8",cy:"5.33594",r:"2.64453",fill:"currentColor"}),u.jsx("path",{d:"M12.832 13.3086C13.1082 13.3086 13.3359 13.0834 13.2932 12.8106C13.1503 11.898 12.6176 11.043 11.7703 10.3863C10.7704 9.6112 9.41414 9.17578 8 9.17578C6.58586 9.17578 5.22963 9.6112 4.22968 10.3863C3.38238 11.043 2.84969 11.898 2.7068 12.8106C2.66409 13.0834 2.89183 13.3086 3.16797 13.3086L12.832 13.3086Z",fill:"currentColor"})]})},restaurant:{viewBox:"0 0 32 32",paths:u.jsxs(u.Fragment,{children:[u.jsx("path",{d:"M11.3313 6.65625V25.3229M8.53125 7.12292V11.7896C8.53125 14.1229 11.3313 14.1229 11.3313 14.1229C11.3313 14.1229 14.1313 14.1229 14.1313 11.7896V7.12292M20.6646 14.1229V25.3229",stroke:"currentColor",strokeWidth:"1.86667",strokeLinecap:"round",strokeLinejoin:"round"}),u.jsx("path",{d:"M23.4672 10.3896C23.4672 12.4513 22.2137 14.1229 20.6672 14.1229C19.1207 14.1229 17.8672 12.4513 17.8672 10.3896C17.8672 8.32785 19.1207 6.65625 20.6672 6.65625C22.2137 6.65625 23.4672 8.32785 23.4672 10.3896Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"1.86667",strokeLinecap:"round",strokeLinejoin:"round"})]})},search:{viewBox:"0 0 24 24",paths:u.jsxs(u.Fragment,{children:[u.jsx("path",{d:"M15.0722 10.5761C15.0722 7.7948 12.8174 5.54005 10.0361 5.54003C7.25475 5.54003 4.99999 7.79479 4.99999 10.5761C5.00001 13.3575 7.25476 15.6122 10.0361 15.6122V17.1122L9.70016 17.1034C6.35778 16.9342 3.67803 14.2544 3.50879 10.9121L3.5 10.5761C3.5 6.96637 6.42633 4.04004 10.0361 4.04004L10.372 4.04883C13.8257 4.22371 16.5722 7.07905 16.5722 10.5761L16.5634 10.9121C16.3885 14.3657 13.5332 17.1122 10.0361 17.1122V15.6122C12.8174 15.6122 15.0722 13.3574 15.0722 10.5761Z",fill:"currentColor"}),u.jsx("path",{d:"M14.0165 14.4765C14.3094 14.1836 14.7842 14.1836 15.0771 14.4765L20.0302 19.4296C20.3231 19.7225 20.3231 20.1973 20.0302 20.4902C19.7373 20.7831 19.2626 20.7831 18.9697 20.4902L14.0165 15.5371C13.7237 15.2442 13.7237 14.7694 14.0165 14.4765Z",fill:"currentColor"})]})},share:{viewBox:"0 0 24 24",paths:u.jsx("path",{d:"M9 6L12 3M12 3L15 6M12 3V13M7.00023 10C6.06835 10 5.60241 10 5.23486 10.1522C4.74481 10.3552 4.35523 10.7448 4.15224 11.2349C4 11.6024 4 12.0681 4 13V17.8C4 18.9201 4 19.4798 4.21799 19.9076C4.40973 20.2839 4.71547 20.5905 5.0918 20.7822C5.5192 21 6.07899 21 7.19691 21H16.8036C17.9215 21 18.4805 21 18.9079 20.7822C19.2842 20.5905 19.5905 20.2839 19.7822 19.9076C20 19.4802 20 18.921 20 17.8031V13C20 12.0681 19.9999 11.6024 19.8477 11.2349C19.6447 10.7448 19.2554 10.3552 18.7654 10.1522C18.3978 10 17.9319 10 17 10",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})},studyroom:{viewBox:"0 0 32 32",paths:u.jsx("path",{d:"M10.4079 21.5925H24.3967V8.52585C24.3967 8.03078 24.2 7.55598 23.8499 7.20591C23.4999 6.85585 23.0251 6.65918 22.53 6.65918H10.3967C9.27108 6.65918 7.59668 7.40491 7.59668 9.45918V22.5258C7.59668 24.5801 9.27108 25.3258 10.3967 25.3258H24.3967V23.4592H10.4079C9.97668 23.448 9.46335 23.2772 9.46335 22.5258C9.46335 21.7745 9.97668 21.6037 10.4079 21.5925ZM12.2633 10.3925H20.6633V12.2592H12.2633V10.3925Z",fill:"currentColor"})},traffic:{viewBox:"0 0 20 20",paths:u.jsx("path",{d:"M13.4948 9.42188H6.49479V6.50521H13.4948M12.6198 12.9219C12.3877 12.9219 12.1652 12.8297 12.0011 12.6656C11.837 12.5015 11.7448 12.2789 11.7448 12.0469C11.7448 11.8148 11.837 11.5923 12.0011 11.4282C12.1652 11.2641 12.3877 11.1719 12.6198 11.1719C12.8519 11.1719 13.0744 11.2641 13.2385 11.4282C13.4026 11.5923 13.4948 11.8148 13.4948 12.0469C13.4948 12.2789 13.4026 12.5015 13.2385 12.6656C13.0744 12.8297 12.8519 12.9219 12.6198 12.9219ZM7.36979 12.9219C7.13773 12.9219 6.91517 12.8297 6.75107 12.6656C6.58698 12.5015 6.49479 12.2789 6.49479 12.0469C6.49479 11.8148 6.58698 11.5923 6.75107 11.4282C6.91517 11.2641 7.13773 11.1719 7.36979 11.1719C7.60186 11.1719 7.82442 11.2641 7.98851 11.4282C8.1526 11.5923 8.24479 11.8148 8.24479 12.0469C8.24479 12.2789 8.1526 12.5015 7.98851 12.6656C7.82442 12.8297 7.60186 12.9219 7.36979 12.9219ZM5.32812 12.3385C5.32812 12.8519 5.55562 13.3127 5.91146 13.6335V14.6719C5.91146 14.8266 5.97292 14.975 6.08231 15.0844C6.19171 15.1938 6.34008 15.2552 6.49479 15.2552H7.07812C7.23283 15.2552 7.38121 15.1938 7.4906 15.0844C7.6 14.975 7.66146 14.8266 7.66146 14.6719V14.0885H12.3281V14.6719C12.3281 14.8266 12.3896 14.975 12.499 15.0844C12.6084 15.1938 12.7567 15.2552 12.9115 15.2552H13.4948C13.6495 15.2552 13.7979 15.1938 13.9073 15.0844C14.0167 14.975 14.0781 14.8266 14.0781 14.6719V13.6335C14.434 13.3127 14.6615 12.8519 14.6615 12.3385V6.50521C14.6615 4.46354 12.5731 4.17188 9.99479 4.17188C7.41646 4.17188 5.32812 4.46354 5.32812 6.50521V12.3385Z",fill:"currentColor"})}},$r=N({base:{display:"inline-block",flexShrink:0},variants:{iconStyle:{default:{color:"fg.neutral.subtle"},weak:{color:"fg.neutral.subtler"},weakest:{color:"fg.neutral.subtlest"},brand:{color:"fg.brand.default"},inverted:{color:"fg.neutral.faintest"}},iconSize:{xs:{width:"16px",height:"16px"},sm:{width:"20px",height:"20px"},md:{width:"24px",height:"24px"},lg:{width:"32px",height:"32px"}}}});function z({type:e,size:t="md",variant:r,className:o}){const n=Nr[e];return u.jsx("svg",{viewBox:n.viewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:V($r({iconStyle:r,iconSize:t}),o),children:n.paths})}const Dr=N({base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,cursor:"pointer",border:"none",boxSizing:"border-box",fontFamily:"inherit",_disabled:{cursor:"not-allowed"}},variants:{variant:{clear:{bg:"transparent",color:"fg.neutral.subtle",_active:{color:"fg.neutral.subtler"},_disabled:{color:"fg.neutral.subtlest",bg:"transparent",_active:{color:"fg.neutral.subtlest"}}},fill:{bg:"fill.neutral.default",color:"fg.neutral.faintest",_active:{bg:"fill.neutral.default-pressed"},_disabled:{bg:"fill.neutral.default-disabled",color:"fg.neutral.subtler",_active:{bg:"fill.neutral.default-disabled",color:"fg.neutral.subtler"}}}},size:{sm:{width:"36px",height:"36px",borderRadius:"xs"},md:{width:"48px",height:"48px",borderRadius:"sm"},lg:{width:"54px",height:"54px",borderRadius:"sm"}}},defaultVariants:{variant:"clear",size:"md"}});function Vr({size:e,variant:t,className:r,children:o,...n}){return u.jsx("button",{type:"button",className:V(Dr({size:e,variant:t}),r),...n,children:o})}function T(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)}}function Te(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Br(...e){return t=>{let r=!1;const o=e.map(n=>{const s=Te(n,t);return!r&&typeof s=="function"&&(r=!0),s});if(r)return()=>{for(let n=0;n<o.length;n++){const s=o[n];typeof s=="function"?s():Te(e[n],null)}}}}function Z(...e){return a.useCallback(Br(...e),e)}function Fr(e,t=[]){let r=[];function o(s,i){const l=a.createContext(i);l.displayName=s+"Context";const c=r.length;r=[...r,i];const d=f=>{var w;const{scope:b,children:g,...h}=f,m=((w=b==null?void 0:b[e])==null?void 0:w[c])||l,C=a.useMemo(()=>h,Object.values(h));return u.jsx(m.Provider,{value:C,children:g})};d.displayName=s+"Provider";function p(f,b){var m;const g=((m=b==null?void 0:b[e])==null?void 0:m[c])||l,h=a.useContext(g);if(h)return h;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[d,p]}const n=()=>{const s=r.map(i=>a.createContext(i));return function(l){const c=(l==null?void 0:l[e])||s;return a.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return n.scopeName=e,[o,Wr(n,...t)]}function Wr(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const o=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(s){const i=o.reduce((l,{useScope:c,scopeName:d})=>{const f=c(s)[`__scope${d}`];return{...l,...f}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function Pe(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Hr(...e){return t=>{let r=!1;const o=e.map(n=>{const s=Pe(n,t);return!r&&typeof s=="function"&&(r=!0),s});if(r)return()=>{for(let n=0;n<o.length;n++){const s=o[n];typeof s=="function"?s():Pe(e[n],null)}}}}function le(...e){return a.useCallback(Hr(...e),e)}function ke(e){const t=a.forwardRef((r,o)=>{let{children:n,...s}=r,i=null,l=!1;const c=[];Le(n)&&typeof G=="function"&&(n=G(n._payload)),a.Children.forEach(n,b=>{var g;if(Xr(b)){l=!0;const h=b;let m="child"in h.props?h.props.child:h.props.children;Le(m)&&typeof G=="function"&&(m=G(m._payload)),i=Zr(h,m),c.push((g=i==null?void 0:i.props)==null?void 0:g.children)}else c.push(b)}),i?i=a.cloneElement(i,void 0,c):!l&&a.Children.count(n)===1&&a.isValidElement(n)&&(i=n);const d=i?Ur(i):void 0,p=le(o,d);if(!i){if(n||n===0)throw new Error(l?Jr(e):Gr(e));return n}const f=Yr(s,i.props??{});return i.type!==a.Fragment&&(f.ref=o?p:d),a.cloneElement(i,f)});return t.displayName=`${e}.Slot`,t}var zr=Symbol.for("radix.slottable"),Zr=(e,t)=>{if("child"in e.props){const r=e.props.child;return a.isValidElement(r)?a.cloneElement(r,void 0,e.props.children(r.props.children)):null}return a.isValidElement(t)?t:null};function Yr(e,t){const r={...t};for(const o in t){const n=e[o],s=t[o];/^on[A-Z]/.test(o)?n&&s?r[o]=(...l)=>{const c=s(...l);return n(...l),c}:n&&(r[o]=n):o==="style"?r[o]={...n,...s}:o==="className"&&(r[o]=[n,s].filter(Boolean).join(" "))}return{...e,...r}}function Ur(e){var o,n;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function Xr(e){return a.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===zr}var Kr=Symbol.for("react.lazy");function Le(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Kr&&"_payload"in e&&qr(e._payload)}function qr(e){return typeof e=="object"&&e!==null&&"then"in e}var Gr=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,Jr=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,G=a[" use ".trim().toString()];function Qr(e){const t=e+"CollectionProvider",[r,o]=Fr(t),[n,s]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{const{scope:C,children:w}=m,v=a.useRef(null),y=a.useRef(new Map).current;return u.jsx(n,{scope:C,itemMap:y,collectionRef:v,children:w})};i.displayName=t;const l=e+"CollectionSlot",c=ke(l),d=a.forwardRef((m,C)=>{const{scope:w,children:v}=m,y=s(l,w),S=le(C,y.collectionRef);return u.jsx(c,{ref:S,children:v})});d.displayName=l;const p=e+"CollectionItemSlot",f="data-radix-collection-item",b=ke(p),g=a.forwardRef((m,C)=>{const{scope:w,children:v,...y}=m,S=a.useRef(null),_=le(C,S),R=s(p,w);return a.useEffect(()=>(R.itemMap.set(S,{ref:S,...y}),()=>void R.itemMap.delete(S))),u.jsx(b,{[f]:"",ref:_,children:v})});g.displayName=p;function h(m){const C=s(e+"CollectionConsumer",m);return a.useCallback(()=>{const v=C.collectionRef.current;if(!v)return[];const y=Array.from(v.querySelectorAll(`[${f}]`));return Array.from(C.itemMap.values()).sort((R,k)=>y.indexOf(R.ref.current)-y.indexOf(k.ref.current))},[C.collectionRef,C.itemMap])}return[{Provider:i,Slot:d,ItemSlot:g},h,o]}function en(e,t=[]){let r=[];function o(s,i){const l=a.createContext(i);l.displayName=s+"Context";const c=r.length;r=[...r,i];const d=f=>{var w;const{scope:b,children:g,...h}=f,m=((w=b==null?void 0:b[e])==null?void 0:w[c])||l,C=a.useMemo(()=>h,Object.values(h));return u.jsx(m.Provider,{value:C,children:g})};d.displayName=s+"Provider";function p(f,b){var m;const g=((m=b==null?void 0:b[e])==null?void 0:m[c])||l,h=a.useContext(g);if(h)return h;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[d,p]}const n=()=>{const s=r.map(i=>a.createContext(i));return function(l){const c=(l==null?void 0:l[e])||s;return a.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return n.scopeName=e,[o,tn(n,...t)]}function tn(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const o=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(s){const i=o.reduce((l,{useScope:c,scopeName:d})=>{const f=c(s)[`__scope${d}`];return{...l,...f}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function rn(e){const t=a.forwardRef((r,o)=>{let{children:n,...s}=r,i=null,l=!1;const c=[];je(n)&&typeof J=="function"&&(n=J(n._payload)),a.Children.forEach(n,b=>{var g;if(ln(b)){l=!0;const h=b;let m="child"in h.props?h.props.child:h.props.children;je(m)&&typeof J=="function"&&(m=J(m._payload)),i=on(h,m),c.push((g=i==null?void 0:i.props)==null?void 0:g.children)}else c.push(b)}),i?i=a.cloneElement(i,void 0,c):!l&&a.Children.count(n)===1&&a.isValidElement(n)&&(i=n);const d=i?an(i):void 0,p=Z(o,d);if(!i){if(n||n===0)throw new Error(l?fn(e):dn(e));return n}const f=sn(s,i.props??{});return i.type!==a.Fragment&&(f.ref=o?p:d),a.cloneElement(i,f)});return t.displayName=`${e}.Slot`,t}var nn=Symbol.for("radix.slottable"),on=(e,t)=>{if("child"in e.props){const r=e.props.child;return a.isValidElement(r)?a.cloneElement(r,void 0,e.props.children(r.props.children)):null}return a.isValidElement(t)?t:null};function sn(e,t){const r={...t};for(const o in t){const n=e[o],s=t[o];/^on[A-Z]/.test(o)?n&&s?r[o]=(...l)=>{const c=s(...l);return n(...l),c}:n&&(r[o]=n):o==="style"?r[o]={...n,...s}:o==="className"&&(r[o]=[n,s].filter(Boolean).join(" "))}return{...e,...r}}function an(e){var o,n;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function ln(e){return a.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===nn}var cn=Symbol.for("react.lazy");function je(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===cn&&"_payload"in e&&un(e._payload)}function un(e){return typeof e=="object"&&e!==null&&"then"in e}var dn=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,fn=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,J=a[" use ".trim().toString()],pn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],M=pn.reduce((e,t)=>{const r=rn(`Primitive.${t}`),o=a.forwardRef((n,s)=>{const{asChild:i,...l}=n,c=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),u.jsx(c,{...l,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function Ge(e,t){e&&pe.flushSync(()=>e.dispatchEvent(t))}function D(e){const t=a.useRef(e);return a.useEffect(()=>{t.current=e}),a.useMemo(()=>((...r)=>{var o;return(o=t.current)==null?void 0:o.call(t,...r)}),[])}function mn(e,t=globalThis==null?void 0:globalThis.document){const r=D(e);a.useEffect(()=>{const o=n=>{n.key==="Escape"&&r(n)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[r,t])}var bn="DismissableLayer",ce="dismissableLayer.update",gn="dismissableLayer.pointerDownOutside",Cn="dismissableLayer.focusOutside",Oe,Je=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),Qe=a.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,deferPointerDownOutside:o=!1,onEscapeKeyDown:n,onPointerDownOutside:s,onFocusOutside:i,onInteractOutside:l,onDismiss:c,...d}=e,p=a.useContext(Je),[f,b]=a.useState(null),g=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=a.useState({}),m=Z(t,E=>b(E)),C=Array.from(p.layers),[w]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),v=C.indexOf(w),y=f?C.indexOf(f):-1,S=p.layersWithOutsidePointerEventsDisabled.size>0,_=y>=v,R=a.useRef(!1),k=vn(E=>{const j=E.target;if(!(j instanceof Node))return;const O=[...p.branches].some(L=>L.contains(j));!_||O||(s==null||s(E),l==null||l(E),E.defaultPrevented||c==null||c())},{ownerDocument:g,deferPointerDownOutside:o,isDeferredPointerDownOutsideRef:R,dismissableSurfaces:p.dismissableSurfaces}),I=yn(E=>{if(o&&R.current)return;const j=E.target;[...p.branches].some(L=>L.contains(j))||(i==null||i(E),l==null||l(E),E.defaultPrevented||c==null||c())},g);return mn(E=>{y===p.layers.size-1&&(n==null||n(E),!E.defaultPrevented&&c&&(E.preventDefault(),c()))},g),a.useEffect(()=>{if(f)return r&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(Oe=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(f)),p.layers.add(f),Me(),()=>{r&&(p.layersWithOutsidePointerEventsDisabled.delete(f),p.layersWithOutsidePointerEventsDisabled.size===0&&(g.body.style.pointerEvents=Oe))}},[f,g,r,p]),a.useEffect(()=>()=>{f&&(p.layers.delete(f),p.layersWithOutsidePointerEventsDisabled.delete(f),Me())},[f,p]),a.useEffect(()=>{const E=()=>h({});return document.addEventListener(ce,E),()=>document.removeEventListener(ce,E)},[]),u.jsx(M.div,{...d,ref:m,style:{pointerEvents:S?_?"auto":"none":void 0,...e.style},onFocusCapture:T(e.onFocusCapture,I.onFocusCapture),onBlurCapture:T(e.onBlurCapture,I.onBlurCapture),onPointerDownCapture:T(e.onPointerDownCapture,k.onPointerDownCapture)})});Qe.displayName=bn;var hn="DismissableLayerBranch",et=a.forwardRef((e,t)=>{const r=a.useContext(Je),o=a.useRef(null),n=Z(t,o);return a.useEffect(()=>{const s=o.current;if(s)return r.branches.add(s),()=>{r.branches.delete(s)}},[r.branches]),u.jsx(M.div,{...e,ref:n})});et.displayName=hn;function vn(e,t){const{ownerDocument:r=globalThis==null?void 0:globalThis.document,deferPointerDownOutside:o=!1,isDeferredPointerDownOutsideRef:n,dismissableSurfaces:s}=t,i=D(e),l=a.useRef(!1),c=a.useRef(!1),d=a.useRef(new Map),p=a.useRef(()=>{});return a.useEffect(()=>{function f(){c.current=!1,n.current=!1,d.current.clear()}function b(){return Array.from(d.current.values()).some(Boolean)}function g(v){if(!c.current)return;const y=v.target;y instanceof Node&&[...s].some(_=>_.contains(y))||d.current.set(v.type,!0),v.type==="click"&&window.setTimeout(()=>{c.current&&p.current()},0)}function h(v){c.current&&d.current.set(v.type,!1)}const m=v=>{if(v.target&&!l.current){let y=function(){r.removeEventListener("click",p.current);const _=b();f(),_||tt(gn,i,S,{discrete:!0})};const S={originalEvent:v};c.current=!0,n.current=o&&v.button===0,d.current.clear(),!o||v.button!==0?y():(r.removeEventListener("click",p.current),p.current=y,r.addEventListener("click",p.current,{once:!0}))}else r.removeEventListener("click",p.current),f();l.current=!1},C=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const v of C)r.addEventListener(v,g,!0),r.addEventListener(v,h);const w=window.setTimeout(()=>{r.addEventListener("pointerdown",m)},0);return()=>{window.clearTimeout(w),r.removeEventListener("pointerdown",m),r.removeEventListener("click",p.current);for(const v of C)r.removeEventListener(v,g,!0),r.removeEventListener(v,h)}},[r,i,o,n,s]),{onPointerDownCapture:()=>l.current=!0}}function yn(e,t=globalThis==null?void 0:globalThis.document){const r=D(e),o=a.useRef(!1);return a.useEffect(()=>{const n=s=>{s.target&&!o.current&&tt(Cn,r,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",n),()=>t.removeEventListener("focusin",n)},[t,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Me(){const e=new CustomEvent(ce);document.dispatchEvent(e)}function tt(e,t,r,{discrete:o}){const n=r.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&n.addEventListener(e,t,{once:!0}),o?Ge(n,s):n.dispatchEvent(s)}var xn=Qe,wn=et,Sn="Portal",rt=a.forwardRef((e,t)=>{var l;const{container:r,...o}=e,[n,s]=a.useState(!1);F(()=>s(!0),[]);const i=r||n&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return i?pe.createPortal(u.jsx(M.div,{...o,ref:t}),i):null});rt.displayName=Sn;function En(e,t){return a.useReducer((r,o)=>t[r][o]??r,e)}var nt=e=>{const{present:t,children:r}=e,o=_n(t),n=typeof r=="function"?r({present:o.isPresent}):a.Children.only(r),s=Rn(o.ref,Tn(n));return typeof r=="function"||o.isPresent?a.cloneElement(n,{ref:s}):null};nt.displayName="Presence";function _n(e){const[t,r]=a.useState(),o=a.useRef(null),n=a.useRef(e),s=a.useRef("none"),i=e?"mounted":"unmounted",[l,c]=En(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return a.useEffect(()=>{const d=Q(o.current);s.current=l==="mounted"?d:"none"},[l]),F(()=>{const d=o.current,p=n.current;if(p!==e){const b=s.current,g=Q(d);e?c("MOUNT"):g==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(p&&b!==g?"ANIMATION_OUT":"UNMOUNT"),n.current=e}},[e,c]),F(()=>{if(t){let d;const p=t.ownerDocument.defaultView??window,f=g=>{const m=Q(o.current).includes(CSS.escape(g.animationName));if(g.target===t&&m&&(c("ANIMATION_END"),!n.current)){const C=t.style.animationFillMode;t.style.animationFillMode="forwards",d=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=C)})}},b=g=>{g.target===t&&(s.current=Q(o.current))};return t.addEventListener("animationstart",b),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{p.clearTimeout(d),t.removeEventListener("animationstart",b),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:a.useCallback(d=>{o.current=d?getComputedStyle(d):null,r(d)},[])}}function Ie(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Rn(...e){const t=a.useRef(e);return t.current=e,a.useCallback(r=>{const o=t.current;let n=!1;const s=o.map(i=>{const l=Ie(i,r);return!n&&typeof l=="function"&&(n=!0),l});if(n)return()=>{for(let i=0;i<s.length;i++){const l=s[i];typeof l=="function"?l():Ie(o[i],null)}}},[])}function Q(e){return(e==null?void 0:e.animationName)||"none"}function Tn(e){var o,n;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Pn=a[" useInsertionEffect ".trim().toString()]||F;function kn({prop:e,defaultProp:t,onChange:r=()=>{},caller:o}){const[n,s,i]=Ln({defaultProp:t,onChange:r}),l=e!==void 0,c=l?e:n;{const p=a.useRef(e!==void 0);a.useEffect(()=>{const f=p.current;f!==l&&console.warn(`${o} is changing from ${f?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),p.current=l},[l,o])}const d=a.useCallback(p=>{var f;if(l){const b=jn(p)?p(e):p;b!==e&&((f=i.current)==null||f.call(i,b))}else s(p)},[l,e,s,i]);return[c,d]}function Ln({defaultProp:e,onChange:t}){const[r,o]=a.useState(e),n=a.useRef(r),s=a.useRef(t);return Pn(()=>{s.current=t},[t]),a.useEffect(()=>{var i;n.current!==r&&((i=s.current)==null||i.call(s,r),n.current=r)},[r,n]),[r,o,s]}function jn(e){return typeof e=="function"}function Ae(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function On(...e){return t=>{let r=!1;const o=e.map(n=>{const s=Ae(n,t);return!r&&typeof s=="function"&&(r=!0),s});if(r)return()=>{for(let n=0;n<o.length;n++){const s=o[n];typeof s=="function"?s():Ae(e[n],null)}}}}function Mn(...e){return a.useCallback(On(...e),e)}function In(e){const t=a.forwardRef((r,o)=>{let{children:n,...s}=r,i=null,l=!1;const c=[];Ne(n)&&typeof ee=="function"&&(n=ee(n._payload)),a.Children.forEach(n,b=>{var g;if(Vn(b)){l=!0;const h=b;let m="child"in h.props?h.props.child:h.props.children;Ne(m)&&typeof ee=="function"&&(m=ee(m._payload)),i=Nn(h,m),c.push((g=i==null?void 0:i.props)==null?void 0:g.children)}else c.push(b)}),i?i=a.cloneElement(i,void 0,c):!l&&a.Children.count(n)===1&&a.isValidElement(n)&&(i=n);const d=i?Dn(i):void 0,p=Mn(o,d);if(!i){if(n||n===0)throw new Error(l?Hn(e):Wn(e));return n}const f=$n(s,i.props??{});return i.type!==a.Fragment&&(f.ref=o?p:d),a.cloneElement(i,f)});return t.displayName=`${e}.Slot`,t}var An=Symbol.for("radix.slottable"),Nn=(e,t)=>{if("child"in e.props){const r=e.props.child;return a.isValidElement(r)?a.cloneElement(r,void 0,e.props.children(r.props.children)):null}return a.isValidElement(t)?t:null};function $n(e,t){const r={...t};for(const o in t){const n=e[o],s=t[o];/^on[A-Z]/.test(o)?n&&s?r[o]=(...l)=>{const c=s(...l);return n(...l),c}:n&&(r[o]=n):o==="style"?r[o]={...n,...s}:o==="className"&&(r[o]=[n,s].filter(Boolean).join(" "))}return{...e,...r}}function Dn(e){var o,n;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function Vn(e){return a.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===An}var Bn=Symbol.for("react.lazy");function Ne(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Bn&&"_payload"in e&&Fn(e._payload)}function Fn(e){return typeof e=="object"&&e!==null&&"then"in e}var Wn=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,Hn=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,ee=a[" use ".trim().toString()],zn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Zn=zn.reduce((e,t)=>{const r=In(`Primitive.${t}`),o=a.forwardRef((n,s)=>{const{asChild:i,...l}=n,c=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),u.jsx(c,{...l,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),Yn=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Un="VisuallyHidden",be=a.forwardRef((e,t)=>u.jsx(Zn.span,{...e,ref:t,style:{...Yn,...e.style}}));be.displayName=Un;var ge="ToastProvider",[Ce,Xn,Kn]=Qr("Toast"),[ot]=en("Toast",[Kn]),[qn,oe]=ot(ge),st=e=>{const{__scopeToast:t,label:r="Notification",duration:o=5e3,swipeDirection:n="right",swipeThreshold:s=50,announcerContainer:i,children:l}=e,[c,d]=a.useState(null),[p,f]=a.useState(0),b=a.useRef(!1),g=a.useRef(!1);return r.trim()||console.error(`Invalid prop \`label\` supplied to \`${ge}\`. Expected non-empty \`string\`.`),u.jsx(Ce.Provider,{scope:t,children:u.jsx(qn,{scope:t,label:r,duration:o,swipeDirection:n,swipeThreshold:s,toastCount:p,viewport:c,onViewportChange:d,onToastAdd:a.useCallback(()=>f(h=>h+1),[]),onToastRemove:a.useCallback(()=>f(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:b,isClosePausedRef:g,announcerContainer:i,children:l})})};st.displayName=ge;var it="ToastViewport",Gn=["F8"],ue="toast.viewportPause",de="toast.viewportResume",at=a.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:o=Gn,label:n="Notifications ({hotkey})",...s}=e,i=oe(it,r),l=Xn(r),c=a.useRef(null),d=a.useRef(null),p=a.useRef(null),f=a.useRef(null),b=Z(t,f,i.onViewportChange),g=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),h=i.toastCount>0;a.useEffect(()=>{const C=w=>{var y;o.length!==0&&o.every(S=>w[S]||w.code===S)&&((y=f.current)==null||y.focus())};return document.addEventListener("keydown",C),()=>document.removeEventListener("keydown",C)},[o]),a.useEffect(()=>{const C=c.current,w=f.current;if(h&&C&&w){const v=()=>{if(!i.isClosePausedRef.current){const R=new CustomEvent(ue);w.dispatchEvent(R),i.isClosePausedRef.current=!0}},y=()=>{if(i.isClosePausedRef.current){const R=new CustomEvent(de);w.dispatchEvent(R),i.isClosePausedRef.current=!1}},S=R=>{!C.contains(R.relatedTarget)&&y()},_=()=>{C.contains(document.activeElement)||y()};return C.addEventListener("focusin",v),C.addEventListener("focusout",S),C.addEventListener("pointermove",v),C.addEventListener("pointerleave",_),window.addEventListener("blur",v),window.addEventListener("focus",y),()=>{C.removeEventListener("focusin",v),C.removeEventListener("focusout",S),C.removeEventListener("pointermove",v),C.removeEventListener("pointerleave",_),window.removeEventListener("blur",v),window.removeEventListener("focus",y)}}},[h,i.isClosePausedRef]);const m=a.useCallback(({tabbingDirection:C})=>{const v=l().map(y=>{const S=y.ref.current,_=[S,...po(S)];return C==="forwards"?_:_.reverse()});return(C==="forwards"?v.reverse():v).flat()},[l]);return a.useEffect(()=>{const C=f.current;if(C){const w=v=>{var _,R,k;const y=v.altKey||v.ctrlKey||v.metaKey;if(v.key==="Tab"&&!y){const I=document.activeElement,E=v.shiftKey;if(v.target===C&&E){(_=d.current)==null||_.focus();return}const L=m({tabbingDirection:E?"backwards":"forwards"}),U=L.findIndex(x=>x===I);ie(L.slice(U+1))?v.preventDefault():E?(R=d.current)==null||R.focus():(k=p.current)==null||k.focus()}};return C.addEventListener("keydown",w),()=>C.removeEventListener("keydown",w)}},[l,m]),u.jsxs(wn,{ref:c,role:"region","aria-label":n.replace("{hotkey}",g),tabIndex:-1,style:{pointerEvents:h?void 0:"none"},children:[h&&u.jsx(fe,{ref:d,onFocusFromOutsideViewport:()=>{const C=m({tabbingDirection:"forwards"});ie(C)}}),u.jsx(Ce.Slot,{scope:r,children:u.jsx(M.ol,{tabIndex:-1,...s,ref:b})}),h&&u.jsx(fe,{ref:p,onFocusFromOutsideViewport:()=>{const C=m({tabbingDirection:"backwards"});ie(C)}})]})});at.displayName=it;var lt="ToastFocusProxy",fe=a.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:o,...n}=e,s=oe(lt,r);return u.jsx(be,{tabIndex:0,...n,ref:t,style:{position:"fixed"},onFocus:i=>{var d;const l=i.relatedTarget;!((d=s.viewport)!=null&&d.contains(l))&&o()}})});fe.displayName=lt;var Y="Toast",Jn="toast.swipeStart",Qn="toast.swipeMove",eo="toast.swipeCancel",to="toast.swipeEnd",ct=a.forwardRef((e,t)=>{const{forceMount:r,open:o,defaultOpen:n,onOpenChange:s,...i}=e,[l,c]=kn({prop:o,defaultProp:n??!0,onChange:s,caller:Y});return u.jsx(nt,{present:r||l,children:u.jsx(oo,{open:l,...i,ref:t,onClose:()=>c(!1),onPause:D(e.onPause),onResume:D(e.onResume),onSwipeStart:T(e.onSwipeStart,d=>{d.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:T(e.onSwipeMove,d=>{const{x:p,y:f}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","move"),d.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${p}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:T(e.onSwipeCancel,d=>{d.currentTarget.setAttribute("data-swipe","cancel"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:T(e.onSwipeEnd,d=>{const{x:p,y:f}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","end"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${p}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),c(!1)})})})});ct.displayName=Y;var[ro,no]=ot(Y,{onClose(){}}),oo=a.forwardRef((e,t)=>{const{__scopeToast:r,type:o="foreground",duration:n,open:s,onClose:i,onEscapeKeyDown:l,onPause:c,onResume:d,onSwipeStart:p,onSwipeMove:f,onSwipeCancel:b,onSwipeEnd:g,...h}=e,m=oe(Y,r),[C,w]=a.useState(null),v=Z(t,x=>w(x)),y=a.useRef(null),S=a.useRef(null),_=n||m.duration,R=a.useRef(0),k=a.useRef(_),I=a.useRef(0),{onToastAdd:E,onToastRemove:j}=m,O=D(()=>{var P;(C==null?void 0:C.contains(document.activeElement))&&((P=m.viewport)==null||P.focus()),i()}),L=a.useCallback(x=>{!x||x===1/0||(window.clearTimeout(I.current),R.current=new Date().getTime(),I.current=window.setTimeout(O,x))},[O]);a.useEffect(()=>{const x=m.viewport;if(x){const P=()=>{L(k.current),d==null||d()},A=()=>{const W=new Date().getTime()-R.current;k.current=k.current-W,window.clearTimeout(I.current),c==null||c()};return x.addEventListener(ue,A),x.addEventListener(de,P),()=>{x.removeEventListener(ue,A),x.removeEventListener(de,P)}}},[m.viewport,_,c,d,L]),a.useEffect(()=>{s&&!m.isClosePausedRef.current&&L(_)},[s,_,m.isClosePausedRef,L]),a.useEffect(()=>(E(),()=>j()),[E,j]);const U=a.useMemo(()=>C?bt(C):null,[C]);return m.viewport?u.jsxs(u.Fragment,{children:[U&&u.jsx(so,{__scopeToast:r,role:"status","aria-live":o==="foreground"?"assertive":"polite",children:U}),u.jsx(ro,{scope:r,onClose:O,children:pe.createPortal(u.jsx(Ce.ItemSlot,{scope:r,children:u.jsx(xn,{asChild:!0,onEscapeKeyDown:T(l,()=>{m.isFocusedToastEscapeKeyDownRef.current||O(),m.isFocusedToastEscapeKeyDownRef.current=!1}),children:u.jsx(M.li,{tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":m.swipeDirection,...h,ref:v,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:T(e.onKeyDown,x=>{x.key==="Escape"&&(l==null||l(x.nativeEvent),x.nativeEvent.defaultPrevented||(m.isFocusedToastEscapeKeyDownRef.current=!0,O()))}),onPointerDown:T(e.onPointerDown,x=>{x.button===0&&(y.current={x:x.clientX,y:x.clientY})}),onPointerMove:T(e.onPointerMove,x=>{if(!y.current)return;const P=x.clientX-y.current.x,A=x.clientY-y.current.y,W=!!S.current,H=["left","right"].includes(m.swipeDirection),X=["left","up"].includes(m.swipeDirection)?Math.min:Math.max,gt=H?X(0,P):0,Ct=H?0:X(0,A),se=x.pointerType==="touch"?10:2,K={x:gt,y:Ct},he={originalEvent:x,delta:K};W?(S.current=K,te(Qn,f,he,{discrete:!1})):$e(K,m.swipeDirection,se)?(S.current=K,te(Jn,p,he,{discrete:!1}),x.target.setPointerCapture(x.pointerId)):(Math.abs(P)>se||Math.abs(A)>se)&&(y.current=null)}),onPointerUp:T(e.onPointerUp,x=>{const P=S.current,A=x.target;if(A.hasPointerCapture(x.pointerId)&&A.releasePointerCapture(x.pointerId),S.current=null,y.current=null,P){const W=x.currentTarget,H={originalEvent:x,delta:P};$e(P,m.swipeDirection,m.swipeThreshold)?te(to,g,H,{discrete:!0}):te(eo,b,H,{discrete:!0}),W.addEventListener("click",X=>X.preventDefault(),{once:!0})}})})})}),m.viewport)})]}):null}),so=e=>{const{__scopeToast:t,children:r,...o}=e,n=oe(Y,t),[s,i]=a.useState(!1),[l,c]=a.useState(!1);return uo(()=>i(!0)),a.useEffect(()=>{const d=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(d)},[]),l?null:u.jsx(rt,{asChild:!0,container:n.announcerContainer||void 0,children:u.jsx(be,{...o,children:s&&u.jsxs(u.Fragment,{children:[n.label," ",r]})})})},io="ToastTitle",ao=a.forwardRef((e,t)=>{const{__scopeToast:r,...o}=e;return u.jsx(M.div,{...o,ref:t})});ao.displayName=io;var lo="ToastDescription",ut=a.forwardRef((e,t)=>{const{__scopeToast:r,...o}=e;return u.jsx(M.div,{...o,ref:t})});ut.displayName=lo;var dt="ToastAction",co=a.forwardRef((e,t)=>{const{altText:r,...o}=e;return r.trim()?u.jsx(mt,{altText:r,asChild:!0,children:u.jsx(pt,{...o,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${dt}\`. Expected non-empty \`string\`.`),null)});co.displayName=dt;var ft="ToastClose",pt=a.forwardRef((e,t)=>{const{__scopeToast:r,...o}=e,n=no(ft,r);return u.jsx(mt,{asChild:!0,children:u.jsx(M.button,{type:"button",...o,ref:t,onClick:T(e.onClick,n.onClose)})})});pt.displayName=ft;var mt=a.forwardRef((e,t)=>{const{__scopeToast:r,altText:o,...n}=e;return u.jsx(M.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0,...n,ref:t})});function bt(e){const t=[];return Array.from(e.childNodes).forEach(o=>{if(o.nodeType===o.TEXT_NODE&&o.textContent&&t.push(o.textContent),fo(o)){const n=o.ariaHidden||o.hidden||o.style.display==="none",s=o.dataset.radixToastAnnounceExclude==="";if(!n)if(s){const i=o.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...bt(o))}}),t}function te(e,t,r,{discrete:o}){const n=r.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&n.addEventListener(e,t,{once:!0}),o?Ge(n,s):n.dispatchEvent(s)}var $e=(e,t,r=0)=>{const o=Math.abs(e.x),n=Math.abs(e.y),s=o>n;return t==="left"||t==="right"?s&&o>r:!s&&n>r};function uo(e=()=>{}){const t=D(e);F(()=>{let r=0,o=0;return r=window.requestAnimationFrame(()=>o=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(o)}},[t])}function fo(e){return e.nodeType===e.ELEMENT_NODE}function po(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const n=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||n?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function ie(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}var mo=st,bo=at,go=ct,Co=ut;const ho=mo;function vo(e){return u.jsx(bo,{className:B({position:"fixed",bottom:"12px",left:"50%",transform:"translateX(-50%)",display:"flex",flexDirection:"column",alignItems:"center",gap:"8px",zIndex:100,outline:"none",listStyleType:"none"}),...e})}function yo(e){const{variant:t,message:r,open:o,defaultOpen:n,onOpenChange:s,duration:i}=e;return u.jsxs(go,{open:o,defaultOpen:n,onOpenChange:s,duration:i,className:B({display:"inline-flex",alignItems:"center",gap:"4px",px:"16px",py:"8px",bg:"overlay.neutral.stronger",borderRadius:"full",whiteSpace:"nowrap",boxSizing:"border-box"}),children:[t==="neutral"&&e.icon&&u.jsx(z,{type:e.icon,variant:"inverted",size:"sm"}),t==="negative"&&u.jsx(z,{type:"error",size:"sm"}),t==="positive"&&u.jsx(z,{type:"success",size:"sm"}),u.jsx(Co,{className:B({textStyle:"body4",color:"fg.neutral.faintest"}),children:r})]})}const xo=N({base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,w:"40px",h:"40px",borderRadius:"full",bg:"fill.neutral.faintest",shadow:"strong",cursor:"pointer",border:"none",boxSizing:"border-box",_active:{bg:"fill.neutral.subtler"}},variants:{type:{up:{position:"fixed",bottom:"20px",right:"20px",zIndex:40},back:{}}}}),wo={up:"arrow_up",back:"chevron_left"};function So({type:e,className:t,...r}){return u.jsx("button",{type:"button",className:V(xo({type:e}),t),...r,children:u.jsx(z,{type:wo[e],size:"md"})})}const Eo="0.2.0";exports.Badge=Jt;exports.Button=ur;exports.Chip=Or;exports.FloatingButton=So;exports.Icon=z;exports.IconButton=Vr;exports.Toast=yo;exports.ToastProvider=ho;exports.ToastViewport=vo;exports.css=B;exports.cva=N;exports.cx=V;exports.version=Eo;
|