@moyeorak/design-system 0.2.0 → 0.3.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 CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  ## 프로젝트 소개
4
4
 
5
- 실 서비스인 모여락을 먼저 개발한 뒤 시작된 프로젝트예요. 함께 작업한 디자이너와 함께 디자인 토큰과 컴포넌트를 체계적으로 문서화해 디자이너-개발자 간 커뮤니케이션 비용을 줄이고 서비스 전반의 디자인 일관성을 보장하고 싶어서 별도 프로젝트로 시작했어요. 아직 모여락 서비스 자체에는 적용하지 못했고, 새로 시작하는 프로젝트에 먼저 도입해 검증할 계획이에요.
5
+ 실 서비스인 모여락을 먼저 개발한 뒤 시작된 프로젝트로, 함께 작업한 디자이너와 함께 디자인 토큰과 컴포넌트를 체계적으로 문서화해 디자이너-개발자 간 커뮤니케이션 비용을 줄이고 서비스 전반의 디자인 일관성을 보장하고자 별도 프로젝트로 시작했습니다.
6
6
 
7
7
  ### 기술적 의사결정
8
8
 
9
9
  - **Panda CSS** — 빌드타임에 정적 CSS를 추출하는 zero-runtime CSS-in-JS로, 토큰을 타입 안전하게 참조할 수 있어요.
10
- - **Radix UI** — 복잡한 동작이나 합성이 필요한 곳에 선택적으로 헤드리스 프리미티브를 적용해요. 합성엔 `Slot`(Button), 선택 상태엔 `Toggle`(Chip), 일시적 알림에는 `Toast`를 써요. 단순 표시용 컴포넌트는 Panda CSS만으로 구현해요.
10
+ - **Radix UI** — 복잡한 동작이나 합성이 필요한 곳에 선택적으로 헤드리스 프리미티브를 적용해요. 합성에는 `Slot`(Button), 선택 상태에는 `Toggle`(Chip), 일시적 알림에는 `Toast`를 써요. 단순 표시용 컴포넌트는 Panda CSS만으로 구현해요.
11
11
  - **Tailwind 동시 지원** — 소비 프로젝트가 반드시 Panda CSS를 쓰지 않아도 동일한 디자인 토큰을 쓸 수 있도록 별도의 `tailwind-plugin` 진입점을 제공해요.
12
12
 
13
13
  ### 컴포넌트 / 토큰 문서
@@ -80,20 +80,23 @@ src/components/ComponentName/
80
80
  └── ComponentName.mdx # Storybook 문서 (anatomy/usage 이미지 포함, 선택)
81
81
  ```
82
82
 
83
- ## Tailwind 지원
83
+ ## Tailwind 지원 (v4)
84
84
 
85
- Panda CSS를 쓰지 않는 소비 프로젝트를 위해 동일한 디자인 토큰을 Tailwind CSS 유틸리티로 노출하는 플러그인을 별도로 제공해요.
85
+ Panda CSS를 쓰지 않는 소비 프로젝트를 위해 동일한 디자인 토큰을 Tailwind CSS 유틸리티로 노출하는 플러그인을 별도로 제공해요. Tailwind v4는 CSS 안에서 직접 설정하는 방식이라 `tailwind.config.ts` 없이 진입 CSS에서 바로 로드해요.
86
86
 
87
- ```ts
88
- // tailwind.config.ts
89
- import moyeorakPlugin from "@moyeorak/design-system/tailwind-plugin"
90
-
91
- export default {
92
- plugins: [moyeorakPlugin],
93
- }
87
+ ```css
88
+ /* 앱의 전역 CSS 진입점 */
89
+ @import "@moyeorak/design-system/layers.css";
90
+ @import "tailwindcss";
91
+ @plugin "@moyeorak/design-system/tailwind-plugin";
92
+ @import "@moyeorak/design-system/styles.css";
94
93
  ```
95
94
 
96
- 플러그인은 semantic 색상 토큰을 `bg-fill-brand-default`, `text-fg-neutral-default`처럼 CSS 변수 기반 Tailwind 컬러로, 텍스트 스타일을 `.textStyle_body1` 같은 유틸리티 클래스로 노출해요. CSS 변수 자체는 `@moyeorak/design-system/dist/style.css`에서 가져오므로, 이 CSS는 Tailwind 사용 여부와 관계없이 항상 import해야 해요.
95
+ 플러그인은 semantic 색상 토큰을 `bg-fill-brand-default`, `text-fg-neutral-default`처럼 CSS 변수 기반 Tailwind 컬러로, 텍스트 스타일을 `.textStyle_body1` 같은 유틸리티 클래스로 노출해요. CSS 변수 자체는 `@moyeorak/design-system/styles.css`에서 가져오므로, 이 CSS는 Tailwind 사용 여부와 관계없이 항상 import해야 해요.
96
+
97
+ ### Cascade layer 우선순위 고정
98
+
99
+ Tailwind v4는 네이티브 CSS cascade layer(`@layer theme, base, components, utilities`)를 쓰는데, 레이어 우선순위는 import 순서가 아니라 "레이어 이름이 처음 선언된 순서"로 전역 고정돼요. 이 패키지의 컴포넌트 CSS도 자체 `moyeorak-*` 레이어를 쓰기 때문에, 위 예제처럼 `layers.css`를 다른 `@import`보다 먼저 로드해 순서를 미리 고정해야 해요. 그러지 않으면 디자인 시스템 컴포넌트 기본 스타일이 Tailwind preflight에 눌리거나, 반대로 컴포넌트에 붙인 Tailwind 유틸 클래스 오버라이드가 안 먹히는 문제가 import 순서에 따라 무작위로 발생해요.
97
100
 
98
101
  ## 다크 모드
99
102
 
@@ -105,11 +108,27 @@ export default {
105
108
  npm install @moyeorak/design-system
106
109
  ```
107
110
 
108
- ```tsx
109
- // CSS import 필수
110
- import "@moyeorak/design-system/dist/style.css"
111
+ CSS는 앱의 전역 CSS 진입점에서 한 번만 가져오면 돼요. Tailwind 없이 쓴다면:
112
+
113
+ ```css
114
+ /* 앱의 전역 CSS 진입점 */
115
+ @import "@moyeorak/design-system/styles.css";
116
+ ```
117
+
118
+ Tailwind v4를 함께 쓴다면 위 [Tailwind 지원 (v4)](#tailwind-지원-v4) 섹션의 예제를 참고해주세요.
119
+
120
+ 토큰은 `styles.css`의 `:root`에 CSS 변수로 노출돼요. 어디서든 `var(--colors-fill-brand-default)`처럼 직접 참조하면 돼요.
121
+
122
+ ```css
123
+ .myButton {
124
+ background: var(--colors-fill-brand-default);
125
+ }
126
+ ```
127
+
128
+ 텍스트 스타일(Heading/Title/Body/Caption)은 CSS 변수 조합이 아니라 완성된 클래스로 제공돼요. `textStyle_{이름}` 클래스를 그대로 붙이면 돼요.
111
129
 
112
- import { Button } from "@moyeorak/design-system"
130
+ ```html
131
+ <p class="textStyle_body1">본문 텍스트</p>
113
132
  ```
114
133
 
115
134
  ### 폰트 (Pretendard)
package/dist/index.d.ts CHANGED
@@ -19938,6 +19938,6 @@ declare interface VendorShorthandProperties<TLength = (string & {}) | 0, TTime =
19938
19938
 
19939
19939
  declare type VendorShorthandPropertiesFallback<TLength = (string & {}) | 0, TTime = string & {}> = Fallback<VendorShorthandProperties<TLength, TTime>>;
19940
19940
 
19941
- export declare const version = "0.2.0";
19941
+ export declare const version = "0.3.0";
19942
19942
 
19943
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 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;
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.3.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;
package/dist/index.mjs CHANGED
@@ -2546,7 +2546,7 @@ const po = F({
2546
2546
  function So({ type: e, className: t, ...r }) {
2547
2547
  return /* @__PURE__ */ f("button", { type: "button", className: j(po({ type: e }), t), ...r, children: /* @__PURE__ */ f(ne, { type: mo[e], size: "md" }) });
2548
2548
  }
2549
- const Eo = "0.2.0";
2549
+ const Eo = "0.3.0";
2550
2550
  export {
2551
2551
  Co as Badge,
2552
2552
  go as Button,
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Tailwind v4는 네이티브 CSS cascade layer를 쓰는데, 레이어 우선순위는 import 순서가 아니라
3
+ * "레이어 이름이 처음 선언된 순서"로 전역 고정된다. 이 파일을 호스트 진입 CSS 최상단(다른
4
+ * @import보다 위)에서 가장 먼저 import하면, 이후 Tailwind와 이 패키지의 CSS를 어떤 순서로
5
+ * import하든 결과가 항상 고정된다.
6
+ */
7
+ @layer theme, moyeorak-reset, base, moyeorak-base, moyeorak-tokens, moyeorak-recipes, moyeorak-utilities, components, utilities;
@@ -0,0 +1 @@
1
+ @layer moyeorak-reset,moyeorak-base,moyeorak-tokens,moyeorak-recipes,moyeorak-utilities;@layer moyeorak-base{:root{--made-with-panda: "🐼"}body{font-family:var(--fonts-sans)}*,:before,:after,::backdrop{--blur: ;--brightness: ;--contrast: ;--grayscale: ;--hue-rotate: ;--invert: ;--saturate: ;--sepia: ;--drop-shadow: ;--backdrop-blur: ;--backdrop-brightness: ;--backdrop-contrast: ;--backdrop-grayscale: ;--backdrop-hue-rotate: ;--backdrop-invert: ;--backdrop-opacity: ;--backdrop-saturate: ;--backdrop-sepia: ;--gradient-from-position: ;--gradient-to-position: ;--gradient-via-position: ;--scroll-snap-strictness: proximity;--border-spacing-x: 0;--border-spacing-y: 0;--translate-x: 0;--translate-y: 0;--rotate: 0;--rotate-x: 0;--rotate-y: 0;--skew-x: 0;--skew-y: 0;--scale-x: 1;--scale-y: 1}}@layer moyeorak-tokens{:where(:root,:host){--colors-gray-0: #ffffff;--colors-gray-50: #f9fafd;--colors-gray-100: #f2f4f9;--colors-gray-200: #e1e4ec;--colors-gray-300: #ccd0d9;--colors-gray-400: #9fa5b3;--colors-gray-500: #737a89;--colors-gray-600: #5f6572;--colors-gray-700: #464b53;--colors-gray-800: #2c3038;--colors-gray-900: #171a1f;--colors-blue-100: #f7faff;--colors-blue-200: #ebf2ff;--colors-blue-300: #e5eeff;--colors-blue-400: #cbddff;--colors-blue-500: #b0ccff;--colors-blue-600: #82acff;--colors-blue-700: #4181ff;--colors-blue-800: #3c76e9;--colors-blue-900: #3265cb;--colors-gray-opacity-100: rgb(15 17 24 / 2%);--colors-gray-opacity-200: rgb(15 17 24 / 4%);--colors-gray-opacity-300: rgb(15 17 24 / 8%);--colors-gray-opacity-400: rgb(15 17 24 / 20%);--colors-gray-opacity-500: rgb(15 17 24 / 28%);--colors-gray-opacity-600: rgb(15 17 24 / 56%);--colors-gray-opacity-700: rgb(15 17 24 / 70%);--colors-gray-opacity-800: rgb(15 17 24 / 80%);--colors-gray-opacity-900: rgb(15 17 24 / 90%);--colors-red: #f0405c;--colors-green: #00cf95;--fonts-sans: "Pretendard Variable", Pretendard, sans-serif;--font-sizes-xs: 12px;--font-sizes-sm: 14px;--font-sizes-md: 16px;--font-sizes-lg: 20px;--font-sizes-xl: 24px;--font-sizes-2xl: 28px;--font-weights-regular: 400;--font-weights-medium: 500;--font-weights-semibold: 600;--font-weights-bold: 700;--letter-spacings-tight: -.01em;--letter-spacings-tighter: -.005em;--radii-2xs: 4px;--radii-xs: 6px;--radii-sm: 8px;--radii-md: 12px;--radii-lg: 16px;--radii-xl: 20px;--radii-full: 999px;--shadows-strong: 0 0 12px var(--colors-shadow-neutral-strong);--breakpoints-sm: 640px;--breakpoints-md: 768px;--breakpoints-lg: 1024px;--breakpoints-xl: 1280px;--breakpoints-2xl: 1536px;--sizes-breakpoint-sm: 640px;--sizes-breakpoint-md: 768px;--sizes-breakpoint-lg: 1024px;--sizes-breakpoint-xl: 1280px;--sizes-breakpoint-2xl: 1536px;--colors-fill-neutral-default: var(--colors-gray-800);--colors-fill-neutral-default-pressed: var(--colors-gray-600);--colors-fill-neutral-default-disabled: var(--colors-gray-200);--colors-fill-neutral-subtle: var(--colors-gray-300);--colors-fill-neutral-subtler: var(--colors-gray-100);--colors-fill-neutral-subtlest: var(--colors-gray-50);--colors-fill-neutral-faintest: var(--colors-gray-0);--colors-fill-brand-default: var(--colors-blue-700);--colors-fill-brand-default-pressed: var(--colors-blue-900);--colors-fill-brand-subtle: var(--colors-blue-300);--colors-fill-brand-subtle-pressed: var(--colors-blue-500);--colors-fill-brand-subtler: var(--colors-blue-200);--colors-fill-brand-subtlest: var(--colors-blue-100);--colors-bg-neutral-strongest: var(--colors-gray-800);--colors-bg-neutral-strong: var(--colors-gray-100);--colors-bg-neutral-default: var(--colors-gray-0);--colors-overlay-neutral-stronger: var(--colors-gray-opacity-900);--colors-overlay-neutral-strong: var(--colors-gray-opacity-800);--colors-overlay-neutral-default: var(--colors-gray-opacity-700);--colors-overlay-neutral-subtle: var(--colors-gray-opacity-600);--colors-overlay-neutral-subtler: var(--colors-gray-opacity-500);--colors-stroke-neutral-strong: var(--colors-gray-400);--colors-stroke-neutral-default: var(--colors-gray-300);--colors-stroke-neutral-subtle: var(--colors-gray-200);--colors-stroke-neutral-subtler: var(--colors-gray-100);--colors-stroke-brand-default: var(--colors-blue-700);--colors-stroke-brand-subtle: var(--colors-blue-600);--colors-stroke-negative-default: var(--colors-red);--colors-shadow-neutral-stronger: var(--colors-gray-opacity-500);--colors-shadow-neutral-strong: var(--colors-gray-opacity-300);--colors-shadow-neutral-default: var(--colors-gray-opacity-200);--colors-shadow-neutral-subtle: var(--colors-gray-opacity-100);--colors-fg-neutral-stronger: var(--colors-gray-900);--colors-fg-neutral-strong: var(--colors-gray-800);--colors-fg-neutral-default: var(--colors-gray-700);--colors-fg-neutral-subtle: var(--colors-gray-500);--colors-fg-neutral-subtler: var(--colors-gray-400);--colors-fg-neutral-subtlest: var(--colors-gray-300);--colors-fg-neutral-faintest: var(--colors-gray-0);--colors-fg-brand-default: var(--colors-blue-700);--colors-fg-brand-subtle: var(--colors-blue-400);--colors-fg-brand-subtlest: var(--colors-blue-200);--colors-fg-positive-default: var(--colors-green);--colors-fg-negative-default: var(--colors-red)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}}@layer moyeorak-utilities{@layer compositions{.textStyle_caption2{font-weight:var(--font-weights-medium)}.textStyle_caption2,.textStyle_caption3{letter-spacing:var(--letter-spacings-tight);font-size:var(--font-sizes-xs);line-height:1.5}.textStyle_caption3{font-weight:var(--font-weights-regular)}.textStyle_body4{font-weight:var(--font-weights-medium)}.textStyle_body4,.textStyle_body5{letter-spacing:var(--letter-spacings-tight);font-size:var(--font-sizes-sm);line-height:1.57}.textStyle_body5{font-weight:var(--font-weights-regular)}.textStyle_body1{letter-spacing:var(--letter-spacings-tight);font-weight:var(--font-weights-medium);line-height:1.5}.textStyle_body1,.textStyle_title3{font-size:var(--font-sizes-md)}.textStyle_title3{line-height:1.38}.textStyle_title3,.textStyle_title1{letter-spacing:var(--letter-spacings-tighter);font-weight:var(--font-weights-semibold)}.textStyle_title1{font-size:var(--font-sizes-lg);line-height:1.4}.textStyle_caption1{font-size:var(--font-sizes-xs);font-weight:var(--font-weights-semibold);line-height:1.67}.textStyle_caption1,.textStyle_body2{letter-spacing:var(--letter-spacings-tight)}.textStyle_body2{font-size:var(--font-sizes-md);font-weight:var(--font-weights-regular);line-height:1.5}.textStyle_head1{letter-spacing:var(--letter-spacings-tighter);font-size:var(--font-sizes-2xl);font-weight:var(--font-weights-semibold);line-height:1.36}.textStyle_head2{font-weight:var(--font-weights-bold);line-height:1.17}.textStyle_head2,.textStyle_head3{letter-spacing:var(--letter-spacings-tighter);font-size:var(--font-sizes-xl)}.textStyle_head3{font-weight:var(--font-weights-semibold);line-height:1.33}.textStyle_head4{font-weight:var(--font-weights-medium)}.textStyle_head4,.textStyle_title2{letter-spacing:var(--letter-spacings-tighter);font-size:var(--font-sizes-lg);line-height:1.4}.textStyle_title2{font-weight:var(--font-weights-regular)}.textStyle_body3{letter-spacing:var(--letter-spacings-tight);font-size:var(--font-sizes-sm);font-weight:var(--font-weights-semibold);line-height:1.57}}.d_full{display:full}.c_fg\.neutral\.subtle{color:var(--colors-fg-neutral-subtle)}.d_flex{display:flex}.gap_8px{gap:8px}.w_100\%{width:100%}.flex_1_1_0\%{flex:1 1 0%}.flex_3_1_0\%{flex:3 1 0%}.flex_7_1_0\%{flex:7 1 0%}.flex_1{flex:1 1 0%}.px_16px{padding-inline:16px}.py_12px{padding-block:12px}.bg_bg\.neutral\.default{background:var(--colors-bg-neutral-default)}.d_inline-flex{display:inline-flex}.white-space_nowrap{white-space:nowrap}.bdr_xs{border-radius:var(--radii-xs)}.px_8px{padding-inline:8px}.py_4px{padding-block:4px}.bx-s_border-box{box-sizing:border-box}.bg_fill\.brand\.subtler{background:var(--colors-fill-brand-subtler)}.c_fg\.brand\.default{color:var(--colors-fg-brand-default)}.bg_fill\.neutral\.subtler{background:var(--colors-fill-neutral-subtler)}.bg_fill\.neutral\.faintest{background:var(--colors-fill-neutral-faintest)}.bx-sh_inset_0_0_0_1px_\{colors\.stroke\.neutral\.subtle\}{box-shadow:inset 0 0 0 1px var(--colors-stroke-neutral-subtle)}.d_inline{display:inline}.cursor_pointer{cursor:pointer}.gap_2px{gap:2px}.bd_none{border:none}.bg_fill\.neutral\.default{background:var(--colors-fill-neutral-default)}.c_fg\.neutral\.faintest{color:var(--colors-fg-neutral-faintest)}.bg_fill\.brand\.default{background:var(--colors-fill-brand-default)}.bg_fill\.brand\.subtle{background:var(--colors-fill-brand-subtle)}.c_fg\.neutral\.default{color:var(--colors-fg-neutral-default)}.bg_transparent{background:transparent}.px_10px{padding-inline:10px}.bdr_sm{border-radius:var(--radii-sm)}.py_10px{padding-block:10px}.p_16px{padding:16px}.py_6px{padding-block:6px}.bx-sh_inset_0_0_0_1px_\{colors\.stroke\.brand\.default\}{box-shadow:inset 0 0 0 1px var(--colors-stroke-brand-default)}.c_fg\.neutral\.subtler{color:var(--colors-fg-neutral-subtler)}.px_12px{padding-inline:12px}.bdr_full{border-radius:var(--radii-full)}.px_14px{padding-inline:14px}.w_40px{width:40px}.h_40px{height:40px}.bx-sh_strong{box-shadow:var(--shadows-strong)}.pos_fixed{position:fixed}.z_40{z-index:40}.pos_relative{position:relative}.h_56px{height:56px}.w_full{width:full}.ov_hidden{overflow:hidden}.pos_absolute{position:absolute}.trf_translateY\(-50\%\){transform:translateY(-50%)}.trf_translate\(-50\%\,_-50\%\){transform:translate(-50%,-50%)}.ta_center{text-align:center}.d_inline-block{display:inline-block}.c_fg\.neutral\.subtlest{color:var(--colors-fg-neutral-subtlest)}.w_16px{width:16px}.h_16px{height:16px}.w_20px{width:20px}.h_20px{height:20px}.w_24px{width:24px}.h_24px{height:24px}.w_32px{width:32px}.h_32px{height:32px}.w_36px{width:36px}.h_36px{height:36px}.w_48px{width:48px}.h_48px{height:48px}.w_54px{width:54px}.h_54px{height:54px}.inset_0{top:0;right:0;bottom:0;left:0}.bg_overlay\.neutral\.default{background:var(--colors-overlay-neutral-default)}.z_50{z-index:50}.w_303px{width:303px}.bdr_lg{border-radius:var(--radii-lg)}.gap_24px{gap:24px}.ring_none{outline:2px solid transparent;outline-offset:2px}.gap_4px{gap:4px}.gap_11px{gap:11px}.c_fill\.brand\.default{color:var(--colors-fill-brand-default)}.c_fill\.neutral\.default{color:var(--colors-fill-neutral-default)}.filter_drop-shadow\(0_0_4px_rgba\(15\,_17\,_24\,_0\.28\)\){filter:drop-shadow(0 0 4px rgba(15,17,24,.28))}.bdr_4px{border-radius:4px}.px_11px{padding-inline:11px}.trs_border-color_0\.15s_ease{transition:border-color .15s ease}.px_4px{padding-inline:4px}.ca-c_stroke\.brand\.default{caret-color:var(--colors-stroke-brand-default)}.py_8px{padding-block:8px}.bdr_12px{border-radius:12px}.us_none{-webkit-user-select:none;user-select:none}.w_56px{width:56px}.bg_\[\#FBE300\]{background:#fbe300}.bg_fg\.brand\.default{background:var(--colors-fg-brand-default)}.bg_fg\.neutral\.subtlest{background:var(--colors-fg-neutral-subtlest)}.px_20px{padding-inline:20px}.trf_translateX\(-50\%\){transform:translate(-50%)}.z_100{z-index:100}.bg_overlay\.neutral\.stronger{background:var(--colors-overlay-neutral-stronger)}.ac-c_\#171a1f{accent-color:#171a1f}.ac-c_\#00a676{accent-color:#00a676}.ac-c_\#e05a00{accent-color:#e05a00}.ac-c_\#8a4fff{accent-color:#8a4fff}.ac-c_\#464b53{accent-color:#464b53}.ac-c_\#737a89{accent-color:#737a89}.ai_center{align-items:center}.flex-d_column{flex-direction:column}.pb_max\(12px\,_env\(safe-area-inset-bottom\)\){padding-bottom:max(12px,env(safe-area-inset-bottom))}.jc_center{justify-content:center}.ff_inherit{font-family:inherit}.flex-sh_0{flex-shrink:0}.bottom_20px{bottom:20px}.right_20px{right:20px}.left_4px{left:4px}.top_50\%{top:50%}.left_50\%{left:50%}.right_12px{right:12px}.top_4px{top:4px}.pt_32px{padding-top:32px}.pb_16px{padding-bottom:16px}.mb_-5px{margin-bottom:-5px}.pt_4px{padding-top:4px}.mb_-2px{margin-bottom:-2px}.bd-c_stroke\.brand\.default{border-color:var(--colors-stroke-brand-default)}.bd-c_stroke\.neutral\.default{border-color:var(--colors-stroke-neutral-default)}.bd-w_1px{border-width:1px}.border-style_solid{border-style:solid}.mr_-11px{margin-right:-11px}.border-bottom-style_solid{border-bottom-style:solid}.bd-b-w_2px{border-bottom-width:2px}.bd-b-c_stroke\.brand\.default{border-bottom-color:var(--colors-stroke-brand-default)}.bd-b-w_1px{border-bottom-width:1px}.bd-b-c_stroke\.neutral\.subtle{border-bottom-color:var(--colors-stroke-neutral-subtle)}.bottom_12px{bottom:12px}.li-t_none{list-style-type:none}.disabled\:cursor_not-allowed:is(:disabled,[disabled],[data-disabled]){cursor:not-allowed}.disabled\:bg_fill\.neutral\.default-disabled:is(:disabled,[disabled],[data-disabled]){background:var(--colors-fill-neutral-default-disabled)}.disabled\:c_fg\.neutral\.subtler:is(:disabled,[disabled],[data-disabled]){color:var(--colors-fg-neutral-subtler)}.disabled\:bx-sh_none:is(:disabled,[disabled],[data-disabled]){box-shadow:none}.disabled\:bg_transparent:is(:disabled,[disabled],[data-disabled]){background:transparent}.disabled\:c_fg\.neutral\.subtlest:is(:disabled,[disabled],[data-disabled]){color:var(--colors-fg-neutral-subtlest)}.placeholder\:c_fg\.neutral\.subtlest::placeholder,.placeholder\:c_fg\.neutral\.subtlest[data-placeholder]{color:var(--colors-fg-neutral-subtlest)}.active\:bg_fill\.neutral\.default-pressed:is(:active,[data-active]){background:var(--colors-fill-neutral-default-pressed)}.active\:bg_fill\.brand\.default-pressed:is(:active,[data-active]){background:var(--colors-fill-brand-default-pressed)}.active\:bg_fill\.brand\.subtle-pressed:is(:active,[data-active]){background:var(--colors-fill-brand-subtle-pressed)}.active\:bg_fill\.neutral\.subtler:is(:active,[data-active]){background:var(--colors-fill-neutral-subtler)}.active\:c_fg\.neutral\.subtler:is(:active,[data-active]){color:var(--colors-fg-neutral-subtler)}.disabled\:active\:bg_fill\.neutral\.default-disabled:is(:disabled,[disabled],[data-disabled]):is(:active,[data-active]){background:var(--colors-fill-neutral-default-disabled)}.disabled\:active\:bg_transparent:is(:disabled,[disabled],[data-disabled]):is(:active,[data-active]){background:transparent}.disabled\:active\:c_fg\.neutral\.subtlest:is(:disabled,[disabled],[data-disabled]):is(:active,[data-active]){color:var(--colors-fg-neutral-subtlest)}.disabled\:active\:c_fg\.neutral\.subtler:is(:disabled,[disabled],[data-disabled]):is(:active,[data-active]){color:var(--colors-fg-neutral-subtler)}}
@@ -1 +1 @@
1
- "use strict";const t=require("tailwindcss/plugin"),l={"fill-neutral-default":"var(--colors-fill-neutral-default)","fill-neutral-default-pressed":"var(--colors-fill-neutral-default-pressed)","fill-neutral-default-disabled":"var(--colors-fill-neutral-default-disabled)","fill-neutral-subtle":"var(--colors-fill-neutral-subtle)","fill-neutral-subtler":"var(--colors-fill-neutral-subtler)","fill-neutral-subtlest":"var(--colors-fill-neutral-subtlest)","fill-neutral-faintest":"var(--colors-fill-neutral-faintest)","fill-brand-default":"var(--colors-fill-brand-default)","fill-brand-default-pressed":"var(--colors-fill-brand-default-pressed)","fill-brand-subtle":"var(--colors-fill-brand-subtle)","fill-brand-subtle-pressed":"var(--colors-fill-brand-subtle-pressed)","fill-brand-subtler":"var(--colors-fill-brand-subtler)","fill-brand-subtlest":"var(--colors-fill-brand-subtlest)","fg-neutral-stronger":"var(--colors-fg-neutral-stronger)","fg-neutral-strong":"var(--colors-fg-neutral-strong)","fg-neutral-default":"var(--colors-fg-neutral-default)","fg-neutral-subtle":"var(--colors-fg-neutral-subtle)","fg-neutral-subtler":"var(--colors-fg-neutral-subtler)","fg-neutral-subtlest":"var(--colors-fg-neutral-subtlest)","fg-neutral-faintest":"var(--colors-fg-neutral-faintest)","fg-brand-default":"var(--colors-fg-brand-default)","fg-brand-subtle":"var(--colors-fg-brand-subtle)","fg-brand-subtlest":"var(--colors-fg-brand-subtlest)","fg-positive-default":"var(--colors-fg-positive-default)","fg-negative-default":"var(--colors-fg-negative-default)","bg-neutral-strongest":"var(--colors-bg-neutral-strongest)","bg-neutral-strong":"var(--colors-bg-neutral-strong)","bg-neutral-default":"var(--colors-bg-neutral-default)","stroke-neutral-strong":"var(--colors-stroke-neutral-strong)","stroke-neutral-default":"var(--colors-stroke-neutral-default)","stroke-neutral-subtle":"var(--colors-stroke-neutral-subtle)","stroke-neutral-subtler":"var(--colors-stroke-neutral-subtler)","stroke-brand-default":"var(--colors-stroke-brand-default)","stroke-brand-subtle":"var(--colors-stroke-brand-subtle)","stroke-negative-default":"var(--colors-stroke-negative-default)","overlay-neutral-stronger":"var(--colors-overlay-neutral-stronger)","overlay-neutral-strong":"var(--colors-overlay-neutral-strong)","overlay-neutral-default":"var(--colors-overlay-neutral-default)","overlay-neutral-subtle":"var(--colors-overlay-neutral-subtle)","overlay-neutral-subtler":"var(--colors-overlay-neutral-subtler)","shadow-neutral-stronger":"var(--colors-shadow-neutral-stronger)","shadow-neutral-strong":"var(--colors-shadow-neutral-strong)","shadow-neutral-default":"var(--colors-shadow-neutral-default)","shadow-neutral-subtle":"var(--colors-shadow-neutral-subtle)"},r=t(({addUtilities:e})=>{e({".textStyle_head1":{fontSize:"28px",fontWeight:"600",letterSpacing:"-0.005em",lineHeight:"1.36"},".textStyle_head2":{fontSize:"24px",fontWeight:"700",letterSpacing:"-0.005em",lineHeight:"1.17"},".textStyle_head3":{fontSize:"24px",fontWeight:"600",letterSpacing:"-0.005em",lineHeight:"1.33"},".textStyle_head4":{fontSize:"20px",fontWeight:"500",letterSpacing:"-0.005em",lineHeight:"1.4"},".textStyle_title1":{fontSize:"20px",fontWeight:"600",letterSpacing:"-0.005em",lineHeight:"1.4"},".textStyle_title2":{fontSize:"20px",fontWeight:"400",letterSpacing:"-0.005em",lineHeight:"1.4"},".textStyle_title3":{fontSize:"16px",fontWeight:"600",letterSpacing:"-0.005em",lineHeight:"1.38"},".textStyle_body1":{fontSize:"16px",fontWeight:"500",letterSpacing:"-0.01em",lineHeight:"1.5"},".textStyle_body2":{fontSize:"16px",fontWeight:"400",letterSpacing:"-0.01em",lineHeight:"1.5"},".textStyle_body3":{fontSize:"14px",fontWeight:"600",letterSpacing:"-0.01em",lineHeight:"1.57"},".textStyle_body4":{fontSize:"14px",fontWeight:"500",letterSpacing:"-0.01em",lineHeight:"1.57"},".textStyle_body5":{fontSize:"14px",fontWeight:"400",letterSpacing:"-0.01em",lineHeight:"1.57"},".textStyle_caption1":{fontSize:"12px",fontWeight:"600",letterSpacing:"-0.01em",lineHeight:"1.67"},".textStyle_caption2":{fontSize:"12px",fontWeight:"500",letterSpacing:"-0.01em",lineHeight:"1.5"},".textStyle_caption3":{fontSize:"12px",fontWeight:"400",letterSpacing:"-0.01em",lineHeight:"1.5"}})},{theme:{extend:{colors:l}}});module.exports=r;
1
+ "use strict";const e=require("tailwindcss/plugin"),r={"fill-neutral-default":"var(--colors-fill-neutral-default)","fill-neutral-default-pressed":"var(--colors-fill-neutral-default-pressed)","fill-neutral-default-disabled":"var(--colors-fill-neutral-default-disabled)","fill-neutral-subtle":"var(--colors-fill-neutral-subtle)","fill-neutral-subtler":"var(--colors-fill-neutral-subtler)","fill-neutral-subtlest":"var(--colors-fill-neutral-subtlest)","fill-neutral-faintest":"var(--colors-fill-neutral-faintest)","fill-brand-default":"var(--colors-fill-brand-default)","fill-brand-default-pressed":"var(--colors-fill-brand-default-pressed)","fill-brand-subtle":"var(--colors-fill-brand-subtle)","fill-brand-subtle-pressed":"var(--colors-fill-brand-subtle-pressed)","fill-brand-subtler":"var(--colors-fill-brand-subtler)","fill-brand-subtlest":"var(--colors-fill-brand-subtlest)","fg-neutral-stronger":"var(--colors-fg-neutral-stronger)","fg-neutral-strong":"var(--colors-fg-neutral-strong)","fg-neutral-default":"var(--colors-fg-neutral-default)","fg-neutral-subtle":"var(--colors-fg-neutral-subtle)","fg-neutral-subtler":"var(--colors-fg-neutral-subtler)","fg-neutral-subtlest":"var(--colors-fg-neutral-subtlest)","fg-neutral-faintest":"var(--colors-fg-neutral-faintest)","fg-brand-default":"var(--colors-fg-brand-default)","fg-brand-subtle":"var(--colors-fg-brand-subtle)","fg-brand-subtlest":"var(--colors-fg-brand-subtlest)","fg-positive-default":"var(--colors-fg-positive-default)","fg-negative-default":"var(--colors-fg-negative-default)","bg-neutral-strongest":"var(--colors-bg-neutral-strongest)","bg-neutral-strong":"var(--colors-bg-neutral-strong)","bg-neutral-default":"var(--colors-bg-neutral-default)","stroke-neutral-strong":"var(--colors-stroke-neutral-strong)","stroke-neutral-default":"var(--colors-stroke-neutral-default)","stroke-neutral-subtle":"var(--colors-stroke-neutral-subtle)","stroke-neutral-subtler":"var(--colors-stroke-neutral-subtler)","stroke-brand-default":"var(--colors-stroke-brand-default)","stroke-brand-subtle":"var(--colors-stroke-brand-subtle)","stroke-negative-default":"var(--colors-stroke-negative-default)","overlay-neutral-stronger":"var(--colors-overlay-neutral-stronger)","overlay-neutral-strong":"var(--colors-overlay-neutral-strong)","overlay-neutral-default":"var(--colors-overlay-neutral-default)","overlay-neutral-subtle":"var(--colors-overlay-neutral-subtle)","overlay-neutral-subtler":"var(--colors-overlay-neutral-subtler)","shadow-neutral-stronger":"var(--colors-shadow-neutral-stronger)","shadow-neutral-strong":"var(--colors-shadow-neutral-strong)","shadow-neutral-default":"var(--colors-shadow-neutral-default)","shadow-neutral-subtle":"var(--colors-shadow-neutral-subtle)"},l=e(({addUtilities:t})=>{t({".textStyle_head1":{fontSize:"var(--font-sizes-2xl)",fontWeight:"var(--font-weights-semibold)",letterSpacing:"var(--letter-spacings-tighter)",lineHeight:"1.36"},".textStyle_head2":{fontSize:"var(--font-sizes-xl)",fontWeight:"var(--font-weights-bold)",letterSpacing:"var(--letter-spacings-tighter)",lineHeight:"1.17"},".textStyle_head3":{fontSize:"var(--font-sizes-xl)",fontWeight:"var(--font-weights-semibold)",letterSpacing:"var(--letter-spacings-tighter)",lineHeight:"1.33"},".textStyle_head4":{fontSize:"var(--font-sizes-lg)",fontWeight:"var(--font-weights-medium)",letterSpacing:"var(--letter-spacings-tighter)",lineHeight:"1.4"},".textStyle_title1":{fontSize:"var(--font-sizes-lg)",fontWeight:"var(--font-weights-semibold)",letterSpacing:"var(--letter-spacings-tighter)",lineHeight:"1.4"},".textStyle_title2":{fontSize:"var(--font-sizes-lg)",fontWeight:"var(--font-weights-regular)",letterSpacing:"var(--letter-spacings-tighter)",lineHeight:"1.4"},".textStyle_title3":{fontSize:"var(--font-sizes-md)",fontWeight:"var(--font-weights-semibold)",letterSpacing:"var(--letter-spacings-tighter)",lineHeight:"1.38"},".textStyle_body1":{fontSize:"var(--font-sizes-md)",fontWeight:"var(--font-weights-medium)",letterSpacing:"var(--letter-spacings-tight)",lineHeight:"1.5"},".textStyle_body2":{fontSize:"var(--font-sizes-md)",fontWeight:"var(--font-weights-regular)",letterSpacing:"var(--letter-spacings-tight)",lineHeight:"1.5"},".textStyle_body3":{fontSize:"var(--font-sizes-sm)",fontWeight:"var(--font-weights-semibold)",letterSpacing:"var(--letter-spacings-tight)",lineHeight:"1.57"},".textStyle_body4":{fontSize:"var(--font-sizes-sm)",fontWeight:"var(--font-weights-medium)",letterSpacing:"var(--letter-spacings-tight)",lineHeight:"1.57"},".textStyle_body5":{fontSize:"var(--font-sizes-sm)",fontWeight:"var(--font-weights-regular)",letterSpacing:"var(--letter-spacings-tight)",lineHeight:"1.57"},".textStyle_caption1":{fontSize:"var(--font-sizes-xs)",fontWeight:"var(--font-weights-semibold)",letterSpacing:"var(--letter-spacings-tight)",lineHeight:"1.67"},".textStyle_caption2":{fontSize:"var(--font-sizes-xs)",fontWeight:"var(--font-weights-medium)",letterSpacing:"var(--letter-spacings-tight)",lineHeight:"1.5"},".textStyle_caption3":{fontSize:"var(--font-sizes-xs)",fontWeight:"var(--font-weights-regular)",letterSpacing:"var(--letter-spacings-tight)",lineHeight:"1.5"}})},{theme:{extend:{colors:r}}});module.exports=l;
@@ -1,5 +1,5 @@
1
- import t from "tailwindcss/plugin";
2
- const l = {
1
+ import e from "tailwindcss/plugin";
2
+ const r = {
3
3
  // fill
4
4
  "fill-neutral-default": "var(--colors-fill-neutral-default)",
5
5
  "fill-neutral-default-pressed": "var(--colors-fill-neutral-default-pressed)",
@@ -50,103 +50,103 @@ const l = {
50
50
  "shadow-neutral-strong": "var(--colors-shadow-neutral-strong)",
51
51
  "shadow-neutral-default": "var(--colors-shadow-neutral-default)",
52
52
  "shadow-neutral-subtle": "var(--colors-shadow-neutral-subtle)"
53
- }, a = t(({ addUtilities: e }) => {
54
- e({
53
+ }, a = e(({ addUtilities: t }) => {
54
+ t({
55
55
  ".textStyle_head1": {
56
- fontSize: "28px",
57
- fontWeight: "600",
58
- letterSpacing: "-0.005em",
56
+ fontSize: "var(--font-sizes-2xl)",
57
+ fontWeight: "var(--font-weights-semibold)",
58
+ letterSpacing: "var(--letter-spacings-tighter)",
59
59
  lineHeight: "1.36"
60
60
  },
61
61
  ".textStyle_head2": {
62
- fontSize: "24px",
63
- fontWeight: "700",
64
- letterSpacing: "-0.005em",
62
+ fontSize: "var(--font-sizes-xl)",
63
+ fontWeight: "var(--font-weights-bold)",
64
+ letterSpacing: "var(--letter-spacings-tighter)",
65
65
  lineHeight: "1.17"
66
66
  },
67
67
  ".textStyle_head3": {
68
- fontSize: "24px",
69
- fontWeight: "600",
70
- letterSpacing: "-0.005em",
68
+ fontSize: "var(--font-sizes-xl)",
69
+ fontWeight: "var(--font-weights-semibold)",
70
+ letterSpacing: "var(--letter-spacings-tighter)",
71
71
  lineHeight: "1.33"
72
72
  },
73
73
  ".textStyle_head4": {
74
- fontSize: "20px",
75
- fontWeight: "500",
76
- letterSpacing: "-0.005em",
74
+ fontSize: "var(--font-sizes-lg)",
75
+ fontWeight: "var(--font-weights-medium)",
76
+ letterSpacing: "var(--letter-spacings-tighter)",
77
77
  lineHeight: "1.4"
78
78
  },
79
79
  ".textStyle_title1": {
80
- fontSize: "20px",
81
- fontWeight: "600",
82
- letterSpacing: "-0.005em",
80
+ fontSize: "var(--font-sizes-lg)",
81
+ fontWeight: "var(--font-weights-semibold)",
82
+ letterSpacing: "var(--letter-spacings-tighter)",
83
83
  lineHeight: "1.4"
84
84
  },
85
85
  ".textStyle_title2": {
86
- fontSize: "20px",
87
- fontWeight: "400",
88
- letterSpacing: "-0.005em",
86
+ fontSize: "var(--font-sizes-lg)",
87
+ fontWeight: "var(--font-weights-regular)",
88
+ letterSpacing: "var(--letter-spacings-tighter)",
89
89
  lineHeight: "1.4"
90
90
  },
91
91
  ".textStyle_title3": {
92
- fontSize: "16px",
93
- fontWeight: "600",
94
- letterSpacing: "-0.005em",
92
+ fontSize: "var(--font-sizes-md)",
93
+ fontWeight: "var(--font-weights-semibold)",
94
+ letterSpacing: "var(--letter-spacings-tighter)",
95
95
  lineHeight: "1.38"
96
96
  },
97
97
  ".textStyle_body1": {
98
- fontSize: "16px",
99
- fontWeight: "500",
100
- letterSpacing: "-0.01em",
98
+ fontSize: "var(--font-sizes-md)",
99
+ fontWeight: "var(--font-weights-medium)",
100
+ letterSpacing: "var(--letter-spacings-tight)",
101
101
  lineHeight: "1.5"
102
102
  },
103
103
  ".textStyle_body2": {
104
- fontSize: "16px",
105
- fontWeight: "400",
106
- letterSpacing: "-0.01em",
104
+ fontSize: "var(--font-sizes-md)",
105
+ fontWeight: "var(--font-weights-regular)",
106
+ letterSpacing: "var(--letter-spacings-tight)",
107
107
  lineHeight: "1.5"
108
108
  },
109
109
  ".textStyle_body3": {
110
- fontSize: "14px",
111
- fontWeight: "600",
112
- letterSpacing: "-0.01em",
110
+ fontSize: "var(--font-sizes-sm)",
111
+ fontWeight: "var(--font-weights-semibold)",
112
+ letterSpacing: "var(--letter-spacings-tight)",
113
113
  lineHeight: "1.57"
114
114
  },
115
115
  ".textStyle_body4": {
116
- fontSize: "14px",
117
- fontWeight: "500",
118
- letterSpacing: "-0.01em",
116
+ fontSize: "var(--font-sizes-sm)",
117
+ fontWeight: "var(--font-weights-medium)",
118
+ letterSpacing: "var(--letter-spacings-tight)",
119
119
  lineHeight: "1.57"
120
120
  },
121
121
  ".textStyle_body5": {
122
- fontSize: "14px",
123
- fontWeight: "400",
124
- letterSpacing: "-0.01em",
122
+ fontSize: "var(--font-sizes-sm)",
123
+ fontWeight: "var(--font-weights-regular)",
124
+ letterSpacing: "var(--letter-spacings-tight)",
125
125
  lineHeight: "1.57"
126
126
  },
127
127
  ".textStyle_caption1": {
128
- fontSize: "12px",
129
- fontWeight: "600",
130
- letterSpacing: "-0.01em",
128
+ fontSize: "var(--font-sizes-xs)",
129
+ fontWeight: "var(--font-weights-semibold)",
130
+ letterSpacing: "var(--letter-spacings-tight)",
131
131
  lineHeight: "1.67"
132
132
  },
133
133
  ".textStyle_caption2": {
134
- fontSize: "12px",
135
- fontWeight: "500",
136
- letterSpacing: "-0.01em",
134
+ fontSize: "var(--font-sizes-xs)",
135
+ fontWeight: "var(--font-weights-medium)",
136
+ letterSpacing: "var(--letter-spacings-tight)",
137
137
  lineHeight: "1.5"
138
138
  },
139
139
  ".textStyle_caption3": {
140
- fontSize: "12px",
141
- fontWeight: "400",
142
- letterSpacing: "-0.01em",
140
+ fontSize: "var(--font-sizes-xs)",
141
+ fontWeight: "var(--font-weights-regular)",
142
+ letterSpacing: "var(--letter-spacings-tight)",
143
143
  lineHeight: "1.5"
144
144
  }
145
145
  });
146
146
  }, {
147
147
  theme: {
148
148
  extend: {
149
- colors: l
149
+ colors: r
150
150
  }
151
151
  }
152
152
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moyeorak/design-system",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "React design system built with Panda CSS and Radix UI",
5
5
  "license": "MIT",
6
6
  "author": "meteorqz6",
@@ -15,7 +15,8 @@
15
15
  "dist"
16
16
  ],
17
17
  "sideEffects": [
18
- "./dist/style.css"
18
+ "./dist/styles.css",
19
+ "./dist/layers.css"
19
20
  ],
20
21
  "main": "./dist/index.js",
21
22
  "module": "./dist/index.mjs",
@@ -41,7 +42,8 @@
41
42
  "default": "./dist/tailwind-plugin.js"
42
43
  }
43
44
  },
44
- "./dist/style.css": "./dist/style.css"
45
+ "./styles.css": "./dist/styles.css",
46
+ "./layers.css": "./dist/layers.css"
45
47
  },
46
48
  "scripts": {
47
49
  "prepare": "panda codegen",
package/dist/style.css DELETED
@@ -1 +0,0 @@
1
- @layer moyeorak-reset,moyeorak-base,moyeorak-tokens,moyeorak-recipes,moyeorak-utilities;@layer moyeorak-base{:root{--made-with-panda: "🐼"}body{font-family:var(--fonts-sans)}*,:before,:after,::backdrop{--blur: ;--brightness: ;--contrast: ;--grayscale: ;--hue-rotate: ;--invert: ;--saturate: ;--sepia: ;--drop-shadow: ;--backdrop-blur: ;--backdrop-brightness: ;--backdrop-contrast: ;--backdrop-grayscale: ;--backdrop-hue-rotate: ;--backdrop-invert: ;--backdrop-opacity: ;--backdrop-saturate: ;--backdrop-sepia: ;--gradient-from-position: ;--gradient-to-position: ;--gradient-via-position: ;--scroll-snap-strictness: proximity;--border-spacing-x: 0;--border-spacing-y: 0;--translate-x: 0;--translate-y: 0;--rotate: 0;--rotate-x: 0;--rotate-y: 0;--skew-x: 0;--skew-y: 0;--scale-x: 1;--scale-y: 1}}@layer moyeorak-tokens{:where(:root,:host){--colors-gray-0: #ffffff;--colors-gray-50: #f9fafd;--colors-gray-100: #f2f4f9;--colors-gray-200: #e1e4ec;--colors-gray-300: #ccd0d9;--colors-gray-400: #9fa5b3;--colors-gray-500: #737a89;--colors-gray-600: #5f6572;--colors-gray-700: #464b53;--colors-gray-800: #2c3038;--colors-gray-900: #171a1f;--colors-blue-100: #f7faff;--colors-blue-200: #ebf2ff;--colors-blue-300: #e5eeff;--colors-blue-400: #cbddff;--colors-blue-500: #b0ccff;--colors-blue-600: #82acff;--colors-blue-700: #4181ff;--colors-blue-800: #3c76e9;--colors-blue-900: #3265cb;--colors-gray-opacity-100: rgb(15 17 24 / 2%);--colors-gray-opacity-200: rgb(15 17 24 / 4%);--colors-gray-opacity-300: rgb(15 17 24 / 8%);--colors-gray-opacity-400: rgb(15 17 24 / 20%);--colors-gray-opacity-500: rgb(15 17 24 / 28%);--colors-gray-opacity-600: rgb(15 17 24 / 56%);--colors-gray-opacity-700: rgb(15 17 24 / 70%);--colors-gray-opacity-800: rgb(15 17 24 / 80%);--colors-gray-opacity-900: rgb(15 17 24 / 90%);--colors-red: #f0405c;--colors-green: #00cf95;--fonts-sans: "Pretendard Variable", Pretendard, sans-serif;--font-sizes-xs: 12px;--font-sizes-sm: 14px;--font-sizes-md: 16px;--font-sizes-lg: 20px;--font-sizes-xl: 24px;--font-sizes-2xl: 28px;--font-weights-regular: 400;--font-weights-medium: 500;--font-weights-semibold: 600;--font-weights-bold: 700;--letter-spacings-tight: -.01em;--letter-spacings-tighter: -.005em;--radii-2xs: 4px;--radii-xs: 6px;--radii-sm: 8px;--radii-md: 12px;--radii-lg: 16px;--radii-xl: 20px;--radii-full: 999px;--shadows-strong: 0 0 12px var(--colors-shadow-neutral-strong);--breakpoints-sm: 640px;--breakpoints-md: 768px;--breakpoints-lg: 1024px;--breakpoints-xl: 1280px;--breakpoints-2xl: 1536px;--sizes-breakpoint-sm: 640px;--sizes-breakpoint-md: 768px;--sizes-breakpoint-lg: 1024px;--sizes-breakpoint-xl: 1280px;--sizes-breakpoint-2xl: 1536px;--colors-fill-neutral-default: var(--colors-gray-800);--colors-fill-neutral-default-pressed: var(--colors-gray-600);--colors-fill-neutral-default-disabled: var(--colors-gray-200);--colors-fill-neutral-subtle: var(--colors-gray-300);--colors-fill-neutral-subtler: var(--colors-gray-100);--colors-fill-neutral-subtlest: var(--colors-gray-50);--colors-fill-neutral-faintest: var(--colors-gray-0);--colors-fill-brand-default: var(--colors-blue-700);--colors-fill-brand-default-pressed: var(--colors-blue-900);--colors-fill-brand-subtle: var(--colors-blue-300);--colors-fill-brand-subtle-pressed: var(--colors-blue-500);--colors-fill-brand-subtler: var(--colors-blue-200);--colors-fill-brand-subtlest: var(--colors-blue-100);--colors-bg-neutral-strongest: var(--colors-gray-800);--colors-bg-neutral-strong: var(--colors-gray-100);--colors-bg-neutral-default: var(--colors-gray-0);--colors-overlay-neutral-stronger: var(--colors-gray-opacity-900);--colors-overlay-neutral-strong: var(--colors-gray-opacity-800);--colors-overlay-neutral-default: var(--colors-gray-opacity-700);--colors-overlay-neutral-subtle: var(--colors-gray-opacity-600);--colors-overlay-neutral-subtler: var(--colors-gray-opacity-500);--colors-stroke-neutral-strong: var(--colors-gray-400);--colors-stroke-neutral-default: var(--colors-gray-300);--colors-stroke-neutral-subtle: var(--colors-gray-200);--colors-stroke-neutral-subtler: var(--colors-gray-100);--colors-stroke-brand-default: var(--colors-blue-700);--colors-stroke-brand-subtle: var(--colors-blue-600);--colors-stroke-negative-default: var(--colors-red);--colors-shadow-neutral-stronger: var(--colors-gray-opacity-500);--colors-shadow-neutral-strong: var(--colors-gray-opacity-300);--colors-shadow-neutral-default: var(--colors-gray-opacity-200);--colors-shadow-neutral-subtle: var(--colors-gray-opacity-100);--colors-fg-neutral-stronger: var(--colors-gray-900);--colors-fg-neutral-strong: var(--colors-gray-800);--colors-fg-neutral-default: var(--colors-gray-700);--colors-fg-neutral-subtle: var(--colors-gray-500);--colors-fg-neutral-subtler: var(--colors-gray-400);--colors-fg-neutral-subtlest: var(--colors-gray-300);--colors-fg-neutral-faintest: var(--colors-gray-0);--colors-fg-brand-default: var(--colors-blue-700);--colors-fg-brand-subtle: var(--colors-blue-400);--colors-fg-brand-subtlest: var(--colors-blue-200);--colors-fg-positive-default: var(--colors-green);--colors-fg-negative-default: var(--colors-red)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}}@layer moyeorak-utilities{@layer compositions{.textStyle_caption2{font-weight:var(--font-weights-medium)}.textStyle_caption2,.textStyle_caption3{letter-spacing:var(--letter-spacings-tight);font-size:var(--font-sizes-xs);line-height:1.5}.textStyle_caption3{font-weight:var(--font-weights-regular)}.textStyle_body4{font-weight:var(--font-weights-medium)}.textStyle_body4,.textStyle_body5{letter-spacing:var(--letter-spacings-tight);font-size:var(--font-sizes-sm);line-height:1.57}.textStyle_body5{font-weight:var(--font-weights-regular)}.textStyle_body1{letter-spacing:var(--letter-spacings-tight);font-weight:var(--font-weights-medium);line-height:1.5}.textStyle_body1,.textStyle_title3{font-size:var(--font-sizes-md)}.textStyle_title3{line-height:1.38}.textStyle_title3,.textStyle_title1{letter-spacing:var(--letter-spacings-tighter);font-weight:var(--font-weights-semibold)}.textStyle_title1{font-size:var(--font-sizes-lg);line-height:1.4}.textStyle_caption1{font-size:var(--font-sizes-xs);font-weight:var(--font-weights-semibold);line-height:1.67}.textStyle_caption1,.textStyle_body2{letter-spacing:var(--letter-spacings-tight)}.textStyle_body2{font-size:var(--font-sizes-md);font-weight:var(--font-weights-regular);line-height:1.5}}.d_full{display:full}.c_fg\.neutral\.subtle{color:var(--colors-fg-neutral-subtle)}.d_flex{display:flex}.gap_8px{gap:8px}.w_100\%{width:100%}.flex_1_1_0\%{flex:1 1 0%}.flex_3_1_0\%{flex:3 1 0%}.flex_7_1_0\%{flex:7 1 0%}.flex_1{flex:1 1 0%}.px_16px{padding-inline:16px}.py_12px{padding-block:12px}.bg_bg\.neutral\.default{background:var(--colors-bg-neutral-default)}.d_inline-flex{display:inline-flex}.white-space_nowrap{white-space:nowrap}.bdr_xs{border-radius:var(--radii-xs)}.px_8px{padding-inline:8px}.py_4px{padding-block:4px}.bx-s_border-box{box-sizing:border-box}.bg_fill\.brand\.subtler{background:var(--colors-fill-brand-subtler)}.c_fg\.brand\.default{color:var(--colors-fg-brand-default)}.bg_fill\.neutral\.subtler{background:var(--colors-fill-neutral-subtler)}.bg_fill\.neutral\.faintest{background:var(--colors-fill-neutral-faintest)}.bx-sh_inset_0_0_0_1px_\{colors\.stroke\.neutral\.subtle\}{box-shadow:inset 0 0 0 1px var(--colors-stroke-neutral-subtle)}.d_inline{display:inline}.cursor_pointer{cursor:pointer}.gap_2px{gap:2px}.bd_none{border:none}.bg_fill\.neutral\.default{background:var(--colors-fill-neutral-default)}.c_fg\.neutral\.faintest{color:var(--colors-fg-neutral-faintest)}.bg_fill\.brand\.default{background:var(--colors-fill-brand-default)}.bg_fill\.brand\.subtle{background:var(--colors-fill-brand-subtle)}.c_fg\.neutral\.default{color:var(--colors-fg-neutral-default)}.bg_transparent{background:transparent}.px_10px{padding-inline:10px}.bdr_sm{border-radius:var(--radii-sm)}.py_10px{padding-block:10px}.p_16px{padding:16px}.py_6px{padding-block:6px}.bx-sh_inset_0_0_0_1px_\{colors\.stroke\.brand\.default\}{box-shadow:inset 0 0 0 1px var(--colors-stroke-brand-default)}.c_fg\.neutral\.subtler{color:var(--colors-fg-neutral-subtler)}.px_12px{padding-inline:12px}.bdr_full{border-radius:var(--radii-full)}.px_14px{padding-inline:14px}.w_40px{width:40px}.h_40px{height:40px}.bx-sh_strong{box-shadow:var(--shadows-strong)}.pos_fixed{position:fixed}.z_40{z-index:40}.pos_relative{position:relative}.h_56px{height:56px}.w_full{width:full}.ov_hidden{overflow:hidden}.pos_absolute{position:absolute}.trf_translateY\(-50\%\){transform:translateY(-50%)}.trf_translate\(-50\%\,_-50\%\){transform:translate(-50%,-50%)}.ta_center{text-align:center}.d_inline-block{display:inline-block}.c_fg\.neutral\.subtlest{color:var(--colors-fg-neutral-subtlest)}.w_16px{width:16px}.h_16px{height:16px}.w_20px{width:20px}.h_20px{height:20px}.w_24px{width:24px}.h_24px{height:24px}.w_32px{width:32px}.h_32px{height:32px}.w_36px{width:36px}.h_36px{height:36px}.w_48px{width:48px}.h_48px{height:48px}.w_54px{width:54px}.h_54px{height:54px}.inset_0{top:0;right:0;bottom:0;left:0}.bg_overlay\.neutral\.default{background:var(--colors-overlay-neutral-default)}.z_50{z-index:50}.w_303px{width:303px}.bdr_lg{border-radius:var(--radii-lg)}.gap_24px{gap:24px}.ring_none{outline:2px solid transparent;outline-offset:2px}.gap_4px{gap:4px}.gap_11px{gap:11px}.c_fill\.brand\.default{color:var(--colors-fill-brand-default)}.c_fill\.neutral\.default{color:var(--colors-fill-neutral-default)}.filter_drop-shadow\(0_0_4px_rgba\(15\,_17\,_24\,_0\.28\)\){filter:drop-shadow(0 0 4px rgba(15,17,24,.28))}.bdr_4px{border-radius:4px}.px_11px{padding-inline:11px}.trs_border-color_0\.15s_ease{transition:border-color .15s ease}.px_4px{padding-inline:4px}.ca-c_stroke\.brand\.default{caret-color:var(--colors-stroke-brand-default)}.py_8px{padding-block:8px}.bdr_12px{border-radius:12px}.us_none{-webkit-user-select:none;user-select:none}.w_56px{width:56px}.bg_\[\#FBE300\]{background:#fbe300}.bg_fg\.brand\.default{background:var(--colors-fg-brand-default)}.bg_fg\.neutral\.subtlest{background:var(--colors-fg-neutral-subtlest)}.px_20px{padding-inline:20px}.trf_translateX\(-50\%\){transform:translate(-50%)}.z_100{z-index:100}.bg_overlay\.neutral\.stronger{background:var(--colors-overlay-neutral-stronger)}.ac-c_\#171a1f{accent-color:#171a1f}.ac-c_\#00a676{accent-color:#00a676}.ac-c_\#e05a00{accent-color:#e05a00}.ac-c_\#8a4fff{accent-color:#8a4fff}.ac-c_\#464b53{accent-color:#464b53}.ac-c_\#737a89{accent-color:#737a89}.ai_center{align-items:center}.flex-d_column{flex-direction:column}.pb_max\(12px\,_env\(safe-area-inset-bottom\)\){padding-bottom:max(12px,env(safe-area-inset-bottom))}.jc_center{justify-content:center}.ff_inherit{font-family:inherit}.flex-sh_0{flex-shrink:0}.bottom_20px{bottom:20px}.right_20px{right:20px}.left_4px{left:4px}.top_50\%{top:50%}.left_50\%{left:50%}.right_12px{right:12px}.top_4px{top:4px}.pt_32px{padding-top:32px}.pb_16px{padding-bottom:16px}.mb_-5px{margin-bottom:-5px}.pt_4px{padding-top:4px}.mb_-2px{margin-bottom:-2px}.bd-c_stroke\.brand\.default{border-color:var(--colors-stroke-brand-default)}.bd-c_stroke\.neutral\.default{border-color:var(--colors-stroke-neutral-default)}.bd-w_1px{border-width:1px}.border-style_solid{border-style:solid}.mr_-11px{margin-right:-11px}.border-bottom-style_solid{border-bottom-style:solid}.bd-b-w_2px{border-bottom-width:2px}.bd-b-c_stroke\.brand\.default{border-bottom-color:var(--colors-stroke-brand-default)}.bd-b-w_1px{border-bottom-width:1px}.bd-b-c_stroke\.neutral\.subtle{border-bottom-color:var(--colors-stroke-neutral-subtle)}.bottom_12px{bottom:12px}.li-t_none{list-style-type:none}.disabled\:cursor_not-allowed:is(:disabled,[disabled],[data-disabled]){cursor:not-allowed}.disabled\:bg_fill\.neutral\.default-disabled:is(:disabled,[disabled],[data-disabled]){background:var(--colors-fill-neutral-default-disabled)}.disabled\:c_fg\.neutral\.subtler:is(:disabled,[disabled],[data-disabled]){color:var(--colors-fg-neutral-subtler)}.disabled\:bx-sh_none:is(:disabled,[disabled],[data-disabled]){box-shadow:none}.disabled\:bg_transparent:is(:disabled,[disabled],[data-disabled]){background:transparent}.disabled\:c_fg\.neutral\.subtlest:is(:disabled,[disabled],[data-disabled]){color:var(--colors-fg-neutral-subtlest)}.placeholder\:c_fg\.neutral\.subtlest::placeholder,.placeholder\:c_fg\.neutral\.subtlest[data-placeholder]{color:var(--colors-fg-neutral-subtlest)}.active\:bg_fill\.neutral\.default-pressed:is(:active,[data-active]){background:var(--colors-fill-neutral-default-pressed)}.active\:bg_fill\.brand\.default-pressed:is(:active,[data-active]){background:var(--colors-fill-brand-default-pressed)}.active\:bg_fill\.brand\.subtle-pressed:is(:active,[data-active]){background:var(--colors-fill-brand-subtle-pressed)}.active\:bg_fill\.neutral\.subtler:is(:active,[data-active]){background:var(--colors-fill-neutral-subtler)}.active\:c_fg\.neutral\.subtler:is(:active,[data-active]){color:var(--colors-fg-neutral-subtler)}.disabled\:active\:bg_fill\.neutral\.default-disabled:is(:disabled,[disabled],[data-disabled]):is(:active,[data-active]){background:var(--colors-fill-neutral-default-disabled)}.disabled\:active\:bg_transparent:is(:disabled,[disabled],[data-disabled]):is(:active,[data-active]){background:transparent}.disabled\:active\:c_fg\.neutral\.subtlest:is(:disabled,[disabled],[data-disabled]):is(:active,[data-active]){color:var(--colors-fg-neutral-subtlest)}.disabled\:active\:c_fg\.neutral\.subtler:is(:disabled,[disabled],[data-disabled]):is(:active,[data-active]){color:var(--colors-fg-neutral-subtler)}}